:root {
    --paper: var(--beige);
    --paper-strong: #fffdfa;
    --ink-strong: var(--graphite);
    --ink-soft: rgba(var(--graphite-rgb), 0.78);
    --ink-muted: rgba(var(--graphite-rgb), 0.48);
    --accent-strong: var(--accent);
    --accent-soft: rgba(var(--capri-sea-rgb), 0.18);
    --accent-line: rgba(var(--capri-sea-rgb), 0.34);
    --border-light: rgba(var(--graphite-rgb), 0.1);
    --border-mid: rgba(var(--graphite-rgb), 0.16);
    --shadow-card: 0 28px 60px rgba(var(--graphite-rgb), 0.1);
    --shadow-panel: 0 32px 70px rgba(var(--graphite-rgb), 0.12);
    --display-font: "Inter", var(--text-font);
    --mono-font: "JetBrains Mono", ui-monospace, monospace;
    --legacy-red: #a8201a;
    --legacy-red-dark: #7a1610;
    --legacy-red-rgb: 168, 32, 26;
    --legacy-red-dark-rgb: 122, 22, 16;
    --legacy-red-wash: #c0392f;
    --legacy-cream: #efe4d0;
    --legacy-cream-2: #e5d8bf;
    --legacy-ink: #171311;
    --legacy-ink-soft: #2b2420;
    --legacy-mute: #8c7d6b;
    --legacy-rule: rgba(23, 19, 17, 0.14);
    --legacy-rule-red: rgba(239, 228, 208, 0.22);
    --diag: 50px;

    /* Type scale — 5 sizes only */
    --fs-xs: 0.72rem;   /* mono labels, indices, captions */
    --fs-sm: 0.82rem;   /* nav, small UI, buttons */
    --fs-body: 1rem;    /* body copy, hero text */
    --fs-md: 1.15rem;   /* emphasized paragraphs, callouts */
    --fs-lg: 1.4rem;    /* contact values, large inline */

    --handhold-paper: #f2f1ed;
    --handhold-paper-hover: #f7f6f5;
    --handhold-paper-active: #dfdeda;
    --handhold-surface: #ffffff;
    --handhold-ink: #050505;
    --handhold-ink-soft: rgba(0, 0, 0, 0.55);
    --handhold-ink-muted: rgba(0, 0, 0, 0.4);
    --handhold-border: #dbd7cd;
    --handhold-rule: rgba(0, 0, 0, 0.08);
}

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

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

body {
    min-height: 100vh;
    overflow-x: hidden;
    background: var(--paper);
    color: var(--ink-strong);
    font-family: var(--text-font);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-feature-settings: "ss01", "cv11";
    letter-spacing: -0.011em;
}

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

button {
    font: inherit;
}

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

.page {
    position: relative;
}

.grain {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image: radial-gradient(rgba(23, 19, 17, 0.045) 1px, transparent 1px);
    background-size: 3px 3px;
    mix-blend-mode: multiply;
}

.grain--red {
    background-image: radial-gradient(rgba(0, 0, 0, 0.12) 1px, transparent 1px);
}

.brand-mark {
    position: relative;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    font-size: clamp(2.1rem, 2.45vw, 2.9rem);
    font-weight: 700;
    letter-spacing: -0.065em;
    text-transform: uppercase;
}

.brand-mark-dark {
    color: #171311;
}

.hero {
    position: relative;
    min-height: var(--hero-vh, 100svh);
    isolation: isolate;
    background: #d0d0d0;
    overflow: hidden;
}

.liquid-chrome-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
    background: #d0d0d0;
}

.liquid-chrome-bg canvas {
    display: block;
    width: 100%;
    height: 100%;
}

