/* Triad Tech — visual system
   Dark editorial engineering aesthetic, built from the existing blue identity. */

:root {
    --ink-950: #05070c;
    --ink-925: #060910;
    --ink-900: #080c14;
    --ink-850: #0b111c;
    --ink-800: #101826;
    --ink-750: #151f2e;
    --paper: #f4f8ff;
    --paper-soft: #d8e1ee;
    --muted: #8e9aac;
    --muted-strong: #aeb9c8;
    --blue: #4aa8ff;
    --blue-bright: #79c0ff;
    --blue-deep: #1677d2;
    --line: rgba(224, 236, 255, 0.10);
    --line-strong: rgba(224, 236, 255, 0.18);
    --surface: rgba(255, 255, 255, 0.025);
    --surface-hover: rgba(255, 255, 255, 0.045);
    --font-sans: 'Manrope', 'Segoe UI', sans-serif;
    --font-mono: 'IBM Plex Mono', 'Cascadia Mono', monospace;
    --shell: 1240px;
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 22px;
    --header-height: 76px;
    --ease: cubic-bezier(.2, .72, .25, 1);
}

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

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

body {
    min-width: 320px;
    overflow-x: hidden;
    background: var(--ink-925);
    color: var(--paper);
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.65;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

::selection {
    background: rgba(74, 168, 255, .30);
    color: #fff;
}

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

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

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

button {
    color: inherit;
    font: inherit;
}

ul,
ol {
    list-style: none;
}

address {
    font-style: normal;
}

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

.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;
    left: 18px;
    top: 14px;
    z-index: 2000;
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    background: var(--paper);
    color: var(--ink-950);
    font-size: 13px;
    font-weight: 700;
    transform: translateY(-150%);
    transition: transform .2s ease;
}

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

.shell {
    width: min(calc(100% - 48px), var(--shell));
    margin-inline: auto;
}

.scroll-progress {
    position: fixed;
    inset: 0 0 auto;
    z-index: 1500;
    height: 2px;
    pointer-events: none;
}

.scroll-progress span {
    display: block;
    width: 100%;
    height: 100%;
    background: var(--blue);
    transform: scaleX(0);
    transform-origin: left center;
}

/* Header */
.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 1000;
    height: var(--header-height);
    border-bottom: 1px solid transparent;
    transition: background .3s ease, border-color .3s ease;
}

.site-header.is-scrolled,
.site-header.is-open {
    border-color: var(--line);
    background: rgba(6, 9, 16, .88);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    width: max-content;
}

.brand-symbol {
    width: 34px;
    height: auto;
    flex: 0 0 auto;
}

.brand-wordmark {
    width: 132px;
    height: auto;
    flex: 0 0 auto;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.site-nav > a {
    position: relative;
    color: var(--muted-strong);
    font-size: 13px;
    font-weight: 600;
    transition: color .2s ease;
}

.site-nav > a:not(.nav-cta)::after {
    content: '';
    position: absolute;
    right: 0;
    bottom: -8px;
    left: 0;
    height: 1px;
    background: var(--blue);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform .25s var(--ease);
}

.site-nav > a:hover {
    color: var(--paper);
}

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

.site-nav .nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 42px;
    padding: 0 16px;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, .035);
    color: var(--paper);
    transition: border-color .2s ease, background .2s ease, transform .2s ease;
}

.site-nav .nav-cta:hover {
    border-color: rgba(74, 168, 255, .5);
    background: rgba(74, 168, 255, .08);
    transform: translateY(-1px);
}

.menu-toggle {
    display: none;
    width: 46px;
    height: 46px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--surface);
    cursor: pointer;
}

.menu-toggle > span:not(.sr-only) {
    position: absolute;
    width: 19px;
    height: 1px;
    background: var(--paper);
    transition: transform .25s ease;
}

.menu-toggle > span:nth-child(2) { transform: translateY(-4px); }
.menu-toggle > span:nth-child(3) { transform: translateY(4px); }
.menu-toggle[aria-expanded='true'] > span:nth-child(2) { transform: rotate(45deg); }
.menu-toggle[aria-expanded='true'] > span:nth-child(3) { transform: rotate(-45deg); }

/* Shared typography and controls */
.eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--muted-strong);
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: .08em;
    line-height: 1.4;
    text-transform: uppercase;
}

.eyebrow > span {
    width: 18px;
    height: 1px;
    background: var(--blue);
}

.eyebrow-light {
    color: rgba(244, 248, 255, .7);
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 50px;
    padding: 0 20px;
    border: 1px solid transparent;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 700;
    transition: transform .2s var(--ease), border-color .2s ease, background .2s ease, color .2s ease;
}

.button-primary {
    background: var(--paper);
    color: var(--ink-950);
}

.button-primary:hover {
    background: #fff;
    transform: translateY(-2px);
}

.button-quiet {
    border-color: var(--line-strong);
    background: rgba(255, 255, 255, .025);
    color: var(--paper-soft);
}

.button-quiet:hover {
    border-color: rgba(74, 168, 255, .45);
    background: rgba(74, 168, 255, .06);
    color: var(--paper);
    transform: translateY(-2px);
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    width: max-content;
    color: var(--paper);
    font-size: 14px;
    font-weight: 700;
}

.text-link span {
    color: var(--blue-bright);
    transition: transform .2s ease;
}

.text-link:hover span {
    transform: translateX(4px);
}

.section {
    position: relative;
    padding: 150px 0;
    border-top: 1px solid var(--line);
}

.section-heading h2,
.engagement-intro h2,
.about-statement h2 {
    margin-top: 24px;
    color: var(--paper);
    font-size: clamp(34px, 4.2vw, 58px);
    font-weight: 500;
    letter-spacing: -.045em;
    line-height: 1.08;
    text-wrap: balance;
}

