/* Crucibl Brand Stylesheet — Ember direction
   Brand Guide v1.0 · April 2026
   Navy #1a1a2e + Burnt Orange #ff6b35 + Warm White #f7f5f2
   Space Grotesk (display) + DM Sans (body) + JetBrains Mono (data)
*/

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&family=Space+Grotesk:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

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

:root {
  --navy: #1a1a2e;
  --navy-deeper: #0f0f1e;
  --slate: #2d2d3a;
  --orange: #ff6b35;
  --orange-warm: #ff9f6b;
  --orange-deep: #e85a2a;
  --white-warm: #f7f5f2;
  --border: #e8e4df;
  --text: #444;
  --text-light: #888;
  --text-muted: #999;
  --success: #2d7d2d;
  --warning: #e8a735;
  --error: #c0392b;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  color: var(--text);
  background: var(--white-warm);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--orange); text-decoration: none; transition: color .15s; }
a:hover { color: var(--orange-deep); }

img { max-width: 100%; height: auto; display: block; }

/* ─── NAV ───────────────────────────────────────── */
nav.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(26, 26, 46, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 14px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.nav-brand img { height: 28px; width: auto; }
.nav-brand .wordmark {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--orange);
  letter-spacing: -0.5px;
}
.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
}
.nav-links a {
  font-size: 14px;
  color: #ccc;
  font-weight: 500;
  transition: color .15s;
}
.nav-links a:hover, .nav-links a.active { color: white; }
.nav-cta {
  background: var(--orange) !important;
  color: white !important;
  padding: 8px 18px;
  border-radius: 8px;
  font-weight: 600;
  transition: background .15s;
}
.nav-cta:hover { background: var(--orange-deep) !important; }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
}

/* ─── BUTTONS ───────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 10px;
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background .15s, transform .1s, border-color .15s;
}
.btn-primary {
  background: var(--orange);
  color: white;
}
.btn-primary:hover { background: var(--orange-deep); color: white; transform: translateY(-1px); }
.btn-secondary {
  background: transparent;
  color: #ccc;
  border: 1px solid #444;
}
.btn-secondary:hover { border-color: #888; color: white; }
.btn-light {
  background: white;
  color: var(--navy);
  border: 1px solid var(--border);
}
.btn-light:hover { border-color: var(--orange); color: var(--orange); }

/* ─── HERO ──────────────────────────────────────── */
.hero {
  background: var(--navy);
  padding: 150px 40px 90px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 200px;
  background: linear-gradient(transparent, rgba(255, 107, 53, 0.04));
  pointer-events: none;
}
.hero-eyebrow {
  display: inline-block;
  background: rgba(255, 107, 53, 0.15);
  color: var(--orange);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 24px;
  font-family: 'JetBrains Mono', monospace;
}
.hero h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 56px;
  font-weight: 700;
  color: white;
  max-width: 880px;
  margin: 0 auto 24px;
  line-height: 1.12;
  letter-spacing: -1px;
}
.hero h1 span.accent { color: var(--orange); }
.hero p.lede {
  font-size: 19px;
  color: #b6b6c6;
  max-width: 680px;
  margin: 0 auto 36px;
  line-height: 1.6;
}
.hero-actions {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.hero.compact { padding: 120px 40px 60px; }
.hero.compact h1 { font-size: 42px; }
.hero.compact p.lede { font-size: 17px; max-width: 700px; }

/* ─── EVIDENCE BAR ──────────────────────────────── */
.evidence-bar {
  background: white;
  border-bottom: 1px solid var(--border);
  padding: 28px 40px;
  display: flex;
  justify-content: center;
  gap: 56px;
  flex-wrap: wrap;
}
.evidence-stat { text-align: center; }
.evidence-stat .number {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.1;
}
.evidence-stat .label {
  font-size: 12px;
  color: var(--text-light);
  margin-top: 4px;
  letter-spacing: 0.3px;
}

/* ─── SECTIONS ──────────────────────────────────── */
section {
  padding: 80px 40px;
}
.container {
  max-width: 1100px;
  margin: 0 auto;
}
.container-narrow {
  max-width: 820px;
  margin: 0 auto;
}
.section-eyebrow {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 14px;
}
section h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 36px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 16px;
  line-height: 1.18;
  letter-spacing: -0.5px;
}
section h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 10px;
  letter-spacing: -0.3px;
}
section .subtitle {
  font-size: 18px;
  color: var(--text-light);
  max-width: 720px;
  line-height: 1.6;
  margin-bottom: 40px;
}
section p { font-size: 16px; line-height: 1.65; color: var(--text); margin-bottom: 18px; }
section p:last-child { margin-bottom: 0; }
section.dark { background: var(--navy); }
section.dark h2 { color: white; }
section.dark h3 { color: white; }
section.dark .subtitle { color: #aaa; }
section.dark p { color: #c8c8d4; }
section.dark .section-eyebrow { color: var(--orange); }

/* ─── PROBLEM CARDS ─────────────────────────────── */
.card-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 16px;
}
.card-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 16px;
}
.card {
  background: white;
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 1px 8px rgba(0,0,0,0.04);
  transition: transform .2s, box-shadow .2s;
}
.card.bordered { border-top: 3px solid var(--orange); }
.card:hover { transform: translateY(-2px); box-shadow: 0 4px 20px rgba(0,0,0,0.08); }
.card .stat {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 36px;
  font-weight: 700;
  color: var(--orange);
  line-height: 1;
  margin-bottom: 8px;
}
.card h3,
section.dark .card h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 10px;
  line-height: 1.3;
}
.card p {
  font-size: 14px;
  color: #666;
  margin-bottom: 0;
}
.card cite {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  font-style: normal;
  margin-top: 10px;
  font-family: 'JetBrains Mono', monospace;
}

