/* ==========================================================================
   C&J Productions · ORBIT
   ========================================================================== */

/* ---------- Fonts (self-hosted, latin subset, variable) ---------- */
@font-face {
    font-family: "Hubot Sans";
    src: url("../fonts/hubot-sans.woff2") format("woff2");
    font-weight: 200 900;
    font-stretch: 75% 125%;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Geist";
    src: url("../fonts/geist.woff2") format("woff2");
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Geist Mono";
    src: url("../fonts/geist-mono.woff2") format("woff2");
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}
/* Metric-matched fallbacks so the swap doesn't shove the layout around */
@font-face {
    font-family: "Hubot Sans Fallback";
    src: local("Arial Bold"), local("Arial");
    size-adjust: 103.6%;
    ascent-override: 105.2%;
    descent-override: 30.9%;
    line-gap-override: 0%;
}
@font-face {
    font-family: "Geist Fallback";
    src: local("Arial");
    size-adjust: 102%;
    ascent-override: 92%;
    descent-override: 22%;
    line-gap-override: 0%;
}
@font-face {
    font-family: "Geist Mono Fallback";
    src: local("Courier New");
    size-adjust: 100%;
    ascent-override: 88%;
    descent-override: 22%;
}

/* ---------- Tokens ---------- */
:root {
    --void: #07060d;
    --surface: #0e0b1a;
    --surface-2: #151127;
    --line: rgba(236, 232, 245, 0.11);
    --line-strong: rgba(236, 232, 245, 0.22);
    --uv: #7b5cff;
    --uv-soft: #a28dff;
    --lime: #d4ff3a;
    --coral: #ff5d73;
    --bone: #ece8f5;
    --muted: #a49cc0;
    --dim: #6f6790;

    --f-display: "Hubot Sans", "Hubot Sans Fallback", Arial, sans-serif;
    --w-display: 700;
    --t-display: 0em;
    --f-body: "Geist", "Geist Fallback", system-ui, sans-serif;
    --f-mono: "Geist Mono", "Geist Mono Fallback", ui-monospace, monospace;

    --wrap: min(1320px, 100% - clamp(2.5rem, 6vw, 6rem));
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
    --header-h: 76px;
}

/* ---------- Base ---------- */
*,
*::before,
*::after {
    box-sizing: border-box;
}
html {
    -webkit-text-size-adjust: 100%;
    scroll-padding-top: calc(var(--header-h) + 1rem);
}
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}
body {
    margin: 0;
    background: var(--void);
    color: var(--bone);
    font-family: var(--f-body);
    font-size: 1.0625rem;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}
/* Film grain — inline SVG noise, no external request */
body::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 100;
    pointer-events: none;
    opacity: 0.07;
    mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img,
svg,
canvas {
    display: block;
    max-width: 100%;
}
a {
    color: inherit;
    text-decoration: none;
}
h1,
h2,
h3,
h4,
p,
ul,
ol {
    margin: 0;
}
ul,
ol {
    padding: 0;
    list-style: none;
}
::selection {
    background: var(--lime);
    color: var(--void);
}
:focus-visible {
    outline: 2px solid var(--lime);
    outline-offset: 4px;
    border-radius: 4px;
}
.sr-only {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
.skip-link {
    position: fixed;
    top: 0.75rem;
    left: 0.75rem;
    z-index: 200;
    padding: 0.7rem 1rem;
    background: var(--lime);
    color: var(--void);
    font-weight: 600;
    border-radius: 999px;
    transform: translateY(-200%);
    transition: transform 0.3s var(--ease-out);
}
.skip-link:focus {
    transform: none;
}
.wrap {
    width: var(--wrap);
    margin-inline: auto;
}

/* ---------- Type helpers ---------- */
.label {
    font-family: var(--f-mono);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
}
.h-display {
    font-family: var(--f-display);
    font-weight: var(--w-display);
    font-size: clamp(2.3rem, 5.6vw, 5.2rem);
    line-height: 0.98;
    letter-spacing: calc(-0.022em + var(--t-display));
}
.u-link {
    background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
    transition: background-size 0.45s var(--ease-out), color 0.2s;
    padding-bottom: 2px;
}
.u-link:hover {
    background-size: 100% 1px;
    color: var(--lime);
}

/* ---------- Header ---------- */
.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 50;
    height: var(--header-h);
    transition: transform 0.5s var(--ease-out), background-color 0.4s, border-color 0.4s;
    border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
    background: rgba(7, 6, 13, 0.78);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
    backdrop-filter: blur(14px) saturate(140%);
    border-bottom-color: var(--line);
}
.site-header.is-hidden {
    transform: translateY(-100%);
}
.header-inner {
    width: var(--wrap);
    margin-inline: auto;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}
.brand {
    position: relative;
    z-index: 60;
    display: inline-flex;
    color: var(--bone);
    border-radius: 6px;
}
.logo {
    height: 50px;
    width: auto;
    overflow: visible;
}
.logo .lg-orbit {
    transform-origin: 32px 32px;
    transform-box: view-box;
}
/* Logo load sequence */
/* The C and J are filled shapes revealed by masks; the mask strokes draw on */
.js .site-header .logo .lg-dc,
.js .site-header .logo .lg-dj {
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
    animation: draw 1.2s var(--ease-out) forwards;
}
.js .site-header .logo .lg-dj {
    animation-delay: 0.35s;
}
.js .site-header .logo .lg-orbit,
.js .site-header .logo .lg-word,
.js .site-header .logo .lg-sub {
    opacity: 0;
    animation: fade 0.9s var(--ease-out) forwards;
}
.js .site-header .logo .lg-orbit {
    animation-delay: 0.2s;
}
.js .site-header .logo .lg-word {
    animation-delay: 0.55s;
}
.js .site-header .logo .lg-sub {
    animation-delay: 0.75s;
}
@keyframes draw {
    to {
        stroke-dashoffset: 0;
    }
}
@keyframes fade {
    to {
        opacity: 1;
    }
}

