/* Moxon AI — home page (black, full-bleed). Other pages use site.css or landing.css. */

@font-face { font-family: "Barlow"; font-style: normal; font-weight: 300; font-display: swap; src: url("../fonts/barlow-latin-300.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/barlow-latin-400.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/barlow-latin-500.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/barlow-latin-600.woff2") format("woff2"); }
@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"); }

/* ---------- Tokens ---------- */
:root {
  --bg: #000;
  --panel: #0A0B0C;
  --ink: #fff;
  --soft: #C3C7CC;
  --meta: #8D9399;
  --line: rgba(255, 255, 255, 0.16);
  --line-soft: rgba(255, 255, 255, 0.09);
  --accent: #3CCB8E;
  --error: #FF9385;
  --display: "Barlow", "DIN Alternate", "Helvetica Neue", Arial, sans-serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: clamp(20px, 5vw, 72px);
  --max: 1360px;
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4, p, ul, ol, figure, fieldset { margin: 0; padding: 0; }
ul, ol { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 16px; top: -80px; z-index: 100; padding: 12px 18px;
  background: var(--ink); color: #000; font-family: var(--display); font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.8125rem; text-decoration: none;
}
.skip:focus { top: 16px; }

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

/* ---------- Type ---------- */
.kicker {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--display); font-weight: 500; font-size: 0.8125rem;
  letter-spacing: 0.24em; text-transform: uppercase; color: var(--soft);
}
.kicker::before { content: ""; width: 28px; height: 1px; background: var(--accent); flex: none; }
.h-display, .h2, .h3 { font-family: var(--display); text-transform: uppercase; font-weight: 600; text-wrap: balance; }
.h-display { font-size: clamp(2.75rem, 7.2vw, 6.5rem); line-height: 0.96; letter-spacing: 0.005em; }
.h2 { font-size: clamp(2rem, 4.4vw, 3.75rem); line-height: 1.02; letter-spacing: 0.01em; }
.h3 { font-size: clamp(1.25rem, 1.6vw, 1.5rem); line-height: 1.15; letter-spacing: 0.04em; font-weight: 500; }
.lede { font-size: clamp(1.0625rem, 1.35vw, 1.3125rem); line-height: 1.55; color: var(--soft); max-width: 52ch; }
.body { color: var(--soft); max-width: 58ch; }

