/* =========================================================
   XYD · Shenzhen Xunyida Internet Co., Ltd.
   Static single-page website styles
   ========================================================= */

:root {
  --ink: #0a0f0d;
  --ink-soft: #111a15;
  --ink-3: #1a261f;
  --paper: #f4f5ef;
  --paper-soft: #eaede3;
  --white: #fbfcf8;
  --acid: #d8f36b;
  --acid-strong: #c9ee4a;
  --teal: #77e7c5;
  --muted: #64706a;
  --muted-dark: #a8b2ac;
  --line: rgba(10, 15, 13, 0.13);
  --line-light: rgba(255, 255, 255, 0.12);
  --radius: 26px;
  --max: 1180px;
  --gutter: clamp(20px, 4vw, 48px);
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --font: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", "Noto Sans SC",
    "Source Han Sans SC", system-ui, -apple-system, "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.nav-open {
  overflow: hidden;
}

h1,
h2,
h3,
p,
blockquote,
figure {
  margin: 0;
}

h1,
h2,
h3 {
  font-weight: 800;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

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

button {
  font: inherit;
}

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

address {
  font-style: normal;
}

::selection {
  background: var(--acid);
  color: var(--ink);
}

:focus-visible {
  outline: 2px solid var(--acid-strong);
  outline-offset: 4px;
}

.container {
  width: min(calc(100% - (var(--gutter) * 2)), var(--max));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: -120px;
  left: 20px;
  z-index: 200;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--acid);
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 16px;
}

#about,
#business,
#approach,
#contact {
  scroll-margin-top: 92px;
}

/* =========================================================
   Header
   ========================================================= */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  color: var(--white);
  background: linear-gradient(180deg, rgba(10, 15, 13, 0.72) 0%, rgba(10, 15, 13, 0) 100%);
  transition: background 0.35s var(--ease), color 0.35s var(--ease),
    border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.site-header.is-scrolled {
  color: var(--ink);
  background: rgba(244, 245, 239, 0.9);
  border-bottom: 1px solid rgba(10, 15, 13, 0.08);
  box-shadow: 0 12px 40px rgba(10, 15, 13, 0.05);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 78px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: 0 0 auto;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 41px;
  height: 41px;
  border-radius: 11px;
  background: var(--acid);
  color: var(--ink);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
}

.brand-mark-sm {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  font-size: 8.5px;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.brand-name {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.06em;
}

.brand-en {
  font-size: 8px;
  line-height: 1.2;
  letter-spacing: 0.18em;
  opacity: 0.55;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(20px, 2.5vw, 34px);
  margin-left: auto;
  margin-right: clamp(6px, 1.6vw, 24px);
}

.site-nav a {
  position: relative;
  padding: 6px 0;
  color: rgba(251, 252, 248, 0.66);
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  transition: color 0.25s ease;
}

.site-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s var(--ease);
}

.site-nav a:hover {
  color: var(--acid);
}

.site-nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.site-header.is-scrolled .site-nav a {
  color: var(--muted);
}

.site-header.is-scrolled .site-nav a:hover {
  color: var(--ink);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 40px;
  padding: 0 17px;
  border: 1px solid rgba(251, 252, 248, 0.26);
  border-radius: 999px;
  color: var(--white);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.header-cta svg {
  width: 14px;
  height: 14px;
}

.header-cta:hover {
  border-color: var(--acid);
  background: var(--acid);
  color: var(--ink);
}

.site-header.is-scrolled .header-cta {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
}

.site-header.is-scrolled .header-cta:hover {
  border-color: var(--acid-strong);
  background: var(--acid);
  color: var(--ink);
}

.header-back {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(251, 252, 248, 0.22);
  border-radius: 999px;
  color: rgba(251, 252, 248, 0.78);
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  transition: color 0.25s ease, border-color 0.25s ease;
}

.header-back svg {
  width: 13px;
  height: 13px;
}

.header-back:hover {
  border-color: var(--acid);
  color: var(--acid);
}

.site-header.is-scrolled .header-back {
  border-color: rgba(10, 15, 13, 0.18);
  color: var(--muted);
}

.site-header.is-scrolled .header-back:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(251, 252, 248, 0.26);
  border-radius: 50%;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 15px;
  height: 1.5px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.3s var(--ease), opacity 0.2s ease;
}

.nav-open .nav-toggle span:first-child {
  transform: translateY(3.25px) rotate(45deg);
}

.nav-open .nav-toggle span:last-child {
  transform: translateY(-3.25px) rotate(-45deg);
}

.site-header.is-scrolled .nav-toggle {
  border-color: rgba(10, 15, 13, 0.22);
}

/* =========================================================
   Hero
   ========================================================= */

