/* =========================================================
   SALVATORE DE VITA — Handcrafted Luxury Goods
   Old Money restraint × contemporary motion
   ========================================================= */

:root {
  /* brand palette (from the brand book) */
  --bordeaux: #4B2030;
  --cognac: #9A603F;
  --forest: #244237;
  --linen: #E5D9C4;
  /* supporting tones */
  --paper: #F1E9DB;
  --paper-2: #E9DFCD;
  --ink: #1E140F;
  --ink-2: #3A2A21;
  --leather: #24160F;
  --gold: #C9A24A;
  --gold-hi: #E4C985;
  --gold-deep: #9C772A;
  --cognac-deep: #6E4229;

  --serif: 'Cormorant Garamond', 'Cormorant', Garamond, 'Times New Roman', serif;
  --script: 'Pinyon Script', 'Snell Roundhand', cursive;
  --sans: 'Jost', 'Futura', 'Century Gothic', system-ui, sans-serif;

  --gutter: clamp(20px, 4.2vw, 72px);
  --ease: cubic-bezier(.22, .8, .2, 1);
  --ease-io: cubic-bezier(.76, 0, .24, 1);
  --nav-h: 76px;
}

[data-theme="light"] { --fg: var(--ink); --fg-soft: rgba(30, 20, 15, .72); --accent: var(--cognac); --gilt: var(--gold-deep); --hair: rgba(30, 20, 15, .16); }
[data-theme="dark"]  { --fg: var(--linen); --fg-soft: rgba(229, 217, 196, .74); --accent: var(--gold); --gilt: var(--gold); --hair: rgba(229, 217, 196, .2); }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
.js body.is-loading { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
::selection { background: var(--gold); color: var(--ink); }
:focus-visible { outline: 1px solid var(--gold); outline-offset: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { width: 100%; max-width: 1480px; margin: 0 auto; padding: 0 var(--gutter); }
section { position: relative; color: var(--fg); }

/* ---------- Typography ---------- */
.display {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.7rem, 6.2vw, 6.9rem);
  line-height: .98;
  letter-spacing: -.018em;
  margin: 0;
  color: var(--fg);
}
.script {
  font-family: var(--script);
  font-weight: 400;
  font-size: 1.08em;
  letter-spacing: 0;
  color: var(--accent);
  padding: 0 .08em 0 .02em;
  line-height: .8;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  margin: 0 0 28px;
  font-family: var(--sans);
  font-size: 11px; font-weight: 500;
  letter-spacing: .32em; text-transform: uppercase;
  color: var(--gilt);
}
.rule { display: inline-block; width: 44px; height: 1px; background: currentColor; opacity: .7; }
.lead {
  font-size: clamp(1.12rem, 1.4vw, 1.42rem);
  line-height: 1.55;
  color: var(--fg-soft);
  max-width: 33em;
  margin: 30px 0 0;
}
.lead em { font-style: italic; color: var(--fg); }

/* split-text line masks: room for descenders and the script's swashes */
[class*="split-line-mask"], [class*="-mask"]:has(> .split-line) { padding: .16em .14em .3em .14em; margin: -.16em -.14em -.3em -.14em; }

/* ---------- Glass ---------- */
.glass {
  position: relative;
  background: linear-gradient(140deg, rgba(255, 250, 240, .2), rgba(255, 250, 240, .05) 60%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  backdrop-filter: blur(20px) saturate(150%);
  border: 1px solid rgba(255, 244, 222, .3);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), inset 0 -1px 0 rgba(255, 255, 255, .05), 0 24px 60px -24px rgba(25, 12, 5, .5);
  color: var(--linen);
}
[data-theme="light"] .glass {
  background: linear-gradient(140deg, rgba(255, 252, 246, .62), rgba(255, 252, 246, .28));
  border-color: rgba(255, 255, 255, .7);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 24px 60px -28px rgba(70, 40, 20, .35);
  color: var(--ink);
}

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: 16px;
  padding: 19px 30px; border-radius: 999px; overflow: hidden;
  font-family: var(--sans); font-size: 11px; font-weight: 500; letter-spacing: .26em; text-transform: uppercase;
  white-space: nowrap; transition: color .5s var(--ease), border-color .5s var(--ease), background-color .5s var(--ease);
}
.btn--sm { padding: 13px 22px; }
.btn--gold {
  color: var(--ink);
  background: linear-gradient(135deg, var(--gold-hi), var(--gold) 46%, var(--gold-deep));
  box-shadow: 0 14px 34px -14px rgba(156, 119, 42, .75), inset 0 1px 0 rgba(255, 255, 255, .5);
}
.btn--gold::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .55) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform 1s var(--ease);
}
.btn--gold:hover::after { transform: translateX(120%); }
.btn--ghost { border: 1px solid color-mix(in srgb, currentColor 40%, transparent); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn--text { padding-left: 0; padding-right: 0; }
.btn--text .play {
  width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--hair); position: relative;
  transition: border-color .4s, transform .6s var(--ease);
}
.btn--text .play::after { content: ""; position: absolute; left: 19px; top: 16px; border-left: 9px solid currentColor; border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
.btn--text:hover .play { border-color: var(--gold); transform: scale(1.08); }
.arrow { position: relative; width: 22px; height: 1px; background: currentColor; transition: width .5s var(--ease); }
.arrow::after { content: ""; position: absolute; right: 0; top: -3px; width: 7px; height: 7px; border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: rotate(45deg); }
.btn:hover .arrow, .product__add:hover .arrow { width: 32px; }

/* ---------- Preloader ---------- */
.preloader { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; pointer-events: none; }
.preloader__panel { position: absolute; left: 0; right: 0; height: 50.5%; background: var(--paper); }
.preloader__panel--top { top: 0; }
.preloader__panel--bottom { bottom: 0; }
.preloader__inner { position: relative; display: grid; justify-items: center; gap: 30px; color: var(--gold-deep); }
.preloader__logo { width: min(380px, 72vw); clip-path: inset(0 100% 0 0); }
.preloader__rule { width: 220px; height: 1px; background: rgba(30, 20, 15, .12); overflow: hidden; }
.preloader__rule span { display: block; height: 100%; background: var(--gold-deep); transform: scaleX(0); transform-origin: left; }
.preloader__meta { display: flex; gap: 36px; margin: 0; font-family: var(--sans); font-size: 10px; letter-spacing: .34em; text-transform: uppercase; color: rgba(30, 20, 15, .55); }
.preloader__count { color: var(--gold-deep); min-width: 3ch; text-align: center; }
html:not(.js) .preloader { display: none; }

/* ---------- Grain ---------- */
.grain {
  position: fixed; inset: -50%; z-index: 900; pointer-events: none; opacity: .075;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-4%, 3%); } 40% { transform: translate(3%, -5%); }
  60% { transform: translate(-6%, -2%); } 80% { transform: translate(5%, 4%); } 100% { transform: translate(0, 0); }
}

