@font-face {
    font-family: Kalameh;
    font-style: normal;
    font-weight: 100;
    font-display: swap;
    src: url("/WebFonts/fonts/woff2/KalamehWebFaNum-Thin.woff2") format("woff2");
}

@font-face {
    font-family: Kalameh;
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("/WebFonts/fonts/woff2/KalamehWebFaNum-Regular.woff2") format("woff2");
}

@font-face {
    font-family: Kalameh;
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("/WebFonts/fonts/woff2/KalamehWebFaNum-Bold.woff2") format("woff2");
}

@font-face {
    font-family: Kalameh;
    font-style: normal;
    font-weight: 900;
    font-display: swap;
    src: url("/WebFonts/fonts/woff2/KalamehWebFaNum-Black.woff2") format("woff2");
}

:root {
    --bg: #090908;
    --ink: #efece3;
    --muted: #9a958a;
    --line: rgba(239, 236, 227, 0.14);
    --lime: #e2ff4d;
    --lime-ink: #141407;
    --magenta: #ff4d6a;
    --danger: #ff4d6a;
    --ok: #d6f5a2;
    --nav: 0px;
    color-scheme: dark;
    accent-color: var(--lime);
}

* { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    background: var(--bg);
    overflow-x: hidden;
    max-width: 100%;
}

body {
    margin: 0;
    min-height: 100vh;
    max-width: 100%;
    background: var(--bg);
    color: var(--ink);
    font-family: Kalameh, "Segoe UI", Tahoma, sans-serif;
    font-weight: 400;
    line-height: 1.75;
    overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

button, input, textarea, select {
    font: inherit;
    color: inherit;
}

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

:focus-visible {
    outline: 2px solid var(--lime);
    outline-offset: 3px;
}

[hidden] { display: none !important; }

.grain {
    position: fixed;
    inset: 0;
    z-index: 30;
    pointer-events: none;
    opacity: 0.09;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='.85'/></svg>");
    background-size: 140px 140px;
    mix-blend-mode: overlay;
}

.skip {
    position: absolute;
    inset-inline-start: 12px;
    top: -48px;
    z-index: 80;
    background: var(--lime);
    color: var(--lime-ink);
    padding: 8px 12px;
}

.skip:focus { top: 12px; }

#loader {
    position: fixed;
    inset: 0;
    z-index: 90;
    display: grid;
    place-items: center;
    background: var(--bg);
    transition: transform 0.8s cubic-bezier(.77, 0, .18, 1);
}

.loader-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
}

.loader-dots i {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--lime);
    animation: product-dot 0.9s linear infinite;
}

.loader-dots i:nth-child(2) { animation-delay: -0.3s; }
.loader-dots i:nth-child(3) { animation-delay: -0.6s; }

#loader.is-done {
    transform: translateY(-105%);
    pointer-events: none;
}

.nav {
    position: sticky;
    top: 0;
    z-index: 40;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    height: var(--nav);
    padding: 0 28px;
    background: transparent;
    border-bottom: 1px solid transparent;
}

.nav.is-stuck {
    background: rgba(9, 9, 8, 0.84);
    border-bottom-color: var(--line);
    backdrop-filter: blur(16px);
}

.brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1;
}

.brand-mark {
    width: 42px;
    height: 42px;
    object-fit: contain;
}

.brand-name {
    font-size: 0.68rem;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-thickness: 1px;
}

.nav-links {
    display: flex;
    gap: 22px;
    color: var(--muted);
}

.nav-links a:hover,
.nav-links a.is-on { color: var(--ink); }

.nav-cta,
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 16px;
    border: 1px solid transparent;
    border-radius: 12px;
}

.nav-cta,
.btn-primary {
    background: var(--lime);
    color: var(--lime-ink);
    font-weight: 700;
}

.btn-ghost {
    border-color: var(--line);
    color: var(--ink);
    background: transparent;
}

.hero-actions .btn-ghost {
    background: #090908;
}

.btn-primary:hover { transform: translateY(-1px); }
.btn-ghost:hover { border-color: var(--lime); }

.rail {
    position: fixed;
    left: 18px;
    top: 50%;
    z-index: 30;
    display: none;
    gap: 12px;
    transform: translateY(-50%);
}

.rail a {
    width: 7px;
    height: 7px;
    border: 1px solid rgba(239, 236, 227, 0.4);
    background: transparent;
}