.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100svh;
  padding: 142px 0 32px;
  overflow: hidden;
  border-radius: 0 0 clamp(26px, 4vw, 48px) clamp(26px, 4vw, 48px);
  background: var(--ink);
  color: var(--white);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 46% 58% at 81% 38%, rgba(119, 231, 197, 0.16), transparent 62%),
    radial-gradient(ellipse 36% 42% at 8% 8%, rgba(216, 243, 107, 0.08), transparent 64%),
    linear-gradient(180deg, #0a0f0d 0%, #0b1310 100%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.052) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.052) 1px, transparent 1px);
  background-size: 72px 72px;
  opacity: 0.66;
  -webkit-mask-image: radial-gradient(ellipse at 72% 42%, #000 0%, transparent 72%);
  mask-image: radial-gradient(ellipse at 72% 42%, #000 0%, transparent 72%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
  flex: 1;
  padding-bottom: 54px;
}

.hero-copy {
  max-width: 720px;
}

.eyebrow {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--muted);
  font-size: 10.5px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow em {
  color: inherit;
  font-style: normal;
  opacity: 0.54;
}

.eyebrow-no {
  color: var(--ink);
  font-weight: 800;
}

.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 0 4px rgba(216, 243, 107, 0.12);
}

.eyebrow-light {
  color: rgba(251, 252, 248, 0.56);
}

.eyebrow-light .eyebrow-no {
  color: var(--acid);
}

.hero h1 {
  max-width: 760px;
  margin: 25px 0 24px;
  color: var(--white);
  font-size: clamp(50px, 7.1vw, 90px);
  line-height: 1.04;
  letter-spacing: -0.065em;
}

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

.hero-company {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  max-width: 700px;
  color: rgba(251, 252, 248, 0.5);
  font-size: 11px;
  line-height: 1.7;
  letter-spacing: 0.025em;
}

.hero-company span:first-child {
  color: rgba(251, 252, 248, 0.82);
  font-weight: 600;
}

.hero-company-sep {
  color: var(--acid) !important;
  font-weight: 400 !important;
}

.hero-lead {
  max-width: 580px;
  margin-top: 22px;
  color: rgba(251, 252, 248, 0.63);
  font-size: clamp(15px, 1.35vw, 17px);
  line-height: 1.95;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 23px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  transition: transform 0.25s var(--ease), background 0.25s ease,
    border-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.btn svg {
  width: 15px;
  height: 15px;
}

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

.btn-primary {
  background: var(--acid);
  color: var(--ink);
  box-shadow: 0 10px 34px rgba(216, 243, 107, 0.14);
}

.btn-primary:hover {
  background: var(--acid-strong);
  box-shadow: 0 14px 40px rgba(216, 243, 107, 0.22);
}

.btn-ghost {
  border-color: rgba(251, 252, 248, 0.24);
  color: var(--white);
}

.btn-ghost:hover {
  border-color: rgba(251, 252, 248, 0.52);
  background: rgba(251, 252, 248, 0.07);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 22px;
  margin-top: 42px;
  color: rgba(251, 252, 248, 0.44);
  font-size: 10px;
  letter-spacing: 0.11em;
}

.hero-meta li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-meta li::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--acid);
  opacity: 0.8;
}

/* Hero visual */

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-height: 480px;
  perspective: 1200px;
}

.visual-watermark {
  position: absolute;
  bottom: -23px;
  left: -13px;
  color: rgba(251, 252, 248, 0.035);
  font-size: clamp(150px, 19vw, 258px);
  font-weight: 900;
  line-height: 0.75;
  letter-spacing: -0.095em;
  pointer-events: none;
  user-select: none;
}