.split-heading,
.process-heading {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(280px, .65fr);
    gap: 96px;
    align-items: end;
    margin-bottom: 84px;
}

.split-heading > p,
.process-heading > p {
    color: var(--muted);
    font-size: 16px;
    line-height: 1.8;
}

/* Hero */
.hero {
    position: relative;
    min-height: 920px;
    overflow: hidden;
    padding: 176px 0 0;
    background: var(--ink-925);
}

.hero::after {
    content: '';
    position: absolute;
    z-index: 0;
    top: -360px;
    left: 56%;
    width: 780px;
    height: 780px;
    border-radius: 50%;
    background: rgba(26, 125, 216, .12);
    filter: blur(110px);
    pointer-events: none;
}

.hero-grid-bg,
.contact-grid {
    position: absolute;
    inset: 0;
    z-index: 0;
    opacity: .18;
    background-image:
        linear-gradient(rgba(148, 180, 220, .10) 1px, transparent 1px),
        linear-gradient(90deg, rgba(148, 180, 220, .10) 1px, transparent 1px);
    background-size: 64px 64px;
    -webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 82%);
    mask-image: linear-gradient(to bottom, #000 0%, transparent 82%);
}

.hero-orbit {
    position: absolute;
    z-index: 0;
    border: 1px solid rgba(74, 168, 255, .08);
    border-radius: 50%;
    pointer-events: none;
}

.hero-orbit-one {
    top: 60px;
    right: -260px;
    width: 720px;
    height: 720px;
}

.hero-orbit-two {
    top: 210px;
    right: -110px;
    width: 420px;
    height: 420px;
}

.hero-layout {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.06fr) minmax(420px, .82fr);
    gap: 88px;
    align-items: center;
}

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

.hero h1 {
    margin: 30px 0 28px;
    color: var(--paper);
    font-size: clamp(48px, 6vw, 80px);
    font-weight: 500;
    letter-spacing: -.06em;
    line-height: .99;
    text-wrap: balance;
}

.hero h1 em {
    color: var(--blue-bright);
    font-style: normal;
}

.hero-lead {
    max-width: 650px;
    color: var(--muted-strong);
    font-size: clamp(17px, 1.5vw, 20px);
    font-weight: 400;
    line-height: 1.72;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 38px;
}

.hero-capabilities {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 26px;
    margin-top: 40px;
    color: var(--muted);
    font-family: var(--font-mono);
    font-size: 11px;
    text-transform: uppercase;
}

.hero-capabilities li {
    position: relative;
    padding-left: 14px;
}

.hero-capabilities li::before {
    content: '';
    position: absolute;
    top: .72em;
    left: 0;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--blue);
}

.system-visual {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-md);
    background: rgba(8, 13, 22, .88);
    box-shadow: 0 36px 90px rgba(0, 0, 0, .34), inset 0 1px rgba(255, 255, 255, .035);
}

.system-visual::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: .22;
    background-image: radial-gradient(rgba(121, 192, 255, .35) .7px, transparent .7px);
    background-size: 16px 16px;
    pointer-events: none;
}

.system-bar,
.system-footer {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    height: 50px;
    padding: 0 16px;
    border-bottom: 1px solid var(--line);
    background: rgba(255, 255, 255, .018);
}

.window-dots {
    display: flex;
    gap: 5px;
}

.window-dots span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(216, 225, 238, .32);
}

.system-label {
    margin-left: 14px;
    color: var(--muted);
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: .03em;
}

.live-state {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-left: auto;
    color: var(--muted-strong);
    font-family: var(--font-mono);
    font-size: 9px;
    text-transform: uppercase;
}

.live-state i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--blue);
    box-shadow: 0 0 0 4px rgba(74, 168, 255, .10);
}

.system-canvas {
    position: relative;
    z-index: 1;
    padding: 30px 26px 34px;
}

.system-axis {
    display: flex;
    justify-content: space-between;
    margin-bottom: 22px;
    color: rgba(174, 185, 200, .48);
    font-family: var(--font-mono);
    font-size: 8px;
    letter-spacing: .12em;
}

.flow-node {
    display: grid;
    grid-template-columns: 32px 1fr auto;
    gap: 12px;
    align-items: center;
    min-height: 96px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, .026);
}

.flow-node-core {
    border-color: rgba(74, 168, 255, .32);
    background: rgba(33, 125, 207, .10);
    box-shadow: inset 0 0 32px rgba(74, 168, 255, .025);
}

.node-index {
    align-self: start;
    color: var(--blue-bright);
    font-family: var(--font-mono);
    font-size: 9px;
}

.flow-node small {
    display: block;
    margin-bottom: 2px;
    color: var(--muted);
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.flow-node strong {
    display: block;
    color: var(--paper);
    font-size: 14px;
    font-weight: 600;
}

.flow-node p {
    margin-top: 2px;
    color: var(--muted);
    font-size: 11px;
}

.node-state {
    padding: 4px 7px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--muted-strong);
    font-family: var(--font-mono);
    font-size: 8px;
    text-transform: uppercase;
}

.flow-connector {
    position: relative;
    width: 1px;
    height: 24px;
    margin-left: 31px;
    background: var(--line-strong);
}

.flow-connector::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: -2px;
    width: 5px;
    height: 5px;
    border-right: 1px solid var(--blue);
    border-bottom: 1px solid var(--blue);
    transform: rotate(45deg);
}

.system-footer {
    justify-content: center;
    gap: 11px;
    height: 42px;
    border-top: 1px solid var(--line);
    border-bottom: 0;
    color: var(--muted);
    font-family: var(--font-mono);
    font-size: 8px;
    text-transform: uppercase;
}

.system-footer i {
    width: 18px;
    height: 1px;
    background: var(--line-strong);
}

