/* Supernaut website styles.
   Design tokens first (change the brand here), then layout, then components.
   No external requests: fonts are self-hosted, nothing is inline in the HTML (the CSP forbids it). */

/* ---------- Fonts ---------- */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 100 900; font-display: swap; src: url('/assets/fonts/inter-latin-wght-normal.woff2') format('woff2-variations'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 100 900; font-display: swap; src: url('/assets/fonts/inter-latin-ext-wght-normal.woff2') format('woff2-variations'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Bricolage Grotesque'; font-style: normal; font-weight: 200 800; font-display: swap; src: url('/assets/fonts/bricolage-grotesque-latin-wght-normal.woff2') format('woff2-variations'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Bricolage Grotesque'; font-style: normal; font-weight: 200 800; font-display: swap; src: url('/assets/fonts/bricolage-grotesque-latin-ext-wght-normal.woff2') format('woff2-variations'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

/* ---------- Design tokens ---------- */
:root {
  /* Colour: ink (dark) */
  --ink-950: #07090d;
  --ink-900: #0b0e14;
  --ink-800: #121722;
  --ink-700: #1b2230;
  --ink-600: #2a3345;
  /* Colour: text on dark */
  --fog-100: #e9edf5;
  --fog-300: #b4bdd0;
  /* Colour: paper (light, editorial) */
  --paper: #f6f3ee;
  --paper-2: #ece7dd;
  --paper-3: #ddd5c6;
  --text: #14171f;
  --text-2: #4a5160;
  /* Colour: accents */
  --ember: #ff6a2b;
  --ember-ink: #b43d0a; /* ember, darkened for text on paper */
  --signal: #7aa2ff;
  --signal-ink: #2447b8; /* signal, darkened for text on paper */

  /* Type */
  --font-display: 'Bricolage Grotesque', 'Avenir Next', 'Helvetica Neue', Arial, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --fs-body: 1.0625rem;
  --fs-lead: clamp(1.125rem, 0.6vw + 1rem, 1.35rem);
  --fs-h1: clamp(2.5rem, 5.2vw + 1rem, 5.25rem);
  --fs-h2: clamp(1.75rem, 2.4vw + 1rem, 2.9rem);
  --fs-h3: clamp(1.2rem, 0.7vw + 1rem, 1.5rem);
  /* Also limited by screen height, so the offer and the main action sit within the first screen on laptops. */
  --fs-hero: clamp(3.4rem, min(11vw, 13.5vh), 9rem);

  /* Space (4px rhythm, in rem) */
  --s-1: 0.25rem; --s-2: 0.5rem; --s-3: 0.75rem; --s-4: 1rem; --s-5: 1.5rem; --s-6: 2rem; --s-7: 3rem; --s-8: 4.5rem; --s-9: 7rem;
  --gutter: clamp(1rem, 4vw, 2rem);
  --max: 75rem;
  --section-y: clamp(3.5rem, 8vw, 7rem);

  /* Shape and depth */
  --r-1: 0.5rem; --r-2: 0.9rem; --r-3: 1.4rem; --r-pill: 999px;
  --shadow-1: 0 1px 2px rgba(7, 9, 13, 0.08), 0 6px 18px rgba(7, 9, 13, 0.06);
  --shadow-2: 0 2px 4px rgba(7, 9, 13, 0.1), 0 18px 40px rgba(7, 9, 13, 0.14);

  /* Motion */
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --t-fast: 140ms;
  --t-med: 320ms;

  --header-h: 4.25rem;
}

/* Section themes. Components read these, so any component works on any background. */
.section--dark, .section--ink {
  --bg: var(--ink-900); --fg: var(--fog-100); --muted: var(--fog-300); --line: rgba(233, 237, 245, 0.16);
  --card: var(--ink-800); --accent: var(--ember); --focus: var(--ember); --chip-bg: #232b3b; --chip-fg: #cdd5e4;
}
.section--ink { --bg: var(--ink-950); }
.section--paper {
  --bg: var(--paper); --fg: var(--text); --muted: var(--text-2); --line: rgba(20, 23, 31, 0.14);
  --card: #fff; --accent: var(--ember-ink); --focus: var(--signal-ink); --chip-bg: #e3ded3; --chip-fg: #3b4150;
}
.section--paper-2 {
  --bg: var(--paper-2); --fg: var(--text); --muted: var(--text-2); --line: rgba(20, 23, 31, 0.16);
  --card: var(--paper); --accent: var(--ember-ink); --focus: var(--signal-ink); --chip-bg: #d9d2c3; --chip-fg: #353a48;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 1rem); }
html.menu-open { overflow: hidden; }
body { margin: 0; background: var(--ink-950); color: var(--fog-100); font-family: var(--font-body); font-size: var(--fs-body); line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
h1, h2, h3, h4, h5, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
main:focus { outline: none; }
:focus-visible { outline: 3px solid var(--focus, var(--ember)); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--ember); color: var(--ink-900); }
p, li, dd { text-wrap: pretty; }
h1, h2, h3, h4 { text-wrap: balance; }

.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.wrap.narrow { width: min(100% - 2 * var(--gutter), 46rem); margin-left: max(var(--gutter), calc((100vw - var(--max)) / 2)); margin-right: auto; }
.narrow > .h2 + .lead { margin-top: var(--s-4); }
.skip { position: absolute; left: var(--s-4); top: -4rem; z-index: 100; background: var(--ember); color: var(--ink-900); padding: var(--s-3) var(--s-4); border-radius: var(--r-1); font-weight: 600; transition: top var(--t-fast); }
.skip:focus { top: var(--s-4); }

/* ---------- Typography ---------- */
.display, .hero-title, .h2, .h3, .h4, .h5, .brand-word, .founder-name, .step-num, .area-num { font-family: var(--font-display); }
.display { font-size: var(--fs-h1); line-height: 1.02; letter-spacing: -0.03em; font-weight: 700; }
.display--small { font-size: var(--fs-h2); }
.h2 { font-size: var(--fs-h2); line-height: 1.08; letter-spacing: -0.025em; font-weight: 700; }
.h3 { font-size: var(--fs-h3); line-height: 1.2; letter-spacing: -0.015em; font-weight: 700; }
.h4 { font-size: 1.15rem; line-height: 1.25; font-weight: 600; letter-spacing: -0.01em; }
.h5 { font-family: var(--font-body); font-size: 0.8rem; font-weight: 650; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-top: var(--s-5); }
.lead { font-size: var(--fs-lead); line-height: 1.55; color: var(--muted); max-width: 44rem; }
.eyebrow { font-size: 0.8rem; font-weight: 650; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); margin-bottom: var(--s-4); }
.note { margin-top: var(--s-6); color: var(--muted); }
.meta-cat { font-size: 0.82rem; color: var(--muted); }

/* ---------- Sections ---------- */
.section { background: var(--bg); color: var(--fg); padding-block: var(--section-y); position: relative; }
.section-head { margin-bottom: var(--s-7); display: grid; gap: var(--s-4); max-width: 46rem; }
.page-hero { padding-top: clamp(3rem, 7vw, 6rem); padding-bottom: clamp(3rem, 7vw, 5.5rem); }
.page-hero .display { max-width: 16ch; margin-bottom: var(--s-5); }
.page-hero .lead { max-width: 40rem; }

/* ---------- Header and navigation ---------- */
.preview-banner p { margin: 0; }
.preview-banner { padding: var(--s-2) var(--gutter); background: var(--ember); color: var(--ink-900); font-size: 0.85rem; font-weight: 600; text-align: center; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(11, 14, 20, 0.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid rgba(233, 237, 245, 0.1); --focus: var(--ember); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: var(--s-5); min-height: var(--header-h); flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 0.6rem; text-decoration: none; color: var(--fog-100); }
.symbol { width: 2rem; height: 2rem; color: var(--fog-100); }
.brand-word { font-weight: 700; letter-spacing: 0.2em; font-size: 1.05rem; }
.nav-list { display: flex; gap: var(--s-1); }
.nav-link { display: inline-block; padding: 0.55rem 0.8rem; border-radius: var(--r-pill); text-decoration: none; color: var(--fog-300); font-weight: 500; font-size: 0.95rem; transition: color var(--t-fast), background var(--t-fast); }
.nav-link:hover { color: var(--fog-100); background: rgba(233, 237, 245, 0.08); }
.nav-link[aria-current='page'] { color: var(--fog-100); background: rgba(233, 237, 245, 0.12); }
.site-nav { display: flex; align-items: center; gap: var(--s-4); }
.lang-link { display: inline-block; padding: 0.4rem 0.8rem; border: 1px solid rgba(233, 237, 245, 0.28); border-radius: var(--r-pill); text-decoration: none; font-size: 0.88rem; font-weight: 600; color: var(--fog-100); transition: border-color var(--t-fast), background var(--t-fast); }
.lang-link:hover { border-color: var(--fog-100); background: rgba(233, 237, 245, 0.08); }
.menu-btn { display: none; align-items: center; gap: 0.6rem; background: transparent; border: 1px solid rgba(233, 237, 245, 0.28); color: var(--fog-100); border-radius: var(--r-pill); padding: 0.5rem 0.95rem; font-weight: 600; cursor: pointer; min-height: 2.75rem; }
.menu-bars, .menu-bars::before { display: block; width: 1.1rem; height: 2px; background: currentColor; border-radius: 2px; position: relative; transition: transform var(--t-fast); }
.menu-bars::before { content: ''; position: absolute; top: 6px; left: 0; }
.menu-bars { margin-top: -6px; }
[data-open] .menu-bars { transform: translateY(3px) rotate(45deg); }
[data-open] .menu-bars::before { top: 0; transform: rotate(-90deg); }

@media (max-width: 60.99rem) {
  .js .menu-btn { display: inline-flex; }
  .js .site-nav { position: absolute; top: 100%; left: 0; right: 0; height: calc(100dvh - var(--header-h)); flex-direction: column; align-items: stretch; justify-content: flex-start; gap: var(--s-6); background: var(--ink-900); padding: var(--s-6) var(--gutter); overflow-y: auto; visibility: hidden; opacity: 0; transform: translateY(-0.5rem); transition: opacity var(--t-med) var(--ease), transform var(--t-med) var(--ease), visibility 0s linear var(--t-med); }
  .js [data-open] .site-nav { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  .js .nav-list { flex-direction: column; gap: var(--s-2); }
  .js .nav-link { font-family: var(--font-display); font-size: min(1.9rem, 8vw); overflow-wrap: anywhere; padding: 0.5rem 0; color: var(--fog-100); letter-spacing: -0.02em; font-weight: 650; background: none; }
  .js .nav-link[aria-current='page'] { color: var(--ember); background: none; }
  .js .lang-link { align-self: flex-start; font-size: 1rem; padding: 0.65rem 1.1rem; }
  .no-js .site-nav { width: 100%; flex-wrap: wrap; padding-bottom: var(--s-3); }
  .no-js .nav-list { flex-wrap: wrap; }
}
@media (max-width: 60.99rem) { .preview-banner { font-size: 0.8rem; } }

/* ---------- Buttons and links ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem; min-height: 3rem; padding: 0.75rem 1.4rem; border-radius: var(--r-pill); border: 1.5px solid transparent; font-weight: 650; font-size: 1rem; text-decoration: none; cursor: pointer; transition: transform var(--t-fast) var(--ease), background var(--t-fast), border-color var(--t-fast), color var(--t-fast); }
.btn-icon { width: 1.15rem; height: 1.15rem; transition: transform var(--t-fast) var(--ease); }
.btn:hover .btn-icon { transform: translateX(3px); }
.btn-primary { background: var(--ember); color: var(--ink-900); }
.btn-primary:hover { background: #ff7f47; }
.btn-secondary { border-color: rgba(233, 237, 245, 0.4); color: var(--fog-100); }
.btn-secondary:hover { border-color: var(--fog-100); background: rgba(233, 237, 245, 0.08); }
.btn-ghost { border-color: transparent; color: var(--fog-100); text-decoration: underline; text-underline-offset: 4px; }
.btn-ghost:hover { background: rgba(233, 237, 245, 0.08); }
.text-link { display: inline-flex; align-items: center; gap: 0.4rem; font-weight: 650; color: var(--accent); text-decoration: none; }
.text-link span { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 0.25em; }
.text-link .icon { width: 1.1rem; height: 1.1rem; transition: transform var(--t-fast) var(--ease); }
.text-link:hover .icon { transform: translateX(3px); }
.icon { width: 1.5rem; height: 1.5rem; flex: none; }

/* ---------- Hero (home) ---------- */
.hero { overflow: hidden; min-height: min(70vh, 42rem); display: flex; align-items: center; padding-top: clamp(1.75rem, 4vh, 4rem); padding-bottom: clamp(2.5rem, 5vh, 5rem); }
.hero-visual { position: absolute; inset: 0 0 0 auto; width: min(58%, 52rem); pointer-events: none; opacity: 0.95; }
.hero-visual canvas { width: 100%; height: 100%; }
.hero-inner { position: relative; z-index: 1; }
.hero-title { display: flex; flex-direction: column; font-size: var(--fs-hero); line-height: 0.92; letter-spacing: -0.03em; font-weight: 800; margin-bottom: var(--s-6); }
.hero-title span { display: block; }
.hero-title .accent { color: var(--ember); }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--s-3); }
.no-js .hero-visual { display: none; }

@media (max-width: 60.99rem) {
  .hero-visual { width: 100%; opacity: 0.45; }
  .hero-title { font-size: clamp(3.2rem, 17vw, 6rem); }
}

/* ---------- Grids and cards ---------- */
.grid { display: grid; gap: var(--s-5); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 70rem) { .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 60rem) { .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 40rem) { .grid-2, .grid-3, .grid-4 { grid-template-columns: minmax(0, 1fr); } }

.card { background: var(--card); color: var(--fg); border: 1px solid var(--line); border-radius: var(--r-3); padding: var(--s-6); display: grid; gap: var(--s-3); align-content: start; min-width: 0; }
.card p { color: var(--muted); }
.card-dark { --card: var(--ink-800); }
.card-cover { padding: 0; overflow: hidden; transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease); }
.card-cover:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); }
.card-body { padding: var(--s-5) var(--s-6) var(--s-6); display: grid; gap: var(--s-3); align-content: start; }
.cover-wrap { background: var(--ink-900); color: rgba(233, 237, 245, 0.55); aspect-ratio: 16 / 9; overflow: hidden; }
.cover-wrap svg { width: 100%; height: 100%; }
.cover .fill { fill: currentColor; stroke: none; }
.card-cover:nth-child(3n + 1) .cover-wrap { color: rgba(255, 106, 43, 0.85); }
.card-cover:nth-child(3n + 2) .cover-wrap { color: rgba(122, 162, 255, 0.85); }
.card-meta { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2) var(--s-3); }
.program-title { display: flex; align-items: center; gap: var(--s-3); }
.icon-tile { display: inline-grid; place-items: center; width: 3rem; height: 3rem; border-radius: var(--r-2); background: var(--ink-900); color: var(--ember); flex: none; }
.section--dark .icon-tile, .section--ink .icon-tile { background: rgba(233, 237, 245, 0.08); }
.icon-tile--small { width: 2.5rem; height: 2.5rem; border-radius: var(--r-1); }
.plain-list { list-style: none; }
.solve { display: flex; gap: var(--s-4); align-items: flex-start; }
.solve p { color: var(--muted); margin-top: var(--s-1); }

