/* ============================================================================
   Horreum — horreum.cloud  (v3, quiet)
   ONE theme per site, chosen on <html data-theme="dark|light"> (shell.py: THEME).
   Every section shares one background; structure comes from space and hairlines,
   not from boxes, glows or colour blocks. Gold is an accent — a label, a link —
   never a surface. Three faces, self-hosted (fonts.css). No framework.
   ========================================================================== */
:root, :root[data-theme="dark"] {
  --bg: #0B0B0C; --bg-2: #111112; --card: #121213;
  --ink: #F1ECE1; --text: #CFC9BC; --text-dim: #A29C8F; --text-mute: #6E695F;
  --gold: #C9A962; --gold-soft: #DBC084; --gold-bright: #C9A962; --gold-pale: #C9A962;
  --line: rgba(241,236,225,.11); --line-soft: rgba(241,236,225,.07);
  --btn-bg: #F1ECE1; --btn-ink: #0B0B0C;
  --header-bg: rgba(11,11,12,.78);
  --green: #8FB487; --danger: #E58B73;
  --frame: #1C1C1E; --frame-edge: rgba(255,255,255,.10); --shot-shadow: 0 50px 90px -50px rgba(0,0,0,.9);
  color-scheme: dark;
}
:root[data-theme="light"] {
  --bg: #F5F1E8; --bg-2: #EFEADF; --card: #FBF8F1;
  --ink: #16130E; --text: #2E2A23; --text-dim: #5F594D; --text-mute: #8E8778;
  --gold: #7C5A36; --gold-soft: #5F4426; --gold-bright: #7C5A36; --gold-pale: #7C5A36;
  --line: rgba(22,19,14,.13); --line-soft: rgba(22,19,14,.08);
  --btn-bg: #16130E; --btn-ink: #F5F1E8;
  --header-bg: rgba(245,241,232,.82);
  --green: #4F6E4A; --danger: #B4452F;
  --frame: #121214; --frame-edge: rgba(255,255,255,.08); --shot-shadow: 0 50px 80px -50px rgba(40,32,20,.55);
  color-scheme: light;
}
:root {
  /* names the older page bodies use inline — all resolve to the one theme */
  --cream: var(--bg); --cream-2: var(--bg-2); --paper: var(--bg); --espresso: var(--ink);
  --night: var(--bg); --night-2: var(--card); --night-3: var(--bg-2); --night-text: var(--ink); --night-dim: var(--text-dim); --night-mute: var(--text-mute);
  --display: "Cormorant Garamond", "Hoefler Text", Georgia, serif;
  --serif: "Cormorant Garamond", "Hoefler Text", Georgia, serif;
  --sans: "Josefin Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --r: 16px; --r-s: 12px; --r-pill: 999px;
  --wrap: 1160px;
  --ease: cubic-bezier(.22,1,.36,1);
}
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .3s; }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; background: var(--bg); }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--serif); font-size: 20px; line-height: 1.6; font-weight: 500; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 4px; text-decoration-thickness: 1px; transition: text-decoration-color .2s, color .2s; }
a:hover { text-decoration-color: var(--gold); }
::selection { background: color-mix(in srgb, var(--gold) 35%, transparent); }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 500; line-height: 1.08; margin: 0 0 .5em; color: var(--ink); letter-spacing: -.018em; text-wrap: balance; }
h1 { font-size: clamp(42px, 6vw, 80px); line-height: 1.02; letter-spacing: -.025em; }
h2 { font-size: clamp(32px, 4vw, 52px); }
h3 { font-size: clamp(23px, 2.2vw, 27px); line-height: 1.2; letter-spacing: -.01em; font-weight: 600; }
h4 { font-size: 20px; font-weight: 600; }
h1 em, h2 em, h3 em { font-style: italic; color: inherit; font-weight: inherit; }
p { margin: 0 0 1em; text-wrap: pretty; }
b, strong { color: var(--ink); font-weight: 600; }
.lead { font-size: clamp(20px, 1.9vw, 24px); color: var(--text-dim); line-height: 1.5; }
.eyebrow { font-family: var(--sans); font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin: 0 0 22px; display: block; }
.small { font-size: 17px; color: var(--text-dim); }
.muted { color: var(--text-mute); }
.sans { font-family: var(--sans); }
.wrap { width: min(var(--wrap), calc(100% - 56px)); margin: 0 auto; }
.wrap--narrow { width: min(760px, calc(100% - 56px)); margin: 0 auto; }
/* one background everywhere; a hairline is the only seam */
.sec, .sec--night, .sec--paper, .day { position: relative; padding: clamp(88px, 10vw, 148px) 0; background: var(--bg); color: var(--text); }
.sec + .sec, .sec + .atlas, .atlas + .sec, .hero + .sec, .h-hero + .sec { border-top: 1px solid var(--line-soft); }
.sec--tight { padding: clamp(48px, 6vw, 84px) 0; }
.rule { height: 1px; background: var(--line); margin: 0; }
.center { text-align: center; }
.grid { display: grid; gap: 0 48px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1000px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } body { font-size: 18.5px; } .wrap, .wrap--narrow { width: calc(100% - 44px); } }

