:root {
  color-scheme: dark;
  --ink: #0A0908;
  --ink2: #100E0C;
  --ivory: #EFE8DC;
  --muted: rgba(239, 232, 220, 0.66);
  --line: rgba(239, 232, 220, 0.16);
  --brass: #B99A65;
  --serif: "Cormorant Garamond", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Jost", "Helvetica Neue", Arial, system-ui, sans-serif;
  --container: 1320px;
  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
/* Container width steps down at each breakpoint. Order matters: the
   1024 rule must come before the 767 rule so, on narrow viewports where
   both queries match, the more specific (smaller) value wins last. */
@media (max-width: 1024px) { :root { --container: 1024px; } }
@media (max-width: 767px)  { :root { --container: 767px; } }
*, *::before, *::after { box-sizing: inherit; }
html { scroll-padding-top: calc(env(safe-area-inset-top, 0px) + 24px); scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ink); color: var(--ivory); font-family: var(--sans); font-weight: 400; font-size: 1.0625rem; line-height: 1.7; overflow-x: clip; }
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, dl, dd, ul { margin: 0; }
ul { padding: 0; list-style: none; }
:focus-visible { outline: 1px solid var(--brass); outline-offset: 5px; }
.wrap { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: clamp(24px, 5vw, 64px); position: relative; }
@media (max-width: 767px) { .wrap { padding-inline: clamp(18px, 6vw, 32px); } }
.caps { font-family: var(--sans); font-size: 0.72rem; font-weight: 500; letter-spacing: 0.26em; text-transform: uppercase; }

/* Buttons and links */
.btn { display: inline-block; font: 500 0.72rem/1 var(--sans); letter-spacing: 0.26em; text-transform: uppercase; text-decoration: none; white-space: nowrap; cursor: pointer; padding: 20px 34px; border: 1px solid rgba(239, 232, 220, 0.55); color: var(--ivory); background: transparent; transition: background .35s, color .35s, border-color .35s, transform .35s cubic-bezier(.2,.7,.2,1); }
.btn:hover { background: var(--ivory); color: var(--ink); border-color: var(--ivory); transform: translateY(-3px); }
.btn:active { transform: translateY(-1px); }
@media (prefers-reduced-motion: reduce) {
  .btn, .btn:hover, .btn:active { transition: none; transform: none; }
}
.btn-solid { background: var(--ivory); color: var(--ink); border-color: var(--ivory); }
.btn-solid:hover { background: transparent; color: var(--ivory); }
.link { font: 500 0.72rem/1 var(--sans); letter-spacing: 0.26em; text-transform: uppercase; text-decoration: none; padding-bottom: 8px; border-bottom: 1px solid var(--brass); transition: color .3s; }
.link:hover { color: var(--brass); }

