/* CtrlZip, shared stylesheet for every page (FR / NL / EN).
   Tokens first, then base, components, sections. Mobile-first.
   Direction: product-page clarity. Big centred statements, white / light-gray / black bands,
   large rounded tiles, blue pill buttons, a frosted header and quiet reveals on scroll. */

/* Self-hosted fonts (SIL OFL, see fonts/LICENSE-*.txt). No request leaves the site. */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("fonts/inter-latin-wght-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/ibm-plex-mono-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/ibm-plex-mono-latin-700-normal.woff2") format("woff2"); }

:root {
  --ink: #1d1d1f;
  --ink-2: #424245;
  --muted: #6e6e73;          /* 5.0:1 on white, 4.6:1 on gray */
  --gray: #f5f5f7;
  --gray-2: #e8e8ed;
  --white: #ffffff;
  --black: #000000;
  --hairline: #d2d2d7;
  --blue: #0071e3;           /* buttons */
  --blue-hover: #0077ed;
  --link: #0066cc;           /* text links on light */
  --link-dark: #2997ff;      /* text links on black */
  --muted-dark: #a1a1a6;     /* on black */
  --hairline-dark: #424245;

  /* Accent palette. Each hue has three shades:
     -ink    text, icons and fills behind white text (>= 4.5:1 on white, #f5f5f7 and its own tint)
     -tint   soft tile background (body text on it uses --ink / --ink-2, not --muted)
     -bright text and icons on black (>= 6.9:1 on #000)
     Components read --tone / --tone-tint / --tone-bright, set by a .tone-<hue> class. */
  --blue-ink: #0066cc;   --blue-tint: #e8f2fd;   --blue-bright: #2997ff;
  --indigo-ink: #5e45c9; --indigo-tint: #efecfb; --indigo-bright: #a48cff;
  --pink-ink: #c1255f;   --pink-tint: #fceaf1;   --pink-bright: #ff6b9a;
  --orange-ink: #b24a00; --orange-tint: #fdf0e4; --orange-bright: #ff9f43;
  --green-ink: #1b7a3a;  --green-tint: #e7f5ec;  --green-bright: #30d158;
  --teal-ink: #077480;   --teal-tint: #e3f4f5;   --teal-bright: #40c8e0;
  --tone: var(--blue-ink); --tone-tint: var(--blue-tint); --tone-bright: var(--blue-bright);

  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Inter", "Helvetica Neue", "Segoe UI", Roboto, Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --step--2: 0.75rem;
  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: clamp(1.1875rem, 1.1rem + 0.4vw, 1.5rem);
  --step-2: clamp(1.5rem, 1.3rem + 0.8vw, 2rem);
  --step-3: clamp(1.75rem, 1.4rem + 1.5vw, 2.5rem);
  --step-4: clamp(2.25rem, 1.5rem + 3vw, 4rem);
  --step-5: clamp(2.75rem, 1.4rem + 5.6vw, 6rem);

  --gutter: 16px;
  --max: 1200px;
  --radius: 28px;
  --radius-sm: 18px;
  --header: 48px;
  --section: clamp(5rem, 3rem + 6vw, 10rem);
  --ease: cubic-bezier(.28, .11, .32, 1);
}

@media (min-width: 640px) { :root { --gutter: 32px; } }
@media (min-width: 1200px) { :root { --gutter: 40px; } }

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header) + 1.5rem); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
html.menu-open { overflow: hidden; }

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--step-0);
  line-height: 1.47;
  letter-spacing: -0.016em;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

img, svg { display: block; max-width: 100%; }

h1, h2, h3, h4, h5 { margin: 0; font-weight: 600; letter-spacing: -0.022em; line-height: 1.1; text-wrap: balance; }
h1 { font-size: var(--step-5); line-height: 1.05; }
h2 { font-size: var(--step-4); line-height: 1.0625; }
h3 { font-size: var(--step-1); line-height: 1.2; letter-spacing: -0.018em; }
p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; }

a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 0.18em; }

:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }

.skip-link {
  position: absolute; left: var(--gutter); top: -100px; z-index: 100;
  background: var(--ink); color: var(--white); padding: 0.6rem 1rem; border-radius: 980px;
}
.skip-link:focus { top: 0.5rem; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.eyebrow { font-size: var(--step-1); font-weight: 600; letter-spacing: -0.01em; color: var(--muted); margin-bottom: 0.6rem; }

/* ---------- Accent tones: one hue per section or item ---------- */
.tone-blue   { --tone: var(--blue-ink);   --tone-tint: var(--blue-tint);   --tone-bright: var(--blue-bright); }
.tone-indigo { --tone: var(--indigo-ink); --tone-tint: var(--indigo-tint); --tone-bright: var(--indigo-bright); }
.tone-pink   { --tone: var(--pink-ink);   --tone-tint: var(--pink-tint);   --tone-bright: var(--pink-bright); }
.tone-orange { --tone: var(--orange-ink); --tone-tint: var(--orange-tint); --tone-bright: var(--orange-bright); }
.tone-green  { --tone: var(--green-ink);  --tone-tint: var(--green-tint);  --tone-bright: var(--green-bright); }
.tone-teal   { --tone: var(--teal-ink);   --tone-tint: var(--teal-tint);   --tone-bright: var(--teal-bright); }
.section[class*="tone-"] .eyebrow { color: var(--tone); }

/* Stroke icons (24px grid) on a soft tinted chip */
.icon { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.icon-chip {
  display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 17px; flex: none;
  background: var(--tone-tint); color: var(--tone);
}
.icon-chip--sm { width: 44px; height: 44px; border-radius: 13px; }
.icon-chip--sm .icon { width: 22px; height: 22px; }

/* Gradient headline, only on black bands. Solid fallback colour first. */
.text-gradient { color: #f5f5f7; }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .text-gradient {
    background: linear-gradient(100deg, var(--blue-bright) 0%, var(--indigo-bright) 45%, var(--pink-bright) 100%);
    -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
    padding-bottom: 0.06em; /* keeps descenders inside the clip */
  }
}
@media (forced-colors: active) { .text-gradient { background: none; color: CanvasText; -webkit-text-fill-color: CanvasText; } }

/* ---------- Logo: rounded-square mark with an undo arrow, then the wordmark ---------- */
.logo { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--ink); text-decoration: none; min-height: 44px; }
.logo:hover { text-decoration: none; }
.logo-mark { width: 26px; height: 26px; flex: none; }
.logo-mark rect { fill: var(--ink); }
.logo-mark path { fill: none; stroke: var(--white); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.logo-word { font-size: 1.1875rem; font-weight: 600; letter-spacing: -0.03em; }
@media (prefers-reduced-motion: no-preference) {
  .logo-mark path { transition: transform .5s var(--ease); transform-origin: 16px 16px; }
  .logo:hover .logo-mark path { transform: rotate(-20deg); }
}

/* ---------- Buttons: pills ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  min-height: 48px; padding: 0.7rem 1.4rem;
  font: 400 var(--step-0)/1.2 var(--font); letter-spacing: -0.016em; text-align: center; text-decoration: none;
  border: 1px solid transparent; border-radius: 980px; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s var(--ease);
}
.btn:hover { text-decoration: none; }
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--blue); color: var(--white); }
.btn-primary:hover { background: var(--blue-hover); }
.btn-secondary { background: transparent; color: var(--blue); border-color: var(--blue); }
.btn-secondary:hover { background: var(--blue); color: var(--white); }
.section-dark .btn-secondary { color: var(--link-dark); border-color: var(--link-dark); }
.section-dark .btn-secondary:hover { background: var(--link-dark); color: var(--black); }
.btn-sm { min-height: 30px; padding: 0.3rem 0.9rem; font-size: 0.8125rem; position: relative; }
.btn-sm::after { content: ""; position: absolute; inset: -8px -4px; } /* 46px hit area */

/* ---------- Header: one slim frosted bar ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.8);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background-color .3s;
}
@supports (backdrop-filter: blur(10px)) or (-webkit-backdrop-filter: blur(10px)) {
  .site-header { -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); background: rgba(255, 255, 255, 0.72); }
}
.site-header.is-scrolled { border-bottom-color: rgba(0, 0, 0, 0.08); }
/* Home: black over the hero so bar and hero read as one surface; main.js switches to the light bar past the hero.
   The open mobile menu always uses the light bar (its sheet is white). */
.site-header, .logo, .menu-toggle, .nav-list a, .lang-switch > li > a, .lang-switch > li > span { transition: background-color .45s var(--ease), border-color .45s, color .45s var(--ease); }
.logo-mark rect, .logo-mark path { transition: fill .45s var(--ease), stroke .45s var(--ease), transform .5s var(--ease); }
:root:not(.menu-open) .site-header.is-dark { background: var(--black); border-bottom-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
:root:not(.menu-open) .is-dark .logo, :root:not(.menu-open) .is-dark .menu-toggle { color: #f5f5f7; }
:root:not(.menu-open) .is-dark .logo-mark rect { fill: #f5f5f7; }
:root:not(.menu-open) .is-dark .logo-mark path { stroke: var(--black); }
:root:not(.menu-open) .is-dark .lang-switch > li > a { color: #86868b; }
:root:not(.menu-open) .is-dark .lang-switch > li > a:hover, :root:not(.menu-open) .is-dark .lang-switch [aria-current="true"] { color: #f5f5f7; }
:root:not(.menu-open) .is-dark :focus-visible { outline-color: var(--link-dark); }
@media (min-width: 1000px) {
  .site-header.is-dark .nav-list a { color: rgba(255, 255, 255, 0.8); }
  .site-header.is-dark .nav-list a:hover { color: #fff; }
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: var(--header); }

.menu-toggle {
  display: inline-grid; place-items: center; width: 44px; height: 44px; margin-right: -10px;
  color: var(--ink); background: transparent; border: 0; padding: 0; cursor: pointer;
}
.menu-toggle-bars { width: 18px; height: 8px; position: relative; }
.menu-toggle-bars::before, .menu-toggle-bars::after {
  content: ""; position: absolute; left: 0; right: 0; height: 1.5px; border-radius: 1px; background: currentColor;
  transition: transform .3s var(--ease);
}
.menu-toggle-bars::before { top: 0; }
.menu-toggle-bars::after { bottom: 0; }
.menu-toggle[aria-expanded="true"] .menu-toggle-bars::before { transform: translateY(3.25px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle-bars::after { transform: translateY(-3.25px) rotate(-45deg); }

/* Mobile: the menu is a full-height white sheet with large links. */
.site-nav { display: none; }
.site-nav.is-open {
  position: fixed; inset: var(--header) 0 0 0; z-index: 49;
  display: flex; flex-direction: column; gap: 2rem;
  background: var(--white); padding: 1.5rem calc(var(--gutter) + 1rem) calc(2rem + env(safe-area-inset-bottom));
  overflow-y: auto;
}
.nav-list { list-style: none; display: flex; flex-direction: column; }
.nav-list a {
  display: flex; align-items: center; min-height: 52px;
  font-size: 1.75rem; font-weight: 600; letter-spacing: -0.025em; color: var(--ink); text-decoration: none;
}
.nav-list a:hover { color: var(--muted); }
@media (prefers-reduced-motion: no-preference) {
  .site-nav.is-open .nav-list li { animation: menu-in .5s var(--ease) both; }
  .site-nav.is-open .nav-list li:nth-child(2) { animation-delay: 30ms; }
  .site-nav.is-open .nav-list li:nth-child(3) { animation-delay: 60ms; }
  .site-nav.is-open .nav-list li:nth-child(4) { animation-delay: 90ms; }
  .site-nav.is-open .nav-list li:nth-child(5) { animation-delay: 120ms; }
  .site-nav.is-open .nav-list li:nth-child(6) { animation-delay: 150ms; }
}
@keyframes menu-in { from { opacity: 0; transform: translateY(-8px); } }
.site-nav .nav-cta { order: 3; min-height: 48px; font-size: var(--step-0); align-self: flex-start; padding-inline: 1.5rem; }
.site-nav .lang-switch { order: 2; }

.lang-switch { list-style: none; display: flex; gap: 0.1rem; }
.lang-switch > li > a, .lang-switch > li > span {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 44px; min-height: 44px; padding: 0 0.4rem;
  font-size: var(--step--1); letter-spacing: 0; color: var(--muted); text-decoration: none; border-radius: 8px;
}
.lang-switch > li > a:hover { color: var(--ink); }
.lang-switch [aria-current="true"] { color: var(--ink); font-weight: 600; }

@media (min-width: 1000px) {
  .menu-toggle { display: none; }
  .site-nav { display: flex; align-items: center; gap: 0.75rem; }
  .nav-list { flex-direction: row; gap: 0.25rem; }
  .nav-list a { font-size: 0.8125rem; font-weight: 400; letter-spacing: -0.01em; min-height: 44px; padding: 0 0.75rem; color: rgba(0, 0, 0, 0.8); }
  .nav-list a:hover { color: var(--ink); text-decoration: none; }
  .site-nav .lang-switch { order: 0; }
  .lang-switch > li > a, .lang-switch > li > span { min-width: 32px; font-size: 0.75rem; }
  .site-nav .nav-cta { order: 0; min-height: 30px; font-size: 0.8125rem; padding-inline: 0.9rem; align-self: center; }
}

/* ---------- Generic sections ---------- */
.section { padding-block: var(--section); }
.section-gray { background: var(--gray); }
.section-head { max-width: 50rem; margin: 0 auto clamp(2.5rem, 1.5rem + 3vw, 4.5rem); text-align: center; }
.section-head p:not(.eyebrow) { margin: 1.25rem auto 0; font-size: var(--step-1); color: var(--muted); line-height: 1.4; max-width: 40rem; }

.check-list { list-style: none; display: grid; gap: 0.55rem; }
.check-list li { position: relative; padding-left: 1.7rem; }
.check-list li::before {
  content: ""; position: absolute; left: 0.15rem; top: 0.52em; width: 0.75rem; height: 0.4rem;
  border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-30%) rotate(-45deg);
}
.service-note { font-size: var(--step--1); color: var(--muted); border-left: 2px solid var(--hairline); padding-left: 0.9rem; }

/* ---------- Photos: one treatment everywhere (large radius, no shadow) ---------- */
.photo { margin: 0; position: relative; overflow: hidden; border-radius: var(--radius); background: var(--gray); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo--todo { display: grid; place-items: center; border: 1.5px dashed var(--hairline); color: var(--muted); }
.photo--todo figcaption { display: grid; gap: 0.4rem; max-width: 24rem; padding: 1.5rem; text-align: center; font-size: var(--step--1); line-height: 1.45; }
.photo-file { font: 600 var(--step--1) var(--mono); color: var(--ink); overflow-wrap: anywhere; }
.photo-size { font: 500 var(--step--2) var(--mono); }

/* ---------- Hero: centred statement, then the wide film ---------- */
.hero-inner { text-align: center; display: grid; justify-items: center; }
.hero .eyebrow { font-size: var(--step-1); margin-bottom: 0.9rem; }
.hero-title { font-size: var(--step-5); font-weight: 600; letter-spacing: -0.03em; line-height: 1.03; max-width: 14ch; }
.h1-keys { display: flex; justify-content: center; align-items: center; gap: 0.12em; white-space: nowrap; margin-bottom: 0.18em; }
/* Ctrl and Z drawn as low-profile keyboard keys */
.h1-key {
  display: inline-grid; place-items: center; min-height: 1.3em;
  font: 500 0.5em/1 var(--font); letter-spacing: -0.01em;
  background: var(--white); color: var(--ink);
  border-radius: 0.24em; padding: 0.28em 0.5em;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.07), 0 0.07em 0 rgba(0, 0, 0, 0.1), 0 0.2em 0.5em rgba(0, 0, 0, 0.08);
  transition: transform .14s var(--ease), box-shadow .14s var(--ease);
}
.h1-key--z { min-width: 1.5em; color: var(--blue); font-weight: 600; }
.h1-plus { font-weight: 300; color: var(--muted); font-size: 0.45em; padding-inline: 0.08em; }
.h1-key.is-down { transform: translateY(0.05em); box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.07), 0 0.01em 0 rgba(0, 0, 0, 0.1), 0 0.05em 0.15em rgba(0, 0, 0, 0.06); }
.hero-lead { font-size: var(--step-1); line-height: 1.4; color: var(--muted); max-width: 38rem; margin: 1.5rem 0 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.9rem; }
.hero-media { margin-top: clamp(3rem, 2rem + 4vw, 5.5rem); }
.video-toggle {
  position: absolute; right: clamp(0.75rem, 2vw, 1.5rem); bottom: clamp(0.75rem, 2vw, 1.5rem);
  width: 44px; height: 44px; display: grid; place-items: center; cursor: pointer;
  color: var(--ink); background: rgba(232, 232, 237, 0.72); border: 0; border-radius: 50%;
  transition: background-color .2s;
}
@supports (backdrop-filter: blur(10px)) or (-webkit-backdrop-filter: blur(10px)) {
  .video-toggle { -webkit-backdrop-filter: blur(14px) saturate(180%); backdrop-filter: blur(14px) saturate(180%); }
}
.video-toggle:hover { background: rgba(255, 255, 255, 0.9); }
.video-toggle::before { /* pause: two bars */
  content: ""; box-sizing: border-box; width: 11px; height: 13px;
  border-left: 3.5px solid currentColor; border-right: 3.5px solid currentColor;
}
.video-toggle.is-paused::before { /* play: triangle */
  box-sizing: content-box; width: 0; height: 0; margin-left: 3px;
  border-style: solid; border-width: 7px 0 7px 11px; border-color: transparent transparent transparent currentColor;
}
@media (max-width: 719px) {
  .hero-actions { flex-direction: column; align-self: stretch; }
  .hero-photo { aspect-ratio: 4 / 3.6 !important; border-radius: var(--radius-sm); }
}
.hero-facts {
  list-style: none; display: grid; gap: 1rem; margin: clamp(2rem, 1.5rem + 2vw, 3.5rem) auto 0; max-width: 60rem;
  font-size: var(--step--1); color: var(--muted); text-align: center;
}
@media (min-width: 720px) {
  .hero-facts { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; }
  .hero-facts li { padding-inline: 1.5rem; }
  .hero-facts li + li { border-left: 1px solid var(--hairline); }
}

/* ---------- Hero animation ---------- */
/* Real captures of finished sites: a browser window whose page scrolls, and the phone version beside it.
   Everything is sized in container units of the stage, so the composition scales as one picture.
   Default state = the static frame (no JS, reduced motion, Save-Data). main.js animates transform and opacity only. */
.hero-anim { aspect-ratio: 2 / 1; background: var(--gray); }
.ha-stage { position: absolute; inset: 0; container-type: inline-size; overflow: hidden; }
.ha-browser, .ha-phone { position: absolute; will-change: transform; }
.ha-browser {
  --bar: 3.1cqw;
  left: 10.5cqw; top: 5cqw; width: 68cqw; height: 40cqw;
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--white); border-radius: 1.3cqw;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.06), 0 1.2cqw 3.6cqw rgba(0, 0, 0, 0.1), 0 0.2cqw 0.6cqw rgba(0, 0, 0, 0.05);
}
.ha-bar {
  flex: none; height: var(--bar); display: flex; align-items: center; justify-content: center; position: relative;
  background: #fbfbfd; border-bottom: 1px solid var(--gray-2);
}
.ha-dots { position: absolute; left: 1.2cqw; top: 50%; display: flex; gap: 0.55cqw; transform: translateY(-50%); }
.ha-dots i { width: 0.75cqw; height: 0.75cqw; border-radius: 50%; background: var(--hairline); }
.ha-url {
  min-width: 22cqw; padding: 0.35cqw 1.4cqw; border-radius: 980px; background: var(--gray);
  font: 500 max(9px, 0.95cqw)/1.2 var(--font); color: var(--muted); text-align: center; letter-spacing: 0;
}
.ha-view { position: relative; flex: 1; overflow: hidden; background: var(--white); }
.ha-view .ha-page, .ha-screen .ha-shot {
  position: absolute; left: 0; top: 0; width: 100%; height: auto; min-height: 100%; object-fit: cover; object-position: top;
  will-change: transform, opacity;
}
.ha-page + .ha-page, .ha-shot + .ha-shot { opacity: 0; }
.hero-anim .video-toggle[hidden] { display: none; } /* shown by main.js only when the animation runs */
.ha-phone {
  left: 73.5cqw; top: 12.2cqw; width: 16cqw; aspect-ratio: 16 / 33;
  padding: 0.75cqw; border-radius: 2.6cqw; background: var(--ink);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08) inset, 0 1.4cqw 3.6cqw rgba(0, 0, 0, 0.18), 0 0.2cqw 0.6cqw rgba(0, 0, 0, 0.08);
}
.ha-screen { position: relative; height: 100%; overflow: hidden; border-radius: 1.9cqw; background: var(--white); }
@media (max-width: 719px) {
  .ha-browser { --bar: 6cqw; left: 5cqw; top: 17cqw; width: 78cqw; height: calc(var(--bar) + 48.75cqw); border-radius: 2.6cqw; }
  .ha-dots { left: 2.4cqw; gap: 1.1cqw; }
  .ha-dots i { width: 1.5cqw; height: 1.5cqw; }
  .ha-url { min-width: 30cqw; padding: 0.7cqw 2.4cqw; font-size: 2.6cqw; }
  .ha-phone { left: 61cqw; top: 6.5cqw; width: 32cqw; padding: 1.3cqw; border-radius: 5cqw; }
  .ha-screen { border-radius: 3.8cqw; }
}

/* ---------- Work: two big gray tiles, copy on top, screens below ---------- */
.projects { list-style: none; display: grid; gap: 1rem; }
.project {
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--gray); border-radius: var(--radius);
}
/* Each concept tile is tinted with the hue of the site it shows; text stays ink / ink-2 for contrast. */
.project[class*="tone-"] { background: linear-gradient(180deg, var(--tone-tint) 0%, color-mix(in srgb, var(--tone-tint) 55%, #fff) 100%); }
.project[class*="tone-"] .project-meta { color: var(--tone); font-weight: 500; }
.project[class*="tone-"] .tags { color: var(--ink-2); }
.project-info { display: grid; justify-items: center; gap: 0.7rem; text-align: center; padding: clamp(2.5rem, 2rem + 2vw, 3.5rem) clamp(1.25rem, 3vw, 2.5rem) 0; max-width: 34rem; margin-inline: auto; }
.project-id h3 { font-size: var(--step-3); letter-spacing: -0.028em; line-height: 1.05; }
.project-meta { color: var(--muted); font-size: var(--step-0); margin-top: 0.4rem; }
.project-goal { margin: 0; color: var(--ink-2); }
.project-scope { display: grid; justify-items: center; gap: 0.25rem; }
.tags { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 0 0.5rem; font-size: var(--step--1); color: var(--muted); }
.tags li:not(:last-child)::after { content: "\00B7"; margin-left: 0.5rem; }
.project-link { display: inline-flex; align-items: center; min-height: 44px; }
.project-link::after { content: "\203A"; margin-left: 0.3em; font-size: 1.2em; line-height: 1; }
.project-link--todo { color: var(--muted); }
.project-link--todo::after { content: none; }
.project-plate {
  margin-top: auto; padding: clamp(2rem, 1.5rem + 2vw, 3rem) clamp(1rem, 4vw, 3rem) clamp(1.5rem, 1rem + 2vw, 3rem);
  display: grid; grid-template-columns: minmax(0, 100fr) minmax(0, 29fr); gap: clamp(0.6rem, 1.5vw, 1.25rem); align-items: end;
}
.project-plate .photo { border-radius: 10px; background: var(--white); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06), 0 12px 32px rgba(0, 0, 0, 0.12); }
.project-plate .shot-mobile { border-radius: 14px; }
.project-plate .photo--todo { box-shadow: none; }
.project-plate .photo--todo figcaption { padding: 0.75rem; }
.project-plate .shot-mobile figcaption > span:nth-child(2) { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .project-plate .photo { transition: transform .8s var(--ease); }
  .project:hover .shot-desktop { transform: translateY(-6px); }
  .project:hover .shot-mobile { transform: translateY(-10px); }
}
@media (min-width: 960px) { .projects { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; } }

/* ---------- Services: three white cards, each service opens in place ---------- */
.pillars { list-style: none; display: grid; gap: 1rem; }
.pillar { background: var(--white); border-radius: var(--radius); padding: clamp(1.75rem, 1.25rem + 2vw, 2.5rem); }
.pillar[class*="tone-"] { background: linear-gradient(180deg, var(--tone-tint) 0, var(--white) 14rem); }
.pillar .icon-chip .icon { width: 28px; height: 28px; }
.pillar .icon-chip { margin-bottom: 1.25rem; background: var(--white); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 4px 14px color-mix(in srgb, var(--tone) 14%, transparent); }
.pillar h3 { font-size: var(--step-3); letter-spacing: -0.028em; line-height: 1.05; }
.pillar .check-list li::before { color: var(--tone); }
.pillar .service summary::after { background: var(--tone-tint); color: var(--tone); }
.pillar .service summary:hover::after { background: color-mix(in srgb, var(--tone) 18%, var(--white)); }
.pillar .plan { background: var(--tone-tint); }
.pillar .plan dd { color: var(--ink-2); }
/* Kinds of websites: a grid of small cards under the pillars */
.site-types { margin-top: clamp(4rem, 3rem + 4vw, 6.5rem); }
.site-types-head { max-width: 44rem; margin: 0 auto clamp(2rem, 1.5rem + 2vw, 3rem); text-align: center; }
.site-types-head h3 { font-size: var(--step-3); letter-spacing: -0.028em; line-height: 1.08; }
.site-types-head p { margin-top: 1rem; font-size: var(--step-1); line-height: 1.4; color: var(--muted); }
.site-types-grid { list-style: none; display: grid; gap: 1rem; }
@media (min-width: 560px) { .site-types-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .site-types-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.site-type {
  display: grid; align-content: start; gap: 0.5rem; padding: 1.5rem; background: var(--white); border-radius: var(--radius-sm);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.site-type:hover { transform: translateY(-3px); box-shadow: 0 10px 30px color-mix(in srgb, var(--tone) 12%, transparent); }
.site-type .icon-chip { margin-bottom: 0.5rem; }
.site-type h4 { font-size: var(--step-0); font-weight: 600; letter-spacing: -0.016em; line-height: 1.3; }
.site-type p { font-size: var(--step--1); line-height: 1.5; color: var(--muted); }
@media (prefers-reduced-motion: reduce) { .site-type, .site-type:hover { transition: none; transform: none; } }
.pillar-lead { color: var(--muted); margin: 0.75rem 0 1.5rem; }
.pillar-services { list-style: none; border-top: 1px solid var(--hairline); }
.service { border-bottom: 1px solid var(--hairline); scroll-margin-top: calc(var(--header) + 1.5rem); }
.service:last-child { border-bottom: 0; }
.service summary {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  min-height: 60px; padding-block: 0.75rem; cursor: pointer; list-style: none;
}
.service summary::-webkit-details-marker { display: none; }
.service summary h4 { font-size: var(--step-0); font-weight: 600; letter-spacing: -0.016em; line-height: 1.3; }
/* The round "+" that turns into a cross when open */
.service summary::after, .faq-item summary::after {
  content: "+"; flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  font: 400 1.35rem/1 var(--font); padding-bottom: 2px;
  background: var(--gray-2); color: var(--ink);
  transition: transform .4s var(--ease), background-color .2s;
}
.service summary:hover::after, .faq-item summary:hover::after { background: var(--hairline); }
.service details[open] summary::after, .faq-item[open] summary::after { transform: rotate(45deg); }
.service-body { display: grid; gap: 0.9rem; padding: 0 0 1.5rem; font-size: 0.97rem; }
.service-intro { color: var(--muted); margin: 0; }
.service-inc-title { font-size: var(--step--1); font-weight: 600; letter-spacing: -0.01em; }
.service .service-note { font-size: 0.85rem; }
@media (prefers-reduced-motion: no-preference) {
  .service details[open] .service-body, .faq-item[open] .faq-answer { animation: open .45s var(--ease); }
}
@keyframes open { from { opacity: 0; transform: translateY(-6px); } }
@media (min-width: 960px) {
  .pillars { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; align-items: start; }
}

.plans { display: grid; gap: 0.5rem; margin: 0; }
.plan { background: var(--gray); border-radius: 12px; padding: 0.7rem 0.9rem; }
.plan dt { font-weight: 600; font-size: var(--step--1); }
.plan dd { margin: 0.15rem 0 0; font-size: 0.875rem; color: var(--muted); }
.plans-note { font-size: var(--step--1); color: var(--muted); margin: 0; }

/* ---------- Approach: portrait + statement ---------- */
.approach-grid { display: grid; gap: 2.5rem; }
.approach-photo { max-width: 32rem; }
.approach-title { font-size: var(--step-4); line-height: 1.0625; max-width: 14ch; margin-bottom: 1.5rem; }
.approach-lead { font-size: var(--step-1); line-height: 1.4; color: var(--ink-2); max-width: 36rem; }
.approach-points { list-style: none; display: grid; gap: 1.5rem; margin-top: 2.5rem; }
.approach-points li { border-top: 1px solid var(--hairline); padding-top: 1.1rem; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1rem; align-items: start; }
.approach-points h3 { margin-bottom: 0.35rem; }
.approach-points p { color: var(--muted); }
@media (min-width: 960px) {
  .approach-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 5rem; align-items: center; }
  .approach-photo { max-width: none; }
}
.regulated {
  margin-top: clamp(3.5rem, 2rem + 4vw, 6rem); display: grid; gap: 1.5rem;
  background: var(--gray); border-radius: var(--radius);
  padding: clamp(1.75rem, 1rem + 3vw, 4rem);
}
.regulated h3 { font-size: var(--step-3); letter-spacing: -0.028em; margin-bottom: 0.75rem; }
.regulated p { color: var(--muted); }
.regulated .service-note { margin-top: 1rem; }
/* The one deep colour tile: navy to indigo, white text (all text >= 6:1). */
.regulated {
  position: relative; overflow: hidden; isolation: isolate; color: var(--white);
  background: linear-gradient(135deg, #1c2463 0%, #2b2a7a 55%, #3b2d91 100%);
}
.regulated::before {
  content: ""; position: absolute; z-index: -1; inset: auto -10% -60% auto; width: 70%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(164, 140, 255, 0.35), transparent);
}
.regulated p { color: rgba(255, 255, 255, 0.78); }
.regulated .service-note { color: rgba(255, 255, 255, 0.78); border-left-color: rgba(255, 255, 255, 0.3); }
.regulated .check-list { gap: 0.8rem; }
.regulated .check-list li::before { color: #c9bfff; }
@media (min-width: 860px) { .regulated { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 4rem; align-items: center; } }

/* ---------- Process: receipt animation, then numbered cards ---------- */

/* ---------- Process receipt ---------- */
/* Adapted from the Figma "Riff · Pay → Receipt": a 1080×1350 composition drawn in units of --u, cropped to
   --cw × --ch around (540, --cy) and scaled to fit the card. The rest state (no JS, reduced motion, after two loops)
   is the final frame: proposal printed, button showing the done state. main.js adds .is-playing / .is-paused. */
.rc {
  --cw: 800; --ch: 900; --cy: 650;
  --rc-ink: #1b1a18; --rc-muted: #8a8378;
  --rc-run: 7s linear 0s 2 both;
  position: relative; overflow: hidden; container-type: size;
  aspect-ratio: 16 / 9; margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.5rem);
  background: #eae6de; border-radius: var(--radius);
}
@media (max-width: 719px) { .rc { --cw: 760; --ch: 920; --cy: 640; aspect-ratio: 4 / 5; } }
.rc-scene {
  --u: min(calc(100cqw / var(--cw)), calc(100cqh / var(--ch)));
  position: absolute; width: calc(1080 * var(--u)); height: calc(1350 * var(--u));
  left: calc(50% - 540 * var(--u)); top: calc(50% - var(--cy) * var(--u));
  font-family: "IBM Plex Mono", var(--mono); line-height: 1.3; letter-spacing: 0; color: var(--rc-ink);
}
.rc img { max-width: none; }
.rc-slot { position: absolute; left: 0; top: 0; width: 100%; height: calc(937 * var(--u)); overflow: hidden; }
.rc-receipt {
  position: absolute; left: calc(320 * var(--u)); top: calc(369 * var(--u)); width: calc(440 * var(--u));
  padding: calc(44 * var(--u)) calc(36 * var(--u)) calc(40 * var(--u));
  display: flex; flex-direction: column; align-items: center; gap: calc(24 * var(--u));
  rotate: -2.578deg; translate: 0 calc(-38 * var(--u));
}
.rc-receipt > * { position: relative; }
.rc-receipt > .rc-paper { position: absolute; left: 0; right: 0; top: calc(-7 * var(--u)); bottom: calc(-7 * var(--u)); }
.rc-paper img { position: absolute; left: -6.82%; top: -2.75%; width: 113.64%; height: 110.31%; }
.rc-head { display: flex; flex-direction: column; align-items: center; gap: calc(6 * var(--u)); white-space: nowrap; }
.rc-brand { font-size: calc(34 * var(--u)); font-weight: 700; letter-spacing: 0.22em; margin-right: -0.22em; }
.rc-sub { font-size: calc(15 * var(--u)); color: var(--rc-muted); letter-spacing: 0.14em; margin-right: -0.14em; }
.rc-meta, .rc-items li, .rc-terms { display: flex; justify-content: space-between; align-items: center; width: 100%; white-space: nowrap; }
.rc-meta { font-size: calc(16 * var(--u)); color: var(--rc-muted); }
.rc-div { display: block; width: 100%; height: 0; }
.rc-div img { position: absolute; left: 0; top: calc(-2 * var(--u)); width: 100%; height: calc(2 * var(--u)); }
.rc-items { list-style: none; display: flex; flex-direction: column; gap: calc(12 * var(--u)); width: 100%; font-size: calc(19 * var(--u)); }
.rc-tick { width: calc(15 * var(--u)); height: calc(8 * var(--u)); margin: 0 calc(4 * var(--u)) calc(5 * var(--u)) 0; border: solid var(--rc-ink); border-width: 0 0 calc(2.6 * var(--u)) calc(2.6 * var(--u)); rotate: -45deg; }
.rc-sum { display: flex; flex-direction: column; gap: calc(8 * var(--u)); width: 100%; }
.rc-decide { font-size: calc(24 * var(--u)); font-weight: 600; letter-spacing: 0.06em; }
.rc-terms { font-size: calc(15 * var(--u)); color: var(--rc-muted); }
.rc-ready { font-weight: 500; letter-spacing: 0.08em; }
.rc-code { display: flex; flex-direction: column; align-items: center; gap: calc(12 * var(--u)); }
.rc-code svg { width: calc(268.8 * var(--u)); height: calc(58 * var(--u)); max-width: none; fill: var(--rc-ink); }
.rc-code span { font-size: calc(14 * var(--u)); font-weight: 500; color: var(--rc-muted); letter-spacing: 0.14em; white-space: nowrap; }
.rc-btn {
  position: absolute; left: calc(260 * var(--u)); top: calc(925 * var(--u)); width: calc(560 * var(--u)); height: calc(128 * var(--u));
  overflow: hidden; border-radius: calc(64 * var(--u)); background: #141414; color: #fff;
  box-shadow: 0 calc(2 * var(--u)) calc(6 * var(--u)) rgba(26, 20, 13, 0.14), 0 calc(16 * var(--u)) calc(32 * var(--u)) rgba(26, 20, 13, 0.22);
  font-family: var(--font); font-weight: 600; letter-spacing: -0.01em; white-space: nowrap;
}
.rc-hover, .rc-progress { position: absolute; inset: 0; }
.rc-hover { background: #fff; opacity: 0; }
.rc-progress { background: var(--green-ink); transform-origin: 0 50%; }
.rc-label { position: absolute; inset: 0; display: grid; place-items: center; font-size: calc(36 * var(--u)); translate: 0 calc(-128 * var(--u)); }
.rc-done {
  position: absolute; left: 0; right: 0; top: calc(168 * var(--u)); height: calc(48 * var(--u));
  display: flex; align-items: center; justify-content: center; gap: calc(14 * var(--u));
  font-size: calc(36 * var(--u)); translate: 0 calc(-128 * var(--u));
}
.rc-check { position: relative; flex: none; width: calc(40 * var(--u)); height: calc(40 * var(--u)); }
.rc-check img { position: absolute; left: calc(5.17 * var(--u)); top: calc(9 * var(--u)); width: calc(29.67 * var(--u)); height: calc(21.83 * var(--u)); }
.rc-crumb { position: absolute; width: calc(32 * var(--u)); height: calc(32 * var(--u)); opacity: 0; }
.rc-crumb-1 { left: calc(432.9 * var(--u)); top: calc(931.1 * var(--u)); transform-origin: calc(4.5 * var(--u)) calc(2.6 * var(--u)); rotate: -20deg; }
.rc-crumb-2 { left: calc(545.65 * var(--u)); top: calc(932.2 * var(--u)); transform-origin: calc(3.5 * var(--u)) calc(2.25 * var(--u)); rotate: 35deg; }
.rc-crumb-3 { left: calc(668.6 * var(--u)); top: calc(928.8 * var(--u)); transform-origin: calc(4 * var(--u)) calc(2.25 * var(--u)); rotate: -60deg; }
.rc-cursor {
  position: absolute; left: calc(590.3 * var(--u)); top: calc(996.3 * var(--u)); width: calc(66.5 * var(--u)); height: calc(86.9 * var(--u));
  transform-origin: calc(34.1 * var(--u)) calc(39.3 * var(--u)); translate: calc(256 * var(--u)) calc(-245 * var(--u));
}
.rc.is-paused * { animation-play-state: paused !important; }

@media (prefers-reduced-motion: no-preference) {
  .rc.is-playing .rc-receipt { animation: rc-receipt-o var(--rc-run), rc-receipt-r var(--rc-run), rc-receipt-t var(--rc-run); }
  .rc.is-playing .rc-btn { animation: rc-btn var(--rc-run); }
  .rc.is-playing .rc-hover { animation: rc-hover var(--rc-run); }
  .rc.is-playing .rc-progress { animation: rc-progress-o var(--rc-run), rc-progress-w var(--rc-run); }
  .rc.is-playing .rc-label { animation: rc-label var(--rc-run); }
  .rc.is-playing .rc-done { animation: rc-done var(--rc-run); }
  .rc.is-playing .rc-check img { animation: rc-check var(--rc-run); }
  .rc.is-playing .rc-crumb { animation: rc-crumb-o var(--rc-run), var(--crumb-r) var(--rc-run), var(--crumb-t) var(--rc-run); }
  .rc-crumb-1 { --crumb-r: rc-crumb1-r; --crumb-t: rc-crumb1-t; }
  .rc-crumb-2 { --crumb-r: rc-crumb2-r; --crumb-t: rc-crumb2-t; }
  .rc-crumb-3 { --crumb-r: rc-crumb3-r; --crumb-t: rc-crumb3-t; }
  .rc.is-playing .rc-cursor { animation: rc-cursor-o var(--rc-run), rc-cursor-t var(--rc-run), rc-cursor-s var(--rc-run); }
}

/* Keyframes and easings from the Figma motion data (7 s timeline). */
@keyframes rc-receipt-o {
  0%, 10% { opacity: 1; animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1); }
  15.714% { opacity: 0; animation-timing-function: step-end; }
  20.714%, 100% { opacity: 1; }
}
@keyframes rc-receipt-r {
  0%, 9.286% { rotate: -2.578deg; animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1); }
  15.714% { rotate: -4.985deg; animation-timing-function: step-end; }
  20.714% { rotate: 0deg; }
  86.714% { rotate: 0deg; animation-timing-function: cubic-bezier(0.5, 0, 0.7, 1); }
  88.429% { rotate: -0.401deg; animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1); }
  90.429% { rotate: -3.38deg; animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1); }
  95%, 100% { rotate: -2.578deg; }
}
@keyframes rc-receipt-t {
  0%, 9.286% { translate: 0 calc(-38 * var(--u)); animation-timing-function: cubic-bezier(0.5, 0, 0.2, 1); }
  15.714% { translate: 0 calc(-160 * var(--u)); animation-timing-function: step-end; }
  20.714% { translate: 0 calc(581 * var(--u)); }
  57.143% { translate: 0 calc(581 * var(--u)); animation-timing-function: cubic-bezier(0.45, 0, 0.25, 1); }
  59.286% { translate: 0 calc(511.28 * var(--u)); }
  60.429% { translate: 0 calc(511.28 * var(--u)); animation-timing-function: cubic-bezier(0.45, 0, 0.25, 1); }
  62.571% { translate: 0 calc(418.32 * var(--u)); }
  63.714% { translate: 0 calc(418.32 * var(--u)); animation-timing-function: cubic-bezier(0.45, 0, 0.25, 1); }
  65.857% { translate: 0 calc(342.79 * var(--u)); }
  67% { translate: 0 calc(342.79 * var(--u)); animation-timing-function: cubic-bezier(0.45, 0, 0.25, 1); }
  69.143% { translate: 0 calc(255.64 * var(--u)); }
  70.286% { translate: 0 calc(255.64 * var(--u)); animation-timing-function: cubic-bezier(0.45, 0, 0.25, 1); }
  72.429% { translate: 0 calc(174.3 * var(--u)); }
  73.571% { translate: 0 calc(174.3 * var(--u)); animation-timing-function: cubic-bezier(0.45, 0, 0.25, 1); }
  75.714% { translate: 0 calc(81.34 * var(--u)); }
  76.857% { translate: 0 calc(81.34 * var(--u)); animation-timing-function: cubic-bezier(0.45, 0, 0.25, 1); }
  79% { translate: 0 0; }
  86.714% { translate: 0 0; animation-timing-function: cubic-bezier(0.5, 0, 0.7, 1); }
  88.429% { translate: 0 calc(-7 * var(--u)); animation-timing-function: cubic-bezier(0.2, 0.9, 0.3, 1); }
  90.429% { translate: 0 calc(-44 * var(--u)); animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1); }
  94.429%, 100% { translate: 0 calc(-38 * var(--u)); }
}
@keyframes rc-btn {
  0%, 39% { scale: 1; animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1); }
  40.143% { scale: 0.965; animation-timing-function: cubic-bezier(0.34, 1.32, 0.64, 1); }
  45%, 100% { scale: 1; }
}
@keyframes rc-hover {
  0%, 36.429% { opacity: 0; animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1); }
  39% { opacity: 0.07; }
  41% { opacity: 0.07; animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1); }
  43.571%, 100% { opacity: 0; }
}
@keyframes rc-progress-o {
  0%, 11% { opacity: 1; animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1); }
  15.714% { opacity: 0; }
  40.286% { opacity: 0; animation-timing-function: step-end; }
  40.429%, 100% { opacity: 1; }
}
@keyframes rc-progress-w { /* Figma animates width 1 → 560; scaleX from the left edge draws the same fill */
  0% { scale: 1 1; animation-timing-function: step-end; }
  20.714% { scale: 0.0018 1; }
  40.429% { scale: 0.0018 1; animation-timing-function: cubic-bezier(0.65, 0, 0.25, 1); }
  51.571%, 100% { scale: 1 1; }
}
@keyframes rc-label {
  0% { translate: 0 calc(-128 * var(--u)); }
  10.714% { translate: 0 calc(-128 * var(--u)); animation-timing-function: step-end; }
  10.857% { translate: 0 calc(128 * var(--u)); animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1); }
  15.714% { translate: 0 0; }
  40.714% { translate: 0 0; animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1); }
  45%, 100% { translate: 0 calc(-128 * var(--u)); }
}
@keyframes rc-done {
  0%, 10.714% { translate: 0 calc(-128 * var(--u)); animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1); }
  15.286% { translate: 0 calc(-256 * var(--u)); animation-timing-function: step-end; }
  20.714% { translate: 0 0; }
  51% { translate: 0 0; animation-timing-function: cubic-bezier(0.34, 1.32, 0.64, 1); }
  55.571%, 100% { translate: 0 calc(-128 * var(--u)); }
}
@keyframes rc-check { /* Figma trims the stroke; a left-to-right clip draws it the same way */
  0% { clip-path: inset(0 0 0 0); animation-timing-function: step-end; }
  20.714% { clip-path: inset(0 100% 0 0); }
  53% { clip-path: inset(0 100% 0 0); animation-timing-function: cubic-bezier(0.65, 0, 0.35, 1); }
  57.857%, 100% { clip-path: inset(0 0 0 0); }
}
@keyframes rc-crumb-o {
  0%, 90% { opacity: 0; animation-timing-function: step-end; }
  90.143%, 93.571% { opacity: 1; }
  97.857%, 100% { opacity: 0; }
}
@keyframes rc-crumb1-r { 0% { rotate: -160deg; animation-timing-function: step-end; } 20.714%, 90.143% { rotate: -20deg; } 97.857%, 100% { rotate: -160deg; } }
@keyframes rc-crumb2-r { 0% { rotate: 235deg; animation-timing-function: step-end; } 20.714%, 90.143% { rotate: 35deg; } 97.857%, 100% { rotate: 235deg; } }
@keyframes rc-crumb3-r { 0% { rotate: -150deg; animation-timing-function: step-end; } 20.714%, 90.143% { rotate: -60deg; } 97.857%, 100% { rotate: -150deg; } }
@keyframes rc-crumb1-t {
  0%, 20.712% { translate: calc(-18 * var(--u)) calc(86 * var(--u)); animation-timing-function: step-end; }
  20.714%, 90.143% { translate: 0 0; }
  91.429% { translate: calc(-10.755 * var(--u)) calc(1.203 * var(--u)); }
  92.857% { translate: calc(-15.893 * var(--u)) calc(5.527 * var(--u)); }
  94.286% { translate: calc(-17.487 * var(--u)) calc(13.545 * var(--u)); }
  95.714% { translate: calc(-17.92 * var(--u)) calc(26.667 * var(--u)); }
  97.143% { translate: calc(-17.998 * var(--u)) calc(49.963 * var(--u)); }
  97.857%, 100% { translate: calc(-18 * var(--u)) calc(86 * var(--u)); }
}
@keyframes rc-crumb2-t {
  0%, 20.712% { translate: calc(6 * var(--u)) calc(120 * var(--u)); animation-timing-function: step-end; }
  20.714%, 90.143% { translate: 0 0; }
  91.429% { translate: calc(3.585 * var(--u)) calc(1.678 * var(--u)); }
  92.857% { translate: calc(5.298 * var(--u)) calc(7.713 * var(--u)); }
  94.286% { translate: calc(5.829 * var(--u)) calc(18.9 * var(--u)); }
  95.714% { translate: calc(5.973 * var(--u)) calc(37.21 * var(--u)); }
  97.143% { translate: calc(5.999 * var(--u)) calc(69.715 * var(--u)); }
  97.857%, 100% { translate: calc(6 * var(--u)) calc(120 * var(--u)); }
}
@keyframes rc-crumb3-t {
  0%, 20.712% { translate: calc(22 * var(--u)) calc(98 * var(--u)); animation-timing-function: step-end; }
  20.714%, 90.143% { translate: 0 0; }
  91.429% { translate: calc(13.146 * var(--u)) calc(1.371 * var(--u)); }
  92.857% { translate: calc(19.425 * var(--u)) calc(6.299 * var(--u)); }
  94.286% { translate: calc(21.373 * var(--u)) calc(15.435 * var(--u)); }
  95.714% { translate: calc(21.902 * var(--u)) calc(30.388 * var(--u)); }
  97.143% { translate: calc(21.997 * var(--u)) calc(56.934 * var(--u)); }
  97.857%, 100% { translate: calc(22 * var(--u)) calc(98 * var(--u)); }
}
@keyframes rc-cursor-o {
  0%, 12.857% { opacity: 1; }
  17.857%, 28.571% { opacity: 0; }
  32.857%, 100% { opacity: 1; }
}
@keyframes rc-cursor-s {
  0%, 39% { scale: 1; animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1); }
  40.143% { scale: 0.88; animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1); }
  42.429% { scale: 1; }
  85.714% { scale: 1; animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1); }
  86.571% { scale: 0.88; }
  91% { scale: 0.88; animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1); }
  93%, 100% { scale: 1; }
}
@keyframes rc-cursor-t {
  0%, 6.429% { translate: calc(256 * var(--u)) calc(-245 * var(--u)); }
  7.143% { translate: calc(256.276 * var(--u)) calc(-241.059 * var(--u)); }
  8.571% { translate: calc(258.591 * var(--u)) calc(-214.815 * var(--u)); }
  10% { translate: calc(263.519 * var(--u)) calc(-170.668 * var(--u)); }
  11.429% { translate: calc(271.443 * var(--u)) calc(-112.206 * var(--u)); }
  12.857% { translate: calc(282.839 * var(--u)) calc(-40.542 * var(--u)); }
  14.286% { translate: calc(298.308 * var(--u)) calc(45.029 * var(--u)); }
  15.714% { translate: calc(318.597 * var(--u)) calc(147.675 * var(--u)); }
  17.143% { translate: calc(344.592 * var(--u)) calc(276.66 * var(--u)); }
  17.857%, 28.571% { translate: calc(360 * var(--u)) calc(360 * var(--u)); }
  30% { translate: calc(325.26 * var(--u)) calc(352.68 * var(--u)); }
  31.429% { translate: calc(204.173 * var(--u)) calc(320.904 * var(--u)); }
  32.857% { translate: calc(108.03 * var(--u)) calc(228.289 * var(--u)); }
  34.286% { translate: calc(54.438 * var(--u)) calc(98.304 * var(--u)); }
  35.714% { translate: calc(24.055 * var(--u)) calc(37.128 * var(--u)); }
  37.143% { translate: calc(7.692 * var(--u)) calc(10.796 * var(--u)); }
  38.571% { translate: calc(0.773 * var(--u)) calc(1.017 * var(--u)); }
  39.286%, 45% { translate: 0 0; }
  45.714% { translate: calc(0.831 * var(--u)) calc(-0.233 * var(--u)); }
  47.143% { translate: calc(8.943 * var(--u)) calc(-2.504 * var(--u)); }
  48.571% { translate: calc(31.297 * var(--u)) calc(-8.763 * var(--u)); }
  50% { translate: calc(83.089 * var(--u)) calc(-23.265 * var(--u)); }
  51.429% { translate: calc(166.911 * var(--u)) calc(-46.735 * var(--u)); }
  52.857% { translate: calc(218.703 * var(--u)) calc(-61.237 * var(--u)); }
  54.286% { translate: calc(241.057 * var(--u)) calc(-67.496 * var(--u)); }
  55.714% { translate: calc(249.169 * var(--u)) calc(-69.767 * var(--u)); }
  56.429%, 80.714% { translate: calc(250 * var(--u)) calc(-70 * var(--u)); }
  81.429% { translate: calc(245.657 * var(--u)) calc(-72.87 * var(--u)); }
  82.857% { translate: calc(180.192 * var(--u)) calc(-116.123 * var(--u)); }
  84.286% { translate: calc(48.18 * var(--u)) calc(-203.345 * var(--u)); }
  85.714%, 86.714% { translate: calc(26 * var(--u)) calc(-218 * var(--u)); }
  87.143% { translate: calc(23.593 * var(--u)) calc(-234.044 * var(--u)); }
  88.571% { translate: calc(20.388 * var(--u)) calc(-255.41 * var(--u)); }
  90% { translate: calc(20.015 * var(--u)) calc(-257.901 * var(--u)); }
  91%, 93.571% { translate: calc(20 * var(--u)) calc(-258 * var(--u)); }
  94.286% { translate: calc(24.576 * var(--u)) calc(-257.748 * var(--u)); }
  95.714% { translate: calc(93.547 * var(--u)) calc(-253.949 * var(--u)); }
  97.143% { translate: calc(232.631 * var(--u)) calc(-246.287 * var(--u)); }
  98.571%, 100% { translate: calc(256 * var(--u)) calc(-245 * var(--u)); }
}
.steps { list-style: none; display: grid; gap: 1rem; }
.step { background: var(--gray); border-radius: var(--radius-sm); padding: 1.6rem 1.5rem 1.75rem; display: grid; gap: 0.5rem; align-content: start; }
.section-gray .step { background: var(--white); }
.step-key {
  display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 50%; margin-bottom: 0.6rem;
  font-size: 1.0625rem; font-weight: 600; background: var(--tone, var(--ink)); color: var(--white);
}
.step .step-key { box-shadow: 0 0 0 5px var(--tone-tint); }
.step p { color: var(--muted); font-size: 0.97rem; }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; } }
@media (min-width: 1200px) { .steps--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
/* Cards rise one after another once the row scrolls into view (main.js adds .is-in). */
@media (prefers-reduced-motion: no-preference) {
  .js .steps .step { transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--i) * 80ms); }
  .js .steps:not(.is-in) .step { opacity: 0; transform: translateY(24px); }
}