.hero-footnote {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    gap: 32px;
    margin-top: 118px;
    padding: 28px 0;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 13px;
}

.hero-footnote a {
    color: var(--paper-soft);
    font-weight: 600;
}

.hero-footnote a span {
    margin-left: 8px;
    color: var(--blue-bright);
}

/* Use cases */
.use-cases {
    overflow: hidden;
    background: var(--ink-900);
}

.use-cases .split-heading {
    margin-bottom: 56px;
}

.case-carousel {
    --case-gap: 24px;
    --case-peek: 84px;
    position: relative;
}

.case-carousel-nav {
    display: flex;
    min-height: 52px;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    margin-bottom: 18px;
}

.case-progress {
    display: grid;
    width: min(430px, 52%);
    grid-auto-columns: 1fr;
    grid-auto-flow: column;
    gap: 8px;
}

.case-progress-segment {
    position: relative;
    height: 44px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.case-progress-segment::before,
.case-progress-segment > span {
    content: '';
    position: absolute;
    top: 50%;
    right: 0;
    left: 0;
    height: 2px;
    transform: translateY(-50%);
}

.case-progress-segment::before {
    background: rgba(151, 174, 199, .2);
}

.case-progress-segment > span {
    background: var(--blue-bright);
    box-shadow: 0 0 14px rgba(62, 157, 246, .38);
    transform: translateY(-50%) scaleX(0);
    transform-origin: left center;
}

.case-navigation {
    display: flex;
    align-items: center;
    gap: 8px;
}

.case-count {
    display: flex;
    min-width: 76px;
    align-items: baseline;
    justify-content: center;
    gap: 7px;
    color: var(--muted);
    font-family: var(--font-mono);
    font-size: 9px;
}

.case-count b {
    color: var(--paper);
    font-size: 12px;
    font-weight: 500;
}

.case-count i {
    color: var(--line-strong);
    font-style: normal;
}

.case-arrow {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border: 1px solid var(--line-strong);
    border-radius: 5px;
    background: transparent;
    color: var(--paper-soft);
    cursor: pointer;
    font: inherit;
    transition: border-color .2s ease, background .2s ease, color .2s ease, transform .2s var(--ease);
}

.case-arrow:hover {
    border-color: rgba(80, 170, 255, .48);
    background: rgba(62, 157, 246, .08);
    color: var(--blue-bright);
    transform: translateY(-2px);
}

.case-viewport {
    overflow: hidden;
    outline: none;
    cursor: grab;
    touch-action: pan-y;
    user-select: none;
}

.case-viewport:focus-visible {
    outline: 2px solid var(--blue-bright);
    outline-offset: 5px;
}

.case-viewport.is-dragging {
    cursor: grabbing;
}

.case-track {
    display: flex;
    gap: var(--case-gap);
    will-change: transform;
    transition: transform .62s cubic-bezier(.22, 1, .36, 1);
}

.case-track.is-instant,
.case-track.is-dragging {
    transition: none;
}

.case-card {
    display: grid;
    flex: 0 0 calc(100% - var(--case-peek));
    height: 520px;
    min-width: 0;
    grid-template-columns: minmax(0, 1.56fr) minmax(340px, .84fr);
    overflow: hidden;
    border: 1px solid rgba(135, 168, 202, .18);
    border-radius: 10px;
    clip-path: inset(0 0 0 0 round 10px);
    background: #0b121d;
    opacity: .34;
    filter: saturate(.62);
    transform: scale(.985);
    transform-origin: left center;
    transition: opacity .42s ease, filter .42s ease, transform .62s cubic-bezier(.22, 1, .36, 1), border-color .42s ease;
}

.case-card.is-active {
    border-color: rgba(105, 174, 238, .3);
    opacity: 1;
    filter: saturate(1);
    transform: scale(1);
}

.case-media {
    position: relative;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
    padding: 16px;
    background: #080e17;
}

.case-browser {
    display: grid;
    height: 100%;
    max-height: 100%;
    min-width: 0;
    min-height: 0;
    grid-template-rows: 42px minmax(0, 1fr);
    overflow: hidden;
    border: 1px solid rgba(159, 184, 210, .23);
    border-radius: 7px;
    background: #fff;
    box-shadow: 0 24px 54px rgba(0, 0, 0, .28);
}

.case-browser-bar {
    display: grid;
    min-width: 0;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding: 0 12px;
    border-bottom: 1px solid rgba(148, 174, 202, .14);
    background: #111a27;
}

.case-browser-dots {
    display: flex;
    gap: 5px;
}

.case-browser-dots i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #556173;
}

.case-browser-dots i:first-child {
    background: #718095;
}