body.no-liquid-chrome .liquid-chrome-bg {
    background:
        radial-gradient(circle at 18% 22%, rgba(255, 255, 255, 0.56), transparent 32%),
        radial-gradient(circle at 76% 62%, rgba(150, 150, 158, 0.38), transparent 30%),
        linear-gradient(135deg, #ececec 0%, #d0d0d0 42%, #aaaab0 100%);
}

.hero::before {
    content: none;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(rgba(23, 19, 17, 0.022) 1px, transparent 1px),
        linear-gradient(90deg, rgba(23, 19, 17, 0.018) 1px, transparent 1px);
    background-size: 128px 128px, 128px 128px;
    opacity: 0.55;
    pointer-events: none;
}

.hero-shell {
    position: relative;
    z-index: 2;
    min-height: var(--hero-vh, 100svh);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: clamp(92px, 7.5vw, 116px) clamp(34px, 2.7vw, 42px) clamp(24px, 3vw, 32px);
}

.hero .brand-mark {
    position: absolute;
    top: clamp(24px, 2.8vw, 38px);
    left: clamp(24px, 3vw, 36px);
}

.hero-nav {
    position: absolute;
    top: clamp(24px, 2.8vw, 40px);
    right: clamp(26px, 3vw, 42px);
    z-index: 3;
    display: grid;
    justify-items: end;
    gap: 0.55rem;
    color: var(--paper-strong);
    font-size: var(--fs-body);
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.hero-nav a {
    position: relative;
    padding-right: 14px;
}

.hero-nav a::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 0;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: transparent;
    border: 1.5px solid currentColor;
    transform: translateY(-50%);
}

.hero-nav-index {
    margin-bottom: 0.2rem;
    font-size: var(--fs-xs);
    line-height: 1;
    opacity: 0.52;
    letter-spacing: 0.04em;
}

.hero-art {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.hero-art-pebble,
.hero-art-parachute {
    position: absolute;
    display: block;
    pointer-events: none;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.hero-art-pebble {
    top: clamp(22%, 26vh, 30%);
    left: clamp(2%, 4vw, 6%);
    width: clamp(260px, 22vw, 380px);
    aspect-ratio: 720 / 331;
    background-image: url("../images/hero-plane.png");
    opacity: 0.08;
    filter:
        grayscale(1)
        brightness(0.9)
        contrast(1.04)
        drop-shadow(0 4px 10px rgba(23, 19, 17, 0.05));
    will-change: transform, opacity;
    animation: plane-enter 0.9s var(--ease-standard, cubic-bezier(0.2, 0, 0, 1)) 0.2s both;
}

.hero-art-parachute {
    top: clamp(18%, 22vh, 26%);
    right: clamp(2.4%, 3vw, 4%);
    width: min(6.5vw, 88px);
    aspect-ratio: 480 / 543;
    background-image: url("../images/hero-parachute-overlay.png");
    opacity: 0.22;
    filter:
        grayscale(1)
        brightness(0.95)
        contrast(1.02)
        drop-shadow(0 4px 10px rgba(23, 19, 17, 0.06));
    will-change: transform, opacity;
    animation: chute-drop 0.7s var(--ease-standard, cubic-bezier(0.2, 0, 0, 1)) 0.4s both;
}

@keyframes plane-enter {
    from {
        transform: translate(-32%, 0);
        opacity: 0;
    }
    to {
        transform: translate(0, 0);
        opacity: 0.12;
    }
}

@keyframes chute-drop {
    from {
        transform: translateY(-12%) scale(0.94);
        opacity: 0;
    }
    to {
        transform: translateY(0) scale(1);
        opacity: 0.42;
    }
}


.hero-art-card {
    display: contents;
}

.hero-art-text {
    display: none;
}

.hero-art-text__item {
    will-change: transform, opacity;
    animation: text-enter 0.6s var(--ease-emphasized, cubic-bezier(0.4, 0, 0.2, 1)) 0.3s both;
}

.hero-art-text__item:nth-child(1) {
    animation-delay: 0.25s;
}

.hero-art-text__item:nth-child(2) {
    animation-delay: 0.35s;
}

@keyframes text-enter {
    from {
        transform: translateY(15px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-art-pebble,
    .hero-art-parachute,
    .hero-art-text__item {
        animation: none;
    }
}

.hero-copy {
    position: relative;
    z-index: 3;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    max-width: min(86vw, 1120px);
    margin-top: clamp(1.1rem, 2.8vh, 2.2rem);
    margin-left: auto;
    margin-right: auto;
    padding-bottom: 0.6rem;
    text-align: left;
}

.hero-copy::before {
    content: "";
    position: absolute;
    top: 45%;
    left: 42%;
    z-index: -1;
    width: min(88vw, 760px);
    height: clamp(230px, 42vh, 390px);
    border-radius: 50%;
    background: radial-gradient(
        ellipse at center,
        rgba(255, 255, 255, 0.82) 0%,
        rgba(252, 254, 255, 0.56) 36%,
        rgba(249, 251, 255, 0.24) 62%,
        rgba(246, 249, 255, 0.08) 78%,
        transparent 100%
    );
    filter: blur(18px) saturate(112%);
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.hero-actions > a {
    position: relative;
    justify-content: center;
    min-height: 56px;
    padding: 0 1.32rem;
    border: none;
    font-size: var(--fs-body);
    font-weight: 600;
    line-height: 1.15;
    transform: translateY(0);
    transition:
        transform 0.22s ease-out,
        box-shadow 0.28s ease-out,
        opacity 0.22s ease-out;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.hero-title {
    max-width: 19ch;
    color: #171311;
    font-size: clamp(3.35rem, 4.6vw, 4.85rem);
    font-weight: 700;
    line-height: 0.94;
    letter-spacing: -0.072em;
    text-transform: uppercase;
}

.hero-title-accent {
    display: inline-block;
    color: var(--legacy-red);
}

.hero-text {
    max-width: 42ch;
    margin-top: 1rem;
    color: rgba(23, 19, 17, 0.76);
    font-size: clamp(1rem, 1.05vw, 1.12rem);
    line-height: 1.5;
}

.primary-cta,
.secondary-cta,
.view-all,
.contact-btn {
    display: inline-flex;
    align-items: center;
    border-radius: 16px;
}

.primary-cta {
    padding: 1.12rem 1.5rem;
    border: 1px solid rgba(var(--legacy-red-rgb), 0.92);
    border-radius: 4px;
    background: var(--legacy-red);
    color: #fff;
    box-shadow: 0 18px 38px rgba(var(--legacy-red-dark-rgb), 0.32);
}

.secondary-cta {
    justify-self: end;
    padding: 1.12rem 1.4rem;
    border: 1px solid rgba(23, 19, 17, 0.18);
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.7);
    color: #171311;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 10px 24px rgba(23, 19, 17, 0.08);
}

.primary-cta::after {
    content: "";
    width: 1.28rem;
    height: 1.28rem;
    margin-left: 0.72rem;
    background: url("../images/contact-action-marker.png") center / contain no-repeat;
    filter: brightness(0) invert(1);
    opacity: 0.96;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.secondary-cta svg {
    display: none;
}

.secondary-cta::after {
    content: "";
    width: 1.28rem;
    height: 1.28rem;
    margin-left: 0.72rem;
    background: url("../images/contact-action-marker.png") center / contain no-repeat;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.view-all {
    padding: 1rem 1.2rem;
    background: var(--accent-strong);
    color: var(--paper-strong);
    font-size: var(--fs-body);
    font-weight: 500;
}

.primary-cta:hover,
.secondary-cta:hover,
.view-all:hover,
.contact-btn:hover,
.card-link:hover,
.menu-pill:hover,
.slider-btn:hover {
    transform: translateY(-1px);
}

.primary-cta:hover {
    color: #f7f1e8;
    box-shadow:
        inset 0 0 0 1px rgba(100, 92, 86, 0.76),
        0 14px 20px -10px rgba(23, 19, 17, 0.2),
        0 6px 10px -8px rgba(23, 19, 17, 0.16);
}

.secondary-cta:hover {
    color: var(--ink-strong);
    box-shadow:
        inset 0 0 0 1px rgba(46, 42, 39, 0.18),
        0 14px 20px -10px rgba(15, 23, 42, 0.1),
        0 6px 10px -8px rgba(15, 23, 42, 0.08);
}

.hero-actions > a:hover,
.hero-actions > a:focus-visible {
    transform: translateY(-1px);
    outline: none;
}

.scroll-indicator {
    position: absolute;
    right: clamp(24px, 3vw, 38px);
    bottom: clamp(22px, 2.6vw, 34px);
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: rgba(255, 255, 255, 1);
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.28);
    font-size: var(--fs-sm);
    font-weight: 500;
}

.floating-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 40;
    padding-top: 0.95rem;
    padding-bottom: 0.7rem;
    opacity: 1;
    transform: none;
    transition: background-color 0.3s ease;
    pointer-events: auto;
}

.floating-header::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 100%;
    opacity: 1;
    transform: none;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.88));
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    pointer-events: none;
}

body.has-floating-header .floating-header {
    opacity: 1;
    transform: translateY(0);
}

body.has-floating-header .floating-header::before {
    opacity: 1;
    transform: translateY(0);
}

.masthead {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 2rem;
    width: min(1480px, calc(100vw - 56px));
    margin: 0 auto;
    padding: 0;
    background: transparent;
    backdrop-filter: none;
}

.floating-header .masthead,
.floating-header .menu-panel {
    pointer-events: auto;
}

.masthead-nav {
    justify-self: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.9rem;
    padding: 0;
    border: none;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.masthead-nav {
    scrollbar-width: none;
}

.masthead-nav::-webkit-scrollbar {
    display: none;
}

.masthead-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.6rem;
    padding: 0.7rem 1rem;
    border-radius: 10px;
    color: rgba(23, 19, 17, 0.78);
    font-size: var(--fs-sm);
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: color 0.25s ease, background-color 0.25s ease, transform 0.25s ease;
}

.masthead-link:hover {
    background: rgba(23, 19, 17, 0.05);
    color: #171311;
    transform: translateY(-1px);
}

.masthead-link::after {
    display: none;
}

.menu-pill {
    justify-self: center;
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.82rem 1.2rem;
    border: 1px solid rgba(var(--graphite-rgb), 0.1);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.62);
    color: var(--ink-strong);
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(var(--graphite-rgb), 0.06);
}

.menu-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background:
        radial-gradient(circle at 35% 35%, var(--paper-strong) 0 20%, transparent 22%),
        var(--ink-strong);
}

.menu-panel {
    position: absolute;
    top: calc(100% + 0.65rem);
    left: 50%;
    z-index: 1;
    display: flex;
    justify-content: center;
    gap: 1.2rem;
    width: fit-content;
    max-width: calc(100vw - 60px);
    padding: 0.8rem 1rem;
    border: 1px solid rgba(var(--graphite-rgb), 0.08);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 18px 36px rgba(var(--graphite-rgb), 0.08);
    backdrop-filter: blur(14px);
    transform: translateX(-50%);
}

.menu-panel a {
    color: var(--ink-soft);
    font-size: var(--fs-sm);
    font-weight: 500;
    text-transform: uppercase;
}

.section-shell,
.footer-row {
    position: relative;
    z-index: 1;
    width: min(1560px, calc(100vw - 88px));
    margin: 0 auto;
}

.case,
.zones,
.contact-section {
    position: relative;
    overflow: hidden;
}

.case {
    padding: calc(6.1rem + var(--diag)) 0 6rem;
    margin-top: calc(-1 * var(--diag));
    background:
        radial-gradient(circle at 18% 22%, rgba(255, 255, 255, 0.36), transparent 26%),
        linear-gradient(180deg, #f3ede3 0%, var(--legacy-cream) 100%);
    color: var(--legacy-ink);
}

.case__head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 2.5rem;
    margin-bottom: 2.4rem;
}

.case-title {
    max-width: 20ch;
    font-family: var(--display-font);
    font-size: clamp(2.55rem, 4.3vw, 4.5rem);
    line-height: 1;
    letter-spacing: -0.05em;
    font-variation-settings: "wght" 600, "opsz" 32;
}

.accent-text-red {
    color: var(--legacy-red);
}

.accent-text-dark {
    color: var(--legacy-ink);
}

.case__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(460px, 0.94fr);
    gap: 3.2rem;
    align-items: start;
}

