/* ────────────────────────────────────────────────────────────
   FSADP — Capability Deck
   Dark, warm-cast, editorial-tech aesthetic.
   ──────────────────────────────────────────────────────────── */

/* register --accent so it can tween between colors for the Aurora theme */
@property --accent {
  syntax: '<color>';
  inherits: true;
  initial-value: #C7F23B;
}

:root {
  /* palette */
  --bg:          #0A0A0B;
  --bg-2:        #111114;
  --bg-3:        #16161A;
  --ink:         #ECEAE5;
  --ink-2:       #B7B3AC;
  --ink-3:       #7A766F;
  --rule:        #1E1D22;
  --rule-2:      #2A2830;
  --accent:      #C7F23B;      /* acid chartreuse */
  --accent-rgb:  199, 242, 59;
  --accent-2:    #E47C5A;      /* warm coral for humanity */
  --accent-2-rgb:228, 124, 90;
  --accent-ink:  #0A0A0B;

  /* type */
  --f-display: "Instrument Serif", "Cormorant Garamond", "Georgia", serif;
  --f-sans:    "Geist", "Söhne", -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, sans-serif;
  --f-mono:    "Geist Mono", "JetBrains Mono", "SF Mono", Menlo, Consolas, monospace;

  /* scale */
  --maxw: 1240px;
  --gut:  clamp(20px, 4vw, 56px);

  /* type scale */
  --t-hero:   clamp(56px, 12vw, 168px);
  --t-h2:     clamp(40px, 6.6vw, 96px);
  --t-h3:     clamp(22px, 2.2vw, 32px);
  --t-lede:   clamp(17px, 1.5vw, 21px);
  --t-body:   clamp(15px, 1.05vw, 17px);
  --t-mono:   12px;
  --t-mono-lg:13px;

  /* motion */
  --ease: cubic-bezier(.22,.61,.36,1);
}

* { box-sizing: border-box; }
*::selection { background: var(--accent); color: var(--accent-ink); }

