:root {
  color-scheme: light;
  font-family: "Fredoka", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;

  --ink: #321407;
  --ink-soft: #644b3c;
  --paper: #fff8ec;
  --paper-deep: #f8edda;
  --gold: #ffb82e;
  --orange: #ee7b2b;
  --green: #789647;
  --blue: #4f89aa;
  --page-width: 1280px;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}

body {
  min-width: 320px;
  margin: 0;
  background: var(--paper);
  color: var(--ink);
}

body,
button,
a {
  font-family: "Fredoka", sans-serif;
}

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

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

img,
svg {
  display: block;
}

.page-shell {
  width: min(var(--page-width), calc(100% - 64px));
  margin-inline: auto;
}

.section-pad {
  padding-block: clamp(72px, 8vw, 116px);
}

.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  aspect-ratio: 1536 / 442;
  min-height: 0;
  flex-direction: column;
  overflow: hidden;
  background-color: #e6a969;
  background-image: url("src/hero-img.png");
  background-position: center top;
  background-repeat: no-repeat;
  background-size: 100% auto;
}

.hero__shade {
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(90deg, rgb(255 231 194 / 83%) 0%, rgb(255 231 194 / 64%) 32%, rgb(255 231 194 / 10%) 67%, transparent 100%),
    linear-gradient(0deg, rgb(57 25 8 / 15%), transparent 35%);
}

.site-header {
  position: relative;
  z-index: 5;
  display: grid;
  width: min(1440px, calc(100% - 64px));
  min-height: 66px;
  grid-template-columns: 124px minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  margin: 14px auto 0;
  padding: 5px 22px 5px 16px;
  border: 1px solid rgb(255 255 255 / 70%);
  border-radius: 999px;
  background: rgb(255 250 241 / 88%);
  box-shadow: 0 12px 35px rgb(58 34 14 / 13%);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.brand {
  display: block;
  width: 112px;
  line-height: 0;
}

.brand img {
  width: 100%;
  height: auto;
}

.nav-panel {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.main-nav {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  justify-content: center;
  gap: clamp(22px, 4vw, 58px);
}

.main-nav a {
  position: relative;
  padding-block: 8px;
  font-size: 15px;
  font-weight: 600;
}

.main-nav a::after {
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  border-radius: 2px;
  background: var(--orange);
  content: "";
  transition: transform 160ms ease;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  transform: scaleX(1);
}

.social-links {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 16px;
}

.social-links a {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid transparent;
  border-radius: 50%;
  transition:
    transform 160ms ease,
    background-color 160ms ease,
    border-color 160ms ease;
}

.social-links a:hover {
  transform: translateY(-2px);
  border-color: rgb(50 20 7 / 10%);
  background: rgb(255 184 46 / 18%);
}

.social-links svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.social-links__dot,
.social-links__play {
  fill: currentColor;
  stroke: none;
}

.menu-toggle {
  display: none;
}

.hero__content {
  z-index: 1;
  position: absolute;
  top: 22%;
  left: 50%;
  width: min(var(--page-width), calc(100% - 64px));
  margin: 0;
  transform: translateX(-50%);
}

.hero__eyebrow,
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--orange);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.25px;
  text-transform: uppercase;
}

.hero__eyebrow {
  color: #7a431c;
}

.hero__spark {
  color: #e89122;
  font-size: 18px;
}

.hero__content h1 {
  max-width: 650px;
  margin: 10px 0 12px;
  font-size: clamp(42px, 4.5vw, 66px);
  font-weight: 700;
  letter-spacing: -1.8px;
  line-height: 0.98;
}

.hero__content > p {
  max-width: 470px;
  margin: 0;
  color: #533321;
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.42;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 22px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 23px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background-color 160ms ease;
  white-space: nowrap;
}

.button:hover {
  transform: translateY(-2px);
}

.button:focus-visible,
a:focus-visible,
button:focus-visible {
  outline: 3px solid #3e7b99;
  outline-offset: 3px;
}

