:root {
    --bg: #080b12;
    --bg-soft: #0d111b;
    --surface: rgba(18, 24, 36, 0.72);
    --surface-strong: #121824;
    --surface-light: #182130;
    --text: #f5f7f2;
    --muted: #a2aab8;
    --muted-strong: #c7ccd4;
    --line: rgba(255, 255, 255, 0.1);
    --line-bright: rgba(255, 255, 255, 0.18);
    --acid: #c8ff3d;
    --acid-soft: rgba(200, 255, 61, 0.12);
    --cyan: #70f6ff;
    --violet: #9d8cff;
    --orange: #ff9b70;
    --shadow: 0 32px 100px rgba(0, 0, 0, 0.46);
    --radius-sm: 14px;
    --radius: 24px;
    --radius-lg: 36px;
    --max-width: 1200px;
    --header-height: 80px;
    --pointer-x: 50vw;
    --pointer-y: 20vh;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-height) + 24px);
    background: var(--bg);
}

body {
    margin: 0;
    min-width: 320px;
    color: var(--text);
    background:
        radial-gradient(circle at 15% -10%, rgba(112, 246, 255, 0.1), transparent 30%),
        radial-gradient(circle at 90% 15%, rgba(157, 140, 255, 0.12), transparent 28%),
        var(--bg);
    font-family: "Manrope", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -3;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: linear-gradient(to bottom, black, transparent 78%);
}

::selection {
    color: #0a0d12;
    background: var(--acid);
}

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

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

button,
select {
    cursor: pointer;
}

img {
    max-width: 100%;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1,
h2,
h3 {
    text-wrap: balance;
}

p {
    text-wrap: pretty;
}

em {
    color: var(--acid);
    font-style: normal;
}

:focus-visible {
    outline: 2px solid var(--acid);
    outline-offset: 4px;
}

.container {
    width: min(calc(100% - 40px), var(--max-width));
    margin-inline: auto;
}

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

.skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 1000;
    transform: translateY(-160%);
    padding: 10px 14px;
    color: #080b12;
    background: var(--acid);
    border-radius: 10px;
    font-weight: 800;
    transition: transform 0.2s ease;
}

.skip-link:focus {
    transform: translateY(0);
}

.pointer-glow {
    position: fixed;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    background: radial-gradient(520px circle at var(--pointer-x) var(--pointer-y), rgba(112, 246, 255, 0.06), transparent 68%);
}

.page-noise {
    position: fixed;
    inset: 0;
    z-index: 100;
    pointer-events: none;
    opacity: 0.035;
    background-image: repeating-radial-gradient(circle at 0 0, transparent 0, #fff 1px, transparent 2px, transparent 7px);
    background-size: 11px 13px;
    mix-blend-mode: soft-light;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 90;
    border-bottom: 1px solid transparent;
    background: rgba(8, 11, 18, 0.68);
    backdrop-filter: blur(20px) saturate(150%);
    transition: border-color 0.25s ease, background-color 0.25s ease;
}

.site-header.is-scrolled {
    border-color: var(--line);
    background: rgba(8, 11, 18, 0.9);
}

.nav-shell {
    min-height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    flex: 0 0 auto;
}

.brand-mark {
    position: relative;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    overflow: hidden;
    color: #080b12;
    background: var(--acid);
    border-radius: 12px;
    box-shadow: 0 0 36px rgba(200, 255, 61, 0.2);
    font-family: "Space Mono", monospace;
    font-size: 13px;
    font-weight: 700;
}

.brand-mark span:first-child {
    transform: translate(-4px, -3px);
}

.brand-mark span:last-child {
    position: absolute;
    transform: translate(5px, 5px);
    opacity: 0.68;
}

.brand-copy {
    display: grid;
    line-height: 1.2;
}

.brand-copy strong {
    font-size: 14px;
    letter-spacing: 0.02em;
}

.brand-copy small {
    margin-top: 4px;
    color: var(--muted);
    font-family: "Space Mono", monospace;
    font-size: 9px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.main-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    margin-left: auto;
}

.main-nav a {
    position: relative;
    color: var(--muted-strong);
    font-size: 13px;
    font-weight: 700;
    transition: color 0.2s ease;
}

.main-nav a::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -8px;
    left: 0;
    height: 1px;
    background: var(--acid);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.25s ease;
}

.main-nav a:hover {
    color: var(--text);
}

.main-nav a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.language-control {
    position: relative;
}

.language-control details {
    position: relative;
}

.language-control summary {
    min-width: 64px;
    height: 42px;
    display: flex;
    align-items: center;
    padding: 0 28px 0 12px;
    color: var(--text);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--line);
    border-radius: 12px;
    font-family: "Space Mono", monospace;
    font-size: 11px;
    font-weight: 700;
    list-style: none;
    cursor: pointer;
}

.language-control summary::-webkit-details-marker {
    display: none;
}

.language-control summary::after {
    content: "⌄";
    position: absolute;
    right: 11px;
    color: var(--muted);
    transition: transform 0.2s ease;
}

.language-control details[open] summary::after {
    transform: rotate(180deg);
}

.language-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    z-index: 120;
    min-width: 72px;
    display: grid;
    padding: 6px;
    background: rgba(13, 17, 27, 0.98);
    border: 1px solid var(--line-bright);
    border-radius: 12px;
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.38);
}

.language-menu a {
    padding: 8px 10px;
    color: var(--muted-strong);
    border-radius: 8px;
    font-family: "Space Mono", monospace;
    font-size: 11px;
    font-weight: 700;
}

.language-menu a:hover,
.language-menu a[aria-current="page"] {
    color: var(--text);
    background: var(--acid-soft);
}

.language-menu a[aria-current="page"] {
    color: var(--acid);
}