.rail a.is-on {
    background: var(--lime);
    border-color: var(--lime);
    box-shadow: 0 0 10px var(--lime);
}

main { position: relative; z-index: 1; }

.hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
    gap: 0;
    align-items: center;
    min-height: 100svh;
    overflow-x: clip;
    padding: 36px 7vw 36px 0;
    scroll-margin-top: var(--nav);
    background:
        linear-gradient(var(--line), var(--line)) left 22px top 18px / 16px 1px no-repeat,
        linear-gradient(var(--line), var(--line)) left 22px top 18px / 1px 16px no-repeat,
        linear-gradient(var(--line), var(--line)) right 22px top 18px / 16px 1px no-repeat,
        linear-gradient(var(--line), var(--line)) right 22px top 18px / 1px 16px no-repeat,
        linear-gradient(var(--line), var(--line)) left 22px bottom 18px / 16px 1px no-repeat,
        linear-gradient(var(--line), var(--line)) left 22px bottom 18px / 1px 16px no-repeat,
        linear-gradient(var(--line), var(--line)) right 22px bottom 18px / 16px 1px no-repeat,
        linear-gradient(var(--line), var(--line)) right 22px bottom 18px / 1px 16px no-repeat;
}

.hero-copy,
.stage { min-width: 0; }

.hero-copy { position: relative; z-index: 3; }

.stage { position: static; overflow: visible; }

.eyebrow {
    margin: 0 0 12px;
    color: var(--lime);
    letter-spacing: 0.16em;
    font-size: 0.78rem;
}

.eyebrow span { letter-spacing: 0.28em; }

h1 {
    position: relative;
    z-index: 1;
    margin: 0;
    font-weight: 900;
    font-size: clamp(2.7rem, 6.2vw, 6.3rem);
    line-height: 0.88;
    letter-spacing: -0.045em;
}

h1 span {
    position: relative;
    display: block;
    z-index: 1;
}

h1 span::before,
h1 span::after {
    content: attr(data-text);
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
}

h1 span::before {
    color: var(--magenta);
    transform: translate(6px, -3px);
}

h1 span::after {
    color: var(--lime);
    transform: translate(-5px, 3px);
    opacity: 0.72;
}

.role {
    position: relative;
    display: inline-block;
    margin: 18px 0 0;
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: 0.01em;
}

.role::after {
    content: "";
    position: absolute;
    inset-inline: -8px;
    bottom: 1px;
    height: 0.42em;
    z-index: -1;
    background: rgba(226, 255, 77, 0.28);
    transform: rotate(-2deg);
}

.lede {
    max-width: 38rem;
    color: var(--muted);
    font-size: 1.05rem;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }

.stage {
    height: 100svh;
    min-height: 640px;
    perspective: none;
    overflow: visible;
}

.globe {
    position: absolute;
    width: min(1680px, 130vh);
    height: min(1680px, 130vh);
    left: 0;
    top: 50%;
    transform: translate(-48%, -50%);
    pointer-events: none;
    z-index: 0;
    opacity: 1;
}

