/* pedai.de, "Cover story" direction (2026-10-17). Contract: vault Projects/Lena/DESIGN.md.
   Grammar from Open Design "Atelier Zero": a business-magazine feature with Roman-numeral chapters,
   bold sans headlines with one italic-serif word, hairline rules; 2026-10-17 composition pass: one clean portrait, airier hero, "heading left, text right" splits.
   Colour sampled from Olena's portrait (2026-10-17): jacket rose as primary, leaf green as
   secondary, a deeper shade of the darkest jacket shadow as the dark background; every text pair measured (list in DESIGN.md). */

@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/inter-cyrillic-400-normal.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/inter-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/inter-cyrillic-800-normal.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/inter-latin-800-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Playfair Display"; font-style: italic; font-weight: 500; font-display: swap; src: url("../fonts/playfair-display-cyrillic-500-italic.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Playfair Display"; font-style: italic; font-weight: 500; font-display: swap; src: url("../fonts/playfair-display-latin-500-italic.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Playfair Display"; font-style: italic; font-weight: 700; font-display: swap; src: url("../fonts/playfair-display-latin-700-italic.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* Self-hosted Latin Extended faces for Polish, alongside the existing Latin/Cyrillic subsets. */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/inter-latin-ext-400-normal.woff2") format("woff2"); unicode-range: U+0100-02FF, U+0300-036F, U+1E00-1EFF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/inter-latin-ext-800-normal.woff2") format("woff2"); unicode-range: U+0100-02FF, U+0300-036F, U+1E00-1EFF; }
@font-face { font-family: "Playfair Display"; font-style: italic; font-weight: 500; font-display: swap; src: url("../fonts/playfair-display-latin-ext-500-italic.woff2") format("woff2"); unicode-range: U+0100-02FF, U+0300-036F, U+1E00-1EFF; }
@font-face { font-family: "Playfair Display"; font-style: italic; font-weight: 700; font-display: swap; src: url("../fonts/playfair-display-latin-ext-700-italic.woff2") format("woff2"); unicode-range: U+0100-02FF, U+0300-036F, U+1E00-1EFF; }

:root {
  color-scheme: light;
  --bg: #fafaf8;
  --surface: #f1f2ef;
  --tint: #f8e7e4;          /* jacket blush: the cost chapter */
  --line: #d4d5d0;
  --rule: #21221f;
  --ink: #21221f;
  --ink-2: #564a46;         /* warm brown-grey toward the jacket shadow, for running text */
  --accent: #834640;        /* jacket rose in shadow: links, the italic word */
  --accent-hover: #6b332d;
  --button: #cb8a89;        /* jacket rose: filled buttons, label in --on-accent */
  --button-hover: #db9e9d;
  --on-accent: #481812;     /* darkest jacket shadow */
  --mark: #687947;          /* muted leaf green: numerals, kickers, the full stop */
  --panel: #481812;         /* the feature panel */
  --panel-ink: #f3ece4;
  --panel-mark: #cb8a89;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --wrap: 84rem;
  --gut: clamp(1rem, 4vw, 4rem);
  --header-h: 4.25rem;      /* sticky header; the hero and anchor jumps leave room for it */
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);      /* entrances, reveals, the theme circle */
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);  /* the portrait unveil */
}
/* Dark tokens appear twice and must stay identical: the theme button (data-theme, set by theme.js)
   and the system setting when the button was never used or scripts are off. */
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #1c0503;
  --surface: #270906;
  --tint: #120201;
  --line: #5e2c25;
  --rule: #f4ecea;
  --ink: #f4ecea;
  --ink-2: #dcc4bf;
  --accent: #db9e9d;
  --accent-hover: #f0c3c1;
  --button: #cb8a89;
  --button-hover: #db9e9d;
  --mark: #92a361;
  --panel: #110201;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #1c0503;
    --surface: #270906;
    --tint: #120201;
    --line: #5e2c25;
    --rule: #f4ecea;
    --ink: #f4ecea;
    --ink-2: #dcc4bf;
    --accent: #db9e9d;
    --accent-hover: #f0c3c1;
    --button: #cb8a89;
    --button-hover: #db9e9d;
    --mark: #92a361;
    --panel: #110201;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: var(--header-h); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1.0625rem/1.6 var(--sans); letter-spacing: -.011em; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4 { margin: 0; }
p, ul, ol, dl, figure, blockquote { margin: 0; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
main:focus { outline: none; }
strong { font-weight: 800; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 20; background: var(--button); color: var(--on-accent); padding: .75rem 1rem; border-radius: 4px; font-weight: 800; }
.skip-link:focus { top: 1rem; }

.s { font: italic 500 1.06em/1 var(--serif); color: var(--accent); letter-spacing: -.01em; }
.dot { color: var(--mark); }
.dot--italic { font: italic 500 1.06em/1 var(--serif); letter-spacing: -.01em; }
.mono { font: 400 .75rem/1.4 var(--mono); letter-spacing: .02em; color: var(--ink-2); }

/* header: sticks to the top */
.site-header { position: sticky; top: 0; z-index: 10; background: var(--bg); box-shadow: 0 1px 0 var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; height: var(--header-h); }
.brand { color: var(--ink); text-decoration: none; font: 800 1.3rem/1 var(--sans); letter-spacing: -.035em; white-space: nowrap; }
.brand .s { font-size: 1.08em; }
.site-nav ul { display: none; list-style: none; padding: 0; gap: 1.75rem; }
.site-nav a { color: var(--ink); text-decoration: none; font-size: .9375rem; }
.site-nav a:hover { text-decoration: underline; }
@media (min-width: 66rem) { .site-nav ul { display: flex; } }
.header-actions { display: flex; align-items: center; gap: .5rem; }
.theme-toggle { display: none; place-items: center; width: 2.875rem; height: 2.875rem; padding: 0; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--ink); cursor: pointer; transition: border-color .16s ease-out, transform .15s var(--ease-out); }
[data-theme] .theme-toggle { display: inline-grid; }   /* shown only when theme.js runs */
.theme-toggle:hover { border-color: var(--ink); }
.theme-toggle:active { transform: scale(.96); }
.theme-toggle .i-sun, [data-theme="dark"] .theme-toggle .i-moon { display: none; }
[data-theme="dark"] .theme-toggle .i-sun { display: block; }
/* language switch: the current language as a code in a circle beside the theme button; the menu names every version in its own language.
   A plain <details>, so it works without JavaScript; theme.js only closes it on Escape or a click elsewhere. */
