@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500;600;700&family=IBM+Plex+Sans:wght@400;500;600&display=swap');

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

:root {
  --bg: #f6f5f0;
  --white: #ffffff;
  --dark: #12172b;
  --mid: #1b2340;
  --accent: #b8862a;
  --accent2: #1f6f63;
  --gray: #6b6f7a;
  --light-gray: #efece2;
  --border: #ddd8c8;
  --text: #22283b;
  --radius: 10px;
  --shadow: 0 4px 24px rgba(18,23,43,0.06);
  --card-bg: #ffffff;
}

[data-theme="dark"] {
  --bg: #0f1220;
  --white: #171b2c;
  --card-bg: #171b2c;
  --dark: #f1efe6;
  --mid: #e7e4d8;
  --accent: #e0b84a;
  --accent2: #3fa593;
  --gray: #9a9fae;
  --light-gray: #1c2033;
  --border: #2a2f45;
  --text: #d8d6cc;
  --shadow: 0 4px 24px rgba(0,0,0,0.4);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'IBM Plex Sans', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  transition: background 0.2s, color 0.2s;
}

h1, h2, h3, .display {
  font-family: 'IBM Plex Mono', 'Courier New', monospace;
  color: var(--dark);
  line-height: 1.25;
  letter-spacing: -0.01em;
}

main { padding-top: 88px; max-width: 1100px; margin: 0 auto; padding-left: 5%; padding-right: 5%; }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