.depth {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.halftone {
    position: absolute;
    z-index: 2;
    width: 42%;
    height: 36%;
    top: 10%;
    left: 8%;
    pointer-events: none;
    background-image: radial-gradient(rgba(226, 255, 77, 0.75) 1px, transparent 1.2px);
    background-size: 8px 8px;
    mask-image: radial-gradient(circle at 40% 40%, #000 0%, transparent 72%);
    opacity: 0.55;
}

.stage-sway,
.stage-tilt {
    position: relative;
    z-index: 3;
    width: 100%;
    height: 100%;
    overflow: visible;
    transform-style: preserve-3d;
}

.stage-sway { animation: sway 9s ease-in-out infinite; }

.orbit,
.floor,
.mark,
.sticker,
.slash {
    position: absolute;
    left: 50%;
    top: 46%;
}

.orbit {
    border-radius: 50%;
    border: 1px solid transparent;
}

.orbit,
.floor {
    left: 50%;
    top: 50%;
}

.orbit-a {
    width: 2100px;
    height: 2100px;
    margin: -1050px 0 0 -1050px;
    border-top-color: rgba(226, 255, 77, 0.8);
    border-left-color: rgba(226, 255, 77, 0.28);
    animation: orbit-a 14s linear infinite;
}

.orbit-b {
    width: 1600px;
    height: 1600px;
    margin: -800px 0 0 -800px;
    border-top-color: rgba(255, 77, 106, 0.85);
    border-right-color: rgba(255, 77, 106, 0.28);
    animation: orbit-b 10s linear infinite;
}

.orbit-c {
    width: 1100px;
    height: 1100px;
    margin: -550px 0 0 -550px;
    border-bottom-color: rgba(239, 236, 227, 0.55);
    animation: orbit-c 7s linear infinite;
}

.floor {
    width: 200px;
    height: 42px;
    margin: 108px 0 0 -100px;
    background: radial-gradient(ellipse, rgba(226, 255, 77, 0.22), transparent 70%);
    transform: rotateX(75deg);
    filter: blur(2px);
}

.mark {
    width: auto;
    height: auto;
    margin: 0;
    transform: translate(-50%, -62%) translateZ(48px);
    pointer-events: none;
}

.mark span {
    display: block;
    font-weight: 900;
    font-size: clamp(3.2rem, 5.4vw, 4.6rem);
    line-height: 0.85;
    letter-spacing: -0.06em;
    color: var(--ink);
    text-shadow: 6px -4px 0 var(--magenta), -5px 4px 0 var(--lime);
    animation: floaty 5.5s ease-in-out infinite;
}

.sticker {
    width: 96px;
    height: 96px;
    margin: -214px 0 0 138px;
    display: grid;
    place-items: center;
    padding: 12px;
    border: 2px dashed var(--magenta);
    border-radius: 50%;
    color: var(--magenta);
    background: transparent;
    font-weight: 700;
    letter-spacing: 0.08em;
    font-size: 0.68rem;
    line-height: 1.35;
    text-align: center;
    transform: translateZ(90px) rotate(-16deg);
}

.sticker::before { content: none; }

.slash {
    width: 150px;
    height: 90px;
    margin: 28px 0 0 -160px;
    fill: none;
    stroke: rgba(226, 255, 77, 0.8);
    stroke-width: 3;
    stroke-linecap: square;
    transform: translateZ(24px) rotate(8deg);
}

.tape {
    overflow: hidden;
    border-block: 1px solid var(--line);
    background: rgba(226, 255, 77, 0.03);
    padding: 12px 0;
}

.tape-track {
    display: flex;
    align-items: center;
    gap: 22px;
    width: max-content;
    animation: marquee 28s linear infinite;
    font-weight: 700;
    letter-spacing: 0.16em;
    font-size: 0.78rem;
    color: var(--muted);
}

.tape i {
    width: 7px;
    height: 7px;
    background: var(--lime);
    display: inline-block;
    transform: rotate(45deg);
}

.tape:hover .tape-track { animation-play-state: paused; }

.section {
    width: min(1120px, calc(100% - 48px));
    margin: 0 auto;
    padding: 88px 0;
    scroll-margin-top: calc(var(--nav) + 12px);
}

.section-head h2,
.contact-copy h2 {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1.15;
    font-weight: 900;
    letter-spacing: -0.04em;
}

.section-lead {
    max-width: 38rem;
    margin: 14px 0 0;
    color: var(--muted);
    font-size: 1.02rem;
    line-height: 1.75;
}

.panel-lead {
    margin: 0 0 14px;
    color: var(--muted);
    font-size: 0.92rem;
    line-height: 1.7;
}

.work-list {
    list-style: none;
    margin: 36px 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-top: 1px solid var(--line);
}

.work-item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 18px;
    padding: 28px 22px;
    border-bottom: 1px solid var(--line);
    border-inline-start: 1px solid var(--line);
    min-height: 180px;
    transition: background 0.3s ease;
}

.work-item:hover { background: rgba(226, 255, 77, 0.04); }

.work-item span {
    font-weight: 700;
    color: var(--lime);
    letter-spacing: 0.08em;
}

.work-item h3 { margin: 0 0 6px; font-size: 1.3rem; }
.work-item p { margin: 0; color: var(--muted); }

.product-grid {
    list-style: none;
    margin: 28px 0 0;
    padding: 20px 0 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 34px 18px;
}

.product-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 0 0 14px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background:
        linear-gradient(180deg, rgba(226, 255, 77, 0.05), transparent 32%),
        rgba(12, 12, 10, 0.72);
    transition: border-color 0.35s ease, box-shadow 0.35s ease;
}

.product-card:hover,
.product-card:focus-within {
    border-color: rgba(226, 255, 77, 0.42);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.32);
}