.button--primary {
  background: var(--gold);
  box-shadow: 0 5px 0 #dc8e1c, 0 10px 22px rgb(118 65 13 / 15%);
}

.button--primary:hover {
  background: #ffc64e;
  box-shadow: 0 7px 0 #dc8e1c, 0 14px 26px rgb(118 65 13 / 18%);
}

.button--primary svg {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  fill: currentColor;
}

.button--quiet {
  border-color: rgb(69 39 20 / 28%);
  background: rgb(255 250 241 / 48%);
  backdrop-filter: blur(5px);
}

.button--quiet:hover {
  background: rgb(255 250 241 / 78%);
}

.scroll-cue {
  position: absolute;
  right: 50%;
  bottom: 22px;
  display: grid;
  width: 34px;
  height: 48px;
  place-items: start center;
  padding-top: 9px;
  transform: translateX(50%);
  border: 1px solid rgb(255 255 255 / 68%);
  border-radius: 999px;
  background: rgb(255 250 241 / 34%);
}

.scroll-cue span {
  width: 4px;
  height: 9px;
  border-radius: 4px;
  background: var(--ink);
  animation: scroll-bob 1.4s ease-in-out infinite;
}

@keyframes scroll-bob {
  0%,
  100% {
    transform: translateY(0);
    opacity: 0.45;
  }

  50% {
    transform: translateY(7px);
    opacity: 1;
  }
}

.games-section {
  position: relative;
  background:
    radial-gradient(ellipse at 4% 0%, #fff 0, transparent 38%),
    var(--paper);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: 42px;
}

.section-heading h2,
.about-copy h2,
.contact-section h2 {
  margin: 12px 0 0;
  font-size: clamp(38px, 4.7vw, 62px);
  font-weight: 600;
  letter-spacing: -1.7px;
  line-height: 1.02;
}

.section-heading > p {
  max-width: 410px;
  margin: 0 0 5px;
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.5;
}

.game-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.3vw, 32px);
}

.game-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgb(83 48 25 / 8%);
  border-radius: 22px;
  background: #fffdf8;
  box-shadow: 0 12px 35px rgb(73 48 24 / 8%);
  transition:
    transform 200ms ease,
    box-shadow 200ms ease;
}

.game-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgb(73 48 24 / 14%);
}

.game-card__image-wrap {
  position: relative;
  overflow: hidden;
  background: var(--paper-deep);
}

.game-card__image {
  width: 100%;
  aspect-ratio: 3 / 3;
  object-fit: cover;
  transition: transform 350ms ease;
}

.game-card:hover .game-card__image {
  transform: scale(1.015);
}

.game-card__number {
  position: absolute;
  top: 14px;
  left: 14px;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgb(255 255 255 / 68%);
  border-radius: 50%;
  background: rgb(255 250 241 / 82%);
  font-size: 13px;
  font-weight: 600;
  backdrop-filter: blur(8px);
}

.game-card__body {
  display: flex;
  min-height: 164px;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 22px;
}

.game-card__body > div {
  min-width: 0;
}

.game-card__genre {
  display: block;
  margin-bottom: 7px;
  color: var(--orange);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.9px;
  text-transform: uppercase;
}

.game-card--green .game-card__genre {
  color: #658236;
}

.game-card--blue .game-card__genre {
  color: #4d7f9a;
}

.game-card__body h3 {
  margin: 0;
  font-size: clamp(18px, 1.75vw, 23px);
  font-weight: 600;
  line-height: 1.15;
}

.game-card__body p {
  max-width: 280px;
  margin: 8px 0 0;
  color: #725f53;
  font-size: 14px;
  line-height: 1.4;
}

.game-card__link {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: #ffe3b0;
  font-size: 22px;
  transition:
    transform 160ms ease,
    background-color 160ms ease;
}

.game-card__link:hover {
  transform: translate(2px, -2px);
  background: var(--gold);
}

