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

  :root {
    --bg: #fafaf8;
    --surface: #ffffff;
    --border: #e8e6e1;
    --border2: #d4d1cb;
    --ink: #1a1814;
    --ink2: #3d3a35;
    --ink3: #7a7570;
    --ink4: #b0ada8;
    --accent: #1a3a8f;
    --accent2: #2952c4;
  }

  html { scroll-behavior: smooth; }

  body {
    font-family: "Georgia", "Times New Roman", serif;
    background: var(--bg);
    color: var(--ink);
    line-height: 1.6;
    overflow-x: hidden;
  }

  nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 20px 48px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 28px;
    max-width: 1080px;
    margin: 0 auto;
    background: rgba(250, 250, 248, 0.92);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border);
  }

  .logo {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--ink);
    text-decoration: none;
  }

  .logo em {
    color: #4f72c9;
    font-family: "Segoe Script", "Snell Roundhand", "Brush Script MT", "Lucida Handwriting", cursive;
    font-size: 2.25em;
    font-style: italic;
    font-weight: 700;
    line-height: 1;
    margin: 0 -2px 0 -8px;
    position: relative;
    top: 7px;
    display: inline-block;
    transform: rotate(-6deg);
  }

  .nav-right {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-left: auto;
  }

  .nav-link,
  .nav-cta {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
    font-size: 14px;
    text-decoration: none;
  }

  .nav-link {
    color: var(--ink3);
    transition: color 0.15s ease;
  }

  .nav-link:hover,
  .nav-link.is-active { color: var(--ink); }

  .nav-cta {
    background: var(--accent);
    color: #fff;
    border-radius: 6px;
    padding: 8px 20px;
    font-weight: 500;
    letter-spacing: -0.01em;
    transition: background 0.15s ease;
  }

  .nav-cta:hover { background: var(--ink); }

  .about-section {
    max-width: 1000px;
    margin: 0 auto;
    padding: 132px 48px 96px;
  }

  .about-intro {
    margin-bottom: 36px;
  }

  h1 {
    font-size: clamp(40px, 5.8vw, 64px);
    line-height: 1.06;
    letter-spacing: -0.02em;
    font-weight: 400;
    margin-bottom: 24px;
    max-width: 780px;
  }

  h1 strong { font-weight: 700; }

  .section-header {
    display: block;
    margin-bottom: 26px;
  }

  .section-header .label {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ink4);
    margin-bottom: 12px;
  }

  .section-header h2 {
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.2;
    letter-spacing: -0.02em;
    font-weight: 400;
    color: var(--ink);
    margin-bottom: 12px;
    max-width: 760px;
  }

  .section-header h2 strong { font-weight: 700; }

  .section-header p {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
    font-size: 17px;
    line-height: 1.6;
    color: var(--ink3);
    max-width: 700px;
  }

  .story-wrap {
    background: #fff;
    border: 1px solid var(--border);
    padding: 28px 24px 22px;
  }

  .bio-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 28px;
    width: 100%;
    min-height: 220px;
    padding-bottom: 24px;
  }

  .bio-grid.stage-1 { min-height: 220px; }
  .bio-grid.stage-2 { min-height: 220px; }

  .bio-card {
    background: transparent;
    border: none;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(18px);
    transition: max-height 0.7s ease, opacity 0.7s ease, transform 0.7s ease;
  }

  .bio-card.card-visible {
    max-height: 440px;
    opacity: 1;
    transform: translateY(0);
  }

  .bio-card.active { z-index: 2; }

  .bio-head {
    padding-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 14px;
    cursor: pointer;
    user-select: none;
  }

  .bio-photo {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
    flex-shrink: 0;
    border: 1px solid var(--border);
    background: #f3f1ec;
  }

  .bio-meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
  }

  .bio-topline {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
  }

  .bio-name {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: var(--ink);
    white-space: nowrap;
  }

  .bio-role {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
    font-size: 12px;
    color: var(--ink3);
  }

  .bio-links {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
  }

  .bio-link {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--ink4);
    text-decoration: none;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: #fff;
    transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
  }

  .bio-link:hover {
    color: var(--ink);
    border-color: var(--ink3);
    background: #fafaf8;
  }

  .bio-link svg {
    width: 16px;
    height: 16px;
    display: block;
  }

  .bio-text {
    font-size: 16px;
    line-height: 1.82;
    color: var(--ink2);
    letter-spacing: -0.01em;
  }

  .inline-logo {
    display: inline-flex;
    align-items: baseline;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
    font-size: 0.98em;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--ink);
    white-space: nowrap;
  }

  .inline-logo em {
    color: #4f72c9;
    font-family: "Segoe Script", "Snell Roundhand", "Brush Script MT", "Lucida Handwriting", cursive;
    font-size: 1.75em;
    font-style: italic;
    font-weight: 700;
    line-height: 1;
    margin: 0 -1px 0 -5px;
    position: relative;
    top: 4px;
    display: inline-block;
    transform: rotate(-6deg);
  }

  .stream-token {
    opacity: 0;
    filter: blur(5px);
    transform: translateY(8px);
    transition:
      opacity 0.5s ease,
      filter 0.6s ease,
      transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: calc(var(--stream-index) * 52ms);
  }

  .text-token,
  .mark-token {
    display: inline-block;
  }

  .bio-card.streaming .stream-token,
  .bio-card.streamed .stream-token {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
  }

  mark {
    display: inline;
    white-space: nowrap;
    border-radius: 3px;
    padding: 0 4px;
    margin: 1px 0;
    color: var(--ink);
    border: none;
    transition: background 0.55s ease, color 0.55s ease;
  }

  mark a {
    color: var(--accent2);
    text-decoration: underline;
    text-underline-offset: 2px;
  }

  mark.unlit {
    background: transparent !important;
    color: inherit !important;
  }

  .step-blue,
  .step-amber,
  .step-violet,
  .step-green,
  .step-rose,
  .step-slate,
  .step-indigo,
  .step-gold,
  .step-capstone {
    background: linear-gradient(180deg, rgba(200, 216, 239, 0) 5%, #c8d8ef 38%);
    color: var(--ink);
    text-shadow: 0 0 6px rgba(255, 255, 255, 0.55);
  }

  .story-divider {
    width: 100%;
    height: 1px;
    background: var(--border);
    margin: 0 0 24px;
  }

  .timeline-svg {
    display: block;
    width: 100%;
    min-width: 760px;
    max-width: none;
    margin: 0;
  }

  .path-reveal {
    opacity: 0;
    transform: translateY(8px);
    transform-box: fill-box;
    transform-origin: center;
    transition: opacity 0.55s ease, transform 0.55s ease;
  }

  .path-reveal.visible {
    opacity: 1;
    transform: translateY(0);
  }

  .path-reveal.drop-reveal {
    transform: translateY(-66px);
  }

  .path-reveal.drop-reveal.visible {
    transform: translateY(0);
  }

  @keyframes nodePulse {
    0%   { stroke-width: 1.5; }
    35%  { stroke-width: 4; }
    100% { stroke-width: 1.5; }
  }

  rect.node-active { animation: nodePulse 0.9s ease forwards; }

  .replay-wrap {
    display: flex;
    justify-content: flex-end;
    margin-top: 16px;
  }

  .replay-btn {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--ink3);
    background: transparent;
    border: 1px solid var(--border2);
    border-radius: 0;
    padding: 8px 12px;
    cursor: pointer;
    transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
  }

  .replay-btn:hover {
    color: var(--ink);
    border-color: var(--ink3);
    background: #fafaf8;
  }

  footer {
    border-top: 1px solid var(--border);
    padding: 28px 48px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
  }

  footer p {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
    font-size: 13px;
    color: var(--ink4);
    text-align: center;
  }

  @media (max-width: 720px) {
    nav { padding: 16px 24px; }
    .nav-right { gap: 16px; }
    .about-section { padding: 108px 24px 72px; }
    .story-wrap { padding: 20px 18px 18px; }
    .bio-grid {
      grid-template-columns: 1fr;
      min-height: 260px;
    }
    .bio-grid.stage-1 { min-height: 260px; }
    .bio-grid.stage-2 { min-height: 260px; }
    .bio-photo {
      width: 56px;
      height: 56px;
    }
    .bio-text { font-size: 14px; line-height: 1.7; }
    .bio-card.card-visible { max-height: 560px; }
    footer { padding: 24px; }
  }