html, body {
  margin: 0; padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-sans);
  font-size: var(--t-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  background:
    radial-gradient(ellipse 100% 60% at 50% -10%, rgba(var(--accent-rgb),.06), transparent 60%),
    linear-gradient(180deg, #0A0A0B 0%, #0A0908 100%);
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

/* ───── film-grain overlay ───── */
.grain {
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: .07;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .6 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* ───── container ───── */
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gut); width: 100%; }

/* ───── monospace utility ───── */
.mono {
  font-family: var(--f-mono);
  font-size: var(--t-mono);
  letter-spacing: .04em;
  text-transform: uppercase;
}

/* ───── nav ───── */
.nav {
  position: sticky; top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 18px var(--gut);
  background: linear-gradient(180deg, rgba(10,10,11,.92), rgba(10,10,11,.7) 80%, transparent);
  backdrop-filter: saturate(120%) blur(10px);
  -webkit-backdrop-filter: saturate(120%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease);
}
.nav.is-scrolled { border-bottom-color: var(--rule); }

.brand {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--f-sans); font-weight: 500;
  letter-spacing: -.01em;
}
.brand__mark {
  width: 18px; height: 18px; border-radius: 4px;
  background:
    radial-gradient(circle at 30% 30%,
      color-mix(in srgb, var(--accent) 30%, #ffffff),
      var(--accent) 55%,
      color-mix(in srgb, var(--accent) 55%, #000000) 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.2),
    0 0 24px rgba(var(--accent-rgb),.35);
}
.brand__name { font-size: 16px; }
.brand__tag {
  color: var(--ink-3);
  font-size: 11px;
  padding-left: 10px;
  border-left: 1px solid var(--rule);
}

.nav__links {
  display: flex; gap: 28px; justify-content: center;
}
.nav__links a {
  color: var(--ink-2);
  font-size: 14px;
  position: relative;
  padding: 4px 0;
  transition: color .2s var(--ease);
}
.nav__links a::after {
  content:""; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: left;
  transition: transform .35s var(--ease);
}
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after { transform: scaleX(1); }

.nav__toggle {
  display: none;
  width: 36px; height: 36px;
  flex-direction: column; justify-content: center; gap: 4px;
  padding: 0 8px;
  border-radius: 6px;
  border: 1px solid var(--rule);
}
.nav__toggle span {
  display: block; width: 18px; height: 1.5px;
  background: var(--ink); transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.nav.is-open .nav__toggle span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.nav.is-open .nav__toggle span:nth-child(2) { opacity: 0; }
.nav.is-open .nav__toggle span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

/* ───── CTA button ───── */
.cta {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 600;
  font-size: 14px;
  border: 1px solid transparent;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
  white-space: nowrap;
}
.cta .arr { display: inline-block; transition: transform .25s var(--ease); }
.cta:hover { transform: translateY(-1px); box-shadow: 0 8px 28px rgba(var(--accent-rgb),.25); }
.cta:hover .arr { transform: translateX(3px); }
.cta--sm { padding: 9px 14px; font-size: 13px; }
.cta--lg { padding: 16px 24px; font-size: 15px; }
.cta--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--rule-2);
}
.cta--ghost:hover { background: var(--bg-3); box-shadow: none; }

/* ───── section base ───── */
[data-section] {
  padding: clamp(80px, 12vh, 160px) 0;
  position: relative;
  border-top: 1px solid var(--rule);
}
section.hero { border-top: 0; padding-top: 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--ink-3);
}
.eyebrow .dot {
  width: 6px; height: 6px; border-radius: 999px; background: var(--accent);
  box-shadow: 0 0 0 4px rgba(var(--accent-rgb),.12);
  animation: blink 2.4s infinite var(--ease);
}
@keyframes blink {
  0%, 60%, 100% { opacity: 1; }
  30%           { opacity: .3; }
}

.sec-head {
  max-width: 880px;
  margin-bottom: clamp(48px, 6vw, 88px);
}
.sec-head .eyebrow { margin-bottom: 22px; }
.sec-title {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: var(--t-h2);
  line-height: .96;
  letter-spacing: -.02em;
  margin: 0 0 24px;
}
.sec-title em {
  font-style: italic;
  color: var(--accent);
}
.sec-lede {
  font-size: var(--t-lede);
  color: var(--ink-2);
  max-width: 60ch;
  line-height: 1.55;
  margin: 0;
}

/* ────────────────────── HERO ────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero__inner {
  position: relative; z-index: 2;
  padding: 140px 0 80px;
}

.hero__orb {
  position: absolute;
  top: -30%; left: 50%; transform: translateX(-50%);
  width: min(1400px, 140vw);
  aspect-ratio: 1/1;
  background:
    radial-gradient(circle at 50% 40%, rgba(var(--accent-rgb),.16), rgba(var(--accent-rgb),.04) 32%, transparent 58%),
    radial-gradient(circle at 30% 60%, rgba(var(--accent-2-rgb),.10), transparent 52%);
  filter: blur(40px);
  pointer-events: none;
  z-index: 0;
  opacity: .85;
}
.hero__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, #000 30%, transparent 80%);
  pointer-events: none;
  z-index: 0;
}

.hero__title {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: var(--t-hero);
  line-height: .92;
  letter-spacing: -.025em;
  margin: 28px 0 28px;
  max-width: 18ch;
}
.hero__title em {
  font-style: italic;
  color: var(--accent);
  font-feature-settings: "ss01";
}

.hero__sub {
  font-size: clamp(18px, 1.6vw, 22px);
  color: var(--ink-2);
  max-width: 62ch;
  line-height: 1.5;
  margin: 0 0 40px;
}

.hero__cta {
  display: flex; flex-wrap: wrap; gap: 14px;
  margin-bottom: 80px;
}

.hero__meta {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 24px;
  border-top: 1px solid var(--rule);
  padding-top: 26px;
}
.hero__metaItem .num {
  font-family: var(--f-display);
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1;
  letter-spacing: -.02em;
}
.hero__metaItem .plus {
  color: var(--accent);
  font-size: .55em;
  font-family: var(--f-mono);
  vertical-align: super;
  margin-left: 2px;
}
.hero__metaItem .lbl { color: var(--ink-3); margin-top: 10px; }

.hero__scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--ink-3);
  display: flex; align-items: center; gap: 10px;
  font-size: 11px;
}
.hero__scroll .line {
  display: inline-block; width: 1px; height: 36px;
  background: linear-gradient(to bottom, var(--ink-3), transparent);
  animation: drop 2s infinite var(--ease);
}
@keyframes drop {
  0%   { transform: translateY(-12px); opacity: 0; }
  35%  { opacity: 1; }
  100% { transform: translateY(12px); opacity: 0; }
}

/* ────────────────────── PILLARS ────────────────────── */
.pillars__grid {
  list-style: none; margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 0;
  border: 1px solid var(--rule);
  border-radius: 20px;
  overflow: hidden;
  background: var(--bg-2);
}
.pillar {
  padding: clamp(28px, 3vw, 44px);
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  background: transparent;
  transition: background .3s var(--ease);
  position: relative;
}
.pillar:nth-child(2n)  { border-right: 0; }
.pillar:nth-last-child(-n+2) { border-bottom: 0; }
.pillar:hover { background: rgba(var(--accent-rgb),.03); }
.pillar:hover::before {
  content:""; position: absolute; left: 0; top: 0; bottom: 0;
  width: 2px; background: var(--accent);
}

.pillar__num {
  color: var(--ink-3);
  margin-bottom: 28px;
  font-size: var(--t-mono-lg);
}
.pillar__title {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(26px, 2.4vw, 36px);
  line-height: 1.1;
  letter-spacing: -.015em;
  margin: 0 0 14px;
}
.pillar__copy { color: var(--ink-2); margin: 0 0 22px; max-width: 42ch; }
.pillar__list {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 6px 14px;
  color: var(--ink-3);
}
.pillar__list li {
  display: inline-flex; align-items: center; gap: 8px;
}
.pillar__list li::before {
  content:"·"; color: var(--accent);
}

/* ────────────────────── DEEP DIVE ────────────────────── */
.deep__row {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: clamp(28px, 4vw, 72px);
  padding: clamp(40px, 5vw, 64px) 0;
  border-top: 1px dashed var(--rule);
}
.deep__row:first-of-type { border-top: 0; padding-top: 0; }

.deep__num {
  color: var(--ink-3);
  font-size: var(--t-mono-lg);
  position: sticky; top: 90px; align-self: start;
}
.deep__title {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.05;
  letter-spacing: -.015em;
  margin: 0 0 18px;
}
.deep__title em { font-style: italic; color: var(--accent); }
.deep__body > p {
  color: var(--ink-2);
  font-size: var(--t-lede);
  max-width: 62ch;
  margin: 0 0 36px;
}
.deep__cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 4vw, 56px);
}
.deep__h { color: var(--ink-3); margin-bottom: 14px; }
.deep__cols ul { list-style: none; margin: 0; padding: 0; }
.deep__cols ul li {
  padding: 10px 0;
  border-bottom: 1px solid var(--rule);
  color: var(--ink);
  font-size: 15px;
  display: flex; align-items: baseline; gap: 12px;
}
.deep__cols ul li::before {
  content:"→"; color: var(--accent); font-family: var(--f-mono);
  font-size: 13px;
}
.deep__cols ul li:last-child { border-bottom: 0; }
.chips {
  display: flex; flex-wrap: wrap; gap: 6px;
}
.chips span {
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--bg-3);
  border: 1px solid var(--rule);
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--ink-2);
  letter-spacing: .02em;
}

