/* ==========================================================================
   One Up Plus — site styles
   Palette: deep navy base, brand blue (#00aeef from the logo), plus arcade
   accents: pink, 1UP green, coin gold. Display type: Bungee. Body: Nunito.
   Pixel labels: Press Start 2P.
   ========================================================================== */

:root {
  --bg: #0a0d1a;
  --bg-2: #101532;
  --bg-3: #161c3d;
  --panel: #151b3a;
  --line: rgba(255, 255, 255, 0.08);
  --text: #e9edff;
  --muted: #9ea7cc;
  --blue: #00aeef;
  --pink: #ff3e8f;
  --green: #45e07c;
  --gold: #ffc531;
  --accent: var(--blue);
  --display: 'Bungee', 'Impact', sans-serif;
  --body: 'Nunito', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --pixel: 'Press Start 2P', monospace;
  --radius: 14px;
  --wrap: 1180px;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--body); font-size: 17px; line-height: 1.6; color: var(--text);
  background: var(--bg);
  background-image:
    radial-gradient(900px 500px at 10% -10%, rgba(0, 174, 239, 0.18), transparent 60%),
    radial-gradient(800px 500px at 100% 20%, rgba(255, 62, 143, 0.12), transparent 60%),
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: auto, auto, 32px 32px, 32px 32px;
  background-attachment: fixed;
}
img, video, iframe { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: #fff; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: var(--gold); color: #000; padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }
.wrap { width: min(var(--wrap), 100% - 2.5rem); margin-inline: auto; }
.pixel { font-family: var(--pixel); font-size: 0.6rem; letter-spacing: 0.06em; text-transform: uppercase; }

/* Type ----------------------------------------------------------------- */
.h1, .h2, .h3, .h4, .hero__title, .feat__title, .ghero__title, .gcard__title {
  font-family: var(--display); font-weight: 400; line-height: 1.05; letter-spacing: 0.01em; margin: 0 0 0.5em; text-wrap: balance;
}
.h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
.h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); }
.h3 { font-size: clamp(1.15rem, 2vw, 1.5rem); }
.h4 { font-size: 1.05rem; margin-bottom: 0.4em; }
.lead { font-size: 1.15rem; color: #c9d0f0; }
.eyebrow { color: var(--muted); margin: 0 0 0.6rem; font-weight: 700; font-size: 0.9rem; letter-spacing: 0.02em; display: flex; align-items: center; gap: 0.7rem; }
.eyebrow .pixel { color: var(--gold); }
.eyebrow .pixel::before { content: '★ '; }
.hl { color: var(--accent); text-shadow: 0 0 24px color-mix(in srgb, var(--accent) 60%, transparent); }

/* Buttons --------------------------------------------------------------- */
.btn {
  --b: var(--accent);
  display: inline-flex; align-items: center; gap: 0.55rem; padding: 0.8rem 1.35rem; border-radius: 10px;
  font-family: var(--body); font-weight: 800; font-size: 0.95rem; letter-spacing: 0.02em; text-transform: uppercase; line-height: 1;
  border: 2px solid var(--b); color: #fff; cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
}
.btn--primary { background: var(--b); color: #06101c; box-shadow: 0 6px 0 color-mix(in srgb, var(--b) 45%, #000); }
.btn--primary:hover { color: #06101c; transform: translateY(-2px); box-shadow: 0 8px 0 color-mix(in srgb, var(--b) 45%, #000); }
.btn--primary:active { transform: translateY(3px); box-shadow: 0 2px 0 color-mix(in srgb, var(--b) 45%, #000); }
.btn--ghost { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.2); }
.btn--ghost:hover { border-color: var(--b); background: rgba(255,255,255,0.08); color: #fff; }
.btn--lg { padding: 1rem 1.7rem; font-size: 1.05rem; }
.btn--block { width: 100%; justify-content: center; margin-top: 0.8rem; }
.ico { width: 1.15em; height: 1.15em; flex: none; }

.badge {
  font-family: var(--pixel); font-size: 0.55rem; text-transform: uppercase; letter-spacing: 0.05em; line-height: 1;
  padding: 0.45rem 0.6rem 0.4rem; border-radius: 6px; background: var(--bg); color: #fff; border: 2px solid;
  display: inline-block; white-space: nowrap;
}
.badge--gold { color: var(--gold); border-color: var(--gold); }
.badge--green { color: var(--green); border-color: var(--green); }
.badge--blue { color: var(--blue); border-color: var(--blue); }

/* Top bar -------------------------------------------------------------- */
.topbar { position: sticky; top: 0; z-index: 50; background: rgba(10, 13, 26, 0.78); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.topbar__in { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 72px; }
.brand img { width: 150px; height: auto; }
.nav { display: flex; gap: 0.25rem; align-items: center; }
.nav a { color: var(--text); font-weight: 800; padding: 0.55rem 0.85rem; border-radius: 8px; font-size: 0.95rem; }
.nav a:hover { background: rgba(255,255,255,0.07); }
.nav a[aria-current] { color: var(--gold); }
.nav__cta { border: 2px solid var(--blue); margin-left: 0.4rem; }
.navtoggle { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 8px; cursor: pointer; flex-direction: column; justify-content: center; gap: 5px; }
.navtoggle span { display: block; height: 3px; background: #fff; border-radius: 2px; transition: transform 0.2s, opacity 0.2s; }
.navtoggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.navtoggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.navtoggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Sections -------------------------------------------------------------- */
.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section--tight { padding-top: clamp(1.5rem, 4vw, 3rem); }
.section--alt { background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.0)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section__head { display: flex; align-items: end; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.pagehead { padding: clamp(2.5rem, 6vw, 4.5rem) 0 1.5rem; }
.pagehead--center { text-align: center; padding-bottom: 4rem; }
.pagehead .lead { max-width: 60ch; }
.split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(1.5rem, 4vw, 4rem); align-items: start; }

/* Panels ---------------------------------------------------------------- */
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem 1.5rem; margin-bottom: 1.2rem; position: relative; }
.panel::before { content: ''; position: absolute; inset: 0 auto 0 0; width: 4px; background: var(--accent); border-radius: var(--radius) 0 0 var(--radius); opacity: 0.9; }
.panel__k { color: var(--muted); margin: 0 0 0.6rem; }
.checks { list-style: none; padding: 0; margin: 0; }
.checks li { position: relative; padding-left: 1.6rem; margin-bottom: 0.55rem; }
.checks li::before { content: '▶'; position: absolute; left: 0; top: 0.05em; color: var(--accent); font-size: 0.8em; }
.facts { display: grid; grid-template-columns: auto 1fr; gap: 0.35rem 1rem; margin: 0 0 1rem; }
.facts dt { color: var(--muted); font-weight: 700; font-size: 0.9rem; }
.facts dd { margin: 0; overflow-wrap: anywhere; }
.facts--inline { max-width: 70ch; }
.linklist { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.linklist a { font-size: 0.85rem; font-weight: 800; padding: 0.35rem 0.7rem; border-radius: 999px; border: 1px solid rgba(255,255,255,0.18); color: var(--text); }
.linklist a:hover { border-color: var(--blue); color: var(--blue); }
.tags { list-style: none; padding: 0; margin: 0.6rem 0 0; display: flex; flex-wrap: wrap; gap: 0.4rem; justify-content: center; }
.tags li { font-family: var(--pixel); font-size: 0.5rem; padding: 0.4rem 0.55rem; border-radius: 6px; background: rgba(255,255,255,0.08); }

/* Hero (home) ----------------------------------------------------------- */
.hero { position: relative; overflow: hidden; padding: clamp(3rem, 8vw, 6.5rem) 0 2.5rem; min-height: min(72vh, 680px); display: grid; align-content: center; isolation: isolate; }
.hero__bg { position: absolute; inset: 0; z-index: -1; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 40%; filter: saturate(1.1); }
.hero__bg::after { content: ''; position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(10,13,26,0.96) 0%, rgba(10,13,26,0.85) 40%, rgba(10,13,26,0.35) 75%, rgba(10,13,26,0.55) 100%),
  linear-gradient(180deg, rgba(10,13,26,0.2), rgba(10,13,26,0.1) 60%, var(--bg) 100%); }
.hero__copy { max-width: 680px; }
.hero__in { display: grid; justify-items: start; }
.hero__kicker { color: var(--green); margin-bottom: 1.2rem; }
.hero__title { font-size: clamp(2.3rem, 6vw, 4.4rem); margin-bottom: 1rem; }
.hero__lead { font-size: 1.2rem; color: #d6dcf7; max-width: 56ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.6rem; }
.hero__actions--center { justify-content: center; }
.hero__stats { display: flex; flex-wrap: wrap; gap: 1rem 2.5rem; margin-top: 3.5rem; }
.stat { display: flex; flex-direction: column; }
.stat__n { font-family: var(--display); font-size: 2.2rem; color: var(--gold); line-height: 1; }
.stat__l { color: var(--muted); font-size: 0.9rem; font-weight: 700; }
.blink { animation: blink 1.4s steps(2, start) infinite; }
@keyframes blink { to { visibility: hidden; } }

/* Ticker ---------------------------------------------------------------- */
.ticker { overflow: hidden; border-block: 1px solid var(--line); background: rgba(255,255,255,0.03); padding: 0.55rem 0; }
.ticker__track { display: flex; gap: 2.5rem; width: max-content; animation: ticker 40s linear infinite; font-family: var(--pixel); font-size: 0.6rem; text-transform: uppercase; }
.ticker__track span { white-space: nowrap; color: var(--text); }
.ticker__track span::before { content: '●'; color: var(--accent); margin-right: 0.7rem; }
.ticker__track em { font-style: normal; color: var(--muted); margin-left: 0.6rem; }
@keyframes ticker { to { transform: translateX(-50%); } }
.ticker:hover .ticker__track { animation-play-state: paused; }

/* Featured -------------------------------------------------------------- */
.feat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 1.5rem; margin-top: 1.5rem; }
.feat { display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform 0.2s, border-color 0.2s; }
.feat:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--accent) 60%, transparent); }
.feat__art { display: block; position: relative; aspect-ratio: 1920 / 760; overflow: hidden; }
.feat__art > img:first-child { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.feat:hover .feat__art > img:first-child { transform: scale(1.04); }
.feat__logo { position: absolute; left: 1.2rem; bottom: 1rem; width: min(42%, 260px); height: auto; filter: drop-shadow(0 6px 14px rgba(0,0,0,0.6)); }
.feat__body { padding: 1.3rem 1.5rem 1.5rem; flex: 1; display: flex; flex-direction: column; }
.feat__body .badge { margin-bottom: 0.7rem; align-self: flex-start; }
.feat__title { font-size: 1.6rem; margin-bottom: 0.2rem; }
.feat__title a { color: #fff; }
.feat__genre { color: var(--accent); font-weight: 800; font-size: 0.9rem; margin-bottom: 0.6rem; }
.feat__actions { display: grid; grid-template-columns: 1fr; gap: 0.6rem; margin-top: auto; padding-top: 0.8rem; }
.feat__actions .btn { justify-content: center; }

/* Game cards ------------------------------------------------------------ */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 1.4rem; margin-top: 1.5rem; }
.card-grid--4 { grid-template-columns: repeat(4, 1fr); }
.gcard { display: block; color: var(--text); background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; position: relative;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s; }
.gcard:hover { transform: translateY(-6px) rotate(-0.4deg); color: var(--text); border-color: var(--accent);
  box-shadow: 0 18px 40px rgba(0,0,0,0.5), 0 0 0 3px color-mix(in srgb, var(--accent) 35%, transparent); }
.gcard__art { position: relative; aspect-ratio: 2 / 3; overflow: hidden; background: #000; }
.gcard__art img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.gcard:hover .gcard__art img { transform: scale(1.05); }
.gcard__art .badge { position: absolute; top: 0.7rem; left: 0.7rem; }
.gcard__body { padding: 0.9rem 1rem 1.1rem; border-top: 3px solid var(--accent); }
.gcard__title { font-size: 1.05rem; margin-bottom: 0.15rem; }
.gcard__genre { color: var(--accent); font-size: 0.8rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 0.4rem; }
.gcard__blurb { color: var(--muted); font-size: 0.92rem; margin: 0; }
.gcard.is-hidden { display: none; }

.filters { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.4rem; }
.chip { font-family: var(--pixel); font-size: 0.55rem; text-transform: uppercase; padding: 0.7rem 0.9rem; border-radius: 999px; border: 2px solid rgba(255,255,255,0.18); background: transparent; color: var(--text); cursor: pointer; }
.chip:hover { border-color: var(--blue); }
.chip.is-active { background: var(--blue); border-color: var(--blue); color: #061019; }
.filters__empty { color: var(--muted); text-align: center; padding: 2rem; }

.mobile-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; margin-top: 1.5rem; }
.mcard { display: grid; grid-template-columns: 72px 1fr; gap: 0.9rem; align-items: center; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 0.8rem; color: var(--text); transition: border-color 0.2s, transform 0.2s; }
.mcard:hover { border-color: var(--accent); transform: translateY(-3px); color: var(--text); }
.mcard img { width: 72px; height: 96px; object-fit: cover; border-radius: 8px; }
.mcard--wide img { height: 72px; width: 96px; }
.mcard--wide { grid-template-columns: 96px 1fr; }
.mcard div { display: flex; flex-direction: column; gap: 0.15rem; }
.mcard span { color: var(--muted); font-size: 0.85rem; }

/* Team ------------------------------------------------------------------ */
.team-mini { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }
.team-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 420px)); gap: 1.5rem; justify-content: center; }
.pcard { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem 1.2rem; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 0.3rem; position: relative; overflow: hidden; }
.pcard::after { content: ''; position: absolute; inset: auto 0 0; height: 4px; background: var(--accent); }
.pcard img { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; border: 4px solid var(--accent); box-shadow: 0 0 0 4px var(--bg), 0 0 30px color-mix(in srgb, var(--accent) 50%, transparent); }
.pcard--big img { width: 160px; height: 160px; }
.pcard__p { color: var(--accent); margin-top: 0.6rem; }
.pcard strong { font-size: 1.05rem; }
.pcard > span:last-child { color: var(--muted); font-size: 0.9rem; font-weight: 700; }
.pcard__role { color: var(--muted); margin: 0; }

.timeline { list-style: none; padding: 0; margin: 0; }
.timeline li { display: grid; grid-template-columns: 4.2rem 1fr; gap: 0.8rem; padding: 0.55rem 0; border-bottom: 1px dashed var(--line); align-items: baseline; }
.timeline li:last-child { border: 0; }
.timeline__y { font-family: var(--pixel); font-size: 0.6rem; color: var(--gold); }

/* CTA band -------------------------------------------------------------- */
.cta-band { background: linear-gradient(120deg, rgba(0,174,239,0.18), rgba(255,62,143,0.16)); border-block: 1px solid var(--line); }
.cta-band__in { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.cta-band .lead { margin: 0; }

/* Game hero ------------------------------------------------------------- */
.ghero { position: relative; isolation: isolate; padding: clamp(2.5rem, 7vw, 5.5rem) 0 clamp(2rem, 5vw, 3.5rem); overflow: hidden; }
.ghero__bg { position: absolute; inset: 0; z-index: -1; }
.ghero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 30%; }
.ghero__bg::after { content: ''; position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(10,13,26,0.94) 0%, rgba(10,13,26,0.7) 40%, rgba(10,13,26,0.2) 70%, rgba(10,13,26,0.35) 100%),
  linear-gradient(180deg, rgba(10,13,26,0.25), rgba(10,13,26,0.15) 55%, var(--bg) 100%); }
.ghero--services { min-height: min(60vh, 560px); display: grid; align-content: center; }
.ghero--services .ghero__bg img { object-position: 30% 40%; }
.ghero--services .ghero__bg::after { background: linear-gradient(90deg, rgba(10,13,26,0.9) 0%, rgba(10,13,26,0.6) 45%, rgba(10,13,26,0.15) 100%), linear-gradient(180deg, rgba(10,13,26,0.2), var(--bg) 100%); }
.ghero__in { display: grid; justify-items: start; }
.ghero__in > * { max-width: 640px; }
.ghero__logo { width: min(100%, 360px); height: auto; margin: 0.5rem 0 1rem; filter: drop-shadow(0 8px 20px rgba(0,0,0,0.7)); }
.ghero__title { font-size: clamp(2rem, 5vw, 3.4rem); }
.ghero__tag { font-size: 1.25rem; color: #d6dcf7; font-weight: 700; }
.ghero__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem 1rem; color: var(--muted); font-weight: 700; font-size: 0.92rem; margin-top: 0.4rem; }
.ghero__meta span:not(.badge)::before { content: '◆ '; color: var(--accent); font-size: 0.7em; }
.crumbs { font-size: 0.85rem; color: var(--muted); font-weight: 700; margin-bottom: 1rem; }
.crumbs span { margin: 0 0.3rem; }

.glayout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.gmain .lead { font-size: 1.2rem; }
.gblock { margin: 1.8rem 0; }
.gsec h2 { color: var(--accent); }
.gsec h2::before { content: '// '; opacity: 0.5; }
.gside { position: sticky; top: 88px; }
.steamwidget { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: #1b2838; }

.video { position: relative; aspect-ratio: 16 / 9; background: #000; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); }
.video video, .video iframe { width: 100%; height: 100%; }
.video__play { all: unset; cursor: pointer; display: block; width: 100%; height: 100%; position: relative; }
.video__play img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.8); transition: filter 0.2s, transform 0.4s; }
.video__play:hover img { filter: brightness(1); transform: scale(1.02); }
.video__btn { position: absolute; inset: 0; margin: auto; width: 84px; height: 84px; border-radius: 50%; background: var(--accent); color: #06101c; display: grid; place-items: center; box-shadow: 0 0 0 10px color-mix(in srgb, var(--accent) 30%, transparent), 0 10px 30px rgba(0,0,0,0.5); transition: transform 0.15s; }
.video__btn .ico { width: 40px; height: 40px; margin-left: 4px; }
.video__play:hover .video__btn { transform: scale(1.08); }

.loopvid video { width: 100%; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow); }

.quotes { display: grid; gap: 0.9rem; }
.quote { margin: 0; background: var(--panel); border-left: 4px solid var(--gold); border-radius: 0 var(--radius) var(--radius) 0; padding: 1rem 1.2rem; }
.quote p { margin: 0 0 0.3rem; font-size: 1.05rem; font-style: italic; }
.quote cite { font-style: normal; color: var(--muted); font-weight: 700; font-size: 0.9rem; }

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.9rem; margin-top: 1.4rem; }
.gallery__item { display: block; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16 / 9; background: #000; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.gallery__item:hover img { transform: scale(1.05); }
.gallery__sub { margin-top: 2.5rem; }

.presskit { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: clamp(1.5rem, 4vw, 3.5rem); margin-top: 1.5rem; }
.logos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; align-content: start; }
.logos--studio { grid-template-columns: repeat(2, 1fr); }
.logos__item { display: grid; gap: 0.6rem; justify-items: center; padding: 1.2rem; border-radius: var(--radius); border: 1px solid var(--line); background:
  repeating-conic-gradient(rgba(255,255,255,0.06) 0 25%, transparent 0 50%) 0 0 / 20px 20px, var(--bg-3); color: var(--muted); }
