/* --------------------------------------------------------------
   Left-rail layout · slate + brass
   Semantic class names, flat surfaces, 3px accent bars.
   -------------------------------------------------------------- */

:root {
  --ink:       #0e1013;
  --ink-2:     #121519;
  --panel:     #171b21;
  --panel-2:   #1d222a;
  --edge:      #2a303a;
  --edge-2:    #39414e;
  --brass:     #d8a33a;
  --brass-hi:  #efc96e;
  --brass-lo:  #8f6c20;
  --crimson:   #b32c3e;
  --crimson-hi:#d84356;
  --txt:       #c3cad4;
  --dim:       #818b99;
  --dim-2:     #5c6570;
  --bright:    #eef2f7;
  --display:   "Marcellus", Georgia, "Times New Roman", serif;
  --ui:        "Barlow", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --rail-w:    252px;
  --inner-w:   1080px;
}

* { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--txt);
  font-family: var(--ui);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }

a { color: var(--brass); text-decoration: none; }
a:hover { color: var(--brass-hi); }

h1, h2, h3, h4, h5 {
  font-family: var(--display);
  color: var(--bright);
  font-weight: 400;
  line-height: 1.2;
  margin: 0 0 12px;
}

h1 { font-size: clamp(1.85rem, 6vw, 2.9rem); }
h2 { font-size: clamp(1.35rem, 4.4vw, 2rem); }
h3 { font-size: clamp(1.1rem, 3vw, 1.3rem); }

p { margin: 0 0 1rem; }

.lede    { font-size: 1.04rem; color: #d6dce5; }
.muted   { color: var(--dim); }
.fineprint { font-size: .76rem; color: var(--dim-2); }

/* --------------------------------------------------------------
   Left rail
   -------------------------------------------------------------- */

.rail {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: var(--rail-w);
  z-index: 80;
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 20px 18px 24px;
  background: var(--ink-2);
  border-right: 1px solid var(--edge);
  overflow-y: auto;
  transform: translateX(-100%);
  transition: transform .22s ease;
}

.rail.is-open { transform: none; }

.rail__logo img { width: auto; height: 34px; }

.rail__nav { display: flex; flex-direction: column; }

.rail__link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 12px 11px 14px;
  color: var(--txt);
  font-size: .94rem;
  font-weight: 500;
  border-left: 3px solid transparent;
  transition: background .14s, border-color .14s, color .14s;
}

.rail__link:hover,
.rail__link.is-here {
  background: rgba(216, 163, 58, .07);
  border-left-color: var(--brass);
  color: var(--bright);
}

.rail__link i { font-style: normal; width: 18px; text-align: center; opacity: .8; }

.rail__actions { display: flex; flex-direction: column; gap: 9px; }

.rail__sep { height: 1px; background: var(--edge); }

.rail__note {
  margin-top: auto;
  font-size: .72rem;
  line-height: 1.5;
  color: var(--dim-2);
  padding-top: 18px;
  border-top: 1px solid var(--edge);
}

.rail__note b { color: var(--brass-lo); }

/* mobile cap bar */
.capbar {
  position: sticky;
  top: 0;
  z-index: 70;
  display: flex;
  align-items: center;
  gap: 12px;
  height: 56px;
  padding: 0 14px;
  background: var(--ink-2);
  border-bottom: 1px solid var(--edge);
}

.capbar__burger {
  width: 40px;
  height: 36px;
  flex: 0 0 40px;
  display: grid;
  place-items: center;
  gap: 4px;
  padding: 0;
  background: none;
  border: 1px solid var(--edge-2);
  border-radius: 3px;
  cursor: pointer;
}

.capbar__burger span {
  display: block;
  width: 17px;
  height: 2px;
  background: var(--txt);
}

.capbar__logo img { height: 26px; width: auto; }

.capbar .btn { margin-left: auto; }

.scrim {
  position: fixed;
  inset: 0;
  z-index: 75;
  background: rgba(6, 8, 11, .68);
}

.scrim[hidden] { display: none; }

/* --------------------------------------------------------------
   Page column
   -------------------------------------------------------------- */

/* width stays auto so the rail offset below cannot push the page past the viewport */
.page { min-width: 0; }

.inner {
  max-width: var(--inner-w);
  margin: 0 auto;
  padding: 0 20px;
}

.band {
  padding: 38px 0;
  border-top: 1px solid var(--edge);
}