.about-section {
  position: relative;
  overflow: hidden;
  padding-block: clamp(76px, 8vw, 112px);
  background:
    radial-gradient(ellipse at 50% 0%, rgb(243 200 120 / 24%), transparent 48%),
    #fff8ec;
}

.about-section::before,
.about-section::after {
  position: absolute;
  z-index: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ef9b4b;
  content: "";
}

.about-section::before {
  top: 17%;
  left: 8%;
  box-shadow: 20px 24px 0 -4px #e5b854, 46px -8px 0 -5px #92a960;
}

.about-section::after {
  right: 9%;
  bottom: 18%;
  background: #e5b854;
  box-shadow: -24px -18px 0 -4px #92a960, -45px 10px 0 -5px #ef9b4b;
}

.about-section__inner {
  position: relative;
  z-index: 1;
}

.eyebrow--light {
  color: #a95e23;
}

.about-copy {
  max-width: 800px;
  margin-inline: auto;
  text-align: center;
}

.about-copy h2 {
  max-width: 800px;
  margin-inline: auto;
  color: var(--ink);
  font-size: clamp(42px, 5.2vw, 68px);
}

.about-copy > p {
  max-width: 660px;
  margin: 20px auto 0;
  color: #725f53;
  font-size: clamp(16px, 1.35vw, 19px);
  line-height: 1.55;
}

.about-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  color: #6f3c1b;
  font-size: 15px;
  font-weight: 600;
}

.about-link span {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 50%;
  background: #ffd78e;
  color: var(--ink);
  transition: transform 160ms ease;
}

.about-link:hover span {
  transform: translateX(4px);
}

.values-panel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: clamp(38px, 5vw, 58px);
}

.value-card {
  display: flex;
  min-height: 190px;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: clamp(22px, 2.5vw, 32px);
  border: 1px solid rgb(83 48 25 / 9%);
  border-radius: 24px;
  background: #fffdf8;
  box-shadow: 0 14px 36px rgb(73 48 24 / 7%);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.value-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 42px rgb(73 48 24 / 12%);
}

.value-card__icon {
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  border-radius: 17px;
  background: #ffe3b0;
  color: #a2531b;
  font-size: 24px;
}

.value-card:nth-child(2) .value-card__icon {
  background: #e5edce;
  color: #597532;
}

.value-card:nth-child(3) .value-card__icon {
  background: #f8d9d0;
  color: #a8503b;
}

.value-card h3 {
  margin: 0;
  color: var(--ink);
  font-size: 20px;
  font-weight: 600;
}

.value-card p {
  margin: 7px 0 0;
  color: #725f53;
  font-size: 15px;
  line-height: 1.45;
}

.contact-section {
  position: relative;
  overflow: hidden;
  padding-block: clamp(64px, 8vw, 100px);
  background: #f3c878;
}

.contact-section::after {
  position: absolute;
  top: -120px;
  right: 8%;
  width: 300px;
  height: 300px;
  border: 1px solid rgb(83 48 25 / 12%);
  border-radius: 50%;
  box-shadow: 0 0 0 28px rgb(83 48 25 / 4%), 0 0 0 58px rgb(83 48 25 / 3%);
  content: "";
}

.contact-section__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.85fr);
  align-items: center;
  gap: clamp(32px, 7vw, 96px);
}

.contact-copy > p {
  max-width: 440px;
  margin: 16px 0 0;
  color: #63452e;
  font-size: 17px;
  line-height: 1.55;
}

.contact-section h2 {
  max-width: 660px;
  font-size: clamp(38px, 4.7vw, 60px);
}

.contact-email {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) 40px;
  align-items: center;
  gap: 16px;
  min-width: 0;
  padding: 22px;
  border: 1px solid rgb(83 48 25 / 12%);
  border-radius: 22px;
  background: var(--ink);
  color: #fff6e7;
  box-shadow: 0 16px 40px rgb(50 20 7 / 15%);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease;
}

.contact-email:hover {
  transform: translateY(-4px);
  background: #4b2512;
  box-shadow: 0 22px 46px rgb(50 20 7 / 20%);
}

