@font-face {
  font-family: "GSTQ Header";
  src: url("../../fonts/header-font.ttf") format("truetype");
  font-display: swap;
}

@font-face {
  font-family: "GSTQ Paragraph";
  src: url("../../fonts/paragraph-font.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "GSTQ Paragraph";
  src: url("../../fonts/bold-paragraph-font.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "GSTQ Paragraph";
  src: url("../../fonts/italic-paragraph-font.ttf") format("truetype");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "GSTQ Paragraph";
  src: url("../../fonts/bold-italic-paragraph-font.ttf") format("truetype");
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --ink: #f7f2e8;
  --muted: #b6b3aa;
  --coal: #030405;
  --line: rgba(247, 242, 232, 0.16);
  --gold: #e5b65a;
  --blood: #953231;
  --violet: #633f9b;
  --blue-fire: #76c7d8;
  --max: 1180px;
  --gutter: clamp(20px, 5vw, 72px);
  --display: "GSTQ Header", Georgia, serif;
  --body: "GSTQ Paragraph", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--coal);
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.65;
  background:
    radial-gradient(circle at 20% 8%, rgba(118, 199, 216, 0.14), transparent 28rem),
    radial-gradient(circle at 88% 34%, rgba(149, 50, 49, 0.16), transparent 30rem),
    linear-gradient(180deg, #000 0%, #030405 36rem, #08090b 100%);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: 10;
  pointer-events: none;
  content: "";
  opacity: 0.2;
  mix-blend-mode: screen;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: linear-gradient(to bottom, transparent, #000 9rem, #000 85%, transparent);
}

img,
video {
  max-width: 100%;
  display: block;
}

[data-no-drag] {
  user-select: none;
  -webkit-user-drag: none;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--blue-fire);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 30;
  transform: translateY(-140%);
  padding: 10px 14px;
  background: var(--ink);
  color: #050505;
  font-weight: 700;
}

.skip-link:focus {
  transform: translateY(0);
}
@media (hover: none) and (pointer: coarse) {
  .skip-link {
    display: none;
  }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hero {
  position: relative;
  min-height: clamp(600px, 90svh, 940px);
  isolation: isolate;
  overflow: hidden;
  background: #000;
}

.hero__poster,
.hero__poster img,
.hero__video,
.hero__shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero__poster img,
.hero__video {
  object-fit: cover;
}

.hero__poster {
  z-index: -4;
  transform: scale(1.012);
  filter: saturate(0.82) contrast(1.08) brightness(0.78);
}

.hero__video {
  z-index: -3;
  opacity: 0;
  filter: saturate(0.82) contrast(1.08) brightness(0.76);
  transition: opacity 900ms ease;
}

.hero.is-video-ready .hero__video {
  opacity: 1;
}

.hero__shade {
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.58), rgba(0, 0, 0, 0.16) 40%, #030405 100%),
    radial-gradient(circle at 50% 44%, rgba(118, 199, 216, 0.1), transparent 28rem),
    linear-gradient(90deg, rgba(0, 0, 0, 0.64), transparent 34%, transparent 66%, rgba(0, 0, 0, 0.68));
}

.topbar {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  margin: 0;
  padding: 24px clamp(18px, 3vw, 42px) 24px clamp(10px, 1.5vw, 22px);
}

.topbar__brand,
.social-list a {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(0, 0, 0, 0.28);
  opacity: 0.86;
  transition: opacity 180ms ease, transform 180ms ease, border-color 180ms ease;
}

.topbar__brand:hover,
.social-list a:hover {
  opacity: 1;
  transform: translateY(-2px);
  border-color: rgba(229, 182, 90, 0.62);
}

.topbar__brand img {
  width: 34px;
  height: auto;
  object-fit: contain;
  filter: brightness(0) invert(1) drop-shadow(0 0 12px rgba(247, 242, 232, 0.2));
}

.social-list img {
  filter: invert(1);
}

.social-list {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.hero__content {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  align-content: center;
  min-height: calc(clamp(600px, 90svh, 940px) - 96px);
  max-width: 1040px;
  margin: 0 auto;
  padding: clamp(48px, 9vh, 104px) var(--gutter) 96px;
  text-align: center;
}

.hero__logo {
  width: min(580px, 80vw);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 20px 46px rgba(0, 0, 0, 0.86)) drop-shadow(0 0 28px rgba(229, 182, 90, 0.2));
  animation: crest-rise 1100ms cubic-bezier(0.18, 0.8, 0.22, 1) both;
}

.hero__tagline {
  max-width: 680px;
  margin: 8px auto 0;
  color: rgba(247, 242, 232, 0.86);
  font-size: clamp(1rem, 1.25vw, 1.16rem);
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.8);
  animation: fade-up 900ms 260ms ease both;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 28px;
  animation: fade-up 900ms 420ms ease both;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 22px;
  border: 1px solid var(--line);
  font-family: var(--display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.2;
  text-transform: uppercase;
  transition: border-color 180ms ease, background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}


.button--primary {
  border-color: rgba(229, 182, 90, 0.86);
  background: linear-gradient(135deg, #f1cb72, #9f6530);
  color: #11100c;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.38);
}

.button--primary:hover {
  border-color: rgba(255, 232, 165, 0.98);
  background: linear-gradient(135deg, #ffe8a5, #d69645);
  box-shadow: 0 18px 48px rgba(229, 182, 90, 0.24), 0 18px 46px rgba(0, 0, 0, 0.38);
}

.button--ghost {
  background: rgba(0, 0, 0, 0.26);
  color: var(--ink);
}

.button--ghost:hover {
  border-color: var(--gold);
  background: rgba(0, 0, 0, 0.34);
}

.section {
  width: min(var(--max), calc(100% - var(--gutter) * 2));
  margin: 0 auto;
  padding: clamp(58px, 8vw, 104px) 0;
}

.section--compact {
  padding-block: clamp(42px, 6vw, 74px);
}

.section h2,
.feature-copy h3,
.story h2,
.press h2,
.reviews h2,
.platforms h2,
.steam-news h2,
.faq h2,
.page-masthead h1,
.factsheet h2,
.story-expanded h2,
.two-column-copy h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.05;
}

.section h2 {
  font-size: clamp(2rem, 4vw, 4.35rem);
}

.section__header {
  max-width: 780px;
  margin-bottom: clamp(28px, 4vw, 52px);
}

.reviews .section__header {
  margin-bottom: clamp(14px, 2vw, 24px);
}

.section__header--narrow {
  max-width: 620px;
}

.section__header p,
.press p,
.reviews p,
.story p,
.feature-copy p,
.platforms p,
.steam-news p,
.unity p,
.faq p,
.page-masthead p,
.press-card p,
.story-expanded p,
.copy-stack p,
.asset-section p {
  max-width: 720px;
  color: var(--muted);
}

.eyebrow,
.feature-copy__kicker {
  margin: 0 0 14px;
  color: var(--gold);
  font-family: var(--display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 2.6vw, 34px);
  align-items: stretch;
}

.screenshot-slot,
.feature-copy {
  min-height: 0;
  aspect-ratio: 16 / 9;
  margin: 0;
}

.screenshot-slot {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #fff;
  color: #101010;
}

.screenshot-slot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.screenshot-slot::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, transparent 52%, rgba(0, 0, 0, 0.55));
  pointer-events: none;
}

.screenshot-slot figcaption {
  position: absolute;
  z-index: 1;
  left: 18px;
  bottom: 14px;
  color: rgba(247, 242, 232, 0.9);
  font-family: var(--display);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.feature-copy {
  display: grid;
  align-content: center;
  padding: clamp(24px, 4vw, 54px);
  border-block: 1px solid rgba(247, 242, 232, 0.12);
  background:
    linear-gradient(135deg, rgba(149, 50, 49, 0.18), transparent 56%),
    linear-gradient(180deg, rgba(247, 242, 232, 0.045), rgba(247, 242, 232, 0.01));
}

.feature-copy h3 {
  max-width: 520px;
  font-size: clamp(1.5rem, 2.8vw, 3rem);
}

.feature-copy p:last-child {
  margin: 16px 0 0;
  max-width: 520px;
}

.steam-news {
  padding-top: clamp(8px, 1.4vw, 18px);
  padding-bottom: clamp(32px, 4.5vw, 54px);
}

.steam-news__card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(300px, 0.64fr);
  gap: clamp(20px, 3.4vw, 46px);
  align-items: center;
  height: clamp(298px, 30vw, 356px);
  overflow: hidden;
  isolation: isolate;
  padding: clamp(26px, 3.6vw, 42px) clamp(24px, 5vw, 70px);
  border-block: 1px solid rgba(247, 242, 232, 0.12);
  background: #020303;
}

.steam-news__card::before,
.steam-news__card::after {
  position: absolute;
  inset: 0;
  content: "";
}

.steam-news__card::before {
  z-index: -3;
  background: url("../../media/capsule_template.webp") center / cover no-repeat;
  filter: blur(11px) brightness(0.16) saturate(0.58);
  transform: scale(1.08);
}

.steam-news__card::after {
  z-index: -2;
  background: rgba(0, 0, 0, 0.76);
}

.steam-news__copy {
  position: relative;
  z-index: 2;
  max-width: 660px;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.82);
}

