  /* Layout: a small society site in the AIIMO poster's language — graph paper, navy ink, electric blue.
     Four views (Home, About, Termcard, Write-ups) switched by #hash, with full-width navy bands between paper sections. */
  :root {
    color-scheme: light;
    --paper: #F7F6EF;
    --grid-minor: rgba(15, 26, 43, 0.05);
    --grid-major: rgba(15, 26, 43, 0.10);
    --ink: #0F1A2B;
    --ink-soft: #3B4558;
    --blue: #2340D8;
    --blue-soft: #8EA0F0;
    --white: #FFFFFF;
    --navy-grid: rgba(255, 255, 255, 0.06);
    --rule: rgba(15, 26, 43, 0.85);
    --sans: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
    --mono: "JetBrains Mono", Consolas, "SFMono-Regular", Menlo, monospace;
    --max: 1120px;
    --gutter: clamp(16px, 4vw, 40px);
  }
  * { box-sizing: border-box; }
  html { scroll-behavior: smooth; scroll-padding-top: 84px; }
  @media (max-width: 760px) { html { scroll-padding-top: 124px; } }
  body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 11; background: var(--paper); }
  body {
    margin: 0;
    background-color: var(--paper);
    background-image:
      linear-gradient(var(--grid-major) 1px, transparent 1px),
      linear-gradient(90deg, var(--grid-major) 1px, transparent 1px),
      linear-gradient(var(--grid-minor) 1px, transparent 1px),
      linear-gradient(90deg, var(--grid-minor) 1px, transparent 1px);
    background-size: 120px 120px, 120px 120px, 24px 24px, 24px 24px;
    background-position: -1px -1px;
    color: var(--ink);
    font-family: var(--sans);
    font-size: 18px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
  }
  a { color: inherit; }
  h1, h2, h3 { text-wrap: balance; }
  .wrap { max-width: var(--max); margin: 0 auto; padding-left: max(var(--gutter), env(safe-area-inset-left, 0px)); padding-right: max(var(--gutter), env(safe-area-inset-right, 0px)); }
  .mono { font-family: var(--mono); text-transform: uppercase; letter-spacing: 0.14em; font-size: 13px; color: var(--ink-soft); }
  .blue { color: var(--blue); }
  .prose { max-width: 680px; }
  .prose p { margin: 0 0 16px; color: var(--ink-soft); font-size: 19px; }
  .prose a { color: var(--blue); font-weight: 700; text-underline-offset: 3px; }

  /* ---------- header ---------- */
  header.top {
    position: sticky; top: env(safe-area-inset-top, 0px); z-index: 10;
    background: rgba(247, 246, 239, 0.94);
    backdrop-filter: blur(6px);
    border-bottom: 1px solid var(--grid-major);
  }
  .bar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 68px; gap: 16px; }
  .bar nav ul { list-style: none; display: flex; gap: 18px; margin: 0; padding: 0; }
  .bar nav a, .subnav a {
    text-decoration: none; font-family: var(--mono); font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft);
    padding: 4px 0; border-bottom: 2px solid transparent;
  }
  .bar nav a:hover, .subnav a:hover { color: var(--blue); }
  .bar nav a[aria-current="page"], .subnav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--blue); }
  .wordmark { font-weight: 300; font-size: 30px; letter-spacing: -0.02em; text-decoration: none; justify-self: center; line-height: 1; }
  .bar .right { justify-self: end; }
  .subnav { display: none; }
  @media (max-width: 760px) {
    .bar { grid-template-columns: auto 1fr; height: 60px; }
    .bar nav { display: none; }
    .wordmark { justify-self: start; }
    .subnav { display: block; border-top: 1px solid var(--grid-major); }
    .subnav ul { list-style: none; margin: 0; padding: 0; display: flex; justify-content: space-between; gap: 12px; }
    .subnav a { font-size: 12px; letter-spacing: 0.06em; display: inline-flex; align-items: center; min-height: 44px; padding: 0; }
    .subnav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--blue); border-bottom-color: transparent; }
  }

  /* ---------- buttons ---------- */
  .btn {
    display: inline-flex; align-items: center; gap: 10px;
    background: var(--ink); color: var(--white);
    font-weight: 700; font-size: 17px; letter-spacing: -0.01em;
    padding: 12px 20px; text-decoration: none; border: 1.5px solid var(--ink);
    transition: transform .15s ease, box-shadow .15s ease;
  }
  .btn .arrow { color: var(--blue-soft); }
  @media (hover: hover) { .btn:hover { transform: translate(-3px, -3px); box-shadow: 3px 3px 0 var(--blue); } }
  .btn:focus-visible { transform: translate(-3px, -3px); box-shadow: 3px 3px 0 var(--blue); }
  .btn.small { font-size: 15px; padding: 9px 14px; }
  .btn.ghost { background: var(--paper); color: var(--ink); }
  .btn.light { background: var(--white); color: var(--ink); border-color: var(--white); }
  .btn.light .arrow { color: var(--blue); }
  .btn.light:hover { box-shadow: 3px 3px 0 var(--blue-soft); }
  .btns { display: flex; flex-wrap: wrap; gap: 14px; }

  /* ---------- views ---------- */

  /* ---------- fig dividers ---------- */
  .fig { display: flex; align-items: center; gap: 14px; font-family: var(--mono); font-size: 14px; color: var(--ink-soft); margin: 0 0 24px; }
  .fig::before, .fig::after { content: ""; flex: 1; height: 1px; background: var(--rule); }
  .fig span { white-space: nowrap; }
  .fig.left::before { flex: 0 0 24px; }
  .band .fig { color: var(--blue-soft); }
  .band .fig::before, .band .fig::after { background: rgba(255,255,255,0.4); }

  /* ---------- hero ---------- */
  .hero { padding-block: clamp(56px, 10vw, 112px) clamp(56px, 8vw, 96px); text-align: center; }
  .hero .eyebrow { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; margin-bottom: 26px; }
  .headline { font-weight: 900; font-size: clamp(42px, 9vw, 116px); line-height: 0.95; letter-spacing: -0.045em; margin: 0 auto 28px; max-width: 12ch; }
  .hero .sub { font-size: clamp(19px, 2.2vw, 24px); color: var(--ink-soft); max-width: 620px; margin: 0 auto 36px; }
  .hero .btns { justify-content: center; }
  .hero .foot { margin-top: 40px; font-family: var(--mono); font-size: clamp(15px, 1.8vw, 19px); }
  .hero .foot .arrow { color: var(--blue); }

  .page-head { padding-block: clamp(48px, 8vw, 88px) 24px; }
  .page-head h1 { font-weight: 900; font-size: clamp(48px, 8vw, 96px); line-height: 0.95; letter-spacing: -0.045em; margin: 0 0 18px; }
  .page-head .lede { font-size: clamp(19px, 2.2vw, 22px); color: var(--ink-soft); max-width: 680px; margin: 0; }

  section.block { padding-block: 64px; }
  h2 { font-weight: 900; font-size: clamp(34px, 5vw, 56px); line-height: 1; letter-spacing: -0.04em; margin: 0 0 18px; }
  .lede { font-size: clamp(18px, 2vw, 21px); color: var(--ink-soft); max-width: 680px; margin: 0 0 32px; }

  /* ---------- navy bands ---------- */
  .band {
    background-color: var(--ink);
    background-image:
      linear-gradient(var(--navy-grid) 1px, transparent 1px),
      linear-gradient(90deg, var(--navy-grid) 1px, transparent 1px);
    background-size: 24px 24px;
    color: var(--white);
    padding-block: 72px;
  }
  .band h2 { color: var(--white); }
  .band .lede, .band p { color: rgba(255,255,255,0.78); }
  .band .mono { color: var(--blue-soft); }
  .band .blue { color: var(--blue-soft); }
  .stripe {
    height: 14px;
    background-color: var(--ink);
    background-image: linear-gradient(90deg, var(--blue) 0 24px, var(--ink) 24px 48px);
    background-size: 48px 100%;
    background-repeat: repeat-x;
  }

  /* ---------- who we are ---------- */
  .who { display: grid; grid-template-columns: 1fr 1.3fr; gap: 48px; align-items: start; }
  .who > * { min-width: 0; }
  @media (max-width: 860px) { .who { grid-template-columns: 1fr; gap: 20px; } }

  /* ---------- carousel ---------- */
  .carousel-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; margin-bottom: 26px; }
  .carousel-head h2 { margin: 0; }
  .arrows { display: flex; gap: 10px; }
  .arrows button {
    width: 48px; height: 48px; font-family: var(--mono); font-size: 20px; cursor: pointer;
    background: var(--white); color: var(--ink); border: 1.5px solid var(--ink);
  }
  @media (hover: hover) { .arrows button:hover:not(:disabled) { box-shadow: 3px 3px 0 var(--blue); transform: translate(-2px, -2px); } }
  .arrows button:disabled { opacity: .35; cursor: default; }
  .no-js .arrows { display: none; }
  .track {
    position: relative; display: grid; grid-auto-flow: column; overflow-y: hidden; overscroll-behavior-x: contain; grid-auto-columns: minmax(280px, 340px); gap: 22px;
    overflow-x: auto; scroll-snap-type: x proximity; padding: 4px 12px 22px 2px; scrollbar-width: thin;
  }
  .exhibit {
    scroll-snap-align: start; background: var(--white); border: 1.5px solid var(--ink); padding: 24px;
    display: flex; flex-direction: column; gap: 10px; min-height: 260px;
  }
  .exhibit.ox { box-shadow: 7px 7px 0 var(--blue); }
  .exhibit .top { display: flex; justify-content: space-between; gap: 8px; }
  .exhibit h3 { font-weight: 800; font-size: 23px; letter-spacing: -0.025em; line-height: 1.15; margin: 4px 0 0; }
  .exhibit .src { margin-top: auto; font-size: 15px; color: var(--ink-soft); }
  .tag-ox { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--white); background: var(--blue); padding: 2px 6px; align-self: start; }

  /* ---------- mailing list ---------- */
  .mail { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center; }
  .mail > * { min-width: 0; }
  .mail .btns { justify-content: flex-end; }
  @media (max-width: 760px) { .mail { grid-template-columns: 1fr; } .mail .btns { justify-content: flex-start; } }

  /* ---------- stats ---------- */
  .stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; text-align: center; }
  .stat { padding: 8px 0; }
  .stat .ring {
    width: 150px; height: 150px; margin: 0 auto 14px; border-radius: 50%;
    border: 2px solid var(--ink); display: grid; place-items: center; position: relative; background: var(--white);
  }
  .stat .ring::after { content: ""; position: absolute; inset: -9px; border-radius: 50%; border: 2px dashed var(--blue); }
  .stat .num { font-weight: 900; font-size: 52px; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
  .stat .label { font-weight: 700; font-size: 18px; letter-spacing: -0.01em; }
  .stat .note { font-size: 14px; color: var(--ink-soft); }
  .stats dt, .stats dd { margin: 0; }
  @media (max-width: 640px) {
    .stats { gap: 10px; }
    .stat .ring { width: 84px; height: 84px; }
    .stat .ring::after { inset: -6px; }
    .stat .num { font-size: 30px; }
    .stat .label { font-size: 14px; line-height: 1.25; }
    .stat .note { display: none; }
  }

  /* ---------- reading group flow ---------- */
  .flow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 18px; align-items: stretch; }
  .flow > * { min-width: 0; }
  .flow .arrow { align-self: center; font-family: var(--mono); font-size: 28px; color: var(--blue); }
  .flow .step { background: var(--white); border: 1.5px solid var(--ink); padding: 22px; }
  .flow .step h3 { font-weight: 800; font-size: 25px; letter-spacing: -0.03em; margin: 8px 0 6px; line-height: 1.1; }
  .flow .step p { margin: 0; color: var(--ink-soft); font-size: 16px; }
  .flow .step.main { box-shadow: 6px 6px 0 var(--blue); }
  @media (max-width: 820px) { .flow { grid-template-columns: 1fr; } .flow .arrow { transform: rotate(90deg); justify-self: center; } }

  .topics { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
  .topic { background: var(--white); border: 1.5px solid var(--ink); padding: 24px; }
  .topic h3 { font-weight: 800; font-size: 23px; letter-spacing: -0.025em; line-height: 1.1; margin: 8px 0 8px; }
  .topic p { margin: 0; color: var(--ink-soft); font-size: 16px; }
  @media (max-width: 760px) { .topics { grid-template-columns: 1fr; } }

  /* ---------- committee ---------- */
  .people { display: grid; grid-template-columns: repeat(5, 1fr); gap: 22px; }
  .people > * { min-width: 0; }
  @media (max-width: 960px) {
    .people { grid-template-columns: repeat(2, 1fr); gap: 32px 16px; }
    .people > :last-child:nth-child(odd) { grid-column: 1 / -1; }
  }
  .person { text-align: center; }
  .avatar {
    width: 128px; height: 128px; margin: 0 auto 14px; border-radius: 50%;
    background: var(--white); border: 1.5px solid var(--ink); display: grid; place-items: center;
    font-weight: 300; font-size: 56px; letter-spacing: -0.03em; box-shadow: 5px 5px 0 var(--blue);
  }
  .avatar.open { background: transparent; border-style: dashed; box-shadow: none; color: var(--ink-soft); font-family: var(--mono); font-size: 34px; }
  .person .name { font-weight: 800; font-size: 21px; letter-spacing: -0.02em; }
  .person .role { font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-soft); }
  .person p { font-size: 15px; color: var(--ink-soft); margin: 6px auto 0; max-width: 240px; }

  /* ---------- termcard ---------- */
  .events { display: grid; gap: 22px; }
  .event {
    display: grid; grid-template-columns: 180px 1fr auto; gap: 24px; align-items: start;
    background: var(--white); border: 1.5px solid var(--ink); padding: 24px;
  }
  .event > * { min-width: 0; }
  .event.next { box-shadow: 8px 8px 0 var(--blue); }
  .event.maybe { background: transparent; border-style: dashed; }
  .event .when .wk { font-weight: 900; font-size: 34px; letter-spacing: -0.04em; line-height: 1; }
  .event h3 { font-weight: 800; font-size: 25px; letter-spacing: -0.025em; line-height: 1.15; margin: 0 0 6px; }
  .event p { margin: 0; color: var(--ink-soft); font-size: 16px; }
  .event .meta { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 10px; }
  .event .pill { justify-self: start; }
  .pill { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; padding: 4px 8px; border: 1.5px solid var(--ink); white-space: nowrap; }
  .pill.on { background: var(--blue); border-color: var(--blue); color: var(--white); }
  @media (max-width: 760px) { .event { grid-template-columns: 1fr; gap: 12px; } }

  .talk-list { list-style: none; margin: 0; padding: 0; }
  .talk-list li { display: flex; gap: 18px; align-items: baseline; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,0.2); }
  .talk-list li:first-child { border-top: 1px solid rgba(255,255,255,0.2); }
  .talk-list .n { font-family: var(--mono); color: var(--blue-soft); font-size: 14px; flex: 0 0 auto; }
  .talk-list .t { font-weight: 700; font-size: 22px; letter-spacing: -0.02em; line-height: 1.2; }

  /* ---------- write-ups ---------- */
  .empty {
    border: 1.5px dashed var(--ink); padding: clamp(28px, 5vw, 56px); text-align: center; background: rgba(255,255,255,0.5);
  }
  .empty .sheet {
    width: 120px; height: 160px; margin: 0 auto 22px; background: var(--white); border: 1.5px solid var(--ink); box-shadow: 6px 6px 0 var(--blue);
    padding: 16px 14px; display: grid; gap: 8px; align-content: start;
  }
  .empty .sheet i { display: block; height: 4px; background: var(--grid-major); }
  .empty .sheet i:first-child { background: var(--ink); width: 60%; height: 6px; }
  .empty h3 { font-weight: 800; font-size: 26px; letter-spacing: -0.025em; margin: 0 0 8px; }
  .empty p { color: var(--ink-soft); margin: 0 auto; max-width: 520px; }

  /* ---------- faq ---------- */
  .faq { max-width: 820px; }
  .faq details { border-bottom: 1px solid var(--rule); padding: 18px 0; }
  .faq details:first-of-type { border-top: 1px solid var(--rule); }
  .faq summary { cursor: pointer; list-style: none; font-weight: 700; font-size: 21px; letter-spacing: -0.02em; display: flex; justify-content: space-between; gap: 16px; }
  .faq summary::-webkit-details-marker { display: none; }
  .faq summary::after { content: "+"; font-family: var(--mono); color: var(--blue); font-weight: 500; }
  .faq details[open] summary::after { content: "−"; }
  .faq details p { margin: 10px 0 0; color: var(--ink-soft); }

  /* ---------- footer ---------- */
  footer { padding-block: 48px 56px; }
  .foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
  .foot-grid > * { min-width: 0; }
  footer .wordmark { font-size: 44px; color: var(--white); justify-self: start; }
  footer ul { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 8px; }
  footer a { text-decoration: none; color: var(--white); }
  footer a:hover { color: var(--blue-soft); }
  footer p { margin: 10px 0 0; font-size: 15px; }
  @media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr; } }

  a:focus-visible, button:focus-visible, summary:focus-visible, .track:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
  .band :focus-visible { outline-color: var(--blue-soft); }
  .visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
  .skip { position: absolute; left: -9999px; top: 8px; z-index: 30; background: var(--ink); color: var(--white); padding: 12px 16px; font-weight: 700; text-decoration: none; }
  .skip:focus { left: max(16px, env(safe-area-inset-left, 0px)); }
  @media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn, .arrows button { transition: none; } }

  /* ---------- write-up template (empty state) ---------- */
  .sample { max-width: 560px; margin: 24px auto 0; text-align: left; background: var(--white); border: 1.5px solid var(--ink); box-shadow: 6px 6px 0 var(--blue); }
  .sample-row { padding: 16px 20px; border-top: 1px solid var(--grid-major); }
  .sample-row:first-child { border-top: 0; }
  .sample-row p { margin: 4px 0 0; color: var(--ink-soft); font-size: 16px; max-width: none; }
  a.src { text-decoration: none; color: var(--blue); font-weight: 500; }
  a.src:hover { text-decoration: underline; }

  /* ================= motion =================
     Everything below only applies under html.motion, which the head script sets
     unless the visitor prefers reduced motion. Without it, the page is static and complete. */

  @keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
  @keyframes draw { from { transform: scaleX(0); } to { transform: scaleX(1); } }
  @keyframes blink { 50% { opacity: 0; } }
  @keyframes march { to { background-position: 48px 0; } }
  @keyframes spin { to { transform: rotate(360deg); } }

  /* Hero: a short orchestrated entrance */
  .motion .hero .eyebrow { animation: rise .6s cubic-bezier(.2,.7,.2,1) both .05s; }
  .motion .hero .headline { animation: rise .9s cubic-bezier(.2,.7,.2,1) both .15s; }
  .hero .headline .blue { position: relative; display: inline-block; }
  .hero .headline .blue::after {
    content: ""; position: absolute; left: 0; right: .55em; bottom: -.04em; height: .07em;
    background: var(--blue); transform-origin: left; transform: scaleX(1);
  }
  .motion .hero .headline .blue::after { animation: draw .7s cubic-bezier(.6,0,.2,1) both 1s; }
  .motion .hero .sub { animation: rise .7s cubic-bezier(.2,.7,.2,1) both .4s; }
  .motion .hero .btns { animation: rise .7s cubic-bezier(.2,.7,.2,1) both .55s; }
  .motion .hero .foot { animation: rise .7s cubic-bezier(.2,.7,.2,1) both .7s; }
  .motion .hero .foot::after {
    content: ""; display: inline-block; width: .55em; height: 1.05em; margin-left: 6px;
    background: var(--blue); vertical-align: -.18em; animation: blink 1.1s steps(1) infinite 1.4s;
  }

  /* Inner page headers */
  .motion .page-head .wrap > * { animation: rise .7s cubic-bezier(.2,.7,.2,1) both; }
  .motion .page-head .wrap > :nth-child(2) { animation-delay: .1s; }
  .motion .page-head .wrap > :nth-child(3) { animation-delay: .22s; }
  .motion .page-head .wrap > :nth-child(4) { animation-delay: .34s; }
  .motion .page-head .fig::after, .motion .page-head .fig::before { transform-origin: left; animation: draw .9s cubic-bezier(.6,0,.2,1) both .2s; }

  /* Scroll reveals (motion.js adds .in) */
  .motion main section:not(.hero):not(.page-head) :is(.fig, h2, .lede, .prose, .exhibit, .step, .flow > .arrow, .grid3 .item,
    .topic, .person, .event, .stat, .sample, .faq details, .talk-list li, .mail .btns, .carousel-head .arrows, .empty > p, .empty > .btns) {
    transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1), box-shadow .5s ease;
  }
  .motion main section:not(.hero):not(.page-head) :is(.fig, h2, .lede, .prose, .exhibit, .step, .flow > .arrow, .grid3 .item,
    .topic, .person, .event, .stat, .sample, .faq details, .talk-list li, .mail .btns, .carousel-head .arrows, .empty > p, .empty > .btns):not(.in) {
    opacity: 0; transform: translateY(24px);
  }
  /* fig. dividers draw their rules */
  .motion main section .fig::before, .motion main section .fig::after { transform-origin: left; transition: transform .9s cubic-bezier(.6,0,.2,1) .15s; }
  .motion main section:not(.hero):not(.page-head) .fig:not(.in)::before,
  .motion main section:not(.hero):not(.page-head) .fig:not(.in)::after { transform: scaleX(0); }
  /* blue offset shadows slide out after the card lands */
  .motion :is(.exhibit.ox, .step.main, .event.next, .sample):not(.in) { box-shadow: 0 0 0 var(--blue); }
  .motion :is(.exhibit.ox, .step.main, .event.next, .sample).in { transition-delay: 0s, 0s, .35s; }

  /* Ambient touches */
  @media (prefers-reduced-motion: no-preference) {
    .stripe { animation: march 2.4s linear infinite; }
    .stat .ring::after { animation: spin 40s linear infinite; }
    @media (hover: hover) {
      .exhibit, .topic, .event:not(.maybe), .step { transition: transform .2s ease, box-shadow .2s ease, opacity .7s cubic-bezier(.2,.7,.2,1); }
      .exhibit:hover, .topic:hover, .event:not(.maybe):hover, .step:hover { transform: translate(-3px, -3px); box-shadow: 6px 6px 0 var(--blue); }
      .exhibit.ox:hover, .step.main:hover, .event.next:hover { box-shadow: 10px 10px 0 var(--blue); }
    }
    /* smooth cross-page navigation where supported; the header stays put */
    @view-transition { navigation: auto; }
    header.top { view-transition-name: site-header; }
    ::view-transition-old(root) { animation: .22s ease both fade-out; }
    ::view-transition-new(root) { animation: .32s ease both fade-in; }
    @keyframes fade-out { to { opacity: 0; } }
    @keyframes fade-in { from { opacity: 0; } }
  }

  /* ---------- who we are: what we run ---------- */
  .offer { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 4px 0 20px; }
  .offer > div { background: var(--white); border: 1.5px solid var(--ink); padding: 18px 20px; min-width: 0; }
  .offer p { margin: 6px 0 0; font-size: 17px; }
  @media (max-width: 600px) { .offer { grid-template-columns: 1fr; } }
  .prose p.more { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 8px; }
  .prose p.more a { text-decoration: none; border-bottom: 2px solid currentColor; padding-bottom: 2px; }

  /* ---------- scroll cue ---------- */
  .scroll-cue {
    display: inline-flex; flex-direction: column; align-items: center; gap: 6px; margin-top: 44px;
    font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
    color: var(--ink-soft); text-decoration: none;
  }
  .scroll-cue .chev {
    display: grid; place-items: center; width: 40px; height: 40px; border: 1.5px solid var(--ink);
    background: var(--white); color: var(--blue); font-size: 18px; letter-spacing: 0;
  }
  .scroll-cue:hover { color: var(--blue); }
  .scroll-cue:hover .chev { box-shadow: 3px 3px 0 var(--blue); }
  .motion .scroll-cue { animation: rise .7s cubic-bezier(.2,.7,.2,1) both .9s; }
  @media (prefers-reduced-motion: no-preference) {
    @keyframes nudge { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(6px); } }
    .scroll-cue .chev { animation: nudge 1.6s ease-in-out infinite 1.8s; }
  }

  /* ---------- sponsors ---------- */
  .sponsors { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; max-width: 900px; margin: 0 auto; }
  .sponsors > * { min-width: 0; }
  .slot {
    display: grid; place-items: center; aspect-ratio: 16 / 7; max-width: 100%;
    border: 1.5px dashed var(--ink); background: rgba(255, 255, 255, 0.55);
  }
  .slot .mono { font-size: 12px; }
  .sponsor-ask { text-align: center; color: var(--ink-soft); margin: 28px auto 0; max-width: 620px; }
  .sponsor-ask a { color: var(--blue); font-weight: 700; text-underline-offset: 3px; }
  @media (max-width: 640px) { .sponsors { grid-template-columns: 1fr; gap: 14px; } .slot { aspect-ratio: 16 / 5; } }
  /* sponsor slots join the scroll reveal */
  .motion main section .sponsors .slot:not(.in) { opacity: 0; transform: translateY(24px); }
  .motion main section .sponsors .slot { transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }

  /* ---------- hero fits one screen, cue pinned to its bottom edge ---------- */
  .hero {
    position: relative;
    min-height: calc(100vh - 69px);
    min-height: calc(100svh - 69px);
    display: flex; flex-direction: column; justify-content: center;
    padding-block: clamp(24px, 6vh, 96px) 96px;
  }
  .hero .headline { font-size: clamp(40px, min(9vw, 12.5vh), 116px); }
  .hero .sub { margin-bottom: clamp(20px, 4vh, 36px); }
  .hero .foot { margin-top: clamp(20px, 4vh, 40px); }
  .scroll-cue { position: absolute; left: 0; right: 0; bottom: 18px; width: max-content; margin: 0 auto; }
  @media (max-width: 760px) {
    .hero { min-height: calc(100vh - 106px); min-height: calc(100svh - 106px); }
  }

  /* ---------- five-link nav ---------- */
  .bar nav a { letter-spacing: 0.08em; }
  @media (max-width: 1100px) {
    .bar { grid-template-columns: auto 1fr; height: 60px; }
    .bar nav { display: none; }
    .wordmark { justify-self: start; }
    .subnav { display: block; border-top: 1px solid var(--grid-major); }
    .subnav ul { list-style: none; margin: 0; padding: 0; display: flex; justify-content: space-between; gap: 12px; }
    .subnav a { font-size: 12px; letter-spacing: 0.06em; display: inline-flex; align-items: center; min-height: 44px; padding: 0; }
    .subnav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--blue); border-bottom-color: transparent; }
    .hero { min-height: calc(100vh - 106px); min-height: calc(100svh - 106px); }
    html { scroll-padding-top: 124px; }
  }
  @media (max-width: 460px) {
    .subnav ul { gap: 6px; overflow-x: auto; scrollbar-width: none; }
    .subnav ul::-webkit-scrollbar { display: none; }
    .subnav a { font-size: 11px; letter-spacing: 0.01em; white-space: nowrap; }
  }
  /* cards inside navy bands */
  .band .grid3 .item { border-top-color: rgba(255, 255, 255, 0.5); }
  .band .grid3 h3 { color: var(--white); }
  .band .grid3 p { color: rgba(255, 255, 255, 0.78); }

  /* ---------- three-column cards ---------- */
  .grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 32px; }
  .grid3 > * { min-width: 0; }
  .grid3 .item { border-top: 2px solid var(--ink); padding-top: 14px; }
  .grid3 h3 { font-weight: 800; font-size: 22px; letter-spacing: -0.02em; margin: 6px 0; }
  .grid3 p { margin: 0; color: var(--ink-soft); font-size: 16px; }
  @media (max-width: 820px) { .grid3 { grid-template-columns: 1fr; } }
  .band .grid3 .item { border-top-color: rgba(255, 255, 255, 0.5); }
  .band .grid3 h3 { color: var(--white); }
  .band .grid3 p { color: rgba(255, 255, 255, 0.78); }

  /* ---------- partnerships: tiered logo walls ---------- */
  .partners-head { text-align: center; }
  .partners-head .lede { margin-left: auto; margin-right: auto; }
  .tier { padding-block: 40px; text-align: center; }
  .tier h2 { font-size: clamp(26px, 3.4vw, 38px); text-transform: none; margin-bottom: 26px; }
  .tier .logos { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px; margin: 0 auto; }
  .tier .slot { flex: 0 1 var(--w); width: var(--w); aspect-ratio: 16 / 7; }
  .tier-xl .slot { --w: 440px; box-shadow: 8px 8px 0 var(--blue); background: var(--white); }
  .tier-lg .slot { --w: 340px; }
  .tier-md .slot { --w: 260px; }
  .tier-sm .slot { --w: 200px; aspect-ratio: 16 / 8; }
  .tier-sm { padding-bottom: 72px; }
  @media (max-width: 640px) {
    .tier .slot { flex-basis: 100%; width: 100%; }
    .tier-md .slot, .tier-sm .slot { flex-basis: calc(50% - 11px); }
  }
  .become .note { font-size: 14px; margin: 16px auto 0; }
  .motion main section .logos .slot:not(.in) { opacity: 0; transform: translateY(24px); }
  .motion main section .logos .slot { transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }

  /* ================= motion, round two ================= */

  /* hero: canvas figure + caption + cursor glow */
  .hero { overflow: hidden; }
  .hero > .wrap > :not(.scroll-cue) { position: relative; z-index: 1; }
  .scroll-cue { z-index: 1; }
  .hero-canvas { position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: 0.5; }
  .hero-caption {
    position: absolute; right: max(var(--gutter), env(safe-area-inset-right, 0px)); bottom: 26px; z-index: 1;
    font-size: 11px; letter-spacing: .12em; color: var(--ink-soft); opacity: .8;
  }
  @media (max-width: 760px) { .hero-caption { display: none; } }
  .hero::after {
    content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: 0;
    background: radial-gradient(circle 260px at var(--mx, 50%) var(--my, 50%), rgba(35, 64, 216, 0.09), transparent 70%);
    transition: opacity .4s ease;
  }
  .hero.lit::after { opacity: 1; }
  .motion .hero-caption { animation: rise .8s cubic-bezier(.2,.7,.2,1) both 2.6s; }

  /* stats: the dashed ring draws itself round as the number counts */
  @property --ring { syntax: '<angle>'; inherits: false; initial-value: 360deg; }
  .motion .stat .ring::after {
    -webkit-mask: conic-gradient(#000 var(--ring), transparent 0);
            mask: conic-gradient(#000 var(--ring), transparent 0);
    transition: --ring 1.3s cubic-bezier(.4,0,.2,1) .15s;
  }
  .motion .stat:not(.in) .ring::after { --ring: 0deg; }

  /* buttons: the arrow lifts */
  .btn .arrow { display: inline-block; transition: transform .2s ease; }
  @media (hover: hover) { .btn:hover .arrow { transform: translateY(-3px); } }

  @media (prefers-reduced-motion: no-preference) {
    /* termcard: the "Next up" tag breathes */
    @keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(35, 64, 216, .45); } 70%, 100% { box-shadow: 0 0 0 10px rgba(35, 64, 216, 0); } }
    .pill.on { animation: ping 2s ease-out infinite 1s; }

    /* partnerships: open slots shimmer */
    @keyframes sweep { 0% { transform: translateX(-110%); } 55%, 100% { transform: translateX(110%); } }
    .tier .slot { position: relative; overflow: hidden; }
    .tier .slot::after {
      content: ""; position: absolute; inset: 0; pointer-events: none;
      background: linear-gradient(105deg, transparent 35%, rgba(35, 64, 216, .10) 50%, transparent 65%);
      animation: sweep 4.2s ease-in-out infinite;
    }
    .tier-lg .slot::after { animation-delay: .5s; }
    .tier-md .slot::after { animation-delay: 1s; }
    .tier-sm .slot::after { animation-delay: 1.5s; }

    /* page changes: the new page rises in under the fixed header */
    @keyframes vt-in { from { opacity: 0; transform: translateY(14px); } }
    ::view-transition-new(root) { animation: .42s cubic-bezier(.2,.7,.2,1) both vt-in; }
  }

  /* ---------- cursor haze: sits under the content, on the paper ---------- */
  .cursor-haze {
    position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: 0;
    background: radial-gradient(circle 170px at var(--hx, -999px) var(--hy, -999px), rgba(35, 64, 216, 0.032), transparent 70%);
    transition: opacity .6s ease;
  }
  .cursor-haze.on { opacity: 1; }
