:root {
  --paper: #ffffff;
  --soft: #fff8f3;
  --ink: #303437;
  --muted: #707478;
  --line: #e9e8e3;
  --orange: #ff8a00;
  --coral: #f85f6a;
  --coral-dark: #d84355;
  --mint: #39b8ad;
  --mint-dark: #16877f;
  --yellow: #ffd04a;
  --blue: #74c7e8;
  --header-h: 76px;
  --shadow: 0 18px 50px rgba(48, 52, 55, 0.12);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--paper);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", Arial, sans-serif;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
}

body[data-page="home"] { --home-grid-width: min(1480px, calc(100% - 64px)); }

body.menu-open { overflow: hidden; }

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { color: inherit; }

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 999;
  top: 8px;
  left: 8px;
  padding: 10px 14px;
  background: var(--ink);
  color: #fff;
  transform: translateY(-150%);
}

.skip-link:focus { transform: translateY(0); }

.container {
  width: min(1160px, calc(100% - 64px));
  margin-inline: auto;
}

.section-pad { padding: 112px 0; }

.eyebrow {
  margin: 0 0 18px;
  color: var(--orange);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.4;
  text-transform: uppercase;
}

h1, h2, h3, p { margin-top: 0; }

h1, h2, h3 {
  margin-bottom: 0;
  font-weight: 800;
  line-height: 1.12;
}

h2 { font-size: 2.85rem; }
h3 { font-size: 2rem; }
p { line-height: 1.85; }

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  display: flex;
  width: 100%;
  height: var(--header-h);
  align-items: center;
  justify-content: space-between;
  padding: 0 5vw;
  border-bottom: 1px solid transparent;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(18px);
  transition: height 220ms ease, box-shadow 220ms ease, background-color 220ms ease;
}

.site-header.solid,
.site-header.scrolled {
  border-bottom-color: rgba(48, 52, 55, 0.08);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 8px 30px rgba(48, 52, 55, 0.06);
}

.site-header.scrolled { height: var(--header-h); }

.brand img {
  width: 194px;
  height: auto;
}

.desktop-nav {
  display: flex;
  height: 100%;
  align-items: center;
  gap: 38px;
}

.desktop-nav a {
  position: relative;
  display: grid;
  height: 100%;
  place-items: center;
  font-size: 0.94rem;
  font-weight: 700;
}

.desktop-nav a::after {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 3px;
  background: var(--orange);
  content: "";
  transform: translateX(-50%);
  transition: width 180ms ease;
}

.desktop-nav a:hover::after,
.desktop-nav a.active::after { width: 100%; }

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 11px 9px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  position: fixed;
  z-index: 90;
  inset: var(--header-h) 0 0;
  display: none;
  padding: 42px 32px;
  background: rgba(255, 255, 255, 0.98);
}

.mobile-nav.open { display: flex; flex-direction: column; }

.mobile-nav a {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  font-size: 1.35rem;
  font-weight: 800;
}

.mobile-nav a.active { color: var(--orange); }

/* Phones keep the wide desktop canvas; only navigation uses the compact control. */
@media (hover: none) and (pointer: coarse) {
  .desktop-nav { display: none; }
  .menu-toggle { display: block; }
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.button:hover { transform: translateY(-3px); }

.button-primary {
  background: var(--orange);
  color: #fff;
  box-shadow: 0 12px 28px rgba(255, 138, 0, 0.28);
}

.button-primary:hover { box-shadow: 0 16px 32px rgba(255, 138, 0, 0.36); }

.button-light { background: #fff; color: var(--ink); }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 0;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  font-weight: 800;
}

.text-link.dark { color: var(--ink); border-bottom-color: var(--ink); }

.home-hero {
  position: relative;
  height: auto;
  overflow: hidden;
  background: #cce8ee;
}

.hero-gallery,
.hero-scrim { position: absolute; inset: 0; }

.hero-gallery {
  display: flex;
  will-change: transform;
  transition: transform 700ms cubic-bezier(.65, 0, .35, 1);
}

.hero-gallery.no-transition { transition: none; }

.hero-art {
  position: relative;
  min-width: 100%;
  overflow: hidden;
  flex: 0 0 100%;
  background-position: center;
  background-size: cover;
}

.hero-art::before {
  position: absolute;
  inset: 0;
  background: inherit;
  content: "";
  pointer-events: none;
  transform: scale(1.06);
  will-change: transform;
}

.hero-art-food { background-position: center 42%; }
.hero-art-moon { background-position: center 34%; }
.hero-art.hero-art-comeback { background-position: center 32%; }
.hero-art.active { z-index: 1; }
.hero-art.active::before { animation: hero-art-zoom 7s ease both; }

@keyframes hero-art-zoom {
  from { transform: scale(1.06); }
  to { transform: scale(1); }
}

.hero-scrim { background: rgba(33, 38, 38, 0.18); }

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  width: min(1160px, calc(100% - 64px));
  min-height: min(970px, calc(100svh + 122px));
  margin: auto;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding-top: var(--header-h);
  color: #fff;
  text-shadow: 0 2px 22px rgba(42, 30, 23, 0.34);
}

.hero-kicker {
  margin-bottom: 18px;
  font-size: 0.78rem;
  font-weight: 800;
}

.hero-content h1 { font-size: 5.35rem; }

.hero-line {
  margin: 14px 0 8px;
  font-size: 1.7rem;
  font-weight: 800;
  line-height: 1.4;
}

.hero-copy {
  width: min(540px, 100%);
  margin-bottom: 28px;
  font-size: 1rem;
  font-weight: 600;
}

.hero-actions { display: flex; align-items: center; gap: 28px; text-shadow: none; }

.hero-game-switcher {
  position: relative;
  z-index: 3;
  height: 150px;
  background: rgba(12, 15, 15, 0.68);
}

.hero-game-switcher-inner {
  display: flex;
  width: min(1160px, calc(100% - 64px));
  height: 100%;
  margin: auto;
  align-items: center;
  justify-content: center;
  gap: clamp(10px, 1.8vw, 28px);
}

.hero-game-tab {
  position: relative;
  display: grid;
  width: 120px;
  height: 120px;
  padding: 0;
  border: 0;
  flex: 0 0 120px;
  place-items: center;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.hero-game-tab img {
  width: 96px;
  height: 96px;
  border: 3px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  opacity: 0.68;
  object-fit: cover;
  transform: scale(1);
  transition: width 220ms ease, height 220ms ease, border-color 220ms ease, box-shadow 220ms ease, opacity 220ms ease, transform 220ms ease;
}

.hero-game-tab:nth-child(even) img { object-position: center 30%; }

.hero-game-tab.active img {
  width: 112px;
  height: 112px;
  border-color: #fff;
  opacity: 1;
}

.hero-game-tab:focus-visible {
  outline-color: #fff;
}

.scroll-cue {
  position: absolute;
  z-index: 3;
  bottom: 28px;
  left: 50%;
  width: 26px;
  height: 38px;
  border: 2px solid rgba(255, 255, 255, 0.8);
  border-radius: 16px;
  transform: translateX(-50%);
}

.scroll-cue span {
  position: absolute;
  top: 7px;
  left: 9px;
  width: 4px;
  height: 8px;
  border-radius: 4px;
  background: #fff;
  animation: scrollCue 1.8s infinite;
}

@keyframes scrollCue {
  0% { opacity: 0; transform: translateY(0); }
  35% { opacity: 1; }
  100% { opacity: 0; transform: translateY(13px); }
}

.intro-band { background: var(--paper); }

.intro-grid {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 90px;
  align-items: start;
}

.intro-band .container,
.team-preview .container { width: var(--home-grid-width); }

.intro-copy {
  width: min(100%, 720px);
  justify-self: end;
}

.intro-copy > p { margin-bottom: 44px; color: var(--muted); font-size: 1.06rem; }

.quick-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}

.quick-facts div { padding: 28px 20px 0 0; }
.quick-facts strong { display: block; margin-bottom: 7px; font-size: 2.25rem; line-height: 1; }
.quick-facts span { color: var(--muted); font-size: 0.82rem; }

.featured-games {
  --featured-grid-width: var(--home-grid-width);
  overflow: hidden;
  background: #f7f8f7;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 48px;
}

.section-heading.centered { justify-content: center; text-align: center; }

.home-section-heading {
  align-items: flex-start;
  justify-content: flex-start;
  text-align: left;
}

.home-section-heading > div { max-width: 820px; }
.home-section-heading .eyebrow { margin-bottom: 14px; }

.featured-games .home-section-heading { width: var(--featured-grid-width); }

.game-cover-grid {
  display: grid;
  width: var(--featured-grid-width);
  margin: 0 auto;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(32px, 3vw, 48px) 20px;
}

.game-cover-card,
.game-cover-more {
  position: relative;
  display: flex;
  min-width: 0;
  aspect-ratio: 31 / 37;
  border: 1px solid #e1e4e5;
  border-radius: 6px;
  background: #e9edef;
  box-shadow: 0 8px 18px rgba(48, 52, 55, 0.12);
  transition: box-shadow 220ms ease, transform 220ms ease;
}

.game-cover-card {
  --game-cover-divider: 60px;
  --game-cover-strip: 60px;
  overflow: visible;
  flex-direction: column;
  isolation: isolate;
}

.game-cover-more {
  overflow: hidden;
}

.game-cover-card:hover,
.game-cover-card:focus-visible,
.game-cover-more:hover { box-shadow: 0 18px 36px rgba(48, 52, 55, 0.2); transform: translateY(-8px); }

.game-cover-card:hover,
.game-cover-card:focus-visible { z-index: 5; }

.game-cover-card > img:not(.game-cover-logo) {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  clip-path: inset(0 round 6px);
  object-fit: cover;
  transition: filter 420ms ease, transform 520ms cubic-bezier(.2, .75, .2, 1);
}

.game-cover-card-crop > img:not(.game-cover-logo) { object-position: 78% center; }

.game-cover-card:hover > img:not(.game-cover-logo),
.game-cover-card:focus-visible > img:not(.game-cover-logo) {
  filter: blur(2.5px) saturate(.82);
  transform: none;
}

.game-cover-panel {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: calc(var(--game-cover-divider) + var(--game-cover-strip) - 100%);
  left: 0;
  height: calc(100% - var(--game-cover-divider));
  background: #fff;
  clip-path: inset(0 0 calc(100% - var(--game-cover-strip)) 0 round 0 0 6px 6px);
  transition: clip-path 380ms cubic-bezier(.2, .78, .2, 1), transform 380ms cubic-bezier(.2, .78, .2, 1);
}

.game-cover-card:hover .game-cover-panel,
.game-cover-card:focus-visible .game-cover-panel {
  clip-path: inset(0 round 0 0 6px 6px);
  transform: translateY(calc(-100% + var(--game-cover-strip)));
}

.game-cover-logo,
.game-cover-wordmark {
  position: absolute;
  z-index: 4;
  left: 50%;
  display: block;
  filter: drop-shadow(0 5px 3px rgba(37, 40, 42, .16));
  transform: translateX(-50%);
  transition: top 380ms cubic-bezier(.2, .78, .2, 1), transform 380ms cubic-bezier(.2, .78, .2, 1);
}

.game-cover-logo {
  top: calc(100% - 106px);
  width: auto;
  height: auto;
  max-width: 64%;
  max-height: 96px;
  object-fit: contain;
}

.game-cover-logo-slow-life { top: calc(100% - 98px); }

.game-cover-card:hover .game-cover-logo,
.game-cover-card:focus-visible .game-cover-logo,
.game-cover-card:hover .game-cover-wordmark,
.game-cover-card:focus-visible .game-cover-wordmark {
  top: var(--game-cover-divider);
  transform: translate(-50%, -50%);
}

