/* Design (Audrey Huang site). Loaded after style.css, so these rules win. Owned by the design session.
   Started Nov 29 for the round after launch, to keep design changes out of the shared end of style.css. */

/* ---------- 1. Debate results (her note: too much at once, not enough callouts to what matters, more plaque photos) ----------
   Four big callouts lead, then her plaques as the star (three equal photo sets that crossfade), then the full list
   folded behind "See all results". The callout facts come from the results table and her own notes. */
.deb-wins { display: grid; gap: clamp(26px, 3vw, 44px); }
.deb-wins .deb-callouts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(18px, 2.2vw, 36px); margin: 0; padding: 0; list-style: none; color: var(--muted); font-size: 16.5px; line-height: 1.4; }
.deb-wins .deb-callouts li { max-width: none; margin: 0; }
.deb-wins .deb-callouts b { display: block; margin-bottom: 8px; color: var(--ink); font-size: clamp(42px, 4.4vw, 68px); font-weight: 650; line-height: 0.95; letter-spacing: -0.03em; }
.deb-wins .deb-callouts li:first-child b { color: var(--acc); }
.plaques { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap2); }
.plaque { margin: 0; min-width: 0; }
.plaque .flow { aspect-ratio: 4 / 5; }
.plaque figcaption { display: flex; flex-direction: column; gap: 3px; margin-top: 12px; }
.plaque figcaption b { color: var(--ink); font-size: var(--t-card); font-weight: 650; line-height: 1.22; }
.plaque figcaption span { color: var(--muted); font-size: 16.5px; }
@media (hover: hover) { .plaque:hover figcaption b { color: var(--acc); } .plaque figcaption b { transition: color 0.3s ease; } }
.all-results summary { display: inline-flex; align-items: center; gap: 10px; padding: 4px 0; color: var(--acc); font-size: 16.5px; font-weight: 650; list-style: none; cursor: pointer; }
.all-results summary::-webkit-details-marker { display: none; }
.all-results summary::after { content: ""; width: 8px; height: 8px; margin-left: 2px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; rotate: 45deg; translate: 0 -3px; }
.motion .all-results summary::after { transition: rotate 0.3s var(--e-out), translate 0.3s var(--e-out); }
.all-results[open] summary::after { rotate: 225deg; translate: 0 2px; }
.ar-count { display: inline-grid; place-items: center; min-width: 26px; height: 22px; padding: 0 8px; border-radius: 999px; background: color-mix(in srgb, var(--acc) 13%, transparent); font-size: 13px; font-variant-numeric: tabular-nums; }
.all-results .results { margin-top: 14px; }
.motion .all-results[open] .results { animation: ar-in 0.45s var(--e-out); }
@keyframes ar-in { from { opacity: 0; translate: 0 -6px; } }
@media (max-width: 640px) {
  .deb-wins .deb-callouts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 16px; font-size: 14.5px; }
  .deb-wins .deb-callouts b { font-size: 40px; margin-bottom: 4px; }
  .plaques { gap: 8px; }
  .plaque figcaption { margin-top: 7px; }
  .plaque figcaption b { font-size: 14px; }
  .plaque figcaption span { font-size: 12.5px; }
}

/* ---------- 2. The cursor (her note: a cute moon, real looking, that changes a little with what you're on) ----------
   Made from her own moon photo (images/cursor/*.png, 1x and 2x). Everywhere: the moon. Links and buttons: the moon
   with a soft warm glow. Photos that open large: the moon with a small "+". Videos: the moon with a small play mark.
   Text: the normal I-beam. Only on devices with a real mouse. */
@media (hover: hover) and (pointer: fine) {
  html, body {
    cursor: url("../images/cursor/moon.png") 16 16, auto;
    cursor: image-set(url("../images/cursor/moon.png") 1x, url("../images/cursor/moon@2x.png") 2x) 16 16, auto;
  }
  p, li, h1, h2, h3, h4, figcaption, td, th, dd, dt, blockquote, input, textarea, .love:not([data-img]) { cursor: text; }
  a, button, [role="button"], label, summary, .love[data-img], .hot, .tp-count, button.tp-count, .peek, .all-results summary, .moon-now, .cam, .fridge, .vp-b, .vp-seek {
    cursor: url("../images/cursor/link.png") 16 16, pointer;
    cursor: image-set(url("../images/cursor/link.png") 1x, url("../images/cursor/link@2x.png") 2x) 16 16, pointer;
  }
  .flow, .flow img, .row-doc, .bill2-page {
    cursor: url("../images/cursor/zoom.png") 13 13, zoom-in;
    cursor: image-set(url("../images/cursor/zoom.png") 1x, url("../images/cursor/zoom@2x.png") 2x) 13 13, zoom-in;
  }
  .vp video, .vp-cover {
    cursor: url("../images/cursor/play.png") 13 13, pointer;
    cursor: image-set(url("../images/cursor/play.png") 1x, url("../images/cursor/play@2x.png") 2x) 13 13, pointer;
  }
  .vp.idle, .vp.idle video { cursor: none !important; }
}

/* ---------- 3a. The footer row: her note, the moon wasn't centered. Three columns, the moon exactly in the middle ---------- */
.ft-base { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; column-gap: 24px; }
.ft-base > :first-child { justify-self: start; }
.ft-base > .moon-now { justify-self: center; }
.ft-base > :last-child { justify-self: end; }
@media (max-width: 760px) {
  .ft-base { grid-template-columns: 1fr; row-gap: 14px; justify-items: center; text-align: center; }
  .ft-base > :first-child, .ft-base > :last-child { justify-self: center; }
}

/* ---------- 3b. Pop-ups look poppable (her note: it should be more obvious that things pop up) ----------
   Every pop-up trigger (the About words, the footer moon, the fridge, the camera, the vegetables, the topic counts)
   gets the same small garnet dot. The first time it comes on screen it pulses three times (the objects also say
   "tap me" for a moment), then it stays as a quiet dot until you use it. Used ones are remembered on this device.
   With reduced motion: just the still dot. */
