/* ==========================================================================
   Keepbound — landing page
   ========================================================================== */

:root {
  --paper: #F3ECDF;
  --paper-2: #EAE0CC;
  --paper-3: #DACDB3;
  --sheet: #FBF8F1;
  --ink: #1B1814;
  --ink-2: #4A433A;
  --ink-3: #857A6B;
  --accent: #E0532A;
  --accent-2: #F07A4E;
  --moss: #2E5A4C;
  --night: #15120F;
  --night-2: #1F1B17;
  --night-line: rgba(243, 236, 223, .1);

  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "Inter Tight", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: clamp(16px, 4vw, 56px);
  --ease: cubic-bezier(.16, 1, .3, 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; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

main { overflow-x: clip; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
::selection { background: var(--accent); color: var(--sheet); }

.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* ---------- Type ---------- */

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 340;
  letter-spacing: -.03em;
  line-height: .95;
  font-variation-settings: "opsz" 144, "SOFT" 30, "WONK" 0;
}
h1 em, h2 em {
  font-weight: 300;
  color: var(--accent);
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
}
h2 { font-size: clamp(2.4rem, 6vw, 5.6rem); }
h3 { font-size: clamp(1.5rem, 2.4vw, 2.2rem); letter-spacing: -.02em; line-height: 1.05; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font: 500 12px/1 var(--sans);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 1.6rem;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.eyebrow--light { color: rgba(243, 236, 223, .55); }

/* split-text helpers (created by JS) */
.w { display: inline-block; }
.c { display: inline-block; }
.mask { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; }
.mask > .w { will-change: transform; }

/* ---------- Buttons ---------- */

.btn {
  --bg: var(--ink);
  --fg: var(--paper);
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .55em;
  padding: 1em 1.6em;
  border: 1px solid var(--bg);
  border-radius: 999px;
  background: var(--bg);
  color: var(--fg);
  font: 500 15px/1 var(--sans);
  letter-spacing: .01em;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: color .5s var(--ease), border-color .5s var(--ease);
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--accent);
  border-radius: inherit;
  transform: translateY(101%);
  transition: transform .5s var(--ease);
}
.btn:hover::before, .btn:focus-visible::before { transform: translateY(0); }
.btn:hover, .btn:focus-visible { border-color: var(--accent); color: var(--sheet); }
.btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.btn--ghost { --bg: transparent; --fg: var(--ink); border-color: rgba(27, 24, 20, .25); }
.btn--small { padding: .8em 1.25em; font-size: 14px; }
.btn--accent { --bg: var(--accent); --fg: var(--sheet); }
.btn--accent::before { background: var(--sheet); }
.btn--accent:hover, .btn--accent:focus-visible { color: var(--ink); border-color: var(--sheet); }

/* ---------- Global chrome ---------- */

.grain {
  position: fixed;
  inset: -50%;
  z-index: 90;
  pointer-events: none;
  opacity: .085;
  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(5) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); }
  20% { transform: translate(-3%, 2%); }
  40% { transform: translate(2%, -4%); }
  60% { transform: translate(-4%, -2%); }
  80% { transform: translate(3%, 4%); }
  100% { transform: translate(0, 0); }
}

.progress { position: fixed; inset: 0 0 auto; height: 2px; z-index: 80; pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--accent); transform-origin: 0 50%; transform: scaleX(0); }

.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 70;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px var(--gutter);
  transition: transform .6s var(--ease), background-color .4s, backdrop-filter .4s;
}
.nav.is-scrolled { background: rgba(243, 236, 223, .72); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); }
.nav.is-hidden { transform: translateY(-110%); }
.nav__logo { font: 400 26px/1 var(--serif); letter-spacing: -.03em; font-variation-settings: "opsz" 72, "SOFT" 50; }
.nav__logo em { color: var(--accent); font-variation-settings: "opsz" 72, "SOFT" 100, "WONK" 1; }
.nav__links { display: flex; gap: 32px; font-size: 14px; color: var(--ink-2); }
.nav__links a { position: relative; }
.nav__links .nav__try { color: var(--accent); font-weight: 500; }
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease);
}
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }
@media (max-width: 760px) { .nav__links { display: none; } }

/* ==========================================================================
   HERO
   ========================================================================== */

.hero { position: relative; height: 100vh; height: 100svh; }
.hero__stage {
  position: relative;
  height: 100%;
  overflow: hidden;
  background:
    radial-gradient(60% 50% at 50% 45%, rgba(255, 250, 240, .9), transparent 70%),
    radial-gradient(40% 40% at 85% 15%, rgba(224, 83, 42, .10), transparent 70%),
    radial-gradient(40% 40% at 10% 90%, rgba(46, 90, 76, .10), transparent 70%);
}