.game-cover-wordmark {
  top: calc(100% - 99px);
  width: 82%;
  height: auto;
  color: #fff;
  font-size: clamp(1.15rem, 1.45vw, 1.55rem);
  font-weight: 900;
  text-align: center;
  text-shadow: 0 2px 8px rgba(34, 36, 35, .72);
}

.game-cover-panel-body {
  display: flex;
  height: 100%;
  padding: 72px 8px 14px;
  align-items: center;
  justify-content: flex-end;
  flex-direction: column;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 180ms 70ms ease, transform 280ms 70ms ease;
}

.game-cover-card:hover .game-cover-panel-body,
.game-cover-card:focus-visible .game-cover-panel-body {
  opacity: 1;
  transform: translateY(0);
}

.game-cover-qr {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: center;
  gap: 7px;
}

.game-cover-qr-label {
  color: #555c60;
  font-size: .78rem;
  font-weight: 800;
  line-height: 1;
}

.game-cover-qr img {
  width: 166px;
  height: 166px;
  background: #fff;
  object-fit: contain;
}

.game-cover-card:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 4px;
}

.game-cover-more {
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--ink);
}

.game-cover-more strong { font-size: 1.35rem; }
.game-cover-more span { font-size: 1.25rem; transition: transform 180ms ease; }
.game-cover-more:hover span { transform: translateX(5px); }

.game-number { margin-bottom: 15px; font-size: 0.76rem; font-weight: 800; }

.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }

.tag-row span {
  padding: 7px 11px;
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: 4px;
  font-size: 0.76rem;
  font-weight: 700;
}