/* ── buttons: one solid, one quiet ───────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 24px; border-radius: var(--r-pill); border: 1px solid transparent; font-family: var(--sans); font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; cursor: pointer; text-decoration: none; transition: opacity .2s, border-color .2s, background .2s, color .2s; white-space: nowrap; line-height: 1; }
.btn--gold { color: var(--btn-ink); background: var(--btn-bg); }
.btn--gold:hover { opacity: .86; color: var(--btn-ink); }
.btn--ghost { color: var(--ink); border-color: var(--line); background: transparent; }
.btn--ghost:hover { border-color: var(--ink); }
.btn--lg { padding: 18px 30px; font-size: 12px; }
.btn--block { width: 100%; }
.btn .arr { transition: transform .25s var(--ease); }
.btn:hover .arr { transform: translateX(3px); }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.center .cta-row { justify-content: center; }

/* ── header ──────────────────────────────────────────────────────────────── */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 60; background: transparent; border-bottom: 1px solid transparent; transition: background .3s, border-color .3s; }
.site-header.scrolled, .site-header.open { background: var(--header-bg); -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%); border-bottom-color: var(--line-soft); }
.site-header .wrap { display: flex; align-items: center; gap: 30px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); font-family: var(--sans); font-size: 12.5px; letter-spacing: .38em; text-transform: uppercase; font-weight: 600; text-decoration: none; }
.brand img { width: 26px; height: 26px; }
.g-light { display: none; } :root[data-theme="light"] .g-light { display: block; } :root[data-theme="light"] .g-dark { display: none; }
.nav { display: flex; align-items: center; gap: 28px; margin-left: 10px; }
.nav a { font-family: var(--sans); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--text-dim); font-weight: 600; padding: 6px 0; text-decoration: none; transition: color .2s; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.header-cta { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.header-cta .btn { padding: 12px 18px; font-size: 10.5px; }
.header-cta .btn--ghost { border-color: transparent; color: var(--text-dim); }
.header-cta .btn--ghost:hover { color: var(--ink); border-color: transparent; }
.nav-toggle { display: none; margin-left: auto; width: 42px; height: 42px; border: 0; background: transparent; color: var(--ink); cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle svg { width: 22px; height: 22px; }
@media (max-width: 980px) {
  .nav, .header-cta { display: none; }
  .nav-toggle { display: inline-flex; }
  html.nav-open { overflow: hidden; }
  .site-header.open { bottom: 0; background: var(--bg); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .site-header.open .nav { display: flex; flex-direction: column; align-items: stretch; gap: 0; position: fixed; top: 84px; left: 22px; right: 22px; margin: 0; }
  .site-header.open .nav a { padding: 18px 0; border-bottom: 1px solid var(--line-soft); font-family: var(--display); font-size: 30px; letter-spacing: -.01em; text-transform: none; font-weight: 500; color: var(--ink); }
  .site-header.open .header-cta { display: flex; position: fixed; left: 22px; right: 22px; bottom: calc(26px + env(safe-area-inset-bottom, 0px)); flex-direction: column; align-items: stretch; gap: 10px; margin: 0; }
  .site-header.open .header-cta .btn { padding: 18px; font-size: 12px; }
  .site-header.open .header-cta .btn--ghost { border-color: var(--line); color: var(--ink); }
}

/* ── hero ────────────────────────────────────────────────────────────────── */
.hero { position: relative; padding: clamp(150px, 16vw, 210px) 0 clamp(80px, 9vw, 130px); background: var(--bg); }
.hero .wrap { display: grid; grid-template-columns: 1.2fr .8fr; gap: 64px; align-items: center; }
.hero h1 { font-size: clamp(40px, 5.4vw, 72px); margin-bottom: 26px; }
.hero .lead { max-width: 580px; margin-bottom: 36px; }
.hero-note { margin-top: 30px; font-family: var(--sans); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--text-mute); line-height: 2; }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; gap: 56px; } }
main > .sec:first-child { padding-top: clamp(150px, 16vw, 200px); }

