  @font-face {
    font-family: "Geist Variable";
    src: url("../assets/fonts/geist-latin-wght-normal.woff2") format("woff2");
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
  }
  @font-face {
    font-family: "Geist Mono Variable";
    src: url("../assets/fonts/geist-mono-latin-wght-normal.woff2") format("woff2");
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
  }
  :root {
    --canvas: #0A0A0A; --panel: #121212; --ink: #FFFFFF; --subtle: #A1A1A1; --lime: #DAFF00;
    --hairline: rgba(255,255,255,0.12); --hairline-strong: rgba(255,255,255,0.28);
    --sans: "Geist Variable", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
    --mono: "Geist Mono Variable", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
    --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
    --gutter: clamp(20px, 5vw, 72px);
    box-sizing: border-box;
    padding-top: env(safe-area-inset-top, 0px);
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }
  @media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --canvas: #0A0A0A; --ink: #FFFFFF; --subtle: #A1A1A1; } }
  :root[data-theme="dark"] { --canvas: #0A0A0A; --ink: #FFFFFF; --subtle: #A1A1A1; }
  *, *::before, *::after { box-sizing: inherit; margin: 0; padding: 0; }
  html { background: var(--canvas); scroll-padding-top: env(safe-area-inset-top, 0px); height: 100%; }
  body {
    background: var(--canvas); color: var(--ink); font-family: var(--sans);
    font-size: clamp(18px, 1.3vw, 21px); line-height: 1.55; -webkit-font-smoothing: antialiased;
    display: flex; flex-direction: column; min-height: 100vh; min-height: 100dvh;
  }
  html.fit, html.fit body { height: 100%; overflow: hidden; }
  html.fit body { min-height: 0; }
  a { color: inherit; text-decoration: none; }
  ::selection { background: var(--lime); color: #0A0A0A; }
  a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible { outline: 2px solid var(--lime); outline-offset: 4px; }

  /* Film grain */
  .grain { position: fixed; inset: 0; z-index: 50; pointer-events: none; opacity: 0.05;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  }
  @keyframes grain { 0%{transform:translate(0,0)} 20%{transform:translate(-3%,2%)} 40%{transform:translate(2%,-3%)} 60%{transform:translate(-2%,-1%)} 80%{transform:translate(3%,3%)} 100%{transform:translate(0,0)} }

  /* Point cloud */
  .pc { position: fixed; inset: 0; z-index: 0; overflow: hidden; perspective: 1400px; pointer-events: none; opacity: 0; transition: opacity 1600ms var(--ease); }
  .pc.on { opacity: 1; }
  .pc-img { position: absolute; top: -4%; left: -4%; width: 108%; height: 108%;
    background: url("../assets/pointcloud-street.jpg") 50% 30% / cover no-repeat;
    opacity: 0.26; will-change: transform; transform-origin: 72% 12%; }
  .pc::after { content: ""; position: absolute; inset: 0;
    background: radial-gradient(ellipse 46% 30% at 50% 50%, rgba(10,10,10,0.82) 0%, rgba(10,10,10,0.45) 60%, rgba(10,10,10,0.15) 100%), linear-gradient(rgba(10,10,10,0.55), rgba(10,10,10,0) 18%, rgba(10,10,10,0) 80%, rgba(10,10,10,0.7)); }

  /* Header */
  header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20;
    display: flex; justify-content: space-between; align-items: center; padding: 28px var(--gutter);
    background: linear-gradient(var(--canvas) 55%, rgba(10,10,10,0)); }
  .wordmark { font-weight: 600; font-size: 22px; letter-spacing: -0.02em; }
  nav { display: flex; gap: clamp(20px, 3vw, 44px); }
  .link { position: relative; font-size: 16px; color: var(--subtle); padding: 6px 0; transition: color 300ms var(--ease); }
  .link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--ink); transform: scaleX(0); transform-origin: right; transition: transform 500ms var(--ease); }
  .link:hover, .link[aria-current="page"] { color: var(--ink); }
  .link:hover::after, .link[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }

  main { flex: 1; position: relative; z-index: 1; display: flex; flex-direction: column; }
  .view { display: none; }
  .view.active { display: flex; flex-direction: column; animation: viewIn 350ms ease both; }
  @keyframes viewIn { from { opacity: 0; } to { opacity: 1; } }

  /* Buttons: pill, outline, fills with lime on hover */
  .btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-height: 56px; padding: 0 32px; border-radius: 999px; border: 1px solid var(--hairline-strong);
    color: var(--ink); font-family: var(--sans); font-size: 18px; font-weight: 500; letter-spacing: -0.005em;
    background: transparent; cursor: pointer; overflow: hidden; isolation: isolate;
    transition: color 250ms ease, border-color 250ms ease, background-color 250ms ease; }
  .btn:hover, .btn:focus-visible { color: #0A0A0A; border-color: var(--lime); background-color: var(--lime); }
  .btn:disabled { opacity: 0.5; cursor: default; }

  /* Home */
  #home { flex: 1; justify-content: center; align-items: center; text-align: center; padding: 0 var(--gutter); }
  .headline { font-size: clamp(28px, 3.3vw, 54px); line-height: 1.15; font-weight: 500; letter-spacing: -0.025em; }
  .headline .l1, .headline .l2 { display: block; }
  @media (min-width: 1100px) { .headline .l1, .headline .l2 { white-space: nowrap; } }
  .caret { display: inline-block; width: 2px; height: 0.95em; background: var(--lime); margin-left: 4px; vertical-align: -0.1em; animation: blink 900ms steps(1) infinite; }
  @keyframes blink { 50% { opacity: 0; } }
  .w { opacity: 0; transition: opacity 900ms ease; }
  .w.in { opacity: 1; }
  .reveal-late { opacity: 0; transition: opacity 800ms ease; }
  .reveal-late.in { opacity: 1; }
  #home #homeBtn { margin-top: 52px; }
  .link-lg { font-size: 21px; font-weight: 500; color: var(--ink); padding: 10px 0; }
  .link-lg::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
    background: linear-gradient(90deg, rgba(255,255,255,0.35) 0%, rgba(255,255,255,0.35) 40%, rgba(255,255,255,1) 50%, rgba(255,255,255,0.35) 60%, rgba(255,255,255,0.35) 100%);
    background-size: 250% 100%; background-position: 100% 0; animation: shimmer 3.2s ease-in-out 3.5s infinite; }
  .link-lg:hover::before { animation-play-state: paused; }
  @keyframes shimmer { 0% { background-position: 100% 0; } 55%, 100% { background-position: 0% 0; } }
  .link-lg::after { background: var(--lime); height: 2px; bottom: -0.5px; }

  /* Countdown chip */
  .chip { display: inline-flex; align-items: center; gap: 14px; padding: 10px 18px 10px 14px; border-radius: 999px;
    border: 1px solid var(--hairline); background: rgba(18,18,18,0.7); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    transition: border-color 400ms var(--ease); }
  .chip:hover { border-color: var(--lime); }
  .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 0 rgba(218,255,0,0.6); animation: pulse 2s ease-out infinite; }
  @keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(218,255,0,0.55); } 70% { box-shadow: 0 0 0 10px rgba(218,255,0,0); } 100% { box-shadow: 0 0 0 0 rgba(218,255,0,0); } }
  .chip .lbl { font-size: 15px; color: var(--subtle); }
  .countdown { display: inline-flex; align-items: center; gap: 12px; font-size: 16px; }
  .countdown .t { font-family: var(--mono); font-size: 16px; font-variant-numeric: tabular-nums; color: var(--ink); }
  .chip .t { font-family: var(--mono); font-size: 16px; font-variant-numeric: tabular-nums; letter-spacing: 0.01em; }

  /* Footer */
  footer { position: relative; z-index: 2; padding: 0 var(--gutter) 28px; }
  .foot-top { display: flex; justify-content: flex-end; margin-bottom: 24px; }
  .foot { display: flex; justify-content: center; align-items: center; padding-top: 12px; }
  .foot .links { display: flex; flex-wrap: wrap; gap: 14px 36px; }
  .foot .legal { font-size: 15px; color: var(--subtle); }
  @media (max-width: 720px) { .foot-top { justify-content: center; } .foot { justify-content: center; text-align: center; } .foot .links { justify-content: center; gap: 12px 24px; } }

  /* Long pages */
  .page { padding: 10vh var(--gutter) 16vh; }
  .col { max-width: 680px; margin: 0 auto; width: 100%; }
  .kicker { font-size: 16px; color: var(--subtle); margin-bottom: 20px; display: block; }
  .page h1 { font-size: clamp(40px, 5vw, 80px); font-weight: 500; letter-spacing: -0.035em; line-height: 1.02; margin-bottom: 56px; }
  .page p { margin-bottom: 1.2em; }
  .section { margin-top: 112px; }
  .num { display: block; font-family: var(--mono); font-size: 15px; color: var(--subtle); margin-bottom: 16px; }
  .section h2 { font-size: clamp(30px, 3vw, 44px); font-weight: 500; letter-spacing: -0.02em; line-height: 1.12; margin-bottom: 28px; }
  .costs div, .steps div { border-top: 1px solid var(--hairline); padding: 24px 0; }
  .costs strong, .steps strong { display: block; font-weight: 500; margin-bottom: 6px; }
  .steps div { display: grid; grid-template-columns: 64px 1fr; gap: 16px; }
  .steps .n { font-family: var(--mono); color: var(--subtle); font-size: 16px; padding-top: 3px; }
  .figure { margin: 112px auto 0; max-width: 1280px; width: 100%; }