.site-nav {
    display: flex;
    align-items: center;
    gap: clamp(1.5rem, 3vw, 2.75rem);
}
.site-nav ul {
    display: flex;
    gap: clamp(1.25rem, 2.5vw, 2.25rem);
}
.site-nav ul a {
    display: inline-flex;
    align-items: baseline;
    gap: 0.45rem;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--muted);
    transition: color 0.25s;
    position: relative;
    padding: 0.4rem 0;
}
.nav-idx {
    font-family: var(--f-mono);
    font-size: 0.66rem;
    color: var(--dim);
    transition: color 0.25s;
}
.site-nav ul a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: var(--lime);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.45s var(--ease-out);
}
.site-nav ul a:hover,
.site-nav ul a[aria-current="page"] {
    color: var(--bone);
}
.site-nav ul a:hover .nav-idx,
.site-nav ul a[aria-current="page"] .nav-idx {
    color: var(--lime);
}
.site-nav ul a:hover::after,
.site-nav ul a[aria-current="page"]::after {
    transform: scaleX(1);
    transform-origin: left;
}
.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.6rem 1.1rem;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}
.nav-cta .dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--lime);
    box-shadow: 0 0 0 0 rgba(212, 255, 58, 0.6);
    animation: ping 2.4s infinite;
}
.nav-cta:hover {
    background: var(--lime);
    border-color: var(--lime);
    color: var(--void);
}
.nav-cta:hover .dot {
    background: var(--void);
}
@keyframes ping {
    0% {
        box-shadow: 0 0 0 0 rgba(212, 255, 58, 0.55);
    }
    70%,
    100% {
        box-shadow: 0 0 0 9px rgba(212, 255, 58, 0);
    }
}

.nav-toggle {
    display: none;
    position: relative;
    z-index: 60;
    width: 48px;
    height: 48px;
    border: 1px solid var(--line-strong);
    border-radius: 50%;
    background: transparent;
    color: var(--bone);
    cursor: pointer;
}
.nav-toggle-bars {
    position: absolute;
    inset: 0;
    display: grid;
    place-content: center;
    gap: 6px;
}
.nav-toggle-bars span {
    display: block;
    width: 18px;
    height: 1.5px;
    background: currentColor;
    transition: transform 0.4s var(--ease-out);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:first-child {
    transform: translateY(3.75px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:last-child {
    transform: translateY(-3.75px) rotate(-45deg);
}

@media (max-width: 820px) {
    :root {
        --header-h: 68px;
    }
    .logo {
        height: 38px;
    }
    .nav-toggle {
        display: block;
    }
    .site-nav {
        position: fixed;
        inset: 0;
        z-index: 55;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        gap: 2.5rem;
        padding: 6rem clamp(1.25rem, 6vw, 3rem) 3rem;
        background: radial-gradient(120% 70% at 100% 0%, rgba(123, 92, 255, 0.25), transparent 60%), var(--void);
        clip-path: circle(0% at calc(100% - 2.6rem) 2.2rem);
        visibility: hidden;
        transition: clip-path 0.7s var(--ease-io), visibility 0s 0.7s;
    }
    .site-nav.is-open {
        clip-path: circle(150% at calc(100% - 2.6rem) 2.2rem);
        visibility: visible;
        transition: clip-path 0.7s var(--ease-io), visibility 0s;
    }
    .site-nav ul {
        flex-direction: column;
        gap: 0.4rem;
    }
    .site-nav ul a {
        font-family: var(--f-display);
        font-size: clamp(2.2rem, 11vw, 3.4rem);
        font-weight: var(--w-display);
        letter-spacing: calc(-0.018em + var(--t-display));
        color: var(--bone);
        gap: 0.9rem;
    }
    .site-nav ul a::after {
        display: none;
    }
    .site-nav ul a[aria-current="page"] .nav-label {
        color: var(--lime);
    }
    .nav-idx {
        font-size: 0.8rem;
    }
    .site-nav.is-open li {
        animation: menu-in 0.7s var(--ease-out) both;
    }
    .site-nav.is-open li:nth-child(2) {
        animation-delay: 0.08s;
    }
    .site-nav.is-open li:nth-child(3) {
        animation-delay: 0.16s;
    }
    .site-header.menu-open {
        background: transparent;
        border-color: transparent;
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
    }
}
@keyframes menu-in {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
}

/* ---------- Load + reveal animations ---------- */
.js [data-load] {
    opacity: 0;
    transform: translateY(18px);
    animation: load-in 1.1s var(--ease-out) forwards;
    animation-delay: calc(var(--d, 0) * 0.11s + 0.25s);
}
.js .hero-title [data-load] {
    display: inline-block;
    opacity: 1;
    transform: translateY(105%);
    animation: line-in 1.2s var(--ease-out) forwards;
    animation-delay: calc(var(--d, 0) * 0.12s + 0.2s);
}
@keyframes load-in {
    to {
        opacity: 1;
        transform: none;
    }
}
@keyframes line-in {
    to {
        transform: none;
    }
}
.js [data-reveal] {
    opacity: 0;
    transform: translateY(36px);
    transition: opacity 1s var(--ease-out), transform 1.1s var(--ease-out);
    transition-delay: var(--rd, 0s);
}
.js [data-reveal].is-in {
    opacity: 1;
    transform: none;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    min-height: 54px;
    padding: 0 1.6rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 1rem;
    border: 1px solid transparent;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s, border-color 0.3s, box-shadow 0.4s;
    will-change: transform;
}
.btn svg {
    width: 18px;
    height: 18px;
    transition: transform 0.4s var(--ease-out);
}
.btn:hover svg {
    transform: translateX(4px);
}
.btn-lime {
    background: var(--lime);
    color: var(--void);
}
.btn-lime:hover {
    box-shadow: 0 0 0 6px rgba(212, 255, 58, 0.14), 0 20px 50px -10px rgba(212, 255, 58, 0.35);
}
.btn-ghost {
    border-color: var(--line-strong);
    color: var(--bone);
}
.btn-ghost:hover {
    border-color: var(--bone);
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: calc(var(--header-h) + 3rem) 0 2rem;
    overflow: hidden;
    isolation: isolate;
}
.hero-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}
/* Dim the outer orbits where they pass behind the copy */
@media (min-width: 821px) {
    .hero-canvas {
        -webkit-mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.35) 15%, #000 58%);
        mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.35) 15%, #000 58%);
    }
}
.hero-glow {
    position: absolute;
    z-index: -2;
    width: 70vmax;
    height: 70vmax;
    right: -18vmax;
    top: -20vmax;
    background: radial-gradient(closest-side, rgba(123, 92, 255, 0.28), rgba(123, 92, 255, 0.06) 55%, transparent 72%);
    pointer-events: none;
}
.hero::after {
    /* fade into the page */
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 28%;
    z-index: -1;
    background: linear-gradient(to bottom, transparent, var(--void));
    pointer-events: none;
}
.hero-inner {
    position: relative;
}
.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: clamp(1.25rem, 3vw, 2.25rem);
    color: var(--bone);
}
.pulse {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--lime);
    animation: ping 2.4s infinite;
}
.hero-title {
    font-family: var(--f-display);
    font-weight: var(--w-display);
    font-size: clamp(3rem, 10vw, 10.25rem);
    line-height: 0.9;
    letter-spacing: calc(-0.022em + var(--t-display));
    text-transform: none;
}
.hero-title .line {
    display: block;
    overflow: hidden;
    padding-bottom: 0.06em;
    margin-bottom: -0.06em;
}
.hero-title .line:nth-child(2) {
    padding-left: clamp(0rem, 7vw, 8rem);
}
.cycler {
    position: relative;
    display: inline-grid;
    vertical-align: bottom;
    color: var(--lime);
}
.cycler-word {
    grid-area: 1 / 1;
    white-space: nowrap;
    transition: transform 0.9s var(--ease-out), opacity 0.6s var(--ease-out), filter 0.6s;
}
.js .cycler-word {
    transform: translateY(100%);
    opacity: 0;
    filter: blur(6px);
}
.js .cycler-word.is-on {
    transform: none;
    opacity: 1;
    filter: none;
}
.js .cycler-word.is-out {
    transform: translateY(-100%);
    opacity: 0;
    filter: blur(6px);
}
.cycler-word:not(:first-child) {
    pointer-events: none;
}
html:not(.js) .cycler-word:not(:first-child) {
    visibility: hidden;
}
.hero-foot {
    display: grid;
    grid-template-columns: minmax(0, 34rem) auto;
    justify-content: space-between;
    align-items: end;
    gap: 2rem 4rem;
    margin-top: clamp(2rem, 5vw, 3.5rem);
}
.hero-lede {
    color: var(--muted);
    font-size: clamp(1.05rem, 1.35vw, 1.2rem);
    line-height: 1.55;
    max-width: 34rem;
}
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}
.hero-meta {
    display: flex;
    gap: 2.5rem;
    margin-top: clamp(3rem, 7vh, 5rem);
    padding-top: 1.25rem;
    border-top: 1px solid var(--line);
    font-family: var(--f-mono);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--muted);
}
.hero-meta b {
    color: var(--lime);
    font-weight: 500;
    margin-right: 0.5rem;
}
.scroll-cue {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}
.scroll-cue i {
    position: relative;
    width: 1px;
    height: 28px;
    background: var(--line-strong);
    overflow: hidden;
}
.scroll-cue i::after {
    content: "";
    position: absolute;
    left: 0;
    top: -40%;
    width: 1px;
    height: 40%;
    background: var(--lime);
    animation: cue 1.8s var(--ease-io) infinite;
}
@keyframes cue {
    to {
        top: 100%;
    }
}
@media (max-width: 820px) {
    .hero-foot {
        grid-template-columns: 1fr;
    }
    .hero-meta span:not(.scroll-cue) {
        display: none;
    }
    .hero-title .line:nth-child(2) {
        padding-left: 0;
    }
}