.hero__copy {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 var(--gutter);
  text-align: center;
  pointer-events: none;
}
.hero__copy .eyebrow { margin-bottom: 1.8rem; }
.hero__title { font-size: clamp(3.1rem, 10.4vw, 10.5rem); line-height: .9; }
.hero__title .line { display: block; overflow: hidden; padding: 0 .06em .16em; margin-bottom: -.12em; }
.hero__lede { max-width: 34rem; margin-top: 1.8rem; font-size: clamp(16px, 1.35vw, 19px); color: var(--ink-2); }
.hero__ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 2.2rem; pointer-events: auto; }
.hero__note { margin-top: 1rem; font-size: 13px; color: var(--ink-3); }

.hero__cards { position: absolute; inset: 0; z-index: 3; }
.no-js .hero__cards { display: none; }

.card { position: absolute; left: 0; top: 0; width: 160px; height: 200px; margin: 0; }
.card__inner {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 7px;
  background: var(--sheet);
  border-radius: 3px;
  box-shadow: 0 24px 40px -18px rgba(50, 30, 10, .45), 0 2px 6px rgba(50, 30, 10, .12);
  will-change: transform;
}
.card__inner img { width: 100%; height: 100%; object-fit: cover; background: var(--paper-3); }
.card__inner img.is-blurry { filter: blur(3.5px) saturate(.8); }
.card__inner img.is-dark { filter: brightness(.32) saturate(.6); }
.card__inner img.is-blown { filter: brightness(1.7) contrast(.55) saturate(.4); }
.card__stamp {
  position: absolute;
  left: 50%; top: 50%;
  translate: -50% -50%;
  padding: 6px 9px;
  border: 1.5px solid currentColor;
  border-radius: 4px;
  background: rgba(251, 248, 241, .92);
  color: var(--accent);
  font: 600 10.5px/1 var(--sans);
  letter-spacing: .14em;
  text-transform: uppercase;
  white-space: nowrap;
  opacity: 0;
}
.card__inner--shot { padding: 5px; background: #2a2622; border-radius: 12px; }
.shot {
  display: flex; flex-direction: column; gap: 7%;
  width: 100%; height: 100%;
  padding: 18% 12%;
  border-radius: 8px;
  background: #F7F4EE;
}
.shot i { display: block; height: 4%; min-height: 3px; border-radius: 3px; background: #D9D1C2; }
.shot i.short { width: 60%; }
.shot b { font: 600 9px/1.1 var(--sans); color: var(--ink-2); }
.shot u { display: block; flex: 1; border-radius: 4px; background: repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 4px, var(--ink) 4px 5px, transparent 5px 8px); opacity: .7; }

.hero__spread {
  --sw: min(84vw, 124svh, 1240px);
  position: absolute;
  z-index: 2;
  left: calc(50% - var(--sw) / 2);
  top: calc(54% - var(--sw) / 4);
  width: var(--sw);
  height: calc(var(--sw) / 2);
  display: flex;
  opacity: 0;
  box-shadow: 0 50px 90px -40px rgba(50, 30, 10, .55), 0 12px 24px -12px rgba(50, 30, 10, .25);
}
.hero__page { flex: 1; background: var(--sheet); }
.hero__page--l { border-radius: 4px 0 0 4px; }
.hero__page--r { border-radius: 0 4px 4px 0; }
.hero__caption {
  position: absolute;
  left: 81%; top: 72%;
  width: 15.5%; height: 21%;
  display: flex; flex-direction: column; justify-content: flex-end; gap: .4em;
  border-top: 1px solid var(--paper-3);
  font-family: var(--serif);
  font-size: calc(var(--sw) * .0185);
  line-height: 1.1;
}
.hero__caption em { font-size: .66em; color: var(--ink-3); font-family: var(--sans); font-style: normal; letter-spacing: .04em; }
.hero__fold {
  --sw: min(84vw, 124svh, 1240px);
  position: absolute;
  z-index: 4;
  left: calc(50% - var(--sw) * .06);
  top: calc(54% - var(--sw) / 4);
  width: calc(var(--sw) * .12);
  height: calc(var(--sw) / 2);
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(90deg, transparent, rgba(40, 25, 10, .06) 35%, rgba(40, 25, 10, .28) 49.5%, rgba(255, 255, 255, .25) 50.5%, rgba(40, 25, 10, .05) 65%, transparent);
}
.hero__outro {
  --sw: min(84vw, 124svh, 1240px);
  position: absolute;
  z-index: 5;
  left: 0; right: 0;
  bottom: calc(46% + var(--sw) / 4 + clamp(14px, 2.4vh, 28px));
  padding: 0 var(--gutter);
  text-align: center;
  font: 340 clamp(1.4rem, 3vw, 2.8rem)/1.05 var(--serif);
  letter-spacing: -.02em;
  opacity: 0;
}
.hero__outro em { color: var(--accent); font-variation-settings: "SOFT" 100, "WONK" 1; }
.hero__hint {
  position: absolute; z-index: 5; left: 50%; bottom: 26px;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  transform: translateX(-50%);
  font: 500 11px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--ink-3);
}
.hero__hint i { position: relative; width: 1px; height: 44px; overflow: hidden; background: rgba(27, 24, 20, .15); }
.hero__hint i::after { content: ""; position: absolute; inset: 0; background: var(--ink); animation: hint 2s var(--ease) infinite; }
@keyframes hint { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }

@media (max-width: 760px) {
  .hero__spread, .hero__fold, .hero__outro { --sw: 92vw; }
  .hero__spread, .hero__fold { top: calc(56% - var(--sw) / 4); }
  .hero__outro { bottom: calc(44% + var(--sw) / 4 + 14px); }
  .card__inner { padding: 4px; }
  .card__stamp { font-size: 8.5px; padding: 4px 6px; }
  .hero__hint { display: none; }
  .hero__copy .eyebrow { letter-spacing: .12em; font-size: 11px; }
  .hero__copy .eyebrow::before { display: none; }
}

/* ==========================================================================
   MARQUEE
   ========================================================================== */

.marquee {
  padding: clamp(40px, 8vw, 110px) 0;
  overflow: hidden;
  border-block: 1px solid rgba(27, 24, 20, .1);
  background: var(--paper);
}
.marquee__row { white-space: nowrap; }
.marquee__track {
  display: inline-flex;
  align-items: center;
  gap: .4em;
  font: italic 300 clamp(3rem, 9vw, 8.5rem)/1.05 var(--serif);
  letter-spacing: -.035em;
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
  will-change: transform;
}
.marquee__track span { padding-right: .05em; }
.marquee__track b { font: 400 .45em/1 var(--sans); color: var(--accent); transform: translateY(-.1em); }
.marquee__row--outline .marquee__track { font-style: normal; font-weight: 600; font-variation-settings: "opsz" 144, "SOFT" 0; }
.marquee__row--outline span { color: transparent; -webkit-text-stroke: 1.2px var(--ink); }

/* ==========================================================================
   STATEMENT
   ========================================================================== */

.statement {
  position: relative;
  padding: clamp(110px, 20vh, 220px) var(--gutter) clamp(180px, 32vh, 340px);
}
.statement__inner { position: relative; z-index: 2; max-width: 1180px; margin: 0 auto; }
.statement__text {
  font: 330 clamp(2rem, 4.6vw, 4.6rem)/1.08 var(--serif);
  letter-spacing: -.025em;
  font-variation-settings: "opsz" 144, "SOFT" 40;
}
.js .statement__text .w { opacity: .13; }
.strike { position: relative; display: inline; color: var(--accent); font-style: italic; font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1; }
.strike__line {
  position: absolute; left: -2%; right: -2%; top: 54%;
  height: .07em; background: var(--ink);
  transform: scaleX(0); transform-origin: 0 50%;
}
.statement__float { position: absolute; z-index: 1; margin: 0; overflow: hidden; border-radius: 4px; box-shadow: 0 30px 60px -30px rgba(50, 30, 10, .5); }
.statement__float img { width: 100%; height: 100%; object-fit: cover; }
.statement__float--a { right: 4vw; top: 6%; width: clamp(110px, 15vw, 240px); aspect-ratio: 4 / 5; rotate: 5deg; }
.statement__float--b { left: 8vw; bottom: 3%; width: clamp(90px, 12vw, 190px); aspect-ratio: 1; rotate: -6deg; }

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 48px);
  margin-top: clamp(64px, 10vh, 120px);
  padding-top: 32px;
  border-top: 1px solid rgba(27, 24, 20, .15);
}
.stat strong { display: block; font: 330 clamp(2.4rem, 4.4vw, 4rem)/1 var(--serif); letter-spacing: -.03em; }
.stat > span { display: block; margin-top: .6rem; max-width: 18ch; color: var(--ink-2); font-size: 15px; }
@media (max-width: 760px) {
  .stats { grid-template-columns: 1fr; }
  .statement__float--a { top: 1%; }
  .statement__float--b { bottom: 1%; }
}

