:root {
  color-scheme: light;
  --pitch: #1d7d44;
  --pitch-dark: #155f33;
  --pitch-tint: #e7f2ea;
  --ink: #1b1a16;
  --ink-soft: #5d5a50;
  --ink-faint: #9a9688;
  --paper: #fbfaf5;
  --bg: #f0ede3;
  --cream: #f0ede3;
  --surface: #ffffff;
  --line: #ded9c8;
  --line-soft: #ebe7da;
  --gold: #b8860b;
  --gold-tint: #f7eed3;
  --shadow: 0 18px 58px rgb(27 26 22 / 12%);
  --shadow-tight: 0 8px 24px rgb(27 26 22 / 10%);
  --radius: 8px;
  --header-height: 76px;
  --max: 1180px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

* {
  box-sizing: border-box;
}

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

body {
  background: var(--cream);
  color: var(--ink);
  font-family: "Inter Tight", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-feature-settings: "ss02";
  font-weight: 500;
  line-height: 1.55;
  margin: 0;
  min-inline-size: 320px;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img {
  block-size: auto;
  display: block;
  max-inline-size: 100%;
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

::selection {
  background: rgb(29 125 68 / 18%);
  color: var(--ink);
}

.skip-link {
  background: var(--pitch);
  color: var(--paper);
  font-weight: 900;
  inset-block-start: 12px;
  inset-inline-start: 12px;
  padding: 10px 14px;
  position: fixed;
  transform: translateY(-150%);
  transition: transform 160ms ease;
  z-index: 40;
}

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

.visually-hidden {
  block-size: 1px;
  border: 0;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  inline-size: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
}

.site-header {
  align-items: center;
  background: rgb(251 250 245 / 88%);
  block-size: var(--header-height);
  border-block-end: 1px solid rgb(222 217 200 / 74%);
  display: grid;
  gap: 20px;
  grid-template-columns: auto 1fr auto;
  inline-size: 100%;
  inset-block-start: 0;
  inset-inline: 0;
  padding: 0 clamp(18px, 4vw, 54px);
  position: fixed;
  transition:
    background-color 220ms ease,
    box-shadow 220ms ease,
    backdrop-filter 220ms ease;
  z-index: 30;
}

.site-header.is-scrolled,
.site-header.is-open {
  backdrop-filter: blur(16px) saturate(1.04);
  background: rgb(251 250 245 / 94%);
  box-shadow: 0 8px 28px rgb(27 26 22 / 8%);
}

.brand {
  align-items: center;
  color: var(--pitch);
  display: inline-flex;
  gap: 9px;
  text-decoration: none;
}

.brand-icon {
  block-size: 31px;
  color: var(--pitch);
  inline-size: 31px;
  flex: 0 0 auto;
}

.wordmark {
  color: var(--ink);
  display: inline-block;
  font-size: 1.44rem;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
  position: relative;
}

.wordmark-i {
  display: inline-block;
  inline-size: 0.16em;
  block-size: 0.74em;
  margin-inline: 0.015em 0.02em;
  position: relative;
  vertical-align: -0.005em;
}

.wordmark-i::before {
  background: var(--ink);
  block-size: 0.52em;
  border-radius: 999px;
  content: "";
  inline-size: 0.16em;
  inset-block-end: 0;
  inset-inline: 0;
  position: absolute;
}

.wordmark-i::after {
  background: var(--pitch);
  border-radius: 50%;
  block-size: 0.18em;
  content: "";
  inline-size: 0.18em;
  inset-block-start: 0;
  inset-inline-start: -0.01em;
  position: absolute;
}

.site-nav {
  align-items: center;
  display: flex;
  gap: clamp(18px, 3vw, 34px);
  justify-content: center;
}

.site-nav a,
.header-cta {
  color: var(--ink-soft);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition:
    background-color 160ms ease,
    border-color 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--pitch-dark);
  outline: none;
}

.header-cta {
  align-items: center;
  border: 1px solid var(--pitch);
  border-radius: 999px;
  color: var(--pitch-dark);
  display: inline-flex;
  justify-content: center;
  min-block-size: 40px;
  padding: 0 17px;
}

.header-cta:hover,
.header-cta:focus-visible {
  background: var(--pitch);
  color: var(--paper);
  outline: none;
  transform: translateY(-1px);
}

.nav-toggle {
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  display: none;
  inline-size: 44px;
  block-size: 44px;
  padding: 0;
  place-items: center;
}

.nav-toggle span {
  background: currentColor;
  block-size: 2px;
  border-radius: 99px;
  grid-area: 1 / 1;
  inline-size: 18px;
  transition: transform 180ms ease;
}

.nav-toggle span + span {
  transform: translateY(6px);
}

.site-header.is-open .nav-toggle span:first-child {
  transform: rotate(42deg);
}

.site-header.is-open .nav-toggle span + span {
  transform: rotate(-42deg);
}

.hero {
  background:
    linear-gradient(180deg, rgb(251 250 245 / 0%) 0%, var(--cream) 100%),
    var(--cream);
  isolation: isolate;
  min-block-size: 94svh;
  overflow: hidden;
  padding: calc(var(--header-height) + 24px) clamp(18px, 4vw, 54px) clamp(34px, 5vw, 64px);
  position: relative;
}

.pitch-lines {
  background:
    linear-gradient(90deg, transparent 0 49.8%, rgb(29 125 68 / 11%) 50% 50.2%, transparent 50.4%),
    repeating-linear-gradient(90deg, rgb(29 125 68 / 7%) 0 1px, transparent 1px 92px),
    linear-gradient(110deg, rgb(29 125 68 / 8%), transparent 42%);
  inset: 0;
  opacity: 0.65;
  position: absolute;
  transform: translate3d(0, calc(var(--scroll-progress, 0) * 30px), 0);
  z-index: -3;
}

.pitch-lines::before,
.pitch-lines::after {
  border: 1px solid rgb(29 125 68 / 12%);
  border-radius: 50%;
  content: "";
  inline-size: min(38vw, 520px);
  aspect-ratio: 1;
  inset-block-start: 20%;
  inset-inline-start: 58%;
  position: absolute;
  transform: translateX(-50%);
}

.pitch-lines::after {
  border-radius: var(--radius);
  inset-block-start: 15%;
  inline-size: min(76vw, 1040px);
  aspect-ratio: 2.6 / 1;
}

.hero-vignette {
  background:
    radial-gradient(circle at 76% 26%, rgb(29 125 68 / 18%), transparent 28%),
    linear-gradient(90deg, var(--cream) 0 48%, rgb(240 237 227 / 68%) 70%, rgb(21 95 51 / 10%) 100%);
  inset: 0;
  position: absolute;
  z-index: -2;
}

.hero-inner {
  align-items: center;
  display: grid;
  gap: clamp(34px, 6vw, 86px);
  grid-template-columns: minmax(0, 0.88fr) minmax(360px, 1fr);
  margin: 0 auto;
  max-inline-size: 1320px;
  min-block-size: calc(94svh - var(--header-height) - 58px);
}

.hero-copy {
  max-inline-size: 650px;
  padding-block-start: clamp(18px, 5vw, 54px);
}

.hero-kicker,
.section-label,
.product-status,
.role {
  color: var(--pitch-dark);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  line-height: 1;
  margin: 0 0 18px;
  text-transform: uppercase;
}

.hero h1 {
  color: var(--ink);
  font-size: clamp(5rem, 12vw, 11rem);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 0.78;
  margin: 0;
}

.hero-line {
  color: var(--ink);
  font-size: clamp(2rem, 4.8vw, 4.8rem);
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 0.96;
  margin: 22px 0 0;
}

.hero-text {
  color: var(--ink-soft);
  font-size: clamp(1.03rem, 1.45vw, 1.22rem);
  font-weight: 500;
  line-height: 1.55;
  margin: 24px 0 0;
  max-inline-size: 530px;
}

.action-row {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-block-start: 30px;
}

.button {
  align-items: center;
  border-radius: var(--radius);
  display: inline-flex;
  font-size: 0.92rem;
  font-weight: 700;
  justify-content: center;
  letter-spacing: 0;
  min-block-size: 48px;
  padding: 0 20px;
  text-decoration: none;
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.button:hover,
.button:focus-visible {
  outline: none;
  transform: translateY(-2px);
}

.button-primary {
  background: var(--pitch);
  border: 1px solid var(--pitch-dark);
  box-shadow: var(--shadow-tight);
  color: var(--paper);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--pitch-dark);
  box-shadow: var(--shadow);
}

.button-secondary {
  background: rgb(251 250 245 / 78%);
  border: 1px solid var(--line);
  color: var(--ink);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: var(--pitch);
  color: var(--pitch-dark);
}

.hero-stage {
  min-block-size: clamp(420px, 58vw, 650px);
  position: relative;
  transform: translate3d(0, calc(var(--scroll-progress, 0) * -44px), 0);
}

.stage-floor {
  background:
    radial-gradient(ellipse at center, transparent 0 21%, rgb(255 255 255 / 24%) 21.4% 21.9%, transparent 22.3%),
    linear-gradient(90deg, transparent 0 49%, rgb(255 255 255 / 30%) 49.5% 50.5%, transparent 51%),
    repeating-linear-gradient(90deg, rgb(255 255 255 / 9%) 0 1px, transparent 1px 52px),
    linear-gradient(135deg, #258b50, var(--pitch), #b0c95a);
  border: 1px solid rgb(21 95 51 / 28%);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  inset-block-end: 5%;
  inset-inline: 6% 4%;
  min-block-size: 34%;
  position: absolute;
  transform: perspective(1050px) rotateX(62deg) rotateZ(-7deg);
  transform-origin: center bottom;
}

.stage-floor::after {
  background: linear-gradient(90deg, transparent, rgb(255 255 255 / 70%), transparent);
  block-size: 2px;
  content: "";
  inset-block-end: 0;
  inset-inline: 6% 6%;
  position: absolute;
}

.game-art {
  background: var(--paper);
  border: 1px solid rgb(27 26 22 / 12%);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  position: absolute;
  transform-style: preserve-3d;
}

.game-art img {
  aspect-ratio: 16 / 9;
  block-size: 100%;
  inline-size: 100%;
  object-fit: cover;
}

.game-art-main {
  inline-size: min(74%, 690px);
  inset-block-start: 19%;
  inset-inline-end: 2%;
  transform: perspective(1200px) rotateY(-8deg) rotateX(2deg);
  z-index: 4;
}

.game-art-back {
  filter: saturate(0.92) brightness(0.82);
  inline-size: min(50%, 450px);
  inset-block-start: 10%;
  inset-inline-start: 8%;
  opacity: 0.72;
  transform: perspective(1200px) rotateY(12deg) rotateX(2deg) translateZ(-30px);
  z-index: 3;
}

.stage-traits {
  align-items: center;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-tight);
  display: flex;
  gap: 8px;
  inset-block-end: 8%;
  inset-inline-end: 9%;
  padding: 10px 12px;
  position: absolute;
  z-index: 6;
}

.stage-traits span {
  color: var(--ink-soft);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.stage-traits span + span::before {
  color: var(--pitch);
  content: "/";
  padding-inline-end: 8px;
}

.insight {
  background: var(--pitch);
  color: var(--paper);
  padding: clamp(34px, 6vw, 76px) clamp(18px, 4vw, 54px);
}

.insight p {
  color: rgb(251 250 245 / 78%);
  font-size: clamp(1.45rem, 3.8vw, 4.05rem);
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 1.02;
  margin: 0 auto;
  max-inline-size: 1160px;
}

.insight strong {
  color: var(--paper);
  display: block;
}

.section {
  padding: clamp(72px, 10vw, 140px) clamp(18px, 4vw, 54px);
  position: relative;
}

.section-inner {
  margin: 0 auto;
  max-inline-size: var(--max);
}

.section-label {
  margin-block-end: 16px;
}

.section h2,
.contact h2 {
  color: var(--ink);
  font-size: clamp(2.25rem, 5.4vw, 5.6rem);
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 1.04;
  margin: 0;
  text-wrap: balance;
}

.section p,
.contact p {
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.32vw, 1.12rem);
  font-weight: 500;
  margin: 0;
}

.section-heading p:not(.section-label) {
  margin-block-start: 24px;
  max-inline-size: 660px;
}

.section-heading-wide {
  margin-block-end: clamp(34px, 6vw, 70px);
  max-inline-size: 920px;
}

.platform,
.products,
.why,
.team {
  background: var(--paper);
  border-block-start: 1px solid var(--line);
}

.platform-grid,
.embed-grid,
.why-grid {
  display: grid;
  gap: clamp(34px, 7vw, 96px);
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1fr);
}

.platform .section-heading,
.why-heading {
  position: sticky;
  inset-block-start: calc(var(--header-height) + 36px);
}

.platform-body {
  display: grid;
  gap: 24px;
}

.platform-body .lead {
  color: var(--ink);
  font-size: clamp(1.35rem, 2.3vw, 2.16rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.loop-rail {
  border-block-start: 1px solid var(--line);
  margin-block-start: 20px;
}

.loop-rail article {
  border-block-end: 1px solid var(--line-soft);
  display: grid;
  column-gap: clamp(22px, 4vw, 54px);
  row-gap: 8px;
  grid-template-columns: 54px minmax(140px, 0.38fr) minmax(0, 1fr);
  padding: 22px 0;
}

.loop-rail span {
  color: var(--pitch);
  font-size: 0.76rem;
  font-weight: 900;
}

.loop-rail h3,
.product-copy h3,
.why-list h3,
.team-list h3 {
  color: var(--ink);
  font-size: clamp(1.18rem, 1.8vw, 1.52rem);
  font-weight: 900;
  letter-spacing: -0.018em;
  line-height: 1.05;
  margin: 0;
}

.product-stack {
  display: grid;
  gap: clamp(14px, 2.4vw, 26px);
  max-inline-size: 820px;
  margin-inline: auto;
}

.product-showcase,
.stats-duel {
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 32px rgb(27 26 22 / 6%);
  display: grid;
  gap: clamp(18px, 3vw, 34px);
  grid-template-columns: minmax(0, 0.92fr) minmax(230px, 0.72fr);
  overflow: hidden;
  padding: clamp(14px, 2vw, 22px);
  transform:
    perspective(1100px)
    rotateX(var(--tilt-x, 0deg))
    rotateY(var(--tilt-y, 0deg))
    translateY(0);
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.product-showcase:hover,
.stats-duel:hover {
  border-color: rgb(29 125 68 / 34%);
  box-shadow: var(--shadow);
}

.product-showcase-reverse {
  grid-template-columns: minmax(230px, 0.72fr) minmax(0, 0.92fr);
}

.product-showcase-reverse .product-media {
  grid-column: 2;
}

.product-showcase-reverse .product-copy {
  grid-column: 1;
  grid-row: 1;
}

.product-media {
  border-radius: var(--radius);
  box-shadow: var(--shadow-tight);
  overflow: hidden;
}

.product-media img {
  aspect-ratio: 16 / 9;
  inline-size: 100%;
  object-fit: cover;
  transition: transform 420ms var(--ease);
}

.product-showcase:hover .product-media img {
  transform: scale(1.025);
}

.product-copy {
  display: grid;
  gap: 12px;
}

.play-button {
  align-items: center;
  align-self: start;
  background: var(--pitch);
  border: 1px solid var(--pitch-dark);
  border-radius: var(--radius);
  box-shadow: var(--shadow-tight);
  color: var(--paper);
  cursor: pointer;
  display: inline-flex;
  gap: 10px;
  justify-self: start;
  min-block-size: 46px;
  padding: 0 16px;
  transition:
    background-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.play-button:hover,
.play-button:focus-visible {
  background: var(--pitch-dark);
  box-shadow: var(--shadow);
  outline: none;
  transform: translateY(-2px);
}

.play-button:disabled {
  cursor: wait;
  opacity: 0.7;
  transform: none;
}

.play-button-icon {
  align-items: center;
  background: var(--paper);
  block-size: 20px;
  border-radius: 50%;
  color: var(--pitch);
  display: inline-flex;
  flex: 0 0 auto;
  inline-size: 20px;
  justify-content: center;
}

.play-button-icon::before {
  border-block: 5px solid transparent;
  border-inline-start: 8px solid currentColor;
  content: "";
  margin-inline-start: 2px;
}

.product-status {
  align-self: start;
  background: var(--pitch-tint);
  border: 1px solid rgb(29 125 68 / 24%);
  border-radius: 999px;
  color: var(--pitch-dark);
  justify-self: start;
  margin: 0;
  padding: 9px 11px;
}

.product-status-dev {
  background: var(--gold-tint);
  border-color: rgb(184 134 11 / 28%);
  color: var(--gold);
}

.product-copy p,
.why-list p,
.team-list p {
  color: var(--ink-soft);
  margin: 0;
}

.stats-duel {
  grid-template-columns: minmax(0, 0.92fr) minmax(230px, 0.72fr);
}

.stats-art {
  aspect-ratio: 16 / 9;
  background:
    radial-gradient(circle at 50% 48%, rgb(29 125 68 / 34%), transparent 18%),
    radial-gradient(circle at 13% 16%, rgb(29 125 68 / 20%), transparent 30%),
    linear-gradient(135deg, #f7f4e8, #e7f2ea 45%, #d5e5d9);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-tight);
  overflow: hidden;
  position: relative;
}

.stats-art::before {
  background:
    linear-gradient(90deg, transparent 0 49.5%, rgb(29 125 68 / 22%) 49.7% 50.3%, transparent 50.5%),
    repeating-linear-gradient(0deg, transparent 0 28px, rgb(29 125 68 / 7%) 29px 30px);
  content: "";
  inset: 0;
  position: absolute;
}

.stats-art-pitch {
  border: 1px solid rgb(29 125 68 / 22%);
  border-radius: 50%;
  inline-size: 42%;
  aspect-ratio: 1;
  inset-block-start: 18%;
  inset-inline-start: 29%;
  position: absolute;
}

.stats-player {
  background: linear-gradient(180deg, var(--paper), rgb(29 125 68 / 16));
  border: 1px solid rgb(29 125 68 / 20%);
  border-radius: 999px 999px 10px 10px;
  block-size: 64%;
  inline-size: 18%;
  inset-block-end: 9%;
  position: absolute;
}

.stats-player::before {
  background: var(--paper);
  border: 1px solid rgb(29 125 68 / 18%);
  border-radius: 50%;
  content: "";
  inline-size: 46%;
  aspect-ratio: 1;
  inset-block-start: -13%;
  inset-inline-start: 27%;
  position: absolute;
}

.stats-player span {
  background: linear-gradient(180deg, var(--pitch), rgb(29 125 68 / 20));
  border-radius: 999px;
  inset: 18% 30% 16%;
  position: absolute;
}

.stats-player-left {
  inset-inline-start: 14%;
}

.stats-player-right {
  inset-inline-end: 14%;
}

.stats-versus {
  color: var(--pitch);
  font-size: clamp(2.8rem, 7vw, 6.1rem);
  font-weight: 900;
  inset-block-start: 31%;
  inset-inline: 0;
  letter-spacing: -0.025em;
  line-height: 1;
  position: absolute;
  text-align: center;
  text-shadow: 0 8px 24px rgb(27 26 22 / 10%);
}

.stats-title {
  color: var(--ink);
  font-size: clamp(1.3rem, 3vw, 2.3rem);
  font-weight: 900;
  inset-block-end: 8%;
  inset-inline: 0;
  letter-spacing: 0.04em;
  position: absolute;
  text-align: center;
  text-transform: uppercase;
}

.stats-bars {
  display: grid;
  gap: 8px;
  inset-block-start: 12%;
  inset-inline-start: 41%;
  inline-size: 18%;
  position: absolute;
}

.stats-bars span {
  background: var(--pitch);
  block-size: 7px;
  border-radius: 999px;
}

.stats-bars span:nth-child(2) {
  inline-size: 72%;
}

.stats-bars span:nth-child(3) {
  inline-size: 86%;
}

.product-note {
  color: var(--ink-faint);
  margin-block-start: 30px;
  text-align: center;
}

.embed {
  background: var(--pitch);
  color: var(--paper);
}

.embed .section-label,
.embed h2,
.embed p {
  color: var(--paper);
}

.embed p {
  color: rgb(251 250 245 / 78%);
  opacity: 1;
}

.embed .button-primary {
  background: var(--paper);
  border-color: var(--paper);
  color: var(--pitch-dark);
}

.embed .button-secondary {
  background: rgb(251 250 245 / 10%);
  border-color: rgb(251 250 245 / 34%);
  color: var(--paper);
}

.embed .button-secondary:hover,
.embed .button-secondary:focus-visible {
  background: var(--paper);
  border-color: var(--paper);
  color: var(--pitch-dark);
}

.embed-shell {
  align-self: center;
  background: var(--ink);
  border: 1px solid rgb(251 250 245 / 20%);
  border-radius: var(--radius);
  box-shadow: 0 28px 70px rgb(21 95 51 / 34%);
  color: inherit;
  cursor: pointer;
  display: block;
  justify-self: center;
  max-inline-size: 540px;
  overflow: hidden;
  text-decoration: none;
  transform:
    perspective(1100px)
    rotateX(var(--tilt-x, 0deg))
    rotateY(var(--tilt-y, 0deg));
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.embed-shell:hover,
.embed-shell:focus-visible {
  border-color: rgb(251 250 245 / 44%);
  box-shadow: 0 34px 84px rgb(21 95 51 / 42%);
  outline: none;
}

.embed-bar {
  align-items: center;
  border-block-end: 1px solid rgb(251 250 245 / 14%);
  display: flex;
  gap: 7px;
  padding: 12px;
}

.embed-bar span {
  background: rgb(251 250 245 / 34%);
  block-size: 8px;
  border-radius: 50%;
  inline-size: 8px;
}

.embed-panel {
  background:
    linear-gradient(180deg, rgb(251 250 245 / 10%), transparent 32%),
    #11130f;
  color: var(--paper);
  display: grid;
  gap: 18px;
  padding: clamp(18px, 3vw, 34px);
}

.embed-panel p {
  color: var(--paper);
  font-size: clamp(1.35rem, 3.4vw, 2.6rem);
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 1;
}

.mini-games {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr 1fr;
}

.mini-games img {
  aspect-ratio: 16 / 9;
  border: 1px solid rgb(251 250 245 / 16%);
  border-radius: var(--radius);
  object-fit: cover;
}

.embed-footer {
  align-items: center;
  color: rgb(251 250 245 / 66%);
  display: flex;
  font-size: 0.72rem;
  font-weight: 700;
  justify-content: space-between;
  letter-spacing: 0;
}

.why-list {
  border-block-start: 1px solid var(--line);
}

.why-list article {
  border-block-end: 1px solid var(--line-soft);
  display: grid;
  gap: 22px;
  grid-template-columns: minmax(170px, 0.44fr) minmax(0, 1fr);
  padding: clamp(22px, 3vw, 32px) 0;
}

.team-list {
  border-block-start: 1px solid var(--line);
}

.team-list article {
  border-block-end: 1px solid var(--line-soft);
  display: grid;
  gap: clamp(18px, 4vw, 58px);
  grid-template-columns: minmax(180px, 0.4fr) minmax(0, 1fr);
  padding: clamp(24px, 4vw, 46px) 0;
}

.role {
  margin: 10px 0 0;
}

.contact {
  background:
    linear-gradient(135deg, rgb(29 125 68 / 12%), transparent 44%),
    var(--cream);
  border-block-start: 1px solid var(--line);
  padding: clamp(78px, 12vw, 154px) clamp(18px, 4vw, 54px);
}

.contact-inner {
  margin: 0 auto;
  max-inline-size: 900px;
  text-align: center;
}

.contact p {
  margin: 24px auto 0;
  max-inline-size: 620px;
}

.contact .action-row {
  justify-content: center;
}

.site-footer {
  align-items: center;
  background: var(--paper);
  border-block-start: 1px solid var(--line);
  color: var(--ink-faint);
  display: flex;
  font-size: 0.82rem;
  font-weight: 500;
  gap: 18px;
  justify-content: space-between;
  padding: 24px clamp(18px, 4vw, 54px);
}

.site-footer span:first-child {
  color: var(--ink);
  font-weight: 900;
}

.game-modal {
  align-items: center;
  display: grid;
  inset: 0;
  padding: clamp(14px, 3vw, 32px);
  position: fixed;
  z-index: 80;
}

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

.game-modal-backdrop {
  background: rgb(27 26 22 / 52%);
  backdrop-filter: blur(8px);
  inset: 0;
  position: fixed;
}

.game-modal-dialog {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 34px 100px rgb(27 26 22 / 28%);
  display: grid;
  gap: 18px;
  grid-template-rows: auto minmax(0, 1fr);
  inline-size: min(1080px, 100%);
  justify-self: center;
  max-block-size: min(820px, calc(100svh - 28px));
  min-block-size: min(720px, calc(100svh - 28px));
  overflow: hidden;
  padding: clamp(14px, 2.6vw, 28px);
  position: relative;
  z-index: 1;
}

.game-modal-close {
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  cursor: pointer;
  display: grid;
  inline-size: 44px;
  block-size: 44px;
  inset-block-start: 16px;
  inset-inline-end: 16px;
  padding: 0;
  place-items: center;
  position: absolute;
  z-index: 3;
}

.game-modal-close span {
  background: currentColor;
  block-size: 2px;
  border-radius: 99px;
  grid-area: 1 / 1;
  inline-size: 18px;
}

.game-modal-close span:first-child {
  transform: rotate(42deg);
}

.game-modal-close span + span {
  transform: rotate(-42deg);
}

.game-modal-header {
  padding-inline-end: 58px;
}

.game-modal-header .section-label {
  margin-block-end: 10px;
}

.game-modal-header h2 {
  color: var(--ink);
  font-size: clamp(2rem, 4.6vw, 4.5rem);
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 1;
  margin: 0;
}

.game-modal-viewport {
  background: var(--ink);
  border: 1px solid rgb(27 26 22 / 14%);
  border-radius: var(--radius);
  display: grid;
  min-block-size: 0;
  overflow: hidden;
  position: relative;
}

.game-modal-container {
  block-size: 100%;
  display: grid;
  min-block-size: 0;
  min-inline-size: 0;
}

.game-modal-status {
  color: var(--paper);
  font-size: 1rem;
  font-weight: 700;
  inset: 0;
  margin: auto;
  padding: 24px;
  place-self: center;
  position: absolute;
  text-align: center;
}

.game-modal.is-playing .game-modal-status {
  display: none;
}

body.is-game-open {
  overflow: hidden;
}

[data-reveal] {
  opacity: 1;
  transform: none;
}

.js [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 620ms var(--ease),
    transform 620ms var(--ease);
}

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

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

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

  .nav-toggle {
    display: grid;
    grid-column: 3;
    justify-self: end;
  }

  .site-nav {
    align-items: stretch;
    background: rgb(251 250 245 / 98%);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    display: grid;
    gap: 0;
    inline-size: min(calc(100vw - 36px), 420px);
    inset-block-start: calc(var(--header-height) + 8px);
    inset-inline-end: 18px;
    opacity: 0;
    padding: 8px;
    pointer-events: none;
    position: fixed;
    transform: translateY(-8px);
    transition:
      opacity 180ms ease,
      transform 180ms ease;
  }

  .site-nav a {
    border-radius: 7px;
    font-size: 1rem;
    padding: 15px 14px;
  }

  .site-nav a:hover,
  .site-nav a:focus-visible {
    background: var(--pitch-tint);
  }

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

  .header-cta {
    display: none;
  }

  .hero-inner {
    gap: 14px;
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-inline-size: 720px;
    padding-block-start: 30px;
    position: relative;
    z-index: 8;
  }

  .hero-stage {
    justify-self: center;
    min-block-size: min(58vw, 520px);
    inline-size: min(100%, 760px);
  }

  .hero-vignette {
    background:
      radial-gradient(circle at 74% 40%, rgb(29 125 68 / 16%), transparent 32%),
      linear-gradient(180deg, var(--cream) 0%, rgb(240 237 227 / 78%) 55%, var(--cream) 100%);
  }

  .platform-grid,
  .embed-grid,
  .why-grid {
    grid-template-columns: 1fr;
  }

  .platform .section-heading,
  .why-heading {
    position: static;
  }

  .product-showcase,
  .product-showcase-reverse,
  .stats-duel {
    grid-template-columns: 1fr;
  }

  .product-showcase-reverse .product-media,
  .product-showcase-reverse .product-copy {
    grid-column: auto;
    grid-row: auto;
  }
}

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

  .brand-icon {
    block-size: 28px;
    inline-size: 28px;
  }

  .wordmark {
    font-size: 1.28rem;
  }

  .hero {
    min-block-size: auto;
    padding-inline: 16px;
  }

  .hero-inner {
    min-block-size: 0;
  }

  .hero h1 {
    font-size: clamp(4rem, 21vw, 7.1rem);
  }

  .hero-line {
    font-size: clamp(2rem, 10vw, 3.5rem);
  }

  .hero-stage {
    min-block-size: 450px;
    transform: none;
  }

  .game-art-main {
    inline-size: 88%;
    inset-block-start: 32%;
    inset-inline-end: 0;
  }

  .game-art-back {
    inline-size: 72%;
    inset-block-start: 10%;
    inset-inline-start: 0;
  }

  .stage-floor {
    inset-block-end: 2%;
    inset-inline: 2%;
  }

  .stage-traits {
    inset-block-end: 4%;
    inset-inline: 0 auto;
    max-inline-size: calc(100vw - 32px);
  }

  .stage-traits span {
    font-size: 0.58rem;
  }

  .section {
    padding-inline: 16px;
  }

  .loop-rail article,
  .why-list article,
  .team-list article {
    gap: 10px;
    grid-template-columns: 1fr;
  }

  .product-showcase,
  .stats-duel {
    padding: 14px;
  }

  .mini-games {
    grid-template-columns: 1fr;
  }

  .embed-footer,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .action-row {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    inline-size: 100%;
  }

  .play-button {
    inline-size: 100%;
    justify-content: center;
  }

  .game-modal {
    padding: 8px;
  }

  .game-modal-dialog {
    max-block-size: calc(100svh - 16px);
    min-block-size: calc(100svh - 16px);
    padding: 12px;
  }

  .game-modal-close {
    inset-block-start: 12px;
    inset-inline-end: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }

  .hero-stage,
  .pitch-lines,
  .game-art,
  .product-showcase,
  .stats-duel,
  .embed-shell {
    transform: none !important;
  }
}
