:root {
    --bg: #0a0a0a;
    --fg: #f0ede6;
    --accent: #f5c518;
    --muted: #888884;
    --rule: #333;
    --rule-soft: #444;
  }

  * { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }
  body {
    background: var(--bg);
    color: var(--fg);
    font-family: 'DM Sans', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 1.7;
    overflow-x: hidden;
    cursor: none;
  }
  a { color: inherit; text-decoration: none; cursor: none; }
  button { cursor: none; }

  /* ─── Custom cursor ─── */
  .cursor {
    position: fixed;
    top: 0; left: 0;
    width: 8px; height: 8px;
    border-radius: 50%;
    background: #fff;
    mix-blend-mode: difference;
    pointer-events: none !important;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width .18s ease, height .18s ease, background .18s ease;
  }
  .cursor.lg { width: 28px; height: 28px; }

  /* ─── Type primitives ─── */
  .mono { font-family: 'Space Mono', monospace; letter-spacing: 0.15em; text-transform: uppercase; font-size: 11px; }
  .display { font-family: 'Bebas Neue', sans-serif; font-weight: 400; letter-spacing: 0.01em; line-height: 0.88; text-transform: uppercase; }
  .outline {
    color: transparent;
    -webkit-text-stroke: 2px var(--fg);
    text-stroke: 2px var(--fg);
  }
  .outline-dark {
    color: transparent;
    -webkit-text-stroke: 2px #0a0a0a;
  }
  .accent { color: var(--accent); }
  .cross { color: var(--accent); font-family: 'Space Mono', monospace; }

  /* ─── Nav ─── */
  nav.top {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: 64px;
    display: grid;
    grid-template-columns: auto 1fr auto auto;
    align-items: center;
    gap: 24px;
    padding: 0 32px;
    z-index: 100;
    backdrop-filter: blur(0px);
    transition: backdrop-filter .25s ease, background .25s ease, border-color .25s ease;
    border-bottom: 0.5px solid transparent;
  }
  nav.top.scrolled {
    backdrop-filter: blur(8px);
    background: rgba(10,10,10,0.55);
    border-bottom-color: var(--rule);
  }
  nav.top .brand { font-family: 'Space Mono', monospace; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; }
  nav.top .rule { height: 0.5px; background: var(--rule); width: 100%; position: relative; }
  nav.top .rule .crosshair {
    position: absolute;
    left: 50%; top: 50%;
    transform: translate(-50%, -50%);
    color: var(--accent);
    font-size: 14px;
    font-family: 'Space Mono', monospace;
    background: var(--bg);
    padding: 0 8px;
  }
  nav.top.on-light { color: #0a0a0a; }
  nav.top.on-light .rule { background: #d8d4c8; }
  nav.top.on-light .rule .crosshair { background: var(--fg); }
  nav.top.on-light.scrolled { background: rgba(240,237,230,0.7); border-bottom-color: #d8d4c8; }

  nav.top .links { display: flex; gap: 28px; align-items: center; }
  nav.top .links a {
    position: relative;
    font-family: 'Space Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    padding: 4px 0;
  }
  nav.top .links a::after {
    content: '';
    position: absolute; left: 0; bottom: 0;
    width: 0; height: 1px; background: var(--accent);
    transition: width .25s ease;
  }
  nav.top .links a:hover::after { width: 100%; }
  nav.top .links a:hover { color: var(--accent); }

  /* ─── Layout helpers ─── */
  section { position: relative; }
  .bleed { padding: 0 32px; }
  .hr { height: 0.5px; background: var(--rule); width: 100%; }
  .hr-light { background: #d8d4c8; }

  /* ─── HERO Mode A (light) ─── */
  .hero-light {
    background: var(--fg);
    color: #0a0a0a;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 120px 32px 60px;
    position: relative;
    overflow: hidden;
  }
  .hero-light .label {
    font-family: 'Space Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #0a0a0a;
    margin-bottom: 24px;
    display: flex; align-items: center; gap: 12px;
    justify-content: center;
  }
  .hero-light .label .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
  .hero-light h1 {
    font-family: 'Archivo Black', sans-serif;
    font-size: clamp(48px, 8vw, 160px);
    line-height: 0.92;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    color: #0a0a0a;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
    text-align: center;
  }
  .hero-light h1 .line {
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 0.25em;
    overflow: visible;
    white-space: nowrap;
  }
  .hero-light h1 .word {
    display: inline-block;
    opacity: 1;
    transform: none;
    animation: none;
  }
  .hero-light h1 .outline {
    color: transparent;
    -webkit-text-stroke: 2.5px #0a0a0a;
  }
  .hero-light h1 .line:nth-child(1) .word { animation-delay: 0.10s; }
  .hero-light h1 .line:nth-child(2) .word { animation-delay: 0.22s; }
  .hero-light h1 .line:nth-child(3) .word { animation-delay: 0.34s; }

  .hero-light .meta {
    margin-top: 36px;
    font-family: 'Space Mono', monospace;
    font-size: 12px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #0a0a0a;
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    align-items: center;
    justify-content: center;
  }
  .hero-light .meta .sep { color: var(--accent); }
  .hero-light .scrollcue {
    position: absolute;
    bottom: 22px; left: 32px; right: 32px;
    display: flex; justify-content: space-between;
    font-family: 'Space Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #0a0a0a;
  }
  .hero-light .scrollcue .arrow { color: var(--accent); }
  .hero-light h1 .outline { -webkit-text-stroke: 2.5px #0a0a0a; color: transparent; }

  @keyframes rise {
    to { transform: translateY(0); opacity: 1; }
  }

  /* ─── HERO Mode B (dark) ─── */
  .hero-dark {
    background: var(--bg);
    min-height: 100vh;
    padding: 120px 32px 80px;
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    position: relative;
    overflow: hidden;
  }
  .hero-dark .grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    position: relative;
  }
  .hero-dark h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(56px, 9vw, 140px);
    line-height: 0.9;
    text-transform: uppercase;
    letter-spacing: 0.005em;
    max-width: 1200px;
    position: relative;
    z-index: 2;
  }
  .hero-dark h2 .outline {
    color: transparent;
    -webkit-text-stroke: 2px var(--fg);
  }
  .hero-dark .floaters {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
  }
  .float-img {
    position: absolute;
    background: #1a1a1a;
    border: 2px solid var(--fg);
    overflow: hidden;
    filter: grayscale(1) contrast(1.05);
  }
  .float-img .ph {
    width: 100%; height: 100%;
    background:
      repeating-linear-gradient(45deg, #1c1c1c 0 6px, #232323 6px 12px);
    display: flex; align-items: flex-end; padding: 10px;
  }
  .float-img .ph span {
    font-family: 'Space Mono', monospace;
    font-size: 9px;
    color: #6a6a66;
    letter-spacing: 0.16em;
    text-transform: uppercase;
  }
  .float-1 { left: 4%; top: 8%; width: 240px; height: 320px; }
  .float-2 { right: 6%; bottom: 6%; width: 200px; height: 260px; transform: rotate(2deg); }
  .float-3 { right: 22%; top: 12%; width: 140px; height: 180px; transform: rotate(-3deg); }

  .hero-dark .below {
    display: flex; justify-content: space-between; align-items: flex-end;
    gap: 32px; margin-top: 60px;
    border-top: 0.5px solid var(--rule);
    padding-top: 28px;
  }
  .hero-dark .below .lbl { color: var(--muted); }
  .hero-dark .below .stat { font-family: 'Bebas Neue', sans-serif; font-size: 64px; line-height: 1; color: var(--fg); }
  .hero-dark .stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    width: 100%;
  }
  .hero-dark .stats .cell {
    padding: 0 24px;
    border-left: 0.5px solid var(--rule);
  }
  .hero-dark .stats .cell:first-child { border-left: none; padding-left: 0; }
  .hero-dark .stats .cell .lbl {
    font-family: 'Space Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 8px;
  }

  /* ─── Marquee ─── */
  .marquee {
    background: var(--bg);
    border-top: 0.5px solid var(--rule);
    border-bottom: 0.5px solid var(--rule);
    overflow: hidden;
    white-space: nowrap;
    padding: 16px 0;
  }
  .marquee-track {
    display: inline-flex;
    gap: 38px;
    animation: scroll-x 36s linear infinite;
    font-family: 'Space Mono', monospace;
    font-size: 13px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--accent);
  }
  .marquee-track .sep { color: var(--fg); opacity: 0.6; }
  @keyframes scroll-x {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
  }

  /* ─── Section header ─── */
  .section-head {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 24px;
    align-items: end;
    padding: 80px 32px 24px;
  }
  .section-head .kicker {
    font-family: 'Space Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--accent);
    display: flex; gap: 10px; align-items: center;
  }
  .section-head h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(48px, 9vw, 140px);
    line-height: 0.9;
    text-transform: uppercase;
    letter-spacing: 0.005em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: clip;
  }
  .section-head h2 .outline { color: transparent; -webkit-text-stroke: 2px var(--fg); }

  /* ─── Projects ─── */
  .projects {
    padding: 24px 32px 80px;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: minmax(180px, auto);
    gap: 24px;
  }
  .card {
    background: var(--bg);
    border: 0.5px solid var(--rule);
    padding: 28px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: border-color 0.22s ease, transform 0.4s cubic-bezier(.22,.9,.3,1);
    min-height: 320px;
    overflow: hidden;
  }
  .card:hover { border-color: var(--accent); }
  .card:hover .arrow { transform: translateX(0); opacity: 1; color: var(--accent); }
  .card:hover .num { color: var(--accent); }
  .card .num {
    font-family: 'Space Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.18em;
    color: var(--muted);
    transition: color .22s;
  }
  .card .tags {
    font-family: 'Space Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--muted);
    margin-top: 16px;
  }
  .card h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(32px, 4vw, 56px);
    line-height: 0.95;
    text-transform: uppercase;
    margin: 18px 0 14px;
    color: var(--fg);
  }
  .card .desc {
    font-family: 'DM Sans', sans-serif;
    font-size: 15px;
    line-height: 1.55;
    color: var(--muted);
    max-width: 52ch;
  }
  .card .foot {
    margin-top: 24px;
    display: flex; justify-content: space-between; align-items: center;
    font-family: 'Space Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--muted);
  }
  .card .arrow {
    display: inline-block;
    transform: translateX(-12px);
    opacity: 0;
    transition: transform .25s ease, opacity .25s ease, color .25s ease;
    font-size: 18px;
  }
  .card .corner {
    position: absolute;
    top: 28px; right: 28px;
    font-family: 'Space Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.22em;
    color: var(--muted);
  }
  .card.c-1 { grid-column: span 7; grid-row: span 2; min-height: 440px; }
  .card.c-2 { grid-column: span 5; grid-row: span 2; min-height: 440px; }
  .card.c-3 { grid-column: span 5; grid-row: span 2; min-height: 380px; }
  .card.c-4 { grid-column: span 7; grid-row: span 2; min-height: 380px; }
  .card.c-5 { grid-column: span 8; grid-row: span 2; min-height: 460px; }
  .card.c-6 { grid-column: span 4; grid-row: span 2; min-height: 460px; }
  .card.c-7 { grid-column: span 5; grid-row: span 2; min-height: 340px; }
  .card.c-8 { grid-column: span 7; grid-row: span 2; min-height: 340px; }
  .card.c-9 { grid-column: span 12; grid-row: span 2; min-height: 280px; }

  /* Stat callout (Gras2027) */
  .card .stat-anchor {
    position: absolute;
    right: 28px; top: 28px;
    text-align: right;
    pointer-events: none;
  }
  .card .stat-anchor .figure {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 72px;
    line-height: 1;
    color: var(--accent);
    letter-spacing: -0.01em;
  }
  .card .stat-anchor .cap {
    font-family: 'Space Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--muted);
    margin-top: 6px;
  }
  /* OPEN indicator */
  .open-indicator {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Space Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--accent);
  }
  .open-indicator .blink {
    width: 6px; height: 6px;
    background: var(--accent);
    border-radius: 50%;
    animation: blink 1.4s ease-in-out infinite;
  }
  @keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.25; }
  }

  .card .badge-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
  .card .badge {
    border: 0.5px solid var(--rule-soft);
    padding: 4px 10px;
    font-family: 'Space Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--muted);
  }

  .card .visual {
    flex: 1;
    margin-top: 18px;
    border: 0.5px solid var(--rule);
    position: relative;
    overflow: hidden;
    min-height: 120px;
    background:
      linear-gradient(180deg, transparent, rgba(245,197,24,0.04)),
      repeating-linear-gradient(45deg, #111 0 6px, #161616 6px 12px);
  }
  .card .visual .vlabel {
    position: absolute;
    left: 10px; bottom: 10px;
    font-family: 'Space Mono', monospace;
    font-size: 9px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #555;
  }
  .card .visual.diag-1 {
    background:
      radial-gradient(circle at 70% 30%, rgba(245,197,24,0.10), transparent 50%),
      repeating-linear-gradient(135deg, #101010 0 6px, #141414 6px 12px);
  }
  .card .visual.diag-2 {
    background:
      radial-gradient(circle at 30% 70%, rgba(240,237,230,0.05), transparent 60%),
      repeating-linear-gradient(0deg, #101010 0 1px, transparent 1px 12px),
      repeating-linear-gradient(90deg, #101010 0 1px, transparent 1px 12px),
      #0d0d0d;
  }

  /* ─── About ─── */
  .about {
    display: grid;
    grid-template-columns: 65% 35%;
    gap: 0;
    border-top: 0.5px solid var(--rule);
    border-bottom: 0.5px solid var(--rule);
  }
  .about .left {
    padding: 80px 40px 80px 32px;
    border-right: 0.5px solid var(--rule);
  }
  .about .right {
    padding: 80px 32px 80px 40px;
    display: flex; flex-direction: column; gap: 16px;
    justify-content: center;
  }
  .about .left h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(64px, 10vw, 180px);
    line-height: 0.86;
    text-transform: uppercase;
  }
  .about .left h2 .outline { color: transparent; -webkit-text-stroke: 2px var(--fg); }
  .about .left p {
    margin-top: 36px;
    font-size: 18px;
    line-height: 1.7;
    color: var(--fg);
    max-width: 56ch;
  }
  .about .left p + p { margin-top: 16px; color: var(--muted); }
  .about .right .kicker {
    font-family: 'Space Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 8px;
  }
  .pill {
    display: flex; align-items: center; gap: 12px;
    background: var(--bg);
    border: 0.5px solid var(--rule-soft);
    padding: 14px 16px;
    font-family: 'Space Mono', monospace;
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--fg);
    transition: border-color .22s, color .22s;
  }
  .pill:hover { border-color: var(--accent); }
  .pill .cross { color: var(--accent); font-size: 14px; }
  .pill .meta { margin-left: auto; color: var(--muted); font-size: 10px; }

  /* ─── Process strip ─── */
  .process {
    border-bottom: 0.5px solid var(--rule);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
  }
  .process .step {
    padding: 48px 28px;
    border-left: 0.5px solid var(--rule);
    min-height: 200px;
    display: flex; flex-direction: column; gap: 14px;
  }
  .process .step:first-child { border-left: none; }
  .process .step .n {
    font-family: 'Space Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.22em;
    color: var(--accent);
  }
  .process .step h4 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 36px;
    text-transform: uppercase;
    line-height: 1;
  }
  .process .step p {
    font-size: 14px; line-height: 1.6; color: var(--muted);
  }

  /* ─── Contact ─── */
  .contact {
    min-height: 100vh;
    padding: 120px 32px 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
  }
  .contact .kicker {
    font-family: 'Space Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 28px;
    display: flex; gap: 10px;
  }
  .contact h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(96px, 18vw, 280px);
    line-height: 0.84;
    letter-spacing: -0.005em;
    text-transform: uppercase;
    margin-left: -8px;
  }
  .contact h2 .outline { color: transparent; -webkit-text-stroke: 2px var(--fg); }
  .contact .body {
    max-width: 640px;
    margin-top: 48px;
    font-size: 18px;
    line-height: 1.7;
    color: var(--fg);
  }
  .contact .email-line {
    margin-top: 40px;
    display: flex; align-items: center; gap: 18px;
    font-family: 'Space Mono', monospace;
    font-size: 12px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--accent);
  }
  .contact .email-line a { position: relative; }
  .contact .email-line a::after {
    content: ''; position: absolute; left: 0; bottom: -4px;
    width: 100%; height: 1px; background: var(--accent);
    transform: scaleX(0); transform-origin: left; transition: transform .25s;
  }
  .contact .email-line a:hover::after { transform: scaleX(1); }
  .contact .social {
    margin-top: 16px;
    display: flex; gap: 28px;
    font-family: 'Space Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.22em;
    color: var(--muted);
  }
  .contact .social a:hover { color: var(--accent); }

  /* ─── Timeline ─── */
  .timeline {
    border-top: 0.5px solid var(--rule);
    border-bottom: 0.5px solid var(--rule);
    padding: 0;
    overflow: hidden;
  }
  .timeline .tl-head {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 24px;
    align-items: end;
    padding: 64px 32px 36px;
    border-bottom: 0.5px solid var(--rule);
  }
  .timeline .tl-head .kicker {
    font-family: 'Space Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--accent);
    display: flex; gap: 10px; align-items: center;
  }
  .timeline .tl-head h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(56px, 9vw, 128px);
    line-height: 0.9;
    text-transform: uppercase;
    letter-spacing: 0.005em;
    white-space: nowrap;
  }
  .timeline .tl-head h2 .outline { color: transparent; -webkit-text-stroke: 2px var(--fg); }
  .timeline .tl-head .range {
    font-family: 'Space Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--muted);
  }
  .tl-track {
    position: relative;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: thin;
    scrollbar-color: var(--rule-soft) transparent;
  }
  .tl-track::-webkit-scrollbar { height: 6px; }
  .tl-track::-webkit-scrollbar-thumb { background: var(--rule-soft); }
  .tl-row {
    display: grid;
    grid-template-columns: repeat(6, minmax(260px, 1fr));
    min-width: 100%;
    position: relative;
  }
  .tl-row::before {
    content: '';
    position: absolute;
    left: 32px; right: 32px;
    top: 88px;
    height: 0.5px;
    background: var(--rule);
  }
  .tl-row::after {
    content: '';
    position: absolute;
    left: 32px;
    top: 88px;
    height: 0.5px;
    width: 0;
    background: var(--accent);
    animation: tl-fill 2.4s cubic-bezier(.22,.9,.3,1) forwards;
  }
  @keyframes tl-fill { to { width: calc(100% - 64px); } }

  .tl-node {
    padding: 48px 24px 56px;
    border-left: 0.5px solid var(--rule);
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-height: 320px;
  }
  .tl-node:first-child { border-left: none; }
  .tl-node .year {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 48px;
    line-height: 1;
    color: var(--fg);
    letter-spacing: 0.01em;
  }
  .tl-node.is-now .year { color: var(--accent); }
  .tl-node .dot {
    position: absolute;
    left: 24px;
    top: 84px;
    width: 10px; height: 10px;
    background: var(--bg);
    border: 2px solid var(--fg);
    border-radius: 50%;
    z-index: 2;
    transition: transform .25s, border-color .25s, background .25s;
  }
  .tl-node.is-now .dot { border-color: var(--accent); background: var(--accent); box-shadow: 0 0 0 6px rgba(245,197,24,0.12); }
  .tl-node:hover .dot { transform: scale(1.4); border-color: var(--accent); }
  .tl-node .age {
    font-family: 'Space Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--muted);
    margin-top: 28px;
  }
  .tl-node h4 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 22px;
    text-transform: uppercase;
    line-height: 1.05;
    margin-top: 4px;
    letter-spacing: 0.01em;
  }
  .tl-node p {
    font-size: 13px;
    line-height: 1.55;
    color: var(--muted);
    margin-top: 4px;
  }
  .tl-node .tag {
    margin-top: auto;
    font-family: 'Space Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--accent);
  }
  .tl-foot {
    display: flex;
    justify-content: space-between;
    padding: 18px 32px;
    border-top: 0.5px solid var(--rule);
    font-family: 'Space Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--rule-soft);
  }
  .tl-foot .scroll-hint { color: var(--muted); }
  .tl-foot .scroll-hint .arr { color: var(--accent); }

  /* ─── Footer ─── */
  footer {
    border-top: 0.5px solid var(--rule);
    padding: 28px 32px;
    display: flex; justify-content: space-between; align-items: center;
    font-family: 'Space Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--rule-soft);
  }
  footer .center { color: var(--muted); display: flex; gap: 14px; align-items: center; }
  footer .center .cross { color: var(--accent); }

  /* ─── Responsive ─── */
  @media (max-width: 980px) {
    body { cursor: auto; }
    .cursor { display: none; }
    a, button { cursor: pointer; }
    .hero-light h1 { font-size: clamp(52px, 14vw, 100px); }
    .hero-dark h2 { font-size: clamp(40px, 10vw, 80px); }
    .section-head { grid-template-columns: 1fr; padding: 64px 20px 20px; }
    .section-head h2 { white-space: normal; font-size: clamp(48px, 12vw, 96px); }
    .projects { grid-template-columns: 1fr; padding: 16px 20px 60px; gap: 16px; }
    .card.c-1, .card.c-2, .card.c-3, .card.c-4, .card.c-5, .card.c-6, .card.c-7, .card.c-8, .card.c-9 { grid-column: span 1; min-height: 320px; }
    .card .stat-anchor { position: static; text-align: left; margin-top: 18px; }
    .card .stat-anchor .figure { font-size: 56px; }
    .about { grid-template-columns: 1fr; }
    .about .left { border-right: none; border-bottom: 0.5px solid var(--rule); padding: 60px 20px; }
    .about .right { padding: 60px 20px; }
    .process { grid-template-columns: 1fr 1fr; }
    .process .step { border-left: none; border-top: 0.5px solid var(--rule); }
    .process .step:nth-child(2) { border-left: 0.5px solid var(--rule); }
    .process .step:nth-child(odd) { border-left: none; }
    .hero-dark .stats { grid-template-columns: 1fr 1fr; gap: 24px 0; }
    .hero-dark .stats .cell { padding: 12px 16px; border-left: 0.5px solid var(--rule); }
    .hero-dark .stats .cell:nth-child(odd) { border-left: none; padding-left: 0; }
    nav.top { grid-template-columns: 1fr auto; padding: 0 20px; }
    nav.top .rule, nav.top .links { display: none; }
    .float-1, .float-2, .float-3 { display: none; }
    .contact h2 { font-size: clamp(72px, 18vw, 140px); }
    .bleed, .hero-light, .hero-dark, .contact { padding-left: 20px; padding-right: 20px; }
    .timeline .tl-head { grid-template-columns: 1fr; padding: 48px 20px 24px; gap: 14px; }
    .timeline .tl-head h2 { white-space: normal; font-size: clamp(48px, 12vw, 88px); }
    .tl-row { grid-template-columns: repeat(6, 240px); }
    .tl-foot { padding: 14px 20px; }
    footer { padding: 20px; flex-wrap: wrap; gap: 10px; }
  }

  @media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
      animation-duration: 0.001ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: 0.001ms !important;
    }
    .hero-light h1 .word { transform: none; opacity: 1; }
  }

  /* fade-in on intersect */
  .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s cubic-bezier(.22,.9,.3,1); }
  .reveal.in { opacity: 1; transform: translateY(0); }