/* ==========================================================================
   HOW IT WORKS (horizontal)
   ========================================================================== */

.how { background: var(--night); color: var(--paper); }
.how__pin {
  position: relative;
  height: 100vh; height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(20px, 4vh, 48px);
  padding: 72px 0 40px;
  overflow: hidden;
}
.how__head { padding: 0 var(--gutter); }
.how__head .eyebrow { margin-bottom: 1rem; }
.how__head h2 { font-size: clamp(2rem, 4.6vw, 4.4rem); max-width: 18ch; }
.how__head h2 em { color: var(--accent-2); }

.how__track {
  display: flex;
  gap: clamp(16px, 3vw, 48px);
  width: max-content;
  padding: 0 var(--gutter);
  will-change: transform;
}
.step {
  position: relative;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  align-items: center;
  gap: clamp(20px, 4vw, 56px);
  width: min(78vw, 1060px);
  height: min(58svh, 560px);
  padding: clamp(22px, 3.4vw, 52px);
  border: 1px solid var(--night-line);
  border-radius: 28px;
  background: linear-gradient(160deg, #26211C, var(--night-2) 60%);
  overflow: hidden;
}
.step__num {
  position: absolute;
  top: -.12em; left: .1em;
  font: 600 clamp(6rem, 15vw, 14rem)/1 var(--serif);
  color: transparent;
  -webkit-text-stroke: 1px rgba(243, 236, 223, .14);
  pointer-events: none;
}
.step__text { position: relative; align-self: end; }
.step__text h3 { margin-bottom: .8rem; }
.step__text p { max-width: 30ch; color: rgba(243, 236, 223, .66); }
.step__link {
  display: inline-flex; align-items: center; gap: .4em;
  margin-top: 1.1rem; padding-bottom: 2px;
  border-bottom: 1px solid currentColor;
  color: var(--accent-2); font-weight: 500;
  transition: gap .3s var(--ease);
}
.step__link:hover { gap: .7em; }
.step__visual { position: relative; height: 100%; min-height: 0; }

@media (max-width: 760px) {
  .how__pin { padding: 64px 0 28px; justify-content: flex-start; }
  .how__head h2 { font-size: 2rem; }
  .step { grid-template-columns: 1fr; grid-template-rows: auto 1fr; width: 86vw; height: 64svh; gap: 18px; padding: 22px; }
  .step__text { align-self: start; }
  .step__text h3 { font-size: 1.5rem; margin-bottom: .4rem; }
  .step__text p { font-size: 15px; }
  .draft { grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(4, 1fr); gap: 6px; }
}

/* 01 drop */
.drop { position: absolute; inset: 0; border: 1.5px dashed rgba(243, 236, 223, .22); border-radius: 18px; }
.drop__ph {
  position: absolute;
  left: var(--x); top: var(--y);
  width: 28%; max-height: 46%; aspect-ratio: 5 / 6; height: auto;
  object-fit: cover;
  border: 4px solid var(--sheet);
  border-radius: 3px;
  rotate: var(--r);
  box-shadow: 0 18px 30px -14px rgba(0, 0, 0, .6);
}
.drop__count { position: absolute; z-index: 2; left: 14px; bottom: 12px; padding: 6px 12px 7px; border-radius: 99px; background: rgba(21, 18, 15, .78); backdrop-filter: blur(6px); font-size: 14px; color: rgba(243, 236, 223, .7); }
.drop__count strong { font: 400 1.9em/1 var(--serif); color: var(--paper); margin-right: .2em; }

/* 02 draft */
.draft { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(3, 1fr); gap: 8px; }
.draft__ph { position: relative; min-height: 0; border-radius: 6px; overflow: hidden; }
.draft__ph img { width: 100%; height: 100%; object-fit: cover; }
.draft__ph.is-out::after {
  content: "×";
  position: absolute; inset: 0;
  display: grid; place-items: center;
  font: 300 2rem/1 var(--sans);
  color: var(--paper);
  background: rgba(21, 18, 15, .55);
  opacity: var(--out, 0);
}
.draft__ph.is-hero { z-index: 2; outline: 2px solid transparent; outline-offset: -2px; }
.draft__tag {
  position: absolute; left: 6px; top: 6px;
  padding: 4px 8px; border-radius: 99px;
  background: var(--accent); color: var(--sheet);
  font: 600 10px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase;
  opacity: 0;
}

/* 03 polish */
.polish { position: absolute; inset: 0; display: grid; place-items: center; }
.polish__spread { display: flex; width: 100%; aspect-ratio: 2 / 1; max-height: 100%; background: var(--sheet); border-radius: 4px; box-shadow: 0 30px 50px -24px rgba(0, 0, 0, .7); }
.polish__page { position: relative; flex: 1; min-width: 0; }
.polish__page > img { width: 100%; height: 100%; object-fit: cover; border-radius: 4px 0 0 4px; }
.polish__page--r { display: flex; flex-direction: column; justify-content: center; gap: 8%; padding: 9%; }
.polish__slot { position: relative; aspect-ratio: 4 / 3; }
.polish__slot img { width: 100%; height: 100%; object-fit: cover; }
.polish__slot--sel { outline: 1.5px solid var(--accent); outline-offset: 3px; }
.h { position: absolute; width: 9px; height: 9px; background: var(--sheet); border: 1.5px solid var(--accent); border-radius: 2px; }
.h--tl { left: -8px; top: -8px; } .h--tr { right: -8px; top: -8px; }
.h--bl { left: -8px; bottom: -8px; } .h--br { right: -8px; bottom: -8px; }
.polish__cap { font: italic 400 clamp(11px, 1.2vw, 16px)/1.2 var(--serif); color: var(--ink); min-height: 1.2em; }
.polish__cursor { position: absolute; left: 60%; top: 60%; width: 26px; filter: drop-shadow(0 4px 6px rgba(0, 0, 0, .4)); }
.polish__chip {
  position: absolute; right: 4%; bottom: 2%;
  padding: 8px 12px; border-radius: 99px;
  background: var(--paper); color: var(--ink);
  font: 500 12px/1 var(--sans);
  box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .6);
}