.case-browser-address {
    display: flex;
    width: min(100%, 360px);
    min-height: 25px;
    align-items: center;
    gap: 7px;
    justify-self: center;
    padding: 0 10px;
    overflow: hidden;
    border: 1px solid rgba(154, 181, 208, .13);
    border-radius: 4px;
    background: #0b121d;
    color: #8491a2;
    font-family: var(--font-mono);
    font-size: 8px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.case-browser-address i {
    width: 5px;
    height: 5px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: #46c891;
    box-shadow: 0 0 8px rgba(70, 200, 145, .5);
}

.case-browser-live {
    color: #6fdcaf;
    font-family: var(--font-mono);
    font-size: 7px;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.case-browser-viewport {
    position: relative;
    display: block;
    min-height: 0;
    overflow: hidden;
    background-color: #edf3fa;
    background-image: var(--case-placeholder);
    background-position: top center;
    background-size: cover;
    -webkit-user-drag: none;
}

.case-screenshot {
    display: block;
    width: 100%;
    height: auto;
    min-height: 100%;
    transform: translate3d(0, 0, 0);
    transform-origin: top center;
    transition: opacity .45s ease, filter .6s ease, transform 11s cubic-bezier(.4, 0, .6, 1);
    will-change: transform;
    -webkit-user-drag: none;
}

.case-screenshot.is-loading {
    opacity: 0;
    filter: blur(12px);
}

.case-scroll-hint {
    position: absolute;
    bottom: 12px;
    left: 12px;
    display: flex;
    min-height: 32px;
    align-items: center;
    padding: 0 11px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 3px;
    background: rgba(7, 12, 20, .88);
    color: #fff;
    font-family: var(--font-mono);
    font-size: 7px;
    letter-spacing: .03em;
    text-transform: uppercase;
    transition: opacity .25s ease, transform .25s ease;
}

.case-info {
    display: flex;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
    flex-direction: column;
    justify-content: space-between;
    gap: 20px;
    padding: 34px 30px 28px;
    border-left: 1px solid var(--line);
    background: linear-gradient(155deg, rgba(15, 27, 42, .98), rgba(8, 15, 25, .98));
    transition: opacity .45s ease;
}

.case-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.case-topline > span {
    color: var(--blue-bright);
    font-family: var(--font-mono);
    font-size: 9px;
}

.case-topline ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 6px;
}

.case-topline li {
    padding: 5px 8px;
    border: 1px solid rgba(148, 176, 204, .2);
    border-radius: 3px;
    color: var(--muted-strong);
    font-family: var(--font-mono);
    font-size: 7px;
    letter-spacing: .03em;
    text-transform: uppercase;
}

.case-info h3 {
    margin-top: 16px;
    color: var(--paper);
    font-size: clamp(34px, 3.5vw, 46px);
    font-weight: 500;
    letter-spacing: -.05em;
    line-height: 1;
}

.case-info > div:first-child > p {
    margin-top: 14px;
    color: var(--muted-strong);
    font-size: 13px;
    line-height: 1.58;
}

.case-deliverables > span {
    color: var(--muted);
    font-family: var(--font-mono);
    font-size: 8px;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.case-deliverables dl {
    margin-top: 10px;
    border-top: 1px solid var(--line);
}

.case-deliverables dl > div {
    display: grid;
    grid-template-columns: 70px 1fr;
    gap: 12px;
    padding: 11px 0;
    border-bottom: 1px solid var(--line);
}

.case-deliverables dt {
    color: var(--blue-bright);
    font-family: var(--font-mono);
    font-size: 8px;
    text-transform: uppercase;
}

.case-deliverables dd {
    color: var(--paper-soft);
    font-size: 11px;
    line-height: 1.45;
}

.case-project-link {
    display: flex;
    min-height: 44px;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid var(--line-strong);
    color: var(--paper);
    font-size: 12px;
    font-weight: 600;
}

.case-project-link span {
    color: var(--blue-bright);
    transition: transform .2s var(--ease);
}

.case-project-link:hover span {
    transform: translate(3px, -3px);
}

.case-swipe-hint {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 9px;
    margin-top: 16px;
    color: var(--muted);
    font-family: var(--font-mono);
    font-size: 8px;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.case-swipe-hint span {
    width: 28px;
    height: 1px;
    background: var(--line-strong);
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
    .case-card.is-active .case-browser-viewport:hover .case-screenshot {
        transform: translate3d(0, -60%, 0);
    }

    .case-browser-viewport:hover .case-scroll-hint {
        opacity: 0;
        transform: translateY(5px);
    }
}

/* Morphing card stack (idle state) */
.case-carousel[data-mode="stack"] .case-card,
.case-carousel[data-mode="opening"] .case-card,
.case-carousel[data-mode="stacking"] .case-card {
    transition:
        transform .7s cubic-bezier(.22, 1, .36, 1),
        clip-path .7s cubic-bezier(.22, 1, .36, 1),
        opacity .5s ease,
        filter .5s ease;
    will-change: transform, clip-path;
}

.case-carousel.is-repositioning .case-card,
.case-carousel.is-repositioning .case-track {
    transition: none !important;
}

.case-carousel[data-mode="stack"] .case-info,
.case-carousel[data-mode="stacking"] .case-info {
    opacity: 0;
}

.case-carousel[data-mode="opening"] .case-info {
    transition-delay: .18s;
}

.case-carousel[data-mode="stack"] .case-scroll-hint {
    opacity: 0;
}

.case-carousel[data-mode="stack"] .case-viewport,
.case-carousel[data-mode="stacking"] .case-viewport {
    cursor: default;
}

.case-stack-label {
    position: absolute;
    bottom: 26px;
    left: 28px;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 14px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 4px;
    background: rgba(7, 12, 20, .9);
    color: #fff;
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: .05em;
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity .4s ease, transform .4s ease;
    pointer-events: none;
}

.case-stack-label i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--blue-bright);
    box-shadow: 0 0 10px rgba(121, 192, 255, .6);
}

.case-carousel[data-mode="stack"] .case-card[data-stack-layer="0"] .case-stack-label,
.case-carousel[data-mode="stacking"] .case-card[data-stack-layer="0"] .case-stack-label {
    opacity: 1;
    transform: translateY(0);
}

.case-stack-hint {
    display: none;
    align-items: center;
    justify-content: flex-end;
    gap: 9px;
    margin-top: 16px;
    color: var(--muted);
    font-family: var(--font-mono);
    font-size: 8px;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.case-stack-hint span {
    width: 28px;
    height: 1px;
    background: var(--line-strong);
}

.case-carousel[data-mode="stack"] .case-swipe-hint,
.case-carousel[data-mode="stacking"] .case-swipe-hint {
    display: none;
}

.case-carousel[data-mode="stack"] .case-stack-hint,
.case-carousel[data-mode="stacking"] .case-stack-hint {
    display: flex;
}

/* Product */
.product-section {
    overflow: hidden;
    background: #e9f3ff;
    color: #07101d;
}

.product-section::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -160px;
    width: 520px;
    height: 520px;
    border: 1px solid rgba(7, 64, 118, .12);
    border-radius: 50%;
    box-shadow: 0 0 0 80px rgba(7, 64, 118, .025), 0 0 0 160px rgba(7, 64, 118, .018);
}

.product-panel {
    position: relative;
    display: grid;
    grid-template-columns: 1fr .82fr;
    overflow: hidden;
    border: 1px solid rgba(7, 34, 60, .16);
    border-radius: var(--radius-md);
    background: #f6faff;
    box-shadow: 0 30px 70px rgba(10, 61, 107, .12);
}

.product-copy {
    padding: clamp(44px, 6vw, 86px);
}

.product-copy .eyebrow {
    color: #48627d;
}

.product-copy h2 {
    max-width: 690px;
    margin-top: 26px;
    color: #07101d;
    font-size: clamp(36px, 4.5vw, 62px);
    font-weight: 500;
    letter-spacing: -.05em;
    line-height: 1.05;
}

.product-copy > p:not(.eyebrow) {
    max-width: 580px;
    margin-top: 30px;
    color: #496177;
    font-size: 16px;
    line-height: 1.8;
}

.product-copy .text-link {
    margin-top: 34px;
    color: #07101d;
}

.product-copy .text-link span {
    color: #0967bb;
}

.product-links {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 34px;
    margin-top: 34px;
}

.product-links .text-link {
    color: #07101d;
}

.product-links .text-link span {
    color: #0967bb;
}

.product-showcase {
    position: relative;
    display: grid;
    min-height: 520px;
    grid-template-rows: 1fr 1fr;
    gap: clamp(20px, 2.4vw, 30px);
    overflow: hidden;
    padding: clamp(34px, 3.4vw, 52px);
    border-left: 1px solid rgba(7, 34, 60, .15);
    background: #0a4f90;
}

.product-showcase::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: .14;
    background-image:
        linear-gradient(rgba(255, 255, 255, .22) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .22) 1px, transparent 1px);
    background-size: 48px 48px;
}

