/*
   momolytics — product, growth, data, AI
   Hand-written CSS. No frameworks, no build step.
*/

@font-face {
  font-family: "Geist";
  src: url("assets/fonts/geist-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Geist Mono";
  src: url("assets/fonts/geist-mono-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #08080b;
  --surface: #101015;
  --surface-2: #15151d;
  --surface-3: #1b1b24;
  --accent: #7c5cff;
  --accent-bright: #9b7bff;
  --accent-soft: rgba(124, 92, 255, 0.14);
  --accent-line: rgba(124, 92, 255, 0.32);
  --text: #f2f2f5;
  --muted: #8f8f9e;
  --muted-2: #6f6f80;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);

  --radius: 18px;
  --radius-sm: 10px;
  --max: 1160px;
  --pad: 24px;

  --font-sans: "Geist", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/*  Reset */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4, p, ul, figure, blockquote { margin: 0; }
ul { padding: 0; list-style: none; }
summary { cursor: pointer; }
summary::-webkit-details-marker { display: none; }

:focus-visible {
  outline: 2px solid var(--accent-bright);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--accent);
  color: #fff;
  padding: 12px 20px;
  border-radius: 0 0 12px 0;
}
.skip-link:focus { left: 0; }

.mono { font-family: var(--font-mono); font-size: 0.9rem; letter-spacing: 0.02em; }
.muted { color: var(--muted); }
.accent { color: var(--accent-bright); }

/* Layout */
.page {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
}

/*  Perspective dot grid  */
.bg-grid {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  display: block;
}

/*  Nav  */
.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  background: rgba(8, 8, 11, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 18px var(--pad);
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 1.02rem;
  letter-spacing: -0.02em;
}

.brand-dot { color: var(--accent-bright); }

.nav-links {
  display: flex;
  gap: 30px;
  font-size: 0.9rem;
  color: var(--muted);
}
.nav-links a {
  transition: color 0.2s var(--ease);
  position: relative;
}
.nav-links a:hover { color: var(--text); }

/*  Buttons  */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--ease);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover { background: var(--accent-bright); }

.btn-ghost {
  border-color: var(--line-strong);
  color: var(--text);
  background: transparent;
}
.btn-ghost:hover { border-color: var(--accent-line); background: var(--accent-soft); }

.btn-sm { min-height: 38px; padding: 0 16px; font-size: 0.9rem; }
.btn-lg { min-height: 50px; padding: 0 26px; font-size: 1rem; }

.btn-light {
  background: #fff;
  color: #0a0a0f;
}
.btn-light:hover { background: #e9e9f2; }

.btn-ghost-light {
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
  background: transparent;
}
.btn-ghost-light:hover { background: rgba(255, 255, 255, 0.12); }

/*  Eyebrow / section head  */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-bright);
}

.section {
  padding: 96px 0 0;
  margin-top: 96px;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 40px;
}

.section-head h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.9rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin-top: 12px;
}

.section-head > p {
  max-width: 34ch;
  font-size: 0.95rem;
  text-align: right;
  line-height: 1.55;
}

/*  Hero  */
.hero {
  padding-top: 72px;
}

.hero-grid {
  display: block;
}

.hero-copy { max-width: 1040px; }

.hero h1 {
  font-size: clamp(2.6rem, 5.4vw, 4.4rem);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.055em;
  margin-top: 20px;
}

.hero-h1-dim { color: var(--muted); }

.hero-lede {
  margin-top: 26px;
  max-width: 52ch;
  font-size: 1.06rem;
  line-height: 1.65;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero-meta {
  margin-top: 24px;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  color: var(--muted-2);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 64px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stat {
  padding: 24px;
  border-right: 1px solid var(--line);
}
.stat:last-child { border-right: none; }

.stat-num {
  display: block;
  font-family: var(--font-mono);
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--text);
}

.stat-label {
  display: block;
  margin-top: 8px;
  font-size: 0.9rem;
  color: var(--muted);
}

/*  Impact  */
.impact {
  display: grid;
  gap: 16px;
}

.impact-row {
  background: var(--bg);
}

.impact-row summary {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) 120px;
  gap: 20px;
  align-items: center;
  padding: 20px 26px;
  transition: background 0.2s var(--ease);
}

