:root {
  --ink: #080b36;
  --ink-deep: #05062b;
  --blue: #11175d;
  --sky: #8bd5d0;
  --orange: #ef7f45;
  --gold: #ffc75c;
  --paper: #f6f5ef;
  --white: #fffef9;
  --muted: #696b80;
  --line: rgba(8, 11, 54, .14);
  --max: 1220px;
  --radius: 30px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: "DM Sans", sans-serif; font-size: 16px; line-height: 1.55; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 1000; background: white; padding: .7rem 1rem; border-radius: 999px; }
.skip-link:focus { top: 1rem; }

.site-header { position: fixed; top: 18px; left: 50%; transform: translateX(-50%); width: min(calc(100% - 36px), var(--max)); height: 66px; z-index: 100; display: flex; align-items: center; justify-content: space-between; padding: 0 14px 0 24px; border: 1px solid rgba(255,255,255,.14); background: rgba(7,9,48,.74); backdrop-filter: blur(18px); border-radius: 18px; color: white; transition: box-shadow .25s ease, background .25s ease; }
.site-header.scrolled { background: rgba(7,9,48,.94); box-shadow: 0 16px 40px rgba(3,5,33,.24); }
.brand img { width: 170px; filter: brightness(0) invert(1); }
nav { display: flex; align-items: center; gap: 28px; font-size: .91rem; }
nav a { opacity: .78; transition: opacity .2s ease; }
nav a:hover, nav a:focus-visible { opacity: 1; }
.nav-cta { opacity: 1; display: inline-flex; align-items: center; gap: 12px; padding: 10px 16px; color: var(--ink); background: var(--white); border-radius: 12px; font-weight: 700; }
.menu-button { display: none; width: 44px; height: 44px; border: 0; background: transparent; padding: 0; }
.menu-button span { display: block; width: 22px; height: 2px; background: white; margin: 6px auto; }

.hero { position: relative; min-height: 640px; padding: 155px max(5vw, calc((100vw - var(--max))/2)) 70px; overflow: hidden; color: white; background: var(--ink-deep) url("assets/skies-bg.jpg") center / cover no-repeat; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,6,43,.98) 0%, rgba(7,10,50,.86) 47%, rgba(7,10,50,.22) 82%), linear-gradient(0deg, rgba(5,6,43,.72), transparent 42%); }
.hero-copy { position: relative; z-index: 2; width: min(750px, 63vw); }
.eyebrow, .section-tag { letter-spacing: .2em; font-family: "Manrope", sans-serif; font-size: .73rem; font-weight: 800; text-transform: uppercase; }
.eyebrow { color: var(--gold); margin: 0 0 24px; }
h1, h2, h3 { font-family: "Manrope", sans-serif; letter-spacing: -.045em; line-height: .98; margin-top: 0; }
h1 { margin-bottom: 28px; font-size: clamp(3.5rem, 6.4vw, 6.5rem); font-weight: 800; }
h1 em { color: var(--sky); font-style: normal; }
.hero-lede { max-width: 620px; margin: 0; color: rgba(255,255,255,.76); font-size: clamp(1.1rem, 1.65vw, 1.35rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 18px; min-height: 54px; padding: 0 22px; border-radius: 14px; font-weight: 700; transition: transform .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--orange); color: white; }
.button-ghost { border: 1px solid rgba(255,255,255,.28); color: white; }
.hero-art { position: absolute; z-index: 1; right: max(20px, calc((100vw - 1420px)/2)); top: 150px; width: min(38vw, 500px); aspect-ratio: 1; }
.plane { position: absolute; z-index: 3; width: 72%; right: 5%; top: 18%; transform: rotate(-3deg); filter: drop-shadow(0 50px 70px rgba(0,0,0,.4)); }
.spark { position: absolute; border-radius: 999px; background: var(--gold); opacity: .66; box-shadow: 0 0 7px rgba(255,199,92,.22); }
.spark-one { width: 12px; height: 12px; left: 7%; top: 18%; }
.spark-two { width: 8px; height: 8px; right: 10%; bottom: 24%; background: var(--sky); }