.product-shot {
    position: relative;
    z-index: 1;
    display: flex;
    min-height: 0;
    flex-direction: column;
}

.product-shot-frame {
    display: block;
    flex: 1;
    min-height: 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 8px;
    background-color: #eef4fb;
    background-image: var(--shot-placeholder);
    background-size: cover;
    background-position: top center;
    box-shadow: 0 18px 40px rgba(2, 24, 46, .34);
    transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}

.product-shot-frame img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

.product-shot-label {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: space-between;
    margin-top: 12px;
    color: #fff;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.product-shot-label b {
    color: #a7d8ff;
    transition: transform .2s var(--ease);
}

@media (hover: hover) {
    .product-shot:hover .product-shot-frame {
        transform: translateY(-4px);
        box-shadow: 0 26px 52px rgba(2, 24, 46, .42);
    }

    .product-shot:hover .product-shot-label b {
        transform: translate(3px, -3px);
    }
}

.product-shot:focus-visible {
    outline: 2px solid #a7d8ff;
    outline-offset: 4px;
    border-radius: 8px;
}

/* Engagement */
.engagement {
    background: var(--ink-925);
}

.engagement-layout {
    display: grid;
    grid-template-columns: minmax(280px, .72fr) minmax(0, 1.28fr);
    gap: 120px;
    align-items: start;
}

.engagement-intro {
    position: sticky;
    top: calc(var(--header-height) + 50px);
}

.engagement-intro h2 {
    font-size: clamp(38px, 4.7vw, 62px);
}

.engagement-intro > p:not(.eyebrow) {
    margin-top: 28px;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.8;
}

.engagement-intro .text-link {
    margin-top: 34px;
}

.engagement-list {
    border-top: 1px solid var(--line-strong);
}

.engagement-item {
    display: grid;
    grid-template-columns: 38px 1fr 32px;
    gap: 22px;
    align-items: start;
    padding: 44px 4px;
    border-bottom: 1px solid var(--line);
    transition: padding .3s var(--ease), background .3s ease;
}

.engagement-item:hover {
    padding-right: 16px;
    padding-left: 16px;
    background: var(--surface);
}

.engagement-index {
    padding-top: 5px;
    color: var(--blue-bright);
    font-family: var(--font-mono);
    font-size: 11px;
}

.engagement-item h3 {
    color: var(--paper);
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 500;
    letter-spacing: -.035em;
    line-height: 1.2;
}

.engagement-item p {
    max-width: 620px;
    margin-top: 15px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.8;
}

.engagement-arrow {
    color: var(--muted);
    font-size: 18px;
    transition: color .2s ease, transform .2s ease;
}

.engagement-item:hover .engagement-arrow {
    color: var(--blue-bright);
    transform: translate(3px, -3px);
}

/* Process */
.process {
    overflow: hidden;
    background: var(--ink-850);
}

.process::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: calc(50% - 620px);
    width: 1px;
    background: var(--line);
}

.process-heading h2 {
    font-size: clamp(36px, 4.6vw, 60px);
}

.process-track {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.process-track::before {
    content: '';
    position: absolute;
    top: 43px;
    right: 0;
    left: 0;
    height: 1px;
    background: var(--line-strong);
}

.process-track li {
    position: relative;
    min-height: 235px;
    padding: 0 34px 0 0;
}

.process-track li + li {
    padding-left: 34px;
    border-left: 1px solid var(--line);
}

.process-track li > span {
    color: var(--blue-bright);
    font-family: var(--font-mono);
    font-size: 10px;
}

.process-dot {
    position: relative;
    z-index: 1;
    width: 9px;
    height: 9px;
    margin: 27px 0 42px;
    border: 2px solid var(--blue);
    border-radius: 50%;
    background: var(--ink-850);
    box-shadow: 0 0 0 6px var(--ink-850);
}

.process-track h3 {
    color: var(--paper);
    font-size: 24px;
    font-weight: 500;
    letter-spacing: -.025em;
}

.process-track p {
    max-width: 235px;
    margin-top: 12px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.7;
}

/* About */
.about {
    background: var(--ink-900);
}

.about-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(360px, .72fr);
    gap: 120px;
}

