/* Layout concept: an optician's atelier. Paper-and-ink editorial grid; every reveal behaves like a lens —
   type pulls into focus from a blur, images open like an iris, and the whole site re-inks between the two covers. */
@property --bg      { syntax: '<color>'; inherits: true; initial-value: #EAE3D5; }
@property --surface { syntax: '<color>'; inherits: true; initial-value: #F4EFE6; }
@property --fg      { syntax: '<color>'; inherits: true; initial-value: #252B28; }
@property --muted   { syntax: '<color>'; inherits: true; initial-value: #4F534A; }
@property --deep    { syntax: '<color>'; inherits: true; initial-value: #292C2B; }
@property --on-deep { syntax: '<color>'; inherits: true; initial-value: #EAE3D5; }

:root {
  /* Brand constants (from the cover artwork) */
  --bone: #EAE3D5;  --ink: #292C2B;
  --oat: #D5C5AC;   --cacao: #573A2B;
  --plum: #512936;  --sage: #62655B;
  --gold-1: #8C6A2E; --gold-2: #D8B663; --gold-3: #FFF0BF; --gold-4: #B98D3E;

  /* Espresso theme (default) */
  --bg: #EAE3D5; --surface: #F4EFE6; --fg: #252B28; --muted: #4F534A;
  --deep: #292C2B; --on-deep: #EAE3D5; --dot: #512936;
  --line: color-mix(in srgb, var(--fg) 16%, transparent);
  --line-deep: color-mix(in srgb, var(--on-deep) 18%, transparent);

  /* Type */
  --serif: 'Bodoni Moda', 'Bodoni 72', 'Didot', Georgia, serif;
  --sans: 'Jost', 'Avenir Next', Avenir, 'Helvetica Neue', Arial, sans-serif;
  --t-label: 0.78rem;
  --t-body: clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
  --t-lead: clamp(1.15rem, 1rem + 0.6vw, 1.45rem);
  --t-h3: clamp(1.6rem, 1.2rem + 1.5vw, 2.4rem);
  --t-h2: clamp(2.5rem, 1.6rem + 4vw, 5.4rem);
  --t-h1: clamp(3.2rem, 1.2rem + 6.2vw, 7.6rem);

  --gutter: max(20px, env(safe-area-inset-left, 0px));
  --gutter-r: max(20px, env(safe-area-inset-right, 0px));
  --ease: cubic-bezier(.22, 1, .36, 1);
  --theme-t: 900ms;
  color-scheme: light;
  transition: --bg var(--theme-t) var(--ease), --surface var(--theme-t) var(--ease), --fg var(--theme-t) var(--ease),
              --muted var(--theme-t) var(--ease), --deep var(--theme-t) var(--ease), --on-deep var(--theme-t) var(--ease);
}
:root[data-cover="cacao"] {
  --bg: #D5C5AC; --surface: #E3D8C6; --fg: #34210F; --muted: #553E2E;
  --deep: #573A2B; --on-deep: #F1E7D7; --dot: #512936;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font-family: var(--sans); font-size: var(--t-body); line-height: 1.6; font-weight: 400;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--fg); outline-offset: 4px; }
::selection { background: var(--fg); color: var(--bg); }

.wrap { max-width: 1360px; margin-inline: auto; padding-left: var(--gutter); padding-right: var(--gutter-r); }
@media (min-width: 900px) { :root { --gutter: max(48px, env(safe-area-inset-left, 0px)); --gutter-r: max(48px, env(safe-area-inset-right, 0px)); } }

.eyebrow { font-family: var(--sans); font-size: var(--t-label); font-weight: 500; letter-spacing: .22em; text-transform: uppercase; margin: 0; display: inline-flex; align-items: center; gap: .8em; color: var(--muted); width: fit-content; max-width: 100%; justify-self: start; }
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; border: 1px solid currentColor; box-shadow: inset 0 0 0 2px var(--bg); background: currentColor; }
.display { font-family: var(--serif); font-weight: 500; line-height: .98; letter-spacing: -0.015em; margin: 0; text-wrap: balance; }
.display em, .italic { font-style: italic; font-weight: 500; letter-spacing: 0; }
.lead { font-size: var(--t-lead); line-height: 1.5; max-width: 34ch; margin: 0; }
.muted { color: var(--muted); }
.wm { display: inline-block; aspect-ratio: 471.335 / 143.925; height: 1em; width: auto; color: currentColor; vertical-align: -0.12em; }
.wm svg { width: 100%; height: 100%; display: block; overflow: visible; }

/* Buttons */
.btn {
  --btn-bg: var(--fg); --btn-fg: var(--bg);
  position: relative; display: inline-flex; align-items: center; gap: 14px; height: 58px; padding: 0 10px 0 28px;
  border-radius: 999px; background: var(--btn-bg); color: var(--btn-fg); text-decoration: none; overflow: hidden; isolation: isolate;
  font-size: .78rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; border: 1px solid var(--btn-bg); cursor: pointer;
  transition: color .5s var(--ease);
}
.btn { transition: background-color .4s ease, border-color .4s ease, color .4s ease; }
.btn:hover, .btn:focus-visible { --btn-bg: color-mix(in srgb, var(--fg) 86%, var(--bg)); }
.btn-icon { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--btn-fg) 14%, transparent); transition: transform .6s var(--ease); }
.btn-icon svg { width: 18px; height: 18px; }
.btn-icon { transition: transform .4s ease; }
.btn:hover .btn-icon { transform: translateX(3px); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--fg); border-color: var(--line); padding: 0 24px; }
.btn--ghost .btn-icon { background: none; width: auto; }
.btn--ghost:hover { --btn-bg: transparent; border-color: var(--fg); }
.btn--light { --btn-bg: var(--on-deep); --btn-fg: var(--deep); }
.btn--light:hover, .btn--light:focus-visible { --btn-bg: color-mix(in srgb, var(--on-deep) 88%, var(--deep)); }
.btn--sm { height: 46px; padding: 0 8px 0 20px; font-size: .7rem; gap: 10px; }
.btn--sm .btn-icon { width: 32px; height: 32px; }

.link-u { text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; padding-bottom: 2px; transition: background-size .5s var(--ease); }
.link-u:hover { background-size: 0 1px; background-position: 100% 100%; }

.skip-link { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--fg); color: var(--bg); padding: 10px 16px; }
.skip-link:focus { top: 12px; }

/* ---------- Snellen loader ---------- */
.loader { display: none; }
.motion .loader { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; background: var(--bg); color: var(--fg); overflow: hidden; }
.sn-chart { display: grid; justify-items: center; gap: clamp(4px, 1.2vh, 14px); }
.sn-row { display: grid; grid-template-columns: 5em auto 5em; align-items: center; column-gap: clamp(12px, 3vw, 40px); }
.sn-ac { font-size: .62rem; letter-spacing: .2em; color: var(--muted); font-variant-numeric: tabular-nums; justify-self: end; }
.sn-ac.r { justify-self: start; }
.sn-l { font-family: var(--sans); font-weight: 500; line-height: 1; letter-spacing: .38em; margin-right: -.38em; white-space: nowrap; }
.sn-1 { font-size: min(12vh, 20vw); } .sn-2 { font-size: min(7.6vh, 13vw); } .sn-3 { font-size: min(5.8vh, 10vw); }
.sn-4 { font-size: min(4.6vh, 8vw); } .sn-5 { font-size: min(3.8vh, 6.6vw); } .sn-6 { font-size: min(3.2vh, 5.6vw); } .sn-7 { font-size: min(2.8vh, 4.8vw); }
.sn-l i { display: inline-block; font-style: normal; will-change: transform; }
.sn-target { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: flex; gap: .55em; font-family: var(--sans); font-weight: 500; font-size: min(6vh, 9vw); line-height: 1; visibility: hidden; pointer-events: none; }
.sn-target i { font-style: normal; }
.loader-wm { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: 18px; opacity: 0; pointer-events: none; }
.loader-wm .wm { height: clamp(52px, 10vw, 104px); }
.loader-sub { font-size: var(--t-label); letter-spacing: .32em; text-transform: uppercase; color: var(--muted); }
.loader-skip { position: absolute; bottom: calc(28px + env(safe-area-inset-bottom, 0px)); right: var(--gutter-r); background: none; border: 0; color: var(--muted); font-size: var(--t-label); letter-spacing: .2em; text-transform: uppercase; cursor: pointer; padding: 8px; }

/* ---------- Top bar + header ---------- */
.topbar { background: var(--deep); color: var(--on-deep); font-size: .66rem; letter-spacing: .24em; text-transform: uppercase; }
.topbar-inner { display: flex; justify-content: space-between; gap: 16px; padding-block: 9px; }
.topbar-mid { display: none; opacity: .75; }
@media (min-width: 900px) { .topbar-mid { display: inline; } }

.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 100; transition: transform .6s var(--ease), background-color .4s; }
.site-header::after { content: ""; position: absolute; inset: 0; z-index: -1; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); border-bottom: 1px solid var(--line); opacity: 0; transition: opacity .4s; }
.site-header.is-scrolled::after { opacity: 1; }
.site-header.is-hidden { transform: translateY(-100%); }
.header-inner { display: flex; align-items: center; gap: 24px; height: 84px; }
.logo { display: block; color: var(--fg); line-height: 0; flex: none; }
.logo .wm { height: 34px; }
.nav-desktop { display: none; margin-left: auto; }
.nav-desktop ul { list-style: none; display: flex; gap: 30px; margin: 0; padding: 0; }
.nav-desktop a { text-decoration: none; font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; position: relative; padding-block: 6px; }
.nav-desktop a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.nav-desktop a:hover::after { transform: scaleX(1); transform-origin: left; }
@media (min-width: 1360px) { .nav-desktop { display: block; } }
.nav-desktop a { white-space: nowrap; }
.header-actions { display: flex; align-items: center; gap: 12px; margin-left: auto; }
@media (min-width: 1360px) { .header-actions { margin-left: 18px; } }
.header-cta { display: none; }
@media (min-width: 720px) { .header-cta { display: inline-flex; } }

.cover-switch { position: relative; display: flex; padding: 4px; border-radius: 999px; border: 1px solid var(--line); }
.cover-switch-btn { position: relative; z-index: 1; display: flex; align-items: center; gap: 8px; height: 36px; padding: 0 12px 0 6px; border: 0; background: none; cursor: pointer; border-radius: 999px; font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); transition: color .4s; }
.cover-switch-btn[aria-pressed="true"] { color: var(--bg); }
.cover-switch-thumb { position: absolute; z-index: 0; top: 4px; bottom: 4px; left: 4px; width: var(--tw, 50%); transform: translateX(var(--tx, 0)); border-radius: 999px; background: var(--fg); transition: transform .7s var(--ease), width .7s var(--ease); }
.swatch { width: 24px; height: 24px; border-radius: 50%; flex: none; box-shadow: 0 0 0 1px color-mix(in srgb, var(--fg) 20%, transparent); }
.swatch--espresso { background: linear-gradient(180deg, var(--bone) 0 62%, var(--ink) 62%); }
.swatch--cacao { background: linear-gradient(180deg, var(--oat) 0 62%, var(--cacao) 62%); }
.cover-switch-label { display: none; }
@media (min-width: 560px) { .cover-switch-label { display: inline; } }

