:root {
    --bg: #000;
    --paper: #f7f8f4;
    --paper-text: #172019;
    --paper-muted: #5a635a;
    --paper-line: #e5e8e1;
    --panel: rgba(255, 255, 255, 0.045);
    --panel-strong: rgba(255, 255, 255, 0.082);
    --text: #fff;
    --muted: rgba(255, 255, 255, 0.72);
    --subtle: rgba(255, 255, 255, 0.46);
    --line: rgba(255, 255, 255, 0.16);
    --line-strong: rgba(255, 255, 255, 0.34);
    --black-glass: rgba(0, 0, 0, 0.42);
    --radius: 8px;
    --max-width: 1200px;
    --header-height: 76px;
    --ease: cubic-bezier(.2, .8, .2, 1);
    --shadow: 0 28px 90px rgba(0, 0, 0, 0.42);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background: var(--bg);
}

body {
    min-width: 320px;
    margin: 0;
    color: var(--text);
    background:
        radial-gradient(circle at 8% 12%, rgba(255, 255, 255, 0.08), transparent 24vw),
        radial-gradient(circle at 88% 0%, rgba(105, 130, 150, 0.12), transparent 28vw),
        #000;
    font-family: "Inter", "Barlow", "Noto Sans SC", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.5;
    overflow-x: hidden;
}

@keyframes blink {
    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

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

body.nav-open {
    overflow: hidden;
}

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

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

button {
    font: inherit;
}

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

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

h1,
h2,
h3 {
    letter-spacing: 0;
    line-height: 0.94;
}

.studio-header {
    position: fixed;
    top: 20px;
    left: clamp(16px, 4vw, 52px);
    right: clamp(16px, 4vw, 52px);
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 64px;
    pointer-events: none;
}

.studio-brand,
.studio-nav,
.nav-toggle,
.nav-cta {
    pointer-events: auto;
}

.studio-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    padding: 14px 18px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.2);
    color: var(--text);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.studio-brand strong {
    font-family: "Noto Sans SC", sans-serif;
    font-size: 1.05rem;
    font-weight: 900;
    white-space: nowrap;
}

.studio-brand span {
    color: var(--subtle);
    font-family: "Roboto Mono", monospace;
    font-size: 0.78rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    white-space: nowrap;
}

.studio-nav {
    display: flex;
    align-items: center;
    gap: 0;
    min-height: 64px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0;
    background: rgba(10, 10, 10, 0.68);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: 0 16px 55px rgba(0, 0, 0, 0.28);
}

.nav-link,
.nav-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 64px;
    padding: 0 26px;
    border-left: 1px solid rgba(255, 255, 255, 0.07);
    color: rgba(255, 255, 255, 0.62);
    font-family: "Roboto Mono", monospace;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: color 180ms var(--ease), background-color 180ms var(--ease);
}

.nav-link:first-child {
    border-left: 0;
}

.nav-link:hover,
.nav-link.active {
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
}

.nav-cta {
    color: #050505;
    background: #fff;
}

.nav-cta:hover {
    color: #000;
    background: rgba(255, 255, 255, 0.86);
}

.nav-toggle {
    display: none;
    width: 48px;
    height: 48px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--text);
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    margin: 5px auto;
    border-radius: 999px;
    background: currentColor;
}

body[data-page="home"] .studio-header[data-elevated="false"] .studio-brand {
    color: #0e150f;
    background: rgba(255, 255, 255, 0.38);
}

body[data-page="home"] .studio-header[data-elevated="false"] .studio-brand span {
    color: rgba(14, 21, 15, 0.58);
}

body[data-page="home"] .studio-header[data-elevated="false"] .studio-nav {
    border-color: rgba(28, 46, 30, 0.1);
    background: rgba(255, 255, 255, 0.34);
    box-shadow: 0 16px 55px rgba(28, 46, 30, 0.08);
}

body[data-page="home"] .studio-header[data-elevated="false"] .nav-link {
    color: rgba(14, 21, 15, 0.66);
    border-left-color: rgba(28, 46, 30, 0.08);
}

body[data-page="home"] .studio-header[data-elevated="false"] .nav-link:hover,
body[data-page="home"] .studio-header[data-elevated="false"] .nav-link.active {
    color: #0e150f;
    background: rgba(28, 46, 30, 0.06);
}

body[data-page="home"] .studio-header[data-elevated="false"] .nav-cta {
    color: #fff;
    border-left-color: rgba(28, 46, 30, 0.08);
    background: #1c2e1e;
}

body[data-page="home"] .studio-header[data-elevated="false"] .nav-toggle {
    color: #0e150f;
    border-color: rgba(28, 46, 30, 0.16);
    background: rgba(255, 255, 255, 0.54);
}

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

.cinema-hero {
    position: relative;
    display: flex;
    min-height: 100svh;
    padding: 132px clamp(20px, 8vw, 132px) 72px;
    align-items: flex-end;
    overflow: hidden;
    background: #000;
}