/* ────────────────────── WORK ────────────────────── */
.work__hero {
  padding: clamp(32px, 4vw, 56px);
  border: 1px solid var(--rule);
  border-radius: 22px;
  background:
    radial-gradient(ellipse 120% 80% at 80% 0%, rgba(var(--accent-rgb),.08), transparent 50%),
    linear-gradient(180deg, var(--bg-2), var(--bg));
  margin-bottom: 56px;
  position: relative;
  overflow: hidden;
}
.work__hero::before {
  content: ""; position: absolute;
  top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(to right, transparent, var(--accent) 30%, var(--accent) 70%, transparent);
  opacity: .6;
}
.work__heroTop {
  display: flex; align-items: center; justify-content: space-between;
  gap: 18px; flex-wrap: wrap; margin-bottom: 26px;
}
.work__heroBadge {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--ink-2);
  padding: 6px 12px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  background: var(--bg-3);
  font-size: 11px;
}
.work__heroBadge .dot {
  width: 6px; height: 6px; border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(var(--accent-rgb),.12);
  animation: blink 2.4s infinite var(--ease);
}
.work__heroCols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 4vw, 56px);
  margin-top: 36px;
  padding-top: 32px;
  border-top: 1px dashed var(--rule);
}
.work__heroList { list-style: none; margin: 0; padding: 0; }
.work__heroList li {
  padding: 10px 0;
  border-bottom: 1px solid var(--rule);
  font-size: 15px;
  display: flex; align-items: baseline; gap: 12px;
  color: var(--ink);
}
.work__heroList li::before {
  content: "→"; color: var(--accent); font-family: var(--f-mono); font-size: 13px;
}
.work__heroList li:last-child { border-bottom: 0; }
.work__tag { color: var(--accent); font-size: var(--t-mono-lg); }
.work__heroRow {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(24px, 4vw, 64px);
  align-items: end;
  margin-bottom: 44px;
}
.work__heroTitle {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(30px, 3.6vw, 56px);
  line-height: 1.02;
  letter-spacing: -.02em;
  margin: 0;
}
.work__heroTitle em { font-style: italic; color: var(--accent); }
.work__heroCopy { color: var(--ink-2); font-size: var(--t-lede); margin: 0; max-width: 44ch; }
.work__stats {
  display: grid; grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 18px;
  padding-top: 26px;
  border-top: 1px solid var(--rule);
}
.work__stats .num {
  font-family: var(--f-display);
  font-size: clamp(36px, 4.4vw, 64px);
  line-height: 1;
  letter-spacing: -.025em;
}
.work__stats .plus {
  color: var(--accent);
  font-size: .45em;
  font-family: var(--f-mono);
  vertical-align: super;
  margin-left: 2px;
}
.work__stats .lbl { color: var(--ink-3); margin-top: 10px; }

.work__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 18px;
}
.case {
  padding: 28px;
  border: 1px solid var(--rule);
  border-radius: 18px;
  background: var(--bg-2);
  transition: transform .3s var(--ease), border-color .3s var(--ease), background .3s var(--ease);
  position: relative;
  overflow: hidden;
}
.case::after {
  content: ""; position: absolute;
  left: 0; right: 0; top: 0; height: 1px;
  background: linear-gradient(to right, transparent, var(--accent), transparent);
  opacity: 0; transition: opacity .3s var(--ease);
}
.case:hover { transform: translateY(-3px); border-color: var(--rule-2); background: var(--bg-3); }
.case:hover::after { opacity: 1; }
.case__tag { color: var(--accent); font-size: 11px; margin-bottom: 12px; display: block; }
.case h3 {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 22px;
  line-height: 1.15;
  letter-spacing: -.01em;
  margin: 0 0 14px;
}
.case p { color: var(--ink-2); font-size: 14.5px; line-height: 1.55; margin: 0 0 18px; }
.case__pills {
  display: flex; flex-wrap: wrap; gap: 6px;
}
.case__pills span {
  padding: 5px 9px;
  background: var(--bg-3);
  border: 1px solid var(--rule);
  border-radius: 999px;
  font-size: 11px;
  color: var(--ink-2);
}

/* ────────────────────── TECH STACK ────────────────────── */
.stack__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  border-radius: 20px;
  overflow: hidden;
}
.stack__col {
  background: var(--bg);
  padding: 28px 24px;
  transition: background .3s var(--ease);
}
.stack__col:hover { background: var(--bg-2); }
.stack__h {
  color: var(--accent);
  margin-bottom: 16px;
  font-size: var(--t-mono-lg);
}
.stack__col ul {
  list-style: none; margin: 0; padding: 0;
}
.stack__col li {
  padding: 8px 0;
  border-bottom: 1px dashed var(--rule);
  font-size: 14px;
  color: var(--ink);
}
.stack__col li:last-child { border-bottom: 0; }