.button {
    display: inline-flex;
    min-height: 54px;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 0 22px;
    color: #080b12;
    background: var(--acid);
    border: 1px solid var(--acid);
    border-radius: 14px;
    box-shadow: 0 14px 36px rgba(200, 255, 61, 0.12);
    font-size: 14px;
    font-weight: 800;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.button:hover {
    background: #d7ff71;
    box-shadow: 0 18px 46px rgba(200, 255, 61, 0.22);
    transform: translateY(-2px);
}

.button-small {
    min-height: 42px;
    padding-inline: 16px;
    border-radius: 12px;
    font-size: 12px;
}

.scroll-progress {
    position: absolute;
    right: 0;
    bottom: -1px;
    left: 0;
    height: 1px;
}

.scroll-progress span {
    display: block;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, var(--cyan), var(--acid));
}

.hero {
    position: relative;
    min-height: min(850px, calc(100vh - var(--header-height)));
    display: flex;
    align-items: center;
    padding: 78px 0 82px;
    overflow: hidden;
}

.hero::after {
    content: "";
    position: absolute;
    right: -5%;
    bottom: 0;
    left: -5%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--line-bright), transparent);
}

.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(2px);
    pointer-events: none;
}

.hero-orb-one {
    top: 8%;
    right: 11%;
    width: 420px;
    height: 420px;
    border: 1px solid rgba(112, 246, 255, 0.09);
    box-shadow: inset 0 0 120px rgba(112, 246, 255, 0.035), 0 0 140px rgba(112, 246, 255, 0.025);
    animation: orbit-drift 10s ease-in-out infinite alternate;
}

.hero-orb-two {
    right: 0;
    bottom: 2%;
    width: 230px;
    height: 230px;
    background: rgba(157, 140, 255, 0.055);
    filter: blur(80px);
}

.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(460px, 0.95fr);
    align-items: center;
    gap: clamp(48px, 7vw, 96px);
}

.hero-copy {
    max-width: 680px;
}

.eyebrow,
.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 24px;
    color: var(--muted-strong);
    font-family: "Space Mono", monospace;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.status-dot {
    width: 7px;
    height: 7px;
    flex: 0 0 auto;
    background: var(--acid);
    border-radius: 50%;
    box-shadow: 0 0 0 5px rgba(200, 255, 61, 0.09), 0 0 18px rgba(200, 255, 61, 0.5);
    animation: status-pulse 2s ease-in-out infinite;
}

.hero h1 {
    max-width: 820px;
    margin-bottom: 26px;
    font-size: clamp(54px, 6vw, 88px);
    font-weight: 800;
    letter-spacing: -0.065em;
    line-height: 0.96;
}

.hero h1 em {
    position: relative;
    display: inline-block;
    text-shadow: 0 0 45px rgba(200, 255, 61, 0.12);
}

.hero h1 em::after {
    content: "";
    position: absolute;
    right: -2%;
    bottom: 2px;
    left: 0;
    height: 5px;
    background: var(--acid);
    border-radius: 99px;
    transform: rotate(-1.5deg) scaleX(0.98);
    opacity: 0.5;
}

.hero-lead {
    max-width: 62ch;
    margin-bottom: 30px;
    color: var(--muted-strong);
    font-size: clamp(17px, 1.5vw, 20px);
    line-height: 1.65;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 48px;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    color: var(--text);
    border-bottom: 1px solid var(--line-bright);
    font-size: 14px;
    font-weight: 700;
    transition: color 0.2s ease, border-color 0.2s ease;
}

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

.hero-trust {
    display: grid;
    gap: 12px;
}

.hero-trust > span {
    color: var(--muted);
    font-family: "Space Mono", monospace;
    font-size: 9px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.client-wordmarks {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 22px;
    color: #d8dce1;
}

.client-wordmarks strong {
    font-size: 14px;
    letter-spacing: -0.02em;
    opacity: 0.78;
}

.hero-visual {
    position: relative;
    min-height: 660px;
    display: grid;
    place-items: center;
    perspective: 1400px;
}

.system-card {
    position: relative;
    width: min(100%, 520px);
    min-height: 550px;
    overflow: hidden;
    background:
        linear-gradient(140deg, rgba(255, 255, 255, 0.07), transparent 26%),
        rgba(14, 20, 31, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 32px;
    box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transform-style: preserve-3d;
    transition: transform 0.16s ease-out, border-color 0.3s ease;
}

.system-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg, transparent 25%, rgba(112, 246, 255, 0.05) 48%, transparent 70%);
    transform: translateX(-100%);
    animation: system-scan 7s ease-in-out infinite;
    pointer-events: none;
}

.system-card:hover {
    border-color: rgba(112, 246, 255, 0.3);
}

.system-topbar,
.system-footer {
    position: relative;
    z-index: 4;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 22px;
    color: var(--muted);
    border-bottom: 1px solid var(--line);
    font-family: "Space Mono", monospace;
    font-size: 8px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.system-topbar > div {
    display: flex;
    align-items: center;
    gap: 8px;
}

.system-live {
    width: 6px;
    height: 6px;
    display: inline-block;
    background: var(--cyan);
    border-radius: 50%;
    box-shadow: 0 0 12px var(--cyan);
}

.system-stage {
    position: relative;
    min-height: 440px;
    overflow: hidden;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.024) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.024) 1px, transparent 1px);
    background-size: 28px 28px;
}

.orbit {
    position: absolute;
    top: 50%;
    left: 50%;
    border: 1px solid rgba(112, 246, 255, 0.14);
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.orbit::before,
.orbit::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 6px;
    height: 6px;
    margin: -3px 0 0 -3px;
    background: var(--cyan);
    border-radius: 50%;
    box-shadow: 0 0 14px rgba(112, 246, 255, 0.9);
}

.orbit-one {
    --orbit-radius: 129.5px;
    width: 260px;
    height: 260px;
    animation: rotate-orbit 18s linear infinite;
}

.orbit-one::before {
    transform: rotate(-90deg) translateX(var(--orbit-radius));
}

.orbit-one::after {
    display: none;
}