/* ---------- Toolkit band ---------- */
.toolband {
    border-block: 1px solid var(--line);
    padding: 1.35rem 0;
}
.toolband-inner {
    display: flex;
    align-items: center;
    gap: clamp(1.25rem, 3vw, 2.5rem);
}
.toolband-label {
    flex: none;
    margin: 0;
    font-family: var(--f-mono);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--lime);
}
.marquee {
    flex: 1;
    min-width: 0;
    display: flex;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.marquee-track {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    white-space: nowrap;
    animation: marquee 90s linear infinite;
}
.toolband:hover .marquee-track {
    animation-play-state: paused;
}
@keyframes marquee {
    to {
        transform: translateX(-50%);
    }
}
.mq-item {
    font-family: var(--f-display);
    font-weight: 500;
    font-size: clamp(0.95rem, 1.3vw, 1.1rem);
    letter-spacing: calc(-0.005em + var(--t-display));
    color: var(--bone);
    padding: 0 1.1rem;
}
.mq-it {
    color: var(--muted);
}
.mq-sep {
    flex: none;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--uv-soft);
    opacity: 0.7;
}

/* ---------- Sections ---------- */
.section {
    position: relative;
    padding: clamp(5rem, 12vw, 10rem) 0;
}
.section-head {
    display: grid;
    gap: 1.25rem;
    margin-bottom: clamp(2.5rem, 6vw, 5rem);
}

