/* =========================================================
   Skunkape Interactive — site styles
   Colours and fonts live in :root so they're easy to retune.
   ========================================================= */

:root {
    /* Palette (pulled from Captain McSpacebiff's in-game UI and art) */
    --navy: #121A2E; /* dark steel blue of the lab walls — page background */
    --navy-rgb: 18, 26, 46;
    --navy-raised: #1C2A48; /* cards on the background */
    --navy-deep: #0D1424; /* past games section */
    --navy-deepest: #080C18; /* footer */
    --paper: #EFE6D2; /* the Captain's tan spacesuit */
    --paper-rgb: 239, 230, 210;
    --paper-dark: #E2D6BC;
    --ink-soft: #4A5878; /* secondary text on paper */
    --accent: #0a8c1f; /* medium green — main accent */
    --accent-text: #B3261E; /* red dark enough for text on paper */
    --green: #3BD94A; /* suit-armour green, for bright buttons */
    --green-shadow: #1F8A2C;
    --red: #C42A20; /* Soviet Moonion star */
    --orange: #F5A33A; /* orbit ring on the Planet America emblem */
    --depot: #112129; /* deep blue-steel behind the merch */
    /* Subtle background patterns, a different one per dark section; the starfield is from the 1950s look (the playtest
     section has its own halftone dots). Only ever on backgrounds, never over media. */
    --pat-cross: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32'%3E%3Cpath d='M16 12.5v7M12.5 16h7' stroke='%23EFE6D2' stroke-opacity='0.09' stroke-width='1.5'/%3E%3C/svg%3E");
    --pat-stripes: repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.035) 0 2px, transparent 2px 14px);
    --pat-stars: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='360' height='360'%3E%3Cg fill='%23EFE6D2'%3E%3Ccircle cx='117' cy='54' r='1.5' fill-opacity='.35'/%3E%3Ccircle cx='26' cy='193' r='.8' fill-opacity='.35'/%3E%3Ccircle cx='327' cy='77' r='.6' fill-opacity='.9'/%3E%3Ccircle cx='151' cy='87' r='1.2' fill-opacity='.9'/%3E%3Ccircle cx='208' cy='143' r='.8' fill-opacity='.35'/%3E%3Ccircle cx='200' cy='48' r='1' fill-opacity='.5'/%3E%3Ccircle cx='195' cy='206' r='1.2' fill-opacity='.5'/%3E%3Ccircle cx='37' cy='206' r='.8' fill-opacity='.7'/%3E%3Ccircle cx='35' cy='256' r='1.2' fill-opacity='.35'/%3E%3Ccircle cx='223' cy='179' r='1.2' fill-opacity='.9'/%3E%3Ccircle cx='280' cy='168' r='1' fill-opacity='.7'/%3E%3Ccircle cx='108' cy='286' r='1.5' fill-opacity='.5'/%3E%3Ccircle cx='29' cy='108' r='1' fill-opacity='.7'/%3E%3Ccircle cx='263' cy='104' r='.6' fill-opacity='.35'/%3E%3Ccircle cx='336' cy='152' r='1.5' fill-opacity='.35'/%3E%3Ccircle cx='275' cy='206' r='.8' fill-opacity='.7'/%3E%3Ccircle cx='251' cy='23' r='1.5' fill-opacity='.7'/%3E%3Ccircle cx='233' cy='358' r='1' fill-opacity='.7'/%3E%3Ccircle cx='258' cy='319' r='.8' fill-opacity='.35'/%3E%3Ccircle cx='178' cy='79' r='.8' fill-opacity='.5'/%3E%3Ccircle cx='60' cy='145' r='.8' fill-opacity='.5'/%3E%3Ccircle cx='295' cy='311' r='.8' fill-opacity='.9'/%3E%3Ccircle cx='355' cy='246' r='1' fill-opacity='.5'/%3E%3Ccircle cx='4' cy='299' r='.8' fill-opacity='.7'/%3E%3Ccircle cx='101' cy='52' r='1.2' fill-opacity='.7'/%3E%3Ccircle cx='164' cy='314' r='1.5' fill-opacity='.9'/%3E%3Ccircle cx='143' cy='142' r='1' fill-opacity='.9'/%3E%3Ccircle cx='22' cy='24' r='.8' fill-opacity='.9'/%3E%3Ccircle cx='60' cy='330' r='1' fill-opacity='.6'/%3E%3C/g%3E%3C/svg%3E");
    /* Type */
    --font-display: 'Bowlby One', 'Arial Black', sans-serif;
    --font-label: 'Barlow Condensed', 'Arial Narrow', sans-serif;
    --font-body: 'Barlow', system-ui, sans-serif;
    --radius: 12px;
    --container: 1280px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--pat-stars) var(--navy);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  overflow-x: hidden;
}
img, video { max-width: 100%; height: auto; display: block; }
h1, h2, h3, p { margin: 0; }
a { color: #7EE88A; }
a:hover { color: #B6F5BD; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }

.container { max-width: var(--container); margin: 0 auto; padding-inline: 24px; }
.section { padding-block: 104px; }
.section-tight-top { padding-top: 0; }

/* Vertical rhythm helpers */
.stack-xs, .stack-sm, .stack-md, .stack-lg, .stack-xl { display: flex; flex-direction: column; }
.stack-xs { gap: 8px; }
.stack-sm { gap: 12px; }
.stack-md { gap: 24px; }
.stack-lg { gap: 40px; }
.stack-xl { gap: 56px; }

/* ---------- Type ---------- */
.display {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(38px, 4.6vw, 64px);
  line-height: 1.03;
  text-transform: uppercase;
}
.display-sm { font-size: clamp(34px, 3.8vw, 52px); }
.heading {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 34px;
  text-transform: uppercase;
}
.eyebrow, .eyebrow-sm, .meta, .tag {
  font-family: var(--font-label);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.eyebrow { font-size: 18px; }
.eyebrow-sm { font-size: 15px; font-weight: 600; color: rgba(var(--paper-rgb), 0.75); }
.eyebrow-accent { color: var(--accent-text); }
.body-lg { font-size: clamp(18px, 1.5vw, 20px); line-height: 1.6; max-width: 620px; }
.body-md { font-size: 18px; line-height: 1.6; }
.soft { color: rgba(var(--paper-rgb), 0.85); }
.muted-ink { color: var(--ink-soft); font-size: 16px; }
.text-green { color: var(--green); }
.text-orange { color: var(--orange); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-label);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  padding: 12px 22px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(2px); }
.btn-sm { font-size: 17px; padding: 11px 18px; border-radius: 6px; }
.btn-lg { font-size: 21px; padding: 16px 28px; }
.btn-block { display: block; width: 100%; }

.btn-green  { background: var(--green); color: var(--navy); box-shadow: 0 4px 0 var(--green-shadow); }
.btn-green:hover { color: var(--navy); }
.btn-accent { background: var(--accent); color: #fff; box-shadow: 0 5px 0 rgba(0, 0, 0, 0.35); }
.btn-accent:hover { color: #fff; }
.btn-outline { background: transparent; color: var(--paper); border: 2px solid var(--paper); padding: 14px 26px; }
.btn-outline:hover { color: var(--paper); background: rgba(var(--paper-rgb), 0.1); }
.btn-navy { background: var(--navy); color: var(--paper); }
.btn-navy:hover { color: var(--paper); }
.btn-inked { border: 3px solid var(--navy); box-shadow: 0 5px 0 var(--navy); }

/* Attention grabber for the Steam buttons. js/main.js adds .is-attn only when a
   button should call out (see the comments there), so they never compete.
   Each 12s cycle is a <1s wiggle + shine and then rest; it runs 3 times and stops,
   restarting only when the button comes back on screen. Capped like this so the
   motion stays occasional (and in line with WCAG 2.2.2 Pause, Stop, Hide). */
.btn[data-attn] { position: relative; overflow: hidden; }
.btn[data-attn]::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, 0.55) 50%, transparent 70%);
  transform: translateX(-120%);
  pointer-events: none;
}
.btn.is-attn { animation: btn-nudge 12s ease-in-out 1s 3; }
.btn.is-attn::after { animation: btn-shine 12s ease-in-out 1s 3; }
.btn.is-attn:hover,
.btn.is-attn:hover::after { animation-play-state: paused; }
@keyframes btn-nudge {
  0% { transform: none; }
  1.5% { transform: translateY(-3px) rotate(-3deg) scale(1.06); }
  3% { transform: translateY(-3px) rotate(3deg) scale(1.06); }
  4.5% { transform: translateY(-1px) rotate(-2deg) scale(1.03); }
  6% { transform: rotate(1deg); }
  7.5%, 100% { transform: none; }
}
@keyframes btn-shine {
  0% { transform: translateX(-120%); }
  7%, 100% { transform: translateX(120%); }
}
/* Reduced motion: a glow pulse instead of moving */
@keyframes btn-glow {
  0%, 9%, 100% { filter: none; }
  4% { filter: brightness(1.15) drop-shadow(0 0 12px rgba(59, 217, 74, 0.8)); }
}

.btn-row { display: flex; flex-wrap: wrap; gap: 16px; }
.align-center { align-items: center; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(var(--navy-rgb), 0.94);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(var(--paper-rgb), 0.12);
}
.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 32px;
  padding-block: 12px;
}
.brand { display: flex; align-items: center; gap: 12px; color: var(--paper); text-decoration: none; }
.brand img { height: 44px; width: auto; }
.brand-name {
  font-family: var(--font-label);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: 0.22em;
  line-height: 1.05;
}
.brand-name small {
  display: block;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.32em;
  color: rgba(var(--paper-rgb), 0.75);
}
.brand:hover { color: var(--paper); }
.nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 26px;
  font-family: var(--font-label);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.nav-links a:not(.btn) { color: var(--paper); text-decoration: none; padding-block: 12px; }
