  /* ═══════════════════════════════════════
     DESIGN TOKENS
     ═══════════════════════════════════════ */
  :root {
    --black:       #0b0b0a;
    --surface:     #141413;
    --surface-2:   #1c1c1a;
    --surface-3:   #242422;
    --border:      #2a2a27;
    --border-light:#1e1e1c;

    --white:       #edebe6;
    --white-dim:   #c8c4bb;
    --gray:        #8a857c;
    --gray-dim:    #5a564f;

    --green:       #00e661;
    --green-dim:   rgba(0, 230, 97, 0.08);
    --green-border:rgba(0, 230, 97, 0.18);
    --green-glow:  rgba(0, 230, 97, 0.04);

    --font-display:'Syne', sans-serif;
    --font-body:   'Plus Jakarta Sans', sans-serif;
    --font-mono:   'JetBrains Mono', monospace;

    --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  }

  /* ═══════════════════════════════════════
     RESET & BASE
     ═══════════════════════════════════════ */
  *, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

  html {
    font-size: 16px;
    scroll-behavior: smooth;
    scrollbar-color: var(--surface-3) var(--black);
  }

  body {
    background: var(--black);
    color: var(--white);
    font-family: var(--font-body);
    font-weight: 300;
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }

  ::selection {
    background: var(--green-dim);
    color: var(--green);
  }

  a {
    color: inherit;
    text-decoration: none;
  }

  /* Focus states for accessibility */
  a:focus-visible,
  button:focus-visible {
    outline: 2px solid var(--green);
    outline-offset: 3px;
    border-radius: 2px;
  }

  /* Grain overlay */
  body::after {
    content: '';
    position: fixed;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.025'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 9999;
  }

  /* ═══════════════════════════════════════
     NAVIGATION
     ═══════════════════════════════════════ */
  .nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 28px 48px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(to bottom, var(--black) 60%, transparent);
    pointer-events: none;
  }

  .nav > * { pointer-events: auto; }

  .nav-mark {
    display: inline-flex;
    align-items: center;
  }

  .nav-mark img {
    display: block;
    width: auto;
  }

  .nav-logo-icon {
    height: 88px;
  }

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

  .nav-links {
    display: flex;
    gap: 28px;
  }

  .nav-link {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 1px;
    color: var(--gray);
    text-transform: uppercase;
    position: relative;
    padding-bottom: 2px;
    transition: color 0.3s ease;
  }

  .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--green);
    transition: width 0.4s var(--ease-out);
  }

  .nav-link:hover { color: var(--white); }
  .nav-link:hover::after,
  .nav-link[aria-current="page"]::after { width: 100%; }
  .nav-link[aria-current="page"] { color: var(--white); }

  /* --- VARIANT C: Nav status inline highlight --- */
  .nav-status {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--green);
    text-shadow: 0 0 12px rgba(0, 230, 97, 0.15);
  }

  .nav-status-text {
    background: rgba(0, 230, 97, 0.1);
    border-radius: 3px;
    padding: 2px 8px;
  }

  .nav-dot {
    width: 6px;
    height: 6px;
    background: var(--green);
    border-radius: 50%;
    flex-shrink: 0;
    animation: navDotPulseC 2s ease-in-out infinite;
  }

  @keyframes navDotPulseC {
    0%, 100% { transform: scale(1); opacity: 0.6; }
    50% { transform: scale(1.15); opacity: 1; }
  }

  /* ═══════════════════════════════════════
     HERO
     ═══════════════════════════════════════ */
  .hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 48px 48px 64px;
    position: relative;
  }

  /* ═══════════════════════════════════════
     BACKGROUND MARQUEE — VARIANT C: Kinetic Texture
     ═══════════════════════════════════════ */
  .hero-marquee-wrap {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.8s ease;
  }

  .hero-marquee-wrap.revealed {
    opacity: 0.045;
  }

  .hero-marquee-inner {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200vmax;
    transform: translate(-50%, -50%) rotate(-30deg);
    transform-origin: center center;
    will-change: transform;
  }

  .marquee-row {
    display: flex;
    white-space: nowrap;
    overflow: hidden;
    line-height: 1;
    padding: 0.08em 0;
  }

  .marquee-track {
    display: inline-flex;
    flex-shrink: 0;
    will-change: transform;
  }

  /* Scroll directions */
  .marquee-row[data-dir="left"] .marquee-track {
    animation: marqueeLeft var(--speed, 55s) linear infinite;
  }

  .marquee-row[data-dir="right"] .marquee-track {
    animation: marqueeRight var(--speed, 55s) linear infinite;
  }

  @keyframes marqueeLeft {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
  }

  @keyframes marqueeRight {
    from { transform: translateX(-50%); }
    to { transform: translateX(0); }
  }

  .marquee-word {
    font-family: var(--font-display);
    font-size: clamp(64px, 12vw, 180px);
    text-transform: uppercase;
    color: var(--white);
    padding: 0 0.25em;
    user-select: none;
    letter-spacing: 0.04em;
  }

  /* Consistent weight per row */
  .mw-400 { font-weight: 400; }
  .mw-500 { font-weight: 500; }
  .mw-600 { font-weight: 600; }
  .mw-700 { font-weight: 700; }
  .mw-800 { font-weight: 800; }

  /* Outlined text treatment for lighter-weight rows */
  .marquee-row-outlined .marquee-word {
    -webkit-text-stroke: 1px var(--white);
    color: transparent;
  }

  /* Reduced motion: stop animations */
  @media (prefers-reduced-motion: reduce) {
    .marquee-row[data-dir="left"] .marquee-track,
    .marquee-row[data-dir="right"] .marquee-track {
      animation: none;
    }
  }

  .hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 320px;
    align-items: end;
    gap: 48px;
  }

  .hero-title {
    font-family: var(--font-display);
    font-size: clamp(36px, 4.4vw, 64px);
    font-weight: 800;
    line-height: 0.92;
    text-transform: uppercase;
    letter-spacing: -2px;
    opacity: 0;
    animation: heroUp 0.9s var(--ease-out) forwards 0.3s;
  }

  .hero-title .accent {
    color: var(--green);
    display: inline-block;
  }

  .hero-sub {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 300;
    color: var(--gray);
    line-height: 1.75;
    max-width: 340px;
    margin-bottom: 4px;
  }

  .hero-sub strong {
    font-weight: 500;
    color: var(--white-dim);
  }

  .hero-meta {
    opacity: 0;
    animation: heroUp 0.9s var(--ease-out) forwards 0.45s;
  }

  .hero-meta-label {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gray-dim);
    margin-bottom: 6px;
  }

  .hero-meta-value {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 15px;
    color: var(--white);
    letter-spacing: 0.5px;
  }

  .hero-meta-block + .hero-meta-block {
    margin-top: 24px;
  }

  @keyframes heroUp {
    from { opacity: 0; transform: translateY(48px); }
    to { opacity: 1; transform: translateY(0); }
  }

  /* Scroll cue */
  .scroll-cue {
    position: absolute;
    bottom: 48px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 0;
    animation: heroUp 0.9s var(--ease-out) forwards 0.9s;
  }

  .scroll-cue span {
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gray-dim);
  }

  .scroll-line {
    width: 1px;
    height: 32px;
    background: linear-gradient(to bottom, var(--green), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
  }

  @keyframes scrollPulse {
    0%, 100% { opacity: 0.3; height: 20px; }
    50% { opacity: 1; height: 36px; }
  }

  /* ═══════════════════════════════════════
     TICKER
     ═══════════════════════════════════════ */
  .ticker {
    padding: 16px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    overflow: hidden;
    white-space: nowrap;
    position: relative;
  }

  .ticker::before,
  .ticker::after {
    content: '';
    position: absolute;
    top: 0;
    width: 80px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
  }

  .ticker::before { left: 0; background: linear-gradient(to right, var(--black), transparent); }
  .ticker::after { right: 0; background: linear-gradient(to left, var(--black), transparent); }

  .ticker-track {
    display: inline-flex;
    animation: tickerScroll 30s linear infinite;
  }

  .ticker-track:hover { animation-play-state: paused; }

  .ticker-segment {
    display: inline-flex;
    align-items: center;
  }

  .ticker-item {
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--gray);
    white-space: nowrap;
    padding: 0 32px;
    transition: color 0.3s ease;
  }

  .ticker-track:hover .ticker-item { color: var(--white-dim); }

  .ticker-dot {
    width: 4px;
    height: 4px;
    background: var(--green);
    border-radius: 50%;
    flex-shrink: 0;
  }

  @keyframes tickerScroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
  }

  /* ═══════════════════════════════════════
     SECTIONS — shared styles
     ═══════════════════════════════════════ */
  .section-padding {
    padding: 112px 48px;
  }

  .section-header {
    margin-bottom: 64px;
  }

  .section-label {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--green);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .section-label::before {
    content: '';
    width: 20px;
    height: 1px;
    background: var(--green);
  }

  .section-title {
    font-family: var(--font-display);
    font-size: clamp(22px, 2.2vw, 32px);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -1px;
    line-height: 1.05;
  }

  /* ═══════════════════════════════════════
     TRACK RECORD
     ═══════════════════════════════════════ */
  .track {
    border-top: 1px solid var(--border);
  }

  .timeline {
    display: flex;
    flex-direction: column;
  }

  .tl-item {
    display: grid;
    grid-template-columns: 180px 1fr 200px;
    align-items: start;
    padding: 36px 0;
    border-bottom: 1px solid var(--border-light);
    position: relative;
    cursor: default;
    transition: all 0.5s var(--ease-out);
  }

  .tl-item:first-child { border-top: 1px solid var(--border-light); }

  /* Left green indicator bar */
  .tl-item::before {
    content: '';
    position: absolute;
    left: -48px;
    top: 0;
    width: 2px;
    height: 0;
    background: var(--green);
    transition: height 0.5s var(--ease-out);
  }

  .tl-item:hover::before { height: 100%; }
  .tl-item:hover { padding-left: 12px; }

  .tl-date {
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 1px;
    color: var(--gray-dim);
    padding-top: 4px;
  }

  .tl-role {
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 8px;
    transition: color 0.3s ease;
  }

  .tl-item:hover .tl-role { color: var(--white); }

  .tl-desc {
    font-size: 14px;
    color: var(--gray);
    line-height: 1.7;
    max-width: 520px;
    font-weight: 300;
  }

  .tl-company {
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 600;
    text-align: right;
    color: var(--green);
    text-transform: uppercase;
    letter-spacing: 2px;
    padding-top: 4px;
  }

  .tl-company a {
    color: var(--green);
    position: relative;
    transition: opacity 0.3s ease;
  }

  .tl-company a:hover { opacity: 0.7; }

  /* ═══════════════════════════════════════
     CAPABILITIES
     ═══════════════════════════════════════ */
  .capabilities {
    border-top: 1px solid var(--border);
    background: var(--surface);
    position: relative;
  }

  /* Subtle top-edge glow */
  .capabilities::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--green-border), transparent);
  }

  .cap-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--border-light);
  }

  .cap-card {
    background: var(--surface);
    padding: 44px 36px;
    position: relative;
    overflow: hidden;
    transition: background 0.4s ease;
    min-height: 240px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .cap-card:hover { background: var(--surface-2); }

  /* Bottom border fill animation */
  .cap-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--green);
    transition: width 0.6s var(--ease-out);
  }

  .cap-card:hover::after { width: 100%; }

  .cap-index {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 2px;
    color: var(--gray-dim);
    margin-bottom: 28px;
  }

  .cap-name {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.25;
    letter-spacing: -0.2px;
  }

  .cap-desc {
    font-size: 13px;
    color: var(--gray);
    line-height: 1.7;
    font-weight: 300;
  }

  /* ═══════════════════════════════════════
     WRITING / THOUGHT LEADERSHIP
     ═══════════════════════════════════════ */
  .writing {
    border-top: 1px solid var(--border);
  }

  .writing-list {
    display: flex;
    flex-direction: column;
  }

  .writing-item {
    border-bottom: 1px solid var(--border-light);
    transition: all 0.4s var(--ease-out);
  }

  .writing-item:first-child { border-top: 1px solid var(--border-light); }

  .writing-link {
    display: grid;
    grid-template-columns: 56px 1fr auto;
    align-items: center;
    padding: 28px 0;
    gap: 24px;
    transition: padding 0.4s var(--ease-out);
  }

  .writing-item:hover .writing-link {
    padding-left: 12px;
  }

  .writing-num {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 800;
    color: var(--border);
    line-height: 1;
    transition: color 0.3s ease;
    text-align: center;
  }

  .writing-item:hover .writing-num { color: var(--green); }

  .writing-title {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -0.2px;
    transition: color 0.3s ease;
  }

  .writing-venue {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--gray-dim);
    letter-spacing: 1px;
    margin-top: 4px;
  }

  .writing-item:hover .writing-title { color: var(--white); }

  .writing-arrow {
    font-size: 18px;
    color: var(--gray-dim);
    transition: all 0.3s var(--ease-out);
    margin-right: 4px;
  }

  .writing-item:hover .writing-arrow {
    color: var(--green);
    transform: translateX(6px);
  }

  .blog-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 64px;
  }

  .blog-header-row .section-header {
    margin-bottom: 0;
  }

  .medium-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 22px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--surface);
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--white-dim);
    transition: all 0.3s var(--ease-out);
    text-decoration: none;
    margin-bottom: 8px;
  }

  .medium-cta-btn:hover {
    border-color: var(--green-border);
    color: var(--green);
    background: var(--green-dim);
    transform: translateY(-2px);
  }

  .medium-cta-btn .writing-arrow {
    font-size: 14px;
    margin-right: 0;
    transition: transform 0.3s var(--ease-out);
  }

  .medium-cta-btn:hover .writing-arrow {
    transform: translateX(4px);
    color: var(--green);
  }

  .blog-footer {
    display: flex;
    justify-content: flex-start;
    padding-top: 36px;
  }

  .blog-footer-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--gray);
    transition: color 0.3s ease, transform 0.3s ease;
  }

  .blog-footer-link:hover {
    color: var(--green);
    transform: translateX(6px);
  }

  /* ═══════════════════════════════════════
     PHILOSOPHY
     ═══════════════════════════════════════ */
  .philosophy {
    border-top: 1px solid var(--border);
    background: var(--surface);
  }

  .phil-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
  }

  .phil-quote {
    font-family: var(--font-display);
    font-size: clamp(20px, 2vw, 28px);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.5px;
    position: relative;
    padding-left: 28px;
  }

  .phil-quote::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 3px;
    height: 100%;
    background: var(--green);
    border-radius: 2px;
  }

  .phil-text {
    font-size: 15px;
    color: var(--gray);
    line-height: 1.8;
    font-weight: 300;
  }

  .phil-text + .phil-text {
    margin-top: 16px;
  }

  .phil-text strong {
    font-weight: 500;
    color: var(--white-dim);
  }

  /* ═══════════════════════════════════════
     CTA / CONNECT
     ═══════════════════════════════════════ */
  .connect {
    border-top: 1px solid var(--border);
    text-align: center;
    position: relative;
    overflow: hidden;
  }

  /* Radial glow behind CTA */
  .connect::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 400px;
    background: radial-gradient(ellipse, var(--green-glow), transparent 70%);
    pointer-events: none;
  }

  .cta-heading {
    font-family: var(--font-display);
    font-size: clamp(28px, 3.2vw, 48px);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -2px;
    line-height: 0.95;
    margin-bottom: 48px;
    position: relative;
    z-index: 1;
  }

  .cta-heading .outline {
    color: transparent;
    -webkit-text-stroke: 1.5px var(--white);
    transition: all 0.4s ease;
  }

  .cta-heading:hover .outline {
    -webkit-text-stroke: 1.5px var(--green);
    text-shadow: 0 0 40px var(--green-dim);
  }

  .cta-links {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
  }

  .cta-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border: 1.5px solid var(--border);
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--white-dim);
    transition: all 0.4s var(--ease-out);
    position: relative;
    overflow: hidden;
  }

  .cta-link::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--green);
    transform: translateY(100%);
    transition: transform 0.4s var(--ease-out);
    z-index: -1;
  }

  .cta-link:hover {
    border-color: var(--green);
    color: var(--black);
  }

  .cta-link:hover::before { transform: translateY(0); }

  .cta-link-arrow {
    transition: transform 0.3s var(--ease-out);
    font-size: 14px;
  }

  .cta-link:hover .cta-link-arrow {
    transform: translateX(4px);
  }

  /* ═══════════════════════════════════════
     FOOTER
     ═══════════════════════════════════════ */
  .site-footer {
    padding: 28px 48px;
    border-top: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 22px;
  }

  .footer-brand {
    width: min(100%, 860px);
  }

  .footer-brand img {
    display: block;
    width: 100%;
    height: auto;
  }

  .footer-meta {
    width: 100%;
    max-width: 860px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
  }

  .footer-left {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--gray-dim);
    letter-spacing: 1px;
  }

  .footer-right {
    display: flex;
    align-items: center;
    gap: 20px;
  }

  .footer-link {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--gray-dim);
    letter-spacing: 1px;
    transition: color 0.3s ease;
  }

  .footer-link:hover { color: var(--green); }

  .footer-highlight {
    background: rgba(0, 230, 97, 0.1);
    border-radius: 3px;
    padding: 1px 6px;
    color: var(--green);
  }

  .footer-clock {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--green);
    letter-spacing: 1px;
    font-variant-numeric: tabular-nums;
    background: rgba(0, 230, 97, 0.1);
    border-radius: 3px;
    padding: 1px 6px;
  }

  /* ═══════════════════════════════════════
     SCROLL REVEAL
     ═══════════════════════════════════════ */
  .reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
  }

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

  .reveal-stagger { transition-delay: 0s; }
  .reveal-stagger:nth-child(2) { transition-delay: 0.06s; }
  .reveal-stagger:nth-child(3) { transition-delay: 0.12s; }
  .reveal-stagger:nth-child(4) { transition-delay: 0.18s; }
  .reveal-stagger:nth-child(5) { transition-delay: 0.24s; }
  .reveal-stagger:nth-child(6) { transition-delay: 0.30s; }

  /* ═══════════════════════════════════════
     RESPONSIVE
     ═══════════════════════════════════════ */
  @media (max-width: 1024px) {
    .cap-grid { grid-template-columns: repeat(2, 1fr); }
  }

  @media (max-width: 860px) {
    .nav { padding: 20px 24px; }
    .nav-links { display: none; }
    .nav-status { font-size: 9px; letter-spacing: 1px; }
    .nav-logo-icon { height: 64px; }

    .hero { padding: 108px 24px 48px; }
    .hero-content { grid-template-columns: 1fr; gap: 32px; }
    .hero-title { letter-spacing: -1px; }
    .hero-meta {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 20px;
    }
    .hero-meta-block + .hero-meta-block { margin-top: 0; }
    /* Let the paragraph span the full width across both columns */
    .hero-meta-block:last-child {
      grid-column: 1 / -1;
    }
    .hero-sub { max-width: none; }
    .scroll-cue { display: none; }

    .ticker-item { font-size: 11px; letter-spacing: 2px; padding: 0 20px; }

    .section-padding { padding: 72px 24px; }
    .section-header { margin-bottom: 48px; }
    .blog-header-row { align-items: flex-start; gap: 20px; margin-bottom: 40px; }

    .tl-item {
      grid-template-columns: 1fr;
      gap: 4px;
      padding: 24px 0;
    }
    .tl-item::before { display: none; }
    .tl-item:hover { padding-left: 0; }
    .tl-date { padding-top: 0; margin-bottom: 2px; }
    .tl-role { font-size: 17px; }
    .tl-desc { max-width: none; }
    .tl-company { text-align: left; margin-top: 12px; }

    .cap-grid { grid-template-columns: 1fr; }
    .cap-card { min-height: auto; padding: 36px 28px; }

    .writing-link {
      grid-template-columns: 36px 1fr auto;
      gap: 16px;
      padding: 24px 0;
    }
    .writing-num { font-size: 20px; }
    .writing-title { font-size: 16px; }

    .phil-content { grid-template-columns: 1fr; gap: 32px; }
    .phil-quote { font-size: clamp(20px, 4.5vw, 26px); padding-left: 20px; }

    .cta-heading { font-size: clamp(26px, 6vw, 40px); margin-bottom: 28px; }
    .cta-links { flex-direction: column; align-items: stretch; gap: 10px; }
    .cta-link { justify-content: center; padding: 16px 28px; }

    .site-footer {
      padding: 24px;
    }
    .footer-brand { width: min(100%, 680px); }
    .footer-meta {
      flex-direction: column;
      align-items: flex-start;
      gap: 12px;
    }
    .footer-right { gap: 16px; }
  }

  @media (max-width: 480px) {
    .nav { padding: 16px 16px; }
    .nav-logo-icon { height: 52px; }
    .nav-status { display: none; }

    .hero { padding: 88px 16px 40px; min-height: calc(100vh - 20px); min-height: calc(100svh - 20px); }
    .hero-content { gap: 28px; }
    .hero-title { font-size: clamp(32px, 9vw, 44px); }
    .hero-meta { grid-template-columns: 1fr; gap: 16px; }
    .hero-meta-block:last-child { grid-column: auto; }
    .hero-meta-value { font-size: 14px; }
    .hero-sub { font-size: 15px; }

    .ticker-item { font-size: 10px; letter-spacing: 1.5px; padding: 0 16px; }
    .ticker { padding: 12px 0; }

    .section-padding { padding: 56px 16px; }
    .section-header { margin-bottom: 36px; }
    .blog-header-row { margin-bottom: 28px; }
    .medium-cta-btn { font-size: 10px; padding: 8px 16px; }
    .section-title { font-size: clamp(22px, 5.5vw, 28px); }
    .section-label { font-size: 9px; gap: 8px; }
    .section-label::before { width: 14px; }

    .tl-item { padding: 20px 0; }
    .tl-date { font-size: 11px; }
    .tl-role { font-size: 17px; }
    .tl-desc { font-size: 13px; }
    .tl-company { font-size: 11px; letter-spacing: 1.5px; margin-top: 10px; }

    .cap-card { padding: 28px 20px; }
    .cap-index { margin-bottom: 20px; }
    .cap-name { font-size: 16px; }
    .cap-desc { font-size: 12px; }

    .writing-link {
      grid-template-columns: 1fr;
      gap: 6px;
      padding: 20px 0;
    }
    .writing-num { display: none; }
    .writing-arrow { display: none; }
    .writing-title { font-size: 15px; }
    .writing-venue { font-size: 10px; }

    .phil-quote { font-size: 20px; padding-left: 16px; }
    .phil-quote::before { width: 2px; }
    .phil-text { font-size: 14px; }

    .cta-heading {
      font-size: clamp(26px, 8vw, 36px);
      letter-spacing: -1px;
      margin-bottom: 28px;
    }
    .cta-heading .outline { -webkit-text-stroke: 1px var(--white); }
    .cta-link {
      width: 100%;
      justify-content: center;
      font-size: 11px;
      padding: 16px 24px;
    }

    .site-footer { padding: 20px 16px; gap: 16px; }
    .footer-brand { width: 100%; }
    .footer-left { font-size: 10px; }
    .footer-link { font-size: 10px; }
    .footer-clock { font-size: 10px; }
  }

  /* Safe area insets for notched devices */
  @supports (padding-bottom: env(safe-area-inset-bottom)) {
    .site-footer {
      padding-bottom: calc(20px + env(safe-area-inset-bottom));
    }
    .nav {
      padding-top: calc(20px + env(safe-area-inset-top));
    }
  }

  .page-top { padding-top: 156px; }

  .route-list {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-top: 1px solid var(--border);
  }

  .route-list a {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-height: 0;
    padding: 28px 28px 28px 0;
    border-bottom: 1px solid var(--border-light);
  }

  .route-list li:nth-child(odd) a { padding-right: 36px; }
  .route-list li:nth-child(even) a { padding-left: 36px; }

  .route-kicker {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--green);
  }

  .route-name {
    font-family: var(--font-display);
    font-size: clamp(20px, 2vw, 26px);
    font-weight: 700;
    letter-spacing: -0.03em;
    text-transform: uppercase;
    line-height: 1.1;
  }

  .route-note {
    max-width: 46ch;
    color: var(--gray);
    font-size: 15px;
    line-height: 1.6;
  }

  .route-list a:hover .route-name { color: var(--green); }

  @media (max-width: 860px) {
    .page-top { padding-top: 128px; }
    .route-list { grid-template-columns: 1fr; }
    .route-list li:nth-child(odd) a,
    .route-list li:nth-child(even) a { padding-left: 0; padding-right: 0; }
  }

  @media (max-width: 480px) {
    .page-top { padding-top: 108px; }
  }
