:root {
    --night: #04090f;
    --ink: #f4f8fa;
    --muted: rgba(224, 236, 242, 0.72);
    --soft: rgba(224, 236, 242, 0.48);
    --line: rgba(212, 239, 249, 0.17);
    --ice: #a9e9f8;
    --ice-bright: #e3faff;
    --amber: #efb95f;
    --coral: #e96f61;
    --mint: #9ec9b2;
    --paper: #e9eeee;
    color-scheme: dark;
}

@property --wordmark-highlight-start {
    syntax: "<percentage>";
    inherits: false;
    initial-value: 76.9%;
}

* { box-sizing: border-box; }

html {
    min-width: 320px;
    scroll-behavior: smooth;
    scroll-padding-top: 5rem;
}

body.rebrand-page {
    min-width: 320px;
    margin: 0;
    overflow-x: hidden;
    color: var(--ink);
    background: var(--night);
    font-family: "Inter Tight", Inter, system-ui, sans-serif;
    letter-spacing: 0;
}

body.rebrand-page::after {
    position: fixed;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    content: "";
    border: 1px solid rgba(222, 246, 255, 0.04);
    box-shadow: inset 0 0 120px rgba(0, 0, 0, 0.34);
}

img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
kbd { font-family: "IBM Plex Mono", monospace; font-weight: 600; }

.skip-link {
    position: fixed;
    top: 0.5rem;
    left: 0.5rem;
    z-index: 100;
    padding: 0.7rem 0.9rem;
    color: #031017;
    background: #fff;
    transform: translateY(-160%);
}

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

#snow-scene {
    position: fixed;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    background:
        radial-gradient(circle at 72% 18%, rgba(226, 240, 244, 0.74) 0 3%, rgba(216, 234, 239, 0.32) 11%, transparent 29%),
        linear-gradient(180deg, #58758a 0%, #87a4b4 52%, #a8bdc6 100%);
    pointer-events: none;
    transition: opacity 360ms ease;
}

.webgl-ready #snow-scene { opacity: 1; }
.webgl-ready[data-scene-owner="none"] #snow-scene {
    visibility: hidden;
    opacity: 0;
}
.no-webgl #snow-scene { display: none; }

body[data-page="home"][data-scene-owner="none"] .igloo-entrance-link {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
}

body[data-page="home"][data-scene-owner="hero"]::after {
    border-color: rgba(193, 226, 235, 0.1);
    box-shadow: inset 0 0 140px rgba(6, 30, 43, 0.22);
}

main, .brand-footer { position: relative; z-index: 2; }

.brand-nav {
    position: fixed;
    top: 1rem;
    left: 50%;
    z-index: 30;
    display: flex;
    width: min(1220px, calc(100% - 32px));
    min-height: 58px;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.42rem 0.5rem 0.42rem 0.75rem;
    border: 1px solid var(--line);
    border-radius: 7px;
    background: rgba(4, 9, 15, 0.73);
    box-shadow: 0 18px 52px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(18px);
    transform: translateX(-50%);
}

.wordmark {
    position: relative;
    z-index: 32;
    display: inline-flex;
    min-width: 0;
    align-items: center;
    gap: 0.18rem;
    color: #fff;
    font-family: "IBM Plex Mono", monospace;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
}

