/* =========================================
   TOKENS — LIGHT + TIME-AWARE
   ========================================= */
:root {
  /* Surfaces */
  --bg: #F6F2E7;
  --bg-elev: #FBF8EF;
  --surface: #FFFFFF;
  --surface-2: #EFE9D6;
  --border: #E0D6BD;
  --border-soft: #ECE3CC;
  --border-hot: #C4B894;

  /* Text */
  --text: #14201A;
  --text-dim: #4A5650;
  --text-muted: #807865;

  /* Primary brand color — Forest green */
  --primary: #1F4733;
  --primary-bright: #2D6249;
  --primary-dim: #7B8F82;
  --primary-tint: #E5EDE7;

  /* Status */
  --red: #8B3A2F;
  --red-tint: #F5E8E5;
  --signal: #2D6249;

  /* Shadows */
  --shadow-soft: 0 1px 2px rgba(31, 47, 35, 0.04), 0 2px 8px rgba(31, 47, 35, 0.03);
  --shadow-card: 0 2px 4px rgba(31, 47, 35, 0.04), 0 12px 28px rgba(31, 47, 35, 0.06);
  --shadow-card-hover: 0 4px 8px rgba(31, 47, 35, 0.05), 0 20px 40px rgba(31, 47, 35, 0.08);
  --shadow-focus: 0 0 0 3px rgba(31, 71, 51, 0.12);

  /* Manifesto: spring physics, not "ease" */
  --spring: cubic-bezier(0.34, 1.30, 0.64, 1);
  --spring-soft: cubic-bezier(0.22, 1.18, 0.36, 1);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);

  /* Typography */
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'IBM Plex Sans', -apple-system, sans-serif;
  --font-mono: 'IBM Plex Mono', 'SF Mono', monospace;

  /* Layout */
  --grid-max: 1280px;
  --form-max: 720px;
  --pad-x: clamp(20px, 5vw, 80px);
}

/* MANIFESTO §III — Time-Aware UI
   Evening hours warm the cream and soften contrast. */
body[data-time="evening"] {
  --bg: #F2EAD4;
  --bg-elev: #F7EFDC;
  --surface: #FBF6E9;
  --text: #1B2520;
  --text-dim: #4F5A53;
  --primary: #2A5B43;
  --primary-bright: #387554;
}
body[data-time="late-night"] {
  --bg: #EFE6CC;
  --bg-elev: #F4EBD3;
  --surface: #F9F2DD;
  --text: #1C2620;
  --text-dim: #545E57;
  --primary: #2F624A;
  --primary-bright: #3D7C5B;
}

/* =========================================
   BASE RESET
   ========================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  background-image:
    radial-gradient(ellipse 1200px 600px at 15% -5%, rgba(31, 71, 51, 0.04), transparent 60%),
    radial-gradient(ellipse 900px 500px at 95% 35%, rgba(180, 140, 70, 0.025), transparent 60%);
  background-attachment: fixed;
  transition: background-color 1.2s var(--ease-out), color 1.2s var(--ease-out);
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
img { max-width: 100%; display: block; }

/* Grain texture overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.04;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' /%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' /%3E%3C/svg%3E");
}

/* Scrollbar */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border-hot); border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary-dim); }
::selection { background: var(--primary); color: var(--bg); }

/* =========================================
   READING PROGRESS
   ========================================= */
.reading-progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--primary);
  transform-origin: left center;
  transform: scaleX(0);
  z-index: 200;
  transition: transform 0.18s var(--ease-out), background 1.2s var(--ease-out);
}

/* =========================================
   TIME MODE BADGE
   ========================================= */
.time-mode-badge {
  position: fixed;
  bottom: 18px; left: 18px;
  z-index: 50;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.18em;
  color: var(--text-muted);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-elev);
  padding: 6px 10px;
  border-radius: 100px;
  border: 1px solid var(--border);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
}
.time-mode-badge.shown { opacity: 1; transform: translateY(0); }
.time-mode-badge .dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--primary);
}
@media (max-width: 720px) { .time-mode-badge { display: none; } }

/* =========================================
   NAV
   ========================================= */
nav.top {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 16px var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(246, 242, 231, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease-out), background 1.2s var(--ease-out), box-shadow 0.3s var(--ease-out);
}
nav.top.scrolled {
  border-bottom-color: var(--border);
  background: rgba(246, 242, 231, 0.95);
  box-shadow: 0 1px 12px rgba(31, 47, 35, 0.04);
}
body[data-time="evening"] nav.top { background: rgba(242, 234, 212, 0.78); }
body[data-time="evening"] nav.top.scrolled { background: rgba(242, 234, 212, 0.95); }
body[data-time="late-night"] nav.top { background: rgba(239, 230, 204, 0.78); }
body[data-time="late-night"] nav.top.scrolled { background: rgba(239, 230, 204, 0.95); }