.section { width: min(calc(100% - 40px), var(--max)); margin: 0 auto; padding: 110px 0; }
.section-tag { display: flex; align-items: center; gap: 12px; color: var(--muted); margin-bottom: 45px; }
.section-tag span { display: inline-grid; place-items: center; width: 32px; height: 32px; border: 1px solid currentColor; border-radius: 50%; font-size: .6rem; }
.intro-grid { display: block; }
.intro { position: relative; isolation: isolate; width: min(calc(100% - 40px), 1400px); min-height: 620px; margin-top: 72px; padding: clamp(72px, 8vw, 112px); overflow: hidden; border-radius: 42px; background: linear-gradient(135deg, rgba(139,213,208,.52) 0%, rgba(139,213,208,.18) 42%, rgba(255,199,92,.22) 100%); }
.intro > *:not(.ambient-decor) { position: relative; z-index: 2; }
.intro h2, .section-heading h2 { font-size: clamp(2.8rem, 5.4vw, 5.6rem); max-width: 900px; margin-bottom: 0; }
.intro h2 span, .moat h2 span { color: var(--orange); }
.studio-copy { max-width: 680px; margin: 55px auto 0; text-align: center; }
.studio-copy h2 { margin: 0 auto 26px; max-width: 660px; font-size: clamp(2.8rem, 4.5vw, 4.5rem); line-height: 1.02; }
.studio-copy p { margin: 0 auto; max-width: 650px; color: rgba(8,11,54,.7); font-size: clamp(1.05rem, 1.4vw, 1.22rem); font-weight: 400; letter-spacing: 0; line-height: 1.65; }
.ambient-decor { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.studio-float { position: absolute; width: 170px; opacity: .92; filter: drop-shadow(0 20px 24px rgba(8,11,54,.18)); will-change: transform; }
.float-heart { left: -58px; top: 25%; animation: float-heart 8.5s ease-in-out infinite alternate; }
.float-star { right: 7%; top: 5%; width: 130px; animation: float-star 7.5s ease-in-out infinite alternate; }
.float-blocks { right: -72px; top: 30%; width: 210px; animation: float-blocks 10s ease-in-out infinite alternate; }
.float-chest { left: 3%; bottom: -42px; width: 185px; animation: float-chest 9s ease-in-out infinite alternate; }
.float-hammer { right: 4%; bottom: -28px; width: 190px; animation: float-hammer 8s ease-in-out infinite alternate; }

.games { position: relative; isolation: isolate; width: min(calc(100% - 40px), 1400px); margin-top: 72px; padding: clamp(82px, 8vw, 116px) clamp(30px, 6vw, 84px); overflow: hidden; border-radius: 42px; background: linear-gradient(155deg, rgba(255,199,92,.48) 0 14%, rgba(246,245,239,1) 14% 78%, rgba(139,213,208,.34) 78% 100%); }
.games::before { content: ""; position: absolute; z-index: -1; width: 310px; height: 88px; right: -38px; top: 92px; border-radius: 70% 38% 64% 42%; background: rgba(239,127,69,.26); transform: rotate(-13deg); }
.section-heading { display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(48px, 6vw, 76px); margin-bottom: 58px; }
.section-heading .section-tag { grid-column: 1 / -1; }
.section-heading p { align-self: end; max-width: 520px; margin: 0; color: var(--muted); font-size: 1.08rem; }
.featured-game { display: grid; grid-template-columns: .85fr 1.15fr; min-height: 650px; overflow: hidden; border-radius: var(--radius); background: var(--ink); color: white; }
.game-copy { padding: clamp(42px, 6vw, 78px); align-self: center; }
.status, .game-card-copy > span { display: inline-block; margin-bottom: 20px; color: var(--sky); font-family: "Manrope"; font-size: .7rem; font-weight: 800; letter-spacing: .16em; }
.game-copy h3 { font-size: clamp(3.3rem, 6vw, 5.7rem); margin-bottom: 24px; }
.game-copy > p { color: rgba(255,255,255,.66); font-size: 1.08rem; }
.game-copy dl { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding: 34px 0; margin: 30px 0; border-top: 1px solid rgba(255,255,255,.14); border-bottom: 1px solid rgba(255,255,255,.14); }
.game-copy dl div { display: flex; flex-direction: column; }
.game-copy dt { color: rgba(255,255,255,.5); font-size: .75rem; order: 2; }
.game-copy dd { margin: 0; color: var(--gold); font-family: "Manrope"; font-size: 1.75rem; font-weight: 800; }
.text-link { font-weight: 700; }
.text-link span { color: var(--orange); margin-left: 8px; }
.phone-stage { position: relative; min-height: 650px; overflow: hidden; background: radial-gradient(circle at 60% 35%, rgba(139,213,208,.4), transparent 34%), linear-gradient(135deg, #18216a, #11104d); }
.phone { position: absolute; width: 42%; border: 8px solid #0e1034; border-radius: 32px; box-shadow: 0 30px 70px rgba(0,0,0,.42); }
.phone-front { left: 18%; top: 10%; transform: rotate(-7deg); }
.phone-back { right: 7%; top: 19%; transform: rotate(8deg); opacity: .92; }
.game-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 22px; }
.game-card { overflow: hidden; border-radius: 24px; background: white; }
.game-image { height: 440px; overflow: hidden; background: #151858; }
.game-image img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .5s ease; }
.game-card:hover img { transform: scale(1.035); }
.game-card-copy { padding: 30px; }
.game-card-copy > span { color: #2b817c; margin: 0 0 12px; }
.game-card-copy > span.muted-status { color: #858699; }
.game-card-copy h3 { margin-bottom: 14px; font-size: 2rem; }
.game-card-copy p { margin: 0; color: var(--muted); }

.games-showcase { position: relative; min-height: 620px; padding: 34px; overflow: hidden; border-radius: 34px; color: white; background: radial-gradient(circle at 10% 15%, rgba(139,213,208,.32), transparent 34%), radial-gradient(circle at 84% 82%, rgba(239,127,69,.17), transparent 34%), var(--ink); box-shadow: 0 34px 70px rgba(8,11,54,.2); }
.showcase-copy { position: relative; z-index: 8; display: flex; flex-direction: column; justify-content: space-between; width: 28%; min-height: 552px; padding: 30px 20px 22px; }
.showcase-copy p { margin: 0; max-width: 280px; font-family: "Manrope"; font-size: clamp(1.6rem, 2.7vw, 2.6rem); font-weight: 700; letter-spacing: -.035em; line-height: 1.08; }
.showcase-copy .text-link { align-self: flex-start; padding-bottom: 6px; border-bottom: 1px solid rgba(255,255,255,.28); }
.play-link { display: inline-flex; align-items: center; gap: 12px; align-self: flex-start; min-height: 58px; padding: 9px 16px 9px 12px; border-radius: 16px; background: white; color: var(--ink); box-shadow: 0 14px 28px rgba(0,0,0,.24); transition: transform .2s ease, box-shadow .2s ease; }
.play-link img { flex: 0 0 auto; width: 34px; height: 34px; }
.play-link span { max-width: 145px; font-size: .78rem; font-weight: 600; line-height: 1.15; }
.play-link strong { display: block; margin-top: 2px; font-family: "Manrope", sans-serif; font-size: 1rem; }
.play-link:hover, .play-link:focus-visible { transform: translateY(-3px); box-shadow: 0 18px 34px rgba(0,0,0,.3); }
.game-shot { position: absolute; top: 60px; width: 18%; height: 500px; overflow: hidden; border: 1px solid rgba(255,255,255,.1); border-radius: 24px; background: #181b59; box-shadow: 0 28px 55px rgba(0,0,0,.35); transition: transform .35s ease, box-shadow .35s ease; }
.game-shot img { width: 100%; height: 100%; object-fit: contain; object-position: center; }
.game-shot:hover { z-index: 9; box-shadow: 0 36px 68px rgba(0,0,0,.44); }
.shot-one { left: 29%; top: 80px; transform: rotate(-4deg); }
.shot-two { left: 46%; top: 46px; transform: rotate(2deg); }
.shot-three { left: 63%; top: 78px; transform: rotate(-2deg); }
.shot-four { left: 80%; top: 42px; transform: rotate(4deg); }
.shot-one:hover { transform: rotate(-2deg) translateY(-8px); }
.shot-two:hover { transform: rotate(1deg) translateY(-8px); }
.shot-three:hover { transform: rotate(-1deg) translateY(-8px); }
.shot-four:hover { transform: rotate(2deg) translateY(-8px); }

.process { display: grid; grid-template-columns: .8fr 1.2fr; gap: 10vw; align-items: start; }
.process-sticky { position: sticky; top: 130px; }
.process h2 { font-size: clamp(3rem, 5vw, 5rem); margin-bottom: 28px; }
.process-sticky > p { max-width: 440px; color: var(--muted); font-size: 1.1rem; }
.process-list { list-style: none; margin: 0; padding: 0; }
.process-list li { display: grid; grid-template-columns: 62px 1fr; gap: 24px; padding: 45px 0; border-top: 1px solid var(--line); }
.process-list li:last-child { border-bottom: 1px solid var(--line); }
.process-list > li > span { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--ink); color: white; font-family: "Manrope"; font-size: .75rem; }
.process-list small { color: var(--orange); font-weight: 800; letter-spacing: .14em; }
.process-list h3 { margin: 8px 0 12px; font-size: 2rem; }
.process-list p { margin: 0; color: var(--muted); max-width: 490px; }

.moat { width: min(calc(100% - 40px), 1400px); }
.moat-card { display: grid; grid-template-columns: 1fr .9fr; gap: 7vw; align-items: center; padding: clamp(44px, 7vw, 96px); overflow: hidden; border-radius: 36px; color: white; background: var(--ink) url("assets/skies-bg.jpg") center / cover no-repeat; position: relative; }
.moat-card::before { content: ""; position: absolute; inset: 0; background: rgba(6,8,44,.76); }
.moat-card > * { position: relative; z-index: 1; }
.section-tag.light { color: rgba(255,255,255,.62); }
.moat h2 { font-size: clamp(3rem, 5vw, 5.2rem); }
.moat p { max-width: 600px; color: rgba(255,255,255,.68); font-size: 1.08rem; }
.stack { display: flex; flex-direction: column-reverse; align-items: stretch; gap: 10px; perspective: 900px; }
.stack div { display: flex; align-items: center; justify-content: space-between; min-height: 68px; padding: 0 24px; border: 1px solid rgba(255,255,255,.16); border-radius: 16px; background: rgba(255,255,255,.09); backdrop-filter: blur(10px); font-family: "Manrope"; font-weight: 700; transform: rotateX(4deg); }
.stack span { color: rgba(255,255,255,.48); font-size: .7rem; }
.stack .core { background: var(--orange); border-color: var(--orange); }
.stack .core span { color: white; }

.team { padding-bottom: 90px; }
.team .section-heading { grid-template-columns: 1fr; }
.team-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.person { display: grid; grid-template-columns: .86fr 1.14fr; min-height: 420px; overflow: hidden; border-radius: 24px; background: white; }
.portrait { background: #dbe7e8; overflow: hidden; }
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.person-copy { padding: 42px 34px; align-self: center; }
.person-copy > span { color: var(--orange); font-size: .7rem; font-weight: 800; letter-spacing: .15em; }
.person-copy h3 { margin: 15px 0 22px; font-size: 2.2rem; }
.person-copy p { color: var(--muted); }
.team-note { margin: 28px 0 0; padding: 22px 0; border-bottom: 1px solid var(--line); color: var(--muted); text-align: center; }

.contact { width: min(calc(100% - 40px), 1400px); }
.contact-card { position: relative; overflow: hidden; min-height: 560px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: clamp(44px, 8vw, 112px); border-radius: 36px; color: white; background: radial-gradient(circle at 80% 74%, rgba(42,91,169,.58) 0%, rgba(23,52,123,.28) 30%, transparent 57%), linear-gradient(145deg, #070936 0%, #10154f 100%); }
.contact-card::before { content: ""; position: absolute; z-index: 1; width: 250px; height: 70px; right: 8%; top: 12%; border-radius: 70% 35% 65% 40%; background: linear-gradient(100deg, rgba(139,213,208,.34), rgba(139,213,208,.04)); transform: rotate(-16deg); }
.contact h2 { max-width: 560px; margin-bottom: 25px; font-size: clamp(3.1rem, 5.2vw, 5.4rem); }
.contact-card > p:not(.eyebrow) { max-width: 560px; color: rgba(255,255,255,.68); font-size: 1.1rem; }
.contact-card .button { margin-top: 20px; }
.contact-card img { position: absolute; z-index: 2; width: min(27vw, 340px); right: 3%; bottom: 1%; transform: rotate(-7deg); filter: drop-shadow(0 30px 50px rgba(0,0,0,.36)); }
.contact-card > *:not(img) { position: relative; z-index: 3; }

footer { width: min(calc(100% - 40px), var(--max)); margin: 0 auto; display: grid; grid-template-columns: auto 1fr auto; gap: 40px; align-items: center; padding: 38px 0 55px; color: var(--muted); font-size: .84rem; }
.footer-brand img { filter: none; width: 150px; }
footer p { text-align: center; }
.socials { display: flex; gap: 18px; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
@keyframes float-heart { from { transform: translate3d(0, 0, 0) rotate(-8deg); } to { transform: translate3d(26px, -22px, 0) rotate(2deg); } }
@keyframes float-star { from { transform: translate3d(0, 0, 0) rotate(7deg); } to { transform: translate3d(-24px, 24px, 0) rotate(-4deg); } }
@keyframes float-blocks { from { transform: translate3d(0, 0, 0) rotate(3deg); } to { transform: translate3d(-32px, 20px, 0) rotate(-6deg); } }
@keyframes float-chest { from { transform: translate3d(0, 0, 0) rotate(-5deg); } to { transform: translate3d(30px, -26px, 0) rotate(4deg); } }
@keyframes float-hammer { from { transform: translate3d(0, 0, 0) rotate(5deg); } to { transform: translate3d(-30px, -24px, 0) rotate(-5deg); } }
@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 { opacity: 1; transform: none; } }

@media (max-width: 980px) {
  .site-header { top: 10px; }
  .menu-button { display: block; position: relative; z-index: 3; }
  nav { position: absolute; top: 0; left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 80px 22px 22px; border-radius: 18px; background: #080b36; }
  nav.open { display: flex; }
  nav a { padding: 14px 4px; border-top: 1px solid rgba(255,255,255,.1); }
  .nav-cta { margin-top: 10px; justify-content: space-between; padding: 13px 16px; }
  .hero { min-height: 800px; padding-top: 155px; }
  .hero-copy { width: 100%; }
  .hero-art { width: min(54vw, 520px); right: 20px; top: 350px; opacity: .8; }
  .section-heading, .process, .moat-card { grid-template-columns: 1fr; gap: 40px; }
  .intro { padding: 82px 40px; border-radius: 34px; }
  .intro { min-height: 560px; }
  .studio-copy { margin-top: 36px; }
  .studio-float { width: 120px; }
  .float-heart, .float-blocks { display: none; }
  .float-star { right: 3%; top: 4%; width: 92px; }
  .float-chest { left: -12px; bottom: -18px; width: 130px; }
  .float-hammer { right: -14px; bottom: -10px; width: 132px; }
  .section-heading p { max-width: 600px; }
  .person { grid-template-columns: 1fr; }
  .portrait { height: 400px; }
  .games { padding: 90px 30px; border-radius: 34px; }
  .games-showcase { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; min-height: auto; padding: 22px; }
  .showcase-copy { grid-column: 1 / -1; width: auto; min-height: 190px; padding: 18px 12px; }
  .game-shot, .shot-one, .shot-two, .shot-three, .shot-four { position: static; width: auto; height: 460px; transform: none; }
  .game-shot:hover, .shot-one:hover, .shot-two:hover, .shot-three:hover, .shot-four:hover { transform: none; }
  .contact-card img { opacity: .48; right: -8%; }
}

@media (max-width: 720px) {
  .brand img { width: 145px; }
  .hero { min-height: 790px; padding-left: 20px; padding-right: 20px; }
  h1 { font-size: clamp(3.2rem, 15vw, 4.5rem); }
  .hero-lede { font-size: 1.05rem; }
  .hero-actions { flex-direction: column; align-items: stretch; max-width: 360px; }
  .hero-art { width: 68vw; top: 470px; right: 12px; }
  .section { padding: 90px 0; }
  .section-tag { margin-bottom: 30px; }
  .intro h2, .section-heading h2 { font-size: 2.8rem; }
  .intro { width: min(calc(100% - 24px), 1400px); min-height: 500px; margin-top: 36px; padding: 64px 22px 110px; border-radius: 28px; }
  .studio-copy { margin-top: 24px; }
  .studio-copy h2 { font-size: 2.45rem; }
  .studio-copy p { font-size: 1.02rem; line-height: 1.6; }
  .insight-copy { grid-template-columns: 1fr; gap: 20px; }
  .ambient-decor { left: -20px; right: -20px; }
  .studio-float { width: 96px; }
  .float-star { right: 2%; top: 3%; width: 72px; }
  .float-chest { left: -18px; bottom: -16px; width: 104px; }
  .float-hammer { right: -20px; bottom: -8px; width: 105px; }
  .featured-game { grid-template-columns: 1fr; }
  .phone-stage { min-height: 520px; }
  .phone { width: 48%; border-width: 6px; }
  .game-grid { grid-template-columns: 1fr; }
  .game-image { height: 460px; }
  .games { width: min(calc(100% - 24px), 1400px); margin-top: 36px; padding: 72px 14px; border-radius: 28px; }
  .games-showcase { grid-template-columns: repeat(2, 1fr); gap: 12px; min-height: auto; padding: 14px; }
  .showcase-copy { grid-column: 1 / -1; min-height: 235px; padding: 26px 16px; }
  .showcase-copy p { font-size: 1.9rem; }
  .game-shot { height: 340px; border-radius: 16px; }
  .shot-one, .shot-two, .shot-three, .shot-four { transform: none; }
  .process-list li { grid-template-columns: 50px 1fr; gap: 14px; }
  .team-grid { grid-template-columns: 1fr; }
  .contact-card { min-height: 620px; padding: 50px 28px 250px; justify-content: flex-start; }
  .contact-card img { width: 76vw; right: -4%; bottom: -8%; opacity: .85; }
  footer { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  footer p { order: 3; }
  .socials { flex-wrap: wrap; justify-content: center; }
}