/* 04 ship */
.ship { position: absolute; inset: 0; display: grid; place-items: center; perspective: 1200px; }
.ship__book {
  --w: min(46%, 230px);
  position: relative;
  width: var(--w);
  aspect-ratio: 4 / 5;
  transform-style: preserve-3d;
  transform: rotateY(-32deg) rotateX(8deg);
}
.ship__cover, .ship__pages, .ship__spine { position: absolute; }
.ship__cover {
  inset: 0;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 14% 12%;
  border-radius: 2px 6px 6px 2px;
  background:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, .04) 0 1px, transparent 1px 3px),
    repeating-linear-gradient(90deg, rgba(0, 0, 0, .06) 0 1px, transparent 1px 3px),
    var(--moss);
  color: #E9D9B0;
  transform: translateZ(14px);
  box-shadow: inset 6px 0 10px -4px rgba(0, 0, 0, .35);
}
.ship__cover span { font: 400 clamp(1rem, 1.9vw, 1.6rem)/1 var(--serif); letter-spacing: -.01em; }
.ship__cover small { font: 500 10px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; opacity: .8; }
.ship__pages {
  top: 2%; bottom: 2%; right: 0; width: 28px;
  background: repeating-linear-gradient(90deg, #f4efe4 0 1px, #ddd4c2 1px 2px);
  transform-origin: right center;
  transform: rotateY(90deg) translateX(14px);
}
.ship__spine {
  top: 0; bottom: 0; left: 0; width: 28px;
  background: #24493d;
  transform-origin: left center;
  transform: rotateY(90deg) translateX(-14px);
}
.ship__tag {
  position: absolute; left: var(--x); top: var(--y);
  padding: 8px 14px; border-radius: 99px;
  border: 1px solid rgba(243, 236, 223, .25);
  background: rgba(31, 27, 23, .8);
  backdrop-filter: blur(6px);
  font-size: 13px; white-space: nowrap;
}

.how__progress { position: relative; height: 1px; margin: 0 var(--gutter); background: var(--night-line); }
.how__progress span { position: absolute; inset: 0; background: var(--accent); transform-origin: 0 50%; transform: scaleX(0); }

/* ==========================================================================
   THE BOOK (3D page turn)
   ========================================================================== */

.book { background: var(--paper-2); }
.book__pin {
  position: relative;
  height: 100vh; height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(20px, 4vh, 44px);
  padding: 72px var(--gutter) 32px;
  overflow: hidden;
}
.book__head { text-align: center; }
.book__head .eyebrow { margin-bottom: 1rem; }
.book__head h2 { font-size: clamp(2.1rem, 4.8vw, 4.6rem); }

.book__scene {
  --pw: min(35vw, 50svh, 470px);
  position: relative;
  width: calc(var(--pw) * 2);
  height: var(--pw);
  perspective: 2400px;
}
.book__obj {
  position: relative;
  width: 100%;
  height: 100%;
  perspective: 2200px;
  transform-origin: 50% 60%;
}
.book__shadow {
  position: absolute;
  left: 4%; right: 4%; bottom: -9%;
  height: 16%;
  background: radial-gradient(50% 50% at 50% 50%, rgba(40, 25, 10, .35), transparent 70%);
  filter: blur(8px);
  z-index: -1;
}

.book__base, .leaf { position: absolute; top: 0; left: 50%; width: 50%; height: 100%; }
.book__base {
  background: var(--sheet);
  border-radius: 0 3px 3px 0;
  box-shadow: 1px 1px 0 #ece4d4, 2px 2px 0 #e2d8c5, 3px 3px 0 #ece4d4, 4px 4px 0 #d9ceb8, 0 30px 50px -30px rgba(40, 25, 10, .6);
}
.leaf { transform-origin: 0 50%; transform-style: preserve-3d; }
.leaf__face {
  position: absolute;
  inset: 0;
  overflow: hidden;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  background: var(--sheet);
}
.leaf__front { border-radius: 0 3px 3px 0; }
.leaf__back { transform: rotateY(180deg); border-radius: 3px 0 0 3px; }
.leaf__face::after {
  content: "";
  position: absolute; inset: 0;
  pointer-events: none;
  opacity: var(--shade, 0);
  background: linear-gradient(90deg, rgba(30, 20, 10, .55), rgba(30, 20, 10, .15));
}
.leaf__front::before, .book__base::before {
  content: ""; position: absolute; inset: 0 auto 0 0; width: 9%; z-index: 2; pointer-events: none;
  background: linear-gradient(90deg, rgba(40, 25, 10, .2), transparent);
}
.leaf__back::before {
  content: ""; position: absolute; inset: 0 0 0 auto; width: 9%; z-index: 2; pointer-events: none;
  background: linear-gradient(270deg, rgba(40, 25, 10, .22), transparent);
}

.cover {
  border-radius: 2px 8px 8px 2px;
  background:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, .035) 0 1px, transparent 1px 3px),
    repeating-linear-gradient(90deg, rgba(0, 0, 0, .07) 0 1px, transparent 1px 3px),
    radial-gradient(120% 90% at 30% 20%, #3A6B5C, var(--moss) 60%, #234639);
}
.cover::before { width: 7% !important; background: linear-gradient(90deg, rgba(0, 0, 0, .35), rgba(255, 255, 255, .06) 60%, transparent) !important; }
.cover__inner {
  position: absolute; inset: 9% 10% 9% 14%;
  display: flex; flex-direction: column; justify-content: space-between;
  border: 1px solid rgba(233, 217, 176, .4);
  padding: 10%;
  color: #E9D9B0;
}
.cover__title { font: 380 calc(var(--pw) * .1)/.95 var(--serif); letter-spacing: -.02em; font-variation-settings: "opsz" 144, "SOFT" 60; }
.cover__sub { font: 500 calc(var(--pw) * .026)/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; }