.steam-news h2 {
  max-width: 680px;
  font-size: clamp(2rem, 3.6vw, 3.75rem);
}

.steam-news__meta {
  margin: 14px 0 8px;
  color: var(--gold) !important;
  font-family: var(--display);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.steam-news h3 {
  max-width: 620px;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.18rem, 2vw, 1.75rem);
  line-height: 1.12;
}

.steam-news__copy p:not(.eyebrow):not(.steam-news__meta) {
  display: -webkit-box;
  max-width: 620px;
  margin: 10px 0 16px;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.steam-news__copy .button {
  width: fit-content;
}

.steam-news__cover {
  position: relative;
  z-index: 2;
  align-self: center;
  justify-self: end;
  width: min(44vw, 520px);
  max-width: calc(100% + 30px);
  aspect-ratio: 16 / 9;
  margin: 0 clamp(-32px, -2.2vw, -12px) 0 0;
  overflow: hidden;
  border: 1px solid rgba(247, 242, 232, 0.16);
  background: #090908;
  box-shadow: 0 24px 42px rgba(0, 0, 0, 0.34);
  -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 90%, transparent 100%);
  mask-image: linear-gradient(90deg, #000 0%, #000 90%, transparent 100%);
}

.steam-news__cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.platforms {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(28px, 5vw, 72px);
  align-items: end;
  padding-block: clamp(44px, 6vw, 76px);
  border-block: 1px solid rgba(247, 242, 232, 0.12);
}

.platforms h2 {
  max-width: 780px;
  font-size: clamp(1.85rem, 3.3vw, 3.35rem);
}

.platforms p:last-child {
  margin-bottom: 0;
}

.platform-list {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0;
  padding: 0;
  margin: 0;
  list-style: none;
  border-block: 1px solid rgba(247, 242, 232, 0.16);
}

.platform-list li {
  display: grid;
  min-width: 148px;
  min-height: 118px;
  place-items: center;
  gap: 10px;
  padding: 18px 22px;
  color: rgba(247, 242, 232, 0.86);
  font-family: var(--display);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-align: center;
  text-transform: uppercase;
}

.platform-list li + li {
  border-left: 1px solid rgba(247, 242, 232, 0.18);
}

.platform-list img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  filter: drop-shadow(0 0 14px rgba(247, 242, 232, 0.12));
}