.contact-email__icon,
.contact-email__arrow {
  display: grid;
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 16px;
  background: #ffc778;
  color: var(--ink);
  font-size: 22px;
}

.contact-email__text {
  min-width: 0;
}

.contact-email__text small,
.contact-email__text strong {
  display: block;
}

.contact-email__text small {
  margin-bottom: 6px;
  color: rgb(255 246 231 / 68%);
  font-size: 13px;
}

.contact-email__text strong {
  overflow-wrap: anywhere;
  font-size: clamp(14px, 1.35vw, 18px);
  font-weight: 500;
}

.contact-email__arrow {
  width: 40px;
  height: 40px;
  border: 1px solid rgb(255 246 231 / 22%);
  background: transparent;
  color: #fff6e7;
  font-size: 19px;
}

.site-footer {
  display: flex;
  min-height: 104px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px max(32px, calc((100% - var(--page-width)) / 2));
  background: #2e1308;
  color: #fff4df;
}

.site-footer__brand {
  display: block;
  width: 94px;
  flex: 0 0 auto;
  line-height: 0;
}

.site-footer__brand img {
  width: 100%;
  height: auto;
}

.site-footer p,
.site-footer > span {
  margin: 0;
  color: rgb(255 244 223 / 78%);
  font-size: 14px;
}

.site-footer__privacy {
  color: #fff4df;
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.policy-index {
  min-height: 100vh;
  background:
    radial-gradient(ellipse at 85% 10%, rgb(243 200 120 / 25%), transparent 36%),
    #fff8ec;
}

.policy-index__main {
  padding-block: clamp(48px, 8vw, 100px);
}

.policy-back {
  display: inline-block;
  margin-bottom: 56px;
  color: var(--ink-soft);
  font-weight: 500;
}

.policy-index h1 {
  margin: 12px 0 0;
  font-size: clamp(42px, 7vw, 72px);
  line-height: 1;
}

.policy-index__intro {
  margin: 16px 0 34px;
  color: var(--ink-soft);
  font-size: 17px;
}

.policy-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.policy-card {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr) 42px;
  align-items: center;
  gap: 18px;
  padding: 16px;
  border: 1px solid rgb(83 48 25 / 10%);
  border-radius: 20px;
  background: #fffdf8;
  box-shadow: 0 12px 32px rgb(73 48 24 / 7%);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.policy-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 38px rgb(73 48 24 / 12%);
}

.policy-card img {
  width: 76px;
  height: 92px;
  border-radius: 12px;
  object-fit: cover;
}

.policy-card strong,
.policy-card small {
  display: block;
}

.policy-card strong {
  font-size: 19px;
}

.policy-card small {
  margin-top: 5px;
  color: var(--ink-soft);
  font-size: 14px;
}

.policy-card__arrow {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 50%;
  background: #ffe3b0;
}

@media (max-width: 1080px) {
  .hero {
    aspect-ratio: auto;
    min-height: max(660px, 100svh);
    background-position: center;
    background-size: cover;
  }

  .site-header {
    grid-template-columns: 125px minmax(0, 1fr);
    gap: 14px;
    padding-inline: 18px;
  }

  .brand {
    width: 118px;
  }

  .main-nav {
    gap: clamp(14px, 2.5vw, 28px);
  }

  .nav-panel {
    gap: 18px;
  }

  .social-links {
    gap: 8px;
  }

  .about-section__inner {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 1fr);
    gap: 36px;
  }
}