.logo { display: flex; align-items: baseline; gap: 12px; }
.logo-mark {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--primary);
  padding: 5px 9px;
  border: 1px solid var(--primary);
  border-radius: 2px;
  background: var(--primary-tint);
}
.logo-name {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.logo-name em { font-style: italic; color: var(--primary); font-weight: 400; }

.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-link {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--text-dim);
  text-transform: uppercase;
  transition: color 0.2s var(--ease-out);
}
.nav-link:hover { color: var(--primary); }

.nav-cta {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  padding: 9px 15px;
  background: var(--primary);
  color: #FFFFFF;
  text-transform: uppercase;
  border-radius: 2px;
  font-weight: 500;
  transition: background 0.2s var(--ease-out), transform 0.3s var(--spring), box-shadow 0.3s var(--spring);
}
.nav-cta:hover {
  background: var(--primary-bright);
  transform: translateY(-1px);
  box-shadow: var(--shadow-soft);
}
.nav-cta:active { transform: translateY(0); transition-duration: 0.1s; }

.nav-back {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--text-dim);
  text-transform: uppercase;
  transition: color 0.2s var(--ease-out), gap 0.3s var(--spring);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.nav-back:hover { color: var(--primary); gap: 12px; }

@media (max-width: 720px) { .nav-links .nav-link { display: none; } }

/* =========================================
   LAYOUT
   ========================================= */
.grid {
  max-width: var(--grid-max);
  margin: 0 auto;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
  position: relative;
  z-index: 2;
}
section { position: relative; z-index: 2; }

.section-mark {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--primary);
  text-transform: uppercase;
  margin-bottom: 28px;
  font-weight: 500;
}
.section-mark::after {
  content: '';
  height: 1px;
  background: var(--border-hot);
  flex: 1;
  max-width: 80px;
}

/* =========================================
   BUTTONS
   ========================================= */
.btn-primary {
  background: var(--primary);
  color: #FFFFFF;
  padding: 16px 28px;
  border: none;
  border-radius: 2px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-soft);
  transition:
    background 0.18s var(--ease-out),
    transform 0.35s var(--spring),
    box-shadow 0.35s var(--spring),
    gap 0.25s var(--ease-out);
  cursor: pointer;
}
.btn-primary:hover {
  background: var(--primary-bright);
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
  gap: 14px;
}
.btn-primary:active {
  transform: translateY(0) scale(0.98);
  transition-duration: 0.08s;
  box-shadow: var(--shadow-soft);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  padding: 16px 28px;
  border: 1px solid var(--text);
  border-radius: 2px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition:
    border-color 0.2s var(--ease-out),
    color 0.2s var(--ease-out),
    transform 0.35s var(--spring);
}
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-1px); }
.btn-ghost:active { transform: translateY(0) scale(0.98); transition-duration: 0.08s; }

/* =========================================
   FOOTER
   ========================================= */
footer {
  padding: 56px var(--pad-x) 40px;
  border-top: 1px solid var(--border);
  background: var(--bg-elev);
}
.footer-grid {
  max-width: var(--grid-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
}
.footer-brand {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.005em;
  margin-bottom: 16px;
}
.footer-brand em { font-style: italic; color: var(--primary); font-weight: 400; }
.footer-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  text-transform: uppercase;
}
.footer-col h5 {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 16px;
  font-weight: 600;
}
.footer-col ul { list-style: none; padding: 0; }
.footer-col li { padding: 5px 0; }
.footer-col a {
  font-size: 13px;
  color: var(--text-dim);
  transition: color 0.2s var(--ease-out);
}
.footer-col a:hover { color: var(--primary); }
.footer-bottom {
  max-width: var(--grid-max);
  margin: 32px auto 0;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  text-transform: uppercase;
}
.footer-bottom em {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  color: var(--text-dim);
  letter-spacing: 0;
  text-transform: none;
  font-size: 13px;
}

/* Pitch page footer variant */
.footer-row {
  max-width: var(--grid-max);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  text-transform: uppercase;
}
.footer-row em {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  color: var(--text-dim);
  letter-spacing: 0;
  text-transform: none;
  font-size: 13px;
}
footer.pitch-footer {
  margin-top: 100px;
  padding: 40px var(--pad-x);
}

@media (max-width: 720px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

/* =========================================
   REVEALS — spring physics, not linear
   ========================================= */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--spring-soft), transform 0.8s var(--spring-soft);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal:nth-child(2) { transition-delay: 0.08s; }