.product-photo-link {
    display: block;
    min-width: 0;
    overflow: hidden;
    border-radius: 17px 17px 0 0;
}

.product-photo {
    width: 100%;
    aspect-ratio: 2 / 1;
    object-fit: cover;
    object-position: center;
    display: block;
    background: #141412;
    transform: scale(1.001);
    transition: transform 0.6s ease;
}

.product-card:hover .product-photo,
.product-card:focus-within .product-photo {
    transform: scale(1.045);
}

.product-badge {
    position: absolute;
    z-index: 3;
    top: 0;
    left: 0;
    width: 54px;
    height: auto;
    transform: translate(-50%, -50%);
    pointer-events: none;
    filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.45));
}

.product-body {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 0;
    padding: 14px 14px 0;
}

.product-card h3 {
    margin: 0;
    font-size: 1.12rem;
    line-height: 1.45;
}

.product-summary {
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
    right: 0;
    aspect-ratio: 2 / 1;
    display: flex;
    align-items: flex-end;
    padding: 14px 14px 10px;
    border-radius: 17px 17px 0 0;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(9, 9, 8, 0.2), rgba(9, 9, 8, 0.9) 46%, rgba(9, 9, 8, 0.96));
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}

.product-summary p {
    max-height: 100%;
    min-height: 0;
    margin: 0;
    overflow: hidden;
    color: var(--ink);
    font-size: 0.82rem;
    line-height: 1.55;
    pointer-events: none;
}

.product-card:hover .product-summary,
.product-card:focus-within .product-summary {
    opacity: 1;
}

.product-card:hover .product-summary p,
.product-card:focus-within .product-summary p {
    pointer-events: auto;
}

.product-offer {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.product-off,
.product-left {
    flex: none;
    font-weight: 800;
    font-size: 0.86rem;
    white-space: nowrap;
}

.product-off { color: var(--lime); }
.product-left { color: var(--ink); }

.product-split {
    flex: none;
    color: rgba(239, 236, 227, 0.72);
    font-weight: 700;
    line-height: 1;
}

.product-code {
    position: relative;
    flex: 1;
    min-width: 0;
    min-height: 38px;
    overflow: hidden;
    border: 1px solid rgba(239, 236, 227, 0.18);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(16px);
    user-select: none;
}

.product-code code {
    display: block;
    padding: 8px 12px;
    direction: ltr;
    color: rgba(239, 236, 227, 0.92);
    font-size: 0.95rem;
    letter-spacing: 0.14em;
    text-align: center;
    filter: blur(12px);
    user-select: none;
    pointer-events: none;
}

.product-code::after {
    content: "";
    position: absolute;
    z-index: 1;
    inset: 0;
    border-radius: inherit;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(8px);
    pointer-events: none;
}

.product-code button {
    position: absolute;
    z-index: 2;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 0 8px;
    border: 0;
    background: transparent;
    color: var(--lime);
    font-family: inherit;
    font-size: 0.92rem;
    font-weight: 800;
    white-space: nowrap;
    cursor: pointer;
}

.product-code button.is-wait { color: transparent; }

.product-dots {
    display: none;
    position: absolute;
    inset: 0;
    align-items: center;
    justify-content: center;
    gap: 7px;
    pointer-events: none;
}

.product-code button.is-wait .product-dots { display: flex; }

.product-dots i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--lime);
    animation: product-dot 0.9s linear infinite;
}

.product-dots i:nth-child(2) { animation-delay: -0.3s; }
.product-dots i:nth-child(3) { animation-delay: -0.6s; }

@keyframes product-dot {
    0% { background: var(--magenta); transform: scale(1.28); }
    34%, 100% { background: var(--lime); transform: scale(1); }
}

.product-done {
    margin: 0;
    color: var(--magenta);
    font-weight: 700;
}

.product-offer .product-done { flex: 1; min-width: 0; }

