/* ============================================================
   RS2TEK — Design tokens & global styles
   Type: Sora (display) · Manrope (body) · Space Mono (labels)
   ============================================================ */

:root {
  /* Canvas & surfaces — clean cool near-whites */
  --canvas:    oklch(0.985 0.004 248);
  --paper:     oklch(0.999 0.002 248);
  --surface:   oklch(0.966 0.005 250);
  --line:      oklch(0.905 0.007 252);
  --line-soft: oklch(0.935 0.005 252);

  /* Ink — deep, slightly warm near-black */
  --ink:       oklch(0.23 0.018 264);
  --ink-soft:  oklch(0.40 0.020 264);
  --muted:     oklch(0.55 0.018 264);
  --faint:     oklch(0.70 0.014 264);

  /* Primary — trustworthy indigo-navy */
  --primary:    oklch(0.40 0.105 262);
  --primary-2:  oklch(0.32 0.095 264);
  --primary-ink:oklch(0.27 0.075 264);

  /* Accent — cool professional teal (human, not cold). Overridable via Tweaks. */
  --accent:     oklch(0.66 0.105 212);
  --accent-2:   oklch(0.53 0.112 220);
  --accent-soft:oklch(0.93 0.035 210);

  /* Dark section */
  --dark:      oklch(0.215 0.022 264);
  --dark-2:    oklch(0.255 0.026 264);
  --on-dark:   oklch(0.96 0.006 75);
  --on-dark-muted: oklch(0.72 0.012 264);

  /* Type */
  --display: "Sora", system-ui, sans-serif;
  --body:    "Manrope", system-ui, sans-serif;
  --mono:    "Space Mono", ui-monospace, monospace;

  /* Rhythm */
  --maxw: 1240px;
  --gutter: clamp(20px, 5vw, 64px);
  --section-y: clamp(72px, 11vw, 152px);
  --radius: 28px;
  --radius-sm: 17px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-sm: 0 1px 2px oklch(0.40 0.02 264 / 0.05), 0 4px 14px oklch(0.40 0.02 264 / 0.05);
  --shadow-md: 0 2px 6px oklch(0.40 0.02 264 / 0.07), 0 18px 44px oklch(0.40 0.02 264 / 0.10);
  --shadow-lg: 0 8px 24px oklch(0.30 0.02 264 / 0.10), 0 36px 80px oklch(0.30 0.02 264 / 0.16);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--body);
  background: var(--canvas);
  color: var(--ink);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

::selection { background: var(--accent-soft); color: var(--primary-ink); }

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ---------- Layout helpers ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); position: relative; }

.eyebrow {
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-2);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 1.5px;
  background: var(--accent);
  display: inline-block;
}
.eyebrow.on-dark { color: var(--accent); }

h1, h2, h3, h4 { font-family: var(--display); font-weight: 600; line-height: 1.05; letter-spacing: -0.02em; color: var(--ink); }
h2.section-title {
  font-size: clamp(30px, 4.4vw, 52px);
  font-weight: 600;
  letter-spacing: -0.03em;
  max-width: 16ch;
  text-wrap: balance;
}
.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--ink-soft); max-width: 56ch; text-wrap: pretty; }

.accent-text { color: var(--accent-2); }
.italic-serif { font-style: italic; }

