/* ==========================================================================
   Hall of Fame kiosk — styles
   Designed at a fixed 1920x1080 stage. Brand colors come from config.js
   (set as CSS variables at startup); fonts are bundled locally.
   Performance notes for BrightSign: animate only transform/opacity,
   no backdrop-filter, no large blurred shadows.
   ========================================================================== */

@font-face { font-family: "Display"; src: url("../fonts/barlow-condensed-latin-500-normal.woff2") format("woff2"); font-weight: 500; }
@font-face { font-family: "Display"; src: url("../fonts/barlow-condensed-latin-600-normal.woff2") format("woff2"); font-weight: 600; }
@font-face { font-family: "Display"; src: url("../fonts/barlow-condensed-latin-700-normal.woff2") format("woff2"); font-weight: 700; }
@font-face { font-family: "Display"; src: url("../fonts/barlow-condensed-latin-800-normal.woff2") format("woff2"); font-weight: 800; }
@font-face { font-family: "Text"; src: url("../fonts/barlow-latin-400-normal.woff2") format("woff2"); font-weight: 400; }
@font-face { font-family: "Text"; src: url("../fonts/barlow-latin-500-normal.woff2") format("woff2"); font-weight: 500; }
@font-face { font-family: "Text"; src: url("../fonts/barlow-latin-600-normal.woff2") format("woff2"); font-weight: 600; }
@font-face { font-family: "Text"; src: url("../fonts/barlow-latin-700-normal.woff2") format("woff2"); font-weight: 700; }

:root {
  --primary: #0B1C33;
  --deep: #050E1B;
  --raised: #13294A;
  --line: #25406A;
  --accent: #D9A82E;
  --accent-ink: #1A1302;
  --text: #F4F1EA;
  --muted: #A9B6CB;
  --display: "Display", "Arial Narrow", sans-serif;
  --body: "Text", Arial, sans-serif;
  --pad: 72px;
  --head-h: 104px;
  --dock-h: 120px;
  --radius: 14px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { width: 100%; height: 100%; background: #000; overflow: hidden; }
body {
  font-family: var(--body);
  color: var(--text);
  -webkit-user-select: none; user-select: none;
  -webkit-tap-highlight-color: transparent;
  -webkit-font-smoothing: antialiased;
}
/* Icons sit in a zero-line-height box so they center with the text beside them */
.i { display: inline-flex; align-items: center; justify-content: center; line-height: 0; flex: none; }
.i svg { display: block; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; touch-action: manipulation; }
img { display: block; -webkit-user-drag: none; }

#stage {
  position: absolute; left: 0; top: 0;
  width: 1920px; height: 1080px;
  transform-origin: 0 0;
  background: var(--primary);
  overflow: hidden;
  touch-action: none;           /* all gestures handled in JS */
}
#view { position: absolute; inset: 0; }

/* ---------- Screens and transitions ---------- */
.screen { position: absolute; inset: 0; will-change: transform, opacity; }
.screen.enter { animation: screenIn .32s cubic-bezier(.2,.7,.2,1) both; }
.screen.leave { animation: screenOut .22s ease-in both; pointer-events: none; }
@keyframes screenIn  { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes screenOut { from { opacity: 1; } to { opacity: 0; } }

/* Background texture: a single diagonal light band, cheap to draw */
.screen.app::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(115deg, transparent 0 58%, rgba(255,255,255,.035) 58% 72%, transparent 72%),
    radial-gradient(1200px 700px at 100% 0%, rgba(255,255,255,.05), transparent 70%);
}

/* ---------- Header (brand, not interactive) ---------- */
.head {
  position: absolute; left: 0; right: 0; top: 0; height: var(--head-h);
  display: flex; align-items: center; gap: 22px; padding: 0 var(--pad);
  border-bottom: 1px solid var(--line);
}
.head img { height: 66px; width: auto; }
.head .school { font-family: var(--display); font-weight: 600; font-size: 26px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); line-height: 1; }
.head .title  { font-family: var(--display); font-weight: 700; font-size: 38px; letter-spacing: .02em; line-height: 1.05; }
.head .crumb { margin-left: auto; font-family: var(--display); font-weight: 600; font-size: 26px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }

.main { position: absolute; left: var(--pad); right: var(--pad); top: calc(var(--head-h) + 36px); bottom: calc(var(--dock-h) + 24px); }