/* ---------- Services list ---------- */
.svc-list {
    border-top: 1px solid var(--line);
}
.spot {
    --mx: 50%;
    --my: 50%;
    position: relative;
    isolation: isolate;
}
.spot::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    opacity: 0;
    background: radial-gradient(420px circle at var(--mx) var(--my), rgba(123, 92, 255, 0.22), transparent 65%);
    transition: opacity 0.5s;
    pointer-events: none;
}
.spot:hover::before {
    opacity: 1;
}
.svc {
    display: grid;
    grid-template-columns: 7rem minmax(0, 1.1fr) minmax(0, 1fr) 4rem;
    gap: 2rem;
    align-items: start;
    padding: clamp(2rem, 4vw, 3.25rem) clamp(0.5rem, 1.5vw, 1.5rem);
    border-bottom: 1px solid var(--line);
    transition: background-color 0.4s;
}
.svc::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    height: 1px;
    width: 100%;
    background: var(--lime);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.8s var(--ease-out);
}
.svc:hover::after,
.svc:focus-visible::after {
    transform: scaleX(1);
}
.svc-num {
    font-family: var(--f-body);
    font-size: clamp(2.5rem, 4vw, 3.6rem);
    font-weight: 300;
    line-height: 1;
    letter-spacing: -0.02em;
    color: var(--uv-soft);
    font-variant-numeric: tabular-nums;
    transition: color 0.4s;
}
.svc:hover .svc-num {
    color: var(--lime);
}
.svc-main {
    display: grid;
    gap: 0.6rem;
}
.svc-title {
    font-family: var(--f-display);
    font-weight: var(--w-display);
    font-size: clamp(1.7rem, 3vw, 2.6rem);
    letter-spacing: calc(-0.006em + var(--t-display));
    line-height: 1.05;
    transition: transform 0.6s var(--ease-out);
}
.svc:hover .svc-title {
    transform: translateX(0.5rem);
}
.svc-tag {
    font-family: var(--f-mono);
    font-size: 0.82rem;
    color: var(--lime);
    letter-spacing: 0.02em;
}
.svc-body {
    display: grid;
    gap: 1.1rem;
    color: var(--muted);
    padding-top: 0.35rem;
}
.chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}
.chip {
    font-family: var(--f-mono);
    font-size: 0.7rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.35rem 0.65rem;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    color: var(--bone);
}
.svc-arrow {
    justify-self: end;
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    border: 1px solid var(--line-strong);
    border-radius: 50%;
    transition: background-color 0.4s, border-color 0.4s, color 0.4s, transform 0.6s var(--ease-out);
}
.svc-arrow svg {
    width: 20px;
    height: 20px;
}
.svc:hover .svc-arrow {
    background: var(--lime);
    border-color: var(--lime);
    color: var(--void);
    transform: rotate(45deg);
}
@media (max-width: 960px) {
    .svc {
        grid-template-columns: 4.5rem minmax(0, 1fr) 3.5rem;
    }
    .svc-body {
        grid-column: 2 / 3;
    }
    .svc-arrow {
        grid-column: 3;
        grid-row: 1;
        width: 48px;
        height: 48px;
    }
}
@media (max-width: 560px) {
    .svc {
        grid-template-columns: 1fr auto;
        gap: 1.25rem;
    }
    .svc-num {
        grid-column: 1;
        font-size: 2.2rem;
    }
    .svc-main,
    .svc-body {
        grid-column: 1 / -1;
    }
    .svc-arrow {
        grid-column: 2;
    }
}

/* ---------- Process ---------- */
.process-track {
    position: relative;
}
.process-path {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 200px;
    overflow: visible;
}
.process-path path {
    fill: none;
}
.process-path .pp-ghost {
    vector-effect: non-scaling-stroke;
}
.pp-ghost {
    stroke: var(--line-strong);
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-dasharray: 0 8;
}
.pp-line {
    stroke: var(--lime);
    stroke-width: 1.8;
    stroke-dasharray: 1 1;
    stroke-dashoffset: var(--draw, 1);
    filter: drop-shadow(0 0 6px rgba(212, 255, 58, 0.45));
}
html:not(.js) .pp-line {
    stroke-dashoffset: 0;
}
.steps {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}
.step {
    position: relative;
    display: grid;
    gap: 0.7rem;
    align-content: start;
    padding: 240px 2rem 0 0;
}
.step::before {
    /* drop line from the node on the trajectory down to the copy */
    content: "";
    position: absolute;
    left: 0;
    top: calc(var(--ny) + 10px);
    height: calc(225px - var(--ny));
    border-left: 1px dashed var(--line-strong);
    transition: border-color 0.6s;
}
.step.is-lit::before {
    border-left-color: rgba(212, 255, 58, 0.45);
}
.step-node {
    position: absolute;
    top: calc(var(--ny) - 7px);
    left: -7px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 1px solid var(--muted);
    background: var(--void);
    transition: background-color 0.5s, border-color 0.5s, box-shadow 0.5s, transform 0.5s var(--ease-out);
}
.step.is-lit .step-node,
html:not(.js) .step-node {
    background: var(--lime);
    border-color: var(--lime);
    box-shadow: 0 0 0 6px rgba(212, 255, 58, 0.12), 0 0 24px rgba(212, 255, 58, 0.5);
    transform: scale(1.15);
}
.step-num {
    font-family: var(--f-mono);
    font-size: 0.75rem;
    color: var(--dim);
    letter-spacing: 0.14em;
    transition: color 0.5s;
}
.step.is-lit .step-num {
    color: var(--lime);
}
.step-title {
    font-family: var(--f-display);
    font-size: clamp(1.3rem, 2vw, 1.75rem);
    font-weight: var(--w-display);
    letter-spacing: calc(-0.006em + var(--t-display));
    line-height: 1.1;
    color: var(--dim);
    transition: color 0.6s;
}
.step.is-lit .step-title,
html:not(.js) .step-title {
    color: var(--bone);
}
.step p {
    color: var(--muted);
    font-size: 0.98rem;
}
@media (max-width: 900px) {
    .process-path {
        display: none;
    }
    .steps {
        grid-template-columns: 1fr;
        padding-left: 2.25rem;
        border-left: 1px dashed var(--line-strong);
        margin-left: 6px;
    }
    .step {
        padding: 0 0 2.75rem;
    }
    .step::before {
        display: none;
    }
    .step-node {
        left: calc(-2.25rem - 7.5px);
        top: 0.15rem;
    }
}

