/* Hallmark · genre: editorial · macrostructure: Long Document · theme: custom (ink/grey/white)
   * page: founder · nav: N1 · footer: Ft4 · pre-emit critique: P5 H5 E5 S5 R5 V4
   */

  html, body { overflow-x: clip; }

  :root {
    /* 4-level ink hierarchy */
    --ink:          oklch(9% 0 0);
    --ink-2:        oklch(19% 0 0);
    --muted:        oklch(44% 0 0);
    --subtle:       oklch(62% 0 0);
    --faint:        oklch(76% 0 0);
    /* Paper scale */
    --paper:        oklch(98.5% 0 0);
    --paper-2:      oklch(96.5% 0 0);
    --paper-3:      oklch(93% 0 0);
    /* Rules */
    --rule:         oklch(89% 0 0);
    --rule-mid:     oklch(80% 0 0);
    /* Grey wash surfaces */
    --wash:         oklch(91% 0 0);
    --wash-text:    oklch(10% 0 0);
    --wash-muted:   oklch(44% 0 0);
    --wash-rule:    oklch(82% 0 0);
    /* Easing */
    --ease-out:     cubic-bezier(0.16, 1, 0.3, 1);
    --dur-short:    220ms;
    --dur-mid:      400ms;
    /* Typography */
    --font-display: 'Libre Caslon Text', Georgia, serif;
    --font-body:    'Source Serif 4', Georgia, serif;
    --font-label:   'Inter', system-ui, sans-serif;
    /* Page gutters */
    --px-page:      80px;
    --px-mobile:    24px;
  }

  .material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 300, 'GRAD' 0, 'opsz' 24;
  }

  ::selection {
    background-color: var(--ink);
    color: var(--paper);
  }

  body {
    background-color: var(--paper);
    color: var(--ink-2);
    font-family: var(--font-body);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }

  /* ── Navigation ── */
  .nav-root {
    background: oklch(98.5% 0 0 / 0.96);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--rule);
  }

  .nav-link {
    font-family: var(--font-label);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
    transition: color var(--dur-short) var(--ease-out);
  }
  .nav-link:hover  { color: var(--ink); }
  .nav-link.active { color: var(--ink); font-weight: 600; }
  .nav-link:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; border-radius: 1px; }

  /* ── Buttons ── */
  .btn {
    display: inline-block;
    font-family: var(--font-label);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    text-decoration: none;
    transition:
      background var(--dur-short) var(--ease-out),
      color      var(--dur-short) var(--ease-out),
      border-color var(--dur-short) var(--ease-out);
  }
  .btn:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
  .btn:active { opacity: 0.82; }

  .btn-ink {
    background: var(--ink);
    color: var(--paper);
    border: 1px solid var(--ink);
    padding: 15px 36px;
  }
  .btn-ink:hover { background: transparent; color: var(--ink); }

  .btn-ink-sm {
    background: var(--ink);
    color: var(--paper);
    border: 1px solid var(--ink);
    padding: 12px 24px;
  }
  .btn-ink-sm:hover { background: transparent; color: var(--ink); }

  .btn-ghost {
    background: transparent;
    color: var(--muted);
    border: 1px solid var(--rule-mid);
    padding: 15px 36px;
  }
  .btn-ghost:hover { border-color: var(--ink); color: var(--ink); }

  /* ── Eyebrow / label ── */
  .eyebrow {
    font-family: var(--font-label);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--subtle);
  }

  /* ── Reveal animation ── */
  .reveal {
    opacity: 0;
    transform: translateY(20px);
    transition:
      opacity  0.65s var(--ease-out),
      transform 0.65s var(--ease-out);
  }
  .reveal.in-view { opacity: 1; transform: translateY(0); }

  @media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
  }


  /* ══════════════════════════════════════════════
     Founder page · specifics
     ══════════════════════════════════════════════ */

  /* ── Portrait ── */
  .portrait {
    width: 100%;
    max-width: 300px;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    object-fit: cover;
    background: var(--paper-2);
    display: block;
  }

  /* ── Prose blocks ── */
  .prose-lead {
    font-family: var(--font-body);
    font-size: clamp(18px, 1.7vw, 21px);
    line-height: 1.75;
    color: var(--ink-2);
    font-weight: 300;
    overflow-wrap: anywhere;
    min-width: 0;
  }

  .prose-body {
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.85;
    color: var(--muted);
    font-weight: 300;
    overflow-wrap: anywhere;
    min-width: 0;
  }
  .prose-body + .prose-body { margin-top: 26px; }
  .prose-body strong { color: var(--ink-2); font-weight: 400; }

  .section-title {
    font-family: var(--font-display);
    font-size: clamp(26px, 3vw, 38px);
    line-height: 1.2;
    letter-spacing: -0.015em;
    font-weight: 400;
    color: var(--ink);
    overflow-wrap: anywhere;
    min-width: 0;
  }

  /* ── Ledger table (Track record) ── */
  /* Sits on --paper-3, so rules are stepped up for contrast */
  .ledger {
    width: 100%;
    border-collapse: collapse;
    border-top: 1px solid var(--subtle);
  }
  .ledger caption { display: none; }

  .ledger tr { border-bottom: 1px solid var(--rule-mid); }
  .ledger tr:last-child { border-bottom: 1px solid var(--subtle); }
  .ledger tbody tr {
    transition: background var(--dur-short) var(--ease-out);
  }
  .ledger tbody tr:hover { background: var(--paper-2); }

  .ledger td {
    padding: 20px 20px 20px 0;
    vertical-align: baseline;
    font-family: var(--font-body);
    font-weight: 300;
  }
  .ledger td:last-child { padding-right: 0; }

  .led-name {
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 700;
    color: var(--ink);
    width: 24%;
    white-space: nowrap;
  }
  .led-sector {
    font-size: 16px;
    color: var(--ink-2);
    width: 22%;
  }
  .led-note {
    font-size: 16px;
    color: var(--muted);
    width: 28%;
  }
  .led-role {
    font-size: 16px;
    color: var(--ink-2);
    width: 26%;
    white-space: nowrap;
  }
  .led-role .led-period { color: var(--subtle); }

  /* Mobile: table becomes stacked records */
  @media (max-width: 767px) {
    .ledger, .ledger tbody, .ledger tr, .ledger td { display: block; width: auto; }
    .ledger { border-top: 1px solid var(--subtle); }
    .ledger tr { padding: 20px 0; border-bottom: 1px solid var(--rule-mid); }
    .ledger td { padding: 0; white-space: normal; }

    .led-name { font-size: 18px; margin-bottom: 6px; }
    .led-sector,
    .led-note,
    .led-role { font-size: 15px; line-height: 1.6; }
    .led-sector { color: var(--muted); }
    .led-role { color: var(--ink-2); margin-top: 2px; }
    .led-note:not(:empty) {
      margin-top: 8px;
      font-family: var(--font-label);
      font-size: 11px;
      font-weight: 600;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: var(--ink);
    }
  }

  /* ── Stat figures ── */
  .stat-figure {
    font-family: var(--font-display);
    font-size: clamp(30px, 3.4vw, 46px);
    line-height: 1;
    letter-spacing: -0.03em;
    font-weight: 400;
    color: var(--ink);
  }

  /* ── Mention pills (mentorship) ── */
  .pill {
    display: inline-block;
    font-family: var(--font-label);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.06em;
    color: var(--ink-2);
    border: 1px solid var(--rule-mid);
    padding: 8px 16px;
    background: var(--paper);
  }

  /* ── Inline link ── */
  .link-ink {
    color: var(--ink);
    text-decoration: none;
    border-bottom: 1px solid var(--rule-mid);
    transition: border-color var(--dur-short) var(--ease-out);
    overflow-wrap: anywhere;
  }
  .link-ink:hover { border-color: var(--ink); }

  @media (max-width: 767px) {
    :root { --px-page: 24px; }
    .portrait { max-width: 180px; }
    .cta-box { padding: 52px 28px !important; }
    .panel   { padding: 40px 28px 44px !important; }
    .stat-figure { font-size: 26px; letter-spacing: -0.02em; }
  }
