@font-face {
  font-family: "Bebas Neue";
  src: url("site-assets/BebasNeue-Regular.ttf") format("truetype");
  font-display: swap;
}

:root {
  --ink: #0c090c;
  --paper: #eee8dc;
  --paper-deep: #d8cebd;
  --cream: #f8f1e5;
  --orange: #ff5a17;
  --pink: #eb205a;
  --electric: #ffc928;
  --blue: #6bd2ff;
  --muted: #a39a90;
  --display: "Bebas Neue", Impact, sans-serif;
  --body: Georgia, "Times New Roman", serif;
}

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

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--body);
  overflow-x: hidden;
}

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

a { color: inherit; }
img {
  display: block;
  max-width: 100%;
  height: auto;
}

.skip-link {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 100;
  transform: translateY(-200%);
  padding: .7rem 1rem;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--display);
}
.skip-link:focus { transform: none; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: fixed;
  z-index: 30;
  top: 0;
  left: 0;
  width: 100%;
  height: 84px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
  padding: 0 4vw;
  border-bottom: 1px solid rgba(255,255,255,.13);
  transition: background .3s ease, height .3s ease;
}

.site-header.is-scrolled {
  height: 68px;
  background: rgba(12,9,12,.9);
  backdrop-filter: blur(14px);
}

.studio-mark { display: flex; align-items: center; gap: .65rem; text-decoration: none; justify-self: start; }
.studio-mark img { width: 46px; height: 46px; object-fit: contain; }
.studio-mark span { display: grid; line-height: .85; font-family: var(--display); letter-spacing: .08em; text-transform: uppercase; }
.studio-mark strong { font-size: 1.05rem; font-weight: 400; }
.studio-mark small { color: var(--blue); font-size: .68rem; letter-spacing: .39em; }

.site-header nav { display: flex; gap: clamp(1.25rem, 3vw, 3rem); }
.site-header nav a, .mini-cta {
  position: relative;
  text-decoration: none;
  text-transform: uppercase;
  font: 1rem/1 var(--display);
  letter-spacing: .12em;
}
.site-header nav a::after { content: ""; position: absolute; left: 0; bottom: -.45rem; width: 100%; height: 2px; background: var(--orange); transform: scaleX(0); transform-origin: right; transition: transform .25s; }
.site-header nav a:hover::after, .site-header nav a:focus-visible::after { transform: scaleX(1); transform-origin: left; }
.mini-cta { justify-self: end; border: 1px solid rgba(255,255,255,.5); padding: .7rem 1.1rem; }
.mini-cta:hover { background: var(--cream); color: var(--ink); }

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, .92fr);
  align-items: center;
  isolation: isolate;
  overflow: hidden;
  padding: 120px 8vw 70px;
}

.hero-stage {
  position: absolute;
  inset: 0;
  z-index: -3;
  background-color: #080608;
  background-image: linear-gradient(90deg, rgba(7,5,8,.98) 0%, rgba(7,5,8,.82) 42%, rgba(7,5,8,.25) 100%), url("site-assets/studio-stage.png");
  background-position: center, center;
  background-repeat: no-repeat;
  background-size: 100% 100%, cover;
  transform: scale(1.03);
}
.hero::before { content: ""; position: absolute; z-index: -2; width: 52vw; height: 52vw; max-width: 800px; max-height: 800px; right: -12vw; top: -18vw; background: radial-gradient(circle, rgba(240,45,93,.34), rgba(240,45,93,0) 68%); }
.hero::after { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(0deg, var(--ink) 0, transparent 18%), repeating-linear-gradient(105deg, transparent 0 94px, rgba(255,255,255,.022) 95px 96px); }