/* Chips */
.chip { display: inline-flex; align-items: center; padding: 0.2rem 0.7rem; border-radius: var(--r-pill); font-size: 0.8rem; font-weight: 650; background: var(--chip-bg); color: var(--chip-fg); }
.chip-exploring { background: #dbe5ff; color: #1f3aa0; }
.chip-planned { background: #fde8c8; color: #7a4300; }
.chip-prototype { background: #d4f0e0; color: #0f5a35; }
.section--dark .chip-exploring, .section--ink .chip-exploring { background: #1e2c52; color: #b7ccff; }
.section--dark .chip-planned, .section--ink .chip-planned { background: #43301a; color: #ffd9a3; }
.section--dark .chip-prototype, .section--ink .chip-prototype { background: #14392a; color: #a6e8c6; }
.chip-list { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-top: var(--s-2); }
.chip-plain { font-weight: 560; border: 1px solid var(--line); background: transparent; color: var(--fg); }
.chip-list--big .chip { font-size: 1.05rem; padding: 0.55rem 1.1rem; }
.stage-hint { font-size: 0.9rem; color: var(--muted); max-width: 46rem; margin-bottom: var(--s-6); }
.stage-hint--light { color: var(--text-2); }

/* Honest-status callout */
.honesty { display: flex; gap: var(--s-3); align-items: flex-start; margin-top: var(--s-6); padding: var(--s-4) var(--s-5); border-radius: var(--r-2); background: rgba(233, 237, 245, 0.08); border: 1px solid rgba(233, 237, 245, 0.18); color: var(--fog-100); max-width: 44rem; }
.honesty--light { background: #fff; border-color: var(--line); color: var(--text); }
.honesty--warn { background: #fff3e8; border-color: #e9b78d; }
.honesty-mark { display: inline-grid; place-items: center; flex: none; width: 1.5rem; height: 1.5rem; border-radius: 50%; background: var(--ember); color: var(--ink-900); font-weight: 800; font-size: 0.85rem; margin-top: 0.1rem; }

/* ---------- Steps, vision ---------- */
.steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--s-5); counter-reset: step; }
.step { border-top: 2px solid var(--ember); padding-top: var(--s-4); display: grid; gap: var(--s-2); align-content: start; }
.step p { color: var(--muted); }
.step-num { font-size: 3.2rem; font-weight: 700; line-height: 1; color: var(--ember); opacity: 0.85; }
@media (max-width: 75rem) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 48rem) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 36rem) { .steps { grid-template-columns: minmax(0, 1fr); } }
.vision-inner { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-7); align-items: start; }
.quote { font-family: var(--font-display); font-size: clamp(1.6rem, 2.4vw + 1rem, 2.6rem); line-height: 1.12; letter-spacing: -0.02em; font-weight: 700; margin-top: var(--s-5); color: var(--fg); }
@media (max-width: 50rem) { .vision-inner { grid-template-columns: minmax(0, 1fr); gap: var(--s-5); } }

/* ---------- CTA band ---------- */
.cta-band { border-top: 1px solid rgba(233, 237, 245, 0.1); }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: var(--s-6); flex-wrap: wrap; }
.cta-inner .lead { margin-top: var(--s-3); max-width: 36rem; }
.cta-inner > *, .cta-actions { max-width: 100%; }
.cta-actions .btn { max-width: 100%; text-align: center; }

/* ---------- Services ---------- */
.services-list { display: grid; gap: var(--s-6); }
.service { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr); gap: var(--s-7); padding: var(--s-6) 0; border-top: 1px solid var(--line); }
.service:first-child { border-top: 0; padding-top: 0; }
.service-head { display: grid; gap: var(--s-3); align-content: start; }
.service-summary { color: var(--muted); font-size: 1.1rem; }
.service-body { display: grid; gap: var(--s-3); align-content: start; }
.facts { display: grid; gap: var(--s-4); }
.facts dt { font-size: 0.78rem; font-weight: 650; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.15rem; }
.facts dd { color: var(--fg); overflow-wrap: anywhere; }
.ticks { display: grid; gap: var(--s-2); }
.ticks li { display: flex; gap: var(--s-3); align-items: flex-start; }
.tick { width: 1.2rem; height: 1.2rem; margin-top: 0.3rem; color: var(--accent); }
@media (max-width: 56rem) { .service { grid-template-columns: minmax(0, 1fr); gap: var(--s-4); } }

/* ---------- Labs ---------- */
.gallery .card h2 { font-family: var(--font-display); }
.more { margin-top: var(--s-2); border-top: 1px solid var(--line); padding-top: var(--s-3); }
.more summary { cursor: pointer; font-weight: 650; color: var(--accent); list-style: none; display: inline-flex; align-items: center; gap: 0.4rem; }
.more summary::-webkit-details-marker { display: none; }
.more summary::after { content: '+'; font-size: 1.2rem; line-height: 1; }
.more[open] summary::after { content: '–'; }
.more p { margin-top: var(--s-2); }
.more-label { font-size: 0.78rem; font-weight: 650; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted) !important; }
.detail-list { margin-top: var(--s-3); display: grid; gap: var(--s-2); color: var(--muted); font-size: 0.95rem; }
.detail-list li { padding-left: 1rem; position: relative; }
.detail-list li::before { content: ''; position: absolute; left: 0; top: 0.65em; width: 0.4rem; height: 2px; background: var(--accent); }