.lang { position: relative; }
.lang summary { display: grid; place-items: center; width: 2.875rem; height: 2.875rem; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); font: 400 .75rem/1 var(--mono); letter-spacing: .02em; list-style: none; cursor: pointer; transition: border-color .16s ease-out; }
.lang summary::-webkit-details-marker { display: none; }
.lang summary:hover, .lang[open] summary { border-color: var(--ink); }
.lang ul { position: absolute; top: calc(100% + .5rem); right: 0; z-index: 1; min-width: 11rem; margin: 0; padding: .375rem; list-style: none; background: var(--bg); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 12px 32px -16px rgb(0 0 0 / .3); }
.lang a { display: flex; align-items: center; min-height: 2.5rem; padding-inline: .75rem; border-radius: 8px; color: var(--ink); font-size: .9375rem; text-decoration: none; }
.lang a:hover { background: var(--surface); }
.lang a[aria-current] { font-weight: 800; }
@media (max-width: 29.99rem) { .site-header .wide { display: none; } }   /* phones: "Book" in the header leaves room for the language button; the hero repeats the full button */
@media (max-width: 23.99rem) { .site-header .wrap { gap: .5rem; } .site-header .site-nav { display: none; } .header-actions { gap: .375rem; } .brand { font-size: 1.125rem; } .site-header .btn { padding-inline: 1rem; } }

/* buttons */
.btn { --btn-bg: var(--button); --btn-bg-hover: var(--button-hover);
  display: inline-flex; align-items: center; gap: .55rem; min-height: 2.875rem; padding: .8rem 1.4rem; border-radius: 999px;
  font: 800 .9375rem/1 var(--sans); letter-spacing: -.01em; text-decoration: none; white-space: nowrap;
  transition: background-color .16s ease-out, color .16s ease-out, border-color .16s ease-out; }
/* Translated actions can be longer than the available card width. */
main .btn { max-width: 100%; white-space: normal; line-height: 1.3; text-align: center; justify-content: center; }
.contact .wrap > div { min-width: 0; }
.btn svg { width: 14px; height: 14px; flex: none; }
.btn--primary { background: var(--btn-bg); color: var(--on-accent); }
.btn--primary:hover { background: var(--btn-bg-hover); }
.btn--ghost { border: 1px solid var(--line); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink); }

/* hero: the text and the four facts fit the first screen at every size; on phones the portrait follows below.
   Sizes are capped by the viewport height (svh) as well as the width, so short screens shrink the type. */
.hero { overflow-x: clip; }
.hero .wrap { display: grid; align-content: start; padding-top: clamp(.75rem, 3svh, 2.5rem); }
.hero .wrap > * { min-width: 0; }
.kicker { display: flex; align-items: baseline; gap: .75rem; font: 400 clamp(.6875rem, 1.5svh, .75rem)/1.5 var(--mono); letter-spacing: .02em; color: var(--ink-2); margin-bottom: clamp(1rem, 4svh, 2.75rem); }
.kicker::before { content: ""; width: 1.25rem; height: 1px; background: var(--mark); flex: none; transform: translateY(-.3em); }
.kicker-name { color: var(--ink); }
h1 { font: 800 clamp(1.75rem, min(9.4vw, 6.4svh), 5.25rem)/.98 var(--sans); letter-spacing: -.055em; margin-bottom: clamp(1rem, 3.6svh, 2.25rem); }
h1 .line { display: block; }
h1 .s { font-size: 1.1em; letter-spacing: -.02em; }
.lead { font-size: clamp(.9375rem, min(1.4vw + .5rem, 2.7svh), 1.25rem); line-height: 1.55; color: var(--ink-2); max-width: 35rem; margin-bottom: clamp(1.25rem, 4.4svh, 2.75rem); text-wrap: pretty; }
.lead strong { color: var(--ink); }
.ctas { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 1rem; }
.hero .ctas { margin-bottom: clamp(0rem, 1.6svh, 1rem); }
.note { font-size: .875rem; color: var(--ink-2); }
@media (max-height: 44rem) { .hero .note { display: none; } }

.facts { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: clamp(1rem, 3svh, 2.5rem); }
.facts::before, .facts::after { content: ""; position: absolute; left: 50%; width: 100vw; height: 1px; background: var(--line); transform: translateX(-50%); }
.facts::before { top: 0; }
.facts::after { bottom: 0; }
.fact { padding: clamp(.625rem, 2svh, 1.75rem) 1rem clamp(.625rem, 2svh, 1.75rem) 0; }
.fact:nth-child(odd) { border-right: 1px solid var(--line); }
.fact:nth-child(even) { padding-left: 1rem; }
.fact:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
.fact .n { font: italic 700 clamp(1.5rem, min(3.4vw, 4.6svh), 3rem)/1 var(--serif); letter-spacing: -.01em; margin-bottom: clamp(.25rem, 1svh, .6rem); }
.fact .l { font-size: clamp(.8125rem, 2.1svh, .9375rem); line-height: 1.4; color: var(--ink-2); max-width: 17rem; }
@media (min-width: 40rem) {
  .facts { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .fact, .fact:nth-child(even) { padding-inline: 1.25rem; border-right: 1px solid var(--line); border-bottom: 0; }
  .fact:first-child { padding-left: 0; }
  .fact:last-child { border-right: 0; padding-right: 0; }
}

.plate { justify-self: center; width: 100%; max-width: 34rem; margin-block: 3rem 0; }
.plate-img { aspect-ratio: 4 / 5; max-height: min(78vh, 44rem); width: 100%; overflow: hidden; border-radius: 18px; background: var(--tint); }
.plate-img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }

/* phones: a shorter header and tighter facts so the numbers stay on the first screen */
@media (max-width: 39.99rem) {
  :root { --header-h: 3.75rem; }
  .site-header .btn, .theme-toggle, .lang summary { min-height: 2.5rem; height: 2.5rem; }
  .theme-toggle, .lang summary { width: 2.5rem; }
  .kicker-name { display: none; }
  .fact { padding-block: clamp(.5rem, 1.6svh, 1rem); }
  .fact .n { margin-bottom: .25rem; }
  .fact .l { font-size: .8125rem; line-height: 1.35; }
}
/* short phones and landscape: smaller lead and buttons in the hero */
@media (max-width: 39.99rem) and (max-height: 42rem), (max-width: 61.99rem) and (max-height: 32rem) {
  .lead { font-size: .875rem; line-height: 1.45; }
  .hero .btn { min-height: 2.5rem; padding-block: .6rem; }
  .fact .n { font-size: 1.375rem; }
  .hero .wrap { padding-top: .5rem; }
  .kicker { margin-bottom: .5rem; }
  h1 { margin-bottom: .625rem; }
  .lead { margin-bottom: .75rem; }
  .facts { margin-top: .75rem; }
}
@media (max-width: 22.49rem) {
  .hero .btn { padding-inline: 1rem; }
  .hero .ctas { gap: .5rem; }
  .kicker { letter-spacing: .08em; }
  .fact { padding-right: .5rem; }
  .fact:nth-child(even) { padding-left: .75rem; }
}
/* the smallest phones (320 px wide, under 576 px tall): the header already names her, so the kicker goes */
@media (max-width: 22.49rem) and (max-height: 36rem) {
  :root { --header-h: 3.25rem; }
  .kicker { display: none; }
  h1 .line { display: inline; }
  h1 { font-size: 1.75rem; }
  .lead { font-size: .8125rem; }
  .fact .n { font-size: 1.25rem; }
  .fact .l { font-size: .75rem; }
  .fact { padding-block: .375rem; }
  .lead, .facts { margin-block: 0 .5rem; }
  .facts { margin-top: .5rem; }
}
/* landscape phones and other short, mid-width screens: facts beside the text */
@media (min-width: 40rem) and (max-width: 61.99rem) and (max-height: 32rem) {
  :root { --header-h: 3.5rem; }
  .site-header .btn, .theme-toggle, .lang summary { min-height: 2.5rem; height: 2.5rem; }
  .theme-toggle, .lang summary { width: 2.5rem; }
  .kicker-name { display: none; }
  .hero .wrap { grid-template-columns: 1.15fr .85fr; column-gap: 2rem; align-items: center; }
  .hero-text { grid-column: 1; grid-row: 1; }
  .facts { grid-column: 2; grid-row: 1; align-self: start; margin-top: 0; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts::before, .facts::after { content: none; }
  .fact, .fact:nth-child(even) { padding: .5rem .75rem; border-right: 0; border-bottom: 0; }
  .fact:nth-child(odd) { border-right: 1px solid var(--line); padding-left: 0; }
  .fact:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .fact .l { font-size: .8125rem; line-height: 1.35; }
  .plate { grid-column: 1 / -1; }
}

/* wide screens: text beside the portrait, facts along the bottom edge of the first screen */
@media (min-width: 62rem) {
  .hero .wrap { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); grid-template-rows: minmax(0, 1fr) auto; column-gap: clamp(3rem, 6vw, 6rem); min-height: calc(100svh - var(--header-h)); padding-top: clamp(1rem, 3svh, 3rem); }
  .hero-text { grid-column: 1; grid-row: 1; align-self: center; }
  .plate { grid-column: 2; grid-row: 1; align-self: center; justify-self: end; width: auto; margin-block: 0 clamp(1.5rem, 5svh, 4rem); }
  .plate-img { width: auto; max-width: 100%; height: clamp(12rem, 100svh - var(--header-h) - 16rem, 40rem); max-height: none; }
  .facts { grid-column: 1 / -1; grid-row: 2; margin-top: 0; }
  h1 { font-size: clamp(2.25rem, min(5.3vw, 8svh), 4.75rem); }
}

/* chapters */
.chapter { padding-block: clamp(5rem, 10vw, 9rem); }
.chapter--tint { background: var(--tint); }
.chapter--surface { background: var(--surface); }
.rule { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; border-bottom: 1px solid var(--rule); padding-bottom: .8rem; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
h2 { font: 800 clamp(2rem, 4.4vw, 3.6rem)/1.03 var(--sans); letter-spacing: -.05em; margin-bottom: 1.75rem; text-wrap: pretty; }
.intro { font-size: 1.125rem; color: var(--ink-2); margin-bottom: clamp(3rem, 6vw, 4.5rem); text-wrap: pretty; }
h3 { font: 800 1.25rem/1.25 var(--sans); letter-spacing: -.025em; }

.three { display: grid; gap: 2.5rem; list-style: none; padding: 0; }
@media (min-width: 56rem) { .three { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3rem; } }
.three h3 { margin-bottom: .6rem; }
.three p { color: var(--ink-2); }
.pull { font: italic 500 clamp(1.5rem, 3vw, 2.25rem)/1.25 var(--serif); color: var(--accent); margin-top: 4rem; max-width: 34ch; }

/* cost of the dark */
.big3 { display: grid; gap: 3rem; list-style: none; padding: 0; margin-bottom: clamp(3rem, 6vw, 4.5rem); }
@media (min-width: 56rem) { .big3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3rem; } }
.big3 .n { font: italic 700 clamp(4rem, 8vw, 7rem)/.9 var(--serif); letter-spacing: -.02em; color: var(--accent); margin-left: -.04em; }
.big3 .n small { font-size: .45em; letter-spacing: -.02em; }
.big3 p:not(.n) { margin: 1.5rem 0 1rem; max-width: 30rem; text-wrap: pretty; }
.big3 cite { display: block; font: normal 400 .75rem/1.5 var(--mono); color: var(--ink-2); }
.calc { display: grid; gap: 2rem; border-top: 1px solid var(--rule); padding-top: 2rem; }
@media (min-width: 56rem) { .calc { grid-template-columns: 1fr 1.3fr; column-gap: 4rem; align-items: end; } .calc .hint:last-child { grid-column: 1 / -1; } }
.calc > * { min-width: 0; }
.calc label { display: block; font: 800 1.125rem var(--sans); letter-spacing: -.02em; margin-bottom: .25rem; }
.calc .hint { font-size: .9375rem; color: var(--ink-2); }
.calc .hint:last-child { font-size: .8125rem; max-width: 52rem; }
.field { display: flex; align-items: center; max-width: 22rem; margin-top: 1rem; border-bottom: 2px solid var(--rule); }
.field:focus-within { border-color: var(--accent); box-shadow: 0 2px 0 var(--accent); }
.field input { flex: 1; min-width: 0; width: 100%; border: 0; background: transparent; color: var(--ink); font: 800 2.5rem/1.2 var(--sans); letter-spacing: -.04em; padding: .25rem 0; -moz-appearance: textfield; appearance: textfield; }
.field input::-webkit-inner-spin-button, .field input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.field input:focus { outline: none; }
.field .unit { font: 800 2rem var(--sans); }
.calc output { display: block; color: var(--ink-2); }
.calc output strong { display: block; font: italic 700 clamp(2.25rem, 5vw, 3.75rem)/1.1 var(--serif); letter-spacing: -.01em; color: var(--accent); margin: .25rem 0 .5rem; }
.calc .after { font-weight: 800; color: var(--ink); margin-top: .75rem; }

