/* Ground Control Studios: site styles.
   Built on the Vizerk template's layout (Bootstrap 3 grid, Oswald + Raleway, thin rules with corner ticks,
   bracket buttons), recoloured to the GCS palette (brief Part 3, "Palette"). Colours from the SVG logos. */

/* ------------------------------------------------------------------ fonts (self-hosted, SIL OFL 1.1) */
@font-face { font-family: "Oswald"; font-style: normal; font-weight: 200 700; font-display: swap;
  src: url(../fonts/oswald-latin.bd73278ee0.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Oswald"; font-style: normal; font-weight: 200 700; font-display: swap;
  src: url(../fonts/oswald-latin-ext.7989ccc777.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Raleway"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url(../fonts/raleway-latin.b1bef1f03a.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Raleway"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url(../fonts/raleway-latin-ext.2d603982ca.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Raleway"; font-style: italic; font-weight: 100 900; font-display: swap;
  src: url(../fonts/raleway-italic-latin.8c08eb8b1f.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Raleway"; font-style: italic; font-weight: 100 900; font-display: swap;
  src: url(../fonts/raleway-italic-latin-ext.263c505d52.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }

/* ------------------------------------------------------------------ tokens */
:root {
  --gcs-black: #000000;
  --gcs-ink-900: #0B0B0C;      /* alternate section background */
  --gcs-ink-800: #151517;      /* cards, tiles */
  --gcs-line: #2A2A2E;         /* rules and borders */
  --gcs-text: #F2F2F2;         /* body text: 18.8:1 on black */
  --gcs-text-muted: #9A9A9A;   /* captions: 7.4:1 on black */
  /* Logo colours (gc_colors_*.svg). Used for fills, rules and the offset motif. */
  --gcs-red: #C44B45;          /* primary buttons, white text 4.7:1 */
  --gcs-blue: #1C8886;         /* the logo's teal; secondary buttons with black text 4.9:1 */
  /* Lighter tints for small text on dark backgrounds (AA 4.5:1 on ink-800 and darker). */
  --gcs-red-bright: #DE6A64;   /* 6.3:1 on black */
  --gcs-blue-bright: #36B5B2;  /* 8.4:1 on black, 7.3:1 on ink-800 */
  --gcs-offset: 2px;
  --gcs-header-h: 72px;
  --font-display: "Oswald", "Arial Narrow", sans-serif;
  --font-body: "Raleway", "Segoe UI", sans-serif;
}

/* ------------------------------------------------------------------ base */
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--gcs-black);
  color: var(--gcs-text);
  font: 400 16px/1.65 var(--font-body);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6, .display {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: uppercase;   /* source text stays sentence case (brief: no all-caps in the HTML) */
  color: var(--gcs-text);
  line-height: 1.15;
}
h1 { font-size: clamp(36px, 6vw, 72px); }
h2 { font-size: clamp(26px, 3.5vw, 40px); }
h3 { font-size: 22px; }
p { margin: 0 0 1em; }
a { color: var(--gcs-blue-bright); text-decoration: underline; text-underline-offset: 3px; }
a:hover, a:focus { color: var(--gcs-text); }
:focus-visible { outline: 2px solid var(--gcs-blue-bright); outline-offset: 3px; }
img, video { max-width: 100%; height: auto; }
.muted { color: var(--gcs-text-muted); }
.todo {  /* visible placeholder for missing content (brief: [TODO: ...]) */
  display: inline-block; padding: 2px 8px; border: 1px dashed var(--gcs-red-bright);
  color: var(--gcs-red-bright); font-size: 14px;
}
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 10000;
  background: var(--gcs-text); color: var(--gcs-black); padding: 8px 14px; text-decoration: none;
}
.skip-link:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ------------------------------------------------------------------ header (Vizerk .header + .affix) */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--gcs-header-h);
  background: linear-gradient(rgba(0,0,0,.7), rgba(0,0,0,0));
  transition: background-color .4s;
}
.site-header.is-scrolled { background: var(--gcs-black); border-bottom: 1px solid var(--gcs-line); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.site-header .container::before, .site-header .container::after { display: none; }  /* Bootstrap clearfix vs flex */
.brand { display: block; line-height: 0; }
.brand img { height: 44px; width: auto; }
.nav-main { display: flex; align-items: center; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav-main a {
  position: relative; display: inline-block; padding: 6px 0;
  color: var(--gcs-text); text-decoration: none;
  font: 500 15px/1 var(--font-display); letter-spacing: .08em; text-transform: uppercase;
}
/* Vizerk's active underline with corner ticks, now the red/blue offset pair */
.nav-main a::before, .nav-main a::after {
  content: ""; position: absolute; left: 0; right: 0; height: 1px; bottom: -4px;
  opacity: 0; transition: opacity .2s, transform .2s;
}
.nav-main a::before { background: var(--gcs-red); transform: translate(calc(-1 * var(--gcs-offset)), var(--gcs-offset)); }
.nav-main a::after { background: var(--gcs-blue); transform: translate(var(--gcs-offset), calc(-1 * var(--gcs-offset))); }
.nav-main a:hover::before, .nav-main a:hover::after,
.nav-main a[aria-current="page"]::before, .nav-main a[aria-current="page"]::after { opacity: 1; }
.nav-main .ext-icon { width: 11px; height: 11px; margin-left: 4px; vertical-align: 1px; }
/* The Contact button keeps its bracket look, not the nav underline */
.nav-main a.btn-gcs { display: inline-flex; padding: 8px 18px; }
.nav-main a.btn-gcs::before, .nav-main a.btn-gcs::after { display: none; }
.nav-toggle {
  display: none; background: none; border: 1px solid var(--gcs-line); color: var(--gcs-text);
  width: 44px; height: 44px; padding: 0; cursor: pointer;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 20px; height: 2px; margin: 0 auto; background: currentColor; position: relative; content: "";
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }

@media (max-width: 900px) {
  .nav-toggle { display: block; margin-left: auto; }  /* right edge: the hidden nav is still a (zero-width) flex item */
  .nav-main {
    display: none; position: absolute; top: var(--gcs-header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--gcs-black); border-bottom: 1px solid var(--gcs-line); padding: 8px 16px 20px;
  }
  .nav-main.is-open { display: flex; }
  .nav-main li a:not(.btn-gcs) { display: block; padding: 14px 0; border-bottom: 1px solid var(--gcs-line); }
  .nav-main li:last-child { margin-top: 16px; }
}

/* ------------------------------------------------------------------ sections (Vizerk wrappers) */
.section { padding: 96px 0; background: var(--gcs-black); }
.section--ink { background: var(--gcs-ink-900); }
.section--tight { padding: 56px 0; }
@media (max-width: 767px) { .section { padding: 64px 0; } }

/* Section title: Vizerk's .title (h2, small caps line, rule with a centre tick) */
.title { text-align: center; margin: 0 auto 48px; max-width: 760px; }
.title h2 { margin: 0 0 12px; }
.title p { color: var(--gcs-text-muted); letter-spacing: .06em; margin: 0; }
.rule {   /* paired red/blue rules, offset like the logo; replaces Vizerk's grey hr with ticks */
  position: relative; width: 40%; max-width: 240px; height: 1px; margin: 20px auto 0; border: 0;
}
.rule::before, .rule::after { content: ""; position: absolute; inset: 0; }
.rule::before { background: var(--gcs-red); transform: translate(calc(-1 * var(--gcs-offset)), var(--gcs-offset)); }
.rule::after { background: var(--gcs-blue); transform: translate(var(--gcs-offset), calc(-1 * var(--gcs-offset))); }
.title--left { text-align: left; margin-left: 0; }
.title--left .rule { margin-left: 0; }

/* The signature motif on big type: red bottom-left, blue top-right (matches the logo) */
.offset {
  text-shadow: calc(-1 * var(--gcs-offset)) var(--gcs-offset) 0 var(--gcs-red),
               var(--gcs-offset) calc(-1 * var(--gcs-offset)) 0 var(--gcs-blue);
}

/* ------------------------------------------------------------------ buttons (Vizerk bracket buttons) */
.btn-gcs {
  --c: var(--gcs-text);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 28px;
  font: 500 15px/1 var(--font-display); letter-spacing: .1em; text-transform: uppercase; text-decoration: none;
  color: var(--c); background-color: transparent; border: 0; cursor: pointer;
  /* bracket frame: full-height sides, 10 px corner ticks top and bottom */
  background-image:
    linear-gradient(var(--c), var(--c)), linear-gradient(var(--c), var(--c)),
    linear-gradient(var(--c), var(--c)), linear-gradient(var(--c), var(--c)),
    linear-gradient(var(--c), var(--c)), linear-gradient(var(--c), var(--c));
  background-repeat: no-repeat;
  background-size: 1px 100%, 1px 100%, 10px 1px, 10px 1px, 10px 1px, 10px 1px;
  background-position: left top, right top, left top, left bottom, right top, right bottom;
  transition: color .2s, background-color .2s, box-shadow .2s;
}
.btn-gcs:hover, .btn-gcs:focus { color: var(--c); }
.btn-gcs--primary {   /* one per screen: Buy, Wishlist, See our games */
  --c: #FFFFFF; background-color: var(--gcs-red);
  box-shadow: calc(-1 * var(--gcs-offset)) var(--gcs-offset) 0 0 #7d2a26, var(--gcs-offset) calc(-1 * var(--gcs-offset)) 0 0 var(--gcs-blue);
}
.btn-gcs--primary:hover, .btn-gcs--primary:focus {
  box-shadow: -4px 4px 0 0 #7d2a26, 4px -4px 0 0 var(--gcs-blue);
}
.btn-gcs--secondary { --c: #000000; background-color: var(--gcs-blue-bright); }
.btn-gcs--secondary:hover, .btn-gcs--secondary:focus { background-color: #4CC8C5; }
.btn-gcs--ghost:hover, .btn-gcs--ghost:focus { --c: var(--gcs-blue-bright); }
.btn-gcs--small { min-height: 40px; padding: 8px 18px; font-size: 14px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 16px; }
.btn-row--center { justify-content: center; }

/* ------------------------------------------------------------------ badges */
.badge-gcs {
  display: inline-block; padding: 4px 10px;
  font: 500 12px/1.2 var(--font-display); letter-spacing: .12em; text-transform: uppercase;
  border: 1px solid currentColor;
}
.badge-gcs--out { background: var(--gcs-blue-bright); color: #000; border-color: var(--gcs-blue-bright); }
.badge-gcs--soon { color: var(--gcs-red-bright); }
.badge-gcs--dev { color: var(--gcs-text-muted); }

/* ------------------------------------------------------------------ hero (Vizerk #home .videobg) */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end;
  overflow: hidden; background: var(--gcs-black);
}
.hero__media, .hero__media img, .hero__media video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.hero::after {   /* keeps text readable over any frame */
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.15) 35%, rgba(0,0,0,.75) 100%);
}
.hero__content { position: relative; z-index: 1; width: 100%; padding: 0 0 12vh; }
.hero__content p.lead { max-width: 640px; font-size: 18px; margin: 16px 0 28px; }

/* ------------------------------------------------------------------ cards and grids */
.card-gcs {
  position: relative; display: block; height: 100%;
  background: var(--gcs-ink-800); border: 1px solid var(--gcs-line);
  color: var(--gcs-text); text-decoration: none; transition: box-shadow .2s;
}
.card-gcs:hover, .card-gcs:focus-within {
  box-shadow: calc(-1 * var(--gcs-offset)) var(--gcs-offset) 0 0 var(--gcs-red), var(--gcs-offset) calc(-1 * var(--gcs-offset)) 0 0 var(--gcs-blue);
}
a.card-gcs:hover { box-shadow: -4px 4px 0 0 var(--gcs-red), 4px -4px 0 0 var(--gcs-blue); color: var(--gcs-text); }
.card-gcs__media { aspect-ratio: 1 / 1; background: #1d1d20; display: grid; place-items: center; overflow: hidden; }
.card-gcs__media--wide { aspect-ratio: 16 / 9; }
.card-gcs__body { padding: 20px; }
.card-gcs__body h2, .card-gcs__body h3 { margin: 0 0 8px; font-size: 20px; }
.card-gcs__body p { color: var(--gcs-text-muted); margin: 0; font-size: 15px; }
.grid-gcs { display: grid; gap: 24px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.placeholder { color: var(--gcs-text-muted); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }

/* ------------------------------------------------------------------ facts strip (Vizerk #count_parallax) */
.facts { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); text-align: center; }
.fact__value { display: block; font: 500 44px/1 var(--font-display); color: var(--gcs-blue-bright); }
.fact__label { display: inline-block; margin-top: 10px; color: var(--gcs-text-muted); letter-spacing: .1em; text-transform: uppercase; font-size: 13px; }

/* ------------------------------------------------------------------ background band (Vizerk .parallax) */
.band { position: relative; background: center / cover no-repeat var(--gcs-ink-900); }
.band::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.7); }
.band > * { position: relative; }

/* ------------------------------------------------------------------ footer (Vizerk .footer-wrapper) */
.site-footer { background: var(--gcs-black); border-top: 1px solid var(--gcs-line); padding: 64px 0 32px; font-size: 15px; }
.site-footer h2 { font-size: 16px; letter-spacing: .12em; margin: 0 0 16px; color: var(--gcs-text-muted); }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 0 0 8px; }
.site-footer a { color: var(--gcs-text); text-decoration: none; }
.site-footer a:hover, .site-footer a:focus { color: var(--gcs-blue-bright); text-decoration: underline; }
.footer-cols { display: grid; gap: 32px; grid-template-columns: 2fr 1fr 1fr 1fr; }
@media (max-width: 900px) { .footer-cols { grid-template-columns: 1fr 1fr; } }
.footer-brand img { height: 48px; width: auto; margin-bottom: 16px; }
.funding { margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--gcs-line); }
/* Funding logo bars: one row (owner 2026-11-26), equal heights; each link's flex share = its image's aspect ratio. */
.funding__bars { display: flex; flex-wrap: nowrap; gap: 12px; align-items: stretch; }
.funding__bars a { display: flex; align-items: center; min-width: 0; background: #fff; padding: 6px; line-height: 0; }  /* official artwork sits on white */
.funding__bars img { width: 100%; height: auto; }
@media (max-width: 767px) {  /* too small to read in one row on a phone: stack */
  .funding__bars { flex-direction: column; align-items: flex-start; }
  .funding__bars a { flex: none !important; max-width: 100%; }
  .funding__bars img { width: auto; max-width: 100%; height: 44px; }
}
.footer-legal { margin-top: 32px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; color: var(--gcs-text-muted); font-size: 13px; }

/* ------------------------------------------------------------------ shared bits (stage 4) */
.eyebrow { font: 500 13px/1.4 var(--font-display); letter-spacing: .14em; text-transform: uppercase; color: var(--gcs-text-muted); display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 0 0 12px; }
.small { font-size: 14px; }
.warning { color: var(--gcs-red-bright); font-size: 14px; margin: 0 0 8px; }
.ratio-16x9 { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: #000; }
.ticks { list-style: none; padding: 0; margin: 0 0 24px; }
.ticks li { position: relative; padding-left: 22px; margin: 6px 0; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .7em; width: 12px; height: 1px; background: var(--gcs-blue-bright); box-shadow: -1px 2px 0 var(--gcs-red); }
.ext-icon { width: 11px; height: 11px; margin-left: 6px; vertical-align: 1px; }
video.js-video { display: block; width: 100%; height: auto; background: #000; }
.text-center { text-align: center; }

/* hero: reel + "now showing" + pause */
.hero__media video { width: 100%; height: 100%; object-fit: cover; }
/* the <picture> underneath is the still (fast LCP); the video shows once it really plays (no black box meanwhile) */
.hero__media video { opacity: 0; transition: opacity .4s; }
.hero__media video.is-playing { opacity: 1; }
.reel-now { margin: 0 0 12px; font: 500 14px/1.4 var(--font-display); letter-spacing: .1em; text-transform: uppercase; opacity: 0; transition: opacity .4s; }
.reel-now.is-on { opacity: 1; }
.reel-now__label { color: var(--gcs-text-muted); }
.reel-now__link { color: var(--gcs-blue-bright); text-decoration: none; }
.reel-now__link:hover, .reel-now__link:focus { color: var(--gcs-text); text-decoration: underline; }
.video-toggle {
  position: absolute; right: 16px; bottom: 16px; z-index: 2; min-width: 72px; min-height: 40px;
  background: rgba(0,0,0,.6); color: var(--gcs-text); border: 1px solid var(--gcs-line);
  font: 500 13px/1 var(--font-display); letter-spacing: .1em; text-transform: uppercase; cursor: pointer;
}
@media (max-width: 767px) { .hero__content { padding-bottom: 88px; } }

/* Bootstrap's .container clearfix (::before/::after) becomes stray grid/flex items: switch it off where the
   container itself is a grid or flex box. */
.featured__grid::before, .featured__grid::after,
.studio-teaser__grid::before, .studio-teaser__grid::after,
.lab-band__inner::before, .lab-band__inner::after { content: none; display: none; }

/* featured game band */
.featured__grid { display: grid; gap: 40px; grid-template-columns: 1.2fr 1fr; align-items: center; }
.featured__line { font: 400 clamp(20px, 2.2vw, 26px)/1.35 var(--font-display); letter-spacing: .02em; margin-bottom: 8px; }
@media (max-width: 900px) { .featured__grid { grid-template-columns: 1fr; } }

/* games grid */
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0 0 32px; }
.filter {
  background: none; border: 1px solid var(--gcs-line); color: var(--gcs-text-muted); padding: 8px 16px; min-height: 40px;
  font: 500 13px/1 var(--font-display); letter-spacing: .1em; text-transform: uppercase; cursor: pointer;
}
.filter[aria-pressed="true"] { color: #000; background: var(--gcs-blue-bright); border-color: var(--gcs-blue-bright); }
.games-grid { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.game-card .card-gcs__media video, .game-card .card-gcs__media picture, .game-card .card-gcs__media img { width: 100%; height: 100%; object-fit: cover; }
.game-card__top { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 10px; }
.game-card__plats { color: var(--gcs-text-muted); font-size: 13px; text-align: right; }
.game-card[hidden] { display: none; }

/* proof strip (horizontal, scroll-snap: replaces Vizerk's Owl carousel) */
.proof { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, 1fr); gap: 16px; overflow-x: auto;
  scroll-snap-type: x mandatory; list-style: none; margin: 0; padding: 4px 4px 16px; }
.proof__item { scroll-snap-align: start; background: var(--gcs-ink-800); border: 1px solid var(--gcs-line); padding: 20px; display: flex; flex-direction: column; gap: 8px; }
.proof__item blockquote { margin: 0; padding: 0; border: 0; font-size: 17px; }
.proof__big { font: 500 22px/1.2 var(--font-display); text-transform: uppercase; letter-spacing: .04em; color: var(--gcs-blue-bright); }
.proof__item--award { border-color: #3a3a40; }

/* image bands */
.band--image { position: relative; overflow: hidden; }
.band__bg, .band__bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.band--image::before { z-index: 1; background: linear-gradient(90deg, rgba(0,0,0,.85), rgba(0,0,0,.45)); }
.band--image > .container { position: relative; z-index: 2; }
.outnow__pitch { max-width: 560px; margin-bottom: 24px; }

/* trailers */
.tabs { display: flex; flex-wrap: wrap; gap: 4px; justify-content: center; margin-bottom: 24px; }
.tabs [role="tab"] {
  background: none; border: 0; border-bottom: 2px solid transparent; color: var(--gcs-text-muted); padding: 10px 14px; min-height: 44px;
  font: 500 15px/1 var(--font-display); letter-spacing: .08em; text-transform: uppercase; cursor: pointer;
}
.tabs [role="tab"][aria-selected="true"] { color: var(--gcs-text); border-bottom-color: var(--gcs-red); }
.trailer-panels { max-width: 960px; margin: 0 auto; }

/* pillars, lab, studio teaser, services CTA */
.pillars { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.pillar h3 { display: flex; align-items: center; }
.lab-band { border-top: 1px solid var(--gcs-line); border-bottom: 1px solid var(--gcs-line); }
.lab-band__inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; }
.lab-band h2 { margin: 0 0 6px; }
.lab-band p { margin: 0; }
.studio-teaser__grid { display: grid; gap: 48px; grid-template-columns: 1fr 1fr; align-items: center; }
.studio-teaser__photo img { width: 100%; height: auto; display: block; }
.facts--compact { grid-template-columns: repeat(2, 1fr); text-align: left; gap: 20px; }
.facts--compact .fact__value { font-size: 36px; }
@media (max-width: 900px) { .studio-teaser__grid { grid-template-columns: 1fr; } }
.cta-band { margin-top: 48px; padding-top: 40px; border-top: 1px solid var(--gcs-line); text-align: center; }
.cta-band h3 { margin: 0 0 20px; }

/* contact intent panel */
.intents { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); max-width: 960px; margin: 0 auto 24px; }
.intent {
  min-height: 64px; background: var(--gcs-ink-800); border: 1px solid var(--gcs-line); color: var(--gcs-text);
  font: 500 16px/1.2 var(--font-display); letter-spacing: .08em; text-transform: uppercase; cursor: pointer;
}
.intent[aria-expanded="true"] { border-color: var(--gcs-blue-bright); box-shadow: -2px 2px 0 var(--gcs-red), 2px -2px 0 var(--gcs-blue); }
.intent-pane { max-width: 960px; margin: 0 auto; padding: 24px; border: 1px solid var(--gcs-line); background: var(--gcs-ink-900); }

/* ------------------------------------------------------------------ icons (2D art agent sprite: 24 grid, 2 px, currentColor) */
.icon { width: 24px; height: 24px; flex: none; color: var(--gcs-text); vertical-align: -5px; }
.nav-main .ext-icon, .ext-icon { width: 12px; height: 12px; margin-left: 6px; vertical-align: 0; }
.card-icon { display: inline-flex; margin-bottom: 14px; }
.card-icon .icon { width: 32px; height: 32px; filter: drop-shadow(-1px 1px 0 var(--gcs-red)) drop-shadow(1px -1px 0 var(--gcs-blue)); }
a.card-gcs:hover .card-icon .icon { filter: drop-shadow(-2px 2px 0 var(--gcs-red)) drop-shadow(2px -2px 0 var(--gcs-blue)); }
.ticks li .icon { position: absolute; left: 0; top: 2px; width: 20px; height: 20px; color: var(--gcs-blue-bright); }
.ticks li:has(.icon) { padding-left: 32px; }
.ticks li:has(.icon)::before { display: none; }
.fact__icon { display: block; width: 28px; height: 28px; margin: 0 0 8px; color: var(--gcs-text-muted); }
.facts:not(.facts--compact) .fact__icon { margin: 0 auto 8px; }
.intent { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 14px 10px; }
.intent .icon { width: 28px; height: 28px; }
@media (prefers-reduced-motion: reduce) { .card-icon .icon, a.card-gcs:hover .card-icon .icon { filter: none; } }

/* ------------------------------------------------------------------ game pages (stage 5) */
.game-hero__title { margin: 0 0 8px; }
.game-hero__logo img { width: min(480px, 80vw); height: auto; display: block; }
.game-proof { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 14px; max-width: 900px; }
.game-proof li { padding-left: 14px; position: relative; }
.game-proof li::before { content: ""; position: absolute; left: 0; top: .65em; width: 6px; height: 6px; background: var(--gcs-blue-bright); }
.buybar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 900; background: rgba(0,0,0,.92); border-top: 1px solid var(--gcs-line); }
.buybar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.buybar__inner::before, .buybar__inner::after { content: none; display: none; }
.buybar__title { font: 500 18px/1.2 var(--font-display); text-transform: uppercase; letter-spacing: .06em; }
body.has-buybar .site-footer { padding-bottom: 96px; }
/* analytics consent bar (only when a GA4 ID is set): sits above the buy bar until the visitor chooses */
.consent { position: fixed; left: 0; right: 0; bottom: 0; z-index: 950; background: var(--gcs-ink-800, #111); border-top: 2px solid var(--gcs-blue); padding: 14px 0; }
.consent[hidden] { display: none; }
.consent__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.consent__inner::before, .consent__inner::after { content: none; display: none; }
.consent__inner p { margin: 0; flex: 1 1 320px; }
.consent__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.trailers { max-width: 1000px; margin: 0 auto; }
/* All trailers share one centred 1000 px column, so their edges line up (owner 2026-11-26): the main one full width,
   the others below it, sharing that width (--others = how many, at most 2 per row). */
.trailers--many { display: grid; gap: 24px; grid-template-columns: repeat(var(--others, 1), 1fr); max-width: 1000px; margin: 0 auto; }
.trailers--many .trailer--main { grid-column: 1 / -1; }
@media (max-width: 767px) { .trailers--many { grid-template-columns: 1fr; } }
.trailer { margin: 0; }
.trailer figcaption { margin-top: 8px; }
.game-about { max-width: 760px; }
.game-about__short { font-size: 19px; line-height: 1.6; }
.feature-rows { display: grid; gap: 56px; margin-top: 64px; }
.feature-row { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; }
.feature-row:nth-child(even) .feature-row__media { order: 2; }
.feature-row h3 { font-size: 24px; margin: 0 0 10px; }
@media (max-width: 900px) { .feature-row { grid-template-columns: 1fr; gap: 16px; } .feature-row:nth-child(even) .feature-row__media { order: 0; } }
.feature-list { list-style: none; padding: 0; margin: 48px 0 0; display: grid; gap: 16px 32px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.feature-list li { display: flex; gap: 12px; align-items: flex-start; }
.feature-list .icon { color: var(--gcs-blue-bright); margin-top: 2px; }
.feature-list li:not(:has(.icon))::before {  /* no icon for this feature: the offset tick instead */
  content: ""; flex: none; width: 12px; height: 1px; margin: .8em 6px 0; background: var(--gcs-blue-bright); box-shadow: -1px 2px 0 var(--gcs-red);
}
.gallery { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.gallery--small { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
.gallery a { display: block; line-height: 0; border: 1px solid var(--gcs-line); }
.gallery a:hover, .gallery a:focus-visible { box-shadow: -2px 2px 0 var(--gcs-red), 2px -2px 0 var(--gcs-blue); }
.gallery img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.lightbox { padding: 0; border: 0; background: transparent; max-width: 96vw; max-height: 94vh; overflow: visible; }
.lightbox::backdrop { background: rgba(0,0,0,.9); }
.lightbox img { display: block; max-width: 92vw; max-height: 88vh; width: auto; height: auto; }
.lightbox button { position: fixed; background: rgba(0,0,0,.6); color: #fff; border: 1px solid var(--gcs-line); width: 48px; height: 48px; font-size: 28px; line-height: 1; cursor: pointer; }
.lightbox__close { top: 16px; right: 16px; }
.lightbox__prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 16px; top: 50%; transform: translateY(-50%); }
.proof--wrap { grid-auto-flow: row; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); overflow: visible; }
.laurel img { width: 120px; height: auto; margin-bottom: 8px; }
.game-facts { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: start; }
.game-facts::before, .game-facts::after { content: none; display: none; }
@media (max-width: 900px) { .game-facts { grid-template-columns: 1fr; } }
.factbox { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
.factbox > div { padding: 12px 0; border-bottom: 1px solid var(--gcs-line); }
.factbox dt { font: 500 12px/1.4 var(--font-display); letter-spacing: .12em; text-transform: uppercase; color: var(--gcs-text-muted); }
.factbox dd { margin: 4px 0 0; }
@media (max-width: 600px) { .factbox { grid-template-columns: 1fr; } }
.game-facts__buy h3 { margin-top: 0; }
.steam-widget { margin-top: 24px; max-width: 100%; overflow: hidden; }
.steam-widget iframe { width: 100%; max-width: 646px; border: 0; }
.extras-block { margin-bottom: 48px; }
.extras-block__title { font-size: 24px; margin-bottom: 4px; }
.post-card .card-gcs__media img { width: 100%; height: 100%; object-fit: cover; }
.link-like { color: var(--gcs-blue-bright); }

/* press kit pages: plain, print-friendly */
.presskit h1 { margin-bottom: 8px; }
.presskit__sec { margin-top: 48px; max-width: 900px; }
.presskit__sec h2 { font-size: 22px; border-bottom: 1px solid var(--gcs-line); padding-bottom: 8px; }
.factsheet { width: 100%; border-collapse: collapse; }
.factsheet th, .factsheet td { text-align: left; vertical-align: top; padding: 8px 12px 8px 0; border-bottom: 1px solid var(--gcs-line); }
.factsheet th { width: 200px; color: var(--gcs-text-muted); font-weight: 500; }
.filelist { columns: 2 320px; padding-left: 18px; }
.filelist li { break-inside: avoid; margin-bottom: 4px; }
@media print {
  .site-header, .site-footer, .no-print, .buybar, .video-toggle { display: none !important; }
  body, .section, .section--ink { background: #fff !important; color: #000 !important; }
  .presskit h1, .presskit h2, .presskit h3 { color: #000; text-shadow: none; }
  a { color: #000; }
  .presskit { padding-top: 0 !important; }
}

/* ------------------------------------------------------------------ stage 6: studio, services, contact, devlog, privacy */
.page-head { padding-top: calc(var(--gcs-header-h) + 72px); padding-bottom: 24px; }
.page-head-spacer { height: calc(var(--gcs-header-h) + 32px); }
.page-contact .contact-panel { padding-top: 32px; }
.h3 { font-size: 22px; }
.hero--short { min-height: 60vh; }
.hero--short .hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero--short .hero__content { padding-bottom: 8vh; }
.studio-intro { display: grid; grid-template-columns: 1.4fr 1fr; gap: 56px; align-items: center; }
.studio-intro::before, .studio-intro::after { content: none; display: none; }
@media (max-width: 900px) { .studio-intro { grid-template-columns: 1fr; } }
.fact__value--small { font-size: 26px; line-height: 1.15; }
.timeline { list-style: none; margin: 0 auto; padding: 0; max-width: 760px; border-left: 1px solid var(--gcs-line); }
.timeline li { position: relative; display: grid; grid-template-columns: 64px 1fr; gap: 16px; padding: 10px 0 10px 24px; }
.timeline li::before { content: ""; position: absolute; left: -5px; top: 18px; width: 9px; height: 9px; background: var(--gcs-blue-bright); box-shadow: -2px 2px 0 var(--gcs-red); }
.timeline__year { font: 500 18px/1.4 var(--font-display); color: var(--gcs-blue-bright); }
.timeline a { color: var(--gcs-text); text-decoration: none; }
.timeline a:hover, .timeline a:focus { color: var(--gcs-blue-bright); text-decoration: underline; }
.funding-grid { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
/* cards stretch to the tallest; buttons and logo bar pinned to the bottom so they line up across cards */
.funding-card .card-gcs__body { display: flex; flex-direction: column; height: 100%; }
.funding-card h3 { margin-bottom: 14px; }
.funding-card__foot { margin-top: auto; padding-top: 16px; }
.funding-card__foot .btn-row { margin: 0; }
.funding-card__bar { display: flex; align-items: center; justify-content: center; height: 64px; background: #fff; padding: 6px; line-height: 0; margin-top: 12px; }
.funding-card__bar img { max-height: 100%; width: auto; max-width: 100%; }  /* same slot height for every bar: rows line up */
.grid-centred { grid-template-columns: repeat(auto-fit, minmax(240px, 300px)); justify-content: center; }
/* services: clients band over a darkened mosaic of our game tiles */
.band--mosaic { position: relative; overflow: hidden; }
.mosaic { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(6, 1fr); opacity: .6; }
.mosaic picture, .mosaic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.band--mosaic::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.72) 0%, rgba(0,0,0,.5) 50%, rgba(0,0,0,.72) 100%); }
/* services banner: the mosaic as a short hero; darker towards the bottom where the headline sits */
.services-hero::after { background: linear-gradient(180deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.35) 40%, rgba(0,0,0,.85) 100%); }
.services-hero .hero__content { z-index: 1; }
.services-hero .lead { max-width: 640px; }
.clients { grid-template-columns: 1.3fr 1fr; }
.band--mosaic > .container { position: relative; z-index: 1; }
@media (max-width: 767px) { .mosaic { grid-template-columns: repeat(3, 1fr); } }
.funding-card__bar img { width: 100%; height: auto; }
.services-grid { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.proof-thumbs { display: flex; gap: 6px; margin: 8px 0; }
.proof-thumbs img { width: 44px; height: 44px; object-fit: cover; border: 1px solid var(--gcs-line); }
.clients { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.clients::before, .clients::after { content: none; display: none; }
@media (max-width: 900px) { .clients { grid-template-columns: 1fr; } }
.client-logos { list-style: none; padding: 0; margin: 0 0 16px; display: flex; flex-wrap: wrap; gap: 12px; }
.client-logos li { padding: 14px 20px; border: 1px solid var(--gcs-line); font: 500 18px/1 var(--font-display); letter-spacing: .06em; text-transform: uppercase; }
.client-logos { align-items: center; gap: 40px; }
.client-logos li:has(img) { padding: 0; border: 0; }
.client-logos img { height: 44px; width: auto; display: block; filter: brightness(0) invert(1); }  /* one white set on black */
.client-logos img[src*="blizzard"] { height: 72px; }  /* near-square mark: taller so it weighs the same as the wordmarks */
.posts-grid { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.post-card .card-gcs__body p:last-child { margin-top: 6px; }
.devlog-links { margin: 0 0 24px; }
.pager { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 40px; flex-wrap: wrap; }
.pager__nums { display: flex; gap: 6px; }
.pager a { padding: 8px 12px; border: 1px solid var(--gcs-line); color: var(--gcs-text); text-decoration: none; }
.pager a[aria-current="page"] { background: var(--gcs-blue-bright); color: #000; border-color: var(--gcs-blue-bright); }
.post__wrap { max-width: 800px; }
.post__title { font-size: clamp(30px, 4.5vw, 52px); margin-bottom: 8px; }
.post__cover { margin: 24px 0 32px; }
.post__cover img { width: 100%; height: auto; display: block; }
.post__body, .prose { font-size: 17px; line-height: 1.75; }
.post__body h2, .post__body h3, .post__body h4, .prose h2 { margin: 36px 0 12px; font-size: 24px; }
.post__body img, .post__body video { max-width: 100%; height: auto; display: block; margin: 16px 0; }
.post__body .post-img { display: block; }
.post__body blockquote { border-left: 2px solid var(--gcs-red); padding: 4px 0 4px 18px; margin: 20px 0; color: var(--gcs-text); font-size: 18px; }
.post__body ul, .post__body ol { padding-left: 22px; }
.post-nav { display: flex; justify-content: space-between; gap: 24px; margin: 48px 0 32px; padding-top: 24px; border-top: 1px solid var(--gcs-line); }
.post-nav a { max-width: 45%; text-decoration: none; }

/* ------------------------------------------------------------------ styleguide helpers */
.swatches { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
.swatch { border: 1px solid var(--gcs-line); }
.swatch__chip { height: 72px; }
.swatch__meta { padding: 10px 12px; font-size: 13px; line-height: 1.5; }
.swatch__meta code { color: var(--gcs-text); background: none; padding: 0; }

/* ------------------------------------------------------------------ motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  /* Brief: the offset motif is turned off under reduced motion */
  .offset { text-shadow: none; }
  a.card-gcs:hover, .btn-gcs--primary:hover, .btn-gcs--primary:focus { box-shadow: none; }
}
