:root {
  color-scheme: dark;
  --coal: #0d0a09;
  --coal-soft: #171210;
  --coal-raised: #211916;
  --cream: #f4ead8;
  --cream-soft: #d8cbb7;
  --paper: #e8dac4;
  --ink: #211713;
  --ember: #ff6a2a;
  --ember-bright: #ffad5c;
  --line: rgba(244, 234, 216, 0.16);
  --line-dark: rgba(33, 23, 19, 0.18);
  --display: "Iowan Old Style", "Palatino Linotype", Palatino, Baskerville, Georgia, serif;
  --body: "Avenir Next", Avenir, "Segoe UI", Helvetica, Arial, sans-serif;
  --content: 1180px;
  --header-height: 78px;
  --radius: 28px;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
  background: var(--coal);
}

body {
  min-height: 100%;
  margin: 0;
  overflow-x: hidden;
  color: var(--cream);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  background:
    radial-gradient(circle at 72% 8%, rgba(255, 106, 42, 0.1), transparent 24rem),
    radial-gradient(circle at 14% 34%, rgba(154, 73, 42, 0.08), transparent 28rem),
    var(--coal);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  opacity: 0.2;
  background-image:
    linear-gradient(115deg, transparent 0 49.5%, rgba(255, 255, 255, 0.025) 50%, transparent 50.5%),
    radial-gradient(circle at center, rgba(255, 255, 255, 0.06) 0 0.7px, transparent 0.8px);
  background-size: 100% 100%, 5px 5px;
  mix-blend-mode: soft-light;
}

body,
button,
input,
select,
textarea {
  font-family: var(--body);
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration-color: rgba(244, 234, 216, 0.42);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

a:focus-visible {
  outline: 3px solid var(--ember-bright);
  outline-offset: 5px;
  border-radius: 6px;
}

h1,
h2,
h3,
p,
figure,
ol {
  margin-top: 0;
}

h1,
h2,
h3 {
  margin-bottom: 0;
  font-family: var(--display);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.035em;
}

[data-reveal] {
  --reveal-y: 0px;
  --element-transform: translateZ(0);
  transform: translateY(var(--reveal-y)) var(--element-transform);
}

.skip-link {
  position: fixed;
  top: 14px;
  left: 14px;
  z-index: 100;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 999px;
  color: var(--ink);
  background: var(--cream);
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-160%);
}

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