.h-hero { position: relative; padding: clamp(160px, 17vw, 230px) 0 clamp(80px, 9vw, 130px); background: var(--bg); text-align: center; overflow: hidden; }
.h-hero h1 { font-size: clamp(46px, 7.2vw, 100px); margin: 0 auto 28px; max-width: 13ch; }
.h-hero .lead { max-width: 620px; margin: 0 auto 38px; }
.h-hero .cta-row { justify-content: center; }
.h-hero .hero-note { margin-top: 28px; }
/* three screens, standing straight; the middle one a step forward */
.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 3.4vw, 48px); align-items: end; width: min(980px, calc(100% - 56px)); margin: clamp(90px, 10vw, 140px) auto 0; }
.trio .phone { width: 100%; }
.trio .phone:nth-child(2) { transform: translateY(-7%); }
@media (max-width: 640px) { .trio { width: 150%; margin-left: -25%; gap: 14px; } }

/* ── phone frame (container units: one shape at every size) ──────────────── */
.phone { position: relative; width: min(100%, 310px); margin: 0 auto; container-type: inline-size; }
.phone--sm { width: min(100%, 240px); }
.phone-body { position: relative; border-radius: 46px; background: var(--frame); padding: 8px; box-shadow: var(--shot-shadow), 0 0 0 1px var(--frame-edge) inset; }
.phone img { display: block; width: 100%; height: auto; border-radius: 38px; background: #0b0b0d; }
@supports (width: 1cqw) { .phone-body { border-radius: 14.2cqw; padding: 2.5cqw; } .phone img { border-radius: 11.9cqw; } }
.phones { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; align-items: start; }
.phones figure { margin: 0; }
.phones figcaption { text-align: center; margin-top: 22px; font-family: var(--sans); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink); }
.phones figcaption span { display: block; margin-top: 8px; font-family: var(--serif); font-size: 17px; letter-spacing: 0; text-transform: none; color: var(--text-dim); }
@media (max-width: 900px) { .phones { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2.4vw, 32px); align-items: start; width: 100%; max-width: 560px; margin: 0 auto; justify-self: center; }
.duo .phone:last-child { margin-top: 14%; }

/* ── "cards" are columns under a hairline, not boxes ─────────────────────── */
.card { position: relative; padding: 28px 0 44px; border-top: 1px solid var(--line); background: none; }
.card h3 { margin: 18px 0 10px; font-size: 24px; }
.card p { margin: 0; color: var(--text-dim); font-size: 18px; max-width: 44ch; }
.card .ico { display: inline-flex; color: var(--gold); }
.card .ico svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.card .tag { display: none; }
.card.boxed { padding: 40px; border: 1px solid var(--line); border-radius: var(--r); }

/* ── numbered steps ──────────────────────────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 48px; }
.step { padding: 28px 0 0; border-top: 1px solid var(--line); }
.step .num { font-family: var(--sans); font-size: 11px; letter-spacing: .3em; color: var(--gold); margin-bottom: 18px; }
.step h3 { font-size: 27px; }
.step p { color: var(--text-dim); font-size: 18px; margin: 0; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; gap: 36px; } }

/* ── the pinned story ────────────────────────────────────────────────────── */
.story { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: start; }
.story-stage { position: sticky; top: 14vh; height: 72vh; display: flex; align-items: center; justify-content: center; }
.story-stage .phone { width: min(100%, 33vh, 310px); }
.story-stage .stack { position: relative; border-radius: inherit; overflow: hidden; }
.story-stage .stack img { opacity: 0; transition: opacity .5s var(--ease); }
.story-stage .stack img + img { position: absolute; left: 0; top: 0; }
.story-stage .stack img.on { opacity: 1; }
.chapter { min-height: 72vh; display: flex; flex-direction: column; justify-content: center; opacity: .3; transition: opacity .5s var(--ease); padding: 6vh 0; }
.chapter.on { opacity: 1; }
.chapter .num { font-family: var(--sans); font-size: 11px; letter-spacing: .3em; color: var(--gold); margin-bottom: 20px; }
.chapter h3 { font-size: clamp(32px, 3.6vw, 48px); font-weight: 500; margin-bottom: 18px; letter-spacing: -.018em; }
.chapter p { color: var(--text-dim); max-width: 500px; }
.chapter .shot-m { display: none; }
@media (max-width: 860px) { .story { grid-template-columns: 1fr; } .story-stage { display: none; } .chapter { min-height: 0; opacity: 1; padding: 36px 0; border-top: 1px solid var(--line-soft); } .chapter .shot-m { display: block; margin-top: 30px; } .chapter .shot-m .phone { width: min(70%, 260px); } }