/* method */
/* Method plan: a track with one node per step. Each li is one segment (node to next node); the grid's first row is the
   lead row (the "lane") that holds a sprint start mark or the "you decide" gate, so the segment lengths can be written in CSS.
   steps.js fills the line as you scroll (--f) and adds .is-on to each stop; without it everything shows drawn. */
.steps { --node: 2.5rem; --ny: 1.25rem; --lead-base: 1.5rem; --lead-chip: 3.25rem; --lead-gate: 5.75rem; --bottom: 1.5rem; --spine: calc(var(--node) / 2);
  list-style: none; padding: 0; }
.steps li { --lead: var(--lead-base); --next: var(--lead-base); position: relative; display: grid; grid-template-columns: var(--node) minmax(0, 1fr); column-gap: 1.25rem;
  grid-template-rows: var(--lead) auto auto auto; grid-template-areas: "lmark lrow" "node meta" "node head" "node body"; padding-bottom: var(--bottom); }
.steps li:last-child { padding-bottom: 0; }
.steps .to-chip { --next: var(--lead-chip); }
.steps .has-chip { --lead: var(--lead-chip); }
.steps .to-gate { --next: var(--lead-gate); }
.steps .has-gate { --lead: var(--lead-gate); }
.steps li:not(:last-child)::before, .steps li:not(:last-child)::after { content: ""; position: absolute; z-index: 0; left: calc(var(--spine) - 1px); width: 2px;
  top: calc(var(--lead) + var(--ny)); height: calc(100% - var(--lead) + var(--next)); }
