@font-face {
  font-family: "Troika";
  src: url("fonts/troika.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 400;
}

:root {
  --ink: #09080d;
  --ink-soft: #15121c;
  --cream: #fff1d3;
  --paper: #f7e4bf;
  --orange: #ff6500;
  --orange-hot: #ff3d00;
  --yellow: #ffca28;
  --purple: #562092;
  --purple-dark: #24103f;
  --green: #9add00;
  --cyan: #22d7e5;
  --line: rgba(255, 241, 211, 0.24);
  --max: 1480px;
  --header-height: 92px;
  --shadow-hard: 12px 12px 0 rgba(0, 0, 0, 0.45);
  --font-display: "Troika", Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  --font-readable: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 32px);
  background: var(--ink);
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 16% 10%, rgba(86, 32, 146, 0.22), transparent 28rem),
    radial-gradient(circle at 88% 38%, rgba(255, 101, 0, 0.1), transparent 34rem),
    var(--ink);
  color: var(--cream);
  font-family: var(--font-display);
  font-synthesis: none;
  line-height: 1.35;
}

body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  content: "";
  pointer-events: none;
  opacity: 0.035;
  background-image:
    repeating-linear-gradient(0deg, transparent 0 3px, #fff 3px 4px),
    repeating-linear-gradient(90deg, transparent 0 7px, #fff 7px 8px);
}

img {
  max-width: 100%;
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 4px solid var(--cyan);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 999;
  top: 10px;
  left: 10px;
  padding: 12px 18px;
  transform: translateY(-160%);
  background: var(--cream);
  color: var(--ink);
  text-decoration: none;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  min-height: var(--header-height);
  display: grid;
  grid-template-columns: minmax(150px, 230px) 1fr auto;
  align-items: center;
  gap: 30px;
  padding: 12px clamp(18px, 3vw, 54px);
  border-bottom: 2px solid var(--orange);
  background: rgba(9, 8, 13, 0.92);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(16px);
}

.site-logo {
  display: block;
  width: clamp(150px, 15vw, 220px);
  line-height: 0;
}

.site-logo img {
  width: 100%;
  height: auto;
  display: block;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 2.8vw, 46px);
}

.site-nav a,
.site-footer a,
.text-link {
  position: relative;
  color: var(--cream);
  font-size: 0.88rem;
  letter-spacing: 0.055em;
  text-decoration: none;
  text-transform: uppercase;
}

.site-nav a::after,
.site-footer a::after,
.text-link::after {
  position: absolute;
  right: 0;
  bottom: -6px;
  left: 0;
  height: 3px;
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  background: var(--orange);
  transition: transform 160ms ease;
}

.site-nav a:hover::after,
.site-footer a:hover::after,
.text-link:hover::after {
  transform: scaleX(1);
}

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 13px 20px 11px;
  border: 2px solid currentColor;
  border-radius: 0;
  box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.45);
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.035em;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 120ms ease, box-shadow 120ms ease, background 120ms ease;
}

.button:hover {
  transform: translate(3px, 3px);
  box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.5);
}

.button-small {
  min-height: 44px;
  padding: 11px 16px 9px;
  font-size: 0.8rem;
}

.button-primary,
.button-meta {
  border-color: var(--orange);
  background: var(--orange);
  color: #120b06;
}

.button-primary:hover,
.button-meta:hover {
  background: var(--yellow);
}

.button-ghost {
  border-color: rgba(255, 241, 211, 0.72);
  background: transparent;
  color: var(--cream);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.hero {
  width: min(100%, 1920px);
  margin: 0 auto;
  padding: clamp(14px, 2.1vw, 38px);
}

.hero-art-shell {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 3px solid var(--cream);
  background: #15224a;
  box-shadow: var(--shadow-hard);
}

.hero-art-shell::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  content: "";
  pointer-events: none;
  box-shadow: inset 0 0 90px rgba(0, 0, 0, 0.32);
}

.hero-art-shell picture,
.hero-art {
  width: 100%;
  display: block;
}

.hero-art {
  height: auto;
}