.endpaper {
  background:
    radial-gradient(circle at 25% 25%, rgba(224, 83, 42, .5) 0 8%, transparent 8.5%),
    radial-gradient(circle at 75% 75%, rgba(224, 83, 42, .5) 0 8%, transparent 8.5%),
    #E7B9A0;
  background-size: 22% 22%;
}

.pg { padding: 10%; }
.pg img { width: 100%; height: 100%; object-fit: cover; }
.pg small { font: italic 400 calc(var(--pw) * .03)/1.25 var(--serif); color: var(--ink-2); }
.pg--bleed { padding: 0; }
.pg__over {
  position: absolute; left: 8%; bottom: 7%;
  font: italic 400 calc(var(--pw) * .042)/1 var(--serif); color: var(--sheet);
  text-shadow: 0 2px 12px rgba(0, 0, 0, .4);
}
.pg--title { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 6%; text-align: center; }
.pg--title img { width: 64%; height: auto; aspect-ratio: 4 / 3; }
.pg__h { font: 360 calc(var(--pw) * .07)/1 var(--serif); letter-spacing: -.02em; }
.pg--duo { display: grid; grid-template-rows: 1fr 1fr auto; gap: 5%; }
.pg--duo img, .pg--grid img { min-height: 0; }
.pg--grid { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr auto; gap: 4%; }
.pg--grid small { grid-column: 1 / -1; }
.pg--framed { display: grid; grid-template-rows: 1fr auto; gap: 6%; padding: 12% 12% 14%; }
.pg--colophon { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4%; }
.pg--colophon span { font: italic 300 calc(var(--pw) * .16)/1 var(--serif); color: var(--accent); font-variation-settings: "SOFT" 100, "WONK" 1; }
.pg--colophon small { font: 500 calc(var(--pw) * .026)/1 var(--sans); font-style: normal; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3); }