.nav-links a:not(.btn):hover { color: var(--green); }

/* ---------- Hero ---------- */
.hero {
  background:
    /* Lab screenshot, darkened most behind the text on the left and faded into the page below */
    linear-gradient(180deg, transparent 55%, var(--navy) 100%),
    linear-gradient(90deg, rgba(var(--navy-rgb), 0.92) 0%, rgba(var(--navy-rgb), 0.78) 50%, rgba(var(--navy-rgb), 0.55) 100%),
    url('../img/mcspacebiff/hero-lab.jpg') center 35% / cover no-repeat var(--navy);
}
.hero-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 48px;
  padding-block: 72px 112px;
}
.hero-copy { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.tag {
  align-self: flex-start;
  font-size: 16px;
  background: var(--red);
  color: #fff;
  padding: 6px 12px;
  border-radius: 4px;
  transform: rotate(-2deg);
}
.hero-logo { line-height: 0; }
    .hero-logo img {
        width: 100%;
        max-width: 620px;
        height: auto;
        margin-left: -5px;
        /* Solid offset shadow that follows the letter shapes, matching the portrait */
        filter: drop-shadow(5px 5px 0 #000000);
    }
.lede { font-size: clamp(19px, 1.6vw, 23px); line-height: 1.5; max-width: 560px; }
.hero-art { flex: 1 1 320px; display: flex; justify-content: center; }
/* Key art as a tilted card that flips to a Skunkape "business card" back */
.biz-card {
  --card-shadow: 18px;
  width: 100%;
  max-width: 380px;
  transform: rotate(3deg);
  perspective: 1400px;
}
.biz-card-inner {
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.7s cubic-bezier(0.3, 1.25, 0.5, 1);
}
.biz-card.is-flipped .biz-card-inner,
.biz-card:focus-within .biz-card-inner { transform: rotateY(180deg); }
@media (hover: hover) {
  .biz-card:hover .biz-card-inner { transform: rotateY(180deg); }
}
.biz-card-face {
  border: 10px solid var(--paper);
  border-radius: 6px;
  box-shadow: var(--card-shadow) var(--card-shadow) 0 var(--accent);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
.biz-card-front img { display: block; width: 100%; height: auto; }
.biz-card-back {
  position: absolute;
  inset: 0;
  transform: rotateY(180deg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 28px;
  text-align: center;
  background: var(--navy-deepest);
}
.biz-card-mark { width: 84px; height: auto; }
.biz-card-name {
  font-family: var(--font-label);
  font-weight: 600;
  font-size: 26px;
  letter-spacing: 0.22em;
  line-height: 1.05;
  margin-right: -0.22em; /* letter-spacing trails the last letter; re-centre */
}
.biz-card-name small {
  display: block;
  margin-top: 4px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.4em;
  color: rgba(var(--paper-rgb), 0.75);
}
.biz-card-links {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin-top: 10px;
  border-top: 2px solid var(--accent);
}
.biz-card-links a {
  padding-block: 8px;
  line-height: 1.2;
  border-bottom: 1px solid rgba(var(--paper-rgb), 0.15);
  font-family: var(--font-label);
  font-weight: 600;
  font-size: 20px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--paper);
  text-decoration: none;
  transition: color 0.15s ease, background-color 0.15s ease;
}
.biz-card-links a:last-child { border-bottom: 0; }
.biz-card-links a:hover,
.biz-card-links a:focus-visible { color: var(--green); background: rgba(var(--paper-rgb), 0.05); }

/* ---------- Paper / halftone ---------- */
.paper { background-color: var(--paper); color: var(--navy); }
.halftone {
  background-image: radial-gradient(rgba(var(--navy-rgb), 0.14) 1.4px, transparent 1.6px);
  background-size: 10px 10px;
}

/* ---------- Playtest ---------- */
.playtest { display: flex; flex-wrap: wrap; gap: 56px; align-items: stretch; }
.playtest-copy { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.steps {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 16px;
}
.step {
  background: #fff;
  border: 3px solid var(--navy);
  border-radius: 10px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: 6px 6px 0 var(--navy);
}
.step strong { font-size: 18px; font-weight: 600; }
.step span:last-child { font-size: 16px; line-height: 1.45; color: var(--ink-soft); }
.step-num { font-family: var(--font-display); font-size: 34px; line-height: 1; color: var(--accent-text); }

.signup-card {
  flex: 1 1 380px;
  background: var(--navy);
  color: var(--paper);
  border: 3px solid var(--navy);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 10px 10px 0 var(--navy);
}
.signup-card > img { width: 100%; height: 260px; object-fit: cover; }
.signup-form { padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.signup-form h3 { font-family: var(--font-display); font-weight: 400; font-size: 26px; line-height: 1.1; text-transform: uppercase; }
.signup-form p { color: rgba(var(--paper-rgb), 0.85); }
.signup-form label { font-family: var(--font-label); font-weight: 600; font-size: 15px; letter-spacing: 0.12em; text-transform: uppercase; }
.signup-form .signup-status { min-height: 1.5em; font-weight: 600; color: var(--paper); }
.signup-status:empty { display: none; }
.signup-status.is-success { color: var(--green); }
.signup-status.is-error { color: var(--orange); }
.input-row { display: flex; flex-wrap: wrap; gap: 10px; }
.input-row input {
  flex: 1 1 200px;
  min-width: 0;
  height: 50px;
  padding: 0 14px;
  font: 500 17px var(--font-body);
  color: var(--paper);
  background: var(--navy-raised);
  border: 2px solid var(--paper);
  border-radius: 6px;
}
.input-row input::placeholder { color: rgba(var(--paper-rgb), 0.55); }
.input-row .btn { height: 50px; box-shadow: none; }

/* ---------- Section headers ---------- */
.split-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px 64px;
}
.split-head > * { flex: 1 1 420px; }
.split-head > .btn { flex: 0 0 auto; }

/* ---------- Cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 28px; }
.card {
  background: var(--navy-raised);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.card > img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.card-body { padding: 24px 24px 28px; display: flex; flex-direction: column; gap: 10px; flex-grow: 1; }
.card h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 24px;
  line-height: 1.15;
  text-transform: uppercase;
  color: var(--orange);
}
.card p { color: rgba(var(--paper-rgb), 0.88); }

.card-past { background: #182440; }
.card-past > img { aspect-ratio: 616 / 353; }
.card-past > img.pos-lower { object-position: center 60%; }
.card-past h3 { font-size: 28px; color: var(--paper); }
.card-past p { font-size: 16px; }
.meta { font-size: 15px; font-weight: 600; letter-spacing: 0.14em; }
.card-past .meta-cyan { color: #9FD8FF; }
.card-past .meta-violet { color: #E7A6FF; }
.card-past .meta-teal { color: #8FE6D4; }
.card-link {
  margin-top: auto;
  padding-top: 8px;
  font-family: var(--font-label);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ---------- Devlog teaser (links to skunkdev.com/devlog) ---------- */
.devlog-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  background: var(--navy-raised);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 10px 10px 0 var(--accent);
}
.devlog-img { display: block; background: #000; }
.devlog-img img { display: block; width: 100%; height: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform 0.3s ease; }
.devlog-feature:hover .devlog-img img { transform: scale(1.03); }
.devlog-body { padding: 36px 40px; display: flex; flex-direction: column; gap: 14px; }
.devlog-body h3 { font-family: var(--font-display); font-weight: 400; font-size: clamp(26px, 2.6vw, 36px); line-height: 1.1; text-transform: uppercase; }
.devlog-body h3 a { color: var(--paper); text-decoration: none; }
.devlog-body h3 a:hover { color: var(--green); }
.devlog-body p:not(.meta) { color: rgba(var(--paper-rgb), 0.88); }
.devlog-body .btn { align-self: flex-start; margin-top: 8px; }

/* ---------- Trailer / screenshot viewer ---------- */
.viewer { border-radius: var(--radius); overflow: hidden; background: #000; aspect-ratio: 16 / 9; }
.viewer-video, .viewer-image { width: 100%; height: 100%; object-fit: cover; }
.viewer-image[hidden], .viewer-video[hidden] { display: none; }
.thumbs { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 12px; }
.thumb {
  position: relative;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  border-radius: 8px;
  overflow: hidden;
  outline: 3px solid transparent;
  outline-offset: 2px;
  opacity: 0.7;
  transition: opacity 0.15s ease;
}
.thumb img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.thumb:hover { opacity: 0.95; }
.thumb[aria-pressed="true"] { outline-color: var(--green); opacity: 1; }
.thumb-play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent);
}
.thumb-play::after {
  content: '';
  position: absolute;
  left: 15px;
  top: 11px;
  border-left: 14px solid #fff;
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
}

/* ---------- Merch ---------- */
/* Deep green-steel instead of full-strength accent green; bright green kept to the trim */
.accent-bg {
  background:
    var(--pat-stripes),
    radial-gradient(ellipse at 50% 0%, rgba(26, 122, 44, 0.35), transparent 70%),
    var(--depot);
  border-block: 4px solid var(--accent);
  color: #fff;
}
.accent-bg .eyebrow { color: var(--green); }
.merch-strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(240px, 270px);
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  /* room for the cards' offset shadows + scrollbar */
  padding: 4px 12px 24px 4px;
  margin: -4px -12px 0 -4px;
  scrollbar-color: var(--navy) transparent;
}
.merch-fallback { grid-column: 1 / -1; font-size: 18px; }
.merch-fallback a { color: #fff; font-weight: 600; }
.product {
  scroll-snap-align: start;
  background: var(--paper);
  color: var(--navy);
  border: 3px solid var(--navy);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 8px 8px 0 var(--navy);
}
.product-img { display: block; aspect-ratio: 3 / 4; background: var(--paper-dark); overflow: hidden; }
.product-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.25s ease; }
.product-img:hover img { transform: scale(1.04); }
.product-body { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 6px; flex-grow: 1; }
.product-body h3 { font-size: 18px; font-weight: 600; line-height: 1.3; }
.price-row { margin-bottom: 8px; }
.price { font-family: var(--font-label); font-weight: 700; font-size: 21px; }
.price-was { font-size: 15px; color: var(--ink-soft); margin-left: 4px; }
.product .btn { margin-top: auto; font-size: 18px; }

/* ---------- Past games ---------- */
.deep-bg { background: var(--pat-cross) var(--navy-deep); }

/* ---------- Press kit (press.html) ---------- */
.hero-short .hero-inner { padding-block: 64px 88px; }
.hero-short .hero-logo img { max-width: 480px; }
.press-facts { display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; }
.fact-card {
  flex: 1 1 340px;
  background: #fff;
  border: 3px solid var(--navy);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 10px 10px 0 var(--navy);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.facts { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 0 20px; }
.facts dt, .facts dd { margin: 0; padding-block: 10px; border-top: 1px solid rgba(var(--navy-rgb), 0.15); }
.facts dt {
  font-family: var(--font-label);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.facts dd { font-weight: 500; }
.paper a { color: var(--accent); font-weight: 600; }
.paper a:hover { color: var(--green-shadow); }
.press-copy { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 36px; }
.feature-list { margin: 0; padding-left: 1.2em; display: flex; flex-direction: column; gap: 10px; max-width: 620px; font-size: 18px; }
.feature-list li::marker { color: var(--accent-text); }
.press-head-links { justify-content: flex-end; }
.press-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.press-shot { display: block; border-radius: 8px; overflow: hidden; outline: 3px solid transparent; outline-offset: 2px; }
.press-shot img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform 0.25s ease; }
.press-shot:hover { outline-color: var(--green); }
.press-shot:hover img { transform: scale(1.03); }
.press-grid-art { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.press-asset {
  display: flex;
  flex-direction: column;
  background: var(--navy-raised);
  border-radius: var(--radius);
  overflow: hidden;
  color: var(--paper);
  text-decoration: none;
}
.press-asset:hover { color: var(--green); }
.press-asset-img { display: block; aspect-ratio: 16 / 10; background: #000; overflow: hidden; }
.press-asset-img img { width: 100%; height: 100%; object-fit: cover; }
/* Checkerboard behind transparent logos so their edges show */
.press-asset-logo {
  background: repeating-conic-gradient(#26314d 0 25%, #1c2640 0 50%) 0 0 / 20px 20px;
  padding: 20px;
}
.press-asset-logo img { object-fit: contain; }
.press-asset-label {
  padding: 16px 20px 20px;
  font-family: var(--font-label);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.press-asset-label small {
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0;
  text-transform: none;
  color: rgba(var(--paper-rgb), 0.75);
}
.history { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.history li { background: #182440; border-radius: var(--radius); padding: 22px 24px; display: flex; flex-direction: column; gap: 6px; color: rgba(var(--paper-rgb), 0.88); font-size: 16px; }
.history strong { font-family: var(--font-display); font-weight: 400; font-size: 22px; text-transform: uppercase; color: var(--paper); }
.history a { margin-top: auto; padding-top: 6px; font-family: var(--font-label); font-weight: 600; font-size: 17px; letter-spacing: 0.08em; text-transform: uppercase; }
.history .meta-cyan { color: #9FD8FF; }
.history .meta-violet { color: #E7A6FF; }
.history .meta-teal { color: #8FE6D4; }
.press-contact { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 40px 64px; }
.press-contact > .stack-md { flex: 1 1 520px; }

/* ---------- Privacy policy (privacy/index.html) ---------- */
.legal { max-width: 820px; display: flex; flex-direction: column; gap: 40px; }
.legal h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 26px;
  line-height: 1.15;
  text-transform: uppercase;
  margin-bottom: 12px;
  scroll-margin-top: 96px;
}
.legal section { scroll-margin-top: 96px; }
.legal p, .legal li { font-size: 18px; line-height: 1.65; }
.legal p + p,
.legal ul + p,
.legal ol + p { margin-top: 12px; }
.legal ul, .legal ol { margin: 12px 0 0; padding-left: 1.3em; display: flex; flex-direction: column; gap: 8px; }
.legal li::marker { color: var(--accent-text); }
.legal-toc {
  background: #fff;
  border: 3px solid var(--navy);
  border-radius: var(--radius);
  padding: 20px 24px;
  box-shadow: 6px 6px 0 var(--navy);
}
.legal-toc .eyebrow-sm { color: var(--ink-soft); }
.legal-toc ol { columns: 2 220px; column-gap: 32px; display: block; margin-top: 8px; }
.legal-toc li { font-size: 16px; break-inside: avoid; padding-block: 3px; }
.signup-form .signup-fine { font-size: 14px; color: rgba(var(--paper-rgb), 0.7); }
.signup-fine a { color: var(--paper); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deepest); border-top: 4px solid var(--accent); }
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px 64px;
  padding-block: 56px 40px;
}
.footer-brand { flex: 1 1 320px; display: flex; gap: 20px; align-items: flex-start; }
.footer-brand img { width: 64px; height: auto; }
.footer-brand .soft { font-size: 16px; max-width: 340px; color: rgba(var(--paper-rgb), 0.75); }
.footer-name { font-family: var(--font-label); font-weight: 600; font-size: 20px; letter-spacing: 0.22em; }
.social-links { display: flex; flex-wrap: wrap; gap: 4px 20px; margin-top: 6px; }
.social-links a { padding-block: 8px; }
.copyright { text-align: center; padding: 0 24px 32px; font-size: 14px; color: rgba(var(--paper-rgb), 0.6); }

/* ---------- Small screens ---------- */
@media (max-width: 720px) {
  .section { padding-block: 72px; }
  .section-tight-top { padding-top: 0; }
  .nav-links { gap: 0 18px; font-size: 16px; }
  .hero-inner { padding-block: 40px 72px; }
  .hero-logo img { margin-left: -3px; filter: drop-shadow(3px 3px 0 var(--accent)); }
  .biz-card { max-width: 280px; --card-shadow: 12px; }
  .biz-card-back { padding: 20px; gap: 10px; }
  .biz-card-mark { width: 52px; }
  .biz-card-name { font-size: 20px; }
  .biz-card-name small { font-size: 12px; }
  .biz-card-links a { padding-block: 5px; font-size: 16px; }
  .thumbs { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
  .merch-strip { grid-auto-columns: 72%; gap: 16px; }
  .devlog-feature { grid-template-columns: 1fr; box-shadow: 6px 6px 0 var(--accent); }
  .devlog-body { padding: 24px 24px 28px; }
  .press-grid:not(.press-grid-art) { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .product-img img, .press-shot img, .devlog-img img { transition: none; }
  /* Swap faces instantly instead of spinning */
  .biz-card-inner { transition: none; }
  .btn.is-attn { animation-name: btn-glow; }
  .btn.is-attn::after { animation: none; }
}
