/* ==========================================================================
   Rekindle — "The Pause"
   Palette and type sampled from the book cover and interior pages.
   Single stylesheet, no framework, no build step.

   BACKGROUND RHYTHM — read this before changing any section background.
   The whole page sits on ONE base colour (--cream). Atmosphere is added as
   masked overlay layers that fade to nothing at their edges, so a textured
   zone can end without ever revealing a boundary. White is used once, for the
   page previews. Charcoal is used once, for the turning point.

     hero            atmosphere (cream + masked haze)
     the moment      clean cream
     the turn        WARM CHARCOAL — the one dark section
     what changes    clean cream
     the pause       atmosphere returns (cream + masked haze)
     inside the book WHITE — the one white section
     who it is for   clean cream
     the close       subtle atmosphere rising from the bottom
     footer          clean cream

   Never give two adjacent sections their own textured background.
   ========================================================================== */

/* --- Fonts (self-hosted, latin subset, variable) ------------------------- */
@font-face {
  font-family: 'Playfair Display';
  src: url('../fonts/playfair-display-latin.woff2') format('woff2');
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Montserrat';
  src: url('../fonts/montserrat-latin.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* --- Tokens -------------------------------------------------------------- */
:root {
  /* surfaces — only three, on purpose */
  --cream:      #FBF7F3;   /* the base for the entire page */
  --white:      #FDFBF9;   /* the previews section only */
  --charcoal:   #292522;   /* the turning point, and buttons */
  --charcoal-hi:#332E29;
  --tint:       #F6EDE5;   /* bounded panels only, never a section */

  /* atmosphere, sampled from the cover */
  --haze-blush: #F7E7DD;
  --haze-taupe: #E9DBD0;
  --haze-deep:  #E3D6CB;

  /* warm ink family — the book's interior, not the cover's cool black */
  --ink:        #1F1C1A;   /* 15.9:1 on cream */
  --ink-body:   #302B27;   /* 13.1:1 */
  --muted:      #67605A;   /*  5.8:1 — smallest text allowed */
  --mauve:      #6E6D78;   /* the cover's subtitle tone */
  --mauve-soft: #787781;   /* decorative lines only */
  --dot:        #CBC0BE;
  --rule:       #E4DBD3;
  --rule-soft:  #EDE5DE;

  /* on charcoal */
  --on-dark:      #F4EBE2;  /* 12.9:1 */
  --on-dark-dim:  #CFC4BA;  /*  8.9:1 */
  --on-dark-soft: #A89C92;  /*  5.7:1 */
  --rule-dark:    #4A423C;

  --shadow-book:  0 2px 4px rgba(74, 55, 44, .05),
                  0 14px 30px rgba(74, 55, 44, .10),
                  0 40px 74px rgba(74, 55, 44, .08);
  --shadow-btn:   0 6px 18px rgba(41, 37, 34, .16);

  --serif: 'Playfair Display', 'Didot', 'Georgia', serif;
  --sans:  'Montserrat', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --text:  ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto,
           'Helvetica Neue', Arial, sans-serif;

  --gutter: clamp(1.375rem, 6vw, 2.5rem);
  --measure: 34ch;
  --breath: clamp(4.25rem, 12vw, 8.5rem);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* --- Reset --------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body, h1, h2, h3, p, figure, blockquote, ul, ol, li, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
button { font: inherit; color: inherit; background: none; border: 0; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  background: var(--cream);
  position: relative;
  isolation: isolate;   /* lets the atmosphere layers sit above the page
                           background and below every piece of content */
  color: var(--ink-body);
  font-family: var(--text);
  font-size: clamp(1.0625rem, .55vw + .95rem, 1.1875rem);
  line-height: 1.75;
  letter-spacing: .003em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* --- Type --------------------------------------------------------------- */
.eyebrow {
  font-family: var(--sans);
  font-weight: 600;
  font-size: .7rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
}
.movements__head .eyebrow,
.pause__head .eyebrow,
.inside__head .eyebrow,
.fit .eyebrow,
.doc__head .eyebrow { display: block; margin-bottom: 1.15rem; }

.display {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--ink);
  line-height: 1.14;
  letter-spacing: -.012em;
  text-wrap: balance;
}
h2.display { font-size: clamp(1.85rem, 4.6vw + .35rem, 3.05rem); }
h3.display { font-size: clamp(1.3rem, 1.9vw + .8rem, 1.7rem); line-height: 1.24; }

.lead   { max-width: 38ch; color: var(--ink-body); }
.body   { max-width: var(--measure); }
.body p + p, .lead p + p { margin-top: 1.35em; }
.small  { font-size: .875rem; line-height: 1.6; color: var(--muted); }

a { color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px;
    text-underline-offset: .22em; text-decoration-color: var(--rule);
    transition: text-decoration-color .3s var(--ease); }
a:hover { text-decoration-color: var(--mauve); }

:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 2px; }

/* --- Layout ------------------------------------------------------------- */
.wrap  { width: 100%; max-width: 68rem; margin-inline: auto; padding-inline: var(--gutter); }
.narrow{ max-width: 46rem; }
section { position: relative; }
.section { padding-block: var(--breath); }

.rule { width: 5.5rem; height: 1px; background: var(--rule); border: 0; margin: 0; }
.rule--dark { background: var(--rule-dark); }

/* two-dot motif — the page's punctuation, taken from the cover */
.dots { display: inline-flex; gap: .55rem; align-items: center; }
.dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--dot); display: block; }
.dots--light i { background: var(--on-dark-soft); }
.dots--breathe i { animation: breathe 5.5s var(--ease) infinite; }
.dots--breathe i:nth-child(2) { animation-delay: .5s; }
@keyframes breathe {
  0%, 100% { opacity: .55; transform: scale(.9); }
  50%      { opacity: 1;   transform: scale(1.12); }
}