.platform-list img:not([src$="WindowsLogo.svg"]) {
  filter: invert(1) drop-shadow(0 0 14px rgba(247, 242, 232, 0.12));
}

.story {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.72fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.story h2 {
  font-size: clamp(2rem, 4vw, 4.1rem);
}

.story a:not(.button),
.factsheet a,
.faq a,
.story-expanded a:not(.button) {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.story__button {
  width: fit-content;
  margin-top: 14px;
}

.developer-card {
  display: grid;
  aspect-ratio: 4 / 5;
  margin: 0;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(247, 242, 232, 0.18);
  background: #101214;
}

.developer-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.press {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(260px, 0.48fr);
  gap: clamp(18px, 3vw, 48px);
  align-items: center;
  min-height: 318px;
  overflow: hidden;
  isolation: isolate;
  padding: 34px clamp(24px, 5vw, 76px);
  margin-top: clamp(12px, 3vw, 38px);
  margin-bottom: clamp(22px, 4vw, 48px);
  border-block: 1px solid rgba(247, 242, 232, 0.12);
  background: #020303;
}

.press::before,
.press::after,
.unity::before,
.unity::after,
.page-masthead::before,
.page-masthead::after {
  position: absolute;
  inset: 0;
  content: "";
}

.press::before {
  z-index: -3;
  background: url("../../media/capsule_template.webp") center / cover no-repeat;
  filter: blur(11px) brightness(0.18) saturate(0.54);
  transform: scale(1.08);
}

.press::after {
  z-index: -2;
  background: rgba(0, 0, 0, 0.74);
}

.press__copy {
  position: relative;
  z-index: 2;
  max-width: 650px;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.82);
}

.press h2 {
  font-size: clamp(2rem, 4vw, 4.1rem);
}

.press .button {
  margin-top: 12px;
}

.press__art {
  position: absolute;
  right: clamp(-70px, -3vw, -24px);
  bottom: -74px;
  z-index: -1;
  width: min(36vw, 390px);
  pointer-events: none;
  mask-image: linear-gradient(to bottom, #000 0%, #000 82%, transparent 100%);
}

.press__art img {
  width: 100%;
  height: auto;
  background: transparent;
  transform: scaleX(-1);
  transform-origin: center bottom;
  filter: drop-shadow(0 24px 34px rgba(0, 0, 0, 0.58));
}

.reviews {
  padding-top: clamp(34px, 5vw, 62px);
  padding-bottom: clamp(18px, 3vw, 32px);
}

.reviews__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2.4vw, 26px);
}

.review-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  justify-content: space-between;
  margin: 0;
  padding: clamp(22px, 3vw, 32px);
  border-block: 1px solid rgba(247, 242, 232, 0.12);
  background:
    linear-gradient(135deg, rgba(229, 182, 90, 0.12), transparent 52%),
    linear-gradient(180deg, rgba(247, 242, 232, 0.045), rgba(247, 242, 232, 0.01));
}

.review-card blockquote {
  margin: 0;
}

.review-card p {
  margin: 0;
  color: rgba(247, 242, 232, 0.84);
  line-height: 1.72;
}

