/* Refined studio direction: quiet, compact and business-first. */
:root {
  --ref-navy: #101a31;
  --ref-navy-2: #162542;
  --ref-blue: #7f9cc9;
  --ref-ice: #dce7f7;
  --ref-paper: #f4f5f7;
  --ref-white: #ffffff;
  --ref-ink: #101827;
  --ref-muted: #617087;
  --ref-line: rgba(16, 24, 39, 0.14);
  --ref-font: "Avenir Next", Avenir, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --ref-mono: "SFMono-Regular", Consolas, monospace;
}

body {
  color: var(--ref-ink);
  background: var(--ref-paper);
  font-family: var(--ref-font);
}

.shell { max-width: 1360px; }

.site-header {
  color: var(--ref-white);
  background: var(--ref-navy);
  border-bottom: 1px solid rgba(255,255,255,.11);
}

.site-header__inner { min-height: 72px; }
.brand { gap: .7rem; text-decoration: none; }
.brand img { width: 38px; height: 38px; object-fit: contain; }
.brand__word { font-size: .93rem; font-weight: 700; letter-spacing: .14em; }
.site-nav ul { gap: clamp(1.2rem, 2.2vw, 2.4rem); }
.site-nav a {
  position: relative;
  padding: 1.6rem 0;
  font-family: var(--ref-font);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .025em;
  text-decoration: none;
  text-transform: none;
  color: rgba(255,255,255,.7);
}
.site-nav a:hover,
.site-nav a[aria-current="page"] { color: var(--ref-white); }
.site-nav a[aria-current="page"]::after {
  position: absolute;
  right: 0;
  bottom: 1.15rem;
  left: 0;
  height: 1px;
  background: var(--ref-ice);
  content: "";
}

.button {
  min-height: 44px;
  padding: .7rem 1.05rem;
  border-radius: 2px;
  font-family: var(--ref-font);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .065em;
}
.header-cta { border-color: rgba(255,255,255,.42); }
.header-cta:hover { color: var(--ref-navy); background: var(--ref-white); }