/* ---------- Buttons ---------- */
.btn {
  font-family: var(--body);
  font-weight: 700;
  font-size: 15.5px;
  letter-spacing: -0.01em;
  padding: 14px 24px;
  border-radius: 100px;
  border: 1.5px solid transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  transition: transform 0.4s var(--ease), background 0.3s var(--ease), box-shadow 0.4s var(--ease), border-color 0.3s var(--ease), color 0.3s var(--ease);
  white-space: nowrap;
}
.btn .arr { transition: transform 0.4s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.btn-primary { background: var(--primary); color: var(--on-dark); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--primary-2); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-accent { background: var(--accent); color: oklch(0.99 0.01 75); }
.btn-accent:hover { background: var(--accent-2); transform: translateY(-2px); box-shadow: 0 14px 34px oklch(0.62 0.14 45 / 0.32); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn-ghost.on-dark { color: var(--on-dark); border-color: oklch(0.96 0.006 75 / 0.25); }
.btn-ghost.on-dark:hover { border-color: var(--on-dark); background: oklch(0.96 0.006 75 / 0.06); }
.btn-light { background: var(--on-dark); color: var(--ink); }
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: 0.08s; }
.reveal[data-d="2"] { transition-delay: 0.16s; }
.reveal[data-d="3"] { transition-delay: 0.24s; }
.reveal[data-d="4"] { transition-delay: 0.32s; }
.reveal[data-d="5"] { transition-delay: 0.40s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}
body.no-motion .reveal { opacity: 1; transform: none; transition: none; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease), backdrop-filter 0.4s var(--ease);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 84px; transition: height 0.4s var(--ease);
}
.nav.scrolled { background: oklch(0.985 0.006 75 / 0.82); backdrop-filter: blur(14px) saturate(1.2); box-shadow: 0 1px 0 var(--line-soft); }
.nav.scrolled .nav-inner { height: 66px; }

.brand { display: inline-flex; align-items: baseline; gap: 2px; font-family: var(--display); font-weight: 700; font-size: 22px; letter-spacing: -0.03em; color: var(--ink); }
.brand b { color: var(--accent-2); font-weight: 700; }
.brand .dot { color: var(--accent); }

