@font-face { font-family: 'Bowlby One'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/bowlby-one-latin.woff2') format('woff2'); }
@font-face { font-family: 'Space Grotesk'; font-style: normal; font-weight: 400 700; font-display: swap; src: url('/fonts/space-grotesk-latin.woff2') format('woff2'); }

:root {
  --ink: #0d1719;
  --paper: #f3eddd;
  --acid: #baff68;
  --coral: #ff6a5a;
  --violet: #6756e8;
  --muted: #687073;
  --line: 3px solid var(--ink);
  --display: 'Bowlby One', 'Arial Black', sans-serif;
  --body: 'Space Grotesk', Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--body); font-size: 16px; overflow-x: hidden; }
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; }
button, input { font: inherit; }
::selection { color: var(--ink); background: var(--acid); }
.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; }

.grain { position: relative; isolation: isolate; }
.grain::after { content: ''; position: absolute; inset: 0; pointer-events: none; z-index: -1; opacity: .22; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.92' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.16'/%3E%3C/svg%3E"); mix-blend-mode: multiply; }
.cursor-glow { position: fixed; z-index: 50; left: 0; top: 0; width: 24rem; height: 24rem; pointer-events: none; transform: translate(calc(var(--x, -500px) - 50%), calc(var(--y, -500px) - 50%)); border-radius: 50%; background: radial-gradient(circle, rgba(186,255,104,.12), transparent 68%); transition: transform .08s linear; }

.site-header { position: sticky; top: 0; z-index: 40; height: 86px; padding: 0 max(4.5vw, 28px); display: flex; align-items: center; justify-content: space-between; background: rgba(243,237,221,.94); border-bottom: var(--line); backdrop-filter: blur(10px); }
.brand { display: inline-flex; align-items: center; gap: 13px; font-family: var(--display); text-transform: uppercase; letter-spacing: -.04em; font-size: 1.15rem; }
.brand em { color: var(--coral); font-style: normal; }
.site-header .brand em { color: #9f3027; }
.atom-mark { position: relative; display: inline-grid; place-items: center; flex: 0 0 auto; }
.atom-mark i { position: absolute; width: 100%; height: 39%; border: 2px solid currentColor; border-radius: 50%; }
.atom-mark i:nth-child(2) { transform: rotate(60deg); }
.atom-mark i:nth-child(3) { transform: rotate(120deg); }
.atom-mark b { width: 18%; aspect-ratio: 1; border-radius: 50%; background: var(--coral); }
.atom-mark--small { width: 42px; height: 42px; color: var(--ink); animation: markSpin 16s linear infinite; }
.site-nav { display: flex; align-items: center; gap: clamp(22px, 3vw, 45px); font-size: .84rem; font-weight: 700; text-transform: uppercase; letter-spacing: .09em; }
.site-nav > a:not(.nav-cta) { position: relative; }
.site-nav > a:not(.nav-cta)::after { content: ''; position: absolute; left: 0; right: 100%; bottom: -5px; height: 2px; background: var(--coral); transition: right .25s ease; }
.site-nav > a:hover::after { right: 0; }
.nav-cta { padding: 12px 17px; border: 2px solid var(--ink); border-radius: 4px; box-shadow: 4px 4px 0 var(--ink); background: var(--acid); transition: transform .2s, box-shadow .2s; }
.nav-cta:hover { transform: translate(3px,3px); box-shadow: 1px 1px 0 var(--ink); }
.nav-cta span { margin-left: 12px; }
.menu-toggle { display: none; border: 0; background: none; font-weight: 700; text-transform: uppercase; }

.hero { min-height: calc(100vh - 86px); padding: clamp(54px, 7vw, 100px) max(4.5vw, 28px) 0; display: flex; flex-direction: column; align-items: center; overflow: hidden; text-align: center; background-color: var(--paper); }
.hero::before { content: ''; position: absolute; width: min(85vw, 1100px); height: min(85vw, 1100px); top: -57%; border: 1px solid rgba(13,23,25,.14); border-radius: 50%; z-index: -1; }
.hero-kicker { width: min(1120px, 100%); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 25px; font-size: .72rem; text-transform: uppercase; font-weight: 700; letter-spacing: .18em; }
.hero-kicker > span:first-child { height: 2px; background: var(--ink); }
.hero-kicker > span:last-child { justify-self: end; }
.hero-title-wrap { margin-top: clamp(25px, 3vw, 42px); position: relative; z-index: 2; }
.hero h1 { margin: 0; font-family: var(--display); font-weight: 400; font-size: clamp(5.2rem, 13.2vw, 12.8rem); line-height: .72; text-transform: uppercase; letter-spacing: -.065em; }
.hero-title-bottom { display: flex; justify-content: center; align-items: center; gap: clamp(15px, 3vw, 44px); margin-top: clamp(33px, 4vw, 56px); }
.hero-title-bottom h1 { color: transparent; -webkit-text-stroke: 4px var(--ink); }
.atom-mark--hero { width: clamp(82px, 10vw, 150px); height: clamp(82px, 10vw, 150px); color: var(--ink); animation: markSpin 20s linear infinite reverse; }
.atom-mark--hero i { border-width: 4px; }
.hero-tagline { margin: clamp(29px, 4vw, 52px) 0 0; font-family: Georgia, serif; font-size: clamp(1.8rem, 3.1vw, 3rem); font-weight: 700; line-height: 1; }
.hero-tagline em { color: var(--coral); }
.hero-copy { max-width: 630px; margin: 22px auto 0; font-size: clamp(1rem, 1.3vw, 1.2rem); line-height: 1.6; }
.platform-strip { margin-top: 21px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 14px; font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; }
.platform-strip span { padding: 7px 12px; border: 2px solid var(--ink); border-radius: 99px; background: rgba(243,237,221,.72); }
.platform-strip i { width: 5px; height: 5px; border-radius: 50%; background: var(--coral); }
.button { margin-top: 28px; min-width: 270px; padding: 8px 8px 8px 24px; display: inline-flex; align-items: center; justify-content: space-between; gap: 25px; border: var(--line); border-radius: 5px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; box-shadow: 5px 5px 0 var(--coral); transition: transform .2s, box-shadow .2s; }
.button b { width: 44px; height: 44px; display: grid; place-items: center; background: var(--acid); border-radius: 3px; color: var(--ink); font-size: 1.3rem; }
.button--dark { color: var(--paper); background: var(--ink); }
.button:hover { transform: translate(4px,4px); box-shadow: 1px 1px 0 var(--coral); }
.ticker { width: calc(100% + max(9vw,56px)); overflow: hidden; margin-top: auto; transform: translateY(2px); border-top: var(--line); border-bottom: var(--line); background: var(--acid); }
.ticker-track { width: max-content; display: flex; align-items: center; gap: 32px; padding: 13px 0; animation: ticker 24s linear infinite; font-family: var(--display); font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; }
.ticker-track i { color: var(--coral); font-style: normal; font-size: 1.25rem; }

.game-section { padding: clamp(75px, 9vw, 140px) max(4.5vw, 28px); background: #d7cf3b; border-bottom: var(--line); overflow: hidden; }
.section-heading, .game-card, .studio-grid, .principles, .signal-content, .site-footer { width: min(1320px, 100%); margin-inline: auto; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 40px; }
.eyebrow { margin: 0 0 18px; font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .18em; }
.eyebrow::before { content: ''; width: 9px; height: 9px; margin-right: 10px; display: inline-block; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 4px rgba(255,106,90,.22); }
.section-heading h2, .studio-section h2, .signal-section h2 { margin: 0; font-family: var(--display); font-weight: 400; font-size: clamp(3.6rem, 7vw, 7.8rem); line-height: .86; letter-spacing: -.045em; text-transform: uppercase; }
.section-heading h2 span { color: var(--paper); -webkit-text-stroke: 3px var(--ink); }
.side-note { max-width: 270px; margin: 0 0 12px; padding-left: 18px; border-left: 3px solid var(--ink); font-family: Georgia, serif; font-style: italic; line-height: 1.5; }
.game-card { --rx: 0deg; --ry: 0deg; margin-top: clamp(50px, 7vw, 90px); display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(340px, .65fr); background: var(--paper); border: var(--line); border-radius: 7px; box-shadow: 10px 10px 0 var(--ink); overflow: hidden; transform: perspective(1600px) rotateX(var(--rx)) rotateY(var(--ry)); transition: transform .18s ease, box-shadow .2s; }
.game-art { position: relative; min-height: 600px; overflow: hidden; border-right: var(--line); background: var(--ink); }
.game-art img { height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.game-card:hover .game-art img { transform: scale(1.035); }
.game-art::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6,11,20,.1), transparent 60%, rgba(6,11,20,.45)); pointer-events: none; }
.game-art-top { position: absolute; z-index: 2; top: 22px; left: 22px; right: 22px; display: flex; justify-content: space-between; color: #fff; text-transform: uppercase; letter-spacing: .14em; font-size: .68rem; font-weight: 700; }
.game-art-top span { padding: 8px 11px; border: 1px solid rgba(255,255,255,.6); background: rgba(10,17,29,.48); backdrop-filter: blur(8px); }
.scan-line { position: absolute; z-index: 3; left: 0; right: 0; top: -20%; height: 35%; opacity: .13; background: linear-gradient(transparent, var(--acid), transparent); animation: scan 7s ease-in-out infinite; }
.game-info { padding: clamp(35px, 5vw, 70px); display: flex; flex-direction: column; justify-content: center; }
.game-status { display: flex; align-items: center; gap: 10px; font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; }
.game-status span { width: 10px; height: 10px; border-radius: 50%; background: #52c85c; box-shadow: 0 0 0 5px rgba(82,200,92,.18); animation: blink 1.8s ease-in-out infinite; }
.project-label { margin: 45px 0 8px; color: var(--coral); text-transform: uppercase; font-size: .78rem; font-weight: 700; letter-spacing: .13em; }
.game-info h3 { margin: 0; font-family: var(--display); font-size: clamp(2.5rem, 4vw, 4.6rem); font-weight: 400; line-height: .94; text-transform: uppercase; letter-spacing: -.035em; }
.game-info > p:not(.project-label) { margin: 25px 0 0; color: #424c4f; line-height: 1.65; }
.game-meta { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 30px; }
.game-meta span { padding: 8px 11px; border: 2px solid var(--ink); border-radius: 99px; font-size: .68rem; font-weight: 700; text-transform: uppercase; }
.text-link { width: fit-content; margin-top: 40px; padding-bottom: 4px; border-bottom: 2px solid var(--ink); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.text-link span { display: inline-block; margin-left: 14px; transition: transform .2s; }
.text-link:hover span { transform: translate(3px,-3px); }

.studio-section { padding: clamp(80px, 10vw, 155px) max(4.5vw, 28px); background: var(--paper); border-bottom: var(--line); }
.studio-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(50px, 10vw, 160px); align-items: end; }
.studio-section h2 em { color: var(--violet); font-family: Georgia, serif; font-weight: 700; text-transform: none; }
.studio-copy { padding-bottom: 6px; }
.studio-copy p { color: #475053; line-height: 1.7; }
.studio-copy .lead { margin-top: 0; color: var(--ink); font-family: Georgia, serif; font-size: clamp(1.35rem, 2vw, 1.8rem); line-height: 1.42; }
.principles { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: clamp(75px, 10vw, 145px); border-top: var(--line); border-left: var(--line); }
.principle { min-height: 350px; padding: 24px clamp(22px, 3vw, 42px) 35px; display: flex; flex-direction: column; border-right: var(--line); border-bottom: var(--line); transition: color .25s, background .25s, transform .25s; }
.principle:hover { color: var(--paper); background: var(--ink); transform: translateY(-8px); }
.principle > span { font-size: .7rem; font-weight: 700; letter-spacing: .14em; }
.principle-icon { margin: auto 0; font-family: Georgia, serif; font-size: 4.5rem; color: var(--coral); }
.principle h3 { margin: 0; font-family: var(--display); font-size: clamp(1.5rem, 2.2vw, 2.3rem); font-weight: 400; line-height: 1; text-transform: uppercase; }
.principle p { margin: 15px 0 0; color: var(--muted); line-height: 1.5; }
.principle:hover p { color: #acb4b3; }

.faq-section { padding: clamp(80px, 10vw, 150px) max(4.5vw, 28px); display: grid; grid-template-columns: .7fr 1.3fr; gap: clamp(45px, 8vw, 120px); background: var(--acid); border-bottom: var(--line); }
.faq-heading, .faq-list { width: 100%; max-width: 800px; }
.faq-heading { justify-self: end; }
.faq-heading h2 { margin: 0; font-family: var(--display); font-size: clamp(3.5rem, 6vw, 6.6rem); font-weight: 400; line-height: .88; text-transform: uppercase; letter-spacing: -.04em; }
.faq-heading h2 em { color: var(--violet); font-family: Georgia, serif; text-transform: none; }
.faq-list { justify-self: start; }
.faq-item { border-top: var(--line); }
.faq-item:last-child { border-bottom: var(--line); }
.faq-item summary { padding: 27px 5px; display: grid; grid-template-columns: 45px 1fr 30px; align-items: center; gap: 12px; cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary > span { font-size: .68rem; font-weight: 700; letter-spacing: .1em; }
.faq-item h3 { margin: 0; font-family: var(--display); font-size: clamp(1.2rem, 2vw, 1.8rem); font-weight: 400; text-transform: uppercase; }
.faq-item summary b { font-size: 1.8rem; font-weight: 400; transition: transform .2s; }
.faq-item[open] summary b { transform: rotate(45deg); }
.faq-item > p { margin: -5px 35px 28px 57px; max-width: 600px; line-height: 1.65; }

.signal-section { position: relative; min-height: 760px; padding: clamp(90px, 11vw, 170px) max(4.5vw, 28px); display: grid; place-items: center; color: var(--paper); background: var(--violet); border-bottom: var(--line); overflow: hidden; }
.signal-content { position: relative; z-index: 2; max-width: 770px; margin-inline: auto; text-align: center; }
.signal-section .eyebrow::before { background: var(--acid); box-shadow: 0 0 0 4px rgba(186,255,104,.2); }
.signal-section h2 em { color: var(--acid); font-family: Georgia, serif; text-transform: none; }
.signal-content > p:not(.eyebrow):not(.form-note) { max-width: 620px; margin: 28px auto 0; font-size: 1.1rem; line-height: 1.65; color: rgba(243,237,221,.82); }
.signal-form { max-width: 660px; margin: 43px auto 0; padding: 7px; display: flex; gap: 8px; border: var(--line); border-color: var(--paper); border-radius: 5px; background: var(--paper); box-shadow: 7px 7px 0 var(--ink); }
.signal-form input { min-width: 0; flex: 1; padding: 16px 18px; color: var(--ink); border: 0; outline: 0; background: transparent; }
.signal-form .honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.signal-form button { padding: 14px 18px; color: var(--ink); border: 2px solid var(--ink); border-radius: 3px; background: var(--acid); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; cursor: pointer; transition: background .2s; }
.signal-form button:disabled { cursor: wait; opacity: .75; }
.signal-form button:hover, .signal-form button.is-success { background: var(--coral); }
.signal-form button span { margin-left: 14px; }
.form-note { margin: 18px 0 0; font-size: .72rem; letter-spacing: .05em; color: rgba(243,237,221,.65); }
.signal-atom { position: absolute; width: min(900px, 85vw); aspect-ratio: 1; display: grid; place-items: center; opacity: .15; color: var(--paper); animation: markSpin 40s linear infinite; }
.signal-atom span { position: absolute; width: 100%; height: 36%; border: 5px solid currentColor; border-radius: 50%; }
.signal-atom span:nth-child(2) { transform: rotate(60deg); }
.signal-atom span:nth-child(3) { transform: rotate(120deg); }
.signal-atom b { width: 11%; aspect-ratio: 1; border-radius: 50%; background: var(--acid); box-shadow: 0 0 100px var(--acid); }

.site-footer { padding: 65px max(4.5vw, 28px) 28px; width: 100%; background: var(--ink); color: var(--paper); }
.site-footer > p { max-width: 420px; margin: 24px 0 38px; color: #a5aeac; line-height: 1.5; }
.brand--footer .atom-mark { color: var(--paper); }
.footer-links { display: flex; flex-wrap: wrap; gap: 12px; }
.footer-links a { padding: 10px 15px; border: 1px solid #4c5658; border-radius: 99px; font-size: .76rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; transition: color .2s, border-color .2s; }
.footer-links a:hover { color: var(--acid); border-color: var(--acid); }
.footer-bottom { margin-top: 60px; padding-top: 22px; display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid #354042; color: #788381; font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.site-header a:focus-visible, .button:focus-visible, .text-link:focus-visible, .footer-links a:focus-visible, .menu-toggle:focus-visible, .signal-form input:focus-visible, .signal-form button:focus-visible { outline: 4px solid var(--coral); outline-offset: 4px; }
.principle:nth-child(2) { transition-delay: .1s; }
.principle:nth-child(3) { transition-delay: .2s; }
@keyframes ticker { to { transform: translateX(-50%); } }
@keyframes scan { 0%, 15% { transform: translateY(-100%); } 70%, 100% { transform: translateY(450%); } }
@keyframes blink { 50% { opacity: .4; } }
@keyframes markSpin { to { transform: rotate(360deg); } }

@media (max-width: 900px) {
  .cursor-glow { display: none; }
  .site-header { height: 74px; backdrop-filter: none; }
  .menu-toggle { position: relative; z-index: 3; display: grid; grid-template-columns: auto 24px; align-items: center; gap: 10px; cursor: pointer; }
  .menu-toggle i { grid-column: 2; width: 22px; height: 2px; background: var(--ink); transition: transform .2s; }
  .menu-toggle i:last-child { margin-top: -7px; }
  .menu-toggle[aria-expanded='true'] i { grid-row: 1; transform: rotate(45deg); }
  .menu-toggle[aria-expanded='true'] i:last-child { margin-top: 0; transform: rotate(-45deg); }
  .site-nav { position: fixed; inset: 0; padding: 120px 28px 40px; display: flex; flex-direction: column; align-items: stretch; justify-content: center; background: var(--acid); transform: translateY(-105%); transition: transform .4s cubic-bezier(.7,0,.2,1); }
  .site-nav.is-open { transform: translateY(0); }
  .site-nav > a { font-family: var(--display); font-size: clamp(2rem, 10vw, 4rem); font-weight: 400; letter-spacing: -.03em; }
  .nav-cta { margin-top: 25px; font-family: var(--body) !important; font-size: 1rem !important; letter-spacing: .06em !important; text-align: center; background: var(--paper); }
  .hero { min-height: calc(100svh - 74px); }
  .game-card { grid-template-columns: 1fr; }
  .game-art { min-height: auto; aspect-ratio: 4/3; border-right: 0; border-bottom: var(--line); }
  .studio-grid { grid-template-columns: 1fr; }
  .principles { grid-template-columns: 1fr; }
  .principle { min-height: 280px; }
  .faq-section { grid-template-columns: 1fr; }
  .faq-heading { justify-self: start; }
}

@media (max-width: 600px) {
  .brand { font-size: 1rem; }
  .atom-mark--small { width: 36px; height: 36px; }
  .hero { padding-top: 45px; }
  .hero-kicker { display: flex; justify-content: center; }
  .hero-kicker > span:first-child { display: none; }
  .hero-kicker > span:last-child { display: none; }
  .hero-title-wrap { width: 100%; max-width: 100%; }
  .hero h1 { font-size: clamp(3.45rem, 16.3vw, 5rem); line-height: .78; }
  .hero-title-bottom { margin-top: 23px; gap: 15px; }
  .atom-mark--hero { width: 64px; height: 64px; }
  .atom-mark--hero i { border-width: 2px; }
  .hero-title-bottom h1 { -webkit-text-stroke-width: 2px; }
  .hero-copy { width: 100%; }
  .hero .button { width: min(100%, 315px); min-width: 0; }
  .section-heading { align-items: start; flex-direction: column; }
  .section-heading h2, .studio-section h2, .signal-section h2 { font-size: clamp(3rem, 15vw, 5rem); }
  .side-note { margin-bottom: 0; }
  .game-card { box-shadow: 6px 6px 0 var(--ink); }
  .game-art { aspect-ratio: 1/1; }
  .game-info { padding: 34px 25px 40px; }
  .game-info h3 { font-size: 2.6rem; }
  .project-label { margin-top: 35px; }
  .signal-section { min-height: 680px; }
  .signal-form { flex-direction: column; }
  .signal-form button { width: 100%; }
  .footer-bottom { flex-direction: column; }
}

@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; }
}

.error-page { min-height: 100vh; padding: 8vw; display: grid; place-items: center; text-align: center; }
.error-page h1 { margin: 0; font-family: var(--display); font-size: clamp(4rem, 10vw, 9rem); font-weight: 400; line-height: .85; text-transform: uppercase; }
.error-page h1 em { color: var(--coral); font-family: Georgia, serif; text-transform: none; }
.error-page > div > p:not(.eyebrow) { max-width: 480px; margin: 25px auto; font-size: 1.15rem; }
.error-code { display: block; margin-bottom: 15px; color: var(--violet); font-family: var(--display); font-size: 1.2rem; }