@media (max-width: 820px) {
  .page-shell {
    width: min(var(--page-width), calc(100% - 48px));
  }

  .hero {
    aspect-ratio: auto;
    min-height: max(700px, 100svh);
    background-position: 65% center;
    background-size: cover;
  }

  .hero__shade {
    background:
      linear-gradient(90deg, rgb(255 231 194 / 86%) 0%, rgb(255 231 194 / 66%) 48%, rgb(255 231 194 / 18%) 100%),
      linear-gradient(0deg, rgb(57 25 8 / 13%), transparent 35%);
  }

  .site-header {
    width: calc(100% - 40px);
    min-height: 72px;
    grid-template-columns: 1fr auto;
    gap: 12px;
    margin-top: 18px;
    padding: 8px 12px 8px 18px;
    border-radius: 24px;
  }

  .brand {
    width: clamp(100px, 18vw, 126px);
  }

  .menu-toggle {
    display: flex;
    width: 44px;
    height: 44px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 0;
    border: 1px solid rgb(50 20 7 / 14%);
    border-radius: 50%;
    background: rgb(255 255 255 / 74%);
    color: var(--ink);
    cursor: pointer;
  }

  .menu-toggle span {
    width: 18px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    transition:
      transform 160ms ease,
      opacity 160ms ease;
  }

  .is-menu-open .menu-toggle span:first-child {
    transform: translateY(7px) rotate(45deg);
  }

  .is-menu-open .menu-toggle span:nth-child(2) {
    opacity: 0;
  }

  .is-menu-open .menu-toggle span:last-child {
    transform: translateY(-7px) rotate(-45deg);
  }

  .nav-panel {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    padding: 16px;
    border: 1px solid rgb(255 255 255 / 75%);
    border-radius: 22px;
    background: rgb(255 250 241 / 96%);
    box-shadow: 0 18px 40px rgb(58 34 14 / 16%);
    backdrop-filter: blur(18px);
  }

  .is-menu-open .nav-panel {
    display: flex;
  }

  .main-nav {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .main-nav a {
    padding: 12px 8px;
    border-bottom: 1px solid rgb(50 20 7 / 10%);
    font-size: 16px;
  }

  .main-nav a::after {
    display: none;
  }

  .social-links {
    justify-content: center;
    gap: 18px;
  }

  .hero__content {
    position: relative;
    top: auto;
    left: auto;
    margin: clamp(112px, 18vh, 160px) auto 100px;
    transform: none;
  }

  .hero__content h1 {
    font-size: clamp(54px, 9vw, 74px);
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 30px;
  }

  .section-heading > p {
    max-width: 560px;
  }

  .game-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .game-card__body {
    min-height: 148px;
    padding: 18px;
  }

  .about-section__inner {
    display: block;
  }

  .about-copy {
    max-width: 680px;
  }

  .values-panel {
    gap: 12px;
  }
}

@media (max-width: 560px) {
  .page-shell {
    width: calc(100% - 40px);
  }

  .hero {
    aspect-ratio: auto;
    min-height: max(720px, 100svh);
    background-position: 62% center;
  }

  .hero__shade {
    background:
      linear-gradient(90deg, rgb(255 231 194 / 90%) 0%, rgb(255 231 194 / 70%) 68%, rgb(255 231 194 / 30%) 100%),
      linear-gradient(0deg, rgb(57 25 8 / 12%), transparent 36%);
  }

  .site-header {
    width: calc(100% - 28px);
    min-height: 64px;
    margin-top: 14px;
    border-radius: 20px;
  }

  .brand {
    width: clamp(92px, 27vw, 118px);
  }

  .hero__content {
    margin-top: clamp(122px, 20vh, 172px);
  }

  .hero__eyebrow,
  .eyebrow {
    font-size: 11px;
    letter-spacing: 1px;
  }

  .hero__content h1 {
    margin-block: 13px;
    font-size: clamp(44px, 12vw, 64px);
    letter-spacing: -1.8px;
  }

  .hero__content > p {
    max-width: 390px;
    font-size: clamp(16px, 4.7vw, 19px);
  }

  .hero__actions {
    gap: 12px;
    margin-top: 24px;
  }

  .button {
    min-height: 48px;
    padding-inline: 17px;
    font-size: 14px;
  }

  .scroll-cue {
    display: none;
  }

  .section-pad {
    padding-block: 66px;
  }

  .section-heading h2,
  .about-copy h2,
  .contact-section h2 {
    font-size: clamp(36px, 10vw, 48px);
    letter-spacing: -1px;
  }

  .desktop-break {
    display: none;
  }

  .section-heading {
    gap: 14px;
    margin-bottom: 24px;
  }

  .section-heading > p {
    font-size: 15px;
  }

  .game-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .game-card,
  .game-card:last-child {
    display: block;
  }

  .game-card:last-child {
    grid-column: auto;
  }

  .game-card__body {
    min-height: 132px;
    padding: 17px;
  }

  .game-card__body h3 {
    font-size: 19px;
  }

  .game-card__body p {
    font-size: 13px;
  }

  .about-section {
    padding-block: 68px;
  }

  .about-copy > p {
    margin-top: 16px;
    font-size: 16px;
  }

  .values-panel {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 30px;
  }

  .value-card {
    min-height: 0;
    flex-direction: row;
    align-items: center;
    gap: 15px;
    padding: 18px;
  }

  .value-card__icon {
    width: 42px;
    height: 42px;
    flex: 0 0 auto;
  }

  .value-card h3 {
    font-size: 17px;
  }

  .value-card p {
    font-size: 13px;
  }

  .contact-section {
    padding-block: 60px;
  }

  .contact-section__inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .contact-email {
    width: 100%;
    padding: 17px;
  }

  .contact-email__icon {
    width: 42px;
    height: 42px;
  }

  .contact-email__arrow {
    width: 36px;
    height: 36px;
  }

  .contact-copy > p {
    font-size: 15px;
  }

  .policy-back {
    margin-bottom: 42px;
  }

  .policy-cards {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .policy-card {
    grid-template-columns: 62px minmax(0, 1fr) 36px;
    gap: 14px;
    padding: 12px;
  }

  .policy-card img {
    width: 62px;
    height: 76px;
  }

  .policy-card strong {
    font-size: 17px;
  }

  .site-footer {
    min-height: 156px;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 20px;
    padding: 22px 20px;
    text-align: center;
  }

  .site-footer__brand {
    width: 82px;
  }

  .site-footer p {
    width: auto;
    font-size: 13px;
  }

  .site-footer > span {
    font-size: 12px;
  }

  .site-footer__privacy {
    font-size: 13px;
  }
}

@media (max-width: 360px) {
  .hero__content h1 {
    font-size: 42px;
  }

  .hero__actions {
    align-items: stretch;
    flex-direction: column;
    width: min(260px, 100%);
  }

  .game-card__body {
    padding-inline: 14px;
  }

  .game-card__link {
    width: 36px;
    height: 36px;
  }
}

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

.page-standalone {
  background:
    radial-gradient(circle at top right, rgb(243 200 120 / 28%), transparent 33%),
    linear-gradient(180deg, #fff9f0 0%, #fff8ec 100%);
}

.page-standalone main {
  padding-bottom: clamp(72px, 8vw, 120px);
}

.page-hero {
  padding: clamp(44px, 6vw, 84px) 0 24px;
}

.page-hero__inner,
.page-shell-compact {
  width: min(var(--page-width), calc(100% - 96px));
  margin-inline: auto;
}

.page-hero__chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border: 1px solid rgb(108 61 22 / 18%);
  border-radius: 999px;
  background: rgb(255 255 255 / 72%);
  color: #8a4d17;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.page-hero__chip::before {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--orange);
  content: "";
}

.page-hero h1 {
  max-width: 720px;
  margin: 18px 0 12px;
  font-size: clamp(42px, 5vw, 74px);
  letter-spacing: -1.9px;
  line-height: 0.98;
}

.page-hero h1 span {
  color: var(--orange);
}

.page-hero p {
  max-width: 660px;
  margin: 0;
  color: var(--ink-soft);
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.5;
}

.page-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.page-hero__meta span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid rgb(83 48 25 / 10%);
  border-radius: 999px;
  background: #fffdf8;
  color: #5a4034;
  font-size: 13px;
  font-weight: 600;
}

.page-section {
  padding-top: clamp(36px, 5vw, 66px);
}

.page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  align-items: stretch;
  gap: clamp(22px, 3vw, 38px);
}