/* ─── PRINCIPLES GRID ───────────────────────────── */
.principles-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 20px;
}
.principle {
  background: white;
  border-radius: 12px;
  padding: 18px 22px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  box-shadow: 0 1px 8px rgba(0,0,0,0.04);
  transition: transform .15s, box-shadow .15s;
}
.principle:hover { transform: translateY(-1px); box-shadow: 0 4px 16px rgba(0,0,0,0.06); }
.principle .num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 500;
  color: var(--orange);
  background: rgba(255, 107, 53, 0.1);
  width: 32px; height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.principle h4 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 4px;
}
.principle p { font-size: 14px; color: #444; margin: 0; line-height: 1.5; }

/* ─── HOW STEPS / AGENTS ────────────────────────── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 24px;
}
.step {
  background: var(--slate);
  border-radius: 16px;
  padding: 26px 24px;
}
.step .step-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 44px;
  font-weight: 700;
  color: rgba(255, 159, 107, 0.85);
  margin-bottom: 4px;
  line-height: 1;
}
.step h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: white;
  margin-bottom: 8px;
}
.step p { font-size: 13px; color: #a8a8b8; line-height: 1.55; margin: 0; }

/* ─── MARKET CARDS ──────────────────────────────── */
.market {
  background: white;
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 1px 8px rgba(0,0,0,0.04);
  border-left: 4px solid var(--orange);
  margin-bottom: 20px;
}
.market h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 22px;
  color: var(--navy);
  margin-bottom: 8px;
}
.market .market-meta {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--orange);
  margin-bottom: 14px;
  letter-spacing: 0.3px;
}
.market p { font-size: 15px; color: #555; margin-bottom: 0; }

/* ─── FOUNDER ───────────────────────────────────── */
.founder-section { background: white; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.founder-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 40px;
  align-items: start;
  max-width: 880px;
  margin: 0 auto;
}
.founder-avatar {
  width: 160px; height: 160px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 4px 18px rgba(0,0,0,0.10);
  background: linear-gradient(135deg, var(--navy), var(--slate));
}
.founder-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 15%;
  display: block;
}
.founder-card h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 24px;
  color: var(--navy);
  margin-bottom: 4px;
}
.founder-card .title {
  font-size: 14px;
  color: var(--orange);
  font-weight: 500;
  margin-bottom: 14px;
  font-family: 'JetBrains Mono', monospace;
}
.founder-card p { font-size: 15px; color: #555; line-height: 1.65; margin-bottom: 14px; }

/* ─── REFERENCE TABLE ───────────────────────────── */
.ref-table {
  background: white;
  border-radius: 12px;
  padding: 24px 28px;
  box-shadow: 0 1px 8px rgba(0,0,0,0.04);
  margin-top: 20px;
}
.ref-row {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 24px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}
.ref-row:last-child { border-bottom: none; }
.ref-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--text-light);
  letter-spacing: 0.3px;
}
.ref-value {
  font-size: 14px;
  color: var(--navy);
  line-height: 1.55;
}