.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a.nlink {
  font-size: 15px; font-weight: 600; color: var(--ink-soft);
  padding: 9px 15px; border-radius: 100px;
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}
.nav-links a.nlink:hover { color: var(--ink); background: var(--surface); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-burger { display: none; }

@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-cta .btn-text { display: none; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero { padding-top: 150px; padding-bottom: clamp(60px, 8vw, 110px); position: relative; overflow: hidden; }
.hero-grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(32px, 5vw, 72px); align-items: center;
}
.hero h1 {
  font-size: clamp(40px, 6.4vw, 84px);
  line-height: 1.0;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.hero h1 .grad { color: var(--accent-2); }
.hero .lead { margin-top: 26px; font-size: clamp(17px, 1.7vw, 21px); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero-meta { display: flex; gap: 28px; margin-top: 44px; flex-wrap: wrap; }
.hero-meta .hm { display: flex; flex-direction: column; gap: 2px; }
.hero-meta .hm b { font-family: var(--display); font-size: 15px; font-weight: 600; color: var(--ink); }
.hero-meta .hm span { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }

/* floating warm/cool blobs behind hero */
.hero-glow { position: absolute; border-radius: 50%; filter: blur(70px); opacity: 0.5; z-index: -1; pointer-events: none; }
.hero-glow.a { width: 420px; height: 420px; background: var(--accent-soft); top: -80px; right: -60px; }
.hero-glow.b { width: 380px; height: 380px; background: oklch(0.88 0.05 262); bottom: -120px; left: -80px; opacity: 0.4; }

/* ---------- Bridge visual ---------- */
.bridge-visual {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow-lg);
}
.bridge-cols { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; }
.bcol { display: flex; flex-direction: column; gap: 12px; }
.bcol .bhead { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.bnode {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 13px 14px;
  font-size: 13.5px; font-weight: 600; color: var(--ink-soft);
  display: flex; align-items: center; gap: 10px;
  transition: transform 0.5s var(--ease), border-color 0.5s var(--ease), background 0.5s var(--ease);
}
.bnode .dotmark { width: 7px; height: 7px; border-radius: 50%; flex: none; }
.bcol.left .dotmark { background: var(--primary); }
.bcol.right .dotmark { background: var(--accent); }
.bnode.pulse { border-color: var(--accent); background: var(--accent-soft); transform: translateX(2px); }
.bnode.pulse.left { border-color: var(--primary); background: oklch(0.93 0.04 262); }

.bcore {
  width: 92px; height: 92px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, var(--primary), var(--primary-2));
  display: flex; align-items: center; justify-content: center; flex-direction: column;
  color: var(--on-dark); box-shadow: 0 12px 30px oklch(0.40 0.105 262 / 0.4);
  position: relative; flex: none;
}
.bcore .ring { position: absolute; inset: -10px; border: 1.5px solid var(--accent); border-radius: 50%; opacity: 0.5; animation: spin 14s linear infinite; }
.bcore .ring::before { content: ""; position: absolute; top: -4px; left: 50%; width: 7px; height: 7px; background: var(--accent); border-radius: 50%; }
.bcore b { font-family: var(--display); font-size: 21px; font-weight: 700; letter-spacing: -0.02em; }
.bcore span { font-family: var(--mono); font-size: 8px; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.85; }
@keyframes spin { to { transform: rotate(360deg); } }
body.no-motion .bcore .ring { animation: none; }

.bridge-svg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
.bridge-svg path { fill: none; stroke: var(--line); stroke-width: 1.4; stroke-dasharray: 4 5; }
.bridge-caption { margin-top: 20px; padding-top: 18px; border-top: 1px dashed var(--line); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.bridge-caption span { font-family: var(--mono); font-size: 11px; letter-spacing: 0.05em; color: var(--muted); }
.bridge-caption b { font-family: var(--display); font-size: 13px; color: var(--primary-ink); font-weight: 600; }

@media (max-width: 940px) {
  .hero-grid { grid-template-columns: 1fr; }
  .bridge-visual { max-width: 520px; }
}

/* ============================================================
   MARQUEE / trust strip
   ============================================================ */
.strip { border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); background: var(--paper); padding-block: 26px; overflow: hidden; }
.strip-label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.strip-row { display: flex; align-items: center; gap: 40px; }
.strip-tags { display: flex; gap: 36px; flex-wrap: wrap; }
.strip-tags span { font-family: var(--display); font-weight: 600; font-size: clamp(15px, 1.6vw, 19px); color: var(--ink-soft); letter-spacing: -0.01em; }
.strip-tags span::before { content: "—"; color: var(--accent); margin-right: 10px; }

@media (max-width: 760px) { .strip-row { flex-direction: column; align-items: flex-start; gap: 14px; } }

/* ============================================================
   GAP / approach diagram section
   ============================================================ */
.gap-head { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 60px); align-items: end; margin-bottom: clamp(40px, 5vw, 64px); }
.gap-head .lead { margin-top: 0; }
@media (max-width: 820px) { .gap-head { grid-template-columns: 1fr; gap: 20px; } }

.threecol { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.gcard {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 28px 32px; position: relative; overflow: hidden;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.5s var(--ease);
}
.gcard:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--line); }
.gcard .gnum { font-family: var(--mono); font-size: 12px; color: var(--accent-2); letter-spacing: 0.1em; }
.gcard h3 { font-size: 22px; margin-top: 16px; margin-bottom: 10px; }
.gcard p { font-size: 15.5px; color: var(--muted); text-wrap: pretty; }
.gcard .gbar { position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--accent); transform: scaleY(0); transform-origin: top; transition: transform 0.5s var(--ease); }
.gcard:hover .gbar { transform: scaleY(1); }
@media (max-width: 820px) { .threecol { grid-template-columns: 1fr; } }

/* ============================================================
   SERVICES
   ============================================================ */
