:root {
    --ink: #10120f;
    --paper: #f1f1e9;
    --muted: #a7aa9f;
    --line: rgba(241, 241, 233, 0.16);
    --lime: #c8ff45;
    --cyan: #55e6d4;
    --pink: #ff5f8f;
    --purple: #8d72ff;
    --font-sans: "Manrope", sans-serif;
    --font-mono: "DM Mono", monospace;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    min-width: 320px;
    overflow-x: hidden;
    background: var(--ink);
    color: var(--paper);
    font-family: var(--font-sans);
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

.skip-link {
    position: fixed;
    left: 16px;
    top: -100px;
    z-index: 1000;
    padding: 12px 16px;
    background: var(--lime);
    color: var(--ink);
    font-weight: 700;
}

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

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

.page-noise {
    position: fixed;
    inset: 0;
    z-index: 1000;
    pointer-events: none;
    opacity: 0.025;
    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='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.65'/%3E%3C/svg%3E");
}

.container {
    width: min(1240px, calc(100% - 48px));
    margin: 0 auto;
}

.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 100;
    border-bottom: 1px solid transparent;
    transition: background-color 180ms ease, border-color 180ms ease;
}

.site-header.is-scrolled {
    border-color: var(--line);
    background: rgba(16, 18, 15, 0.88);
    backdrop-filter: blur(18px);
}

.header-content {
    height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    text-decoration: none;
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.05em;
}

.brand-mark {
    width: 31px;
    color: var(--lime);
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 40px;
}

.desktop-nav a,
.lang-toggle {
    border: 0;
    background: transparent;
    color: var(--muted);
    font: 500 0.72rem var(--font-mono);
    letter-spacing: 0.08em;
    text-decoration: none;
    text-transform: uppercase;
    cursor: pointer;
    transition: color 160ms ease;
}

.desktop-nav a:hover,
.desktop-nav a:focus-visible,
.lang-toggle:hover,
.lang-toggle:focus-visible {
    color: var(--lime);
}

.lang-toggle {
    min-width: 44px;
    min-height: 44px;
    border: 1px solid var(--line);
    border-radius: 50%;
}

.hero {
    min-height: 100vh;
    padding: 150px 0 42px;
    overflow: hidden;
    background:
        radial-gradient(circle at 78% 39%, rgba(200, 255, 69, 0.08), transparent 22%),
        linear-gradient(var(--line) 1px, transparent 1px),
        linear-gradient(90deg, var(--line) 1px, transparent 1px);
    background-size: auto, 80px 80px, 80px 80px;
    background-position: center;
}

.hero-layout {
    min-height: 610px;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(440px, 0.92fr);
    align-items: center;
    gap: 72px;
}

.eyebrow,
.section-index,
.product-type,
.visual-kicker {
    font: 500 0.7rem var(--font-mono);
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 27px;
    color: var(--muted);
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--lime);
    box-shadow: 0 0 0 5px rgba(200, 255, 69, 0.1);
}

.hero h1 {
    max-width: 740px;
    font-size: clamp(4rem, 7.4vw, 7.3rem);
    line-height: 0.91;
    letter-spacing: -0.075em;
    text-wrap: balance;
}

.hero-subtitle {
    max-width: 670px;
    margin-top: 30px;
    color: var(--muted);
    font-size: clamp(1rem, 1.4vw, 1.2rem);
    line-height: 1.75;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 38px;
}

.button {
    min-height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    padding: 0 24px;
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
    transition: transform 160ms ease, color 160ms ease, background-color 160ms ease;
}

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

.button-primary {
    border-color: var(--lime);
    background: var(--lime);
    color: var(--ink);
}

.button-quiet:hover {
    background: var(--paper);
    color: var(--ink);
}

.hero-orbit {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    max-width: 550px;
    justify-self: end;
}

.orbit-ring {
    position: absolute;
    border: 1px solid var(--line);
    border-radius: 50%;
}

.orbit-ring-outer {
    inset: 4%;
    animation: orbitSpin 36s linear infinite;
}

