/* Fonts, self-hosted (no Google requests). latin + latin-ext subsets, SIL OFL 1.1;
   licences in assets/fonts/. Variable files cover every weight the site uses. */
/* Faculty Glyphic 400 normal, latin-ext */
@font-face {
  font-family: 'Faculty Glyphic';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/faculty-glyphic-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Faculty Glyphic 400 normal, latin */
@font-face {
  font-family: 'Faculty Glyphic';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/faculty-glyphic-400-latin.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;
}
/* Familjen Grotesk 500 700 normal, latin-ext */
@font-face {
  font-family: 'Familjen Grotesk';
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url('assets/fonts/familjen-grotesk-var-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Familjen Grotesk 500 700 normal, latin */
@font-face {
  font-family: 'Familjen Grotesk';
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url('assets/fonts/familjen-grotesk-var-latin.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;
}
/* IBM Plex Mono 400 normal, latin-ext */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/ibm-plex-mono-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* IBM Plex Mono 400 normal, latin */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/ibm-plex-mono-400-latin.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;
}
/* IBM Plex Mono 500 normal, latin-ext */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('assets/fonts/ibm-plex-mono-500-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* IBM Plex Mono 500 normal, latin */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('assets/fonts/ibm-plex-mono-500-latin.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;
}
/* Source Serif 4 400 italic, latin-ext */
@font-face {
  font-family: 'Source Serif 4';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/source-serif-4-var-italic-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Source Serif 4 400 italic, latin */
@font-face {
  font-family: 'Source Serif 4';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/source-serif-4-var-italic-latin.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;
}
/* Source Serif 4 400 500 normal, latin-ext */
@font-face {
  font-family: 'Source Serif 4';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url('assets/fonts/source-serif-4-var-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Source Serif 4 400 500 normal, latin */
@font-face {
  font-family: 'Source Serif 4';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url('assets/fonts/source-serif-4-var-latin.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;
}


/* Layout: a broker's client conversation, told in time. Hero = a live session
   sheet (transcript + ledger of discussed / open points); below it the three
   moments around that conversation (before, during, after) on one time rail. */
:root {
  --ground: #EBEFEE;      /* cool mist, biased toward the logo slate */
  --paper: #F7F9F8;       /* raised surfaces */
  --ink: #1B2A30;         /* logo slate */
  --muted: #4F6067;
  --line: #C9D2D2;
  --open: #B9790B;        /* amber: points still open */
  --open-ink: #7E5104;
  --open-wash: #F6E6C4;
  --done: #2F6F5E;        /* sage: discussed */
  --panel: #1B2A30;       /* slate panels (session sheet, contact) */
  --panel-2: #24363D;
  --panel-fg: #E8EEEC;
  --panel-muted: #9DB0B3;
  --panel-line: #34484F;
  --btn-bg: #1B2A30;
  --btn-fg: #F7F9F8;

  --f-display: "Familjen Grotesk", "Helvetica Neue", Arial, sans-serif;   /* UI: nav, buttons, labels, lists */
  --f-headline: "Faculty Glyphic", "Familjen Grotesk", Georgia, serif;    /* headlines; one weight (400), never synthesised bold */
  --f-body: "Source Serif 4", Georgia, "Times New Roman", serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --step--1: clamp(0.8rem, 0.78rem + 0.1vw, 0.86rem);
  --step-0: clamp(1.02rem, 0.98rem + 0.2vw, 1.12rem);
  --step-1: clamp(1.2rem, 1.1rem + 0.5vw, 1.45rem);
  --step-2: clamp(1.6rem, 1.3rem + 1.4vw, 2.4rem);
  --step-3: clamp(2.3rem, 1.6rem + 3.2vw, 4.4rem);

  --gutter: clamp(16px, 4vw, 40px);
  --radius: 14px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ground: #0F171A; --paper: #162125; --ink: #E3EAE8; --muted: #9AACB0; --line: #2A3A40;
    --open: #E2A93B; --open-ink: #EFC173; --open-wash: #3A2E16; --done: #7CBFA9;
    --panel: #18252A; --panel-2: #1F2F35; --panel-fg: #E8EEEC; --panel-muted: #93A7AB; --panel-line: #2E4249;
    --btn-bg: #E3EAE8; --btn-fg: #0F171A;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --ground: #0F171A; --paper: #162125; --ink: #E3EAE8; --muted: #9AACB0; --line: #2A3A40;
  --open: #E2A93B; --open-ink: #EFC173; --open-wash: #3A2E16; --done: #7CBFA9;
  --panel: #18252A; --panel-2: #1F2F35; --panel-fg: #E8EEEC; --panel-muted: #93A7AB; --panel-line: #2E4249;
  --btn-bg: #E3EAE8; --btn-fg: #0F171A;
  color-scheme: dark;
}

/* Logo variants follow the active theme */
.logo--on-dark, .story-mark--on-dark { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .logo--on-dark,
  :root:not([data-theme="light"]) .story-mark--on-dark { display: block; }
  :root:not([data-theme="light"]) .logo--on-light,
  :root:not([data-theme="light"]) .story-mark--on-light { display: none; }
}
:root[data-theme="dark"] .logo--on-dark, :root[data-theme="dark"] .story-mark--on-dark { display: block; }
:root[data-theme="dark"] .logo--on-light, :root[data-theme="dark"] .story-mark--on-light { display: none; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: var(--step-0);
  line-height: 1.6;
  font-optical-sizing: auto;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: var(--f-headline); font-weight: 400; font-synthesis: none; line-height: 1.06; margin: 0; text-wrap: balance; letter-spacing: -0.015em; }
h1 { font-size: var(--step-3); letter-spacing: -0.025em; }
h2 { font-size: var(--step-2); }
h3 { font-size: var(--step-1); letter-spacing: -0.005em; line-height: 1.2; }
p { margin: 0; }
a { color: inherit; }
.mono { font-family: var(--f-mono); }
:focus-visible { outline: 2px solid var(--open); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 50; background: var(--paper); padding: 8px 12px; }

.eyebrow {
  font-family: var(--f-mono);
  font-size: var(--step--1);
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--muted);
  margin-bottom: 1rem;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 0.6em;
  font-family: var(--f-display); font-weight: 600; font-size: 1.05rem;
  text-decoration: none;
  background: var(--btn-bg); color: var(--btn-fg);
  padding: 0.85em 1.4em; border-radius: 999px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn::after { content: "→"; transition: transform 0.15s ease; }
.btn:hover { box-shadow: 0 6px 18px -8px rgba(15, 25, 28, 0.55); }
.btn:hover::after { transform: translateX(3px); }
.btn--small { font-size: 0.92rem; padding: 0.55em 1.05em; }
.btn--small::after { content: none; }
.btn--light { background: var(--panel-fg); color: var(--panel); }

/* Header */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20;
  background: color-mix(in srgb, var(--ground) 88%, transparent);
  backdrop-filter: saturate(1.2) blur(10px);
  -webkit-backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 60%, transparent);
}
.header-row { display: flex; align-items: center; gap: 1.5rem; padding-block: 0.8rem; }
.brand { flex: none; }
.logo { height: 30px; width: auto; }
.header-nav { display: flex; gap: 1.5rem; margin-left: auto; font-family: var(--f-display); font-weight: 500; }
.header-nav a { text-decoration: none; color: var(--muted); }
.header-nav a:hover { color: var(--ink); }
.header-actions { display: flex; align-items: center; gap: 0.75rem; }
.lang { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; background: var(--paper); }
.lang-btn {
  font: 500 0.8rem/1 var(--f-mono); letter-spacing: 0.05em;
  border: 0; background: transparent; color: var(--muted);
  padding: 0.5em 0.75em; border-radius: 999px; cursor: pointer;
  display: inline-block; text-decoration: none;
}
.lang-btn[aria-current="true"] { background: var(--ink); color: var(--ground); }

/* Hero */
.hero { padding-block: clamp(2.5rem, 6vw, 5.5rem) clamp(3rem, 7vw, 6rem); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero-copy { min-width: 0; }
.hero h1 { max-width: 13ch; }
.hero h1 mark {
  color: inherit;
  background: linear-gradient(var(--open-wash), var(--open-wash)) no-repeat 0 88% / 100% 0.36em;
  padding-inline: 0.04em;
  animation: highlight 1.1s 0.35s cubic-bezier(.3,.7,.2,1) both;
}
@keyframes highlight { from { background-size: 0% 0.36em; } }
.lead { margin-top: 1.5rem; max-width: 34em; font-size: calc(var(--step-0) * 1.06); color: var(--ink); }
.hero-cta { margin-top: 2rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }
.cta-note { flex: 1 1 16rem; font-size: var(--step--1); color: var(--muted); max-width: 30em; font-style: italic; }

/* Session sheet (illustration) */
.session {
  margin: 0; min-width: 0;
  background: var(--panel); color: var(--panel-fg);
  border-radius: var(--radius);
  box-shadow: 0 30px 60px -30px rgba(10, 20, 24, 0.55);
  overflow: hidden;
  transform: rotate(0.6deg);
}
.session-bar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0.85rem 1.2rem; border-bottom: 1px solid var(--panel-line);
  font-family: var(--f-display); font-weight: 600; font-size: 0.95rem;
}
.session-live { display: inline-flex; align-items: center; gap: 0.6rem; }
.eye { width: 10px; height: 10px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px var(--panel-2); animation: blink 5s infinite; }
@keyframes blink { 0%, 46%, 50%, 100% { transform: scaleY(1); } 48% { transform: scaleY(0.1); } }
.session-time { color: var(--panel-muted); font-size: 0.82rem; font-variant-numeric: tabular-nums; }
.session-body { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
.transcript { list-style: none; margin: 0; padding: 1.1rem 1.2rem; display: grid; gap: 0.85rem; align-content: start; border-right: 1px solid var(--panel-line); font-size: 0.92rem; line-height: 1.45; }
.transcript li { display: grid; grid-template-columns: 3.4em minmax(0, 1fr); gap: 0.5rem; }
.transcript .who { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--panel-muted); padding-top: 0.2em; }
.transcript .you p { color: var(--panel-muted); font-style: italic; }
.ledger { padding: 1.1rem 1.2rem; min-width: 0; }
.ledger-head { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.09em; color: var(--panel-muted); margin-bottom: 0.55rem; }
.ledger-head--open { margin-top: 1.1rem; color: var(--open); }
.ledger-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.45rem; font-family: var(--f-display); font-size: 0.92rem; line-height: 1.3; }
.item { display: grid; grid-template-columns: 1.1em minmax(0, 1fr); gap: 0.55rem; align-items: start; }
.item::before { content: ""; width: 0.8em; height: 0.8em; margin-top: 0.22em; border-radius: 3px; }
.item.done::before { background: var(--done); box-shadow: inset 0 0 0 2px var(--done); background-image: linear-gradient(45deg, transparent 45%, var(--panel) 45% 58%, transparent 58%); }
.item.done { color: var(--panel-muted); }
.item.open::before { border: 2px dashed var(--open); }
.item.open { color: var(--panel-fg); }
.item.flash { animation: flash 1.2s ease; }
@keyframes flash { 0% { background: color-mix(in srgb, var(--done) 35%, transparent); } 100% { background: transparent; } }
.session-caption { padding: 0.7rem 1.2rem; font-size: 0.72rem; color: var(--panel-muted); border-top: 1px solid var(--panel-line); background: var(--panel-2); }

/* Animated states (only when JS adds .is-animated) */
.session.is-animated .late { opacity: 0; transform: translateY(6px); transition: opacity 0.5s ease, transform 0.5s ease; }
.session.is-animated .late.shown { opacity: 1; transform: none; }

/* Recognition */
.recognise { padding-block: clamp(3.5rem, 8vw, 7rem); border-top: 1px solid var(--line); }
.recognise-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(1.5rem, 5vw, 5rem); }
.recognise h2 { max-width: 12ch; }
.recognise-body { display: grid; gap: 1.2rem; max-width: 36em; min-width: 0; }
.verbs { font-family: var(--f-headline); font-synthesis: none; font-size: var(--step-2); font-weight: 400; line-height: 1.15; letter-spacing: -0.02em; color: var(--muted); }
.verbs span:last-child { color: var(--open-ink); }

/* Moments */
.film { padding-block: clamp(3.5rem, 8vw, 7rem); border-top: 1px solid var(--line); }
.film-frame { margin-top: clamp(1.5rem, 4vw, 2.5rem); border-radius: var(--radius); overflow: hidden; background: #1B2A30; box-shadow: 0 24px 60px rgba(16, 30, 36, 0.16); aspect-ratio: 16 / 9; }
.film-video { display: block; width: 100%; height: 100%; object-fit: cover; background: #1B2A30; }
.film-video[hidden] { display: none; }
.moments { padding-block: clamp(3.5rem, 8vw, 7rem); background: var(--paper); border-block: 1px solid var(--line); }
.section-head { max-width: 40rem; display: grid; gap: 0; }
.section-intro { margin-top: 1rem; color: var(--muted); }
/* One conversation, three moments. Left: the three moments on a time rail
   that fills as you read. Right: one fictional client dossier that stays in
   view and changes with the moment you are reading: topics to prepare
   (before), a live overview where points tick off and open ones stay amber
   (during), and a light sheet you review and complete yourself (after).
   main.js sets data-stage, the row states and --fill; without JS the card
   shows the finished needs analysis. */
.flow { margin-top: clamp(2.5rem, 5vw, 4rem); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.timeline { list-style: none; margin: 0; padding: 0 0 0 2.25rem; display: grid; position: relative; }
.timeline::before, .timeline::after { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: var(--line); border-radius: 2px; }
.timeline::after { background: var(--ink); transform-origin: top; transform: scaleY(var(--fill, 1)); }
.moment { position: relative; display: grid; gap: 0.9rem; align-content: start; min-width: 0; padding-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.moment:last-child { padding-bottom: 0; }
.moment-mark { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem; }
.moment-mark .dot { position: absolute; left: -2.25rem; top: 2px; }
.dot { width: 16px; height: 16px; border-radius: 50%; background: var(--paper); border: 2px solid var(--muted); position: relative; z-index: 1; transition: background-color .3s ease, border-color .3s ease, box-shadow .3s ease; }
.moment--focus .dot, .moment.is-reached .dot { background: var(--ink); border-color: var(--ink); box-shadow: inset 0 0 0 4px var(--ink), inset 0 0 0 8px var(--paper); }
.moment-when { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 500; }
.chip { font-family: var(--f-mono); font-size: 0.7rem; letter-spacing: 0.04em; padding: 0.25em 0.6em; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); }
.chip--focus { border-color: var(--open); color: var(--open-ink); background: var(--open-wash); }
.moment h3 { margin-top: 0.6rem; }
.moment p { color: var(--muted); }
.moment .product { font-size: 0.78rem; color: var(--ink); padding-top: 0.6rem; border-top: 1px dashed var(--line); }

/* Scroll mode (JS adds .is-scrolly): each moment gets room to be read while
   the card beside it plays that moment. */
.flow.is-scrolly .moment { min-height: 78vh; min-height: 78svh; padding-bottom: 0; align-content: center; }
.flow.is-scrolly .moment:first-child { align-content: start; padding-top: 12vh; }
.flow.is-scrolly .moment > :not(.moment-mark) { transition: opacity .45s ease; }
.flow.is-scrolly .moment:not(.is-active) > :not(.moment-mark) { opacity: 0.42; }
.flow.is-scrolly .moment.is-active > * { opacity: 1; }
.flow.is-scrolly .moment-mark { position: relative; }
.flow.is-scrolly .moment-mark .dot { top: 50%; margin-top: -8px; }

.flow-aside { position: sticky; top: max(5.5rem, calc(50vh - 15.5rem)); min-width: 0; }

/* The dossier card */
.flow-card {
  --c-bg: var(--panel); --c-fg: var(--panel-fg); --c-muted: var(--panel-muted); --c-line: var(--panel-line); --c-2: var(--panel-2);
  --c-accent: var(--panel-muted);
  position: relative; overflow: hidden;
  background: var(--c-bg); color: var(--c-fg);
  border-radius: var(--radius);
  box-shadow: 0 30px 60px -30px rgba(10, 20, 24, 0.55), inset 0 3px 0 var(--c-accent);
  transition: background-color .6s ease, color .6s ease, box-shadow .6s ease, transform .6s cubic-bezier(.3,.7,.2,1);
  transform: rotate(-0.6deg);
}
.flow-card[data-stage="2"] { --c-accent: var(--open); transform: rotate(0deg); }
.flow-card[data-stage="3"] {
  --c-bg: #FDFEFD; --c-fg: #1B2A30; --c-muted: #4F6067; --c-line: #D7DEDD; --c-2: #F1F5F4; --c-accent: var(--done);
  transform: rotate(0.6deg);
}
.fc-bar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 0.85rem 1.2rem; border-bottom: 1px solid var(--c-line); transition: border-color .6s ease; }
.fc-titles { height: 1.3em; overflow: hidden; font-family: var(--f-display); font-weight: 600; font-size: 0.98rem; line-height: 1.3; }
.fc-titles-track { display: grid; transform: translateY(calc((var(--stage-i, 2)) * -1.3em)); transition: transform .55s cubic-bezier(.5,0,.2,1); }
.flow-card[data-stage="1"] .fc-titles-track { --stage-i: 0; }
.flow-card[data-stage="2"] .fc-titles-track { --stage-i: 1; }
.fc-titles-track > span { height: 1.3em; white-space: nowrap; }
.fc-status { display: grid; font-size: 0.74rem; color: var(--c-muted); text-align: right; }
.fc-status > span { grid-area: 1 / 1; display: none; align-items: center; justify-content: flex-end; gap: 0.45rem; white-space: nowrap; }
.flow-card[data-stage="1"] .fc-s1, .flow-card[data-stage="2"] .fc-s2, .flow-card[data-stage="3"] .fc-s3 { display: inline-flex; }
.fc-client { padding: 0.75rem 1.2rem 0; font-family: var(--f-mono); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--c-muted); }

.fc-panes { display: grid; padding: 0.75rem 1.2rem 0.4rem; }
.fc-pane { grid-area: 1 / 1; min-width: 0; opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .4s ease, transform .4s ease, visibility 0s .4s; }
.flow-card[data-stage="1"] .fc-pane1, .flow-card[data-stage="2"] .fc-pane2, .flow-card[data-stage="3"] .fc-pane3 { opacity: 1; visibility: visible; transform: none; transition-delay: .12s, .12s, 0s; }
.fc-pane1 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.5rem; }
.fc-stat { display: grid; gap: 0.25rem; align-content: start; padding: 0.55rem 0.65rem; border-radius: 8px; background: var(--c-2); border: 1px solid var(--c-line); transition: border-color .35s ease, background-color .35s ease; }
.fc-stat-l { font-family: var(--f-mono); font-size: 0.64rem; line-height: 1.25; color: var(--c-muted); letter-spacing: 0.02em; }
.fc-stat-v { font-family: var(--f-display); font-weight: 600; font-size: 1.15rem; line-height: 1.1; letter-spacing: -0.01em; }
.fc-stat-v small { font-size: 0.7em; color: var(--open); font-weight: 600; }
.fc-stat.is-lit { border-color: var(--open); background: color-mix(in srgb, var(--open) 14%, var(--c-2)); }

.fc-pane2 { display: grid; gap: 0.5rem; }
/* Stage 2: the transcript grows line by line; the window keeps the newest
   lines in view (main.js sets --script-y). */
.fc-script { position: relative; height: 4.6em; overflow: hidden; border-radius: 8px; background: var(--c-2); font-size: 0.8rem; line-height: 1.35;
  -webkit-mask-image: linear-gradient(transparent, #000 1.2em); mask-image: linear-gradient(transparent, #000 1.2em); }
.fc-script-track { list-style: none; margin: 0; padding: 0.5rem 0.7rem; display: grid; gap: 0.3rem; transform: translateY(var(--script-y, 0px)); transition: transform .35s ease; }
.fc-script-track li { display: grid; grid-template-columns: 3.6em minmax(0, 1fr); gap: 0.4rem; transition: opacity .3s ease; }
.fc-script-track li.is-hidden { opacity: 0; }
.fc-script-track b { font-family: var(--f-mono); font-weight: 400; font-size: 0.66rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--c-muted); padding-top: 0.15em; }
.fc-script-track .you span { color: var(--c-muted); font-style: italic; }
.fc-count { font-size: 0.74rem; color: var(--c-muted); }
.fc-count span[class^="fc-n"] { color: var(--c-fg); font-weight: 500; font-variant-numeric: tabular-nums; }

.fc-pane3 { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 0.5rem 1rem; }
.fc-meter { grid-column: 1 / -1; height: 8px; border-radius: 99px; background: var(--c-2); border: 1px solid var(--c-line); overflow: hidden; }
.fc-meter-fill { display: block; height: 100%; background: var(--done); transform-origin: left; transform: scaleX(var(--meter, 1)); transition: transform .35s ease; }
.fc-stamp {
  font-family: var(--f-display); font-weight: 700; font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--done); border: 2px solid var(--done); border-radius: 6px; padding: 0.2em 0.55em; transform: rotate(-4deg) scale(1);
  transition: opacity .3s ease, transform .4s cubic-bezier(.2,1.6,.4,1);
}
.flow-card:not(.is-complete) .fc-stamp { opacity: 0; transform: rotate(-4deg) scale(1.6); }

.fc-listhead { display: grid; padding: 0.6rem 1.2rem 0.45rem; font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.09em; color: var(--c-muted); }
.fc-listhead > span { grid-area: 1 / 1; visibility: hidden; }
.flow-card[data-stage="1"] .fc-l1, .flow-card[data-stage="2"] .fc-l2, .flow-card[data-stage="3"] .fc-l3 { visibility: visible; }
.fc-list { list-style: none; margin: 0; padding: 0 1.2rem 0.9rem; display: grid; gap: 0.15rem; font-family: var(--f-display); font-size: 0.92rem; line-height: 1.3; }
.fc-row {
  display: grid; grid-template-columns: 1.1em minmax(0, 1fr) auto; gap: 0.6rem; align-items: start;
  padding: 0.32rem 0.45rem; margin-inline: -0.45rem; border-radius: 6px;
  transition: opacity .35s ease, transform .35s ease, color .35s ease, background-color .35s ease;
}
.fc-mark { width: 0.85em; height: 0.85em; margin-top: 0.2em; border-radius: 3px; border: 2px solid var(--c-muted); transition: background-color .3s ease, border-color .3s ease, border-radius .3s ease; position: relative; }
.fc-tag { font-size: 0.62rem; letter-spacing: 0.05em; color: var(--open); border: 1px solid currentColor; border-radius: 4px; padding: 0.1em 0.35em; margin-top: 0.15em; opacity: 0; transition: opacity .3s ease; }
.fc-note { display: block; font-family: var(--f-mono); font-size: 0.7rem; color: var(--done); margin-top: 0.15rem; max-height: 0; opacity: 0; overflow: hidden; transition: opacity .35s ease, max-height .35s ease; }
.fc-row.is-hidden { opacity: 0; transform: translateY(6px); }
.fc-row.is-topic { color: var(--c-fg); }
.fc-row.is-topic .fc-mark { border-color: var(--open); border-radius: 50%; }
.fc-row.is-topic .fc-tag { opacity: 1; }
.flow-card[data-stage="2"] .fc-row:not(.is-hidden) .fc-tag { opacity: 0.5; }
.flow-card[data-stage="2"] .fc-row.is-flag .fc-tag { opacity: 1; }
.fc-row.is-open .fc-mark { border: 2px dashed var(--open); }
.fc-row.is-flag { background: color-mix(in srgb, var(--open) 20%, transparent); }
.fc-row.is-flag .fc-mark { border-style: solid; background: var(--open); animation: nudge 1.2s ease-in-out infinite; }
@keyframes nudge { 50% { transform: scale(1.25); } }
.fc-row.is-done { color: var(--c-muted); }
.fc-row.is-done .fc-mark, .fc-row.is-checked .fc-mark { border-color: var(--done); background: var(--done); }
.fc-row.is-done .fc-mark::after, .fc-row.is-checked .fc-mark::after {
  content: ""; position: absolute; left: 50%; top: 45%; width: 0.22em; height: 0.45em; border: solid var(--c-bg); border-width: 0 2px 2px 0; transform: translate(-50%, -50%) rotate(45deg);
}
.fc-row.is-checked { color: var(--c-fg); }
.fc-row.is-unreviewed .fc-mark { border-color: var(--c-line); background: transparent; }
.fc-row.is-unreviewed { color: var(--c-muted); }
.fc-row.is-unreviewed.is-pending .fc-mark { border: 2px dashed var(--open); }
.fc-row.has-note .fc-note { max-height: 2.4em; opacity: 1; }
.fc-caption { padding: 0.65rem 1.2rem; font-size: 0.68rem; color: var(--c-muted); border-top: 1px solid var(--c-line); background: var(--c-2); transition: background-color .6s ease, border-color .6s ease; }

/* Trust + story */
.trust { padding-block: clamp(3.5rem, 8vw, 7rem); }
.trust-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.trust-main { display: grid; gap: 1.2rem; min-width: 0; }
.trust-main h2 { margin-top: -0.2rem; }
.checks { list-style: none; margin: 0.5rem 0 0; padding: 0; display: grid; gap: 0.9rem; }
.checks li { position: relative; padding-left: 2rem; }  /* not grid: an inline link in the text would become its own grid cell */
.checks li::before { position: absolute; left: 0; content: "✓"; font-family: var(--f-display); font-weight: 700; color: var(--done); }
.story { position: relative; padding: clamp(1.5rem, 3vw, 2.5rem); border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); display: grid; gap: 1rem; min-width: 0; overflow: hidden; }
.story-mark { position: absolute; width: 140px; right: -24px; bottom: -18px; opacity: 0.09; pointer-events: none; }
.story-quote { font-family: var(--f-headline); font-synthesis: none; font-size: var(--step-1); font-weight: 400; line-height: 1.25; letter-spacing: -0.01em; text-wrap: balance; }
.story p:last-of-type { color: var(--muted); position: relative; }

/* FAQ */
.faq { padding-block: clamp(3.5rem, 8vw, 6rem); border-top: 1px solid var(--line); }
.faq-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(1.5rem, 5vw, 5rem); align-items: start; }
.faq-list { border-top: 1px solid var(--line); min-width: 0; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer;
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1rem; align-items: baseline;
  padding-block: 1.1rem;
  font-family: var(--f-display); font-weight: 600; font-size: 1.12rem; line-height: 1.3;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--f-mono); color: var(--muted); font-size: 1.2rem; transition: transform 0.2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: 1.3rem; color: var(--muted); max-width: 38em; }

