@font-face {
  font-family: "Cinzel";
  src: url("assets/fonts/Cinzel-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: block;
}

@font-face {
  font-family: "Cinzel";
  src: url("assets/fonts/Cinzel-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: block;
}

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

@font-face {
  font-family: "EBGaramond";
  src: url("assets/fonts/EBGaramond-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --ink: #f7efe0;
  --muted: #c3b8a4;
  --soft: #908978;
  --night: #061112;
  --deep: #0b1718;
  --stone: #18211f;
  --gold: #d7ad4f;
  --gold-bright: #f2d988;
  --red: #b84c36;
  --teal: #2fb09a;
  --clay: #8f6342;
  --line: rgba(247, 239, 224, 0.16);
  --shadow: 0 22px 70px rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  overflow-wrap: normal;
  word-break: normal;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--night);
  color: var(--ink);
  font-family: "EBGaramond", Georgia, serif;
  font-size: 18px;
  line-height: 1.55;
}

p,
li,
dd,
dt,
h1,
h2,
h3,
a,
button,
span,
strong,
label,
input,
textarea,
select {
  overflow-wrap: break-word;
  word-break: normal;
}

.brand span,
#hero-title,
.site-header nav a,
.header-cta,
.button,
.playstore-badge,
.language-control,
.world-button span,
.footer-logo span {
  overflow-wrap: normal;
  word-break: keep-all;
}

body.modal-open {
  overflow: hidden;
}

body::selection {
  background: rgba(215, 173, 79, 0.34);
}

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

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px clamp(18px, 4vw, 58px);
  background:
    linear-gradient(180deg, rgba(4, 9, 10, 0.94), rgba(4, 9, 10, 0.55)),
    linear-gradient(90deg, rgba(215, 173, 79, 0.12), transparent 34%, rgba(47, 176, 154, 0.08));
  border-bottom: 1px solid rgba(247, 239, 224, 0.11);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
  font-family: "Cinzel", serif;
  font-weight: 700;
  letter-spacing: 0;
}

.brand img {
  width: 46px;
  height: 46px;
  border-radius: 8px;
  border: 1px solid rgba(215, 173, 79, 0.45);
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.34);
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 3vw, 28px);
  min-width: 0;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-width: none;
  color: rgba(247, 239, 224, 0.82);
  font-size: 16px;
}

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

.site-header nav a {
  flex: 0 0 auto;
  border-bottom: 1px solid transparent;
  white-space: nowrap;
}

.site-header nav a:hover {
  border-color: var(--gold);
  color: var(--gold-bright);
}

.site-header nav a[aria-current="page"] {
  border-color: rgba(242, 217, 136, 0.72);
  color: var(--gold-bright);
}

.menu-toggle {
  display: none;
}

.header-cta {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 16px;
  border: 1px solid rgba(242, 217, 136, 0.64);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(242, 217, 136, 0.98), rgba(215, 173, 79, 0.98));
  color: #171008;
  box-shadow: 0 16px 34px rgba(215, 173, 79, 0.24);
  font-family: "Cinzel", serif;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.1;
  text-align: center;
  white-space: nowrap;
}

.header-cta:hover,
.header-cta:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 20px 42px rgba(215, 173, 79, 0.32);
  outline: none;
}

.language-control {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  color: rgba(247, 239, 224, 0.72);
  font-family: "Cinzel", serif;
  font-size: 12px;
  font-weight: 700;
}

.language-control select {
  width: auto;
  min-height: 38px;
  padding: 0 34px 0 12px;
  border-color: rgba(215, 173, 79, 0.26);
  background: rgba(3, 8, 8, 0.74);
  color: var(--ink);
  font: 700 13px "Cinzel", serif;
  cursor: pointer;
}

.music-toggle {
  position: fixed;
  right: clamp(16px, 3vw, 34px);
  bottom: clamp(16px, 3vw, 30px);
  z-index: 25;
  min-width: 116px;
  min-height: 44px;
  border: 1px solid rgba(247, 239, 224, 0.24);
  border-radius: 8px;
  background: rgba(5, 13, 14, 0.76);
  color: var(--ink);
  cursor: pointer;
  font-family: "Cinzel", serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  backdrop-filter: blur(12px);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.32);
}

.music-toggle:hover,
.music-toggle:focus-visible,
.music-toggle.is-playing {
  border-color: rgba(242, 217, 136, 0.68);
  color: var(--gold-bright);
  outline: none;
}

.hero {
  position: relative;
  min-height: 96svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 112px clamp(20px, 7vw, 96px) 74px;
  isolation: isolate;
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-media {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  overflow: hidden;
  transform: scale(1.025);
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}

.hero-shade {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(3, 7, 8, 0.92) 0%, rgba(5, 11, 11, 0.68) 42%, rgba(5, 11, 11, 0.14) 82%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.08) 0%, rgba(6, 17, 18, 0.86) 100%),
    linear-gradient(135deg, rgba(215, 173, 79, 0.2), transparent 34%, rgba(47, 176, 154, 0.12));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(900px, 100%);
}

.hero-logo {
  width: clamp(116px, 16vw, 176px);
  height: clamp(116px, 16vw, 176px);
  object-fit: cover;
  margin-bottom: 24px;
  border: 1px solid rgba(215, 173, 79, 0.42);
  border-radius: 18px;
  box-shadow:
    0 20px 62px rgba(0, 0, 0, 0.52),
    0 0 0 8px rgba(215, 173, 79, 0.08),
    0 0 48px rgba(215, 173, 79, 0.14);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold-bright);
  font-family: "Cinzel", serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Cinzel", serif;
  line-height: 1.02;
  letter-spacing: 0;
}

h1 {
  color: #f6d779;
  font-size: clamp(56px, 10vw, 148px);
  white-space: nowrap;
  text-shadow: 0 12px 40px rgba(0, 0, 0, 0.64);
}

h2 {
  font-size: clamp(36px, 6vw, 72px);
}

h3 {
  font-size: 24px;
}

.hero-copy {
  width: min(620px, 100%);
  margin: 20px 0 0;
  color: rgba(247, 239, 224, 0.93);
  font-size: clamp(22px, 3.3vw, 34px);
  line-height: 1.2;
  text-shadow: 0 5px 24px rgba(0, 0, 0, 0.68);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero-socials {
  display: flex;
  gap: 14px;
  margin-top: 28px;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border: 1px solid rgba(247, 239, 224, 0.2);
  border-radius: 8px;
  background: rgba(5, 13, 14, 0.46);
  color: rgba(247, 239, 224, 0.82);
  font-family: "Cinzel", serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  backdrop-filter: blur(8px);
  transition: border-color 200ms ease, color 200ms ease, background 200ms ease;
}

.social-link:hover,
.social-link:focus-visible {
  border-color: rgba(242, 217, 136, 0.6);
  color: var(--gold-bright);
  background: rgba(215, 173, 79, 0.1);
  outline: none;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1.15;
  white-space: normal;
  min-height: 48px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-family: "Cinzel", serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
  cursor: pointer;
}

.button.primary {
  background: linear-gradient(180deg, #f0cf78, var(--gold));
  color: #1d1408;
  box-shadow: 0 16px 38px rgba(215, 173, 79, 0.24);
}

.button.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 44px rgba(215, 173, 79, 0.3);
}

.button.secondary {
  border-color: rgba(247, 239, 224, 0.34);
  background: rgba(5, 13, 14, 0.46);
  color: var(--ink);
}

.button.secondary:hover {
  border-color: var(--teal);
  color: #bff4e9;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border-block: 1px solid var(--line);
}

.trust-strip div {
  min-height: 118px;
  padding: 24px clamp(18px, 3vw, 34px);
  background: #0d1715;
}

.trust-strip strong {
  display: block;
  color: var(--gold-bright);
  font-family: "Cinzel", serif;
  font-size: clamp(24px, 4vw, 42px);
  line-height: 1;
}

.trust-strip span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
}