/* ---------- Review (black band) ---------- */
.section-dark { background: var(--black); color: #f5f5f7; }
.section-dark a:not(.btn) { color: var(--link-dark); }
.review-grid { display: grid; gap: 3rem; }
.review-cta h2 { font-size: var(--step-4); line-height: 1.0625; }
.review-lead { margin: 1.25rem 0 2rem; font-size: var(--step-1); color: var(--muted-dark); line-height: 1.4; }
.review-note { margin-top: 1rem; font-size: var(--step--1); color: var(--muted-dark); }
.review-list { list-style: none; display: grid; }
.review-item { display: grid; grid-template-columns: auto 1fr; gap: 1rem; padding: 1.25rem 0; border-top: 1px solid var(--hairline-dark); }
.review-item:last-child { border-bottom: 1px solid var(--hairline-dark); }
.review-item h3 { font-size: var(--step-0); font-weight: 600; letter-spacing: -0.016em; }
.review-item p { color: var(--muted-dark); font-size: 0.97rem; margin-top: 0.2rem; }
.review-item--extra h3 { color: var(--muted-dark); }
.review-box { width: 1.75rem; height: 1.75rem; border-radius: 50%; display: grid; place-items: center; background: rgba(41, 151, 255, 0.16); background: color-mix(in srgb, var(--tone-bright) 18%, transparent); }
.review-box svg { width: 16px; height: 16px; fill: none; stroke: var(--tone-bright); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
/* Soft colour glow behind the black band */
.section-dark { position: relative; isolation: isolate; overflow: clip; } /* clip, not hidden: keeps the sticky CTA working */
.section-dark::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none; inset: -20% auto auto -15%; width: min(60rem, 90vw); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(94, 69, 201, 0.32), rgba(0, 102, 204, 0.12) 60%, transparent);
}
@media (min-width: 960px) {
  .review-grid { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 6rem; align-items: start; }
  .review-cta { position: sticky; top: calc(var(--header) + 3rem); }
}