.services { background: var(--surface); border-block: 1px solid var(--line-soft); }
.svc-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; margin-top: clamp(36px, 4vw, 54px); }
.svc {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; display: flex; flex-direction: column; position: relative; overflow: hidden;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.svc:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.svc .tag { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.svc h3 { font-size: 24px; margin-top: 14px; margin-bottom: 10px; letter-spacing: -0.025em; }
.svc p { font-size: 15px; color: var(--muted); text-wrap: pretty; }
.svc .svc-link { margin-top: auto; padding-top: 22px; font-family: var(--body); font-weight: 700; font-size: 14.5px; color: var(--primary); display: inline-flex; align-items: center; gap: 7px; }
.svc .svc-link .arr { transition: transform 0.4s var(--ease); }
.svc:hover .svc-link .arr { transform: translateX(4px); }

.svc.feature { grid-column: span 6; }
.svc.small { grid-column: span 3; }
.svc.feature { background: linear-gradient(155deg, var(--paper), var(--paper)); }
.svc.feature::after {
  content: ""; position: absolute; right: -60px; top: -60px; width: 200px; height: 200px;
  border-radius: 50%; background: var(--accent-soft); opacity: 0.5; filter: blur(8px); z-index: 0;
}
.svc.feature > * { position: relative; z-index: 1; }
.svc.feature { padding: 38px 40px; }
.svc.feature .tag { color: var(--accent-2); }
.svc.feature h3 { font-size: 30px; margin-top: 16px; margin-bottom: 12px; }
.svc.feature p { font-size: 16px; max-width: 46ch; }
.svc.feature .badge { position: absolute; top: 26px; right: 26px; font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent-2); background: var(--accent-soft); padding: 5px 10px; border-radius: 100px; z-index: 2; }
.svc-ph { width: 100%; height: 132px; border-radius: var(--radius-sm); margin-bottom: 22px; }

@media (max-width: 940px) {
  .svc.feature { grid-column: span 12; }
  .svc.small { grid-column: span 6; }
}
@media (max-width: 560px) { .svc.small { grid-column: span 12; } }

/* ============================================================
   PROCESS
   ============================================================ */
.process-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(36px, 5vw, 80px); align-items: start; }
.steps { display: flex; flex-direction: column; }
.step { display: grid; grid-template-columns: auto 1fr; gap: 24px; padding: 26px 0; border-top: 1px solid var(--line); }
.step:last-child { border-bottom: 1px solid var(--line); }
.step .snum { font-family: var(--mono); font-size: 13px; color: var(--accent-2); font-weight: 700; padding-top: 4px; }
.step h3 { font-size: 22px; margin-bottom: 8px; transition: color 0.3s var(--ease); }
.step p { font-size: 15.5px; color: var(--muted); text-wrap: pretty; }
.step:hover h3 { color: var(--accent-2); }
.process-sticky { position: sticky; top: 110px; }
@media (max-width: 880px) { .process-grid { grid-template-columns: 1fr; gap: 32px; } .process-sticky { position: static; } }

/* ============================================================
   USE CASES
   ============================================================ */
.cases-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: clamp(36px, 4vw, 54px); }
.case {
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--paper);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.case:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.case-img { height: 230px; position: relative; overflow: hidden; }
.case-body { padding: 26px 28px 30px; }
.case-body .tag { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent-2); }
.case-body h3 { font-size: 23px; margin-top: 12px; margin-bottom: 10px; }
.case-body p { font-size: 15px; color: var(--muted); text-wrap: pretty; }
@media (max-width: 760px) { .cases-grid { grid-template-columns: 1fr; } }

/* striped placeholder */
.ph {
  background:
    repeating-linear-gradient(45deg, oklch(0.92 0.01 264 / 0.6) 0 11px, transparent 11px 22px),
    var(--surface);
  position: relative; display: flex; align-items: center; justify-content: center;
}
.ph::after {
  content: attr(data-label);
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted); background: var(--paper); padding: 6px 12px; border-radius: 100px; border: 1px solid var(--line);
}
.ph.warm { background: repeating-linear-gradient(45deg, oklch(0.89 0.018 250 / 0.55) 0 11px, transparent 11px 22px), oklch(0.95 0.012 250); }
.ph.cool { background: repeating-linear-gradient(45deg, oklch(0.85 0.05 212 / 0.5) 0 11px, transparent 11px 22px), var(--accent-soft); }