.section {
  padding: clamp(72px, 10vw, 132px) clamp(20px, 6vw, 88px);
}

.deferred-bg {
  content-visibility: auto;
  contain-intrinsic-size: 900px;
}

.section-heading {
  width: min(840px, 100%);
  margin-bottom: clamp(34px, 6vw, 70px);
}

.section-heading p:not(.eyebrow),
.beta-copy p,
.signup-copy p {
  color: var(--muted);
  font-size: clamp(19px, 2.2vw, 25px);
  line-height: 1.34;
}

.section-heading.compact {
  width: min(720px, 100%);
  margin-bottom: 34px;
}

.experience {
  background:
    linear-gradient(180deg, rgba(7, 17, 18, 0.98), rgba(13, 23, 21, 0.92) 54%, rgba(21, 23, 22, 0.98));
}

.experience.has-bg {
  background:
    linear-gradient(180deg, rgba(7, 17, 18, 0.98), rgba(13, 23, 21, 0.92) 54%, rgba(21, 23, 22, 0.98)),
    url("assets/backgrounds/egypt.webp") center / cover;
}

.cultural-areas {
  background:
    linear-gradient(180deg, rgba(21, 23, 22, 0.96), rgba(12, 20, 19, 0.92));
  border-top: 1px solid var(--line);
}

.cultural-areas.has-bg {
  background:
    linear-gradient(180deg, rgba(21, 23, 22, 0.96), rgba(12, 20, 19, 0.92)),
    url("assets/backgrounds/bg_persia.webp") center / cover;
}

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

.area-grid article {
  position: relative;
  min-height: 252px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 22px;
  border: 1px solid rgba(247, 239, 224, 0.15);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(7, 17, 18, 0.44), rgba(7, 17, 18, 0.86)),
    var(--area-image, url("assets/backgrounds/egypt.webp")) center / cover;
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.22);
}

.area-grid article:nth-child(1) {
  --area-image: url("assets/backgrounds/bg_egypt.webp");
}

.area-grid article:nth-child(2) {
  --area-image: url("assets/backgrounds/sumerians.webp");
}

.area-grid article:nth-child(3) {
  --area-image: url("assets/backgrounds/bg_greece.webp");
}

.area-grid article:nth-child(4) {
  --area-image: url("assets/backgrounds/bg_persia.webp");
}

.area-grid article:nth-child(5) {
  --area-image: url("assets/backgrounds/bg_meso.webp");
}

.area-grid article:nth-child(6) {
  --area-image: url("assets/backgrounds/asia.webp");
}

.area-grid article::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.05);
  pointer-events: none;
}

.area-grid span {
  position: relative;
  color: var(--teal);
  font-family: "Cinzel", serif;
  font-size: 13px;
  font-weight: 700;
}

.area-grid h3 {
  position: relative;
  margin-top: 18px;
  color: var(--gold-bright);
  font-size: clamp(20px, 2.2vw, 27px);
}

.area-grid p {
  position: relative;
  margin: 12px 0 20px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.25;
}

.area-grid strong {
  position: relative;
  margin-top: auto;
  color: var(--ink);
  font-family: "Cinzel", serif;
  font-size: 13px;
  line-height: 1.2;
}

.showcase-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.92fr) minmax(320px, 1.08fr);
  gap: clamp(26px, 5vw, 70px);
  align-items: center;
}

.phone-scene {
  display: grid;
  place-items: center;
}

.phone-frame {
  position: relative;
  width: min(360px, 86vw);
  min-height: 690px;
  aspect-ratio: 360 / 690;
  padding: 26px 22px 24px;
  border: 1px solid rgba(247, 239, 224, 0.2);
  border-radius: 34px;
  background:
    linear-gradient(180deg, rgba(8, 24, 25, 0.95), rgba(12, 16, 14, 0.98)),
    var(--phone-bg, url("assets/backgrounds/bg_egypt.webp")) center / cover;
  box-shadow: var(--shadow);
}

.phone-frame::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(215, 173, 79, 0.18);
  border-radius: 26px;
  pointer-events: none;
}

.phone-top {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: var(--gold-bright);
  font-family: "Cinzel", serif;
  font-size: 13px;
}

.phone-top strong {
  color: var(--ink);
}

.puzzle-board {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  align-items: end;
  min-height: 420px;
  margin-top: 64px;
}

.tube {
  position: relative;
  min-height: 360px;
}

.tube-empty,
.tube-front {
  position: absolute;
  inset: auto 0 0;
  width: 100%;
  margin: auto;
}

.pawn {
  position: absolute;
  left: 21%;
  width: 58%;
  filter: drop-shadow(0 8px 10px rgba(0, 0, 0, 0.28));
}

.pawn.p1 {
  bottom: 32px;
}

.pawn.p2 {
  bottom: 84px;
}

.pawn.p3 {
  bottom: 136px;
}

.artifact-reward {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 34px;
  padding: 12px;
  border: 1px solid rgba(215, 173, 79, 0.22);
  border-radius: 8px;
  background: rgba(6, 12, 10, 0.72);
}

.artifact-reward img {
  width: 60px;
  height: 60px;
  object-fit: contain;
}

.artifact-reward span,
.artifact-reward strong {
  display: block;
}

.artifact-reward span {
  color: var(--soft);
  font-size: 15px;
}

.artifact-reward strong {
  color: var(--gold-bright);
  font-family: "Cinzel", serif;
  font-size: 16px;
  line-height: 1.15;
}

.feature-list {
  display: grid;
  gap: 14px;
}

.feature-list article {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 18px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(247, 239, 224, 0.04);
}

.feature-list span {
  color: var(--teal);
  font-family: "Cinzel", serif;
  font-weight: 700;
}

.feature-list p {
  grid-column: 2;
  margin: -4px 0 0;
  color: var(--muted);
}

.facts {
  background:
    linear-gradient(180deg, rgba(10, 18, 17, 0.9), rgba(17, 21, 19, 0.96));
}

.facts.has-bg {
  background:
    linear-gradient(180deg, rgba(10, 18, 17, 0.9), rgba(17, 21, 19, 0.96)),
    url("assets/backgrounds/sumerians.webp") center / cover;
}

.facts-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 32px auto 0;
  padding: 0;
  width: min(1180px, 100%);
}

.facts-grid div {
  min-height: 132px;
  padding: 22px;
  border: 1px solid rgba(247, 239, 224, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(247, 239, 224, 0.08), rgba(247, 239, 224, 0.025));
  backdrop-filter: blur(8px);
}

.facts-grid dt {
  color: var(--gold-bright);
  font-family: "Cinzel", serif;
  font-size: 13px;
  font-weight: 700;
}

.facts-grid dd {
  margin: 12px 0 0;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.25;
}

.feature-deck {
  background:
    linear-gradient(180deg, rgba(18, 22, 21, 0.9), rgba(7, 17, 18, 0.96));
}

.feature-deck.has-bg {
  background:
    linear-gradient(180deg, rgba(18, 22, 21, 0.9), rgba(7, 17, 18, 0.96)),
    url("assets/backgrounds/olmec_oaxaca_kingdoms.webp") center / cover;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  width: min(1180px, 100%);
  margin: 34px auto 0;
}

