/* =========================================================================
   Full Throttle Growth & Capital — Design System
   Vision. Build. Execute.
   ========================================================================= */

/* ---- Design tokens ---- */
:root {
  /* Brand palette */
  --ink:        #05100B;   /* near-black green — page base */
  --ink-2:      #081511;   /* raised surface */
  --ink-3:      #0c1d16;   /* card surface */
  --ink-4:      #102a1f;   /* card hover / elevated */
  --green:      #39b54a;   /* primary brand accent */
  --green-bright:#4ecb5d;  /* highlight / hover */
  --green-deep: #1f7a2e;
  --green-glow: rgba(57, 181, 74, 0.35);

  --mist:  #eaf1ec;        /* primary text on dark */
  --fog:   #b9c4bd;        /* secondary text */
  --slate: #84938b;        /* muted / captions */
  --slate-2:#55635b;       /* dimmest */

  --line:  rgba(255, 255, 255, 0.09);
  --line-2:rgba(255, 255, 255, 0.14);

  /* Type */
  --font-display: "Bricolage Grotesque", "Hanken Grotesk", system-ui, sans-serif;
  --font-body: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  /* Scale */
  --container: 1200px;
  --container-narrow: 760px;
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --section-y: clamp(4.5rem, 9vw, 8.5rem);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.7);
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}
body {
  font-family: var(--font-body);
  background: var(--ink);
  color: var(--fog);
  line-height: 1.65;
  font-size: 1.0625rem;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul { list-style: none; padding: 0; }
:focus-visible { outline: 2px solid var(--green-bright); outline-offset: 3px; border-radius: 4px; }

/* ---- Typography ---- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--mist);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2.4rem, 5.4vw, 4.4rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); letter-spacing: -0.01em; }
h4 { font-size: 1.125rem; letter-spacing: -0.01em; }
p { text-wrap: pretty; }
strong { color: var(--mist); font-weight: 600; }
.accent { color: var(--green); }
.text-mist { color: var(--mist); }

/* ---- Layout ---- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: clamp(1.25rem, 4vw, 2.5rem); }
.section { padding-block: var(--section-y); position: relative; }
.section--tight { padding-block: clamp(3rem, 6vw, 5rem); }
.surface { background: var(--ink-2); }
.divider { border: 0; border-top: 1px solid var(--line); }

.lead { font-size: clamp(1.1rem, 1.6vw, 1.35rem); color: var(--fog); line-height: 1.6; max-width: 56ch; }
.measure { max-width: 62ch; }

/* Eyebrow / kicker */
.kicker {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--green);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.1rem;
}
.kicker::before { content: ""; width: 1.6rem; height: 1px; background: var(--green); opacity: 0.7; }
.section-head { max-width: 640px; margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .kicker::before { display: none; }
.section-head p { margin-top: 1rem; color: var(--fog); }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-family: var(--font-body); font-weight: 600; font-size: 0.98rem;
  padding: 0.85rem 1.5rem; border-radius: 100px; border: 1px solid transparent;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease), box-shadow 0.25s var(--ease);
  white-space: nowrap;
}
.btn .arw { transition: transform 0.3s var(--ease); }
.btn:hover .arw { transform: translateX(4px); }
.btn--primary { background: var(--green); color: #04140a; box-shadow: 0 10px 30px -12px var(--green-glow); }
.btn--primary:hover { background: var(--green-bright); transform: translateY(-2px); box-shadow: 0 16px 40px -14px var(--green-glow); }
.btn--ghost { border-color: var(--line-2); color: var(--mist); }
.btn--ghost:hover { border-color: var(--green); color: var(--green-bright); transform: translateY(-2px); }
.btn--light { background: var(--mist); color: var(--ink); }
.btn--light:hover { background: #fff; transform: translateY(-2px); }
.btn--block { width: 100%; justify-content: center; }
.btn--lg { padding: 1rem 1.8rem; font-size: 1.05rem; }

.textlink { color: var(--green); font-weight: 600; display: inline-flex; align-items: center; gap: 0.4rem; transition: gap 0.25s var(--ease), color 0.25s var(--ease); }
.textlink:hover { color: var(--green-bright); gap: 0.7rem; }

/* ---- Header / Nav ---- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), backdrop-filter 0.3s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(5, 16, 11, 0.82);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom-color: var(--line);
}
/* Opaque fallback where backdrop-filter is unsupported, so the scrolled nav stays legible */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .site-header.scrolled { background: rgba(5, 16, 11, 0.97); }
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 1.5rem; }
.brand { display: inline-flex; align-items: center; gap: 0.65rem; flex-shrink: 0; }
.brand img { height: 30px; width: auto; }
.brand .brand-mark { height: 34px; }
.nav-links { display: flex; align-items: center; gap: 0.35rem; }
.nav-links a {
  color: var(--fog); font-size: 0.95rem; font-weight: 500; padding: 0.5rem 0.85rem; border-radius: 8px;
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}
.nav-links a:hover { color: var(--mist); background: rgba(255,255,255,0.05); }
.nav-links a[aria-current="page"] { color: var(--green-bright); }
.nav-actions { display: flex; align-items: center; gap: 0.75rem; }
.nav-toggle { display: none; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; background: none; border: 1px solid var(--line-2); border-radius: 8px; padding: 0.5rem; color: var(--mist); }
.nav-toggle svg { width: 22px; height: 22px; }

@media (max-width: 900px) {
  .nav-links, .nav-actions .btn { display: none; }
  .nav-toggle { display: inline-flex; }
  .mobile-menu { display: block; }
}
.mobile-menu {
  display: none; position: fixed; inset: 76px 0 0 0; z-index: 99;
  background: var(--ink); padding: 1.5rem clamp(1.25rem,4vw,2.5rem) 2.5rem;
  transform: translateY(-12px); opacity: 0; pointer-events: none;
  transition: opacity 0.28s var(--ease), transform 0.28s var(--ease);
  border-top: 1px solid var(--line); overflow-y: auto;
}
.mobile-menu.open { opacity: 1; transform: none; pointer-events: auto; }
.mobile-menu a { display: block; font-family: var(--font-display); font-size: 1.6rem; color: var(--mist); padding: 0.7rem 0; border-bottom: 1px solid var(--line); letter-spacing: -0.01em; }
.mobile-menu a[aria-current="page"] { color: var(--green-bright); }
.mobile-menu .btn { margin-top: 1.5rem; }
body.menu-open { overflow: hidden; }

/* ---- Hero ---- */
.hero { position: relative; padding-top: clamp(8rem, 16vh, 11rem); padding-bottom: clamp(4rem, 8vw, 7rem); overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.hero-bg::before {
  content: ""; position: absolute; top: -20%; left: -10%; width: 70%; height: 90%;
  background: radial-gradient(closest-side, var(--green-glow), transparent 70%);
  filter: blur(20px); opacity: 0.55;
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 0%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 70% at 50% 0%, #000 30%, transparent 75%);
  opacity: 0.5;
}
.hero h1 { max-width: 16ch; }
.hero .lead { margin-top: 1.5rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2.2rem; }

/* Stat row */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-top: clamp(3rem, 6vw, 4.5rem); }
.stat { background: var(--ink-2); padding: 1.6rem 1.5rem; }
.stat .num { font-family: var(--font-display); font-size: clamp(2.2rem, 4vw, 3.2rem); color: var(--mist); line-height: 1; letter-spacing: -0.03em; }
.stat .num .accent { color: var(--green); }
.stat .lbl { font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--slate); margin-top: 0.7rem; }
@media (max-width: 620px) { .stats { grid-template-columns: 1fr; } }