.product-go {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    border: 1px solid rgba(226, 255, 77, 0.55);
    border-radius: 12px;
    color: var(--lime);
    font-weight: 700;
    text-decoration: none;
    transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.product-go:hover {
    background: var(--lime);
    border-color: var(--lime);
    color: #141408;
}

@media (hover: none) {
    .product-summary {
        position: static;
        aspect-ratio: auto;
        opacity: 1;
        display: block;
        padding: 0;
        border-radius: 0;
        background: none;
        pointer-events: none;
    }

    .product-summary p {
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
        color: var(--muted);
    }

    .product-card:hover .product-photo,
    .product-card:focus-within .product-photo { transform: none; }
}

@media (min-width: 700px) {
    .product-grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 1100px) {
    .product-grid { grid-template-columns: 1fr 1fr 1fr; }
}

.skills {
    list-style: none;
    margin: 28px 0 0;
    padding: 0;
}

.skill {
    display: grid;
    gap: 8px;
    padding: 18px 0;
    border-top: 1px solid var(--line);
}

.skill p { margin: 0; color: var(--muted); }

.skill-meta {
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.skill-meta b { font-weight: 700; letter-spacing: 0.04em; }
.skill-meta small { color: var(--lime); }
.skill-meta small.is-mid { color: var(--muted); }

.meter { display: flex; gap: 6px; }

.meter i {
    flex: 1;
    height: 7px;
    background: #2a2a26;
}

.meter i.is-on { background: var(--lime); }

.aside-note {
    margin: 22px 0 0;
    color: var(--muted);
    max-width: 40rem;
}

.contact-section { padding-bottom: 96px; }

.contact-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 42px;
    align-items: start;
}

.steps {
    list-style: none;
    margin: 28px 0 0;
    padding: 0;
    display: grid;
    gap: 10px;
}

.steps li {
    display: flex;
    gap: 12px;
    align-items: center;
    color: var(--muted);
}

.steps b {
    color: var(--lime);
    font-weight: 700;
}

.hero .panel {
    position: absolute;
    z-index: 6;
    top: 50%;
    left: 32px;
    transform: translateY(-50%);
    width: min(460px, 42vw);
    max-height: calc(100svh - var(--nav) - 36px);
    margin: 0;
    overflow: auto;
    padding: 22px;
    background: rgba(16, 16, 14, 0.9);
}

.hero .field textarea { min-height: 112px; }

.panel {
    position: relative;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #10100e;
}

.panel::before,
.panel::after {
    content: "";
    position: absolute;
    width: 18px;
    height: 18px;
    pointer-events: none;
}

.panel::before {
    top: 8px;
    inset-inline-end: 8px;
    border-top: 1px solid var(--lime);
    border-inline-end: 1px solid var(--lime);
    border-start-end-radius: 10px;
}

.panel::after {
    bottom: 6px;
    inset-inline-start: 6px;
    width: 24px;
    height: 24px;
    border-bottom: 1px solid var(--magenta);
    border-inline-start: 1px solid var(--magenta);
    border-end-start-radius: 14px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 16px;
}

.span-2 { grid-column: 1 / -1; }

.field { display: grid; gap: 6px; }

.field span { color: var(--muted); font-size: 0.92rem; }

.field input,
.field textarea,
.field select {
    width: 100%;
    border: 0;
    border-bottom: 1px solid rgba(239, 236, 227, 0.22);
    background: transparent;
    border-radius: 0;
    padding: 12px 0;
    font-size: 16px;
    outline: none;
}

.field textarea { min-height: 140px; resize: vertical; line-height: 1.7; }

.field select {
    background: #10100e;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
    border-bottom-color: var(--lime);
}

.field-error {
    color: #ffb3c0;
    font-size: 0.82rem;
}

.field-error:empty { display: none; }

.hp {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
}

.voice {
    position: relative;
    margin-top: 8px;
    padding: 14px;
    overflow: hidden;
    border-radius: 14px;
    background: #070706;
    border: 1px solid var(--line);
    --level: 0.08;
}

.voice-invite {
    display: block;
    width: 100%;
    margin-top: 16px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--ink);
    text-align: start;
    cursor: pointer;
}

.voice-invite span {
    display: inline;
    background-image: linear-gradient(transparent 62%, rgba(226, 255, 77, 0.45) 0);
    font-weight: 700;
    line-height: 1.9;
}

.voice-invite:hover span {
    background-image: linear-gradient(transparent 62%, rgba(255, 77, 106, 0.4) 0);
}

.voice-note:empty { display: none; }

.rings {
    position: absolute;
    inset: 0;
    display: none;
    place-items: center;
    pointer-events: none;
}

.voice.is-live .rings { display: grid; }

.rings i {
    position: absolute;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    border: 1px solid rgba(226, 255, 77, 0.16);
}

