/* Modou website v2 (2026-10-02). One design system, one theme (aubergine).
   Built from the "Gable to order list" variant: aubergine ground, Geist, product output as the visual.
   Colours live on :root; nothing below hard-codes a colour except the status colours. No serif, no monospace: labels are uppercase Geist, numbers tabular. */

/* ------------------------------------------------------------------ tokens */
/* One brand theme: the aubergine theme of the original design (the graphite theme and the switch are gone). */
:root {
  color-scheme: dark;
  --bg: #321D2F;
  --bg-rgb: 50, 29, 47;
  --bg-0: #28162A;
  --bg-2: #3A2337;
  --bg-3: #432A40;
  --panel: #3A2236;
  --panel-2: rgba(248, 245, 238, .045);
  --line: rgba(248, 245, 238, .1);
  --line-2: rgba(248, 245, 238, .18);
  --line-3: rgba(248, 245, 238, .36);
  --ink: #F8F5EE;           /* 14.3:1 on --bg */
  --ink-rgb: 248, 245, 238;
  --ink-2: #CDBFC9;         /* 8.8:1 */
  --ink-3: #B19DA9;         /* 6.1:1 */
  --accent: #C99545;        /* ochre (Leva, 2026-10-03): aubergine text on it 6.1:1, on the ground 5.8:1 */
  --accent-rgb: 201, 149, 69;
  --accent-fg: #2E1A2B;
  --accent-hover: #D9AE63;
  --accent-hi: #D9AE63;     /* ochre as text and lines on the ground, 7.5:1 */
  --talk-bg: #C99545;
  --talk-fg: #2E1A2B;
  --stage-1: #3E2539;
  --stage-2: #331E30;
  --stage-3: #29172A;
}
:root {
  /* status colours */
  --ok: #7CCB98;   --ok-bg: rgba(124, 203, 152, .14);
  --warn: #EDB85F; --warn-bg: rgba(237, 184, 95, .15);
  --ral7016: #383E42;
  --ral9007: #878581;
  --gut: 56px;
  --max: 1328px;
  --hd: 68px;
  --radius: 6px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-io: cubic-bezier(.65, 0, .25, 1);
  --fs-display: clamp(40px, 4.4vw, 64px);
  --fs-h2: clamp(32px, 3.9vw, 56px);
  --fs-h3: clamp(21px, 1.7vw, 26px);
  --fs-lede: 18px;
}

/* ------------------------------------------------------------------ base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--bg); -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--hd) + 24px); }
body {
  background: var(--bg); color: var(--ink);
  font-family: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif; font-size: 17px; line-height: 1.55; font-weight: 400;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: clip;
  font-feature-settings: "tnum" 1;
  transition: background-color .5s var(--ease), color .5s var(--ease);
}
a { color: inherit; text-decoration: none; }
img, svg, canvas, video { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }
ul, ol { list-style: none; }
::selection { background: rgba(var(--accent-rgb), .45); color: var(--ink); }
:focus-visible { outline: 2px solid var(--accent-hi); outline-offset: 3px; border-radius: 3px; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: fixed; left: 12px; top: -60px; z-index: 200; background: var(--ink); color: var(--bg); padding: 10px 14px; border-radius: 4px; font-size: 14px; font-weight: 500; transition: top .2s; }
.skip-link:focus { top: 12px; }

/* ------------------------------------------------------------------ layout and type */
.wrap { max-width: calc(var(--max) + var(--gut) * 2); margin: 0 auto; padding: 0 var(--gut); }
.wrap-narrow { max-width: calc(860px + var(--gut) * 2); margin: 0 auto; padding: 0 var(--gut); }
.num { font-variant-numeric: tabular-nums; font-feature-settings: "tnum" 1; }
.label { display: inline-block; font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); line-height: 1.4; }
.label.dot::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 1px; background: var(--ink); margin-right: 12px; vertical-align: 1px; }
.label.acc { color: var(--accent-hi); }
.disp { font-weight: 500; letter-spacing: -.038em; line-height: 1.02; text-wrap: balance; }
.h1 { font-size: var(--fs-display); font-weight: 500; letter-spacing: -.038em; line-height: 1.02; text-wrap: balance; }
.h2 { font-size: var(--fs-h2); font-weight: 500; letter-spacing: -.036em; line-height: 1.04; text-wrap: balance; }
.h2 span, .h1 span.mute { color: var(--ink-3); }
.h3 { font-size: var(--fs-h3); font-weight: 500; letter-spacing: -.022em; line-height: 1.2; }
.lede { font-size: var(--fs-lede); line-height: 1.55; color: var(--ink-2); max-width: 34em; }
.muted { color: var(--ink-2); }
.faint { color: var(--ink-3); }
.note { display: block; margin-top: 22px; font-size: 13px; color: var(--ink-3); }
.fine { font-size: 13.5px; color: var(--ink-3); margin-top: 16px; }
.tlink { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 500; color: var(--ink); }
.tlink span { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .5s var(--ease); padding-bottom: 2px; }
.tlink:hover span { background-size: 100% 1px; }
.tlink svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.4; transition: transform .35s var(--ease); }
.tlink:hover svg { transform: translateX(3px); }
.prose-link, .prose a, .legal a, .faq-a a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--line-3); text-underline-offset: 3px; transition: text-decoration-color .2s; }
.prose-link:hover, .prose a:hover, .legal a:hover, .faq-a a:hover { text-decoration-color: var(--ink); }

/* sections */
.sec { padding: 152px 0; }
.sec.tight { padding: 104px 0; }
.sec + .sec, .sec.ruled { border-top: 1px solid var(--line); }
.sec.flush-top { padding-top: 0; }
.top2 { display: grid; grid-template-columns: 7fr 5fr; gap: 48px; align-items: end; margin-bottom: 72px; }
.top2 .lede { justify-self: end; }
.top2 .h2 { margin-top: 20px; }
.split { display: grid; grid-template-columns: 5fr 7fr; gap: 96px; align-items: start; }
.split.even { grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.split .h2 { margin-top: 20px; }
.split .lede { margin-top: 24px; }
.split .sticky { position: sticky; top: calc(var(--hd) + 40px); }
.prose { font-size: 17px; line-height: 1.65; color: var(--ink-2); max-width: 38em; }
.prose > * + * { margin-top: 1.05em; }
.prose strong, .prose b { color: var(--ink); font-weight: 500; }
.prose h3 { color: var(--ink); font-size: 21px; font-weight: 500; letter-spacing: -.018em; line-height: 1.3; margin-top: 1.8em; }
.prose ul li, .prose ol li { position: relative; padding-left: 22px; }
.prose ul li + li, .prose ol li + li { margin-top: .5em; }
.prose ul li::before { content: ""; position: absolute; left: 2px; top: .7em; width: 6px; height: 1px; background: var(--ink-3); }
.prose ol { counter-reset: p; }
.prose ol li::before { counter-increment: p; content: counter(p); position: absolute; left: 0; top: 0; font-size: 13px; font-weight: 500; color: var(--ink-3); line-height: 1.9; }

/* definition rows: a claim with its explanation, and a short tag on the right */
.rows { border-top: 1px solid var(--line-2); }
.rows > div { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: baseline; padding: 24px 0; border-bottom: 1px solid var(--line); }
.rows dt { font-size: 21px; font-weight: 500; letter-spacing: -.018em; line-height: 1.3; }
.rows dt small { display: block; font-size: 15px; font-weight: 400; letter-spacing: 0; color: var(--ink-2); margin-top: 6px; line-height: 1.5; }
.rows dd { font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); white-space: nowrap; }