.feature-grid article {
  min-height: 214px;
  padding: 24px;
  border: 1px solid rgba(247, 239, 224, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(7, 17, 18, 0.68), rgba(7, 17, 18, 0.42));
  backdrop-filter: blur(8px);
}

.feature-grid h3 {
  color: var(--gold-bright);
  font-size: 24px;
}

.feature-grid p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.34;
}

.play-store-panel {
  background:
    linear-gradient(90deg, rgba(7, 17, 18, 0.94), rgba(7, 17, 18, 0.54)),
    linear-gradient(180deg, rgba(7, 17, 18, 0.82), rgba(17, 21, 19, 0.96));
}

.play-store-panel.has-bg {
  background:
    linear-gradient(90deg, rgba(7, 17, 18, 0.92), rgba(7, 17, 18, 0.56)),
    linear-gradient(180deg, rgba(7, 17, 18, 0.82), rgba(17, 21, 19, 0.96)),
    url("assets/backgrounds/imperial_china.webp") center / cover;
}

.playstore-inner {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 420px);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  width: min(1120px, 100%);
  margin: 0 auto;
}

.playstore-copy p:not(.eyebrow) {
  color: var(--muted);
  font-size: clamp(19px, 2.2vw, 25px);
  line-height: 1.34;
  margin-top: 18px;
}

.playstore-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
  align-items: center;
}

.playstore-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: min(236px, 100%);
  min-height: 76px;
  color: #171008;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.playstore-badge.official-badge {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.26);
}

.playstore-badge.official-badge.compact {
  width: min(214px, 100%);
  min-height: 64px;
}

.playstore-badge img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.playstore-badge:hover,
.playstore-badge:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.34);
  outline: none;
}

.playstore-badge div {
  display: flex;
  flex-direction: column;
}

.playstore-badge span {
  font-family: "Cinzel", serif;
  font-size: 11px;
  font-weight: 700;
  opacity: 0.72;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.playstore-badge strong {
  font-family: "Cinzel", serif;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.1;
}

.playstore-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.playstore-stat {
  padding: 22px;
  border: 1px solid rgba(247, 239, 224, 0.14);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(247, 239, 224, 0.07), rgba(247, 239, 224, 0.02));
  backdrop-filter: blur(8px);
}

.playstore-stat strong {
  display: block;
  color: var(--gold-bright);
  font-family: "Cinzel", serif;
  font-size: clamp(20px, 3vw, 28px);
  line-height: 1;
}

.playstore-stat span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 15px;
}

.worlds {
  background:
    linear-gradient(180deg, rgba(17, 21, 19, 0.98), rgba(6, 17, 18, 0.92));
}

.worlds.has-bg {
  background:
    linear-gradient(180deg, rgba(17, 21, 19, 0.98), rgba(6, 17, 18, 0.92)),
    url("assets/backgrounds/royal_korea.webp") center / cover;
}

.world-explorer {
  display: grid;
  grid-template-columns: minmax(520px, 1.1fr) minmax(360px, 0.9fr);
  gap: clamp(22px, 4vw, 42px);
  align-items: stretch;
}

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

.world-card {
  position: relative;
  min-height: 196px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background-image:
    linear-gradient(180deg, rgba(0, 0, 0, 0.0), rgba(0, 0, 0, 0.78)),
    var(--image);
  background-position: center;
  background-size: cover;
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  padding: 0;
  text-align: left;
  transition:
    border-color 160ms ease,
    transform 160ms ease,
    filter 160ms ease;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.2);
}

.world-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.05);
  pointer-events: none;
}

.world-card:hover,
.world-card:focus-visible,
.world-card.is-active {
  border-color: rgba(242, 217, 136, 0.68);
  filter: saturate(1.08);
  transform: translateY(-2px);
  outline: none;
}

.world-card span,
.world-card small {
  position: absolute;
  left: 16px;
  right: 16px;
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.72);
}

.world-card span {
  bottom: 46px;
  font-family: "Cinzel", serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.08;
}

.world-card small {
  bottom: 16px;
  color: rgba(247, 239, 224, 0.82);
  font-size: 15px;
  line-height: 1.1;
}

.world-preview {
  position: sticky;
  top: 92px;
  min-height: 620px;
  overflow: hidden;
  border: 1px solid rgba(247, 239, 224, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(7, 17, 18, 0.84), rgba(7, 17, 18, 0.98)),
    var(--preview-image) center / cover;
  box-shadow: var(--shadow);
  scroll-margin-top: 118px;
  transition: opacity 0.35s ease;
}

.world-preview.is-transitioning {
  opacity: 0;
}

.world-preview-image {
  min-height: 340px;
  aspect-ratio: 16 / 9;
  background-image:
    linear-gradient(180deg, rgba(0, 0, 0, 0.0), rgba(7, 17, 18, 0.76)),
    var(--preview-image);
  background-position: center 42%;
  background-size: cover;
}

.world-preview-content {
  padding: clamp(22px, 4vw, 34px);
}

.world-preview h3 {
  color: var(--gold-bright);
  font-size: clamp(30px, 4.2vw, 52px);
}

.world-preview p:not(.eyebrow) {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.32;
}

.world-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.world-stats span {
  padding: 8px 10px;
  border: 1px solid rgba(247, 239, 224, 0.16);
  border-radius: 8px;
  background: rgba(247, 239, 224, 0.05);
  color: rgba(247, 239, 224, 0.88);
  font-family: "Cinzel", serif;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.1;
}

.preview-artifacts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.artifact-chip {
  display: grid;
  justify-items: center;
  gap: 9px;
  min-width: 0;
  min-height: 138px;
  padding: 12px 8px;
  border: 1px solid rgba(215, 173, 79, 0.22);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(247, 239, 224, 0.09), rgba(247, 239, 224, 0.035));
  color: var(--ink);
  font: inherit;
  cursor: pointer;
}

.artifact-chip:hover,
.artifact-chip:focus-visible {
  border-color: rgba(242, 217, 136, 0.76);
  background: rgba(215, 173, 79, 0.12);
  outline: none;
}

.artifact-chip img {
  width: 96px;
  height: 96px;
  object-fit: contain;
}

.artifact-chip span {
  min-height: 36px;
  color: rgba(247, 239, 224, 0.9);
  font-size: 15px;
  line-height: 1.12;
  text-align: center;
}

.artifact-modal[hidden] {
  display: none;
}

.artifact-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 24px;
}

.artifact-modal-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(0, 0, 0, 0.72);
  cursor: zoom-out;
}

.artifact-modal-panel {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(180px, 360px) minmax(0, 430px);
  gap: 28px;
  width: min(880px, 100%);
  max-height: min(720px, calc(100vh - 48px));
  overflow: auto;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid rgba(242, 217, 136, 0.38);
  border-radius: 8px;
  background:
    radial-gradient(circle at top left, rgba(215, 173, 79, 0.16), transparent 34%),
    #101615;
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.58);
}

.artifact-modal-panel img {
  width: 100%;
  max-height: 440px;
  object-fit: contain;
  padding: 18px;
  border: 1px solid rgba(247, 239, 224, 0.12);
  border-radius: 8px;
  background: rgba(247, 239, 224, 0.06);
}

.artifact-modal-panel h2 {
  margin-top: 10px;
  color: var(--gold-bright);
  font-size: clamp(34px, 5vw, 58px);
}

.artifact-modal-panel p:not(.eyebrow) {
  margin-top: 14px;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.38;
}