/* ---------- Dock (bottom navigation, inside wheelchair reach) ---------- */
#dock {
  position: absolute; left: 0; right: 0; bottom: 0; height: var(--dock-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--pad);
  background: linear-gradient(to top, rgba(0,0,0,.35), transparent);
  border-top: 1px solid var(--line);
  z-index: 20;
}
#dock { display: grid; grid-template-columns: 1fr auto 1fr; }
#dock > :first-child { justify-self: start; }
#dock > :last-child { justify-self: end; }
#dock[hidden] { display: none; }
.dock-btn {
  height: 84px; min-width: 220px; padding: 0 34px;
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  border-radius: 42px; border: 2px solid var(--line); background: var(--raised);
  font-family: var(--display); font-weight: 700; font-size: 32px; letter-spacing: .08em; text-transform: uppercase; line-height: 1;
  transition: transform .12s, background-color .12s;
}
/* Barlow Condensed caps sit slightly low in their line box; nudge text up so caps and icons share a center line */
.dock-btn > span:not(.i), .navbtn > span:not(.i), .cta > span:not(.i), .closebar > span:not(.i) { position: relative; top: -.045em; }
.dock-btn .i svg { width: 34px; height: 34px; }
.dock-btn.primary { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.dock-btn.ghost { visibility: hidden; }
.dock-credit { width: 320px; white-space: nowrap; font-size: 15px; line-height: 1.3; letter-spacing: .03em; color: var(--muted); opacity: .55; }
.pressable:active, .dock-btn:active { transform: scale(.96); }

/* ---------- Shared bits ---------- */
.kicker { font-family: var(--display); font-weight: 600; font-size: 28px; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); }
.h1 { font-family: var(--display); font-weight: 800; font-size: 88px; line-height: .95; letter-spacing: .005em; text-transform: uppercase; }
.h2 { font-family: var(--display); font-weight: 700; font-size: 54px; line-height: 1; text-transform: uppercase; }
.muted { color: var(--muted); }
.row-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; height: 88px; }
.row-head .h2 { white-space: nowrap; }

.chip {
  line-height: 1;
  height: 64px; padding: 0 26px; border-radius: 32px;
  display: inline-flex; align-items: center; gap: 10px;
  border: 2px solid var(--line); background: transparent;
  font-family: var(--display); font-weight: 600; font-size: 27px; letter-spacing: .05em; text-transform: uppercase; color: var(--text);
  white-space: nowrap;
}
.chip.on { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.chip .n { font-family: var(--body); font-size: 20px; font-weight: 600; opacity: .7; }

.pager-ctl { display: flex; align-items: center; gap: 18px; }
.round {
  width: 80px; height: 80px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  border: 2px solid var(--line); background: var(--raised);
}
.round svg { width: 36px; height: 36px; }
.round[disabled] { opacity: .3; }
.pager-ctl .count { font-family: var(--display); font-weight: 600; font-size: 30px; min-width: 110px; text-align: center; color: var(--muted); }

/* ---------- Portrait (photo or generated placeholder) ---------- */
.portrait { position: relative; overflow: hidden; background: var(--raised); }
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.portrait .ph {
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,.03) 0 2px, transparent 2px 22px),
    linear-gradient(160deg, var(--raised), var(--primary));
}
.portrait .ph .ini {
  position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%); text-align: center;
  font-family: var(--display); font-weight: 800; color: var(--accent); opacity: .9; letter-spacing: .04em; line-height: 1;
}
.portrait .ph .tag {
  position: absolute; right: 12px; top: 12px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted); opacity: .6; font-weight: 600;
}