/* Compact homepage */
.home-page { background: var(--ref-navy); }
.home-stage {
  position: relative;
  display: grid;
  grid-template-rows: 1fr auto;
  min-height: calc(100svh - 72px);
  overflow: hidden;
  color: var(--ref-white);
  background: var(--ref-navy);
  isolation: isolate;
}
.home-stage::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(16,26,49,.99) 0%, rgba(16,26,49,.95) 38%, rgba(16,26,49,.65) 74%, rgba(16,26,49,.77) 100%),
    linear-gradient(0deg, rgba(16,26,49,.96), transparent 50%);
  content: "";
}
.home-stage__art {
  position: absolute;
  inset: 0 0 0 36%;
  z-index: -2;
  background: url("../img/hero-night.webp") 55% 48% / cover no-repeat;
  filter: saturate(.45) contrast(.94);
  opacity: .48;
}
.home-stage__art::after {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 64px 64px;
  content: "";
}
.home-stage__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(340px, .72fr);
  align-items: center;
  gap: clamp(3rem, 7vw, 8rem);
  width: 100%;
  padding-block: clamp(2.75rem, 6vh, 5.5rem);
}
.home-intro { max-width: 760px; }
.home-kicker {
  display: flex;
  align-items: center;
  gap: .65rem;
  margin: 0 0 clamp(1.2rem, 2.5vh, 2rem);
  color: rgba(255,255,255,.75);
  font-size: .71rem;
  font-weight: 700;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.home-kicker i { width: 28px; height: 1px; background: rgba(255,255,255,.45); }
.home-kicker b { margin-left: .65rem; color: var(--ref-ice); font-weight: 600; }
.home-intro h1 {
  max-width: 12ch;
  margin: 0;
  font-size: clamp(3.5rem, 5.6vw, 6.35rem);
  font-weight: 600;
  letter-spacing: -.055em;
  line-height: .96;
}
.home-intro__copy {
  max-width: 610px;
  margin: clamp(1.4rem, 2.7vh, 2.1rem) 0 0;
  color: rgba(255,255,255,.7);
  font-size: clamp(1rem, 1.2vw, 1.13rem);
  line-height: 1.65;
}
.home-actions { display: flex; align-items: center; gap: 1.5rem; margin-top: clamp(1.5rem, 3vh, 2.35rem); }
.button--primary { color: var(--ref-navy); background: var(--ref-white); border-color: var(--ref-white); }
.button--primary:hover { color: var(--ref-white); background: transparent; }
.home-text-link { color: rgba(255,255,255,.82); font-size: .79rem; font-weight: 650; text-decoration: none; }
.home-text-link span { margin-left: .35rem; }
.home-signals {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem 1.5rem;
  margin-top: clamp(1.7rem, 3.8vh, 3rem);
  color: rgba(255,255,255,.52);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .035em;
}
.home-signals span { display: flex; align-items: center; gap: .55rem; }
.home-signals span::before { width: 4px; height: 4px; border-radius: 50%; background: var(--ref-blue); content: ""; }
.home-capabilities {
  align-self: center;
  padding: .35rem 1.55rem;
  background: rgba(8,15,29,.48);
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: 0 22px 70px rgba(2,7,16,.23);
  backdrop-filter: blur(12px);
}
.home-capabilities__head { padding: 1.15rem 0 1rem; border-bottom: 1px solid rgba(255,255,255,.15); }
.home-capabilities__head p { margin: 0 0 .2rem; font-size: .73rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.home-capabilities__head span { color: rgba(255,255,255,.48); font-size: .7rem; }
.home-capabilities > a {
  display: grid;
  grid-template-columns: 2rem 1fr;
  gap: .1rem .7rem;
  padding: .85rem 0;
  color: var(--ref-white);
  border-bottom: 1px solid rgba(255,255,255,.11);
  text-decoration: none;
}
.home-capabilities > a:last-child { border-bottom: 0; }
.home-capabilities > a > span { grid-row: 1 / 3; color: var(--ref-blue); font: 600 .65rem/1.5 var(--ref-mono); }
.home-capabilities strong { font-size: .83rem; font-weight: 600; }
.home-capabilities small { color: rgba(255,255,255,.45); font-size: .66rem; letter-spacing: .01em; }
.home-capabilities > a:hover strong { color: var(--ref-ice); }
.home-stage__footer {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 2rem;
  width: 100%;
  min-height: 78px;
  border-top: 1px solid rgba(255,255,255,.13);
}
.home-stage__footer p { margin: 0; color: rgba(255,255,255,.58); font-size: .72rem; }
.home-stage__footer p strong { color: var(--ref-white); }
.home-stage__footer ol { display: flex; gap: clamp(1rem, 2.4vw, 2.5rem); margin: 0; padding: 0; list-style: none; }
.home-stage__footer li { color: rgba(255,255,255,.75); font-size: .68rem; font-weight: 600; white-space: nowrap; }
.home-stage__footer li span { margin-right: .35rem; color: var(--ref-blue); font-family: var(--ref-mono); font-size: .59rem; }

.home-note { position: relative; overflow: hidden; color: var(--ref-white); background: var(--ref-navy-2); isolation: isolate; }
.home-note__art {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(22,37,66,.98), rgba(22,37,66,.84)), url("../img/village-composite.webp") center 53% / cover;
  filter: saturate(.35);
}
.home-note__inner { display: grid; grid-template-columns: minmax(0, 1.1fr) 1fr auto; align-items: center; gap: clamp(2rem, 6vw, 7rem); min-height: 260px; padding-block: 3rem; }
.home-note__label { margin: 0 0 .65rem; color: var(--ref-blue); font-size: .67rem; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; }
.home-note h2 { max-width: 16ch; margin: 0; font-size: clamp(1.8rem, 3vw, 3rem); font-weight: 600; letter-spacing: -.035em; line-height: 1.08; }
.home-note__inner > p { max-width: 34rem; margin: 0; color: rgba(255,255,255,.65); font-size: .92rem; line-height: 1.7; }
.button--light { white-space: nowrap; }

.site-footer--compact { padding: 0; background: #0b1427; }
.footer-compact { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 78px; gap: 2rem; color: rgba(255,255,255,.43); font-size: .66rem; }
.footer-compact nav { display: flex; gap: 1.4rem; }
.footer-compact a { color: rgba(255,255,255,.6); text-decoration: none; }
.footer-compact > span:last-child { justify-self: end; }

/* Bring the inner pages into the same restrained design system. */
.page-hero { color: var(--ref-white); background: var(--ref-navy); }
.page-hero__grid { min-height: min(42svh, 390px); padding-block: clamp(3.5rem, 7vw, 6.5rem); }
.page-title { max-width: 13ch; font-family: var(--ref-font); font-size: clamp(3rem, 5.4vw, 5.7rem); font-weight: 600; letter-spacing: -.055em; line-height: .98; }
.eyebrow, .kicker { font-family: var(--ref-font); font-size: .68rem; letter-spacing: .11em; }
.page-hero__aside { color: rgba(255,255,255,.65); }
.page-hero__aside .kicker { color: var(--ref-blue); }
.content-section { background: var(--ref-white); }
.content-section--paper { background: var(--ref-paper); }
.content-section--ink, .content-section--navy { background: var(--ref-navy); }
.section-title, .split-heading h2, .service-detail h3, .about-statement, .principle h3, .form-intro h2, .legal-copy h2 {
  font-family: var(--ref-font);
  font-weight: 600;
}
.section-title { font-size: clamp(2.7rem, 5vw, 5rem); }
.service-detail__number, .principle__number { color: #536f9b; }
.button--copper { color: var(--ref-white); background: var(--ref-navy); border-color: var(--ref-navy); }
.button--copper:hover { color: var(--ref-navy); background: transparent; border-color: var(--ref-navy); }
.final-cta { color: var(--ref-white); background: var(--ref-navy-2); }
.final-cta h2 { font-family: var(--ref-font); font-weight: 600; }

@media (max-width: 980px) {
  .home-stage { min-height: auto; }
  .home-stage__inner { grid-template-columns: 1fr; gap: 2.5rem; padding-block: 4rem; }
  .home-stage__art { left: 25%; }
  .home-capabilities { width: min(100%, 620px); }
  .home-stage__footer { grid-template-columns: 1fr; gap: .8rem; padding-block: 1.25rem; }
  .home-note__inner { grid-template-columns: 1fr 1fr; }
  .home-note__inner .button { grid-column: 1 / -1; justify-self: start; }
}

@media (max-width: 760px) {
  .site-header__inner { min-height: 64px; }
  .brand img { width: 34px; height: 34px; }
  .home-stage__art { inset: 0; background-position: 62% 50%; opacity: .34; }
  .home-stage::before { background: linear-gradient(90deg, rgba(16,26,49,.98), rgba(16,26,49,.88)); }
  .home-stage__inner { gap: 2.2rem; padding-block: 3.2rem 2.5rem; }
  .home-kicker b { display: none; }
  .home-intro h1 { font-size: clamp(3rem, 14vw, 4.6rem); }
  .home-intro__copy { font-size: .98rem; }
  .home-actions { align-items: flex-start; flex-direction: column; gap: 1rem; }
  .home-signals { display: grid; gap: .45rem; margin-top: 2rem; }
  .home-capabilities { padding-inline: 1.15rem; background: rgba(8,15,29,.64); }
  .home-stage__footer ol { display: grid; grid-template-columns: 1fr 1fr; gap: .55rem 1rem; width: 100%; }
  .home-note__inner { grid-template-columns: 1fr; gap: 1.4rem; min-height: 0; }
  .home-note__inner .button { grid-column: auto; }
  .footer-compact { grid-template-columns: 1fr; gap: .7rem; padding-block: 1.4rem; }
  .footer-compact nav { flex-wrap: wrap; gap: .75rem 1rem; }
  .footer-compact > span:last-child { justify-self: start; }
  .site-nav { top: 64px; }
  .site-nav a { font-size: 1rem; }
  .page-hero__grid { min-height: 0; padding-block: 3.5rem; }
  .page-title { font-size: clamp(2.9rem, 13vw, 4.2rem); }
}

@media (max-height: 760px) and (min-width: 981px) {
  .home-stage__inner { padding-block: 2.1rem; }
  .home-intro h1 { font-size: clamp(3.5rem, 5vw, 5.3rem); }
  .home-intro__copy { margin-top: 1.25rem; line-height: 1.5; }
  .home-actions { margin-top: 1.35rem; }
  .home-signals { margin-top: 1.5rem; }
  .home-capabilities > a { padding-block: .65rem; }
  .home-stage__footer { min-height: 66px; }
}

@media (prefers-reduced-motion: reduce) {
  .home-stage__art, .home-note__art { background-attachment: initial; }
}

/* Indie page */
.indie-hero { position: relative; overflow: hidden; isolation: isolate; }
.indie-hero__art { position: absolute; inset: 0 0 0 44%; z-index: -1; background: linear-gradient(90deg, #101a31, rgba(16,26,49,.62)), url("../img/hero-night.webp") 60% 45% / cover; filter: saturate(.45); opacity: .56; }
.indie-manifesto { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(3rem, 9vw, 10rem); padding-block: clamp(4.5rem, 8vw, 8rem); }
.indie-manifesto h2 { max-width: 12ch; margin: 0; font-size: clamp(3rem, 5.8vw, 6rem); font-weight: 620; letter-spacing: -.06em; line-height: .96; }
.indie-manifesto .body-large { margin-top: 0; }
.indie-offers { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--ref-line); border-left: 1px solid var(--ref-line); }
.indie-offer { min-height: 250px; padding: clamp(1.5rem, 3vw, 2.6rem); border-right: 1px solid var(--ref-line); border-bottom: 1px solid var(--ref-line); }
.indie-offer > span { color: #536f9b; font: 650 .58rem/1 var(--ref-mono); letter-spacing: .08em; }
.indie-offer h3 { margin: 3rem 0 .7rem; font-size: clamp(1.4rem, 2.2vw, 2rem); font-weight: 620; letter-spacing: -.035em; }
.indie-offer p { max-width: 31rem; margin: 0; color: var(--ref-muted); font-size: .86rem; line-height: 1.65; }
.indie-path { color: #fff; background: #101a31; }
.indie-path__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(3rem, 8vw, 9rem); align-items: center; padding-block: clamp(5rem, 9vw, 8rem); }
.indie-path h2 { margin: 0 0 1.2rem; font-size: clamp(3rem, 5vw, 5.5rem); font-weight: 620; letter-spacing: -.06em; line-height: .93; }
.indie-path p { max-width: 34rem; color: rgba(255,255,255,.58); }
.indie-path ol { margin: 0; padding: 0; border-top: 1px solid rgba(255,255,255,.16); list-style: none; }
.indie-path li { display: grid; grid-template-columns: 2rem 1fr auto; gap: 1rem; align-items: center; min-height: 76px; border-bottom: 1px solid rgba(255,255,255,.16); }
.indie-path li span { color: #8ba9da; font: 600 .58rem/1 var(--ref-mono); }
.indie-path li strong { font-size: 1rem; font-weight: 600; }
.indie-path li small { color: rgba(255,255,255,.43); font-size: .66rem; }
@media (max-width: 760px) {
  .indie-manifesto, .indie-path__grid { grid-template-columns: 1fr; }
  .indie-offers { grid-template-columns: 1fr; }
  .indie-offer { min-height: 0; }
  .indie-path li { grid-template-columns: 1.5rem 1fr; padding-block: 1rem; }
  .indie-path li small { grid-column: 2; }
}

/* The Codex preview pane is often around 760px wide: keep the full proposition
   in one screen there instead of falling into a tablet-length stack. */
@media (min-width: 700px) and (max-width: 980px) {
  .home-stage { min-height: calc(100svh - 64px); }
  .home-stage__inner {
    grid-template-columns: minmax(0, 1fr) 255px;
    gap: 1.5rem;
    padding-block: 2rem 1.5rem;
  }
  .home-intro h1 { font-size: clamp(3rem, 6.6vw, 3.55rem); }
  .home-intro__copy { margin-top: 1.15rem; font-size: .86rem; line-height: 1.5; }
  .home-kicker { margin-bottom: 1rem; font-size: .62rem; }
  .home-actions { margin-top: 1.25rem; gap: 1rem; }
  .home-signals { display: flex; gap: .5rem 1rem; margin-top: 1.25rem; font-size: .6rem; }
  .home-capabilities { width: auto; padding-inline: 1rem; }
  .home-capabilities__head { padding-block: .75rem .65rem; }
  .home-capabilities > a { grid-template-columns: 1.45rem 1fr; gap: 0 .45rem; padding-block: .58rem; }
  .home-capabilities strong { font-size: .72rem; }
  .home-capabilities small { font-size: .58rem; }
  .home-stage__footer { grid-template-columns: 1fr auto; gap: 1rem; min-height: 62px; padding-block: 0; }
  .home-stage__footer p { font-size: .62rem; }
  .home-stage__footer ol { display: flex; gap: .75rem; }
  .home-stage__footer li { font-size: .58rem; }
  .home-stage__art { left: 26%; opacity: .43; }
  .home-note__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; gap: 2rem; min-height: 220px; padding-block: 2rem; }
  .home-note__inner .button { grid-column: auto; }
}

/* ================================================================
   Premium game-studio homepage
   The visual language is original to Beaduck and uses only supplied art.
   ================================================================ */

.premium-home {
  color: #f7f8fb;
  background: #080e1a;
}

.premium-home::before {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  background: #080e1a;
  animation: page-failsafe 500ms 1.8s both;
  content: "";
}

.premium-home.loader-mounted::before { display: none; }

@keyframes page-failsafe {
  to { opacity: 0; visibility: hidden; }
}

.game-loader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  padding: 2rem;
  color: #f7f8fb;
  background: #080e1a;
  pointer-events: none;
  transition: opacity 520ms cubic-bezier(.22,.61,.36,1), visibility 520ms;
}

.game-loader::before {
  position: absolute;
  inset: 0;
  opacity: .18;
  background-image:
    linear-gradient(rgba(139,169,218,.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139,169,218,.1) 1px, transparent 1px);
  background-size: 48px 48px;
  content: "";
}

.game-loader::after {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 45%, rgba(58,91,143,.18), transparent 40%);
  content: "";
}

.game-loader.is-complete { opacity: 0; visibility: hidden; }

.game-loader__hud {
  position: relative;
  z-index: 1;
  width: min(100%, 520px);
  padding: 1.35rem;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(8,14,26,.82);
  box-shadow: 0 30px 90px rgba(0,0,0,.28);
}

.game-loader__brand,
.game-loader__status { display: flex; align-items: center; justify-content: space-between; }
.game-loader__brand { gap: .8rem; justify-content: flex-start; font-size: .68rem; font-weight: 700; letter-spacing: .14em; }
.game-loader__brand img { width: 38px; height: 38px; }
.game-loader__status { margin-top: 2.8rem; color: rgba(255,255,255,.62); font: 600 .67rem/1 var(--ref-mono); letter-spacing: .08em; }
.game-loader__status strong { color: #fff; font-size: .82rem; }
.game-loader__bar { height: 3px; margin-top: .75rem; overflow: hidden; background: rgba(255,255,255,.1); }
.game-loader__bar i { display: block; width: 0; height: 100%; background: #8ba9da; transition: width 100ms linear; }
.game-loader__achievement { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.2rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,.1); opacity: 0; transform: translateY(8px); transition: opacity 240ms ease, transform 240ms ease; }
.game-loader.is-ready .game-loader__achievement { opacity: 1; transform: none; }
.game-loader__achievement small { color: #8ba9da; font: 600 .58rem/1 var(--ref-mono); letter-spacing: .1em; }
.game-loader__achievement b { font-size: .72rem; letter-spacing: .06em; }

.premium-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 500;
  padding: 10px var(--gutter) 0;
  background: transparent;
  border: 0;
  transition: transform 260ms ease;
}

.premium-header .site-header__inner {
  width: min(100%, 1390px);
  min-height: 66px;
  padding-inline: 1.2rem;
  background: rgba(7,12,23,.84);
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 12px;
  box-shadow: 0 14px 36px rgba(0,0,0,.16);
  backdrop-filter: blur(16px);
}

.premium-header.is-scrolled .site-header__inner { background: rgba(7,12,23,.96); }
.premium-header .brand img { width: 36px; height: 36px; }
.premium-header .site-nav ul { gap: clamp(1rem, 1.65vw, 1.8rem); }
.premium-header .site-nav a { padding-block: 1.35rem; font-size: .76rem; }
.premium-header .site-nav a[aria-current="page"]::after { bottom: .85rem; background: #8ba9da; }
.premium-header__actions { display: flex; align-items: center; gap: .85rem; }
.language-pair { display: inline-flex; align-items: center; gap: .35rem; color: rgba(255,255,255,.62); font: 700 .59rem/1 var(--ref-mono); letter-spacing: .09em; }
.language-pair i { color: #8ba9da; font-style: normal; }

.game-hero {
  position: relative;
  z-index: 0;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto auto;
  min-height: 100svh;
  padding-top: 86px;
  overflow: hidden;
  color: #f7f8fb;
  background: #080e1a;
  isolation: isolate;
}

.game-hero::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(8,14,26,.99) 0%, rgba(8,14,26,.96) 43%, rgba(8,14,26,.61) 75%, rgba(8,14,26,.8) 100%),
    linear-gradient(0deg, #080e1a 0%, transparent 32%, rgba(8,14,26,.18) 100%);
  content: "";
}

.game-hero::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .2;
  background-image:
    linear-gradient(rgba(139,169,218,.11) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139,169,218,.11) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(90deg, transparent 28%, #000);
  -webkit-mask-image: linear-gradient(90deg, transparent 28%, #000);
  content: "";
}

.game-hero__scene {
  position: absolute;
  inset: 0 0 0 34%;
  z-index: -2;
  background: url("../img/hero-night-motion.webp") 56% 50% / cover no-repeat;
  filter: saturate(.58) contrast(1.05);
  opacity: .7;
  transform: scale(1.03) translate3d(var(--scene-x, 0), var(--scene-y, 0), 0);
  transition: transform 800ms cubic-bezier(.22,.61,.36,1);
}

.game-hero__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: center;
  gap: clamp(1.25rem, 2vw, 2.2rem);
  width: 100%;
  padding-block: clamp(1.25rem, 3.2vh, 2.8rem);
}

.game-hero__copy { grid-column: 1 / 9; align-self: center; }
.game-eyebrow { display: flex; align-items: center; gap: .85rem; margin: 0 0 1rem; color: rgba(255,255,255,.68); font-size: .64rem; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
.game-eyebrow span { display: inline-flex; align-items: center; gap: .7rem; }
.game-eyebrow span::before { width: 1.5rem; height: 1px; background: #8ba9da; content: ""; }
.game-eyebrow b { color: #8ba9da; font-weight: 700; }
.game-hero h1 { margin: 0; font-size: clamp(4.3rem, 7.2vw, 8.25rem); font-weight: 700; letter-spacing: -.075em; line-height: .8; text-transform: uppercase; }
.game-hero h1 span { display: block; overflow: hidden; padding-bottom: .08em; }
.game-hero__accent { color: transparent; -webkit-text-stroke: 1px rgba(247,248,251,.92); }
.game-hero__intro { display: grid; grid-template-columns: minmax(0, 28rem) auto; align-items: end; gap: 2rem; margin-top: clamp(1rem, 2.4vh, 1.8rem); }
.game-hero__intro > p { margin: 0; color: rgba(255,255,255,.66); font-size: clamp(.85rem, 1vw, 1rem); line-height: 1.55; }
.game-hero__intro > div { display: flex; align-items: center; gap: 1.1rem; }
.button--solid { color: #09101e; background: #f7f8fb; border-color: #f7f8fb; white-space: nowrap; }
.button--solid:hover { color: #f7f8fb; background: transparent; }
.arrow-link { display: inline-flex; align-items: center; gap: .45rem; color: rgba(255,255,255,.78); font-size: .7rem; font-weight: 700; text-decoration: none; white-space: nowrap; }
.arrow-link span { transition: transform 180ms ease; }
.arrow-link:hover span { transform: translate(3px,-3px); }

.production-frame {
  position: relative;
  grid-column: 9 / 13;
  align-self: center;
  min-height: clamp(235px, 29vh, 300px);
  overflow: hidden;
  background: #070c17;
  border: 1px solid rgba(255,255,255,.17);
  border-top-color: rgba(139,169,218,.75);
  box-shadow: 0 24px 70px rgba(0,0,0,.28);
  isolation: isolate;
}
.production-frame::after { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(6,10,20,.14), rgba(6,10,20,.17) 38%, rgba(6,10,20,.9)); content: ""; }
.production-frame > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 50% 54%; filter: saturate(.58) contrast(1.02) brightness(.9); transform: scale(1.015); }
.production-frame__top { display: flex; justify-content: space-between; gap: 1rem; padding: 1rem 1.05rem; color: rgba(255,255,255,.72); font: 650 .53rem/1 var(--ref-mono); letter-spacing: .085em; text-transform: uppercase; }
.production-frame__top small { color: rgba(255,255,255,.38); font: inherit; }
.production-frame__caption { position: absolute; right: 1.05rem; bottom: 1rem; left: 1.05rem; }
.production-frame__caption p { max-width: 13ch; margin: 0 0 .9rem; font-size: clamp(1.15rem, 1.7vw, 1.55rem); font-weight: 620; letter-spacing: -.035em; line-height: 1.02; }
.production-frame__caption ul { display: grid; grid-template-columns: repeat(4, auto); gap: .7rem; margin: 0; padding: .7rem 0 0; border-top: 1px solid rgba(255,255,255,.18); list-style: none; }
.production-frame__caption li { color: rgba(255,255,255,.56); font: 600 .48rem/1 var(--ref-mono); letter-spacing: .07em; text-transform: uppercase; }

/* Contact: strengthen the information column without competing with the form */
.contact-page .contact-layout { grid-template-columns: minmax(20rem, .72fr) minmax(0, 1.28fr); gap: clamp(3.5rem, 5.5vw, 6.5rem); }
.contact-page .contact-aside { max-width: 25rem; }
.contact-page .contact-aside__block { padding-block: 1.5rem; }
.contact-page .contact-aside__block h2 { margin-bottom: .72rem; font-size: clamp(.78rem, .9vw, .88rem); font-weight: 700; letter-spacing: .09em; }
.contact-page .contact-aside__block p { color: #1b2436; font-size: clamp(1.02rem, 1.15vw, 1.14rem); line-height: 1.55; }
.contact-page .contact-aside__block:first-child p { font-size: clamp(1.14rem, 1.3vw, 1.28rem); font-weight: 560; }

.context-showcase {
  position: relative;
  display: grid;
  grid-template-columns: 175px minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: stretch;
  width: 100%;
  padding-bottom: 1rem;
}
.context-showcase__heading { display: flex; flex-direction: column; justify-content: flex-end; gap: .35rem; padding-bottom: .2rem; }
.context-showcase__heading span { font-size: .66rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.context-showcase__heading small { color: rgba(255,255,255,.38); font-size: .56rem; line-height: 1.35; }
.context-showcase__track { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .55rem; overflow: auto hidden; scrollbar-width: none; scroll-snap-type: x mandatory; }
.context-showcase__track::-webkit-scrollbar { display: none; }
.context-card { position: relative; min-width: 0; height: clamp(118px, 16vh, 154px); overflow: hidden; padding: .75rem; color: #fff; background: #111b30 center / cover no-repeat; border: 1px solid rgba(255,255,255,.16); text-decoration: none; scroll-snap-align: start; isolation: isolate; }
.context-card::before { position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(4,8,16,.95), rgba(4,8,16,.13) 72%); transition: background 280ms ease; content: ""; }
.context-card::after { position: absolute; inset: 0; z-index: -2; background: inherit; transition: transform 500ms cubic-bezier(.22,.61,.36,1); content: ""; }
.context-card:hover::after { transform: scale(1.045); }
.context-card--herald { background-image: url("../img/herald-context.webp"); }
.context-card--night { background-image: url("../img/hero-night.webp"); }
.context-card--village { background-image: url("../img/village-composite.webp"); }
.context-card > span { display: block; color: rgba(255,255,255,.62); font: 600 .5rem/1 var(--ref-mono); letter-spacing: .06em; text-transform: uppercase; }
.context-card strong { position: absolute; right: .75rem; bottom: 1.5rem; left: .75rem; font-size: clamp(.75rem, 1vw, .92rem); line-height: 1.1; }
.context-card small { position: absolute; right: .75rem; bottom: .55rem; left: .75rem; color: rgba(255,255,255,.54); font-size: .52rem; }
.context-showcase__controls { display: flex; flex-direction: column; gap: .35rem; justify-content: flex-end; }
.context-showcase__controls button { display: grid; place-items: center; width: 31px; height: 31px; padding: 0; color: rgba(255,255,255,.7); background: transparent; border: 1px solid rgba(255,255,255,.15); cursor: pointer; }
.context-showcase__controls button:hover { color: #07101f; background: #fff; }
.game-marquee { overflow: hidden; border-top: 1px solid rgba(255,255,255,.11); border-bottom: 1px solid rgba(255,255,255,.11); background: rgba(5,9,17,.7); }
.game-marquee > div { display: flex; align-items: center; justify-content: space-around; gap: 1.4rem; min-width: max-content; min-height: 45px; padding-inline: var(--gutter); }
.game-marquee span { color: rgba(255,255,255,.48); font-size: .57rem; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; }
.game-marquee i { width: 4px; height: 4px; background: #7898ca; }

.studio-command {
  position: relative;
  display: grid;
  grid-template-rows: 1fr auto;
  min-height: min(86svh, 700px);
  overflow: hidden;
  color: #f7f8fb;
  background: #111827;
  isolation: isolate;
}
.studio-command__art { position: absolute; inset: 0; z-index: -2; background: url("../img/village-composite.webp") 55% 52% / cover no-repeat; filter: saturate(.34) contrast(.95); opacity: .22; }
.studio-command::before { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(17,24,39,.99) 0%, rgba(17,24,39,.96) 49%, rgba(17,24,39,.78) 100%); content: ""; }
.studio-command__grid { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: clamp(3rem, 8vw, 9rem); width: 100%; padding-block: clamp(4rem, 8vh, 6.5rem); }
.studio-mission h2 { max-width: 8.7ch; margin: 0; font-size: clamp(3.7rem, 6.3vw, 7.2rem); font-weight: 680; letter-spacing: -.07em; line-height: .88; }
.studio-mission > p:not(.game-eyebrow) { max-width: 34rem; margin: 1.4rem 0; color: rgba(255,255,255,.62); font-size: clamp(.9rem, 1.2vw, 1.05rem); line-height: 1.62; }
.editorial-services { border-top: 1px solid rgba(255,255,255,.18); }
.editorial-services__head { display: flex; align-items: center; justify-content: space-between; min-height: 54px; border-bottom: 1px solid rgba(255,255,255,.14); }
.editorial-services__head p { margin: 0; font-size: .67rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.editorial-services__head a { color: rgba(255,255,255,.5); font-size: .62rem; text-decoration: none; }
.editorial-services > a { display: grid; grid-template-columns: 2.2rem minmax(0, 1fr) auto; align-items: center; gap: .8rem; min-height: 68px; color: #fff; border-bottom: 1px solid rgba(255,255,255,.14); text-decoration: none; transition: padding 220ms ease, background 220ms ease; }
.editorial-services > a:hover { padding-inline: .7rem; background: rgba(139,169,218,.07); }
.editorial-services > a span { color: #8ba9da; font: 600 .58rem/1 var(--ref-mono); }
.editorial-services > a strong { font-size: clamp(.85rem, 1.3vw, 1.1rem); font-weight: 600; }
.editorial-services > a small { color: rgba(255,255,255,.4); font-size: .58rem; text-align: right; }
.indie-console { display: grid; grid-template-columns: 1.15fr .8fr auto; align-items: center; gap: clamp(1.5rem, 4vw, 4rem); width: 100%; min-height: 112px; padding-block: 1.25rem; border-top: 1px solid rgba(255,255,255,.14); }
.indie-console__label { display: flex; align-items: center; gap: .9rem; }
.pixel-prompt { display: grid; place-items: center; width: 46px; height: 46px; color: #8ba9da; border: 1px solid rgba(139,169,218,.4); font: 700 1.1rem/1 var(--ref-mono); }
.indie-console__label small { display: block; margin-bottom: .3rem; color: #8ba9da; font: 600 .53rem/1 var(--ref-mono); letter-spacing: .09em; }
.indie-console__label strong { font-size: .83rem; font-weight: 600; }
.indie-console > p { margin: 0; color: rgba(255,255,255,.5); font-size: .72rem; line-height: 1.5; }

.contact-console { color: #07101f; background: #dfeafb; }
.contact-console__inner { display: grid; grid-template-columns: .45fr 1fr auto; align-items: end; gap: 2rem; min-height: 330px; padding-block: 4rem; }
.contact-console p { align-self: start; margin: .4rem 0 0; font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.contact-console h2 { margin: 0; font-size: clamp(3.4rem, 6.4vw, 7rem); font-weight: 680; letter-spacing: -.065em; line-height: .86; }
.button--dark { color: #fff; background: #07101f; border-color: #07101f; }
.button--dark:hover { color: #07101f; background: transparent; }

.premium-footer { padding: 0; background: #070c16; }
.premium-footer__top { display: grid; grid-template-columns: 1fr auto; gap: 4rem; align-items: end; padding-block: 1.5rem; border-bottom: 1px solid rgba(255,255,255,.1); }
.premium-footer__top img { width: 150px; }
.premium-footer__top p { max-width: 27rem; margin: .85rem 0 0; color: rgba(255,255,255,.44); font-size: .7rem; }
.premium-footer__top nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .8rem 1.5rem; }
.premium-footer__top a { color: rgba(255,255,255,.68); font-size: .72rem; font-weight: 600; text-decoration: none; }
.premium-footer__word { overflow: hidden; color: rgba(255,255,255,.92); font-size: clamp(4.2rem, 10vw, 8.5rem); font-weight: 760; letter-spacing: -.085em; line-height: .7; text-align: center; }
.premium-footer__bottom { display: grid; grid-template-columns: 1fr auto 1fr; gap: 2rem; align-items: center; min-height: 58px; color: rgba(255,255,255,.34); font-size: .6rem; }
.premium-footer__bottom span:last-child { justify-self: end; }

@media (max-width: 1100px) {
  .premium-header .header-cta { display: none; }
  .game-hero__copy { grid-column: 1 / 9; }
  .production-frame { grid-column: 9 / 13; }
  .game-hero h1 { font-size: clamp(4rem, 7vw, 6.4rem); }
  .game-hero__intro { grid-template-columns: 1fr; gap: 1rem; }
  .context-showcase { grid-template-columns: 145px minmax(0,1fr) auto; }
  .studio-command__grid { gap: 3rem; }
}

@media (min-width: 700px) and (max-width: 820px) {
  .premium-header { padding-inline: .75rem; }
  .premium-header .site-header__inner { min-height: 56px; }
  .premium-header__actions { display: none; }
  .game-hero { padding-top: 72px; }
  .game-hero__grid { grid-template-columns: minmax(0, 1fr) 236px; gap: 1.2rem; padding-block: .7rem; }
  .game-hero__copy { grid-column: 1; }
  .production-frame { grid-column: 2; min-height: 210px; }
  .game-hero h1 { font-size: clamp(3.25rem, 6.8vw, 3.65rem); line-height: .83; }
  .game-eyebrow { margin-bottom: .65rem; font-size: .55rem; }
  .game-hero__intro { margin-top: .65rem; gap: .6rem; }
  .game-hero__intro > p { font-size: .74rem; line-height: 1.45; }
  .game-hero__intro > div { gap: .75rem; }
  .game-hero__intro .button { min-height: 38px; padding: .55rem .72rem; font-size: .57rem; }
  .arrow-link { font-size: .58rem; }
  .production-frame__top { padding: .75rem; font-size: .44rem; }
  .production-frame__top small { display: none; }
  .production-frame__caption { right: .75rem; bottom: .75rem; left: .75rem; }
  .production-frame__caption p { margin-bottom: .65rem; font-size: 1rem; }
  .production-frame__caption ul { grid-template-columns: repeat(2, 1fr); gap: .45rem; padding-top: .55rem; }
  .context-showcase { grid-template-columns: 108px minmax(0,1fr); gap: .65rem; padding-bottom: .55rem; }
  .context-showcase__heading span { font-size: .55rem; }
  .context-showcase__heading small { font-size: .48rem; }
  .context-showcase__controls { display: none; }
  .context-card { height: 112px; padding: .55rem; }
  .context-card strong { right: .55rem; bottom: 1.25rem; left: .55rem; font-size: .67rem; }
  .context-card small { right: .55rem; bottom: .4rem; left: .55rem; font-size: .43rem; }
  .context-card > span { font-size: .42rem; }
  .game-marquee > div { min-height: 38px; gap: .8rem; }
  .game-marquee span { font-size: .46rem; }
  .studio-command { min-height: 720px; }
  .studio-command__grid { gap: 2rem; padding-block: 3rem; }
  .studio-mission h2 { font-size: 3.5rem; }
  .editorial-services > a { grid-template-columns: 1.6rem 1fr; min-height: 58px; }
  .editorial-services > a small { display: none; }
  .indie-console { grid-template-columns: 1fr auto; }
  .indie-console > p { display: none; }
}

@media (max-width: 699px) {
  .premium-header { padding: 7px .6rem 0; }
  .premium-header .site-header__inner {
    min-height: 56px;
    padding-inline: .9rem;
    /* A backdrop filter makes fixed descendants use this compact header as
       their containing block. Disable it on phones so the open navigation
       can correctly cover the viewport below the header. */
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
  .premium-header .brand img { width: 32px; height: 32px; }
  .premium-header__actions { display: none; }
  .premium-header .site-nav { top: 63px; }
  .game-hero { display: block; min-height: 0; padding-top: 76px; }
  .game-hero::before { background: linear-gradient(90deg, rgba(8,14,26,.99), rgba(8,14,26,.82)); }
  .game-hero__scene { inset: 0; background-position: 61% 34%; opacity: .46; }
  .game-hero__grid { display: block; padding-block: 2.5rem 1.6rem; }
  .game-eyebrow { flex-wrap: wrap; font-size: .55rem; }
  .game-hero h1 { font-size: clamp(3.25rem, 16.2vw, 5.1rem); line-height: .84; }
  .game-hero__intro { display: block; margin-top: 1.3rem; }
  .game-hero__intro > p { max-width: 31rem; }
  .game-hero__intro > div { margin-top: 1.15rem; flex-wrap: wrap; }
  .production-frame { min-height: 250px; margin-top: 2rem; }
  .context-showcase { display: block; padding-bottom: 1.25rem; }
  .context-showcase__heading { margin-bottom: .7rem; }
  .context-showcase__track { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: min(82vw, 280px); }
  .context-card { height: 150px; }
  .context-showcase__controls { display: none; }
  .game-marquee > div { justify-content: flex-start; animation: marquee-drift 18s linear infinite; }
  .studio-command { display: block; min-height: 0; }
  .studio-command__grid { display: block; padding-block: 4.2rem 3rem; }
  .studio-mission h2 { font-size: clamp(3.4rem, 14.5vw, 5.3rem); }
  .editorial-services { margin-top: 3rem; }
  .editorial-services > a { grid-template-columns: 1.8rem 1fr; min-height: 62px; }
  .editorial-services > a small { display: none; }
  .indie-console { display: block; padding-block: 1.8rem; }
  .indie-console > p { margin: 1rem 0; }
  .contact-console__inner { display: block; min-height: 0; }
  .contact-console h2 { margin-block: 1.5rem; font-size: clamp(3.4rem, 15vw, 5.7rem); }
  .premium-footer__top { grid-template-columns: 1fr; }
  .premium-footer__top nav { justify-content: flex-start; }
  .premium-footer__bottom { grid-template-columns: 1fr; gap: .5rem; padding-block: 1.2rem; }
  .premium-footer__bottom span:last-child { justify-self: start; }
}

@media (min-width: 761px) and (max-width: 960px) {
  .contact-page .contact-layout { grid-template-columns: 1fr; gap: 3rem; }
  .contact-page .contact-aside { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: none; gap: 0 2rem; }
}

@keyframes marquee-drift {
  to { transform: translateX(-35%); }
}

@media (prefers-reduced-motion: reduce) {
  .game-loader { display: none; }
  .game-hero__scene { transform: none; transition: none; }
  .game-marquee > div { animation: none; }
}

/* Footer repair: the real logo is always the final, centered element. */
.premium-footer__top { align-items: center; }
.premium-footer__intro p { margin: 0; }
.premium-footer__logo { display: flex; justify-content: center; padding: 1.8rem var(--gutter) 2.2rem; border-top: 1px solid rgba(255,255,255,.1); }
.premium-footer__logo img { width: min(170px, 46vw); height: auto; }

.site-footer:not(.premium-footer) { padding-block: 3rem 0; }
.site-footer:not(.premium-footer) .footer__brand p { margin-top: 0; }
.footer-email,
.contact-email {
  display: inline-block;
  margin-top: .75rem;
  color: #f4f6fb;
  font-family: var(--mono);
  font-size: .78rem;
  letter-spacing: .035em;
  overflow-wrap: anywhere;
  text-decoration-color: rgba(255, 255, 255, .42);
  text-underline-offset: .28em;
}
.footer-email:hover,
.footer-email:focus-visible,
.contact-email:hover,
.contact-email:focus-visible { color: var(--copper); text-decoration-color: currentColor; }
.contact-page .contact-email { margin-top: 0; color: #142039; font-size: clamp(.9rem, 1vw, 1rem); }
.footer__center-logo { display: flex; justify-content: center; padding: 2rem 0 2.4rem; border-top: 1px solid rgba(255,255,255,.1); }
.footer__center-logo img { width: min(170px, 46vw); height: auto; }

.brand-lockup {
  display: grid;
  grid-template-columns: auto auto;
  align-items: center;
  justify-content: center;
  gap: clamp(.85rem, 2vw, 1.25rem);
  color: #f7f8fb;
  text-align: left;
  text-decoration: none;
}
.brand-lockup img,
.premium-footer__logo.brand-lockup img,
.footer__center-logo.brand-lockup img {
  width: clamp(76px, 8vw, 108px);
  height: clamp(76px, 8vw, 108px);
  object-fit: contain;
}
.brand-lockup__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1;
}
.brand-lockup__copy strong {
  font-family: var(--display);
  font-size: clamp(1.35rem, 2.4vw, 2.05rem);
  font-weight: 900;
  letter-spacing: .075em;
}
.brand-lockup__copy > span {
  margin-top: .35rem;
  font-family: var(--mono);
  font-size: clamp(.55rem, .85vw, .7rem);
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.brand-lockup__copy small {
  margin-top: .7rem;
  color: #e3ad2e;
  font-family: var(--mono);
  font-size: clamp(.55rem, .8vw, .68rem);
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

@media (max-width: 520px) {
  .brand-lockup { gap: .7rem; }
  .brand-lockup img,
  .premium-footer__logo.brand-lockup img,
  .footer__center-logo.brand-lockup img { width: 78px; height: 78px; }
  .brand-lockup__copy strong { font-size: 1.35rem; }
}

.form-privacy-notice {
  gap: .65rem;
  padding: 1rem 1.05rem;
  border: 1px solid rgba(255, 255, 255, .24);
  background: rgba(255, 255, 255, .035);
}
.form-privacy-notice h3 {
  margin: 0;
  font-family: var(--mono);
  font-size: .73rem;
  letter-spacing: .065em;
  text-transform: uppercase;
}
.form-privacy-notice p {
  margin: 0;
  color: #c6ccda;
  font-size: .83rem;
  line-height: 1.55;
}
.form-privacy-notice a { color: #fff; text-underline-offset: .2em; }
.form-privacy-notice a:hover,
.form-privacy-notice a:focus-visible { color: var(--copper); }

.legal-acknowledgement {
  display: grid;
  grid-template-columns: 1.15rem 1fr;
  gap: .8rem;
  align-items: start;
  margin-top: .35rem;
  padding: .95rem;
  color: #f4f6fb;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .34);
  cursor: pointer;
}
.legal-acknowledgement:has(input:checked) {
  color: #111a33;
  background: #f0c9b2;
  border-color: #f0c9b2;
}
.legal-acknowledgement input {
  width: 1.15rem;
  height: 1.15rem;
  margin: .14rem 0 0;
  accent-color: #7d371a;
}
.legal-acknowledgement span {
  font-size: .86rem;
  line-height: 1.55;
}
.commercial-status {
  padding-top: .85rem;
  border-top: 1px solid rgba(255, 255, 255, .16);
}

.legal-summary {
  margin: 0 0 2.8rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--line-light);
  color: #182238 !important;
  font-size: clamp(1.12rem, 1.7vw, 1.35rem);
  line-height: 1.6;
}
.legal-copy ul { padding-left: 1.3rem; }
.legal-copy li + li { margin-top: .45rem; }
.legal-copy a { color: #142a54; text-underline-offset: .18em; }
.legal-placeholder {
  padding: .08em .25em;
  color: #5f260f;
  background: #f5dfd0;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

@media (max-width: 699px) {
  .premium-footer__top { grid-template-columns: 1fr; gap: 1.2rem; text-align: center; }
  .premium-footer__top nav { justify-content: center; }
  .premium-footer__bottom { text-align: center; }
  .premium-footer__bottom span:last-child { justify-self: center; }
  .site-footer:not(.premium-footer) .footer__top { grid-template-columns: 1fr; text-align: center; }
  .site-footer:not(.premium-footer) .footer__nav { justify-content: center; }
}

/* ================================================================
   Inner-page refinement: three chapters, one BEADUCK system
   ================================================================ */

.services-page .page-hero,
.indie-page .page-hero,
.about-page .page-hero { padding-block: 0; }

.services-page .page-hero__grid,
.indie-page .page-hero__grid,
.about-page .page-hero__grid {
  min-height: clamp(310px, 31vw, 430px);
  padding-block: clamp(3.5rem, 5vw, 5.5rem);
}

.services-page .final-cta,
.indie-page .final-cta,
.about-page .final-cta { padding-block: clamp(4.2rem, 6vw, 6.5rem); }

.services-page .final-cta h2,
.indie-page .final-cta h2,
.about-page .final-cta h2 { max-width: 14ch; font-size: clamp(3rem, 5vw, 5.8rem); }

/* Services: capability document */
.services-capabilities { padding-block: clamp(4.5rem, 6vw, 6.75rem); }
.services-intro { grid-template-columns: .85fr 1.15fr; gap: clamp(3rem, 6vw, 7rem); }
.services-intro h2 { max-width: 12ch; font-size: clamp(2.8rem, 4.4vw, 4.8rem); }

.services-scope-index {
  display: grid;
  grid-template-columns: 1.15fr repeat(4, 1fr);
  margin-top: clamp(3.5rem, 5vw, 5rem);
  border-top: 1px solid var(--ref-line);
  border-left: 1px solid var(--ref-line);
}
.services-scope-index > div,
.services-scope-index > a {
  display: flex;
  min-height: 92px;
  padding: 1rem;
  border-right: 1px solid var(--ref-line);
  border-bottom: 1px solid var(--ref-line);
}
.services-scope-index > div { flex-direction: column; justify-content: center; }
.services-scope-index > div span { font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.services-scope-index > div small { margin-top: .3rem; color: var(--ref-muted); font-size: .62rem; }
.services-scope-index > a { flex-direction: column; justify-content: space-between; color: var(--ref-ink); text-decoration: none; }
.services-scope-index > a span { color: #536f9b; font: 600 .56rem/1 var(--ref-mono); }
.services-scope-index > a strong { font-size: .76rem; font-weight: 620; line-height: 1.25; }
.services-scope-index > a:hover { color: var(--ref-white); background: var(--ref-navy); }
.services-scope-index > a:hover span { color: var(--ref-blue); }

.services-page .service-detail-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: clamp(2.5rem, 4vw, 4rem);
  border-top: 1px solid var(--ref-line);
  border-left: 1px solid var(--ref-line);
}
.services-page .service-detail {
  scroll-margin-top: 5rem;
  border-right: 1px solid var(--ref-line);
  border-bottom: 1px solid var(--ref-line);
}
.services-page .service-detail--primary,
.services-page .service-detail--wide {
  grid-column: 1 / -1;
  grid-template-columns: 4rem minmax(15rem, .72fr) minmax(0, 1.28fr);
  padding: clamp(2.4rem, 4vw, 4rem);
}
.services-page .service-detail--compact {
  display: block;
  min-height: 440px;
  padding: clamp(2rem, 3vw, 3rem);
}
.services-page .service-detail--compact h3 { max-width: 10ch; margin: clamp(3.5rem, 6vw, 6rem) 0 1.5rem; }
.services-page .service-detail--compact .service-detail__body p { max-width: 35rem; }
.services-page .service-detail--wide { grid-template-columns: 4rem minmax(18rem, 1fr) minmax(0, 1fr); }
.services-page .scope-note { margin-top: 0; border-top: 0; }
.production-requirements { padding-block: clamp(4.5rem, 6vw, 6.75rem); }
.production-requirements .split-heading { grid-template-columns: .8fr 1.2fr; gap: clamp(3rem, 7vw, 8rem); }
.production-requirements h2 { max-width: 10ch; font-size: clamp(3rem, 4.8vw, 5rem); }

/* Indie: a release path, not a services grid */
.indie-release { padding-block: 0 clamp(4.5rem, 6vw, 6.5rem); }
.indie-manifesto { gap: clamp(3rem, 7vw, 7.5rem); padding-block: clamp(4.5rem, 6vw, 6.5rem); }
.indie-manifesto h2 { font-size: clamp(3rem, 5vw, 5.25rem); }
.indie-release__label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  min-height: 68px;
  border-top: 1px solid var(--ref-line);
  border-bottom: 1px solid var(--ref-line);
}
.indie-release__label p { margin: 0; }
.indie-release__label span { color: var(--ref-muted); font-size: .76rem; }
.indie-offers { grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 0; }
.indie-offer { position: relative; min-height: 330px; padding: clamp(1.5rem, 2.4vw, 2.25rem); }
.indie-offer:not(:last-child)::after { position: absolute; top: 1.7rem; right: -0.28rem; z-index: 1; color: #536f9b; background: var(--ref-paper); font: 600 .72rem/1 var(--ref-mono); content: "→"; }
.indie-offer h3 { margin: clamp(4rem, 6vw, 6rem) 0 .9rem; font-size: clamp(1.35rem, 1.8vw, 1.8rem); }
.indie-path__grid { gap: clamp(3rem, 7vw, 7.5rem); padding-block: clamp(4.5rem, 6vw, 6.5rem); }
.indie-path h2 { font-size: clamp(3rem, 4.5vw, 4.8rem); }

/* Team: compact, equal and deliberately orderly */
.team-page { background: var(--ref-paper); }
.team-page-hero {
  color: var(--ref-white);
  background: var(--ref-navy);
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.team-page-hero__inner { padding-block: clamp(2.8rem, 4.1vw, 4.6rem); }
.team-page-hero__inner .eyebrow { margin: 0 0 1rem; }
.team-page-hero h1 {
  max-width: 15ch;
  margin: 0;
  font-size: clamp(3.25rem, 5.2vw, 5.7rem);
  font-weight: 620;
  letter-spacing: -.06em;
  line-height: 1.02;
}
.team-page-hero__inner > p:last-child {
  max-width: 40rem;
  margin: 1.1rem 0 0;
  color: rgba(255,255,255,.58);
  font-size: .8rem;
  line-height: 1.6;
}
.team-directory { padding: clamp(2rem, 3vw, 3.25rem) 0 clamp(3.5rem, 5vw, 5.5rem); }
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 450px));
  justify-content: center;
  gap: clamp(1.5rem, 3vw, 2.5rem);
}
.team-card {
  width: 100%;
  border: 1px solid var(--ref-line);
  background: var(--ref-white);
}
.team-card__photo {
  aspect-ratio: 4 / 5;
  margin: 0;
  overflow: hidden;
  background: var(--ref-navy);
}
.team-card__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.86) contrast(.97);
}
.team-card:first-child .team-card__photo img { object-position: 45% 50%; }
.team-card:last-child .team-card__photo img { object-position: 50% 42%; }
.team-card__details {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: .18rem .9rem;
  min-height: 108px;
  padding: 1.15rem 1.3rem;
  border-top: 1px solid var(--ref-line);
}
.team-card__details > span {
  grid-row: 1 / 3;
  padding-top: .2rem;
  color: #536f9b;
  font: 650 .58rem/1.35 var(--ref-mono);
  letter-spacing: .07em;
  text-transform: uppercase;
}
.team-card__details h2 {
  margin: 0;
  font-size: clamp(1.4rem, 2vw, 1.85rem);
  font-weight: 620;
  letter-spacing: -.04em;
  line-height: 1.02;
}
.team-card__details p {
  margin: 0;
  color: var(--ref-muted);
  font: 600 .63rem/1.3 var(--ref-mono);
  letter-spacing: .055em;
  text-transform: uppercase;
}

@media (max-width: 1100px) {
  .services-scope-index { grid-template-columns: repeat(2, 1fr); }
  .services-scope-index > div { grid-column: 1 / -1; min-height: 72px; }
  .services-page .service-detail--primary,
  .services-page .service-detail--wide { grid-template-columns: 3rem .8fr 1.2fr; }
  .services-page .service-detail--compact { min-height: 400px; }
  .indie-offers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .indie-offer { min-height: 280px; }
  .indie-offer:nth-child(2)::after { display: none; }
}

@media (max-width: 760px) {
  .contact-page .contact-layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .contact-page .contact-aside { max-width: none; }
  .services-page .page-hero__grid,
  .indie-page .page-hero__grid { min-height: 0; padding-block: 3.5rem; }
  .services-intro,
  .production-requirements .split-heading { grid-template-columns: 1fr; gap: 2rem; }
  .services-scope-index { grid-template-columns: 1fr 1fr; }
  .services-scope-index > a { min-height: 86px; }
  .services-page .service-detail-list { grid-template-columns: 1fr; }
  .services-page .service-detail--primary,
  .services-page .service-detail--compact,
  .services-page .service-detail--wide { grid-column: auto; display: block; min-height: 0; padding: 2rem 1.4rem; }
  .services-page .service-detail h3,
  .services-page .service-detail--compact h3 { max-width: 12ch; margin: 2.4rem 0 1.25rem; }
  .services-page .scope-note { grid-template-columns: 1fr; }
  .indie-release__label { display: block; padding-block: 1rem; }
  .indie-release__label span { display: block; margin-top: .45rem; }
  .indie-offers { grid-template-columns: 1fr; }
  .indie-offer { min-height: 0; padding: 2rem 1.4rem; }
  .indie-offer h3 { margin: 3rem 0 .8rem; }
  .indie-offer:not(:last-child)::after { top: auto; right: 1.25rem; bottom: -.35rem; background: var(--ref-paper); content: "↓"; }
  .team-page-hero__inner { padding-block: 2.6rem; }
  .team-page-hero h1 { font-size: clamp(2.8rem, 13vw, 4.25rem); }
  .team-directory { padding-top: 1.5rem; }
  .team-grid { grid-template-columns: minmax(0, 450px); }
}

/* Standalone hosting status pages */
.standalone-status { display: grid; align-items: center; min-height: 100svh; }
.standalone-status--compact { min-height: 70svh; }
.standalone-status .page-title { max-width: 12ch; }
.standalone-status__action { margin-top: 2rem; }