/* ---------- Cursor trail ---------- */
/* Tiles that follow the pointer in the review band. Built by main.js only for a fine, hovering pointer without reduced motion. */
.trail { position: absolute; inset: 0; z-index: -1; overflow: clip; pointer-events: none; contain: strict; }
.trail-tile {
  position: absolute; left: 0; top: 0; width: 96px; height: 96px; margin: -48px 0 0 -48px; border-radius: 20px;
  display: grid; place-items: center; opacity: 0; will-change: transform, opacity;
  font: 800 56px/1 -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", system-ui, sans-serif; letter-spacing: -0.04em;
}
.trail-tile--wide { font-size: 38px; }
/* Dark halo keeps the copy readable when a light tile passes under it */
.section-dark.has-trail .review-cta > *, .section-dark.has-trail .review-item > div { filter: drop-shadow(0 0 6px rgba(0, 0, 0, 0.95)) drop-shadow(0 0 2px #000) drop-shadow(0 0 1px #000); }
@media (prefers-reduced-motion: reduce), (forced-colors: active) { .trail { display: none; } }

/* ---------- FAQ: one white card of rows ---------- */
.faq-grid { display: grid; gap: 0.5rem; }
.faq-grid .section-head { text-align: left; margin: 0 0 1.5rem; }
.faq-grid .section-head p:not(.eyebrow) { margin-left: 0; }
@media (min-width: 960px) {
  .faq-grid { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 5rem; align-items: start; }
  .faq-grid .section-head { position: sticky; top: calc(var(--header) + 3rem); }
}
.faq-list { background: var(--white); border-radius: var(--radius); padding: 0.5rem clamp(1.25rem, 1rem + 1.5vw, 2rem); }
.section:not(.section-gray) .faq-list { background: var(--gray); }
.faq-item + .faq-item { border-top: 1px solid var(--hairline); }
.faq-item summary {
  display: flex; justify-content: space-between; align-items: center; gap: 1.5rem;
  padding: 1.15rem 0; min-height: 64px; cursor: pointer; list-style: none;
  font-size: var(--step-0); font-weight: 600; letter-spacing: -0.016em; line-height: 1.35;
}
.faq-item summary::-webkit-details-marker { display: none; }
[class*="tone-"] .faq-item summary::after { background: var(--tone-tint); color: var(--tone); }
[class*="tone-"] .faq-item summary:hover::after { background: color-mix(in srgb, var(--tone) 18%, var(--white)); }
.faq-answer { padding: 0 3rem 1.4rem 0; color: var(--muted); max-width: 46rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: 3rem; }
.contact-grid h2 { font-size: var(--step-4); line-height: 1.0625; max-width: 14ch; }
.contact-lead { margin-top: 1.25rem; font-size: var(--step-1); line-height: 1.4; color: var(--muted); }
.contact-details { display: grid; gap: 1rem; margin-top: 2rem; }
.contact-details dt { font-size: var(--step--1); color: var(--muted); }
.contact-details dd { margin: 0.1rem 0 0; font-weight: 500; }
.contact-fallback { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--hairline); color: var(--muted); }

.form {
  background: var(--gray); border-radius: var(--radius);
  padding: clamp(1.25rem, 1rem + 2.5vw, 3rem); display: grid; gap: 1.25rem;
}
.form-row { display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 0.4rem; }
.field label, .field-label { font-weight: 600; font-size: 0.9375rem; }
.field .hint { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1.0625rem; color: var(--ink);
  background: var(--white); border: 1px solid #86868b; border-radius: 12px;
  padding: 0.8rem 1rem; min-height: 52px;
  transition: border-color .2s, box-shadow .2s;
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--ink-2); }
.field textarea { min-height: 9rem; resize: vertical; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.3);
}
.consent { display: grid; grid-template-columns: auto 1fr; gap: 0.75rem; align-items: start; font-size: var(--step--1); color: var(--muted); }
.consent input { width: 1.25rem; height: 1.25rem; margin: 0.15rem 0 0; accent-color: var(--blue); }
.form-note { font-size: var(--step--1); color: var(--muted); }
.form .btn { width: 100%; }
@media (min-width: 640px) { .form .btn { width: auto; } }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (min-width: 960px) {
  .contact-grid { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 6rem; }
}

