/* Exiled Pride — site styles
   Colours and spacing are set once here in :root. Change them here only. */

/* Fonts are self-hosted (SIL Open Font License) */
@font-face { font-family: "Big Shoulders Display"; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/big-shoulders-display-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Big Shoulders Display"; font-style: normal; font-weight: 800; font-display: swap; src: url("/assets/fonts/big-shoulders-display-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Big Shoulders Display"; font-style: normal; font-weight: 900; font-display: swap; src: url("/assets/fonts/big-shoulders-display-latin-900-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/barlow-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/barlow-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/barlow-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/barlow-condensed-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/barlow-condensed-latin-600-normal.woff2") format("woff2"); }

:root {
  --pit: #000000;          /* page background */
  --plate: #15171a;        /* raised surfaces */
  --plate-2: #1e2125;      /* inputs, hover */
  --line: #2c3036;         /* borders and rules */
  --bone: #eceae6;         /* main text, like the logo's white */
  --ash: #9a9da3;          /* secondary text */
  --red: #db161d;          /* logo red */
  --red-hot: #ff2a31;
  --red-deep: #7a0a0e;

  --display: "Big Shoulders Display", "Arial Narrow", sans-serif;
  --body: "Barlow", "Segoe UI", Arial, sans-serif;
  --ui: "Barlow Condensed", "Arial Narrow", sans-serif;

  --cut: 14px;             /* chamfer size, same angle as the logo cuts */
  --wrap: 1240px;
  --gutter: 24px;
  --header: 72px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--pit);
  color: var(--bone);
  font: 400 17px/1.6 var(--body);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
/* film grain over everything, very faint */
body::after {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none; z-index: 100;
  opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img { max-width: 100%; display: block; }
a { color: inherit; }
::selection { background: var(--red); color: #fff; }
:focus-visible { outline: 2px solid var(--red-hot); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 300; background: var(--red); color: #fff; padding: 10px 16px; font: 600 16px var(--ui); text-decoration: none; }
.skip:focus { top: 12px; }

.cut { clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut)); }

/* ---------- Type ---------- */
h1, h2, h3 { margin: 0; font-family: var(--display); text-transform: uppercase; letter-spacing: .005em; }
h1 { font-weight: 900; font-size: clamp(48px, 6.4vw, 96px); line-height: .9; }
h2 { font-weight: 800; font-size: clamp(38px, 4.6vw, 68px); line-height: .92; }
h3 { font-family: var(--ui); text-transform: none; font-weight: 600; font-size: 23px; line-height: 1.2; letter-spacing: .01em; }
p { margin: 0; }
.lead { color: var(--ash); font-size: clamp(17px, 1.4vw, 19px); max-width: 58ch; }
.lead + .lead { margin-top: 14px; }
.muted { color: var(--ash); }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--red); --fg: #fff;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px;
  background: var(--bg); color: var(--fg);
  font: 600 18px/1 var(--ui); letter-spacing: .03em; text-decoration: none;
  border: 0; cursor: pointer; isolation: isolate; overflow: hidden;
  clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut));
  transition: color .25s var(--ease);
}
.btn::after { /* slash sweep on hover */
  content: ""; position: absolute; inset: 0 -30%; z-index: -1;
  background: linear-gradient(105deg, transparent 0 42%, rgba(255,255,255,.22) 42% 46%, transparent 46% 100%);
  transform: translateX(-70%); transition: transform .5s var(--ease);
}
.btn:hover::after, .btn:focus-visible::after { transform: translateX(70%); }
.btn:hover { --bg: var(--red-hot); }
.btn-ghost { --bg: var(--line); --fg: var(--bone); }
.btn-ghost::before {
  content: ""; position: absolute; inset: 1px; z-index: -2; background: var(--pit);
  clip-path: polygon(calc(var(--cut) - 1px) 0, 100% 0, 100% calc(100% - var(--cut) + 1px), calc(100% - var(--cut) + 1px) 100%, 0 100%, 0 calc(var(--cut) - 1px));
}
.btn-ghost:hover { --bg: var(--bone); }
.btn[disabled] { opacity: .6; cursor: progress; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header);
  transition: background .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.site-header.solid { background: rgba(0,0,0,.86); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-color: var(--line); }