/* ---------- Cursor ---------- */
.cursor { display: none; }
.has-cursor .cursor { display: block; position: fixed; left: 0; top: 0; z-index: 950; pointer-events: none; }
.has-cursor, .has-cursor a, .has-cursor button, .has-cursor input { cursor: none; }
.cursor__dot { position: absolute; width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%; background: var(--gold); }
.cursor__ring {
  position: absolute; width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 50%;
  border: 1px solid rgba(201, 162, 74, .7); display: grid; place-items: center;
  transition: width .5s var(--ease), height .5s var(--ease), margin .5s var(--ease), background-color .5s, border-color .5s;
}
.cursor__label { font-family: var(--sans); font-size: 10px; letter-spacing: .26em; text-transform: uppercase; color: var(--linen); opacity: 0; transition: opacity .3s; }
.cursor.is-link .cursor__ring { width: 60px; height: 60px; margin: -30px 0 0 -30px; border-color: var(--gold); }
.cursor.is-label .cursor__ring {
  width: 96px; height: 96px; margin: -48px 0 0 -48px;
  background: rgba(30, 20, 15, .28); border-color: rgba(255, 244, 222, .45);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.cursor.is-label .cursor__label { opacity: 1; }
.cursor.is-label .cursor__dot { opacity: 0; }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; z-index: 800; top: 18px; left: var(--gutter); right: var(--gutter);
  height: var(--nav-h); padding: 0 14px 0 34px; border-radius: 999px;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  color: var(--ink);
  background: linear-gradient(140deg, rgba(255, 252, 246, .5), rgba(255, 252, 246, .2));
  -webkit-backdrop-filter: blur(22px) saturate(160%); backdrop-filter: blur(22px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, .55);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7), 0 20px 50px -30px rgba(50, 25, 10, .45);
  transition: transform .8s var(--ease), color .6s var(--ease), background .6s var(--ease), border-color .6s var(--ease);
}
.nav.is-dark {
  color: var(--linen);
  background: linear-gradient(140deg, rgba(30, 16, 10, .34), rgba(30, 16, 10, .14));
  border-color: rgba(255, 240, 210, .18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), 0 20px 50px -30px rgba(0, 0, 0, .6);
}
.nav.is-hidden { transform: translateY(calc(-100% - 30px)); }
.nav__links { display: flex; gap: clamp(18px, 2.3vw, 38px); }
.nav__links a { position: relative; font-family: var(--sans); font-size: 11px; font-weight: 500; letter-spacing: .26em; text-transform: uppercase; padding: 8px 0; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .6s var(--ease); }
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav__logo { display: block; width: 168px; color: var(--gold-deep); transition: color .6s; }
.nav.is-dark .nav__logo { color: var(--gold); }
.nav__right { display: flex; align-items: center; justify-content: flex-end; gap: clamp(14px, 1.8vw, 28px); }
.nav__bag { position: relative; width: 44px; height: 44px; display: grid; place-items: center; }
.nav__bag svg { width: 21px; height: 21px; }
.nav__bag-count {
  position: absolute; top: 4px; right: 2px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px;
  background: var(--gold); color: var(--ink); font-family: var(--sans); font-size: 9.5px; font-weight: 500; line-height: 17px; text-align: center;
}
.nav__burger { display: none; width: 44px; height: 44px; position: relative; }
.nav__burger span { position: absolute; left: 12px; right: 12px; height: 1px; background: currentColor; transition: transform .6s var(--ease); }
.nav__burger span:first-child { top: 18px; }
.nav__burger span:last-child { top: 25px; left: 18px; }
.menu-open .nav__burger span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-open .nav__burger span:last-child { left: 12px; transform: translateY(-3.5px) rotate(-45deg); }

.menu { position: fixed; inset: 0; z-index: 790; visibility: hidden; display: flex; flex-direction: column; justify-content: center; padding: 120px var(--gutter) 40px; color: var(--linen); }
.menu__bg { position: absolute; inset: 0; background: var(--leather); clip-path: circle(0% at calc(100% - 60px) 54px); }
.menu__links { position: relative; display: grid; gap: 6px; }
.menu__links a { display: flex; align-items: baseline; gap: 18px; font-size: clamp(2.4rem, 9vw, 4rem); font-weight: 300; line-height: 1.15; }
.menu__links em { font-style: italic; font-size: .4em; color: var(--gold); min-width: 2.4em; }
.menu__foot { position: relative; margin-top: 48px; font-family: var(--sans); font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); }

/* ---------- Chapter indicator ---------- */
.chapter {
  position: fixed; z-index: 700; left: calc(var(--gutter) - 4px); bottom: 34px;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  color: var(--ink); transition: color .6s var(--ease);
}
.chapter.is-dark { color: var(--linen); }
.chapter__num { font-size: 22px; font-style: italic; color: var(--gold-deep); min-width: 2ch; text-align: center; }
.chapter.is-dark .chapter__num { color: var(--gold); }
.chapter__line { width: 1px; height: 72px; background: currentColor; opacity: .25; position: relative; }
.chapter__fill { position: absolute; inset: 0; background: var(--gold); transform-origin: top; transform: scaleY(0); }
.chapter__label { writing-mode: vertical-rl; transform: rotate(180deg); font-family: var(--sans); font-size: 10px; letter-spacing: .32em; text-transform: uppercase; }

/* =========================================================
   I. HERO  +  II. THE BOX  (one pinned scene)
   ========================================================= */
.hero { z-index: 1; background: var(--paper); }
.hero__pin { position: relative; height: 100vh; height: 100svh; overflow: hidden; }

.hero__ghost, .box__ghost {
  position: absolute; left: 0; bottom: -4vw; z-index: 0; white-space: nowrap; pointer-events: none;
  font-family: var(--serif); font-style: italic; font-weight: 300; font-size: 27vw; line-height: 1; letter-spacing: -.03em;
  color: transparent; -webkit-text-stroke: 1px rgba(154, 96, 63, .22);
}
.hero__ghost span, .box__ghost span { display: inline-block; padding-left: 8vw; }