.artifact-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(247, 239, 224, 0.24);
  border-radius: 999px;
  background: rgba(7, 17, 18, 0.82);
  color: var(--ink);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.beta {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(28px, 6vw, 86px);
  align-items: center;
  background:
    linear-gradient(90deg, rgba(6, 17, 18, 0.94), rgba(6, 17, 18, 0.56));
}

.beta.has-bg {
  background:
    linear-gradient(90deg, rgba(6, 17, 18, 0.94), rgba(6, 17, 18, 0.56)),
    url("assets/backgrounds/persia.webp") center / cover;
}

.beta-copy {
  width: min(680px, 100%);
}

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

.beta-checks div {
  min-height: 96px;
  display: flex;
  align-items: end;
  padding: 18px;
  border: 1px solid rgba(247, 239, 224, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(5, 12, 12, 0.76), rgba(5, 12, 12, 0.48));
  color: var(--ink);
  font-family: "Cinzel", serif;
  font-weight: 700;
  line-height: 1.15;
}

.beta-checks div:nth-child(2n) {
  border-color: rgba(47, 176, 154, 0.3);
}

.beta-checks div:nth-child(3n) {
  border-color: rgba(184, 76, 54, 0.32);
}

.group-invite {
  background:
    linear-gradient(90deg, rgba(6, 17, 18, 0.94), rgba(6, 17, 18, 0.42));
  border-top: 1px solid var(--line);
}

.group-invite.has-bg {
  background:
    linear-gradient(90deg, rgba(6, 17, 18, 0.94), rgba(6, 17, 18, 0.42)),
    url("assets/backgrounds/classic_feudal_japan.webp") center / cover;
}

.group-panel {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(300px, 420px);
  gap: clamp(24px, 5vw, 70px);
  align-items: center;
  width: min(1120px, 100%);
  margin: 0 auto;
}

.group-copy p:not(.eyebrow) {
  color: var(--muted);
  font-size: clamp(19px, 2.2vw, 25px);
  line-height: 1.34;
}

.group-card {
  padding: clamp(24px, 4vw, 34px);
  border: 1px solid rgba(215, 173, 79, 0.28);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(7, 17, 18, 0.9), rgba(7, 17, 18, 0.62));
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
}

.group-card span,
.group-card strong {
  display: block;
  font-family: "Cinzel", serif;
}

.group-card span {
  color: var(--teal);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.group-card strong {
  margin-top: 12px;
  color: var(--gold-bright);
  font-size: clamp(26px, 3.6vw, 42px);
  line-height: 1.04;
}

.group-card p {
  margin: 18px 0 24px;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.34;
}

.open-beta-card {
  display: grid;
  align-content: center;
  min-width: 0;
}

.open-beta-card span,
.open-beta-card strong,
.open-beta-card p {
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

.open-beta-card strong {
  max-width: 11ch;
  text-wrap: balance;
}

.open-beta-card p {
  max-width: 34ch;
}

.open-beta-actions {
  display: grid;
  grid-template-columns: minmax(184px, 214px) minmax(184px, 214px);
  align-items: center;
  gap: 12px;
  width: 100%;
  max-width: 440px;
}

.open-beta-actions .playstore-badge,
.open-beta-actions .feedback-cta {
  width: 100%;
  min-width: 0;
}

.open-beta-actions .playstore-badge.official-badge.compact {
  width: 100%;
  min-height: 54px;
  aspect-ratio: 646 / 250;
  border-radius: 8px;
  overflow: hidden;
}

.open-beta-actions .playstore-badge img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.open-beta-actions .feedback-cta {
  min-height: 54px;
  padding-inline: 14px;
  line-height: 1.08;
  white-space: normal;
  overflow-wrap: normal;
  word-break: normal;
  text-align: center;
}

.signup {
  background:
    linear-gradient(90deg, rgba(7, 17, 18, 0.94), rgba(7, 17, 18, 0.54)),
    linear-gradient(180deg, rgba(7, 17, 18, 0.78), rgba(7, 17, 18, 0.96));
}

.signup.has-bg {
  background:
    linear-gradient(90deg, rgba(7, 17, 18, 0.94), rgba(7, 17, 18, 0.54)),
    linear-gradient(180deg, rgba(7, 17, 18, 0.78), rgba(7, 17, 18, 0.96)),
    url("assets/backgrounds/royal_korea.webp") center / cover;
}

.signup-panel {
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(26px, 6vw, 72px);
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: clamp(24px, 5vw, 46px);
  border: 1px solid rgba(247, 239, 224, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(7, 15, 15, 0.84), rgba(7, 15, 15, 0.58));
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
}

.artifact-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.artifact-row img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  padding: 8px;
  border: 1px solid rgba(215, 173, 79, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

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

.bot-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.beta-form label {
  display: grid;
  gap: 7px;
  color: var(--gold-bright);
  font-family: "Cinzel", serif;
  font-size: 13px;
  font-weight: 700;
}

.beta-form .wide {
  grid-column: 1 / -1;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(247, 239, 224, 0.18);
  border-radius: 8px;
  background: rgba(3, 8, 8, 0.82);
  color: var(--ink);
  font: 18px "EBGaramond", Georgia, serif;
  outline: none;
}

input,
select {
  min-height: 48px;
  padding: 0 14px;
}

textarea {
  resize: vertical;
  min-height: 118px;
  padding: 12px 14px;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(47, 176, 154, 0.16);
}

.form-note {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--soft);
  font-size: 15px;
}

.form-note.success {
  color: #bff4e9;
}

.legal-page {
  background:
    linear-gradient(180deg, rgba(6, 17, 18, 0.8), var(--night) 520px),
    #061112;
}

.legal-hero {
  position: relative;
  min-height: 62svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 132px clamp(20px, 6vw, 88px) 70px;
  border-bottom: 1px solid var(--line);
}

.legal-hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(3, 7, 8, 0.86), rgba(3, 7, 8, 0.32)),
    linear-gradient(180deg, rgba(6, 17, 18, 0.1), rgba(6, 17, 18, 0.94)),
    url("assets/backgrounds/title_premium.webp") center / cover;
  transform: scale(1.03);
}

.legal-hero-content {
  position: relative;
  width: min(820px, 100%);
}

.legal-hero h1 {
  margin: 0;
  font-size: clamp(46px, 9vw, 108px);
  white-space: normal;
  overflow-wrap: normal;
}

.legal-hero p:not(.eyebrow) {
  width: min(680px, 100%);
  margin: 16px 0 0;
  color: var(--muted);
  font-size: clamp(20px, 2.5vw, 28px);
  line-height: 1.25;
}

.legal-section {
  padding: clamp(54px, 8vw, 88px) clamp(20px, 6vw, 88px);
}