/* ── split rows ──────────────────────────────────────────────────────────── */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.split--rev > :first-child { order: 2; }
.split ul { padding-left: 0; list-style: none; margin: 26px 0 0; }
.split li { padding: 15px 0; border-top: 1px solid var(--line-soft); font-size: 18px; color: var(--text-dim); }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 48px; } .split--rev > :first-child { order: 0; } }

/* ── the atlas: one picture, framed like any other ───────────────────────── */
.atlas { position: relative; padding: clamp(88px, 10vw, 148px) 0; background: var(--bg); }
.atlas .copy { max-width: 620px; margin-bottom: clamp(40px, 5vw, 64px); }
.atlas-map { position: relative; width: 100%; aspect-ratio: 21 / 9; border-radius: var(--r); overflow: hidden; background: #020308; box-shadow: 0 0 0 1px var(--line-soft); }
.atlas-map img { position: absolute; left: 0; top: 50%; width: 100%; height: auto; transform: translateY(-52%); }
.atlas-map .pins { position: absolute; left: 0; top: 50%; width: 100%; aspect-ratio: 2049 / 1024; transform: translateY(-52%); }
.pin { position: absolute; width: 38px; height: 38px; margin: -19px 0 0 -19px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--display); font-weight: 600; font-size: 15px; color: #2B1F08; background: radial-gradient(circle at 35% 28%, #F4E3B0, #CFAE62 60%, #A98538); box-shadow: 0 0 0 6px rgba(201,169,98,.16); }
@media (max-width: 760px) { .atlas-map { aspect-ratio: 4 / 3; } .atlas-map img, .atlas-map .pins { width: 190%; left: -38%; } .pin { width: 30px; height: 30px; margin: -15px 0 0 -15px; font-size: 12px; } }

/* ── numbers ─────────────────────────────────────────────────────────────── */
.stat { text-align: left; padding: 26px 0 30px; border-top: 1px solid var(--line); }
.stat b { display: block; font-family: var(--sans); font-weight: 300; font-size: clamp(48px, 5vw, 68px); color: var(--ink); line-height: 1; letter-spacing: -.02em; }
.stat span { display: block; margin-top: 12px; font-family: var(--sans); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--text-mute); }

/* ── pricing ─────────────────────────────────────────────────────────────── */
.price-card, .price-card--night { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 44px 40px; color: var(--text); }
.price-card .amount { font-family: var(--display); font-size: clamp(48px, 7vw, 72px); line-height: 1; color: var(--ink); margin: 6px 0 4px; }
.price-card .per { font-family: var(--sans); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--text-mute); margin-bottom: 24px; }
.price-card ul { list-style: none; padding: 0; margin: 0 0 30px; }
.price-card li { padding: 13px 0 13px 30px; position: relative; border-top: 1px solid var(--line-soft); font-size: 18px; color: var(--text-dim); }
.price-card li::before { content: ""; position: absolute; left: 3px; top: 20px; width: 11px; height: 6px; border-left: 1.5px solid var(--gold); border-bottom: 1.5px solid var(--gold); transform: rotate(-45deg); }

/* ── FAQ ─────────────────────────────────────────────────────────────────── */
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 24px 0; font-family: var(--display); font-weight: 600; font-size: clamp(21px, 2vw, 24px); color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 14px; height: 14px; background: linear-gradient(var(--text-dim), var(--text-dim)) 50% 50% / 14px 1.5px no-repeat, linear-gradient(var(--text-dim), var(--text-dim)) 50% 50% / 1.5px 14px no-repeat; transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .a { padding: 0 0 26px; color: var(--text-dim); font-size: 18.5px; max-width: 700px; }
.faq .a p { margin: 0 0 .7em; }