/* ==========================================================================
   ATMOSPHERE — the cover's light, as a masked overlay.
   Always fades to nothing at its own edges, so it can never seam.
   ========================================================================== */
/* The one section that carries its own atmosphere becomes a stacking context,
   so the layer paints above the section background and below its content. */
.pause { isolation: isolate; }

/* The field lives on a child so the parent can clip it: the slow drift scales
   the layer, and without clipping that would push the page 3px wider. */
.atmos { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.atmos::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(58% 42% at 14% 8%,  var(--haze-deep)  0%, rgba(227,214,203,0) 66%),
    radial-gradient(46% 36% at 88% 14%, var(--haze-blush) 0%, rgba(247,231,221,0) 64%),
    radial-gradient(62% 48% at 76% 78%, var(--haze-blush) 0%, rgba(247,231,221,0) 62%),
    radial-gradient(38% 30% at 40% 52%, var(--haze-taupe) 0%, rgba(233,219,208,0) 72%);
}
/* One page-level layer covering the masthead and the hero. Its height does not
   need to match the hero exactly: the base colour underneath is the same
   everywhere, so wherever the mask finishes, nothing is revealed. */
.atmos--hero {
  inset: 0 0 auto;
  height: clamp(44rem, 118vh, 72rem);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 54%, transparent 97%);
          mask-image: linear-gradient(to bottom, #000 0%, #000 54%, transparent 97%);
}
.atmos--hero::before { animation: drift 60s var(--ease) infinite alternate; }
/* The drift costs a full-viewport composited layer, so it idles while the
   hero is off screen. animation-play-state keeps the current position, so
   resuming is seamless and nothing about the visible motion changes. */
.atmos--hero.is-still::before { animation-play-state: paused; }

/* a later, quieter return of the same light — fades in and out */
.atmos--mid {
  opacity: .72;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 26%, #000 72%, transparent 100%);
          mask-image: linear-gradient(to bottom, transparent 0%, #000 26%, #000 72%, transparent 100%);
}
.atmos--mid::before {
  background:
    radial-gradient(52% 44% at 88% 12%, var(--haze-blush) 0%, rgba(247,231,221,0) 66%),
    radial-gradient(46% 40% at 6% 72%,  var(--haze-taupe) 0%, rgba(233,219,208,0) 70%);
}
/* The final landing, anchored to the foot of the document so the glow carries
   through the closing section AND the footer as one continuous field — the
   mirror of the hero layer at the top. */
.atmos--close {
  inset: auto 0 0;
  height: clamp(28rem, 66vh, 44rem);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 46%, #000 100%);
          mask-image: linear-gradient(to bottom, transparent 0%, #000 46%, #000 100%);
}
.atmos--close::before {
  background: radial-gradient(72% 58% at 50% 98%, var(--haze-blush) 0%, rgba(247,231,221,0) 68%);
}
@keyframes drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(-2.5%, 1.5%, 0) scale(1.06); }
}

/* --- Buttons ------------------------------------------------------------ */
.cta-group { display: flex; flex-direction: column; gap: .85rem; align-items: flex-start; }
.cta-group--center { align-items: center; text-align: center; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 3.5rem; padding: .95rem 1.9rem;
  font-family: var(--sans); font-weight: 600; font-size: .95rem;
  letter-spacing: .015em; text-align: center; text-decoration: none;
  border-radius: 4px; cursor: pointer;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease),
              background-color .35s var(--ease), border-color .35s var(--ease);
}
/* every primary action is the same filled warm charcoal, whatever its label */
.btn--primary, .btn--soon {
  background: var(--charcoal); color: var(--cream);
  box-shadow: var(--shadow-btn); border: 0;
}
.btn--primary:hover, .btn--soon:hover {
  background: var(--charcoal-hi); transform: translateY(-1px);
  box-shadow: 0 10px 26px rgba(41, 37, 34, .22);
}
.btn--primary:active, .btn--soon:active { transform: translateY(0); box-shadow: var(--shadow-btn); }
.btn:focus-visible { outline: 2px solid var(--charcoal); outline-offset: 3px; }
.btn .dots i { background: currentColor; opacity: .55; }