.studio-card {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 505px;
  padding: 13px;
  overflow: hidden;
  border: 1px solid rgba(251, 252, 248, 0.13);
  border-radius: 28px;
  background: linear-gradient(155deg, #18221c 0%, #0e1511 58%, #0a110d 100%);
  box-shadow:
    0 46px 100px rgba(0, 0, 0, 0.48),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transform: rotateY(-4deg) rotateX(2deg);
  transform-origin: 60% 50%;
}

.studio-top {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 4px 6px 13px;
  border-bottom: 1px solid rgba(251, 252, 248, 0.09);
}

.studio-logo {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: var(--acid);
  color: var(--ink);
  font-size: 7px;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.studio-label {
  color: rgba(251, 252, 248, 0.52);
  font-size: 8px;
  letter-spacing: 0.18em;
}

.studio-status {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  color: rgba(251, 252, 248, 0.45);
  font-size: 7px;
  letter-spacing: 0.14em;
}

.studio-status i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 10px rgba(216, 243, 107, 0.9);
  animation: statusPulse 2.4s ease-in-out infinite;
}

.studio-stage {
  position: relative;
  height: 330px;
  margin-top: 10px;
  overflow: hidden;
  border: 1px solid rgba(251, 252, 248, 0.08);
  border-radius: 18px;
  background:
    radial-gradient(ellipse 62% 72% at 50% 48%, rgba(24, 82, 65, 0.5), transparent 65%),
    linear-gradient(180deg, #0b1511 0%, #07100c 100%);
}

.stage-grid {
  position: absolute;
  right: -20%;
  bottom: -38%;
  left: -20%;
  height: 75%;
  background-image:
    linear-gradient(rgba(119, 231, 197, 0.24) 1px, transparent 1px),
    linear-gradient(90deg, rgba(119, 231, 197, 0.24) 1px, transparent 1px);
  background-size: 34px 34px;
  opacity: 0.3;
  transform: perspective(380px) rotateX(62deg);
  transform-origin: 50% 100%;
  -webkit-mask-image: linear-gradient(to top, #000 10%, transparent 92%);
  mask-image: linear-gradient(to top, #000 10%, transparent 92%);
}

.stage-glow {
  position: absolute;
  top: 41%;
  left: 50%;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(216, 243, 107, 0.18);
  filter: blur(42px);
  transform: translate(-50%, -50%);
}

.stage-core {
  position: absolute;
  top: 47%;
  left: 50%;
  display: grid;
  place-items: center;
  width: clamp(126px, 13vw, 162px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(
    circle at 31% 27%,
    #f4ffd0 0%,
    #d8f36b 16%,
    #7ed9a5 43%,
    #14715b 70%,
    #05251e 100%
  );
  box-shadow:
    0 0 58px rgba(216, 243, 107, 0.26),
    inset -18px -22px 38px rgba(0, 0, 0, 0.35);
  transform: translate(-50%, -50%);
}

.stage-core::before {
  content: "";
  position: absolute;
  inset: -13px;
  border: 1px solid rgba(216, 243, 107, 0.22);
  border-radius: 50%;
}

.stage-core span {
  color: rgba(10, 15, 13, 0.64);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.stage-ring {
  position: absolute;
  top: 47%;
  left: 50%;
  border: 1px solid rgba(119, 231, 197, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%) rotate(-19deg);
  pointer-events: none;
}

.stage-ring::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -2px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 10px rgba(216, 243, 107, 0.8);
}

.stage-ring-1 {
  width: 228px;
  height: 70px;
  opacity: 0.9;
}

.stage-ring-2 {
  width: 296px;
  height: 94px;
  transform: translate(-50%, -50%) rotate(21deg);
  opacity: 0.56;
}

.stage-ring-3 {
  width: 360px;
  height: 126px;
  transform: translate(-50%, -50%) rotate(-38deg);
  opacity: 0.28;
}

.stage-coord {
  position: absolute;
  top: 15px;
  left: 15px;
  color: rgba(251, 252, 248, 0.34);
  font-size: 7px;
  letter-spacing: 0.14em;
}

.stage-tag {
  position: absolute;
  display: inline-flex;
  align-items: center;
  min-height: 23px;
  padding: 0 10px;
  border: 1px solid rgba(251, 252, 248, 0.14);
  border-radius: 999px;
  background: rgba(6, 16, 12, 0.62);
  color: rgba(251, 252, 248, 0.72);
  font-size: 8px;
  letter-spacing: 0.1em;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.stage-tag-1 {
  top: 24%;
  right: 10%;
}

.stage-tag-2 {
  top: 52%;
  left: 8%;
}

.stage-tag-3 {
  top: 70%;
  right: 15%;
}

.stage-bottom {
  position: absolute;
  right: 14px;
  bottom: 12px;
  left: 14px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: rgba(251, 252, 248, 0.3);
  font-size: 6.5px;
  letter-spacing: 0.13em;
}

.studio-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  align-items: end;
  gap: 16px;
  padding: 14px 7px 5px;
}

.studio-stat span {
  display: block;
  margin-bottom: 3px;
  color: rgba(251, 252, 248, 0.3);
  font-size: 6.5px;
  letter-spacing: 0.16em;
}

.studio-stat strong {
  color: rgba(251, 252, 248, 0.74);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.studio-signal {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 24px;
}

.studio-signal i {
  width: 3px;
  border-radius: 2px;
  background: var(--acid);
  opacity: 0.68;
  animation: signal 1.8s ease-in-out infinite alternate;
}

.studio-signal i:nth-child(1) {
  height: 8px;
  animation-delay: 0.1s;
}

.studio-signal i:nth-child(2) {
  height: 15px;
  animation-delay: 0.35s;
}

.studio-signal i:nth-child(3) {
  height: 11px;
  animation-delay: 0.6s;
}

.studio-signal i:nth-child(4) {
  height: 21px;
  animation-delay: 0.25s;
}

.studio-signal i:nth-child(5) {
  height: 13px;
  animation-delay: 0.5s;
}

.studio-signal i:nth-child(6) {
  height: 18px;
  animation-delay: 0.7s;
}

.visual-note {
  position: absolute;
  top: 50%;
  right: -19px;
  color: rgba(251, 252, 248, 0.25);
  font-size: 7px;
  letter-spacing: 0.29em;
  text-transform: uppercase;
  transform: translateY(-50%) rotate(180deg);
  writing-mode: vertical-rl;
}

.hero-foot {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 32px;
  padding-top: 20px;
  border-top: 1px solid rgba(251, 252, 248, 0.1);
  color: rgba(251, 252, 248, 0.36);
  font-size: 9px;
  letter-spacing: 0.14em;
}

.hero-foot-place {
  margin-left: auto;
}

/* =========================================================
   Generic sections
   ========================================================= */

.section {
  padding: clamp(78px, 10vw, 124px) 0;
}

.section-heading {
  display: grid;
  gap: 19px;
  margin-bottom: clamp(42px, 6vw, 68px);
}

.section-heading h2 {
  max-width: 780px;
  font-size: clamp(36px, 4.9vw, 62px);
  line-height: 1.08;
}

.section-heading-dark {
  color: var(--white);
}

.section-heading-dark .eyebrow {
  color: rgba(251, 252, 248, 0.5);
}

.section-heading-dark .eyebrow-no {
  color: var(--acid);
}

.section-intro {
  max-width: 570px;
  margin-top: 2px;
  color: rgba(251, 252, 248, 0.56);
  font-size: 15px;
  line-height: 1.9;
}

/* =========================================================
   About
   ========================================================= */

.about {
  position: relative;
  background: var(--paper);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
  align-items: start;
  gap: clamp(38px, 6vw, 92px);
}

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

.about-copy p {
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.95;
}

.about-copy p + p {
  margin-top: 20px;
}

.about-copy .lead {
  color: #202923;
  font-size: clamp(18px, 1.65vw, 20px);
  line-height: 1.9;
}

.about-signature {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 38px;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.18em;
}

.fact-card {
  position: relative;
  padding: clamp(24px, 3vw, 36px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: 0 24px 70px rgba(10, 15, 13, 0.045);
}

.fact-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--acid) 0%, var(--teal) 52%, transparent 100%);
}

.fact-row {
  display: grid;
  gap: 6px;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
}

.fact-row:first-child {
  padding-top: 3px;
}

.fact-row-last {
  padding-bottom: 0;
  border-bottom: 0;
}

.fact-row span {
  color: var(--muted);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.fact-row strong {
  color: var(--ink);
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.75;
  word-break: break-word;
}

/* =========================================================
   Business
   ========================================================= */

.business {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: var(--white);
}

.business::before {
  content: "";
  position: absolute;
  top: -25%;
  right: -8%;
  width: 70vw;
  height: 70vw;
  max-width: 900px;
  max-height: 900px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(119, 231, 197, 0.1) 0%, transparent 68%);
  pointer-events: none;
}

.business::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 68px 68px;
  opacity: 0.55;
  -webkit-mask-image: radial-gradient(ellipse at 80% 20%, #000 0%, transparent 68%);
  mask-image: radial-gradient(ellipse at 80% 20%, #000 0%, transparent 68%);
}

.business .container {
  position: relative;
  z-index: 2;
}

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

.business-card {
  display: flex;
  flex-direction: column;
  min-height: 368px;
  padding: clamp(24px, 2.6vw, 32px);
  border: 1px solid rgba(251, 252, 248, 0.115);
  border-radius: 24px;
  background: linear-gradient(165deg, rgba(251, 252, 248, 0.065) 0%, rgba(251, 252, 248, 0.022) 100%);
  transition: transform 0.35s var(--ease), border-color 0.35s ease, background 0.35s ease;
}

.business-card:hover {
  border-color: rgba(216, 243, 107, 0.34);
  background: linear-gradient(165deg, rgba(251, 252, 248, 0.085) 0%, rgba(251, 252, 248, 0.03) 100%);
  transform: translateY(-5px);
}

.business-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.business-no {
  color: rgba(251, 252, 248, 0.16);
  font-size: 40px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.06em;
}

.business-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(216, 243, 107, 0.2);
  border-radius: 12px;
  background: rgba(216, 243, 107, 0.09);
  color: var(--acid);
}

.business-icon svg {
  width: 22px;
  height: 22px;
}

.business-card h3 {
  margin: 36px 0 14px;
  color: var(--white);
  font-size: clamp(21px, 1.9vw, 25px);
  line-height: 1.3;
}

.business-card h3 span {
  display: block;
  margin-top: 7px;
  color: rgba(251, 252, 248, 0.34);
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.16em;
}

.business-card p {
  color: rgba(251, 252, 248, 0.58);
  font-size: 13.5px;
  line-height: 1.85;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: auto;
  padding-top: 24px;
}

.tag-list li {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  border: 1px solid rgba(251, 252, 248, 0.11);
  border-radius: 999px;
  color: rgba(251, 252, 248, 0.52);
  font-size: 10px;
  line-height: 1.2;
}

/* =========================================================
   Approach
   ========================================================= */

.approach {
  background: var(--paper);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 36px);
}

.step {
  position: relative;
  padding-top: 25px;
  border-top: 1px solid var(--line);
}

.step::before {
  content: "";
  position: absolute;
  top: -4px;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ink);
}

.step-no {
  display: block;
  color: var(--muted);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
}

.step h3 {
  margin: 34px 0 12px;
  color: var(--ink);
  font-size: clamp(18px, 1.55vw, 21px);
  line-height: 1.35;
}

.step p {
  max-width: 260px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.85;
}

/* =========================================================
   Manifesto
   ========================================================= */

.manifesto {
  padding: clamp(66px, 9vw, 105px) 0;
  background: var(--acid);
  color: var(--ink);
}

.manifesto .eyebrow {
  color: rgba(10, 15, 13, 0.54);
}

.manifesto .eyebrow-no {
  color: var(--ink);
}

.manifesto blockquote {
  max-width: 980px;
  margin-top: 28px;
  color: var(--ink);
  font-size: clamp(29px, 4.2vw, 54px);
  font-weight: 800;
  line-height: 1.34;
  letter-spacing: -0.055em;
  text-wrap: balance;
}

.manifesto-meta {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: clamp(36px, 5vw, 58px);
  padding-top: 17px;
  border-top: 1px solid rgba(10, 15, 13, 0.2);
  color: rgba(10, 15, 13, 0.56);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.16em;
}

/* =========================================================
   Contact
   ========================================================= */

.contact {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: var(--white);
}

.contact::before {
  content: "";
  position: absolute;
  top: -20%;
  left: 18%;
  width: 70vw;
  height: 70vw;
  max-width: 920px;
  max-height: 920px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(216, 243, 107, 0.09) 0%, transparent 67%);
  pointer-events: none;
}

.contact::after {
  content: "";
  position: absolute;
  right: -9%;
  bottom: -38%;
  width: 48vw;
  height: 48vw;
  max-width: 620px;
  max-height: 620px;
  border: 1px solid rgba(119, 231, 197, 0.1);
  border-radius: 50%;
  box-shadow: 0 0 0 70px rgba(119, 231, 197, 0.025), 0 0 0 140px rgba(119, 231, 197, 0.018);
  pointer-events: none;
}

.contact .container {
  position: relative;
  z-index: 2;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  align-items: start;
  gap: clamp(44px, 7vw, 108px);
}

.contact-copy h2 {
  max-width: 590px;
  margin: 24px 0 23px;
  color: var(--white);
  font-size: clamp(39px, 5vw, 64px);
  line-height: 1.08;
}

.contact-copy p {
  max-width: 475px;
  color: rgba(251, 252, 248, 0.6);
  font-size: 14.5px;
  line-height: 1.9;
}

.contact-copy .btn {
  margin-top: 31px;
}

.contact-list {
  display: grid;
  gap: 11px;
  padding-top: 5px;
}

.contact-item {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  align-items: start;
  gap: 16px;
  padding: 20px 21px;
  border: 1px solid rgba(251, 252, 248, 0.115);
  border-radius: 18px;
  background: rgba(251, 252, 248, 0.028);
  transition: border-color 0.3s ease, background 0.3s ease, transform 0.3s var(--ease);
}

.contact-item-link:hover {
  border-color: rgba(216, 243, 107, 0.35);
  background: rgba(251, 252, 248, 0.052);
  transform: translateY(-2px);
}

.contact-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: rgba(216, 243, 107, 0.1);
  color: var(--acid);
}