/* ────────────────────── FOUNDERS ────────────────────── */
.founders__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 24px;
}
.founder {
  background: var(--bg-2);
  border: 1px solid var(--rule);
  border-radius: 22px;
  padding: 32px;
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 28px;
  transition: transform .3s var(--ease), border-color .3s var(--ease);
}
.founder:hover { transform: translateY(-3px); border-color: var(--rule-2); }
.founder__portrait {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: 14px;
  background:
    radial-gradient(circle at 30% 30%, rgba(var(--accent-rgb),.18), transparent 55%),
    linear-gradient(160deg, #1A1A1F, #0F0F12);
  border: 1px solid var(--rule);
  position: relative;
  overflow: hidden;
  display: grid; place-items: center;
}
.founder__portrait img {
  width: 100%; height: 100%; object-fit: cover;
}
.founder__init {
  position: absolute;
  font-size: clamp(64px, 9vw, 120px);
  color: var(--ink);
  opacity: .92;
  font-family: var(--f-display);
  letter-spacing: -.04em;
  text-transform: uppercase;
}
.founder__role { color: var(--accent); margin-bottom: 8px; font-size: var(--t-mono-lg); }
.founder__name {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(28px, 2.6vw, 38px);
  line-height: 1.05;
  letter-spacing: -.015em;
  margin: 0 0 16px;
}
.founder__copy { color: var(--ink-2); margin: 0 0 22px; max-width: 44ch; font-size: 15px; }
.founder__chips {
  display: flex; flex-wrap: wrap; gap: 6px;
  list-style: none; margin: 0 0 18px; padding: 0;
}
.founder__chips li {
  padding: 5px 10px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  color: var(--ink-2);
  font-size: 11px;
  background: var(--bg-3);
}
.founder__link {
  color: var(--ink-3);
  transition: color .2s var(--ease);
  font-size: 12px;
  border-bottom: 1px dashed var(--rule);
  padding-bottom: 6px;
  display: inline-block;
}
.founder__link:hover { color: var(--accent); }

/* ────────────────────── TRUST ────────────────────── */
.trust__row {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 32px;
  padding: 28px 0;
  border-top: 1px solid var(--rule);
}
.trust__row:first-of-type { border-top: 0; padding-top: 0; }
.trust__h { color: var(--ink-3); padding-top: 8px; font-size: var(--t-mono-lg); }
.trust__list {
  list-style: none; margin: 0; padding: 0;
}
.trust__list li {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 24px;
  align-items: baseline;
  padding: 10px 0;
  border-bottom: 1px dashed var(--rule);
  font-size: 15px;
}
.trust__list li:last-child { border-bottom: 0; }
.trust__list li > .mono,
.trust__list li > span:first-child:not(:only-child) { color: var(--accent); }

.trust__list--row {
  display: flex; flex-wrap: wrap; gap: 8px;
}
.trust__list--row li {
  display: inline-flex;
  padding: 8px 14px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  grid-template-columns: none;
  border-bottom: 1px solid var(--rule);
  color: var(--ink);
  font-size: 13px;
  background: var(--bg-2);
}

/* ────────────────────── ENGAGE ────────────────────── */
.engage__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 18px;
}
.engage__card {
  padding: 32px;
  border: 1px solid var(--rule);
  border-radius: 18px;
  background: var(--bg-2);
  position: relative;
  transition: transform .3s var(--ease), border-color .3s var(--ease), background .3s var(--ease);
}
.engage__card:hover { transform: translateY(-3px); border-color: var(--accent); background: var(--bg-3); }
.engage__num {
  width: 36px; height: 36px;
  border-radius: 999px;
  border: 1px solid var(--rule-2);
  display: grid; place-items: center;
  color: var(--accent);
  font-size: 13px;
  margin-bottom: 22px;
}
.engage__card h3 {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 28px;
  line-height: 1.1;
  letter-spacing: -.01em;
  margin: 0 0 14px;
}
.engage__card p { color: var(--ink-2); margin: 0 0 20px; font-size: 15px; }
.engage__meta { color: var(--ink-3); }

/* ────────────────────── PROCESS ────────────────────── */
.process__strip {
  list-style: none; margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0,1fr));
  gap: 0;
  border: 1px solid var(--rule);
  border-radius: 18px;
  overflow: hidden;
  background: var(--bg-2);
}
.process__strip li {
  padding: 28px;
  border-right: 1px solid var(--rule);
  position: relative;
}
.process__strip li:last-child { border-right: 0; }
.process__num {
  color: var(--accent);
  margin-bottom: 18px;
  font-size: var(--t-mono-lg);
}
.process__strip h3 {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 22px;
  line-height: 1.1;
  margin: 0 0 10px;
}
.process__strip p { color: var(--ink-2); font-size: 14px; margin: 0; }