.orbit-two {
    --orbit-radius: 194.5px;
    width: 390px;
    height: 390px;
    border-style: dashed;
    border-color: rgba(157, 140, 255, 0.11);
    animation: rotate-orbit-reverse 28s linear infinite;
}

.orbit-two::before {
    transform: rotate(-34deg) translateX(var(--orbit-radius));
    background: var(--violet);
    box-shadow: 0 0 14px rgba(157, 140, 255, 0.9);
}

.orbit-two::after {
    display: none;
}

.system-core {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 156px;
    height: 156px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-align: center;
    background: radial-gradient(circle at 30% 20%, rgba(200, 255, 61, 0.18), rgba(15, 21, 31, 0.96) 58%);
    border: 1px solid rgba(200, 255, 61, 0.28);
    border-radius: 50%;
    box-shadow: 0 0 70px rgba(200, 255, 61, 0.1), inset 0 0 34px rgba(200, 255, 61, 0.05);
    transform: translate(-50%, -50%);
    z-index: 2;
}

.core-orbit {
    position: absolute;
    inset: 8px;
    border: 1px solid transparent;
    border-radius: 50%;
    animation:
        rotate-core-orbit 16s linear infinite,
        comet-fade 16s ease-in-out infinite;
}

.core-orbit::after {
    content: "";
    position: absolute;
    inset: -2px;
    background: conic-gradient(
        from 0deg,
        transparent 0deg 52deg,
        rgba(200, 255, 61, 0) 52deg,
        rgba(200, 255, 61, 0.58) 84deg,
        rgba(200, 255, 61, 0.92) 90deg,
        transparent 90deg 360deg
    );
    border-radius: 50%;
    filter: blur(0.35px);
    mask: radial-gradient(
        farthest-side,
        transparent calc(100% - 4px),
        #000 calc(100% - 3px),
        #000 calc(100% - 1px),
        transparent 100%
    );
    -webkit-mask: radial-gradient(
        farthest-side,
        transparent calc(100% - 4px),
        #000 calc(100% - 3px),
        #000 calc(100% - 1px),
        transparent 100%
    );
}

.core-orbit-dot {
    position: absolute;
    z-index: 1;
    top: 50%;
    left: calc(100% + 0.5px);
    width: 5px;
    height: 5px;
    background: var(--acid);
    border-radius: 50%;
    box-shadow: 0 0 12px rgba(200, 255, 61, 0.95);
    transform: translate(-50%, -50%);
}

.core-kicker {
    color: var(--acid);
    font-family: "Space Mono", monospace;
    font-size: 8px;
    letter-spacing: 0.16em;
}

.system-core strong {
    max-width: 110px;
    font-size: 15px;
    line-height: 1.25;
}

.core-pulse {
    position: absolute;
    inset: -1px;
    border: 1px solid rgba(200, 255, 61, 0.4);
    border-radius: 50%;
    animation: core-pulse 2.8s ease-out infinite;
}

.system-node {
    position: absolute;
    z-index: 3;
    min-width: 132px;
    display: grid;
    gap: 2px;
    padding: 11px 13px;
    background: rgba(13, 18, 28, 0.92);
    border: 1px solid var(--line);
    border-radius: 13px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
    animation: node-float 5s ease-in-out infinite alternate;
}

.system-node::after {
    content: "";
    position: absolute;
    width: 34px;
    height: 1px;
    background: linear-gradient(90deg, var(--line-bright), transparent);
}

.system-node small {
    color: var(--cyan);
    font-family: "Space Mono", monospace;
    font-size: 7px;
}

.system-node strong {
    font-size: 11px;
}

.system-node span {
    color: var(--muted);
    font-family: "Space Mono", monospace;
    font-size: 7px;
}

.node-native {
    top: 44px;
    left: 30px;
}

.node-native::after {
    top: 50%;
    right: -35px;
}

.node-platform {
    top: 76px;
    right: 22px;
    animation-delay: -1.2s;
}

.node-platform::after {
    top: 50%;
    left: -35px;
    transform: rotate(180deg);
}

.node-backend {
    right: 32px;
    bottom: 52px;
    animation-delay: -2.4s;
}

.node-backend::after {
    top: 50%;
    left: -35px;
    transform: rotate(180deg);
}

.node-release {
    bottom: 36px;
    left: 20px;
    animation-delay: -3.6s;
}

.node-release::after {
    top: 50%;
    right: -35px;
}

.system-footer {
    border-top: 1px solid var(--line);
    border-bottom: 0;
}

.system-signal {
    height: 18px;
    display: flex;
    align-items: end;
    gap: 3px;
}

.system-signal i {
    width: 2px;
    height: 35%;
    display: block;
    background: var(--acid);
    animation: signal 1s ease-in-out infinite alternate;
}

.system-signal i:nth-child(2) { height: 70%; animation-delay: -0.2s; }
.system-signal i:nth-child(3) { height: 100%; animation-delay: -0.4s; }
.system-signal i:nth-child(4) { height: 55%; animation-delay: -0.6s; }
.system-signal i:nth-child(5) { height: 80%; animation-delay: -0.8s; }

.floating-chip {
    position: absolute;
    z-index: 5;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 10px 13px;
    color: var(--muted-strong);
    background: rgba(17, 23, 34, 0.92);
    border: 1px solid var(--line-bright);
    border-radius: 999px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.38);
    font-family: "Space Mono", monospace;
    font-size: 8px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    backdrop-filter: blur(14px);
}

.floating-chip > span:first-child {
    color: var(--acid);
    font-size: 13px;
}

.chip-ai {
    top: 5%;
    right: -1%;
    animation: chip-drift 5.5s ease-in-out infinite alternate;
}

.chip-builder {
    bottom: 0;
    left: 0;
    animation: chip-drift 6s ease-in-out -2s infinite alternate-reverse;
}

.impact-band {
    position: relative;
    border-bottom: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.018);
}

.impact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.impact-item {
    min-height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    padding: 34px 30px;
    border-left: 1px solid var(--line);
}

.impact-item:last-child {
    border-right: 1px solid var(--line);
}