/* ---- Grid helpers ---- */
.grid { display: grid; gap: 1.25rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split--top { align-items: start; }
@media (max-width: 880px) { .split { grid-template-columns: 1fr; } }

/* ---- Cards ---- */
.card {
  background: var(--ink-3); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1.5rem, 2.5vw, 2.1rem);
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), background 0.35s var(--ease);
  position: relative; height: 100%;
}
.card:hover { transform: translateY(-4px); border-color: var(--line-2); background: var(--ink-4); }
.card .card-ix { font-family: var(--font-mono); font-size: 0.8rem; color: var(--green); letter-spacing: 0.1em; }
.card h3 { margin: 0.9rem 0 0.6rem; }
.card p { color: var(--fog); font-size: 0.98rem; }
.card-icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: rgba(57,181,74,0.12); color: var(--green-bright); margin-bottom: 1.1rem; }
.card-icon svg { width: 24px; height: 24px; }

/* Engine cards (two engines) */
.engine { display: flex; flex-direction: column; gap: 1.1rem; padding: clamp(1.8rem, 3vw, 2.6rem); }
.engine .eyebrow { font-family: var(--font-mono); font-size: 0.8rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--green); }
.engine ul.ticks li { position: relative; padding-left: 1.6rem; color: var(--fog); margin-bottom: 0.55rem; font-size: 0.98rem; }
.engine ul.ticks li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 7px; height: 7px; border-radius: 2px; background: var(--green); transform: rotate(45deg); }