/* numbered steps in columns */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.steps.four { grid-template-columns: repeat(4, 1fr); gap: 32px; }
.steps.five { grid-template-columns: repeat(5, 1fr); gap: 28px; }
.step { border-top: 1px solid var(--line-2); padding-top: 26px; }
.step .n { font-size: 13px; font-weight: 500; letter-spacing: .14em; color: var(--ink-3); }
.step h3 { font-size: 26px; font-weight: 500; letter-spacing: -.025em; line-height: 1.15; margin: 22px 0 10px; }
.step p { color: var(--ink-2); font-size: 16px; max-width: 24em; }
.step p + p { margin-top: 10px; }
.step .detail { font-size: 14px; color: var(--ink-3); }
/* .steps.aligned: every step's rows (number, title, text, detail, card) line up across the columns */
.steps.aligned { grid-auto-rows: auto; }
.steps.aligned .step { display: grid; grid-row: span 5; grid-template-rows: subgrid; row-gap: 0; align-content: start; }
.steps.aligned .step > :last-child { align-self: start; }

/* stat strip (only for real figures) */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-2); }
.stats > div { padding: 22px 24px 20px 0; border-bottom: 1px solid var(--line); }
.stats > div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.stats b { display: block; font-size: 34px; font-weight: 500; letter-spacing: -.03em; line-height: 1.05; }
.stats span { display: block; font-size: 12px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-top: 8px; }

/* ------------------------------------------------------------------ buttons
   .btn + one of .btn-accent (primary), .btn-ink (high contrast), .btn-ghost (outline). The .ar span holds two arrows:
   on hover the first slides out and the second slides in. */
.btn {
  --b: var(--accent); --f: var(--accent-fg);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 22px; height: 48px; padding: 0 16px 0 20px;
  background: var(--b); color: var(--f); border-radius: 5px; font-size: 15px; font-weight: 500; letter-spacing: -.005em; white-space: nowrap;
  overflow: hidden; isolation: isolate; cursor: pointer;
  transition: background-color .3s var(--ease), box-shadow .3s var(--ease), color .3s var(--ease);
}
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, transparent 20%, rgba(255, 255, 255, .22) 50%, transparent 80%); transform: translateX(-110%); transition: transform .8s var(--ease); }
.btn:hover::before { transform: translateX(110%); }
.btn .ar { position: relative; width: 16px; height: 16px; flex: none; overflow: hidden; }
.btn .ar svg { position: absolute; inset: 0; width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.4; transition: transform .45s var(--ease); }
.btn .ar svg + svg { transform: translateX(-120%); }
.btn:hover .ar svg:first-child { transform: translateX(120%); }
.btn:hover .ar svg + svg { transform: translateX(0); }
.btn-accent { --b: var(--accent); --f: var(--accent-fg); }
.btn-accent:hover { --b: var(--accent-hover); }
.btn-ink { --b: var(--ink); --f: var(--bg); }
.btn-ink:hover { --b: #fff; }
.btn-ghost { --b: transparent; --f: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1px var(--line-3); }
.btn-ghost::before { background: linear-gradient(100deg, transparent 20%, rgba(var(--ink-rgb), .08) 50%, transparent 80%); }
.btn-sm { height: 38px; gap: 14px; padding: 0 12px 0 15px; font-size: 14px; border-radius: 4px; }
.btn-sm .ar, .btn-sm .ar svg { width: 14px; height: 14px; }
.btn-lg { height: 54px; padding: 0 18px 0 24px; font-size: 16px; }
.ctas { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 34px; }

/* ------------------------------------------------------------------ header */
.hd { position: fixed; top: 0; left: 0; right: 0; z-index: 60; border-bottom: 1px solid transparent; transition: background-color .35s var(--ease), border-color .35s var(--ease), transform .45s var(--ease); }
.hd.solid { background: rgba(var(--bg-rgb), .84); -webkit-backdrop-filter: saturate(1.1) blur(14px); backdrop-filter: saturate(1.1) blur(14px); border-bottom-color: var(--line); }
.hd-in { display: flex; align-items: center; height: var(--hd); gap: 40px; }
.hd-logo { display: block; color: var(--ink); flex: none; }
.hd-logo svg { height: 26px; width: auto; }
.hd-nav { display: flex; gap: 30px; font-size: 14px; color: var(--ink-2); margin-left: 8px; }
.hd-nav a { position: relative; transition: color .2s; padding: 6px 0; }
.hd-nav a:hover, .hd-nav a[aria-current="page"] { color: var(--ink); }
.hd-nav a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--ink); }
.hd-r { margin-left: auto; display: flex; align-items: center; gap: 18px; font-size: 14px; }
.hd-link { color: var(--ink-2); transition: color .2s; }
.hd-link:hover { color: var(--ink); }
.hd-sep { width: 1px; height: 18px; background: var(--line-2); }

/* language switch: the current language as text, the other as a link to the same page */
.lang { display: inline-flex; align-items: center; gap: 2px; height: 30px; padding: 2px; border-radius: 16px; box-shadow: inset 0 0 0 1px var(--line-2); font-size: 12px; font-weight: 500; letter-spacing: .08em; }
.lang > * { display: inline-flex; align-items: center; height: 26px; padding: 0 9px; border-radius: 13px; color: var(--ink-3); transition: color .2s, background-color .2s; }
.lang > a:hover { color: var(--ink); }
.lang > [aria-current] { background: rgba(var(--ink-rgb), .1); color: var(--ink); }


/* burger and the full-screen mobile menu (site.js builds the menu from the header) */
.burger { display: none; width: 40px; height: 40px; margin-right: -10px; border-radius: 50%; position: relative; }
.burger span { position: absolute; left: 11px; right: 11px; height: 1.5px; background: var(--ink); transition: transform .4s var(--ease), top .4s var(--ease); }
.burger span:first-child { top: 16px; }
.burger span:last-child { top: 23px; }
.mm-open .burger span:first-child { top: 19.5px; transform: rotate(45deg); }
.mm-open .burger span:last-child { top: 19.5px; transform: rotate(-45deg); }
.mm { position: fixed; inset: 0; z-index: 55; background: var(--bg); display: flex; flex-direction: column; padding: calc(var(--hd) + 24px) var(--gut) 28px; overflow-y: auto;
  opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility 0s .35s; }
.mm-open .mm { opacity: 1; visibility: visible; transition: opacity .35s var(--ease); }
.mm-open .hd { background: var(--bg); border-bottom-color: var(--line); }
.mm-nav a { display: flex; justify-content: space-between; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 30px; font-weight: 500; letter-spacing: -.03em; line-height: 1.15;
  opacity: 0; transform: translateY(12px); transition: opacity .5s var(--ease), transform .6s var(--ease); }
.mm-nav a::after { content: ""; width: 8px; height: 8px; border-top: 1.5px solid var(--ink-3); border-right: 1.5px solid var(--ink-3); transform: rotate(45deg); }
.mm-nav a[aria-current="page"] { color: var(--accent-hi); }
.mm-open .mm-nav a { opacity: 1; transform: none; }
.mm-nav a:nth-child(2) { transition-delay: .04s; } .mm-nav a:nth-child(3) { transition-delay: .08s; } .mm-nav a:nth-child(4) { transition-delay: .12s; }
.mm-ctl { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-top: 28px; }
.mm-ctas { margin-top: auto; padding-top: 32px; display: grid; gap: 10px; }
.mm-ctas .btn { width: 100%; justify-content: space-between; }
.mm-signin { text-align: center; padding: 12px 0 0; font-size: 15px; color: var(--ink-2); }
.mm-open { overflow: hidden; }