/* NAV */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; }
.navbar {
  background: rgba(246,245,240,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  padding: 0 5%;
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
[data-theme="dark"] .navbar { background: rgba(15,18,32,0.92); }

.nav-logo { font-family: 'IBM Plex Mono', monospace; font-size: 1.25rem; font-weight: 600; color: var(--dark); text-decoration: none; }
.nav-logo span { color: var(--accent); }
.nav-links { display: flex; align-items: center; gap: 2rem; list-style: none; }
.nav-links a { text-decoration: none; color: var(--gray); font-size: 0.9rem; font-weight: 500; transition: color 0.2s; }
.nav-links a:hover { color: var(--accent); }
.nav-links .btn-nav { background: var(--dark); color: var(--bg); padding: 0.5rem 1.2rem; border-radius: 6px; font-weight: 600; }
.theme-toggle, .hamburger { background: none; border: none; font-size: 1.2rem; cursor: pointer; color: var(--text); }
.hamburger { display: none; }

/* Buttons */
.btn-primary, .btn-secondary {
  display: inline-block; padding: 0.75rem 1.5rem; border-radius: 6px;
  font-weight: 600; text-decoration: none; font-size: 0.95rem; border: none; cursor: pointer;
  font-family: 'IBM Plex Sans', sans-serif;
}
.btn-primary { background: var(--dark); color: var(--bg); }
.btn-primary:hover { background: var(--accent); color: var(--dark); }
.btn-secondary { background: transparent; color: var(--text); border: 1px solid var(--border); }
.btn-secondary:hover { border-color: var(--accent); color: var(--accent); }

/* Alerts */
.alert { padding: 0.9rem 5%; font-size: 0.9rem; }
.alert-error { background: #fee2e2; color: #991b1b; }
.alert-success { background: #dcfce7; color: #166534; }
[data-theme="dark"] .alert-error { background: #3f1d1d; color: #fca5a5; }
[data-theme="dark"] .alert-success { background: #12331f; color: #86efac; }

/* ---------------- Homepage: schematic hero ---------------- */
.hero-blueprint {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 3rem;
  align-items: center;
  padding: 4.5rem 0 3rem;
}
.hero-blueprint .eyebrow-mark {
  display: flex; align-items: center; gap: 0.6rem;
  color: var(--accent2); font-size: 0.8rem; font-weight: 600;
  margin-bottom: 1.1rem; font-family: 'IBM Plex Mono', monospace;
}
.hero-blueprint .eyebrow-mark::before {
  content: ''; width: 22px; height: 1px; background: var(--accent2);
}
.hero-blueprint h1 { font-size: 2.5rem; font-weight: 600; max-width: 15ch; margin-bottom: 1.2rem; }
.hero-blueprint p { color: var(--gray); max-width: 46ch; margin-bottom: 1.8rem; font-size: 1.02rem; }

.hero-diagram-frame {
  position: relative;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  background:
    repeating-linear-gradient(0deg, transparent, transparent 27px, var(--border) 27px, var(--border) 28px),
    repeating-linear-gradient(90deg, transparent, transparent 27px, var(--border) 27px, var(--border) 28px);
  background-color: var(--card-bg);
  background-size: 28px 28px;
  background-blend-mode: normal;
  opacity: 0.98;
}
[data-theme="dark"] .hero-diagram-frame {
  background:
    repeating-linear-gradient(0deg, transparent, transparent 27px, rgba(255,255,255,0.04) 27px, rgba(255,255,255,0.04) 28px),
    repeating-linear-gradient(90deg, transparent, transparent 27px, rgba(255,255,255,0.04) 27px, rgba(255,255,255,0.04) 28px);
  background-color: var(--card-bg);
}
.hero-diagram-frame svg { width: 100%; height: auto; display: block; }
.diagram-path {
  stroke-dasharray: 6 6;
  stroke-dashoffset: 400;
  animation: draw-path 1.6s ease-out forwards 0.2s;
}
@keyframes draw-path { to { stroke-dashoffset: 0; } }
.diagram-node-label { font-family: 'IBM Plex Mono', monospace; font-size: 11px; fill: var(--gray); }
.diagram-node-title { font-family: 'IBM Plex Sans', sans-serif; font-size: 13px; font-weight: 600; fill: var(--dark); }
.diagram-line-teal { stroke: var(--accent2); }
.diagram-line-gold { stroke: var(--accent); }
.diagram-text-gold { fill: var(--accent) !important; }

/* ---------------- Spec-sheet feature rows ---------------- */
.spec-sheet { border-top: 1px solid var(--border); padding: 0.5rem 0 3.5rem; }
.spec-row {
  display: grid; grid-template-columns: 64px 1fr;
  gap: 1.5rem; align-items: start;
  padding: 2rem 0; border-bottom: 1px solid var(--border);
}
.spec-icon {
  width: 52px; height: 52px; position: relative;
  border: 1px solid var(--border); border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent2);
}
.spec-icon svg { width: 26px; height: 26px; }
.spec-row h2 { font-size: 1.15rem; font-weight: 600; margin-bottom: 0.4rem; }
.spec-row p { color: var(--gray); max-width: 56ch; font-size: 0.95rem; }

/* ---------------- Courses ---------------- */
.courses-hero { padding: 3rem 0 1.5rem; max-width: 60ch; }
.courses-hero h1 { font-size: 1.9rem; margin-bottom: 0.7rem; }
.courses-hero p { color: var(--gray); }
.courses-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px,1fr)); gap: 1.5rem; padding-bottom: 4rem; }
.course-card { background: var(--card-bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; }
.course-card h2 a { color: var(--text); text-decoration: none; font-family: 'IBM Plex Sans', sans-serif; font-size: 1.05rem; font-weight: 600; }
.course-card p { color: var(--gray); margin: 0.5rem 0 1rem; font-size: 0.9rem; }
.course-card-footer { display: flex; align-items: center; justify-content: space-between; }
.course-price { font-weight: 700; color: var(--accent); font-family: 'IBM Plex Mono', monospace; font-size: 0.95rem; }

.course-detail { padding: 3rem 0; }
.course-detail-sub { color: var(--gray); margin: 0.5rem 0 1.5rem; }
.course-purchase-box { margin-top: 2rem; padding: 1.5rem; background: var(--card-bg); border: 1px solid var(--border); border-radius: var(--radius); display: flex; align-items: center; gap: 1.5rem; }
.badge-owned { color: #166534; font-weight: 600; }

/* ---------------- Auth ---------------- */
.auth-section { display: flex; justify-content: center; padding: 3rem 0; }
.auth-card { background: var(--card-bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 2rem; max-width: 400px; width: 100%; }
.auth-card h1 { margin-bottom: 0.4rem; font-size: 1.4rem; }
.auth-sub { color: var(--gray); margin-bottom: 1.5rem; font-size: 0.9rem; font-family: 'IBM Plex Sans', sans-serif; }
.auth-card label { display: block; font-size: 0.85rem; font-weight: 600; margin: 1rem 0 0.3rem; }
.auth-card input { width: 100%; padding: 0.65rem 0.8rem; border-radius: 6px; border: 1px solid var(--border); background: var(--bg); color: var(--text); font-family: 'IBM Plex Sans', sans-serif; }
.field-hint { font-size: 0.75rem; color: var(--gray); margin-top: 0.3rem; }
.auth-card .btn-primary { width: 100%; margin-top: 1.5rem; }
.auth-switch { margin-top: 1.2rem; font-size: 0.85rem; text-align: center; color: var(--gray); }

/* ---------------- Dashboard ---------------- */
.dashboard { padding: 3rem 0; }
.dashboard-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px,1fr)); gap: 1rem; margin: 1.5rem 0 2.5rem; }
.stat-card { background: var(--card-bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.2rem; }
.stat-label { display: block; font-size: 0.8rem; color: var(--gray); }
.stat-value { display: block; font-size: 1.4rem; font-weight: 700; margin-top: 0.3rem; font-family: 'IBM Plex Mono', monospace; }
.dashboard-list { list-style: none; margin: 1rem 0 2rem; }
.dashboard-list li { padding: 0.8rem 0; border-bottom: 1px solid var(--border); }
.badge-active { color: #166534; font-size: 0.75rem; margin-left: 0.5rem; }
.badge-used { color: var(--gray); font-size: 0.75rem; margin-left: 0.5rem; }

/* ---------------- Footer ---------------- */
.site-footer { border-top: 1px solid var(--border); padding: 2rem 5%; margin-top: 3rem; }
.footer-inner { max-width: 1100px; margin: 0 auto; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; color: var(--gray); font-size: 0.85rem; }
.footer-socials a { color: var(--gray); text-decoration: none; margin-left: 1rem; }
.footer-socials a:hover { color: var(--accent); }

/* ---------------- About page ---------------- */
.about-section { padding: 3rem 0 1.5rem; max-width: 68ch; }
.about-section h1 { font-size: 1.9rem; margin-bottom: 1.2rem; }
.about-section p { margin-bottom: 1.1rem; color: var(--text); }
.about-pullquote {
  border-left: 2px solid var(--accent2);
  padding: 0.2rem 0 0.2rem 1.3rem;
  margin: 2rem 0;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 1.05rem;
  color: var(--dark);
}
.about-contact { padding: 2rem 0 4rem; border-top: 1px solid var(--border); margin-top: 1rem; }
.about-contact h2 { font-size: 1.1rem; margin-bottom: 1rem; }
.about-contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px,1fr)); gap: 1rem; }
.about-contact-item { font-size: 0.9rem; }
.about-contact-item span { display: block; color: var(--gray); font-size: 0.78rem; margin-bottom: 0.2rem; font-family: 'IBM Plex Mono', monospace; }
.about-contact-item a { color: var(--text); text-decoration: none; }
.about-contact-item a:hover { color: var(--accent); }

/* ---------------- Services page ---------------- */
.services-section { padding: 3rem 0 0; max-width: 68ch; }
.services-section > h1 { font-size: 1.9rem; margin-bottom: 0.6rem; }
.services-section > p { color: var(--gray); margin-bottom: 1rem; max-width: 56ch; }

@media (max-width: 900px) {
  .hero-blueprint { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: block; }
  .spec-row { grid-template-columns: 1fr; }
}

/* ==========================================================================
   About page v2 — append to public_html/assets/css/style.css
   Replaces about-additions.css from the previous spec-row version.

   Every color uses var(--your-token, #fallback) so it renders correctly
   even if your real :root variable names differ from the guesses below.
   Swap the var() names for your actual tokens once confirmed, for full
   dark-mode inheritance.
   ========================================================================== */

.about-container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.about-eyebrow {
  display: inline-block;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-gold, #b8862a);
  margin-bottom: 0.6rem;
}

.about-accent-gold { color: var(--accent-gold, #b8862a); }
.about-accent-teal { color: var(--accent-teal, #1f6f63); }
.about-accent-navy { color: var(--ink-navy, #12172b); }

/* Buttons */
.about-btn {
  display: inline-block;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.9rem;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.about-btn:hover { transform: translateY(-1px); }

.about-btn--primary {
  background: var(--accent-gold, #b8862a);
  color: var(--ink-navy, #12172b);
}

.about-btn--ghost {
  background: transparent;
  color: #f6f5f0;
  border-color: rgba(246, 245, 240, 0.35);
}

/* ---------------------------- Hero ---------------------------- */
/* Full-bleed breakout: escapes a centered/padded page wrapper so the
   hero reaches the true edges of the viewport instead of sitting inside
   it as a boxed card. This only works if the wrapper does NOT set
   overflow: hidden. If the hero still looks boxed after this, that's
   the tell — send over views/layouts/header.php (or whatever wraps
   <main>) and I'll fix it at the source instead of fighting it with CSS. */
.about-hero {
  background: var(--ink-navy, #12172b);
  color: #f6f5f0;
  padding: 4.5rem 0;
  text-align: center;
  border-radius: 0;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.about-cta {
  border-radius: 0;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.about-badge {
  display: inline-block;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.78rem;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  background: rgba(184, 134, 42, 0.18);
  color: var(--accent-gold, #b8862a);
  border: 1px solid rgba(184, 134, 42, 0.35);
  margin-bottom: 1.5rem;
}

.about-hero__title {
  font-family: 'IBM Plex Mono', monospace;
  font-size: clamp(2rem, 5vw, 3.1rem);
  line-height: 1.15;
  margin: 0 0 1.25rem;
}

.about-hero__lede {
  max-width: 640px;
  margin: 0 auto 2rem;
  color: rgba(246, 245, 240, 0.78);
  line-height: 1.6;
}

.about-hero__actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ------------------------- Section shells ------------------------- */
/* Explicit, opaque backgrounds — not transparent/rgba fallbacks — so
   these sections are never dependent on (and can't be broken by)
   whatever background color sits behind them on the page. This is what
   was causing the "1-sided" look: the old rgba() fallback was nearly
   see-through, so a dark page background showed through and made the
   gray story text unreadable while only the explicitly-white cards
   stayed visible. */
.about-section {
  padding: 4rem 0;
  background: #ffffff;
}

.about-section--alt {
  background: #f6f5f0;
}

.about-section-head {
  max-width: 640px;
  margin: 0 auto 2.5rem;
  text-align: center;
}

.about-section-head--tight {
  margin-bottom: 1.75rem;
}

.about-section-head h2 {
  font-family: 'IBM Plex Mono', monospace;
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--ink-navy, #12172b);
  margin: 0 0 0.75rem;
}

.about-section-head__sub {
  color: var(--text-muted, #454b5c);
  line-height: 1.6;
}

/* ------------------------- Story + cards ------------------------- */
.about-grid-2 {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: start;
}

.about-story h2 {
  font-family: 'IBM Plex Mono', monospace;
  color: var(--ink-navy, #12172b);
  margin: 0 0 1rem;
}

.about-story p {
  color: var(--text-muted, #454b5c);
  line-height: 1.65;
  margin-bottom: 1rem;
}

.about-cards {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.about-card {
  background: #fff;
  border: 1px solid var(--border-color, rgba(18, 23, 43, 0.08));
  border-radius: 12px;
  padding: 1.5rem;
}

.about-card h3 {
  font-family: 'IBM Plex Mono', monospace;
  color: var(--ink-navy, #12172b);
  margin: 0.75rem 0 0.5rem;
  font-size: 1rem;
}

.about-card p {
  color: var(--text-muted, #454b5c);
  line-height: 1.6;
  font-size: 0.92rem;
  margin: 0;
}

.about-card__icon,
.about-why-card__icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-card__icon--gold { background: rgba(184, 134, 42, 0.14); color: var(--accent-gold, #b8862a); }
.about-card__icon--teal { background: rgba(31, 111, 99, 0.14); color: var(--accent-teal, #1f6f63); }
.about-card__icon--navy { background: rgba(18, 23, 43, 0.08); color: var(--ink-navy, #12172b); }

/* ---------------------------- Stats ---------------------------- */
.about-stats {
  background: var(--paper, #f6f5f0);
  padding: 2.5rem 0;
  border-top: 1px solid var(--border-color, rgba(18, 23, 43, 0.08));
  border-bottom: 1px solid var(--border-color, rgba(18, 23, 43, 0.08));
}

.about-stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
}

.about-stat__num {
  display: block;
  font-family: 'IBM Plex Mono', monospace;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 600;
}

.about-stat__label {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted, #454b5c);
  margin-top: 0.25rem;
}

/* ------------------------- Why-us grid ------------------------- */
.about-why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.5rem;
}

.about-why-card {
  background: #fff;
  border: 1px solid var(--border-color, rgba(18, 23, 43, 0.08));
  border-radius: 12px;
  padding: 1.5rem;
}

.about-why-card h3 {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.95rem;
  color: var(--ink-navy, #12172b);
  margin: 0.9rem 0 0.4rem;
}

.about-why-card p {
  color: var(--text-muted, #454b5c);
  font-size: 0.88rem;
  line-height: 1.55;
  margin: 0;
}

/* ---------------------------- Values ---------------------------- */
.about-value-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem 2rem;
  margin: 0;
}

.about-value dt {
  font-family: 'IBM Plex Mono', monospace;
  color: var(--ink-navy, #12172b);
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.about-value dd {
  margin: 0;
  color: var(--text-muted, #454b5c);
  line-height: 1.5;
  font-size: 0.92rem;
}

/* ------------------------- Who we serve ------------------------- */
.about-serve { text-align: center; }

.about-chip-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
}

.about-chip-list li {
  font-size: 0.85rem;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--border-color, rgba(18, 23, 43, 0.1));
  color: var(--ink-navy, #12172b);
}

/* --------------------------- Founder --------------------------- */
.about-founder {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2.5rem;
  align-items: start;
}

.about-founder__body h2 {
  font-family: 'IBM Plex Mono', monospace;
  color: var(--ink-navy, #12172b);
  margin: 0 0 0.15rem;
}

.about-founder__body p {
  color: var(--text-muted, #454b5c);
  line-height: 1.65;
  margin-bottom: 1rem;
}

.about-role {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent-gold, #b8862a);
  margin: 0 0 0.9rem;
}

.about-social-list {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.about-social-list a {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.85rem;
  color: var(--accent-teal, #1f6f63);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 0.1rem;
}

/* Avatars (initials circles) */
.about-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 600;
  font-size: 1rem;
  color: #fff;
  margin: 0 auto 0.9rem;
}

.about-avatar--lg {
  width: 120px;
  height: 120px;
  font-size: 2rem;
  margin: 0;
}

.about-avatar--gold { background: var(--accent-gold, #b8862a); }
.about-avatar--teal { background: var(--accent-teal, #1f6f63); }
.about-avatar--navy { background: var(--ink-navy, #12172b); }

/* ----------------------------- Team ----------------------------- */
.about-team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  text-align: center;
}

.about-team-card {
  background: #fff;
  border: 1px solid var(--border-color, rgba(18, 23, 43, 0.08));
  border-radius: 12px;
  padding: 1.75rem 1.25rem;
}

.about-team-card h3 {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.95rem;
  color: var(--ink-navy, #12172b);
  margin: 0 0 0.2rem;
}

.about-tag {
  display: inline-block;
  margin-top: 0.6rem;
  font-size: 0.72rem;
  font-family: 'IBM Plex Mono', monospace;
  color: var(--accent-teal, #1f6f63);
  background: rgba(31, 111, 99, 0.1);
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
}

.about-note {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted, #454b5c);
  font-style: italic;
  margin-top: 2rem;
}

/* ------------------------------ CTA ------------------------------ */
.about-cta {
  background: var(--ink-navy, #12172b);
  color: #f6f5f0;
  padding: 4.5rem 0;
}

.about-cta__inner {
  max-width: 620px;
  text-align: center;
}

.about-cta h2 {
  font-family: 'IBM Plex Mono', monospace;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  margin: 0 0 1rem;
}

.about-cta p {
  color: rgba(246, 245, 240, 0.78);
  line-height: 1.6;
  margin-bottom: 2rem;
}

.about-badge--dark {
  background: rgba(184, 134, 42, 0.18);
}

/* ------------------------------ Dark mode ------------------------------ */
/* Your toggle persists [data-theme="dark"] on the page (per the project
   doc). These are reasonable dark-surface guesses in the same spirit as
   the rest of the palette — swap the hex values for your real dark-mode
   tokens once you confirm them, so this page inherits the same dark
   theme the rest of the site uses instead of a separately-guessed one. */
[data-theme="dark"] .about-section {
  background: #161b2e;
}

[data-theme="dark"] .about-section--alt {
  background: #10141f;
}

[data-theme="dark"] .about-stats {
  background: #10141f;
  border-color: rgba(246, 245, 240, 0.1);
}

[data-theme="dark"] .about-story p,
[data-theme="dark"] .about-card p,
[data-theme="dark"] .about-why-card p,
[data-theme="dark"] .about-value dd,
[data-theme="dark"] .about-stat__label,
[data-theme="dark"] .about-section-head__sub,
[data-theme="dark"] .about-note,
[data-theme="dark"] .about-founder__body p {
  color: rgba(246, 245, 240, 0.72);
}

[data-theme="dark"] .about-story h2,
[data-theme="dark"] .about-section-head h2,
[data-theme="dark"] .about-value dt,
[data-theme="dark"] .about-founder__body h2 {
  color: #f6f5f0;
}

[data-theme="dark"] .about-card,
[data-theme="dark"] .about-why-card,
[data-theme="dark"] .about-team-card {
  background: #1c2238;
  border-color: rgba(246, 245, 240, 0.1);
}

[data-theme="dark"] .about-card h3,
[data-theme="dark"] .about-why-card h3,
[data-theme="dark"] .about-team-card h3 {
  color: #f6f5f0;
}

[data-theme="dark"] .about-chip-list li {
  background: #1c2238;
  border-color: rgba(246, 245, 240, 0.12);
  color: #f6f5f0;
}

/* ------------------------------ Mobile ------------------------------ */
@media (max-width: 860px) {
  .about-grid-2 { grid-template-columns: 1fr; }
  .about-stats__grid { grid-template-columns: repeat(2, 1fr); }
  .about-founder { grid-template-columns: 1fr; text-align: center; }
  .about-founder .about-avatar--lg { margin: 0 auto 1.25rem; }
  .about-social-list { justify-content: center; }
}