.spade-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.42fr);
    gap: clamp(22px, 4vw, 54px);
    min-height: 100svh;
    overflow: hidden;
    padding: 128px clamp(20px, 5vw, 72px) 58px;
    align-items: end;
    color: var(--paper-text);
    background: var(--paper);
}

.spade-hero::before {
    position: absolute;
    inset: 0;
    content: "";
    pointer-events: none;
    background:
        linear-gradient(rgba(28, 46, 30, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(28, 46, 30, 0.045) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: linear-gradient(90deg, black, transparent 72%);
}

.spade-video-panel {
    --look-x: 0px;
    --look-y: 0px;
    --look-glow-x: 58%;
    --look-glow-y: 34%;
    position: absolute;
    inset: 0 0 0 auto;
    width: min(58vw, 940px);
    overflow: hidden;
    pointer-events: none;
    background: #eef1ea;
}

.spade-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right bottom;
    filter: saturate(0.9) contrast(1.02);
    transform: translate3d(var(--look-x), var(--look-y), 0) scale(1.035);
    transition: transform 90ms linear;
}

.spade-video-wash {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at var(--look-glow-x) var(--look-glow-y), rgba(255, 255, 255, 0.46), transparent 18%),
        linear-gradient(90deg, var(--paper) 0%, rgba(247, 248, 244, 0.88) 15%, rgba(247, 248, 244, 0.18) 48%, rgba(247, 248, 244, 0.02)),
        linear-gradient(0deg, var(--paper) 0%, transparent 24%);
    transition: background 120ms linear;
}

.spade-hero-content {
    position: relative;
    z-index: 2;
    width: min(760px, 100%);
}

.spade-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 28px;
    color: rgba(28, 46, 30, 0.72);
    font-size: 0.86rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.spade-kicker span {
    color: #1c2e1e;
    font-size: 1.2rem;
}

.spade-hero h1 {
    min-height: 2.18em;
    margin-bottom: 22px;
    color: #090d0a;
    font-size: clamp(3.35rem, 7.4vw, 7.8rem);
    font-weight: 400;
    line-height: 1.04;
    white-space: pre-line;
}

.type-cursor {
    display: inline-block;
    width: 3px;
    height: 0.9em;
    margin-left: 4px;
    vertical-align: -0.04em;
    background: #090d0a;
    animation: blink 1s step-end infinite;
}

.type-cursor.is-done {
    display: none;
}

.spade-lede {
    max-width: 660px;
    margin-bottom: 42px;
    color: var(--paper-muted);
    font-size: clamp(1.08rem, 2vw, 1.32rem);
    line-height: 1.7;
}

.service-picker {
    width: min(620px, 100%);
    margin-bottom: 30px;
}

.service-picker h2 {
    margin-bottom: 4px;
    color: #152318;
    font-size: clamp(1.45rem, 2.2vw, 2rem);
    font-weight: 500;
    line-height: 1.12;
}

.service-picker p {
    margin-bottom: 18px;
    color: rgba(90, 99, 90, 0.86);
}

.service-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 14px;
}

.service-pill {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    gap: 8px;
    padding: 0 18px;
    border: 1px solid var(--paper-line);
    border-radius: 999px;
    color: #1c2e1e;
    background: rgba(255, 255, 255, 0.76);
    box-shadow: 0 14px 36px rgba(28, 46, 30, 0.05);
    cursor: pointer;
    font-weight: 600;
    transition: transform 180ms var(--ease), color 180ms var(--ease), background-color 180ms var(--ease), border-color 180ms var(--ease);
}

.service-pill:hover,
.service-pill:focus-visible {
    transform: translateY(-2px);
    border-color: rgba(28, 46, 30, 0.16);
    background: rgba(241, 243, 241, 0.9);
}

.service-pill.is-active {
    color: #fff;
    border-color: #1c2e1e;
    background: #1c2e1e;
}

.service-pill.is-active::before {
    content: "\f00c";
    font: var(--fa-font-solid);
    font-size: 0.78rem;
}

.service-status {
    min-height: 48px;
    padding: 14px 16px;
    border: 1px solid transparent;
    border-radius: 18px;
    color: rgba(90, 99, 90, 0.5);
    font-size: 0.82rem;
    font-style: italic;
    transition: color 180ms var(--ease), background-color 180ms var(--ease), border-color 180ms var(--ease);
}

.service-status.is-active {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    color: #233526;
    border-color: #ecefeb;
    background: #fafbf9;
    font-style: normal;
}

.service-status a {
    flex: 0 0 auto;
    color: #4d6d47;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.spade-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.spade-link {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    gap: 10px;
    padding: 0 18px;
    border: 1px solid rgba(28, 46, 30, 0.14);
    border-radius: 999px;
    color: #1c2e1e;
    background: rgba(255, 255, 255, 0.54);
    font-size: 0.96rem;
    font-weight: 700;
    transition: transform 180ms var(--ease), opacity 180ms var(--ease);
}

.spade-link.strong {
    color: #fff;
    border-color: #1c2e1e;
    background: #1c2e1e;
}