.menu-toggle { display: flex; align-items: center; gap: 12px; height: 46px; padding: 0 4px 0 14px; background: none; border: 0; cursor: pointer; font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; }
.menu-toggle-lines { display: grid; gap: 6px; width: 26px; }
.menu-toggle-lines span { height: 1px; background: currentColor; transition: transform .5s var(--ease); }
.menu-toggle[aria-expanded="true"] .menu-toggle-lines span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle-lines span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.menu-toggle-text { display: none; }
@media (min-width: 560px) { .menu-toggle-text { display: inline; } }

.menu { position: fixed; inset: 0; z-index: 90; color: var(--on-deep); }
.menu-bg { position: absolute; inset: 0; background: var(--deep); clip-path: circle(0% at calc(100% - 50px) 70px); transition: clip-path .9s var(--ease); }
.menu.is-open .menu-bg { clip-path: circle(150% at calc(100% - 50px) 70px); }
.menu-inner { position: relative; height: 100%; display: grid; align-content: center; gap: 48px; padding-top: 140px; padding-bottom: calc(40px + env(safe-area-inset-bottom, 0px)); }
.menu-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.menu-list a { display: flex; align-items: baseline; gap: 18px; text-decoration: none; font-family: var(--serif); font-size: clamp(2rem, 1.2rem + 3.6vw, 4.2rem); line-height: 1.12; letter-spacing: -0.02em; opacity: 0; transform: translateY(30px); transition: opacity .6s var(--ease), transform .8s var(--ease), color .3s; }
.menu-list a:hover .menu-label { font-style: italic; }
.menu.is-open .menu-list a { opacity: 1; transform: none; transition-delay: calc(var(--i) * 45ms + 250ms); }
.menu-num { font-family: var(--sans); font-size: .7rem; letter-spacing: .2em; opacity: .55; font-variant-numeric: tabular-nums; }
.menu-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; opacity: 0; transition: opacity .6s .5s; }
.menu.is-open .menu-foot { opacity: 1; }
.menu-social { display: flex; gap: 24px; font-size: .75rem; letter-spacing: .18em; text-transform: uppercase; }
.menu-social a { text-decoration: none; }
body.menu-open .site-header { color: var(--on-deep); }
body.menu-open .site-header::after { opacity: 0; }
body.menu-open .logo { color: var(--on-deep); }
body.menu-open .cover-switch, body.menu-open .header-cta, body.menu-open .nav-desktop { visibility: hidden; }