.hero__copy {
  position: absolute; z-index: 2; left: var(--gutter); top: 50%; transform: translateY(-44%);
  width: min(50vw, 780px); padding-left: clamp(0px, 3vw, 50px);
}
.hero__title { font-size: clamp(3rem, 6.3vw, 7.4rem); }
.hero__title .script { font-size: 1.18em; }
.hero__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 22px 34px; margin-top: 44px; }

.hero__stage { position: absolute; z-index: 7; right: 0; top: 0; bottom: 0; width: 50%; pointer-events: none; }
.hero__halo {
  position: absolute; left: 50%; top: 54%; width: 72vh; height: 72vh; transform: translate(-50%, -50%);
  border-radius: 50%; background: radial-gradient(circle, rgba(201, 162, 74, .28), rgba(201, 162, 74, 0) 65%);
}
.hero__machine { position: absolute; left: 50%; top: 55%; width: min(36vw, 66vh, 600px); transform: translate(-50%, -50%); will-change: transform; }
.hero__machine img { position: relative; z-index: 1; width: 100%; filter: drop-shadow(0 40px 40px rgba(60, 30, 10, .28)); }
.hero__product { position: relative; z-index: 1; will-change: transform; }
.hero__machine img.hero__part { position: absolute; left: 0; top: 0; visibility: hidden; }
/* drawer layers live in the product's 715×900 space (taller than the shot, for the open drawer) */
.drawer { position: absolute; left: 0; top: 0; width: 100%; height: 125%; z-index: 1; pointer-events: none; visibility: hidden; }
.drawer__cavity { position: absolute; inset: 0; background: linear-gradient(180deg, #0f0603 10%, #2b160b 70%); clip-path: polygon(6.99% 61.78%, 86.57% 66.22%, 86.57% 76%, 7.41% 71.33%); }
.drawer__clip { position: absolute; inset: 0; clip-path: polygon(0 61.56%, 100% 67.11%, 100% 100%, 0 100%); }
.hero__machine .drawer img { position: absolute; left: 0; top: 0; z-index: auto; width: 100%; max-width: none; filter: none; transform-origin: 0 0; }
.hero__machine .drawer img.drawer__box { filter: drop-shadow(0 18px 18px rgba(40, 18, 6, .3)); }
.drawer__open { opacity: 0; }
.hero__liquid { position: absolute; z-index: 2; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.hero__shadow { position: absolute; left: 10%; right: 10%; bottom: 2%; height: 12%; border-radius: 50%; background: radial-gradient(closest-side, rgba(40, 20, 8, .38), transparent); filter: blur(8px); }

.chip {
  position: absolute; display: inline-flex; align-items: center; gap: 12px; padding: 13px 22px; border-radius: 999px;
  font-family: var(--sans); font-size: 10.5px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; white-space: nowrap;
}
.chip i { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(201, 162, 74, .2); }
.chip--a { left: 2%; top: 40%; }
.chip--b { right: 9%; bottom: 13%; }
.card-sig { position: absolute; right: 7%; top: 17%; display: grid; gap: 6px; padding: 22px 26px; border-radius: 18px; min-width: 230px; }
.card-sig .eyebrow { margin: 0; font-size: 9.5px; }
.card-sig strong { font-weight: 400; font-size: 1.7rem; line-height: 1.05; }
.card-sig__meta { font-family: var(--sans); font-size: 11px; letter-spacing: .12em; opacity: .7; }

/* exploded → assembled intro */
.assembly { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.assembly img { position: absolute; left: 0; top: 0; max-width: none; visibility: hidden; will-change: transform; }
html:not(.js) .assembly, .reduced .assembly { display: none; }

.hero__scroll {
  position: absolute; z-index: 2; left: 50%; bottom: 30px; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  font-family: var(--sans); font-size: 10px; letter-spacing: .34em; text-transform: uppercase; color: var(--fg-soft);
}
.hero__scroll i { width: 1px; height: 46px; background: linear-gradient(var(--gold-deep), transparent); transform-origin: top; animation: drip 2.4s var(--ease-io) infinite; }
@keyframes drip { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* the liquid flood */
.flood { position: absolute; inset: 0; z-index: 3; transform: translateY(102%); pointer-events: none; }
.flood__body { position: absolute; inset: 0; background: radial-gradient(120% 90% at 70% 40%, #A76A47 0%, var(--cognac) 35%, var(--cognac-deep) 100%); }

/* The Box */
.box { position: absolute; inset: 0; z-index: 6; color: var(--fg); pointer-events: none; }
.box__ghost { -webkit-text-stroke-color: rgba(228, 201, 133, .2); bottom: auto; top: 6vh; }
.box__copy { position: absolute; left: var(--gutter); top: 50%; transform: translateY(-42%); width: min(44vw, 640px); padding-left: clamp(0px, 3vw, 50px); }
.box__title { font-size: clamp(2.8rem, 5.6vw, 6.4rem); }
.box__title .script { color: var(--gold-hi); }
.stats { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 18px clamp(24px, 3.4vw, 56px); margin: 46px 0 0; padding-top: 30px; border-top: 1px solid var(--hair); }
.stats dt { font-size: clamp(2rem, 3vw, 3rem); font-weight: 300; line-height: 1; }
.stats dd { margin: 10px 0 0; font-family: var(--sans); font-size: 10px; letter-spacing: .26em; text-transform: uppercase; color: var(--gold); }

.box__stage { position: absolute; right: 0; top: 0; bottom: 0; width: 50%; perspective: 1400px; }
.box__img { position: absolute; left: 50%; top: 55%; width: min(30vw, 58vh, 520px); transform: translate(-50%, -50%); filter: drop-shadow(0 50px 50px rgba(30, 12, 4, .45)); }
.box__img--open { width: min(29vw, 62vh, 500px); }
/* the open box rig: parts placed in its own 566×640 space, hinged in 3D */
.rig { position: absolute; left: 50%; top: 55%; width: min(29vw, 62vh, 500px); aspect-ratio: 566 / 640; perspective: 900px; transform-style: preserve-3d; visibility: hidden; }
.rig img { position: absolute; display: block; max-width: none; backface-visibility: hidden; }
.rig__body { inset: 0; width: 100%; height: 100%; filter: drop-shadow(0 50px 50px rgba(30, 12, 4, .45)); }
.rig__lid { left: 0; top: 0; width: 100%; height: 32.5%; transform-origin: 50% 100%; }
.rig__flap { left: 0; top: 77.5%; width: 100%; height: 22.5%; transform-origin: 50% 0; }
.rig__door { left: 20.49%; top: 32.03%; width: 60.78%; height: 45.63%; transform-origin: 50% 100%; visibility: hidden; }
.rig__lidtop { left: 22.08%; top: 29.69%; width: 57.6%; height: 2.5%; transform-origin: 50% 100%; visibility: hidden; }
.note { position: absolute; padding: 16px 22px; border-radius: 14px; font-size: 1.15rem; line-height: 1.2; display: grid; gap: 4px; white-space: nowrap; }
.note .eyebrow { margin: 0; font-size: 9px; color: var(--gold-hi); }
.note--1 { left: 4%; top: 22%; }
.note--2 { right: 6%; top: 30%; }
.note--3 { left: 0%; bottom: 20%; }
.note--4 { right: 3%; bottom: 14%; }

/* reduced-motion fallback: unstack the scene */
.reduced .hero__pin { height: auto; overflow: visible; }
.reduced .hero__copy, .reduced .hero__stage { position: relative; transform: none; left: auto; width: auto; }
.reduced .hero__copy { padding: 160px var(--gutter) 40px; }
.reduced .hero__stage { height: 80vh; }
.reduced .flood { display: none; }
.reduced .box { position: relative; min-height: 100vh; background: var(--cognac); padding: 100px 0; }
.reduced .box__copy { position: relative; transform: none; width: auto; padding: 0 var(--gutter); }
.reduced .box__stage { position: relative; width: 100%; height: 80vh; }
.reduced .box__img--closed { display: none; }
.reduced .chapters { height: auto; }
.reduced .chapters__scenes, .reduced .scene { position: relative; height: 100vh; }
.reduced .chapters__veil, .reduced .chapters__count { display: none; }
.reduced .chapters__copy { position: relative; left: auto; bottom: auto; width: auto; padding: 50px var(--gutter) 80px; }
.reduced .chapters__step { position: relative; margin-bottom: 50px; }
.reduced .estate__frame { clip-path: none; }
.reduced .estate__frame::after { opacity: 1; }
.reduced .estate__caption { opacity: 1; }

/* =========================================================
   III. THE RITUAL
   ========================================================= */
.ritual { z-index: 2; background: var(--paper); padding: clamp(80px, 12vw, 170px) 0 0; }
.ritual__intro { text-align: center; display: grid; justify-items: center; padding-bottom: clamp(60px, 8vw, 120px); }
.ritual__intro .display { max-width: 12em; }
.ritual__intro .lead { margin-inline: auto; }

.ritual__pin { position: relative; height: 100vh; height: 100svh; overflow: hidden; }

/* three full-screen chapters: photos stacked, each wipes up over the last */
.chapters { background: var(--ink); color: var(--linen); }
.chapters__scenes, .scene { position: absolute; inset: 0; margin: 0; }
.scene { overflow: hidden; }
.scene img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); transform: scale(1.16); will-change: transform; }
.chapters__veil {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(20, 12, 8, .72) 0%, rgba(20, 12, 8, .38) 38%, rgba(20, 12, 8, 0) 65%),
    linear-gradient(0deg, rgba(20, 12, 8, .55) 0%, rgba(20, 12, 8, 0) 40%);
}
.chapters__copy { position: absolute; left: calc(var(--gutter) + clamp(0px, 3vw, 50px)); bottom: clamp(70px, 13vh, 140px); width: min(560px, 80vw); }
.chapters__step { position: absolute; left: 0; bottom: 0; width: 100%; }
.chapters__num { display: block; font-size: clamp(1.4rem, 1.8vw, 1.9rem); font-style: italic; font-weight: 300; color: var(--gold-hi); letter-spacing: .04em; }
.chapters__num::after { content: ""; display: inline-block; vertical-align: middle; width: 56px; height: 1px; margin-left: 18px; background: rgba(228, 201, 133, .6); }
.chapters__title { margin: 10px 0 0; font-weight: 300; font-size: clamp(4rem, 9vw, 9.5rem); line-height: .92; letter-spacing: -.02em; color: var(--linen); }
.chapters__line { margin: 22px 0 0; max-width: 24em; font-size: clamp(1.1rem, 1.35vw, 1.4rem); font-style: italic; line-height: 1.45; color: rgba(229, 217, 196, .85); }
.chapters__count {
  position: absolute; right: calc(var(--gutter) + clamp(0px, 3vw, 50px)); bottom: clamp(70px, 13vh, 140px);
  display: flex; align-items: center; gap: 16px; font-family: var(--sans); font-size: 11px; letter-spacing: .3em; color: rgba(229, 217, 196, .75);
}
.chapters__current { color: var(--gold-hi); }
.chapters__bar { position: relative; width: 90px; height: 1px; background: rgba(229, 217, 196, .3); }
.chapters__bar span { position: absolute; inset: 0; background: var(--gold-hi); transform-origin: left; transform: scaleX(.333); }

/* =========================================================
   IV. THE ESTATE
   ========================================================= */
.estate { z-index: 3; background: var(--forest); padding-bottom: clamp(80px, 10vw, 150px); }
.estate__pin { position: relative; height: 100vh; height: 100svh; overflow: hidden; }
.estate__frame { position: absolute; inset: 0; clip-path: inset(20% 37% 16% 37% round 400px 400px 6px 6px); will-change: clip-path; }
.estate__frame img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.35); }
.estate__frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 20, 15, .1) 30%, rgba(10, 20, 15, .65)); opacity: 0; }
.estate.is-open .estate__frame::after { opacity: 1; transition: opacity 1s; }
.estate__title { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%); text-align: center; pointer-events: none; }
.estate__title .display { font-size: clamp(3rem, 8.6vw, 10rem); text-shadow: 0 10px 50px rgba(0, 0, 0, .25); }
.estate__title .script { color: var(--gold-hi); }
.estate__caption { position: absolute; left: var(--gutter); bottom: 48px; max-width: 28em; margin: 0; padding-left: clamp(0px, 3vw, 50px); font-size: clamp(1.1rem, 1.4vw, 1.4rem); color: var(--fg-soft); opacity: 0; }
.estate__caption em { color: var(--gold-hi); }