/* ---------- About / statement ---------- */
.about .label {
    margin-bottom: 2rem;
}
.statement {
    font-family: var(--f-display);
    font-weight: 600;
    font-size: clamp(1.7rem, 4.1vw, 3.9rem);
    line-height: 1.12;
    letter-spacing: calc(-0.022em + var(--t-display));
    max-width: 22ch;
    max-width: none;
}
.statement .w {
    transition: color 0.35s, opacity 0.35s;
}
.js .statement .w {
    color: rgba(236, 232, 245, 0.16);
}
.js .statement .w.is-lit {
    color: var(--bone);
}
.js .statement .w.is-accent.is-lit {
    color: var(--lime);
}
.principles {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    margin-top: clamp(3.5rem, 8vw, 6rem);
    background: var(--line);
    border: 1px solid var(--line);
    border-radius: 22px;
    overflow: hidden;
}
.principle {
    display: grid;
    gap: 0.7rem;
    align-content: start;
    padding: clamp(1.75rem, 3vw, 2.5rem);
    background: var(--void);
    transition: background-color 0.4s;
}
.principle:hover {
    background: var(--surface);
}
.p-idx {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    margin-bottom: 1.5rem;
    border-radius: 50%;
    border: 1px solid var(--uv);
    font-family: var(--f-mono);
    font-size: 0.8rem;
    color: var(--uv-soft);
    transition: background-color 0.4s, color 0.4s, border-color 0.4s;
}
.principle:hover .p-idx {
    background: var(--uv);
    color: var(--bone);
}
.principle h3 {
    font-family: var(--f-display);
    font-size: 1.35rem;
    font-weight: var(--w-display);
    letter-spacing: calc(-0.006em + var(--t-display));
}
.principle p {
    color: var(--muted);
}
@media (max-width: 820px) {
    .principles {
        grid-template-columns: 1fr;
    }
}

/* ---------- CTA ---------- */
.cta {
    position: relative;
    overflow: hidden;
    padding: clamp(6rem, 14vw, 11rem) 0;
    border-top: 1px solid var(--line);
    isolation: isolate;
}
.cta-scene {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}
.cta-inner {
    position: relative;
    display: grid;
    gap: 1.5rem;
    justify-items: start;
}
.cta-title {
    font-family: var(--f-display);
    font-weight: var(--w-display);
    font-size: clamp(2.6rem, 8vw, 8rem);
    line-height: 0.95;
    letter-spacing: calc(-0.022em + var(--t-display));
}
.cta-sub {
    color: var(--muted);
    font-size: 1.15rem;
    max-width: 32rem;
}
.orb-btn {
    position: relative;
    display: grid;
    place-items: center;
    width: clamp(150px, 16vw, 200px);
    aspect-ratio: 1;
    margin-top: 1.5rem;
    border-radius: 50%;
    background: var(--lime);
    color: var(--void);
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
    will-change: transform;
}
.js .orb-btn[data-reveal] {
    transition: opacity 1s var(--ease-out), transform 0.5s var(--ease-out);
}
.orb-btn::before {
    content: "";
    position: absolute;
    inset: -14px;
    border-radius: 50%;
    border: 1px dotted rgba(212, 255, 58, 0.6);
    animation: ring-rot 14s linear infinite;
}
@keyframes ring-rot {
    to {
        transform: rotate(360deg);
    }
}
.orb-btn-inner {
    display: grid;
    justify-items: center;
    gap: 0.6rem;
    transition: transform 0.4s var(--ease-out);
}
.orb-btn svg {
    width: 22px;
    height: 22px;
    transition: transform 0.5s var(--ease-out);
}
.orb-btn:hover svg {
    transform: rotate(45deg);
}
@media (min-width: 900px) {
    .cta-inner {
        grid-template-columns: 1fr auto;
        align-items: end;
    }
    .cta-inner .label,
    .cta-title,
    .cta-sub {
        grid-column: 1;
    }
    .orb-btn {
        grid-column: 2;
        grid-row: 1 / span 3;
        align-self: center;
        margin: 0 4vw 0 0;
    }
}

/* ---------- Footer ---------- */
.site-footer {
    position: relative;
    border-top: 1px solid var(--line);
    padding: clamp(3.5rem, 7vw, 5.5rem) 0 2rem;
    background: var(--surface);
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 3rem;
}
.logo-footer {
    height: 56px;
}
.footer-tag {
    margin-top: 1.5rem;
    color: var(--muted);
    max-width: 26rem;
}
.footer-nav ul {
    display: grid;
    gap: 0.5rem;
    margin-top: 1.1rem;
}
.footer-nav a {
    font-size: 1.05rem;
}
.footer-status .status {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    margin-top: 1.1rem;
    font-family: var(--f-mono);
    font-size: 0.85rem;
    color: var(--lime);
}
.footer-note {
    margin-top: 0.8rem;
    color: var(--muted);
    font-size: 0.92rem;
}
.footer-base {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-top: clamp(3rem, 6vw, 4.5rem);
    padding-top: 1.5rem;
    border-top: 1px solid var(--line);
    font-family: var(--f-mono);
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
}
@media (max-width: 820px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .footer-brand {
        grid-column: 1 / -1;
    }
}
@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Inner pages
   ========================================================================== */
.page-hero {
    position: relative;
    padding: calc(var(--header-h) + clamp(4rem, 10vw, 8rem)) 0 clamp(3rem, 7vw, 5rem);
    overflow: hidden;
    isolation: isolate;
}
.page-hero-orbit {
    position: absolute;
    z-index: -1;
    right: -10vw;
    top: 50%;
    width: min(72vw, 920px);
    height: auto;
    aspect-ratio: 1;
    transform: translateY(-50%);
    pointer-events: none;
}
@media (min-width: 821px) {
    .page-hero-orbit {
        -webkit-mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.25) 10%, #000 50%);
        mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.25) 10%, #000 50%);
    }
}
.page-title {
    font-family: var(--f-display);
    font-weight: var(--w-display);
    font-size: clamp(3rem, 11vw, 10rem);
    line-height: 0.9;
    letter-spacing: calc(-0.022em + var(--t-display));
}
.page-title .line {
    display: block;
    overflow: hidden;
    padding-bottom: 0.06em;
    margin-bottom: -0.06em;
}
.js .page-title [data-load] {
    display: inline-block;
    opacity: 1;
    transform: translateY(105%);
    animation: line-in 1.2s var(--ease-out) forwards;
    animation-delay: calc(var(--d, 0) * 0.12s + 0.2s);
}
.page-lede {
    margin-top: clamp(1.5rem, 3vw, 2.5rem);
    max-width: 38rem;
    font-size: clamp(1.05rem, 1.4vw, 1.25rem);
    color: var(--muted);
}