.about-statement h2 {
    max-width: 770px;
    font-size: clamp(42px, 5.4vw, 70px);
}

.about-content {
    padding-top: 36px;
}

.about-logo-lockup {
    width: min(100%, 270px);
    margin-bottom: 46px;
}

.about-logo-lockup img {
    width: 100%;
    height: auto;
}

.about-content > p {
    color: var(--muted);
    font-size: 15px;
    line-height: 1.85;
}

.about-content .about-lead {
    margin-bottom: 22px;
    color: var(--paper-soft);
    font-size: 18px;
}

.company-data {
    margin-top: 50px;
    border-top: 1px solid var(--line-strong);
}

.company-data > div {
    display: grid;
    grid-template-columns: 115px 1fr;
    gap: 18px;
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
}

.company-data dt {
    color: var(--muted);
    font-family: var(--font-mono);
    font-size: 9px;
    text-transform: uppercase;
}

.company-data dd {
    color: var(--paper-soft);
    font-size: 12px;
}

/* Contact */
.contact {
    position: relative;
    overflow: hidden;
    padding: 150px 0;
    background: #0b4e8a;
}

.contact::after {
    content: '';
    position: absolute;
    z-index: 0;
    top: -320px;
    right: -220px;
    width: 680px;
    height: 680px;
    border: 1px solid rgba(255, 255, 255, .11);
    border-radius: 50%;
    box-shadow: 0 0 0 90px rgba(255, 255, 255, .025), 0 0 0 180px rgba(255, 255, 255, .018);
}

.contact-grid {
    opacity: .2;
    background-size: 52px 52px;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 55%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 55%, transparent 100%);
}

.contact-layout {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(380px, .7fr);
    gap: 120px;
    align-items: end;
}

.contact h2 {
    max-width: 800px;
    margin-top: 24px;
    color: #fff;
    font-size: clamp(44px, 5.8vw, 76px);
    font-weight: 500;
    letter-spacing: -.055em;
    line-height: 1.02;
}

.contact-layout > div:first-child > p:last-child {
    max-width: 620px;
    margin-top: 28px;
    color: rgba(255, 255, 255, .7);
    font-size: 17px;
}

.contact-actions {
    border-top: 1px solid rgba(255, 255, 255, .28);
}

.contact-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 24px 2px;
    border-bottom: 1px solid rgba(255, 255, 255, .22);
    transition: padding .25s var(--ease), background .25s ease;
}

.contact-link:hover {
    padding-right: 12px;
    padding-left: 12px;
    background: rgba(255, 255, 255, .05);
}

.contact-link span {
    color: #fff;
    font-size: 16px;
    font-weight: 600;
}

.contact-link small {
    display: block;
    margin-bottom: 3px;
    color: rgba(255, 255, 255, .58);
    font-family: var(--font-mono);
    font-size: 9px;
    font-weight: 400;
    text-transform: uppercase;
}

.contact-link b {
    color: #fff;
    font-size: 20px;
    font-weight: 400;
    transition: transform .2s ease;
}

.contact-link:hover b {
    transform: translate(3px, -3px);
}

/* Footer */
.site-footer {
    padding: 76px 0 30px;
    border-top: 1px solid var(--line);
    background: var(--ink-950);
}

.footer-top {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 44px;
    align-items: center;
    padding-bottom: 48px;
    border-bottom: 1px solid var(--line);
}

.footer-top > p {
    color: var(--muted);
    font-size: 13px;
}

.footer-domain {
    color: var(--paper-soft);
    font-family: var(--font-mono);
    font-size: 10px;
}

.footer-main {
    display: grid;
    grid-template-columns: 1fr .7fr;
    gap: 80px;
    padding: 58px 0;
}

.footer-company {
    display: flex;
    max-width: 500px;
    flex-direction: column;
    align-items: flex-start;
}

.footer-company strong {
    color: var(--paper-soft);
    font-size: 11px;
    font-weight: 600;
}

.footer-company span,
.footer-company address {
    margin-top: 10px;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.8;
}

.footer-nav {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 48px;
}