.spade-link:hover {
    transform: translateY(-2px);
    opacity: 0.78;
}

.spade-portrait {
    position: relative;
    z-index: 2;
    align-self: end;
    width: min(360px, 100%);
    margin: 0;
    overflow: hidden;
    border: 1px solid rgba(28, 46, 30, 0.12);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.32);
    box-shadow: 0 28px 90px rgba(28, 46, 30, 0.18);
}

.spade-portrait img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: center;
}

.spade-portrait figcaption {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    color: rgba(28, 46, 30, 0.62);
    background: rgba(250, 251, 249, 0.86);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.spade-portrait strong {
    color: #1c2e1e;
}

.fading-video {
    opacity: 0;
    will-change: opacity;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 50%;
    z-index: 0;
    width: 120%;
    height: 120%;
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
    object-position: top center;
    transform: translateX(-50%);
}

.section-video {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.edge-shade {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(0, 0, 0, 0.82), transparent 32%, transparent 70%, rgba(0, 0, 0, 0.72)),
        linear-gradient(0deg, rgba(0, 0, 0, 0.88), transparent 42%, rgba(0, 0, 0, 0.48));
}

.hero-side-note {
    position: absolute;
    top: 28%;
    right: clamp(22px, 8vw, 132px);
    z-index: 2;
    color: rgba(255, 255, 255, 0.74);
    text-align: right;
    font-size: clamp(1.05rem, 2vw, 1.7rem);
    font-weight: 300;
    line-height: 1.18;
}

.hero-side-note p {
    margin: 0;
}

.cinema-hero-content {
    position: relative;
    z-index: 2;
    width: min(980px, 100%);
}

.studio-kicker {
    margin-bottom: 18px;
    color: rgba(255, 255, 255, 0.72);
    font-family: "Roboto Mono", monospace;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.cinema-hero h1 {
    max-width: 1060px;
    margin-bottom: 14px;
    font-size: clamp(3.4rem, 7.8vw, 8.7rem);
    font-weight: 400;
    letter-spacing: 0;
}

.hero-line {
    max-width: 680px;
    margin-bottom: 28px;
    color: rgba(255, 255, 255, 0.86);
    font-size: clamp(1.15rem, 2.3vw, 1.75rem);
    font-weight: 300;
}

.hero-underlined {
    position: relative;
    display: inline-block;
}

.hero-underlined > span:last-child {
    position: relative;
    z-index: 1;
}

.hero-underline {
    position: absolute;
    right: 0;
    bottom: 0.08em;
    left: 0;
    height: 0.16em;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(42, 126, 174, 0.88), rgba(255, 255, 255, 0.34));
    box-shadow: 0 0 38px rgba(42, 126, 174, 0.44);
}

.hero-command {
    display: inline-flex;
    max-width: 100%;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    padding: 14px 18px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius);
    color: rgba(255, 255, 255, 0.82);
    background: rgba(0, 0, 0, 0.48);
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.12), 0 20px 60px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    font-family: "Roboto Mono", monospace;
    font-size: clamp(0.78rem, 1.5vw, 0.95rem);
}

.hero-command span {
    color: #7fc7ff;
    font-weight: 700;
}

.hero-command code {
    min-width: 0;
    overflow-wrap: anywhere;
    font: inherit;
}

.hero-actions,
.filter-bar,
.lab-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.glass-button,
.filter-chip,
.lab-tab,
.mega-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    gap: 10px;
    padding: 12px 18px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius);
    color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.055);
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    cursor: pointer;
    font-family: "Roboto Mono", monospace;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: transform 180ms var(--ease), border-color 180ms var(--ease), background-color 180ms var(--ease), color 180ms var(--ease);
}

.glass-button.strong,
.mega-button {
    color: #050505;
    border-color: rgba(255, 255, 255, 0.84);
    background: #fff;
}

.glass-button:hover,
.glass-button:focus-visible,
.filter-chip:hover,
.filter-chip.active,
.lab-tab:hover,
.lab-tab.active,
.mega-button:hover,
.mega-button:focus-visible {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.46);
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

.glass-button.strong:hover,
.mega-button:hover {
    color: #000;
    background: rgba(255, 255, 255, 0.88);
}

.cinema-section {
    position: relative;
    min-height: 100svh;
    overflow: hidden;
    background: #000;
}

.capabilities-section {
    background: #040404 url("images/capabilities-flower-scene-poster.jpg") center / cover no-repeat;
}

.section-inner {
    position: relative;
    z-index: 2;
    display: flex;
    min-height: 100svh;
    flex-direction: column;
    justify-content: space-between;
    padding: 118px clamp(20px, 5vw, 84px) 54px;
}

.cinematic-heading h2,
.split-heading h2,
.archive-copy h1,
.console-heading h2,
.contact-copy h2 {
    font-family: "Instrument Serif", "Noto Sans SC", serif;
    font-style: italic;
    font-weight: 400;
}

.cinematic-heading h2 {
    margin-bottom: 0;
    font-size: clamp(4.2rem, 8vw, 9rem);
}