/* Empty photo slot: studio backdrop + dashed frame + silhouette (no label by default) */
.portrait .ph.frame { background: radial-gradient(ellipse 70% 55% at 50% 38%, rgba(255,255,255,.07), transparent 70%), linear-gradient(180deg, var(--raised), var(--primary)); }
.portrait .ph > svg { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); fill: var(--line); }
.portrait .ph > svg.sil { width: 86%; height: 88%; }
.portrait .ph > svg.scene { width: 100%; height: 70%; fill: rgba(255,255,255,.09); }
.portrait .ph > svg.teamsvg { width: 92%; height: 92%; }
.portrait .ph > svg.teamsvg .row-back { opacity: .6; }
.ph-cap { position: absolute; left: 0; right: 0; bottom: 22px; text-align: center; font-size: 18px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

/* ---------- Attract loop ---------- */
.attract { background: var(--primary); }
.attract .slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.1s ease; }
.attract .slide.on { opacity: 1; }
.attract .art { position: absolute; right: 0; top: 0; width: 1040px; height: 1080px; overflow: hidden; }
.attract .art .portrait { position: absolute; inset: 0; }
.attract .slide.on .art .portrait { animation: kenburns 9s ease-out both; }
.attract .art .portrait .ph .ini { font-size: 320px; left: 30%; opacity: .5; }
.attract .art .ph > svg.sil { width: 74%; height: 84%; left: 59%; }
.attract .aquote { margin-top: 30px; max-width: 920px; padding-left: 30px; border-left: 6px solid var(--accent); font-size: 32px; line-height: 1.38; font-weight: 500; color: var(--text); }
.attract .event .name { font-size: 118px; text-wrap: balance; }
.attract .qrpanel { position: absolute; right: 190px; top: 50%; transform: translateY(-56%); background: #fff; border-radius: 28px; padding: 34px 34px 26px; text-align: center; }
.attract .qrpanel .qr { width: 420px; height: 420px; }
.attract .qrpanel .qrlbl { margin-top: 16px; font-family: var(--display); font-weight: 800; font-size: 40px; letter-spacing: .08em; text-transform: uppercase; color: #111; }
.qr svg { width: 100%; height: 100%; display: block; }
@keyframes kenburns { from { transform: scale(1.0); } to { transform: scale(1.07); } }
.attract .art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--primary) 0%, transparent 34%), linear-gradient(0deg, var(--primary) 0%, transparent 22%); }
.attract .copy { position: absolute; left: 120px; top: 318px; width: 1040px; }
.attract .copy .kicker { font-size: 34px; }
.attract .copy .name { font-family: var(--display); font-weight: 800; font-size: 150px; line-height: .9; text-transform: uppercase; margin: 20px 0 26px; }
.attract .copy .meta { font-family: var(--display); font-weight: 600; font-size: 44px; letter-spacing: .04em; text-transform: uppercase; }
.attract .copy .meta b { color: var(--accent); font-weight: 700; }
.attract .copy .honor { margin-top: 28px; font-size: 34px; line-height: 1.35; color: var(--muted); max-width: 900px; }
.attract .intro .copy { top: 318px; }
.attract .intro .meta { white-space: nowrap; }
.attract .intro .watermark { position: absolute; right: 150px; top: 50%; width: 560px; transform: translateY(-50%); opacity: .08; }
.attract .intro .name { font-size: 140px; text-wrap: balance; }
.attract .brand { position: absolute; left: 120px; top: 64px; z-index: 3; display: flex; align-items: center; gap: 26px; }
.attract .brand img { height: 124px; width: auto; }
.attract .brand .bn { font-family: var(--display); font-weight: 600; font-size: 30px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); line-height: 1.1; }
.attract .brand .bt { font-family: var(--display); font-weight: 700; font-size: 40px; line-height: 1.1; color: var(--text); }
.attract .credits { position: absolute; right: 80px; bottom: 40px; z-index: 3; font-size: 18px; letter-spacing: .04em; color: var(--muted); opacity: .8; }
/* bottom CTA */
.attract .cta {
  line-height: 1;
  position: absolute; left: 120px; bottom: 72px;
  display: inline-flex; align-items: center; gap: 22px;
  height: 104px; padding: 0 52px 0 40px; border-radius: 52px;
  background: var(--accent); color: var(--accent-ink);
  font-family: var(--display); font-weight: 800; font-size: 46px; letter-spacing: .1em; text-transform: uppercase;
  animation: pulse 2.4s ease-in-out infinite;
}
.attract .cta .i svg { width: 54px; height: 54px; }
@keyframes pulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.045); } }
.attract .dots { position: absolute; right: 80px; bottom: 116px; display: flex; gap: 14px; z-index: 2; }
.attract .dots i { width: 14px; height: 14px; border-radius: 7px; background: var(--text); opacity: .3; transition: all .4s; }
.attract .dots i.on { width: 46px; opacity: 1; background: var(--accent); }