/* ─── CITATIONS / EVIDENCE ──────────────────────── */
.citation {
  background: white;
  border-left: 3px solid var(--orange);
  padding: 18px 22px;
  border-radius: 8px;
  margin-bottom: 16px;
  box-shadow: 0 1px 6px rgba(0,0,0,0.03);
}
.citation .source {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--orange);
  letter-spacing: 0.4px;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.citation h4 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 16px;
  color: var(--navy);
  margin-bottom: 6px;
}
.citation p { font-size: 14px; color: #666; margin: 0; line-height: 1.55; }

/* ─── CTA STRIP ─────────────────────────────────── */
.cta-strip {
  background: var(--navy);
  text-align: center;
  padding: 80px 40px;
}
.cta-strip h2 { color: white; }
.cta-strip .subtitle { color: #aaa; margin-left: auto; margin-right: auto; }
.cta-strip .actions { margin-top: 24px; }

/* ─── CONTACT FORM ──────────────────────────────── */
.contact-form {
  background: white;
  border-radius: 16px;
  padding: 36px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.05);
  max-width: 640px;
  margin: 0 auto;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 56px;
  align-items: start;
  max-width: 1040px;
  margin: 0 auto;
}
@media (max-width: 800px) {
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
}
.contact-info h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 22px;
  color: var(--navy);
  margin-bottom: 10px;
  letter-spacing: -0.3px;
}
.contact-info > p {
  font-size: 15px;
  color: #555;
  margin-bottom: 24px;
  line-height: 1.6;
}
.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.contact-detail:last-child { border-bottom: none; }
.contact-detail-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--orange);
  background: rgba(255,107,53,0.1);
  border-radius: 8px;
}
.contact-detail-text {
  font-size: 14px;
  color: #444;
  line-height: 1.5;
  padding-top: 2px;
}
.contact-detail-text strong {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 4px;
}
.contact-detail-text a {
  color: var(--orange);
  text-decoration: none;
}
.contact-detail-text a:hover { color: var(--orange-deep); }
.contact-grid .contact-form { margin: 0; max-width: none; }

/* ─── FAQ ───────────────────────────────────────── */
.faq-block { margin-bottom: 36px; }
.faq-q {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 17px;
  font-weight: 600;
  color: var(--navy);
  margin-top: 26px;
  margin-bottom: 10px;
  letter-spacing: -0.2px;
  line-height: 1.35;
}
.faq-q::before {
  content: 'Q. ';
  color: var(--orange);
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  font-weight: 700;
  margin-right: 4px;
}
.faq-a {
  font-size: 15px;
  color: var(--text);
  line-height: 1.65;
  margin-bottom: 8px;
}
.field { margin-bottom: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
  font-family: 'Space Grotesk', sans-serif;
  letter-spacing: 0.2px;
}
.field input, .field textarea, .field select {
  width: 100%;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--white-warm);
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  color: var(--navy);
  outline: none;
  transition: border-color .15s, background .15s;
}
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--orange);
  background: white;
}
.field textarea { min-height: 130px; resize: vertical; }