.orbit-ring-outer::before,
.orbit-ring-outer::after {
    content: "";
    position: absolute;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--lime);
}

.orbit-ring-outer::before {
    left: 9%;
    top: 23%;
}

.orbit-ring-outer::after {
    right: 5%;
    bottom: 28%;
    background: var(--pink);
}

.orbit-ring-inner {
    inset: 25%;
    border-style: dashed;
    animation: orbitSpin 24s linear infinite reverse;
}

.orbit-center {
    position: absolute;
    inset: 36%;
    display: grid;
    place-content: center;
    justify-items: center;
    gap: 8px;
    border-radius: 50%;
    background: var(--lime);
    color: var(--ink);
    box-shadow: 0 0 65px rgba(200, 255, 69, 0.18);
}

.orbit-center svg {
    width: 41px;
}

.orbit-center span {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: -0.04em;
}

.orbit-product {
    position: absolute;
    min-width: 132px;
    display: grid;
    grid-template-columns: 32px auto;
    grid-template-rows: auto auto;
    align-items: center;
    column-gap: 10px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: rgba(24, 27, 22, 0.92);
    box-shadow: 0 16px 45px rgba(0, 0, 0, 0.32);
}

.orbit-product > :is(span, img):first-child {
    grid-row: 1 / 3;
}

.orbit-product strong {
    font-size: 0.74rem;
}

.orbit-product small {
    color: var(--muted);
    font: 0.58rem var(--font-mono);
    text-transform: uppercase;
}

.orbit-gridlord {
    left: 0;
    top: 25%;
    transform: rotate(-5deg);
}

.orbit-puffclean {
    right: -1%;
    top: 21%;
    transform: rotate(5deg);
}

.orbit-tiftik {
    left: 5%;
    bottom: 12%;
    transform: rotate(4deg);
}

.orbit-pigmento {
    right: 4%;
    bottom: 7%;
    transform: rotate(-4deg);
}

.orbit-pianocat {
    left: 38%;
    top: 2%;
    transform: rotate(-3deg);
}

.mini-grid {
    width: 32px;
    height: 32px;
    border-radius: 7px;
    background:
        linear-gradient(90deg, transparent 46%, rgba(16, 18, 15, 0.6) 46% 54%, transparent 54%),
        linear-gradient(transparent 46%, rgba(16, 18, 15, 0.6) 46% 54%, transparent 54%),
        var(--pink);
}

.mini-puff,
.mini-game-icon {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    object-fit: cover;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.signal-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.signal-row > div {
    min-height: 82px;
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 18px 26px;
    border-right: 1px solid var(--line);
}

.signal-row > div:last-child {
    border: 0;
}

.signal-row strong {
    color: var(--lime);
    font: 500 0.82rem var(--font-mono);
}

.signal-row span {
    color: var(--muted);
    font-size: 0.68rem;
}

.products-section {
    padding: 140px 0;
}

.section-heading {
    display: grid;
    grid-template-columns: 0.65fr 1.35fr;
    gap: 60px;
    margin-bottom: 85px;
}

.section-index {
    color: var(--lime);
}

.section-heading h2,
.studio-statement h2,
.contact-card h2 {
    font-size: clamp(2.8rem, 5.4vw, 5.5rem);
    line-height: 0.98;
    letter-spacing: -0.065em;
}

.section-heading p:last-child {
    max-width: 640px;
    margin-top: 25px;
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.75;
}

.product-feature {
    min-height: 650px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-bottom: 32px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 28px;
    background: #171a15;
}

.product-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(38px, 6vw, 76px);
}

.product-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: auto;
}

.product-number {
    color: var(--muted);
    font: 0.7rem var(--font-mono);
}

.product-status {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--muted);
    font: 0.64rem var(--font-mono);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.product-status i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--lime);
}

.product-type {
    margin-top: 70px;
    color: var(--lime);
}