.site-header,
.hero-shell,
.proof-strip,
.ember-feature,
.catalog,
.studio-statement,
.site-footer,
.legal-page {
  width: min(var(--content), calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: var(--header-height);
  padding-block: 14px;
  border-bottom: 1px solid var(--line);
  background: rgba(13, 10, 9, 0.82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--cream);
  color: var(--ink);
  box-shadow: 0 0 0 4px rgba(244, 234, 216, 0.035);
}

.brand-mark span {
  margin-left: 0.14em;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.brand-copy {
  display: grid;
  line-height: 1.1;
}

.brand-name {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.brand-line {
  margin-top: 4px;
  color: rgba(244, 234, 216, 0.52);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: clamp(16px, 2.5vw, 30px);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.site-nav a,
.site-footer a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: rgba(244, 234, 216, 0.68);
  text-decoration: none;
  transition: color 160ms ease;
}

.site-nav a:hover,
.site-footer a:hover {
  color: var(--ember-bright);
}

.hero {
  position: relative;
  min-height: calc(100svh - var(--header-height));
  overflow: clip;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(13, 10, 9, 0.92), rgba(13, 10, 9, 0.46)),
    radial-gradient(circle at 78% 46%, rgba(255, 106, 42, 0.18), transparent 32rem);
}

.hero::after {
  position: absolute;
  right: -18vw;
  bottom: -42vw;
  width: 76vw;
  height: 76vw;
  border: 1px solid rgba(255, 173, 92, 0.13);
  border-radius: 50%;
  content: "";
  box-shadow:
    0 0 0 8vw rgba(255, 106, 42, 0.025),
    0 0 0 18vw rgba(255, 106, 42, 0.018);
}

.hero-shell {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(330px, 0.75fr);
  align-items: center;
  gap: clamp(56px, 8vw, 118px);
  min-height: calc(100svh - var(--header-height));
  padding-block: 72px 84px;
}

.hero-copy {
  max-width: 690px;
}

.hero-identity {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 32px;
}

.hero-icon {
  width: 68px;
  height: 68px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 17px;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.34);
}

.eyebrow,
.status-label,
.kicker {
  margin-bottom: 10px;
  color: var(--ember-bright);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  line-height: 1.3;
  text-transform: uppercase;
}

.hero-game-name {
  margin-bottom: 0;
  color: rgba(244, 234, 216, 0.56);
  font-size: 14px;
  font-weight: 600;
}

.hero h1 {
  max-width: 760px;
  font-size: clamp(58px, 7.2vw, 112px);
}

.hero-lede {
  max-width: 610px;
  margin: 30px 0 0;
  color: rgba(244, 234, 216, 0.67);
  font-size: clamp(17px, 1.8vw, 22px);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px 26px;
  margin-top: 38px;
}

.store-button {
  position: relative;
  display: grid;
  min-width: 218px;
  min-height: 64px;
  align-content: center;
  padding: 10px 54px 10px 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  color: #fff7eb;
  background: linear-gradient(135deg, #fc6b2e, #b92e0e);
  box-shadow: 0 16px 42px rgba(255, 78, 17, 0.22);
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.store-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 50px rgba(255, 78, 17, 0.3);
}

.store-button-overline {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.2;
  text-transform: uppercase;
}

.store-button-label {
  font-size: 18px;
  font-weight: 750;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.store-button-arrow {
  position: absolute;
  top: 50%;
  right: 20px;
  font-size: 20px;
  transform: translateY(-50%);
}

.text-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 750;
  text-decoration: none;
}

.hero-media {
  --element-transform: rotate(2.5deg);
  position: relative;
  justify-self: center;
  width: min(100%, 390px);
  margin: 0;
}

.screen-frame {
  position: relative;
  padding: 11px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 44px;
  background: #050404;
  box-shadow:
    0 42px 90px rgba(0, 0, 0, 0.58),
    0 0 90px rgba(255, 94, 31, 0.18);
}

.screen-frame::before {
  position: absolute;
  top: 18px;
  left: 50%;
  z-index: 2;
  width: 30%;
  height: 18px;
  border-radius: 999px;
  background: #050404;
  content: "";
  transform: translateX(-50%);
}

.screen-frame img {
  width: 100%;
  border-radius: 34px;
}

.hero-media figcaption {
  margin-top: 18px;
  color: rgba(244, 234, 216, 0.42);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-align: center;
  text-transform: uppercase;
}

/* Landscape hero media (e.g. Doodlefort) — no portrait phone frame. */
.hero-media--wide {
  --element-transform: none;
  width: min(100%, 560px);
}

.hero-media--wide img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1200 / 672;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 22px;
  box-shadow:
    0 42px 90px rgba(0, 0, 0, 0.55),
    0 0 80px rgba(255, 206, 103, 0.14);
}

.hero-embers span {
  position: absolute;
  z-index: 1;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--ember-bright);
  box-shadow: 0 0 18px 5px rgba(255, 106, 42, 0.28);
  animation: ember-rise 7s linear infinite;
}

.hero-embers span:nth-child(1) { right: 11%; bottom: 7%; animation-delay: -1s; }
.hero-embers span:nth-child(2) { right: 26%; bottom: 18%; animation-delay: -4s; animation-duration: 9s; }
.hero-embers span:nth-child(3) { right: 38%; bottom: 5%; animation-delay: -6s; animation-duration: 8s; }
.hero-embers span:nth-child(4) { right: 19%; bottom: 38%; animation-delay: -2s; animation-duration: 10s; }
.hero-embers span:nth-child(5) { right: 44%; bottom: 25%; animation-delay: -8s; animation-duration: 11s; }