/* ────────────────────── FAQ ────────────────────── */
.faq__list { display: grid; gap: 0; border-top: 1px solid var(--rule); }
.faq__item {
  border-bottom: 1px solid var(--rule);
  padding: 22px 4px;
}
.faq__item summary {
  list-style: none;
  cursor: pointer;
  display: flex; align-items: baseline; gap: 14px;
  font-family: var(--f-display);
  font-size: clamp(20px, 1.8vw, 26px);
  line-height: 1.2;
  letter-spacing: -.01em;
  color: var(--ink);
  position: relative;
  padding-right: 40px;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary .mono { color: var(--accent); font-size: 12px; padding-top: 6px; }
.faq__item summary::after {
  content: "+";
  position: absolute; right: 0; top: 0;
  font-family: var(--f-mono);
  color: var(--ink-3);
  font-size: 22px;
  transition: transform .3s var(--ease), color .3s var(--ease);
}
.faq__item[open] summary::after { content: "−"; color: var(--accent); }
.faq__item p {
  color: var(--ink-2);
  font-size: 15px;
  max-width: 70ch;
  margin: 14px 0 0 32px;
}

/* ────────────────────── CONTACT ────────────────────── */
.contact {
  position: relative;
  overflow: hidden;
}
.contact::before {
  content: ""; position: absolute;
  top: -20%; left: 50%; transform: translateX(-50%);
  width: 80vw; aspect-ratio: 1/1;
  background: radial-gradient(circle, rgba(var(--accent-rgb),.08), transparent 60%);
  pointer-events: none;
  z-index: 0;
  filter: blur(40px);
}
.contact__inner {
  position: relative; z-index: 2;
  text-align: center;
  max-width: 880px;
  margin: 0 auto;
}
.contact__inner .eyebrow { justify-content: center; }
.contact__title {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(40px, 6vw, 88px);
  line-height: .98;
  letter-spacing: -.025em;
  margin: 26px 0 22px;
}
.contact__title em { font-style: italic; color: var(--accent); }
.contact__sub {
  color: var(--ink-2);
  font-size: var(--t-lede);
  max-width: 52ch;
  margin: 0 auto 40px;
}
.contact__ctas {
  display: flex; flex-wrap: wrap; gap: 14px; justify-content: center;
  margin-bottom: 56px;
}
.contact__rows {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 12px;
  border-top: 1px solid var(--rule);
  padding-top: 24px;
}
.contact__rows li {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
  justify-content: center;
  color: var(--ink-2);
}
.contact__rows .lbl {
  color: var(--ink-3);
  min-width: 60px;
  text-align: right;
}
.contact__rows a:hover { color: var(--accent); }
.contact__rows .sep { color: var(--ink-3); }

/* ────────────────────── FOOTER ────────────────────── */
.foot {
  padding: 36px var(--gut);
  border-top: 1px solid var(--rule);
}
.foot__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.foot__brand { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; }
.foot__meta { color: var(--ink-3); display: flex; gap: 10px; flex-wrap: wrap; }
.foot__meta .sep { color: var(--rule-2); }

/* ────────────────────── REVEAL MOTION ────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  transition-delay: var(--d, 0ms);
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .eyebrow .dot { animation: none; }
  .hero__scroll .line { animation: none; }
}

/* ────────────────────── RESPONSIVE ────────────────────── */
@media (max-width: 960px) {
  .nav__links { display: none; }
  .nav.is-open .nav__links {
    display: flex;
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--rule);
    padding: 8px 0;
  }
  .nav.is-open .nav__links a {
    padding: 14px var(--gut);
    border-bottom: 1px solid var(--rule);
    font-size: 15px;
    color: var(--ink);
  }
  .nav.is-open .nav__links a:last-child { border-bottom: 0; }
  .nav__toggle { display: flex; }
  .nav { grid-template-columns: auto 1fr auto; }
  .nav .cta--sm { display: none; }

  .pillars__grid { grid-template-columns: 1fr; }
  .pillar { border-right: 0 !important; }
  .pillar:nth-last-child(-n+2) { border-bottom: 1px solid var(--rule); }
  .pillar:last-child { border-bottom: 0; }

  .deep__row { grid-template-columns: 1fr; }
  .deep__num { position: static; }
  .deep__cols { grid-template-columns: 1fr; }

  .work__heroRow { grid-template-columns: 1fr; align-items: start; }
  .work__stats { grid-template-columns: repeat(2, 1fr); }
  .work__grid { grid-template-columns: 1fr 1fr; }

  .stack__grid { grid-template-columns: repeat(2, 1fr); }

  .founders__grid { grid-template-columns: 1fr; }

  .trust__row { grid-template-columns: 1fr; gap: 14px; }
  .trust__list li { grid-template-columns: 1fr; gap: 6px; }

  .engage__grid { grid-template-columns: 1fr; }

  .process__strip { grid-template-columns: 1fr 1fr; }
  .process__strip li { border-right: 0; border-bottom: 1px solid var(--rule); }
  .process__strip li:nth-child(2n) { border-right: 0; }
  .process__strip li:last-child { border-bottom: 0; }

  .hero__meta { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .work__grid { grid-template-columns: 1fr; }
  .work__stats { grid-template-columns: 1fr 1fr; }
  .stack__grid { grid-template-columns: 1fr; }
  .process__strip { grid-template-columns: 1fr; }
  .hero__meta { grid-template-columns: 1fr 1fr; }
  .brand__tag { display: none; }
  .foot__inner { flex-direction: column; align-items: flex-start; }
}

/* ────────────────────── PROJECT CARDS ────────────────────── */
.projects__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 18px;
}
.project {
  padding: clamp(28px, 3vw, 40px);
  border: 1px solid var(--rule);
  border-radius: 20px;
  background: var(--bg-2);
  position: relative;
  overflow: hidden;
  transition: transform .35s var(--ease), border-color .35s var(--ease), background .35s var(--ease);
  display: flex; flex-direction: column;
}
.project::before {
  content: ""; position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 100% 0%, rgba(var(--accent-rgb),.08), transparent 35%);
  opacity: 0;
  transition: opacity .35s var(--ease);
}
.project::after {
  content: ""; position: absolute;
  top: 0; left: 24px; right: 24px; height: 1px;
  background: linear-gradient(to right, transparent, var(--accent), transparent);
  opacity: 0; transition: opacity .35s var(--ease);
}
.project:hover {
  transform: translateY(-3px);
  border-color: var(--rule-2);
  background: var(--bg-3);
}
.project:hover::before { opacity: 1; }
.project:hover::after  { opacity: 1; }

