/* The front page: hero, game block, status timeline, news. Loaded by index.html only. */
.banner-hero { position: relative; min-height: 82vh; display: flex; align-items: center; overflow: hidden; }
.banner-hero .art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; opacity: .9; }
.banner-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,7,13,.94) 0%, rgba(5,7,13,.78) 42%, rgba(5,7,13,.25) 80%, rgba(5,7,13,0) 100%), linear-gradient(0deg, var(--bg) 0%, transparent 25%); }
.banner-hero .wrap { position: relative; z-index: 2; padding-top: 7.5rem; padding-bottom: 5.5rem; }
.hero-text { max-width: 44rem; }
.hero-text .eyebrow { color: #ffb070; }
.hero .lead { color: #dfe6f3; }
.hero h1 { text-shadow: 0 .125rem 1.5rem rgba(0,0,0,.6); }

/* the game: picture / trailer beside the pitch */
.gameblock { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 2rem; align-items: center; margin-top: 1.75rem; }
.gameblock .video-frame { margin: 0; max-width: none; }
.gametext h3 { margin: .75rem 0 .5rem; font-size: 1.75rem; line-height: 1.15; }
.gametext p { margin: 0 0 1.25rem; color: #c3cde2; }
.stamp { display: inline-block; font-size: .75rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; padding: .1875rem .625rem; border: 2px solid currentColor; border-radius: .375rem; transform: rotate(-2deg); }
.stamp.active { color: var(--accent); }

/* one connected timeline with a "we are here" marker */
.timeline { list-style: none; margin: 3.25rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); }
.timeline li { position: relative; padding: 2.25rem .75rem 0 0; color: var(--muted); font-size: .9375rem; line-height: 1.45; }
.timeline li::before { content: ""; position: absolute; top: .625rem; left: 0; width: 1rem; height: 1rem; border-radius: 50%; border: 2px solid #4a5a7d; background: var(--bg); z-index: 1; }
.timeline li::after { content: ""; position: absolute; top: 1.0625rem; left: 1rem; right: 0; height: 2px; background: #2b3a5c; }
.timeline li:last-child::after { display: none; }
.timeline b { display: block; color: var(--text); font-size: 1.0625rem; margin-bottom: .125rem; }
.timeline span { display: block; }
.timeline .done::before { background: #6ee7a0; border-color: #6ee7a0; }
.timeline .done::after { background: #6ee7a0; }
.timeline .now::before { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 0 .3125rem rgba(255,138,61,.25); }
.timeline .now::after { background: linear-gradient(90deg, var(--accent), #2b3a5c); }
.timeline .now b { color: var(--accent); }
.timeline .here { position: absolute; top: -1.25rem; left: 0; font-style: normal; font-size: .6875rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #1a0d02; background: var(--accent); padding: .125rem .5rem; border-radius: 999px; white-space: nowrap; }
.timeline .later { color: #a4b0c8; }
@media (max-width: 860px) {
  .gameblock { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr; margin-top: 2rem; }
  .timeline li { padding: 0 0 1.5rem 2.25rem; }
  .timeline li::before { top: .25rem; }
  .timeline li::after { top: 1.25rem; bottom: -.25rem; left: .4375rem; right: auto; width: 2px; height: auto; }
  .timeline .now::after { background: linear-gradient(180deg, var(--accent), #2b3a5c); }
  .timeline .here { position: static; display: inline-block; margin-bottom: .25rem; }
}

/* news: category word wears its edge colour; cards equal height per row */
.feed { display: grid; gap: 1.125rem; grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr)); margin-top: 1.75rem; align-items: stretch; }
.dispatch { display: flex; flex-direction: column; background: var(--bg-2); border: 1px solid var(--line); border-left: 4px solid var(--accent-2); border-radius: var(--radius); padding: 1.125rem 1.25rem; transition: transform .2s, border-color .2s; }
.dispatch:hover { transform: translateY(-3px); }
.dispatch.mile { border-left-color: #6ee7a0; }
.dispatch.ann { border-left-color: var(--accent); }
.dispatch.trail { border-left-color: #c58bff; }
.dispatch.comm { border-left-color: #ffd166; }
.dispatch.dev .dtag { color: var(--accent-2); }
.dispatch.mile .dtag { color: #6ee7a0; }
.dispatch.ann .dtag { color: var(--accent); }
.dispatch.trail .dtag { color: #c58bff; }
.dispatch.comm .dtag { color: #ffd166; }
.dmeta { display: flex; justify-content: space-between; gap: .625rem; font-size: .8125rem; color: var(--muted); }
.dtag { text-transform: uppercase; letter-spacing: .1em; font-weight: 700; }
.dispatch h3 { margin: .5rem 0 .375rem; font-size: 1.1875rem; }
.dispatch p { margin: 0 0 .625rem; color: var(--muted); font-size: .96875rem; }
.dispatch .more { margin-top: auto; font-weight: 700; font-size: .9375rem; }
@media (max-width: 700px) { .banner-hero { min-height: 74vh; } .banner-hero .art { opacity: .55; } }
@media (min-width: 1601px) {
  .banner-hero { min-height: min(82vh, 48rem); }
  .banner-hero .wrap { padding-top: 8rem; padding-bottom: 5rem; }
  .gameblock { gap: 3rem; }
  .feed { gap: 1.5rem; }
}

/* hero: trailer on the first screen (poster + play button; the player loads on click) */
@media (min-width: 1000px) {
  .hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 3rem; align-items: center; }
  .banner-hero::after { background: linear-gradient(90deg, rgba(5,7,13,.94) 0%, rgba(5,7,13,.8) 45%, rgba(5,7,13,.45) 100%), linear-gradient(0deg, var(--bg) 0%, transparent 25%); }
}
.hero-video .video-frame { margin: 0; max-width: none; box-shadow: 0 1.5rem 4rem rgba(0,0,0,.6); }
@media (max-width: 999px) { .hero-video { margin-top: 2rem; } }
.cta-note { margin: .875rem 0 0; font-size: .875rem; color: #b6c1d9; }
.gamepic { display: block; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--line); aspect-ratio: 16 / 9; }
.gamepic img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gamepic:hover img { transform: scale(1.04); }
@media (min-width: 1000px) {
  .hero-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 2.5rem; }
  .hero-grid h1 { font-size: clamp(2.25rem, 4.4vw, 4.5rem); }
  .hero-grid .lead { font-size: 1.125rem; }
  .banner-hero .wrap { padding-top: 6.5rem; padding-bottom: 4rem; }
}