.reveal:nth-child(3) { transition-delay: 0.16s; }
.reveal:nth-child(4) { transition-delay: 0.24s; }

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* =========================================
   HOMEPAGE — HERO
   ========================================= */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 140px;
  padding-bottom: 80px;
  position: relative;
}
.hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.24em;
  color: var(--primary);
  text-transform: uppercase;
  margin-bottom: 32px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
}
.hero-eyebrow::before { content: ''; width: 24px; height: 1px; background: var(--primary); }
.hero-headline {
  font-family: var(--font-display);
  font-variation-settings: 'opsz' 144, 'SOFT' 40;
  font-size: clamp(46px, 8.5vw, 124px);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -0.035em;
  margin-bottom: 36px;
  max-width: 1100px;
  color: var(--text);
}
.hero-headline em {
  font-style: italic;
  font-weight: 300;
  color: var(--primary);
  font-variation-settings: 'opsz' 144, 'SOFT' 80, 'WONK' 1;
}
.hero-sub {
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.55;
  color: var(--text-dim);
  max-width: 640px;
  margin-bottom: 48px;
}
.hero-sub b { color: var(--text); font-weight: 600; }
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 64px; }

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 32px 56px;
  padding-top: 32px;
  border-top: 1px solid var(--border-hot);
  max-width: 900px;
}
.hero-stat { display: flex; flex-direction: column; gap: 4px; }
.hero-stat-val {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 500;
  color: var(--text);
  letter-spacing: -0.01em;
}
.hero-stat-val em { color: var(--primary); font-style: italic; font-weight: 400; }
.hero-stat-label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.scroll-cue {
  position: absolute;
  bottom: 32px;
  right: var(--pad-x);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--text-muted);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 10px;
  writing-mode: vertical-rl;
}
.scroll-cue .line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--primary), transparent);
  animation: drop 2.4s var(--ease-out) infinite;
}
@keyframes drop {
  0%, 100% { opacity: 0.35; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(8px); }
}
@media (max-width: 720px) { .scroll-cue { display: none; } }

/* =========================================
   HOMEPAGE — THREE THINGS
   ========================================= */
.three-things { padding: 120px 0; border-top: 1px solid var(--border); }
.section-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-bottom: 64px;
  align-items: end;
}
.section-headline {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.section-headline em { font-style: italic; color: var(--primary); font-weight: 400; }
.section-lede { font-size: 16px; color: var(--text-dim); line-height: 1.6; max-width: 480px; }

.three-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.three-card {
  background: var(--surface);
  padding: 44px 36px 36px;
  display: flex;
  flex-direction: column;
  min-height: 380px;
  border-radius: 3px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-soft);
  transition:
    transform 0.45s var(--spring),
    box-shadow 0.45s var(--spring),
    border-color 0.3s var(--ease-out);
  position: relative;
}
.three-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--primary-dim);
}
.three-card-num {
  font-family: var(--font-display);
  font-size: 80px;
  font-weight: 300;
  line-height: 1;
  color: var(--primary);
  font-style: italic;
  margin-bottom: 24px;
  font-variation-settings: 'opsz' 144, 'SOFT' 80;
  opacity: 0.65;
  transition: opacity 0.4s var(--ease-out), transform 0.5s var(--spring);
}
.three-card:hover .three-card-num { opacity: 1; transform: translateX(2px); }
.three-card h3 {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 18px;
}
.three-card p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-dim);
  margin-bottom: auto;
  padding-bottom: 28px;
}
.three-card a {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
  padding-top: 18px;
  border-top: 1px solid var(--border);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: gap 0.3s var(--spring);
  font-weight: 600;
}
.three-card a:hover { gap: 16px; }

@media (max-width: 880px) {
  .section-intro { grid-template-columns: 1fr; gap: 24px; }
  .three-cards { grid-template-columns: 1fr; }
}

/* =========================================
   HOMEPAGE — WHY US
   ========================================= */
.why-us { padding: 120px 0; border-top: 1px solid var(--border); }
.why-us-intro {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--text);
  max-width: 880px;
  margin-bottom: 80px;
}
.why-us-intro em { font-style: italic; color: var(--primary); font-weight: 400; }

.why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.why-item {
  background: var(--surface);
  padding: 44px 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  border-radius: 3px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-soft);
  transition:
    transform 0.45s var(--spring),
    box-shadow 0.45s var(--spring),
    border-color 0.3s var(--ease-out);
}
.why-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--primary-dim);
}
.why-item-num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--primary);
  text-transform: uppercase;
  font-weight: 600;
}
.why-item h4 {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.15;
  color: var(--text);
}
.why-item h4 em { font-style: italic; color: var(--primary); font-weight: 400; }
.why-item p { font-size: 14.5px; line-height: 1.7; color: var(--text-dim); }

@media (max-width: 720px) {
  .why-grid { grid-template-columns: 1fr; }
  .why-item { padding: 32px 24px; }
}

/* =========================================
   HOMEPAGE — THESIS
   ========================================= */