/* --- the only icons on the site: PDF, download, one-time purchase -------- */
.ico {
  width: 1.05em; height: 1.05em; flex: 0 0 auto;
  fill: none; stroke: currentColor; stroke-width: 1.35;
  stroke-linecap: round; stroke-linejoin: round;
}
.ico circle { fill: currentColor; stroke: none; }

.specs {
  display: flex; flex-wrap: wrap; gap: .55rem 1.5rem;
  font-family: var(--sans); font-weight: 500; font-size: .8rem;
  letter-spacing: .04em; color: var(--muted);
}
.specs li { display: inline-flex; align-items: center; gap: .5em; }

.microcopy {
  font-family: var(--sans); font-weight: 500; font-size: .8rem;
  letter-spacing: .05em; color: var(--muted);
}
.notify { font-size: .875rem; color: var(--muted); }

/* --- Masthead ----------------------------------------------------------- */
.masthead { position: relative; z-index: 1; padding-block: clamp(1.5rem, 4vw, 2rem); }
.masthead__mark {
  font-family: var(--serif); font-weight: 600;
  /* quiet but confident: 24px on a phone, ~29px on a desktop */
  font-size: clamp(1.5rem, .55vw + 1.34rem, 1.85rem);
  letter-spacing: -.012em; color: var(--ink); line-height: 1;
  display: inline-block;
}

/* ==========================================================================
   1 — HERO  ·  atmosphere
   ========================================================================== */
.hero { padding-block: clamp(1.5rem, 5vw, 3rem) 0; }

/* the second hero moment: the product explained, then the action */
.intro { padding-block: clamp(1.75rem, 5vw, 2.5rem) clamp(2.5rem, 6vw, 4.5rem); }
.intro__inner { display: grid; gap: clamp(1.4rem, 4vw, 1.9rem); }
.intro__lead { max-width: 34ch; }

.hero__grid { display: grid; gap: clamp(1.75rem, 5vw, 3rem); }
.hero__eyebrow { display: block; margin-bottom: clamp(1.1rem, 4vw, 1.75rem); }

/* the emotionally specific hook — the largest thing on the page */
.hook {
  font-family: var(--serif); font-weight: 500; color: var(--ink);
  font-size: clamp(1.95rem, 5.4vw + .45rem, 3.5rem);
  line-height: 1.13; letter-spacing: -.018em; text-wrap: balance;
  max-width: 22ch;
}
.hook em { font-style: normal; display: block; }
.hero__dots { display: flex; margin: clamp(1rem, 3.5vw, 1.5rem) 0 0; }

/* the book, resting on the page */
/* sized so the whole cover — title and subtitle — lands inside the first
   screen on a 390 × 844 phone, right after the recognition lines */
.hero__book { justify-self: center; width: min(50vw, 12.5rem); position: relative; }
.hero__book::before {                       /* a little warm light beneath it */
  content: ''; position: absolute; inset: -14% -18% -20%; z-index: -1;
  background: radial-gradient(58% 52% at 50% 56%, rgba(247, 231, 221, .85) 0%, rgba(247,231,221,0) 70%);
}
.book {
  position: relative; background: var(--white);
  border: 1px solid rgba(205, 188, 175, .5);
  box-shadow: var(--shadow-book);
}
.hero__cover .book { animation: float 12s ease-in-out infinite alternate; }
@keyframes float { from { transform: translateY(0); } to { transform: translateY(-8px); } }

/* the interior page behind the cover exists only in the desktop composition */
.hero__leaf { display: none; }

/* recognition — five short lines, paced like the book's own rhythm */
.recognition { font-size: clamp(1.1rem, 1.3vw + .92rem, 1.35rem); line-height: 1.5; }
.recognition li { color: var(--ink); }
.recognition li + li { margin-top: .3em; }

.cue { display: flex; flex-direction: column; align-items: center; gap: .7rem;
       margin-top: clamp(2rem, 6vw, 3.25rem); }
.cue__line { width: 1px; height: 2.75rem; background: linear-gradient(var(--rule), transparent); }

@media (min-width: 56rem) {
  .hero__grid {
    grid-template-columns: minmax(0, 1.16fr) minmax(0, .84fr);
    column-gap: clamp(2rem, 5vw, 4rem);
    row-gap: clamp(1.75rem, 4vw, 2.5rem);
    align-items: center;
  }
  .hero__head  { grid-column: 1; grid-row: 1; }
  .hero__rest  { grid-column: 1; grid-row: 2; }
  .hero__book  { grid-column: 2; grid-row: 1 / span 2; justify-self: end;
                 align-self: center; width: min(24vw, 16.5rem); }
}

/* ==========================================================================
   2 — THE MOMENT  ·  clean cream
   ========================================================================== */