.dark-tags span { border-color: var(--line); background: #fff; color: var(--muted); }

.values-section {
  overflow: hidden;
  background: #f5f6f4;
}

.values-section .section-heading { margin-bottom: 50px; }

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.value-item {
  --value-accent: var(--orange);
  --value-tint: #fff8ec;
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 350px;
  overflow: hidden;
  padding: 26px 26px 30px;
  flex-direction: column;
  border: 1px solid rgba(48, 52, 55, .08);
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(48, 52, 55, .045);
  isolation: isolate;
  transition: background-color 220ms ease, border-color 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}

.value-item::before {
  position: absolute;
  z-index: -1;
  inset: 0 0 auto;
  height: 5px;
  background: var(--value-accent);
  content: "";
  transition: height 220ms ease;
}

.value-item::after {
  position: absolute;
  z-index: -1;
  right: -8px;
  bottom: 28px;
  color: var(--ink);
  content: attr(data-en);
  font-size: 3.35rem;
  font-weight: 900;
  line-height: 1;
  opacity: .035;
  pointer-events: none;
  white-space: nowrap;
}

.value-item:hover {
  background: var(--value-tint);
  border-color: color-mix(in srgb, var(--value-accent) 30%, transparent);
  box-shadow: 0 18px 42px rgba(48, 52, 55, .11);
  transform: translateY(-7px);
}

.value-item:hover::before { height: 10px; }
.value-mindful { --value-accent: var(--coral); --value-tint: #fff3f4; }
.value-assume { --value-accent: var(--mint); --value-tint: #effaf8; }
.value-gratitude { --value-accent: var(--blue); --value-tint: #eff8fc; }

.value-item-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.value-number {
  color: var(--muted);
  font-size: .72rem;
  font-weight: 800;
}

.value-item-head i {
  display: block;
  width: 9px;
  height: 9px;
  background: var(--value-accent);
  transform: rotate(45deg);
}

.value-name { margin-top: 70px; }
.value-name h3 { font-size: 3.25rem; line-height: 1; }
.value-name p { margin: 12px 0 0; color: var(--value-accent); font-size: .76rem; font-weight: 900; line-height: 1; }

.value-slogan {
  position: relative;
  margin: auto 0 0;
  padding-top: 22px;
  color: var(--muted);
  font-size: .94rem;
  font-weight: 600;
  line-height: 1.5;
}

.value-slogan::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 34px;
  height: 2px;
  background: var(--value-accent);
  content: "";
}

.value-slogan strong { color: var(--ink); font-weight: 800; }

.team-preview { background: #fff3e5; }

.team-preview-grid { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: 80px; align-items: center; }
.team-preview-copy { align-self: start; padding-top: 8px; }
.team-preview-copy p { max-width: 430px; margin: 0 0 28px; color: var(--muted); }

.team-photo {
  width: min(100%, 780px);
  aspect-ratio: 3 / 2;
  margin: 0;
  justify-self: end;
  overflow: hidden;
  border: 2px solid rgba(48, 52, 55, 0.1);
  background: #e8e8e6;
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
}

.contact-ribbon { padding: 96px 0; background: var(--coral-dark); color: #fff; text-align: center; }
.contact-ribbon p { margin-bottom: 8px; font-size: .78rem; font-weight: 800; }
.contact-ribbon h2 { margin-bottom: 32px; }

.site-footer { padding: 62px 0 40px; border-top: 1px solid var(--line); background: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr .7fr .9fr; gap: 50px; align-items: end; }
.footer-grid img { width: 180px; margin-bottom: 18px; }
.footer-grid p { max-width: 430px; margin-bottom: 0; color: var(--muted); font-size: .83rem; }
.footer-links, .footer-meta { display: flex; flex-direction: column; gap: 12px; font-size: .83rem; }
.footer-links a:hover { color: var(--orange); }
.footer-meta { color: var(--muted); text-align: right; }
.footer-meta b { font-weight: inherit; }

.footer-legal {
  width: 100%;
  margin-top: 32px;
  padding: 24px 20px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  text-align: center;
  font-size: .83rem;
  line-height: 1.8;
  overflow-wrap: anywhere;
}
.footer-legal p { margin: 0; }
.footer-legal p + p { margin-top: 8px; }
.footer-legal a { color: #0075c9; }
.footer-legal a:hover { text-decoration: underline; }
.simple-game-footer .footer-legal { grid-column: 1 / -1; }
.simple-game-footer .footer-legal p { color: inherit; font-size: inherit; }

.page-hero {
  position: relative;
  display: flex;
  min-height: min(720px, 78svh);
  align-items: center;
  overflow: hidden;
  padding: calc(var(--header-h) + 60px) max(5vw, calc((100% - 1160px) / 2)) 60px;
}

.page-hero-copy { position: relative; z-index: 5; width: min(560px, 100%); }
.page-hero-copy h1 { margin-bottom: 26px; font-size: 4.5rem; }
.page-hero-copy > p:last-child { max-width: 520px; color: var(--muted); }

.games-hero { background: #fff3e8; }

.games-hero-art { position: absolute; inset: 0; }
.games-hero-art::after { position: absolute; inset: 0; background: rgba(255, 247, 239, .33); content: ""; }
.games-hero-art img { position: absolute; width: 47%; max-width: 620px; aspect-ratio: 4 / 3; object-fit: cover; box-shadow: var(--shadow); }
.games-hero-art .art-one { top: 14%; right: -4%; transform: rotate(3deg); }
.games-hero-art .art-two { right: 24%; bottom: -21%; transform: rotate(-5deg); }

.games-showcase { background: #f5f6f4; }

.game-feature {
  display: grid;
  width: min(1480px, calc(100% - 64px));
  aspect-ratio: 12 / 5;
  margin: 0 auto 40px;
  grid-template-columns: 13fr 7fr;
  overflow: hidden;
  border-radius: 6px;
  box-shadow: 0 18px 50px rgba(48, 52, 55, .08);
  color: #fff;
  scroll-margin-top: 72px;
}

.game-feature:last-child { margin-bottom: 0; }
.game-feature-reverse { grid-template-columns: 7fr 13fr; }
.game-feature-coral { background: var(--coral); }
.game-feature-mint { background: var(--mint-dark); }
.game-feature-blue { background: #356f91; }
.game-feature-berry { background: #8b526c; }
.game-feature-amber { background: #9b512c; }
.game-feature-leaf { background: #52794b; }
.game-feature-retro { background: #526778; }
.game-feature-electric { background: #573b82; }
.game-feature-survival { background: #825032; }

.game-feature-image { min-width: 0; overflow: hidden; }
.game-feature-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms ease;
}

.game-feature:hover .game-feature-image img { transform: scale(1.035); }

.game-feature-copy {
  position: relative;
  display: flex;
  min-width: 0;
  padding: clamp(44px, 4.5vw, 72px);
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.game-feature-copy::before {
  width: 42px;
  height: 4px;
  margin-bottom: 28px;
  border-radius: 2px;
  background: rgba(255, 255, 255, .9);
  content: "";
}

.game-feature-copy h2 { margin-bottom: 22px; font-size: clamp(3.25rem, 4vw, 4.5rem); }
.game-feature-copy > p { max-width: 430px; margin-bottom: 28px; color: rgba(255, 255, 255, .9); }
.game-feature-copy .tag-row { margin-bottom: 0; }
.game-feature-copy .tag-row span { background: rgba(255, 255, 255, .08); }

.motion-lab {
  overflow: hidden;
  padding-top: 118px;
  background: var(--paper);
}

body[data-page="home"] .motion-lab { padding-top: 0; }

.motion-lab-heading { padding-bottom: 72px; }
.motion-lab-heading h2 { max-width: 780px; margin-bottom: 20px; font-size: 4rem; }
.motion-lab-heading > p:last-child { max-width: 650px; margin-bottom: 0; color: var(--muted); }

.motion-concept {
  --parallax-x: 0px;
  --parallax-y: 0px;
  position: relative;
  width: 100%;
  min-height: 760px;
  overflow: hidden;
  scroll-margin-top: var(--header-h);
}

.motion-copy { position: relative; z-index: 10; min-width: 0; }
.motion-index { margin-bottom: 18px; color: #ffd45b; font-size: .72rem; font-weight: 800; line-height: 1.4; }
.motion-copy h3 { margin-bottom: 24px; font-size: 5rem; line-height: 1.02; }
.motion-copy > p { max-width: 430px; margin-bottom: 30px; color: rgba(255,255,255,.78); }

.motion-concept.motion-enabled .motion-copy > *,
.motion-concept.motion-enabled [data-motion-art] > * { opacity: 0; }

.motion-concept.motion-enter .motion-copy > * { animation: motion-copy-in 720ms cubic-bezier(.2,.8,.2,1) both; }
.motion-concept.motion-enter .motion-copy > :nth-child(2) { animation-delay: 90ms; }
.motion-concept.motion-enter .motion-copy > :nth-child(3) { animation-delay: 170ms; }
.motion-concept.motion-enter .motion-copy > :nth-child(4) { animation-delay: 240ms; }

@keyframes motion-copy-in {
  0% { opacity: 0; transform: translateY(42px); }
  100% { opacity: 1; transform: translateY(0); }
}

.motion-link {
  display: inline-flex;
  padding: 0 0 7px;
  align-items: center;
  border-bottom: 1px solid currentColor;
  gap: 10px;
  font-size: .88rem;
  font-weight: 800;
}

.motion-link span { transition: transform 180ms ease; }
.motion-link:hover span { transform: translateX(5px); }
.motion-link-dark { color: var(--ink); }

[data-parallax-depth] {
  transform: translate3d(var(--parallax-x), var(--parallax-y), 0);
  transition: transform 180ms ease-out;
  will-change: transform;
}

.concept-portal { display: flex; align-items: center; background: #16453f; color: #fff; }
.concept-portal::before {
  position: absolute;
  top: 0;
  right: 0;
  width: 14%;
  height: 100%;
  background: #ff7f73;
  content: "";
}

.motion-concept-inner {
  position: relative;
  z-index: 2;
  display: grid;
  width: min(1480px, calc(100% - 96px));
  min-height: 760px;
  margin-inline: auto;
  grid-template-columns: minmax(320px, .7fr) minmax(620px, 1.45fr);
  align-items: center;
  gap: 32px;
}

.portal-stage { position: relative; height: min(700px, 49vw); min-height: 590px; }
.portal-plane,
.portal-orbit,
.portal-sun,
.portal-character,
.portal-cloud,
.portal-word,
.portal-spark { position: absolute; display: block; }

.portal-plane-back {
  z-index: 1;
  top: 8%;
  right: 3%;
  width: 78%;
  aspect-ratio: 1;
  background: #ffd45b;
  clip-path: polygon(16% 0, 92% 8%, 100% 70%, 73% 100%, 5% 88%, 0 27%);
  transform: translate3d(var(--parallax-x), var(--parallax-y), 0) rotate(7deg);
}

.portal-plane-front {
  z-index: 2;
  right: -1%;
  bottom: 3%;
  width: 61%;
  aspect-ratio: 1.2;
  background: #ff7f73;
  clip-path: polygon(10% 0, 100% 16%, 86% 100%, 0 78%);
  transform: translate3d(var(--parallax-x), var(--parallax-y), 0) rotate(-4deg);
}

.portal-orbit {
  z-index: 3;
  inset: 15% 5% 8% 12%;
  border: 2px solid rgba(255,255,255,.7);
  transform: translate3d(var(--parallax-x), var(--parallax-y), 0) rotate(16deg);
}

.portal-sun {
  z-index: 3;
  top: 11%;
  left: 13%;
  width: 92px;
  aspect-ratio: 1;
  background: #ff7f73;
  clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%);
  transform: translate3d(var(--parallax-x), var(--parallax-y), 0) rotate(14deg);
}

.portal-character {
  z-index: 6;
  right: -5%;
  bottom: -10%;
  width: 89%;
  max-height: 112%;
  object-fit: contain;
  object-position: right bottom;
  transform: translate3d(var(--parallax-x), var(--parallax-y), 0) rotate(-1deg);
  filter: drop-shadow(0 28px 24px rgba(15,38,35,.26));
}

.portal-cloud {
  z-index: 7;
  right: -9%;
  bottom: -11%;
  width: 74%;
  opacity: .9;
  transform: translate3d(var(--parallax-x), var(--parallax-y), 0);
}

.portal-word {
  z-index: 5;
  top: 19%;
  right: 0;
  color: rgba(255,255,255,.88);
  font-size: .72rem;
  font-weight: 800;
  writing-mode: vertical-rl;
  transform: translate3d(var(--parallax-x), var(--parallax-y), 0);
}

.portal-spark { z-index: 8; width: 17px; height: 17px; background: #fff; }
.portal-spark-one { top: 17%; right: 24%; transform: translate3d(var(--parallax-x), var(--parallax-y), 0) rotate(45deg); }
.portal-spark-two { right: 9%; bottom: 22%; width: 10px; height: 10px; background: #ffd45b; transform: translate3d(var(--parallax-x), var(--parallax-y), 0) rotate(45deg); }

.concept-portal.motion-enter .portal-plane-back { animation: portal-back-in 1000ms cubic-bezier(.2,.8,.2,1) both; }
.concept-portal.motion-enter .portal-plane-front { animation: portal-front-in 950ms 100ms cubic-bezier(.2,.8,.2,1) both; }
.concept-portal.motion-enter .portal-orbit { animation: portal-orbit-in 1050ms 170ms ease both; }
.concept-portal.motion-enter .portal-character { animation: portal-character-in 1100ms 300ms cubic-bezier(.16,.84,.24,1) both; }
.concept-portal.motion-enter .portal-cloud { animation: portal-cloud-in 950ms 470ms cubic-bezier(.2,.8,.2,1) both; }
.concept-portal.motion-enter .portal-sun { animation: portal-sun-in 820ms 250ms cubic-bezier(.2,.8,.2,1) both; }
.concept-portal.motion-enter .portal-word,
.concept-portal.motion-enter .portal-spark { animation: portal-detail-in 650ms 600ms ease both; }

@keyframes portal-back-in {
  0% { opacity: 0; clip-path: polygon(50% 48%, 52% 48%, 52% 52%, 50% 52%); transform: translate3d(170px, 180px, 0) rotate(-45deg) scale(.62); }
  100% { opacity: 1; clip-path: polygon(16% 0, 92% 8%, 100% 70%, 73% 100%, 5% 88%, 0 27%); transform: translate3d(var(--parallax-x), var(--parallax-y), 0) rotate(7deg) scale(1); }
}

@keyframes portal-front-in {
  0% { opacity: 0; clip-path: polygon(50% 50%, 50% 50%, 50% 50%, 50% 50%); transform: translate3d(190px, 220px, 0) rotate(48deg) scale(.62); }
  100% { opacity: 1; clip-path: polygon(10% 0, 100% 16%, 86% 100%, 0 78%); transform: translate3d(var(--parallax-x), var(--parallax-y), 0) rotate(-4deg) scale(1); }
}

@keyframes portal-orbit-in {
  0% { opacity: 0; transform: translate3d(var(--parallax-x), var(--parallax-y), 0) rotate(-26deg) scale(.65); }
  100% { opacity: 1; transform: translate3d(var(--parallax-x), var(--parallax-y), 0) rotate(16deg) scale(1); }
}

@keyframes portal-character-in {
  0% { opacity: 0; transform: translate3d(calc(var(--parallax-x) + 70px), calc(var(--parallax-y) + 620px), 0) rotate(8deg) scale(.88); }
  100% { opacity: 1; transform: translate3d(var(--parallax-x), var(--parallax-y), 0) rotate(-1deg) scale(1); }
}

@keyframes portal-cloud-in {
  0% { opacity: 0; transform: translate3d(calc(var(--parallax-x) + 180px), calc(var(--parallax-y) + 360px), 0) scale(.85); }
  100% { opacity: .9; transform: translate3d(var(--parallax-x), var(--parallax-y), 0); }
}

@keyframes portal-sun-in {
  0% { opacity: 0; transform: translate3d(var(--parallax-x), var(--parallax-y), 0) rotate(-40deg) scale(.3); }
  100% { opacity: 1; transform: translate3d(var(--parallax-x), var(--parallax-y), 0) rotate(14deg) scale(1); }
}

@keyframes portal-detail-in {
  0% { opacity: 0; transform: translate3d(var(--parallax-x), calc(var(--parallax-y) + 32px), 0) scale(.6); }
  100% { opacity: 1; }
}

.concept-fold { background: #e9f2ef; color: var(--ink); }
.concept-fold::before { position: absolute; inset: 0 0 0 82%; background: #f78591; content: ""; }
.fold-layout {
  position: relative;
  z-index: 2;
  display: grid;
  width: min(1480px, calc(100% - 96px));
  min-height: 760px;
  margin-inline: auto;
  grid-template-columns: minmax(620px, 1.45fr) minmax(310px, .62fr);
  align-items: center;
  gap: 52px;
}

.concept-fold .motion-index { color: #178980; }
.concept-fold .motion-copy > p { color: var(--muted); }
.fold-stage { position: relative; height: min(690px, 49vw); min-height: 590px; }
.fold-shape,
.fold-ring,
.fold-scene,
.fold-moon,
.fold-petal { position: absolute; display: block; }

.fold-shape-one {
  z-index: 1;
  inset: 7% 14% 5% 2%;
  background: #1d8d84;
  clip-path: polygon(8% 8%, 91% 0, 100% 70%, 66% 100%, 0 86%);
  transform: rotate(-4deg);
}

.fold-shape-two {
  z-index: 2;
  top: 4%;
  right: 3%;
  width: 48%;
  height: 42%;
  background: #f8c8cc;
  clip-path: polygon(15% 0, 100% 18%, 82% 100%, 0 75%);
  transform: rotate(9deg);
}

.fold-shape-three {
  z-index: 3;
  right: 6%;
  bottom: 4%;
  width: 55%;
  height: 32%;
  background: #ffd45b;
  clip-path: polygon(0 18%, 100% 0, 88% 100%, 12% 84%);
  transform: rotate(-5deg);
}

.fold-ring { z-index: 3; inset: 14% 9% 10% 16%; border: 2px solid #fff; transform: rotate(12deg); }
.fold-scene { z-index: 5; left: -3%; bottom: 0; width: 88%; max-height: 92%; object-fit: contain; object-position: left bottom; filter: drop-shadow(0 24px 22px rgba(30,72,68,.19)); }
.fold-moon { z-index: 7; top: 2%; right: -1%; width: 31%; filter: drop-shadow(0 16px 14px rgba(49,46,78,.2)); }
.fold-petal { z-index: 8; width: 14px; height: 22px; background: #f78591; clip-path: polygon(50% 0, 100% 55%, 50% 100%, 0 55%); }
.fold-petal-one { top: 17%; left: 7%; transform: rotate(28deg); }
.fold-petal-two { right: 19%; bottom: 14%; background: #fff; transform: rotate(-22deg); }

.concept-fold.motion-enter .fold-shape-one { animation: fold-one-in 1000ms cubic-bezier(.2,.8,.2,1) both; }
.concept-fold.motion-enter .fold-shape-two { animation: fold-two-in 930ms 100ms cubic-bezier(.2,.8,.2,1) both; }
.concept-fold.motion-enter .fold-shape-three { animation: fold-three-in 930ms 180ms cubic-bezier(.2,.8,.2,1) both; }
.concept-fold.motion-enter .fold-ring { animation: fold-ring-in 1050ms 200ms ease both; }
.concept-fold.motion-enter .fold-scene { animation: fold-scene-in 1100ms 300ms cubic-bezier(.16,.84,.24,1) both; }
.concept-fold.motion-enter .fold-moon { animation: fold-moon-in 850ms 520ms cubic-bezier(.2,.8,.2,1) both; }
.concept-fold.motion-enter .fold-petal { animation: fold-petal-in 620ms 650ms ease both; }

@keyframes fold-one-in {
  0% { opacity: 0; clip-path: polygon(50% 50%, 50% 50%, 50% 50%, 50% 50%, 50% 50%); transform: rotate(-28deg) scale(.65); }
  100% { opacity: 1; clip-path: polygon(8% 8%, 91% 0, 100% 70%, 66% 100%, 0 86%); transform: rotate(-4deg) scale(1); }
}

@keyframes fold-two-in { 0% { opacity: 0; transform: translate(100px,-70px) rotate(35deg) scale(.65); } 100% { opacity: 1; transform: translate(0) rotate(9deg) scale(1); } }
@keyframes fold-three-in { 0% { opacity: 0; transform: translate(110px,80px) rotate(-30deg) scale(.65); } 100% { opacity: 1; transform: translate(0) rotate(-5deg) scale(1); } }
@keyframes fold-ring-in { 0% { opacity: 0; transform: rotate(-30deg) scale(.6); } 100% { opacity: 1; transform: rotate(12deg) scale(1); } }
@keyframes fold-scene-in { 0% { opacity: 0; clip-path: inset(100% 0 0); transform: translateY(520px) scale(.9); } 100% { opacity: 1; clip-path: inset(0); transform: translateY(0) scale(1); } }
@keyframes fold-moon-in { 0% { opacity: 0; transform: translate(100px,180px) rotate(20deg) scale(.35); } 100% { opacity: 1; transform: translate(0) rotate(0) scale(1); } }
@keyframes fold-petal-in { 0% { opacity: 0; transform: translateY(50px) rotate(-20deg) scale(.4); } 100% { opacity: 1; } }

.concept-temple { background: #28292d; color: #fff; }
.concept-temple::before { position: absolute; inset: 0 0 0 89%; background: #d6ad43; content: ""; }
.temple-layout {
  position: relative;
  z-index: 2;
  display: grid;
  width: min(1480px, calc(100% - 96px));
  min-height: 760px;
  margin-inline: auto;
  grid-template-columns: minmax(320px, .66fr) minmax(650px, 1.5fr);
  align-items: center;
  gap: 32px;
}

.temple-stage { position: relative; height: min(720px, 50vw); min-height: 620px; }
.temple-geometry,
.temple-halo,
.temple-character,
.temple-cloud,
.temple-seal { position: absolute; display: block; }

.temple-geometry-back {
  z-index: 1;
  inset: 7% 1% 5% 10%;
  background: #d6ad43;
  clip-path: polygon(18% 0, 82% 5%, 100% 39%, 90% 88%, 48% 100%, 5% 82%, 0 30%);
  transform: rotate(5deg);
}

.temple-geometry-front {
  z-index: 2;
  inset: 16% 11% 13% 20%;
  background: #6c8979;
  clip-path: polygon(8% 16%, 72% 0, 100% 38%, 82% 100%, 14% 88%, 0 47%);
  transform: rotate(-5deg);
}

.temple-halo { z-index: 3; inset: 15% 7% 11% 17%; border: 2px solid rgba(255,255,255,.72); transform: rotate(14deg); }
.temple-character { z-index: 6; right: -8%; bottom: -8%; width: 92%; max-height: 112%; object-fit: contain; object-position: right bottom; filter: drop-shadow(0 28px 24px rgba(0,0,0,.28)); }
.temple-cloud { z-index: 4; width: 55%; opacity: .7; }
.temple-cloud-back { top: 5%; right: 0; transform: scaleX(-1); }
.temple-cloud-front { z-index: 7; right: -4%; bottom: -5%; width: 70%; }
.temple-seal { z-index: 8; top: 19%; right: 4%; width: 62px; padding: 14px 0; background: #fff; color: #28292d; clip-path: polygon(50% 0, 100% 18%, 88% 84%, 50% 100%, 12% 84%, 0 18%); font-size: .82rem; font-weight: 800; line-height: 1.5; text-align: center; }

.concept-temple.motion-enter .temple-geometry-back { animation: temple-back-in 1000ms cubic-bezier(.2,.8,.2,1) both; }
.concept-temple.motion-enter .temple-geometry-front { animation: temple-front-in 950ms 110ms cubic-bezier(.2,.8,.2,1) both; }
.concept-temple.motion-enter .temple-halo { animation: temple-halo-in 1050ms 180ms ease both; }
.concept-temple.motion-enter .temple-character { animation: temple-character-in 1150ms 300ms cubic-bezier(.16,.84,.24,1) both; }
.concept-temple.motion-enter .temple-cloud-back { animation: temple-cloud-back-in 900ms 430ms ease both; }
.concept-temple.motion-enter .temple-cloud-front { animation: temple-cloud-front-in 950ms 500ms ease both; }
.concept-temple.motion-enter .temple-seal { animation: temple-seal-in 650ms 650ms cubic-bezier(.2,.8,.2,1) both; }

@keyframes temple-back-in {
  0% { opacity: 0; clip-path: polygon(50% 0, 50% 0, 100% 50%, 100% 50%, 50% 100%, 50% 100%, 0 50%); transform: rotate(-35deg) scale(.55); }
  100% { opacity: 1; clip-path: polygon(18% 0, 82% 5%, 100% 39%, 90% 88%, 48% 100%, 5% 82%, 0 30%); transform: rotate(5deg) scale(1); }
}

@keyframes temple-front-in {
  0% { opacity: 0; clip-path: polygon(50% 0, 50% 0, 100% 50%, 50% 100%, 50% 100%, 0 50%); transform: rotate(28deg) scale(.6); }
  100% { opacity: 1; clip-path: polygon(8% 16%, 72% 0, 100% 38%, 82% 100%, 14% 88%, 0 47%); transform: rotate(-5deg) scale(1); }
}

@keyframes temple-halo-in { 0% { opacity: 0; transform: rotate(-32deg) scale(.55); } 100% { opacity: 1; transform: rotate(14deg) scale(1); } }
@keyframes temple-character-in { 0% { opacity: 0; transform: translateY(650px) rotate(5deg) scale(.88); } 100% { opacity: 1; transform: translateY(0) rotate(0) scale(1); } }
@keyframes temple-cloud-back-in { 0% { opacity: 0; transform: translate(160px,220px) scaleX(-1); } 100% { opacity: .7; transform: translate(0) scaleX(-1); } }
@keyframes temple-cloud-front-in { 0% { opacity: 0; transform: translate(180px,360px) scale(.85); } 100% { opacity: .7; transform: translate(0) scale(1); } }
@keyframes temple-seal-in { 0% { opacity: 0; transform: translateY(45px) scale(.5); } 100% { opacity: 1; transform: translateY(0) scale(1); } }

@media (max-width: 1100px) {
  .motion-copy h3 { font-size: 4rem; }
  .motion-concept-inner,
  .fold-layout,
  .temple-layout { width: calc(100% - 56px); grid-template-columns: minmax(270px, .65fr) minmax(500px, 1.3fr); gap: 20px; }
  .fold-layout { grid-template-columns: minmax(500px, 1.3fr) minmax(270px, .65fr); }
  .portal-stage,
  .fold-stage,
  .temple-stage { height: 58vw; min-height: 560px; }
}

@media (max-width: 760px) {
  .motion-lab { padding-top: 78px; }
  .motion-lab-heading { padding-bottom: 46px; }
  .motion-lab-heading h2 { font-size: 2.55rem; }
  .motion-concept { min-height: 0; }
  .motion-copy h3 { font-size: 3rem; }
  .motion-concept-inner,
  .fold-layout,
  .temple-layout { display: flex; width: 100%; min-height: 0; padding: 62px 18px 24px; flex-direction: column; align-items: stretch; gap: 28px; }
  .portal-stage,
  .fold-stage,
  .temple-stage { width: 100%; height: 116vw; min-height: 430px; max-height: 570px; }
  .concept-portal::before { width: 26%; }
  .portal-plane-back { top: 10%; right: -16%; width: 94%; }
  .portal-plane-front { right: -22%; bottom: 3%; width: 76%; }
  .portal-orbit { inset: 17% -10% 5% 4%; }
  .portal-sun { top: 13%; left: 3%; width: 62px; }
  .portal-character { right: -24%; bottom: -6%; width: 118%; max-width: none; }
  .portal-cloud { right: -24%; bottom: -8%; width: 100%; }
  .portal-word { display: none; }

  .concept-fold::before { inset: auto 0 0 0; height: 16%; }
  .fold-layout > .motion-copy { order: 1; }
  .fold-stage { order: 2; }
  .fold-shape-one { inset: 10% 5% 3% -16%; }
  .fold-shape-two { top: 3%; right: -15%; width: 58%; }
  .fold-shape-three { right: -12%; bottom: 3%; width: 65%; }
  .fold-ring { inset: 17% -8% 7% 1%; }
  .fold-scene { left: -16%; width: 108%; max-width: none; }
  .fold-moon { top: 1%; right: -7%; width: 38%; }

  .concept-temple::before { inset: auto 0 0 0; height: 15%; }
  .temple-geometry-back { inset: 9% -18% 4% 0; }
  .temple-geometry-front { inset: 18% -8% 10% 8%; }
  .temple-halo { inset: 17% -13% 9% 2%; }
  .temple-character { right: -27%; bottom: -5%; width: 125%; max-width: none; }
  .temple-cloud-back { right: -20%; width: 68%; }
  .temple-cloud-front { right: -25%; width: 93%; }
  .temple-seal { top: 16%; right: 0; width: 52px; }
}

/* Configurable game showcase: one background, any number of foregrounds and details. */
.motion-concept.motion-enabled .portal-foreground-host,
.motion-concept.motion-enabled .portal-decoration-host { opacity: 1; }

.motion-concept.motion-enabled .portal-scene,
.motion-concept.motion-enabled .portal-dynamic-layer { opacity: 0; }

.motion-copy { z-index: 20; transition: opacity 240ms ease, transform 300ms ease; }
.motion-concept.motion-enter .motion-copy > :nth-child(5) { animation: motion-copy-in 720ms 310ms cubic-bezier(.2,.8,.2,1) both; }

.concept-portal { background: #174a44; transition: background-color 500ms ease; }
.concept-portal::before { width: 12%; background: #ef786f; transition: width 500ms ease, background-color 500ms ease; }
.concept-portal[data-layout="spring"] { background: #3d343a; }
.concept-portal[data-layout="spring"]::before { width: 18%; background: #d994a3; }
.concept-portal[data-layout="celestial"] { background: #292b31; }
.concept-portal[data-layout="celestial"]::before { width: 9%; background: #c6a34a; }
.concept-portal[data-layout="blossom"] { background: #fffafa; }
.concept-portal[data-layout="blossom"]::before { width: 14%; background: #f7c9cf; }

body[data-page="home"] .concept-portal,
body[data-page="home"] .concept-portal[data-layout="spring"],
body[data-page="home"] .concept-portal[data-layout="celestial"],
body[data-page="home"] .concept-portal[data-layout="blossom"] {
  background: var(--paper);
  color: var(--ink);
}

body[data-page="home"] .concept-portal::before,
body[data-page="home"] .concept-portal[data-layout="spring"]::before,
body[data-page="home"] .concept-portal[data-layout="celestial"]::before,
body[data-page="home"] .concept-portal[data-layout="blossom"]::before { background: var(--paper); }

body[data-page="home"] .concept-portal .motion-index { color: var(--orange); }
body[data-page="home"] .concept-portal .motion-copy > p { color: var(--muted); }
body[data-page="home"] .concept-portal .portal-word { color: var(--muted); }
body[data-page="home"] .concept-portal .portal-game-switch button {
  border-color: rgba(48,52,55,.28);
  background: rgba(48,52,55,.05);
}
body[data-page="home"] .concept-portal .portal-game-switch button:hover { background: rgba(48,52,55,.1); }
body[data-page="home"] .concept-portal .portal-game-switch button.active { border-color: var(--orange); }
body[data-page="home"] .concept-portal .portal-game-switch button.active::after { border-color: rgba(255,138,0,.68); }

.motion-concept-inner { grid-template-columns: minmax(320px, .68fr) minmax(620px, 1.5fr); gap: 22px; }

.portal-game-switch { display: flex; min-height: 64px; margin-top: 38px; align-items: center; gap: 14px; }
.portal-game-switch button {
  position: relative;
  display: grid;
  width: 56px;
  height: 56px;
  padding: 0;
  overflow: hidden;
  place-items: center;
  border: 1px solid rgba(255,255,255,.44);
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  cursor: pointer;
  transition: border-color 180ms ease, transform 180ms ease, background 180ms ease;
}

.portal-game-switch button::after { position: absolute; inset: 4px; border: 1px solid transparent; border-radius: 50%; content: ""; transition: border-color 180ms ease; }
.portal-game-switch button:hover { transform: translateY(-3px); background: rgba(255,255,255,.16); }
.portal-game-switch button.active { border-color: #ffd45b; transform: scale(1.1); }
.portal-game-switch button.active::after { border-color: rgba(255,212,91,.8); }
.portal-game-switch img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; object-position: center; }

.portal-stage { --portal-stage-gap: calc(380px - clamp(300px, 24.5vw, 355px)); height: min(710px, 49vw); min-height: 600px; isolation: isolate; }
body[data-page="home"] .concept-portal[data-layout="travel"] .portal-stage {
  transform: translateY(clamp(0px, calc(672px - 40vw), 64px));
}
.portal-plane,
.portal-scene,
.portal-orbit,
.portal-dynamic-layer,
.portal-word { position: absolute; display: block; }

.portal-plane-back {
  z-index: 1;
  top: auto;
  right: -1%;
  bottom: calc(-1% - var(--portal-stage-gap));
  width: 91%;
  height: 62%;
  aspect-ratio: auto;
  background: #70d6ce;
  clip-path: polygon(15% 2%, 86% 0, 100% 24%, 100% 100%, 0 100%, 0 28%);
  transform: translate3d(var(--parallax-x), var(--parallax-y), 0) rotate(6deg);
  transition: top 520ms cubic-bezier(.2,.8,.2,1), right 520ms cubic-bezier(.2,.8,.2,1), width 520ms cubic-bezier(.2,.8,.2,1), height 520ms cubic-bezier(.2,.8,.2,1), clip-path 520ms ease, background-color 520ms ease, transform 180ms ease-out, opacity 220ms ease;
}

.portal-scene {
  z-index: 2;
  top: auto;
  right: 1%;
  bottom: calc(0px - var(--portal-stage-gap));
  width: 87%;
  height: 52%;
  overflow: hidden;
  background: #9edfdc;
  clip-path: polygon(17% 0, 88% 5%, 100% 24%, 100% 100%, 0 100%, 4% 25%);
  transform: translate3d(var(--parallax-x), var(--parallax-y), 0);
  transition: top 520ms cubic-bezier(.2,.8,.2,1), right 520ms cubic-bezier(.2,.8,.2,1), width 520ms cubic-bezier(.2,.8,.2,1), height 520ms cubic-bezier(.2,.8,.2,1), clip-path 520ms ease, transform 180ms ease-out, opacity 220ms ease;
}

.portal-scene img { width: 118%; height: 118%; max-width: none; object-fit: cover; object-position: center 55%; transform: translate(-7%, -7%) scale(1.04); }

.concept-portal[data-layout="blossom"] .portal-plane-back {
  inset: 0;
  width: 100%;
  height: 100%;
  background: #f6c9cf;
  clip-path: polygon(21% 29%, 86% 43%, 99% 59%, 99% 79%, 87% 100%, 2% 100%, 7% 51%);
  transform: translate3d(var(--parallax-x), calc(var(--parallax-y) + 3%), 0);
}

.concept-portal[data-layout="blossom"] .portal-scene {
  inset: 0;
  width: 100%;
  height: 100%;
  clip-path: polygon(21.5% 32%, 84.8% 45.2%, 97% 60%, 97% 76.5%, 87.4% 100%, 1.8% 100%, 8.5% 53%);
  transform: translate3d(var(--parallax-x), calc(var(--parallax-y) + 3%), 0);
}

.concept-portal[data-layout="blossom"] .portal-scene img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: none;
}

.concept-portal[data-layout="blossom"] .portal-orbit {
  display: none;
}

.concept-portal[data-layout="blossom"] .portal-blossom-layer {
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  filter: none;
}

body[data-page="home"] .concept-portal[data-layout="blossom"] .portal-stage {
  width: min(100%, 1280px);
  align-self: end;
  justify-self: end;
}

.concept-portal[data-layout="travel"] .portal-plane-back {
  right: -2%;
  bottom: calc(-8% - var(--portal-stage-gap) - 50px);
  width: 98%;
  height: 94%;
  clip-path: polygon(15% 2%, 86% 0, 100% 24%, 100% 100%, 0 100%, 0 28%);
}
.concept-portal[data-layout="travel"] .portal-scene {
  right: 0;
  bottom: calc(-7% - var(--portal-stage-gap) - 50px);
  width: 96%;
  height: 88%;
  clip-path: polygon(17% 0, 88% 5%, 100% 24%, 100% 100%, 0 100%, 4% 25%);
}
.concept-portal[data-layout="travel"] .portal-scene img {
  width: 106%;
  height: 106%;
  object-position: center bottom;
  transform: translate(-3%, -4%);
}
.concept-portal[data-layout="travel"] .portal-orbit {
  inset: auto -2% calc(-7% - var(--portal-stage-gap) - 50px) 4%;
  height: 92%;
  clip-path: polygon(16% 0, 91% 7%, 100% 72%, 76% 100%, 0 86%, 3% 24%);
}
.concept-portal[data-layout="travel"] .portal-stage::after {
  position: absolute;
  z-index: 9;
  right: -2%;
  bottom: calc(50% - 380px);
  width: 43%;
  height: 22%;
  background: var(--paper);
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
  content: "";
  pointer-events: none;
}
.concept-portal[data-layout="travel"] .portal-comeback-adult { top: auto; bottom: -3.5%; }
.concept-portal[data-layout="travel"] .portal-comeback-child { top: auto; bottom: -1.5%; }

@media (min-width: 1200px) {
  body[data-page="home"] .motion-concept,
  body[data-page="home"] .motion-concept-inner { min-height: 820px; }

  body[data-page="home"] .motion-concept-inner {
    width: min(1720px, calc(100% - 48px));
    grid-template-columns: minmax(320px, .6fr) minmax(760px, 1.65fr);
    gap: 10px;
  }

  body[data-page="home"] .portal-stage {
    height: min(800px, 51vw);
    min-height: 700px;
  }

  body[data-page="home"] .concept-portal[data-layout="travel"] .portal-stage::after {
    bottom: calc(50% - 410px);
  }
}

.portal-orbit {
  z-index: 3;
  inset: auto 0 calc(0px - var(--portal-stage-gap)) 9%;
  height: 63%;
  border: 2px solid rgba(255,255,255,.72);
  clip-path: polygon(16% 0, 91% 7%, 100% 72%, 76% 100%, 0 86%, 3% 24%);
  transform: translate3d(var(--parallax-x), var(--parallax-y), 0) rotate(13deg);
  transition: inset 520ms cubic-bezier(.2,.8,.2,1), clip-path 520ms ease, border-radius 520ms ease, transform 180ms ease-out, opacity 220ms ease;
}

.portal-foreground-host,
.portal-decoration-host { display: contents; }

.portal-dynamic-layer {
  z-index: var(--layer-z);
  top: var(--layer-top);
  left: var(--layer-left);
  width: var(--layer-width);
  max-width: none;
  transform: translate3d(var(--parallax-x), var(--parallax-y), 0) rotate(var(--layer-rotate));
  transition: transform 180ms ease-out, opacity 220ms ease;
  will-change: transform;
}

img.portal-dynamic-layer { height: auto; object-fit: contain; filter: drop-shadow(0 25px 24px rgba(10,24,22,.22)); }
.portal-decoration { aspect-ratio: 1; }
img.portal-birds { height: auto; aspect-ratio: auto; filter: none; }
.portal-decoration-hex { background: #ffd45b; clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%); }
.portal-decoration-diamond { background: #fff; clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); }
.portal-decoration-petal { aspect-ratio: 1.8; border-radius: 100% 0 100% 0; background: #f3abb9; }
.portal-decoration-seal { display: grid; place-items: center; border: 2px solid #f1d785; color: #f1d785; font-size: clamp(.65rem, 1.1vw, 1rem); font-weight: 800; line-height: 1; }

.portal-word { z-index: 12; top: 18%; right: -1%; color: rgba(255,255,255,.88); font-size: .7rem; letter-spacing: 0; transition: top 520ms ease, right 520ms ease, transform 180ms ease-out, opacity 220ms ease; }

.concept-portal[data-layout="spring"] .portal-plane-back { top: auto; right: 7%; bottom: calc(-1% - var(--portal-stage-gap)); width: 84%; height: 60%; background: #f2b8c3; clip-path: polygon(8% 17%, 72% 0, 100% 25%, 100% 100%, 0 100%, 0 28%); transform: translate3d(var(--parallax-x), var(--parallax-y), 0) rotate(-7deg); }
.concept-portal[data-layout="spring"] .portal-scene { top: auto; right: 10%; bottom: calc(0px - var(--portal-stage-gap)); width: 82%; height: 49%; clip-path: polygon(5% 19%, 75% 0, 100% 29%, 100% 100%, 0 100%, 0 25%); transform: translate3d(var(--parallax-x), var(--parallax-y), 0); }
.concept-portal[data-layout="spring"] .portal-scene img { width: 120%; height: 120%; transform: translate(-8%,-9%) scale(1.03); }
.concept-portal[data-layout="spring"] .portal-orbit { inset: auto 9% calc(0px - var(--portal-stage-gap)) 3%; height: 63%; border-radius: 46% 54% 43% 57%; clip-path: none; transform: translate3d(var(--parallax-x), var(--parallax-y), 0) rotate(-11deg); }
.concept-portal[data-layout="spring"] .portal-word { top: 12%; right: 4%; }

.concept-portal[data-layout="celestial"] .portal-plane-back { top: auto; right: -5%; bottom: calc(-1% - var(--portal-stage-gap)); width: 94%; height: 62%; background: #c7a84d; clip-path: polygon(26% 0, 88% 9%, 100% 25%, 100% 100%, 0 100%, 8% 13%); transform: translate3d(var(--parallax-x), var(--parallax-y), 0) rotate(9deg); }
.concept-portal[data-layout="celestial"] .portal-scene { top: auto; right: -2%; bottom: calc(0px - var(--portal-stage-gap)); width: 88%; height: 51%; clip-path: polygon(28% 0, 91% 13%, 100% 26%, 100% 100%, 0 100%, 9% 12%); transform: translate3d(var(--parallax-x), var(--parallax-y), 0); }
.concept-portal[data-layout="celestial"] .portal-scene img { width: 122%; height: 122%; transform: translate(-9%,-9%) scale(1.02); }
.concept-portal[data-layout="celestial"] .portal-orbit { inset: auto -3% calc(0px - var(--portal-stage-gap)) 7%; height: 63%; border-radius: 50%; clip-path: none; transform: translate3d(var(--parallax-x), var(--parallax-y), 0) rotate(24deg); }
.concept-portal[data-layout="celestial"] .portal-word { top: 22%; right: -2%; color: #f1d785; }

.concept-portal.motion-enter .portal-plane-back { animation: portal-plane-config-in 1000ms cubic-bezier(.2,.8,.2,1) both; }
.concept-portal.motion-enter .portal-scene { animation: portal-scene-config-in 1040ms 110ms cubic-bezier(.2,.8,.2,1) both; }
.concept-portal.motion-enter .portal-orbit { animation: portal-orbit-config-in 1050ms 190ms cubic-bezier(.2,.8,.2,1) both; }
.concept-portal.motion-enter .portal-foreground { animation: portal-foreground-in 1120ms var(--layer-delay) cubic-bezier(.16,.84,.24,1) both; }
.concept-portal.motion-enter .portal-decoration { animation: portal-decoration-in 760ms var(--layer-delay) cubic-bezier(.2,.8,.2,1) both; }
.concept-portal.motion-enter .portal-word { animation: portal-detail-in 650ms 650ms ease both; }

.concept-portal.motion-enter.portal-settled .portal-plane-back,
.concept-portal.motion-enter.portal-settled .portal-scene,
.concept-portal.motion-enter.portal-settled .portal-orbit,
.concept-portal.motion-enter.portal-settled .portal-dynamic-layer,
.concept-portal.motion-enter.portal-settled .portal-word { opacity: 1; animation: none; }

.concept-portal.portal-changing .motion-copy { opacity: 0; transform: translateY(-18px); }
.concept-portal.portal-changing .portal-plane-back { animation: none !important; opacity: 0; transform: translate3d(calc(var(--parallax-x) + 90px), calc(var(--parallax-y) - 40px), 0) rotate(32deg) scale(.82); }
.concept-portal.portal-changing .portal-scene { animation: none !important; opacity: 0; transform: translate3d(calc(var(--parallax-x) + 120px), calc(var(--parallax-y) + 50px), 0) rotate(-22deg) scale(.82); }
.concept-portal.portal-changing .portal-orbit { animation: none !important; opacity: 0; transform: translate3d(var(--parallax-x), var(--parallax-y), 0) rotate(42deg) scale(.76); }
.concept-portal.portal-changing .portal-foreground { animation: none !important; opacity: 0; transform: translate3d(calc(var(--parallax-x) + 30px), calc(var(--parallax-y) + 170px), 0) rotate(calc(var(--layer-rotate) + 7deg)) scale(.92); }
.concept-portal.portal-changing .portal-decoration { animation: none !important; opacity: 0; transform: translate3d(calc(var(--parallax-x) + 80px), calc(var(--parallax-y) - 60px), 0) rotate(calc(var(--layer-rotate) + 35deg)) scale(.5); }
.concept-portal.portal-changing .portal-word { animation: none !important; opacity: 0; }

@keyframes portal-plane-config-in {
  0% { opacity: 0; transform: translate3d(calc(var(--parallax-x) + 190px), calc(var(--parallax-y) + 150px), 0) rotate(-46deg) scale(.56); }
  100% { opacity: 1; }
}

@keyframes portal-scene-config-in {
  0% { opacity: 0; transform: translate3d(calc(var(--parallax-x) + 160px), calc(var(--parallax-y) + 180px), 0) rotate(-38deg) scale(.62); }
  100% { opacity: 1; }
}

@keyframes portal-orbit-config-in {
  0% { opacity: 0; transform: translate3d(var(--parallax-x), var(--parallax-y), 0) rotate(-34deg) scale(.62); }
  100% { opacity: 1; }
}

@keyframes portal-foreground-in {
  0% { opacity: 0; transform: translate3d(calc(var(--parallax-x) + 45px), calc(var(--parallax-y) + 520px), 0) rotate(calc(var(--layer-rotate) + 7deg)) scale(.88); }
  100% { opacity: 1; transform: translate3d(var(--parallax-x), var(--parallax-y), 0) rotate(var(--layer-rotate)) scale(1); }
}

@keyframes portal-decoration-in {
  0% { opacity: 0; transform: translate3d(calc(var(--parallax-x) + 60px), calc(var(--parallax-y) + 70px), 0) rotate(calc(var(--layer-rotate) - 45deg)) scale(.25); }
  100% { opacity: 1; transform: translate3d(var(--parallax-x), var(--parallax-y), 0) rotate(var(--layer-rotate)) scale(1); }
}

@media (max-width: 1100px) {
  .motion-concept-inner { grid-template-columns: minmax(270px, .65fr) minmax(500px, 1.3fr); gap: 16px; }
  .portal-stage { --portal-stage-gap: calc(380px - max(280px, 29vw)); height: 58vw; min-height: 560px; }
}

@media (max-width: 760px) {
  .motion-concept-inner { gap: 18px; padding: 58px 18px 18px; }
  .portal-game-switch { min-height: 54px; margin-top: 28px; }
  .portal-game-switch button { width: 48px; height: 48px; }
  .portal-stage { --portal-stage-gap: 75px; height: 116vw; min-height: 430px; max-height: 570px; }
  body[data-page="home"] .concept-portal[data-layout="travel"] .portal-stage { transform: none; }
  .concept-portal[data-layout="travel"] .portal-stage::after { bottom: -18px; }
  .concept-portal::before,
  .concept-portal[data-layout="spring"]::before,
  .concept-portal[data-layout="celestial"]::before,
  .concept-portal[data-layout="blossom"]::before { width: 22%; }
  .portal-plane-back { top: auto; right: -18%; bottom: calc(-1% - var(--portal-stage-gap)); width: 108%; height: 59%; }
  .portal-scene { top: auto; right: -14%; bottom: calc(0px - var(--portal-stage-gap)); width: 101%; height: 48%; }
  .portal-orbit { inset: auto -18% calc(0px - var(--portal-stage-gap)) 0; height: 57%; }
  .portal-dynamic-layer { top: var(--layer-top-mobile); left: var(--layer-left-mobile); width: var(--layer-width-mobile); }
  body[data-page="home"] .concept-portal[data-layout="blossom"] .portal-stage { width: 112%; margin-left: -6%; align-self: center; }
  .concept-portal[data-layout="spring"] .portal-plane-back { top: auto; right: -7%; bottom: calc(-1% - var(--portal-stage-gap)); width: 101%; height: 57%; }
  .concept-portal[data-layout="spring"] .portal-scene { top: auto; right: -3%; bottom: calc(0px - var(--portal-stage-gap)); width: 96%; height: 46%; }
  .concept-portal[data-layout="spring"] .portal-orbit { inset: auto -5% calc(0px - var(--portal-stage-gap)) -4%; height: 57%; }
  .concept-portal[data-layout="celestial"] .portal-plane-back { top: auto; right: -18%; bottom: calc(-1% - var(--portal-stage-gap)); width: 110%; height: 59%; }
  .concept-portal[data-layout="celestial"] .portal-scene { top: auto; right: -13%; bottom: calc(0px - var(--portal-stage-gap)); width: 103%; height: 48%; }
  .concept-portal[data-layout="celestial"] .portal-orbit { inset: auto -17% calc(0px - var(--portal-stage-gap)) -1%; height: 59%; }
}

@media (prefers-reduced-motion: reduce) {
  .motion-concept *,
  .motion-concept *::before,
  .motion-concept *::after { animation-duration: .01ms !important; animation-delay: 0ms !important; transition-duration: .01ms !important; }
}

.next-page-band { padding: 66px 0; background: var(--orange); color: #fff; }
.next-page-band .container { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.next-page-band p { margin: 0; font-size: 1.35rem; font-weight: 800; }
.next-page-band a { padding-bottom: 5px; border-bottom: 1px solid #fff; font-weight: 800; }

.about-hero {
  isolation: isolate;
  min-height: min(780px, 86svh);
  background: #242829;
}

.about-hero .page-hero-copy { width: min(560px, 100%); color: #fff; }
.about-hero .page-hero-copy::before {
  display: block;
  width: 46px;
  height: 6px;
  margin-bottom: 32px;
  background: var(--orange);
  content: "";
}
.about-hero .eyebrow { color: #ffad42; }
.about-hero .page-hero-copy h1 { font-size: clamp(3.6rem, 4.4vw, 5.2rem); }
.about-hero .page-hero-copy > p:last-child { max-width: 500px; color: rgba(255, 255, 255, .76); }

.about-visual {
  position: absolute;
  z-index: 0;
  inset: 0;
  overflow: hidden;
  background: #242829;
}

.about-visual::before {
  position: absolute;
  z-index: 1;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(18, 21, 22, .8) 0%, rgba(18, 21, 22, .62) 37%, rgba(18, 21, 22, .18) 70%, rgba(18, 21, 22, .28) 100%),
    linear-gradient(0deg, rgba(18, 21, 22, .46), transparent 55%);
  content: "";
}

.about-visual::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: rgba(25, 29, 30, .08);
  content: "";
  pointer-events: none;
}

.about-visual > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 48%;
  transform: scale(1.015);
}

.about-founded {
  position: absolute;
  z-index: 2;
  right: max(5vw, calc((100% - 1160px) / 2));
  bottom: 52px;
  display: flex;
  min-width: 0;
  align-items: flex-end;
  gap: 22px;
  padding: 0 0 0 18px;
  border-left: 4px solid var(--orange);
  color: #fff;
  text-shadow: 0 2px 18px rgba(0, 0, 0, .24);
}

.about-founded span {
  padding-bottom: 5px;
  font-size: .68rem;
  font-weight: 800;
  line-height: 1.35;
}

.about-founded b { font-size: 4.8rem; line-height: .82; }

.about-video-section {
  padding: 96px 0;
  background: #f6f8f7;
}

.about-video-shell {
  width: min(1160px, calc(100% - 64px));
  margin-inline: auto;
  overflow: hidden;
  background: var(--ink);
  box-shadow: var(--shadow);
}

.about-video-player {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #202427;
}

.about-video-player video {
  display: block;
  width: 100%;
  height: 100%;
  background: #202427;
  object-fit: contain;
}

.about-video-tabs {
  display: flex;
  min-height: 142px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 18px;
  background: var(--ink);
}

.about-video-tab {
  position: relative;
  width: min(230px, 25%);
  aspect-ratio: 16 / 9;
  padding: 0;
  overflow: visible;
  border: 2px solid transparent;
  border-radius: 2px;
  background: #202427;
  cursor: pointer;
  opacity: .68;
  transition: border-color 180ms ease, opacity 180ms ease, transform 180ms ease;
}

.about-video-tab::before {
  position: absolute;
  z-index: 2;
  top: -12px;
  left: 50%;
  width: 0;
  height: 0;
  border-right: 9px solid transparent;
  border-bottom: 9px solid #fff;
  border-left: 9px solid transparent;
  content: "";
  opacity: 0;
  transform: translateX(-50%);
}

.about-video-tab img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-video-tab:hover,
.about-video-tab.active {
  border-color: #fff;
  opacity: 1;
  transform: translateY(-2px);
}

.about-video-tab.active::before { opacity: 1; }
.about-video-tab:focus-visible { outline-color: var(--yellow); }

.story-section { background: #fff; }
.story-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 96px; }
.story-copy p { color: var(--muted); font-size: 1rem; }

.milestones { background: #f6f8f7; }
.timeline { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 42px; border-top: 2px solid var(--ink); }
.timeline-item { position: relative; min-height: 230px; padding: 34px 42px 30px 0; border-right: 1px solid var(--line); }
.timeline-item::before { position: absolute; top: -8px; left: 0; width: 14px; height: 14px; border: 3px solid #f6f8f7; border-radius: 50%; background: var(--orange); content: ""; }
.timeline-item span { display: block; margin-bottom: 42px; color: var(--orange); font-size: .78rem; font-weight: 800; }
.timeline-item strong { display: block; margin-bottom: 10px; font-size: 1.15rem; }
.timeline-item p { color: var(--muted); font-size: .86rem; }
.timeline-item.placeholder::before { background: var(--mint); }

.values-big { background: #fff; }
.value-lines { border-top: 1px solid var(--line); }
.value-lines article { display: grid; padding: 34px 0; grid-template-columns: 100px 1fr 1.5fr; gap: 34px; border-bottom: 1px solid var(--line); align-items: center; }
.value-lines span { color: var(--orange); font-size: .74rem; font-weight: 800; }
.value-lines h3 { font-size: 2.15rem; }
.value-lines p { margin: 0; color: var(--muted); }

.honors-section { overflow: hidden; background: #fff; }
.honors-intro { width: 300px; }
.honors-intro p { margin: 0; color: var(--muted); font-size: .85rem; }
.honors-gallery-shell { width: min(1320px, calc(100% - 112px)); }
.honors-viewport { padding: 10px 4px 18px; }
.honors-track { gap: 22px; align-items: stretch; }
.honor-slot {
  position: relative;
  width: clamp(210px, 18vw, 270px);
  aspect-ratio: .72;
  margin: 0;
  flex: 0 0 auto;
  overflow: hidden;
  border: 1px solid #e1e3e1;
  border-radius: 4px;
  background: #f7f6f1;
  box-shadow: 0 8px 22px rgba(48, 52, 55, .08);
  scroll-snap-align: start;
  transition: border-color 240ms ease, box-shadow 240ms ease, transform 240ms ease;
}
.honor-slot:hover { border-color: #c9ccca; box-shadow: 0 16px 34px rgba(48, 52, 55, .14); transform: translateY(-5px); }
.honor-slot > img { width: 100%; height: 100%; object-fit: contain; pointer-events: none; user-select: none; }
.honor-preview {
  position: absolute;
  inset: 13px;
  display: flex;
  border: 1px solid currentColor;
  color: #ae7e36;
  text-align: center;
  align-items: center;
  flex-direction: column;
  justify-content: center;
}
.honor-preview::before, .honor-preview::after { position: absolute; inset: 6px; border: 1px solid currentColor; content: ""; opacity: .35; }
.honor-preview::after { inset: 12px; }
.honor-preview span { margin-bottom: 34px; font-size: .63rem; font-weight: 800; letter-spacing: 0; }
.honor-preview b { color: var(--ink); font-size: 1.55rem; letter-spacing: 0; }
.honor-preview i { width: 42px; height: 42px; margin: 22px 0 26px; border: 2px solid currentColor; border-radius: 50%; }
.honor-preview i::before { display: block; margin-top: 12px; content: "K"; font-size: .75rem; font-style: normal; font-weight: 900; }
.honor-preview small { color: #777b78; font-size: .72rem; letter-spacing: 0; }
.honor-green { background: #f2f7f4; }
.honor-green .honor-preview { color: #528073; }
.honor-blue { background: #f1f5f7; }
.honor-blue .honor-preview { color: #58768b; }
.honors-section .team-gallery-pagination { margin-top: 14px; }

.team-gallery-section { overflow: hidden; background: #f7f8f7; }
.team-gallery-meta { width: 300px; }
.team-gallery-meta > p { margin: 0; color: var(--muted); font-size: .85rem; }
.team-gallery-shell { position: relative; width: min(1160px, calc(100% - 160px)); margin-inline: auto; }
.team-gallery-arrow {
  position: absolute;
  z-index: 4;
  top: 50%;
  display: grid;
  width: 54px;
  height: 64px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #a1a5a3;
  box-shadow: none;
  font-size: 4rem;
  font-weight: 300;
  line-height: 1;
  cursor: pointer;
  place-items: center;
  transform: translateY(-50%);
  transition: background-color 240ms ease, color 240ms ease, opacity 240ms ease, transform 240ms ease;
}
.team-gallery-arrow.previous { left: -70px; }
.team-gallery-arrow.next { right: -70px; }
.team-gallery-arrow:hover:not(:disabled) { background: transparent; color: var(--ink); transform: translateY(-50%) scale(1.1); }
.team-gallery-arrow:disabled { cursor: default; opacity: .48; }
.team-gallery-viewport {
  overflow-x: auto;
  padding: 0;
  outline: none;
  cursor: grab;
  scroll-padding-left: 0;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  overscroll-behavior-inline: contain;
  -webkit-overflow-scrolling: touch;
}
.team-gallery-viewport.dragging { cursor: grabbing; scroll-snap-type: none; }
.team-gallery-viewport.dragging .photo-slot,
.team-gallery-viewport.dragging .honor-slot { box-shadow: none; transform: none; }
.team-gallery-viewport::-webkit-scrollbar { display: none; }
.team-gallery-viewport:focus-visible { outline: 3px solid var(--yellow); outline-offset: -3px; }
.team-placeholders {
  display: flex;
  width: max-content;
  gap: 16px;
  margin: 0;
  align-items: center;
}
.photo-slot {
  position: relative;
  width: auto;
  height: clamp(320px, 26vw, 460px);
  margin: 0;
  aspect-ratio: var(--photo-aspect, 1);
  flex: 0 0 auto;
  overflow: hidden;
  border-radius: 6px;
  scroll-snap-align: start;
  transition: filter 360ms ease;
}
.photo-slot:hover { filter: brightness(1.04); }
.photo-slot::before, .photo-slot::after { position: absolute; border-radius: 50%; content: ""; }
.photo-slot::before { top: 20%; left: 22%; width: 42%; aspect-ratio: 1; background: rgba(255,255,255,.36); }
.photo-slot::after { right: -14%; bottom: -16%; width: 54%; aspect-ratio: 1; background: rgba(255,255,255,.22); }
.photo-slot.has-photo::before, .photo-slot.has-photo::after { display: none; }
.photo-slot > img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; user-select: none; transition: transform 520ms ease; }
.photo-slot:hover > img { transform: scale(1.055); }
.team-gallery-pagination { display: flex; min-height: 12px; margin-top: 24px; justify-content: center; gap: 10px; }
.team-gallery-pagination button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #b9bcba;
  cursor: pointer;
  transition: background-color 200ms ease, transform 200ms ease;
}
.team-gallery-pagination button.active { background: var(--orange); transform: scale(1.25); }
.slot-coral { background: var(--coral); }
.slot-yellow { background: var(--yellow); }
.slot-mint { background: var(--mint); }
.slot-blue { background: var(--blue); }
.slot-orange { background: var(--orange); }
.slot-ink { background: var(--ink); }

.journey-section { overflow: hidden; background: #eef4f1; }
.journey-heading {
  display: grid;
  margin-bottom: 54px;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 64px;
  align-items: end;
}
.journey-heading h2 { font-size: 3.4rem; }
.journey-heading > p { margin: 0; color: var(--muted); font-size: .92rem; }
.journey-stage { --journey-gap: 14px; --journey-half-gap: 7px; display: grid; width: 100%; height: 650px; gap: var(--journey-gap); overflow: hidden; }
.journey-row { min-width: 0; overflow: hidden; }
.journey-track {
  display: flex;
  width: max-content;
  height: 100%;
  gap: var(--journey-gap);
  animation: journey-scroll 150s linear infinite;
  will-change: transform;
}
.journey-row--reverse .journey-track { animation-direction: reverse; animation-duration: 165s; }
.journey-photo {
  position: relative;
  height: 100%;
  margin: 0;
  flex: 0 0 auto;
  overflow: hidden;
  background: #202523;
}
.journey-photo > img {
  width: auto;
  height: 100%;
  max-width: none;
  object-fit: contain;
  transition: transform 700ms cubic-bezier(.2, .7, .2, 1);
}
.journey-photo::after {
  position: absolute;
  inset: 45% 0 0;
  background: linear-gradient(180deg, transparent, rgba(20, 25, 24, .72));
  content: "";
  pointer-events: none;
}
.journey-photo figcaption {
  position: absolute;
  z-index: 1;
  right: 24px;
  bottom: 22px;
  left: 24px;
  display: flex;
  color: #fff;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
}
.journey-photo figcaption span { font-size: .7rem; font-weight: 700; }
.journey-photo figcaption strong { max-width: 70%; font-size: 1rem; text-align: right; }
.journey-photo:hover > img { transform: scale(1.035); }
@keyframes journey-scroll { to { transform: translateX(calc(-50% - var(--journey-half-gap))); } }

.contact-hero { background: #eaf9f8; }
.contact-hero-city { position: absolute; right: 2%; bottom: -2%; color: rgba(57, 184, 173, .18); text-align: right; }
.contact-hero-city span { display: block; font-size: 17rem; font-weight: 900; line-height: .85; }
.contact-hero-city small { color: var(--mint-dark); font-size: 1rem; font-weight: 800; }

.contact-content { background: #fff; }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 100px; }
.contact-intro h2 { margin-bottom: 22px; }
.contact-intro > p:last-child { color: var(--muted); }
.contact-list { border-top: 1px solid var(--line); }
.contact-list div { display: grid; padding: 25px 0; grid-template-columns: 120px 1fr; border-bottom: 1px solid var(--line); gap: 24px; }
.contact-list span { color: var(--muted); font-size: .8rem; }
.contact-list strong { min-width: 0; font-size: .95rem; overflow-wrap: anywhere; }

.map-placeholder { position: relative; display: grid; min-height: 500px; place-items: center; overflow: hidden; background: #f4f0e9; }
.map-grid { position: absolute; inset: -30px; opacity: .48; background-image: linear-gradient(#d9d1c4 1px, transparent 1px), linear-gradient(90deg, #d9d1c4 1px, transparent 1px); background-size: 70px 70px; transform: rotate(-4deg); }
.map-grid::before, .map-grid::after { position: absolute; height: 28px; background: #fff; content: ""; transform: rotate(18deg); }
.map-grid::before { top: 40%; left: -10%; width: 120%; }
.map-grid::after { top: 12%; left: 28%; width: 80%; transform: rotate(67deg); }
.map-pin { position: relative; z-index: 2; display: flex; min-width: 220px; padding: 22px; flex-direction: column; align-items: center; border-radius: 6px; background: #fff; box-shadow: var(--shadow); text-align: center; }
.map-pin i { width: 26px; height: 26px; margin-bottom: 14px; border: 7px solid var(--orange); border-radius: 50%; background: #fff; }
.map-pin span { margin-bottom: 4px; font-weight: 800; }
.map-pin small { color: var(--muted); font-size: .67rem; }

.contact-note { background: var(--mint-dark); color: #fff; }
.contact-note .container { display: flex; align-items: center; gap: 70px; }
.contact-note img { width: 300px; }
.contact-note p { margin-bottom: 10px; font-size: .82rem; font-weight: 800; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity 650ms ease, transform 650ms ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (min-width: 761px) {
  .hero-content {
    margin-left: 5vw;
    margin-right: auto;
  }
}

@media (min-width: 1920px) {
  .hero-content {
    min-height: max(min(970px, calc(100svh + 122px)), calc(100svh - 222px));
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

@media (max-width: 1024px) {
  body[data-page="home"] { --home-grid-width: min(650px, calc(100% - 48px)); }
  .desktop-nav { gap: 24px; }
  .hero-content h1 { font-size: 4.4rem; }
  .game-cover-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 24px; }
  .game-feature { aspect-ratio: 2 / 1; grid-template-columns: 3fr 2fr; }
  .game-feature-reverse { grid-template-columns: 2fr 3fr; }
  .game-feature-copy { padding: 38px; }
  .game-feature-copy h2 { font-size: 3rem; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .value-item { min-height: 310px; }
  .intro-grid, .team-preview-grid { grid-template-columns: 1fr; gap: 38px; }
  .intro-copy, .team-photo { width: 100%; max-width: none; justify-self: start; }
  .games-hero-art { opacity: .65; }
  .page-hero-copy h1 { font-size: 4rem; }
}

@media (max-width: 900px) {
  .game-feature,
  .game-feature-reverse { width: calc(100% - 40px); aspect-ratio: auto; grid-template-columns: 1fr; }
  .game-feature-image { aspect-ratio: 16 / 9; order: 1; }
  .game-feature-copy { padding: 42px 38px 46px; order: 2; }
}

@media (min-width: 1025px) and (max-width: 1180px) {
  body[data-page="home"] { --home-grid-width: min(860px, calc(100% - 48px)); }

  .game-cover-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 42px 22px;
  }

}

@media (max-width: 760px) {
  :root { --header-h: 66px; }
  body[data-page="home"] { --home-grid-width: min(360px, calc(100% - 36px)); }
  .container { width: min(calc(100% - 36px), 1160px); }
  .section-pad { padding: 78px 0; }
  h2 { font-size: 2.1rem; }
  h3 { font-size: 1.6rem; }
  .site-header { height: var(--header-h); padding: 0 18px; }
  .site-header.scrolled { height: var(--header-h); }
  .brand img { width: 155px; }
  .desktop-nav { display: none; }
  .menu-toggle { display: block; }

  .home-hero { height: auto; min-height: 0; }
  .hero-content { height: auto; min-height: calc(100svh - 24px); }
  .hero-art-food { background-position: 58% center; }
  .hero-art-moon { background-position: 64% center; }
  .hero-gallery, .hero-scrim { bottom: 0; }
  .hero-scrim { background: rgba(34, 36, 35, .31); }
  .hero-content { width: calc(100% - 36px); justify-content: flex-end; padding: 130px 0 96px; }
  .hero-content h1 { font-size: 3.15rem; }
  .hero-line { font-size: 1.25rem; }
  .hero-copy { font-size: .9rem; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 10px; }
  .hero-game-switcher { height: 94px; }
  .hero-game-switcher-inner { width: calc(100% - 24px); justify-content: flex-start; gap: 10px; padding: 0 8px; overflow-x: auto; scrollbar-width: none; }
  .hero-game-switcher-inner::-webkit-scrollbar { display: none; }
  .hero-game-tab { width: 76px; height: 76px; flex-basis: 76px; }
  .hero-game-tab img { width: 64px; height: 64px; border-width: 2px; }
  .hero-game-tab.active img { width: 74px; height: 74px; }
  .scroll-cue { display: none; }

  .intro-grid, .story-grid, .contact-grid, .team-preview-grid { grid-template-columns: 1fr; gap: 38px; }
  .quick-facts { grid-template-columns: repeat(3, 1fr); }
  .quick-facts div { padding-right: 8px; }
  .quick-facts strong { font-size: 1.55rem; }
  .section-heading { align-items: flex-start; flex-direction: column; }

  .game-cover-grid { grid-template-columns: 1fr; gap: 24px; }
  .game-cover-grid.reveal { opacity: 1; transform: none; }
  .game-cover-card, .game-cover-more { aspect-ratio: 31 / 37; }
  .game-cover-card > img:not(.game-cover-logo) { height: 100%; }
  .game-cover-logo { top: calc(100% - 118px); max-height: 108px; }
  .game-cover-logo-slow-life { top: calc(100% - 110px); }
  .game-cover-panel-body { justify-content: center; }
  .game-cover-qr img { width: 190px; height: 190px; }
  .game-cover-more strong { font-size: 1.05rem; }
  .values-section .section-heading { margin-bottom: 34px; }
  .values-grid { grid-template-columns: 1fr; gap: 10px; }
  .value-item { min-height: 250px; padding: 24px 22px 26px; }
  .value-name { margin-top: 38px; }
  .value-name h3 { font-size: 2.75rem; }
  .value-item::after { bottom: 20px; font-size: 3rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-meta { text-align: left; }

  .page-hero { min-height: calc(88svh - 20px); padding: calc(var(--header-h) + 48px) 18px 52px; align-items: flex-end; }
  .page-hero-copy { width: 100%; }
  .page-hero-copy h1 { font-size: 3rem; }
  .games-hero-art img { width: 80%; }
  .games-hero-art .art-one { top: 10%; right: -25%; }
  .games-hero-art .art-two { right: 36%; bottom: 18%; }
  .games-hero-art::after { background: rgba(255,247,239,.48); }

  .game-feature,
  .game-feature-reverse { width: calc(100% - 24px); aspect-ratio: auto; grid-template-columns: 1fr; }
  .game-feature-image { min-height: 0; aspect-ratio: 4 / 3; order: 1; }
  .game-feature-copy { padding: 38px 26px 42px; order: 2; }
  .game-feature-copy::before { margin-bottom: 22px; }
  .game-feature-copy h2 { font-size: 2.8rem; }
  .next-page-band .container { align-items: flex-start; flex-direction: column; }

  .about-hero {
    display: flex;
    min-height: max(700px, 100svh);
    padding: calc(var(--header-h) + 72px) 18px 54px;
    align-items: flex-end;
  }
  .about-hero .page-hero-copy { width: 100%; padding-top: 0; }
  .about-hero .page-hero-copy::before { width: 34px; height: 5px; margin-bottom: 24px; }
  .about-hero .page-hero-copy h1 { font-size: 3rem; }
  .about-visual {
    position: absolute;
    inset: 0;
    width: auto;
    height: auto;
    min-height: 0;
    margin: 0;
  }
  .about-visual::before {
    background:
      linear-gradient(180deg, rgba(18, 21, 22, .24) 0%, rgba(18, 21, 22, .12) 32%, rgba(18, 21, 22, .68) 72%, rgba(18, 21, 22, .92) 100%),
      linear-gradient(90deg, rgba(18, 21, 22, .2), transparent 70%);
  }
  .about-visual > img { object-position: 51% center; }
  .about-founded {
    top: calc(var(--header-h) + 28px);
    right: 18px;
    bottom: auto;
    gap: 14px;
    padding-left: 12px;
    border-left-width: 3px;
    align-items: center;
  }
  .about-founded span { padding-bottom: 0; font-size: .6rem; }
  .about-founded b { font-size: 2.65rem; }

  .about-video-section { padding: 56px 0; }
  .about-video-shell { width: calc(100% - 36px); box-shadow: 0 12px 34px rgba(48, 52, 55, .14); }
  .about-video-tabs { min-height: 94px; justify-content: flex-start; gap: 8px; padding: 10px 12px; overflow-x: auto; scrollbar-width: none; }
  .about-video-tabs::-webkit-scrollbar { display: none; }
  .about-video-tab { width: 128px; flex: 0 0 128px; }
  .about-video-tab::before { top: -10px; border-right-width: 7px; border-bottom-width: 7px; border-left-width: 7px; }
  .timeline { grid-template-columns: 1fr; border-top: 0; border-left: 2px solid var(--ink); }
  .timeline-item { min-height: 0; padding: 20px 0 32px 34px; border-right: 0; }
  .timeline-item::before { top: 22px; left: -8px; }
  .timeline-item span { margin-bottom: 12px; }
  .value-lines article { grid-template-columns: 52px 1fr; gap: 18px; }
  .value-lines article p { grid-column: 2; }
  .honors-intro { width: 100%; }
  .honors-gallery-shell { width: calc(100% - 72px); }
  .honors-track { gap: 14px; }
  .honor-slot { width: 210px; }
  .honor-preview { inset: 10px; }
  .team-gallery-meta { width: 100%; }
  .team-gallery-shell { width: calc(100% - 96px); }
  .team-gallery-arrow { width: 42px; height: 52px; color: #777c79; font-size: 3.4rem; text-shadow: 0 0 8px rgba(255,255,255,.96); }
  .team-gallery-arrow.previous { left: -45px; }
  .team-gallery-arrow.next { right: -45px; }
  .team-gallery-viewport { padding: 0; scroll-padding-left: 0; }
  .team-placeholders { gap: 12px; margin: 0; }
  .photo-slot { width: auto; height: 300px; }

  .journey-heading { margin-bottom: 34px; grid-template-columns: 1fr; gap: 18px; }
  .journey-heading h2 { font-size: 2.75rem; }
  .journey-heading > p { max-width: 520px; }
  .journey-stage { --journey-gap: 8px; --journey-half-gap: 4px; height: 500px; }
  .journey-track { animation-duration: 120s; }
  .journey-row--reverse .journey-track { animation-duration: 132s; }
  .journey-photo figcaption { right: 14px; bottom: 14px; left: 14px; align-items: flex-start; flex-direction: column; gap: 3px; }
  .journey-photo figcaption strong { max-width: 100%; font-size: .88rem; text-align: left; }

  .contact-hero-city { right: -12%; bottom: 8%; }
  .contact-hero-city span { font-size: 9rem; }
  .contact-list div { grid-template-columns: 92px 1fr; }
  .map-placeholder { min-height: 380px; }
  .contact-note .container { align-items: flex-start; flex-direction: column; gap: 34px; }
  .contact-note img { width: min(300px, 100%); }
}

@media (max-width: 420px) {
  .hero-content h1 { font-size: 2.75rem; }
  .quick-facts { grid-template-columns: 1fr; }
  .quick-facts div { padding: 18px 0; border-bottom: 1px solid var(--line); }
  .values-grid { grid-template-columns: 1fr; }
  .page-hero-copy h1 { font-size: 2.55rem; }
  .game-feature-copy h2 { font-size: 2.45rem; }
}

@media (prefers-reduced-motion: reduce) {
  .journey-row { overflow-x: auto; scrollbar-width: none; }
  .journey-row::-webkit-scrollbar { display: none; }
  .journey-track { animation: none; }
}

/* Standalone single-game template */
.simple-game-page {
  min-height: 100vh;
  color: #303437;
  background: #f3f5f4;
}

.simple-game-header {
  display: flex;
  width: 100%;
  height: 78px;
  align-items: center;
  justify-content: space-between;
  padding: 0 5vw;
  border-bottom: 1px solid #dfe2e0;
  background: rgba(255, 255, 255, .82);
}

.simple-game-brand {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.simple-game-brand strong { font-size: 1.25rem; font-style: italic; }
.simple-game-brand span { font-size: .82rem; font-weight: 700; }

.simple-game-back {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #666b69;
  font-size: .78rem;
  font-weight: 700;
}

.simple-game-back span { color: #d96868; font-size: 1rem; }

.simple-game-main {
  padding: 78px 6vw 100px;
}

.simple-game-heading {
  display: grid;
  width: min(1780px, 100%);
  margin: 0 auto 42px;
  align-items: end;
  grid-template-columns: 1fr auto;
}

.simple-game-heading p {
  grid-column: 1 / -1;
  margin: 0 0 14px;
  color: #d96868;
  font-size: .7rem;
  font-weight: 800;
}

.simple-game-heading h1 {
  margin: 0;
  font-size: clamp(2.3rem, 3.2vw, 3.6rem);
}

.simple-game-heading > span {
  padding-bottom: 7px;
  color: #777c79;
  font-size: .82rem;
}

.simple-game-stage {
  width: min(1780px, 100%);
  margin: 0 auto;
}

.simple-game-card {
  display: grid;
  width: 100%;
  overflow: hidden;
  grid-template-columns: 13fr 7fr;
  aspect-ratio: 12 / 5;
  border-radius: 7px;
  color: #fff;
  background: #d96868;
  box-shadow: 0 18px 50px rgba(48, 52, 55, .12);
}

.simple-game-image {
  min-width: 0;
  overflow: hidden;
}

.simple-game-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.simple-game-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  padding: clamp(38px, 5vw, 90px);
}

.simple-game-line {
  width: 48px;
  height: 4px;
  margin-bottom: clamp(34px, 4vw, 58px);
  border-radius: 2px;
  background: rgba(255, 255, 255, .92);
}

.simple-game-copy h2 {
  margin: 0 0 24px;
  font-size: clamp(3.2rem, 4.3vw, 5.1rem);
  line-height: 1.08;
}

.simple-game-copy > p {
  max-width: 470px;
  margin: 0 0 30px;
  color: rgba(255, 255, 255, .9);
  font-size: clamp(.92rem, 1.15vw, 1.15rem);
  line-height: 1.9;
}

.simple-game-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.simple-game-tags span {
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, .55);
  border-radius: 4px;
  font-size: .76rem;
  font-weight: 700;
}

.simple-game-footer {
  display: grid;
  min-height: 116px;
  align-items: center;
  grid-template-columns: 1fr auto 1fr;
  padding: 28px 5vw;
  border-top: 1px solid #dfe2e0;
  color: #858a87;
  background: #fff;
  font-size: .7rem;
}

.simple-game-footer p { margin: 0; color: #555b58; font-size: .78rem; }
.simple-game-footer span:last-child { text-align: right; }

@media (max-width: 900px) {
  .simple-game-main { padding: 56px 28px 72px; }
  .simple-game-heading { max-width: 680px; }

  .simple-game-card {
    max-width: 680px;
    grid-template-columns: 1fr;
    aspect-ratio: auto;
  }

  .simple-game-image { aspect-ratio: 4 / 3; }
  .simple-game-copy { padding: 48px 38px 54px; }
  .simple-game-line { margin-bottom: 32px; }
  .simple-game-copy h2 { font-size: clamp(2.8rem, 10vw, 4rem); }
}

@media (max-width: 480px) {
  .simple-game-header { height: 68px; padding-inline: 20px; }
  .simple-game-brand span { display: none; }
  .simple-game-main { padding: 42px 16px 56px; }
  .simple-game-heading { display: block; margin-bottom: 28px; }
  .simple-game-heading h1 { font-size: 2.25rem; }
  .simple-game-heading > span { display: block; margin-top: 10px; padding: 0; }
  .simple-game-card { border-radius: 5px; }
  .simple-game-copy { padding: 38px 24px 42px; }
  .simple-game-copy h2 { font-size: 2.7rem; }
  .simple-game-copy > p { font-size: .9rem; }
  .simple-game-footer { min-height: 130px; grid-template-columns: 1fr; justify-items: center; gap: 12px; text-align: center; }
  .simple-game-footer span:last-child { text-align: center; }
}