.wordmark > span {
    --wordmark-highlight-start: 76.9%;
    color: #fff;
    background: linear-gradient(90deg,
        #fff 0 calc(var(--wordmark-highlight-start) - 0.4%),
        #86efff calc(var(--wordmark-highlight-start) + 0.4%) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: wordmark-snow-highlight 5.8s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}

@keyframes wordmark-snow-highlight {
    0%, 28% { --wordmark-highlight-start: 76.9%; }
    48%, 72% { --wordmark-highlight-start: 69.2%; }
    92%, 100% { --wordmark-highlight-start: 76.9%; }
}

@media (prefers-reduced-motion: reduce) {
    .wordmark > span {
        --wordmark-highlight-start: 76.9%;
        animation: none;
    }
}

.wordmark i { color: var(--amber); font-style: normal; animation: cursor-blink 1.15s steps(1) infinite; }
@keyframes cursor-blink { 50% { opacity: 0; } }

.brand-nav__controls { position: relative; z-index: 32; display: flex; gap: 0.4rem; }

.brand-signin,
.key-control {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1rem;
    border: 1px solid rgba(169, 233, 248, 0.25);
    border-radius: 5px;
    color: var(--ice-bright);
    background: rgba(169, 233, 248, 0.06);
    font: 500 0.72rem "IBM Plex Mono", monospace;
    letter-spacing: 0;
    text-transform: none;
    white-space: nowrap;
}
.brand-signin { text-decoration: none; }
.brand-signin:hover { background: rgba(169, 233, 248, 0.14); border-color: var(--ice); }
.brand-signin:focus-visible { outline: 2px solid var(--ice); outline-offset: 3px; }
@media (max-width: 699px) {
    .brand-signin { padding-inline: 0.7rem; font-size: 0.68rem; }
}

.key-control {
    cursor: pointer;
}

.key-control:hover, .key-control:focus-visible {
    border-color: var(--ice);
    color: #fff;
    outline: none;
    background: rgba(169, 233, 248, 0.14);
}

.brand-menu {
    position: fixed;
    top: -1rem;
    left: 50%;
    z-index: 31;
    width: 100vw;
    min-height: 100svh;
    max-height: calc(100svh + 1rem);
    padding: 8rem max(1.5rem, calc((100vw - 1060px) / 2)) 4rem;
    overflow-y: auto;
    overscroll-behavior: contain;
    visibility: hidden;
    opacity: 0;
    background: rgba(3, 8, 13, 0.985);
    transform: translate(-50%, -1.5rem);
    transition: opacity 220ms ease, transform 220ms ease, visibility 220ms;
}

.brand-menu.is-open { visibility: visible; opacity: 1; transform: translate(-50%, 0); }
body.menu-open { overflow: hidden; }
.brand-menu__inner { display: grid; width: min(760px, 100%); margin-left: auto; }
.brand-menu__inner > p { margin: 0 0 1.5rem; color: var(--amber); font: 500 0.74rem "IBM Plex Mono", monospace; text-transform: uppercase; }
.brand-menu a { display: flex; align-items: center; justify-content: space-between; padding: 0.9rem 0; border-bottom: 1px solid var(--line); color: rgba(247, 251, 255, 0.82); font-size: 2.45rem; font-weight: 700; text-decoration: none; }
.brand-menu a span { color: var(--soft); font: 500 0.74rem "IBM Plex Mono", monospace; text-transform: uppercase; }
.brand-menu a:hover, .brand-menu a:focus-visible { color: var(--ice-bright); outline: none; }

.chapter-progress {
    position: fixed;
    right: max(1rem, calc((100vw - 1220px) / 2));
    bottom: 1.2rem;
    z-index: 18;
    display: flex;
    gap: 0.18rem;
    padding: 0.4rem;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: rgba(4, 9, 15, 0.72);
    backdrop-filter: blur(14px);
}

.chapter-progress a { display: grid; width: 27px; height: 27px; place-items: center; color: var(--soft); text-decoration: none; }
.chapter-progress a span { width: 4px; height: 4px; border-radius: 50%; background: currentColor; }
.chapter-progress a kbd { display: none; }
.chapter-progress a[aria-current="step"] { color: var(--amber); }
.chapter-progress a[aria-current="step"] span { width: 16px; border-radius: 1px; }
.experience-complete .chapter-progress { opacity: 0; pointer-events: none; }
body[data-page="home"] .chapter-progress {
    opacity: 0;
    pointer-events: none;
    transition: opacity 220ms ease;
}
body[data-page="home"].legacy-experience-visible .chapter-progress {
    opacity: 1;
    pointer-events: auto;
}
body[data-page="home"].experience-complete .chapter-progress {
    opacity: 0;
    pointer-events: none;
}

.experience-status {
    position: fixed;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
}

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

/* Compact storyboard hero -------------------------------------------------- */
.story-hero {
    --story-progress: 0;
    --story-copy-opacity: 1;
    --story-copy-shift: 0px;
    --story-scroll-cue-opacity: 1;
    position: relative;
    z-index: 5;
    height: 162svh;
    isolation: isolate;
    color: #10263c;
    background-color: #8ca8b6;
    transition: background-color 360ms ease;
}

.story-hero__stage {
    position: sticky;
    top: 0;
    height: 100svh;
    min-height: 100svh;
    overflow: hidden;
    background-color: #8ca8b6;
    transition: background-color 360ms ease;
}

.story-hero__backdrop,
.story-hero__atmosphere {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.story-hero__backdrop {
    z-index: 0;
    background:
        radial-gradient(circle at 72% 18%, rgba(226, 240, 244, 0.74) 0 3%, rgba(216, 234, 239, 0.32) 11%, transparent 29%),
        linear-gradient(180deg, #58758a 0%, #87a4b4 52%, #a8bdc6 100%);
    transition: opacity 360ms ease;
}

.story-hero__atmosphere {
    z-index: 1;
    background:
        radial-gradient(circle at 70% 20%, rgba(218, 236, 241, 0.24), transparent 26%),
        linear-gradient(90deg, rgba(30, 69, 88, 0.15), transparent 43%, rgba(213, 233, 239, 0.05)),
        linear-gradient(180deg, rgba(24, 55, 72, 0.04), transparent 43%, rgba(24, 61, 80, 0.1) 100%);
    box-shadow: inset 0 -14svh 22svh rgba(18, 50, 67, 0.14);
}

.story-hero__content {
    position: absolute;
    top: clamp(6.8rem, 11.5svh, 8.3rem);
    left: max(2rem, calc((100vw - 1220px) / 2));
    z-index: 7;
    width: min(860px, 72vw);
    pointer-events: none;
}

.story-hero__kicker {
    display: flex;
    align-items: center;
    margin: 0;
    color: rgba(15, 53, 73, 0.8);
    font: 600 clamp(0.58rem, 0.72vw, 0.68rem) "IBM Plex Mono", monospace;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    text-shadow:
        0 0 12px rgba(220, 247, 252, 0.58),
        0 1px 14px rgba(242, 253, 255, 0.88);
}

.story-hero__kicker i {
    color: rgba(20, 61, 92, 0.88);
    font-style: normal;
    letter-spacing: 0;
}

.story-hero__title {
    width: max-content;
    max-width: 100%;
    margin: clamp(0.75rem, 1.7svh, 1.15rem) 0 0;
    opacity: var(--story-phrase-opacity);
    filter: drop-shadow(0 18px 23px rgba(0, 7, 18, 0.38));
    font-size: clamp(5.2rem, 9.35vw, 8.5rem);
    font-weight: 900;
    line-height: 0.76;
    letter-spacing: -0.075em;
    text-transform: uppercase;
    transition: opacity 80ms linear;
    will-change: opacity;
}

.story-hero__ice-line {
    display: flex;
    width: max-content;
    align-items: flex-end;
    white-space: nowrap;
}

.story-hero__ice-line + .story-hero__ice-line { margin-top: 0.16em; }

.story-hero__ice-token {
    position: relative;
    z-index: 1;
    display: inline-block;
    isolation: isolate;
    color: transparent;
    background:
        linear-gradient(180deg, #fbfeff 0%, #e1eef1 24%, #bdd2da 45%, #f2f8f8 63%, #91aab5 84%, #d5e5ea 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke: 0.9px rgba(234, 249, 252, 0.82);
    text-shadow:
        0 0 5px rgba(220, 245, 250, 0.22),
        0 10px 22px rgba(0, 12, 23, 0.22);
}

.story-hero__ice-token::before,
.story-hero__ice-token::after {
    position: absolute;
    inset: 0;
    pointer-events: none;
    content: attr(data-ice-text);
}

.story-hero__ice-token::before {
    z-index: -1;
    color: #789ba9;
    -webkit-text-stroke: 1.6px rgba(154, 192, 205, 0.68);
    text-shadow:
        0 0.025em 0 #aac4ce,
        0 0.058em 0 #728f9d,
        0 0.095em 0 #405d6c,
        0 0.135em 0.13em rgba(0, 7, 16, 0.42);
    transform: translate3d(0.014em, 0.036em, 0);
}

.story-hero__ice-token::after {
    z-index: 2;
    color: transparent;
    background:
        radial-gradient(circle at 18% 24%, rgba(255, 255, 255, 0.58) 0 0.018em, transparent 0.055em),
        radial-gradient(circle at 73% 58%, rgba(255, 255, 255, 0.42) 0 0.012em, transparent 0.048em),
        radial-gradient(circle at 42% 76%, rgba(224, 244, 248, 0.46) 0 0.02em, transparent 0.065em),
        linear-gradient(180deg, rgba(255, 255, 255, 0.46), transparent 48%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0.6;
    filter: blur(0.18px);
}

.story-hero__ice-token--your { margin-right: 0.34em; }
.story-hero__ice-token--s {
    z-index: 2;
    margin-right: -0.03em;
    transform: translate3d(var(--story-s-shift), 0, 0);
    will-change: transform;
}
.story-hero__ice-token--now {
    transform: translate3d(var(--story-now-shift), 0, 0);
    will-change: transform;
}

.story-hero__offer {
    width: max-content;
    max-width: 100%;
    margin-top: clamp(1.35rem, 2.5svh, 2rem);
    opacity: var(--story-copy-opacity);
    pointer-events: auto;
    transform: translate3d(0, var(--story-copy-shift), 0);
    transition: opacity 120ms linear, transform 120ms linear;
    will-change: opacity, transform;
}

.story-hero--copy-hidden .story-hero__offer { pointer-events: none; }

.story-hero__offer > p {
    max-width: 39rem;
    margin: 0;
    color: rgba(13, 38, 60, 0.94);
    font-size: clamp(1rem, 1.35vw, 1.2rem);
    font-weight: 550;
    line-height: 1.38;
    text-wrap: balance;
    text-shadow: 0 1px 14px rgba(255, 255, 255, 0.9);
}

.story-hero__actions {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    margin-top: 0;
}

.story-hero__actions::before {
    width: clamp(1.75rem, 3vw, 2.8rem);
    height: 1px;
    background: linear-gradient(90deg, rgba(20, 61, 92, 0.18), rgba(20, 61, 92, 0.72));
    content: "";
}

.story-hero__actions .button {
    min-height: 58px;
    padding: 0.42rem 0.44rem 0.42rem 1.15rem;
    border-radius: 15px;
    font-size: 0.88rem;
}

.story-hero__actions .button--primary {
    color: #f8fcff;
    border-color: rgba(215, 243, 250, 0.24);
    background: rgba(10, 38, 60, 0.9);
    box-shadow:
        0 18px 38px rgba(20, 55, 78, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    -webkit-backdrop-filter: blur(14px) saturate(115%);
    backdrop-filter: blur(14px) saturate(115%);
    transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.story-hero__project-cta-label {
    min-width: 7.25rem;
    text-align: left;
    letter-spacing: -0.015em;
}

.story-hero__project-cta-arrow {
    display: grid;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    place-items: center;
    border: 1px solid rgba(220, 250, 255, 0.5);
    border-radius: 11px;
    color: #0c2f47;
    background: #9ce9f5;
    font-size: 1.12rem;
    transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.story-hero__actions .button--primary:hover,
.story-hero__actions .button--primary:focus-visible {
    border-color: rgba(221, 249, 255, 0.48);
    color: #fff;
    background: #0b2b43;
    box-shadow:
        0 22px 45px rgba(18, 53, 76, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
    transform: translateY(-2px);
}

.story-hero__actions .button--primary:hover .story-hero__project-cta-arrow,
.story-hero__actions .button--primary:focus-visible .story-hero__project-cta-arrow {
    color: #2c1a02;
    background: #f7c75f;
    transform: translate(1px, -1px);
}

.story-hero__actions .button--quiet {
    color: #173b57;
    border-color: rgba(32, 76, 108, 0.34);
    background: rgba(255, 255, 255, 0.48);
    backdrop-filter: blur(9px);
}

.story-hero__actions .button:focus-visible {
    outline: 2px solid #173b57;
    outline-offset: 4px;
}

.story-hero__aside {
    position: absolute;
    top: 13.8svh;
    right: max(2rem, calc((100vw - 1220px) / 2));
    z-index: 7;
    margin: 0;
    color: rgba(21, 62, 92, 0.62);
    font: 600 0.58rem/1.85 "IBM Plex Mono", monospace;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.story-hero__scroll-cue {
    position: absolute;
    right: max(2rem, calc((100vw - 1220px) / 2));
    bottom: 4.4svh;
    z-index: 7;
    display: flex;
    align-items: flex-end;
    gap: 0.7rem;
    opacity: var(--story-scroll-cue-opacity);
    transition: opacity 80ms linear;
}

.story-hero__scroll-cue > span {
    width: 1px;
    height: 58px;
    background: linear-gradient(180deg, rgba(224, 247, 255, 0.9), rgba(224, 247, 255, 0.06));
}

.story-hero__scroll-cue p {
    margin: 0 0 -0.2rem;
    color: rgba(231, 246, 253, 0.76);
    font: 500 0.62rem/1.35 "IBM Plex Mono", monospace;
}

.story-hero__igloo {
    position: absolute;
    right: clamp(1.5rem, 5vw, 5.5rem);
    bottom: 1.5svh;
    z-index: 4;
    width: min(44vw, 650px);
    aspect-ratio: 1.42;
    isolation: isolate;
    opacity: var(--story-igloo-opacity);
    filter: drop-shadow(0 34px 32px rgba(0, 5, 12, 0.34));
    pointer-events: none;
    transition: opacity 80ms linear;
    will-change: opacity;
}

.story-hero__igloo::before,
.story-hero__igloo::after {
    position: absolute;
    content: "";
    pointer-events: none;
}

.story-hero__igloo::before {
    right: 4%;
    bottom: 1%;
    left: 4%;
    z-index: 0;
    height: 12%;
    border-radius: 50%;
    opacity: var(--story-shell-opacity);
    background: radial-gradient(ellipse, rgba(0, 8, 16, 0.62), rgba(28, 79, 103, 0.2) 45%, transparent 72%);
    filter: blur(12px);
}

.story-hero__igloo::after {
    right: -3%;
    bottom: 0;
    left: -3%;
    z-index: 8;
    height: 9%;
    border-radius: 50% 48% 42% 54%;
    opacity: var(--story-shell-opacity);
    background:
        radial-gradient(ellipse at 44% 35%, rgba(231, 248, 251, 0.82), transparent 38%),
        linear-gradient(180deg, rgba(173, 211, 224, 0.88), rgba(66, 112, 134, 0.68));
    box-shadow: inset 0 7px 12px rgba(255, 255, 255, 0.12), 0 7px 18px rgba(0, 10, 18, 0.24);
}

.story-hero__igloo-shell {
    position: absolute;
    inset: 3% 0 7%;
    z-index: 2;
    overflow: visible;
    border-radius: 50% 50% 8% 8% / 92% 92% 7% 7%;
}

.story-hero__igloo-shell::before {
    position: absolute;
    inset: 0;
    z-index: 0;
    border: 1px solid rgba(226, 249, 255, 0.44);
    border-radius: inherit;
    content: "";
    opacity: var(--story-shell-opacity);
    background:
        repeating-linear-gradient(0deg, transparent 0 10.8%, rgba(219, 247, 255, 0.15) 11%, rgba(13, 63, 91, 0.09) 11.8%, transparent 12.3%),
        radial-gradient(circle at 43% 16%, rgba(255, 255, 255, 0.9), transparent 18%),
        radial-gradient(circle at 30% 26%, rgba(255, 255, 255, 0.2), transparent 32%),
        linear-gradient(136deg, rgba(225, 244, 248, 0.44), rgba(105, 163, 187, 0.34) 46%, rgba(36, 82, 105, 0.5) 100%);
    box-shadow:
        inset 24px 18px 35px rgba(255, 255, 255, 0.2),
        inset -30px -24px 46px rgba(4, 38, 64, 0.38),
        0 0 36px rgba(114, 205, 243, 0.14);
}

.story-hero__igloo-blocks { position: absolute; inset: 0; z-index: 2; }

.story-hero__igloo-block {
    position: absolute;
    display: block;
    overflow: hidden;
    border: 1px solid rgba(228, 250, 255, 0.58);
    border-radius: 9% 11% 8% 10%;
    background:
        radial-gradient(circle at var(--block-highlight-x) 20%, rgba(255, 255, 255, 0.48), transparent 28%),
        linear-gradient(145deg, rgba(218, 240, 245, 0.98), rgba(117, 170, 191, 0.98) 50%, rgba(42, 89, 111, 0.98));
    box-shadow:
        inset 4px 5px 8px rgba(255, 255, 255, 0.2),
        inset -7px -8px 10px rgba(5, 39, 59, 0.34),
        2px 3px 0 rgba(25, 67, 88, 0.46),
        0 4px 7px rgba(0, 18, 31, 0.26);
    transform-origin: center;
    will-change: transform, opacity;
}

.story-hero__igloo-block::before {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 8%;
    height: 22%;
    content: "";
    background: linear-gradient(180deg, transparent, rgba(14, 55, 76, 0.34));
}

.story-hero__igloo-block::after {
    position: absolute;
    inset: 8% 12% 72%;
    border-radius: 999px;
    content: "";
    opacity: 0.46;
    background: rgba(255, 255, 255, 0.24);
    filter: blur(1.5px);
}

.story-hero__entrance {
    position: absolute;
    bottom: 4.5%;
    left: 50%;
    z-index: 6;
    width: 20%;
    height: 35%;
    border: clamp(6px, 0.8vw, 11px) solid rgba(179, 215, 226, 0.9);
    border-bottom: 0;
    border-radius: 50% 50% 5% 5% / 46% 46% 5% 5%;
    opacity: var(--story-entrance-opacity);
    background:
        radial-gradient(ellipse at 50% 100%, rgba(255, 222, 154, 0.94) 0%, rgba(210, 124, 52, 0.64) 24%, transparent 56%),
        linear-gradient(180deg, #100b0a 0%, #24130d 58%, #6b3419 100%);
    box-shadow:
        0 0 14px rgba(255, 181, 84, 0.3),
        inset 0 0 18px rgba(255, 225, 169, 0.46),
        0 0 0 1px rgba(241, 253, 255, 0.66);
    transform: translateX(-50%);
}

.story-hero__entrance::before {
    position: absolute;
    right: 11%;
    bottom: 0;
    left: 11%;
    height: 78%;
    border-radius: 50% 50% 2% 2% / 42% 42% 2% 2%;
    content: "";
    background: linear-gradient(90deg, rgba(89, 43, 17, 0.7), rgba(255, 209, 130, 0.08), rgba(83, 35, 12, 0.72));
}

.story-hero__light-spill {
    position: absolute;
    bottom: 0;
    left: 50%;
    z-index: 5;
    width: 34%;
    height: 9%;
    border-radius: 50%;
    opacity: var(--story-entrance-opacity);
    background: radial-gradient(ellipse, rgba(255, 211, 137, 0.42), rgba(216, 127, 45, 0.1) 42%, transparent 72%);
    filter: blur(8px);
    transform: translateX(-50%);
}

.story-webgl-active .story-hero,
.story-webgl-active .story-hero__stage { background-color: transparent; }

.story-webgl-active .story-hero__backdrop { opacity: 0; }

.story-webgl-active .story-hero__atmosphere {
    background:
        radial-gradient(circle at 70% 19%, rgba(218, 236, 241, 0.16), transparent 27%),
        linear-gradient(90deg, rgba(20, 57, 76, 0.1), transparent 47%, rgba(207, 231, 237, 0.025)),
        linear-gradient(180deg, rgba(17, 44, 59, 0.03), transparent 50%, rgba(14, 48, 66, 0.075) 100%);
    box-shadow: inset 0 -12svh 20svh rgba(13, 43, 59, 0.1);
}

.story-services {
    position: relative;
    z-index: 6;
    display: grid;
    min-height: 100svh;
    grid-template-columns: minmax(0, 0.9fr) minmax(440px, 1.1fr);
    align-content: center;
    gap: clamp(3rem, 9vw, 9rem);
    padding: clamp(5.5rem, 9vw, 9rem) max(2rem, calc((100vw - 1220px) / 2));
    color: #112126;
    background:
        linear-gradient(90deg, rgba(36, 70, 78, 0.055) 1px, transparent 1px),
        #edf2f1;
    background-size: 5.5rem 100%, auto;
    border-top: 1px solid rgba(238, 252, 255, 0.34);
}

.story-services__eyebrow {
    margin: 0 0 1.2rem;
    color: #8f433b;
    font: 600 0.66rem "IBM Plex Mono", monospace;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.story-services__intro h2 {
    max-width: 10ch;
    margin: 0;
    font-size: clamp(2.75rem, 5vw, 5.25rem);
    font-weight: 800;
    line-height: 0.94;
    letter-spacing: -0.045em;
    text-wrap: balance;
}

.story-services__list {
    margin: 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid rgba(17, 33, 38, 0.28);
}

.story-services__list li {
    display: grid;
    min-height: 92px;
    grid-template-columns: 3rem minmax(0, 1fr);
    align-items: center;
    gap: 1rem;
    border-bottom: 1px solid rgba(17, 33, 38, 0.22);
}

.story-services__list span {
    color: #8f433b;
    font: 600 0.62rem "IBM Plex Mono", monospace;
}

.story-services__list strong {
    font-size: clamp(1.25rem, 2.15vw, 2rem);
    font-weight: 700;
    line-height: 1.08;
}

.home-approach {
    position: relative;
    z-index: 3;
    padding: clamp(6.5rem, 10vw, 10rem) max(1.5rem, calc((100vw - 1220px) / 2));
    overflow: hidden;
    color: var(--ice-bright);
    background:
        linear-gradient(90deg, rgba(142, 211, 227, 0.028) 1px, transparent 1px),
        #071015;
    background-size: 5.5rem 100%, auto;
    border-top: 1px solid rgba(202, 237, 245, 0.12);
    border-bottom: 1px solid rgba(202, 237, 245, 0.12);
}

.home-approach__intro {
    display: grid;
    grid-template-columns: minmax(150px, 0.28fr) minmax(360px, 1fr) minmax(260px, 0.58fr);
    align-items: end;
    gap: clamp(2rem, 5vw, 5rem);
}

.home-approach__eyebrow {
    margin: 0;
    color: var(--amber);
    font: 600 0.66rem "IBM Plex Mono", monospace;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.home-approach__intro h2,
.home-approach__discovery h2 {
    margin: 0;
    letter-spacing: -0.045em;
    text-wrap: balance;
}

.home-approach__intro h2 {
    max-width: 11ch;
    font-size: clamp(3rem, 5.6vw, 5.8rem);
    line-height: 0.92;
}

.home-approach__intro > p:last-child {
    max-width: 39ch;
    margin: 0;
    color: var(--muted);
    font-size: clamp(1rem, 1.35vw, 1.15rem);
    line-height: 1.58;
}

.home-approach__principles {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: clamp(4rem, 7vw, 6.5rem) 0 0;
    padding: 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    list-style: none;
}

.home-approach__principles li {
    min-height: clamp(280px, 25vw, 350px);
    padding: clamp(1.8rem, 3vw, 2.8rem);
}

.home-approach__principles li:first-child { padding-left: 0; }
.home-approach__principles li:last-child { padding-right: 0; }
.home-approach__principles li + li { border-left: 1px solid var(--line); }

.home-approach__principles span {
    color: var(--amber);
    font: 600 0.63rem "IBM Plex Mono", monospace;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.home-approach__principles h3 {
    max-width: 12ch;
    margin: clamp(3.25rem, 6vw, 5.5rem) 0 1rem;
    color: #f5fbfd;
    font-size: clamp(1.7rem, 3vw, 2.85rem);
    line-height: 1;
}

.home-approach__principles p {
    max-width: 36ch;
    margin: 0;
    color: var(--muted);
    font-size: 0.98rem;
    line-height: 1.55;
}

.home-approach__discovery {
    position: relative;
    isolation: isolate;
    margin-top: 0;
    padding: clamp(2.75rem, 5vw, 4.75rem);
    overflow: hidden;
    color: #101719;
    background:
        linear-gradient(90deg, rgba(16, 39, 46, 0.05) 1px, transparent 1px),
        linear-gradient(rgba(16, 39, 46, 0.035) 1px, transparent 1px),
        radial-gradient(circle at 72% 40%, rgba(81, 199, 220, 0.14), transparent 34%),
        #dfeceb;
    background-size: clamp(4.5rem, 7vw, 6rem) 100%, 100% 4.5rem, auto, auto;
    box-shadow: inset 0 1px rgba(255, 255, 255, 0.72);
}

.home-approach__discovery-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.84fr) minmax(410px, 1.16fr);
    align-items: center;
    gap: clamp(2.75rem, 6vw, 6.5rem);
}

.home-approach__discovery-content { min-width: 0; }

.home-approach__discovery h2 {
    max-width: 10.5ch;
    font-size: clamp(3rem, 5.35vw, 5.55rem);
    line-height: 0.92;
}

.home-ai-search { width: 100%; min-width: 0; color: #dce8ee; font-family: "IBM Plex Mono", monospace; }
.home-ai-search__surface { overflow: hidden; border: 1px solid #374b58; border-radius: 10px; background: #101c25; box-shadow: 0 20px 48px #16364126; }
.home-ai-search__chrome { display: flex; align-items: center; gap: 14px; min-height: 48px; padding: 10px 20px; border-bottom: 1px solid #31414d; background: #1b2b36; font-size: 12px; }
.home-ai-search__window-dots { display: flex; gap: 5px; }
.home-ai-search__window-dots i { width: 7px; height: 7px; border: 1px solid #75909f; border-radius: 50%; }
.home-ai-search__window-dots i:first-child { background: #91aeba; }
.home-ai-search__path { color: #94aab7; }
.home-ai-search__state { margin-left: auto; color: #9cb4c1; font-size: 11px; }
.home-ai-search__body { padding: 24px; }
.home-ai-search__prompt { display: flex; align-items: flex-start; gap: 12px; padding: 0 0 22px; border-bottom: 1px solid #31414d; }
.home-ai-search__prompt label { padding-top: 7px; color: #a9e9f8; font-size: 22px; }
.home-ai-search__prompt textarea { display: block; flex: 1; min-width: 0; width: 100%; height: 64px; padding: 8px 0 0; border: 0; border-radius: 0; outline-offset: 4px; resize: none; background: transparent; color: #f2f8fb; font: 500 16px/1.55 "IBM Plex Mono", monospace; overflow: hidden; }
.home-ai-search__submit { flex: 0 0 auto; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid #536f7e; border-radius: 5px; background: #213946; color: #c6f2fc; font-size: 24px; cursor: pointer; }
.home-ai-search__submit:hover:not(:disabled) { background: #305365; }
.home-ai-search__processing { display: grid; gap: 10px; margin: 22px 0; padding: 0; list-style: none; }
.home-ai-search__processing li { display: flex; align-items: baseline; gap: 10px; color: #acbdc8; font-size: 12px; line-height: 1.55; transition: color 180ms ease; }
.home-ai-search__step-mark { flex: 0 0 12px; color: #96d5c5; }
.home-ai-search__step-detail { margin-left: auto; color: #809ba9; font-size: 10px; }
.home-ai-search__processing [data-state="pending"] { color: #657f8d; }
.home-ai-search__processing [data-state="pending"] .home-ai-search__step-mark { color: #657f8d; }
.home-ai-search__processing [data-state="active"] { color: #d5f4fb; }
.home-ai-search__processing [data-state="active"] .home-ai-search__step-mark { color: #b0f0ff; animation: ai-terminal-blink 650ms steps(2, end) infinite; }
.home-ai-search__output { position: relative; min-height: 190px; padding-top: 22px; border-top: 1px dashed #3b515e; }
.home-ai-search__working { display: none; align-items: center; flex-wrap: wrap; gap: 10px; padding-top: 14px; color: #b8d6e3; font-size: 12px; }
.home-ai-search__spinner { display: inline-block; color: #a9e9f8; font-size: 26px; line-height: 1; animation: ai-terminal-spin 1.5s linear infinite; }
.home-ai-search__scan { position: relative; flex: 0 0 100%; height: 2px; margin-top: 14px; overflow: hidden; background: #233c49; }
.home-ai-search__scan::after { position: absolute; inset: 0 auto 0 0; width: 26%; background: #97d6e7; content: ""; animation: ai-terminal-scan 1.4s ease-in-out infinite; }
.home-ai-search__result-index { display: block; margin-bottom: 16px; color: #96d5c5; font-size: 11px; }
.home-ai-search__result-heading { display: flex; align-items: center; gap: 12px; }
.home-ai-search__result-logo { flex: 0 0 32px; width: 32px; height: 32px; border-radius: 5px; }
.home-ai-search__result h3 { margin: 0; color: #f0f8fb; font: 600 clamp(15px, 1.5vw, 20px)/1.25 "Inter Tight", sans-serif; letter-spacing: 0.015em; }
.home-ai-search__url { display: block; margin-top: 4px; color: #91aeba; font-size: 11px; }
.home-ai-search__result > p { margin: 18px 0 0; color: #deedf4; font: 500 clamp(18px, 1.75vw, 24px)/1.35 "Inter Tight", sans-serif; letter-spacing: -0.02em; }
.home-ai-search__result ul { display: flex; flex-wrap: wrap; gap: 5px 14px; margin: 14px 0 0; padding: 0; list-style: none; }
.home-ai-search__result li { color: #9cb2bf; font-size: 11px; }
.home-ai-search__footer { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 4px 14px; min-height: 50px; padding: 8px 24px; border-top: 1px solid #31414d; color: #98afbd; font-size: 10px; }
.home-ai-search__footer button { display: inline-flex; align-items: center; gap: 7px; min-height: 36px; padding: 0; border: 0; background: transparent; color: #b5e7f3; font: inherit; font-size: 11px; cursor: pointer; }
.home-ai-search button:disabled { opacity: 0.45; cursor: default; }
.home-ai-search [hidden] { display: none !important; }
.home-ai-search :focus-visible { outline: 2px solid #a9e9f8; outline-offset: 4px; }
.home-ai-search[data-phase="typing"] .home-ai-search__working,
.home-ai-search[data-phase="searching"] .home-ai-search__working { display: flex; }
.home-ai-search[data-phase="typing"] .home-ai-search__result,
.home-ai-search[data-phase="searching"] .home-ai-search__result { visibility: hidden; position: absolute; left: 0; right: 0; }
.home-ai-search[data-phase="complete"] .home-ai-search__result { animation: ai-terminal-reveal 280ms ease-out both; }
@keyframes ai-terminal-spin { to { transform: rotate(360deg); } }
@keyframes ai-terminal-scan { from { transform: translateX(-100%); } to { transform: translateX(490%); } }
@keyframes ai-terminal-blink { 50% { opacity: 0.3; } }
@keyframes ai-terminal-reveal { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 1100px) {
    .home-ai-search__chrome { padding-inline: 16px; gap: 10px; }
    .home-ai-search__body { padding: 20px 16px; }
    .home-ai-search__prompt { gap: 8px; }
    .home-ai-search__prompt textarea { height: 86px; font-size: 15px; }
    .home-ai-search__step-detail { display: none; }
    .home-ai-search__footer { padding-inline: 16px; }
}
@media (max-width: 520px) {
    .home-ai-search__path { display: none; }
    .home-ai-search__prompt textarea { height: 96px; font-size: 16px; }
    .home-ai-search__processing li { font-size: 11px; }
    .home-ai-search__output { min-height: 200px; }
}
@media (prefers-reduced-motion: reduce) {
    .home-ai-search *, .home-ai-search *::after { animation: none !important; transition: none !important; }
}



@keyframes ai-shell-sweep {
    0% { opacity: 0.36; transform: translate3d(18px, -10px, 0) scale(0.92); }
    48% { opacity: 0.78; }
    100% { opacity: 0.62; transform: translate3d(-18px, 18px, 0) scale(1.06); }
}

@keyframes ai-shell-pulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 20px rgba(91, 209, 225, 0.14); }
    50% { transform: scale(1.045); box-shadow: 0 0 26px rgba(91, 209, 225, 0.3); }
}

.home-approach__signals {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: clamp(2rem, 4vw, 3.25rem) 0 0;
    padding: 0;
    border-top: 1px solid rgba(16, 39, 46, 0.16);
    list-style: none;
}

.home-approach__signals li {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding: 1rem clamp(0.75rem, 2vw, 1.5rem) 0;
}

.home-approach__signals li:first-child { padding-left: 0; }
.home-approach__signals li:last-child { padding-right: 0; }
.home-approach__signals li + li { border-left: 1px solid rgba(16, 39, 46, 0.12); }
.home-approach__signals li::before {
    width: 4px;
    height: 4px;
    flex: 0 0 4px;
    border-radius: 50%;
    background: #497f8a;
    content: "";
}
.home-approach__signals strong {
    color: rgba(16, 39, 46, 0.68);
    font: 600 clamp(0.56rem, 0.8vw, 0.65rem) "IBM Plex Mono", monospace;
    letter-spacing: 0.11em;
    line-height: 1.2;
    text-transform: uppercase;
}

.story-hero-debug-bypass .story-hero,
.story-hero-debug-bypass .story-services { display: none; }

.story-hero-debug-frozen .story-hero { height: 100svh; }
.story-hero-debug-frozen .story-hero__stage { position: relative; }

@media (max-width: 1099px) {
    .story-hero { height: 158svh; }
    .story-hero__content {
        top: clamp(6.4rem, 11svh, 7.3rem);
        left: max(1.6rem, calc((100vw - 930px) / 2));
        width: min(780px, 78vw);
    }
    .story-hero__kicker::before { display: none; }
    .story-hero__title { font-size: clamp(4.6rem, 9.6vw, 6.6rem); }
    .story-hero__offer { width: max-content; }
    .story-hero__igloo {
        right: 0.75rem;
        width: min(52vw, 550px);
    }
    .story-hero__aside { right: 1.5rem; }
    .story-services {
        grid-template-columns: minmax(0, 0.82fr) minmax(390px, 1.18fr);
        gap: 3.5rem;
        padding-inline: 2rem;
    }
    .home-approach__intro {
        grid-template-columns: minmax(0, 1fr) minmax(280px, 0.62fr);
        align-items: start;
    }
    .home-approach__intro .home-approach__eyebrow { grid-column: 1 / -1; }
}

@media (max-width: 699px) {
    .story-hero { height: 132svh; }
    .story-hero__stage { min-height: 100svh; }
    .story-hero__backdrop {
        background:
            radial-gradient(circle at 68% 18%, rgba(255, 255, 255, 0.96) 0 4%, rgba(255, 255, 255, 0.48) 12%, transparent 31%),
            linear-gradient(180deg, #eef7ff 0%, #dbeaf6 58%, #f8fbfd 100%);
    }
    .story-hero__atmosphere {
        background:
            radial-gradient(circle at 68% 19%, rgba(255, 255, 255, 0.32), transparent 29%),
            linear-gradient(180deg, rgba(131, 177, 211, 0.05), transparent 48%, rgba(85, 142, 183, 0.05));
    }
    .story-hero__content {
        top: 5.8rem;
        right: 1.15rem;
        left: 1.15rem;
        width: auto;
    }
    .story-hero__kicker {
        gap: 0.45rem;
        font-size: 0.48rem;
        letter-spacing: 0.14em;
    }
    .story-hero__title {
        width: 100%;
        margin-top: 0.7rem;
        font-size: clamp(3.2rem, 15.2vw, 4.15rem);
        line-height: 0.78;
        letter-spacing: -0.065em;
    }
    .story-hero__ice-line + .story-hero__ice-line { margin-top: 0.14em; }
    .story-hero__ice-line--wordplay {
        position: relative;
        display: block;
        width: 100%;
        height: 1.93em;
    }
    .story-hero__ice-token--your,
    .story-hero__ice-token--s,
    .story-hero__ice-token--now { position: absolute; margin: 0; }
    .story-hero__ice-token--your { top: 0; left: 0; }
    .story-hero__ice-token--s {
        top: 1.02em;
        left: 0;
        transform: translate3d(var(--story-mobile-s-x), var(--story-mobile-s-y), 0);
    }
    .story-hero__ice-token--now {
        top: 1.02em;
        left: 0.62em;
        transform: translate3d(var(--story-mobile-now-shift), 0, 0);
    }
    .story-hero__offer { width: max-content; margin-top: 1rem; }
    .story-hero__offer > p {
        max-width: 31ch;
        font-size: 0.94rem;
        line-height: 1.35;
        text-wrap: pretty;
    }
    .story-hero__actions {
        gap: 0.6rem;
        margin-top: 0;
    }
    .story-hero__actions .button {
        min-height: 54px;
        padding: 0.38rem 0.4rem 0.38rem 0.95rem;
        font-size: 0.82rem;
    }
    .story-hero__project-cta-label { min-width: 6.65rem; }
    .story-hero__project-cta-arrow { width: 38px; height: 38px; flex-basis: 38px; border-radius: 10px; }
    .story-hero__aside,
    .story-hero__scroll-cue { display: none; }
    .story-hero__igloo {
        right: 50%;
        bottom: 1svh;
        width: min(92vw, 455px);
        transform: translateX(50%);
    }
    .story-services {
        min-height: 100svh;
        grid-template-columns: 1fr;
        gap: 2.75rem;
        padding: 4.75rem 1.25rem 5rem;
        background-size: 4rem 100%, auto;
    }
    .story-services__intro h2 { max-width: 11ch; font-size: clamp(2.65rem, 12.3vw, 3.75rem); }
    .story-services__list li { min-height: 78px; grid-template-columns: 2.25rem minmax(0, 1fr); gap: 0.7rem; }
    .story-services__list strong { font-size: clamp(1.2rem, 6.3vw, 1.65rem); }
    .home-approach {
        padding: 5.5rem 1.15rem;
        background-size: 4.5rem 100%, auto;
    }
    .home-approach__intro { grid-template-columns: 1fr; gap: 1.4rem; }
    .home-approach__intro .home-approach__eyebrow { grid-column: auto; }
    .home-approach__intro h2 { max-width: 10ch; font-size: clamp(2.75rem, 13vw, 3.8rem); }
    .home-approach__intro > p:last-child { font-size: 0.98rem; }
    .home-approach__principles { grid-template-columns: 1fr; margin-top: 3.5rem; }
    .home-approach__principles li,
    .home-approach__principles li:first-child,
    .home-approach__principles li:last-child {
        min-height: 0;
        padding: 2rem 0;
    }
    .home-approach__principles li + li { border-top: 1px solid var(--line); border-left: 0; }
    .home-approach__principles h3 { margin: 2.5rem 0 0.8rem; font-size: clamp(1.8rem, 8.5vw, 2.4rem); }
    .home-approach__discovery {
        margin: 0 -0.25rem;
        padding: 2rem 1.25rem;
        background-size: 4.5rem 100%, auto;
    }
    .home-approach__discovery-grid { grid-template-columns: 1fr; gap: 1.75rem; }
    .home-approach__discovery h2 { max-width: 11ch; font-size: clamp(2.45rem, 11vw, 3.25rem); }
    .home-approach__signals { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 1.75rem; }
    .home-approach__signals li,
    .home-approach__signals li:first-child,
    .home-approach__signals li:last-child {
        justify-content: center;
        padding: 0.85rem 0.3rem 0;
        text-align: center;
    }
    .home-approach__signals li + li { border-top: 0; border-left: 1px solid rgba(16, 39, 46, 0.12); }
    .home-approach__signals strong { font-size: 0.48rem; letter-spacing: 0.07em; }
}

@media (max-height: 700px) and (min-width: 700px) {
    .story-hero__content { top: min(47svh, 19rem); }
    .story-hero__offer { margin-top: 1rem; }
    .story-hero__offer > p { font-size: 0.98rem; }
    .story-hero__actions { margin-top: 0; }
    .story-hero__igloo { width: min(42vw, 510px); }
}

.no-js .story-hero,
.story-static-fallback .story-hero,
.reduced-motion .story-hero {
    height: 100svh;
}

.no-js .story-hero__stage,
.story-static-fallback .story-hero__stage,
.reduced-motion .story-hero__stage {
    position: relative;
}

.no-js .story-hero__title,
.story-fallback-active .story-hero__title,
.reduced-motion .story-hero__title {
    opacity: 0;
}

.no-js .story-hero__igloo,
.story-fallback-active .story-hero__igloo,
.reduced-motion .story-hero__igloo {
    opacity: 1;
}

.no-js .story-hero,
.story-fallback-active .story-hero,
.reduced-motion .story-hero {
    --story-shell-opacity: 1 !important;
}

.no-js .story-hero__entrance,
.no-js .story-hero__light-spill,
.story-fallback-active .story-hero__entrance,
.story-fallback-active .story-hero__light-spill,
.reduced-motion .story-hero__entrance,
.reduced-motion .story-hero__light-spill {
    opacity: 1;
}

.story-fallback-active .story-hero__igloo-block,
.reduced-motion .story-hero__igloo-block {
    opacity: 1 !important;
    transform: none !important;
}

.story-fallback-active .story-hero__offer,
.reduced-motion .story-hero__offer {
    opacity: 1 !important;
    transform: none !important;
}

.no-js .story-hero__scroll-cue,
.story-fallback-active .story-hero__scroll-cue,
.reduced-motion .story-hero__scroll-cue { display: none; }

.no-js .story-hero__igloo-shell::before {
    background:
        repeating-linear-gradient(0deg, transparent 0 10.4%, rgba(224, 247, 250, 0.34) 10.8%, rgba(19, 63, 82, 0.16) 11.6%, transparent 12.1%),
        repeating-linear-gradient(90deg, transparent 0 10%, rgba(224, 247, 250, 0.26) 10.3%, rgba(19, 63, 82, 0.14) 10.9%, transparent 11.3%),
        radial-gradient(circle at 43% 16%, rgba(255, 255, 255, 0.72), transparent 18%),
        linear-gradient(136deg, rgba(225, 244, 248, 0.72), rgba(105, 163, 187, 0.66) 46%, rgba(36, 82, 105, 0.74) 100%);
}

@media (prefers-reduced-motion: reduce) {
    .story-hero { --story-shell-opacity: 1 !important; height: 100svh; }
    .story-hero__stage { position: relative; }
    .story-hero__title { opacity: 0 !important; transition: none; }
    .story-hero__igloo { opacity: 1 !important; transition: none; }
    .story-hero__entrance,
    .story-hero__light-spill { opacity: 1 !important; }
    .story-hero__igloo-block { opacity: 1 !important; transform: none !important; }
    .story-hero__offer { opacity: 1 !important; transform: none !important; }
    .story-hero__scroll-cue { display: none; }
}

.experience-track { position: relative; z-index: 2; min-height: 320svh; touch-action: pan-y; }
.experience-debug-frozen .experience-track { min-height: 100svh; }
.experience-debug-frozen .experience-chapter { position: absolute; inset: 0; display: none; min-height: 100svh !important; }
.experience-debug-frozen .experience-chapter.is-current { display: grid; }
.experience-chapter { position: relative; display: grid; min-height: 100svh; align-items: start; padding-inline: max(1.5rem, calc((100vw - 1220px) / 2)); }
.experience-chapter:nth-child(1) { min-height: 100svh; }
.experience-chapter:nth-child(2) { min-height: 116svh; }
.experience-chapter:nth-child(3) { min-height: 104svh; }

.experience-transformation {
    --story-visibility: 0;
    --story-veil: 0;
    --flake-opacity: 0;
    --flake-x: 0;
    --flake-y: -38;
    --flake-scale: 0.12;
    --flake-rotation: -8;
    --snowball-opacity: 0;
    --snowball-x: -3;
    --snowball-scale: 0.46;
    --snowball-rotation: 0;
    --particle-distance: 72px;
    --surface-opacity: 0;
    position: fixed;
    inset: 0;
    z-index: 16;
    overflow: hidden;
    opacity: var(--story-visibility);
    pointer-events: none;
}

.experience-transformation__veil {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: rgba(4, 9, 15, var(--story-veil));
}

.experience-transformation__surface {
    position: absolute;
    right: -8vw;
    bottom: -15svh;
    left: -8vw;
    z-index: 1;
    height: 42svh;
    opacity: var(--surface-opacity);
    background:
        radial-gradient(ellipse at 48% 4%, rgba(250, 255, 255, 0.92), rgba(204, 229, 235, 0.48) 34%, rgba(88, 137, 151, 0.12) 69%, transparent 72%),
        linear-gradient(180deg, rgba(225, 244, 248, 0.44), rgba(95, 145, 159, 0.1));
    filter: blur(0.2px);
    transform: perspective(700px) rotateX(62deg);
    transform-origin: 50% 100%;
}

.experience-transformation__visual {
    position: absolute;
    inset: 0;
    z-index: 2;
}

.experience-snowflake {
    position: absolute;
    top: 50%;
    left: 50%;
    width: clamp(128px, 17vw, 246px);
    height: auto;
    overflow: visible;
    opacity: var(--flake-opacity);
    filter: drop-shadow(0 0 12px rgba(189, 239, 250, 0.24));
    transform:
        translate3d(calc(-50% + var(--flake-x) * 1vw), calc(-50% + var(--flake-y) * 1svh), 0)
        rotate(calc(var(--flake-rotation) * 1deg))
        scale(var(--flake-scale));
    transform-origin: center;
    will-change: transform, opacity;
}

.experience-snowflake path {
    fill: rgba(235, 251, 255, 0.96);
    stroke: rgba(143, 211, 226, 0.82);
    stroke-width: 1.4;
    stroke-linejoin: round;
}

.experience-snowflake .experience-snowflake__core {
    fill: rgba(184, 228, 237, 0.95);
    stroke: rgba(248, 255, 255, 0.92);
}

.experience-snowball {
    position: absolute;
    top: 52%;
    left: 50%;
    width: clamp(132px, 16vw, 226px);
    aspect-ratio: 1;
    border: 1px solid rgba(235, 252, 255, 0.7);
    border-radius: 50%;
    opacity: var(--snowball-opacity);
    background:
        radial-gradient(circle at 32% 24%, rgba(255, 255, 255, 0.98) 0 8%, rgba(239, 250, 252, 0.92) 20%, transparent 42%),
        radial-gradient(circle at 68% 72%, rgba(71, 120, 136, 0.46), transparent 45%),
        radial-gradient(circle at 42% 38%, #f4fbfc, #bdd9df 62%, #6d9ca9 100%);
    box-shadow:
        inset -18px -22px 32px rgba(50, 91, 104, 0.3),
        inset 14px 12px 25px rgba(255, 255, 255, 0.56),
        0 20px 34px rgba(0, 0, 0, 0.26);
    transform:
        translate3d(calc(-50% + var(--snowball-x) * 1vw), -40%, 0)
        rotate(calc(var(--snowball-rotation) * 1deg))
        scale(var(--snowball-scale));
    transform-origin: center;
    will-change: transform, opacity;
}

.experience-snowball::before,
.experience-snowball::after {
    position: absolute;
    content: "";
    border-radius: 50%;
}

.experience-snowball::before {
    inset: 11%;
    border: 1px solid rgba(255, 255, 255, 0.26);
    box-shadow: inset 8px 4px 0 rgba(255, 255, 255, 0.13);
}

.experience-snowball::after {
    right: 16%;
    bottom: 12%;
    width: 30%;
    height: 10%;
    background: rgba(66, 107, 119, 0.16);
    filter: blur(4px);
    transform: rotate(-22deg);
}

.experience-snowball > span {
    --particle-angle: 0deg;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    opacity: calc(var(--snowball-opacity) * 0.8);
    background: rgba(247, 254, 255, 0.9);
    transform: rotate(var(--particle-angle)) translateX(var(--particle-distance));
}

.experience-snowball > span:nth-child(2) { --particle-angle: 45deg; width: 4px; height: 4px; }
.experience-snowball > span:nth-child(3) { --particle-angle: 90deg; }
.experience-snowball > span:nth-child(4) { --particle-angle: 135deg; width: 5px; height: 5px; }
.experience-snowball > span:nth-child(5) { --particle-angle: 180deg; }
.experience-snowball > span:nth-child(6) { --particle-angle: 225deg; width: 4px; height: 4px; }
.experience-snowball > span:nth-child(7) { --particle-angle: 270deg; width: 5px; height: 5px; }
.experience-snowball > span:nth-child(8) { --particle-angle: 315deg; }

.experience-transformation__narrative {
    position: absolute;
    bottom: clamp(5.5rem, 13svh, 8.5rem);
    left: max(1.5rem, calc((100vw - 1220px) / 2));
    z-index: 3;
    min-height: 1.5rem;
}

.experience-transformation__narrative p {
    position: absolute;
    bottom: 0;
    left: 0;
    width: max-content;
    margin: 0;
    color: rgba(235, 248, 251, 0.86);
    font: 500 clamp(0.78rem, 1vw, 0.92rem)/1.4 "IBM Plex Mono", monospace;
    letter-spacing: 0;
    opacity: 0;
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.72);
    transform: translateY(8px);
    transition: opacity 180ms ease, transform 180ms ease;
}

.experience-transformation[data-story-stage="snowflake"] [data-story-copy="snowflake"],
.experience-transformation[data-story-stage="snowball"] [data-story-copy="snowball"],
.experience-transformation[data-story-stage="block"] [data-story-copy="block"],
.experience-transformation[data-story-stage="igloo"] [data-story-copy="igloo"] {
    opacity: 1;
    transform: translateY(0);
}

.experience-transformation__reduced-summary { display: none; }

.experience-chapter--left { justify-items: start; background: linear-gradient(90deg, rgba(4, 9, 15, 0.88), rgba(4, 9, 15, 0.15) 38%, transparent 62%); }
.experience-chapter--right { justify-items: end; background: linear-gradient(270deg, rgba(4, 9, 15, 0.88), rgba(4, 9, 15, 0.15) 38%, transparent 62%); }
.experience-chapter--final { justify-items: start; background: linear-gradient(90deg, rgba(4, 9, 15, 0.9), rgba(4, 9, 15, 0.2) 42%, transparent 68%); }
.experience-chapter--keyboard { justify-items: center; background: transparent; }

.experience-copy {
    position: sticky;
    top: 25svh;
    width: min(450px, 37vw);
    padding: 0.3rem 0;
    text-shadow: 0 2px 28px rgba(0, 0, 0, 0.78);
}

.experience-chapter--right .experience-copy { width: min(390px, 32vw); }
.eyebrow { margin: 0 0 1.15rem; color: var(--amber); font: 600 0.72rem/1.3 "IBM Plex Mono", monospace; text-transform: uppercase; }
.experience-copy h1, .experience-copy h2 { max-width: 12ch; margin: 0; color: #f5fbfd; font-size: clamp(3.15rem, 6.1vw, 6.3rem); line-height: 0.88; letter-spacing: 0; text-wrap: balance; }
.experience-copy h2 { font-size: clamp(3rem, 5.4vw, 5.6rem); }
.experience-copy h1 { max-width: 10ch; }
.experience-copy h2 span { color: var(--ice-bright); }
.experience-copy > p:not(.eyebrow) { max-width: 34rem; margin: 1.6rem 0 0; color: var(--muted); font-size: clamp(1rem, 1.35vw, 1.25rem); line-height: 1.52; }
.experience-copy ul { display: flex; flex-wrap: wrap; gap: 0.45rem; margin: 1.3rem 0 0; padding: 0; list-style: none; }
.experience-copy li { padding: 0.42rem 0.58rem; border: 1px solid var(--line); color: rgba(228, 242, 247, 0.76); font: 500 0.68rem "IBM Plex Mono", monospace; text-transform: uppercase; }

.text-link { display: inline-flex; align-items: center; gap: 0.65rem; margin-top: 1.7rem; padding-bottom: 0.4rem; border-bottom: 1px solid currentColor; color: var(--ice-bright); font: 600 0.78rem "IBM Plex Mono", monospace; text-decoration: none; text-transform: uppercase; }
.text-link:hover, .text-link:focus-visible { color: var(--amber); outline: none; }

.button { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; gap: 0.72rem; padding: 0.75rem 1.2rem; border: 1px solid var(--line); border-radius: 6px; font-weight: 700; text-decoration: none; }
.button kbd { font-size: 0.67rem; }
.button--primary { color: #061017; background: var(--ice-bright); border-color: var(--ice-bright); box-shadow: 0 12px 30px rgba(111, 207, 228, 0.14); }
.button--primary:hover, .button--primary:focus-visible { color: #180e03; background: var(--amber); border-color: var(--amber); outline: none; }
.button--quiet { color: var(--ink); background: transparent; }
.button--quiet:hover, .button--quiet:focus-visible { border-color: var(--ice); outline: none; }
.experience-copy .button { margin-top: 1.7rem; }
.igloo-entrance-link {
    position: fixed;
    top: var(--entrance-top, calc(50svh - 15px));
    left: var(--entrance-left, calc(50vw - 64px));
    z-index: 40;
    display: grid;
    width: var(--entrance-width, 128px);
    min-width: 44px;
    height: var(--entrance-height, 142px);
    min-height: 44px;
    place-items: end center;
    border: 0;
    color: var(--ice-bright);
    cursor: pointer;
    text-decoration: none;
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease;
}

.igloo-entrance-link[aria-hidden="true"] {
    visibility: hidden;
    pointer-events: none;
}

.no-js .igloo-entrance-link {
    position: absolute;
    top: 50%;
    left: 50%;
    display: grid;
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, -50%);
}

.no-js .igloo-entrance-link::before { opacity: 0.34; }
.no-js .igloo-entrance-link::after { opacity: 0.18; }

.igloo-entrance-link::before,
.igloo-entrance-link::after {
    position: absolute;
    content: "";
    opacity: 0;
    pointer-events: none;
    transition: opacity 220ms ease, transform 320ms cubic-bezier(0.2, 0.72, 0.24, 1);
}

.igloo-entrance-link::before {
    inset: 3% 9% 5%;
    border-radius: 48% 48% 12% 12% / 42% 42% 9% 9%;
    background: radial-gradient(ellipse at 50% 46%, rgba(246, 246, 235, 0.68), rgba(207, 249, 255, 0.28) 42%, transparent 76%);
    box-shadow:
        0 0 24px rgba(183, 240, 250, 0.34),
        inset 0 0 18px rgba(240, 255, 255, 0.22);
    transform: scale(0.94);
}

.igloo-entrance-link::after {
    right: -24%;
    bottom: -8%;
    left: -24%;
    height: 28%;
    border-radius: 50%;
    background: radial-gradient(ellipse, rgba(215, 249, 252, 0.32), rgba(151, 221, 235, 0.1) 48%, transparent 74%);
    transform: scaleX(0.82);
}

body.igloo-entrance-ready .igloo-entrance-link {
    opacity: var(--entrance-orbit-opacity, 1);
    pointer-events: auto;
}

body.igloo-entrance-ready:not(.igloo-entrance-active):not(.igloo-entering-contact)
    .igloo-entrance-link:not(:hover):not(:focus-visible)::before {
    opacity: 0.28;
    animation: igloo-entrance-invitation 3.8s ease-in-out infinite;
}

body.igloo-entrance-ready:not(.igloo-entrance-active):not(.igloo-entering-contact)
    .igloo-entrance-link:not(:hover):not(:focus-visible)::after {
    opacity: 0.16;
    animation: igloo-threshold-invitation 3.8s ease-in-out infinite;
}

@keyframes igloo-entrance-invitation {
    0%,
    100% {
        opacity: 0.2;
        transform: translateX(0) scale(0.95);
    }

    48% {
        opacity: 0.38;
        transform: translateX(1.5px) scale(0.99);
    }
}

@keyframes igloo-threshold-invitation {
    0%,
    100% {
        opacity: 0.1;
        transform: scaleX(0.84);
    }

    48% {
        opacity: 0.24;
        transform: scaleX(0.96);
    }
}

.igloo-entrance-link:hover::before,
.igloo-entrance-link:focus-visible::before,
body.igloo-entering-contact .igloo-entrance-link::before {
    opacity: 1;
    transform: scale(1);
}

.igloo-entrance-link:hover::after,
.igloo-entrance-link:focus-visible::after,
body.igloo-entering-contact .igloo-entrance-link::after {
    opacity: 1;
    transform: scaleX(1);
}

body.igloo-entering-contact .igloo-entrance-link {
    pointer-events: none;
}

body.igloo-inspecting {
    user-select: none;
}

a[href$="faq.html"],
a[href*="start-the-build.html"],
a[href*="payment.html"],
a[href*="payment-success.html"],
a[href*="/client/"] {
    display: none !important;
}

.igloo-entrance-link:focus-visible {
    outline: 2px solid var(--amber);
    outline-offset: 5px;
}

.story-fallback-active .story-hero__entrance-link,
.no-js .story-hero__entrance-link {
    position: absolute;
    top: 68svh;
    left: 73vw;
    width: clamp(72px, 8vw, 108px);
    height: clamp(88px, 10vw, 132px);
    transform: translate(-50%, -50%);
}

@media (max-width: 699px) {
    .story-fallback-active .story-hero__entrance-link,
    .no-js .story-hero__entrance-link {
        top: 77svh;
        left: 50%;
        width: 82px;
        height: 102px;
    }
}

.igloo-entry-transition {
    position: fixed;
    inset: 0;
    z-index: 120;
    overflow: hidden;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    isolation: isolate;
    background:
        radial-gradient(ellipse at var(--entry-x, 50vw) var(--entry-y, 50vh),
            rgba(231, 253, 255, 0.18) 0 10%,
            rgba(137, 222, 234, 0.1) 25%,
            rgba(5, 24, 35, 0.14) 52%,
            rgba(2, 11, 19, 0.4) 100%);
    backdrop-filter: brightness(0.98) saturate(0.94);
    -webkit-backdrop-filter: brightness(0.98) saturate(0.94);
}

.igloo-entry-transition__interior {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    opacity: 0;
    background:
        repeating-radial-gradient(ellipse at var(--entry-x, 50vw) var(--entry-y, 50vh),
            transparent 0 4.7%,
            rgba(218, 250, 253, 0.3) 5.05%,
            rgba(126, 220, 234, 0.09) 5.45%,
            transparent 5.9% 9.7%);
    transform: scale(1.7);
    transform-origin: var(--entry-x, 50vw) var(--entry-y, 50vh);
    -webkit-mask-image: radial-gradient(ellipse at var(--entry-x, 50vw) var(--entry-y, 50vh),
        transparent 0 7%, #000 15%, rgba(0, 0, 0, 0.78) 62%, transparent 86%);
    mask-image: radial-gradient(ellipse at var(--entry-x, 50vw) var(--entry-y, 50vh),
        transparent 0 7%, #000 15%, rgba(0, 0, 0, 0.78) 62%, transparent 86%);
    mix-blend-mode: screen;
    will-change: transform, opacity;
}

.igloo-entry-transition__interior::before,
.igloo-entry-transition__interior::after {
    position: absolute;
    inset: 0;
    content: "";
    transform-origin: var(--entry-x, 50vw) var(--entry-y, 50vh);
    will-change: transform, opacity;
}

.igloo-entry-transition__interior::before {
    opacity: 0;
    background:
        repeating-conic-gradient(from -7deg at var(--entry-x, 50vw) var(--entry-y, 50vh),
            transparent 0 11deg,
            rgba(212, 249, 253, 0.28) 11.35deg,
            transparent 11.9deg 23deg);
    -webkit-mask-image: radial-gradient(ellipse at var(--entry-x, 50vw) var(--entry-y, 50vh),
        transparent 0 13%, #000 24%, transparent 72%);
    mask-image: radial-gradient(ellipse at var(--entry-x, 50vw) var(--entry-y, 50vh),
        transparent 0 13%, #000 24%, transparent 72%);
    filter: blur(0.55px);
}

.igloo-entry-transition__interior::after {
    opacity: 0;
    background:
        linear-gradient(108deg, transparent 4%, rgba(238, 255, 255, 0.86) 48%, transparent 57%) 3% 16% / 120px 2px no-repeat,
        linear-gradient(104deg, transparent 4%, rgba(202, 244, 250, 0.72) 48%, transparent 57%) 11% 76% / 94px 2px no-repeat,
        linear-gradient(72deg, transparent 4%, rgba(238, 255, 255, 0.82) 48%, transparent 57%) 96% 20% / 112px 2px no-repeat,
        linear-gradient(76deg, transparent 4%, rgba(194, 239, 247, 0.68) 48%, transparent 57%) 89% 80% / 86px 2px no-repeat,
        linear-gradient(98deg, transparent 4%, rgba(226, 252, 255, 0.64) 48%, transparent 57%) 4% 48% / 72px 1px no-repeat,
        linear-gradient(82deg, transparent 4%, rgba(226, 252, 255, 0.6) 48%, transparent 57%) 96% 54% / 68px 1px no-repeat;
}

.igloo-entry-transition__title-preview,
.igloo-entry-transition__form-preview {
    display: none;
}

.igloo-entry-transition::before {
    position: absolute;
    top: var(--entry-y, 50vh);
    left: var(--entry-x, 50vw);
    width: var(--entry-width, 132px);
    height: var(--entry-height, 154px);
    border-radius: 48% 48% 12% 12% / 42% 42% 9% 9%;
    content: "";
    z-index: 1;
    opacity: 0;
    background:
        radial-gradient(ellipse at 50% 48%,
            rgba(255, 255, 255, 0.98) 0 13%,
            rgba(235, 253, 255, 0.92) 30%,
            rgba(150, 229, 240, 0.55) 58%,
            rgba(93, 198, 216, 0.16) 78%,
            transparent 91%);
    box-shadow:
        inset 0 0 1.8rem rgba(246, 255, 255, 0.52),
        0 0 2.8rem rgba(238, 255, 255, 0.82),
        0 0 9rem rgba(139, 224, 237, 0.55),
        0 0 22rem rgba(91, 193, 212, 0.3);
    transform: translate(-50%, -50%) scale(0.78);
    transform-origin: center;
    will-change: transform, opacity;
}

.igloo-entry-transition::after {
    position: absolute;
    top: var(--entry-y, 50vh);
    left: var(--entry-x, 50vw);
    width: var(--entry-width, 132px);
    height: var(--entry-height, 154px);
    border: 1px solid rgba(226, 253, 255, 0.68);
    border-radius: 48% 48% 12% 12% / 42% 42% 9% 9%;
    content: "";
    z-index: 2;
    opacity: 0;
    box-shadow:
        inset 0 0 16px rgba(234, 254, 255, 0.18),
        0 0 10px rgba(226, 253, 255, 0.5),
        0 0 34px rgba(123, 220, 235, 0.27);
    transform: translate(-50%, -50%) scale(0.84);
    transform-origin: center;
    will-change: transform, opacity;
}

body.igloo-entering-contact {
    overflow: hidden;
}

body.igloo-entering-contact .igloo-entry-transition {
    visibility: visible;
    animation: igloo-entry-ambient 700ms cubic-bezier(0.2, 0.72, 0.24, 1) both;
}

body.igloo-entering-contact .igloo-entry-transition__interior {
    animation: igloo-entry-suction-rings 620ms cubic-bezier(0.48, 0.02, 0.82, 0.38) both;
}

body.igloo-entering-contact .igloo-entry-transition__interior::before {
    animation: igloo-entry-suction-streams 640ms cubic-bezier(0.48, 0.02, 0.82, 0.38) both;
}

body.igloo-entering-contact .igloo-entry-transition__interior::after {
    animation: igloo-entry-suction-traces 560ms cubic-bezier(0.48, 0.02, 0.82, 0.38) both;
}

body.igloo-entering-contact .igloo-entry-transition::before {
    animation: igloo-entry-light 700ms cubic-bezier(0.16, 0.76, 0.24, 1) both;
}

body.igloo-entering-contact .igloo-entry-transition::after {
    animation: igloo-entry-edge 700ms cubic-bezier(0.2, 0.72, 0.24, 1) both;
}

body.igloo-entering-contact .brand-nav,
body.igloo-entering-contact .story-hero__content,
body.igloo-entering-contact .story-hero__scroll-cue,
body.igloo-entering-contact .experience-status,
body.igloo-entering-contact .chapter-progress,
body.igloo-entering-contact .bys-quick-answers {
    pointer-events: none;
    animation: igloo-entry-ui-fade 340ms ease-out both;
}

@keyframes igloo-entry-ambient {
    0% { opacity: 0; }
    10%, 100% { opacity: 1; }
}

@keyframes igloo-entry-suction-rings {
    0% { opacity: 0; transform: scale(1.7); }
    14% { opacity: 0.52; }
    54% { opacity: 0.46; transform: scale(0.82); }
    82% { opacity: 0.28; transform: scale(0.3); }
    100% { opacity: 0; transform: scale(0.12); }
}

@keyframes igloo-entry-suction-streams {
    0% { opacity: 0; transform: scale(1.55); }
    16% { opacity: 0.44; }
    58% { opacity: 0.38; transform: scale(0.7); }
    100% { opacity: 0; transform: scale(0.1); filter: blur(1.5px); }
}

@keyframes igloo-entry-suction-traces {
    0%, 8% { opacity: 0; transform: scale(1.4); }
    26% { opacity: 0.82; }
    62% { opacity: 0.68; }
    100% { opacity: 0; transform: scale(0.08); }
}

@keyframes igloo-entry-light {
    0% { opacity: 0.16; transform: translate(-50%, -50%) scale(0.78); }
    16% { opacity: 0.9; transform: translate(-50%, -50%) scale(1.08); }
    44% { opacity: 1; transform: translate(-50%, -50%) scale(1.72); }
    76% { opacity: 0.98; transform: translate(-50%, -50%) scale(3.25); }
    100% { opacity: 0.9; transform: translate(-50%, -50%) scale(4.8); }
}

@keyframes igloo-entry-edge {
    0% { opacity: 0.08; transform: translate(-50%, -50%) scale(0.84); }
    15% { opacity: 0.82; transform: translate(-50%, -50%) scale(1.04); }
    40% { opacity: 0.34; transform: translate(-50%, -50%) scale(1.35); }
    58%, 100% { opacity: 0; transform: translate(-50%, -50%) scale(1.72); }
}

@keyframes igloo-entry-ui-fade {
    from { opacity: 1; }
    to { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
    body.igloo-entering-contact .igloo-entry-transition {
        display: none;
    }
}

.experience-fallback {
    position: fixed;
    inset: 0;
    z-index: -1;
    display: none;
    place-items: center;
    padding: 6rem 1.2rem 3rem;
    pointer-events: none;
}

.no-js .experience-fallback, .no-webgl .experience-fallback { display: grid; }
.css-igloo { display: grid; grid-template-columns: repeat(6, minmax(38px, 74px)); gap: 6px; width: min(620px, 88vw); aspect-ratio: 1.35; align-content: center; padding: 4.5rem 2.2rem 1.5rem; overflow: hidden; border: 1px solid rgba(200, 239, 250, 0.22); border-radius: 50% 50% 8px 8px; background: #0b1720; clip-path: polygon(50% 0, 75% 6%, 93% 25%, 100% 62%, 100% 100%, 0 100%, 0 62%, 7% 25%, 25% 6%); }
.css-igloo span { display: grid; min-height: 46px; place-items: center; border: 1px solid rgba(231, 251, 255, 0.44); border-radius: 5px; color: #e9fbff; background: linear-gradient(145deg, rgba(201, 238, 244, 0.68), rgba(61, 116, 132, 0.78) 48%, rgba(25, 63, 77, 0.94)); box-shadow: inset 5px 7px 14px rgba(244, 255, 255, 0.18), inset -7px -9px 16px rgba(5, 31, 43, 0.24), 0 7px 13px rgba(0, 0, 0, 0.2); font: 600 0.67rem "IBM Plex Mono", monospace; }
.css-igloo span:last-child { grid-column: span 3; }
.experience-fallback > p { display: flex; justify-content: space-between; width: min(620px, 88vw); margin: 1rem 0; color: var(--ice-bright); font: 600 0.78rem "IBM Plex Mono", monospace; }

.closing-cta, .home-work, .work-section, .testimonials-section, .process-section { position: relative; z-index: 3; }
.closing-cta {
    display: grid;
    min-height: clamp(440px, 58svh, 620px);
    grid-template-columns: minmax(0, 1fr);
    align-content: center;
    justify-items: start;
    gap: clamp(1.75rem, 3vw, 2.6rem);
    padding: clamp(5rem, 7vw, 7rem) max(1.5rem, calc((100vw - 1220px) / 2));
    overflow: hidden;
    border-top: 1px solid rgba(16, 23, 25, 0.13);
    color: #101719;
    background:
        linear-gradient(90deg, rgba(16, 23, 25, 0.055) 1px, transparent 1px),
        var(--mint);
    background-size: clamp(4.5rem, 7vw, 6.5rem) 100%, auto;
}
.closing-cta__headline { min-width: 0; }
.closing-cta .eyebrow { color: #7b3f37; }
.closing-cta h2 {
    width: 100%;
    max-width: none;
    margin: 0;
    font-size: clamp(3.25rem, 5.35vw, 5.55rem);
    line-height: 0.98;
    letter-spacing: 0;
}
.closing-cta h2 span {
    display: block;
    white-space: nowrap;
}
.closing-cta h2 span:first-child {
    color: #344244;
    font-weight: 700;
}
.closing-cta h2 span + span {
    margin-top: 0.14em;
    color: #101719;
    font-weight: 800;
}
.work-section .eyebrow { color: #b04c40; }
.section-heading h2 {
    margin: 0;
    font-size: clamp(2.5rem, 5.3vw, 5.6rem);
    line-height: 0.96;
    letter-spacing: 0;
}
.closing-cta__message {
    display: grid;
    width: auto;
    gap: 0;
    padding: 0;
    border: 0;
}
.closing-cta__support {
    max-width: 26ch;
    margin: 0;
    color: #1b2b2d;
    font-size: clamp(1.4rem, 2.15vw, 2.05rem);
    font-weight: 600;
    line-height: 1.16;
    text-wrap: balance;
}
.closing-cta__statement {
    max-width: 33ch;
    margin: 0;
    color: #334547;
    font-size: clamp(1rem, 1.3vw, 1.16rem);
    font-weight: 650;
    line-height: 1.48;
}
.closing-cta__actions { margin: 0; }
.closing-cta .button--primary {
    min-height: 56px;
    padding-inline: 1.4rem;
    color: #f8fbfb;
    background: #101719;
    border-color: #101719;
    box-shadow: 0 14px 32px rgba(16, 23, 25, 0.16);
    transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}
.closing-cta .button--primary:hover {
    color: #fff;
    background: #253638;
    border-color: #253638;
    box-shadow: 0 18px 38px rgba(16, 23, 25, 0.22);
    transform: translateY(-2px);
}
.closing-cta .button--primary:focus-visible {
    color: #fff;
    background: #101719;
    border-color: #101719;
    outline: 2px solid #7b3f37;
    outline-offset: 4px;
}
.closing-cta .button--primary:active {
    box-shadow: 0 8px 18px rgba(16, 23, 25, 0.16);
    transform: translateY(0);
}

.home-work {
    --home-work-duration: 52s;
    padding: clamp(6.5rem, 9vw, 9rem) 0;
    overflow: hidden;
    color: #101719;
    background:
        linear-gradient(90deg, rgba(38, 59, 63, 0.055) 1px, transparent 1px),
        #e8efee;
    background-size: 5.5rem 100%, auto;
}

.home-work__intro {
    display: grid;
    width: min(1220px, calc(100% - 3rem));
    grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
    align-items: end;
    gap: clamp(2rem, 7vw, 7rem);
    margin-inline: auto;
}

.home-work .eyebrow { color: #9b4c43; }
.home-work__intro h2 {
    max-width: 11ch;
    margin: 0;
    font-size: clamp(2.75rem, 5.4vw, 5.6rem);
    line-height: 0.94;
    letter-spacing: 0;
}

.home-work__intro-side {
    display: grid;
    gap: 1.35rem;
    padding-bottom: 0.35rem;
}

.home-work__intro-side > p {
    max-width: 38rem;
    margin: 0;
    color: #506063;
    font-size: clamp(1rem, 1.35vw, 1.16rem);
    line-height: 1.62;
}

.home-work__actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.home-work .text-link { color: #142326; }

.home-work__toggle {
    display: grid;
    width: 42px;
    height: 42px;
    flex: 0 0 auto;
    place-items: center;
    padding: 0;
    border: 1px solid rgba(20, 35, 38, 0.28);
    border-radius: 5px;
    color: #142326;
    background: transparent;
}

.home-work__toggle > span {
    display: flex;
    gap: 4px;
}

.home-work__toggle i {
    display: block;
    width: 3px;
    height: 13px;
    border-radius: 1px;
    background: currentColor;
}

.home-work__toggle[aria-pressed="true"] > span {
    width: 0;
    height: 0;
    border-top: 7px solid transparent;
    border-bottom: 7px solid transparent;
    border-left: 11px solid currentColor;
}

.home-work__toggle[aria-pressed="true"] i { display: none; }
.home-work__toggle:hover,
.home-work__toggle:focus-visible {
    color: #f7fbfc;
    border-color: #142326;
    outline: none;
    background: #142326;
}

.home-work__viewport {
    box-sizing: border-box;
    width: 100%;
    margin-top: clamp(3rem, 5vw, 4.75rem);
    padding: 1.5rem max(1.5rem, calc((100vw - 1220px) / 2)) 2rem;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: thin;
    scrollbar-color: rgba(27, 48, 52, 0.34) transparent;
}

.home-work__viewport:focus-visible {
    outline: 2px solid #20383d;
    outline-offset: -2px;
}

.home-work__track {
    display: flex;
    width: max-content;
}

.home-work__group {
    display: flex;
    gap: 1rem;
    padding-right: 1rem;
}

.home-work.is-ready .home-work__viewport { overflow: hidden; }
.home-work.is-ready .home-work__track {
    padding-left: 0;
    animation: home-work-conveyor var(--home-work-duration) linear infinite;
    animation-play-state: paused;
    will-change: transform;
}

.home-work.is-ready.is-in-view:not(.is-paused) .home-work__track { animation-play-state: running; }
.home-work.is-ready .home-work__viewport:hover .home-work__track,
.home-work.is-ready .home-work__viewport:focus-within .home-work__track { animation-play-state: paused; }

.home-work-card {
    --home-work-card-bg: #08131a;
    position: relative;
    width: clamp(590px, 64vw, 820px);
    flex: 0 0 auto;
    padding: clamp(1rem, 1.65vw, 1.4rem);
    overflow: hidden;
    border: 1px solid rgba(181, 226, 237, 0.22);
    border-radius: 6px;
    color: #edf8fa;
    background: var(--home-work-card-bg);
    box-shadow: 0 22px 54px rgba(27, 43, 47, 0.16);
    transition: border-color 220ms ease, box-shadow 220ms ease;
}

.home-work-card:nth-child(2) { --home-work-card-bg: #102027; }
.home-work-card:nth-child(3) { --home-work-card-bg: #111b1c; }
.home-work-card:nth-child(4) { --home-work-card-bg: #0b1720; }
.home-work-card:nth-child(5) { --home-work-card-bg: #151918; }

.home-work-card:hover,
.home-work-card:focus-within {
    border-color: rgba(181, 226, 237, 0.5);
    box-shadow: 0 28px 66px rgba(19, 35, 40, 0.24);
}

.home-work-card__header {
    display: flex;
    min-height: 62px;
    align-items: end;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 0.15rem 0.2rem 1rem;
    border-bottom: 1px solid rgba(204, 235, 244, 0.14);
}

.home-work-card__header > span {
    max-width: 26ch;
    color: var(--amber);
    font: 600 clamp(0.52rem, 0.75vw, 0.65rem) "IBM Plex Mono", monospace;
    line-height: 1.35;
    text-transform: uppercase;
}

.home-work-card__header h3 {
    max-width: 18ch;
    margin: 0;
    font-size: clamp(1.55rem, 2.6vw, 2.45rem);
    font-weight: 750;
    line-height: 0.98;
    text-align: right;
}

.home-work-card__preview { margin: 0; padding: clamp(1rem, 1.8vw, 1.5rem) 0 0; }
.home-work-card__preview > a {
    display: block;
    color: inherit;
    text-decoration: none;
}

.home-work-devices {
    display: grid;
    grid-template-columns: minmax(0, 1fr) clamp(92px, 11vw, 132px);
    align-items: end;
    gap: clamp(0.7rem, 1.6vw, 1.1rem);
}

.home-work-desktop,
.home-work-phone {
    overflow: hidden;
    border: 1px solid rgba(210, 237, 243, 0.25);
    background: #02070a;
    box-shadow: 0 16px 28px rgba(0, 0, 0, 0.32);
}

.home-work-desktop { border-radius: 5px; }
.home-work-browser-bar {
    display: flex;
    height: 24px;
    align-items: center;
    gap: 4px;
    padding: 0 0.55rem;
    border-bottom: 1px solid rgba(11, 23, 27, 0.14);
    color: #506063;
    background: #e7eeee;
}

.home-work-browser-bar i {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #9dafb2;
}

.home-work-browser-bar b {
    min-width: 0;
    margin-left: 0.25rem;
    overflow: hidden;
    font: 500 0.46rem "IBM Plex Mono", monospace;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.home-work-phone {
    position: relative;
    padding: 0.55rem 0.32rem 0.32rem;
    border-radius: 16px;
}

.home-work-phone__speaker {
    position: absolute;
    top: 0.25rem;
    left: 50%;
    z-index: 2;
    width: 30%;
    height: 2px;
    border-radius: 999px;
    background: rgba(217, 239, 244, 0.52);
    transform: translateX(-50%);
}

.home-work-screen {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #dfe9e9;
}

.home-work-phone .home-work-screen {
    aspect-ratio: 390 / 844;
    border-radius: 10px;
}

.home-work-screen img,
.home-work-screen video {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

.home-work-screen video {
    z-index: 1;
    opacity: 0;
    transition: opacity 260ms ease;
}

.home-work-screen video.has-active-frame { opacity: 1; }

.home-work-screen--placeholder {
    display: grid;
    place-content: center;
    gap: 0.35rem;
    padding: 1rem;
    color: #e9f6f8;
    background:
        linear-gradient(90deg, rgba(193, 231, 239, 0.08) 1px, transparent 1px),
        #071016;
    background-size: 2.5rem 100%, auto;
    text-align: center;
}

.home-work-screen--placeholder strong {
    font-size: clamp(1.1rem, 2.4vw, 2rem);
    font-weight: 700;
}

.home-work-screen--placeholder span {
    color: rgba(216, 237, 242, 0.62);
    font: 500 0.48rem "IBM Plex Mono", monospace;
    text-transform: uppercase;
}

.home-work-phone .home-work-screen--placeholder strong { font-size: 1rem; }
.home-work-phone .home-work-screen--placeholder span { display: none; }

.home-work-card__preview figcaption {
    margin-top: 0.65rem;
    color: rgba(213, 235, 240, 0.52);
    font: 500 0.53rem "IBM Plex Mono", monospace;
    text-transform: uppercase;
}

.home-work-card footer {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 1.5rem;
    padding: 1rem 0.2rem 0.1rem;
}

.home-work-card footer p {
    max-width: 48ch;
    margin: 0;
    color: rgba(221, 238, 242, 0.7);
    font-size: clamp(0.82rem, 1vw, 0.96rem);
    line-height: 1.45;
}

.home-work-card footer a {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: #eefafd;
    font: 600 0.7rem "IBM Plex Mono", monospace;
    text-decoration: none;
    text-transform: uppercase;
}

.home-work-card footer a span { color: var(--amber); transition: transform 180ms ease; }
.home-work-card footer a:hover span,
.home-work-card footer a:focus-visible span { transform: translate(2px, -2px); }
.home-work-card a:focus-visible { outline: 2px solid var(--ice); outline-offset: 4px; }

@keyframes home-work-conveyor {
    from { transform: translate3d(0, 0, 0); }
    to { transform: translate3d(-50%, 0, 0); }
}

.work-section { overflow: visible; padding: clamp(7rem, 10vw, 10rem) 0 0; color: #11191b; background: #e8efee; }
.section-heading { width: min(940px, 100%); margin-bottom: clamp(3.5rem, 7vw, 6.5rem); }
.section-heading h2 { max-width: 13ch; }
.section-heading--row { display: flex; width: 100%; align-items: end; justify-content: space-between; gap: 3rem; }
.section-heading--row > p { max-width: 390px; margin: 0 0 0.4rem; color: var(--muted); font-size: 1.05rem; line-height: 1.62; }
.work-section .eyebrow { color: #9b4c43; }
.featured-work {
    --portfolio-sticky-top: 5.6rem;
    --portfolio-tab-height: clamp(68px, 5.35vw, 76px);
}

.featured-work__intro {
    width: min(1220px, calc(100% - 48px));
    margin-inline: auto;
}

.featured-work__intro h1,
.featured-work__intro h2 {
    max-width: 12ch;
    margin: 0;
    font-size: clamp(2.5rem, 5.3vw, 5.6rem);
    line-height: 0.96;
    letter-spacing: 0;
}

.portfolio-stack {
    position: relative;
    width: min(1220px, calc(100% - 48px));
    margin-inline: auto;
    padding-bottom: clamp(2.5rem, 5vw, 4.5rem);
    overflow: visible;
    isolation: isolate;
}

.portfolio-card-sentinel {
    display: block;
    width: 1px;
    height: var(--portfolio-tab-height);
    margin-bottom: calc(var(--portfolio-tab-height) * -1);
    pointer-events: none;
}

.portfolio-card {
    --portfolio-card-bg: #08131a;
    --portfolio-stack-offset: 0px;
    --portfolio-stack-order: 1;
    position: relative;
    z-index: var(--portfolio-stack-order);
    display: grid;
    min-width: 0;
    grid-template-rows: auto 1fr;
    margin: 0 0 clamp(1.25rem, 3vw, 2.25rem);
    overflow: hidden;
    border: 1px solid rgba(204, 235, 244, 0.18);
    border-radius: 8px;
    color: var(--ink);
    background: var(--portfolio-card-bg);
    box-shadow: 0 28px 62px rgba(20, 32, 35, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.04);
    scroll-margin-top: calc(var(--portfolio-sticky-top) + var(--portfolio-stack-offset));
}

.portfolio-card:nth-of-type(2) { --portfolio-card-bg: #102027; --portfolio-stack-offset: var(--portfolio-tab-height); --portfolio-stack-order: 2; }
.portfolio-card:nth-of-type(3) { --portfolio-card-bg: #121b1c; --portfolio-stack-offset: calc(var(--portfolio-tab-height) * 2); --portfolio-stack-order: 3; }
.portfolio-card:nth-of-type(4) { --portfolio-card-bg: #0b1720; --portfolio-stack-offset: calc(var(--portfolio-tab-height) * 3); --portfolio-stack-order: 4; }
.portfolio-card:nth-of-type(5) { --portfolio-card-bg: #151918; --portfolio-stack-offset: calc(var(--portfolio-tab-height) * 4); --portfolio-stack-order: 5; }

.portfolio-card__tab {
    height: var(--portfolio-tab-height);
    min-height: var(--portfolio-tab-height);
    border-bottom: 1px solid rgba(204, 235, 244, 0.14);
    border-radius: 7px 7px 0 0;
    background:
        linear-gradient(90deg, rgba(174, 227, 238, 0.055), transparent 36%),
        var(--portfolio-card-bg);
}

.portfolio-card__tab-link {
    display: grid;
    width: 100%;
    height: 100%;
    min-width: 0;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: clamp(0.9rem, 1.6vw, 1.45rem);
    padding: 0 clamp(1.15rem, 2.2vw, 2rem);
    color: inherit;
    text-decoration: none;
}

.portfolio-card__tab-link:focus-visible {
    outline: 2px solid var(--amber);
    outline-offset: -4px;
}

.portfolio-card__number {
    color: rgba(222, 239, 244, 0.58);
    font: 500 0.63rem "IBM Plex Mono", monospace;
    text-transform: uppercase;
    white-space: nowrap;
}

.portfolio-card__category {
    min-width: 0;
    margin: 0;
    color: #f6fbfd;
    font-size: clamp(1.45rem, 2.65vw, 2.75rem);
    font-weight: 720;
    line-height: 0.96;
    letter-spacing: 0;
    text-wrap: balance;
}

.portfolio-card__project-meta {
    display: flex;
    min-width: 0;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    margin: 0;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid rgba(204, 235, 244, 0.12);
}

.portfolio-card__project-meta strong {
    min-width: 0;
    color: #f6fbfd;
    font-size: clamp(1rem, 1.35vw, 1.25rem);
    font-weight: 680;
}

.portfolio-card__project-meta span {
    flex: 0 1 auto;
    overflow: hidden;
    color: rgba(222, 239, 244, 0.5);
    font: 500 0.6rem "IBM Plex Mono", monospace;
    text-overflow: ellipsis;
    text-transform: lowercase;
    white-space: nowrap;
}

.portfolio-card__content {
    display: grid;
    min-height: 0;
    grid-template-columns: minmax(0, 57fr) minmax(360px, 43fr);
}

.portfolio-card__copy {
    display: flex;
    min-width: 0;
    flex-direction: column;
    justify-content: space-between;
    gap: clamp(1.5rem, 3vh, 2.6rem);
    padding: clamp(1.5rem, 2.7vw, 2.65rem);
}

.portfolio-card__description {
    max-width: 37rem;
    margin: clamp(0.9rem, 1.7vh, 1.3rem) 0 0;
    color: rgba(224, 236, 242, 0.74);
    font-size: clamp(0.94rem, 1.2vw, 1.08rem);
    line-height: 1.52;
}

.portfolio-card__highlights {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    margin: clamp(0.9rem, 1.7vh, 1.3rem) 0 0;
    padding: 0;
    border-top: 1px solid rgba(204, 235, 244, 0.14);
    list-style: none;
}

.portfolio-card__highlights li {
    position: relative;
    min-width: 0;
    padding: 0.72rem 0.6rem 0.68rem 1rem;
    border-bottom: 1px solid rgba(204, 235, 244, 0.12);
    color: rgba(235, 246, 249, 0.78);
    font: 600 0.59rem/1.35 "IBM Plex Mono", monospace;
    text-transform: uppercase;
}

.portfolio-card__highlights li:nth-child(2n) {
    padding-left: 1.5rem;
    border-left: 1px solid rgba(204, 235, 244, 0.1);
}

.portfolio-card__highlights li::before {
    position: absolute;
    top: 0.98rem;
    left: 0.2rem;
    width: 4px;
    height: 4px;
    content: "";
    background: var(--amber);
}

.portfolio-card__highlights li:nth-child(2n)::before {
    left: 0.72rem;
}

.portfolio-card__supporting-copy {
    max-width: 37rem;
    margin: 0.65rem 0 0;
    color: rgba(224, 236, 242, 0.53);
    font-size: clamp(0.72rem, 0.85vw, 0.82rem);
    line-height: 1.45;
}

.portfolio-card__custom-features {
    max-width: 37rem;
    margin-top: 0.85rem;
    padding-top: 0.7rem;
    border-top: 1px solid rgba(239, 185, 95, 0.3);
}

.portfolio-card__custom-features > p {
    margin: 0 0 0.55rem;
    color: #e9bd78;
    font: 600 0.5rem/1.25 "IBM Plex Mono", monospace;
    text-transform: uppercase;
}

.portfolio-card__custom-features dl {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 0;
}

.portfolio-card__custom-features dl > div {
    min-width: 0;
    padding-right: 0.8rem;
}

.portfolio-card__custom-features dl > div + div {
    padding-right: 0;
    padding-left: 0.8rem;
    border-left: 1px solid rgba(204, 235, 244, 0.12);
}

.portfolio-card__custom-features dt {
    color: #f6fbfd;
    font-size: clamp(0.67rem, 0.8vw, 0.76rem);
    font-weight: 700;
    line-height: 1.25;
}

.portfolio-card__custom-features dd {
    margin: 0.28rem 0 0;
    color: rgba(224, 236, 242, 0.58);
    font-size: clamp(0.59rem, 0.68vw, 0.68rem);
    line-height: 1.38;
}

.portfolio-card__support { display: grid; gap: clamp(1rem, 2vh, 1.5rem); }

.portfolio-card__details {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    margin: 0;
    padding: 0;
    border-top: 1px solid rgba(204, 235, 244, 0.14);
    list-style: none;
}

.portfolio-card__details li {
    min-width: 0;
    padding: 0.56rem 0.55rem 0.52rem 0;
    border-bottom: 1px solid rgba(204, 235, 244, 0.12);
    color: rgba(224, 236, 242, 0.6);
    font: 500 0.6rem/1.3 "IBM Plex Mono", monospace;
    text-transform: uppercase;
}

.portfolio-card__details li:nth-child(2n) { padding-left: 0.7rem; border-left: 1px solid rgba(204, 235, 244, 0.1); }

.portfolio-card__link {
    display: inline-flex;
    width: fit-content;
    min-height: 40px;
    align-items: center;
    gap: 0.65rem;
    padding-bottom: 0.25rem;
    border-bottom: 1px solid rgba(169, 233, 248, 0.52);
    color: var(--ice-bright);
    font-size: 0.88rem;
    font-weight: 700;
    text-decoration: none;
}

.portfolio-card__link span { color: var(--amber); transition: transform 180ms ease; }

.portfolio-card__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-top: 0.75rem;
}

.portfolio-card__badge {
    width: fit-content;
    margin: 0;
    padding: 0.52rem 0.65rem;
    border: 1px solid rgba(239, 185, 95, 0.45);
    border-radius: 5px;
    color: #f2ce91;
    font: 600 0.58rem/1.25 "IBM Plex Mono", monospace;
    text-transform: uppercase;
}

.portfolio-card__badge--quiet {
    border-color: rgba(169, 233, 248, 0.26);
    color: rgba(204, 235, 244, 0.76);
}

.portfolio-card__feature-callout {
    display: grid;
    max-width: 37rem;
    grid-template-columns: minmax(145px, 0.58fr) minmax(0, 1.42fr);
    grid-template-rows: auto auto;
    align-items: center;
    gap: 0.15rem 0.9rem;
    margin-top: 0.75rem;
    padding: 0.68rem 0.8rem;
    border: 1px solid rgba(239, 185, 95, 0.32);
    border-left: 2px solid rgba(239, 185, 95, 0.78);
    border-radius: 5px;
    background: rgba(239, 185, 95, 0.065);
}

.portfolio-card__feature-callout > span {
    color: #e9bd78;
    font: 600 0.5rem/1.25 "IBM Plex Mono", monospace;
    text-transform: uppercase;
}

.portfolio-card__feature-callout strong {
    grid-column: 1;
    color: #f6fbfd;
    font-size: clamp(0.72rem, 0.9vw, 0.84rem);
    line-height: 1.25;
}

.portfolio-card__feature-callout p {
    grid-column: 2;
    grid-row: 1 / span 2;
    margin: 0;
    color: rgba(224, 236, 242, 0.66);
    font-size: clamp(0.65rem, 0.75vw, 0.75rem);
    line-height: 1.42;
}

.portfolio-card__preview {
    display: grid;
    min-width: 0;
    align-items: center;
    margin: 0;
    padding: clamp(1.1rem, 2.4vw, 2.25rem);
    border-left: 1px solid rgba(204, 235, 244, 0.12);
    background: rgba(232, 239, 238, 0.035);
}

.portfolio-card__preview-link {
    display: block;
    min-width: 0;
    color: inherit;
    text-decoration: none;
}

.portfolio-devices {
    position: relative;
    width: 100%;
    max-width: 590px;
    margin-inline: auto;
    padding: 0 11% 8% 0;
    transition: transform 220ms ease;
}

.portfolio-desktop {
    width: 94%;
    overflow: hidden;
    border: 1px solid rgba(207, 230, 235, 0.28);
    border-radius: 6px;
    background: #edf2f1;
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.28), 0 3px 9px rgba(0, 0, 0, 0.22);
    transition: border-color 180ms ease, box-shadow 180ms ease;
}

.portfolio-browser-bar {
    display: flex;
    height: 25px;
    min-width: 0;
    align-items: center;
    gap: 5px;
    padding: 0 0.65rem;
    border-bottom: 1px solid rgba(57, 78, 83, 0.16);
    background: #f2f6f5;
}

.portfolio-browser-bar i {
    width: 5px;
    height: 5px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: rgba(54, 75, 79, 0.32);
}

.portfolio-browser-bar b {
    min-width: 0;
    margin-left: 0.4rem;
    overflow: hidden;
    color: rgba(38, 56, 60, 0.62);
    font: 500 0.52rem "IBM Plex Mono", monospace;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.portfolio-screen {
    position: relative;
    overflow: hidden;
    background: #d8e1e0;
    isolation: isolate;
}

.portfolio-screen--desktop { aspect-ratio: 16 / 10; }
.portfolio-screen--mobile { aspect-ratio: 390 / 844; border-radius: 12px; }

.portfolio-screen img,
.portfolio-screen video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    object-fit: cover;
    object-position: top center;
}

.portfolio-screen video {
    z-index: 1;
    opacity: 0;
    background: transparent;
    pointer-events: none;
    transition: opacity 120ms ease;
}
.portfolio-screen video.has-active-frame { opacity: 1; }
.portfolio-screen video.is-motion-static { display: none; }

.portfolio-phone {
    position: absolute;
    right: 0;
    bottom: 0;
    z-index: 2;
    width: clamp(92px, 28%, 150px);
    padding: 9px 5px 5px;
    border: 1px solid rgba(207, 230, 235, 0.34);
    border-radius: 18px;
    background: #edf2f1;
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.34), 0 2px 7px rgba(0, 0, 0, 0.24);
}

.portfolio-phone__speaker {
    position: absolute;
    top: 4px;
    left: 50%;
    z-index: 2;
    width: 24%;
    height: 2px;
    border-radius: 2px;
    background: rgba(40, 58, 62, 0.46);
    transform: translateX(-50%);
}

.portfolio-screen--placeholder {
    display: grid;
    place-content: center;
    gap: 0.55rem;
    padding: 1rem;
    color: #f7fafb;
    background: #020507;
    box-shadow: inset 0 0 0 1px rgba(223, 244, 249, 0.06);
    text-align: center;
}

.portfolio-screen--placeholder strong { font-size: clamp(1.2rem, 2.4vw, 2rem); font-weight: 700; }
.portfolio-screen--placeholder span { color: rgba(223, 236, 241, 0.48); font: 500 0.53rem "IBM Plex Mono", monospace; text-transform: uppercase; }
.portfolio-phone .portfolio-screen--placeholder strong { font-size: 1rem; }

.portfolio-card__preview-link:hover .portfolio-devices,
.portfolio-card__preview-link:focus-visible .portfolio-devices { transform: translateY(-3px) scale(1.01); }

.portfolio-card__preview-link:hover .portfolio-desktop,
.portfolio-card__preview-link:focus-visible .portfolio-desktop {
    border-color: rgba(169, 233, 248, 0.52);
    box-shadow: 0 22px 44px rgba(0, 0, 0, 0.34), 0 4px 12px rgba(0, 0, 0, 0.24);
}

.portfolio-card__link:hover span,
.portfolio-card__link:focus-visible span { transform: translate(2px, -2px); }

.portfolio-card__link:focus-visible,
.portfolio-card__preview-link:focus-visible { outline: 2px solid var(--ice); outline-offset: 5px; }

.featured-work__closing {
    display: flex;
    width: min(1220px, calc(100% - 48px));
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    margin-inline: auto;
    padding: clamp(1rem, 2vw, 1.5rem) 0 clamp(6.5rem, 9vw, 9rem);
    border-top: 1px solid rgba(33, 51, 55, 0.18);
}

.featured-work__closing-copy { display: grid; max-width: 47rem; gap: 0.55rem; }
.featured-work__closing h2,
.featured-work__closing h3 { margin: 0; color: #263638; font-size: clamp(1.25rem, 2.3vw, 2rem); font-weight: 700; line-height: 1.12; }
.featured-work__closing-copy > p { margin: 0; color: rgba(38, 54, 56, 0.72); font-size: clamp(0.84rem, 1.1vw, 0.98rem); line-height: 1.55; }
.featured-work__closing .button--quiet { flex: 0 0 auto; color: #11191b; border-color: rgba(17, 25, 27, 0.28); }
.featured-work__closing .button--quiet:hover,
.featured-work__closing .button--quiet:focus-visible { color: #f7fbfc; border-color: #11191b; background: #11191b; }

.testimonials-section {
    --testimonial-side-pad: max(1.5rem, calc((100vw - 1220px) / 2));
    --testimonial-card-width: clamp(276px, 23vw, 324px);
    --testimonial-card-height: 258px;
    padding: clamp(5.5rem, 8vw, 8rem) 0;
    overflow: hidden;
    border-top: 1px solid var(--line);
    background:
        linear-gradient(90deg, rgba(142, 211, 227, 0.025) 1px, transparent 1px),
        #071015;
    background-size: 5.5rem 100%, auto;
    scroll-margin-top: 5.5rem;
}
.testimonials-section__intro {
    width: min(1220px, calc(100% - 3rem));
    margin-inline: auto;
}
.testimonials-section__intro h2 { max-width: 11ch; margin: 0; font-size: clamp(2.7rem, 4.4vw, 4.6rem); line-height: 0.95; letter-spacing: 0; text-wrap: balance; }
.testimonials-section__stories {
    width: 100%;
    margin-top: clamp(2.4rem, 4vw, 3.5rem);
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-inline: contain;
    scrollbar-width: none;
    mask-image: linear-gradient(90deg, transparent, #000 3.5rem, #000 calc(100% - 3.5rem), transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 3.5rem, #000 calc(100% - 3.5rem), transparent);
}
.testimonials-section__stories::-webkit-scrollbar { display: none; }
.testimonial-belt__track {
    display: flex;
    width: max-content;
    gap: 0.9rem;
    padding: 0.35rem var(--testimonial-side-pad) 1.5rem;
    background:
        linear-gradient(90deg, rgba(169, 233, 248, 0.16), rgba(239, 185, 95, 0.3), rgba(169, 233, 248, 0.16)) bottom 0.4rem left / 100% 1px no-repeat,
        repeating-linear-gradient(90deg, rgba(203, 237, 246, 0.2) 0 1px, transparent 1px 34px) bottom 0 left / auto 8px repeat-x;
}
.testimonial-belt__group {
    display: flex;
    flex: 0 0 auto;
    gap: 0.9rem;
}
.testimonial-story {
    position: relative;
    display: grid;
    width: var(--testimonial-card-width);
    height: var(--testimonial-card-height);
    min-height: var(--testimonial-card-height);
    flex: 0 0 var(--testimonial-card-width);
    grid-template-rows: auto minmax(0, 1fr) auto auto;
    gap: 0.72rem;
    padding: 1.05rem;
    overflow: hidden;
    border: 1px solid rgba(204, 239, 247, 0.18);
    border-radius: 7px;
    background: linear-gradient(145deg, rgba(216, 244, 250, 0.072), rgba(12, 28, 34, 0.54));
    box-shadow: inset 0 1px rgba(255, 255, 255, 0.025), 0 16px 34px rgba(0, 0, 0, 0.16);
    transition: border-color 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}
.testimonial-story:hover, .testimonial-story:focus-within { border-color: rgba(204, 239, 247, 0.3); box-shadow: inset 0 1px rgba(255, 255, 255, 0.04), 0 18px 38px rgba(0, 0, 0, 0.2); }
.testimonial-story::before { position: absolute; top: -1px; left: -1px; width: 32%; height: 1px; content: ""; background: var(--amber); }
.testimonial-story__meta { display: flex; align-items: center; justify-content: space-between; gap: 1rem; color: var(--soft); font: 500 0.58rem "IBM Plex Mono", monospace; text-transform: uppercase; }
.testimonial-story__meta > span:last-child { max-width: 16ch; overflow: hidden; text-align: right; text-overflow: ellipsis; white-space: nowrap; }
.testimonial-story__stars { flex: 0 0 auto; color: var(--amber); font-size: 0.68rem; letter-spacing: 0.08em; line-height: 1; }
.testimonial-story blockquote { align-self: center; margin: 0; overflow: hidden; }
.testimonial-story blockquote p {
    display: -webkit-box;
    max-width: none;
    margin: 0;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    color: rgba(231, 247, 250, 0.88);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.38;
    text-wrap: pretty;
}
.testimonial-story__details { align-self: end; color: var(--muted); }
.testimonial-story__details summary {
    display: flex;
    min-height: 34px;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.5rem 0;
    border-top: 1px solid var(--line);
    color: rgba(228, 244, 249, 0.74);
    font: 600 0.62rem "IBM Plex Mono", monospace;
    text-transform: uppercase;
    list-style: none;
    cursor: pointer;
}
.testimonial-story__details summary::-webkit-details-marker { display: none; }
.testimonial-story__details summary span:last-child { display: none; }
.testimonial-story__details summary::after { color: var(--amber); font-size: 1rem; content: "+"; }
.testimonial-story__details summary:hover { color: var(--ice-bright); }
.testimonial-story__details summary:focus-visible { outline: 2px solid var(--ice); outline-offset: 4px; }
.testimonial-story__details > p { margin: 0.75rem 0 0; color: var(--muted); font-size: 0.8rem; line-height: 1.55; }
.testimonial-story__details[open] {
    position: absolute;
    inset: 0.5rem;
    z-index: 3;
    display: block;
    padding: 0.75rem;
    overflow-y: auto;
    overscroll-behavior: contain;
    border: 1px solid rgba(169, 233, 248, 0.28);
    border-radius: 5px;
    background: #09151b;
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.34);
}
.testimonial-story__details[open] summary { position: sticky; top: -0.75rem; z-index: 1; margin: -0.75rem -0.15rem 0; padding: 0.72rem 0.15rem 0.55rem; background: #09151b; }
.testimonial-story__details[open] summary span:first-child { display: none; }
.testimonial-story__details[open] summary span:last-child { display: inline; }
.testimonial-story__details[open] summary::after { content: "\00d7"; }
.testimonial-story footer { display: grid; gap: 0.12rem; padding-top: 0.72rem; border-top: 1px solid var(--line); }
.testimonial-story footer strong { color: rgba(239, 248, 252, 0.9); font: 600 0.76rem "IBM Plex Mono", monospace; }
.testimonial-story footer span { color: var(--soft); font-size: 0.72rem; line-height: 1.3; }
body.positioning-motion .testimonials-section__intro, body.positioning-motion .testimonial-story { opacity: 0.24; transform: translate3d(0, 18px, 0); }
body.positioning-motion .testimonials-section.is-visible .testimonials-section__intro, body.positioning-motion .testimonials-section.is-visible .testimonial-story { opacity: 1; transform: translate3d(0, 0, 0); transition: opacity 560ms ease, transform 760ms cubic-bezier(0.2, 0.72, 0.24, 1); }
body.positioning-motion .closing-cta .eyebrow,
body.positioning-motion .closing-cta h2,
body.positioning-motion .closing-cta__message {
    opacity: 0;
    transform: translate3d(0, 18px, 0);
}
body.positioning-motion .closing-cta.is-visible .eyebrow,
body.positioning-motion .closing-cta.is-visible h2,
body.positioning-motion .closing-cta.is-visible .closing-cta__message {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    transition: opacity 520ms ease, transform 680ms cubic-bezier(0.2, 0.72, 0.24, 1);
}
body.positioning-motion .closing-cta.is-visible h2 { transition-delay: 80ms; }
body.positioning-motion .closing-cta.is-visible .closing-cta__message { transition-delay: 170ms; }

@media (min-width: 900px) and (min-height: 700px) {
    .portfolio-card {
        position: sticky;
        top: calc(var(--portfolio-sticky-top) + var(--portfolio-stack-offset));
        height: min(620px, calc(100svh - var(--portfolio-sticky-top) - var(--portfolio-stack-offset) - 1rem));
        min-height: 430px;
        margin-bottom: clamp(3rem, 7svh, 5rem);
    }
}

@media (min-width: 900px) and (min-height: 850px) {
    .portfolio-card:nth-of-type(n + 4) .portfolio-card__copy {
        gap: 0.85rem;
        padding: clamp(1rem, 1.7vw, 1.5rem) clamp(1.25rem, 2.2vw, 2rem);
    }
    .portfolio-card:nth-of-type(n + 4) .portfolio-card__description {
        margin-top: 0.65rem;
        font-size: clamp(0.86rem, 1vw, 0.96rem);
        line-height: 1.42;
    }
    .portfolio-card:nth-of-type(n + 4) .portfolio-card__supporting-copy { margin-top: 0.42rem; }
    .portfolio-card:nth-of-type(n + 4) .portfolio-card__badges { margin-top: 0.5rem; }
    .portfolio-card:nth-of-type(n + 4) .portfolio-card__badge { padding: 0.42rem 0.52rem; font-size: 0.51rem; }
    .portfolio-card:nth-of-type(n + 4) .portfolio-card__support { gap: 0.7rem; }
    .portfolio-card:nth-of-type(n + 4) .portfolio-card__details li { padding-block: 0.43rem; }
}

@media (min-width: 900px) and (max-height: 849px) {
    .featured-work { --portfolio-tab-height: 60px; }
    .portfolio-card__tab-link { padding-inline: clamp(1rem, 1.8vw, 1.5rem); }
    .portfolio-card__category { font-size: clamp(1.3rem, 2.35vw, 2rem); }
    .portfolio-card__copy { gap: 0.85rem; padding: clamp(1rem, 2vw, 1.45rem); }
    .portfolio-card__description { margin-top: 0.72rem; font-size: 0.9rem; line-height: 1.42; }
    .portfolio-card__supporting-copy { margin-top: 0.45rem; font-size: 0.68rem; line-height: 1.34; }
    .portfolio-card__badges, .portfolio-card__feature-callout { margin-top: 0.5rem; }
    .portfolio-card__badge { padding: 0.4rem 0.5rem; font-size: 0.5rem; }
    .portfolio-card__feature-callout { padding: 0.48rem 0.62rem; }
    .portfolio-card__feature-callout p { font-size: 0.62rem; line-height: 1.34; }
    .portfolio-card__support { gap: 0.75rem; }
    .portfolio-card__details li { padding-block: 0.43rem; }
    .portfolio-card__preview { padding: clamp(0.8rem, 1.5vw, 1.2rem); }
}

.process-section {
    --process-divider: rgba(195, 232, 241, 0.16);
    overflow: clip;
    padding-block: clamp(5rem, 8vw, 7.5rem);
    color: var(--ink);
    background:
        linear-gradient(90deg, rgba(142, 211, 227, 0.025) 1px, transparent 1px),
        linear-gradient(180deg, #080e12 0%, #0b1317 48%, #0a1114 100%);
    background-size: 5.5rem 100%, auto;
}

.process-sequence__layout {
    display: grid;
    width: min(1220px, calc(100% - 48px));
    grid-template-columns: minmax(0, 1.12fr) minmax(390px, 0.88fr);
    align-items: start;
    margin-inline: auto;
}

.process-sequence__sticky {
    position: sticky;
    top: clamp(10.5rem, 20svh, 12rem);
    display: grid;
    height: calc(100svh - clamp(11.25rem, 22svh, 13rem));
    min-height: 410px;
    place-items: center;
    padding: 0 clamp(2rem, 4.2vw, 4.5rem) 0 0;
    border-right: 1px solid var(--process-divider);
}

.process-sequence__copy {
    position: sticky;
    top: 5.35rem;
    z-index: 4;
    width: min(1220px, calc(100% - 48px));
    margin: 0 auto clamp(0.75rem, 1.5svh, 1.15rem);
    padding: clamp(1.1rem, 2.4svh, 1.6rem) 0 1rem;
    background: linear-gradient(180deg, #080e12 0%, rgba(8, 14, 18, 0.96) 76%, rgba(8, 14, 18, 0) 100%);
}
.process-sequence__copy .eyebrow { margin-bottom: 0.85rem; }
.process-sequence__copy h2 {
    max-width: none;
    margin: 0;
    color: #f4fbfd;
    font-size: clamp(2.45rem, 3.75vw, 3.75rem);
    line-height: 0.96;
    letter-spacing: 0;
    white-space: nowrap;
}
.process-sequence__copy h2 span { display: inline; }
.process-sequence__copy h2 span + span::before { content: " "; }

.process-visual {
    position: relative;
    width: min(100%, 520px);
    height: min(52svh, 430px);
    min-height: 330px;
    place-self: center;
    margin: 0;
    isolation: isolate;
}
.process-visual::before {
    position: absolute;
    right: 9%;
    bottom: 6%;
    left: 9%;
    height: 32%;
    z-index: -1;
    content: "";
    background: radial-gradient(ellipse at center, rgba(105, 188, 207, 0.13), transparent 70%);
}
.process-visual svg { display: block; width: 100%; height: 100%; overflow: visible; }
.process-visual :is(
    #process-ice-face,
    #process-ice-top,
    #process-ice-side,
    #process-block-face,
    #process-block-top,
    #process-block-side,
    #process-snow-orb
) stop { transition: stop-color 280ms ease, stop-opacity 280ms ease; }
#process-ice-face stop:nth-child(1) { stop-color: #fbffff; stop-opacity: 0.98; }
#process-ice-face stop:nth-child(2) { stop-color: #d7f3f8; stop-opacity: 0.9; }
#process-ice-face stop:nth-child(3) { stop-color: #78b7c5; stop-opacity: 0.82; }
#process-ice-face stop:nth-child(4) { stop-color: #285566; stop-opacity: 0.94; }
#process-ice-top stop:first-child { stop-color: #ffffff; stop-opacity: 1; }
#process-ice-top stop:last-child { stop-color: #9fd5df; stop-opacity: 0.88; }
#process-ice-side stop:first-child { stop-color: #71b4c3; stop-opacity: 0.86; }
#process-ice-side stop:last-child { stop-color: #173e4f; stop-opacity: 0.96; }
#process-block-face stop:nth-child(1) { stop-color: #f8ffff; stop-opacity: 0.98; }
#process-block-face stop:nth-child(2) { stop-color: #bcecf4; stop-opacity: 0.9; }
#process-block-face stop:nth-child(3) { stop-color: #65a8b9; stop-opacity: 0.82; }
#process-block-face stop:nth-child(4) { stop-color: #1d4a5c; stop-opacity: 0.96; }
#process-block-top stop:nth-child(1) { stop-color: #ffffff; stop-opacity: 1; }
#process-block-top stop:nth-child(2) { stop-color: #d5f7fa; stop-opacity: 0.94; }
#process-block-top stop:nth-child(3) { stop-color: #70b6c5; stop-opacity: 0.88; }
#process-block-side stop:nth-child(1) { stop-color: #75bdca; stop-opacity: 0.9; }
#process-block-side stop:nth-child(2) { stop-color: #3b8294; stop-opacity: 0.9; }
#process-block-side stop:nth-child(3) { stop-color: #123d50; stop-opacity: 0.98; }
#process-snow-orb stop:nth-child(1) { stop-color: #ffffff; stop-opacity: 0.98; }
#process-snow-orb stop:nth-child(2) { stop-color: #d9f5f9; stop-opacity: 0.9; }
#process-snow-orb stop:nth-child(3) { stop-color: #85beca; stop-opacity: 0.82; }
#process-snow-orb stop:nth-child(4) { stop-color: #315f70; stop-opacity: 0.95; }
.process-stage-art {
    opacity: 0;
    transform-box: view-box;
    transform-origin: 250px 235px;
    pointer-events: none;
}
.process-stage-art--discover { opacity: 1; }
.is-process-enhanced .process-stage-art {
    opacity: var(--process-art-opacity, 0);
    transform: translate3d(0, var(--process-art-shift, 0), 0) scale(var(--process-art-scale, 1));
    will-change: opacity, transform;
}
.process-object-shadow {
    fill: rgba(0, 6, 10, 0.44);
    filter: blur(8px);
}
.process-crystal__aura {
    fill: none;
    stroke: rgba(166, 234, 248, 0.28);
    stroke-width: 1.25;
    stroke-dasharray: 2 9;
    filter: drop-shadow(0 0 11px rgba(120, 210, 230, 0.28));
}
.process-crystal {
    fill: url("#process-ice-face");
    fill-opacity: 0.9;
    stroke: rgba(239, 253, 255, 0.92);
    stroke-width: 1.55;
    stroke-linejoin: round;
    filter:
        drop-shadow(0 22px 17px rgba(0, 5, 8, 0.5))
        drop-shadow(-7px -6px 13px rgba(190, 244, 255, 0.16))
        drop-shadow(7px 2px 9px rgba(44, 125, 145, 0.22));
}
.process-crystal__highlight {
    fill: none;
    stroke: rgba(255, 255, 255, 0.86);
    stroke-width: 1.65;
    stroke-linecap: round;
    filter: drop-shadow(0 0 3px rgba(215, 250, 255, 0.62));
}
.process-crystal__core {
    fill: rgba(219, 248, 252, 0.76);
    stroke: rgba(255, 255, 255, 0.94);
    stroke-width: 1.5;
    filter: drop-shadow(0 0 9px rgba(166, 233, 248, 0.34));
}
.process-crystal__core-line { fill: none; stroke: rgba(47, 117, 136, 0.52); stroke-width: 1.25; }
.process-snowball {
    filter:
        drop-shadow(0 24px 18px rgba(0, 5, 8, 0.5))
        drop-shadow(-9px -7px 18px rgba(196, 247, 255, 0.18))
        drop-shadow(9px 3px 11px rgba(40, 121, 143, 0.24));
}
.process-snowball circle {
    fill: url("#process-snow-orb");
    fill-opacity: 0.92;
    stroke: rgba(239, 253, 255, 0.9);
    stroke-width: 1.8;
}
.process-snowball__facet {
    fill: rgba(78, 151, 168, 0.16);
    stroke: rgba(225, 250, 254, 0.14);
    stroke-width: 0.85;
}
.process-snowball__contour {
    fill: none;
    stroke: rgba(42, 113, 132, 0.38);
    stroke-width: 1.35;
    stroke-linecap: round;
}
.process-snowball__shine {
    fill: none;
    stroke: rgba(255, 255, 255, 0.9);
    stroke-width: 3.4;
    stroke-linecap: round;
    filter: drop-shadow(0 0 4px rgba(229, 252, 255, 0.7));
}
.process-ice-block__ground-shadow { pointer-events: none; }
.process-ice-block__ground-shadow--far { fill: rgba(0, 7, 11, 0.24); filter: blur(8px); }
.process-ice-block__ground-shadow--near { fill: rgba(0, 5, 8, 0.48); filter: blur(4px); }
.process-ice-block {
    filter:
        drop-shadow(0 25px 20px rgba(0, 5, 8, 0.52))
        drop-shadow(-8px -8px 16px rgba(193, 246, 255, 0.16))
        drop-shadow(9px 4px 11px rgba(32, 109, 131, 0.24));
}
.process-ice-block__face,
.process-ice-block__top,
.process-ice-block__side {
    stroke-linejoin: round;
}
.process-ice-block__face { fill: url("#process-block-face"); fill-opacity: 0.9; stroke: rgba(235, 252, 255, 0.92); stroke-width: 1.7; }
.process-ice-block__top { fill: url("#process-block-top"); fill-opacity: 0.92; stroke: rgba(250, 255, 255, 0.98); stroke-width: 1.6; }
.process-ice-block__top-facet { fill: rgba(250, 255, 255, 0.22); stroke: rgba(255, 255, 255, 0.48); stroke-width: 0.9; }
.process-ice-block__top-ripple {
    fill: none;
    stroke: rgba(250, 255, 255, 0.42);
    stroke-width: 0.9;
    stroke-linecap: round;
}
.process-ice-block__side { fill: url("#process-block-side"); fill-opacity: 0.9; stroke: rgba(192, 234, 241, 0.78); stroke-width: 1.5; }
.process-ice-block__side-facet { fill: rgba(211, 243, 248, 0.12); stroke: rgba(235, 252, 255, 0.3); stroke-width: 0.9; }
.process-ice-block__side-ripple {
    fill: none;
    stroke: rgba(218, 245, 250, 0.2);
    stroke-width: 0.8;
    stroke-linecap: round;
}
.process-ice-block__core { fill: url("#process-block-core"); }
.process-ice-block__depth { fill: rgba(19, 77, 94, 0.2); }
.process-ice-block__frost { fill: rgba(239, 253, 255, 0.16); }
.process-ice-block__inner-bevel {
    fill: none;
    stroke: rgba(245, 254, 255, 0.52);
    stroke-width: 1.25;
}
.process-ice-block__highlight {
    fill: none;
    stroke: rgba(255, 255, 255, 0.9);
    stroke-width: 2.3;
    stroke-linecap: round;
    filter: drop-shadow(0 0 4px rgba(224, 251, 255, 0.58));
}
.process-ice-block__edge-light {
    fill: none;
    stroke: rgba(228, 249, 252, 0.48);
    stroke-width: 1.05;
    stroke-linecap: round;
}
.process-ice-block__caustic {
    fill: none;
    stroke: rgba(240, 253, 255, 0.34);
    stroke-width: 1.15;
    stroke-linecap: round;
}
.process-ice-block__bubbles {
    fill: rgba(249, 255, 255, 0.4);
    stroke: rgba(43, 111, 130, 0.34);
    stroke-width: 0.72;
}
.process-igloo__shell {
    fill: url("#process-ice-face");
    fill-opacity: 0.92;
    stroke: rgba(235, 252, 255, 0.9);
    stroke-width: 1.7;
}
.process-stage-art--grow > use {
    filter:
        drop-shadow(0 25px 20px rgba(0, 5, 8, 0.48))
        drop-shadow(-8px -8px 16px rgba(193, 246, 255, 0.15))
        drop-shadow(9px 4px 12px rgba(31, 108, 130, 0.22));
}
.process-igloo__top-light { fill: rgba(255, 255, 255, 0.19); }
.process-igloo__seams {
    fill: none;
    stroke: rgba(37, 96, 113, 0.42);
    stroke-width: 1.3;
    stroke-linecap: round;
}
.process-igloo__entrance {
    fill: url("#process-ice-side");
    fill-opacity: 0.92;
    stroke: rgba(222, 248, 252, 0.86);
    stroke-width: 1.55;
}
.process-igloo__door { fill: url("#process-door-warm"); filter: drop-shadow(0 0 12px rgba(239, 185, 95, 0.26)); }
.process-igloo__entrance-highlight, .process-igloo__base-highlight {
    fill: none;
    stroke: rgba(244, 253, 255, 0.64);
    stroke-width: 1.5;
    stroke-linecap: round;
    filter: drop-shadow(0 0 3px rgba(219, 249, 255, 0.42));
}
.process-care-field__ray {
    fill: url("#process-care-ray");
    filter: url("#process-ray-blur");
}
.process-care-field__ray--left, .process-care-field__ray--right { opacity: 0.45; }
.process-care-field__ray--center { opacity: 0.58; }
.process-care-field__bloom {
    fill: url("#process-care-bloom");
    filter: url("#process-ambient-blur");
    opacity: 0.92;
}
.process-care-field__halo {
    fill: none;
    stroke: rgba(137, 228, 248, 0.38);
    stroke-width: 3.2;
    filter: url("#process-ray-blur");
}
.process-care-field__pool {
    fill: url("#process-care-bloom");
    filter: url("#process-ray-blur");
    opacity: 0.72;
}
.process-sequence[data-process-stage="discover"][data-process-in-view="true"] .process-crystal { animation: process-crystal-suspend 8s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.process-sequence[data-process-stage="grow"][data-process-in-view="true"] .process-care-field { animation: process-care-breathe 9s ease-in-out infinite; transform-box: view-box; transform-origin: center; }
@keyframes process-crystal-suspend { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }
@keyframes process-care-breathe { 0%, 100% { opacity: 0.82; } 50% { opacity: 1; } }

.process-list {
    margin: 0;
    padding: 0 0 0 clamp(2rem, 4vw, 4rem);
    list-style: none;
}
.process-list li {
    --step-focus: 1;
    --step-opacity: 1;
    --step-shift: 0px;
    --step-rule-width: 44%;
}
.process-list li {
    position: relative;
    display: grid;
    min-height: clamp(440px, 64svh, 620px);
    grid-template-columns: 44px minmax(0, 1fr);
    align-items: center;
    gap: clamp(0.8rem, 1.8vw, 1.4rem);
    border-top: 1px solid var(--process-divider);
    opacity: var(--step-opacity, 1);
    transform: translate3d(0, var(--step-shift, 0), 0);
    transform-origin: left center;
}
.process-list li:last-child { border-bottom: 1px solid var(--process-divider); }
.process-list li::after { position: absolute; top: -1px; left: 0; width: var(--step-rule-width, 44%); height: 1px; content: ""; background: var(--amber); opacity: var(--step-focus, 1); }
.process-step__number { align-self: center; color: var(--amber); font: 600 0.67rem/1 "IBM Plex Mono", monospace; }
.process-step__content { display: grid; gap: 0.7rem; padding: 1.5rem 0; }
.process-step__content h3 { margin: 0; font-size: clamp(2rem, 3.25vw, 3.35rem); line-height: 0.94; letter-spacing: 0; text-transform: uppercase; }
.process-step__control {
    min-height: 44px;
    padding: 0;
    border: 0;
    border-radius: 2px;
    color: var(--ice-bright);
    background: transparent;
    font: inherit;
    line-height: inherit;
    letter-spacing: inherit;
    text-align: left;
    text-transform: inherit;
}
.process-step__control:hover { color: #fff; }
.process-step__control:focus-visible {
    outline: 2px solid var(--amber);
    outline-offset: 5px;
}
.process-step__content p { max-width: 40ch; margin: 0; color: rgba(224, 236, 242, 0.78); font-size: clamp(0.94rem, 1.05vw, 1.03rem); line-height: 1.5; }
.is-process-enhanced .process-list li { will-change: opacity, transform; }
.process-list li[aria-current="step"] .process-step__control { color: #fff; text-shadow: 0 0 26px rgba(150, 226, 242, 0.2); }

.brand-footer { display: grid; grid-template-columns: 1fr auto; gap: 2rem; padding: 3rem max(1.5rem, calc((100vw - 1220px) / 2)); border-top: 1px solid var(--line); background: #05090c; }
.brand-footer > div { display: grid; gap: 0.4rem; }
.brand-footer strong { font: 600 0.88rem "IBM Plex Mono", monospace; }
.brand-footer div span, .brand-footer p { color: var(--soft); font-size: 0.78rem; }
.brand-footer nav { display: flex; flex-wrap: wrap; gap: 1.2rem; }
.brand-footer a { color: var(--muted); font: 500 0.72rem "IBM Plex Mono", monospace; text-decoration: none; text-transform: uppercase; }
.brand-footer a:hover, .brand-footer a:focus-visible { color: var(--amber); outline: none; }
.brand-footer p { grid-column: 1 / -1; margin: 0; }
.brand-footer__contact { display: flex; flex-wrap: wrap; gap: 0.35rem 1.2rem; margin-top: 0.3rem; }
.brand-footer__contact a { color: var(--muted); font: 500 0.72rem "IBM Plex Mono", monospace; text-decoration: none; text-transform: uppercase; }
.brand-footer__contact a:hover, .brand-footer__contact a:focus-visible { color: var(--amber); outline: none; }
.brand-footer__contact span { color: var(--soft); font: 500 0.72rem "IBM Plex Mono", monospace; letter-spacing: 0.02em; text-transform: uppercase; }

@media (max-width: 1099px) {
    .experience-track { min-height: 300svh; }
    .experience-chapter:nth-child(1) { min-height: 94svh; }
    .experience-chapter:nth-child(2) { min-height: 108svh; }
    .experience-chapter:nth-child(3) { min-height: 98svh; }
    .experience-copy { width: min(390px, 41vw); }
    .experience-chapter--right .experience-copy { width: min(350px, 38vw); }
    .home-work__intro { grid-template-columns: minmax(0, 1fr) minmax(290px, 0.7fr); gap: 3rem; }
    .home-work-card { width: clamp(560px, 72vw, 760px); }
    .featured-work {
        --portfolio-sticky-top: 5.45rem;
        --portfolio-tab-height: 60px;
    }
    .featured-work__intro, .portfolio-stack, .featured-work__closing { width: calc(100% - 3rem); }
    .portfolio-card__content { grid-template-columns: minmax(0, 54fr) minmax(320px, 46fr); }
    .portfolio-card__category { font-size: clamp(1.35rem, 2.7vw, 2rem); }
    .portfolio-card__copy { padding: clamp(1.35rem, 2.5vw, 2rem); }
    .portfolio-card__preview { padding: clamp(1rem, 2vw, 1.6rem); }
    .portfolio-card__details li { font-size: 0.54rem; }
    .process-sequence__layout { grid-template-columns: minmax(0, 1fr) minmax(350px, 0.9fr); }
    .process-sequence__sticky { padding-right: 2.25rem; }
    .process-sequence__copy h2 { font-size: clamp(2.35rem, 4.6vw, 3.35rem); }
    .process-list { padding-left: 2.25rem; }
    .closing-cta {
        min-height: clamp(420px, 54svh, 560px);
        grid-template-columns: minmax(0, 1fr);
        gap: clamp(1.6rem, 3vw, 2.25rem);
    }
}

@media (max-width: 899px) {
    .home-approach__intro { grid-template-columns: 1fr; gap: 1.5rem; }
    .home-approach__intro .home-approach__eyebrow { grid-column: auto; }
    .home-approach__intro h2 { max-width: 11ch; }
    .home-approach__intro > p:last-child { max-width: 48ch; }
    .home-approach__principles { grid-template-columns: 1fr; }
    .home-approach__principles li,
    .home-approach__principles li:first-child,
    .home-approach__principles li:last-child {
        min-height: 0;
        padding: 2.25rem 0;
    }
    .home-approach__principles li + li { border-top: 1px solid var(--line); border-left: 0; }
    .home-approach__principles h3 { margin-top: 2.75rem; }
    .home-approach__discovery-grid { grid-template-columns: 1fr; gap: 2rem; }
    .home-ai-search { width: min(100%, 680px); }
    .home-work__intro {
        grid-template-columns: 1fr;
        align-items: start;
        gap: 1.5rem;
    }
    .home-work__intro h2 { max-width: 12ch; }
    .home-work__intro-side { max-width: 620px; padding-bottom: 0; }
    .home-work-card { width: min(78vw, 650px); }
    .home-work-devices { grid-template-columns: minmax(0, 1fr) clamp(88px, 15vw, 118px); }
    .featured-work { --portfolio-tab-height: clamp(64px, 8vw, 76px); }
    .featured-work__intro, .portfolio-stack, .featured-work__closing { width: calc(100% - 3rem); }
    .portfolio-card {
        --portfolio-stack-offset: 0px;
        min-height: 0;
        scroll-margin-top: calc(var(--portfolio-sticky-top) + 1rem);
    }
    .portfolio-card__content { grid-template-columns: 1fr; }
    .portfolio-card__copy { min-height: 430px; }
    .portfolio-card__category { font-size: clamp(1.5rem, 4.4vw, 2.35rem); }
    .portfolio-card__preview { padding: clamp(1.25rem, 4vw, 2.25rem); border-top: 1px solid rgba(204, 235, 244, 0.12); border-left: 0; }
    .portfolio-devices { display: grid; max-width: 680px; padding: 0; }
    .portfolio-desktop { width: 100%; }
    .portfolio-phone { position: relative; right: auto; bottom: auto; width: min(38%, 155px); margin-top: 0.9rem; justify-self: end; }
    .featured-work__closing { padding-bottom: 7rem; }
    .testimonials-section { --testimonial-card-width: clamp(270px, 42vw, 310px); }
    .process-section { padding-block: 6.5rem; background-size: 4.5rem 100%, auto; }
    .process-sequence__layout { display: block; width: 100%; }
    .process-sequence__sticky { display: contents; }
    .process-sequence__copy {
        position: relative;
        top: auto;
        width: 100%;
        max-width: 680px;
        margin: 0;
        padding: 0 1.5rem;
        background: none;
    }
    .process-sequence__copy h2 {
        max-width: 15ch;
        font-size: clamp(2.7rem, 8vw, 4.2rem);
        white-space: normal;
    }
    .process-sequence__copy h2 span { display: block; }
    .process-sequence__copy h2 span + span::before { content: none; }
    .process-visual {
        position: relative;
        top: auto;
        width: 100%;
        height: clamp(300px, 43svh, 380px);
        min-height: 300px;
        max-height: 380px;
        margin-top: 1.5rem;
        padding-inline: 1.5rem;
    }
    .process-visual svg { width: min(500px, 100%); margin-inline: auto; }
    .process-list {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        padding: 2rem 1.5rem 0;
        gap: 0 1.5rem;
    }
    .process-list li { min-height: 220px; grid-template-columns: 40px minmax(0, 1fr); gap: 0.8rem; }
    .process-list li:nth-last-child(2) { border-bottom: 1px solid var(--process-divider); }
    .process-step__content h3 { font-size: clamp(2.25rem, 7vw, 3.5rem); }
    .process-step__content p { max-width: 34rem; }
}

@media (max-width: 699px) {
    .brand-nav {
        top: max(0.55rem, env(safe-area-inset-top));
        width: calc(100% - 16px);
        min-height: 56px;
        padding: 0.35rem 0.4rem 0.35rem 0.65rem;
    }
    .wordmark { font-size: 0.73rem; }
    .key-control { min-height: 44px; padding-inline: 0.7rem; font-size: 0.68rem; }
    .brand-menu { padding: max(6.8rem, calc(env(safe-area-inset-top) + 6rem)) 1.25rem max(2.5rem, env(safe-area-inset-bottom)); }
    .brand-menu a { font-size: clamp(1.55rem, 8vw, 2.2rem); }

    .chapter-progress { right: 0.55rem; bottom: max(0.72rem, env(safe-area-inset-bottom)); gap: 0; padding: 0.2rem; }
    .chapter-progress a { width: 30px; height: 32px; }

    .experience-track { min-height: 280svh; }
    .experience-chapter { padding-inline: 1.15rem; }
    .experience-chapter:nth-child(1) { min-height: 88svh; }
    .experience-chapter:nth-child(2) { min-height: 101svh; }
    .experience-chapter:nth-child(3) { min-height: 91svh; }
    .experience-chapter--left, .experience-chapter--right, .experience-chapter--final { justify-items: start; background: linear-gradient(180deg, rgba(4, 9, 15, 0.92), rgba(4, 9, 15, 0.57) 30%, transparent 57%); }
    .experience-copy, .experience-chapter--right .experience-copy { top: 6.1rem; width: min(100%, 345px); }
    .experience-chapter--keyboard { background: transparent; }
    .experience-copy h1, .experience-copy h2 { max-width: 9ch; overflow-wrap: break-word; font-size: clamp(2.5rem, 12vw, 3.5rem); line-height: 0.9; }
    .experience-chapter--final .experience-copy h2 { font-size: clamp(2.4rem, 11vw, 3.15rem); }
    .experience-copy > p:not(.eyebrow) { max-width: 310px; margin-top: 1.05rem; font-size: 0.96rem; line-height: 1.43; }
    .experience-copy ul { max-width: 320px; margin-top: 0.9rem; }
    .experience-copy li { padding: 0.33rem 0.43rem; font-size: 0.59rem; }
    .eyebrow { margin-bottom: 0.78rem; font-size: 0.63rem; }
    .experience-snowflake { width: min(52vw, 220px); }
    .experience-snowball {
        top: 50%;
        width: min(48vw, 206px);
        transform:
            translate3d(calc(-50% + var(--snowball-x) * 0.52vw), -36%, 0)
            rotate(calc(var(--snowball-rotation) * 1deg))
            scale(var(--snowball-scale));
    }
    .experience-transformation__surface { right: -24vw; bottom: -12svh; left: -24vw; height: 38svh; }
    .experience-transformation__narrative {
        right: 1.15rem;
        bottom: max(5.6rem, calc(env(safe-area-inset-bottom) + 4.7rem));
        left: 1.15rem;
        min-height: 1.35rem;
        text-align: center;
    }
    .experience-transformation__narrative p {
        right: 0;
        width: auto;
        font-size: 0.73rem;
    }
    .css-igloo { grid-template-columns: repeat(6, minmax(30px, 1fr)); gap: 3px; padding: 3.5rem 0.8rem 1rem; }
    .css-igloo span { min-height: 34px; font-size: 0.52rem; }
    .experience-fallback > p { gap: 1rem; font-size: 0.59rem; }

    .closing-cta, .work-section, .testimonials-section { padding-inline: 1.15rem; }
    .section-heading h2 { font-size: clamp(2.35rem, 11vw, 3.6rem); }
    .closing-cta {
        min-height: 0;
        grid-template-columns: 1fr;
        gap: 1.75rem;
        padding-block: 4.75rem 5rem;
        background-size: 4.5rem 100%, auto;
    }
    .closing-cta h2 {
        max-width: 12.5ch;
        font-size: clamp(2.75rem, 12vw, 4rem);
        line-height: 0.98;
    }
    .closing-cta h2 span { white-space: normal; text-wrap: balance; }
    .closing-cta__message {
        width: auto;
        gap: 0;
        padding: 0;
    }
    .closing-cta__support { font-size: clamp(1.35rem, 6.2vw, 1.7rem); }
    .closing-cta__statement { font-size: 1rem; }
    .closing-cta__actions { margin: 0; }
    .closing-cta .button--primary { width: 100%; }
    .section-heading--row { display: grid; gap: 1.4rem; }
    .text-link { min-height: 44px; align-items: center; padding-block: 0.7rem; }
    .home-work {
        padding-block: 5.25rem;
        background-size: 4.5rem 100%, auto;
    }
    .home-work__intro { width: calc(100% - 2.3rem); }
    .home-work__intro h2 { font-size: clamp(2.45rem, 11vw, 3.55rem); }
    .home-work__intro-side > p { font-size: 0.96rem; line-height: 1.52; }
    .home-work__actions { align-items: center; }
    .home-work__toggle { width: 44px; height: 44px; }
    .home-work__viewport { margin-top: 2.4rem; padding: 0.75rem 1.15rem 1.25rem; }
    .home-work__group { gap: 0.72rem; padding-right: 0.72rem; }
    .home-work-card {
        width: min(88vw, 430px);
        padding: 0.85rem;
        border-radius: 5px;
    }
    .home-work-card__header {
        min-height: 54px;
        align-items: start;
        gap: 0.8rem;
        padding-bottom: 0.75rem;
    }
    .home-work-card__header > span { max-width: 16ch; font-size: 0.5rem; }
    .home-work-card__header h3 { max-width: 13ch; font-size: clamp(1.25rem, 6vw, 1.75rem); }
    .home-work-card__preview { padding-top: 0.8rem; }
    .home-work-devices { grid-template-columns: minmax(0, 1fr) 70px; gap: 0.55rem; }
    .home-work-browser-bar { height: 19px; padding-inline: 0.4rem; }
    .home-work-browser-bar b { font-size: 0.4rem; }
    .home-work-phone { display: block; padding: 0.42rem 0.22rem 0.22rem; border-radius: 11px; }
    .home-work-phone .home-work-screen { border-radius: 7px; }
    .home-work-card__preview figcaption { margin-top: 0.5rem; font-size: 0.45rem; }
    .home-work-card footer {
        grid-template-columns: 1fr;
        gap: 0.7rem;
        padding-top: 0.75rem;
    }
    .home-work-card footer p { font-size: 0.78rem; }
    .home-work-card footer a { width: max-content; font-size: 0.62rem; }
    .work-section { padding-top: 6.5rem; }
    .featured-work__intro, .portfolio-stack, .featured-work__closing { width: 100%; }
    .featured-work__intro { margin-bottom: 3rem; }
    .portfolio-card { margin-bottom: 1.25rem; }
    .portfolio-card__tab-link { gap: 0.7rem; padding-inline: 1rem; }
    .portfolio-card__number { font-size: 0.56rem; }
    .portfolio-card__category { font-size: clamp(1.25rem, 6vw, 1.7rem); }
    .portfolio-card__project-meta { display: grid; gap: 0.3rem; }
    .portfolio-card__project-meta strong { font-size: 0.9rem; }
    .portfolio-card__project-meta span { font-size: 0.53rem; }
    .portfolio-card__copy { min-height: 0; padding: 1.25rem 1.15rem 1.4rem; }
    .portfolio-card__description { margin-top: 1rem; font-size: 0.94rem; line-height: 1.5; }
    .portfolio-card__supporting-copy { margin-top: 0.65rem; font-size: 0.72rem; }
    .portfolio-card__custom-features dl { grid-template-columns: 1fr; gap: 0.65rem; }
    .portfolio-card__custom-features dl > div { padding-right: 0; }
    .portfolio-card__custom-features dl > div + div { padding-top: 0.65rem; padding-left: 0; border-top: 1px solid rgba(204, 235, 244, 0.12); border-left: 0; }
    .portfolio-card__feature-callout { grid-template-columns: 1fr; grid-template-rows: auto; gap: 0.25rem; }
    .portfolio-card__feature-callout strong, .portfolio-card__feature-callout p { grid-column: 1; grid-row: auto; }
    .portfolio-card__details li { padding-block: 0.52rem; font-size: 0.52rem; }
    .portfolio-card__link { min-height: 44px; font-size: 0.82rem; }
    .portfolio-card__preview { padding: 1rem; }
    .portfolio-browser-bar { height: 23px; }
    .portfolio-browser-bar b { font-size: 0.48rem; }
    .portfolio-phone { border-radius: 15px; }
    .portfolio-screen--mobile { border-radius: 9px; }
    .featured-work__closing { display: grid; gap: 1rem; padding-bottom: 6.5rem; }
    .featured-work__closing .button { width: fit-content; }
    .testimonials-section {
        --testimonial-side-pad: 1.15rem;
        --testimonial-card-width: min(278px, 80vw);
        --testimonial-card-height: 250px;
        padding-block: 4.8rem;
        background-size: 4.5rem 100%, auto;
    }
    .testimonials-section__intro { width: calc(100% - 2.3rem); }
    .testimonials-section__intro h2 { max-width: 10ch; font-size: clamp(2.45rem, 10.5vw, 3.4rem); }
    .testimonials-section__stories { margin-top: 2.2rem; mask-image: none; -webkit-mask-image: none; }
    .testimonial-belt__track, .testimonial-belt__group { gap: 0.72rem; }
    .testimonial-story { gap: 0.62rem; padding: 0.92rem; }
    .testimonial-story__meta { align-items: flex-start; }
    .testimonial-story__meta > span:last-child { max-width: 15ch; }
    .testimonial-story blockquote p { font-size: 0.94rem; line-height: 1.38; }
    .testimonial-story__details summary { min-height: 44px; }
    .process-section { padding-block: 5.5rem; }
    .process-sequence__copy { padding-inline: 1.15rem; }
    .process-sequence__copy h2 { max-width: 12ch; font-size: clamp(2.65rem, 11.3vw, 3.65rem); }
    .process-sequence__copy h2 span { display: inline; white-space: normal; }
    .process-sequence__copy h2 span + span::before { content: " "; }
    .process-sequence__sticky {
        position: sticky;
        top: max(4.75rem, calc(env(safe-area-inset-top) + 4.15rem));
        z-index: 3;
        display: grid;
        height: clamp(245px, 38svh, 320px);
        min-height: 245px;
        place-items: center;
        padding-inline: 1.15rem;
        border: 0;
        background: #080e12;
    }
    .process-visual {
        width: 100%;
        height: 100%;
        min-height: 0;
        max-height: none;
        margin: 0;
        padding: 0;
    }
    .process-list {
        position: relative;
        z-index: 2;
        grid-template-columns: 1fr;
        padding: 1.25rem 1.15rem 0;
    }
    .process-list li {
        min-height: clamp(270px, 44svh, 380px);
        grid-template-columns: 36px minmax(0, 1fr);
        align-items: center;
    }
    .process-list li:nth-last-child(2) { border-bottom: 0; }
    .process-step__content { gap: 0.8rem; padding-block: 1.8rem; }
    .process-step__content h3 { font-size: clamp(2.25rem, 11vw, 3.2rem); }
    .process-step__content p { font-size: 0.98rem; line-height: 1.48; }
    .brand-footer {
        grid-template-columns: 1fr;
        gap: 1.4rem;
        padding: 2.5rem 1.15rem max(2rem, env(safe-area-inset-bottom));
    }
    .brand-footer nav {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0 1rem;
    }
    .brand-footer nav a { display: flex; min-height: 44px; align-items: center; border-bottom: 1px solid rgba(212, 239, 249, 0.09); }
    .brand-footer p { grid-column: auto; }
    .brand-footer__contact { display: grid; gap: 0.5rem; margin-top: 0.6rem; }
}

@media (max-width: 480px) {
    .portfolio-phone { display: none; }
    .home-work-phone { display: block; }
    .process-visual { min-height: 225px; max-height: 300px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
    body.igloo-entering-contact .igloo-entry-transition,
    body.igloo-entering-contact .igloo-entry-transition::before,
    body.igloo-entering-contact #snow-scene { animation-duration: 520ms !important; }
    body.legacy-experience-visible.experience-final-state .igloo-entrance-link::before {
        opacity: 0.28;
        transform: scale(0.98);
    }
    body.legacy-experience-visible.experience-final-state .igloo-entrance-link::after {
        opacity: 0.15;
        transform: scaleX(0.92);
    }
    .reduced-experience .experience-track { min-height: 100svh; padding: 0; background: rgba(4, 9, 15, 0.18); }
    .reduced-experience .experience-chapter, .reduced-experience .experience-chapter:nth-child(n) { display: none; min-height: 0; padding: 0; background: transparent; }
    .reduced-experience #chapter-now { display: grid; min-height: 100svh; padding-inline: 1.15rem; }
    body.legacy-experience-visible.reduced-experience .igloo-entrance-link { opacity: 1; pointer-events: auto; }
    .reduced-experience .chapter-progress { display: none; }
    .reduced-experience #snow-scene { opacity: 1; }
    .reduced-experience .experience-transformation {
        --story-visibility: 1;
        position: absolute;
        overflow: visible;
        opacity: 1;
    }
    .reduced-experience .experience-transformation__veil,
    .reduced-experience .experience-transformation__surface,
    .reduced-experience .experience-transformation__visual,
    .reduced-experience .experience-transformation__narrative { display: none; }
    .reduced-experience .experience-transformation__reduced-summary {
        position: absolute;
        right: 1.15rem;
        bottom: max(4.75rem, calc(env(safe-area-inset-bottom) + 4rem));
        left: 1.15rem;
        display: block;
        margin: 0;
        color: rgba(235, 248, 251, 0.86);
        font: 500 0.75rem/1.5 "IBM Plex Mono", monospace;
        text-align: center;
        text-shadow: 0 2px 18px rgba(0, 0, 0, 0.72);
    }
    .portfolio-card { position: relative !important; top: auto !important; height: auto !important; margin-bottom: 1.5rem; }
    .portfolio-screen video { display: none !important; }
    .portfolio-card__preview-link:hover .portfolio-devices, .portfolio-card__preview-link:focus-visible .portfolio-devices { transform: none; }
    .home-work__toggle { display: none; }
    .home-work.is-ready .home-work__viewport { overflow-x: auto; scroll-snap-type: x proximity; }
    .home-work.is-ready .home-work__track {
        animation: none;
        transform: none;
        will-change: auto;
    }
    .home-work__group[data-home-work-group-clone] { display: none; }
    .home-work-card { scroll-snap-align: start; }
    .home-work-screen video { display: none !important; }
    .testimonials-section__stories { scroll-snap-type: x proximity; }
    .testimonial-story { scroll-snap-align: start; transition: none; }
    .process-sequence__sticky { position: relative; top: auto; height: auto; min-height: 0; }
    .process-list { padding-top: 4rem; padding-bottom: 4rem; }
    .process-list li { min-height: 0; opacity: 1 !important; transform: none !important; }
    .process-crystal, .process-care-field { animation: none !important; }
    body.positioning-motion .testimonials-section__intro, body.positioning-motion .testimonial-story { opacity: 1; transform: none; }
    body.positioning-motion .closing-cta .eyebrow,
    body.positioning-motion .closing-cta h2,
    body.positioning-motion .closing-cta__message {
        opacity: 1;
        transform: none;
    }
}

@media (prefers-contrast: more) {
    :root { --muted: rgba(244, 249, 251, 0.9); --line: rgba(228, 247, 253, 0.36); }
    .experience-copy { text-shadow: 0 2px 12px #000; }
}

/* Portfolio page: horizontal showcase tray */
.featured-work--tray {
    --portfolio-tray-top: 5.5rem;
    --portfolio-tray-card-width: clamp(700px, 68vw, 1080px);
    --portfolio-tray-card-height: min(66svh, 630px);
    overflow: visible;
}

.studio-page.studio-page--portfolio .featured-work--page {
    padding-top: clamp(6.5rem, 7vw, 7.75rem);
}

.featured-work--tray .featured-work__intro {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(17rem, 0.65fr);
    align-items: end;
    gap: clamp(2rem, 6vw, 7rem);
    margin-bottom: clamp(1.35rem, 2.5vw, 2.25rem);
    padding-bottom: clamp(1.15rem, 2vw, 1.65rem);
    border-bottom: 1px solid rgba(17, 25, 27, 0.18);
}

.featured-work--tray .featured-work__intro h1 {
    max-width: none;
    font-size: clamp(3.15rem, 5.8vw, 6.1rem);
    font-weight: 800;
    line-height: 0.9;
    letter-spacing: -0.055em;
}

.featured-work__heading {
    display: grid;
    gap: clamp(0.75rem, 1.4vw, 1.15rem);
}

.featured-work--tray .featured-work__kicker {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    margin: 0;
    color: #7f3932;
    font: 600 0.68rem/1.2 "IBM Plex Mono", monospace;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.featured-work--tray .featured-work__kicker span {
    display: inline-grid;
    min-width: 2rem;
    height: 2rem;
    place-items: center;
    border: 1px solid rgba(127, 57, 50, 0.34);
    border-radius: 999px;
}

.featured-work--tray .featured-work__intro > p {
    max-width: 35ch;
    margin: 0 0 0.15rem;
    color: rgba(17, 25, 27, 0.68);
    font-size: clamp(0.94rem, 1.15vw, 1.08rem);
    line-height: 1.55;
}

.portfolio-showcase {
    position: relative;
    height: 205svh;
}

.portfolio-showcase__sticky {
    position: sticky;
    top: var(--portfolio-tray-top);
    display: grid;
    height: calc(100svh - var(--portfolio-tray-top));
    min-height: 560px;
    grid-template-rows: minmax(0, 1fr) auto;
    align-items: center;
    overflow: hidden;
}

.portfolio-showcase__viewport {
    width: 100%;
    min-height: 0;
    padding-block: clamp(0.5rem, 1.6svh, 1.25rem);
    overflow: hidden;
    touch-action: pan-y;
}

.portfolio-showcase__viewport:focus-visible {
    outline: 2px solid rgba(149, 224, 240, 0.76);
    outline-offset: -4px;
}

.featured-work--tray .portfolio-showcase__rail {
    display: flex;
    width: max-content;
    align-items: center;
    gap: clamp(1rem, 1.6vw, 2rem);
    margin: 0;
    padding: 0 calc((100vw - var(--portfolio-tray-card-width)) / 2);
    transform: translate3d(var(--portfolio-rail-x, 0), 0, 0);
    transition: transform 680ms cubic-bezier(0.2, 0.76, 0.22, 1);
    will-change: transform;
    backface-visibility: hidden;
}

.featured-work--tray .portfolio-showcase__rail.is-repositioning {
    transition: none;
}

.featured-work--tray .portfolio-card {
    position: relative !important;
    top: auto !important;
    display: block;
    width: var(--portfolio-tray-card-width);
    height: var(--portfolio-tray-card-height) !important;
    min-height: 480px;
    flex: 0 0 var(--portfolio-tray-card-width);
    margin: 0;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    opacity: 0.56;
    transform: translate3d(0, 14px, 0) scale(0.68);
    transform-origin: center;
    transition:
        opacity 560ms ease,
        transform 680ms cubic-bezier(0.2, 0.76, 0.22, 1);
    backface-visibility: hidden;
}

.featured-work--tray .portfolio-card.is-active {
    z-index: 2;
    opacity: 1;
    transform: translate3d(0, -8px, 0) scale(1);
}

.featured-work--tray .portfolio-card__body {
    display: contents;
}

.featured-work--tray .portfolio-card__preview {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    filter: saturate(0.66) contrast(0.9);
    transition:
        left 620ms cubic-bezier(0.2, 0.72, 0.24, 1),
        width 620ms cubic-bezier(0.2, 0.72, 0.24, 1),
        top 620ms cubic-bezier(0.2, 0.72, 0.24, 1),
        filter 520ms ease;
}

.featured-work--tray .portfolio-card.is-active .portfolio-card__preview {
    top: 4.75rem;
    left: 0;
    width: 68%;
    filter: none;
}

/* The category title now sits directly above the preview monitor as its own borderless
   strip, instead of stacked into the side panel with the project copy. */
.featured-work--tray .portfolio-card__tab {
    position: absolute;
    top: 0;
    left: 0;
    width: 68%;
    height: auto;
    min-height: 0;
    padding: 0;
    border: 0;
    background: transparent;
    opacity: 1;
    transition:
        opacity 340ms ease 180ms,
        transform 520ms cubic-bezier(0.2, 0.72, 0.24, 1) 100ms;
}

.featured-work--tray .portfolio-card__tab-link {
    min-height: 0;
    align-content: end;
    align-items: end;
    grid-template-columns: 1fr;
    gap: 0.55rem;
    padding: 0 0.2rem 0.9rem;
}

.featured-work--tray .portfolio-card__number {
    color: rgba(169, 233, 248, 0.64);
    font-size: 0.58rem;
}

.featured-work--tray .portfolio-card__category {
    color: #11191b;
    font-size: clamp(2rem, 2.7vw, 2.85rem);
    line-height: 1.02;
}

.featured-work--tray .portfolio-card__copy {
    position: absolute;
    top: 4.75rem;
    right: 0;
    bottom: 1.75rem;
    width: 29%;
    display: flex;
    min-height: 0;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.15rem 1.35rem 1.3rem;
    overflow: hidden;
    border: 1px solid rgba(204, 235, 244, 0.14);
    border-radius: 6px;
    background: #08131a;
    opacity: 1;
    transition:
        opacity 340ms ease 180ms,
        transform 520ms cubic-bezier(0.2, 0.72, 0.24, 1) 100ms;
}

.js .featured-work--tray .portfolio-card:not(.is-active) .portfolio-card__tab,
.js .featured-work--tray .portfolio-card:not(.is-active) .portfolio-card__copy {
    opacity: 0;
    pointer-events: none;
    transform: translate3d(18px, 0, 0);
    transition-delay: 0ms;
}

.featured-work--tray .portfolio-card__project-meta {
    display: grid;
    gap: 0.35rem;
    padding-bottom: 0.7rem;
}

.featured-work--tray .portfolio-card__project-meta strong {
    font-size: clamp(1.15rem, 1.45vw, 1.4rem);
}

.featured-work--tray .portfolio-card__project-meta span {
    font-size: 0.7rem;
    line-height: 1.35;
}

.featured-work--tray .portfolio-card__description {
    margin-top: 0.85rem;
    font-size: clamp(0.8rem, 0.88vw, 0.92rem);
    line-height: 1.48;
}

.featured-work--tray .portfolio-card__highlights {
    grid-template-columns: 1fr;
    margin-top: 0.85rem;
}

.featured-work--tray .portfolio-card__highlights li,
.featured-work--tray .portfolio-card__highlights li:nth-child(2n) {
    padding: 0.7rem 0 0.68rem 1rem;
    border-left: 0;
    font-size: clamp(0.72rem, 0.78vw, 0.8rem);
    line-height: 1.4;
}

.featured-work--tray .portfolio-card__highlights li::before,
.featured-work--tray .portfolio-card__highlights li:nth-child(2n)::before {
    top: 1rem;
    left: 0.12rem;
}

.featured-work--tray .portfolio-card__supporting-copy,
.featured-work--tray .portfolio-card__custom-features,
.featured-work--tray .portfolio-card__badges,
.featured-work--tray .portfolio-card__feature-callout {
    display: none;
}

.featured-work--tray .portfolio-card__support {
    gap: 0.85rem;
}

.featured-work--tray .portfolio-card__details {
    grid-template-columns: 1fr;
}

.featured-work--tray .portfolio-card__details li {
    padding: 0.48rem 0;
    border-left: 0;
    font-size: 0.52rem;
}

.featured-work--tray .portfolio-card__details li:nth-child(2n) {
    padding-left: 0;
    border-left: 0;
}

.featured-work--tray .portfolio-card__details li:nth-child(n + 3) {
    display: none;
}

.featured-work--tray .portfolio-card__link {
    min-height: 44px;
    font-size: 0.95rem;
}

.featured-work--tray .portfolio-devices {
    max-width: none;
    padding: 0 9% 7% 0;
}

.featured-work--tray .portfolio-desktop {
    width: 96%;
    border-color: rgba(207, 230, 235, 0.32);
    border-radius: 5px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.featured-work--tray .portfolio-phone {
    width: clamp(86px, 23%, 132px);
    border-radius: 15px;
    box-shadow: 0 9px 20px rgba(0, 0, 0, 0.2);
}

.featured-work--tray .portfolio-card__preview-link:hover .portfolio-devices,
.featured-work--tray .portfolio-card__preview-link:focus-visible .portfolio-devices {
    transform: translateY(-2px) scale(1.01);
}

/* The arrows flank the showcase rather than sitting under it, so the control for
   stepping between projects reads against the edge of the card it moves. The strip
   itself stays click-through; only the buttons take pointer events. */
.portfolio-showcase__controls {
    position: absolute;
    z-index: 3;
    inset: 0;
    pointer-events: none;
}

/* Anchored to the active card's edges rather than the viewport's, so each arrow sits
   beside the project it steps away from instead of floating over its neighbour. */
.portfolio-showcase__arrow--previous {
    right: calc(50% + var(--portfolio-tray-card-width) / 2 + clamp(0.5rem, 1.6vw, 1.75rem));
}

.portfolio-showcase__arrow--next {
    left: calc(50% + var(--portfolio-tray-card-width) / 2 + clamp(0.5rem, 1.6vw, 1.75rem));
}

.portfolio-showcase__numbers button {
    display: inline-grid;
    min-width: 44px;
    min-height: 44px;
    place-items: center;
    border: 1px solid rgba(29, 50, 54, 0.24);
    border-radius: 5px;
    color: #26383b;
    background: transparent;
    font: 600 0.62rem "IBM Plex Mono", monospace;
}

.portfolio-showcase__arrow {
    position: absolute;
    top: 50%;
    display: inline-grid;
    min-width: 64px;
    min-height: 64px;
    place-items: center;
    border: 0;
    border-radius: 999px;
    color: #26383b;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 12px 28px rgba(17, 25, 27, 0.16), 0 2px 8px rgba(17, 25, 27, 0.08);
    opacity: 0.94;
    transition: opacity 0.24s ease, transform 0.24s ease, box-shadow 0.24s ease;
    transform: translateY(-50%);
    pointer-events: auto;
}

.portfolio-showcase__arrow svg {
    width: 34px;
    height: 34px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.portfolio-showcase__arrow:disabled {
    opacity: 0.28;
    box-shadow: none;
}

.portfolio-showcase__numbers {
    display: flex;
    gap: 0.35rem;
}

.portfolio-showcase__numbers button {
    min-width: 38px;
    min-height: 38px;
}

.portfolio-showcase__numbers button[aria-current="true"] {
    border-color: #9b4c43;
    color: #fff;
    background: #9b4c43;
}

.portfolio-showcase__arrow:not(:disabled):hover,
.portfolio-showcase__arrow:not(:disabled):focus-visible {
    color: #7f3932;
    opacity: 1;
    box-shadow: 0 16px 34px rgba(17, 25, 27, 0.22), 0 3px 10px rgba(17, 25, 27, 0.12);
    outline: 0;
}

.portfolio-showcase__arrow--previous:not(:disabled):hover,
.portfolio-showcase__arrow--previous:not(:disabled):focus-visible {
    transform: translate(-3px, -50%);
}

.portfolio-showcase__arrow--next:not(:disabled):hover,
.portfolio-showcase__arrow--next:not(:disabled):focus-visible {
    transform: translate(3px, -50%);
}

.portfolio-showcase__numbers button:hover,
.portfolio-showcase__numbers button:focus-visible {
    border-color: #9b4c43;
    color: #7f3932;
    outline: 0;
}

.featured-work--tray .featured-work__closing {
    position: relative;
    z-index: 1;
    background: #e8efee;
}

@media (min-width: 900px) and (max-width: 1100px) and (min-height: 640px) and (max-height: 849px) {
    .featured-work--tray {
        --portfolio-tray-card-width: min(82vw, 840px);
        --portfolio-tray-card-height: min(78svh, 630px);
    }

    .featured-work--tray .portfolio-card__copy {
        gap: 0.7rem;
        padding: 0.9rem 1rem 1rem;
    }

    .featured-work--tray .portfolio-card__project-meta {
        gap: 0.25rem;
        padding-bottom: 0.55rem;
    }

    .featured-work--tray .portfolio-card__project-meta strong {
        font-size: 1.08rem;
    }

    .featured-work--tray .portfolio-card__project-meta span {
        font-size: 0.62rem;
    }

    .featured-work--tray .portfolio-card__description,
    .featured-work--tray .portfolio-card__highlights {
        margin-top: 0.58rem;
    }

    .featured-work--tray .portfolio-card__description {
        font-size: 0.78rem;
        line-height: 1.38;
    }

    .featured-work--tray .portfolio-card__highlights li,
    .featured-work--tray .portfolio-card__highlights li:nth-child(2n) {
        padding: 0.5rem 0 0.48rem 0.85rem;
        font-size: 0.66rem;
        line-height: 1.3;
    }

    .featured-work--tray .portfolio-card__highlights li::before,
    .featured-work--tray .portfolio-card__highlights li:nth-child(2n)::before {
        top: 0.76rem;
        left: 0.08rem;
    }
}

@media (max-width: 899px), (max-height: 639px) {
    /* Desktop keeps the page's light background; mobile stays on the dark theme so the
       vertical feed's cards read seamlessly against the section behind them. */
    .work-section {
        color: var(--ink);
        background: var(--night);
    }

    .featured-work--tray .featured-work__intro {
        grid-template-columns: 1fr;
        align-items: start;
        gap: 1.15rem;
        border-bottom-color: rgba(212, 239, 249, 0.17);
    }

    .featured-work--tray .featured-work__intro h1 {
        font-size: clamp(2.8rem, 13vw, 4.9rem);
    }

    .featured-work--tray .featured-work__kicker {
        color: var(--ice);
    }

    .featured-work--tray .featured-work__kicker span {
        border-color: rgba(169, 233, 248, 0.34);
    }

    .featured-work--tray .featured-work__intro > p {
        color: var(--muted);
    }

    .featured-work--tray .featured-work__closing {
        background: var(--night);
    }

    .featured-work__closing {
        border-top: 1px solid var(--line);
    }

    .featured-work__closing h2,
    .featured-work__closing h3 {
        color: var(--ink);
    }

    .featured-work__closing-copy > p {
        color: var(--muted);
    }

    .featured-work__closing .button--quiet {
        color: var(--ink);
        border-color: rgba(244, 248, 250, 0.28);
    }

    .featured-work__closing .button--quiet:hover,
    .featured-work__closing .button--quiet:focus-visible {
        color: var(--ink);
        border-color: var(--ice);
        background: transparent;
    }

    .portfolio-showcase {
        height: auto;
    }

    .portfolio-showcase__sticky {
        position: relative;
        top: auto;
        height: auto;
        min-height: 0;
        overflow: visible;
    }

    .portfolio-showcase__viewport {
        padding-block: 0.5rem 0.5rem;
        overflow: visible;
    }

    /* Mobile drops the horizontal card-carousel entirely and lays every project out as a
       vertical feed — scrolling the page down is what steps you through the work, no swipe
       gesture or pinned/hijacked scroll required. */
    .featured-work--tray .portfolio-showcase__rail {
        display: flex;
        flex-direction: column;
        gap: 1.65rem;
        width: 100%;
        padding: 0;
        transform: none !important;
        transition: none;
        will-change: auto;
    }

    .featured-work--tray .portfolio-card {
        position: relative !important;
        top: auto !important;
        display: grid;
        width: 100%;
        height: auto !important;
        min-height: 0;
        flex: none;
        grid-template-areas:
            "preview"
            "tab"
            "copy";
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: auto auto minmax(0, 1fr);
        align-self: stretch;
        overflow: hidden;
        border: 1px solid rgba(204, 235, 244, 0.16);
        border-radius: 18px;
        background: linear-gradient(165deg, #0b1a23 0%, #08131a 55%);
        opacity: 0.52;
        box-shadow: 0 14px 32px rgba(0, 0, 0, 0.22);
        scroll-margin-top: 5.5rem;
        transform: none;
        transition: opacity 480ms ease, box-shadow 480ms ease;
    }

    .featured-work--tray .portfolio-card.is-active {
        opacity: 1;
        transform: none;
        box-shadow: 0 30px 64px rgba(0, 0, 0, 0.4), 0 8px 20px rgba(0, 0, 0, 0.26);
    }

    /* The desktop-only "hide the inactive card's copy" rule further up this file is meant
       for the sticky rail, where just one card is ever on screen. In a scrolling feed every
       card's title and details need to stay readable, so cancel it here. */
    .js .featured-work--tray .portfolio-card:not(.is-active) .portfolio-card__tab,
    .js .featured-work--tray .portfolio-card:not(.is-active) .portfolio-card__copy {
        visibility: visible;
        opacity: 1;
        pointer-events: auto;
        transform: none;
    }

    .featured-work--tray .portfolio-card__preview,
    .featured-work--tray .portfolio-card.is-active .portfolio-card__preview {
        position: relative;
        top: auto;
        left: auto;
        width: 100%;
        grid-area: preview;
        padding: 1.15rem 1.5rem 2.3rem 0.9rem;
        border: 0;
        transform: none;
    }

    /* Desktop preview fills nearly the whole card now; the phone tucks into the bottom-right
       corner, tilted and layered on top of it, instead of sitting in its own side column.
       An older, unscoped `.portfolio-devices`/`.portfolio-phone` mobile rule elsewhere in
       this file (written for a different, non-tray layout) shares this same breakpoint, so
       every property it sets — display, position, margin — has to be reclaimed explicitly
       here rather than left to inherit, or it wins by simply appearing later in the file. */
    .featured-work--tray .portfolio-devices {
        display: block;
        max-width: none;
        padding: 0 9% 9% 0;
    }

    .featured-work--tray .portfolio-desktop {
        width: 100%;
        border-radius: 9px;
        box-shadow: 0 20px 42px rgba(0, 0, 0, 0.34), 0 4px 12px rgba(0, 0, 0, 0.24);
    }

    .featured-work--tray .portfolio-phone {
        position: absolute;
        right: 0;
        bottom: 0;
        display: block;
        width: clamp(88px, 28%, 138px);
        margin: 0;
        border-radius: 20px;
        box-shadow:
            0 16px 30px rgba(0, 0, 0, 0.4),
            0 4px 10px rgba(0, 0, 0, 0.28),
            0 0 0 1px rgba(255, 255, 255, 0.05);
        transform: rotate(8deg);
        transform-origin: bottom right;
    }

    .featured-work--tray .portfolio-browser-bar b {
        font-size: 0.58rem;
    }

    .featured-work--tray .portfolio-card__tab,
    .featured-work--tray .portfolio-card__copy {
        position: relative;
        inset: auto;
        width: 100%;
        border: 0;
        background: transparent;
    }

    .featured-work--tray .portfolio-card__tab {
        grid-area: tab;
        min-height: 0;
        border-top: 1px solid rgba(204, 235, 244, 0.12);
    }

    .featured-work--tray .portfolio-card__tab-link {
        min-height: 0;
        padding: 1.15rem 1rem 0.75rem;
    }

    .featured-work--tray .portfolio-card__category {
        color: #f6fbfd;
        font-size: clamp(1.55rem, 6.8vw, 2rem);
    }

    .featured-work--tray .portfolio-card__copy {
        grid-area: copy;
        min-height: 250px;
        padding: 0 1rem 1.1rem;
        overflow: visible;
    }

    .featured-work--tray .portfolio-card__description {
        font-size: 0.88rem;
    }

    .featured-work--tray .portfolio-card__highlights {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .featured-work--tray .portfolio-card__highlights li:nth-child(2n) {
        padding-left: 1.45rem;
        border-left: 1px solid rgba(204, 235, 244, 0.1);
    }

    .featured-work--tray .portfolio-card__highlights li:nth-child(2n)::before {
        left: 0.65rem;
    }

    /* The rail is a normal scrolling feed now, so there's no single "current" card frame
       for these to flank — scrolling is the navigation. Arrow keys still work via the
       focusable viewport's aria-label. */
    .portfolio-showcase__controls {
        display: none;
    }

    .featured-work--tray .featured-work__closing {
        padding-top: 2rem;
    }
}

@media (max-width: 480px) {
    .featured-work--tray .featured-work__intro {
        margin-bottom: 1.25rem;
    }

    .featured-work--tray .portfolio-card__copy {
        min-height: 270px;
        padding-inline: 1.1rem;
    }

    .featured-work--tray .portfolio-card__highlights {
        grid-template-columns: 1fr;
    }

    .featured-work--tray .portfolio-card__highlights li,
    .featured-work--tray .portfolio-card__highlights li:nth-child(2n) {
        padding: 0.72rem 0 0.7rem 1rem;
        border-left: 0;
        font-size: 0.75rem;
        line-height: 1.45;
    }

    .featured-work--tray .portfolio-card__highlights li:nth-child(2n)::before {
        left: 0.12rem;
    }
}

.no-js .portfolio-showcase,
.reduced-motion .portfolio-showcase {
    height: auto;
}

.no-js .portfolio-showcase__sticky,
.reduced-motion .portfolio-showcase__sticky {
    position: relative;
    top: auto;
    height: auto;
    min-height: 0;
}

.no-js .portfolio-showcase__viewport,
.reduced-motion .portfolio-showcase__viewport {
    overflow-x: auto;
    scroll-snap-type: x proximity;
}

.no-js .featured-work--tray .portfolio-showcase__rail,
.reduced-motion .featured-work--tray .portfolio-showcase__rail {
    padding-inline: 1.5rem;
    transform: none !important;
    transition: none;
}

.no-js .featured-work--tray .portfolio-card,
.reduced-motion .featured-work--tray .portfolio-card {
    opacity: 1;
    transform: none;
    scroll-snap-align: center;
}

@media (prefers-reduced-motion: reduce) {
    .portfolio-showcase {
        height: auto;
    }

    .portfolio-showcase__sticky {
        position: relative;
        top: auto;
        height: auto;
        min-height: 0;
    }

    .portfolio-showcase__viewport {
        overflow-x: auto;
        scroll-snap-type: x proximity;
    }

    .featured-work--tray .portfolio-showcase__rail {
        padding-inline: 1.5rem;
        transform: none !important;
    }

    .featured-work--tray .portfolio-card {
        opacity: 1;
        transform: none;
        scroll-snap-align: center;
    }
}

/* Portfolio page: light editorial carousel with an active desktop + mobile pairing. */
.studio-page--portfolio .work-section {
    background:
        radial-gradient(circle at 72% 34%, rgba(154, 218, 230, 0.2), transparent 31rem),
        linear-gradient(180deg, #f5f8f8 0%, #e8efee 72%, #e4eceb 100%);
}

.studio-page.studio-page--portfolio .featured-work--page {
    padding-top: 5.6rem;
}

.featured-work--tray {
    --portfolio-tray-top: 5.5rem;
    --portfolio-side-pad: clamp(1.5rem, 4vw, 5rem);
    --portfolio-intro-width: clamp(10rem, 15vw, 14rem);
    --portfolio-stage-gap: clamp(1.1rem, 2vw, 2.5rem);
    --portfolio-tray-card-width: min(clamp(28rem, 44vw, 43rem), calc(100% - clamp(1rem, 3vw, 2rem)));
    --portfolio-tray-card-height: min(66svh, 38rem);
    --portfolio-side-step: clamp(13rem, 21vw, 19rem);
    --portfolio-far-step: clamp(22rem, 36vw, 34rem);
}

.portfolio-showcase {
    height: 205svh;
}

.portfolio-showcase__sticky {
    top: var(--portfolio-tray-top);
    height: calc(100svh - var(--portfolio-tray-top));
    min-height: 34rem;
    grid-template-columns: var(--portfolio-intro-width) minmax(0, 1fr);
    grid-template-rows: minmax(0, 1fr);
    align-items: center;
    gap: var(--portfolio-stage-gap);
    padding-inline: var(--portfolio-side-pad);
}

.portfolio-showcase__intro {
    position: relative;
    z-index: 4;
    align-self: center;
    color: #10191b;
}

.portfolio-showcase__eyebrow {
    margin: 0 0 1.2rem;
    color: rgba(16, 25, 27, 0.48);
    font: 600 0.64rem/1.2 "IBM Plex Mono", monospace;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.portfolio-showcase__intro h1 {
    display: grid;
    gap: 0;
    width: fit-content;
    max-width: 100%;
    margin: 0;
    color: #10191b;
    font-size: clamp(2.35rem, 3.75vw, 4rem);
    font-weight: 780;
    line-height: 0.86;
    letter-spacing: -0.055em;
    transform: rotate(-3deg);
    transform-origin: left center;
}

.portfolio-showcase__intro h1 span:last-child {
    padding-left: clamp(0.65rem, 1.2vw, 1.1rem);
}

.portfolio-showcase__hint {
    max-width: 22ch;
    margin: 1.35rem 0 0;
    color: rgba(16, 25, 27, 0.56);
    font-size: clamp(0.78rem, 0.9vw, 0.9rem);
    line-height: 1.55;
}

.portfolio-showcase__position {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: clamp(2rem, 5vh, 3.75rem) 0 0;
    color: rgba(16, 25, 27, 0.5);
    font: 600 0.62rem/1 "IBM Plex Mono", monospace;
    letter-spacing: 0.08em;
}

.portfolio-showcase__position i {
    width: min(5rem, 7vw);
    height: 1px;
    background: rgba(16, 25, 27, 0.25);
}

.portfolio-showcase__viewport {
    position: relative;
    grid-column: 2;
    width: 100%;
    padding-block: clamp(0.75rem, 2svh, 1.5rem);
    perspective: 90rem;
}

.featured-work--tray .portfolio-showcase__rail {
    position: relative;
    display: block;
    width: 100%;
    height: var(--portfolio-tray-card-height);
    padding: 0;
    transform: none !important;
    transition: none;
    transform-style: preserve-3d;
    will-change: auto;
}

.featured-work--tray .portfolio-card {
    position: absolute !important;
    top: 50% !important;
    left: 50%;
    width: var(--portfolio-tray-card-width);
    height: var(--portfolio-tray-card-height) !important;
    min-height: 27rem;
    flex-basis: var(--portfolio-tray-card-width);
    margin: 0 !important;
    z-index: 1;
    visibility: visible;
    pointer-events: none;
    opacity: 0;
    transform: translate3d(calc(-50% + var(--portfolio-far-step)), calc(-50% + 0.8rem), -7rem) rotateY(-10deg) rotateZ(1.8deg) scale(0.68);
    transform-origin: center;
    transform-style: preserve-3d;
    transition:
        opacity 520ms ease,
        transform 680ms cubic-bezier(0.22, 0.72, 0.2, 1),
        filter 520ms ease;
}

.featured-work--tray .portfolio-card.is-active {
    z-index: 4;
    visibility: visible;
    pointer-events: auto;
    opacity: 1;
    transform: translate3d(-50%, -50%, 0) scale(1);
}

.featured-work--tray .portfolio-card[data-portfolio-slot="-1"] {
    z-index: 3;
    visibility: visible;
    opacity: 0.52;
    transform: translate3d(calc(-50% - var(--portfolio-side-step)), calc(-50% + 0.35rem), -3rem) rotateY(7deg) rotateZ(-1.1deg) scale(0.76);
}

.featured-work--tray .portfolio-card[data-portfolio-slot="1"] {
    z-index: 3;
    visibility: visible;
    opacity: 0.52;
    transform: translate3d(calc(-50% + var(--portfolio-side-step)), calc(-50% + 0.35rem), -3rem) rotateY(-7deg) rotateZ(1.1deg) scale(0.76);
}

.featured-work--tray .portfolio-card[data-portfolio-slot="2"] {
    z-index: 1;
    opacity: 0;
    transform: translate3d(calc(-50% + var(--portfolio-far-step)), calc(-50% + 0.8rem), -7rem) rotateY(-10deg) rotateZ(1.8deg) scale(0.68);
}

.featured-work--tray .portfolio-card[data-portfolio-slot="-2"] {
    z-index: 1;
    opacity: 0;
    transform: translate3d(calc(-50% - var(--portfolio-far-step)), calc(-50% + 0.8rem), -7rem) rotateY(10deg) rotateZ(-1.8deg) scale(0.68);
}

.portfolio-showcase.is-preparing .portfolio-card {
    transition: none !important;
}

.portfolio-showcase.is-transitioning .portfolio-card {
    pointer-events: none;
    will-change: transform, opacity;
}

.featured-work--tray .portfolio-card__preview,
.featured-work--tray .portfolio-card.is-active .portfolio-card__preview {
    top: 0.5rem;
    bottom: 5.2rem;
    left: 0;
    display: grid;
    width: 100%;
    align-items: center;
    padding: 0;
    filter: saturate(0.42) contrast(0.88) brightness(1.08);
}

.featured-work--tray .portfolio-card.is-active .portfolio-card__preview {
    filter: none;
}

.featured-work--tray .portfolio-card__preview-link {
    width: 100%;
    user-select: none;
    -webkit-user-drag: none;
}

.featured-work--tray .portfolio-card__preview-link img,
.featured-work--tray .portfolio-card__preview-link video {
    -webkit-user-drag: none;
}

.featured-work--tray .portfolio-devices {
    width: 100%;
    max-width: none;
    padding: 0 10% 8% 0;
}

.featured-work--tray .portfolio-desktop {
    width: 94%;
    border-color: rgba(75, 100, 105, 0.22);
    border-radius: 8px;
    box-shadow:
        0 1.5rem 3.5rem rgba(25, 43, 46, 0.18),
        0 0.3rem 0.9rem rgba(25, 43, 46, 0.12);
}

.featured-work--tray .portfolio-phone {
    right: 0;
    bottom: 0;
    display: block;
    width: clamp(6.5rem, 25%, 9.75rem);
    border-color: rgba(75, 100, 105, 0.26);
    border-radius: 20px;
    box-shadow:
        0 1.4rem 2.8rem rgba(11, 25, 29, 0.28),
        0 0.25rem 0.8rem rgba(11, 25, 29, 0.18);
    opacity: 1;
    transform: translate3d(0, 0, 0) rotate(2deg);
    transform-origin: bottom right;
    transition: opacity 420ms ease 120ms, transform 620ms cubic-bezier(0.2, 0.76, 0.22, 1);
}

.js .featured-work--tray .portfolio-card:not(.is-active) .portfolio-phone {
    opacity: 0;
    transform: translate3d(1rem, 0.75rem, 0) rotate(6deg) scale(0.84);
}

.featured-work--tray .portfolio-card__tab {
    top: auto;
    right: 0;
    bottom: 1.55rem;
    left: 0;
    z-index: 5;
    width: 100%;
    height: 2.35rem;
    min-height: 0;
    opacity: 1;
    pointer-events: none;
}

.featured-work--tray .portfolio-card__tab-link {
    display: flex;
    width: max-content;
    min-height: 2.35rem;
    align-items: center;
    justify-content: center;
    margin-inline: auto;
    padding: 0;
    pointer-events: auto;
}

.featured-work--tray .portfolio-card__category {
    color: #10191b;
    font: 680 clamp(1rem, 1.25vw, 1.22rem)/1.1 "Inter Tight", sans-serif;
    letter-spacing: -0.02em;
    text-align: center;
    text-transform: none;
}

.featured-work--tray .portfolio-card__copy {
    top: auto;
    right: 0.25rem;
    bottom: 1.55rem;
    left: auto;
    z-index: 6;
    display: flex;
    width: auto;
    height: 2.35rem;
    min-height: 0;
    align-items: center;
    justify-content: flex-end;
    padding: 0;
    overflow: visible;
    border: 0;
    background: transparent;
    opacity: 1;
    pointer-events: none;
}

.featured-work--tray .portfolio-card__copy > div:first-child {
    display: none;
}

.featured-work--tray .portfolio-card__project-meta {
    display: none;
}

.featured-work--tray .portfolio-card__project-meta span,
.featured-work--tray .portfolio-card__description,
.featured-work--tray .portfolio-card__highlights {
    display: none;
}

.featured-work--tray .portfolio-card__support {
    position: relative;
    right: auto;
    display: block;
    pointer-events: auto;
}

.featured-work--tray .portfolio-card__link {
    min-height: 2rem;
    padding: 0;
    border: 0;
    color: rgba(16, 25, 27, 0.65);
    font: 600 0.66rem/1 "IBM Plex Mono", monospace;
    letter-spacing: 0.02em;
    cursor: pointer;
    pointer-events: auto;
}

.featured-work--tray .portfolio-card__link span {
    color: #7f3932;
}

.js .featured-work--tray .portfolio-card:not(.is-active) .portfolio-card__tab,
.js .featured-work--tray .portfolio-card:not(.is-active) .portfolio-card__copy {
    opacity: 0;
    transform: translate3d(0, 0.5rem, 0);
}

.portfolio-showcase__controls {
    inset: 0;
}

.portfolio-showcase__arrow {
    top: 50%;
    min-width: 3.25rem;
    min-height: 3.25rem;
    color: #182326;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 0.9rem 2.2rem rgba(16, 25, 27, 0.13);
    backdrop-filter: blur(10px);
}

.portfolio-showcase__arrow svg {
    width: 1.55rem;
    height: 1.55rem;
}

.portfolio-showcase__arrow--previous {
    right: auto;
    left: calc(var(--portfolio-side-pad) + var(--portfolio-intro-width) + var(--portfolio-stage-gap) + 0.4rem);
}

.portfolio-showcase__arrow--next {
    right: calc(var(--portfolio-side-pad) + 0.4rem);
    left: auto;
}

.featured-work--tray .featured-work__closing {
    background: #e4eceb;
}

@media (min-width: 900px) and (max-width: 1100px) and (min-height: 640px) {
    .featured-work--tray {
        --portfolio-tray-card-width: clamp(28rem, 44vw, 31rem);
        --portfolio-tray-card-height: min(66svh, 34rem);
        --portfolio-intro-width: clamp(9.5rem, 15vw, 11rem);
        --portfolio-side-step: clamp(10rem, 19vw, 13rem);
        --portfolio-far-step: clamp(18rem, 33vw, 23rem);
    }

    .portfolio-showcase__intro h1 {
        font-size: clamp(2.3rem, 3.9vw, 2.8rem);
    }

    .portfolio-showcase__arrow {
        min-width: 2.75rem;
        min-height: 2.75rem;
    }
}

@media (max-width: 899px), (max-height: 639px) {
    .studio-page--portfolio .work-section,
    .studio-page--portfolio .featured-work--tray .featured-work__closing {
        color: #10191b;
        background:
            radial-gradient(circle at 72% 13%, rgba(154, 218, 230, 0.16), transparent 24rem),
            #edf3f2;
    }

    .studio-page.studio-page--portfolio .featured-work--page {
        padding-top: clamp(7rem, 19vw, 9rem);
    }

    .portfolio-showcase {
        height: auto;
    }

    .portfolio-showcase__sticky {
        position: relative;
        top: auto;
        display: block;
        height: auto;
        min-height: 0;
        padding-inline: clamp(1.25rem, 5vw, 2.5rem);
        overflow: visible;
    }

    .portfolio-showcase__intro {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: end;
        gap: 0.65rem 1.5rem;
        margin-bottom: clamp(2.5rem, 9vw, 4.5rem);
        padding-bottom: 1.5rem;
        border-bottom: 1px solid rgba(16, 25, 27, 0.16);
    }

    .portfolio-showcase__eyebrow {
        grid-column: 1 / -1;
        margin: 0;
    }

    .portfolio-showcase__intro h1 {
        font-size: clamp(3.1rem, 14vw, 6rem);
        line-height: 0.86;
    }

    .portfolio-showcase__hint {
        grid-column: 1 / -1;
        max-width: none;
        margin: 0.75rem 0 0;
    }

    .portfolio-showcase__position {
        grid-column: 2;
        grid-row: 2;
        align-self: end;
        margin: 0 0 0.2rem;
    }

    .portfolio-showcase__position i {
        display: none;
    }

    .portfolio-showcase__viewport {
        width: 100%;
        padding: 0;
        overflow: visible;
    }

    .featured-work--tray .portfolio-showcase__rail {
        position: relative;
        display: flex;
        width: 100%;
        height: auto;
        gap: clamp(3.5rem, 12vw, 6rem);
    }

    .featured-work--tray .portfolio-card {
        position: relative !important;
        top: auto !important;
        left: auto;
        display: grid;
        width: 100%;
        height: auto !important;
        min-height: 0;
        grid-template-areas:
            "preview"
            "tab"
            "copy";
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: auto auto auto;
        padding-bottom: 1.5rem;
        overflow: visible;
        border: 0;
        border-bottom: 1px solid rgba(16, 25, 27, 0.15);
        border-radius: 0;
        background: transparent;
        visibility: visible;
        pointer-events: auto;
        opacity: 0.48;
        box-shadow: none;
        transform: none;
        transition: opacity 420ms ease;
    }

    .featured-work--tray .portfolio-card.is-slot-wrapping {
        opacity: 0.48;
    }

    .featured-work--tray .portfolio-card + .portfolio-card {
        margin-left: 0;
    }

    .featured-work--tray .portfolio-card[data-portfolio-slot] {
        z-index: 1;
        opacity: 0.48;
        transform: none;
    }

    .featured-work--tray .portfolio-card.is-active {
        opacity: 1;
        box-shadow: none;
    }

    .featured-work--tray .portfolio-card__preview,
    .featured-work--tray .portfolio-card.is-active .portfolio-card__preview {
        position: relative;
        inset: auto;
        width: 100%;
        grid-area: preview;
        padding: 0 7% 7% 0;
        filter: saturate(0.55) contrast(0.92);
    }

    .featured-work--tray .portfolio-card.is-active .portfolio-card__preview {
        filter: none;
    }

    .featured-work--tray .portfolio-devices {
        padding: 0 9% 9% 0;
    }

    .featured-work--tray .portfolio-desktop {
        width: 100%;
        border-radius: 7px;
    }

    .featured-work--tray .portfolio-phone {
        position: absolute;
        right: 0;
        bottom: 0;
        display: block;
        width: clamp(5.5rem, 25%, 8.5rem);
        margin: 0;
        border-radius: 17px;
        transform: rotate(3deg);
    }

    .js .featured-work--tray .portfolio-card:not(.is-active) .portfolio-phone {
        opacity: 0;
        transform: translate3d(0.75rem, 0.5rem, 0) rotate(7deg) scale(0.86);
    }

    .featured-work--tray .portfolio-card__copy {
        position: relative;
        inset: auto;
        display: flex;
        width: 100%;
        height: auto;
        min-height: 0;
        grid-area: copy;
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        gap: 1rem;
        padding: 0.55rem 0 0;
        background: transparent;
        pointer-events: auto;
    }

    .featured-work--tray .portfolio-card__project-meta {
        text-align: left;
    }

    .featured-work--tray .portfolio-card__project-meta strong {
        font-size: clamp(1.08rem, 4.8vw, 1.4rem);
    }

    .featured-work--tray .portfolio-card__support {
        position: relative;
        right: auto;
    }

    .featured-work--tray .portfolio-card__tab {
        position: relative;
        inset: auto;
        width: 100%;
        height: auto;
        grid-area: tab;
        border: 0;
        background: transparent;
        pointer-events: auto;
    }

    .featured-work--tray .portfolio-card__tab-link {
        justify-content: flex-start;
        min-height: 0;
        margin-inline: 0;
        padding: 1.15rem 0 0;
    }

    .featured-work--tray .portfolio-card__category {
        color: #10191b;
        font-size: clamp(1.08rem, 4.8vw, 1.4rem);
        text-align: left;
    }

    .js .featured-work--tray .portfolio-card:not(.is-active) .portfolio-card__tab,
    .js .featured-work--tray .portfolio-card:not(.is-active) .portfolio-card__copy {
        visibility: visible;
        opacity: 1;
        pointer-events: auto;
        transform: none;
    }

    .portfolio-showcase__controls {
        display: none;
    }

    .featured-work__closing {
        border-top-color: rgba(16, 25, 27, 0.16);
    }

    .featured-work__closing h2,
    .featured-work__closing h3 {
        color: #10191b;
    }

    .featured-work__closing-copy > p {
        color: rgba(16, 25, 27, 0.62);
    }

    .featured-work__closing .button--quiet {
        color: #10191b;
        border-color: rgba(16, 25, 27, 0.28);
    }
}

@media (max-width: 480px) {
    .portfolio-showcase__intro {
        grid-template-columns: 1fr;
    }

    .portfolio-showcase__position {
        grid-column: 1;
        grid-row: auto;
        margin-top: 0.6rem;
    }

    .featured-work--tray .portfolio-card__preview,
    .featured-work--tray .portfolio-card.is-active .portfolio-card__preview {
        padding-right: 3%;
    }

    .featured-work--tray .portfolio-card__link {
        font-size: 0.61rem;
    }
}

.no-js .portfolio-showcase__sticky,
.reduced-motion .portfolio-showcase__sticky {
    display: block;
    height: auto;
    padding-block: 4rem;
}

.no-js .portfolio-showcase__intro,
.reduced-motion .portfolio-showcase__intro {
    margin-bottom: 2.5rem;
}

.no-js .portfolio-showcase__controls,
.reduced-motion .portfolio-showcase__controls {
    display: none;
}

.no-js .featured-work--tray .portfolio-card,
.reduced-motion .featured-work--tray .portfolio-card {
    position: relative !important;
    top: auto !important;
    left: auto;
    visibility: visible;
    pointer-events: auto;
    opacity: 1;
    transition: none;
}

.no-js .featured-work--tray .portfolio-showcase__rail,
.reduced-motion .featured-work--tray .portfolio-showcase__rail {
    display: flex;
    width: max-content;
    height: auto;
}

.no-js .featured-work--tray .portfolio-card + .portfolio-card,
.reduced-motion .featured-work--tray .portfolio-card + .portfolio-card {
    margin-left: 0;
}

@media (prefers-reduced-motion: reduce) {
    .portfolio-showcase__sticky {
        display: block;
        height: auto;
        padding-block: 4rem;
    }

    .portfolio-showcase__intro {
        margin-bottom: 2.5rem;
    }

    .portfolio-showcase__controls {
        display: none;
    }

    .featured-work--tray .portfolio-card,
    .featured-work--tray .portfolio-card *,
    .featured-work--tray .portfolio-showcase__rail {
        transition: none !important;
    }

    .featured-work--tray .portfolio-showcase__rail {
        display: flex;
        width: max-content;
        height: auto;
    }

    .featured-work--tray .portfolio-card {
        position: relative !important;
        top: auto !important;
        left: auto;
    }

    .featured-work--tray .portfolio-card + .portfolio-card {
        margin-left: 0;
    }
}

/* Portfolio editorial gallery: large active work, contextual neighbours, and one clean
   project record beneath the imagery. The continuous slot system remains authoritative. */
.studio-page--portfolio .work-section {
    position: relative;
    isolation: isolate;
    background:
        radial-gradient(circle at 72% 31%, rgba(174, 226, 236, 0.2), transparent 34rem),
        linear-gradient(180deg, #f7f9f9 0%, #eef3f2 72%, #e9efee 100%);
}

.studio-page--portfolio .work-section::before {
    position: absolute;
    inset: 0;
    z-index: 0;
    content: "";
    pointer-events: none;
    opacity: 0.48;
    background-image:
        linear-gradient(rgba(37, 63, 67, 0.075) 1px, transparent 1px),
        linear-gradient(90deg, rgba(37, 63, 67, 0.075) 1px, transparent 1px);
    background-size: clamp(8rem, 12.5vw, 15rem) clamp(8rem, 12.5vw, 15rem);
    -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.72) 72%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.72) 72%, transparent 100%);
}

.studio-page--portfolio .portfolio-showcase,
.studio-page--portfolio .featured-work__closing {
    position: relative;
    z-index: 1;
}

@media (min-width: 900px) and (min-height: 640px) {
    .js .featured-work--tray:not(.reduced-motion) {
        --portfolio-tray-top: 5.5rem;
        --portfolio-side-pad: clamp(1.25rem, 2vw, 2.5rem);
        --portfolio-intro-width: clamp(13.5rem, 18vw, 20rem);
        --portfolio-stage-gap: clamp(0.6rem, 1vw, 1.25rem);
        --portfolio-tray-card-width: min(48vw, 42rem);
        --portfolio-tray-card-height: min(68svh, 39rem);
        --portfolio-detail-height: 8rem;
        --portfolio-detail-overhang: clamp(17rem, 28vw, 25rem);
        --portfolio-side-step: 22vw;
        --portfolio-far-step: 32vw;
        --portfolio-entry-step: 48vw;
    }

    .js .featured-work--tray:not(.reduced-motion) .portfolio-showcase {
        height: 205svh;
    }

    .js .featured-work--tray:not(.reduced-motion) .portfolio-showcase__sticky {
        position: sticky;
        top: var(--portfolio-tray-top);
        display: grid;
        height: calc(100svh - var(--portfolio-tray-top));
        min-height: 34rem;
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: 5rem minmax(0, 1fr);
        align-items: stretch;
        gap: 0;
        padding-inline: var(--portfolio-side-pad);
        overflow: hidden;
    }

    .js .featured-work--tray:not(.reduced-motion) .portfolio-showcase__eyebrow {
        position: absolute;
        top: clamp(1rem, 2.3svh, 1.75rem);
        right: var(--portfolio-side-pad);
        z-index: 8;
        margin: 0;
        color: rgba(16, 25, 27, 0.46);
        font: 600 0.61rem/1.2 "IBM Plex Mono", monospace;
        letter-spacing: 0.18em;
        text-transform: uppercase;
    }

    .js .featured-work--tray:not(.reduced-motion) .portfolio-showcase__intro {
        position: relative;
        z-index: 7;
        align-self: start;
        padding-top: 1.5rem;
        color: #10191b;
        grid-column: 1;
        grid-row: 1;
    }

    .js .featured-work--tray:not(.reduced-motion) .portfolio-showcase__intro h1 {
        display: flex;
        width: auto;
        margin: 0;
        color: #0c1517;
        font-family: "Iowan Old Style", "Baskerville", "Times New Roman", serif;
        font-size: clamp(2.8rem, 4vw, 4rem);
        font-weight: 600;
        line-height: 1;
        letter-spacing: -0.075em;
        transform: none;
        gap: 0.22em;
    }

    .js .featured-work--tray:not(.reduced-motion) .portfolio-showcase__intro h1 span:last-child {
        padding-left: 0;
    }

    .js .featured-work--tray:not(.reduced-motion) .portfolio-showcase__hint {
        max-width: 27ch;
        margin: clamp(1.35rem, 3svh, 2rem) 0 0;
        color: rgba(16, 25, 27, 0.64);
        font-size: clamp(0.92rem, 1.15vw, 1.08rem);
        line-height: 1.48;
    }

    .js .featured-work--tray:not(.reduced-motion) .portfolio-showcase__position {
        position: absolute;
        left: clamp(3.75rem, 8vw, 9rem);
        bottom: calc((100% - var(--portfolio-tray-card-height)) / 2 + var(--portfolio-detail-height) / 2 - 0.45rem);
        z-index: 9;
        display: grid;
        min-width: clamp(4.5rem, 7vw, 6.5rem);
        min-height: 3.6rem;
        place-items: center start;
        margin: 0;
        padding-right: 1.5rem;
        border-right: 1px solid rgba(16, 25, 27, 0.14);
        color: rgba(16, 25, 27, 0.52);
        font: 600 0.62rem/1 "IBM Plex Mono", monospace;
        letter-spacing: 0.08em;
    }

    .js .featured-work--tray:not(.reduced-motion) .portfolio-showcase__position i {
        display: none;
    }

    .js .featured-work--tray:not(.reduced-motion) .portfolio-showcase__viewport {
        position: relative;
        grid-column: 1;
        display: grid;
        width: 100%;
        height: 100%;
        align-items: center;
        padding: 0;
        overflow: visible;
        perspective: none;
        grid-row: 2;
    }

    .js .featured-work--tray:not(.reduced-motion) .portfolio-showcase__rail {
        position: relative;
        display: block;
        width: 100%;
        height: var(--portfolio-tray-card-height);
        padding: 0;
        transform: none !important;
        transition: none;
        transform-style: flat;
    }

    .js .featured-work--tray:not(.reduced-motion) .portfolio-card {
        position: absolute !important;
        top: 50% !important;
        left: 50%;
        width: var(--portfolio-tray-card-width);
        height: var(--portfolio-tray-card-height) !important;
        min-height: 0;
        margin: 0 !important;
        overflow: visible;
        border: 0;
        background: transparent;
        visibility: visible;
        pointer-events: none;
        opacity: 0;
        filter: none;
        transform: translate3d(calc(-50% + var(--portfolio-far-step)), calc(-50% + 1.4rem), -8rem) rotateY(-9deg) scale(0.66);
        transform-origin: center;
        transform-style: flat;
        transition: opacity 420ms ease, filter 420ms ease, transform 680ms cubic-bezier(0.22, 0.72, 0.2, 1);
    }

    .js .featured-work--tray:not(.reduced-motion) .portfolio-card.is-active {
        z-index: 5;
        pointer-events: auto;
        opacity: 1;
        filter: none;
        transform: translate3d(-50%, -50%, 0) scale(1);
    }

    .js .featured-work--tray:not(.reduced-motion) .portfolio-card[data-portfolio-slot="-1"] {
        z-index: 3;
        opacity: 1;
        filter: saturate(0.82);
        transform: translate(calc(-50% - var(--portfolio-side-step)), -50%) perspective(1000px) rotateY(28deg) scale(.76);
    }

    .js .featured-work--tray:not(.reduced-motion) .portfolio-card[data-portfolio-slot="1"] {
        z-index: 3;
        opacity: 1;
        filter: saturate(0.82);
        transform: translate(calc(-50% + var(--portfolio-side-step)), -50%) perspective(1000px) rotateY(-28deg) scale(.76);
    }

    .js .featured-work--tray:not(.reduced-motion) .portfolio-card[data-portfolio-slot="2"] {
        z-index: 1;
        opacity: 1;
        filter: saturate(0.72);
        transform: translate(calc(-50% + var(--portfolio-far-step)), -50%) perspective(1000px) rotateY(-38deg) scale(.60);
    }

    .js .featured-work--tray:not(.reduced-motion) .portfolio-card[data-portfolio-slot="-2"] {
        z-index: 1;
        opacity: 1;
        filter: saturate(0.72);
        transform: translate(calc(-50% - var(--portfolio-far-step)), -50%) perspective(1000px) rotateY(38deg) scale(.60);
    }

    .js .featured-work--tray:not(.reduced-motion) .portfolio-card[data-portfolio-slot="3"] {
        z-index: 0;
        opacity: 0;
        transform: translate3d(calc(-50% + var(--portfolio-entry-step)), calc(-50% + 1.8rem), -12rem) rotateY(-48deg) rotateZ(1deg) scale(0.55);
    }

    .js .featured-work--tray:not(.reduced-motion) .portfolio-card[data-portfolio-slot="-3"] {
        z-index: 0;
        opacity: 0;
        transform: translate3d(calc(-50% - var(--portfolio-entry-step)), calc(-50% + 1.8rem), -12rem) rotateY(48deg) rotateZ(-1deg) scale(0.55);
    }

    .js .featured-work--tray:not(.reduced-motion) .portfolio-card__preview,
    .js .featured-work--tray:not(.reduced-motion) .portfolio-card.is-active .portfolio-card__preview {
        position: absolute;
        top: 0.25rem;
        right: 0;
        bottom: calc(var(--portfolio-detail-height) + 0.75rem);
        left: 0;
        display: grid;
        width: 100%;
        align-items: center;
        padding: 0;
        border: 0;
        background: transparent;
        filter: none;
    }

    .js .featured-work--tray:not(.reduced-motion) .portfolio-card__preview-link {
        display: grid;
        width: 100%;
        place-items: center;
    }

    .js .featured-work--tray:not(.reduced-motion) .portfolio-devices {
        width: 100%;
        max-width: none;
        padding: 0 0 5%;
    }

    .js .featured-work--tray:not(.reduced-motion) .portfolio-desktop {
        width: 88%;
        margin-inline: auto;
        border: 1px solid rgba(72, 94, 99, 0.24);
        border-radius: 10px;
        background: #f8fbfb;
        box-shadow:
            0 2rem 4.8rem rgba(30, 52, 56, 0.2),
            0 0.4rem 1rem rgba(30, 52, 56, 0.12);
    }

    /* Keep the browser footprint identical across slots so activating a card only
       changes its outer tilt/scale and reveals the phone, without a width jump. */
    .js .featured-work--tray:not(.reduced-motion) .portfolio-card:not(.is-active) .portfolio-devices {
        width: 100%;
        margin-inline: auto;
        padding-bottom: 5%;
        padding-right: 0;
    }

    .js .featured-work--tray:not(.reduced-motion) .portfolio-card:not(.is-active) .portfolio-desktop {
        width: 88%;
        margin-inline: auto;
    }

    .js .featured-work--tray:not(.reduced-motion) .portfolio-browser-bar {
        height: clamp(1.35rem, 2vw, 1.7rem);
        background: linear-gradient(180deg, #fbfcfc, #edf1f1);
    }

    .js .featured-work--tray:not(.reduced-motion) .portfolio-phone {
        right: 0;
        bottom: 0;
        display: block;
        width: clamp(7.25rem, 23%, 11rem);
        border: 2px solid rgba(62, 78, 82, 0.38);
        border-radius: 23px;
        background: #f5f8f8;
        box-shadow:
            0 2rem 4.3rem rgba(15, 31, 35, 0.3),
            0 0.4rem 1rem rgba(15, 31, 35, 0.18);
        transform: translate3d(0, 0, 1rem) rotate(1.5deg);
    }

    .js .featured-work--tray:not(.reduced-motion) .portfolio-card__copy {
        --portfolio-details-width: min(1180px, calc(100vw - 2 * var(--portfolio-side-pad)));
        position: absolute;
        top: auto;
        right: calc((var(--portfolio-tray-card-width) - var(--portfolio-details-width)) / 2);
        bottom: 0;
        left: calc((var(--portfolio-tray-card-width) - var(--portfolio-details-width)) / 2);
        z-index: 7;
        display: grid;
        width: auto;
        height: var(--portfolio-detail-height);
        min-height: 0;
        grid-template-columns: minmax(0, 1fr) auto;
        grid-template-rows: auto auto;
        align-content: start;
        align-items: center;
        gap: 0.8rem 2rem;
        padding: 1rem 0 0;
        overflow: visible;
        border: 0;
        border-top: 1px solid rgba(16, 25, 27, 0.14);
        border-radius: 0;
        color: #10191b;
        background: transparent;
        opacity: 1;
        pointer-events: auto;
    }

    .js .featured-work--tray:not(.reduced-motion) .portfolio-card__copy > div:first-child {
        display: contents;
    }

    .js .featured-work--tray:not(.reduced-motion) .portfolio-card__project-meta {
        display: grid;
        min-width: 0;
        grid-column: 1;
        grid-row: 1;
        align-content: start;
        gap: 0.45rem;
        margin: 0;
        padding: 0;
        border-right: 0;
    }

    .js .featured-work--tray:not(.reduced-motion) .portfolio-card__project-meta strong {
        overflow: hidden;
        color: #0d1618;
        font-family: "Iowan Old Style", "Baskerville", "Times New Roman", serif;
        font-size: clamp(1.35rem, 2vw, 2rem);
        font-weight: 600;
        line-height: 1.05;
        letter-spacing: -0.045em;
        text-overflow: ellipsis;
        white-space: normal;
    }

    .js .featured-work--tray:not(.reduced-motion) .portfolio-card__project-meta span {
        display: none;
    }

    .js .featured-work--tray:not(.reduced-motion) .portfolio-card__description {
        display: block;
        grid-column: 2;
        grid-row: 1;
        margin: 0;
        padding: 0.05rem clamp(1.25rem, 2vw, 2rem) 0;
        color: rgba(16, 25, 27, 0.62);
        font-size: clamp(0.72rem, 0.9vw, 0.88rem);
        line-height: 1.45;
    }

    .js .featured-work--tray:not(.reduced-motion) .portfolio-card__highlights {
        display: flex;
        grid-column: 1 / -1;
        grid-row: 2;
        align-items: start;
        align-self: start;
        flex-wrap: wrap;
        gap: 0.55rem;
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .js .featured-work--tray:not(.reduced-motion) .portfolio-card__highlights li,
    .js .featured-work--tray:not(.reduced-motion) .portfolio-card__highlights li:nth-child(2n) {
        width: auto;
        padding: 0.5rem 0.7rem;
        border: 1px solid #afc7ca;
        border-radius: 5px;
        color: #243e45;
        background: #e0ecec;
        font: 600 clamp(0.75rem, 0.9vw, 0.85rem)/1.3 "Inter Tight", sans-serif;
        letter-spacing: 0;
        text-transform: none;
    }

    .js .featured-work--tray:not(.reduced-motion) .portfolio-card__highlights li::before {
        display: none;
    }

    .js .featured-work--tray:not(.reduced-motion) .portfolio-card__support {
        display: grid;
        grid-column: 2;
        grid-row: 1;
        min-width: 0;
        place-items: start end;
        border-left: 0;
        pointer-events: auto;
    }

    .js .featured-work--tray:not(.reduced-motion) .portfolio-card__link {
        min-height: 2.65rem;
        padding: 0.4rem 0;
        border: 0;
        border-bottom: 1px solid rgba(16, 25, 27, 0.62);
        color: #172326;
        font: 650 clamp(0.72rem, 0.86vw, 0.88rem)/1 "Inter Tight", sans-serif;
        letter-spacing: 0;
        text-transform: none;
    }

    .js .featured-work--tray:not(.reduced-motion) .portfolio-card__link span {
        margin-left: 0.5rem;
        color: #172326;
    }

    .js .featured-work--tray:not(.reduced-motion) .portfolio-card__tab {
        position: absolute;
        top: auto;
        right: auto;
        bottom: 0.35rem;
        left: calc((var(--portfolio-tray-card-width) - 100vw) / 2 + var(--portfolio-side-pad));
        z-index: 9;
        width: 28vw;
        height: auto;
        min-height: 0;
        border: 0;
        background: transparent;
        opacity: 1;
        pointer-events: none;
    }

    .js .featured-work--tray:not(.reduced-motion) .portfolio-card__tab-link {
        display: flex;
        width: max-content;
        min-height: 1.6rem;
        align-items: center;
        justify-content: flex-start;
        margin: 0;
        padding: 0;
        pointer-events: auto;
    }

    .js .featured-work--tray:not(.reduced-motion) .portfolio-card__category {
        color: rgba(16, 25, 27, 0.56);
        font: 500 clamp(0.72rem, 0.9vw, 0.88rem)/1.2 "Inter Tight", sans-serif;
        letter-spacing: 0;
        text-align: left;
        text-transform: none;
    }

    .js .featured-work--tray:not(.reduced-motion) .portfolio-card:not(.is-active) .portfolio-card__copy,
    .js .featured-work--tray:not(.reduced-motion) .portfolio-card:not(.is-active) .portfolio-card__tab {
        opacity: 0;
        pointer-events: none;
        transform: translate3d(0, 0.45rem, 0);
    }

    .js .featured-work--tray:not(.reduced-motion) .portfolio-showcase__controls {
        position: absolute;
        z-index: 10;
        inset: 0;
        pointer-events: none;
    }

    .js .featured-work--tray:not(.reduced-motion) .portfolio-showcase__arrow {
        top: 47%;
        min-width: clamp(3.25rem, 4vw, 4rem);
        min-height: clamp(3.25rem, 4vw, 4rem);
        color: #1a272a;
        background: rgba(255, 255, 255, 0.91);
        box-shadow: 0 1.1rem 2.8rem rgba(16, 25, 27, 0.14);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        pointer-events: auto;
    }

    .js .featured-work--tray:not(.reduced-motion) .portfolio-showcase__arrow--previous {
        right: auto;
        left: clamp(0.75rem, 1.5vw, 1.5rem);
    }

    .js .featured-work--tray:not(.reduced-motion) .portfolio-showcase__arrow--next {
        right: clamp(0.75rem, 1.5vw, 1.5rem);
        left: auto;
    }

    .studio-page--portfolio .featured-work__closing {
        background: #e9efee;
    }
}

@media (min-width: 900px) and (max-width: 1100px) and (min-height: 640px) {
    .js .featured-work--tray:not(.reduced-motion) {
        --portfolio-intro-width: clamp(9.5rem, 16vw, 10.5rem);
        --portfolio-side-step: 22vw;
        --portfolio-far-step: 32vw;
        --portfolio-entry-step: 48vw;
    }
}

@media (max-width: 899px), (max-height: 639px) {
    .studio-page--portfolio .work-section {
        color: #10191b;
        background:
            radial-gradient(circle at 75% 9%, rgba(174, 226, 236, 0.2), transparent 23rem),
            #f2f6f5;
    }

    .portfolio-showcase__sticky > .portfolio-showcase__eyebrow {
        position: relative;
        margin: 0 0 1.2rem;
        color: rgba(16, 25, 27, 0.48);
        font: 600 0.6rem/1.2 "IBM Plex Mono", monospace;
        letter-spacing: 0.16em;
        text-transform: uppercase;
    }

    .portfolio-showcase__intro {
        display: block;
    }

    .portfolio-showcase__intro h1 {
        display: grid;
        width: min-content;
        color: #0d1618;
        font-family: "Iowan Old Style", "Baskerville", "Times New Roman", serif;
        font-size: clamp(3.6rem, 16vw, 6rem);
        font-weight: 600;
        line-height: 0.8;
        letter-spacing: -0.075em;
        transform: none;
    }

    .portfolio-showcase__intro h1 span:last-child {
        padding-left: 0;
    }

    .portfolio-showcase__hint {
        max-width: 28ch;
        margin: 1.4rem 0 0;
        color: rgba(16, 25, 27, 0.62);
        font-size: 0.98rem;
        line-height: 1.5;
    }

    .portfolio-showcase__sticky > .portfolio-showcase__position {
        display: none;
    }

    .featured-work--tray .portfolio-card__copy {
        display: grid;
        align-items: start;
        gap: 1rem;
        padding-top: 0.85rem;
    }

    .featured-work--tray .portfolio-card__copy > div:first-child {
        display: grid;
        gap: 0.75rem;
    }

    .featured-work--tray .portfolio-card__project-meta {
        display: grid;
        gap: 0.25rem;
        padding: 0;
    }

    .featured-work--tray .portfolio-card__project-meta strong {
        color: #10191b;
        font-family: "Iowan Old Style", "Baskerville", "Times New Roman", serif;
        font-size: clamp(1.55rem, 7vw, 2.15rem);
        font-weight: 600;
        letter-spacing: -0.04em;
    }

    .featured-work--tray .portfolio-card__project-meta span {
        display: none;
    }

    .featured-work--tray .portfolio-card__description {
        display: block;
        margin: 0;
        color: rgba(16, 25, 27, 0.62);
        font-size: 0.88rem;
        line-height: 1.5;
    }

    .featured-work--tray .portfolio-card__highlights {
        display: flex;
        flex-wrap: wrap;
        gap: 0.4rem;
        margin: 0;
    }

    .featured-work--tray .portfolio-card__highlights li,
    .featured-work--tray .portfolio-card__highlights li:nth-child(2n) {
        width: auto;
        padding: 0.42rem 0.68rem;
        border: 0;
        border-radius: 999px;
        color: rgba(16, 25, 27, 0.62);
        background: rgba(16, 25, 27, 0.055);
        font: 500 0.68rem/1 "Inter Tight", sans-serif;
    }

    .featured-work--tray .portfolio-card__highlights li::before {
        display: none;
    }

    .featured-work--tray .portfolio-card__support {
        justify-self: start;
    }

    .featured-work--tray .portfolio-card__link {
        color: #172326;
        border-bottom: 1px solid rgba(16, 25, 27, 0.55);
    }
}

/* Project names lead the information area; categories are already in the feature tags. */
.studio-page--portfolio .featured-work--tray .portfolio-card__tab { display: none; }
.studio-page--portfolio .featured-work--tray .portfolio-card__project-meta { margin: 0; }

/* Feature labels stay legible in the stacked, reduced-motion and no-script views. */
.studio-page--portfolio .featured-work--tray .portfolio-card__highlights li,
.studio-page--portfolio .featured-work--tray .portfolio-card__highlights li:nth-child(2n) {
    border: 1px solid #afc7ca;
    border-radius: 5px;
    background: #e0ecec;
    color: #243e45;
    padding: 0.5rem 0.7rem;
    font: 600 0.8rem/1.35 "Inter Tight", sans-serif;
    text-transform: none;
    letter-spacing: 0;
}

@media (max-width: 899px), (max-height: 639px), (prefers-reduced-motion: reduce) {
    .studio-page--portfolio .featured-work--tray .portfolio-card[data-portfolio-slot] { opacity: 1; }
    .studio-page--portfolio .featured-work--tray .portfolio-card__preview { filter: none; }
}

/* Fade the screen artwork over its solid browser frame, so overlapping previews
   stay softly muted without showing another project's text through the frame. */
@media (min-width: 900px) and (min-height: 640px) {
    .js .featured-work--tray:not(.reduced-motion) .portfolio-screen--desktop img {
        transition: opacity 420ms ease;
    }
    .js .featured-work--tray:not(.reduced-motion) .portfolio-card[data-portfolio-slot="-1"] .portfolio-screen--desktop img,
    .js .featured-work--tray:not(.reduced-motion) .portfolio-card[data-portfolio-slot="1"] .portfolio-screen--desktop img {
        opacity: 0.82;
    }
    .js .featured-work--tray:not(.reduced-motion) .portfolio-card[data-portfolio-slot="-2"] .portfolio-screen--desktop img,
    .js .featured-work--tray:not(.reduced-motion) .portfolio-card[data-portfolio-slot="2"] .portfolio-screen--desktop img {
        opacity: 0.68;
    }
}

/* Current page context beside the brand; Home keeps the standalone wordmark. */
.wordmark-page { margin-left: .65rem; color: #c0d7df; font: 400 .78rem/1.4 "IBM Plex Mono", monospace; letter-spacing: 0; white-space: nowrap; }
@media (max-width: 740px) {
    .brand-nav .wordmark:has(.wordmark-page) { flex-wrap: wrap; column-gap: .18rem; row-gap: 0; }
    .brand-nav .wordmark-page { flex-basis: 100%; margin-left: 0; font-size: .62rem; line-height: 1.5; }
    .signin-layout .wordmark-page { margin-left: .35rem; font-size: .7rem; }
}

/* One measured camera move, followed by a matched dissolve into the interior. */
body.igloo-entering-contact .igloo-entry-transition {
    background: #102633;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    animation: igloo-cinematic-departure 1100ms linear both;
}
body.igloo-entering-contact .igloo-entry-transition__interior,
body.igloo-entering-contact .igloo-entry-transition::before,
body.igloo-entering-contact .igloo-entry-transition::after {
    display: none;
    animation: none;
}
body.igloo-entering-contact .igloo-entrance-link::before,
body.igloo-entering-contact .igloo-entrance-link::after { opacity: 0; animation: none; }
body.igloo-entrance-ready:not(.igloo-entrance-active):not(.igloo-entering-contact) .igloo-entrance-link:not(:hover):not(:focus-visible)::before { animation: none; opacity: .14; }
body.igloo-entrance-ready:not(.igloo-entrance-active):not(.igloo-entering-contact) .igloo-entrance-link:not(:hover):not(:focus-visible)::after { animation: none; opacity: .07; }
@keyframes igloo-cinematic-departure {
    0%, 35% { opacity: 0; }
    65% { opacity: .18; }
    85% { opacity: .7; }
    100% { opacity: 1; }
}