/* Contact */
.contact { padding-block: clamp(1rem, 3vw, 2rem) clamp(3rem, 7vw, 5rem); }
.contact-panel {
  position: relative; overflow: hidden;
  background: var(--panel); color: var(--panel-fg);
  border-radius: calc(var(--radius) * 1.5);
  padding: clamp(2rem, 6vw, 4.5rem);
  display: grid; gap: clamp(2.5rem, 6vw, 4rem);
}
.contact-raven { position: absolute; width: clamp(220px, 34vw, 420px); right: clamp(-90px, -4vw, -30px); top: clamp(-30px, -2vw, -10px); opacity: 0.08; pointer-events: none; }
.contact-copy { position: relative; display: grid; gap: 1.2rem; max-width: 38rem; }
.contact-copy p { color: var(--panel-muted); }
.contact-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: 0.8rem; }
.mail-line { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem; }
.mail-address { user-select: all; font-size: 0.95rem; color: var(--panel-fg); }
.copy-btn { font: 500 0.75rem/1 var(--f-mono); color: var(--panel-muted); background: transparent; border: 1px solid var(--panel-line); border-radius: 999px; padding: 0.55em 0.8em; cursor: pointer; }
.copy-btn:hover { color: var(--panel-fg); border-color: var(--panel-muted); }
.copy-status { font: 0.75rem var(--f-mono); color: var(--done); }
.motto { position: relative; font-family: var(--f-headline); font-synthesis: none; font-weight: 400; font-size: var(--step-3); letter-spacing: -0.025em; line-height: 1; padding-top: clamp(1.5rem, 4vw, 2.5rem); border-top: 1px solid var(--panel-line); text-wrap: balance; }
.motto span { color: var(--open); }