/* Hero */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; overflow: clip; }
.hero-photo { position: relative; width: 100%; aspect-ratio: 4 / 5; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 9, 8, 0.55) 0, transparent 22%, transparent 60%, var(--ink) 100%); }
.nav { position: absolute; top: env(safe-area-inset-top, 0px); left: 0; right: 0; z-index: 5; }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; padding-block: 28px; }
.brand { text-decoration: none; font: 500 0.82rem/1 var(--sans); letter-spacing: 0.42em; text-transform: uppercase; }
.nav-right { display: flex; align-items: center; gap: 36px; }
.nav-right .nl { display: none; text-decoration: none; }
.nav-right .nl:hover { color: var(--brass); }
@media (min-width: 720px) { .nav-right .nl { display: inline; } }
.nav .btn { padding: 14px 22px; }
.hero-copy { position: relative; z-index: 3; padding: 8px clamp(24px, 5vw, 64px) 56px; }
.hero h1 { font-family: var(--serif); font-weight: 300; font-size: clamp(3.4rem, 15vw, 5.2rem); line-height: 0.95; letter-spacing: -0.01em;  color: var(--ivory);}
.hero h1 em {
  font-style: italic;
  font-weight: 300;
  color: var(--brass);
  background: linear-gradient(100deg, var(--brass) 42%, #F2E4C7 50%, var(--brass) 58%);
  background-size: 220% auto;
  background-position: 200% 0;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.js .hero h1 em { animation: shimmer 3.4s ease-in-out 1.8s infinite; }
@keyframes shimmer { to { background-position: -20% 0; } }
@media (prefers-reduced-motion: reduce) {
  .js .hero h1 em { animation: none; background-position: 0 0; }
  .hero .sub::after { animation: none; width: 44px; }
}
.hero .sub { position: relative; margin-top: 26px; width: min(92%, 24rem); max-width: 100%; color: var(--muted); font-size: clamp(0.92rem, 0.78rem + 0.9vw, 1.15rem); line-height: 1.6; }
.hero .sub::after { content: ""; position: absolute; left: 0; bottom: -10px; height: 1px; width: 0; background: var(--brass); animation: draw-line 1s cubic-bezier(.2,.7,.2,1) forwards; animation-delay: 1.9s; }
@media (max-width: 380px) { .hero .sub { font-size: 0.9rem; width: 100%; } }
@media (min-width: 1440px) { .hero .sub { width: min(92%, 27rem); font-size: clamp(1.05rem, 0.9rem + 0.4vw, 1.2rem); } }
@keyframes draw-line { to { width: 44px; } }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 34px; margin-top: 40px; }
.hero-index { margin-top: 56px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 10px 28px; }
.hero-index a { text-decoration: none; color: var(--muted); font-size: 0.9rem; letter-spacing: 0.04em; transition: color .3s; }
.hero-index a:hover { color: var(--ivory); }
.hero-index a span { color: var(--brass); margin-right: 8px; font-size: 0.75rem; letter-spacing: 0.12em; }

@media (min-width: 980px) {
  .hero { display: block; }
  .hero-photo { position: absolute; top: 40px; right: 0; bottom: 0; width: 56%; aspect-ratio: auto; }
  .hero-photo img { object-position: 60% 14%; }
  .hero-photo::after { background: linear-gradient(90deg, var(--ink) 0, rgba(10, 9, 8, 0.0) 38%), linear-gradient(180deg, var(--ink) 0, rgba(10, 9, 8, 0) 22%, rgba(10, 9, 8, 0) 84%, var(--ink)); }
  .hero-copy { position: absolute; left: 0; bottom: 0; width: 56%; padding: 0 clamp(24px, 5vw, 64px) clamp(56px, 9vh, 96px) max(clamp(24px, 5vw, 64px), calc((100vw - var(--container)) / 2 + clamp(24px, 5vw, 64px))); }
  .hero h1 { font-size: clamp(3.6rem, 6vw, 6.25rem); }
  .hero-copy { padding-top: clamp(24px, 4vw, 48px); }
}
.rise { opacity: 0; transform: translateY(22px); animation: rise 1.3s cubic-bezier(.2, .7, .2, 1) forwards; animation-delay: calc(var(--d, 0) * 160ms + 150ms); }
@keyframes rise { to { opacity: 1; transform: none; } }

/* Scroll-reveal for section banners (statement, collection, contact, footer) */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s cubic-bezier(.2,.7,.2,1), transform 1s cubic-bezier(.2,.7,.2,1); transition-delay: calc(var(--d, 0) * 140ms); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* Statement */
.stmt-sect { padding-block: clamp(96px, 15vw, 200px); }
.stmt-sect .mark { display: block; width: 44px; height: 1px; background: var(--brass); margin-bottom: 40px; }
.stmt { font-family: var(--serif); font-weight: 300; font-size: clamp(2rem, 4.6vw, 3.9rem); line-height: 1.16; letter-spacing: -0.005em; max-width: 60rem; }
.js .stmt .w { opacity: 0.2; transition: opacity .5s; }
.js .stmt .w.on { opacity: 1; }

/* Collection: opening panels */
.collection { background: var(--ink2); padding-top: clamp(80px, 11vw, 150px); }
.col-head { text-align: center; max-width: 40rem; margin-inline: auto; padding-inline: 24px; }
.col-head h2 { font-family: var(--serif); font-weight: 300; font-size: clamp(2.8rem, 6.4vw, 5.2rem); line-height: 1; color: var(--ivory);}
.col-head p { margin-top: 20px; color: var(--muted); }
.col-head .hint { margin-top: 30px; color: var(--brass); }
.panels { margin-top: clamp(48px, 7vw, 80px); display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.panel { position: relative; flex: none; height: 92px; overflow: hidden; border-bottom: 1px solid var(--line); background: #000; transition: height .9s cubic-bezier(.2, .7, .2, 1); }
.panel.open { height: min(80vh, 660px); height: min(80svh, 660px); }
.pimg { position: absolute; top: 0; left: 0; width: 100%; height: min(80vh, 660px); height: min(80svh, 660px); object-fit: cover; object-position: 50% 30%; filter: brightness(0.42) saturate(0.55); transition: filter .9s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.panel:hover .pimg { filter: brightness(0.62) saturate(0.8); }
.panel.open .pimg { filter: none; }
.panel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 9, 8, 0.28), rgba(10, 9, 8, 0.02) 30%, rgba(10, 9, 8, 0.55) 56%, rgba(10, 9, 8, 0.94)); pointer-events: none; z-index: 1; }
.pbtn { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; background: none; border: 0; cursor: pointer; z-index: 3; color: inherit; }
.pbtn:focus-visible { outline: 1px solid var(--brass); outline-offset: -8px; }
.panel.open .pbtn { pointer-events: none; }
.plabel { position: absolute; left: 24px; right: 24px; top: 0; height: 92px; display: flex; align-items: center; justify-content: space-between; z-index: 2; pointer-events: none; transition: opacity .4s; }
.plabel .no { color: var(--brass); }
.plabel .n { font-family: var(--serif); font-weight: 300; font-size: 1.9rem; letter-spacing: 0.01em; }
.panel.open .plabel { opacity: 0; }
.pcontent { position: absolute; left: 24px; right: 24px; bottom: 32px; z-index: 2; visibility: hidden; opacity: 0; transform: translateY(18px); transition: opacity .5s, transform .8s cubic-bezier(.2, .7, .2, 1), visibility 0s .8s; }
.panel.open .pcontent { visibility: visible; opacity: 1; transform: none; transition: opacity .7s .4s, transform .9s .4s cubic-bezier(.2, .7, .2, 1), visibility 0s 0s; }
.idx { color: var(--brass); }
.idx span { color: var(--muted); }
.chap-name { margin-top: 12px; font-family: var(--serif); font-weight: 300; font-size: clamp(2.8rem, 12vw, 4.4rem); line-height: 0.98; letter-spacing: -0.01em; }
.chap-desc { margin-top: 16px; font-family: var(--serif); font-style: italic; font-weight: 300; font-size: clamp(1.3rem, 4.6vw, 1.7rem); line-height: 1.3; max-width: 24rem; }
.chap-facts { margin-top: 26px; border-top: 1px solid rgba(239, 232, 220, 0.3); display: grid; grid-template-columns: auto 1fr; gap: 0 40px; padding-top: 18px; }
.chap-facts dt { font-size: 0.68rem; letter-spacing: 0.26em; text-transform: uppercase; font-weight: 500; color: var(--muted); margin-bottom: 2px; }
.chap-facts dd { font-size: 1.02rem; }

@media (min-width: 900px) {
  .panels { flex-direction: row; height: clamp(580px, 90vh, 920px); height: clamp(580px, 90svh, 920px); }
  .panel { height: auto; flex: 1 1 0; min-width: 0; border-bottom: 0; border-left: 1px solid rgba(239, 232, 220, 0.14); transition: flex-grow .95s cubic-bezier(.2, .7, .2, 1); }
  .panel:first-child { border-left: 0; }
  .panel.open { height: auto; flex-grow: 6.2; }
  .pimg { --sh: calc((0.5 - var(--bx, 0.5)) * 0vw); top: 0; left: 50%; width: 64vw !important; height: 100%!important; max-width: none; object-position: 50% 22%;
    transform: translateX(calc(-50% + var(--sh) + var(--mx, 0px))) translateY(var(--my, 0px)) scale(1.05); }
  .panel.open .pimg { --sh: 0px; }
  .plabel { inset: 0; height: auto; flex-direction: column; justify-content: space-between; align-items: center; padding: 30px 0 34px; left: 0; right: 0; }
  .plabel .n { writing-mode: vertical-rl; transform: rotate(180deg); font-size: 1.8rem; }
  .pcontent { left: clamp(28px, 3.4vw, 56px); right: clamp(28px, 3.4vw, 56px); bottom: clamp(36px, 8vh, 80px); }
  .chap-name { font-size: clamp(2.8rem, 5.2vw, 5rem); }
  .chap-desc { font-size: clamp(1.35rem, 2vw, 1.8rem); }
}

/* Contact */
.contact-sect { padding-block: clamp(88px, 12vw, 160px); }
.contact-grid { display: grid; gap: 64px; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(64px, 9vw, 140px); } }
.contact-sect h2 { font-family: var(--serif); font-weight: 300; font-size: clamp(2.8rem, 6vw, 4.8rem); line-height: 1; color: var(--ivory);}
.contact-sect .lead { margin-top: 22px; color: var(--muted); max-width: 26rem; }
.contact { margin-top: 44px; display: grid; gap: 26px; }
.contact div { border-top: 1px solid var(--line); padding-top: 16px; }
.contact dt { font-size: 0.68rem; letter-spacing: 0.26em; text-transform: uppercase; font-weight: 500; color: var(--brass); }
.contact dd { margin-top: 4px; }
.contact a { text-underline-offset: 5px; text-decoration-color: var(--line); }
.contact a:hover { text-decoration-color: var(--brass); }
.form { display: grid; gap: 34px; }
.field { display: grid; gap: 2px; }
.field label { font-size: 0.68rem; letter-spacing: 0.26em; text-transform: uppercase; font-weight: 500; color: var(--muted); }
.field input, .field textarea { font: inherit; color: var(--ivory); background: transparent; border: 0; border-bottom: 1px solid rgba(239, 232, 220, 0.34); padding: 10px 0 12px; width: 100%; border-radius: 0; transition: border-color .3s; }
.field textarea { min-height: 100px; resize: vertical; }
.field input:focus-visible, .field textarea:focus-visible { outline: none; border-bottom-color: var(--brass); }
.two { display: grid; gap: 34px; }
@media (min-width: 560px) { .two { grid-template-columns: 1fr 1fr; gap: 40px; } }
.form .btn { justify-self: start; }
.form-note { color: var(--muted); font-size: 0.95rem; }