.mosaic { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(16px, 2.4vw, 40px); padding-top: clamp(80px, 10vw, 160px); }
.tile { margin: 0; }
.tile__img { overflow: hidden; border-radius: 4px; position: relative; }
.tile__img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transition: transform 1.4s var(--ease); }
.tile:hover .tile__img img { transform: scale(1.04); }
.tile__img::after { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(228, 201, 133, 0); border-radius: 2px; transition: border-color .8s var(--ease); }
.tile:hover .tile__img::after { border-color: rgba(228, 201, 133, .55); }
.tile figcaption { margin-top: 18px; font-size: clamp(1.3rem, 1.8vw, 1.9rem); font-weight: 300; line-height: 1.1; }
.tile figcaption .script { color: var(--gold-hi); }
.tile--a { grid-column: 1 / span 5; } .tile--a .tile__img { aspect-ratio: 4 / 5; border-radius: 999px 999px 4px 4px; }
.tile--b { grid-column: 7 / span 4; margin-top: 18vh; } .tile--b .tile__img { aspect-ratio: 4 / 5; }
.tile--c { grid-column: 2 / span 4; margin-top: 6vh; } .tile--c .tile__img { aspect-ratio: 1 / 1; }
.tile--d { grid-column: 7 / span 5; margin-top: 4vh; } .tile--d .tile__img { aspect-ratio: 5 / 6; }
.tile--e { grid-column: 1 / span 4; margin-top: 2vh; } .tile--e .tile__img { aspect-ratio: 3 / 4; }
.tile--f { grid-column: 6 / span 4; margin-top: 16vh; } .tile--f .tile__img { aspect-ratio: 4 / 5; border-radius: 999px 999px 4px 4px; }