/* ── Case-card generated graphics ─────────────────────────── */
.case-img.cg { display: block; }
.svc-ph.cg { overflow: hidden; }
.cg .cg-label { fill: var(--paper); font-family: var(--display); font-weight: 700; letter-spacing: 0.02em; }
.cg svg { width: 100%; height: 100%; display: block; }
.cg-cool { background: linear-gradient(150deg, var(--accent-soft) 0%, oklch(0.975 0.012 210) 70%); }
.cg-deep { background: linear-gradient(150deg, oklch(0.93 0.04 230) 0%, oklch(0.97 0.014 235) 72%); }
.cg-warm { background: linear-gradient(150deg, oklch(0.95 0.018 250) 0%, oklch(0.975 0.01 250) 72%); }
.cg .grid-faint { stroke: var(--accent-2); opacity: 0.10; }
.cg .stroke-accent { stroke: var(--accent); }
.cg .stroke-deep { stroke: var(--accent-2); }
.cg .stroke-navy { stroke: var(--primary); }
.cg .fill-accent { fill: var(--accent); }
.cg .fill-deep { fill: var(--accent-2); }
.cg .fill-navy { fill: var(--primary); }
.cg .fill-paper { fill: var(--paper); }
/* draw-in on reveal */
.cg .draw { stroke-dasharray: var(--len, 900); stroke-dashoffset: var(--len, 900); }
.reveal.in .cg .draw { animation: cgDraw 1.5s var(--ease) forwards; }
.reveal.in .cg .draw.d2 { animation-delay: 0.18s; }
.cg .pop { transform: scale(0); transform-origin: center; transform-box: fill-box; }
.reveal.in .cg .pop { animation: cgPop 0.5s var(--ease) forwards; }
@keyframes cgDraw { to { stroke-dashoffset: 0; } }
@keyframes cgPop { to { transform: scale(1); } }
body.no-motion .cg .draw { stroke-dashoffset: 0; animation: none; }
body.no-motion .cg .pop { transform: scale(1); animation: none; }

/* ============================================================
   DARK ABOUT / STATEMENT
   ============================================================ */
.dark-sec { background: linear-gradient(160deg, var(--primary), var(--primary-2)); color: var(--on-dark); position: relative; overflow: hidden; }
.dark-sec h2.section-title, .dark-sec h2 { color: var(--on-dark); }
.dark-sec .lead { color: var(--on-dark-muted); }
.dark-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 5vw, 72px); align-items: center; }
.dark-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: oklch(0.96 0.006 75 / 0.16); border: 1px solid oklch(0.96 0.006 75 / 0.16); border-radius: var(--radius); overflow: hidden; }
.dstat { background: var(--primary-2); padding: 30px 28px; }
.dstat b { font-family: var(--display); font-size: clamp(26px, 3.4vw, 38px); font-weight: 700; color: var(--on-dark); letter-spacing: -0.03em; display: block; white-space: nowrap; }
.dstat b .accent-text { color: var(--accent); }
.dstat span { font-size: 14px; color: var(--on-dark-muted); margin-top: 6px; display: block; }
.dark-glow { position: absolute; width: 460px; height: 460px; border-radius: 50%; filter: blur(90px); background: var(--accent); opacity: 0.30; top: -140px; right: -100px; z-index: 0; }
.dark-sec .wrap { position: relative; z-index: 1; }
@media (max-width: 820px) { .dark-grid { grid-template-columns: 1fr; } }

/* ============================================================
   FINAL CTA
   ============================================================ */