/* ── forms ───────────────────────────────────────────────────────────────── */
.form { display: grid; gap: 18px; }
.form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 640px) { .form .row2 { grid-template-columns: 1fr; } }
.field { display: block; }
.field span { display: block; font-family: var(--sans); font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: var(--text-mute); margin: 0 0 9px 2px; }
.field input, .field select, .field textarea { width: 100%; font-family: var(--sans); font-size: 16px; color: var(--ink); background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 16px 17px; outline: none; transition: border-color .2s; -webkit-appearance: none; appearance: none; }
.field textarea { min-height: 140px; resize: vertical; font-family: var(--serif); font-size: 19px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink); }
.field select { background-image: linear-gradient(45deg, transparent 50%, var(--text-dim) 50%), linear-gradient(135deg, var(--text-dim) 50%, transparent 50%); background-position: calc(100% - 24px) 50%, calc(100% - 18px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 44px; }
.field select option { background: var(--card); color: var(--ink); }
.form .hp { position: absolute; left: -9999px; top: -9999px; height: 0; width: 0; opacity: 0; }
.form-msg { min-height: 20px; font-family: var(--sans); font-size: 13px; color: var(--danger); }
.form-msg.ok { color: var(--green); }
.form-done { text-align: center; padding: 56px 24px; border: 1px solid var(--line); border-radius: var(--r); background: var(--card); }
.form-done h3 { margin-bottom: 8px; }

/* ── prose (legal, about) ────────────────────────────────────────────────── */
.prose { max-width: 720px; }
.prose h1 { font-size: clamp(40px, 5vw, 60px) !important; }
.prose h2 { font-size: 30px; margin-top: 56px; font-weight: 600; }
.prose h3 { font-size: 23px; margin-top: 30px; }
.prose p, .prose li { color: var(--text-dim); font-size: 19.5px; }
.prose p.eyebrow { font-size: 11px; color: var(--gold); }
.prose ul { padding-left: 22px; }
.prose li { margin: 8px 0; }
.prose li::marker { color: var(--text-mute); }
.prose .meta { font-family: var(--sans); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--text-mute); margin-bottom: 34px; }
.prose blockquote { margin: 34px 0; padding: 2px 0 2px 26px; border-left: 1px solid var(--line); font-style: italic; font-size: 25px; line-height: 1.4; color: var(--ink); }

/* ── closing call ────────────────────────────────────────────────────────── */
.finale { text-align: center; padding: clamp(110px, 13vw, 190px) 0; background: var(--bg); border-top: 1px solid var(--line-soft); }
.finale h2 { font-size: clamp(40px, 6vw, 84px); line-height: 1.02; margin-bottom: 24px; letter-spacing: -.025em; }

/* ── footer ──────────────────────────────────────────────────────────────── */
.site-footer { background: var(--bg); color: var(--text-dim); padding: 72px 0 0; border-top: 1px solid var(--line-soft); }
.site-footer .cols { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 36px; }
.site-footer h4 { color: var(--text-mute); font-family: var(--sans); font-size: 10.5px; letter-spacing: .26em; text-transform: uppercase; margin-bottom: 18px; font-weight: 600; }
.site-footer a { color: var(--text-dim); display: block; padding: 6px 0; font-size: 17.5px; text-decoration: none; }
.site-footer a:hover { color: var(--ink); }
.site-footer .brand { color: var(--ink); margin-bottom: 18px; display: inline-flex; padding: 0; font-size: 12.5px; }
.site-footer .fine { border-top: 1px solid var(--line-soft); margin-top: 56px; padding: 24px 0 28px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-family: var(--sans); font-size: 11px; letter-spacing: .1em; color: var(--text-mute); }
.site-footer .fine a { display: inline; padding: 0; font-size: inherit; color: var(--text-mute); }
@media (max-width: 760px) { .site-footer .cols { grid-template-columns: 1fr 1fr; } }

/* ── motion: one gentle reveal, nothing else moves on its own ────────────── */
.rv { opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0s); }
.rv.in { opacity: 1; transform: none; }
html.no-js .rv { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .rv { opacity: 1 !important; transform: none !important; transition: none !important; } .chapter { opacity: 1; } }

/* ── misc ────────────────────────────────────────────────────────────────── */
.vine, .kicker i { display: none; }
.notice { border: 1px solid var(--line); background: var(--card); border-radius: var(--r-s); padding: 16px 20px; font-size: 17px; color: var(--text-dim); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: #fff; color: #000; padding: 10px 14px; z-index: 100; border-radius: 8px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

/* ── the Android frame: squarer shoulders, a punch-hole instead of an island ─ */
.phone--android .phone-body { border-radius: 40px; padding: 7px; }
.phone--android img { border-radius: 33px; }
.phone--android .phone-body::after { content: ""; position: absolute; left: 50%; top: 18px; width: 11px; height: 11px; margin-left: -5.5px; border-radius: 50%; background: #050505; box-shadow: 0 0 0 1px rgba(255,255,255,.06); }
@supports (width: 1cqw) { .phone--android .phone-body { border-radius: 11cqw; padding: 2.3cqw; } .phone--android img { border-radius: 8.8cqw; } .phone--android .phone-body::after { top: 5.4cqw; width: 3.4cqw; height: 3.4cqw; margin-left: -1.7cqw; } }
.trio--flat { margin-top: 0; align-items: start; }
.trio--flat .phone:nth-child(2) { transform: none; }
@media (max-width: 640px) { .trio--flat { width: 100%; margin-left: 0; grid-template-columns: 1fr; gap: 36px; } .trio--flat .phone { width: min(72%, 270px); } }