@keyframes ember-rise {
  0% { opacity: 0; transform: translate3d(0, 24px, 0) scale(0.6); }
  18% { opacity: 0.8; }
  100% { opacity: 0; transform: translate3d(24px, -260px, 0) scale(0.1); }
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.proof-strip p {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 112px;
  margin-bottom: 0;
  padding: 24px 30px;
}

.proof-strip p + p {
  border-left: 1px solid var(--line);
}

.proof-strip strong {
  color: var(--ember-bright);
  font-family: var(--display);
  font-size: 44px;
  font-weight: 400;
  line-height: 1;
}

.proof-strip span {
  color: rgba(244, 234, 216, 0.6);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.08em;
  line-height: 1.4;
  text-transform: uppercase;
}

.ember-feature,
.catalog {
  padding-block: clamp(100px, 13vw, 176px);
}

.section-intro {
  max-width: 790px;
}

.section-intro h2,
.studio-statement h2,
.legal-hero h1 {
  font-size: clamp(48px, 7vw, 90px);
}

.section-intro > p:last-child {
  max-width: 580px;
  margin: 28px 0 0;
  color: rgba(244, 234, 216, 0.58);
  font-size: 18px;
}

.ember-feature-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
  align-items: center;
  gap: clamp(54px, 10vw, 140px);
  margin-top: 74px;
}

.mechanic-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.mechanic-list li {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 22px;
  padding-block: 28px;
  border-bottom: 1px solid var(--line);
}

.mechanic-list li > span {
  color: var(--ember);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.mechanic-list h3 {
  font-size: clamp(30px, 3vw, 44px);
}

.mechanic-list p {
  max-width: 520px;
  margin: 11px 0 0;
  color: rgba(244, 234, 216, 0.56);
}

.feature-media {
  width: min(100%, 390px);
  justify-self: center;
  margin: 0;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 34px;
  background: var(--coal-raised);
  box-shadow: 0 36px 74px rgba(0, 0, 0, 0.38);
}

.feature-media img {
  width: 100%;
  border-radius: 25px;
}

.feature-media figcaption {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 8px 7px;
  color: rgba(244, 234, 216, 0.42);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.catalog {
  position: relative;
  border-top: 1px solid var(--line);
}

.catalog-intro {
  margin-bottom: 68px;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.game-article {
  --card-accent: #ff6a2a;
  position: relative;
  display: grid;
  min-height: 620px;
  align-content: start;
  overflow: hidden;
  padding: clamp(25px, 4vw, 38px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 92% 5%, color-mix(in srgb, var(--card-accent) 22%, transparent), transparent 15rem),
    linear-gradient(145deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.012));
  transition: border-color 180ms ease, transform 180ms ease;
}

.game-article:hover {
  --element-transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--card-accent) 55%, transparent);
}