.story-section {
    position: relative;
    width: min(var(--max-width), calc(100% - 40px));
    margin: 0 auto;
    padding: clamp(76px, 11vw, 146px) 0 clamp(58px, 8vw, 112px);
    overflow: hidden;
}

.story-section::before {
    position: absolute;
    top: 12%;
    right: 0;
    width: min(520px, 52vw);
    aspect-ratio: 1;
    border-radius: 50%;
    content: "";
    pointer-events: none;
    background: radial-gradient(circle, rgba(72, 165, 215, 0.18), transparent 66%);
    filter: blur(2px);
    transform: translateX(42%);
}

.story-heading {
    position: sticky;
    top: 120px;
    max-width: 760px;
    margin-bottom: clamp(30px, 5vw, 58px);
}

.story-heading h2,
.present-section h2 {
    font-family: "Instrument Serif", "Noto Sans SC", serif;
    font-style: italic;
    font-weight: 400;
}

.story-heading h2 {
    margin-bottom: 16px;
    font-size: clamp(3rem, 6.8vw, 7.2rem);
}

.story-heading p:last-child {
    max-width: 620px;
    margin-bottom: 0;
    color: var(--muted);
    font-size: 1.05rem;
}

.story-track {
    position: relative;
    display: grid;
    gap: 18px;
    margin-left: auto;
    width: min(720px, 100%);
}

.story-track::before {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 22px;
    width: 1px;
    content: "";
    background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.34), transparent);
}

.story-card {
    --story-progress: 0;
    min-height: 260px;
    padding: 28px 30px 30px 78px;
    opacity: max(0.55, var(--story-progress));
    transform: translateY(calc((1 - var(--story-progress)) * 18px));
    transition: opacity 180ms var(--ease), transform 180ms var(--ease), border-color 180ms var(--ease), background-color 180ms var(--ease);
}

.story-card::after {
    position: absolute;
    top: 34px;
    left: 15px;
    width: 14px;
    height: 14px;
    border: 1px solid rgba(255, 255, 255, 0.66);
    border-radius: 50%;
    content: "";
    background: #0a0a0a;
    box-shadow: 0 0 calc(8px + var(--story-progress) * 24px) rgba(127, 199, 255, 0.44);
}

.story-card span {
    display: block;
    margin-bottom: 18px;
    color: #8bd3ff;
    font-family: "Roboto Mono", monospace;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.story-card h3 {
    max-width: 560px;
    margin-bottom: 14px;
    font-size: clamp(2.2rem, 4.8vw, 4.8rem);
}

.story-card p {
    max-width: 570px;
    margin-bottom: 0;
    color: var(--muted);
}

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

.liquid-card {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: var(--radius);
    background: var(--panel);
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.13), var(--shadow);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.liquid-card::before {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    content: "";
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0.04) 42%, rgba(255, 255, 255, 0.26));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.capability-grid .liquid-card {
    display: flex;
    min-height: 360px;
    flex-direction: column;
    justify-content: space-between;
    padding: 24px;
}

.card-top,
.repo-card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 28px;
}

.card-top i,
.repo-card-head i,
.route-card i {
    display: grid;
    width: 44px;
    height: 44px;
    flex: 0 0 auto;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius);
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
}

.tag-row,
.project-tech,
.console-list {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    justify-content: flex-end;
}

.tag-row span,
.project-tech span,
.console-list span {
    padding: 6px 10px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.78);
    background: rgba(255, 255, 255, 0.035);
    font-size: 0.75rem;
    line-height: 1.1;
}

.liquid-card h3,
.repo-card h3 {
    margin-bottom: 14px;
    font-family: "Instrument Serif", "Noto Sans SC", serif;
    font-size: clamp(2.1rem, 3.3vw, 3rem);
    font-style: italic;
    font-weight: 400;
}

.liquid-card p,
.repo-card p,
.route-card span,
.page-lede,
.console-heading p,
.contact-copy p,
.site-footer {
    color: var(--muted);
}

.work-section,
.contact-section,
.page-frame,
.site-footer {
    width: min(var(--max-width), calc(100% - 40px));
    margin-inline: auto;
}

.work-section {
    position: relative;
    padding: clamp(78px, 11vw, 148px) 0;
}

.split-heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 24px;
    align-items: end;
    margin-bottom: 28px;
}

.split-heading .studio-kicker {
    grid-column: 1 / -1;
    margin-bottom: 0;
}

.split-heading h2 {
    max-width: 760px;
    margin-bottom: 0;
    font-size: clamp(3.2rem, 7vw, 7.4rem);
}

.feature-work {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.72fr);
    gap: 18px;
    align-items: stretch;
}

.studio-photo-frame {
    display: flex;
    min-height: 420px;
    flex-direction: column;
    justify-content: space-between;
    margin: 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.045);
    box-shadow: var(--shadow);
}