.marquee { overflow: hidden; margin-top: clamp(80px, 10vw, 150px); padding: 26px 0; border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); }
.marquee__track { display: flex; align-items: center; gap: 4vw; width: max-content; white-space: nowrap; font-size: clamp(2.4rem, 5.2vw, 5.4rem); font-weight: 300; line-height: 1.1; }
.marquee__track .script { color: var(--gold-hi); }
.marquee__track i { font-style: normal; font-size: .3em; color: var(--gold); }

/* =========================================================
   V. AFTER DARK
   ========================================================= */
.evening { z-index: 4; background: var(--bordeaux); padding: clamp(100px, 12vw, 180px) 0; overflow: hidden; }
.evening__glow {
  position: absolute; left: 0; top: 0; width: 70vw; height: 70vw; margin: -35vw 0 0 -35vw; pointer-events: none;
  border-radius: 50%; background: radial-gradient(circle, rgba(228, 170, 90, .22), rgba(228, 170, 90, 0) 60%);
  mix-blend-mode: screen; transform: translate(30vw, 40vh);
}
.evening__grid { position: relative; display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(40px, 7vw, 120px); align-items: center; }
.evening__media { position: relative; padding-left: clamp(0px, 3vw, 50px); }
.evening__img { position: relative; display: grid; place-items: center; aspect-ratio: 4 / 5; margin: -6% -10% -6% -4%; }
/* the box stands free on the bordeaux, in a pool of lamplight */
.evening__img::before { content: ""; position: absolute; inset: 4% 0 10%; border-radius: 50%; background: radial-gradient(closest-side, rgba(228, 170, 90, .26), rgba(228, 170, 90, 0)); pointer-events: none; }
.evening__img::after { content: ""; position: absolute; left: 14%; right: 14%; bottom: 6%; height: 7%; border-radius: 50%; background: radial-gradient(closest-side, rgba(10, 2, 4, .6), transparent); pointer-events: none; }
.evening__img img { position: relative; z-index: 1; width: 100%; height: auto; filter: drop-shadow(0 30px 34px rgba(10, 2, 4, .55)); }
.evening__copy .display .script { color: var(--gold-hi); }
.specs { list-style: none; margin: 40px 0 0; padding: 0; max-width: 30em; }
.specs li { display: flex; gap: 14px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--hair); font-size: 1.15rem; }
.specs li span:first-child { font-family: var(--sans); font-size: 10px; letter-spacing: .28em; text-transform: uppercase; color: var(--gold); min-width: 9em; }
.offer { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: 44px; padding: 22px 22px 22px 28px; border-radius: 20px; max-width: 34em; }
.offer > div:first-child { display: grid; gap: 4px; flex: 1; min-width: 160px; }
.offer .eyebrow { margin: 0; font-size: 9.5px; }
.offer strong { font-weight: 400; font-size: 1.55rem; line-height: 1.1; }
.offer__meta { font-family: var(--sans); font-size: 11px; letter-spacing: .12em; opacity: .7; }
.offer__price { font-size: 2rem; font-weight: 300; }

/* =========================================================
   VI. COLLECTION
   ========================================================= */
.collection { z-index: 5; background: var(--paper); padding: clamp(100px, 12vw, 170px) 0 clamp(110px, 12vw, 180px); }
.collection__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; margin-bottom: clamp(50px, 6vw, 90px); padding-left: clamp(0px, 3vw, 50px); }
.filters { display: flex; gap: 6px; padding: 6px; border-radius: 999px; border: 1px solid var(--hair); }
.filters button { padding: 11px 20px; border-radius: 999px; font-family: var(--sans); font-size: 10.5px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--fg-soft); transition: background-color .5s var(--ease), color .5s; }
.filters button:hover { color: var(--ink); }
.filters button.is-active { background: var(--ink); color: var(--linen); }

/* ---------- The box: Signature / Build your box ---------- */
.boxes { margin: 0 0 clamp(90px, 10vw, 150px); padding-left: clamp(0px, 3vw, 50px); }
.boxes__tabs { display: inline-flex; gap: 4px; padding: 5px; margin-bottom: clamp(30px, 3.5vw, 50px); border-radius: 999px; border: 1px solid var(--hair); }
.boxes__tabs button {
  padding: 13px 26px; border-radius: 999px; font-family: var(--sans); font-size: 11px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase;
  color: var(--fg-soft); transition: background-color .5s var(--ease), color .5s var(--ease);
}
.boxes__tabs button:hover { color: var(--ink); }
.boxes__tabs button[aria-selected="true"] { background: var(--ink); color: var(--linen); }
.boxes__panel[hidden] { display: none; }
.link-btn { display: inline-flex; align-items: center; gap: 12px; padding: 8px 0; font-family: var(--sans); font-size: 10.5px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--cognac); border-bottom: 1px solid transparent; transition: border-color .4s; }
.link-btn:hover { border-color: currentColor; }