.impact-item strong {
    color: var(--acid);
    font-family: "Space Mono", monospace;
    font-size: clamp(28px, 3vw, 42px);
    line-height: 1;
    letter-spacing: -0.05em;
}

.impact-item span {
    max-width: 22ch;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.5;
}

.section {
    position: relative;
    padding: clamp(100px, 12vw, 168px) 0;
}

.section-heading {
    max-width: 820px;
    margin-bottom: clamp(46px, 7vw, 80px);
}

.section-heading .section-kicker,
.approach-copy .section-kicker,
.contact-copy .section-kicker {
    color: var(--acid);
}

.section-heading h2,
.approach-copy h2,
.contact-copy h2 {
    margin-bottom: 24px;
    font-size: clamp(40px, 5vw, 70px);
    font-weight: 800;
    letter-spacing: -0.055em;
    line-height: 1.02;
}

.section-heading > p:last-child,
.approach-copy > p,
.contact-copy > p {
    max-width: 65ch;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.75;
}

.expertise {
    overflow: hidden;
}

.expertise::before {
    content: "";
    position: absolute;
    top: 8%;
    right: -220px;
    width: 500px;
    height: 500px;
    background: rgba(200, 255, 61, 0.05);
    border-radius: 50%;
    filter: blur(110px);
    pointer-events: none;
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.expertise-card {
    position: relative;
    min-height: 430px;
    display: flex;
    flex-direction: column;
    padding: 32px;
    overflow: hidden;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018));
    border: 1px solid var(--line);
    border-radius: var(--radius);
    transition: transform 0.18s ease-out, border-color 0.3s ease, background-color 0.3s ease;
    transform-style: preserve-3d;
}

.expertise-card::after {
    content: "";
    position: absolute;
    top: -100px;
    right: -100px;
    width: 220px;
    height: 220px;
    background: var(--acid-soft);
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.expertise-card:hover {
    border-color: rgba(200, 255, 61, 0.28);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.07), rgba(200, 255, 61, 0.02));
}

.expertise-card:hover::after {
    opacity: 1;
}

.card-index {
    color: var(--muted);
    font-family: "Space Mono", monospace;
    font-size: 9px;
}

.card-symbol {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    margin: 48px 0 34px;
    color: var(--acid);
    background: var(--acid-soft);
    border: 1px solid rgba(200, 255, 61, 0.18);
    border-radius: 18px;
    font-family: "Space Mono", monospace;
    font-size: 24px;
}

.expertise-card h3 {
    max-width: 13ch;
    margin-bottom: 16px;
    font-size: 24px;
    letter-spacing: -0.035em;
    line-height: 1.2;
}

.expertise-card p {
    margin-bottom: 30px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.7;
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin: auto 0 0;
    padding: 0;
    list-style: none;
}

.tag-list li {
    padding: 7px 10px;
    color: var(--muted-strong);
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid var(--line);
    border-radius: 999px;
    font-family: "Space Mono", monospace;
    font-size: 8px;
}

.fit {
    padding-top: clamp(76px, 9vw, 120px);
    border-top: 1px solid var(--line);
}

.fit-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow: hidden;
    background: rgba(255, 255, 255, 0.018);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.fit-card {
    min-height: 220px;
    padding: 34px;
}

.fit-card:nth-child(odd) {
    border-right: 1px solid var(--line);
}

.fit-card:nth-child(-n+2) {
    border-bottom: 1px solid var(--line);
}

.fit-card > span {
    display: block;
    margin-bottom: 42px;
    color: var(--acid);
    font-family: "Space Mono", monospace;
    font-size: 9px;
}

.fit-card h3 {
    margin-bottom: 12px;
    font-size: 22px;
    letter-spacing: -0.035em;
    line-height: 1.25;
}

.fit-card p {
    max-width: 48ch;
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.7;
}

.work {
    border-block: 1px solid var(--line);
    background: var(--bg-soft);
}

.section-heading-split {
    max-width: none;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    align-items: end;
    gap: 80px;
}

.section-heading-split h2 {
    margin-bottom: 0;
}

.section-heading-split > p {
    margin-bottom: 5px;
}

.case-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.case-card {
    position: relative;
    min-height: 560px;
    display: flex;
    flex-direction: column;
    padding: 32px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    transform-style: preserve-3d;
    transition: transform 0.18s ease-out, border-color 0.3s ease;
}

.case-card::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(circle at 100% 0, rgba(112, 246, 255, 0.08), transparent 38%);
}

.case-card:hover {
    border-color: rgba(112, 246, 255, 0.24);
}

.case-featured {
    background:
        linear-gradient(145deg, rgba(112, 246, 255, 0.08), transparent 40%),
        rgba(255, 255, 255, 0.025);
}

.case-founder {
    background:
        linear-gradient(145deg, rgba(200, 255, 61, 0.075), transparent 42%),
        rgba(255, 255, 255, 0.025);
}

.case-topline {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--line);
    font-family: "Space Mono", monospace;
    text-transform: uppercase;
}

.case-topline span:first-child {
    color: var(--text);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.case-topline span:last-child {
    color: var(--muted);
    font-size: 8px;
    letter-spacing: 0.08em;
    text-align: right;
}

.case-body {
    position: relative;
    z-index: 1;
    padding: 48px 0 42px;
}

.case-label {
    margin-bottom: 18px;
    color: var(--cyan);
    font-family: "Space Mono", monospace;
    font-size: 9px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.case-card h3 {
    max-width: 24ch;
    margin-bottom: 20px;
    font-size: clamp(26px, 3vw, 38px);
    letter-spacing: -0.045em;
    line-height: 1.14;
}

.case-body > p:last-child {
    max-width: 60ch;
    margin-bottom: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.75;
}

.case-results {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    margin-top: auto;
    border: 1px solid var(--line);
    border-radius: 16px;
    overflow: hidden;
}

.case-results > div {
    min-height: 108px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 7px;
    padding: 18px;
    background: rgba(0, 0, 0, 0.12);
}

.case-results > div + div {
    border-left: 1px solid var(--line);
}

.case-results strong {
    color: var(--acid);
    font-family: "Space Mono", monospace;
    font-size: 24px;
    letter-spacing: -0.05em;
}

.case-results span {
    color: var(--muted);
    font-size: 10px;
}

.single-result {
    grid-template-columns: 1fr;
}

.case-results-three {
    grid-template-columns: repeat(3, 1fr);
}

.case-results-three strong {
    font-size: 20px;
}

.case-link-row {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: auto;
    padding-top: 24px;
    border-top: 1px solid var(--line);
}

.case-link-row a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--acid);
    font-size: 13px;
    font-weight: 800;
}