/* ---------- Hero ---------- */
.hero { position: relative; padding-top: clamp(24px, 3.4vw, 48px); padding-bottom: clamp(64px, 8vw, 120px); }
.hero-grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 64px; } }
.hero-copy { display: grid; gap: 30px; min-width: 0; }
.hero h1 { font-size: var(--t-h1); }
.ln { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.ln > span { display: block; }
.hero-intro { font-size: var(--t-lead); line-height: 1.45; max-width: 30ch; margin: 0; }
.hero-intro .wm { height: 1.18em; width: 3.864em; margin-left: .06em; vertical-align: -.29em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-quote { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 20px; align-items: start; padding-top: 28px; border-top: 1px solid var(--line); max-width: 520px; }
.hero-quote p { margin: 0; font-family: var(--serif); font-style: italic; font-size: 1.15rem; line-height: 1.45; }
.hero-quote .q-mark { font-family: var(--serif); font-size: 3.4rem; line-height: .7; color: var(--dot); }
.sig { display: flex; align-items: center; gap: 16px; margin-top: 14px; }
.sig img { height: 44px; width: auto; filter: var(--sig-filter, none); }
:root[data-cover="cacao"] { --sig-filter: sepia(.6) saturate(1.6) hue-rotate(-12deg) brightness(.8); }
.sig span { font-size: .66rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }

.hero-intro--sm { font-size: var(--t-body); color: var(--muted); max-width: 44ch; }
.hero-kicker { font-family: var(--serif); font-style: italic; font-size: clamp(1.25rem, 1rem + .9vw, 1.7rem); line-height: 1.3; margin: 0; }
.hero-quote--avatar { grid-template-columns: 64px minmax(0, 1fr); }
.avatar { width: 64px; height: 64px; border-radius: 50%; overflow: hidden; }
.avatar img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
.duo { position: relative; justify-self: center; width: min(100%, 600px); aspect-ratio: 1 / 1.14; min-width: 0; }
.duo .stage { position: absolute; width: 50%; }
.duo .stage--a { left: 4%; top: 12%; z-index: 2; }
.duo .stage--b { right: 2%; top: 2%; z-index: 1; }
.duo-tag { position: absolute; left: 0; right: 0; bottom: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 24px; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.duo-tag b { font-family: var(--serif); font-weight: 400; font-size: 1.2rem; letter-spacing: 0; text-transform: none; color: var(--fg); }
.duo .stage::before { background: radial-gradient(closest-side, color-mix(in srgb, var(--surface) 90%, transparent), transparent 75%); }
.duo .stage::after { bottom: -6%; opacity: .5; }

/* ---------- Marquee ---------- */
.marquee { border-block: 1px solid var(--line); overflow: hidden; padding-block: 22px; }
.marquee-track { display: flex; width: max-content; gap: 0; animation: marquee 70s linear infinite; }
.marquee-group { display: flex; align-items: center; flex: none; }
.marquee-item { font-family: var(--serif); font-size: clamp(1.6rem, 1rem + 2.4vw, 3rem); white-space: nowrap; padding-inline: .6em; letter-spacing: -0.01em; }
.marquee-item:nth-child(even) { font-style: italic; color: var(--muted); }
.marquee-star { font-size: 1.4rem; color: var(--dot); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Section frame ---------- */
.section { padding-block: clamp(88px, 12vw, 180px); position: relative; }
.section-head { display: grid; gap: 22px; margin-bottom: clamp(48px, 6vw, 88px); }
.section-head h2 { font-size: var(--t-h2); }
.deep { background: var(--deep); color: var(--on-deep); --fg-local: var(--on-deep); }
.deep .eyebrow { color: color-mix(in srgb, var(--on-deep) 70%, transparent); }
.deep .eyebrow::before { box-shadow: inset 0 0 0 2px var(--deep); }
.deep .muted { color: color-mix(in srgb, var(--on-deep) 66%, transparent); }

/* ---------- Covers (3D) ---------- */
.covers-head { display: grid; gap: 28px; align-items: end; margin-bottom: clamp(56px, 7vw, 96px); }
@media (min-width: 900px) { .covers-head { grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); } }
.covers-head h2 { font-size: var(--t-h2); }
.covers-grid { display: grid; gap: clamp(72px, 8vw, 40px); }
@media (min-width: 900px) { .covers-grid { grid-template-columns: 1fr 1fr; gap: 40px; } }
.cover-card { display: grid; justify-items: center; gap: 36px; text-decoration: none; color: inherit; }
.stage { perspective: 1600px; width: min(72vw, 330px); aspect-ratio: 480 / 680; position: relative; isolation: isolate; }
.stage::before { content: ""; position: absolute; inset: -30% -45%; z-index: -1; background: radial-gradient(closest-side, color-mix(in srgb, var(--on-deep) 16%, transparent), transparent 75%); pointer-events: none; }
.stage::after { content: ""; position: absolute; left: 8%; right: 8%; bottom: -9%; height: 8%; border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 0, 0, .45), transparent); filter: blur(6px); transform: scale(var(--shadow-s, 1)); transition: transform .8s var(--ease); }
.book3d { --d: 30px; position: absolute; inset: 0; transform-style: preserve-3d; transform: rotateY(var(--ry, -24deg)) rotateX(var(--rx, 6deg)) translateZ(0); will-change: transform; }
.book3d > * { position: absolute; }
.b-front { inset: 0; transform: translateZ(calc(var(--d) / 2)); border-radius: 2px 6px 6px 2px; overflow: hidden; box-shadow: inset 4px 0 8px -4px rgba(0,0,0,.35), 0 0 0 1px rgba(255,255,255,.07); }
.b-front img { width: 100%; height: 100%; object-fit: cover; }
.b-front::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, rgba(255,255,255,0) 30%, rgba(255,255,255,.22) 46%, rgba(255,255,255,0) 60%); transform: translateX(var(--glare, -60%)); transition: transform .2s linear; mix-blend-mode: soft-light; }
.b-back { inset: 0; transform: rotateY(180deg) translateZ(calc(var(--d) / 2)); background: var(--b-band); border-radius: 6px 2px 2px 6px; }
.b-spine { top: 0; bottom: 0; left: calc(var(--d) / -2); width: var(--d); transform: rotateY(-90deg); background: linear-gradient(180deg, var(--b-paper) 0 79%, var(--b-band) 79%); }
.b-spine::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.25), rgba(255,255,255,.08) 40%, rgba(0,0,0,.2)); }
.b-pages { top: 3px; bottom: 3px; right: calc(var(--d) / -2 + 2px); width: calc(var(--d) - 4px); transform: rotateY(90deg); background: repeating-linear-gradient(90deg, #F7F3EA 0 1px, #E3DCCD 1px 2px); }
.b-top { left: 0; right: 4px; top: calc(var(--d) / -2 + 2px); height: calc(var(--d) - 4px); transform: rotateX(90deg); background: repeating-linear-gradient(0deg, #F7F3EA 0 1px, #E3DCCD 1px 2px); }
.book--espresso { --b-paper: #EAE3D5; --b-band: #292C2B; }
.book--cacao { --b-paper: #D5C5AC; --b-band: #573A2B; }
.cover-meta { display: grid; justify-items: center; gap: 10px; text-align: center; }
.cover-meta .num { font-size: var(--t-label); letter-spacing: .24em; opacity: .6; }
.cover-meta h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(2.4rem, 1.6rem + 2.6vw, 3.8rem); margin: 0; line-height: 1; }
.cover-meta .tagline { font-family: var(--serif); font-style: italic; font-size: 1.2rem; margin: 0; }
.cover-meta p { margin: 0; max-width: 36ch; }
.chips { display: flex; gap: 10px; justify-content: center; margin-top: 6px; }
.chip { display: inline-flex; align-items: center; gap: 8px; font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; padding: 7px 14px 7px 8px; border-radius: 999px; border: 1px solid var(--line-deep); }
.chip i { width: 14px; height: 14px; border-radius: 50%; display: block; box-shadow: 0 0 0 1px rgba(255,255,255,.25); }
.price { font-family: var(--serif); font-size: 1.3rem; margin-top: 8px; }
.price small { font-family: var(--sans); font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; opacity: .7; margin-left: 6px; }
.covers-foot { margin-top: clamp(64px, 8vw, 110px); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 28px; border-top: 1px solid var(--line-deep); padding-top: 32px; }
.covers-foot p { margin: 0; font-family: var(--serif); font-size: clamp(1.4rem, 1rem + 1.6vw, 2.2rem); line-height: 1.2; }

/* ---------- Snellen ---------- */
.snellen { text-align: center; }
.chart { display: grid; justify-items: center; gap: clamp(6px, 1vw, 14px); margin: 0 auto; }
.chart-row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: clamp(14px, 3vw, 48px); width: 100%; }
.chart-row .acuity { font-size: .66rem; letter-spacing: .2em; color: var(--muted); font-variant-numeric: tabular-nums; justify-self: end; }
.chart-row .acuity.r { justify-self: start; }
.chart-word { font-family: var(--serif); line-height: 1; letter-spacing: .02em; will-change: filter; }
.cw-1 { font-size: clamp(4.4rem, 2rem + 13vw, 14rem); }
.cw-2 { font-size: clamp(3.2rem, 1.6rem + 8vw, 8.6rem); font-style: italic; }
.cw-3 { font-size: clamp(2.4rem, 1.2rem + 5vw, 5.6rem); }
.cw-4 { font-size: clamp(1.8rem, 1rem + 3.2vw, 3.6rem); font-style: italic; }
.snellen-copy { margin: clamp(48px, 6vw, 80px) auto 0; display: grid; gap: 18px; justify-items: center; max-width: 640px; }
.snellen-copy .lead { max-width: 30ch; }
.snellen-copy .pair { font-family: var(--serif); font-size: clamp(1.3rem, 1rem + 1.2vw, 1.9rem); line-height: 1.3; margin: 0; }

/* ---------- Flip book ---------- */
.flip { position: relative; height: 640vh; }
.flip-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; display: grid; grid-template-rows: auto 1fr auto; gap: 16px; padding-top: 96px; padding-bottom: calc(24px + env(safe-area-inset-bottom, 0px)); overflow: hidden; }
.flip-head { display: grid; gap: 14px 40px; align-items: end; }
@media (min-width: 900px) { .flip-head { grid-template-columns: minmax(0, 1fr) auto; } }
.flip-head > * { min-width: 0; }
.flip-head h2 { font-size: clamp(2rem, 1.2rem + 3vw, 3.8rem); }
.flip-head > p { margin: 0; color: var(--muted); max-width: 34ch; }
.flip-stage { display: grid; place-items: center; min-height: 0; perspective: 2400px; }
.book { --w: min(92vw, 1000px, calc((100svh - 470px) * 1.4094)); position: relative; width: var(--w); aspect-ratio: 1680 / 1192; transform-style: preserve-3d; transform: translateX(var(--shift, -25%)) rotateX(4deg); transition: transform .1s linear; }
.book-base { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr 1fr; filter: drop-shadow(0 40px 50px rgba(30, 20, 10, .28)); }
.book-base > div { position: relative; overflow: hidden; background: #FAF8F3; }
.book-base .bl { border-radius: 4px 0 0 4px; opacity: var(--left-o, 0); transition: opacity .3s; }
.book-base .br { border-radius: 0 4px 4px 0; }
.book-base img, .leaf img { width: 100%; height: 100%; object-fit: cover; }
.leaf { position: absolute; top: 0; left: 50%; width: 50%; height: 100%; transform-style: preserve-3d; transform-origin: 0 50%; transform: rotateY(calc(var(--r, 0) * -180deg)); }
.leaf .face { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; overflow: hidden; background: #FAF8F3; }
.leaf .front { border-radius: 0 4px 4px 0; }
.leaf .back { transform: rotateY(180deg); border-radius: 4px 0 0 4px; }
.leaf .face::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(0,0,0,.18), rgba(0,0,0,0) 12%); opacity: 1; }
.leaf .back::after { background: linear-gradient(270deg, rgba(0,0,0,.18), rgba(0,0,0,0) 12%); }
.leaf .shade { position: absolute; inset: 0; background: #000; opacity: var(--shade, 0); pointer-events: none; }
.leaf .cover-face { background: var(--b-paper); }
.inside-cover { background: var(--surface) !important; display: grid; place-items: center; }
.inside-cover .wm { height: 8%; color: var(--muted); opacity: .5; }
.flip-foot { display: grid; gap: 14px; justify-items: center; text-align: center; position: relative; z-index: 5; }
.flip-caption { min-height: 3.4em; display: grid; gap: 2px; }
.flip-caption strong { font-family: var(--serif); font-weight: 400; font-size: clamp(1.3rem, 1rem + 1vw, 1.8rem); }
.flip-caption span { color: var(--muted); }
.flip-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.flip-tab { border: 1px solid var(--line); background: none; border-radius: 999px; padding: 9px 18px; font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; cursor: pointer; transition: background-color .4s, color .4s, border-color .4s; }
.flip-tab span { opacity: .55; margin-right: 6px; font-variant-numeric: tabular-nums; }
.flip-tab[aria-current="true"] { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.flip-progress { width: min(320px, 70vw); height: 1px; background: var(--line); position: relative; }
.flip-progress i { position: absolute; inset: 0; background: var(--fg); transform-origin: left; transform: scaleX(var(--p, 0)); }

/* ---------- Personalisation ---------- */
.foil-grid { display: grid; gap: 56px; align-items: center; }
@media (min-width: 960px) { .foil-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 96px; } }
.foil-copy { display: grid; gap: 26px; min-width: 0; }
.foil-copy h2 { font-size: clamp(2.5rem, 1.4rem + 3.4vw, 4.8rem); }
.field { display: grid; gap: 10px; max-width: 460px; }
.field label { font-size: var(--t-label); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.field input { font-family: var(--serif); font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.4rem); background: none; border: 0; border-bottom: 1px solid var(--fg); padding: 8px 0 12px; color: var(--fg); border-radius: 0; width: 100%; text-transform: uppercase; letter-spacing: .08em; }
.field input::placeholder { color: color-mix(in srgb, var(--fg) 30%, transparent); }
.field input:focus { outline: none; border-bottom-color: var(--dot); }
.foil-note { font-size: .85rem; color: var(--muted); margin: 0; max-width: 46ch; }
.foil-visual { display: grid; place-items: center; }
.foil-cover { position: relative; width: min(78vw, 420px); aspect-ratio: 480 / 680; container-type: inline-size; border-radius: 3px 8px 8px 3px; overflow: hidden; box-shadow: 0 50px 80px -40px rgba(30, 20, 10, .55), inset 6px 0 10px -6px rgba(0,0,0,.4); transform: rotate(-2deg); transition: transform .8s var(--ease); }

.foil-cover img { width: 100%; height: 100%; object-fit: cover; }
.foil-name { position: absolute; left: 14%; width: 15%; height: 2.57143%; top: 84.7%; transform: translateY(-50%); font-family: var(--sans); font-weight: 500; font-size: 3.64865cqw; line-height: 1; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: clip;
  background: linear-gradient(105deg, var(--gold-1) 0%, var(--gold-2) 18%, var(--gold-3) 28%, var(--gold-4) 40%, var(--gold-1) 54%, var(--gold-2) 70%, var(--gold-3) 78%, var(--gold-4) 92%);
  background-size: 260% 100%; background-position: var(--shine, 30%) 50%; -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 1px 0 rgba(0,0,0,.45)) drop-shadow(0 0 1px rgba(255, 230, 160, .25)); transition: background-position .25s linear; }
.foil-name.is-empty { opacity: .35; }

/* ---------- Founder ---------- */
.founder-grid { display: grid; gap: 56px; align-items: center; }
@media (min-width: 960px) { .founder-grid { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 96px; } }
.founder-img { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 4px; }
.founder-img img { width: 100%; height: 120%; object-fit: cover; object-position: 50% 30%; }
.founder-img figcaption { position: absolute; left: 16px; bottom: 16px; background: var(--bg); color: var(--fg); font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; padding: 8px 12px; border-radius: 999px; }
.founder-copy { display: grid; gap: 28px; min-width: 0; }
.founder-copy h2 { font-size: var(--t-h2); }
.founder-copy .lead { max-width: 40ch; }
.founder-copy p { margin: 0; max-width: 58ch; }
.creds { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 0; border-top: 1px solid var(--line); margin-top: 8px; }
.cred { padding: 20px 20px 4px 0; display: grid; gap: 6px; }
.cred b { font-family: var(--serif); font-weight: 400; font-size: 1.7rem; line-height: 1.1; font-variant-numeric: tabular-nums; }
.cred span { font-size: .8rem; color: var(--muted); line-height: 1.45; }

/* ---------- Index list ---------- */
.index-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.index-row a { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: clamp(16px, 4vw, 64px); padding-block: clamp(26px, 3.4vw, 48px); border-bottom: 1px solid var(--line); text-decoration: none; position: relative; }
.index-row .n { font-size: var(--t-label); letter-spacing: .22em; color: var(--muted); font-variant-numeric: tabular-nums; }
.index-row h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(2.2rem, 1.2rem + 4.4vw, 5.6rem); line-height: 1; margin: 0; letter-spacing: -0.02em; transition: transform .7s var(--ease); }
.index-row .sub { display: block; font-family: var(--sans); font-size: .95rem; letter-spacing: 0; color: var(--muted); margin-top: 10px; }
.index-row .arrow { width: 56px; height: 56px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: background-color .5s var(--ease), color .5s, transform .6s var(--ease); flex: none; }
.index-row a:hover .arrow { border-color: var(--fg); transform: translateX(4px); }
.index-row .eyebrow-k { display: block; font-size: var(--t-label); letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }

/* ---------- Footer ---------- */
.footer-cta { background: var(--deep); color: var(--on-deep); padding-block: clamp(96px, 13vw, 200px); text-align: center; overflow: hidden; }
.footer-cta-inner { display: grid; justify-items: center; gap: 28px; }
.footer-cta .eyebrow { color: color-mix(in srgb, var(--on-deep) 70%, transparent); }
.footer-cta .eyebrow::before { box-shadow: inset 0 0 0 2px var(--deep); }
.footer-cta-link { text-decoration: none; display: grid; font-family: var(--serif); font-size: clamp(3rem, 1.4rem + 8vw, 9.4rem); line-height: .98; letter-spacing: -0.03em; }
.footer-cta-link em { font-style: italic; color: color-mix(in srgb, var(--on-deep) 72%, transparent); transition: color .5s; }
.footer-cta-link:hover em { color: var(--on-deep); }
.footer-cta-note { margin: 0; opacity: .7; }
.footer-main { display: grid; gap: 40px; padding-block: 64px calc(40px + env(safe-area-inset-bottom, 0px)); }
@media (min-width: 900px) { .footer-main { grid-template-columns: auto 1fr; align-items: start; } }
.footer-logo { color: var(--fg); }
.footer-logo .wm { height: 54px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 28px 64px; justify-content: flex-end; }
.footer-nav ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, auto); gap: 10px 40px; }
.footer-nav a { text-decoration: none; font-size: .9rem; }
.footer-nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer-social { grid-template-columns: auto !important; }
.footer-charity, .footer-small { margin: 0; grid-column: 1 / -1; }
.footer-charity { font-family: var(--serif); font-size: 1.25rem; padding-top: 32px; border-top: 1px solid var(--line); }
.footer-small { font-size: .78rem; color: var(--muted); letter-spacing: .04em; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .flip { height: auto; }
  .flip-sticky { position: relative; height: auto; padding-block: 80px; }
  .book { --shift: 0% !important; }
}

/* =====================================================================
   Inner pages
   ===================================================================== */