/* ─── FOOTER ────────────────────────────────────── */
footer.site-footer {
  background: var(--navy-deeper);
  color: #888;
  padding: 56px 40px 24px;
  font-size: 14px;
}
.footer-grid {
  max-width: 1100px;
  margin: 0 auto 32px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer-brand {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--orange);
  margin-bottom: 8px;
}
.footer-tagline { font-size: 14px; color: #888; max-width: 280px; line-height: 1.5; }
.footer-col h5 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: white;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.footer-col a { display: block; color: #888; font-size: 14px; padding: 4px 0; transition: color .15s; }
.footer-col a:hover { color: var(--orange); }
.footer-bottom {
  max-width: 1100px;
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid #2a2a3a;
  font-size: 12px;
  color: #555;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-family: 'JetBrains Mono', monospace;
}

/* ─── RESPONSIVE ────────────────────────────────── */
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .card-grid-3 { grid-template-columns: 1fr; }
  .card-grid-2 { grid-template-columns: 1fr; }
  .principles-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  nav.site-nav { padding: 12px 20px; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--navy);
    flex-direction: column;
    align-items: stretch;
    padding: 20px;
    gap: 12px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .hero { padding: 120px 24px 70px; }
  .hero h1 { font-size: 36px; }
  .hero p.lede { font-size: 17px; }
  .hero.compact h1 { font-size: 30px; }
  section { padding: 60px 24px; }
  section h2 { font-size: 28px; }
  .ref-row { grid-template-columns: 1fr; gap: 4px; }
  .founder-card { grid-template-columns: 1fr; text-align: center; }
  .founder-avatar { margin: 0 auto; }
  .evidence-bar { gap: 28px; padding: 22px 24px; }
  .steps-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ─── HOW IT WORKS / PHOTO COMPONENTS ───────────── */
/* Added 2026-05-10. Updated 2026-05-10 evening: vertical card layout, */
/* horizontal stepper at top, smaller centered images, per Chris feedback. */

.hero-image {
  margin: 28px auto 0 auto;
  max-width: 520px;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.30);
}
.hero-image img { width: 100%; height: auto; display: block; }

/* Horizontal stepper at top of process-flow */
.process-stepper {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 4px;
  margin: 0 auto 56px auto;
  flex-wrap: wrap;
  max-width: 1080px;
}
.process-stepper-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  padding: 26px 12px 20px 12px;
  border-radius: 14px;
  background: white;
  border: 1px solid var(--border);
  transition: transform .25s, box-shadow .25s, border-color .25s;
  width: 142px;
  text-align: center;
  box-shadow: 0 4px 14px rgba(26,26,46,0.08);
  position: relative;
  overflow: hidden;
}
.process-stepper-cell::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--orange-deep) 0%, var(--orange) 50%, var(--orange-warm) 100%);
  transition: height .25s;
}
.process-stepper-cell:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 32px rgba(26,26,46,0.18);
  border-color: var(--orange);
}
.process-stepper-cell:hover::before { height: 6px; }
.process-stepper-cell:hover .stepper-num {
  background: var(--orange);
  transform: scale(1.06);
}
.process-stepper-cell .stepper-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin: 0 auto 14px auto;
  background: var(--navy);
  color: white;
  border-radius: 50%;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  transition: background .25s, transform .25s;
  box-shadow: 0 2px 8px rgba(26,26,46,0.20);
}
.process-stepper-cell .stepper-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.7px;
  margin-bottom: 10px;
}
.process-stepper-cell .stepper-desc {
  font-size: 11.5px;
  color: var(--text-light);
  line-height: 1.45;
}
.process-stepper-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  font-size: 28px;
  color: var(--orange);
  font-weight: 700;
  user-select: none;
  flex-shrink: 0;
  margin-top: 30px;
}