.case__body {
    max-width: 52rem;
}

.case__body > p {
    max-width: 45ch;
    margin-bottom: 1.05rem;
    color: var(--legacy-ink-soft);
    font-family: var(--display-font);
    font-size: clamp(1.08rem, 1.22vw, 1.24rem);
    line-height: 1.52;
    text-wrap: pretty;
    font-variation-settings: "wght" 400, "opsz" 24;
}

.case__body > p b {
    color: var(--legacy-ink);
    font-variation-settings: "wght" 600, "opsz" 24;
}

.case-emphasis {
    max-width: 40ch !important;
    margin-top: -0.35rem !important;
    margin-bottom: 1.55rem !important;
    color: var(--legacy-ink) !important;
    font-size: clamp(1.08rem, 1.2vw, 1.22rem) !important;
    line-height: 1.44 !important;
    font-variation-settings: "wght" 600, "opsz" 32 !important;
}

.case-note {
    max-width: 40ch;
    color: var(--legacy-mute) !important;
    font-size: var(--fs-sm) !important;
    line-height: 1.7 !important;
}

.case-callout {
    max-width: 38ch !important;
    margin-top: 0.4rem !important;
    margin-bottom: 1.4rem !important;
    padding: 0.95rem 1.15rem;
    border-left: 3px solid var(--legacy-red);
    background: rgba(var(--legacy-red-rgb), 0.05);
    color: var(--legacy-ink) !important;
    font-family: var(--display-font) !important;
    font-size: var(--fs-md) !important;
    line-height: 1.45 !important;
    font-variation-settings: "wght" 600, "opsz" 32 !important;
}

.case__links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 2.8rem;
}

.link-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.9rem 1.15rem;
    border: 1px solid rgba(23, 19, 17, 0.45);
    color: var(--legacy-ink);
    font-family: var(--mono-font);
    font-size: var(--fs-xs);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.link-chip::after {
    content: "↗";
}

.link-chip:hover {
    background: var(--legacy-ink);
    color: var(--legacy-cream);
}

.terminal {
    margin-top: 4.8rem;
    font-family: var(--display-font);
}

.terminal-card {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    border: 0.5px solid rgba(0, 0, 0, 0.12);
    border-radius: 2px;
    background: #fff;
    color: #0a0a0a;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.terminal-card__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    border-bottom: 0.5px solid rgba(0, 0, 0, 0.08);
}

.terminal-card__header-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.terminal-card__dot {
    width: 6px;
    height: 6px;
    flex-shrink: 0;
    border-radius: 50%;
    background: #0a0a0a;
}

.terminal-card__name {
    color: #737373;
    font-family: var(--mono-font);
    font-size: 12px;
    letter-spacing: 0.01em;
}

.terminal-card__body {
    padding: 24px 20px;
}

.terminal-card__prompt {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 28px;
}

.terminal-card__avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 26px;
    height: 26px;
    border: 0.5px solid rgba(0, 0, 0, 0.12);
    border-radius: 2px;
    color: #a3a3a3;
    font-family: var(--mono-font);
    font-size: 10px;
}

.terminal-card__prompt-text {
    padding-top: 2px;
    color: #0a0a0a;
    font-size: 15px;
    line-height: 1.6;
}

.terminal-card__section {
    margin-bottom: 22px;
}

.terminal-card__section:last-child {
    margin-bottom: 0;
}

.terminal-card__section-label {
    margin-bottom: 10px;
    color: #a3a3a3;
    font-family: var(--mono-font);
    font-size: 10px;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.terminal-card__steps {
    display: flex;
    flex-direction: column;
    gap: 7px;
    padding-left: 16px;
    border-left: 0.5px solid rgba(0, 0, 0, 0.12);
}

.terminal-card__step {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #0a0a0a;
    font-family: var(--mono-font);
    font-size: 12px;
    line-height: 1.4;
}

.terminal-card__step-num {
    flex-shrink: 0;
    width: 14px;
    color: #a3a3a3;
    font-size: 10px;
}

.terminal-card__log-table {
    width: 100%;
    border-collapse: collapse;
}

.terminal-card__log-table tr {
    border-top: 0.5px solid rgba(0, 0, 0, 0.08);
}

.terminal-card__log-table tr:last-child {
    border-bottom: 0.5px solid rgba(0, 0, 0, 0.08);
}

.terminal-card__log-table td {
    padding: 8px 0;
    font-family: var(--mono-font);
    font-size: 12px;
    vertical-align: middle;
}

.terminal-card__log-table td:not(:last-child) {
    padding-right: 16px;
}

.terminal-card__td-tag {
    width: 60px;
    color: #a3a3a3;
    font-size: 10px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.terminal-card__td-action {
    width: 140px;
    color: #0a0a0a;
}

.terminal-card__td-result {
    color: #737373;
}

.terminal-card__td-result::before {
    content: "→";
    margin-right: 6px;
    opacity: 0.3;
}

.zones {
    padding: 4.8rem 0 5rem;
    background: var(--paper);
    color: var(--legacy-ink);
    z-index: 1;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 calc(100% - var(--diag)));
}

.zones::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(23, 19, 17, 0.035) 1px, transparent 1px);
    background-size: 3px 3px;
    opacity: 0.18;
    pointer-events: none;
}

.zones .section-shell {
    z-index: 1;
    width: min(1320px, calc(100vw - 72px));
}

.zones-title {
    max-width: none;
    font-family: var(--display-font);
    font-size: clamp(2.35rem, 4vw, 4.1rem);
    line-height: 0.98;
    letter-spacing: -0.05em;
    font-variation-settings: "wght" 600, "opsz" 32;
}

.zone-list {
    list-style: none;
    max-width: 980px;
    margin-top: 2.6rem;
    border-top: 1px solid rgba(23, 19, 17, 0.1);
}

.zone {
    display: grid;
    grid-template-columns: 4.6rem minmax(0, 1fr);
    align-items: start;
    gap: 1.35rem;
    padding: 1.6rem 0 1.45rem;
    border-bottom: 1px solid rgba(23, 19, 17, 0.1);
    transition: padding-left 0.35s var(--ease-standard, cubic-bezier(0.2, 0, 0, 1));
}

.zone:hover {
    padding-left: 0.6rem;
}

.zone::after {
    display: none;
}

.zone:hover::after {
    display: none;
}

.zone__idx {
    padding-top: 0.36rem;
    color: var(--legacy-red);
    font-family: var(--mono-font);
    font-size: var(--fs-xs);
    letter-spacing: 0.14em;
}

.zone__body {
    display: grid;
    gap: 0.72rem;
    min-width: 0;
}

.zone__name {
    font-family: var(--display-font);
    font-size: clamp(1.7rem, 2.5vw, 2.7rem);
    line-height: 1;
    letter-spacing: -0.045em;
    font-variation-settings: "wght" 600, "opsz" 32;
}

.zone__lead {
    max-width: 64ch;
    color: var(--legacy-ink-soft);
    font-family: var(--text-font);
    font-size: clamp(1rem, 1.08vw, 1.12rem);
    font-weight: 500;
    line-height: 1.45;
    text-wrap: pretty;
}

.zone__steps {
    display: grid;
    gap: 0.34rem;
    max-width: 64ch;
    list-style: none;
}

.zone__steps li {
    position: relative;
    padding-left: 1.2rem;
    color: var(--legacy-ink-soft);
    font-family: var(--text-font);
    font-size: clamp(0.92rem, 1vw, 1.02rem);
    line-height: 1.45;
    text-wrap: pretty;
}

.zone__steps li::before {
    content: "";
    position: absolute;
    top: 0.74em;
    left: 0;
    width: 0.48rem;
    height: 1px;
    background: rgba(23, 19, 17, 0.32);
}