/* Footer */
.footer { border-top: 1px solid var(--line); padding-block: 64px 44px; background: var(--ink); }
.footer-grid { display: grid; gap: 30px; }
@media (min-width: 860px) { .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 96px; } }
.footer .brand { display: inline-block; }
.footer .by { margin-top: 12px; color: var(--muted); font-size: 0.95rem; }
.footer .by a { text-underline-offset: 5px; text-decoration-color: var(--line); }
.footer .resp { color: var(--muted); font-size: 0.95rem; max-width: 38rem; }
.footer .copy { margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.88rem; }

/* Age gate */
.gate { position: fixed; inset: 0; z-index: 50; background: rgba(8, 7, 6, 0.97); display: grid; place-items: center; padding: 24px; overflow-y: auto; }
.gate[hidden] { display: none; }
.gate-box { max-width: 28rem; text-align: center; }
.gate-box .brand { display: inline-block; color: var(--brass); }
.gate-box h2 { margin-top: 36px; font-family: var(--serif); font-weight: 300; font-size: clamp(2.2rem, 6vw, 3rem); line-height: 1.05; }
.gate-box p { margin-top: 18px; color: var(--muted); }
.gate-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 16px; margin-top: 40px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rise { animation: none; opacity: 1; transform: none; }
  .js .stmt .w { opacity: 1; }
  .panel, .pimg, .pcontent { transition: none; }
}