/* ---------- Creative ---------- */
.creative-hero { overflow: hidden; min-height: 30rem; padding-bottom: clamp(9rem, 16vw, 12rem); }
.creative-art { position: absolute; inset: auto 0 0 0; height: 38%; pointer-events: none; opacity: 0.9; }
.creative-art canvas { width: 100%; height: 100%; }
.creative-hero .wrap { position: relative; z-index: 1; }
.areas { display: grid; }
.area { display: grid; grid-template-columns: 4rem 3rem minmax(0, 1fr) auto; gap: var(--s-5); align-items: center; padding: var(--s-5) 0; border-bottom: 1px solid var(--line); }
.area:first-child { border-top: 1px solid var(--line); }
.area-num { font-size: 1.1rem; color: var(--muted); font-weight: 650; }
.area-text p { color: var(--muted); margin-top: var(--s-1); max-width: 40rem; }
.principles { display: grid; grid-template-columns: 1fr 1.2fr; gap: var(--s-7); align-items: start; }
@media (max-width: 50rem) {
  .area { grid-template-columns: 3rem minmax(0, 1fr); }
  .area .area-num { display: none; }
  .area .chip { grid-column: 2; justify-self: start; }
  .principles { grid-template-columns: minmax(0, 1fr); gap: var(--s-5); }
}