.book__notes { position: relative; list-style: none; height: 1.6em; width: 100%; text-align: center; font: italic 400 clamp(1.1rem, 1.8vw, 1.5rem)/1.3 var(--serif); }
.book__notes li { position: absolute; inset: 0; opacity: 0; transform: translateY(14px); transition: opacity .5s var(--ease), transform .6s var(--ease); }
.book__notes li.is-active { opacity: 1; transform: none; }

@media (max-width: 760px) {
  .book__scene { --pw: 44vw; }
}

/* ==========================================================================
   MOMENTS
   ========================================================================== */

.moments {
  display: grid;
  grid-template-columns: minmax(280px, .8fr) 1.6fr;
  gap: clamp(24px, 5vw, 80px);
  padding: clamp(110px, 18vh, 200px) var(--gutter);
}
.moments__intro { position: sticky; top: 22vh; align-self: start; }
.moments__intro h2 { font-size: clamp(2.4rem, 5vw, 4.8rem); }
.moments__lede { margin-top: 1.6rem; max-width: 34ch; color: var(--ink-2); }
.moments__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(12px, 2vw, 28px); }
.moments__col { display: flex; flex-direction: column; gap: clamp(12px, 2vw, 28px); will-change: transform; }
.moments__col:nth-child(2) { margin-top: 18vh; }
.moments__col:nth-child(3) { margin-top: 6vh; }
.moment { margin: 0; }
.moment__img { overflow: hidden; border-radius: 6px; background: var(--paper-3); }
.moment__img img { width: 100%; height: auto; aspect-ratio: auto; transform: scale(1.15); }
.moment figcaption { margin-top: .7rem; font: italic 400 1.1rem/1.2 var(--serif); }
@media (max-width: 900px) {
  .moments { grid-template-columns: 1fr; }
  .moments__intro { position: static; }
  .moments__cols { grid-template-columns: repeat(2, 1fr); }
  .moments__col:nth-child(3) { display: none; }
  .moments__col:nth-child(2) { margin-top: 10vh; }
}

/* ==========================================================================
   PROMISES
   ========================================================================== */

