@font-face { font-family: Anton; src: url(/assets/fonts/anton.woff2) format("woff2"); font-weight: 400; font-display: swap; }
:root { --bg:#0b0b0b; --panel:#161616; --line:#2c2c2c; --yel:#ffd400; --red:#ff3b30; --txt:#f2f2f2; --mute:#a8a8a8; }
* { box-sizing: border-box; margin: 0; padding: 0; }
body { background: var(--bg); color: var(--txt); font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; line-height: 1.4; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--yel); outline-offset: 2px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 8px; top: -100px; background: var(--yel); color: var(--bg); padding: 8px 12px; z-index: 10; }
.skip:focus { top: 8px; }
.stripes { height: 14px; background: repeating-linear-gradient(-45deg, var(--yel) 0 11px, var(--bg) 11px 22px); }

.nav { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: .9rem; }
.nav nav { display: flex; flex-wrap: wrap; gap: 4px 18px; color: var(--mute); }
.nav nav a { text-decoration: none; padding: 4px 0; }
.nav nav a:hover { color: var(--txt); text-decoration: underline; }
.brand { font-family: Anton, Impact, sans-serif; text-transform: uppercase; font-size: 1.25rem; margin-right: auto; text-decoration: none; }
.brand span { color: var(--yel); }

.hero { padding: 28px 16px 8px; max-width: 1200px; margin: 0 auto; }
h1 { font-family: Anton, Impact, sans-serif; font-weight: 400; text-transform: uppercase; font-size: clamp(2rem, 6vw, 3.4rem); line-height: 1.05; }
h1 span { color: var(--yel); }
.tag { color: var(--mute); margin-top: 8px; }