.contact-icon svg {
  width: 20px;
  height: 20px;
}

.contact-body {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}

.contact-label {
  color: rgba(251, 252, 248, 0.36);
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
}

.contact-value {
  color: rgba(251, 252, 248, 0.86);
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1.75;
  word-break: break-word;
}

.contact-note {
  margin-top: 6px;
  padding: 0 4px;
  color: rgba(251, 252, 248, 0.32);
  font-size: 10px;
  line-height: 1.7;
}

/* =========================================================
   Footer
   ========================================================= */

.site-footer {
  padding: 54px 0 23px;
  border-top: 1px solid rgba(251, 252, 248, 0.08);
  background: #070b09;
  color: rgba(251, 252, 248, 0.5);
}

.footer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
}

.footer-brand .brand {
  color: var(--white);
}

.footer-tagline {
  margin-top: 16px;
  color: rgba(251, 252, 248, 0.34);
  font-size: 10px;
  line-height: 1.85;
  letter-spacing: 0.025em;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 26px;
  padding-top: 8px;
}

.footer-nav a {
  color: rgba(251, 252, 248, 0.48);
  font-size: 12px;
  transition: color 0.25s ease;
}

.footer-nav a:hover {
  color: var(--acid);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-top: 44px;
  padding-top: 18px;
  border-top: 1px solid rgba(251, 252, 248, 0.08);
  color: rgba(251, 252, 248, 0.29);
  font-size: 10.5px;
  line-height: 1.7;
}

.footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-contact a,
.back-top {
  color: rgba(251, 252, 248, 0.47);
  transition: color 0.25s ease;
}

.footer-contact a:hover,
.back-top:hover {
  color: var(--acid);
}

.back-top {
  white-space: nowrap;
}

/* =========================================================
   Motion
   ========================================================= */

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

.hero-copy > * {
  animation: riseIn 0.85s var(--ease) both;
}

.hero-copy > :nth-child(2) {
  animation-delay: 0.06s;
}

.hero-copy > :nth-child(3) {
  animation-delay: 0.12s;
}

.hero-copy > :nth-child(4) {
  animation-delay: 0.18s;
}

.hero-copy > :nth-child(5) {
  animation-delay: 0.24s;
}

.hero-copy > :nth-child(6) {
  animation-delay: 0.3s;
}

.hero-visual {
  animation: riseIn 1s 0.18s var(--ease) both;
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes signal {
  from {
    opacity: 0.3;
    transform: scaleY(0.55);
  }
  to {
    opacity: 0.9;
    transform: scaleY(1);
  }
}

@keyframes statusPulse {
  0%,
  100% {
    opacity: 0.55;
  }
  50% {
    opacity: 1;
  }
}

/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 1080px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1.02fr) minmax(330px, 0.98fr);
    gap: 34px;
  }

  .hero h1 {
    font-size: clamp(48px, 7vw, 78px);
  }

  .business-card {
    min-height: 390px;
  }
}

@media (max-width: 940px) {
  .hero {
    min-height: auto;
    padding-top: 132px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 46px;
    padding-bottom: 48px;
  }

  .hero-copy {
    max-width: 760px;
  }

  .hero-visual {
    justify-content: center;
    min-height: 0;
  }

  .studio-card {
    max-width: 560px;
  }

  .visual-note {
    display: none;
  }

  .hero-foot {
    margin-top: 8px;
  }

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

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

  .fact-card {
    max-width: 620px;
  }

  .business-grid {
    grid-template-columns: 1fr;
  }

  .business-card {
    min-height: 0;
  }

  .tag-list {
    padding-top: 22px;
  }

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

  .step p {
    max-width: 340px;
  }
}

@media (max-width: 860px) {
  .site-header {
    background: linear-gradient(180deg, rgba(10, 15, 13, 0.78) 0%, rgba(10, 15, 13, 0.1) 100%);
  }

  .site-header.is-scrolled {
    background: rgba(244, 245, 239, 0.94);
  }

  .header-inner {
    height: 72px;
    gap: 12px;
  }

  .header-back {
    min-height: 36px;
    padding: 0 12px;
  }

  .site-nav {
    position: fixed;
    top: 82px;
    right: var(--gutter);
    left: var(--gutter);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 10px;
    visibility: hidden;
    border: 1px solid rgba(251, 252, 248, 0.12);
    border-radius: 22px;
    background: #0d1511;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.28s ease, transform 0.28s var(--ease), visibility 0.28s;
  }

  .site-header .site-nav a,
  .site-header.is-scrolled .site-nav a {
    padding: 14px 12px;
    border-bottom: 1px solid rgba(251, 252, 248, 0.08);
    color: rgba(251, 252, 248, 0.78);
    font-size: 14px;
  }

  .site-header .site-nav a:last-child {
    border-bottom: 0;
  }

  .site-header .site-nav a:hover,
  .site-header.is-scrolled .site-nav a:hover {
    color: var(--acid);
  }

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

  .nav-open .site-nav {
    visibility: visible;
    opacity: 1;
    transform: none;
  }

  .nav-toggle {
    display: flex;
  }

  .header-cta {
    display: none;
  }

  .hero {
    padding-top: 122px;
  }

  .hero h1 {
    font-size: clamp(48px, 9.5vw, 76px);
  }

  .hero-company {
    font-size: 10.5px;
  }

  .contact-copy h2 {
    max-width: 640px;
  }

  .contact-copy p {
    max-width: 600px;
  }
}