/* the stage both panels share: a warm pool of light on linen */
.signature-box__stage, .builder__stage {
  position: relative; display: grid; place-items: center; border-radius: 6px; overflow: hidden;
  background: radial-gradient(70% 60% at 50% 45%, #fbf6ec 0%, #efe5d3 60%, #e3d5bb 100%);
  box-shadow: inset 0 0 0 1px rgba(30, 20, 15, .06);
}
.signature-box__stage::after, .builder__stage::after { content: ""; position: absolute; left: 18%; right: 18%; bottom: 6%; height: 7%; border-radius: 50%; background: radial-gradient(closest-side, rgba(60, 30, 10, .22), transparent); pointer-events: none; }

.signature-box { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(30px, 5vw, 90px); align-items: center; }
.signature-box__stage { aspect-ratio: 1 / 1; }
.signature-box__stage img { position: relative; z-index: 1; width: 66%; filter: drop-shadow(0 30px 30px rgba(50, 25, 10, .28)); }
.signature-box__copy h3 { margin: 0; font-weight: 300; font-size: clamp(2.6rem, 4vw, 4.2rem); line-height: 1; }
.signature-box__lead { margin: 22px 0 0; max-width: 28em; font-size: clamp(1.1rem, 1.3vw, 1.3rem); line-height: 1.5; color: var(--fg-soft); }
.signature-box__list { list-style: none; margin: 32px 0 0; padding: 0; max-width: 30em; }
.signature-box__list li { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--hair); font-size: 1.1rem; }
.signature-box__list li span:last-child { font-style: italic; color: var(--fg-soft); }
.signature-box__buy { display: flex; align-items: center; gap: 28px; margin: 34px 0 18px; }
.signature-box__price { font-size: 2.2rem; font-weight: 300; }

/* builder: options on the left, the box on the stage, choices in a carousel beneath */
.builder { display: grid; grid-template-columns: minmax(260px, 320px) 1fr; gap: clamp(26px, 3.5vw, 60px); align-items: start; }
.builder > *, .signature-box > * { min-width: 0; } /* let the carousel scroll instead of widening the column */
.builder__side { position: sticky; top: calc(var(--nav-h) + 40px); }
.builder__options { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--hair); counter-reset: opt; }
.builder__option {
  position: relative; display: grid; grid-template-columns: 34px 1fr auto; align-items: baseline; gap: 2px 10px; width: 100%;
  padding: 12px 4px; border-bottom: 1px solid var(--hair); text-align: left; transition: background-color .4s var(--ease);
}
.builder__option::before { counter-increment: opt; content: counter(opt, upper-roman); grid-row: span 2; font-style: italic; font-size: 1.05rem; color: var(--gold-deep); }
.builder__option::after { content: ""; position: absolute; left: -12px; top: 18px; bottom: 18px; width: 2px; background: var(--gold); transform: scaleY(0); transition: transform .5s var(--ease); }
.builder__option:hover { background: rgba(201, 162, 74, .06); }
.builder__option[aria-selected="true"]::after { transform: scaleY(1); }
.builder__option-label { font-size: 1.3rem; line-height: 1.1; }
.builder__option[aria-selected="true"] .builder__option-label { color: var(--cognac); }
.builder__option-value { grid-column: 2; font-family: var(--sans); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--fg-soft); }
.builder__option-value.is-empty { color: rgba(30, 20, 15, .38); }
.builder__option-price { grid-row: 1 / span 2; grid-column: 3; align-self: center; font-size: 1.05rem; color: var(--fg-soft); }
.builder__summary { display: grid; gap: 14px; margin-top: 24px; }
.builder__total { display: flex; justify-content: space-between; align-items: baseline; }
.builder__total span { font-family: var(--sans); font-size: 10.5px; letter-spacing: .26em; text-transform: uppercase; color: var(--fg-soft); }
.builder__total strong { font-weight: 300; font-size: 2.3rem; }
.builder__summary .btn { justify-content: center; }
.builder__summary .link-btn { justify-self: center; color: var(--fg-soft); }

.builder__stage { height: clamp(340px, calc(100vh - 500px), 600px); height: clamp(340px, calc(100svh - 500px), 600px); }
.stage { position: relative; z-index: 1; height: 96%; aspect-ratio: 1006 / 675; max-width: 96%; } /* layers use object-fit: contain, so a clamped width never distorts */
.stage img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: contain; pointer-events: none; }
.stage .layer--body { filter: drop-shadow(0 26px 26px rgba(50, 25, 10, .26)); }