/* ---------- Buttons ---------- */
.btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  min-height: 52px; padding: 0 30px;
  border: 1.5px solid var(--ink); background: transparent; color: var(--ink);
  font-family: var(--display); font-weight: 600; font-size: 0.8125rem;
  letter-spacing: 0.2em; text-transform: uppercase; text-decoration: none;
  cursor: pointer; transition: color .45s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ink);
  transform: translateY(101%); transition: transform .45s var(--ease);
}
.btn:hover, .btn:focus-visible { color: #000; }
.btn:hover::before, .btn:focus-visible::before { transform: none; }
.btn svg { width: 16px; height: 16px; flex: none; transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn-solid { background: var(--ink); color: #000; }
.btn-solid::before { background: var(--accent); }
.btn-sm { min-height: 44px; padding: 0 20px; font-size: 0.75rem; }
.btn[disabled] { opacity: 0.6; cursor: progress; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

.arrow-link {
  display: inline-flex; align-items: center; gap: 12px; min-height: 44px;
  font-family: var(--display); font-weight: 500; font-size: 0.8125rem; letter-spacing: 0.2em;
  text-transform: uppercase; text-decoration: none; color: var(--ink);
  background: linear-gradient(currentColor, currentColor) 0 calc(100% - 8px) / 100% 1px no-repeat;
}
.arrow-link svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.arrow-link:hover svg { transform: translateX(5px); }
.arrow-link:hover { color: var(--accent); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background-color .4s ease, border-color .4s ease;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled { background: rgba(0, 0, 0, 0.82); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom-color: var(--line-soft); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 72px; }
.brand {
  font-family: var(--display); font-weight: 600; font-size: 1.125rem; letter-spacing: 0.34em;
  text-transform: uppercase; text-decoration: none; white-space: nowrap; display: inline-flex; align-items: center; min-height: 44px;
}
.brand span { font-weight: 300; margin-left: 0.5em; }
.nav-links { display: none; }
.nav-links a {
  position: relative; display: inline-flex; align-items: center; min-height: 44px;
  font-family: var(--display); font-weight: 500; font-size: 0.8125rem; letter-spacing: 0.18em;
  text-transform: uppercase; text-decoration: none;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 8px; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.nav-links a:hover::after, .nav-links a[aria-current="true"]::after { transform: none; }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-cta { display: none; }
.menu-toggle {
  display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px;
  border: 0; background: transparent; cursor: pointer;
}
.menu-toggle svg { width: 24px; height: 24px; }
.menu-toggle .i-close, .menu-toggle[aria-expanded="true"] .i-menu { display: none; }
.menu-toggle[aria-expanded="true"] .i-close { display: block; }

@media (max-width: 1079px) {
  .site-nav {
    position: fixed; inset: 72px 0 0 0; background: #000; padding: 24px var(--gutter) 40px;
    display: flex; flex-direction: column; gap: 28px; overflow-y: auto;
    visibility: hidden; opacity: 0; transition: opacity .3s ease, visibility 0s .3s;
  }
  .site-nav.is-open { visibility: visible; opacity: 1; transition: opacity .3s ease; }
  .site-nav .nav-links { display: flex; flex-direction: column; }
  .site-nav .nav-links a { width: 100%; min-height: 60px; font-size: 1.5rem; letter-spacing: 0.08em; border-bottom: 1px solid var(--line-soft); }
  .site-nav .nav-links a::after { display: none; }
  .site-nav .btn { align-self: flex-start; }
}
@media (min-width: 1080px) {
  .menu-toggle { display: none; }
  .site-nav { display: flex; align-items: center; gap: 40px; }
  .site-nav .nav-links { display: flex; gap: 34px; }
  .site-nav .btn { display: none; }
  .nav-cta { display: inline-flex; }
}

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; }
.hero-media, .hero-media video, .hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(to top, #000 0%, rgba(0,0,0,0.72) 22%, rgba(0,0,0,0) 58%),
    linear-gradient(to right, rgba(0,0,0,0.78) 0%, rgba(0,0,0,0.25) 55%, rgba(0,0,0,0) 80%),
    linear-gradient(to bottom, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0) 22%);
}
.hero-inner { position: relative; padding-top: 140px; padding-bottom: clamp(28px, 4vw, 56px); }
.hero .h-display { max-width: 15ch; }
.hero .lede { margin-top: 26px; color: #E4E6E9; max-width: 44ch; }
.hero .btn-row { margin-top: 36px; }
.hero-kicker, .hero .h-display, .hero .lede, .hero .btn-row, .hero-stages { animation: rise 1.1s var(--ease) both; }
.hero .lede { animation-delay: .14s; }
.hero .btn-row { animation-delay: .28s; }
.hero-stages { animation-delay: .6s; }
@keyframes rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }

.hero-stages { display: grid; margin-top: clamp(64px, 11vw, 168px); border-top: 1px solid var(--line); }
.hero-stage {
  position: relative; display: flex; align-items: baseline; gap: 16px; padding: 18px 0;
  text-decoration: none; border-bottom: 1px solid var(--line-soft);
  font-family: var(--display); text-transform: uppercase; letter-spacing: 0.14em; font-weight: 500; font-size: 0.9375rem;
  color: var(--soft); transition: color .4s ease;
}
.hero-stage b { font-weight: 500; font-size: 0.75rem; letter-spacing: 0.2em; color: var(--meta); transition: color .4s ease; }
.hero-stage::before {
  content: ""; position: absolute; left: 0; top: -1px; height: 1px; width: 100%; background: var(--accent);
  transform: scaleX(0); transform-origin: left; transition: transform .9s var(--ease);
}
.hero-stage:hover, .hero-stage.is-active { color: var(--ink); }
.hero-stage:hover b, .hero-stage.is-active b { color: var(--accent); }
.hero-stage:hover::before, .hero-stage.is-active::before { transform: none; }
@media (min-width: 760px) {
  .hero-stages { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 32px; }
  .hero-stage { border-bottom: 0; padding: 22px 0 6px; }
}
.video-toggle {
  position: absolute; right: var(--gutter); top: 88px; z-index: 2;
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 4px;
  border: 0; background: transparent; cursor: pointer; color: var(--soft);
  font-family: var(--display); font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase;
}
.video-toggle:hover { color: var(--ink); }
.video-toggle i { width: 10px; height: 10px; border-inline: 3px solid currentColor; }
.video-toggle[aria-pressed="true"] i { width: 0; height: 0; border: 6px solid transparent; border-left: 10px solid currentColor; border-right: 0; }

/* ---------- Reveal on scroll (only when JS runs) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(32px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal="2"] { transition-delay: .12s; }
.js [data-reveal="3"] { transition-delay: .24s; }
.js [data-reveal="4"] { transition-delay: .36s; }

/* ---------- Sections ---------- */
.section { padding-block: clamp(88px, 11vw, 168px); }
.section-head { display: grid; gap: 22px; margin-bottom: clamp(44px, 6vw, 80px); }
.section-head .lede { margin-top: 4px; }
.rule { border: 0; border-top: 1px solid var(--line-soft); margin: 0; }

/* ---------- Stage panels (Consult / Proof of concept / Deployment) ---------- */
.stage { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; border-top: 1px solid var(--line-soft); }
.stage-bg { position: absolute; inset: -6% 0; width: 100%; height: 112%; object-fit: cover; object-position: 70% 50%; will-change: transform; }
.stage::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(to right, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.55) 45%, rgba(0,0,0,0) 78%),
    linear-gradient(to top, #000 0%, rgba(0,0,0,0) 34%),
    linear-gradient(to bottom, #000 0%, rgba(0,0,0,0) 20%);
}
.stage-inner { position: relative; z-index: 1; padding-block: clamp(96px, 12vw, 150px) clamp(56px, 8vw, 110px); }
.stage-num {
  font-family: var(--display); font-weight: 300; font-size: clamp(5rem, 15vw, 13rem); line-height: 0.8;
  color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,0.7); letter-spacing: 0.01em; margin-bottom: clamp(20px, 3vw, 36px);
}
.stage .h2 { margin-top: 18px; max-width: 14ch; }
.stage .lede { margin-top: 22px; max-width: 46ch; color: #DDE0E3; }
.stage-steps { display: grid; gap: 0; margin-top: clamp(32px, 4vw, 52px); max-width: 720px; border-top: 1px solid var(--line); }
.stage-steps li { padding: 16px 0; border-bottom: 1px solid var(--line-soft); }
.stage-steps strong { display: block; font-family: var(--display); font-weight: 500; font-size: 0.875rem; letter-spacing: 0.2em; text-transform: uppercase; }
.stage-steps span { display: block; margin-top: 4px; font-size: 0.9375rem; color: var(--soft); }
@media (max-width: 759px) {
  .stage-bg { object-position: 78% 50%; }
  .stage::after { background: linear-gradient(to top, #000 0%, rgba(0,0,0,0.82) 55%, rgba(0,0,0,0.35) 80%, #000 100%); }
}
@media (min-width: 760px) {
  .stage-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 28px; }
  .stage-steps li { border-bottom: 0; padding: 18px 0 0; }
}

/* ---------- Process flow graphic ---------- */
.flow-wrap { position: relative; }
.flow { --head: 96px; position: relative; display: grid; }
.flow-phase { position: relative; }
.flow-head { display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; padding-bottom: 20px; }
.flow-head b { font-family: var(--display); font-weight: 500; font-size: 0.75rem; letter-spacing: 0.24em; color: var(--accent); }
.flow-head h3 { font-family: var(--display); font-weight: 600; font-size: clamp(1.375rem, 2vw, 1.75rem); letter-spacing: 0.06em; text-transform: uppercase; line-height: 1.1; }
.flow-steps { position: relative; display: grid; }
.flow-step { position: relative; }
.flow-step i {
  position: relative; z-index: 1; display: block; width: 15px; height: 15px; border-radius: 50%;
  background: #000; border: 1.5px solid var(--ink);
  transform: scale(0); transition: transform .6s var(--ease), background-color .4s ease, box-shadow .4s ease;
}
.flow.is-in .flow-step i { transform: none; }
.flow-step strong { display: block; font-family: var(--display); font-weight: 500; font-size: 1rem; letter-spacing: 0.14em; text-transform: uppercase; }
.flow-step span { display: block; margin-top: 6px; font-size: 0.9375rem; line-height: 1.5; color: var(--soft); max-width: 24ch; }
.flow-step strong, .flow-step span { opacity: 0; transform: translateY(12px); transition: opacity .7s ease, transform .7s var(--ease); }
.flow.is-in .flow-step strong, .flow.is-in .flow-step span { opacity: 1; transform: none; }
.flow-gate {
  display: inline-flex; align-items: center; gap: 12px; font-family: var(--display); font-weight: 500;
  font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent);
}
.flow-gate::before { content: ""; width: 11px; height: 11px; border: 1.5px solid var(--accent); transform: rotate(45deg); flex: none; background: #000; }

/* step-by-step delays: nine nodes light in order */
.flow-phase:nth-child(1) .flow-step:nth-child(1) > * { transition-delay: .2s; }
.flow-phase:nth-child(1) .flow-step:nth-child(2) > * { transition-delay: .4s; }
.flow-phase:nth-child(1) .flow-step:nth-child(3) > * { transition-delay: .6s; }
.flow-phase:nth-child(2) .flow-step:nth-child(1) > * { transition-delay: .9s; }
.flow-phase:nth-child(2) .flow-step:nth-child(2) > * { transition-delay: 1.1s; }
.flow-phase:nth-child(2) .flow-step:nth-child(3) > * { transition-delay: 1.3s; }
.flow-phase:nth-child(3) .flow-step:nth-child(1) > * { transition-delay: 1.6s; }
.flow-phase:nth-child(3) .flow-step:nth-child(2) > * { transition-delay: 1.8s; }
.flow-phase:nth-child(3) .flow-step:nth-child(3) > * { transition-delay: 2s; }

/* narrow: vertical track down the left */
@media (max-width: 899px) {
  .flow { gap: 44px; }
  .flow-head { padding-bottom: 24px; }
  .flow-steps { gap: 22px; padding-left: 38px; }
  .flow-steps::before { content: ""; position: absolute; left: 7px; top: 6px; bottom: -34px; width: 1px; background: var(--line); transform: scaleY(0); transform-origin: top; transition: transform 1.6s var(--ease); }
  .flow-phase:last-child .flow-steps::before { bottom: 30px; }
  .flow.is-in .flow-steps::before { transform: none; }
  .flow-step i { position: absolute; left: -38px; top: 6px; }
  .flow-gate { margin: 26px 0 0 2px; gap: 25px; }
}
/* wide: one horizontal track with a travelling pulse */
@media (min-width: 900px) {
  .flow { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .flow-head { height: var(--head); padding-right: 24px; }
  .flow-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); padding-top: 0; }
  .flow-step { padding-right: 18px; }
  .flow-step i { margin-bottom: 22px; }
  .flow::before, .flow::after { content: ""; position: absolute; top: calc(var(--head) + 7px); height: 1px; }
  .flow::before { left: 0; right: 0; background: var(--line); transform: scaleX(0); transform-origin: left; transition: transform 2.2s var(--ease); }
  .flow.is-in::before { transform: none; }
  .flow::after {
    left: 0; width: 160px; margin-top: -1px; height: 3px; opacity: 0;
    background: linear-gradient(to right, rgba(60,203,142,0), var(--accent) 80%, #fff);
    filter: drop-shadow(0 0 8px var(--accent));
  }
  .flow.is-in::after { animation: pulse-x 6s linear 2.2s infinite; }
  .flow-gate { position: absolute; right: calc(100% / 6 - 9px); top: calc(var(--head) + 2px); z-index: 2; }
  .flow-gate span { position: absolute; right: 0; bottom: 70px; white-space: nowrap; }
  .flow-gate::after { content: ""; position: absolute; right: 5px; bottom: 15px; width: 1px; height: 50px; background: rgba(60, 203, 142, 0.55); }
}
@keyframes pulse-x {
  0% { left: 0; opacity: 0; }
  6% { opacity: 1; }
  92% { opacity: 1; }
  100% { left: calc(100% - 160px); opacity: 0; }
}

/* ---------- Integration diagram ---------- */
.wire { display: grid; gap: 0; align-items: stretch; }
.wire-col { display: grid; gap: 12px; align-content: center; }
.wire-label { font-family: var(--display); font-weight: 500; font-size: 0.75rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--meta); margin-bottom: 6px; }
.wire-node {
  display: flex; align-items: center; min-height: 64px; padding: 12px 20px; border: 1px solid var(--line); background: var(--panel);
  font-family: var(--display); font-weight: 500; font-size: 0.9375rem; letter-spacing: 0.14em; text-transform: uppercase;
}
.wire-node small { display: block; margin-top: 2px; font-family: var(--sans); font-size: 0.8125rem; letter-spacing: 0; text-transform: none; color: var(--meta); font-weight: 400; }
.wire-node > span { display: block; }
.wire-out .wire-node { border-color: rgba(60, 203, 142, 0.5); }
.wire-hub { position: relative; display: grid; place-items: center; }
.wire-core {
  position: relative; width: clamp(180px, 20vw, 240px); aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; text-align: center;
  border: 1px solid rgba(255,255,255,0.5); background: radial-gradient(circle at 50% 40%, rgba(60,203,142,0.2), rgba(0,0,0,0) 68%);
  font-family: var(--display); font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; font-size: 0.9375rem; line-height: 1.5;
}
.wire-core small { display: block; font-weight: 400; font-size: 0.6875rem; letter-spacing: 0.22em; color: var(--accent); }
.wire-core::before, .wire-core::after { content: ""; position: absolute; inset: -16px; border-radius: 50%; border: 1px dashed rgba(255,255,255,0.28); animation: spin 40s linear infinite; }
.wire-core::after { inset: -34px; border-style: solid; border-color: rgba(255,255,255,0.1); border-top-color: var(--accent); animation-duration: 9s; }
@keyframes spin { to { transform: rotate(360deg); } }
.wire-lines { display: none; }
@media (max-width: 899px) {
  .wire { gap: 0; }
  .wire-hub { padding-block: 64px; }
  .wire-hub::before, .wire-hub::after { content: ""; position: absolute; left: 50%; width: 1px; height: 30px; background: linear-gradient(var(--line), var(--accent)); }
  .wire-hub::before { top: 0; }
  .wire-hub::after { bottom: 0; transform: scaleY(-1); }
}
@media (min-width: 900px) {
  .wire { grid-template-columns: minmax(0, 1fr) clamp(70px, 9vw, 150px) auto clamp(70px, 9vw, 150px) minmax(0, 1fr); }
  .wire-col { grid-auto-rows: 1fr; align-content: stretch; gap: 14px; }
  .wire-label { position: absolute; transform: translateY(-34px); margin: 0; }
  .wire-col { position: relative; }
  .wire-hub { padding-inline: 40px; }
  .wire-lines { display: block; width: 100%; height: 100%; overflow: visible; }
  .wire-lines path { fill: none; stroke: rgba(255,255,255,0.3); stroke-width: 1; vector-effect: non-scaling-stroke; }
  .wire-lines .run { stroke: var(--accent); stroke-width: 1.5; stroke-dasharray: 6 110; animation: dash 3.2s linear infinite; }
  .wire-lines .run:nth-of-type(2n) { animation-delay: -1.1s; }
  .wire-lines .run:nth-of-type(3n) { animation-delay: -2.2s; }
}
@keyframes dash { from { stroke-dashoffset: 116; } to { stroke-dashoffset: 0; } }

/* ---------- Solutions ---------- */
.cards { display: grid; border-top: 1px solid var(--line); }
.card { position: relative; padding: 32px 0 36px; border-bottom: 1px solid var(--line-soft); }
.card b { font-family: var(--display); font-weight: 500; font-size: 0.75rem; letter-spacing: 0.24em; color: var(--accent); }
.card .h3 { margin-top: 18px; }
.card p { margin-top: 14px; color: var(--soft); font-size: 1rem; max-width: 46ch; }
.card::before { content: ""; position: absolute; left: 0; top: -1px; width: 100%; height: 1px; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease); }
.card:hover::before { transform: none; }
@media (min-width: 760px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 56px; }
}
@media (min-width: 1180px) {
  .cards { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 40px; }
  .card { border-bottom: 0; padding-bottom: 0; }
}
.more-links { display: flex; flex-wrap: wrap; gap: 12px 44px; margin-top: clamp(40px, 5vw, 64px); }

/* ---------- Results ---------- */
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 28px; }
.stat-num { font-family: var(--display); font-weight: 300; font-size: clamp(2.75rem, 5.4vw, 5rem); line-height: 1; letter-spacing: 0.01em; white-space: nowrap; }
.stat-num small { font-size: 0.34em; letter-spacing: 0.12em; text-transform: uppercase; color: var(--soft); margin-left: 4px; }
.stat-num + p { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 0.9375rem; color: var(--soft); max-width: 30ch; }
@media (min-width: 760px) { .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1180px) { .stats { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0 36px; } }

.cases { margin-top: clamp(72px, 9vw, 128px); border-top: 1px solid var(--line); }
.case { display: grid; gap: 18px; padding: clamp(28px, 4vw, 48px) 0; border-bottom: 1px solid var(--line-soft); }
.case-stat { font-family: var(--display); font-weight: 300; font-size: clamp(2.5rem, 4.6vw, 4.25rem); line-height: 1; }
.case-stat + p { margin-top: 10px; font-family: var(--display); font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); max-width: 28ch; line-height: 1.6; }
.case .h3 { font-weight: 600; }
.case-kind { margin-top: 6px; color: var(--meta); font-size: 0.9375rem; }
.case-body { margin-top: 16px; color: var(--soft); max-width: 62ch; font-size: 1rem; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.tags li { padding: 5px 12px; border: 1px solid var(--line); font-family: var(--display); font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--soft); }
@media (min-width: 900px) { .case { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 48px; } }