.logos__item:hover { border-color: var(--blue); color: var(--blue); }
.logos__item img { max-height: 120px; width: auto; object-fit: contain; }
.logos__item--light { background: repeating-conic-gradient(rgba(0,0,0,0.06) 0 25%, transparent 0 50%) 0 0 / 20px 20px, #f4f6ff; color: #334; }

/* Services ------------------------------------------------------------- */
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.svc { margin: 0; padding-top: 1.6rem; }
.svc__n { color: var(--accent); display: block; margin-bottom: 0.8rem; font-size: 0.8rem; }
.svc p { margin: 0; color: var(--muted); font-size: 0.95rem; }

/* Forms ----------------------------------------------------------------- */
.form { display: grid; gap: 1rem; }
.form label { display: block; font-weight: 800; font-size: 0.9rem; }
.form label input, .form label textarea { margin-top: 0.35rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form input, .form textarea { font: inherit; color: var(--text); background: var(--bg); border: 2px solid rgba(255,255,255,0.14); border-radius: 10px; padding: 0.75rem 0.9rem; width: 100%; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(0,174,239,0.2); }
.form textarea { resize: vertical; }
.req { color: var(--pink); }
.hp { position: absolute; left: -9999px; }
.form__note { margin: 0; color: var(--gold); font-weight: 700; font-size: 0.95rem; min-height: 1.4em; }
.form .btn { justify-self: start; }

/* Footer ---------------------------------------------------------------- */
.footer { border-top: 1px solid var(--line); background: rgba(0,0,0,0.35); padding: 3.5rem 0 1.5rem; margin-top: 2rem; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2rem; }
.footer__logo { width: 180px; margin-bottom: 1rem; }
.footer__blurb { color: var(--muted); font-size: 0.95rem; max-width: 42ch; }
.footer__legal { color: var(--muted); font-size: 0.8rem; opacity: 0.8; }
.footer__h { font-family: var(--pixel); font-size: 0.6rem; color: var(--gold); margin: 0.4rem 0 1rem; }
.footer__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.4rem; }
.footer__list a { color: var(--text); font-weight: 700; font-size: 0.95rem; }
.footer__list a:hover { color: var(--blue); }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem; margin-top: 2.5rem; padding-top: 1.2rem; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.85rem; }
.footer__bottom .pixel { color: var(--muted); }

