/* =====================================================================
   AGENCY ROBOTICS — paper & instrument
   warm mint paper · ink navy · logo teal · dark instrument panels
   editorial hairlines instead of card boxes
   ===================================================================== */

/* ---------- Design system tokens (vendored from Claude Design) ---------- */
@import "tokens/fonts.css";
@import "tokens/colors.css";
@import "tokens/typography.css";
@import "tokens/spacing.css";

/* dark instrument panels redefine the palette locally (mirrors .on-dark) */
.console, .chart-card,
.cta-band, .cta-fullbleed, .apply-card, .footer {
  --text-strong: #eef6f3;
  --text-body: #a8bdb7;
  --text-muted: #8aa39c;
  --border: rgba(157, 222, 203, 0.12);
  --border-strong: rgba(157, 222, 203, 0.26);
  --accent-bright: #3be8ba;
  --accent-tint: rgba(59, 232, 186, 0.12);
  --zone-a: #3be8ba;
  --zone-b: #62aef0;
  --zone-c: #f3826f;
  --zone-d: #e9b45c;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  background: var(--bg-page);
  color: var(--text-strong);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 400;
  letter-spacing: -0.011em;
  overflow-x: hidden;
  min-height: 100vh;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul { list-style: none; }
::selection { background: rgba(12, 138, 111, 0.18); color: var(--text-strong); }

/* Headings & subheads balance their lines so they never orphan 1–2 words; body copy avoids widows */
h1, h2, h3, h4, h5, .headline, .mission-statement, .lede, .callout, .apply-row h2 {
  text-wrap: balance;
}
p, li { text-wrap: pretty; }

/* ---------- Atmosphere ---------- */
.vignette {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(90% 60% at 70% -10%, rgba(12, 138, 111, 0.07), transparent 60%),
    radial-gradient(70% 50% at 0% 20%, rgba(76, 148, 207, 0.05), transparent 60%),
    radial-gradient(80% 60% at 100% 90%, rgba(12, 138, 111, 0.05), transparent 60%);
}
main, .nav, .footer, .mobile-menu { position: relative; z-index: 2; }

/* ---------- Page veil (transition between pages) ---------- */
.veil {
  position: fixed; inset: 0; z-index: 100;
  background: var(--bg-page);
  display: grid; place-items: center;
  opacity: 1; pointer-events: auto;
  transition: opacity 0.32s ease, visibility 0.32s ease;
  /* failsafe: even if JS never runs, the veil clears itself */
  animation: veilFailsafe 0.45s ease 2.5s forwards;
}
html.veil-off .veil { opacity: 0; visibility: hidden; pointer-events: none; animation: none; }
/* cold loads / refreshes skip the veil entirely — it only plays between pages */
html.veil-skip .veil { display: none; }
@keyframes veilFailsafe { to { opacity: 0; visibility: hidden; } }
.veil img { width: 44px; animation: veilPulse 1.2s ease infinite; }
@keyframes veilPulse {
  0%,100% { transform: scale(1); opacity: 0.85; }
  50% { transform: scale(1.12); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) { .veil { display: none; } }

/* ---------- Scaffolding ---------- */
.container { width: min(var(--container), calc(100% - 48px)); margin-inline: auto; }
.section { padding-block: clamp(88px, 11vw, 136px); position: relative; }
.section-tight { padding-block: clamp(56px, 7vw, 88px); position: relative; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent-deep);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: ""; width: 22px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-deep));
}