.page-hero { padding-top: clamp(40px, 7vw, 110px); padding-bottom: clamp(56px, 7vw, 110px); }
.page-hero-inner { display: grid; gap: 26px; }
.page-hero h1 { font-size: clamp(3rem, 1.4rem + 6vw, 7rem); }
.page-hero .lead { max-width: 40ch; }
.page-hero--split .page-hero-inner { align-items: end; }
@media (min-width: 960px) { .page-hero--split .page-hero-inner { grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); column-gap: 64px; } .page-hero--split .page-hero-inner > .eyebrow, .page-hero--split h1 { grid-column: 1; } .page-hero--split .page-hero-aside { grid-column: 2; grid-row: 2; align-self: end; display: grid; gap: 24px; } }
.page-hero-aside { display: grid; gap: 24px; min-width: 0; }
.hr { height: 1px; background: var(--line); border: 0; margin: 0; }

.prose { display: grid; gap: 1.1em; max-width: 64ch; min-width: 0; }
.prose p { margin: 0; }
.prose a { text-underline-offset: 3px; text-decoration-thickness: 1px; }
.prose .drop::first-letter { font-family: var(--serif); float: left; font-size: 4.4em; line-height: .82; padding: .06em .1em 0 0; color: var(--dot); }
.prose h2, .prose h3 { font-family: var(--serif); font-weight: 400; margin: .6em 0 0; line-height: 1.15; }
.prose h2 { font-size: var(--t-h3); }
.prose h3 { font-size: 1.35rem; }
.small { font-size: .85rem; color: var(--muted); }

.split { display: grid; gap: 32px 80px; }
@media (min-width: 960px) { .split { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); } .split > .split-head { position: sticky; top: 120px; align-self: start; } }
.split-head { display: grid; gap: 20px; min-width: 0; }
.split-head h2 { font-size: clamp(2.2rem, 1.4rem + 3vw, 4rem); }

.steps { display: grid; gap: 0; border-top: 1px solid var(--line); }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.step { display: grid; align-content: start; gap: 14px; padding: 32px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 900px) { .step { padding: 40px 36px 40px 0; border-bottom: 0; } .step + .step { padding-left: 36px; border-left: 1px solid var(--line); } }
.step .n { font-size: var(--t-label); letter-spacing: .22em; color: var(--muted); font-variant-numeric: tabular-nums; }
.step h2, .step h3 { font-family: var(--serif); font-weight: 400; font-size: var(--t-h3); line-height: 1.1; margin: 0; }
.step p { margin: 0; color: var(--muted); }
.step .link-u { justify-self: start; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; margin-top: 6px; }

/* Accordion */
.acc { border-top: 1px solid var(--line); }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-trigger { width: 100%; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 20px; padding: 26px 0; background: none; border: 0; text-align: left; cursor: pointer; }
.acc-trigger .n { font-size: var(--t-label); letter-spacing: .22em; color: var(--muted); font-variant-numeric: tabular-nums; }
.acc-trigger .t { font-family: var(--serif); font-size: clamp(1.4rem, 1.1rem + 1vw, 2rem); line-height: 1.15; }
.acc-trigger .pm { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); position: relative; flex: none; transition: border-color .3s; }
.acc-trigger .pm::before, .acc-trigger .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1px; background: currentColor; transform: translate(-50%, -50%); transition: transform .4s var(--ease); }
.acc-trigger .pm::after { transform: translate(-50%, -50%) rotate(90deg); }
.acc-trigger[aria-expanded="true"] .pm::after { transform: translate(-50%, -50%) rotate(0deg); }
.acc-trigger:hover .pm { border-color: var(--fg); }
.acc-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
.acc-panel > div { overflow: hidden; }
.acc-item.is-open .acc-panel { grid-template-rows: 1fr; }
.no-js .acc-panel, html:not(.js) .acc-panel { grid-template-rows: 1fr; }
.acc-body { display: grid; gap: 14px; padding: 0 0 30px; max-width: 62ch; }
@media (min-width: 700px) { .acc-body { padding-left: 52px; } }
.acc-body h3 { font-family: var(--serif); font-weight: 400; font-size: 1.3rem; margin: 0; }
.acc-body p { margin: 0; }
.example { background: var(--surface); border-radius: 4px; padding: 18px 20px; display: grid; gap: 6px; }
.example b { font-size: .66rem; letter-spacing: .22em; text-transform: uppercase; font-weight: 500; color: var(--muted); }
.example span { font-family: var(--serif); font-style: italic; font-size: 1.1rem; }

/* Affirmations */
.affirm { display: grid; gap: 28px; }
.affirm-choices { display: flex; flex-wrap: wrap; gap: 10px; }
.affirm-btn { border: 1px solid var(--line-deep); background: none; color: inherit; border-radius: 999px; padding: 12px 20px; cursor: pointer; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; display: inline-flex; gap: 10px; align-items: center; transition: background-color .4s, color .4s; }
.affirm-btn[aria-pressed="true"] { background: var(--on-deep); color: var(--deep); }
.affirm-out { min-height: 7.5em; display: grid; align-content: center; gap: 12px; border-top: 1px solid var(--line-deep); padding-top: 28px; }
.affirm-out q { font-family: var(--serif); font-size: clamp(1.8rem, 1.2rem + 2.4vw, 3.2rem); line-height: 1.15; quotes: "“" "”"; }
.affirm-out .muted { margin: 0; }

/* Bookshelf */
.books { display: grid; gap: 24px; }
@media (min-width: 900px) { .books { grid-template-columns: 1fr 1fr; } }
.book-card { display: grid; gap: 14px; align-content: start; padding: clamp(28px, 4vw, 48px); background: var(--surface); border-radius: 4px; }
.book-card .n { font-size: var(--t-label); letter-spacing: .22em; color: var(--muted); }
.book-card .author { font-size: var(--t-label); letter-spacing: .22em; text-transform: uppercase; }
.book-card h3 { font-family: var(--serif); font-weight: 400; font-size: var(--t-h3); line-height: 1.1; margin: 0; }
.book-card p { margin: 0; }
.book-card .take { border-top: 1px solid var(--line); padding-top: 16px; display: grid; gap: 6px; }
.book-card .take b { font-size: .66rem; letter-spacing: .22em; text-transform: uppercase; font-weight: 500; color: var(--muted); }
.book-card .take span { font-family: var(--serif); font-style: italic; font-size: 1.15rem; }
.book-card .link-u { justify-self: start; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; }

/* FAQ */
.faq { display: grid; gap: 0; margin: 0; border-top: 1px solid var(--line); }
.faq > div { display: grid; gap: 8px; padding: 26px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 900px) { .faq > div { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 40px; } }
.faq dt { font-family: var(--serif); font-size: 1.35rem; line-height: 1.25; }
.faq dd { margin: 0; color: var(--muted); }

/* Rail / carousel */
.rail-wrap { display: grid; gap: 20px; }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: min(78vw, 300px); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.rail::-webkit-scrollbar { display: none; }
.rail-item { scroll-snap-align: start; display: grid; gap: 12px; text-decoration: none; }
.rail-item .img { aspect-ratio: 9 / 14; overflow: hidden; border-radius: 4px; background: var(--surface); }
.rail-item .img--page { aspect-ratio: 840 / 1192; }
.rail-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.rail-item:hover img { transform: scale(1.03); }
.rail-item span { font-family: var(--serif); font-size: 1.15rem; display: flex; justify-content: space-between; gap: 12px; }
.rail-ctrl { display: flex; align-items: center; gap: 16px; font-size: .74rem; letter-spacing: .18em; color: var(--muted); font-variant-numeric: tabular-nums; }
.rail-ctrl button { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: none; cursor: pointer; display: grid; place-items: center; }
.rail-ctrl button:hover { border-color: var(--fg); }

/* Cards (updates) */
.cards { display: grid; gap: 20px; }
@media (min-width: 900px) { .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.card { display: grid; align-content: space-between; gap: 40px; min-height: 340px; padding: clamp(26px, 3vw, 40px); border-radius: 4px; text-decoration: none; background: var(--surface); transition: background-color .4s; }
.card:hover { background: color-mix(in srgb, var(--surface) 70%, var(--bg)); }
.card .eyebrow { color: var(--muted); }
.card h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.8rem, 1.3rem + 1.4vw, 2.6rem); line-height: 1.08; margin: 14px 0 0; }
.card p { margin: 0; color: var(--muted); }
.card .go { font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; display: inline-flex; gap: 10px; align-items: center; }
.card .go span { transition: transform .4s; }
.card:hover .go span { transform: translateX(4px); }
.card--deep { background: var(--deep); color: var(--on-deep); }
.card--deep .eyebrow, .card--deep p { color: color-mix(in srgb, var(--on-deep) 70%, transparent); }
.card--deep .eyebrow::before { box-shadow: inset 0 0 0 2px var(--deep); }
.card--deep:hover { background: color-mix(in srgb, var(--deep) 90%, var(--on-deep)); }

