@import url("./brand.css");
:root {
  --page-width: 1240px;
  --gutter: clamp(22px, 5vw, 80px);
  color-scheme: light;
  color: var(--ink);
  background: var(--forest-deep);
  font-family: var(--brand-font);
  font-synthesis: none;
  scroll-behavior: smooth;
  scroll-padding-top: 28px;
}
* {
  box-sizing: border-box;
}
[hidden] {
  display: none !important;
}
body {
  margin: 0;
}
a {
  color: inherit;
  text-underline-offset: 0.22em;
}
button,
summary,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  font: inherit;
  cursor: pointer;
}
button:disabled {
  cursor: default;
}
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 5px;
}
.site-header :focus-visible,
.hero :focus-visible,
.worlds :focus-visible,
.closing :focus-visible,
.not-found :focus-visible,
.site-footer :focus-visible,
.discovery-strip :focus-visible {
  outline-color: var(--gold);
}
::selection {
  background: var(--gold);
  color: var(--forest);
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
svg {
  flex: none;
}
p {
  margin: 0;
  font-size: 1.125rem;
  line-height: 1.65;
}
h1,
h2,
h3 {
  margin: 0;
  letter-spacing: -0.045em;
  text-wrap: balance;
  line-height: 1.08;
  overflow-wrap: anywhere;
}
h2 {
  font-size: clamp(2.25rem, 4.4vw, 3.75rem);
  font-weight: 730;
}
h3 {
  font-weight: 730;
}
small {
  display: block;
  font-size: 0.88rem;
  line-height: 1.5;
}
section[id],
article[id],
#more-worlds {
  scroll-margin-top: 28px;
}
.eyebrow {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 700;
  line-height: 1.6;
}
.arrow-icon {
  width: 22px;
  height: 22px;
  transition: transform 0.25s var(--ease);
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  min-height: 44px;
}
.text-link:hover .arrow-icon {
  transform: translateX(5px);
}
.skip {
  position: absolute;
  top: -100px;
  left: 16px;
  padding: 16px;
  background: var(--cream);
  color: var(--forest);
  z-index: 30;
}
.skip:focus {
  top: 16px;
}
.site-header {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 92px;
  padding: max(16px, env(safe-area-inset-top))
    max(var(--gutter), env(safe-area-inset-right)) 16px
    max(var(--gutter), env(safe-area-inset-left));
  border-bottom: 1px solid #cce5d41a;
  color: var(--cream);
  background: var(--forest-deep);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.65rem;
  font-weight: 750;
  letter-spacing: -0.045em;
  white-space: nowrap;
  text-decoration: none;
}
.brand img {
  border-radius: 10px;
}
.primary-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(20px, 3vw, 42px);
  flex: 1;
}
.primary-nav a {
  padding: 12px 0;
  text-decoration: none;
  font-weight: 750;
  font-size: 0.94rem;
  opacity: 0.8;
}
.primary-nav a:hover {
  opacity: 1;
  color: var(--gold);
}
.header-play,
.download {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 44px;
  padding: 10px 20px;
  border-radius: 10px;
  color: var(--forest-deep);
  background: var(--gold);
  font-size: 0.9rem;
  line-height: 1.3;
  font-weight: 750;
  text-decoration: none;
  text-align: center;
  box-shadow: inset 0 1px #fff8;
  transition: background 0.2s;
}
.header-play:hover,
.download:hover {
  background: var(--gold-hover);
}
.languages {
  position: relative;
}
.languages summary {
  padding: 12px 4px;
  min-width: 48px;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
}
.languages nav {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  display: grid;
  min-width: 190px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 16px 44px #0005;
  z-index: 15;
}
.languages nav a {
  display: block;
  min-height: 44px;
  padding: 10px 14px;
  border-radius: 8px;
  font-weight: 750;
  text-decoration: none;
}
.languages nav a:hover,
.languages nav a[aria-current] {
  background: #e4eadc;
}
.languages nav a:focus-visible {
  outline-color: var(--focus);
  outline-offset: -3px;
}
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--forest-deep);
  color: var(--cream);
}
.hero-scene {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero-scene img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% 48%;
  opacity: 0.86;
}
.hero-scene:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
      90deg,
      #041a16f7 0%,
      #041a16e8 26%,
      #041a1685 52%,
      #041a1610 78%
    ),
    linear-gradient(0deg, #041a16 0%, transparent 34%, #041a1640 100%);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: 30px;
  max-width: calc(var(--page-width) + 2 * var(--gutter));
  min-height: 686px;
  padding: 54px max(var(--gutter), env(safe-area-inset-right)) 40px
    max(var(--gutter), env(safe-area-inset-left));
  margin: auto;
}
.hero-copy {
  position: relative;
  z-index: 2;
  padding: 16px 0;
}
.hero-eyebrow {
  display: inline-block;
  color: #dbefd5;
  margin-bottom: 22px;
  padding-bottom: 10px;
  border-bottom: 1px solid #f4c76155;
}
h1 {
  font-size: clamp(3rem, 5vw, 4.25rem);
  font-weight: 730;
  line-height: 1.02;
  letter-spacing: -0.05em;
  margin-bottom: 26px;
}
.hero h1 {
  font-family: Manrope, system-ui, sans-serif;
}
h1 span {
  display: block;
}
h1 span + span {
  color: var(--gold);
}
.hero-copy > p {
  max-width: 38ch;
  color: #e0e9da;
  font-size: 1.15rem;
  margin-bottom: 30px;
}
.store-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}
.store-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 8px;
  transition: transform 0.25s var(--ease);
}
.store-badge:hover {
  transform: translateY(-3px);
}
.store-badge--app-store img {
  width: 148px;
  height: 50px;
  object-fit: contain;
}
.store-badge--google-play img {
  width: 196px;
  height: 76px;
  object-fit: contain;
}
.hero-copy small {
  margin-top: 16px;
  color: #afc6b6;
}
.hero-explore {
  margin-top: 20px;
  color: var(--cream);
}
.hero-display {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 574px;
  min-width: 0;
}
.phone {
  position: relative;
  width: 282px;
  padding: 10px;
  border: 2px solid #9fa88d;
  background: linear-gradient(135deg, #28362b, #081c16 40%, #192a20);
  border-radius: 42px;
  transform: rotate(-6deg);
  box-shadow: 16px 30px 60px #00110be6, inset 0 0 0 2px #0008;
}
.phone img {
  width: 100%;
  border-radius: 30px;
}
.phone-speaker {
  position: absolute;
  top: 16px;
  left: 40%;
  height: 6px;
  width: 20%;
  background: #07130d;
  border-radius: 8px;
}
.device-plinth {
  position: absolute;
  width: 390px;
  max-width: 100%;
  height: 66px;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(ellipse, #dcf3a937, #07191005 70%);
  border-bottom: 1px solid #dee8b52d;
  border-radius: 50%;
}
.hero-preview {
  position: absolute;
  bottom: 26px;
  right: -4px;
  width: 172px;
  padding: 14px;
  border: 1px solid #e6d19970;
  border-radius: 20px;
  background: linear-gradient(145deg, #244b3cf5, #091f19fa);
  box-shadow: 8px 14px 32px #0007, inset 0 1px #fff1;
  transform: rotate(5deg);
  text-decoration: none;
}
.hero-preview > .eyebrow {
  font-size: 0.61rem;
  color: var(--cream);
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}
.hero-clues {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
}
.hero-clues img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 7px;
}
.hero-preview > .arrow-icon {
  display: block;
  margin: 8px 0 0 auto;
  width: 18px;
  height: 18px;
  color: var(--gold);
}
.hero-preview:hover {
  border-color: var(--gold);
}
.hero-facts {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: var(--page-width);
  margin: 0 auto;
  padding: 24px 0 28px;
  border-top: 1px solid #e9edc92b;
}
.hero-facts > div {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 0 18px;
}
.hero-facts > div + div {
  border-left: 1px solid #e9edc923;
}
.hero-facts strong {
  color: var(--gold);
  font-size: 2rem;
  font-weight: 750;
  line-height: 1;
}
.hero-facts span {
  color: #c9d9c9;
  font-size: 0.88rem;
  font-weight: 750;
  overflow-wrap: anywhere;
}
.discovery-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 0 max(var(--gutter), env(safe-area-inset-right)) 0
    max(var(--gutter), env(safe-area-inset-left));
  background: #0e3127;
  color: var(--cream);
  border-top: 1px solid #edf1ce20;
  border-bottom: 1px solid #edf1ce20;
}
.discovery-strip a {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px 24px;
  min-height: 94px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
}
.discovery-strip a + a {
  border-left: 1px solid #f0ead22b;
}
.discovery-strip a:hover {
  background: #ffffff07;
}
.discovery-strip .path-number {
  color: #a3b9a9;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
}
.discovery-strip .arrow-icon {
  margin-left: auto;
  color: var(--gold);
}
.section {
  padding: 96px max(var(--gutter), env(safe-area-inset-right)) 96px
    max(var(--gutter), env(safe-area-inset-left));
}
.section-heading {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 64px;
  align-items: end;
  max-width: var(--page-width);
  margin: 0 auto 40px;
}
.section-heading > p {
  max-width: 44ch;
  color: var(--muted);
}
.section-index {
  color: #4f6958;
  margin-bottom: 14px;
}
.games {
  background: var(--paper);
}
.experiences {
  background: var(--paper);
}
.experience-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  max-width: var(--page-width);
  margin: auto;
}
.showcase-card--preview {
  --showcase-columns: 1fr;
  --showcase-gap: 24px;
  --showcase-padding: 28px;
  --showcase-art-height: 260px;
  --showcase-title-size: 2rem;
  align-content: start;
}
.experience-progress {
  max-width: var(--page-width);
  margin: 28px auto 0;
  color: var(--muted);
  font-size: 0.95rem;
}
.catalog-section {
  padding-top: 0;
  padding-bottom: 28px;
}
.game-catalog {
  max-width: var(--page-width);
  margin: auto;
  border-top: 1px solid var(--line);
}
.game-catalog > summary {
  padding: 24px 0;
  min-height: 64px;
  cursor: pointer;
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  font-weight: 700;
}
.catalog-content {
  padding: 0 0 40px;
}
.catalog-intro {
  max-width: 62ch;
  color: var(--muted);
  margin-bottom: 28px;
}
.daily-showcase {
  background: #e9eee3;
  border-top: 1px solid #cad7c4;
}
.game-gallery {
  max-width: var(--page-width);
  margin: auto;
}
.showcase-chapters {
  display: grid;
  gap: 24px;
}
.showcase-card {
  display: grid;
  grid-template-columns: var(--showcase-columns, 1.1fr 1fr);
  align-items: center;
  gap: var(--showcase-gap, 64px);
  min-height: 542px;
  padding: var(--showcase-padding, 44px 64px);
  border: 1px solid #b3c6af;
  border-radius: 28px;
  overflow: hidden;
  background: radial-gradient(ellipse at 22% 42%, #edf3dc, transparent 60%),
    #dae6d2;
  box-shadow: 0 24px 45px -30px #16382d40, inset 0 1px #fff9;
}
.daily-showcase .showcase-card {
  border-color: #b9ccd4;
  background: radial-gradient(ellipse at 22% 40%, #f1f7e2, transparent 60%),
    #dce9e6;
}
.showcase-art {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: var(--showcase-art-height, 450px);
  min-width: 0;
}
.showcase-art img {
  max-height: var(--showcase-art-height, 450px);
  width: auto;
  object-fit: contain;
  border: 8px solid #0b2119;
  border-radius: 28px;
  box-shadow: 8px 20px 28px #16382d33, 0 0 0 1px #829886;
}
.showcase-art--clues {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  width: min(100%, 350px);
  min-height: 0;
  aspect-ratio: 1;
  justify-self: center;
  transform: rotate(-3deg);
  padding: 14px;
  background: #1c4838;
  border-radius: 24px;
  border: 1px solid #a6bbaa;
  box-shadow: 10px 20px 30px #16382d26;
}
.showcase-art--clues img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border: 0;
  border-radius: 10px;
  box-shadow: none;
}
.showcase-copy {
  min-width: 0;
  max-width: 440px;
}
.showcase-copy .eyebrow {
  color: #566c55;
  display: flex;
  align-items: center;
  gap: 22px;
  letter-spacing: 0.12em;
}
.copy-number {
  white-space: nowrap;
  font-weight: 700;
}
.showcase-copy h3 {
  font-size: var(--showcase-title-size, clamp(2.3rem, 3.6vw, 3.5rem));
  margin: 18px 0;
}
.showcase-copy p {
  color: #3f594a;
  font-size: 1.125rem;
}
.showcase-copy .text-link {
  margin-top: 28px;
  border-bottom: 1px solid #789780;
}
.gallery-controls {
  margin-bottom: 24px;
}
.gallery-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}
.gallery-counter {
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: var(--muted);
}
.gallery-step {
  display: flex;
  gap: 8px;
}
.gallery-step button {
  min-height: 44px;
  padding: 8px 18px;
  border: 1px solid #a0b39a;
  border-radius: 9px;
  background: #fff6;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 700;
}
.gallery-step button:hover:enabled {
  background: #fff;
  border-color: var(--ink);
}
.gallery-step button:disabled {
  opacity: 0.4;
}
.gallery-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.gallery-nav button {
  min-height: 44px;
  border: 1px solid #c3ceb9;
  border-radius: 9px;
  padding: 10px 17px;
  background: transparent;
  color: #425d48;
  font-weight: 700;
  font-size: 0.85rem;
  line-height: 1.3;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.gallery-nav button:hover {
  background: #ffffff80;
  border-color: #82967d;
}
.gallery-nav button[aria-pressed="true"] {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
  box-shadow: inset 0 1px #fff2;
}
.worlds {
  background: var(--forest-deep);
  color: var(--cream);
}
.worlds .section-index {
  color: #a3bea9;
}
.worlds .section-heading > p {
  color: #bdcfbe;
}
.world-journey {
  position: relative;
  max-width: var(--page-width);
  margin: auto;
}
.world-stage {
  position: relative;
}
.world-chapters {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.world-scene {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  min-height: 460px;
  border: 1px solid #cee2b840;
  border-radius: 28px;
  background: #08271f;
}
.world-scene:after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(0deg, #031b15f2, #031b1560 50%, #031b1508 90%);
}
.world-scene .chapter-poster,
.world-scene video {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.world-scene video {
  opacity: 0;
  transition: opacity 0.6s;
}
.world-scene video[data-playing="true"] {
  opacity: 1;
}
.chapter-copy {
  position: relative;
  max-width: 680px;
  padding: 170px 40px 44px;
}
.chapter-copy .eyebrow {
  color: #cfdfbb;
}
.chapter-copy h3 {
  margin: 14px 0 16px;
  font-size: clamp(2rem, 4vw, 3.75rem);
  text-shadow: 0 2px 20px #001a16;
}
.chapter-copy p {
  max-width: 38ch;
  color: #e0ecd1;
}
[data-gallery-ready] .world-chapters {
  display: block;
}
[data-gallery-ready] .world-scene {
  display: flex;
  align-items: end;
  min-height: 530px;
}
[data-gallery-ready] .world-scene .chapter-copy {
  padding: 40px 48px;
}
.worlds .gallery-counter {
  color: #abc4ae;
}
.worlds .gallery-step button {
  border-color: #b5d1b84d;
  background: #d8e6cc0a;
  color: var(--cream);
}
.worlds .gallery-step button:hover:enabled {
  background: #d8e6cc1a;
  border-color: #bfd8b5;
}
.worlds .gallery-nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.worlds .gallery-nav button {
  color: #cad9c0;
  border-color: #aac9b02b;
  padding: 14px 18px;
}
.worlds .gallery-nav button:hover {
  background: #ffffff09;
}
.worlds .gallery-nav button[aria-pressed="true"] {
  background: #e4eabd;
  color: var(--forest-deep);
  border-color: #e4eabd;
}
.world-motion {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 3;
}
.world-motion button {
  padding: 10px 16px;
  min-height: 44px;
  border-radius: 9px;
  border: 1px solid #fff7;
  color: #fff4d8;
  background: #041a16db;
  font-size: 0.8rem;
  font-weight: 700;
}
.world-finale {
  max-width: var(--page-width);
  margin: 64px auto 0;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  align-items: center;
}
.world-finale-copy > p {
  color: #abc1a8;
  font-size: 0.96rem;
}
.world-finale-copy h3 {
  margin: 10px 0 18px;
  font-size: clamp(1.7rem, 2.6vw, 2.5rem);
}
.world-finale-count {
  color: var(--gold);
}
.world-finale .text-link {
  color: var(--gold);
}
.world-finale-art {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  transform: rotate(-2deg);
}
.world-finale-art img {
  width: 100%;
  aspect-ratio: 0.72;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid #d9e8bb4d;
}
.world-finale-art img:nth-child(even) {
  transform: translateY(14px);
}
.questions {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 80px;
  background: var(--paper);
}
.questions > div:first-child {
  max-width: 440px;
  justify-self: end;
}
.question-list {
  max-width: 660px;
  width: 100%;
}
.question-list details {
  border-top: 1px solid #aebfac;
}
.question-list details:last-child {
  border-bottom: 1px solid #aebfac;
}
.question-list summary {
  padding: 22px 8px;
  min-height: 64px;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.45;
  cursor: pointer;
}
.question-list p {
  padding: 0 8px 24px;
  color: var(--muted);
  font-size: 1rem;
}
.closing {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--forest-deep);
  color: var(--cream);
  padding: 92px max(var(--gutter), env(safe-area-inset-right)) 96px
    max(var(--gutter), env(safe-area-inset-left));
  text-align: center;
}
.closing-art {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.closing-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 60%;
  opacity: 0.28;
}
.closing:after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    0deg,
    #041a16,
    #041a16b3 35%,
    #041a1699 60%,
    #041a16
  );
}
.closing > .eyebrow {
  color: var(--gold);
  margin-bottom: 16px;
}
.closing h2 {
  max-width: 800px;
  margin: auto;
  font-size: clamp(2.5rem, 4.75vw, 4.2rem);
}
.closing > p {
  margin: 20px 0 28px;
  color: #d5e2c8;
}
.closing .store-badges {
  justify-content: center;
}
.closing small {
  margin-top: 18px;
  color: #acc2ab;
}
.site-footer {
  padding: 32px max(var(--gutter), env(safe-area-inset-right))
    max(32px, env(safe-area-inset-bottom))
    max(var(--gutter), env(safe-area-inset-left));
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px 40px;
  background: var(--forest-deep);
  color: #c8d5b9;
  border-top: 1px solid #d8e1bf1f;
}
.site-footer .brand {
  font-size: 1.3rem;
}
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  margin-left: auto;
}
.site-footer nav a {
  font-size: 0.86rem;
  font-weight: 750;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.site-footer nav a:hover {
  text-decoration: underline;
}
.site-footer > p {
  width: 100%;
  padding-top: 8px;
  color: #8da792;
  font-size: 0.75rem;
}
@keyframes arrive {
  0% {
    opacity: 0;
    transform: translateY(24px);
  }
  70% {
    opacity: 1;
    transform: translateY(-2px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes device-arrive {
  0% {
    opacity: 0;
    transform: translateY(48px) rotate(-12deg);
  }
  70% {
    opacity: 1;
    transform: translateY(-4px) rotate(-5deg);
  }
  100% {
    opacity: 1;
    transform: translateY(0) rotate(-6deg);
  }
}
@keyframes clue-arrive {
  0% {
    opacity: 0;
    transform: translate(22px, 32px) rotate(12deg);
  }
  70% {
    opacity: 1;
    transform: translate(-2px, -2px) rotate(4deg);
  }
  100% {
    opacity: 1;
    transform: translate(0, 0) rotate(5deg);
  }
}
@media (prefers-reduced-motion: no-preference) {
  .hero-copy {
    animation: arrive 0.85s var(--ease) both;
  }
  .phone {
    animation: device-arrive 1.1s var(--ease) 0.15s backwards;
  }
  .hero-preview {
    animation: clue-arrive 0.85s var(--ease) 0.5s backwards;
  }
  [data-gallery-ready] [data-gallery-item]:not([hidden]) {
    animation: arrive 0.65s var(--ease) both;
  }
}
@media (min-width: 1600px) {
  .hero-scene img {
    object-position: 50% 48%;
  }
}
@media (max-width: 1100px) {
  .site-header {
    gap: 20px;
  }
  .primary-nav {
    gap: 18px;
  }
  .header-play {
    padding: 10px 14px;
  }
  .hero-inner {
    grid-template-columns: 1.2fr 1fr;
    gap: 20px;
    min-height: 660px;
  }
  h1 {
    font-size: clamp(2.8rem, 5.2vw, 4.25rem);
  }
  .phone {
    width: 248px;
  }
  .hero-display {
    height: 530px;
  }
  .hero-preview {
    right: -12px;
    width: 148px;
  }
  .hero-facts {
    margin: 0 var(--gutter);
  }
  .showcase-card {
    padding: var(--showcase-padding, 36px);
    gap: var(--showcase-gap, 40px);
  }
  .discovery-strip a {
    padding: 22px 16px;
  }
}
@media (max-width: 850px) {
  .experience-grid {
    grid-template-columns: 1fr;
  }
  .showcase-card--preview {
    --showcase-columns: 0.85fr 1fr;
    --showcase-art-height: 240px;
  }
  .site-header {
    flex-wrap: wrap;
    gap: 10px 20px;
    padding-top: max(18px, env(safe-area-inset-top));
    padding-bottom: 10px;
  }
  .brand {
    margin-right: auto;
  }
  .header-play {
    max-width: 180px;
  }
  .primary-nav {
    width: 100%;
    order: 4;
    flex-basis: 100%;
    justify-content: space-between;
    border-top: 1px solid #dfe7bd1a;
    padding-top: 4px;
  }
  .primary-nav a {
    font-size: 0.86rem;
  }
  .hero-inner {
    padding-top: 42px;
    grid-template-columns: 1.15fr 1fr;
    gap: 20px;
    min-height: 610px;
  }
  h1 {
    font-size: clamp(2.3rem, 4.9vw, 3rem);
  }
  .hero-eyebrow {
    font-size: 0.63rem;
  }
  .hero-copy > p {
    font-size: 1rem;
  }
  .hero-display {
    height: 450px;
  }
  .phone {
    width: 224px;
    padding: 8px;
    border-radius: 34px;
  }
  .phone img {
    border-radius: 23px;
  }
  .hero-preview {
    width: 126px;
    padding: 10px;
    right: -8px;
    bottom: 8px;
  }
  .hero-preview > .eyebrow {
    font-size: 0.55rem;
  }
  .hero-facts span {
    font-size: 0.77rem;
  }
  .discovery-strip {
    padding: 0 16px;
  }
  .discovery-strip a {
    font-size: 0.82rem;
    padding: 18px 12px;
    gap: 10px;
  }
  .section {
    padding-top: 72px;
    padding-bottom: 72px;
  }
  .section-heading {
    gap: 36px;
  }
  .section-heading p {
    font-size: 1rem;
  }
  .showcase-card {
    gap: var(--showcase-gap, 32px);
    padding: var(--showcase-padding, 28px);
    min-height: 470px;
  }
  .showcase-art {
    min-height: var(--showcase-art-height, 400px);
  }
  .showcase-art img {
    max-height: var(--showcase-art-height, 400px);
  }
  .showcase-art--clues {
    min-height: 0;
    padding: 10px;
    gap: 8px;
  }
  .showcase-art--clues img {
    max-height: none;
  }
  .showcase-copy h3 {
    font-size: var(--showcase-title-size, 2.15rem);
  }
  .showcase-copy p {
    font-size: 1rem;
  }
  .showcase-copy .eyebrow {
    font-size: 0.61rem;
    gap: 14px;
  }
  .worlds .gallery-nav button {
    padding: 12px;
    font-size: 0.76rem;
  }
  [data-gallery-ready] .world-scene {
    min-height: 470px;
  }
  [data-gallery-ready] .world-scene .chapter-copy {
    padding: 40px 32px;
  }
  .world-finale {
    gap: 28px;
  }
  .questions {
    gap: 40px;
  }
}
@media (max-width: 600px) {
  .gameplay-preview figure {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .gameplay-preview video {
    justify-self: center;
  }
  :root {
    --gutter: 22px;
  }
  .site-header {
    gap: 10px 12px;
  }
  .brand {
    font-size: 1.35rem;
    gap: 8px;
  }
  .brand img {
    width: 32px;
    height: 32px;
    border-radius: 8px;
  }
  .languages {
    position: static;
  }
  .languages nav {
    top: calc(100% + 8px);
    right: var(--gutter);
    max-width: calc(100vw - 2 * var(--gutter));
  }
  .languages summary {
    min-width: 42px;
    font-size: 0.78rem;
  }
  .header-play {
    min-height: 44px;
    padding: 9px 12px;
    max-width: 100%;
    font-size: 0.72rem;
    overflow-wrap: anywhere;
  }
  .primary-nav {
    gap: 4px 16px;
    flex-wrap: wrap;
  }
  .primary-nav a {
    font-size: 0.78rem;
  }
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 4px;
    padding-top: 32px;
    padding-bottom: 0;
    min-height: 0;
  }
  .hero-copy {
    text-align: center;
    padding: 0;
  }
  .hero-eyebrow {
    font-size: 0.62rem;
    letter-spacing: 0.12em;
    margin-bottom: 18px;
  }
  h1 {
    font-size: clamp(2rem, 8.6vw, 3.2rem);
    margin-bottom: 20px;
  }
  .hero-copy > p {
    font-size: 1rem;
    line-height: 1.6;
    margin: 0 auto 24px;
    max-width: 36ch;
  }
  .hero-copy .store-badges {
    justify-content: center;
    gap: 8px;
  }
  .store-badge--app-store img {
    width: 134px;
    height: 46px;
  }
  .store-badge--google-play img {
    width: 176px;
    height: 68px;
  }
  .hero-copy small {
    font-size: 0.71rem;
    margin-top: 12px;
  }
  .hero-explore {
    margin-top: 12px;
    font-size: 0.81rem;
  }
  .hero-display {
    height: 440px;
    margin: 12px auto 0;
    width: 100%;
    max-width: 380px;
  }
  .phone {
    width: 212px;
    transform: rotate(-6deg);
  }
  .hero-preview {
    bottom: 26px;
    right: 0;
    width: 125px;
  }
  .device-plinth {
    bottom: 18px;
    width: 300px;
  }
  .hero-scene img {
    object-position: 58% 50%;
  }
  .hero-scene:after {
    background: linear-gradient(
      180deg,
      #041a16fa 0%,
      #041a16ed 32%,
      #041a164d 63%,
      #041a16 100%
    );
  }
  .hero-facts {
    margin: 0 var(--gutter);
    padding: 22px 0;
  }
  .hero-facts > div {
    flex-direction: column;
    gap: 8px;
    padding: 0 8px;
    text-align: center;
  }
  .hero-facts strong {
    font-size: 1.7rem;
  }
  .hero-facts span {
    font-size: 0.66rem;
    line-height: 1.4;
  }
  .discovery-strip {
    grid-template-columns: 1fr;
    padding: 0 var(--gutter);
  }
  .discovery-strip a {
    padding: 18px 0;
    min-height: 66px;
    font-size: 0.94rem;
  }
  .discovery-strip a + a {
    border-left: 0;
    border-top: 1px solid #f0ead223;
  }
  .section {
    padding-top: 56px;
    padding-bottom: 56px;
  }
  .section-heading {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-bottom: 28px;
  }
  .section-heading > p {
    max-width: 40ch;
  }
  .section-index {
    font-size: 0.66rem;
    margin-bottom: 12px;
  }
  h2 {
    font-size: 2.3rem;
  }
  .showcase-card {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 28px 24px;
    border-radius: 22px;
    min-height: 0;
  }
  .showcase-art {
    min-height: var(--showcase-art-height, 350px);
  }
  .showcase-art img {
    max-height: var(--showcase-art-height, 350px);
    border-width: 6px;
    border-radius: 23px;
  }
  .showcase-art--clues {
    width: min(100%, 290px);
    min-height: 0;
    padding: 11px;
    border-radius: 20px;
    margin: 18px 0 12px;
  }
  .showcase-art--clues img {
    max-height: none;
    border-radius: 8px;
  }
  .showcase-copy {
    display: contents;
  }
  .showcase-copy > .eyebrow {
    order: 0;
  }
  .showcase-copy > h3 {
    order: 1;
  }
  .showcase-art {
    order: 2;
  }
  .showcase-copy > p {
    order: 3;
  }
  .showcase-copy > .text-link {
    order: 4;
    justify-self: start;
  }
  .showcase-copy .eyebrow {
    font-size: 0.61rem;
  }
  .showcase-copy h3 {
    font-size: 2.1rem;
    margin: 0;
  }
  .showcase-copy p {
    font-size: 0.96rem;
  }
  .showcase-copy .text-link {
    margin-top: 18px;
    font-size: 0.84rem;
  }
  .gallery-toolbar {
    margin-bottom: 14px;
  }
  .gallery-nav {
    gap: 7px;
  }
  .gallery-nav button {
    padding: 9px 12px;
    font-size: 0.76rem;
  }
  .gallery-step button {
    padding: 8px 12px;
    font-size: 0.74rem;
  }
  .gallery-counter {
    font-size: 0.73rem;
  }
  .world-chapters {
    grid-template-columns: 1fr;
  }
  [data-gallery-ready] .world-scene {
    min-height: 490px;
    border-radius: 22px;
    align-items: start;
  }
  .world-scene .chapter-copy {
    width: 100%;
    isolation: isolate;
  }
  [data-gallery-ready] .world-scene .chapter-copy {
    padding: 78px 24px 30px;
  }
  .world-scene .chapter-copy:before {
    content: "";
    position: absolute;
    inset: 0 0 -36px;
    z-index: -1;
    background: linear-gradient(
      180deg,
      #031b15f2,
      #031b15e0 calc(100% - 36px),
      #031b1500
    );
  }
  .world-scene:after {
    background: linear-gradient(180deg, #031b1530, #031b1500 90%);
  }
  .chapter-copy h3 {
    font-size: 2.25rem;
    margin: 12px 0;
  }
  .chapter-copy p {
    font-size: 1rem;
  }
  .world-motion {
    top: 14px;
    right: 14px;
  }
  .world-motion button {
    font-size: 0.7rem;
    padding: 8px 12px;
  }
  .worlds .gallery-nav {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .worlds .gallery-nav button {
    font-size: 0.75rem;
    min-height: 54px;
  }
  .world-finale {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-top: 44px;
  }
  .world-finale-copy h3 {
    font-size: 1.8rem;
  }
  .world-finale-art {
    padding: 0 0 14px;
  }
  .world-finale-art img {
    aspect-ratio: 0.8;
    border-radius: 10px;
  }
  .questions {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .questions > div:first-child {
    justify-self: start;
  }
  .question-list summary {
    padding: 20px 0;
    font-size: 1rem;
  }
  .question-list p {
    padding: 0 0 22px;
  }
  .closing {
    padding-top: 64px;
    padding-bottom: 68px;
  }
  .closing h2 {
    font-size: 2.7rem;
  }
  .closing > p {
    font-size: 1rem;
  }
  .closing small {
    font-size: 0.75rem;
  }
  .site-footer {
    gap: 22px;
    padding-top: 28px;
  }
  .site-footer nav {
    margin-left: 0;
    width: 100%;
    gap: 4px 20px;
  }
  .site-footer > p {
    padding: 0;
  }
}
@media (max-width: 360px) {
  :root {
    --gutter: 18px;
  }
  .site-header {
    gap: 8px;
  }
  .brand {
    font-size: 1.14rem;
  }
  .header-play {
    max-width: 100%;
    padding: 8px;
    font-size: 0.66rem;
  }
  .primary-nav a {
    font-size: 0.72rem;
  }
  .store-badge--app-store img {
    width: 121px;
    height: 42px;
  }
  .store-badge--google-play img {
    width: 151px;
    height: 58px;
  }
  .hero-inner {
    padding-top: 24px;
  }
  h1 {
    font-size: 2rem;
  }
  .hero-display {
    height: 408px;
  }
  .phone {
    width: 194px;
  }
  .hero-preview {
    width: 112px;
  }
  .hero-facts span {
    font-size: 0.63rem;
  }
  h2 {
    font-size: 2.05rem;
  }
  .showcase-card {
    padding: 24px 18px;
  }
  .showcase-copy h3 {
    font-size: 1.9rem;
  }
  .showcase-copy .eyebrow {
    gap: 10px;
    font-size: 0.59rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  :root {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
  }
}

/* The hero device is the recording: one intentional action brings it into focus. */
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.gameplay-preview { margin: 0; flex: none; transition: transform .55s var(--ease), border-color .3s; }
.gameplay-preview > summary { position: relative; padding: 0; min-height: 0; cursor: pointer; list-style: none; border-radius: 30px; }
.gameplay-preview > summary::-webkit-details-marker { display: none; }
.gameplay-preview .preview-poster { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; filter: brightness(.74); transition: filter .3s; }
.gameplay-preview > summary:hover .preview-poster { filter: brightness(.9); }
.preview-start { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; padding: 24px; text-align: center; color: var(--cream); font-size: .85rem; font-weight: 800; text-shadow: 0 2px 12px #000; background: linear-gradient(transparent 30%, #041a1644 60%, #041a1699); border-radius: inherit; }
.preview-play-icon { width: 72px; height: 72px; display: grid; place-items: center; background: var(--gold); color: var(--forest-deep); border: 1px solid var(--cream); border-radius: 50%; box-shadow: 0 8px 30px #0008, 0 0 0 9px #f4c76122; transition: transform .25s var(--ease), box-shadow .25s; }
.preview-play-icon svg { margin-left: 4px; }
summary:hover .preview-play-icon, summary:focus-visible .preview-play-icon { transform: scale(1.1); box-shadow: 0 8px 30px #0008, 0 0 0 13px #f4c76122; }
.preview-close { display: none; }
.gameplay-preview[open] { transform: rotate(0deg) scale(1.025); border-color: var(--gold); }
.gameplay-preview[open] > summary { position: absolute; top: 18px; right: 18px; width: 44px; height: 44px; z-index: 2; }
.gameplay-preview[open] .preview-start, .gameplay-preview[open] .preview-poster { display: none; }
.gameplay-preview[open] .preview-close { display: grid; place-items: center; width: 44px; height: 44px; background: var(--forest-deep); color: var(--cream); border: 1px solid #c4d4bd; border-radius: 50%; }
.gameplay-preview figure { display: block; margin: 0; padding: 0; }
.gameplay-preview video { display: block; width: 100%; max-height: none; aspect-ratio: 9 / 16; border-radius: 30px; background-color: var(--forest-deep); background-size: cover; }
.gameplay-preview figcaption { position: absolute; left: -34px; top: calc(100% + 14px); width: calc(100% + 68px); color: #c4d4bd; font-size: .7rem; line-height: 1.5; text-align: center; }
.hero-preview { transition: opacity .25s, transform .45s var(--ease), visibility .25s; }
.hero-display:has(.gameplay-preview[open]) .hero-preview { opacity: 0; visibility: hidden; transform: translate(24px, 10px) rotate(12deg) scale(.92); }
.experience-grid .showcase-card--preview { border-radius: 24px; overflow: hidden; }
.experience-grid .showcase-card--preview:nth-child(2) { background: linear-gradient(145deg, #dce8e8, #d6e1d6); }
.experience-grid .showcase-card--preview:nth-child(3) { background: linear-gradient(145deg, #f2e7c8, #e3e8ce); }
.mobile-install { display: none; }
@media (max-width: 760px) {
  .hero-display { height: 505px; margin-top: 4px; align-items: flex-start; padding-top: 22px; }
  .hero-display .phone { width: 224px; }
  .hero-preview { bottom: 65px; }
  .gameplay-preview > summary, .gameplay-preview video { border-radius: 23px; }
  .preview-start { padding: 18px; font-size: .78rem; }
  .preview-play-icon { width: 60px; height: 60px; }
  .gameplay-preview figcaption { font-size: .67rem; }
  .has-scroll-install { padding-bottom: calc(88px + env(safe-area-inset-bottom)); }
  .mobile-install {
    container-type: inline-size;
    position: fixed; z-index: 30; left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom));
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 10px 12px 10px 18px; background: var(--forest-deep); color: var(--cream);
    border: 1px solid #c5b47a66; border-radius: 18px; box-shadow: 0 10px 30px #0005;
  }
  .mobile-install > span { min-width: 0; }
  .mobile-install strong { display: block; font-size: 1rem; letter-spacing: -.03em; }
  .mobile-install small { font-size: .6rem; line-height: 1.4; max-width: 24ch; color: #c4d4bd; }
  .mobile-install .header-play { flex: none; gap: 8px; max-width: 56%; text-align: center; }
  .mobile-install .arrow-icon { width: 16px; height: 16px; }
  .mobile-install :focus-visible { outline-color: var(--gold); }
  html:has(.has-scroll-install) { scroll-padding-bottom: calc(112px + env(safe-area-inset-bottom)); }
  .experience-grid { gap: 16px; container-type: inline-size; }
  .experience-grid .showcase-card--preview { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 18px; padding: 24px 20px; align-items: center; }
  .experience-grid .showcase-art { order: 0; height: auto; min-height: 0; width: 100%; padding: 0; align-self: center; }
  .experience-grid .showcase-art img { max-height: 210px; }
  .experience-grid .showcase-copy { display: flex; flex-direction: column; align-items: flex-start; order: 1; gap: 12px; }
  .experience-grid .showcase-copy h3 { font-size: 1.7rem; }
  .experience-grid .showcase-copy p { font-size: .88rem; line-height: 1.6; }
  .experience-grid .showcase-copy .text-link { margin-top: 0; }
  .experience-grid .showcase-copy { min-width: 0; overflow-wrap: anywhere; }
  .experience-grid .showcase-copy .text-link { max-width: 100%; }
  .experience-grid .showcase-art--clues { display: grid; gap: 3px; border-width: 5px; border-radius: 10px; }
  .experience-grid .showcase-art--clues img { border-radius: 3px; }
  .worlds .gallery-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery-nav button, .gallery-step button { min-width: 0; overflow-wrap: anywhere; }
  .gallery-toolbar { flex-wrap: wrap; }
  .gallery-step { max-width: 100%; }
  .discovery-strip > a { min-width: 0; overflow-wrap: anywhere; }
}
@media (max-width: 350px) {
  .experience-grid .showcase-card--preview { grid-template-columns: 80px minmax(0, 1fr); gap: 14px; padding: 22px 16px; }
  .experience-grid .showcase-copy h3 { font-size: 1.5rem; }
  .mobile-install { padding-left: 12px; gap: 8px; }
  .mobile-install small { display: none; }
}
/* Content-relative thresholds retain full-size text when a reader enlarges it. */
@container (width < 16rem) {
  .mobile-install > span { display: none; }
  .mobile-install .header-play { width: 100%; max-width: 100%; }
  .experience-grid .showcase-card--preview { grid-template-columns: minmax(0, 1fr); }
  .experience-grid .showcase-art { max-width: 160px; justify-self: center; }
}
@media (prefers-reduced-motion: no-preference) {
  .mobile-install:not([hidden]) { animation: install-arrive .35s var(--ease); }
  @keyframes install-arrive { from { transform: translateY(calc(100% + 24px)); } to { transform: none; } }
}
@media (prefers-reduced-motion: reduce) {
  .gameplay-preview, .preview-play-icon, .hero-preview { transition: none; }
  .gameplay-preview[open] { transform: rotate(-6deg); }
}

/* Disclosures use one drawn chevron instead of each browser's default triangle. */
.languages summary,
.game-catalog > summary,
.question-list summary {
  display: flex;
  align-items: center;
  gap: 10px;
  list-style: none;
}
.languages summary::-webkit-details-marker,
.game-catalog > summary::-webkit-details-marker,
.question-list summary::-webkit-details-marker {
  display: none;
}
.game-catalog > summary,
.question-list summary {
  justify-content: space-between;
  gap: 24px;
}
.languages summary::after,
.game-catalog > summary::after,
.question-list summary::after {
  content: "";
  flex: none;
  width: 0.45em;
  height: 0.45em;
  margin: -0.2em 0.2em 0;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.35s var(--ease), margin 0.35s var(--ease);
}
.languages[open] > summary::after,
.game-catalog[open] > summary::after,
.question-list details[open] > summary::after {
  margin-top: 0.25em;
  transform: rotate(225deg);
}
.game-catalog > summary:hover,
.question-list summary:hover {
  color: var(--forest);
}
.globe-icon {
  flex: none;
  opacity: 0.85;
}
.languages summary {
  min-height: 44px;
}
.primary-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
/* Keep the header on one row on phones: the globe yields before the call to action does. */
@media (max-width: 600px) {
  .languages summary {
    min-width: 44px;
    gap: 6px;
    padding: 0 2px;
  }
  .languages summary::after {
    margin-inline: 0.1em;
  }
}
@media (max-width: 430px) {
  .languages .globe-icon {
    display: none;
  }
}

/* Desktop visitors hand the install off to their phone. */
.scan-to-play {
  display: none;
}
/* Only where the hero still fits above the fold with the extra block. */
@media (min-width: 1101px) and (min-height: 820px) and (hover: hover) and (pointer: fine) {
  .scan-to-play {
    display: flex;
    align-items: center;
    gap: 16px;
    max-width: 380px;
    margin-top: 22px;
    padding: 10px 18px 10px 10px;
    border: 1px solid #f4c76140;
    border-radius: 16px;
    background: #041a16b3;
  }
  /* 82px = 2px per module of the 41-module code: crisp edges. */
  .scan-to-play img {
    width: 82px;
    height: 82px;
    border-radius: 8px;
  }
  .scan-to-play p {
    display: grid;
    gap: 4px;
    margin: 0;
    color: #c9d9c6;
    font-size: 0.82rem;
    line-height: 1.4;
  }
  .scan-to-play strong {
    color: var(--cream);
    font-size: 0.95rem;
  }
}

/* Published store ratings only; the list is absent until real figures exist. */
.store-ratings {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  color: #c9d9c6;
  font-size: 0.85rem;
}
.store-ratings li {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.store-ratings strong {
  color: var(--gold);
  font-size: 1rem;
}

/* 404: the same world, one clear way back. */
.site-header--minimal .languages {
  margin-left: auto;
}
.not-found {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  align-content: center;
  justify-items: start;
  min-height: calc(100svh - 92px);
  padding: 72px max(var(--gutter), env(safe-area-inset-right)) 88px max(var(--gutter), env(safe-area-inset-left));
  color: var(--cream);
  background: var(--forest-deep);
}
.not-found-art {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.not-found-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% 50%;
  opacity: 0.45;
}
.not-found-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #041a16 10%, #041a16cc 55%, #041a1633);
}
.not-found-tiles {
  --tile-ambient: #0006;
  display: flex;
  gap: 10px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}
.not-found h1 {
  max-width: 14ch;
  margin: 0 0 18px;
  font-family: Manrope, system-ui, sans-serif;
}
.not-found > p {
  max-width: 44ch;
  margin: 0 0 32px;
  color: #d5e2c8;
  font-size: 1.15rem;
}
.not-found-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 28px;
}
.not-found-actions .download {
  min-height: 52px;
  padding: 12px 26px;
  font-size: 1rem;
}
.not-found-actions .text-link {
  color: var(--cream);
}
@media (prefers-reduced-motion: no-preference) {
  .not-found-tiles li {
    animation: not-found-drop 0.7s var(--ease) both;
  }
  .not-found-tiles li:nth-child(2) { animation-delay: 0.08s; }
  .not-found-tiles li:nth-child(3) { animation-delay: 0.16s; }
}
@keyframes not-found-drop {
  from { opacity: 0; transform: translateY(-24px); }
}
@media (max-width: 600px) {
  .not-found-tiles li {
    --tile-size: 54px;
  }
}