.case-link-row > span {
    color: var(--muted);
    font-family: "Space Mono", monospace;
    font-size: 8px;
    text-align: right;
}

.case-study-link {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    align-self: flex-start;
    margin-top: 22px;
    color: var(--acid);
    font-size: 13px;
    font-weight: 800;
}

.case-study-link:hover {
    color: #d7ff71;
}

.journal {
    overflow: hidden;
    border-bottom: 1px solid var(--line);
}

.journal::before {
    content: "";
    position: absolute;
    top: 12%;
    right: -180px;
    width: 480px;
    height: 480px;
    background: rgba(200, 255, 61, 0.055);
    border-radius: 50%;
    filter: blur(110px);
    pointer-events: none;
}

.journal-issue {
    position: relative;
    min-height: 530px;
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
    overflow: hidden;
    background:
        linear-gradient(140deg, rgba(200, 255, 61, 0.07), transparent 40%),
        rgba(255, 255, 255, 0.025);
    border: 1px solid var(--line-bright);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.journal-copy {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: clamp(32px, 5vw, 68px);
}

.journal-meta {
    width: 100%;
    display: flex;
    justify-content: space-between;
    gap: 24px;
    padding-bottom: 22px;
    border-bottom: 1px solid var(--line);
    color: var(--muted);
    font-family: "Space Mono", monospace;
    font-size: 9px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.journal-series {
    margin: clamp(50px, 7vw, 88px) 0 18px;
    color: var(--acid);
    font-family: "Space Mono", monospace;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.journal-copy h3 {
    max-width: 16ch;
    margin-bottom: 22px;
    font-size: clamp(36px, 5vw, 66px);
    line-height: 1;
    letter-spacing: -0.055em;
}

.journal-copy > p:not(.journal-series) {
    max-width: 68ch;
    margin-bottom: 34px;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.75;
}

.journal-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 22px;
    margin-top: auto;
}

.journal-link {
    margin-top: 0;
}

.journal-archive-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--muted-strong);
    font-size: 13px;
    font-weight: 800;
    transition: color 0.2s ease;
}

.journal-archive-link:hover {
    color: var(--acid);
}

.journal-signal {
    position: relative;
    min-height: 100%;
    display: grid;
    place-items: center;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.16);
    border-left: 1px solid var(--line);
}

.journal-signal strong {
    position: relative;
    z-index: 2;
    color: transparent;
    -webkit-text-stroke: 1px rgba(200, 255, 61, 0.62);
    font-family: "Space Mono", monospace;
    font-size: clamp(90px, 14vw, 180px);
    line-height: 1;
    letter-spacing: -0.13em;
}

.journal-signal small {
    position: absolute;
    right: 28px;
    bottom: 28px;
    z-index: 2;
    color: var(--muted);
    font-family: "Space Mono", monospace;
    font-size: 8px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.journal-orbit {
    position: absolute;
    border: 1px solid rgba(200, 255, 61, 0.2);
    border-radius: 50%;
}

.journal-orbit-outer {
    width: 430px;
    height: 430px;
}

.journal-orbit-inner {
    width: 250px;
    height: 250px;
}

.journal-pulse {
    position: absolute;
    top: 34%;
    right: 21%;
    width: 9px;
    height: 9px;
    background: var(--acid);
    border-radius: 50%;
    box-shadow: 0 0 0 8px var(--acid-soft), 0 0 34px rgba(200, 255, 61, 0.75);
}

.engagement {
    overflow: hidden;
    border-bottom: 1px solid var(--line);
}

.engagement::before {
    content: "";
    position: absolute;
    top: 15%;
    left: -180px;
    width: 420px;
    height: 420px;
    background: rgba(112, 246, 255, 0.045);
    border-radius: 50%;
    filter: blur(100px);
    pointer-events: none;
}

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

.engagement-card {
    position: relative;
    min-height: 310px;
    display: flex;
    flex-direction: column;
    padding: 32px;
    background: linear-gradient(155deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.016));
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.engagement-card h3 {
    max-width: 16ch;
    margin: auto 0 16px;
    font-size: 24px;
    letter-spacing: -0.035em;
    line-height: 1.2;
}

.engagement-card p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.7;
}

.approach {
    overflow: hidden;
}

.approach::after {
    content: "AI\A POWERED";
    position: absolute;
    right: -30px;
    bottom: -10px;
    color: rgba(255, 255, 255, 0.018);
    font-size: 160px;
    font-weight: 800;
    line-height: 0.72;
    white-space: pre;
    pointer-events: none;
}

.approach-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: clamp(60px, 10vw, 140px);
    align-items: start;
}

.approach-copy {
    position: sticky;
    top: calc(var(--header-height) + 48px);
}

.approach-copy h2 em {
    font-family: "Space Mono", monospace;
    font-size: 0.82em;
    letter-spacing: -0.08em;
}

.approach-note {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-top: 34px;
    padding: 18px;
    background: var(--acid-soft);
    border: 1px solid rgba(200, 255, 61, 0.16);
    border-radius: 16px;
}

.approach-note > span {
    color: var(--acid);
}

.approach-note p {
    margin: 0;
    color: var(--muted-strong);
    font-size: 12px;
    line-height: 1.65;
}