/* ---------- Our own products ---------- */
.products { display: grid; border-top: 1px solid var(--line); }
.product { display: block; padding: 22px 0; border-bottom: 1px solid var(--line-soft); text-decoration: none; transition: padding .4s var(--ease), background-color .4s ease; }
.product strong { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-family: var(--display); font-weight: 500; font-size: 1.0625rem; letter-spacing: 0.1em; text-transform: uppercase; }
.product strong svg { width: 16px; height: 16px; flex: none; color: var(--meta); transition: transform .3s var(--ease), color .3s ease; }
.product span { display: block; margin-top: 6px; font-size: 0.9375rem; color: var(--soft); max-width: 44ch; }
.product:hover strong svg { color: var(--accent); transform: translate(3px, -3px); }
@media (min-width: 760px) { .products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 56px; } }
@media (min-width: 1180px) { .products { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---------- Invest ---------- */
.duo { display: grid; gap: 0; border-top: 1px solid var(--line); }
.duo > div { padding: 36px 0 40px; border-bottom: 1px solid var(--line-soft); }
.duo .h3 { margin-top: 14px; font-weight: 600; font-size: clamp(1.5rem, 2.4vw, 2rem); }
.duo p { margin-top: 14px; color: var(--soft); max-width: 52ch; font-size: 1rem; }
.duo .arrow-link { margin-top: 20px; }
.duo .small { font-size: 0.8125rem; color: var(--meta); }
@media (min-width: 900px) { .duo { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 72px; } .duo > div { border-bottom: 0; } }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); max-width: 980px; }
.faq details { border-bottom: 1px solid var(--line-soft); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 22px 0; cursor: pointer; list-style: none;
  font-family: var(--display); font-weight: 500; font-size: clamp(1.0625rem, 1.5vw, 1.25rem); letter-spacing: 0.06em; text-transform: uppercase;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 14px; height: 14px; background: linear-gradient(currentColor, currentColor) center / 100% 1.5px no-repeat, linear-gradient(currentColor, currentColor) center / 1.5px 100% no-repeat; transition: transform .35s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 26px; color: var(--soft); max-width: 70ch; }

