:root {
    --bg: #11110f;
    --surface: #191915;
    --panel: #24241e;
    --text: #f5f1e8;
    --muted: #aaa99e;
    --line: rgba(245, 241, 232, .18);
    --lime: #c9fa73;
    --coral: #ff725e;
    --blue: #91b8ff;
    --mono: "DM Mono", Consolas, monospace;
    --sans: "Manrope", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--text); background: var(--bg); font-family: var(--sans); line-height: 1.6; overflow-x: hidden; }
body::before { position: fixed; inset: 0; z-index: -1; pointer-events: none; content: ""; opacity: .38; background-image: linear-gradient(rgba(245,241,232,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(245,241,232,.045) 1px, transparent 1px); background-size: 36px 36px; mask-image: linear-gradient(to bottom, #000 0, transparent 80%); }
body::after { position: fixed; top: 18%; left: 50%; z-index: -1; width: 550px; height: 550px; pointer-events: none; content: ""; border: 1px solid rgba(201,250,115,.08); border-radius: 50%; transform: translateX(-50%); box-shadow: 0 0 0 70px rgba(201,250,115,.025), 0 0 0 140px rgba(201,250,115,.018); }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.wrap { width: min(1120px, calc(100% - 48px)); margin: 0 auto; }
.site-noise { position: fixed; inset: 0; z-index: 10; pointer-events: none; opacity: .035; 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='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

.site-header { border-top: 4px solid var(--lime); border-bottom: 1px solid var(--line); background: rgba(17,17,15,.92); }
.nav-wrap { min-height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-size: 1.05rem; font-weight: 800; letter-spacing: -.045em; }
.brand em { color: var(--lime); font-style: normal; }
.brand-logo { width: 34px; height: 34px; object-fit: contain; }
.nav { display: flex; align-items: center; gap: 25px; font: 500 .72rem var(--mono); text-transform: uppercase; letter-spacing: .04em; }
.nav a { color: var(--muted); transition: color .2s ease; }
.nav a:hover, .nav a.active { color: var(--lime); }
.nav-cta { padding: 10px 14px; color: var(--bg) !important; background: var(--lime); font: 600 .72rem var(--mono); text-transform: uppercase; }

.kicker, .eyebrow, .label-top, .label-bottom, .card-number, .capability-number, .game-art-caption, .game-detail-art small { font: 600 .68rem var(--mono); text-transform: uppercase; letter-spacing: .12em; }
.kicker { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 19px; color: var(--lime); }
.pulse { width: 8px; height: 8px; display: inline-block; background: var(--coral); border-radius: 50%; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.03; letter-spacing: -.065em; }
h1 { margin-bottom: 25px; font-size: clamp(3.5rem, 7vw, 6.9rem); font-weight: 900; }
h2 { font-size: clamp(2.5rem, 5vw, 4.9rem); }
h3 { font-size: 1.7rem; }
h1 span, h2 span, h3 span { color: var(--lime); }

.hero { position: relative; display: grid; grid-template-columns: 1fr 1fr; min-height: 650px; align-items: center; gap: 52px; padding: 82px 0; }
.hero-copy { max-width: 550px; }
.hero-lead { max-width: 510px; margin-bottom: 31px; color: var(--muted); font-size: 1.05rem; }
.hero-actions { display: flex; align-items: center; gap: 21px; flex-wrap: wrap; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 12px 18px; border: 1px solid var(--line); font: 600 .72rem var(--mono); text-transform: uppercase; letter-spacing: .04em; transition: background .2s ease, color .2s ease, transform .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--bg); background: var(--lime); border-color: var(--lime); }
.button-light { color: var(--bg); background: var(--lime); border-color: var(--lime); }
.text-link { font: 600 .72rem var(--mono); text-transform: uppercase; }
.text-link::after { margin-left: 8px; color: var(--coral); content: "↗"; font-size: 1.05rem; }
.hero-art { position: relative; min-height: 400px; display: grid; place-items: center; }
.hero-art::before { position: absolute; width: min(390px, 90%); aspect-ratio: 1; content: ""; border: 1px solid var(--line); border-radius: 50%; }
.hero-art::after { position: absolute; width: 64%; aspect-ratio: 1; content: ""; border: 1px dashed rgba(201,250,115,.5); border-radius: 50%; }
.hero-logo-card { position: relative; z-index: 1; width: min(275px, 60%); aspect-ratio: 1; display: grid; place-items: center; background: var(--lime); box-shadow: 12px 12px 0 var(--coral); }
.hero-logo-card::before { position: absolute; inset: 13px; content: ""; border: 1px solid rgba(17,17,15,.5); }
.hero-logo-card img { width: 58%; filter: brightness(0) saturate(100%); }
.hero-grid-lines { position: absolute; z-index: 2; width: 44%; height: 44%; background: repeating-linear-gradient(90deg, transparent 0 28px, rgba(17,17,15,.14) 29px 30px), repeating-linear-gradient(0deg, transparent 0 28px, rgba(17,17,15,.14) 29px 30px); }
.hero-label { position: absolute; z-index: 3; display: flex; justify-content: space-between; width: 100%; color: var(--muted); }
.label-top { top: 20px; }
.label-bottom { bottom: 14px; color: var(--coral); }
.ticker { overflow: hidden; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); white-space: nowrap; color: var(--lime); font: 600 .7rem var(--mono); text-transform: uppercase; }
.ticker-track { display: inline-flex; gap: 28px; min-width: max-content; }
.ticker i { color: var(--coral); font-style: normal; }

.section { padding: 105px 0; }
.section-heading { display: grid; grid-template-columns: 1fr 310px; align-items: end; gap: 50px; margin-bottom: 42px; }
.section-heading h2 { margin-bottom: 0; }
.section-heading > p { margin-bottom: 6px; color: var(--muted); font-size: .94rem; }
.project-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.project-card { position: relative; min-height: 365px; display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; padding: 28px; overflow: hidden; border: 1px solid var(--line); background: var(--surface); }
.project-card::after { position: absolute; right: -54px; bottom: -54px; width: 170px; height: 170px; content: ""; border: 1px solid currentColor; border-radius: 50%; opacity: .25; }
.project-card:nth-child(2) { transform: none; }
.project-vorlantix { color: var(--bg); background: var(--lime); }
.project-ttv { color: var(--bg); background: var(--blue); }
.project-vorlantix .eyebrow, .project-vorlantix .card-number, .project-ttv .eyebrow, .project-ttv .card-number { color: rgba(17,17,15,.62); }
.card-top { width: 100%; display: flex; justify-content: space-between; align-items: start; }
.card-icon { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid currentColor; font-size: 1.2rem; }
.card-number { opacity: .8; }
.eyebrow { margin-bottom: 17px; color: var(--coral); }
.project-card h2, .project-card h3 { max-width: 510px; margin-bottom: 11px; font-size: clamp(2rem, 4vw, 3.3rem); }
.project-card p { max-width: 450px; color: inherit; opacity: .72; }
.card-link { display: inline-block; margin-top: 14px; font: 600 .7rem var(--mono); text-transform: uppercase; }

.capabilities { padding-top: 18px; }
.capability-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; border: 1px solid var(--line); background: var(--line); }
.capability-card { min-height: 210px; padding: 25px; background: var(--surface); }
.capability-card:nth-child(2) { color: var(--bg); background: var(--lime); }
.capability-card:nth-child(3) { background: var(--panel); }
.capability-number { display: block; margin-bottom: 38px; color: var(--coral); }
.capability-card h3 { margin-bottom: 8px; font-size: 1.4rem; }
.capability-card p { margin-bottom: 0; color: var(--muted); font-size: .88rem; }
.capability-card:nth-child(2) p { color: rgba(17,17,15,.66); }

.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.feature-visual { position: relative; min-height: 390px; display: grid; place-items: center; overflow: hidden; background: var(--coral); }
.feature-visual::before { position: absolute; inset: 15px; content: ""; border: 1px solid rgba(17,17,15,.5); }
.feature-word { position: relative; z-index: 1; color: var(--bg); font-size: clamp(4rem, 8vw, 7rem); font-weight: 900; letter-spacing: -.12em; }
.feature-dot { position: absolute; width: 185px; height: 185px; border: 1px solid rgba(17,17,15,.55); border-radius: 50%; }
.feature-copy { max-width: 520px; }
.feature-copy h2 { margin-bottom: 23px; }
.feature-copy > p { color: var(--muted); }
.process-band { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 60px; padding: 35px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.process-band h2 { margin-bottom: 0; font-size: clamp(2.4rem, 4vw, 4rem); }
.process-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.process-steps > div { display: flex; gap: 10px; color: var(--muted); font: .7rem var(--mono); text-transform: uppercase; }
.process-steps p { margin-bottom: 0; }
.process-steps strong { color: var(--lime); }

.games-preview { background: var(--surface); }
.game-card { display: grid; grid-template-columns: 1fr 1fr; min-height: 410px; border: 1px solid var(--line); }
.game-card-art, .game-detail-art { position: relative; min-height: 300px; overflow: hidden; background: var(--coral); }
.game-card-art img, .game-detail-art img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.game-card-art::after, .game-detail-art::after { position: absolute; inset: 0; content: ""; background: linear-gradient(135deg, rgba(17,17,15,.12), rgba(255,114,94,.58)); mix-blend-mode: multiply; }
.game-card:hover .game-card-art img { transform: scale(1.04); }
.game-sigil { position: absolute; z-index: 1; top: 22px; left: 22px; width: 62px; height: 62px; display: grid; place-items: center; color: var(--bg); background: var(--lime); font: 900 1.35rem var(--mono); }
.game-art-caption { position: absolute; z-index: 1; right: 20px; bottom: 17px; color: #fff; }
.game-card-copy { display: flex; flex-direction: column; justify-content: center; padding: 43px; background: var(--panel); }
.game-card-copy h3 { margin-bottom: 20px; font-size: clamp(2.6rem, 5vw, 5rem); }
.tag-row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-bottom: 20px; }
.tag { padding: 4px 8px; border: 1px solid var(--line); color: var(--lime); font: .68rem var(--mono); text-transform: uppercase; }
.game-card-copy p, .game-detail-copy p { color: var(--muted); }

.games-page { padding: 70px 0 110px; }
.page-intro { max-width: 720px; margin-bottom: 52px; }
.page-intro h1 { font-size: clamp(3.4rem, 6.5vw, 6.4rem); }
.page-intro p { max-width: 590px; color: var(--muted); font-size: 1.05rem; }
.back-link { display: inline-block; margin-bottom: 31px; color: var(--lime); font: .7rem var(--mono); text-transform: uppercase; }
.games-list { display: grid; gap: 30px; }
.game-detail { display: grid; grid-template-columns: 1fr 1fr; min-height: 430px; border: 1px solid var(--line); }
.game-detail-art small { position: absolute; z-index: 2; top: 18px; right: 18px; color: #fff; }
.game-detail-copy { display: flex; flex-direction: column; justify-content: center; padding: 45px; background: var(--surface); }
.game-detail-copy h2 { margin-bottom: 18px; }
.game-detail-copy .button { align-self: flex-start; margin-top: 15px; }
.steam-gallery { margin-top: 65px; }
.steam-gallery h2 { margin-bottom: 23px; font-size: 2rem; }
.steam-gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.steam-gallery figure { margin: 0; overflow: hidden; border: 1px solid var(--line); background: var(--surface); }
.steam-gallery img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .35s ease; }
.steam-gallery figure:hover img { transform: scale(1.04); }
.steam-gallery figcaption { padding: 9px 11px; color: var(--muted); font: .68rem var(--mono); }

.about-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 55px; border: 1px solid var(--line); background: var(--line); }
.about-stats > div { padding: 24px; background: var(--surface); }
.about-stats strong { display: block; margin-bottom: 7px; color: var(--lime); font-size: 2.8rem; line-height: 1; }
.about-stats span { color: var(--muted); font: .68rem var(--mono); text-transform: uppercase; }
.values-section { background: var(--surface); }
.values-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.about-manifesto { padding: 34px; border-top: 3px solid var(--lime); background: var(--panel); }
.about-manifesto h3 { margin-bottom: 12px; }
.about-manifesto p { margin-bottom: 0; color: var(--muted); }
.about-contact { padding-top: 30px; }

.contact { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 60px; padding: 90px 0 125px; }
.contact > div:first-child { text-align: right; }
.contact > div:first-child h2 { margin-bottom: 0; }
.contact-details { padding: 30px; border: 1px solid var(--line); background: var(--surface); }
.contact-email { display: inline-block; margin-bottom: 23px; color: var(--lime); font-size: clamp(1.25rem, 2.7vw, 2.2rem); font-weight: 800; letter-spacing: -.05em; border-bottom: 2px solid var(--coral); }
.contact-details p { margin-bottom: 9px; color: var(--muted); }
.legal-small { color: var(--muted); font: .68rem var(--mono); }
.footer { padding: 27px 0; border-top: 1px solid var(--line); color: var(--muted); font: .68rem var(--mono); }
.footer .wrap { display: flex; justify-content: space-between; gap: 18px; }
.reveal { opacity: 0; transform: translateY(12px); transition: opacity .55s ease, transform .55s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 760px) {
    .wrap { width: min(100% - 32px, 1120px); }
    .nav-wrap { min-height: 72px; }
    .nav { display: none; }
    .nav-cta { display: inline-flex; }
    .hero { grid-template-columns: 1fr; min-height: 0; gap: 45px; padding: 68px 0 70px; }
    h1 { font-size: clamp(3.4rem, 16vw, 5.5rem); }
    .hero-art { min-height: 315px; }
    .hero-art::before { width: 290px; }
    .hero-logo-card { width: 205px; }
    .hero-label { font-size: .58rem; }
    .section { padding: 75px 0; }
    .section-heading, .process-band, .contact { grid-template-columns: 1fr; gap: 25px; }
    .section-heading { margin-bottom: 30px; }
    .section-heading > p { margin-bottom: 0; }
    .project-grid, .capability-grid, .game-card, .game-detail, .values-grid { grid-template-columns: 1fr; }
    .project-card { min-height: 320px; }
    .feature { grid-template-columns: 1fr; gap: 36px; }
    .feature-visual { min-height: 285px; }
    .process-steps { grid-template-columns: 1fr; gap: 12px; }
    .game-card-art, .game-detail-art { min-height: 270px; }
    .game-card-copy, .game-detail-copy { padding: 32px 24px; }
    .steam-gallery-grid, .about-stats { grid-template-columns: 1fr; }
    .contact { padding: 65px 0 90px; }
    .contact > div:first-child { text-align: left; }
    .footer .wrap { display: block; }
    .footer .wrap > * { margin-bottom: 8px; }
}

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