@media (max-width: 640px) {
  :root {
    --gutter: 20px;
  }

  .hero {
    padding-top: 112px;
    padding-bottom: 24px;
    border-radius: 0 0 26px 26px;
  }

  .hero h1 {
    margin-top: 20px;
    margin-bottom: 20px;
    font-size: clamp(42px, 12.2vw, 60px);
    line-height: 1.07;
  }

  .hero-company {
    display: block;
    font-size: 10px;
    line-height: 1.8;
  }

  .hero-company .hero-company-sep {
    display: none;
  }

  .hero-company span {
    display: block;
  }

  .hero-company span + span {
    margin-top: 2px;
  }

  .hero-lead {
    margin-top: 18px;
    font-size: 14.5px;
  }

  .hero-actions {
    margin-top: 27px;
  }

  .hero-actions .btn {
    flex: 1 1 150px;
  }

  .hero-meta {
    margin-top: 32px;
    gap: 8px 16px;
  }

  .hero-inner {
    gap: 39px;
    padding-bottom: 40px;
  }

  .studio-card {
    padding: 11px;
    border-radius: 23px;
    transform: none;
  }

  .studio-stage {
    height: 278px;
  }

  .stage-core {
    width: 122px;
  }

  .stage-ring-1 {
    width: 190px;
    height: 58px;
  }

  .stage-ring-2 {
    width: 246px;
    height: 78px;
  }

  .stage-ring-3 {
    width: 300px;
    height: 104px;
  }

  .visual-watermark {
    bottom: -15px;
    font-size: 150px;
  }

  .studio-label {
    font-size: 7px;
  }

  .studio-stat strong {
    font-size: 7px;
  }

  .hero-foot {
    gap: 8px 18px;
    font-size: 8px;
    letter-spacing: 0.1em;
  }

  .hero-foot-place {
    display: none;
  }

  .section {
    padding: 76px 0;
  }

  .section-heading {
    gap: 16px;
    margin-bottom: 38px;
  }

  .section-heading h2 {
    font-size: clamp(32px, 9.4vw, 44px);
  }

  .eyebrow {
    font-size: 9.5px;
    letter-spacing: 0.13em;
  }

  .about-copy p {
    font-size: 14.5px;
  }

  .about-copy .lead {
    font-size: 17px;
  }

  .fact-card {
    padding: 24px;
    border-radius: 23px;
  }

  .business-card {
    padding: 24px;
    border-radius: 21px;
  }

  .business-card h3 {
    margin-top: 29px;
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .step h3 {
    margin-top: 25px;
  }

  .step p {
    max-width: none;
  }

  .manifesto blockquote {
    margin-top: 22px;
    font-size: clamp(27px, 8vw, 36px);
    line-height: 1.4;
  }

  .manifesto-meta {
    font-size: 8.5px;
  }

  .contact-copy h2 {
    margin: 21px 0;
    font-size: clamp(36px, 10.5vw, 46px);
  }

  .contact-item {
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 13px;
    padding: 17px;
  }

  .contact-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
  }

  .contact-value {
    font-size: 13.5px;
  }

  .footer-top {
    display: block;
  }

  .footer-nav {
    margin-top: 28px;
    padding-top: 0;
    gap: 10px 20px;
  }

  .footer-bottom {
    display: grid;
    justify-content: start;
    gap: 8px;
    margin-top: 34px;
  }

  .back-top {
    justify-self: start;
  }
}

@media (max-width: 380px) {
  .header-back span {
    display: none;
  }

  .header-back {
    padding: 0 11px;
  }

  .hero h1 {
    font-size: 40px;
  }

  .hero-actions {
    display: grid;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .stage-tag {
    font-size: 7px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}

/* =========================================================
   Games channel
   ========================================================= */

.site-nav a[aria-current="page"] {
  color: var(--acid);
}

.site-header.is-scrolled .site-nav a[aria-current="page"] {
  color: var(--ink);
  font-weight: 600;
}

.site-nav a[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Homepage teaser */

.games-teaser {
  padding: clamp(66px, 9vw, 106px) 0;
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.games-teaser-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  align-items: center;
  gap: clamp(36px, 6vw, 86px);
}

.games-teaser-copy h2 {
  max-width: 560px;
  margin: 20px 0;
  font-size: clamp(34px, 4.6vw, 56px);
  line-height: 1.1;
}

.games-teaser-copy p {
  max-width: 470px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.9;
}

.games-teaser-copy .btn {
  margin-top: 28px;
}

.btn-dark {
  background: var(--ink);
  color: var(--paper);
}

.btn-dark:hover {
  background: var(--ink-3);
  color: var(--acid);
}

.teaser-board {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid rgba(10, 15, 13, 0.18);
  border-radius: 28px;
  background: #0b1310;
  box-shadow: 0 36px 90px rgba(10, 15, 13, 0.18);
}

.teaser-board::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(45deg, rgba(216, 243, 107, 0.14) 25%, transparent 25%, transparent 75%, rgba(216, 243, 107, 0.14) 75%),
    linear-gradient(45deg, rgba(216, 243, 107, 0.14) 25%, transparent 25%, transparent 75%, rgba(216, 243, 107, 0.14) 75%);
  background-size: 64px 64px;
  background-position: 0 0, 32px 32px;
}

.teaser-board::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 45%, rgba(216, 243, 107, 0.2), transparent 58%);
  pointer-events: none;
}

.teaser-board-glyph {
  position: relative;
  z-index: 2;
  color: var(--acid);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(86px, 10vw, 132px);
  line-height: 1;
  text-shadow: 0 16px 60px rgba(0, 0, 0, 0.5);
}

.teaser-board-label,
.teaser-board-note {
  position: absolute;
  z-index: 2;
  color: rgba(251, 252, 248, 0.42);
  font-size: 8px;
  letter-spacing: 0.18em;
}

.teaser-board-label {
  top: 18px;
  left: 20px;
}

.teaser-board-note {
  right: 20px;
  bottom: 16px;
}

/* Games page hero */

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 152px 0 clamp(58px, 8vw, 92px);
  border-radius: 0 0 clamp(26px, 4vw, 48px) clamp(26px, 4vw, 48px);
  background: var(--ink);
  color: var(--white);
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 44% 62% at 82% 34%, rgba(119, 231, 197, 0.15), transparent 62%),
    radial-gradient(ellipse 34% 40% at 6% 4%, rgba(216, 243, 107, 0.07), transparent 64%),
    linear-gradient(180deg, #0a0f0d 0%, #0b1310 100%);
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 72px 72px;
  opacity: 0.55;
  -webkit-mask-image: radial-gradient(ellipse at 76% 38%, #000 0%, transparent 70%);
  mask-image: radial-gradient(ellipse at 76% 38%, #000 0%, transparent 70%);
}

.page-hero .container {
  position: relative;
  z-index: 2;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 34px;
  color: rgba(251, 252, 248, 0.4);
  font-size: 10px;
  letter-spacing: 0.14em;
}

.breadcrumb a {
  transition: color 0.25s ease;
}

.breadcrumb a:hover {
  color: var(--acid);
}

.breadcrumb span[aria-current="page"] {
  color: rgba(251, 252, 248, 0.7);
}

.page-hero h1 {
  max-width: 760px;
  margin: 20px 0 22px;
  font-size: clamp(42px, 6.2vw, 76px);
  line-height: 1.05;
}

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

.page-hero .hero-lead {
  margin-top: 0;
}

.page-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 22px;
  margin-top: 36px;
  color: rgba(251, 252, 248, 0.44);
  font-size: 10px;
  letter-spacing: 0.11em;
}

.page-hero-meta li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.page-hero-meta li::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--acid);
  opacity: 0.8;
}