/* Footer */
.site-footer { padding-block: 2rem 3rem; border-top: 1px solid var(--line); font-size: var(--step--1); color: var(--muted); }
.footer-row { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem 1.25rem; }
.footer-icon { width: 26px; height: auto; }
.footer-main a { color: var(--ink); text-underline-offset: 0.2em; }
.footer-origin { margin-left: auto; font-family: var(--f-mono); font-size: 0.78rem; letter-spacing: 0.04em; }

/* Security band (homepage): a slate panel lit from below in the amber of
   "open points", with four round seals. Only commitments, no borrowed badges. */
.safety { padding-block: clamp(1rem, 3vw, 2rem) clamp(3.5rem, 8vw, 6rem); }
.safety-panel {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--panel); color: var(--panel-fg);
  border-radius: calc(var(--radius) * 1.5);
  padding: clamp(2.25rem, 6vw, 4.5rem) clamp(1.25rem, 5vw, 4rem) clamp(1.5rem, 4vw, 2.5rem);
  display: grid; gap: clamp(2.25rem, 5vw, 3.5rem);
  text-align: center;
}
.safety-panel::before {
  content: ""; position: absolute; inset: auto -10% -55% -10%; height: 90%; z-index: -1;
  background: radial-gradient(60% 60% at 50% 70%, color-mix(in srgb, var(--open) 55%, transparent), transparent 70%);
  opacity: 0.7; pointer-events: none;
}
.safety-head { display: grid; gap: 1rem; justify-items: center; max-width: 40rem; margin-inline: auto; }
.safety-head .eyebrow { color: var(--panel-muted); margin-bottom: 0; }
.safety-head h2 { font-size: var(--step-3); letter-spacing: -0.025em; line-height: 1.02; }
.safety-head h2 span { color: var(--open); display: block; }
.safety-head p:last-child { color: var(--panel-muted); max-width: 32em; }
.seals { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem 1rem; max-width: 52rem; margin-inline: auto; width: 100%; }
.seals li { display: grid; justify-items: center; gap: 0.85rem; align-content: start; }
.seal {
  width: 84px; height: 84px; border-radius: 50%; flex: none;
  display: grid; place-items: center;
  background: var(--panel-fg); color: var(--panel);
  box-shadow: 0 0 0 4px var(--panel), 0 0 0 5px color-mix(in srgb, var(--panel-fg) 35%, transparent);
}
.seal svg { width: 46px; height: 46px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.seal-label {
  font-family: var(--f-display); font-weight: 500; font-size: 0.95rem; line-height: 1.25;
  background: var(--panel-2); border: 1px solid var(--panel-line);
  padding: 0.45em 0.9em; border-radius: 999px; max-width: 15rem; text-wrap: balance;
}
.safety-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 1.5rem; text-align: left; padding-top: clamp(1.25rem, 3vw, 1.75rem); border-top: 1px solid var(--panel-line); }
.safety-note { font-size: var(--step--1); color: var(--panel-muted); font-style: italic; max-width: 32em; }

