/* Accretion Compute — design system
   White pages, dark (Void) bands, brand-kit colours, Michroma + Jost. */

:root {
  --void: #050506;
  --void-2: #0d0e11;
  --ink: #0b0c0e;
  --graphite: #3a3d42;
  --graphite-2: #5a5e66;
  --mist: #eceef1;
  --mist-2: #f5f6f8;
  --white: #ffffff;
  --light: #e8eaed;
  --light-bright: #f3f4f6;
  --light-dim: #a3a7ae;
  --silver: #b9bdc4;

  --bg: var(--white);
  --fg: var(--graphite);
  --fg-strong: var(--ink);
  --fg-dim: var(--graphite-2);
  --line: rgba(11, 12, 14, 0.12);
  --line-soft: rgba(11, 12, 14, 0.07);

  --platinum: linear-gradient(135deg, #ffffff 0%, #b9bdc4 20%, #f3f4f6 40%, #8e939b 60%, #e6e8eb 80%, #a9adb4 100%);
  --head: "Michroma", "Eurostile", Arial, sans-serif;
  --body: "Jost", "Futura", "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(16px, 5vw, 64px);
  --max: 1200px;
  --bar-h: 72px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  color-scheme: light;
}

/* Dark bands flip the local colour tokens; everything inside follows. */
.dark {
  --bg: var(--void);
  --fg: var(--light);
  --fg-strong: var(--light-bright);
  --fg-dim: var(--light-dim);
  --line: rgba(232, 234, 237, 0.14);
  --line-soft: rgba(232, 234, 237, 0.07);
  background: var(--bg);
  color: var(--fg);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--bar-h) + 16px); }
body {
  margin: 0;
  background: var(--white);
  color: var(--fg);
  font: 300 18px/1.65 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 16px; }
:focus-visible { outline: 1px solid currentColor; outline-offset: 4px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 50; background: var(--ink); color: var(--white); padding: 8px 14px; }
.skip:focus { left: 8px; }

/* ---------- Header ---------- */
.bar {
  position: sticky; top: 0; z-index: 40;
  background: rgba(5, 5, 6, 0.9);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(232, 234, 237, 0.08);
  color: var(--light);
}
.bar-in {
  max-width: var(--max); margin: 0 auto; height: var(--bar-h);
  padding: 0 var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.bar-mark img { width: clamp(150px, 18vw, 200px); }
.nav { display: flex; align-items: center; gap: clamp(16px, 2.2vw, 32px); }
.nav a {
  font: 400 12px/1 var(--body); letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--light-dim); text-decoration: none; padding: 8px 0; position: relative;
  transition: color 0.2s;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--light-bright); }
.nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--platinum);
}
.nav .nav-cta { border: 1px solid rgba(232, 234, 237, 0.35); padding: 11px 16px; color: var(--light-bright); }
.nav .nav-cta:hover { background: var(--light-bright); color: var(--ink); }
.nav .nav-cta[aria-current="page"]::after { display: none; }
.bar-toggle { display: none; }

