:root {
  --color-primary: #20a6ff;
  --color-text: #19191a;
  --color-text-soft: rgba(0, 0, 0, 0.7);
  --color-text-muted: #323233;
  --color-surface: #ffffff;
  --color-surface-alt: #f3f5fa;
  --color-surface-soft: #f1f2f6;
  --color-border: rgba(0, 0, 0, 0.1);
  --shadow-soft: 0 10px 40px rgba(89, 118, 159, 0.1);
  --shadow-card: 0 4px 32px rgba(0, 0, 0, 0.05);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --container: 1200px;
  --header-height: 80px;
  --scrollbar-width: 0px;
  --home-game-card-width: 378px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: "Montserrat", sans-serif;
  color: var(--color-text);
  background: var(--color-surface);
}

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

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

button {
  font: inherit;
}

.container {
  width: min(calc(100% - 48px), var(--container));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(16px);
  transition: background-color 0.25s ease, box-shadow 0.25s ease, backdrop-filter 0.25s ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(16px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-height);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

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

.brand-wordmark {
  width: 146px;
  height: 20px;
  transform: translateY(4px);
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 37px;
}

.primary-nav a {
  position: relative;
  padding-bottom: 2px;
  font-size: 14px;
  line-height: 1.7;
  transition: color 0.25s ease;
}

.primary-nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -2px;
  width: 12px;
  height: 2px;
  border-radius: 999px;
  background: var(--color-primary);
  opacity: 0;
  transform: translateX(-50%);
  transition: opacity 0.25s ease;
}

.primary-nav a.is-active {
  color: var(--color-primary);
  font-weight: 600;
}

.primary-nav a.is-active::after {
  opacity: 1;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 0;
  border: 0;
  background: transparent;
}

.menu-toggle span {
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: var(--color-text);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

main {
  overflow: clip;
}

.section {
  position: relative;
}

.section-heading {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 615px;
}

.section-heading--center {
  align-items: center;
  text-align: center;
  margin-inline: auto;
}

.section-heading--light h2,
.section-heading--light p {
  color: #ffffff;
}

.testimonials-section .section-heading p {
  color: #ffffff;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(2.4rem, 5vw, 3.5rem);
  font-weight: 600;
  line-height: 1.2;
}

.section-heading p {
  margin: 0;
  font-size: clamp(1rem, 2vw, 1.5rem);
  line-height: 1.4;
  color: var(--color-text-soft);
}

.home-games__subtitle {
  white-space: nowrap;
}

.testimonials-subtitle {
  white-space: nowrap;
}

.section-line {
  width: 35px;
  height: 8px;
  border-radius: 999px;
  background: var(--color-primary);
}

.section-line--light {
  background: #fff;
  box-shadow: 0 2px 10px rgba(6, 29, 45, 0.5);
}

.hero-section {
  position: relative;
  min-height: clamp(1040px, 40vw, 1520px);
}

.page-hero {
  position: relative;
  min-height: 900px;
}

.hero-media,
.hero-media img,
.hero-overlay,
.page-hero__media,
.page-hero__media img,
.testimonials-backdrop,
.testimonials-backdrop img,
.testimonials-backdrop__shade,
.cta-strip__media,
.cta-strip__media img,
.cta-strip__overlay {
  position: absolute;
  inset: 0;
}

.hero-media img,
.page-hero__media img,
.story-visual img,
.highlight-card img,
.testimonial-card__person img,
.office-visual img,
.cta-strip__media img,
.game-card__image,
.all-game-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

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

.hero-overlay {
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.16) 19%, rgba(0, 0, 0, 0) 68%);
}

.hero-copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-height: clamp(1040px, 40vw, 1520px);
  gap: 16px;
  padding-top: var(--header-height);
  transform: translateY(-48px);
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(2.6rem, 5.8vw, 4rem);
  line-height: 1.16;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #fff;
  text-shadow: 0 2px 10px rgba(6, 29, 45, 0.72);
  animation: hero-fade-up 2.2s cubic-bezier(0.22, 1, 0.36, 1) 0.28s both;
}