/* Forms */
.form-wrap { display: grid; gap: 48px; }
@media (min-width: 1000px) { .form-wrap { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 80px; } }
.form-card { background: var(--surface); border-radius: 6px; padding: clamp(24px, 4vw, 56px); display: grid; gap: 28px; min-width: 0; }
.form-card h2, .form-card h3 { font-family: var(--serif); font-weight: 400; font-size: var(--t-h3); margin: 0; line-height: 1.1; }
.f-grid { display: grid; gap: 22px; }
@media (min-width: 640px) { .f-grid--2 { grid-template-columns: 1fr 1fr; } }
.f { display: grid; gap: 8px; min-width: 0; }
.f > label, .f > .f-label, fieldset.f > legend { font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); font-weight: 500; padding: 0; }
fieldset.f { border: 0; margin: 0; padding: 0; }
.f input[type="text"], .f input[type="email"], .f select, .f textarea { width: 100%; font: inherit; font-size: 1.05rem; color: var(--fg); background: var(--bg); border: 1px solid var(--line); border-radius: 4px; padding: 14px 16px; min-height: 52px; transition: border-color .3s; }
.f textarea { min-height: 150px; resize: vertical; }
.f select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%); background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 44px; }
.f input:focus, .f select:focus, .f textarea:focus { outline: none; border-color: var(--fg); }
.f-hint { font-size: .82rem; color: var(--muted); margin: 0; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.check { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 14px; align-items: start; cursor: pointer; font-size: .92rem; line-height: 1.5; }
.check input { appearance: none; -webkit-appearance: none; width: 22px; height: 22px; margin: 1px 0 0; border: 1px solid color-mix(in srgb, var(--fg) 40%, transparent); border-radius: 4px; background: var(--bg); display: grid; place-items: center; cursor: pointer; }
.check input::after { content: ""; width: 10px; height: 6px; border-left: 1.5px solid var(--bg); border-bottom: 1.5px solid var(--bg); transform: rotate(-45deg) translate(1px, -1px); opacity: 0; }
.check input:checked { background: var(--fg); border-color: var(--fg); }
.check input:checked::after { opacity: 1; }
.check input:focus-visible { outline: 2px solid var(--fg); outline-offset: 3px; }
.cover-pick { display: grid; gap: 12px; }
@media (min-width: 640px) { .cover-pick { grid-template-columns: 1fr 1fr; } }
.cover-opt { border: 1px solid var(--line); border-radius: 6px; padding: 16px; display: grid; gap: 16px; background: var(--bg); transition: border-color .3s; }
.cover-opt.is-on { border-color: var(--fg); }
.cover-opt .check { align-items: center; font-family: var(--serif); font-size: 1.3rem; }
.cover-opt .check .swatch { width: 28px; height: 28px; }
.cover-opt .check-row { display: flex; align-items: center; gap: 12px; }
.cover-opt-fields { display: grid; gap: 14px; }
.cover-opt-fields[hidden] { display: none; }
.qty-total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 18px 0; border-block: 1px solid var(--line); }
.qty-total span { font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.qty-total b { font-family: var(--serif); font-weight: 400; font-size: 1.6rem; font-variant-numeric: tabular-nums; }
details.why { font-size: .88rem; }
details.why summary { cursor: pointer; font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; }
details.why p { margin: 12px 0 0; color: var(--muted); }
.form-error { margin: 0; padding: 12px 16px; border-radius: 4px; background: color-mix(in srgb, var(--dot) 12%, transparent); color: var(--fg); font-size: .9rem; }
.form-error:empty { display: none; }
.form-done { display: grid; gap: 18px; }
.form-done h3 { font-family: var(--serif); font-weight: 400; font-size: var(--t-h3); margin: 0; }
.form-done p { margin: 0; }
.form-done ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.form-done li { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.ref { font-family: var(--serif); font-size: 1.4rem; letter-spacing: .04em; }
.preview-note { font-size: .78rem; color: var(--muted); border: 1px dashed var(--line); border-radius: 4px; padding: 10px 12px; margin: 0; }
.stars { display: flex; gap: 6px; }
.stars input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.stars label { font-size: 1.9rem; line-height: 1; color: color-mix(in srgb, var(--fg) 22%, transparent); cursor: pointer; transition: color .2s; }
.stars label .sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.stars:hover label { color: var(--gold-4); }
.stars label:hover ~ label { color: color-mix(in srgb, var(--fg) 22%, transparent); }
.stars input:checked + label, .stars label.is-lit { color: var(--gold-4); }
.stars input:focus-visible + label { outline: 2px solid var(--fg); outline-offset: 2px; border-radius: 2px; }

/* Product page */
.product { display: grid; gap: 48px; padding-top: clamp(32px, 5vw, 72px); padding-bottom: clamp(64px, 8vw, 120px); }
@media (min-width: 1000px) { .product { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 80px; align-items: start; } .buy { position: sticky; top: 120px; } }
.gallery { display: grid; gap: 16px; min-width: 0; }
.gallery-main { background: var(--surface); border-radius: 6px; aspect-ratio: 1 / 1.05; display: grid; place-items: center; position: relative; overflow: hidden; }
.gallery-main .stage { width: min(56%, 330px); }
.gallery-main .stage::before { background: radial-gradient(closest-side, color-mix(in srgb, var(--bg) 80%, transparent), transparent 75%); }
.gallery-main .page-view { position: absolute; inset: 7% 18%; display: none; }
.gallery-main .page-view img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 20px 30px rgba(30,20,10,.18)); }
.gallery-main.show-page .stage { display: none; }
.gallery-main.show-page .page-view { display: block; }
.thumbs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.thumb { border: 1px solid var(--line); background: var(--surface); border-radius: 4px; padding: 6px; cursor: pointer; aspect-ratio: 840 / 1050; display: grid; place-items: center; overflow: hidden; }
.thumb img { width: 100%; height: 100%; object-fit: contain; }
.thumb[aria-pressed="true"] { border-color: var(--fg); }
.buy { display: grid; gap: 24px; min-width: 0; }
.buy h1 { font-size: clamp(3.2rem, 1.6rem + 5vw, 6rem); }
.buy .price-l { display: flex; align-items: baseline; gap: 14px; }
.buy .price-l b { font-family: var(--serif); font-weight: 400; font-size: 2rem; }
.buy .price-l span { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.choose { display: grid; gap: 10px; }
.choose-row { display: flex; gap: 10px; flex-wrap: wrap; }
.choose-row a { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 8px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; }
.choose-row a[aria-current="page"] { border-color: var(--fg); background: var(--fg); color: var(--bg); }
.sum { display: grid; gap: 0; border-top: 1px solid var(--line); }
.sum > div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.sum .tot { font-family: var(--serif); font-size: 1.4rem; }
.links-row { display: flex; flex-wrap: wrap; gap: 12px 28px; }
.links-row a { font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; }

/* Foil tool controls */
.seg { display: inline-flex; padding: 4px; border: 1px solid var(--line); border-radius: 999px; gap: 4px; }
.seg button { border: 0; background: none; border-radius: 999px; padding: 8px 16px 8px 8px; display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); transition: background-color .4s, color .4s; }
.seg button[aria-pressed="true"] { background: var(--fg); color: var(--bg); }

/* About */
.about-hero { display: grid; gap: 48px; padding-top: clamp(32px, 5vw, 80px); padding-bottom: clamp(28px, 3vw, 44px); }
@media (min-width: 1000px) { .about-hero { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 80px; align-items: start; } .about-photos { position: sticky; top: 110px; } }
.about-photos { display: grid; grid-template-columns: 1.3fr 1fr; gap: 14px; align-items: end; min-width: 0; }
.about-photos figure { margin: 0; overflow: hidden; border-radius: 4px; }
.about-photos figure:first-child { aspect-ratio: 4 / 5.6; }
.about-photos figure:last-child { aspect-ratio: 4 / 5; margin-bottom: 12%; }
.about-photos img { width: 100%; height: 100%; object-fit: cover; }
.about-copy { display: grid; gap: 28px; min-width: 0; }
.about-copy h1 { font-size: clamp(2.5rem, 1.7rem + 2.5vw, 4.5rem); line-height: 1.1; }
.about-copy .sig img { height: 56px; }
.facts { background: var(--surface); border-radius: 6px; padding: clamp(24px, 3.4vw, 44px); display: grid; gap: 14px; }
.facts h2 { font-family: var(--serif); font-weight: 400; font-size: 1.6rem; margin: 0; }
.facts p { margin: 0; }
.facts .post { font-family: var(--serif); font-size: 1.35rem; }

/* Product strip in nav-free banners */
.giving { text-align: center; display: grid; justify-items: center; gap: 24px; }
.giving h2 { font-size: var(--t-h2); }
.giving p { margin: 0; font-size: var(--t-lead); max-width: 40ch; }

.legal { display: grid; gap: 40px; }
.legal section { display: grid; gap: 12px; }
.legal h2 { font-family: var(--serif); font-weight: 400; font-size: var(--t-h3); margin: 0; }
.legal p { margin: 0; max-width: 68ch; }

.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.feature-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.feature { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px 28px; padding: 32px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.feature .n { font-size: var(--t-label); letter-spacing: .22em; color: var(--muted); }
.feature h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(2rem, 1.3rem + 2.6vw, 3.6rem); line-height: 1; margin: 0; }
.feature p { grid-column: 2; margin: 0; color: var(--muted); font-size: var(--t-lead); }
.stage { display: block; }
.hero, .section, .page-hero, .product { overflow-x: clip; }
.page-hero h1 { font-size: clamp(2.9rem, 1.4rem + 4.6vw, 6rem); }
.seg { justify-self: start; width: fit-content; max-width: 100%; flex-wrap: wrap; }
.f-grid { align-items: start; }
.sn-card { background: var(--surface); border-radius: 6px; padding: clamp(28px, 4vw, 52px) clamp(16px, 3vw, 40px); display: grid; justify-items: center; gap: 18px; text-align: center; }
.sn-card .sn-chart { gap: clamp(6px, 1vw, 12px); }
.sn-card .sn-1 { font-size: clamp(3.4rem, 2rem + 4vw, 5.6rem); }
.sn-card .sn-2 { font-size: clamp(2.2rem, 1.4rem + 2.4vw, 3.6rem); }
.sn-card .sn-3 { font-size: clamp(1.6rem, 1rem + 1.6vw, 2.5rem); }
.sn-card .sn-4 { font-size: clamp(1.2rem, .9rem + 1vw, 1.8rem); }
.sn-card .sn-6 { font-size: clamp(1.05rem, .8rem + .8vw, 1.5rem); }
.sn-card .sn-row { grid-template-columns: 3.6em auto 3.6em; }
.sn-card-cap { font-family: var(--serif); font-style: italic; font-size: 1.3rem; margin: 0; }