/* ------------------------------------------------------------------ inner page hero and breadcrumb */
.ph { padding: calc(var(--hd) + 96px) 0 96px; border-bottom: 1px solid var(--line); }
.ph .h1 { font-size: clamp(42px, 5.2vw, 76px); max-width: 13em; margin-top: 22px; }
.ph .lede { margin-top: 26px; font-size: 20px; max-width: 32em; }
.ph .ctas { margin-top: 36px; }
.ph.split-ph .wrap { display: grid; grid-template-columns: 7fr 5fr; gap: 64px; align-items: end; }
.ph.split-ph .h1 { max-width: 11em; }
.ph-media { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3.2; background: var(--bg-2); }
.ph-media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.85); }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-3); margin-bottom: 28px; }
.crumbs a { transition: color .2s; }
.crumbs a:hover { color: var(--ink); }
.crumbs li { display: inline-flex; align-items: center; gap: 8px; }
.crumbs li + li::before { content: ""; width: 5px; height: 5px; border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: rotate(45deg); opacity: .7; }
.crumbs [aria-current] { color: var(--ink-2); }

/* ------------------------------------------------------------------ product UI: panels, lists, tables, chips */
.panel { background: var(--panel); border: 1px solid var(--line-2); border-radius: 8px; overflow: hidden; box-shadow: 0 40px 120px -50px rgba(0, 0, 0, .7); }
.panel.flat { box-shadow: none; border-color: var(--line); }
.panel-hd { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 16px 18px 14px; border-bottom: 1px solid var(--line); }
.panel-hd h3, .panel-hd .t { font-size: 15.5px; font-weight: 500; letter-spacing: -.01em; line-height: 1.35; }
.panel-hd p { font-size: 12.5px; color: var(--ink-2); margin-top: 2px; }
.panel-tag { font-size: 10.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); border: 1px solid var(--line-2); border-radius: 3px; padding: 3px 7px; white-space: nowrap; }
.panel-ft { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 18px; font-size: 12.5px; color: var(--ink-2); border-top: 1px solid var(--line); }
.panel-body { padding: 16px 18px; }
/* list rows inside a panel: icon or chip, text, meta */
.li { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 12px 18px; border-bottom: 1px solid var(--line); font-size: 14px; }
.li.two { grid-template-columns: 1fr auto; }
.li:last-child { border-bottom: 0; }
.li em { font-style: normal; font-size: 12.5px; color: var(--ink-3); }
.li small { display: block; font-size: 12.5px; color: var(--ink-3); margin-top: 1px; }
.li.sum { color: var(--ink-3); font-size: 12.5px; background: var(--panel-2); }
.li.sel { background: var(--panel-2); }
.ft-chip { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 22px; padding: 0 6px; font-size: 10px; font-weight: 600; letter-spacing: .1em; color: var(--ink-2); border: 1px solid var(--line-2); border-radius: 3px; }
/* finding: a sourced statement with its status */
.finding { display: flex; gap: 12px; align-items: baseline; padding: 14px 18px; font-size: 14px; color: var(--ink); border-top: 1px solid var(--line); }
.finding .label { font-size: 10.5px; white-space: nowrap; }
/* tables */
.tbl-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.tbl th { font-size: 10.5px; font-weight: 500; letter-spacing: .13em; text-transform: uppercase; color: var(--ink-3); text-align: left; padding: 11px 16px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; background: var(--panel-2); }
.tbl td { padding: 11px 16px; border-bottom: 1px solid var(--line); color: var(--ink-2); vertical-align: middle; }
.tbl td:first-child { color: var(--ink); }
.tbl tr:last-child td { border-bottom: 0; }
.tbl .q { text-align: right; white-space: nowrap; }
.tbl .nw { white-space: nowrap; }
.tbl tr.sel td { background: var(--panel-2); }
.tbl.plain th { background: none; padding-left: 0; }
.tbl.plain td { padding-left: 0; }
/* status chips. ok = released / available, warn = open / provisional, flag = needs review, muted = later, line = neutral */
.chip { display: inline-flex; align-items: center; gap: 7px; height: 22px; padding: 0 8px; border-radius: 3px; font-size: 11.5px; font-weight: 500; letter-spacing: .01em; white-space: nowrap; line-height: 1; }
.chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; flex: none; }
.chip.ok { color: var(--ok); background: var(--ok-bg); }
.chip.warn { color: var(--warn); background: var(--warn-bg); }
.chip.flag { color: var(--accent-fg); background: var(--accent); }
.chip.flag::before { background: currentColor; }
.chip.muted { color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line-2); }
.chip.muted::before { background: transparent; box-shadow: inset 0 0 0 1px currentColor; }
.chip.line { color: var(--ink); background: rgba(var(--ink-rgb), .08); }
.chip.plain::before { display: none; }
/* scope matrix marks */
.mark { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-2); white-space: nowrap; }
.mark::before { content: ""; width: 7px; height: 7px; border-radius: 50%; flex: none; }
.mark.in::before { background: var(--ok); }
.mark.out { color: var(--warn); }
.mark.out::before { border-radius: 1px; background: transparent; box-shadow: inset 0 0 0 1.5px var(--warn); transform: rotate(45deg); }
.mark.unc::before { box-shadow: inset 0 0 0 1px var(--ink-2); }
/* export preview sheet */
.sheet { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--bg-2); }
.sheet-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 10px 16px; border-bottom: 1px solid var(--line); font-size: 12.5px; color: var(--ink-3); }
.sheet-bar b { color: var(--ink); font-weight: 500; }
.sheet .tbl td { white-space: nowrap; }
.sheet .tbl td.src { color: var(--ink); }
/* key and value pairs (worked line, document meta) */
.kv { display: grid; grid-template-columns: auto 1fr; gap: 8px 20px; font-size: 14px; }
.kv dt { color: var(--ink-3); }
.kv dd { color: var(--ink); }
.eq { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; font-size: 13px; color: var(--ink-2); }
.eq b { color: var(--ink); font-weight: 500; }
.eq i { font-style: normal; color: var(--ink-3); }

/* ------------------------------------------------------------------ photography */
.photo { position: relative; height: min(86vh, 820px); min-height: 520px; overflow: hidden; background: var(--bg-0); }
.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 38%; }
.photo::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(var(--bg-rgb), 0) 0%, rgba(var(--bg-rgb), 0) 54%, rgba(var(--bg-rgb), .5) 82%, rgba(var(--bg-rgb), .74) 100%); }
.photo .wrap { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: 64px; }
.photo .wrap { text-shadow: 0 1px 3px rgba(var(--bg-rgb), .7), 0 2px 22px rgba(var(--bg-rgb), .85); }
.photo .label { color: rgba(var(--ink-rgb), .9); }
.photo h2 { font-size: clamp(34px, 4.2vw, 62px); max-width: 14em; margin-top: 18px; }
.photo p { font-size: 18px; color: rgba(var(--ink-rgb), .92); margin-top: 18px; max-width: 30em; }
.figure { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--bg-2); }
.figure img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.86); }
.figure.r43 { aspect-ratio: 4 / 3; } .figure.r169 { aspect-ratio: 16 / 9; } .figure.r45 { aspect-ratio: 4 / 5; } .figure.r32 { aspect-ratio: 3 / 2; }
.figure figcaption, figure .cap { font-size: 13px; color: var(--ink-3); margin-top: 12px; }
.figure.over figcaption { position: absolute; left: 16px; bottom: 14px; margin: 0; color: rgba(255, 255, 255, .85); text-shadow: 0 1px 12px rgba(0, 0, 0, .5); }