/* ---------- Mission band (company) — statement over the filtered facility photo ---------- */
.mission-band {
  position: relative;
  padding-block: clamp(88px, 13vw, 168px);
  display: flex; justify-content: center;
  text-align: center;
  background-image:
    linear-gradient(180deg, rgba(8, 24, 21, 0.66), rgba(8, 24, 21, 0.78)),
    url("../assets/mission-facility.jpg");
  background-size: cover;
  background-position: center;
  border-block: 1px solid rgba(8, 24, 22, 0.9);
}
.mission-band .mission-inner { position: relative; max-width: 960px; padding-inline: 24px; }
.mission-band .eyebrow { color: #7cf0d0; }
.mission-band .eyebrow::before { background: linear-gradient(90deg, transparent, #7cf0d0); }
.mission-statement {
  margin-top: 18px;
  color: #eef6f3;
  font-size: clamp(28px, 4.4vw, 50px);
  font-weight: 300; letter-spacing: -0.03em; line-height: 1.18;
  text-wrap: balance;
  text-shadow: 0 2px 24px rgba(6, 18, 16, 0.5);
}
.headline {
  font-size: clamp(30px, 4.4vw, 52px);
  font-weight: 330;
  line-height: 1.08;
  letter-spacing: -0.034em;
  color: var(--text-strong);
  margin-top: 18px;
  text-wrap: balance;
}
.lede {
  font-size: clamp(17px, 1.5vw, 19px);
  color: var(--text-body);
  font-weight: 400;
  line-height: 1.65;
  max-width: 640px;
  margin-top: 18px;
}
.section-head { margin-bottom: clamp(44px, 6vw, 64px); }
.section-head.center { text-align: center; }
.section-head.center .lede { margin-inline: auto; }
/* home "the problem" lede is a long sentence — give it room so it doesn't cram onto 3 tight lines */
#problem .section-head .lede { max-width: 820px; }
.text-teal { color: var(--accent); }
.nowrap-lg { white-space: nowrap; }
@media (max-width: 560px) { .nowrap-lg { white-space: normal; } }
.muted { color: var(--text-muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 15px; font-weight: 500; letter-spacing: -0.01em;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease),
              background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
  white-space: nowrap;
}
.btn .arrow { width: 16px; height: 16px; transition: transform 0.35s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn-primary {
  background: linear-gradient(180deg, #0b8166, #086450);
  color: #f2fffb;
  font-weight: 600;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.25),
    0 1px 2px rgba(9, 104, 83, 0.35),
    0 8px 24px rgba(12, 138, 111, 0.22);
}
.btn-primary:hover {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    0 2px 6px rgba(9, 104, 83, 0.4),
    0 12px 34px rgba(12, 138, 111, 0.32);
  transform: translateY(-1px);
}
.btn-ghost {
  border: 1px solid var(--border-strong);
  color: var(--text-strong);
  background: rgba(255, 255, 255, 0.5);
}
.btn-ghost:hover { border-color: rgba(16, 42, 42, 0.4); background: #fff; }
.btn-lg { padding: 15px 28px; font-size: 15.5px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 15px; font-weight: 550; color: var(--accent-deep);
}
.link-arrow .arrow { transition: transform 0.35s var(--ease); display: inline-block; }
.link-arrow:hover .arrow { transform: translateX(5px); }

/* ---------- Nav ---------- */
.nav { position: fixed; top: 14px; left: 0; right: 0; z-index: 50; pointer-events: none; }
.nav-inner {
  pointer-events: auto;
  width: min(1060px, calc(100% - 32px));
  margin-inline: auto;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding-inline: 22px 12px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: background 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}
.nav.scrolled .nav-inner {
  background: rgba(255, 255, 255, 0.78);
  border-color: var(--border);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 10px 34px rgba(16, 42, 42, 0.1);
}
.brand img { height: 26px; width: auto; }
.nav-links { display: flex; gap: 4px; }
.nav-links a {
  padding: 8px 15px; border-radius: 999px;
  font-size: 15px; font-weight: 480; color: var(--text-body);
  transition: color 0.25s ease, background 0.25s ease;
}
.nav-links a:hover { color: var(--text-strong); }
.nav-links a.active { color: var(--text-strong); background: rgba(12, 138, 111, 0.08); }

.nav-toggle {
  display: none; width: 42px; height: 42px;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav-toggle span {
  width: 20px; height: 1.8px; background: var(--text-strong); border-radius: 2px;
  transition: transform 0.35s var(--ease), opacity 0.25s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(6.8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6.8px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 49;
  background: rgba(246, 250, 248, 0.98);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}
.mobile-menu.open { opacity: 1; visibility: visible; pointer-events: auto; }
.mobile-menu a {
  font-size: 26px; font-weight: 380; letter-spacing: -0.02em; color: var(--text-body);
  padding: 10px;
}
.mobile-menu a:hover { color: var(--text-strong); }
.mobile-menu .btn {
  margin-top: 22px;
  font-size: 24px;
  color: #fff;
  padding: 16px 46px;
}
.mobile-menu .btn:hover { color: #fff; }

.scroll-progress {
  position: fixed; top: 0; left: 0; height: 2px; width: 0%;
  background: linear-gradient(90deg, var(--accent-deep), var(--accent-bright));
  z-index: 60;
}

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.d1 { transition-delay: 0.08s; } .d2 { transition-delay: 0.16s; }
.d3 { transition-delay: 0.24s; } .d4 { transition-delay: 0.32s; }
.d5 { transition-delay: 0.4s; }

/* =====================================================================
   HOME — hero
   ===================================================================== */
.hero {
  position: relative;
  padding-top: calc(var(--nav-h) + clamp(70px, 11vh, 130px));
  text-align: center;
  overflow: hidden;
}
.hero .container { position: relative; z-index: 2; }

.hero-pill {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 16px 7px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.65);
  font-family: var(--font-mono);
  font-size: 12px; letter-spacing: 0.04em;
  color: var(--text-body);
  margin-bottom: 32px;
  transition: border-color 0.3s ease, color 0.3s ease;
}
.hero-pill:hover { border-color: var(--border-strong); color: var(--text-strong); }
.hero-pill b { color: var(--accent); font-weight: 600; }

.live-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent-bright);
  box-shadow: 0 0 8px var(--accent-bright);
  animation: pulseDot 2.2s ease infinite;
  flex: none;
}
@keyframes pulseDot { 0%,100% { opacity: 1; } 50% { opacity: 0.35; } }

.hero h1 {
  font-size: clamp(42px, 7vw, 86px);
  font-weight: 270;
  line-height: 1.05;
  letter-spacing: -0.045em;
  color: var(--text-strong);
}
.type-wrap { display: block; }
.hero h1 .typed {
  font-weight: 430;
  background: linear-gradient(100deg, #0a6f58 20%, #14b890 40%, #0c8a6f 50%, #14b890 60%, #0a6f58 80%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmerSlide 5.5s linear infinite;
}
@keyframes shimmerSlide { to { background-position: -220% 0; } }
.type-cursor {
  display: inline-block;
  width: 3px; height: 0.82em;
  margin-left: 6px;
  background: var(--accent);
  box-shadow: 0 0 10px rgba(12, 138, 111, 0.55);
  vertical-align: -0.08em;
  border-radius: 2px;
}
@keyframes blink { 0%,49% { opacity: 1; } 50%,100% { opacity: 0; } }

.hero .lede { margin-inline: auto; max-width: 760px; }
.hero-actions {
  display: flex; gap: 14px; justify-content: center; flex-wrap: wrap;
  margin-top: 34px;
}
.hero-note { margin-top: 26px; font-family: var(--font-mono); font-size: 12.5px; color: var(--text-muted); }
.hero-note a { color: var(--text-body); border-bottom: 1px solid var(--border-strong); transition: color 0.25s ease; }
.hero-note a:hover { color: var(--accent); }

/* eclipse glow behind console — teal halo on paper */
.eclipse { position: relative; height: 0; z-index: 1; }
.eclipse .glow {
  position: absolute; left: 50%; top: -30px;
  width: min(1400px, 160vw); height: 560px;
  transform: translateX(-50%);
  background:
    radial-gradient(46% 50% at 50% 0%, rgba(12, 138, 111, 0.18), transparent 62%),
    radial-gradient(70% 80% at 50% -10%, rgba(12, 138, 111, 0.1), transparent 70%);
  pointer-events: none;
}
.eclipse .rim {
  position: absolute; left: 50%; top: 12px;
  width: min(1100px, 128vw); height: 480px;
  transform: translateX(-50%);
  border-radius: 50%;
  border-top: 1.5px solid rgba(12, 138, 111, 0.55);
  -webkit-mask-image: linear-gradient(180deg, #000 0 12%, transparent 34%);
  mask-image: linear-gradient(180deg, #000 0 12%, transparent 34%);
  pointer-events: none;
}
.eclipse .rim::before {
  content: ""; position: absolute; inset: -3px;
  border-radius: 50%;
  border-top: 7px solid rgba(12, 138, 111, 0.16);
}

/* ---------- Operator console (dark instrument) ---------- */
.console-wrap {
  position: relative; z-index: 2;
  margin-top: clamp(58px, 9vh, 96px);
  padding-bottom: clamp(72px, 9vw, 110px);
}
.console {
  width: min(1080px, calc(100% - 40px));
  margin-inline: auto;
  border-radius: var(--r-l);
  border: 1px solid rgba(8, 24, 22, 0.9);
  background: linear-gradient(180deg, #11302b, var(--ink-panel-deep));
  box-shadow:
    inset 0 1px 0 rgba(176, 255, 226, 0.12),
    0 30px 80px rgba(13, 34, 32, 0.35),
    0 10px 30px rgba(13, 34, 32, 0.25);
  overflow: hidden;
  color: var(--text-strong);
}
.console-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  padding: 13px 20px;
  border-bottom: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
}
.console-title { display: flex; align-items: center; gap: 10px; color: var(--text-body); }
.console-title b { color: var(--text-strong); font-weight: 600; }
.console-stats { display: flex; gap: 24px; }
.console-stat { display: flex; align-items: baseline; gap: 7px; color: var(--text-muted); }
.console-stat output {
  color: var(--accent-bright); font-weight: 600; font-variant-numeric: tabular-nums;
  text-align: right;
}
.console-body { position: relative; }
.console-body canvas { width: 100%; height: auto; }
.console-corelabel {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, 32px);
  font-family: var(--font-mono);
  font-weight: 700; font-size: 12.5px; letter-spacing: 0.04em;
  color: #7cf0d0; white-space: nowrap; pointer-events: none; z-index: 2;
  text-shadow: 0 0 10px rgba(13, 34, 32, 0.95), 0 1px 3px rgba(13, 34, 32, 0.9);
}
.console-mark {
  position: absolute; left: 50%; top: 50%;
  width: 42px; height: 42px;
  transform: translate(-50%, -50%);
  pointer-events: none;
  filter: drop-shadow(0 0 14px rgba(59, 232, 186, 0.6));
  animation: coreBreath 3.4s var(--ease) infinite;
}
@keyframes coreBreath {
  0%,100% { transform: translate(-50%,-50%) scale(1); }
  50% { transform: translate(-50%,-50%) scale(1.07); }
}
.console-foot {
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px; flex-wrap: wrap;
  padding: 11px 20px;
  border-top: 1px solid var(--border);
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em;
  color: var(--text-muted);
}
.console-foot .zones { display: flex; gap: 16px; flex-wrap: wrap; }
.console-foot .zones span { display: inline-flex; align-items: center; gap: 6px; }
.console-foot .zones i { width: 8px; height: 8px; border-radius: 2.5px; }
.zi-a { background: var(--zone-a); } .zi-b { background: var(--zone-b); }
.zi-c { background: var(--zone-c); } .zi-d { background: var(--zone-d); }

/* ---------- Pedigree strip ---------- */
.pedigree {
  padding-block: clamp(48px, 6vw, 72px);
  border-block: 1px solid var(--border);
  background: var(--bg-recessed);
}
.pedigree-label {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.26em;
  text-transform: uppercase; color: var(--text-muted);
  text-align: center; margin-bottom: 28px;
}
.pedigree-row {
  display: flex; align-items: center; justify-content: center;
  gap: clamp(28px, 6vw, 72px); flex-wrap: wrap;
}
.pedigree-item {
  display: inline-flex; align-items: center;
  font-family: var(--font-mono);
  font-size: 15px; font-weight: 500; letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.35s ease;
}
.pedigree-item svg { display: none; }
.pedigree-item + .pedigree-item::before {
  content: "·";
  margin-right: clamp(28px, 6vw, 72px);
  color: var(--border-strong);
}
.pedigree-row { gap: clamp(28px, 6vw, 72px); }
.pedigree-item:hover { color: var(--text-strong); }

/* company logo strip (replaces the text names) */
.pedigree-row.logos { gap: clamp(30px, 5.5vw, 64px); flex-wrap: nowrap; }
.pedigree-row.logos .pedigree-item + .pedigree-item::before { content: none; }
.pedigree-logo {
  height: 30px; width: auto; max-width: 200px;
  object-fit: contain;
  opacity: 0.7;
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}
.pedigree-logo:hover { opacity: 1; transform: translateY(-1px); }
/* stacked lockup sits taller so its wordmark matches the horizontal ones */
.pedigree-logo.pl-motional { height: 54px; }
.pedigree-logo.pl-alert { height: 40px; }
.pedigree-logo.pl-amazon { height: 45px; }
.pedigree-logo.pl-6river { height: 38px; opacity: 0.9; filter: brightness(0.84) contrast(1.12); }
.pedigree-logo.pl-6river:hover { opacity: 1; }

/* narrow screens: stack ALL logos vertically (never bump just one down) */
@media (max-width: 700px) {
  .pedigree-row.logos { flex-direction: column; }
}

/* investor / VC logo strip (company page) — same treatment, per-logo optical sizes */
.pedigree-row.logos.vc-logos { gap: clamp(24px, 3.5vw, 44px); }
.vc-logos a { display: inline-flex; align-items: center; }
.pl-vc-founder { height: 36px; }
.pl-vc-fontinalis { height: 36px; }
.pl-vc-converge { height: 36px; }
.pl-vc-mvp { height: 38px; }
.pl-vc-redblue { height: 28px; }
/* five logos need to stack sooner than the four-up home strip */
@media (max-width: 820px) {
  .pedigree-row.logos.vc-logos { flex-direction: column; }
}

/* ---------- Journey route line (index storyline) ---------- */
.journey { position: relative; }
.journey-svg {
  position: absolute; top: 0; bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: var(--container); height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: visible;
}
.journey > .section, .journey > .section-tight { position: relative; z-index: 1; }
.journey-trail {
  fill: none;
  stroke: rgba(12, 138, 111, 0.16);
  stroke-width: 1.5;
  stroke-dasharray: 7 8;
}
.journey-path {
  fill: none;
  stroke: var(--accent);
  stroke-width: 2;
  stroke-linecap: round;
  opacity: 0.6;
}
.journey-parcel {
  transition: fill 0.5s ease, opacity 0.4s ease;
  filter: drop-shadow(0 3px 6px rgba(16, 42, 42, 0.25));
}
@media (max-width: 1240px) {
  .journey-svg { display: none; }
}

/* ---------- Stat rows (squeeze) — editorial, no boxes ---------- */
.squeeze-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 clamp(24px, 4vw, 48px); }
.stat-card {
  position: relative;
  padding: 24px 0 0;
  border-top: 1px solid var(--border-strong);
}
.stat-card .trend {
  width: 30px; height: 30px; border-radius: 9px;
  display: grid; place-items: center; margin-bottom: 18px;
}
.stat-card .trend svg { width: 15px; height: 15px; }
.stat-card .trend.up { background: rgba(240, 106, 106, 0.12); color: #b93b3b; }
.stat-card .trend.down { background: var(--accent-tint); color: var(--accent); }
.stat-card .trend.brand { background: var(--accent-tint); color: var(--accent-deep); }
/* home "problem" cards: large line-drawing icon in place of a highlight number */
.icon-cards .stat-icon { color: var(--accent); margin-bottom: 20px; }
.icon-cards .stat-icon svg { width: 68px; height: 68px; display: block; }
.icon-cards .stat-card { padding-bottom: 26px; border-bottom: 1px solid var(--border-strong); }
.icon-cards .stat-card .l { margin-top: 12px; font-size: 17px; line-height: 1.55; color: var(--text-body); }
.stat-card .k {
  font-family: var(--font-mono);
  font-size: clamp(21px, 2.1vw, 27px); font-weight: 600;
  letter-spacing: -0.03em; color: var(--text-strong);
  font-variant-numeric: tabular-nums;
  line-height: 1.15; text-wrap: balance;
}
.stat-card .k .unit { font-size: 1em; color: inherit; font-weight: inherit; }
.stat-card .l { margin-top: 10px; font-size: 15px; line-height: 1.55; color: var(--text-muted); }

.callout {
  margin-top: clamp(44px, 6vw, 64px);
  text-align: center;
  font-size: clamp(20px, 2.6vw, 28px);
  font-weight: 330; line-height: 1.45; letter-spacing: -0.02em;
  color: var(--text-body);
  max-width: 760px; margin-inline: auto;
  text-wrap: balance;
}
.callout em { font-style: normal; color: var(--text-strong); }

/* ---------- Tradeoff chart (dark instrument) + pillars (list) ---------- */
.tradeoff {
  display: grid; grid-template-columns: 1.05fr 1fr;
  gap: clamp(32px, 5vw, 64px); align-items: center;
}
.chart-card {
  border-radius: var(--r-l);
  border: 1px solid rgba(8, 24, 22, 0.9);
  background: linear-gradient(180deg, #11302b, var(--ink-panel-deep));
  padding: 24px;
  box-shadow:
    inset 0 1px 0 rgba(176, 255, 226, 0.12),
    0 24px 60px rgba(13, 34, 32, 0.3);
}
.chart-title {
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--text-muted); margin-bottom: 14px;
}
.chart-card.media { padding: 0; overflow: hidden; }
.chart-card.media img { width: 100%; height: auto; display: block; }
.chart-svg { width: 100%; height: auto; }
.chart-svg .axis-label { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; fill: var(--text-muted); }
.path-draw { stroke-dasharray: var(--len); stroke-dashoffset: var(--len); fill: none; stroke-linecap: round; }
.chart-card.in-view .path-draw { animation: drawPath 1.8s var(--ease) forwards; }
.chart-card.in-view .path-old { animation-delay: 0.2s; }
.chart-card.in-view .path-new, .chart-card.in-view .path-new-glow { animation-delay: 0.7s; }
@keyframes drawPath { to { stroke-dashoffset: 0; } }
.path-old { stroke: rgba(243, 130, 111, 0.85); stroke-width: 2; }
.path-new { stroke: #3be8ba; stroke-width: 2.5; }
.path-new-glow { stroke: rgba(59, 232, 186, 0.18); stroke-width: 9; }
.area-new { fill: url(#tealFade); opacity: 0; transition: opacity 1s ease 1.4s; }
.chart-card.in-view .area-new { opacity: 1; }
.dot-new { fill: #3be8ba; opacity: 0; transition: opacity 0.5s ease 2s; }
.chart-card.in-view .dot-new { opacity: 1; }
.legend-row {
  display: flex; gap: 20px; margin-top: 16px;
  font-family: var(--font-mono); font-size: 11.5px; color: var(--text-muted);
}
.legend-row span { display: inline-flex; align-items: center; gap: 7px; }
.legend-row i { width: 14px; height: 2.5px; border-radius: 2px; display: inline-block; }

.pillars { display: flex; flex-direction: column; }
.pillar {
  display: flex; gap: 18px; align-items: flex-start;
  padding: 22px 4px 22px 18px;
  border-top: 1px solid var(--border);
  border-left: 2px solid transparent;
  transition: border-left-color 0.35s ease, background 0.35s ease;
}
.pillar:last-child { border-bottom: 1px solid var(--border); }
.pillar:hover { border-left-color: var(--accent); background: rgba(12, 138, 111, 0.025); }
.pillar .ic { display: none; }
.pillar h4 { font-size: 17px; font-weight: 580; letter-spacing: -0.015em; }
.pillar p { font-size: 15px; color: var(--text-muted); margin-top: 5px; line-height: 1.55; }

/* ---------- Editorial quote ---------- */
.editorial { text-align: center; max-width: 880px; margin-inline: auto; }
.bigquote {
  font-size: clamp(26px, 4vw, 44px);
  font-weight: 300; line-height: 1.3; letter-spacing: -0.03em;
  color: var(--text-strong);
  margin-top: 26px;
  text-wrap: balance;
}
.bigquote .hl {
  color: var(--accent); font-weight: 450;
}
.attribution {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  margin-top: 34px;
}
.attribution .mk { width: 34px; height: 34px; flex: none; }
.attribution .who {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.04em;
  color: var(--text-muted); text-align: left; line-height: 1.6;
  white-space: nowrap;
}
@media (max-width: 540px) {
  .attribution { flex-direction: column; gap: 8px; }
  .attribution .who { white-space: normal; text-align: center; }
}

/* ---------- CTA band (dark instrument) ---------- */
.cta-band {
  position: relative;
  border-radius: calc(var(--r-l) + 6px);
  border: 1px solid rgba(8, 24, 22, 0.9);
  background:
    radial-gradient(90% 140% at 50% 115%, rgba(12, 138, 111, 0.55), transparent 65%),
    linear-gradient(180deg, #123430, var(--ink-panel-deep));
  padding: clamp(52px, 7vw, 84px) clamp(24px, 5vw, 64px);
  text-align: center;
  overflow: hidden;
  box-shadow:
    inset 0 1px 0 rgba(176, 255, 226, 0.12),
    0 30px 80px rgba(13, 34, 32, 0.35);
  color: var(--text-strong);
}
.cta-band::before {
  content: "";
  position: absolute; left: 50%; bottom: -250px;
  width: 1100px; height: 300px; transform: translateX(-50%);
  border-radius: 50%;
  border-top: 1.5px solid rgba(176, 255, 226, 0.6);
  -webkit-mask-image: linear-gradient(180deg, #000 0 16%, transparent 42%);
  mask-image: linear-gradient(180deg, #000 0 16%, transparent 42%);
}
.cta-band h2 {
  font-size: clamp(28px, 4vw, 46px); font-weight: 300;
  letter-spacing: -0.035em; line-height: 1.1; text-wrap: balance;
}
.cta-band p { color: var(--text-body); margin-top: 14px; max-width: 540px; margin-inline: auto; }
.cta-band .hero-actions { margin-top: 30px; }
.cta-band .deco { position: absolute; width: 130px; opacity: 0.05; pointer-events: none; }
.cta-band .deco.da { left: -28px; top: -28px; transform: rotate(-14deg); }
.cta-band .deco.db { right: -24px; bottom: -32px; transform: rotate(12deg); }
.cta-band .btn-primary, .cta-fullbleed .btn-primary {
  background: linear-gradient(180deg, #1dd2a4, #12a585);
  color: #03110d;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    0 0 0 1px rgba(59, 232, 186, 0.3),
    0 0 30px rgba(59, 232, 186, 0.2);
}
.cta-band .btn-ghost { background: rgba(157, 222, 203, 0.05); }
.cta-band .btn-ghost:hover { background: rgba(157, 222, 203, 0.12); border-color: var(--border-strong); }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1.05fr;
  gap: clamp(36px, 6vw, 72px); align-items: start;
}
.contact-points { display: flex; flex-direction: column; gap: 16px; margin-top: 34px; }
.contact-point {
  display: flex; gap: 15px; align-items: center;
  padding-left: 16px;
  border-left: 2px solid rgba(12, 138, 111, 0.35);
}
.contact-point .ic { display: none; }
.contact-point b { display: block; font-size: 15px; font-weight: 580; letter-spacing: -0.01em; }
.contact-point span { font-size: 15px; color: var(--text-muted); }

.form-card {
  border-radius: var(--r-l);
  border: 1px solid var(--border);
  background: var(--surface-card);
  padding: clamp(24px, 3vw, 34px);
  box-shadow: 0 24px 60px rgba(16, 42, 42, 0.08), 0 4px 14px rgba(16, 42, 42, 0.05);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 14px; }
.field label {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--text-muted);
}
.field input, .field textarea {
  background: var(--bg-page);
  border: 1px solid var(--border);
  border-radius: var(--r-s);
  color: var(--text-strong);
  font: inherit; font-size: 16px;
  padding: 12px 14px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--text-muted); opacity: 1; }
.field input:focus, .field textarea:focus {
  outline: none; border-color: rgba(12, 138, 111, 0.55);
  box-shadow: 0 0 0 3px rgba(12, 138, 111, 0.12);
}
.form-status {
  display: none; align-items: center; gap: 9px;
  font-size: 15px; padding: 11px 14px; border-radius: var(--r-s); margin-bottom: 14px;
}
.form-status.show { display: flex; }
.form-status.ok { background: var(--accent-tint); color: var(--accent-deep); border: 1px solid rgba(12, 138, 111, 0.25); }
.form-status.err { background: rgba(240, 106, 106, 0.08); color: #b03a3a; border: 1px solid rgba(240, 106, 106, 0.3); }

/* honeypot — kept out of view and out of the tab order */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
/* inline per-field validation */
.field-err {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.02em;
  color: #b03a3a; min-height: 0; margin-top: -1px;
}
.field-err:empty { display: none; }
.field input.invalid, .field textarea.invalid {
  border-color: rgba(240, 106, 106, 0.7);
  box-shadow: 0 0 0 3px rgba(240, 106, 106, 0.1);
}

/* ---------- Footer (deepest plate — darker than the CTA bands above it) ---------- */
.footer {
  border-top: 1px solid rgba(8, 24, 22, 0.9);
  margin-top: clamp(40px, 6vw, 80px);
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #0a1f1b, #051110);
  color: var(--text-body);
}
.footer-top {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
  gap: clamp(24px, 3vw, 44px);
  padding-block: clamp(48px, 6vw, 72px) clamp(36px, 5vw, 56px);
}
.footer-brand img { height: 23px; width: auto; margin-bottom: 16px; }
.footer-brand p { font-size: 15px; color: var(--text-muted); max-width: 300px; line-height: 1.6; }
.foot-col h5 {
  font-family: var(--font-mono); font-size: 11px; font-weight: 500;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-muted);
  margin-bottom: 16px;
}
.foot-col h5 a { color: inherit; transition: color 0.25s ease; }
.foot-col h5 a:hover { color: var(--accent-bright); }
.foot-col a {
  display: block; font-size: 15px; color: var(--text-body);
  padding-block: 5px; transition: color 0.25s ease, transform 0.3s var(--ease);
}
.foot-col a:hover { color: var(--accent-bright); transform: translateX(3px); }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding-block: 22px 26px;
  border-top: 1px solid var(--border);
  font-family: var(--font-mono); font-size: 12px; color: var(--text-muted);
}
.socials { display: flex; gap: 8px; }
.socials a {
  width: 36px; height: 36px; border-radius: 10px;
  display: grid; place-items: center;
  border: 1px solid var(--border); color: var(--text-body);
  transition: color 0.25s ease, border-color 0.25s ease, transform 0.35s var(--ease);
}
.socials a:hover { color: var(--accent-bright); border-color: rgba(59, 232, 186, 0.35); transform: translateY(-2px); }
.socials svg { width: 16px; height: 16px; }
.footer-watermark {
  display: block;
  width: min(720px, 80vw);
  margin: 0 auto;
  opacity: 0.10;
  padding-bottom: 10px;
  pointer-events: none;
  user-select: none;
}

/* =====================================================================
   SUBPAGE heroes
   ===================================================================== */
.page-hero {
  position: relative;
  padding-top: calc(var(--nav-h) + clamp(80px, 13vh, 150px));
  padding-bottom: clamp(48px, 7vw, 84px);
  text-align: center;
  overflow: hidden;
}
.page-hero .glow-side {
  position: absolute; pointer-events: none;
  width: 900px; height: 700px;
}
.page-hero .glow-side.left {
  left: -300px; top: -200px;
  background: radial-gradient(50% 50% at 50% 50%, rgba(12, 138, 111, 0.09), transparent 70%);
}
.page-hero .glow-side.right {
  right: -300px; top: -160px;
  background: radial-gradient(50% 50% at 50% 50%, rgba(76, 148, 207, 0.07), transparent 70%);
}
.page-hero .eyebrow { justify-content: center; }
.page-hero h1 {
  font-size: clamp(36px, 5.6vw, 66px);
  font-weight: 290; line-height: 1.06; letter-spacing: -0.042em;
  text-wrap: balance;
  max-width: 900px; margin-inline: auto;
  margin-top: 20px;
}
.page-hero .lede { margin-inline: auto; }
.page-hero .hero-actions { margin-top: 32px; }

/* =====================================================================
   PLATFORM
   ===================================================================== */
/* product relay-grid diagram */
.relaygrid-wrap { position: relative; margin-top: clamp(36px, 5vw, 56px); }
.relaygrid { width: min(960px, 100%); margin-inline: auto; display: block; overflow: visible; }
.relaygrid .rg-frame { fill: none; stroke: rgba(12, 138, 111, 0.22); stroke-width: 1.2; }
.relaygrid .rg-induct-rail { fill: #fff; stroke: var(--border-strong); stroke-width: 1; }
.relaygrid .rg-worker { fill: var(--accent); }
.relaygrid .rg-cell { fill: var(--accent); pointer-events: none; }
.relaygrid .rg-bot { stroke: rgba(8, 24, 22, 0.14); stroke-width: 1; }
.relaygrid .rg-trail { stroke-width: 3.5; stroke-linecap: round; }
.relaygrid .rg-label {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.18em;
  fill: var(--text-muted); text-anchor: middle;
}
.relaygrid .rg-label.x { fill: #cf4a41; }
.relaygrid .rg-label.y { fill: #3c5cc0; }
.relaygrid .rg-note {
  font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.16em;
  fill: var(--text-muted); opacity: 0.5; text-anchor: start;
}
/* the SVG scales down with the viewport, shrinking its text — bump the
   user-unit label size at small widths so the labels stay readable */
@media (max-width: 760px) { .relaygrid .rg-label { font-size: 15px; letter-spacing: 0.12em; } }
@media (max-width: 520px) { .relaygrid .rg-label { font-size: 30px; letter-spacing: 0.04em; } }
.relaygrid-wordmark {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: clamp(22.5px, 3.45vw, 39px);
  letter-spacing: -0.02em;
  text-align: center;
  color: var(--accent-deep);
  margin-top: clamp(-14px, -1.2vw, -4px);
}

/* how-it-works steps — three columns under the relaygrid animation */
.hiw-steps {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(28px, 4vw, 56px); align-items: start;
  margin-top: clamp(40px, 5vw, 68px);
}
.hiw-step h3 {
  font-size: 20px; font-weight: 480; letter-spacing: -0.02em;
  line-height: 1.2; margin-top: 14px;
}
.hiw-step p { color: var(--text-body); margin-top: 12px; font-size: 15px; line-height: 1.62; }
.hiw-step .micro {
  display: flex; flex-direction: column; gap: 7px; margin-top: 18px;
  font-family: var(--font-mono); font-size: 12px; color: var(--text-muted);
}
.hiw-step .micro b { color: var(--accent-deep); font-weight: 600; }
@media (max-width: 760px) { .hiw-steps { grid-template-columns: 1fr; gap: 40px; } }

.stage-tag {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--accent-deep);
  display: inline-block;
  padding: 5px 12px; border-radius: 999px;
  border: 1px solid rgba(12, 138, 111, 0.25);
  background: var(--accent-tint);
  margin-bottom: 16px;
}

/* spec strip — hairline columns */
.spec-strip {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-block: 1px solid var(--border-strong);
  background: var(--bg-recessed);
}
.spec { text-align: center; padding: clamp(30px, 4vw, 46px) 16px; border-right: 1px solid var(--border); }
.spec:last-child { border-right: none; }
.spec .k {
  font-family: var(--font-mono);
  font-size: clamp(32px, 3.6vw, 48px); font-weight: 600;
  letter-spacing: -0.045em; color: var(--text-strong);
  font-variant-numeric: tabular-nums;
  display: flex; justify-content: center; align-items: baseline; gap: 2px;
}
.spec .k .unit { font-size: 0.5em; color: var(--accent); }
.spec .l { font-size: 15px; color: var(--text-muted); margin-top: 8px; }

/* capabilities — numbered editorial two-column list, no boxes, no chips */
.bento { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 clamp(40px, 6vw, 72px); counter-reset: cap; }
.tile {
  position: relative;
  padding: 26px 0 32px;
  border-top: 1px solid var(--border);
  counter-increment: cap;
}
.tile::before {
  content: "0" counter(cap);
  display: block;
  font-family: var(--font-mono);
  font-size: 12px; font-weight: 600; letter-spacing: 0.15em;
  color: var(--accent-deep);
  margin-bottom: 14px;
}
.tile .ic { display: none; }
.tile h3 { font-size: 17.5px; font-weight: 580; letter-spacing: -0.015em; }
.tile p { font-size: 15px; color: var(--text-muted); margin-top: 7px; line-height: 1.6; }
.tile.span-3, .tile.span-2 { grid-column: auto; }
.tile.feature .deco { display: none; }

/* under-the-hood — asymmetric ruled columns, lead discipline wider */
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3.5vw, 48px); align-items: start; }
.trio-card {
  position: relative;
  padding: 22px 0 0;
  border-top: 1.5px solid;
  border-image: linear-gradient(90deg, var(--accent), transparent) 1;
}
.trio-card .n {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em;
  color: var(--accent-deep); font-weight: 600;
  display: block; margin-bottom: 12px;
}
.trio-card .ic {
  display: block; color: var(--accent);
  background: var(--bg-recessed);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 16px;
  margin-bottom: 18px;
}
.trio-card .ic svg { width: 100%; height: auto; display: block; }
.trio-card .bi {
  display: block; margin-bottom: 18px;
  max-width: 350px;
  border-radius: 12px; overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 4 / 3; background: #05070a;
}
.trio-card .bi img { width: 100%; height: 100%; object-fit: cover; display: block; }
.trio-card h3 { font-size: 18px; font-weight: 580; letter-spacing: -0.015em; }
.trio-card p { font-size: 15px; color: var(--text-muted); margin-top: 8px; line-height: 1.6; }

/* =====================================================================
   COMPANY
   ===================================================================== */
.story-line { position: relative; max-width: 760px; margin-inline: auto; }
.story-step { position: relative; padding-left: 58px; padding-bottom: clamp(40px, 5vw, 60px); }
.story-step:last-child { padding-bottom: 0; }
.story-step::before {
  content: "";
  position: absolute; left: 17px; top: 40px; bottom: 4px;
  width: 1px;
  background: linear-gradient(180deg, rgba(12, 138, 111, 0.4), var(--border));
}
.story-step:last-child::before { display: none; }
.story-node {
  position: absolute; left: 0; top: 0;
  width: 35px; height: 35px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid rgba(12, 138, 111, 0.35);
  background: #fff;
  font-family: var(--font-mono); font-size: 11px; font-weight: 600; color: var(--accent);
  box-shadow: 0 4px 14px rgba(12, 138, 111, 0.12);
}
.story-step .mono-tag {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--text-muted);
  display: block; margin-bottom: 8px;
}
.story-step h3 { font-size: clamp(20px, 2.4vw, 26px); font-weight: 420; letter-spacing: -0.02em; }
.story-step p { color: var(--text-body); margin-top: 10px; max-width: 620px; font-size: 15.5px; }

/* company "Our story" — faint Kiva drive unit slowly driving across the bottom */
.story-flair {
  position: relative; height: 94px; overflow: hidden;
  margin-top: clamp(24px, 4vw, 48px);
}
.story-flair::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: 12px;
  border-top: 1px dashed rgba(12, 138, 111, 0.16);
}
.story-flair .kiva-bot {
  position: absolute; bottom: 12px; left: -150px;
  width: 110px; height: 74px;
  color: rgba(12, 138, 111, 0.30);
  animation: kivaDrive 28s linear infinite;
  will-change: left;
}
@keyframes kivaDrive {
  from { left: -150px; }
  to   { left: calc(100% + 40px); }
}
@media (prefers-reduced-motion: reduce) {
  .story-flair .kiva-bot { animation: none; left: auto; right: 6%; }
}

/* founders — ruled columns, no boxes */
.founders-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3.5vw, 48px); }
.founder-card {
  position: relative;
  padding: 28px 0 0;
  border-top: 1px solid var(--border-strong);
}
.founder-card .avatar { display: none; }
.founder-card .founder-photo {
  aspect-ratio: 4 / 5;
  max-width: 320px;
  border-radius: 16px;
  overflow: hidden;
  background: radial-gradient(120% 90% at 50% 22%, #eaf5f0, #cfe6dc);
  margin-bottom: 22px;
  box-shadow: var(--shadow-card);
}
.founder-card .founder-photo img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  display: block;
}
.founder-card h3 { font-size: clamp(22px, 2.2vw, 27px); font-weight: 380; letter-spacing: -0.025em; }
.founder-card:nth-child(2), .founder-card:nth-child(3) { margin-top: 0; }
.founder-card .role-tag {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--accent-deep);
  display: block; margin-top: 4px;
}
.founder-card p { font-size: 15px; color: var(--text-muted); margin-top: 14px; line-height: 1.6; }
.founder-card .prev { display: flex; gap: 7px; flex-wrap: wrap; margin-top: 16px; }
.founder-card .prev span {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.02em;
  padding: 5px 11px; border-radius: 999px;
  border: 1px solid var(--border); color: var(--text-body);
  background: rgba(255, 255, 255, 0.6);
}
.founder-card .founder-li {
  display: inline-flex; align-items: center; justify-content: center;
  margin-top: 16px; width: 34px; height: 34px; border-radius: 999px;
  border: 1px solid var(--border); color: var(--text-muted);
  background: rgba(255, 255, 255, 0.6);
  transition: color 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}
.founder-card .founder-li svg { width: 17px; height: 17px; }
.founder-card .founder-li:hover {
  color: #fff; border-color: var(--accent); background: var(--accent);
}

.investors-row {
  text-align: center;
  margin-top: clamp(56px, 8vw, 96px);
  padding-block: clamp(48px, 6vw, 72px);
  width: 100vw;
  margin-left: calc(50% - 50vw);
  border-block: 1px solid var(--border);
  background: var(--bg-recessed);
}
.investors-row .pedigree-label { margin-bottom: 28px; }
.dna-chips { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.dna-chip {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.05em;
  padding: 8px 16px; border-radius: 999px;
  border: 1px solid var(--border); color: var(--text-body);
  background: rgba(255, 255, 255, 0.6);
  transition: border-color 0.3s ease, color 0.3s ease;
}
.dna-chip:hover { border-color: rgba(12, 138, 111, 0.4); color: var(--accent); }

.beliefs { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); }
.belief { position: relative; padding-top: 26px; }
.belief::before {
  content: "";
  position: absolute; top: 0; left: 0;
  width: 44px; height: 1.5px;
  background: linear-gradient(90deg, var(--accent), transparent);
}
.belief .n { font-family: var(--font-mono); font-size: 12px; color: var(--accent-deep); letter-spacing: 0.15em; }
.belief h4 { font-size: 19px; font-weight: 480; letter-spacing: -0.02em; margin-top: 10px; }
.belief p { font-size: 15px; color: var(--text-muted); margin-top: 10px; line-height: 1.65; }

.manifesto-section { position: relative; overflow: hidden; }
.manifesto-section > .container { position: relative; z-index: 1; }

.manifesto-bg {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  --cell: 56px;
  --grid-line: rgba(12, 138, 111, 0.10);
  background-image:
    repeating-linear-gradient(90deg, var(--grid-line) 0 1px, transparent 1px var(--cell)),
    repeating-linear-gradient(0deg,  var(--grid-line) 0 1px, transparent 1px var(--cell));
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 14%, #000 86%, transparent 100%);
          mask-image: linear-gradient(180deg, transparent 0, #000 14%, #000 86%, transparent 100%);
}
.mg-tile {
  position: absolute;
  background: rgba(12, 138, 111, 0.30);
  border-radius: 2px;
  will-change: transform;
}
.mg-tile.v {
  width: 16px; height: 9px;
  left: calc(var(--col) * var(--cell) - 8px);
  top:  calc(var(--row) * var(--cell) - 4.5px);
  animation: mg-move-v var(--dur, 10s) ease-in-out var(--delay, 0s) infinite alternate;
}
.mg-tile.h {
  width: 9px; height: 16px;
  left: calc(var(--col) * var(--cell) - 4.5px);
  top:  calc(var(--row) * var(--cell) - 8px);
  animation: mg-move-h var(--dur, 10s) ease-in-out var(--delay, 0s) infinite alternate;
}
@keyframes mg-move-v { from { transform: translateY(0); } to { transform: translateY(var(--move, 168px)); } }
@keyframes mg-move-h { from { transform: translateX(0); } to { transform: translateX(var(--move, 168px)); } }
@media (prefers-reduced-motion: reduce) { .mg-tile { animation: none; } }

.manifesto {
  position: relative; overflow: hidden;
  max-width: 720px; margin-inline: auto;
  background: var(--surface-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: var(--shadow-card);
  padding: clamp(40px, 6vw, 76px) clamp(28px, 5vw, 68px);
}
.manifesto::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--accent-deep));
}
.manifesto-body { margin-top: 26px; }
.manifesto-body p {
  font-size: clamp(18px, 1.9vw, 21px);
  line-height: 1.75; color: var(--text-body);
}
.manifesto-body p + p { margin-top: 24px; }
.manifesto-body p:first-child::first-letter {
  float: left; font-size: 3.4em; line-height: 0.82; font-weight: 300;
  color: var(--accent-deep); margin: 6px 14px 0 0;
}

/* =====================================================================
   CAREERS
   ===================================================================== */
/* "How we work" section — grid the parcels travel across (cell size matches
   their step distance); overflow:clip keeps the moving blocks inside it */
.careers-work { position: relative; overflow: clip; }
.careers-work::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background-image:
    linear-gradient(rgba(12, 138, 111, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(12, 138, 111, 0.055) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(120% 90% at 50% 40%, #000 18%, transparent 80%);
  mask-image: radial-gradient(120% 90% at 50% 40%, #000 18%, transparent 80%);
  pointer-events: none;
}
.careers-work > .container { position: relative; z-index: 2; }
.parcel-float {
  position: absolute; z-index: 1;
  width: 26px; height: 26px; border-radius: 7px;
  opacity: 0.9;
  animation: gridTravelA 13s ease-in-out infinite;
  pointer-events: none;
}
/* three orthogonal (grid-following) paths, stepping one 64px cell at a time
   with a short hold at each stop, so they read as moving along rails */
.parcel-float:nth-child(3n-1) { animation-name: gridTravelB; }
.parcel-float:nth-child(3n)   { animation-name: gridTravelC; }

@keyframes gridTravelA {
  0%, 9%    { transform: translate(0, 0); }
  25%, 34%  { transform: translate(64px, 0); }
  50%, 59%  { transform: translate(64px, 64px); }
  75%, 84%  { transform: translate(0, 64px); }
  100%      { transform: translate(0, 0); }
}
@keyframes gridTravelB {
  0%, 9%    { transform: translate(0, 0); }
  25%, 34%  { transform: translate(0, -64px); }
  50%, 59%  { transform: translate(-64px, -64px); }
  75%, 84%  { transform: translate(-64px, 0); }
  100%      { transform: translate(0, 0); }
}
@keyframes gridTravelC {
  0%, 12%   { transform: translate(0, 0); }
  44%, 56%  { transform: translate(64px, 0); }
  100%      { transform: translate(0, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .parcel-float { animation: none; }
}
.badge-hiring {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 16px 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(12, 138, 111, 0.3);
  background: var(--accent-tint);
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.06em;
  color: var(--accent-deep);
  margin-bottom: 28px;
}
.careers-quickstats {
  display: flex; gap: clamp(24px, 4vw, 56px); justify-content: center;
  margin-top: 44px; flex-wrap: wrap;
}
.qs { text-align: center; }
.qs .k {
  font-family: var(--font-mono); font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 600; letter-spacing: -0.03em; color: var(--text-strong);
}
.qs .l { font-size: 12.5px; color: var(--text-muted); margin-top: 4px; }

.mission-split {
  display: grid; grid-template-columns: 1.1fr 1fr;
  gap: clamp(32px, 5vw, 72px); align-items: center;
}
.mission-photo {
  height: 360px; border-radius: var(--r-l); overflow: hidden;
  border: 1px solid var(--border); box-shadow: var(--shadow-card);
}
.mission-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tagchips { display: flex; gap: 9px; flex-wrap: wrap; margin-top: 26px; }
.trio-card .tagchips { margin-top: 14px; gap: 8px; }
.tagchip {
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.04em;
  padding: 7px 14px; border-radius: 999px;
  border: 1px solid var(--border); color: var(--text-body);
  background: rgba(255, 255, 255, 0.6);
}

.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 clamp(32px, 4vw, 56px); }

/* careers "how we work" — dictionary definition + team illustration */
.agency-def {
  max-width: 620px; margin: clamp(10px, 2vw, 22px) auto 0;
  padding: clamp(26px, 4vw, 38px) clamp(26px, 4vw, 42px);
  background: var(--surface-card); border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 16px; box-shadow: var(--shadow-card);
  text-align: left;
}
.agency-def .def-label {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--text-muted);
}
.agency-def .def-head {
  display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap;
  margin-top: 12px;
}
.agency-def .def-word {
  font-size: clamp(27px, 3.2vw, 36px); font-weight: 700;
  letter-spacing: -0.02em; color: var(--text-strong);
}
.agency-def .def-ipa { font-family: var(--font-mono); font-size: 15px; color: var(--text-muted); }
.agency-def .def-pos { font-style: italic; color: var(--accent-deep); font-size: 15px; }
.agency-def .def-body {
  margin-top: 14px; font-size: clamp(17px, 1.7vw, 19px);
  line-height: 1.6; color: var(--text-body);
}
.culture-copy { max-width: 640px; margin: clamp(30px, 4vw, 46px) auto 0; }
.culture-copy p { font-size: clamp(17px, 1.6vw, 19px); line-height: 1.75; color: var(--text-body); }
.culture-copy p + p { margin-top: 18px; }
.culture-copy em { font-style: italic; font-weight: 600; color: var(--accent-deep); }
.team-photo {
  margin: clamp(34px, 5vw, 56px) auto 0; max-width: 680px;
  border-radius: var(--r-l); overflow: hidden;
  border: 1px solid var(--border); box-shadow: var(--shadow-card);
}
.team-photo img { width: 100%; height: auto; display: block; }

/* benefits — plain editorial perk rows */
.benefits-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 clamp(32px, 4vw, 56px); }
.benefit {
  padding: 22px 0 26px;
  border-top: 1px solid var(--border);
}
.benefit .ic { display: none; }
.benefit b { font-size: 15px; font-weight: 580; letter-spacing: -0.01em; display: block; }
.benefit p { font-size: 15px; color: var(--text-muted); margin-top: 6px; line-height: 1.55; }

/* careers "the package" as a mint band with visible icon chips */
.benefits-band { background: var(--bg-recessed); border-block: 1px solid var(--border); }

/* careers "Why Agency" — recessed mint band to separate it from its paper neighbors */
#why { background: var(--bg-recessed); border-block: 1px solid var(--border); }

/* product — recessed mint band behind the "How it works" section */
#anatomy { background: var(--bg-recessed); border-block: 1px solid var(--border); }

/* product "How it works" — full-bleed overhead-system photo background,
   styled like the company mission band (dark tint + light text).
   #anatomy.anatomy-photo beats the plain #anatomy mint-band rule on specificity */
#anatomy.anatomy-photo {
  position: relative;
  background-color: transparent;
  background-image:
    linear-gradient(180deg, rgba(8, 24, 21, 0.74), rgba(8, 24, 21, 0.84)),
    url("../assets/overhead-system.jpg");
  background-size: cover;
  background-position: center;
  border-block: 1px solid rgba(8, 24, 22, 0.9);
}
.anatomy-photo .eyebrow { color: #7cf0d0; }
.anatomy-photo .eyebrow::before,
.anatomy-photo .eyebrow::after { background: linear-gradient(90deg, transparent, #7cf0d0); }
.anatomy-photo .headline { color: #eef6f3; text-shadow: 0 2px 24px rgba(6, 18, 16, 0.5); }
.anatomy-photo .lede { color: #c9ddd6; }
.anatomy-photo .hiw-step h3 { color: #eef6f3; }
.anatomy-photo .hiw-step p { color: #b7ccc5; }
.anatomy-photo .stage-tag {
  color: #7cf0d0;
  background: rgba(124, 240, 208, 0.1);
  border-color: rgba(124, 240, 208, 0.38);
}

/* use cases — mint band behind the two use-case detail sections to separate them from the page */
#item-sortation, #parcel-sortation { background: var(--bg-recessed); }
#item-sortation { border-top: 1px solid var(--border); }
#parcel-sortation { border-bottom: 1px solid var(--border); }
.benefits-band .benefit { border-top-color: rgba(12, 138, 111, 0.22); padding-top: 24px; }
.benefits-band .benefit .ic {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 13px; margin-bottom: 16px;
  background: var(--surface-card); border: 1px solid var(--border);
  color: var(--accent-deep); box-shadow: var(--shadow-sm);
}
.benefits-band .benefit .ic svg { width: 23px; height: 23px; }
.benefits-band .benefit b { font-size: 16px; }
.benefits-band .benefit p { font-size: 15px; color: var(--text-body); }

/* value-prop grid with visible teal icon chips */
.benefits-grid.icon-benefits .benefit .ic {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 13px; margin-bottom: 16px;
  background: var(--surface-card); border: 1px solid var(--border);
  color: var(--accent-deep); box-shadow: var(--shadow-sm);
}
.benefits-grid.icon-benefits .benefit .ic svg { width: 23px; height: 23px; }

/* use cases — products & containers range grids */
.range-block { margin-top: clamp(36px, 5vw, 56px); }
.range-label {
  text-align: center; font-family: var(--font-mono); font-size: 14px;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent-deep);
  margin-bottom: clamp(20px, 3vw, 30px);
}
.range-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: clamp(18px, 2.6vw, 30px);
  max-width: 760px; margin-inline: auto;
}
.range-grid-5 { grid-template-columns: repeat(5, 1fr); max-width: 840px; }
.range-tile { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.range-tile .ri {
  width: 100%; box-sizing: border-box;
  border-radius: 16px; overflow: hidden;
  display: grid; place-items: center;
  background: #fff; border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.range-tile .ri img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* products: portrait photo tiles (crops are 11:15 with even margins) */
.range-grid:not(.range-grid-5) .range-tile .ri { aspect-ratio: 11 / 15; }
/* containers: single objects, squared and contained with a little breathing room */
.range-grid-5 .range-tile .ri { aspect-ratio: 1 / 1; padding: 12px; }
.range-grid-5 .range-tile .ri img { object-fit: contain; }
.range-tile .rl { font-size: 15px; font-weight: 560; color: var(--text-body); letter-spacing: -0.01em; }
@media (max-width: 720px) {
  .range-grid, .range-grid-5 { grid-template-columns: repeat(2, 1fr); }
}

/* roles — divider list */
.roles-list {
  display: flex; flex-direction: column;
  max-width: 860px; margin-inline: auto;
  border-top: 1px solid var(--border-strong);
}
.role {
  border-bottom: 1px solid var(--border);
  transition: background 0.35s ease;
}
.role.open { background: rgba(12, 138, 111, 0.035); }
.role-head {
  width: 100%;
  display: flex; align-items: center; gap: 18px;
  padding: 24px 8px;
  text-align: left;
}
.role-ic {
  flex: none; width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center;
  background: var(--accent-tint); color: var(--accent);
  border: 1px solid rgba(12, 138, 111, 0.18);
}
.role-ic svg { width: 20px; height: 20px; }
.role-meta { flex: 1; }
.role-meta h3 { font-size: 17.5px; font-weight: 580; letter-spacing: -0.015em; }
.role-tags { display: flex; gap: 8px; margin-top: 7px; flex-wrap: wrap; }
.role-tags span {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em;
  padding: 3px 10px; border-radius: 999px;
  border: 1px solid var(--border); color: var(--text-muted);
  background: rgba(255, 255, 255, 0.6);
}
.role-toggle {
  flex: none; width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid var(--border-strong); color: var(--text-body);
  transition: transform 0.45s var(--ease), border-color 0.3s ease, color 0.3s ease;
}
.role-toggle svg { width: 15px; height: 15px; }
.role.open .role-toggle { transform: rotate(45deg); border-color: rgba(12, 138, 111, 0.45); color: var(--accent); }
.role-body { max-height: 0; overflow: hidden; transition: max-height 0.6s var(--ease); }
.role-body-inner { padding: 4px 8px 32px 70px; }
.role-body-inner > p { color: var(--text-body); font-size: 15px; }
.role-body-inner > p + p { margin-top: 14px; }
.role-body-inner h4 {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--accent-deep);
  margin: 22px 0 10px;
}
.role-body-inner ul li {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 15px; color: var(--text-body);
  padding-block: 5px;
}
.role-body-inner ul li svg { flex: none; width: 15px; height: 15px; color: var(--accent); margin-top: 4px; }
.role-body-inner .btn { margin-top: 22px; }
.roles-note {
  text-align: center;
  font-family: var(--font-mono); font-size: 11.5px; color: var(--text-muted);
  max-width: 620px; margin: 28px auto 0; line-height: 1.7;
}

/* apply (dark instrument) */
.apply-card {
  position: relative;
  text-align: center;
  border-radius: calc(var(--r-l) + 6px);
  border: 1px solid rgba(8, 24, 22, 0.9);
  background:
    radial-gradient(80% 120% at 50% 0%, rgba(12, 138, 111, 0.35), transparent 60%),
    linear-gradient(180deg, #123430, var(--ink-panel-deep));
  padding: clamp(48px, 6vw, 72px) clamp(24px, 5vw, 64px);
  overflow: hidden;
  color: var(--text-strong);
  box-shadow:
    inset 0 1px 0 rgba(176, 255, 226, 0.12),
    0 30px 80px rgba(13, 34, 32, 0.35);
}
.apply-card .eyebrow { color: var(--accent-bright); }
.apply-card .eyebrow::before { background: linear-gradient(90deg, transparent, var(--accent-bright)); }
.apply-card h2 { font-size: clamp(26px, 3.6vw, 40px); font-weight: 300; letter-spacing: -0.03em; }
.apply-card p { color: var(--text-body); max-width: 520px; margin: 14px auto 0; }
.email-pill {
  display: inline-flex; align-items: center; gap: 11px;
  padding: 15px 30px;
  border-radius: 999px;
  border: 1px solid rgba(12, 138, 111, 0.4);
  background: var(--accent-tint);
  font-family: var(--font-mono); font-size: 15px; color: var(--accent-deep);
  transition: background 0.3s ease, box-shadow 0.3s ease, transform 0.45s var(--ease);
  white-space: nowrap;
}
.email-pill svg { width: 18px; height: 18px; flex: none; }
.email-pill:hover {
  background: rgba(12, 138, 111, 0.14);
  box-shadow: 0 8px 30px rgba(12, 138, 111, 0.18);
}

/* careers — "don't see your role" as a ruled row, not a panel */
.apply-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
  border-block: 1px solid var(--border-strong);
  padding-block: 34px;
}
.apply-row h2 { font-size: clamp(20px, 2.4vw, 26px); font-weight: 420; letter-spacing: -0.02em; }
.apply-row p { color: var(--text-body); font-size: 15px; margin-top: 6px; max-width: 520px; }

/* ---------- Application modal ---------- */
.apply-modal { position: fixed; inset: 0; z-index: 200; display: none; }
.apply-modal.open { display: block; }
.apply-backdrop {
  position: absolute; inset: 0;
  background: rgba(8, 24, 21, 0.55);
  backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px);
  animation: apFade 0.25s ease;
}
.apply-dialog {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: min(560px, calc(100% - 32px));
  max-height: calc(100dvh - 48px); overflow-y: auto;
  background: var(--surface-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: var(--shadow-card);
  padding: clamp(26px, 4vw, 40px);
  animation: apRise 0.28s var(--ease);
}
@keyframes apFade { from { opacity: 0; } }
@keyframes apRise { from { opacity: 0; transform: translate(-50%, calc(-50% + 14px)); } }
@media (prefers-reduced-motion: reduce) { .apply-backdrop, .apply-dialog { animation: none; } }
.apply-x {
  position: absolute; top: 16px; right: 16px;
  width: 36px; height: 36px; border-radius: 10px;
  display: grid; place-items: center; color: var(--text-muted);
  border: 1px solid var(--border); background: var(--bg-page);
  transition: color 0.2s ease, border-color 0.2s ease;
}
.apply-x:hover { color: var(--text-strong); border-color: var(--border-strong); }
.apply-x svg { width: 18px; height: 18px; }
.apply-title { margin-top: 14px; font-size: clamp(22px, 3vw, 28px); font-weight: 380; letter-spacing: -0.025em; }
.apply-rolelede { margin-top: 8px; color: var(--text-muted); font-size: 15px; }
.apply-rolelede b { color: var(--accent-deep); font-weight: 600; }
.apply-form { margin-top: 22px; display: flex; flex-direction: column; gap: 16px; }
.apply-form .field { display: flex; flex-direction: column; gap: 7px; }
.apply-form label { font-size: 15px; font-weight: 600; color: var(--text-body); }
.apply-form textarea { min-height: 150px; }
.apply-form label .opt { font-weight: 400; color: var(--text-muted); }
.apply-form input[type="file"] {
  font: inherit; font-size: 15px; color: var(--text-muted);
  padding: 10px 12px; border: 1px dashed var(--border-strong);
  border-radius: var(--r-s); background: var(--bg-recessed); cursor: pointer;
}
.apply-form input[type="file"]::file-selector-button {
  font: inherit; font-size: 15px; font-weight: 600;
  margin-right: 12px; padding: 7px 12px; cursor: pointer;
  color: #fff; background: var(--accent-deep);
  border: 0; border-radius: 999px;
}
.apply-check {
  display: flex; align-items: flex-start; gap: 11px;
  font-size: 15px; line-height: 1.45; color: var(--text-body);
  cursor: pointer;
}
.apply-check input[type="checkbox"] {
  flex: none; width: 18px; height: 18px; margin-top: 1px;
  accent-color: var(--accent-deep); cursor: pointer;
}
.apply-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.apply-submit { margin-top: 4px; width: 100%; justify-content: center; }
.apply-status { font-size: 15px; line-height: 1.5; min-height: 1px; }
.apply-status.ok { color: var(--accent-deep); }
.apply-status.err { color: #b93b3b; }

/* confirmation screen (shown in place of the form after submit) */
.apply-done { display: none; text-align: center; padding: 8px 0 4px; }
.apply-dialog.done .eyebrow,
.apply-dialog.done .apply-title,
.apply-dialog.done .apply-rolelede,
.apply-dialog.done .apply-form { display: none; }
.apply-dialog.done .apply-done { display: block; animation: apRise 0.3s var(--ease); }
.apply-done-ic {
  width: 66px; height: 66px; border-radius: 50%; margin: 6px auto 0;
  display: grid; place-items: center;
  background: var(--accent-tint); color: var(--accent-deep);
}
.apply-done-ic svg { width: 32px; height: 32px; }
.apply-done h2 { margin-top: 18px; font-size: clamp(22px, 3vw, 28px); font-weight: 380; letter-spacing: -0.025em; }
.apply-done-msg { margin: 12px auto 26px; max-width: 400px; color: var(--text-body); font-size: 15.5px; line-height: 1.6; }
.apply-done-msg b { color: var(--accent-deep); font-weight: 600; }

/* platform — full-bleed closing band */
.cta-fullbleed {
  position: relative;
  background:
    radial-gradient(70% 160% at 85% 120%, rgba(12, 138, 111, 0.5), transparent 60%),
    linear-gradient(180deg, #123430, var(--ink-panel-deep));
  border-block: 1px solid rgba(8, 24, 22, 0.9);
  padding-block: clamp(56px, 8vw, 96px);
  color: var(--text-strong);
  overflow: hidden;
}
.cta-fullbleed .inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: clamp(24px, 4vw, 56px); flex-wrap: wrap;
}
.cta-fullbleed h2 {
  font-size: clamp(28px, 3.8vw, 44px); font-weight: 300;
  letter-spacing: -0.035em; line-height: 1.12; text-wrap: balance;
  max-width: 520px;
}
.cta-fullbleed p { color: var(--text-body); margin-top: 12px; max-width: 480px; }
.cta-fullbleed .hero-actions { margin-top: 0; justify-content: flex-start; flex: none; }
.cta-fullbleed .btn-ghost { background: rgba(157, 222, 203, 0.05); }
.cta-fullbleed .btn-ghost:hover { background: rgba(157, 222, 203, 0.12); border-color: var(--border-strong); }
/* dark band flows into the dark footer — but as a visibly separate, deeper plate */
main:has(.cta-fullbleed) + .footer {
  margin-top: 0;
  border-top: 1px solid rgba(157, 222, 203, 0.28);
  box-shadow: inset 0 14px 28px -18px rgba(0, 0, 0, 0.7);
}

/* company — closing invitation as a letter, not a panel */

/* platform — left-aligned hero variant */
.page-hero.left { text-align: left; }
.page-hero.left .eyebrow { justify-content: flex-start; }
.page-hero.left h1 { margin-inline: 0; max-width: 680px; }
.page-hero.left .lede { margin-inline: 0; }
.page-hero.left .hero-actions { justify-content: flex-start; }

/* careers — quickstats as a job-ticket header above the headline */
.careers-quickstats.ticket {
  margin: 0 auto 38px;
  padding-block: 14px;
  border-block: 1px solid var(--border-strong);
  width: min(560px, 100%);
  gap: clamp(28px, 5vw, 64px);
}
.careers-quickstats.ticket .k { font-size: clamp(17px, 1.8vw, 21px); }
.careers-quickstats.ticket .l { font-size: 11px; letter-spacing: 0.06em; }

/* =====================================================================
   Responsive
   ===================================================================== */
@media (max-width: 1024px) {
  .squeeze-grid { grid-template-columns: repeat(2, 1fr); gap: 24px clamp(24px, 4vw, 48px); }
  /* stacked rows: bottom dividers only, so wrapped cards don't show doubled lines */
  .icon-cards .stat-card { border-top: none; }
  .spec-strip { grid-template-columns: repeat(2, 1fr); }
  .spec:nth-child(2) { border-right: none; }
  .spec:nth-child(-n+2) { border-bottom: 1px solid var(--border); }
  .bento { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: repeat(4, 1fr); }
  .footer-brand { grid-column: 1 / -1; margin-bottom: 10px; }
  .benefits-grid, .values-grid { grid-template-columns: repeat(2, 1fr); gap: 0 clamp(28px, 4vw, 48px); }
}
@media (max-width: 880px) {
  .nav-links, .nav .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .cta-fullbleed .inner { flex-direction: column; align-items: flex-start; }
  .apply-row { flex-direction: column; align-items: flex-start; }
  .trio { grid-template-columns: 1fr; }
  .tradeoff, .contact-grid, .mission-split { grid-template-columns: 1fr; }
  .founders-grid, .trio, .beliefs { grid-template-columns: 1fr; gap: 32px; }
  .values-grid { grid-template-columns: 1fr; }
  .console-stats { display: none; }
  .role-body-inner { padding-left: 8px; }
  .console-mark { width: 34px; height: 34px; }
}
@media (max-width: 560px) {
  .squeeze-grid, .benefits-grid, .spec-strip { grid-template-columns: 1fr; }
  .spec { border-right: none; border-bottom: 1px solid var(--border); }
  .spec:last-child { border-bottom: none; }
  .field-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; justify-content: center; }
}

/* ---------- Large displays: scale the whole composition up ---------- */
@media (min-width: 1760px) {
  :root { zoom: 1.18; }
}
@media (min-width: 2300px) {
  :root { zoom: 1.34; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001s !important;
  }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