.case-proof-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
    max-width: 42rem;
    margin-top: 1.7rem;
}

.case-proof-card {
    min-height: 156px;
    padding: 1rem 1.05rem 1.1rem;
    border: 1px solid rgba(23, 19, 17, 0.12);
    border-radius: 4px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.18)),
        rgba(239, 228, 208, 0.42);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.38);
}

.case-proof-card__kicker {
    display: block;
    margin-bottom: 0.7rem;
    color: var(--legacy-red);
    font-family: var(--mono-font);
    font-size: var(--fs-xs);
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.case-proof-card strong {
    display: block;
    color: var(--legacy-ink);
    font-family: var(--display-font);
    font-size: 1.2rem;
    line-height: 1.08;
    letter-spacing: -0.03em;
    font-variation-settings: "wght" 600, "opsz" 32;
}

.case-proof-card p {
    max-width: 28ch;
    margin: 0.65rem 0 0;
    color: var(--legacy-mute) !important;
    font-family: var(--text-font) !important;
    font-size: var(--fs-sm) !important;
    line-height: 1.45 !important;
}

.contact-section {
    padding: 6.5rem 0 4.4rem;
    background:
        radial-gradient(circle at 18% 22%, rgba(255, 255, 255, 0.36), transparent 26%),
        linear-gradient(180deg, #f3ede3 0%, var(--legacy-cream) 100%);
    color: var(--legacy-ink);
}

.contact__head {
    max-width: none;
}

.contact-heading {
    font-family: var(--display-font);
    font-size: clamp(2.9rem, 6vw, 5.1rem);
    line-height: 0.94;
    letter-spacing: -0.05em;
    font-variation-settings: "wght" 700, "opsz" 32;
}

.contact-heading__line {
    display: block;
    white-space: nowrap;
}

.contact__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 5rem;
    align-items: end;
    margin-top: 3.75rem;
}

.contact__body p {
    max-width: 40ch;
    margin-bottom: 1.4rem;
    color: var(--legacy-ink-soft);
    font-family: var(--display-font);
    font-size: var(--fs-body);
    line-height: 1.55;
}

.contact-note {
    color: var(--legacy-mute) !important;
    font-size: var(--fs-sm) !important;
}

.contact__channels {
    list-style: none;
    margin-top: 1.25rem;
    border-top: 1px solid var(--legacy-rule);
}

.contact__channels li {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1.2rem;
    padding: 1.15rem 0;
    border-bottom: 1px solid var(--legacy-rule);
}

.contact__channels .lbl {
    color: var(--legacy-mute);
    font-family: var(--mono-font);
    font-size: var(--fs-xs);
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.contact__channels .val {
    color: var(--legacy-ink);
    font-family: var(--display-font);
    font-size: var(--fs-lg);
    font-variation-settings: "wght" 500, "opsz" 32;
}

.contact__values {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: baseline;
    gap: 0.5rem;
    text-align: right;
}

.contact__values--col {
    flex-direction: column;
    align-items: flex-end;
    gap: 0.2rem;
}

.contact__values .val {
    line-height: 1.05;
}

.contact__separator {
    color: var(--legacy-ink);
    font-size: var(--fs-lg);
    line-height: 1;
    font-variation-settings: "wght" 500, "opsz" 32;
}

.contact__values .val--secondary {
    color: var(--legacy-ink);
    font-size: var(--fs-lg);
    font-variation-settings: "wght" 500, "opsz" 32;
}

.contact__channels .val:hover {
    color: var(--legacy-red);
}

.contact__values .val--secondary:hover {
    color: var(--legacy-red);
}

.site-footer {
    background: var(--legacy-ink);
    color: var(--legacy-cream);
    padding: 1.4rem 0;
}

.footer-row {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 1rem;
    width: min(1560px, calc(100vw - 88px));
}

.site-footer .brand-mark-dark,
.footer-copy {
    color: var(--legacy-cream);
}

.footer-copy,
.footer-year {
    font-family: var(--mono-font);
    font-size: var(--fs-xs);
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.footer-year {
    opacity: 0.72;
}

.footer-year:hover {
    opacity: 1;
}

.masthead-actions {
    justify-self: end;
    display: inline-flex;
    align-items: center;
    gap: 1rem;
}

.masthead-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0.92rem 2.35rem;
    border: 1px solid rgba(23, 19, 17, 0.16);
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.72);
    color: #171311;
    font-size: var(--fs-sm);
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: background-color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.masthead-cta:hover,
.masthead-cta:focus-visible {
    background: rgba(23, 19, 17, 0.05);
    color: #171311;
    border-color: rgba(23, 19, 17, 0.2);
    transform: translateY(-1px);
}

.masthead-lang-picker {
    position: relative;
    z-index: 5;
    isolation: isolate;
}

.masthead-lang {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0;
    appearance: none;
    -webkit-appearance: none;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: rgba(23, 19, 17, 0.74);
    font: inherit;
    font-size: var(--fs-sm);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    white-space: nowrap;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: border-color 0.25s ease, background-color 0.25s ease, color 0.25s ease;
}

.masthead-lang:hover,
.masthead-lang[aria-expanded="true"] {
    color: #171311;
    background: transparent;
}

.masthead-lang-menu {
    position: absolute;
    top: calc(100% + 0.45rem);
    right: 0;
    z-index: 10;
    display: grid;
    gap: 0.1rem;
    min-width: 3rem;
    padding: 0.35rem 0.55rem;
    border: 1px solid rgba(23, 19, 17, 0.1);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 12px 24px rgba(23, 19, 17, 0.1);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background-clip: padding-box;
    overflow: hidden;
}

.masthead-lang-menu[hidden] {
    display: none !important;
}

.masthead-lang-option {
    display: block;
    width: 100%;
    padding: 0.35rem 0.55rem;
    appearance: none;
    -webkit-appearance: none;
    border: 0;
    border-radius: 8px;
    background: transparent;
    box-shadow: none;
    color: rgba(23, 19, 17, 0.74);
    font: inherit;
    font-size: var(--fs-xs);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: background-color 0.25s ease, color 0.25s ease;
}

.masthead-lang-option:hover,
.masthead-lang-option:focus,
.masthead-lang-option:focus-visible,
.masthead-lang-option.is-active {
    outline: none;
    background: rgba(23, 19, 17, 0.06);
    color: #171311;
}

.primary-cta:hover {
    color: #fff;
    background: var(--legacy-red-dark);
    box-shadow: 0 20px 42px rgba(var(--legacy-red-dark-rgb), 0.38);
}

.secondary-cta:hover {
    color: #171311;
    border-color: rgba(23, 19, 17, 0.26);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), 0 16px 30px rgba(23, 19, 17, 0.1);
}

.hero-meta {
    position: relative;
    display: grid;
    grid-template-columns: minmax(270px, 0.9fr) minmax(260px, 1fr);
    align-items: start;
    width: fit-content;
    max-width: 100%;
    margin-top: 1.15rem;
    padding: 0;
    border: none;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: inset 0 0 0 1px rgba(23, 19, 17, 0.08);
    overflow: hidden;
}

.primary-cta:hover::after,
.secondary-cta:hover::after {
    transform: translateX(2px) scale(1.04);
}

.hero-meta::before {
    display: none;
}

.hero-contact-row {
    position: relative;
    z-index: 2;
    display: grid;
    gap: 0.95rem;
    align-content: start;
    margin: 0;
    padding: 1.35rem 1.55rem 1.45rem;
    border: 0;
    border-radius: 0;
    background: transparent;
}

.hero-contact-label {
    color: rgba(23, 19, 17, 0.56);
    font-size: var(--fs-xs);
    line-height: 1.2;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-align: left;
}

.hero-contact-links {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
}

.hero-contact-card {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) 28px;
    align-items: center;
    gap: 0.8rem;
    width: 100%;
    min-width: 0;
    color: inherit;
    text-align: center;
    min-height: 72px;
    padding: 0.35rem 0;
    box-shadow: inset 0 -1px 0 rgba(23, 19, 17, 0.05);
}
.hero-contact-card:last-child {
    box-shadow: none;
}