.legal-grid {
  width: min(1120px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.legal-card {
  padding: clamp(24px, 4vw, 34px);
  border: 1px solid rgba(247, 239, 224, 0.14);
  border-radius: 8px;
  background: rgba(247, 239, 224, 0.045);
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.2);
}

.legal-card h2 {
  font-size: clamp(28px, 4vw, 42px);
}

.legal-card p,
.legal-list {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.42;
}

.legal-list {
  margin: 18px 0 0;
  padding-left: 22px;
}

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

.deletion-request {
  padding-top: clamp(34px, 5vw, 64px);
}

.consent-line {
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 12px;
  color: var(--muted);
  font-family: "EBGaramond", Georgia, serif;
  font-size: 17px;
  font-weight: 400;
}

.consent-line input {
  width: 20px;
  min-height: 20px;
  margin-top: 4px;
  accent-color: var(--gold);
}

.beta-google-media {
  background:
    linear-gradient(90deg, rgba(3, 7, 8, 0.9), rgba(3, 7, 8, 0.32)),
    linear-gradient(180deg, rgba(6, 17, 18, 0.02), rgba(6, 17, 18, 0.9)),
    url("assets/backgrounds/imperial_china.webp") center / cover;
}

.feedback-media {
  background:
    linear-gradient(90deg, rgba(3, 7, 8, 0.88), rgba(3, 7, 8, 0.36)),
    linear-gradient(180deg, rgba(6, 17, 18, 0.04), rgba(6, 17, 18, 0.94)),
    url("assets/backgrounds/maya_empire.webp") center / cover;
}

.feedback-request {
  padding-top: clamp(34px, 5vw, 64px);
}

.beta-google-actions {
  margin-top: 28px;
}

.beta-google-layout {
  width: min(1120px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 390px);
  gap: 16px;
  align-items: start;
}

.beta-google-main {
  min-height: 100%;
}

.beta-steps {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: beta-step;
}

.beta-steps li {
  position: relative;
  min-height: 92px;
  padding: 18px 18px 18px 76px;
  border: 1px solid rgba(247, 239, 224, 0.13);
  border-radius: 8px;
  background: rgba(3, 8, 8, 0.44);
  counter-increment: beta-step;
}

.beta-steps li::before {
  content: counter(beta-step);
  position: absolute;
  top: 18px;
  left: 18px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(215, 173, 79, 0.36);
  border-radius: 50%;
  color: var(--gold-bright);
  font-family: "Cinzel", serif;
  font-weight: 700;
}

.beta-steps strong {
  display: block;
  color: var(--ink);
  font-family: "Cinzel", serif;
  font-size: 16px;
  line-height: 1.22;
}

.beta-steps span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.32;
}

.beta-google-card {
  position: sticky;
  top: 104px;
}

.group-note {
  margin-top: 18px;
  color: var(--soft);
  font-size: 15px;
  line-height: 1.34;
}

.group-support {
  padding-top: clamp(44px, 7vw, 74px);
  padding-bottom: clamp(44px, 7vw, 74px);
  background:
    linear-gradient(90deg, rgba(6, 17, 18, 0.96), rgba(6, 17, 18, 0.62)),
    url("assets/backgrounds/aztec_empire.webp") center / cover;
  border-top: 1px solid var(--line);
}

.group-support-inner {
  width: min(1120px, 100%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.group-support-inner > div {
  width: min(760px, 100%);
}

.group-support-inner p:not(.eyebrow) {
  color: var(--muted);
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.34;
}

.privacy {
  padding: clamp(64px, 9vw, 108px) clamp(20px, 6vw, 88px);
  background: #0b1110;
  border-top: 1px solid var(--line);
}

.privacy-inner {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.privacy h2 {
  font-size: clamp(32px, 5vw, 58px);
}

.privacy-inner > p:not(.eyebrow) {
  width: min(780px, 100%);
  color: var(--muted);
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.34;
}

.privacy-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 32px;
}

.privacy-grid article {
  padding: 22px;
  border: 1px solid rgba(247, 239, 224, 0.14);
  border-radius: 8px;
  background: rgba(247, 239, 224, 0.04);
}

.privacy-grid h3 {
  color: var(--gold-bright);
  font-size: 19px;
}

.privacy-grid p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.32;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(240px, 1.25fr) repeat(3, minmax(150px, 0.7fr));
  gap: clamp(22px, 4vw, 52px);
  align-items: start;
  padding: clamp(34px, 6vw, 62px) clamp(20px, 6vw, 88px);
  background:
    linear-gradient(180deg, rgba(7, 17, 18, 0.98), rgba(4, 8, 8, 1)),
    #060b0a;
  color: var(--soft);
  border-top: 1px solid var(--line);
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-family: "Cinzel", serif;
  font-weight: 700;
}

.footer-logo img {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(215, 173, 79, 0.42);
  border-radius: 8px;
}

.footer-brand p {
  max-width: 360px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.35;
}

.footer-brand .footer-meta {
  color: var(--soft);
  font-size: 14px;
}

.footer-nav,
.footer-socials {
  display: grid;
  gap: 10px;
  align-content: start;
}

.footer-nav strong,
.footer-socials strong {
  color: var(--gold-bright);
  font-family: "Cinzel", serif;
  font-size: 13px;
  line-height: 1.1;
}

.footer-socials {
  align-items: start;
}

.site-footer a,
.footer-socials a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--soft);
  font-size: 15px;
  transition: color 160ms ease;
}

.site-footer a:hover,
.site-footer a:focus-visible,
.footer-socials a:hover {
  color: var(--gold-bright);
  outline: none;
}

