:root {
  color-scheme: dark;
  --ink: #10131c;
  --card: #1a202d;
  --line: #393d4b;
  --text: #fff4ea;
  --muted: #c1c2cc;
  --peach: #ffad89;
  --display: Impact, "Arial Narrow", sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--ink); color: var(--text); font: 1rem/1.55 system-ui, sans-serif; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
a:focus-visible, button:focus-visible, video:focus-visible { outline: 2px solid var(--peach); outline-offset: 4px; }
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
.shell { width: min(73rem, calc(100% - 3rem)); margin-inline: auto; }
.skip { position: absolute; z-index: 3; top: .75rem; left: .75rem; padding: .6rem; background: var(--ink); translate: 0 -200%; }
.skip:focus { translate: 0; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.header { border-bottom: 1px solid var(--line); background: #0c0f16; }
.header-inner, nav, .brand, .actions, .credits { display: flex; align-items: center; flex-wrap: wrap; }
.header-inner { justify-content: space-between; min-height: 5rem; gap: .6rem 1.5rem; padding-block: .6rem; }
nav { gap: .45rem clamp(.75rem, 2vw, 1.65rem); }
nav a { color: var(--muted); }
nav a:hover { color: var(--peach); }
.brand { gap: .65rem; font-weight: 850; line-height: 1.05; letter-spacing: .05em; text-transform: uppercase; }
.brand img { width: 3rem; height: 3rem; object-fit: contain; }
.nav-join { padding: .45rem .8rem; border: 1px solid var(--line); border-radius: .35rem; color: var(--text); }
.hero { position: relative; isolation: isolate; border-bottom: 1px solid var(--line); background: #141925; }
.hero-media { position: absolute; inset: 0; z-index: -1; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 56%; }
.hero-media::after { position: absolute; inset: 0; content: ""; background: linear-gradient(90deg, #0e111cf5, #0e111cb8 42%, #0e111c1a 90%), linear-gradient(0deg, #10131c, transparent 42%); }
.hero-content { padding-block: clamp(4rem, 9vw, 8rem) clamp(3rem, 6vw, 5rem); }
.kicker { color: var(--peach); font-size: .82rem; font-weight: 750; letter-spacing: .15em; text-transform: uppercase; margin: 0 0 1rem; }
h1 { font: 400 clamp(3rem, 8.4vw, 7.6rem)/.94 var(--display); text-transform: uppercase; margin: 0; letter-spacing: .012em; }
.hero-lead { max-width: 36ch; color: #e0dee3; margin: 1.4rem 0; }
.actions { gap: .65rem; }
.button, .media-toolbar button { display: inline-flex; align-items: center; gap: .6rem; padding: .68rem 1rem; border: 1px solid var(--peach); border-radius: .35rem; font-weight: 750; color: var(--peach); background: #0e111c; cursor: pointer; }
.button.primary, .media-toolbar button[aria-pressed="true"] { background: var(--peach); color: #151019; }
.button:hover, .media-toolbar button:hover { background: #ffc6ac; color: #151019; }
.media-toolbar { display: flex; flex-wrap: wrap; gap: .5rem; padding-bottom: 1.1rem; }
.media-toolbar button { font-size: .88rem; padding: .35rem .68rem; }
.hero.video-mode .hero-media { position: relative; z-index: auto; width: min(73rem, calc(100% - 3rem)); margin-inline: auto; padding-top: 1.5rem; }
.hero.video-mode .hero-media::after { display: none; }
.hero video { display: block; width: 100%; max-height: 65vh; background: #080a0f; }
.hero.video-mode .hero-content { padding-block: 2rem; }
.hero.video-mode h1 { font-size: clamp(2.8rem, 6vw, 5rem); }
.directory, .essentials { padding-block: 2.6rem 0; }
.section-heading { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.section-heading::after { content: ""; width: clamp(2rem, 7vw, 6rem); height: 1px; background: var(--peach); }
h2 { font-size: clamp(1.55rem, 4vw, 2.18rem); line-height: 1.15; margin: 0; }
.department-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .65rem; }
.department-list a { display: grid; grid-template-columns: minmax(5rem, 12rem) 1fr auto; align-items: center; gap: clamp(.7rem, 2vw, 1.3rem); min-height: 5.6rem; border: 1px solid var(--line); border-radius: .5rem; background: var(--card); overflow: hidden; }
.department-list img { width: 100%; height: 100%; max-height: 6.8rem; object-fit: cover; }
.department-list li:nth-child(2) img { object-fit: contain; background: #100e10; }
.department-list strong, .resource-grid strong { display: block; font-size: 1.13rem; }
.department-list small, .resource-grid span, .footer p { color: var(--muted); }
.arrow { color: var(--peach); margin-right: .9rem; }
.department-list a:hover, .resource-grid a:hover { border-color: var(--peach); }
.essentials { padding-bottom: 3rem; }
.resource-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .65rem; }
.resource-grid a { padding: 1.15rem; border: 1px solid var(--line); border-radius: .5rem; background: var(--card); }
.footer { border-top: 1px solid var(--line); background: #0c0f16; padding: 1.5rem 0; font-size: .88rem; }
.credits { gap: .25rem 1rem; color: var(--peach); }
.footer p { margin: .6rem 0 0; }
.detail { padding-block: clamp(3rem, 8vw, 6rem); }
.detail h1 { margin: .5rem 0 1rem; font-size: clamp(2.6rem, 6vw, 5.5rem); }
.detail p, .detail li { max-width: 65ch; }
.detail .actions { margin-top: 1.4rem; }
.detail-art { width: min(19rem, 100%); height: auto; border-radius: .5rem; margin: 1rem 0; }
@media (max-width: 42rem) {
  .shell { width: calc(100% - 2rem); }
  .resource-grid { grid-template-columns: 1fr; }
  .hero-media::after { background: linear-gradient(90deg, #0e111ce6, #0e111c60), linear-gradient(0deg, #10131c, transparent 55%); }
  .hero-media img { object-position: 62% center; }
  .hero.video-mode .hero-media { width: calc(100% - 2rem); }
  .department-list a { grid-template-columns: minmax(3.8rem, 25%) 1fr auto; }
}
