/* AdvisorLab brochure - dark editorial. One accent (AdvisorLab gold),
   a display serif, an ivory page-in-the-dark. Transforms only in motion. */

:root {
  --ink: #0a0a0c;
  --ink-2: #131317;
  --ink-3: #1c1c22;
  --line: rgba(242, 236, 223, 0.12);
  --paper: #f2ecdf;
  --paper-2: #cfc8b8;
  --muted: #8f8a7e;
  --gold: #c9a227;
  --gold-2: #e5c65a;
  --serif: "Cormorant Garamond", "Times New Roman", Georgia, serif;
  --sans: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --rail-w: 56px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
/* no scrollbar anywhere (14-Oct, Savio): the deck hides it while it holds the screen, so the page
   above and below showed one and the deck didn't - and the width jumped at each hand-off. The page
   still scrolls by wheel, trackpad, touch and keys; only the bar is gone */
html { scrollbar-width: none; -ms-overflow-style: none; }
html::-webkit-scrollbar, body::-webkit-scrollbar { display: none; width: 0; height: 0; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--ink); color: var(--paper);
  font: 16px/1.55 var(--sans); -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img, video { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
.kicker {
  font: 500 12px/1 var(--sans); letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold); margin: 0 0 18px;
}
.lede { font-size: 19px; line-height: 1.6; color: var(--paper-2); max-width: 62ch; }
.fine { font-size: 12.5px; color: var(--muted); }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; letter-spacing: -0.01em; margin: 0; }

#grain {
  position: fixed; inset: -50%; pointer-events: none; z-index: 60; opacity: .05;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
@keyframes grain { 0%{transform:translate(0,0)} 50%{transform:translate(-3%,2%)} 100%{transform:translate(2%,-3%)} }
@media (prefers-reduced-motion: reduce) { #grain { animation: none; } }

/* ---------------------------------------------------------------- header */
#top {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 28px;
}
/* 17-Oct (Savio, 16" Mac check): the bar was see-through, so the library tiles and
   headings scrolled BEHIND the wordmark and the links in both themes. A veil of the
   page's own colour (invisible over an empty top) with a soft blur, fading out over its
   last 28px so it never draws a hard line across the hero field; a layer of its own so
   the fade never catches a click meant for the page under it */