.moment { padding-top: clamp(3.5rem, 8vw, 7rem); }
.moment__inner { display: grid; gap: clamp(1.6rem, 4.5vw, 2.25rem); max-width: 44rem; }
.moment__open {
  font-family: var(--serif); font-size: clamp(1.35rem, 1.6vw + 1rem, 1.75rem);
  line-height: 1.4; color: var(--ink); max-width: 30ch;
}

/* ==========================================================================
   3 — THE TURN  ·  the one warm-charcoal section
   ========================================================================== */
.turn {
  background: var(--charcoal);
  color: var(--on-dark-dim);
  padding-block: clamp(5rem, 15vw, 9.5rem);
  overflow: hidden;
}
.turn::before {                              /* depth, not texture */
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(64% 56% at 20% 16%, rgba(122, 105, 92, .22) 0%, rgba(122,105,92,0) 68%),
    radial-gradient(52% 62% at 90% 82%, rgba(122, 105, 92, .15) 0%, rgba(122,105,92,0) 70%);
}
/* 44rem, not 40rem: the wrap's own padding is inside this box, and the lead
   line needs 586px of text width to stay at two lines */
.turn__inner { position: relative; max-width: 44rem; }
h2.turn__lead {
  color: var(--on-dark);
  font-size: clamp(1.95rem, 4.4vw + .5rem, 3.1rem);
  margin-top: clamp(1.5rem, 4vw, 2rem);
  max-width: 26ch;
  /* balance splits this into three uneven lines; pretty keeps it to two */
  text-wrap: pretty;
}
.turn__body {
  margin-top: clamp(1.5rem, 4vw, 2rem);
  max-width: 36ch; color: var(--on-dark-dim);
}
.turn__begins {
  margin-top: clamp(1.75rem, 5vw, 2.5rem);
  font-family: var(--serif); font-size: clamp(1.2rem, 1.4vw + .9rem, 1.55rem);
  color: var(--on-dark); letter-spacing: -.005em;
}
.turn__quote { margin-top: clamp(2.5rem, 7vw, 3.5rem); max-width: 34ch; }
.turn__quote .rule { margin-bottom: clamp(1.25rem, 3.5vw, 1.75rem); }
.turn__quote p {
  font-style: italic; font-size: 1.0625rem; line-height: 1.65; color: var(--on-dark-dim);
}
.turn__from { display: block; margin-top: .9rem; color: var(--on-dark-soft); }

/* ==========================================================================
   4 — WHAT CHANGES  ·  clean cream
   ========================================================================== */
.movements__head { max-width: 34rem; margin-bottom: clamp(2.75rem, 7vw, 4.25rem); }

.path { position: relative; display: grid; gap: clamp(2.75rem, 7vw, 4rem);
        padding-left: clamp(1.75rem, 5vw, 2.5rem); max-width: 44rem; }
.path::before {
  content: ''; position: absolute; left: 3px; top: .55em; bottom: .55em;
  width: 1px; background: var(--rule);
}
.path::after {                       /* progress line, scaled by JS */
  content: ''; position: absolute; left: 3px; top: .55em; bottom: .55em;
  width: 1px; background: var(--mauve-soft); opacity: .5;
  transform: scaleY(var(--progress, 1)); transform-origin: top;
}
.move { position: relative; }
.move::before {
  content: ''; position: absolute; left: calc(-1 * clamp(1.75rem, 5vw, 2.5rem));
  top: .5em; width: 7px; height: 7px; border-radius: 50%;
  background: var(--cream); border: 1px solid var(--mauve-soft);
}
.move__no {
  font-family: var(--sans); font-weight: 600; font-size: .7rem; letter-spacing: .18em;
  color: var(--muted); display: block; margin-bottom: .7rem;
}
.move h3 { margin-bottom: .6rem; }
.move p { max-width: 33ch; }

/* ==========================================================================
   5 — THE PAUSE  ·  atmosphere returns
   ========================================================================== */
.pause { overflow: hidden; }
.pause__head { max-width: 34rem; }
.pause__intro { margin-top: 1.5rem; }

.questions { margin-block: clamp(2.75rem, 8vw, 4.25rem); max-width: 40rem; }
.questions li { border-top: 1px solid var(--rule); padding-block: clamp(1.5rem, 4.5vw, 2.25rem); }
.questions li:last-child { border-bottom: 1px solid var(--rule); }
.questions q {
  font-family: var(--serif); font-weight: 500; color: var(--ink);
  font-size: clamp(1.45rem, 3vw + .7rem, 2.15rem); line-height: 1.24;
  display: block; quotes: none;
}
.questions .move__no { margin-bottom: .85rem; }
.pause__after { max-width: 36ch; }

/* ==========================================================================
   6 — INSIDE THE BOOK  ·  the one white section
   ========================================================================== */
.inside { background: var(--white); overflow: hidden; }
.inside__head { max-width: 36rem; }
.inside__head h2 + .body { margin-top: clamp(1.25rem, 3.5vw, 1.75rem); }
.inside__spec { margin-top: 1.75rem; display: flex; align-items: center; gap: .9rem; }