/* ---------- Home ---------- */
.home .intro { position: absolute; left: 0; top: 30px; width: 700px; }
.home .intro .h1 { font-size: 118px; margin: 18px 0 34px; }
.home .intro p { font-size: 30px; line-height: 1.45; color: var(--muted); max-width: 620px; }
.home .stats { display: flex; gap: 46px; margin-top: 56px; }
.home .stat b { display: block; font-family: var(--display); font-weight: 800; font-size: 96px; line-height: .9; color: var(--accent); }
.home .stat span { font-family: var(--display); font-weight: 600; font-size: 24px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.home .tiles { position: absolute; right: 0; top: 0; bottom: 0; width: 1010px; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 28px; }
.tile {
  position: relative; text-align: left; border-radius: var(--radius);
  background: var(--raised); border: 2px solid var(--line);
  padding: 40px 44px; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden;
}
.tile .ico { position: absolute; left: 44px; top: 40px; width: 84px; height: 84px; color: var(--accent); }
.tile .lbl { font-family: var(--display); font-weight: 800; font-size: 54px; line-height: 1; text-transform: uppercase; }
.tile .sub { margin-top: 12px; font-size: 26px; color: var(--muted); }
.tile .go { position: absolute; right: 36px; top: 36px; width: 64px; height: 64px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); display: flex; align-items: center; justify-content: center; }
.tile .go svg { width: 30px; height: 30px; }
.tile .big { position: absolute; right: 30px; bottom: 6px; font-family: var(--display); font-weight: 800; font-size: 190px; line-height: 1; color: var(--text); opacity: .05; }
.tiles.with-wide { grid-template-rows: 1fr 1fr 180px; }
.tiles.with-wide .tile:not(.wide) .lbl { font-size: 46px; }
.tiles.with-wide .tile:not(.wide) .sub { font-size: 23px; margin-top: 8px; }
.tiles.with-wide .tile:not(.wide) .ico { width: 62px; height: 62px; top: 30px; }
.tiles.with-wide .tile:not(.wide) .go { top: 28px; width: 58px; height: 58px; }
.tiles.with-wide .tile:not(.wide) .big { font-size: 150px; }
.tile.wide { grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: flex-start; gap: 30px; padding: 0 36px 0 40px; background: var(--deep); border-color: var(--line); }
.tile.wide .ico { position: static; flex: none; width: 76px; height: 76px; color: var(--accent); }
.tile.wide .wtxt { flex: 1; }
.tile.wide .lbl { font-size: 50px; }
.tile.wide .sub { font-size: 23px; margin-top: 4px; }
.tile.wide .go { position: static; flex: none; }
.tile.wide .next { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; text-align: right; padding: 0 26px 0 30px; border-left: 2px solid var(--line); }
.tile.wide .next span { font-family: var(--display); font-weight: 600; font-size: 19px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.tile.wide .next b { font-family: var(--display); font-weight: 800; font-size: 32px; text-transform: uppercase; line-height: 1; }
.tile.wide .next em { font-style: normal; font-family: var(--display); font-weight: 700; font-size: 26px; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); }
.home .foot { position: absolute; left: 0; bottom: -4px; font-size: 22px; color: var(--muted); letter-spacing: .04em; line-height: 1.5; }

/* ---------- Members browse ---------- */
.members .side { position: absolute; left: 0; top: 0; bottom: 0; width: 340px; display: flex; flex-direction: column; gap: 10px; }
.members .side .kicker { margin-bottom: 8px; }
.side-btn {
  height: 54px; padding: 0 20px; border-radius: 10px; text-align: left; line-height: 1;
  display: flex; align-items: center; justify-content: space-between;
  font-family: var(--display); font-weight: 600; font-size: 27px; letter-spacing: .03em; text-transform: uppercase; color: var(--muted);
  border: 2px solid transparent;
}
.side-btn .n { font-family: var(--body); font-size: 19px; font-weight: 600; opacity: .7; }
.side-btn.on { background: var(--accent); color: var(--accent-ink); }
.members .content { position: absolute; left: 388px; right: 0; top: 0; bottom: 0; }
.members .viewport, .classes .viewport { position: absolute; left: 0; right: 0; top: 112px; bottom: 0; overflow: hidden; }
.track { position: absolute; left: 0; top: 0; height: 100%; display: flex; will-change: transform; }
.page { flex: none; height: 100%; display: grid; gap: 26px; align-content: start; }
.members .page { grid-template-columns: repeat(5, 1fr); grid-template-rows: repeat(2, 1fr); }
.sort { display: flex; gap: 12px; }