.impact-row summary:hover { background: rgba(255, 255, 255, 0.03); }

.impact-name {
  font-size: 0.95rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
}

.impact-tag {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted-2);
  border-radius: 4px;
  padding: 2px 6px;
}

.impact-track {
  position: relative;
  display: block;
  height: 8px;
  border-radius: 999px;
  background: var(--line);
  overflow: hidden;
}

.impact-fill {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--start);
  width: calc(var(--end) - var(--start));
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent-bright));
}

/* Faded segment from 0 to the start of the solid fill */
.impact-track::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: var(--start, 0%);
  border-radius: 999px 0 0 999px;
  background: var(--accent);
  opacity: 0.4;
}

.impact-value {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 500;
  text-align: right;
  letter-spacing: -0.02em;
}
.impact-value span {
  font-size: 0.9rem;
  color: var(--muted-2);
  letter-spacing: 0.06em;
}

.impact-detail {
  padding: 0 26px 22px 196px;
  max-width: 720px;
}
.impact-detail p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
}
.impact-meta {
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--muted-2);
}

.impact-axis {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) 120px;
  gap: 20px;
  padding: 12px 26px 0;
}

.impact-axis-labels {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--muted-2);
}

.impact-callouts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 40px;
}

.callout {
  padding: 28px;
  border-radius: var(--radius);
  background:
    radial-gradient(120% 120% at 0% 0%, var(--accent-soft), transparent 60%),
    var(--surface);
}

.callout-kicker {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.callout-num {
  display: block;
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 1;
  color: var(--accent-bright);
}

.callout-label {
  display: block;
  margin-top: 6px;
  font-size: 0.9rem;
  color: var(--text);
}

.callout p {
  margin-top: 14px;
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.6;
}

/*  Loop  */
.loop {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.loop-step {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 28px 26px 30px 26px;
  background: var(--bg);
  transition: background 0.2s var(--ease);
}

.loop-step:hover { background: var(--surface); }

.loop-step:not(:last-child)::after {
  content: "→";
  position: absolute;
  right: -19px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  color: var(--accent-bright);
  font-size: 0.9rem;
}

.loop-num {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--accent-bright);
  letter-spacing: 0.08em;
}

.loop-step h3 {
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: -0.03em;
}

.loop-step > p {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.6;
  max-width: 30ch;
}

.loop-tools {
  margin-top: auto;
  padding-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.loop-tools li {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  color: var(--muted);
  border-radius: 4px;
  padding: 3px 7px;
  background: var(--surface-2);
}

/*  Filters  */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 28px;
}

.filter {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--surface-2);
  border: 0;
  border-radius: 999px;
  padding: 8px 14px;
  cursor: pointer;
  transition: all 0.2s var(--ease);
}
.filter:hover { color: var(--text); background: var(--surface-3); }
.filter.is-active {
  background: var(--accent);
  color: #fff;
}

/*  Work  */
.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.card {
  background: var(--surface);
  border-radius: var(--radius);
}

.work-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 26px;
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease), background 0.2s var(--ease);
}
.work-card:hover {
  background: var(--surface-2);
  transform: translateY(-2px);
}

.work-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.work-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 10px;
  background: #f2f2f4;
  padding: 6px;
}

.work-tag {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted-2);
  border-radius: 4px;
  padding: 3px 7px;
  background: var(--surface-2);
}

.work-metric {
  font-family: var(--font-mono);
  font-size: clamp(1.9rem, 3vw, 2.4rem);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 1;
  color: var(--accent-bright);
  margin-top: 6px;
}
.work-metric span {
  font-size: 0.9rem;
  color: var(--muted-2);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-left: 6px;
}

.work-card h3 {
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: -0.03em;
}

.work-desc {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.6;
}

.work-facts {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 4px;
}
.work-facts li {
  font-size: 0.9rem;
  color: var(--muted);
  padding-left: 14px;
  position: relative;
}
.work-facts li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
}

.work-details {
  margin-top: auto;
  padding-top: 8px;
}
.work-details summary {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-bright);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.work-details summary::after {
  content: "+";
  font-size: 0.9rem;
  line-height: 1;
}
.work-details[open] summary::after { content: "−"; }
.work-details p {
  margin-top: 10px;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
}

