/* CS Manager, the front door.
   The game's own palette and type, given room to breathe: the game is a dense
   broadcast screen, this is the poster for it. Built mobile first, because the
   first look at it is usually a phone. */

:root {
  --ground: #0b0e14;
  --ground-2: #0f131b;
  --panel: #131923;
  --line: #232d3d;
  --line-soft: #1a2230;
  --ink: #eaf0f8;
  --ink-2: #9fb0c6;
  --ink-3: #66748c;
  --ct: #4fa3ee;
  --t: #e5b04f;
  --win: #4cc38a;
  --loss: #e0574f;
  --disp: 'Barlow Condensed', 'Arial Narrow', system-ui, sans-serif;
  --body: 'Barlow', system-ui, -apple-system, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, Menlo, monospace;
}

* { box-sizing: border-box; }
html { background: var(--ground); scroll-behavior: smooth; }
body {
  margin: 0; color: var(--ink); font-family: var(--body); font-size: 16px; line-height: 1.55;
  background: var(--ground);
  background-image:
    radial-gradient(900px 500px at 15% -5%, rgba(79,163,238,.10), transparent 60%),
    radial-gradient(700px 400px at 100% 10%, rgba(229,176,79,.06), transparent 60%);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: var(--disp); margin: 0; text-transform: uppercase; letter-spacing: .01em; line-height: 1.02; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
.wrap { width: min(1120px, 100% - 40px); margin: 0 auto; }
.dim { color: var(--ink-3); }

/* ------------------------------------------------------------------ chrome */
.top {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px min(28px, 5vw);
  background: rgba(9, 12, 18, .72); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
}
.wordmark { font-family: var(--disp); font-weight: 800; font-size: 21px; text-transform: uppercase; letter-spacing: .04em; }
.cs { color: var(--ct); }

.play {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--disp); font-weight: 800; font-size: 21px; letter-spacing: .06em; text-transform: uppercase;
  color: #06111f; background: var(--ct); padding: 13px 26px; border-radius: 4px;
  box-shadow: 0 10px 30px rgba(79,163,238,.25);
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
}
.play::after { content: '▸'; font-size: 16px; opacity: .8; }
.play:hover { background: #6fb6f5; transform: translateY(-1px); box-shadow: 0 14px 36px rgba(79,163,238,.34); }
.play:active { transform: translateY(1px); }
.play.small { font-size: 15px; padding: 8px 18px; box-shadow: none; }

/* -------------------------------------------------------------------- hero */
.hero { position: relative; padding: clamp(48px, 9vw, 110px) 0 clamp(40px, 6vw, 70px); overflow: hidden; }
.shot {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  filter: blur(2px) brightness(.34) saturate(1.1); transform: scale(1.06);
}
.hero::after, .closer::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,14,20,.55), rgba(11,14,20,.88) 55%, var(--ground));
}
.hero .wrap, .closer .wrap { position: relative; z-index: 2; }
.eyebrow {
  font-family: var(--disp); font-size: 13px; font-weight: 700; letter-spacing: .22em;
  text-transform: uppercase; color: var(--ct); margin-bottom: 14px;
}
.hero h1 { font-size: clamp(52px, 12vw, 118px); font-weight: 800; letter-spacing: -.01em; }
.hero h1 em { font-style: normal; color: var(--ink-3); }
.lede { max-width: 52ch; margin-top: 18px; color: var(--ink-2); font-size: clamp(16px, 2.2vw, 19px); }
.cta { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 28px; }
.note { font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); font-weight: 600; }

/* the five, generated fresh on every visit */
.five { display: grid; grid-template-columns: repeat(auto-fit, minmax(118px, 1fr)); gap: 10px; margin-top: clamp(32px, 5vw, 56px); }
.man {
  background: linear-gradient(180deg, rgba(19,25,35,.92), rgba(12,16,23,.92));
  border: 1px solid var(--line-soft); border-radius: 7px; padding: 12px 10px 11px; text-align: center;
  transition: transform .16s ease, border-color .16s ease;
}
.man:hover { transform: translateY(-3px); border-color: var(--ct); }
.man .role { font-family: var(--disp); font-size: 11px; font-weight: 700; letter-spacing: .12em; color: var(--t); }
.man .face { width: 100%; height: auto; max-width: 74px; border-radius: 5px; margin: 4px auto 6px; display: block; }
.man .nick { font-family: var(--disp); font-size: 19px; font-weight: 800; text-transform: uppercase; line-height: 1; }
.man .stars { display: block; margin-top: 5px; color: var(--t); }
.man .stars svg { width: 11px; height: 11px; }

/* ------------------------------------------------------------------- bands */
.band { padding: clamp(52px, 8vw, 96px) 0; border-top: 1px solid var(--line-soft); margin-top: clamp(40px, 6vw, 72px); }
.band h2 { font-size: clamp(30px, 5vw, 46px); font-weight: 800; }
.rungs { display: grid; gap: clamp(26px, 4vw, 48px); }
.rungs-lede p { color: var(--ink-2); max-width: 58ch; margin-top: 14px; }
@media (min-width: 900px) { .rungs { grid-template-columns: 1fr 1fr; align-items: center; } }

.ladder { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column-reverse; gap: 7px; }
.ladder li {
  display: flex; align-items: center; gap: 12px; padding: 11px 14px;
  background: var(--panel); border: 1px solid var(--line-soft); border-radius: 5px;
  border-left: 3px solid var(--rung, var(--ink-3));
}
.ladder .nm { font-family: var(--disp); font-size: 19px; font-weight: 700; text-transform: uppercase; flex: 1; }
.ladder .lv { font-family: var(--mono); font-size: 12px; color: var(--ink-3); }
.ladder svg { flex: none; }