.band:first-of-type { border-top: none; }
.band--tint { background: var(--ink-2); }

/* secondary band — shorter, quieter heading */
.band--slim { padding: 24px 0; }
.band--slim h2 { font-size: clamp(1.1rem, 3vw, 1.35rem); margin-bottom: 4px; }
.band--slim .muted { font-size: .88rem; margin-bottom: 16px; }

.band h2 {
  position: relative;
  padding-left: 15px;
}

.band h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: .18em;
  bottom: .18em;
  width: 3px;
  background: var(--brass);
}

.subhead {
  font-family: var(--display);
  color: var(--brass-hi);
  font-size: 1.02rem;
  margin: 30px 0 14px;
}

/* --------------------------------------------------------------
   Buttons
   -------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45em;
  padding: 11px 19px;
  border: 1px solid transparent;
  border-radius: 3px;
  font-family: var(--ui);
  font-size: .88rem;
  font-weight: 600;
  letter-spacing: .01em;
  text-align: center;
  cursor: pointer;
  transition: background .14s, border-color .14s, color .14s;
}

.btn--fill {
  background: var(--brass);
  border-color: var(--brass);
  border-bottom: 3px solid var(--brass-lo);
  color: #1a1305;
}

.btn--fill:hover { background: var(--brass-hi); border-color: var(--brass-hi); color: #1a1305; }

.btn--red {
  background: var(--crimson);
  border-color: var(--crimson);
  border-bottom: 3px solid #7a1c29;
  color: #fff;
}

.btn--red:hover { background: var(--crimson-hi); border-color: var(--crimson-hi); color: #fff; }

.btn--line {
  background: transparent;
  border-color: var(--edge-2);
  color: var(--txt);
}

.btn--line:hover { border-color: var(--brass); color: var(--brass-hi); }

.btn--sm  { padding: 8px 14px; font-size: .8rem; }
.btn--lg  { padding: 14px 26px; font-size: .95rem; }
.btn--wide{ width: 100%; }

/* --------------------------------------------------------------
   Banner
   -------------------------------------------------------------- */

.banner {
  position: relative;
  border-bottom: 1px solid var(--edge);
  background: var(--ink);
}

.banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--brass), transparent 70%);
}

.banner .inner {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 26px;
  padding-top: 32px;
  padding-bottom: 32px;
}

.banner__art {
  border: 1px solid var(--edge);
  border-radius: 3px;
  overflow: hidden;
}

.banner__art img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.banner__kicker {
  display: inline-block;
  margin-bottom: 12px;
  padding: 4px 10px;
  border: 1px solid rgba(216, 163, 58, .45);
  border-radius: 3px;
  background: rgba(216, 163, 58, .1);
  color: var(--brass-hi);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.banner h1 { margin-bottom: 10px; }
.banner .lede { margin-bottom: 20px; }
.banner__acts { display: flex; flex-wrap: wrap; gap: 10px; }

/* key/value strip */
.terms {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--edge);
  border: 1px solid var(--edge);
}

.terms__cell { background: var(--ink-2); padding: 14px 16px; }
.terms__k { display: block; font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); }
.terms__v { display: block; margin-top: 3px; font-family: var(--display); font-size: 1.05rem; color: var(--brass-hi); }

/* compact variant that sits under the hero CTAs */
.terms--hero { margin-top: 22px; }
.terms--hero .terms__cell { padding: 10px 12px; }
.terms--hero .terms__k { font-size: .62rem; letter-spacing: .08em; }
.terms--hero .terms__v { margin-top: 1px; font-size: .92rem; }

/* --------------------------------------------------------------
   Category filters
   -------------------------------------------------------------- */

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin: 18px 0 20px;
  border: 1px solid var(--edge);
  border-radius: 3px;
  overflow: hidden;
}

.filter {
  flex: 1 1 auto;
  padding: 10px 16px;
  font-size: .85rem;
  font-weight: 500;
  color: var(--txt);
  text-align: center;
  border-right: 1px solid var(--edge);
  transition: background .14s, color .14s;
}