/* ---------- Services page ---------- */
.svc-layout {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: clamp(2rem, 6vw, 6rem);
    padding-bottom: clamp(4rem, 10vw, 8rem);
}
.svc-index {
    position: sticky;
    top: calc(var(--header-h) + 2rem);
    align-self: start;
}
.svc-index ol {
    display: grid;
    gap: 0.25rem;
    margin-top: 1rem;
    border-left: 1px solid var(--line);
}
.svc-index a {
    position: relative;
    display: flex;
    gap: 0.9rem;
    align-items: baseline;
    padding: 0.7rem 0 0.7rem 1.25rem;
    color: var(--dim);
    font-weight: 500;
    transition: color 0.3s;
}
.svc-index a span {
    font-family: var(--f-mono);
    font-size: 0.72rem;
}
.svc-index a::before {
    content: "";
    position: absolute;
    left: -5px;
    top: 50%;
    width: 9px;
    height: 9px;
    margin-top: -4.5px;
    border-radius: 50%;
    background: var(--void);
    border: 1px solid var(--dim);
    transition: background-color 0.4s, border-color 0.4s, box-shadow 0.4s;
}
.svc-index a:hover {
    color: var(--bone);
}
.svc-index a.is-active {
    color: var(--bone);
}
.svc-index a.is-active span {
    color: var(--lime);
}
.svc-index a.is-active::before {
    background: var(--lime);
    border-color: var(--lime);
    box-shadow: 0 0 14px rgba(212, 255, 58, 0.7);
}
.svc-progress {
    margin-top: 2rem;
    height: 2px;
    background: var(--line);
    border-radius: 2px;
    overflow: hidden;
}
.svc-progress i {
    display: block;
    height: 100%;
    width: 100%;
    background: var(--lime);
    transform-origin: left;
    transform: scaleX(var(--p, 0));
}
.svc-article {
    position: relative;
    padding: clamp(2.5rem, 5vw, 4rem) 0;
    border-top: 1px solid var(--line);
    scroll-margin-top: calc(var(--header-h) + 1.5rem);
}
.svc-article:first-child {
    border-top: 0;
    padding-top: 0;
}
.svc-article-head {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    justify-content: space-between;
}
.svc-article .big-num {
    font-family: var(--f-body);
    font-weight: 300;
    font-size: clamp(4rem, 9vw, 8rem);
    line-height: 0.8;
    letter-spacing: -0.018em;
    color: rgba(162, 141, 255, 0.4);
    font-variant-numeric: tabular-nums;
}
.svc-article h2 {
    font-family: var(--f-display);
    font-weight: var(--w-display);
    font-size: clamp(2rem, 4.4vw, 3.8rem);
    letter-spacing: calc(-0.016em + var(--t-display));
    line-height: 1;
    margin-top: 1.25rem;
}
.svc-article .svc-tag {
    display: block;
    margin-top: 1rem;
    font-size: 0.9rem;
}
.svc-article .svc-desc {
    margin-top: 1.5rem;
    max-width: 40rem;
    font-size: 1.15rem;
    color: var(--muted);
}
.checklist {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    margin-top: 2.25rem;
    border-top: 1px solid var(--line);
}
.checklist li {
    display: flex;
    gap: 0.9rem;
    align-items: flex-start;
    padding: 1.05rem 1rem 1.05rem 0;
    border-bottom: 1px solid var(--line);
}
.checklist li:nth-child(odd) {
    padding-right: 1.5rem;
}
.check {
    flex: none;
    width: 22px;
    height: 22px;
    margin-top: 0.1rem;
    border-radius: 50%;
    border: 1px solid rgba(212, 255, 58, 0.5);
    color: var(--lime);
    display: grid;
    place-items: center;
}
.check svg {
    width: 12px;
    height: 12px;
}
.check path {
    stroke-dasharray: 1;
    stroke-dashoffset: 0;
}
.js .checklist .check path {
    stroke-dashoffset: 1;
    transition: stroke-dashoffset 0.6s var(--ease-out);
}
.js .is-in .check path {
    stroke-dashoffset: 0;
}
.js .is-in li:nth-child(2) .check path { transition-delay: 0.08s; }
.js .is-in li:nth-child(3) .check path { transition-delay: 0.16s; }
.js .is-in li:nth-child(4) .check path { transition-delay: 0.24s; }
.js .is-in li:nth-child(5) .check path { transition-delay: 0.32s; }
.js .is-in li:nth-child(6) .check path { transition-delay: 0.4s; }
.svc-article .chips {
    margin-top: 1.75rem;
}
@media (max-width: 900px) {
    .svc-layout {
        grid-template-columns: minmax(0, 1fr);
    }
    .svc-layout > * {
        min-width: 0;
    }
    .svc-index {
        position: sticky;
        top: var(--header-h);
        z-index: 5;
        transition: top 0.5s var(--ease-out);
        margin-inline: calc(50% - 50vw);
        padding: 0.6rem calc(50vw - 50%);
        background: rgba(7, 6, 13, 0.85);
        -webkit-backdrop-filter: blur(12px);
        backdrop-filter: blur(12px);
        border-bottom: 1px solid var(--line);
    }
    .svc-index .label,
    .svc-progress {
        display: none;
    }
    .svc-index ol {
        display: flex;
        margin: 0;
        border: 0;
        gap: 0.5rem;
        overflow-x: auto;
        scrollbar-width: none;
    }
    .svc-index a {
        padding: 0.45rem 0.85rem;
        border: 1px solid var(--line);
        border-radius: 999px;
        white-space: nowrap;
        font-size: 0.9rem;
    }
    .svc-index a::before {
        display: none;
    }
    .svc-index a.is-active {
        border-color: var(--lime);
    }
    .svc-article:first-child {
        padding-top: 2.5rem;
    }
}
@media (max-width: 900px) {
    body:has(.site-header.is-hidden) .svc-index {
        top: 0;
    }
}
@media (max-width: 600px) {
    .checklist {
        grid-template-columns: 1fr;
    }
}