.cta-sec { text-align: center; }
.cta-card {
  background: linear-gradient(160deg, var(--primary), var(--primary-2));
  border-radius: clamp(20px, 3vw, 34px); padding: clamp(48px, 7vw, 96px) clamp(28px, 5vw, 80px);
  position: relative; overflow: hidden; box-shadow: var(--shadow-lg);
}
.cta-card .cta-glow { position: absolute; width: 360px; height: 360px; border-radius: 50%; filter: blur(80px); background: var(--accent); opacity: 0.35; }
.cta-card .cta-glow.g1 { top: -120px; left: -60px; }
.cta-card .cta-glow.g2 { bottom: -140px; right: -60px; opacity: 0.25; }
.cta-card > * { position: relative; z-index: 1; }
.cta-card h2 { font-size: clamp(34px, 5.2vw, 68px); color: var(--on-dark); letter-spacing: -0.035em; text-wrap: balance; }
.cta-card h2 .accent-text { color: var(--accent); }
.cta-card p { color: var(--on-dark-muted); font-size: clamp(16px, 1.6vw, 19px); max-width: 50ch; margin: 22px auto 0; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 38px; }
.cta-card .eyebrow { color: var(--accent); justify-content: center; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--dark-2); color: var(--on-dark); padding-block: clamp(56px, 7vw, 88px) 40px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer .brand { color: var(--on-dark); font-size: 26px; }
.footer .fdesc { color: var(--on-dark-muted); font-size: 15px; max-width: 34ch; margin-top: 16px; }
.fcol h4 { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); font-weight: 700; margin-bottom: 16px; }
.fcol a { display: block; color: var(--on-dark-muted); font-size: 15px; padding: 6px 0; transition: color 0.2s var(--ease); }
.fcol a:hover { color: var(--on-dark); }
.fsocial { display: flex; gap: 10px; margin-top: 22px; }
.fsocial a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid oklch(0.96 0.006 75 / 0.2); display: flex; align-items: center; justify-content: center; color: var(--on-dark-muted); transition: all 0.3s var(--ease); font-family: var(--mono); font-size: 11px; }
.fsocial a:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; margin-top: clamp(44px, 5vw, 64px); padding-top: 28px; border-top: 1px solid oklch(0.96 0.006 75 / 0.12); }
.footer-bottom p { color: var(--faint); font-size: 13.5px; font-family: var(--mono); letter-spacing: 0.03em; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* section header shared */
.sec-head { max-width: var(--maxw); }
.sec-head .lead { margin-top: 20px; }

/* ============================================================
   STANCE — advisor × implementer positioning band
   ============================================================ */
.stance { background: var(--surface); border-block: 1px solid var(--line-soft); }
.stance-head { text-align: center; max-width: 760px; margin-inline: auto; }
.stance-head h2 { font-size: clamp(30px, 4.4vw, 52px); letter-spacing: -0.03em; text-wrap: balance; }
.stance-head .lead { margin: 20px auto 0; }
.stance-head .eyebrow { justify-content: center; }
.stance-cols { display: grid; grid-template-columns: 1fr auto 1fr; gap: 22px; align-items: stretch; margin-top: clamp(40px, 5vw, 60px); }
.stance-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 32px; display: flex; flex-direction: column;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.stance-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.stance-card .sk { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-2); margin-bottom: 14px; }
.stance-card h3 { font-size: 25px; letter-spacing: -0.025em; margin-bottom: 12px; }
.stance-card p { font-size: 15.5px; color: var(--ink-soft); text-wrap: pretty; }
.stance-card .vs { margin-top: auto; padding-top: 20px; font-size: 14px; line-height: 1.55; color: var(--muted); text-wrap: balance; }
.stance-card .vs b { color: var(--accent-2); font-weight: 700; }
.stance-mid { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 0 4px; }
.stance-mid .core {
  width: 108px; height: 108px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, var(--primary), var(--primary-2));
  color: var(--on-dark); display: flex; flex-direction: column; align-items: center; justify-content: center;
  box-shadow: 0 14px 34px oklch(0.40 0.105 262 / 0.4); position: relative; flex: none;
}
.stance-mid .core::after { content: ""; position: absolute; inset: -9px; border: 1.5px solid var(--accent); border-radius: 50%; opacity: 0.55; }
.stance-mid .core b { font-family: var(--display); font-size: 20px; font-weight: 700; letter-spacing: -0.02em; }
.stance-mid .core span { font-family: var(--mono); font-size: 10.5px; line-height: 1.25; letter-spacing: 0.05em; text-transform: uppercase; opacity: 0.9; margin-top: 4px; }
.stance-mid .plus { font-family: var(--display); font-size: 30px; color: var(--faint); line-height: 1; }
@media (max-width: 860px) {
  .stance-cols { grid-template-columns: 1fr; }
  .stance-mid { flex-direction: row; gap: 16px; }
  .stance-mid .plus { display: none; }
}

/* ============================================================
   TEAM / LEADERSHIP — shared by homepage + public sector
   ============================================================ */