.review-card figcaption {
  margin-top: 22px;
  color: var(--gold);
  font-family: var(--display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.35;
  text-transform: uppercase;
}
.unity {
  position: relative;
  display: grid;
  justify-items: center;
  text-align: center;
  min-height: 166px;
  padding: 26px clamp(24px, 5vw, 76px);
  margin-top: clamp(12px, 2vw, 24px);
  margin-bottom: clamp(30px, 4vw, 54px);
  overflow: hidden;
  isolation: isolate;
  border-block: 1px solid rgba(247, 242, 232, 0.11);
}

.unity::before {
  z-index: -2;
  background: url("../../media/capsule_template.webp") center / cover no-repeat;
  filter: blur(12px) brightness(0.16) saturate(0.5);
  transform: scale(1.08);
}

.unity::after {
  z-index: -1;
  background:
    radial-gradient(circle at 50% 48%, rgba(229, 182, 90, 0.07), transparent 12rem),
    linear-gradient(180deg, rgba(0, 0, 0, 0.86), rgba(0, 0, 0, 0.93));
}

.unity__logo {
  width: min(172px, 46vw);
  height: auto;
  object-fit: contain;
  opacity: 0.88;
}

.unity p {
  max-width: 590px;
  margin: 10px auto 0;
  color: rgba(247, 242, 232, 0.78);
  font-weight: 700;
  line-height: 1.48;
}

.faq {
  padding-top: clamp(8px, 2vw, 28px);
  padding-bottom: clamp(58px, 7vw, 96px);
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq details {
  overflow: hidden;
  border-block: 1px solid rgba(247, 242, 232, 0.14);
  background: linear-gradient(180deg, rgba(247, 242, 232, 0.035), rgba(247, 242, 232, 0.01));
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 58px;
  padding: 16px 20px;
  cursor: pointer;
  color: var(--ink);
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: 0.03em;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  flex: 0 0 auto;
  content: "+";
  color: var(--gold);
  font-family: var(--body);
  font-size: 1.4rem;
  line-height: 1;
  transition: transform 160ms ease;
}

.faq details[open] summary::after {
  transform: rotate(45deg);
}

.faq details p {
  margin: 0;
  padding: 0 20px 18px;
}

.footer {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto;
  gap: 18px 34px;
  align-items: start;
  width: min(var(--max), calc(100% - var(--gutter) * 2));
  margin: 0 auto;
  padding: 54px 0 34px;
  border-top: 1px solid rgba(247, 242, 232, 0.13);
  color: var(--muted);
}

.footer__brand img {
  width: min(230px, 62vw);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.42));
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px 22px;
  font-family: var(--display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.footer__links a {
  color: rgba(247, 242, 232, 0.74);
}

.footer__links a:hover {
  color: var(--ink);
}

.footer__legal {
  max-width: 760px;
  margin: 20px 0 0;
  align-self: end;
  color: rgba(182, 179, 170, 0.72);
  font-size: 0.82rem;
  line-height: 1.55;
}

.social-list--footer {
  align-self: end;
  justify-content: flex-end;
  margin-top: 20px;
}

.social-list--footer a {
  width: 38px;
  height: 38px;
}

.inner-page {
  background:
    radial-gradient(circle at 78% 10%, rgba(118, 199, 216, 0.1), transparent 26rem),
    linear-gradient(180deg, #000 0%, #030405 30rem, #08090b 100%);
}

.page-masthead {
  position: relative;
  min-height: 440px;
  overflow: hidden;
  isolation: isolate;
  background: #020303;
}

.page-masthead::before {
  z-index: -2;
  background: url("../../media/capsule_template.webp") center / cover no-repeat;
  filter: blur(8px) brightness(0.24) saturate(0.58);
  transform: scale(1.05);
}

.page-masthead::after {
  z-index: -1;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.66), #030405 100%);
}

.page-masthead__content {
  width: min(var(--max), calc(100% - var(--gutter) * 2));
  margin: 0 auto;
  padding: clamp(70px, 10vw, 132px) 0 clamp(72px, 8vw, 110px);
}

.page-masthead h1 {
  max-width: 850px;
  font-size: clamp(2.6rem, 6vw, 6.6rem);
}

.page-masthead p:not(.eyebrow) {
  max-width: 680px;
  margin: 18px 0 0;
  font-size: clamp(1rem, 1.3vw, 1.16rem);
}

.page-masthead .button {
  margin-top: 28px;
}

.factsheet-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.6fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: start;
}

.factsheet-table {
  width: 100%;
  border-collapse: collapse;
  border-block: 1px solid rgba(247, 242, 232, 0.14);
  color: rgba(247, 242, 232, 0.88);
}

.factsheet-table th,
.factsheet-table td {
  padding: 15px 0;
  border-bottom: 1px solid rgba(247, 242, 232, 0.1);
  text-align: left;
  vertical-align: top;
}

.factsheet-table th {
  width: 34%;
  padding-right: 22px;
  color: var(--gold);
  font-family: var(--display);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.press-card {
  padding: clamp(22px, 3vw, 34px);
  border-block: 1px solid rgba(247, 242, 232, 0.14);
  background: linear-gradient(180deg, rgba(247, 242, 232, 0.045), rgba(247, 242, 232, 0.012));
}

.press-card img {
  width: min(280px, 86%);
  margin-bottom: 24px;
}

.two-column-copy {
  display: grid;
  grid-template-columns: minmax(220px, 0.52fr) minmax(0, 1fr);
  gap: clamp(30px, 5vw, 76px);
}

.copy-stack {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 40px;
}

.copy-stack article {
  border-top: 1px solid rgba(247, 242, 232, 0.14);
  padding-top: 18px;
}

.copy-stack h3 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.35rem, 2vw, 2rem);
}

.asset-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  padding: 0;
  margin: 0;
  list-style: none;
  border-block: 1px solid rgba(247, 242, 232, 0.16);
}

.asset-list li {
  min-height: 92px;
  padding: 24px;
  border-bottom: 1px solid rgba(247, 242, 232, 0.12);
  color: rgba(247, 242, 232, 0.84);
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.asset-list li:not(:nth-child(3n)) {
  border-right: 1px solid rgba(247, 242, 232, 0.12);
}

.story-expanded {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.46fr);
  gap: clamp(34px, 5vw, 72px);
  align-items: start;
}

.story-expanded h2 {
  max-width: 760px;
  font-size: clamp(2rem, 4vw, 4.25rem);
}

.story-expanded blockquote {
  margin: 28px 0;
  padding: 24px 0 24px 28px;
  border-left: 1px solid var(--gold);
  color: rgba(247, 242, 232, 0.9);
  font-family: var(--display);
  font-size: clamp(1.25rem, 2.1vw, 2.1rem);
  line-height: 1.2;
}

.story-expanded__quote p {
  margin: 0;
}