.steps li::before { background: var(--line); }
.steps li::after { background: var(--button); transform: scaleY(var(--f, 1)); transform-origin: top; }
.steps .to-gate::before, .steps .to-gate::after { -webkit-mask-image: repeating-linear-gradient(to bottom, #000 0 .45rem, transparent .45rem .9rem); mask-image: repeating-linear-gradient(to bottom, #000 0 .45rem, transparent .45rem .9rem); }

.steps .node { grid-area: node; position: relative; z-index: 1; display: grid; place-items: center; width: var(--node); height: var(--node); border-radius: 50%; border: 2px solid var(--button); background: var(--button); color: var(--on-accent); }
.steps .node svg { width: 1.25rem; height: 1.25rem; }
.steps .mark { grid-area: lmark; position: relative; z-index: 1; align-self: center; justify-self: center; border: 2px solid var(--mark); background: var(--mark); }
.steps .mark--dot { width: .75rem; height: .75rem; border-radius: 50%; }
.steps .mark--gate { width: 1.125rem; height: 1.125rem; transform: rotate(45deg); }
.steps .lane { grid-area: lrow; align-self: center; display: grid; gap: .35rem; }
.steps .phase { font: 800 .75rem/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--mark); }
.steps .gate-label { font: italic 500 1.25rem/1.3 var(--serif); color: var(--accent); }
.steps .meta { grid-area: meta; display: block; font: 400 .75rem/1.4 var(--mono); color: var(--ink-2); text-transform: uppercase; letter-spacing: .04em; }
.steps h3 { grid-area: head; font-size: 1.5rem; margin: .5rem 0 .75rem; }
.steps li > p { grid-area: body; color: var(--ink-2); max-width: 38rem; text-wrap: pretty; }

@media (min-width: 56rem) {
  .steps { --node: 3rem; --ny: 2rem; --lead-base: 2.25rem; --lead-chip: 4rem; --lead-gate: 4.75rem; --bottom: 2rem; --spine: calc((100% - 5rem) * 5 / 12 + 2.5rem); }
  .steps li { grid-template-columns: minmax(0, 5fr) 5rem minmax(0, 7fr); column-gap: 0; grid-template-rows: var(--lead) auto 1fr;
    grid-template-areas: "phase lmark glabel" "meta node body" "head node body"; align-items: start; }
  .steps .node { justify-self: center; margin-top: .5rem; }
  .steps .node svg { width: 1.5rem; height: 1.5rem; }
  .steps .lane { display: contents; }
  .steps .phase { grid-area: phase; align-self: center; }
  .steps .gate-label { grid-area: glabel; align-self: center; }
  .steps .meta { padding-right: 1rem; }
  .steps h3 { font-size: clamp(1.5rem, 2.2vw, 1.875rem); margin: .6rem 0 0; padding-right: 1rem; }
  .steps li > p { padding-top: .1rem; }
}

/* reveal: the empty plan (outlined nodes, grey track) shows first; each step's content arrives when the line reaches it */
@media screen {
  .steps.is-live li:not(.is-on) .node { background: var(--bg); border-color: var(--line); color: var(--ink-2); }
  .steps.is-live li:not(.is-on) .meta, .steps.is-live li:not(.is-on) h3, .steps.is-live li:not(.is-on) > p { opacity: 0; }
  .steps.is-live .mark:not(.is-on) { background: var(--bg); border-color: var(--line); }
  .steps.is-live .node { transition: background-color .4s ease-out, border-color .4s ease-out, color .4s ease-out, transform .6s var(--ease-out); }
  .steps.is-live .mark { transition: background-color .4s ease-out, border-color .4s ease-out, transform .5s var(--ease-out); }
  .steps.is-live .meta, .steps.is-live h3, .steps.is-live li > p { transition: opacity .6s var(--ease-out), transform .7s var(--ease-out); }
  .steps.is-live .is-on .meta { transition-delay: .08s; }
  .steps.is-live .is-on h3 { transition-delay: .14s; }
  .steps.is-live .is-on > p { transition-delay: .22s; }
}
@media screen and (prefers-reduced-motion: no-preference) {
  .steps.is-live li:not(.is-on) .node { transform: scale(.6); }
  .steps.is-live li:not(.is-on) .meta, .steps.is-live li:not(.is-on) h3, .steps.is-live li:not(.is-on) > p { transform: translateY(1rem); }
  .steps.is-live .mark--dot:not(.is-on) { transform: scale(.4); }
  .steps.is-live .mark--gate:not(.is-on) { transform: rotate(45deg) scale(.4); }
  .steps.is-live .is-on .node::after { content: ""; position: absolute; inset: -2px; border-radius: 50%; border: 2px solid var(--button); animation: ring 1s var(--ease-out) both; pointer-events: none; }
}
@keyframes ring { from { opacity: .9; transform: scale(1); } to { opacity: 0; transform: scale(1.8); } }
.closing { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; margin-top: clamp(2.5rem, 5vw, 4rem); }
.closing p { max-width: 44rem; font-size: 1.125rem; }

/* results */
.panel { background: var(--panel); color: var(--panel-ink); border-radius: 28px; padding: clamp(1.75rem, 5vw, 4rem); display: grid; gap: 2rem; }
@media (min-width: 62rem) { .panel { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 4rem; } }
.panel .tag { font: 800 .75rem/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--panel-mark); }
.panel .side { display: flex; flex-direction: column; }
.panel .figure { position: relative; flex: 1; display: grid; place-items: center; min-height: clamp(22rem, 36vw, 28rem); margin-top: .5rem; }
.panel .big { font: italic 700 clamp(22rem, 36vw, 28rem)/1 var(--serif); letter-spacing: -.02em; color: var(--panel-mark); transform: translateY(-.22em); }
.panel .big-label { position: absolute; inset: 2.3em 0 0; display: grid; place-content: center; text-align: center; padding-inline: 12%; font: 600 clamp(1.25rem, 2.4vw, 2rem)/1.15 var(--sans); letter-spacing: -.03em; color: #fff; text-wrap: balance; }
.panel h3 { font-size: clamp(1.4rem, 2.6vw, 2rem); line-height: 1.15; color: #fff; margin-bottom: 1.5rem; }
.panel dl > div { padding: 1rem 0; border-top: 1px solid rgb(243 236 228 / .25); }
.panel dt { font: 800 .75rem var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--panel-mark); margin-bottom: .4rem; }
.panel dd { margin: 0; }
.panel blockquote { margin-top: 1rem; padding-top: 1.25rem; border-top: 1px solid rgb(243 236 228 / .25); }
.panel blockquote p { font: italic 500 1.3rem/1.4 var(--serif); }
.panel blockquote footer { font: 400 .75rem/1.5 var(--mono); color: var(--panel-mark); margin-top: .75rem; }

.subhead { font: 800 clamp(1.75rem, 3.2vw, 2.5rem)/1.1 var(--sans); letter-spacing: -.04em; margin: clamp(5rem, 10vw, 8rem) 0 1rem; text-wrap: pretty; }
.sublead { color: var(--ink-2); margin-bottom: clamp(2rem, 4vw, 3rem); text-wrap: pretty; }
.row { display: grid; gap: .75rem 3rem; padding: 2.25rem 0; border-top: 1px solid var(--line); }
.row:last-of-type { border-bottom: 1px solid var(--line); }
@media (min-width: 56rem) { .row { grid-template-columns: 10rem minmax(0, 1fr) 18rem; align-items: baseline; } }
.row .when { font: 400 .75rem var(--mono); color: var(--ink-2); }
.row h4 { font: 800 1.375rem/1.2 var(--sans); letter-spacing: -.03em; }
.row .role { color: var(--mark); font-weight: 800; font-size: .9375rem; margin: .2rem 0 .6rem; }
.row p:not(.role, .num, .when) { color: var(--ink-2); max-width: 40rem; text-wrap: pretty; }
.row .num { align-self: center; font: italic 700 4.5rem/1 var(--serif); letter-spacing: -.01em; color: var(--accent); }
.row .num span { display: block; font: 400 .875rem/1.45 var(--sans); color: var(--ink-2); margin-top: .6rem; }

.products { display: grid; gap: 2.5rem; margin-top: clamp(2.5rem, 5vw, 3.5rem); }
@media (min-width: 56rem) { .products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5rem; } }
.products h4 { font: 800 1.125rem/1.3 var(--sans); letter-spacing: -.02em; margin-bottom: .6rem; }
.products p { color: var(--ink-2); font-size: 1rem; max-width: 36rem; text-wrap: pretty; }

.mandates { display: grid; gap: 2.5rem; margin-top: clamp(2rem, 4vw, 3rem); }
@media (min-width: 56rem) { .mandates { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4.5rem 5rem; } }
.mandate { border-top: 1px solid var(--rule); padding-top: 1.5rem; }
.mandate .tag { font: 800 .75rem/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--mark); }
.mandate h4 { font: 800 1.375rem/1.25 var(--sans); letter-spacing: -.03em; margin: .75rem 0 1rem; text-wrap: balance; }
.mandate p { color: var(--ink-2); font-size: 1rem; line-height: 1.6; text-wrap: pretty; }
.mandate .result { color: var(--ink); font-weight: 600; font-size: 1.0625rem; margin-top: 1.5rem; padding: 1.1rem 1.25rem 1.2rem; border-left: 4px solid var(--mark); border-radius: 0 14px 14px 0; background: color-mix(in srgb, var(--mark) 14%, transparent); }
.mandate .result::before { content: "Result"; display: block; font: 800 .75rem/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--mark); margin-bottom: .4rem; }