.rings i:nth-child(2) { border-color: rgba(255, 77, 106, 0.18); }
.rings i:nth-child(1) { transform: scale(calc(0.55 + var(--level) * 1.1)); }
.rings i:nth-child(2) { transform: scale(calc(0.85 + var(--level) * 1.5)); }
.rings i:nth-child(3) { transform: scale(calc(1.15 + var(--level) * 1.9)); opacity: 0.55; }

.voice.is-live .rings i { transition: transform 0.08s linear; }

.voice-top,
.voice-meta {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
}

.voice-top strong { display: block; }
.voice-top p,
.voice-note,
.form-note { margin: 4px 0 0; color: var(--muted); font-size: 0.88rem; }

.rec {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 48px;
    padding: 0 16px;
    border-radius: 999px;
    border: 1px solid rgba(226, 255, 77, 0.45);
    background: rgba(226, 255, 77, 0.06);
    cursor: pointer;
}

.rec-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--lime);
    box-shadow: 0 0 10px var(--lime);
}

.voice.is-live .rec {
    border-color: var(--magenta);
    background: rgba(255, 77, 106, 0.1);
}

.voice.is-live .rec-dot {
    border-radius: 2px;
    background: var(--magenta);
    box-shadow: 0 0 12px var(--magenta);
    animation: pulse 1s ease-in-out infinite;
}

#wave {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 112px;
    margin-top: 8px;
    display: block;
    background:
        linear-gradient(var(--line), var(--line)) left 8px top 8px / 12px 1px no-repeat,
        linear-gradient(var(--line), var(--line)) left 8px top 8px / 1px 12px no-repeat,
        linear-gradient(var(--line), var(--line)) right 8px bottom 8px / 12px 1px no-repeat,
        linear-gradient(var(--line), var(--line)) right 8px bottom 8px / 1px 12px no-repeat;
}

.voice.is-processing #wave {
    background-image: linear-gradient(100deg, transparent 0%, rgba(226, 255, 77, 0.28) 45%, transparent 75%);
    background-size: 42% 100%;
    background-repeat: no-repeat;
    animation: scan 0.9s linear infinite;
}

.timer {
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.08em;
}

.voice-actions { display: flex; gap: 8px; }

.voice-actions button,
.result button {
    min-height: 40px;
    padding: 0 12px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: transparent;
    cursor: pointer;
}

.send {
    position: relative;
    overflow: hidden;
    width: 100%;
    margin-top: 16px;
    min-height: 52px;
    border: 0;
    border-radius: 12px;
    background: var(--lime);
    color: var(--lime-ink);
    font-weight: 900;
    cursor: pointer;
}

.send:disabled { cursor: progress; }

.send-bar {
    position: absolute;
    inset-block: 0;
    inset-inline-start: 0;
    width: 0;
    background: rgba(20, 20, 7, 0.18);
}

.send-label { position: relative; z-index: 1; }

.banner {
    margin: 0 0 14px;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 12px;
}