.builder__picker { margin-top: 22px; }
.builder__prompt { margin: 0 0 14px; font-style: italic; font-size: 1.15rem; color: var(--fg-soft); }
.carousel { position: relative; display: flex; align-items: center; gap: 10px; }
.carousel__track { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 4px 2px 10px; scrollbar-width: none; flex: 1; }
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__nav { flex: 0 0 auto; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--hair); font-size: 1.4rem; line-height: 1; color: var(--fg-soft); transition: border-color .4s, color .4s, opacity .4s; }
.carousel__nav:hover { border-color: var(--gold); color: var(--ink); }
.carousel__nav:disabled { opacity: .25; pointer-events: none; }
.choice {
  flex: 0 0 auto; width: clamp(128px, 11vw, 158px); scroll-snap-align: start; display: grid; gap: 10px; padding: 8px 8px 12px; border-radius: 6px;
  background: #fbf7ef; border: 1px solid rgba(30, 20, 15, .08); text-align: left; transition: border-color .4s var(--ease), box-shadow .5s var(--ease), transform .5s var(--ease);
}
.choice:hover { transform: translateY(-3px); box-shadow: 0 18px 30px -20px rgba(70, 35, 15, .45); }
.choice[aria-selected="true"] { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold), 0 18px 30px -22px rgba(70, 35, 15, .5); }
.choice__img { aspect-ratio: 1 / 1; border-radius: 4px; overflow: hidden; background: #efe7d8; display: grid; place-items: center; }
.choice__img img { width: 100%; height: 100%; object-fit: cover; }
.choice__none { font-size: 2rem; font-style: italic; color: rgba(30, 20, 15, .3); }
.choice__name { font-size: 1.02rem; line-height: 1.15; }
.choice__price { font-family: var(--sans); font-size: 10.5px; letter-spacing: .12em; color: var(--fg-soft); }


.products { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 1.8vw, 28px); padding-left: clamp(0px, 3vw, 50px); }
.product {
  position: relative; display: flex; flex-direction: column; padding: 12px; border-radius: 8px;
  background: var(--paper-2); border: 1px solid rgba(30, 20, 15, .07);
  transform-style: preserve-3d; transition: box-shadow .8s var(--ease), filter .6s var(--ease);
  will-change: transform;
}
.product:hover { box-shadow: 0 50px 80px -50px rgba(70, 35, 15, .55); }
.product.is-muted { filter: grayscale(.7) opacity(.28); pointer-events: none; }
.product__media { aspect-ratio: 4 / 5; overflow: hidden; border-radius: 4px; background: #d9c9ae; }
.product__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.product__media--cut { background: radial-gradient(90% 70% at 50% 62%, #F4ECDD 0%, #DCCAAD 70%, #CDB794 100%); display: grid; place-items: center; }
.product__media--cut img { width: 78%; height: auto; object-fit: contain; filter: drop-shadow(0 26px 22px rgba(70, 35, 15, .3)); transform: translateZ(40px); }
.product:hover .product__media img { transform: scale(1.06); }
.product:hover .product__media--cut img { transform: translateY(-10px) scale(1.04); }
.product__tag { position: absolute; top: 24px; left: 24px; padding: 8px 14px; border-radius: 999px; font-family: var(--sans); font-size: 9.5px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; }
.product__info { display: flex; justify-content: space-between; gap: 14px; align-items: flex-start; padding: 22px 8px 18px; }
.product h3 { margin: 0; font-weight: 400; font-size: clamp(1.35rem, 1.6vw, 1.7rem); line-height: 1.1; }
.product__info p { margin: 6px 0 0; font-family: var(--sans); font-size: 11px; letter-spacing: .08em; color: var(--fg-soft); }
.product__price { font-size: 1.35rem; white-space: nowrap; }
.product__add { margin-top: auto; display: flex; justify-content: space-between; align-items: center; padding: 16px 8px 6px; border-top: 1px solid var(--hair); font-family: var(--sans); font-size: 10.5px; font-weight: 500; letter-spacing: .26em; text-transform: uppercase; transition: color .4s; }
.product__add:hover { color: var(--cognac); }
.product__add.is-added { color: var(--forest); }

/* =========================================================
   VII. SIGNATURE (leather → leopard reveal)
   ========================================================= */
.signature { z-index: 6; min-height: 100vh; min-height: 100svh; display: grid; place-items: center; overflow: hidden; background: var(--leather); --x: 50%; --y: 50%; --r: 18vmax; }
.signature__leather, .signature__leopard { position: absolute; inset: -2%; background-size: cover; background-position: center; }
.signature__leather { background-image: linear-gradient(rgba(25, 14, 8, .35), rgba(25, 14, 8, .55)), url(../assets/img/leather.webp); }
.signature__leopard {
  background-image: linear-gradient(rgba(25, 14, 8, .25), rgba(25, 14, 8, .35)), url(../assets/img/leopard.webp);
  -webkit-mask-image: radial-gradient(circle at var(--x) var(--y), #000 0, #000 calc(var(--r) * .45), transparent var(--r));
  mask-image: radial-gradient(circle at var(--x) var(--y), #000 0, #000 calc(var(--r) * .45), transparent var(--r));
}
.signature::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse at center, transparent 40%, rgba(12, 6, 3, .7)); }
.signature__content { position: relative; z-index: 2; text-align: center; display: grid; justify-items: center; padding: 140px var(--gutter); pointer-events: none; }
.signature__crest { width: min(240px, 50vw); color: var(--gold); margin-bottom: 50px; }
.signature__title { font-size: clamp(3rem, 8vw, 9rem); }
.signature__title .script { color: var(--gold-hi); font-size: 1.25em; }
.signature .lead { text-align: center; margin-inline: auto; }
.signature__hint { margin: 40px 0 0; font-family: var(--sans); font-size: 10px; letter-spacing: .34em; text-transform: uppercase; color: var(--gold); }

/* =========================================================
   VIII. JOURNAL + PRIVATE LIST
   ========================================================= */
.journal { z-index: 7; background: var(--paper); padding: clamp(100px, 12vw, 170px) 0 0; }
.journal__head { padding-left: clamp(0px, 3vw, 50px); margin-bottom: clamp(50px, 6vw, 90px); }
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 50px); padding-left: clamp(0px, 3vw, 50px); }
.post { display: grid; gap: 18px; align-content: start; }
.post--offset { margin-top: 12vh; }
.post__img { aspect-ratio: 4 / 5; overflow: hidden; border-radius: 4px; }
.post__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.post:hover .post__img img { transform: scale(1.06); }
.post .eyebrow { margin: 6px 0 0; }
.post h3 { margin: 0; font-weight: 300; font-size: clamp(1.6rem, 2.3vw, 2.4rem); line-height: 1.1; }

.private { margin-top: clamp(100px, 12vw, 180px); padding-top: clamp(80px, 10vw, 140px); padding-bottom: clamp(80px, 10vw, 140px); position: relative; max-width: none; }
.private::before { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(40, 14, 22, .55), rgba(40, 14, 22, .7)), url(../assets/img/dustbag-bordeaux.webp) center 40% / cover; }
.private__card { position: relative; max-width: 1180px; margin: 0 auto; padding: clamp(36px, 5vw, 70px); border-radius: 28px; display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(30px, 5vw, 80px); align-items: end; }
.private__card .display { font-size: clamp(2.3rem, 4.4vw, 4.6rem); color: var(--linen); }
.private__card .script { color: var(--gold-hi); }
.private__card .eyebrow { color: var(--gold-hi); }
.private__form { display: flex; flex-wrap: wrap; gap: 12px; }
.private__form input {
  flex: 1 1 240px; min-width: 0; padding: 19px 26px; border-radius: 999px;
  border: 1px solid rgba(255, 244, 222, .35); background: rgba(255, 250, 240, .08); color: var(--linen);
  font-family: var(--serif); font-size: 1.15rem; outline: none; transition: border-color .4s, background-color .4s;
}
.private__form input::placeholder { color: rgba(229, 217, 196, .6); }
.private__form input:focus { border-color: var(--gold); background: rgba(255, 250, 240, .14); }
.private__form input.is-invalid { border-color: #d98a7a; }
.private__note { flex-basis: 100%; margin: 6px 0 0 26px; font-family: var(--sans); font-size: 10.5px; letter-spacing: .14em; color: rgba(229, 217, 196, .7); }

/* =========================================================
   FOOTER
   ========================================================= */
.footer { position: relative; z-index: 8; background: #170F0B; color: var(--linen); padding: clamp(80px, 10vw, 140px) 0 34px; overflow: hidden; }
.footer__cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-left: clamp(0px, 3vw, 50px); }
.footer__cols p { margin: 0 0 14px; color: rgba(229, 217, 196, .75); }
.footer__cols .eyebrow { color: var(--gold); margin-bottom: 22px; }
.footer__cols a { display: block; width: fit-content; padding: 3px 0; color: rgba(229, 217, 196, .8); transition: color .4s; }
.footer__cols a:hover { color: var(--gold-hi); }
.footer__mark { margin: clamp(80px, 10vw, 150px) 0 50px; color: var(--gold); overflow: hidden; }
.footer__mark .logo { width: 100%; height: auto; }
.footer__base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px 30px; padding-top: 26px; border-top: 1px solid rgba(229, 217, 196, .14); font-family: var(--sans); font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: rgba(229, 217, 196, .55); }
.footer__top:hover { color: var(--gold); }