.principles {
    display: grid;
}

.principle {
    display: grid;
    grid-template-columns: 62px 1fr;
    gap: 28px;
    padding: 42px 0;
    border-bottom: 1px solid var(--line);
}

.principle:first-child {
    border-top: 1px solid var(--line);
}

.principle > span {
    color: var(--acid);
    font-family: "Space Mono", monospace;
    font-size: 10px;
}

.principle h3 {
    margin-bottom: 10px;
    font-size: 23px;
    letter-spacing: -0.035em;
}

.principle p {
    max-width: 48ch;
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}

.contact-section {
    padding-top: 60px;
}

.contact-shell {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(440px, 1.1fr);
    gap: clamp(56px, 8vw, 110px);
    padding: clamp(38px, 6vw, 78px);
    overflow: hidden;
    background:
        radial-gradient(circle at 0 0, rgba(157, 140, 255, 0.13), transparent 38%),
        radial-gradient(circle at 100% 100%, rgba(200, 255, 61, 0.08), transparent 35%),
        var(--surface-strong);
    border: 1px solid var(--line-bright);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.contact-shell::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 36px 36px;
    mask-image: linear-gradient(135deg, black, transparent 62%);
}

.contact-copy,
.contact-form {
    position: relative;
    z-index: 1;
}

.contact-copy h2 {
    font-size: clamp(40px, 4.7vw, 66px);
}

.contact-direct {
    display: grid;
    gap: 12px;
    margin-top: 34px;
}

.contact-direct a {
    width: fit-content;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--text);
    border-bottom: 1px solid var(--line-bright);
    font-size: 13px;
    font-weight: 700;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.contact-direct a:hover {
    color: var(--acid);
    border-color: var(--acid);
}

.availability {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 34px;
    color: var(--muted) !important;
    font-family: "Space Mono", monospace;
    font-size: 9px !important;
    letter-spacing: 0.03em;
}

.contact-form {
    padding: 30px;
    background: rgba(8, 11, 18, 0.54);
    border: 1px solid var(--line);
    border-radius: 22px;
    backdrop-filter: blur(16px);
}

.field-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.field {
    display: grid;
    gap: 9px;
    margin-bottom: 15px;
}

.field > span {
    color: var(--muted-strong);
    font-size: 11px;
    font-weight: 700;
}

.field input,
.field select,
.field textarea {
    width: 100%;
    color: var(--text);
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid var(--line);
    border-radius: 12px;
    transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.field input,
.field select {
    height: 50px;
    padding: 0 14px;
}

.field select {
    color-scheme: dark;
    cursor: pointer;
}

.field select option {
    color: var(--text);
    background: var(--surface-strong);
}

.field textarea {
    min-height: 132px;
    padding: 13px 14px;
    resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
    color: #737b89;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.055);
    border-color: rgba(200, 255, 61, 0.52);
    box-shadow: 0 0 0 4px rgba(200, 255, 61, 0.07);
}

.form-footer {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-top: 22px;
}

.form-footer p {
    max-width: 20ch;
    margin: 0;
    color: var(--muted);
    font-size: 10px;
    line-height: 1.5;
}

.form-status {
    min-height: 22px;
    margin-top: 14px;
    color: var(--acid);
    font-size: 12px;
}

.honeypot {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}

.site-footer {
    padding: 42px 0 50px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
    align-items: center;
    gap: 24px;
    text-align: center;
}

.footer-grid > div:first-child {
    display: grid;
    gap: 5px;
}

.footer-grid strong {
    font-size: 14px;
}

.footer-grid > div:first-child span,
.footer-grid p {
    color: var(--muted);
    font-size: 10px;
}

.footer-grid p {
    grid-column: 1 / -1;
    width: 100%;
    margin: 10px 0 0;
    padding-top: 24px;
    border-top: 1px solid var(--line);
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.footer-links a {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    color: var(--muted-strong);
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid var(--line);
    border-radius: 13px;
    transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.footer-links a:hover {
    color: var(--acid);
    background: rgba(208, 255, 0, 0.06);
    border-color: rgba(208, 255, 0, 0.35);
    transform: translateY(-2px);
}

.footer-brand-icon {
    width: 20px;
    height: 20px;
    background: currentColor;
    mask-position: center;
    mask-repeat: no-repeat;
    mask-size: contain;
    -webkit-mask-position: center;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-size: contain;
}

.footer-brand-icon-linkedin {
    mask-image: url("../assets/linkedin.svg");
    -webkit-mask-image: url("../assets/linkedin.svg");
}

.footer-brand-icon-github {
    mask-image: url("../assets/github.svg");
    -webkit-mask-image: url("../assets/github.svg");
}

.footer-hailme-icon {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    object-fit: cover;
    transition: transform 0.2s ease;
}

.footer-links a:hover .footer-hailme-icon {
    transform: scale(1.06);
}

.reveal {
    opacity: 1;
    transform: none;
}

html.js .reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.8s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
    transition-delay: var(--reveal-delay, 0ms);
}

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

.case-study-page {
    background:
        radial-gradient(circle at 82% 0, rgba(157, 140, 255, 0.12), transparent 28%),
        radial-gradient(circle at 12% 18%, rgba(112, 246, 255, 0.07), transparent 24%),
        var(--bg);
}

.case-study-page .site-header {
    border-color: var(--line);
}

.case-header-nav {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-left: auto;
}

.case-header-nav a {
    color: var(--muted-strong);
    font-size: 13px;
    font-weight: 700;
}

.case-header-nav a:hover {
    color: var(--acid);
}

.case-study-main {
    padding-bottom: 110px;
}

.case-hero-section {
    position: relative;
    padding: 82px 0 92px;
    overflow: hidden;
    border-bottom: 1px solid var(--line);
}

.case-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 52px;
    color: var(--muted);
    font-family: "Space Mono", monospace;
    font-size: 10px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.case-breadcrumbs a:hover {
    color: var(--acid);
}

.case-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.6fr);
    gap: clamp(48px, 9vw, 120px);
    align-items: end;
}