.project--wide { grid-column: span 2; }

.project__head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px dashed var(--rule);
  gap: 14px;
}
.project__num    { color: var(--ink-3); font-size: var(--t-mono-lg); }
.project__domain { color: var(--accent); font-size: var(--t-mono-lg); }

.project__title {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(34px, 3.4vw, 52px);
  line-height: 1.0;
  letter-spacing: -.025em;
  margin: 0 0 10px;
}
.project__title .plus-sign {
  color: var(--accent);
  font-family: var(--f-mono);
  font-size: .55em;
  font-weight: 500;
  vertical-align: super;
  letter-spacing: -.05em;
  margin-left: 2px;
}
.project__tagline {
  font-family: var(--f-display);
  font-style: italic;
  color: var(--ink-2);
  font-size: clamp(16px, 1.3vw, 19px);
  margin: 0 0 20px;
  letter-spacing: -.005em;
}
.project__copy {
  color: var(--ink-2);
  margin: 0 0 26px;
  font-size: 14.5px;
  line-height: 1.65;
}

.project__capsH {
  color: var(--ink-3);
  margin-bottom: 10px;
  font-size: var(--t-mono);
}
.project__caps {
  list-style: none; margin: 0 0 22px; padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 18px;
}
.project__caps li {
  display: flex; align-items: baseline; gap: 8px;
  font-size: 13.5px;
  color: var(--ink);
  padding: 5px 0;
  border-bottom: 1px dotted var(--rule);
}
.project__caps li::before {
  content: "→";
  color: var(--accent);
  font-family: var(--f-mono);
  font-size: 11px;
  flex: 0 0 auto;
}
.project__caps--single { grid-template-columns: 1fr; }

.project__chips {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin-bottom: 22px;
}
.project__chips span {
  padding: 5px 10px;
  background: var(--bg-3);
  border: 1px solid var(--rule);
  border-radius: 999px;
  font-size: 11px;
  color: var(--ink-2);
  letter-spacing: .02em;
}
.project--wide .project__chips { margin-bottom: 18px; }
.project__chips--col { margin-bottom: 16px; }

.project__rel {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px dashed var(--rule);
  color: var(--ink-2);
  font-size: 11px;
  line-height: 1.5;
  display: flex; flex-wrap: wrap; gap: 8px;
}
.project__rel > span:first-child {
  color: var(--ink-3);
  padding-right: 8px;
  border-right: 1px solid var(--rule);
}
.project__rel--col { margin-top: 6px; padding-top: 16px; }

.project__wideRow {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}

/* ────────────────────── INTEGRATIONS STRIP ────────────────────── */
.integrations {
  margin: 72px 0 0;
  border-top: 1px dashed var(--rule);
  border-bottom: 1px dashed var(--rule);
  padding: 28px 0;
  position: relative;
}
.integrations__h {
  color: var(--ink-3);
  margin-bottom: 18px;
  text-align: center;
}
.integrations__track {
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}
.integrations__list {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 10px 28px;
  color: var(--ink-2);
  font-size: 12.5px;
  letter-spacing: .04em;
}
.integrations__list li {
  position: relative;
  padding: 0 8px;
  white-space: nowrap;
}
.integrations__list li::before {
  content: "·";
  color: var(--accent);
  position: absolute;
  left: -16px; top: 0;
  font-size: 14px;
  opacity: .8;
}
.integrations__list li:first-child::before { content: none; }

/* ────────────────────── CAPABILITY AREAS ────────────────────── */
.areas { margin-top: 72px; }
.areas__head {
  max-width: 760px;
  margin-bottom: 36px;
}
.areas__head .eyebrow { margin-bottom: 18px; display: inline-flex; }
.areas__title {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(28px, 3.2vw, 48px);
  line-height: 1.0;
  letter-spacing: -.02em;
  margin: 0 0 16px;
}
.areas__title em { font-style: italic; color: var(--accent); }
.areas__lede {
  color: var(--ink-2);
  font-size: var(--t-lede);
  max-width: 60ch;
  margin: 0;
}
.areas__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 18px;
}
.area {
  position: relative;
  padding: 32px;
  border: 1px solid var(--rule);
  border-radius: 18px;
  background:
    radial-gradient(ellipse 100% 60% at 0% 0%, rgba(var(--accent-rgb),.05), transparent 50%),
    linear-gradient(180deg, var(--bg-2), var(--bg-3));
  transition: border-color .3s var(--ease), transform .3s var(--ease);
  overflow: hidden;
}
.area:hover { border-color: var(--rule-2); transform: translateY(-2px); }
.area__num {
  position: absolute;
  top: 22px; right: 22px;
  width: 30px; height: 30px;
  border-radius: 999px;
  border: 1px solid var(--rule-2);
  display: grid; place-items: center;
  color: var(--accent);
  font-size: 12px;
}
.area__h {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(22px, 2.1vw, 28px);
  line-height: 1.15;
  letter-spacing: -.01em;
  margin: 0 0 14px;
  max-width: 18ch;
}
.area__copy {
  color: var(--ink-2);
  font-size: 14px;
  line-height: 1.6;
  margin: 0 0 20px;
}
.area__pills {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 6px;
}
.area__pills li {
  padding: 5px 10px;
  border: 1px solid rgba(var(--accent-rgb),.35);
  color: var(--accent);
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: .04em;
  background: rgba(var(--accent-rgb),.05);
}
.area__pills li .plus-sign {
  color: var(--accent);
  font-family: var(--f-mono);
  font-size: .85em;
  margin-left: 1px;
}