/* ---------- Contact page ---------- */
.contact-hero {
    padding-bottom: clamp(5rem, 10vw, 8rem);
}
.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(3rem, 7vw, 7rem);
    align-items: start;
}
.contact-intro .page-title {
    font-size: clamp(3.2rem, 9vw, 8.5rem);
}
.contact-notes {
    display: grid;
    gap: 0;
    margin-top: clamp(2.5rem, 5vw, 4rem);
    border-top: 1px solid var(--line);
    max-width: 30rem;
}
.contact-notes li {
    display: grid;
    grid-template-columns: 2.5rem 1fr;
    gap: 1rem;
    padding: 1.1rem 0;
    border-bottom: 1px solid var(--line);
    color: var(--muted);
}
.contact-notes b {
    font-family: var(--f-mono);
    font-weight: 500;
    font-size: 0.75rem;
    color: var(--lime);
    padding-top: 0.25rem;
}
.contact-notes strong {
    display: block;
    color: var(--bone);
    font-weight: 600;
}
.form-card {
    position: relative;
    padding: clamp(1.75rem, 4vw, 3rem);
    border: 1px solid var(--line);
    border-radius: 28px;
    /* Translucent so the uplink scene behind it glows through */
    background: linear-gradient(160deg, rgba(123, 92, 255, 0.1), rgba(14, 11, 26, 0.66) 50%);
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
    overflow: hidden;
    min-height: 420px;
}
.contact-hero .page-hero-orbit {
    right: -14vw;
    top: 46%;
    width: min(78vw, 1000px);
    -webkit-mask-image: none;
    mask-image: none;
}
/* Narrow screens: tuck the page scenes into the top-right corner, behind the header area */
@media (max-width: 820px) {
    .page-hero-orbit,
    .contact-hero .page-hero-orbit {
        top: calc(var(--header-h) - 14vw);
        right: -34vw;
        width: 92vw;
        transform: none;
        opacity: 0.75;
    }
}
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.6rem 1.5rem;
}
.field {
    position: relative;
    display: grid;
    align-content: start;
}
.field-full {
    grid-column: 1 / -1;
}
.field label,
.field legend {
    font-family: var(--f-mono);
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 0.55rem;
    padding: 0;
}
.req {
    color: var(--lime);
}
.opt {
    color: var(--dim);
    text-transform: none;
    letter-spacing: 0.02em;
}
.field input,
.field textarea {
    width: 100%;
    font: inherit;
    font-size: 1.05rem;
    color: var(--bone);
    background: transparent;
    border: 0;
    border-bottom: 1px solid var(--line-strong);
    border-radius: 0;
    padding: 0.55rem 0 0.75rem;
    transition: border-color 0.3s;
    caret-color: var(--lime);
}
.field textarea {
    display: block;
    resize: vertical;
    min-height: 140px;
}
.field input::placeholder,
.field textarea::placeholder {
    color: var(--dim);
}
.field input:focus,
.field textarea:focus {
    outline: none;
    border-bottom-color: transparent;
}
/* Focus underline sits in flow, directly on top of the field's bottom border */
.field .bar {
    position: relative;
    display: block;
    margin-top: -2px;
    height: 2px;
    background: var(--lime);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s var(--ease-out);
    pointer-events: none;
}
.field input:focus ~ .bar,
.field textarea:focus ~ .bar {
    transform: scaleX(1);
}

.field.is-invalid input,
.field.is-invalid textarea {
    border-bottom-color: var(--coral);
}
.field-msg {
    margin-top: 0.45rem;
    font-size: 0.82rem;
    line-height: 1.35;
    color: var(--coral);
}
fieldset.field {
    border: 0;
    margin: 0;
    padding: 0;
    min-width: 0;
}
.pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.pill {
    position: relative;
}
.field .pill {
    margin: 0;
    font-family: var(--f-body);
    font-size: inherit;
    letter-spacing: normal;
    text-transform: none;
}
.pill input {
    position: absolute;
    opacity: 0;
    inset: 0;
    margin: 0;
    cursor: pointer;
}
.pill span {
    display: inline-block;
    padding: 0.55rem 1rem;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    font-size: 0.92rem;
    color: var(--muted);
    transition: background-color 0.25s, color 0.25s, border-color 0.25s;
}
.pill input:hover + span {
    border-color: var(--bone);
    color: var(--bone);
}
.pill input:checked + span {
    background: var(--lime);
    border-color: var(--lime);
    color: var(--void);
    font-weight: 600;
}
.pill input:focus-visible + span {
    outline: 2px solid var(--lime);
    outline-offset: 3px;
}
.hp {
    position: absolute !important;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}