.logo { fill: currentColor; display: block; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1100px) {
  .nav__links--left, .nav__right .nav__links { display: none; }
  .nav { grid-template-columns: auto 1fr; padding-left: 26px; }
  .nav__right { justify-content: flex-end; }
  .nav__burger { display: block; }
  .products { grid-template-columns: repeat(2, 1fr); }
  .chapter { display: none; }
}

@media (max-width: 860px) {
  .boxes__tabs { display: flex; width: 100%; }
  .boxes__tabs button { flex: 1; padding: 12px 10px; letter-spacing: .14em; }
  .signature-box, .builder { grid-template-columns: 1fr; }
  .builder { display: flex; flex-direction: column; align-items: stretch; gap: 18px; }
  .builder__side, .builder__main { display: contents; }
  .builder__stage { order: 1; }
  .builder__options { order: 2; }
  .builder__picker { order: 3; margin-top: 0; }
  .builder__summary { order: 4; margin-top: 6px; }
  .builder__side > .eyebrow { display: none; }
  .builder__options { display: flex; gap: 8px; overflow-x: auto; border: 0; padding-bottom: 6px; scrollbar-width: none; }
  .builder__option { flex: 0 0 auto; width: auto; grid-template-columns: auto; padding: 10px 16px; border: 1px solid var(--hair); border-radius: 999px; }
  .builder__option::before, .builder__option::after, .builder__option-value, .builder__option-price { display: none; }
  .builder__option[aria-selected="true"] { background: var(--ink); }
  .builder__option[aria-selected="true"] .builder__option-label { color: var(--linen); }
  .builder__option-label { font-size: 1rem; white-space: nowrap; }
  .builder__stage { height: auto; aspect-ratio: 3 / 2; }
  .carousel__nav { display: none; }
  .choice { width: 128px; }
  :root { --nav-h: 64px; }
  body { font-size: 17px; }
  .nav { top: 12px; padding: 0 8px 0 22px; }
  .nav__logo { width: 136px; }
  .nav__cta { display: none; }

  .hero__copy { top: calc(var(--nav-h) + 52px); transform: none; width: auto; right: var(--gutter); padding: 0; }
  .hero__title { font-size: clamp(2.6rem, 11.5vw, 4.4rem); }
  .hero__lead { display: none; }
  .hero__ctas { margin-top: 26px; gap: 14px 24px; }
  .hero__stage { width: 100%; top: auto; height: 50%; }
  .hero__machine { width: min(68vw, 40vh); top: 52%; }
  .hero__halo { width: 60vh; height: 60vh; }
  .card-sig { display: none; }
  .chip { font-size: 9px; padding: 10px 16px; }
  .chip--a { left: 4%; top: 12%; }
  .chip--b { right: 4%; bottom: 8%; }
  .hero__scroll { display: none; }
  .hero__ghost { font-size: 40vw; bottom: 30%; }

  .box__ghost { top: auto; bottom: 34%; font-size: 40vw; }
    .box__copy { top: calc(var(--nav-h) + 44px); transform: none; width: auto; right: var(--gutter); padding: 0; }
  .box__copy .lead { display: none; }
  .box__title { font-size: clamp(2.4rem, 10.5vw, 4rem); }
  .stats { margin-top: 24px; padding-top: 20px; }
  .stats dt { font-size: 1.8rem; }
  .stats dd { font-size: 8.5px; letter-spacing: .18em; }
  .box__stage { width: 100%; top: auto; height: 50%; }
  .box__img { width: min(60vw, 34vh); }
  .box__img--open, .rig { width: min(56vw, 36vh); }
  .note { padding: 10px 14px; font-size: .95rem; }
  .note--3, .note--4 { display: none; }
  .note--1 { left: 3%; top: 8%; } .note--2 { right: 3%; top: auto; bottom: 8%; }

  .chapters__copy { bottom: 92px; }
  .chapters__title { font-size: clamp(3.4rem, 17vw, 5rem); }
  .chapters__veil { background: linear-gradient(0deg, rgba(20, 12, 8, .8) 0%, rgba(20, 12, 8, .3) 50%, rgba(20, 12, 8, .1) 100%); }
  .chapters__count { left: calc(var(--gutter)); right: auto; bottom: 40px; }

  .estate__frame { clip-path: inset(24% 16% 20% 16% round 400px 400px 6px 6px); }
  .mosaic { grid-template-columns: 1fr 1fr; }
  .tile { grid-column: auto !important; margin-top: 0 !important; }
  .tile:nth-child(even) { margin-top: 12vh !important; }
  .tile figcaption { font-size: 1.15rem; }

  .evening__grid { grid-template-columns: 1fr; }
  .evening__copy { margin-top: 40px; }

  .products { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 var(--gutter) 10px; margin: 0 calc(var(--gutter) * -1); scrollbar-width: none; }
  .products::-webkit-scrollbar { display: none; }
  .product { flex: 0 0 78vw; scroll-snap-align: center; }
  .filters { overflow-x: auto; max-width: 100%; }

  .posts { grid-template-columns: 1fr; gap: 60px; }
  .post--offset { margin-top: 0; }
  .private__card { grid-template-columns: 1fr; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .grain { animation: none; }
  .hero__scroll i { animation: none; }
}