.work-card.is-hidden { display: none; }

/* Compact list */
.compact {
  margin-top: 40px;
}

.compact-title {
  font-size: 0.9rem;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted-2);
  margin-bottom: 12px;
}

.compact-list {
  display: grid;
  gap: 16px;
}

.compact-list li {
  display: grid;
  grid-template-columns: 40px 130px 1fr;
  gap: 16px;
  align-items: center;
  padding: 22px 26px;
  background: var(--bg);
}

.compact-list img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  border-radius: 7px;
  background: #f2f2f4;
  padding: 4px;
}

.compact-name {
  font-size: 0.9rem;
  font-weight: 500;
}

.compact-desc {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.55;
}

/*  AI  */
.ai-rows {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.ai-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
  overflow: hidden;
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease), background 0.2s var(--ease);
  background:
    radial-gradient(120% 120% at 100% 0%, var(--accent-soft), transparent 55%),
    var(--surface);
}
.ai-row:hover {
  background:
    radial-gradient(120% 120% at 100% 0%, var(--accent-soft), transparent 50%),
    var(--surface-2);
}

.ai-shot {
  order: 2;
  position: relative;
  margin: 0;
  aspect-ratio: 16 / 10;
  display: flex;
  flex-direction: column;
  background: var(--surface-2);
  border-left: 1px solid var(--line);
}
.ai-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.ai-shot--left img { object-position: top left; }

.ai-shot-bar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  padding: 0 14px;
  height: 30px;
  flex: 0 0 auto;
  background: var(--surface-3);
  border-bottom: 1px solid var(--line);
}
.ai-shot-bar span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--line-strong);
}

.ai-body {
  padding: 26px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

.ai-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.ai-logo {
  width: 56px;
  height: 56px;
  object-fit: contain;
  border-radius: 12px;
  background: #f2f2f4;
  padding: 6px;
}

.tag {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-bright);
  border-radius: 4px;
  padding: 3px 7px;
  background: var(--accent-soft);
}

.ai-row h3 {
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: -0.03em;
}

.ai-row p {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.6;
  max-width: 40ch;
}

.ai-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
  padding-top: 0;
}
.ai-facts li {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--muted);
  border-radius: 4px;
  padding: 3px 7px;
  background: var(--surface-2);
}

.ai-extra {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-top: 16px;
  padding: 22px 26px;
  background: var(--bg);
}
.ai-extra .mono {
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-2);
  white-space: nowrap;
}
.ai-extra ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}
.ai-extra li {
  font-size: 0.9rem;
  color: var(--muted);
  position: relative;
  padding-left: 14px;
}
.ai-extra li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
}

