:root {
    --bg: #F6F2EA;
    --surface: #FFFFFF;
    --surface-2: #EEE7D9;
    --text: #241F1A;
    --text-muted: #5E574B;
    --heading: #1C2B45;
    --accent: #7A2530;
    --accent-2: #A9824F;
    --accent-2-soft: #E4D6BC;
    --border: rgba(28, 43, 69, 0.15);
    --border-strong: rgba(28, 43, 69, 0.28);
    --shadow: 0 20px 44px -28px rgba(28, 22, 14, 0.35);
  }

  @media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
      --bg: #11151D;
      --surface: #1A202B;
      --surface-2: #212A3A;
      --text: #EDE7DC;
      --text-muted: #A79E8F;
      --heading: #E7DCC4;
      --accent: #D06670;
      --accent-2: #C9A66B;
      --accent-2-soft: rgba(201, 166, 107, 0.16);
      --border: rgba(237, 231, 220, 0.14);
      --border-strong: rgba(237, 231, 220, 0.26);
      --shadow: 0 20px 44px -28px rgba(0, 0, 0, 0.6);
    }
  }

  :root[data-theme="dark"] {
    --bg: #11151D;
    --surface: #1A202B;
    --surface-2: #212A3A;
    --text: #EDE7DC;
    --text-muted: #A79E8F;
    --heading: #E7DCC4;
    --accent: #D06670;
    --accent-2: #C9A66B;
    --accent-2-soft: rgba(201, 166, 107, 0.16);
    --border: rgba(237, 231, 220, 0.14);
    --border-strong: rgba(237, 231, 220, 0.26);
    --shadow: 0 20px 44px -28px rgba(0, 0, 0, 0.6);
  }

  * { box-sizing: border-box; }

  body {
    background: var(--bg);
    color: var(--text);
    font-family: 'Public Sans', -apple-system, 'Segoe UI', sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
  }

  h1, h2, h3 {
    font-family: 'Fraunces', Georgia, 'Times New Roman', serif;
    color: var(--heading);
    font-weight: 620;
    text-wrap: balance;
    margin: 0;
  }

  a { color: inherit; }
  a:focus-visible, button:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
  }

  .eyebrow {
    font-family: 'IBM Plex Mono', ui-monospace, monospace;
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent-2);
  }

  .wrap {
    max-width: 1180px;
    margin: 0 auto;
    padding-inline: clamp(1.25rem, 4vw, 3rem);
  }

  /* ---------- Nav ---------- */
  header.nav {
    position: sticky;
    top: 0;
    z-index: 20;
    background: color-mix(in srgb, var(--bg) 88%, transparent);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
  }
  .nav-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-block: 1.1rem;
    gap: 1rem;
  }
  .wordmark {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--heading);
    text-decoration: none;
    white-space: nowrap;
  }
  .wordmark span { color: var(--accent); }
  .nav-links {
    display: flex;
    gap: clamp(1rem, 2vw, 2rem);
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 0.92rem;
  }
  .nav-links a { text-decoration: none; color: var(--text-muted); }
  .nav-links a:hover { color: var(--accent); }
  @media (max-width: 720px) {
    .nav-links { display: none; }
  }

  section { padding-block: clamp(3.2rem, 7vw, 5.5rem); }
  .rule-top { border-top: 1px solid var(--border); }
  .tint { background: var(--surface-2); }

  /* ---------- Hero ---------- */
  .hero-grid {
    display: grid;
    grid-template-columns: 1.25fr 0.85fr;
    gap: clamp(2rem, 5vw, 3.5rem);
    align-items: center;
  }
  @media (max-width: 900px) {
    .hero-grid { grid-template-columns: 1fr; }
  }
  .hero h1 {
    font-size: clamp(2.1rem, 4.4vw, 3.4rem);
    line-height: 1.12;
    margin-top: 0.6rem;
  }
  .hero .lede {
    margin-top: 1.3rem;
    max-width: 54ch;
    font-size: 1.08rem;
    color: var(--text-muted);
  }
  .hero .cta-row {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
  }
  .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1.5rem;
    background: var(--accent);
    color: #FBF6EC;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    border: 1px solid var(--accent);
    border-radius: 3px;
    transition: transform 0.15s ease, opacity 0.15s ease;
  }
  .btn:hover { opacity: 0.88; }
  .btn.ghost {
    background: transparent;
    color: var(--heading);
    border: 1px solid var(--border-strong);
  }
  @media (prefers-reduced-motion: no-preference) {
    .btn:hover { transform: translateY(-1px); }
  }

  /* seal plate */
  .seal {
    background: var(--surface);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    border-radius: 4px;
    padding: 1.9rem;
    position: relative;
  }
  .seal::before {
    content: "";
    position: absolute;
    inset: 8px;
    border: 1px solid var(--border);
    border-radius: 2px;
    pointer-events: none;
  }
  .seal-stat {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding-block: 0.85rem;
  }
  .seal-stat + .seal-stat { border-top: 1px solid var(--border); }
  .seal-stat .num {
    font-family: 'Fraunces', serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--heading);
    font-variant-numeric: tabular-nums;
  }
  .seal-stat .label {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
    text-align: right;
    max-width: 14ch;
  }

  /* ---------- Section headers ---------- */
  .section-head {
    max-width: 62ch;
    margin-bottom: clamp(2rem, 4vw, 3rem);
  }
  .section-head h2 {
    font-size: clamp(1.7rem, 3vw, 2.3rem);
    margin-top: 0.5rem;
  }

  /* ---------- Pillars ---------- */
  .pillars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
    border-radius: 4px;
    overflow: hidden;
  }
  @media (max-width: 860px) {
    .pillars { grid-template-columns: 1fr; }
  }
  .pillar {
    background: var(--surface);
    padding: clamp(1.6rem, 3vw, 2.3rem);
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
  .pillar-icon {
    width: 44px;
    height: 44px;
    color: var(--accent);
  }
  .pillar h3 { font-size: 1.32rem; }
  .pillar p { color: var(--text-muted); margin: 0; font-size: 0.97rem; }
  .pillar .tags {
    margin-top: auto;
    padding-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    border-top: 1px dashed var(--border);
  }
  .pillar .tags span {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.72rem;
    color: var(--accent-2);
    letter-spacing: 0.02em;
  }

  /* ---------- Founder / bio ---------- */
  .founder-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 5vw, 4rem);
  }
  @media (max-width: 900px) {
    .founder-grid { grid-template-columns: 1fr; }
  }
  .founder-name { font-size: clamp(1.6rem, 3vw, 2.1rem); }
  .founder-role {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.78rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-top: 0.4rem;
  }
  .founder-grid p { color: var(--text-muted); max-width: 56ch; }
  .founder-grid p + p { margin-top: 1rem; }

  .edu-list {
    margin-top: 1.6rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
  }
  .edu-item {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 1rem;
    padding-block: 0.7rem;
    border-top: 1px solid var(--border);
    font-size: 0.92rem;
  }
  .edu-item .deg { font-weight: 600; color: var(--heading); }
  .edu-item .school { color: var(--text-muted); }

  /* timeline */
  .timeline { position: relative; padding-left: 1.6rem; }
  .timeline::before {
    content: "";
    position: absolute;
    left: 4px; top: 6px; bottom: 6px;
    width: 1px;
    background: var(--border-strong);
  }
  .t-item { position: relative; padding-bottom: 1.5rem; }
  .t-item:last-child { padding-bottom: 0; }
  .t-item::before {
    content: "";
    position: absolute;
    left: -1.6rem;
    top: 0.35rem;
    width: 9px; height: 9px;
    border-radius: 50%;
    background: var(--accent-2);
    border: 2px solid var(--bg);
    box-shadow: 0 0 0 1px var(--border-strong);
  }
  .t-year {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.76rem;
    color: var(--accent-2);
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.03em;
  }
  .t-role { font-weight: 600; margin-top: 0.15rem; }
  .t-org { color: var(--text-muted); font-size: 0.93rem; }

  /* ---------- Podcast & Blog ---------- */
  .media-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }
  @media (max-width: 860px) {
    .media-grid { grid-template-columns: 1fr; }
  }
  .media-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: clamp(1.7rem, 3vw, 2.4rem);
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
  .media-kicker {
    display: flex;
    align-items: center;
    gap: 0.6rem;
  }
  .media-kicker .dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--accent-2);
  }
  .media-card h3 { font-size: 1.4rem; }
  .media-card .status {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.72rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--accent);
    background: var(--accent-2-soft);
    display: inline-block;
    padding: 0.25rem 0.6rem;
    border-radius: 3px;
    width: fit-content;
  }
  .media-card p { color: var(--text-muted); margin: 0; }
  .tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.3rem;
  }
  .tag-row span {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.68rem;
    letter-spacing: 0.03em;
    color: var(--text-muted);
    border: 1px solid var(--border);
    padding: 0.25rem 0.55rem;
    border-radius: 999px;
  }
  .media-card .btn { margin-top: 0.4rem; align-self: flex-start; }

  /* ---------- Contact / footer ---------- */
  .contact-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: clamp(2rem, 5vw, 3.5rem);
    align-items: end;
  }
  @media (max-width: 800px) {
    .contact-grid { grid-template-columns: 1fr; }
  }
  .contact-grid h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
  .contact-grid .lede { color: var(--text-muted); max-width: 46ch; margin-top: 1rem; }
  .contact-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 1.8rem;
  }
  .contact-line {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    padding-block: 0.9rem;
  }
  .contact-line + .contact-line { border-top: 1px solid var(--border); }
  .contact-line .label {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.68rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
  }
  .contact-line a {
    text-decoration: none;
    font-weight: 600;
    font-size: 1.02rem;
    color: var(--heading);
  }
  .contact-line a:hover { color: var(--accent); }

  footer {
    border-top: 1px solid var(--border);
    padding-block: 1.8rem;
  }
  .footer-row {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.6rem;
    font-size: 0.82rem;
    color: var(--text-muted);
  }
  .footer-row .wordmark { font-size: 0.75rem; }

  /* ---------- Founder portrait ---------- */
  .founder-grid {
    grid-template-columns: 240px 1fr 1fr;
  }
  @media (max-width: 1100px) {
    .founder-grid { grid-template-columns: 200px 1fr; }
    .founder-grid .timeline-col { grid-column: 1 / -1; }
  }
  @media (max-width: 720px) {
    .founder-grid { grid-template-columns: 1fr; }
  }
  .founder-portrait {
    background: var(--surface);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    border-radius: 4px;
    padding: 10px;
    align-self: start;
  }
  .founder-portrait img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    object-position: top center;
    border-radius: 2px;
    display: block;
  }
  .founder-portrait .cap {
    text-align: center;
    padding-top: 0.7rem;
  }
  .founder-portrait .cap .n {
    font-family: 'Fraunces', serif;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--heading);
  }
  .founder-portrait .cap .r {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.62rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-top: 0.2rem;
  }

  /* ---------- In-action gallery ---------- */
  .gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }
  @media (max-width: 860px) {
    .gallery { grid-template-columns: 1fr; }
  }
  .gallery figure {
    margin: 0;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 4px;
    overflow: hidden;
  }
  .gallery img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
  }
  .gallery figcaption {
    padding: 0.85rem 1rem;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.72rem;
    letter-spacing: 0.03em;
    color: var(--text-muted);
  }

  /* ---------- Brand logo ---------- */
  .brand-logo {
    display: inline-flex;
    align-items: center;
    background: #FBF6EC;
    padding: 7px 14px;
    border-radius: 6px;
    border: 1px solid rgba(28, 43, 69, 0.14);
    line-height: 0;
  }
  .brand-logo img {
    height: 34px;
    width: auto;
    display: block;
  }