.hero-noise { position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .28; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.22'/%3E%3C/svg%3E"); mix-blend-mode: overlay; }

.hero-copy { position: relative; z-index: 2; align-self: center; max-width: 670px; }
.eyebrow { display: flex; align-items: center; gap: .75rem; margin: 0 0 .9rem; color: var(--electric); text-transform: uppercase; font: 1.05rem/1 var(--display); letter-spacing: .24em; }
.eyebrow::before { content: ""; width: 34px; height: 3px; background: currentColor; }
.eyebrow.dark { color: #a2391a; }
.hero h1 { margin: -2rem 0 -3rem; width: min(620px, 72vw); filter: drop-shadow(0 20px 32px rgba(0,0,0,.55)); }
.hero h1 img { width: 100%; height: auto; object-fit: contain; }
.hero-line { margin: 0; padding-left: .1em; text-transform: uppercase; font: clamp(2rem, 4.2vw, 4.4rem)/.88 var(--display); letter-spacing: .035em; }
.hero-line em { color: var(--orange); font-style: normal; }
.hero-actions { display: flex; align-items: center; gap: 1.5rem; margin-top: 2.25rem; }

.button { display: inline-flex; align-items: center; gap: 1rem; padding: 1rem 1.4rem; text-decoration: none; text-transform: uppercase; font: 1.25rem/1 var(--display); letter-spacing: .08em; transform: skew(-4deg); }
.button > * { transform: skew(4deg); }
.button-primary { color: white; background: linear-gradient(135deg, var(--orange), var(--pink)); box-shadow: 8px 8px 0 rgba(0,0,0,.35); }
.button-primary:hover { transform: skew(-4deg) translate(-2px,-2px); box-shadow: 11px 11px 0 rgba(0,0,0,.35); }
.store-status { display: flex; align-items: center; gap: .55rem; color: #c7bfb7; text-decoration: none; font: .95rem/1.2 var(--display); letter-spacing: .08em; text-transform: uppercase; transition: color .2s ease, transform .2s ease; }
.store-status i { width: 8px; height: 8px; border-radius: 50%; background: var(--electric); box-shadow: 0 0 14px var(--electric); }
.store-status:hover, .store-status:focus-visible { color: var(--electric); transform: translateY(-2px); }

.hero-phone { position: relative; z-index: 2; justify-self: center; width: min(29vw, 385px); transform: rotate(3deg); }
.phone-shell { overflow: hidden; border: 7px solid #211b20; border-radius: 38px; background: #080609; box-shadow: 0 45px 90px rgba(0,0,0,.7), -18px 15px 0 rgba(235,32,90,.17), 18px -12px 0 rgba(255,201,40,.12); }
.phone-shell img {
  width: 100%;
  height: auto;
  aspect-ratio: 768 / 1376;
  object-fit: contain;
}
.phone-caption { position: absolute; right: -4rem; bottom: 3rem; color: var(--electric); writing-mode: vertical-rl; text-transform: uppercase; font: .9rem/1 var(--display); letter-spacing: .18em; }
.scroll-note { position: absolute; bottom: 2.5rem; left: 4vw; margin: 0; color: #938a88; writing-mode: vertical-rl; text-transform: uppercase; font: .8rem/1 var(--display); letter-spacing: .2em; }

.reveal { opacity: 0; animation: enter .75s cubic-bezier(.2,.72,.22,1) forwards; }
.delay-1 { animation-delay: .13s; }
.delay-2 { animation-delay: .27s; }
.delay-3 { animation-delay: .42s; }
@keyframes enter { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
.hero-phone.reveal { animation-name: phone-enter; }
@keyframes phone-enter { from { opacity: 0; transform: translateY(34px) rotate(6deg) scale(.96); } to { opacity: 1; transform: rotate(3deg) scale(1); } }

.marquee { overflow: hidden; border-top: 1px solid #332c31; border-bottom: 1px solid #332c31; background: var(--electric); color: var(--ink); transform: rotate(-1deg) scale(1.02); }
.marquee-track { display: flex; align-items: center; width: max-content; padding: .75rem 0; animation: marquee 22s linear infinite; }
.marquee span { text-transform: uppercase; font: 1.5rem/1 var(--display); letter-spacing: .08em; }
.marquee b { margin: 0 1.8rem; font-size: .9rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

.game-section { display: grid; grid-template-columns: .85fr 1.15fr; align-items: center; gap: clamp(3rem, 8vw, 9rem); min-height: 100vh; padding: 10rem 8vw; color: var(--ink); background: var(--paper); background-image: linear-gradient(90deg, rgba(50,35,26,.035) 1px, transparent 1px), linear-gradient(rgba(50,35,26,.035) 1px, transparent 1px); background-size: 28px 28px; }
.section-intro h2, .feature-heading h2, .tour-card h2, .studio-copy h2 { margin: 0; text-transform: uppercase; font: clamp(3.5rem, 7vw, 7.8rem)/.83 var(--display); letter-spacing: -.01em; }
.section-intro h2 em, .studio-copy h2 em { color: var(--orange); font-style: normal; }
.section-intro > p:last-child, .studio-copy > p { max-width: 540px; margin: 2rem 0 0; color: #423a35; font-size: clamp(1.05rem, 1.4vw, 1.35rem); line-height: 1.65; }
.game-visual { position: relative; }
.game-visual::before {
  content: "";
  position: absolute;
  inset: 10% 2% 8% 6%;
  z-index: 0;
  border: 2px solid rgba(96,67,48,.2);
  background: repeating-linear-gradient(-45deg, rgba(255,90,23,.12) 0 2px, transparent 2px 16px);
  transform: rotate(2deg);
}
.game-gallery {
  position: relative;
  z-index: 1;
  min-height: clamp(580px, 62vw, 820px);
}
.game-shot {
  position: absolute;
  margin: 0;
  overflow: hidden;
  border: 6px solid #171216;
  border-bottom-width: 40px;
  background: #171216;
  box-shadow: 0 28px 60px rgba(32,20,12,.3);
  transition: transform .35s cubic-bezier(.2,.72,.22,1), z-index 0s;
}
.game-shot:hover { z-index: 5; }
.game-shot img {
  width: 100%;
  height: auto;
  aspect-ratio: 1080 / 2340;
  object-fit: contain;
}
.game-shot figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 34px;
  display: grid;
  place-items: center;
  color: var(--cream);
  text-align: center;
  text-transform: uppercase;
  font: .9rem/1 var(--display);
  letter-spacing: .11em;
}
.game-shot-map { top: 15%; left: 0; z-index: 1; width: 40%; transform: rotate(-7deg); }
.game-shot-map:hover { transform: rotate(-3deg) translateY(-10px); }
.game-shot-main { top: 0; left: 50%; z-index: 3; width: 48%; transform: translateX(-50%) rotate(1.5deg); }
.game-shot-main:hover { transform: translateX(-50%) rotate(0) translateY(-10px); }
.game-shot-timed { top: 18%; right: 0; z-index: 2; width: 40%; transform: rotate(7deg); }
.game-shot-timed:hover { transform: rotate(3deg) translateY(-10px); }
.tape-label { position: absolute; z-index: 2; top: -1.3rem; left: 50%; transform: translateX(-50%) rotate(-2deg); padding: .55rem 1.1rem; white-space: nowrap; color: var(--ink); background: rgba(240,220,169,.9); box-shadow: 0 2px 8px rgba(0,0,0,.18); text-transform: uppercase; font: .9rem/1 var(--display); letter-spacing: .1em; }

.feature-section { display: grid; grid-template-columns: .8fr 1.2fr; gap: 7vw; padding: 10rem 8vw; background: #100d11; }
.feature-heading { position: sticky; top: 130px; align-self: start; }
.feature-heading h2 span { color: var(--pink); }
.feature-list { border-top: 1px solid #3a3238; }
.feature { display: grid; grid-template-columns: 74px 1fr; gap: 1.2rem; padding: 3.25rem 0; border-bottom: 1px solid #3a3238; }
.feature-number { width: 52px; height: 52px; display: grid; place-items: center; border: 1px solid #6c5c66; border-radius: 50%; color: var(--electric); font: 1.4rem/1 var(--display); }
.feature h3 { margin: 0 0 .7rem; text-transform: uppercase; font: 2.3rem/1 var(--display); letter-spacing: .03em; }
.feature p { max-width: 570px; margin: 0; color: #afa5ac; font-size: 1.08rem; line-height: 1.6; }

.tour-section { position: relative; min-height: 92vh; display: grid; grid-template-columns: 1.2fr .8fr; align-items: end; overflow: hidden; }
.tour-image { position: absolute; inset: 0; background: linear-gradient(90deg, transparent 30%, rgba(8,7,8,.7) 80%), linear-gradient(0deg, rgba(8,7,8,.86), transparent 55%), url("site-assets/studio-stage.png") center/cover; transform: scale(1.01); }
.tour-card { position: relative; grid-column: 2; align-self: center; margin: 8vw 8vw 8vw 0; padding: clamp(2rem, 4vw, 4.5rem); border: 1px solid rgba(255,255,255,.22); background: rgba(12,9,12,.75); box-shadow: 0 25px 80px rgba(0,0,0,.5); backdrop-filter: blur(12px); }
.tour-card h2 { font-size: clamp(3rem, 5vw, 5.6rem); }
.tour-card > p:not(.eyebrow) { color: #c1b8bc; font-size: 1.1rem; line-height: 1.6; }
.tour-card ul { margin: 2rem 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
.tour-card li { padding-top: .75rem; border-top: 1px solid rgba(255,255,255,.2); text-transform: uppercase; font: 1.1rem/1 var(--display); letter-spacing: .08em; }

.studio-section { display: grid; grid-template-columns: minmax(260px,.65fr) 1.35fr; align-items: center; gap: 6vw; padding: 8rem 10vw; color: var(--ink); background: var(--cream); }
.studio-logo img { width: min(390px, 100%); height: auto; margin: auto; object-fit: contain; filter: drop-shadow(0 22px 24px rgba(20,52,95,.14)); }
.studio-copy h2 { font-size: clamp(3.5rem, 6.5vw, 7rem); }
.text-link { display: inline-flex; gap: 1rem; margin-top: 2.5rem; padding-bottom: .4rem; border-bottom: 2px solid var(--orange); color: var(--ink); text-decoration: none; font: 1.35rem/1 var(--display); letter-spacing: .05em; }

footer { display: grid; grid-template-columns: 1.3fr 1fr auto; align-items: end; gap: 1.4rem 3rem; padding: 4rem 6vw 2rem; border-top: 1px solid #342d32; color: #a79ea4; background: #080608; }
.footer-brand { color: var(--cream); text-decoration: none; text-transform: uppercase; font: 2.4rem/1 var(--display); letter-spacing: .05em; }
footer p { margin: 0; }
footer nav { display: flex; gap: 1.5rem; }
footer nav a { text-underline-offset: .25rem; }
.copyright { grid-column: 1 / -1; padding-top: 2rem; border-top: 1px solid #292327; font-size: .8rem; }

.reveal-on-scroll { opacity: 0; transform: translateY(32px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.72,.22,1); }
.reveal-on-scroll.is-visible { opacity: 1; transform: translateY(0); }
.feature:nth-child(2) { transition-delay: .1s; }
.feature:nth-child(3) { transition-delay: .2s; }

@media (max-width: 860px) {
  .site-header { grid-template-columns: 1fr auto; padding: 0 5vw; }
  .site-header nav { display: none; }
  .hero { grid-template-columns: 1fr; gap: 3.5rem; padding: 120px 8vw 90px; text-align: center; }
  .hero-stage {
    background-image: linear-gradient(rgba(7,5,8,.56) 0%, rgba(7,5,8,.84) 58%, #080608 100%), url("site-assets/studio-stage.png");
    background-position: center, center top;
    background-repeat: no-repeat;
    background-size: 100% 100%, auto 100svh;
    transform: none;
  }
  .hero-copy { margin: auto; }
  .eyebrow { justify-content: center; }
  .hero h1 { width: min(580px, 92vw); margin: -1rem auto -2.5rem; }
  .hero-actions { justify-content: center; flex-wrap: wrap; }
  .hero-phone { width: min(60vw, 340px); }
  .scroll-note { display: none; }
  .game-section, .feature-section, .studio-section { grid-template-columns: 1fr; }
  .game-section { padding: 7rem 8vw; }
  .game-gallery { min-height: clamp(540px, 150vw, 690px); }
  .game-shot { border-width: 4px; border-bottom-width: 34px; }
  .game-shot-map { top: 13%; width: 43%; }
  .game-shot-main { width: 57%; }
  .game-shot-timed { top: 15%; width: 43%; }
  .feature-section { padding: 7rem 8vw; }
  .feature-heading { position: static; }
  .tour-section { grid-template-columns: 1fr; padding: 6vw; }
  .tour-image { background: linear-gradient(0deg, rgba(8,7,8,.95), rgba(8,7,8,.1)), url("site-assets/studio-stage.png") center/cover; }
  .tour-card { grid-column: 1; margin: 25vh 0 0; }
  .studio-logo img { width: min(270px, 70vw); }
  footer { grid-template-columns: 1fr 1fr; }
  footer nav { grid-column: 1 / -1; }
}

@media (max-width: 540px) {
  .site-header { height: 68px; }
  .studio-mark img { width: 40px; height: 40px; }
  .mini-cta { padding: .6rem .75rem; }
  .hero { padding-inline: 5vw; }
  .hero h1 { width: 100%; }
  .hero-line { font-size: 2.35rem; }
  .phone-caption { display: none; }
  .game-section, .feature-section, .studio-section { padding-left: 6vw; padding-right: 6vw; }
  .feature { grid-template-columns: 52px 1fr; }
  .tour-card ul { grid-template-columns: 1fr; }
  footer { grid-template-columns: 1fr; }
  footer nav { grid-column: 1; flex-direction: column; gap: .8rem; }
  .copyright { grid-column: 1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal, .reveal-on-scroll { opacity: 1; transform: none; }
}