.hero-stamp {
  position: absolute;
  z-index: 2;
  right: clamp(10px, 2vw, 32px);
  bottom: clamp(10px, 2vw, 30px);
  margin: 0;
  padding: 11px 15px 9px;
  border: 2px solid var(--ink);
  transform: rotate(-1.6deg);
  background: var(--yellow);
  box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.6);
  color: var(--ink);
  font-size: clamp(0.58rem, 1.2vw, 0.92rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-stamp span {
  display: inline-block;
  margin-right: 8px;
  padding: 3px 5px 1px;
  background: var(--ink);
  color: var(--yellow);
}

.hero-copy {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.82fr);
  align-items: end;
  gap: clamp(34px, 6vw, 110px);
  margin: 18px 0 0;
  padding: clamp(28px, 4.4vw, 74px);
  border: 2px solid var(--orange);
  background:
    linear-gradient(110deg, rgba(86, 32, 146, 0.24), transparent 48%),
    var(--ink-soft);
  box-shadow: var(--shadow-hard);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--yellow);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  line-height: 1.2;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

h1,
h2,
h3 {
  margin-top: 0;
  font-weight: 400;
  text-transform: uppercase;
}

h1 {
  margin-bottom: 0;
  color: var(--cream);
  font-size: clamp(3rem, 7.1vw, 8.6rem);
  letter-spacing: -0.035em;
  line-height: 0.83;
}

h1 em,
h2 em {
  color: var(--orange);
  font-style: normal;
}

.hero-intro > p {
  max-width: 42rem;
  margin: 0;
  color: rgba(255, 241, 211, 0.84);
  font-size: clamp(1rem, 1.55vw, 1.32rem);
  letter-spacing: 0.025em;
  line-height: 1.5;
}

.warning-strip {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin: clamp(48px, 8vw, 120px) 0 0;
  border-block: 3px solid var(--ink);
  background-image:
    linear-gradient(rgba(255, 202, 40, 0.12), rgba(255, 202, 40, 0.12)),
    url("images/texture/warning-stripes.webp");
  background-position: center;
  background-size: 330px 220px;
  box-shadow: 0 8px 0 rgba(0, 0, 0, 0.45);
}

.warning-strip span {
  min-width: max-content;
  padding: 10px 18px 8px;
  transform: rotate(-1deg);
  background: var(--ink);
  color: var(--yellow);
  font-size: clamp(0.78rem, 1.7vw, 1.25rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.warning-strip-reverse {
  margin-top: clamp(60px, 8vw, 118px);
  transform: rotate(0.35deg) scale(1.01);
}

.section {
  width: min(calc(100% - clamp(28px, 6vw, 96px)), var(--max));
  margin: 0 auto;
  padding-top: clamp(72px, 10vw, 150px);
}

.section[id] {
  scroll-margin-top: calc(var(--header-height) + 26px);
}

.section-heading {
  max-width: 900px;
}

.section-heading h2,
.prison-copy h2,
.mechanics-title-block h2,
.briefing-copy h2 {
  margin-bottom: 28px;
  font-size: clamp(2.75rem, 6vw, 6.6rem);
  letter-spacing: -0.025em;
  line-height: 0.88;
}

.section-heading > p:not(.eyebrow),
.prison-copy > p:not(.eyebrow, .small-note),
.briefing-copy > p:not(.eyebrow),
.gallery-section .section-heading-inline > p {
  max-width: 52rem;
  margin: 0;
  color: rgba(255, 241, 211, 0.78);
  font-size: clamp(1rem, 1.45vw, 1.25rem);
  letter-spacing: 0.02em;
  line-height: 1.55;
}

.worlds-section {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: clamp(44px, 7vw, 110px);
}

.world-principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.principle {
  position: relative;
  min-height: 430px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  padding: clamp(24px, 2.5vw, 38px);
  border: 2px solid currentColor;
  background: var(--ink-soft);
  box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.42);
}

.principle::after {
  position: absolute;
  top: -60px;
  right: -50px;
  width: 170px;
  height: 170px;
  border: 24px solid currentColor;
  border-radius: 50%;
  content: "";
  opacity: 0.13;
}

.principle-number {
  position: absolute;
  top: 22px;
  left: 24px;
  color: currentColor;
  font-size: 1.1rem;
}

.principle h3 {
  margin-bottom: 16px;
  color: var(--cream);
  font-size: clamp(1.55rem, 2.3vw, 2.5rem);
  line-height: 0.95;
}

.principle p {
  margin: 0;
  color: rgba(255, 241, 211, 0.72);
  font-size: 0.9rem;
  line-height: 1.55;
}

.principle-orange { color: var(--orange); background: linear-gradient(165deg, rgba(255, 101, 0, 0.24), var(--ink-soft) 50%); }
.principle-purple { color: #b77aff; background: linear-gradient(165deg, rgba(86, 32, 146, 0.5), var(--ink-soft) 52%); }
.principle-green { color: var(--green); background: linear-gradient(165deg, rgba(154, 221, 0, 0.2), var(--ink-soft) 52%); }

.prison-section {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(390px, 0.92fr);
  align-items: start;
  gap: clamp(42px, 7vw, 112px);
}

.panel-frame {
  position: relative;
  overflow: hidden;
  border: 2px solid var(--cream);
  background: #0f0d14;
  box-shadow: var(--shadow-hard);
}

.panel-frame::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.28);
}

