@font-face {
  font-family: Barlow;
  src: url('/assets/fonts/barlow-condensed.woff2') format('woff2');
  font-weight: 900;
  font-display: swap;
}
@font-face {
  font-family: Space;
  src: url('/assets/fonts/space-grotesk.woff2') format('woff2');
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: Plex;
  src: url('/assets/fonts/ibm-plex-mono.woff2') format('woff2');
  font-weight: 500;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --ink: #100b18;
  --panel: #1b1025;
  --white: #fbefef;
  --muted: #c8b5c9;
  --pink: #ff86af;
  --acid: #e2fb80;
  --line: #49354b;
  --mono: Plex, monospace;
  --display: Barlow, Impact, 'Arial Narrow', sans-serif;
  font-family: Space, system-ui, sans-serif;
  background: var(--ink);
  color: var(--white);
  font-synthesis: none;
}
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; }
html { overflow-x: clip; scrollbar-width: none; }
html::-webkit-scrollbar { display: none; }
body {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  padding-top: env(safe-area-inset-top);
}
main { display: flex; flex: 1; flex-direction: column; min-width: 0; }
body::before {
  content: '';
  position: fixed;
  pointer-events: none;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse at 76% 33%, #321330 0%, transparent 57%),
    radial-gradient(#fa9bdd27 .7px, transparent .85px) 0 0 / 7px 7px;
}
h1, h2, p, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
img { display: block; width: 100%; height: auto; }
a { color: inherit; }
a:focus-visible { outline: 3px solid var(--acid); outline-offset: 5px; }
.wrap { width: min(calc(100% - max(clamp(32px, 7.78vw, 112px), env(safe-area-inset-left) + env(safe-area-inset-right) + 20px)), 1392px); margin-inline: auto; }
.skip { position: fixed; top: 10px; left: 10px; z-index: 3; padding: 10px; color: var(--ink); background: var(--acid); transform: translateY(-160%); }
.skip:focus { transform: none; }

.mast {
  min-height: clamp(48px, 7.8dvh, 74px);
  display: flex;
  justify-content: space-between;
  gap: .7rem;
  align-items: center;
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: 12px; justify-self: start; font-weight: 700; font-size: 1.17rem; letter-spacing: -.055em; text-decoration: none; }
.brand-accent { color: var(--pink); }
.sigil {
  width: 1.44em;
  height: 1.44em;
  flex: none;
  display: inline-block;
  vertical-align: middle;
  background: currentColor;
  clip-path: polygon(50% 0%, 58% 35%, 86% 14%, 68% 42%, 100% 50%, 68% 58%, 86% 86%, 58% 65%, 50% 100%, 42% 65%, 14% 86%, 32% 58%, 0 50%, 32% 42%, 14% 14%, 42% 35%);
}
.brand .sigil { color: var(--acid); }
.mast-dm {
  font: 500 .78rem/1.2 var(--mono);
  letter-spacing: .06em;
  text-transform: uppercase;
  text-decoration: none;
}
.mast-dm { white-space: nowrap; color: var(--acid); padding: 11px 15px; border: 1px solid #81924d; }
.mast-dm:hover { background: var(--acid); color: var(--ink); }

.hero {
  display: grid;
  grid-template-columns: minmax(0, .93fr) minmax(0, 1.07fr);
  align-items: center;
  gap: clamp(22px, 3.2vw, 60px);
  flex: 1;
  padding-block: clamp(12px, 2.35dvh, 32px);
}
.hero-copy { position: relative; isolation: isolate; }
.kicker { color: var(--pink); font: 500 .79rem/1 var(--mono); letter-spacing: .19em; margin-bottom: clamp(9px, 1.8dvh, 20px); }
.live-dot { display: inline-block; width: .58em; height: .58em; vertical-align: .08em; background: currentColor; border-radius: 50%; box-shadow: 0 0 13px currentColor; margin-right: .35em; }
h1 {
  color: var(--acid);
  font: 900 clamp(36px, min(10.15vw, 15dvh), 158px)/.79 var(--display);
  letter-spacing: -.037em;
  margin-left: -.043em;
  text-transform: uppercase;
}
h1 > span { display: block; width: max-content; }
.title-pink { position: relative; color: var(--pink); text-shadow: .032em .039em #662b52; }
.hero-description { color: var(--muted); font-size: clamp(1rem, 1.45vw, 1.23rem); line-height: 1.52; margin-top: clamp(8px, 2.1dvh, 22px); }
.hero-description strong { color: var(--white); font-weight: 700; }
.hero-description a { text-underline-offset: .22em; text-decoration-color: var(--pink); }
.hero-description a:hover { color: var(--pink); }
.hero-actions { margin-top: clamp(9px, 2.5dvh, 26px); }
.action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: .64rem .85rem;
  min-height: clamp(38px, 6dvh, 52px);
  background: var(--acid);
  color: var(--ink);
  font-weight: 700;
  line-height: 1.15;
  text-decoration: none;
  box-shadow: 4px 4px 0 #718243;
}
.action .sigil { width: 1.05em; height: 1.05em; }
.action:hover { background: #f1ffc2; transform: translateY(-2px); }
.action:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 #718243; }
.scanner-space {
  container-type: inline-size;
  min-width: 0;
}
.scanner {
  --bar-height: clamp(38px, 5.5dvh, 47px);
  --edge: #68475f;
  position: relative;
  min-width: 0;
  padding: 1px;
  background: var(--edge);
  clip-path: polygon(18px 0,100% 0,100% calc(100% - 18px),calc(100% - 18px) 100%,0 100%,0 18px);
  isolation: isolate;
}
.scanner-top, .scanner-readout {
  height: var(--bar-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-inline: 17px;
  background: #1c1027;
  font: 500 .72rem/1.35 var(--mono);
  letter-spacing: .07em;
  text-transform: uppercase;
}
.scanner-top > span:first-child { display: inline-flex; align-items: center; gap: .65em; color: var(--pink); }
.scanner-top > span:last-child { color: var(--acid); white-space: nowrap; }
.scanner-screen {
  position: relative;
  height: min(70.4cqw, clamp(150px, 39dvh, 485px));
  container-type: size;
  overflow: hidden;
  border-block: 1px solid var(--edge);
  background:
    radial-gradient(ellipse at 58% 95%, #5c174b55, transparent 70%),
    repeating-linear-gradient(0deg, transparent 0 2px, #ed74c90e 3px 4px),
    radial-gradient(ellipse at 50% 48%, #2e183d, #160b23 75%);
}
.rings, canvas, .blips { position: absolute; inset: 0; width: 100%; height: 100%; }
.rings {
  opacity: .65;
  background: radial-gradient(ellipse at 50% 48%, transparent 0 21%, #f67ba82e 21.2% 21.5%, transparent 21.7% 37%, #f67ba82e 37.2% 37.5%, transparent 37.7% 56%, #f67ba82e 56.2% 56.5%, transparent 56.7%);
}
.rings.is-painted { opacity: .16; }
canvas { pointer-events: none; }
.blip {
  --size: min(18.75cqmin, 103px);
  --blip-color: var(--pink);
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: var(--size);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
}
.blip--original { --size: min(43.5cqmin, 215px); --blip-color: var(--acid); z-index: 1; }
.blip-link {
  display: block;
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px solid var(--blip-color);
  padding: clamp(1px, .6cqmin, 3px);
  background: #2c1738;
  box-shadow: 0 0 22px color-mix(in srgb, var(--blip-color), transparent 70%);
}
.blip-link::after {
  content: '';
  pointer-events: none;
  position: absolute;
  inset: clamp(-7px, -1.45cqmin, -3px);
  border: 1px solid color-mix(in srgb, var(--blip-color), transparent 52%);
  border-radius: inherit;
}
.blip-link img {
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}
.blip-link:hover, .blip-link:focus-visible { transform: scale(1.11); }
.blip-link[aria-current="true"] { border-color: var(--acid); }
.blip:not(.blip--original) .blip-link[aria-current="true"]::before {
  content: '';
  position: absolute;
  top: 4%;
  right: 4%;
  width: .52rem;
  aspect-ratio: 1;
  z-index: 1;
  background: var(--pink);
  border-radius: 50%;
  box-shadow: 0 0 9px var(--pink);
}
.blip:focus-within, .blip:hover { z-index: 2; }
.blip-label {
  position: absolute;
  pointer-events: none;
  left: 50%;
  bottom: -3px;
  transform: translateX(-50%);
  padding: .3em .65em;
  background: var(--acid);
  color: var(--ink);
  font: 500 clamp(.45rem, 2.45cqmin, .72rem)/1.1 var(--mono);
  letter-spacing: .10em;
}
.readout-person { display: flex; flex-wrap: wrap; align-items: center; gap: 5px .8em; color: var(--white); }
#readout-role { color: var(--acid); }
#readout-handle { text-transform: none; letter-spacing: 0; white-space: nowrap; text-underline-offset: .24em; text-decoration-color: #9c648a; }
#readout-handle:hover { color: var(--pink); }
.seek-button:not([hidden]) { display: inline-flex; }
.seek-button {
  align-items: center;
  gap: .45rem;
  flex: none;
  min-height: 34px;
  margin-block: 4px 5px;
  padding: .4rem .75rem;
  border: 1px solid var(--acid);
  border-radius: 999px;
  background: color-mix(in srgb, var(--acid) 8%, transparent);
  color: var(--acid);
  box-shadow: 0 2px 0 var(--acid);
  font: 500 .72rem/1 var(--mono);
  letter-spacing: .13em;
  text-transform: uppercase;
  cursor: pointer;
}
.seek-button::before {
  content: '';
  width: .44rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--pink);
  box-shadow: 0 0 8px var(--pink);
}
.seek-button:hover {
  border-color: var(--pink);
  background: color-mix(in srgb, var(--pink) 14%, transparent);
  box-shadow: 0 2px 0 var(--pink), 0 0 12px color-mix(in srgb, var(--acid) 35%, transparent);
}
.seek-button:focus-visible { outline: 2px solid var(--pink); outline-offset: 3px; }

.roster {
  --paper: #ff97ba;
  background: radial-gradient(#5c274516 .7px, transparent .9px) 0 0 / 7px 7px var(--paper);
  color: var(--ink);
  padding-block: clamp(10px, 1.45dvh, 20px) max(clamp(12px, 1.7dvh, 25px), env(safe-area-inset-bottom));
  border-top: 4px solid #fbb7cc;
}
.roster > .wrap {
  display: grid;
  gap: clamp(.42rem, 1.2dvh, .82rem);
}
.roster-heading { display: flex; align-items: end; justify-content: space-between; gap: 10px 18px; }
.roster-heading h2 { font: 900 clamp(2rem, min(6.1vw, 7.4dvh), 5.35rem)/.85 var(--display); letter-spacing: -.026em; }
.roster-heading h2 span { color: #7c264a; }
.roster-heading a { display: none; font: 500 .72rem/1.3 var(--mono); text-underline-offset: .3em; padding-block: 5px; }
.roster-heading a:hover { color: #69153d; }
.roster :focus-visible { outline-color: var(--ink); }
.contact-sheet {
  display: grid;
  grid-template-columns: repeat(var(--count), minmax(0, 1fr));
  grid-auto-rows: clamp(104px, 19.7dvh, 218px);
  min-height: 0;
  gap: 3px;
  padding: 5px;
  background: var(--ink);
  border-top: 6px dotted var(--paper);
  border-bottom: 6px dotted var(--paper);
}
.slot { min-width: 0; min-height: 0; }
.person-link { display: grid; grid-template-rows: minmax(0, 1fr) auto; height: 100%; color: var(--white); background: #24172a; text-decoration: none; }
.person-link:focus-visible { outline-color: var(--acid); outline-offset: -4px; }
.slot-picture { overflow: hidden; position: relative; min-height: 0; background: #49334c; }
.slot-picture::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 0 22px #170a2675;
  background: linear-gradient(145deg, #ff7baa39, transparent 73%);
}
.slot-picture img { height: 100%; object-fit: cover; object-position: 50% 39%; }
.slot-caption { display: grid; justify-items: start; gap: 1px; padding: .38rem clamp(.3rem, .66vw, .65rem); }
.slot-caption strong { max-width: 100%; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: clamp(.86rem, 1.23vw, 1.12rem); line-height: 1.04; }
.slot-role, .slot-handle { font: 500 clamp(.61rem, .83vw, .76rem)/1.23 var(--mono); }
.slot-role { color: var(--pink); text-transform: uppercase; letter-spacing: .08em; }
.slot-handle { color: var(--muted); overflow-wrap: anywhere; }
.slot--original .slot-caption { background: var(--acid); color: var(--ink); }
.slot--original :is(.slot-role, .slot-handle) { color: #3a4630; }
.slot--original .person-link:focus-visible { outline-color: var(--white); }
.person-link:hover .slot-picture img, .person-link:focus-visible .slot-picture img { transform: scale(1.09); }
.person-link:hover .slot-handle { text-decoration: underline; text-underline-offset: 3px; }


@media (prefers-reduced-motion: no-preference) {
  .action, .blip-link, .slot-picture img { transition: transform .26s cubic-bezier(.2,.75,.3,1); }
  .seek-button { transition: transform .11s ease; }
  .seek-button:active { transform: translateY(2px); box-shadow: none; }
  .scanner-screen.is-seeking .blip-link[aria-current="true"] img { animation: lock-on 160ms steps(2, end); }
  @keyframes lock-on {
    25% { transform: translateX(3px); }
    55% { transform: translateX(-3px); }
  }
}
@media (max-width: 1050px) {
  .slot-caption strong { font-size: clamp(.75rem, 1.4vw, .98rem); }
}
@media (max-width: 919px) {
  .contact-sheet { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
@media (max-width: 767px) and (orientation: portrait) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
    gap: .63rem;
    padding-block: .72rem .88rem;
  }
  h1 { font-size: clamp(41px, 13.7vw, 102px); }
  .kicker { font-size: .65rem; margin-bottom: .55rem; }
  .hero-description { font-size: .87rem; line-height: 1.42; margin-top: .6rem; }
  .hero-actions { display: none; }
  .roster-heading a { display: initial; white-space: nowrap; }
  .scanner { --bar-height: 40px; }
  .scanner-screen { height: min(70.4cqw, clamp(164px, 48vw, 295px)); }
  .contact-sheet {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: clamp(96px, 27vw, 155px);
    padding: 3px;
  }
  .slot-caption { padding: .27rem .32rem; gap: 1px; }
  .slot-caption strong { font-size: .79rem; }
}
@media (max-width: 520px) {
  .mast { min-height: 51px; }
  .mast-dm { padding: .54rem .57rem; font-size: .65rem; }
  .brand { font-size: 1rem; gap: 7px; }
  .scanner-top, .scanner-readout { padding-inline: 9px; gap: .35rem; font-size: .65rem; }
  .seek-button { margin-block: 2px 3px; padding: .35rem .49rem; font-size: .65rem; }
}
@media (max-height: 620px) and (max-width: 767px) and (orientation: portrait) {
  h1 { font-size: clamp(32px, 10.95vw, 66px); }
  h1 > span { display: inline; }
}
@media (max-height: 460px) and (orientation: landscape) {
  .hero { gap: .7rem; padding-block: .6rem; }
  .hero-description { font-size: .83rem; }
  .action { min-height: 34px; padding: .48rem .65rem; font-size: .83rem; }
  .kicker { font-size: .63rem; }
}