.thesis-section {
  padding: 140px 0;
  border-top: 1px solid var(--border);
  background: linear-gradient(180deg, transparent, rgba(31, 71, 51, 0.025), transparent);
}
.thesis-grid {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 80px;
  align-items: start;
}
.thesis-spine .section-mark { margin-bottom: 16px; }
.thesis-spine-title {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 400;
  font-style: italic;
  color: var(--text-dim);
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.thesis-body { max-width: 720px; }

.thesis-stat {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 12px;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}
.thesis-stat em { font-style: italic; color: var(--primary); font-weight: 300; }
.thesis-stat-cap {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 48px;
}

.thesis-body p {
  font-size: 16.5px;
  line-height: 1.75;
  color: var(--text);
  margin-bottom: 20px;
}
.thesis-body p.dim { color: var(--text-dim); }
.thesis-body em.flag { color: var(--primary); font-style: normal; font-weight: 600; }

.pull-quote {
  margin: 48px 0;
  padding: 40px 0;
  border-top: 1px solid var(--border-hot);
  border-bottom: 1px solid var(--border-hot);
  font-family: var(--font-display);
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 400;
  font-style: italic;
  line-height: 1.35;
  color: var(--text);
  letter-spacing: -0.01em;
}

.what-we-arent {
  margin-top: 56px;
  padding: 36px 40px;
  border-left: 3px solid var(--red);
  background: var(--surface);
  border-radius: 2px;
  box-shadow: var(--shadow-soft);
}
.what-we-arent-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--red);
  text-transform: uppercase;
  margin-bottom: 18px;
  font-weight: 600;
}
.what-we-arent ul { list-style: none; padding: 0; }
.what-we-arent li {
  font-size: 16px;
  line-height: 1.5;
  color: var(--text-dim);
  padding: 9px 0;
  display: flex;
  gap: 14px;
  align-items: baseline;
}
.what-we-arent li::before {
  content: '✕';
  color: var(--red);
  font-size: 13px;
  font-family: var(--font-mono);
  flex-shrink: 0;
  font-weight: 600;
}
.what-we-arent li b { color: var(--text); font-weight: 600; }

.we-are {
  margin-top: 36px;
  padding: 28px 32px;
  border-left: 3px solid var(--primary);
  background: var(--surface);
  border-radius: 2px;
  box-shadow: var(--shadow-soft);
  font-family: var(--font-display);
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 500;
  line-height: 1.4;
  color: var(--text);
  letter-spacing: -0.005em;
}
.we-are em { font-style: italic; color: var(--primary); font-weight: 400; }

@media (max-width: 880px) {
  .thesis-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* =========================================
   HOMEPAGE — PORTFOLIO
   ========================================= */
.portfolio-section { padding: 120px 0; border-top: 1px solid var(--border); }
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}
.portfolio-card {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  padding: 32px 28px;
  border-radius: 3px;
  display: flex;
  flex-direction: column;
  min-height: 280px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition:
    transform 0.45s var(--spring),
    box-shadow 0.45s var(--spring),
    border-color 0.3s var(--ease-out);
}
.portfolio-card:hover {
  border-color: var(--primary-dim);
  transform: translateY(-3px);
  box-shadow: var(--shadow-card-hover);
}

.portfolio-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 28px;
  color: var(--text-muted);
  font-weight: 500;
}
.portfolio-status .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--text-muted); }
.portfolio-status.active .dot {
  background: var(--signal);
  box-shadow: 0 0 10px rgba(45, 98, 73, 0.4);
  animation: ppulse 2.4s var(--ease-out) infinite;
}
.portfolio-status.active { color: var(--signal); }
@keyframes ppulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }

.portfolio-mark {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 500;
  letter-spacing: -0.015em;
  margin-bottom: 4px;
  line-height: 1.1;
  color: var(--text);
}
.portfolio-mark em { font-style: italic; color: var(--primary); font-weight: 400; }
.portfolio-tagline {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 20px;
}
.portfolio-desc { font-size: 14px; line-height: 1.6; color: var(--text-dim); margin-bottom: auto; }
.portfolio-link {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.portfolio-link b { color: var(--text); }

.portfolio-cta-row {
  display: flex;
  justify-content: flex-end;
  padding-top: 8px;
  border-top: 1px solid var(--border);
}

@media (max-width: 880px) { .portfolio-grid { grid-template-columns: 1fr; } }

/* =========================================
   HOMEPAGE — GATEWAYS
   ========================================= */
.gateways-section { padding: 120px 0; border-top: 1px solid var(--border); }
.gateways-headline {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
  max-width: 900px;
}
.gateways-headline em { font-style: italic; color: var(--primary); font-weight: 400; }
.gateways-sub { color: var(--text-dim); font-size: 16px; margin-bottom: 56px; max-width: 600px; }

.gateway-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.gateway-card {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  padding: 40px 32px;
  border-radius: 3px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition:
    transform 0.45s var(--spring),
    box-shadow 0.45s var(--spring),
    border-color 0.3s var(--ease-out);
}
.gateway-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--spring);
}
.gateway-card:hover {
  border-color: var(--primary-dim);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}