/* ---------- Legal pages ---------- */
.legal { padding-block: clamp(3rem, 2rem + 4vw, 5.5rem) var(--section); }
.legal-body { max-width: 44rem; }
.legal-body h1 { font-size: var(--step-4); margin-bottom: 1rem; }
.legal-body .legal-updated { color: var(--muted); margin-bottom: 2.5rem; }
.legal-body h2 { font-size: var(--step-1); margin: 2.5rem 0 0.75rem; }
.legal-body ul { padding-left: 1.25rem; margin-bottom: 1em; }
.legal-body li { margin-bottom: 0.35rem; }
.legal-body dl { display: grid; grid-template-columns: minmax(0, 11rem) minmax(0, 1fr); gap: 0.5rem 1rem; margin: 0; }
.legal-body dt { color: var(--muted); }
.legal-body dd { margin: 0; }
@media (max-width: 520px) { .legal-body dl { grid-template-columns: 1fr; } .legal-body dd { margin-bottom: 0.6rem; } }

/* ---------- Orbit hero ---------- */
/* The first screen: two rings of abstract artwork cards turn around the hero text (Figma ".footer-motion").
   --u is the composition unit; radii and card sizes follow the Figma 1080px stage. It follows the shorter side
   so the rings frame the text on wide, tall and phone screens alike; the text sits on a dark oval to stay readable.
   Rotation runs only once main.js adds .is-live (never without JS or with reduced motion). */