/* Chips / tags */
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip {
  font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.06em;
  padding: 0.4rem 0.75rem; border: 1px solid var(--line-2); border-radius: 100px; color: var(--fog);
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.chip--solid { background: rgba(57,181,74,0.1); border-color: rgba(57,181,74,0.3); color: var(--green-bright); }

/* ---- Operating model timeline ---- */
.timeline { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.phase { background: var(--ink-2); padding: 1.7rem 1.5rem; transition: background 0.3s var(--ease); }
.phase:hover { background: var(--ink-4); }
.phase .step { font-family: var(--font-mono); color: var(--green); font-size: 0.85rem; letter-spacing: 0.1em; }
.phase h3 { margin: 0.7rem 0 0.4rem; color: var(--mist); font-size: 1.15rem; letter-spacing: -0.01em; }
.phase p { font-size: 0.92rem; color: var(--slate); }
@media (max-width: 860px) { .timeline { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .timeline { grid-template-columns: 1fr; } }

/* ---- Sectors ---- */
.sector { display: flex; align-items: center; gap: 0.9rem; padding: 1.1rem 1.3rem; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--ink-3); transition: border-color 0.3s var(--ease), transform 0.3s var(--ease); }
.sector:hover { border-color: rgba(57,181,74,0.4); transform: translateY(-3px); }
.sector .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); flex-shrink: 0; box-shadow: 0 0 12px var(--green-glow); }
.sector span { color: var(--mist); font-weight: 500; font-size: 0.98rem; }

/* ---- Team / founder ---- */
.founder { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
@media (max-width: 880px) { .founder { grid-template-columns: 1fr; } }
.founder-photo { position: relative; margin: 0; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line-2); background: var(--ink-3); box-shadow: var(--shadow); }
.founder-photo img { width: 100%; height: auto; display: block; aspect-ratio: 1 / 1; object-fit: cover; object-position: center 28%; }
.founder-photo figcaption { position: absolute; inset: auto 0 0 0; padding: 2.2rem 1.5rem 1.2rem; background: linear-gradient(to top, rgba(4,12,8,0.94), rgba(4,12,8,0.55) 55%, transparent); }
.founder-photo .fc-name { font-family: var(--font-display); font-size: 1.6rem; color: #fff; letter-spacing: -0.02em; line-height: 1.1; }
.founder-photo .fc-role { font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--green-bright); margin-top: 0.35rem; }
.founder-body > * + * { margin-top: 1.2rem; }
.founder-body .cred-grid { margin: 1.5rem 0; }
.founder-card { background: linear-gradient(160deg, var(--ink-4), var(--ink-3)); border: 1px solid var(--line-2); border-radius: var(--radius-lg); padding: clamp(1.8rem, 3vw, 2.6rem); }
.founder-card .role { font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--green); }
.founder-card .name { font-family: var(--font-display); font-size: clamp(2rem, 3.5vw, 2.8rem); color: var(--mist); margin: 0.5rem 0 0.2rem; letter-spacing: -0.02em; }
.founder-card .sub { color: var(--fog); margin-bottom: 1.4rem; }
.cred-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem 1.2rem; margin: 1.4rem 0; }
.cred-grid li { font-size: 0.9rem; color: var(--fog); position: relative; padding-left: 1.3rem; }
.cred-grid li::before { content: "›"; position: absolute; left: 0; color: var(--green); font-weight: 700; }

/* ---- Article contributor strip ---- */
.contributors { margin: 2rem 0; padding: 1.5rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--ink-3); }
.contributors .ctitle { font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--green); margin-bottom: 1.1rem; }
.contrib-grid { display: flex; flex-wrap: wrap; gap: 0.8rem 1.4rem; }
.contrib { display: flex; align-items: center; gap: 0.65rem; }
.contrib img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; border: 1px solid var(--line-2); flex-shrink: 0; }
.contrib span { font-size: 0.92rem; color: var(--fog); font-weight: 500; }

/* ---- Builds ---- */
.build { display: flex; flex-direction: column; justify-content: space-between; gap: 1.5rem; min-height: 220px; }
.build .tag { align-self: flex-start; }
.build h3 { font-size: 1.25rem; color: var(--mist); letter-spacing: -0.01em; }
.build p { color: var(--fog); font-size: 0.95rem; margin-top: 0.4rem; }