.gateway-card:hover::before { transform: scaleX(1); }
.gateway-tag {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  color: var(--primary);
  text-transform: uppercase;
  font-weight: 600;
}
.gateway-headline {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--text);
}
.gateway-headline em { font-style: italic; color: var(--primary); font-weight: 400; }
.gateway-sub { font-size: 14.5px; color: var(--text-dim); line-height: 1.6; margin-bottom: 8px; }
.gateway-cta {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: gap 0.3s var(--spring);
}
.gateway-card:hover .gateway-cta { gap: 16px; }

@media (max-width: 880px) { .gateway-grid { grid-template-columns: 1fr; } }

/* =========================================
   HOMEPAGE — THE BAR / FINAL CTA
   ========================================= */
.bar-section {
  padding: 160px 0 100px;
  border-top: 1px solid var(--border);
  text-align: left;
  position: relative;
}
.bar-quote {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.6vw, 42px);
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: -0.015em;
  color: var(--text);
  max-width: 920px;
  margin-bottom: 56px;
}
.bar-quote em { font-style: italic; color: var(--primary); font-weight: 400; }
.bar-quote .strike {
  color: var(--text-muted);
  text-decoration: line-through;
  text-decoration-color: var(--red);
  text-decoration-thickness: 1.5px;
}
.final-cta-wrap {
  display: flex;
  align-items: baseline;
  gap: 32px;
  flex-wrap: wrap;
  padding-top: 40px;
  border-top: 1px solid var(--border-hot);
}
.final-cta {
  font-family: var(--font-display);
  font-size: clamp(56px, 12vw, 144px);
  font-weight: 300;
  font-style: italic;
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: var(--primary);
  font-variation-settings: 'opsz' 144, 'SOFT' 80, 'WONK' 1;
  display: inline-block;
  padding-bottom: 8px;
  transition: color 0.3s var(--ease-out), letter-spacing 0.4s var(--spring);
}
.final-cta:hover { color: var(--primary-bright); letter-spacing: -0.035em; }
.final-cta-arrow {
  font-family: var(--font-display);
  font-size: clamp(40px, 8vw, 96px);
  font-weight: 300;
  color: var(--text-dim);
  display: inline-block;
  transition: transform 0.4s var(--spring), color 0.3s var(--ease-out);
}
.final-cta-wrap:hover .final-cta-arrow { transform: translateX(22px); color: var(--primary); }

.soft-close {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  gap: 24px 40px;
  align-items: baseline;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 500;
}
.soft-close span { display: inline-flex; align-items: baseline; gap: 8px; }
.soft-close b { color: var(--primary); font-weight: 600; }
.soft-close-italic {
  margin-top: 8px;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(16px, 1.6vw, 19px);
  color: var(--text-dim);
  letter-spacing: 0;
  text-transform: none;
}

/* =========================================
   CONTENT PAGES (why / build / sell)
   ========================================= */
.content-page {
  max-width: var(--form-max);
  margin: 0 auto;
  padding: 140px var(--pad-x) 100px;
  position: relative;
  z-index: 2;
}
.content-page .eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.24em;
  color: var(--primary);
  text-transform: uppercase;
  margin-bottom: 32px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
}
.content-page .eyebrow::before { content: ''; width: 24px; height: 1px; background: var(--primary); }
.content-page .page-headline {
  font-family: var(--font-display);
  font-variation-settings: 'opsz' 144, 'SOFT' 40;
  font-size: clamp(40px, 7vw, 72px);
  font-weight: 400;
  line-height: 1.0;
  letter-spacing: -0.03em;
  margin-bottom: 28px;
  color: var(--text);
}
.content-page .page-headline em {
  font-style: italic;
  font-weight: 300;
  color: var(--primary);
  font-variation-settings: 'opsz' 144, 'SOFT' 80, 'WONK' 1;
}
.content-page .page-sub {
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.6;
  color: var(--text-dim);
  margin-bottom: 72px;
  max-width: 560px;
}
.content-page .page-sub b { color: var(--text); font-weight: 600; }

.content-section { margin-bottom: 72px; }
.content-section .section-mark { margin-bottom: 24px; }

.content-section p {
  font-size: 16.5px;
  line-height: 1.75;
  color: var(--text-dim);
  margin-bottom: 20px;
}
.content-section p em { font-style: italic; color: var(--primary); }