/* only hosts that aren't positioned already (the camera and the fridge cue are absolute and must stay so) */
.peek.has-hint, .tp-count.has-hint, .cheer.has-hint { position: relative; }
.hint { position: absolute; z-index: 6; display: flex; align-items: center; gap: 6px; pointer-events: none; }
.hint-dot { position: relative; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--acc); box-shadow: 0 0 0 2px color-mix(in srgb, var(--page) 85%, transparent); }
.hint-dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--acc); opacity: 0; }
.hint-say { padding: 3px 9px 4px; border-radius: 999px; background: var(--ink); color: var(--page); font-size: 12px; font-weight: 650; letter-spacing: 0.02em; line-height: 1.2; white-space: nowrap; opacity: 0; }
.footer .hint-dot { box-shadow: 0 0 0 2px rgba(14, 12, 10, 0.8); }
.footer .hint-say { background: #F1EBE0; color: #1A1816; }
.motion .hint-on .hint-dot::after { animation: hint-ping 1.5s var(--e-out) 3; }
.motion .hint-on .hint-say { animation: hint-say 4.4s ease forwards; }
@keyframes hint-ping { 0% { opacity: 0.55; scale: 1; } 100% { opacity: 0; scale: 3; } }
@keyframes hint-say { 0% { opacity: 0; translate: -4px 0; } 10%, 82% { opacity: 1; translate: 0 0; } 100% { opacity: 0; translate: 0 0; } }
.hint-used > .hint, .hint-used .hint { opacity: 0; transition: opacity 0.4s ease; }
/* where each dot sits */
.peek > .hint { top: -0.2em; right: -0.55em; }
.peek > .hint .hint-dot { width: 6px; height: 6px; }
.moon-now > .hint { left: 26px; top: -4px; }
.fridge-cue > .hint { right: -4px; top: -4px; }
.cam > .hint { right: 4%; top: -6px; }
.footer .cheer > .hint { left: 34px; top: -2px; }
.tp-counts > .tp-count:first-child > .hint { right: 2px; top: -2px; }
/* the footer is dark in both themes, so its dots use the lighter rose */
.footer .hint-dot, .footer .hint-dot::after { background: #E58D97; }

/* No lines (her rule): the Loaded screenshot frame from features/pictures.css becomes a soft shadow instead */
.roles .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); }

/* ---------- QA (Nov 29): phones, the results year "2023, 2024" ran into the logo. It wraps onto two lines now ---------- */
@media (max-width: 640px) { .rtable .yr { white-space: normal; overflow-wrap: anywhere; } }
/* QA: "made with ♡ and ..." had 18px holes around the heart (.footer p beat .ft-made). A normal word space now */
.footer .ft-made { gap: 0.34em; }

/* QA: every clickable shows the moon. Buttons that set their own cursor (top bar, Replay, slides, chips, vegetables,
   viewer controls) get the glowing moon, their icons inherit it, the headshot gets the zoom moon */
@media (hover: hover) and (pointer: fine) {
  .replay, .np, .sound-toggle, .theme-toggle, .nav-toggle, .nav-cta, .go, .slides-open, .tp-chip, .cheer figure, .mail-copy, .vw-btn, .vw-close, .lightbox-close, .peek-card a {
    cursor: url("../images/cursor/link.png") 16 16, pointer;
    cursor: image-set(url("../images/cursor/link.png") 1x, url("../images/cursor/link@2x.png") 2x) 16 16, pointer;
  }
  a *, button *, [role="button"] *, summary *, .tp-chip *, .cheer figure * { cursor: inherit; }
  .headshot img, .slide, .t-card img {
    cursor: url("../images/cursor/zoom.png") 13 13, zoom-in;
    cursor: image-set(url("../images/cursor/zoom.png") 1x, url("../images/cursor/zoom@2x.png") 2x) 13 13, zoom-in;
  }
}
@media (hover: hover) and (pointer: fine) {
  .footer .cheer figure, .footer .cheer figure svg {
    cursor: url("../images/cursor/link.png") 16 16, pointer;
    cursor: image-set(url("../images/cursor/link.png") 1x, url("../images/cursor/link@2x.png") 2x) 16 16, pointer;
  }
  .footer .cheer figure svg * { cursor: inherit; }
}
/* the "tap me" label floats just above its dot, so it never covers words (it covered "Tonight's moon") */
.hint-say { position: absolute; left: 8px; bottom: 11px; }