.story-expanded__quote p + p {
  margin-top: 18px;
  font-family: var(--body);
  font-size: clamp(1rem, 1.2vw, 1.18rem);
  line-height: 1.75;
  color: rgba(247, 242, 232, 0.82);
}
.story-expanded__signature {
  color: var(--gold) !important;
  font-weight: 700;
}

.story-expanded__image {
  position: sticky;
  top: 28px;
  aspect-ratio: 4 / 5;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(247, 242, 232, 0.16);
}

.story-expanded__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes crest-rise {
  from {
    opacity: 0;
    transform: translateY(26px) scale(0.97);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 980px) {
  .factsheet-layout,
  .two-column-copy,
  .story-expanded {
    grid-template-columns: 1fr;
  }

  .story-expanded__image {
    position: static;
    max-width: 420px;
  }

  .copy-stack {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .reviews__grid {
    grid-template-columns: 1fr;
  }

  .platforms,
  .steam-news__card,
  .story,
  .footer {
    grid-template-columns: 1fr;
  }

  .platform-list,
  .footer__links,
  .social-list--footer {
    justify-content: flex-start;
  }
  .steam-news__card {
    height: auto;
    min-height: 0;
  }

  .steam-news__cover {
    justify-self: stretch;
    width: min(100%, 520px);
    max-width: 100%;
    margin-right: 0;
    -webkit-mask-image: none;
    mask-image: none;
  }

}

@media (max-width: 820px) {
  .hero {
    min-height: 740px;
  }

  .topbar {
    align-items: flex-start;
  }

  .social-list--top {
    max-width: 180px;
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .hero__content {
    min-height: 604px;
  }

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

  .screenshot-slot,
  .feature-copy {
    aspect-ratio: auto;
  }

  .screenshot-slot {
    aspect-ratio: 16 / 9;
  }

  .feature-copy {
    min-height: auto;
    padding-block: 28px;
  }

  .screenshot-slot--one { order: 1; }
  .feature-copy--one { order: 2; }
  .screenshot-slot--two { order: 3; }
  .feature-copy--two { order: 4; }
  .screenshot-slot--three { order: 5; }
  .feature-copy--three { order: 6; }
  .screenshot-slot--four { order: 7; }
  .feature-copy--four { order: 8; }
  .screenshot-slot--five { order: 9; }
  .feature-copy--five { order: 10; }

  .press {
    grid-template-columns: 1fr;
    min-height: 390px;
    padding-top: 32px;
    padding-bottom: 158px;
  }

  .press__copy {
    max-width: 100%;
  }

  .press__art {
    right: -42px;
    bottom: -102px;
    width: min(82vw, 320px);
    opacity: 0.72;
  }

  .footer__legal,
  .social-list--footer {
    margin-top: 10px;
  }
}

@media (max-width: 640px) {
  .asset-list {
    grid-template-columns: 1fr;
  }

  .asset-list li:not(:nth-child(3n)) {
    border-right: 0;
  }

  .factsheet-table,
  .factsheet-table tbody,
  .factsheet-table tr,
  .factsheet-table th,
  .factsheet-table td {
    display: block;
    width: 100%;
  }

  .factsheet-table th {
    padding-bottom: 2px;
  }

  .factsheet-table td {
    padding-top: 2px;
  }
}

@media (max-width: 560px) {
  .platform-list {
    width: 100%;
    overflow-x: auto;
  }

  .platform-list li {
    min-width: 112px;
    min-height: 98px;
    padding: 14px 16px;
    font-size: 0.76rem;
  }
}

@media (max-width: 520px) {
  .topbar {
    padding-top: 18px;
  }

  .topbar__brand,
  .social-list a {
    width: 38px;
    height: 38px;
  }

  .topbar__brand img {
    width: 31px;
  }

  .hero__content {
    padding-bottom: 78px;
  }

  .hero__logo {
    width: 80vw;
  }

  .button {
    width: 100%;
  }

  .hero__actions {
    width: min(100%, 320px);
  }

  .steam-news__copy .button {
    width: 100%;
  }

  .steam-news__copy {
    min-height: 0;
  }

  .section {
    padding-block: 52px;
  }

  .press,
  .reviews,
  .unity {
    width: 100%;
    padding-inline: var(--gutter);
  }

  .press {
    min-height: 370px;
    padding-bottom: 148px;
    margin-top: 22px;
    margin-bottom: 26px;
  }

  .press__art {
    right: -50px;
    bottom: -112px;
    width: min(86vw, 300px);
  }

  .reviews {
    padding-block: 38px 24px;
  }

  .unity {
    min-height: 154px;
    padding-block: 22px;
    margin-top: 14px;
    margin-bottom: 36px;
  }

  .unity__logo {
    width: 150px;
  }

  .unity p {
    font-size: 0.9rem;
  }

  .faq {
    padding-top: 4px;
  }

  .faq summary {
    align-items: flex-start;
    min-height: 54px;
    padding-inline: 16px;
  }

  .faq details p {
    padding-inline: 16px;
  }

  .footer__legal {
    max-width: 100%;
  }

  .page-masthead {
    min-height: 390px;
  }

  .page-masthead__content {
    padding-top: 54px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* Latest page refinements */
.platforms__button {
  width: fit-content;
  margin-top: 18px;
}

@media (min-width: 901px) {
  .footer {
    width: min(1320px, calc(100% - var(--gutter) * 1.15));
    grid-template-columns: minmax(250px, 0.42fr) minmax(560px, 1fr);
    gap: 18px 42px;
  }

  .footer__legal {
    max-width: 930px;
  }
}

.legal-page {
  max-width: 980px;
}

.legal-page__header {
  margin-bottom: clamp(28px, 4vw, 48px);
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(247, 242, 232, 0.14);
}

.legal-page__header h2,
.bug-report-page h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.05;
}

.legal-copy {
  display: grid;
  gap: clamp(26px, 4vw, 44px);
}

.legal-copy section,
.legal-copy > p,
.rules-list {
  max-width: 820px;
}

.legal-copy h3,
.legal-copy h4 {
  margin: 0 0 12px;
  font-family: var(--display);
  line-height: 1.15;
}

.legal-copy h3 {
  color: var(--ink);
  font-size: clamp(1.45rem, 2.4vw, 2.35rem);
}

.legal-copy h4 {
  margin-top: 22px;
  color: var(--gold);
  font-size: clamp(1rem, 1.5vw, 1.28rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.legal-copy p,
.legal-copy li {
  color: var(--muted);
}

.legal-copy ul,
.legal-copy ol {
  padding-left: 1.25rem;
  margin: 12px 0 0;
}

.legal-copy li + li {
  margin-top: 8px;
}

.rules-list {
  display: grid;
  gap: 0;
  padding-left: 0 !important;
  list-style-position: inside;
  border-block: 1px solid rgba(247, 242, 232, 0.14);
}

.rules-list li {
  padding: 16px 0;
  border-bottom: 1px solid rgba(247, 242, 232, 0.1);
}

.rules-list li::marker {
  color: var(--gold);
  font-family: var(--display);
}

.bug-report-page {
  max-width: 1040px;
}

.bug-report-content {
  display: grid;
  grid-template-columns: minmax(240px, 0.62fr) minmax(320px, 1fr);
  gap: clamp(34px, 6vw, 86px);
  align-items: start;
}

.bug-report-intro-block {
  position: sticky;
  top: 28px;
}

.bug-report-intro,
.bug-report-note,
.bug-report-file-help,
.bug-report-form-message {
  color: var(--muted);
}

.bug-report-note {
  display: block;
  margin-top: 18px;
  color: rgba(247, 242, 232, 0.88);
}

.bug-report-form {
  display: grid;
  gap: 14px;
  padding: clamp(22px, 4vw, 42px);
  border-block: 1px solid rgba(247, 242, 232, 0.14);
  background:
    linear-gradient(135deg, rgba(149, 50, 49, 0.15), transparent 58%),
    linear-gradient(180deg, rgba(247, 242, 232, 0.045), rgba(247, 242, 232, 0.012));
}

.bug-report-form label,
.bug-report-file-help {
  margin: 0;
  color: var(--gold);
  font-family: var(--display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.bug-report-form input,
.bug-report-form select,
.bug-report-form textarea {
  width: 100%;
  border: 1px solid rgba(247, 242, 232, 0.16);
  border-radius: 0;
  background: rgba(0, 0, 0, 0.34);
  color: var(--ink);
  font: inherit;
  line-height: 1.4;
}

.bug-report-form input:not([type="file"]),
.bug-report-form select,
.bug-report-form textarea {
  min-height: 48px;
  padding: 12px 14px;
}

.bug-report-form textarea {
  min-height: 180px;
  resize: vertical;
}

.bug-report-form input[type="file"] {
  padding: 14px;
  color: var(--muted);
}

.bug-report-form input:focus,
.bug-report-form select:focus,
.bug-report-form textarea:focus {
  outline: 2px solid var(--blue-fire);
  outline-offset: 2px;
  border-color: transparent;
}

.bug-report-form .button {
  margin-top: 10px;
}

.bug-report-form .button:disabled {
  cursor: wait;
  opacity: 0.62;
  transform: none;
}

.cf-turnstile {
  min-height: 70px;
}

.bug-report-form-message {
  min-height: 1.5em;
  margin: 0;
  font-weight: 700;
}

.bug-report-form-message[data-state="error"] {
  color: #ff9d87;
}

.bug-report-form-message[data-state="success"] {
  color: #9fe7b4;
}

@media (max-width: 980px) {
  .bug-report-content {
    grid-template-columns: 1fr;
  }

  .bug-report-intro-block {
    position: static;
  }
}

@media (max-width: 520px) {
  .platforms__button {
    width: min(100%, 320px);
  }

  .legal-page,
  .bug-report-page {
    padding-top: 42px;
  }

  .legal-copy ul,
  .legal-copy ol {
    padding-left: 1rem;
  }

  .rules-list {
    list-style-position: outside;
    padding-left: 1.2rem !important;
  }

  .bug-report-form {
    padding: 20px;
  }
}

/* Subpage layout adjustments */
.topbar__left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.topbar__back {
  display: none;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(0, 0, 0, 0.28);
  opacity: 0.86;
  color: var(--ink);
  font-family: var(--display);
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1;
  transition: opacity 180ms ease, transform 180ms ease, border-color 180ms ease;
}

.inner-page .topbar__back {
  display: grid;
}

.topbar__back:hover {
  opacity: 1;
  transform: translateY(-2px);
  border-color: rgba(229, 182, 90, 0.62);
}

.press-kit-page {
  height: 100svh;
  overflow: hidden;
}

.press-page-hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
  background: #020303;
}

.press-page-hero::before,
.press-page-hero::after {
  position: absolute;
  inset: 0;
  content: "";
}

.press-page-hero::before {
  z-index: -3;
  background: url("../../media/capsule_template.webp") center / cover no-repeat;
  filter: blur(13px) brightness(0.17) saturate(0.52);
  transform: scale(1.09);
}

.press-page-hero::after {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.58) 48%, rgba(0, 0, 0, 0.82)),
    linear-gradient(180deg, rgba(0, 0, 0, 0.34), #030405 100%);
}

.press-page-hero__inner {
  position: relative;
  display: grid;
  align-items: center;
  width: min(var(--max), calc(100% - var(--gutter) * 2));
  min-height: calc(100svh - 90px);
  margin: 0 auto;
  padding: clamp(36px, 7vh, 86px) 0 clamp(48px, 8vh, 96px);
}

.press-page-hero__copy {
  position: relative;
  z-index: 2;
  max-width: 680px;
}

.press-page-hero h1 {
  max-width: 760px;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.9rem, 6.8vw, 7.4rem);
  line-height: 0.98;
}

.press-page-hero p:not(.eyebrow) {
  max-width: 640px;
  color: var(--muted);
  font-size: clamp(1rem, 1.35vw, 1.18rem);
}

.press-page-hero .button {
  margin-top: 18px;
}

.press-page-hero__art {
  position: absolute;
  right: clamp(-130px, -5vw, -52px);
  bottom: -132px;
  z-index: -1;
  width: min(55vw, 680px);
  pointer-events: none;
  mask-image: linear-gradient(to bottom, #000 0%, #000 84%, transparent 100%);
}

.press-page-hero__art img {
  width: 100%;
  height: auto;
  transform: scaleX(-1);
  transform-origin: center bottom;
  filter: drop-shadow(0 30px 44px rgba(0, 0, 0, 0.68));
}

.story-masthead {
  min-height: auto;
}

.story-masthead__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  gap: clamp(34px, 5vw, 72px);
  align-items: end;
  width: min(var(--max), calc(100% - var(--gutter) * 2));
  margin: 0 auto;
  padding: clamp(58px, 8vw, 96px) 0 clamp(54px, 7vw, 86px);
}

.story-masthead__copy {
  width: auto;
  padding: 0;
  margin: 0;
}

.story-masthead__image {
  margin: 0;
}

.story-masthead__image img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  height: auto;
  object-fit: cover;
  object-position: center top;
  border: 1px solid rgba(247, 242, 232, 0.16);
}

.story-masthead__caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 12px;
  color: rgba(247, 242, 232, 0.82);
  font-size: 0.86rem;
  line-height: 1.3;
}

.story-masthead__caption span {
  font-weight: 700;
}

.story-masthead__caption a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.story-expanded--article {
  display: block;
  max-width: 920px;
  padding-top: clamp(44px, 6vw, 72px);
}

.story-expanded--article .story-expanded__copy {
  max-width: 820px;
}

.bug-report-shell .page-masthead {
  min-height: 300px;
}

.bug-report-shell .page-masthead__content {
  padding-block: clamp(42px, 5vw, 70px);
}

.bug-report-shell .bug-report-page {
  padding-block: clamp(32px, 4vw, 54px);
}

.bug-report-shell .bug-report-content {
  gap: clamp(24px, 4vw, 48px);
}

.bug-report-shell .bug-report-intro-block {
  position: static;
}

.bug-report-shell .bug-report-form {
  gap: 10px;
  padding: clamp(18px, 3vw, 30px);
}

.bug-report-shell .bug-report-form input:not([type="file"]),
.bug-report-shell .bug-report-form select {
  min-height: 42px;
  padding: 9px 12px;
}

.bug-report-shell .bug-report-form textarea {
  min-height: 128px;
  padding: 10px 12px;
}

.bug-report-shell .cf-turnstile {
  min-height: 56px;
}

@media (min-width: 901px) {
  .footer {
    grid-template-columns: minmax(250px, 0.34fr) minmax(660px, 1fr);
  }

  .footer__legal {
    max-width: 1100px;
  }
}

@media (max-width: 820px) {
  .press-page-hero__inner {
    min-height: calc(100svh - 86px);
    padding-top: 30px;
    align-items: start;
  }

  .press-page-hero__copy {
    max-width: 100%;
  }

  .press-page-hero h1 {
    font-size: clamp(2.55rem, 12vw, 4.2rem);
  }

  .press-page-hero__art {
    right: -92px;
    bottom: -120px;
    width: min(92vw, 410px);
    opacity: 0.82;
  }

  .story-masthead__inner {
    grid-template-columns: 1fr;
    padding-top: 46px;
  }

  .story-masthead__image {
    width: min(100%, 360px);
  }
}

@media (max-width: 520px) {
  .topbar__left {
    gap: 8px;
  }

  .topbar__back {
    width: 38px;
    height: 38px;
  }

  .press-page-hero__art {
    right: -84px;
    bottom: -108px;
    width: min(96vw, 360px);
  }

  .press-page-hero .button {
    width: min(100%, 320px);
  }

  .bug-report-shell .page-masthead {
    min-height: 250px;
  }

  .bug-report-shell .page-masthead__content {
    padding-block: 34px;
  }
}

/* Final subpage tightening */
.press-page-hero .topbar {
  position: absolute;
  inset: 0 0 auto 0;
}

.press-page-hero__inner {
  min-height: 100svh;
  padding-top: clamp(104px, 14vh, 150px);
}

@media (min-width: 901px) {
  .footer__legal {
    grid-column: 1 / -1;
    max-width: none;
    width: min(1120px, 100%);
  }
}

.bug-report-shell .bug-report-form {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}

.bug-report-shell .form-field {
  display: grid;
  gap: 8px;
}

.bug-report-shell .form-field--wide,
.bug-report-shell .bug-report-form .cf-turnstile,
.bug-report-shell .bug-report-form .button,
.bug-report-shell .bug-report-form-message {
  grid-column: 1 / -1;
}

.bug-report-shell .page-masthead {
  min-height: 240px;
}

.bug-report-shell .page-masthead__content {
  padding-block: 28px 44px;
}

.bug-report-shell .bug-report-form textarea {
  min-height: 112px;
}

@media (max-width: 820px) {
  .press-page-hero__inner {
    padding-top: 116px;
  }
}

@media (max-width: 640px) {
  .bug-report-shell .bug-report-form {
    grid-template-columns: 1fr;
  }

  .bug-report-shell .form-field--wide,
  .bug-report-shell .bug-report-form .cf-turnstile,
  .bug-report-shell .bug-report-form .button,
  .bug-report-shell .bug-report-form-message {
    grid-column: auto;
  }
}

/* Bug report compact desktop utility layout */
@media (min-width: 901px) {
  .bug-report-shell .page-masthead {
    min-height: 220px;
  }

  .bug-report-shell .page-masthead .topbar {
    position: absolute;
    inset: 0 0 auto 0;
  }

  .bug-report-shell .page-masthead__content {
    padding: 98px 0 30px;
  }

  .bug-report-shell .page-masthead h1 {
    font-size: clamp(2.6rem, 4.6vw, 4.8rem);
  }

  .bug-report-shell .page-masthead p:not(.eyebrow) {
    margin-top: 10px;
  }

  .bug-report-shell .bug-report-page {
    padding-block: 24px 28px;
  }

  .bug-report-shell .bug-report-content {
    grid-template-columns: minmax(260px, 0.52fr) minmax(520px, 0.9fr);
    gap: clamp(22px, 3vw, 42px);
  }

  .bug-report-shell .bug-report-page h2 {
    font-size: clamp(1.9rem, 3vw, 3.1rem);
  }

  .bug-report-shell .bug-report-form {
    gap: 8px 14px;
    padding: 22px;
  }

  .bug-report-shell .bug-report-form textarea {
    min-height: 86px;
  }

  .bug-report-shell .bug-report-form input:not([type="file"]),
  .bug-report-shell .bug-report-form select {
    min-height: 38px;
  }

  .bug-report-shell .bug-report-form input[type="file"] {
    padding: 10px;
  }

  .bug-report-shell .cf-turnstile {
    min-height: 42px;
  }

  .bug-report-shell .footer {
    padding-top: 28px;
    padding-bottom: 24px;
    gap: 12px 28px;
  }

  .bug-report-shell .footer__brand img {
    width: 170px;
  }

  .bug-report-shell .footer__legal {
    margin-top: 6px;
    font-size: 0.74rem;
    line-height: 1.42;
  }

  .bug-report-shell .social-list--footer {
    margin-top: 8px;
  }
}

/* Footer alignment cleanup */
.topbar__back {
  width: auto;
  min-width: 64px;
  padding-inline: 14px;
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@media (min-width: 901px) {
  .footer {
    grid-template-columns: minmax(220px, 0.32fr) minmax(0, 1fr) auto;
    align-items: start;
  }

  .footer__brand {
    grid-column: 1;
    grid-row: 1;
  }

  .footer__links {
    grid-column: 2 / 4;
    grid-row: 1;
    justify-content: flex-end;
  }

  .footer__legal {
    grid-column: 1 / 3;
    grid-row: 2;
    width: min(980px, 100%);
    max-width: 980px;
  }

  .social-list--footer {
    grid-column: 3;
    grid-row: 2;
    align-self: end;
    justify-content: flex-end;
    margin-top: 0;
  }
}

@media (max-width: 520px) {
  .topbar__back {
    min-width: 58px;
    padding-inline: 10px;
    font-size: 0.68rem;
  }
}

/* Main developer card alignment */
.story {
  align-items: start;
}

.story__copy {
  display: flex;
  flex-direction: column;
}

.developer-card {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  max-width: min(360px, 100%);
  margin-left: auto;
}

.developer-card img {
  flex: 1 1 auto;
  min-height: 0;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.developer-card__caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 12px;
  color: rgba(247, 242, 232, 0.82);
  font-size: 0.86rem;
  line-height: 1.3;
}

.developer-card__caption span {
  font-weight: 700;
}

.developer-card__caption a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 4px;
}

@media (max-width: 900px) {
  .developer-card {
    width: min(360px, 100%);
    margin-left: 0;
  }
}

@media (max-width: 520px) {
  .developer-card__caption,
  .story-masthead__caption {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }
}

/* Keep desktop developer image edges aligned with story text */
@media (min-width: 901px) {
  .developer-card {
    position: relative;
    overflow: visible;
  }

  .developer-card img {
    position: absolute;
    inset: 0;
    height: 100%;
  }

  .developer-card__caption {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    right: 0;
    padding-top: 0;
  }
}
