/* ════════════════════════════════════════════════════════════════
   THE GOOD PARLOR — VOLUME I
   Alternate art direction · editorial-kinetic
   Arrival sequence: Approach · Threshold · Foyer · Rooms · Invitation
   ════════════════════════════════════════════════════════════════ */

:root {
  --cream:      #f5efe6;
  --cream-deep: #ebe3d5;
  --ink:        #1a1c1a;
  --ink-soft:   #4a4a45;
  --ink-mute:   #8a8780;
  --moss:       #2a3a2c;
  --moss-deep:  #1d2a1f;
  --gold:       #b08d57;
  --gold-soft:  #d4b88a;

  --line-ink:   rgba(26, 28, 26, 0.16);
  --line-cream: rgba(245, 239, 230, 0.18);

  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans:  'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --pad: clamp(20px, 5vw, 80px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--gold); color: var(--ink); }

/* ───────── film grain / paper texture overlay ───────── */
.grain {
  position: fixed;
  inset: 0;
  z-index: 9000;
  pointer-events: none;
  opacity: 0.04;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ───────── custom cursor ───────── */
.cursor, .cursor-dot { display: none; }
@media (hover: hover) and (pointer: fine) {
  .cursor {
    position: fixed; top: 0; left: 0;
    width: 36px; height: 36px;
    border: 1px solid var(--gold);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 9500;
    transition: width 0.3s var(--ease), height 0.3s var(--ease),
                background 0.3s var(--ease), border-color 0.3s var(--ease),
                opacity 0.3s var(--ease);
    mix-blend-mode: difference;
    display: block;
  }
  .cursor-dot {
    position: fixed; top: 0; left: 0;
    width: 4px; height: 4px;
    background: var(--gold);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 9500;
    display: block;
  }
  .cursor.is-hover { width: 64px; height: 64px; background: rgba(176,141,87,0.12); border-color: transparent; }
  body.has-cursor, body.has-cursor a, body.has-cursor button { cursor: none; }
}

/* ───────── preloader ───────── */
.preloader {
  position: fixed; inset: 0;
  z-index: 9999;
  background: var(--ink);
  color: var(--cream);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.preloader__inner { text-align: center; overflow: hidden; }
.preloader__vol {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: 22px;
  opacity: 0;
}
.preloader__word {
  font-family: var(--serif);
  font-size: clamp(48px, 9vw, 120px);
  font-style: italic;
  line-height: 1;
  color: var(--cream);
}
.preloader__word .pl-line { display: block; overflow: hidden; }
.preloader__word .pl-line span { display: inline-block; transform: translateY(110%); }
.preloader__count {
  position: absolute;
  right: var(--pad); bottom: calc(var(--pad) - 10px);
  font-family: var(--serif);
  font-size: clamp(40px, 8vw, 90px);
  color: var(--moss);
  font-style: italic;
}
.no-js .preloader { display: none; }

/* ════════════════════════════════════════════════════════════════
   FIXED CHROME — folio, progress, nav
   ════════════════════════════════════════════════════════════════ */

.progress {
  position: fixed; top: 0; left: 0;
  height: 2px; width: 100%;
  z-index: 200;
  background: transparent;
}
.progress__bar {
  height: 100%; width: 0%;
  background: var(--gold);
  transform-origin: left center;
}

/* section folio — fixed corner magazine page marker */
.folio {
  position: fixed;
  left: var(--pad); bottom: calc(var(--pad) - 6px);
  z-index: 90;
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  mix-blend-mode: difference;
  color: #fff;
  pointer-events: none;
}
.folio__num { font-family: var(--serif); font-style: italic; font-size: 17px; letter-spacing: 0; }
.folio__sep { width: 26px; height: 1px; background: currentColor; opacity: 0.6; }
@media (max-width: 720px) { .folio { display: none; } }

/* ───────── nav ───────── */
.nav {
  position: fixed; inset: 0 0 auto 0;
  z-index: 150;
  padding: 22px var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  mix-blend-mode: difference;
  color: #fff;
}
.nav__brand {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: #fff;
}
.nav__brand .dot { color: var(--gold); }
.nav__links {
  display: flex;
  align-items: center;
  gap: 34px;
  list-style: none;
}
.nav__links a {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #fff;
  position: relative;
  padding-bottom: 3px;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 0; height: 1px; background: var(--gold);
  transition: width 0.4s var(--ease);
}
.nav__links a:hover::after, .nav__links a[aria-current="page"]::after { width: 100%; }
.nav__links .nav__req { color: var(--gold-soft); }

.nav__toggle {
  display: none;
  width: 40px; height: 40px;
  background: transparent; border: 0; cursor: pointer;
  position: relative;
}
.nav__toggle span, .nav__toggle span::before, .nav__toggle span::after {
  content: ""; position: absolute; left: 50%; width: 22px; height: 1.5px;
  background: #fff; transform: translateX(-50%); transition: transform 0.3s var(--ease), opacity 0.2s;
}
.nav__toggle span { top: 50%; }
.nav__toggle span::before { top: -7px; }
.nav__toggle span::after { top: 7px; }
.nav__toggle[aria-expanded="true"] span { background: transparent; }
.nav__toggle[aria-expanded="true"] span::before { transform: translateX(-50%) translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span::after { transform: translateX(-50%) translateY(-7px) rotate(-45deg); }

/* mobile menu */
.menu {
  position: fixed; inset: 0;
  z-index: 140;
  background: var(--ink);
  color: var(--cream);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--pad);
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.7s var(--ease);
  pointer-events: none;
}
.menu.is-open { clip-path: inset(0 0 0% 0); pointer-events: auto; }
.menu a {
  font-family: var(--serif);
  font-size: clamp(40px, 11vw, 84px);
  line-height: 1.05;
  color: var(--cream);
  padding: 6px 0;
  display: block;
}
.menu a em { font-style: italic; color: var(--gold-soft); }
.menu__foot {
  position: absolute; left: var(--pad); bottom: var(--pad); right: var(--pad);
  display: flex; justify-content: space-between;
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(245,239,230,0.5);
}
@media (max-width: 860px) {
  .nav__links { display: none; }
  .nav__toggle { display: block; }
}

/* ════════════════════════════════════════════════════════════════
   CHAPTERS — full-bleed color fields
   ════════════════════════════════════════════════════════════════ */
.chapter { position: relative; padding: clamp(90px, 14vh, 200px) var(--pad); overflow: clip; }
.chapter--cream      { background: var(--cream); color: var(--ink); }
.chapter--cream-deep { background: var(--cream-deep); color: var(--ink); }
.chapter--ink        { background: var(--ink); color: var(--cream); }
.chapter--moss       { background: var(--moss); color: var(--cream); }
.chapter--tight { padding-block: clamp(64px, 9vh, 130px); }

.inner { max-width: 1440px; margin: 0 auto; width: 100%; }

/* eyebrow / label */
.label {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.chapter--ink .label, .chapter--moss .label { color: var(--gold-soft); }
.label::before {
  content: ""; width: 28px; height: 1px; background: currentColor; opacity: 0.7;
}
.label--plain::before { display: none; }

/* gold hairline rule */
.gold-rule { height: 1px; background: var(--gold); border: 0; width: 100%; transform-origin: left center; }
.gold-rule--short { width: 80px; }

/* ───────── display type ───────── */
.display {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: -0.02em;
}
.display em { font-style: italic; }
.chapter--cream .display em, .chapter--cream-deep .display em { color: var(--moss); }
.chapter--ink .display em, .chapter--moss .display em { color: var(--gold-soft); }

.t-xxl { font-size: clamp(54px, 13vw, 220px); }
.t-xl  { font-size: clamp(44px, 9vw, 150px); }
.t-l   { font-size: clamp(36px, 6vw, 96px); }
.t-m   { font-size: clamp(30px, 4vw, 64px); }

/* word-mask reveal mechanics (JS adds .reveal-word spans) */
.line-mask { overflow: hidden; display: block; }
/* pad the masked box so large Cormorant ascenders/descenders clear the
   overflow:hidden clip in the resting state; negative margin keeps layout identical */
.reveal-words .word { display: inline-block; overflow: hidden; vertical-align: top; padding: 0.16em 0.06em 0.28em; margin: -0.16em -0.06em -0.28em; }
.reveal-words .word > span { display: inline-block; transform: translateY(125%); will-change: transform; }

/* generic fade/slide for supporting elements */
[data-reveal] { opacity: 0; transform: translateY(24px); will-change: transform, opacity; }
.is-ready [data-reveal] { /* JS animates; fallback below for no-js/reduced */ }

/* body prose */
.lead {
  font-family: var(--serif);
  font-size: clamp(22px, 2.5vw, 38px);
  line-height: 1.35;
  font-weight: 400;
}
.lead em { font-style: italic; color: var(--moss); }
.chapter--ink .lead em, .chapter--moss .lead em { color: var(--gold-soft); }
.body { font-size: clamp(15px, 1.2vw, 18px); line-height: 1.7; color: var(--ink-soft); max-width: 60ch; }
.chapter--ink .body, .chapter--moss .body { color: rgba(245,239,230,0.74); }
.measure { max-width: 62ch; }

/* large background numerals / wordmark (parallax) */
.ghost {
  position: absolute;
  font-family: var(--serif);
  font-weight: 400;
  line-height: 0.8;
  color: transparent;
  -webkit-text-stroke: 1px var(--line-ink);
  pointer-events: none;
  z-index: 0;
  user-select: none;
  white-space: nowrap;
}
.chapter--ink .ghost, .chapter--moss .ghost { -webkit-text-stroke-color: var(--line-cream); }
.ghost--fill { color: rgba(176,141,87,0.07); -webkit-text-stroke: 0; }
.above { position: relative; z-index: 1; }

/* ════════════════════════════════════════════════════════════════
   APPROACH — hero
   ════════════════════════════════════════════════════════════════ */
.approach {
  position: relative;
  min-height: 100svh;
  background: var(--cream);
  color: var(--ink);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px var(--pad) 90px;
  overflow: clip;
}
.approach__eyebrow { margin-bottom: clamp(24px, 4vw, 48px); }
.approach__title { position: relative; z-index: 2; }
.approach__title .display { font-size: clamp(56px, 15vw, 260px); }
.approach__title .l2 { display: block; font-style: italic; color: var(--moss); padding-left: 0.12em; }
.approach__meta {
  margin-top: clamp(32px, 5vw, 72px);
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
}
.approach__sub { max-width: 38ch; font-size: clamp(16px,1.4vw,20px); color: var(--ink-soft); }
.approach__cta { display: flex; gap: 16px; flex-wrap: wrap; }

/* porte-cochère markets marquee */
.marquee {
  border-top: 1px solid var(--line-ink);
  border-bottom: 1px solid var(--line-ink);
  overflow: hidden;
  white-space: nowrap;
  padding: 18px 0;
  position: relative;
}
.chapter--ink .marquee, .chapter--moss .marquee, .approach .marquee { }
.marquee__track { display: inline-flex; gap: 0; will-change: transform; }
.marquee__track span {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(22px, 3vw, 44px);
  padding: 0 0.6em;
  color: var(--ink);
}
.marquee__track span::after { content: "·"; color: var(--gold); padding-left: 0.6em; }
.approach .marquee { margin-top: clamp(40px,6vw,90px); }
.scroll-cue {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
  font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--ink-mute);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.scroll-cue i { width: 1px; height: 40px; background: var(--gold); display: block; transform-origin: top; }

/* ════════════════════════════════════════════════════════════════
   THRESHOLD — the door transition
   ════════════════════════════════════════════════════════════════ */
.threshold {
  position: relative;
  height: 100vh;
  background: var(--ink);
  color: var(--cream);
  display: grid;
  place-items: center;
  text-align: center;
  overflow: hidden;
}
.threshold__panels { position: absolute; inset: 0; z-index: 3; pointer-events: none; display: flex; }
.threshold__panel { flex: 1; background: var(--cream); height: 100%; }
.threshold__content { position: relative; z-index: 1; padding: 0 var(--pad); max-width: 1100px; }
.threshold__content .label { justify-content: center; margin-bottom: 30px; }
.threshold__content .label::before, .threshold__content .label::after { content: ""; width: 28px; height: 1px; background: currentColor; opacity: 0.6; }

/* ════════════════════════════════════════════════════════════════
   BTNS
   ════════════════════════════════════════════════════════════════ */
.btn {
  --bg: var(--ink); --fg: var(--cream);
  position: relative;
  display: inline-flex; align-items: center; gap: 12px;
  padding: 17px 34px;
  background: var(--bg); color: var(--fg);
  font-family: var(--sans); font-size: 11px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  border: 1px solid var(--bg);
  overflow: hidden;
  transition: color 0.5s var(--ease);
  isolation: isolate;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--gold);
  transform: translateY(101%);
  transition: transform 0.5s var(--ease);
}
.btn:hover { color: var(--ink); }
.btn:hover::before { transform: translateY(0); }
.btn--gold { --bg: var(--gold); --fg: var(--ink); }
.btn--gold::before { background: var(--ink); }
.btn--gold:hover { color: var(--cream); }
.btn--ghost { --bg: transparent; --fg: currentColor; border-color: currentColor; }
.btn--ghost::before { background: var(--gold); }
.btn--ghost:hover { color: var(--ink); border-color: var(--gold); }
.btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }

.arrow-link {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--sans); font-size: 11px; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase;
  padding-bottom: 6px; border-bottom: 1px solid var(--gold);
  transition: gap 0.4s var(--ease);
}
.arrow-link:hover { gap: 22px; }

/* ════════════════════════════════════════════════════════════════
   FOYER — two-sided value (facing pages)
   ════════════════════════════════════════════════════════════════ */
.facing {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid currentColor;
  position: relative;
}
.facing::before { /* center gutter rule */
  content: ""; position: absolute; top: 0; bottom: 0; left: 50%;
  width: 1px; background: currentColor; opacity: 0.5;
}
.facing__page { padding: clamp(36px, 4vw, 72px) clamp(20px, 3vw, 56px); }
.facing__page--r { text-align: right; }
.facing__idx {
  font-family: var(--serif); font-style: italic;
  font-size: clamp(40px, 5vw, 80px); color: var(--gold);
  line-height: 1; margin-bottom: 14px;
}
.facing__page h3 { font-family: var(--serif); font-size: clamp(28px,3.4vw,52px); line-height: 1; margin-bottom: 28px; }
.facing__page h3 em { font-style: italic; color: var(--moss); }
.numbered { list-style: none; display: grid; gap: 20px; }
.numbered li { display: block; }
.facing__page--r .numbered li { }
.numbered .n {
  font-family: var(--serif); font-style: italic; color: var(--gold);
  font-size: 18px; margin-right: 10px;
}
.numbered .t { font-family: var(--serif); font-size: clamp(19px,1.7vw,24px); color: inherit; }
.numbered .d { display: block; font-size: 14px; color: var(--ink-soft); margin-top: 4px; line-height: 1.55; }
.chapter--ink .numbered .d, .chapter--moss .numbered .d { color: rgba(245,239,230,0.7); }
.facing__page .arrow-link { margin-top: 36px; }

@media (max-width: 820px) {
  .facing { grid-template-columns: 1fr; }
  .facing::before { display: none; }
  .facing__page--r { text-align: left; }
  .facing__page { border-top: 1px solid currentColor; padding-inline: 0; }
  .facing__page:first-child { border-top: 0; }
}

/* ════════════════════════════════════════════════════════════════
   PINNED — How it works (4 steps advance)
   ════════════════════════════════════════════════════════════════ */
.pin-wrap { position: relative; }
.pin-stage {
  height: 100vh;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: clamp(30px, 6vw, 100px);
  padding: 0 var(--pad);
}
.pin-left { position: relative; }
.pin-kicker { margin-bottom: 30px; }
.pin-count {
  font-family: var(--serif);
  font-size: clamp(120px, 22vw, 340px);
  line-height: 0.8;
  color: transparent;
  -webkit-text-stroke: 1px var(--gold);
  font-style: italic;
}
.pin-right { position: relative; min-height: 50vh; }
.pin-step {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: center;
  opacity: 0; transform: translateY(40px);
}
.pin-step.is-active { opacity: 1; transform: none; }
.pin-step__no {
  font-family: var(--sans); font-size: 11px; font-weight: 600;
  letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold-soft);
  margin-bottom: 24px;
}
.pin-step h3 { font-family: var(--serif); font-size: clamp(44px,6vw,96px); line-height: 0.95; margin-bottom: 22px; }
.pin-step p { font-size: clamp(16px,1.4vw,20px); color: rgba(245,239,230,0.74); max-width: 42ch; }
.pin-progress { display: flex; gap: 8px; margin-top: 40px; }
.pin-progress i { width: 38px; height: 2px; background: rgba(245,239,230,0.25); }
.pin-progress i.on { background: var(--gold); }