.quotes { display: grid; gap: 3rem; margin-top: clamp(5rem, 10vw, 8rem); }
@media (min-width: 56rem) { .quotes { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5rem; } }
.quote p { position: relative; font: italic 500 clamp(1.3rem, 2.2vw, 1.6rem)/1.35 var(--serif); padding: 1.4rem 1.6rem; border-radius: 22px 22px 22px 6px; border: 1px solid color-mix(in srgb, var(--accent) 75%, transparent); }
:lang(de) .mandate .result::before { content: "Ergebnis"; }
:lang(uk) .mandate .result::before { content: "Результат"; }
:lang(pl) .mandate .result::before { content: "Rezultat"; }

.quote p::before { content: "“"; position: absolute; top: -.35em; left: 1.1rem; font: italic 700 3.5rem/1 var(--serif); color: var(--accent); }
.quote p::after { content: ""; position: absolute; left: 1.75rem; bottom: -.6rem; width: 1rem; height: 1rem; background: var(--bg); border-right: 1px solid color-mix(in srgb, var(--accent) 75%, transparent); border-bottom: 1px solid color-mix(in srgb, var(--accent) 75%, transparent); transform: rotate(45deg); }
.quote footer { font: 400 .75rem/1.5 var(--mono); color: var(--ink-2); margin: 1.1rem 0 0 1.6rem; }
.refs-note { margin-top: 3rem; font-size: .875rem; color: var(--ink-2); }

/* offer: the sprint is a dark feature panel (like the ERIKONA panel), the CMO plan an outlined card; a dashed link with the green
   "you decide" diamond from the Method track joins their icon nodes. Ticks are green marks (rose on the dark panel). */