.prison-image {
  position: sticky;
  top: calc(var(--header-height) + 26px);
}

.prison-image img {
  width: 100%;
  height: auto;
  display: block;
}

.image-label,
.gallery-grid figcaption {
  position: absolute;
  z-index: 2;
  right: 10px;
  bottom: 10px;
  left: 10px;
  padding: 10px 12px 8px;
  background: rgba(9, 8, 13, 0.9);
  color: var(--yellow);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.routes {
  display: grid;
  gap: 10px;
  margin-top: 38px;
}

.routes article {
  display: grid;
  grid-template-columns: 52px minmax(140px, 0.65fr) 1fr;
  align-items: center;
  gap: 18px;
  padding: 18px 18px 16px;
  border: 1px solid rgba(255, 241, 211, 0.24);
  border-left: 6px solid var(--orange);
  background: rgba(255, 255, 255, 0.035);
}

.routes article:nth-child(2) { border-left-color: var(--yellow); }
.routes article:nth-child(3) { border-left-color: #a86bff; }

.routes span {
  color: var(--orange);
  font-size: 1.1rem;
}

.routes h3 {
  margin: 0;
  color: var(--cream);
  font-size: 1rem;
  line-height: 1;
}

.routes p {
  margin: 0;
  color: rgba(255, 241, 211, 0.65);
  font-size: 0.78rem;
  line-height: 1.4;
}

.small-note {
  margin: 20px 0 0;
  color: var(--yellow);
  font-size: 0.7rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.mechanics-section {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: clamp(40px, 7vw, 110px);
  padding-bottom: clamp(70px, 10vw, 140px);
}

.mechanics-title-block {
  position: sticky;
  top: calc(var(--header-height) + 28px);
  align-self: start;
}

.mechanics-grid {
  border-top: 2px solid var(--line);
}

.mechanics-grid article {
  position: relative;
  display: grid;
  grid-template-columns: 60px minmax(160px, 0.45fr) 1fr;
  align-items: center;
  gap: 22px;
  padding: 30px 10px;
  border-bottom: 2px solid var(--line);
}

.mechanic-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 2px solid var(--orange);
  color: var(--yellow);
  font-family: var(--font-readable);
  font-size: 1.25rem;
}

.mechanics-grid h3 {
  margin: 0;
  color: var(--cream);
  font-size: 1.25rem;
  line-height: 1.08;
}

.mechanics-grid p {
  margin: 0;
  color: rgba(255, 241, 211, 0.68);
  font-size: 0.85rem;
  line-height: 1.5;
}

.trailer-section {
  padding-top: clamp(70px, 8vw, 118px);
  border-top: 2px solid var(--orange);
}

.section-heading-inline {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 36px;
}

.section-heading-inline h2 {
  margin-bottom: 0;
}

.video-frame {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-color: var(--orange);
}

.video-frame iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-flow: dense;
  gap: 18px;
}

.gallery-grid figure {
  grid-column: span 4;
  min-height: 290px;
  margin: 0;
  border-color: rgba(255, 241, 211, 0.54);
}

.gallery-grid .gallery-wide {
  grid-column: span 8;
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 260ms ease, filter 260ms ease;
}

.gallery-grid figure:hover img {
  transform: scale(1.025);
  filter: saturate(1.12) contrast(1.04);
}

.briefing-section {
  display: grid;
  grid-template-columns: minmax(320px, 0.75fr) minmax(0, 1.25fr);
  align-items: center;
  gap: clamp(50px, 8vw, 128px);
  padding-bottom: clamp(76px, 11vw, 160px);
}

.briefing-copy .button {
  margin-top: 30px;
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0;
  border-top: 2px solid var(--orange);
  border-left: 2px solid var(--orange);
}

.spec-grid > div {
  min-height: 180px;
  padding: 24px;
  border-right: 2px solid var(--orange);
  border-bottom: 2px solid var(--orange);
  background: rgba(255, 101, 0, 0.055);
}

.spec-grid dt {
  margin-bottom: 22px;
  color: var(--yellow);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.spec-grid dd {
  margin: 0;
  color: var(--cream);
  font-size: clamp(1.2rem, 2vw, 2rem);
  line-height: 1.05;
  text-transform: uppercase;
}

.spec-grid small {
  color: rgba(255, 241, 211, 0.6);
  font-size: 0.55em;
}

.studio-section {
  width: min(calc(100% - clamp(28px, 6vw, 96px)), var(--max));
  display: grid;
  grid-template-columns: minmax(250px, 0.7fr) minmax(320px, 1.3fr);
  align-items: center;
  gap: clamp(42px, 8vw, 130px);
  margin: 0 auto clamp(60px, 9vw, 130px);
  padding: clamp(34px, 5vw, 70px);
  border: 2px solid var(--purple);
  background:
    radial-gradient(circle at 12% 50%, rgba(86, 32, 146, 0.44), transparent 38%),
    var(--ink-soft);
  box-shadow: var(--shadow-hard);
}

.studio-section > img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(8px 12px 0 rgba(0, 0, 0, 0.45));
}

.studio-section h2 {
  margin-bottom: 14px;
  color: var(--cream);
  font-size: clamp(2rem, 4.2vw, 4.5rem);
  line-height: 0.95;
}

.studio-section p:not(.eyebrow) {
  max-width: 45rem;
  color: rgba(255, 241, 211, 0.72);
  font-size: 1rem;
  line-height: 1.5;
}

.site-footer {
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  padding: 32px clamp(22px, 5vw, 76px);
  border-top: 3px solid var(--yellow);
  background: var(--orange);
  color: var(--ink);
}

.site-footer p {
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
}

.site-footer a {
  color: var(--ink);
  font-size: 0.72rem;
}

.site-footer a::after {
  background: var(--ink);
}

/* Privacy pages retain the original legal copy and metadata. */
.legal-page {
  background:
    linear-gradient(rgba(9, 8, 13, 0.82), rgba(9, 8, 13, 0.96)),
    url("images/texture/warning-stripes.webp") center top / 560px auto fixed,
    var(--ink);
}

.legal-header .site-nav {
  justify-content: flex-end;
}

.legal-shell {
  width: min(calc(100% - 32px), 1040px);
  margin: 0 auto;
  padding: clamp(42px, 7vw, 90px) 0 80px;
}

.legal-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.legal-page .btn {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  padding: 12px 16px 10px;
  border: 2px solid var(--yellow);
  background: var(--ink);
  box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.45);
  color: var(--yellow);
  font-size: 0.76rem;
  text-decoration: none;
  text-transform: uppercase;
}