/*  Research  */
.research {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.research-card {
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.research-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.research-card h3 {
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.25;
}

.research-card p {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.6;
}

.research-chart {
  margin-top: 8px;
  border-radius: 8px;
  background: var(--surface-2);
  overflow: hidden;
}
.research-chart svg { display: block; width: 100%; height: auto; }

.card-link {
  margin-top: auto;
  padding-top: 12px;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-bright);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s var(--ease);
}
.card-link:hover { color: #fff; }

/*  Timeline  */
.timeline {
  border-top: 1px solid var(--line);
}

.tl-item {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 32px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.tl-date {
  color: var(--muted-2);
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  padding-top: 4px;
}

.tl-body h3 {
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.tl-company { color: var(--accent-bright); font-weight: 500; }

.tl-body p {
  margin-top: 8px;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.65;
  max-width: 70ch;
}

.tl-actions { margin-top: 28px; }

/*  Quotes  */
.quotes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.quote {
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.quote--wide { grid-column: 1 / -1; }

.quote blockquote {
  font-size: 1.02rem;
  line-height: 1.65;
  letter-spacing: -0.01em;
  color: var(--text);
}

.quote--wide blockquote {
  font-size: 1.2rem;
  max-width: 70ch;
}

.quote figcaption {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: auto;
}

.quote-name {
  font-size: 0.9rem;
  font-weight: 500;
}

/*  CTA  */
.cta {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-top: 96px;
  background: var(--accent);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 0%, rgba(255, 255, 255, 0.18), transparent 45%),
    radial-gradient(circle at 90% 100%, rgba(0, 0, 0, 0.18), transparent 50%);
  pointer-events: none;
}

.cta-inner {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  padding: 96px var(--pad);
  text-align: center;
}

.cta .eyebrow { color: rgba(255, 255, 255, 0.75); }

.cta h2 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 1.02;
  margin-top: 16px;
}

.cta-sub {
  max-width: 46ch;
  margin: 20px auto 0;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.6;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}

.cta-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 24px;
  margin-top: 28px;
}
.cta-links a {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  padding-bottom: 2px;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.cta-links a:hover { color: #fff; border-color: #fff; }

/*  Footer  */
.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding: 40px max(calc((100vw - var(--max)) / 2 + var(--pad) + 26px), 26px) 48px;
  background: var(--bg);
}

.footer-left { display: flex; flex-direction: column; gap: 4px; }

.footer-brand {
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.footer-right { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-right a { color: var(--muted); transition: color 0.2s var(--ease); }
.footer-right a:hover { color: var(--text); }

/*  Toast  */
.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translate(-50%, 20px);
  z-index: 50;
  background: var(--surface-3);
  border: 1px solid var(--line-strong);
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  padding: 10px 16px;
  border-radius: 999px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/*  Scroll reveal  */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }

/*  Responsive  */
@media (max-width: 1024px) {
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: none; }
  .stat:nth-child(3), .stat:nth-child(4) { border-top: 1px solid var(--line); }
  .work-grid { grid-template-columns: repeat(2, 1fr); }
  .ai-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .loop { grid-template-columns: repeat(2, 1fr); }
  .loop-step:nth-child(3)::after { display: none; }
}

@media (max-width: 760px) {
  :root { --pad: 18px; }
  .nav { padding: 0; }
  .nav-links { display: none; }
  .nav-inner { padding: 16px var(--pad); }

  .hero { padding-top: 40px; }
  .hero h1 { font-size: clamp(2.4rem, 10vw, 3.4rem); }
  .hero-lede { font-size: 1rem; }

  .hero-stats { grid-template-columns: repeat(2, 1fr); margin-top: 48px; }
  .stat { padding: 20px 16px; }
  .stat-num { font-size: 1.5rem; }

  .section { padding-top: 72px; margin-top: 72px; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 12px; margin-bottom: 28px; }
  .section-head > p { text-align: left; max-width: 46ch; }

  .impact-row summary { grid-template-columns: 1fr 1fr; gap: 8px 12px; }
  .impact-name { grid-column: 1 / -1; }
  .impact-value { grid-column: 2; grid-row: 2; text-align: right; }
  .impact-track { grid-column: 1; grid-row: 2; }
  .impact-detail { padding: 0 26px 20px; }
  .impact-axis { display: none; }
  .impact-callouts { grid-template-columns: 1fr; }

  .loop { grid-template-columns: 1fr; }
  .loop-step::after { display: none; }

  .work-grid { grid-template-columns: 1fr; }
  .research { grid-template-columns: 1fr; }

  .ai-row { grid-template-columns: minmax(0, 1fr); }
  .ai-shot { order: 0; aspect-ratio: 4 / 3; border-left: 0; border-bottom: 1px solid var(--line); min-width: 0; }
  .ai-body { padding: 22px 20px; min-width: 0; }
  .ai-row h3 { font-size: 1.35rem; }

  .compact-list li { grid-template-columns: 32px 1fr; gap: 8px 12px; }
  .compact-desc { grid-column: 2; }

  .tl-item { grid-template-columns: 1fr; gap: 8px; padding: 22px 0; }
  .tl-date { padding-top: 0; }

  .quotes { grid-template-columns: 1fr; }
  .quote--wide { grid-column: auto; }
  .quote { padding: 24px; }
  .quote--wide blockquote { font-size: 1.05rem; }

  .cta-inner { padding: 72px var(--pad); }
  .cta h2 { font-size: clamp(2rem, 8vw, 2.8rem); }

  .footer { flex-direction: column; align-items: flex-start; gap: 20px; }
}

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