.hero-grid, .foil-grid, .founder-grid, .split, .form-wrap, .product, .about-hero, .covers-head, .page-hero-inner { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 960px) {
  .hero-grid { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); }
  .foil-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .founder-grid { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); }
  .split { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
  .page-hero--split .page-hero-inner { grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); }
}
@media (min-width: 900px) { .covers-head { grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); } }
@media (min-width: 1000px) {
  .form-wrap { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
  .product { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
  .about-hero { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
}


/* Home hero: arched portrait with the planners in front */
.hero-visual { position: relative; min-width: 0; justify-self: center; width: min(100%, 500px, calc((100svh - 230px) * .77)); padding-bottom: 52px; }
.portrait { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 280px 280px 4px 4px; background: var(--surface); }
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.year-v { position: absolute; top: 4%; right: -7%; writing-mode: vertical-rl; font-family: var(--serif); font-size: clamp(3.4rem, 7vw, 6.6rem); line-height: 1; letter-spacing: .02em; color: transparent; -webkit-text-stroke: 1px var(--fg); opacity: .5; pointer-events: none; }
.hero-books { position: absolute; left: -20%; bottom: 76px; width: 50%; aspect-ratio: 1 / .92; z-index: 2; }
.hero-books .stage { position: absolute; width: 56%; }
.hero-books .stage::before { display: none; }
.hero-books .stage::after { opacity: .55; }
.hero-books .stage--a { left: 0; bottom: 0; z-index: 2; }
.hero-books .stage--b { left: 36%; bottom: 10%; z-index: 1; }
.hero-books .b-front { box-shadow: inset 4px 0 8px -4px rgba(0,0,0,.35), 0 30px 50px -24px rgba(30, 20, 10, .55); }
.hero-product { position: absolute; right: 0; bottom: 0; margin: 0; display: flex; align-items: baseline; gap: 10px 18px; flex-wrap: wrap; justify-content: flex-end; font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.hero-product b { font-family: var(--serif); font-weight: 400; font-size: 1.25rem; letter-spacing: 0; text-transform: none; color: var(--fg); }
@media (max-width: 959px) {
  .hero-visual { width: min(100%, 480px); padding-bottom: 48px; }
  .hero-product { left: auto; flex-wrap: nowrap; }
  .hero-product span:first-child { display: none; }
  .portrait { aspect-ratio: 4 / 4.4; }
  .year-v { right: 0; font-size: 3.2rem; }
  .hero-books { left: -2%; width: 54%; bottom: 64px; }
  .hero-grid { gap: 36px; }
}
.sn-card .sn-6 { color: var(--dot); }
.sn-card .sn-rule { width: min(60%, 320px); height: 1px; background: var(--dot); opacity: .6; }

/* ---------- Readability ----------
   Bodoni's large optical size has hairline strokes that almost vanish; pin a sturdier
   optical size everywhere, lift serif weights, and keep small text at a readable size. */
body { font-optical-sizing: none; font-variation-settings: "opsz" 11; font-weight: 400; }
h1, h2, h3, .display, .marquee-item, .chart-word, .tagline, .price, .hero-quote p, .footer-cta-link, .index-row h3,
.acc-trigger .t, .faq dt, .card h2, .step h2, .feature h3, .cover-meta h3, .book-card h3, .affirm-out q, .example span,
.take span, .footer-charity, .flip-caption strong, .menu-list a, .hero-kicker, .sn-card-cap, .covers-foot p, .ref, .qty-total b,
.buy .price-l b, .sum .tot, .facts .post, .duo-tag b, .hero-product b, .rail-item span, .field input { font-weight: 500; }
.chart-word { font-weight: 600; }
.lead, .hero-intro { font-weight: 400; }
.muted, .small, .f-hint, .foil-note, .footer-small, .flip-caption span, .step p, .card p, .faq dd, .feature p { color: var(--muted); }
.small, .f-hint, .foil-note, .footer-small { font-size: max(.88rem, 14px); }
.eyebrow { font-weight: 500; }
.nav-desktop a, .menu-toggle, .cover-switch-btn, .topbar, .chip, .flip-tab, .rail-ctrl, .seg button, .affirm-btn, .card .go, .step .link-u,
.book-card .link-u, .links-row a, details.why summary { font-weight: 500; }
.topbar { font-size: .7rem; }
.cover-switch-btn, .chip, .flip-tab, .seg button { font-size: .72rem; }
.deep .muted, .deep .eyebrow, .card--deep p, .card--deep .eyebrow, .footer-cta .eyebrow, .footer-cta-note { color: color-mix(in srgb, var(--on-deep) 84%, transparent); opacity: 1; }
.footer-cta-link em { color: color-mix(in srgb, var(--on-deep) 86%, transparent); }
.marquee-item:nth-child(even) { color: var(--fg); opacity: .78; }
.year-v { -webkit-text-stroke: 1.3px var(--fg); opacity: .6; }
.f > label, .f > .f-label, fieldset.f > legend { font-size: .76rem; color: var(--fg); opacity: .8; }
.sn-ac { font-size: .7rem; }
.chart-row .acuity { font-size: .72rem; }
.header-cta { white-space: nowrap; }
.nav-desktop ul { gap: 24px; }
.nav-desktop a { letter-spacing: .12em; }
.header-inner { gap: 20px; }
/* Buttons always sit on one line */
.btn { white-space: nowrap; max-width: 100%; }
.btn > span:first-child { overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 480px) { .btn { letter-spacing: .1em; padding-left: 22px; gap: 10px; font-size: .74rem; } }

/* ---------- Cinematic intro ---------- */
.motion .loader { background: var(--deep); }
.loader-view { position: absolute; inset: 0; display: grid; place-items: center; background: var(--bg); clip-path: circle(0% at 50% 50%); }
.loader-view::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse at center, transparent 55%, color-mix(in srgb, var(--fg) 9%, transparent)); }
.loader-lens { position: absolute; left: 50%; top: 50%; width: min(76vh, 90vw); aspect-ratio: 1; border-radius: 50%; border: 1px solid color-mix(in srgb, var(--fg) 22%, transparent); transform: translate(-50%, -50%); pointer-events: none; opacity: 0; }
.loader-wm { opacity: 1; }
.wm-wrap { display: block; height: clamp(56px, 11vw, 112px); aspect-ratio: 471.335 / 143.925; color: var(--fg); }
.wm-inline { width: 100%; height: 100%; display: block; overflow: visible; }
.wm-inline .wm-l { fill: currentColor; opacity: 0; }
.wm-inline .wm-dot-p { opacity: 0; }
.loader-sub { opacity: 0; }
.loader-skip { color: var(--muted); z-index: 2; }

.sn-l i.k { margin-right: .38em; }
.sn-l i.k:last-child { margin-right: 0; }
.sn-g { display: inline-block; height: 1em; vertical-align: -0.1525em; overflow: visible; fill: currentColor; will-change: transform; }
.sn-g path { fill: currentColor; }
.loader-vig { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse at center, transparent 55%, color-mix(in srgb, var(--fg) 9%, transparent)); }
.loader-view::after { display: none; }

/* Cinematic details: letterbox bars, a lens dial with tick marks, faint film grain */
.lb { position: absolute; left: 0; right: 0; height: 11vh; background: #111312; z-index: 3; pointer-events: none; will-change: transform; }
.lb--top { top: 0; transform-origin: top; }
.lb--bot { bottom: 0; transform-origin: bottom; }
.loader-dial { position: absolute; inset: -14px; border-radius: 50%;
  background: repeating-conic-gradient(from 0deg, color-mix(in srgb, var(--fg) 34%, transparent) 0 .35deg, transparent .35deg 6deg);
  -webkit-mask: radial-gradient(closest-side, transparent calc(100% - 10px), #000 calc(100% - 10px), #000 calc(100% - 2px), transparent 100%);
          mask: radial-gradient(closest-side, transparent calc(100% - 10px), #000 calc(100% - 10px), #000 calc(100% - 2px), transparent 100%); }
.loader-grain { position: absolute; inset: -50%; z-index: 2; pointer-events: none; opacity: .07; mix-blend-mode: multiply; background-size: 180px 180px; animation: grain .9s steps(5) infinite; }
@keyframes grain { 0% { transform: translate(0, 0); } 20% { transform: translate(-6%, 4%); } 40% { transform: translate(5%, -3%); } 60% { transform: translate(-3%, -6%); } 80% { transform: translate(6%, 5%); } 100% { transform: translate(0, 0); } }
.loader-skip { z-index: 4; color: color-mix(in srgb, #fff 70%, transparent); }
.loader-grain { opacity: .05; }
.loader-skip { color: var(--fg); background: color-mix(in srgb, var(--bg) 82%, transparent); border-radius: 999px; padding: 8px 14px; bottom: calc(22px + env(safe-area-inset-bottom, 0px)); }

/* Intro video: washed out behind the chart, clearest in the centre so the letters stay crisp */
.loader-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; z-index: 0; pointer-events: none; }
.loader-wash { position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(ellipse 60% 70% at 50% 50%, color-mix(in srgb, var(--bg) 90%, transparent) 0%, color-mix(in srgb, var(--bg) 78%, transparent) 55%, color-mix(in srgb, var(--bg) 52%, transparent) 100%); }
.loader-view .sn-chart, .loader-view .loader-wm, .loader-view .loader-lens, .loader-view .loader-vig { position: relative; z-index: 1; }
.loader-view .loader-wm, .loader-view .loader-lens, .loader-view .loader-vig { position: absolute; }
.cover-pick--stack { grid-template-columns: minmax(0, 1fr) !important; }

/* ---------- Pre-order bag ---------- */
.bag-btn { position: relative; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: none; color: var(--fg); display: grid; place-items: center; cursor: pointer; flex: none; transition: border-color .3s; }
.bag-btn:hover { border-color: var(--fg); }
.bag-btn svg { width: 22px; height: 22px; }
.bag-count { position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--dot); color: var(--bone); font-size: .7rem; font-weight: 500; line-height: 20px; text-align: center; font-variant-numeric: tabular-nums; }
body.menu-open .bag-btn { color: var(--on-deep); border-color: var(--line-deep); }

.bag { position: fixed; inset: 0; z-index: 150; }
.bag-scrim { position: absolute; inset: 0; background: rgba(20, 18, 16, .45); opacity: 0; transition: opacity .5s var(--ease); }
.bag.is-open .bag-scrim { opacity: 1; }
.bag-panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(440px, 100%); background: var(--bg); color: var(--fg); display: flex; flex-direction: column; gap: 18px; overflow-y: auto; overscroll-behavior: contain;
  padding: calc(24px + env(safe-area-inset-top, 0px)) max(24px, env(safe-area-inset-right, 0px)) calc(28px + env(safe-area-inset-bottom, 0px)) 24px;
  transform: translateX(100%); transition: transform .6s var(--ease); box-shadow: -30px 0 60px -30px rgba(0,0,0,.35); }
.bag.is-open .bag-panel { transform: none; }
.bag-head { display: flex; justify-content: space-between; align-items: center; }
.bag-head h2 { font-family: var(--serif); font-weight: 500; font-size: 2rem; margin: 0; }
.bag-close { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: none; color: var(--fg); font-size: 1.6rem; line-height: 1; cursor: pointer; }
.bag-close:hover { border-color: var(--fg); }
.bag-empty { display: grid; gap: 18px; padding: 24px 0; }
.bag-empty p { margin: 0; font-family: var(--serif); font-size: 1.3rem; }
.bag-lines { list-style: none; margin: 0; padding: 0; display: grid; border-top: 1px solid var(--line); }
.bag-line { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 16px; align-items: start; padding: 18px 0; border-bottom: 1px solid var(--line); }
.bag-line img { width: 64px; aspect-ratio: 480 / 680; object-fit: cover; border-radius: 2px 4px 4px 2px; box-shadow: 0 10px 18px -10px rgba(0,0,0,.4); }
.bag-line-main { display: grid; gap: 4px; min-width: 0; }
.bag-line-main strong { font-family: var(--serif); font-weight: 500; font-size: 1.25rem; }
.bag-line-main > span { font-size: .85rem; color: var(--muted); }
.bag-foil b { letter-spacing: .12em; color: var(--fg); font-weight: 500; }
.bag-qty { display: flex; align-items: center; gap: 10px; margin-top: 8px; }
.bag-qty button[data-dec], .bag-qty button[data-inc] { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line); background: none; color: var(--fg); cursor: pointer; font-size: 1rem; line-height: 1; }
.bag-qty span { min-width: 1.5em; text-align: center; font-variant-numeric: tabular-nums; }
.bag-remove { background: none; border: 0; padding: 0 0 0 8px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font-size: .85rem; }
.bag-line-price { font-variant-numeric: tabular-nums; font-weight: 500; }
.bag-pen { margin-top: 10px; font-size: .85rem; }
.bag-pen small { display: block; color: var(--muted); font-size: .78rem; }
.bag-line-main > .bag-pen-note { font-size: .76rem; line-height: 1.45; }
.pen-add-on { padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pen-add-on p { margin: 8px 0 0; }
.pen-preview { margin: 0 0 14px; padding: 12px 16px; background: #fff; border: 1px solid var(--line); border-radius: 4px; }
.pen-preview img { width: 100%; height: auto; display: block; }
.bag-foot { display: grid; gap: 14px; margin-top: auto; padding-top: 8px; }
.bag-checkout { width: 100%; justify-content: space-between; }
body.bag-open { overflow: hidden; }

.buy-form [data-names] .f input, .cover-opt [data-names] .f input { text-transform: uppercase; letter-spacing: .1em; }
.toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); z-index: 160; transform: translate(-50%, 20px); opacity: 0; background: var(--fg); color: var(--bg); padding: 14px 20px; border-radius: 999px; font-size: .92rem; max-width: calc(100% - 32px); text-align: center; transition: opacity .5s var(--ease), transform .5s var(--ease); }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }
@media (max-width: 719px) { .header-actions { gap: 8px; } }
@media (max-width: 559px) { .topbar-inner > span:first-child { display: none; } .topbar-inner { justify-content: center; } }

/* ---------- Your orders ---------- */
.orders { display: grid; gap: 24px; max-width: 900px; }
.orders-card { gap: 20px; }
.orders-card p { margin: 0; }
.orders-points { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; border-top: 1px solid var(--line); padding-top: 18px; }
.orders-points li { padding-left: 26px; position: relative; }
.orders-points li::before { content: ""; position: absolute; left: 4px; top: .55em; width: 9px; height: 9px; border-radius: 50%; border: 1.5px solid var(--dot); }
.orders-loading { display: flex; align-items: center; gap: 14px; }
.spinner { width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--line); border-top-color: var(--fg); animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.orders-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 20px; }
.order-list { display: grid; gap: 18px; }
.orders-empty { margin: 0; padding: 28px; background: var(--surface); border-radius: 6px; }
.order { background: var(--surface); border-radius: 6px; padding: clamp(20px, 3vw, 32px); display: grid; gap: 18px; }
.order-head { display: flex; justify-content: space-between; gap: 16px; align-items: start; flex-wrap: wrap; }
.order-head h3 { font-family: var(--serif); font-weight: 500; font-size: 1.5rem; margin: 0; }
.order-head p { margin: 4px 0 0; color: var(--muted); font-variant-numeric: tabular-nums; }
.order-pill { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; padding: 7px 14px; border-radius: 999px; background: var(--fg); color: var(--bg); white-space: nowrap; }
.order-pill.is-off { background: none; color: var(--muted); border: 1px solid var(--line); }
.order-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.order-steps li { position: relative; display: grid; justify-items: start; gap: 8px; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding-top: 4px; }
.order-steps li span { width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--surface); position: relative; z-index: 1; }
.order-steps li::before { content: ""; position: absolute; left: 14px; right: 0; top: 10px; height: 1.5px; background: var(--line); }
.order-steps li:last-child::before { display: none; }
.order-steps li.is-done { color: var(--fg); }
.order-steps li.is-done span { background: var(--fg); border-color: var(--fg); }
.order-steps li.is-done:not(.is-now)::before { background: var(--fg); }
.order-steps li.is-now span { box-shadow: 0 0 0 4px color-mix(in srgb, var(--fg) 15%, transparent); }
.order-items { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; border-top: 1px solid var(--line); padding-top: 16px; }
.order-items li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; }
.order-items small { color: var(--muted); }
.order-name b { letter-spacing: .1em; font-weight: 500; }
.order-track { border-top: 1px solid var(--line); padding-top: 14px; }
.order-track p { margin: 0; }
.order-more { justify-self: start; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; }
.toast a { color: inherit; text-decoration: underline; text-underline-offset: 3px; margin-left: 6px; }
@media (max-width: 719px) { .header-actions .bag-btn { width: 42px; height: 42px; } }
.header-cta { display: none !important; }
@media (min-width: 1000px) { .header-cta { display: inline-flex !important; } }
@media (max-width: 559px) { .account-btn { display: none !important; } .menu-social { flex-wrap: wrap; } }
@media (max-width: 719px) { .cover-switch-label { display: none !important; } .menu-toggle-text { display: none !important; } }