.case-hero-section h1 {
    max-width: 15ch;
    margin-bottom: 28px;
    font-size: clamp(52px, 7.8vw, 102px);
    letter-spacing: -0.07em;
    line-height: 0.96;
}

.case-hero-section h1 em {
    font-family: "Space Mono", monospace;
    font-size: 0.82em;
    letter-spacing: -0.08em;
}

.case-summary {
    max-width: 64ch;
    margin: 0;
    color: var(--muted-strong);
    font-size: clamp(17px, 2vw, 21px);
    line-height: 1.65;
}

.case-facts {
    display: grid;
    border-top: 1px solid var(--line);
}

.case-fact {
    display: grid;
    grid-template-columns: 90px 1fr;
    gap: 18px;
    padding: 20px 0;
    border-bottom: 1px solid var(--line);
}

.case-fact dt {
    color: var(--muted);
    font-family: "Space Mono", monospace;
    font-size: 9px;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.case-fact dd {
    margin: 0;
    color: var(--text);
    font-size: 13px;
    font-weight: 700;
}

.case-content {
    padding-top: 26px;
}

.case-content-section {
    display: grid;
    grid-template-columns: minmax(150px, 0.28fr) minmax(0, 1fr);
    gap: clamp(42px, 9vw, 120px);
    padding: 76px 0;
    border-bottom: 1px solid var(--line);
}

.case-content-section:last-of-type {
    border-bottom: 0;
}

.case-section-label {
    color: var(--acid);
    font-family: "Space Mono", monospace;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.case-prose {
    max-width: 790px;
}

.case-prose h2 {
    max-width: 22ch;
    margin-bottom: 26px;
    font-size: clamp(32px, 4.5vw, 54px);
    letter-spacing: -0.05em;
    line-height: 1.08;
}

.case-prose h3 {
    margin: 34px 0 10px;
    font-size: 21px;
    letter-spacing: -0.025em;
}

.case-prose p,
.case-prose li {
    color: var(--muted-strong);
    font-size: 16px;
    line-height: 1.8;
}

.case-prose ul {
    display: grid;
    gap: 14px;
    padding-left: 20px;
}

.case-outcomes {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 34px;
}

.case-outcome {
    min-height: 150px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 9px;
    padding: 24px;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid var(--line);
    border-radius: 18px;
}

.case-outcome strong {
    color: var(--acid);
    font-family: "Space Mono", monospace;
    font-size: clamp(25px, 4vw, 38px);
    letter-spacing: -0.06em;
}

.case-outcome span {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.45;
}

.case-tech-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 28px 0 0;
    padding: 0;
    list-style: none;
}

.case-tech-list li {
    padding: 8px 11px;
    color: var(--muted-strong);
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid var(--line);
    border-radius: 10px;
    font-family: "Space Mono", monospace;
    font-size: 9px;
    line-height: 1.2;
}

.case-next {
    margin-top: 44px;
    padding: clamp(34px, 6vw, 70px);
    background:
        radial-gradient(circle at 100% 100%, rgba(200, 255, 61, 0.08), transparent 42%),
        var(--surface-strong);
    border: 1px solid var(--line-bright);
    border-radius: var(--radius-lg);
}

.case-next p {
    max-width: 54ch;
    color: var(--muted-strong);
}

.case-next h2 {
    max-width: 18ch;
    margin-bottom: 20px;
    font-size: clamp(34px, 5vw, 60px);
    letter-spacing: -0.055em;
    line-height: 1.05;
}

.case-next-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 30px;
}

@keyframes status-pulse {
    50% { opacity: 0.55; box-shadow: 0 0 0 8px rgba(200, 255, 61, 0), 0 0 18px rgba(200, 255, 61, 0.4); }
}

@keyframes orbit-drift {
    to { transform: translate(30px, 22px) scale(1.06); }
}

@keyframes system-scan {
    0%, 20% { transform: translateX(-100%); }
    58%, 100% { transform: translateX(100%); }
}