.footer-nav > div {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-nav span {
    margin-bottom: 4px;
    color: var(--muted);
    font-family: var(--font-mono);
    font-size: 9px;
    text-transform: uppercase;
}

.footer-nav a {
    width: max-content;
    color: var(--paper-soft);
    font-size: 12px;
    transition: color .2s ease;
}

.footer-nav a:hover {
    color: var(--blue-bright);
}

.footer-product-note {
    padding: 22px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    color: var(--muted);
    font-size: 10px;
}

.footer-product-note span {
    color: var(--paper-soft);
    font-weight: 700;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 32px;
    padding-top: 28px;
    color: var(--muted);
    font-family: var(--font-mono);
    font-size: 9px;
    text-transform: uppercase;
}

.footer-bottom a {
    color: var(--paper-soft);
}

.footer-bottom a span {
    margin-left: 7px;
    color: var(--blue-bright);
}

/* Legal pages */
.legal-page {
    background: var(--ink-900);
}

.legal-page .site-header {
    position: relative;
    border-bottom-color: var(--line);
    background: var(--ink-925);
}

.legal-back {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    color: var(--muted-strong);
    font-size: 13px;
    font-weight: 600;
}

.legal-back:hover {
    color: var(--paper);
}

.legal-hero {
    padding: 105px 0 75px;
    border-bottom: 1px solid var(--line);
    background: var(--ink-925);
}

.legal-hero h1 {
    max-width: 850px;
    margin-top: 25px;
    font-size: clamp(44px, 6vw, 72px);
    font-weight: 500;
    letter-spacing: -.055em;
    line-height: 1.05;
}

.legal-hero-meta {
    display: flex;
    gap: 26px;
    margin-top: 28px;
    color: var(--muted);
    font-family: var(--font-mono);
    font-size: 10px;
    text-transform: uppercase;
}

.legal-content {
    padding: 90px 0 130px;
}

.legal-layout {
    display: grid;
    grid-template-columns: 230px minmax(0, 760px);
    gap: 100px;
    justify-content: center;
    align-items: start;
}

.legal-index {
    position: sticky;
    top: 40px;
    padding-top: 6px;
}

.legal-index > span {
    display: block;
    margin-bottom: 18px;
    color: var(--muted);
    font-family: var(--font-mono);
    font-size: 9px;
    text-transform: uppercase;
}

.legal-index nav {
    display: grid;
    gap: 10px;
}

.legal-index a {
    color: var(--muted);
    font-size: 12px;
    transition: color .2s ease;
}

.legal-index a:hover {
    color: var(--blue-bright);
}

.legal-prose > p:first-child {
    color: var(--paper-soft);
    font-size: 19px;
    line-height: 1.85;
}

.legal-prose h2 {
    margin: 62px 0 18px;
    padding-top: 12px;
    border-top: 1px solid var(--line);
    color: var(--paper);
    font-size: 25px;
    font-weight: 500;
    letter-spacing: -.025em;
}

.legal-prose p,
.legal-prose ul {
    color: var(--muted-strong);
    font-size: 14px;
    line-height: 1.9;
}

.legal-prose p + p {
    margin-top: 16px;
}

.legal-prose ul {
    display: grid;
    gap: 9px;
    margin-top: 16px;
    padding-left: 18px;
    list-style: disc;
}

.legal-prose strong {
    color: var(--paper-soft);
    font-weight: 600;
}

.legal-footer {
    padding-top: 36px;
}

/* Scroll reveal */
[data-reveal].will-reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity .74s ease, transform .74s var(--ease);
}

[data-reveal].is-revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 1120px) {
    .hero-layout {
        grid-template-columns: minmax(0, 1fr) minmax(380px, .76fr);
        gap: 52px;
    }

    .hero h1 {
        font-size: clamp(48px, 6.3vw, 68px);
    }

    .engagement-layout,
    .about-layout,
    .contact-layout {
        gap: 70px;
    }

    .case-card {
        grid-template-columns: minmax(0, 1.35fr) 330px;
    }

    .case-info {
        padding: 32px 24px 27px;
    }

    .product-copy,
    .product-showcase {
        padding: 52px;
    }

    .site-nav {
        gap: 21px;
    }
}

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

    .menu-toggle {
        position: relative;
        display: flex;
    }

    .site-nav {
        position: absolute;
        top: calc(var(--header-height) - 1px);
        right: 0;
        left: 0;
        display: grid;
        height: calc(100vh - var(--header-height) + 1px);
        height: calc(100dvh - var(--header-height) + 1px);
        align-content: start;
        grid-auto-rows: min-content;
        gap: 0;
        padding: 18px 24px 24px;
        border-bottom: 1px solid var(--line);
        background: var(--ink-925);
        opacity: 0;
        overflow-y: auto;
        visibility: hidden;
        transform: translateY(-8px);
        transition: opacity .2s ease, transform .2s ease, visibility .2s;
    }

    .site-nav.is-open {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .site-nav > a {
        display: flex;
        min-height: 50px;
        align-items: center;
        border-bottom: 1px solid var(--line);
        font-size: 14px;
    }

    .site-nav .nav-cta {
        justify-content: space-between;
        min-height: 50px;
        margin-top: 14px;
        border-bottom: 1px solid var(--line-strong);
    }

    .hero {
        min-height: auto;
        padding-top: 138px;
    }

    .hero-layout {
        grid-template-columns: 1fr;
        gap: 72px;
    }

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

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

    .hero-footnote {
        margin-top: 90px;
    }

    .split-heading,
    .process-heading,
    .engagement-layout,
    .about-layout,
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 42px;
    }

    .case-carousel {
        --case-peek: 64px;
    }

    .case-card {
        grid-template-columns: minmax(0, 1fr) 320px;
    }

    .case-info {
        padding: 28px 22px 24px;
    }

    .case-info > div:first-child > p {
        font-size: 12px;
    }

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

    .product-showcase {
        min-height: 520px;
        border-top: 1px solid rgba(7, 34, 60, .15);
        border-left: 0;
    }

    .engagement-intro {
        position: static;
        max-width: 700px;
        margin-bottom: 20px;
    }

    .process-track {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 52px;
    }

    .process-track::before {
        display: none;
    }

    .process-track li,
    .process-track li + li {
        min-height: 210px;
        padding: 0 30px 0 0;
        border-left: 0;
    }

    .process-track li:nth-child(even) {
        padding-left: 30px;
        border-left: 1px solid var(--line);
    }

    .process-dot {
        margin-bottom: 30px;
    }

    .about-content {
        max-width: 680px;
        padding-top: 0;
    }

    .about-logo-lockup {
        width: min(70vw, 260px);
    }

    .contact-actions {
        max-width: 620px;
    }

    .footer-main {
        grid-template-columns: 1fr 1fr;
    }

    .legal-layout {
        grid-template-columns: 180px minmax(0, 1fr);
        gap: 55px;
    }
}