@media (max-width: 900px) {
  .bar-toggle {
    display: grid; place-content: center; gap: 6px;
    width: 44px; height: 44px; margin-right: -10px;
    background: none; border: 0; color: inherit; cursor: pointer;
  }
  .bar-toggle i { display: block; width: 22px; height: 1px; background: currentColor; transition: transform 0.3s var(--ease); }
  .bar-toggle[aria-expanded="true"] i:first-of-type { transform: translateY(3.5px) rotate(45deg); }
  .bar-toggle[aria-expanded="true"] i:last-of-type { transform: translateY(-3.5px) rotate(-45deg); }
  .nav {
    position: fixed; inset: var(--bar-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px var(--gutter) 28px;
    background: var(--void); border-bottom: 1px solid rgba(232, 234, 237, 0.1);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity 0.25s, transform 0.25s var(--ease), visibility 0.25s;
  }
  .nav.open { transform: none; opacity: 1; visibility: visible; }
  .nav a { padding: 18px 0; font-size: 13px; border-bottom: 1px solid rgba(232, 234, 237, 0.08); }
  .nav a[aria-current="page"]::after { display: none; }
  .nav .nav-cta { margin-top: 20px; text-align: center; border-bottom: 1px solid rgba(232, 234, 237, 0.35); }
}

/* ---------- Layout ---------- */
.band { padding: clamp(80px, 11vw, 144px) 0; position: relative; }
.band.tight { padding: clamp(56px, 7vw, 88px) 0; }
.band.mist { background: var(--mist-2); }
.band.flush { padding-top: 0; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 760px; }

.grid { display: grid; gap: clamp(20px, 3vw, 40px); }
@media (min-width: 720px) { .grid.g2 { grid-template-columns: repeat(2, 1fr); } .grid.g3, .grid.g4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid.g3 { grid-template-columns: repeat(3, 1fr); } .grid.g4 { grid-template-columns: repeat(4, 1fr); } }
.split { display: grid; gap: 40px clamp(40px, 6vw, 96px); align-items: start; }
@media (min-width: 900px) { .split { grid-template-columns: 5fr 7fr; } .split.even { grid-template-columns: 1fr 1fr; } .split.center { align-items: center; } }

/* ---------- Type ---------- */
.eyebrow {
  display: flex; align-items: center; gap: 14px; margin: 0 0 24px;
  font: 400 12px/1 var(--body); letter-spacing: 0.3em; text-transform: uppercase; color: var(--fg-dim);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: 0.6; }
h1, h2, h3, h4 { color: var(--fg-strong); font-weight: 400; margin: 0; text-wrap: balance; }
h1 { font: 400 clamp(30px, 5.4vw, 60px)/1.12 var(--head); letter-spacing: 0.01em; margin-bottom: 28px; }
h2 { font: 400 clamp(24px, 3.6vw, 40px)/1.2 var(--head); letter-spacing: 0.01em; margin-bottom: 24px; }
h3 { font: 400 14px/1.35 var(--head); letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 12px; }
.lede { font-size: clamp(19px, 1.9vw, 22px); line-height: 1.6; color: var(--fg); max-width: 54ch; }
.dim { color: var(--fg-dim); }
.head-block { max-width: 760px; margin-bottom: clamp(40px, 6vw, 72px); }
.head-block.center { margin-left: auto; margin-right: auto; text-align: center; }
.head-block.center .eyebrow { justify-content: center; }
.head-block.center .lede { margin-left: auto; margin-right: auto; }
.metal { background: var(--platinum); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Buttons ---------- */
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 24px; min-height: 52px;
  font: 400 12px/1 var(--body); letter-spacing: 0.22em; text-transform: uppercase;
  text-decoration: none; cursor: pointer;
  border: 1px solid var(--fg-strong); background: var(--fg-strong); color: var(--bg);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.btn:hover { background: transparent; color: var(--fg-strong); }
.btn.ghost { background: transparent; color: var(--fg-strong); border-color: var(--line); }
.btn.ghost:hover { border-color: var(--fg-strong); }
.arrow { display: inline-block; width: 16px; height: 1px; background: currentColor; position: relative; transition: width 0.2s var(--ease); flex: none; }
.arrow::after { content: ""; position: absolute; right: 0; top: -3px; width: 7px; height: 7px; border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: rotate(45deg); }
.btn:hover .arrow, .link:hover .arrow, a.card:hover .arrow { width: 24px; }
.link {
  display: inline-flex; align-items: center; gap: 12px; margin-top: 8px;
  font: 400 12px/1 var(--body); letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--fg-strong); text-decoration: none;
}

/* ---------- Home hero ---------- */
.hero {
  position: relative;
  min-height: calc(100svh - var(--bar-h));
  display: grid; place-items: center; text-align: center;
  padding: 72px var(--gutter) 120px; overflow: hidden; isolation: isolate;
}
.hero-disk { position: absolute; left: 50%; top: 50%; width: min(1500px, 170vw); transform: translate(-50%, -54%); z-index: -1; pointer-events: none; }
.hero-in { max-width: 860px; }
.hero-logo { width: min(500px, 80vw); margin: 0 auto; }
.hero h1 { margin: 44px 0 0; font-size: clamp(21px, 3vw, 32px); line-height: 1.35; }
.hero .lede { margin: 20px auto 0; color: var(--light-dim); }
.hero .actions { justify-content: center; }
.hero-cue { position: absolute; left: 50%; bottom: 32px; transform: translateX(-50%); width: 22px; height: 36px; border: 1px solid var(--line); border-radius: 11px; }
.hero-cue::after { content: ""; position: absolute; left: 50%; top: 8px; width: 2px; height: 6px; margin-left: -1px; background: var(--fg-dim); border-radius: 1px; animation: cue 2.4s ease-in-out infinite; }
@keyframes cue { 0%, 100% { transform: translateY(0); opacity: 1; } 60% { transform: translateY(10px); opacity: 0; } }

/* Home hero: the living logo bends a glowing horizon around itself (drawn by site.js on the canvas) */
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.alogo { position: relative; width: min(500px, 80vw); margin: 0 auto; }
.alogo .hero-logo { width: 100%; }
.alogo .sym { position: relative; z-index: 1; display: block; width: 34.5%; margin: 0 auto; overflow: visible; }
.alogo .wm { width: 76%; aspect-ratio: 1320 / 122; margin: 13% auto 0;
  -webkit-mask: url(assets/logos/accretion-compute-wordmark-white.svg) center / contain no-repeat;
          mask: url(assets/logos/accretion-compute-wordmark-white.svg) center / contain no-repeat;
  background: linear-gradient(100deg, #cfd2d7 0%, #cfd2d7 38%, #ffffff 50%, #cfd2d7 62%, #cfd2d7 100%);
  background-size: 320% 100%; background-position: 100% 0;
  animation: wm-in 1.6s 0.5s var(--ease) both, sheen 8s 2.2s ease-in-out infinite; }
@keyframes sheen { 0% { background-position: 100% 0; } 45%, 100% { background-position: 0% 0; } }
@keyframes wm-in { from { clip-path: inset(0 100% 0 0); opacity: 0.2; } to { clip-path: inset(0 0 0 0); opacity: 1; } }
.sym .ring { stroke-dasharray: 640; animation: ring-in 2.2s var(--ease) both; }
.sym .r2 .ring { animation-delay: 0.15s; } .sym .r3 .ring { animation-delay: 0.3s; }
@keyframes ring-in { from { stroke-dashoffset: 640; } to { stroke-dashoffset: 0; } }
.sym .fh, .sym .fv, .sym .halo, .sym .core { transform-box: fill-box; transform-origin: center; }
.sym .fh { animation: flare-h 5.5s ease-in-out infinite; }
.sym .fv { animation: flare-v 5.5s ease-in-out infinite; }
@keyframes flare-h { 0%, 100% { transform: scaleX(0.78); opacity: 0.75; } 50% { transform: scaleX(1.18); opacity: 1; } }
@keyframes flare-v { 0%, 100% { transform: scaleY(1.12); opacity: 1; } 50% { transform: scaleY(0.8); opacity: 0.7; } }

/* Black / white switch for the home hero */
.hero.light { --bg: var(--white); background: var(--white); color: var(--fg); }
.hero.light .lede { color: var(--graphite-2); }
.hero.light .alogo .wm { background-image: linear-gradient(100deg, #0b0c0e 0%, #0b0c0e 40%, #6b7078 50%, #0b0c0e 60%, #0b0c0e 100%); }
.hero.light .btn { background: var(--ink); color: var(--white); border-color: var(--ink); }
.hero.light .btn.ghost { background: transparent; color: var(--ink); border-color: rgba(11, 12, 14, 0.2); }
.hero-theme { position: absolute; right: var(--gutter); bottom: 32px; display: inline-flex; border: 1px solid var(--line); }
.hero-theme button { font: 400 11px/1 var(--body); letter-spacing: 0.16em; text-transform: uppercase; padding: 9px 12px; border: 0; cursor: pointer; background: transparent; color: var(--fg-dim); }
.hero-theme button[aria-pressed="true"] { background: var(--fg-strong); color: var(--bg); }

/* Accretion disk animation (SVG in hero, page heads and CTA bands) */
.spin { transform-box: fill-box; transform-origin: center; animation: spin 80s linear infinite; }
.spin.rev { animation-direction: reverse; animation-duration: 120s; }
.spin.fast { animation-duration: 46s; }
@keyframes spin { to { transform: rotate(360deg); } }
.pulse { animation: pulse 5s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes pulse { 0%, 100% { opacity: 0.7; transform: scale(1); } 50% { opacity: 1; transform: scale(1.08); } }

/* ---------- Inner page head ---------- */
.pagehead { position: relative; padding: clamp(88px, 12vw, 160px) 0 clamp(72px, 9vw, 120px); overflow: hidden; isolation: isolate; }
.pagehead .wrap { position: relative; }
.pagehead h1 { max-width: 16ch; }
.pagehead .lede { color: var(--light-dim); }
.pagehead-disk { position: absolute; right: -12vw; top: 50%; width: min(900px, 100vw); transform: translateY(-50%); z-index: -1; pointer-events: none; }
@media (max-width: 720px) { .pagehead-disk { right: -55vw; width: 130vw; opacity: 0.5; } }
.crumbs { margin-bottom: 28px; font-size: 13px; letter-spacing: 0.08em; color: var(--light-dim); }
.crumbs a { color: var(--light-dim); text-decoration: none; }
.crumbs a:hover { color: var(--light-bright); }

/* ---------- Cards and lists ---------- */
.card {
  position: relative; padding: clamp(28px, 3vw, 40px);
  border: 1px solid var(--line); background: var(--bg);
  transition: border-color 0.3s, transform 0.4s var(--ease);
}
.mist .card { background: var(--white); }
a.card { display: flex; flex-direction: column; text-decoration: none; color: inherit; }
a.card:hover { border-color: var(--fg-strong); transform: translateY(-3px); }
.card p { color: var(--fg-dim); font-size: 17px; margin: 0; }
.card .link { margin-top: auto; padding-top: 28px; }
.card .num { font: 400 12px/1 var(--head); letter-spacing: 0.2em; color: var(--fg-dim); margin-bottom: 28px; display: block; }
.icon { width: 44px; height: 44px; margin-bottom: 28px; color: var(--fg-strong); fill: none; stroke: currentColor; stroke-width: 1.2; }

.pillars { display: grid; border-top: 1px solid var(--line); }
.pillars > div { padding: 36px 0 40px; border-bottom: 1px solid var(--line); }
.pillars p { color: var(--fg-dim); font-size: 17px; margin: 0; }
@media (min-width: 720px) {
  .pillars { grid-template-columns: repeat(2, 1fr); }
  .pillars > div { padding: 36px 32px 40px; }
  .pillars > div:nth-child(odd) { padding-left: 0; }
  .pillars > div:nth-child(even) { border-left: 1px solid var(--line); }
}
@media (min-width: 1000px) {
  .pillars { grid-template-columns: repeat(4, 1fr); }
  .pillars > div { border-bottom: 0; border-left: 1px solid var(--line); padding-left: 32px; }
  .pillars > div:first-child { border-left: 0; padding-left: 0; }
}

.ticks { list-style: none; padding: 0; margin: 0 0 24px; }
.ticks li { position: relative; padding: 14px 0 14px 32px; border-bottom: 1px solid var(--line); color: var(--fg); }
.ticks li:first-child { border-top: 1px solid var(--line); }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 23px; width: 12px; height: 12px;
  border: 1px solid var(--fg-dim); border-radius: 50%;
  box-shadow: inset 0 0 0 3px var(--bg), inset 0 0 0 6px var(--fg-strong);
}
.mist .ticks li::before { box-shadow: inset 0 0 0 3px var(--mist-2), inset 0 0 0 6px var(--fg-strong); }
.ticks strong { font-weight: 500; color: var(--fg-strong); }

.steps { list-style: none; padding: 0; margin: 0; display: grid; counter-reset: step; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(4, 1fr); } .steps.s3 { grid-template-columns: repeat(3, 1fr); } }
.steps li { position: relative; padding: 32px 28px 32px 0; border-top: 1px solid var(--line); counter-increment: step; }
.steps li::before {
  content: "0" counter(step); display: block; margin-bottom: 20px;
  font: 400 13px/1 var(--head); letter-spacing: 0.18em; color: var(--fg-dim);
}
.steps li::after { content: ""; position: absolute; left: 0; top: -4px; width: 7px; height: 7px; border-radius: 50%; background: var(--fg-strong); }
.steps p { color: var(--fg-dim); font-size: 17px; margin: 0; }

/* Statement band */
.statement { font: 400 clamp(22px, 3.2vw, 36px)/1.35 var(--head); color: var(--fg-strong); max-width: 24ch; margin: 0; text-wrap: balance; }
.statement-wrap { display: grid; gap: 32px; }
@media (min-width: 900px) { .statement-wrap { grid-template-columns: 7fr 5fr; align-items: end; } }

/* ---------- Diagrams ---------- */
.diagram { margin: 0; }
.diagram svg { width: 100%; height: auto; overflow: visible; }
.diagram figcaption { margin-top: 20px; font-size: 14px; letter-spacing: 0.04em; color: var(--fg-dim); max-width: 70ch; }
.diagram-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: 8px; }
.diagram-scroll svg { min-width: 720px; }
.d-line { fill: none; stroke: var(--fg-dim); stroke-width: 1; }
.d-strong { fill: none; stroke: var(--fg-strong); stroke-width: 1.4; }
.d-soft { fill: none; stroke: var(--line); stroke-width: 1; }
.d-fill { fill: var(--bg); stroke: var(--fg-strong); stroke-width: 1.2; }
.d-fill-soft { fill: var(--line-soft); stroke: var(--line); stroke-width: 1; }
.d-dot { fill: var(--fg-strong); }
.d-flow { fill: none; stroke: var(--fg-strong); stroke-width: 1.6; stroke-dasharray: 4 10; animation: flow 1.6s linear infinite; }
.d-flow.slow { animation-duration: 3.2s; }
@keyframes flow { to { stroke-dashoffset: -28; } }
.d-text { font: 400 12px var(--body); letter-spacing: 0.18em; text-transform: uppercase; fill: var(--fg-strong); }
.d-small { font: 300 13px var(--body); fill: var(--fg-dim); }
.d-head { font: 400 15px var(--head); letter-spacing: 0.06em; fill: var(--fg-strong); }
.d-dim { fill: var(--fg-dim); }
.d-mid { text-anchor: middle; }

.only-narrow { display: none !important; }
@media (max-width: 719px) { .only-wide { display: none !important; } .only-narrow { display: block !important; max-width: 380px; margin: 0 auto; } }

/* Two-path comparison (grid queue vs at source) */
.compare { display: grid; gap: 20px; }
@media (min-width: 900px) { .compare { grid-template-columns: 1fr 1fr; } }
.track { position: relative; height: 10px; margin: 32px 0 14px; border: 1px solid var(--line); }
.track span { position: absolute; top: -1px; bottom: -1px; left: -1px; background: var(--fg-strong); transform-origin: left; transition: transform 1.6s var(--ease) 0.2s; }
.track.queue span { width: 14%; }
.track.queue::after { content: ""; position: absolute; top: 0; bottom: 0; left: 14%; right: 0; background: repeating-linear-gradient(90deg, var(--line) 0 6px, transparent 6px 12px); }
.track.source span { width: 100%; }
.js .reveal .track span { transform: scaleX(0); }
.js .reveal.in .track span { transform: scaleX(1); }
.track-labels { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; letter-spacing: 0.06em; color: var(--fg-dim); }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; position: relative;
  padding: 26px 48px 26px 0; font-size: 19px; color: var(--fg-strong); font-weight: 400;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after, .faq summary::before {
  content: ""; position: absolute; right: 8px; top: 50%; width: 14px; height: 1px; background: currentColor; transition: transform 0.3s var(--ease);
}
.faq summary::before { transform: rotate(90deg); }
.faq details[open] summary::before { transform: rotate(0); }
.faq details p { color: var(--fg-dim); padding: 0 48px 24px 0; margin: 0; max-width: 70ch; }

/* ---------- Group structure ---------- */
.org { display: grid; justify-items: center; text-align: center; }
.org-top { padding: 22px 36px; border: 1px solid var(--fg-strong); font: 400 14px var(--head); letter-spacing: 0.16em; text-transform: uppercase; color: var(--fg-strong); background: var(--bg); }
.org-stem { width: 1px; height: 40px; background: var(--fg-dim); }
.org-row { display: grid; gap: 20px; width: 100%; position: relative; }
@media (min-width: 720px) {
  .org-stem { height: 28px; }
  .org-row { grid-template-columns: 1fr 1fr; padding-top: 28px; }
  .org-row::before { content: ""; position: absolute; top: 0; left: 25%; right: 25%; height: 28px; border: 1px solid var(--fg-dim); border-bottom: 0; }
}
.org .card { text-align: left; }
.org .card.here { border-color: var(--fg-strong); }
.org .tag { display: inline-block; margin-bottom: 18px; font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--fg-dim); }
.org .card img { height: 30px; width: auto; margin-bottom: 20px; }

/* ---------- CTA band ---------- */
.cta { position: relative; text-align: center; overflow: hidden; isolation: isolate; }
.cta .wrap { position: relative; }
.cta h2 { max-width: 20ch; margin-left: auto; margin-right: auto; }
.cta .lede { margin: 0 auto; color: var(--fg-dim); }
.cta .actions { justify-content: center; }
.cta-disk { position: absolute; left: 50%; top: 50%; width: min(1100px, 160vw); transform: translate(-50%, -50%); z-index: -1; pointer-events: none; }

/* ---------- Ion Group strip ---------- */
.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 28px 0; text-align: center; color: var(--fg-dim); margin: 0; }
.strip strong { font-weight: 400; color: var(--fg-strong); }
.strip a { color: var(--fg-strong); text-decoration-color: var(--silver); text-underline-offset: 4px; }