/* Values grid */
.values-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 8px;
}
.value-item {
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 24px;
  align-items: start;
}
.value-item:first-child { border-top: 1px solid var(--border); }
.value-item-num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--primary);
  font-weight: 600;
  padding-top: 4px;
}
.value-item h4 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--text);
  margin-bottom: 8px;
}
.value-item h4 em { font-style: italic; color: var(--primary); font-weight: 400; }
.value-item p { font-size: 14.5px; line-height: 1.65; color: var(--text-dim); margin: 0; }

/* What we bring / offer grid — 5 items */
.bring-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 8px;
}
.bring-item {
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 24px;
  align-items: start;
}
.bring-item:first-child { border-top: 1px solid var(--border); }
.bring-item-num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--primary);
  font-weight: 600;
  padding-top: 4px;
}
.bring-item h4 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--text);
  margin-bottom: 6px;
}
.bring-item h4 em { font-style: italic; color: var(--primary); font-weight: 400; }
.bring-item p { font-size: 14px; line-height: 1.65; color: var(--text-dim); margin: 0; }

/* Don't build / don't buy callout */
.dont-list {
  margin-top: 8px;
  background: var(--surface);
  border-left: 3px solid var(--red);
  border-radius: 2px;
  padding: 28px 32px;
  box-shadow: var(--shadow-soft);
}
.dont-list-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--red);
  text-transform: uppercase;
  margin-bottom: 16px;
  font-weight: 600;
}
.dont-list ul { list-style: none; padding: 0; }
.dont-list li {
  font-size: 15px;
  line-height: 1.55;
  color: var(--text-dim);
  padding: 9px 0;
  display: flex;
  gap: 14px;
  align-items: baseline;
  border-bottom: 1px dashed var(--border);
}
.dont-list li:last-child { border-bottom: none; }
.dont-list li::before {
  content: '✕';
  color: var(--red);
  font-size: 12px;
  font-family: var(--font-mono);
  flex-shrink: 0;
  font-weight: 600;
}
.dont-list li b { color: var(--text); font-weight: 600; }

/* Expect / terms block */
.expect-list {
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.expect-item {
  padding: 20px 0;
  border-bottom: 1px dashed var(--border);
  display: flex;
  align-items: baseline;
  gap: 16px;
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--text-dim);
}
.expect-item:first-child { border-top: 1px dashed var(--border); }
.expect-item::before {
  content: '→';
  color: var(--primary);
  font-family: var(--font-mono);
  font-size: 12px;
  flex-shrink: 0;
}
.expect-item b { color: var(--text); font-weight: 600; }
.expect-item em { font-style: italic; color: var(--primary); }

/* Process steps */
.process-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 8px;
}
.process-step {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 24px;
  align-items: start;
  padding: 24px 0;
  border-bottom: 1px dashed var(--border);
}
.process-step:first-child { border-top: 1px dashed var(--border); }
.process-step:last-child { border-bottom: none; }
.process-step-num {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 300;
  font-style: italic;
  color: var(--primary);
  opacity: 0.6;
  line-height: 1;
  padding-top: 2px;
}
.process-step h4 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.005em;
  color: var(--text);
  margin-bottom: 6px;
}
.process-step h4 em { font-style: italic; color: var(--primary); font-weight: 400; }
.process-step p { font-size: 14px; line-height: 1.6; color: var(--text-dim); margin: 0; }

/* Terms block (sell page) */
.terms-block {
  background: var(--surface);
  border-left: 3px solid var(--primary);
  border-radius: 2px;
  padding: 28px 32px;
  box-shadow: var(--shadow-soft);
  margin-top: 8px;
}
.terms-block dl { display: flex; flex-direction: column; gap: 16px; }
.terms-block dt {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 2px;
}
.terms-block dd {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: -0.005em;
  color: var(--text);
  padding-bottom: 16px;
  border-bottom: 1px dashed var(--border);
}
.terms-block dd:last-child { border-bottom: none; padding-bottom: 0; }
.terms-block dd em { font-style: italic; color: var(--text-dim); font-size: 15px; }

/* Team bio */
.team-bio {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: 3px;
  padding: 32px 36px;
  box-shadow: var(--shadow-card);
  margin-top: 8px;
}
.team-bio-name {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--text);
  margin-bottom: 4px;
}
.team-bio-title {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 20px;
}
.team-bio ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.team-bio li {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--text-dim);
  display: flex;
  gap: 12px;
  align-items: baseline;
}
.team-bio li::before {
  content: '—';
  color: var(--primary-dim);
  font-family: var(--font-mono);
  flex-shrink: 0;
}

/* Content page final CTA */
.content-final-cta {
  margin-top: 80px;
  padding-top: 48px;
  border-top: 1px solid var(--border-hot);
}
.content-final-cta .final-cta-wrap {
  padding-top: 0;
  border-top: none;
}
.content-final-cta .final-cta {
  font-size: clamp(48px, 10vw, 96px);
}

