@font-face {
  font-family: PV;
  src: url("/assets/Roboto-Regular.ttf") format("truetype");
  font-display: swap;
}
@font-face {
  font-family: PV;
  src: url("/assets/Roboto-Bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}
:root {
  color-scheme: dark;
  font: 16px/1.55 PV, Roboto, Arial, sans-serif;
  --ink: #0d0e11;
  --paper: #191b20;
  --line: #3a3c43;
  --text: #f4f4f5;
  --silver: #d8dadd;
  --muted: #b4b9c1;
  --red: #ad1827;
  --accent: #ff5a61;
  --gutter: clamp(1.5rem, 4.3vw, 5.25rem);
  color: var(--text);
  background: var(--ink);
}
* { box-sizing: border-box; }
body {
  min-width: 1024px;
  min-height: 100vh;
  margin: 0;
  background: linear-gradient(135deg, #18191d 0, var(--ink) 31rem);
}
a { color: inherit; }
button, select, input, textarea { font: inherit; }
button, select, summary { cursor: pointer; }
:where(button, a, input, select, summary, textarea, [tabindex="0"]):focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}
::selection { background: #8e1723; color: white; }
.skip { position: absolute; left: -10000px; }
.skip:focus {
  z-index: 20;
  top: 0.5rem;
  left: 1rem;
  padding: 0.6rem 1rem;
  background: var(--ink);
}
body > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem max(var(--gutter), calc((100vw - 1520px) / 2));
  min-height: 76px;
  border-bottom: 1px solid #37383d;
  background: linear-gradient(110deg, #212226, #141518 48%, #19191c);
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.32em;
  color: var(--silver);
  font-size: clamp(1.45rem, 2vw, 2rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.055em;
  text-decoration: none;
}
.logo img { width: 49px; height: 49px; object-fit: contain; margin-right: 0.25rem; }
.logo em { color: #ff505a; font-style: italic; }
.headlinks { display: flex; align-items: center; gap: 1rem; }
.headlinks button, .dialoghead button, .retry {
  padding: 0.55rem 1.1rem;
  color: #fff;
  background: linear-gradient(110deg, #821621, #a8202b);
  border: 1px solid #c4454d;
  border-radius: 3px;
  font-weight: 700;
}
.headlinks button:hover, .dialoghead button:hover, .retry:hover { background: #ac2633; }
.section-nav {
  position: sticky;
  z-index: 8;
  top: 0;
  display: flex;
  align-items: center;
  gap: clamp(0.4rem, 1.25vw, 1.35rem);
  padding-inline: max(var(--gutter), calc((100vw - 1520px) / 2));
  background: #131417;
  border-bottom: 1px solid #46474c;
  box-shadow: 0 4px 15px #0005;
}
.shoulder {
  flex: 0 0 auto;
  min-width: 2.65rem;
  min-height: 2rem;
  padding: 0.15rem 0.45rem;
  color: #e0e1e4;
  background: linear-gradient(#33353a, #202126);
  border: 1px solid #707278;
  border-bottom: 3px solid #585a60;
  border-radius: 0.5rem 0.5rem 0.28rem 0.28rem;
  font-size: 0.875rem;
  line-height: 1;
  font-weight: 700;
}
.shoulder:hover { color: #fff; border-color: var(--accent); }
.shoulder:active { translate: 0 1px; }
.section-tabs {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: stretch;
  gap: 0;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
  scrollbar-color: #63656b #18191c;
}
.section-tabs a {
  position: relative;
  flex: 1 0 auto;
  padding: 1rem clamp(0.55rem, 1vw, 1.1rem);
  color: var(--muted);
  border-block: 3px solid transparent;
  font-size: clamp(0.875rem, 0.85vw, 1rem);
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
}
.section-tabs a:hover { color: #fff; background: #202126; }
.section-tabs a[aria-current="page"] {
  color: white;
  border-bottom-color: #fa444f;
  background: linear-gradient(0deg, #64242d65, transparent 90%);
}
.section-tabs a:focus-visible { outline-offset: -4px; }
main { min-height: 70vh; }
#view { max-width: 1680px; margin-inline: auto; }
#view:focus, #content:focus { outline: none; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.1; }
.herobox {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  min-height: 335px;
  background:
    radial-gradient(ellipse at 78% 30%, #313138 0, transparent 50%),
    linear-gradient(112deg, #1b1c21 0, #202025 55%, #16171a 100%);
  border-bottom: 1px solid #48484d;
}
.herobox::before, .herobox::after {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: -1;
}
.herobox::before {
  inset: 0;
  background: linear-gradient(124deg, transparent 48%, #5b202936 48.1%, #98203155 70%, transparent 70.1%),
              linear-gradient(124deg, transparent 71%, #a5a5ae26 71.1%, transparent 71.25%);
}
.herobox::after {
  inset: auto 0 0;
  height: 2px;
  background: linear-gradient(90deg, #c32733 0, #f1414e 9%, #48484d 26%, transparent 72%);
}
.herobox .intro {
  z-index: 1;
  padding: clamp(2rem, 4.6vw, 5rem) var(--gutter);
}
.herobox .eyebrow, .groupname {
  color: var(--silver);
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.herobox h1 {
  margin: 0.12em 0 0.13em;
  font: italic 700 clamp(3.8rem, 6.5vw, 7.35rem)/0.98 PV, Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: -0.055em;
  text-wrap: balance;
}
.herobox .quote {
  margin: 1rem 0 0;
  max-width: 34rem;
  padding-left: 0.85rem;
  border-left: 3px solid #d52d39;
  color: var(--silver);
  font-size: clamp(1.06rem, 1.5vw, 1.45rem);
  line-height: 1.35;
}
.herobox > img {
  width: 100%;
  height: clamp(335px, 30vw, 450px);
  object-fit: contain;
  object-position: center;
  mask-image: linear-gradient(90deg, transparent, #000 13%, #000 88%, transparent);
}
.herobox.compact { min-height: 8rem; grid-template-columns: 1fr minmax(280px, 38%); }
.herobox.compact .intro { padding-block: 1.1rem; }
.herobox.compact h1 { font-size: clamp(2.5rem, 3.5vw, 4.15rem); }
.herobox.compact .quote { font-size: 1rem; margin-top: 0.55rem; }
.herobox.compact > img { height: clamp(8rem, 11vw, 10.2rem); object-fit: cover; object-position: top center; }
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .herobox > img { transform: translate(var(--pointer-x, 0px), var(--pointer-y, 0px)); }
}
.panel {
  max-width: 1320px;
  margin: 0 auto;
  padding: clamp(1.6rem, 3.15vw, 3.2rem) var(--gutter);
}
.panel h2, .dialoghead h2 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 3vw, 3rem);
  letter-spacing: -0.045em;
}
.panel h3 { margin: 2.2rem 0 1rem; font-size: 1.55rem; }
.bio { max-width: 49rem; font-size: 1.125rem; line-height: 1.65; color: #d4d5d9; }
.overview, .colors, .options { display: flex; align-items: center; flex-wrap: wrap; gap: 0.7rem; }
.overview a, .colors button, .options input, .options select {
  padding: 0.57rem 0.92rem;
  border: 1px solid #53555d;
  border-radius: 3px;
  color: var(--text);
  background: var(--paper);
}
.overview a, .colors button { font-weight: 700; text-decoration: none; }
.overview a:hover, .colors button:hover { border-color: #b0b2b8; }
.colors [aria-pressed="true"] { background: #70202a; border-color: var(--accent); color: white; }
.options { margin: 1.15rem 0 1.6rem; gap: 1.5rem; }
.options label { display: flex; align-items: center; gap: 0.65rem; }
.options input { max-width: 17rem; }
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(330px, 100%), 1fr));
  gap: 0.65rem;
}
.card {
  background: var(--paper);
  padding: 1.05rem 1.15rem;
  border: 1px solid var(--line);
}
.card summary { font-weight: 700; }
details.card[open] { border-color: #78646a; }
.card p { margin: 0.85rem 0; white-space: pre-line; }
.command {
  display: inline-block;
  padding-right: 0.5rem;
  color: var(--accent);
  font: 700 1.075rem/1.3 ui-monospace, monospace;
}
.card video { width: 100%; background: var(--ink); }
.scroll { overflow: auto; }
.scroll table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.scroll th, .scroll td {
  text-align: right;
  padding: 0.6rem 0.7rem;
  border-bottom: 1px solid #35363d;
  white-space: nowrap;
}
.scroll th { color: var(--silver); background: #202126; }
.scroll th:first-child, .scroll td:first-child { text-align: left; }
.scroll td { color: #e3e3e7; }
.scroll th small { display: block; color: var(--muted); font-weight: 400; }
.scroll th a { text-underline-offset: 0.18em; }
.move-position {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin: 1.5rem 0 0.6rem;
  color: var(--accent);
  font-size: 0.95rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.move-position::after { content: ""; flex: 1; border-top: 1px solid var(--line); }
.scroll .frame-group th {
  padding: 0.74rem;
  color: var(--accent);
  background: #231b1e;
  border-block: 1px solid var(--line);
  text-align: left;
  font-size: 0.92rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.costume {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) 1fr;
  align-items: center;
  gap: 2rem;
}
.costume img {
  max-width: 100%;
  width: 560px;
  background: linear-gradient(125deg, #24252a, #141517);
  border: 1px solid var(--line);
}
dialog {
  width: min(880px, 94vw);
  max-height: 86vh;
  padding: clamp(1.2rem, 2.2vw, 2rem);
  background: #191a1e;
  color: var(--text);
  border: 1px solid #5f626a;
  border-top: 3px solid #cb2b38;
  box-shadow: 0 1.5rem 6rem #000a;
}
dialog::backdrop { background: #050609df; }
.dialoghead { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.25rem; }
.dialoghead h2 { margin: 0; font-size: 2rem; }
.dialoghead button { padding: 0.4rem 0.8rem; font-size: 1.4rem; line-height: 1; }
#roster { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.75rem; }
#roster a {
  border: 1px solid var(--line);
  display: grid;
  color: var(--text);
  background: #24252a;
  text-decoration: none;
  font-weight: 700;
}
#roster a:hover, #roster a[aria-current] { border-color: var(--accent); }
#roster img { width: 100%; aspect-ratio: 1.28; object-fit: cover; object-position: top; }
#roster span { padding: 0.45rem 0.65rem; }
.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
  padding: 1.4rem max(var(--gutter), calc((100vw - 1520px) / 2));
  color: var(--muted);
  font-size: 0.9rem;
  background: #131417;
  border-top: 1px solid var(--line);
}
.site-footer a { color: var(--silver); text-underline-offset: 0.2em; }