/* Security page */
.header-nav a[aria-current="page"] { color: var(--ink); text-decoration: underline; text-decoration-color: var(--open); text-underline-offset: 0.35em; text-decoration-thickness: 2px; }
.sec-hero { padding-block: clamp(2.5rem, 6vw, 5rem) clamp(2rem, 5vw, 3.5rem); }
.sec-hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.sec-hero-copy { min-width: 0; }
.sec-hero h1 { max-width: 15ch; }
.sec-hero h1 mark {
  color: inherit;
  background: linear-gradient(var(--open-wash), var(--open-wash)) no-repeat 0 88% / 100% 0.36em;
  padding-inline: 0.04em;
  animation: highlight 1.1s 0.35s cubic-bezier(.3,.7,.2,1) both;
}
.toc { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.toc a { font-family: var(--f-mono); font-size: 0.8rem; text-decoration: none; color: var(--ink); border: 1px solid var(--line); background: var(--paper); padding: 0.45em 0.85em; border-radius: 999px; }
.toc a:hover { border-color: var(--ink); }
.principles {
  margin: 0; min-width: 0; position: relative; overflow: hidden; isolation: isolate;
  background: var(--panel); color: var(--panel-fg);
  border-radius: var(--radius);
  box-shadow: 0 30px 60px -30px rgba(10, 20, 24, 0.55);
  transform: rotate(0.6deg);
}
.principles::before {
  content: ""; position: absolute; inset: auto -20% -60% -20%; height: 90%; z-index: -1;
  background: radial-gradient(55% 55% at 50% 70%, color-mix(in srgb, var(--open) 55%, transparent), transparent 70%);
  opacity: 0.45;
}
.principles-head { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.09em; color: var(--panel-muted); padding: 1rem 1.3rem; border-bottom: 1px solid var(--panel-line); }
.principles-list { list-style: none; margin: 0; padding: 1.4rem 1.3rem; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.4rem 1rem; }
.principles-list li { display: grid; justify-items: center; text-align: center; gap: 0.7rem; font-family: var(--f-display); font-weight: 500; font-size: 0.95rem; line-height: 1.25; text-wrap: balance; }
.principles-list .seal { width: 72px; height: 72px; }
.principles-list .seal svg { width: 40px; height: 40px; }
.principles-caption { padding: 0.7rem 1.3rem; font-size: 0.72rem; color: var(--panel-muted); border-top: 1px solid var(--panel-line); background: color-mix(in srgb, var(--panel-2) 85%, transparent); }


.concerns { padding-block: clamp(3.5rem, 8vw, 6rem); border-top: 1px solid var(--line); scroll-margin-top: 4rem; }
.concerns--alt { background: var(--paper); }
.concerns-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(1.5rem, 5vw, 5rem); align-items: start; }
.concerns-head { position: sticky; top: 6rem; min-width: 0; }
.concerns-head .eyebrow .mono { color: var(--open-ink); }
.concern-list { display: grid; min-width: 0; border-top: 1px solid var(--line); }
.concern { display: grid; gap: 0.7rem; padding-block: 1.6rem; border-bottom: 1px solid var(--line); }
.concern h3 { font-size: 1.12rem; line-height: 1.3; color: var(--muted); }
.concern .commit { font-family: var(--f-headline); font-synthesis: none; font-weight: 400; font-size: var(--step-1); line-height: 1.25; letter-spacing: -0.01em; color: var(--ink); text-wrap: balance; }
.concern p:not(.commit) { color: var(--muted); max-width: 38em; }
.concern .checks { margin-top: 0.2rem; color: var(--muted); }