.home-games {
  padding: 130px 0 40px;
}

.game-marquee {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin: 80px auto 0;
  overflow: hidden;
  cursor: grab;
  touch-action: pan-y;
}

.game-marquee.is-dragging {
  cursor: grabbing;
}

.game-marquee__track {
  display: flex;
  gap: 33px;
  width: max-content;
  will-change: transform;
  padding: 0 32px;
}

.game-card,
.all-game-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
}

.game-card {
  flex: 0 0 var(--home-game-card-width);
  width: var(--home-game-card-width);
  height: calc(var(--home-game-card-width) * 1.333333);
}

.all-game-card {
  flex: 0 0 378px;
  width: 378px;
  height: 504px;
}

.game-card--featured {
  aspect-ratio: 189 / 253;
}

.game-card__overlay,
.all-game-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.14) 0%, rgba(0, 0, 0, 0.88) 100%);
  opacity: 0.3;
  transition: opacity 0.3s ease;
}

.game-card__content,
.all-game-card__content {
  position: absolute;
  inset: auto 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  color: #fff;
  z-index: 1;
}

.game-card__logo-wrap,
.all-game-card__logo-wrap {
  width: 64px;
  height: 64px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transform: translateY(0);
  transition: transform 0.3s ease;
}

.game-card__logo-wrap--large {
  width: 72px;
  height: 72px;
}

.game-card__logo,
.all-game-card__logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.game-card__text h3,
.all-game-card__text h3 {
  margin: 0;
  font-size: 2rem;
  line-height: 1;
  font-weight: 600;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.2);
}

.game-card__text p,
.all-game-card__text p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.45;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transform: translateY(10px);
  transition: max-height 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
}

.game-card__links {
  display: flex;
  gap: 12px;
  max-height: 0;
  opacity: 0;
  overflow: visible;
  transform: translateY(10px);
  transition: max-height 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
}

.store-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 86px;
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 999px;
  font-size: 0.875rem;
  color: #fff;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.28) 0%, rgba(255, 255, 255, 0.12) 100%);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  gap: 8px;
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.store-pill img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  flex: 0 0 auto;
}

.store-pill:hover {
  transform: scale(1.05);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.36) 0%, rgba(255, 255, 255, 0.18) 100%);
  border-color: rgba(255, 255, 255, 0.52);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
}

.game-card:hover .game-card__overlay,
.game-card:focus-within .game-card__overlay,
.all-game-card:hover .all-game-card__overlay,
.all-game-card:focus-within .all-game-card__overlay {
  opacity: 0.96;
}

.game-card:hover .game-card__logo-wrap,
.game-card:focus-within .game-card__logo-wrap,
.all-game-card:hover .all-game-card__logo-wrap,
.all-game-card:focus-within .all-game-card__logo-wrap {
  transform: translateY(-10px);
}

.game-card:hover .game-card__text p,
.game-card:focus-within .game-card__text p,
.all-game-card:hover .all-game-card__text p,
.all-game-card:focus-within .all-game-card__text p {
  max-height: 1000px;
  opacity: 1;
  overflow: visible;
  transform: translateY(0);
}

.game-card:hover .game-card__links,
.game-card:focus-within .game-card__links {
  max-height: 72px;
  opacity: 1;
  transform: translateY(0);
}

.section-cta {
  display: flex;
  justify-content: center;
  margin-top: 68px;
}

.button-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 64px;
  padding: 16px 32px;
  border: 2px solid var(--color-primary);
  border-radius: 67px;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-primary);
  background: rgba(32, 166, 255, 0);
}

.button-outline--interactive {
  transition: background-color 0.25s ease, color 0.25s ease, transform 0.18s ease, box-shadow 0.25s ease;
}

.button-outline--interactive:hover {
  background: var(--color-primary);
  color: #fff;
  transform: scale(1.03);
  box-shadow: 0 12px 28px rgba(32, 166, 255, 0.25);
}

.button-outline--interactive:active {
  transform: scale(0.98);
}