.hero-contact-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border: 1px solid rgba(23, 19, 17, 0.09);
    border-radius: 999px;
    color: #171311;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.82);
}

.hero-contact-icon__svg {
    width: 1.1rem;
    height: 1.1rem;
}

.hero-contact-copy {
    display: grid;
    justify-items: start;
    gap: 0.12rem;
    min-width: 0;
}

.hero-contact-link {
    color: #171311;
    font-size: var(--fs-body);
    font-weight: 600;
    line-height: 1.25;
}

.hero-contact-meta {
    color: rgba(23, 19, 17, 0.5);
    font-size: var(--fs-sm);
    line-height: 1.25;
}

.hero-contact-arrow {
    justify-self: center;
    width: 1.45rem;
    height: 1.45rem;
    color: transparent;
    font-size: 0;
    line-height: 0;
    background: url("../images/contact-action-marker.png") center / contain no-repeat;
    flex-shrink: 0;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.hero-contact-card:hover .hero-contact-link,
.hero-contact-card:hover .hero-contact-arrow {
    color: var(--legacy-red);
}

.hero-contact-card:hover .hero-contact-arrow {
    transform: translateX(2px) scale(1.08);
}

.hero-stats {
    position: relative;
    z-index: 2;
    display: grid;
    align-items: center;
    justify-content: flex-start;
    margin: 0;
    padding: 1.45rem 1.65rem;
    border-left: none;
    box-shadow: inset 1px 0 0 rgba(23, 19, 17, 0.06);
    background: transparent;
}

.hero-stat {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.45rem;
    min-height: auto;
    padding: 0;
    border-left: none;
}

.hero-stat__copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.34rem;
    min-width: 0;
}

.hero-stat__value {
    color: var(--legacy-red);
    font-size: var(--fs-lg);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.03em;
    text-transform: uppercase;
}

.hero-stat__value--stacked {
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 0.9;
    margin-bottom: 0.08rem;
}

.hero-stat__value-top {
    font-size: inherit;
    letter-spacing: -0.04em;
    white-space: nowrap;
}

.hero-stat__value-bot {
    font-size: inherit;
    letter-spacing: -0.03em;
    white-space: nowrap;
    color: #171311;
}

.hero-stat__title {
    display: none;
}

.hero-stat__text {
    color: rgba(23, 19, 17, 0.45);
    font-size: var(--fs-sm);
    line-height: 1.35;
    max-width: 24ch;
    margin-bottom: 0;
    text-align: left;
    letter-spacing: 0.01em;
}

.hero-stat__timeline {
    position: relative;
    width: min(100%, 300px);
    min-width: 240px;
    flex-shrink: 0;
    margin-top: 0.15rem;
    padding: 0 0.2rem;
}

.hero-stat__timeline-track {
    position: absolute;
    top: 7px;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(var(--legacy-red-dark-rgb), 0.24);
    z-index: 1;
}