.page-panel {
  overflow: hidden;
  border: 1px solid rgb(83 48 25 / 10%);
  border-radius: 24px;
  background: #fffdf8;
  box-shadow: 0 18px 42px rgb(73 48 24 / 8%);
}

.page-panel__body {
  padding: clamp(24px, 3vw, 36px);
}

.page-kicker {
  color: #b6662f;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.page-panel h2,
.page-panel h3 {
  margin: 12px 0 0;
  letter-spacing: -0.9px;
  line-height: 1.1;
}

.page-panel h2 {
  font-size: clamp(32px, 4vw, 52px);
}

.page-panel p {
  margin: 14px 0 0;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.65;
}

.page-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 26px;
}

.page-stat {
  padding: 18px 14px;
  border-radius: 18px;
  background: linear-gradient(180deg, #fff5e0 0%, #fffaf3 100%);
  border: 1px solid rgb(83 48 25 / 8%);
}

.page-stat strong {
  display: block;
  color: var(--ink);
  font-size: clamp(22px, 2vw, 30px);
  letter-spacing: -1px;
}

.page-stat span {
  display: block;
  margin-top: 6px;
  color: var(--ink-soft);
  font-size: 13px;
}

.page-checks {
  display: grid;
  gap: 12px;
  margin-top: 26px;
}

.page-checks li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  list-style: none;
  color: #49372f;
  font-size: 15px;
  line-height: 1.5;
}