.promises { padding: clamp(80px, 14vh, 160px) var(--gutter) clamp(110px, 18vh, 200px); }
.promises__head { max-width: 1100px; margin-bottom: clamp(48px, 8vh, 88px); }
.promises__head h2 { font-size: clamp(2.2rem, 5vw, 4.8rem); }
.promises__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; perspective: 1400px; }
.promise {
  position: relative;
  padding: 30px 26px 34px;
  border-radius: 22px;
  background: var(--sheet);
  border: 1px solid rgba(27, 24, 20, .08);
  transform-origin: 50% 0;
  transition: box-shadow .6s var(--ease); /* never transition transform: GSAP owns it */
}
.promise:hover { box-shadow: 0 30px 60px -30px rgba(50, 30, 10, .35); }
.promise svg { width: 44px; height: 44px; margin-bottom: 44px; fill: none; stroke: var(--accent); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.promise h3 { font-size: 1.6rem; margin-bottom: .7rem; }
.promise p { color: var(--ink-2); font-size: 15.5px; }
@media (max-width: 1000px) { .promises__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .promises__grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   CTA
   ========================================================================== */

.cta {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: clamp(120px, 22vh, 240px) var(--gutter);
  background: var(--night);
  color: var(--paper);
  text-align: center;
  overflow: hidden;
}
.cta::before {
  content: "";
  position: absolute;
  left: 50%; top: 55%;
  width: 90vmax; height: 90vmax;
  translate: -50% -50%;
  background: radial-gradient(closest-side, rgba(224, 83, 42, .22), transparent 70%);
  pointer-events: none;
}
.cta > * { position: relative; }
.cta__title { font-size: clamp(3rem, 10vw, 10rem); line-height: .9; }
.cta__line { display: block; }
.cta__title .c { font-variation-settings: "opsz" 144, "wght" var(--w, 340), "SOFT" 50; }
.cta__title em { color: var(--accent-2); }
.cta__title em .c { font-variation-settings: "opsz" 144, "wght" var(--w, 300), "SOFT" 100, "WONK" 1; }
.cta__lede { max-width: 32rem; margin-top: 2rem; color: rgba(243, 236, 223, .7); font-size: clamp(16px, 1.3vw, 19px); }
.cta__fine { margin-top: 1.1rem; font-size: 13px; color: rgba(243, 236, 223, .45); }
.cta__try { margin-top: 2.2rem; font-size: 15px; color: rgba(243, 236, 223, .7); }
.cta__try a { color: var(--accent-2); border-bottom: 1px solid currentColor; }
.cta__try a:hover { color: var(--paper); }
.cta__badge {
  position: absolute !important;
  right: clamp(12px, 7vw, 120px);
  top: clamp(40px, 10vh, 120px);
  width: clamp(96px, 12vw, 170px);
  fill: var(--paper);
  font: 500 13.5px var(--sans);
  letter-spacing: .26em;
  text-transform: uppercase;
}
.cta__badge-k { font: italic 400 46px var(--serif); fill: var(--accent-2); letter-spacing: 0; text-transform: none; }

.waitlist {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  width: min(100%, 520px);
  margin-top: 2.6rem;
  padding: 7px;
  border: 1px solid rgba(243, 236, 223, .2);
  border-radius: 999px;
  background: rgba(243, 236, 223, .04);
  transition: border-color .3s;
}
.waitlist:focus-within { border-color: var(--accent-2); }
.waitlist input {
  flex: 1 1 200px;
  min-width: 0;
  padding: 0 18px;
  border: 0;
  background: none;
  outline: none;
  font-size: 16px;
}
.waitlist input::placeholder { color: rgba(243, 236, 223, .4); }
.waitlist-form { display: flex; flex-direction: column; align-items: center; width: min(100%, 520px); }
.waitlist-form .waitlist { width: 100%; }
.consent {
  display: flex; align-items: flex-start; gap: 10px;
  margin-top: 14px; max-width: 480px;
  text-align: left; font-size: 13px; line-height: 1.45;
  color: rgba(243, 236, 223, .7);
  cursor: pointer;
}
.consent input { flex: none; width: 18px; height: 18px; margin-top: 1px; accent-color: var(--accent-2); cursor: pointer; }
.consent a { color: var(--paper); border-bottom: 1px solid rgba(243, 236, 223, .4); }
.waitlist-form.is-error .consent input:not(:checked) { outline: 2px solid #ff8a6b; outline-offset: 2px; }
.waitlist__msg { margin-top: 12px; min-height: 0; font-size: 14px; }
.waitlist-form.is-error .waitlist__msg { color: #ffb199; }
.waitlist__msg:empty { display: none; }
.waitlist.is-done { border-color: var(--accent-2); }
.waitlist.is-error { border-color: #ff8a6b; }
@media (max-width: 520px) {
  .waitlist { border-radius: 22px; }
  .waitlist input { padding: 14px; flex-basis: 100%; }
  .waitlist .btn { width: 100%; justify-content: center; }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.footer { padding: 48px var(--gutter) 28px; background: var(--night); color: var(--paper); overflow: hidden; }
.footer__mark {
  font: 300 clamp(4rem, 21.5vw, 22rem)/.8 var(--serif);
  letter-spacing: -.055em;
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  padding-bottom: .06em;
}
.footer__mark .c:nth-child(n+5) { font-style: italic; color: var(--accent-2); }
.footer__row {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  margin-top: 28px; padding-top: 20px;
  border-top: 1px solid var(--night-line);
  font-size: 13px; color: rgba(243, 236, 223, .55);
}
.footer__row a:hover { color: var(--paper); }
.footer__links { display: inline-flex; gap: 20px; }

/* ==========================================================================
   Reduced motion — static, fully readable layout
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  .grain { animation: none; }
  .hero__hint i::after { animation: none; }
  .js .statement__text .w { opacity: 1; }
  .how__pin { height: auto; padding: 100px 0; }
  .how__track { flex-direction: column; width: auto; }
  .step { width: 100%; }
  .how__progress { display: none; }
  .book__notes li:first-child { opacity: 1; transform: none; }
  .draft__ph.is-out::after { --out: 1; }
  .moment__img img { transform: none; }
}
