  :root {
    --navy: #11202a;
    --navy-2: #172a36;
    --line-dark: #2a3c48;
    --teal: #6fd3bd;
    --green: #1f7a5c;
    --ink: #17232b;
    --muted: #5b6770;
    --line: #e5e1d8;
    --chip: #f2efe8;
    --paper: #faf8f3;
    --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
    --wrap: 1120px;
  }
  * { box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body {
    margin: 0;
    font-family: var(--sans);
    font-size: 17px;
    line-height: 1.6;
    color: var(--ink);
    background: var(--paper);
    -webkit-font-smoothing: antialiased;
  }
  a { color: inherit; }
  .wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: clamp(20px, 5vw, 48px); }
  .eyebrow {
    font-family: var(--mono);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--green);
  }

  /* ---------- Header ---------- */
  header.site {
    position: sticky; top: 0; z-index: 10;
    background: rgba(17, 32, 42, .92);
    backdrop-filter: saturate(140%) blur(10px);
    -webkit-backdrop-filter: saturate(140%) blur(10px);
    border-bottom: 1px solid var(--line-dark);
    padding-top: env(safe-area-inset-top, 0px);
  }
  header.site .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 24px; }
  .logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; font-weight: 600; font-size: 20px; letter-spacing: -.01em; }
  .wordmark { font-weight: 600; }
  .logo .wordmark span { color: var(--teal); }
  .logo svg { width: 28px; height: 22px; }
  nav.links { display: flex; gap: 28px; align-items: center; }
  nav.links a { color: #b9c6ce; text-decoration: none; font-size: 14px; font-weight: 500; transition: color .15s; }
  nav.links a:hover { color: #fff; }
  nav.links a.cta {
    color: var(--navy); background: var(--teal); padding: 8px 16px; border-radius: 6px; font-weight: 600;
  }
  nav.links a.cta:hover { background: #8de0cd; color: var(--navy); }

  /* ---------- Hero ---------- */
  .hero { background: var(--navy); color: #fff; padding-block: clamp(72px, 12vw, 140px) clamp(56px, 8vw, 96px); }
  .hero .eyebrow { color: var(--teal); }
  .hero h1 {
    font-size: clamp(40px, 7vw, 76px);
    line-height: 1.04;
    letter-spacing: -.03em;
    font-weight: 600;
    margin: 20px 0 28px;
    max-width: 22ch;
  }
  .hero .lede { font-size: clamp(18px, 2vw, 21px); color: #b9c6ce; max-width: 36em; margin: 0 0 32px; }
  .mission {
    border-left: 3px solid var(--teal);
    padding: 4px 0 4px 18px;
    font-size: 18px; font-weight: 500; color: #fff; max-width: 880px; margin: 0;
  }
  .labs {
    display: flex; align-items: center; justify-content: space-between; gap: 20px 32px; flex-wrap: wrap;
    margin-top: 40px; padding: 24px 28px; max-width: none;
    border: 1px solid rgba(111, 211, 189, .45); border-radius: 10px; background: rgba(111, 211, 189, .07);
  }
  .labs .eyebrow { color: var(--teal); }
  .labs-msg { margin: 8px 0 2px; font-size: clamp(16px, 1.5vw, 19px); font-weight: 600; letter-spacing: -.01em; color: #fff; line-height: 1.25; }
  .labs-sub { margin: 0; color: #b9c6ce; font-size: 16px; }
  .labs .btn { margin-top: 0; white-space: nowrap; flex-shrink: 0; }
  @media (min-width: 901px) { .labs { flex-wrap: nowrap; } }
  .domains { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
  .domains a { color: #d6e0e5; text-decoration: none; font-size: 14px; font-weight: 500; padding: 6px 14px; border-radius: 999px;
    border: 1px solid var(--line-dark); background: rgba(255,255,255,.03); transition: border-color .15s, color .15s; }
  .domains a:hover { border-color: var(--teal); color: #fff; }
  .aspiration { margin: 20px 0 0; padding-left: 16px; border-left: 3px solid var(--green); font-size: 18px; font-weight: 500; max-width: 40em; }
  .stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: clamp(56px, 8vw, 88px); }
  .stat { border-top: 3px solid #fff; padding-top: 14px; }
  .stat b { display: block; font-size: clamp(32px, 4vw, 44px); font-weight: 600; letter-spacing: -.02em; line-height: 1.1; }
  .stat small { display: block; font-size: 14px; color: #b9c6ce; margin-top: 6px; line-height: 1.4; }
  .toc { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-top: clamp(64px, 9vw, 112px); padding-top: 22px; border-top: 1px solid var(--line-dark); }
  .toc a { text-decoration: none; color: #fff; font-size: 15px; }
  .toc a i { display: block; font-style: normal; font-family: var(--mono); color: var(--teal); font-size: 12px; margin-bottom: 4px; }
  .toc a:hover { color: var(--teal); }

  /* ---------- Sections ---------- */
  section.block { padding-block: clamp(64px, 9vw, 112px); border-bottom: 1px solid var(--line); }
  .row { display: grid; grid-template-columns: 200px 1fr; gap: 40px; }
  .row > .eyebrow { padding-top: 10px; }
  h2 { font-size: clamp(28px, 3.6vw, 40px); line-height: 1.15; letter-spacing: -.02em; font-weight: 600; margin: 0 0 14px; }
  .sub { color: var(--muted); font-size: 19px; margin: 0 0 8px; max-width: 40em; }
  p { margin: 0 0 16px; }

  /* Founder */
  .chips { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; margin-top: 20px; }
  .chip {
    font-family: var(--mono); font-size: 12px; font-weight: 600;
    background: var(--chip); border: 1px solid var(--line); border-radius: 4px; padding: 4px 9px; color: var(--ink);
  }
  .founder h2 { margin-bottom: 20px; }
  .founder p { max-width: 40em; }

  .founder-head { display: flex; align-items: center; gap: 20px; margin-bottom: 22px; }
  .founder-head h2 { margin: 0 0 4px; }
  .avatar { position: relative; flex: none; width: 88px; height: 88px; border-radius: 50%; overflow: hidden;
    background: var(--navy); color: var(--teal); display: grid; place-items: center; font-weight: 600; font-size: 28px; }
  .avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
  .linkedin { display: inline-flex; align-items: center; gap: 8px; color: #0a66c2; text-decoration: none; font-size: 15px; font-weight: 500; }
  .linkedin:hover { text-decoration: underline; }
  .linkedin svg { width: 18px; height: 18px; color: #0a66c2; }
  .companies { margin: 26px 0 24px; padding: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .co-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 32px; margin-top: 12px; }
  .co { display: inline-flex; align-items: center; gap: 8px; color: #6b7780; font-weight: 600; font-size: 17px; transition: color .2s; }
  .co:hover { color: var(--ink); }
  .co svg { width: 22px; height: 22px; fill: currentColor; }
  /* Data cards */
  .cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 40px; }
  .card { border: 1px solid var(--line); border-radius: 8px; padding: 26px 26px 24px; background: #fff; transition: border-color .2s, box-shadow .2s; }
  .card:hover { border-color: #bfc8cd; box-shadow: 0 6px 24px -12px rgba(17,32,42,.18); }
  .card-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 10px; }
  .card h3 { font-size: 24px; font-weight: 600; margin: 0; letter-spacing: -.01em; }
  .card p { color: var(--muted); margin: 0; font-size: 16px; }
  .badge { font-family: var(--mono); font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; padding: 3px 8px; border-radius: 3px; border: 1px solid var(--green); color: var(--green); white-space: nowrap; }
  .badge.early { border-color: #b8c0c5; color: var(--muted); }
  .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
  .tags .chip { font-size: 11px; }
  .card-custom { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap;
    text-decoration: none; color: inherit; border: 1.5px dashed var(--green); background: transparent; }
  .card-custom h3 { margin-bottom: 6px; }
  .card-custom p { max-width: 40em; }
  .custom-cta { font-weight: 600; color: var(--green); white-space: nowrap; }
  .card-custom:hover .custom-cta { text-decoration: underline; }
  .card-link { display: inline-block; margin-top: 16px; font-weight: 600; color: var(--green); text-decoration: none; }
  .card-link:hover { text-decoration: underline; }
  .expanding { margin-top: 28px; color: var(--muted); font-size: 17px; }
  .expanding .eyebrow { margin-right: 10px; }

  /* Training */
  .tracks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 36px; }
  .track { border: 2px solid var(--green); border-left-width: 6px; border-radius: 8px; padding: 24px; }
  .track p { color: var(--muted); margin: 10px 0 0; font-size: 16px; }

  /* Local to global */
  .lg { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; margin-top: 32px; align-items: start; }
  .quote { background: #f1ede4; border-radius: 8px; padding: 32px; }
  .quote blockquote { margin: 0 0 16px; font-family: var(--serif); font-style: italic; font-size: clamp(22px, 2.4vw, 27px); line-height: 1.35; color: var(--ink); }
  .quote figcaption { color: var(--muted); font-size: 15px; }

  /* Trust */
  .trust { margin-top: 32px; border-top: 1px solid var(--line); }
  .trust-row { display: grid; grid-template-columns: 200px 1fr; gap: 40px; padding-block: 22px; border-bottom: 1px solid var(--line); }
  .trust-row dt { font-family: var(--mono); font-size: 13px; font-weight: 600; color: var(--green); padding-top: 3px; }
  .trust-row dd { margin: 0; font-size: 18px; }

  /* Dark band */
  section.block.dark { background: var(--navy); color: #fff; border-bottom-color: var(--line-dark); }
  .dark .eyebrow { color: var(--teal); }
  .dark .trust, .dark .trust-row { border-color: var(--line-dark); }
  .dark .trust-row dt { color: var(--teal); }
  .dark .trust-row dd { color: #d6e0e5; }

  /* Contact */
  .contact { background: var(--navy); color: #fff; padding-block: clamp(72px, 10vw, 120px); }
  .contact-box { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; border: 1px solid var(--line-dark); border-radius: 12px; padding: clamp(28px, 5vw, 56px); background: var(--navy-2); }
  .contact .eyebrow { color: var(--teal); }
  .contact h2 { margin-top: 14px; font-size: clamp(32px, 4.4vw, 48px); }
  .contact .sub { color: #b9c6ce; }
  .contact-links { font-family: var(--mono); font-size: 15px; display: flex; flex-direction: column; gap: 10px; }
  .contact-links strong { color: #fff; font-weight: 600; margin-bottom: 4px; }
  .contact-links a { color: var(--teal); text-decoration: none; }
  .contact-links a:hover { text-decoration: underline; }
  .btn { display: inline-block; margin-top: 24px; background: var(--teal); color: var(--navy); font-weight: 600; text-decoration: none; padding: 12px 22px; border-radius: 6px; }
  .btn:hover { background: #8de0cd; }

  .contact-box { align-items: start; grid-template-columns: 1fr 1.1fr; }
  .contact .contact-links { margin-top: 28px; font-size: 14px; gap: 6px; }
  .brief-form { display: flex; flex-direction: column; gap: 8px; }
  .brief-form label { font-size: 13px; font-weight: 600; color: #d6e0e5; margin-top: 6px; }
  .brief-form input, .brief-form textarea, .brief-form select {
    width: 100%; font: inherit; font-size: 16px; color: #fff;
    background: var(--navy); border: 1px solid var(--line-dark); border-radius: 6px; padding: 11px 13px;
    transition: border-color .15s, box-shadow .15s;
  }
  .brief-form textarea { resize: vertical; min-height: 110px; }
  .brief-form input::placeholder, .brief-form textarea::placeholder { color: #6f818b; }
  .brief-form input:focus, .brief-form textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(111,211,189,.2); }
  .brief-form .btn { margin-top: 12px; border: 0; cursor: pointer; font: inherit; font-weight: 600; align-self: flex-start; }
  .brief-form .btn:disabled { opacity: .6; cursor: default; }
  .form-status { margin: 4px 0 0; font-size: 14px; min-height: 1.4em; color: #b9c6ce; }
  .form-status.ok { color: var(--teal); }
  .form-status.err { color: #f2a7a0; }

  footer { background: var(--navy); color: #7f909a; font-family: var(--mono); font-size: 13px; border-top: 1px solid var(--line-dark); padding-bottom: env(safe-area-inset-bottom, 0px); }
  footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 28px; }

  /* Reveal */
  .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
  .reveal.in { opacity: 1; transform: none; }
  @media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

  /* Responsive */
  @media (max-width: 900px) {
    nav.links a:not(.cta) { display: none; }
    nav.links a.cta { white-space: nowrap; font-size: 13px; padding: 7px 12px; }
    .row, .trust-row { grid-template-columns: 1fr; gap: 12px; }
    .row > .eyebrow { padding-top: 0; }
    .chips { flex-direction: row; flex-wrap: wrap; margin-top: 4px; }
    .stats { grid-template-columns: repeat(2, 1fr); gap: 28px 20px; }
    .toc { grid-template-columns: repeat(3, 1fr); row-gap: 20px; }
    .tracks { grid-template-columns: 1fr; }
    .lg, .contact-box { grid-template-columns: 1fr; }
    .trust-row { padding-block: 18px; gap: 6px; }
  }
  @media (max-width: 600px) {
    .cards { grid-template-columns: 1fr; }
    .toc { grid-template-columns: repeat(2, 1fr); }
  }

  /* ===== ALL-DARK THEME ===== */
  :root { --paper: #11202a; --ink: #e8eef1; --muted: #9fb0ba; --line: #2a3c48; --chip: #1c2f3b; --green: #6fd3bd; }
  body { color-scheme: dark; }
  section.block:nth-of-type(odd) { background: #142530; }
  .card, .track { background: #172a36; }
  .card:hover { border-color: #3b5261; box-shadow: none; }
  .badge.early { border-color: #4a5f6c; }
  .quote { background: #172a36; }
  .co { color: #8a9aa4; } .co:hover { color: #fff; }
  .linkedin, .linkedin svg { color: #6cb4ff; }
  .chip { color: #d6e0e5; }
  .card-custom { background: transparent; }
  .card-clickable { display: block; color: inherit; text-decoration: none; cursor: pointer; }
  .card-clickable:hover { border-color: var(--teal); }
  .card-clickable:hover .card-link { text-decoration: underline; }
  .inline-link { color: var(--teal); text-decoration: underline; text-underline-offset: 3px; }