.story-section {
  padding: 120px 0;
}

.story-row {
  display: grid;
  grid-template-columns: 50vw 3.125vw 28.125vw 1fr;
  align-items: center;
  gap: 0;
}

.story-row--edge {
  margin-top: 80px;
  padding-left: 0;
  padding-right: 0;
}

.story-row--reverse {
  grid-template-columns: calc(18.75% + 7px) 28.125% 3.125% calc(50% - 7px);
  margin-top: 0;
  width: calc(100vw - var(--scrollbar-width));
  margin-left: calc(50% - 50vw + (var(--scrollbar-width) / 2));
  padding-left: 0;
  padding-right: 0;
}

.story-visual {
  position: relative;
  width: 50vw;
  max-width: 50vw;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 0;
}

.story-visual--flush {
  border-radius: 0;
}

.story-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.story-visual--right-top img {
  object-position: center;
}

.story-visual--fullbleed {
  width: 100%;
  max-width: none;
  margin-right: 0;
  justify-self: end;
  border-radius: 0;
}

.story-copy h3 {
  margin: 0 0 24px;
  font-size: clamp(2rem, 3.6vw, 2.5rem);
  line-height: 1.3;
  font-weight: 600;
}

.story-copy p {
  margin: 0;
  font-size: clamp(1rem, 2vw, 1.5rem);
  line-height: 1.4;
  color: var(--color-text-soft);
}

.story-row .story-copy {
  width: 28.125vw;
  max-width: 28.125vw;
  padding-block: 24px;
}

.story-row--edge .story-copy {
  grid-column: 3;
  justify-self: start;
  text-align: left;
}

.story-row--reverse .story-copy {
  grid-column: 2;
  justify-self: start;
  text-align: left;
}

.story-row--edge .story-visual {
  grid-column: 1;
}

.story-row--reverse .story-visual {
  grid-column: 4;
  width: 100%;
  max-width: none;
}

[data-story-item] {
  opacity: 0;
  transition: opacity 0.85s ease, transform 0.95s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: calc(var(--story-delay, 0) * 1s);
  will-change: opacity, transform;
}

[data-story-item="left"] {
  transform: translate3d(-56px, 0, 0);
}

[data-story-item="right"] {
  transform: translate3d(56px, 0, 0);
}

[data-story-item].is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.highlights-section {
  padding: 72px 0 120px;
}

.highlights-shell {
  position: relative;
  padding: 108px 63px 0;
  border-radius: var(--radius-xl);
  background: transparent;
  overflow: visible;
}

.highlights-shell::before {
  content: "";
  position: absolute;
  inset: 0 0 240px;
  border-radius: var(--radius-xl);
  background: var(--color-surface-soft);
  z-index: 0;
  opacity: 0;
  transform: translate3d(0, 64px, 0);
  transition: opacity 0.9s ease, transform 1s cubic-bezier(0.22, 1, 0.36, 1);
}

.highlights-shell > * {
  position: relative;
  z-index: 1;
}

.highlights-shell.is-visible::before {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

[data-highlights-item] {
  opacity: 0;
  transform: translate3d(0, 48px, 0);
  transition: opacity 1.1s ease, transform 1.3s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: calc(var(--highlights-delay, 0) * 1s);
  will-change: opacity, transform;
}

.highlights-shell.is-visible [data-highlights-item] {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.highlights-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 33px;
  margin-top: 80px;
}

.highlight-card {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 24px;
  border-radius: var(--radius-xl);
  background: #fff;
  box-shadow: var(--shadow-card);
}

.highlight-card__copy {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 172px;
}

.highlight-card h3 {
  margin: 0 0 12px;
  font-size: 1.5rem;
  line-height: 1.3333;
  font-weight: 600;
}

.highlight-card p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.5;
  color: #4b4b4d;
}

.highlight-card__media {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 24px;
}

.highlight-card__media img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center;
}

.testimonials-section {
  padding: 96px 0 136px;
  min-height: 980px;
  overflow: hidden;
}