/* ---------- Contact form ---------- */
.form { display: grid; gap: 26px; }
.form .two { display: grid; gap: 26px; }
@media (min-width: 720px) { .form .two { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 6px; }
.field > label, .field legend { font: 400 12px/1 var(--body); letter-spacing: 0.22em; text-transform: uppercase; color: var(--fg-dim); padding: 0; }
.field input, .field textarea {
  width: 100%; padding: 12px 0; font: 300 18px/1.4 var(--body); color: var(--fg-strong);
  background: transparent; border: 0; border-bottom: 1px solid var(--line); border-radius: 0;
  transition: border-color 0.2s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: 0; border-bottom-color: var(--fg-strong); }
fieldset.field { border: 0; margin: 0; padding: 0; min-width: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.chips label { cursor: pointer; position: relative; }
.chips input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chips span { display: inline-block; padding: 10px 16px; border: 1px solid var(--line); color: var(--fg); font-size: 16px; transition: all 0.2s; }
.chips label:hover span { border-color: var(--fg-strong); }
.chips input:checked + span { background: var(--fg-strong); border-color: var(--fg-strong); color: var(--bg); }
.chips input:focus-visible + span { outline: 1px solid var(--fg-strong); outline-offset: 3px; }
.form-note { font-size: 14px; color: var(--fg-dim); margin: 0; }
.form-note a { color: var(--fg-strong); }
.contact-aside { display: grid; gap: 20px; align-content: start; }
.contact-aside .card { padding: 28px; }
.contact-aside a.mail { font-size: 19px; color: var(--fg-strong); overflow-wrap: anywhere; }

/* ---------- Prose (privacy) ---------- */
.prose { max-width: 720px; }
.prose h2 { font-size: clamp(20px, 2.4vw, 26px); margin: 48px 0 16px; }
.prose p, .prose li { color: var(--fg); }
.prose ul { padding-left: 20px; margin: 0 0 16px; }
.prose a { color: var(--fg-strong); }

/* ---------- 404 ---------- */
.lost { min-height: calc(100svh - var(--bar-h)); display: grid; place-items: center; text-align: center; padding: 80px var(--gutter); overflow: hidden; position: relative; isolation: isolate; }
.lost h1 { font-size: clamp(24px, 4vw, 40px); }

/* ---------- Footer ---------- */
.foot { background: var(--void); color: var(--light-dim); padding: 80px 0 32px; }
.foot-in { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); display: grid; gap: 48px; }
@media (min-width: 900px) { .foot-in { grid-template-columns: 5fr 7fr; } }
.foot-brand img { width: min(320px, 80%); margin-bottom: 20px; }
.foot-brand p { font-size: 15px; letter-spacing: 0.04em; margin: 0; }
.foot-nav { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 32px; }
.foot-nav h2 { font: 400 11px/1 var(--body); letter-spacing: 0.28em; text-transform: uppercase; color: var(--light-bright); margin: 0 0 18px; }
.foot-nav a { display: block; padding: 6px 0; font-size: 15px; color: var(--light-dim); text-decoration: none; }
.foot-nav a:hover { color: var(--light-bright); }
.foot-legal { max-width: var(--max); margin: 64px auto 0; padding: 24px var(--gutter) 0; border-top: 1px solid rgba(232, 234, 237, 0.08); font-size: 13px; letter-spacing: 0.04em; }

/* ---------- Scroll reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal.d1 { transition-delay: 0.1s; } .js .reveal.d2 { transition-delay: 0.2s; } .js .reveal.d3 { transition-delay: 0.3s; }
.js .draw .d-strong { stroke-dasharray: 1600; stroke-dashoffset: 1600; transition: stroke-dashoffset 2.4s var(--ease); }
.js .draw.in .d-strong { stroke-dashoffset: 0; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .spin, .pulse, .d-flow, .hero-cue::after, .alogo *, .alogo .wm { animation: none !important; }
  .js .reveal, .js .reveal .track span { opacity: 1; transform: none; transition: none; }
  .js .draw .d-strong { stroke-dashoffset: 0; transition: none; }
}