/* phones: the camera's "tap me" sat past the right edge and widened the page, so labels near the right edge open leftward */
@media (max-width: 640px) { #after-hours .hint-say { left: auto; right: 8px; } }

/* the camera sits near the right edge, so its "tap me" opens to the left of the dot (it widened the page on phones) */
.cam > .hint .hint-say { left: auto; right: 8px; }
/* ---------- QA 5: compact pass (her early ask: "get through the website with minimal scrolls") ----------
   Shorter photo backdrops, smaller gaps, Debate's callouts beside the plaques, lower Civics photos, and on phones
   a narrower photo column so text wraps less. Type sizes stay the same. */
:root { --head-gap: clamp(14px, 1.6vw, 24px); --ph: clamp(180px, 16.4vw, 240px); }
main > .sec { padding-bottom: clamp(22px, 2.4vw, 34px); }
.band, .band.debate-hero { min-height: clamp(150px, 13vw, 196px); padding: clamp(26px, 2.6vw, 40px) var(--pad) clamp(16px, 1.8vw, 24px); }
.band-line { margin-top: 6px; font-size: clamp(16.5px, 1.3vw, 19px); line-height: 1.4; }
.block-title { margin-top: calc(var(--head-gap) * 1.6); }
.roles { margin-top: clamp(22px, 2.4vw, 34px); }
/* Debate: the four callouts sit beside the plaques (2 by 2), and the full results fold under both */
@media (min-width: 1001px) {
  .deb-wins { grid-template-columns: minmax(0, 0.82fr) minmax(0, 2fr); column-gap: clamp(24px, 3vw, 48px); row-gap: 16px; align-items: start; }
  .deb-wins .deb-callouts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 22px; font-size: 15.5px; }
  .deb-wins .deb-callouts b { font-size: clamp(40px, 3.6vw, 56px); }
  .deb-wins .all-results { grid-column: 1 / -1; }
}
/* Entrepreneurship: the photo column is a little narrower so each row is shorter */
@media (min-width: 1001px) { .biz-card > .biz-video, .biz-card > .flow { flex: 0 0 40%; min-height: 0; } }
@media (max-width: 640px) {
  .band, .band.debate-hero { min-height: 0; padding: 24px 16px 16px; }
  .band-line { font-size: 15.5px; }
  .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-basis: 30%; }
  .tp-chip { padding: 6px 10px; font-size: 15px; }
}
@media (max-width: 640px) {
  .band, .band.debate-hero { min-height: 112px; }
  .about .headshot { max-width: 210px; }
}
/* Bills and speeches on phones: her ask is bigger text, and nothing under 12px. One area per row (as style.css
   already does under 560px) so the chips get the full width and wrap less. */
@media (max-width: 640px) {
  .tp-area h4 { font-size: 13.5px; }
  .tp-chip { padding: 6px 11px 7px; font-size: 15.5px; line-height: 1.25; }
  .tp-chip small { font-size: 13px; }
  .bill2 .bill-stamp { font-size: 12.5px; }
}

/* QA: a small cream folded corner sat at the bottom-right of every photo backdrop. It came from an old ".sheet"
   rule (the paper sheets Research used to have) that also gave the slide-over sheet stacked-paper edges. Both gone. */
.sec > .sheet { box-shadow: none; }
.sec > .sheet::after { content: none; }

/* ---------- Civics as compact cards (her pick for a shorter page): photo left, text right, two per row ----------
   Like Research. In each row both cards are the same height, so both photos share a top and a height, and the
   text starts on the same line. A last card on its own spans the row but keeps the same photo width. Below 1180px (where the nav folds too)
   the cards stack one per row, so the photos never turn into thin strips. */
@media (min-width: 641px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; }
  .bento > .tile, .bento > .tile:nth-child(n), .bento > .tile.wide { grid-column: auto; flex-direction: row; align-items: stretch; }
  .bento > .tile > .flow, .bento > .tile:nth-child(n) > .flow, .bento > .tile.wide > .flow { flex: 0 0 38%; align-self: stretch; height: auto; min-height: 210px; aspect-ratio: auto !important; }
  .bento > .tile > .tile-text { flex: 1; align-self: flex-start; min-width: 0; }
  .bento > .tile:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .bento > .tile:last-child:nth-child(odd) > .flow { flex-basis: calc((100% - var(--gap2)) / 2 * 0.38); }
  .bento > .tile:last-child:nth-child(odd) > .tile-text { max-width: 68ch; }
}
@media (min-width: 641px) and (max-width: 1179px) {
  .bento { grid-template-columns: 1fr; }
  .bento > .tile:last-child:nth-child(odd) > .flow { flex-basis: 38%; }
}

/* ---------- The opening sign (her picks: Nov 29 "1: Gold + tile wall", reversed Nov 30) ----------
   Nov 30, later: the sign and its glitter step aside while html.moonlight is on (the Moonlight opening's silver serif
   name, features/moonlight.css overrides these rules). Nothing here was removed, so it comes back without the class.
   Her words (Nov 30): "my name in black and the backing in white and the trim of the name sign in black".
   Black tile letters on a white mosaic tablet with one row of black tiles around it. Original tiles drawn for this
   site (images/mosaic/: the trim as SVG, the backing and letter tiles as 2x WebP so the glide never redraws
   thousands of tiles), not a copy of any real station sign.
   ::before is the tablet and its trim, .hn the letters. The gliding copy (.fly-name, made by script.js) has the same
   layers, so the sign rides up with the name and fades with --band in the last 15% of the glide. Its letters become
   the bar's own name: in light mode both are dark, so nothing flips. In dark mode the bar's name is light, so the
   letters switch in one step where both looks have the same contrast (tablet about 43% faded), and every frame
   stays readable. The landing is the bar's real name to the pixel. */