.banner.ok { color: var(--ok); }
.banner.bad { color: #ffd0d6; border-color: rgba(255, 77, 106, 0.45); }
.banner p { margin: 0; }

.result {
    margin-top: 16px;
    padding: 18px;
    border: 1px solid rgba(226, 255, 77, 0.35);
    border-radius: 14px;
}

.result strong { display: block; font-size: 1.3rem; }
.result p { color: var(--muted); }

.foot {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    width: min(1120px, calc(100% - 48px));
    margin: 0 auto;
    padding: 18px 0 36px;
    color: var(--muted);
    border-top: 1px solid var(--line);
    font-size: 0.82rem;
    letter-spacing: 0.06em;
}

.dock { display: none; }

.is-ready .hero-copy > * {
    animation: rise 0.9s cubic-bezier(.16, 1, .3, 1) both;
}

.is-ready .hero-copy > *:nth-child(2) { animation-delay: 0.08s; }
.is-ready .hero-copy > *:nth-child(3) { animation-delay: 0.16s; }
.is-ready .hero-copy > *:nth-child(4) { animation-delay: 0.24s; }
.is-ready .hero-copy > *:nth-child(5) { animation-delay: 0.32s; }

@keyframes rise {
    from { transform: translateY(16px); }
    to { transform: none; }
}

@keyframes yaw {
    to { transform: rotateY(360deg); }
}

@keyframes sway {
    0%, 100% { transform: rotateY(-8deg) rotateX(8deg); }
    50% { transform: rotateY(10deg) rotateX(-6deg); }
}

@keyframes floaty {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes marquee {
    to { transform: translateX(-50%); }
}

@keyframes pulse {
    50% { transform: scale(0.72); opacity: 0.65; }
}

@keyframes scan {
    from { background-position: 130% 0; }
    to { background-position: -40% 0; }
}

@keyframes orbit-a {
    from { transform: rotateX(72deg) rotateZ(0deg); }
    to { transform: rotateX(72deg) rotateZ(360deg); }
}

@keyframes orbit-b {
    from { transform: rotateY(76deg) rotateZ(0deg); }
    to { transform: rotateY(76deg) rotateZ(-360deg); }
}

@keyframes orbit-c {
    from { transform: rotateX(64deg) rotateY(30deg) rotateZ(0deg); }
    to { transform: rotateX(64deg) rotateY(30deg) rotateZ(360deg); }
}

@media (min-width: 800px) {
    .skill {
        grid-template-columns: minmax(168px, 240px) minmax(0, 1fr) 160px;
        align-items: center;
        gap: 18px;
    }
}

@media (min-width: 1200px) {
    .rail { display: grid; }
}

@media (max-width: 900px) {
    html { scroll-padding-bottom: 92px; }

    body {
        padding-bottom: calc(84px + env(safe-area-inset-bottom));
        -webkit-tap-highlight-color: transparent;
    }

    .hero,
    .contact-grid,
    .work-list { grid-template-columns: 1fr; }

    .nav-links { display: none; }
    .brand { letter-spacing: 0.04em; }

    .hero {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        min-height: auto;
        overflow: visible;
        align-content: start;
        padding: max(28px, env(safe-area-inset-top)) 18px 12px;
        background: none;
    }

    .stage { display: contents; }

    .globe {
        width: min(480px, 108vw);
        height: min(480px, 108vw);
        top: -300px;
        left: 50%;
        transform: translate(-50%, 0);
        opacity: 1;
    }

    .depth { opacity: 0.22; }
    .halftone { opacity: 0.1; }

    .hero-copy {
        position: relative;
        z-index: 2;
        display: flex;
        flex-direction: column;
    }

    .hero-copy::before {
        content: "";
        position: absolute;
        z-index: -1;
        inset: -12px -6px 0;
        background: linear-gradient(180deg, rgba(9, 9, 8, 0.42), rgba(9, 9, 8, 0.88) 22%, var(--bg));
        pointer-events: none;
    }

    .hero-copy .hero-actions { order: 3; }
    .hero-copy .lede:last-of-type { order: 4; margin-top: 12px; line-height: 1.75; }

    h1 {
        font-size: clamp(2.35rem, 11vw, 3.05rem);
        line-height: 0.94;
    }

    .role {
        align-self: flex-start;
        margin-top: 14px;
        font-size: 1.02rem;
    }

    .lede {
        margin: 12px 0 0;
        font-size: 0.98rem;
        line-height: 1.9;
    }

    .hero-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        margin-top: 18px;
    }

    .hero-actions .btn {
        min-height: 48px;
        border-radius: 12px;
        padding-inline: 12px;
    }

    .hero-actions .btn-primary { grid-column: 1 / -1; }

    .hero-actions .btn:last-child:nth-child(4) { grid-column: 1 / -1; }

    .hero .panel {
        position: relative;
        top: auto;
        right: auto;
        bottom: auto;
        left: auto;
        width: 100%;
        max-height: none;
        margin-top: 20px;
        transform: none;
        overflow: visible;
        padding: 16px 16px 16px;
        border-radius: 18px;
        background: rgba(16, 16, 14, 0.94);
        box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
    }

    .field input,
    .field textarea,
    .field select { min-height: 48px; }

    .panel-lead { margin-bottom: 8px; }

    .send,
    .rec,
    .voice-invite { border-radius: 12px; }

    .send { min-height: 54px; }
    .voice { border-radius: 14px; }
    .voice-invite { min-height: 44px; padding: 8px 0; }

    .nav-cta { padding-inline: 12px; }

    .section { padding: 52px 0 20px; }

    .section-head h2 {
        font-size: clamp(1.65rem, 7vw, 2.15rem);
        line-height: 1.3;
        text-wrap: balance;
    }

    .section-lead { font-size: 0.96rem; margin-top: 10px; }
    .section-lead + .section-lead { margin-top: 8px; }

    .work-list {
        gap: 12px;
        margin-top: 20px;
        border-top: 0;
    }

    .work-item {
        grid-template-columns: auto minmax(0, 1fr);
        gap: 12px;
        min-height: 0;
        padding: 16px;
        border: 1px solid var(--line);
        border-radius: 16px;
        background: rgba(16, 16, 14, 0.78);
    }

    .work-item span {
        display: grid;
        place-items: center;
        width: 36px;
        height: 36px;
        border-radius: 11px;
        border: 1px solid rgba(226, 255, 77, 0.3);
        background: rgba(226, 255, 77, 0.08);
        letter-spacing: 0;
        font-size: 0.78rem;
    }

    .work-item div { display: grid; gap: 8px; }
    .work-item h3 { margin: 0; font-size: 1.08rem; line-height: 1.45; }
    .work-item p { font-size: 0.95rem; line-height: 1.85; }

    .work-list + .section-lead {
        margin-top: 16px;
        padding: 14px 16px;
        border: 1px solid rgba(226, 255, 77, 0.24);
        border-radius: 14px;
        background: rgba(226, 255, 77, 0.05);
        color: var(--ink);
    }

    .skills { display: grid; gap: 10px; margin-top: 18px; }

    .skill {
        grid-template-columns: minmax(0, 1fr);
        gap: 10px;
        padding: 14px;
        border: 1px solid var(--line);
        border-radius: 14px;
        background: rgba(16, 16, 14, 0.62);
    }

    .skill-meta { align-items: center; flex-wrap: wrap; }
    .skill-meta small { font-size: 0.78rem; }
    .skill p { font-size: 0.94rem; line-height: 1.8; }

    .product-grid { gap: 18px; margin-top: 20px; }
    .product-photo { aspect-ratio: 16 / 10; }
    .product-badge {
        top: 12px;
        left: 12px;
        width: 44px;
        transform: none;
    }
    .product-body { padding: 14px 14px 2px; gap: 10px; }
    .product-go { min-height: 48px; border-radius: 12px; }

    .dock {
        position: fixed;
        z-index: 45;
        display: flex;
        justify-content: space-between;
        gap: 4px;
        left: 12px;
        right: 12px;
        bottom: max(10px, env(safe-area-inset-bottom));
        padding: 5px;
        border: 1px solid var(--line);
        border-radius: 18px;
        background: #121210;
        box-shadow: 0 14px 36px rgba(0, 0, 0, 0.42);
        backdrop-filter: blur(18px);
        transition: transform 0.28s ease;
    }

    body:has(#contact:focus-within) .dock {
        transform: translateY(calc(100% + 24px));
    }

    .dock a {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 44px;
        padding: 0 4px;
        border-radius: 13px;
        color: var(--muted);
        font-size: 0.82rem;
        font-weight: 700;
    }

    .dock a.is-on {
        background: var(--lime);
        color: var(--lime-ink);
    }

    .contact-section { padding-bottom: 28px; }
    .nav { padding-inline: 16px; }
    .section,
    .foot { width: min(1120px, calc(100% - 36px)); }

    .foot {
        flex-direction: column;
        align-items: center;
        gap: 4px;
        margin-top: 8px;
        padding: 16px 0 8px;
        letter-spacing: 0;
        text-align: center;
        font-size: 0.84rem;
    }

    .foot a { min-height: 40px; display: inline-flex; align-items: center; }
}

@media (max-width: 640px) {
    .form-grid { grid-template-columns: 1fr; }
    .span-2 { grid-column: auto; }
    .hero-copy,
    h1,
    .lede { max-width: 100%; }
    h1 {
        font-size: clamp(2.25rem, 10.4vw, 2.85rem);
        letter-spacing: -0.035em;
    }
    h1 span::before { transform: translate(3px, -2px); }
    h1 span::after { transform: translate(-3px, 2px); }
    .sticker { display: none; }
    .product-offer { flex-wrap: wrap; row-gap: 6px; }
    .product-code { flex: 1 1 100%; }
    .product-split { display: none; }
}

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

    .product-card:hover .product-photo,
    .product-card:focus-within .product-photo { transform: none; }

    .product-dots i:nth-child(2),
    .loader-dots i:nth-child(2) { background: var(--magenta); }
}

@media (scripting: none) {
    #loader { display: none; }
}