/* ------------------------------------------------------------------- cards */
.cards { display: grid; gap: 16px; padding: clamp(46px, 7vw, 84px) 0 0; }
@media (min-width: 820px) { .cards { grid-template-columns: repeat(3, 1fr); } }
.card {
  background: linear-gradient(180deg, var(--panel), var(--ground-2));
  border: 1px solid var(--line-soft); border-radius: 10px; padding: 22px 20px 18px;
  display: flex; flex-direction: column;
}
.card h3 { font-size: 24px; font-weight: 800; color: var(--ct); }
.card p { color: var(--ink-2); font-size: 15px; margin-top: 10px; }
.demo { margin-top: 18px; flex: 1; display: flex; flex-direction: column; justify-content: center; }
.cap { margin-top: 12px; font-size: 11.5px; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-3); font-weight: 700; }

/* the attribute demo */
.bar { display: grid; grid-template-columns: 74px 1fr 46px; align-items: center; gap: 9px; margin: 7px 0; }
.bar .k { font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); font-weight: 700; }
.bar .track { position: relative; height: 9px; border-radius: 5px; background: rgba(255,255,255,.06); overflow: hidden; }
.bar .track i { position: absolute; top: 0; bottom: 0; background: linear-gradient(90deg, rgba(79,163,238,.3), rgba(79,163,238,.7)); border-radius: 5px; }
.bar .track b { position: absolute; top: -2px; width: 2px; height: 13px; background: var(--ct); }
.bar.sure .track i { background: linear-gradient(90deg, rgba(76,195,138,.35), rgba(76,195,138,.8)); }
.bar.sure .track b { background: var(--win); }
.bar .v { font-family: var(--mono); font-size: 12px; text-align: right; color: var(--ink-2); }
.split { display: flex; gap: 14px; font-size: 11px; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-3); font-weight: 700; margin-bottom: 4px; }
.split span:last-child { color: var(--win); }

/* the system dial */
.dial { position: relative; height: 10px; border-radius: 6px; background: linear-gradient(90deg, rgba(224,87,79,.3), rgba(255,255,255,.07) 50%, rgba(79,163,238,.35)); }
.dial b { position: absolute; top: -4px; width: 3px; height: 18px; background: var(--ink); border-radius: 2px; }
.ends { display: flex; justify-content: space-between; gap: 10px; margin-top: 8px; font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); font-weight: 700; }
.ends span:nth-child(2) { text-align: center; color: var(--ink-2); }
.fits { margin-top: 16px; display: grid; gap: 6px; }
.fit { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 13px; }
.fit .who { font-weight: 600; }
.pill { font-size: 10px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; padding: 3px 7px; border-radius: 3px; background: rgba(255,255,255,.07); color: var(--ink-2); }
.pill.good { background: rgba(76,195,138,.16); color: var(--win); }
.pill.bad { background: rgba(224,87,79,.16); color: var(--loss); }

.kit { align-items: center; }
.kit svg { width: 100%; max-width: 210px; height: auto; }

/* -------------------------------------------------------------------- rest */
.cards.three { grid-template-columns: 1fr; padding-top: clamp(46px, 7vw, 84px); border-top: 1px solid var(--line-soft); }
.cards.three .lead, .packs .lead { grid-column: 1 / -1; font-family: var(--disp); font-weight: 700; text-transform: uppercase;
  font-size: clamp(26px, 3.6vw, 38px); line-height: 1; margin: 0 0 4px; }
@media (min-width: 700px) { .cards.three { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .cards.three { grid-template-columns: repeat(3, 1fr); } }
.mini { border-top: 2px solid var(--line); padding-top: 16px; }
.mini h4 { font-size: 19px; font-weight: 700; color: var(--t); }
.mini p { color: var(--ink-2); font-size: 14.5px; margin-top: 8px; }

.closer { position: relative; margin-top: clamp(52px, 8vw, 100px); padding: clamp(56px, 9vw, 110px) 0; text-align: center; overflow: hidden; }
.closer h2 { font-size: clamp(34px, 6vw, 60px); font-weight: 800; }
.closer p { color: var(--ink-2); margin: 14px auto 28px; max-width: 44ch; }

footer {
  display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  width: min(1120px, 100% - 40px); margin: 0 auto; padding: 26px 0 46px;
  font-family: var(--disp); font-size: 14px; letter-spacing: .06em; text-transform: uppercase; font-weight: 700;
  border-top: 1px solid var(--line-soft);
}
footer .dim { font-weight: 500; letter-spacing: .02em; text-transform: none; font-family: var(--body); font-size: 13px; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto; } }

/* Nav beyond the wordmark: quiet until wanted, gone when there is no room. */
.top .links { display: flex; gap: 22px; margin-left: auto; margin-right: 22px; }
.top .links a {
  font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
  color: var(--ink-2); text-decoration: none; white-space: nowrap;
}
.top .links a:hover { color: var(--ink); }
@media (max-width: 760px) { .top .links { display: none; } }

/* The packs section: a heading and one line, nothing more — but a whole
   section's worth of air above it, the same as the one before. */
.packs { padding-top: clamp(46px, 7vw, 84px); border-top: 1px solid var(--line-soft); }
.packs .note { margin-top: 14px; max-width: 66ch; text-transform: none; letter-spacing: 0; font-size: 14px; font-weight: 500; color: var(--ink-2); }
.packs .note a { color: #4fa3ee; }