@media (max-width: 760px) {
  .pin-stage { grid-template-columns: 1fr; gap: 24px; }
  .pin-left { display: none; }
}

/* ════════════════════════════════════════════════════════════════
   SPLIT visual / placeholder art
   ════════════════════════════════════════════════════════════════ */
.duo-split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: stretch;
  gap: clamp(28px, 5vw, 90px);
}
.duo-split--r .ph-art { order: 2; }
.duo-split__text { align-self: center; }
.duo-split__text h2 { margin: 18px 0 26px; }
@media (max-width: 820px) {
  .duo-split { grid-template-columns: 1fr; }
  .duo-split--r .ph-art { order: 0; }
}

/* @photo placeholders — duotone gradient, clip-path framed */
.ph-art {
  position: relative;
  min-height: clamp(320px, 46vw, 600px);
  background: var(--moss);
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% 92%, 0 100%);
}
.ph-art::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(120% 100% at 80% 10%, rgba(212,184,138,0.4), transparent 55%),
    linear-gradient(160deg, var(--moss) 0%, var(--ink) 95%);
}
.ph-art::after {
  content: attr(data-ph);
  position: absolute; left: 50%; bottom: 36px; transform: translateX(-50%);
  max-width: 78%; text-align: center;
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: clamp(19px, 2.3vw, 30px); line-height: 1.25;
  color: rgba(245,239,230,0.9); z-index: 1;
}
.ph-art--gold::before {
  background:
    radial-gradient(100% 90% at 18% 14%, rgba(212,184,138,0.5), transparent 52%),
    linear-gradient(150deg, var(--moss-deep), var(--ink));
}
.ph-art--alt { clip-path: polygon(0 0, 100% 8%, 100% 100%, 0 100%); }