.testimonials-backdrop__shade {
  background: rgba(0, 0, 0, 0.4);
}

.testimonials-backdrop img {
  inset: 0 auto auto 50%;
  width: 100vw;
  max-width: none;
  height: auto;
  min-height: 100%;
  transform: translateX(-50%);
  object-fit: initial;
}

.testimonials-inner {
  position: relative;
  z-index: 1;
}

.testimonial-rows {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-top: 80px;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.testimonial-row {
  overflow: hidden;
  width: 100%;
}

.testimonial-row__track {
  display: flex;
  gap: 40px;
  width: max-content;
  will-change: transform;
}

.testimonial-row--left .testimonial-row__track {
  animation: marquee-left 46s linear infinite;
}

.testimonial-row--right .testimonial-row__track {
  animation: marquee-right 52s linear infinite;
}

.testimonial-row:hover .testimonial-row__track {
  animation-play-state: paused;
}

.testimonial-card {
  flex: 0 0 611px;
  width: 611px;
  min-height: 256px;
  padding: 32px 24px;
  border: 2px solid #fff;
  border-radius: var(--radius-lg);
  background: #fff;
}

.testimonial-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 24px;
  margin-bottom: 24px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.testimonial-card__person {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.testimonial-card__person img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
}

.testimonial-card__person h3 {
  margin: 0;
  font-size: 24px;
  line-height: 1;
  font-weight: 600;
}

.testimonial-card__stars {
  margin: 0;
  color: #ffad1f;
  letter-spacing: 0.14em;
}

.testimonial-card > p {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
  color: var(--color-text-muted);
}

.office-section {
  padding: 160px 0;
}

.office-grid {
  display: grid;
  grid-template-columns: minmax(0, 720px) minmax(320px, 456px);
  gap: 24px;
}

.office-visual {
  overflow: hidden;
  border-radius: var(--radius-xl);
}

.office-visual--large img {
  height: 720px;
}

.office-visual--small img {
  height: 330px;
}

.office-side {
  display: flex;
  flex-direction: column;
  min-height: 720px;
  justify-content: space-between;
  gap: 40px;
}

.office-copy-block {
  display: flex;
  flex-direction: column;
  margin-top: auto;
}

.office-side .section-heading {
  gap: 10px;
}

.office-copy {
  margin: 40px 0 0;
  font-size: 16px;
  line-height: 1.5;
  color: var(--color-text-soft);
}

[data-office-item] {
  opacity: 0;
  transition: opacity 0.9s ease, transform 1.05s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: calc(var(--office-delay, 0) * 1s);
  will-change: opacity, transform;
}

[data-office-item="left"] {
  transform: translate3d(-56px, 0, 0);
}

[data-office-item="right"] {
  transform: translate3d(56px, 0, 0);
}

[data-office-item].is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.cta-strip {
  position: relative;
  min-height: 320px;
}

.cta-strip__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 73, 200, 0.1) 0%, rgba(0, 70, 195, 0.28) 100%);
}

.cta-strip .container {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 320px;
}

.cta-strip p {
  margin: 0;
  width: min(100%, 1032px);
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.2;
  font-weight: 600;
  text-align: center;
  color: #fff;
  text-shadow: 0 4px 8px rgba(0, 13, 159, 0.5);
}

[data-cta-item] {
  opacity: 0;
  transition: opacity 2s ease;
  will-change: opacity;
}

[data-cta-item].is-visible {
  opacity: 1;
}

.site-footer {
  background: var(--color-surface-alt);
}

.footer-main {
  padding: 80px 0;
}