.figure-photo { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 4px; }
.figure-photo--street { filter: brightness(.95) saturate(.95); }
@media (max-width: 640px) { .figure-photo { aspect-ratio: 4 / 5; } }
  .placeholder { aspect-ratio: 16 / 9; background: var(--panel); border: 1px solid var(--hairline); border-radius: 4px; display: flex; align-items: center; justify-content: center; text-align: center; padding: 24px; }
  .placeholder span { font-size: 16px; color: var(--subtle); }
  @media (max-width: 640px) { .placeholder { aspect-ratio: 4 / 5; } }
  .pull { margin: 160px auto 0; max-width: 1100px; text-align: center; }
  .pull q { font-size: clamp(40px, 5.5vw, 88px); font-weight: 500; letter-spacing: -0.035em; line-height: 1.04; color: var(--lime); }
  .close { margin-top: 160px; }
  .close .final { font-size: clamp(34px, 4vw, 60px); font-weight: 500; letter-spacing: -0.025em; line-height: 1.1; }
  .signature { margin-top: 64px; }
  .signature .name { font-weight: 500; margin: 0; }
  .signature .title { color: var(--subtle); }
  .close .btn { margin-top: 48px; }
  .rv { opacity: 0; transition: opacity 800ms ease; }
  .rv.in { opacity: 1; }

  /* Next (countdown) */
  #next { flex: 1; justify-content: center; align-items: center; text-align: center; padding: 4vh var(--gutter) 8vh; }
  .date { font-size: 17px; color: var(--subtle); margin-bottom: 36px; }
  .clock { display: flex; gap: clamp(14px, 3vw, 52px); justify-content: center; align-items: flex-start; }
  .unit { display: flex; flex-direction: column; align-items: center; }
  .unit .v { font-family: var(--mono); font-weight: 500; font-size: clamp(56px, 9vw, 148px); line-height: 1; letter-spacing: -0.05em; font-variant-numeric: tabular-nums; }
  .unit .l { font-size: 15px; color: var(--subtle); margin-top: 18px; }
  .sep { font-family: var(--mono); font-size: clamp(56px, 9vw, 148px); line-height: 1; color: rgba(255,255,255,0.18); }
  .tease { margin-top: 44px; font-size: clamp(24px, 2.4vw, 36px); font-weight: 500; letter-spacing: -0.02em; line-height: 1.25; max-width: 24ch; }
  .sub { margin-top: 16px; color: var(--subtle); max-width: 40ch; }
  .signup { margin-top: 40px; display: flex; gap: 10px; width: 100%; max-width: 560px; padding: 6px; border: 1px solid var(--hairline-strong); border-radius: 999px; background: rgba(18,18,18,0.6); }
  .signup input { flex: 1; min-width: 0; background: transparent; border: 0; color: var(--ink); font-family: var(--sans); font-size: 18px; padding: 0 20px; min-height: 52px; }
  .signup input:focus-visible { outline: none; }
  .signup:focus-within { border-color: var(--ink); }
  .signup .btn { min-height: 52px; }
  .status { margin-top: 20px; font-size: 17px; color: var(--subtle); min-height: 1.6em; }
  .status.ok { color: var(--ink); }
  @media (max-width: 640px) { .sep { display: none; } .signup { flex-direction: column; border-radius: 28px; } .signup input { min-height: 52px; } }


  /* Contact */
  .tabs { display: inline-flex; padding: 5px; border: 1px solid var(--hairline); border-radius: 999px; margin-bottom: 48px; }
  .tab { font-family: var(--sans); font-size: 16px; color: var(--subtle); background: transparent; border: 0; border-radius: 999px; padding: 12px 22px; cursor: pointer; transition: all 400ms var(--ease); }
  .tab[aria-selected="true"] { background: var(--ink); color: #0A0A0A; }
  .grid2 { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(40px, 6vw, 96px); max-width: 1100px; margin: 0 auto; width: 100%; }
  @media (max-width: 860px) { .grid2 { grid-template-columns: 1fr; } }
  .field { position: relative; margin-bottom: 8px; }
  .field input, .field textarea { width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--hairline-strong); color: var(--ink); font-family: var(--sans); font-size: 19px; padding: 26px 0 12px; resize: vertical; transition: border-color 400ms var(--ease); }
  .field textarea { min-height: 140px; }
  .field label { position: absolute; left: 0; top: 26px; font-size: 19px; color: var(--subtle); pointer-events: none; transition: all 350ms var(--ease); }
  .field input:focus, .field textarea:focus { outline: none; border-color: var(--ink); }
  .field input:focus + label, .field input:not(:placeholder-shown) + label, .field textarea:focus + label, .field textarea:not(:placeholder-shown) + label { top: 2px; font-size: 15px; }
  .form .btn { margin-top: 36px; }
  .direct h3 { font-size: 15px; font-weight: 400; color: var(--subtle); margin-bottom: 6px; }
  .direct div { margin-bottom: 32px; }
  .direct a { font-size: 20px; }
  .roles div { border-top: 1px solid var(--hairline); padding: 26px 0; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
  .roles .team { color: var(--subtle); }


  .wordmark img { display: block; height: 20px; width: auto; }
  .lime { color: var(--lime); }
  .ch { opacity: 0; }
  .ch.in { opacity: 1; }
  .cta-wrap { display: inline-flex; flex-direction: column; align-items: center; }
  .cta-wrap.left { align-items: flex-start; }
  .cta-hat { width: 34px; height: auto; margin-bottom: 6px; display: block; }
  .cta-wrap.left .cta-hat { margin-left: 0; }
  .close .cta-wrap { margin-top: 56px; }
  .as-link { background: none; border: 0; cursor: pointer; font-family: var(--sans); }
  .form-cta { margin-top: 36px; }
  .contact-hat { width: 56px; height: auto; display: block; margin-bottom: 28px; }
  .direct { padding-top: clamp(0px, 10vh, 140px); }

  .pull q { color: var(--ink) !important; font-weight: 400; quotes: none; }
  .pull::before { content: ""; display: block; width: 48px; height: 2px; background: var(--lime); margin: 0 auto 40px; }

  .quad { max-width: 1100px; margin: 8px auto 0; width: 100%; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--hairline); border-left: 1px solid var(--hairline); }
  .quad div { padding: clamp(28px, 4vw, 56px); border-right: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); display: flex; flex-direction: column; gap: 12px; min-height: 220px; justify-content: flex-end; }
  .quad strong { font-size: clamp(28px, 2.8vw, 42px); font-weight: 500; letter-spacing: -0.02em; line-height: 1.1; }
  .quad span { color: var(--subtle); font-size: clamp(19px, 1.55vw, 22px); line-height: 1.5; text-wrap: balance; }
  @media (max-width: 640px) { .quad { grid-template-columns: 1fr; } .quad div { min-height: 0; } }

  .helmet-feature { margin: 80px auto 0; text-align: center; }
  .helmet-feature img { width: clamp(120px, 14vw, 180px); height: auto; }

  .loop { max-width: 1100px; margin: 24px auto 0; width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
  .loop svg { width: 100%; max-width: 440px; justify-self: center; font-family: var(--sans); }
  .loop-steps div { border-top: 1px solid var(--hairline); padding: 24px 0; }
  .loop-steps strong { display: block; font-weight: 500; margin-bottom: 4px; }
  .loop-steps span { color: var(--subtle); }
  .spin { transform-origin: 220px 220px; transform-box: view-box; }
  .spin.slow { animation: spin 90s linear infinite; }
  .spin.rev { animation: spin 60s linear infinite reverse; }
  .spin.orbit { animation: spin 14s linear infinite; }
  @keyframes spin { to { transform: rotate(360deg); } }
  @media (max-width: 800px) { .loop { grid-template-columns: 1fr; } }


  /* One container: every block shares the same left edge and width */
  :root { --container: 1080px; }
  #manifesto .col, #manifesto .figure, #manifesto .quad, #manifesto .loop, #manifesto .pull, #manifesto .helmet-feature { max-width: var(--container); margin-left: auto; margin-right: auto; width: 100%; }
  #manifesto p, #manifesto .section h2 { max-width: 680px; }
  #manifesto .col > p, #manifesto .section p, #manifesto .loop-steps span { font-size: calc(1em + 2pt); }
  #manifesto .quad span { font-size: calc(clamp(19px, 1.55vw, 22px) + 2pt); }
  #manifesto .kicker, #manifesto .num, header nav .link { font-size: calc(clamp(18px, 1.3vw, 21px) + 2pt); }
  #manifesto h1 { max-width: 18ch; }
  #manifesto .pull { text-align: left; }
  #manifesto .pull::before { margin: 0 0 40px; }
  #manifesto .pull q { font-size: clamp(36px, 4.6vw, 72px); display: block; max-width: 20ch; }
  #manifesto .helmet-feature { text-align: left; }
  #manifesto .loop svg { justify-self: start; }
  #manifesto .proof-links { max-width: 680px; display: flex; flex-wrap: wrap; gap: 12px 32px; padding-top: 12px; }
  #manifesto .proof-links .link-lg { font-size: clamp(21px, 2vw, 24px); white-space: nowrap; }
  .page { padding-top: 14vh; }


  /* Announcement */
  .foot-hat { display: none; width: 40px; height: auto; }
  html.on-next .foot .countdown { display: none; }
  html.on-next .foot .foot-hat { display: block; animation: hatIn 900ms ease 400ms both; }
  @keyframes hatIn { from { opacity: 0; } to { opacity: 1; } }
  /* Easter egg: the helmet tips its hat */
  .foot-hat, .cta-hat, .contact-hat, .helmet-feature img { transform-origin: 85% 100%; transition: transform 450ms cubic-bezier(0.34, 1.56, 0.64, 1); cursor: default; }
  .foot-hat:hover, .contact-hat:hover, .talk:hover .contact-hat, .helmet-feature img:hover, .cta-wrap:hover .cta-hat { transform: translateY(-7px) rotate(-14deg); }
  #next .kicker { margin-bottom: 10px; }
  #next .date { font-size: 18px; color: var(--ink); margin-bottom: 48px; }
  #next .clock { gap: 0; }
  #next .unit { padding: 0 clamp(18px, 3.4vw, 56px); }
  #next .unit + .unit { border-left: 1px solid var(--hairline); }
  #next .unit .v { font-weight: 400; font-size: clamp(52px, 8vw, 128px); letter-spacing: -0.04em; }
  #next .unit .l { margin-top: 14px; }
  footer .countdown, footer .countdown .t, #next .unit .l, #next .sub { font-size: calc(clamp(18px, 1.3vw, 21px) + 2pt); }
  @media (max-width: 480px) {
    .foot .countdown { flex-wrap: wrap; justify-content: center; row-gap: 0; }
    .foot .countdown .t { flex-basis: 100%; text-align: center; }
  }
  #next .tease { margin-top: 64px; }
  #next .tease, #next .sub { max-width: 34ch; text-wrap: balance; }
  #next .sub { max-width: 48ch; }
  @media (max-width: 959px) { #next .sub span { display: block; } }
  @media (min-width: 960px) { #next .tease, #next .sub { max-width: none; white-space: nowrap; } }
  .notify { margin-top: 44px; display: flex; align-items: flex-end; gap: 40px; width: 100%; max-width: 640px; }
  .notify .field { flex: 1; margin: 0; text-align: left; }
  .notify .cta-wrap { flex: none; }
  #next .status { margin-top: 24px; }
  @media (max-width: 640px) {
    .notify { flex-direction: column; align-items: center; gap: 32px; }
    .notify .field { width: 100%; }
    #next .unit { padding: 0 12px; }
  }
  @media (max-width: 380px) {
    #next .clock { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; max-width: 288px; }
    #next .unit { padding: 10px 8px; }
    #next .unit:nth-child(3) { border-left: 0; }
    #next .unit:nth-child(n+3) { border-top: 1px solid var(--hairline); }
    #next .unit .l { margin-top: 8px; }
    #next .tease { margin-top: 32px; }
  }


  .after-pull { margin-top: 96px; }
  header { gap: 16px; }
  @media (max-width: 640px) {
    header { padding: 18px var(--gutter); }
    .wordmark img { height: 16px; }
    nav { gap: 12px; }
    .link { font-size: 15px; }
    .link-lg { font-size: 19px; }
    .page { padding-top: 8vh; padding-bottom: 10vh; }
    .page h1 { margin-bottom: 36px; }
    .section, .figure { margin-top: 72px; }
    .pull, .close { margin-top: 96px; }
    .after-pull { margin-top: 64px; }
    .helmet-feature { margin-top: 48px; }
    .quad div { padding: 24px; gap: 8px; }
    .contact-hat { width: 44px; margin-bottom: 20px; }
    .direct { padding-top: 32px; margin-top: 16px; border-top: 1px solid var(--hairline); }
    .direct div { margin-bottom: 24px; }
    #next .date { margin-bottom: 32px; }
    #next .tease { margin-top: 44px; }
    #home .headline { font-size: clamp(28px, 7.4vw, 34px); }
  }
  @media (max-width: 380px) { header { padding-inline: 12px; gap: 4px; } nav { gap: 6px; } }
  @media (max-width: 340px) { header { flex-direction: column; align-items: flex-start; gap: 6px; } nav { align-self: flex-end; } }


  /* Section 3 micro animations */
  .quad .qi { width: 72px; height: 40px; margin-bottom: auto; overflow: visible; }
  .quad div { gap: 12px; }
  .quad strong { margin-top: 40px; }
  .qi-cost { stroke-dasharray: 100; animation: draw 5s ease-in-out infinite; }
  .qi-cost-dot { opacity: 0; animation: dotIn 5s ease-in-out infinite; }
  @keyframes draw { 0% { stroke-dashoffset: 100; } 55%, 85% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 0; opacity: 0; } }
  @keyframes dotIn { 0%, 50% { opacity: 0; } 58%, 85% { opacity: 1; } 100% { opacity: 0; } }
  /* Safety: a car reaches the crosswalk as someone crosses */
  .qi-car, .qi-ped, .qi-hit { transform-box: view-box; }
  .qi-car { animation: car 5.8s cubic-bezier(0.5, 0, 0.9, 0.6) 0.6s infinite; }
  .qi-ped { animation: ped 5.8s ease-in-out 0.6s infinite; }
  .qi-hit { opacity: 0; transform-origin: 44px 23px; animation: hit 5.8s ease-out 0.6s infinite; }
  @keyframes car { 0% { transform: translateX(0); opacity: 0; } 8% { opacity: 1; } 52% { transform: translateX(31px); } 68% { transform: translateX(31px); opacity: 1; } 88%, 100% { transform: translateX(31px); opacity: 0; } }
  @keyframes ped { 0%, 12% { transform: translateY(0); opacity: 0; } 18% { opacity: 1; } 52% { transform: translateY(-13px); } 68% { transform: translateY(-13px); opacity: 1; } 88%, 100% { transform: translateY(-13px); opacity: 0; } }
  @keyframes hit { 0%, 51% { opacity: 0; transform: scale(0.4); } 56% { opacity: 1; } 73%, 100% { opacity: 0; transform: scale(1.8); } }
  /* Equity: the loud block gets fixed, the quiet ones never do */
  .qi-eq { animation: eq 4.6s ease-in-out 1.6s infinite; opacity: 0.12; }
  @keyframes eq { 0%, 100% { opacity: 0.12; } 45%, 75% { opacity: 1; } }
  .qi-wave { opacity: 0; animation: wave 4.6s ease-out 1.6s infinite; }
  .qi-wave.w2 { animation-delay: 1.9s; }
  @keyframes wave { 0% { opacity: 0; } 12% { opacity: 0.9; } 40%, 100% { opacity: 0; } }
  /* Accountability: responsibility gets passed around and never lands */
  .qi-buck { transform-box: view-box; animation: buck 5.8s ease-in-out 0.3s infinite; }
  @keyframes buck { 0%, 12% { transform: translate(0, 0); } 30%, 42% { transform: translate(28px, -22px); } 60%, 72% { transform: translate(56px, 0); } 90%, 100% { transform: translate(0, 0); } }
  @media (max-width: 640px) { .quad strong { margin-top: 20px; } }

  #next .top-hat { width: 40px; height: auto; display: block; margin: 0 auto 18px; }

  /* Success states */
  .success { animation: successIn 700ms ease both; outline: none; }
  [hidden] { display: none !important; }
  .contact-hat.tipping, .foot-hat.tipping { animation: tip 1100ms cubic-bezier(0.34, 1.56, 0.64, 1) 250ms both; }
  .success.center { margin-top: 44px; text-align: center; display: flex; flex-direction: column; align-items: center; }
  .success h2 { font-size: clamp(30px, 3vw, 44px); font-weight: 500; letter-spacing: -0.02em; line-height: 1.1; margin: 8px 0 12px; }
  .success p { color: var(--subtle); margin-bottom: 32px; }
  .success.center p { margin-bottom: 0; }
  .success-hat { width: 48px; height: auto; display: block; transform-origin: 85% 100%; animation: tip 1100ms cubic-bezier(0.34, 1.56, 0.64, 1) 350ms both; }
  #contact .success { margin-top: 12px; }
  @keyframes successIn { from { opacity: 0; } to { opacity: 1; } }
  @keyframes tip { 0% { transform: none; } 35%, 60% { transform: translateY(-8px) rotate(-16deg); } 100% { transform: none; } }

  @media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .w, .ch, .reveal-late, .rv { opacity: 1 !important; filter: none !important; transform: none !important; }
  }