.product-copy h3 {
    margin-top: 13px;
    font-size: clamp(3.2rem, 5vw, 5.5rem);
    line-height: 1;
    letter-spacing: -0.07em;
}

.product-lead {
    margin-top: 22px;
    font-size: 1.18rem;
    font-weight: 700;
}

.product-description {
    max-width: 520px;
    margin-top: 16px;
    color: var(--muted);
    font-size: 0.93rem;
    line-height: 1.75;
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 26px;
    list-style: none;
}

.tag-list li {
    padding: 8px 12px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: #d5d7ce;
    font: 0.62rem var(--font-mono);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.product-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-top: 34px;
}

.store-pill {
    min-width: 142px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border: 1px solid var(--line);
    border-radius: 9px;
    text-decoration: none;
    transition: border-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.store-pill b {
    display: flex;
    align-items: center;
    font-size: 1.25rem;
}

.store-pill b svg {
    width: 19px;
    height: 19px;
}

a.store-pill:hover,
a.store-pill:focus-visible {
    border-color: var(--lime);
    color: var(--lime);
    transform: translateY(-2px);
}

.store-pill span {
    display: flex;
    flex-direction: column;
    font-size: 0.7rem;
    font-weight: 700;
}

.store-pill small {
    color: var(--muted);
    font: 0.48rem var(--font-mono);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.store-pill.is-disabled {
    opacity: 0.55;
}

.product-status.is-live i {
    box-shadow: 0 0 0 4px rgba(200, 255, 69, 0.16);
}

.text-link {
    padding: 12px 2px;
    color: var(--muted);
    font-size: 0.73rem;
    text-underline-offset: 5px;
}

.text-link:hover {
    color: var(--lime);
}

.product-visual {
    position: relative;
    min-height: 650px;
    overflow: hidden;
}

.gridlord-visual {
    padding: clamp(32px, 5vw, 66px);
    background:
        radial-gradient(circle at 48% 44%, rgba(255, 95, 143, 0.22), transparent 34%),
        linear-gradient(145deg, #201426, #0b1418 72%);
}

.gridlord-visual::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.22;
    background-image: linear-gradient(rgba(85, 230, 212, 0.3) 1px, transparent 1px), linear-gradient(90deg, rgba(85, 230, 212, 0.3) 1px, transparent 1px);
    background-size: 32px 32px;
    mask-image: linear-gradient(to bottom, black, transparent 90%);
}

.visual-kicker,
.game-title,
.game-board,
.perk-strip,
.score-line {
    position: relative;
    z-index: 2;
}

.visual-kicker {
    color: rgba(255, 255, 255, 0.48);
}

.game-title {
    margin: 25px 0 30px;
    font-size: clamp(2.8rem, 5vw, 5.2rem);
    font-weight: 800;
    line-height: 0.85;
    letter-spacing: -0.08em;
}

.game-title span {
    display: block;
    color: var(--pink);
}

.game-board {
    position: relative;
    width: min(100%, 440px);
    aspect-ratio: 1;
    margin: 0 auto;
    border: 1px solid rgba(85, 230, 212, 0.26);
    background-image: linear-gradient(rgba(85, 230, 212, 0.12) 1px, transparent 1px), linear-gradient(90deg, rgba(85, 230, 212, 0.12) 1px, transparent 1px);
    background-size: 12.5% 12.5%;
    box-shadow: inset 0 0 50px rgba(85, 230, 212, 0.04), 0 20px 70px rgba(0, 0, 0, 0.28);
}

.cell {
    position: absolute;
    width: calc(12.5% - 5px);
    height: calc(12.5% - 5px);
    border-radius: 4px;
    box-shadow: 0 0 18px currentColor;
}

.block-cyan { background: var(--cyan); color: rgba(85, 230, 212, 0.65); }
.block-pink { background: var(--pink); color: rgba(255, 95, 143, 0.6); }
.block-lime { background: var(--lime); color: rgba(200, 255, 69, 0.55); }
.c1 { left: 12.8%; top: 63%; }.c2 { left: 25.3%; top: 63%; }.c3 { left: 25.3%; top: 75.5%; }
.p1 { left: 50.3%; top: 38%; }.p2 { left: 62.8%; top: 38%; }.p3 { left: 75.3%; top: 38%; }.p4 { left: 75.3%; top: 50.5%; }
.l1 { left: 0.3%; top: 88%; }.l2 { left: 12.8%; top: 88%; }.l3 { left: 25.3%; top: 88%; }.l4 { left: 37.8%; top: 88%; }.l5 { left: 50.3%; top: 88%; }

.core-cell {
    left: 37.8%;
    top: 50.5%;
    display: grid;
    place-items: center;
    border: 1px solid var(--purple);
    color: var(--purple);
    font: 600 0.58rem var(--font-mono);
}

.stone-cell {
    left: 87.8%;
    top: 75.5%;
    background: repeating-linear-gradient(45deg, #5c6067 0 4px, #353941 4px 8px);
    color: rgba(130, 135, 145, 0.4);
}

.perk-strip {
    display: flex;
    gap: 7px;
    margin-top: 20px;
}

.perk-strip span {
    flex: 1;
    padding: 8px 6px;
    border: 1px solid rgba(255, 255, 255, 0.13);
    color: rgba(255, 255, 255, 0.55);
    font: 0.45rem var(--font-mono);
    text-align: center;
}

.score-line {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-top: 20px;
    color: var(--cyan);
    font: 0.58rem var(--font-mono);
}

.score-line strong {
    color: var(--paper);
    font-size: 1.2rem;
}

.product-puffclean {
    background: #080c1d;
    color: #f3f7ff;
}

.product-puffclean .product-type,
.product-puffclean .section-index {
    color: #55e6f4;
}

.product-puffclean .product-status,
.product-puffclean .product-description,
.product-puffclean .text-link {
    color: #99a7c3;
}

.product-puffclean .tag-list li,
.product-puffclean .store-pill {
    border-color: rgba(141, 114, 255, 0.28);
    color: #d9e0ef;
}

.product-puffclean .product-status.is-live i {
    background: #55e6f4;
    box-shadow: 0 0 0 4px rgba(85, 230, 244, 0.14);
}

.product-puffclean .store-pill-live {
    min-width: 220px;
    justify-content: center;
    padding: 14px 18px;
    border-color: rgba(85, 230, 244, 0.72);
    border-radius: 999px;
    background: linear-gradient(100deg, #a44cff, #55e6f4);
    color: #07101f;
    box-shadow: 0 14px 34px rgba(91, 74, 255, 0.24);
}

.product-puffclean .store-pill-live .puff-store-label {
    display: block;
    font-size: 0.76rem;
    letter-spacing: -0.01em;
    white-space: nowrap;
}

.product-puffclean .store-pill-live small {
    color: rgba(7, 16, 31, 0.62);
}

.product-puffclean .store-pill-live:hover,
.product-puffclean .store-pill-live:focus-visible {
    border-color: #f3f7ff;
    background: #f3f7ff;
    color: #07101f;
    box-shadow: 0 18px 38px rgba(75, 216, 242, 0.2);
}

.product-puffclean .store-pill-live:hover small,
.product-puffclean .store-pill-live:focus-visible small {
    color: rgba(7, 16, 31, 0.62);
}

.product-puffclean .text-link:hover {
    color: #55e6f4;
}

.puffclean-visual {
    isolation: isolate;
    outline: none;
    background:
        radial-gradient(circle at 72% 26%, rgba(85, 230, 244, 0.2), transparent 28%),
        radial-gradient(circle at 15% 88%, rgba(164, 76, 255, 0.25), transparent 34%),
        linear-gradient(145deg, #111b3c, #070919 76%);
}

.puffclean-visual::before,
.puffclean-visual::after {
    content: "";
    position: absolute;
    pointer-events: none;
}

.puffclean-visual::before {
    inset: 0;
    z-index: -2;
    opacity: 0.2;
    background-image:
        linear-gradient(rgba(85, 230, 244, 0.2) 1px, transparent 1px),
        linear-gradient(90deg, rgba(141, 114, 255, 0.24) 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: radial-gradient(circle at 55% 50%, black, transparent 82%);
}

.puffclean-visual::after {
    inset: 0;
    z-index: 8;
    background: linear-gradient(90deg, rgba(7, 9, 25, 0.08), transparent 12%, transparent 86%, rgba(7, 9, 25, 0.74));
}

.puffclean-visual:focus-visible {
    box-shadow: inset 0 0 0 3px var(--lime);
}

.puff-stage-orbit {
    position: absolute;
    z-index: -1;
    width: 610px;
    height: 610px;
    left: 2%;
    top: 8%;
    border: 1px solid rgba(85, 230, 244, 0.2);
    border-radius: 50%;
    animation: puffOrbitSpin 32s linear infinite;
}

.puff-stage-orbit::before,
.puff-stage-orbit::after {
    content: "";
    position: absolute;
    border: 1px solid rgba(141, 114, 255, 0.18);
    border-radius: 50%;
}

.puff-stage-orbit::before {
    inset: 17%;
}

.puff-stage-orbit::after {
    inset: 36%;
    border-style: dashed;
}

.puff-app-seal {
    position: absolute;
    z-index: 12;
    top: 30px;
    right: 28px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 13px 8px 8px;
    border: 1px solid rgba(85, 230, 244, 0.25);
    border-radius: 15px;
    background: rgba(7, 10, 27, 0.86);
    color: var(--paper);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(14px);
    animation: puffSealFloat 7s ease-in-out infinite alternate;
}

.puff-app-seal img {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.puff-app-seal span {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.puff-app-seal strong,
.puff-app-seal small {
    font-family: var(--font-mono);
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.puff-app-seal strong {
    color: #55e6f4;
    font-size: 0.66rem;
}

.puff-app-seal small {
    color: rgba(241, 241, 233, 0.58);
    font-size: 0.46rem;
}

.puff-screen-rail {
    position: absolute;
    z-index: 2;
    inset: 82px -105px -38px 30px;
    perspective: 1500px;
    transform-style: preserve-3d;
    animation: puffRailDrift 18s cubic-bezier(0.45, 0, 0.55, 1) infinite alternate;
    will-change: transform;
}

.puff-screen {
    --frame-y: 0px;
    --frame-rotate: 0deg;
    --frame-scale: 1;
    position: absolute;
    bottom: 0;
    width: clamp(210px, 21vw, 258px);
    aspect-ratio: 644 / 1400;
    overflow: hidden;
    border: 1px solid rgba(141, 114, 255, 0.36);
    border-radius: 24px;
    background: #080b1b;
    box-shadow: 0 34px 70px rgba(0, 0, 0, 0.54), 0 0 0 7px rgba(141, 114, 255, 0.035);
    transform-origin: 50% 100%;
    animation: puffScreenFloat 7s ease-in-out infinite alternate;
    will-change: transform;
}

.puff-screen img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.puff-screen-dashboard {
    --frame-rotate: -1.5deg;
    left: 0;
    z-index: 7;
}

.puff-screen-photos {
    --frame-y: 58px;
    --frame-rotate: 2.2deg;
    --frame-scale: 0.88;
    left: 34%;
    z-index: 6;
    animation-delay: -1.2s;
}

.puff-screen-videos {
    --frame-y: 96px;
    --frame-rotate: 3.8deg;
    --frame-scale: 0.76;
    left: 59%;
    z-index: 5;
    animation-delay: -2.4s;
}

.puff-screen-screenshots {
    --frame-y: 126px;
    --frame-rotate: 5deg;
    --frame-scale: 0.67;
    left: 79%;
    z-index: 4;
    animation-delay: -3.6s;
}

.puff-screen-contacts {
    --frame-y: 150px;
    --frame-rotate: 6deg;
    --frame-scale: 0.59;
    left: 95%;
    z-index: 3;
    animation-delay: -4.8s;
}

.puff-screen-settings {
    --frame-y: 168px;
    --frame-rotate: 7deg;
    --frame-scale: 0.52;
    left: 108%;
    z-index: 2;
    opacity: 0.78;
    animation-delay: -6s;
}

.puffclean-visual:hover .puff-screen-rail,
.puffclean-visual:hover .puff-screen,
.puffclean-visual:hover .puff-app-seal,
.puffclean-visual:focus .puff-screen-rail,
.puffclean-visual:focus .puff-screen,
.puffclean-visual:focus .puff-app-seal {
    animation-play-state: paused;
}

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

.coming-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 28px;
    background: #171a15;
}

.coming-card-media {
    position: relative;
    aspect-ratio: 3 / 2;
    overflow: hidden;
}

.coming-card-media::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 28%;
    pointer-events: none;
    background: linear-gradient(to bottom, transparent, rgba(7, 10, 8, 0.18));
}

.coming-card-media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 700ms cubic-bezier(0.2, 0.75, 0.25, 1);
}

.coming-card:hover .coming-card-media img {
    transform: scale(1.025);
}

.coming-card-copy {
    min-height: 310px;
    padding: 30px 34px 36px;
}

.coming-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.coming-card .product-status.is-coming i {
    background: #ffb14f;
    box-shadow: 0 0 0 4px rgba(255, 177, 79, 0.13);
}

.coming-card .product-type {
    margin-top: 36px;
}

.coming-card h3 {
    margin-top: 10px;
    font-size: clamp(2.35rem, 4vw, 4rem);
    line-height: 0.98;
    letter-spacing: -0.065em;
}

.coming-card-lead {
    margin-top: 19px;
    font-size: 1.05rem;
    font-weight: 700;
}

.coming-card-description {
    max-width: 520px;
    margin-top: 12px;
    color: var(--muted);
    font-size: 0.83rem;
    line-height: 1.7;
}

.coming-card-tiftik {
    background: #142018;
}

.coming-card-tiftik .product-type {
    color: #c8ff45;
}

.coming-card-pigmento {
    background: #201729;
}

.coming-card-pigmento .product-type {
    color: #ff9aae;
}

.studio-section {
    padding: 140px 0;
    background: var(--lime);
    color: var(--ink);
}

.studio-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
}

.studio-section .section-index {
    margin-bottom: 35px;
    color: rgba(16, 18, 15, 0.62);
}

.studio-copy > p {
    max-width: 560px;
    font-size: 1.06rem;
    line-height: 1.8;
}

.capability-list {
    margin-top: 55px;
    border-top: 1px solid rgba(16, 18, 15, 0.24);
}

.capability-list > div {
    display: flex;
    align-items: center;
    gap: 25px;
    padding: 24px 0;
    border-bottom: 1px solid rgba(16, 18, 15, 0.24);
}

.capability-list span {
    font: 0.62rem var(--font-mono);
    opacity: 0.54;
}

.capability-list strong {
    font-size: 0.96rem;
}

.contact-section {
    padding: 120px 0;
}

.contact-card {
    position: relative;
    min-height: 520px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    padding: clamp(42px, 8vw, 100px);
    border: 1px solid var(--line);
    border-radius: 28px;
    background: #171a15;
}

.contact-card .section-index {
    margin-bottom: 32px;
}

.contact-card h2 {
    max-width: 800px;
}

.contact-card > p:not(.section-index) {
    margin-top: 25px;
    color: var(--muted);
}

.contact-email {
    position: relative;
    z-index: 3;
    margin-top: 30px;
}

.contact-email a {
    color: var(--lime) !important;
    font-size: clamp(1.3rem, 3vw, 2.5rem);
    font-weight: 700;
    letter-spacing: -0.04em;
    text-decoration-thickness: 1px !important;
    text-underline-offset: 8px;
}

.contact-orbit {
    position: absolute;
    right: -100px;
    top: 50%;
    width: 470px;
    height: 470px;
    border: 1px solid var(--line);
    border-radius: 50%;
    transform: translateY(-50%);
}

.contact-orbit::before,
.contact-orbit::after {
    content: "";
    position: absolute;
    border: 1px solid var(--line);
    border-radius: 50%;
}

.contact-orbit::before { inset: 19%; }
.contact-orbit::after { inset: 39%; background: var(--lime); }

.contact-orbit span {
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--pink);
}

.contact-orbit span:first-child { left: 9%; top: 23%; }
.contact-orbit span:nth-child(2) { right: 10%; bottom: 23%; background: var(--cyan); }

footer {
    padding: 45px 0;
    border-top: 1px solid var(--line);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr auto auto;
    align-items: center;
    gap: 45px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.footer-brand > span {
    font-weight: 800;
    letter-spacing: -0.05em;
}

.footer-brand small,
.footer-copy,
.footer-links a {
    color: var(--muted);
    font-size: 0.64rem;
}

.footer-links {
    display: flex;
    gap: 22px;
}

.footer-links a {
    text-underline-offset: 4px;
}

.footer-links a:hover {
    color: var(--lime);
}

@keyframes orbitSpin {
    to { transform: rotate(360deg); }
}

@keyframes softSpin {
    to { transform: rotate(360deg); }
}

@keyframes puffOrbitSpin {
    to { transform: rotate(360deg); }
}

@keyframes puffRailDrift {
    from { transform: translate3d(2%, 0, 0); }
    to { transform: translate3d(-5%, 0, 0); }
}

@keyframes puffRailDriftMobile {
    from { transform: translate3d(2%, 0, 0); }
    to { transform: translate3d(-8%, 0, 0); }
}

@keyframes puffScreenFloat {
    from {
        transform: translate3d(0, var(--frame-y), 0) rotate(var(--frame-rotate)) scale(var(--frame-scale));
    }
    to {
        transform: translate3d(0, calc(var(--frame-y) - 11px), 0) rotate(calc(var(--frame-rotate) + 0.45deg)) scale(var(--frame-scale));
    }
}

@keyframes puffSealFloat {
    from { transform: translate3d(0, 0, 0) rotate(0deg); }
    to { transform: translate3d(0, -7px, 0) rotate(0.8deg); }
}

.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 600ms ease, transform 600ms ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 980px) {
    .upcoming-products {
        grid-template-columns: 1fr;
    }

    .hero-layout {
        min-height: auto;
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .hero-copy {
        padding-top: 45px;
    }

    .hero-orbit {
        width: min(100%, 520px);
        justify-self: center;
    }

    .section-heading,
    .studio-layout {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .product-feature {
        grid-template-columns: 1fr;
    }

    .product-gridlord .product-visual {
        order: 2;
    }

    .product-copy {
        min-height: 580px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 25px;
    }
}

@media (max-width: 700px) {
    .container {
        width: min(100% - 30px, 1240px);
    }

    .header-content {
        height: 70px;
    }

    .desktop-nav {
        display: none;
    }

    .hero {
        min-height: auto;
        padding: 110px 0 30px;
        background-size: auto, 48px 48px, 48px 48px;
    }

    .hero h1 {
        font-size: clamp(3.35rem, 17vw, 5.3rem);
    }

    .hero-subtitle {
        line-height: 1.65;
    }

    .hero-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .button {
        width: 100%;
    }

    .hero-orbit {
        width: 120%;
        margin-left: -10%;
    }

    .orbit-product {
        min-width: 112px;
        padding: 9px;
    }

    .orbit-product strong {
        font-size: 0.64rem;
    }

    .orbit-product small {
        font-size: 0.48rem;
    }

    .orbit-gridlord { left: 12%; top: 18%; }
    .orbit-puffclean { right: 1%; }
    .orbit-tiftik { left: 12%; bottom: 10%; }
    .orbit-pigmento { right: 0; bottom: 5%; }
    .orbit-pianocat { left: 34%; top: 0; }

    .signal-row {
        grid-template-columns: 1fr 1fr;
    }

    .signal-row > div {
        min-height: 68px;
        padding: 14px;
        border-bottom: 1px solid var(--line);
    }

    .signal-row > div:nth-child(2) { border-right: 0; }
    .signal-row > div:nth-child(3),
    .signal-row > div:nth-child(4) { border-bottom: 0; }

    .products-section,
    .studio-section {
        padding: 90px 0;
    }

    .section-heading {
        margin-bottom: 50px;
    }

    .section-heading h2,
    .studio-statement h2,
    .contact-card h2 {
        font-size: clamp(2.7rem, 13vw, 4.3rem);
    }

    .product-feature {
        border-radius: 19px;
    }

    .product-copy {
        min-height: auto;
        padding: 38px 24px 44px;
    }

    .product-type {
        margin-top: 52px;
    }

    .product-copy h3 {
        font-size: clamp(3.1rem, 17vw, 4.5rem);
    }

    .product-visual,
    .gridlord-visual {
        min-height: 540px;
    }

    .gridlord-visual {
        padding: 32px 20px;
    }

    .game-board {
        width: min(100%, 370px);
    }

    .puffclean-visual {
        min-height: 540px;
    }

    .product-puffclean .store-pill-live {
        min-width: 178px;
        padding: 12px 14px;
    }

    .product-puffclean .store-pill-live .puff-store-label {
        font-size: 0.7rem;
    }

    .puff-stage-orbit {
        width: 470px;
        height: 470px;
        left: -58px;
        top: 7%;
    }

    .puff-app-seal {
        top: 18px;
        right: 15px;
        padding: 7px 10px 7px 7px;
        border-radius: 13px;
    }

    .puff-app-seal img {
        width: 40px;
        height: 40px;
        border-radius: 10px;
    }

    .puff-screen-rail {
        inset: 68px -190px -24px 14px;
        animation-name: puffRailDriftMobile;
    }

    .puff-screen {
        width: 210px;
        border-radius: 19px;
    }

    .upcoming-products {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .coming-card {
        border-radius: 19px;
    }

    .coming-card-copy {
        min-height: auto;
        padding: 26px 24px 31px;
    }

    .coming-card .product-type {
        margin-top: 30px;
    }

    .coming-card h3 {
        font-size: clamp(2.65rem, 14vw, 4rem);
    }

    .studio-layout {
        gap: 55px;
    }

    .contact-section {
        padding: 70px 0;
    }

    .contact-card {
        min-height: 470px;
        padding: 40px 25px;
        border-radius: 20px;
    }

    .contact-orbit {
        right: -280px;
        opacity: 0.52;
    }

    .footer-links {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }
}

@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;
    }
    .reveal { opacity: 1; transform: none; }
    .puff-screen-rail {
        animation: none;
        transform: translate3d(-5%, 0, 0);
    }
    .puff-screen {
        animation: none;
        transform: translate3d(0, var(--frame-y), 0) rotate(var(--frame-rotate)) scale(var(--frame-scale));
    }
    .puff-app-seal,
    .puff-stage-orbit {
        animation: none;
    }
}

/* Preserve the approved Pişti cover typography and cards without cropping. */
.coming-card-snapisti .coming-card-media {
    background: #201433;
    aspect-ratio: 1024 / 501;
}
.coming-card-snapisti .coming-card-media img {
    object-fit: contain;
}
.coming-card-snapisti .coming-card-media::after {
    display: none;
}

/* Preserve the approved cover title and cards at every viewport width. */
.coming-card-velmora .coming-card-media {
    background: #0b3425;
    aspect-ratio: 1024 / 500;
}
.coming-card-velmora .coming-card-media img { object-fit: contain; }
.coming-card-velmora .coming-card-media::after { display: none; }

.coming-card-velmora:hover .coming-card-media img { transform: none; }

.coming-card-snapisti:hover .coming-card-media img { transform: none; }