/* Process flow — vertical cards, image on top, centered */
.process-flow {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-top: 0;
}
.process-row {
  background: white;
  border-radius: 16px;
  padding: 40px 36px;
  box-shadow: 0 1px 8px rgba(0,0,0,0.04);
  text-align: center;
  scroll-margin-top: 88px;
  transition: box-shadow .2s, transform .2s;
}
.process-row:hover { box-shadow: 0 6px 24px rgba(0,0,0,0.06); }
.process-row .process-image {
  max-width: 460px;
  margin: 0 auto 24px auto;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 16/10;
  background: var(--slate);
}
.process-row .process-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.process-row .process-content {
  max-width: 720px;
  margin: 0 auto;
}
.process-row .process-step-header {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 14px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.process-row .process-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: var(--orange);
  line-height: 1;
}
.process-row .process-content h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 24px;
  font-weight: 600;
  color: var(--navy);
  margin: 0;
  letter-spacing: -0.3px;
}
.process-row .process-content p {
  text-align: left;
  font-size: 15px;
  color: #555;
  line-height: 1.7;
  margin: 0 0 14px 0;
}
.process-row .process-content p:last-child { margin-bottom: 0; }

.pathway-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 24px;
}
.pathway-card {
  background: white;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 1px 8px rgba(0,0,0,0.04);
  border-top: 3px solid var(--orange);
  text-align: left;
}
.pathway-card h4 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 17px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
}
.pathway-card p {
  font-size: 14px;
  color: #666;
  line-height: 1.55;
  margin: 0;
  text-align: left;
}
.pathway-card .pathway-tag {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--orange);
  background: rgba(255,107,53,0.1);
  padding: 3px 10px;
  border-radius: 12px;
  margin-bottom: 10px;
  letter-spacing: 0.3px;
}

.photo-block {
  margin: 36px auto;
  max-width: 520px;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(0,0,0,0.08);
}
.photo-block img { width: 100%; height: auto; display: block; }
.photo-block .caption {
  padding: 14px 22px;
  font-size: 14px;
  color: var(--text-light);
  background: white;
  font-style: italic;
  border-top: 1px solid var(--border);
  text-align: center;
}

/* Markets photo — used inline within segment sections on markets.html */
.market-photo {
  max-width: 480px;
  margin: 24px auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(0,0,0,0.10);
}
.market-photo img {
  width: 100%;
  height: auto;
  display: block;
}
section.dark .market-photo {
  box-shadow: 0 4px 24px rgba(0,0,0,0.35);
}

@media (max-width: 900px) {
  .pathway-grid { grid-template-columns: 1fr; }
}
@media (max-width: 1100px) {
  .process-stepper-cell { width: 142px; padding: 16px 12px 14px 12px; }
  .process-stepper-cell .stepper-desc { font-size: 11px; }
}
@media (max-width: 900px) {
  .process-stepper { gap: 8px; }
  .process-stepper-arrow { display: none; }
  .process-stepper-cell {
    flex: 1 1 calc(33.33% - 8px);
    width: auto;
    min-width: 0;
  }
}
@media (max-width: 600px) {
  .process-stepper-cell { flex: 1 1 calc(50% - 4px); }
}
@media (max-width: 768px) {
  .process-row { padding: 28px 20px; }
  .process-row .process-image { max-width: 100%; }
  .process-row .process-step-header {
    flex-direction: column;
    gap: 4px;
    align-items: center;
  }
  .hero-image { margin: 20px 16px 0 16px; max-width: calc(100% - 32px); }
  .market-photo { margin: 20px auto; }
}
@media (max-width: 420px) {
  .process-stepper-cell { flex: 1 1 100%; }
}

/* Video embed — YouTube responsive iframe wrapper */
.video-embed {
  position: relative;
  width: 100%;
  max-width: 800px;
  aspect-ratio: 16 / 9;
  margin: 32px auto;
  background: #1A1A2E;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(26, 26, 46, 0.25);
}
.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
/* In the homepage hero, video can go a little bigger to act as the main visual */
.hero .video-embed { margin: 28px auto 0 auto; max-width: 880px; }
/* On compact heroes (inner pages), video should be more modest so it doesn't dominate */
.hero.compact .video-embed { max-width: 600px; margin: 24px auto 0 auto; }

@media (max-width: 768px) {
  .video-embed { margin: 24px 16px; border-radius: 8px; }
  .hero .video-embed,
  .hero.compact .video-embed { margin: 20px auto 0 auto; max-width: 100%; }
}