.legal-page .card {
  padding: clamp(28px, 5.5vw, 72px);
  border: 3px solid var(--orange);
  background: var(--cream);
  box-shadow: 14px 14px 0 rgba(0, 0, 0, 0.55);
  color: var(--ink);
}

.legal-page .card h1 {
  margin: 0 0 20px;
  color: var(--ink);
  font-size: clamp(2.8rem, 7vw, 6.4rem);
  line-height: 0.9;
}

.legal-page .card h2 {
  margin: 34px 0 12px;
  padding-top: 12px;
  border-top: 2px solid rgba(9, 8, 13, 0.18);
  color: #421970;
  font-size: clamp(1.1rem, 2.2vw, 1.65rem);
  line-height: 1.15;
}

.legal-page .card p,
.legal-page .card li {
  color: #211c26;
  font-family: var(--font-readable);
  font-size: 1rem;
  line-height: 1.72;
}

.legal-page .card a {
  color: #6b1cad;
  font-weight: 700;
}

.legal-page .card ul {
  padding-left: 24px;
}

.legal-page .meta {
  margin: 0 0 26px;
  padding: 18px;
  border-left: 6px solid var(--orange);
  background: rgba(255, 101, 0, 0.1);
}

.legal-page .muted {
  color: #554c5b;
  font-size: 0.9rem;
}