/* ---------- Launch offer: first 100 planners ---------- */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
s, .price-was { text-decoration-thickness: 1px; color: var(--muted); font-size: .72em; margin-left: .25em; font-weight: 400; }
.price-now { color: inherit; }
.offer-tag { display: inline-flex; align-items: center; gap: 8px; margin: 0; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; color: var(--dot); }
.offer-tag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--dot); flex: none; }
.price-l { flex-wrap: wrap; row-gap: 6px; }
.price-l .offer-tag { flex-basis: 100%; }
.offer { background: var(--surface); color: var(--fg); border-radius: 6px; padding: clamp(22px, 3vw, 36px); display: grid; gap: 20px; border: 1px solid color-mix(in srgb, var(--dot) 25%, transparent); }
.offer-head { display: grid; gap: 8px; }
.offer-head .eyebrow { color: var(--dot); }
.offer-head .eyebrow::before { box-shadow: inset 0 0 0 2px var(--surface); }
.offer-title { font-family: var(--serif); font-weight: 500; font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.4rem); line-height: 1.05; margin: 0; }
.offer-head .small { margin: 0; max-width: 48ch; }
.offer-table-wrap { overflow-x: auto; }
.offer-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; min-width: 300px; }
.offer-table th, .offer-table td { text-align: left; padding: 11px 10px 11px 0; border-bottom: 1px solid var(--line); vertical-align: baseline; }
.offer-table thead th { font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 500; color: var(--muted); }
.offer-table thead th:nth-child(2) { color: var(--dot); }
.offer-table tbody th { font-weight: 400; }
.offer-table td { white-space: nowrap; }
.offer-table td:nth-child(2) { font-weight: 500; }
.offer-table tfoot th, .offer-table tfoot td { font-family: var(--serif); font-size: 1.2rem; font-weight: 500; border-bottom: 0; padding-top: 14px; }
.offer-table td:last-child, .offer-table th:last-child { padding-right: 0; }
.offer-band { margin-top: clamp(48px, 6vw, 80px); max-width: 760px; margin-inline: auto; }
.deep .offer { background: var(--on-deep); color: var(--deep); --fg: var(--deep); --muted: color-mix(in srgb, var(--deep) 75%, transparent); --line: color-mix(in srgb, var(--deep) 16%, transparent); --surface: var(--on-deep); }
.buy .offer { margin-top: 4px; }
.bag-foot .offer-tag { font-size: .7rem; }

/* Balanced editorial hierarchy across every public chapter. */
:root {
  --t-h1: clamp(2.8rem, 1.8rem + 3.4vw, 5.5rem);
  --t-h2: clamp(2.1rem, 1.5rem + 2.3vw, 3.6rem);
  --t-h3: clamp(1.5rem, 1.2rem + 1vw, 2rem);
}
.page-hero h1, .foil-copy h1 { font-size: clamp(2.5rem, 1.7rem + 2.8vw, 4.5rem); line-height: 1.1; }
.buy h1 { font-size: clamp(2.4rem, 1.6rem + 2.7vw, 4.25rem); line-height: 1.1; }
.foil-copy h2, .split-head h2 { font-size: var(--t-h2); line-height: 1.12; }
.cover-meta h3 { font-size: clamp(2rem, 1.5rem + 1.8vw, 3rem); line-height: 1.1; }
.feature h3 { font-size: clamp(1.75rem, 1.25rem + 1.8vw, 2.75rem); line-height: 1.12; }
.footer-cta-link { font-size: clamp(2.3rem, 1.5rem + 3.5vw, 4.8rem); line-height: 1.1; }
.footer-cta { padding-block: clamp(64px, 7vw, 112px); }
.menu-list a { font-size: clamp(1.8rem, 1.2rem + 2.5vw, 3.2rem); }

/* Leave room for italic descenders inside the animated headline mask. */
.hero h1 { line-height: 1.08; }
.hero h1 .ln { padding-bottom: .25em; margin-bottom: -.25em; }