.rail {
  display: flex; gap: clamp(1rem, 3vw, 1.75rem);
  margin-top: clamp(2.75rem, 7vw, 3.75rem);
  padding: .5rem var(--gutter) 2rem;
  margin-inline: calc(-1 * var(--gutter));
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: center; flex: 0 0 auto; }

.card {
  width: min(60vw, 13.5rem); text-align: left; cursor: zoom-in;
  display: flex; flex-direction: column; gap: .9rem;
  transition: transform .4s var(--ease);
}
.card:hover { transform: translateY(-4px); }
.card__figure { position: relative; }
.card .book { transition: box-shadow .4s var(--ease); }
.card:hover .book { box-shadow: var(--shadow-book), 0 0 0 1px rgba(120, 119, 129, .22); }
.card__label {
  font-family: var(--sans); font-weight: 600; font-size: .68rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--muted);
}
.card__name { font-size: .9rem; line-height: 1.45; color: var(--ink-body); }

.rail-hint { display: flex; align-items: center; gap: .6rem; }

/* lightbox */
dialog.zoom {
  border: 0; padding: 0; background: transparent; max-width: min(92vw, 40rem);
  max-height: 92vh; color: var(--ink-body);
}
dialog.zoom::backdrop { background: rgba(30, 24, 20, .6); backdrop-filter: blur(3px); }
.zoom__inner { display: grid; gap: 1rem; }
.zoom img { box-shadow: var(--shadow-book); background: var(--white); max-height: 76vh;
            width: auto; margin-inline: auto; }
.zoom__bar { display: flex; justify-content: space-between; align-items: center; gap: 1rem;
             color: var(--cream); font-family: var(--sans); font-size: .8rem;
             letter-spacing: .04em; }
.zoom__close { padding: .5rem .9rem; border: 1px solid rgba(251, 247, 243, .45);
               border-radius: 4px; cursor: pointer; }
.zoom__close:hover { background: rgba(251, 247, 243, .12); }

/* ==========================================================================
   7 — WHO IT IS FOR  ·  clean cream
   ========================================================================== */
.fit__grid { display: grid; gap: clamp(3.25rem, 9vw, 4.5rem); }
@media (min-width: 58rem) {
  .fit__grid { grid-template-columns: 1fr 1fr; gap: clamp(3rem, 6vw, 5rem); align-items: start; }
}
.maybe { margin-top: clamp(1.75rem, 4.5vw, 2.25rem); max-width: 34rem; }
.maybe li {
  display: grid; grid-template-columns: auto 1fr; gap: .95rem;
  padding-block: 1.1rem; border-top: 1px solid var(--rule-soft);
  font-size: 1.0625rem; line-height: 1.6;
}
.maybe li:last-child { border-bottom: 1px solid var(--rule-soft); }
.maybe .dots { align-self: start; padding-top: .62em; }
.maybe .dots i { width: 5px; height: 5px; }

.wont__body { margin-top: clamp(1.5rem, 4vw, 2rem); max-width: 36ch; }

/* ==========================================================================
   7b — SCOPE AND SAFETY, centred and full width. Responsible, not alarmist:
   a warm bounded panel on the page's own base colour.
   ========================================================================== */
.scope-note__inner {
  max-width: 52rem;                /* ~832px */
  margin-inline: auto;
  padding: clamp(1.6rem, 5vw, 2.5rem) clamp(1.4rem, 4.5vw, 2.5rem);
  background: var(--tint);
  border: 1px solid var(--rule);
  border-radius: 3px;
}
.scope-note__title {
  font-family: var(--sans); font-weight: 600; font-size: .78rem; letter-spacing: .15em;
  text-transform: uppercase; color: var(--ink); line-height: 1.4;
  text-align: center; margin-bottom: clamp(1.1rem, 3vw, 1.5rem);
}
.scope-note p { font-size: 1rem; line-height: 1.7; color: var(--ink-body); }
.scope-note p + p { margin-top: 1rem; }
.scope-note__more {
  margin-top: clamp(1.25rem, 3vw, 1.6rem); text-align: center;
  font-family: var(--sans); font-weight: 600; font-size: .8rem; letter-spacing: .03em;
}

/* ==========================================================================
   8 — THE CLOSE  ·  subtle atmosphere, the exhale
   ========================================================================== */
.close { overflow: hidden; text-align: center; padding-block: clamp(4.5rem, 14vw, 8.5rem); }
.close__inner { position: relative; display: grid; justify-items: center;
                gap: clamp(1.6rem, 4.5vw, 2.25rem); }
.close h2 { max-width: 28ch; }
.close__body { max-width: 34ch; text-align: center; text-wrap: balance; }
.close__body p + p { margin-top: 1.25em; }
.close .cta-group { margin-top: clamp(.5rem, 2.5vw, 1.25rem); }

/* ==========================================================================
   FLOATING CTA
   ========================================================================== */