.page-checks li::before {
  display: inline-grid;
  width: 22px;
  height: 22px;
  place-items: center;
  margin-top: 1px;
  border-radius: 50%;
  background: #e8f2d9;
  color: #58763e;
  content: "✓";
  font-size: 13px;
  font-weight: 700;
}

.games-page__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2vw, 28px);
  margin-top: 28px;
}

.games-page__card {
  overflow: hidden;
  border: 1px solid rgb(83 48 25 / 10%);
  border-radius: 24px;
  background: #fffdf8;
  box-shadow: 0 18px 40px rgb(73 48 24 / 10%);
}

.games-page__card img {
  display: block;
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
}

.games-page__content {
  padding: 22px 20px 18px;
}

.games-page__content .page-kicker {
  display: inline-block;
  margin-bottom: 10px;
}

.games-page__content h3 {
  margin: 0;
  font-size: clamp(22px, 2.4vw, 30px);
}

.games-page__content p {
  margin-top: 10px;
  font-size: 15px;
}

.games-page__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid rgb(83 48 25 / 8%);
}

.games-page__footer span {
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 600;
}

.games-page__footer a {
  font-weight: 700;
  color: #8d4a12;
}

.timeline {
  display: grid;
  gap: 16px;
  margin-top: 22px;
}

.timeline__item {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: 18px 18px 18px 0;
  border-bottom: 1px solid rgb(83 48 25 / 8%);
}

.timeline__year {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 92px;
  min-height: 42px;
  border-radius: 999px;
  background: #ffe8af;
  color: #7b4318;
  font-size: 14px;
  font-weight: 700;
}

.timeline__item h3 {
  margin: 0;
  font-size: 20px;
}

.timeline__item p {
  margin-top: 8px;
  font-size: 15px;
}

.careers-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.career-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-height: 250px;
  padding: 22px 20px;
  border: 1px solid rgb(83 48 25 / 10%);
  border-radius: 24px;
  background: #fffdf8;
  box-shadow: 0 16px 38px rgb(73 48 24 / 8%);
}

.career-card__tag {
  display: inline-flex;
  width: fit-content;
  padding: 7px 10px;
  border-radius: 999px;
  background: #fff0cc;
  color: #7b4318;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.9px;
  text-transform: uppercase;
}

.career-card h3 {
  margin: 0;
  font-size: 24px;
}

.career-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.5;
}

