/* Audrey Huang. v10, Nov 27 2026.
   One stylesheet, rebuilt from her notes: compact but easy to read, a clear hierarchy
   (title, then a meta line, then dashed bullets), sections delineated by color and a rule,
   film strips for photos, and two fonts only (Instrument Serif for titles, Hanken Grotesk for the rest). */
@font-face { font-family: "Hanken Grotesk"; font-weight: 400; font-style: normal; font-display: swap; src: url("fonts/hanken-grotesk-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Hanken Grotesk"; font-weight: 500; font-style: normal; font-display: swap; src: url("fonts/hanken-grotesk-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Hanken Grotesk"; font-weight: 600; font-style: normal; font-display: swap; src: url("fonts/hanken-grotesk-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Instrument Serif"; font-weight: 400; font-style: normal; font-display: swap; src: url("fonts/instrument-serif-latin-400-normal.woff2") format("woff2"); }

:root {
  --page: #F4EFE6;
  --page-2: #ECE5D8;
  --sheet: #FCFAF6;
  --ink: #1A1816;
  --ink-2: #39342F;
  --muted: #6A6259;
  --line: rgba(26, 24, 22, 0.14);
  --green: #1F3D38;
  --red: #A3322A;
  --gold: #8A6424;
  --marker: rgba(214, 170, 92, 0.42);
  --night: #111715;
  --night-ink: #ECE5D8;
  --night-muted: #B9B1A3;
  --film: #171513;
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --sans: "Hanken Grotesk", system-ui, -apple-system, "Helvetica Neue", sans-serif;
  --t1: clamp(30px, 2.9vw, 42px);   /* every section title */
  --t2: clamp(21px, 1.75vw, 26px);  /* every serif heading inside a section */
  --pad: clamp(16px, 3.2vw, 52px);
  --gap: clamp(14px, 1.6vw, 24px);
  --shadow: 0 1px 2px rgba(26, 24, 22, 0.12), 0 14px 30px -18px rgba(26, 24, 22, 0.5);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --sprocket: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='12'%3E%3Crect x='6' y='2' width='10' height='8' rx='2' fill='%23EDE6D9'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 58px; }
body { margin: 0; background: var(--page); color: var(--ink); font-family: var(--sans); font-size: 15.5px; line-height: 1.5; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { max-width: 100%; }
a { color: var(--red); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:focus-visible, button:focus-visible, [tabindex]:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 2px; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4, h5 { font-weight: 400; margin: 0; }
p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; padding: 8px 14px; background: var(--ink); color: var(--page); text-decoration: none; }
.skip:focus { top: 12px; }
.moon { display: inline-block; width: 0.2em; height: 0.2em; margin-left: 0.06em; border-radius: 50%; vertical-align: baseline; }

/* ================= Opening ================= */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 520px; display: grid; place-items: center; overflow: hidden; }
.hero-name { position: relative; z-index: 3; padding: 0 var(--pad); font-family: var(--serif); font-size: clamp(60px, 14vw, 236px); line-height: 0.9; letter-spacing: -0.025em; text-align: center; }
.flick { position: absolute; left: 50%; top: 50%; z-index: 4; width: min(60vh, 80vw); aspect-ratio: 3 / 4; translate: -50% -50%; pointer-events: none; display: none; }
.flick img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 10px solid var(--sheet); box-shadow: var(--shadow); opacity: 0; }
.flick img.on { opacity: 1; }
.hero-stickers { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.hs { position: absolute; height: auto; filter: drop-shadow(0 8px 10px rgba(26, 24, 22, 0.22)); pointer-events: auto; transition: scale 0.35s var(--ease); }
.hs:hover { scale: 1.08; }
.hs-toc       { left: 6%;   top: 10%;    width: clamp(130px, 13vw, 212px); }
.hs-tedx      { left: 46%;  top: 6%;     width: clamp(96px, 9.5vw, 150px); }
.hs-orchestra { right: 6%;  top: 10%;    width: clamp(144px, 14vw, 228px); }
.hs-onigiri   { left: 8%;   bottom: 11%; width: clamp(120px, 12vw, 192px); }
.hs-horse     { right: 3%;  top: 41%;    width: clamp(108px, 10.5vw, 168px); }
.hs-turtle    { left: 2.5%; top: 43%;    width: clamp(86px, 8.2vw, 130px); }
.hs-avocado   { right: 11%; bottom: 8%;  width: clamp(108px, 10.5vw, 168px); }
.hs-thinking  { left: 44%;  bottom: 6%;  width: clamp(92px, 8.8vw, 140px); }
.hs-toc { --i: 0; } .hs-tedx { --i: 1; } .hs-orchestra { --i: 2; } .hs-turtle { --i: 3; } .hs-horse { --i: 4; } .hs-onigiri { --i: 5; } .hs-thinking { --i: 6; } .hs-avocado { --i: 7; }
.hero-cue { position: absolute; left: 50%; bottom: 20px; z-index: 3; translate: -50% 0; width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid rgba(26, 24, 22, 0.25); border-radius: 50%; color: var(--ink); text-decoration: none; }
.hero-cue:hover { background: var(--ink); color: var(--page); }

/* A quick flip through six photos, then the name, then the stickers land and keep floating gently */
.motion .flick { display: block; animation: flick-out 0.45s ease 1.05s forwards; }
.motion .hero-name { animation: name-in 0.8s var(--ease) 1.1s both; }
.motion .hs { animation: stick 0.55s cubic-bezier(0.3, 1.4, 0.5, 1) both, bob 5.2s ease-in-out infinite; animation-delay: calc(1.5s + var(--i, 0) * 70ms), calc(2.2s + var(--i, 0) * 0.45s); }
.motion .hero-cue { animation: fade 0.6s ease 2s both; }
@keyframes flick-out { to { opacity: 0; scale: 0.6; } }
@keyframes name-in { from { opacity: 0; filter: blur(10px); scale: 1.04; } }
@keyframes stick { from { opacity: 0; scale: 1.35; } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@keyframes fade { from { opacity: 0; } }

/* ================= Navigation ================= */
.nav { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 9px var(--pad); background: color-mix(in srgb, var(--page) 93%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav-name { font-family: var(--serif); font-size: 23px; line-height: 1; color: var(--ink); text-decoration: none; white-space: nowrap; }
.nav ul { display: flex; align-items: center; gap: clamp(12px, 1.35vw, 22px); margin: 0; padding: 0; list-style: none; }
.nav ul a { display: block; padding: 6px 0; color: var(--muted); font-size: 13.5px; font-weight: 500; text-decoration: none; white-space: nowrap; }
.nav ul a:hover { color: var(--ink); }
.nav ul a[aria-current="true"] { color: var(--ink); box-shadow: inset 0 -2px 0 var(--red); }
.nav ul a.nav-cta { padding: 6px 14px; border-radius: 999px; background: var(--ink); color: var(--page); box-shadow: none; }
.nav ul a.nav-cta:hover { background: var(--red); }
.nav-toggle { display: none; }
@media (max-width: 1240px) {
  .nav-toggle { display: inline-flex; padding: 7px 14px; border: 1px solid rgba(26, 24, 22, 0.25); border-radius: 999px; background: transparent; font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; cursor: pointer; }
  .nav ul { position: absolute; left: 0; right: 0; top: 100%; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 6px var(--pad) 14px; background: var(--page); border-bottom: 1px solid var(--line); box-shadow: 0 24px 30px -24px rgba(26, 24, 22, 0.35); }
  .nav.open ul { display: flex; }
  .nav ul a { padding: 9px 0; font-family: var(--serif); font-size: 24px; font-weight: 400; color: var(--ink); border-bottom: 1px solid var(--line); }
  .nav ul a[aria-current="true"] { box-shadow: none; color: var(--red); }
  .nav ul a.nav-cta { margin-top: 10px; padding: 9px 16px; text-align: center; font-family: var(--sans); font-size: 15px; font-weight: 600; }
}

/* ================= Sections: one color band each, a title with a rule under it ================= */
.sec { position: relative; padding: clamp(26px, 3vw, 44px) var(--pad); }
.sec.alt { background: var(--sheet); }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: clamp(14px, 1.6vw, 22px); padding-bottom: 10px; border-bottom: 1.5px solid currentColor; }
.sec-title { font-family: var(--serif); font-size: var(--t1); line-height: 0.95; letter-spacing: -0.015em; }
.h-serif, .lead-h, .bill-title, .fridge-copy h3 { font-family: var(--serif); font-size: var(--t2); font-weight: 400; line-height: 1.08; }

/* The item pattern everywhere: title, a quiet meta line, then dashed bullets */
.item h3 { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; font-size: 16px; font-weight: 600; line-height: 1.25; }
.item h3.h-serif, .item h3.lead-h { display: block; font-size: var(--t2); font-weight: 400; }
.meta { margin-top: 2px; font-size: 13px; line-height: 1.4; color: var(--muted); }
.dash { margin: 7px 0 0; padding: 0; list-style: none; }
.dash li { position: relative; padding-left: 15px; font-size: 14px; line-height: 1.45; color: var(--ink-2); }
.dash li + li { margin-top: 3px; }
.dash li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 8px; height: 1.5px; background: currentColor; opacity: 0.55; }
.e-photo { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; margin-bottom: 10px; object-fit: cover; object-position: 50% 30%; border-radius: 4px; background: var(--page-2); cursor: zoom-in; transition: scale 0.5s var(--ease), filter 0.4s ease; }
.e-photo:hover { filter: brightness(1.05); }
.e-logo { height: 17px; width: auto; max-width: 72px; object-fit: contain; }
.e-media { position: relative; }
.e-inset { position: absolute; right: -8px; bottom: -10px; width: 42%; height: auto; padding: 4px 4px 12px; background: var(--sheet); box-shadow: 0 10px 18px -8px rgba(26, 24, 22, 0.55); rotate: 4deg; cursor: zoom-in; transition: rotate 0.4s var(--ease), scale 0.4s var(--ease); }
.e-inset:hover { rotate: 0deg; scale: 1.06; }
.go { display: inline-block; margin-top: 8px; color: var(--red); font-size: 13px; font-weight: 600; text-decoration: none; }
.go:hover { text-decoration: underline; }
.go.muted { color: var(--muted); }

/* Browser frames for screenshots and decks */
.browser { display: block; overflow: hidden; border-radius: 8px; background: #0E1A18; box-shadow: 0 22px 36px -24px rgba(0, 0, 0, 0.6); text-decoration: none; }
.browser-bar { display: flex; align-items: center; gap: 6px; padding: 7px 11px; background: #E9E4DA; color: #5F5850; font-size: 11.5px; }
.browser-bar i { width: 8px; height: 8px; border-radius: 50%; background: #CFC7B9; }
.browser-bar span { margin-left: 8px; padding: 1px 11px; border-radius: 999px; background: #F6F2EA; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.browser img { display: block; width: 100%; height: auto; }

/* ================= About ================= */
.about { display: grid; grid-template-columns: minmax(180px, 0.55fr) minmax(0, 2fr); gap: clamp(20px, 3vw, 48px); align-items: center; }
.headshot { margin: 0; overflow: hidden; border-radius: 10px; }
.headshot img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; cursor: zoom-in; transition: scale 0.6s var(--ease); }
.headshot:hover img { scale: 1.03; }
.about .sec-title { padding-bottom: 10px; border-bottom: 1.5px solid currentColor; }
.bio { max-width: 64ch; margin: 12px 0 14px; font-size: clamp(16px, 1.25vw, 18px); line-height: 1.5; }
.peek { display: inline; padding: 0; border: 0; background: linear-gradient(var(--marker), var(--marker)) 0 88% / 100% 0.32em no-repeat; color: inherit; font: inherit; cursor: help; transition: background-size 0.3s var(--ease); }
.peek:hover, .peek:focus-visible, .peek[aria-expanded="true"] { background-size: 100% 0.9em; }
.callouts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 var(--gap); padding: 0; list-style: none; }
.callouts a { display: block; height: 100%; padding: 9px 0 11px; border-top: 1px solid rgba(26, 24, 22, 0.2); color: var(--ink); text-decoration: none; }
.callouts b { display: inline; font-size: clamp(22px, 2vw, 30px); font-weight: 600; letter-spacing: -0.03em; line-height: 1.1; font-variant-numeric: tabular-nums; background: linear-gradient(var(--marker), var(--marker)) 0 85% / 100% 0.3em no-repeat; transition: background-size 0.3s var(--ease); }
.callouts span { display: block; max-width: 32ch; margin-top: 3px; font-size: 13px; line-height: 1.4; color: var(--muted); }
.callouts a:hover b { background-size: 100% 0.85em; }
.peek-card { position: absolute; z-index: 80; width: 290px; padding: 10px 10px 14px; background: var(--sheet); border-radius: 10px; box-shadow: 0 20px 40px -18px rgba(26, 24, 22, 0.55), 0 2px 6px rgba(26, 24, 22, 0.1); }
.peek-card img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 6px; margin-bottom: 10px; }
.peek-card img[hidden] { display: none; }
.pk-title { padding: 0 4px; font-weight: 600; }
.pk-text { padding: 2px 4px 0; font-size: 14px; color: var(--ink-2); }
.pk-link { display: inline-block; margin: 8px 4px 0; font-size: 13.5px; font-weight: 600; text-decoration: none; }

/* ================= Currently: three equal cards, each led by its own wordmark ================= */
.now { background: var(--green); color: var(--page); --ink-2: rgba(244, 239, 230, 0.82); --muted: rgba(244, 239, 230, 0.6); }
.now-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 36px); align-items: start; }
.now-card { display: flex; flex-direction: column; min-width: 0; }
.now-media { margin-bottom: 14px; transition: translate 0.4s var(--ease), box-shadow 0.4s var(--ease); }
.now-card:hover .now-media { translate: 0 -4px; box-shadow: 0 30px 40px -24px rgba(0, 0, 0, 0.75); }
.now-media > img { display: block; }
.now-media > img, .now-media .orange-tile { width: 100%; aspect-ratio: 16 / 10; height: auto; object-fit: cover; object-position: top; }
.orange-tile { display: grid; place-items: center; background: radial-gradient(circle at 70% 30%, #F2B266, #DD7E33 70%); }
.orange-tile span { padding: 0 16px; font-family: var(--serif); font-size: var(--t2); color: #FFF6EA; text-align: center; }
.flag { align-self: flex-start; margin-bottom: 6px; padding: 2px 9px; border-radius: 999px; background: #E2BC7A; color: var(--green); font-size: 10.5px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; }
.now-mark { line-height: 0; }
.now-mark img { height: 24px; width: auto; max-width: 160px; filter: brightness(0) invert(0.95); }
.tagline { margin-top: 7px; font-size: 15px; font-weight: 600; line-height: 1.3; color: var(--page); }
.now .go { color: #E2BC7A; }
.now .go.muted { color: var(--muted); }

/* Deck players: a screen that scrolls through slides on its own, with a cursor clicking along */
.screen-view { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--page); cursor: pointer; }
.deck-player .screen-view { aspect-ratio: 16 / 10; background: #1A1816; }
.slides { display: flex; flex-direction: column; gap: 16px; padding: 0 9%; transition: transform 1.1s cubic-bezier(0.65, 0, 0.35, 1); will-change: transform; }
.deck-player .slides { padding: 0 8%; }
.slides[hidden] { display: none; }
.slide { display: grid; grid-template-rows: auto 1fr auto auto; aspect-ratio: 16 / 8; padding: clamp(12px, 1.8vw, 24px) clamp(14px, 2.2vw, 28px); border-radius: 6px; background: var(--sheet); box-shadow: 0 8px 22px -12px rgba(26, 24, 22, 0.45); opacity: 0.5; scale: 0.94; transition: opacity 0.6s ease, scale 0.6s var(--ease); }
.slide.on { opacity: 1; scale: 1; }
.slide.pic { display: block; padding: 0; aspect-ratio: auto; overflow: hidden; background: #fff; }
.slide.pic img { display: block; width: 100%; height: auto; }
.deck-player .slide.pic { box-shadow: 0 14px 30px -14px rgba(0, 0, 0, 0.8); }
.sl-top { font-size: 10.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); }
.sl-num { align-self: end; font-family: var(--serif); font-size: clamp(38px, 4.2vw, 66px); line-height: 1; color: var(--green); }
.slide h5 { margin-top: 4px; font-family: var(--serif); font-size: clamp(20px, 2.1vw, 32px); font-weight: 400; line-height: 1.05; color: var(--ink); }
.sl-foot { margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--muted); }
.slide.lab .sl-num { color: #B33B33; }
.screen-view.still { overflow-y: auto; }
.screen-view.still .slide { opacity: 1; scale: 1; }
.cursor { position: absolute; left: 70%; top: 60%; width: 18px; height: 18px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M2 1l13 7-6 1.5L6.5 16z' fill='%231A1816' stroke='%23fff' stroke-width='1.2' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.4)); transition: left 0.9s var(--ease), top 0.9s var(--ease); pointer-events: none; }
.cursor.click::after { content: ""; position: absolute; left: -9px; top: -9px; width: 26px; height: 26px; border-radius: 50%; border: 2px solid rgba(226, 188, 122, 0.9); animation: ripple 0.5s ease-out forwards; }
@keyframes ripple { from { scale: 0.3; opacity: 1; } to { scale: 1.4; opacity: 0; } }

/* ================= Gun policy ================= */
.guns-layout { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(18px, 2.6vw, 40px); align-items: start; }
.g-feature .e-photo { aspect-ratio: 4 / 3; }
.wordmark { line-height: 0; }
.wordmark img { height: clamp(28px, 2.4vw, 36px); width: auto; }
.g-feature .meta { margin-top: 6px; }
.g-side { display: grid; gap: 12px; }
.bill { position: relative; padding: 12px 14px 14px; background: var(--page); border: 1px solid var(--line); border-top: 3px solid var(--ink); }
.bill-top { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.2fr); gap: 14px; align-items: center; }
.bill-page { aspect-ratio: 16 / 10; margin: 0; border-radius: 3px; object-position: top left; box-shadow: 0 1px 2px rgba(26, 24, 22, 0.15), 0 10px 20px -12px rgba(26, 24, 22, 0.45); background: #fff; }
.bill-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.bill-house { font-size: 10.5px; font-weight: 600; letter-spacing: 0.13em; text-transform: uppercase; color: var(--muted); }
.bill-stamp { padding: 2px 8px; border: 2px solid var(--red); border-radius: 4px; color: var(--red); font-size: 10px; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; white-space: nowrap; rotate: -4deg; transition: opacity 0.3s ease 1.5s, scale 0.45s cubic-bezier(0.3, 1.5, 0.5, 1) 1.5s; }
.bill-no { margin-top: 6px; font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }
.bill-title { margin-top: 1px; }
.bill-sum { margin-top: 5px; font-size: 13.5px; line-height: 1.45; color: var(--ink-2); }
.bill-track { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 12px 0 0; padding: 18px 0 0; list-style: none; }
.bill-track::before, .bill-track::after { content: ""; position: absolute; left: 6px; right: 6px; top: 5px; height: 2px; background: var(--line); }
.bill-track::after { background: var(--green); transform-origin: left; transition: transform 1.5s var(--ease); }
.bill-track li { position: relative; font-size: 12.5px; line-height: 1.35; color: var(--muted); transition: opacity 0.4s ease, color 0.2s ease; }
.bill-track li::before { content: ""; position: absolute; left: 0; top: -18px; width: 12px; height: 12px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px var(--page); transition: scale 0.2s ease; }
.bill-track li:nth-child(1) { --k: 0; } .bill-track li:nth-child(2) { --k: 1; } .bill-track li:nth-child(3) { --k: 2; } .bill-track li:nth-child(4) { --k: 3; }
.bill-track b { display: block; color: var(--ink); font-size: 13px; }
.bill-track li:hover { color: var(--ink); }
.bill-track li:hover::before { scale: 1.35; }
.bill.wait .bill-track::after { transform: scaleX(0); }
.bill.wait .bill-track li { opacity: 0.3; }
.bill.wait .bill-stamp { opacity: 0; scale: 1.7; }
.bill.run .bill-track::after { transform: scaleX(1); }
.bill.run .bill-track li { opacity: 1; transition-delay: calc(var(--k) * 360ms); }
.bill.run .bill-stamp { opacity: 1; scale: 1; }
.bill-small { border-top-width: 2px; }
.bill-small .bill-no { font-size: 16px; }
.row { position: relative; padding: 10px 0 2px; border-top: 1px solid var(--line); }
.row:has(.row-thumb) { display: grid; grid-template-columns: minmax(0, 1fr) clamp(70px, 7vw, 100px); column-gap: 14px; }
.row:has(.row-thumb) > :not(.row-thumb) { grid-column: 1; }
.row-thumb { grid-column: 2; grid-row: 1 / span 3; aspect-ratio: 1; margin: 0; }

/* ================= Civics: a front page ================= */
.paper { display: grid; gap: 18px; }
.lead { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: clamp(16px, 2.2vw, 32px); align-items: center; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.lead-h { font-size: var(--t1) !important; line-height: 1; }
.lead .e-photo { aspect-ratio: 4 / 3; margin: 0; }
.lead .e-inset { width: 46%; right: -10px; bottom: -10px; }
.lead-text .meta { margin-top: 4px; }
.briefs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); align-content: start; }
.brief { padding: 0 12px; border-left: 1px solid var(--line); }
.brief:first-child { padding-left: 0; border-left: 0; }
.brief:last-child { padding-right: 0; }
.brief .e-photo { aspect-ratio: 4 / 5; margin-bottom: 8px; }
.brief h3 { font-size: 15px; }
.brief .dash li { font-size: 13.5px; }

/* ================= Film strips: the people, the tournaments, after hours ================= */
.film-band { position: relative; padding: 18px 0 20px; background: var(--film); color: var(--night-ink); }
.film-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 0 var(--pad) 10px; }
.film-label { font-family: var(--serif); font-size: var(--t2); line-height: 1; }
.ribbon { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x proximity; cursor: grab; scrollbar-width: none; }
.ribbon::-webkit-scrollbar { display: none; }
.ribbon.dragging { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.ribbon.dragging img { pointer-events: none; }
.ribbon img { -webkit-user-drag: none; }
.film { padding: 24px var(--pad); scroll-padding: 0 var(--pad); background: var(--sprocket) repeat-x 0 6px local, var(--sprocket) repeat-x 0 calc(100% - 6px) local, var(--film); }
.frame { flex: none; width: clamp(240px, 24vw, 340px); scroll-snap-align: start; }
.frame img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 2px; cursor: zoom-in; transition: filter 0.4s ease; }
.frame:hover img { filter: brightness(1.08); }
.frame figcaption { margin-top: 6px; font-size: 12px; color: var(--night-muted); }
.ribbon-arrows { display: flex; gap: 6px; }
.rarrow { width: 34px; height: 34px; border: 1px solid currentColor; border-radius: 50%; background: transparent; cursor: pointer; opacity: 0.75; transition: opacity 0.2s ease, background 0.2s ease; }
.rarrow:hover { opacity: 1; background: rgba(127, 127, 127, 0.15); }
.sec-head .ribbon-arrows { margin-bottom: 2px; }

/* ================= Debate ================= */
.debate .ribbon { margin: 0 calc(-1 * var(--pad)); }
.t-card { flex: none; width: clamp(170px, 15vw, 220px); scroll-snap-align: start; color: var(--night-ink); }
.t-card img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 2px; margin-bottom: 8px; cursor: zoom-in; }
.t-photo { position: relative; margin-bottom: 8px; }
.t-photo > img:first-child { margin-bottom: 0; }
.t-inset { position: absolute; right: -6px; bottom: -10px; width: 42% !important; aspect-ratio: 3 / 4 !important; padding: 4px 4px 12px; background: var(--sheet); box-shadow: 0 10px 18px -8px rgba(0, 0, 0, 0.7); rotate: 6deg; object-fit: cover; transition: rotate 0.4s var(--ease); }
.t-card:hover .t-inset { rotate: 0deg; }
.t-card.type .t-big { display: grid; place-items: center; aspect-ratio: 3 / 4; margin-bottom: 8px; border-radius: 2px; background: #2A2622; font-family: var(--serif); font-size: clamp(72px, 7.5vw, 120px); line-height: 1; color: #E2BC7A; }
.t-result { font-size: 10.5px; font-weight: 600; letter-spacing: 0.13em; text-transform: uppercase; color: #E2BC7A; }
.t-card h4 { margin-top: 2px; font-size: 15px; font-weight: 600; line-height: 1.25; }
.t-note { font-size: 12.5px; color: var(--night-muted); }

.curriculum { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(18px, 2.6vw, 40px); align-items: center; margin-top: clamp(18px, 2.2vw, 30px); }
.screen { overflow: hidden; border-radius: 8px; background: #0E1A18; box-shadow: 0 22px 36px -24px rgba(0, 0, 0, 0.6); }
.screen-bar { display: flex; align-items: center; gap: 6px; padding: 7px 11px; background: #E9E4DA; color: #5F5850; font-size: 11.5px; }
.screen-bar i { width: 8px; height: 8px; border-radius: 50%; background: #CFC7B9; }
.screen-bar span { margin-left: 8px; padding: 1px 11px; border-radius: 999px; background: #F6F2EA; }
.cur-tabs { display: flex; gap: 4px; padding: 6px 10px 0; background: #E9E4DA; }
.cur-tabs button { padding: 6px 13px; border: 0; border-radius: 6px 6px 0 0; background: transparent; color: #5F5850; font-size: 12.5px; font-weight: 600; cursor: pointer; }
.cur-tabs button[aria-selected="true"] { background: var(--page); color: var(--ink); }
.cur-text .dash li { font-size: 14px; }
.cur-stats { display: flex; flex-wrap: wrap; gap: 10px clamp(18px, 2.6vw, 40px); margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); }
.cur-stats dt { font-size: clamp(26px, 2.4vw, 36px); font-weight: 600; line-height: 1; letter-spacing: -0.02em; color: var(--green); font-variant-numeric: tabular-nums; }
.cur-stats dd { margin-top: 4px; font-size: 10.5px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }

/* ================= Coaching and teams ================= */
.coach { display: grid; grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.5fr); gap: clamp(18px, 2.6vw, 40px); align-items: start; }
.coach-photos .e-photo { margin: 0; padding: 6px 6px 20px; background: var(--sheet); box-shadow: var(--shadow); border-radius: 2px; }
.coach-photos .e-photo:first-child { aspect-ratio: 4 / 3; rotate: -1.5deg; }
.coach-photos .e-photo:last-child { position: relative; width: 82%; aspect-ratio: 1200 / 520; margin: -10% 0 0 auto; rotate: 2deg; }
.coach-photos .e-photo:hover { rotate: 0deg; }
.numbers { padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(18px, 2.4vw, 36px); }
.numbers > li { display: grid; grid-template-columns: clamp(78px, 7vw, 104px) minmax(0, 1fr); gap: 12px; align-items: start; padding: 10px 0 12px; border-top: 1px solid var(--line); }
.num { line-height: 1; }
.num b { display: block; font-size: clamp(26px, 2.4vw, 36px); font-weight: 600; letter-spacing: -0.02em; color: var(--green); font-variant-numeric: tabular-nums; }
.num span { display: block; margin-top: 4px; font-size: 10px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }

/* ================= On stage: a dark stage, the talk lit up, the music as a printed program ================= */
.stage { background: radial-gradient(120% 90% at 30% 0%, #3A1E1C 0%, #1B1210 55%, #120C0B 100%); color: var(--night-ink); --ink-2: #E3D9CB; --muted: #BFB2A2; --line: rgba(236, 229, 216, 0.16); }
.talk { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(18px, 3vw, 48px); align-items: center; }
.talk-shot { position: relative; overflow: hidden; border-radius: 8px; box-shadow: 0 30px 50px -28px rgba(0, 0, 0, 0.9); }
.talk-photo { display: block; width: 100%; aspect-ratio: 16 / 9; height: auto; object-fit: cover; object-position: 50% 60%; cursor: zoom-in; transition: scale 0.8s var(--ease); }
.talk-shot:hover .talk-photo { scale: 1.03; }
.talk-shot figcaption { position: absolute; left: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 8px; padding: 5px 11px; border-radius: 999px; background: rgba(17, 12, 11, 0.72); color: #F4EFE6; font-size: 12px; font-weight: 500; backdrop-filter: blur(6px); }
.talk-shot figcaption img { height: 13px; width: auto; }
.pull { margin: 12px 0 4px; padding-left: 14px; border-left: 2px solid #E04A3A; font-size: clamp(15.5px, 1.25vw, 18px); line-height: 1.45; color: #F4EFE6; }
.music { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(18px, 3vw, 48px); align-items: center; margin-top: clamp(22px, 2.6vw, 36px); }
.music-photos { position: relative; display: grid; grid-template-columns: 1.15fr 1fr; align-items: center; }
.music-photos img { display: block; width: 100%; height: auto; padding: 6px 6px 20px; background: var(--sheet); box-shadow: 0 20px 30px -18px rgba(0, 0, 0, 0.9); cursor: zoom-in; transition: rotate 0.4s var(--ease); }
.music-photos img:first-child { rotate: -2deg; position: relative; z-index: 2; }
.music-photos img:last-child { rotate: 3deg; margin-left: -12%; margin-top: 14%; }
.music-photos img:hover { rotate: 0deg; z-index: 3; }
.program { padding: 18px 22px 20px; background: #F6F0E4; color: var(--ink); border-radius: 3px; box-shadow: 0 24px 40px -24px rgba(0, 0, 0, 0.9); --ink-2: #39342F; --muted: #6A6259; --line: rgba(26, 24, 22, 0.14); }
.program-top { padding-bottom: 6px; margin-bottom: 8px; border-bottom: 3px double var(--ink); font-size: 10.5px; font-weight: 600; letter-spacing: 0.3em; text-transform: uppercase; text-align: center; }
.program .h-serif { text-align: center; }
.program .dash { margin-top: 8px; }
.program-list { margin-top: 12px; }
.program-list div { display: grid; grid-template-columns: auto 1fr; gap: 2px 10px; padding: 6px 0; border-top: 1px dotted rgba(26, 24, 22, 0.3); }
.program-list dt { font-size: 13.5px; font-weight: 600; }
.program-list dd { font-size: 13px; color: var(--muted); text-align: right; }

/* ================= Research: papers on a desk ================= */
.docs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2.6vw, 40px); align-items: start; padding: 2px 10px 12px 0; }
.doc { position: relative; }
.sheet { position: relative; padding: 14px 18px 18px; background: #fff; box-shadow: 0 1px 2px rgba(26, 24, 22, 0.14), 5px 5px 0 -1px #F8F4ED, 5px 5px 0 0 rgba(26, 24, 22, 0.1), 10px 10px 0 -1px #F2ECE2, 10px 10px 0 0 rgba(26, 24, 22, 0.08); transition: translate 0.3s var(--ease), box-shadow 0.3s var(--ease); }
.sheet::after { content: ""; position: absolute; top: 0; right: 0; width: 20px; height: 20px; background: linear-gradient(225deg, var(--sheet) 50%, #E4DCCE 50%); }
.doc:hover .sheet { translate: -2px -4px; box-shadow: 0 1px 2px rgba(26, 24, 22, 0.14), 8px 9px 0 -1px #F8F4ED, 8px 9px 0 0 rgba(26, 24, 22, 0.1), 15px 17px 0 -1px #F2ECE2, 15px 17px 0 0 rgba(26, 24, 22, 0.08); }
.doc-top { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 10px; padding: 0 16px 8px 0; border-bottom: 1px solid var(--line); font-size: 10.5px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); }
.doc-title { max-width: 19ch; }
.doc:has(.doc-photo) .sheet { padding-right: 30%; }
.doc-photo { position: absolute; right: -8px; bottom: -12px; z-index: 2; width: 27%; aspect-ratio: 3 / 4; margin: 0; padding: 4px 4px 12px; background: var(--sheet); box-shadow: 0 10px 18px -8px rgba(26, 24, 22, 0.55); rotate: 4deg; border-radius: 2px; }
.doc.event { display: grid; grid-template-columns: minmax(0, 0.75fr) minmax(0, 1fr); gap: 14px; align-items: center; }
.doc.event .e-photo { aspect-ratio: 3 / 4; margin: 0; padding: 6px 6px 18px; background: var(--sheet); box-shadow: var(--shadow); rotate: -2deg; border-radius: 2px; }

/* ================= After hours ================= */
.after { background: var(--night); color: var(--night-ink); --ink-2: #DDD5C7; --muted: var(--night-muted); --line: rgba(236, 229, 216, 0.14); }
.fridge-block { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: var(--gap); align-items: center; margin-bottom: clamp(16px, 2vw, 26px); }
.fridge { position: relative; display: block; width: clamp(200px, 18vw, 280px); aspect-ratio: 1; padding: 0; border: 0; background: none; cursor: pointer; }
.fridge img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 6px 6px rgba(0, 0, 0, 0.45)); transition: opacity 0.3s ease; }
.fridge .f-open { opacity: 0; }
.fridge[aria-pressed="true"] .f-open { opacity: 1; }
.fridge[aria-pressed="true"] .f-closed { opacity: 0; }
.fridge-copy h3 { color: var(--night-ink); }
.fridge-copy > p { margin: 4px 0 10px; font-size: 13.5px; color: var(--night-muted); }
.foods { max-width: 440px; padding: 0; list-style: none; columns: 2; column-gap: 24px; font-size: 14px; color: var(--ink-2); }
.foods li { padding: 3px 0; break-inside: avoid; }
.food-pop { padding: 0; border: 0; background: linear-gradient(rgba(226, 188, 122, 0.4), rgba(226, 188, 122, 0.4)) 0 90% / 100% 0.3em no-repeat; color: inherit; cursor: zoom-in; }
.food-pop:hover { background-size: 100% 0.9em; }
.booth { display: flex; gap: 10px; width: clamp(110px, 10vw, 150px); }
.strip { position: relative; flex: 1; padding: 0; border: 0; background: none; cursor: zoom-in; transition: translate 0.4s var(--ease); }
.strip img { display: block; width: 100%; height: auto; box-shadow: 0 16px 30px -14px rgba(0, 0, 0, 0.8); }
.strip::before { content: ""; position: absolute; left: 50%; top: -9px; z-index: 2; width: 70%; height: 20px; translate: -50% 0; background: rgba(226, 188, 122, 0.55); rotate: -4deg; }
.strip.s1 { rotate: -4deg; }
.strip.s2 { rotate: 5deg; margin-top: 18px; }
.strip:hover { translate: 0 -6px; }
/* The gallery is a contact sheet: one strip of film, each frame labeled with the thing it is */
.gallery { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 22px 10px; padding: 26px 14px; border-radius: 4px; background: var(--sprocket) repeat-x 0 7px, var(--sprocket) repeat-x 0 calc(100% - 7px), var(--film); }
.shot { display: block; padding: 0; border: 0; background: none; color: inherit; text-align: left; cursor: zoom-in; }
.shot img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 2px; transition: filter 0.4s ease, scale 0.5s var(--ease); }
.shot:hover img { filter: brightness(1.1); scale: 1.03; }
.shot-label { display: block; margin-top: 6px; font-size: 12px; color: var(--night-muted); }
.shot:hover .shot-label { color: #E2BC7A; }

/* ================= Say hi ================= */
.contact { display: flex; flex-wrap: wrap; align-items: center; gap: 12px clamp(20px, 3vw, 44px); padding-top: 24px; padding-bottom: 24px; border-top: 1px solid var(--line); }
.mail { display: inline-flex; align-items: center; gap: 4px; }
.mail-link { font-size: clamp(18px, 1.7vw, 24px); font-weight: 500; color: var(--ink); text-decoration: none; background: linear-gradient(var(--marker), var(--marker)) 0 88% / 100% 0.3em no-repeat; transition: background-size 0.25s ease; overflow-wrap: anywhere; }
.mail-link:hover { background-size: 100% 0.9em; }
.mail-copy { position: relative; display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 8px; background: transparent; color: var(--muted); cursor: pointer; transition: background 0.2s ease, color 0.2s ease; }
.mail-copy svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linejoin: round; }
.mail-copy:hover { background: var(--page-2); color: var(--ink); }
.mail-copy.done { color: var(--green); }
.mail-tip { position: absolute; bottom: calc(100% + 6px); left: 50%; translate: -50% 4px; padding: 4px 9px; border-radius: 6px; background: var(--ink); color: var(--page); font-size: 11.5px; font-weight: 600; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity 0.15s ease, translate 0.15s ease; }
.mail-copy:hover .mail-tip, .mail-copy:focus-visible .mail-tip, .mail-copy.done .mail-tip { opacity: 1; translate: -50% 0; }
.contact-links { display: flex; gap: 22px; padding: 0; list-style: none; font-size: 15px; font-weight: 500; }
.contact-links a { padding-bottom: 2px; border-bottom: 1px solid rgba(26, 24, 22, 0.2); color: var(--ink); text-decoration: none; }
.contact-links a:hover { border-color: var(--ink); }
/* Three little fridge friends cheering you on to say hi (original doodles) */
.cheer { display: flex; align-items: flex-end; gap: 6px; margin-left: auto; }
.cheer figure { position: relative; display: grid; justify-items: center; }
.cheer svg { width: clamp(46px, 4.4vw, 62px); height: auto; overflow: visible; transform-origin: 50% 100%; transition: rotate 0.3s var(--ease); }
.cheer figure:hover svg { rotate: -8deg; }
.cheer figcaption { margin-bottom: 2px; font-family: var(--serif); font-size: 15px; line-height: 1; white-space: nowrap; rotate: -5deg; }
.cheer figure:nth-child(2) figcaption { rotate: 4deg; margin-bottom: 10px; }
.motion .cheer svg { animation: cheer 2.6s ease-in-out infinite; }
.motion .cheer figure:nth-child(2) svg { animation-delay: 0.4s; }
.motion .cheer figure:nth-child(3) svg { animation-delay: 0.8s; }
@keyframes cheer { 0%, 100% { translate: 0 0; } 50% { translate: 0 -4px; } }

.footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 20px; padding: 14px var(--pad); border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.footer p { display: flex; align-items: center; gap: 18px; }
.footer a { color: var(--ink); text-decoration: none; }
.moon-now { display: inline-flex; align-items: center; gap: 8px; }
.moon-now svg { width: 15px; height: 15px; color: var(--gold); }

/* ================= Lightbox ================= */
.lightbox { max-width: min(92vw, 1100px); max-height: 92vh; padding: 0; border: 0; background: transparent; overflow: visible; }
.lightbox::backdrop { background: rgba(17, 15, 13, 0.9); }
.motion .lightbox[open] figure { animation: lb-in 0.5s var(--ease) both; }
@keyframes lb-in { from { opacity: 0; scale: 0.96; } }
.lightbox figure { margin: 0; padding: 8px; background: var(--sheet); }
.lightbox img { display: block; max-width: 100%; max-height: 84vh; margin: 0 auto; object-fit: contain; }
.lightbox-close { position: absolute; top: -44px; right: 0; padding: 7px 15px; border: 0; border-radius: 999px; background: var(--sheet); color: var(--ink); font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; cursor: pointer; }

/* Reveal on scroll: quick and light */
.motion .reveal { opacity: 0; translate: 0 10px; transition: opacity 0.5s ease var(--d, 0ms), translate 0.6s var(--ease) var(--d, 0ms); }
.motion .reveal.in { opacity: 1; translate: 0 0; }
/* Section rules draw in when the title arrives */
.motion .sec-head.reveal { border-bottom-color: transparent; }
.motion .sec-head.reveal.in { border-bottom-color: currentColor; transition: border-color 0.8s ease 0.1s, opacity 0.5s ease, translate 0.6s var(--ease); }

/* ================= Smaller screens ================= */
@media (max-width: 1180px) {
  .briefs { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 0; }
  .brief { padding: 0 12px; }
  .brief:nth-child(3n + 1) { padding-left: 0; border-left: 0; }
  .paper { grid-template-columns: 1fr; row-gap: 18px; }
  .gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .now-grid { grid-template-columns: 1fr 1fr; }
  .guns-layout, .coach, .talk, .music, .curriculum { grid-template-columns: 1fr; }
  .numbers { grid-template-columns: 1fr; }
  .docs { grid-template-columns: 1fr 1fr; }
  .callouts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .coach-photos { max-width: 520px; }
}
@media (max-width: 860px) {
  .about { grid-template-columns: 1fr; }
  .headshot { max-width: 260px; }
  .fridge-block { grid-template-columns: 1fr auto; }
  .fridge { grid-column: 1 / -1; justify-self: center; width: min(320px, 80vw); }
}
@media (max-width: 640px) {
  body { font-size: 15px; }
  .nav-name { font-size: 21px; }
  .hero-name { font-size: clamp(54px, 16vw, 90px); }
  .flick { width: 80vw; }
  .hs-toc { left: 5%; top: 9%; width: 118px; }
  .hs-tedx { left: 41%; top: 5%; width: 80px; }
  .hs-orchestra { right: 4%; top: 10%; width: 124px; }
  .hs-turtle { left: 5%; top: auto; bottom: 30%; width: 74px; }
  .hs-horse { right: 5%; top: auto; bottom: 28%; width: 96px; }
  .hs-onigiri { left: 5%; bottom: 8%; width: 106px; }
  .hs-thinking { left: 41%; bottom: 13%; width: 80px; }
  .hs-avocado { right: 7%; bottom: 7%; width: 92px; }
  .now-grid, .docs { grid-template-columns: 1fr; }
  .callouts { grid-template-columns: 1fr 1fr; }
  .lead { grid-template-columns: 1fr; }
  .lead .e-photo { aspect-ratio: 4 / 3; }
  .briefs { grid-template-columns: 1fr 1fr; }
  .brief, .brief:nth-child(3n + 1) { padding: 0 0 0 10px; border-left: 1px solid var(--line); }
  .brief:nth-child(odd) { padding: 0 10px 0 0; border-left: 0; }
  .bill-top { grid-template-columns: 1fr; }
  .bill-track { grid-template-columns: 1fr 1fr; row-gap: 24px; }
  .bill-track::before, .bill-track::after { display: none; }
  .doc.event { grid-template-columns: 0.8fr 1fr; }
  .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 6px; padding: 24px 8px; }
  .frame { width: 72vw; }
  .contact { flex-direction: column; align-items: flex-start; }
  .cheer { margin-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
.lead .e-photo { object-position: 35% 80%; }

/* Compact pass on images only: text stays the same size */
.bill-top { grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.3fr); }
.brief .e-photo { aspect-ratio: 1; }
.frame { width: clamp(220px, 20vw, 290px); }
.talk { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); }
.music { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr); }
.curriculum { grid-template-columns: minmax(0, 0.95fr) minmax(0, 1fr); }
.fridge-block .booth, .booth { width: clamp(100px, 8.5vw, 124px); }
.fridge { width: clamp(190px, 16vw, 250px); }
@media (max-width: 960px) { .talk, .music, .curriculum { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .bill-top { grid-template-columns: 1fr; } .brief .e-photo { aspect-ratio: 4 / 3; } }
.bill-head { flex-wrap: wrap; row-gap: 6px; }
/* Numbers are always Hanken Grotesk (her rule: the serif 1 reads like an l) */
.sl-num, .t-card.type .t-big { font-family: var(--sans); font-weight: 600; letter-spacing: -0.03em; }
.sl-num { font-size: clamp(32px, 3.4vw, 54px); }
.t-card.type .t-big { font-size: clamp(56px, 5.6vw, 88px); }

/* Logos keep their real colors: they sit on small cream plates instead of being tinted */
.now-mark { display: inline-flex; align-self: flex-start; padding: 6px 10px; border-radius: 6px; background: var(--sheet); }
.now-mark img { height: 20px; max-width: 150px; filter: none; }
.t-card h4 { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.t-logo { height: 20px; width: auto; max-width: 70px; padding: 2px 5px; border-radius: 3px; background: #fff; object-fit: contain; }
.t-card .t-logo { display: inline-block; width: auto; height: 22px; max-width: 76px; aspect-ratio: auto; margin: 0; padding: 2px 5px; border-radius: 3px; background: #fff; object-fit: contain; cursor: default; }

/* ---------- Bills and speeches: real pages on a desk you can drag through ---------- */
.strip-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; margin: clamp(22px, 2.6vw, 34px) 0 10px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.desk { margin: 0 calc(-1 * var(--pad)); padding: 8px var(--pad) 18px; scroll-padding: 0 var(--pad); gap: 16px; }
.paper-card { position: relative; flex: none; display: flex; flex-direction: column; width: clamp(240px, 21vw, 300px); min-height: 300px; padding: 16px 18px 14px 34px; scroll-snap-align: start; background: #fff; box-shadow: 0 1px 2px rgba(26, 24, 22, 0.12), 0 16px 26px -20px rgba(26, 24, 22, 0.55); transition: translate 0.35s var(--ease), box-shadow 0.35s var(--ease); }
.paper-card:hover { translate: 0 -5px; box-shadow: 0 1px 2px rgba(26, 24, 22, 0.12), 0 24px 30px -20px rgba(26, 24, 22, 0.6); }
/* line numbers down the margin, like a real bill */
.paper-card::before { content: "1\A 2\A 3\A 4\A 5\A 6\A 7\A 8\A 9\A 10\A 11\A 12"; position: absolute; left: 10px; top: 52px; white-space: pre; font-size: 9.5px; line-height: 1.95; color: rgba(26, 24, 22, 0.3); font-variant-numeric: tabular-nums; }
.paper-card.speech::before { content: none; }
.paper-card.speech { padding-left: 18px; background: #FFFDF8; }
.pc-top { display: flex; justify-content: space-between; gap: 8px; margin: 0 0 10px -16px; padding-bottom: 7px; border-bottom: 1px solid var(--line); font-size: 10px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); }
.speech .pc-top { margin-left: 0; }
.pc-side { padding: 1px 7px; border-radius: 999px; letter-spacing: 0.1em; }
.pc-side.aff { background: #DDE8DF; color: var(--green); }
.pc-side.neg { background: #F2DCD7; color: var(--red); }
.pc-title { font-family: var(--serif); font-size: 21px; line-height: 1.08; }
.pc-enact { margin-top: 8px; font-size: 10px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.pc-text { margin-top: 5px; font-size: 13px; line-height: 1.5; color: var(--ink-2); }
.pc-text b { font-weight: 600; color: var(--ink); }
.pc-hook { margin-top: 10px; padding-left: 10px; border-left: 2px solid var(--gold); font-size: 14px; line-height: 1.5; color: var(--ink); }
.pc-by { margin-top: auto; padding-top: 12px; font-size: 11.5px; color: var(--muted); }
@media (max-width: 640px) { .paper-card { width: 76vw; } }

/* Bills and speeches: the real first pages, in their own fonts. Click one to read the full page. */
.doc-page { flex: none; width: clamp(230px, 20vw, 290px); margin: 0; scroll-snap-align: start; }
.doc-page img { aspect-ratio: 4 / 5; margin: 0 0 8px; object-fit: cover; object-position: top center; border-radius: 2px; background: #fff; box-shadow: 0 1px 2px rgba(26, 24, 22, 0.14), 0 14px 24px -18px rgba(26, 24, 22, 0.5); transition: translate 0.35s var(--ease), box-shadow 0.35s var(--ease); }
.doc-page:hover img { translate: 0 -4px; box-shadow: 0 1px 2px rgba(26, 24, 22, 0.14), 0 22px 28px -18px rgba(26, 24, 22, 0.55); }
.doc-page figcaption b { display: block; font-size: 14px; font-weight: 600; line-height: 1.3; }
.doc-page figcaption span { display: block; margin-top: 2px; font-size: 12px; color: var(--muted); }
@media (max-width: 640px) { .doc-page { width: 70vw; } }
.doc-page img { display: block; width: 100%; height: auto; cursor: zoom-in; }

/* ---------- Nov 28: logos on transparent backgrounds, fewer film strips ---------- */
/* Currently is a light band now, so every logo shows in its own colors with nothing behind it */
.now { background: var(--sheet); color: var(--ink); --ink-2: #39342F; --muted: #6A6259; }
.now .tagline { color: var(--ink); }
.now .go { color: var(--red); }
.now .go.muted { color: var(--muted); }
.now-mark { padding: 0; border-radius: 0; background: none; }
.now-mark img { height: 26px; max-width: 170px; filter: none; }
.flag { background: var(--green); color: var(--page); }
.bill { background: var(--sheet); }
/* Tournaments: a clean row of photos, no film */
.debate .ribbon.tourneys { margin: 0 calc(-1 * var(--pad)); padding: 4px var(--pad) 12px; scroll-padding: 0 var(--pad); }
.tourneys .t-card { color: var(--ink); }
.tourneys .t-result { color: var(--gold); }
.tourneys .t-note { color: var(--muted); }
.tourneys .t-card.type .t-big { background: var(--page-2); color: var(--green); }
.t-card .t-logo { padding: 0; border-radius: 0; background: none; height: 20px; }
/* Group photos inside their stories */
.lead-more { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; max-width: 420px; }
.lead-more .e-photo { aspect-ratio: 4 / 3; margin: 0; }
.brief .e-media { margin-bottom: 8px; }
.brief .e-media .e-photo { margin: 0; }
.brief .e-inset { width: 48%; right: -6px; bottom: -8px; aspect-ratio: 4 / 3; object-fit: cover; }
.doc-page { width: clamp(250px, 22vw, 330px); }
.doc-page img { aspect-ratio: 8.5 / 11; object-fit: contain; object-position: top center; padding: 8px 6px; background: #fff; }
/* Doodles: loose, hand-drawn vegetables cheering by the email */
.cheer { gap: 4px; }
.cheer svg { width: clamp(52px, 5vw, 70px); }
.cheer figcaption { font-size: 16px; color: var(--ink); }
.cheer figure:nth-child(1) figcaption { rotate: -6deg; }
.cheer figure:nth-child(2) figcaption { rotate: 3deg; margin-bottom: 12px; }
.cheer figure:nth-child(3) figcaption { rotate: -2deg; margin-bottom: 4px; }

/* ---------- Nov 28 (b): bigger, easier section titles with no underline ---------- */
.sec-title { font-size: clamp(42px, 4.8vw, 72px); line-height: 0.95; }
.sec-head, .motion .sec-head.reveal, .motion .sec-head.reveal.in { padding-bottom: 0; border-bottom: 0; }
.about .sec-title { padding-bottom: 0; border-bottom: 0; }

/* =====================================================================
   v12 (Nov 28): bigger photos, swipers, Pantheon feature, bills first,
   Civics with corrected entries, Debate by org, Research as a list, Music.
   ===================================================================== */
.block-title { margin: clamp(22px, 2.6vw, 36px) 0 12px; font-family: var(--serif); font-size: clamp(26px, 2.3vw, 34px); font-weight: 400; line-height: 1.05; }
.sec-head + .block-title, .sec-head + .block-head .block-title { margin-top: 0; }
.block-head { display: flex; align-items: flex-end; flex-wrap: wrap; gap: 6px 18px; margin: 0 0 12px; }
.block-head .block-title { margin: 0; }
.block-note { flex: 1; font-size: 13px; color: var(--muted); }
.flash { animation: flash 2s ease; border-radius: 6px; }
@keyframes flash { 0%, 30% { box-shadow: 0 0 0 4px rgba(214, 170, 92, 0.55); background-color: rgba(214, 170, 92, 0.12); } 100% { box-shadow: 0 0 0 4px rgba(214, 170, 92, 0); } }

/* Swipers: one big photo at a time, swipe or use the arrows */
.swiper { position: relative; --h: clamp(260px, 25vw, 420px); margin-bottom: 12px; }
.swiper.wide { --h: clamp(280px, 30vw, 520px); }
.sw-track { display: flex; height: var(--h); overflow-x: auto; scroll-snap-type: x mandatory; border-radius: 6px; background: var(--page-2); scrollbar-width: none; }
.sw-track::-webkit-scrollbar { display: none; }
.sw-track img { flex: 0 0 100%; width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; scroll-snap-align: start; cursor: zoom-in; }
.sw-ui { position: absolute; right: 10px; bottom: 10px; display: flex; align-items: center; gap: 4px; padding: 3px; border-radius: 999px; background: rgba(17, 15, 13, 0.62); color: #F4EFE6; backdrop-filter: blur(6px); }
.sw-btn { width: 30px; height: 30px; border: 0; border-radius: 50%; background: transparent; color: inherit; cursor: pointer; }
.sw-btn:hover { background: rgba(255, 255, 255, 0.16); }
.sw-count { min-width: 44px; font-size: 12px; text-align: center; font-variant-numeric: tabular-nums; }

/* Currently: Pantheon as the feature, Loaded and the research project beside each other */
.now { background: var(--sheet); }
.pan { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 48px); align-items: center; }
.pan .swiper { margin: 0; }
.pan .sw-track img { object-fit: contain; background: #0E1A18; }
.pan-stats { display: flex; flex-wrap: wrap; gap: 8px 26px; margin-top: 14px; }
.pan-stats dt { font-size: clamp(24px, 2.2vw, 32px); font-weight: 600; line-height: 1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.pan-stats dd { margin-top: 3px; font-size: 10.5px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.pan-programs { margin-top: 12px; font-size: 13px; color: var(--muted); }
.pan .meta { margin-top: 12px; }
.now-mark img { height: 30px; }
.now-pair { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 48px); margin-top: clamp(26px, 3vw, 44px); }
.now-pair .now-card { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 18px; align-items: center; }
.now-shot { display: block; overflow: hidden; border-radius: 6px; box-shadow: 0 18px 30px -22px rgba(26, 24, 22, 0.6); }
.now-shot img, .now-shot .orange-tile { display: block; width: 100%; height: auto; aspect-ratio: 16 / 11; object-fit: cover; object-position: top; }

/* Gun policy: the bills lead */
.bills { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2vw, 28px); align-items: stretch; }
.bills .bill { margin: 0; padding: 16px 18px 18px; }
.bills .bill-top { grid-template-columns: 1fr; gap: 12px; }
.bills .bill-page { aspect-ratio: 16 / 9; object-position: top center; }
.bill-no { font-size: 20px; }
.bills .bill-small .bill-no { font-size: 20px; }
.bill-title { font-size: clamp(22px, 1.9vw, 28px); }
.positions { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.2fr); gap: clamp(18px, 2.6vw, 40px); align-items: start; }
.positions .swiper { --h: clamp(300px, 30vw, 480px); }
.pos { padding: 12px 0 14px; border-top: 1px solid var(--line); }
.pos:first-child { border-top: 0; padding-top: 0; }
.pos-org { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold); }
.pos-org .e-logo { height: 18px; }
.pos h3 { margin-top: 4px; font-size: 18px; }

/* Civics: every role gets real photos you can swipe through */
.civ-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(22px, 2.6vw, 38px) clamp(16px, 2vw, 28px); }
.civ.span2 { grid-column: span 2; }
.civ h3 { font-size: 18px; }
.civ .dash li { font-size: 14px; }

/* Debate */
.debate .ribbon.tourneys { padding-bottom: 6px; }
.t-card { width: clamp(200px, 17vw, 250px); }
.reader { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(16px, 2.4vw, 36px); align-items: start; }
.rd-page { margin: 0; height: clamp(420px, 44vw, 640px); overflow-y: auto; padding: 14px; border-radius: 4px; background: #fff; box-shadow: 0 1px 2px rgba(26, 24, 22, 0.12), 0 24px 36px -26px rgba(26, 24, 22, 0.55); }
.rd-page img { display: block; width: 100%; height: auto; cursor: zoom-in; }
.rd-side { max-height: clamp(420px, 44vw, 640px); overflow-y: auto; }
.rd-group { margin: 0 0 4px; font-size: 10.5px; font-weight: 600; letter-spacing: 0.13em; text-transform: uppercase; color: var(--gold); }
.rd-list { margin: 0 0 14px; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.rd-list button { display: block; width: 100%; padding: 9px 10px; border: 0; border-bottom: 1px solid var(--line); background: transparent; text-align: left; cursor: pointer; transition: background 0.2s ease; }
.rd-list button:hover { background: rgba(26, 24, 22, 0.04); }
.rd-list button[aria-selected="true"] { background: var(--sheet); box-shadow: inset 3px 0 0 var(--green); }
.rd-list b { display: block; font-size: 14.5px; font-weight: 600; }
.rd-list span { display: block; margin-top: 1px; font-size: 12px; color: var(--muted); }
.orgs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 34px); }
.org { padding-top: 12px; border-top: 2px solid var(--ink); }
.org-name { display: flex; align-items: center; gap: 8px; min-height: 26px; margin-bottom: 10px; font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.org-name .e-logo { height: 22px; max-width: 90px; }
.org .swiper { --h: clamp(220px, 19vw, 300px); }
.org .sw-track img { object-fit: contain; background: #fff; }
.teams { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 34px); }
.teams .item { padding-top: 12px; border-top: 1px solid var(--line); }

/* Research: a plain list with bigger photos */
.rlist { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 34px); align-items: start; }
.ritem .e-photo { aspect-ratio: 4 / 5; object-position: 50% 30%; }
.ritem h3 { font-size: 18px; }
.ritem.no-photo { padding-top: 12px; border-top: 1px solid var(--line); }

/* Music */
.music-sec { background: var(--page); }
.music-row { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(18px, 3vw, 48px); align-items: center; }
.music-row h3 { font-family: var(--serif); font-size: var(--t2); font-weight: 400; }
.awards { margin-top: 14px; }
.awards div { padding: 8px 0; border-top: 1px solid var(--line); }
.awards dt { font-size: 15px; font-weight: 600; }
.awards dd { margin-top: 1px; font-size: 13px; color: var(--muted); }

/* After hours: bigger photos */
.gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* Replay the opening */
.replay { position: absolute; right: var(--pad); bottom: 22px; z-index: 5; display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border: 1px solid rgba(26, 24, 22, 0.22); border-radius: 999px; background: rgba(252, 250, 246, 0.8); color: var(--ink); font-size: 12.5px; font-weight: 600; cursor: pointer; backdrop-filter: blur(6px); }
.replay:hover { background: var(--ink); color: var(--page); }

@media (max-width: 1100px) {
  .civ-grid { grid-template-columns: 1fr 1fr; }
  .orgs, .teams, .rlist { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .pan, .now-pair, .bills, .positions, .reader, .music-row { grid-template-columns: 1fr; }
  .rd-page { height: 70vh; }
  .rd-side { max-height: none; }
}
@media (max-width: 640px) {
  .civ-grid, .orgs, .teams, .rlist { grid-template-columns: 1fr; }
  .civ.span2 { grid-column: auto; }
  .now-pair .now-card { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .swiper { --h: 62vw; }
  .replay { bottom: 70px; }
}

/* Fridge: big, and every food inside is tappable */
.fridge-block { grid-template-columns: auto minmax(0, 1fr) auto; gap: clamp(18px, 3vw, 48px); }
.fridge-wrap { position: relative; width: clamp(320px, 38vw, 580px); aspect-ratio: 1; }
.fridge-wrap .fridge { width: 100%; height: 100%; }
.hot { position: absolute; z-index: 3; padding: 0; border: 0; border-radius: 10px; background: transparent; cursor: pointer; opacity: 0; pointer-events: none; transition: opacity 0.3s ease 0.15s, box-shadow 0.2s ease; }
.fridge[aria-pressed="true"] ~ .hot { opacity: 1; pointer-events: auto; }
.hot:hover, .hot:focus-visible, .hot.on { box-shadow: 0 0 0 2px rgba(226, 188, 122, 0.9), 0 0 18px rgba(226, 188, 122, 0.45); }
.motion .fridge[aria-pressed="true"] ~ .hot:not(.on) { animation: hint 2.4s ease-in-out 0.6s 2; }
@keyframes hint { 0%, 100% { box-shadow: none; } 50% { box-shadow: 0 0 0 2px rgba(226, 188, 122, 0.55); } }
.food-card { position: absolute; z-index: 5; width: clamp(170px, 15vw, 230px); padding: 8px 8px 10px; border-radius: 10px; background: var(--sheet); color: var(--ink); box-shadow: 0 24px 40px -18px rgba(0, 0, 0, 0.75); }
.food-card.flip { translate: -100% 0; }
.food-card[hidden] { display: none; }
.motion .food-card:not([hidden]) { animation: pop 0.35s var(--ease); }
@keyframes pop { from { opacity: 0; scale: 0.9; } }
.fc-pic { width: 100%; border-radius: 6px; background-repeat: no-repeat; background-color: #fff; overflow: hidden; }
.fc-pic img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.fc-name { margin-top: 7px; font-family: var(--serif); font-size: 20px; line-height: 1.05; }
.fridge-copy > p { margin: 6px 0 0; font-size: 14px; color: var(--night-muted); }
.fridge-copy .fridge-note { margin-top: 14px; font-size: 13px; }
@media (max-width: 860px) { .fridge-wrap { grid-column: 1 / -1; justify-self: center; width: min(560px, 92vw); } }
.cheer svg { width: clamp(60px, 5.4vw, 78px); }
@media (max-width: 860px) {
  .block-note { flex-basis: 100%; order: 3; }
  .rd-page { height: auto; max-height: 70vh; }
}

/* ---------- Photo slides you can tell are slides ---------- */
.swiper { margin-bottom: 14px; }
.sw-track { column-gap: 8px; scroll-padding: 0; }
.swiper.multi .sw-track img { flex: 0 0 calc(100% - 56px); }
.swiper.multi .sw-track img:last-child { margin-right: 0; }
.sw-ui { display: contents; }
.sw-btn { position: absolute; top: calc(var(--h) / 2 - 22px); z-index: 2; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(252, 250, 246, 0.94); color: var(--ink); font-size: 18px; box-shadow: 0 6px 18px -6px rgba(0, 0, 0, 0.55); cursor: pointer; transition: opacity 0.2s ease, scale 0.2s ease; }
.sw-btn:hover { scale: 1.08; background: #fff; }
.sw-btn[data-dir="-1"] { left: 10px; }
.sw-btn[data-dir="1"] { right: 10px; }
.sw-btn:disabled { opacity: 0; pointer-events: none; }
.sw-count { position: absolute; top: 10px; left: 10px; z-index: 2; min-width: 0; padding: 4px 10px; border-radius: 999px; background: rgba(17, 15, 13, 0.62); color: #F4EFE6; font-size: 12px; font-weight: 600; backdrop-filter: blur(6px); }
.sw-count::before { content: ""; display: inline-block; width: 11px; height: 9px; margin-right: 6px; border: 1.5px solid currentColor; border-radius: 2px; box-shadow: 3px -3px 0 -1.5px rgba(17, 15, 13, 0.62), 3px -3px 0 0 currentColor; vertical-align: -0.5px; }
.sw-dots { display: flex; justify-content: center; gap: 6px; margin-top: 9px; }
.sw-dots button { width: 7px; height: 7px; padding: 0; border: 0; border-radius: 4px; background: rgba(26, 24, 22, 0.22); cursor: pointer; transition: width 0.25s var(--ease), background 0.25s ease; }
.sw-dots button.on { width: 20px; background: var(--ink); }
.after .sw-dots button { background: rgba(236, 229, 216, 0.3); }
.after .sw-dots button.on { background: var(--night-ink); }
.sw-dots:empty { display: none; }
@media (max-width: 640px) { .sw-btn { width: 38px; height: 38px; } .swiper.multi .sw-track img { flex-basis: calc(100% - 36px); } }
.rd-hint { margin: 0 0 12px; font-size: 13px; color: var(--muted); }
.debate .ribbon.tourneys { -webkit-mask-image: linear-gradient(90deg, #000 92%, transparent); mask-image: linear-gradient(90deg, #000 92%, transparent); }
.t-card img, .now-shot img, .e-photo, .headshot img { cursor: zoom-in; }

/* ---------- Opening v2: her real objects, and the flip photos landing as prints ---------- */
.hs { filter: drop-shadow(0 10px 14px rgba(26, 24, 22, 0.25)); }
.hs-badge    { left: 14%;  top: 8%;   width: clamp(120px, 11.5vw, 180px); }
.hs-tedx     { left: 45.5%; top: 4%;  width: clamp(92px, 8.5vw, 132px); }
.hs-camera   { left: 75%;  top: 10%;  width: clamp(150px, 14vw, 220px); }
.hs-medal    { left: 2%;   top: 38%;  width: clamp(80px, 7.5vw, 118px); }
.hs-bass     { right: 3%;  top: 30%;  width: clamp(62px, 5.6vw, 88px); }
.hs-notebook { left: 41%;  bottom: 7%; width: clamp(92px, 8.6vw, 134px); }
.hs-badge { --i: 0; } .hs-tedx { --i: 1; } .hs-camera { --i: 2; } .hs-medal { --i: 3; } .hs-bass { --i: 4; } .hs-notebook { --i: 5; }
.hero-prints { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.hp { position: absolute; width: clamp(96px, 9.5vw, 150px); aspect-ratio: 4 / 5; object-fit: cover; padding: 5px 5px 16px; background: var(--sheet); box-shadow: 0 10px 22px -10px rgba(26, 24, 22, 0.55); }
.motion .hero-prints.go .hp { animation: land 0.7s cubic-bezier(0.2, 0.9, 0.3, 1.15) both, bob 6s ease-in-out infinite; animation-delay: calc(1.05s + var(--i) * 70ms), calc(2.4s + var(--i) * 0.5s); }
@keyframes land { from { opacity: 0; translate: var(--fx, 0) var(--fy, 0); scale: 1.9; } 60% { opacity: 1; } }
@media (max-width: 640px) {
  .hp { width: 74px; }
  .hp:nth-child(n+5) { display: none; }
  .hs-badge { left: 5%; top: 9%; width: 92px; } .hs-tedx { left: 41%; top: 5%; width: 70px; } .hs-camera { left: auto; right: 5%; top: 10%; width: 112px; }
  .hs-medal { left: 4%; top: auto; bottom: 26%; width: 62px; } .hs-bass { right: 6%; top: auto; bottom: 22%; width: 46px; } .hs-notebook { left: 40%; bottom: 13%; width: 70px; }
}
@media (max-width: 640px) {
  .hs-badge { left: 4%; top: 4%; width: 84px; } .hs-tedx { left: 41%; top: 3%; width: 62px; } .hs-camera { right: 4%; top: 5%; width: 100px; }
  .hs-medal { left: 6%; bottom: 31%; width: 56px; } .hs-bass { right: 8%; bottom: 27%; width: 42px; } .hs-notebook { left: 42%; bottom: 13%; width: 64px; }
  .hp { width: 70px; }
  .hp:nth-child(1) { left: 6% !important; top: 17% !important; }
  .hp:nth-child(2) { left: 38% !important; top: 15% !important; }
  .hp:nth-child(3) { left: 71% !important; top: 18% !important; }
  .hp:nth-child(4) { left: 9% !important; top: 75% !important; }
}

/* ---------- Reader: a clear switch, big options, arrows on the page ---------- */
.rd-view { position: relative; }
.rd-nav { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 12px; }
.rd-arrow { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 50%; background: var(--sheet); font-size: 17px; cursor: pointer; box-shadow: 0 4px 12px -6px rgba(0, 0, 0, 0.35); }
.rd-arrow:hover { background: var(--ink); color: var(--page); }
.rd-arrow:disabled { opacity: 0.3; pointer-events: none; }
.rd-pos { min-width: 110px; font-size: 13px; font-weight: 600; text-align: center; font-variant-numeric: tabular-nums; }
.rd-seg { display: flex; padding: 4px; margin-bottom: 10px; border-radius: 999px; background: var(--page-2); }
.rd-seg button { flex: 1; padding: 10px 14px; border: 0; border-radius: 999px; background: transparent; color: var(--muted); font-size: 14px; font-weight: 600; cursor: pointer; transition: background 0.2s ease, color 0.2s ease; }
.rd-seg button span { margin-left: 4px; padding: 1px 7px; border-radius: 999px; background: rgba(26, 24, 22, 0.08); font-size: 11.5px; }
.rd-seg button[aria-selected="true"] { background: var(--sheet); color: var(--ink); box-shadow: 0 2px 8px -3px rgba(0, 0, 0, 0.3); }
.rd-list { border-top: 0; display: grid; gap: 6px; }
.rd-list[hidden] { display: none; }
.rd-list button { padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--sheet); }
.rd-list button:hover { border-color: rgba(26, 24, 22, 0.35); background: #fff; }
.rd-list button[aria-selected="true"] { border-color: var(--green); background: #fff; box-shadow: inset 4px 0 0 var(--green), 0 4px 14px -8px rgba(0, 0, 0, 0.35); }
.rd-list b { font-size: 15px; }

/* ---------- Opening v3: calm. Four objects in the corners, two prints, lots of air ---------- */
.hs-badge    { left: 8%;  top: 9%;   right: auto; bottom: auto; width: clamp(120px, 11vw, 170px); }
.hs-camera   { left: auto; right: 8%; top: auto; bottom: 10%; width: clamp(150px, 13.5vw, 210px); }
.hs-medal    { left: 10%; top: auto; bottom: 9%; right: auto; width: clamp(84px, 7.6vw, 118px); }
.hs-tedx     { left: auto; right: 9%; top: 10%; bottom: auto; width: clamp(88px, 8vw, 124px); }
.hs-badge { --i: 0; } .hs-tedx { --i: 1; } .hs-camera { --i: 2; } .hs-medal { --i: 3; }
.hp { width: clamp(100px, 9vw, 140px); }
@media (max-width: 640px) {
  .hs-badge { left: 6%; top: 7%; width: 86px; } .hs-tedx { right: 7%; left: auto; top: 8%; width: 66px; }
  .hs-camera { right: 6%; left: auto; bottom: 12%; width: 104px; } .hs-medal { left: 8%; bottom: 11%; width: 60px; }
  .hp { width: 72px; }
  .hp:nth-child(1) { left: 58% !important; top: 20% !important; }
  .hp:nth-child(2) { left: 14% !important; top: 66% !important; }
}
@media (max-width: 640px) { .replay { top: 14px; bottom: auto; right: 14px; } .hs-camera { bottom: 13%; } }
/* The new renders (matched to the TEDx pin) */
.hs-badge  { width: clamp(118px, 10.5vw, 160px); }
.hs-medal  { width: clamp(70px, 6.2vw, 96px); bottom: 7%; }
.hs-camera { width: clamp(160px, 14vw, 220px); }
@media (max-width: 640px) { .hs-badge { width: 84px; } .hs-medal { width: 50px; } .hs-camera { width: 110px; } }
/* v15: true-photo renders of her badge, medal and camera, angled like the TEDx pin */
.hs-badge  { width: clamp(140px, 12vw, 188px); }
.hs-medal  { width: clamp(92px, 8vw, 126px); bottom: 7%; }
.hs-camera { width: clamp(170px, 14.5vw, 228px); }
@media (max-width: 640px) { .hs-badge { width: 96px; } .hs-medal { width: 64px; } .hs-camera { width: 116px; } }
/* v15: clearer cues. Words instead of letters on tournament cards, a visible "tap" cue on the fridge, fewer dots on long slideshows */
.t-card.type .t-big.word { font-size: clamp(38px, 3.6vw, 56px); letter-spacing: -0.02em; }
.fridge-cue { position: absolute; z-index: 4; left: 50%; translate: -50% 0; padding: 6px 12px; border-radius: 999px; background: rgba(252, 250, 246, 0.94); color: var(--ink); font-size: 12.5px; font-weight: 600; white-space: nowrap; pointer-events: none; box-shadow: 0 8px 20px -10px rgba(0, 0, 0, 0.6); transition: opacity 0.3s ease; }
.cue-closed { top: 46%; }
.cue-open { top: 3%; opacity: 0; }
.fridge[aria-pressed="true"] ~ .cue-closed { opacity: 0; }
.fridge[aria-pressed="true"] ~ .cue-open { opacity: 1; }
.fridge-wrap.tasted .cue-open { opacity: 0; }
.motion .cue-closed { animation: cue 2.4s ease-in-out 1s infinite; }
@keyframes cue { 0%, 100% { translate: -50% 0; } 50% { translate: -50% -4px; } }
.sw-dots.many { display: block; width: min(160px, 40%); height: 3px; margin-inline: auto; border-radius: 3px; background: rgba(26, 24, 22, 0.14); overflow: hidden; }
.sw-dots.many > * { display: none; }
.sw-dots.many::before { content: ""; display: block; height: 100%; width: var(--p, 10%); border-radius: 3px; background: var(--ink); transition: width 0.3s ease; }
/* v15.1: the objects land on the page and stay put, with a contact shadow plus a soft one, like things lying on paper (light from the upper left) */
.hs { filter: drop-shadow(1px 2px 1.5px rgba(26, 24, 22, 0.22)) drop-shadow(5px 9px 12px rgba(26, 24, 22, 0.14)); }
.motion .hs { animation: land 0.6s cubic-bezier(0.25, 1, 0.5, 1) both; animation-delay: calc(1.5s + var(--i, 0) * 90ms); }
@keyframes land { from { opacity: 0; translate: 0 -18px; scale: 1.08; } 60% { opacity: 1; } }
.hs-badge  { width: clamp(128px, 10.5vw, 164px); }
.hs-medal  { width: clamp(74px, 6.4vw, 98px); bottom: 5%; }
.hs-camera { width: clamp(176px, 15vw, 236px); }
@media (max-width: 640px) { .hs-badge { width: 86px; } .hs-medal { width: 46px; } .hs-camera { width: 120px; } }

/* ================= v16 opening: the flip photos become a full-screen collage behind her name ================= */
.hero { --flip-end: 1320ms; }
.hero-collage { position: absolute; inset: 0; z-index: 0; display: grid; grid-template-columns: repeat(6, 1fr); grid-template-rows: repeat(4, 1fr); grid-template-areas: "a a b c d d" "a a e c f g" "h i i j f k" "h l l l l k"; gap: 6px; padding: 6px; pointer-events: none; }
.hc { position: relative; overflow: hidden; border-radius: 3px; background: var(--page-2); }
.hc img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 32%; }
/* a soft cream wash, strongest behind the name, so the photos read at the edges and the name stays crisp */
.hero-name { z-index: 3; }
.hero-cue { z-index: 4; background: rgba(252, 250, 246, 0.8); backdrop-filter: blur(6px); }
.motion .flick { animation: flick-out 0.55s ease var(--flip-end) forwards; }
.motion .hero-name { animation: name-in 1.1s var(--ease) calc(var(--flip-end) + 350ms) both; }
.motion .hero-cue { animation: fade 0.6s ease calc(var(--flip-end) + 900ms) both; }
.motion .hero-collage .hc { opacity: 0; }
.motion .hero-collage.go .hc { opacity: 1; animation: tile-in 1.1s cubic-bezier(0.22, 0.8, 0.2, 1) both; animation-delay: calc(var(--flip-end) - var(--late, 0ms) - 60ms + var(--i) * 70ms); }
.motion .hero-collage.settled .hc { opacity: 1; animation: none; }
@keyframes tile-in { from { opacity: 0; transform: translate(var(--fx, 0), var(--fy, 0)) scale(var(--fs, 1)); } 25% { opacity: 1; } }
@media (max-width: 640px) {
  .hero-collage { grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(5, 1fr); grid-template-areas: "a a b" "c d b" "c e e" "f g g" "h h i"; gap: 4px; padding: 4px; }
  .hc:nth-child(n+10) { display: none; }
}

/* v16.1 (her reference): full-color photos packed edge to edge, her name on a white band across the middle */
.hero-collage { gap: 3px; padding: 0; background: var(--sheet); }
.hc { border-radius: 0; }
.hero-name { width: fit-content; max-width: calc(100% - 32px); padding: 0.12em 0.42em 0.18em; background: var(--sheet); font-size: clamp(46px, 7.2vw, 118px); box-shadow: 0 18px 40px -18px rgba(26, 24, 22, 0.45); }
.flick { width: min(74vh, 86vw); }
.flick img { border-width: 12px; }
@media (max-width: 640px) { .hero-name { font-size: clamp(40px, 12vw, 58px); } .flick { width: 86vw; } .hero-collage { gap: 2px; } }
/* the copy of the name that glides into the top bar */
.fly-name { position: fixed; z-index: 60; margin: 0; transform-origin: 0 0; will-change: transform; pointer-events: none; animation: none !important; text-align: center; }
.name-glide .nav-name { opacity: 0; transition: opacity 0.12s linear; }
.name-glide.name-docked .nav-name { opacity: 1; }
/* a taller top bar */
.nav { padding-top: 16px; padding-bottom: 16px; }
.nav-name { font-size: 30px; }
.nav ul a { font-size: 15px; }
.nav ul a.nav-cta { padding: 8px 18px; }
@media (max-width: 640px) { .nav { padding-top: 13px; padding-bottom: 13px; } .nav-name { font-size: 25px; } }

/* ================= v16 site-wide: readable text, square photos, smaller photos, one highlight style ================= */
body { font-size: 17px; line-height: 1.55; }
.meta { font-size: 14.5px; }
.dash li, .civ .dash li, .brief .dash li, .cur-text .dash li { font-size: 16px; line-height: 1.5; }
.item h3 { font-size: 18.5px; }
.civ h3 { font-size: 20px; }
@media (max-width: 640px) { body { font-size: 16.5px; } .dash li, .civ .dash li { font-size: 15.5px; } }
/* photos have square corners everywhere */
.sw-track, .sw-track img, .headshot, .headshot img, .now-shot, .now-shot img, .t-card img, .e-photo, .shot, .shot img, .frame img,
.peek-card img, .hc, .booth img, .rd-page, .rd-page img, .orange-tile { border-radius: 0 !important; }
/* smaller photos, so the page takes fewer scrolls */
.swiper { --h: clamp(190px, 16vw, 260px); }
.swiper.wide { --h: clamp(230px, 22vw, 340px); }
.positions .swiper { --h: clamp(220px, 19vw, 300px); }
.org .swiper { --h: clamp(170px, 14vw, 220px); }
@media (max-width: 640px) { .swiper, .swiper.wide, .positions .swiper, .org .swiper { --h: 56vw; } }
/* one highlight style: a soft highlighter pen behind the words, no underline */
mark, .peek { padding: 0 0.12em; margin: 0 -0.04em; border-radius: 2px; background: linear-gradient(transparent 12%, rgba(233, 196, 120, 0.42) 12%, rgba(233, 196, 120, 0.42) 92%, transparent 92%); color: inherit; text-decoration: none; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.peek { border: 0; font: inherit; cursor: pointer; transition: background-color 0.2s ease; }
.peek:hover, .peek:focus-visible, .peek[aria-expanded="true"] { background: linear-gradient(transparent 12%, rgba(233, 196, 120, 0.7) 12%, rgba(233, 196, 120, 0.7) 92%, transparent 92%); background-size: auto; }
.callouts b { background: none; }

/* ================= v16 About: balanced, a logo ribbon, and some motion ================= */
.about { grid-template-columns: minmax(200px, 0.62fr) minmax(0, 2fr); align-items: stretch; row-gap: clamp(22px, 2.6vw, 36px); }
.about .headshot { align-self: stretch; }
.about .headshot img { height: 100%; aspect-ratio: auto; min-height: 320px; object-fit: cover; }
.about-body { display: flex; flex-direction: column; justify-content: center; }
.bio { max-width: none; font-size: clamp(18px, 1.55vw, 23px); line-height: 1.45; }
.callouts { margin-top: 6px; }
.callouts b { font-size: clamp(26px, 2.5vw, 38px); }
.callouts span { font-size: 15px; }
.logo-ribbon { grid-column: 1 / -1; display: flex; overflow: hidden; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.lr-track { display: flex; flex: none; align-items: center; gap: clamp(36px, 4.5vw, 72px); margin: 0; padding: 0 clamp(18px, 2.25vw, 36px); list-style: none; animation: ribbon 46s linear infinite; }
.lr-track img { display: block; height: clamp(26px, 2.4vw, 36px); width: auto; max-width: 170px; object-fit: contain; }
.logo-ribbon:hover .lr-track { animation-play-state: paused; }
@keyframes ribbon { to { transform: translateX(-100%); } }
@media (prefers-reduced-motion: reduce) { .lr-track { animation: none; } .lr-track[aria-hidden] { display: none; } .logo-ribbon { flex-wrap: wrap; } .lr-track { flex-wrap: wrap; row-gap: 16px; } }
@media (max-width: 860px) { .about .headshot img { min-height: 0; aspect-ratio: 4 / 5; } }
/* About comes in: the photo wipes open, the bio rises, the numbers follow one by one */
.motion .about .headshot { clip-path: inset(0 0 100% 0); transition: clip-path 1s cubic-bezier(0.7, 0, 0.2, 1); }
.motion .about .headshot img { scale: 1.12; transition: scale 1.6s cubic-bezier(0.2, 0.7, 0.2, 1); }
.motion .about .bio, .motion .about .sec-title { opacity: 0; translate: 0 18px; transition: opacity 0.7s ease, translate 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); }
.motion .about .callouts li { opacity: 0; translate: 0 16px; transition: opacity 0.6s ease, translate 0.6s cubic-bezier(0.2, 0.7, 0.2, 1); }
.motion .about .logo-ribbon { opacity: 0; transition: opacity 1s ease 0.6s; }
.motion .about.on .headshot { clip-path: inset(0 0 0 0); }
.motion .about.on .headshot img { scale: 1; }
.motion .about.on .bio, .motion .about.on .sec-title, .motion .about.on .callouts li { opacity: 1; translate: 0 0; }
.motion .about.on .sec-title { transition-delay: 0.15s; }
.motion .about.on .bio { transition-delay: 0.3s; }
.motion .about.on .callouts li:nth-child(1) { transition-delay: 0.45s; } .motion .about.on .callouts li:nth-child(2) { transition-delay: 0.53s; }
.motion .about.on .callouts li:nth-child(3) { transition-delay: 0.61s; } .motion .about.on .callouts li:nth-child(4) { transition-delay: 0.69s; }
.motion .about.on .callouts li:nth-child(5) { transition-delay: 0.77s; } .motion .about.on .callouts li:nth-child(6) { transition-delay: 0.85s; }
.motion .about.on .logo-ribbon { opacity: 1; }
.nowrap { white-space: nowrap; }
.lr-track img.sq { height: clamp(42px, 3.8vw, 58px); }

/* ================= v16 Currently: Pantheon reads as the main thing ================= */
.pan .now-mark img { height: clamp(50px, 4.6vw, 68px); max-width: none; }
.pan .tagline { font-size: clamp(19px, 1.5vw, 22px); font-weight: 600; }
.pan-stats dt { font-size: clamp(30px, 2.7vw, 42px); }
.pan-stats dd { font-size: 14px; }
.pan-programs { font-size: 16px; }
.pan .dash li { font-size: 16.5px; }
.now-card .tagline { font-size: 17px; }

/* ================= v16 Gun policy: two clean bill cards, bigger positions ================= */
.guns .sec-head { margin-bottom: clamp(16px, 2vw, 26px); }
.bills { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2.2vw, 32px); margin-bottom: clamp(26px, 3vw, 44px); }
.bill2 { display: grid; grid-template-rows: auto 1fr; background: var(--sheet); border: 1px solid var(--line); }
.bill2-page { display: block; padding: 0; border: 0; border-bottom: 1px solid var(--line); background: #fff; cursor: zoom-in; overflow: hidden; }
.bill2-page img { display: block; width: 100%; height: clamp(120px, 11vw, 160px); object-fit: cover; object-position: top center; transition: scale 0.6s var(--ease); }
.bill2-page:hover img { scale: 1.03; }
.bill2-body { padding: 14px 18px 18px; }
.bill2-no { display: flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 700; letter-spacing: 0.04em; }
.bill2-title { margin-top: 4px; font-family: var(--serif); font-size: clamp(24px, 2.1vw, 32px); font-weight: 400; line-height: 1.05; }
.bill2-sum { margin-top: 8px; font-size: 16px; line-height: 1.5; color: var(--ink-2); }
.bill2-meta { margin-top: 8px; font-size: 13.5px; color: var(--muted); }
.bill2.wait .bill-stamp { opacity: 0; scale: 1.8; rotate: -8deg; }
.bill2 .bill-stamp { transition: opacity 0.35s ease 0.25s, scale 0.45s cubic-bezier(0.3, 1.6, 0.5, 1) 0.25s, rotate 0.45s ease 0.25s; rotate: -4deg; }
.bill2.run .bill-stamp { opacity: 1; scale: 1; rotate: -4deg; }
@media (max-width: 760px) { .bills { grid-template-columns: 1fr; } }
.positions { grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.3fr); }
.pos { padding: 16px 0 18px; }
.pos-org { font-size: 13px; }
.pos-org .e-logo { height: 22px; }
.pos h3 { font-size: clamp(20px, 1.7vw, 24px); font-family: var(--serif); font-weight: 400; line-height: 1.15; }
.pos .meta { font-size: 15px; }
.pos .dash li { font-size: 16.5px; }

/* ================= v16 one entry style: photo on the left, text on the right, two entries per row ================= */
.rows { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(22px, 2.4vw, 34px) clamp(24px, 3vw, 48px); }
.row { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(14px, 1.4vw, 22px); align-items: start; }
.row .swiper { margin: 0; }
.row .sw-track { height: auto; aspect-ratio: 4 / 3; }
.row h3 { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: clamp(18px, 1.45vw, 21px); font-weight: 650; line-height: 1.2; }
.row h3 .e-logo { height: 20px; width: auto; }
.row .meta { margin-top: 3px; font-size: 14.5px; }
.row .dash { margin-top: 8px; }
.row .dash li { font-size: 16px; line-height: 1.45; }
.row .dash li + li { margin-top: 5px; }
@media (max-width: 1100px) { .rows { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .row { grid-template-columns: 1fr; } .row .sw-track { aspect-ratio: 16 / 10; } }
/* every slideshow shows one whole photo at a time (no peeking edge), with the same arrows, counter and dots */
.swiper.multi .sw-track img, .sw-track img { flex: 0 0 100%; }
.sw-track { column-gap: 0; }
.sw-btn { opacity: 0; transition: opacity 0.2s ease; }
.swiper:hover .sw-btn, .swiper:focus-within .sw-btn { opacity: 1; }
@media (hover: none) { .sw-btn { opacity: 1; } }
.sw-dots { margin-top: 8px; }
/* denser sections */
.sec { padding-top: clamp(28px, 3vw, 46px); padding-bottom: clamp(28px, 3vw, 46px); }
.sec-head { margin-bottom: clamp(16px, 1.8vw, 26px); }

/* ================= v16 Debate ================= */
.block-hint { margin-left: 10px; font-family: var(--sans); font-size: 14px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.compete { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(18px, 2.6vw, 40px); align-items: center; }
.compete .swiper { margin: 0; }
.compete .sw-track { height: auto; aspect-ratio: 4 / 3; }
.compete .block-title { margin: 0 0 10px; }
.sw-cap { position: absolute; left: 0; right: 0; top: 0; z-index: 2; margin: 0; padding: 0; pointer-events: none; }
.captioned .sw-cap { top: auto; bottom: 24px; left: 12px; right: auto; display: inline-flex; flex-direction: column; gap: 1px; max-width: calc(100% - 24px); padding: 8px 12px 9px; background: rgba(252, 250, 246, 0.94); font-size: 14px; color: var(--muted); line-height: 1.25; }
.captioned .sw-cap b { color: var(--ink); font-size: 17px; font-weight: 700; }
.captioned .sw-cap:empty { display: none; }
.big-wins { display: grid; grid-template-columns: 1fr 1fr; gap: 14px clamp(16px, 2vw, 30px); margin: 0; padding: 0; list-style: none; }
.big-wins li { padding-top: 10px; border-top: 1px solid var(--line); }
.big-wins b { display: block; font-size: clamp(30px, 2.9vw, 44px); font-weight: 650; letter-spacing: -0.03em; line-height: 1.05; }
.big-wins span { display: block; margin-top: 4px; font-size: 15.5px; line-height: 1.4; color: var(--ink-2); }
.win-ribbon { display: flex; overflow: hidden; margin: clamp(16px, 2vw, 24px) 0 0; padding: 12px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.wr-track { display: flex; flex: none; align-items: center; gap: clamp(28px, 3.2vw, 52px); margin: 0; padding: 0 clamp(14px, 1.6vw, 26px); list-style: none; animation: ribbon 60s linear infinite; }
.win-ribbon:hover .wr-track { animation-play-state: paused; }
.wr-track li { display: flex; align-items: center; gap: 9px; white-space: nowrap; font-size: 15.5px; }
.wr-track img { height: 24px; width: auto; }
.wr-track b { font-weight: 700; background: linear-gradient(transparent 12%, rgba(233, 196, 120, 0.42) 12%, rgba(233, 196, 120, 0.42) 92%, transparent 92%); padding: 0 0.12em; }
.wr-track span { color: var(--ink-2); }
@media (prefers-reduced-motion: reduce) { .wr-track { animation: none; } .wr-track[aria-hidden] { display: none; } .win-ribbon { overflow-x: auto; } }
/* bills and speeches drift by as paper cards */
.doc-ribbon, .slide-ribbon { display: flex; overflow-x: auto; scrollbar-width: none; cursor: grab; -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.doc-ribbon::-webkit-scrollbar, .slide-ribbon::-webkit-scrollbar { display: none; }
.dr-track, .sr-track { display: flex; flex: none; gap: 16px; margin: 0; padding: 6px 8px 14px; list-style: none; }
.doc { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; width: 210px; padding: 0; border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.doc-sheet { display: block; width: 100%; height: 150px; overflow: hidden; margin-bottom: 8px; background: #fff; border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(26, 24, 22, 0.08), 0 12px 22px -16px rgba(26, 24, 22, 0.55); transition: translate 0.35s var(--ease), box-shadow 0.35s var(--ease), rotate 0.35s var(--ease); }
.doc-sheet img { display: block; width: 100%; height: auto; }
.doc:hover .doc-sheet, .doc:focus-visible .doc-sheet { translate: 0 -6px; rotate: -1.2deg; box-shadow: 0 2px 4px rgba(26, 24, 22, 0.1), 0 22px 30px -16px rgba(26, 24, 22, 0.6); }
.doc-kind { font-size: 11.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); }
.doc b { font-size: 15.5px; font-weight: 650; line-height: 1.25; }
.doc-sub { font-size: 13.5px; color: var(--muted); }
.slide { display: block; width: 250px; padding: 0; border: 1px solid var(--line); background: #fff; cursor: zoom-in; }
.slide img { display: block; width: 100%; height: auto; }
/* the open document */
.doc-pop { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 24px; }
.doc-pop[hidden] { display: none; }
.dp-back { position: absolute; inset: 0; background: rgba(26, 24, 22, 0.55); opacity: 0; transition: opacity 0.4s ease; backdrop-filter: blur(3px); }
.doc-pop.on .dp-back { opacity: 1; }
.dp-sheet { position: relative; width: min(760px, 100%); max-height: calc(100vh - 48px); overflow: auto; padding: 22px; background: var(--sheet); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.6); transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1); }
.doc-pop.two .dp-sheet { width: min(1240px, 100%); }
.dp-pages { display: grid; gap: 18px; }
.doc-pop.two .dp-pages { grid-template-columns: 1fr 1fr; }
.dp-page { margin: 0; }
.dp-page figcaption { margin-bottom: 8px; font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); }
.dp-page img { display: block; width: 100%; height: auto; border: 1px solid var(--line); background: #fff; }
.dp-close { position: absolute; top: 10px; right: 10px; z-index: 2; width: 36px; height: 36px; border: 0; border-radius: 50%; background: var(--ink); color: var(--page); font-size: 20px; line-height: 1; cursor: pointer; }
.dp-pages > * { opacity: 0; transition: opacity 0.3s ease 0.25s; }
.doc-pop.on .dp-pages > * { opacity: 1; }
@media (max-width: 760px) { .doc-pop.two .dp-pages { grid-template-columns: 1fr; } .compete { grid-template-columns: 1fr; } .big-wins { grid-template-columns: 1fr 1fr; } }
/* teams: a compact three-column list */
.teams { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(18px, 2.4vw, 36px); }
.teams .item { padding-top: 12px; border-top: 1px solid var(--line); }
.teams h3 { font-size: 18px; }
@media (max-width: 860px) { .teams { grid-template-columns: 1fr; gap: 14px; } }
.sw-track img.whole { object-fit: contain !important; background: #141210; }
.compete { grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr); }
/* a document in place of a photo: the real first page, top-aligned like a sheet of paper */
.row-doc { display: block; width: 100%; aspect-ratio: 4 / 3; padding: 0; overflow: hidden; border: 1px solid var(--line); background: #fff; cursor: zoom-in; box-shadow: 0 14px 26px -18px rgba(26, 24, 22, 0.5); }
.row-doc img { display: block; width: 100%; height: auto; transition: translate 0.6s var(--ease); }
.row-doc:hover img { translate: 0 -6%; }
.music-rows { grid-template-columns: 1fr; }
.music-rows .row { grid-template-columns: minmax(0, 0.62fr) minmax(0, 1.38fr); }
@media (max-width: 560px) { .music-rows .row { grid-template-columns: 1fr; } }

/* ================= v16 motion ================= */
/* entries rise in, one after another */
.motion .reveal { opacity: 0; translate: 0 28px; transition: opacity 0.7s ease var(--d, 0ms), translate 0.9s cubic-bezier(0.2, 0.75, 0.2, 1) var(--d, 0ms); }
.motion .reveal.in { opacity: 1; translate: 0 0; }
/* section titles wipe in from the left */
.motion .sec-head.reveal { opacity: 1; translate: 0 0; }
.motion .sec-head.reveal .sec-title { clip-path: inset(0 100% 0 0); translate: -18px 0; transition: clip-path 1s cubic-bezier(0.7, 0, 0.2, 1), translate 1s cubic-bezier(0.2, 0.7, 0.2, 1); }
.motion .sec-head.reveal.in .sec-title { clip-path: inset(0 0 0 0); translate: 0 0; }
/* photos ease in slightly when you hover an entry */
.row .sw-track img, .compete .sw-track img { transition: scale 0.8s cubic-bezier(0.2, 0.7, 0.2, 1); }
.row:hover .sw-track img { scale: 1.035; }
/* highlights draw in from left to right */
.ink main mark, .ink .wr-track b { background-repeat: no-repeat; background-size: 0% 100%; transition: background-size 0.9s cubic-bezier(0.6, 0, 0.2, 1) 0.15s; }
.ink main mark.lit, .ink .wr-track b.lit { background-size: 100% 100%; }
/* Debate: the competing block pins while scrolling flips through the tournament photos */
.pin-scene { --pin: 0; }
.pin-progress { display: none; }
@media (min-width: 900px) and (prefers-reduced-motion: no-preference) {
  .pin-scene { --pin: 1; height: 175vh; }
  .pin-inner { position: sticky; top: 104px; }
  .pin-progress { display: block; height: 2px; margin: 14px 0 0; background: var(--line); }
  .pin-progress i { display: block; height: 100%; background: var(--ink); transform: scaleX(0); transform-origin: left; }
}
@media (min-width: 900px) and (prefers-reduced-motion: no-preference) {
  .pin-scene { height: 190vh; }
  .pin-inner { top: 76px; min-height: calc(100vh - 76px); display: flex; flex-direction: column; justify-content: center; padding: 10px 0 18px; }
  .pin-scene .compete { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); }
}

/* ================= v16 accents: one jewel tone per section ================= */
#about       { --acc: #9C6B1F; --acc-soft: rgba(222, 176, 92, 0.42); }
#now         { --acc: #1E6B50; --acc-soft: rgba(96, 178, 138, 0.32); }
#gun-policy  { --acc: #9B2335; --acc-soft: rgba(222, 110, 122, 0.3); }
#civics      { --acc: #24508C; --acc-soft: rgba(110, 152, 222, 0.32); }
#debate      { --acc: #6A3D8F; --acc-soft: rgba(168, 128, 214, 0.32); }
#research    { --acc: #17707A; --acc-soft: rgba(88, 178, 186, 0.32); }
#music       { --acc: #A8701A; --acc-soft: rgba(230, 178, 88, 0.4); }
#after-hours { --acc: #A54862; --acc-soft: rgba(222, 128, 156, 0.3); }
.sec { --tint: color-mix(in srgb, var(--acc, var(--ink)) 5%, var(--page)); background: var(--tint); }
#now, #civics, #research { --tint: color-mix(in srgb, var(--acc) 4%, var(--sheet)); }
main mark, .wr-track b, .peek { background-image: linear-gradient(transparent 12%, var(--acc-soft, rgba(233, 196, 120, 0.42)) 12%, var(--acc-soft, rgba(233, 196, 120, 0.42)) 92%, transparent 92%); background-color: transparent; }
.peek:hover, .peek:focus-visible, .peek[aria-expanded="true"] { background-image: linear-gradient(transparent 12%, var(--acc-soft) 12%, var(--acc-soft) 92%, transparent 92%); background-color: color-mix(in srgb, var(--acc) 12%, transparent); }
.sec-title { position: relative; }
.sec-title::after { content: ""; display: block; width: 0.9em; height: 4px; margin-top: 12px; background: var(--acc, var(--ink)); }
.motion .sec-head.reveal .sec-title::after { transform: scaleX(0); transform-origin: left; transition: transform 0.8s cubic-bezier(0.7, 0, 0.2, 1) 0.6s; }
.motion .sec-head.reveal.in .sec-title::after { transform: scaleX(1); }
.sec .go, .doc-kind, .pos-org, .dp-page figcaption { color: var(--acc, var(--gold)); }
.sec .dash li::before { background: var(--acc, currentColor); opacity: 0.8; }
.big-wins b, .callouts b, .pan-stats dt { color: var(--acc); }
.captioned .sw-cap { border-left: 3px solid var(--acc); }
.pin-progress i { background: var(--acc); }
.sec-head { border-bottom-color: transparent !important; }

/* ================= v16 After hours: the fridge and a line of things she loves ================= */
.after-grid { display: grid; grid-template-columns: minmax(260px, 0.75fr) minmax(0, 1.25fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.after-h { margin: 0 0 12px; font-family: var(--serif); font-size: clamp(26px, 2.3vw, 34px); font-weight: 400; line-height: 1.05; }
.fridge-side .fridge-wrap { width: 100%; max-width: 440px; }
.fridge-note { margin-top: 8px; font-size: 15.5px; color: var(--ink-2); }
/* a food's name pops up as soon as you point at it */
.hot::after { content: attr(data-name); position: absolute; left: 50%; bottom: calc(100% + 6px); translate: -50% 4px; padding: 5px 10px; background: var(--ink); color: var(--page); font: 600 13px/1.2 var(--sans); white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity 0.18s ease, translate 0.18s ease; }
.hot:hover::after, .hot:focus-visible::after, .hot.on::after { opacity: 1; translate: -50% 0; }
.hot[data-photo]::after { content: attr(data-name) " \00B7  tap for photo"; }
.hot:hover, .hot:focus-visible, .hot.on { box-shadow: 0 0 0 2px var(--acc), 0 0 16px color-mix(in srgb, var(--acc) 40%, transparent); }
.loves { position: relative; }
.loves-list { margin: 0; font-family: var(--serif); font-size: clamp(30px, 3.1vw, 48px); line-height: 1.22; }
.love { display: inline; padding: 0; border: 0; background: none; color: var(--ink); font: inherit; cursor: pointer; transition: color 0.2s ease; text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--acc) 35%, transparent); text-decoration-thickness: 1px; text-underline-offset: 0.16em; }
.love:hover, .love:focus-visible { color: var(--acc); font-style: italic; text-decoration-color: var(--acc); }
.love-dot { color: var(--acc); opacity: 0.6; padding: 0 0.08em; }
.love-float { position: absolute; left: 0; top: 0; z-index: 5; width: clamp(170px, 15vw, 230px); margin: 0; padding: 6px 6px 22px; background: var(--sheet); box-shadow: 0 24px 40px -18px rgba(26, 24, 22, 0.55); opacity: 0; scale: 0.9; pointer-events: none; transition: opacity 0.2s ease, scale 0.25s cubic-bezier(0.3, 1.4, 0.5, 1); }
.love-float.on { opacity: 1; scale: 1; }
.love-float img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
@media (max-width: 860px) { .after-grid { grid-template-columns: 1fr; } .fridge-side .fridge-wrap { max-width: 360px; } }
/* the old gallery, booth and doodles are gone */
.gallery, .booth, .cheer { display: none !important; }

/* ================= v16 contact: one compact line ================= */
.contact { padding-top: clamp(26px, 3vw, 40px); padding-bottom: clamp(26px, 3vw, 40px); }
.contact-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px clamp(20px, 3vw, 44px); }
.contact-title { margin: 0; font-family: var(--serif); font-size: clamp(28px, 2.4vw, 36px); font-weight: 400; line-height: 1; }
.contact .mail-link { font-size: clamp(17px, 1.4vw, 20px); }
.contact-links { display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 0; padding: 0; list-style: none; }
.contact-links a { font-size: 15.5px; font-weight: 500; color: var(--ink); text-decoration: none; }
.contact-links a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ================= v16 footer moon ================= */
.footer { padding-top: 18px; padding-bottom: 18px; }
.moon-now { gap: 12px; font-size: 14px; color: var(--ink-2); }
.moon-now svg { width: 30px; height: 30px; filter: drop-shadow(0 0 6px rgba(227, 210, 170, 0.55)); }
.moon-now em { font-family: var(--serif); font-size: 17px; font-style: italic; color: var(--ink); margin-right: 4px; }
.after, .after .sec-title, .after .after-h, .after .fridge-note { color: var(--ink); }
.after .fridge-note, .after .block-hint { color: var(--muted); }
.after { --ink-2: #39342F; --muted: #6A6259; --line: rgba(26, 24, 22, 0.14); }
@media (max-width: 640px) { .nowrap { white-space: normal; } }
/* phones: one column (these come last so they win over the desktop layouts above) */
@media (max-width: 860px) {
  .about { grid-template-columns: 1fr; }
  .about .headshot { max-width: 300px; }
  .positions { grid-template-columns: 1fr; }
  .compete { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .callouts { grid-template-columns: 1fr 1fr; gap: 0 16px; }
  .callouts b { font-size: 26px; }
  .big-wins { grid-template-columns: 1fr 1fr; gap: 12px 16px; }
  .big-wins b { font-size: 30px; }
  .loves-list { font-size: 30px; }
  .contact-row { gap: 10px 18px; }
}
@media (max-width: 560px) {
  .row { grid-template-columns: 34% minmax(0, 1fr); gap: 12px; }
  .row .sw-track { aspect-ratio: 1 / 1; }
  .row h3 { font-size: 17px; }
  .row .meta { font-size: 13.5px; }
  .row .dash li { font-size: 15px; }
  .row .sw-ui .sw-count { display: none; }
  .music-rows .row { grid-template-columns: 34% minmax(0, 1fr); }
  .about .headshot { max-width: 220px; }
}

/* ================= v17 opening: each photo is dealt into its tile as the next one flips in ================= */
.hero { --flip: 140ms; }
.hero-collage { z-index: auto; }
.hc { z-index: 0; }
.motion .hero-collage.go .hc { animation: deal 0.62s cubic-bezier(0.25, 0.85, 0.25, 1) both; animation-delay: calc((var(--i) + 1) * var(--flip) - var(--late, 0ms)); }
@keyframes deal {
  0% { opacity: 0; z-index: 6; transform: translate(var(--fx, 0), var(--fy, 0)) scale(var(--fs, 1)); }
  1% { opacity: 1; z-index: 6; transform: translate(var(--fx, 0), var(--fy, 0)) scale(var(--fs, 1)); }
  100% { opacity: 1; z-index: 0; transform: none; }
}
.motion .hero-collage .hc { opacity: 0; }
.motion .hero-collage.go .hc { opacity: 1; }
.motion .hero-name { animation: name-in 0.8s var(--ease) calc(var(--flip-end) + 250ms) both; }
.motion .flick { animation: flick-out 0.3s ease var(--flip-end) forwards; }
/* the top bar: fixed, out of the way at the very top, slides in as soon as you scroll */
.nav { position: fixed; top: 0; left: 0; right: 0; transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), background-color 0.3s ease; }
.at-top .nav { transform: translateY(-105%); }
html { scroll-padding-top: 84px; }
.nav-name { letter-spacing: -0.025em; }
.name-glide .nav-name { transition: none; }

/* ================= v17 one accent for the whole site, bigger small text ================= */
:root { --acc: #8C2F39; --acc-soft: rgba(236, 196, 104, 0.5); }
#about, #now, #building, #gun-policy, #civics, #debate, #research, #music, #after-hours { --acc: #8C2F39; --acc-soft: rgba(236, 196, 104, 0.5); }
.sec { background: var(--page); }
#now, #civics, #research, #after-hours { background: var(--sheet); }
.sec-title::after { display: none !important; }
.big-wins b, .callouts b, .pan-stats dt { color: var(--ink); }
/* the small text people kept squinting at */
.meta, .row .meta, .pos .meta { font-size: 16.5px; line-height: 1.45; color: #5A534C; }
.block-hint { font-size: 16px; }
.pos-org { font-size: 14.5px; letter-spacing: 0.06em; }
.doc-sub, .bill2-meta { font-size: 15.5px; }
.doc b { font-size: 17px; }
.doc-kind { font-size: 13px; }
.callouts span { font-size: 16.5px; }
.big-wins span { font-size: 17px; }
.pan-stats dd { font-size: 15px; }
.captioned .sw-cap { font-size: 15.5px; }
.captioned .sw-cap b { font-size: 19px; }
.row h3 { font-size: clamp(19px, 1.55vw, 23px); }
.row .dash li, .pos .dash li, .pan .dash li { font-size: 17px; }
.tagline { font-size: 18px; }
.fridge-note { font-size: 16.5px; }
@media (max-width: 560px) { .row .meta { font-size: 15px; } .row .dash li { font-size: 16px; } .row h3 { font-size: 18px; } }

/* ================= v17 Entrepreneurship: Pantheon featured ================= */
.pan.feature { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 48px); align-items: start; margin-bottom: clamp(26px, 3vw, 44px); }
.pan.feature .swiper.wide { --h: auto; }
.pan.feature .sw-track { height: auto; aspect-ratio: 16 / 10; background: #0E1A18; }
.pan.feature .now-mark img { height: clamp(56px, 5vw, 76px); }
.pan.feature .tagline { margin-top: 10px; font-size: clamp(20px, 1.7vw, 25px); font-weight: 650; line-height: 1.25; }
.pan.feature .meta { margin-top: 4px; }
.pan.feature .pan-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 16px 0 6px; padding: 12px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pan.feature .pan-stats dt { font-size: clamp(26px, 2.4vw, 36px); font-weight: 650; letter-spacing: -0.03em; line-height: 1.05; }
.pan.feature .pan-stats dd { margin: 2px 0 0; font-size: 15px; color: var(--muted); }
.pan.feature .dash li { font-size: 17px; }
.pan.feature .pan-programs { margin-top: 10px; font-size: 15.5px; color: var(--muted); }
.building-rows { grid-template-columns: 1fr; }
.building-rows .row { grid-template-columns: minmax(0, 0.42fr) minmax(0, 1.58fr); align-items: center; padding-top: 18px; border-top: 1px solid var(--line); }
@media (max-width: 900px) { .pan.feature { grid-template-columns: 1fr; } .pan.feature .pan-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .building-rows .row { grid-template-columns: 34% minmax(0, 1fr); } }
.pan.feature .tagline, .pan.feature .pan-text { color: var(--ink); }
.pan.feature .pan-stats dd { text-transform: none; letter-spacing: 0; font-weight: 500; }

/* ================= v17 tournament results: bigger, clearer cards ================= */
.results { margin-top: clamp(16px, 2vw, 24px); }
.rr-label { margin: 0 0 8px; font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.rr-scroll { display: flex; overflow-x: auto; scrollbar-width: none; cursor: grab; -webkit-mask-image: linear-gradient(90deg, #000 92%, transparent); mask-image: linear-gradient(90deg, #000 92%, transparent); }
.rr-scroll::-webkit-scrollbar { display: none; }
.rr-track { display: flex; flex: none; gap: 14px; margin: 0; padding: 2px 14px 6px 0; list-style: none; }
.rr-card { display: flex; flex-direction: column; gap: 4px; width: 230px; padding: 14px 16px 16px; background: var(--sheet); border: 1px solid var(--line); }
.rr-logo { display: flex; align-items: center; height: 40px; margin-bottom: 6px; }
.rr-logo img { max-height: 40px; max-width: 150px; width: auto; }
.rr-mono { display: grid; place-items: center; height: 40px; min-width: 40px; padding: 0 8px; background: var(--ink); color: var(--page); font-weight: 700; font-size: 14px; letter-spacing: 0.06em; }
.rr-card b { font-size: 22px; font-weight: 700; line-height: 1.15; letter-spacing: -0.01em; }
.rr-card .rr-name { font-size: 16px; color: var(--ink-2); line-height: 1.3; }
.win-ribbon { display: none; }

/* ================= v17 footer: get in touch, links, tonight's moon ================= */
.footer { display: block; padding: clamp(36px, 4vw, 56px) var(--pad) 18px; background: #1A1816; color: #EDE6DA; border-top: 0; font-size: 15px; }
.ft-main { display: flex; flex-wrap: wrap; align-items: center; gap: 16px clamp(20px, 3vw, 44px); padding-bottom: clamp(22px, 2.6vw, 34px); border-bottom: 1px solid rgba(237, 230, 218, 0.14); }
.ft-title { margin: 0; font-family: var(--serif); font-size: clamp(32px, 3vw, 46px); font-weight: 400; line-height: 1; color: #F6F0E6; }
.footer .mail-link { color: #F6F0E6; font-size: clamp(17px, 1.4vw, 21px); background-image: linear-gradient(rgba(236, 196, 104, 0.45), rgba(236, 196, 104, 0.45)); }
.footer .mail-copy { color: #CFC6B8; }
.footer .mail-copy:hover { background: rgba(237, 230, 218, 0.1); color: #fff; }
.footer .mail-tip { background: #F6F0E6; color: #1A1816; }
.ft-links { display: flex; gap: 8px 26px; margin: 0 0 0 auto; padding: 0; list-style: none; }
.ft-links a { color: #F6F0E6; font-size: 16px; font-weight: 500; text-decoration: none; }
.ft-links a:hover { text-decoration: underline; text-underline-offset: 4px; }
.ft-base { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; padding-top: 16px; color: #A89E91; font-size: 14px; }
.ft-base p { display: flex; align-items: center; margin: 0; }
.ft-base a { color: #EDE6DA; text-decoration: none; }
.ft-base a:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer .moon-now { gap: 12px; color: #CFC6B8; font-size: 14.5px; }
.footer .moon-now em { color: #F6F0E6; }
.footer .moon-now svg { width: 34px; height: 34px; filter: drop-shadow(0 0 10px rgba(243, 230, 196, 0.35)); }
@media (max-width: 760px) { .ft-links { margin-left: 0; } .ft-base { justify-content: flex-start; } }

/* ================= v18 opening: the collage holds still while the name glides into the corner ================= */
.hero-pin { position: relative; height: 140svh; }   /* Nov 30: a short stretch (was 175svh), so the opening never feels stuck */
.hero-pin .hero { position: sticky; top: 0; }
.no-pin .hero-pin { height: auto; }
.no-pin .hero-pin .hero { position: relative; }
.hero-collage { transform: scale(calc(1 - var(--p, 0) * 0.05)); filter: brightness(calc(1 - var(--p, 0) * 0.18)); transform-origin: 50% 40%; will-change: transform; }
.hero-cue, .replay { opacity: calc(1 - var(--p, 0) * 2); }
/* the moon after her name shows on the white band */
.hero-name .moon, .nav-name .moon, .fly-name .moon { border-radius: 50%; box-shadow: 0 0 0 1.5px rgba(26, 24, 22, 0.55), 0 1px 4px rgba(26, 24, 22, 0.35); }
.hero-name.fly-name { z-index: 60; }

/* ================= v18: one design language ================= */
:root { --gap2: clamp(14px, 1.6vw, 22px); }
main > .sec { padding-top: clamp(30px, 3.2vw, 48px); padding-bottom: clamp(30px, 3.2vw, 48px); }
.sec-head { display: block; margin: 0 0 clamp(14px, 1.6vw, 22px); }
.sec-title { text-align: left; }
.block-title { margin: clamp(26px, 2.8vw, 40px) 0 12px; text-align: left; }
/* every card: a photo (or video) on top, then title, role, bullets */
.tile { display: flex; flex-direction: column; min-width: 0; background: var(--sheet); border: 1px solid var(--line); }
.tile > .flow, .tile > .yt, .tile > .row-doc, .tile > .biz-video { flex: none; }
.tile-text { padding: 14px 18px 18px; }
.tile h3 { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin: 0; font-size: clamp(18px, 1.4vw, 21px); font-weight: 650; line-height: 1.22; }
.tile h3 .e-logo { height: 22px; width: auto; }
.tile .meta { margin-top: 3px; }
.tile .dash { margin-top: 8px; }
.tile .dash li { font-size: 16.5px; line-height: 1.45; }
.tile .go { display: inline-block; margin-top: 10px; }
.logo-chip { display: inline-flex; align-items: center; padding: 6px 10px; background: #0F2A4F; }
.logo-chip img { height: 30px; width: auto; display: block; }
/* photos that flow: they fade from one to the next on their own, no buttons */
.flow { position: relative; overflow: hidden; aspect-ratio: 16 / 10; background: var(--page-2); cursor: zoom-in; }
.flow img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.4s ease, scale 7s linear; scale: 1.01; }
.flow img.on { opacity: 1; scale: 1.06; }
.flow img:first-child { opacity: 1; }
.flow.ready img:first-child:not(.on) { opacity: 0; }
.flow.whole img { object-fit: contain; background: #141210; scale: 1 !important; }
.flow .flow-cap { position: absolute; left: 12px; bottom: 12px; z-index: 2; display: flex; flex-direction: column; padding: 7px 12px 8px; background: rgba(252, 250, 246, 0.94); color: var(--muted); font-size: 15px; line-height: 1.25; transition: opacity 0.4s ease; }
.flow .flow-cap b { color: var(--ink); font-size: 17.5px; }
.flow-dots { position: absolute; right: 10px; bottom: 10px; z-index: 2; display: flex; gap: 4px; }
.flow-dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255, 255, 255, 0.55); transition: background 0.3s, width 0.3s; }
.flow-dots i.on { width: 16px; border-radius: 3px; background: #fff; }
/* Entrepreneurship: Pantheon first, marked as now, not huge */
.biz { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: var(--gap2); align-items: start; }
.biz-video { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #0d1626; }
.biz-video video { display: block; width: 100%; height: 100%; object-fit: cover; }
.kicker { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 8px; font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--acc); }
.now-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--acc); box-shadow: 0 0 0 4px color-mix(in srgb, var(--acc) 20%, transparent); }
.motion .now-dot { animation: nowpulse 2.4s ease-in-out infinite; }
@keyframes nowpulse { 50% { box-shadow: 0 0 0 7px color-mix(in srgb, var(--acc) 6%, transparent); } }
.biz-line { margin-top: 8px; font-size: 17px; color: var(--ink-2); }
.biz-card .flow { aspect-ratio: 16 / 10; }
/* Gun policy: three cards in a row */
.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap2); align-items: start; margin-top: var(--gap2); }
.tile.no-media { border-top: 4px solid var(--ink); }
/* Civics: a mixed-size grid, so an uneven number of things fits */
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap2); }
.bento > .tile { grid-column: span 4; }
.bento > .tile:nth-child(1) { grid-column: span 7; }
.bento > .tile:nth-child(2) { grid-column: span 5; }
.bento > .tile:nth-child(6) { grid-column: span 7; }
.bento > .tile:nth-child(7) { grid-column: span 5; }
.bento > .tile.wide { flex-direction: row; }
.bento > .tile.wide > .flow { flex: 0 0 46%; aspect-ratio: auto; min-height: 100%; }
.pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap2); }
.pair .row-doc { aspect-ratio: 16 / 10; }
/* Debate: a photo backsplash that says what Congressional Debate is */
.debate-hero { position: relative; overflow: hidden; margin: 0 calc(var(--pad) * -1) clamp(22px, 2.6vw, 36px); padding: clamp(40px, 6vw, 88px) var(--pad) clamp(30px, 4vw, 56px); color: #F6F0E6; }
.dh-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; filter: brightness(0.42) saturate(0.85); }
.dh-text { position: relative; max-width: 880px; }
.debate-hero .sec-title { color: #FCFAF6; }
.dh-what { margin-top: 12px; font-size: clamp(18px, 1.6vw, 22px); line-height: 1.45; color: #EDE6DA; max-width: 62ch; }
.dh-wins { display: flex; flex-wrap: wrap; gap: 10px 34px; margin: 18px 0 0; padding: 0; list-style: none; font-size: 16px; color: #E3DACC; }
.dh-wins b { display: block; font-size: clamp(30px, 2.8vw, 42px); font-weight: 650; line-height: 1.05; color: #FCFAF6; letter-spacing: -0.02em; }
.dh-wins li { max-width: 240px; }
.compete { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: clamp(18px, 2.4vw, 36px); align-items: start; }
.compete .flow { aspect-ratio: 4 / 3; }
.rtable { width: 100%; border-collapse: collapse; font-size: 16px; }
.rtable caption { margin-bottom: 6px; text-align: left; font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.rtable td { padding: 9px 10px 9px 0; border-top: 1px solid var(--line); vertical-align: middle; }
.rtable .yr { width: 92px; font-variant-numeric: tabular-nums; color: var(--muted); white-space: nowrap; }
.rtable .tn { font-weight: 650; }
.rtable .tn img { width: 28px; height: 22px; object-fit: contain; margin-right: 10px; vertical-align: -5px; }
.rtable .rs { color: var(--ink-2); }
.docs-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 14px 12px; margin: 0; padding: 0; list-style: none; }
.docs-grid .doc { width: 100%; }
.docs-grid .doc-sheet { height: 120px; }
.docs-grid .doc b { font-size: 15px; }
.docs-grid .doc-sub { font-size: 13.5px; }
.teach { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap2); align-items: start; }
.teams { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap2); margin: 0; padding: 0; list-style: none; }
.teams li { padding: 14px 18px; background: var(--sheet); border: 1px solid var(--line); }
.teams b { display: block; font-size: 18px; }
.teams span { display: block; margin-top: 3px; font-size: 16px; color: var(--ink-2); }
.slides-open { padding: 0; border: 0; background: none; font: inherit; cursor: pointer; }
.music { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(18px, 2.6vw, 40px); align-items: center; }
.music .tile-text { padding: 0; }
.awards { display: grid; gap: 10px; margin: 14px 0; padding: 0; list-style: none; }
.awards li { padding-top: 10px; border-top: 1px solid var(--line); }
.awards b { display: block; font-size: 20px; }
.awards span { font-size: 16px; color: var(--ink-2); }
/* More about me: cleaner */
.after-grid { grid-template-columns: minmax(240px, 0.7fr) minmax(0, 1.3fr); }
.love-peek { position: absolute; z-index: 5; width: clamp(180px, 16vw, 240px); margin: 0; padding: 6px; background: var(--sheet); box-shadow: 0 24px 44px -18px rgba(26, 24, 22, 0.55); opacity: 0; scale: 0.92; translate: 0 8px; pointer-events: none; transition: opacity 0.25s ease, scale 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), translate 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), left 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), top 0.35s cubic-bezier(0.2, 0.8, 0.2, 1); }
.love-peek.on { opacity: 1; scale: 1; translate: 0 0; }
.love-peek img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: opacity 0.2s ease; }
.love-float, .fridge-note, .after-h { display: none !important; }
/* the old slideshow bits are gone */
.swiper, .sw-ui, .sw-dots, .sw-count, .win-ribbon, .results.rr, .pin-progress { display: none; }
/* phones */
@media (max-width: 1000px) {
  .biz, .trio, .pair, .compete, .music { grid-template-columns: 1fr; }
  .bento > .tile, .bento > .tile:nth-child(n) { grid-column: span 6; }
  .bento > .tile.wide { flex-direction: column; grid-column: span 12; }
  .bento > .tile.wide > .flow { aspect-ratio: 16 / 10; min-height: 0; }
  .docs-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .teach { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .bento > .tile, .bento > .tile:nth-child(n) { grid-column: span 12; }
  .docs-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .teach, .teams { grid-template-columns: 1fr; }
  .rtable .yr { width: 64px; }
  .dh-wins { gap: 10px 20px; }
}

/* ================= v18 viewer ================= */
.viewer { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; }
.viewer[hidden] { display: none; }
.vw-back { position: absolute; inset: 0; background: rgba(16, 14, 12, 0.9); opacity: 0; transition: opacity 0.25s ease; }
.viewer.on .vw-back { opacity: 1; }
.vw-fig { position: relative; margin: 0; max-width: min(1100px, 92vw); text-align: center; }
.vw-fig img { display: block; max-width: 100%; max-height: 82vh; margin: 0 auto; object-fit: contain; opacity: 0; transform: scale(0.98); transition: opacity 0.3s ease, transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1); }
.vw-fig img.in { opacity: 1; transform: none; }
.vw-fig figcaption { margin-top: 10px; color: #E3DACC; font-size: 15px; }
.vw-fig figcaption b { color: #fff; margin-right: 6px; }
.vw-btn { position: absolute; top: 50%; translate: 0 -50%; width: 52px; height: 52px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.12); color: #fff; font-size: 22px; cursor: pointer; }
.vw-btn:hover { background: rgba(255, 255, 255, 0.24); }
.vw-prev { left: 18px; } .vw-next { right: 18px; }
.viewer.single .vw-btn { display: none; }
.vw-close { position: absolute; top: 14px; right: 16px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.12); color: #fff; font-size: 26px; line-height: 1; cursor: pointer; }
.vw-count { position: absolute; bottom: 16px; left: 50%; translate: -50% 0; margin: 0; color: #CFC6B8; font-size: 14px; }
.viewing body { overflow: hidden; }
/* the gliding name is redrawn crisply at every size */
.fly-name { will-change: auto !important; }
/* a moon for a cursor */
@media (hover: hover) and (pointer: fine) {
  html, body { cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='26' viewBox='0 0 26 26'%3E%3Cpath d='M17.5 3.2A10 10 0 1 0 22.8 17a8 8 0 0 1-5.3-13.8z' fill='%23F3E2B0' stroke='%231A1816' stroke-width='1.3'/%3E%3C/svg%3E") 12 12, auto; }
  a, button, [role="button"], .flow, .love, .hot, .doc, .yt, label, summary { cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3E%3Ccircle cx='15' cy='15' r='11' fill='%23F3E2B0' stroke='%231A1816' stroke-width='1.3'/%3E%3Ccircle cx='11' cy='12' r='1.8' fill='%23D9C38C'/%3E%3Ccircle cx='18' cy='18' r='2.4' fill='%23D9C38C'/%3E%3Ccircle cx='18.5' cy='10.5' r='1.2' fill='%23D9C38C'/%3E%3C/svg%3E") 15 15, pointer; }
  input, textarea { cursor: text; }
}
/* tonight's moon, from her own moon photo */
.footer .moon-now { gap: 12px; font-family: var(--sans); font-size: 14.5px; color: #CFC6B8; }
.moon-ico { position: relative; display: inline-block; width: 34px; height: 34px; border-radius: 50%; overflow: hidden; box-shadow: 0 0 14px rgba(243, 230, 196, 0.28); }
.moon-ico img { position: absolute; inset: -12%; width: 124%; height: 124%; object-fit: cover; }
.moon-ico svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.ft-made { gap: 6px; }
.ft-heart { display: inline-block; color: #E8A2A8; font-size: 16px; }
.motion .ft-heart { animation: beat 2.6s ease-in-out infinite; }
@keyframes beat { 0%, 100% { transform: scale(1); } 12% { transform: scale(1.25); } 24% { transform: scale(1); } 36% { transform: scale(1.15); } }
/* v18.1: Pantheon leads by position and its "now" label, not by size */
.biz { grid-template-columns: 1fr; }
.biz-card { flex-direction: row; align-items: stretch; }
.biz-card > .biz-video, .biz-card > .flow { flex: 0 0 44%; aspect-ratio: 16 / 10; }
.biz-card > .flow { aspect-ratio: auto; min-height: 260px; }
.biz-card .tile-text { flex: 1; align-self: center; padding: 18px 24px; }
.brand-logo { display: block; height: clamp(34px, 3vw, 44px); width: auto; }
/* Civics grid: photo on top everywhere, shaped so a row lines up */
.bento { align-items: stretch; }
.bento > .tile.wide { flex-direction: column; }
.bento > .tile.wide > .flow { flex: none; min-height: 0; aspect-ratio: 16 / 8.2; }
.bento > .tile:not(.wide) > .flow { aspect-ratio: 16 / 10.5; }
.bento > .tile:nth-child(n+3):nth-child(-n+5) > .flow { aspect-ratio: 4 / 3; }
/* Debate: the backdrop starts the section */
main > .sec.debate { padding-top: 0; }
.debate-hero { margin-top: 0; }
.compete { grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr); }
.rtable .tn img { width: 64px; height: 26px; object-fit: contain; object-position: left center; margin-right: 12px; }
@media (max-width: 1000px) { .biz-card { flex-direction: column; } .biz-card > .biz-video, .biz-card > .flow { flex: none; aspect-ratio: 16 / 10; min-height: 0; } }
.biz-card > .biz-video { aspect-ratio: auto; align-self: stretch; min-height: 280px; }
.bento > .tile.wide > .flow { aspect-ratio: 16 / 7.4; }
.bento > .tile:not(.wide) > .flow { aspect-ratio: 16 / 9.6; }

/* ================= v18 light and dark ================= */
.theme-toggle { display: grid; place-items: center; width: 38px; height: 38px; margin-left: auto; margin-right: 12px; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: transparent; color: var(--ink); cursor: pointer; }
.theme-toggle svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
.theme-toggle .ti-moon { fill: currentColor; stroke: none; }
.theme-toggle .ti-sun { display: none; }
[data-theme="dark"] .theme-toggle .ti-moon { display: none; }
[data-theme="dark"] .theme-toggle .ti-sun { display: block; }
.nav { gap: 12px; }
.nav ul { margin-left: 0; }
.theme-fade, .theme-fade * { transition: background-color 0.4s ease, color 0.4s ease, border-color 0.4s ease !important; }
[data-theme="dark"] {
  --page: #15130F; --page-2: #221E19; --sheet: #1D1A16; --ink: #F1EBE0; --ink-2: #D9D0C3; --muted: #A89F93;
  --line: rgba(241, 235, 224, 0.14); --acc: #E58D97; --acc-soft: rgba(236, 196, 104, 0.3); --marker: rgba(236, 196, 104, 0.3);
  color-scheme: dark;
}
[data-theme="dark"] body { background: var(--page); color: var(--ink); }
[data-theme="dark"] main > .sec, [data-theme="dark"] #civics, [data-theme="dark"] #after-hours { background: var(--page); }
[data-theme="dark"] #civics, [data-theme="dark"] #after-hours { background: #191612; }
[data-theme="dark"] .meta, [data-theme="dark"] .row .meta, [data-theme="dark"] .pos .meta { color: var(--muted); }
[data-theme="dark"] .nav { background: color-mix(in srgb, var(--page) 92%, transparent); }
[data-theme="dark"] .nav ul a.nav-cta { background: var(--ink); color: var(--page); }
[data-theme="dark"] .nav-name { color: var(--ink); }
[data-theme="dark"] mark, [data-theme="dark"] .wr-track b { color: var(--ink); }
/* logos keep their real colors on a small light card in dark mode */
[data-theme="dark"] .e-logo, [data-theme="dark"] .brand-logo, [data-theme="dark"] .rtable .tn img { background: #F4EFE6; padding: 3px 6px; border-radius: 4px; box-sizing: content-box; }
[data-theme="dark"] .rtable .tn img { padding: 2px 4px; }
[data-theme="dark"] .doc-sheet, [data-theme="dark"] .bill2-page, [data-theme="dark"] .row-doc { border-color: transparent; }
[data-theme="dark"] .bill2, [data-theme="dark"] .tile, [data-theme="dark"] .teams li { background: var(--sheet); border-color: var(--line); }
[data-theme="dark"] .flow { background: #221E19; }
[data-theme="dark"] .flow .flow-cap { background: rgba(29, 26, 22, 0.92); color: var(--muted); }
[data-theme="dark"] .flow .flow-cap b { color: var(--ink); }
[data-theme="dark"] .love { color: var(--ink); }
[data-theme="dark"] .fridge-cue { background: rgba(241, 235, 224, 0.94); color: #1A1816; }
[data-theme="dark"] .footer { background: #0E0C0A; }
[data-theme="dark"] .peek-card { background: var(--sheet); color: var(--ink); }
[data-theme="dark"] .hero-collage { background: #0E0C0A; }
[data-theme="dark"] .lab-tools { color-scheme: light; }
/* About: the clickable words aren't highlighted, just a quiet dotted underline */
.about .peek, .about .peek:hover, .about .peek:focus-visible, .about .peek[aria-expanded="true"] { padding: 0; margin: 0; background: none !important; text-decoration: underline dotted; text-decoration-color: color-mix(in srgb, var(--ink) 45%, transparent); text-decoration-thickness: 1.5px; text-underline-offset: 4px; }
.about .peek:hover { text-decoration-color: var(--acc); }

/* ================= v18 phones: compact, photo beside text ================= */
@media (max-width: 640px) {
  .theme-toggle { width: 34px; height: 34px; margin: 0 8px 0 auto; }
  .nav { gap: 6px; }
  .nav-toggle { flex: none; }
  .tile, .biz-card, .bento > .tile.wide { flex-direction: row; align-items: stretch; }
  .tile > .flow, .biz-card > .flow, .biz-card > .biz-video, .bento > .tile.wide > .flow, .bento > .tile:not(.wide) > .flow, .bento > .tile:nth-child(n) > .flow, .tile > .row-doc { flex: 0 0 36%; aspect-ratio: auto !important; min-height: 150px; }
  .tile-text { padding: 10px 12px 12px; }
  .tile h3 { font-size: 16.5px; }
  .tile h3 .e-logo { height: 18px; }
  .tile .meta { font-size: 14px; }
  .tile .dash li { font-size: 15px; }
  .tile .dash li + li { margin-top: 3px; }
  .flow-dots { display: none; }
  .logo-chip img { height: 22px; }
  .docs-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px 8px; }
  .docs-grid .doc-sheet { height: 76px; margin-bottom: 4px; }
  .docs-grid .doc b { font-size: 13px; }
  .docs-grid .doc-sub, .docs-grid .doc-kind { display: none; }
  .rtable, .rtable tbody { display: block; width: 100%; }
  .rtable caption { display: block; }
  .rtable tr { display: grid; grid-template-columns: 58px minmax(0, 1fr); column-gap: 8px; padding: 8px 0; border-top: 1px solid var(--line); }
  .rtable td { padding: 0; border: 0; }
  .rtable .yr { grid-row: 1 / span 2; width: auto; font-size: 14px; }
  .rtable .tn { font-size: 15px; }
  .rtable .tn img { width: 40px; height: 18px; margin-right: 6px; }
  .rtable .rs { font-size: 14.5px; }
  .debate-hero { padding: 34px 16px 24px; }
  .dh-what { font-size: 16.5px; }
  .dh-wins b { font-size: 26px; }
  .dh-wins li { max-width: 46%; font-size: 14px; }
  .compete .flow { aspect-ratio: 4 / 3; }
  .loves-list { font-size: 26px; line-height: 1.28; }
  .after-grid { gap: 18px; }
  .fridge-side .fridge-wrap { max-width: 260px; margin: 0 auto; }
  .bills { gap: 12px; }
  .bill2-page img { height: 96px; }
  .bill2-body { padding: 10px 14px 14px; }
  .bill2-title { font-size: 22px; }
}
.love-peek { left: 0; top: 0; } @media (hover: none), (max-width: 640px) { .love-peek { display: none; } }
@media (max-width: 1000px) { .compete { grid-template-columns: 1fr; } .compete .flow { max-height: 60vh; } }

/* ================= v19 ================= */
/* About: words on the left (flush with every other title), headshot on the right */
.about { grid-template-columns: minmax(0, 2fr) minmax(220px, 0.66fr); }
.about .about-body { grid-column: 1; grid-row: 1; }
.about .headshot { grid-column: 2; grid-row: 1; }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; } .about .headshot { grid-column: 1; grid-row: auto; max-width: 260px; } }
/* top bar: a soft pill for the section you're in (the reading line along its bottom is in "Motion" at the end) */
.nav ul a { padding: 6px 11px; border-radius: 999px; transition: background-color 0.25s ease, color 0.25s ease; }
.nav ul a[aria-current="true"] { box-shadow: none; background: color-mix(in srgb, var(--acc) 12%, transparent); color: var(--ink); }
/* logo icons (no wordmarks) in Gun policy */
.tile h3 .e-logo.icon { height: 24px; }
/* the sound switch */
.sound-toggle { position: relative; display: grid; place-items: center; width: 38px; height: 38px; margin-left: auto; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: transparent; color: var(--ink); cursor: pointer; }
.sound-toggle svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.sound-toggle .spk { fill: currentColor; }
.sound-toggle .mute { display: none; }
.sound-toggle.off .wv { display: none; }
.sound-toggle.off .mute { display: block; }
.motion .sound-toggle:not(.off) .w1 { animation: wave 2.4s ease-in-out infinite; }
.motion .sound-toggle:not(.off) .w2 { animation: wave 2.4s ease-in-out 0.3s infinite; }
@keyframes wave { 0%, 100% { opacity: 0.35; } 50% { opacity: 1; } }
.snd-hint { position: absolute; top: calc(100% + 10px); right: -8px; padding: 7px 11px; border-radius: 10px; background: var(--ink); color: var(--page); font-size: 12.5px; font-weight: 600; white-space: nowrap; opacity: 0; translate: 0 -4px; pointer-events: none; transition: opacity 0.3s, translate 0.3s; }
.sound-toggle.hinting .snd-hint { opacity: 1; translate: 0 0; }
.theme-toggle { margin-left: 0; }
/* tonight's moon: tap it */
.moon-now { position: relative; cursor: pointer; }
.moon-now.wobble .moon-ico { animation: moonwob 0.9s cubic-bezier(0.3, 1.4, 0.5, 1); }
@keyframes moonwob { 0% { transform: rotate(0) scale(1); } 30% { transform: rotate(-16deg) scale(1.18); } 60% { transform: rotate(10deg) scale(1.05); } 100% { transform: rotate(0) scale(1); } }
.moon-fact { position: absolute; bottom: calc(100% + 12px); left: 50%; width: min(300px, 80vw); padding: 10px 14px; border-radius: 12px; background: #F6F0E6; color: #1A1816; font-size: 14px; line-height: 1.4; text-align: left; box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35); opacity: 0; translate: -50% 6px; pointer-events: none; transition: opacity 0.3s ease, translate 0.3s ease; }
.moon-now.telling .moon-fact { opacity: 1; translate: -50% 0; }
.moon-ico:hover { transform: rotate(-8deg); transition: transform 0.3s; }
@media (max-width: 640px) { .sound-toggle { width: 34px; height: 34px; } }

/* ================= v20 ================= */
/* Backdrops: the big sections open on one of her photos, dimmed, with the title and one line on top.
   The photo drifts a little slower than the page as you scroll (--py, set in script.js). */
.sec:has(> .band) { padding-top: 0; }
.band { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: flex-end; min-height: clamp(230px, 25vw, 360px); margin: 0 calc(var(--pad) * -1) clamp(22px, 2.6vw, 36px); padding: clamp(40px, 5vw, 72px) var(--pad) clamp(26px, 3vw, 44px); color: #F6F0E6; background: #171513; }
.band.debate-hero { min-height: 0; display: block; }
.band-bg, .band .dh-bg { position: absolute; left: 0; top: -9%; z-index: -2; width: 100%; height: 118%; object-fit: cover; filter: brightness(0.5) saturate(0.85); transform: translate3d(0, var(--py, 0px), 0); will-change: transform; }
.band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(14, 12, 10, 0) 35%, rgba(14, 12, 10, 0.45) 100%); }
.band-text { position: relative; max-width: 900px; }
.band .sec-title { color: #FCFAF6; }
.band-line { margin-top: 12px; max-width: 60ch; font-size: clamp(18px, 1.6vw, 22px); line-height: 1.45; color: #EDE6DA; }
.band-line b { color: #FCFAF6; font-weight: 650; }
#building .band-bg { object-position: 50% 45%; }
#gun-policy .band-bg { object-position: 50% 55%; }
#civics .band-bg { object-position: 50% 30%; }
/* each band's words rise in once, the first time it comes on screen */
.motion .band .band-text > * { opacity: 0; translate: 0 16px; transition: opacity 0.7s ease, translate 0.8s cubic-bezier(0.2, 0.7, 0.2, 1); }
.motion .band.in .band-text > * { opacity: 1; translate: 0 0; }
.motion .band.in .band-text > :nth-child(2) { transition-delay: 0.12s; }
.motion .band.in .band-text > :nth-child(3) { transition-delay: 0.24s; }
.motion .band .sec-title { clip-path: inset(0 100% 0 0); transition: clip-path 1s cubic-bezier(0.7, 0, 0.2, 1), opacity 0.4s ease; }
.motion .band.in .sec-title { clip-path: inset(0 0 0 0); }
[data-theme="dark"] .band { color: #F6F0E6; }
[data-theme="dark"] .band .sec-title { color: #FCFAF6; }

/* The top bar is a slim pill floating just below the top: name left, sections in the middle,
   piano, sound, light or dark, and Contact on the right */
.nav { top: 12px; left: max(10px, calc(var(--pad) - 18px)); right: max(10px, calc(var(--pad) - 18px)); gap: 10px; padding: 7px 8px 7px 18px; border: 1px solid color-mix(in srgb, var(--ink) 10%, transparent); border-radius: 999px; background: color-mix(in srgb, var(--page) 78%, transparent); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); box-shadow: 0 12px 34px -16px rgba(26, 24, 22, 0.35); }
[data-theme="dark"] .nav { background: color-mix(in srgb, var(--page) 80%, transparent); border-color: rgba(255, 255, 255, 0.08); }
.at-top .nav { transform: translateY(calc(-100% - 30px)); }
html { scroll-padding-top: 92px; }
.nav-name { font-size: 26px; }
.nav ul { margin: 0 auto; gap: 2px; }
.nav ul a { padding: 7px 12px; font-size: 14.5px; }
.nav ul .m-only { display: none; }
.sound-toggle, .theme-toggle { width: 36px; height: 36px; margin: 0; }
.nav-cta { flex: none; padding: 9px 18px; border-radius: 999px; background: var(--ink); color: var(--page); font-size: 14.5px; font-weight: 600; text-decoration: none; white-space: nowrap; transition: background-color 0.25s ease; }
.nav-cta:hover { background: var(--acc); }
[data-theme="dark"] .nav-cta { background: var(--ink); color: var(--page); }
@media (max-width: 1240px) {
  .nav-name { margin-right: auto; }
  .nav ul { top: calc(100% + 8px); padding: 6px 20px 14px; border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 24px 40px -20px rgba(26, 24, 22, 0.4); }
  .nav ul a { padding: 9px 0; border-radius: 0; font-size: 24px; }
  .nav-toggle { margin-left: 2px; }
}
@media (max-width: 640px) {
  .nav { top: 8px; left: 8px; right: 8px; gap: 6px; padding: 5px 5px 5px 14px; }
  .nav-name { font-size: 22px; }
  .nav-cta { display: none; }
  .nav ul .m-only { display: block; }
  .sound-toggle, .theme-toggle { width: 32px; height: 32px; }
  .nav-toggle { padding: 7px 12px; }
  html { scroll-padding-top: 74px; }
}

/* The piano player: a small round button, off until pressed (hidden until the recording is added) */
.np { display: inline-flex; align-items: center; gap: 0; height: 36px; padding: 0; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--ink); font: inherit; cursor: pointer; transition: gap 0.35s ease, padding 0.35s ease, background-color 0.25s ease; }
.np[hidden] { display: none; }
.np-ico { position: relative; display: grid; place-items: center; width: 34px; height: 34px; flex: none; }
.np-play { width: 16px; height: 16px; fill: currentColor; }
.np-bars { position: absolute; inset: 0; display: none; align-items: flex-end; justify-content: center; gap: 2.5px; padding: 11px 0; }
.np-bars i { width: 2.5px; height: 100%; border-radius: 2px; background: currentColor; transform-origin: bottom; transform: scaleY(0.35); }
.np.on .np-play { display: none; }
.np.on .np-bars { display: flex; }
.motion .np.on .np-bars i { animation: np-bar 1.1s ease-in-out infinite; }
.motion .np.on .np-bars i:nth-child(2) { animation-delay: -0.4s; }
.motion .np.on .np-bars i:nth-child(3) { animation-delay: -0.75s; }
@keyframes np-bar { 0%, 100% { transform: scaleY(0.3); } 50% { transform: scaleY(1); } }
.np-label { max-width: 0; overflow: hidden; white-space: nowrap; font-size: 13.5px; font-weight: 600; opacity: 0; transition: max-width 0.45s ease, opacity 0.3s ease, padding 0.45s ease; }
.np:hover .np-label, .np:focus-visible .np-label, .np.on .np-label { max-width: 220px; padding-right: 14px; opacity: 1; }
.np.on { background: color-mix(in srgb, var(--acc) 10%, transparent); border-color: color-mix(in srgb, var(--acc) 35%, transparent); }
@media (max-width: 1240px) { .np.on .np-label { max-width: 0; padding-right: 0; opacity: 0; } }

/* Gun policy: the two signed bills lead, with a real rubber stamp on each page */
.guns .bills { margin-bottom: 0; }
.bill2 { position: relative; }
.bill2-page img { height: clamp(170px, 15vw, 232px); }
.bill2 .bill-stamp { position: absolute; top: 14px; right: 14px; z-index: 2; padding: 7px 14px 6px; border: 4px double var(--red); border-radius: 6px; background: rgba(255, 253, 248, 0.86); color: var(--red); font-size: clamp(13px, 1.05vw, 16px); font-weight: 800; letter-spacing: 0.16em; line-height: 1; pointer-events: none; }
.bill2-no { font-size: 16px; letter-spacing: 0.06em; }
.bill2-title { font-size: clamp(28px, 2.5vw, 38px); }
.roles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: clamp(22px, 2.6vw, 36px); border-top: 1.5px solid var(--ink); }
.role { min-width: 0; padding: 16px clamp(14px, 1.7vw, 26px) 2px; border-left: 1px solid var(--line); }
.role:first-child { padding-left: 0; border-left: 0; }
.role h3 { display: flex; align-items: center; gap: 10px; font-family: var(--serif); font-size: clamp(24px, 2vw, 30px); font-weight: 400; line-height: 1.05; }
.role h3 .e-logo.icon { height: 28px; width: auto; max-width: 40px; }
.role .meta { margin-top: 6px; }
.role-line { margin-top: 8px; font-size: 16.5px; line-height: 1.5; color: var(--ink-2); }
.role .go { display: inline-block; margin-top: 10px; }
@media (max-width: 860px) {
  .roles { grid-template-columns: 1fr; }
  .role, .role:first-child { padding: 14px 0; border-left: 0; }
  .role + .role { border-top: 1px solid var(--line); }
}

/* Research: its own slim section, two short rows with a small picture each */
.research-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap2); }
.tile.slim { flex-direction: row; align-items: stretch; }
.tile.slim > .flow, .tile.slim > .row-doc { flex: 0 0 30%; aspect-ratio: auto; min-height: 0; height: auto; box-shadow: none; border: 0; border-right: 1px solid var(--line); }
.tile.slim .tile-text { padding: 14px 18px 16px; }
.tile.slim .dash li { font-size: 16px; }
.tile.slim .dash li + li { margin-top: 4px; }
@media (max-width: 980px) { .research-list { grid-template-columns: 1fr; } }

/* Results: every logo sits in the same small white tile */
.rtable .tn .lg { display: inline-grid; place-items: center; width: 52px; height: 36px; margin-right: 12px; vertical-align: middle; background: #fff; border: 1px solid var(--line); border-radius: 8px; }
.rtable .tn .lg img, [data-theme="dark"] .rtable .tn .lg img { width: auto; height: auto; max-width: 42px; max-height: 26px; margin: 0; padding: 0; background: none; border-radius: 0; object-fit: contain; vertical-align: baseline; }
[data-theme="dark"] .rtable .tn .lg { background: #F4EFE6; border-color: transparent; }
@media (max-width: 640px) { .rtable .tn .lg { width: 40px; height: 28px; margin-right: 8px; border-radius: 6px; } .rtable .tn .lg img { max-width: 32px; max-height: 20px; } }

/* Scrolling back to the top deals the collage again, quicker, while her name stays put */
.motion .hero.redeal .hero-name, .motion .hero.redeal .hero-cue { animation: none; }
@media (max-width: 640px) {
  .band { min-height: 210px; padding: 34px 16px 22px; }
  .band-line { font-size: 16.5px; }
}
.bill2-page img { object-position: left top; }
.tile.slim > .row-doc img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
@media (max-width: 640px) {
  .tile.slim > .flow, .tile.slim > .row-doc { flex: 0 0 26%; min-height: 0; }
  .tile.slim .tile-text { padding: 10px 12px 12px; }
  .tile.slim .dash li { font-size: 15px; }
  .bill2 .bill-stamp { top: 10px; right: 10px; padding: 5px 10px 4px; font-size: 12px; }
}

/* ================= v21 design family (design session, Nov 29) =================
   One family for every section: the same gaps, one card title style, one hover, one set of motion curves.
   Her picks (Nov 29): results ride on the Debate backdrop, the cards slide up over each backdrop,
   and on hover a card's photo leans in and its title turns garnet. Later rules here win. */
:root {
  --head-gap: clamp(20px, 2.4vw, 34px);         /* under every section title or backdrop */
  --t-card: clamp(18px, 1.4vw, 21px);           /* every card title (sans, 650) */
  --t-block: clamp(26px, 2.3vw, 34px);          /* every serif heading inside a section */
  --e-out: cubic-bezier(0.2, 0.7, 0.2, 1);      /* things arriving, hovers */
  --e-wipe: cubic-bezier(0.7, 0, 0.2, 1);       /* titles wiping in, lines drawing */
}

/* 1. Dark mode: her name on a dark band in light letters (her note: in dark mode it "should not also be black").
   The letters stay light the whole way into the bar, where the bar's name is light too. */
[data-theme="dark"] .hero-name, [data-theme="dark"] .fly-name { background: var(--page); color: var(--ink); }
[data-theme="dark"] .hero-name { box-shadow: 0 18px 40px -16px rgba(0, 0, 0, 0.7); }
[data-theme="dark"] .hero-name .moon, [data-theme="dark"] .fly-name .moon { box-shadow: 0 0 0 1px rgba(241, 235, 224, 0.25); }
[data-theme="dark"] .replay, [data-theme="dark"] .hero-cue { background: rgba(21, 19, 15, 0.82); color: var(--ink); border-color: rgba(241, 235, 224, 0.2); }
[data-theme="dark"] .replay:hover { background: var(--ink); color: var(--page); }
/* the collage's "go" state shares its name with the .go link style, which pushed it 8px down */
.hero-collage.go { margin: 0; }

/* 2. One family: every section on the same cream, white cards on it, a hairline between sections that have no backdrop,
   the same gap under every title, one card title style (sans 650), one serif size for headings inside a section */
main > .sec, #now, #civics, #research, #after-hours, [data-theme="dark"] main > .sec, [data-theme="dark"] #civics, [data-theme="dark"] #after-hours { background: var(--page); }
main > .sec:not(.about):not(:has(> .band)) { border-top: 1px solid var(--line); }
.band, .band.debate-hero { margin-bottom: var(--head-gap); }
.sec-head { margin-bottom: var(--head-gap); }
.block-title { margin: calc(var(--head-gap) * 1.5) 0 14px; font-size: var(--t-block); line-height: 1.05; }
.tile h3, .bill2-title, .role h3, .music .tile-text h3, .tile.slim h3 { font-family: var(--sans); font-size: var(--t-card); font-weight: 650; line-height: 1.22; letter-spacing: 0; }
.bill2-title { margin-top: 2px; }
.role h3 { gap: 9px; }
.role h3 .e-logo.icon { height: 24px; }
.teams li b { font-size: var(--t-card); font-weight: 650; line-height: 1.22; }
.trio, .bento, .pair, .teach, .biz, .research-list { padding-top: 0; }

/* 3. (The section dots were removed in the Motion pass) */
.music { margin-top: 0; }

/* 4. Phones: the Pantheon video gets the full width above its text, the three Debate numbers sit in one row */
@media (max-width: 640px) {
  :root { --t-card: 17px; --t-block: 26px; }
  .biz-card.lead { flex-direction: column; }
  .biz-card.lead > .biz-video { flex: none; aspect-ratio: 16 / 9 !important; min-height: 0; }
  .dh-wins { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  .dh-wins li { max-width: none; margin: 0; font-size: 13px; line-height: 1.35; }
  .dh-wins b { font-size: 24px; }
}

/* 5. Debate: the backdrop is only about Congressional Debate (title, one line, three numbers), like every other
   backdrop. All results sit together in one list below, beside the tournament photos (her note, Nov 29). */
.band.debate-hero { display: flex; align-items: flex-end; min-height: clamp(230px, 25vw, 360px); padding: clamp(40px, 5vw, 72px) var(--pad) clamp(26px, 3vw, 44px); }
@media (max-width: 640px) { .band.debate-hero { padding: 34px 16px 22px; } }
.band.debate-hero .dh-wins { display: grid; grid-template-columns: repeat(3, minmax(0, max-content)); gap: 10px clamp(18px, 2.2vw, 34px); }
.band.debate-hero .dh-wins li { max-width: 210px; }
.compete { align-items: start; }
@media (max-width: 640px) {
  .band.debate-hero .dh-wins { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  .rtable tr { grid-template-columns: 50px minmax(0, 1fr); }
  .rtable .yr { line-height: 1.3; }
}

/* 6. Moving into a backdrop section: the photo holds still and the cards slide up over it like a sheet of paper
   (her pick B). script.js wraps everything after a .band in a .sheet. Off with reduced motion. */
.sec > .sheet { position: relative; z-index: 1; margin-inline: calc(var(--pad) * -1); padding: var(--head-gap) var(--pad) 0; background: var(--page); }
.sec:has(> .sheet) > .band { margin-bottom: 0; }
.motion .sec:has(> .sheet) > .band { position: sticky; top: 0; z-index: 0; }
.motion .sec > .sheet { box-shadow: 0 -26px 40px -30px rgba(14, 12, 10, 0.55); }
[data-theme="dark"] .motion .sec > .sheet { box-shadow: 0 -26px 44px -26px rgba(0, 0, 0, 0.85); }

/* 7. One hover and one rhythm.
   Hover (her pick B): a card's photo leans in slowly and its title turns garnet. Documents keep their own paper lift.
   Arrivals: cards rise 22px and fade in over 0.6 to 0.8s on --e-out, a few at a time. Titles wipe in on --e-wipe.
   Photos crossfade over 1.4s. Everything here is off with reduced motion (no .motion class). */
.flow img { transition: opacity 1.4s ease, scale 7s linear, transform 0.9s var(--e-out); }
.bill2-page img, .yt img, .biz-video video { transition: transform 0.9s var(--e-out), filter 0.4s ease; }
.bill2-page:hover img, .yt:hover img { scale: none; }
.tile h3, .bill2-title, .role h3 { transition: color 0.3s ease; }
@media (hover: hover) {
  .flow:hover img, .tile:hover .flow img, .bill2:hover .bill2-page img, .tile:hover .yt img, .music:hover .yt img, .biz-card:hover .biz-video video { transform: scale(1.05); }
  .tile:hover h3, .bill2:hover .bill2-title, .role:hover h3, .music:hover .tile-text h3 { color: var(--acc); }
}
.tile:focus-within h3, .bill2:focus-within .bill2-title, .role:focus-within h3 { color: var(--acc); }
/* arrivals */
.motion .rise { opacity: 0; translate: 0 22px; transition: opacity 0.6s ease var(--rd, 0ms), translate 0.8s var(--e-out) var(--rd, 0ms); }
.motion .rise.rise-in { opacity: 1; translate: 0 0; }
.motion .reveal { translate: 0 22px; transition: opacity 0.6s ease var(--d, 0ms), translate 0.8s var(--e-out) var(--d, 0ms); }
.motion .band .band-text > * { translate: 0 22px; transition: opacity 0.6s ease, translate 0.8s var(--e-out); }
.motion .band.in .band-text > * { translate: 0 0; }
.motion .band .sec-title, .motion .sec-head.reveal .sec-title { transition: clip-path 1s var(--e-wipe), translate 1s var(--e-out), opacity 0.4s ease; }

/* ---------- Content (Nov 29): signed bills without a page image (AB 1743, AB 1127) ---------- */
.bill2.no-page { grid-template-rows: 1fr; }
.bill2.no-page .bill2-body { padding-top: 18px; }
@media (min-width: 761px) { .bills:has(.no-page) > .bill2:not(.no-page) { grid-row: span 2; } }
.awards .aw-logo { display: inline-block; height: 28px; width: auto; margin-right: 10px; vertical-align: -6px; }
[data-theme="dark"] .e-logo[src*="ucsb-summer"] { filter: brightness(0) invert(0.94) sepia(0.08); }
[data-theme="dark"] .aw-logo[src*="nyiymc"] { filter: brightness(0) invert(0.94) sepia(0.08); }
.awards .aw-logo.aw-word { height: 21px; vertical-align: -3px; }
.guns-intro { margin: 0 0 clamp(18px, 2vw, 28px); max-width: 44em; font-size: clamp(18px, 1.45vw, 21px); line-height: 1.45; color: var(--ink); }
.tile h3 .e-logo.dm-logo { height: 26px; max-width: none; }
.dm-night { display: none; }
[data-theme="dark"] .tile h3 .dm-day { display: none; }
[data-theme="dark"] .tile h3 .dm-night { display: inline-block; }
[data-theme="dark"] .awards .aw-logo.aw-word { filter: brightness(1.45) saturate(0.85); }

/* ---------- v21: the video player (her own files, self-hosted, no YouTube) ----------
   <figure class="vp"> holds a <video>, an optional captions <track>, and a cover button with the poster.
   script.js ("v21: the video player") adds the control bar, captions box and spinner. */
.vp { position: relative; width: 100%; aspect-ratio: var(--ar, 16 / 9); margin: 0; overflow: hidden; background: #0E0D0C; color: #F4EFE6; font-family: var(--sans); isolation: isolate; container-type: inline-size; }
.vp:focus { outline: none; }
.vp video { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: contain; background: #0E0D0C; }
.vp-cover { position: absolute; inset: 0; z-index: 3; display: block; width: 100%; height: 100%; padding: 0; border: 0; border-radius: 0; background: #0E0D0C; color: #fff; font: inherit; text-align: left; cursor: pointer; }
.vp-cover img { display: block; width: 100%; height: 100%; object-fit: cover; filter: brightness(0.8); transition: scale 0.6s var(--ease), filter 0.4s ease; }
.vp-cover:hover img { scale: 1.03; filter: brightness(0.68); }
.vp-cover:focus-visible { outline: 3px solid #F4EFE6; outline-offset: -6px; }
.vp-big, .vp-mid { position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: 66px; height: 66px; border-radius: 50%; background: #F4EFE6; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35); transition: scale 0.3s var(--ease); }
.vp-big::after, .vp-mid::after { content: ""; position: absolute; left: 26px; top: 20px; border-left: 19px solid #1A1816; border-top: 13px solid transparent; border-bottom: 13px solid transparent; }
.vp-cover:hover .vp-big { scale: 1.08; }
.vp-title { position: absolute; left: 14px; right: 74px; bottom: 12px; font-size: 15px; font-weight: 600; line-height: 1.3; text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6); }
.vp-dur { position: absolute; right: 12px; bottom: 12px; padding: 2px 7px 3px; background: rgba(20, 18, 16, 0.8); font-size: 13px; font-weight: 600; line-height: 1.3; font-variant-numeric: tabular-nums; }
.vp.on .vp-cover { visibility: hidden; opacity: 0; transition: opacity 0.3s ease, visibility 0s 0.3s; }
/* while it loads: the play circle turns into a small ring */
.vp.wait .vp-big::after, .vp-spin { content: ""; position: absolute; left: 50%; top: 50%; width: 26px; height: 26px; margin: -13px 0 0 -13px; border: 3px solid rgba(26, 24, 22, 0.2); border-top-color: #1A1816; border-radius: 50%; animation: vp-spin 0.8s linear infinite; }
.vp-spin { z-index: 2; width: 40px; height: 40px; margin: -20px 0 0 -20px; border-color: rgba(244, 239, 230, 0.25); border-top-color: #F4EFE6; display: none; pointer-events: none; }
.vp.on.wait .vp-spin { display: block; }
@keyframes vp-spin { to { rotate: 360deg; } }
/* paused partway: a quiet play circle in the middle (clicking the video plays it) */
.vp-mid { z-index: 2; display: none; pointer-events: none; opacity: 0.92; }
@container (min-width: 560px) { .vp.on.paused:not(.wait) .vp-mid { display: block; } }
/* the slim control bar */
.vp-bar { position: absolute; left: 0; right: 0; bottom: 0; z-index: 4; display: none; align-items: center; gap: 2px; padding: 5px 6px; background: rgba(20, 18, 16, 0.8); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: opacity 0.3s ease, translate 0.3s var(--ease); }
.vp.on .vp-bar { display: flex; }
.vp.idle .vp-bar { opacity: 0; translate: 0 100%; pointer-events: none; }
.vp.idle, .vp.idle video { cursor: none !important; }
.vp-b { display: grid; place-items: center; flex: none; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 0; background: transparent; color: #F4EFE6; cursor: pointer; }
.vp-b svg { width: 21px; height: 21px; fill: currentColor; }
.vp-b svg .ln { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.vp-b:hover { background: rgba(244, 239, 230, 0.12); }
.vp-b:focus-visible, .vp-seek:focus-visible { outline: 2px solid #F4EFE6; outline-offset: -2px; }
.vp-cc { position: relative; }
.vp-cc[aria-pressed="false"] { opacity: 0.55; }
.vp-cc[aria-pressed="true"]::after { content: ""; position: absolute; left: 9px; right: 9px; bottom: 4px; height: 2px; background: #E58D97; }
.vp-time { flex: none; padding: 0 6px 0 2px; font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.vp-seek { --p: 0%; --b: 0%; flex: 1 1 auto; min-width: 40px; height: 30px; margin: 0 6px; padding: 0; background: transparent; -webkit-appearance: none; appearance: none; cursor: pointer; }
.vp-seek::-webkit-slider-runnable-track { height: 4px; background: linear-gradient(to right, #F4EFE6 var(--p), rgba(244, 239, 230, 0.4) var(--p) var(--b), rgba(244, 239, 230, 0.18) var(--b)); }
.vp-seek::-moz-range-track { height: 4px; background: linear-gradient(to right, #F4EFE6 var(--p), rgba(244, 239, 230, 0.4) var(--p) var(--b), rgba(244, 239, 230, 0.18) var(--b)); }
.vp-seek::-webkit-slider-thumb { width: 14px; height: 14px; margin-top: -5px; border: 2px solid #F4EFE6; border-radius: 50%; background: var(--acc, #8C2F39); -webkit-appearance: none; appearance: none; transition: scale 0.2s ease; }
.vp-seek::-moz-range-thumb { width: 10px; height: 10px; border: 2px solid #F4EFE6; border-radius: 50%; background: var(--acc, #8C2F39); }
.vp-seek:hover::-webkit-slider-thumb { scale: 1.2; }
/* captions: her real words, in the site's sans, above the bar */
.vp-cap { position: absolute; left: 4%; right: 4%; bottom: 54px; z-index: 3; width: fit-content; max-width: 36em; margin-inline: auto; padding: 3px 10px 4px; background: rgba(20, 18, 16, 0.84); color: #F4EFE6; font-size: clamp(14px, 3.6cqi, 19px); font-weight: 600; line-height: 1.35; text-align: center; white-space: pre-line; pointer-events: none; transition: bottom 0.3s var(--ease); }
.vp-cap:empty, .vp:not(.on) .vp-cap { display: none; }
.vp.idle .vp-cap { bottom: 14px; }
/* full screen */
.vp:fullscreen { width: 100%; height: 100%; aspect-ratio: auto; background: #000; }
.vp:-webkit-full-screen { width: 100%; height: 100%; aspect-ratio: auto; background: #000; }
.vp.full .vp-cap { font-size: clamp(18px, 2.4vw, 30px); bottom: 70px; }
.vp.full.idle .vp-cap { bottom: 28px; }
.vp.full .vp-bar { padding: 8px 14px; }
/* narrow players (the Turtle Rock tile, phones): drop the total time */
@container (max-width: 380px) {
  .vp-tot { display: none; }
  .vp-b { width: 34px; }
  .vp-title { font-size: 14px; }
}
@media (hover: hover) and (pointer: fine) {
  .vp video, .vp-seek { cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3E%3Ccircle cx='15' cy='15' r='11' fill='%23F3E2B0' stroke='%231A1816' stroke-width='1.3'/%3E%3Ccircle cx='11' cy='12' r='1.8' fill='%23D9C38C'/%3E%3Ccircle cx='18' cy='18' r='2.4' fill='%23D9C38C'/%3E%3Ccircle cx='18.5' cy='10.5' r='1.2' fill='%23D9C38C'/%3E%3C/svg%3E") 15 15, pointer; }
}
/* where the players sit */
.tile > .vp { flex: none; }
@media (max-width: 1000px) {
  .teach > .tile:has(.vp) { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  .vp *, .vp *::before, .vp *::after { transition: none !important; animation: none !important; }
}
/* the piano button's longer label ("Listen to me playing Rachmaninoff") needs a wider slot */
.np:hover .np-label, .np:focus-visible .np-label, .np.on .np-label { max-width: 300px; }
@media (max-width: 1240px) { .np.on .np-label { max-width: 0; } }

/* 8. After the merge (Nov 29): fridge and loves stack on phones again (a later rule had put them side by side) */
@media (max-width: 860px) { .after-grid { grid-template-columns: 1fr; } }
/* Gun policy roles: the same shape as the bills above. Loaded (with its Substack page) on the left,
   One Shot, One Story and Brady stacked on the right, so the columns come out even */
@media (min-width: 861px) {
  .roles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .roles > .role:first-child { grid-row: span 2; padding-right: clamp(14px, 1.7vw, 26px); }
  .roles > .role:nth-child(n+2) { padding: 16px 0 14px clamp(14px, 1.7vw, 26px); border-left: 1px solid var(--line); }
  .roles > .role:nth-child(3) { border-top: 1px solid var(--line); }
  .role-shot img { max-height: clamp(150px, 15vw, 220px); object-fit: cover; object-position: top center; }
}

/* 9. Her moon after her name: her own moon photo with the levels stretched so the craters show (it was overexposed
   and vanished on the white band), a touch larger, with a hairline edge. Same em size in the opening and the bar,
   so the name still lands on the bar to the pixel. */
.hero-name .moon, .nav-name .moon, .fly-name .moon { width: 0.26em; height: 0.26em; margin-left: 0.06em; box-shadow: 0 0 0 1px rgba(26, 24, 22, 0.3); }
[data-theme="dark"] .nav-name .moon { box-shadow: 0 0 0 1px rgba(241, 235, 224, 0.25); }
/* The cursor: the normal arrow, and over anything you can click, a small real moon (from her photo) instead of the hand.
   The old drawn crescent looked fake. */
@media (hover: hover) and (pointer: fine) {
  html, body { cursor: auto; }
  a, button, [role="button"], .flow, .love, .hot, .doc, .yt, label, summary {
    cursor: url("images/cursor-moon.png") 12 12, pointer;
    cursor: -webkit-image-set(url("images/cursor-moon.png") 1x, url("images/cursor-moon@2x.png") 2x) 12 12, pointer;
    cursor: image-set(url("images/cursor-moon.png") 1x, url("images/cursor-moon@2x.png") 2x) 12 12, pointer;
  }
  input, textarea { cursor: text; }
}
/* the video player uses the same cursor (it had the old drawn crescent) */
@media (hover: hover) and (pointer: fine) {
  .vp video, .vp-seek, .vp-b, .vp-cover {
    cursor: url("images/cursor-moon.png") 12 12, pointer;
    cursor: -webkit-image-set(url("images/cursor-moon.png") 1x, url("images/cursor-moon@2x.png") 2x) 12 12, pointer;
    cursor: image-set(url("images/cursor-moon.png") 1x, url("images/cursor-moon@2x.png") 2x) 12 12, pointer;
  }
  .vp.idle, .vp.idle video { cursor: none !important; }
}

/* phones: the stamp starts big before it lands, so keep it inside its card (it was widening the page and pushing Menu off the bar) */
.bill2 { overflow: clip; }
.guns { overflow-x: clip; }

/* ---------- Content (Nov 29): bills and speeches as topics. Shows how many and how broad, no readable pages ---------- */
.topics { --tp-bill: rgba(140, 47, 57, 0.1); --tp-bill-ink: #8C2F39; --tp-speech: rgba(214, 170, 92, 0.26); --tp-speech-ink: #765314; margin-bottom: clamp(8px, 1vw, 16px); }
[data-theme="dark"] .topics { --tp-bill: rgba(229, 141, 151, 0.15); --tp-bill-ink: #F0A9B0; --tp-speech: rgba(236, 196, 104, 0.17); --tp-speech-ink: #E8C67F; }
.tp-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.tp-counts { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 clamp(14px, 1.6vw, 22px); }
.tp-count { display: inline-flex; align-items: center; gap: 9px; margin: 0; padding: 9px 18px 9px 14px; border: 0; border-radius: 999px; background: var(--sheet); color: var(--ink-2); font: inherit; font-size: 16px; line-height: 1.2; }
p.tp-count { padding-left: 18px; }
.tp-count b { font-family: var(--sans); font-size: 26px; font-weight: 700; line-height: 1; color: var(--ink); }
.tp-count i { width: 12px; height: 12px; border-radius: 50%; background: var(--tp-bill-ink); }
.tp-count.tp-speech i { background: #C79A45; }
button.tp-count { cursor: pointer; transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease; }
button.tp-count:hover { transform: translateY(-1px); }
button.tp-count.tp-bill[aria-pressed="true"] { background: var(--tp-bill); }
button.tp-count.tp-speech[aria-pressed="true"] { background: var(--tp-speech); }
.tp-areas { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(10px, 1.2vw, 16px); margin: 0; padding: 0; list-style: none; }
.tp-area { padding: clamp(14px, 1.4vw, 20px); background: var(--sheet); }
.tp-area h4 { margin: 0 0 12px; font-family: var(--sans); font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.tp-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.tp-chip { display: inline-flex; flex-direction: column; gap: 2px; padding: 8px 13px 8px; border-radius: 10px; background: var(--tp-bill); color: var(--ink); font-size: 16px; font-weight: 600; line-height: 1.25; transition: opacity 0.3s ease, transform 0.55s var(--ease); }
.tp-chip small { font-size: 12.5px; font-weight: 600; letter-spacing: 0.03em; color: var(--tp-bill-ink); }
.tp-chip.tp-speech { background: var(--tp-speech); }
.tp-chip.tp-speech small { color: var(--tp-speech-ink); }
.tp-chip:hover { transform: translateY(-2px); }
.topics[data-hl="bill"] .tp-chip.tp-speech, .topics[data-hl="speech"] .tp-chip.tp-bill { opacity: 0.25; }
.motion .topics:not(.in) .tp-chip { opacity: 0; transform: translateY(10px) scale(0.96); }
.motion .topics.in:not(.settled) .tp-chip { transition-delay: calc(var(--i, 0) * 45ms); }
@media (max-width: 900px) { .tp-areas { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .tp-areas { grid-template-columns: 1fr; gap: 8px; } .tp-area { padding: 12px 12px 14px; } .tp-area h4 { margin-bottom: 8px; } .tp-counts { gap: 8px; } .tp-count { font-size: 15px; padding: 7px 14px 7px 12px; } .tp-count b { font-size: 22px; } .tp-chips { gap: 6px; } .tp-chip { padding: 6px 10px; font-size: 14.5px; } .tp-chip small { font-size: 12px; } }

/* dark mode: the per-section accent (set in v17) was beating the dark theme, so links and labels were garnet on near-black */
[data-theme="dark"] #about, [data-theme="dark"] #now, [data-theme="dark"] #building, [data-theme="dark"] #gun-policy, [data-theme="dark"] #civics, [data-theme="dark"] #debate, [data-theme="dark"] #research, [data-theme="dark"] #music, [data-theme="dark"] #after-hours { --acc: #E58D97; --acc-soft: rgba(236, 196, 104, 0.3); }
[data-theme="dark"] { --red: #E58D97; }
/* 10. Logos (her note: "all the logos should also be transparent so that while it's dark mode it looks clean").
   Every logo file is transparent. In dark mode nothing sits behind a logo: no cream plates, no white tiles.
   Single-color marks that get lost on dark (Pantheon, iCivics, Yale, Stanford, the Kentucky "UK", Emory) turn light. Logos with dark ink
   next to color (Loaded, One Shot, One Story, Youth in Policy) swap to their -light files (script.js), so the color stays.
   The results tiles stay in light mode. */
[data-theme="dark"] .e-logo, [data-theme="dark"] .brand-logo, [data-theme="dark"] .rtable .tn img { background: none; padding: 0; border-radius: 0; }
[data-theme="dark"] .rtable .tn .lg { background: transparent; border-color: transparent; }
[data-theme="dark"] .logo-chip { background: transparent; padding: 0; }
[data-theme="dark"] .brand-logo, [data-theme="dark"] .e-logo[src*="icivics"], [data-theme="dark"] .rtable .lg img[src*="stanford"], [data-theme="dark"] .rtable .lg img[src*="emory"], [data-theme="dark"] .rtable .lg img[src*="toc-icon"], [data-theme="dark"] .rtable .lg img[src*="yale"] { filter: brightness(0) invert(0.94) sepia(0.08); }

/* 11. Her vegetable doodles are back (her note: "where did my vegetables go i liked those"), beside the email in
   the dark footer, with no words. Light outlines so they read on the dark, a gentle bob, still with reduced motion. */
.footer .cheer { display: flex !important; align-items: flex-end; gap: 2px; margin: 0 auto 0 -6px; color: #E9E1D3; }
.footer .cheer svg { width: clamp(40px, 3.4vw, 52px); }
.cheer figure:hover svg { rotate: 0deg; }
.motion .footer .cheer figure:hover svg { rotate: -8deg; }
.motion .footer .cheer svg { animation: cheer 3.2s ease-in-out infinite; }
.motion .footer .cheer figure:nth-child(2) svg { animation-delay: 0.5s; }
.motion .footer .cheer figure:nth-child(3) svg { animation-delay: 1s; }
@media (max-width: 640px) { .footer .cheer { order: 3; margin: 2px 0 0; } .footer .cheer svg { width: 40px; } }

/* 13. "Signed into law" (her note: the stamp was ugly): a quiet upright label beside the bill number.
   A small garnet check, then small caps. No border, no rotation, no stamp; it only fades in. Same on all three bills. */
.bill2 .bill-stamp { position: static; display: inline-flex; align-items: center; gap: 6px; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; color: var(--acc, #8C2F39); font-size: 12.5px; font-weight: 650; letter-spacing: 0.11em; line-height: 1; text-transform: uppercase; white-space: nowrap; rotate: none; scale: none; transition: none; }
.bill2 .bill-stamp::before { content: ""; flex: none; width: 15px; height: 15px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M8 0a8 8 0 1 1 0 16A8 8 0 0 1 8 0zM4.2 8.3l1-1 1.8 1.8 3.8-3.9 1 1-4.8 4.9z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M8 0a8 8 0 1 1 0 16A8 8 0 0 1 8 0zM4.2 8.3l1-1 1.8 1.8 3.8-3.9 1 1-4.8 4.9z'/%3E%3C/svg%3E") center / contain no-repeat; }
.bill2.wait .bill-stamp, .bill2.run .bill-stamp { rotate: none; scale: none; }
.bill2.run .bill-stamp { opacity: 1; }
.motion .bill2.wait:not(.run) .bill-stamp { opacity: 0; }
.motion .bill2 .bill-stamp { transition: opacity 0.6s ease 0.2s; }
.bill2-no { flex-wrap: wrap; gap: 6px 14px; }
@media (max-width: 640px) { .bill2 .bill-stamp { font-size: 11.5px; } }

/* 14. Gun policy logos and the Loaded page (her notes: Brady cut off, Loaded logo a bit larger, Loaded picture cut off).
   brady-icon.svg's crop box now holds the whole star, the Loaded icon files are trimmed to the icon itself,
   and the Substack page shows whole. */
.role h3 .e-logo.icon { height: 24px; max-width: 44px; object-fit: contain; }
.role h3 .e-logo[src*="loaded-icon"] { height: 26px; }
.role-shot img, .roles .role-shot img { max-height: none; object-fit: fill; height: auto; }

/* 15. The moon (her notes: it looked cut off, and the moon popup should be cuter).
   The dot after her name: no ring, just her moon (its edge is soft now). The footer moon shows the whole photo
   disc, and tonight's shadow covers exactly that disc (no bright ring, nothing clipped). */
.hero-name .moon, .nav-name .moon, .fly-name .moon, [data-theme="dark"] .hero-name .moon, [data-theme="dark"] .fly-name .moon, [data-theme="dark"] .nav-name .moon { box-shadow: none; }
.moon-ico img { inset: 0; width: 100%; height: 100%; }
.moon-ico { box-shadow: 0 0 16px rgba(243, 230, 196, 0.22); }
/* the moon fact: a soft little card with a tiny moon, that pops up from the moon */
.moon-fact { display: flex; align-items: flex-start; gap: 10px; width: min(290px, 78vw); padding: 12px 15px 13px 12px; border-radius: 18px; background: #FBF6EC; color: #2A2420; font-size: 14px; line-height: 1.45; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2), 0 16px 34px -12px rgba(0, 0, 0, 0.55); translate: -50% 8px; scale: 0.94; transform-origin: 50% 100%; }
.moon-fact::before { content: ""; flex: none; width: 22px; height: 22px; margin-top: 1px; border-radius: 50%; background: url("images/moon-dot.webp") center / cover; box-shadow: 0 0 0 3px rgba(214, 170, 92, 0.18); }
.moon-fact::after { content: ""; position: absolute; left: 50%; bottom: -6px; width: 12px; height: 12px; background: #FBF6EC; border-radius: 0 0 3px 0; rotate: 45deg; translate: -50% 0; }
.moon-fact:empty { display: none; }
.motion .moon-fact { transition: opacity 0.25s ease, translate 0.45s cubic-bezier(0.3, 1.3, 0.5, 1), scale 0.45s cubic-bezier(0.3, 1.3, 0.5, 1); }
.moon-now.telling .moon-fact { opacity: 1; translate: -50% 0; scale: 1; }

/* 16. Photos line up (her notes: photos in a row should match and sit in the same place; boxes in a section similar sized).
   Civics: every photo shares one height, so in each row the photos share a top and bottom and the text starts on one line.
   Teaching: all three use the video's 16:9, and the cards in the row are the same height.
   Entrepreneurship: the DOT photos use the Pantheon video's 16:9, so the two stacked rows match. */
:root { --ph: clamp(200px, 22.5vw, 340px); }
.teach { align-items: stretch; }
@media (min-width: 641px) {
  .bento > .tile > .flow, .bento > .tile:nth-child(n) > .flow, .bento > .tile.wide > .flow { flex: none; aspect-ratio: auto !important; height: var(--ph); min-height: 0; }
  .teach > .tile > .flow, .teach > .tile > .vp, .teach > .tile > .yt { flex: none; aspect-ratio: 16 / 9; height: auto; }
  .biz-card > .flow { aspect-ratio: 16 / 9; }
}
/* phones: every photo beside an entry is the same size (36% wide, 4:5), at the top of its card */
@media (max-width: 640px) {
  .tile > .flow, .biz-card > .flow, .bento > .tile:nth-child(n) > .flow, .bento > .tile.wide > .flow, .tile > .row-doc, .tile.slim > .flow, .tile.slim > .row-doc { flex: 0 0 36%; align-self: flex-start; height: auto !important; min-height: 0; aspect-ratio: 4 / 5 !important; border-right: 0; }
}

/* 17. No lines (her note: she hates lines as dividers). One way to separate sections everywhere: generous space and
   the big title; the big sections open on their photo. Cards are told apart by their white tone, not an outline.
   Lists use spacing, and the results table uses soft alternating tints instead of rules. */
main > .sec:not(.about):not(:has(> .band)) { border-top: 0; padding-top: clamp(48px, 5.5vw, 88px); }
.tile, .tile.slim, .biz-card, .bill2, .bill2.no-page, .teams li, [data-theme="dark"] .bill2, [data-theme="dark"] .tile, [data-theme="dark"] .teams li { border: 0; }
.bill2-page { border-bottom: 0; }
.tile.slim > .flow, .tile.slim > .row-doc { border-right: 0; }
.callouts a, .callouts li { border-top: 0; border-bottom: 0; }
.callouts li { padding-top: 6px; }
.awards li { border-top: 0; padding-top: 0; }
.awards li + li { margin-top: 14px; }
.ft-main { border-bottom: 0; padding-bottom: clamp(14px, 1.6vw, 22px); }
/* Gun policy roles: no rules or dividers, just space between the three */
.roles, .roles > .role, .roles > .role:first-child, .roles > .role:nth-child(n+2), .roles > .role:nth-child(3), .role + .role { border: 0; }
.roles { column-gap: clamp(28px, 3.4vw, 56px); row-gap: clamp(18px, 2vw, 28px); margin-top: clamp(30px, 3.4vw, 48px); }
.roles > .role, .roles > .role:first-child, .roles > .role:nth-child(n+2) { padding: 0; }
.role-shot { border: 0; box-shadow: 0 1px 2px rgba(26, 24, 22, 0.12), 0 10px 24px -14px rgba(26, 24, 22, 0.4); }
/* results: no rules; every other row gets a soft tint, and the logo tiles have no outline */
.rtable td, .rtable tr { border: 0; }
.rtable tbody tr:nth-child(odd) td { background: color-mix(in srgb, var(--ink) 4%, transparent); }
.rtable td:first-child { padding-left: 10px; }
.rtable .tn .lg { border: 0; }
@media (max-width: 640px) {
  .rtable tr { border: 0; padding: 8px 8px; }
  .rtable tbody tr:nth-child(odd) { background: color-mix(in srgb, var(--ink) 4%, transparent); }
  .rtable tbody tr:nth-child(odd) td { background: none; }
  .rtable td:first-child { padding-left: 0; }
}
/* ================= v21: the camera and the name on the fridge (More about me, camera-fridge session, Nov 29) ==========   The fridge and her real camera (cut from IMG_0150) stand on the same floor. --fw is the fridge picture's width. */
.after-grid { --fw: clamp(300px, 33vw, 500px); display: block; }
/* Nov 30, her notes 58 and 59: the loves list is gone, so the fridge and a much bigger camera stand together, centered */
.fridge-side { position: relative; width: calc(var(--fw) * 1.815); margin: 0 auto; }
.fridge-side .fridge-wrap { width: var(--fw); max-width: none; margin: 0; justify-self: start; container-type: inline-size; }
/* Her name on the door like a real SMEG badge (her refs and words, Nov 29: "it needs to be all caps just look at smeg fridges"):
   "A U D R E Y" in caps, about one letter-width between letters, small (28% of the door), high on the door and centered, in dark
   polished metal with a thin top highlight and a crisp little shadow, drawn inside the SVG. The letters are the self-hosted DM Sans
   Bold as outlines, so no font loads. The plane is fitted to the door in fridge-closed.webp: perspective(241.8cqw) rotateY(15deg),
   turning around the door's left edge at the eye line (70.97% down). When the fridge opens, the door swings out of view, so the
   name fades out with it. */
.door-plane { position: absolute; z-index: 1; left: 28%; top: 6.3%; width: 51.3%; height: 86.8%; transform-origin: 0 70.97%; transform: perspective(241.8cqw) rotateY(15deg); pointer-events: none; transition: opacity 0.3s ease; }
.door-name { position: absolute; left: 50%; top: 12.6%; width: 50%; aspect-ratio: 6570 / 850; translate: -50% -50%; background: url("images/fridge-name.svg") center / contain no-repeat; }
.fridge[aria-pressed="true"] .door-plane { opacity: 0; }
/* the camera stands just past where the open door swings to, so it never covers the door shelf */
.cam { --cw: calc(var(--fw) * 0.86); position: absolute; left: calc(var(--fw) * 0.955); top: calc(var(--fw) * 0.928 - var(--cw) * 0.6256); width: var(--cw); padding: 0; border: 0; background: none; color: inherit; }
.cam-body { display: block; width: 100%; height: auto; filter: drop-shadow(0 4px 4px rgba(0, 0, 0, 0.4)) drop-shadow(0 10px 14px rgba(0, 0, 0, 0.14)); }
@media (max-width: 860px) {
  /* phones: the camera stands under the fridge, nearly full width */
  .after-grid { --fw: min(300px, 76vw); }
  .fridge-side { width: auto; display: flex; flex-direction: column; align-items: center; }
  .cam { position: relative; left: auto; top: auto; --cw: min(340px, 88vw); margin: 34px 0 30px; }
}
/* the playback: the round lens becomes a window that flips through the photos, framed by the knurled ring */
.cam { --sx: 55%; --sy: 51.6%; --sd: 47%; }
.cam-screen { position: absolute; left: var(--sx); top: var(--sy); width: var(--sd); aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; overflow: hidden; background: #0B0A09; opacity: 0; scale: 0.55; pointer-events: none; transition: opacity 0.35s ease, scale 0.5s var(--e-out, ease-out); }
.cam.playing .cam-screen { opacity: 1; scale: 1; }
.cam-screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.16s ease; }
.cam-screen img.on { opacity: 1; }
.cam-screen::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.6); background: radial-gradient(circle at 34% 26%, rgba(255, 255, 255, 0.32), rgba(255, 255, 255, 0) 30%), radial-gradient(circle, rgba(0, 0, 0, 0) 58%, rgba(0, 0, 0, 0.5) 100%); }
.cam-flash { position: fixed; inset: 0; z-index: 9999; background: #FFF; opacity: 0; pointer-events: none; }
@media (hover: hover) { .cam-body { transition: translate 0.5s var(--e-out, ease-out); } .cam:hover .cam-body { translate: 0 -3px; } }
/* reduced motion: no flash (script.js) and no growing lens, the photos just fade (the site-wide rule turns every transition off) */
html:not(.motion) .cam-screen { scale: 1; }
@media (prefers-reduced-motion: reduce) { .cam-screen, .cam-screen img { transition: opacity 0.4s ease !important; } }

/* 18. Dark mode: the current section's pill in the top bar was too faint */
[data-theme="dark"] .nav ul a[aria-current="true"] { background: color-mix(in srgb, var(--acc) 26%, transparent); color: #FCFAF6; }
/* 19. Music: the video, the photo and the text start on the same line (her rule: photos horizontally aligned) */
.music { align-items: start; }
/* in the 3-column row the photo is as tall as the video: its column is 0.62fr beside the video's 1.05fr at 16:9 */
@media (min-width: 961px) { .music > .flow { aspect-ratio: 1.05; } }

/* ---------- v22: sound and touch ----------
   The press squish and the vegetable wiggle run from script.js (Web Animations), so no hover or motion rules here
   change. This only makes the vegetables and chips feel clickable. */
.footer .cheer figure { cursor: pointer; touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
.tp-chip, .tp-count { touch-action: manipulation; }
@media (hover: hover) and (pointer: fine) {
  .footer .cheer figure, .tp-chip {
    cursor: url("images/cursor-moon.png") 12 12, pointer;
    cursor: -webkit-image-set(url("images/cursor-moon.png") 1x, url("images/cursor-moon@2x.png") 2x) 12 12, pointer;
    cursor: image-set(url("images/cursor-moon.png") 1x, url("images/cursor-moon@2x.png") 2x) 12 12, pointer;
  }
}

/* Nov 30, her notes 58 and 59: no floating "Open my fridge" pill. On a computer a small question pops up only when you point at
   the fridge or the camera (or Tab to it). On phones the same words sit quietly under each one. */
.ask-cue { position: absolute; z-index: 5; left: 50%; padding: 8px 14px 9px; border-radius: 999px; background: rgba(252, 250, 246, 0.96); color: #1A1816; font: 600 14.5px/1 var(--sans); letter-spacing: 0.01em; white-space: nowrap; box-shadow: 0 10px 24px -10px rgba(0, 0, 0, 0.5); pointer-events: none; opacity: 0; translate: -50% 6px; transition: opacity 0.25s ease, translate 0.4s var(--e-out, ease-out), scale 0.4s var(--e-out, ease-out); }
.ask-cue .ac-b { display: none; }
.fridge-ask { left: 51.5%; top: 27%; }
.cam-ask { left: var(--sx, 55%); top: var(--sy, 51.6%); translate: -50% -50%; scale: 0.92; }
.fridge[aria-pressed="true"] ~ .fridge-ask .ac-a, .cam.playing .cam-ask .ac-a { display: none; }
.fridge[aria-pressed="true"] ~ .fridge-ask .ac-b, .cam.playing .cam-ask .ac-b { display: inline; }
@media (hover: hover) {
  .fridge-wrap:hover .fridge-ask, .fridge:focus-visible ~ .fridge-ask { opacity: 1; translate: -50% 0; }
  .fridge-wrap.tasted .fridge-ask { opacity: 0; }
  /* the question sits right on the lens, where the photos will play, and steps aside while they play */
  .cam:hover .cam-ask, .cam:focus-visible .cam-ask { opacity: 1; scale: 1; }
  .cam.playing .cam-ask { opacity: 0; }
}
@media (hover: none) {
  .ask-cue { opacity: 1; padding: 0; background: none; box-shadow: none; color: var(--muted); font-weight: 500; font-size: 14.5px; translate: -50% 0; }
  .fridge-ask { top: 97%; }
  .cam-ask { left: 50%; top: calc(100% + 8px); translate: -50% 0; scale: 1; }
}

/* ================= Nov 30: backdrops read as photos again =================
   Her note: "make sure that the banners are recentered to look more normal ... it now looks rlly weird".
   With the subtitle lines gone (her call, Nov 30), every band had shrunk to its compact minimum (about 187px on a
   computer, 112px on a phone), so each photo read as a thin strip with heads and the monument cut. Taller again, and
   each crop aimed at its subject. (main > .sec > .band outranks the compact rules in features/design.css.) */
main > .sec > .band { min-height: clamp(240px, 22vw, 320px); }
@media (max-width: 640px) { main > .sec > .band { min-height: 176px; } }

/* Nov 30: a full screen button in the photo viewer (her ask), beside Close */
.vw-full { position: absolute; top: 14px; right: 68px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.12); color: #fff; font-size: 20px; line-height: 1; cursor: pointer; }
.vw-full:hover, .vw-close:hover { background: rgba(255, 255, 255, 0.22); }
.viewer:fullscreen, .viewer:-webkit-full-screen { width: 100%; height: 100%; }
/* Nov 30: the Music backdrop shows the Steinway & Sons plate instead of the middle of the strings */
#music .band-bg { object-position: 50% 44%; } /* Dec 1: her playing at the Steinway (IMG_4229, her sorter Yes), hands on the keys, the title on the red wall */
.lightbox-full { position: absolute; top: -44px; right: 92px; width: 34px; height: 30px; border: 0; border-radius: 999px; background: var(--sheet); color: var(--ink); font-size: 16px; line-height: 1; cursor: pointer; }
.lightbox:fullscreen, .lightbox:-webkit-full-screen { max-width: none; max-height: none; width: 100%; height: 100%; display: grid; place-items: center; background: #0E0D0C; }
.lightbox:fullscreen img, .lightbox:-webkit-full-screen img { max-width: 100vw; max-height: 92vh; }