/* =========================================
   PITCH PAGE
   ========================================= */
.pitch-wrap {
  max-width: var(--form-max);
  margin: 0 auto;
  padding: 140px var(--pad-x) 80px;
  position: relative;
  z-index: 2;
}
.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.24em;
  color: var(--primary);
  text-transform: uppercase;
  margin-bottom: 32px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
}
.eyebrow::before { content: ''; width: 24px; height: 1px; background: var(--primary); }
.headline {
  font-family: var(--font-display);
  font-variation-settings: 'opsz' 144, 'SOFT' 40;
  font-size: clamp(40px, 7vw, 84px);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.03em;
  margin-bottom: 28px;
  color: var(--text);
}
.headline em {
  font-style: italic;
  font-weight: 300;
  color: var(--primary);
  font-variation-settings: 'opsz' 144, 'SOFT' 80, 'WONK' 1;
}
.sub {
  font-size: clamp(16px, 1.6vw, 18px);
  line-height: 1.6;
  color: var(--text-dim);
  margin-bottom: 56px;
  max-width: 540px;
}
.sub b { color: var(--text); font-weight: 600; }

/* Form */
form { display: flex; flex-direction: column; gap: 36px; }
.field-group { display: flex; flex-direction: column; gap: 10px; }
.field-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--primary);
  text-transform: uppercase;
  font-weight: 600;
  display: flex;
  align-items: baseline;
  gap: 12px;
}
.field-label small {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  color: var(--text-muted);
  letter-spacing: 0;
  text-transform: none;
  font-size: 13px;
}
.field-hint {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.55;
  margin-top: -2px;
}

/* Path selector cards */
.path-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.path-card {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  padding: 18px 18px 20px;
  border-radius: 3px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition:
    transform 0.3s var(--spring),
    box-shadow 0.3s var(--spring),
    border-color 0.25s var(--ease-out),
    background 0.25s var(--ease-out);
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}
.path-card input { position: absolute; opacity: 0; pointer-events: none; }
.path-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
  border-color: var(--primary-dim);
}
.path-card:has(input:checked) {
  background: var(--primary-tint);
  border-color: var(--primary);
  box-shadow: var(--shadow-card), inset 0 0 0 1px var(--primary);
}
.path-card-tag {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.18em;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 600;
  transition: color 0.25s var(--ease-out);
}
.path-card:has(input:checked) .path-card-tag { color: var(--primary); }
.path-card-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.005em;
  color: var(--text);
}
.path-card-sub { font-size: 12.5px; color: var(--text-dim); line-height: 1.5; }
.path-card-check {
  position: absolute;
  top: 14px; right: 14px;
  width: 16px; height: 16px;
  border: 1.5px solid var(--border-hot);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.25s var(--ease-out), background 0.25s var(--ease-out);
}
.path-card:has(input:checked) .path-card-check {
  border-color: var(--primary);
  background: var(--primary);
}
.path-card-check::after {
  content: '✓';
  color: #FFFFFF;
  font-size: 10px;
  font-weight: 700;
  opacity: 0;
  transform: scale(0.5);
  transition: opacity 0.3s var(--spring), transform 0.4s var(--spring);
}
.path-card:has(input:checked) .path-card-check::after { opacity: 1; transform: scale(1); }

.path-other {
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: color 0.2s var(--ease-out);
}
.path-other input { position: absolute; opacity: 0; pointer-events: none; }
.path-other:hover { color: var(--primary); }
.path-other:has(input:checked) { color: var(--primary); }
.path-other:has(input:checked)::before { content: '●'; color: var(--primary); margin-right: 4px; }
.path-other:not(:has(input:checked))::before { content: '○'; color: var(--text-muted); margin-right: 4px; }

@media (max-width: 720px) { .path-grid { grid-template-columns: 1fr; } }

/* Name / email row */
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .row { grid-template-columns: 1fr; gap: 24px; } }

/* Input / textarea */
.input, .textarea {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border-hot);
  border-radius: 3px;
  padding: 14px 16px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.5;
  transition:
    border-color 0.2s var(--ease-out),
    box-shadow 0.25s var(--ease-out),
    background 0.2s var(--ease-out);
  resize: none;
}
.input::placeholder, .textarea::placeholder {
  color: var(--text-muted);
  font-style: italic;
}
.input:focus, .textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: var(--shadow-focus);
  background: var(--bg-elev);
}
.textarea { min-height: 140px; line-height: 1.65; }

/* Word counter */
.textarea-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 6px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  text-transform: uppercase;
}
.textarea-meta .count.ok { color: var(--primary); }
.textarea-meta .count.warn { color: var(--red); }