.paper { padding-block: clamp(3.5rem, 8vw, 6rem); border-top: 1px solid var(--line); scroll-margin-top: 4rem; }
.paper-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(1.5rem, 5vw, 5rem); align-items: start; }
.paper-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; min-width: 0; }
.paper-list li {
  display: grid; grid-template-columns: 2.5rem minmax(0, 1fr); gap: 0.75rem; align-items: baseline;
  background: var(--paper); border: 1px solid var(--line); border-radius: 10px;
  padding: 1rem 1.2rem; font-family: var(--f-display); font-weight: 500; font-size: 1.05rem; line-height: 1.3;
}
.paper-list .mono { font-size: 0.78rem; color: var(--open-ink); }


/* Legal pages (privacy) */
.legal-date { margin-top: 1rem; font-size: 0.78rem; color: var(--muted); }
.legal { padding-block: 0 clamp(3.5rem, 8vw, 6rem); }
.legal-body { display: grid; gap: clamp(2rem, 4vw, 2.75rem); max-width: 44rem; }
.legal-body section { display: grid; gap: 0.8rem; padding-top: clamp(2rem, 4vw, 2.75rem); border-top: 1px solid var(--line); }
.legal-body h2 { font-size: var(--step-1); letter-spacing: -0.01em; line-height: 1.2; }
.legal-body p { margin: 0; color: var(--muted); }
.legal-body a { color: var(--ink); text-underline-offset: 0.2em; }
.legal-body code { font-family: var(--f-mono); font-size: 0.88em; color: var(--ink); }
.legal-body ul, .legal-body ol { margin: 0; padding-left: 1.25em; display: grid; gap: 0.45rem; color: var(--muted); }
.legal-body li::marker { color: var(--muted); font-family: var(--f-mono); font-size: 0.85em; }
.guide-sources ul { font-size: 0.92rem; }
.guide-sources p { font-size: 0.92rem; font-style: italic; }
.guide-list { list-style: none; padding-left: 0 !important; gap: 0 !important; }
.guide-list li { display: grid; gap: 0.3rem; padding-block: 1rem; border-bottom: 1px solid var(--line); }
.guide-list li:first-child { padding-top: 0; }
.guide-list a { font-family: var(--f-headline); font-size: var(--step-1); line-height: 1.25; text-decoration: none; }
.guide-list a:hover { text-decoration: underline; }
.legal-facts { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 0.45rem 1.5rem; margin: 0.4rem 0 0; }
.legal-facts dt { font-family: var(--f-mono); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); padding-top: 0.2em; }
.legal-facts dd { margin: 0; color: var(--ink); }
@media (max-width: 520px) {
  .legal-facts { grid-template-columns: minmax(0, 1fr); gap: 0.15rem; }
  .legal-facts dd { margin-bottom: 0.6rem; }
}