.studio-photo-frame img {
    width: 100%;
    height: 100%;
    min-height: 360px;
    object-fit: cover;
    object-position: center;
    filter: saturate(0.92) contrast(1.04);
}

.studio-photo-frame figcaption {
    padding: 14px 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.72);
    background: rgba(0, 0, 0, 0.62);
    font-family: "Roboto Mono", monospace;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.flagship-card {
    display: flex;
    min-height: 420px;
    flex-direction: column;
    justify-content: space-between;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius);
    background:
        radial-gradient(circle at 14% 18%, rgba(255, 255, 255, 0.13), transparent 28%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.032));
    box-shadow: var(--shadow);
    overflow: hidden;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.flagship-card p,
.flagship-card span,
.flagship-card a {
    font-family: "Roboto Mono", monospace;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.flagship-card h3 {
    max-width: 720px;
    margin: 8px 0 0;
    font-size: clamp(3rem, 7vw, 7rem);
    overflow-wrap: anywhere;
}

.flagship-card span {
    color: rgba(255, 255, 255, 0.72);
}

.flagship-card a {
    width: fit-content;
    padding: 12px 16px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(0, 0, 0, 0.42);
    transition: background-color 180ms var(--ease), transform 180ms var(--ease);
}

.flagship-card a:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.13);
}

.repo-filmstrip {
    display: grid;
    gap: 10px;
}

.repo-filmstrip a {
    display: flex;
    min-height: 62px;
    align-items: center;
    padding: 0 18px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    color: rgba(255, 255, 255, 0.72);
    background: rgba(255, 255, 255, 0.045);
    font-family: "Roboto Mono", monospace;
    font-size: 0.9rem;
    overflow-wrap: anywhere;
    transition: transform 180ms var(--ease), border-color 180ms var(--ease), color 180ms var(--ease), background-color 180ms var(--ease);
}

.repo-filmstrip a:hover {
    transform: translateX(4px);
    border-color: rgba(255, 255, 255, 0.32);
    color: #fff;
    background: rgba(255, 255, 255, 0.09);
}

.present-section {
    display: flex;
    min-height: 72svh;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: clamp(76px, 10vw, 130px) 0;
    text-align: center;
}

.present-section p {
    margin-bottom: 10px;
    color: var(--muted);
    font-family: "Roboto Mono", monospace;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.present-section h2 {
    margin-bottom: 28px;
    font-size: clamp(3.6rem, 10vw, 10.5rem);
}

.contact-section {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 28px;
    align-items: center;
    padding: 74px 0 104px;
}

.contact-copy h2 {
    max-width: 760px;
    margin-bottom: 18px;
    font-size: clamp(3.1rem, 6.4vw, 7rem);
}

.contact-copy p {
    max-width: 620px;
    font-size: 1.05rem;
}

.contact-list {
    display: grid;
    gap: 10px;
    max-width: 540px;
    margin-top: 26px;
}

.contact-list a,
.contact-list button {
    display: flex;
    min-height: 52px;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius);
    color: rgba(255, 255, 255, 0.72);
    background: rgba(255, 255, 255, 0.04);
    cursor: pointer;
    text-align: left;
    transition: color 180ms var(--ease), border-color 180ms var(--ease), background-color 180ms var(--ease), transform 180ms var(--ease);
}

.contact-list a:hover,
.contact-list button:hover {
    transform: translateY(-2px);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.32);
    background: rgba(255, 255, 255, 0.09);
}

.contact-list i {
    width: 20px;
    color: #fff;
}

.qr-card {
    padding: 16px;
}

.qr-button {
    width: 100%;
    overflow: hidden;
    border: 0;
    border-radius: var(--radius);
    background: #fff;
    cursor: zoom-in;
}

.qr-button img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: contain;
}

.qr-card p {
    margin: 12px 0 0;
    color: var(--subtle);
    text-align: center;
    font-family: "Roboto Mono", monospace;
    font-size: 0.78rem;
    letter-spacing: 0.12em;
}

.archive-hero,
.practice-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.5fr);
    gap: 24px;
    align-items: end;
    min-height: 78svh;
    padding: 148px 0 64px;
}

.archive-copy h1 {
    max-width: 980px;
    margin-bottom: 22px;
    font-size: clamp(3.35rem, 7vw, 8.25rem);
}

.page-lede {
    max-width: 730px;
    margin-bottom: 0;
    font-size: clamp(1.02rem, 2vw, 1.22rem);
}

.inline-link {
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.38);
}

.archive-panel,
.lab-console {
    display: grid;
    gap: 14px;
    padding: 24px;
}