.legal-page code {
  padding: 2px 5px;
  background: rgba(9, 8, 13, 0.08);
  font-family: ui-monospace, monospace;
}

.legal-copyright {
  margin: 28px 0 0;
  color: rgba(255, 241, 211, 0.7);
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  text-align: center;
  text-transform: uppercase;
}

@media (max-width: 1180px) {
  .site-header {
    grid-template-columns: 180px 1fr auto;
    gap: 18px;
  }

  .site-nav {
    gap: 18px;
  }

  .site-nav a {
    font-size: 0.72rem;
  }

  .hero-copy,
  .worlds-section,
  .prison-section,
  .mechanics-section,
  .briefing-section {
    grid-template-columns: 1fr;
  }

  .worlds-section,
  .prison-section,
  .mechanics-section,
  .briefing-section {
    gap: 52px;
  }

  .prison-image,
  .mechanics-title-block {
    position: relative;
    top: auto;
  }

  .prison-image {
    max-width: 980px;
  }
}

@media (max-width: 820px) {
  :root {
    --header-height: 126px;
    --shadow-hard: 7px 7px 0 rgba(0, 0, 0, 0.5);
  }

  .site-header {
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    gap: 8px 16px;
    min-height: var(--header-height);
    padding: 8px 16px 10px;
  }

  .site-logo {
    width: 138px;
  }

  .site-header .button-small {
    min-height: 38px;
    padding: 9px 11px 7px;
    font-size: 0.65rem;
  }

  .site-nav {
    grid-column: 1 / -1;
    order: 3;
    justify-content: flex-start;
    gap: 24px;
    overflow-x: auto;
    padding: 7px 2px 3px;
    scrollbar-width: none;
  }

  .site-nav::-webkit-scrollbar {
    display: none;
  }

  .site-nav a {
    flex: 0 0 auto;
    font-size: 0.66rem;
  }

  .hero {
    padding: 12px;
  }

  .hero-art-shell {
    border-width: 2px;
  }

  .hero-art-shell::after {
    box-shadow: inset 0 0 38px rgba(0, 0, 0, 0.28);
  }

  .hero-copy {
    gap: 30px;
    padding: 32px 24px 36px;
  }

  h1 {
    font-size: clamp(2.7rem, 15vw, 5.4rem);
  }

  .button-row,
  .button-row .button {
    width: 100%;
  }

  .world-principles {
    grid-template-columns: 1fr;
  }

  .principle {
    min-height: 300px;
  }

  .routes article {
    grid-template-columns: 40px 1fr;
  }

  .routes p {
    grid-column: 2;
  }

  .mechanics-grid article {
    grid-template-columns: 52px 1fr;
    gap: 14px;
  }

  .mechanics-grid p {
    grid-column: 2;
  }

  .section-heading-inline {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid figure,
  .gallery-grid .gallery-wide {
    grid-column: auto;
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

  .spec-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .spec-grid > div {
    min-height: 150px;
  }

  .studio-section {
    grid-template-columns: 1fr;
  }

  .studio-section > img {
    max-width: 460px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .legal-header .site-nav {
    justify-content: flex-start;
  }
}

@media (max-width: 520px) {
  .hero-stamp {
    display: none;
  }

  .section {
    width: min(calc(100% - 28px), var(--max));
  }

  .section-heading h2,
  .prison-copy h2,
  .mechanics-title-block h2,
  .briefing-copy h2 {
    font-size: clamp(2.45rem, 13vw, 4rem);
  }

  .warning-strip {
    min-height: 54px;
  }

  .principle {
    min-height: 270px;
  }

  .routes article {
    padding: 16px 12px;
  }

  .mechanics-grid article {
    padding: 24px 4px;
  }

  .spec-grid {
    grid-template-columns: 1fr 1fr;
  }

  .spec-grid > div {
    min-height: 135px;
    padding: 18px;
  }

  .studio-section {
    width: calc(100% - 28px);
    padding: 28px 20px 34px;
  }

  .legal-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .legal-page .btn {
    justify-content: center;
  }

  .legal-page .card {
    padding: 28px 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