.card { text-align: left; border-radius: var(--radius); overflow: hidden; background: var(--raised); border: 2px solid var(--line); display: flex; flex-direction: column; }
.card .portrait { flex: 1; }
.card .portrait .ph .ini { font-size: 64px; }
.card .txt { padding: 14px 18px 16px; }
.card .nm { font-family: var(--display); font-weight: 700; font-size: 30px; line-height: 1.02; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card .sp { margin-top: 6px; font-size: 20px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card .yr { position: absolute; }
.card .badge { position: absolute; left: 12px; top: 12px; background: var(--accent); color: var(--accent-ink); font-family: var(--display); font-weight: 800; font-size: 22px; letter-spacing: .06em; padding: 4px 12px; border-radius: 6px; }
.empty { position: absolute; inset: 120px 0 0; display: flex; align-items: center; justify-content: center; font-size: 34px; color: var(--muted); }

/* ---------- Profile ---------- */
.profile .photo { position: absolute; left: 0; top: 0; width: 640px; bottom: 0; border-radius: var(--radius); border: 2px solid var(--line); overflow: hidden; }
.profile .photo .zoomable { position: absolute; inset: 0; transform-origin: 0 0; }
.profile .photo .portrait { position: absolute; inset: 0; }
.profile .photo .portrait .ph .ini { font-size: 150px; }
.profile .photo .quote {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 150px 40px 36px;
  background: linear-gradient(to top, rgba(4,10,20,.95) 0%, rgba(4,10,20,.85) 55%, transparent 100%);
  transition: opacity .2s; pointer-events: none;
}
.profile .photo .quote .mark { display: block; width: 56px; height: 44px; margin-bottom: 14px; color: var(--accent); }
.profile .photo .quote .mark svg { width: 100%; height: 100%; display: block; }
.profile .photo .quote p { font-size: 29px; line-height: 1.4; font-weight: 500; color: #fff; }
.profile .photo.zoomed .quote { opacity: 0; }
.profile .photo .hint { position: absolute; left: 18px; bottom: 16px; font-size: 19px; color: var(--muted); background: rgba(0,0,0,.45); padding: 6px 12px; border-radius: 6px; }
.profile .body { position: absolute; left: 700px; right: 0; top: 0; bottom: 0; display: flex; flex-direction: column; }
.profile .name { font-family: var(--display); font-weight: 800; font-size: 104px; line-height: .92; text-transform: uppercase; margin: 14px 0 20px; }
.profile .meta { display: flex; gap: 40px; font-family: var(--display); font-weight: 600; font-size: 30px; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.profile .meta b { color: var(--text); font-weight: 700; }
.profile .bio { margin-top: 48px; font-size: 29px; line-height: 1.5; max-width: 1000px; }
.profile .cols { display: flex; gap: 48px; margin-top: 30px; }
.profile .honors { flex: 1.1; }
.profile .honors li { list-style: none; position: relative; padding-left: 34px; font-size: 25px; line-height: 1.35; margin-bottom: 12px; }
.profile .honors li::before { content: ""; position: absolute; left: 0; top: 11px; width: 16px; height: 16px; background: var(--accent); transform: rotate(45deg); }
.profile .statgrid { flex: 1; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; align-content: start; }
.profile .stat { background: var(--raised); border: 2px solid var(--line); border-radius: 12px; padding: 16px 20px; }
.profile .stat b { display: block; font-family: var(--display); font-weight: 800; font-size: 50px; line-height: 1; color: var(--accent); }
.profile .stat span { font-size: 19px; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; font-weight: 600; }
.profile .sec { font-family: var(--display); font-weight: 600; font-size: 24px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.profile .nav { margin-top: auto; display: flex; justify-content: space-between; align-items: center; }
.navbtn { line-height: 1; display: inline-flex; align-items: center; gap: 14px; height: 72px; padding: 0 26px; border-radius: 36px; border: 2px solid var(--line); font-family: var(--display); font-weight: 700; font-size: 26px; letter-spacing: .06em; text-transform: uppercase; max-width: 520px; }
.navbtn svg { width: 28px; height: 28px; flex: none; }
.navbtn span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.navbtn.video { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.profile .pos { font-size: 22px; color: var(--muted); font-family: var(--display); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }

/* ---------- Induction classes ---------- */
.years { display: flex; gap: 12px; overflow: hidden; }
.yearbar { position: absolute; left: 0; right: 0; bottom: 0; height: 88px; display: flex; align-items: center; gap: 18px; }
.yearbar .years-wrap { flex: 1; overflow: hidden; position: relative; height: 72px; }
.yearbar .years { position: absolute; left: 0; top: 4px; transition: transform .35s cubic-bezier(.2,.7,.2,1); }
.yearbar .chip { font-size: 30px; min-width: 120px; justify-content: center; }
.classes .page { grid-template-columns: repeat(5, 1fr); grid-template-rows: 1fr; }
.classes .card .portrait .ph .ini { font-size: 96px; }
.classes .classtitle { position: absolute; left: 0; top: 0; }

/* ---------- Championships ---------- */
.champs .filters { position: absolute; left: 0; right: 0; top: 0; height: 72px; display: flex; gap: 12px; flex-wrap: nowrap; overflow: hidden; }
.champs .viewport { position: absolute; left: 0; right: 0; top: 112px; bottom: 0; overflow: hidden; }
.champs .page { grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(2, 1fr); }
.team { position: relative; text-align: left; border-radius: var(--radius); background: var(--raised); border: 2px solid var(--line); padding: 30px 32px; display: flex; flex-direction: column; overflow: hidden; }
.team .yr { font-family: var(--display); font-weight: 800; font-size: 108px; line-height: .85; color: var(--accent); }
.team .sp { margin-top: 18px; font-family: var(--display); font-weight: 700; font-size: 36px; text-transform: uppercase; line-height: 1; }
.team .tt { margin-top: 8px; font-size: 23px; color: var(--muted); }
.team .rec { margin-top: auto; display: flex; justify-content: space-between; font-family: var(--display); font-weight: 600; font-size: 25px; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.team .rec b { color: var(--text); }
.team .ico { position: absolute; right: 22px; top: 24px; width: 64px; height: 64px; color: var(--line); }

/* ---------- Records ---------- */
.records .side { position: absolute; left: 0; top: 0; bottom: 0; width: 340px; display: flex; flex-direction: column; gap: 10px; }
.records .board { position: absolute; left: 388px; right: 0; top: 0; bottom: 0; }
.records .groups { position: absolute; left: 0; right: 0; top: 112px; bottom: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 26px 40px; align-content: start; }
.rgroup .sec { font-family: var(--display); font-weight: 700; font-size: 28px; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); padding-bottom: 10px; border-bottom: 2px solid var(--line); }
.rrow { display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto; column-gap: 20px; padding: 16px 4px; border-bottom: 1px solid var(--line); text-align: left; width: 100%; }
.rrow .ev { font-size: 22px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
.rrow .mk { grid-row: 1 / span 2; grid-column: 2; align-self: center; font-family: var(--display); font-weight: 800; font-size: 56px; color: var(--text); }
.rrow .hd { font-family: var(--display); font-weight: 700; font-size: 32px; text-transform: uppercase; }
.rrow .hd small { font-family: var(--body); font-weight: 500; font-size: 21px; color: var(--muted); text-transform: none; margin-left: 10px; }
.rrow.link .hd { color: var(--accent); }
.rrow.link .hd::after { content: " \203A"; }

/* ---------- Search ---------- */
.search .field { position: absolute; left: 0; top: 0; width: 1040px; height: 96px; border-radius: 48px; border: 2px solid var(--accent); display: flex; align-items: center; padding: 0 40px; font-size: 44px; font-weight: 600; }
.search .field .ph { color: var(--muted); font-weight: 500; }
.search .field .caret { display: inline-block; width: 3px; height: 50px; background: var(--accent); margin-left: 4px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.kbd { position: absolute; left: 0; top: 136px; width: 1040px; display: flex; flex-direction: column; gap: 14px; }
.kbd .r { display: flex; gap: 14px; justify-content: center; }
.key { line-height: 1; flex: 0 0 88px; height: 96px; border-radius: 12px; background: var(--raised); border: 2px solid var(--line); font-family: var(--display); font-weight: 700; font-size: 40px; }
.key.wide { flex: 0 0 190px; font-size: 28px; letter-spacing: .08em; text-transform: uppercase; }
.key.space { flex: 0 0 560px; font-size: 28px; letter-spacing: .08em; text-transform: uppercase; }
.key:active { background: var(--accent); color: var(--accent-ink); }
.search .results { position: absolute; left: 1100px; right: 0; top: 0; bottom: 0; display: flex; flex-direction: column; }
.search .results .list { flex: 1; display: flex; flex-direction: column; gap: 12px; margin-top: 14px; overflow: hidden; }
.res { display: flex; align-items: center; gap: 20px; text-align: left; padding: 10px; border-radius: 12px; background: var(--raised); border: 2px solid var(--line); height: 92px; flex: none; }
.res .portrait { width: 66px; height: 70px; border-radius: 8px; flex: none; }
.res .portrait .ph .ini { font-size: 30px; }
.res .portrait .ph .tag { display: none; }
.res .nm { font-family: var(--display); font-weight: 700; font-size: 32px; text-transform: uppercase; line-height: 1; }
.res .sp { font-size: 20px; color: var(--muted); margin-top: 4px; }
.res mark { background: none; color: var(--accent); }

/* ---------- Overlays (team detail, video) ---------- */
#overlay { position: absolute; left: 0; right: 0; top: 0; bottom: var(--dock-h); z-index: 40; background: rgba(4,10,20,.88); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; animation: fadeIn .2s both; }
#overlay[hidden] { display: none; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.sheet { position: relative; width: 1560px; height: 740px; border-radius: 20px; background: var(--primary); border: 2px solid var(--line); overflow: hidden; display: flex; animation: screenIn .3s both; }
.sheet .pic { position: relative; width: 860px; height: 100%; overflow: hidden; background: var(--raised); }
.sheet .pic .zoomable { position: absolute; inset: 0; transform-origin: 0 0; }
.sheet .pic img { width: 100%; height: 100%; object-fit: cover; }
.sheet .info { flex: 1; padding: 46px 52px; display: flex; flex-direction: column; }
.sheet .info .yr { font-family: var(--display); font-weight: 800; font-size: 124px; line-height: .85; color: var(--accent); }
.sheet .info .sp { font-family: var(--display); font-weight: 800; font-size: 54px; text-transform: uppercase; line-height: 1; margin-top: 18px; }
.sheet .info .tt { font-size: 30px; color: var(--muted); margin-top: 10px; }
.sheet .info .facts { display: flex; gap: 40px; margin-top: 26px; }
.sheet .info .facts div b { display: block; font-family: var(--display); font-weight: 800; font-size: 46px; }
.sheet .info .facts div span { font-size: 20px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.sheet .info .assist { margin-top: 18px; }
.sheet .info .assist span { display: block; font-size: 19px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.sheet .info .assist b { display: block; margin-top: 4px; font-family: var(--display); font-weight: 700; font-size: 28px; line-height: 1.2; }
.sheet .info p { margin-top: 22px; font-size: 25px; line-height: 1.5; }
.sheet .info .members { margin-top: auto; display: flex; flex-wrap: wrap; gap: 12px; }
.closebar { flex: none; height: 84px; padding: 0 40px 0 30px; border-radius: 42px; display: inline-flex; align-items: center; gap: 14px; line-height: 1;
  background: var(--accent); color: var(--accent-ink); font-family: var(--display); font-weight: 800; font-size: 32px; letter-spacing: .1em; text-transform: uppercase; }
.closebar .i svg { width: 32px; height: 32px; }
.videobox { position: relative; width: 1344px; height: 756px; background: #000; border-radius: 16px; overflow: hidden; }
.videobox video { width: 100%; height: 100%; }

/* ---------- Admissions ---------- */
.admissions .side { position: absolute; left: 0; top: 0; bottom: 0; width: 340px; display: flex; flex-direction: column; gap: 12px; }
.admissions .board { position: absolute; left: 388px; right: 0; top: 0; bottom: 0; }
.side-btn.tab { height: 76px; font-size: 31px; border: 2px solid var(--line); }
.side-btn.tab.on { border-color: var(--accent); }
.admissions .contact { margin-top: auto; font-size: 20px; line-height: 1.5; color: var(--muted); }
.factgrid { position: absolute; left: 0; right: 0; top: 112px; bottom: 0; display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: 1fr 1fr; gap: 24px; }
.fact { background: var(--raised); border: 2px solid var(--line); border-radius: var(--radius); padding: 30px 30px; display: flex; flex-direction: column; justify-content: flex-end; }
.fact b { font-family: var(--display); font-weight: 800; font-size: 96px; line-height: .9; color: var(--accent); }
.fact .fl { margin-top: 14px; font-family: var(--display); font-weight: 700; font-size: 30px; line-height: 1.05; text-transform: uppercase; }
.fact .fn { margin-top: 8px; font-size: 21px; line-height: 1.35; color: var(--muted); }
.dates { position: absolute; left: 0; right: 0; top: 112px; bottom: 0; display: grid; grid-template-columns: minmax(0, 1fr) 620px; gap: 32px; }
.evlist { display: flex; flex-direction: column; gap: 12px; }
.evrow { height: 98px; flex: none; display: flex; align-items: center; gap: 22px; padding: 0 20px; text-align: left; background: var(--raised); border: 2px solid var(--line); border-radius: 12px; }
.evrow.on { border-color: var(--accent); box-shadow: inset 6px 0 0 var(--accent); }
.evrow > div:last-child { min-width: 0; }
.cal { width: 74px; height: 74px; flex: none; border-radius: 10px; background: var(--primary); border: 2px solid var(--line); display: flex; flex-direction: column; align-items: center; justify-content: center; }
.cal span { font-family: var(--display); font-weight: 700; font-size: 19px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); line-height: 1; }
.cal b { font-family: var(--display); font-weight: 800; font-size: 40px; line-height: 1; }
.evrow .et { font-family: var(--display); font-weight: 700; font-size: 30px; line-height: 1.05; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.evrow .em { margin-top: 6px; font-size: 20px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.evdetail { background: var(--raised); border: 2px solid var(--line); border-radius: 16px; padding: 34px 36px; display: flex; flex-direction: column; }
.evdetail .kicker { font-size: 24px; }
.evdetail .evt { font-family: var(--display); font-weight: 800; font-size: 54px; line-height: .95; text-transform: uppercase; margin: 12px 0 18px; }
.evfacts > div { display: flex; align-items: center; gap: 12px; font-size: 23px; color: var(--muted); margin-bottom: 8px; }
.evfacts svg { width: 26px; height: 26px; color: var(--accent); flex: none; }
.evdetail p { margin-top: 12px; font-size: 22px; line-height: 1.5; }
.evqr { margin-top: auto; display: flex; align-items: center; gap: 24px; }
.evqr .qr { width: 190px; height: 190px; flex: none; background: #fff; border-radius: 12px; padding: 8px; }
.evqr b { display: block; font-family: var(--display); font-weight: 800; font-size: 34px; letter-spacing: .04em; text-transform: uppercase; color: var(--accent); }
.evqr span { display: block; margin-top: 6px; font-size: 20px; color: var(--muted); }
.admissions .viewport { position: absolute; left: 0; right: 0; top: 112px; bottom: 0; overflow: hidden; }
.lifegrid { grid-template-columns: repeat(4, 1fr); grid-template-rows: 1fr 1fr; }
.life { text-align: left; border-radius: var(--radius); overflow: hidden; background: var(--raised); border: 2px solid var(--line); display: flex; flex-direction: column; }
.life .portrait { flex: 1; min-height: 0; }
.life .txt { flex: none; padding: 12px 18px 16px; }
.life .cat { font-family: var(--display); font-weight: 600; font-size: 18px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.life .nm { margin-top: 4px; font-family: var(--display); font-weight: 700; font-size: 28px; line-height: 1; text-transform: uppercase; }
.life .bl { margin-top: 6px; font-size: 18px; line-height: 1.35; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sheet .pic .portrait { position: absolute; inset: 0; }
.sheet .info .lstat { margin-top: 20px; font-family: var(--display); font-weight: 800; font-size: 40px; text-transform: uppercase; color: var(--accent); }