/* Phones: only the search row sticks; .tools dissolves so .search sticks against <main>. */
.tools { display: contents; }
.no-js .tools { display: none; }
.search { display: block; position: sticky; top: 0; z-index: 5; padding: 10px 16px; background: var(--bg); border-bottom: 1px solid var(--line); }
.filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; padding: 12px 16px; border-bottom: 1px solid var(--line); }
@media (min-width: 640px) {
  .tools { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; position: sticky; top: 0; z-index: 5; padding: 14px 16px; background: var(--bg); border-bottom: 1px solid var(--line); }
  .search { position: static; flex: 1 1 240px; padding: 0; border: 0; }
  .filters { display: contents; }
}
input, select { width: 100%; background: var(--panel); border: 1px solid #666; border-radius: 8px; padding: 10px 12px; color: var(--txt); font: inherit; font-size: .95rem; }
select { width: auto; padding: 8px 12px; font-size: .85rem; }
.grp { display: flex; gap: 6px; }
.f { background: transparent; color: var(--txt); border: 1px solid #777; border-radius: 999px; padding: 6px 13px; font: inherit; font-size: .82rem; font-weight: 600; cursor: pointer; }
.f[aria-pressed="true"] { background: var(--yel); border-color: var(--yel); color: var(--bg); }

.count { max-width: 1200px; margin: 0 auto; padding: 12px 16px 0; color: var(--mute); font-size: .85rem; }
.grid { max-width: 1200px; margin: 0 auto; padding: 14px 16px 28px; list-style: none; display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.card[hidden] { display: none; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.card a { scroll-margin-top: 80px; display: block; text-decoration: none; height: 100%; }
.card a:hover { border-color: var(--yel); background: #1d1d1d; }
.ph { display: block; position: relative; aspect-ratio: 4 / 5; background: #262626; }
.ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rec { position: absolute; top: 7px; left: 7px; display: flex; align-items: center; gap: 5px; background: rgba(0,0,0,.75); border-radius: 999px; padding: 2px 8px; font-size: .7rem; font-weight: 700; }
.rec i { width: 7px; height: 7px; border-radius: 50%; background: var(--red); }
.cb { display: block; padding: 9px 10px 11px; }
.nm { display: block; font-weight: 700; font-size: .92rem; }
.st { display: block; color: var(--mute); font-size: .78rem; margin-top: 2px; }
.chips { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 7px; }
.chip { border: 1px solid #777; border-radius: 999px; padding: 0 8px; font-size: .7rem; font-weight: 600; }

footer { text-align: center; color: var(--mute); font-size: .8rem; padding: 20px 16px; }
@media (min-width: 640px) { .card a { scroll-margin-top: 150px; } } /* clear the sticky toolbar */
@media (min-width: 700px) { .nav, .tools { padding-left: max(16px, calc(50% - 584px)); padding-right: max(16px, calc(50% - 584px)); } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }

/* Profile, lists, about, 404 */
.sec, .profile, .prose, .note, .statelist { max-width: 1200px; margin-left: auto; margin-right: auto; padding-left: 16px; padding-right: 16px; }
h2 { font-family: Anton, Impact, sans-serif; font-weight: 400; text-transform: uppercase; font-size: 1.3rem; letter-spacing: .02em; margin: 26px 0 10px; }
.sec { margin-top: 12px; }
.hero a:not(.btn) { color: var(--yel); }
.note { color: var(--mute); padding-top: 12px; }
.profile, .prose { max-width: 760px; padding-top: 22px; padding-bottom: 36px; }
.head { display: flex; gap: 14px; align-items: flex-start; }
.photo { flex: none; width: 96px; aspect-ratio: 4 / 5; background: #262626; border-radius: 6px; overflow: hidden; }
.photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.role, .served { color: var(--mute); margin-top: 6px; }
.head .chips { margin-top: 10px; }
.chip { color: var(--txt); }
.facts { display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; font-size: .92rem; }
.facts dt { color: var(--mute); }
.facts a, .prose a:not(.btn) { color: var(--yel); }
.links { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 0; }
.links li + li::before { content: "\00b7"; margin: 0 8px; color: var(--mute); }
.com, .com ul { list-style: none; font-size: .92rem; }
.com li { padding: 6px 0; border-bottom: 1px solid var(--line); }
.com li li { border: 0; padding: 2px 0 2px 16px; color: var(--mute); }
.lead { color: var(--yel); font-size: .72rem; font-weight: 700; text-transform: uppercase; margin-left: 6px; }
h2.clips::before { content: ""; display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--red); margin-right: 8px; vertical-align: middle; }
.empty { border: 1px dashed #666; border-radius: 8px; padding: 20px 16px; text-align: center; color: var(--mute); }
.empty strong { display: block; color: var(--txt); margin-bottom: 6px; }
.btn { display: inline-block; margin-top: 12px; background: var(--yel); color: var(--bg); font-weight: 700; text-decoration: none; padding: 10px 18px; border-radius: 8px; }
.btn:hover { background: #fff; }
.btn:focus-visible { outline: 3px solid var(--txt); outline-offset: 3px; }
.prose p { margin-top: 10px; line-height: 1.55; }
.statelist { list-style: none; padding-top: 14px; padding-bottom: 28px; display: grid; gap: 4px 24px; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.statelist li { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.statelist span { color: var(--mute); font-size: .85rem; }
.lost { padding-bottom: 60px; }
@media (min-width: 600px) { .photo { width: 160px; } }

/* Clips */
.clip { padding: 18px 0; border-bottom: 1px solid var(--line); }
.clip[hidden] { display: none; }
.clip h3 { font-size: 1.1rem; line-height: 1.35; font-weight: 600; overflow-wrap: anywhere; }
.clip .meta, .clip .src, .clip .who { color: var(--mute); font-size: .85rem; margin-top: 6px; overflow-wrap: anywhere; }
.clip .src a, .clip .who a { color: var(--yel); }
.clip .chips { margin: 8px 0 12px; }
.chip.topic { border-color: var(--yel); color: var(--yel); }
.yt { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; background: #161616; border: 1px solid #333; border-radius: 8px; overflow: hidden; }
iframe.yt { border: 0; }
.play { position: absolute; top: 50%; left: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; background: var(--yel); transition: transform .15s; }
.play::after { content: ""; position: absolute; top: 20px; left: 25px; border: 12px solid transparent; border-left: 20px solid var(--bg); border-right: 0; }
a.yt:hover .play { transform: scale(1.08); }
a.yt:focus-visible { outline: 3px solid var(--yel); outline-offset: 3px; }
.topics { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.no-js .topics { display: none; }
.cliplist .count { padding-left: 0; padding-right: 0; }
.cliplist .empty { margin-top: 14px; }
.cliplist .clip { max-width: 760px; }
iframe.yt:focus-visible { outline: 3px solid var(--yel); outline-offset: 3px; }