@keyframes rotate-orbit {
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes rotate-core-orbit {
    to { transform: rotate(360deg); }
}

@keyframes comet-fade {
    0% { opacity: 0; }
    8%, 72% { opacity: 1; }
    100% { opacity: 0; }
}

@keyframes rotate-orbit-reverse {
    to { transform: translate(-50%, -50%) rotate(-360deg); }
}

@keyframes core-pulse {
    0% { transform: scale(1); opacity: 0.6; }
    100% { transform: scale(1.26); opacity: 0; }
}

@keyframes node-float {
    to { transform: translateY(-6px); }
}

@keyframes chip-drift {
    to { transform: translateY(-9px) rotate(1deg); }
}

@keyframes signal {
    to { height: 25%; opacity: 0.5; }
}

@media (max-width: 1100px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 70px;
    }

    .hero-copy {
        max-width: 820px;
    }

    .hero-visual {
        width: min(100%, 620px);
        margin-inline: auto;
    }

    .expertise-grid {
        grid-template-columns: 1fr;
    }

    .engagement-grid {
        grid-template-columns: 1fr;
    }

    .journal-issue {
        grid-template-columns: 1fr;
    }

    .journal-signal {
        min-height: 320px;
        border-top: 1px solid var(--line);
        border-left: 0;
    }

    .expertise-card {
        min-height: 0;
    }

    .engagement-card {
        min-height: 240px;
    }

    .card-symbol {
        margin: 38px 0 28px;
    }

    .expertise-card h3 {
        max-width: 22ch;
    }

    .contact-shell {
        grid-template-columns: 1fr;
    }

    .case-hero-grid {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .case-facts {
        max-width: 620px;
    }

    .case-outcomes {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 860px) {
    :root {
        --header-height: 70px;
    }

    .container {
        width: min(calc(100% - 30px), var(--max-width));
    }

    .brand-copy small,
    .main-nav {
        display: none;
    }

    .case-header-nav > a:not(.button) {
        display: none;
    }

    .nav-shell {
        gap: 14px;
    }

    .nav-actions {
        margin-left: auto;
    }

    .hero {
        min-height: auto;
        padding: 74px 0 80px;
    }

    .hero h1 {
        font-size: clamp(50px, 12vw, 76px);
    }

    .hero-visual {
        min-height: 660px;
    }

    .impact-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .impact-item:nth-child(2) {
        border-right: 1px solid var(--line);
    }

    .impact-item:nth-child(n+3) {
        border-top: 1px solid var(--line);
    }

    .section-heading-split,
    .approach-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .approach-copy {
        position: static;
    }

    .case-grid {
        grid-template-columns: 1fr;
    }

    .case-card {
        min-height: 520px;
    }

    .contact-section {
        padding-top: 30px;
    }

    .case-content-section {
        grid-template-columns: 1fr;
        gap: 26px;
    }
}

@media (max-width: 620px) {
    body::before {
        background-size: 48px 48px;
    }

    .brand-copy {
        display: none;
    }

    .nav-actions {
        gap: 8px;
    }

    .button-small {
        padding-inline: 13px;
    }

    .case-header-nav {
        gap: 8px;
    }

    .case-hero-section {
        padding: 54px 0 68px;
    }

    .case-breadcrumbs {
        margin-bottom: 36px;
    }

    .case-hero-section h1 {
        font-size: clamp(44px, 14vw, 64px);
    }

    .case-content-section {
        padding: 58px 0;
    }

    .case-fact {
        grid-template-columns: 72px 1fr;
    }

    .hero {
        padding-top: 54px;
    }

    .eyebrow {
        max-width: 100%;
        font-size: 8px;
        line-height: 1.5;
    }

    .hero h1 {
        font-size: clamp(45px, 15vw, 64px);
        line-height: 0.98;
    }

    .hero-lead {
        font-size: 16px;
    }

    .hero-actions {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
        margin-bottom: 40px;
    }

    .hero-actions .button {
        width: 100%;
    }

    .client-wordmarks {
        gap: 13px 20px;
    }

    .hero-visual {
        min-height: 560px;
    }

    .system-card {
        min-height: 450px;
        border-radius: 24px;
    }

    .system-stage {
        min-height: 346px;
    }

    .system-core {
        width: 122px;
        height: 122px;
    }

    .system-core strong {
        font-size: 12px;
    }

    .orbit-one {
        --orbit-radius: 102px;
        width: 205px;
        height: 205px;
    }

    .orbit-two {
        --orbit-radius: 149.5px;
        width: 300px;
        height: 300px;
    }

    .system-node {
        min-width: 108px;
        padding: 9px 10px;
    }

    .system-node strong {
        font-size: 9px;
    }

    .node-native { top: 28px; left: 13px; }
    .node-platform { top: 58px; right: 8px; }
    .node-backend { right: 10px; bottom: 30px; }
    .node-release { bottom: 23px; left: 8px; }

    .floating-chip {
        font-size: 7px;
    }

    .chip-ai {
        top: -16px;
        right: 4px;
    }

    .chip-builder {
        bottom: 0;
        left: 5px;
    }

    .impact-grid {
        grid-template-columns: 1fr;
    }

    .impact-item {
        min-height: 135px;
        border-right: 1px solid var(--line);
        border-bottom: 1px solid var(--line);
    }

    .impact-item:nth-child(n+3) {
        border-top: 0;
    }

    .impact-item:last-child {
        border-bottom: 0;
    }

    .section {
        padding: 92px 0;
    }

    .section-heading h2,
    .approach-copy h2,
    .contact-copy h2 {
        font-size: clamp(36px, 10.5vw, 50px);
    }

    .expertise-card,
    .engagement-card,
    .case-card {
        padding: 24px;
    }

    .fit-grid {
        grid-template-columns: 1fr;
    }

    .fit-card {
        min-height: 0;
        padding: 28px 24px;
        border-right: 0 !important;
        border-bottom: 1px solid var(--line);
    }

    .fit-card:last-child {
        border-bottom: 0;
    }

    .fit-card > span {
        margin-bottom: 28px;
    }

    .engagement-card {
        min-height: 260px;
    }

    .journal-issue {
        min-height: 0;
        border-radius: var(--radius);
    }

    .journal-copy {
        padding: 28px 24px 36px;
    }

    .journal-meta {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    .journal-series {
        margin-top: 48px;
    }

    .journal-copy h3 {
        font-size: clamp(36px, 12vw, 52px);
    }

    .journal-link {
        width: 100%;
    }

    .journal-actions {
        width: 100%;
        align-items: stretch;
        flex-direction: column;
    }

    .journal-archive-link {
        justify-content: center;
    }

    .journal-signal {
        min-height: 250px;
    }

    .journal-signal small {
        right: 20px;
        bottom: 20px;
    }

    .case-card {
        min-height: 0;
    }

    .case-topline {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    .case-topline span:last-child {
        text-align: left;
    }

    .case-body {
        padding: 38px 0 34px;
    }

    .case-results,
    .case-results-three {
        grid-template-columns: 1fr;
    }

    .case-results > div + div {
        border-top: 1px solid var(--line);
        border-left: 0;
    }

    .case-link-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .case-link-row > span {
        text-align: left;
    }

    .principle {
        grid-template-columns: 40px 1fr;
        gap: 16px;
    }

    .contact-shell {
        width: min(calc(100% - 20px), var(--max-width));
        padding: 34px 20px;
        border-radius: 24px;
    }

    .contact-form {
        padding: 20px;
    }

    .field-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .form-footer {
        align-items: stretch;
        flex-direction: column;
    }

    .form-footer p {
        max-width: none;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        justify-items: center;
        align-items: center;
    }

    .footer-links {
        justify-content: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .pointer-glow,
    .page-noise {
        display: none;
    }

    html.js .reveal {
        opacity: 1;
        transform: none;
    }
}