/* real photo drop-in: add class ph-art--photo + inline background-image */
.ph-art--photo { background-size: cover; background-position: center; }
.ph-art--photo::before { display: none; }
.ph-art--photo::after {
  left: 24px; right: auto; bottom: 22px; transform: none;
  max-width: 70%; text-align: left;
  font-family: var(--sans); font-style: normal; font-size: 10px; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase; color: rgba(245,239,230,0.7);
}

/* ════════════════════════════════════════════════════════════════
   HORIZONTAL SCROLL TRACK (tiers / formats)
   ════════════════════════════════════════════════════════════════ */
.h-scroll { position: relative; overflow: hidden; }
.h-track {
  display: flex;
  gap: clamp(20px, 3vw, 44px);
  padding: 18px var(--pad) 0;
  width: max-content;
  will-change: transform;
}
.h-head { padding: 0 var(--pad); margin-bottom: 50px; display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; }
.h-hint { font-size: 10px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--ink-mute); display: flex; align-items: center; gap: 12px; }
.chapter--ink .h-hint, .chapter--moss .h-hint { color: rgba(245,239,230,0.5); }
.h-hint i { width: 40px; height: 1px; background: var(--gold); }

.tier {
  width: clamp(300px, 38vw, 460px);
  flex: none;
  background: var(--cream-card, #fffdf9);
  color: var(--ink);
  border: 1px solid var(--line-ink);
  padding: 44px 38px 38px;
  display: flex; flex-direction: column;
  position: relative;
  min-height: 560px;
}
.tier--dark { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.tier--moss { background: var(--moss); color: var(--cream); border-color: var(--moss); }
.tier--earn { color: var(--ink); }
.tier--earn .numbered .t { color: var(--ink); }
.tier--earn .numbered .d { color: var(--ink-soft); }
.tier__flag {
  position: absolute; top: 0; right: 38px; transform: translateY(-50%);
  background: var(--gold); color: var(--ink);
  font-size: 9.5px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase;
  padding: 7px 13px;
}
.tier__idx { font-family: var(--serif); font-style: italic; color: var(--gold); font-size: 22px; margin-bottom: 18px; }
.tier__name { font-family: var(--serif); font-size: 44px; line-height: 1; margin-bottom: 8px; }
.tier__for { font-size: 10.5px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 30px; }
.tier--dark .tier__for, .tier--moss .tier__for { color: var(--gold-soft); }
.tier__price { font-family: var(--serif); font-size: 60px; line-height: 1; font-style: italic; display: flex; align-items: baseline; gap: 10px; }
.tier__per { font-family: var(--sans); font-size: 12px; font-style: normal; letter-spacing: 0.05em; color: var(--ink-mute); }
.tier--dark .tier__per, .tier--moss .tier__per { color: rgba(245,239,230,0.6); }
.tier__rule { height: 1px; background: var(--line-ink); margin: 30px 0; }
.tier--dark .tier__rule, .tier--moss .tier__rule { background: var(--line-cream); }
.tier__list { list-style: none; display: grid; gap: 13px; margin-bottom: 32px; }
.tier__list li { display: grid; grid-template-columns: 16px 1fr; gap: 10px; font-size: 14px; line-height: 1.5; color: var(--ink-soft); }
.tier--dark .tier__list li, .tier--moss .tier__list li { color: rgba(245,239,230,0.8); }
.tier__list li::before { content: ""; width: 5px; height: 5px; margin-top: 8px; background: var(--gold); border-radius: 50%; }
.tier__cta { margin-top: auto; }
.tier__cta .btn { width: 100%; justify-content: center; }

@media (max-width: 760px) {
  /* on mobile, stack tiers vertically — drop horizontal pin */
  .h-track { flex-direction: column; width: 100%; align-items: stretch; }
  .tier { width: 100%; min-height: 0; }
}

/* ════════════════════════════════════════════════════════════════
   FEATURE ROWS (editorial list)
   ════════════════════════════════════════════════════════════════ */
.feature {
  display: grid;
  grid-template-columns: clamp(70px, 8vw, 130px) 1fr;
  gap: clamp(20px, 4vw, 70px);
  padding: clamp(34px, 4vw, 60px) 0;
  border-top: 1px solid currentColor;
  align-items: baseline;
}
.feature:last-child { border-bottom: 1px solid currentColor; }
.feature__no { font-family: var(--serif); font-style: italic; font-size: clamp(30px,4vw,64px); color: var(--gold); line-height: 1; }
.feature h3 { font-family: var(--serif); font-size: clamp(28px,3.4vw,52px); line-height: 1; margin-bottom: 18px; }
.feature p { font-size: clamp(15px,1.2vw,18px); line-height: 1.65; color: var(--ink-soft); max-width: 70ch; }
.feature p + p { margin-top: 12px; }
.feature p strong { color: var(--moss); font-weight: 600; }
.chapter--ink .feature p, .chapter--moss .feature p { color: rgba(245,239,230,0.74); }
.chapter--ink .feature p strong, .chapter--moss .feature p strong { color: var(--gold-soft); }
@media (max-width: 600px) { .feature { grid-template-columns: 1fr; gap: 10px; } }

/* ════════════════════════════════════════════════════════════════
   COMPARE (economics)
   ════════════════════════════════════════════════════════════════ */
.compare { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: clamp(20px,4vw,70px); }
.compare__side { text-align: center; }
.compare__k { font-size: 11px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(245,239,230,0.55); margin-bottom: 20px; }
.compare__v { font-family: var(--serif); font-style: italic; font-size: clamp(56px,10vw,150px); line-height: 0.85; }
.compare__side--a .compare__v { color: var(--cream); }
.compare__side--b .compare__v { color: var(--gold-soft); }
.compare__c { font-size: 13px; color: rgba(245,239,230,0.65); margin-top: 16px; line-height: 1.5; }
.compare__x { font-family: var(--serif); font-style: italic; font-size: 24px; color: var(--gold); }
@media (max-width: 720px) { .compare { grid-template-columns: 1fr; gap: 30px; } }
.footnote { font-family: var(--serif); font-style: italic; font-size: 14px; line-height: 1.55; color: rgba(245,239,230,0.5); max-width: 80ch; }

/* ════════════════════════════════════════════════════════════════
   TRIO (guarantees / index)
   ════════════════════════════════════════════════════════════════ */
.trio { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid currentColor; }
.trio__c { padding: clamp(34px,3.5vw,56px) clamp(24px,2.5vw,44px) 12px 0; border-right: 1px solid currentColor; }
.trio__c:last-child { border-right: 0; padding-right: 0; }
.trio__n { font-family: var(--serif); font-style: italic; font-size: clamp(28px,3vw,48px); color: var(--gold); margin-bottom: 20px; }
.trio__c h3 { font-family: var(--serif); font-size: clamp(24px,2.4vw,34px); margin-bottom: 14px; line-height: 1; }
.trio__c p { font-size: 15px; line-height: 1.6; color: var(--ink-soft); }
.chapter--ink .trio__c p, .chapter--moss .trio__c p { color: rgba(245,239,230,0.72); }
@media (max-width: 800px) {
  .trio { grid-template-columns: 1fr; }
  .trio__c { border-right: 0; border-bottom: 1px solid currentColor; padding: 30px 0; }
  .trio__c:last-child { border-bottom: 0; }
}

/* ════════════════════════════════════════════════════════════════
   PULLQUOTE (problem)
   ════════════════════════════════════════════════════════════════ */
.statement { max-width: 22ch; }
.statement .display { font-size: clamp(40px, 8vw, 140px); }
.statement cite {
  display: block; margin-top: clamp(30px,4vw,56px); font-style: normal;
  font-family: var(--sans); font-size: 11px; font-weight: 600;
  letter-spacing: 0.26em; text-transform: uppercase; color: var(--gold-soft);
}

/* ════════════════════════════════════════════════════════════════
   FORM (request access)
   ════════════════════════════════════════════════════════════════ */
.form-shell { max-width: 880px; margin: 0 auto; }
.toggle { display: inline-flex; border: 1px solid var(--line-ink); margin-bottom: 50px; }
.toggle button {
  appearance: none; border: 0; background: transparent;
  font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: 0.1em;
  color: var(--ink-soft); padding: 14px 30px; cursor: pointer;
  transition: background 0.4s var(--ease), color 0.4s var(--ease);
}
.toggle button[aria-pressed="true"] { background: var(--ink); color: var(--cream); }
.toggle button:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

.form { display: grid; gap: 26px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
@media (max-width: 560px) { .form__row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 10px; }
.field label { font-size: 10.5px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-soft); }
.field input, .field select {
  font-family: var(--serif); font-size: 22px; color: var(--ink);
  background: transparent; border: 0; border-bottom: 1px solid var(--line-ink);
  padding: 8px 0; width: 100%;
  transition: border-color 0.3s var(--ease);
}
.field input::placeholder { color: var(--ink-mute); }
.field input:focus, .field select:focus { outline: none; border-bottom-color: var(--gold); }
.field select { appearance: none; cursor: pointer; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'><path d='M1 1l6 6 6-6' fill='none' stroke='%23b08d57' stroke-width='1.5'/></svg>"); background-repeat: no-repeat; background-position: right 2px center; padding-right: 28px; }
.form__submit .btn { width: 100%; justify-content: center; padding: 20px; }
.form__note { font-size: 12px; color: var(--ink-mute); text-align: center; line-height: 1.5; }

.success { text-align: center; display: none; }
.success.on { display: block; }
.form.off { display: none; }
.success .display { margin: 24px 0 18px; }
.dev-note { margin-top: 30px; font-size: 11px; letter-spacing: 0.04em; color: var(--ink-mute); text-align: center; opacity: 0.7; }

/* ════════════════════════════════════════════════════════════════
   FOOTER — the register
   ════════════════════════════════════════════════════════════════ */
.foot { background: var(--ink); color: var(--cream); padding: clamp(60px,8vw,110px) var(--pad) 40px; position: relative; overflow: hidden; }
.foot__big {
  font-family: var(--serif); font-style: italic;
  font-size: clamp(50px, 13vw, 200px); line-height: 0.9;
  color: var(--cream); margin-bottom: clamp(40px,6vw,90px);
}
.foot__big .dot { color: var(--gold); font-style: normal; }
.foot__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 50px; border-bottom: 1px solid var(--line-cream); }
.foot__tag { font-family: var(--serif); font-style: italic; font-size: 18px; color: rgba(245,239,230,0.7); max-width: 30ch; line-height: 1.45; }
.foot__col h4 { font-size: 10.5px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-soft); margin-bottom: 20px; }
.foot__col ul { list-style: none; display: grid; gap: 12px; }
.foot__col a { font-size: 14px; color: rgba(245,239,230,0.72); transition: color 0.3s; }
.foot__col a:hover { color: var(--cream); }
.foot__bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 26px; font-size: 12px; color: rgba(245,239,230,0.5); }
@media (max-width: 820px) { .foot__grid { grid-template-columns: 1fr 1fr; } .foot__brand { grid-column: 1/-1; } }
@media (max-width: 480px) { .foot__grid { grid-template-columns: 1fr; } }