@media (max-width: 980px) {
  .site-header {
    gap: 14px;
    padding-inline: 18px;
  }

  .site-header nav {
    gap: 16px;
    flex: 1 1 auto;
  }

  .site-footer {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .showcase-grid,
  .beta,
  .signup-panel,
  .group-panel,
  .world-explorer {
    grid-template-columns: 1fr;
  }

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

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

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

  .playstore-inner {
    grid-template-columns: 1fr;
  }

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

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

  .playstore-badge {
    width: min(236px, 100%);
    justify-content: center;
  }

  .world-preview {
    position: relative;
    top: 0;
  }

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

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

  .beta-google-layout {
    grid-template-columns: 1fr;
  }

  .beta-google-card {
    position: relative;
    top: 0;
  }
}

@media (max-width: 700px) {
  body {
    font-size: 17px;
  }

  body.site-menu-open {
    overflow: hidden;
  }

  .site-footer {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 34px 20px;
  }

  .footer-nav,
  .footer-socials {
    gap: 9px;
  }

  .footer-brand p {
    max-width: 100%;
  }

  .site-header {
    position: sticky;
    top: 0;
    inset: auto;
    max-width: 100vw;
    display: grid;
    grid-template-columns: auto auto 1fr;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: rgba(4, 9, 10, 0.94);
  }

  .site-header nav {
    grid-column: 1 / -1;
    order: 2;
    width: 100%;
    padding-bottom: 2px;
    gap: 14px;
    font-size: 14px;
  }

  .header-cta {
    grid-column: 3;
    justify-self: end;
    min-height: 36px;
    max-width: 148px;
    padding: 8px 10px;
    font-size: 11px;
    white-space: normal;
  }

  .brand span {
    display: none;
  }

  .brand img {
    width: 40px;
    height: 40px;
  }

  .language-control {
    position: static;
    grid-column: 2;
    justify-self: start;
  }

  .language-control span {
    display: none;
  }

  .language-control select {
    min-height: 36px;
    width: 92px;
    padding-right: 24px;
  }

  .hero {
    min-height: auto;
    padding: 86px 18px 58px;
  }

  h1 {
    font-size: clamp(44px, 13vw, 58px);
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .legal-hero h1 {
    max-width: calc(100vw - 96px);
    font-size: clamp(34px, 9.5vw, 44px);
    line-height: 1.06;
    overflow-wrap: anywhere;
  }

  h2 {
    font-size: clamp(30px, 9vw, 44px);
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(3, 7, 8, 0.9), rgba(5, 11, 11, 0.44)),
      linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(6, 17, 18, 0.94));
  }

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

  .hero-socials {
    margin-top: 20px;
  }

  .social-link {
    padding: 10px 12px;
  }

  .social-link span {
    display: none;
  }

  .music-toggle {
    right: 14px;
    bottom: 14px;
    min-width: 100px;
  }

  .trust-strip,
  .beta-checks,
  .beta-form,
  .privacy-grid,
  .facts-grid,
  .feature-grid,
  .area-grid {
    grid-template-columns: 1fr;
  }

  .world-grid {
    display: flex;
    gap: 12px;
    width: calc(100vw - 36px);
    max-width: calc(100vw - 36px);
    margin-inline: auto;
    padding: 2px 2px 14px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
  }

  .phone-frame {
    min-height: 610px;
    border-radius: 28px;
  }

  .puzzle-board {
    min-height: 350px;
  }

  .tube {
    min-height: 306px;
  }

  .feature-list article {
    grid-template-columns: 1fr;
    padding: 22px;
  }

  .feature-list p {
    grid-column: 1;
  }

  .world-card {
    flex: 0 0 min(78vw, 310px);
    min-height: 188px;
    scroll-snap-align: center;
  }

  .world-card span {
    font-size: 18px;
  }

  .world-card small {
    font-size: 14px;
  }

  .world-preview {
    scroll-margin-top: 150px;
  }

  .world-preview-image {
    min-height: 210px;
  }

  .world-preview h3 {
    font-size: clamp(27px, 9vw, 40px);
  }

  .world-preview p:not(.eyebrow) {
    font-size: 18px;
  }

  .preview-artifacts {
    gap: 8px;
  }

  .artifact-chip {
    min-height: 126px;
    padding: 10px 6px;
  }

  .artifact-chip img {
    width: 76px;
    height: 76px;
  }

  .artifact-modal {
    padding: 14px;
  }

  .artifact-modal-panel {
    grid-template-columns: 1fr;
    gap: 18px;
    max-height: calc(100vh - 28px);
    padding: 20px;
  }

  .artifact-modal-panel img {
    max-height: 340px;
  }

  .legal-hero {
    min-height: auto;
    padding: 60px 18px 52px;
  }

  .legal-section {
    padding-right: 18px;
    padding-left: 18px;
  }

  .section,
  .legal-section,
  .legal-hero,
  .hero {
    max-width: 100vw;
    overflow-x: hidden;
  }

  .legal-grid,
  .beta-google-layout,
  .group-support-inner {
    width: 100%;
    max-width: calc(100vw - 36px);
  }

  .legal-card,
  .group-card,
  .signup-panel,
  .world-preview,
  .beta-google-main {
    width: 100%;
    max-width: calc(100vw - 36px);
    min-width: 0;
  }

  .hero-copy,
  .legal-hero p:not(.eyebrow),
  .legal-card p,
  .legal-list,
  .group-card p,
  .beta-steps span,
  .group-support-inner p:not(.eyebrow),
  .signup-copy p {
    max-width: calc(100vw - 112px);
  }

  .legal-card p,
  .legal-list,
  .group-card p,
  .beta-steps span {
    max-width: calc(100vw - 132px);
  }

  .beta-google-layout {
    gap: 12px;
  }

  .beta-steps li {
    padding: 16px 16px 16px 66px;
  }

  .beta-steps strong {
    font-size: 14px;
    overflow-wrap: anywhere;
  }

  .group-support-inner {
    display: grid;
  }

  .signup-panel {
    padding: 22px;
  }

  .open-beta-card {
    align-content: start;
  }

  .open-beta-card strong {
    max-width: 100%;
  }

  .open-beta-card p {
    max-width: 100%;
  }

  .open-beta-actions {
    grid-template-columns: 1fr;
    max-width: 260px;
  }

  .open-beta-actions .playstore-badge.official-badge.compact,
  .open-beta-actions .feedback-cta {
    min-height: 58px;
  }

  body {
    background:
      linear-gradient(180deg, #05090a 0%, #071112 42%, #111513 100%);
  }

  .site-header {
    gap: 8px;
    padding: 10px 12px 12px;
    grid-template-columns: auto 1fr auto auto;
    background:
      linear-gradient(180deg, rgba(5, 10, 10, 0.97), rgba(5, 10, 10, 0.88)),
      linear-gradient(90deg, rgba(215, 173, 79, 0.14), transparent 44%, rgba(47, 176, 154, 0.1));
    border-bottom: 1px solid rgba(242, 217, 136, 0.18);
    box-shadow: 0 18px 46px rgba(0, 0, 0, 0.34);
  }

  .site-header::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 0;
    background: rgba(2, 5, 5, 0.46);
    opacity: 0;
    pointer-events: none;
    transition: opacity 150ms ease;
    backdrop-filter: blur(3px);
  }

  .site-header.is-menu-open::after {
    opacity: 1;
  }

  .site-header .brand {
    grid-column: 1;
    position: relative;
    z-index: 2;
  }

  .menu-toggle {
    grid-column: 4;
    justify-self: end;
    position: relative;
    z-index: 2;
    display: inline-grid;
    place-items: center;
    width: 46px;
    height: 46px;
    padding: 0;
    border: 1px solid rgba(242, 217, 136, 0.34);
    border-radius: 10px;
    background:
      linear-gradient(180deg, rgba(247, 239, 224, 0.13), rgba(247, 239, 224, 0.04)),
      rgba(3, 8, 8, 0.72);
    box-shadow:
      0 14px 34px rgba(0, 0, 0, 0.32),
      inset 0 1px 0 rgba(255, 255, 255, 0.08);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
  }

  .menu-toggle span {
    grid-area: 1 / 1;
    width: 20px;
    height: 2px;
    border-radius: 999px;
    background: var(--gold-bright);
    transform: translate3d(0, 0, 0);
    transition:
      transform 180ms cubic-bezier(0.2, 0.8, 0.2, 1),
      opacity 120ms ease;
    will-change: transform, opacity;
  }

  .menu-toggle span:nth-child(1) {
    transform: translate3d(0, -7px, 0);
  }

  .menu-toggle span:nth-child(3) {
    transform: translate3d(0, 7px, 0);
  }

  .site-header.is-menu-open .menu-toggle span:nth-child(1) {
    transform: rotate(45deg) translate3d(0, 0, 0);
  }

  .site-header.is-menu-open .menu-toggle span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0.3);
  }

  .site-header.is-menu-open .menu-toggle span:nth-child(3) {
    transform: rotate(-45deg) translate3d(0, 0, 0);
  }

  .site-header nav {
    position: fixed;
    top: calc(env(safe-area-inset-top, 0px) + 72px);
    left: 12px;
    right: 12px;
    z-index: 1;
    grid-column: auto;
    order: initial;
    display: grid;
    width: auto;
    max-height: calc(100dvh - 92px);
    gap: 8px;
    padding: 12px;
    overflow-y: auto;
    overscroll-behavior: contain;
    border: 1px solid rgba(242, 217, 136, 0.2);
    border-radius: 16px;
    background:
      linear-gradient(180deg, rgba(9, 18, 18, 0.98), rgba(4, 9, 10, 0.95)),
      linear-gradient(135deg, rgba(215, 173, 79, 0.14), transparent 58%, rgba(47, 176, 154, 0.1));
    box-shadow:
      0 24px 58px rgba(0, 0, 0, 0.46),
      inset 0 1px 0 rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(18px) saturate(1.12);
    opacity: 0;
    pointer-events: none;
    transform: translate3d(0, -10px, 0) scale(0.985);
    transform-origin: top right;
    transition:
      transform 190ms cubic-bezier(0.2, 0.8, 0.2, 1),
      opacity 150ms ease;
    will-change: transform, opacity;
  }

  .site-header.is-menu-open nav {
    opacity: 1;
    pointer-events: auto;
    transform: translate3d(0, 0, 0) scale(1);
  }

  .site-header nav a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    border: 1px solid rgba(247, 239, 224, 0.11);
    border-radius: 12px;
    background: linear-gradient(180deg, rgba(247, 239, 224, 0.08), rgba(247, 239, 224, 0.035));
    color: rgba(247, 239, 224, 0.92);
    font-family: "Cinzel", serif;
    font-size: 14px;
    font-weight: 700;
    white-space: normal;
    transition:
      border-color 140ms ease,
      color 140ms ease,
      background 140ms ease,
      transform 140ms ease;
    transform: translate3d(0, 0, 0);
  }

  .site-header nav a::after {
    content: "";
    width: 8px;
    height: 8px;
    border-top: 1px solid rgba(242, 217, 136, 0.78);
    border-right: 1px solid rgba(242, 217, 136, 0.78);
    transform: rotate(45deg);
    flex: 0 0 auto;
  }

  .site-header nav a:hover,
  .site-header nav a:focus-visible {
    border-color: rgba(242, 217, 136, 0.46);
    background: rgba(215, 173, 79, 0.12);
    color: var(--gold-bright);
    outline: none;
    transform: translate3d(2px, 0, 0);
  }

  .brand img {
    width: 44px;
    height: 44px;
    box-shadow:
      0 10px 26px rgba(0, 0, 0, 0.38),
      0 0 0 4px rgba(215, 173, 79, 0.08);
  }

  .header-cta {
    grid-column: 2;
    justify-self: end;
    width: 100%;
    max-width: 172px;
    min-height: 42px;
    padding: 9px 12px;
    border-color: rgba(242, 217, 136, 0.74);
    font-size: 12px;
    box-shadow:
      0 14px 34px rgba(215, 173, 79, 0.28),
      0 0 0 4px rgba(215, 173, 79, 0.08);
  }

  .language-control {
    grid-column: 3;
    justify-self: end;
    position: relative;
    z-index: 2;
  }

  .language-control select {
    min-height: 40px;
    width: 72px;
    padding: 0 20px 0 8px;
    border-radius: 8px;
    background: rgba(7, 17, 18, 0.88);
  }

  .hero {
    min-height: 88svh;
    display: grid;
    align-items: end;
    padding: 130px 18px 46px;
    border-bottom: 1px solid rgba(247, 239, 224, 0.14);
  }

  .hero-media {
    transform: scale(1.08);
  }

  .hero-media img {
    object-position: 56% center;
  }

  .hero-shade {
    background:
      linear-gradient(180deg, rgba(3, 7, 8, 0.16) 0%, rgba(3, 7, 8, 0.42) 34%, rgba(3, 7, 8, 0.96) 88%),
      linear-gradient(90deg, rgba(3, 7, 8, 0.74), rgba(3, 7, 8, 0.18)),
      linear-gradient(135deg, rgba(215, 173, 79, 0.22), transparent 40%, rgba(47, 176, 154, 0.16));
  }

  .hero-content {
    width: 100%;
    padding: 18px 0 0;
  }

  .hero-logo {
    width: 94px;
    height: 94px;
    margin-bottom: 18px;
    border-radius: 16px;
  }

  .eyebrow {
    font-size: 12px;
  }

  .hero-copy {
    max-width: 100%;
    font-size: 20px;
    line-height: 1.24;
  }

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

  .button {
    min-height: 52px;
    font-size: 13px;
  }

  .button.primary {
    box-shadow:
      0 18px 42px rgba(215, 173, 79, 0.3),
      0 0 0 4px rgba(215, 173, 79, 0.08);
  }

  .trust-strip {
    display: flex;
    gap: 10px;
    padding: 14px 14px 18px;
    overflow-x: auto;
    border-block: 0;
    background:
      linear-gradient(180deg, rgba(6, 17, 18, 0.98), rgba(12, 20, 19, 0.94));
    scroll-snap-type: x mandatory;
  }

  .trust-strip div {
    flex: 0 0 68vw;
    min-height: 108px;
    border: 1px solid rgba(242, 217, 136, 0.16);
    border-radius: 8px;
    background:
      linear-gradient(180deg, rgba(247, 239, 224, 0.07), rgba(247, 239, 224, 0.025));
    scroll-snap-align: center;
  }

  .section {
    padding: 62px 16px;
  }

  .section-heading {
    width: 100%;
    margin-bottom: 26px;
  }

  .section-heading p:not(.eyebrow),
  .beta-copy p,
  .signup-copy p {
    font-size: 19px;
    line-height: 1.28;
  }

  .facts-grid div,
  .feature-grid article,
  .area-grid article,
  .group-card,
  .signup-panel,
  .legal-card {
    border-color: rgba(242, 217, 136, 0.18);
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
  }

  .facts-grid div {
    min-height: 118px;
  }

  .feature-grid article {
    min-height: 216px;
  }

  .play-store-panel {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .area-grid article {
    min-height: 230px;
    padding: 22px;
  }

  .area-grid h3 {
    font-size: 28px;
  }

  .worlds {
    padding-right: 0;
    padding-left: 0;
  }

  .worlds .section-heading {
    padding: 0 16px;
  }

  .world-grid {
    width: 100vw;
    max-width: 100vw;
    padding: 4px 16px 18px;
    gap: 14px;
    scrollbar-width: none;
  }

  .world-card {
    flex-basis: min(86vw, 360px);
    min-height: 236px;
    border-color: rgba(242, 217, 136, 0.18);
    box-shadow: 0 20px 52px rgba(0, 0, 0, 0.34);
  }

  .world-card span {
    bottom: 54px;
    font-size: 22px;
  }

  .world-card small {
    font-size: 15px;
  }

  .world-preview {
    max-width: calc(100vw - 32px);
    min-height: 0;
    margin: 0 16px;
    border-color: rgba(242, 217, 136, 0.22);
    background:
      linear-gradient(180deg, rgba(7, 17, 18, 0.24), rgba(7, 17, 18, 0.98)),
      var(--preview-image) center / cover;
  }

  .world-preview-image {
    min-height: 270px;
  }

  .world-preview-content {
    padding: 22px;
  }

  .preview-artifacts {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 4px;
    scroll-snap-type: x mandatory;
  }

  .artifact-chip {
    flex: 0 0 132px;
    min-height: 140px;
    scroll-snap-align: start;
  }

  .artifact-chip img {
    width: 86px;
    height: 86px;
  }

  .beta,
  .group-invite,
  .signup {
    min-height: 540px;
    align-items: end;
  }

  .beta-checks div {
    min-height: 84px;
    background:
      linear-gradient(180deg, rgba(7, 17, 18, 0.82), rgba(7, 17, 18, 0.52));
  }

  .group-panel,
  .signup-panel {
    gap: 20px;
  }

  .artifact-row {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .artifact-row img {
    flex: 0 0 76px;
    width: 76px;
    height: 76px;
  }

  .legal-hero {
    min-height: 58svh;
    padding: 118px 18px 48px;
  }

  .legal-hero-media {
    transform: scale(1.08);
  }

  .hero-copy,
  .legal-hero p:not(.eyebrow),
  .legal-card p,
  .legal-list,
  .group-card p,
  .beta-steps span,
  .group-support-inner p:not(.eyebrow),
  .signup-copy p {
    max-width: 100%;
  }

  .legal-card p,
  .legal-list,
  .group-card p,
  .beta-steps span {
    max-width: 100%;
  }
}

/* === REVEAL ANIMATIONS === */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.reveal-delay-1 {
  transition-delay: 0.1s;
}

.reveal-delay-2 {
  transition-delay: 0.22s;
}

.reveal-delay-3 {
  transition-delay: 0.36s;
}

.reveal-delay-4 {
  transition-delay: 0.52s;
}

/* === PARALLAX === */
.hero-media,
.hero-particles,
.hero-content {
  will-change: transform;
}

.hero-particles {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.hero-particle {
  position: absolute;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0;
  animation: particle-drift var(--duration, 12s) ease-in-out infinite var(--delay, 0s);
}

@keyframes particle-drift {
  0% {
    opacity: 0;
    transform: translateY(0) scale(0.6);
  }

  15%,
  85% {
    opacity: var(--max-opacity, 0.28);
  }

  100% {
    opacity: 0;
    transform: translateY(-60px) scale(1);
  }
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.032;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 256px 256px;
}

@media (max-width: 980px) {
  body.site-menu-open {
    overflow: hidden;
  }

  .site-header {
    position: sticky;
    top: 0;
    inset: auto;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 8px;
    padding: calc(env(safe-area-inset-top, 0px) + 10px) 12px 12px;
    background:
      linear-gradient(180deg, rgba(5, 10, 10, 0.98), rgba(5, 10, 10, 0.89)),
      linear-gradient(90deg, rgba(215, 173, 79, 0.14), transparent 44%, rgba(47, 176, 154, 0.1));
    border-bottom: 1px solid rgba(242, 217, 136, 0.18);
    box-shadow: 0 18px 46px rgba(0, 0, 0, 0.34);
  }

  .site-header::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 0;
    background: rgba(2, 5, 5, 0.46);
    opacity: 0;
    pointer-events: none;
    transition: opacity 150ms ease;
    backdrop-filter: blur(3px);
  }

  .site-header.is-menu-open::after {
    opacity: 1;
  }

  .site-header .brand {
    grid-column: 1;
    position: relative;
    z-index: 2;
  }

  .brand span {
    display: none;
  }

  .brand img {
    width: 44px;
    height: 44px;
    box-shadow:
      0 10px 26px rgba(0, 0, 0, 0.38),
      0 0 0 4px rgba(215, 173, 79, 0.08);
  }

  .header-cta {
    grid-column: 2;
    justify-self: end;
    width: 100%;
    max-width: 174px;
    min-height: 42px;
    padding: 9px 12px;
    border-color: rgba(242, 217, 136, 0.74);
    font-size: 12px;
    line-height: 1.08;
    white-space: normal;
    box-shadow:
      0 14px 34px rgba(215, 173, 79, 0.28),
      0 0 0 4px rgba(215, 173, 79, 0.08);
  }

  .language-control {
    grid-column: 3;
    justify-self: end;
    position: relative;
    z-index: 2;
  }

  .language-control span {
    display: none;
  }

  .language-control select {
    min-height: 40px;
    width: 72px;
    padding: 0 20px 0 8px;
    border-radius: 8px;
    background: rgba(7, 17, 18, 0.88);
  }

  .menu-toggle {
    grid-column: 4;
    justify-self: end;
    position: relative;
    z-index: 2;
    display: inline-grid;
    place-items: center;
    width: 46px;
    height: 46px;
    padding: 0;
    border: 1px solid rgba(242, 217, 136, 0.34);
    border-radius: 10px;
    background:
      linear-gradient(180deg, rgba(247, 239, 224, 0.13), rgba(247, 239, 224, 0.04)),
      rgba(3, 8, 8, 0.72);
    box-shadow:
      0 14px 34px rgba(0, 0, 0, 0.32),
      inset 0 1px 0 rgba(255, 255, 255, 0.08);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
  }

  .menu-toggle span {
    grid-area: 1 / 1;
    width: 20px;
    height: 2px;
    border-radius: 999px;
    background: var(--gold-bright);
    transform: translate3d(0, 0, 0);
    transition:
      transform 180ms cubic-bezier(0.2, 0.8, 0.2, 1),
      opacity 120ms ease;
    will-change: transform, opacity;
  }

  .menu-toggle span:nth-child(1) {
    transform: translate3d(0, -7px, 0);
  }

  .menu-toggle span:nth-child(3) {
    transform: translate3d(0, 7px, 0);
  }

  .site-header.is-menu-open .menu-toggle span:nth-child(1) {
    transform: rotate(45deg) translate3d(0, 0, 0);
  }

  .site-header.is-menu-open .menu-toggle span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0.3);
  }

  .site-header.is-menu-open .menu-toggle span:nth-child(3) {
    transform: rotate(-45deg) translate3d(0, 0, 0);
  }

  .site-header nav {
    position: fixed;
    top: calc(env(safe-area-inset-top, 0px) + 74px);
    left: 12px;
    right: 12px;
    z-index: 1;
    grid-column: auto;
    order: initial;
    display: grid;
    width: auto;
    max-height: calc(100dvh - 94px);
    gap: 8px;
    padding: 12px;
    overflow-y: auto;
    overscroll-behavior: contain;
    border: 1px solid rgba(242, 217, 136, 0.2);
    border-radius: 16px;
    background:
      linear-gradient(180deg, rgba(9, 18, 18, 0.98), rgba(4, 9, 10, 0.95)),
      linear-gradient(135deg, rgba(215, 173, 79, 0.14), transparent 58%, rgba(47, 176, 154, 0.1));
    box-shadow:
      0 24px 58px rgba(0, 0, 0, 0.46),
      inset 0 1px 0 rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(18px) saturate(1.12);
    opacity: 0;
    pointer-events: none;
    transform: translate3d(0, -10px, 0) scale(0.985);
    transform-origin: top right;
    transition:
      transform 190ms cubic-bezier(0.2, 0.8, 0.2, 1),
      opacity 150ms ease;
    will-change: transform, opacity;
  }

  .site-header.is-menu-open nav {
    opacity: 1;
    pointer-events: auto;
    transform: translate3d(0, 0, 0) scale(1);
  }

  .site-header nav a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    border: 1px solid rgba(247, 239, 224, 0.11);
    border-radius: 12px;
    background: linear-gradient(180deg, rgba(247, 239, 224, 0.08), rgba(247, 239, 224, 0.035));
    color: rgba(247, 239, 224, 0.92);
    font-family: "Cinzel", serif;
    font-size: 14px;
    font-weight: 700;
    white-space: normal;
    transition:
      border-color 140ms ease,
      color 140ms ease,
      background 140ms ease,
      transform 140ms ease;
    transform: translate3d(0, 0, 0);
  }

  .site-header nav a::after {
    content: "";
    width: 8px;
    height: 8px;
    border-top: 1px solid rgba(242, 217, 136, 0.78);
    border-right: 1px solid rgba(242, 217, 136, 0.78);
    transform: rotate(45deg);
    flex: 0 0 auto;
  }

  .site-header nav a:hover,
  .site-header nav a:focus-visible,
  .site-header nav a[aria-current="page"] {
    border-color: rgba(242, 217, 136, 0.46);
    background: rgba(215, 173, 79, 0.12);
    color: var(--gold-bright);
    outline: none;
  }

  .site-header nav a:hover,
  .site-header nav a:focus-visible {
    transform: translate3d(2px, 0, 0);
  }
}

@media (max-width: 420px) {
  .site-header {
    grid-template-columns: auto minmax(76px, 1fr) auto auto;
  }

  .header-cta {
    max-width: 128px;
    padding-inline: 8px;
    font-size: 10px;
  }

  .language-control select {
    width: 64px;
  }

  .menu-toggle {
    width: 44px;
    height: 44px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .hero-particle {
    animation: none;
    opacity: 0;
  }

  .hero-media,
  .hero-particles,
  .hero-content {
    will-change: auto;
  }

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