.plans { --pad: clamp(1.75rem, 4vw, 3rem); --icon: 3rem; display: grid; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 56rem) { .plans { grid-template-columns: minmax(0, 1fr) 5rem minmax(0, 1fr); } }
.plan { display: flex; flex-direction: column; padding: var(--pad); border-radius: 28px; background: var(--bg); border: 1px solid var(--line); }
.plan--main { background: var(--panel); color: var(--panel-ink); border-color: var(--panel); }
.plan-head { display: flex; align-items: center; gap: 1rem; }
.plan-icon { display: grid; place-items: center; flex: none; width: 3rem; height: 3rem; border-radius: 50%; background: var(--button); color: var(--on-accent); }
.plan-icon svg { width: 1.5rem; height: 1.5rem; }
.plan .step { font: 800 .75rem/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--mark); }
.plan--main .step { color: var(--panel-mark); }
.plan h3 { font-size: clamp(1.75rem, 3vw, 2.4rem); line-height: 1.1; letter-spacing: -.045em; margin: 1.75rem 0 1rem; }
.plan--main h3 { color: #fff; }
.plan-price { display: flex; align-items: flex-end; gap: .75rem; margin: -.25rem 0 1.5rem; }
.plan-price .amount { font: italic 700 clamp(3rem, 5vw, 4.25rem)/.9 var(--serif); letter-spacing: -.02em; color: var(--mark); margin-left: -.04em; }
.plan-price .per { font: 400 .8125rem/1.4 var(--mono); color: var(--panel-ink); padding-bottom: .35rem; }
.terms { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; margin-bottom: 2rem; }
.terms li { font: 400 .75rem/1.4 var(--mono); letter-spacing: .02em; color: var(--ink-2); padding: .35rem .75rem; border: 1px solid var(--line); border-radius: 999px; }
.plan--main .terms li { color: var(--panel-ink); border-color: rgb(243 236 228 / .3); }
.points { list-style: none; padding: 0; margin-bottom: 2.5rem; }
.plan .btn { margin-top: auto; align-self: flex-start; }

.plans-link { position: relative; height: 3rem; width: 2px; margin-left: calc(var(--pad) + var(--icon) / 2 - 1px);
  background: repeating-linear-gradient(to bottom, var(--button) 0 .45rem, transparent .45rem .9rem); }
.plans-link::after { content: ""; position: absolute; left: 50%; top: 50%; width: 1.125rem; height: 1.125rem; background: var(--mark); transform: translate(-50%, -50%) rotate(45deg); }
@media (min-width: 56rem) {
  .plans-link { align-self: start; width: auto; height: 2px; margin: calc(var(--pad) + var(--icon) / 2 - 1px) 0 0;
    background: repeating-linear-gradient(to right, var(--button) 0 .45rem, transparent .45rem .9rem); }
}

/* ticks and dashes as small round marks: shared by the plan lists and the fit lists */
.points li, .fit li { position: relative; padding: .85rem 0 .85rem 2.25rem; border-top: 1px solid var(--line); }
.points li::before, .fit li::before { content: ""; position: absolute; left: 0; top: 1rem; width: 1.375rem; height: 1.375rem; border-radius: 50%; background: color-mix(in srgb, var(--mark) 16%, transparent); }
.points li::after, .fit .yes li::after { content: ""; position: absolute; left: .5rem; top: 1.3rem; width: .375rem; height: .625rem; border: solid var(--mark); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.plan--main .points li { border-top-color: rgb(243 236 228 / .25); }
.plan--main .points li::before { background: rgb(203 138 137 / .22); }
.plan--main .points li::after { border-color: var(--panel-mark); }
.fit .no li::before { background: color-mix(in srgb, var(--accent) 14%, transparent); }
.fit .no li::after { content: ""; position: absolute; left: .4375rem; top: 1.625rem; width: .5rem; height: 2px; background: var(--accent); }

/* pricing: a rose-tinted callout (accent 14% fill, 40% border); the text on the left, "Is €4,900 a lot?" on the right.
   The bars compare the sprint price with 13% and 26% of the visitor's yearly spend (stake.js sets --s; the defaults are the €250,000 example). */
.price { display: grid; gap: 2.5rem 4rem; margin-top: clamp(4rem, 8vw, 6rem); padding: clamp(1.75rem, 4vw, 3rem); border-radius: 22px;
  background: color-mix(in srgb, var(--accent) 14%, var(--bg)); border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent); }
@media (min-width: 62rem) { .price { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start; } }
.price-head { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem; }
.price h3 { font: italic 500 1.75rem var(--serif); color: var(--accent); letter-spacing: 0; }
.price-text p { max-width: 44rem; text-wrap: pretty; }
.price-text p + p { margin-top: 1rem; }
.proof { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid color-mix(in srgb, var(--accent) 40%, transparent); }
.proof-n { display: flex; align-items: baseline; gap: .6rem; font: italic 700 clamp(2.75rem, 4.5vw, 3.75rem)/1 var(--serif); letter-spacing: -.02em; }
.proof-n .from { color: var(--ink-2); text-decoration: line-through; text-decoration-thickness: .06em; }
.proof-n .arrow { font: 400 .5em/1 var(--sans); color: var(--ink-2); }
.proof-n .to { color: var(--accent); }
.proof figcaption { font-size: .9375rem; color: var(--ink-2); margin-top: .75rem; max-width: 26rem; text-wrap: pretty; }

.stake { padding: clamp(1.5rem, 3vw, 2.25rem); border-radius: 18px; background: var(--bg); border: 1px solid color-mix(in srgb, var(--accent) 25%, transparent); }
.stake h4 { font: 800 clamp(1.5rem, 2.6vw, 2rem)/1.1 var(--sans); letter-spacing: -.04em; margin-bottom: 1.5rem; }
.stake label { display: block; font: 800 .75rem/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--mark); }
.stake .field { margin-top: .25rem; }
.stake .hint { font-size: .875rem; color: var(--ink-2); margin-top: .6rem; }
.bars { display: grid; gap: 1.1rem; list-style: none; padding: 0; margin: 2rem 0 1.75rem; }
.bars li { --s: 0; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; gap: .45rem 1rem; }
.bars .is-low { --s: .5; }
.bars .is-high { --s: 1; }
.bars .is-sprint { --s: .075; }
.bar-label { font-size: .875rem; color: var(--ink-2); }
.bar-value { font: italic 700 1.375rem/1 var(--serif); letter-spacing: -.01em; white-space: nowrap; }
.bar-value small { font: 400 .75rem/1 var(--mono); letter-spacing: 0; color: var(--ink-2); }
@media (max-width: 39.99rem) { .stake { padding: 1.25rem; } .bar-value { font-size: 1.25rem; } }
.bar { grid-column: 1 / -1; height: .75rem; border-radius: 999px; overflow: hidden; background: color-mix(in srgb, var(--ink) 8%, transparent); }
.bar i { display: block; height: 100%; transform: scaleX(var(--s)); transform-origin: left; background: color-mix(in srgb, var(--ink) 40%, transparent); transition: transform .5s var(--ease-out); }
.is-high .bar i { background: repeating-linear-gradient(-45deg, color-mix(in srgb, var(--ink) 40%, transparent) 0 .3rem, color-mix(in srgb, var(--ink) 14%, transparent) .3rem .6rem); }
.is-sprint .bar i { background: var(--button); }
.is-sprint .bar-label { color: var(--ink); font-weight: 800; }
.is-sprint .bar-value { color: var(--accent); }
@media (prefers-reduced-motion: reduce) { .bar i { transition: none; } }
.payback { font-size: 1.125rem; line-height: 1.4; padding-top: 1.5rem; border-top: 1px solid var(--line); text-wrap: pretty; }
.payback strong { font: italic 700 1.6em/1 var(--serif); letter-spacing: -.01em; color: var(--accent); }
.stake-src { font-size: .75rem; line-height: 1.5; color: var(--ink-2); margin-top: 1.25rem; text-wrap: pretty; }
.fit { display: grid; gap: 3.5rem; margin-top: clamp(4rem, 8vw, 6rem); }
@media (min-width: 56rem) { .fit { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5rem; } }
.fit h3 { margin-bottom: 1.25rem; }
.fit ul { list-style: none; padding: 0; }

/* principles */
.principles { display: grid; gap: 2.5rem; list-style: none; padding: 0; margin-top: clamp(1.25rem, 3vw, 2.75rem); }
@media (min-width: 48rem) { .principles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3rem; } }
@media (min-width: 66rem) { .principles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.principles h3 { margin-bottom: .5rem; }
.principles p { color: var(--ink-2); font-size: 1rem; }

/* about: name and pull line stay in view on the left while the story and the CV scroll past on the right */
.about { display: grid; gap: 2.5rem; }
@media (min-width: 62rem) {
  .about { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 6rem; }
  .about-head { position: sticky; top: calc(var(--header-h) + 2.5rem); align-self: start; }
}
.about .strong { font: italic 500 clamp(1.5rem, 2.6vw, 2rem)/1.3 var(--serif); color: var(--accent); max-width: 22ch; text-wrap: balance; }
.about .text > p { color: var(--ink-2); max-width: 40rem; text-wrap: pretty; }
.about .text > p + p { margin-top: 1.25rem; }
.cv { list-style: none; padding: 0; margin-top: clamp(3rem, 6vw, 4.5rem); }
.cv li { display: grid; grid-template-columns: 7rem minmax(0, 1fr); gap: 1.25rem; padding: 1rem 0; border-top: 1px solid var(--line); }
.cv li:last-child { border-bottom: 1px solid var(--line); }
.cv .when { font: 400 .75rem/1.9 var(--mono); color: var(--ink-2); }

/* faq: the heading stays in view on the left; the questions run as one readable column on the right */
@media (min-width: 62rem) {
  .chapter--split .wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: 6rem; align-items: start; }
  .chapter--split .rule { grid-column: 1 / -1; }
  .chapter--split h2 { position: sticky; top: calc(var(--header-h) + 2.5rem); }
}
.faq { border-bottom: 1px solid var(--line); }
.faq > div { border-top: 1px solid var(--line); padding: 1.75rem 0; }
.faq dt { font: 800 1.25rem/1.3 var(--sans); letter-spacing: -.025em; margin-bottom: .75rem; text-wrap: balance; }
.faq dd { margin: 0; color: var(--ink-2); max-width: 40rem; text-wrap: pretty; }