.archive-panel div {
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.archive-panel div:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.archive-panel span,
.console-row span,
.repo-card-head span {
    display: block;
    color: var(--subtle);
    font-family: "Roboto Mono", monospace;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.archive-panel strong {
    display: block;
    margin-top: 5px;
    font-size: 1.7rem;
}

.project-console,
.lab-section,
.route-section {
    padding: 48px 0 78px;
}

.console-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 24px;
}

.console-heading h2 {
    max-width: 760px;
    margin-bottom: 0;
    font-size: clamp(2.8rem, 5.5vw, 5.8rem);
}

.console-heading p:last-child {
    max-width: 330px;
    margin-bottom: 0;
}

.filter-bar,
.lab-tabs {
    margin-bottom: 20px;
}

.repo-grid,
.mini-project-grid,
.route-grid {
    display: grid;
    gap: 16px;
}

.repo-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.repo-card {
    display: flex;
    min-height: 380px;
    flex-direction: column;
    padding: 24px;
    transition: transform 180ms var(--ease), opacity 180ms var(--ease);
}

.repo-card:hover,
.route-card:hover,
.mini-project:hover {
    transform: translateY(-3px);
}

.repo-card p {
    flex: 1;
}

.repo-card[hidden],
.lab-panel[hidden] {
    display: none;
}

.repo-link {
    width: 100%;
    margin-top: 22px;
}

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

.route-card {
    display: grid;
    gap: 12px;
    min-height: 180px;
    padding: 24px;
    transition: transform 180ms var(--ease), border-color 180ms var(--ease), background-color 180ms var(--ease);
}

.route-card strong {
    font-size: 1.3rem;
}

.console-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.console-row strong {
    font-family: "Instrument Serif", serif;
    font-size: 4rem;
    font-style: italic;
    font-weight: 400;
    line-height: 1;
}

.console-list {
    justify-content: flex-start;
}

.lab-panels {
    min-height: 320px;
}

.lab-panel {
    padding: 24px;
}

.button-stage {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
    justify-content: center;
    min-height: 250px;
}

.mega-button.alt {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.08);
}

.mega-button.quiet {
    color: rgba(255, 255, 255, 0.84);
    border-color: rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.22);
}

.mini-project-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mini-project {
    display: grid;
    gap: 9px;
    min-height: 150px;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.04);
    transition: transform 180ms var(--ease), border-color 180ms var(--ease), background-color 180ms var(--ease);
}

.mini-project:hover {
    border-color: rgba(255, 255, 255, 0.32);
    background: rgba(255, 255, 255, 0.09);
}

.mini-project span {
    width: fit-content;
    padding: 5px 8px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    color: #fff;
    font-family: "Roboto Mono", monospace;
    font-size: 0.72rem;
}

.mini-project strong {
    overflow-wrap: anywhere;
}

.mini-project small {
    color: var(--muted);
}

.responsive-preview {
    display: grid;
    grid-template-columns: 160px minmax(0, 1fr);
    gap: 16px;
    min-height: 260px;
}

.preview-sidebar,
.preview-main,
.preview-chart,
.preview-grid span {
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.045);
}

.preview-sidebar {
    display: grid;
    align-content: start;
    gap: 10px;
    padding: 14px;
}

.preview-sidebar span {
    height: 38px;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.12);
}

.preview-main {
    display: grid;
    gap: 16px;
    padding: 16px;
}

.preview-chart {
    display: flex;
    align-items: end;
    gap: 10px;
    min-height: 136px;
    padding: 18px;
}

.preview-chart i {
    flex: 1;
    min-height: 42px;
    border-radius: var(--radius);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.1));
}

.preview-chart i:nth-child(2) {
    min-height: 92px;
}

.preview-chart i:nth-child(3) {
    min-height: 68px;
}

.preview-chart i:nth-child(4) {
    min-height: 112px;
}

.preview-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.preview-grid span {
    min-height: 54px;
}

.site-footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 14px;
    padding: 26px 0 34px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.92rem;
}

.site-footer p {
    margin: 0;
}

.site-footer a:hover {
    color: #fff;
}

.toast {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 80;
    max-width: min(360px, calc(100vw - 40px));
    padding: 12px 14px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: var(--radius);
    color: #fff;
    background: rgba(0, 0, 0, 0.86);
    box-shadow: var(--shadow);
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
    transition: opacity 180ms var(--ease), transform 180ms var(--ease);
}

.toast.visible {
    opacity: 1;
    transform: translateY(0);
}

.qr-dialog {
    width: min(430px, calc(100% - 38px));
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: var(--radius);
    color: #fff;
    background: #050505;
    box-shadow: var(--shadow);
}

.qr-dialog::backdrop {
    background: rgba(0, 0, 0, 0.72);
}

.qr-dialog img {
    width: 100%;
    border-radius: var(--radius);
    background: #fff;
}

.qr-dialog p {
    margin: 14px 0 0;
    color: var(--muted);
    text-align: center;
}

.dialog-close {
    display: grid;
    width: 38px;
    height: 38px;
    margin: 0 0 10px auto;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: var(--radius);
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
    cursor: pointer;
}

.reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 360ms var(--ease), transform 360ms var(--ease);
}

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

:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px;
}

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

@media (max-width: 1080px) {
    .studio-brand span {
        display: none;
    }

    .nav-link,
    .nav-cta {
        padding-inline: 18px;
    }

    .capability-grid,
    .repo-grid,
    .mini-project-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .archive-hero,
    .practice-hero,
    .contact-section {
        grid-template-columns: 1fr;
    }

    .archive-panel,
    .lab-console,
    .qr-card {
        max-width: 420px;
    }
}