/* Games list */

.games-list {
  background: var(--paper);
}

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

.game-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.66);
  box-shadow: 0 20px 60px rgba(10, 15, 13, 0.04);
  transition: transform 0.35s var(--ease), box-shadow 0.35s ease, border-color 0.35s ease;
}

.game-card:hover {
  border-color: rgba(10, 15, 13, 0.22);
  box-shadow: 0 30px 80px rgba(10, 15, 13, 0.09);
  transform: translateY(-5px);
}

.game-card-link {
  display: flex;
  flex-direction: column;
  flex: 1;
  height: 100%;
}

.game-thumb {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #0b1310;
}

.game-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset 0 -40px 60px rgba(0, 0, 0, 0.35);
  pointer-events: none;
}

.game-thumb-chess::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(45deg, rgba(216, 243, 107, 0.13) 25%, transparent 25%, transparent 75%, rgba(216, 243, 107, 0.13) 75%),
    linear-gradient(45deg, rgba(216, 243, 107, 0.13) 25%, transparent 25%, transparent 75%, rgba(216, 243, 107, 0.13) 75%);
  background-size: 56px 56px;
  background-position: 0 0, 28px 28px;
}

.game-thumb-td::before {
  content: "";
  position: absolute;
  width: 56%;
  aspect-ratio: 1 / 1;
  border: 1px dashed rgba(216, 243, 107, 0.36);
  border-radius: 50%;
  box-shadow:
    0 0 0 16px rgba(119, 231, 197, 0.055),
    0 0 42px rgba(119, 231, 197, 0.12) inset;
  transform: rotate(14deg);
}

.game-thumb-td .game-thumb-glyph {
  color: var(--teal);
  font-family: var(--font);
  font-size: clamp(38px, 4.4vw, 56px);
  text-shadow: 0 0 34px rgba(119, 231, 197, 0.5);
}