#top::before {
  content: ""; position: absolute; inset: 0 0 -28px 0; z-index: -1; pointer-events: none;
  background: var(--ink); background: color-mix(in srgb, var(--ink) 84%, transparent);
  -webkit-backdrop-filter: saturate(1.3) blur(14px); backdrop-filter: saturate(1.3) blur(14px);
  -webkit-mask-image: linear-gradient(to bottom, #000 62%, transparent);
  mask-image: linear-gradient(to bottom, #000 62%, transparent);
}
.wordmark { font-family: var(--serif); font-size: 24px; letter-spacing: .01em; }
.wordmark .wm-b { color: var(--gold); font-style: italic; }
.wordmark em { font: 400 12px var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-left: 12px; font-style: normal; }
#topnav { display: flex; gap: 22px; font-size: 13px; letter-spacing: .06em; }
#topnav a { opacity: .75; } #topnav a:hover { opacity: 1; }
#topnav .pill { border: 1px solid currentColor; border-radius: 999px; padding: 7px 14px; opacity: 1; }
@media (max-width: 720px) { #topnav a:not(.pill) { display: none; } .wordmark em { display: none; } }

/* ------------------------------------------------------------------ hero */
#hero {
  position: relative; min-height: 100vh; display: grid; place-items: center;
  padding: 120px 28px 90px; overflow: hidden; isolation: isolate;
}
#mosaic {
  position: absolute; inset: -10% -10% -10% -10%; z-index: -1; opacity: .16;
  display: grid; grid-template-columns: repeat(10, 1fr); gap: 6px;
  transform: rotate(-6deg) scale(1.12);
  mask-image: radial-gradient(ellipse at center, #000 20%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 20%, transparent 72%);
  animation: drift 90s linear infinite alternate;
}
@keyframes drift { from { transform: rotate(-6deg) scale(1.12) translateY(-2%); } to { transform: rotate(-6deg) scale(1.12) translateY(2%); } }
@media (prefers-reduced-motion: reduce) { #mosaic { animation: none; } }
#mosaic:not(.wall) img { width: 100%; aspect-ratio: 1; object-fit: cover; filter: saturate(.7); }
.hero-inner { text-align: center; max-width: 900px; }
#hero-line { font-size: clamp(44px, 8vw, 104px); line-height: .98; font-weight: 400; }
#hero-line i { font-style: italic; color: var(--gold-2); }
#hero .lede { margin: 26px auto 0; }
#stats { list-style: none; margin: 56px 0 0; padding: 0; display: flex; justify-content: center; gap: clamp(22px, 5vw, 64px); flex-wrap: wrap; }
#stats li { text-align: center; }
#stats b { display: block; font: 500 clamp(34px, 5vw, 56px)/1 var(--serif); color: var(--paper); font-variant-numeric: tabular-nums; }
#stats span { display: block; margin-top: 8px; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
/* 17-Oct: centred by margins, not translateX - the reveal's `transform: none` wiped the
   translate, so the hint started AT the centre and sat off to the right */
.scroll-hint { position: absolute; bottom: 28px; left: 0; right: 0; width: max-content; margin-inline: auto; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); display: grid; justify-items: center; gap: 12px; }
.scroll-hint i { width: 1px; height: 46px; background: linear-gradient(var(--gold), transparent); animation: hint 2.2s ease-in-out infinite; }
/* 17-Oct: on a 16" Mac in a browser window (~1000px tall) the hint reached up into the
   stats - shorter line, lower, clear of the hero's 90px bottom padding */
@media (max-height: 1060px) { .scroll-hint { bottom: 16px; gap: 10px; } .scroll-hint i { height: 30px; } }
@keyframes hint { 0%,100%{transform:scaleY(.4);transform-origin:top;opacity:.4} 50%{transform:scaleY(1);opacity:1} }

/* ---------------------------------------------------------------- motion */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s cubic-bezier(.2,.7,.2,1) var(--d, 0ms), transform .9s cubic-bezier(.2,.7,.2,1) var(--d, 0ms); }
.reveal.in { opacity: 1; transform: none; }
.kicker { position: relative; }
.kicker.reveal::before, #hero-kicker::before { content: ""; display: inline-block; vertical-align: middle; width: 0; height: 1px; background: var(--gold); margin-right: 0; transition: width .8s cubic-bezier(.2,.7,.2,1) calc(var(--d, 0ms) + 200ms), margin .8s cubic-bezier(.2,.7,.2,1) calc(var(--d, 0ms) + 200ms); }
.kicker.reveal.in::before, body.ready #hero-kicker::before { width: 28px; margin-right: 12px; }
#hero-line .w { display: inline-block; opacity: 0; transform: translateY(.45em) rotate(1.5deg); transition: opacity .9s cubic-bezier(.2,.7,.2,1) var(--d), transform .9s cubic-bezier(.2,.7,.2,1) var(--d); }
body.ready #hero-line .w { opacity: 1; transform: none; }
#hero .lede, #stats, .scroll-hint { opacity: 0; transform: translateY(18px); transition: opacity 1s ease 700ms, transform 1s ease 700ms; }
#stats { transition-delay: 950ms; } .scroll-hint { transition-delay: 1400ms; }
body.ready #hero .lede, body.ready #stats, body.ready .scroll-hint { opacity: 1; transform: none; }
#aurora { position: absolute; inset: 0; z-index: -2; overflow: hidden; pointer-events: none; }
#aurora::before, #aurora::after { content: ""; position: absolute; width: 60vw; height: 60vw; border-radius: 50%; filter: blur(80px); opacity: .18; will-change: transform; }
#aurora::before { background: radial-gradient(circle, #c9a227, transparent 60%); left: -10vw; top: -10vw; animation: aur1 22s ease-in-out infinite alternate; }
#aurora::after { background: radial-gradient(circle, #3b4a7a, transparent 60%); right: -15vw; bottom: -20vw; animation: aur2 26s ease-in-out infinite alternate; }
@keyframes aur1 { from { transform: translate(0,0) scale(1); } to { transform: translate(18vw, 12vh) scale(1.15); } }
@keyframes aur2 { from { transform: translate(0,0) scale(1.1); } to { transform: translate(-16vw, -14vh) scale(.95); } }
.stage.rest .info > * { animation: rise .8s cubic-bezier(.2,.7,.2,1) both; }
.stage.rest .info > :nth-child(2) { animation-delay: 60ms; } .stage.rest .info > :nth-child(3) { animation-delay: 120ms; }
.stage.rest .info > :nth-child(4) { animation-delay: 180ms; } .stage.rest .info > :nth-child(5) { animation-delay: 240ms; }
.stage.rest .info > :nth-child(6) { animation-delay: 300ms; } .stage.rest .info > :nth-child(7) { animation-delay: 360ms; } .stage.rest .info > :nth-child(8) { animation-delay: 420ms; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.stage.rest .pic { transition: transform .35s ease, box-shadow .35s ease; }
.stage.rest .pic img, .stage.rest .pic video { animation: breathe 22s ease-in-out infinite alternate; }   /* a still hero reads as a thumbnail; a breathing one reads as footage */
@keyframes breathe { from { transform: scale(1); } to { transform: scale(1.035); } }
.tilting { transition: transform .12s ease-out !important; }
.yn-card { transition: transform .35s ease; transform-style: preserve-3d; }
@media (prefers-reduced-motion: reduce) {
  .reveal, #hero-line .w, #hero .lede, #stats, .scroll-hint { opacity: 1; transform: none; transition: none; }
  .stage.rest .info > * { animation: none; } #aurora::before, #aurora::after { animation: none; } .stage.rest .pic img, .stage.rest .pic video, .gal-frame .poster, .gal-frame.near .mat::before { animation: none; }
}

/* ----------------------------------------------------------------- chain */
#chain { position: relative; background: var(--ink); }   /* one screen tall; the deck plays over it */
#stages { position: fixed; inset: 0; pointer-events: none; z-index: 10; }
#stages.off { display: none; }
.stage {
  position: absolute; inset: 0; visibility: hidden; pointer-events: none;   /* hidden by visibility, not display: a sheet toggling display:none re-created its layer and showed one blank frame */
  background: var(--ink);
}
.stage.live { visibility: visible; will-change: opacity; contain: layout paint; }
.stage.live .bg { will-change: transform; }
.stage.live .zoom, .stage.live .info, .stage.live .strip { backface-visibility: hidden; }
.stage .bg {
  position: absolute; inset: -12%; opacity: .13; z-index: 0;
  display: grid; grid-template-columns: repeat(10, 1fr); gap: 6px;
  transform: rotate(-6deg) scale(1.12);
  mask-image: radial-gradient(ellipse at 62% 50%, #000 15%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 62% 50%, #000 15%, transparent 70%);
  animation: drift 80s linear infinite alternate; animation-play-state: paused;
}
.stage.live .bg { animation-play-state: running; }
.stage .bg img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.stage .bg { filter: saturate(.6); }   /* one filter on the field, not forty on its cards */
.stage[data-kind="video"] .bg img { aspect-ratio: 9 / 16; }
.stage .zoom, .stage .info, .stage .strip { z-index: 1; }
/* 17-Oct (Savio): in the EXPLORE chapter the drifting field showed through behind the
   title, the theme list and the doors - keep it behind the pictures only (dark theme;
   light hides the field altogether) */
.stage.explore .bg {
  mask-image: linear-gradient(to right, transparent 36%, #000 52%, #000 88%, transparent 100%),
              linear-gradient(to bottom, transparent 8%, #000 22%, #000 66%, transparent 80%);
  mask-composite: intersect;
  -webkit-mask-image: linear-gradient(to right, transparent 36%, #000 52%, #000 88%, transparent 100%),
                      linear-gradient(to bottom, transparent 8%, #000 22%, #000 66%, transparent 80%);
  -webkit-mask-composite: source-in;
}
@media (prefers-reduced-motion: reduce) { .stage .bg { animation: none; } }
.stage.rest { pointer-events: auto; }
.stage .zoom {
  position: absolute; left: 50%; top: 50%; transform-origin: 50% 50%;
  will-change: transform, opacity;
}
.stage .pic {
  position: relative; border-radius: 6px; overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,.55), 0 0 0 1px var(--line);
  background: var(--ink-2); cursor: zoom-in;
}
.stage .pic img, .stage .pic video { width: 100%; height: 100%; object-fit: cover; }
.stage .pic .play { position: absolute; right: 14px; top: 14px; width: 36px; height: 36px; border-radius: 50%; background: rgba(10,10,12,.6); border: 1px solid var(--line); display: grid; place-items: center; }
.stage .pic .play::after { content: ""; border-style: solid; border-width: 7px 0 7px 12px; border-color: transparent transparent transparent var(--paper); margin-left: 3px; }
.stage .info {
  position: absolute; left: clamp(24px, 6vw, 96px); top: 50%; transform: translateY(-50%);
  width: min(520px, 42vw); will-change: transform, opacity;
}
.stage .num { font: 400 13px var(--sans); letter-spacing: .18em; color: var(--muted); margin: 0 0 14px; }
.stage .num b { color: var(--gold); font-weight: 500; }
.stage h2 { font-size: clamp(34px, 3.8vw, 56px); line-height: 1.02; }
.stage .headline { font-family: var(--serif); font-style: italic; font-size: clamp(20px, 1.9vw, 27px); color: var(--gold-2); margin: 18px 0 0; line-height: 1.25; }
.stage .blurb { margin: 22px 0 0; color: var(--paper-2); font-size: 15.5px; max-width: 52ch; }
.stage .who { margin: 14px 0 0; color: var(--muted); font-size: 13.5px; }
/* 6-Oct: the headings a bundle's cards are divided into, two columns, quiet */
.stage .themes { margin: 22px 0 0; padding: 14px 0 0; list-style: none; border-top: 1px solid var(--line);
  display: grid; grid-template-columns: 1fr 1fr; gap: 6px 22px; max-width: 560px; }
.stage .themes li { display: flex; justify-content: space-between; gap: 10px; font-size: 13px;
  line-height: 1.3; color: var(--paper-2); }
.stage .themes li b { color: var(--gold); font-weight: 500; font-variant-numeric: tabular-nums; }
@media (max-width: 760px) { .stage .themes { grid-template-columns: 1fr; } }
#reels[hidden], #how[hidden], #contact[hidden], #founder[hidden], #proof[hidden] { display: none; }
/* 6-Oct: five a chapter - the cover, and the other four as a 2x2 grid beside it at half
   its size, every one fully visible (the page script sets their size and place) */
.stage .zoom .fan { position: absolute; object-fit: cover; border-radius: 5px;
  box-shadow: 0 14px 34px rgba(0,0,0,.5), 0 0 0 1px var(--line);
  cursor: zoom-in; background: var(--ink-2); transition: transform .35s cubic-bezier(.2,.7,.2,1); }
.stage.rest .zoom .fan:hover { transform: translateY(-4px); }
.stage .meta { display: flex; gap: 18px; margin: 26px 0 0; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); flex-wrap: wrap; }
.stage .meta b { color: var(--paper); font-weight: 500; }
.stage .cta { display: inline-flex; align-items: center; gap: 10px; margin-top: 28px; padding: 11px 18px; border: 1px solid var(--gold); border-radius: 999px; color: var(--gold-2); font-size: 13px; letter-spacing: .08em; }
.stage .cta:hover { background: var(--gold); color: var(--ink); }
.stage .lines { margin: 26px 0 0; padding: 0; list-style: none; border-left: 1px solid var(--line); }
.stage .lines li { padding: 6px 0 6px 16px; font-family: var(--serif); font-size: 17px; line-height: 1.3; color: var(--paper-2); }
.stage .lines li::before { content: "\201C"; color: var(--gold); margin-right: 2px; }
.stage .strip {
  position: absolute; right: clamp(24px, 6vw, 96px); bottom: 34px; display: flex; gap: 8px;
  will-change: transform, opacity; transition: transform .35s, opacity .35s;
}
.stage .strip button { width: 64px; height: 64px; border-radius: 4px; overflow: hidden; border: 1px solid var(--line); opacity: .85; transition: opacity .2s, transform .2s; }
.stage .strip button:hover { opacity: 1; transform: translateY(-3px); border-color: var(--gold); }
.stage .strip img { width: 100%; height: 100%; object-fit: cover; }
.stage .strip button.more { display: grid; place-items: center; font: 500 14px var(--sans); color: var(--gold-2); background: rgba(201,162,39,.08); letter-spacing: .04em; }
.stage[data-kind="video"] .strip button { width: 44px; height: 78px; }

/* 14-Oct (Savio): the EXPLORE chapter - name (Total N Cards), intro, "Explore Themes:" with a
   bullet a heading, and two doors bottom right where the thumbnail strip was */
.stage.explore h2 .total { font: 400 clamp(14px, 1.2vw, 17px)/1 var(--sans); color: var(--muted); letter-spacing: .04em; white-space: nowrap; }
.stage .explore-h { margin: 24px 0 0; font: 500 12px var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.stage .themes.bullets { margin-top: 12px; padding-top: 0; border-top: 0; }
.stage .themes.bullets li { position: relative; padding-left: 15px; }
.stage .themes.bullets li::before { content: ""; position: absolute; left: 0; top: .52em; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }
/* the two doors (14-Oct, Savio): plain type, no pictures - an engraved-invitation pair: a gold
   small-caps kicker over a serif line with an italic tail, a hairline that draws itself on hover,
   a fine gold rule between them */
.stage .strip.doors { gap: 34px; align-items: center; }
.stage .strip.doors .door { position: relative; display: block; width: auto; height: auto; padding: 0 0 12px; border: 0; border-radius: 0;
  background: none; overflow: visible; opacity: 1; text-align: left; cursor: pointer; color: var(--paper); }
.stage .strip.doors .door:hover { transform: none; border: 0; }
.stage .door small { display: block; margin: 0 0 9px; font: 500 10.5px var(--sans); letter-spacing: .32em; text-transform: uppercase; color: var(--gold); }
.stage .door .t { display: inline-flex; align-items: baseline; gap: .32em; font: 400 clamp(24px, 2.1vw, 31px)/1.05 var(--serif); letter-spacing: .005em; white-space: nowrap; }
.stage .door .t em { font-style: italic; color: var(--gold-2); }
.stage .door .t i { font-style: normal; font-family: var(--sans); font-size: .58em; color: var(--gold); margin-left: .25em; transition: transform .35s cubic-bezier(.2,.7,.2,1); }
.stage .door:hover .t i { transform: translateX(6px); }
.stage a.door:hover .t i { transform: translate(4px, -4px); }
.stage .door::after { content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%;
  background: linear-gradient(90deg, var(--gold), transparent); transform: scaleX(.22); transform-origin: left; transition: transform .55s cubic-bezier(.2,.7,.2,1); }
.stage .door:hover::after, .stage .door:focus-visible::after { transform: scaleX(1); }
.stage .door-rule { width: 1px; height: 54px; background: linear-gradient(180deg, transparent, var(--gold), transparent); opacity: .6; }
@media (max-width: 880px) {
  .stage .strip.doors { overflow: visible; gap: 18px; justify-content: space-between; }
  .stage .door .t { font-size: 20px; } .stage .door small { font-size: 9.5px; letter-spacing: .24em; margin-bottom: 6px; }
  .stage .door-rule { height: 40px; }
  .stage .explore-h, .stage.explore .themes.bullets { display: none; }   /* a phone has room for the name; the themes are on the all-images page */
}
/* 17-Oct (Savio, phone check): the two doors side by side were wider than a phone - "View all
   images" ran off the edge - so on a phone they share the width and wrap their words; and the
   chapter keeps its two sentences (the selling copy), which also fills the gap under the
   pictures. A short phone that has no room for them drops them rather than overlap. */
@media (max-width: 880px) {
  .stage .strip.doors { gap: 14px; align-items: flex-end; }
  .stage .strip.doors .door { flex: 1 1 0; min-width: 0; }
  .stage .door .t { white-space: normal; display: block; font-size: 19px; line-height: 1.15; }
  .stage .door small { letter-spacing: .2em; }
  .stage.explore .info { bottom: 112px; }
  .stage.explore .blurb { display: block; margin-top: 10px; font-size: 14.5px; line-height: 1.5; }
}
@media (max-width: 880px) and (max-height: 620px) { .stage.explore .blurb { display: none; } }

/* category gate */
.stage.gate .info { left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(760px, 86vw); text-align: center; }
.stage.gate h2 { font-size: clamp(56px, 10vw, 150px); line-height: .95; font-weight: 400; }
.stage.gate .gate-n { font-family: var(--serif); font-style: italic; font-size: clamp(60px, 14vw, 220px); color: transparent; -webkit-text-stroke: 1px var(--gold); opacity: .45; line-height: 1; margin: 0; }
.stage.gate .blurb { margin: 22px auto 0; font-size: 18px; }
.stage.gate .meta { justify-content: center; }

@media (max-width: 880px) {
  .stage .info { left: 20px; right: 20px; top: auto; bottom: 88px; transform: none; width: auto; }
  .stage h2 { font-size: 30px; } .stage .headline { font-size: 18px; }
  .stage .blurb, .stage .who, .stage .lines { display: none; }
  .stage .meta { margin-top: 12px; } .stage .cta { margin-top: 14px; padding: 9px 14px; }
  .stage .strip { right: 20px; left: 20px; bottom: 20px; overflow-x: auto; }
  .stage .strip button { flex: 0 0 auto; width: 48px; height: 48px; }
  .stage .zoom { top: 30%; }
  .stage .info { bottom: 96px; }
}

/* ------------------------------------------------------------------ rail */
#rail {
  position: fixed; right: 0; top: 0; bottom: 0; width: var(--rail-w); z-index: 40;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  opacity: 0; transition: opacity .35s; pointer-events: none;
}
#rail.on { opacity: 1; pointer-events: auto; }
.rail-filter { display: grid; gap: 4px; }
.rail-filter[hidden] { display: none; }   /* display:grid beats the hidden attribute */
.rail-filter button { font-size: 9.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding: 4px 0; writing-mode: vertical-rl; transform: rotate(180deg); }
.rail-filter button.on { color: var(--gold); }
#rail-dots { list-style: none; margin: 0; padding: 0; display: grid; gap: 5px; }
#rail-dots li { width: 6px; height: 6px; border-radius: 50%; background: var(--line); cursor: pointer; transition: transform .2s, background .2s; }
#rail-dots li.cat { width: 10px; height: 1px; border-radius: 0; background: var(--gold); opacity: .6; margin: 4px 0; cursor: default; }
#rail-dots li.on { background: var(--gold); transform: scale(1.7); }
#rail-dots li.hide { display: none; }
#rail-dots li:hover { background: var(--paper); }
.rail-tip { position: absolute; right: calc(var(--rail-w) + 4px); top: 50%; transform: translateY(-50%); font-size: 12px; white-space: nowrap; background: var(--ink-3); border: 1px solid var(--line); padding: 6px 10px; border-radius: 4px; opacity: 0; pointer-events: none; transition: opacity .15s; }
.rail-tip.on { opacity: 1; }
@media (max-width: 720px) { #rail { display: none; } }

/* ----------------------------------------------------------------- bands */
.band { position: relative; padding: clamp(80px, 12vh, 160px) 28px; background: var(--ink); }
.band.alt { background: var(--ink-2); }
.band-inner { max-width: 1100px; margin: 0 auto; }
.band-inner.wide { max-width: 1320px; }

/* the library: every bundle at once */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 18px; margin-top: 44px; }
.gallery.reels { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
.tile { text-align: left; display: grid; gap: 10px; align-content: start; border-radius: 6px; padding: 0; }
.tile .cover { position: relative; aspect-ratio: 1; border-radius: 6px; overflow: hidden; background: var(--ink-3); box-shadow: 0 0 0 1px var(--line); transition: transform .35s ease, box-shadow .35s ease; }
.gallery.reels .tile .cover { aspect-ratio: 9 / 16; }
.tile .cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.tile:hover .cover { transform: translateY(-4px); box-shadow: 0 20px 50px rgba(0,0,0,.5), 0 0 0 1px var(--gold); }
.tile:hover .cover img { transform: scale(1.04); }
.tile .cover .n { position: absolute; top: 10px; left: 10px; font: 500 11px var(--sans); letter-spacing: .14em; color: var(--gold-2); background: rgba(10,10,12,.7); padding: 4px 7px; border-radius: 3px; }
.tile .cover .play { position: absolute; right: 10px; top: 10px; width: 30px; height: 30px; border-radius: 50%; background: rgba(10,10,12,.65); border: 1px solid var(--line); display: grid; place-items: center; }
.tile .cover .play::after { content: ""; border-style: solid; border-width: 5px 0 5px 9px; border-color: transparent transparent transparent var(--paper); margin-left: 2px; }
.tile h3 { font-size: 20px; line-height: 1.15; }
.tile .sub { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.tile .sub b { color: var(--paper-2); font-weight: 500; }
/* 17-Oct (Savio): straight after the deck, EVERY bundle on one screen, filling it - the heading on
   one line, three rows of six big pictures spread edge to edge (no dead strips at the sides), one
   short name under each. The picture is the smaller of a sixth of the width (after the minimum
   gaps) and a third of the height left under the heading, so the three rows always fit; the rows
   then spread across the full width. A phone keeps three a row, scrolling. */
#library { min-height: 100vh; display: flex; align-items: center; padding: 96px 28px 12px; }
#library .band-inner.wide { max-width: none; width: 100%; text-align: center; }
#library .kicker:empty { display: none; }
#library h2 { display: inline; font-size: clamp(24px, 2.4vw, 40px); max-width: none; }
#library .lede { display: inline; margin: 0 0 0 .5em; font-size: clamp(14px, 1.1vw, 18px); color: var(--muted); max-width: none; }
#library .gallery { --t: min(calc((100vw - 56px - 5 * 12px) / 6), calc((100vh - 96px - 12px - 58px - 2 * 10px) / 3 - 25px));
  margin-top: 14px; gap: 10px 12px; grid-template-columns: repeat(6, var(--t)); justify-content: space-between; text-align: left; }
#library .tile { gap: 5px; }
#library .tile h3 { font-size: 15px; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#library .tile .sub { display: none; }
#library .tile .cover .n { top: 8px; left: 8px; }
@media (max-width: 720px) { #library { min-height: 0; display: block; padding: 80px 20px 60px; }
  #library .band-inner.wide { text-align: left; } #library h2, #library .lede { display: block; } #library .lede { margin: 8px 0 0; }
  #library .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 10px; }
  #library .tile h3 { font-size: 12.5px; white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; } }

/* questions */
.faq { margin-top: 40px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding: 22px 0; font: 500 clamp(20px, 2vw, 26px)/1.25 var(--serif); color: var(--paper); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 300 28px/1 var(--serif); color: var(--gold); transition: transform .25s; flex: 0 0 auto; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { margin: -6px 0 24px; color: var(--paper-2); font-size: 15.5px; max-width: 70ch; }
.band h2 { font-size: clamp(34px, 4.6vw, 64px); line-height: 1.05; max-width: 20ch; }
.band .lede { margin-top: 22px; }

#yn-form { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; margin: 40px 0 34px; }
#yn-form label { display: grid; gap: 8px; font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
#yn-form input { background: var(--ink-3); border: 1px solid var(--line); border-radius: 6px; color: var(--paper); font: 16px var(--sans); padding: 12px 14px; }
#yn-form input:focus { outline: 1px solid var(--gold); }
#yn-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: 28px; }
.yn-card { position: relative; border-radius: 6px; overflow: hidden; background: var(--ink-3); box-shadow: 0 30px 80px rgba(0,0,0,.5), 0 0 0 1px var(--line); }
.yn-card canvas { width: 100%; height: auto; display: block; }
.yn-card figcaption { padding: 12px 14px; font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); border-top: 1px solid var(--line); }
#yn-fine { margin-top: 18px; }

#how-steps { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 32px; counter-reset: step; }
#how-steps li { border-top: 1px solid var(--line); padding-top: 22px; }
#how-steps li::before { counter-increment: step; content: counter(step, decimal-leading-zero); font: italic 500 44px/1 var(--serif); color: var(--gold); display: block; margin-bottom: 14px; }
#how-steps h3 { font-size: 26px; margin-bottom: 10px; }
#how-steps p { margin: 0; color: var(--paper-2); font-size: 15px; }
.compliance { margin-top: 72px; padding: 32px; border: 1px solid var(--line); border-radius: 8px; background: var(--ink); max-width: 820px; }
.compliance p:last-child { margin: 0; color: var(--paper-2); font-size: 15.5px; }

.contact-card { margin-top: 44px; display: flex; flex-wrap: wrap; gap: 32px; align-items: center; justify-content: space-between; padding: 32px; border: 1px solid var(--line); border-radius: 8px; background: var(--ink-2); }
.contact-card .who { display: grid; gap: 4px; }
.contact-card strong { font: 500 30px/1.1 var(--serif); }
.contact-card .who span { color: var(--muted); font-size: 14px; }
.ways { display: flex; gap: 12px; flex-wrap: wrap; }
.ways a { display: inline-flex; align-items: center; gap: 10px; padding: 13px 20px; border-radius: 999px; border: 1px solid var(--gold); color: var(--gold-2); font-size: 13.5px; letter-spacing: .06em; }
.ways a.primary { background: var(--gold); color: var(--ink); }
.ways a:hover { background: var(--gold-2); color: var(--ink); }

footer { padding: 40px 28px 60px; color: var(--muted); font-size: 12.5px; text-align: center; border-top: 1px solid var(--line); }
footer p { margin: 4px 0; }

/* -------------------------------------------------------------- lightbox
   The samples hang in a GALLERY: a corridor in real 3D, the pictures on its
   walls, and the viewer walks down it. One scalar - how far along the walk -
   sets the camera; the room turns to face each picture as the walker
   arrives at it. */
#lightbox { position: fixed; inset: 0; z-index: 80; background: #08080a; overflow: hidden; }
#lightbox[hidden] { display: none; }
.gal-room { position: absolute; inset: 0; perspective: 1100px; perspective-origin: 50% 46%; overflow: hidden;
  background: linear-gradient(180deg, #0a0a0c 0%, #0d0d10 30%, #08080a 46%, #101014 62%, #141418 100%); }   /* the lid and the ground, in 2D: a real floor and ceiling plane broke the compositor's sorting where they met the walls */
.gal-world { position: absolute; left: 50%; top: 46%; width: 0; height: 0; transform-style: preserve-3d; will-change: transform; }
.gal-world > * { position: absolute; transform-style: preserve-3d; }
.gal-wall { top: 0; left: 0; transform-origin: 0 0; backface-visibility: hidden; background-color: #121216; }
.gal-wall::after { content: ""; position: absolute; left: 0; right: 0; top: 68%; height: 1px; background: rgba(201,162,39,.16); pointer-events: none; }   /* the dado line */
.gal-floor, .gal-ceil { top: 0; left: 0; transform-origin: 0 0; backface-visibility: hidden; background-color: #101014; }
.gal-floor::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.35) 0, rgba(201,162,39,.05) 50%, rgba(0,0,0,.35) 100%); pointer-events: none; }   /* the ground reads a shade darker than the walls */
.gal-ceil::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.3); pointer-events: none; }
.gal-end { display: grid; place-items: center; text-align: center; background: linear-gradient(180deg, #16161b, #0e0e11); border-left: 1px solid rgba(201,162,39,.2); border-right: 1px solid rgba(201,162,39,.2); }
.gal-end p { font: 400 12px var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin: 0 0 14px; }
.gal-end h3 { font-size: 72px; line-height: 1; color: var(--paper); max-width: 80%; }
.gal-end small { display: block; margin-top: 18px; font: 400 13px var(--sans); letter-spacing: .12em; color: var(--gold-2); }
.gal-end small b { font-weight: 500; color: var(--paper); font-variant-numeric: tabular-nums; }
.gal-end h3.typing::after { content: ""; display: inline-block; width: 2px; height: .85em; margin-left: 4px; background: var(--gold); vertical-align: -0.05em; animation: caret .8s steps(2) infinite; }
@keyframes caret { to { opacity: 0; } }
.gal-frame { transform-style: flat; backface-visibility: visible; cursor: pointer; }   /* FLAT: one plane (its coplanar children were sorted against the wall one by one). NO will-change and backfaces VISIBLE: with either, the GPU compositor left the picture the walker stood before unpainted at 4K - measured in Savio's own Chrome. The walker never sees a back: a passed picture is hidden. */
.gal-frame .light { position: absolute; left: 50%; bottom: 100%; width: 100%; height: 34%; transform: translateX(-50%); pointer-events: none;
  background: radial-gradient(ellipse at 50% 100%, rgba(255,241,200,.14), transparent 65%); opacity: 0; transition: opacity .6s; }
.gal-frame .pool { position: absolute; left: 50%; top: 100%; width: 100%; height: 26%; transform: translateX(-50%); pointer-events: none;
  background: radial-gradient(ellipse at 50% 0%, rgba(255,241,200,.08), transparent 65%); opacity: 0; transition: opacity .6s; }
.gal-frame.near .light, .gal-frame.near .pool { opacity: 1; transition-delay: .2s; }   /* the spotlight blooms just after the walker settles */
/* ONE hand: every arrival in the gallery moves on the same curve */
:root { --gal-ease: cubic-bezier(.2,.7,.2,1); }
.gal-frame .mat { position: absolute; inset: 0; background: #ebe5d6; padding: 18px; box-shadow: 0 0 0 2px #2a2419, 0 0 0 3px rgba(201,162,39,.55); overflow: hidden;
  transition: transform .6s var(--gal-ease); }
.gal-frame.near .mat { transform: scale(1.015); }   /* the presentation beat: the picture lifts a little as the walker stops before it */
.gal-frame .mat::before { content: ""; position: absolute; top: -20%; bottom: -20%; left: -60%; width: 40%; z-index: 2; pointer-events: none;   /* a sheen of light crosses the print once on arrival */
  background: linear-gradient(105deg, transparent 0, rgba(255,250,235,0) 30%, rgba(255,250,235,.22) 50%, rgba(255,250,235,0) 70%, transparent 100%); transform: translateX(0) skewX(-8deg); opacity: 0; }
.gal-frame.near .mat::before { animation: sheen 1.1s var(--gal-ease) .35s 1 both; }
@keyframes sheen { 0% { transform: translateX(0) skewX(-8deg); opacity: 0; } 15% { opacity: 1; } 100% { transform: translateX(420%) skewX(-8deg); opacity: 0; } }
/* a reel wakes as the walker approaches: its poster pushes in slowly, and the video fades in over it when it plays */
.gal-frame .poster { position: absolute; left: 18px; top: 18px; right: 18px; bottom: 18px; width: auto; height: auto; object-fit: cover; z-index: 1; transition: opacity .8s var(--gal-ease); }
.gal-frame.coming .poster, .gal-frame.near .poster { animation: kenburns 5s ease-out both; }
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.06); } }
.gal-frame.playing .poster { opacity: 0; }
.gal-frame[data-t="vid"].near .mat { box-shadow: 0 0 0 2px #2a2419, 0 0 0 3px rgba(201,162,39,.55), 0 0 34px rgba(255,241,200,.28); }   /* a screen turning on */
.gal-frame .mat::after { content: ""; position: absolute; inset: -3px; box-shadow: 0 0 0 3px var(--gold); opacity: 0; transition: opacity .5s; pointer-events: none; }   /* the ring brightens without re-painting the shadow mid-walk */
.gal-frame.near .mat::after { opacity: 1; }
.gal-frame .mat img, .gal-frame .mat video { display: block; width: 100%; height: 100%; object-fit: cover; background: #111; }
.gal-frame .plaque { position: absolute; left: 50%; top: calc(100% + 26px); transform: translate(-50%, -14px); opacity: 0; white-space: nowrap;
  transition: transform .6s var(--gal-ease) .25s, opacity .5s var(--gal-ease) .25s; }   /* the plaque slides up from behind the frame once the walker has arrived */
.gal-frame.near .plaque { transform: translate(-50%, 0); opacity: 1; }
  font: 400 11px var(--sans); letter-spacing: .14em; text-transform: uppercase; color: #e8d9a0; padding: 6px 14px;
  background: linear-gradient(180deg, #3a3020, #221c12); border: 1px solid rgba(201,162,39,.45); border-radius: 2px; }
.gal-frame .plaque b { font-weight: 500; color: var(--gold-2); margin-right: 8px; }
.gal-vignette { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse at 50% 50%, transparent 45%, rgba(4,4,6,.75) 100%); }
#lightbox.open .gal-room { animation: galin 1.1s ease both; }
@keyframes galin { from { opacity: 0; } to { opacity: 1; } }
.lb-cap { position: absolute; left: 24px; top: 26px; display: flex; flex-direction: column; gap: 4px; color: var(--paper-2); font-size: 13px; z-index: 2; pointer-events: none; }
.lb-cap strong { font: 500 24px var(--serif); color: var(--paper); }
.lb-cap #lb-file { color: var(--muted); font-size: 12px; }
/* 6-Oct: the heading the walker is in, and on every plaque */
.lb-cap #lb-theme { font: italic 400 21px var(--serif); color: var(--gold-2); min-height: 1.2em; }
/* 17-Oct: slides in from the side - rising 16px from below, it passed through the
   "N cards in the bundle" line 4px under it on every new theme */
.lb-cap #lb-theme.new { animation: theme-in .8s cubic-bezier(.2,.7,.2,1) both; }
@keyframes theme-in { from { opacity: 0; transform: translateX(-14px); } to { opacity: 1; transform: none; } }
.gal-frame .plaque i { font-style: italic; font-family: var(--serif); color: var(--paper); }
.gal-hint { position: absolute; left: 50%; bottom: 30px; transform: translateX(-50%); margin: 0; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); opacity: .85; pointer-events: none; z-index: 2; white-space: nowrap; }
.lb-thumbs { display: none !important; }   /* 7-Oct: removed from the maze (Savio) - the walk itself is the way through */
.lb-close { position: absolute; top: 20px; right: 18px; font-size: 34px; line-height: 1; color: var(--paper); opacity: .7; width: 44px; height: 44px; z-index: 3; }
.lb-pause { position: absolute; top: 22px; right: 70px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; opacity: .8; z-index: 3; }
.lb-pause span { display: none; }
.ic-pause { width: 10px; height: 12px; border-left: 3px solid var(--paper); border-right: 3px solid var(--paper); }
.ic-play { width: 0; height: 0; border-style: solid; border-width: 6px 0 6px 10px; border-color: transparent transparent transparent var(--paper); margin-left: 3px; }
#lightbox:not(.paused) .ic-pause, #lightbox.paused .ic-play { display: block; }
.lb-arrow { position: absolute; top: 50%; transform: translateY(-50%); font-size: 54px; font-family: var(--serif); color: var(--paper); opacity: .55; width: 64px; height: 90px; z-index: 3; }
.lb-arrow:hover, .lb-close:hover, .lb-pause:hover { opacity: 1; }
.lb-arrow.prev { left: 8px; } .lb-arrow.next { right: 8px; }
/* 17-Oct: the dark corridor's walls are plain now, like the light one (wallFile), so the caption,
   hint and arrows need no plaque or glow in either theme */
@media (max-width: 900px) { .lb-arrow { display: none; } .gal-end h3 { font-size: 48px; } .lb-cap strong { font-size: 19px; } .gal-hint { bottom: 24px; } }
@media (prefers-reduced-motion: reduce) { #lightbox.open .gal-room { animation: none; } }

/* -------------------------------------------------------------- order */
.order-form { margin-top: 28px; max-width: 880px; }
.o-fields { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 18px; }
.o-fields label { display: grid; gap: 6px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.o-fields label.wide { grid-column: 1 / -1; }
.o-fields input { font: 400 15.5px var(--sans); color: var(--paper); background: var(--ink-3); border: 1px solid var(--line); border-radius: 6px; padding: 11px 13px; outline: none; transition: border-color .2s; }
.o-fields input:focus { border-color: var(--gold); }
.o-bundles-label { margin: 26px 0 10px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.o-bundles { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 6px 18px; }
.o-bundles h4 { grid-column: 1 / -1; margin: 12px 0 2px; font: 400 13px var(--serif); font-style: italic; color: var(--gold-2); letter-spacing: .04em; }
.o-bundles label { display: flex; gap: 10px; align-items: center; font-size: 14px; color: var(--paper-2); padding: 5px 0; cursor: pointer; }
.o-bundles input { accent-color: var(--gold); width: 16px; height: 16px; }
.o-bundles label.on { color: var(--paper); }
.o-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-top: 26px; }
.o-submit { padding: 13px 22px; border-radius: 999px; background: var(--gold); color: var(--ink); font-size: 13.5px; letter-spacing: .06em; border: 1px solid var(--gold); }
.o-submit:hover { background: var(--gold-2); } .o-submit[disabled] { opacity: .6; }
.o-wa { padding: 12px 20px; border-radius: 999px; border: 1px solid var(--gold); color: var(--gold-2); font-size: 13.5px; letter-spacing: .06em; }
.o-wa:hover { background: var(--gold); color: var(--ink); }
.o-status { margin-top: 16px; font-size: 14.5px; color: var(--paper); } .o-status.bad { color: #e0a080; }
.stage .cta.ghost { background: transparent; margin-left: 10px; }
.stage .share { margin-left: 10px; margin-top: 28px; display: inline-flex; align-items: center; padding: 11px 14px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); font-size: 12.5px; letter-spacing: .06em; }
.stage .share:hover { border-color: var(--gold); color: var(--gold-2); }
.toast { position: fixed; left: 50%; bottom: 34px; transform: translate(-50%, 20px); background: var(--ink-3); border: 1px solid var(--gold); color: var(--paper); padding: 10px 18px; border-radius: 999px; font-size: 13px; opacity: 0; transition: opacity .3s, transform .3s; z-index: 120; pointer-events: none; }
.toast.on { opacity: 1; transform: translate(-50%, 0); }
.gal-end .end-order { display: inline-block; margin-top: 26px; padding: 12px 22px; border-radius: 999px; background: var(--gold); color: var(--ink); font: 500 13px var(--sans); letter-spacing: .08em; cursor: pointer; }
@media (max-width: 720px) { .o-fields { grid-template-columns: 1fr; } }


/* ================================================================== LIGHT
   GALLERY WHITE (7-Oct; the first light cut - ivory with the dark theme's card
   fields faded onto it - read as dusty, "it doesn't look nice"). Light is what
   a first visit sees, dark one tap away. The rules: clean warm white space;
   NO faded collage anywhere (a dark card at 15% on white is a smudge, not an
   atmosphere); pictures crisp and full-colour on real layered shadows; ink
   type; one deep bronze accent and thin bronze rules; a corridor of plain
   white walls with each card lit like a print. Every dark rule above is
   untouched - this block only overrides it. */
html[data-theme="light"] {
  --ink: #fcfbf8; --ink-2: #f4f1ea; --ink-3: #ebe6dc;
  --line: rgba(18, 17, 16, 0.1);
  --paper: #121110; --paper-2: #45413a; --muted: #6e6860;
  --gold: #8a6716; --gold-2: #9c741b;
  color-scheme: light;
}
html[data-theme="light"] #grain,
html[data-theme="light"] #mosaic,
html[data-theme="light"] .stage .bg { display: none; }
html[data-theme="light"] #aurora::before { background: radial-gradient(circle, #f2e2b6, transparent 62%); opacity: .5; }
html[data-theme="light"] #aurora::after { background: radial-gradient(circle, #ebe3d2, transparent 62%); opacity: .7; }

/* the first screen: seven cards fanned under the headline, crisp, on real shadows */
#hero-fan { display: none; }
html[data-theme="light"] #hero-fan { display: flex; justify-content: center; align-items: flex-start; margin: 34px auto 0;
  opacity: 0; transform: translateY(18px); transition: opacity 1s ease 1150ms, transform 1s ease 1150ms; }
html[data-theme="light"] body.ready #hero-fan { opacity: 1; transform: none; }
html[data-theme="light"] #hero-fan img { position: relative; width: clamp(80px, min(8.4vw, 15vh), 150px); aspect-ratio: 1; object-fit: cover;
  margin: 0 -9px; border-radius: 6px; background: var(--ink-3);
  box-shadow: 0 24px 44px rgba(40, 30, 15, .18), 0 6px 14px rgba(40, 30, 15, .12), 0 0 0 1px rgba(18, 17, 16, .06);
  transform: translateY(var(--y)) rotate(var(--r)); transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
html[data-theme="light"] #hero-fan img:hover { transform: translateY(calc(var(--y) - 12px)) rotate(var(--r)); z-index: 20 !important; }
html[data-theme="light"] #stats { margin-top: 36px; }
html[data-theme="light"] .scroll-hint { display: none; }   /* the fan of cards is the invitation to scroll; the hint sat on it */

/* chapters and title pages on clean space; prints lift off the page */
html[data-theme="light"] .stage .pic { box-shadow: 0 34px 64px rgba(40, 30, 15, .17), 0 8px 18px rgba(40, 30, 15, .1), 0 0 0 1px rgba(18, 17, 16, .06); }
html[data-theme="light"] .stage .zoom .fan { box-shadow: 0 18px 32px rgba(40, 30, 15, .15), 0 4px 10px rgba(40, 30, 15, .08), 0 0 0 1px rgba(18, 17, 16, .06); }
html[data-theme="light"] .stage .themes { border-top-color: rgba(138, 103, 22, .3); }
html[data-theme="light"] .stage.gate .gate-n { opacity: .7; }
html[data-theme="light"] .stage.gate h2::after { content: ""; display: block; width: 72px; height: 1px; margin: 30px auto 0; background: var(--gold); opacity: .7; }
html[data-theme="light"] .stage .pic .play,
html[data-theme="light"] .tile .cover .play,
html[data-theme="light"] .tile .cover .n { background: rgba(252, 251, 248, .9); }
html[data-theme="light"] .tile .cover { box-shadow: 0 16px 34px rgba(40, 30, 15, .12), 0 0 0 1px rgba(18, 17, 16, .06); }
html[data-theme="light"] .tile:hover .cover { box-shadow: 0 24px 48px rgba(40, 30, 15, .18), 0 0 0 1px var(--gold); }
html[data-theme="light"] .yn-card { box-shadow: 0 34px 70px rgba(40, 30, 15, .16), 0 0 0 1px rgba(18, 17, 16, .06); }
html[data-theme="light"] .o-status.bad { color: #9a4a1f; }

/* the corridor by day: plain warm-white walls, a light-oak floor, a white lid, every
   card matted and lit like a print - no wallpaper (wallFile() gives the light theme none) */
html[data-theme="light"] #lightbox, html[data-theme="dark"] #lightbox { background: #f4f1ea; }
html[data-theme="light"] .gal-room, html[data-theme="dark"] .gal-room { background: linear-gradient(180deg, #f3eee5 0%, #f3eee5 30%, #ece6db 46%, #ebe7e0 62%, #efebe5 100%); }   /* lid colour above, the LIT stone below: a culled slice must not show another colour. Measured off Savio's 4K capture (7-Oct): the bare stone #e8e2d6 read warmer and darker than the stone under its skylight sheen */
html[data-theme="light"] .gal-wall, html[data-theme="dark"] .gal-wall { background-color: #f6f3ec; }
html[data-theme="light"] .gal-wall::after, html[data-theme="dark"] .gal-wall::after { background: rgba(138, 103, 22, .3); }
html[data-theme="light"] .gal-ceil, html[data-theme="dark"] .gal-ceil { background-color: #fbfaf6; }
html[data-theme="light"] .gal-ceil::before, html[data-theme="dark"] .gal-ceil::before { background: none; }
html[data-theme="light"] .gal-floor, html[data-theme="dark"] .gal-floor { background-color: #d8c5a2;
  background-image: repeating-linear-gradient(90deg, rgba(110, 82, 44, .12) 0 1px, transparent 1px 140px); }
html[data-theme="light"] .gal-floor::before, html[data-theme="dark"] .gal-floor::before { background: linear-gradient(90deg, rgba(90, 65, 30, .12) 0, rgba(255, 250, 238, .1) 50%, rgba(90, 65, 30, .12) 100%); }
html[data-theme="light"] .gal-end, html[data-theme="dark"] .gal-end { background: linear-gradient(180deg, #fbfaf6, #efe9de); border-color: rgba(138, 103, 22, .3); }
html[data-theme="light"] .gal-frame .light, html[data-theme="dark"] .gal-frame .light { background: radial-gradient(ellipse at 50% 100%, rgba(255, 238, 196, .55), transparent 65%); }
html[data-theme="light"] .gal-frame .pool, html[data-theme="dark"] .gal-frame .pool { background: radial-gradient(ellipse at 50% 0%, rgba(60, 45, 20, .16), transparent 65%); }
html[data-theme="light"] .gal-frame .mat, html[data-theme="dark"] .gal-frame .mat { background: #fffdf8; box-shadow: 0 0 0 2px #2b2418, 0 0 0 3px rgba(138, 103, 22, .55); }
html[data-theme="light"] .gal-frame .mat img, html[data-theme="light"] .gal-frame .mat video, html[data-theme="dark"] .gal-frame .mat img, html[data-theme="dark"] .gal-frame .mat video { background: #ebe6dc; }
html[data-theme="light"] .gal-frame .plaque, html[data-theme="dark"] .gal-frame .plaque { color: #2b2418; background: #fffdf8; border-color: rgba(138, 103, 22, .5); }
html[data-theme="light"] .gal-vignette, html[data-theme="dark"] .gal-vignette { background: radial-gradient(ellipse at 50% 50%, transparent 55%, rgba(90, 75, 50, .16) 100%); }

/* ---- the premium finish (7-Oct, second pass - Savio: "much better than the previous
   one, but it doesn't feel premium yet"). What separates a luxury house from a template:
   solid ink buttons, not gold-outline pills; every picture MOUNTED in white like a print;
   a metallic foil on the few accents that matter; a printed surface, not a flat one;
   finer, wider-spaced editorial type; hairline bronze rules between sections. */
html[data-theme="light"] {
  --foil: linear-gradient(100deg, #6f4f0e 0%, #b0873a 26%, #e3c67e 46%, #a67c27 66%, #7a5812 100%);
  --ink-btn: #141210;
}
/* foil - the italic line, the wordmark's Connect, the big numbers, the title-page numerals */
html[data-theme="light"] #hero-line i, html[data-theme="light"] #hero-line i .w,
html[data-theme="light"] .wordmark .wm-b, html[data-theme="light"] #stats b {
  background: var(--foil); -webkit-background-clip: text; background-clip: text; color: transparent; }
html[data-theme="light"] .stage.gate .gate-n { -webkit-text-stroke: 0; background: var(--foil);
  -webkit-background-clip: text; background-clip: text; color: transparent; opacity: .9; }
/* the printed surface: the paper grain returns, barely there */
html[data-theme="light"] #grain { display: block; opacity: .035; }
/* type: finer headings, wider-spaced small capitals */
html[data-theme="light"] h1, html[data-theme="light"] h2, html[data-theme="light"] h3 { font-weight: 400; letter-spacing: -0.015em; }
html[data-theme="light"] .kicker, html[data-theme="light"] #stats span,
html[data-theme="light"] .stage .num, html[data-theme="light"] .stage .meta { letter-spacing: .26em; }
/* every picture mounted in white, like a print in a gallery */
html[data-theme="light"] .stage .pic, html[data-theme="light"] .stage .zoom .fan,
html[data-theme="light"] #hero-fan img, html[data-theme="light"] .tile .cover {
  border: 6px solid #fff; border-radius: 3px; }
html[data-theme="light"] .gal-frame .mat, html[data-theme="dark"] .gal-frame .mat { background: #fff; }
/* solid ink buttons; the secondary ones a fine ink outline */
html[data-theme="light"] .stage .cta, html[data-theme="light"] .ways a.primary, html[data-theme="light"] .o-submit,
html[data-theme="light"] .gal-end .end-order, html[data-theme="light"] #topnav .pill, html[data-theme="dark"] .gal-end .end-order {
  background: var(--ink-btn); color: #f7f3ea; border: 1px solid var(--ink-btn); border-radius: 999px; }
html[data-theme="light"] #topnav .pill { padding: 8px 16px; }
html[data-theme="light"] .stage .cta:hover, html[data-theme="light"] .ways a.primary:hover, html[data-theme="light"] .o-submit:hover,
html[data-theme="light"] .gal-end .end-order:hover, html[data-theme="light"] #topnav .pill:hover, html[data-theme="dark"] .gal-end .end-order:hover {
  background: #8a6716; border-color: #8a6716; color: #fff; }
html[data-theme="light"] .stage .cta.ghost, html[data-theme="light"] .ways a:not(.primary), html[data-theme="light"] .o-wa {
  background: transparent; color: var(--paper); border: 1px solid rgba(18, 17, 16, .3); }
html[data-theme="light"] .stage .cta.ghost:hover, html[data-theme="light"] .ways a:not(.primary):hover, html[data-theme="light"] .o-wa:hover {
  background: transparent; color: var(--paper); border-color: var(--paper); }
/* hairline bronze rules between the sections below the collection */
html[data-theme="light"] .band { border-top: 1px solid rgba(138, 103, 22, .2); }

/* ---- the corridor as a GALLERY BY DAY (7-Oct; Savio picked gallery light, architecture,
   stone floor + frames). Light on the walls comes from --pools (one warm pool and one ceiling
   beam per picture, worked out in buildRoom); the panelling, picture rail and skirting are one
   drawing; the lid is coffered with a skylight (--sky), the floor pale stone slabs with its
   sheen. All of it is background on the room's existing sections - no new 3D planes. */
html[data-theme="light"] .gal-wall, html[data-theme="dark"] .gal-wall { background-color: #ece5d8;
  background-image: var(--pools, none), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100%' height='100%'%3E%3Cline x1='0' y1='94%' x2='100%' y2='94%' stroke='%23b9a274' stroke-width='1.2'/%3E%3Cline x1='0' y1='7%' x2='100%' y2='7%' stroke='%23b9a274' stroke-width='1.4'/%3E%3Cline x1='0' y1='7.7%' x2='100%' y2='7.7%' stroke='%23fffdf8' stroke-width='1'/%3E%3Crect x='8%' y='13%' width='84%' height='50%' fill='none' stroke='%23cdbd99' stroke-width='1.2'/%3E%3Crect x='8.6%' y='13.6%' width='82.8%' height='48.8%' fill='none' stroke='%23fffdf8' stroke-width='1'/%3E%3Crect x='8%' y='72%' width='84%' height='17%' fill='none' stroke='%23cdbd99' stroke-width='1.2'/%3E%3Crect x='8.6%' y='72.6%' width='82.8%' height='15.8%' fill='none' stroke='%23fffdf8' stroke-width='1'/%3E%3C/svg%3E"),
    linear-gradient(180deg, #f4efe6 0%, #ede7dc 50%, #ebe7e0 100%);   /* the foot of the wall IS the lit stone's colour: turning towards a picture, the near wall's foot fills a corner of the screen, and a shade off read as a patch (7-Oct) */
  background-repeat: no-repeat; }
html[data-theme="light"] .gal-wall::after, html[data-theme="dark"] .gal-wall::after { top: 67%; background: rgba(150, 120, 60, .35); }
/* the lid: deep coffers - each beam a shadowed edge and a lit edge - lined up across every
   slice by --cofx and --segd, a skylight down the centre, a recessed spotlight above each picture */
html[data-theme="light"] .gal-ceil, html[data-theme="dark"] .gal-ceil { background-color: #f3eee5;
  background-image: var(--cans, none), var(--sky, none),
    repeating-linear-gradient(90deg, rgba(110, 90, 58, .26) var(--cofx, 0px), rgba(110, 90, 58, .26) calc(var(--cofx, 0px) + 3px),
      rgba(255, 255, 255, .8) calc(var(--cofx, 0px) + 3px), rgba(255, 255, 255, .8) calc(var(--cofx, 0px) + 6px),
      rgba(205, 192, 168, .35) calc(var(--cofx, 0px) + 6px), rgba(255, 253, 248, 0) calc(var(--cofx, 0px) + 40px),
      rgba(255, 253, 248, 0) calc(var(--cofx, 0px) + 130px)),
    repeating-linear-gradient(0deg, rgba(110, 90, 58, .26) 0 3px, rgba(255, 255, 255, .8) 3px 6px,
      rgba(205, 192, 168, .35) 6px, rgba(255, 253, 248, 0) 40px, rgba(255, 253, 248, 0) calc(var(--segd, 325px) / 2)); }
/* the floor: pale stone slabs whose joints stay put - lined up to the corridor, not the slice */
html[data-theme="light"] .gal-floor, html[data-theme="dark"] .gal-floor { background-color: #e8e2d6;
  background-image: var(--sky, none),
    repeating-linear-gradient(90deg, rgba(130, 112, 84, .24) var(--slabx, 0px), rgba(130, 112, 84, .24) calc(var(--slabx, 0px) + 1px),
      transparent calc(var(--slabx, 0px) + 1px), transparent calc(var(--slabx, 0px) + 180px)),
    repeating-linear-gradient(0deg, rgba(130, 112, 84, .24) 0 1px, transparent 1px calc(var(--segd, 325px) / 2)); }
html[data-theme="light"] .gal-floor::before, html[data-theme="dark"] .gal-floor::before { background: none; }
/* frames: a dark edge, a gilded band, a fine outer line - and a soft lift off the wall */
html[data-theme="light"] .gal-frame .mat, html[data-theme="dark"] .gal-frame .mat { background: #fff;
  box-shadow: 0 0 0 2px #2e2618, 0 0 0 6px #c9a85e, 0 0 0 7px #7a5a14, 0 14px 30px rgba(60, 45, 20, .22); }
html[data-theme="light"] .gal-frame .pool, html[data-theme="dark"] .gal-frame .pool { background: radial-gradient(ellipse at 50% 0%, rgba(60, 45, 20, .2), transparent 65%); }
/* the museum label: the heading in serif, the bundle in small capitals */
.gal-frame .plaque small { display: none; }
html[data-theme="light"] .gal-frame .plaque, html[data-theme="dark"] .gal-frame .plaque { white-space: normal; text-align: left; min-width: 180px; max-width: 280px;
  padding: 9px 14px 10px; background: #fffdf8; border: 0; border-left: 2px solid #9a7420;
  box-shadow: 0 6px 16px rgba(60, 45, 20, .14); color: #1d1913; letter-spacing: 0; text-transform: none; }
html[data-theme="light"] .gal-frame .plaque i, html[data-theme="dark"] .gal-frame .plaque i { display: block; font: italic 400 16px/1.2 var(--serif); color: #1d1913; }
html[data-theme="light"] .gal-frame .plaque small, html[data-theme="dark"] .gal-frame .plaque small { display: block; margin-top: 4px; font: 500 9.5px/1.3 var(--sans);
  letter-spacing: .2em; text-transform: uppercase; color: #8a6716; }

/* the sun / moon in the top bar - the moon shows in light (go dark), the sun in dark */
#topnav { align-items: center; }
.theme-toggle { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); display: inline-grid;
  place-items: center; color: var(--paper); opacity: .85; transition: border-color .3s, opacity .3s; }
.theme-toggle:hover { opacity: 1; border-color: var(--gold); }
.theme-toggle svg { width: 16px; height: 16px; }
html[data-theme="light"] .theme-toggle .sun, html:not([data-theme="light"]) .theme-toggle .moon { display: none; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .45s; }

/* ---- the AdvisorLab seal (7-Oct): beside the wordmark, pressed into each title
   page, at the foot of the page, and as a brief curtain on a session's first visit */
.wordmark { display: inline-flex; align-items: center; }
.wordmark .wm-mono { width: 30px; height: 30px; margin-right: 11px; flex: none; }
.stage.gate .gate-seal { display: block; width: 62px; height: 62px; margin: 0 auto 14px; opacity: .92; }
footer .foot-seal { display: block; width: 46px; height: 46px; margin: 0 auto 16px; opacity: .92; }
footer .chat-notice { max-width: 68ch; margin: 14px auto 0; font-size: 12px; line-height: 1.6; color: var(--muted); }   /* 2-Nov: the chat's privacy notice */
#curtain { display: none; }
html.curtain-on #curtain { display: grid; place-items: center; position: fixed; inset: 0; z-index: 200;
  background: var(--ink); transition: opacity .85s ease; }
html.curtain-on #curtain img { width: 132px; height: 132px; animation: seal-in 1.1s cubic-bezier(.2, .7, .2, 1) both; }
html.curtain-lift #curtain { opacity: 0; pointer-events: none; }
@keyframes seal-in { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: none; } }

/* -------------------------------------------- landing sections (8-Oct)
   The story, families, options and plans, in the page's own vocabulary:
   band, kicker, serif headings, hairline cards, gold rules. Tokens only, so
   the light and dark themes both hold. */
#hero-ways { justify-content: center; margin-top: 30px; }
.hero-note { margin: 18px auto 0; font-size: 13.5px; line-height: 1.6; color: var(--muted); max-width: 60ch; }
.hero-note span { display: block; }
#hero-ways, .hero-note { opacity: 0; transform: translateY(18px); transition: opacity 1s ease 850ms, transform 1s ease 850ms; }
body.ready #hero-ways, body.ready .hero-note { opacity: 1; transform: none; }
.lp-p { font-size: 17px; line-height: 1.65; color: var(--paper-2); max-width: 62ch; margin: 18px 0 0; }
.lp-p b { color: var(--paper); font-weight: 600; }
.lp-quotes { list-style: none; margin: 36px 0 0; padding: 0; display: grid; gap: 14px; max-width: 760px; }
.lp-quotes li { font: italic 500 clamp(19px, 1.8vw, 24px)/1.35 var(--serif); color: var(--paper); padding-left: 18px; border-left: 1px solid var(--gold); }
.lp-cards { margin-top: 44px; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.lp-card { border: 1px solid var(--line); border-radius: 8px; padding: 26px; background: var(--ink-2); }
.band.alt .lp-card { background: var(--ink); }
.lp-card h3 { font: 500 23px/1.2 var(--serif); margin: 0 0 10px; color: var(--paper); }
.lp-card p { margin: 0; color: var(--paper-2); font-size: 15px; line-height: 1.6; }
.lp-card ul { margin: 16px 0 0; padding: 14px 0 0; list-style: none; display: grid; gap: 6px; font-size: 14px; color: var(--paper-2); border-top: 1px solid var(--line); }
.lp-tag { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin: 0 0 10px; }
.lp-plans { margin-top: 44px; display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 16px; }   /* two a row on a phone, five on a desktop */
.lp-plan { position: relative; border: 1px solid var(--line); border-radius: 8px; padding: 28px 18px 22px; background: var(--ink-2); text-align: center; }
.lp-plan.hot { border-color: var(--gold); }
.lp-plan .lp-tag { position: absolute; top: -10px; left: 50%; transform: translateX(-50%); margin: 0; padding: 3px 10px; border-radius: 999px; background: var(--gold); color: var(--ink); font-size: 10px; white-space: nowrap; }
.lp-plan h3 { font: 500 22px/1.2 var(--serif); margin: 0; color: var(--paper); }
.lp-plan .n { margin: 6px 0 0; font-size: 13px; color: var(--muted); }
.lp-plan .price { margin: 16px 0 0; font: 500 34px/1 var(--serif); color: var(--paper); font-variant-numeric: tabular-nums; }
.lp-plan .per { margin: 8px 0 0; font-size: 12.5px; color: var(--muted); }
.lp-plan .per.post { margin-top: 4px; color: var(--gold); font-weight: 500; }

/* 17-Oct (phone check): two plans a row left the recommended one alone at half width in the
   last row, its tag hanging off the card - on a phone it leads, full width, a touch larger */
@media (max-width: 720px) {
  .lp-plan.hot { order: -1; grid-column: 1 / -1; padding: 32px 18px 24px; margin-top: 6px; }
  .lp-plan.hot .price { font-size: 40px; }
}
.lp-note { margin: 26px 0 0; color: var(--paper-2); font-size: 15.5px; max-width: 70ch; }
.lp-list-title { margin: 40px 0 0; font: 500 22px var(--serif); color: var(--paper); }
.lp-list { margin: 14px 0 0; padding: 0 0 0 20px; color: var(--paper-2); font-size: 15.5px; line-height: 1.7; max-width: 70ch; }
.lp-list li::marker { color: var(--gold); }
.ways.lp-ways { margin-top: 34px; }
#o-plan { margin: 12px 0 0; font-size: 14px; color: var(--gold-2); min-height: 1.4em; }

/* 17-Oct (Savio): ONE gallery walk for both themes - the light one. Every light gallery rule
   above also names html[data-theme="dark"], and inside the lightbox the dark theme takes the
   light colour tokens, so its words read dark on the light room. */
html[data-theme="dark"] #lightbox {
  --ink: #fcfbf8; --ink-2: #f4f1ea; --ink-3: #ebe6dc;
  --line: rgba(18, 17, 16, 0.1);
  --paper: #121110; --paper-2: #45413a; --muted: #6e6860;
  --gold: #8a6716; --gold-2: #9c741b;
  --foil: linear-gradient(100deg, #6f4f0e 0%, #b0873a 26%, #e3c67e 46%, #a67c27 66%, #7a5812 100%);
  --ink-btn: #141210;
  color-scheme: light;
}

/* ============================================================ #power
   17-Oct (Savio: "premium and elite - make the client pause, think and decide"). The page's
   centrepiece, the same in both themes: a deep black room lit by soft gold, a huge serif headline
   with its turn in gold italic, the argument in a narrow column beside it, the six benefits as an
   editorial index (gold numerals, hairline rules, no boxes), a closing line set like a pull quote,
   gold buttons, and AUTHORITY in outline far behind. `html #power` outranks the light theme's
   own band rules, so the room never turns cream. */
html #power {
  --ink: #0b0b0d; --ink-2: #111114; --ink-3: #18181c; --line: rgba(242, 236, 223, .1);
  --paper: #f4eee2; --paper-2: #c9c2b2; --muted: #8f8a7e; --gold: #c9a227; --gold-2: #e8cb6a;
  --foil: linear-gradient(100deg, #8a6716 0%, #c9a227 30%, #f0d98a 50%, #c9a227 70%, #8a6716 100%);
  position: relative; overflow: hidden; color: var(--paper); color-scheme: dark;
  background:
    radial-gradient(ellipse 60% 50% at 12% 0%, rgba(201, 162, 39, .17), transparent 70%),
    radial-gradient(ellipse 50% 45% at 92% 100%, rgba(201, 162, 39, .11), transparent 70%),
    linear-gradient(180deg, #0d0d10 0%, #08080a 100%);
  border-top: 1px solid rgba(201, 162, 39, .35); border-bottom: 1px solid rgba(201, 162, 39, .35);
  padding: 0 28px;
}
html #power::before {                       /* the word behind it all */
  content: "AUTHORITY"; position: absolute; left: 50%; top: 4%; transform: translateX(-50%);
  font: 400 clamp(120px, 21vw, 380px)/1 var(--serif); letter-spacing: .02em; white-space: nowrap;
  color: transparent; -webkit-text-stroke: 1px rgba(201, 162, 39, .09); pointer-events: none; z-index: 0;
}
html #power::after {                        /* a fine gold line drawn down the centre of the room */
  content: ""; position: absolute; left: 50%; top: 0; width: 1px; height: 70px;
  background: linear-gradient(var(--gold), transparent); opacity: .6; z-index: 0;
}
html #power .band-inner { position: relative; z-index: 1; max-width: 1240px; }
/* two screens, each exactly one window tall and centred in it (17-Oct, Savio: "nothing half cut") */
html #power .lp-screen { min-height: 100vh; box-sizing: border-box; }
html #power .lp-screen-1 {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); column-gap: clamp(40px, 6vw, 96px);
  align-content: center; align-items: start; padding: 96px 0 48px;
}
html #power .lp-screen-2 { display: flex; flex-direction: column; justify-content: center; padding: 72px 0 48px; }
html #power .kicker { grid-column: 1 / -1; color: var(--gold-2); margin-bottom: 26px; }
html #power h2 {
  grid-column: 1; grid-row: 2 / span 3; max-width: 13ch; margin: 0;
  font: 400 clamp(46px, 5.2vw, 88px)/.98 var(--serif); letter-spacing: -.015em; color: var(--paper);
}
html #power h2 i {
  font-style: italic; background: var(--foil); -webkit-background-clip: text; background-clip: text; color: transparent;
}
html #power .lede, html #power .lede ~ .lp-p { grid-column: 2; max-width: 46ch; margin: 0 0 18px; color: var(--paper-2); }
html #power .lede { font-size: clamp(17px, 1.25vw, 20px); line-height: 1.6; color: var(--paper); padding-top: 14px; border-top: 1px solid rgba(201, 162, 39, .45); }
html #power .lede ~ .lp-p { font-size: 15.5px; line-height: 1.7; }
html #power .lede ~ .lp-p b { display: block; margin-bottom: 6px; color: var(--gold-2); font: italic 400 22px/1.3 var(--serif); }
/* the index */
html #power .lp-cards {
  grid-column: 1 / -1; counter-reset: pw; margin-top: 0; gap: 0;
  grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid rgba(201, 162, 39, .4);
}
html #power .lp-card {
  counter-increment: pw; position: relative; background: transparent; border: 0; border-radius: 0;
  border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); padding: 34px 34px 38px;
  transition: background .5s ease;
}
html #power .lp-card:nth-child(3n) { border-right: 0; }
html #power .lp-card::before {
  content: counter(pw, decimal-leading-zero); display: block; margin-bottom: 18px;
  font: italic 400 46px/1 var(--serif); background: var(--foil); -webkit-background-clip: text; background-clip: text; color: transparent;
  transition: transform .5s cubic-bezier(.2, .7, .2, 1);
}
html #power .lp-card::after {               /* a gold rule that draws across on hover */
  content: ""; position: absolute; left: 34px; right: 34px; top: -1px; height: 1px; background: var(--foil);
  transform: scaleX(0); transform-origin: left; transition: transform .6s cubic-bezier(.2, .7, .2, 1);
}
html #power .lp-card:hover { background: radial-gradient(ellipse at 30% 0%, rgba(201, 162, 39, .09), transparent 70%); }
html #power .lp-card:hover::before { transform: translateX(6px); }
html #power .lp-card:hover::after { transform: scaleX(1); }
html #power .lp-card h3 { font: 400 25px/1.2 var(--serif); color: var(--paper); margin: 0 0 12px; }
html #power .lp-card p { color: var(--paper-2); font-size: 15px; line-height: 1.7; }
/* the closing line, like a pull quote */
html #power .lp-cards ~ .lp-p {
  grid-column: 1 / -1; justify-self: center; text-align: center; max-width: none; margin: clamp(48px, 7vh, 90px) auto 0; text-wrap: balance;
  font: 400 clamp(30px, 3vw, 50px)/1.18 var(--serif); color: var(--paper);
}
html #power .lp-cards ~ .lp-p b { display: block; font: italic 400 1em/1.18 var(--serif); color: var(--gold-2); margin-bottom: 4px; }
html #power .lp-cards ~ .lp-p::before { content: ""; display: block; width: 72px; height: 1px; margin: 0 auto 34px; background: var(--foil); }
html #power .lp-ways { grid-column: 1 / -1; justify-content: center; margin-top: 40px; }
html #power .ways a { border-color: var(--gold); color: var(--gold-2); background: transparent; padding: 15px 26px; }
html #power .ways a.primary { background: var(--foil); color: #141210; border-color: transparent; font-weight: 500; }
html #power .ways a:hover { background: var(--gold-2); color: #141210; }
/* a shorter laptop (14") keeps screen two inside one window */
@media (min-width: 901px) and (max-height: 980px) {
  html #power .lp-screen-2 { padding: 64px 0 28px; }
  html #power .lp-card { padding: 24px 30px 28px; }
  html #power .lp-card::before { font-size: 38px; margin-bottom: 12px; }
  html #power .lp-card h3 { font-size: 23px; margin-bottom: 8px; }
  html #power .lp-cards ~ .lp-p { margin-top: 40px; font-size: clamp(28px, 2.6vw, 44px); }
  html #power .lp-cards ~ .lp-p::before { margin-bottom: 26px; }
  html #power .lp-ways { margin-top: 28px; }
}
@media (max-width: 900px) {
  html #power .lp-screen { min-height: 0; }
  html #power .lp-screen-1 { grid-template-columns: 1fr; padding: 96px 0 40px; }
  html #power .lp-screen-2 { padding: 0 0 80px; }
  html #power h2 { grid-row: auto; max-width: none; margin-bottom: 30px; }
  html #power .lede, html #power .lede ~ .lp-p { grid-column: 1; }
  html #power .lp-cards { grid-template-columns: 1fr; }
  html #power .lp-card { border-right: 0; padding: 28px 4px 30px; }
  html #power .lp-card::after { left: 4px; right: 4px; }
  html #power::before { font-size: 34vw; top: 1.5%; }
}

/* 17-Oct (Savio: "each section on its own screen, nothing half cut"): the two bands that ran a
   hair past a 16" window sit in exactly one, content centred */
@media (min-width: 901px) {
  #families { min-height: 100vh; display: flex; align-items: center; padding-top: 92px; padding-bottom: 48px; box-sizing: border-box; }
  #families > .band-inner { width: 100%; }
}
@media (min-width: 901px) and (max-height: 940px) {   /* 18-Oct: a 14" window too */
  #families { padding-top: 76px; padding-bottom: 24px; }
  #families .lp-cards { margin-top: 22px; }
}

/* ============================================================ .room
   17-Oct (Savio: "the top four, as premium as the summary - the why, the necessity, the pull to
   buy"). The 9 a.m. question, what silence costs, the real fix and who makes this, each one
   exact screen in the black room lit in gold (#power's language), the glow moving screen to
   screen. Dark-only site, so these rules need no light-theme twins. */
html section.room {
  --ink: #0b0b0d; --ink-2: #111114; --line: rgba(242, 236, 223, .1);
  --paper: #f4eee2; --paper-2: #c9c2b2; --muted: #8f8a7e; --gold: #c9a227; --gold-2: #e8cb6a;
  --foil: linear-gradient(100deg, #8a6716 0%, #c9a227 30%, #f0d98a 50%, #c9a227 70%, #8a6716 100%);
  position: relative; overflow: hidden; color: var(--paper);
  background: radial-gradient(ellipse 55% 55% at var(--gx, 15%) var(--gy, 0%), rgba(201, 162, 39, .15), transparent 70%),
              linear-gradient(180deg, #0d0d10 0%, #08080a 100%);
  border-top: 1px solid rgba(201, 162, 39, .22);
}
#story { --gx: 88%; --gy: 0%; } #silence { --gx: 50%; --gy: 105%; } #fix { --gx: 10%; --gy: 100%; } #maker { --gx: 50%; --gy: 0%; }
@media (min-width: 901px) {
  html section.room { min-height: 100vh; display: flex; align-items: center; padding: 96px 28px 48px; box-sizing: border-box; }
  html section.room > .band-inner { width: 100%; max-width: 1240px; }
}
html section.room .kicker { color: var(--gold-2); }
html section.room h2 { font: 400 clamp(42px, 4.6vw, 80px)/1.02 var(--serif); letter-spacing: -.015em; color: var(--paper); max-width: 16ch; }
html section.room h2 i { font-style: italic; background: var(--foil); -webkit-background-clip: text; background-clip: text; color: transparent; }
html section.room .lede { color: var(--paper); font-size: clamp(17px, 1.2vw, 20px); line-height: 1.6; max-width: 52ch; }
html section.room .lp-p { color: var(--paper-2); }
html section.room .lp-ways { margin-top: 40px; }
html section.room .ways a { border-color: var(--gold); color: var(--gold-2); background: transparent; padding: 15px 26px; }
html section.room .ways a.primary { background: var(--foil); color: #141210; border-color: transparent; font-weight: 500; }
html section.room .ways a:hover { background: var(--gold-2); color: #141210; }

/* 1 - the 9 a.m. question: the headline beside the five things distributors say */
@media (min-width: 901px) {
  #story > .band-inner { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); column-gap: clamp(48px, 6vw, 100px); align-items: center; }
  #story .kicker { grid-column: 1; grid-row: 1; }
  #story h2 { grid-column: 1; grid-row: 2; }
  #story .lede { grid-column: 1; grid-row: 3; margin-top: 26px; }
  #story .lp-quotes { grid-column: 2; grid-row: 1 / span 3; align-self: center; }
  #story .lp-quotes ~ .lp-p { grid-column: 1 / -1; grid-row: 4; }
}
#story .lp-quotes { list-style: none; margin: 0; padding: 0; border-left: 0; }
#story .lp-quotes li { position: relative; padding: 18px 0 18px 34px; border-left: 0; border-top: 1px solid var(--line); margin: 0;
  font: italic 400 clamp(20px, 1.7vw, 27px)/1.3 var(--serif); color: var(--paper-2); background: none; }
#story .lp-quotes li:last-child { border-bottom: 1px solid var(--line); }
#story .lp-quotes li::before { content: ""; position: absolute; left: 0; top: 50%; width: 18px; height: 1px; background: var(--foil); }
#story .lp-quotes ~ .lp-p { margin-top: clamp(40px, 6vh, 70px); padding-top: 28px; border-top: 1px solid rgba(201, 162, 39, .35);
  font: 400 clamp(19px, 1.5vw, 25px)/1.5 var(--serif); color: var(--paper-2); max-width: none; }
#story .lp-quotes ~ .lp-p b { font-weight: 400; font-style: italic; color: var(--gold-2); }

/* 2 - what silence costs: centred, the three voices, the line that stings */
#silence > .band-inner { text-align: center; }
#silence h2 { margin: 0 auto; max-width: 18ch; }
#silence .lede { margin: 26px auto 0; }
#silence .lp-cards { margin-top: clamp(40px, 6vh, 64px); gap: 0; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid rgba(201, 162, 39, .4); }
#silence .lp-card { background: transparent; border: 0; border-radius: 0; border-right: 1px solid var(--line); padding: 30px 24px 26px; }
#silence .lp-card:last-child { border-right: 0; }
#silence .lp-card h3 { font: italic 400 clamp(28px, 2.4vw, 40px)/1.1 var(--serif); color: var(--gold-2); margin: 0 0 10px; }
#silence .lp-card p { color: var(--paper-2); font-size: 16px; }
#silence .lp-cards ~ .lp-p { max-width: 34ch; margin: clamp(36px, 5vh, 60px) auto 0; font: 400 clamp(26px, 2.5vw, 42px)/1.22 var(--serif); color: var(--paper); text-wrap: balance; }
#silence .lp-cards ~ .lp-p b { display: block; font-weight: 400; font-style: italic; color: var(--gold-2); margin-bottom: 8px; font-size: .62em; line-height: 1.3; }
#silence .lp-cards ~ .lp-p + .lp-p { max-width: 60ch; margin-top: 22px; font: 400 16px/1.6 var(--sans); color: var(--muted); }

/* 3 - the real fix: centred, the product's numbers in gold, the four promises */
#fix > .band-inner { text-align: center; }
#fix h2 { margin: 0 auto; max-width: 22ch; }
#fix .lede { margin: 24px auto 0; }
#fix .lp-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: clamp(36px, 5vh, 60px);
  border-top: 1px solid rgba(201, 162, 39, .4); border-bottom: 1px solid rgba(201, 162, 39, .4); }
#fix .lp-stat { padding: 28px 12px 24px; border-right: 1px solid var(--line); }
#fix .lp-stat:last-child { border-right: 0; }
#fix .lp-stat b { display: block; white-space: nowrap; font: 400 clamp(38px, 4.6vw, 78px)/1 var(--serif); background: var(--foil); -webkit-background-clip: text; background-clip: text; color: transparent; }
#fix .lp-stat span { display: block; margin-top: 10px; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
#fix .lp-cards { margin-top: clamp(28px, 4vh, 44px); gap: 0 28px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
#fix .lp-card { background: transparent; border: 0; border-radius: 0; padding: 0; }
#fix .lp-card h3 { font: 400 23px/1.2 var(--serif); color: var(--paper); margin: 0 0 6px; }
#fix .lp-card p { color: var(--paper-2); font-size: 14.5px; }
#fix .lp-ways { justify-content: center; }

/* 4 - who makes this: a founder's plaque */
#maker > .band-inner { max-width: 940px; text-align: center; border: 1px solid rgba(201, 162, 39, .35); padding: clamp(44px, 6vh, 72px) clamp(28px, 5vw, 72px);
  background: linear-gradient(180deg, rgba(255, 255, 255, .025), rgba(255, 255, 255, 0)); position: relative; }
#maker > .band-inner::before, #maker > .band-inner::after { content: ""; position: absolute; left: 50%; width: 72px; height: 1px; transform: translateX(-50%); background: var(--foil); }
#maker > .band-inner::before { top: -1px; } #maker > .band-inner::after { bottom: -1px; }
#maker h2 { margin: 0 auto; max-width: 20ch; font-size: clamp(38px, 3.8vw, 64px); }
#maker .lede { margin: 28px auto 0; }
#maker .lede ~ .lp-p { margin: 16px auto 0; max-width: 62ch; font-size: 15.5px; line-height: 1.7; }
#maker .lp-ways { justify-content: center; }

@media (max-width: 900px) {
  #silence .lp-cards, #fix .lp-cards { grid-template-columns: 1fr; }
  #silence .lp-card { border-right: 0; border-bottom: 1px solid var(--line); }
  #fix .lp-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #fix .lp-stat b { font-size: 38px; }
  #fix .lp-stat:nth-child(2) { border-right: 0; }
  #fix .lp-cards { gap: 22px; text-align: left; }
}

/* ============================================================ the opening
   18-Oct (Savio: "a kickstart opening - it's time to build your brand authority, welcome to
   AdvisorLab"). The first screen joins the black-and-gold rooms below it: the gold seal, a
   welcome line between two hairlines, the promise in foil, one sentence, two asks and a quiet
   row of promises. 26-Oct: the four figures sit on this screen again (see #hero #stats). */
#hero {
  --paper: #f4eee2; --paper-2: #c9c2b2; --gold-2: #e8cb6a;
  --foil: linear-gradient(100deg, #8a6716 0%, #c9a227 30%, #f0d98a 50%, #c9a227 70%, #8a6716 100%);
  background: radial-gradient(ellipse 60% 50% at 50% -6%, rgba(201, 162, 39, .17), transparent 70%),
              radial-gradient(ellipse 120% 80% at 50% 50%, transparent 40%, rgba(0, 0, 0, .55) 100%),
              linear-gradient(180deg, #0d0d10 0%, #08080a 100%);
  padding: 110px 28px 96px;
}
#hero #mosaic:not(.wall) { opacity: .085; }
#hero #mosaic:not(.wall) img { filter: saturate(.35) contrast(1.05); }   /* the old faint field only: on the wall it drained 65% of the colour (26-Oct) */
#hero #aurora::before { opacity: .12; } #hero #aurora::after { opacity: .08; }
#hero .hero-inner { max-width: 1100px; }
#hero .hero-inner::before {
  content: ""; display: block; width: 58px; height: 58px; margin: 0 auto 26px;
  background: url(monogram.svg) center / contain no-repeat; opacity: .92;
}
#hero #hero-kicker { color: var(--gold-2); letter-spacing: .34em; font-size: 12px; display: inline-flex; align-items: center; }
#hero #hero-kicker::after { content: ""; display: inline-block; vertical-align: middle; width: 0; height: 1px; background: var(--gold); margin-left: 0;
  transition: width .8s cubic-bezier(.2,.7,.2,1) 200ms, margin .8s cubic-bezier(.2,.7,.2,1) 200ms; }
body.ready #hero #hero-kicker::after { width: 28px; margin-left: 12px; }
#hero #hero-line { font-size: clamp(48px, 5.7vw, 108px); line-height: 1.04; letter-spacing: -.02em; color: var(--paper);
  margin: 24px auto 0; text-wrap: balance; }
#hero #hero-line i { color: inherit; display: block; }   /* the promise sits alone on its own line, in foil */
#hero #hero-line i .w { background: var(--foil); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .04em; }
#hero .lede { color: var(--paper-2); font-size: clamp(17px, 1.25vw, 21px); line-height: 1.6; max-width: 50ch; margin-top: 30px; }
#hero #hero-ways { margin-top: 38px; }
#hero .ways a { border-color: var(--gold); color: var(--gold-2); background: transparent; padding: 15px 26px; }
#hero .ways a.primary { background: var(--foil); color: #141210; border-color: transparent; font-weight: 500; }
#hero .ways a:hover { background: var(--gold-2); color: #141210; }
#hero .hero-note.promises { margin-top: 30px; max-width: none; display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: 10px 16px; font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
#hero .hero-note.promises em { font-style: normal; }
#hero .hero-note.promises i { width: 4px; height: 4px; border-radius: 50%; background: var(--gold); opacity: .8; }
/* 26-Oct (Savio: one screen, then the bundles): the four figures are back on the opening, in a
   hairline row under the promises - the bundles and posts counted, 365+ and 48 h as written */
#hero #stats { margin: 34px auto 0; max-width: 980px; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 0;
  border-top: 1px solid rgba(201, 162, 39, .28); border-bottom: 1px solid rgba(201, 162, 39, .28); }
#hero #stats li { padding: 20px 10px 18px; border-right: 1px solid rgba(201, 162, 39, .18); }
#hero #stats li:last-child { border-right: 0; }
#hero #stats b { font: 400 clamp(30px, 3.2vw, 50px)/1 var(--serif); white-space: nowrap;
  background: var(--foil); -webkit-background-clip: text; background-clip: text; color: transparent; }
#hero #stats span { margin-top: 8px; font-size: 11px; letter-spacing: .14em; color: var(--muted); }
@media (max-width: 720px) {
  #hero #stats { margin-top: 26px; }
  #hero #stats li { padding: 16px 4px 14px; }
  #hero #stats b { font-size: 30px; }
  #hero #stats span { font-size: 9.5px; letter-spacing: .08em; }
}
@media (max-width: 720px) {
  #hero { padding: 96px 20px 84px; }
  #hero .hero-inner::before { width: 46px; height: 46px; margin-bottom: 20px; }
  #hero #hero-kicker { letter-spacing: .24em; font-size: 11px; }
  #hero #hero-line { font-size: clamp(42px, 12vw, 60px); }
  #hero { padding-top: 84px; padding-bottom: 64px; }
  #hero .hero-inner::before { width: 40px; height: 40px; margin-bottom: 14px; }
  #hero #hero-line { margin-top: 16px; }
  #hero .lede { font-size: 16px; margin-top: 20px; }
  #hero #hero-ways { margin-top: 26px; }
  #hero .hero-note.promises { margin-top: 22px; gap: 6px 10px; font-size: 10px; letter-spacing: .12em; }
  #hero .hero-note.promises em:last-child { flex-basis: 100%; }
  #hero .hero-note.promises i:last-of-type { display: none; }
}

/* ============================================================ the wall (26-Oct)
   Savio: "the first page should land very hard", then "keep it straight so all the images are
   filled up... no dark layer... crystal clear like the walkthrough". Straight rows of the real
   cards, edge to edge, at full clarity - no tilt, no blur, no dimming, no veil - each mounted with
   a thin ivory edge; mosaic() writes each track twice so -50% is one seamless lap. The promise sits
   on a solid foil-edged plaque in the middle. Transform-only motion. */
#hero #mosaic.wall {
  inset: 0; opacity: 1; display: flex; flex-direction: column; justify-content: flex-start; gap: 14px; padding-top: var(--bar, 76px);   /* the wall starts under the top bar, never behind it */
  transform: none; animation: none; mask-image: none; -webkit-mask-image: none; overflow: hidden;
}
#hero .wall-row { display: flex; gap: 14px; width: max-content; flex: none; animation: wall-left 160s linear infinite; will-change: transform; }
#hero .wall-row.back { animation-name: wall-right; animation-duration: 190s; }
/* four rows fill the screen below the bar exactly (26-Oct, Savio: four lines of images) */
#hero .wall-row img { width: max(170px, calc((100vh - var(--bar, 76px) - 34px) / 4));   /* a hair over, so the last row runs off the foot: no gap */ height: auto; aspect-ratio: 1; object-fit: cover;
  border-radius: 2px; box-shadow: 0 0 0 3px #efe8d8; }                     /* mounted like a print */
#hero .wall-row img { opacity: 0; transition: opacity .7s ease, transform .25s ease, box-shadow .25s ease; } #hero .wall-row img.in { opacity: 1; }
/* 26-Oct (Savio): the ROW under the pointer holds still (the others keep gliding) and the card under it
   pops up a fifth bigger, so a visitor can look at it - hover only, so phones see nothing different.
   The plaque leans toward the pointer like the bundle covers do (the tilt script names .hero-inner). */
@media (hover: hover) {
  #hero .wall-row:hover { animation-play-state: paused; }
  #hero .wall-row img { position: relative; cursor: default; }
  #hero .wall-row img:hover { transform: translateY(-12px) scale(1.2); z-index: 3; box-shadow: 0 0 0 3px #efe8d8, 0 0 0 4px rgba(201, 162, 39, .6), 0 30px 56px rgba(0, 0, 0, .75); }
  #hero:has(#mosaic.wall) .hero-inner { transition: transform .35s ease, box-shadow .35s ease; transform-style: preserve-3d; will-change: transform; }
}
/* Savio (26-Oct): the cards exactly as they are - no filter of any kind, and the page's 5% paper grain
   (fixed over everything) is left off while the wall is on the page */
#hero #mosaic.wall img { filter: none; }
body:has(#mosaic.wall) #grain { display: none; }
@keyframes wall-left { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes wall-right { from { transform: translateX(-50%); } to { transform: translateX(0); } }
@media (prefers-reduced-motion: reduce) { #hero .wall-row { animation: none; } }
/* the hero of the hero (26-Oct, Savio: "make it pop out, stand out"): a solid black plaque on a 2 px
   foil edge whose light travels slowly round it, a black mat and a second gold frame, a strong gold
   glow and a deep shadow that lifts it off the wall */
#hero:has(#mosaic.wall) .hero-inner { position: relative; max-width: 860px;
  padding: clamp(18px, 2.6vh, 34px) clamp(26px, 3.4vw, 50px) clamp(16px, 2.4vh, 28px);
  border: 2px solid transparent;
  background: linear-gradient(#070709, #070709) padding-box,
              linear-gradient(120deg, #7a5812, #c9a227 18%, #fff1bf 30%, #c9a227 42%, #7a5812 55%, #c9a227 72%, #fff1bf 84%, #7a5812) border-box;
  background-size: 100% 100%, 300% 300%; animation: plaque-foil 9s ease-in-out infinite alternate;
  box-shadow: 0 0 0 10px #070709, 0 0 0 11px #d4af37, 0 0 0 12px #070709,
              0 0 60px 6px rgba(212, 175, 55, .55), 0 0 160px 20px rgba(212, 175, 55, .28), 0 40px 90px 10px rgba(0, 0, 0, .75); }
@keyframes plaque-foil { from { background-position: 0 0, 0% 50%; } to { background-position: 0 0, 100% 50%; } }
@media (prefers-reduced-motion: reduce) { #hero:has(#mosaic.wall) .hero-inner { animation: none; } }
#hero:has(#mosaic.wall) .hero-inner::before { width: clamp(34px, 4vh, 46px); height: clamp(34px, 4vh, 46px); margin-bottom: clamp(8px, 1.2vh, 14px); }
#hero:has(#mosaic.wall) #hero-line { font-size: clamp(34px, min(3.9vw, 6.2vh), 66px); line-height: 1.06; margin-top: clamp(8px, 1.2vh, 14px); color: #fffaf0; }
#hero:has(#mosaic.wall) #hero-line i { display: block; }     /* "Without the work." answers the line, on its own, in foil */
#hero:has(#mosaic.wall) #hero-line i .w { background: linear-gradient(100deg, #b8892a 0%, #f6e3a1 36%, #fff4cf 50%, #e9c869 64%, #b8892a 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent; }
#hero:has(#mosaic.wall) .lede { margin-top: clamp(10px, 1.6vh, 18px); max-width: 60ch; font-size: clamp(14px, 1.7vh, 17px); line-height: 1.5; color: #ddd6c6; }
/* the three struggles in the visitor's own words, each answered underneath (26-Oct) */
#hero .solves { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: 820px; margin: clamp(12px, 1.8vh, 20px) auto 0;
  border-top: 1px solid rgba(212, 175, 55, .35); border-bottom: 1px solid rgba(212, 175, 55, .35);
  opacity: 0; transform: translateY(14px); transition: opacity 1s ease 600ms, transform 1s ease 600ms; }
body.ready #hero .solves { opacity: 1; transform: none; }
#hero .solve { padding: clamp(9px, 1.3vh, 14px) 10px; border-right: 1px solid rgba(212, 175, 55, .2); }
#hero .solve:last-child { border-right: 0; }
#hero .solve .q { margin: 0; font: italic 400 clamp(15px, 1.15vw, 18px)/1.25 var(--serif); color: #f4eee2; }
#hero .solve .a { margin: 6px 0 0; font-size: 12px; line-height: 1.4; color: var(--gold-2); }
#hero .solve .a::before { content: "\2713"; margin-right: 6px; font-weight: 600; }
@media (prefers-reduced-motion: reduce) { #hero .solves { opacity: 1; transform: none; transition: none; } }
#hero:has(#mosaic.wall) #hero-ways { margin-top: clamp(12px, 1.8vh, 22px); }
#hero:has(#mosaic.wall) .hero-note.promises { margin-top: clamp(10px, 1.5vh, 18px); }
#hero .hero-note.promises em:first-child { color: var(--gold-2); }   /* the price leads the promises */
#hero:has(#mosaic.wall) #stats { display: none; }   /* the panel is the promise alone (Savio's pick); the figures live in its sentence */
#hero:has(#mosaic.wall) .scroll-hint { display: none; }   /* the moving wall already says there is more */
/* a phone: no plaque over the wall - two straight rows across the top, clear, the words beneath them */
@media (max-width: 720px) {
  #hero:has(#mosaic.wall) { place-items: start center; padding-top: 330px; }
  #hero #mosaic.wall { inset: 64px 0 auto 0; height: 262px; gap: 10px; padding-top: 4px; }
  #hero .wall-row { gap: 10px; }
  #hero .wall-row:nth-child(n+3) { display: none; }
  #hero .wall-row img { width: 122px; box-shadow: 0 0 0 2px #efe8d8; }
  #hero:has(#mosaic.wall) .hero-inner { padding: 0 2px; background: none; border: 0; box-shadow: none; }
  #hero:has(#mosaic.wall) .hero-inner::before { display: none; }
  #hero:has(#mosaic.wall) #hero-line { font-size: clamp(34px, 9.6vw, 44px); margin-top: 14px; }
  /* a phone puts the asks straight under the headline, so they are on the first screen; the
     struggles and the maker line follow as the visitor scrolls */
  #hero:has(#mosaic.wall) .hero-inner { display: flex; flex-direction: column; }
  #hero:has(#mosaic.wall) #hero-ways { order: 3; margin-top: 22px; }
  #hero:has(#mosaic.wall) .hero-note.promises { order: 4; }
  #hero:has(#mosaic.wall) .solves { order: 5; }
  #hero:has(#mosaic.wall) .lede { order: 6; }
  #hero .solves { grid-template-columns: 1fr; margin-top: 22px; text-align: left; }
  #hero .solve { padding: 9px 4px; border-right: 0; border-bottom: 1px solid rgba(212, 175, 55, .18); display: flex; gap: 10px; align-items: baseline; }
  #hero .solve:last-child { border-bottom: 0; }
  #hero .solve .q { font-size: 15px; flex: 0 0 46%; }
  #hero .solve .a { margin: 0; font-size: 12px; }
}

/* ============================================================ in your name
   18-Oct (Savio: "four images on the 16-inch screen, one line, Next for the next four...
   everything fits, nothing cut, no scrolling"). Title, the four boxes on one line, one row of
   big cards sized to whatever height is left, then Next. --c is the card's side. */
#yn-cards { --per: 4; display: grid; grid-template-columns: repeat(var(--per), minmax(0, 1fr)); gap: 20px; }
.yn-card { margin: 0; }          /* a figure's default 40px side margin shrank the cards */
.yn-card.off { display: none; }
.yn-card.in-r { animation: yn-in-r .5s cubic-bezier(.2,.7,.2,1) both; }
.yn-card.in-l { animation: yn-in-l .5s cubic-bezier(.2,.7,.2,1) both; }
.yn-card.in-r:nth-child(4n+2), .yn-card.in-l:nth-child(4n+2) { animation-delay: 60ms; }
.yn-card.in-r:nth-child(4n+3), .yn-card.in-l:nth-child(4n+3) { animation-delay: 120ms; }
.yn-card.in-r:nth-child(4n+4), .yn-card.in-l:nth-child(4n+4) { animation-delay: 180ms; }
@keyframes yn-in-r { from { opacity: 0; transform: translateX(28px); } to { opacity: 1; transform: none; } }
@keyframes yn-in-l { from { opacity: 0; transform: translateX(-28px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .yn-card.in-r, .yn-card.in-l { animation: none; } }
.yn-card figcaption { text-align: center; padding: 10px 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#yn-nav { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 18px; }
#yn-nav[hidden] { display: none; }
#yn-nav button { font: 500 13px var(--sans); letter-spacing: .08em; color: var(--gold-2); background: transparent; border: 1px solid var(--gold); border-radius: 999px; padding: 10px 20px; cursor: pointer; }
#yn-nav .yn-prev { padding: 10px 16px; }
#yn-nav button:hover { background: var(--gold-2); color: #141210; }
#yn-nav .yn-dots { display: flex; gap: 8px; }
#yn-nav .yn-dots button { width: 8px; height: 8px; padding: 0; border-radius: 50%; border: 0; background: rgba(242, 236, 223, .22); }
#yn-nav .yn-dots button.on { background: var(--gold); width: 22px; border-radius: 4px; }
#yn-nav .yn-count { font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); min-width: 5.5em; }
#yourname .lp-p { text-align: center; margin: 16px auto 0; max-width: 70ch; }
#yourname .lp-ways { justify-content: center; margin-top: 14px; }
@media (min-width: 901px) {
  #yourname { min-height: 100vh; display: flex; align-items: center; box-sizing: border-box; padding: 82px 28px 22px; }
  #yourname > .band-inner { width: 100%; max-width: none; text-align: center;
    --c: max(200px, min(calc((100vw - 56px - 3 * 20px) / 4), calc(100vh - 560px))); }
  #yourname h2 { max-width: none; margin-inline: auto; font-size: clamp(34px, 3.4vw, 58px); }
  #yourname .lede { margin: 12px auto 0; max-width: none; }
  #yourname #yn-form { grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: calc(4 * var(--c) + 60px); margin: 22px auto 22px; text-align: left; gap: 12px; }
  #yourname #yn-form label { gap: 6px; }
  #yourname #yn-form input { padding: 10px 12px; }
  #yourname #yn-cards { grid-template-columns: repeat(var(--per), var(--c)); justify-content: center; }
  #yourname #yn-fine { margin-top: 10px; font-size: 11px; }
  /* the WhatsApp ask shares one line with its button */
  #yourname .lp-p { display: inline-block; vertical-align: middle; margin: 16px 16px 0 0; max-width: 60ch; text-align: left; }
  #yourname .lp-ways { display: inline-flex; vertical-align: middle; margin-top: 16px; }
}
@media (max-width: 900px) {
  #yn-cards { gap: 14px; }
  #yn-form { margin: 26px 0 22px; }
}
@media (max-width: 619px) { #yn-nav { gap: 14px; } #yn-nav .yn-dots { display: none; } }   /* one card a round: the count says where you are */

/* 18-Oct (Savio: "too small... two images on each page"): two big cards a page. On a laptop
   the words, the four boxes and the ask stand in a column on the left; the cards fill the
   rest of the screen, so a card is about 600px on a 16" and 460px on a 14", no scrolling. */
@media (min-width: 901px) {
  #yourname > .band-inner { display: grid; grid-template-columns: minmax(300px, 400px) auto; column-gap: 48px;
    align-items: center; justify-content: center; text-align: left;
    --c: max(240px, min(calc((100vw - 56px - 400px - 48px - 20px) / 2), calc(100vh - 230px))); }
  #yourname .yn-side .kicker { margin: 0; }
  #yourname .yn-side h2 { font-size: clamp(32px, 2.7vw, 48px); margin: 14px 0 0; max-width: 12ch; }
  #yourname .yn-side .lede { font-size: 16px; line-height: 1.55; margin: 14px 0 0; max-width: 34ch; }
  #yourname .yn-side #yn-form { grid-template-columns: 1fr 1fr; max-width: none; margin: 24px 0 0; }
  #yourname .yn-side .lp-p { display: block; margin: 22px 0 0; max-width: 40ch; text-align: left; font-size: 14.5px; }
  #yourname .yn-side .lp-ways { display: flex; justify-content: flex-start; margin-top: 14px; }
  #yourname .yn-side #yn-fine { margin-top: 18px; max-width: 46ch; line-height: 1.5; }
  #yourname .yn-stage #yn-cards { grid-template-columns: repeat(var(--per), var(--c)); justify-content: center; }
}
@media (max-width: 900px) {   /* on a phone the ask follows the cards, as it reads */
  #yourname > .band-inner { display: flex; flex-direction: column; }
  #yourname .yn-side { display: contents; }
  #yourname .yn-stage { order: 1; }
  #yourname .yn-side .lp-p, #yourname .yn-side .lp-ways, #yourname #yn-fine { order: 2; }
}
@media (max-width: 900px) { #yourname #yn-form { grid-template-columns: 1fr 1fr; gap: 10px; } #yourname #yn-form input { min-width: 0; padding: 10px 11px; } }

/* 18-Oct (Savio: "the dots and the yellow item on the right... I think we could skip that"):
   the all-bundles screen after the deck now does the rail's job with real pictures, so the
   rail is hidden on every screen. Delete this rule to bring it back. */
#rail { display: none !important; }

/* 18-Oct: "download all 12 in my name" - the button under the boxes, the form in a dialog */
#yourname .yn-dl-ways { display: flex; margin-top: 18px; }
#yourname .yn-dl-ways a.primary { background: linear-gradient(100deg, #8a6716 0%, #c9a227 30%, #f0d98a 50%, #c9a227 70%, #8a6716 100%); color: #141210; border-color: transparent; font-weight: 500; }
#yourname .yn-side .lp-ways a { background: transparent; color: var(--gold-2); border-color: var(--gold); }
#yn-dlg { width: min(480px, calc(100vw - 32px)); border: 1px solid rgba(201, 162, 39, .35); border-radius: 10px; padding: 0;
  background: #0d0d10; color: #f4eee2; box-shadow: 0 40px 120px rgba(0, 0, 0, .7); }
#yn-dlg::backdrop { background: rgba(0, 0, 0, .7); backdrop-filter: blur(3px); }
#yn-dlg form { position: relative; display: grid; gap: 12px; padding: 30px 28px 24px; }
#yn-dlg .x { position: absolute; top: 10px; right: 12px; width: 34px; height: 34px; border: 0; background: transparent; color: #8f8a7e; font-size: 24px; cursor: pointer; }
#yn-dlg .x:hover { color: #f4eee2; }
#yn-dlg .kicker { color: #e8cb6a; margin: 0; }
#yn-dlg h3 { font: 400 34px/1.1 var(--serif); margin: 2px 0 0; }
#yn-dlg .line { color: #c9c2b2; font-size: 14.5px; line-height: 1.55; margin: 0 0 4px; }
#yn-dlg label { display: grid; gap: 6px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: #8f8a7e; }
#yn-dlg input { background: #17171b; border: 1px solid rgba(242, 236, 223, .12); border-radius: 6px; color: #f4eee2; font: 16px var(--sans); padding: 11px 12px; }
#yn-dlg input:focus { outline: 1px solid #c9a227; }
#yn-dlg .trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
#yn-dlg .msg { min-height: 1.2em; margin: 0; font-size: 13.5px; color: #e8cb6a; }
#yn-dlg .go { margin-top: 2px; border: 0; border-radius: 999px; padding: 14px 22px; font: 500 14px var(--sans); letter-spacing: .04em; cursor: pointer; color: #141210;
  background: linear-gradient(100deg, #8a6716 0%, #c9a227 30%, #f0d98a 50%, #c9a227 70%, #8a6716 100%); }
#yn-dlg .go:disabled { opacity: .6; cursor: wait; }
#yn-dlg .note { margin: 2px 0 0; font-size: 12px; line-height: 1.5; color: #8f8a7e; }

/* 18-Oct: "5 topics" beside a theme that the Studio splits into topics */
.themes .topics-n { font-style: normal; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); opacity: .8; margin-left: 8px; white-space: nowrap; }

/* ============================================================ three screens after the bundles
   26-Oct (Savio: "finish everything in 3 pages after the 18 bundles", with the founder, and the
   order on the right of "see it"). Each screen is compact: a band's usual 12vh padding is halved. */
#founder, #proof, #plans, #buy { padding: clamp(44px, 6.5vh, 84px) 28px; }
#founder, #proof, #buy { background: var(--ink); }
#founder.alt, #buy.alt { background: var(--ink-2); }

/* screen 1: the founder (photo left, story right) and under the story, how it works */
/* 26-Oct (Savio): the portrait a little bigger, and at the vertical middle of the screen beside the story */
.founder-grid { display: grid; grid-template-columns: minmax(300px, 450px) 1fr; column-gap: clamp(32px, 4vw, 64px); align-items: center; }
.founder-photo { position: relative; aspect-ratio: 4 / 5; border-radius: 4px; overflow: hidden; background: var(--ink-3);
  box-shadow: 0 0 0 1px rgba(201, 162, 39, .55), 0 0 0 7px var(--ink-2), 0 0 0 8px rgba(201, 162, 39, .3), 0 30px 70px rgba(0, 0, 0, .6); }
.founder-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.founder-photo.wait { display: grid; place-items: center; background: radial-gradient(ellipse at 50% 30%, #1d1b16, #0f0e0c 70%); }
.founder-photo.wait span { font: italic 400 18px var(--serif); color: var(--gold-2); letter-spacing: .04em; }
.founder-photo.wait::before { content: ""; position: absolute; inset: 14px; border: 1px dashed rgba(201, 162, 39, .35); border-radius: 2px; }
#founder h2 { font-size: clamp(32px, 3vw, 46px); margin: 10px 0 0; }
#founder .f-role { margin: 8px 0 0; font: italic 400 17px/1.4 var(--serif); color: var(--gold-2); }
#founder .f-paras { margin-top: 16px; display: grid; gap: 10px; max-width: 64ch; }
#founder .f-paras p { margin: 0; color: var(--paper-2); font-size: 15px; line-height: 1.6; }
#founder .f-paras p:first-child { color: var(--paper); font-size: 16px; }
#founder .f-how { margin-top: 22px; padding-top: 18px; border-top: 1px solid rgba(201, 162, 39, .28); }
#founder .f-how h3 { margin: 6px 0 0; font: 400 clamp(22px, 1.8vw, 28px)/1.15 var(--serif); color: var(--paper); }
#founder .f-how h3 i { font-style: italic; color: var(--gold-2); }
.how-cards { margin-top: 14px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.how-card { position: relative; border: 1px solid var(--line); border-radius: 6px; padding: 14px 14px 12px; background: rgba(0, 0, 0, .25); }
.how-card .n { display: block; font: italic 400 15px/1 var(--serif); color: var(--gold); margin-bottom: 8px; }
.how-card h4 { margin: 0; font: 500 16px/1.2 var(--serif); color: var(--paper); }
.how-card p { margin: 6px 0 0; font-size: 12.5px; line-height: 1.45; color: var(--paper-2); }
#founder #fh-note { margin: 12px 0 0; font-size: 13.5px; color: var(--paper-2); }

/* proof: three cards of real words; a sample says so until it is replaced */
#proof .lede { max-width: 60ch; }
.reviews { margin-top: 24px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.review { position: relative; margin: 0; border: 1px solid var(--line); border-radius: 8px; padding: 22px 22px 18px; background: var(--ink-2); }
.review::before { content: "\201C"; position: absolute; top: 2px; left: 14px; font: 400 64px/1 var(--serif); color: rgba(201, 162, 39, .35); }
.review blockquote { margin: 14px 0 0; font: italic 400 17px/1.5 var(--serif); color: var(--paper); }
.review figcaption { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); display: grid; gap: 2px; }
.review figcaption strong { font: 500 14px var(--sans); color: var(--paper); }
.review figcaption span { font-size: 12px; color: var(--muted); }
.review.sample { border-style: dashed; border-color: rgba(201, 162, 39, .45); }
.review.sample blockquote, .review.sample figcaption strong { color: var(--muted); }
.rv-tag { position: absolute; top: -10px; right: 14px; padding: 3px 10px; border-radius: 999px; background: var(--gold); color: var(--ink);
  font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; }

/* screen 2: plans, trimmed */
#plans .lp-plans { margin-top: 26px; }
#plans .lp-note { margin-top: 18px; font-size: 14px; }
#plans .lp-list-title { margin-top: 22px; font-size: 19px; }
#plans .lp-list { margin-top: 8px; font-size: 14.5px; line-height: 1.55; columns: 2; column-gap: 32px; max-width: none; }
#plans .lp-list li { break-inside: avoid; }
#plans .lp-ways { margin-top: 18px; }

/* screen 3 and 4 (26-Oct, Savio: "see your image full screen and bigger, as before... the order after that"):
   #yourname keeps its own full-screen layout (above); the order is its own screen, the contact buttons under the form */
#order { padding: clamp(44px, 6.5vh, 84px) 28px; }
#order .o-ways { margin-top: 18px; justify-content: flex-start; }
#order #o-reach { margin-top: 10px; font-size: 13px; color: var(--paper-2); max-width: 70ch; }
/* the questions and the terms: one closed line each, open on a click */
.band.fold { padding: 18px 28px; border-top: 1px solid var(--line); }
.band.fold + .band.fold { border-top: 0; }
.fold-box summary { list-style: none; cursor: pointer; display: flex; align-items: baseline; gap: 18px; padding: 14px 0; }
.fold-box summary::-webkit-details-marker { display: none; }
.fold-box summary .kicker { margin: 0; flex: 0 0 auto; }
.fold-box summary .fold-title { font: 400 clamp(22px, 2vw, 30px)/1.2 var(--serif); color: var(--paper); flex: 1 1 auto; }
.fold-box summary::after { content: "+"; font: 300 30px/1 var(--serif); color: var(--gold); transition: transform .25s; }
.fold-box[open] summary::after { transform: rotate(45deg); }
.fold-box .faq { margin-top: 6px; }
.fold-body { padding: 6px 0 18px; }
.fold-body .lede { font-size: 15px; }
.fold-body .lp-p { font-size: 14.5px; }
@media (max-width: 900px) {
  .founder-grid { grid-template-columns: 1fr; row-gap: 22px; }
  .founder-photo { max-width: 300px; }
  .how-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .reviews { grid-template-columns: 1fr; }
  #plans .lp-list { columns: 1; }
  .fold-box summary { flex-wrap: wrap; gap: 6px 14px; }
}

/* 26-Oct, measured at 1440x900: each of the three screens close to one screen tall */
#plans h2, #buy > .band-inner > h2 { font-size: clamp(28px, 2.8vw, 42px); max-width: none; }
#plans .lede, #plans .lede ~ .lp-p { font-size: 15px; line-height: 1.5; max-width: 80ch; margin-top: 10px; }
#plans .lp-plans { margin-top: 20px; gap: 12px; }
#plans .lp-plan { padding: 22px 14px 16px; }
#plans .lp-plan .price { font-size: 30px; margin-top: 12px; }
#plans .lp-note { margin-top: 14px; font-size: 13.5px; max-width: none; }
#plans .lp-list-title { margin-top: 16px; font-size: 17px; }
#plans .lp-list { margin-top: 6px; font-size: 14px; line-height: 1.5; }
#plans .lp-p { font-size: 14.5px; margin-top: 12px; }
#plans .lp-ways { margin-top: 14px; }
#proof { padding-top: 0; }
#proof .kicker { margin: 0; }
#proof h2 { font-size: clamp(22px, 2.2vw, 30px); margin-top: 6px; max-width: none; }
#proof .lede { font-size: 14px; margin-top: 6px; }
.reviews { margin-top: 16px; }
.review { padding: 18px 18px 14px; }
.review blockquote { font-size: 15px; margin-top: 10px; }
.review figcaption { margin-top: 10px; padding-top: 8px; }
#buy .buy-grid { margin-top: 18px; }
#buy .o-fields label.wide { grid-column: auto; }    /* "anything else" shares a row with the email */
#buy .o-fields { gap: 8px 12px; }
#buy #yourname .yn-side .lede, #buy #order .lede { font-size: 14px; }

/* ============================================================ the tab bar and the pages behind it (27-Oct)
   SITE_PLAN.md step A: six tabs under the wordmark on every page; the pages not built yet are one screen
   each ("coming soon"), About is half a screen. The content-packs page keeps its section links. */
#top { flex-wrap: wrap; }
/* 27-Oct (Savio): the tabs stand on the top line beside the wordmark; the section links are gone */
#tabs { display: flex; gap: clamp(14px, 2vw, 30px); margin-left: auto;
  font-size: 12px; letter-spacing: .12em; text-transform: uppercase; overflow-x: auto; scrollbar-width: none; }
#tabs::-webkit-scrollbar { display: none; }
#tabs a { flex: 0 0 auto; padding: 6px 0 7px; color: var(--paper-2); white-space: nowrap; border-bottom: 2px solid transparent; opacity: .85; }
#tabs a:hover { color: var(--paper); opacity: 1; }
#tabs a.on { color: var(--paper); border-color: var(--gold); opacity: 1; }
#tabs a small { font-size: 9px; letter-spacing: .14em; color: var(--gold-2); margin-left: 7px; vertical-align: 1px;
  border: 1px solid rgba(201, 162, 39, .5); border-radius: 999px; padding: 1px 6px; }
#hero:has(#mosaic.wall) { --bar: 80px; }      /* the wall starts under the bar (one line again) */
@media (max-width: 720px) {
  /* a phone cannot hold the wordmark and six tabs on one line: the tabs are a scrolling row under it */
  #tabs { flex-basis: 100%; margin-left: 0; margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--line); gap: 18px; font-size: 11px; }
  #hero:has(#mosaic.wall) { --bar: 124px; padding-top: 404px; }
  #hero #mosaic.wall { inset: 124px 0 auto 0; }
}
/* the simple pages */
body.subpage { background: var(--ink); }
.page { padding-top: 104px; min-height: 100vh; }
.page .band { padding: clamp(36px, 6vh, 72px) 28px clamp(60px, 9vh, 110px); }
.page h2 { font-size: clamp(34px, 3.6vw, 56px); margin-top: 10px; max-width: 22ch; }
.page h2 i { font-style: italic; color: var(--gold-2); }
.page .lede { margin-top: 18px; max-width: 62ch; }
.page .lp-p { margin-top: 12px; max-width: 62ch; color: var(--paper-2); }
.page .ways { margin-top: 28px; }
.page .kicker + .lede { margin-top: 10px; }
.about-grid { display: grid; grid-template-columns: 180px 1fr; gap: clamp(22px, 3vw, 40px); align-items: start; margin-top: 22px; }
.about-photo { aspect-ratio: 4 / 5; overflow: hidden; border-radius: 3px;
  box-shadow: 0 0 0 1px rgba(201, 162, 39, .55), 0 0 0 6px var(--ink), 0 0 0 7px rgba(201, 162, 39, .3), 0 20px 50px rgba(0, 0, 0, .55); }
.about-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.about-bio .lede { margin-top: 0; }
.page .about-products { margin-top: 14px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.page .about-products .lp-card { display: flex; flex-direction: column; gap: 6px; padding: 20px; }
.page .about-products .lp-card p { flex: 1; font-size: 14px; }
.page .about-products .card-go { margin-top: 8px; font-size: 12.5px; letter-spacing: .06em; color: var(--gold-2); }
.page .about-products .lp-card:hover { border-color: var(--gold); }
.page .kicker:not(:first-child) { margin-top: 36px; }
@media (max-width: 900px) { .page .about-products { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 720px) {
  .page { padding-top: 118px; }
  .about-grid { grid-template-columns: 1fr; } .about-photo { max-width: 200px; }
  .page .about-products { grid-template-columns: 1fr; }
}

/* ------------------------------------------------ the Book summaries page (27-Oct, BOOKS_PAGE_DESIGN.md) */
body.bk .page .band { padding: clamp(64px, 10vh, 130px) 28px; }
body.bk .page { padding-top: 80px; }
.bk-draft { margin: 0; padding: 8px 16px; background: #5a1d1d; color: #ffd9d0; text-align: center; font-size: 13px; letter-spacing: .04em; }
.bk-hero { position: relative; min-height: min(calc(100vh - var(--bar, 80px)), 900px); display: grid; grid-template-columns: 1.12fr 1fr; align-items: center; gap: clamp(24px, 4vw, 64px); padding: 32px clamp(16px, 5vw, 80px) 56px; overflow: hidden;
  background: radial-gradient(ellipse 70% 60% at 28% 18%, rgba(229, 198, 90, .13), transparent 62%), var(--ink); }
.bk-stage { position: relative; height: min(80vh, 720px); container-type: size; }
/* two cascades of five (Savio, 27-Oct: ten bestsellers, every title readable): page --i of cascade --col sits
   a step lower and a little right of the one before, over it, so each first page's top band stays in view */
.bk-fan { position: absolute; inset: 0; --w: min(38cqw, 36cqh); --dy: calc(var(--w) * .29); --sx: 1.6cqw; --gap: 50cqw; --k: 1; }
.bk-page { position: absolute; margin: 0; width: var(--w); aspect-ratio: 990 / 1400; background: #fff; z-index: calc(var(--i) + 1);
  left: calc(3cqw + var(--col) * var(--gap) + var(--i) * var(--sx));
  --top: calc((100cqh - var(--w) * 1.414 - var(--dy) * 4.5) / 2 + (var(--i) + var(--col) * .5) * var(--dy) * var(--k));
  top: var(--top);
  transform: rotate(calc(var(--tilt) * 1deg));
  box-shadow: 0 0 0 4px #fff, 0 22px 46px rgba(0, 0, 0, .55);
  transition: top .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1);
  animation: bk-float 7s ease-in-out infinite; animation-delay: calc(var(--n) * -0.7s); }
.bk-page img { position: relative; width: 100%; height: 100%; object-fit: cover; }
/* Book summaries (Savio, 27-Oct): each cover a small booklet, its next two pages fanned out behind it to the
   right; --u 1 is the page just under the cover, 2 the one under that */
.bk-booklet { background: none; box-shadow: none; }
.bk-booklet img { box-shadow: 0 0 0 4px #fff, 0 22px 46px rgba(0, 0, 0, .55); background: #fff; }
.bk-under { position: absolute; inset: 0; background: #fff center / cover no-repeat;
  box-shadow: 0 0 0 4px #fff, 0 14px 30px rgba(0, 0, 0, .45);
  transform: translate(calc(var(--u) * var(--w) * .075), calc(var(--u) * var(--w) * .03)) rotate(calc(var(--u) * 3deg));
  filter: brightness(calc(1 - var(--u) * .09)); transition: transform .7s cubic-bezier(.2, .7, .2, 1); }
.bk-fan:hover .bk-under { transform: translate(calc(var(--u) * var(--w) * .1), calc(var(--u) * var(--w) * .03)) rotate(calc(var(--u) * 3.6deg)); }
.bk-fan:hover { --k: 1.07; }
.bk-fan:hover .bk-page { animation-play-state: paused; transform: rotate(0deg); }
/* the hand of cards on hover (Savio, 27-Oct, Option A): the cursor on a book brings its cover up in the middle of
   the hero, and its page of points and closing page rise from behind it and fan out left and right, a moment
   later each; the rest of the hero dims. Off the book, they sink back. The cards let the cursor through, so the
   hover stays on the small book and moving to the next book's top band shows that one. Only where there is a mouse. */
.bk-peek { position: absolute; inset: 0; z-index: 30; pointer-events: none; container-type: size; }
.bk-card { position: absolute; left: 50%; top: 50%; margin: 0; height: min(76cqh, 56cqw); aspect-ratio: 990 / 1400; background: #fff;
  box-shadow: 0 0 0 5px #fff, 0 34px 80px rgba(0, 0, 0, .75); opacity: 0; transform: translate(-50%, -38%) scale(.8);
  transition: transform .55s cubic-bezier(.2, .8, .2, 1), opacity .3s ease; }
.bk-card img { display: block; width: 100%; height: 100%; object-fit: cover; }
.bk-card.c1 { z-index: 3; } .bk-card.c2 { z-index: 2; } .bk-card.c3 { z-index: 1; }
.bk-hero.peeking .bk-card { opacity: 1; }
.bk-hero.peeking .c1 { transform: translate(-50%, -50%); }
.bk-hero.peeking .c2 { transform: translate(-112%, -47%) rotate(-7deg); transition-delay: .09s; }
.bk-hero.peeking .c3 { transform: translate(12%, -47%) rotate(7deg); transition-delay: .18s; }
.bk-hero.peeking .bk-page, .bk-hero.peeking .bk-plaque { filter: brightness(.3); }
.bk-plaque { transition: filter .25s; }
.bk-hero.peeking .bk-fan { --k: 1; }
.bk-hero.peeking .bk-fan .bk-page { transform: rotate(calc(var(--tilt) * 1deg)); }
.bk-page { cursor: zoom-in; }
/* "20 points in every book" (Savio, 27-Oct): a gold seal on the fan, and a line under the hand of cards */
.bk-points { position: absolute; z-index: 12; right: 2cqw; bottom: 4cqh; margin: 0; width: clamp(96px, 19cqw, 132px); aspect-ratio: 1;
  border-radius: 50%; background: radial-gradient(circle at 35% 30%, #f0d488, var(--gold) 60%, #a98328); color: var(--ink);
  display: grid; place-content: center; text-align: center; transform: rotate(-8deg);
  box-shadow: 0 0 0 3px rgba(240, 212, 136, .35), 0 14px 30px rgba(0, 0, 0, .55); transition: opacity .25s; }
.bk-points b { font: 600 clamp(34px, 7cqw, 48px)/.9 var(--serif); }
.bk-points span { display: block; margin: 4px auto 0; max-width: 9ch; font-size: clamp(10px, 1.9cqw, 12px); line-height: 1.2; letter-spacing: .06em; text-transform: uppercase; }
.bk-hero.peeking .bk-points { opacity: 0; }
.bk-hand-note { position: absolute; left: 0; right: 0; bottom: 3cqh; margin: 0; text-align: center; color: var(--gold-2);
  font: italic 500 clamp(18px, 2.4cqh, 24px)/1.2 var(--serif); letter-spacing: .02em; opacity: 0; transition: opacity .3s ease .25s; }
.bk-hero.peeking .bk-hand-note { opacity: 1; }
@media (hover: none), (pointer: coarse) { .bk-peek { display: none; } .bk-page { cursor: default; } }
@media (prefers-reduced-motion: reduce) { .bk-card { transition: opacity .2s; } }
/* Infographics (Savio, 27-Oct): no pop-up - the sheet under the cursor rises in its own place in the fan (the
   sheets in front stay in front), by about three-quarters of its height (Savio: "three-fourth higher") but never
   past the top of the fan, and falls back when the cursor leaves; a click or a tap gives it a small rise and fall. The rest of the fan stays still. */
.bk-lift:hover { --k: 1; }
.bk-lift:hover .bk-page { transform: rotate(calc(var(--tilt) * 1deg)); }
.bk-lift .bk-page { cursor: pointer; transition: top .7s cubic-bezier(.2, .7, .2, 1), transform .45s cubic-bezier(.2, .8, .2, 1), box-shadow .45s; }
.bk-lift .bk-page { --lift: max(var(--w) * .12, min(var(--w) * 1.414 * .75, var(--top) - 1cqh)); }
.bk-lift .bk-page:hover { transform: translateY(calc(var(--lift) * -1)) rotate(0deg) scale(1.02);
  box-shadow: 0 0 0 4px #fff, 0 34px 60px rgba(0, 0, 0, .7); }
.bk-lift .bk-page.bump { animation: bk-bump .8s cubic-bezier(.3, .7, .3, 1); }
@keyframes bk-bump { 0%, 100% { translate: 0 0; } 40% { translate: 0 calc(var(--lift) * -1); } }
@media (prefers-reduced-motion: reduce) { .bk-lift .bk-page:hover { transform: rotate(0deg); } .bk-lift .bk-page.bump { animation: none; } }
@keyframes bk-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -9px; } }
@media (prefers-reduced-motion: reduce) { .bk-page { animation: none; transition: none; } }
.bk-plaque h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(40px, 4.8vw, 74px); line-height: 1.03; letter-spacing: -0.015em; margin: 0; max-width: 15ch; }
.bk-plaque h1 i, .bk .band h2 i { font-style: italic; color: var(--gold-2); }
.bk-plaque h1 i { display: block; }
.bk .band h2 { max-width: 24ch; }
.bk .band { scroll-margin-top: calc(var(--bar, 80px) + 30px); }
.bk-plaque .lede { margin: 24px 0 30px; max-width: 46ch; }
.bk-promise { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 13px; letter-spacing: .06em; color: var(--paper-2); }
.bk-promise li::before { content: ""; display: inline-block; width: 5px; height: 5px; margin: 0 9px 2px 0; border-radius: 50%; background: var(--gold); vertical-align: middle; }
.ways button { display: inline-flex; align-items: center; gap: 10px; padding: 13px 22px; border-radius: 999px; border: 1px solid var(--gold); color: var(--gold-2); font-size: 13.5px; letter-spacing: .06em; }
.ways button.primary { background: var(--gold); color: var(--ink); }
.ways button:hover { background: var(--gold-2); color: var(--ink); }

.bk-why h3 { font-style: italic; font-size: 24px; }
.bk-line { margin: 48px 0 0; font: italic 500 clamp(24px, 2.6vw, 34px)/1.25 var(--serif); color: var(--gold-2); }

.bk-spread { margin-top: 48px; display: grid; grid-template-columns: repeat(3, minmax(0, min(30vw, 46vh, 400px))); justify-content: center; gap: clamp(22px, 3vw, 48px); }
.bk-sheet { margin: 0; }
.bk-sheet img { width: 100%; height: auto; aspect-ratio: 990 / 1400; background: #f7f4ec; box-shadow: 0 0 0 5px #fff, 0 26px 60px rgba(0, 0, 0, .5); }
.bk-sheet figcaption { margin: 26px 0 0; padding-top: 14px; border-top: 1px solid var(--gold); font-size: 14.5px; line-height: 1.55; color: var(--paper-2); max-width: 34ch; }
.bk-walk-nav { margin-top: 36px; display: flex; align-items: center; justify-content: center; gap: 22px; }
.bk-walk-nav button { width: 50px; height: 50px; border-radius: 50%; border: 1px solid var(--gold); color: var(--gold-2); font-size: 20px; }
.bk-walk-nav button:hover { background: var(--gold); color: var(--ink); }
.bk-walk-label { margin: 0; min-width: 20ch; text-align: center; font-size: 14px; color: var(--paper-2); letter-spacing: .04em; }
.bk-walk-label b { color: var(--gold); font-weight: 500; }
.bk-walk-label span { font: italic 500 20px var(--serif); color: var(--paper); }
.bk-walk-label em { display: block; font-style: normal; font-size: 12.5px; color: var(--muted); margin-top: 2px; }

.bk-shelves { margin-top: 48px; display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; }
.bk-shelf { flex: 0 1 calc(25% - 15px); display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 8px; padding: 24px 22px 22px; background: var(--ink); }
.bk-covers { display: flex; justify-content: center; height: 150px; margin: 4px 0 22px; }
.bk-covers img { height: 140px; width: auto; aspect-ratio: 339 / 480; box-shadow: 0 0 0 3px #fff, 0 14px 30px rgba(0, 0, 0, .55); transform: rotate(-5deg) translateY(6px); margin: 0 -14px; }
.bk-covers img:nth-child(2) { transform: translateY(-4px); z-index: 1; }
.bk-covers img:nth-child(3) { transform: rotate(5deg) translateY(6px); }
.bk-shelf h3 { font: 500 23px/1.2 var(--serif); margin: 0 0 10px; color: var(--paper); }
.bk-shelf p { margin: 0; color: var(--paper-2); font-size: 14.5px; line-height: 1.55; }
.bk-shelf .bk-taste { margin-top: 12px; font: italic 16px/1.4 var(--serif); color: var(--muted); }
.bk-open { margin-top: auto; padding-top: 18px; align-self: flex-start; color: var(--gold-2); font-size: 13px; letter-spacing: .08em; border-bottom: 1px solid transparent; }
.bk-open:hover { border-bottom-color: var(--gold); }
#bk-drawer { width: min(880px, 94vw); max-height: 86vh; padding: 0; border: 1px solid var(--line); border-radius: 10px; background: var(--ink-2); color: var(--paper); overflow: auto; }
#bk-drawer::backdrop { background: rgba(0, 0, 0, .72); }
.bk-drawer-head { position: sticky; top: 0; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 24px; background: var(--ink-2); border-bottom: 1px solid var(--line); z-index: 1; }
.bk-drawer-head h3 { font: 500 24px var(--serif); margin: 0; }
.bk-close { color: var(--gold-2); font-size: 13px; letter-spacing: .08em; }
#bk-drawer input { display: block; width: calc(100% - 48px); margin: 18px 24px 6px; background: var(--ink-3); border: 1px solid var(--line); border-radius: 6px; color: var(--paper); font: 16px var(--sans); padding: 11px 14px; }
#bk-drawer table { width: calc(100% - 48px); margin: 0 24px 24px; border-collapse: collapse; font-size: 14px; }
#bk-drawer th { text-align: left; font-weight: 500; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); padding: 12px 8px; }
#bk-drawer td { padding: 9px 8px; border-top: 1px solid var(--line); color: var(--paper-2); vertical-align: top; }
#bk-drawer td:first-child { color: var(--gold); font-variant-numeric: tabular-nums; width: 3.5em; }
#bk-drawer td:nth-child(2) { color: var(--paper); }

.bk-editions { margin-top: 48px; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 64px); }
.bk-edition { display: grid; grid-template-columns: minmax(150px, 44%) 1fr; gap: 26px; align-items: center; }
.bk-edition h3 { font: 500 26px/1.2 var(--serif); margin: 0 0 12px; }
.bk-edition p:not(.lp-tag) { margin: 0; color: var(--paper-2); font-size: 15px; line-height: 1.6; }

.bk-steps { counter-reset: step; list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.bk-steps li { font: 500 clamp(20px, 1.9vw, 25px)/1.35 var(--serif); color: var(--paper); }
.bk-steps li::before { counter-increment: step; content: counter(step, decimal-leading-zero); font: italic 500 44px/1 var(--serif); color: var(--gold); display: block; margin-bottom: 14px; }

.bk-yn { margin-top: 44px; display: grid; grid-template-columns: minmax(240px, 320px) 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.bk-yn-form label, .bk-fields label { display: block; font-size: 12.5px; letter-spacing: .06em; color: var(--muted); margin-bottom: 14px; }
.bk-yn-form input, .bk-fields input, .bk-fields textarea { display: block; width: 100%; margin-top: 6px; background: var(--ink-3); border: 1px solid var(--line); border-radius: 6px; color: var(--paper); font: 16px var(--sans); padding: 12px 14px; }
.bk-yn-form input:focus, .bk-fields input:focus, .bk-fields textarea:focus { outline: 1px solid var(--gold); }
.bk-fine { font-size: 12.5px; color: var(--muted); margin: 18px 0 0; }
.bk-yn-pages { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.bk-yn-pages.one { grid-template-columns: minmax(0, 560px); }
.bk-yn-page { position: relative; container-type: inline-size; background: #f7f4ec; box-shadow: 0 0 0 5px #fff, 0 26px 60px rgba(0, 0, 0, .5); }
.bk-yn-page > img:first-child { width: 100%; height: auto; }
.bk-spot { position: absolute; white-space: nowrap; overflow: hidden; }
.bk-sheet-mark { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }

.lp-plan .price.none { font: italic 500 19px/1.3 var(--serif); color: var(--muted); }
.bk-order { margin-top: 36px; max-width: 860px; }
.bk-order fieldset { border: 0; padding: 0; margin: 0 0 26px; }
.bk-order legend { padding: 0; margin-bottom: 12px; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.bk-pill { display: inline-flex; align-items: center; gap: 8px; margin: 0 8px 10px 0; padding: 9px 15px; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; color: var(--paper-2); cursor: pointer; }
.bk-pill input { accent-color: var(--gold); margin: 0; }
.bk-pill small { color: var(--muted); font-size: 12px; }
.bk-pill:has(input:checked) { border-color: var(--gold); color: var(--paper); background: rgba(201, 162, 39, .1); }
.bk-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.bk-fields .wide { grid-column: 1 / -1; }
.bk-order:not(.is-business) .f-tagline, .bk-order.is-business .f-reg { display: none; }
.bk-order:not(.is-pick) .f-picks { display: none; }
.bk-order.is-all .bk-shelf-pick { display: none; }
.bk-shelf-pick .bk-fine { margin: 0 0 14px; max-width: 70ch; }
.bk-tally { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin: -6px 0 28px; padding: 16px 20px; border: 1px solid var(--line); border-left: 2px solid var(--gold); border-radius: 6px; background: var(--ink-2); }
.bk-tally p { margin: 0; flex: 1 1 320px; font-size: 15px; color: var(--paper); }
.bk-see { color: var(--gold-2); font-size: 13px; letter-spacing: .08em; border-bottom: 1px solid var(--gold); padding-bottom: 2px; }
.bk-why-tag { display: inline-block; margin-left: 6px; padding: 1px 7px; border-radius: 999px; border: 1px solid var(--gold); color: var(--gold-2); font-size: 11px; letter-spacing: .04em; white-space: nowrap; }
.lp-plan .bk-choose { margin-top: 18px; padding: 9px 16px; border: 1px solid var(--gold); border-radius: 999px; color: var(--gold-2); font-size: 12.5px; letter-spacing: .06em; }
.lp-plan .bk-choose:hover, .lp-plan.hot .bk-choose { background: var(--gold); color: var(--ink); }
.bk-need { color: #ffb4a8; font-size: 14px; }

@media (max-width: 1050px) {
  .bk-shelf { flex-basis: calc(50% - 10px); }
  .bk-editions { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  body.bk .page { padding-top: 118px; }
  body.bk .page .band { padding: 56px 20px 64px; }
  .bk-hero { grid-template-columns: 1fr; min-height: 0; padding-top: 12px; gap: 8px; }
  .bk-stage { height: auto; aspect-ratio: 1 / 1.22; }
  .bk-fan { --w: min(45cqw, 36cqh); --gap: 50cqw; --sx: .8cqw; }
  .bk-spread { grid-template-columns: repeat(3, 78vw); overflow-x: auto; scroll-snap-type: x mandatory; margin-left: -16px; margin-right: -16px; padding: 10px 16px 6px; }
  .bk-spread .bk-sheet { scroll-snap-align: center; }
  .bk-shelf { flex-basis: 100%; }
  .bk-steps, .bk-yn, .bk-fields { grid-template-columns: 1fr; }
  .bk-yn-pages { grid-template-columns: 1fr; }
  .bk-edition { grid-template-columns: 38% 1fr; gap: 18px; }
  #bk-drawer td:nth-child(4), #bk-drawer th:nth-child(4) { display: none; }
}

/* ------------------------------------------------ the Pricing tab (27-Oct, SITE_PLAN.md step E) */
.pr-hero .lede { max-width: 58ch; }
.pr-combos { margin-top: 44px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.pr-combo { position: relative; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 10px; padding: 32px 26px 26px; background: var(--ink); }
.pr-combo.hot { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold), 0 30px 70px rgba(0, 0, 0, .45); }
.pr-combo .lp-tag { position: absolute; top: -11px; left: 26px; margin: 0; padding: 3px 11px; border-radius: 999px; background: var(--gold); color: var(--ink); font-size: 10.5px; }
.pr-combo h3 { font: 500 28px/1.15 var(--serif); margin: 0 0 16px; color: var(--paper); }
.pr-combo ul { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 8px; font-size: 15px; color: var(--paper-2); }
.pr-combo li::before { content: ""; display: inline-block; width: 5px; height: 5px; margin: 0 10px 2px 0; border-radius: 50%; background: var(--gold); vertical-align: middle; }
.pr-worth { margin: auto 0 4px; font-size: 13px; color: var(--muted); }
.pr-combo .price { margin: 0; font: 500 42px/1.1 var(--serif); color: var(--paper); font-variant-numeric: tabular-nums; }
.pr-combo .bk-choose { align-self: flex-start; margin-top: 20px; padding: 10px 18px; border: 1px solid var(--gold); border-radius: 999px; color: var(--gold-2); font-size: 13px; letter-spacing: .06em; }
.pr-combo .bk-choose:hover, .pr-combo.hot .bk-choose { background: var(--gold); color: var(--ink); }
.pr-product { margin-top: 44px; padding-top: 30px; border-top: 1px solid var(--line); }
.pr-product:first-of-type { border-top: 0; padding-top: 6px; }
.pr-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 22px; }
.pr-head h3 { font: 500 28px var(--serif); margin: 0; color: var(--paper); }
.pr-head p { margin: 0; flex: 1 1 320px; color: var(--paper-2); font-size: 15px; }
.pr-head .card-go { color: var(--gold-2); font-size: 13px; letter-spacing: .06em; }
.pr-plans { margin-top: 20px; }
.pr-plans .lp-plan { padding: 22px 14px 18px; }
.pr-plans .lp-plan .price { font-size: 28px; }
.pr-order.no-family .pr-family, .pr-order.no-edition .pr-edition { display: none; }
.pr-order:not(.is-business) .f-tagline, .pr-order.is-business .f-reg { display: none; }
@media (max-width: 900px) { .pr-combos { grid-template-columns: 1fr; } .pr-combo.hot { order: -1; } }
.pr-plans .lp-plan.soon { border-style: dashed; }
.pr-plans .lp-plan.soon .lp-tag { background: transparent; color: var(--gold-2); border: 1px solid var(--gold); }
.pr-plans:has(.lp-plan:only-child) { grid-template-columns: minmax(0, 300px); }