/* Field error state */
.field-group.has-error .input,
.field-group.has-error .textarea {
  border-color: var(--red);
  background: var(--red-tint);
}
.field-error {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 14px;
  color: var(--red);
  margin-top: 6px;
  opacity: 0;
  transform: translateY(-4px);
  height: 0;
  overflow: hidden;
  transition: opacity 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}
.field-group.has-error .field-error {
  opacity: 1;
  transform: translateY(0);
  height: auto;
}

/* Send error banner */
.send-error {
  display: none;
  margin-top: 16px;
  padding: 14px 18px;
  border-left: 3px solid var(--red);
  background: var(--red-tint);
  border-radius: 2px;
  font-size: 14px;
  color: var(--red);
  line-height: 1.5;
}
.send-error a { text-decoration: underline; color: var(--red); }
.send-error.shown { display: block; }

/* Submit button */
.submit-row {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.submit-btn {
  background: var(--primary);
  color: #FFFFFF;
  padding: 18px 32px;
  border: none;
  border-radius: 2px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
  transition:
    background 0.2s var(--ease-out),
    transform 0.4s var(--spring),
    box-shadow 0.4s var(--spring),
    gap 0.3s var(--ease-out);
}
.submit-btn:hover:not(:disabled) {
  background: var(--primary-bright);
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
  gap: 16px;
}
.submit-btn:active:not(:disabled) {
  transform: translateY(0) scale(0.98);
  transition-duration: 0.08s;
}
.submit-btn:disabled { opacity: 0.7; cursor: wait; }
.submit-note {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.5;
}

/* What happens next */
.next-section {
  margin-top: 80px;
  padding-top: 56px;
  border-top: 1px solid var(--border);
}
.next-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--primary);
  text-transform: uppercase;
  margin-bottom: 24px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 14px;
}
.next-label::after { content: ''; height: 1px; background: var(--border-hot); flex: 1; max-width: 80px; }
.next-steps { display: flex; flex-direction: column; gap: 28px; }
.next-step {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 32px;
  align-items: baseline;
  padding-bottom: 24px;
  border-bottom: 1px dashed var(--border);
}
.next-step:last-child { border-bottom: none; padding-bottom: 0; }
.next-step-time {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--primary);
  text-transform: uppercase;
  font-weight: 600;
}
.next-step-body {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: -0.005em;
  color: var(--text);
}
.next-step-body em { font-style: italic; color: var(--primary); }
.next-step-body .dim {
  color: var(--text-dim);
  font-style: italic;
  font-size: 15px;
  display: block;
  margin-top: 4px;
}
@media (max-width: 600px) { .next-step { grid-template-columns: 1fr; gap: 4px; } }

/* Confirmation state */
.confirmation {
  display: none;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--spring-soft), transform 0.8s var(--spring-soft);
}
.confirmation.shown { opacity: 1; transform: translateY(0); }
.form-wrap.hidden { display: none; }
body.submitted .confirmation { display: block; }

.check-mark {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--primary-tint);
  border: 1.5px solid var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 32px;
  transform: scale(0);
  opacity: 0;
  transition: opacity 0.4s var(--ease-out), transform 0.6s var(--spring);
}
.confirmation.shown .check-mark { transform: scale(1); opacity: 1; transition-delay: 0.15s; }
.check-mark svg { width: 22px; height: 22px; color: var(--primary); }

.confirmation .headline { margin-bottom: 20px; }
.confirmation .timestamp {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 36px;
}
.confirmation .timestamp b { color: var(--primary); font-weight: 600; }

.confirmation-meta {
  background: var(--surface);
  border-left: 3px solid var(--primary);
  border-radius: 2px;
  padding: 24px 28px;
  margin-bottom: 36px;
  box-shadow: var(--shadow-soft);
}
.confirmation-meta p {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 17px;
  line-height: 1.5;
  color: var(--text);
}
.confirmation-meta p em { color: var(--primary); }

.confirmation-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}
.conf-btn {
  background: transparent;
  color: var(--text);
  padding: 12px 22px;
  border: 1px solid var(--border-hot);
  border-radius: 2px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition:
    border-color 0.2s var(--ease-out),
    color 0.2s var(--ease-out),
    gap 0.3s var(--spring),
    transform 0.3s var(--spring);
}
.conf-btn:hover { border-color: var(--primary); color: var(--primary); gap: 12px; transform: translateY(-1px); }

/* =========================================
   404 PAGE
   ========================================= */
.mascot-404 {
  margin-bottom: 48px;
}
.mascot-404 video {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  display: block;
  overflow: hidden;
}

.four-oh-four-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 48px;
}

/* =========================================
   MASCOT — PITCH CONFIRMATION
   ========================================= */
.check-mark.is-mascot {
  width: 96px;
  height: 96px;
  background: none;
  border: none;
  overflow: hidden;
}
.check-mark.is-mascot video {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 50%;
}