.filter:last-child { border-right: none; }
.filter:hover { background: var(--panel); color: var(--brass-hi); }
.filter.is-on { background: var(--brass); color: #1a1305; font-weight: 600; }

/* --------------------------------------------------------------
   Game cards
   -------------------------------------------------------------- */

.reel {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.gcard {
  position: relative;
  display: block;
  background: var(--panel);
  border: 1px solid var(--edge);
  border-radius: 3px;
  overflow: hidden;
  color: var(--txt);
  transition: border-color .15s;
}

.gcard:hover { border-color: var(--brass); }

.gcard__frame { position: relative; display: block; }

.gcard__shot {
  width: 100%;
  aspect-ratio: 334 / 276;
  object-fit: cover;
  filter: saturate(.92) brightness(.94);
  transition: filter .2s;
}

.gcard:hover .gcard__shot { filter: none; }

.gcard__bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 11px;
  border-top: 1px solid var(--edge);
}

.gcard__name {
  display: block;
  font-family: var(--display);
  font-size: .9rem;
  line-height: 1.2;
  color: var(--bright);
}

.gcard__studio {
  display: block;
  font-style: normal;
  font-size: .7rem;
  color: var(--dim);
}

.gcard__go {
  margin-left: auto;
  flex: 0 0 26px;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border: 1px solid var(--edge-2);
  border-radius: 3px;
  color: var(--brass);
  font-size: .8rem;
  transition: background .14s, color .14s, border-color .14s;
}

.gcard:hover .gcard__go { background: var(--brass); border-color: var(--brass); color: #1a1305; }

.gcard__flag {
  position: absolute;
  left: 8px;
  bottom: 8px;
  z-index: 2;
  padding: 3px 8px;
  border-radius: 2px;
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.gcard--broad { grid-column: span 2; }
.gcard--broad .gcard__shot { aspect-ratio: 16 / 9; }

/* compact reel — swipe strip on phones, short capped grid above */
.reel--tight {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 6px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.reel--tight .gcard { flex: 0 0 185px; scroll-snap-align: start; }
.reel--tight .gcard__shot { aspect-ratio: 16 / 10; }
.reel--tight .gcard__bar { padding: 7px 9px; gap: 8px; }
.reel--tight .gcard__name { font-size: .82rem; }
.reel--tight .gcard__studio { font-size: .66rem; }
.reel--tight .gcard__go { flex-basis: 22px; width: 22px; height: 22px; font-size: .72rem; }
.reel--tight .gcard__flag { font-size: .56rem; padding: 2px 6px; }

.flag--onair {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(10, 12, 15, .85);
  border: 1px solid rgba(216, 67, 86, .55);
  color: #ff97a2;
}

.flag--onair::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--crimson-hi);
  animation: blip 1.6s infinite;
}

.flag--fresh { background: var(--brass); color: #1a1305; }

@keyframes blip { 0%, 100% { opacity: 1 } 50% { opacity: .25 } }

.reel-foot {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--edge);
}

/* running total */
.tally {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 32px;
  padding: 16px 18px;
  margin-bottom: 22px;
  background: var(--panel);
  border-left: 3px solid var(--brass);
}

.tally__k { display: block; font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); }
.tally__v { display: block; font-family: var(--display); font-size: 1.3rem; color: var(--brass-hi); }

/* --------------------------------------------------------------
   Ledger table
   -------------------------------------------------------------- */

.ledger {
  overflow-x: auto;
  margin: 20px 0;
  -webkit-overflow-scrolling: touch;
}

.ledger table {
  width: 100%;
  min-width: 540px;
  border-collapse: collapse;
  font-size: .9rem;
}

.ledger thead th {
  padding: 0 14px 9px;
  border-bottom: 2px solid var(--brass);
  color: var(--brass);
  font-family: var(--ui);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-align: left;
  white-space: nowrap;
}

.ledger tbody td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--edge);
  vertical-align: top;
}

.ledger tbody td:first-child { color: var(--bright); font-weight: 500; }
.ledger tbody tr:hover td { background: rgba(216, 163, 58, .04); }

/* --------------------------------------------------------------
   Step track
   -------------------------------------------------------------- */

.track {
  list-style: none;
  counter-reset: t;
  margin: 20px 0 0;
  padding: 0 0 0 26px;
  border-left: 1px solid var(--edge);
}

.track li {
  counter-increment: t;
  position: relative;
  padding: 0 0 20px;
}

.track li:last-child { padding-bottom: 0; }

.track li::before {
  content: counter(t);
  position: absolute;
  left: -38px;
  top: 0;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  background: var(--ink);
  border: 1px solid var(--brass);
  color: var(--brass-hi);
  font-family: var(--display);
  font-size: .8rem;
}