/* ────────────────────── PROJECTS RESPONSIVE ────────────────────── */
@media (max-width: 960px) {
  .work__heroCols { grid-template-columns: 1fr; gap: 28px; }
  .projects__grid { grid-template-columns: 1fr; }
  .project--wide { grid-column: span 1; }
  .project__wideRow { grid-template-columns: 1fr; }
  .areas__grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .project__caps { grid-template-columns: 1fr; }
  .project__head { flex-wrap: wrap; }
  .integrations__list { gap: 8px 22px; font-size: 11.5px; }
}

/* ────────────────────── THEME VARIANTS ──────────────────────
   Each variant overrides --accent, --accent-rgb, and the
   secondary accent. Everything else (rgba glows, brand mark,
   borders, hover states) re-derives automatically.
   ────────────────────────────────────────────────────────── */

[data-theme="electric"] {
  --accent:       #6BB7FF;
  --accent-rgb:   107, 183, 255;
  --accent-2:     #B97CFF;
  --accent-2-rgb: 185, 124, 255;
}

[data-theme="ember"] {
  --accent:       #FF6B5E;
  --accent-rgb:   255, 107, 94;
  --accent-2:     #FFB347;
  --accent-2-rgb: 255, 179, 71;
  --accent-ink:   #190502;
}

[data-theme="aurora"] {
  /* glow / rgba layers stay on a warm-pink ambient base so
     soft washes around the page don't strobe with the accent */
  --accent-rgb:   255, 138, 178;
  --accent-2-rgb: 122, 205, 255;
  --accent-2:     #7ACDFF;
  animation: aurora-cycle 16s linear infinite;
}