.game-article--emberline { --card-accent: #ff8a3d; }
.game-article--stillform { --card-accent: #ba85ff; }
.game-article--skyburst { --card-accent: #78d9ff; }
.game-article--doodlefort { --card-accent: #ffce67; }
.game-article--tanglelight { --card-accent: #fa6cff; }
.game-article--harborlight { --card-accent: #55e4c4; }
.game-article--flockaway { --card-accent: #ffb8d9; }

.game-card-head {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 18px;
}

.game-card-head img,
.type-icon {
  width: 64px;
  height: 64px;
  flex: 0 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.25);
}

.type-icon {
  display: grid;
  place-items: center;
  color: var(--ink);
  background: var(--card-accent);
  font-family: var(--display);
  font-size: 36px;
}

.game-card-head h3 {
  font-size: clamp(31px, 3vw, 44px);
}

.status-label {
  margin-bottom: 5px;
  color: var(--card-accent);
}

.game-article > p {
  position: relative;
  z-index: 2;
  max-width: 510px;
  margin: 28px 0 34px;
  color: rgba(244, 234, 216, 0.62);
  font-size: 17px;
}

.game-media {
  position: relative;
  width: 100%;
  min-height: 310px;
  margin: auto 0 -39px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 0;
  border-radius: 24px 24px 0 0;
  background: #080707;
  box-shadow: 0 -18px 48px rgba(0, 0, 0, 0.24);
}

.game-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.game-media--portrait {
  height: 390px;
}

.game-media--portrait img {
  object-position: center 18%;
}

.game-media--landscape {
  height: 310px;
}

.game-media--landscape img {
  object-position: center;
}

.flock-stage {
  position: relative;
  min-height: 330px;
  margin: auto -39px -39px;
  overflow: hidden;
  border-top: 1px solid var(--line);
  background:
    radial-gradient(circle at 50% 118%, #fce5b6 0, #f5a6c5 26%, #7da3e8 56%, #1a2042 100%);
}

.flock-stage::before {
  position: absolute;
  right: -12%;
  bottom: -34%;
  width: 82%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(255, 239, 197, 0.92);
  content: "";
  filter: blur(1px);
}

.bird {
  position: absolute;
  width: 34px;
  height: 18px;
  border-top: 4px solid rgba(28, 29, 58, 0.82);
  border-radius: 50%;
  transform: rotate(-12deg);
}

.bird::after {
  position: absolute;
  top: -4px;
  left: 16px;
  width: 34px;
  height: 18px;
  border-top: 4px solid rgba(28, 29, 58, 0.82);
  border-radius: 50%;
  content: "";
  transform: rotate(20deg);
  transform-origin: left top;
}

.bird-1 { top: 25%; left: 13%; transform: scale(0.8) rotate(-9deg); }
.bird-2 { top: 16%; left: 38%; transform: scale(1.1) rotate(5deg); }
.bird-3 { top: 35%; left: 64%; transform: scale(0.72) rotate(-4deg); }
.bird-4 { top: 56%; left: 25%; transform: scale(0.65) rotate(8deg); }
.bird-5 { top: 64%; left: 55%; transform: scale(0.94) rotate(-11deg); }
.bird-6 { top: 23%; left: 81%; transform: scale(0.54) rotate(12deg); }
.bird-7 { top: 78%; left: 12%; transform: scale(0.58) rotate(-3deg); }
.bird-8 { top: 76%; left: 76%; transform: scale(0.7) rotate(5deg); }
.bird-9 { top: 45%; left: 42%; transform: scale(1.3) rotate(-7deg); }

.studio-statement {
  margin-bottom: clamp(80px, 10vw, 140px);
  padding: clamp(46px, 7vw, 88px);
  border-radius: calc(var(--radius) + 6px);
  color: var(--ink);
  background: var(--paper);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.25);
}

.studio-statement .eyebrow {
  color: #a63d16;
}

.studio-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.65fr;
  align-items: end;
  gap: clamp(44px, 8vw, 110px);
}

.studio-statement h2 {
  color: var(--ink);
}

.studio-grid > div > p {
  margin-bottom: 28px;
  color: rgba(33, 23, 19, 0.72);
  font-size: 17px;
}

.store-button--light {
  width: 100%;
  color: var(--cream);
  background: var(--ink);
  box-shadow: none;
}

.site-footer {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
  min-height: 150px;
  padding-block: 34px;
  border-top: 1px solid var(--line);
}

.footer-brand {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-decoration: none;
}

.site-footer p {
  margin-bottom: 0;
  line-height: 1.35;
}

.site-footer p:first-child {
  font-size: 14px;
  font-weight: 750;
}

.site-footer p:last-child {
  margin-top: 3px;
  color: rgba(244, 234, 216, 0.42);
  font-size: 12px;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 22px;
  font-size: 13px;
  font-weight: 700;
}

.legal-page {
  padding-block: clamp(72px, 10vw, 132px);
}

.legal-hero,
.legal-body {
  max-width: 820px;
  margin-inline: auto;
}

.legal-hero {
  padding-bottom: 54px;
  border-bottom: 1px solid var(--line);
}

.legal-hero > p:last-child {
  max-width: 700px;
  margin: 30px 0 0;
  color: rgba(244, 234, 216, 0.64);
  font-size: 18px;
}

.legal-body {
  padding-top: 56px;
}

.legal-body h2 {
  margin: 50px 0 14px;
  font-size: clamp(28px, 4vw, 42px);
}

.legal-body h2:first-child {
  margin-top: 0;
}

.legal-body p,
.legal-body li {
  color: rgba(244, 234, 216, 0.68);
}

.legal-body a,
.legal-hero a {
  color: var(--ember-bright);
}

.reveal-ready [data-reveal] {
  --reveal-y: 22px;
  opacity: 0;
  transition: opacity 620ms ease var(--reveal-delay, 0ms), transform 620ms ease var(--reveal-delay, 0ms);
}

.reveal-ready [data-reveal].is-visible {
  --reveal-y: 0px;
  opacity: 1;
}

@media (min-width: 921px) and (max-height: 820px) {
  .hero-shell {
    align-items: start;
    padding-block: 40px;
  }

  .hero-copy {
    padding-top: 10px;
  }

  .hero-identity {
    margin-bottom: 22px;
  }

  .hero h1 {
    font-size: clamp(52px, 5.8vw, 80px);
  }

  .hero-lede {
    margin-top: 20px;
    font-size: 17px;
  }

  .hero-actions {
    margin-top: 24px;
  }

  .hero-media {
    width: auto;
    height: calc(100svh - var(--header-height) - 80px);
    max-height: 640px;
    aspect-ratio: 720 / 1564;
  }

  /* The wide (landscape) hero keeps its own aspect — never the phone frame. */
  .hero-media--wide {
    width: min(100%, 520px);
    height: auto;
    max-height: none;
    aspect-ratio: auto;
  }

  .screen-frame {
    height: calc(100% - 34px);
    padding: 8px;
    border-radius: 32px;
  }

  .screen-frame img {
    width: 100%;
    height: 100%;
    border-radius: 24px;
    object-fit: cover;
  }

  .hero-media figcaption {
    margin-top: 12px;
  }
}

@media (max-width: 920px) {
  .hero-shell,
  .ember-feature-grid,
  .studio-grid {
    grid-template-columns: 1fr;
  }

  .hero-shell {
    gap: 72px;
    padding-top: 84px;
  }

  .hero-copy {
    max-width: 760px;
  }

  .hero-media {
    width: min(76vw, 390px);
  }

  .proof-strip p {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
  }

  .ember-feature-grid {
    gap: 70px;
  }

  .feature-media {
    width: min(70vw, 390px);
  }

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

  .game-article {
    min-height: 580px;
  }

  .studio-grid {
    align-items: start;
  }
}

@media (max-width: 680px) {
  :root {
    --header-height: 70px;
  }

  .site-header,
  .hero-shell,
  .proof-strip,
  .ember-feature,
  .catalog,
  .studio-statement,
  .site-footer,
  .legal-page {
    width: min(100% - 28px, var(--content));
  }

  .site-header {
    gap: 12px;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
  }

  .brand-copy {
    display: none;
  }

  .site-nav {
    gap: 12px;
    font-size: 11px;
  }

  .site-nav a[href="#studio"] {
    display: none;
  }

  .hero-shell {
    min-height: auto;
    padding-block: 72px;
  }

  .hero-identity {
    margin-bottom: 25px;
  }

  .hero h1 {
    font-size: clamp(52px, 16vw, 76px);
  }

  .hero-lede {
    font-size: 17px;
  }

  .hero-actions,
  .store-button {
    width: 100%;
  }

  .hero-media {
    width: min(86vw, 360px);
  }

  .proof-strip {
    grid-template-columns: 1fr;
  }

  .proof-strip p {
    min-height: 88px;
    flex-direction: row;
    align-items: center;
  }

  .proof-strip p + p {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .ember-feature,
  .catalog {
    padding-block: 94px;
  }

  .section-intro h2,
  .studio-statement h2,
  .legal-hero h1 {
    font-size: clamp(46px, 14vw, 68px);
  }

  .mechanic-list li {
    grid-template-columns: 34px 1fr;
    gap: 13px;
  }

  .feature-media {
    width: min(86vw, 370px);
  }

  .game-article {
    min-height: 540px;
    padding: 24px;
    border-radius: 22px;
  }

  .game-card-head img,
  .type-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
  }

  .game-media {
    margin-right: -25px;
    margin-bottom: -25px;
    margin-left: -25px;
    border-radius: 20px 20px 0 0;
  }

  .game-media--portrait {
    height: 360px;
  }

  .game-media--landscape {
    height: 250px;
  }

  .flock-stage {
    margin: auto -25px -25px;
  }

  .studio-statement {
    padding: 38px 25px;
  }

  .site-footer {
    grid-template-columns: auto 1fr;
  }

  .site-footer nav {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }
}

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

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

  .reveal-ready [data-reveal] {
    --reveal-y: 0px;
    opacity: 1;
  }

  .game-article:hover {
    --element-transform: translateZ(0);
  }

  .store-button:hover {
    transform: none;
  }
}