/* ------------------------------------------------------------------ FAQ accordion (details/summary; site.js animates the height) */
.faq { border-top: 1px solid var(--line-2); }
.faq-i { border-bottom: 1px solid var(--line); }
.faq-i summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 0; cursor: pointer; font-size: 20px; font-weight: 500; letter-spacing: -.016em; line-height: 1.3; transition: color .2s; }
.faq-i summary::-webkit-details-marker { display: none; }
.faq-i summary:hover { color: var(--ink); }
.faq-i summary i { position: relative; width: 28px; height: 28px; flex: none; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line-2); transition: transform .45s var(--ease), box-shadow .2s, background-color .2s; }
.faq-i summary i::before, .faq-i summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 1.4px; margin: -.7px 0 0 -5px; background: var(--ink); transition: transform .45s var(--ease); }
.faq-i summary i::after { transform: rotate(90deg); }
.faq-i[open] summary i { transform: rotate(180deg); box-shadow: inset 0 0 0 1px var(--line-3); }
.faq-i[open] summary i::after { transform: rotate(0deg); }
.faq-a { overflow: hidden; }
.faq-a > div { padding: 0 64px 26px 0; font-size: 16.5px; line-height: 1.65; color: var(--ink-2); max-width: 46em; }
.faq-a > div > * + * { margin-top: .8em; }
.faq-more { margin-top: 28px; font-size: 15px; color: var(--ink-2); display: flex; flex-wrap: wrap; gap: 8px 24px; }

/* ------------------------------------------------------------------ legal prose */
.legal-wrap { display: grid; grid-template-columns: 3fr 8fr; gap: 80px; align-items: start; }
.legal-toc { position: sticky; top: calc(var(--hd) + 40px); font-size: 14px; }
.legal-toc .label { display: block; margin-bottom: 14px; }
.legal-toc a { display: block; padding: 6px 0 6px 14px; color: var(--ink-3); border-left: 1px solid var(--line); transition: color .2s, border-color .2s; line-height: 1.35; }
.legal-toc a:hover { color: var(--ink); }
.legal-toc a.on { color: var(--ink); border-left-color: var(--ink); }
.legal { max-width: 720px; font-size: 16.5px; line-height: 1.7; color: var(--ink-2); }
.legal-meta { font-size: 13.5px; color: var(--ink-3); margin-bottom: 40px; }
.legal h2 { color: var(--ink); font-size: 23px; font-weight: 500; letter-spacing: -.02em; line-height: 1.25; padding-top: 40px; margin-top: 40px; border-top: 1px solid var(--line); }
.legal h2:first-of-type { margin-top: 0; padding-top: 0; border-top: 0; }
.legal h3 { color: var(--ink); font-size: 18px; font-weight: 500; letter-spacing: -.012em; margin-top: 28px; }
.legal p, .legal ul, .legal ol, .legal table { margin-top: 14px; }
.legal strong { color: var(--ink); font-weight: 500; }
.legal ul li, .legal ol li { position: relative; padding-left: 22px; margin-top: 6px; }
.legal ul li::before { content: ""; position: absolute; left: 2px; top: .8em; width: 6px; height: 1px; background: var(--ink-3); }
.legal ol { counter-reset: l; }
.legal ol li::before { counter-increment: l; content: counter(l) "."; position: absolute; left: 0; color: var(--ink-3); font-size: 14px; }
.legal table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.legal th { text-align: left; font-size: 11px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line-2); }
.legal td { padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; }

/* ------------------------------------------------------------------ forms */
.field { display: block; }
.field > span { display: block; font-size: 13px; color: var(--ink-2); margin-bottom: 8px; }
.field > span em { font-style: normal; color: var(--ink-3); }
.field input, .field textarea, .field select { width: 100%; height: 48px; padding: 0 14px; background: var(--bg-2); border: 1px solid var(--line-2); border-radius: 5px; color: var(--ink); font-size: 16px; outline: none; transition: border-color .2s, background-color .2s; }
.field textarea { height: auto; min-height: 120px; padding: 12px 14px; resize: vertical; line-height: 1.5; }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-3); }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--ink-2); background: var(--bg-3); }
.field.err input, .field.err textarea { border-color: var(--warn); animation: shake .4s; }
.field .hint { display: block; font-size: 12.5px; color: var(--ink-3); margin-top: 6px; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill-o { position: relative; }
.pill-o input { position: absolute; opacity: 0; pointer-events: none; }
.pill-o span { display: inline-flex; align-items: center; height: 40px; padding: 0 16px; border-radius: 20px; font-size: 14.5px; color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line-2); cursor: pointer; transition: background-color .2s, color .2s, box-shadow .2s; }
.pill-o span:hover { box-shadow: inset 0 0 0 1px var(--line-3); color: var(--ink); }
.pill-o input:checked + span { background: var(--ink); color: var(--bg); box-shadow: none; }
.pill-o input:focus-visible + span { outline: 2px solid var(--accent-hi); outline-offset: 2px; }
/* the quote form as a page component (form[data-quote]); site.js validates it and shows .qf-done */
.qform { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 20px; }
.qform .w { grid-column: 1 / -1; }
.qform .qf-l { display: block; font-size: 13px; color: var(--ink-2); margin-bottom: 10px; }
.qform .qf-go { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 6px; }
.qform .qf-go p { font-size: 13px; color: var(--ink-3); max-width: 30em; }
.qf-done { display: none; padding: 40px 0; }
.qf-done h2 { font-size: 34px; font-weight: 500; letter-spacing: -.03em; line-height: 1.1; }
.qf-done p { margin-top: 12px; color: var(--ink-2); }
form.sent .qf-done { display: block; }
form.sent > :not(.qf-done) { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
/* newsletter line */
.news { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: end; }
.news h2 { font-size: clamp(28px, 2.8vw, 40px); font-weight: 500; letter-spacing: -.03em; line-height: 1.1; max-width: 16em; }
.news p { color: var(--ink-2); margin-top: 16px; max-width: 34em; font-size: 16px; }
.news form { display: grid; grid-template-columns: 1fr 1fr auto; gap: 10px; align-items: end; }
.news form .field:nth-child(3) { grid-column: 1 / 3; }
.news .field input { height: 48px; }
.news .fine a { color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-3); }
.news-ok { display: none; font-size: 18px; color: var(--ink); }
.news form.sent { display: none; }
.news form.sent + .news-ok { display: block; }
@keyframes shake { 0%, 100% { transform: translateX(0); } 20% { transform: translateX(-6px); } 40% { transform: translateX(5px); } 60% { transform: translateX(-3px); } 80% { transform: translateX(2px); } }