/* contact: the invitation and the one action on the left; what happens next and the direct lines on the right */
.contact { padding-block: clamp(6rem, 13vw, 12rem); }
.contact .wrap { display: grid; gap: 4rem; }
@media (min-width: 62rem) { .contact .wrap { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 6rem; align-items: center; } }
.contact h2 { font-size: clamp(2.25rem, 5.75vw, 4.75rem); }
.contact .intro { margin-bottom: 0; }
.contact .ctas { margin-top: 2.5rem; margin-bottom: 0; }
.next-title { font: italic 500 1.5rem var(--serif); color: var(--accent); letter-spacing: 0; margin-bottom: 1.25rem; }
.next { list-style: none; padding: 0; border-bottom: 1px solid var(--line); }
.next li { padding: 1rem 0; border-top: 1px solid var(--line); }
.direct { display: grid; gap: .6rem; margin-top: 2rem; font-size: .9375rem; color: var(--ink-2); }

/* footer */
.site-footer { border-top: 1px solid var(--rule); overflow: hidden; }
.mega { padding-top: 2rem; font: italic 700 clamp(3.5rem, 11vw, 9rem)/.95 var(--serif); letter-spacing: -.02em; color: var(--button); }
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-block: 1.75rem 5.25rem; font-size: .875rem; color: var(--ink-2); }
.foot ul { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; list-style: none; padding: 0; }

/* back to top: appears once the hero is scrolled past (top.js); the footer's bottom padding keeps it off the legal links */
.to-top { position: fixed; z-index: 9; right: max(1rem, var(--gut)); bottom: max(1.25rem, env(safe-area-inset-bottom)); display: grid; place-items: center; width: 3rem; height: 3rem; padding: 0; border: 0; border-radius: 999px; background: var(--button); color: var(--on-accent); cursor: pointer; box-shadow: 0 2px 10px rgb(0 0 0 / .22); transition: opacity .25s var(--ease-out), transform .25s var(--ease-out), visibility .25s, background-color .16s ease-out; }
.to-top svg { width: 16px; height: 16px; }
.to-top:hover { background: var(--button-hover); }
.to-top:active { transform: scale(.96); }
.to-top:not(.is-shown) { opacity: 0; visibility: hidden; transform: translateY(.75rem); }
@media print { .to-top { display: none; } }

/* legal pages and 404 */
.doc .wrap { padding-block: 3rem 5rem; }
.doc .wrap > * { max-width: 48rem; }
.doc { overflow-wrap: anywhere; }
.doc h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); margin-bottom: 1rem; }
.doc .sub { font-size: 1.125rem; color: var(--ink-2); margin-bottom: 2.5rem; }
.doc h2 { font-size: clamp(1.25rem, 2.4vw, 1.625rem); letter-spacing: -.03em; line-height: 1.25; max-width: none; margin: 2.75rem 0 .75rem; padding-top: .9rem; border-top: 1px solid var(--line); }
.doc h3 { font-size: 1.0625rem; margin: 1.5rem 0 .5rem; }
.doc p, .doc ul, .doc ol, .doc address { margin-bottom: 1rem; }
.doc address { font-style: normal; }
.doc ul, .doc ol { padding-left: 1.25rem; }
.doc li + li { margin-top: .4rem; }
.doc .stand { font: 400 .8125rem var(--mono); color: var(--ink-2); margin-top: 3rem; }
.doc .ctas { margin-top: 2rem; }

/* motion. Everything here is an enhancement: without it the page is complete and still.
   Theme switch (theme.js): the new theme spreads as a circle from the theme button, using the
   browser's own View Transitions; older browsers and reduced motion switch instantly. Colour
   transitions are paused during the switch so buttons do not fade on their own. */
::view-transition-old(root), ::view-transition-new(root) { animation: none; mix-blend-mode: normal; }
.theme-switching, .theme-switching *, .theme-switching *::before, .theme-switching *::after { transition: none !important; }

/* scroll reveals (reveal.js marks the blocks; under reduced motion they only fade) */
@media screen {
  [data-reveal] { transition: opacity .8s var(--ease-out), transform .8s var(--ease-out), clip-path 1s var(--ease-out); }
  [data-reveal]:not(.is-in) { opacity: 0; }
}
@media screen and (prefers-reduced-motion: no-preference) {
  [data-reveal]:not(.is-in) { transform: translateY(1.75rem); }
  [data-reveal="wipe"]:not(.is-in) { opacity: 1; transform: none; clip-path: inset(0 100% 0 0); }  /* chapter rules draw from the left */
}

/* hero entrance on first load: context, headline, lead and actions, then the facts and the portrait */
@media screen and (prefers-reduced-motion: no-preference) {
  .hero .kicker, .hero h1 .line, .hero .lead, .hero .ctas, .hero .note, .hero .fact { animation: rise .9s var(--ease-out) both; }
  .hero h1 .line:nth-child(1) { animation-delay: .06s; }
  .hero h1 .line:nth-child(2) { animation-delay: .12s; }
  .hero h1 .line:nth-child(3) { animation-delay: .18s; }
  .hero .lead { animation-delay: .26s; }
  .hero .ctas, .hero .note { animation-delay: .32s; }
  .hero .fact:nth-child(1) { animation-delay: .4s; }
  .hero .fact:nth-child(2) { animation-delay: .46s; }
  .hero .fact:nth-child(3) { animation-delay: .52s; }
  .hero .fact:nth-child(4) { animation-delay: .58s; }
  @media (min-width: 62rem) {
    .hero .plate-img { animation: unveil 1.2s var(--ease-in-out) .1s both; }
    .hero .plate-img img { animation: settle 1.6s var(--ease-out) .1s both; }
  }
}
@keyframes rise { from { opacity: 0; transform: translateY(1.25rem); } }
@keyframes unveil { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes settle { from { transform: scale(1.08); } }