.hero-stat__timeline-points {
    display: flex;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

.hero-stat__timeline-point {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.65rem;
    width: 48px;
}

.hero-stat__timeline-point .dot {
    width: 15px;
    height: 15px;
    background: var(--legacy-red);
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(var(--legacy-red-dark-rgb), 0.1);
    flex-shrink: 0;
}

.hero-stat__timeline-point .lbl {
    font-family: var(--mono-font);
    font-size: var(--fs-xs);
    font-weight: 600;
    color: #171311;
    white-space: nowrap;
    text-align: center;
}


@media (max-width: 1180px) {
    :root { --diag: 44px; }

    .hero::before {
        clip-path: polygon(57% 0%, 100% 0%, 100% 100%, 57% 100%);
        opacity: 0.74;
    }

    .hero::after {
        clip-path: polygon(50.5% 0%, 58.8% 0%, 58.8% 100%, 50.5% 100%);
        background: linear-gradient(
            90deg,
            rgba(23, 19, 17, 0.18) 0%,
            rgba(23, 19, 17, 0.1) 22%,
            rgba(23, 19, 17, 0.03) 48%,
            rgba(255, 255, 255, 0.2) 68%,
            rgba(255, 255, 255, 0) 100%
        );
    }

    .hero-copy {
        max-width: min(52vw, 760px);
    }

    .hero-meta {
        width: fit-content;
        grid-template-columns: minmax(240px, 1fr) auto;
    }

    .hero-stat {
        gap: 0.85rem;
    }

    .hero-art-pebble {
        top: clamp(12%, 16vh, 20%);
        left: clamp(2%, 3vw, 5%);
        width: clamp(280px, 30vw, 460px);
        opacity: 0.1;
    }

    .hero-art-parachute {
        top: clamp(56%, 60vh, 64%);
        right: clamp(5%, 7vw, 9%);
        width: min(10vw, 140px);
    }

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

    .masthead-nav {
        justify-self: stretch;
    }

    .masthead-link {
        padding-inline: 0.8rem;
        font-size: var(--fs-sm);
    }

    .section-shell,
    .footer-row {
        width: min(1560px, calc(100vw - 64px));
    }

    .case__grid {
        grid-template-columns: minmax(0, 1fr) minmax(360px, 0.9fr);
    }
}

@media (max-width: 980px) {
    :root { --diag: 34px; }

    .hero::before {
        inset: 0;
        clip-path: polygon(0% 62%, 100% 62%, 100% 100%, 0% 100%);
        opacity: 0.7;
    }

    .hero::after {
        clip-path: polygon(0% 54.5%, 100% 54.5%, 100% 66.5%, 0% 66.5%);
        background: linear-gradient(
            180deg,
            rgba(23, 19, 17, 0.16) 0%,
            rgba(23, 19, 17, 0.08) 24%,
            rgba(23, 19, 17, 0.02) 44%,
            rgba(255, 255, 255, 0.18) 66%,
            rgba(255, 255, 255, 0) 100%
        );
    }

    .hero-shell {
        padding-bottom: 0;
    }

    .hero .brand-mark {
        position: relative;
        top: auto;
        left: auto;
    }

    .hero-nav {
        position: relative;
        top: auto;
        right: auto;
        justify-items: start;
        margin-top: 2rem;
        color: var(--ink-strong);
    }

    .hero-copy {
        position: relative;
        max-width: min(94vw, 980px);
        margin-top: 2.8rem;
        padding-bottom: 8.5rem;
    }

    .hero-art-pebble {
        top: clamp(5rem, 7vh, 7rem);
        left: auto;
        right: clamp(0%, 1.5vw, 3%);
        width: min(34vw, 280px);
        opacity: 0.08;
    }

    .hero-art-parachute {
        top: auto;
        right: clamp(18%, 20vw, 22%);
        bottom: clamp(0.8rem, 1.8vh, 1.6rem);
        width: min(13vw, 96px);
        opacity: 0.36;
    }

    .hero-text {
        max-width: 52ch;
    }

    .scroll-indicator {
        position: relative;
        right: auto;
        bottom: auto;
        margin-top: 1.6rem;
        color: var(--ink-soft);
    }

    .floating-header {
        padding-top: 0.55rem;
        padding-bottom: 0.4rem;
    }

    .masthead {
        grid-template-columns: auto minmax(0, 1fr);
        grid-template-areas: "brand nav";
        align-items: center;
        gap: 0.55rem;
        width: min(1460px, calc(100vw - 20px));
        padding: 0.34rem 0.38rem;
        border: 1px solid rgba(var(--graphite-rgb), 0.08);
        border-radius: 18px;
        background: rgba(255, 255, 255, 0.74);
        box-shadow: 0 12px 24px rgba(var(--graphite-rgb), 0.06);
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
    }

    .masthead .brand-mark {
        grid-area: brand;
        font-size: clamp(1.24rem, 4.8vw, 1.56rem);
    }

    .masthead .masthead-nav {
        grid-area: nav;
        justify-self: end;
        flex-wrap: nowrap;
        max-width: 100%;
        overflow-x: auto;
        padding: 0.2rem;
        gap: 0.16rem;
        border-radius: 14px;
        background: rgba(255, 255, 255, 0.88);
        box-shadow: none;
    }

    .section-shell,
    .footer-row {
        width: min(1560px, calc(100vw - 44px));
    }

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

    .case,
    .zones,
    .contact-section {
        padding-top: 4.8rem;
        padding-bottom: 4.6rem;
    }

    .case {
        padding-top: calc(4.8rem + var(--diag));
    }

    .case__head,
    .case__grid,
    .contact__grid {
        grid-template-columns: 1fr;
        gap: 2.2rem;
    }

    .case__body p {
        max-width: 34ch;
        font-size: var(--fs-md);
    }

    .terminal {
        margin-top: 0;
        box-shadow: 6px 6px 0 var(--legacy-cream-2);
    }

    .zones-title {
        max-width: none;
    }

    .zone {
        grid-template-columns: 3.4rem 1fr;
        gap: 0.8rem 1rem;
    }

    .zone::after {
        display: none;
    }

    .case-proof-grid {
        max-width: none;
    }
}

@media (max-width: 720px) {
    :root { --diag: 24px; }

    .hero::before {
        inset: 0;
        clip-path: polygon(0% 66%, 100% 66%, 100% 100%, 0% 100%);
        opacity: 0.64;
    }

    .hero::after {
        clip-path: polygon(0% 58%, 100% 58%, 100% 71%, 0% 71%);
        background: linear-gradient(
            180deg,
            rgba(23, 19, 17, 0.14) 0%,
            rgba(23, 19, 17, 0.07) 26%,
            rgba(23, 19, 17, 0.015) 46%,
            rgba(255, 255, 255, 0.14) 68%,
            rgba(255, 255, 255, 0) 100%
        );
    }

    .hero-shell {
        padding: 1.1rem 1rem 0;
    }

    .hero-nav {
        display: none;
    }

    .hero-art-pebble {
        top: 5.8rem;
        right: 4%;
        width: min(40vw, 200px);
        opacity: 0.08;
    }

    .hero-art-parachute {
        right: 16%;
        bottom: 0.8rem;
        width: min(18vw, 78px);
        opacity: 0.32;
    }

    .hero-title {
        font-size: clamp(2.9rem, 13vw, 4rem);
    }

    .hero-copy {
        max-width: min(96vw, 640px);
        margin-top: 1.5rem;
        padding-bottom: 7rem;
    }

    .hero-actions {
        gap: 0.7rem;
        margin-top: 1.7rem;
    }

    .hero-text {
        font-size: var(--fs-body);
    }

    .primary-cta,
    .secondary-cta,
    .view-all,
    .contact-btn,
    .card-link {
        width: fit-content;
    }

    .secondary-cta {
        justify-self: start;
    }

    .masthead-nav {
        gap: 0.12rem;
        padding: 0.16rem;
        border-radius: 14px;
    }

    .masthead-link {
        min-height: 2rem;
        padding: 0.5rem 0.66rem;
        font-size: var(--fs-xs);
        white-space: nowrap;
    }

    .section-shell,
    .footer-row {
        width: min(1560px, calc(100vw - 32px));
    }

    .case-title,
    .zones-title,
    .contact-heading {
        font-size: clamp(2.2rem, 10vw, 3.3rem);
    }

    .case__body p,
    .contact__body p {
        font-size: var(--fs-body);
    }

    .zone__name {
        font-size: clamp(1.7rem, 8vw, 2.35rem);
    }

    .zone {
        grid-template-columns: 1fr;
        gap: 0.55rem;
    }

    .zone__idx {
        grid-column: auto;
        padding-top: 0;
    }

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

    .zone__idx,
    .contact__channels .lbl,
    .footer-copy,
    .footer-year {
        font-size: var(--fs-xs);
    }

    .contact__channels .val {
        font-size: var(--fs-md);
    }
}

@media (max-width: 480px) {
    :root { --diag: 16px; }

    .hero::before {
        inset: 0;
        clip-path: polygon(0% 64%, 100% 64%, 100% 100%, 0% 100%);
        opacity: 0.6;
    }

    .hero::after {
        clip-path: polygon(0% 56%, 100% 56%, 100% 69%, 0% 69%);
        background: linear-gradient(
            180deg,
            rgba(23, 19, 17, 0.13) 0%,
            rgba(23, 19, 17, 0.065) 26%,
            rgba(23, 19, 17, 0.015) 46%,
            rgba(255, 255, 255, 0.13) 68%,
            rgba(255, 255, 255, 0) 100%
        );
    }

    .hero-nav {
        display: none;
    }

    .masthead-nav {
        width: auto;
        max-width: 100%;
    }

    .masthead-link {
        flex: 0 0 auto;
        min-height: 1.84rem;
        padding-inline: 0.54rem;
        font-size: var(--fs-xs);
        text-align: center;
    }

    .masthead-link::after {
        display: none;
    }

    .hero-copy {
        max-width: min(98vw, 560px);
        margin-top: 1rem;
        padding-bottom: 2.5rem;
    }

    .hero-actions {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: flex-start;
        gap: 0.6rem;
        margin-top: 1.45rem;
    }

    .hero-actions > * {
        width: auto;
    }

    .hero-actions > a {
        min-height: 52px;
        padding: 0.82rem 1rem;
        font-size: var(--fs-sm);
    }

    .hero-meta {
        grid-template-columns: 1fr;
        padding: 0;
    }

    .hero-contact-card {
        gap: 0.65rem;
    }

    .hero-contact-icon {
        width: 2.15rem;
        height: 2.15rem;
    }

    .hero-contact-link {
        font-size: var(--fs-body);
    }

    .hero-contact-meta {
        font-size: var(--fs-sm);
    }

    .hero-stat {
        gap: 0.72rem;
    }

    .hero-stat__timeline {
        width: clamp(100px, 12vw, 130px);
    }

    .hero-stat__value-top {
        font-size: var(--fs-lg);
    }

    .hero-stat__value-bot {
        font-size: var(--fs-lg);
    }

    .hero-art-pebble {
        top: 5.3rem;
        right: 4%;
        width: min(42vw, 174px);
        opacity: 0.08;
    }

    .hero-art-parachute {
        right: 14%;
        bottom: 0.4rem;
        width: min(18vw, 72px);
        opacity: 0.32;
    }

    .scroll-indicator {
        margin-top: 0.8rem;
        padding-bottom: 0;
    }

    .floating-header {
        padding-top: 0.3rem;
        padding-bottom: 0.22rem;
    }

    .masthead {
        width: calc(100vw - 12px);
        gap: 0.38rem;
        padding: 0.26rem 0.3rem;
        border-radius: 16px;
    }

    .masthead .brand-mark {
        font-size: var(--fs-body);
    }

    .masthead-actions {
        gap: 0;
    }

    .masthead-cta {
        display: none;
    }

    .case,
    .zones,
    .contact-section {
        padding-top: 4.5rem;
        padding-bottom: 4.25rem;
    }

    .case {
        padding-top: calc(4.5rem + var(--diag));
    }

    .terminal {
        padding: 1.05rem;
        font-size: var(--fs-xs);
    }

    .term-line {
        grid-template-columns: 5rem minmax(0, 1fr);
    }

    .term-line--exec {
        grid-template-columns: 5rem minmax(6rem, max-content) minmax(0, 1fr);
    }

    .term-list .term-line {
        padding-left: 1.6rem;
    }

    .term-list .term-line::before {
        left: 0.2rem;
        width: 1.2rem;
    }

    .contact__channels li {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (min-width: 981px) {
    .hero-copy {
        max-width: min(86vw, 1120px);
    }

    .hero-title {
        max-width: 19ch;
        font-size: clamp(3.35rem, 4.6vw, 4.85rem);
    }
}

@media (min-width: 721px) and (max-width: 1180px) {
    .hero::before {
        inset: 0 0 0 auto;
        width: clamp(110px, 12vw, 190px);
        clip-path: polygon(18% 0%, 100% 0%, 100% 100%, 0% 100%);
    }

    .hero::after {
        display: block;
        clip-path: none;
        background:
            linear-gradient(rgba(23, 19, 17, 0.028) 1px, transparent 1px),
            linear-gradient(90deg, rgba(23, 19, 17, 0.024) 1px, transparent 1px),
            linear-gradient(112deg, transparent 0 54%, rgba(var(--legacy-red-rgb), 0.06) 54% 54.18%, transparent 54.18% 100%);
        background-size: 128px 128px, 128px 128px, auto;
    }
}

@media (min-width: 721px) and (max-width: 980px) {
    .hero-copy {
        max-width: min(90vw, 860px);
    }

    .hero-title {
        max-width: 18ch;
    }
}

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

    .primary-cta,
    .secondary-cta,
    .view-all,
    .contact-btn,
    .card-link,
    .menu-pill,
    .slider-btn {
        transition: none;
    }
}


@media (max-width: 1180px) {
    .masthead {
        grid-template-columns: auto minmax(0, 1fr) auto;
        gap: 1rem;
    }

    .masthead-nav {
        gap: 0.3rem;
    }

    .masthead-actions {
        gap: 0.7rem;
    }

    .hero-copy {
        max-width: min(86vw, 1120px);
    }

    .hero-stats {
        width: auto;
        max-width: none;
        row-gap: 0;
    }
}

@media (max-width: 980px) {
    .masthead {
        grid-template-columns: 1fr auto;
        grid-template-areas:
            "brand actions"
            "nav nav";
        gap: 0.75rem;
    }

    .masthead .brand-mark {
        grid-area: brand;
    }

    .masthead-actions {
        grid-area: actions;
    }

    .masthead-nav {
        grid-area: nav;
        justify-self: start;
        flex-wrap: nowrap;
        overflow-x: auto;
        width: 100%;
        padding-bottom: 0.15rem;
    }

    .hero-shell {
        padding-top: 96px;
    }

    .hero-copy {
        max-width: min(74vw, 560px);
        margin-top: 0.75rem;
    }

    .hero-title {
        font-size: clamp(3rem, 6vw, 4.2rem);
        max-width: 12.2ch;
    }

    .hero-text {
        max-width: 31ch;
        font-size: var(--fs-body);
    }

    .hero-art-pebble {
        top: 10%;
        left: 2%;
        right: auto;
        width: min(36vw, 360px);
        opacity: 0.08;
    }

    .hero-art-parachute {
        top: 34%;
        right: 3%;
        width: min(15vw, 116px);
        opacity: 0.36;
    }

    .hero-stats {
        width: auto;
        max-width: none;
    }
}

@media (min-width: 721px) {
    .hero-title {
        max-width: none;
        white-space: nowrap;
    }
}

@media (max-width: 720px) {
    .floating-header {
        padding-top: 0.3rem;
        padding-bottom: 0.22rem;
    }

    .masthead {
        grid-template-columns: 1fr auto;
        grid-template-areas:
            "brand actions";
        align-items: center;
        gap: 0.45rem;
        width: calc(100vw - 12px);
        padding: 0.34rem 0.42rem;
        border-radius: 16px;
    }

    .masthead-nav {
        display: none;
    }

    .masthead-actions {
        justify-self: end;
        gap: 0.5rem;
    }

    .masthead-cta {
        min-height: 40px;
        padding-inline: 1rem;
        font-size: var(--fs-xs);
    }

    .masthead-lang {
        font-size: var(--fs-xs);
    }

    .hero {
        min-height: auto;
        background: #d0d0d0;
    }

    .hero-shell {
        min-height: auto;
        padding: 86px 16px 28px;
    }

        .hero::before {
            display: none;
        }

    .hero::after {
        display: none;
    }

    .hero-copy {
        max-width: 100%;
        margin-top: 0;
        align-items: flex-start;
        text-align: left;
    }

    .hero-title {
        font-size: clamp(2.35rem, 10.5vw, 3.15rem);
        max-width: 11ch;
    }

    .hero-text {
        max-width: 100%;
        font-size: var(--fs-sm);
        line-height: 1.4;
        margin-right: 0;
        margin-left: 0;
        text-align: left;
    }

    .hero-actions {
        gap: 0.65rem;
        margin-top: 1.2rem;
    }

    .hero-actions > a {
        width: 100%;
        min-height: 50px;
        justify-content: center;
        padding: 0.88rem 1rem;
    }

    .secondary-cta {
        border: none !important;
        background: #fff !important;
        color: #171311 !important;
        font-weight: 600;
        border-radius: 8px;
        box-shadow: inset 0 0 0 1px rgba(23, 19, 17, 0.14) !important;
    }

    .hero-shell {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
    }

    .hero-art {
        position: relative;
        order: 2;
        width: 100%;
        margin-top: 1rem;
        border-radius: 18px;
        overflow: hidden;
        background:
            linear-gradient(180deg, rgba(var(--legacy-red-rgb), 0.7) 0%, rgba(var(--legacy-red-dark-rgb), 0.82) 100%),
            url("../images/hero-red-landscape.png");
        background-size: cover;
        background-position: center;
        box-shadow: 0 12px 24px rgba(var(--legacy-red-dark-rgb), 0.18);
    }

    .hero-art-card {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 96px;
        align-items: center;
        gap: 0.5rem;
        position: relative;
        background:
            linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0)),
            linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
            linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
        background-size: auto, 76px 76px, 76px 76px;
        border-radius: 12px;
        padding: 1.1rem 1rem 0.95rem;
        margin-top: 0;
        min-height: 174px;
    }

    .hero-art-text {
        position: relative;
        top: auto;
        right: auto;
        display: flex;
        flex-direction: column;
        gap: 0.35rem;
        max-width: none;
        width: auto;
        text-align: left;
        z-index: 2;
    }

    .hero-art-text__item {
        font-family: var(--sans-font, inherit);
        font-size: clamp(2.05rem, 10vw, 2.8rem);
        font-weight: 700;
        line-height: 0.96;
        letter-spacing: normal;
        transform: none;
        color: #fff;
        text-wrap: balance;
        text-shadow: 0 10px 24px rgba(74, 10, 10, 0.22);
    }

    .hero-meta {
        width: 100%;
        max-width: 100%;
        display: flex;
        flex-direction: column;
        gap: 0;
        margin-top: 1.2rem;
        order: 3;
        border-radius: 14px;
        background: #fff;
        box-shadow: inset 0 0 0 1px rgba(23, 19, 17, 0.08);
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    .hero-meta::before {
        display: none;
    }

    .hero-contact-row {
        gap: 0.75rem;
        padding: 1.15rem 1rem 1rem;
        border-bottom: none;
        box-shadow: inset 0 -1px 0 rgba(23, 19, 17, 0.06);
    }

    .hero-contact-label {
        font-size: var(--fs-xs);
        letter-spacing: 0.07em;
        text-align: left;
    }

    .hero-contact-copy {
        justify-items: start;
        text-align: left;
    }

    .hero-contact-links {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    .hero-contact-card {
        grid-template-columns: 36px minmax(0, 1fr) 20px;
        gap: 0.65rem;
        min-height: 58px;
        padding: 0.35rem 0;
        text-align: left;
    }

    .hero-contact-icon {
        width: 2.1rem;
        height: 2.1rem;
    }

    .hero-contact-link {
        font-size: var(--fs-body);
    }

    .hero-contact-meta {
        font-size: var(--fs-sm);
    }

    .hero-contact-arrow {
        width: 1.1rem;
        height: 1.1rem;
        font-size: 0;
        opacity: 0.4;
    }

    .hero-stats {
        position: relative;
        padding: 1rem 1rem 1.05rem;
        border-left: none !important;
        box-shadow: none;
        background: transparent;
    }

    .hero-stat {
        gap: 0.42rem;
        align-items: flex-start;
    }

    .hero-stat__copy {
        align-items: flex-start;
        text-align: left;
    }

    .hero-stat__value--stacked {
        flex-direction: row;
        align-items: baseline;
        gap: 0.3rem;
    }

    .hero-stat__timeline {
        width: 100%;
        min-width: 0;
        max-width: 240px;
        padding: 0 0.1rem;
    }

    .hero-stat__timeline-point .lbl {
        font-size: var(--fs-xs);
        font-weight: 700;
    }

    .hero-art-pebble {
        display: none;
    }

    .hero-art-parachute {
        position: relative;
        justify-self: end;
        align-self: center;
        right: auto;
        bottom: auto;
        width: 72px;
        filter: brightness(0) invert(1) opacity(0.78);
        z-index: 2;
        opacity: 0.5;
        animation: none;
        transform: translateY(8px) rotate(-4deg);
    }

    .hero-stat__value {
        font-size: var(--fs-lg);
        line-height: 0.9;
    }

    .hero-stat__value-top {
        font-size: inherit;
    }

    .hero-stat__value-bot {
        font-size: inherit;
    }

    .hero-stat__title {
        font-size: var(--fs-xs);
        padding: 0.22rem 0.58rem;
        background: rgba(var(--legacy-red-rgb), 0.09);
        text-align: left;
    }

    .hero-stat__text {
        max-width: 19ch;
        font-size: var(--fs-sm);
        line-height: 1.28;
        text-align: left;
    }
}

@media (max-width: 480px) {
    .hero-shell {
        padding: 82px 12px 22px;
    }

    .hero-title {
        font-size: clamp(2.18rem, 11vw, 2.82rem);
    }

    .hero-text {
        max-width: 100%;
        font-size: var(--fs-sm);
    }

    .hero-actions {
        margin-top: 1rem;
    }

    .hero-actions > a {
        min-height: 48px;
        font-size: var(--fs-sm);
    }

    .hero-art-card {
        grid-template-columns: minmax(0, 1fr) 72px;
        gap: 0.45rem;
        min-height: 144px;
        padding: 0.95rem 0.9rem 0.85rem;
    }

    .hero-art-text__item {
        font-size: clamp(1.72rem, 10vw, 2.38rem);
    }

    .hero-art-parachute {
        width: 72px;
        transform: translateY(10px) rotate(-5deg);
    }

    .hero-meta {
        max-width: 100%;
        border-radius: 12px;
    }

    .hero-contact-row {
        padding: 1.15rem 1rem 1.2rem;
    }

    .hero-stats {
        padding: 1.1rem 1rem 1.15rem;
    }

    .hero-stat__timeline-point {
        width: 36px;
    }

    .hero-stat__timeline-point .lbl {
        font-size: var(--fs-xs);
    }

    .hero-stat__value {
        font-size: var(--fs-lg);
    }

    .hero-stat__text {
        max-width: 18ch;
        font-size: var(--fs-sm);
    }
}

/* Liquid-chrome continuation after the hero. Original block hierarchy and fonts are preserved. */
.zones,
.case,
.contact-section {
    color: var(--legacy-ink);
}

.zones {
    margin-top: 0;
    padding-top: 5.4rem;
    clip-path: none;
    background:
        radial-gradient(ellipse at 15% 0%, rgba(255, 255, 255, 0.96) 0 18%, rgba(255, 255, 255, 0) 48%),
        radial-gradient(ellipse at 82% 10%, rgba(178, 180, 185, 0.3) 0 22%, rgba(178, 180, 185, 0) 56%),
        radial-gradient(ellipse at 44% 46%, rgba(255, 255, 255, 0.5) 0 18%, rgba(255, 255, 255, 0) 52%),
        linear-gradient(180deg, #f5f5f4 0%, #e9e7e2 42%, var(--handhold-paper) 100%);
}

.case,
.contact-section {
    background:
        radial-gradient(ellipse at 18% 8%, rgba(255, 255, 255, 0.76) 0 18%, rgba(255, 255, 255, 0) 44%),
        radial-gradient(ellipse at 84% 36%, rgba(190, 191, 196, 0.24) 0 18%, rgba(190, 191, 196, 0) 48%),
        radial-gradient(ellipse at 42% 100%, rgba(255, 255, 255, 0.58) 0 20%, rgba(255, 255, 255, 0) 50%),
        linear-gradient(180deg, var(--handhold-paper) 0%, #ece8df 54%, #efe4d0 100%);
}

.zones .grain,
.case .grain,
.contact-section .grain,
.zones::after {
    display: none;
}

.zone,
.case-proof-card,
.terminal-card,
.case-callout {
    border-color: var(--handhold-border);
}

.zone:hover {
    background: rgba(255, 255, 255, 0.42);
}

.link-chip,
.contact__channels .val,
.footer-year {
    transition-duration: 0.16s;
}

/* Project section lock: keep original hierarchy and force the title to two lines. */
.zones-title {
    max-width: none;
    font-family: var(--display-font);
    font-size: clamp(2.5rem, 3.7vw, 4.35rem);
    line-height: 0.98;
    letter-spacing: -0.05em;
    font-variation-settings: "wght" 600, "opsz" 32;
    text-wrap: balance;
}

.zones-title .accent-text-dark {
    display: block;
}

.zone-list {
    display: block;
    list-style: none;
    list-style-type: none;
    max-width: 1120px;
    margin-top: 3rem;
    padding-left: 0;
    border-top: 1px solid rgba(23, 19, 17, 0.14);
}

.zone {
    display: grid;
    grid-template-columns: 5.5rem minmax(0, 1fr);
    align-items: start;
    gap: 1.4rem;
    list-style: none;
    min-height: 0;
    margin-top: 0;
    padding: 1.85rem 0 1.75rem;
    border: 0;
    border-radius: 0;
    border-bottom: 1px solid rgba(23, 19, 17, 0.14);
    background: transparent;
    box-shadow: none;
    transform: none;
    transition: padding-left 0.28s var(--ease-standard, cubic-bezier(0.2, 0, 0, 1));
}

.zone::marker {
    content: "";
}

.zone:hover {
    padding-left: 0.6rem;
    background: transparent;
    transform: none;
}

.zone__idx {
    display: inline-flex;
    width: fit-content;
    height: 1.6rem;
    align-items: center;
    padding: 0.1rem 0.44rem 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.5);
    color: var(--legacy-red);
    font-family: var(--mono-font);
    font-size: var(--fs-xs);
    letter-spacing: 0.14em;
}

.zone__body {
    display: grid;
    grid-template-columns: minmax(260px, 0.48fr) minmax(0, 1fr);
    column-gap: clamp(2rem, 4vw, 4.8rem);
    row-gap: 0.7rem;
}

.zone__name {
    max-width: none;
    font-family: var(--display-font);
    font-size: clamp(1.95rem, 2.4vw, 2.95rem);
    line-height: 1;
    letter-spacing: -0.045em;
    font-variation-settings: "wght" 600, "opsz" 32;
}

.zone__lead {
    max-width: 52ch;
    padding-top: 0.1rem;
}

.zone__steps {
    grid-column: 2;
    max-width: 54ch;
}

@media (min-width: 981px) {
    .hero-art-pebble,
    .hero-art-parachute {
        display: none;
    }
}

@media (max-width: 720px) {
    .zones-title {
        max-width: 12ch;
        font-size: clamp(2.2rem, 10vw, 3.3rem);
    }

    .zone {
        grid-template-columns: 1fr;
        gap: 0.55rem;
    }

    .zone__idx {
        padding-top: 0;
    }

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

    .zone__steps {
        grid-column: auto;
    }
}