/* Lightbox -------------------------------------------------------------- */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(4, 6, 14, 0.94); display: grid; place-items: center; padding: 2rem; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: min(96vw, 1600px); max-height: 88vh; width: auto; height: auto; border-radius: 10px; box-shadow: var(--shadow); }
.lightbox button { position: absolute; background: rgba(255,255,255,0.1); color: #fff; border: 0; width: 52px; height: 52px; border-radius: 50%; font-size: 2rem; line-height: 1; cursor: pointer; }
.lightbox button:hover { background: var(--blue); color: #06101c; }
.lightbox__close { top: 1rem; right: 1rem; }
.lightbox__prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 1rem; top: 50%; transform: translateY(-50%); }

/* Responsive ------------------------------------------------------------ */
@media (max-width: 1000px) {
  .card-grid--4 { grid-template-columns: repeat(3, 1fr); }
  .mobile-grid, .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .glayout { grid-template-columns: 1fr; }
  .gside { position: static; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .navtoggle { display: flex; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; background: var(--bg-2); border-bottom: 1px solid var(--line); padding: 0.6rem; }
  .nav.is-open { display: flex; }
  .nav a { padding: 0.9rem 1rem; }
  .nav__cta { margin: 0.4rem 0 0; text-align: center; }
  .split, .feat-grid, .team-mini, .team-grid, .presskit, .form__row { grid-template-columns: 1fr; }
  .card-grid, .card-grid--4 { grid-template-columns: repeat(2, 1fr); gap: 0.9rem; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .mobile-grid, .svc-grid { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .hero__bg img { object-position: 60% 30%; }
  .hero__bg::after { background: linear-gradient(180deg, rgba(10,13,26,0.7), rgba(10,13,26,0.82) 60%, var(--bg) 100%); }
  .hero__stats { gap: 1rem 1.6rem; margin-top: 2.5rem; }
  .stat__n { font-size: 1.8rem; }
  .footer__grid { grid-template-columns: 1fr; }
  .lightbox { padding: 0.5rem; }
  .lightbox__prev, .lightbox__next { top: auto; bottom: 1rem; transform: none; }
}
@media (max-width: 420px) {
  .card-grid, .card-grid--4 { grid-template-columns: 1fr 1fr; }
  .gcard__blurb { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