@keyframes aurora-cycle {
  0%   { --accent: #FF6B8E; }
  20%  { --accent: #FFB347; }
  40%  { --accent: #C7F23B; }
  60%  { --accent: #6BB7FF; }
  80%  { --accent: #D17BFF; }
  100% { --accent: #FF6B8E; }
}

@media (prefers-reduced-motion: reduce) {
  [data-theme="aurora"] { animation: none; --accent: #D17BFF; }
}

/* ────────────────────── THEME SWITCHER ────────────────────── */
.themepick {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 8px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  background: var(--bg-2);
}
.themepick__btn {
  width: 20px; height: 20px; padding: 0;
  border-radius: 999px;
  display: grid; place-items: center;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .2s var(--ease), border-color .2s var(--ease);
}
.themepick__btn > span {
  width: 12px; height: 12px;
  border-radius: 999px;
  display: block;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.18);
}
.themepick__btn[data-theme-pick="acid"]     > span { background: #C7F23B; }
.themepick__btn[data-theme-pick="electric"] > span { background: #6BB7FF; }
.themepick__btn[data-theme-pick="ember"]    > span { background: #FF6B5E; }
.themepick__btn[data-theme-pick="aurora"]   > span {
  background: conic-gradient(from 220deg,
    #FF6B8E, #FFB347, #C7F23B, #6BB7FF, #D17BFF, #FF6B8E);
}
.themepick__btn:hover { transform: scale(1.12); }
.themepick__btn.is-active {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(var(--accent-rgb), .22);
}

.nav__end {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

/* mobile: keep swatches visible but tighter */
@media (max-width: 960px) {
  .themepick { padding: 4px 6px; gap: 4px; }
  .themepick__btn { width: 18px; height: 18px; }
  .themepick__btn > span { width: 11px; height: 11px; }
}
@media (max-width: 560px) {
  .nav__end { gap: 10px; }
}

/* ────────────────────── BRAND MARK — SVG container ────────────────────── */
/* The mark now hosts an inline <img> (assets/logo.svg) that tracks the
   accent via currentColor. We keep the same 18×18 footprint as before so
   nav/footer layout doesn't shift. */
.brand__mark {
  width: 22px; height: 22px;
  border-radius: 4px;
  background: transparent;
  box-shadow: none;
  display: inline-grid; place-items: center;
  color: var(--accent);
  filter: drop-shadow(0 0 12px rgba(var(--accent-rgb), .35));
}
.brand__mark img {
  width: 100%; height: 100%;
  /* SVG uses currentColor; ensure inheritance */
  color: inherit;
}

.foot__brand .brand__mark {
  width: 18px; height: 18px;
}

/* ────────────────────── HOW WE DEVELOP ────────────────────── */
.howwedev__steps {
  margin-bottom: clamp(48px, 6vw, 88px);
}
.howwedev__stack {
  border: 1px solid var(--rule);
  border-radius: 18px;
  background:
    radial-gradient(ellipse 100% 80% at 0% 0%, rgba(var(--accent-rgb), .05), transparent 50%),
    var(--bg-2);
  overflow: hidden;
}
.howwedev__stackHead {
  display: flex; align-items: center; justify-content: space-between;
  gap: 18px; flex-wrap: wrap;
  padding: 20px 24px;
  border-bottom: 1px solid var(--rule);
  background: rgba(var(--accent-rgb), .03);
}
.howwedev__tabs {
  display: inline-flex; gap: 4px;
  padding: 4px;
  background: var(--bg-3);
  border: 1px solid var(--rule);
  border-radius: 999px;
}
.howwedev__tab {
  padding: 8px 16px;
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ink-2);
  border-radius: 999px;
  transition: background .25s var(--ease), color .25s var(--ease);
}
.howwedev__tab:hover { color: var(--ink); }
.howwedev__tab.is-active {
  background: var(--accent);
  color: var(--accent-ink);
}
.howwedev__panels { padding: clamp(24px, 3vw, 40px); }
.howwedev__panel { display: none; }
.howwedev__panel.is-active {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  animation: howwedev-fade .35s var(--ease) both;
}
@keyframes howwedev-fade {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.howwedev__groupH {
  color: var(--ink-3);
  margin-bottom: 14px;
  font-size: var(--t-mono-lg);
}
.howwedev__tiles {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 8px;
}
.howwedev__tiles li {
  padding: 8px 12px;
  background: var(--bg-3);
  border: 1px solid var(--rule);
  border-radius: 8px;
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--ink);
  letter-spacing: .02em;
  transition: border-color .2s var(--ease), color .2s var(--ease), background .2s var(--ease);
}
.howwedev__tiles li:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(var(--accent-rgb), .06);
}

@media (max-width: 960px) {
  .howwedev__panel.is-active { grid-template-columns: 1fr 1fr; }
  .howwedev__stackHead { flex-direction: column; align-items: stretch; }
  .howwedev__tabs { justify-content: space-between; }
  .howwedev__tab { flex: 1 1 auto; text-align: center; padding: 8px 10px; }
}
@media (max-width: 560px) {
  .howwedev__panel.is-active { grid-template-columns: 1fr; }
}

/* ────────────────────── CONTACT — split layout ────────────────────── */
.contact__split {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(32px, 4vw, 56px);
  text-align: left;
  margin-top: 8px;
  position: relative; z-index: 2;
}
.contact__form {
  display: grid; gap: 18px;
  padding: clamp(24px, 3vw, 36px);
  background: var(--bg-2);
  border: 1px solid var(--rule);
  border-radius: 18px;
}
.contact__fieldRow {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.contact__field { display: grid; gap: 8px; }
.contact__field--full { grid-column: 1 / -1; }
.contact__label {
  color: var(--ink-3);
  font-size: var(--t-mono);
}
.contact__field input,
.contact__field select,
.contact__field textarea {
  width: 100%;
  padding: 12px 14px;
  background: var(--bg-3);
  border: 1px solid var(--rule);
  border-radius: 10px;
  color: var(--ink);
  font: inherit;
  font-size: 15px;
  line-height: 1.4;
  transition: border-color .2s var(--ease), background .2s var(--ease);
}
.contact__field textarea { resize: vertical; min-height: 120px; }
.contact__field input:focus,
.contact__field select:focus,
.contact__field textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--bg-2);
  box-shadow: 0 0 0 3px rgba(var(--accent-rgb), .15);
}
.contact__submitRow {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  margin-top: 4px;
}
.contact__status {
  color: var(--ink-3);
  font-size: var(--t-mono);
}
.contact__status[data-kind="success"] { color: var(--accent); }
.contact__status[data-kind="error"]   { color: var(--accent-2); }
.contact__status a { color: inherit; text-decoration: underline; }
.contact__fallback {
  color: var(--ink-3);
  font-size: 11px;
  margin: 0;
}
.contact__fallback a { color: var(--ink-2); text-decoration: underline; }
.contact__fallback a:hover { color: var(--accent); }

.contact__side {
  display: grid;
  gap: 20px;
  align-content: start;
}
.contact__sideH {
  color: var(--ink-3);
  font-size: var(--t-mono);
}
.calendly-inline-widget {
  background: var(--bg-2);
  border: 1px solid var(--rule);
  border-radius: 18px;
  overflow: hidden;
}
.contact__side .contact__rows {
  border-top: 1px solid var(--rule);
  padding-top: 20px;
}
.contact__side .contact__rows li { justify-content: flex-start; }
.contact__side .contact__rows .lbl { text-align: left; min-width: 84px; }

/* Re-center the headline block above the split */
.contact__inner > .eyebrow,
.contact__inner > .contact__title,
.contact__inner > .contact__sub { text-align: center; }
.contact__inner > .contact__sub { margin-left: auto; margin-right: auto; }

@media (max-width: 960px) {
  .contact__split { grid-template-columns: 1fr; }
  .contact__fieldRow { grid-template-columns: 1fr; }
}

/* ────────────────────── FOOTER — legal line ────────────────────── */
.foot__inner { row-gap: 14px; }
.foot__legal {
  flex-basis: 100%;
  color: var(--ink-3);
  font-size: 10.5px;
  text-align: center;
  border-top: 1px dashed var(--rule);
  padding-top: 14px;
}

