:root {
  color-scheme: light;
  --paper: #faf8f4;
  --ink: #23201d;
  --muted: #625952;
  --berry: #81234b;
  --stone: #e7ded3;
  --serif: Baskerville, "Times New Roman", serif;
  --sans: "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); }
body:has(dialog[open]) { overflow: hidden; }
a { color: inherit; }
a, button { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--berry); outline-offset: 4px; }
img { display: block; max-width: 100%; }
.skip { position: fixed; z-index: 2; top: 0; left: 8px; padding: 12px; transform: translateY(-120%); background: #fff; }
.skip:focus { transform: none; }
.header {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 90px;
  padding: 12px clamp(16px, 4.5vw, 96px);
  border-bottom: 1px solid #27201a1a;
}
.brand { grid-column: 2; display: flex; align-items: center; gap: 10px; min-height: 44px; text-decoration: none; }
.brand img { width: 32px; height: auto; }
.brand span, .footer-brand span { font: 400 clamp(1.24rem, 2.3vw, 1.75rem)/1 var(--serif); letter-spacing: .17em; }
.header nav { justify-self: end; display: flex; gap: clamp(18px, 2.6vw, 48px); }
.header nav a, .eyebrow, .text-link { letter-spacing: .13em; text-transform: uppercase; font-size: .8rem; font-weight: 500; }
.header nav a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.header nav a:hover { text-decoration: underline; text-underline-offset: 5px; }
.hero, .feature { display: grid; align-items: stretch; }
.hero { grid-template-columns: .82fr 1.18fr; background: #ebe3d8; }
.hero-copy, .feature-copy { display: flex; flex-direction: column; align-items: start; justify-content: center; padding: 48px clamp(28px, 7.1vw, 150px); }
.hero-copy { background: linear-gradient(145deg, #f2ece4 0%, #e6d9c9 100%); }
.hero h1, h2, h3 { font-family: var(--serif); font-weight: 400; margin: 0; }
.hero h1 { margin: 12px 0 24px; font-size: clamp(5rem, 10.3vw, 11.2rem); letter-spacing: -.066em; line-height: .84; }
.hero h1 em { color: var(--berry); font-weight: 400; }
.eyebrow { margin: 0; color: #624736; }
.text-link { display: inline-flex; align-items: center; gap: 13px; min-height: 44px; text-underline-offset: 5px; }
.hero-art, .feature-art { position: relative; overflow: hidden; }
.hero-art { min-height: clamp(530px, 50vw, 900px); background: #e6ded7; }
.hero-art img, .feature-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-art img { object-position: 50% 19%; }
.fragrances { max-width: 1590px; margin: auto; padding: clamp(56px, 7vw, 120px) clamp(16px, 5.8vw, 100px); }
.fragrances > h2 { font-size: clamp(2.9rem, 5.2vw, 5.6rem); letter-spacing: -.04em; text-align: center; margin: 0 0 clamp(26px, 4vw, 56px); }
.catalog { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 1.8vw, 30px); }
.card { min-width: 0; scroll-margin: 20px; }
.card-photo { display: grid; position: relative; overflow: hidden; aspect-ratio: 4 / 5; background: #eae4dc; cursor: zoom-in; }
.card-photo img { position: absolute; width: 100%; height: 100%; object-fit: contain; transition: transform .5s ease; }
.card-photo:hover img { transform: scale(1.035); }
.card h3 { font-size: clamp(1.46rem, 2.25vw, 2.2rem); margin-top: 16px; line-height: 1.03; }
.description { color: var(--muted); margin: 9px 0 0; font-size: .94rem; line-height: 1.5; }
.feature { grid-template-columns: 1.05fr .95fr; background: #e9e1d6; }
.feature-art { min-height: clamp(380px, 47vw, 640px); }
.feature-art img { object-position: 50% 38%; }
.feature h2 { font-size: clamp(3rem, 6.2vw, 7rem); letter-spacing: -.045em; line-height: .95; margin-top: 22px; }
.feature .description { margin-top: 18px; }
.feature .text-link { margin-top: 17px; }
footer { min-height: 226px; display: grid; place-content: center; justify-items: center; gap: 20px; border-top: 1px solid #27201a1a; padding: 44px 18px; }
.footer-brand { display: grid; justify-items: center; gap: 14px; text-decoration: none; }
.footer-brand img { width: 55px; height: auto; }
.footer-brand span { font-size: 1.125rem; }
footer small { color: var(--muted); }
.viewer { max-width: min(calc(100vw - 20px), 900px); max-height: calc(100dvh - 20px); border: 0; background: var(--paper); color: var(--ink); padding: 12px; }
.viewer::backdrop { background: #201815d5; }
.viewer h2 { padding: 0 48px 10px 8px; font-size: 1.8rem; }
.viewer button { background: var(--paper); color: var(--ink); border: 0; position: absolute; right: 5px; top: 4px; width: 44px; height: 44px; font-size: 1.95rem; cursor: pointer; }
.viewer img { width: auto; height: auto; max-height: calc(100dvh - 90px); object-fit: contain; }
@media (max-width: 860px) {
  .header { grid-template-columns: 1fr auto; min-height: 74px; }
  .brand { grid-column: 1; justify-self: start; }
  .hero { grid-template-columns: .8fr 1.2fr; }
  .hero-copy, .feature-copy { padding-inline: clamp(20px, 5vw, 72px); }
  .hero h1 { font-size: clamp(4rem, 10.7vw, 6rem); }
  .hero-art { min-height: 460px; }
  .catalog { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 34px 16px; }
}
@media (max-width: 600px) {
  .header { grid-template-columns: 1fr; gap: 0; padding-top: 10px; padding-bottom: 2px; }
  .brand, .header nav { justify-self: center; }
  .header nav { gap: 31px; }
  .hero, .feature { grid-template-columns: 1fr; }
  .hero-art { grid-row: 1; min-height: 0; aspect-ratio: 1 / 1.05; }
  .hero-art img { object-position: center 24%; }
  .hero-copy { padding: 33px 20px 31px; align-items: center; text-align: center; }
  .hero h1 { font-size: clamp(4.2rem, 15vw, 6.4rem); margin: 12px 0; }
  .feature-copy { padding: 45px 22px 50px; }
  .feature-art { min-height: 0; aspect-ratio: 1 / 1; }
  .card h3 { margin-top: 12px; }
  .card .description { font-size: .82rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .card-photo img { transition: none; }
}