/* ---------- About ---------- */
.founder { display: grid; grid-template-columns: 1fr 1.5fr; gap: var(--s-7); align-items: start; }
.founder-name { font-size: clamp(1.5rem, 1.5vw + 1rem, 2.1rem); font-weight: 700; margin-top: var(--s-4); letter-spacing: -0.02em; }
.founder .lead { margin-bottom: var(--s-4); }
.founder-photo { margin: 0 0 var(--s-5); width: 12rem; aspect-ratio: 1; overflow: hidden; -webkit-mask-image: radial-gradient(closest-side, #000 72%, transparent 100%); mask-image: radial-gradient(closest-side, #000 72%, transparent 100%); }
.founder-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }
.give-back-head { display: grid; grid-template-columns: auto 1fr; gap: var(--s-5); align-items: start; margin-bottom: var(--s-6); }
.give-back-head .lead { margin: var(--s-2) 0 var(--s-3); }
.give-back-note { color: var(--text-2); max-width: 52rem; }
.give-back-ways { margin-bottom: var(--s-4); }
.give-back-cta { margin-top: var(--s-5); }
@media (max-width: 36rem) { .give-back-head { grid-template-columns: minmax(0, 1fr); gap: var(--s-3); } }
.who { margin-top: var(--s-7); display: grid; gap: var(--s-3); }
.who p { color: var(--text-2); max-width: 46rem; }
.promise-card .icon-tile { transition: transform var(--t-med) var(--ease); }
.promise-card:hover .icon-tile { transform: translateY(-3px) rotate(-4deg); }
@media (prefers-reduced-motion: reduce) { .promise-card:hover .icon-tile { transform: none; } }
@media (max-width: 50rem) { .founder { grid-template-columns: minmax(0, 1fr); gap: var(--s-4); } }

/* ---------- The name ---------- */
.name-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: var(--s-7); align-items: start; }
.name-tagline { font-family: var(--font-display); font-size: clamp(1.4rem, 1.6vw + 1rem, 2.1rem); line-height: 1.15; letter-spacing: -0.02em; font-weight: 700; color: var(--ember); margin-top: var(--s-5); }
.name-parts { display: grid; gap: 0; border-top: 1px solid var(--line); margin-bottom: var(--s-5); }
.name-parts div { display: grid; grid-template-columns: 8rem 1fr; gap: var(--s-4); padding: var(--s-3) 0; border-bottom: 1px solid var(--line); }
.name-parts dt { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; }
.name-parts dd { color: var(--muted); }
.name-section p { color: var(--muted); }
.name-section .name-tagline { color: var(--ember); }
.name-grid .h2 + .lead { margin-top: var(--s-4); }
.name-section p + p { margin-top: var(--s-3); }
.name-note { font-size: 0.9rem; margin-top: var(--s-5) !important; }
.vision-link { margin-top: var(--s-4); }
@media (max-width: 50rem) { .name-grid { grid-template-columns: minmax(0, 1fr); gap: var(--s-5); } .name-parts div { grid-template-columns: 6.5rem 1fr; } }