.footer-grid {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

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

.footer-links h3 {
  margin: 0 0 8px;
  font-size: 16px;
  line-height: 2;
  font-weight: 600;
  text-transform: uppercase;
}

.footer-links a {
  font-size: 16px;
  line-height: 2;
  color: var(--color-text-soft);
}

.social-link img {
  width: 48px;
  height: 48px;
}

.footer-bottom {
  padding-bottom: 40px;
}

.footer-bottom__inner {
  padding-top: 24px;
  border-top: 1px solid var(--color-border);
}

.footer-bottom p {
  margin: 0;
  font-size: 14px;
  line-height: 1;
  color: rgba(0, 0, 0, 0.5);
}

.page-hero {
  min-height: 560px;
}

.page-hero__copy {
  position: relative;
  z-index: 1;
  min-height: 560px;
}

.page-hero__copy::before {
  content: "";
  display: block;
  height: var(--header-height);
}

.games-page {
  padding: 120px 0;
}

.games-page__intro {
  display: block;
}

.games-page__intro .section-heading {
  max-width: 920px;
}

.games-page__intro p {
  margin: 0;
  font-size: 24px;
  line-height: 1.4;
  color: var(--color-text-soft);
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px 33px;
  margin-top: 80px;
}

.all-game-card__content {
  gap: 16px;
}

.all-game-card__links {
  display: flex;
  gap: 16px;
  max-height: 0;
  opacity: 0;
  overflow: visible;
  transform: translateY(10px);
  transition: max-height 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
}

.all-game-card__store {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.all-game-card:hover .all-game-card__links,
.all-game-card:focus-within .all-game-card__links {
  max-height: 72px;
  opacity: 1;
  transform: translateY(0);
}

.all-game-card__store:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-2px);
}

.all-game-card__store img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

@keyframes marquee-left {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(calc(-50% - 16.5px));
  }
}

@keyframes marquee-right {
  from {
    transform: translateX(calc(-50% - 16.5px));
  }

  to {
    transform: translateX(0);
  }
}