@media (max-width: 820px) {
    :root {
        --header-height: 68px;
    }

    .studio-header {
        top: 14px;
        left: 14px;
        right: 14px;
    }

    .nav-toggle {
        display: block;
    }

    .studio-nav {
        position: fixed;
        top: 74px;
        right: 14px;
        left: 14px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        min-height: 0;
        border-radius: var(--radius);
    }

    .nav-open .studio-nav {
        display: flex;
    }

    .nav-link,
    .nav-cta {
        width: 100%;
        min-height: 52px;
        border-left: 0;
        border-top: 1px solid rgba(255, 255, 255, 0.07);
    }

    .nav-link:first-child {
        border-top: 0;
    }

    .spade-hero {
        display: flex;
        min-height: auto;
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
        padding: 104px 20px 48px;
        overflow: hidden;
    }

    .spade-hero::before {
        background-size: 48px 48px;
        mask-image: linear-gradient(180deg, black, transparent 82%);
    }

    .spade-video-panel {
        position: relative;
        inset: auto;
        z-index: 2;
        order: 3;
        width: 100%;
        height: clamp(220px, 58vw, 320px);
        margin: 2px 0 4px;
        overflow: hidden;
        border: 1px solid rgba(28, 46, 30, 0.12);
        border-radius: 26px;
        opacity: 1;
        background: #e9ede6;
        box-shadow: 0 24px 74px rgba(28, 46, 30, 0.14);
    }

    .spade-video {
        object-position: center 22%;
        transform: translate3d(0, 0, 0) scale(1.015);
        transition: transform 160ms var(--ease);
    }

    .spade-video-wash {
        background:
            radial-gradient(circle at 66% 28%, rgba(255, 255, 255, 0.24), transparent 26%),
            linear-gradient(90deg, rgba(247, 248, 244, 0.16) 0%, rgba(247, 248, 244, 0.02) 42%, rgba(247, 248, 244, 0.08)),
            linear-gradient(0deg, rgba(247, 248, 244, 0.36) 0%, transparent 34%);
        transition: none;
    }

    .spade-hero-content {
        display: contents;
    }

    .spade-kicker {
        position: relative;
        z-index: 3;
        order: 1;
        max-width: 100%;
        flex-wrap: wrap;
        gap: 6px 9px;
        margin-bottom: 14px;
        font-size: 0.72rem;
        line-height: 1.35;
        letter-spacing: 0.06em;
    }

    .spade-hero h1 {
        position: relative;
        z-index: 3;
        order: 2;
        min-height: auto;
        margin-bottom: 16px;
        font-size: clamp(2.46rem, 12vw, 4rem);
        line-height: 0.98;
        overflow-wrap: anywhere;
    }

    .type-cursor {
        width: 2px;
    }

    .spade-lede {
        position: relative;
        z-index: 3;
        order: 4;
        margin-bottom: 22px;
        font-size: 1rem;
        line-height: 1.68;
    }

    .service-picker {
        position: relative;
        z-index: 3;
        order: 5;
        width: 100%;
        margin-bottom: 20px;
        padding: 16px;
        border: 1px solid rgba(28, 46, 30, 0.1);
        border-radius: 22px;
        background: rgba(250, 251, 249, 0.74);
        box-shadow: 0 18px 54px rgba(28, 46, 30, 0.08);
        backdrop-filter: blur(14px);
    }

    .service-picker h2 {
        margin-bottom: 2px;
        font-size: 1.32rem;
    }

    .service-picker p {
        margin-bottom: 14px;
        font-size: 0.92rem;
    }

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

    .service-pill {
        justify-content: center;
        min-width: 0;
        min-height: 44px;
        padding: 0 12px;
        text-align: center;
        line-height: 1.15;
    }

    .service-status {
        min-height: 0;
        padding: 12px 14px;
        font-size: 0.82rem;
        line-height: 1.45;
    }

    .service-status.is-active {
        display: grid;
        align-items: start;
        gap: 8px;
    }

    .spade-actions {
        position: relative;
        z-index: 3;
        order: 6;
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .spade-link {
        justify-content: center;
        width: 100%;
        min-height: 48px;
        padding: 0 16px;
        text-align: center;
    }

    .spade-portrait {
        order: 7;
        width: min(100%, 420px);
        align-self: center;
        border-radius: 24px;
        box-shadow: 0 22px 70px rgba(28, 46, 30, 0.16);
    }

    .spade-portrait img {
        aspect-ratio: 4 / 4.7;
    }

    .spade-portrait figcaption {
        flex-wrap: wrap;
        padding: 13px 14px;
        font-size: 0.68rem;
        line-height: 1.35;
        letter-spacing: 0.06em;
    }

    .capabilities-section {
        position: relative;
        min-height: 108svh;
        padding: 0;
        background-position: 60% 0;
    }

    .capabilities-section .section-video {
        position: absolute;
        inset: 0;
        z-index: 0;
        display: block;
        width: 100%;
        height: 100%;
        object-position: 60% 0;
        opacity: 1;
        filter: saturate(1.1) contrast(1.03) brightness(1);
    }

    .capabilities-section .edge-shade {
        z-index: 1;
        background:
            linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.16) 31%, rgba(0, 0, 0, 0.7) 70%, #040404 100%),
            linear-gradient(90deg, rgba(0, 0, 0, 0.52), transparent 56%, rgba(0, 0, 0, 0.28));
    }

    .capabilities-section .section-inner {
        min-height: 108svh;
        padding: 92px 20px 44px;
        margin-top: 0;
    }

    .capabilities-section .cinematic-heading {
        margin-bottom: clamp(230px, 72vw, 390px);
    }

    .cinematic-heading h2 {
        font-size: clamp(3.1rem, 14vw, 5.8rem);
        line-height: 0.9;
        text-shadow: 0 10px 34px rgba(0, 0, 0, 0.7);
    }

    .capabilities-section .capability-grid .liquid-card {
        min-height: 300px;
        background: rgba(8, 8, 8, 0.62);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
    }

    .capabilities-section .card-top {
        display: grid;
        grid-template-columns: 44px 1fr;
        align-items: start;
    }

    .capabilities-section .tag-row {
        justify-content: flex-start;
    }

    .cinema-hero {
        min-height: 92svh;
        padding: 118px 20px 52px;
    }

    .cinema-hero h1,
    .archive-copy h1 {
        font-size: clamp(3.05rem, 15vw, 5.6rem);
    }

    .hero-command {
        width: 100%;
    }

    .hero-side-note {
        position: relative;
        top: auto;
        right: auto;
        z-index: 2;
        align-self: flex-start;
        margin-bottom: 24px;
        text-align: left;
        font-size: 1rem;
    }

    .cinema-hero {
        flex-direction: column;
        justify-content: flex-end;
        align-items: stretch;
    }

    .capability-grid,
    .repo-grid,
    .mini-project-grid,
    .route-grid,
    .feature-work {
        grid-template-columns: 1fr;
    }

    .split-heading,
    .console-heading {
        display: block;
    }

    .split-heading .glass-button {
        margin-top: 18px;
    }

    .work-section,
    .story-section,
    .contact-section,
    .page-frame,
    .site-footer {
        width: min(100% - 28px, var(--max-width));
    }

    .story-heading {
        position: relative;
        top: auto;
    }

    .story-track {
        width: 100%;
    }

    .story-card {
        min-height: 230px;
        padding: 24px 22px 24px 58px;
    }

    .archive-hero,
    .practice-hero {
        min-height: auto;
        padding-top: 126px;
    }

    .responsive-preview {
        grid-template-columns: 1fr;
    }

    .preview-sidebar {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .preview-sidebar span {
        height: 32px;
    }
}

@media (max-width: 460px) {
    .studio-header {
        top: 10px;
        left: 10px;
        right: 10px;
    }

    .studio-brand {
        padding-inline: 14px;
    }

    .studio-brand strong {
        font-size: 0.95rem;
    }

    .nav-toggle {
        width: 54px;
    }

    .studio-nav {
        top: 70px;
        right: 10px;
        left: 10px;
    }

    .spade-hero {
        padding: 92px 16px 42px;
        gap: 18px;
    }

    .spade-video-panel {
        height: clamp(210px, 62vw, 285px);
        border-radius: 22px;
    }

    .spade-kicker {
        margin-bottom: 14px;
        font-size: 0.68rem;
    }

    .spade-hero h1 {
        font-size: clamp(2.24rem, 11.6vw, 3rem);
    }

    .spade-lede {
        font-size: 0.96rem;
    }

    .capabilities-section .section-inner {
        min-height: 112svh;
        padding: 86px 16px 38px;
    }

    .capabilities-section {
        min-height: 112svh;
        background-position: 60% 0;
    }

    .capabilities-section .section-video {
        object-position: 60% 0;
    }

    .capabilities-section .cinematic-heading {
        margin-bottom: clamp(250px, 82vw, 380px);
    }

    .cinematic-heading h2 {
        font-size: clamp(2.85rem, 13vw, 4.5rem);
    }

    .service-picker {
        padding: 14px;
        border-radius: 20px;
    }

    .service-pills {
        grid-template-columns: 1fr;
    }

    .service-pill {
        min-height: 44px;
    }

    .spade-portrait {
        border-radius: 22px;
    }

    .spade-portrait figcaption {
        display: grid;
        grid-template-columns: 1fr auto;
        gap: 8px;
    }

    .glass-button,
    .mega-button {
        width: 100%;
    }

    .capability-grid .liquid-card,
    .repo-card,
    .route-card,
    .lab-panel {
        padding: 18px;
    }

    .flagship-card {
        min-height: 340px;
        padding: 22px;
    }

    .toast {
        right: 14px;
        bottom: 14px;
    }
}