.career-card ul {
  margin: 0;
  padding-left: 18px;
  color: #49372f;
  font-size: 14px;
  line-height: 1.7;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(24px, 3vw, 42px);
  align-items: stretch;
  margin-top: 18px;
}

.contact-card {
  display: grid;
  gap: 18px;
  padding: clamp(22px, 3vw, 30px);
}

.contact-card--feature {
  display: flex;
  flex-direction: column;
  min-height: 620px;
  padding: clamp(28px, 3vw, 38px) clamp(26px, 2.5vw, 34px) clamp(18px, 2vw, 22px);
  border: 0;
  border-radius: 34px;
  background: #2b1b12;
  box-shadow: none;
  overflow: hidden;
}

.contact-card__eyebrow {
  margin-top: 10px;
  color: #f29d45;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
}

.contact-card__feature-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  margin-top: 8px;
  flex: 1;
}

.contact-card__title {
  margin: 0;
  max-width: 330px;
  color: #fffaf4;
  font-size: clamp(52px, 5vw, 110px);
  font-weight: 700;
  letter-spacing: -0.07em;
  line-height: 0.76;
  text-align: left;
  text-transform: lowercase;
}

.contact-card__socials {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin: 0 0 0 auto;
  padding-top: 8px;
}

.contact-card__socials a {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  color: #fffaf4;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.contact-card__socials a:hover,
.contact-card__socials a:focus-visible {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.28);
}

.contact-card__socials svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-card__socials .social-links__dot,
.contact-card__socials .social-links__play {
  fill: currentColor;
  stroke: none;
}

.contact-card__mail {
  display: flex;
  align-items: center;
  gap: 16px;
  width: min(100%, 490px);
  margin-top: auto;
  padding: 12px 16px 12px 12px;
  border-radius: 18px;
  background: #f5f0e6;
  color: #2d1b13;
  box-shadow: 0 10px 0 rgba(255, 255, 255, 0.06);
}

.contact-card__mail-icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 12px;
  background: #f5c868;
  color: #2b1b12;
  font-size: 22px;
  flex-shrink: 0;
}

.contact-card__mail-value {
  overflow-wrap: anywhere;
  font-size: clamp(15px, 1.45vw, 18px);
  font-weight: 600;
}

.contact-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  border: 1px solid rgb(83 48 25 / 10%);
  border-radius: 18px;
  background: #fffdf8;
}

.contact-row__icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 12px;
  background: #ffe8af;
  color: #7b4318;
  font-size: 18px;
}

.contact-row strong,
.contact-row a {
  display: block;
  font-size: 15px;
  line-height: 1.4;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: clamp(22px, 3vw, 32px);
  border: 1px solid rgba(83, 48, 25, 0.12);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.28);
}

.contact-form .page-kicker {
  color: #d98535;
  font-size: 12px;
}

.contact-form h2 {
  margin: 0;
  font-size: clamp(50px, 4.1vw, 86px);
  line-height: 0.9;
  letter-spacing: -0.08em;
}

.contact-form form {
  display: grid;
  gap: 16px;
}

.contact-form label {
  display: grid;
  gap: 10px;
  color: #4d3a32;
  font-size: 14px;
  font-weight: 600;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  margin: 0;
  padding: 13px 14px;
  border: 1px solid rgba(83, 48, 25, 0.13);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--ink);
  font: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.contact-form textarea {
  min-height: 132px;
  resize: vertical;
}

.contact-form button {
  justify-self: start;
  min-width: 180px;
  margin-top: 8px;
  border: 0;
  box-shadow: 0 5px 0 #d88f0b;
}

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

  .page-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .page-hero__inner,
  .page-shell-compact {
    width: min(var(--page-width), calc(100% - 40px));
  }

  .games-page__grid,
  .careers-list,
  .page-stats {
    grid-template-columns: 1fr;
  }

  .timeline__item {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .timeline__year {
    width: fit-content;
    padding-inline: 14px;
  }
}