.hero-name { isolation: isolate; padding: calc(0.16em + 7px) calc(0.42em + 7px) calc(0.22em + 7px); background: none; box-shadow: none; font-size: clamp(40px, 6vw, 98px); --swap: 0.5; }
[data-theme] .hero-name { background: none; box-shadow: none; }
[data-theme="dark"] .hero-name { --swap: 0.435; }
.hero-name::before, html .hero-name.fly-name::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: var(--band, 1);
  border: 7px solid transparent; border-image: url(../images/mosaic/rim-black.svg) 7 round;
  background: url(../images/mosaic/white-flat.webp) 0 0 / 240px 120px padding-box;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.16), 0 10px 22px -14px rgba(0, 0, 0, 0.55);
}
.hero-name::after { content: none; }
.hero-name .hn { color: #1A1816; }
@supports ((background-clip: text) or (-webkit-background-clip: text)) {
  .hero-name .hn { background: url(../images/mosaic/ink-letters.webp) 0 0 / 200px 100px; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
}
.hero-name.fly-name .hn { -webkit-text-fill-color: color-mix(in srgb, var(--ink) calc(clamp(0, (var(--swap) - var(--band, 1)) * 100000, 1) * 100%), transparent); color: var(--ink); }
@media (max-width: 640px) {
  .hero-name { font-size: clamp(34px, 10.5vw, 50px); padding: calc(0.16em + 5px) calc(0.42em + 5px) calc(0.22em + 5px); }
  .hero-name::before, html .hero-name.fly-name::before { border-width: 5px; background-size: 160px 80px; }
}

/* ---------- Her notes 37 to 61 (Nov 30) ---------- */

/* #37, #66, #67 Section titles are never clipped. The old wipe-in used clip-path, which cut letter tails and, in
   Safari, could leave a title only partly shown ("this word isn't fully shown", Research and More about me). Titles
   now arrive with the fade and small rise their band text already has, and clip-path is off in every state. */
.sec-title, .motion .band .sec-title, .motion .band.in .sec-title, .motion .sec-head.reveal .sec-title, .motion .sec-head.reveal.in .sec-title { clip-path: none !important; -webkit-clip-path: none !important; }
.motion .sec-head.reveal .sec-title { opacity: 0; transition: opacity 0.7s ease, translate 0.8s var(--e-out); }
.motion .sec-head.reveal.in .sec-title { opacity: 1; }

/* #39 and #40 Gun policy: two clear groups without a label. The three laws are one even row of white cards (number,
   "Signed into law", title, one line), and the three roles sit below on the open page with their logos, in three
   even columns with a wider gap above. The Loaded screenshot is gone and SB 948's page image is hidden, so the
   three bills match. */
#gun-policy .bills { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap2, 20px); align-items: stretch; }
#gun-policy .bills > .bill2, #gun-policy .bills > .bill2:not(.no-page) { grid-row: auto; grid-template-rows: 1fr; }
#gun-policy .bill2-page { display: none; }
#gun-policy .bill2-body, #gun-policy .bill2.no-page .bill2-body { padding: clamp(16px, 1.6vw, 22px) clamp(16px, 1.7vw, 24px) clamp(18px, 1.8vw, 24px); }
#gun-policy .roles { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: clamp(40px, 4.4vw, 64px); align-items: start; }
#gun-policy .roles > .role, #gun-policy .roles > .role:first-child, #gun-policy .roles > .role:nth-child(n+2) { grid-row: auto; padding: 0; }
#gun-policy .role h3 .e-logo.icon { height: 30px; max-width: 48px; }
#gun-policy .role h3 .e-logo[src*="loaded-icon"] { height: 32px; }
@media (max-width: 900px) {
  #gun-policy .bills { grid-template-columns: 1fr; gap: 12px; }
  #gun-policy .roles { grid-template-columns: 1fr; row-gap: 26px; margin-top: 34px; }
}

/* #41 Debate: the four numbers go back to one even row across the page, above the plaques, instead of a ragged
   2 by 2 block squeezed beside them. Phones keep 2 by 2. */
@media (min-width: 1001px) {
  .deb-wins { grid-template-columns: minmax(0, 1fr); row-gap: clamp(30px, 3.2vw, 48px); }
  .deb-wins .deb-callouts { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 40px); font-size: 16.5px; }
  .deb-wins .deb-callouts b { font-size: clamp(44px, 4.2vw, 64px); }
}

/* #43 Bills and speeches: no title, tinted tiles or colored chips. One quiet line in the same style as "See all
   results" opens a plain list: each policy area, then its bills and speeches as text, with the kind and round in
   muted type. */
.tp-more { margin-top: clamp(18px, 2vw, 26px); }
.tp-more summary { font-size: 16.5px; }
.tp-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2vw, 28px) clamp(24px, 3vw, 48px); margin-top: 16px; }
.tp-group h4 { margin: 0 0 6px; font-family: var(--sans); font-size: 13.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.tp-group ul { margin: 0; padding: 0; list-style: none; }
.tp-group li { padding: 3px 0; font-size: 16.5px; line-height: 1.4; color: var(--ink); }
.tp-group li span { margin-left: 6px; font-size: 14.5px; color: var(--muted); }
.motion .tp-more[open] .tp-list { animation: ar-in 0.45s var(--e-out); }
@media (max-width: 900px) { .tp-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .tp-list { grid-template-columns: 1fr; gap: 16px; } .tp-group li { font-size: 15.5px; } .tp-group li span { font-size: 13.5px; } }

/* #46 Civics: all seven cards are one size. Every row is as tall as the tallest card (so every photo is the same
   height and every title starts on the same line), and the seventh card is the same width as the others,
   centered on the last row instead of stretching across it. */
@media (min-width: 1180px) {
  .bento { grid-auto-rows: 1fr; }
  .bento > .tile:last-child:nth-child(odd) { grid-column: 1 / -1; justify-self: center; width: calc((100% - var(--gap2)) / 2); }
  .bento > .tile:last-child:nth-child(odd) > .flow { flex-basis: 38%; }
  .bento > .tile:last-child:nth-child(odd) > .tile-text { max-width: none; }
}
@media (min-width: 641px) and (max-width: 1179px) { .bento { grid-auto-rows: 1fr; } }

/* #52 The piano button reads as music at a glance: a filled garnet pill with a music note (the animated bars when
   it plays), and her line "Listen to me playing Rachmaninoff" always showing on screens 1440px and wider, where
   the bar has room. Narrower screens show the line on hover and once as a small tip under the button. */
.np { border: 0; background: var(--acc); color: #FCFAF6; box-shadow: 0 1px 2px rgba(26, 24, 22, 0.18); transition: background-color 0.25s ease, box-shadow 0.25s ease; }
.np:hover { background: color-mix(in srgb, var(--acc) 84%, #000); }
.np.on { background: var(--acc); }
[data-theme="dark"] .np, [data-theme="dark"] .np.on { color: #1A1816; }
[data-theme="dark"] .np:hover { background: color-mix(in srgb, var(--acc) 86%, #fff); }
.np .np-ico { width: 36px; height: 36px; }
.np .np-play { width: 18px; height: 18px; }
.np .np-label { font-size: 13.5px; font-weight: 650; letter-spacing: 0.005em; }
@media (min-width: 1440px) {
  .np .np-label, .np.on .np-label, .np:hover .np-label { max-width: 260px; padding-right: 15px; opacity: 1; }
}
.np-tip { position: fixed; z-index: 70; padding: 7px 12px 8px; border-radius: 10px; background: var(--ink); color: var(--page); font-size: 13.5px; font-weight: 600; white-space: nowrap; pointer-events: none; opacity: 0; translate: 0 -4px; transition: opacity 0.35s ease, translate 0.35s var(--e-out); }
.np-tip::before { content: ""; position: absolute; top: -5px; left: var(--tx, 50%); width: 10px; height: 10px; margin-left: -5px; background: inherit; rotate: 45deg; border-radius: 2px; }
.np-tip.show { opacity: 1; translate: 0 0; }

/* #61 Footer moon: the shadowed part was a blue-grey disc with a warm glow around it, which read as a background
   behind the moon. The shadow is now the footer's own dark (a faint trace of the full disc stays, like earthshine)
   and the glow is gone, so only tonight's lit part shows. */
.footer .moon-ico { box-shadow: none; background: transparent; }
.footer .moon-ico svg circle { fill: #1A1816; fill-opacity: 0.9; }
[data-theme="dark"] .footer .moon-ico svg circle { fill: #0E0C0A; }

/* Debate backdrop (Nov 30, her note: "the backsplash is cutting off heads recenter it a little vertically"). The
   team's faces sit about a quarter of the way down the photo, so the crop centers there instead of at 35%. */
#debate .band-bg, #debate .band .dh-bg { object-position: 50% 21%; }

/* ---------- One color system (Nov 30, her words: "a more kinda unified design overall with what's highlighted,
   what's colored") ----------
   Gold marker: the one key fact in each card (<mark>), and nothing else.
   Garnet (--acc): only things you can click or press (links, "See all", the piano button, the About words that open
   a card, the current nav item). Never for labels, numbers, titles or decoration.
   Ink and muted grey for everything else. Logos keep their own colors. No other accents and no one-off tints.
   No notification dots: nothing pulses to ask for a click. */

/* no hint dots or "tap me" labels anywhere */
.hint, .hint-dot, .hint-say { display: none !important; }

/* About words that open a card: garnet like every other clickable thing, no dotted underline, no marker.
   Hover or focus gives a soft garnet wash. */
.about .peek, main .peek { color: var(--acc); background: none; text-decoration: none; border-radius: 3px; transition: background-color 0.2s ease, color 0.2s ease; }
.about .peek:hover, .about .peek:focus-visible, .about .peek[aria-expanded="true"] { background: color-mix(in srgb, var(--acc) 11%, transparent); }

/* labels and numbers are not clickable, so they're ink, not garnet */
.bill2 .bill-stamp { color: var(--ink-2, var(--muted)); }
.deb-wins .deb-callouts li:first-child b { color: var(--ink); }

/* card titles no longer turn garnet on hover (that read as a link). The photo still leans in. */
.tile:hover h3, .bill2:hover .bill2-title, .role:hover h3, .music:hover .tile-text h3,
.tile:focus-within h3, .bill2:focus-within .bill2-title, .role:focus-within h3 { color: inherit; }

/* the reading line under the bar is a gauge, not a control: ink */
.nav .nav-progress, html .nav-progress { background: var(--ink); opacity: 0.7; }

/* the intro video's "coming soon" frame is not clickable yet: plain sheet and a grey play mark */
#about .vp-intro.is-soon, [data-theme="dark"] #about .vp-intro.is-soon { background: var(--sheet); }
#about .vp-soon-play { background: color-mix(in srgb, var(--ink) 7%, transparent); }
#about .vp-soon-play::after { border-left-color: var(--muted); }

/* links that wrap a picture never show an underline */
a.biz-video, a.role-shot { text-decoration: none; }

/* footer: the email is a link like the others there (light text, garnet on hover), not a gold-marked fact */
.footer .mail-link { background: none; text-decoration: none; }
.footer .mail-link:hover, .footer .mail-link:focus-visible, .footer .ft-links a:hover, .footer .ft-links a:focus-visible { color: #E58D97; }
.footer .ft-links a:hover, .footer .ft-links a:focus-visible { text-decoration: none; }

/* bullet dashes and the faint track under the reading line are decoration: grey, not garnet */
.sec .dash li::before, main .dash li::before { background: var(--muted); opacity: 0.55; }
.nav .nav-track::before, html .nav-track::before { background: color-mix(in srgb, var(--ink) 10%, transparent); }
.love-dot { color: var(--muted); }

/* #64 Equality in Forensics: the shield first, then the call (script: features/design.js). The frame is the page's
   cream (dark in dark mode), with the shield drawn at most 104px from its 160px file so it stays sharp, and the name
   in the serif under it. Phones show the shield alone. It fades on the photo sets' own 1.4s. */
.flow-logo { position: absolute; inset: 0; z-index: 3; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 12px; background: var(--page); pointer-events: none; transition: opacity 1.4s ease; }
.flow-logo.off { opacity: 0; }
.fl-shield { width: clamp(56px, 30%, 104px); aspect-ratio: 1; background: url(../images/logos/eif.webp) center / contain no-repeat; }
.fl-name { font-family: var(--serif); font-size: clamp(17px, 1.6vw, 24px); line-height: 1.1; color: var(--ink); text-align: center; }
@media (max-width: 640px) { .fl-name { display: none; } .fl-shield { width: min(64px, 52%); } }

/* ---------- Videos sit like photos (Nov 30, her words: "the videos and elements need to feel more natural in the
   thing instead of plopped in there out of place") ----------
   At rest a video is just its picture: the poster unfiltered, square corners, in the card's photo slot, with only a
   small play mark in the corner. Pointing at it brings the play circle and the length, and the picture leans in
   like the photos. Playing still shows the slim bar as before. (The Pantheon reel's own frame is the video
   session's; these rules only quiet its cover.) */
.vp-cover img { filter: none; transition: transform 0.9s var(--e-out); }
.vp-cover:hover img { scale: none; filter: none; }
@media (hover: hover) {
  .tile:hover .vp-cover img, .biz-card:hover .vp-cover img, .music:hover .vp-cover img, .vp:hover .vp-cover img { transform: scale(1.05); }
}
.vp-title { display: none; }
.vp-dur { opacity: 0; transition: opacity 0.3s ease; }
.vp:hover .vp-dur, .vp-cover:focus-visible .vp-dur { opacity: 1; }
.vp-big { width: 56px; height: 56px; opacity: 0; scale: 0.9; box-shadow: none; background: rgba(244, 239, 230, 0.94); transition: opacity 0.3s ease, scale 0.35s var(--e-out); }
.vp-big::after { left: 22px; top: 17px; border-left-width: 16px; border-top-width: 11px; border-bottom-width: 11px; }
.vp:hover .vp-big, .vp-cover:focus-visible .vp-big, .vp.wait .vp-big { opacity: 1; scale: 1; }
.vp-cover::after { content: ""; position: absolute; left: 12px; bottom: 12px; z-index: 1; width: 28px; height: 28px; border-radius: 50%; background: rgba(20, 18, 16, 0.55) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 12'%3E%3Cpath d='M0 0v12l10-6z' fill='%23F4EFE6'/%3E%3C/svg%3E") 56% 50% / 9px 11px no-repeat; pointer-events: none; transition: opacity 0.3s ease; }
.vp:hover .vp-cover::after, .vp-cover:focus-visible::after, .vp.wait .vp-cover::after { opacity: 0; }

/* Music: the video and the photo beside it share a top edge and a height (the photo's shape follows the video's
   16:9 across the 1.05 : 0.62 columns), and the words start on the same line */
@media (min-width: 961px) {
  #music .music { align-items: start; }
  #music .music > .flow { aspect-ratio: 0.62 / 0.590625; }
}

/* ---------- About as an editorial spread (her pick A, Nov 30: "it should seem like i'm a cool person not just a
   super basic bkg of washington") ----------
   No backdrop. A big "Hi, I'm Audrey" with the bio and stats on the left, and her own photos in three staggered
   columns on the right: headshot and piano, the intro frame in the middle (the red blazer clip until her real intro
   is filled in on the .vp-intro line, which then plays right there), TEDx and the range. Square corners, even gaps,
   no lines. Phones: the words first, then a row of three (headshot, intro, TEDx). */
#about.ab-spread { display: grid !important; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 4vw, 72px); align-items: start; padding-top: clamp(64px, 7vw, 112px); padding-bottom: clamp(48px, 5vw, 80px); }
#about.ab-spread > .band-bg { display: none; }
#about.ab-spread .sec-title { font-size: clamp(64px, 8.2vw, 136px); line-height: 0.92; letter-spacing: -0.02em; margin: 0 0 clamp(18px, 2vw, 30px); }
#about.ab-spread .about-body { margin: 0; }
#about.ab-spread .callouts { margin-top: clamp(22px, 2.4vw, 32px); }
#about.ab-spread .ab-photos { display: grid; grid-template-columns: 1fr 1.05fr 1fr; gap: clamp(8px, 0.9vw, 14px); align-items: start; }
#about.ab-spread .ab-col { display: grid; gap: clamp(8px, 0.9vw, 14px); min-width: 0; }
#about.ab-spread .ab-c1 { margin-top: clamp(36px, 4.6vw, 72px); }
#about.ab-spread .ab-c3 { margin-top: clamp(16px, 2vw, 30px); }
#about.ab-spread .headshot, #about.ab-spread .ab-pic { margin: 0; max-width: none; overflow: hidden; border-radius: 0; align-self: auto; }
#about.ab-spread .headshot img, #about.ab-spread .ab-pic img { display: block; width: 100%; height: 100%; min-height: 0; object-fit: cover; }
#about.ab-spread .headshot { aspect-ratio: 4 / 5; grid-column: auto; grid-row: auto; }
#about.ab-spread .ab-c1 .ab-pic { aspect-ratio: 1; }
#about.ab-spread .ab-c3 .ab-pic:first-child { aspect-ratio: 4 / 5; }
#about.ab-spread .ab-c3 .ab-pic:last-child { aspect-ratio: 4 / 3; }
#about.ab-spread .vp-intro { width: 100%; height: auto; aspect-ratio: 9 / 16; }
@media (hover: hover) { #about.ab-spread .ab-pic img { transition: transform 0.9s var(--e-out); } #about.ab-spread .ab-pic:hover img { transform: scale(1.05); } }
/* they arrive with the section, like the headshot */
.motion #about.ab-spread .ab-pic { opacity: 0; translate: 0 22px; transition: opacity 0.8s ease, translate 0.9s var(--e-out); }
.motion #about.ab-spread.on .ab-pic { opacity: 1; translate: 0 0; }
.motion #about.ab-spread.on .ab-c3 .ab-pic { transition-delay: 0.12s; }
.motion #about.ab-spread.on .ab-c1 .ab-pic { transition-delay: 0.2s; }
@media (max-width: 860px) {
  #about.ab-spread { grid-template-columns: 1fr; gap: 28px; padding-top: clamp(48px, 10vw, 72px); }
  #about.ab-spread .sec-title { font-size: clamp(52px, 13vw, 72px); }
  #about.ab-spread .ab-photos { grid-template-columns: 1fr 1.15fr 1fr; gap: 8px; }
  #about.ab-spread .ab-c1 { margin-top: 32px; } #about.ab-spread .ab-c3 { margin-top: 16px; }
  #about.ab-spread .ab-c1 .ab-pic, #about.ab-spread .ab-c3 .ab-pic:last-child { display: none; }
}

/* ---------- The name sign glitters (Nov 30, her words: "in the beginning my name should also glitter on the
   homepage") ----------
   The black letter tiles catch the light like glass mosaic: one soft light sweep across the letters when the name
   arrives, then small four-point glints that wink on random spots of the letters, a few at a time, while the
   opening is on screen. Drawn in CSS (no images), moved only with opacity and transforms (features/design.js), gone
   once the name glides into the bar, and off with reduced motion. */
/* the sweep is a light band laid over the letter tiles as one more background layer of the letters, so it is
   exactly on them, then moved across once */
@supports ((background-clip: text) or (-webkit-background-clip: text)) {
  .hero .hero-name .hn.sweep { background-image: linear-gradient(100deg, transparent 0 44%, rgba(255, 250, 238, 0.5) 50%, transparent 56% 100%), url(../images/mosaic/ink-letters.webp);
    background-size: 260% 100%, 200px 100px; background-repeat: no-repeat, repeat; background-position: 115% 0, 0 0; animation: hn-sweep 1.6s cubic-bezier(0.45, 0, 0.25, 1) forwards; }
}
@keyframes hn-sweep { to { background-position: -15% 0, 0 0; } }
.hero-name .glints { position: absolute; inset: 0; z-index: 2; pointer-events: none; overflow: visible; }
.hero-name .glint { position: absolute; left: 0; top: 0; width: 0.24em; height: 0.24em; margin: -0.12em 0 0 -0.12em; opacity: 0; will-change: transform, opacity; }
.hero-name .glint::before, .hero-name .glint::after { content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: radial-gradient(closest-side, #fff, rgba(255, 251, 240, 0.75) 35%, transparent 72%); }
.hero-name .glint::before { transform: scale(2.6, 0.2); }
.hero-name .glint::after { transform: scale(0.2, 2.6); }
.hero-name .glint { background: radial-gradient(closest-side, rgba(255, 255, 255, 0.95), rgba(255, 248, 230, 0.35) 45%, transparent 75%); border-radius: 50%; }
.fly-name .glints { display: none; }
@media (prefers-reduced-motion: reduce) { .hero-name .glints { display: none; } .hero .hero-name .hn.sweep { animation: none; background-image: url(../images/mosaic/ink-letters.webp); } }

/* ---------- About: "I ___" (her pick C, Nov 30) in place of the six stats ----------
   Six verbs (garnet: they're buttons), the line in the serif with the stat number in ink, a garnet "see ... →" link
   to the same card the old stat jumped to, and six small round dots for where it is. Turns slowly on its own. */
.i-say { margin-top: clamp(24px, 2.6vw, 36px); }
.i-verbs { display: flex; flex-wrap: wrap; gap: 4px 6px; margin: 0 0 0 -0.4em; }
.i-v { padding: 3px 0.4em 4px; border: 0; border-radius: 4px; background: transparent; color: var(--acc); font: 600 16.5px/1.3 var(--sans); cursor: pointer; transition: background-color 0.25s ease, color 0.25s ease; }
.i-v:hover, .i-v:focus-visible { background: color-mix(in srgb, var(--acc) 9%, transparent); }
.i-v[aria-pressed="true"] { color: var(--ink); background: color-mix(in srgb, var(--acc) 11%, transparent); }
.i-v:focus-visible { outline: 2px solid var(--acc); outline-offset: 2px; }
.i-line { margin: clamp(12px, 1.4vw, 18px) 0 0; min-height: 2.2em; font-family: var(--serif); font-size: clamp(32px, 3.1vw, 48px); line-height: 1.06; color: var(--ink); letter-spacing: -0.01em; }
.i-line b { font-weight: 400; }
.i-see { margin: 10px 0 0; font-size: 16.5px; font-weight: 600; }
.i-see a { color: var(--acc); text-decoration: none; }
.i-dots { display: flex; gap: 7px; margin-top: 16px; }
.i-dots i { width: 6px; height: 6px; border-radius: 50%; background: color-mix(in srgb, var(--ink) 18%, transparent); transition: background-color 0.3s ease, transform 0.3s ease; }
.i-dots i.on { background: var(--ink); transform: scale(1.15); }
.motion .i-line.swap, .motion .i-see.swap { animation: i-swap 0.55s var(--e-out); }
@keyframes i-swap { from { opacity: 0; translate: 0 8px; } }
@media (max-width: 640px) { .i-line { font-size: 30px; min-height: 3.2em; } .i-v { font-size: 15.5px; } }

/* ---------- Photo and video sets: one clear control everywhere (Nov 30, her words: "i get confused on when things
   are going to change ... there also needs to be some way to change through things") ----------
   A small frosted row of dots at the bottom: the current one is a garnet pill that fills while it waits. Round
   arrows at the edges on hover and focus (always, smaller, on touch). A small expand mark in the corner says a photo
   opens large. Script: "Photo and video sets" in features/design.js. No lines. */
.flow, .mix { position: relative; }
.flow-dots, .mix-dots { display: none !important; }
.sn { position: absolute; inset: 0; z-index: 5; pointer-events: none; }
.sn-dots { position: absolute; left: 50%; bottom: 10px; translate: -50% 0; display: flex; align-items: center; gap: 1px; padding: 2px 5px; border-radius: 999px; background: rgba(250, 247, 240, 0.86); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); box-shadow: 0 1px 4px rgba(0, 0, 0, 0.16); pointer-events: auto; transition: opacity 0.3s ease; }
.sn-dot { position: relative; display: grid; place-items: center; width: 18px; height: 18px; padding: 0; border: 0; background: none; cursor: pointer; transition: width 0.3s var(--e-out); }
.sn-dot::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: rgba(26, 24, 22, 0.3); transition: width 0.3s var(--e-out), background-color 0.3s ease; }
.sn-dot:hover::before { background: rgba(26, 24, 22, 0.55); }
.sn-dot.on { width: 30px; }
.sn-dot.on::before { width: 22px; border-radius: 3px; background: color-mix(in srgb, var(--acc) 26%, transparent); }
.sn-fill { position: absolute; left: 4px; top: 50%; width: 22px; height: 6px; margin-top: -3px; border-radius: 3px; background: var(--acc); transform-origin: left center; transform: scaleX(0); transition: transform 0.14s linear; pointer-events: none; }
.sn-dot:not(.on) .sn-fill { opacity: 0; }
.sn-dot.is-video::before { width: 0; height: 0; border-radius: 0; background: none; border-left: 7px solid rgba(26, 24, 22, 0.45); border-top: 4.5px solid transparent; border-bottom: 4.5px solid transparent; }
.sn-dot.is-video.on::before { border-left-color: var(--acc); }
.sn-dot.is-video .sn-fill { display: none; }
.sn-dot:focus-visible { outline: 2px solid var(--acc); outline-offset: -2px; border-radius: 6px; }
.sn-arrow { position: absolute; top: 50%; translate: 0 -50%; display: grid; place-items: center; width: 34px; height: 34px; padding: 0; border: 0; border-radius: 50%; background: rgba(250, 247, 240, 0.9); color: var(--acc); box-shadow: 0 1px 4px rgba(0, 0, 0, 0.18); cursor: pointer; pointer-events: auto; opacity: 0; transition: opacity 0.25s ease, scale 0.25s var(--e-out); }
.sn-arrow svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.sn-prev { left: 8px; } .sn-next { right: 8px; }
.sn-arrow:hover { scale: 1.08; }
.sn-arrow:focus-visible { opacity: 1; outline: 2px solid var(--acc); outline-offset: 2px; }
.flow:hover > .sn .sn-arrow, .flow:focus-within > .sn .sn-arrow, .mix:hover > .sn .sn-arrow, .mix:focus-within > .sn .sn-arrow { opacity: 1; }
@media (hover: none) { .sn-arrow { width: 28px; height: 28px; opacity: 0.9; } .sn-arrow svg { width: 15px; height: 15px; } }
.mix.playing > .sn { opacity: 0; pointer-events: none; }
.mix.playing > .sn * { pointer-events: none; }
/* the expand mark: a photo opens large */
.sn-open { position: absolute; top: 8px; right: 8px; z-index: 5; width: 30px; height: 30px; border-radius: 50%; pointer-events: none; opacity: 0; transition: opacity 0.25s ease;
  background: rgba(250, 247, 240, 0.9) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231A1816' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 4h6v6M20 4l-7 7M10 20H4v-6M4 20l7-7'/%3E%3C/svg%3E") center / 14px no-repeat; box-shadow: 0 1px 4px rgba(0, 0, 0, 0.16); }
@media (hover: hover) { .flow:hover > .sn-open, .flow:focus-visible > .sn-open { opacity: 1; } }
[data-theme="dark"] .sn-dots, [data-theme="dark"] .sn-arrow { background: rgba(26, 24, 22, 0.78); }
[data-theme="dark"] .sn-dot::before { background: rgba(244, 239, 230, 0.35); }
[data-theme="dark"] .sn-dot:hover::before { background: rgba(244, 239, 230, 0.6); }
[data-theme="dark"] .sn-dot.is-video::before { background: none; border-left-color: rgba(244, 239, 230, 0.5); }
/* phones: smaller, so a set in a narrow photo slot still fits */
@media (max-width: 640px) {
  .sn-dots { bottom: 6px; padding: 1px 3px; }
  .sn-dot { width: 13px; height: 15px; } .sn-dot::before { width: 5px; height: 5px; }
  .sn-dot.on { width: 22px; } .sn-dot.on::before { width: 15px; } .sn-fill { left: 3.5px; width: 15px; height: 5px; margin-top: -2.5px; }
  .sn-prev { left: 4px; } .sn-next { right: 4px; }
}
/* videos read as videos at rest: the corner play mark plus its length beside it */
.vp-cover .vp-dur { left: 46px; right: auto; bottom: 14px; padding: 2px 8px 3px; border-radius: 999px; background: rgba(20, 18, 16, 0.55); font-size: 12.5px; opacity: 1; }
.vp:hover .vp-cover .vp-dur { opacity: 1; }
.mix .vp-cover .vp-dur { bottom: 15px; }   /* beside the corner mark, as in every other video (video.css lifted it above the old dots) */

/* ---------- Video titles on hover (Dec 1) ----------
   Her ask: "ensure that when i hover over piano vids i can see titles". At rest a video is still just its picture.
   Pointing at it (or Tab) brings its title in at the bottom left, over a soft dark fade so it reads on any frame,
   while the small corner play mark steps aside. Built players get the title from data-label (script.js). */
.vp-title { display: block; z-index: 2; color: #FCFAF6; opacity: 0; translate: 0 4px; pointer-events: none; transition: opacity 0.3s ease, translate 0.35s var(--e-out); }
.vp-cover::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; height: 58%; background: linear-gradient(to top, rgba(14, 13, 12, 0.66), rgba(14, 13, 12, 0)); opacity: 0; pointer-events: none; transition: opacity 0.3s ease; }
.vp:hover .vp-title, .vp-cover:focus-visible .vp-title { opacity: 1; translate: 0 0; }
.vp:hover .vp-cover::before, .vp-cover:focus-visible::before { opacity: 1; }
.vp-cover .vp-title { left: 14px; right: 14px; bottom: 44px; }
.vp-cover .vp-dur { transition: opacity 0.3s ease, left 0.3s ease; }
.vp:hover .vp-cover .vp-dur, .vp-cover:focus-visible .vp-dur { left: 12px; }   /* the length slides into the corner mark's place, under the title */
@media (prefers-reduced-motion: reduce) { .vp-title { translate: none; transition: opacity 0.2s ease; } }
.post .vp-title, .post .vp-cover::before { display: none; }