/* ---------- Contact and forms ---------- */
.contact-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: var(--s-7); align-items: start; }
.contact-details { min-width: 0; background: var(--ink-900); color: var(--fog-100); border-radius: var(--r-3); padding: var(--s-6); display: grid; gap: var(--s-4); --fg: var(--fog-100); --muted: var(--fog-300); --line: rgba(233, 237, 245, 0.16); --accent: var(--ember); --focus: var(--ember); }
.contact-details a { color: var(--ember); }
.form { display: grid; gap: var(--s-5); margin-top: var(--s-5); }
.field { display: grid; gap: var(--s-2); }
.field label { font-weight: 650; }
.field input, .field select, .field textarea { width: 100%; background: #fff; color: var(--text); border: 1.5px solid #8a8f9a; border-radius: var(--r-1); padding: 0.75rem 0.9rem; min-height: 3rem; }
.field textarea { resize: vertical; min-height: 9rem; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--signal-ink); outline-offset: 1px; border-color: var(--signal-ink); }
.hint { font-size: 0.9rem; color: var(--text-2); }
.form .btn { justify-self: start; }
.form-result { min-height: 1.5rem; font-weight: 600; color: var(--ember-ink); }
.form-result.is-error { color: var(--error, #a4261b); }
.form-required { margin: 0; }
.req { color: var(--ember-ink); font-weight: 700; }
.field-error { color: var(--error, #a4261b); font-weight: 600; font-size: 0.95rem; }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--error, #a4261b); border-width: 2px; }
.regarding { display: flex; flex-wrap: wrap; gap: var(--s-2); align-items: baseline; padding: var(--s-3) var(--s-4); background: var(--paper-2); border-radius: var(--r-1); margin: 0; }
.regarding[hidden], .field-error[hidden], .field[hidden] { display: none; }
.link-button { background: none; border: 0; padding: 0.35rem 0.25rem; min-height: 2.75rem; color: var(--ember-ink); font: inherit; font-weight: 650; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.btn.is-busy { opacity: 0.7; cursor: progress; }
@media (max-width: 56rem) { .contact-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Prose and 404 ---------- */
.prose { display: grid; gap: var(--s-5); }
.prose .h3 { margin-top: var(--s-4); }
.notfound { min-height: 60vh; display: grid; align-items: center; }
.notfound-other { margin-top: var(--s-7); padding-top: var(--s-5); border-top: 1px solid var(--line); max-width: 36rem; display: grid; gap: var(--s-3); color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink-950); color: var(--fog-300); padding-top: var(--s-8); --focus: var(--ember); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: var(--s-7); padding-bottom: var(--s-7); }
.footer-tagline { font-family: var(--font-display); font-size: 1.6rem; color: var(--fog-100); margin-top: var(--s-4); letter-spacing: -0.02em; font-weight: 650; }
.footer-small { margin-top: var(--s-2); max-width: 22rem; }
.footer-h { font-size: 0.8rem; font-weight: 650; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fog-300); margin-bottom: var(--s-4); }
.footer-list { display: grid; gap: var(--s-2); }
.footer-list a { color: var(--fog-100); text-decoration: none; display: inline-block; padding: 0.15rem 0; overflow-wrap: anywhere; }
.footer-grid > * { min-width: 0; }
.footer-list .lang-link { padding: 0.4rem 0.9rem; margin-top: var(--s-2); }
.footer-list a:hover { text-decoration: underline; text-underline-offset: 0.25em; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s-2) var(--s-6); padding-block: var(--s-5); border-top: 1px solid rgba(233, 237, 245, 0.12); font-size: 0.88rem; }
.footer-legal { flex: 1 1 100%; margin: 0; opacity: 0.85; }
@media (max-width: 50rem) { .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .footer-brand { grid-column: 1 / -1; } }

/* ---------- Motion ---------- */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity 600ms var(--ease), transform 600ms var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal.instant { transition: none; }
.js.reveal-fallback .reveal { opacity: 1; transform: none; transition: none; }
.js .grid .reveal:nth-child(2) { transition-delay: 60ms; }
.js .grid .reveal:nth-child(3) { transition-delay: 120ms; }
.js .grid .reveal:nth-child(4) { transition-delay: 180ms; }

/* Smooth cross-fade between pages in browsers that support it. */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: 180ms; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
  @view-transition { navigation: none; }
}

@media print {
  .site-header, .preview-banner, .hero-visual, .creative-art, .skip { display: none !important; }
  body, .section { background: #fff !important; color: #000 !important; }
}

/* Visually hidden but still in the form (the spam trap checkbox). */
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }

/* About: the story at the top of the page. */
#story .h2 { margin-bottom: var(--s-5); }
#story .lead { margin-bottom: var(--s-4); }

/* On this page: a quiet strip of links under the page heading. */
.jump { background: var(--paper-2); border-bottom: 1px solid var(--paper-3); }
.jump .wrap { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-4); align-items: baseline; padding-block: var(--s-3); }
.jump-label { font-size: 0.85rem; font-weight: 650; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-2); }
.jump ul { display: flex; flex-wrap: wrap; gap: var(--s-1) var(--s-4); list-style: none; margin: 0; padding: 0; }
.jump a { display: inline-block; padding: 0.55rem 0; min-height: 2.75rem; line-height: 1.6; color: var(--ember-ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

.offer-when { font-size: 0.95rem; color: var(--text-2); border-left: 3px solid var(--ember); padding-left: var(--s-3); margin-top: var(--s-3); }
.engagement > li { display: block; }
.engagement-note { margin-top: var(--s-6); max-width: 52rem; }
.community-inner { display: grid; grid-template-columns: auto 1fr; gap: var(--s-5); align-items: start; }
.community-actions { display: flex; flex-wrap: wrap; gap: var(--s-3) var(--s-5); align-items: center; margin-top: var(--s-4); }
.give-back-cta { margin-top: var(--s-4); }
@media (max-width: 36rem) { .community-inner { grid-template-columns: minmax(0, 1fr); gap: var(--s-3); } }

/* ---------- Home area tiles, area illustrations, hero link ---------- */
.text-link--hero { font-size: 1.15rem; color: var(--fog-100); }
.grid-areas { display: grid; gap: var(--s-4); grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); }
.area-tile { display: block; text-decoration: none; color: inherit; transition: transform var(--t-fast) var(--ease), border-color var(--t-fast); }
.area-tile:hover { transform: translateY(-3px); }
.area-tile p { color: var(--muted); margin-top: var(--s-2); }
.area-art { display: block; color: var(--ember-ink); margin-bottom: var(--s-3); }
.area-svg { display: block; width: 100%; max-width: 9rem; height: auto; }
.area-svg .fill { fill: currentColor; stroke: none; }
.hero-art { margin-top: var(--s-5); max-width: 12rem; color: var(--ember); opacity: 0.9; }
.hero-art .area-svg { max-width: 12rem; }
.founder-links { margin-top: var(--s-5); }
.experience > * { max-width: 52rem; }
.experience .lead { margin: var(--s-4) 0; }

/* Contact form: optional fields collapsed, collection notice */
.optional-group { margin: var(--s-5) 0; border: 1px solid var(--line, rgba(0,0,0,.15)); border-radius: 12px; padding: var(--s-3) var(--s-4); }
.optional-group > summary { cursor: pointer; font-weight: 600; min-height: 44px; display: flex; align-items: center; }
.optional-group[open] > summary { margin-bottom: var(--s-3); }
.form-notice { margin: var(--s-4) 0; font-size: 0.92rem; }

/* Sticky header must not eat the screen when it is short (400% zoom, landscape phones) or without scripts */
@media (max-height: 32rem) { .site-header { position: static; } }
.no-js .site-header { position: static; }
/* Larger tap targets for text links */
.text-link { min-height: 44px; }
.footer-list a { padding: 0.5rem 0; min-height: 44px; display: inline-flex; align-items: center; }

/* Large text and narrow screens: long words wrap instead of pushing the page sideways, and grid cells may shrink below their content. */
h1, h2, h3, h4, p, li, dt, dd, summary, label, blockquote, .quote, .hero-title span, .btn, .chip, .meta-cat { overflow-wrap: anywhere; }
.grid > *, .contact-grid > *, .cta-inner > *, .footer-grid > * { min-width: 0; }
.founder-photo { max-width: 100%; }

/* iPhone and iPad Safari draw dropdowns in their own small native style and ignore our height. Turning that off lets the control be as tall as the others; the arrow is drawn here instead. */
.field select { -webkit-appearance: none; appearance: none; min-height: 3rem; padding-right: 2.6rem; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 7.5l5 5 5-5' fill='none' stroke='%230b0e14' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.9rem center; background-size: 1.1rem; }
.linkedin-link { display: inline-flex; align-items: center; gap: 0.6rem; min-height: 2.75rem; color: var(--ink-900, inherit); font-weight: 650; text-decoration: none; }
.linkedin-link:hover span { text-decoration: underline; text-underline-offset: 0.25em; }
.linkedin-icon { width: 1.6rem; height: 1.6rem; flex: none; }