.lead-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: clamp(36px, 4vw, 52px); }
.leader { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease); }
.leader:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.leader .portrait { height: 248px; }
.leader .lbody { padding: 24px 26px 28px; }
.leader .lrole { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent-2); }
.leader h3 { font-size: 22px; margin-top: 10px; margin-bottom: 4px; letter-spacing: -0.02em; }
.leader .ltitle { font-size: 14px; font-weight: 700; color: var(--primary); margin-bottom: 12px; }
.leader p { font-size: 14.5px; color: var(--muted); text-wrap: pretty; }
.leader.tba h3 { color: var(--faint); }
.portrait.ph::after { content: attr(data-label); }
/* ── Founder profiles: full rectangular photo ─────────────── */
.portrait.photo-rect { padding: 0; overflow: hidden; background: var(--accent-soft); }
.portrait.photo-rect img { width: 100%; height: 100%; object-fit: cover; object-position: center 28%; display: block; }
/* ── Founder avatars: circular monogram on tinted panel ───── */
.portrait.avatar { display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.portrait.avatar .avatar-mono {
  width: 122px; height: 122px; border-radius: 50%; position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--display); font-weight: 600; font-size: 40px; letter-spacing: -0.01em;
  color: var(--on-dark); box-shadow: 0 14px 32px oklch(0.40 0.08 240 / 0.30);
}
.portrait.avatar .avatar-ring { position: absolute; width: 156px; height: 156px; border-radius: 50%; border: 1.5px solid currentColor; opacity: 0.32; }
.portrait.avatar .avatar-ring::before { content: ""; position: absolute; top: -3.5px; left: 50%; width: 7px; height: 7px; border-radius: 50%; background: currentColor; transform: translateX(-50%); }
.portrait.avatar .avatar-tag { position: absolute; bottom: 16px; left: 18px; font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: currentColor; opacity: 0.55; }
.leader.in .portrait.avatar .avatar-mono { animation: cgPop 0.5s var(--ease) both; }
body.no-motion .portrait.avatar .avatar-mono { animation: none; }
.av-1 { background: linear-gradient(150deg, oklch(0.93 0.04 262) 0%, oklch(0.965 0.015 262) 76%); color: var(--primary); }
.av-1 .avatar-mono { background: linear-gradient(150deg, var(--primary), var(--primary-2)); }
.avatar-mono.has-photo { background: var(--accent-soft); overflow: hidden; padding: 0; }
.avatar-mono.has-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 32%; display: block; }
.av-2 { background: linear-gradient(150deg, var(--accent-soft) 0%, oklch(0.975 0.012 210) 76%); color: var(--accent-2); }
.av-2 .avatar-mono { background: linear-gradient(150deg, var(--accent), var(--accent-2)); }
.av-3 { background: linear-gradient(150deg, oklch(0.93 0.04 232) 0%, oklch(0.97 0.014 235) 76%); color: var(--accent-2); }
.av-3 .avatar-mono { background: linear-gradient(150deg, var(--accent-2), var(--primary)); }
.leader-li { margin-top: 16px; display: inline-flex; align-items: center; gap: 9px; font-family: var(--mono); font-size: 12.5px; font-weight: 700; letter-spacing: 0.03em; color: var(--ink-soft); transition: color 0.2s var(--ease); }
.leader-li .ic { width: 23px; height: 23px; border-radius: 6px; background: var(--primary); color: var(--on-dark); display: inline-flex; align-items: center; justify-content: center; font-family: var(--display); font-weight: 700; font-size: 11px; transition: background 0.2s var(--ease); }
.leader-li:hover { color: var(--primary); }
.leader-li:hover .ic { background: var(--accent-2); }
@media (max-width: 820px) { .lead-grid { grid-template-columns: 1fr; max-width: 460px; } }

/* Em-dash brand signature — a small, deliberate voice mark */
.brand-sig { font-family: var(--display); font-size: 17px; font-weight: 500; letter-spacing: -0.01em; color: var(--on-dark); margin-top: 18px; text-wrap: balance; }
.brand-sig .em { color: var(--accent); font-weight: 600; }