.track li b { display: block; color: var(--bright); font-family: var(--display); font-weight: 400; }

/* --------------------------------------------------------------
   Q & A
   -------------------------------------------------------------- */

.qa { margin-top: 18px; border-top: 1px solid var(--edge); }

.qa details { border-bottom: 1px solid var(--edge); }

.qa summary {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 2px;
  cursor: pointer;
  list-style: none;
  font-family: var(--display);
  font-size: 1rem;
  color: var(--txt);
}

.qa summary::-webkit-details-marker { display: none; }

.qa summary::before {
  content: "+";
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border: 1px solid var(--edge-2);
  color: var(--brass);
  font-family: var(--ui);
  font-size: 1rem;
  line-height: 1;
}

.qa details[open] summary { color: var(--brass-hi); }
.qa details[open] summary::before { content: "\2212"; border-color: var(--brass); }

.qa__a { padding: 0 0 16px 34px; color: var(--dim); font-size: .93rem; }

/* --------------------------------------------------------------
   Colophon
   -------------------------------------------------------------- */

.colophon {
  padding: 34px 0 24px;
  background: var(--ink-2);
  border-top: 1px solid var(--edge);
}

.colophon__top { display: flex; flex-direction: column; gap: 14px; }
.colophon__top img { height: 36px; width: auto; }
.colophon__blurb { max-width: 60ch; font-size: .84rem; color: var(--dim); margin: 0; }

.colophon__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 22px 0;
  padding: 18px 0;
  border-top: 1px solid var(--edge);
  border-bottom: 1px solid var(--edge);
  list-style: none;
}

.colophon__links a { color: var(--dim); font-size: .88rem; }
.colophon__links a:hover { color: var(--brass-hi); }

.colophon__legal {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: .78rem;
  color: var(--dim-2);
}

.colophon__legal b { color: var(--brass-lo); }

.agemark {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  border: 2px solid var(--crimson);
  border-radius: 3px;
  color: var(--crimson-hi);
  font-family: var(--display);
  font-size: .76rem;
}

.colophon__rg { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }

/* --------------------------------------------------------------
   Corner promo
   -------------------------------------------------------------- */

.promo {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 200;
  width: 340px;
  max-width: calc(100% - 24px);
  background: var(--panel-2);
  border: 1px solid var(--edge-2);
  border-top: 3px solid var(--brass);
  border-radius: 3px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, .6);
  padding: 18px 18px 16px;
}

.promo[hidden] { display: none; }

.promo__x {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  padding: 0;
  background: none;
  border: 0;
  color: var(--dim);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

.promo__x:hover { color: var(--bright); }
.promo__logo { height: 24px; width: auto; margin-bottom: 12px; }

.promo__kicker {
  margin: 0 0 4px;
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brass);
}

.promo__head { margin: 0 0 8px; font-size: 1.16rem; line-height: 1.22; }
.promo__body { margin: 0 0 14px; font-size: .88rem; color: var(--dim); }
.promo__fine { margin: 10px 0 0; font-size: .68rem; color: var(--dim-2); }

/* --------------------------------------------------------------
   ≥600px
   -------------------------------------------------------------- */

@media (min-width: 600px) {
  .inner { padding: 0 28px; }
  .band  { padding: 48px 0; }
  .banner .inner { padding-top: 44px; padding-bottom: 44px; gap: 32px; }
  .terms { grid-template-columns: repeat(4, 1fr); }
  .reel { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .reel--tight { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; max-width: 600px; overflow: visible; }
  .reel--tight .gcard { flex: none; }
  .band--slim { padding: 30px 0; }

  .reel-foot {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .colophon__legal { flex-direction: row; justify-content: space-between; align-items: center; }
}

/* --------------------------------------------------------------
   ≥1024px — rail becomes permanent
   -------------------------------------------------------------- */

@media (min-width: 1024px) {
  .rail   { transform: none; }
  .capbar { display: none; }
  .scrim  { display: none !important; }
  .page   { margin-left: var(--rail-w); }
  .reel   { grid-template-columns: repeat(4, 1fr); }
  .reel--tight { max-width: 660px; }
  .banner .inner { grid-template-columns: 1.02fr .98fr; gap: 44px; }
  .colophon__top { flex-direction: row; align-items: center; gap: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rail, .gcard, .gcard__shot, .gcard__go, .flag--onair::before { transition: none; animation: none; }
}