/* ════════════════════════════════════════════════════════════════
   UTILITIES + a11y
   ════════════════════════════════════════════════════════════════ */
.skip { position: absolute; left: -9999px; top: 0; background: var(--moss); color: var(--cream); padding: 12px 20px; z-index: 10000; font-size: 13px; }
.skip:focus { left: 0; }
.mt-s { margin-top: 18px; } .mt-m { margin-top: 36px; } .mt-l { margin-top: 64px; }
.center { text-align: center; }
.mx { margin-inline: auto; }
.cta-row { display: flex; gap: 16px; flex-wrap: wrap; }
.spacer-l { height: clamp(60px, 10vw, 160px); }

/* reduced motion + no-js: everything visible & static */
@media (prefers-reduced-motion: reduce) {
  .preloader { display: none !important; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  .reveal-words .word > span { transform: none !important; }
  .preloader__word .pl-line span { transform: none !important; }
  .pin-step { position: relative; opacity: 1; transform: none; margin-bottom: 40px; }
  .pin-stage { height: auto; display: block; padding-block: 60px; }
  .pin-right { min-height: 0; }
  .marquee__track { animation: none !important; }
  * { scroll-behavior: auto !important; }
}
html.no-js [data-reveal] { opacity: 1; transform: none; }
html.no-js .reveal-words .word > span { transform: none; }
html.no-js .pin-step { position: relative; opacity: 1; transform: none; margin-bottom: 40px; }
html.no-js .pin-stage { height: auto; display: block; }