/* ---- FAQ accordion ---- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 1.5rem 0; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; font-family: var(--font-display); font-size: clamp(1.1rem, 1.7vw, 1.4rem); color: var(--mist); letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { flex-shrink: 0; width: 30px; height: 30px; border: 1px solid var(--line-2); border-radius: 50%; display: grid; place-items: center; transition: transform 0.3s var(--ease), border-color 0.3s, background 0.3s; position: relative; }
.faq summary .ic::before, .faq summary .ic::after { content: ""; position: absolute; background: var(--green); border-radius: 2px; }
.faq summary .ic::before { width: 12px; height: 2px; }
.faq summary .ic::after { width: 2px; height: 12px; transition: transform 0.3s var(--ease); }
.faq details[open] summary .ic { background: rgba(57,181,74,0.12); border-color: var(--green); }
.faq details[open] summary .ic::after { transform: scaleY(0); }
.faq .faq-body { padding: 0 0 1.6rem; max-width: 70ch; color: var(--fog); }
.faq .faq-body p + p { margin-top: 0.8rem; }

/* ---- CTA band ---- */
.cta-band { position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: clamp(2.5rem, 6vw, 5rem); text-align: center; background: linear-gradient(160deg, #0b2417, #061711); border: 1px solid var(--line-2); }
.cta-band::before { content: ""; position: absolute; top: -40%; left: 50%; transform: translateX(-50%); width: 60%; height: 120%; background: radial-gradient(closest-side, var(--green-glow), transparent 70%); opacity: 0.5; filter: blur(10px); }
.cta-band > * { position: relative; }
.cta-band h2 { max-width: 18ch; margin-inline: auto; }
.cta-band p { max-width: 52ch; margin: 1.1rem auto 2rem; color: var(--fog); }

/* ---- News cards ---- */
.post-card { display: flex; flex-direction: column; gap: 0.9rem; padding: 1.6rem; background: var(--ink-3); border: 1px solid var(--line); border-radius: var(--radius); transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), background 0.35s var(--ease); height: 100%; }
.post-card:hover { transform: translateY(-4px); border-color: var(--line-2); background: var(--ink-4); }
.post-card .meta { display: flex; align-items: center; gap: 0.7rem; font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.06em; color: var(--slate); text-transform: uppercase; }
.post-card .meta .cat { color: var(--green); }
.post-card h3 { font-size: 1.2rem; line-height: 1.25; color: var(--mist); transition: color 0.2s; }
.post-card:hover h3 { color: var(--green-bright); }
.post-card p { font-size: 0.95rem; color: var(--fog); flex-grow: 1; }
.post-card .more { font-family: var(--font-mono); font-size: 0.8rem; color: var(--green); letter-spacing: 0.05em; margin-top: 0.3rem; }
.post-card.feature { grid-column: span 2; }
@media (max-width: 960px) { .post-card.feature { grid-column: span 1; } }

/* Filter bar */
.filterbar { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 2.5rem; }
.filterbar button { background: var(--ink-3); border: 1px solid var(--line); color: var(--fog); padding: 0.5rem 1rem; border-radius: 100px; font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.05em; transition: all 0.2s var(--ease); }
.filterbar button:hover { border-color: var(--line-2); color: var(--mist); }
.filterbar button.active { background: var(--green); border-color: var(--green); color: #04140a; }

/* ---- Article ---- */
.article-hero { padding-top: clamp(8rem, 14vh, 10rem); padding-bottom: clamp(2rem, 4vw, 3rem); }
.breadcrumb { font-family: var(--font-mono); font-size: 0.78rem; color: var(--slate); margin-bottom: 1.5rem; display: flex; gap: 0.5rem; flex-wrap: wrap; }
.breadcrumb a:hover { color: var(--green); }
.breadcrumb span { color: var(--slate-2); }
.article-hero h1 { max-width: 20ch; }
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.8rem; margin-top: 1.5rem; font-family: var(--font-mono); font-size: 0.82rem; color: var(--slate); }
.article-meta .dot-sep { color: var(--slate-2); }
.prose { max-width: 72ch; margin-inline: auto; font-size: 1.12rem; line-height: 1.8; color: var(--fog); }
.prose > * + * { margin-top: 1.4rem; }
.prose h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); color: var(--mist); margin-top: 2.6rem; }
.prose h3 { font-size: 1.3rem; color: var(--mist); margin-top: 2rem; }
.prose strong { color: var(--mist); }
.prose a { color: var(--green); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(57,181,74,0.4); }
.prose a:hover { color: var(--green-bright); }
.prose ul, .prose ol { padding-left: 1.4rem; display: flex; flex-direction: column; gap: 0.6rem; }
.prose ul { list-style: none; padding-left: 0; }
.prose ul li { position: relative; padding-left: 1.7rem; }
.prose ul li::before { content: ""; position: absolute; left: 0; top: 0.7em; width: 8px; height: 8px; background: var(--green); border-radius: 2px; transform: rotate(45deg); }
.prose ol { list-style: decimal; padding-left: 1.4rem; }
.prose ol li::marker { color: var(--green); font-family: var(--font-mono); }
.prose blockquote { border-left: 3px solid var(--green); padding: 0.4rem 0 0.4rem 1.5rem; font-family: var(--font-display); font-size: 1.4rem; line-height: 1.4; color: var(--mist); letter-spacing: -0.01em; }
.article-foot { max-width: 72ch; margin: clamp(3rem,6vw,4.5rem) auto 0; padding-top: 2rem; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 1.5rem; justify-content: space-between; align-items: center; }
.share { display: flex; gap: 0.6rem; align-items: center; }
.share a { width: 40px; height: 40px; border: 1px solid var(--line-2); border-radius: 50%; display: grid; place-items: center; color: var(--fog); transition: all 0.2s var(--ease); }
.share a:hover { border-color: var(--green); color: var(--green-bright); transform: translateY(-2px); }
.share svg { width: 18px; height: 18px; }