.bar {
  position: fixed; z-index: 40; left: 0; right: 0; bottom: 0;
  padding: .8rem var(--gutter) calc(.8rem + env(safe-area-inset-bottom));
  background: rgba(251, 247, 243, .94);
  backdrop-filter: blur(12px) saturate(1.1);
  border-top: 1px solid var(--rule);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  transform: translateY(110%); opacity: 0; visibility: hidden;
  transition: transform .55s var(--ease), opacity .4s var(--ease), visibility .55s;
}
.bar.is-on { transform: none; opacity: 1; visibility: visible; }
.bar__text { display: grid; }
.bar__title { font-family: var(--serif); font-size: 1.0625rem; color: var(--ink); line-height: 1.2; }
.bar__spec { font-family: var(--sans); font-size: .72rem; letter-spacing: .05em; color: var(--muted); }
.bar .btn { min-height: 2.875rem; padding: .65rem 1.35rem; font-size: .875rem; flex: 0 0 auto; }
@media (min-width: 48rem) {
  .bar {
    left: auto; right: 1.75rem; bottom: 1.75rem; border-radius: 7px;
    border: 1px solid var(--rule); padding: .8rem .8rem .8rem 1.7rem;
    box-shadow: 0 12px 42px rgba(74, 55, 44, .14);
    transform: translateY(160%);
  }
  /* ~12% more presence on a desktop canvas; the mobile bar is unchanged */
  .bar .btn { min-height: 3.25rem; padding: .8rem 1.55rem; font-size: .9375rem; }
  .bar__title { font-size: 1.175rem; }
  .bar__spec { font-size: .78rem; }
}
@media (max-width: 24rem) {
  .bar__text { display: none; }
  .bar { justify-content: center; }
  .bar .btn { width: 100%; }
}

/* ==========================================================================
   FOOTER + inner pages
   ========================================================================== */
.foot { border-top: 1px solid var(--rule);
        padding-block: clamp(2.75rem, 7vw, 4rem) clamp(2.25rem, 5vw, 3rem); }
.foot__grid { display: grid; gap: 2.25rem; }
.foot__mark { font-family: var(--serif); font-size: 1.4rem; color: var(--ink); line-height: 1; }
.foot__scope { max-width: 52ch; font-size: .875rem; line-height: 1.65; color: var(--muted); }
.foot__links { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem;
               font-family: var(--sans); font-size: .8rem; font-weight: 500; letter-spacing: .02em; }
.foot__links a { text-decoration: none; color: var(--muted); }
.foot__links a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: .25em; }
.foot__meta { font-size: .8rem; color: var(--muted); }
@media (min-width: 48rem) {
  .foot__grid { grid-template-columns: 1fr auto; align-items: start; }
  .foot__side { text-align: right; }
  .foot__links { justify-content: flex-end; }
}

/* simple document pages (scope / privacy / terms / get) */
.topbar { padding-block: clamp(1.35rem, 3.5vw, 1.9rem); border-bottom: 1px solid var(--rule-soft); }
.topbar__inner { display: flex; flex-wrap: wrap; align-items: baseline;
                 justify-content: space-between; gap: .6rem 1.5rem; }
.topbar__mark { font-family: var(--serif); font-weight: 600; text-decoration: none; color: var(--ink);
                font-size: clamp(1.5rem, .55vw + 1.34rem, 1.85rem); letter-spacing: -.012em; }
.topbar__back {
  display: inline-flex; align-items: center; gap: .5em; text-decoration: none;
  font-family: var(--sans); font-weight: 600; font-size: .8rem; letter-spacing: .05em;
  color: var(--muted); transition: color .3s var(--ease);
}
.topbar__back:hover { color: var(--ink); }
.topbar__back:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; border-radius: 2px; }
.topbar__arrow { font-size: 1.15em; line-height: 1; }
.doc { padding-block: clamp(3rem, 9vw, 5rem) var(--breath); }
/* the document column sits centred in the viewport rather than hugging the
   left edge of a 68rem wrap — one column, ~784px of text */