.hero-orbit {
  --h: calc(100vh - var(--header)); --u: min(max(var(--h), 70vw), calc(var(--h) * 0.92), 86vw); --k: 1; --orbit-dur: 40s;
  position: relative; min-height: var(--h); display: grid; align-items: center; overflow: hidden; isolation: isolate;
  padding-block: clamp(4.5rem, 3rem + 6vh, 7rem); background: var(--black); color: #f5f5f7;
}
@supports (height: 100svh) { .hero-orbit { --h: calc(100svh - var(--header)); } }
.orbit-stage { position: absolute; inset: 0; pointer-events: none; }
.orbit-ring { position: absolute; left: 50%; top: 50%; width: 0; height: 0; }
.orbit-ring--2 { --r: calc(var(--u) * 0.575); --cw: calc(var(--u) * 0.083 * var(--k)); transform: rotate(-31deg); }
.orbit-ring--3 { --r: calc(var(--u) * 0.80);  --cw: calc(var(--u) * 0.114 * var(--k)); }
.orbit-card {
  position: absolute; left: 0; top: 0; max-width: none; height: auto;
  width: var(--cw); aspect-ratio: 2 / 3; object-fit: cover;
  border-radius: 8px; background: #1d1d1f;
  transform: translate(-50%, -50%) rotate(var(--a)) translateY(calc(var(--r) * -1));
}
.orbit-card--d { width: calc(var(--cw) * 1.5); aspect-ratio: 3 / 2; }
.orbit-vignette { position: absolute; inset: 0; background: radial-gradient(ellipse min(40rem, 62vw) min(22rem, 34vh) at 50% 50%, #000 52%, rgba(0, 0, 0, 0) 100%); }
.hero-inner { position: relative; z-index: 1; }
.hero-orbit .eyebrow { color: #a1a1a6; }
.hero-orbit .hero-title { color: #f5f5f7; }
.hero-orbit .h1-plus { color: #86868b; }
.hero-orbit .hero-lead { color: #a1a1a6; }
.hero-orbit .btn-secondary { color: var(--link-dark); border-color: var(--link-dark); }
.hero-orbit .btn-secondary:hover { background: var(--link-dark); color: var(--black); }
.hero-orbit .btn-primary { box-shadow: 0 10px 40px rgba(0, 113, 227, 0.32); }
.hero-orbit :focus-visible { outline-color: var(--link-dark); }
.hero-orbit .video-toggle { z-index: 2; }
.hero-orbit .video-toggle[hidden] { display: none; }
.hero-showcase .hero-media { margin-top: 0; padding-top: var(--section); }
@keyframes orbit-ccw { from { transform: rotate(0deg); } to { transform: rotate(-360deg); } }
@keyframes orbit-cw { from { transform: rotate(-31deg); } to { transform: rotate(329deg); } }
.hero-orbit.is-live .orbit-ring { animation: orbit-ccw var(--orbit-dur) linear infinite; will-change: transform; }
.hero-orbit.is-live .orbit-ring--2 { animation-name: orbit-cw; }
.hero-orbit.is-paused .orbit-ring, .hero-orbit.is-off .orbit-ring { animation-play-state: paused; }
@media (max-width: 719px) {
  .hero-orbit { --u: calc(var(--h) * 0.78); --k: 1.9; padding-block: 6rem; }
  .orbit-vignette { background: radial-gradient(ellipse 78% 38% at 50% 50%, #000 62%, rgba(0, 0, 0, 0) 100%); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-orbit .orbit-ring { animation: none !important; }
}

/* ---------- Footer: small, gray, quiet ---------- */
.site-footer { background: var(--gray); color: var(--muted); padding: 3rem 0 1.5rem; font-size: 0.8125rem; line-height: 1.5; letter-spacing: -0.01em; }
.footer-grid { display: grid; gap: 2rem; padding-bottom: 2rem; }
.footer-grid p, .footer-grid li { color: var(--muted); }
.footer-grid h2 { font-size: 0.8125rem; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 0.6rem; color: var(--ink); }
.footer-grid ul { list-style: none; display: grid; gap: 0.15rem; }
.footer-grid a { color: var(--ink-2); display: inline-flex; align-items: center; min-height: 32px; }
.footer-tagline { margin-top: 0.75rem; max-width: 22rem; }
.footer-bottom { padding-top: 1rem; border-top: 1px solid var(--hairline); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 0.5rem 1rem; }
.footer-bottom p { margin: 0; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }

/* ---------- Public funding (home teaser + funding page) ---------- */
.funding-grid { display: grid; gap: 2.5rem; }
.funding-intro h2 { font-size: var(--step-4); line-height: 1.0625; }
.funding-lead { margin: 1.25rem 0 2rem; font-size: var(--step-1); line-height: 1.4; color: var(--muted); max-width: 34rem; }
.funding-verified { margin-top: 1rem; font-size: var(--step--1); color: var(--muted); }
@media (min-width: 960px) { .funding-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 4rem; align-items: start; } }

.fund-cards { list-style: none; display: grid; gap: 1rem; }
@media (min-width: 640px) { .fund-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.fund-card a {
  display: grid; gap: 0.5rem; align-content: start; height: 100%; padding: 1.5rem;
  color: var(--ink); text-decoration: none; background: var(--gray); border-radius: var(--radius-sm);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.fund-card a:hover { transform: scale(1.015); box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08); }
.fund-region { font-size: var(--step--1); color: var(--muted); }
.fund-scheme { font-size: var(--step-1); font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; }
.fund-note { font-size: var(--step--1); color: var(--muted); line-height: 1.45; margin-top: 0.2rem; }
.fund-status {
  justify-self: start; display: inline-flex; align-items: center; gap: 0.45rem;
  font-size: var(--step--2); font-weight: 600; line-height: 1; letter-spacing: 0; padding: 0.4rem 0.7rem;
  border-radius: 980px; background: var(--white); color: var(--ink);
}
.fund-status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #1d9a4b; }
.fund-status--transition::before { background: #e3870e; }
.fund-status--tax::before { background: var(--muted); }
.fund-status--closed::before { background: #c4372c; }
.fp-region .fund-status { background: var(--gray); }
/* Each region card carries its own hue */
.fund-card[class*="tone-"] a { background: var(--tone-tint); }
.fund-card[class*="tone-"] .fund-region { color: var(--tone); font-weight: 600; }
.fund-card[class*="tone-"] .fund-note { color: var(--ink-2); }
.fund-card a::after { content: "\203A"; justify-self: end; margin-top: auto; font-size: 1.5rem; line-height: 1; color: var(--tone); transition: transform .3s var(--ease); }
.fund-card a:hover::after { transform: translateX(3px); }
.fp-region[class*="tone-"] .fund-region { color: var(--tone); font-weight: 600; }
.fp-region[class*="tone-"] .fp-role { background: var(--tone-tint); }
.fp-region[class*="tone-"] .fp-role p { color: var(--ink-2); }
.fp-region[class*="tone-"] .fp-cols .check-list li::before { color: var(--tone); }
.fp-region[class*="tone-"] .fp-mind li::before { background: var(--tone); }

.fp-hero { padding-block: clamp(2rem, 1rem + 3vw, 4rem) clamp(3rem, 2rem + 3vw, 5rem); }
.crumbs { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem; font-size: var(--step--1); color: var(--muted); margin-bottom: clamp(1.5rem, 1rem + 2vw, 2.5rem); }
.crumbs li { display: inline-flex; align-items: center; min-height: 28px; }
.crumbs li + li::before { content: "\203A"; margin-right: 0.5rem; color: var(--muted); }
.fp-title { font-size: var(--step-5); font-weight: 600; letter-spacing: -0.03em; line-height: 1.03; max-width: 12ch; }
.fp-lead { margin: 1.75rem 0 1.25rem; font-size: var(--step-1); line-height: 1.4; color: var(--muted); max-width: 40rem; }
.fp-verified { max-width: 40rem; margin-bottom: clamp(2rem, 1.5rem + 2vw, 3rem); padding-left: 0.9rem; border-left: 2px solid var(--hairline); font-size: var(--step--1); color: var(--muted); }
.fp-verified strong { color: var(--ink); font-weight: 600; }
@media (min-width: 1024px) { .fp-hero .fund-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.fp-region { padding-block: clamp(1.5rem, 1rem + 2vw, 2.5rem); scroll-margin-top: calc(var(--header) + 1rem); }
.fp-region-grid { display: grid; gap: 1.75rem; }
.fp-region-grid::before { content: ""; grid-column: 1 / -1; height: 1px; background: var(--hairline); margin-bottom: clamp(0.5rem, 0.25rem + 1vw, 1.5rem); }
.fp-region-head h2 { font-size: var(--step-3); line-height: 1.05; margin: 0.4rem 0 1rem; }
.fp-official { margin-top: 1.25rem; font-size: var(--step--1); color: var(--muted); }
.fp-summary { font-size: var(--step-1); line-height: 1.45; max-width: 44rem; }
.fp-region-body h3 { font-size: var(--step-0); letter-spacing: -0.016em; margin-bottom: 0.75rem; }
.fp-cols { display: grid; gap: 1.75rem; margin: 2rem 0; }
.fp-cols .check-list { color: var(--muted); }
.fp-mind { list-style: none; display: grid; gap: 0.55rem; margin-bottom: 2rem; color: var(--muted); }
.fp-mind li { position: relative; padding-left: 1.6rem; }
.fp-mind li::before { content: ""; position: absolute; left: 0.3rem; top: 0.6em; width: 6px; height: 6px; border-radius: 50%; background: var(--ink); }
.fp-role { background: var(--gray); border-radius: var(--radius-sm); padding: 1.25rem 1.5rem; }
.fp-role h3 { margin-bottom: 0.4rem; }
.fp-role p { color: var(--muted); }
@media (min-width: 720px) { .fp-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; } }
@media (min-width: 960px) {
  .fp-region-grid { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); column-gap: 4rem; }
  .fp-region-head { position: sticky; top: calc(var(--header) + 2rem); align-self: start; }
}
.fp-cta { text-align: center; }
.fp-cta h2 { font-size: var(--step-4); line-height: 1.0625; max-width: 16ch; margin-inline: auto; }
.fp-cta .review-lead { max-width: 38rem; margin-inline: auto; }

/* ---------- Reveal on scroll (main.js adds .is-in; content stays visible without JS) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .rv { transition: opacity 1s var(--ease), transform 1s var(--ease); }
  .js .rv:not(.is-in) { opacity: 0; transform: translateY(32px); }
  .js .pillars .rv:nth-child(2), .js .projects .rv:nth-child(2) { transition-delay: 100ms; }
  .js .pillars .rv:nth-child(3) { transition-delay: 200ms; }
}

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

@media print {
  .site-header, .menu-toggle, .form, .photo--todo { display: none !important; }
  body { background: #fff; }
  .js .rv { opacity: 1 !important; transform: none !important; }
}

/* ---------- Blog ---------- */
.blog-hero { padding-block: clamp(3rem, 2rem + 4vw, 5.5rem) clamp(1.5rem, 1rem + 2vw, 2.5rem); }
.blog-hero h1 { font-size: var(--step-4); letter-spacing: -0.03em; line-height: 1.05; max-width: 18ch; }
.blog-lead { font-size: var(--step-1); color: var(--muted); line-height: 1.45; max-width: 42rem; margin-top: 1.25rem; }
.blog-cats ul { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 2rem 0 0; padding: 0; }
.blog-cats a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 1.1rem; border-radius: 980px; background: var(--gray); color: var(--ink); font-size: var(--step--1); font-weight: 500; }
.blog-cats li[class*="tone-"] a { background: var(--tone-tint); color: var(--tone); }
.blog-cats a:hover { text-decoration: none; filter: brightness(0.97); }
.blog-cats a[aria-current="page"] { background: var(--ink); color: var(--white); }
.blog-list { padding-bottom: var(--section); }
.post-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(1rem, 0.75rem + 1vw, 1.5rem); grid-template-columns: repeat(auto-fill, minmax(min(100%, 20rem), 1fr)); }
.post-card article { position: relative; display: flex; flex-direction: column; height: 100%; background: var(--white); border: 1px solid var(--hairline); border-radius: var(--radius); padding: 1.5rem; transition: transform .2s ease, box-shadow .2s ease; }
.section-gray .post-card article { border-color: transparent; }
.post-card article:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(0,0,0,.08); }
.post-card-art { display: grid; place-items: center; height: 7.5rem; border-radius: var(--radius-sm); background: var(--tone-tint); color: var(--tone); margin-bottom: 1.25rem; }
.post-card-art .icon { width: 44px; height: 44px; }
.post-card-cat { font-size: var(--step--1); font-weight: 600; color: var(--tone); margin: 0 0 0.4rem; }
.post-card-title { font-size: var(--step-1); line-height: 1.25; letter-spacing: -0.01em; margin: 0 0 0.6rem; }
.post-card-title a { color: var(--ink); }
.post-card-title a::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.post-card-title a:focus-visible { outline: none; }
.post-card article:focus-within { outline: 3px solid var(--blue); outline-offset: 3px; }
.post-card-excerpt { color: var(--ink-2); font-size: var(--step--1); line-height: 1.5; margin: 0 0 1rem; }
.post-card-meta { margin-top: auto; font-size: var(--step--2); color: var(--muted); }
.blog-pager ul { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center; padding: 0; margin: 2.5rem 0 0; }
.blog-pager a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 1rem; border-radius: 980px; background: var(--gray); color: var(--ink); }
.blog-pager a[aria-current="page"] { background: var(--ink); color: var(--white); }
.blog-rss { margin-top: 2rem; font-size: var(--step--1); text-align: center; }
.blog-home-all { text-align: center; margin-top: 2.5rem; }

/* Article */
.post-col { max-width: 46rem; }
.post-head { padding-block: clamp(3rem, 2rem + 4vw, 5rem) clamp(1.5rem, 1rem + 2vw, 2.5rem); }
.post-kicker { margin: 0 0 0.75rem; font-weight: 600; }
.post-kicker a { color: var(--tone); }
.post-head h1 { font-size: var(--step-4); letter-spacing: -0.03em; line-height: 1.07; }
.post-lead { font-size: var(--step-1); line-height: 1.45; color: var(--ink-2); margin-top: 1.25rem; }
.post-meta { font-size: var(--step--1); color: var(--muted); margin-top: 1.25rem; }
.post-key { background: var(--tone-tint); border-radius: var(--radius); padding: clamp(1.25rem, 1rem + 1vw, 2rem); margin-bottom: 2rem; }
.post-key h2 { font-size: var(--step-0); color: var(--tone); margin: 0 0 0.75rem; }
.post-key ul { margin: 0; padding-left: 1.2rem; color: var(--ink); }
.post-key li + li { margin-top: 0.5rem; }
.post-toc { border: 1px solid var(--hairline); border-radius: var(--radius-sm); padding: 1.25rem 1.5rem; margin-bottom: 3rem; }
.post-toc h2 { font-size: var(--step--1); color: var(--muted); font-weight: 600; margin: 0 0 0.5rem; }
.post-toc ol { margin: 0; padding-left: 1.2rem; }
.post-toc li { padding-block: 0.3rem; }
.post-body { font-size: 1.125rem; line-height: 1.7; }
.post-body h2 { font-size: var(--step-2); letter-spacing: -0.02em; line-height: 1.2; margin: 3rem 0 1rem; scroll-margin-top: 80px; }
.post-body h3 { font-size: var(--step-1); margin: 2rem 0 0.6rem; }
.post-body p, .post-body ul, .post-body ol { margin: 0 0 1.15em; }
.post-body ul, .post-body ol { padding-left: 1.3rem; }
.post-body li + li { margin-top: 0.4rem; }
.post-check { list-style: none; padding-left: 0 !important; }
.post-check li { position: relative; padding-left: 2rem; }
.post-check li::before { content: ""; position: absolute; left: 0; top: 0.35em; width: 1.2rem; height: 1.2rem; border-radius: 6px; background: var(--green-tint, #e7f6ec); box-shadow: inset 0 0 0 1.5px var(--green-ink, #1a7f37); }
.post-check li::after { content: ""; position: absolute; left: 0.42rem; top: 0.52em; width: 0.35rem; height: 0.6rem; border: solid var(--green-ink, #1a7f37); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.post-steps { list-style: none; padding: 0 !important; display: grid; gap: 0.75rem; margin: 1.5rem 0 2rem !important; }
.post-steps li { display: grid; grid-template-columns: 2.5rem 1fr; gap: 1rem; background: var(--gray); border-radius: var(--radius-sm); padding: 1.25rem; margin: 0 !important; }
.post-step-key { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 12px; background: var(--tone-tint); color: var(--tone); font-weight: 700; }
.post-steps h3 { margin: 0.2rem 0 0.35rem; font-size: var(--step-0); }
.post-steps p { margin: 0; font-size: 1rem; line-height: 1.6; color: var(--ink-2); }
.post-note { border-radius: var(--radius-sm); padding: 1.25rem 1.5rem; margin: 1.75rem 0; background: var(--blue-tint); }
.post-note--warning { background: var(--orange-tint); }
.post-note p { margin: 0; font-size: 1rem; line-height: 1.6; }
.post-note .post-note-title { font-weight: 600; margin-bottom: 0.35rem; color: var(--blue-ink); }
.post-note--warning .post-note-title { color: var(--orange-ink); }
.post-table { overflow-x: auto; margin: 1.5rem 0 2rem; border: 1px solid var(--hairline); border-radius: var(--radius-sm); }
.post-table table { width: 100%; border-collapse: collapse; font-size: 0.975rem; line-height: 1.5; }
.post-table caption { text-align: left; padding: 1rem 1.25rem 0; color: var(--muted); font-size: var(--step--1); }
.post-table th, .post-table td { text-align: left; vertical-align: top; padding: 0.85rem 1.25rem; border-top: 1px solid var(--hairline); }
.post-table thead th { border-top: 0; font-size: var(--step--1); color: var(--muted); font-weight: 600; }
.post-faq { margin-top: 3.5rem; }
.post-faq h2, .post-sources h2 { font-size: var(--step-2); letter-spacing: -0.02em; margin-bottom: 1rem; }
.post-faq .faq-list { background: var(--gray); }
.post-sources { margin-top: 3rem; font-size: var(--step--1); }
.post-sources ol { padding-left: 1.3rem; }
.post-sources li + li { margin-top: 0.35rem; }
.post-checked { color: var(--muted); margin-top: 1rem; }
.post-author { margin: 3rem 0 var(--section); padding: 1.5rem; border-radius: var(--radius); background: var(--gray); }
.post-author p { margin: 0; }
.post-author-name { font-weight: 600; }
.post-author-role { color: var(--ink-2); font-size: var(--step--1); margin-bottom: 0.75rem !important; }
.post-cta { background: #000; color: var(--white); text-align: center; padding-block: clamp(4rem, 3rem + 4vw, 7rem); }
.post-cta h2 { font-size: var(--step-3); letter-spacing: -0.02em; max-width: 24ch; margin: 0 auto 1rem; }
.post-cta p { color: var(--muted-dark); max-width: 38rem; margin: 0 auto 1.75rem; }
.post-related { padding-block: var(--section); background: var(--gray); }
.post-related h2 { font-size: var(--step-3); text-align: center; margin-bottom: 2.5rem; }
.post-grid--3 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 18rem), 1fr)); }
@media (prefers-reduced-motion: reduce) { .post-card article { transition: none; } .post-card article:hover { transform: none; } }