@keyframes hero-fade-up {
  from {
    opacity: 0;
    transform: translateY(22px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1279px) {
  .games-grid,
  .highlights-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .games-page__intro,
  .story-row,
  .story-row--reverse,
  .office-grid {
    grid-template-columns: 1fr;
  }

  .story-row,
  .story-row--reverse {
    gap: 32px;
  }

  .story-row--edge {
    padding-left: 0;
    padding-right: 0;
  }

  .story-row--edge .story-visual--flush {
    border-radius: 0;
  }

  .story-row--reverse {
    margin-top: 0;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    padding-left: 0;
    padding-right: 0;
  }

  .story-row .story-visual,
  .story-row--reverse .story-visual,
  .story-visual--fullbleed {
    width: 100%;
    max-width: none;
  }

  .story-row .story-copy {
    width: min(calc(100% - 48px), var(--container));
    max-width: min(calc(100% - 48px), var(--container));
    margin-inline: auto;
  }

  .office-side {
    min-height: auto;
    justify-content: flex-start;
    gap: 48px;
  }

  [data-office-item] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media (min-width: 1921px) {
  :root {
    --wide-section-width: calc(62.5vw - 14px);
    --wide-section-gutter: calc((100vw - var(--wide-section-width)) / 2 + 63px);
    --home-game-card-width: clamp(420px, 12vw, 520px);
  }

  .story-section > .container:first-child {
    width: var(--wide-section-width);
    max-width: none;
    padding-left: 63px;
  }

  .highlights-shell.container {
    width: var(--wide-section-width);
    max-width: none;
  }

  .office-grid.container {
    width: calc(62.5vw - 140px);
    max-width: none;
    grid-template-columns: minmax(0, 60%) minmax(0, 38%);
    gap: 2%;
  }

  .story-row {
    grid-template-columns: 50vw 3.125vw calc(46.875vw - var(--wide-section-gutter)) var(--wide-section-gutter);
  }

  .story-row .story-copy {
    width: 100%;
    max-width: none;
  }

  .story-row--reverse {
    grid-template-columns:
      calc(var(--wide-section-gutter) + 7px)
      calc(46.875vw - var(--wide-section-gutter) - 7px)
      3.125vw
      calc(50% - 7px);
  }
}

@media (max-width: 1023px) {
  :root {
    --header-height: 72px;
  }

  .menu-toggle {
    display: inline-flex;
    z-index: 2;
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .primary-nav {
    position: absolute;
    top: calc(100% - 8px);
    right: 24px;
    flex-direction: column;
    align-items: flex-start;
    min-width: 220px;
    padding: 20px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow-soft);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
  }

  .primary-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .hero-section,
  .hero-copy {
    min-height: 680px;
  }

  .home-games,
  .story-section,
  .highlights-section,
  .games-page,
  .office-section {
    padding-top: 96px;
  }

  .game-marquee {
    width: calc(100% - 24px);
  }

  .game-card,
  .all-game-card {
    flex-basis: 320px;
    width: 320px;
    height: 426px;
  }

  .game-card--featured {
    height: 426px;
  }

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

  .testimonial-card {
    width: 460px;
    flex-basis: 460px;
  }

  .footer-links {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 767px) {
  :root {
    --header-height: 68px;
  }

  .container {
    width: min(calc(100% - 32px), var(--container));
  }

  .hero-section,
  .hero-copy {
    min-height: 520px;
  }

  .hero-copy {
    justify-content: center;
    padding-bottom: 0;
  }

  .hero-copy h1 {
    font-size: 2.25rem;
  }

  .hero-overlay {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.08) 0%, rgba(0, 0, 0, 0.5) 100%);
  }

  .home-games,
  .story-section,
  .highlights-section,
  .games-page,
  .testimonials-section,
  .office-section {
    padding-top: 88px;
  }

  .section-heading h2 {
    font-size: 2.25rem;
  }

  .games-page__intro p,
  .section-heading p,
  .story-copy p {
    font-size: 1rem;
  }

  .home-games__subtitle {
    white-space: normal;
  }

  .testimonials-subtitle {
    white-space: normal;
  }

  .highlights-shell {
    padding: 48px 20px;
  }

  .highlights-shell::before {
    inset: 0 0 120px;
  }

  [data-highlights-item] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .highlights-shell::before {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .highlights-grid,
  .games-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 48px;
  }

  .game-marquee {
    margin-top: 48px;
  }

  .game-card,
  .all-game-card {
    flex-basis: 264px;
    width: 264px;
    height: 360px;
  }

  .game-marquee .game-card {
    flex-basis: 82vw;
    width: 82vw;
    height: 112vw;
    max-width: 320px;
    max-height: 438px;
  }

  .games-grid .all-game-card {
    width: 91.46vw;
    max-width: 91.46vw;
    margin-inline: auto;
  }

  .game-card__text h3,
  .all-game-card__text h3 {
    font-size: 1.5rem;
  }

  .button-outline {
    min-height: 56px;
    font-size: 1rem;
  }

  .story-row--edge {
    margin-top: 48px;
    padding-left: 16px;
    padding-right: 16px;
  }

  .story-row,
  .story-row--reverse {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding-left: 0;
    padding-right: 0;
  }

  .story-row .story-copy {
    width: calc(100% - 32px);
    max-width: calc(100% - 32px);
    margin-inline: auto;
    padding-inline: 0;
    padding-block: 0;
  }

  .story-row .story-visual,
  .story-row--reverse .story-visual {
    width: 100%;
    max-width: none;
  }

  .story-row--reverse .story-visual {
    order: -1;
  }

  .story-row--edge .story-visual {
    border-radius: 0;
  }

  [data-story-item] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .game-card__links {
    max-height: none;
    opacity: 1;
    transform: translateY(0);
  }

  .all-game-card__links {
    max-height: none;
    opacity: 1;
    transform: translateY(0);
  }

  .testimonial-rows {
    gap: 40px;
    margin-top: 48px;
  }

  .testimonial-card {
    width: 440px;
    min-height: 236px;
    flex-basis: 440px;
  }

  .testimonial-card__head {
    flex-direction: column;
    align-items: flex-start;
  }

  .testimonial-card__person h3 {
    font-size: 1rem;
  }

  .office-visual--large img {
    height: 360px;
  }

  .office-visual--small img {
    height: 220px;
  }

  .cta-strip,
  .cta-strip .container {
    min-height: 220px;
  }

  .footer-main {
    padding: 56px 0;
  }
}