/* ------------------------------------------------------------------ CTA band: photo beside the invitation */
.cta-band { display: grid; grid-template-columns: 6fr 6fr; gap: 80px; align-items: center; }
.cta-band figure { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3.3; background: var(--bg-2); }
.cta-band figure img { width: 100%; height: 100%; object-fit: cover; object-position: 46% 50%; filter: saturate(.85); }
.cta-band h2 { font-size: clamp(38px, 4.6vw, 68px); max-width: 10em; margin-top: 22px; }
.cta-band p { font-size: 18px; color: var(--ink-2); max-width: 28em; margin-top: 26px; }
.cta-band p.after { font-size: 15px; color: var(--ink); margin-top: 20px; }
.cta-band p.fine, .news p.fine, .cta-c p.fine { font-size: 13.5px; color: var(--ink-3); margin-top: 16px; }
/* a compact band without photo, centred */
.cta-c { text-align: center; padding: 136px 0; border-top: 1px solid var(--line); }
.cta-c h2 { font-size: clamp(34px, 4.2vw, 60px); max-width: 15em; margin: 20px auto 0; }
.cta-c p { font-size: 18px; color: var(--ink-2); max-width: 32em; margin: 22px auto 0; }
.cta-c .ctas { justify-content: center; }

/* ------------------------------------------------------------------ footer */
.ft { border-top: 1px solid var(--line); color: var(--ink-3); font-size: 14px; background: var(--bg-0); transition: background-color .5s var(--ease); }
.ft-top { display: grid; grid-template-columns: 5fr 7fr; gap: 48px; padding-top: 80px; padding-bottom: 56px; }
.ft-logo { display: inline-block; color: var(--ink); }
.ft-logo svg { height: 28px; width: auto; }
.ft-tag { margin-top: 22px; max-width: 22em; font-size: 22px; font-weight: 500; letter-spacing: -.02em; line-height: 1.3; color: var(--ink); }
.ft-mail { display: inline-flex; margin-top: 22px; color: var(--ink-2); font-size: 15px; transition: color .2s; }
.ft-mail:hover { color: var(--ink); }
.ft-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.ft-cols .label { display: block; margin-bottom: 14px; }
.ft-cols a { display: block; color: var(--ink-2); padding: 5px 0; transition: color .2s; }
.ft-cols a:hover, .ft-cols a[aria-current="page"] { color: var(--ink); }
.ft-mid { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding: 22px 0; border-top: 1px solid var(--line); }
.ft-trust { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 13px; color: var(--ink-2); }
.ft-trust span { display: inline-flex; align-items: center; gap: 8px; }
.ft-trust span::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--ok); }
.ft-ctl { display: flex; align-items: center; gap: 10px; }
.ft-base { display: flex; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap; padding: 20px 0 32px; border-top: 1px solid var(--line); font-size: 13px; }
.ft-social { display: flex; gap: 18px; }
.ft-social a { color: var(--ink-3); transition: color .2s; }
.ft-social a:hover { color: var(--ink); }

/* ------------------------------------------------------------------ reveal on scroll */
.rv { opacity: 0; transform: translateY(16px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.rv.in { opacity: 1; transform: none; }
.rv.d1 { transition-delay: .08s; } .rv.d2 { transition-delay: .16s; } .rv.d3 { transition-delay: .24s; }
.no-js .rv { opacity: 1; transform: none; }

/* ------------------------------------------------------------------ the quote overlay: grows from the button that opened it */
.talk { position: fixed; inset: 0; z-index: 120; background: var(--talk-bg); color: var(--talk-fg); visibility: hidden; display: flex; flex-direction: column;
  clip-path: inset(50% 50% 50% 50% round 8px); transition: clip-path .95s cubic-bezier(.83, 0, .17, 1); will-change: clip-path; }
.talk-top { display: flex; align-items: center; justify-content: space-between; gap: 22px; height: 88px; padding: 0 var(--gut); opacity: 0; transition: opacity .35s var(--ease); flex: none; }
.talk.ready .talk-top { opacity: 1; transition-delay: .1s; }
.talk-top svg.lg { height: 24px; width: auto; }
.talk-x { width: 44px; height: 44px; flex: none; border-radius: 50%; display: grid; place-items: center; color: inherit; transition: background-color .2s; }
.talk-x:hover { background: color-mix(in srgb, currentColor 12%, transparent); }
.talk-x svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.4; }
.talk-stage { position: relative; flex: 1; display: grid; align-items: center; padding: 0 var(--gut) 72px; overflow-y: auto; }
.talk-q { grid-area: 1 / 1; width: 100%; max-width: 820px; margin: 0 auto; opacity: 0; transform: translateY(28px); pointer-events: none; transition: opacity .45s var(--ease), transform .7s var(--ease); }
.talk-q.cur { opacity: 1; transform: none; pointer-events: auto; transition-delay: .1s; }
.talk-q.gone { opacity: 0; transform: translateY(-24px); transition-delay: 0s; }
.talk-q h2 { font-size: clamp(32px, 4vw, 54px); line-height: 1.04; letter-spacing: -.035em; font-weight: 500; text-wrap: balance; }
.talk-q .hint { margin-top: 14px; font-size: 16.5px; opacity: .78; max-width: 40em; }
.talk-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 32px; margin-top: 40px; }
.talk-f { display: block; }
.talk-f.w { grid-column: 1 / -1; }
.talk-f > span { display: block; font-size: 13px; opacity: .72; margin-bottom: 4px; }
.talk-f > span em { font-style: normal; opacity: .8; }
.talk-f input, .talk-f textarea { width: 100%; font: inherit; font-size: clamp(20px, 1.9vw, 26px); letter-spacing: -.018em; color: inherit; background: none; border: 0; border-bottom: 1px solid color-mix(in srgb, currentColor 36%, transparent); padding: 6px 0 10px; outline: none; border-radius: 0; caret-color: currentColor; transition: border-color .3s; }
.talk-f textarea { resize: none; height: 46px; line-height: 1.3; }
.talk-f input::placeholder, .talk-f textarea::placeholder { color: inherit; opacity: .38; }
.talk-f input:focus, .talk-f textarea:focus { border-color: currentColor; }
.talk-f.err input { border-color: currentColor; animation: shake .4s; }
.talk-f.err > span { opacity: 1; }
.talk-l { margin-top: 30px; font-size: 13px; opacity: .72; }
.talk-opts { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 8px; }
.talk-opt { height: 42px; padding: 0 17px; border-radius: 21px; font-size: 15px; color: inherit; box-shadow: inset 0 0 0 1px color-mix(in srgb, currentColor 36%, transparent); transition: background-color .25s, color .25s, box-shadow .25s; }
.talk-opt:hover { box-shadow: inset 0 0 0 1px currentColor; }
.talk-opt.on { background: var(--talk-fg); color: var(--talk-bg); box-shadow: none; }
.talk-go { margin-top: 34px; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.talk-go p { font-size: 13px; opacity: .7; }
.talk-send { display: inline-flex; align-items: center; gap: 16px; height: 54px; padding: 0 22px 0 26px; border-radius: 6px; background: var(--talk-fg); color: var(--talk-bg); font-size: 16px; font-weight: 500; transition: transform .3s var(--ease); }
.talk-send:hover { transform: translateY(-2px); }
.talk-send svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.4; transition: transform .4s var(--ease); }
.talk-send:hover svg { transform: translateX(4px); }
.talk-done svg { width: 64px; height: 64px; margin-bottom: 28px; }
.talk-done circle { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-dasharray: 208; stroke-dashoffset: 208; transform: rotate(-90deg); transform-origin: center; }
.talk-done path { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 44; stroke-dashoffset: 44; }
.talk-done.cur circle { stroke-dashoffset: 0; transition: stroke-dashoffset 1s var(--ease-io) .25s; }
.talk-done.cur path { stroke-dashoffset: 0; transition: stroke-dashoffset .5s var(--ease) 1s; }
.talk-open-body { overflow: hidden; }
.talk ::selection { background: color-mix(in srgb, currentColor 25%, transparent); color: inherit; }
.talk :focus-visible { outline-color: currentColor; }