.doc > .wrap { max-width: 54rem; }
.doc__head { max-width: 34rem; margin-bottom: clamp(2.5rem, 7vw, 3.5rem); }
.doc__head .eyebrow { display: block; margin-bottom: 1.1rem; }
.prose { max-width: 100%; }
.prose h2 { font-family: var(--serif); font-weight: 500; color: var(--ink);
            font-size: clamp(1.25rem, 1.6vw + .85rem, 1.55rem); line-height: 1.28;
            margin-top: 2.75rem; margin-bottom: .9rem; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { font-size: 1.0625rem; line-height: 1.75; }
.prose p + p, .prose ul + p { margin-top: 1.2em; }
.prose ul { margin-top: 1.2em; display: grid; gap: .7em; }
.prose ul li { position: relative; padding-left: 1.5rem; }
.prose ul li::before { content: ''; position: absolute; left: 0; top: .72em;
                       width: 5px; height: 5px; border-radius: 50%; background: var(--dot); }
.prose strong { font-weight: 600; color: var(--ink); }
.callout { margin-top: 2rem; padding: clamp(1.25rem, 4vw, 1.75rem);
           background: var(--tint); border-left: 2px solid var(--mauve-soft); border-radius: 2px; }
.callout p { font-size: 1rem; }

.soon { min-height: 62vh; display: grid; align-content: center; }
.soon__inner { display: grid; gap: 1.75rem; max-width: 34rem; }

/* ==========================================================================
   DESKTOP COMPOSITION  ·  ≥ 62rem (992px)
   The mobile composition is approved and must not drift, so every rule that
   changes layout on a large canvas lives in this one block. The wrappers it
   relies on (.moment__head / .moment__text) are display:contents below this
   width, which keeps the mobile grid byte-for-byte identical.
   ========================================================================== */
.moment__head, .moment__text { display: contents; }

@media (min-width: 62rem) {

  /* --- 1 · HERO: the product side as a composed reading object -----------
     The cover in front, two real interior pages resting behind it. Flat
     sheets, slight rotation, restrained shadows — a digital reading object,
     not a hardcover mockup. The outermost sheet aligns with the content edge
     and the cover sits inboard of it, so the group stays inside the grid. */
  .hero { padding-top: 2rem; }
  .hero__eyebrow { margin-bottom: 1.25rem; }
  .hero__grid { row-gap: 2rem; }

  /* Each sheet is exposed far enough that part of its text block shows — the
     right edge of a book page is all margin, so a narrow sliver would read as
     a blank card rather than a real page. */
  /* the right column carries more weight now, and the sheets keep a clear
     gutter from the hook. The far leaf stops 8px short of the content edge so
     that its 2.8deg rotation lands the corner exactly on the grid line. */
  .hero__grid { grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr); }
  .hero__book { width: min(23vw, 17rem); margin-right: 10.5rem; }
  .hero__stack { position: relative; }
  .hero__cover { position: relative; z-index: 2; display: block; }
  .hero__leaf { display: block; position: absolute; }
  .hero__leaf .book {
    box-shadow: 0 1px 3px rgba(74, 55, 44, .05), 0 8px 22px rgba(74, 55, 44, .08);
    border-color: rgba(216, 203, 191, .55);
  }
  .hero__leaf--near { z-index: 1; width: 78%; top: -6%;   right: -6.5rem;
                      transform: rotate(-2deg); }
  .hero__leaf--far  { z-index: 0; width: 70%; top:  5.5%; right: -10rem;
                      transform: rotate(2.8deg); }

  /* --- 1b · the second hero moment, centred ----------------------------- */
  .intro { padding-block: clamp(2.25rem, 5vw, 3.25rem) clamp(2.5rem, 6vw, 4.5rem); }
  .intro__inner { justify-items: center; text-align: center; }
  .intro__lead {
    max-width: 46ch; margin-inline: auto;
    font-size: clamp(1.1875rem, .5vw + 1.05rem, 1.3rem); line-height: 1.62;
  }
  .intro__cta { align-items: center; }
  .specs { justify-content: center; }
  .cue { margin-top: clamp(.75rem, 2vw, 1.25rem); }
  .cue__line { height: 2.25rem; }

  /* --- 2 · THE MOMENT: heading beside the text -------------------------- */
  .moment__head, .moment__text { display: block; }
  .moment__inner {
    grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
    column-gap: clamp(2.5rem, 5vw, 4.5rem);
    max-width: none; align-items: start;
  }
  .moment__head h2 { margin-top: clamp(1.5rem, 3vw, 2rem); max-width: 19ch; }
  .moment__open { max-width: 30ch; }
  .moment__text .body { max-width: 38ch; margin-top: clamp(1.5rem, 3vw, 2rem); }

  /* --- 3 · WHAT CHANGES: heading holds the left column while you read --- */
  .movements__grid {
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
    column-gap: clamp(3rem, 6vw, 5.5rem);
    align-items: start;
  }
  /* no ch-based max-width here: ch is measured in this box's own sans font,
     which would squeeze the 49px serif heading into a stack of fragments */
  .movements__head {
    position: sticky; top: clamp(5rem, 18vh, 9rem);
    margin-bottom: 0; max-width: none;
  }
  .path { max-width: none; }
  .move h3 { max-width: 24ch; }
  .move p { max-width: 40ch; }

  /* --- 4 · BEFORE THE NEXT CONVERSATION: intro left, questions right ---- */
  .pause__grid {
    display: grid;
    grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
    column-gap: clamp(3rem, 6vw, 5.5rem);
    align-items: start;
  }
  .pause__head  { grid-column: 1; grid-row: 1; max-width: none; }
  .pause__after { grid-column: 1; grid-row: 2; max-width: 34ch;
                  margin-top: clamp(1.75rem, 3.5vw, 2.5rem); }
  .questions    { grid-column: 2; grid-row: 1 / span 2; margin-block: 0; max-width: none; }
  .questions li { padding-block: clamp(1.9rem, 3vw, 2.6rem); }
  .questions q  { font-size: clamp(1.9rem, 1.9vw + 1.1rem, 2.5rem); }

  /* --- 5 · INSIDE THE BOOK: split head, and pages worth looking at ------ */
  .inside__head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: clamp(2.5rem, 5vw, 4.5rem);
    max-width: none; align-items: start;
  }
  .inside__head > .eyebrow { grid-column: 1; grid-row: 1; }
  .inside__head > h2       { grid-column: 1; grid-row: 2; max-width: 14ch; }
  .inside__head > .body    { grid-column: 2; grid-row: 1 / span 2;
                             max-width: 40ch; margin-top: 0; }
  .inside__head > .inside__spec { grid-column: 2; grid-row: 3;
                                  margin-top: clamp(1.25rem, 2.5vw, 1.75rem); }
  .inside__rail { max-width: 84rem; }
  .inside .rail { gap: clamp(1.5rem, 2.4vw, 2.25rem); margin-top: clamp(2.75rem, 5.5vw, 3.75rem); }
  .inside .card { width: min(19vw, 17.5rem); }
  .inside .card__label { font-size: .7rem; }
  .inside .card__name  { font-size: .95rem; }
}