.form-foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 2.25rem;
}
.form-foot p {
    font-size: 0.85rem;
    color: var(--muted);
}
.form-foot p a {
    color: var(--bone);
}
.btn[disabled] {
    opacity: 0.7;
    cursor: progress;
}
.btn .spinner {
    display: none;
    width: 18px;
    height: 18px;
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: ring-rot 0.7s linear infinite;
}
.is-sending .btn .spinner {
    display: block;
}
.is-sending .btn svg {
    display: none;
}
.form-error {
    display: none;
    margin-top: 1.25rem;
    padding: 0.9rem 1.1rem;
    border: 1px solid rgba(255, 93, 115, 0.5);
    border-radius: 14px;
    background: rgba(255, 93, 115, 0.08);
    color: #ffc2cb;
    font-size: 0.95rem;
}
.form-error.is-shown {
    display: block;
    animation: shake 0.5s var(--ease-out);
}
.form-error a {
    color: var(--bone);
    text-decoration: underline;
}
@keyframes shake {
    20% { transform: translateX(-6px); }
    40% { transform: translateX(5px); }
    60% { transform: translateX(-3px); }
    80% { transform: translateX(2px); }
}
.form-success {
    display: none;
    text-align: center;
    padding: 2rem 0;
}
.form-card.is-sent {
    display: grid;
    place-items: center;
}
.form-card.is-sent form {
    display: none;
}
.form-card.is-sent .form-success {
    display: grid;
    justify-items: center;
    gap: 1rem;
    animation: load-in 0.9s var(--ease-out) both;
}
.success-orbit {
    width: 170px;
    height: 170px;
    margin-bottom: 1rem;
    overflow: visible;
}
.success-orbit .so-ring {
    fill: none;
    stroke: var(--bone);
    stroke-width: 3;
    stroke-linecap: round;
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
}
.success-orbit .so-check {
    fill: none;
    stroke: var(--lime);
    stroke-width: 4;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
}
.success-orbit .so-path {
    fill: none;
    stroke: rgba(123, 92, 255, 0.7);
    stroke-width: 1.5;
    stroke-dasharray: 0 6;
    stroke-linecap: round;
}
.success-orbit .so-sat {
    fill: var(--lime);
    offset-path: path("M140 85 A55 18 0 1 1 30 85 A55 18 0 1 1 140 85");
    offset-rotate: 0deg;
}
.is-sent .success-orbit .so-ring {
    animation: draw 1s var(--ease-out) 0.15s forwards;
}
.is-sent .success-orbit .so-check {
    animation: draw 0.7s var(--ease-out) 0.8s forwards;
}
.is-sent .success-orbit .so-sat {
    animation: sat-orbit 4s linear infinite;
}
@keyframes sat-orbit {
    from {
        offset-distance: 0%;
    }
    to {
        offset-distance: 100%;
    }
}
.form-success h2 {
    font-family: var(--f-display);
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    letter-spacing: calc(-0.006em + var(--t-display));
    line-height: 1.05;
}
.form-success p {
    color: var(--muted);
    max-width: 24rem;
}
@media (max-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 560px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
    .form-foot .btn {
        width: 100%;
        justify-content: center;
    }
}

/* ---------- Prose (privacy) ---------- */
.prose-layout {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: clamp(2rem, 6vw, 6rem);
    padding-bottom: clamp(5rem, 10vw, 8rem);
}
.prose-aside {
    position: sticky;
    top: calc(var(--header-h) + 2rem);
    align-self: start;
    font-family: var(--f-mono);
    font-size: 0.78rem;
    letter-spacing: 0.06em;
    color: var(--muted);
}
.prose-aside p + p {
    margin-top: 0.4rem;
}
.prose-aside b {
    color: var(--lime);
    font-weight: 500;
}
.prose {
    max-width: 44rem;
}
.prose section {
    display: grid;
    grid-template-columns: 3rem 1fr;
    gap: 0 1.5rem;
    padding: 2.25rem 0;
    border-top: 1px solid var(--line);
}
.prose section > span {
    font-family: var(--f-mono);
    font-size: 0.75rem;
    color: var(--lime);
    padding-top: 0.45rem;
}
.prose h2 {
    font-family: var(--f-display);
    font-size: clamp(1.25rem, 2vw, 1.6rem);
    font-weight: var(--w-display);
    letter-spacing: calc(-0.006em + var(--t-display));
    margin-bottom: 0.9rem;
}
.prose p,
.prose li {
    color: #cfc9e0;
}
.prose p + p,
.prose p + ul,
.prose ul + p {
    margin-top: 0.9rem;
}
.prose ul {
    display: grid;
    gap: 0.5rem;
}
.prose li {
    position: relative;
    padding-left: 1.4rem;
}
.prose li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.68em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    border: 1px solid var(--uv-soft);
}
.prose a {
    color: var(--bone);
    text-decoration: underline;
    text-decoration-color: var(--lime);
    text-underline-offset: 3px;
}
.prose a:hover {
    color: var(--lime);
}
.prose strong {
    color: var(--bone);
    font-weight: 600;
}
@media (max-width: 820px) {
    .prose-layout {
        grid-template-columns: 1fr;
    }
    .prose-aside {
        position: static;
    }
    .prose section {
        grid-template-columns: 1fr;
    }
    .prose section > span {
        padding: 0 0 0.5rem;
    }
}

/* ---------- 404 ---------- */
.lost {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    display: grid;
    align-items: center;
    padding: calc(var(--header-h) + 2rem) 0 4rem;
    overflow: hidden;
    isolation: isolate;
}
.lost-scene {
    position: absolute;
    inset: 0;
    z-index: -1;
    width: 100%;
    height: 100%;
    pointer-events: none;
}
@media (min-width: 821px) {
    .lost-scene {
        -webkit-mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.3) 12%, #000 50%);
        mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.3) 12%, #000 50%);
    }
}
.lost-label {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 1.5rem;
}
.pulse-coral {
    background: var(--coral);
    animation-name: ping-coral;
}
@keyframes ping-coral {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 93, 115, 0.55);
    }
    70%,
    100% {
        box-shadow: 0 0 0 9px rgba(255, 93, 115, 0);
    }
}
.lost-code {
    font-family: var(--f-body);
    font-weight: 700;
    font-size: clamp(6rem, 19vw, 16rem);
    line-height: 0.8;
    letter-spacing: -0.026em;
    color: transparent;
    background: linear-gradient(180deg, rgba(162, 141, 255, 0.55), rgba(123, 92, 255, 0.04));
    -webkit-background-clip: text;
    background-clip: text;
}
.lost-title {
    font-family: var(--f-display);
    font-weight: var(--w-display);
    font-size: clamp(2.2rem, 5vw, 4rem);
    letter-spacing: calc(-0.02em + var(--t-display));
    line-height: 1;
    margin-top: 1.5rem;
}
.lost p {
    margin-top: 1rem;
    color: var(--muted);
    max-width: 30rem;
    font-size: 1.1rem;
}
.lost .hero-actions {
    margin-top: 2.25rem;
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        animation-delay: 0s !important;
        transition-duration: 0.001ms !important;
        transition-delay: 0s !important;
    }
    .js [data-reveal],
    .js [data-load],
    .js .hero-title [data-load],
    .js .page-title [data-load] {
        opacity: 1 !important;
        transform: none !important;
    }
    .marquee-track {
        animation: none !important;
    }
    .js .statement .w {
        color: var(--bone);
    }
    .pp-line {
        stroke-dashoffset: 0;
    }
    .step .step-node {
        background: var(--lime);
        border-color: var(--lime);
    }
    .step .step-title {
        color: var(--bone);
    }
}
