@font-face {
  font-family: "MedievalSharp";
  src: url("/fonts/MedievalSharp.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Germania One";
  src: url("/fonts/GermaniaOne-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Federant";
  src: url("/fonts/Federant-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Megrim";
  src: url("/fonts/Megrim.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Jolly Lodger";
  src: url("/fonts/JollyLodger-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
:root {
  --bg: #0b0d11;
  --surface: #12151b;
  --surface-2: #171b23;
  --border: #252a34;
  --text: #dde1e8;
  --muted: #9198a5;
  --gold: #c8a84b;
  --accent: var(--gold);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; color-scheme: dark; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: Inter, ui-sans-serif, system-ui, -apple-system, sans-serif; line-height: 1.65; }
img { max-width: 100%; display: block; }
a { color: inherit; }
.site-header { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px clamp(20px, 5vw, 72px); border-bottom: 1px solid var(--border); background: rgba(11,13,17,.92); }
body:has(.project-hero) .site-header { position: absolute; inset: 0 0 auto; z-index: 10; border-bottom-color: transparent; background: transparent; }
.brand { color: #fff; font-size: 1.4rem; font-weight: 900; letter-spacing: -.04em; text-decoration: none; }
.brand span, .eyebrow { color: var(--gold); }
.site-nav { display: flex; gap: 22px; }
.site-nav a { color: var(--muted); font-size: .86rem; font-weight: 700; text-decoration: none; }
.site-nav a:hover { color: #fff; }
.home-hero { position: relative; overflow: hidden; padding: clamp(70px, 9vw, 120px) 24px 100px; border-bottom: 0; background: radial-gradient(circle at 18% -8%, rgba(200,168,75,.10), transparent 46%), radial-gradient(circle at 82% 28%, rgba(74,143,212,.16), transparent 30%), linear-gradient(135deg, #0b0d11 20%, #10141c 100%); }
.home-hero::before { content: none; }
.home-hero-inner { position: relative; display: grid; grid-template-columns: minmax(0,1fr) minmax(320px, 420px); align-items: center; gap: 48px; width: min(1080px, 100%); margin: 0 auto; }
.home-hero-copy { max-width: 780px; }
.home-hero-visual { position: relative; }
.braindodge-rotator { position: relative; height: 360px; overflow: hidden; border: 0; border-radius: 8px; background: #101418; box-shadow: 0 24px 60px rgba(0,0,0,.45), 0 0 0 1px rgba(255,255,255,.06); }
.braindodge-rotator::after { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1; background: linear-gradient(180deg, rgba(16,20,24,.1), rgba(16,20,24,.58)), linear-gradient(90deg, rgba(16,20,24,.18), rgba(16,20,24,0)); }
.braindodge-slide { position: absolute; inset: 0; background-position: center; background-size: cover; opacity: 0; animation: braindodge-fade 36s infinite; }
.braindodge-slide-title { position: absolute; left: 22px; right: 22px; bottom: 20px; z-index: 2; color: #fff; font-size: clamp(1.2rem, 2.2vw, 1.6rem); font-weight: 900; line-height: 1.1; text-shadow: 0 3px 16px rgba(0,0,0,.78); }
.braindodge-slide:nth-child(2) { animation-delay: 6s; }
.braindodge-slide:nth-child(3) { animation-delay: 12s; }
.braindodge-slide:nth-child(4) { animation-delay: 18s; }
.braindodge-slide:nth-child(5) { animation-delay: 24s; }
.braindodge-slide:nth-child(6) { animation-delay: 30s; }
@keyframes braindodge-fade { 0% { opacity: 0; transform: scale(1); } 4% { opacity: 1; } 16% { opacity: 1; } 20% { opacity: 0; transform: scale(1.04); } 100% { opacity: 0; transform: scale(1.04); } }
@media (prefers-reduced-motion: reduce) { .braindodge-slide { animation: none; } .braindodge-slide:first-child { opacity: 1; } }
@media (max-width: 900px) { .home-hero-inner { grid-template-columns: 1fr; } .home-hero-visual { display: none; } }
.hero-kicker { margin: 0 0 22px; color: var(--muted); font-size: .72rem; font-weight: 900; letter-spacing: .19em; text-transform: uppercase; }
.studio-name { margin: 0; color: #fff; font-size: clamp(4.5rem, 9vw, 8rem); letter-spacing: -.065em; line-height: .82; }
.studio-name span { color: var(--gold); }
.tagline { margin: 28px 0 0; color: var(--gold); font-size: .82rem; font-weight: 900; letter-spacing: .21em; text-transform: uppercase; }
.studio-intro { max-width: 650px; margin: 22px 0 0; color: #aeb5c0; font-size: clamp(1.05rem, 1.7vw, 1.24rem); }
.hero-catalog-link { display: inline-flex; align-items: center; gap: 14px; margin-top: 34px; color: #fff; font-size: .78rem; font-weight: 900; letter-spacing: .08em; text-decoration: none; text-transform: uppercase; }
.hero-catalog-link span { display: grid; width: 32px; height: 32px; place-items: center; border: 1px solid #3b414d; border-radius: 50%; color: var(--gold); transition: background .2s, border-color .2s; }
.hero-catalog-link:hover span { border-color: var(--gold); background: rgba(200,168,75,.12); }
.aces-title { font-family: "Federant", Georgia, serif; font-weight: 400; }
.catalog { width: min(1240px, calc(100% - 40px)); margin: 0 auto; padding: 88px 0; }
.group + .group { margin-top: 88px; }
.group-heading { display: grid; grid-template-columns: minmax(0,1fr) minmax(300px,.65fr); align-items: end; gap: 48px; margin-bottom: 34px; padding-bottom: 0; border-bottom: 0; }
.group-heading > div { display: flex; align-items: baseline; gap: 18px; }
.group-heading h2 { margin: 0; color: #fff; font-size: clamp(1.8rem, 4vw, 2.8rem); line-height: 1; }
.group-heading p { max-width: 700px; margin: 0; color: var(--muted); font-size: .92rem; }
.card-grid { display: grid; grid-template-columns: 1fr; gap: 22px; }
.project-card {
  position: relative;
  display: flex;
  height: 430px;
  overflow: hidden;
  border: 0;
  border-radius: 16px;
  background: #0a0c10;
  text-decoration: none;
  isolation: isolate;
  box-shadow: 0 26px 60px -20px rgba(0,0,0,.85), 0 0 0 1px rgba(255,255,255,.07);
  transition: transform .3s, box-shadow .3s;
}
.project-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 34px 74px -18px rgba(0,0,0,.9), 0 0 0 1px color-mix(in srgb, var(--card-accent, var(--gold)) 45%, transparent);
}
/* Image is a real region (left half), not a full-bleed background — widened past the
   point the overlay below fully resolves so there's no gap between "image ends" and
   "overlay finishes" (that gap used to read as a seam). */
.project-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 50%; z-index: -2; background: var(--card-image) center/cover no-repeat; opacity: 1; transition: transform .35s; }
.project-card:hover::before { transform: scale(1.03); }
/* One continuous gradient: image → accent-tinted → solid panel at rest. Mixed in oklab,
   not srgb — the panel base (#0b0e13) leans slightly blue, and srgb's channel-by-channel
   blend cancels warm accents (orange/rust) toward gray while reinforcing cool ones; oklab
   mixes by perceived color, so every accent stays vivid instead of some washing out.
   oklab, not oklch: oklch is polar (hue angle), and mixing a warm accent toward the
   blue-leaning near-black base means picking a direction around the hue wheel — some
   engines get that wrong for warm accents and the result swings through purple/magenta
   before landing on blue. oklab has no hue angle, so that failure mode can't happen. */
.project-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg,
      transparent 0%, transparent 18%,
      color-mix(in oklab, var(--card-accent, var(--gold)) 42%, #0b0e13) 44%,
      color-mix(in oklab, var(--card-accent, var(--gold)) 42%, #0b0e13) 100%),
    linear-gradient(to top, rgba(5,6,9,.65) 0%, transparent 40%);
}
.card-body {
  display: grid;
  grid-template-columns: 42% 1fr;
  column-gap: 0;
  align-items: end;
  width: 100%;
  max-width: none;
  height: 100%;
  padding: 0;
}
.status { align-self: flex-start; margin-bottom: 14px; padding: 5px 11px; border-radius: 999px; background: var(--card-accent, var(--gold)); color: #111; font-size: .68rem; font-weight: 900; letter-spacing: .07em; text-transform: uppercase; }
.project-card h3 {
  grid-column: 1;
  grid-row: 1 / -1;
  align-self: end;
  margin: 0;
  padding: 0 24px 32px 34px;
  color: #fff;
  font-size: clamp(1.9rem, 3.2vw, 2.7rem);
  letter-spacing: -.025em;
  line-height: 1.02;
  text-shadow: 0 2px 12px rgba(5,6,9,.85);
}
.project-card h3.aces-title { font-size: clamp(2.1rem, 3.5vw, 2.9rem); letter-spacing: .01em; line-height: .98; }
.herding-title { font-family: "Germania One", "MedievalSharp", Georgia, serif; font-weight: 400; }
.project-card h3.herding-title { font-size: clamp(2.1rem, 3.5vw, 2.9rem); letter-spacing: .02em; line-height: 1; }
.project-card h3.herding-title, .project-hero h1.herding-title { color: #d5b45c; text-shadow: 1px 1px 0 #9a6b24, 2px 2px 0 #704713, 3px 3px 0 #452a0b, 0 0 16px rgba(200,168,75,.12); }
.basstab-title {
  color: #69edf5 !important;
  font-family: "Megrim", Futura, sans-serif;
  font-weight: 700;
  letter-spacing: .045em !important;
  -webkit-text-stroke: .75px #69edf5;
  paint-order: stroke fill;
  text-shadow: 2px 3px 0 #0a5965, 0 0 6px rgba(46,196,217,.9), 0 0 18px rgba(46,196,217,.5);
}
.project-card h3.basstab-title { font-size: clamp(2.15rem, 3.7vw, 3rem); line-height: .95; }
.holiday-title { font-family: "Jolly Lodger", Georgia, serif; font-weight: 400; letter-spacing: .025em !important; }
.project-card h3.holiday-title { font-size: clamp(2.35rem, 4vw, 3.25rem); line-height: .9; }
.robot-prospectors-title {
  color: #ffdb44 !important;
  font-family: "Jost", Futura, "Arial Narrow", sans-serif;
  font-weight: 900;
  letter-spacing: .015em !important;
  line-height: .9 !important;
  text-transform: uppercase;
  -webkit-text-stroke: 1px #04070d;
  paint-order: stroke fill;
  text-shadow:
    3px 4px 0 #25e2ee,
    -2px -2px 0 #04070d,
    2px -2px 0 #04070d,
    -2px 2px 0 #04070d,
    2px 2px 0 #04070d,
    7px 9px 0 rgba(4, 7, 13, .92);
}
.project-card h3.robot-prospectors-title {
  margin-bottom: 17px;
  font-size: clamp(1.75rem, 3vw, 2.55rem);
}
.glory-mars-title {
  color: #f6d36a !important;
  font-family: "Jost", Futura, "Arial Narrow", sans-serif;
  font-weight: 900;
  letter-spacing: .015em !important;
  line-height: .9 !important;
  text-transform: uppercase;
  -webkit-text-stroke: 1px #160706;
  paint-order: stroke fill;
  text-shadow: 3px 4px 0 #a52f25, 6px 8px 0 rgba(15, 4, 4, .88);
}
.project-card h3.glory-mars-title {
  margin-bottom: 17px;
  font-size: clamp(1.9rem, 3.2vw, 2.7rem);
}
.project-card p {
  grid-column: 2;
  grid-row: 1;
  align-self: end;
  margin: 0;
  padding: 0 34px 0 40px;
  max-width: 56ch;
  color: #c9cfd8;
  font-size: .95rem;
  line-height: 1.6;
}
.project-card .card-aside { margin-top: 8px; font-size: .75rem; font-style: italic; }
/* Mechanics chips and the link pick up a tint of the accent color, not just the panel —
   color-coding shows up wherever you're actually reading, not only at the seam. */
.mechanics { grid-column: 2; grid-row: 3; display: flex; flex-wrap: wrap; gap: 7px; margin: 18px 0 0; padding: 0 34px 32px 40px; list-style: none; }
.mechanics li {
  padding: 5px 9px;
  border: 0;
  border-radius: 999px;
  background: color-mix(in srgb, var(--card-accent, var(--gold)) 16%, rgba(255,255,255,.08));
  backdrop-filter: blur(6px);
  color: color-mix(in srgb, var(--card-accent, var(--gold)) 55%, #e6e9ee);
  font-size: .68rem;
  font-weight: 750;
  letter-spacing: .025em;
  line-height: 1.2;
}
.card-link {
  grid-column: 2;
  grid-row: 2;
  display: inline-flex;
  align-items: center;
  margin-top: 18px;
  padding: 0 34px 0 40px;
  color: var(--card-accent, var(--gold));
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.award-badge { position: absolute; top: 22px; right: 22px; z-index: 2; display: grid; width: 96px; height: 96px; place-content: center; border: 2px solid #f0d77d; border-radius: 50%; box-shadow: 0 0 0 5px rgba(8,10,14,.7), 0 10px 30px rgba(0,0,0,.38); background: radial-gradient(circle, #d7b856 0 56%, #9b7221 100%); color: #1a1204; font-size: .58rem; font-weight: 950; letter-spacing: .11em; line-height: 1.05; text-align: center; text-transform: uppercase; transform: rotate(4deg); }
.award-badge strong { margin: 3px 0; font-size: 1.15rem; letter-spacing: -.03em; }
/* Hero: no hard accent rule under it — a shadow fades it into the page instead,
   matching the homepage's blended-not-ruled language. */
.project-hero { position: relative; min-height: 66vh; display: flex; align-items: flex-end; padding: clamp(72px, 10vw, 130px) clamp(20px, 7vw, 100px); overflow: hidden; border-bottom: 0; isolation: isolate; box-shadow: 0 40px 70px -30px rgba(0,0,0,.85); }
.project-hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: var(--hero-image) center/cover no-repeat; opacity: 1; }
.project-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(8,10,14,.85) 0%, rgba(8,10,14,.35) 22%, transparent 48%); }
.hero-copy { max-width: 820px; }
.eyebrow { margin: 0 0 14px; font-size: .75rem; font-weight: 900; letter-spacing: .17em; text-transform: uppercase; text-shadow: 0 2px 10px rgba(4,5,8,.9); }
.project-hero h1 { margin: 0; color: #fff; font-size: clamp(3rem, 8vw, 6.7rem); letter-spacing: -.055em; line-height: .95; text-shadow: 0 4px 20px rgba(4,5,8,.85), 0 2px 6px rgba(4,5,8,.9); }
.project-hero h1.aces-title { max-width: 1000px; letter-spacing: .01em; line-height: .94; }
.project-hero h1.herding-title { font-size: clamp(3.3rem, 8.5vw, 7.15rem); letter-spacing: .02em; line-height: .93; }
.project-hero h1.basstab-title { font-size: clamp(3.5rem, 8.7vw, 7.25rem); line-height: .92; -webkit-text-stroke-width: 1.1px; }
.project-hero h1.holiday-title { font-size: clamp(3.8rem, 9vw, 7.5rem); line-height: .9; }
.project-hero h1.robot-prospectors-title {
  max-width: 1000px;
  font-size: clamp(3rem, 7.5vw, 6.25rem);
  -webkit-text-stroke-width: 2px;
  text-shadow:
    5px 7px 0 #25e2ee,
    -3px -3px 0 #04070d,
    3px -3px 0 #04070d,
    -3px 3px 0 #04070d,
    3px 3px 0 #04070d,
    10px 13px 0 rgba(4, 7, 13, .92);
}
.project-hero h1.glory-mars-title {
  max-width: 1000px;
  font-size: clamp(3.2rem, 7.8vw, 6.5rem);
  -webkit-text-stroke-width: 2px;
  text-shadow: 5px 7px 0 #a52f25, 10px 13px 0 rgba(15, 4, 4, .9);
}
.project-hero .lead { max-width: 720px; margin: 24px 0 0; color: #c3c8d0; font-size: clamp(1.1rem, 2.2vw, 1.4rem); text-shadow: 0 2px 10px rgba(4,5,8,.9); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button { display: inline-flex; padding: 12px 20px; border-radius: 8px; background: var(--accent); color: #0a0c10; font-weight: 900; text-decoration: none; }
.button.secondary { border: 1px solid rgba(255,255,255,.25); background: rgba(10,12,16,.6); color: #fff; }
.project-main { width: min(1040px, calc(100% - 40px)); margin: 0 auto; padding: 80px 0 100px; }
.content-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(240px, .7fr); gap: 64px; }
.prose h2 { margin: 0 0 16px; color: #fff; font-size: clamp(1.7rem, 3vw, 2.4rem); }
.prose h2:not(:first-child) { margin-top: 52px; }
.prose p { color: #aeb5c0; }
.feature-list { padding-left: 20px; color: #aeb5c0; }
.feature-list li + li { margin-top: 10px; }
.mechanics-heading { margin: 34px 0 12px; color: var(--accent); font-size: .72rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.mechanics-detail { margin-top: 0; padding: 22px 26px; border: 0; border-radius: 14px; background: linear-gradient(120deg, color-mix(in oklch, var(--accent) 14%, var(--surface)), var(--surface) 70%); box-shadow: 0 20px 44px -18px rgba(0,0,0,.7); }
.mechanics-detail li::marker { color: var(--accent); }
.story-teaser { margin: 0 0 64px; padding: 4px 4vw 4px 28px; border-left: 3px solid var(--accent); }
.story-teaser p { margin: 0; color: #9fa7b2; font-size: .98rem; font-style: italic; line-height: 1.65; }
.story-teaser p + p { margin-top: 16px; }
.story-teaser strong { color: #d9dde2; letter-spacing: .05em; }
.project-intro { margin: 0; color: #d3d7dd !important; font-size: clamp(1.12rem, 2vw, 1.32rem); line-height: 1.65; }
.facts { align-self: start; padding: 25px; border: 0; border-radius: 14px; background: color-mix(in oklch, var(--accent) 10%, var(--surface)); box-shadow: 0 20px 44px -18px rgba(0,0,0,.7), 0 0 0 1px color-mix(in oklch, var(--accent) 28%, transparent); }
.facts h2 { margin: 0 0 18px; color: color-mix(in oklch, var(--accent) 55%, #fff); font-size: 1rem; }
.facts dl { margin: 0; }
.facts dt { margin-top: 16px; color: var(--muted); font-size: .68rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.facts dd { margin: 3px 0 0; color: #fff; font-weight: 700; }
.facts-download { display: block; margin-top: 24px; padding: 14px 22px; border-radius: 6px; background: var(--accent); color: #fff; font-weight: 700; text-align: center; text-decoration: none; }
.facts-download:hover { background: color-mix(in oklch, var(--accent) 85%, #fff); }
.facts-download:focus-visible { outline: 3px solid color-mix(in oklch, var(--accent) 55%, #fff); outline-offset: 3px; }
.about-hero { min-height: 58vh; }
.about-main { max-width: 1120px; }
.about-page .prose a { color: #fff; font-weight: 750; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.about-principles { margin: 0; padding: 0; list-style: none; }
.about-principles li { position: relative; padding: 15px 0 15px 22px; color: #aeb5c0; }
.about-principles li::before { content: ""; position: absolute; left: 0; top: 25px; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.about-principles strong { color: #fff; }
.about-projects dd a { text-decoration-color: rgba(200,168,75,.65); text-underline-offset: 3px; }
.ai-callout { margin-top: 52px; padding: 30px; border: 1px solid var(--border); border-left: 3px solid var(--gold); background: linear-gradient(135deg,rgba(200,168,75,.09),var(--surface) 62%); }
.ai-callout .eyebrow { color: var(--gold); }
.ai-callout h2 { margin-top: 0 !important; }
.ai-callout .button { margin-top: 10px; }
.ai-page .prose h3 { margin: 30px 0 8px; color: #fff; font-size: 1.2rem; }
.ai-page .prose h3 + p { margin-top: 0; }
.ai-page .about-principles { margin-top: 20px; }
.ai-content { grid-template-columns: minmax(0,800px); }
.ai-page .closing-note { margin-top: 52px; padding: 28px; border-left: 3px solid var(--gold); background: var(--surface); color: #fff; font-size: 1.2rem; }
.archive-hero { position: relative; padding: clamp(130px, 16vw, 210px) 24px clamp(80px, 10vw, 130px); overflow: hidden; border-bottom: 0; background: radial-gradient(circle at 78% 36%, rgba(74,143,212,.13), transparent 27%), linear-gradient(135deg,#111722,#0b0d11 65%); }
.archive-hero::before { content: none; }
.archive-hero > div { position: relative; width: min(1120px, 100%); margin: 0 auto; }
.archive-hero h1 { max-width: 900px; margin: 0; color: #fff; font-size: clamp(3.4rem, 9vw, 7.5rem); letter-spacing: -.06em; line-height: .88; }
.archive-hero p:last-child { max-width: 760px; margin: 30px 0 0; color: #aeb5c0; font-size: clamp(1.05rem, 2vw, 1.3rem); }
.archive-main { width: min(1120px, calc(100% - 40px)); margin: 0 auto; padding: 86px 0 100px; }
.archive-intro { display: grid; grid-template-columns: minmax(0,1fr) minmax(320px,.75fr); align-items: end; gap: 54px; margin-bottom: 38px; padding-bottom: 0; border-bottom: 0; }
.archive-intro h2 { margin: 0; color: #fff; font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1; }
.archive-intro p { margin: 0; color: var(--muted); }
.archive-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 22px; }
.archive-card { position: relative; min-height: 480px; overflow: hidden; border: 1px solid var(--border); border-top: 3px solid var(--card-accent); border-radius: 3px; text-decoration: none; isolation: isolate; }
.archive-card::before { content: ""; position: absolute; inset: 0; z-index: -2; background: var(--card-image) center/cover no-repeat; opacity: .4; transition: opacity .25s, transform .4s; }
.archive-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(7,9,13,.99) 22%, rgba(7,9,13,.58) 78%, rgba(7,9,13,.25)); }
.archive-card:hover::before { opacity: .55; transform: scale(1.025); }
.archive-card-copy { display: flex; min-height: 480px; flex-direction: column; justify-content: flex-end; padding: 30px; }
.archive-status { align-self: flex-start; margin-bottom: 13px; color: var(--card-accent); font-size: .68rem; font-weight: 900; letter-spacing: .11em; text-transform: uppercase; }
.archive-card h2 { margin: 0 0 12px; color: #fff; font-size: clamp(1.8rem,3vw,2.6rem); letter-spacing: -.035em; line-height: .98; }
.archive-card p { margin: 0; color: #b7bdc7; font-size: .9rem; }
.archive-card .mechanics { margin-top: auto; padding-top: 25px; }
.archive-note { display: flex; align-items: center; justify-content: space-between; gap: 30px; margin-top: 50px; padding: 28px 30px; border: 1px solid var(--border); border-left: 3px solid var(--gold); background: var(--surface); }
.archive-note strong { color: #fff; white-space: nowrap; }
.archive-note span { color: var(--muted); }
.archive-mention { margin: 64px 0 0; color: #69717e; font-size: .82rem; text-align: center; }
.archive-mention a { color: #969eaa; text-underline-offset: 3px; }
.preview { margin: 64px 0 0; overflow: hidden; border: 0; border-radius: 14px; background: var(--surface); box-shadow: 0 26px 56px -22px rgba(0,0,0,.75), 0 0 0 1px rgba(255,255,255,.06); }
.preview.compact { max-width: 720px; }
.preview img { width: 100%; max-height: 720px; object-fit: contain; background: #f1efe8; }
.preview.map-preview img { height: auto; max-height: none; background: transparent; }
.preview figcaption { padding: 13px 17px; color: var(--muted); font-size: .8rem; }
.robot-preview { margin-top: 24px; margin-bottom: 110px; overflow: visible; border: 0; background: transparent; }
.robot-preview-art { position: relative; }
.robot-preview .robot-location-grid { height: auto; max-height: none; background: transparent; }
.robot-preview .robot-player-mat { position: absolute; right: 4%; bottom: -82px; width: 54%; height: auto; max-height: none; border: 1px solid #313947; box-shadow: 0 18px 45px rgba(0,0,0,.55); background: transparent; }
.robot-preview figcaption { position: relative; margin-top: 82px; border: 0; background: var(--surface); box-shadow: 0 0 0 1px rgba(255,255,255,.06); }
.project-footer-nav { display: flex; justify-content: space-between; gap: 20px; margin-top: 80px; padding-top: 0; border-top: 0; }
.project-footer-nav a { color: var(--muted); font-weight: 800; text-decoration: none; }
.project-footer-nav a:hover { color: #fff; }
footer { padding: 52px 20px; border-top: 0; background: linear-gradient(0deg, rgba(255,255,255,.035), transparent), var(--surface); color: var(--muted); text-align: center; }
footer a { text-decoration: none; }
.image-credit { margin: 10px 0 0; font-size: .72rem; opacity: .7; }
@media (max-width: 900px) { .group-heading, .archive-intro { grid-template-columns: 1fr; gap: 14px; } .content-grid { grid-template-columns: 1fr; gap: 40px; } .project-card { height: 420px; } }
/* Below 760px there's no room for a left image panel + right text panel side by side.
   Fall back to the full-bleed poster stack: image behind, title then text on top, bottom-anchored. */
@media (max-width: 760px) {
  .project-card { height: auto; min-height: 420px; }
  .project-card::before { width: 100%; }
  .card-body { display: flex; flex-direction: column; justify-content: flex-end; max-width: 100%; height: auto; padding: 34px; }
  .project-card h3, .project-card p, .card-link, .mechanics { grid-column: auto; grid-row: auto; padding: 0; }
  .project-card h3 { margin-bottom: 12px; }
  .project-card p { text-shadow: 0 2px 12px rgba(5,6,9,.85); }
  .project-card::after {
    background:
      radial-gradient(125% 95% at 88% 0%, color-mix(in srgb, var(--card-accent, var(--gold)) 30%, transparent), transparent 62%),
      linear-gradient(to top, rgba(5,6,9,.98) 42%, rgba(5,6,9,.93) 60%, rgba(5,6,9,.4) 82%, rgba(5,6,9,.05) 100%);
  }
}
@media (max-width: 700px) { .archive-grid { grid-template-columns: 1fr; } .archive-card, .archive-card-copy { min-height: 450px; } .archive-note { align-items: flex-start; flex-direction: column; } .archive-note strong { white-space: normal; } .robot-preview { margin-bottom: 0; } .robot-preview-art { display: grid; gap: 14px; } .robot-preview .robot-location-grid, .robot-preview .robot-player-mat { position: static; width: 100%; border: 0; box-shadow: none; background: transparent; } .robot-preview figcaption { margin-top: 0; } }
@media (max-width: 600px) { .site-nav { gap: 12px; } .archive-page .site-nav { gap: 10px; } .archive-page .site-nav a { font-size: .74rem; } .home-hero { padding-top: 64px; } .studio-name { font-size: clamp(3.7rem, 19vw, 5.2rem); } .card-body { padding: 26px; } .project-card::after { background: radial-gradient(125% 80% at 88% 0%, color-mix(in srgb, var(--card-accent, var(--gold)) 26%, transparent), transparent 60%), linear-gradient(to top, rgba(5,6,9,.98) 48%, rgba(5,6,9,.85) 66%, rgba(5,6,9,.3) 88%); } .award-badge { top: 16px; right: 16px; width: 82px; height: 82px; } .award-badge strong { font-size: 1rem; } .project-hero { min-height: 58vh; } .project-footer-nav { flex-direction: column; } }