/* ---------- Contact ---------- */
.contact { border-top: 1px solid var(--line-soft); background: radial-gradient(90% 60% at 80% 0%, rgba(60,203,142,0.1), rgba(0,0,0,0) 70%); }
.contact-grid { display: grid; gap: 56px; }
@media (min-width: 1080px) { .contact-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 120px; align-items: start; } }
.contact-aside .lede { margin-top: 24px; }
.consult-card { margin-top: clamp(48px, 6vw, 80px); padding-top: 32px; border-top: 1px solid var(--line); }
.consult-meta { font-family: var(--display); font-size: 0.75rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); }
.consult-card .h3 { font-weight: 500; }
.consult-card p { margin-top: 18px; color: var(--soft); font-size: 0.9375rem; max-width: 40ch; }
.consult-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 22px; }
.consult-direct { font-size: 0.875rem; color: var(--soft); min-height: 44px; display: inline-flex; align-items: center; }
.consult-frame { margin-top: 22px; }
.consult-frame iframe { display: block; width: 100%; height: 720px; min-height: 620px; border: 0; background: #fff; }
.consult-note { font-size: 0.8125rem !important; color: var(--meta) !important; }
.consult-note a, .form-note a, .form-alt a { color: var(--soft); }

.enquiry fieldset { min-width: 0; border: 0; margin: 0 0 52px; }
.enquiry legend, .field label {
  display: block; padding: 0; margin-bottom: 10px;
  font-family: var(--display); font-weight: 500; font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--soft);
}
.enquiry legend { margin-bottom: 16px; }
.req-note, .opt { color: var(--meta); letter-spacing: 0.1em; margin-left: 6px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { position: relative; display: inline-flex; }
.chip input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.chip span {
  display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px; border: 1px solid rgba(255, 255, 255, 0.34);
  font-size: 0.9375rem; color: var(--soft); transition: border-color .25s ease, color .25s ease, background-color .25s ease;
}
.chip:hover span { border-color: var(--ink); color: var(--ink); }
.chip input:checked + span { background: var(--ink); border-color: var(--ink); color: #000; }
.chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 3px; }
.routes[aria-invalid="true"] .chip span { border-color: var(--error); }
.fields { display: grid; gap: 28px 24px; }
.more-fields summary { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; cursor: pointer; list-style: none; font-family: var(--display); font-weight: 500; font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--soft); }
.more-fields summary::-webkit-details-marker { display: none; }
.more-fields summary::before { content: "+"; font-size: 1.125rem; letter-spacing: 0; color: var(--accent); }
.more-fields[open] summary::before { content: "–"; }
.more-fields summary:hover { color: var(--ink); }
.more-fields > .fields { margin-top: 28px; }
@media (min-width: 640px) { .fields { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.field { min-width: 0; }
.field-full { grid-column: 1 / -1; }
.enquiry input[type="text"], .enquiry input[type="email"], .enquiry select, .enquiry textarea {
  display: block; width: 100%; min-height: 56px; padding: 14px 18px; border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 0; background: #0D0F11; color: var(--ink); font-size: 1.0625rem; transition: border-color .25s ease, background-color .25s ease;
  -webkit-appearance: none; appearance: none;
}
.enquiry textarea { min-height: 150px; line-height: 1.5; resize: vertical; }
.enquiry select { background: #0D0F11 linear-gradient(45deg, transparent 50%, #fff 50%) right 18px center / 7px 7px no-repeat; padding-right: 44px; }
.enquiry ::placeholder { color: var(--meta); opacity: 1; }
.enquiry input:hover, .enquiry select:hover, .enquiry textarea:hover { border-color: var(--soft); }
.enquiry input:focus-visible, .enquiry select:focus-visible, .enquiry textarea:focus-visible { outline: none; border-color: var(--accent); background-color: #111417; box-shadow: 0 0 0 1px var(--accent); }
.enquiry [aria-invalid="true"] { border-color: var(--error) !important; }
.field-error { display: block; margin-top: 8px; font-size: 0.8125rem; color: var(--error); }
.field-error:empty { display: none; }
.check { display: flex; gap: 12px; align-items: flex-start; }
.check input { width: 22px; height: 22px; margin: 1px 0 0; flex: none; accent-color: var(--accent); }
.check label { margin: 0; font-family: var(--sans); font-size: 0.9375rem; letter-spacing: 0; text-transform: none; color: var(--soft); }
.cond { display: none; }
.cond.is-shown { display: block; }
.enquiry:has(#route-pitch:checked) .if-pitch, .enquiry:has(#route-invest:checked) .if-invest { display: block; }
.enquiry:has(#route-speaking:checked) .if-budget { display: none; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; margin-top: 48px; }
.form-actions .btn { min-width: 170px; }
.form-note { max-width: 44ch; font-size: 0.8125rem; color: var(--meta); }
.form-status { margin-top: 16px; font-size: 0.9375rem; color: var(--error); }
.form-status:empty { display: none; }
.form-alt { margin-top: 28px; font-size: 0.9375rem; color: var(--soft); }
.form-success:focus { outline: none; }
.form-success h3 { font-family: var(--display); text-transform: uppercase; font-weight: 600; font-size: clamp(2rem, 3vw, 2.75rem); letter-spacing: 0.02em; }
.form-success p { margin-top: 14px; color: var(--soft); max-width: 40ch; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line-soft); padding-block: 48px 40px; font-size: 0.8125rem; color: var(--meta); }
.footer-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 40px; padding-bottom: 32px; border-bottom: 1px solid var(--line-soft); }
.footer-top .brand { color: var(--ink); }
.footer-links { display: flex; flex-wrap: wrap; gap: 4px 28px; }
.footer-links a {
  display: inline-flex; align-items: center; min-height: 44px; font-family: var(--display); font-weight: 500; font-size: 0.75rem;
  letter-spacing: 0.2em; text-transform: uppercase; text-decoration: none; color: var(--soft);
}
.footer-links a:hover { color: var(--ink); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 40px; padding-top: 28px; line-height: 1.7; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .flow-step i, .flow-step strong, .flow-step span { transform: none; opacity: 1; }
  .flow::before, .flow-steps::before { transform: none; }
  .flow::after { display: none; }
}