.game-thumb-match3::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(216, 243, 107, 0.32) 3px, transparent 3.6px),
    radial-gradient(circle, rgba(119, 231, 197, 0.26) 3px, transparent 3.6px);
  background-size: 34px 34px;
  background-position: 0 0, 17px 17px;
  opacity: 0.85;
  -webkit-mask-image: radial-gradient(ellipse at 50% 48%, #000 18%, transparent 76%);
  mask-image: radial-gradient(ellipse at 50% 48%, #000 18%, transparent 76%);
}

.game-thumb-match3 .game-thumb-glyph {
  font-size: clamp(58px, 6.2vw, 82px);
  text-shadow:
    0 0 32px rgba(216, 243, 107, 0.42),
    0 0 62px rgba(119, 231, 197, 0.28);
}

.game-thumb-ddz::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(45deg, rgba(216, 243, 107, 0.14) 0 1px, transparent 1px 30px),
    repeating-linear-gradient(-45deg, rgba(119, 231, 197, 0.1) 0 1px, transparent 1px 30px);
  opacity: 0.9;
  -webkit-mask-image: radial-gradient(ellipse at 50% 48%, #000 16%, transparent 76%);
  mask-image: radial-gradient(ellipse at 50% 48%, #000 16%, transparent 76%);
}

.game-thumb-ddz .game-thumb-glyph {
  color: #f0cf74;
  font-size: clamp(58px, 6.2vw, 82px);
  text-shadow:
    0 0 32px rgba(240, 207, 116, 0.42),
    0 0 62px rgba(216, 243, 107, 0.26);
}

.game-thumb-rpg::before {
  content: "";
  position: absolute;
  width: 58%;
  aspect-ratio: 1 / 1;
  border: 1px dashed rgba(216, 243, 107, 0.34);
  border-radius: 50%;
  box-shadow:
    0 0 0 18px rgba(216, 243, 107, 0.04),
    0 0 44px rgba(216, 243, 107, 0.14) inset;
  transform: rotate(-12deg);
}

.game-thumb-rpg .game-thumb-glyph {
  color: var(--acid);
  font-size: clamp(58px, 6.2vw, 82px);
  text-shadow:
    0 0 32px rgba(216, 243, 107, 0.44),
    0 0 62px rgba(119, 231, 197, 0.24);
}

.game-thumb-climb::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(0deg, rgba(119, 231, 197, 0.16) 0 2px, transparent 2px 30px);
  opacity: 0.9;
  -webkit-mask-image: radial-gradient(ellipse at 50% 48%, #000 16%, transparent 78%);
  mask-image: radial-gradient(ellipse at 50% 48%, #000 16%, transparent 78%);
}

.game-thumb-climb .game-thumb-glyph {
  color: var(--teal);
  font-family: var(--font);
  font-size: clamp(58px, 6.2vw, 82px);
  text-shadow:
    0 0 32px rgba(119, 231, 197, 0.44),
    0 0 62px rgba(216, 243, 107, 0.22);
}

.game-thumb-aquarium::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(119, 231, 197, 0.3) 3px, transparent 3.6px),
    radial-gradient(circle, rgba(216, 243, 107, 0.2) 2px, transparent 2.6px);
  background-size: 42px 42px, 26px 26px;
  background-position: 0 0, 13px 13px;
  opacity: 0.85;
  -webkit-mask-image: radial-gradient(ellipse at 50% 48%, #000 18%, transparent 76%);
  mask-image: radial-gradient(ellipse at 50% 48%, #000 18%, transparent 76%);
}

.game-thumb-aquarium .game-thumb-glyph {
  color: var(--teal);
  font-size: clamp(58px, 6.2vw, 82px);
  text-shadow:
    0 0 32px rgba(119, 231, 197, 0.46),
    0 0 62px rgba(216, 243, 107, 0.22);
}

.game-thumb-glyph {
  position: relative;
  z-index: 2;
  color: var(--acid);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(64px, 7vw, 92px);
  line-height: 1;
  text-shadow: 0 10px 40px rgba(216, 243, 107, 0.34);
}

.game-thumb-corner {
  position: absolute;
  right: 16px;
  bottom: 14px;
  left: 16px;
  z-index: 2;
  color: rgba(251, 252, 248, 0.4);
  font-size: 8px;
  letter-spacing: 0.18em;
  text-align: right;
}

.game-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 13px;
  padding: clamp(22px, 2.4vw, 28px);
}

.game-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.game-no {
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.game-tag {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 9.5px;
  letter-spacing: 0.08em;
}

.game-title {
  margin-top: 2px;
  font-size: clamp(21px, 1.8vw, 24px);
  line-height: 1.3;
}

.game-title em {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 8px;
  font-style: normal;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.game-desc {
  flex: 1;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.85;
}

.game-link {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  justify-content: center;
  gap: 9px;
  min-height: 38px;
  margin-top: 4px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font-size: 12px;
  font-weight: 700;
  transition: background 0.25s ease, color 0.25s ease;
}

.game-link svg {
  width: 14px;
  height: 14px;
}

.game-card:hover .game-link {
  background: var(--acid);
  color: var(--ink);
}

/* Coming soon cards */

.game-card-coming {
  border-style: dashed;
  border-color: rgba(10, 15, 13, 0.18);
  background: transparent;
  box-shadow: none;
}

.game-card-coming:hover {
  border-color: rgba(10, 15, 13, 0.28);
  box-shadow: none;
  transform: none;
}

.game-thumb-coming {
  background: var(--paper-soft);
}

.game-thumb-coming::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(10, 15, 13, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 15, 13, 0.05) 1px, transparent 1px);
  background-size: 36px 36px;
}

.game-thumb-plus {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border: 1px dashed rgba(10, 15, 13, 0.24);
  border-radius: 50%;
  color: var(--muted);
  font-size: 24px;
  font-weight: 300;
}

.game-thumb-coming .game-thumb-corner {
  color: rgba(10, 15, 13, 0.34);
}

.game-card-coming .game-title {
  color: var(--muted);
}

.game-link-muted {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
}

.game-card-coming:hover .game-link-muted {
  background: transparent;
  color: var(--muted);
}

.games-noscript {
  margin-top: 24px;
  color: var(--muted);
  font-size: 14px;
}

.games-noscript a {
  color: var(--ink);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 940px) {
  .games-teaser-inner {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .teaser-board {
    max-width: 560px;
  }

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

@media (max-width: 640px) {
  .page-hero {
    padding-top: 118px;
  }

  .page-hero h1 {
    font-size: clamp(38px, 11vw, 52px);
  }

  .breadcrumb {
    margin-bottom: 26px;
  }

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

  .game-thumb {
    aspect-ratio: 16 / 9;
  }
}

/* =========================================================
   Privacy & support pages
   ========================================================= */

.policy {
  background: var(--paper);
}

.policy-head,
.policy-block {
  max-width: 860px;
  margin-inline: auto;
}

.policy-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px 24px;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--line);
}

.policy-jump {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.08em;
}

.policy-jump a {
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, color 0.25s ease;
}

.policy-jump a:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.policy-block {
  padding-top: clamp(34px, 5vw, 56px);
}

.policy-block + .policy-block {
  margin-top: clamp(48px, 7vw, 80px);
  border-top: 1px solid var(--line);
}

.policy-block h2 {
  font-size: clamp(27px, 3.4vw, 38px);
  line-height: 1.2;
}

.policy-updated {
  margin-top: 10px;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.policy-block h3 {
  margin: 34px 0 10px;
  font-size: clamp(17px, 1.5vw, 19px);
  line-height: 1.45;
  letter-spacing: -0.02em;
}

.policy-block p,
.policy-block li {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.9;
}

.policy-block p + p {
  margin-top: 12px;
}

.policy-block ul {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.policy-block li {
  position: relative;
  padding-left: 20px;
}

.policy-block li::before {
  content: "";
  position: absolute;
  top: 0.82em;
  left: 2px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--acid-strong);
}

.policy-block a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: rgba(10, 15, 13, 0.25);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 0.25s ease, text-decoration-color 0.25s ease;
}

.policy-block a:hover {
  color: #14715b;
  text-decoration-color: currentColor;
}

.policy-contact li::before {
  background: var(--ink);
}

.policy-contact strong {
  color: var(--ink);
  font-weight: 600;
}

.support-contact {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: clamp(42px, 6vw, 64px);
}

.support-card {
  padding: clamp(22px, 2.6vw, 30px);
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.66);
  box-shadow: 0 20px 60px rgba(10, 15, 13, 0.04);
}

.support-label {
  display: block;
  color: var(--muted);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.14em;
}

.support-value {
  display: inline-block;
  margin-top: 9px;
  color: var(--ink);
  font-size: clamp(16px, 1.8vw, 20px);
  font-weight: 700;
  letter-spacing: -0.02em;
  word-break: break-word;
  transition: color 0.25s ease;
}

.support-value:hover {
  color: #14715b;
}

.support-card p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.8;
}

/* AdSense slot: hidden while empty, visible once ad code is inserted */
.ad-slot {
  margin-top: 28px;
}

.ad-slot:empty {
  display: none;
}

@media (max-width: 640px) {
  .support-contact {
    grid-template-columns: 1fr;
  }

  .policy-block h3 {
    margin-top: 30px;
  }
}