.site-header .wrap { height: 100%; display: flex; align-items: center; gap: 32px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.brand img { height: 32px; width: auto; }
.brand span { font: 800 22px/1 var(--display); text-transform: uppercase; letter-spacing: .03em; }
.brand span b { color: var(--red); font-weight: 800; }
.nav { display: flex; gap: 6px; }
.nav a {
  position: relative; padding: 10px 12px; text-decoration: none;
  font: 600 17px/1 var(--ui); letter-spacing: .04em; color: var(--ash); transition: color .2s;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--bone); }
.nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 0; height: 2px; background: var(--red);
  transform: skewX(-30deg);
}
.site-header .btn { min-height: 42px; padding: 0 20px; font-size: 16px; --cut: 10px; }
.menu-btn { display: none; background: none; border: 0; color: var(--bone); width: 44px; height: 44px; cursor: pointer; padding: 10px; }
.menu-btn span { display: block; height: 2px; background: currentColor; margin: 6px 0; transition: transform .3s var(--ease), opacity .2s; }
.menu-open .menu-btn span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-open .menu-btn span:nth-child(2) { opacity: 0; }
.menu-open .menu-btn span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Intro splash (first visit only) ---------- */
.splash {
  position: fixed; inset: 0; z-index: 200; background: var(--pit);
  display: none; place-items: center; pointer-events: none;
}
[data-intro] .splash { display: grid; }
.splash-mark { position: relative; width: min(520px, 78vw); aspect-ratio: 800 / 445; }
.splash-mark img { position: absolute; inset: 0; width: 100%; height: 100%; }
.splash-e { animation: e-in .7s var(--ease) both; }
.splash-p { animation: p-in .7s var(--ease) both; }
.splash-slash {
  position: absolute; left: 50%; top: 50%; width: 3px; height: 160%;
  background: linear-gradient(transparent, #fff 35%, var(--red-hot) 60%, transparent);
  transform: translate(-50%, -50%) rotate(38deg) scaleY(0); transform-origin: center;
  box-shadow: 0 0 24px 4px rgba(255,42,49,.6);
  animation: slash .55s .5s var(--ease) both;
}
.splash.out { animation: splash-out .5s var(--ease) forwards; }
@keyframes e-in { from { transform: translateX(-60%); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes p-in { from { transform: translateX(60%); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes slash { 0% { transform: translate(-50%,-50%) rotate(38deg) scaleY(0); opacity: 1; } 60% { opacity: 1; } 100% { transform: translate(-50%,-50%) rotate(38deg) scaleY(1); opacity: 0; } }
@keyframes splash-out { to { opacity: 0; visibility: hidden; } }

/* ---------- Hero ---------- */
.hero { position: relative; padding: calc(var(--header) + 56px) 0 72px; min-height: 100svh; display: flex; align-items: center; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: center; position: relative; }
.hero-copy h1 { margin-bottom: 26px; font-size: clamp(46px, 5vw, 76px); }
.hero-copy .lead { margin-bottom: 34px; color: #c4c5c8; }

/* ---------- Broadcast monitor ---------- */
.monitor-frame { position: relative; }
.monitor {
  position: relative; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; background: #050607;
  clip-path: polygon(22px 0, 100% 0, 100% calc(100% - 22px), calc(100% - 22px) 100%, 0 100%, 0 22px);
}
.monitor-frame::before { /* frame outline */
  content: ""; position: absolute; inset: -1px; background: var(--line);
  clip-path: polygon(23px 0, 100% 0, 100% calc(100% - 23px), calc(100% - 23px) 100%, 0 100%, 0 23px);
}
.monitor-frame::after { /* red corner bracket */
  content: ""; position: absolute; right: -10px; bottom: -10px; width: 90px; height: 90px;
  border-right: 3px solid var(--red); border-bottom: 3px solid var(--red); pointer-events: none;
}
@media (max-width: 600px) { .monitor-frame::after { right: -6px; bottom: -6px; width: 56px; height: 56px; } }
.monitor-caption { display: flex; justify-content: space-between; gap: 16px; margin-top: 16px; font: 500 15px/1.3 var(--ui); color: var(--ash); letter-spacing: .03em; }
.monitor-caption button { background: none; border: 0; color: var(--ash); font: inherit; cursor: pointer; padding: 0; text-decoration: underline; text-underline-offset: 3px; }
.monitor-caption button:hover { color: var(--bone); }

.stage { position: absolute; left: 0; top: 0; width: 960px; height: 540px; transform-origin: 0 0; font-family: var(--ui); color: #fff; }
.stage canvas { position: absolute; inset: 0; width: 960px; height: 540px; }
.stage-vignette { position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 55%, transparent 40%, rgba(0,0,0,.75) 100%); }
.scan { position: absolute; inset: 0; background: repeating-linear-gradient(transparent 0 3px, rgba(255,255,255,.018) 3px 4px); pointer-events: none; }

.ov-bug { position: absolute; left: 22px; top: 22px; display: flex; height: 40px; font-weight: 600; font-size: 19px; letter-spacing: .04em; }
.ov-bug > * { display: flex; align-items: center; padding: 0 16px; }
.ov-live { background: var(--red); gap: 9px; clip-path: polygon(10px 0, 100% 0, 100% 100%, 0 100%, 0 10px); }
.ov-live i { width: 10px; height: 10px; background: #fff; animation: blink 1.2s steps(2) infinite; }
.ov-event { background: rgba(10,11,13,.92); font-family: var(--display); font-weight: 800; font-size: 23px; text-transform: uppercase; }
.ov-round { background: rgba(236,234,230,.95); color: #000; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%); }
@keyframes blink { 50% { opacity: .2; } }

.ov-alive { position: absolute; right: 22px; top: 22px; display: flex; height: 40px; background: rgba(10,11,13,.92); font-size: 18px; letter-spacing: .04em; }
.ov-alive div { display: flex; align-items: center; gap: 10px; padding: 0 16px; color: var(--ash); }
.ov-alive b { font: 800 30px/1 var(--display); color: #fff; min-width: 1.2em; text-align: right; }
.ov-alive div + div { border-left: 1px solid #2c3036; }

.ov-board { position: absolute; right: 22px; top: 76px; width: 290px; background: rgba(10,11,13,.9); clip-path: polygon(0 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%); }
.ov-board header { display: flex; justify-content: space-between; padding: 10px 14px; background: var(--red); font-weight: 600; font-size: 17px; letter-spacing: .06em; }
.ov-row { display: grid; grid-template-columns: 22px 44px 1fr auto 36px; align-items: center; gap: 8px; height: 36px; padding: 0 14px; font-size: 18px; border-top: 1px solid rgba(255,255,255,.06); transition: background .4s, opacity .4s; }
.ov-row .rk { color: var(--ash); font-weight: 600; }
.ov-row .tag { font-weight: 700; font-size: 15px; text-align: center; padding: 3px 0; background: #2a2d31; letter-spacing: .04em; }
.ov-row .nm { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ov-row .pips { display: flex; gap: 3px; }
.ov-row .pips i { width: 5px; height: 16px; background: #fff; transition: background .3s; }
.ov-row .pips i.down { background: #3a3e44; }
.ov-row .pts { font: 800 22px/1 var(--display); text-align: right; }
.ov-row.us .tag { background: var(--red); }
.ov-row.out { opacity: .38; }
.ov-row.flash { background: rgba(219,22,29,.35); }

.ov-feed { position: absolute; left: 22px; top: 78px; width: 400px; display: flex; flex-direction: column; gap: 6px; }
.feed-item {
  display: flex; align-items: center; gap: 10px; height: 36px; padding: 0 12px; background: rgba(10,11,13,.86);
  font-size: 18px; animation: feed-in .35s var(--ease) both; white-space: nowrap;
}
.feed-item.leave { animation: feed-out .4s var(--ease) forwards; }
.feed-item .t { font-weight: 700; font-size: 14px; padding: 2px 6px; background: #2a2d31; }
.feed-item .t.us { background: var(--red); }
.feed-item svg { width: 22px; height: 22px; flex: none; color: var(--red-hot); }
.feed-item .how { color: var(--ash); font-size: 15px; }
@keyframes feed-in { from { transform: translateX(-30px); opacity: 0; } }
@keyframes feed-out { to { transform: translateX(-30px); opacity: 0; } }

/* event banners */
.ov-banner { position: absolute; left: 50%; bottom: 44px; transform: translateX(-50%); display: flex; align-items: stretch; height: 88px; opacity: 0; pointer-events: none; }
.ov-banner.show { animation: banner-in .5s var(--ease) both; }
.ov-banner.hide { animation: banner-out .45s var(--ease) both; }
.ov-banner .b-label {
  display: flex; align-items: center; padding: 0 34px 0 28px; background: var(--red);
  font: 900 46px/1 var(--display); text-transform: uppercase; letter-spacing: .01em; white-space: nowrap;
  clip-path: polygon(22px 0, 100% 0, calc(100% - 22px) 100%, 0 100%);
}
.ov-banner .b-body { white-space: nowrap; display: flex; flex-direction: column; justify-content: center; padding: 0 36px 0 34px; margin-left: -14px; background: rgba(236,234,230,.96); color: #000; clip-path: polygon(22px 0, 100% 0, calc(100% - 22px) 100%, 0 100%); }
.ov-banner .b-body strong { font: 800 34px/1 var(--display); text-transform: uppercase; }
.ov-banner .b-body span { font-size: 18px; font-weight: 600; color: #3a3e44; margin-top: 4px; }
.ov-banner.dark .b-label { background: #e9e8e4; color: #000; }
.ov-banner.dark .b-body { background: rgba(10,11,13,.95); color: #fff; }
.ov-banner.dark .b-body span { color: var(--ash); }
@keyframes banner-in { from { opacity: 0; transform: translateX(-50%) skewX(-18deg) scaleX(.2); } to { opacity: 1; transform: translateX(-50%); } }
@keyframes banner-out { from { opacity: 1; transform: translateX(-50%); } to { opacity: 0; transform: translateX(-46%); } }

/* player intro card */
.ov-intro { position: absolute; left: 22px; bottom: 26px; width: 520px; height: 164px; display: flex; opacity: 0; pointer-events: none; }
.ov-intro.show { animation: intro-in .6s var(--ease) both; }
.ov-intro.hide { animation: intro-out .45s var(--ease) both; }
.ov-intro .ph { width: 150px; flex: none; background: linear-gradient(160deg, #2a2d31, #0d0e10); display: grid; place-items: center; position: relative; clip-path: polygon(16px 0, 100% 0, 100% 100%, 0 100%, 0 16px); }
.ov-intro .ph b { font: 900 92px/1 var(--display); color: rgba(255,255,255,.12); }
.ov-intro .ph img { position: absolute; left: 12px; bottom: 12px; width: 42px; height: 28px; object-fit: contain; object-position: left bottom; }
.ov-intro .info { flex: 1; background: rgba(10,11,13,.94); padding: 20px 26px; display: flex; flex-direction: column; justify-content: center; border-left: 4px solid var(--red); clip-path: polygon(0 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%); }
.ov-intro .ign { font: 900 56px/.95 var(--display); text-transform: uppercase; }
.ov-intro .real { font-size: 21px; color: #d8d7d3; margin-top: 6px; }
.ov-intro .meta { display: flex; gap: 10px; margin-top: 12px; font-size: 16px; letter-spacing: .05em; }
.ov-intro .meta span { padding: 3px 10px; background: #2a2d31; }
.ov-intro .meta span:first-child { background: var(--red); }
@keyframes intro-in { from { opacity: 0; clip-path: inset(0 100% 0 0); } to { opacity: 1; clip-path: inset(0 0 0 0); } }
@keyframes intro-out { from { opacity: 1; } to { opacity: 0; transform: translateY(16px); } }

/* MVP card */
.ov-mvp { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(0,0,0,.55); opacity: 0; pointer-events: none; }
.ov-mvp.show { animation: fade-in .4s var(--ease) both; }
.ov-mvp.hide { animation: fade-out .4s var(--ease) both; }
.mvp-card { display: grid; grid-template-columns: 280px 420px; height: 360px; transform: scale(.92); transition: transform .6s var(--ease); }
.ov-mvp.show .mvp-card { transform: none; }
.mvp-card .side { background: var(--red); position: relative; display: flex; flex-direction: column; justify-content: flex-end; padding: 26px; clip-path: polygon(26px 0, 100% 0, 100% 100%, 0 100%, 0 26px); overflow: hidden; }
.mvp-card .side::before { content: "MVP"; position: absolute; top: -10px; left: 16px; font: 900 170px/1 var(--display); color: rgba(0,0,0,.18); }
.mvp-card .side .ign { font: 900 60px/.9 var(--display); text-transform: uppercase; position: relative; }
.mvp-card .side .real { font-size: 20px; margin-top: 8px; position: relative; display: flex; align-items: center; gap: 10px; }
.mvp-card .side .real img { width: 30px; height: 20px; object-fit: contain; }
.mvp-card .stats { background: rgba(10,11,13,.96); padding: 30px 34px; display: grid; grid-template-columns: 1fr 1fr; align-content: center; gap: 26px 20px; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 26px), calc(100% - 26px) 100%, 0 100%); }
.mvp-card .stats h4 { grid-column: 1 / -1; margin: 0; font: 600 18px var(--ui); color: var(--ash); letter-spacing: .06em; }
.mvp-card .stat b { display: block; font: 900 64px/1 var(--display); }
.mvp-card .stat span { font-size: 17px; color: var(--ash); letter-spacing: .04em; }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes fade-out { from { opacity: 1; } to { opacity: 0; } }

/* ---------- Sections ---------- */
.section { padding: 128px 0; position: relative; }
.section-head { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 40px; align-items: end; margin-bottom: 64px; }
.section-head .lead { justify-self: end; }
.rule-top { border-top: 1px solid var(--line); }

/* features as ruled rows, not cards */
.features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 64px; }
.feature { display: grid; grid-template-columns: 28px 1fr; align-content: start; gap: 6px 18px; padding: 30px 0 34px; border-top: 1px solid var(--line); position: relative; }
.feature::before { content: ""; width: 14px; height: 14px; margin-top: 6px; background: var(--red); clip-path: polygon(0 0, 100% 0, 100% 50%, 50% 100%, 0 100%); }
.feature p { grid-column: 2; color: var(--ash); max-width: 52ch; }
.feature .soon { grid-column: 2; justify-self: start; margin-top: 10px; font: 500 15px/1 var(--ui); letter-spacing: .03em; color: var(--bone); padding: 7px 10px; border: 1px solid var(--line); border-left: 3px solid var(--red); }
.feature.is-coming::before { background: transparent; border: 2px solid var(--red); clip-path: none; }

/* match day steps: a real sequence, so numbered */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; counter-reset: step; position: relative; }
.step { padding: 0 28px 0 0; position: relative; counter-increment: step; }
.step::before {
  content: counter(step, decimal-leading-zero); display: block; margin-bottom: 20px;
  font: 900 92px/.8 var(--display); color: transparent; -webkit-text-stroke: 1.5px var(--line);
  transition: -webkit-text-stroke-color .4s;
}
.step:hover::before { -webkit-text-stroke-color: var(--red); }
.step::after { content: ""; position: absolute; left: 0; right: 28px; top: 92px; height: 2px; background: var(--line); }
.step:last-child::after { background: linear-gradient(90deg, var(--line), var(--red)); }
.step h3 { margin: 26px 0 8px; }
.step p { color: var(--ash); }

/* team strip */
.team-split { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 56px; align-items: center; }
.team-split .btn-row { margin-top: 32px; }
.roster { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.roster.full { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; }
.player {
  position: relative; aspect-ratio: 3 / 4; background: linear-gradient(170deg, var(--plate-2), #090a0b 80%); overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end; padding: 18px;
  clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut));
}
.player > img.photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(.3) contrast(1.05); }
.player::before { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 45%, rgba(0,0,0,.92)); z-index: 1; }
.player > * { position: relative; z-index: 2; }
.player .initial { position: absolute; z-index: 0; top: 8px; right: 12px; font: 900 140px/.8 var(--display); color: rgba(255,255,255,.05); }
.player .ign { font: 900 30px/.95 var(--display); text-transform: uppercase; word-break: break-word; }
.player .real { color: #c4c5c8; font-size: 15px; margin-top: 2px; }
.player .role { display: flex; align-items: center; gap: 8px; margin-top: 10px; font: 600 15px/1 var(--ui); letter-spacing: .05em; color: var(--ash); }
.player .role img { width: 22px; height: 15px; object-fit: contain; }
.player .bar { height: 3px; background: var(--red); width: 34px; margin-bottom: 12px; transition: width .4s var(--ease); }
.player:hover .bar { width: 70%; }
.player.locked .ign, .player.locked .real { color: transparent; background: repeating-linear-gradient(-45deg, #2a2d31 0 6px, #1e2125 6px 12px); width: fit-content; min-width: 70%; user-select: none; }
.player.locked .real { min-width: 50%; margin-top: 8px; height: 14px; }
.player.locked .lock { position: absolute; top: 16px; left: 16px; z-index: 2; font: 600 14px/1 var(--ui); letter-spacing: .05em; color: var(--bone); padding: 6px 9px; background: var(--red); }

/* CTA band */
.band { position: relative; overflow: hidden; padding: 96px 0; background: var(--red); }
.band::before { content: ""; position: absolute; inset: 0 0 0 58%; background: var(--pit); transform: skewX(-38deg); transform-origin: bottom left; }
.band .wrap { position: relative; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px; align-items: center; }
.band h2 { color: #fff; }
.band p { color: rgba(255,255,255,.88); margin-top: 18px; max-width: 46ch; font-size: 19px; }
.band .btn-row { justify-content: flex-end; }
.band .btn { --bg: #fff; --fg: #000; }
.band .btn:hover { --bg: var(--bone); }

/* ---------- Inner page hero ---------- */
.page-hero { padding: calc(var(--header) + 96px) 0 72px; position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.page-hero::after { content: ""; position: absolute; right: 8%; top: -20%; width: 2px; height: 150%; background: linear-gradient(transparent, var(--red), transparent); transform: rotate(38deg); }
.page-hero h1 { max-width: 14ch; margin-bottom: 24px; }
.page-hero .bg-mark { position: absolute; right: -4%; bottom: -12%; width: min(620px, 55vw); opacity: .06; pointer-events: none; }

/* events */
.events { display: grid; gap: 0; }
.event { display: grid; grid-template-columns: 140px minmax(0, 1fr) auto; gap: 28px; align-items: center; padding: 28px 0; border-top: 1px solid var(--line); }
.event:last-child { border-bottom: 1px solid var(--line); }
.event time { font: 800 34px/1 var(--display); text-transform: uppercase; }
.event time small { display: block; font: 500 15px/1.4 var(--ui); color: var(--ash); letter-spacing: .04em; text-transform: none; }
.event .ev-meta { color: var(--ash); margin-top: 4px; }
.event .state { font: 600 15px/1 var(--ui); letter-spacing: .05em; padding: 8px 12px; border: 1px solid var(--line); }
.event .state.live { background: var(--red); border-color: var(--red); }
.empty { padding: 56px; background: var(--plate); border-left: 3px solid var(--red); }
.empty h3 { margin-bottom: 8px; }
.empty p { color: var(--ash); margin-bottom: 24px; max-width: 54ch; }

/* ---------- Forms ---------- */
.form-shell { background: var(--plate); padding: clamp(24px, 4vw, 52px); position: relative; }
.form-shell > h2 { font-size: clamp(32px, 3.4vw, 48px); margin-bottom: 12px; }
.form-shell > .lead { margin-bottom: 36px; }
.tabs { display: flex; flex-wrap: wrap; gap: 0; margin-bottom: 0; border-bottom: 1px solid var(--line); }
.tab {
  position: relative; background: none; border: 0; color: var(--ash); cursor: pointer;
  padding: 16px 22px; font: 600 18px/1 var(--ui); letter-spacing: .03em;
}
.tab:hover { color: var(--bone); }
.tab[aria-selected="true"] { color: var(--bone); background: var(--plate); }
.tab[aria-selected="true"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: var(--red); }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 22px; }
.field { display: flex; flex-direction: column; gap: 8px; grid-column: 1 / -1; }
.field.half { grid-column: span 1; }
.field label { font: 600 16px/1.2 var(--ui); letter-spacing: .03em; color: #cfcfcc; }
.field label .opt { color: var(--ash); font-weight: 500; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px;
  background: var(--pit); color: var(--bone); border: 1px solid var(--line); border-radius: 0;
  font: 400 17px/1.4 var(--body); transition: border-color .2s, box-shadow .2s;
  -webkit-appearance: none; appearance: none;
}
.field textarea { min-height: 140px; resize: vertical; }
.field select {
  background-image: linear-gradient(45deg, transparent 50%, var(--ash) 50%), linear-gradient(135deg, var(--ash) 50%, transparent 50%);
  background-position: calc(100% - 20px) 22px, calc(100% - 14px) 22px; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px;
}
.field input[type="date"] { color-scheme: dark; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #444951; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--red); box-shadow: inset 3px 0 0 var(--red); }
.field .hint { font-size: 14px; color: var(--ash); }
.field .err { font-size: 15px; color: #ff6b70; display: none; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #ff6b70; }
.field.invalid .err { display: block; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 24px; margin-top: 30px; }
.form-foot .note { font-size: 14px; color: var(--ash); max-width: 44ch; }
.form-status { margin-top: 18px; padding: 14px 16px; border-left: 3px solid #ff6b70; background: rgba(255,107,112,.08); color: #ffb3b6; display: none; }
.form-status.show { display: block; }
.success { display: none; padding: 12px 0; }
.success.show { display: block; animation: success-in .6s var(--ease) both; }
.success .tick { width: 64px; height: 64px; margin-bottom: 22px; }
.success .tick path { stroke: var(--red); stroke-width: 6; fill: none; stroke-dasharray: 80; stroke-dashoffset: 80; animation: draw .6s .15s var(--ease) forwards; }
.success h3 { font: 900 clamp(34px, 3.6vw, 48px)/1 var(--display); text-transform: uppercase; margin-bottom: 12px; }
.success p { color: var(--ash); max-width: 52ch; margin-bottom: 26px; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes success-in { from { opacity: 0; transform: translateY(10px); } }
.form-split { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 56px; align-items: start; }
.form-split aside h2 { margin-bottom: 20px; }
.form-split aside .lead { margin-bottom: 18px; }
.checklist { list-style: none; padding: 0; margin: 28px 0 0; }
.checklist li { padding: 12px 0 12px 26px; border-top: 1px solid var(--line); position: relative; color: #cfcfcc; }
.checklist li::before { content: ""; position: absolute; left: 0; top: 21px; width: 10px; height: 10px; background: var(--red); clip-path: polygon(0 0, 100% 0, 100% 50%, 50% 100%, 0 100%); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 72px 0 40px; position: relative; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 2fr) minmax(0, 2fr) minmax(0, 4fr); gap: 40px; }
.foot-logo { width: 190px; margin-bottom: 18px; }
.foot-tag { font: 600 17px/1.3 var(--ui); letter-spacing: .05em; color: var(--ash); }
.site-footer h4 { margin: 0 0 16px; font: 600 16px/1 var(--ui); letter-spacing: .05em; color: var(--ash); }
.foot-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.foot-links a { text-decoration: none; color: #d0d0cd; }
.foot-links a:hover { color: var(--red-hot); }
.subscribe { display: flex; margin-top: 4px; }
.subscribe input { flex: 1; min-width: 0; min-height: 50px; padding: 0 14px; background: var(--plate); border: 1px solid var(--line); border-right: 0; color: var(--bone); font: 400 16px var(--body); border-radius: 0; }
.subscribe input:focus { outline: none; border-color: var(--red); }
.subscribe .btn { --cut: 10px; min-height: 50px; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%); }
.subscribe-msg { font-size: 14px; color: var(--ash); margin-top: 10px; min-height: 1.4em; }
.socials { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.socials a { padding: 10px 14px; background: var(--plate); color: var(--bone); text-decoration: none; font: 600 15px/1 var(--ui); letter-spacing: .04em; transition: background .2s; }
.socials a:hover { background: var(--red); }
.foot-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 14px; color: var(--ash); }

/* ---------- 404 ---------- */
.notfound { min-height: 100svh; display: grid; place-items: center; text-align: left; padding: calc(var(--header) + 40px) 0 60px; }
.notfound .code { font: 900 clamp(120px, 22vw, 260px)/.8 var(--display); color: transparent; -webkit-text-stroke: 2px var(--red); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero { min-height: 0; }
  .hero-copy { max-width: 720px; }
  .team-split { grid-template-columns: 1fr; }
  .form-split { grid-template-columns: 1fr; gap: 40px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 880px) {
  :root { --header: 64px; }
  .nav, .site-header .btn { display: none; }
  .menu-btn { display: block; }
  .menu-open .nav {
    display: flex; flex-direction: column; position: fixed; inset: var(--header) 0 auto; padding: 16px var(--gutter) 28px;
    background: var(--pit); border-bottom: 1px solid var(--line); height: calc(100svh - var(--header)); overflow-y: auto;
  }
  .menu-open { overflow: hidden; }
  .menu-open .site-header { background: var(--pit); border-color: var(--line); }
  .menu-open .nav a { font-size: 26px; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .menu-open .nav a[aria-current="page"]::after { left: 0; right: auto; width: 40px; }
  .section-head { grid-template-columns: 1fr; gap: 20px; margin-bottom: 44px; }
  .section-head .lead { justify-self: start; }
  .features { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; gap: 44px 0; }
  .band::before { inset: 0 0 0 78%; }
  .band .wrap { grid-template-columns: 1fr; }
  .band .btn-row { justify-content: flex-start; }
  .event { grid-template-columns: 1fr; gap: 10px; }
  .event .state { justify-self: start; }
}
@media (max-width: 600px) {
  :root { --gutter: 16px; }
  body { font-size: 16px; }
  .section { padding: 88px 0; }
  .hero { padding-top: calc(var(--header) + 36px); }
  .roster { grid-template-columns: 1fr 1fr; }
  .player .ign { font-size: 24px; }
  .steps { grid-template-columns: 1fr; }
  .fields { grid-template-columns: 1fr; }
  .field.half { grid-column: 1 / -1; }
  .foot-grid { grid-template-columns: 1fr; }
  .monitor-caption { flex-direction: column; gap: 6px; }
  .tab { padding: 14px 14px; font-size: 16px; }
  .btn { width: 100%; }
  .subscribe .btn { width: auto; }
  .empty { padding: 32px 24px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
.band .btn-ghost { --bg: var(--line); --fg: var(--bone); }
.band .btn-ghost:hover { --bg: var(--bone); }