/* ==========================================================================
   REVEAL — one mechanism, gated so no-JS and old browsers keep the content
   ========================================================================== */
@media (scripting: enabled) {
  .reveal { opacity: 0; transform: translateY(14px); }
  .reveal.is-in {
    opacity: 1; transform: none;
    transition: opacity .9s var(--ease) var(--delay, 0s),
                transform .9s var(--ease) var(--delay, 0s);
  }
  .stagger > * { opacity: 0; animation: rise .95s var(--ease) forwards paused; }
  .stagger.is-in > * { animation-play-state: running; }
  .stagger > *:nth-child(1) { animation-delay: .15s; }
  .stagger > *:nth-child(2) { animation-delay: .32s; }
  .stagger > *:nth-child(3) { animation-delay: .49s; }
  .stagger > *:nth-child(4) { animation-delay: .66s; }
  .stagger > *:nth-child(5) { animation-delay: .83s; }
  .stagger > *:nth-child(6) { animation-delay: 1.05s; }
}
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

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

/* ==========================================================================
   OPENING THE CHECKOUT — the one moment the page has to hold on its own.

   Lemon.js puts `lemonsqueezy-loading` on <body> synchronously on click and
   takes it off when the checkout reports `mounted`, so this arrives in the
   same frame as the click and leaves by itself. Nothing here is scripted.

   Lemon ships its own loader, but styles it with inline CSS that style-src
   'self' blocks by design, so it renders at zero height. This says the same
   thing in the page's own voice, out of our own stylesheet.

   Both layers are position:fixed and pointer-events:none: nothing in the
   document moves, and nothing here can intercept a click. They sit just
   under Lemon's iframe (2147483647) so the checkout always covers them.
   ========================================================================== */
.lemonsqueezy-loader { display: none; }   /* theirs — never two at once */

body.lemonsqueezy-loading::before,
body.lemonsqueezy-loading::after {
  position: fixed;
  pointer-events: none;
}

/* the page recedes; it does not go dark */
body.lemonsqueezy-loading::before {
  content: "";
  inset: 0;
  background: var(--cream);
  opacity: .94;
  z-index: 2147483640;
  animation: ls-veil .5s var(--ease);
}

/* the two dots of the page, over one quiet line */
body.lemonsqueezy-loading::after {
  content: "Opening secure checkout\2026";
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 2147483641;
  padding-top: 1.75rem;
  font-family: var(--sans);
  font-weight: 500;
  font-size: .8rem;
  letter-spacing: .05em;
  color: var(--muted);
  white-space: nowrap;
  background-image:
    radial-gradient(circle, var(--dot) 48%, transparent 52%),
    radial-gradient(circle, var(--dot) 48%, transparent 52%);
  background-repeat: no-repeat;
  background-position: calc(50% - 7px) 0, calc(50% + 7px) 0;
  background-size: 6px 6px, 6px 6px;
  animation: ls-rise .5s var(--ease), ls-breathe 5.5s var(--ease) infinite;
}

/* `from` only: each animation resolves to the declared value above, so when
   reduced motion collapses it to .001ms the veil and the line simply exist. */
@keyframes ls-veil { from { opacity: 0; } }
@keyframes ls-rise {
  from { opacity: 0; transform: translate(-50%, calc(-50% + 5px)); }
}
@keyframes ls-breathe {
  0%, 100% { background-size: 5px 5px, 7px 7px; }
  50%      { background-size: 7px 7px, 5px 5px; }
}

/* ==========================================================================
   REDUCED MOTION — nothing moves, nothing is lost
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal, .stagger > * { opacity: 1 !important; transform: none !important; }
  .path::after { transform: none !important; }
  .bar { transition: none; }
}

@media print {
  .bar, .cue, .rail-hint { display: none; }
  body { background: #fff; }
  .turn { background: #fff; color: #000; }
}