/* ------------------------------------------------------------------ home: the gable story (3D scene, gable.js) */
.story { position: relative; height: 1000vh; background: var(--bg); }
.stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; background: radial-gradient(75% 65% at 64% 52%, var(--stage-1) 0%, var(--stage-2) 55%, var(--stage-3) 100%); transition: background .5s var(--ease); }
.stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
#hud { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
#hud text { font-family: "Geist", system-ui, sans-serif; font-feature-settings: "tnum" 1; }
.vignette { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(120% 90% at 60% 50%, rgba(var(--bg-rgb), 0) 58%, rgba(var(--bg-rgb), .5) 100%); }
#fallback { position: absolute; display: none; }
.scrim-top { position: absolute; left: 0; right: 0; top: 0; height: 150px; background: linear-gradient(rgba(var(--bg-rgb), .72), rgba(var(--bg-rgb), 0)); pointer-events: none; }
.scrim-left { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(var(--bg-rgb), .94) 0%, rgba(var(--bg-rgb), .8) 28%, rgba(var(--bg-rgb), 0) 46%); opacity: 0; pointer-events: none; }
.col { position: absolute; left: var(--gut); top: 0; bottom: 0; width: min(540px, 38vw); display: flex; flex-direction: column; justify-content: center; pointer-events: none; }
.col > * { pointer-events: auto; }
.hero-copy { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%); }
.hero-copy .label { margin-bottom: 26px; }
.hero-copy h1 { font-size: clamp(40px, 3.9vw, 58px); }
.hero-copy h1 span { display: block; }
.hero-copy .sub { font-size: 18.5px; font-weight: 400; letter-spacing: -.008em; line-height: 1.5; margin-top: 26px; color: var(--ink-2); max-width: 27em; }
.cap { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%); opacity: 0; visibility: hidden; max-width: 400px; }
.cap .row { display: flex; align-items: center; gap: 14px; }
.cap .row .n { font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.cap .row .n::after { content: ""; display: inline-block; width: 28px; height: 1px; background: var(--line-2); margin-left: 14px; vertical-align: 4px; }
.cap h2 { font-size: clamp(28px, 2.6vw, 40px); font-weight: 500; letter-spacing: -.032em; line-height: 1.08; margin-top: 22px; text-wrap: balance; }
.cap p { font-size: 16px; color: var(--ink-2); margin-top: 16px; max-width: 24em; line-height: 1.55; }
.cap.flag .row .n { color: var(--accent-hi); }
.cap.flag .row .n::after { background: var(--accent-hi); opacity: .5; }
.swap { transition: opacity .35s var(--ease), transform .5s var(--ease); }
.swap.out { opacity: 0; transform: translateY(8px); }
.cap-stats { display: none; grid-template-columns: 1fr 1fr; margin-top: 30px; border-top: 1px solid var(--line-2); max-width: 360px; }
.cap-stats div { padding: 16px 0 14px; border-bottom: 1px solid var(--line); }
.cap-stats div:nth-child(odd) { padding-right: 16px; }
.cap-stats div:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--line); }
.cap-stats b { display: block; font-size: 30px; font-weight: 500; letter-spacing: -.03em; line-height: 1.05; }
.cap-stats b small { font-size: 16px; font-weight: 500; letter-spacing: -.01em; color: var(--ink-2); margin-left: 3px; }
.cap-stats span { display: block; font-size: 12px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-top: 6px; }
.ledger { display: none; margin-top: 30px; border-top: 1px solid var(--line-2); max-width: 360px; }
.ledger div { display: grid; grid-template-columns: 1fr auto; align-items: baseline; padding: 12px 0; border-bottom: 1px solid var(--line); opacity: .28; transition: opacity .4s var(--ease); }
.ledger div.on { opacity: 1; }
.ledger dt { font-size: 15px; color: var(--ink-2); }
.ledger dd { font-size: 20px; font-weight: 500; letter-spacing: -.02em; }
.ledger dd small { font-size: 13px; color: var(--ink-2); margin-left: 4px; font-weight: 500; letter-spacing: 0; }
.cap.s2 .cap-stats { display: grid; }
.cap.s3 .ledger { display: block; }
.callout { position: absolute; left: 0; top: 0; width: 330px; background: rgba(var(--bg-rgb), .95); border: 1px solid rgba(var(--accent-rgb), .7); border-radius: 6px; padding: 16px 18px; opacity: 0; visibility: hidden; box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .8); }
.callout .k { display: flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-hi); }
.callout .k i { width: 8px; height: 8px; border-radius: 50%; background: var(--accent-hi); display: block; }
.callout h4 { font-size: 17px; font-weight: 500; letter-spacing: -.015em; line-height: 1.3; margin-top: 10px; }
.callout .src { margin-top: 14px; border-top: 1px solid var(--line); }
.callout .src div { display: grid; grid-template-columns: 26px 1fr auto; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.callout .sw { width: 26px; height: 26px; border-radius: 3px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); }
.callout .src b { display: block; font-size: 14px; font-weight: 500; }
.callout .src span { display: block; font-size: 12.5px; color: var(--ink-2); }
.callout .src em { font-style: normal; font-size: 12.5px; color: var(--ink-2); }
.callout p { font-size: 13px; color: var(--ink-2); margin-top: 12px; line-height: 1.45; }
.callout .chip { margin-top: 12px; }
/* the order list inside the stage */
.order { position: absolute; left: var(--gut); top: 50%; width: min(580px, 44vw); transform: translateY(-50%); opacity: 0; visibility: hidden; }
/* the order list at the end of the story: six material rows; the picked one lights its part in the 3D gable */
.mat-cols { display: flex; justify-content: space-between; gap: 10px; padding: 8px 18px; font-size: 10.5px; font-weight: 500; letter-spacing: .13em; text-transform: uppercase; color: var(--ink-3); background: var(--panel-2); border-bottom: 1px solid var(--line); }
.mat-row { position: relative; width: 100%; display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 12px; align-items: center; min-height: 46px; padding: 6px 18px; text-align: left; font-size: 13.5px; line-height: 1.35; color: var(--ink); border-bottom: 1px solid var(--line); cursor: pointer; transition: background-color .2s; }
.mat-row.ln { opacity: 0; transform: translateY(4px); transition: opacity .35s var(--ease), transform .45s var(--ease), background-color .2s; }
.mat-row.ln.in { opacity: 1; transform: none; }
.mat-row strong { font-weight: 500; }
.mat-row small { font-size: 12px; color: var(--ink-3); font-weight: 400; }
.mat-n small { margin-right: 8px; white-space: nowrap; }
.mat-n strong, .mat-o small { display: block; }
.mat-row em { font-style: normal; font-size: 12px; color: var(--warn); white-space: nowrap; }
.mat-n { min-width: 0; }
.mat-o { text-align: right; font-weight: 500; }
.mat-row:hover { background: var(--panel-2); }
.mat-row.on { background: rgba(var(--accent-rgb), .13); }
.mat-row.on::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--accent); }
.mat-row:focus-visible { outline: 2px solid var(--accent-hi); outline-offset: -3px; border-radius: 0; }
.mat-ft { display: flex; align-items: center; gap: 8px; padding: 10px 18px; font-size: 12.5px; color: var(--warn); border-bottom: 1px solid var(--line); }
.mat-ft i { width: 6px; height: 6px; border-radius: 50%; background: var(--warn); flex: none; }
.mat-why { padding: 12px 18px 14px; opacity: 0; transition: opacity .4s var(--ease); }
.mat-why.in { opacity: 1; }
.mat-why .mat-sel { display: block; font-size: 10.5px; }
.mat-t { display: block; margin-top: 4px; font-size: 14.5px; font-weight: 500; }
.mat-c { margin-top: 3px; font-size: 13px; color: var(--ink-2); max-width: 44em; min-height: 2.9em; }
.mat-proof { margin-top: 10px; padding: 10px 14px; border-radius: var(--radius); background: var(--panel-2); border: 1px solid var(--line); }
.mat-proof-t { display: block; font-size: 12.5px; font-weight: 500; }
.mat-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 8px; }
.mat-steps .label { display: block; font-size: 10px; letter-spacing: .1em; }
.mat-steps strong { display: block; margin-top: 4px; font-size: 13px; font-weight: 500; line-height: 1.3; }
.mat-steps small { display: block; margin-top: 2px; font-size: 11.5px; color: var(--ink-3); }
@media (max-height: 800px) { .mat-row { min-height: 42px; padding-top: 4px; padding-bottom: 4px; } .mat-steps small { display: none; } }
@media (max-height: 720px) { .mat-proof { display: none; } }
.rail { position: absolute; left: var(--gut); right: var(--gut); bottom: 26px; display: flex; align-items: center; gap: 28px; }
.rail ol { display: flex; gap: 26px; }
.rail li { font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); transition: color .35s; display: flex; gap: 8px; align-items: center; }
.rail li em { font-style: normal; }
.rail li.on { color: var(--ink); }
.rail li.on.fl { color: var(--accent-hi); }
.rail .bar { flex: 1; height: 1px; background: var(--line-2); position: relative; min-width: 40px; }
.rail .bar i { position: absolute; left: 0; top: 0; height: 1px; background: var(--ink); width: 0; }
.rail .hint { font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); white-space: nowrap; }
.topline { position: absolute; right: var(--gut); top: 92px; display: flex; gap: 28px; font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.topline a { transition: color .2s; }
.topline a:hover { color: var(--ink); }
.static .story { height: auto; }
.static .stage { position: relative; height: 100vh; height: 100svh; min-height: 720px; }
.static .rail, .static .topline .skip, .static .cap { display: none; }
.static-order { display: none; }
.static .static-order { display: block; padding: 40px 0 120px; background: var(--bg); }
.static .static-order .order { position: relative; left: auto; top: auto; transform: none; opacity: 1; visibility: visible; width: 100%; max-width: 760px; }
.static .static-order .order .ln, .static .static-order .order .ask { opacity: 1; transform: none; }
.nogl #gl { display: none; }
.nogl #fallback { display: block; }

/* home: the plain definition right after the story */
.define { padding: 128px 0 128px; }
.define p { font-size: clamp(24px, 2.6vw, 38px); font-weight: 500; letter-spacing: -.028em; line-height: 1.22; max-width: 26em; text-wrap: pretty; }
.define p span { color: var(--ink-3); }

/* home: takeoff against Modou, by trade */
.trades { border-top: 1px solid var(--line-2); }
.trades .tr { display: grid; grid-template-columns: 2.3fr 3fr 3.6fr 2.4fr; gap: 32px; padding: 26px 0 24px; border-bottom: 1px solid var(--line); align-items: start; }
.trades .th { padding: 14px 0 12px; }
.trades .th span { font-size: 11.5px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.trades h3 { font-size: 22px; font-weight: 500; letter-spacing: -.02em; line-height: 1.2; }
.trades h3 + .chip { margin-top: 12px; }
.trades .give { font-size: 15px; color: var(--ink-2); line-height: 1.5; }
.trades .out { display: flex; flex-wrap: wrap; gap: 6px; }
.trades .out span { height: 28px; display: inline-flex; align-items: center; padding: 0 10px; border: 1px solid var(--line-2); border-radius: 3px; font-size: 13.5px; color: var(--ink); }
.trades .cnt { font-size: 15px; font-weight: 500; color: var(--ink); letter-spacing: -.01em; line-height: 1.5; }
.trades .cnt i { font-style: normal; color: var(--ink-3); margin: 0 6px; }
.trades .cnt > span { white-space: nowrap; }
.trades .cnt small { display: block; font-size: 12.5px; font-weight: 400; color: var(--ink-3); margin-top: 4px; letter-spacing: 0; }
.trades .tr .m { display: none; }

/* home: two priorities */
.scope { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.scope-c { display: flex; flex-direction: column; min-width: 0; }
.top2 > *, .split > *, .steps > *, .cta-band > *, .news > *, .exports > *, .legal-wrap > * { min-width: 0; }
.scope-c .label { margin-bottom: 18px; }
.scope-c > h3 { font-size: clamp(26px, 2.3vw, 34px); font-weight: 500; letter-spacing: -.03em; line-height: 1.1; max-width: 14em; text-wrap: balance; }
.scope-c > p { color: var(--ink-2); margin-top: 14px; max-width: 30em; font-size: 16px; }
.scope-c .panel { margin-top: 32px; flex: 1; display: flex; flex-direction: column; }
.scope-c .panel .finding { margin-top: auto; }
.parts { display: grid; grid-template-columns: 1fr 1fr 1fr; }
.parts div { padding: 14px 18px; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); }
.parts div:nth-child(3n) { border-right: 0; }
.parts b { display: block; font-size: 22px; font-weight: 500; letter-spacing: -.02em; }
.parts span { display: block; font-size: 12.5px; color: var(--ink-3); margin-top: 2px; }
.open-l { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 14px 18px; }
.open-l .label { font-size: 10.5px; margin-right: 6px; }

/* home: workflow cards */
.wf-card { margin-top: 28px; }
.exports { margin-top: 64px; display: grid; grid-template-columns: 5fr 7fr; gap: 48px; align-items: start; }

/* ------------------------------------------------------------------ 404 */
.nf { min-height: 100vh; display: grid; align-content: center; padding: calc(var(--hd) + 60px) 0 80px; }

/* ------------------------------------------------------------------ responsive */
@media (prefers-reduced-motion: reduce) {
  .rv { opacity: 1; transform: none; transition: none; }
  .swap { transition: none; }
  .talk { transition: none; }
  html { scroll-behavior: auto; }
}
@media (max-width: 1180px) {
  .hd-nav { gap: 22px; }
  .hd-r .hd-link { display: none; }
}
@media (max-width: 1100px) {
  :root { --gut: 36px; }
  .hd-nav, .hd-r .lang, .hd-r .hd-sep { display: none; }
  .burger { display: block; }
  .top2, .split, .split.even, .cta-band, .legal-wrap, .news, .exports, .ph.split-ph .wrap { grid-template-columns: 1fr; gap: 40px; }
  .top2 .lede { justify-self: start; }
  .split .sticky, .legal-toc { position: static; }
  .legal-toc { display: none; }
  .steps, .steps.four, .steps.five { grid-template-columns: 1fr 1fr; gap: 40px 32px; }
  .scope { grid-template-columns: 1fr; gap: 72px; }
  .trades .tr { grid-template-columns: 1fr 1fr; gap: 16px 32px; }
  .trades .th { display: none; }
  .trades .tr .m { display: block; font-size: 10.5px; margin-bottom: 6px; }
  .ft-top { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  :root { --gut: 20px; --hd: 60px; --fs-lede: 17px; }
  body { font-size: 16px; }
  .hd-logo svg { height: 23px; }
  .hd-r { gap: 10px; }
  .hd-r .btn-sm { height: 36px; padding: 0 11px 0 13px; gap: 10px; font-size: 13.5px; }
  .sec { padding: 104px 0; }
  .sec.tight { padding: 80px 0; }
  .top2 { margin-bottom: 48px; }
  .steps, .steps.four, .steps.five { grid-template-columns: 1fr; gap: 40px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stats > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .rows dt { font-size: 18px; }
  .rows > div { grid-template-columns: 1fr; gap: 6px; }
  .ph { padding: calc(var(--hd) + 56px) 0 64px; }
  .ph .lede { font-size: 17.5px; }
  .photo { height: 78vh; min-height: 520px; }
  .photo img { object-position: 46% 40%; }
  .photo .wrap { padding-bottom: 40px; }
  .photo::after { background: linear-gradient(180deg, rgba(var(--bg-rgb), 0) 0%, rgba(var(--bg-rgb), 0) 40%, rgba(var(--bg-rgb), .72) 72%, rgba(var(--bg-rgb), .86) 100%); }
  .photo p { font-size: 16.5px; }
  .faq-i summary { font-size: 17.5px; padding: 20px 0; }
  .faq-a > div { padding-right: 0; font-size: 15.5px; }
  .qform { grid-template-columns: 1fr; }
  .news form { grid-template-columns: 1fr 1fr; }
  .news form .field:nth-child(3) { grid-column: 1 / -1; }
  .news form button { grid-column: 1 / -1; justify-content: space-between; }
  .cta-band { gap: 36px; }
  .cta-c { padding: 96px 0; }
  .ft-top { padding-top: 56px; padding-bottom: 40px; }
  .ft-cols { grid-template-columns: 1fr 1fr; row-gap: 32px; }
  .ft-tag { font-size: 19px; }
  .ft-base { flex-direction: column; }
  .tbl { font-size: 13.5px; }
  .tbl th, .tbl td { padding-left: 12px; padding-right: 12px; }
  .talk-top { height: 68px; }
  .talk-stage { align-items: start; padding-top: 8px; padding-bottom: 48px; }
  .talk-fields { grid-template-columns: 1fr; gap: 18px; margin-top: 28px; }
  .talk-q h2 { font-size: 32px; }
  .talk-opt { height: 40px; font-size: 14.5px; padding: 0 15px; }
  /* home story on a phone: copy on top, the gable underneath */
  .story { height: 820vh; }
  .scrim-left { background: linear-gradient(180deg, rgba(var(--bg-rgb), .95) 0%, rgba(var(--bg-rgb), .85) 36%, rgba(var(--bg-rgb), 0) 52%); }
  .col { left: var(--gut); right: var(--gut); width: auto; top: 84px; bottom: auto; display: block; }
  .hero-copy, .cap { top: 0; transform: none; }
  .hero-copy .label { margin-bottom: 14px; font-size: 11px; }
  .hero-copy h1 { font-size: 35px; letter-spacing: -.035em; }
  .hero-copy .sub { font-size: 15.5px; margin-top: 14px; line-height: 1.5; }
  .hero-copy .ctas { margin-top: 18px; gap: 8px; }
  .hero-copy .ctas .btn { height: 42px; padding: 0 12px 0 14px; gap: 12px; font-size: 14px; }
  .hero-copy .fine { font-size: 12.5px; margin-top: 10px; }
  .cap h2 { font-size: 25px; margin-top: 12px; }
  .cap p { font-size: 14.5px; margin-top: 8px; }
  .cap-stats { margin-top: 16px; max-width: none; }
  .cap-stats div { padding: 10px 0 9px; }
  .cap-stats b { font-size: 22px; }
  .cap-stats span { font-size: 10.5px; }
  .ledger { margin-top: 14px; max-width: none; }
  .cap.s3 .ledger { display: grid; grid-template-columns: 1fr 1fr; column-gap: 16px; }
  .ledger div { padding: 7px 0; }
  .ledger dt { font-size: 13px; }
  .ledger dd { font-size: 15px; }
  .callout { width: 260px; padding: 12px 14px; }
  .callout h4 { font-size: 15px; }
  .callout p { display: none; }
  .order { left: 12px; right: 12px; width: auto; top: auto; bottom: 62px; transform: none; }
  .order .panel-hd { padding: 11px 14px; }
  .order .panel-tag, .mat-why, .mat-o small, .mat-cols { display: none; }
  .mat-row { min-height: 40px; padding: 6px 14px; font-size: 13px; }
  .mat-row em { font-size: 11.5px; }
  .mat-ft { padding: 9px 14px; border-bottom: 0; }
  .rail { bottom: 18px; gap: 14px; }
  .rail ol { gap: 0; flex: 1; justify-content: space-between; }
  .rail li { font-size: 10.5px; letter-spacing: .1em; }
  .rail li em, .rail .bar, .rail .hint, .topline { display: none; }
  .static .stage { height: auto; min-height: 0; padding-top: 420px; padding-bottom: 40px; }
  .static .stage canvas, .static #fallback { position: relative; }
  .define { padding-top: 88px; padding-bottom: 88px; }
  .trades .tr { grid-template-columns: 1fr; gap: 12px; }
  .parts { grid-template-columns: 1fr 1fr; }
  .parts div:nth-child(3n) { border-right: 1px solid var(--line); }
  .parts div:nth-child(2n) { border-right: 0; }
  .parts b { font-size: 18px; }
  .finding { flex-wrap: wrap; }
  .parts div { padding: 12px 14px; }
  .sheet .tbl td, .sheet .tbl th { padding-left: 12px; padding-right: 12px; }
}
@media (max-width: 380px) {
  .hero-copy h1 { font-size: 32px; }
  .hd-r .btn-sm .ar { display: none; }
}

/* ------------------------------------------------------------------ cookie consent (assets/consent.js): one compact panel at the bottom edge */
.ck { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; padding: 0 20px 20px; pointer-events: none; animation: ck-in .5s var(--ease) both; }
.ck-in { pointer-events: auto; max-width: 860px; margin: 0 auto; display: flex; align-items: center; gap: 22px; padding: 16px 18px; background: var(--bg-2); border: 1px solid var(--line-2); border-radius: 10px; box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .7); }
.ck-tx { flex: 1; min-width: 0; }
.ck h2 { font-size: 14.5px; font-weight: 500; letter-spacing: -.01em; }
.ck p { margin-top: 3px; font-size: 13px; line-height: 1.5; color: var(--ink-2); }
.ck p a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-3); }
.ck-bt { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; flex: none; }
.ck-bt .btn { gap: 0; padding: 0 14px; }
.ck-no { height: 38px; padding: 0 10px; font-size: 14px; color: var(--ink-2); border-radius: 4px; transition: color .2s; }
.ck-no:hover { color: var(--ink); }
@keyframes ck-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .ck { animation: none; } }
@media (max-width: 760px) { .ck { padding: 0 10px 10px; } .ck-in { flex-direction: column; align-items: stretch; gap: 12px; padding: 14px; } .ck-bt .btn { flex: 1; justify-content: center; } }

/* Phones: nothing may widen the page, and small targets and labels get a floor. */
pre { max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
@media (max-width: 640px) {
  .hd-r .btn-sm { height: 40px; }
  .mat-why .mat-sel { font-size: 12px; }
  small.num { font-size: 12px; }
}