@media (max-width: 760px) {
    .use-cases .split-heading {
        margin-bottom: 44px;
    }

    .case-carousel {
        --case-gap: 14px;
    }

    .case-carousel-nav {
        gap: 16px;
        margin-bottom: 12px;
    }

    .case-progress {
        width: 100%;
    }

    .case-count {
        min-width: 52px;
        justify-content: flex-end;
    }

    .case-arrow {
        display: none;
    }

    .case-viewport {
        width: calc(100% + 24px);
        overflow-x: auto;
        overflow-y: hidden;
        scroll-padding-left: 0;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        cursor: auto;
        touch-action: pan-x pan-y;
    }

    .case-viewport::-webkit-scrollbar {
        display: none;
    }

    .case-track,
    .case-track.is-dragging,
    .case-track.is-instant {
        width: max-content;
        transform: none !important;
        transition: none;
    }

    .case-card {
        flex-basis: 85vw;
        height: auto;
        min-height: 620px;
        grid-template-columns: 1fr;
        grid-template-rows: 260px minmax(350px, auto);
        opacity: .55;
        filter: saturate(.72);
        scroll-snap-align: start;
        scroll-snap-stop: always;
        transform: none;
    }

    .case-card.is-active {
        opacity: 1;
        filter: saturate(1);
        transform: none;
    }

    .case-card[data-case-clone] {
        display: none;
    }

    .case-media {
        padding: 10px;
    }

    .case-browser {
        grid-template-rows: 36px minmax(0, 1fr);
    }

    .case-browser-bar {
        gap: 8px;
        padding: 0 9px;
    }

    .case-browser-address {
        min-height: 22px;
        font-size: 7px;
    }

    .case-scroll-hint {
        display: none;
    }

    .case-info {
        gap: 24px;
        padding: 26px 22px 22px;
        border-top: 1px solid var(--line);
        border-left: 0;
    }

    .case-info h3 {
        font-size: clamp(34px, 9vw, 44px);
    }

    .case-info > div:first-child > p {
        font-size: 13px;
    }

    .case-swipe-hint {
        justify-content: flex-start;
    }

    .case-carousel[data-mode="stack"] .case-viewport {
        overflow-x: hidden;
    }

    .case-stack-hint {
        justify-content: flex-start;
    }
}

@media (max-width: 680px) {
    .shell {
        width: min(calc(100% - 32px), var(--shell));
    }

    .section,
    .contact {
        padding: 96px 0;
    }

    .hero {
        padding-top: 120px;
    }

    .hero h1 {
        margin-top: 24px;
        font-size: clamp(42px, 13vw, 59px);
        letter-spacing: -.057em;
    }

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

    .hero-actions {
        display: grid;
    }

    .button {
        width: 100%;
        min-height: 52px;
    }

    .hero-capabilities {
        display: grid;
        gap: 8px;
    }

    .system-canvas {
        padding: 24px 14px 28px;
    }

    .flow-node {
        grid-template-columns: 24px 1fr;
        min-height: 94px;
        padding: 13px;
    }

    .node-state {
        display: none;
    }

    .flow-connector {
        margin-left: 25px;
    }

    .system-label {
        display: none;
    }

    .hero-footnote {
        display: grid;
        margin-top: 72px;
    }

    .split-heading,
    .process-heading {
        margin-bottom: 54px;
    }

    .section-heading h2,
    .engagement-intro h2,
    .about-statement h2 {
        margin-top: 20px;
        font-size: clamp(34px, 10vw, 48px);
    }

    .case-viewport {
        width: calc(100% + 16px);
    }

    .case-browser-live {
        display: none;
    }

    .case-browser-bar {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .product-copy,
    .product-showcase {
        padding: 38px 28px;
    }

    .product-copy h2 {
        font-size: clamp(35px, 10vw, 48px);
    }

    .product-showcase {
        min-height: 460px;
    }

    .engagement-item {
        grid-template-columns: 28px 1fr;
        gap: 15px;
        padding: 36px 0;
    }

    .engagement-item:hover {
        padding-right: 0;
        padding-left: 0;
        background: transparent;
    }

    .engagement-arrow {
        display: none;
    }

    .process-track {
        grid-template-columns: 1fr;
        gap: 0;
        border-top: 1px solid var(--line-strong);
    }

    .process-track li,
    .process-track li + li,
    .process-track li:nth-child(even) {
        display: grid;
        grid-template-columns: 32px 1fr;
        min-height: 0;
        gap: 0 18px;
        padding: 28px 0;
        border-bottom: 1px solid var(--line);
        border-left: 0;
    }

    .process-track li > span {
        grid-row: 1 / 3;
    }

    .process-dot {
        display: none;
    }

    .process-track p {
        grid-column: 2;
    }

    .company-data > div {
        grid-template-columns: 1fr;
        gap: 5px;
    }

    .contact h2 {
        font-size: clamp(42px, 12vw, 58px);
    }

    .contact-link span {
        overflow-wrap: anywhere;
        font-size: 14px;
    }

    .footer-top,
    .footer-main,
    .footer-nav {
        grid-template-columns: 1fr;
    }

    .footer-top {
        gap: 18px;
    }

    .footer-brand,
    .footer-domain,
    .footer-nav a,
    .footer-bottom a {
        display: flex;
        min-height: 44px;
        align-items: center;
    }

    .footer-main {
        gap: 50px;
    }

    .footer-nav {
        gap: 34px;
    }

    .footer-bottom {
        flex-direction: column;
    }

    .legal-hero {
        padding: 72px 0 56px;
    }

    .legal-hero-meta {
        flex-direction: column;
        gap: 7px;
    }

    .legal-content {
        padding: 66px 0 96px;
    }

    .legal-layout {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .legal-index {
        position: static;
        padding-bottom: 30px;
        border-bottom: 1px solid var(--line);
    }

    .legal-prose > p:first-child {
        font-size: 17px;
    }
}

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

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

}