/* Responsive */
@media (max-width: 900px) {
  .hero-grid, .recognise-grid, .trust-grid, .faq-grid,
  .sec-hero-grid, .concerns-grid, .paper-grid { grid-template-columns: minmax(0, 1fr); }
  .concerns-head { position: static; }
  .principles { transform: none; }
  .seals { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero h1 { max-width: 16ch; }
  .session { transform: none; }
  /* Phone and tablet: the card sits pinned under the header and the
     moments scroll up underneath it. */
  .flow { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
  .flow-aside { order: -1; position: static; }
  .flow.is-scrolly .flow-aside {
    position: sticky; top: var(--hdr-h, 56px); z-index: 2;
    padding-block: 0.5rem 1.25rem; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter);
    background: linear-gradient(var(--paper) calc(100% - 1.25rem), transparent);
  }
  .flow.is-scrolly .moment { min-height: 62vh; min-height: 62svh; align-content: start; padding-top: 2rem; }
  .flow.is-scrolly .moment:first-child { padding-top: 1rem; }
  .flow.is-scrolly .moment:last-child { min-height: 48vh; min-height: 48svh; padding-bottom: 2rem; }
  .flow-card, .flow-card[data-stage] { transform: none; }
  .footer-origin { margin-left: 0; flex-basis: 100%; }
}
@media (max-width: 640px) {
  .header-nav { display: none; }
  .header-actions { margin-left: auto; }
  .logo { height: 26px; }
  .session-body { grid-template-columns: minmax(0, 1fr); }
  .transcript { border-right: 0; border-bottom: 1px solid var(--panel-line); }
  .seal { width: 72px; height: 72px; }
  .seal svg { width: 40px; height: 40px; }
  .seal-label { font-size: 0.88rem; }
  .safety-foot { justify-content: center; text-align: center; }
  .fc-bar { padding: 0.65rem 0.95rem; }
  .fc-client { padding: 0.55rem 0.95rem 0; }
  .fc-panes { padding: 0.55rem 0.95rem 0.25rem; }
  .fc-listhead { padding: 0.45rem 0.95rem 0.3rem; }
  .fc-list { padding: 0 0.95rem 0.6rem; font-size: 0.84rem; gap: 0.05rem; }
  .fc-row { padding-block: 0.22rem; }
  .fc-stat { padding: 0.45rem 0.5rem; }
  .fc-stat-l { font-size: 0.58rem; }
  .fc-stat-v { font-size: 1rem; }
  .fc-script { height: 3.9em; font-size: 0.74rem; }
  .fc-caption { display: none; }
  .principles-list .seal { width: 64px; height: 64px; }
}
@media (max-width: 400px) {
  .header-actions .btn--small { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