/* ---- Contact form ---- */
.form-card { background: var(--ink-3); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.8rem, 3vw, 2.6rem); }
.field { margin-bottom: 1.2rem; }
.field label { display: block; font-family: var(--font-mono); font-size: 0.76rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--slate); margin-bottom: 0.5rem; }
.field input, .field select, .field textarea {
  width: 100%; background: var(--ink); border: 1px solid var(--line-2); border-radius: var(--radius-sm);
  padding: 0.85rem 1rem; color: var(--mist); font-family: var(--font-body); font-size: 1rem;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.field input::placeholder, .field textarea::placeholder { color: var(--slate); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(57,181,74,0.15); }
.field textarea { min-height: 130px; resize: vertical; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2384938b' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.form-note { font-size: 0.82rem; color: var(--slate); margin-top: 0.5rem; }
.expect li { display: flex; gap: 0.9rem; padding: 1.1rem 0; border-bottom: 1px solid var(--line); align-items: flex-start; }
.expect li:last-child { border-bottom: 0; }
.expect .n { font-family: var(--font-mono); color: var(--green); font-size: 0.85rem; flex-shrink: 0; padding-top: 0.15rem; }
.expect strong { display: block; color: var(--mist); margin-bottom: 0.2rem; }
.expect p { font-size: 0.92rem; color: var(--fog); }

/* ---- Footer ---- */
.site-footer { border-top: 1px solid var(--line); padding-block: clamp(3rem, 6vw, 4.5rem) 2rem; background: var(--ink-2); }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 2.5rem; }
@media (max-width: 760px) { .footer-top { grid-template-columns: 1fr; gap: 2rem; } }
.footer-brand img { height: 32px; margin-bottom: 1.2rem; }
.footer-brand p { color: var(--slate); font-size: 0.95rem; max-width: 38ch; }
.footer-col h4 { font-family: var(--font-mono); font-size: 0.76rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--slate); margin-bottom: 1.1rem; font-weight: 500; }
.footer-col a { display: block; color: var(--fog); padding: 0.35rem 0; font-size: 0.96rem; transition: color 0.2s; }
.footer-col a:hover { color: var(--green-bright); }
@media (max-width: 760px) { .footer-col a { padding: 0.6rem 0; } } /* larger tap target on mobile (placed after base rule to win source order) */
.footer-bottom { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center; margin-top: clamp(2.5rem,5vw,3.5rem); padding-top: 1.8rem; border-top: 1px solid var(--line); }
.footer-bottom p { font-size: 0.85rem; color: var(--slate); }
.footer-bottom .tagline { font-family: var(--font-mono); font-size: 0.8rem; letter-spacing: 0.14em; color: var(--green); text-transform: uppercase; }

/* ---- Scroll reveal (progressive enhancement: only hidden when JS is active,
   so content is fully visible if JS is disabled or fails) ---- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1 !important; transform: none !important; } }

/* ---- Skip link ---- */
.skip { position: absolute; left: -999px; top: 0; z-index: 200; background: var(--green); color: #04140a; padding: 0.7rem 1.2rem; border-radius: 0 0 8px 0; font-weight: 600; }
.skip:focus { left: 0; }

/* ---- Utilities ---- */
.mt-0 { margin-top: 0; }
.center { text-align: center; }
.flow > * + * { margin-top: 1.2rem; }
.eyebrow-list { display: flex; flex-wrap: wrap; gap: 0.5rem 1.4rem; font-family: var(--font-mono); font-size: 0.82rem; color: var(--fog); }
.eyebrow-list span { display: inline-flex; align-items: center; gap: 0.5rem; }
.eyebrow-list span::before { content: "+"; color: var(--green); font-weight: 700; }