/* Each bag line previews its own selected cover and foil name. */
.bag-line { grid-template-columns: 96px minmax(0, 1fr) auto; }
.bag-cover-preview { position: relative; container-type: inline-size; margin: 0; width: 96px; aspect-ratio: 480 / 680; }
.bag-cover-preview img { width: 100%; height: 100%; }
.bag-cover-name { position: absolute; left: 14%; top: 84.7%; transform: translateY(-50%); width: 15%; white-space: nowrap; line-height: 1; font-family: var(--sans); font-weight: 500; letter-spacing: .04em; color: #d7b66b; }
@media (max-width: 480px) { .bag-line { grid-template-columns: 80px minmax(0,1fr) auto; gap: 12px; } .bag-cover-preview { width:80px; } }

/* Keep the journal guide in the primary desktop tabs without crowding controls. */
.nav-desktop ul { gap:16px; }
@media (min-width:1360px) and (max-width:1599px) { .header-inner { gap:16px; } .cover-switch-btn { padding-right:6px; } .cover-switch-label { display:none; } }

/* Keep the personalisation heading balanced beside its cover preview. */
.foil-copy h1.display {
  font-size: clamp(2.25rem, 1.6rem + 1.8vw, 3.5rem);
  line-height: 1.16;
}
.foil-copy h1 .ln { padding-bottom: .2em; margin-bottom: -.2em; }

/* Questions before checkout and after ordering. */
.order-help { padding-bottom: clamp(32px, 4vw, 56px); }
.order-help-card { gap: 20px; }
.order-help-card p { max-width: 65ch; margin: 14px 0 0; }
.order-help-card .cta-row { align-items: center; gap: 20px; }
.order-help-card a { overflow-wrap: anywhere; }
.bag-help { margin: 0; }

/* Approved layered founder portrait and planner hero. */
.hero h1.hero-heading { font-size: clamp(2.3rem, 1.1rem + 3.6vw, 4.6rem); line-height: 1.14; }
.hero-heading .ln > span { white-space: nowrap; }
.hero-heading .hero-heading-logo { height: 1.08em; width: 3.537em; vertical-align: -.289em; margin-left: .04em; } /* wordmark baseline sits on the text baseline */
.hero-visual--layered { width: min(100%, 500px); padding-bottom: 100px; }
.hero-visual--layered .portrait { width: 78%; margin-left: auto; aspect-ratio: 4 / 5; }
.hero-visual--layered .portrait img { object-position: 50% 20%; }
.hero-planner { position: absolute; width: 44%; height: auto; left: 4%; bottom: 36px; z-index: 2; transform: rotate(-7deg); border-radius: 3px; box-shadow: 8px 22px 32px -14px rgba(35,22,14,.4); }
.hero-visual--layered .hero-product { bottom: 8px; }
@media (max-width: 959px) {
 .hero h1.hero-heading { font-size: clamp(2.2rem, 7.8vw, 4.3rem); }
 .hero-visual--layered { width: min(100%, 480px); padding-bottom: 90px; }
 .hero-visual--layered .hero-product span:first-child { display: inline; }
}

/* Both approved cover colours beside the founder, with the caption under her photo. */
.hero-visual--layered .hero-product { top: auto; bottom: 68px; right: 0; }
.hero-planner-pair { position: absolute; left: 0; bottom: 12px; width: 58%; aspect-ratio: 1 / 1.18; z-index: 2; }
.hero-planner-pair .hero-planner { width: 65%; bottom: 0; }
.hero-planner-pair .hero-planner--espresso { left: 0; transform: rotate(-9deg); z-index: 2; }
.hero-planner-pair .hero-planner--cacao { left: 35%; bottom: 12%; transform: rotate(5deg); z-index: 1; }
@media (max-width: 959px) {
 .hero-visual--layered .hero-product { bottom: 58px; font-size: .6rem; letter-spacing: .12em; }
 .hero-planner-pair { width: 58%; }
}

/* Leaner launch page hierarchy and real hand-vinyl examples. */
.hero h1.hero-heading { font-size: clamp(2rem, 1rem + 3vw, 3.9rem); }
@media(max-width:959px) { .hero h1.hero-heading { font-size: clamp(2rem, 7vw, 3.7rem); } }
.compact-title, .page-hero h1.compact-title, .flip-head .compact-title { font-size: clamp(2rem, 1.15rem + 2.7vw, 3.6rem); line-height:1.12; margin:0; }
.flip-head h2 { font-size: clamp(2rem, 1.15rem + 2.7vw, 3.6rem); }
.compact-hero { padding-block:40px 20px; }
.collection-simple { padding-top:10px; }
.cacao-text { color:var(--cacao); }
.b-front, .cover-face { container-type:inline-size; }
.sample-name { position:absolute; left:14%; top:84.7%; transform:translateY(-50%); color:#d7b66b; font-family:var(--sans); font-size:3.64865cqw; font-weight:500; line-height:1; letter-spacing:.08em; pointer-events:none; }
.personalisation-care { border-top:1px solid var(--line); padding-top:20px; }
.personalisation-care h2 { font:500 1rem var(--sans); margin:0 0 10px; }
.personalisation-care p { font-size:.95rem; line-height:1.6; margin:0; max-width:48ch; }
.footer-nav { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:32px; }
.footer-group h2 { font:500 .75rem var(--sans); text-transform:uppercase; letter-spacing:.14em; margin:0 0 18px; }
.footer-nav .footer-group ul { display:flex; flex-direction:column; gap:12px; }
.footer-nav a { display:inline-block; line-height:1.5; }
@media(max-width:600px) { .footer-nav { grid-template-columns:repeat(2,minmax(0,1fr)); gap:28px 20px; } }

.foil-name.is-empty { opacity: 1; }

/* Keep the end of the founder story close to the next chapter. */
.page-about .about-hero { padding-bottom:24px; }
.page-about #giving-back { padding-block:clamp(36px,4vw,56px); }
.page-about .giving { gap:16px; }
.page-about .giving h2 { font-size:clamp(2rem,1.3rem + 2vw,3rem); }
.page-about .footer-cta { padding-block:clamp(40px,4vw,64px); }
.page-about .footer-cta-link { font-size:clamp(2.4rem,1.4rem + 4vw,5rem); }

/* Quiet full-width section dividers in the journal guide. */
.journal-divider { display:flex; align-items:center; gap:22px; margin-bottom:32px; color:var(--fg); font:500 .9rem var(--sans); letter-spacing:.14em; text-transform:uppercase; }
.journal-divider::after { content:""; flex:1; height:1px; background:currentColor; opacity:.35; }
.deep .journal-divider { color:var(--on-deep); }
.page-how-to-journal main > .section { padding-block:clamp(40px,5vw,72px); }
.page-how-to-journal main > .section[style] { padding-top:40px !important; }
@media(max-width:600px) { .journal-divider { gap:16px; margin-bottom:26px; font-size:.78rem; } }

/* Journal section titles sit inside a solid band. */
.journal-divider { display:block; padding:16px 22px; background:var(--deep); color:var(--on-deep); border-radius:2px; line-height:1.4; }
.journal-divider::after { display:none; }
.deep .journal-divider { background:var(--on-deep); color:var(--deep); }
@media(max-width:600px) { .journal-divider { padding:14px 18px; } }

/* Smaller subheadings beneath the journal section bands. */
.page-how-to-journal main h1.compact-title,
.page-how-to-journal main h2.display { font-size:clamp(1.7rem,1.15rem + 1.5vw,2.5rem); line-height:1.18; }
.page-how-to-journal .acc-trigger .t { font-size:clamp(1.2rem,1rem + .65vw,1.6rem); }
.page-how-to-journal .acc-body h3,
.page-how-to-journal .book-card h3 { font-size:clamp(1.2rem,1rem + .6vw,1.6rem); line-height:1.3; }

/* Vector separators avoid mobile emoji substitution. */
.marquee-star svg { display:block; width:1em; height:1em; }
/* Show the founder and planners first on phones. */
@media (max-width:719px) {
 .hero { padding-top:16px; }
 .hero-grid { gap:20px; }
 .hero-visual--layered { order:-1; width:min(68vw,260px); padding-bottom:72px; }
 .hero-visual--layered .hero-product { bottom:42px; }
 .hero-copy { gap:20px; }
}
@media (max-width:359px) {
 .header-inner { gap:8px; }
 .header-actions { gap:4px; }
 .logo .wm { height:28px; }
}

/* A seamless announcement strip on every screen size. */
.topbar { overflow:hidden; white-space:nowrap; }
.announcement-track { display:flex; width:max-content; animation:announcements 28s linear infinite; }
.announcement-group { display:flex; flex:none; align-items:center; gap:40px; padding:10px 20px; }
.topbar:hover .announcement-track { animation-play-state:paused; }
@keyframes announcements { to { transform:translateX(-50%); } }
.flip-swipe-controls { display:none; }
@media(max-width:959px) {
 .flip { height:auto; }
 .flip-sticky { position:relative; height:auto; min-height:0; padding-top:32px; padding-bottom:32px; overflow:visible; }
 .book-scene { touch-action:pan-y; }
 .flip-swipe-controls { display:flex; align-items:center; gap:12px; font-size:.75rem; }
 .flip-swipe-controls button { background:transparent; color:var(--fg); border:1px solid var(--line); border-radius:999px; padding:10px 14px; }
 .flip-swipe-controls button:disabled { opacity:.35; }
}
@media(prefers-reduced-motion:reduce) {
 .announcement-track { animation:none; width:100%; }
 .announcement-group { width:100%; white-space:normal; text-align:center; flex-wrap:wrap; justify-content:center; gap:8px 20px; }
 .announcement-group[aria-hidden] { display:none; }
}

/* Brand basket: cream paper, cacao accents and a quieter order summary. */
.bag-panel { --bg:#f8f5ef; --surface:#eae3d5; --fg:#382820; --muted:#66584e; --line:#38282029; --deep:#382820; --on-deep:#f8f5ef; width:min(500px,100%); gap:20px; padding:calc(28px + env(safe-area-inset-top,0px)) max(28px,env(safe-area-inset-right,0px)) calc(24px + env(safe-area-inset-bottom,0px)) 28px; }
.bag-head { padding-bottom:16px; border-bottom:1px solid var(--line); }
.bag-head h2 { font-size:2.3rem; line-height:1.15; letter-spacing:-.025em; }
.bag-panel > .eyebrow { margin:-6px 0 0; font-size:.65rem; letter-spacing:.15em; }
.bag-close { background:#fff8; border-color:var(--line); }
.bag-lines { border-top:0; }
.bag-line { grid-template-columns:100px minmax(0,1fr); gap:8px 22px; padding:22px 0; }
.bag-cover-preview { grid-row:1 / 3; width:100px; }
.bag-line img { width:100%; height:100%; object-fit:contain; box-shadow:3px 8px 18px -10px #38282066; }
.bag-line-main strong { font-size:1.45rem; line-height:1.25; }
.bag-line-main > span { font-size:.8rem; line-height:1.5; }
.bag-line-price { grid-column:2; font-size:.95rem; align-self:end; }
.bag-qty { gap:8px; flex-wrap:wrap; }
.bag-qty button[data-dec], .bag-qty button[data-inc] { width:36px; height:36px; background:#fff8; }
.bag-remove { min-height:36px; padding:4px 0 4px 6px; font-size:.76rem; }
.bag-foot { gap:12px; padding-top:12px; }
.bag-foot .sum { padding:20px; background:#eae3d566; border:1px solid var(--line); border-radius:4px; font-size:.9rem; }
.bag-foot .sum .tot { font-size:1.1rem; }
.bag-foot p { margin:0; }
.bag-foot .small { font-size:.76rem; line-height:1.55; }
.bag-foot [data-dispatch-note] { padding:0 2px; }
.bag-foot .offer-tag { font-size:.65rem; letter-spacing:.08em; align-self:start; justify-self:start; }
.bag-checkout { background:#382820; color:#f8f5ef; border-color:#382820; min-height:54px; border-radius:3px; }
.bag-checkout:hover { background:#503c30; color:#f8f5ef; border-color:#503c30; }
.bag-empty { padding:18px 0 30px; }
.bag-panel :focus-visible { outline:2px solid #382820; outline-offset:4px; }
@media(max-width:480px) {
 .bag-panel { padding-left:20px; padding-right:max(20px,env(safe-area-inset-right,0px)); gap:16px; }
 .bag-head h2 { font-size:2rem; }
 .bag-line { grid-template-columns:84px minmax(0,1fr); gap:8px 16px; padding:18px 0; }
 .bag-cover-preview { width:84px; }
 .bag-foot .sum { padding:16px; }
}

/* Narrow screens: let text and the hero picture use the full width (no empty band on the right). */
@media (max-width: 959px) {
  .lead, .hero-intro, .hero-intro--sm, .page-hero .lead, .founder-copy .lead, .snellen-copy .lead, .foil-note, .field { max-width: none; }
}
@media (max-width: 719px) {
  .hero-visual--layered { width: min(84vw, 440px); }
}

/* Desktop: a larger founder picture and planners in the hero (capped by window height). */
@media (min-width: 960px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .hero-visual--layered { width: min(100%, 620px, calc(92svh - 120px)); }
}

/* iPhone Safari: never let the page pan sideways. Clip on the root (Safari ignores the body-only rule
   when the toolbar shows/hides) and clip the page-turning planner, which overhangs the left edge on phones. */
html { overflow-x: hidden; overscroll-behavior-x: none; }
.flip-stage { overflow-x: clip; }

/* Phones: keep the whole header (logo, cover switch, bag, menu) inside the screen with room to spare.
   iPhone Safari draws the header buttons slightly wider than other browsers. */
@media (max-width: 719px) {
  .header-inner { gap: 10px; }
  .header-inner .logo { flex: 0 1 auto; min-width: 0; }
  .header-inner .logo .wm { width: min(111px, 27vw); }
  .header-actions { flex: none; gap: 6px; }
  .cover-switch-btn { padding: 0 8px 0 6px; }
  .menu-toggle { padding: 0 2px 0 6px; }
}

/* Photos: no long-press "Save image" on phones, no dragging */
img, video { -webkit-user-drag: none; -webkit-touch-callout: none; -webkit-user-select: none; user-select: none; }

/* Home hero: a photo of the planner (VIK08902) in place of the two drawn covers, overlapping the founder's portrait.
   Its shape is her portrait's arch turned upside down (square top, round bottom), so the two read as a pair. */
.hero-planner-photo { position: absolute; left: 0; bottom: 12px; width: 44%; aspect-ratio: 4 / 5; margin: 0; z-index: 2; overflow: hidden; border-radius: 4px 4px 999px 999px; background: var(--bone); box-shadow: 8px 22px 36px -16px rgba(35,22,14,.45); }
.hero-planner-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 58%; display: block; }

/* About: the credentials card sits under the photos on wide screens, so both columns end together.
   On phones and tablets it stays after the story (display: contents lets it join the main grid). */
.about-side { display: contents; }
.about-side .facts { order: 3; }
@media (min-width: 1000px) {
  .about-side { display: grid; gap: 28px; align-content: start; min-width: 0; }
  .about-side .about-photos { position: static; }
  .about-side .facts { order: 0; }
}
