:root {
    --blue: #007eff;
    --dark: #03070d;
    --text: #07111f;
    --muted: #4b5563;
    --surface: #ffffff;
    --soft-blue: #dff0ff;
    --soft-green: #e8f4e4;
    --green: #4f963f;
    --gold: #f0c765;
    --line: rgba(7, 17, 31, 0.12);
    --container: 1440px;
    --scene-container: 1680px;
    --section-edge: clamp(96px, 10vw, 192px);
    --header-height: 68px;
    --radius-xs: 10px;
    --radius-sm: 14px;
    --radius-md: 18px;
    --shadow-soft: 0 24px 54px rgba(7, 17, 31, 0.08);
    --shadow-hover: 0 32px 68px rgba(7, 17, 31, 0.12);
    --ease: cubic-bezier(0.16, 1, 0.3, 1);
    --section-pad: clamp(74px, 6.6vw, 112px);
    color-scheme: light;
    font-family: Inter, "SF Pro Display", Arial, sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
    width: 0;
    height: 0;
    display: none;
}

body {
    margin: 0;
    color: var(--text);
    background: var(--surface);
    font-family: Inter, "SF Pro Display", Arial, sans-serif;
    overflow-x: hidden;
}

body.nav-open {
    overflow: hidden;
}

body.modal-open {
    overflow: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

button {
    font: inherit;
}

.container {
    width: min(80vw, var(--container));
    margin: 0 auto;
    padding: 0;
}

.section {
    position: relative;
    min-height: 100svh;
    padding: var(--section-pad) 0;
    overflow: hidden;
}

.scene-dark {
    color: #fff;
    background: var(--dark);
}

.scroll-progress {
    position: fixed;
    inset: 0 auto auto 0;
    z-index: 120;
    width: var(--scroll-progress, 0%);
    height: 3px;
    background: var(--blue);
    box-shadow: 0 0 22px rgba(0, 126, 255, 0.7);
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    height: var(--header-height);
    padding: 0 clamp(12px, 2.4vw, 40px);
    color: #fff;
    background: linear-gradient(180deg, rgba(3, 7, 13, 0.64), rgba(3, 7, 13, 0.08));
    backdrop-filter: blur(16px);
    transition: background 240ms ease, border-color 240ms ease;
}

.site-header.is-scrolled {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(3, 7, 13, 0.74);
}

.brand {
    display: inline-flex;
    width: 30px;
    height: 30px;
}

.brand img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.site-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(24px, 4vw, 58px);
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
    text-transform: uppercase;
}

.site-nav a {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 10px;
    color: rgba(255, 255, 255, 0.8);
    border-radius: 999px;
    transition: color 180ms ease, background 180ms ease;
}

.site-nav a::after {
    content: "";
    position: absolute;
    left: 10px;
    right: 10px;
    bottom: 3px;
    height: 2px;
    border-radius: 999px;
    background: var(--blue);
    box-shadow: 0 0 16px rgba(0, 126, 255, 0.65);
    opacity: 0;
    transform: scaleX(0.28);
    transform-origin: center;
    transition: opacity 180ms ease, transform 220ms var(--ease);
}

.site-nav a:hover,
.site-nav a.is-active {
    color: #fff;
}

.site-nav a:hover {
    background: rgba(255, 255, 255, 0.06);
}

.site-nav a:focus-visible {
    outline: 2px solid rgba(0, 126, 255, 0.72);
    outline-offset: 3px;
}

.site-nav a.is-active {
    background: rgba(0, 126, 255, 0.14);
}

.site-nav a.is-active::after {
    opacity: 1;
    transform: scaleX(1);
}

.header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
}

.header-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    padding: 0 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-sm);
    color: #fff;
    background: rgba(0, 126, 255, 0.9);
    box-shadow: 0 12px 34px rgba(0, 126, 255, 0.32);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button,
.case-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 26px;
    border: 1px solid transparent;
    border-radius: var(--radius-md);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0;
    line-height: 1;
    text-transform: uppercase;
    white-space: nowrap;
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background 180ms ease, color 180ms ease;
}

.button:hover,
.case-button:hover,
.header-button:hover {
    transform: translateY(-2px);
}

.button-primary {
    color: #fff;
    background: var(--blue);
    border-color: rgba(0, 126, 255, 0.82);
    box-shadow: 0 18px 42px rgba(0, 126, 255, 0.32);
}

.button-primary:hover {
    box-shadow: 0 22px 52px rgba(0, 126, 255, 0.42);
}

.button-ghost {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.07);
}

.button-ghost:hover {
    border-color: rgba(255, 255, 255, 0.72);
    background: rgba(255, 255, 255, 0.1);
}

.button:focus-visible,
.case-button:focus-visible,
.header-button:focus-visible,
.nav-toggle:focus-visible {
    outline: 2px solid rgba(0, 126, 255, 0.72);
    outline-offset: 3px;
}

.nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.06);
}

.nav-toggle span {
    display: block;
    width: 16px;
    height: 2px;
    margin: 4px auto;
    background: #fff;
    transition: transform 180ms ease;
}

.hero {
    display: grid;
    align-items: center;
    padding-top: calc(var(--header-height) + clamp(48px, 6vw, 90px));
    isolation: isolate;
    min-height: 100svh;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        radial-gradient(680px 420px at 20% 50%, rgba(0, 126, 255, 0.34), transparent 72%),
        radial-gradient(520px 400px at 76% 38%, rgba(255, 255, 255, 0.18), transparent 68%),
        linear-gradient(90deg, rgba(3, 7, 13, 0.84) 0%, rgba(3, 7, 13, 0.52) 42%, rgba(3, 7, 13, 0.03) 68%, rgba(3, 7, 13, 0.34) 100%),
        linear-gradient(180deg, rgba(3, 7, 13, 0.36) 0%, transparent 42%, rgba(3, 7, 13, 0.7) 100%);
    pointer-events: none;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.hero-bg__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(1.28) contrast(1.05) saturate(1.1);
    opacity: 0;
    animation: heroTextureIn 900ms ease forwards;
}

.hero-bg__person {
    position: absolute;
    right: clamp(82px, 9vw, 168px);
    bottom: clamp(-56px, -3.2vw, -24px);
    width: clamp(750px, 59.32vw, 1029px);
    min-width: 0;
    opacity: 0;
    scale: 1.04;
    filter: brightness(1.16) contrast(1.03) drop-shadow(-30px 24px 42px rgba(0, 0, 0, 0.34));
    animation: heroPortraitIn 1180ms var(--ease) 200ms forwards;
}

.hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    width: calc(100vw - var(--section-edge));
    margin-right: 0;
    margin-left: var(--section-edge);
    grid-template-columns: minmax(360px, 860px) minmax(0, 1fr);
    align-items: center;
    min-height: calc(100svh - var(--header-height) - clamp(48px, 6vw, 90px));
}

.hero-copy {
    max-width: 860px;
}

.hero-copy.reveal {
    opacity: 1;
    transform: none;
}

.eyebrow {
    margin: 0 0 18px;
    color: var(--blue);
    font-size: clamp(12px, 1vw, 16px);
    font-weight: 900;
    line-height: 1.2;
    text-transform: uppercase;
}

.hero h1 {
    margin: 0;
    font-size: clamp(46px, 4.9vw, 78px);
    font-weight: 950;
    line-height: 1.06;
    letter-spacing: 0;
}

.hero h1 span {
    display: block;
    white-space: nowrap;
}

.hero h1 em {
    color: var(--blue);
    font-style: normal;
    text-shadow: 0 0 34px rgba(0, 126, 255, 0.45);
}

.hero-lead {
    max-width: 860px;
    margin: 28px 0 0;
    color: rgba(255, 255, 255, 0.91);
    font-size: clamp(20px, 1.55vw, 25px);
    font-weight: 350;
    line-height: 1.38;
}

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 42px;
}

.hero .eyebrow,
.hero h1 span,
.hero-lead,
.hero .actions .button {
    opacity: 0;
    animation: heroItemIn 720ms var(--ease) forwards;
}

.hero .eyebrow {
    translate: 0 -16px;
    animation-delay: 150ms;
}

.hero h1 span {
    translate: 0 24px;
    overflow: visible;
}

.hero h1 span:first-child {
    animation-delay: 250ms;
}

.hero h1 span:nth-child(2) {
    animation-delay: 380ms;
}

.hero h1 span:nth-child(3) {
    animation-delay: 320ms;
}

.hero h1 span:nth-child(4) {
    animation-delay: 390ms;
}

.hero h1 span:nth-child(5) {
    animation-delay: 460ms;
}

.hero h1 em {
    animation: impactGlowIn 980ms ease 560ms both;
}

.hero-lead {
    translate: 0 20px;
    animation-delay: 520ms;
}

.hero .actions .button {
    translate: 0 18px;
    animation-delay: 650ms;
}

.hero .actions .button:nth-child(2) {
    animation-delay: 730ms;
}

@keyframes heroTextureIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes heroPortraitIn {
    from {
        opacity: 0;
        scale: 1.04;
        filter: brightness(1.08) contrast(1.01) drop-shadow(-24px 20px 36px rgba(0, 0, 0, 0.24));
    }

    to {
        opacity: 1;
        scale: 1;
        filter: brightness(1.16) contrast(1.03) drop-shadow(-30px 24px 42px rgba(0, 0, 0, 0.34));
    }
}

@keyframes heroItemIn {
    to {
        opacity: 1;
        translate: 0 0;
    }
}

@keyframes impactGlowIn {
    0% {
        color: rgba(255, 255, 255, 0.88);
        text-shadow: 0 0 0 rgba(0, 126, 255, 0);
    }

    100% {
        color: var(--blue);
        text-shadow: 0 0 34px rgba(0, 126, 255, 0.45);
    }
}

.intro-section {
    min-height: auto;
    padding: clamp(78px, 8vw, 132px) 0;
    background:
        radial-gradient(620px 320px at 84% 12%, rgba(0, 126, 255, 0.12), transparent 72%),
        linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
}

.intro-layout {
    display: grid;
    width: calc(100vw - var(--section-edge) - var(--section-edge));
    margin-right: var(--section-edge);
    margin-left: var(--section-edge);
    grid-template-columns: minmax(320px, 0.95fr) minmax(360px, 0.65fr);
    align-items: end;
    gap: clamp(40px, 7vw, 120px);
}

.intro-copy h2 {
    max-width: 820px;
    margin: 0;
    font-size: clamp(42px, 5vw, 76px);
    font-weight: 920;
    line-height: 0.98;
    letter-spacing: 0;
}

.intro-panel {
    padding: clamp(24px, 3vw, 38px);
    border: 1px solid rgba(7, 17, 31, 0.08);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.72);
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(14px);
}

.intro-panel p {
    margin: 0;
    color: #334155;
    font-size: clamp(17px, 1.35vw, 21px);
    line-height: 1.45;
}

.intro-links {
    display: grid;
    gap: 10px;
    margin-top: 28px;
}

.intro-links a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 46px;
    padding: 0 16px;
    border: 1px solid rgba(7, 17, 31, 0.08);
    border-radius: var(--radius-md);
    color: var(--text);
    background: rgba(255, 255, 255, 0.78);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.intro-links a::after {
    content: "View";
    color: var(--blue);
    font-size: 11px;
    transition: color 180ms ease, transform 180ms var(--ease);
}

.intro-links a:hover {
    transform: translateY(-2px);
    border-color: rgba(0, 126, 255, 0.28);
    background: #fff;
    box-shadow: var(--shadow-soft);
}

.intro-links a:hover::after {
    transform: translateX(6px);
}

.project-section {
    display: grid;
    align-items: center;
}

.project-section::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.project-grid {
    position: relative;
    z-index: 2;
    display: grid;
    width: calc(100vw - var(--section-edge));
    max-width: none;
    margin-right: 0;
    margin-left: var(--section-edge);
    padding-right: 0;
    padding-left: 0;
    grid-template-columns: minmax(360px, 0.34fr) minmax(0, 0.66fr);
    align-items: center;
    gap: clamp(30px, 3.6vw, 72px);
}

.project-grid--reverse {
    grid-template-columns: minmax(0, 0.64fr) minmax(360px, 0.36fr);
}

.project-copy {
    position: relative;
    z-index: 8;
    display: grid;
    justify-items: start;
    max-width: 520px;
    padding: clamp(0px, 1vw, 12px) 0;
}

.project-copy--right {
    justify-self: end;
    justify-items: end;
    text-align: right;
}

.project-copy h2 {
    margin: 0;
    font-size: clamp(46px, 4.75vw, 78px);
    font-weight: 900;
    line-height: 1;
    letter-spacing: 0;
}

.project-copy p:not(.eyebrow) {
    margin: 36px 0 0;
    color: #334155;
    font-size: clamp(19px, 1.55vw, 25px);
    line-height: 1.32;
}

.project-matcha .project-copy {
    max-width: 610px;
}

.project-matcha .project-copy p:not(.eyebrow) {
    max-width: 590px;
}

.project-eafc .project-copy {
    max-width: 660px;
}

.project-eafc .project-copy p:not(.eyebrow) {
    max-width: 660px;
    font-size: clamp(18px, 1.35vw, 22px);
}

.project-copy--dark p:not(.eyebrow) {
    color: rgba(255, 255, 255, 0.86);
}

.tag-row {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 38px;
}

.project-copy--right .tag-row {
    justify-content: flex-end;
}

.tag-row span {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 18px;
    border: 1px solid rgba(47, 107, 37, 0.16);
    border-radius: var(--radius-xs);
    color: #2f6b25;
    background: var(--soft-green);
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
}

.tag-row--blue span {
    color: #005fc4;
    border-color: rgba(0, 95, 196, 0.18);
    background: rgba(0, 126, 255, 0.16);
}

.tag-row--gold span {
    color: #ffe0a3;
    border-color: rgba(255, 224, 163, 0.22);
    background: rgba(240, 199, 101, 0.16);
}

.case-button {
    width: var(--case-button-width, 100%);
    min-width: 0;
    min-height: 56px;
    margin-top: 18px;
    color: #4b913b;
    border-color: currentColor;
    background: rgba(119, 188, 102, 0.03);
}

.case-button:hover {
    background: rgba(119, 188, 102, 0.08);
    box-shadow: 0 18px 40px rgba(119, 188, 102, 0.16);
}

.case-button--blue {
    color: #006fe0;
    border-color: rgba(0, 126, 255, 0.55);
    background: rgba(0, 126, 255, 0.05);
}

.case-button--blue:hover {
    background: rgba(0, 126, 255, 0.1);
    box-shadow: 0 18px 40px rgba(0, 126, 255, 0.18);
}

.case-button--gold {
    color: #ffe0a3;
    border-color: rgba(255, 224, 163, 0.6);
    background: rgba(240, 199, 101, 0.1);
}

.case-button--gold:hover {
    background: rgba(240, 199, 101, 0.13);
    box-shadow: 0 18px 40px rgba(240, 199, 101, 0.16);
}

.project-visual {
    position: relative;
    z-index: 1;
    min-height: clamp(680px, 64vw, 1040px);
}

.project-matcha {
    --matcha-accent: var(--green);
    --matcha-accent-rgb: 79, 150, 63;
    --matcha-glow-x: 68%;
    --matcha-glow-y: 44%;
    background:
        radial-gradient(900px 560px at 78% 45%, rgba(var(--matcha-accent-rgb), 0.18), transparent 68%),
        radial-gradient(540px 320px at 28% 26%, rgba(255, 255, 255, 0.9), transparent 70%),
        linear-gradient(180deg, #ffffff 0%, #fbfefa 50%, #f3fbef 100%);
    transition: background 520ms var(--ease);
}

.project-matcha::before {
    background:
        linear-gradient(180deg, rgba(3, 7, 13, 0.035), transparent 13%, transparent 84%, rgba(0, 126, 255, 0.06));
}

.project-matcha::after {
    content: "";
    position: absolute;
    left: var(--matcha-glow-x);
    top: var(--matcha-glow-y);
    z-index: 1;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    pointer-events: none;
    opacity: 0;
    background: rgba(var(--matcha-accent-rgb), 0.22);
    box-shadow: 0 0 0 0 rgba(var(--matcha-accent-rgb), 0.22);
    transform: translate(-50%, -50%) scale(1);
}

.project-matcha.is-wave-active::after {
    animation: matcha-wave 820ms var(--ease);
}

.project-matcha[data-matcha-variant="yuzu"] {
    --matcha-accent: #9f8700;
    --matcha-accent-rgb: 159, 135, 0;
}

.project-matcha[data-matcha-variant="pink"] {
    --matcha-accent: #d82f8a;
    --matcha-accent-rgb: 216, 47, 138;
}

.project-matcha[data-matcha-variant="blue"] {
    --matcha-accent: #2b579f;
    --matcha-accent-rgb: 43, 87, 159;
}

.project-matcha .eyebrow,
.project-matcha .project-copy h2,
.project-matcha .case-button {
    color: var(--matcha-accent);
    transition: color 420ms var(--ease), border-color 420ms var(--ease), background 420ms var(--ease);
}

.project-matcha .tag-row span {
    color: var(--matcha-accent);
    border-color: rgba(var(--matcha-accent-rgb), 0.2);
    background: rgba(var(--matcha-accent-rgb), 0.16);
    transition: color 420ms var(--ease), border-color 420ms var(--ease), background 420ms var(--ease);
}

.project-matcha .case-button {
    border-color: var(--matcha-accent);
    background: rgba(var(--matcha-accent-rgb), 0.04);
}

@keyframes matcha-wave {
    0% {
        opacity: 0.36;
        box-shadow: 0 0 0 0 rgba(var(--matcha-accent-rgb), 0.2);
        transform: translate(-50%, -50%) scale(1);
    }

    100% {
        opacity: 0;
        box-shadow: 0 0 0 480px rgba(var(--matcha-accent-rgb), 0);
        transform: translate(-50%, -50%) scale(28);
    }
}

.matcha-visual {
    width: min(130%, 1280px);
    aspect-ratio: 962 / 545;
    min-height: 0;
    justify-self: end;
    margin-left: clamp(28px, 5vw, 90px);
    overflow: visible;
}

.matcha-word,
.matcha-podium,
.matcha-can,
.matcha-fruit {
    position: absolute;
    user-select: none;
}

.matcha-word {
    left: 0;
    top: 0;
    z-index: 0;
    width: 100%;
    max-width: none;
    opacity: 0;
    filter: drop-shadow(0 24px 40px rgba(44, 88, 32, 0.1));
    transition: opacity 520ms var(--ease), transform 720ms var(--ease);
}

.matcha-word--green {
    opacity: 0.9;
}

.project-matcha[data-matcha-variant="yuzu"] .matcha-word--green,
.project-matcha[data-matcha-variant="pink"] .matcha-word--green,
.project-matcha[data-matcha-variant="blue"] .matcha-word--green {
    opacity: 0;
}

.project-matcha[data-matcha-variant="yuzu"] .matcha-word--yuzu,
.project-matcha[data-matcha-variant="pink"] .matcha-word--pink,
.project-matcha[data-matcha-variant="blue"] .matcha-word--blue {
    opacity: 0.9;
}

.matcha-podium {
    left: 19.3%;
    top: 55.6%;
    z-index: 1;
    width: 59.3%;
    filter: drop-shadow(0 30px 42px rgba(7, 17, 31, 0.18));
}

.matcha-can {
    z-index: 5;
    width: 17.05%;
    filter: drop-shadow(0 28px 32px rgba(7, 17, 31, 0.2));
    transition: transform 260ms var(--ease);
    cursor: pointer;
}

.matcha-can:hover {
    transform: translateY(-8px) rotate(1deg);
}

.matcha-can--yuzu:hover {
    transform: translateY(-8px) rotate(-3.5deg);
}

.matcha-can.is-idle-shaking {
    animation: matcha-can-shake 900ms var(--ease);
}

@keyframes matcha-can-shake {
    0%,
    100% {
        transform: translate3d(0, var(--parallax-y, 0px), 0) scale(var(--parallax-scale, 1)) rotate(0deg);
    }

    18% {
        transform: translate3d(0, calc(var(--parallax-y, 0px) - 4px), 0) scale(var(--parallax-scale, 1)) rotate(-1.6deg);
    }

    38% {
        transform: translate3d(0, calc(var(--parallax-y, 0px) + 2px), 0) scale(var(--parallax-scale, 1)) rotate(1.4deg);
    }

    58% {
        transform: translate3d(0, calc(var(--parallax-y, 0px) - 2px), 0) scale(var(--parallax-scale, 1)) rotate(-0.8deg);
    }

    78% {
        transform: translate3d(0, var(--parallax-y, 0px), 0) scale(var(--parallax-scale, 1)) rotate(0.45deg);
    }
}

.matcha-can--pink {
    left: 41.7%;
    top: 5%;
    z-index: 6;
    width: 15.8%;
}

.matcha-can--yuzu {
    left: 27.1%;
    top: 21.1%;
    z-index: 7;
}

.matcha-can--blue {
    left: 57.8%;
    top: 12.8%;
    z-index: 6;
    width: 16.9%;
}

.matcha-fruit--lemons {
    left: 15.5%;
    top: 52.5%;
    z-index: 9;
    width: 22.8%;
}

.matcha-fruit--dragon {
    left: 43.8%;
    top: 30.5%;
    z-index: 9;
    width: 14.6%;
}

.matcha-fruit--lavender {
    left: 62.9%;
    top: 52.1%;
    z-index: 9;
    width: 29.5%;
}

.matcha-label-preview {
    position: fixed;
    left: var(--label-x, 50vw);
    top: var(--label-y, 50vh);
    z-index: 12;
    display: grid;
    grid-template-columns: auto 62px;
    align-items: center;
    gap: 12px;
    min-height: 56px;
    padding: 8px 10px 8px 16px;
    border: 1px solid rgba(var(--matcha-accent-rgb), 0.24);
    border-radius: var(--radius-md);
    color: var(--matcha-accent);
    background: rgba(255, 255, 255, 0.78);
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(12px);
    opacity: 0;
    pointer-events: none;
    transform: scale(0.94);
    transform-origin: left top;
    transition: opacity 160ms ease, transform 180ms ease, left 90ms linear, top 90ms linear, border-color 180ms ease, box-shadow 180ms ease, color 420ms var(--ease);
}

.matcha-label-preview.is-visible {
    opacity: 1;
    transform: scale(1);
    border-color: rgba(var(--matcha-accent-rgb), 0.42);
    box-shadow: var(--shadow-hover);
}

.matcha-label-preview span {
    font-size: 11px;
    font-weight: 900;
    line-height: 1;
    text-transform: uppercase;
    white-space: nowrap;
}

.matcha-label-preview img {
    width: 62px;
    max-height: 42px;
    object-fit: contain;
    filter: drop-shadow(0 8px 12px rgba(7, 17, 31, 0.18));
}

.project-eafc {
    background:
        radial-gradient(900px 560px at 32% 44%, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0) 70%),
        radial-gradient(620px 360px at 78% 20%, rgba(255, 255, 255, 0.72), transparent 72%),
        linear-gradient(180deg, #ffffff 0%, #f3faff 38%, #e5f4ff 100%);
}

.project-eafc::before {
    background:
        radial-gradient(720px 420px at 25% 55%, rgba(0, 126, 255, 0.12), transparent 68%),
        linear-gradient(180deg, rgba(0, 126, 255, 0.01), rgba(0, 126, 255, 0.1));
}

.project-matcha .project-grid {
    width: calc(100vw - var(--section-edge));
    padding-right: 0;
    padding-left: 0;
    grid-template-columns: minmax(430px, 31vw) minmax(0, 1fr);
    gap: clamp(28px, 3vw, 64px);
}

.project-matcha .matcha-visual {
    width: min(130%, 1664px);
    max-width: calc(100vw - var(--section-edge) - 430px - clamp(28px, 3vw, 64px));
    margin-right: 0;
    margin-left: 0;
    justify-self: end;
}

.project-eafc .project-grid {
    width: calc(100vw - var(--section-edge));
    margin-right: var(--section-edge);
    margin-left: 0;
    padding-right: 0;
    padding-left: 0;
    grid-template-columns: minmax(0, 1fr) minmax(520px, 34vw);
    gap: clamp(28px, 3vw, 64px);
}

.eafc-visual {
    display: block;
    width: min(150%, 1392px);
    min-height: 0;
    aspect-ratio: 877 / 385;
    margin-left: clamp(72px, 9vw, 156px);
    perspective: 1200px;
    overflow: visible;
    transition: transform 360ms var(--ease);
}

.eafc-visual.is-visible:hover {
    transform: translateY(-16px);
}

.eafc-visual img {
    position: absolute;
    z-index: 2;
    width: auto;
    margin: 0;
    filter: drop-shadow(0 28px 36px rgba(7, 17, 31, 0.14));
    opacity: 0;
    translate: -34px 0;
    scale: 0.96;
    transition: transform 360ms var(--ease), opacity 620ms ease, translate 720ms var(--ease), scale 720ms var(--ease), filter 360ms ease;
}

.eafc-visual.is-visible img {
    opacity: 1;
    translate: 0 0;
    scale: 1;
}

.eafc-visual.is-visible img:nth-child(1) {
    transition-delay: 80ms;
}

.eafc-visual.is-visible img:nth-child(2) {
    transition-delay: 160ms;
}

.eafc-visual.is-visible img:nth-child(3) {
    scale: 1.02;
    transition-delay: 240ms;
}

.eafc-visual.is-visible img:nth-child(4) {
    transition-delay: 320ms;
}

.eafc-visual.is-visible img:nth-child(5) {
    transition-delay: 400ms;
}

.eafc-visual.is-visible:hover img {
    transition-delay: 0ms;
}

.eafc-visual img:nth-child(1) {
    left: 0.3%;
    top: 25.7%;
    width: 13.9%;
    transform: translateY(0) rotate(-1.5deg);
}

.eafc-visual img:nth-child(2) {
    left: 17.3%;
    top: 16.5%;
    width: 17.1%;
    transform: translateY(0) rotate(-0.7deg);
}

.eafc-visual img:nth-child(3) {
    left: 36.8%;
    top: 0;
    width: 26.3%;
    transform: translateY(-4%) scale(1.02);
}

.eafc-visual img:nth-child(4) {
    left: 65.8%;
    top: 14.5%;
    width: 16.5%;
    transform: translateY(0) rotate(0.7deg);
}

.eafc-visual img:nth-child(5) {
    left: 85.7%;
    top: 21.3%;
    width: 13.8%;
    transform: translateY(0) rotate(1.4deg);
}

.eafc-visual:hover img:nth-child(1) {
    filter: drop-shadow(0 34px 42px rgba(0, 126, 255, 0.18));
}

.eafc-visual:hover img:nth-child(2) {
    filter: drop-shadow(0 34px 42px rgba(0, 126, 255, 0.2));
}

.eafc-visual:hover img:nth-child(3) {
    filter: drop-shadow(0 38px 48px rgba(0, 126, 255, 0.24));
}

.eafc-visual:hover img:nth-child(4) {
    filter: drop-shadow(0 34px 42px rgba(0, 126, 255, 0.2));
}

.eafc-visual:hover img:nth-child(5) {
    filter: drop-shadow(0 34px 42px rgba(0, 126, 255, 0.18));
}

.project-eafc {
    overflow: hidden;
}

.project-eafc::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    z-index: 1;
    height: clamp(120px, 13vw, 220px);
    background:
        radial-gradient(680px 220px at 58% 100%, rgba(70, 52, 135, 0.2), transparent 72%),
        linear-gradient(180deg, rgba(229, 244, 255, 0), rgba(177, 198, 230, 0.58) 36%, rgba(52, 48, 96, 0.9) 78%, #090615 100%);
    pointer-events: none;
}

.cosmic-transition {
    position: relative;
    height: clamp(76px, 8vw, 132px);
    margin-top: -1px;
    margin-bottom: -1px;
    background:
        radial-gradient(560px 160px at 70% 20%, rgba(0, 126, 255, 0.12), transparent 74%),
        radial-gradient(420px 130px at 25% 82%, rgba(240, 199, 101, 0.08), transparent 72%),
        linear-gradient(180deg, #090615 0%, #080513 100%);
    overflow: hidden;
}

.cosmic-transition span {
    display: block;
    width: 100%;
    height: 100%;
    opacity: 0.42;
    background:
        radial-gradient(520px 140px at 50% 100%, rgba(88, 36, 166, 0.2), transparent 72%),
        linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.04), transparent);
    background-size: 120% 120%;
    animation: separatorDrift 8s ease-in-out infinite alternate;
}

.project-cosmic {
    isolation: isolate;
    margin-top: -1px;
    background: #080513;
}

.project-cosmic::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    z-index: 3;
    height: clamp(72px, 8vw, 132px);
    background: linear-gradient(180deg, #080513, rgba(8, 5, 19, 0));
    pointer-events: none;
}

.project-cosmic::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        radial-gradient(760px 520px at 68% 36%, rgba(180, 111, 255, 0.2), transparent 70%),
        radial-gradient(560px 360px at 36% 20%, rgba(255, 255, 255, 0.12), transparent 72%),
        linear-gradient(90deg, rgba(3, 7, 13, 0.78), rgba(3, 7, 13, 0.32) 52%, rgba(3, 7, 13, 0.78)),
        linear-gradient(180deg, rgba(3, 7, 13, 0.42), rgba(3, 7, 13, 0.08) 42%, rgba(3, 7, 13, 0.84));
    pointer-events: none;
    animation: cosmicAmbient 12s ease-in-out infinite alternate;
}

.cosmic-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.cosmic-bg__sky {
    --parallax-scale: 1.05;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(1.18) contrast(1.06) brightness(1.08);
    animation: cosmicSkyBreath 18s ease-in-out infinite alternate;
}

.cosmic-bg__rocks {
    position: absolute;
    left: 50%;
    bottom: 0;
    z-index: 2;
    width: 100vw;
    min-width: 1440px;
    height: auto;
    max-width: none;
    opacity: 0.62;
    pointer-events: none;
    transform: translateX(-50%);
}

.cosmic-grid {
    position: relative;
    z-index: 2;
    width: min(100vw, var(--scene-container));
    margin-right: auto;
    margin-left: auto;
    padding-right: clamp(8px, 1.8vw, 32px);
    padding-left: clamp(8px, 1.8vw, 32px);
    grid-template-columns: minmax(460px, 0.42fr) minmax(0, 0.58fr);
    gap: clamp(36px, 4vw, 84px);
}

.project-copy--dark {
    color: #fff;
    max-width: 700px;
    padding: clamp(28px, 4vw, 52px);
    border: 1px solid rgba(240, 199, 101, 0.18);
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.04));
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08), 0 30px 70px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
}

.project-copy--dark.reveal {
    filter: blur(8px);
    transform: translateX(-34px);
}

.project-copy--dark.reveal.is-visible {
    filter: blur(0);
    transform: translateX(0);
}

.project-copy--dark .tag-row {
    flex-wrap: nowrap;
}

.project-copy--dark .tag-row span {
    padding-right: 15px;
    padding-left: 15px;
    white-space: nowrap;
}

.zg-visual {
    display: grid;
    place-items: center;
    min-height: clamp(620px, 50vw, 820px);
}

.zg-visual.reveal {
    transform: translateX(38px);
}

.zg-visual.reveal.is-visible {
    transform: translateX(0);
}

.zg-visual::after {
    content: "";
    position: absolute;
    inset: 11% 12%;
    z-index: 2;
    border-radius: var(--radius-sm);
    pointer-events: none;
    background: linear-gradient(110deg, transparent 28%, rgba(255, 224, 163, 0.32) 46%, transparent 62%);
    opacity: 0;
    transform: translateX(-48%);
}

.zg-visual.is-visible::after {
    animation: frameShine 1150ms ease 520ms both;
}

.zg-art {
    position: relative;
    z-index: 1;
    width: min(92%, 760px);
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: var(--radius-sm);
    box-shadow: 0 38px 74px rgba(0, 0, 0, 0.36), 0 0 0 1px rgba(240, 199, 101, 0.18), 0 0 38px rgba(240, 199, 101, 0.08);
    transition: transform 420ms var(--ease), box-shadow 420ms ease, filter 420ms ease;
    will-change: transform;
}

.zg-visual:hover .zg-art {
    transform: translateY(-14px) scale(1.025);
    filter: saturate(1.08) brightness(1.04);
    box-shadow:
        0 48px 92px rgba(0, 0, 0, 0.42),
        0 0 0 1px rgba(255, 224, 163, 0.42),
        0 0 54px rgba(240, 199, 101, 0.22),
        0 0 120px rgba(116, 60, 180, 0.18);
}

.zg-visual:hover::after {
    animation: frameShine 980ms ease both;
}

.case-study-section {
    --case-accent: var(--green);
    --case-accent-rgb: 79, 150, 63;
    min-height: auto;
    isolation: isolate;
    background:
        linear-gradient(115deg, rgba(var(--case-accent-rgb), 0.12), transparent 36%),
        linear-gradient(180deg, #f8fbff 0%, #ffffff 54%, #f4f7f2 100%);
    transition: background 460ms var(--ease);
}

.case-study-section[data-active-case="eafc"] {
    --case-accent: var(--blue);
    --case-accent-rgb: 0, 126, 255;
}

.case-study-section[data-active-case="zg"] {
    --case-accent: var(--gold);
    --case-accent-rgb: 240, 199, 101;
}

.case-study-backdrop {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.case-study-backdrop::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(7, 17, 31, 0.055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(7, 17, 31, 0.055) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: linear-gradient(90deg, transparent, #000 16%, #000 84%, transparent);
    opacity: 0.36;
}

.case-study-backdrop span {
    position: absolute;
    display: block;
    border: 1px solid rgba(var(--case-accent-rgb), 0.18);
    border-radius: var(--radius-sm);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.34), rgba(var(--case-accent-rgb), 0.08));
    box-shadow: 0 24px 70px rgba(7, 17, 31, 0.06);
    transform: rotate(-8deg);
    animation: casePlateFloat 12s ease-in-out infinite alternate;
}

.case-study-backdrop span:nth-child(1) {
    right: 4vw;
    top: 10%;
    width: min(22vw, 310px);
    height: min(14vw, 190px);
}

.case-study-backdrop span:nth-child(2) {
    left: 6vw;
    bottom: 14%;
    width: min(24vw, 360px);
    height: min(16vw, 220px);
    animation-delay: -4s;
    transform: rotate(7deg);
}

.case-study-backdrop span:nth-child(3) {
    right: 28vw;
    bottom: 5%;
    width: min(16vw, 220px);
    height: min(10vw, 140px);
    animation-delay: -7s;
    transform: rotate(12deg);
}

.case-study-layout {
    position: relative;
    z-index: 1;
    display: grid;
    width: calc(100vw - var(--section-edge) - var(--section-edge));
    margin-right: var(--section-edge);
    margin-left: var(--section-edge);
    grid-template-columns: minmax(300px, 0.42fr) minmax(620px, 0.58fr);
    align-items: start;
    gap: clamp(36px, 5.2vw, 90px);
}

.case-study-heading {
    position: sticky;
    top: calc(var(--header-height) + 28px);
}

.case-study-heading h2 {
    max-width: 640px;
    margin: 0;
    font-size: clamp(34px, 4vw, 58px);
    line-height: 0.98;
    letter-spacing: 0;
}

.case-study-heading p:not(.eyebrow) {
    max-width: 560px;
    margin: 28px 0 0;
    color: var(--muted);
    font-size: clamp(17px, 1.2vw, 20px);
    line-height: 1.48;
}

.case-proof-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 32px;
}

.case-proof-row span {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 14px;
    border: 1px solid rgba(var(--case-accent-rgb), 0.2);
    border-radius: var(--radius-xs);
    color: #1f2937;
    background: rgba(255, 255, 255, 0.72);
    box-shadow: 0 14px 34px rgba(7, 17, 31, 0.06);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    transition: border-color 260ms ease, color 260ms ease, background 260ms ease;
}

.case-study-shell {
    display: grid;
    gap: 18px;
    perspective: 1400px;
}

.case-stage-bar {
    position: relative;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 18px;
    min-height: 60px;
    padding: 12px 16px;
    border: 1px solid rgba(var(--case-accent-rgb), 0.22);
    border-radius: var(--radius-sm);
    color: var(--text);
    background: rgba(255, 255, 255, 0.76);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    transition: border-color 260ms ease, box-shadow 260ms ease;
}

.case-stage-bar::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 42%;
    background: linear-gradient(90deg, rgba(var(--case-accent-rgb), 0.18), transparent);
    transform: translateX(-72%);
    animation: caseStageSweep 3.8s ease-in-out infinite;
}

.case-stage-bar span,
.case-stage-bar strong {
    position: relative;
    z-index: 1;
}

.case-stage-bar span {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 12px;
    border-radius: var(--radius-xs);
    color: #fff;
    background: var(--case-accent);
    font-size: 11px;
    font-weight: 950;
    text-transform: uppercase;
}

.case-stage-bar strong {
    font-size: clamp(15px, 1.3vw, 20px);
    line-height: 1.18;
}

.case-tabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.case-tab {
    position: relative;
    display: grid;
    align-content: center;
    justify-items: start;
    min-height: 72px;
    padding: 14px 16px;
    border: 1px solid rgba(7, 17, 31, 0.1);
    border-radius: var(--radius-sm);
    color: #334155;
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 18px 42px rgba(7, 17, 31, 0.06);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0;
    line-height: 1.08;
    text-align: left;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background 180ms ease, color 180ms ease;
    overflow: hidden;
}

.case-tab::after {
    content: "";
    position: absolute;
    inset: auto 12px 10px;
    height: 3px;
    border-radius: 999px;
    background: var(--case-accent);
    opacity: 0;
    transform: scaleX(0.28);
    transform-origin: left center;
    transition: opacity 180ms ease, transform 220ms var(--ease);
}

.case-tab span {
    margin-bottom: 8px;
    color: var(--blue);
    font-size: 11px;
}

.case-tab:hover,
.case-tab.is-active {
    transform: translateY(-2px);
    border-color: rgba(var(--case-accent-rgb), 0.28);
    color: var(--text);
    background: #fff;
    box-shadow: 0 24px 58px rgba(var(--case-accent-rgb), 0.14), var(--shadow-soft);
}

.case-tab.is-active::after {
    opacity: 1;
    transform: scaleX(1);
}

.case-tab:focus-visible {
    outline: 2px solid rgba(0, 126, 255, 0.72);
    outline-offset: 3px;
}

.case-panel {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.7fr);
    gap: clamp(20px, 2.4vw, 34px);
    padding: clamp(24px, 3vw, 42px);
    border: 1px solid rgba(7, 17, 31, 0.08);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    transform-style: preserve-3d;
    animation: casePanelIn 460ms var(--ease) both;
}

.case-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background:
        linear-gradient(125deg, rgba(var(--case-accent-rgb), 0.16), transparent 30%),
        linear-gradient(315deg, rgba(255, 255, 255, 0.8), transparent 42%);
    opacity: 0.72;
    pointer-events: none;
}

.case-panel[hidden] {
    display: none;
}

.case-panel-copy {
    position: relative;
    z-index: 2;
    align-self: start;
}

.case-panel-copy h3 {
    margin: 0;
    font-size: clamp(34px, 4.2vw, 62px);
    line-height: 0.98;
    letter-spacing: 0;
}

.case-panel-copy p:not(.eyebrow) {
    margin: 24px 0 0;
    color: #334155;
    font-size: clamp(17px, 1.22vw, 20px);
    line-height: 1.5;
}

.case-meta {
    display: grid;
    gap: 10px;
    margin-top: 28px;
}

.case-meta span {
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 12px;
    padding: 12px 0;
    border-top: 1px solid rgba(7, 17, 31, 0.08);
    color: #475569;
    font-size: 14px;
    line-height: 1.36;
}

.case-meta strong {
    color: var(--text);
    font-size: 11px;
    text-transform: uppercase;
}

.case-panel-visual {
    position: relative;
    z-index: 2;
    display: grid;
    min-height: 410px;
    place-items: center;
    border-radius: var(--radius-sm);
    background:
        linear-gradient(145deg, rgba(var(--case-accent-rgb), 0.13), rgba(240, 199, 101, 0.1)),
        linear-gradient(180deg, rgba(255, 255, 255, 0.68), rgba(255, 255, 255, 0.2));
    box-shadow: inset 0 0 0 1px rgba(var(--case-accent-rgb), 0.16);
    overflow: hidden;
}

.case-panel-visual::before {
    content: "";
    position: absolute;
    inset: 9%;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: var(--radius-sm);
    transform: perspective(900px) rotateX(62deg) rotateZ(-8deg);
    transform-origin: center;
}

.case-visual-grid {
    position: absolute;
    inset: 0;
    opacity: 0.32;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.72) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.72) 1px, transparent 1px);
    background-size: 38px 38px;
    transform: perspective(900px) rotateX(58deg) translateY(20%);
    transform-origin: bottom center;
}

.case-panel-visual img {
    position: absolute;
    width: auto;
    max-width: none;
    filter: drop-shadow(0 24px 34px rgba(7, 17, 31, 0.18));
    transition: transform 360ms var(--ease), filter 280ms ease;
    animation: caseAssetFloat 5.4s ease-in-out infinite alternate;
}

.case-panel-visual img:nth-of-type(2) {
    animation-delay: -1.8s;
}

.case-panel-visual img:nth-of-type(3) {
    animation-delay: -3.2s;
}

.case-panel:hover .case-panel-visual img {
    filter: drop-shadow(0 30px 42px rgba(7, 17, 31, 0.22));
}

.case-visual-caption {
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 14px;
    border: 1px solid rgba(255, 255, 255, 0.52);
    border-radius: var(--radius-xs);
    color: #fff;
    background: rgba(7, 17, 31, 0.58);
    backdrop-filter: blur(10px);
    font-size: 11px;
    font-weight: 950;
    text-align: center;
    text-transform: uppercase;
}

.case-panel-visual--matcha img:nth-of-type(1) {
    left: 16%;
    top: 10%;
    height: 72%;
    transform: rotate(-6deg);
}

.case-panel-visual--matcha img:nth-of-type(2) {
    right: 18%;
    top: 4%;
    height: 76%;
    transform: rotate(5deg);
}

.case-panel-visual--matcha img:nth-of-type(3) {
    left: 18%;
    right: 18%;
    bottom: 12%;
    width: 64%;
    margin: auto;
}

.case-panel-visual--eafc img:nth-of-type(1) {
    left: 6%;
    top: 24%;
    height: 56%;
    transform: rotate(-7deg);
}

.case-panel-visual--eafc img:nth-of-type(2) {
    left: 34%;
    top: 8%;
    z-index: 2;
    height: 78%;
}

.case-panel-visual--eafc img:nth-of-type(3) {
    right: 6%;
    top: 22%;
    height: 58%;
    transform: rotate(7deg);
}

.case-panel-visual--zg {
    background:
        radial-gradient(320px 190px at 52% 38%, rgba(240, 199, 101, 0.2), transparent 72%),
        linear-gradient(145deg, #170e31, #4d2f81 48%, #121927);
}

.case-panel-visual--zg img {
    border-radius: 8px;
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.28);
}

.case-panel-visual--zg img:nth-of-type(1) {
    left: 7%;
    top: 18%;
    width: 40%;
    transform: rotate(-5deg);
}

.case-panel-visual--zg img:nth-of-type(2) {
    right: 10%;
    top: 9%;
    z-index: 2;
    width: 42%;
    transform: rotate(4deg);
}

.case-panel-visual--zg img:nth-of-type(3) {
    left: 16%;
    bottom: 9%;
    width: 68%;
}

.case-panel:hover .case-panel-visual--matcha img:nth-of-type(1),
.case-panel:hover .case-panel-visual--eafc img:nth-of-type(1),
.case-panel:hover .case-panel-visual--zg img:nth-of-type(1) {
    transform: translateY(-8px) rotate(-8deg);
}

.case-panel:hover .case-panel-visual--matcha img:nth-of-type(2),
.case-panel:hover .case-panel-visual--eafc img:nth-of-type(3),
.case-panel:hover .case-panel-visual--zg img:nth-of-type(2) {
    transform: translateY(-10px) rotate(7deg);
}

.case-panel:hover .case-panel-visual--eafc img:nth-of-type(2),
.case-panel:hover .case-panel-visual--zg img:nth-of-type(3) {
    transform: translateY(-12px);
}

.case-story-grid {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.case-story-card {
    position: relative;
    min-height: 176px;
    padding: 20px;
    border: 1px solid rgba(7, 17, 31, 0.08);
    border-radius: var(--radius-sm);
    background: linear-gradient(180deg, rgba(248, 251, 255, 0.92), rgba(255, 255, 255, 0.86));
    overflow: hidden;
}

.case-story-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 3px;
    background: var(--case-accent);
    transform: scaleX(0.28);
    transform-origin: left center;
    transition: transform 260ms var(--ease);
}

.case-story-card:hover::before {
    transform: scaleX(1);
}

.case-story-card span {
    color: var(--blue);
    font-size: 11px;
    font-weight: 950;
    text-transform: uppercase;
}

.case-story-card p {
    margin: 18px 0 0;
    color: #475569;
    font-size: 15px;
    line-height: 1.48;
}

.case-process-rail {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    padding: 16px;
    border: 1px solid rgba(var(--case-accent-rgb), 0.18);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 18px 44px rgba(7, 17, 31, 0.06);
}

.case-process-rail div {
    position: relative;
    display: grid;
    gap: 7px;
    min-height: 116px;
    padding: 16px 18px;
}

.case-process-rail div + div {
    border-left: 1px solid rgba(7, 17, 31, 0.08);
}

.case-process-rail span {
    color: var(--case-accent);
    font-size: 11px;
    font-weight: 950;
}

.case-process-rail strong {
    font-size: 16px;
    line-height: 1;
}

.case-process-rail p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.36;
}

@keyframes casePanelIn {
    from {
        opacity: 0;
        transform: translateY(18px) rotateX(3deg);
    }

    to {
        opacity: 1;
        transform: translateY(0) rotateX(0deg);
    }
}

@keyframes caseStageSweep {
    0%,
    18% {
        transform: translateX(-86%);
    }

    72%,
    100% {
        transform: translateX(238%);
    }
}

@keyframes caseAssetFloat {
    from {
        translate: 0 0;
    }

    to {
        translate: 0 -10px;
    }
}

@keyframes casePlateFloat {
    from {
        translate: 0 0;
    }

    to {
        translate: 0 -18px;
    }
}

/* Case study polish pass: calmer editorial layout over decorative motion. */
.case-study-section {
    background:
        radial-gradient(760px 420px at 86% 12%, rgba(var(--case-accent-rgb), 0.1), transparent 72%),
        linear-gradient(180deg, #f8fbff 0%, #ffffff 52%, #f7fafc 100%);
}

.case-study-backdrop span {
    display: none;
}

.case-study-backdrop::before {
    background-size: 72px 72px;
    opacity: 0.16;
    mask-image: linear-gradient(180deg, transparent, #000 18%, #000 78%, transparent);
}

.case-study-layout {
    grid-template-columns: minmax(320px, 0.36fr) minmax(680px, 0.64fr);
}

.case-proof-row span,
.case-stage-bar,
.case-tab,
.case-panel,
.case-story-card,
.case-process-rail {
    border-radius: 10px;
}

.case-proof-row span {
    background: #fff;
    box-shadow: none;
}

.case-stage-bar {
    min-height: 58px;
    border-color: rgba(7, 17, 31, 0.1);
    background: #fff;
    box-shadow: 0 18px 44px rgba(7, 17, 31, 0.06);
}

.case-stage-bar::before {
    display: none;
}

.case-stage-bar span {
    color: var(--case-accent);
    border: 1px solid rgba(var(--case-accent-rgb), 0.2);
    background: rgba(var(--case-accent-rgb), 0.08);
}

.case-tabs {
    gap: 8px;
}

.case-tab {
    min-height: 66px;
    background: rgba(255, 255, 255, 0.86);
    box-shadow: none;
}

.case-tab:hover,
.case-tab.is-active {
    transform: translateY(-1px);
    box-shadow: 0 16px 34px rgba(7, 17, 31, 0.08);
}

.case-panel {
    grid-template-columns: minmax(0, 0.92fr) minmax(340px, 0.78fr);
    gap: clamp(24px, 3vw, 44px);
    border-color: rgba(7, 17, 31, 0.1);
    background: #fff;
    box-shadow: 0 24px 70px rgba(7, 17, 31, 0.08);
    animation: casePanelIn 320ms var(--ease) both;
}

.case-panel::before {
    display: none;
}

.case-panel-visual {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: center;
    gap: 16px;
    min-height: 360px;
    padding: 24px;
    background:
        linear-gradient(180deg, rgba(248, 251, 255, 0.92), rgba(255, 255, 255, 0.68)),
        linear-gradient(135deg, rgba(var(--case-accent-rgb), 0.08), rgba(7, 17, 31, 0.02));
    box-shadow: inset 0 0 0 1px rgba(7, 17, 31, 0.08);
}

.case-panel-visual::before,
.case-visual-grid {
    display: none;
}

.case-panel-visual img,
.case-panel-visual--matcha img:nth-of-type(1),
.case-panel-visual--matcha img:nth-of-type(2),
.case-panel-visual--matcha img:nth-of-type(3),
.case-panel-visual--eafc img:nth-of-type(1),
.case-panel-visual--eafc img:nth-of-type(2),
.case-panel-visual--eafc img:nth-of-type(3),
.case-panel-visual--zg img:nth-of-type(1),
.case-panel-visual--zg img:nth-of-type(2),
.case-panel-visual--zg img:nth-of-type(3) {
    position: relative;
    inset: auto;
    z-index: 1;
    width: 100%;
    height: auto;
    max-width: 100%;
    margin: 0;
    transform: none;
    translate: none;
    animation: none;
    filter: drop-shadow(0 18px 26px rgba(7, 17, 31, 0.13));
}

.case-panel-visual--matcha img:nth-of-type(1),
.case-panel-visual--matcha img:nth-of-type(2) {
    width: auto;
    max-height: 245px;
    justify-self: center;
}

.case-panel-visual--matcha img:nth-of-type(3) {
    align-self: end;
}

.case-panel-visual--eafc img {
    max-height: 270px;
    object-fit: contain;
}

.case-panel-visual--zg {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0)),
        linear-gradient(145deg, #16162a, #30274e 58%, #131722);
}

.case-panel-visual--zg img {
    aspect-ratio: 4 / 5;
    object-fit: cover;
}

.case-panel:hover .case-panel-visual img,
.case-panel:hover .case-panel-visual--matcha img:nth-of-type(1),
.case-panel:hover .case-panel-visual--eafc img:nth-of-type(1),
.case-panel:hover .case-panel-visual--zg img:nth-of-type(1),
.case-panel:hover .case-panel-visual--matcha img:nth-of-type(2),
.case-panel:hover .case-panel-visual--eafc img:nth-of-type(3),
.case-panel:hover .case-panel-visual--zg img:nth-of-type(2),
.case-panel:hover .case-panel-visual--eafc img:nth-of-type(2),
.case-panel:hover .case-panel-visual--zg img:nth-of-type(3) {
    transform: none;
    filter: drop-shadow(0 20px 30px rgba(7, 17, 31, 0.16));
}

.case-visual-caption {
    position: relative;
    grid-column: 1 / -1;
    left: auto;
    right: auto;
    bottom: auto;
    justify-self: stretch;
    color: #334155;
    border-color: rgba(7, 17, 31, 0.08);
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: none;
}

.case-panel-visual--zg .case-visual-caption {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.14);
    background: rgba(3, 7, 13, 0.38);
}

.case-story-grid {
    gap: 14px;
}

.case-story-card {
    background: #f8fafc;
    box-shadow: none;
}

.case-story-card:hover::before {
    transform: scaleX(0.72);
}

.case-process-rail {
    background: #fff;
    box-shadow: none;
}

/* Narrative case study pass. */
.case-storyline {
    position: relative;
    z-index: 2;
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(220px, 0.34fr) minmax(0, 0.66fr);
    gap: clamp(22px, 3vw, 42px);
    align-items: stretch;
    padding-top: clamp(8px, 1.2vw, 18px);
}

.case-story-lede {
    display: grid;
    align-content: center;
    gap: 18px;
    min-height: 220px;
    padding: clamp(24px, 3vw, 36px);
    border-radius: 10px;
    color: #fff;
    background:
        linear-gradient(135deg, rgba(7, 17, 31, 0.96), rgba(7, 17, 31, 0.74)),
        linear-gradient(135deg, rgba(var(--case-accent-rgb), 0.54), transparent);
    box-shadow: 0 24px 56px rgba(7, 17, 31, 0.16);
}

.case-story-lede span {
    color: rgba(255, 255, 255, 0.7);
    font-size: 11px;
    font-weight: 950;
    text-transform: uppercase;
}

.case-story-lede strong {
    max-width: 420px;
    font-size: clamp(22px, 2.2vw, 34px);
    line-height: 1.06;
    letter-spacing: 0;
}

.case-story-beats {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    border: 1px solid rgba(7, 17, 31, 0.08);
    border-radius: 10px;
    background: #fff;
    overflow: hidden;
}

.case-story-beats::before {
    content: "";
    position: absolute;
    left: 11%;
    right: 11%;
    top: 54px;
    height: 1px;
    background: linear-gradient(90deg, rgba(var(--case-accent-rgb), 0.18), rgba(var(--case-accent-rgb), 0.5), rgba(var(--case-accent-rgb), 0.18));
}

.case-story-beats section {
    position: relative;
    display: grid;
    align-content: start;
    gap: 18px;
    min-height: 220px;
    padding: 86px 24px 26px;
}

.case-story-beats section + section {
    border-left: 1px solid rgba(7, 17, 31, 0.08);
}

.case-story-beats section::before {
    content: "0" counter(story-step);
    counter-increment: story-step;
    position: absolute;
    left: 24px;
    top: 28px;
    display: inline-grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(var(--case-accent-rgb), 0.24);
    border-radius: 50%;
    color: var(--case-accent);
    background: #fff;
    box-shadow: 0 0 0 8px #fff;
    font-size: 11px;
    font-weight: 950;
}

.case-story-beats {
    counter-reset: story-step;
}

.case-story-beats span {
    color: var(--text);
    font-size: 13px;
    font-weight: 950;
    text-transform: uppercase;
}

.case-story-beats p {
    margin: 0;
    color: #475569;
    font-size: 15px;
    line-height: 1.52;
}

/* Interactive story player. */
.case-panel {
    grid-template-columns: minmax(330px, 0.42fr) minmax(0, 0.58fr);
    align-items: stretch;
}

.case-story-player {
    position: relative;
    z-index: 2;
    display: grid;
    align-content: start;
    gap: 22px;
}

.case-story-steps {
    display: grid;
    gap: 10px;
    margin-top: 8px;
}

.case-step {
    position: relative;
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    min-height: 58px;
    padding: 10px 14px;
    border: 1px solid rgba(7, 17, 31, 0.1);
    border-radius: 10px;
    color: #475569;
    background: #fff;
    font-size: 13px;
    font-weight: 950;
    text-align: left;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.case-step::before {
    content: "";
    position: absolute;
    inset: 10px auto 10px 0;
    width: 3px;
    border-radius: 999px;
    background: var(--case-accent);
    opacity: 0;
    transform: scaleY(0.34);
    transition: opacity 180ms ease, transform 220ms var(--ease);
}

.case-step span {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border: 1px solid rgba(var(--case-accent-rgb), 0.18);
    border-radius: 50%;
    color: var(--case-accent);
    background: rgba(var(--case-accent-rgb), 0.07);
    font-size: 11px;
}

.case-step:hover,
.case-step.is-active {
    transform: translateX(4px);
    border-color: rgba(var(--case-accent-rgb), 0.28);
    color: var(--text);
    background: rgba(var(--case-accent-rgb), 0.045);
    box-shadow: 0 14px 32px rgba(7, 17, 31, 0.08);
}

.case-step.is-active::before {
    opacity: 1;
    transform: scaleY(1);
}

.case-step:focus-visible {
    outline: 2px solid rgba(0, 126, 255, 0.72);
    outline-offset: 3px;
}

.case-story-detail {
    display: grid;
    gap: 14px;
    min-height: 236px;
    padding: clamp(22px, 2.6vw, 34px);
    border: 1px solid rgba(7, 17, 31, 0.08);
    border-radius: 10px;
    background:
        linear-gradient(135deg, rgba(var(--case-accent-rgb), 0.09), transparent 42%),
        #f8fafc;
}

.case-story-detail span {
    color: var(--case-accent);
    font-size: 11px;
    font-weight: 950;
    text-transform: uppercase;
}

.case-story-detail strong {
    max-width: 520px;
    font-size: clamp(24px, 2.7vw, 40px);
    line-height: 1.04;
    letter-spacing: 0;
}

.case-story-detail p {
    max-width: 560px;
    margin: 0;
    color: #475569;
    font-size: 16px;
    line-height: 1.54;
}

.case-panel > .case-panel-visual {
    min-height: clamp(520px, 42vw, 680px);
    padding: 0;
}

.case-visual-stage {
    position: relative;
    grid-column: 1 / -1;
    display: grid;
    width: 100%;
    height: 100%;
    min-height: inherit;
    place-items: center;
    overflow: hidden;
}

.case-visual-stage::before {
    content: "";
    position: absolute;
    inset: 9%;
    border: 1px solid rgba(255, 255, 255, 0.62);
    border-radius: 10px;
    background:
        linear-gradient(rgba(255, 255, 255, 0.28) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.28) 1px, transparent 1px);
    background-size: 34px 34px;
    transform: perspective(900px) rotateX(60deg) rotateZ(-7deg);
    transform-origin: center;
    opacity: 0.6;
}

.case-visual-stage img {
    position: absolute;
    max-width: none;
    opacity: 0.34;
    filter: saturate(0.82) drop-shadow(0 18px 24px rgba(7, 17, 31, 0.12));
    transform: scale(0.86);
    transition: opacity 320ms ease, transform 420ms var(--ease), filter 320ms ease;
}

.case-visual-stage img.is-featured {
    opacity: 1;
    filter: saturate(1.05) drop-shadow(0 28px 38px rgba(7, 17, 31, 0.2));
    transform: scale(1);
}

.case-panel-visual--matcha .case-visual-stage img:nth-of-type(1) {
    left: 16%;
    top: 15%;
    height: 58%;
    transform: translateX(-18px) rotate(-4deg) scale(0.86);
}

.case-panel-visual--matcha .case-visual-stage img:nth-of-type(2) {
    right: 15%;
    top: 10%;
    height: 62%;
    transform: translateX(18px) rotate(4deg) scale(0.86);
}

.case-panel-visual--matcha .case-visual-stage img:nth-of-type(3) {
    left: 18%;
    bottom: 13%;
    width: 64%;
    transform: translateY(20px) scale(0.9);
}

.case-panel-visual--matcha .case-visual-stage img.is-featured:nth-of-type(1),
.case-panel-visual--matcha .case-visual-stage img.is-featured:nth-of-type(2),
.case-panel-visual--matcha .case-visual-stage img.is-featured:nth-of-type(3) {
    transform: translate(0, 0) rotate(0deg) scale(1);
}

.case-panel-visual--eafc .case-visual-stage img:nth-of-type(1) {
    left: 8%;
    top: 25%;
    height: 52%;
    transform: translateX(-24px) rotate(-7deg) scale(0.86);
}

.case-panel-visual--eafc .case-visual-stage img:nth-of-type(2) {
    left: 34%;
    top: 8%;
    z-index: 2;
    height: 76%;
    transform: translateY(18px) scale(0.9);
}

.case-panel-visual--eafc .case-visual-stage img:nth-of-type(3) {
    right: 8%;
    top: 22%;
    height: 56%;
    transform: translateX(24px) rotate(7deg) scale(0.86);
}

.case-panel-visual--eafc .case-visual-stage img.is-featured:nth-of-type(1),
.case-panel-visual--eafc .case-visual-stage img.is-featured:nth-of-type(2),
.case-panel-visual--eafc .case-visual-stage img.is-featured:nth-of-type(3) {
    transform: translate(0, 0) rotate(0deg) scale(1);
}

.case-panel-visual--zg .case-visual-stage img {
    border-radius: 8px;
}

.case-panel-visual--zg .case-visual-stage img:nth-of-type(1) {
    left: 8%;
    top: 13%;
    width: 42%;
    transform: translateX(-20px) rotate(-4deg) scale(0.86);
}

.case-panel-visual--zg .case-visual-stage img:nth-of-type(2) {
    right: 7%;
    bottom: 12%;
    width: 64%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    transform: translateY(18px) scale(0.86);
}

.case-panel-visual--zg .case-visual-stage img:nth-of-type(3) {
    right: 11%;
    top: 10%;
    z-index: 2;
    width: 42%;
    transform: translateX(20px) rotate(4deg) scale(0.86);
}

.case-panel-visual--zg .case-visual-stage img.is-featured:nth-of-type(1),
.case-panel-visual--zg .case-visual-stage img.is-featured:nth-of-type(2),
.case-panel-visual--zg .case-visual-stage img.is-featured:nth-of-type(3) {
    transform: translate(0, 0) rotate(0deg) scale(1);
}

.case-visual-stage .case-visual-caption {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 18px;
    z-index: 4;
    grid-column: auto;
}

.case-storyline,
.case-story-grid,
.case-meta {
    display: none;
}

@media (max-width: 1100px) {
    .case-panel {
        grid-template-columns: 1fr;
    }

    .case-story-player {
        order: 2;
    }

    .case-panel > .case-panel-visual {
        order: 1;
        min-height: clamp(420px, 68vw, 620px);
    }

    .case-story-steps {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .case-step {
        grid-template-columns: 1fr;
        align-content: start;
        justify-items: start;
        min-height: 86px;
    }
}

@media (max-width: 620px) {
    .case-story-steps {
        grid-template-columns: 1fr;
    }

    .case-step {
        grid-template-columns: 38px minmax(0, 1fr);
        min-height: 56px;
    }

    .case-story-detail {
        min-height: auto;
    }

    .case-panel > .case-panel-visual {
        min-height: 360px;
    }

    .case-visual-stage .case-visual-caption {
        left: 10px;
        right: 10px;
        bottom: 10px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .skip-link,
    .contact-email,
    .contact-email::after,
    .footer-links a {
        transition: none !important;
    }
}

/* Alignment grid — shared axes and balanced visual rhythm. */
:root {
    --page-width: min(84vw, var(--container));
    --page-gutter: max(20px, calc((100vw - var(--page-width)) / 2));
    --split-left: minmax(0, 1.15fr);
    --split-right: minmax(340px, 0.85fr);
    --split-gap: clamp(36px, 5vw, 82px);
}

.container,
.hero-grid,
.intro-layout,
.project-grid,
.cosmic-grid,
.about-layout,
.capability-shell,
.contact-layout,
.site-footer-layout {
    width: var(--page-width);
    margin-right: auto;
    margin-left: auto;
    padding-right: 0;
    padding-left: 0;
}

.site-header {
    padding-right: var(--page-gutter);
    padding-left: var(--page-gutter);
}

.hero-copy,
.intro-copy,
.about-content,
.capability-heading,
.capability-grid,
.contact-heading {
    min-width: 0;
}

.intro-layout {
    grid-template-columns: var(--split-left) var(--split-right);
    gap: var(--split-gap);
}

.intro-panel {
    width: 100%;
    align-self: stretch;
}

.about-layout {
    gap: var(--split-gap);
}

.about-content {
    width: 100%;
    justify-self: stretch;
}

.about-copy,
.about-facts,
.tool-stack {
    width: 100%;
}

.capability-heading,
.capability-grid,
.contact-layout {
    grid-template-columns: var(--split-left) var(--split-right);
    column-gap: var(--split-gap);
}

.capability-heading {
    row-gap: 18px;
    align-items: end;
}

.capability-heading .eyebrow {
    grid-column: 1 / -1;
    margin: 0;
}

.capability-heading h2 {
    grid-column: 1;
}

.capability-heading > p:last-child {
    grid-column: 2;
    max-width: 420px;
    justify-self: end;
}

.capability-grid {
    align-items: stretch;
}

.capability-services {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
}

.service-list {
    height: 100%;
}

.service-list article {
    min-height: 0;
}

.workflow-panel {
    height: 100%;
}

.contact-layout {
    align-items: center;
}

.contact-heading,
.contact-panel {
    width: 100%;
}

.contact-panel .actions {
    align-items: stretch;
}

.site-footer-layout > p {
    justify-self: center;
}

@media (max-width: 1100px) {
    :root {
        --page-width: min(calc(100vw - 48px), var(--container));
        --page-gutter: 24px;
        --split-gap: 48px;
    }

    .capability-heading {
        grid-template-columns: 1fr;
    }

    .capability-heading .eyebrow,
    .capability-heading h2,
    .capability-heading > p:last-child {
        grid-column: 1;
        justify-self: start;
    }

    .capability-heading > p:last-child {
        max-width: 680px;
    }

    .capability-grid {
        grid-template-columns: 1fr;
    }

    .capability-services,
    .workflow-panel {
        width: 100%;
    }
}

@media (max-width: 900px) {
    :root {
        --page-width: calc(100vw - 40px);
        --page-gutter: 20px;
        --split-gap: 40px;
    }

    .intro-layout,
    .about-layout,
    .contact-layout {
        grid-template-columns: 1fr;
    }

    .intro-panel,
    .about-content,
    .contact-panel {
        max-width: none;
        justify-self: stretch;
    }

    .about-portrait {
        justify-self: start;
    }

    .contact-heading {
        max-width: 760px;
    }
}

@media (max-width: 620px) {
    :root {
        --page-width: calc(100vw - 32px);
        --page-gutter: 16px;
        --split-gap: 32px;
    }

    .about-portrait {
        width: 100%;
    }

    .about-facts div,
    .about-facts div:nth-child(even) {
        padding-right: 0;
        padding-left: 0;
    }

    .capability-heading,
    .capability-grid,
    .contact-layout {
        row-gap: 28px;
    }

    .contact-panel .actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .site-footer-layout > p {
        justify-self: start;
    }
}

/* About — editorial profile with a visible idea-to-production story. */
.about-section {
    isolation: isolate;
    overflow: clip;
    background:
        radial-gradient(720px 520px at 88% 14%, rgba(0, 126, 255, 0.11), transparent 68%),
        linear-gradient(135deg, #f4f8fc 0%, #fff 48%, #eef5fb 100%);
}

.about-section::before {
    content: "ABOUT";
    position: absolute;
    top: clamp(20px, 3vw, 48px);
    left: 50%;
    z-index: -1;
    color: rgba(7, 17, 31, 0.035);
    font-size: clamp(110px, 18vw, 320px);
    font-weight: 950;
    line-height: 0.8;
    letter-spacing: -0.08em;
    white-space: nowrap;
    pointer-events: none;
    transform: translateX(-50%);
}

.about-layout {
    position: relative;
    z-index: 1;
    grid-template-columns: minmax(340px, 0.82fr) minmax(0, 1.18fr);
    align-items: start;
    gap: clamp(58px, 7vw, 112px);
}

.about-portrait {
    position: sticky;
    top: calc(var(--header-height) + 34px);
    width: 100%;
    min-height: 0;
    aspect-ratio: 0.86;
    overflow: visible;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    isolation: isolate;
}

.about-portrait::before {
    content: "";
    position: absolute;
    inset: 18px -18px -18px 18px;
    z-index: -1;
    border: 1px solid rgba(0, 126, 255, 0.38);
    border-radius: 18px;
    background:
        linear-gradient(135deg, rgba(0, 126, 255, 0.18), transparent 46%),
        rgba(7, 17, 31, 0.035);
}

.about-portrait::after {
    content: "05 / PROFILE";
    top: 20px;
    right: auto;
    bottom: auto;
    left: -18px;
    z-index: 3;
    padding: 9px 12px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 9px;
    color: #fff;
    background: rgba(3, 9, 17, 0.82);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.2);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.12em;
    backdrop-filter: blur(12px);
}

.about-portrait img {
    width: 100%;
    height: 100%;
    min-height: 0;
    border-radius: 18px;
    object-fit: cover;
    object-position: center;
    box-shadow: 0 34px 80px rgba(7, 17, 31, 0.2);
}

.about-portrait-caption {
    position: absolute;
    right: 20px;
    bottom: 20px;
    left: 20px;
    z-index: 2;
    display: grid;
    gap: 3px;
    padding: 15px 17px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 12px;
    color: #fff;
    background: linear-gradient(135deg, rgba(3, 9, 17, 0.88), rgba(3, 9, 17, 0.62));
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.24);
    backdrop-filter: blur(14px);
}

.about-portrait-caption span {
    font-size: 15px;
    font-weight: 850;
}

.about-portrait-caption small {
    color: rgba(255, 255, 255, 0.66);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.about-content {
    max-width: none;
    padding-top: 10px;
}

.about-content h2 span,
.about-content h2 em {
    display: block;
}

.about-content h2 em {
    color: var(--blue);
    font-style: normal;
}

.about-copy {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(22px, 3vw, 40px);
    max-width: none;
    margin-top: 34px;
}

.about-copy p:first-child {
    padding-left: 18px;
    border-left: 3px solid var(--blue);
}

.about-bridge {
    display: grid;
    grid-template-columns: auto minmax(24px, 1fr) auto minmax(24px, 1fr) auto;
    align-items: center;
    gap: 13px;
    margin-top: 30px;
    padding: 17px 19px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    color: #fff;
    background:
        radial-gradient(220px 100px at 14% 0%, rgba(0, 126, 255, 0.3), transparent 76%),
        #07111f;
    box-shadow: 0 20px 44px rgba(7, 17, 31, 0.14);
}

.about-bridge span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 850;
    letter-spacing: 0.025em;
    text-transform: uppercase;
}

.about-bridge small {
    color: #5cb0ff;
    font-size: 9px;
    font-weight: 900;
}

.about-bridge i {
    height: 1px;
    background: linear-gradient(90deg, rgba(0, 126, 255, 0.25), #007eff, rgba(0, 126, 255, 0.25));
}

.about-facts {
    gap: 10px;
    margin-top: 28px;
    border-top: 0;
}

.about-facts div,
.about-facts div:nth-child(even) {
    padding: 16px 17px;
    border: 1px solid rgba(7, 17, 31, 0.1);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.7);
    box-shadow: 0 12px 28px rgba(7, 17, 31, 0.045);
}

.about-facts div:nth-child(odd) {
    border-right: 1px solid rgba(7, 17, 31, 0.1);
}

.about-facts dt {
    margin-bottom: 6px;
    color: #738096;
}

.about-facts dd {
    font-size: 13px;
}

.tool-stack {
    margin-top: 22px;
    padding-top: 0;
    border-top: 0;
}

.tool-stack li {
    background: rgba(255, 255, 255, 0.88);
    transition: color 180ms ease, border-color 180ms ease, transform 220ms var(--ease);
}

.tool-stack li:hover {
    color: var(--blue);
    border-color: rgba(0, 126, 255, 0.36);
    transform: translateY(-2px);
}

.about-actions {
    gap: 10px;
    margin-top: 26px;
}

.about-contact-button {
    color: #0b1728;
    border: 1px solid rgba(7, 17, 31, 0.14);
    background: rgba(255, 255, 255, 0.64);
}

.about-contact-button:hover {
    border-color: rgba(0, 126, 255, 0.32);
    background: #fff;
}

@media (max-width: 1100px) {
    .about-layout {
        grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
        gap: 48px;
    }

    .about-copy {
        grid-template-columns: 1fr;
        gap: 14px;
    }
}

@media (max-width: 900px) {
    .about-layout {
        grid-template-columns: 1fr;
        gap: 58px;
    }

    .about-portrait {
        position: relative;
        top: auto;
        width: min(100%, 620px);
        aspect-ratio: 1 / 1.05;
        justify-self: center;
    }

    .about-content {
        padding-top: 0;
    }
}

@media (max-width: 620px) {
    .about-section::before {
        top: 26px;
        font-size: 31vw;
    }

    .about-layout {
        gap: 44px;
    }

    .about-portrait {
        aspect-ratio: 0.9;
    }

    .about-portrait::before {
        inset: 10px -8px -10px 8px;
    }

    .about-portrait::after {
        top: 12px;
        left: -6px;
    }

    .about-portrait-caption {
        right: 12px;
        bottom: 12px;
        left: 12px;
        padding: 12px 13px;
    }

    .about-copy {
        margin-top: 25px;
    }

    .about-bridge {
        gap: 7px;
        padding: 14px 12px;
    }

    .about-bridge span {
        gap: 5px;
        font-size: 10px;
    }

    .about-facts {
        grid-template-columns: 1fr;
    }

    .about-actions {
        display: grid;
        grid-template-columns: 1fr;
    }
}

/* Compact About spacing and software icons. */
.about-section {
    padding: clamp(58px, 5vw, 78px) 0;
}

.about-layout {
    gap: clamp(36px, 4vw, 64px);
}

.about-copy {
    margin-top: 26px;
}

.about-bridge {
    margin-top: 22px;
}

.about-facts {
    margin-top: 20px;
}

.tool-stack {
    margin-top: 18px;
}

.about-actions {
    margin-top: 20px;
}

.tool-stack ul {
    gap: 8px;
    margin-top: 12px;
}

.tool-stack li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    padding: 5px 11px 5px 6px;
    border-radius: 11px;
    line-height: 1.15;
}

.tool-stack li img,
.tool-stack__mark {
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    border-radius: 8px;
}

.tool-stack li img {
    object-fit: contain;
}

.tool-stack__mark {
    display: grid;
    place-items: center;
    color: #fff;
    background: linear-gradient(135deg, #07111f, #007eff);
    font-size: 7px;
    font-weight: 950;
    letter-spacing: 0.08em;
}

@media (max-width: 900px) {
    .about-section {
        padding: 58px 0;
    }

    .about-layout {
        gap: 42px;
    }
}

@media (max-width: 620px) {
    .about-section {
        padding: 48px 0;
    }

    .about-layout {
        gap: 34px;
    }

    .tool-stack li {
        min-height: 38px;
        padding: 4px 9px 4px 5px;
    }

    .tool-stack li img,
    .tool-stack__mark {
        width: 28px;
        height: 28px;
        flex-basis: 28px;
    }
}

/* Final capability tile parity. */
.workflow-panel {
    display: grid;
    grid-template: auto minmax(0, 1fr) / 1fr;
    height: 100%;
    padding: 0;
    overflow: visible;
    color: var(--text);
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    backdrop-filter: none;
}

.workflow-panel > .capability-label {
    grid-column: 1;
    margin: 0;
    color: var(--blue);
}

.workflow-list {
    position: relative;
    z-index: 1;
    display: grid;
    grid-column: 1;
    grid-row: 2;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    height: 100%;
    margin: 18px 0 0;
    padding: 0;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    list-style: none;
}

.workflow-list li {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 16px;
    align-items: center;
    min-height: 0;
    padding: 23px 24px;
    background: transparent;
    border: 0;
    transition: background 220ms ease;
}

.workflow-list li:nth-child(odd) {
    border-right: 1px solid var(--line);
}

.workflow-list li:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
}

.workflow-list li:hover {
    background: rgba(0, 126, 255, 0.06);
}

.workflow-list > li > span {
    color: var(--blue);
    font-size: 10px;
    font-weight: 950;
    letter-spacing: 0.1em;
}

.workflow-list strong {
    display: block;
    color: var(--text);
    font-size: clamp(17px, 1.35vw, 21px);
    line-height: 1.15;
}

.workflow-list p {
    margin: 6px 0 0;
    color: #637083;
    font-size: 11px;
    line-height: 1.45;
}

@media (max-width: 620px) {
    .workflow-list {
        grid-template-columns: 1fr;
    }

    .workflow-list li:nth-child(odd) {
        border-right: 0;
    }

    .workflow-list li:nth-child(-n + 2) {
        border-bottom: 0;
    }

    .workflow-list li:not(:last-child) {
        border-bottom: 1px solid var(--line);
    }
}

@media (prefers-reduced-motion: reduce) {
    .workflow-list li {
        transition: none !important;
    }
}

/* Conversion layer: strengths, services, verified feedback and contact routes. */
.about-strengths {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 22px;
}

.about-strengths article {
    min-width: 0;
    padding: 18px;
    border: 1px solid rgba(7, 17, 31, 0.1);
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.74);
    box-shadow: 0 14px 34px rgba(7, 17, 31, 0.045);
}

.about-strengths span {
    display: block;
    margin-bottom: 18px;
    color: var(--blue);
    font-size: 9px;
    font-weight: 950;
    letter-spacing: 0.12em;
}

.about-strengths h3 {
    margin: 0;
    color: var(--text);
    font-size: clamp(15px, 1.1vw, 18px);
    line-height: 1.1;
}

.about-strengths p {
    margin: 10px 0 0;
    color: #647187;
    font-size: 11px;
    line-height: 1.55;
}

.proof-section {
    position: relative;
    overflow: hidden;
    padding: clamp(72px, 7vw, 116px) 0;
    color: #fff;
    background:
        radial-gradient(680px 360px at 86% 4%, rgba(0, 126, 255, 0.24), transparent 70%),
        #07111f;
}

.proof-section[hidden] {
    display: none;
}

.proof-shell {
    width: var(--page-width);
    margin: 0 auto;
}

.proof-heading {
    display: grid;
    grid-template-columns: var(--split-left) var(--split-right);
    gap: var(--split-gap);
    align-items: end;
}

.proof-heading .eyebrow {
    grid-column: 1 / -1;
}

.proof-heading h2 {
    grid-column: 1 / -1;
    max-width: 920px;
    margin: 0;
    font-size: clamp(38px, 5vw, 78px);
    line-height: 0.94;
    letter-spacing: -0.055em;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: clamp(36px, 5vw, 70px);
}

.testimonial-card {
    display: flex;
    min-height: 280px;
    flex-direction: column;
    padding: clamp(24px, 2.4vw, 34px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.055);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.16);
}

.testimonial-marker {
    color: #5cb0ff;
    font-size: 10px;
    font-weight: 950;
    letter-spacing: 0.12em;
}

.testimonial-card blockquote {
    margin: 42px 0 36px;
    color: #fff;
    font-size: clamp(19px, 1.55vw, 26px);
    font-weight: 720;
    line-height: 1.25;
    letter-spacing: -0.025em;
}

.testimonial-card footer {
    display: grid;
    gap: 5px;
    margin-top: auto;
}

.testimonial-card footer strong {
    font-size: 13px;
}

.testimonial-card footer span {
    color: rgba(255, 255, 255, 0.55);
    font-size: 10px;
    line-height: 1.4;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.service-list article {
    grid-template-columns: 34px minmax(0, 1fr);
    grid-template-rows: 1fr auto;
    gap: 12px 16px;
    align-items: start;
    min-height: 245px;
    padding: clamp(21px, 2.2vw, 30px);
}

.service-list article > span {
    grid-row: 1 / -1;
}

.service-list article > div {
    position: relative;
    z-index: 1;
    min-width: 0;
}

.service-list article h3 {
    font-size: clamp(18px, 1.45vw, 23px);
}

.service-list article p {
    margin: 12px 0 0;
    color: #637083;
    font-size: 11px;
    line-height: 1.5;
}

.service-list article small {
    display: block;
    margin-top: 16px;
    color: #8994a5;
    font-size: 9px;
    font-weight: 850;
    line-height: 1.45;
    letter-spacing: 0.055em;
    text-transform: uppercase;
}

.service-list article > a {
    position: relative;
    z-index: 2;
    grid-column: 2;
    justify-self: start;
    color: var(--blue);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-decoration: none;
    text-transform: uppercase;
}

.service-list article > a::after {
    content: " ↗";
}

.service-list article > a:hover {
    color: #005ec4;
}

.contact-layout {
    align-items: start;
}

.contact-heading {
    position: sticky;
    top: calc(var(--header-height) + 34px);
}

.contact-intro {
    max-width: 610px;
    margin: 24px 0 0;
    color: rgba(255, 255, 255, 0.62);
    font-size: clamp(13px, 1.05vw, 16px);
    line-height: 1.65;
}

.contact-expectations {
    display: grid;
    gap: 0;
    max-width: 620px;
    margin-top: 34px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-expectations > div {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 14px;
    align-items: start;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-expectations span {
    padding-top: 2px;
    color: #5cb0ff;
    font-size: 9px;
    font-weight: 950;
    letter-spacing: 0.1em;
}

.contact-expectations p {
    margin: 0;
    color: rgba(255, 255, 255, 0.58);
    font-size: 11px;
    line-height: 1.5;
}

.contact-expectations strong {
    display: block;
    margin-bottom: 3px;
    color: #fff;
    font-size: 12px;
}

.contact-panel {
    padding: clamp(22px, 2.8vw, 38px);
}

.contact-routes {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 5px;
    margin-top: 24px;
    padding: 5px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.16);
}

.contact-routes button {
    min-height: 47px;
    padding: 10px 12px;
    border: 0;
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.58);
    background: transparent;
    font: inherit;
    font-size: 10px;
    font-weight: 850;
    line-height: 1.25;
    cursor: pointer;
    transition: color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.contact-routes button.is-active {
    color: #fff;
    background: rgba(0, 126, 255, 0.92);
    box-shadow: 0 9px 22px rgba(0, 84, 180, 0.25);
}

.contact-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 17px 14px;
    margin-top: 24px;
}

.contact-form-field {
    display: grid;
    gap: 7px;
    min-width: 0;
}

.contact-form-field:nth-of-type(3),
.contact-form-field:nth-of-type(4),
.contact-submit,
.contact-form-note,
.contact-form-status {
    grid-column: 1 / -1;
}

.contact-form-field[hidden] {
    display: none;
}

.contact-form label {
    color: rgba(255, 255, 255, 0.62);
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    min-width: 0;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    outline: 0;
    color: #fff;
    background: rgba(0, 0, 0, 0.2);
    font: inherit;
    font-size: 12px;
    transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.contact-form input,
.contact-form select {
    height: 48px;
    padding: 0 13px;
}

.contact-form textarea {
    min-height: 126px;
    padding: 13px;
    line-height: 1.55;
    resize: vertical;
}

.contact-form select {
    color-scheme: dark;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: rgba(92, 176, 255, 0.82);
    background: rgba(0, 57, 119, 0.18);
    box-shadow: 0 0 0 3px rgba(0, 126, 255, 0.16);
}

.contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.contact-submit {
    width: 100%;
    margin-top: 3px;
}

.contact-submit:disabled {
    cursor: wait;
    opacity: 0.68;
}

.contact-form-note,
.contact-form-status {
    margin: 0;
    color: rgba(255, 255, 255, 0.42);
    font-size: 9px;
    line-height: 1.5;
}

.contact-form-status:not(:empty) {
    padding: 10px 12px;
    border: 1px solid rgba(92, 176, 255, 0.25);
    border-radius: 9px;
    color: #b9ddff;
    background: rgba(0, 126, 255, 0.09);
}

.contact-form-status[data-state="success"] {
    color: #b9f7d2;
    border-color: rgba(70, 211, 139, 0.34);
    background: rgba(29, 151, 91, 0.1);
}

.contact-form-status[data-state="error"] {
    color: #ffd0d0;
    border-color: rgba(255, 112, 112, 0.34);
    background: rgba(190, 45, 45, 0.1);
}

.contact-honeypot {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
}

.contact-direct {
    display: grid;
    gap: 5px;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-direct > span,
.contact-direct > small {
    color: rgba(255, 255, 255, 0.42);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.contact-direct .contact-email {
    width: fit-content;
    margin: 2px 0;
    font-size: clamp(14px, 1.2vw, 18px);
}

@media (max-width: 1100px) {
    .about-strengths {
        grid-template-columns: 1fr;
    }

    .about-strengths article {
        display: grid;
        grid-template-columns: 32px minmax(0, 0.4fr) minmax(0, 1fr);
        gap: 14px;
        align-items: start;
    }

    .about-strengths span,
    .about-strengths p {
        margin: 0;
    }

    .testimonial-grid {
        grid-template-columns: 1fr;
    }

    .testimonial-card {
        min-height: 230px;
    }
}

@media (max-width: 900px) {
    .contact-heading {
        position: static;
    }

    .contact-intro,
    .contact-expectations {
        max-width: none;
    }
}

@media (max-width: 620px) {
    .about-strengths article {
        display: block;
        padding: 16px;
    }

    .about-strengths span {
        margin-bottom: 13px;
    }

    .about-strengths p {
        margin-top: 8px;
    }

    .proof-section {
        padding: 60px 0;
    }

    .testimonial-card {
        min-height: 220px;
        padding: 22px;
    }

    .testimonial-card blockquote {
        margin: 30px 0;
    }

    .service-list article {
        min-height: 0;
        padding: 21px 18px;
    }

    .contact-routes,
    .contact-form {
        grid-template-columns: 1fr;
    }

    .contact-form-field,
    .contact-form-field:nth-of-type(3),
    .contact-form-field:nth-of-type(4),
    .contact-submit,
    .contact-form-note,
    .contact-form-status {
        grid-column: 1;
    }

    .contact-panel {
        padding: 19px;
    }

    .back-to-top.is-contact-overlap {
        opacity: 0;
        pointer-events: none;
        transform: translateY(10px);
    }
}

/* Selected work intro - wide editorial index aligned with the project scenes. */
.intro-section {
    padding: clamp(76px, 7vw, 126px) 0;
}

.intro-layout {
    --intro-edge: clamp(40px, 6vw, 300px);
    display: grid;
    width: calc(100vw - var(--intro-edge) - var(--intro-edge));
    max-width: none;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: clamp(18px, 2vw, 38px);
    row-gap: clamp(42px, 5vw, 76px);
    align-items: end;
    margin-inline: var(--intro-edge);
}

.intro-copy {
    grid-column: 1 / span 8;
}

.intro-copy h2 {
    max-width: 1080px;
}

.intro-panel {
    grid-column: 9 / -1;
    align-self: end;
    padding: 0 0 5px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
}

.intro-panel p {
    max-width: 520px;
    margin-left: auto;
    color: #536176;
    font-size: clamp(14px, 1.05vw, 18px);
    line-height: 1.6;
}

.intro-links {
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    margin-top: 0;
    border-top: 1px solid rgba(7, 17, 31, 0.16);
    border-bottom: 1px solid rgba(7, 17, 31, 0.16);
}

.intro-links a {
    position: relative;
    display: grid;
    min-width: 0;
    min-height: clamp(148px, 12vw, 205px);
    grid-template-rows: auto 1fr auto;
    gap: 14px;
    align-content: stretch;
    align-items: start;
    justify-content: stretch;
    padding: clamp(22px, 2.3vw, 36px);
    border: 0;
    border-right: 1px solid rgba(7, 17, 31, 0.16);
    border-radius: 0;
    color: var(--text);
    background: rgba(255, 255, 255, 0.24);
    text-transform: none;
    transition: color 240ms ease, background 240ms ease, transform 240ms var(--ease);
}

.intro-links a:last-child {
    border-right: 0;
}

.intro-links a::after {
    content: "↗";
    position: absolute;
    top: clamp(22px, 2.3vw, 36px);
    right: clamp(22px, 2.3vw, 36px);
    color: var(--blue);
    font-size: 18px;
    line-height: 1;
    transition: color 240ms ease, transform 240ms var(--ease);
}

.intro-links a > span {
    color: var(--blue);
    font-size: 10px;
    font-weight: 950;
    letter-spacing: 0.12em;
}

.intro-links a > strong {
    align-self: center;
    padding-right: 28px;
    font-size: clamp(23px, 2vw, 38px);
    font-weight: 900;
    line-height: 1.02;
    letter-spacing: -0.045em;
}

.intro-links a > small {
    color: #7a8799;
    font-size: 9px;
    font-weight: 850;
    line-height: 1.35;
    letter-spacing: 0.075em;
    text-transform: uppercase;
    transition: color 240ms ease;
}

.intro-links a:hover {
    z-index: 1;
    color: #fff;
    border-color: transparent;
    background: var(--blue);
    box-shadow: none;
    transform: translateY(-4px);
}

.intro-links a:hover::after,
.intro-links a:hover > span {
    color: #fff;
}

.intro-links a:hover::after {
    transform: translate(4px, -4px);
}

.intro-links a:hover > small {
    color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 900px) {
    .intro-layout {
        --intro-edge: max(16px, calc((100vw - var(--page-width)) / 2));
        width: var(--page-width);
        grid-template-columns: 1fr;
        row-gap: 28px;
        margin-inline: auto;
    }

    .intro-copy,
    .intro-panel,
    .intro-links {
        grid-column: 1;
    }

    .intro-panel {
        padding: 0;
    }

    .intro-panel p {
        max-width: 680px;
        margin-left: 0;
    }

    .intro-links {
        grid-template-columns: 1fr;
        margin-top: 10px;
    }

    .intro-links a {
        min-height: 112px;
        grid-template-columns: 34px minmax(0, 1fr);
        grid-template-rows: 1fr auto;
        gap: 6px 14px;
        align-items: center;
        padding: 20px 52px 20px 16px;
        border-right: 0;
        border-bottom: 1px solid rgba(7, 17, 31, 0.14);
    }

    .intro-links a:last-child {
        border-bottom: 0;
    }

    .intro-links a > span {
        grid-row: 1 / -1;
    }

    .intro-links a > strong {
        align-self: end;
        padding-right: 0;
        font-size: clamp(23px, 6vw, 30px);
    }

    .intro-links a > small {
        align-self: start;
    }

    .intro-links a::after {
        top: 50%;
        right: 18px;
        transform: translateY(-50%);
    }

    .intro-links a:hover {
        transform: translateX(3px);
    }

    .intro-links a:hover::after {
        transform: translate(3px, -50%);
    }
}

@media (max-width: 480px) {
    .intro-section {
        padding: 56px 0 64px;
    }

    .intro-copy h2 {
        font-size: clamp(38px, 11vw, 50px);
    }

    .intro-panel p {
        font-size: 14px;
    }

    .intro-links a {
        min-height: 104px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .intro-links a,
    .intro-links a::after,
    .intro-links a > small {
        transition: none;
    }
}

/* Capabilities: one shared 2x2 tile language for services and workflow. */
.workflow-panel {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    grid-template-columns: 1fr;
    column-gap: 0;
    height: 100%;
    padding: 0;
    overflow: visible;
    color: var(--text);
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    backdrop-filter: none;
}

.workflow-panel > .capability-label {
    grid-column: 1;
    margin: 0;
    color: var(--blue);
}

.workflow-list {
    position: relative;
    z-index: 1;
    display: grid;
    grid-column: 1;
    grid-row: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    height: 100%;
    margin: 18px 0 0;
    padding: 0;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    list-style: none;
}

.workflow-list li {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 16px;
    align-items: center;
    min-height: 0;
    padding: 23px 24px;
    background: transparent;
    border: 0;
    transition: background 220ms ease;
}

.workflow-list li:nth-child(odd) {
    border-right: 1px solid var(--line);
}

.workflow-list li:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
}

.workflow-list li:hover {
    background: rgba(0, 126, 255, 0.06);
}

.workflow-list > li > span {
    color: var(--blue);
    font-size: 10px;
    font-weight: 950;
    letter-spacing: 0.1em;
}

.workflow-list strong {
    display: block;
    color: var(--text);
    font-size: clamp(17px, 1.35vw, 21px);
    line-height: 1.15;
}

.workflow-list p {
    margin: 6px 0 0;
    color: #637083;
    font-size: 11px;
    line-height: 1.45;
}

@media (max-width: 620px) {
    .workflow-list {
        grid-template-columns: 1fr;
    }

    .workflow-list li:nth-child(odd) {
        border-right: 0;
    }

    .workflow-list li:nth-child(-n + 2) {
        border-bottom: 0;
    }

    .workflow-list li:not(:last-child) {
        border-bottom: 1px solid var(--line);
    }
}

@media (prefers-reduced-motion: reduce) {
    .workflow-list li {
        transition: none !important;
    }
}

/* Hero headline rotator. */
.hero-copy {
    max-width: min(100%, 1120px);
}

.hero-title-rotator {
    position: relative;
    display: grid;
    align-items: start;
    min-height: calc(clamp(46px, 4.9vw, 78px) * 2.18);
    max-width: 1120px;
}

.hero-title-slide {
    grid-area: 1 / 1;
    display: block;
    max-width: 1120px;
    white-space: normal;
    opacity: 0;
    translate: 0 0;
    transform: translateY(18px);
    animation: heroTitleRotate 7.2s var(--ease) infinite;
}

.hero-title-slide--create {
    animation-delay: 3.6s;
}

.hero-title-slide--create em {
    color: var(--blue);
    font-style: normal;
    text-shadow: 0 0 34px rgba(0, 126, 255, 0.45);
}

@keyframes heroTitleRotate {
    0% {
        opacity: 0;
        transform: translateY(18px);
    }

    9%,
    42% {
        opacity: 1;
        transform: translateY(0);
    }

    50%,
    100% {
        opacity: 0;
        transform: translateY(-18px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-title-slide {
        animation: none;
        opacity: 0;
        transform: none;
    }

    .hero-title-slide--design {
        opacity: 1;
    }
}

@media (max-width: 760px) {
    .hero-title-rotator {
        min-height: calc(clamp(38px, 10.4vw, 56px) * 2.35);
        justify-items: center;
        text-align: center;
    }
}

/* Keep the rotating hero title independent from the generic hero span entrance animation. */
.hero h1.hero-title-rotator .hero-title-slide {
    opacity: 0;
    translate: 0 0;
    transform: translateY(18px);
    animation-name: heroTitleRotate;
    animation-duration: 7.2s;
    animation-timing-function: var(--ease);
    animation-iteration-count: infinite;
    animation-delay: 0s;
    animation-fill-mode: both;
}

.hero h1.hero-title-rotator .hero-title-slide--create {
    animation-delay: 3.6s;
}

.hero h1.hero-title-rotator {
    min-height: calc(clamp(46px, 4.9vw, 78px) * 1.18);
}

.hero h1.hero-title-rotator + .hero-lead {
    margin-top: clamp(12px, 1.3vw, 20px);
}

@media (prefers-reduced-motion: reduce) {
    .hero h1.hero-title-rotator .hero-title-slide {
        animation: none;
        opacity: 0;
        transform: none;
    }

    .hero h1.hero-title-rotator .hero-title-slide--design {
        opacity: 1;
    }
}

@media (max-width: 760px) {
    .hero h1.hero-title-rotator {
        min-height: calc(clamp(38px, 10.4vw, 56px) * 1.3);
    }

    .hero h1.hero-title-rotator + .hero-lead {
        margin-top: 14px;
    }
}

@keyframes separatorDrift {
    from {
        background-position: 0% 0%;
    }

    to {
        background-position: 100% 42%;
    }
}

@keyframes cosmicAmbient {
    from {
        opacity: 0.92;
        filter: saturate(1);
    }

    to {
        opacity: 1;
        filter: saturate(1.12);
    }
}

@keyframes cosmicSkyBreath {
    from {
        scale: 1;
    }

    to {
        scale: 1.025;
    }
}

@keyframes frameShine {
    0% {
        opacity: 0;
        transform: translateX(-48%);
    }

    18% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform: translateX(58%);
    }
}

.process-section {
    min-height: auto;
    background:
        radial-gradient(640px 360px at 88% 16%, rgba(0, 126, 255, 0.14), transparent 72%),
        linear-gradient(180deg, #f7f9fc 0%, #eef4fb 100%);
}

.process-layout {
    display: grid;
    width: calc(100vw - var(--section-edge) - var(--section-edge));
    margin-right: var(--section-edge);
    margin-left: var(--section-edge);
    grid-template-columns: minmax(280px, 0.7fr) minmax(520px, 1.3fr);
    align-items: start;
    gap: clamp(40px, 6vw, 96px);
}

.process-heading h2 {
    max-width: 520px;
    margin: 0;
    font-size: clamp(34px, 4vw, 58px);
    line-height: 0.98;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.process-card {
    position: relative;
    min-height: 220px;
    padding: 28px;
    border: 1px solid rgba(7, 17, 31, 0.08);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: var(--shadow-soft);
    transition: transform 220ms var(--ease), border-color 220ms ease, box-shadow 220ms ease, background 220ms ease;
    overflow: hidden;
}

.process-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 3px;
    background: var(--blue);
    opacity: 0;
    transform: scaleX(0.35);
    transform-origin: left center;
    transition: opacity 220ms ease, transform 260ms var(--ease), box-shadow 260ms ease;
}

.process-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 126, 255, 0.2);
    background: #fff;
    box-shadow: var(--shadow-hover);
}

.process-card:hover::before {
    opacity: 1;
    transform: scaleX(1);
    box-shadow: 0 0 22px rgba(0, 126, 255, 0.42);
}

.process-card span {
    color: var(--blue);
    font-size: 12px;
    font-weight: 950;
    text-shadow: 0 0 18px rgba(0, 126, 255, 0.22);
}

.process-card h3 {
    margin: 46px 0 0;
    font-size: 22px;
    line-height: 1;
}

.process-card p {
    margin: 16px 0 0;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.5;
}

.contact-section {
    padding: clamp(84px, 10vw, 150px) 0;
    background:
        radial-gradient(620px 360px at 76% 20%, rgba(0, 126, 255, 0.32), transparent 72%),
        radial-gradient(500px 260px at 22% 70%, rgba(255, 255, 255, 0.08), transparent 70%),
        linear-gradient(135deg, #050b14, #0b1b2d);
    animation: contactGlow 10s ease-in-out infinite alternate;
}

.contact-layout {
    width: calc(100vw - var(--section-edge));
    max-width: 920px;
    margin-right: 0;
    margin-left: var(--section-edge);
}

.contact-layout h2 {
    margin: 0;
    font-size: clamp(42px, 6vw, 84px);
    line-height: 0.95;
}

.contact-section .button-primary:hover {
    box-shadow: 0 24px 62px rgba(0, 126, 255, 0.56);
}

@keyframes contactGlow {
    from {
        background-position: 0 0;
    }

    to {
        background-position: 38px -28px;
    }
}

.back-to-top {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 90;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    color: #fff;
    background: var(--blue);
    box-shadow: 0 14px 34px rgba(0, 126, 255, 0.32);
    font-size: 11px;
    font-weight: 950;
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    transition: opacity 180ms ease, transform 180ms ease;
}

.back-to-top.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 700ms ease, transform 900ms var(--ease);
    transition-delay: var(--delay, 0ms);
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.intro-copy.reveal {
    transform: translateY(34px);
}

.intro-panel.reveal {
    transform: translateY(24px);
}

.intro-copy.reveal.is-visible,
.intro-panel.reveal.is-visible {
    transform: translateY(0);
}

.intro-panel .intro-links a {
    opacity: 0;
    translate: 0 12px;
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background 180ms ease, opacity 420ms ease, translate 540ms var(--ease);
}

.intro-panel.is-visible .intro-links a {
    opacity: 1;
    translate: 0 0;
}

.intro-panel.is-visible .intro-links a:nth-child(1) {
    transition-delay: 120ms;
}

.intro-panel.is-visible .intro-links a:nth-child(2) {
    transition-delay: 200ms;
}

.intro-panel.is-visible .intro-links a:nth-child(3) {
    transition-delay: 280ms;
}

.intro-panel.is-visible .intro-links a:hover {
    transition-delay: 0ms;
}

.project-copy.reveal > .eyebrow,
.project-copy.reveal > h2,
.project-copy.reveal > p:not(.eyebrow),
.project-copy.reveal > .project-proof-list,
.project-copy.reveal > .tag-row,
.project-copy.reveal > .case-button {
    opacity: 0;
    translate: 0 18px;
    transition: opacity 560ms ease, translate 680ms var(--ease);
}

.project-copy--right.reveal > .eyebrow,
.project-copy--right.reveal > h2,
.project-copy--right.reveal > p:not(.eyebrow),
.project-copy--right.reveal > .project-proof-list,
.project-copy--right.reveal > .tag-row,
.project-copy--right.reveal > .case-button {
    translate: 24px 0;
}

.project-copy.reveal.is-visible > .eyebrow,
.project-copy.reveal.is-visible > h2,
.project-copy.reveal.is-visible > p:not(.eyebrow),
.project-copy.reveal.is-visible > .project-proof-list,
.project-copy.reveal.is-visible > .tag-row,
.project-copy.reveal.is-visible > .case-button {
    opacity: 1;
    translate: 0 0;
}

.project-copy.reveal.is-visible > h2 {
    transition-delay: 90ms;
}

.project-copy.reveal.is-visible > p:not(.eyebrow) {
    transition-delay: 170ms;
}

.project-copy.reveal.is-visible > .project-proof-list {
    transition-delay: 220ms;
}

.project-copy.reveal.is-visible > .tag-row {
    transition-delay: 260ms;
}

.project-copy.reveal.is-visible > .case-button {
    transition-delay: 340ms;
}

.project-copy.reveal .tag-row span {
    opacity: 0;
    translate: 0 8px;
    transition: opacity 360ms ease, translate 420ms var(--ease), color 420ms var(--ease), border-color 420ms var(--ease), background 420ms var(--ease);
}

.project-copy.reveal.is-visible .tag-row span {
    opacity: 1;
    translate: 0 0;
}

.project-copy.reveal.is-visible .tag-row span:nth-child(1) {
    transition-delay: 300ms;
}

.project-copy.reveal.is-visible .tag-row span:nth-child(2) {
    transition-delay: 360ms;
}

.project-copy.reveal.is-visible .tag-row span:nth-child(3) {
    transition-delay: 420ms;
}

.process-card.reveal {
    transform: translateY(26px);
}

.process-card.reveal.is-visible {
    transform: translateY(0);
}

.process-card.reveal.is-visible:hover {
    transform: translateY(-4px);
    transition-delay: 0ms;
}

.process-card.reveal:nth-child(2) {
    transition-delay: 100ms;
}

.process-card.reveal:nth-child(3) {
    transition-delay: 180ms;
}

.process-card.reveal:nth-child(4) {
    transition-delay: 260ms;
}

.contact-layout.reveal .eyebrow,
.contact-layout.reveal h2,
.contact-layout.reveal .actions {
    opacity: 0;
    translate: 0 18px;
    transition: opacity 560ms ease, translate 680ms var(--ease);
}

.contact-layout.reveal.is-visible .eyebrow,
.contact-layout.reveal.is-visible h2,
.contact-layout.reveal.is-visible .actions {
    opacity: 1;
    translate: 0 0;
}

.contact-layout.reveal.is-visible h2 {
    transition-delay: 90ms;
}

.contact-layout.reveal.is-visible .actions {
    transition-delay: 200ms;
}

.parallax {
    transform: translate3d(0, var(--parallax-y, 0px), 0) scale(var(--parallax-scale, 1));
    will-change: transform;
}

.hero-bg__image.parallax {
    transform: translate3d(var(--hero-bg-x, 0px), calc(var(--parallax-y, 0px) + var(--hero-bg-y, 0px)), 0) scale(var(--parallax-scale, 1));
}

.hero-bg__person.parallax {
    transform: translate3d(var(--hero-person-x, 0px), var(--hero-person-y, 0px), 0) scale(var(--parallax-scale, 1));
}

.matcha-can.parallax:hover {
    transform: translate3d(0, calc(var(--parallax-y, 0px) - 8px), 0) scale(var(--parallax-scale, 1)) rotate(1deg);
}

.matcha-can--yuzu.parallax:hover {
    transform: translate3d(0, calc(var(--parallax-y, 0px) - 8px), 0) scale(var(--parallax-scale, 1)) rotate(-3.5deg);
}

.label-modal {
    position: fixed;
    inset: 0;
    z-index: 140;
    display: grid;
    place-items: center;
    padding: clamp(20px, 4vw, 56px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 220ms ease;
}

.label-modal.is-open {
    opacity: 1;
    pointer-events: auto;
}

.label-modal__backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    background: rgba(3, 7, 13, 0.78);
    backdrop-filter: blur(14px);
}

.label-modal__dialog {
    position: relative;
    z-index: 1;
    display: grid;
    justify-items: end;
    gap: 14px;
    width: min(92vw, 980px);
    transform: translateY(18px) scale(0.98);
    transition: transform 220ms var(--ease);
}

.label-modal.is-open .label-modal__dialog {
    transform: translateY(0) scale(1);
}

.label-modal__dialog img {
    width: 100%;
    max-height: 82vh;
    object-fit: contain;
    border-radius: var(--radius-sm);
    background: #fff;
    box-shadow: 0 34px 90px rgba(0, 0, 0, 0.42);
}

.label-modal__close {
    min-height: 42px;
    padding: 0 18px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--radius-sm);
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    cursor: pointer;
}

.not-found-shell {
    min-height: 100vh;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 18px;
    padding: 32px;
    color: #fff;
    text-align: center;
    background:
        radial-gradient(620px 420px at 75% 20%, rgba(0, 126, 255, 0.45), transparent 72%),
        linear-gradient(135deg, var(--dark), #071324);
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    font-weight: 900;
}

.brand-logo {
    width: 48px;
    height: 48px;
}

.not-found-shell h1 {
    margin: 0;
    font-size: clamp(78px, 18vw, 180px);
    line-height: 0.9;
}

.not-found-shell > p:not(.eyebrow) {
    margin: 0;
    color: rgba(255, 255, 255, 0.86);
}

.button-primary {
    color: #fff;
    background: var(--blue);
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }

    .parallax {
        transform: none;
    }
}

@media (min-width: 1101px) and (max-height: 860px) {
    :root {
        --section-edge: clamp(72px, 8vw, 128px);
        --section-pad: clamp(54px, 5vw, 82px);
    }

    .hero {
        padding-top: calc(var(--header-height) + clamp(32px, 4vw, 58px));
    }

    .hero-grid {
        min-height: calc(100svh - var(--header-height) - clamp(32px, 4vw, 58px));
    }

    .hero-bg__person {
        right: clamp(72px, 8vw, 136px);
        bottom: clamp(-50px, -3vw, -22px);
        width: clamp(708px, 54.6vw, 950px);
    }

    .hero h1 {
        font-size: clamp(44px, 4.45vw, 68px);
    }

    .hero-lead {
        max-width: 800px;
        font-size: clamp(18px, 1.35vw, 22px);
    }

    .intro-section {
        padding: clamp(56px, 6vw, 88px) 0;
    }

    .intro-copy h2 {
        font-size: clamp(38px, 4.2vw, 62px);
    }

    .project-grid,
    .project-matcha .project-grid,
    .project-eafc .project-grid {
        gap: clamp(24px, 2.8vw, 52px);
    }

    .project-copy h2 {
        font-size: clamp(42px, 4.2vw, 66px);
    }

    .project-copy p:not(.eyebrow) {
        margin-top: 28px;
        font-size: clamp(17px, 1.35vw, 21px);
    }

    .tag-row {
        margin-top: 30px;
    }

    .case-button {
        min-height: 52px;
    }

    .project-visual {
        min-height: clamp(560px, 52vw, 820px);
    }

    .project-matcha .matcha-visual {
        width: min(120%, 1420px);
        max-width: calc(100vw - var(--section-edge) - 430px - clamp(24px, 2.8vw, 52px));
    }

    .project-eafc .project-copy p:not(.eyebrow) {
        font-size: clamp(17px, 1.22vw, 20px);
    }

    .eafc-visual {
        width: min(138%, 1240px);
        margin-left: clamp(54px, 7vw, 118px);
    }

    .cosmic-grid {
        grid-template-columns: minmax(420px, 0.42fr) minmax(0, 0.58fr);
    }

    .project-copy--dark {
        max-width: 700px;
        padding: clamp(26px, 3.2vw, 44px);
    }

    .zg-visual {
        min-height: clamp(520px, 46vw, 700px);
    }

    .zg-art {
        width: min(86%, 650px);
    }

    .process-card {
        min-height: 190px;
        padding: 24px;
    }

    .process-card h3 {
        margin-top: 34px;
    }

    .case-study-layout {
        grid-template-columns: minmax(280px, 0.38fr) minmax(560px, 0.62fr);
        gap: clamp(28px, 4vw, 64px);
    }

    .case-panel {
        grid-template-columns: minmax(0, 1fr);
    }

    .case-panel-visual {
        min-height: 280px;
    }
}

@media (max-width: 1100px) {
    .container {
        width: min(100%, var(--container));
        padding-right: clamp(12px, 2.5vw, 44px);
        padding-left: clamp(12px, 2.5vw, 44px);
    }

    .hero-grid,
    .intro-layout,
    .process-layout,
    .case-study-layout,
    .contact-layout {
        width: min(100%, var(--container));
        margin-right: auto;
        margin-left: auto;
    }

    .project-grid,
    .project-grid--reverse,
    .intro-layout,
    .process-layout,
    .case-study-layout {
        grid-template-columns: 1fr;
    }

    .project-grid,
    .project-grid--reverse {
        width: min(100%, var(--container));
        margin-right: auto;
        margin-left: auto;
        padding-right: clamp(12px, 2.5vw, 44px);
        padding-left: clamp(12px, 2.5vw, 44px);
    }

    .project-matcha .project-grid {
        width: min(100%, var(--container));
        margin-right: auto;
        margin-left: auto;
        padding-right: clamp(12px, 2.5vw, 44px);
        padding-left: clamp(12px, 2.5vw, 44px);
        grid-template-columns: 1fr;
    }

    .project-eafc .project-grid {
        width: min(100%, var(--container));
        margin-right: auto;
        margin-left: auto;
        padding-right: clamp(12px, 2.5vw, 44px);
        padding-left: clamp(12px, 2.5vw, 44px);
        grid-template-columns: 1fr;
    }

    .project-matcha .matcha-visual {
        width: min(112%, 1040px);
        justify-self: center;
        margin-right: 0;
        margin-left: 0;
    }

    .project-eafc .eafc-visual {
        margin-left: 0;
    }

    .cosmic-grid {
        width: min(100%, var(--container));
    }

    .project-copy--right {
        justify-self: start;
        text-align: left;
    }

    .project-copy--right .tag-row {
        justify-content: flex-start;
    }

    .project-grid--reverse .project-copy {
        order: -1;
    }

    .project-copy,
    .project-copy--right {
        max-width: 620px;
    }

    .intro-copy h2 {
        max-width: 720px;
    }

    .matcha-visual,
    .eafc-visual {
        width: min(112%, 1040px);
        justify-self: center;
        margin-left: 0;
    }

    .case-study-heading {
        position: relative;
        top: auto;
        max-width: 760px;
    }

    .case-study-heading h2,
    .case-study-heading p:not(.eyebrow) {
        max-width: 760px;
    }
}

@media (orientation: portrait) and (max-width: 1199px) {
    .container,
    .hero-grid,
    .intro-layout,
    .project-grid,
    .project-grid--reverse,
    .project-matcha .project-grid,
    .project-eafc .project-grid,
    .cosmic-grid,
    .process-layout,
    .case-study-layout,
    .contact-layout {
        width: min(100%, var(--container));
        margin-right: auto;
        margin-left: auto;
        padding-right: clamp(16px, 4vw, 44px);
        padding-left: clamp(16px, 4vw, 44px);
    }

    .hero-grid,
    .intro-layout,
    .project-grid,
    .project-grid--reverse,
    .project-matcha .project-grid,
    .project-eafc .project-grid,
    .cosmic-grid,
    .process-layout,
    .case-study-layout {
        grid-template-columns: 1fr;
        justify-items: center;
    }

    .hero-copy,
    .intro-copy,
    .intro-panel,
    .project-copy,
    .project-copy--right,
    .project-copy--dark,
    .process-heading,
    .case-study-heading,
    .contact-layout {
        justify-self: center;
        justify-items: center;
        text-align: center;
    }

    .project-copy,
    .project-copy--right,
    .project-copy--dark {
        max-width: min(100%, 720px);
    }

    .project-grid--reverse .project-copy {
        order: -1;
    }

    .actions,
    .tag-row,
    .project-copy--right .tag-row,
    .project-copy--dark .tag-row {
        justify-content: center;
    }

    .project-copy--dark .tag-row {
        flex-wrap: wrap;
    }

    .case-button {
        margin-right: auto;
        margin-left: auto;
    }

    .hero-lead,
    .intro-copy h2,
    .intro-panel p,
    .project-copy p:not(.eyebrow),
    .process-heading h2,
    .case-study-heading h2,
    .case-study-heading p:not(.eyebrow) {
        margin-right: auto;
        margin-left: auto;
    }

    .project-matcha .matcha-visual,
    .project-eafc .eafc-visual,
    .matcha-visual,
    .eafc-visual,
    .zg-visual {
        justify-self: center;
        margin-right: auto;
        margin-left: auto;
    }
}

@media (max-width: 900px) {
    :root {
        --header-height: 68px;
    }

    .section {
        min-height: auto;
        padding: clamp(72px, 10svh, 96px) 0;
    }

    .site-header {
        grid-template-columns: auto 1fr auto;
    }

    .site-nav {
        position: fixed;
        inset: var(--header-height) 16px auto;
        display: grid;
        gap: 0;
        padding: 14px;
        border: 1px solid rgba(255, 255, 255, 0.12);
        border-radius: 18px;
        background: rgba(3, 7, 13, 0.94);
        box-shadow: 0 24px 54px rgba(0, 0, 0, 0.28);
        opacity: 0;
        pointer-events: none;
        transform: translateY(-10px);
        transition: opacity 180ms ease, transform 180ms ease;
    }

    .site-nav a {
        padding: 16px;
        border-radius: 12px;
    }

    body.nav-open .site-nav {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    .header-button {
        display: none;
    }

    .nav-toggle {
        display: block;
    }

    body.nav-open .nav-toggle span:first-child {
        transform: translateY(3px) rotate(45deg);
    }

    body.nav-open .nav-toggle span:last-child {
        transform: translateY(-3px) rotate(-45deg);
    }

    .hero {
        min-height: 100svh;
        padding-top: calc(var(--header-height) + clamp(44px, 8svh, 72px));
        padding-bottom: clamp(52px, 8svh, 78px);
    }

    .hero-grid {
        grid-template-columns: 1fr;
        min-height: calc(100svh - var(--header-height) - clamp(96px, 16svh, 150px));
        align-items: center;
    }

    .hero-bg__person {
        right: -8vw;
        bottom: -18px;
        width: min(98vw, 599px);
        min-width: 0;
        opacity: 0.48;
    }

    .hero h1 {
        font-size: clamp(38px, 10.4vw, 56px);
        line-height: 1.08;
    }

    .hero h1 span {
        white-space: normal;
    }

    .hero-lead {
        max-width: 34rem;
        font-size: clamp(17px, 4.4vw, 21px);
    }

    .hero-copy,
    .intro-copy,
    .intro-panel,
    .project-copy,
    .project-copy--right,
    .process-heading,
    .contact-layout {
        justify-self: center;
        justify-items: center;
        text-align: center;
    }

    .hero-lead,
    .intro-copy h2,
    .intro-panel p,
    .project-copy p:not(.eyebrow),
    .process-heading h2 {
        margin-right: auto;
        margin-left: auto;
    }

    .actions,
    .tag-row,
    .project-copy--right .tag-row {
        justify-content: center;
    }

    .project-copy--dark .tag-row {
        flex-wrap: wrap;
    }

    .case-study-heading {
        position: relative;
        top: auto;
    }

    .case-button {
        margin-right: auto;
        margin-left: auto;
    }

    .intro-links a {
        justify-content: center;
        gap: 12px;
    }

    .hero::after {
        background:
            radial-gradient(420px 280px at 30% 42%, rgba(0, 126, 255, 0.26), transparent 70%),
            linear-gradient(90deg, rgba(3, 7, 13, 0.95), rgba(3, 7, 13, 0.72)),
            linear-gradient(180deg, rgba(3, 7, 13, 0.58), rgba(3, 7, 13, 0.94));
    }

    .project-visual,
    .zg-visual {
        min-height: 0;
    }

    .matcha-visual,
    .eafc-visual {
        min-height: 0;
        width: min(100%, 860px);
        margin-right: auto;
        margin-left: auto;
    }

    .matcha-visual {
        width: min(104%, 820px);
    }

    .zg-visual {
        padding-top: 24px;
    }

    .zg-art {
        width: min(88%, 560px);
    }

    .matcha-word {
        left: 0;
        top: 0;
        width: 100%;
        max-width: none;
    }

    .matcha-label-preview {
        grid-template-columns: auto 50px;
        min-height: 48px;
    }

    .matcha-label-preview img {
        width: 50px;
        max-height: 34px;
    }

    .matcha-can--pink {
        left: 41.7%;
        top: 5%;
    }

    .matcha-can--yuzu {
        left: 27.1%;
        top: 21.1%;
    }

    .matcha-can--blue {
        left: 57.8%;
        top: 12.8%;
    }

    .eafc-visual {
        overflow: visible;
    }

    .process-grid {
        grid-template-columns: 1fr;
    }

    .case-tabs {
        grid-template-columns: 1fr;
    }

    .case-tab {
        min-height: 58px;
    }

    .case-panel {
        grid-template-columns: 1fr;
        padding: clamp(20px, 5vw, 32px);
    }

    .case-panel-visual {
        min-height: 300px;
        order: -1;
    }

    .case-story-grid {
        grid-template-columns: 1fr;
    }

    .case-story-card {
        min-height: auto;
    }

    .case-storyline {
        grid-template-columns: 1fr;
    }

    .case-story-lede {
        min-height: auto;
    }

    .case-process-rail {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .case-process-rail div:nth-child(3) {
        border-left: 0;
        border-top: 1px solid rgba(7, 17, 31, 0.08);
    }

    .case-process-rail div:nth-child(4) {
        border-top: 1px solid rgba(7, 17, 31, 0.08);
    }
}

@media (max-width: 620px) {
    .container {
        padding: 0 16px;
    }

    .project-grid,
    .project-grid--reverse {
        padding-right: 16px;
        padding-left: 16px;
    }

    .project-matcha .project-grid {
        padding-right: 16px;
        padding-left: 16px;
    }

    .project-eafc .project-grid {
        padding-right: 16px;
        padding-left: 16px;
    }

    .project-matcha .matcha-visual {
        width: 108%;
        margin-right: 0;
        margin-left: -4%;
    }

    .actions {
        width: 100%;
    }

    .button,
    .case-button {
        width: 100%;
    }

    .hero h1,
    .project-copy h2,
    .contact-layout h2 {
        overflow-wrap: anywhere;
    }

    .project-visual,
    .zg-visual {
        min-height: 0;
    }

    .matcha-visual,
    .eafc-visual {
        min-height: 0;
        width: 100%;
        margin-left: 0;
    }

    .matcha-visual {
        width: 108%;
        margin-left: -4%;
    }

    .eafc-visual {
        width: min(100%, 560px);
    }

    .matcha-podium {
        left: 19.3%;
        top: 55.6%;
        width: 59.3%;
    }

    .matcha-can {
        width: 17.05%;
    }

    .matcha-can--pink {
        width: 15.8%;
        left: 41.7%;
        top: 5%;
    }

    .matcha-can--yuzu {
        left: 27.1%;
        top: 21.1%;
    }

    .matcha-can--blue {
        width: 16.9%;
        left: 57.8%;
        top: 12.8%;
    }

    .matcha-fruit--lemons {
        left: 15.5%;
        top: 52.5%;
        width: 22.8%;
    }

    .matcha-fruit--dragon {
        left: 43.8%;
        top: 30.5%;
        width: 14.6%;
    }

    .matcha-fruit--lavender {
        left: 62.9%;
        top: 52.1%;
        width: 29.5%;
    }

    .zg-art {
        width: min(92vw, 420px);
        border-radius: 8px;
    }

    .process-card {
        min-height: 190px;
    }

    .case-study-layout {
        padding-right: 16px;
        padding-left: 16px;
    }

    .case-study-heading h2 {
        font-size: clamp(32px, 9vw, 46px);
        line-height: 1.04;
    }

    .case-study-heading p:not(.eyebrow),
    .case-panel-copy p:not(.eyebrow) {
        font-size: 16px;
        line-height: 1.48;
    }

    .case-panel-copy h3 {
        font-size: clamp(32px, 10vw, 44px);
    }

    .case-meta span {
        grid-template-columns: 1fr;
        gap: 5px;
    }

    .case-panel-visual {
        min-height: 240px;
    }

    .case-stage-bar {
        grid-template-columns: 1fr;
        gap: 10px;
        justify-items: start;
    }

    .case-process-rail {
        grid-template-columns: 1fr;
        padding: 10px;
    }

    .case-process-rail div,
    .case-process-rail div:nth-child(3),
    .case-process-rail div:nth-child(4) {
        min-height: auto;
        border-left: 0;
        border-top: 1px solid rgba(7, 17, 31, 0.08);
    }

    .case-process-rail div:first-child {
        border-top: 0;
    }

    .case-visual-caption {
        left: 10px;
        right: 10px;
        bottom: 10px;
        min-height: 34px;
        font-size: 10px;
    }

    .case-story-beats {
        grid-template-columns: 1fr;
    }

    .case-story-beats::before {
        left: 43px;
        right: auto;
        top: 28px;
        bottom: 28px;
        width: 1px;
        height: auto;
        background: linear-gradient(180deg, rgba(var(--case-accent-rgb), 0.18), rgba(var(--case-accent-rgb), 0.5), rgba(var(--case-accent-rgb), 0.18));
    }

    .case-story-beats section {
        min-height: auto;
        padding: 28px 22px 28px 86px;
    }

    .case-story-beats section + section {
        border-top: 1px solid rgba(7, 17, 31, 0.08);
        border-left: 0;
    }

    .case-story-beats section::before {
        left: 24px;
        top: 26px;
    }
}

@media (max-width: 430px) {
    .site-header {
        padding-right: 14px;
        padding-left: 14px;
    }

    .hero-copy,
    .project-copy,
    .intro-panel,
    .process-heading,
    .contact-layout {
        max-width: 100%;
    }

    .hero h1 {
        font-size: clamp(36px, 11.2vw, 48px);
    }

    .intro-copy h2,
    .project-copy h2 {
        font-size: clamp(34px, 10vw, 46px);
        line-height: 1.04;
    }

    .project-copy p:not(.eyebrow),
    .intro-panel p {
        font-size: 17px;
        line-height: 1.42;
    }

    .tag-row {
        gap: 8px;
        margin-top: 28px;
    }

    .tag-row span {
        min-height: 30px;
        padding-right: 13px;
        padding-left: 13px;
        font-size: 12px;
    }

    .case-button {
        min-height: 50px;
    }

    .matcha-label-preview {
        display: none;
    }

    .cosmic-bg__rocks {
        min-width: 1040px;
        opacity: 0.5;
    }

    .case-study-layout {
        padding-right: 14px;
        padding-left: 14px;
    }

    .case-tab {
        padding-right: 14px;
        padding-left: 14px;
    }

    .case-panel {
        padding: 18px;
    }

    .case-panel-visual {
        min-height: 210px;
    }

    .case-panel-visual--zg img:nth-of-type(3) {
        width: 100%;
    }
}

/* Final visual composition fix for the interactive case scenes. */
.case-panel .case-panel-visual {
    grid-template-columns: 1fr;
}

.case-panel .case-panel-visual .case-visual-stage {
    isolation: isolate;
}

.case-panel .case-panel-visual .case-visual-stage > img {
    position: absolute;
    inset: auto;
    width: auto;
    height: auto;
    max-width: 82%;
    max-height: 78%;
    aspect-ratio: auto;
    object-fit: contain;
    opacity: 0.2;
    transform: translate3d(0, 0, 0) scale(0.92);
    filter: saturate(0.76) drop-shadow(0 16px 22px rgba(7, 17, 31, 0.12));
}

.case-panel .case-panel-visual .case-visual-stage > img.is-featured {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    filter: saturate(1.04) drop-shadow(0 26px 36px rgba(7, 17, 31, 0.18));
}

.case-panel-visual--matcha .case-visual-stage > img:nth-of-type(1) {
    left: 22%;
    top: 13%;
    height: 56%;
}

.case-panel-visual--matcha .case-visual-stage > img:nth-of-type(2) {
    right: 22%;
    top: 13%;
    height: 56%;
}

.case-panel-visual--matcha .case-visual-stage > img:nth-of-type(3) {
    left: 21%;
    bottom: 16%;
    width: 58%;
}

.case-panel-visual--eafc .case-visual-stage > img:nth-of-type(1) {
    left: 9%;
    top: 27%;
    height: 48%;
}

.case-panel-visual--eafc .case-visual-stage > img:nth-of-type(2) {
    left: 36%;
    top: 9%;
    z-index: 2;
    height: 72%;
}

.case-panel-visual--eafc .case-visual-stage > img:nth-of-type(3) {
    right: 9%;
    top: 27%;
    height: 48%;
}

.case-panel-visual--zg .case-visual-stage > img:nth-of-type(1) {
    left: 8%;
    top: 11%;
    width: 38%;
    max-height: 62%;
}

.case-panel-visual--zg .case-visual-stage > img:nth-of-type(2) {
    left: 12%;
    right: auto;
    bottom: 14%;
    width: 76%;
    max-height: 42%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.case-panel-visual--zg .case-visual-stage > img:nth-of-type(3) {
    right: 8%;
    top: 11%;
    z-index: 2;
    width: 38%;
    max-height: 62%;
}

@media (max-width: 620px) {
    .case-panel .case-panel-visual .case-visual-stage > img {
        max-width: 86%;
        max-height: 72%;
    }

    .case-panel-visual--matcha .case-visual-stage > img:nth-of-type(1) {
        left: 18%;
        height: 54%;
    }

    .case-panel-visual--matcha .case-visual-stage > img:nth-of-type(2) {
        right: 18%;
        height: 54%;
    }

    .case-panel-visual--matcha .case-visual-stage > img:nth-of-type(3) {
        left: 14%;
        width: 72%;
    }

    .case-panel-visual--eafc .case-visual-stage > img:nth-of-type(1) {
        left: 5%;
        height: 45%;
    }

    .case-panel-visual--eafc .case-visual-stage > img:nth-of-type(2) {
        left: 33%;
        height: 68%;
    }

    .case-panel-visual--eafc .case-visual-stage > img:nth-of-type(3) {
        right: 5%;
        height: 45%;
    }

    .case-panel-visual--zg .case-visual-stage > img:nth-of-type(1),
    .case-panel-visual--zg .case-visual-stage > img:nth-of-type(3) {
        width: 42%;
    }

    .case-panel-visual--zg .case-visual-stage > img:nth-of-type(2) {
        left: 8%;
        width: 84%;
    }
}

/* Recruiter-first case study flow. */
.case-study-layout {
    grid-template-columns: minmax(280px, 0.32fr) minmax(0, 0.68fr);
    gap: clamp(28px, 4vw, 72px);
}

.case-study-heading {
    max-width: 520px;
}

.case-study-heading h2 {
    font-size: clamp(36px, 4.2vw, 62px);
    line-height: 1;
}

.case-study-heading p:not(.eyebrow) {
    margin-top: 22px;
    font-size: clamp(16px, 1.05vw, 18px);
}

.case-study-shell {
    gap: 12px;
    padding: clamp(14px, 1.4vw, 20px);
    border: 1px solid rgba(7, 17, 31, 0.08);
    border-radius: 14px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(248, 251, 255, 0.82)),
        radial-gradient(680px 300px at 100% 0%, rgba(var(--case-accent-rgb), 0.1), transparent 68%);
    box-shadow: 0 28px 80px rgba(7, 17, 31, 0.1);
}

.case-guide {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    padding: 4px 4px 10px;
    color: #475569;
    font-size: 13px;
    line-height: 1.35;
}

.case-guide span {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    color: var(--case-accent);
    background: rgba(var(--case-accent-rgb), 0.08);
    font-size: 10px;
    font-weight: 950;
    text-transform: uppercase;
}

.case-guide strong {
    font-size: 14px;
}

.case-stage-bar {
    grid-template-columns: auto minmax(0, 1fr) auto;
    min-height: 56px;
    padding: 10px;
}

.case-stage-bar em {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 11px;
    border: 1px solid rgba(7, 17, 31, 0.08);
    border-radius: 999px;
    color: #475569;
    background: #f8fafc;
    font-size: 11px;
    font-style: normal;
    font-weight: 900;
    text-transform: uppercase;
    white-space: nowrap;
}

.case-tabs {
    padding: 4px;
    border: 1px solid rgba(7, 17, 31, 0.08);
    border-radius: 12px;
    background: #f8fafc;
}

.case-tab {
    min-height: 60px;
    border-color: transparent;
    background: transparent;
    box-shadow: none;
}

.case-tab:hover,
.case-tab.is-active {
    transform: none;
    background: #fff;
    box-shadow: 0 12px 30px rgba(7, 17, 31, 0.08);
}

.case-panel {
    grid-template-columns: minmax(320px, 0.4fr) minmax(0, 0.6fr);
    gap: clamp(18px, 2.4vw, 34px);
    padding: clamp(18px, 2vw, 28px);
    border-radius: 12px;
    box-shadow: none;
}

.case-panel-copy h3 {
    font-size: clamp(30px, 3.4vw, 50px);
}

.case-panel-copy p:not(.eyebrow) {
    margin-top: 16px;
    font-size: 16px;
}

.case-story-player {
    gap: 16px;
}

.case-story-steps {
    gap: 8px;
    margin-top: 0;
}

.case-step {
    grid-template-columns: 38px minmax(0, 1fr);
    min-height: 64px;
    padding: 10px 12px;
}

.case-step strong,
.case-step small {
    display: block;
    grid-column: 2;
}

.case-step strong {
    color: inherit;
    font-size: 13px;
    line-height: 1.1;
}

.case-step small {
    margin-top: 4px;
    color: #64748b;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
    text-transform: none;
}

.case-step span {
    grid-row: 1 / 3;
}

.case-step.is-active small {
    color: #475569;
}

.case-story-detail {
    min-height: 0;
    padding: clamp(20px, 2vw, 28px);
}

.case-story-detail strong {
    font-size: clamp(22px, 2.15vw, 34px);
    line-height: 1.08;
}

.case-recruiter-note {
    display: grid;
    gap: 8px;
    padding: 16px 18px;
    border: 1px solid rgba(var(--case-accent-rgb), 0.18);
    border-radius: 10px;
    background: rgba(var(--case-accent-rgb), 0.055);
}

.case-recruiter-note span {
    color: var(--case-accent);
    font-size: 11px;
    font-weight: 950;
    text-transform: uppercase;
}

.case-recruiter-note p {
    margin: 0;
    color: #334155;
    font-size: 14px;
    line-height: 1.45;
}

.case-panel > .case-panel-visual {
    min-height: clamp(500px, 37vw, 620px);
    border-radius: 12px;
}

.case-flow-controls {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    padding: 4px;
    border: 1px solid rgba(7, 17, 31, 0.08);
    border-radius: 12px;
    background: #fff;
}

.case-flow-button {
    min-height: 48px;
    padding: 0 18px;
    border: 1px solid rgba(7, 17, 31, 0.1);
    border-radius: 9px;
    color: #334155;
    background: #f8fafc;
    font-size: 12px;
    font-weight: 950;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform 180ms ease, border-color 180ms ease, color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.case-flow-button:hover {
    transform: translateY(-1px);
    border-color: rgba(var(--case-accent-rgb), 0.24);
    color: var(--text);
    background: #fff;
    box-shadow: 0 14px 30px rgba(7, 17, 31, 0.08);
}

.case-flow-button:disabled {
    cursor: not-allowed;
    opacity: 0.45;
    transform: none;
    box-shadow: none;
}

.case-flow-button--primary {
    justify-self: end;
    color: #fff;
    border-color: transparent;
    background: var(--case-accent);
}

.case-flow-button--primary:hover {
    color: #fff;
    background: var(--case-accent);
    box-shadow: 0 16px 34px rgba(var(--case-accent-rgb), 0.2);
}

.case-flow-dots {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0 8px;
}

.case-flow-dots span {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: rgba(100, 116, 139, 0.25);
    transition: width 220ms var(--ease), background 180ms ease;
}

.case-flow-dots span.is-active {
    width: 28px;
    background: var(--case-accent);
}

@media (max-width: 1100px) {
    .case-study-layout {
        grid-template-columns: 1fr;
    }

    .case-study-heading {
        position: relative;
        top: auto;
        max-width: 780px;
    }
}

@media (max-width: 820px) {
    .case-stage-bar,
    .case-panel,
    .case-guide {
        grid-template-columns: 1fr;
    }

    .case-tabs {
        grid-template-columns: 1fr;
    }

    .case-panel > .case-panel-visual {
        min-height: 420px;
    }

    .case-flow-controls {
        grid-template-columns: 1fr;
    }

    .case-flow-dots,
    .case-flow-button--primary {
        justify-self: stretch;
    }

    .case-flow-dots {
        justify-content: center;
        order: -1;
        min-height: 34px;
    }
}

@media (max-width: 520px) {
    .case-study-shell {
        padding: 10px;
    }

    .case-panel {
        padding: 14px;
    }

    .case-step {
        min-height: 58px;
    }

    .case-panel > .case-panel-visual {
        min-height: 340px;
    }
}

/* Case study modal viewer. */
body.case-modal-open {
    overflow: hidden;
}

.case-study-modal {
    position: fixed;
    inset: 0;
    z-index: 220;
    display: grid;
    place-items: center;
    padding: clamp(14px, 2.2vw, 34px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 220ms ease, visibility 220ms ease;
}

.case-study-modal.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.case-modal-backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    background:
        radial-gradient(820px 420px at 72% 12%, rgba(var(--case-accent-rgb), 0.22), transparent 68%),
        rgba(3, 7, 13, 0.68);
    backdrop-filter: blur(12px);
    cursor: pointer;
}

.case-study-modal .case-study-backdrop {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.case-study-dialog {
    position: relative;
    z-index: 1;
    width: min(1180px, calc(100vw - 28px));
    max-height: min(860px, calc(100vh - 28px));
    overflow: auto;
    overscroll-behavior: contain;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 16px;
    background: #f8fbff;
    box-shadow: 0 38px 120px rgba(0, 0, 0, 0.36);
}

.case-modal-close {
    position: sticky;
    top: 12px;
    left: 100%;
    z-index: 8;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 76px;
    min-height: 38px;
    margin: 12px 12px -50px auto;
    border: 1px solid rgba(7, 17, 31, 0.1);
    border-radius: 999px;
    color: #334155;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 14px 34px rgba(7, 17, 31, 0.12);
    font-size: 11px;
    font-weight: 950;
    text-transform: uppercase;
    cursor: pointer;
}

.case-modal-close:hover {
    color: var(--text);
    background: #fff;
}

.case-study-modal .case-study-shell {
    gap: 10px;
    padding: clamp(14px, 1.5vw, 22px);
    border: 0;
    border-radius: 16px;
    background:
        linear-gradient(180deg, #fff, #f8fbff),
        radial-gradient(520px 220px at 100% 0%, rgba(var(--case-accent-rgb), 0.12), transparent 72%);
    box-shadow: none;
}

.case-study-modal .case-tabs {
    display: none;
}

.case-study-modal .case-stage-bar {
    margin-right: 90px;
}

.case-study-modal .case-panel {
    grid-template-columns: minmax(300px, 0.36fr) minmax(0, 0.64fr);
    padding: clamp(16px, 1.6vw, 24px);
    border-color: rgba(7, 17, 31, 0.08);
}

.case-study-modal .case-panel-copy h3 {
    font-size: clamp(28px, 3vw, 42px);
}

.case-study-modal .case-panel-copy p:not(.eyebrow) {
    max-width: 420px;
    margin-top: 12px;
    font-size: 15px;
    line-height: 1.42;
}

.case-study-modal .case-step {
    min-height: 56px;
}

.case-study-modal .case-story-detail {
    padding: clamp(18px, 1.8vw, 24px);
}

.case-study-modal .case-story-detail strong {
    font-size: clamp(21px, 2vw, 30px);
}

.case-study-modal .case-story-detail p,
.case-study-modal .case-recruiter-note p {
    font-size: 14px;
    line-height: 1.42;
}

.case-study-modal .case-recruiter-note {
    padding: 14px 16px;
}

.case-study-modal .case-panel > .case-panel-visual {
    min-height: clamp(440px, 35vw, 600px);
}

.case-study-modal .case-flow-controls {
    box-shadow: inset 0 0 0 1px rgba(7, 17, 31, 0.02);
}

@media (max-width: 900px) {
    .case-study-dialog {
        max-height: calc(100vh - 20px);
    }

    .case-study-modal .case-stage-bar {
        margin-right: 0;
    }

    .case-modal-close {
        position: relative;
        top: auto;
        margin-bottom: -8px;
    }

    .case-study-modal .case-panel {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .case-study-modal {
        padding: 8px;
    }

    .case-study-dialog {
        width: calc(100vw - 16px);
        max-height: calc(100vh - 16px);
        border-radius: 12px;
    }

    .case-study-modal .case-study-shell {
        padding: 10px;
    }

    .case-study-modal .case-panel {
        padding: 12px;
    }

    .case-study-modal .case-panel > .case-panel-visual {
        min-height: 320px;
    }
}

/* Depth pass for the case study viewer. */

.case-study-modal {
    --case-accent: var(--green);
    --case-accent-rgb: 79, 150, 63;
}

.case-study-modal[data-active-case="eafc"] {
    --case-accent: var(--blue);
    --case-accent-rgb: 0, 126, 255;
}

.case-study-modal[data-active-case="zg"] {
    --case-accent: var(--gold);
    --case-accent-rgb: 240, 199, 101;
}

.case-study-dialog {
    transform: translateY(18px) scale(0.98);
    opacity: 0;
    transition: transform 260ms var(--ease), opacity 220ms ease;
}

.case-study-modal.is-open .case-study-dialog {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.case-study-dialog::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    border-radius: inherit;
    pointer-events: none;
    background:
        radial-gradient(620px 260px at 82% 0%, rgba(var(--case-accent-rgb), 0.16), transparent 70%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0));
}

.case-study-dialog > * {
    position: relative;
    z-index: 1;
}

.case-study-modal .case-stage-bar {
    border-color: rgba(var(--case-accent-rgb), 0.2);
    box-shadow:
        0 16px 44px rgba(var(--case-accent-rgb), 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.case-study-modal .case-panel {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 251, 255, 0.9)),
        radial-gradient(520px 260px at 100% 16%, rgba(var(--case-accent-rgb), 0.08), transparent 68%);
    box-shadow:
        0 18px 54px rgba(7, 17, 31, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.case-study-modal .case-panel > .case-panel-visual {
    background:
        radial-gradient(520px 300px at 52% 34%, rgba(var(--case-accent-rgb), 0.16), transparent 68%),
        linear-gradient(145deg, rgba(255, 255, 255, 0.72), rgba(236, 244, 255, 0.48));
    box-shadow:
        inset 0 0 0 1px rgba(var(--case-accent-rgb), 0.14),
        inset 0 -50px 90px rgba(7, 17, 31, 0.06),
        0 28px 70px rgba(7, 17, 31, 0.1);
}

.case-study-modal .case-panel-visual--zg {
    background:
        radial-gradient(520px 300px at 54% 34%, rgba(240, 199, 101, 0.22), transparent 68%),
        linear-gradient(145deg, #120d25, #30274e 58%, #0c111d);
}

.case-study-modal .case-visual-stage::after {
    content: "";
    position: absolute;
    left: 16%;
    right: 16%;
    bottom: 12%;
    height: 15%;
    border-radius: 50%;
    background: radial-gradient(ellipse at center, rgba(7, 17, 31, 0.18), transparent 72%);
    filter: blur(18px);
    opacity: 0.58;
    pointer-events: none;
}

.case-study-modal .case-panel .case-visual-stage > img.is-featured {
    filter:
        saturate(1.08)
        drop-shadow(0 30px 42px rgba(7, 17, 31, 0.22))
        drop-shadow(0 0 34px rgba(var(--case-accent-rgb), 0.12));
}

.case-study-modal .case-story-detail,
.case-study-modal .case-recruiter-note,
.case-study-modal .case-flow-controls {
    box-shadow:
        0 14px 34px rgba(7, 17, 31, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.86);
}

.case-study-modal .case-step.is-active {
    box-shadow:
        0 16px 36px rgba(var(--case-accent-rgb), 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

/* Final case-study and motion performance pass. */
.motion-managed .hero:not(.is-motion-active) .hero-bg__image,
.motion-managed .hero:not(.is-motion-active) .hero-bg__person,
.motion-managed .hero:not(.is-motion-active) .hero-title-slide,
.motion-managed .cosmic-transition:not(.is-motion-active) span,
.motion-managed .project-cosmic:not(.is-motion-active)::after,
.motion-managed .project-cosmic:not(.is-motion-active) .cosmic-bg__sky,
.motion-managed .contact-section:not(.is-motion-active) {
    animation-play-state: paused;
}

.motion-managed .parallax {
    will-change: auto;
}

.motion-managed .parallax.is-parallax-active {
    will-change: transform;
}

.case-study-dialog {
    max-height: min(880px, calc(100dvh - 28px));
    min-width: 0;
    scrollbar-gutter: stable;
    scrollbar-width: thin;
    scrollbar-color: rgba(var(--case-accent-rgb), 0.42) transparent;
}

.case-study-dialog > .case-modal-close {
    position: absolute;
    top: 14px;
    left: auto;
    right: 14px;
    z-index: 20;
    margin: 0;
}

.case-study-modal .case-study-shell {
    gap: 12px;
    min-width: 0;
}

.case-study-modal .case-stage-bar {
    min-height: 60px;
    margin-right: 88px;
    border-radius: 12px;
}

.case-study-modal .case-stage-bar strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.case-study-modal .case-tabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 5px;
    padding: 5px;
    overflow: hidden;
}

.case-study-modal .case-tab {
    min-height: 52px;
    padding: 8px 14px;
    border-radius: 8px;
    transition: color 180ms ease, background-color 180ms ease, box-shadow 220ms ease;
}

.case-study-modal .case-tab::after {
    left: 14px;
    right: 14px;
    bottom: 5px;
}

.case-study-modal .case-tab:hover,
.case-study-modal .case-tab.is-active {
    box-shadow: 0 8px 22px rgba(7, 17, 31, 0.07);
}

.case-study-modal .case-panel {
    min-width: 0;
    overflow: hidden;
    border-radius: 14px;
}

.case-study-modal .case-story-player {
    min-width: 0;
    align-content: start;
}

.case-study-modal .case-story-detail {
    transition: border-color 180ms ease, background-color 180ms ease;
}

.case-study-modal .case-panel > .case-panel-visual {
    min-width: 0;
    isolation: isolate;
    overflow: hidden;
}

.case-study-modal .case-panel .case-visual-stage > img,
.case-study-modal .case-panel .case-visual-stage > img.is-featured {
    filter: saturate(1.02) drop-shadow(0 24px 32px rgba(7, 17, 31, 0.17));
    transition: opacity 260ms ease, transform 380ms var(--ease);
    will-change: auto;
}

.case-study-modal.is-open .case-panel .case-visual-stage > img,
.case-study-modal.is-open .case-panel .case-visual-stage > img.is-featured {
    will-change: opacity, transform;
}

.case-study-modal .case-visual-stage::after {
    filter: none;
    background: radial-gradient(ellipse at center, rgba(7, 17, 31, 0.16), transparent 72%);
}

.case-study-modal .case-visual-caption {
    transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.case-study-modal .case-flow-controls {
    position: sticky;
    bottom: 10px;
    z-index: 7;
    background: rgba(255, 255, 255, 0.94);
    box-shadow:
        0 18px 50px rgba(7, 17, 31, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.case-study-modal .case-flow-button {
    transition: transform 180ms ease, border-color 180ms ease, color 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.case-modal-backdrop {
    backdrop-filter: blur(7px);
}

@media (max-width: 900px) {
    .case-study-dialog {
        max-height: calc(100dvh - 20px);
    }

    .case-study-modal .case-stage-bar {
        grid-template-columns: minmax(0, 1fr) auto;
        margin-right: 0;
    }

    .case-study-modal .case-stage-bar span {
        grid-column: 1;
        grid-row: 1;
    }

    .case-study-modal .case-stage-bar em {
        grid-column: 2;
        grid-row: 1;
    }

    .case-study-modal .case-stage-bar strong {
        grid-column: 1 / -1;
        grid-row: 2;
        white-space: normal;
    }

    .case-study-modal .case-tabs {
        grid-template-columns: repeat(3, minmax(148px, 1fr));
        overflow-x: auto;
        overscroll-behavior-inline: contain;
        scroll-snap-type: x proximity;
        scrollbar-width: none;
    }

    .case-study-modal .case-tabs::-webkit-scrollbar {
        display: none;
    }

    .case-study-modal .case-tab {
        scroll-snap-align: start;
    }

    .case-study-modal .case-panel > .case-panel-visual {
        min-height: clamp(360px, 66vw, 500px);
    }
}

@media (max-width: 560px) {
    .case-study-dialog {
        max-height: calc(100dvh - 16px);
    }

    .case-modal-backdrop {
        backdrop-filter: blur(4px);
    }

    .case-modal-close {
        top: 0;
        width: 68px;
        min-height: 36px;
        margin: 9px 9px -2px auto;
    }

    .case-study-modal .case-stage-bar {
        padding: 10px;
    }

    .case-study-modal .case-tabs {
        grid-template-columns: repeat(3, minmax(138px, 1fr));
    }

    .case-study-modal .case-story-steps {
        display: grid;
        grid-auto-flow: column;
        grid-auto-columns: minmax(154px, 1fr);
        overflow-x: auto;
        overscroll-behavior-inline: contain;
        scroll-snap-type: x proximity;
        scrollbar-width: none;
    }

    .case-study-modal .case-story-steps::-webkit-scrollbar {
        display: none;
    }

    .case-study-modal .case-step {
        min-height: 62px;
        scroll-snap-align: start;
    }

    .case-study-modal .case-step:hover,
    .case-study-modal .case-step.is-active {
        transform: none;
    }

    .case-study-modal .case-story-detail strong {
        font-size: clamp(21px, 6.6vw, 28px);
    }

    .case-study-modal .case-panel > .case-panel-visual {
        min-height: clamp(300px, 88vw, 390px);
    }

    .case-study-modal .case-flow-controls {
        bottom: 6px;
        grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
        gap: 6px;
    }

    .case-study-modal .case-flow-dots {
        order: 0;
        min-height: 0;
        padding: 0 2px;
    }

    .case-study-modal .case-flow-button,
    .case-study-modal .case-flow-button--primary {
        justify-self: stretch;
        min-height: 44px;
        padding: 0 10px;
        font-size: 10px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .case-study-modal .case-panel .case-visual-stage > img,
    .case-study-modal .case-panel .case-visual-stage > img.is-featured,
    .case-study-modal.is-open .case-panel .case-visual-stage > img,
    .case-study-modal.is-open .case-panel .case-visual-stage > img.is-featured {
        will-change: auto;
    }
}

/* Editorial case-study redesign. */
.case-study-modal {
    --case-header: #07111f;
    --case-header-soft: #102033;
    --case-stage-a: #f2f8ef;
    --case-stage-b: #d9ead5;
    --case-accent-ink: #fff;
}

.case-study-modal[data-active-case="eafc"] {
    --case-header: #06152a;
    --case-header-soft: #0b2b50;
    --case-stage-a: #061426;
    --case-stage-b: #103b68;
}

.case-study-modal[data-active-case="zg"] {
    --case-header: #100c1c;
    --case-header-soft: #2d2049;
    --case-stage-a: #0e091c;
    --case-stage-b: #382653;
    --case-accent-ink: #241a08;
}

.case-modal-backdrop {
    background:
        radial-gradient(900px 520px at 72% 8%, rgba(var(--case-accent-rgb), 0.2), transparent 66%),
        rgba(2, 7, 13, 0.78);
}

.case-study-dialog {
    width: min(1280px, calc(100vw - 32px));
    max-height: min(920px, calc(100dvh - 24px));
    border-radius: 24px;
    background: #edf1f5;
    box-shadow: 0 44px 140px rgba(0, 0, 0, 0.46);
}

.case-study-dialog::before {
    background: radial-gradient(700px 300px at 88% -8%, rgba(var(--case-accent-rgb), 0.18), transparent 72%);
}

.case-study-dialog > .case-modal-close {
    top: 22px;
    right: 22px;
    width: 76px;
    min-height: 36px;
    border-color: rgba(255, 255, 255, 0.16);
    color: rgba(255, 255, 255, 0.82);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: none;
    backdrop-filter: blur(8px);
}

.case-study-dialog > .case-modal-close::before {
    content: "\00d7";
    margin-right: 6px;
    font-size: 17px;
    font-weight: 500;
}

.case-study-dialog > .case-modal-close:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.16);
}

.case-study-modal .case-study-shell {
    gap: 10px;
    padding: 14px;
    background: transparent;
}

.case-study-modal .case-stage-bar {
    grid-template-columns: auto minmax(0, 1fr) auto;
    min-height: 64px;
    margin-right: 0;
    padding: 10px 116px 10px 12px;
    border: 0;
    border-radius: 14px;
    color: #fff;
    background:
        radial-gradient(420px 160px at 78% 0%, rgba(var(--case-accent-rgb), 0.15), transparent 74%),
        linear-gradient(110deg, var(--case-header), var(--case-header-soft));
    box-shadow: 0 16px 36px rgba(7, 17, 31, 0.18);
}

.case-study-modal .case-stage-bar span {
    min-height: 36px;
    border-color: rgba(var(--case-accent-rgb), 0.48);
    color: var(--case-accent-ink);
    background: var(--case-accent);
}

.case-study-modal .case-stage-bar strong {
    color: #fff;
    font-size: clamp(16px, 1.35vw, 20px);
}

.case-study-modal .case-stage-bar em {
    min-width: 94px;
    justify-content: center;
    border-color: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.72);
    background: rgba(255, 255, 255, 0.07);
}

.case-study-modal .case-tabs {
    gap: 4px;
    padding: 4px;
    border: 0;
    border-radius: 12px;
    background: #dfe5eb;
}

.case-study-modal .case-tab {
    min-height: 48px;
    padding: 7px 14px 8px;
    border: 0;
    border-radius: 9px;
    color: #536174;
    background: transparent;
}

.case-study-modal .case-tab span {
    color: var(--case-accent);
}

.case-study-modal .case-tab::after {
    left: 14px;
    right: calc(100% - 42px);
    bottom: 6px;
    height: 2px;
    background: var(--case-accent);
    transition: right 240ms var(--ease);
}

.case-study-modal .case-tab:hover,
.case-study-modal .case-tab.is-active {
    color: #111b2a;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 6px 18px rgba(7, 17, 31, 0.08);
}

.case-study-modal .case-tab.is-active::after {
    right: 14px;
}

.case-study-modal .case-panel {
    grid-template-columns: minmax(350px, 0.36fr) minmax(0, 0.64fr);
    gap: 0;
    min-height: clamp(560px, calc(100dvh - 276px), 630px);
    padding: 0;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 18px 48px rgba(7, 17, 31, 0.08);
}

.case-study-modal .case-story-player {
    order: 1;
    gap: 14px;
    padding: clamp(24px, 2.2vw, 34px);
    background: linear-gradient(180deg, rgba(var(--case-accent-rgb), 0.04), transparent 42%), #fff;
}

.case-study-modal .case-panel-copy .eyebrow {
    color: var(--case-accent);
    font-size: 11px;
}

.case-study-modal .case-panel-copy h3 {
    margin-top: 10px;
    font-size: clamp(36px, 3.35vw, 52px);
    line-height: 0.94;
    letter-spacing: -0.035em;
}

.case-study-modal .case-panel-copy p:not(.eyebrow) {
    margin-top: 13px;
    color: #68768a;
    font-size: 15px;
}

.case-study-modal .case-story-steps {
    gap: 4px;
    margin: 2px 0 0;
    padding: 4px;
    border-radius: 12px;
    background: #f1f4f7;
}

.case-study-modal .case-step {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 9px;
    min-height: 54px;
    padding: 8px 10px;
    border: 0;
    border-radius: 9px;
    color: #5d6a7c;
    background: transparent;
    box-shadow: none;
}

.case-study-modal .case-step span {
    width: 30px;
    height: 30px;
    background: #fff;
}

.case-study-modal .case-step strong {
    font-size: 12px;
}

.case-study-modal .case-step small {
    margin-top: 2px;
    font-size: 11px;
}

.case-study-modal .case-step:hover,
.case-study-modal .case-step.is-active {
    transform: none;
    color: #111b2a;
    background: #fff;
    box-shadow: 0 8px 22px rgba(7, 17, 31, 0.07);
}

.case-study-modal .case-story-detail {
    gap: 9px;
    min-height: 0;
    padding: clamp(18px, 1.8vw, 24px);
    border: 0;
    border-left: 3px solid var(--case-accent);
    border-radius: 0 10px 10px 0;
    background: #f4f7f9;
    box-shadow: none;
}

.case-study-modal .case-story-detail strong {
    font-size: clamp(24px, 2vw, 31px);
    line-height: 1.02;
    letter-spacing: -0.025em;
}

.case-study-modal .case-story-detail p {
    color: #667489;
    font-size: 13px;
    line-height: 1.46;
}

.case-study-modal .case-recruiter-note {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border: 0;
    background: rgba(var(--case-accent-rgb), 0.08);
    box-shadow: none;
}

.case-study-modal .case-recruiter-note span {
    padding-right: 12px;
    border-right: 1px solid rgba(var(--case-accent-rgb), 0.24);
    white-space: nowrap;
}

.case-study-modal .case-recruiter-note p {
    color: #536174;
    font-size: 12px;
    line-height: 1.38;
}

.case-study-modal .case-panel > .case-panel-visual {
    order: 2;
    min-height: inherit;
    border: 0;
    border-left: 1px solid rgba(7, 17, 31, 0.08);
    border-radius: 0;
    background: radial-gradient(560px 380px at 50% 35%, rgba(var(--case-accent-rgb), 0.25), transparent 70%), linear-gradient(145deg, var(--case-stage-a), var(--case-stage-b));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.case-study-modal .case-panel-visual--matcha {
    background: radial-gradient(520px 360px at 52% 34%, rgba(255, 255, 255, 0.92), transparent 64%), radial-gradient(340px 240px at 18% 82%, rgba(211, 187, 0, 0.16), transparent 70%), linear-gradient(145deg, #f2f8ef, #d9ead5);
}

.case-study-modal .case-panel-visual--eafc {
    background: radial-gradient(520px 380px at 52% 36%, rgba(57, 154, 255, 0.26), transparent 66%), linear-gradient(145deg, #061426, #103b68 58%, #07182d);
}

.case-study-modal .case-panel-visual--zg {
    background: radial-gradient(520px 370px at 52% 36%, rgba(240, 199, 101, 0.2), transparent 66%), linear-gradient(145deg, #0e091c, #382653 58%, #110c20);
}

.case-study-modal .case-visual-grid {
    opacity: 0.16;
    background-size: 42px 42px;
}

.case-study-modal .case-visual-stage::before {
    inset: 50% auto auto 50%;
    width: 72%;
    height: auto;
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.14), transparent 68%);
    opacity: 0.72;
    transform: translate(-50%, -50%);
}

.case-study-modal .case-panel .case-visual-stage > img {
    opacity: 0.1;
    filter: saturate(0.86) drop-shadow(0 18px 28px rgba(0, 0, 0, 0.2));
}

.case-study-modal .case-panel .case-visual-stage > img.is-featured {
    opacity: 1;
    filter: saturate(1.08) drop-shadow(0 30px 44px rgba(0, 0, 0, 0.28));
}

.case-study-modal .case-visual-caption {
    left: 22px;
    right: 22px;
    bottom: 20px;
    min-height: 38px;
    border-color: rgba(255, 255, 255, 0.14);
    color: #fff;
    background: rgba(5, 13, 23, 0.7);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.16);
    backdrop-filter: blur(8px);
}

.case-study-modal .case-visual-caption::before {
    content: "";
    width: 6px;
    height: 6px;
    margin-right: 8px;
    border-radius: 50%;
    background: var(--case-accent);
    box-shadow: 0 0 14px rgba(var(--case-accent-rgb), 0.8);
}

.case-study-modal .case-flow-controls {
    position: relative;
    bottom: auto;
    grid-template-columns: minmax(150px, 1fr) auto minmax(150px, 1fr);
    gap: 8px;
    padding: 5px;
    border: 0;
    background: var(--case-header);
    box-shadow: 0 14px 32px rgba(7, 17, 31, 0.16);
}

.case-study-modal .case-flow-button {
    min-height: 44px;
    border-color: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.72);
    background: rgba(255, 255, 255, 0.06);
}

.case-study-modal .case-flow-button:hover {
    border-color: rgba(255, 255, 255, 0.2);
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: none;
}

.case-study-modal .case-flow-button--primary,
.case-study-modal .case-flow-button--primary:hover {
    color: var(--case-accent-ink);
    background: var(--case-accent);
    box-shadow: 0 8px 22px rgba(var(--case-accent-rgb), 0.24);
}

.case-study-modal .case-flow-dots span {
    background: rgba(255, 255, 255, 0.18);
}

.case-study-modal .case-flow-dots span.is-active {
    background: var(--case-accent);
}

@media (max-width: 980px) {
    .case-study-dialog {
        width: calc(100vw - 20px);
        max-height: calc(100dvh - 20px);
    }

    .case-study-modal .case-panel {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .case-study-modal .case-panel > .case-panel-visual {
        order: 1;
        min-height: clamp(390px, 62vw, 520px);
        border-left: 0;
        border-bottom: 1px solid rgba(7, 17, 31, 0.08);
    }

    .case-study-modal .case-story-player {
        order: 2;
    }
}

@media (max-width: 620px) {
    .case-study-modal {
        padding: 6px;
    }

    .case-study-dialog {
        width: calc(100vw - 12px);
        max-height: calc(100dvh - 12px);
        border-radius: 15px;
        scrollbar-gutter: auto;
    }

    .case-study-modal .case-study-shell {
        gap: 7px;
        padding: 7px;
    }

    .case-study-dialog > .case-modal-close {
        top: 15px;
        right: 14px;
        width: 38px;
        min-height: 38px;
        padding: 0;
        font-size: 0;
    }

    .case-study-dialog > .case-modal-close::before {
        margin: 0;
        font-size: 23px;
    }

    .case-study-modal .case-stage-bar {
        grid-template-columns: 1fr;
        gap: 7px;
        min-height: 76px;
        padding: 10px 54px 10px 10px;
    }

    .case-study-modal .case-stage-bar span {
        grid-column: 1;
        grid-row: 1;
        width: max-content;
        min-height: 30px;
        padding: 0 9px;
        font-size: 9px;
    }

    .case-study-modal .case-stage-bar strong {
        grid-column: 1;
        grid-row: 2;
        font-size: 15px;
        white-space: nowrap;
    }

    .case-study-modal .case-stage-bar em {
        display: none;
    }

    .case-study-modal .case-tabs {
        grid-template-columns: repeat(3, minmax(134px, 1fr));
    }

    .case-study-modal .case-panel > .case-panel-visual {
        min-height: clamp(310px, 86vw, 390px);
    }

    .case-study-modal .case-visual-caption {
        left: 12px;
        right: 12px;
        bottom: 12px;
        min-height: 34px;
        font-size: 9px;
    }

    .case-study-modal .case-story-player {
        gap: 12px;
        padding: 20px 16px;
    }

    .case-study-modal .case-panel-copy h3 {
        font-size: clamp(32px, 10vw, 42px);
    }

    .case-study-modal .case-story-steps {
        grid-template-columns: none;
        grid-auto-flow: column;
        grid-auto-columns: minmax(148px, 1fr);
    }

    .case-study-modal .case-story-detail {
        padding: 18px;
    }

    .case-study-modal .case-recruiter-note {
        grid-template-columns: 1fr;
        gap: 7px;
    }

    .case-study-modal .case-recruiter-note span {
        padding: 0 0 6px;
        border-right: 0;
        border-bottom: 1px solid rgba(var(--case-accent-rgb), 0.2);
    }

    .case-study-modal .case-flow-controls {
        position: sticky;
        bottom: 0;
        grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
        gap: 4px;
        padding: 4px;
    }

    .case-study-modal .case-flow-button,
    .case-study-modal .case-flow-button--primary {
        min-height: 42px;
        padding: 0 8px;
        font-size: 9px;
    }
}

@media (min-width: 981px) and (max-height: 780px) {
    .case-study-modal .case-panel {
        min-height: 510px;
    }

    .case-study-modal .case-story-player {
        gap: 10px;
        padding: 22px 26px;
    }

    .case-study-modal .case-panel-copy h3 {
        font-size: 38px;
    }

    .case-study-modal .case-story-detail {
        padding: 17px 20px;
    }
}

.case-study-modal .case-panel-visual--eafc .case-visual-stage[data-case-visual-stage="brief"] > img:nth-of-type(1) {
    left: 33%;
    top: 12%;
    height: 72%;
}

.case-study-modal .case-panel-visual--zg .case-visual-stage[data-case-visual-stage="brief"] > img:nth-of-type(1) {
    left: 11%;
    top: 15%;
    width: 78%;
    max-height: 66%;
}

.case-study-modal .case-panel-visual--zg .case-visual-stage[data-case-visual-stage="system"] > img:nth-of-type(2) {
    left: 6%;
    bottom: 19%;
    width: 88%;
    max-height: 54%;
}

/* Editorial portfolio sections: About, Services and collaboration process */
.site-nav {
    gap: clamp(28px, 3.2vw, 50px);
    font-size: 14px;
    letter-spacing: 0.01em;
}

.site-nav a {
    min-height: 42px;
    padding-inline: 8px;
}

.site-nav a::after {
    left: 8px;
    right: 8px;
    bottom: 1px;
    height: 3px;
}

.site-nav a.is-active {
    background: rgba(0, 126, 255, 0.1);
}

.header-button {
    min-height: 38px;
    padding-inline: 21px;
    font-size: 13px;
}

.contact-layout {
    width: min(80vw, 980px);
    max-width: 980px;
    margin-right: auto;
    margin-left: auto;
    justify-items: center;
    text-align: center;
}

.contact-layout .actions {
    justify-content: center;
}

.about-section,
.services-section,
.process-section {
    min-height: auto;
    padding: clamp(92px, 10vw, 154px) 0;
}

.about-section {
    background: #f8fafc;
}

.about-layout {
    display: grid;
    grid-template-columns: minmax(320px, 0.78fr) minmax(500px, 1.22fr);
    gap: clamp(56px, 7vw, 112px);
    align-items: center;
}

.about-portrait {
    position: relative;
    display: block;
    min-height: 620px;
    margin: 0;
    overflow: hidden;
    border-radius: 4px;
    background: #09111d;
    box-shadow: 0 32px 80px rgba(7, 17, 31, 0.16);
}

.about-portrait::after {
    content: "DIGITAL + DTP";
    position: absolute;
    right: 22px;
    bottom: 22px;
    padding: 10px 13px;
    color: #fff;
    background: rgba(3, 7, 13, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.16);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.12em;
    backdrop-filter: blur(12px);
}

.about-portrait img {
    width: 100%;
    height: 100%;
    min-height: inherit;
    object-fit: cover;
    object-position: center top;
    filter: saturate(0.88) contrast(1.03);
    transition: transform 700ms var(--ease), filter 400ms ease;
}

.about-portrait:hover img {
    transform: scale(1.018);
    filter: saturate(1) contrast(1.02);
}

.about-content {
    max-width: 760px;
}

.about-content h2,
.editorial-heading h2 {
    margin: 0;
    color: #07111f;
    font-size: clamp(40px, 4.7vw, 72px);
    line-height: 0.98;
    letter-spacing: -0.045em;
}

.about-copy {
    display: grid;
    gap: 14px;
    max-width: 690px;
    margin-top: 34px;
}

.about-copy p {
    margin: 0;
    color: #39485c;
    font-size: clamp(17px, 1.25vw, 20px);
    line-height: 1.65;
}

.about-copy p:first-child {
    color: #172235;
    font-weight: 650;
}

.about-facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 44px 0 0;
    border-top: 1px solid rgba(7, 17, 31, 0.12);
}

.about-facts div {
    min-width: 0;
    padding: 20px 22px 20px 0;
    border-bottom: 1px solid rgba(7, 17, 31, 0.12);
}

.about-facts div:nth-child(odd) {
    border-right: 1px solid rgba(7, 17, 31, 0.12);
}

.about-facts div:nth-child(even) {
    padding-left: 22px;
}

.about-facts dt {
    margin-bottom: 8px;
    color: #6d7a8d;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.about-facts dd {
    margin: 0;
    color: #0b1728;
    font-size: 14px;
    font-weight: 760;
    line-height: 1.45;
}

.about-actions {
    margin-top: 30px;
}

.availability-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-right: 9px;
    border-radius: 50%;
    background: #28b86b;
    box-shadow: 0 0 0 4px rgba(40, 184, 107, 0.12);
}

.services-section {
    background: #fff;
}

.editorial-heading {
    display: grid;
    grid-template-columns: minmax(190px, 0.44fr) minmax(520px, 1.56fr);
    gap: clamp(36px, 6vw, 100px);
    align-items: start;
    margin-bottom: clamp(46px, 6vw, 82px);
}

.editorial-heading .eyebrow {
    margin-top: 8px;
}

.editorial-heading h2 {
    max-width: 900px;
    font-size: clamp(38px, 4.3vw, 66px);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-top: 1px solid rgba(7, 17, 31, 0.15);
    border-bottom: 1px solid rgba(7, 17, 31, 0.15);
}

.service-card {
    position: relative;
    min-height: 300px;
    padding: 28px clamp(22px, 2.2vw, 36px) 32px;
    overflow: hidden;
    background: #fff;
    transition: transform 260ms var(--ease), background 260ms ease;
}

.service-card + .service-card {
    border-left: 1px solid rgba(7, 17, 31, 0.12);
}

.service-card::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 4px;
    background: var(--blue);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 320ms var(--ease);
}

.service-card:hover {
    z-index: 1;
    transform: translateY(-6px);
    background: #f7faff;
}

.service-card:hover::after {
    transform: scaleX(1);
}

.service-card > span,
.process-step > span {
    color: var(--blue);
    font-size: 12px;
    font-weight: 950;
    letter-spacing: 0.08em;
}

.service-card h3 {
    max-width: 220px;
    margin: 84px 0 0;
    color: #091423;
    font-size: clamp(22px, 1.8vw, 28px);
    line-height: 1.05;
}

.service-card p {
    margin: 18px 0 0;
    color: #5d6979;
    font-size: 15px;
    line-height: 1.6;
}

.process-section {
    background: #eef3f8;
}

.process-heading {
    margin-right: auto;
    margin-left: auto;
}

.process-heading h2 {
    max-width: 940px;
}

.process-timeline {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    padding-top: 30px;
}

.process-line {
    position: absolute;
    top: 47px;
    right: 0;
    left: 0;
    height: 1px;
    overflow: hidden;
    background: rgba(7, 17, 31, 0.15);
}

.process-line span {
    display: block;
    width: 100%;
    height: 100%;
    background: var(--blue);
    transform: scaleX(0);
    transform-origin: left;
}

.process-timeline.is-visible .process-line span {
    animation: process-line-in 1100ms var(--ease) 180ms forwards;
}

.process-step {
    position: relative;
    min-height: 260px;
    padding: 62px clamp(22px, 2.1vw, 34px) 22px 0;
}

.process-step:not(:last-child) {
    border-right: 1px solid rgba(7, 17, 31, 0.1);
}

.process-step::before {
    content: "";
    position: absolute;
    top: 10px;
    left: 0;
    width: 15px;
    height: 15px;
    border: 4px solid #eef3f8;
    border-radius: 50%;
    background: var(--blue);
    box-shadow: 0 0 0 1px rgba(0, 126, 255, 0.35);
}

.process-step:not(:first-of-type) {
    padding-left: clamp(22px, 2.1vw, 34px);
}

.process-step:not(:first-of-type)::before {
    left: clamp(22px, 2.1vw, 34px);
}

.process-step h3 {
    margin: 18px 0 0;
    color: #091423;
    font-size: clamp(23px, 2vw, 30px);
}

.process-step p {
    max-width: 260px;
    margin: 15px 0 0;
    color: #58677a;
    font-size: 15px;
    line-height: 1.6;
}

@keyframes process-line-in {
    to { transform: scaleX(1); }
}

@media (max-width: 1100px) {
    .about-layout {
        grid-template-columns: minmax(260px, 0.75fr) minmax(0, 1.25fr);
        gap: 48px;
    }

    .about-portrait {
        min-height: 520px;
    }

    .services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .service-card:nth-child(3) {
        border-left: 0;
        border-top: 1px solid rgba(7, 17, 31, 0.12);
    }

    .service-card:nth-child(4) {
        border-top: 1px solid rgba(7, 17, 31, 0.12);
    }
}

@media (max-width: 900px) {
    .site-nav {
        font-size: 14px;
    }

    .header-button {
        display: inline-flex;
        min-height: 36px;
        padding-inline: 15px;
        font-size: 11px;
    }

    .about-layout,
    .editorial-heading {
        grid-template-columns: 1fr;
    }

    .about-layout {
        gap: 42px;
    }

    .about-portrait {
        width: min(100%, 620px);
        min-height: 0;
        aspect-ratio: 1 / 1.08;
        justify-self: center;
    }

    .about-content,
    .editorial-heading {
        justify-self: stretch;
        text-align: left;
    }

    .editorial-heading {
        gap: 12px;
    }

    .process-timeline {
        grid-template-columns: 1fr 1fr;
    }

    .process-line {
        display: none;
    }

    .process-step {
        min-height: 230px;
        padding: 44px 28px 28px 0;
        border-top: 1px solid rgba(7, 17, 31, 0.14);
    }

    .process-step::before {
        top: -8px;
    }

    .process-step:nth-of-type(3) {
        padding-left: 0;
        border-right: 1px solid rgba(7, 17, 31, 0.1);
    }

    .process-step:nth-of-type(even) {
        border-right: 0;
    }

    .process-step:nth-of-type(3)::before {
        left: 0;
    }
}

@media (max-width: 620px) {
    .site-header {
        padding-inline: 12px;
    }

    .header-actions {
        gap: 5px;
    }

    .header-button {
        min-height: 34px;
        padding-inline: 12px;
        font-size: 10px;
    }

    .nav-toggle {
        width: 38px;
        height: 38px;
    }

    .about-section,
    .services-section,
    .process-section {
        padding: 76px 0;
    }

    .about-content h2,
    .editorial-heading h2 {
        font-size: clamp(34px, 10vw, 46px);
        line-height: 1.02;
    }

    .about-copy {
        margin-top: 25px;
    }

    .about-copy p {
        font-size: 16px;
        line-height: 1.6;
    }

    .about-facts {
        grid-template-columns: 1fr;
        margin-top: 32px;
    }

    .about-facts div,
    .about-facts div:nth-child(even) {
        padding: 17px 0;
        border-right: 0;
    }

    .about-portrait::after {
        right: 14px;
        bottom: 14px;
    }

    .services-grid,
    .process-timeline {
        grid-template-columns: 1fr;
    }

    .service-card,
    .service-card + .service-card,
    .service-card:nth-child(3),
    .service-card:nth-child(4) {
        min-height: 0;
        padding: 24px 0 30px;
        border-top: 1px solid rgba(7, 17, 31, 0.14);
        border-right: 0;
        border-bottom: 0;
        border-left: 0;
    }

    .services-grid {
        border: 0;
    }

    .service-card h3 {
        max-width: none;
        margin-top: 36px;
        font-size: 25px;
    }

    .service-card:hover {
        transform: none;
    }

    .process-step,
    .process-step:not(:first-of-type),
    .process-step:nth-of-type(3) {
        min-height: 0;
        padding: 34px 0 36px 32px;
        border-top: 0;
        border-right: 0;
        border-left: 1px solid rgba(7, 17, 31, 0.16);
    }

    .process-step::before,
    .process-step:not(:first-of-type)::before,
    .process-step:nth-of-type(3)::before {
        top: 38px;
        left: -8px;
    }

    .process-step h3 {
        margin-top: 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .about-portrait img,
    .service-card,
    .process-line span {
        animation: none !important;
        transition: none !important;
        transform: none !important;
    }

    .service-card::after {
        transition: none !important;
        transform: scaleX(0) !important;
    }

    .service-card:hover::after {
        transform: scaleX(1) !important;
    }
}

/* Final production polish */
html {
    scroll-padding-top: calc(var(--header-height) + 18px);
    scrollbar-width: none;
    -ms-overflow-style: none;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}

body {
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

main > section[id] {
    scroll-margin-top: calc(var(--header-height) + 18px);
}

:where(h1, h2, h3) {
    text-wrap: balance;
}

:where(.hero-lead, .project-copy > p:not(.eyebrow), .about-copy p, .service-card p, .process-step p) {
    text-wrap: pretty;
}

.skip-link {
    position: fixed;
    top: 10px;
    left: 10px;
    z-index: 1000;
    padding: 11px 16px;
    color: #fff;
    background: var(--blue);
    border-radius: var(--radius-xs);
    box-shadow: 0 14px 34px rgba(0, 126, 255, .35);
    font-size: 12px;
    font-weight: 850;
    transform: translateY(-160%);
    transition: transform 180ms ease;
}

.skip-link:focus {
    transform: translateY(0);
}

.brand:focus-visible,
.intro-links a:focus-visible,
.back-to-top:focus-visible,
.contact-email:focus-visible,
.footer-brand:focus-visible,
.footer-links a:focus-visible {
    outline: 2px solid var(--blue);
    outline-offset: 4px;
}

.button:active,
.case-button:active,
.header-button:active {
    transform: translateY(0) scale(.985);
}

.contact-email {
    position: relative;
    display: inline-flex;
    margin-top: 28px;
    padding-bottom: 6px;
    color: rgba(255,255,255,.72);
    font-size: clamp(13px, 1.25vw, 16px);
    font-weight: 700;
    letter-spacing: .015em;
    transition: color 180ms ease;
}

.contact-email::after {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 1px;
    content: "";
    background: linear-gradient(90deg, var(--blue), rgba(255,255,255,.22));
    transform: scaleX(.35);
    transform-origin: left;
    transition: transform 260ms var(--ease);
}

.contact-email:hover {
    color: #fff;
}

.contact-email:hover::after {
    transform: scaleX(1);
}

.site-footer {
    color: rgba(255,255,255,.68);
    background: #03070d;
    border-top: 1px solid rgba(255,255,255,.08);
}

.site-footer-layout {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 28px;
    align-items: center;
    min-height: 116px;
    padding: 26px 0;
}

.footer-brand {
    display: inline-flex;
    gap: 12px;
    align-items: center;
    justify-self: start;
    color: #fff;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.footer-brand img {
    width: 30px;
    height: 30px;
    filter: brightness(2) saturate(0);
}

.site-footer-layout > p {
    margin: 0;
    font-size: 11px;
    letter-spacing: .025em;
    text-align: center;
}

.footer-links {
    display: flex;
    gap: 18px;
    align-items: center;
    justify-self: end;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.footer-links a {
    color: #fff;
    transition: color 180ms ease;
}

.footer-links a:hover {
    color: #55a8ff;
}

@media (max-width: 900px) {
    .site-footer-layout {
        grid-template-columns: 1fr auto;
    }

    .site-footer-layout > p {
        grid-column: 1 / -1;
        grid-row: 2;
        text-align: left;
    }
}

@media (max-width: 620px) {
    html::-webkit-scrollbar,
    body::-webkit-scrollbar {
        width: 0;
    }

    .contact-email {
        max-width: 100%;
        font-size: 12px;
        overflow-wrap: anywhere;
    }

    .site-footer-layout {
        grid-template-columns: 1fr;
        gap: 18px;
        min-height: 0;
        padding: 34px 0;
    }

    .footer-brand,
    .footer-links {
        justify-self: start;
    }

    .footer-links {
        flex-wrap: wrap;
        gap: 12px 16px;
    }

    .site-footer-layout > p {
        grid-column: 1;
        grid-row: auto;
    }
}

/* Compact portfolio close: clickable hero portrait, tools and combined workflow. */
.hero-grid {
    pointer-events: none;
}

.hero-copy {
    pointer-events: auto;
}

.hero-person-link {
    z-index: 2;
    display: block;
    color: #fff;
    cursor: pointer;
}

.hero-person-link img {
    display: block;
    width: 100%;
    height: auto;
}

.hero-person-link span {
    position: absolute;
    right: 14%;
    bottom: 11%;
    padding: 10px 14px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    background: rgba(3, 9, 17, 0.64);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.24);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    opacity: 0.72;
    translate: 0 5px;
    backdrop-filter: blur(12px);
    transition: opacity 180ms ease, translate 260ms var(--ease), background 180ms ease;
}

.hero-person-link:hover span,
.hero-person-link:focus-visible span {
    background: rgba(0, 126, 255, 0.82);
    opacity: 1;
    translate: 0 0;
}

.hero-person-link:focus-visible {
    outline: 3px solid var(--blue);
    outline-offset: -8px;
}

.about-section {
    padding: clamp(82px, 8vw, 124px) 0;
}

.about-portrait {
    min-height: 560px;
}

.tool-stack {
    margin-top: 28px;
    padding-top: 22px;
    border-top: 1px solid rgba(7, 17, 31, 0.14);
}

.tool-stack > p,
.capability-label {
    margin: 0;
    color: var(--blue);
    font-size: 10px;
    font-weight: 950;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.tool-stack ul {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 14px 0 0;
    padding: 0;
    list-style: none;
}

.tool-stack li {
    padding: 8px 11px;
    border: 1px solid rgba(7, 17, 31, 0.13);
    border-radius: 999px;
    background: #fff;
    color: #172436;
    font-size: 11px;
    font-weight: 760;
    line-height: 1;
}

.about-actions {
    margin-top: 24px;
}

.capability-section {
    min-height: auto;
    padding: clamp(82px, 8vw, 122px) 0;
    color: #fff;
    background:
        radial-gradient(680px 420px at 92% 4%, rgba(0, 126, 255, 0.23), transparent 68%),
        linear-gradient(135deg, #07111f, #0a1829 58%, #07121f);
}

.capability-shell {
    display: grid;
    gap: clamp(44px, 6vw, 78px);
}

.capability-heading {
    display: grid;
    grid-template-columns: minmax(190px, 0.45fr) minmax(420px, 1.05fr) minmax(260px, 0.5fr);
    gap: clamp(28px, 4vw, 68px);
    align-items: end;
}

.capability-heading .eyebrow {
    margin: 0;
    align-self: start;
}

.capability-heading h2 {
    margin: 0;
    color: #fff;
    font-size: clamp(38px, 4.2vw, 64px);
    line-height: 0.98;
    letter-spacing: -0.045em;
}

.capability-heading > p:last-child {
    margin: 0;
    color: rgba(255, 255, 255, 0.64);
    font-size: 14px;
    line-height: 1.65;
}

.capability-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(380px, 0.95fr);
    gap: clamp(24px, 4vw, 58px);
    padding-top: 34px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.capability-services {
    min-width: 0;
}

.service-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.13);
    border-left: 1px solid rgba(255, 255, 255, 0.13);
}

.service-list article {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 18px;
    align-items: center;
    min-height: 104px;
    padding: 22px;
    border-right: 1px solid rgba(255, 255, 255, 0.13);
    border-bottom: 1px solid rgba(255, 255, 255, 0.13);
    transition: background 220ms ease;
}

.service-list article:hover {
    background: rgba(0, 126, 255, 0.1);
}

.service-list span,
.workflow-list > li > span {
    color: #55a8ff;
    font-size: 10px;
    font-weight: 950;
    letter-spacing: 0.1em;
}

.service-list h3 {
    margin: 0;
    color: #fff;
    font-size: clamp(18px, 1.55vw, 24px);
    line-height: 1.12;
}

.workflow-panel {
    padding: clamp(26px, 3.2vw, 42px);
    border: 1px solid rgba(85, 168, 255, 0.3);
    background: rgba(0, 126, 255, 0.08);
}

.workflow-panel > h3 {
    margin: 14px 0 24px;
    color: #fff;
    font-size: clamp(25px, 2.4vw, 36px);
    line-height: 1.05;
}

.workflow-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.workflow-list li {
    display: grid;
    grid-template-columns: 30px 1fr;
    gap: 14px;
    padding: 13px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.workflow-list strong {
    display: block;
    color: #fff;
    font-size: 14px;
}

.workflow-list p {
    margin: 4px 0 0;
    color: rgba(255, 255, 255, 0.58);
    font-size: 12px;
    line-height: 1.45;
}

.contact-section {
    padding: clamp(68px, 7vw, 104px) 0;
}

.contact-layout h2 {
    max-width: 900px;
    font-size: clamp(40px, 5vw, 68px);
}

@media (max-width: 1100px) {
    .capability-heading {
        grid-template-columns: minmax(180px, 0.4fr) minmax(0, 1fr);
    }

    .capability-heading > p:last-child {
        grid-column: 2;
    }

    .capability-grid {
        grid-template-columns: 1fr;
    }

    .workflow-panel {
        display: grid;
        grid-template-columns: minmax(210px, 0.7fr) minmax(0, 1.3fr);
        column-gap: 36px;
    }

    .workflow-panel .capability-label,
    .workflow-panel > h3 {
        grid-column: 1;
    }

    .workflow-list {
        grid-column: 2;
        grid-row: 1 / span 2;
    }
}

@media (max-width: 900px) {
    .hero-person-link span {
        display: none;
    }

    .about-section,
    .capability-section {
        padding: 76px 0;
    }

    .about-portrait {
        min-height: 0;
    }

    .capability-heading {
        grid-template-columns: 1fr;
    }

    .capability-heading > p:last-child {
        grid-column: 1;
        max-width: 620px;
    }

    .workflow-panel {
        display: block;
    }
}

@media (max-width: 620px) {
    .tool-stack ul {
        gap: 7px;
    }

    .tool-stack li {
        padding: 8px 10px;
        font-size: 10px;
    }

    .service-list {
        grid-template-columns: 1fr;
    }

    .service-list article {
        min-height: 84px;
        padding: 18px;
    }

    .workflow-panel {
        padding: 24px 20px;
    }

    .contact-section {
        padding: 64px 0 72px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-person-link span,
    .service-list article {
        transition: none !important;
    }
}

/* Final visual split for the two closing sections. */
.capability-section {
    position: relative;
    overflow: hidden;
    color: #07111f;
    background:
        radial-gradient(720px 480px at 94% 0%, rgba(0, 126, 255, 0.14), transparent 68%),
        linear-gradient(180deg, #f3f7fc 0%, #eaf2fb 100%);
}

.capability-section::before {
    content: "CAPABILITIES";
    position: absolute;
    top: -0.13em;
    right: -0.035em;
    color: rgba(0, 81, 170, 0.045);
    font-size: clamp(94px, 15vw, 260px);
    font-weight: 950;
    line-height: 1;
    letter-spacing: -0.075em;
    pointer-events: none;
}

.capability-shell {
    position: relative;
    z-index: 1;
}

.capability-heading {
    align-items: start;
}

.capability-heading h2 {
    color: #07111f;
}

.capability-heading > p:last-child {
    color: #536174;
}

.capability-grid {
    padding-top: 30px;
    border-top-color: rgba(7, 17, 31, 0.16);
}

.service-list {
    gap: 12px;
    border: 0;
}

.service-list article {
    position: relative;
    display: flex;
    min-height: 122px;
    padding: 24px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    border: 1px solid rgba(7, 17, 31, 0.1);
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 18px 42px rgba(15, 37, 64, 0.055);
    transition: transform 260ms var(--ease), border-color 220ms ease, box-shadow 260ms ease;
}

.service-list article::after {
    content: "↗";
    position: absolute;
    top: 20px;
    right: 22px;
    color: rgba(7, 17, 31, 0.2);
    font-size: 17px;
    transition: color 180ms ease, translate 240ms var(--ease);
}

.service-list article:hover {
    border-color: rgba(0, 126, 255, 0.34);
    background: #fff;
    box-shadow: 0 24px 58px rgba(0, 91, 190, 0.11);
    transform: translateY(-4px);
}

.service-list article:hover::after {
    color: var(--blue);
    translate: 3px -3px;
}

.service-list span {
    color: var(--blue);
}

.service-list h3 {
    color: #07111f;
}

.workflow-panel {
    position: relative;
    overflow: hidden;
    border: 0;
    background:
        radial-gradient(320px 240px at 100% 0%, rgba(255, 255, 255, 0.2), transparent 66%),
        linear-gradient(145deg, #007eff, #0464c6);
    box-shadow: 0 26px 64px rgba(0, 78, 166, 0.2);
}

.workflow-panel::after {
    content: "04";
    position: absolute;
    right: -0.02em;
    bottom: -0.2em;
    color: rgba(255, 255, 255, 0.07);
    font-size: clamp(130px, 16vw, 230px);
    font-weight: 950;
    line-height: 1;
    pointer-events: none;
}

.workflow-panel .capability-label,
.workflow-list > li > span {
    color: rgba(255, 255, 255, 0.76);
}

.workflow-list {
    position: relative;
    z-index: 1;
}

.workflow-list li {
    border-top-color: rgba(255, 255, 255, 0.2);
}

.workflow-list p {
    color: rgba(255, 255, 255, 0.72);
}

.contact-section {
    position: relative;
    overflow: hidden;
    padding: clamp(76px, 7.5vw, 112px) 0;
    background:
        radial-gradient(620px 420px at 12% 30%, rgba(0, 126, 255, 0.24), transparent 70%),
        linear-gradient(135deg, #03070d 0%, #081523 100%);
    animation: none;
}

.contact-section::before {
    content: "LET'S TALK";
    position: absolute;
    right: -0.04em;
    bottom: -0.22em;
    color: rgba(255, 255, 255, 0.035);
    font-size: clamp(100px, 16vw, 280px);
    font-weight: 950;
    line-height: 1;
    letter-spacing: -0.07em;
    white-space: nowrap;
    pointer-events: none;
}

.contact-layout {
    position: relative;
    z-index: 1;
    display: grid;
    width: min(100%, var(--container));
    max-width: none;
    margin: 0 auto;
    grid-template-columns: minmax(0, 1.25fr) minmax(380px, 0.75fr);
    gap: clamp(48px, 7vw, 112px);
    align-items: center;
    justify-items: stretch;
    text-align: left;
}

.contact-heading {
    max-width: 850px;
}

.contact-heading .eyebrow {
    margin-bottom: 24px;
}

.contact-layout h2 {
    max-width: none;
    font-size: clamp(42px, 5.1vw, 76px);
    line-height: 0.96;
}

.contact-panel {
    padding: clamp(28px, 3vw, 42px);
    border: 1px solid rgba(255, 255, 255, 0.78);
    background: #f7f9fc;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
    color: #07111f;
}

.contact-status {
    display: flex;
    gap: 10px;
    align-items: center;
    margin: 0 0 22px;
    color: #3c4b5e;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.055em;
    text-transform: uppercase;
}

.contact-status span {
    width: 8px;
    height: 8px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: #28b86b;
    box-shadow: 0 0 0 5px rgba(40, 184, 107, 0.12);
}

.contact-panel .contact-email {
    display: inline;
    margin: 0;
    padding-bottom: 5px;
    color: #07111f;
    font-size: clamp(14px, 1.25vw, 18px);
    font-weight: 850;
    overflow-wrap: anywhere;
}

.contact-panel .contact-email:hover {
    color: #006fdc;
}

.contact-location {
    margin: 15px 0 0;
    color: #6a7685;
    font-size: 12px;
}

.contact-panel .actions {
    gap: 10px;
    margin-top: 30px;
}

.contact-panel .button {
    min-height: 48px;
    padding-inline: 18px;
}

.contact-panel .button-ghost {
    border-color: rgba(7, 17, 31, 0.18);
    color: #07111f;
    background: transparent;
}

.contact-panel .button-ghost:hover {
    border-color: rgba(0, 126, 255, 0.42);
    color: #006fdc;
    background: rgba(0, 126, 255, 0.06);
}

@media (max-width: 1100px) {
    .contact-layout {
        grid-template-columns: minmax(0, 1fr) minmax(340px, 0.72fr);
        gap: 44px;
    }
}

@media (max-width: 900px) {
    .capability-section::before,
    .contact-section::before {
        opacity: 0.72;
    }

    .contact-layout {
        grid-template-columns: 1fr;
        gap: 38px;
    }

    .contact-heading {
        max-width: 720px;
    }

    .contact-panel {
        max-width: 620px;
    }
}

@media (max-width: 620px) {
    .capability-section::before {
        top: 20px;
        font-size: 82px;
    }

    .service-list {
        gap: 8px;
    }

    .service-list article {
        min-height: 94px;
        padding: 18px;
    }

    .workflow-panel::after {
        font-size: 130px;
    }

    .contact-panel {
        padding: 26px 20px;
    }

    .contact-panel .actions {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .service-list article,
    .service-list article::after {
        transition: none !important;
    }
}

/* Closing sections aligned with the core OVERR visual system. */
.capability-section {
    padding: clamp(82px, 8vw, 120px) 0;
    color: var(--text);
    background:
        radial-gradient(660px 400px at 88% 8%, rgba(0, 126, 255, 0.09), transparent 70%),
        linear-gradient(180deg, #f8fafc 0%, #eef4fa 100%);
    border-top: 1px solid rgba(7, 17, 31, 0.08);
}

.capability-section::before {
    content: none;
}

.capability-section::after {
    content: "";
    position: absolute;
    top: 0;
    left: 10%;
    width: 80%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 126, 255, 0.48), transparent);
    pointer-events: none;
}

.capability-heading h2 {
    color: var(--text);
}

.capability-heading > p:last-child {
    color: var(--muted);
}

.capability-grid {
    border-top-color: var(--line);
}

.service-list {
    gap: 0;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
}

.service-list article {
    display: grid;
    grid-template-columns: 34px 1fr;
    gap: 16px;
    align-items: center;
    min-height: 108px;
    padding: 23px 24px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    transition: background 220ms ease;
}

.service-list article:nth-child(odd) {
    border-right: 1px solid var(--line);
}

.service-list article:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
}

.service-list article::after {
    content: none;
}

.service-list article:hover {
    border-color: transparent;
    background: rgba(0, 126, 255, 0.055);
    box-shadow: none;
    transform: none;
}

.service-list h3 {
    color: var(--text);
}

.workflow-panel {
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    background:
        radial-gradient(360px 220px at 100% 0%, rgba(0, 126, 255, 0.22), transparent 72%),
        linear-gradient(145deg, #07111f, #0b1c30);
    box-shadow: 0 24px 58px rgba(7, 17, 31, 0.16);
}

.workflow-panel::after {
    content: none;
}

.workflow-panel .capability-label,
.workflow-list > li > span {
    color: #55a8ff;
}

.workflow-list p {
    color: rgba(255, 255, 255, 0.62);
}

.contact-section {
    padding: clamp(76px, 7vw, 106px) 0;
    background:
        radial-gradient(620px 420px at 78% 18%, rgba(0, 126, 255, 0.2), transparent 72%),
        linear-gradient(135deg, #03070d, #081523);
}

.contact-section::before {
    content: none;
}

.contact-layout {
    gap: clamp(44px, 6vw, 92px);
}

.contact-panel {
    padding: clamp(27px, 3vw, 40px);
    color: #fff;
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius-sm);
    box-shadow: 0 24px 62px rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(12px);
}

.contact-status {
    color: rgba(255, 255, 255, 0.62);
}

.contact-panel .contact-email {
    color: #fff;
}

.contact-panel .contact-email:hover {
    color: #55a8ff;
}

.contact-location {
    color: rgba(255, 255, 255, 0.5);
}

.contact-panel .button-ghost {
    color: #fff;
    background: rgba(255, 255, 255, 0.025);
    border-color: rgba(255, 255, 255, 0.22);
}

.contact-panel .button-ghost:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.38);
}

/* Keep the Złote Guziki key visual truly square at every breakpoint. */
.zg-visual {
    width: min(100%, 820px);
    min-height: 0;
    aspect-ratio: 1 / 1;
    justify-self: center;
}

.zg-art,
.zg-art.parallax {
    width: min(92%, 760px);
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: contain;
}

@media (max-width: 900px) {
    .zg-visual {
        width: min(100%, 620px);
    }
}

@media (max-width: 620px) {
    .service-list article:nth-child(odd) {
        border-right: 0;
    }

    .service-list article:nth-child(-n + 2) {
        border-bottom: 0;
    }

    .service-list article:not(:last-child) {
        border-bottom: 1px solid var(--line);
    }

    .zg-art,
    .zg-art.parallax {
        width: 92%;
    }
}

/* Unified visual system — final consistency pass. */
:root {
    --radius-xs: 9px;
    --radius-sm: 14px;
    --radius-md: 14px;
    --line: rgba(7, 17, 31, 0.12);
    --shadow-soft: 0 20px 52px rgba(7, 17, 31, 0.085);
    --shadow-hover: 0 26px 62px rgba(7, 17, 31, 0.13);
}

body {
    line-height: 1.55;
}

::selection {
    color: #fff;
    background: var(--blue);
}

.site-header {
    border-bottom: 1px solid transparent;
    background: linear-gradient(180deg, rgba(3, 7, 13, 0.72), rgba(3, 7, 13, 0.12));
    backdrop-filter: blur(18px) saturate(1.08);
}

.site-header.is-scrolled {
    border-bottom-color: rgba(255, 255, 255, 0.1);
    background: rgba(3, 7, 13, 0.9);
    box-shadow: 0 12px 38px rgba(0, 0, 0, 0.16);
}

.site-nav {
    gap: clamp(24px, 3vw, 46px);
    font-size: 12px;
    letter-spacing: 0.045em;
}

.site-nav a {
    min-height: 38px;
    padding-inline: 9px;
    border-radius: var(--radius-xs);
}

.site-nav a.is-active {
    background: transparent;
}

.site-nav a:hover {
    background: rgba(255, 255, 255, 0.055);
}

.header-button {
    min-height: 40px;
    padding-inline: 20px;
    border-radius: 12px;
    font-size: 11px;
    letter-spacing: 0.035em;
    box-shadow: 0 12px 30px rgba(0, 126, 255, 0.24);
}

.eyebrow {
    margin-bottom: 16px;
    font-size: clamp(11px, 0.82vw, 13px);
    letter-spacing: 0.085em;
    line-height: 1.3;
}

.button,
.case-button {
    min-height: 50px;
    padding-inline: 24px;
    border-radius: 12px;
    font-size: 11px;
    letter-spacing: 0.045em;
}

.button-primary {
    box-shadow: 0 14px 34px rgba(0, 126, 255, 0.25);
}

.button-primary:hover {
    box-shadow: 0 18px 44px rgba(0, 126, 255, 0.34);
}

.button:hover,
.case-button:hover,
.header-button:hover {
    transform: translateY(-2px);
}

.intro-section {
    padding: clamp(82px, 8vw, 126px) 0;
}

.intro-copy h2,
.project-copy h2,
.about-content h2,
.capability-heading h2,
.contact-layout h2 {
    letter-spacing: -0.045em;
}

.intro-panel {
    border-color: var(--line);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-soft);
}

.intro-links a {
    border-radius: var(--radius-xs);
}

.project-copy p:not(.eyebrow) {
    margin-top: 30px;
    font-size: clamp(17px, 1.25vw, 21px);
    line-height: 1.5;
}

.tag-row {
    gap: 8px;
    margin-top: 30px;
}

.tag-row span {
    min-height: 30px;
    padding-inline: 14px;
    border-radius: var(--radius-xs);
    font-size: 11px;
    letter-spacing: 0.04em;
}

.case-button {
    min-height: 52px;
    margin-top: 16px;
}

.project-copy--dark {
    border-radius: var(--radius-sm);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.055), 0 24px 60px rgba(0, 0, 0, 0.2);
}

.about-section,
.capability-section {
    padding: clamp(84px, 8vw, 122px) 0;
}

.about-portrait {
    overflow: hidden;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-soft);
}

.about-portrait::after {
    border-radius: var(--radius-xs);
}

.about-copy {
    gap: 12px;
    margin-top: 30px;
}

.about-copy p {
    line-height: 1.6;
}

.about-facts {
    margin-top: 36px;
    border-top-color: var(--line);
}

.about-facts div {
    border-bottom-color: var(--line);
}

.about-facts div:nth-child(odd) {
    border-right-color: var(--line);
}

.tool-stack {
    margin-top: 24px;
    padding-top: 20px;
    border-top-color: var(--line);
}

.tool-stack li {
    border-radius: var(--radius-xs);
    background: rgba(255, 255, 255, 0.82);
}

.capability-shell {
    gap: clamp(40px, 5vw, 68px);
}

.capability-grid {
    gap: clamp(22px, 3.2vw, 46px);
    padding-top: 28px;
}

.service-list,
.workflow-panel,
.contact-panel {
    border-radius: var(--radius-sm);
}

.service-list article {
    min-height: 104px;
}

.service-list article:hover {
    background: rgba(0, 126, 255, 0.06);
}

.workflow-panel {
    box-shadow: 0 22px 54px rgba(7, 17, 31, 0.15);
}

.workflow-list li {
    padding-block: 12px;
}

.contact-section {
    padding: clamp(76px, 7vw, 104px) 0;
}

.contact-panel {
    box-shadow: 0 22px 58px rgba(0, 0, 0, 0.2);
}

.contact-status {
    letter-spacing: 0.07em;
}

.contact-panel .actions {
    margin-top: 26px;
}

.site-footer-layout {
    min-height: 100px;
    padding-block: 24px;
}

.back-to-top {
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(0, 126, 255, 0.26);
}

:where(a, button, [role="button"]):focus-visible {
    outline: 2px solid var(--blue);
    outline-offset: 4px;
}

@media (max-width: 900px) {
    .container,
    .intro-layout,
    .project-grid,
    .cosmic-grid,
    .contact-layout {
        width: min(calc(100% - 40px), var(--container));
    }

    .site-header {
        padding-inline: 20px;
    }

    .section:not(.hero):not(.project-section) {
        padding-top: 76px;
        padding-bottom: 76px;
    }

    .project-copy p:not(.eyebrow) {
        font-size: 17px;
    }
}

@media (max-width: 620px) {
    .container,
    .intro-layout,
    .project-grid,
    .cosmic-grid,
    .contact-layout {
        width: min(calc(100% - 32px), var(--container));
        padding-right: 0;
        padding-left: 0;
    }

    .site-header {
        padding-inline: 12px;
    }

    .button,
    .case-button {
        min-height: 48px;
    }

    .about-content h2,
    .capability-heading h2,
    .contact-layout h2 {
        letter-spacing: -0.035em;
    }

    .contact-panel {
        padding: 24px 20px;
    }

    .site-footer-layout {
        min-height: 0;
        padding-block: 30px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .button,
    .case-button,
    .header-button,
    .intro-links a,
    .tag-row span,
    .tool-stack li,
    .workflow-panel,
    .contact-panel {
        transition: none !important;
    }
}

/* Effective workflow tiles — same component family as What I design. */
.workflow-panel {
    display: grid;
    grid-template: auto minmax(0, 1fr) / 1fr;
    height: 100%;
    padding: 0;
    overflow: visible;
    color: var(--text);
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    backdrop-filter: none;
}

.workflow-panel > .capability-label {
    grid-column: 1;
    margin: 0;
    color: var(--blue);
}

.workflow-list {
    position: relative;
    z-index: 1;
    display: grid;
    grid-column: 1;
    grid-row: 2;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    height: 100%;
    margin: 18px 0 0;
    padding: 0;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    list-style: none;
}

.workflow-list li {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 16px;
    align-items: center;
    min-height: 0;
    padding: 23px 24px;
    background: transparent;
    border: 0;
    transition: background 220ms ease;
}

.workflow-list li:nth-child(odd) {
    border-right: 1px solid var(--line);
}

.workflow-list li:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
}

.workflow-list li:hover {
    background: rgba(0, 126, 255, 0.06);
}

.workflow-list > li > span {
    color: var(--blue);
    font-size: 10px;
    font-weight: 950;
    letter-spacing: 0.1em;
}

.workflow-list strong {
    display: block;
    color: var(--text);
    font-size: clamp(17px, 1.35vw, 21px);
    line-height: 1.15;
}

.workflow-list p {
    margin: 6px 0 0;
    color: #637083;
    font-size: 11px;
    line-height: 1.45;
}

@media (max-width: 620px) {
    .workflow-list {
        grid-template-columns: 1fr;
    }

    .workflow-list li:nth-child(odd) {
        border-right: 0;
    }

    .workflow-list li:nth-child(-n + 2) {
        border-bottom: 0;
    }

    .workflow-list li:not(:last-child) {
        border-bottom: 1px solid var(--line);
    }
}

/* Final axis lock — keep every major block on the same visual grid. */
.container,
.hero-grid,
.intro-layout,
.project-grid,
.cosmic-grid,
.about-layout,
.capability-shell,
.contact-layout,
.site-footer-layout {
    width: var(--page-width);
    margin-right: auto;
    margin-left: auto;
    padding-right: 0;
    padding-left: 0;
}

@media (min-width: 1101px) {
    .hero-grid {
        --hero-edge: 6vw;
        width: calc(100vw - var(--hero-edge) - var(--hero-edge));
        margin-right: var(--hero-edge);
        margin-left: var(--hero-edge);
    }
}

.site-header {
    height: 68px;
    padding-right: 0;
    padding-left: 0;
    grid-template-columns: 220px 1fr auto;
}

.site-header .brand {
    width: 37px;
    height: 37px;
    justify-self: center;
}

.site-header .site-nav,
.site-header .site-nav a {
    align-self: stretch;
}

.site-header .header-actions {
    margin-right: 42px;
}

@media (min-width: 1101px) and (max-width: 1320px) {
    .site-header {
        grid-template-columns: 190px 1fr auto;
    }
}

@media (min-width: 901px) and (max-width: 1100px) {
    .site-header {
        grid-template-columns: 90px 1fr auto;
    }

    .site-header .header-actions {
        margin-right: 26px;
    }
}

@media (max-width: 900px) {
    .site-header {
        grid-template-columns: 78px 1fr auto;
    }

    .site-header .brand {
        width: 33px;
        height: 33px;
    }

    .site-header .header-actions {
        margin-right: 0;
    }
}

@media (max-width: 560px) {
    :root {
        --header-height: 62px;
    }

    .site-header {
        grid-template-columns: 64px 1fr auto;
    }
}

.intro-layout,
.capability-heading,
.capability-grid,
.contact-layout {
    grid-template-columns: var(--split-left) var(--split-right);
    column-gap: var(--split-gap);
}

.about-layout {
    gap: var(--split-gap);
}

.intro-panel,
.about-content,
.about-copy,
.about-facts,
.tool-stack,
.contact-heading,
.contact-panel {
    width: 100%;
}

.capability-heading {
    row-gap: 18px;
    align-items: end;
}

.capability-heading .eyebrow {
    grid-column: 1 / -1;
    margin: 0;
}

.capability-heading h2 {
    grid-column: 1;
}

.capability-heading > p:last-child {
    grid-column: 2;
    max-width: 420px;
    justify-self: end;
}

.capability-grid {
    align-items: stretch;
}

.capability-services {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
}

.service-list,
.workflow-panel {
    height: 100%;
}

.service-list article {
    min-height: 0;
}

.contact-layout {
    align-items: center;
}

.site-footer-layout > p {
    justify-self: center;
}

@media (max-width: 1100px) {
    .capability-heading,
    .capability-grid {
        grid-template-columns: 1fr;
    }

    .capability-heading .eyebrow,
    .capability-heading h2,
    .capability-heading > p:last-child {
        grid-column: 1;
        justify-self: start;
    }

    .capability-heading > p:last-child {
        max-width: 680px;
    }
}

@media (max-width: 900px) {
    .intro-layout,
    .about-layout,
    .contact-layout {
        grid-template-columns: 1fr;
    }

    .intro-panel,
    .about-content,
    .contact-panel {
        max-width: none;
        justify-self: stretch;
    }

    .about-portrait {
        justify-self: start;
    }
}

@media (max-width: 620px) {
    .about-portrait {
        width: 100%;
    }

    .about-facts div,
    .about-facts div:nth-child(even) {
        padding-right: 0;
        padding-left: 0;
    }

    .contact-panel .actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .site-footer-layout > p {
        justify-self: start;
    }
}

/* Final About layout lock. */
.about-section {
    isolation: isolate;
    overflow: clip;
    background:
        radial-gradient(720px 520px at 88% 14%, rgba(0, 126, 255, 0.11), transparent 68%),
        linear-gradient(135deg, #f4f8fc 0%, #fff 48%, #eef5fb 100%);
}

.about-layout {
    position: relative;
    z-index: 1;
    grid-template-columns: minmax(340px, 0.82fr) minmax(0, 1.18fr);
    align-items: start;
    gap: clamp(58px, 7vw, 112px);
}

.about-portrait {
    position: sticky;
    top: calc(var(--header-height) + 34px);
    width: 100%;
    min-height: 0;
    aspect-ratio: 0.86;
    overflow: visible;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    isolation: isolate;
}

.about-portrait::after {
    content: "05 / PROFILE";
    top: 20px;
    right: auto;
    bottom: auto;
    left: -18px;
    z-index: 3;
    padding: 9px 12px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 9px;
    color: #fff;
    background: rgba(3, 9, 17, 0.82);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.2);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.12em;
    backdrop-filter: blur(12px);
}

.about-portrait img {
    width: 100%;
    height: 100%;
    min-height: 0;
    border-radius: 18px;
    object-fit: cover;
    object-position: center;
    box-shadow: 0 34px 80px rgba(7, 17, 31, 0.2);
}

.about-content {
    max-width: none;
    padding-top: 10px;
}

.about-copy {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(22px, 3vw, 40px);
    max-width: none;
    margin-top: 34px;
}

.about-facts {
    gap: 10px;
    margin-top: 28px;
    border-top: 0;
}

.about-facts div,
.about-facts div:nth-child(even),
.about-facts div:nth-child(odd) {
    padding: 16px 17px;
    border: 1px solid rgba(7, 17, 31, 0.1);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.7);
    box-shadow: 0 12px 28px rgba(7, 17, 31, 0.045);
}

.about-facts dt {
    margin-bottom: 6px;
    color: #738096;
}

.about-facts dd {
    font-size: 13px;
}

.tool-stack {
    margin-top: 22px;
    padding-top: 0;
    border-top: 0;
}

.tool-stack li {
    background: rgba(255, 255, 255, 0.88);
}

.about-actions {
    gap: 10px;
    margin-top: 26px;
}

@media (max-width: 1100px) {
    .about-layout {
        grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
        gap: 48px;
    }

    .about-copy {
        grid-template-columns: 1fr;
        gap: 14px;
    }
}

@media (max-width: 900px) {
    .about-layout {
        grid-template-columns: 1fr;
        gap: 58px;
    }

    .about-portrait {
        position: relative;
        top: auto;
        width: min(100%, 620px);
        aspect-ratio: 1 / 1.05;
        justify-self: center;
    }

    .about-content {
        padding-top: 0;
    }
}

@media (max-width: 620px) {
    .about-layout {
        gap: 44px;
    }

    .about-portrait {
        width: 100%;
        aspect-ratio: 0.9;
    }

    .about-portrait::after {
        top: 12px;
        left: -6px;
    }

    .about-copy {
        margin-top: 25px;
    }

    .about-facts {
        grid-template-columns: 1fr;
    }

    .about-facts div,
    .about-facts div:nth-child(even),
    .about-facts div:nth-child(odd) {
        padding: 16px 17px;
    }

    .about-actions {
        display: grid;
        grid-template-columns: 1fr;
    }
}

/* Final compact About spacing. */
.about-section {
    padding: clamp(58px, 5vw, 78px) 0;
}

.about-layout {
    gap: clamp(36px, 4vw, 64px);
}

.about-copy {
    margin-top: 26px;
}

.about-bridge {
    margin-top: 22px;
}

.about-facts {
    margin-top: 20px;
}

.tool-stack {
    margin-top: 18px;
}

.about-actions {
    margin-top: 20px;
}

.tool-stack li {
    padding: 5px 11px 5px 6px;
    border-radius: 11px;
}

@media (max-width: 900px) {
    .about-section {
        padding: 58px 0;
    }

    .about-layout {
        gap: 42px;
    }
}

@media (max-width: 620px) {
    .about-section {
        padding: 48px 0;
    }

    .about-layout {
        gap: 34px;
    }

    .tool-stack li {
        padding: 4px 9px 4px 5px;
    }
}

/* Responsive composition audit. */
:where(h1, h2, h3, h4) {
    text-wrap: balance;
    overflow-wrap: normal;
    word-break: normal;
}

:where(p, li, dt, dd, a, button, small) {
    text-wrap: pretty;
}

.about-layout {
    grid-template-columns: minmax(0, 0.96fr) minmax(0, 1.04fr);
    align-items: stretch;
    gap: clamp(32px, 3.5vw, 56px);
}

.about-portrait {
    position: relative;
    top: auto;
    height: 100%;
    min-height: clamp(620px, 50vw, 720px);
    aspect-ratio: auto;
    align-self: stretch;
}

.about-content {
    align-self: center;
    padding-top: 0;
}

@media (min-width: 1101px) {
    .project-matcha .project-grid {
        margin-right: 0;
        margin-left: var(--section-edge);
        grid-template-columns: minmax(360px, 0.4fr) minmax(0, 0.6fr);
        gap: clamp(36px, 4vw, 58px);
    }

    .project-matcha .matcha-visual {
        width: clamp(100%, calc(28.125vw + 360px), 130%);
        max-width: 1664px;
        margin-right: 0;
        margin-left: 0;
        justify-self: end;
    }

    .project-eafc .project-grid {
        grid-template-columns: minmax(0, 0.58fr) minmax(360px, 0.42fr);
        gap: clamp(36px, 4vw, 58px);
    }

    .project-eafc .eafc-visual {
        width: clamp(100%, calc(34.375vw + 320px), 150%);
        max-width: 1392px;
        margin-right: 0;
        margin-left: clamp(32px, 5vw, 120px);
        justify-self: start;
    }
}

.matcha-visual.reveal,
.eafc-visual.reveal {
    opacity: 1;
    transform: none;
}

.eafc-visual img {
    opacity: 1;
    translate: 0 0;
    scale: 1;
}

@media (max-width: 1100px) {
    .about-layout {
        grid-template-columns: minmax(300px, 0.9fr) minmax(0, 1.1fr);
        gap: 40px;
    }

    .about-portrait {
        min-height: 680px;
    }

    .project-section {
        min-height: auto;
        padding-top: clamp(68px, 8vw, 92px);
        padding-bottom: clamp(68px, 8vw, 92px);
    }

    .project-grid,
    .project-grid--reverse,
    .project-matcha .project-grid,
    .project-eafc .project-grid {
        width: var(--page-width);
        margin-right: auto;
        margin-left: auto;
        padding-right: 0;
        padding-left: 0;
        grid-template-columns: minmax(0, 1fr);
        gap: 44px;
    }

    .project-copy,
    .project-copy--right,
    .project-matcha .project-copy,
    .project-eafc .project-copy {
        width: 100%;
        max-width: 720px;
        justify-self: center;
        justify-items: start;
        text-align: left;
    }

    .project-copy--right .tag-row {
        justify-content: flex-start;
    }

    .project-matcha .matcha-visual,
    .project-eafc .eafc-visual,
    .matcha-visual,
    .eafc-visual {
        width: min(100%, 760px);
        max-width: 760px;
        margin-right: auto;
        margin-left: auto;
        justify-self: center;
    }
}

@media (max-width: 900px) {
    .site-header {
        grid-template-columns: 78px minmax(0, 1fr) 58px;
    }

    .site-header .header-actions {
        display: grid;
        width: 100%;
        margin-right: 0;
        grid-column: 2 / 4;
        grid-template-columns: minmax(0, 1fr) 58px;
        gap: 0;
    }

    .site-header .header-button {
        min-width: 104px;
        margin-right: 0;
        justify-self: end;
    }

    .site-header .nav-toggle {
        justify-self: center;
    }

    .hero {
        display: block;
        min-height: auto;
        padding-top: calc(var(--header-height) + 48px);
        padding-bottom: clamp(350px, 105vw, 480px);
    }

    .hero-grid {
        display: grid;
        width: calc(100vw - 40px);
        min-height: 0;
        margin-right: auto;
        margin-left: auto;
        align-items: start;
    }

    .hero-copy {
        width: 100%;
        max-width: 100%;
        justify-self: stretch;
    }

    .hero-title-rotator,
    .hero h1.hero-title-rotator,
    .hero-title-slide,
    .hero h1.hero-title-rotator .hero-title-slide {
        width: 100%;
        max-width: 100%;
    }

    .hero-bg__person {
        right: 50%;
        bottom: 0;
        width: min(88vw, 520px);
        height: clamp(320px, 100vw, 470px);
        min-width: 0;
        opacity: 0.78;
        translate: 50% 0;
        animation: none;
        filter: brightness(1.06) contrast(1.02) drop-shadow(0 22px 38px rgba(0, 0, 0, 0.3));
        overflow: hidden;
    }

    .hero-bg__person.parallax {
        transform: none;
    }

    .hero-person-link img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center top;
    }

    .about-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 38px;
    }

    .about-portrait {
        width: min(100%, 680px);
        height: auto;
        min-height: 0;
        aspect-ratio: 1 / 1.05;
        justify-self: center;
    }
}

@media (max-width: 620px) {
    .site-header {
        grid-template-columns: 64px minmax(0, 1fr) 54px;
    }

    .site-header .header-actions {
        grid-template-columns: minmax(0, 1fr) 54px;
    }

    .site-header .header-button {
        min-width: 92px;
        min-height: 35px;
        padding-inline: 13px;
        font-size: 10px;
    }

    .hero {
        padding-top: calc(var(--header-height) + 36px);
        padding-bottom: clamp(330px, 108vw, 430px);
    }

    .hero-grid {
        width: calc(100vw - 32px);
    }

    .hero h1,
    .hero h1.hero-title-rotator {
        font-size: clamp(34px, 10.5vw, 46px);
        overflow-wrap: normal;
    }

    .hero-lead {
        max-width: 32rem;
        font-size: clamp(16px, 4.35vw, 19px);
    }

    .hero-bg__person {
        width: min(92vw, 440px);
        height: clamp(310px, 106vw, 420px);
    }

    .project-section {
        padding-top: 60px;
        padding-bottom: 60px;
    }

    .project-grid,
    .project-grid--reverse,
    .project-matcha .project-grid,
    .project-eafc .project-grid {
        width: calc(100vw - 32px);
        gap: 34px;
    }

    .project-matcha .matcha-visual,
    .project-eafc .eafc-visual,
    .matcha-visual,
    .eafc-visual {
        width: 100%;
        max-width: 560px;
        margin-right: auto;
        margin-left: auto;
    }

    .project-copy h2 {
        font-size: clamp(38px, 12vw, 52px);
    }

    .project-copy p:not(.eyebrow) {
        font-size: 16px;
        line-height: 1.55;
    }
}

/* Final portfolio polish: fluid hero, calmer density and stronger interaction rhythm. */
::selection {
    color: #fff;
    background: rgba(0, 126, 255, 0.88);
}

main > section[id] {
    scroll-margin-top: var(--header-height);
}

.button,
.case-button,
.header-button {
    transition-duration: 220ms;
    transition-timing-function: var(--ease);
}

.button:active,
.case-button:active,
.header-button:active {
    transform: translateY(0) scale(0.985);
}

@media (min-width: 1101px) {
    .hero-grid {
        grid-template-columns: minmax(360px, 800px) minmax(0, 1fr);
    }

    .hero-copy {
        max-width: 800px;
    }

    .hero h1,
    .hero h1.hero-title-rotator {
        font-size: clamp(46px, 4vw, 70px);
    }

    .hero h1.hero-title-rotator {
        min-height: calc(clamp(46px, 4vw, 70px) * 1.18);
    }

    .hero-lead {
        max-width: 760px;
        font-size: clamp(18px, 1.25vw, 23px);
    }

    .hero-bg__person {
        right: clamp(28px, 4.2vw, 84px);
        bottom: clamp(-44px, -2vw, -20px);
        width: clamp(650px, 48vw, 900px);
    }

    .cosmic-grid {
        grid-template-columns: minmax(500px, 0.46fr) minmax(0, 0.54fr);
        gap: clamp(44px, 4.5vw, 68px);
    }

    .project-copy--dark {
        width: 100%;
        max-width: 660px;
        padding: clamp(40px, 3.8vw, 58px);
        border-radius: 18px;
    }

    .project-copy--dark h2 {
        font-size: clamp(42px, 4vw, 60px);
        line-height: 1.02;
    }

    .project-copy--dark p:not(.eyebrow) {
        margin-top: 28px;
        font-size: clamp(17px, 1.22vw, 20px);
        line-height: 1.55;
    }

    .project-copy--dark .tag-row {
        margin-top: 30px;
    }

    .about-section {
        padding: clamp(72px, 6vw, 94px) 0;
    }

    .about-layout {
        grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
        align-items: center;
        gap: clamp(36px, 3.4vw, 52px);
    }

    .about-portrait {
        height: auto;
        min-height: 0;
        aspect-ratio: 0.9;
        align-self: center;
    }

    .about-content h2 {
        font-size: clamp(42px, 4.2vw, 64px);
    }

    .about-copy {
        gap: clamp(20px, 2.2vw, 32px);
        margin-top: 24px;
    }

    .about-copy p {
        font-size: clamp(16px, 1.12vw, 18px);
        line-height: 1.58;
    }

    .about-bridge {
        margin-top: 24px;
        padding: 19px 22px;
    }

    .about-facts {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 10px;
        margin-top: 20px;
    }

    .about-facts div,
    .about-facts div:nth-child(even),
    .about-facts div:nth-child(odd) {
        min-height: 74px;
        padding: 14px 13px;
    }

    .about-facts dd {
        font-size: 12px;
    }

    .tool-stack {
        margin-top: 20px;
    }

    .tool-stack ul {
        display: grid;
        grid-template-columns: repeat(8, minmax(0, 1fr));
        gap: 7px;
    }

    .tool-stack li {
        display: grid;
        min-width: 0;
        min-height: 68px;
        padding: 8px 4px;
        place-items: center;
        align-content: center;
        gap: 6px;
        border-radius: 12px;
        text-align: center;
    }

    .tool-stack li img,
    .tool-stack__mark {
        width: 30px;
        height: 30px;
    }

    .tool-stack li span:last-child {
        max-width: 100%;
        overflow: hidden;
        font-size: 9px;
        line-height: 1.1;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .about-actions {
        margin-top: 22px;
    }
}

.contact-panel {
    text-align: left;
    transition: border-color 260ms ease, box-shadow 320ms var(--ease), transform 320ms var(--ease);
}

.contact-panel:hover {
    border-color: rgba(85, 168, 255, 0.34);
    box-shadow: 0 30px 72px rgba(0, 0, 0, 0.27), 0 0 0 1px rgba(0, 126, 255, 0.08);
    transform: translateY(-3px);
}

.contact-panel .contact-email {
    display: inline-block;
}

.contact-panel .actions {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-content: stretch;
    gap: 12px;
}

.contact-panel .button {
    width: 100%;
    padding-inline: 14px;
}

@media (min-width: 901px) and (max-height: 780px) {
    .hero {
        padding-top: calc(var(--header-height) + 28px);
    }

    .hero-bg__person {
        right: clamp(28px, 4vw, 64px);
        bottom: -48px;
        width: clamp(580px, 46vw, 760px);
    }

    .hero h1,
    .hero h1.hero-title-rotator {
        font-size: clamp(43px, 3.85vw, 58px);
    }

    .hero h1.hero-title-rotator {
        min-height: calc(clamp(43px, 3.85vw, 58px) * 1.18);
    }

    .hero-lead {
        max-width: 700px;
        margin-top: 12px;
        font-size: clamp(17px, 1.25vw, 20px);
    }

    .hero .actions {
        margin-top: 30px;
    }
}

@media (max-width: 1100px) {
    .about-portrait {
        min-height: 0;
    }

    .tool-stack ul {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .tool-stack li {
        display: grid;
        min-width: 0;
        min-height: 66px;
        padding: 7px 4px;
        place-items: center;
        align-content: center;
        gap: 5px;
        text-align: center;
    }

    .tool-stack li img,
    .tool-stack__mark {
        width: 28px;
        height: 28px;
    }

    .tool-stack li span:last-child {
        max-width: 100%;
        overflow: hidden;
        font-size: 9px;
        line-height: 1.1;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
}

@media (max-width: 900px) {
    .hero {
        padding-bottom: clamp(300px, 92vw, 420px);
    }

    .hero-bg__person {
        width: min(84vw, 440px);
        height: clamp(280px, 90vw, 400px);
        opacity: 0.86;
    }

    .hero-person-link img {
        object-fit: contain;
        object-position: center bottom;
    }

    .about-portrait {
        aspect-ratio: 0.94;
    }
}

@media (max-width: 620px) {
    .hero {
        padding-bottom: clamp(285px, 92vw, 360px);
    }

    .hero-bg__person {
        width: min(86vw, 380px);
        height: clamp(275px, 90vw, 350px);
    }

    .hero h1.hero-title-rotator {
        min-height: calc(clamp(34px, 10.5vw, 46px) * 2.15);
    }

    .hero h1.hero-title-rotator + .hero-lead {
        margin-top: 18px;
    }

    .about-bridge {
        padding: 16px 14px;
        gap: 8px;
    }

    .about-bridge span {
        gap: 5px;
        font-size: 10px;
    }

    .contact-panel .actions {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (prefers-reduced-motion: reduce) {
    .contact-panel {
        transition: none;
    }

    .contact-panel:hover {
        transform: none;
    }
}

/* Resolution matrix: authored views with fluid bridges between device classes. */

/* 4K / large-format displays: 3440-3840+ */
@media (min-width: 3440px) {
    :root {
        --container: 2200px;
        --scene-container: 2520px;
        --page-width: min(76vw, var(--container));
        --page-gutter: max(52px, calc((100vw - var(--page-width)) / 2));
        --section-edge: clamp(260px, 8vw, 340px);
        --header-height: 88px;
        --section-pad: clamp(150px, 6.2vw, 220px);
        --split-gap: clamp(72px, 4vw, 150px);
    }

    .site-header {
        grid-template-columns: 300px 1fr auto;
    }

    .site-header .brand {
        width: 48px;
        height: 48px;
    }

    .site-header .site-nav {
        gap: clamp(58px, 3vw, 96px);
        font-size: 15px;
    }

    .site-header .header-actions {
        margin-right: 72px;
    }

    .header-button {
        min-height: 46px;
        padding-inline: 30px;
        font-size: 14px;
    }

    .hero-grid {
        --hero-edge: 7.5vw;
        grid-template-columns: minmax(680px, 1120px) minmax(0, 1fr);
    }

    .hero-copy {
        max-width: 1120px;
    }

    .hero h1,
    .hero h1.hero-title-rotator {
        font-size: clamp(92px, 2.7vw, 106px);
    }

    .hero h1.hero-title-rotator {
        min-height: calc(clamp(92px, 2.7vw, 106px) * 1.18);
    }

    .hero .eyebrow {
        font-size: 19px;
    }

    .hero-lead {
        max-width: 1040px;
        font-size: clamp(26px, 0.78vw, 30px);
    }

    .hero-bg__person {
        right: clamp(180px, 6vw, 260px);
        bottom: -72px;
        width: clamp(1240px, 36vw, 1460px);
    }

    .button,
    .case-button {
        min-height: 58px;
        padding-inline: 34px;
        font-size: 15px;
    }

    .eyebrow {
        font-size: 18px;
    }

    .intro-copy h2,
    .capability-heading h2 {
        font-size: clamp(76px, 2.35vw, 92px);
    }

    .intro-panel p,
    .capability-heading > p:last-child {
        font-size: 21px;
    }

    .project-copy {
        max-width: 780px;
    }

    .project-matcha .project-copy {
        max-width: 760px;
    }

    .project-eafc .project-copy {
        max-width: 820px;
    }

    .project-copy h2 {
        font-size: clamp(82px, 2.45vw, 96px);
    }

    .project-copy p:not(.eyebrow) {
        font-size: clamp(25px, 0.72vw, 28px);
    }

    .project-matcha .matcha-visual {
        width: 124%;
        max-width: 2200px;
    }

    .project-eafc .eafc-visual {
        width: 140%;
        max-width: 1820px;
        margin-left: clamp(80px, 4vw, 150px);
    }

    .cosmic-grid {
        grid-template-columns: minmax(720px, 0.45fr) minmax(0, 0.55fr);
        gap: clamp(90px, 4vw, 150px);
    }

    .project-copy--dark {
        max-width: 820px;
        padding: clamp(64px, 2.4vw, 88px);
    }

    .project-copy--dark h2 {
        font-size: clamp(72px, 2.2vw, 86px);
    }

    .project-copy--dark p:not(.eyebrow) {
        font-size: 24px;
    }

    .zg-visual {
        width: min(100%, 1120px);
    }

    .zg-art,
    .zg-art.parallax {
        width: min(94%, 1040px);
    }

    .about-content h2 {
        font-size: clamp(78px, 2.35vw, 92px);
    }

    .about-copy p {
        font-size: 22px;
    }

    .about-bridge {
        padding: 26px 30px;
    }

    .about-bridge span {
        font-size: 15px;
    }

    .about-facts div,
    .about-facts div:nth-child(even),
    .about-facts div:nth-child(odd) {
        min-height: 94px;
        padding: 20px 18px;
    }

    .about-facts dt,
    .tool-stack > p {
        font-size: 12px;
    }

    .about-facts dd {
        font-size: 16px;
    }

    .tool-stack li {
        min-height: 84px;
    }

    .tool-stack li img,
    .tool-stack__mark {
        width: 38px;
        height: 38px;
    }

    .tool-stack li span:last-child {
        font-size: 11px;
    }

    .service-list h3 {
        font-size: 30px;
    }

    .service-list article {
        min-height: 138px;
        padding: 30px 32px;
    }

    .workflow-list h3 {
        font-size: 24px;
    }

    .workflow-list p {
        font-size: 17px;
    }

    .contact-layout h2 {
        font-size: clamp(86px, 2.55vw, 100px);
    }

    .contact-panel {
        padding: 52px;
    }

    .contact-panel .contact-email {
        font-size: 24px;
    }
}

/* Large intermediate view: 2880-3439 */
@media (min-width: 2880px) and (max-width: 3439px) {
    :root {
        --container: 1900px;
        --scene-container: 2200px;
        --page-width: min(78vw, var(--container));
        --section-edge: clamp(220px, 7.5vw, 280px);
        --header-height: 82px;
        --section-pad: clamp(126px, 5.8vw, 178px);
        --split-gap: clamp(62px, 4vw, 116px);
    }

    .site-header {
        grid-template-columns: 270px 1fr auto;
    }

    .site-header .brand {
        width: 44px;
        height: 44px;
    }

    .site-header .site-nav {
        font-size: 14px;
    }

    .site-header .header-actions {
        margin-right: 62px;
    }

    .hero-grid {
        --hero-edge: 7vw;
        grid-template-columns: minmax(600px, 1000px) minmax(0, 1fr);
    }

    .hero-copy {
        max-width: 1000px;
    }

    .hero h1,
    .hero h1.hero-title-rotator {
        font-size: clamp(82px, 2.75vw, 94px);
    }

    .hero h1.hero-title-rotator {
        min-height: calc(clamp(82px, 2.75vw, 94px) * 1.18);
    }

    .hero-lead {
        max-width: 920px;
        font-size: clamp(23px, 0.78vw, 27px);
    }

    .hero-bg__person {
        right: clamp(130px, 5.5vw, 200px);
        width: clamp(1080px, 37vw, 1250px);
    }

    .intro-copy h2,
    .capability-heading h2,
    .about-content h2 {
        font-size: clamp(68px, 2.35vw, 80px);
    }

    .project-copy h2 {
        font-size: clamp(74px, 2.55vw, 86px);
    }

    .project-copy p:not(.eyebrow) {
        font-size: clamp(22px, 0.75vw, 25px);
    }

    .project-matcha .matcha-visual {
        max-width: 1900px;
    }

    .project-eafc .eafc-visual {
        max-width: 1580px;
    }

    .zg-visual {
        width: min(100%, 980px);
    }

    .zg-art,
    .zg-art.parallax {
        width: min(94%, 910px);
    }

    .contact-layout h2 {
        font-size: clamp(76px, 2.65vw, 90px);
    }
}

/* QHD / 2K: 2400-2879 */
@media (min-width: 2400px) and (max-width: 2879px) {
    :root {
        --container: 1600px;
        --scene-container: 1880px;
        --page-width: min(80vw, var(--container));
        --section-edge: clamp(180px, 7.5vw, 220px);
        --header-height: 76px;
        --section-pad: clamp(106px, 5.2vw, 146px);
        --split-gap: clamp(48px, 3.5vw, 88px);
    }

    .site-header {
        grid-template-columns: 240px 1fr auto;
    }

    .site-header .brand {
        width: 42px;
        height: 42px;
    }

    .site-header .header-actions {
        margin-right: 52px;
    }

    .hero-grid {
        --hero-edge: 6.5vw;
        grid-template-columns: minmax(520px, 920px) minmax(0, 1fr);
    }

    .hero-copy {
        max-width: 920px;
    }

    .hero h1,
    .hero h1.hero-title-rotator {
        font-size: clamp(74px, 3vw, 84px);
    }

    .hero h1.hero-title-rotator {
        min-height: calc(clamp(74px, 3vw, 84px) * 1.18);
    }

    .hero-lead {
        max-width: 840px;
        font-size: clamp(21px, 0.9vw, 25px);
    }

    .hero-bg__person {
        right: clamp(92px, 4.5vw, 138px);
        width: clamp(970px, 40vw, 1100px);
    }

    .intro-copy h2,
    .capability-heading h2,
    .about-content h2 {
        font-size: clamp(62px, 2.55vw, 72px);
    }

    .project-copy h2 {
        font-size: clamp(68px, 2.8vw, 80px);
    }

    .project-copy p:not(.eyebrow) {
        font-size: clamp(20px, 0.85vw, 23px);
    }

    .project-matcha .matcha-visual {
        max-width: 1740px;
    }

    .project-eafc .eafc-visual {
        max-width: 1460px;
    }

    .cosmic-grid {
        grid-template-columns: minmax(560px, 0.45fr) minmax(0, 0.55fr);
    }

    .zg-visual {
        width: min(100%, 880px);
    }

    .contact-layout h2 {
        font-size: clamp(68px, 2.9vw, 80px);
    }
}

/* QHD-to-FHD bridge: 2048-2399 */
@media (min-width: 2048px) and (max-width: 2399px) {
    :root {
        --container: 1520px;
        --page-width: min(82vw, var(--container));
        --section-edge: clamp(174px, 8.5vw, 204px);
        --header-height: 72px;
        --section-pad: clamp(92px, 5vw, 124px);
        --split-gap: clamp(44px, 3.7vw, 78px);
    }

    .hero-grid {
        --hero-edge: 6vw;
        grid-template-columns: minmax(480px, 860px) minmax(0, 1fr);
    }

    .hero-copy {
        max-width: 860px;
    }

    .hero h1,
    .hero h1.hero-title-rotator {
        font-size: clamp(70px, 3.35vw, 78px);
    }

    .hero h1.hero-title-rotator {
        min-height: calc(clamp(70px, 3.35vw, 78px) * 1.18);
    }

    .hero-bg__person {
        right: clamp(68px, 4vw, 100px);
        width: clamp(900px, 43vw, 990px);
    }

    .about-content h2 {
        font-size: clamp(58px, 2.8vw, 68px);
    }
}

/* Full HD: 1680-2047 */
@media (min-width: 1680px) and (max-width: 2047px) {
    :root {
        --container: 1440px;
        --page-width: min(84vw, var(--container));
        --section-edge: clamp(160px, 10vw, 192px);
        --header-height: 68px;
        --section-pad: clamp(82px, 5.4vw, 112px);
    }
}

/* FHD-to-HD bridge: 1440-1679 */
@media (min-width: 1440px) and (max-width: 1679px) {
    :root {
        --container: 1280px;
        --page-width: min(88vw, var(--container));
        --section-edge: clamp(132px, 9.2vw, 156px);
        --section-pad: clamp(76px, 5.6vw, 96px);
        --split-gap: clamp(34px, 3.5vw, 56px);
    }

    .hero-grid {
        --hero-edge: 5.5vw;
    }

    .about-layout {
        grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    }
}

/* HD desktop / common laptops: 1200-1439 */
@media (min-width: 1200px) and (max-width: 1439px) {
    :root {
        --container: 1180px;
        --page-width: min(88vw, var(--container));
        --section-edge: clamp(108px, 9vw, 132px);
        --section-pad: clamp(68px, 5.4vw, 84px);
        --split-gap: clamp(30px, 3.2vw, 46px);
    }

    .hero-grid {
        --hero-edge: 5.5vw;
        grid-template-columns: minmax(340px, 690px) minmax(0, 1fr);
    }

    .hero-copy {
        max-width: 690px;
    }

    .hero h1,
    .hero h1.hero-title-rotator {
        font-size: clamp(48px, 4.15vw, 58px);
    }

    .hero h1.hero-title-rotator {
        min-height: calc(clamp(48px, 4.15vw, 58px) * 1.18);
    }

    .hero-lead {
        max-width: 650px;
        font-size: clamp(17px, 1.35vw, 20px);
    }

    .hero-bg__person {
        right: clamp(28px, 3vw, 48px);
        width: clamp(570px, 48vw, 690px);
    }

    .project-matcha .project-grid {
        grid-template-columns: minmax(330px, 0.41fr) minmax(0, 0.59fr);
    }

    .project-eafc .project-grid {
        grid-template-columns: minmax(0, 0.57fr) minmax(350px, 0.43fr);
    }

    .project-eafc .eafc-visual {
        width: min(108%, 700px);
        max-width: 700px;
        margin-left: 0;
    }

    .cosmic-grid {
        grid-template-columns: minmax(440px, 0.47fr) minmax(0, 0.53fr);
    }

    .project-copy--dark {
        padding: clamp(34px, 3vw, 44px);
    }
}

/* Compact laptop bridge: 1101-1199 */
@media (min-width: 1101px) and (max-width: 1199px) {
    :root {
        --container: 1080px;
        --page-width: min(90vw, var(--container));
        --section-edge: clamp(88px, 8vw, 104px);
        --section-pad: clamp(64px, 5.5vw, 76px);
        --split-gap: 30px;
    }

    .hero-grid {
        --hero-edge: 5vw;
        grid-template-columns: minmax(320px, 600px) minmax(0, 1fr);
    }

    .hero-copy {
        max-width: 560px;
    }

    .hero h1,
    .hero h1.hero-title-rotator {
        font-size: clamp(45px, 4.3vw, 51px);
    }

    .hero h1.hero-title-rotator {
        min-height: calc(clamp(45px, 4.3vw, 51px) * 1.18);
    }

    .hero-bg__person {
        right: 18px;
        width: clamp(520px, 48vw, 570px);
    }

    .project-matcha .project-grid,
    .project-eafc .project-grid,
    .cosmic-grid {
        gap: 32px;
    }
}

/* Small laptops: 901-1100 */
@media (min-width: 901px) and (max-width: 1100px) {
    :root {
        --container: 1000px;
        --page-width: min(90vw, var(--container));
        --section-pad: clamp(62px, 6vw, 76px);
        --split-gap: 36px;
    }

    .hero-grid {
        width: 90vw;
        margin-inline: 5vw;
        grid-template-columns: minmax(0, 1fr) minmax(0, 0.2fr);
    }

    .hero-copy {
        max-width: 600px;
    }

    .hero h1,
    .hero h1.hero-title-rotator {
        font-size: clamp(43px, 4.8vw, 52px);
    }

    .hero h1.hero-title-rotator {
        min-height: calc(clamp(43px, 4.8vw, 52px) * 2.12);
    }

    .hero h1.hero-title-rotator .hero-title-slide {
        max-width: 560px;
        line-height: 1.02;
        white-space: normal;
    }

    .hero-lead {
        max-width: 570px;
        font-size: 17px;
    }

    .hero-bg__person {
        right: 0;
        width: clamp(430px, 44vw, 490px);
    }

    .about-layout {
        grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr);
        gap: 34px;
    }

    .about-content h2 {
        font-size: clamp(40px, 5vw, 52px);
    }
}

/* Tablet landscape and portrait: 721-900 */
@media (min-width: 721px) and (max-width: 900px) {
    :root {
        --page-width: calc(100vw - 64px);
        --section-pad: clamp(64px, 8vw, 82px);
        --split-gap: 40px;
    }

    .hero-grid {
        width: calc(100vw - 64px);
    }

    .hero-copy {
        max-width: 720px;
        margin-inline: auto;
        text-align: center;
    }

    .hero .actions {
        justify-content: center;
    }

    .hero h1,
    .hero h1.hero-title-rotator {
        font-size: clamp(44px, 6.2vw, 52px);
    }

    .hero h1.hero-title-rotator {
        min-height: calc(clamp(44px, 6.2vw, 52px) * 1.3);
    }

    .hero-lead {
        max-width: 640px;
        margin-inline: auto;
    }

    .about-portrait {
        width: min(100%, 620px);
    }

    .contact-panel {
        max-width: none;
    }
}

/* Small tablet / 720-wide bridge: 621-720 */
@media (min-width: 621px) and (max-width: 720px) {
    :root {
        --page-width: calc(100vw - 48px);
        --section-pad: clamp(58px, 8vw, 72px);
    }

    .hero-grid {
        width: calc(100vw - 48px);
    }

    .hero-copy {
        text-align: center;
    }

    .hero .actions {
        justify-content: center;
    }

    .hero h1,
    .hero h1.hero-title-rotator {
        font-size: clamp(40px, 6.8vw, 48px);
    }

    .hero h1.hero-title-rotator {
        min-height: calc(clamp(40px, 6.8vw, 48px) * 1.35);
    }

    .hero-lead {
        margin-inline: auto;
    }

    .project-copy,
    .project-copy--right,
    .project-copy--dark {
        max-width: 620px;
    }
}

/* Large phones: 481-620 */
@media (min-width: 481px) and (max-width: 620px) {
    :root {
        --page-width: calc(100vw - 40px);
        --section-pad: clamp(52px, 9vw, 66px);
    }

    .container,
    .intro-layout,
    .about-layout,
    .capability-shell,
    .contact-layout,
    .site-footer-layout {
        width: var(--page-width);
    }

    .hero-grid,
    .project-grid,
    .project-grid--reverse,
    .project-matcha .project-grid,
    .project-eafc .project-grid,
    .cosmic-grid {
        width: var(--page-width);
    }

    .hero h1,
    .hero h1.hero-title-rotator {
        font-size: clamp(38px, 8.4vw, 46px);
    }

    .hero h1.hero-title-rotator {
        min-height: calc(clamp(38px, 8.4vw, 46px) * 2.12);
    }

    .about-content h2,
    .capability-heading h2,
    .contact-layout h2 {
        font-size: clamp(38px, 8.2vw, 48px);
    }
}

/* Standard phones: 361-480 */
@media (min-width: 361px) and (max-width: 480px) {
    :root {
        --page-width: calc(100vw - 32px);
        --section-pad: clamp(48px, 12vw, 60px);
    }

    .container,
    .intro-layout,
    .about-layout,
    .capability-shell,
    .contact-layout,
    .site-footer-layout,
    .hero-grid,
    .project-grid,
    .project-grid--reverse,
    .project-matcha .project-grid,
    .project-eafc .project-grid,
    .cosmic-grid {
        width: var(--page-width);
    }

    .hero h1,
    .hero h1.hero-title-rotator {
        font-size: clamp(34px, 10.5vw, 44px);
    }

    .hero h1.hero-title-rotator {
        min-height: calc(clamp(34px, 10.5vw, 44px) * 2.18);
    }

    .project-copy--dark {
        padding: 26px 20px;
    }

    .project-copy--dark .tag-row {
        display: grid;
        width: 100%;
        grid-template-columns: 1fr;
    }

    .project-copy--dark .tag-row span {
        justify-content: center;
    }
}

/* Narrow phones: <=360 */
@media (max-width: 360px) {
    :root {
        --page-width: calc(100vw - 24px);
        --section-pad: 46px;
        --header-height: 60px;
    }

    .container,
    .intro-layout,
    .about-layout,
    .capability-shell,
    .contact-layout,
    .site-footer-layout,
    .hero-grid,
    .project-grid,
    .project-grid--reverse,
    .project-matcha .project-grid,
    .project-eafc .project-grid,
    .cosmic-grid {
        width: var(--page-width);
    }

    .site-header {
        grid-template-columns: 54px minmax(0, 1fr) 50px;
    }

    .site-header .header-actions {
        grid-template-columns: minmax(0, 1fr) 50px;
    }

    .site-header .header-button {
        min-width: 86px;
        padding-inline: 10px;
        font-size: 9px;
    }

    .hero h1,
    .hero h1.hero-title-rotator {
        font-size: clamp(31px, 10vw, 36px);
    }

    .hero h1.hero-title-rotator {
        min-height: calc(clamp(31px, 10vw, 36px) * 2.22);
    }

    .hero-lead {
        font-size: 15px;
    }

    .hero .actions {
        gap: 10px;
    }

    .project-copy h2,
    .about-content h2,
    .capability-heading h2,
    .contact-layout h2 {
        font-size: clamp(34px, 11vw, 40px);
    }

    .contact-panel {
        padding: 22px 16px;
    }
}

/* Height-aware HD variants: 720p and shorter desktop screens. */
@media (min-width: 901px) and (max-height: 720px) {
    :root {
        --section-pad: clamp(56px, 4.5vw, 72px);
    }

    .hero {
        padding-top: calc(var(--header-height) + 18px);
    }

    .hero .eyebrow {
        margin-bottom: 12px;
    }

    .hero .actions {
        margin-top: 26px;
    }

    .hero-bg__person {
        bottom: -58px;
        max-height: calc(100svh - var(--header-height) + 58px);
    }

    .project-section {
        min-height: max(650px, 100svh);
    }
}

@media (min-width: 901px) and (max-height: 650px) {
    .hero h1,
    .hero h1.hero-title-rotator {
        font-size: clamp(42px, 3.8vw, 54px);
    }

    .hero h1.hero-title-rotator {
        min-height: calc(clamp(42px, 3.8vw, 54px) * 1.18);
    }

    .hero-lead {
        font-size: 16px;
        line-height: 1.35;
    }

    .hero .actions {
        margin-top: 22px;
    }
}

/* Final cascade guard for the conversion components. */
.service-list article {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    grid-template-rows: 1fr auto;
    gap: 12px 16px;
    align-items: start;
    min-height: 245px;
    padding: clamp(21px, 2.2vw, 30px);
}

.service-list article > span {
    grid-row: 1 / -1;
}

.service-list article > a {
    grid-column: 2;
}

.contact-layout {
    align-items: start;
}

.contact-heading {
    position: sticky;
    top: calc(var(--header-height) + 34px);
}

.contact-panel {
    padding: clamp(22px, 2.8vw, 38px);
}

.contact-direct .contact-email {
    width: fit-content;
    margin: 2px 0;
    font-size: clamp(14px, 1.2vw, 18px);
}

@media (max-width: 900px) {
    .contact-heading {
        position: static;
    }
}

@media (max-width: 620px) {
    .service-list article {
        min-height: 0;
        padding: 21px 18px;
    }

    .contact-panel {
        padding: 19px;
    }
}

/* Final intro axis: keep the project index wide at every desktop size. */
@media (min-width: 901px) {
    .intro-layout {
        --intro-edge: 6vw;
        display: grid;
        width: calc(100vw - var(--intro-edge) - var(--intro-edge));
        max-width: none;
        grid-template-columns: repeat(12, minmax(0, 1fr));
        column-gap: clamp(18px, 2vw, 38px);
        row-gap: clamp(42px, 5vw, 76px);
        justify-items: stretch;
        align-items: end;
        margin-inline: var(--intro-edge);
        padding-inline: 0;
    }

    .intro-copy {
        grid-column: 1 / span 8;
        justify-self: stretch;
        text-align: left;
    }

    .intro-panel {
        grid-column: 9 / -1;
        justify-self: stretch;
        padding: 0 0 5px;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
        backdrop-filter: none;
        text-align: left;
    }

    .intro-links {
        display: grid;
        width: 100%;
        grid-column: 1 / -1;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        justify-self: stretch;
        gap: 0;
        margin-top: 0;
    }
}

@media (min-width: 2880px) and (max-width: 3439px) {
    .intro-layout {
        --intro-edge: 7vw;
    }
}

@media (min-width: 3440px) {
    .intro-layout {
        --intro-edge: 7.5vw;
    }
}

.intro-panel {
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.intro-links {
    border-radius: 0;
}

.intro-links a {
    border-radius: 0;
}

@media (max-width: 900px) {
    .intro-layout {
        width: var(--page-width);
        grid-template-columns: 1fr;
        justify-items: stretch;
        margin-inline: auto;
        padding-inline: 0;
    }

    .intro-copy,
    .intro-panel,
    .intro-links {
        grid-column: 1;
        width: 100%;
        justify-self: stretch;
        text-align: left;
    }

    .intro-links {
        display: grid;
        grid-template-columns: 1fr;
    }
}

@media (max-width: 620px) {
    .back-to-top {
        display: none;
    }
}

/* Matcha case-study preview: give the story enough weight beside the artwork. */
.project-matcha {
    --matcha-accent: #2f762d;
    --matcha-accent-rgb: 47, 118, 45;
}

.project-matcha .project-copy {
    width: 100%;
    max-width: 820px;
}

.project-matcha .project-copy h2 {
    font-size: clamp(54px, 5.3vw, 94px);
    line-height: 0.96;
}

.project-matcha .project-copy .project-description {
    width: 100%;
    max-width: 760px;
    margin-top: 30px;
    color: #24364a;
    font-size: clamp(18px, 1.35vw, 23px);
    line-height: 1.5;
}

.project-proof-list {
    --proof-accent: var(--matcha-accent, #2f762d);
    --proof-line: rgba(47, 118, 45, 0.28);
    --proof-text: #152619;
    display: grid;
    width: 100%;
    max-width: 760px;
    margin: 30px 0 0;
    padding: 0;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 1px solid var(--proof-line);
    border-bottom: 1px solid var(--proof-line);
    list-style: none;
}

.project-proof-list li {
    display: grid;
    min-width: 0;
    padding: 16px 14px 17px 0;
    gap: 5px;
}

.project-proof-list li + li {
    padding-left: 16px;
    border-left: 1px solid var(--proof-line);
}

.project-proof-list span {
    color: var(--proof-accent);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.08em;
}

.project-proof-list strong {
    color: var(--proof-text);
    font-size: clamp(12px, 0.9vw, 15px);
    font-weight: 800;
    line-height: 1.25;
}

.project-proof-list--blue {
    --proof-accent: #005fc4;
    --proof-line: rgba(0, 95, 196, 0.25);
    --proof-text: #102843;
}

.project-proof-list--gold {
    --proof-accent: #ffe0a3;
    --proof-line: rgba(255, 224, 163, 0.25);
    --proof-text: #ffffff;
}

.project-proof-list + .tag-row {
    display: grid;
    width: 100%;
    max-width: 760px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 24px;
}

.project-proof-list + .tag-row span {
    justify-content: center;
    min-width: 0;
    padding-inline: 10px;
    text-align: center;
}

.project-proof-list ~ .case-button {
    width: 100%;
    max-width: 760px;
    min-height: 62px;
    margin-top: 20px;
    border-width: 2px;
    font-size: 13px;
}

@keyframes matcha-text-color-sweep {
    from {
        -webkit-mask-position: 0 0;
        mask-position: 0 0;
    }

    to {
        -webkit-mask-position: 100% 0;
        mask-position: 100% 0;
    }
}

@keyframes matcha-text-color-sweep-alt {
    from {
        -webkit-mask-position: 0 0;
        mask-position: 0 0;
    }

    to {
        -webkit-mask-position: 100% 0;
        mask-position: 100% 0;
    }
}

[data-matcha-color-text] {
    position: relative;
}

.project-matcha.is-color-sweeping [data-matcha-color-text] {
    color: var(--matcha-previous-accent) !important;
    transition: none !important;
}

.project-matcha.is-color-sweeping [data-matcha-color-text]::after {
    content: attr(data-matcha-color-text);
    position: absolute;
    inset: 0;
    z-index: 2;
    color: var(--matcha-accent);
    pointer-events: none;
    -webkit-mask-image: linear-gradient(90deg, transparent 0 34%, rgba(0, 0, 0, 0.3) 45%, #000 55% 100%);
    mask-image: linear-gradient(90deg, transparent 0 34%, rgba(0, 0, 0, 0.3) 45%, #000 55% 100%);
    -webkit-mask-size: 300% 100%;
    mask-size: 300% 100%;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    animation: var(--matcha-sweep-animation, matcha-text-color-sweep) 936ms var(--ease) both;
}

.project-matcha.is-color-sweeping .tag-row [data-matcha-color-text]::after,
.project-matcha.is-color-sweeping .case-button[data-matcha-color-text]::after {
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (min-width: 1101px) {
    .project-matcha .project-grid {
        grid-template-columns: minmax(480px, 0.46fr) minmax(0, 0.54fr);
        gap: clamp(32px, 3.2vw, 54px);
    }

    .project-matcha .matcha-visual {
        width: min(108%, 1480px);
        clip-path: inset(-20% 0 -20% 0);
    }

    .project-eafc .eafc-visual {
        --eafc-left-inset: var(--section-edge);
        width: calc(100% - var(--eafc-left-inset));
        max-width: none;
        margin-left: var(--eafc-left-inset);
        justify-self: start;
        clip-path: none;
    }
}

@media (min-width: 2400px) {
    .project-matcha .project-copy h2 {
        font-size: clamp(94px, 2.7vw, 108px);
    }
}

@media (max-width: 1100px) {
    .project-matcha .project-copy {
        max-width: 760px;
    }
}

@media (max-width: 620px) {
    .project-matcha .project-copy h2 {
        font-size: clamp(40px, 12vw, 54px);
    }

    .project-matcha .project-copy .project-description {
        font-size: 17px;
    }

    .project-proof-list {
        grid-template-columns: 1fr;
    }

    .project-proof-list li {
        grid-template-columns: 32px minmax(0, 1fr);
        align-items: center;
        padding: 12px 0;
        gap: 8px;
    }

    .project-proof-list li + li {
        padding-left: 0;
        border-top: 1px solid var(--proof-line);
        border-left: 0;
    }

    .project-proof-list strong {
        font-size: 13px;
    }

    .project-proof-list ~ .case-button {
        width: 100%;
        min-height: 58px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .project-matcha.is-color-sweeping [data-matcha-color-text] {
        color: var(--matcha-accent) !important;
    }

    .project-matcha.is-color-sweeping [data-matcha-color-text]::after {
        content: none;
        animation: none;
    }
}

/* Hero portrait safety: never place the person underneath the headline. */
@media (min-width: 1200px) and (max-width: 1439px) {
    .hero-bg__person {
        right: 0;
        width: clamp(500px, 42vw, 580px);
    }
}

/* 1200 CSS px maps safely to a 1280 px HD desktop viewport after browser chrome/scrollbar. */
@media (max-width: 1199px) {
    .hero-bg__person,
    .hero-person-link {
        display: none !important;
    }
}

@media (max-width: 900px) {
    .hero {
        min-height: 100svh;
        padding-bottom: clamp(72px, 11vh, 108px);
    }
}

@media (max-width: 620px) {
    .hero {
        padding-bottom: clamp(64px, 10vh, 88px);
    }
}

/* EAFC: scroll-triggered deck reveal and restrained gaming interactions. */
@property --eafc-reflection-alpha {
    syntax: "<number>";
    inherits: false;
    initial-value: 0;
}

/* Interaction polish — July 2026 review. */
.hero-bg__person:not(a) {
    z-index: 2;
    right: clamp(24px, 4vw, 72px);
    bottom: 0;
    width: min(48vw, 720px);
    height: calc(100svh - var(--header-height));
    overflow: hidden;
    opacity: 1;
    scale: 1;
    animation: none;
    cursor: default;
    pointer-events: none;
}

.hero-bg__person:not(a) img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center bottom;
}

@media (max-width: 1199px) {
    .hero-bg__person:not(a) {
        display: block !important;
    }
}

@media (max-width: 900px) {
    .hero-bg__person:not(a) {
        display: none !important;
    }
}

.hero-bg__person:not(a)::after,
.hero-bg__person:not(a) > span {
    content: none;
    display: none;
}

.project-eafc .eafc-visual.reveal {
    clip-path: none;
}

.project-eafc .eafc-visual {
    margin-block: clamp(22px, 3vw, 48px);
}

.zg-visual::after,
.zg-visual.is-visible::after,
.zg-visual:hover::after {
    animation: none;
    opacity: 0;
}

.zg-visual.reveal {
    opacity: 0;
    transform: translateY(22px) scale(.985);
    transition: opacity 620ms ease, transform 760ms var(--ease);
}

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

.zg-visual.is-visible .zg-art {
    animation: zg-art-breathe 7s ease-in-out 900ms infinite;
}

.zg-visual:hover .zg-art {
    animation-play-state: paused;
    transform: translateY(-4px) scale(1.006);
    filter: saturate(1.025) brightness(1.012);
    box-shadow: 0 34px 72px rgba(0, 0, 0, .34), 0 0 0 1px rgba(240, 199, 101, .24), 0 0 30px rgba(240, 199, 101, .08);
}

@keyframes zg-art-breathe {
    0%, 100% { translate: 0 0; }
    50% { translate: 0 -4px; }
}

@media (prefers-reduced-motion: reduce) {
    .zg-visual.is-visible .zg-art { animation: none; }
}

/* Contact — dark split inquiry section based on the supplied reference. */
.contact-section {
    position: relative;
    min-height: auto;
    padding: clamp(48px, 3.4vw, 62px) 0 clamp(42px, 2.8vw, 52px);
    overflow: clip;
    color: #f8fbff;
    background:
        radial-gradient(860px 700px at 93% 22%, rgba(0, 103, 218, 0.24), transparent 70%),
        radial-gradient(620px 620px at 8% 82%, rgba(0, 92, 181, 0.14), transparent 72%),
        linear-gradient(120deg, #020a12 0%, #06121e 54%, #03101c 100%);
}

.contact-section::before,
.contact-section::after {
    content: none;
}

.contact-section .contact-layout {
    position: relative;
    z-index: 1;
    display: grid;
    width: min(calc(100vw - clamp(96px, 9vw, 184px)), 1920px);
    max-width: none;
    margin: 0 auto;
    grid-template-columns: minmax(0, 0.49fr) minmax(520px, 0.51fr);
    align-items: start;
    gap: clamp(74px, 6vw, 122px);
    text-align: left;
}

.contact-section .contact-heading {
    position: static;
    width: 100%;
    max-width: 760px;
    padding-top: clamp(22px, 1.8vw, 34px);
}

.contact-section .contact-heading .eyebrow {
    margin: 0 0 clamp(22px, 2vw, 34px);
    color: #1687ff;
    font-size: clamp(11px, 0.72vw, 14px);
    font-weight: 950;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.contact-section .contact-layout h2 {
    max-width: 720px;
    margin: 0;
    color: #f8fbff;
    font-size: clamp(62px, 4.55vw, 88px);
    line-height: 0.92;
    letter-spacing: -0.055em;
}

.contact-section .contact-intro {
    max-width: 610px;
    margin: clamp(30px, 2.5vw, 44px) 0 0;
    color: rgba(235, 242, 250, 0.76);
    font-size: clamp(15px, 1vw, 19px);
    line-height: 1.55;
}

.contact-section .contact-expectations {
    display: block;
    max-width: 720px;
    margin: clamp(38px, 3.1vw, 58px) 0 0;
    padding: 0;
    border: 0;
}

.contact-section .contact-expectations > div {
    position: relative;
    display: grid;
    grid-template-columns: clamp(94px, 7vw, 132px) minmax(0, 1fr) 42px;
    align-items: center;
    min-height: clamp(128px, 9vw, 164px);
    padding: clamp(20px, 1.8vw, 32px) 0;
    border: 0;
    border-bottom: 1px solid rgba(219, 233, 246, 0.18);
    background: transparent;
}

.contact-section .contact-expectations > div:last-child {
    border-bottom: 0;
}

.contact-section .contact-expectations > div::after {
    content: "→";
    grid-column: 3;
    justify-self: end;
    color: rgba(235, 242, 250, 0.68);
    font-size: 30px;
    font-weight: 300;
}

.contact-section .contact-expectations > div > span {
    grid-column: 1;
    color: rgba(31, 126, 222, 0.5);
    font-family: "Arial Narrow", "Roboto Condensed", sans-serif;
    font-size: clamp(52px, 4vw, 72px);
    font-weight: 300;
    line-height: 0.9;
    letter-spacing: -0.06em;
}

.contact-section .contact-expectations p {
    grid-column: 2;
    max-width: 370px;
    margin: 0;
    padding-left: 42px;
    color: rgba(235, 242, 250, 0.7);
    font-size: clamp(13px, 0.85vw, 16px);
    line-height: 1.5;
}

.contact-section .contact-expectations p::before {
    content: "";
    position: absolute;
    width: 13px;
    height: 13px;
    margin: 4px 0 0 -42px;
    border-radius: 50%;
    background: #0b8cff;
    box-shadow: 0 0 18px rgba(11, 140, 255, 0.42);
}

.contact-section .contact-expectations strong {
    display: block;
    margin: 0 0 8px;
    color: #fff;
    font-size: clamp(12px, 0.76vw, 14px);
    font-weight: 950;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.contact-section .contact-panel {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: clamp(32px, 2.4vw, 44px);
    color: #fff;
    border: 1px solid rgba(193, 216, 237, 0.22);
    border-radius: 18px;
    background: linear-gradient(145deg, rgba(4, 13, 22, 0.8), rgba(6, 23, 39, 0.7));
    box-shadow: 0 30px 100px rgba(0, 0, 0, 0.2);
    transform: none;
    backdrop-filter: blur(16px);
}

.contact-section .contact-panel:hover {
    border-color: rgba(30, 137, 247, 0.35);
    box-shadow: 0 34px 110px rgba(0, 0, 0, 0.24), 0 0 54px rgba(0, 108, 224, 0.08);
    transform: none;
}

.contact-section .contact-status {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 0;
    color: #fff;
    font-size: clamp(12px, 0.8vw, 15px);
    font-weight: 950;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.contact-section .contact-status > span {
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: #147edb;
    box-shadow: 0 0 18px rgba(20, 126, 219, 0.42);
}

.contact-section .contact-panel-intro {
    margin: 14px 0 0;
    color: rgba(235, 242, 250, 0.66);
    font-size: clamp(13px, 0.88vw, 16px);
    line-height: 1.5;
}

.contact-section .contact-routes {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.contact-section .contact-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(22px, 1.7vw, 30px) 18px;
    margin-top: clamp(34px, 2.7vw, 48px);
}

.contact-section .contact-form-field {
    margin: 0;
}

.contact-section .contact-form-field--project,
.contact-section .contact-form-field:has(textarea),
.contact-section .contact-submit,
.contact-section .contact-form-note,
.contact-section .contact-form-status {
    grid-column: 1 / -1;
}

.contact-section .contact-form-field label {
    display: block;
    margin: 0 0 11px;
    color: rgba(242, 247, 252, 0.85);
    font-size: 10px;
    font-weight: 950;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.contact-section .contact-form input,
.contact-section .contact-form select,
.contact-section .contact-form textarea {
    width: 100%;
    margin: 0;
    border: 1px solid rgba(188, 211, 233, 0.18);
    border-radius: 8px;
    outline: 0;
    color: #f8fbff;
    background: rgba(0, 5, 10, 0.28);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.015);
    font: inherit;
    transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.contact-section .contact-form input,
.contact-section .contact-form select {
    min-height: 60px;
    padding: 0 17px;
}

.contact-section .contact-form textarea {
    min-height: 154px;
    padding: 17px;
    resize: vertical;
}

.contact-section .contact-form input::placeholder,
.contact-section .contact-form textarea::placeholder {
    color: rgba(224, 234, 244, 0.48);
}

.contact-section .contact-form select {
    color-scheme: dark;
}

.contact-section .contact-form input:focus,
.contact-section .contact-form select:focus,
.contact-section .contact-form textarea:focus {
    border-color: rgba(21, 139, 255, 0.75);
    background: rgba(4, 18, 31, 0.72);
    box-shadow: 0 0 0 3px rgba(10, 135, 255, 0.11);
}

.contact-section .contact-submit.button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    width: 100%;
    min-height: 64px;
    margin: 2px 0 0;
    border: 0;
    border-radius: 8px;
    color: #fff;
    background: linear-gradient(100deg, #078af9, #087cff);
    box-shadow: 0 0 32px rgba(0, 128, 255, 0.28);
    font-size: 12px;
    font-weight: 950;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.contact-section .contact-submit.button::after {
    content: "→";
    font-size: 20px;
    font-weight: 400;
    transition: transform 180ms ease;
}

.contact-section .contact-submit.button:hover::after {
    transform: translateX(5px);
}

.contact-section .contact-form-note {
    display: none;
}

.contact-section .contact-form-status {
    min-height: 0;
    margin: -10px 0 0;
    color: rgba(230, 240, 250, 0.7);
    font-size: 12px;
}

.contact-section .contact-direct {
    display: grid;
    grid-template-columns: 74px minmax(0, 1fr);
    align-items: center;
    gap: 22px;
    margin: clamp(32px, 2.8vw, 48px) 0 0;
    padding: clamp(30px, 2.5vw, 44px) 0 0;
    border-top: 1px solid rgba(193, 216, 237, 0.18);
}

.contact-section .contact-direct-icon {
    display: grid;
    place-items: center;
    width: 70px;
    height: 70px;
    border: 1px solid rgba(193, 216, 237, 0.28);
    border-radius: 50%;
}

.contact-section .contact-direct-icon svg {
    width: 30px;
    height: 30px;
    fill: none;
    stroke: #078aff;
    stroke-width: 1.5;
}

.contact-section .contact-direct-copy {
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;
}

.contact-section .contact-direct-copy > span {
    color: rgba(228, 238, 248, 0.6);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.contact-section .contact-panel .contact-email {
    display: inline-block;
    margin: 0;
    padding: 0;
    color: #fff;
    font-size: clamp(18px, 1.35vw, 25px);
    font-weight: 850;
    line-height: 1.15;
    letter-spacing: -0.02em;
    text-transform: none;
    overflow-wrap: anywhere;
}

.contact-section .contact-direct small {
    color: rgba(228, 238, 248, 0.52);
    font-size: 10px;
    font-weight: 850;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.site-footer {
    border-top: 1px solid rgba(193, 216, 237, 0.13);
    background: #020912;
}

.site-footer .site-footer-layout {
    width: min(calc(100vw - clamp(96px, 9vw, 184px)), 1920px);
    max-width: none;
}

@media (max-width: 1100px) {
    .contact-section .contact-layout {
        grid-template-columns: minmax(0, 0.46fr) minmax(480px, 0.54fr);
        gap: 54px;
    }

    .contact-section .contact-expectations p {
        padding-left: 32px;
    }

    .contact-section .contact-expectations p::before {
        margin-left: -32px;
    }
}

/* Final interaction safeguards. */
.project-eafc .eafc-visual.is-settled > img {
    opacity: 1;
    transform: var(--eafc-card-rest);
    will-change: auto;
}

.contact-section .contact-layout {
    align-items: start;
}

.back-to-top {
    right: clamp(14px, 1.5vw, 24px);
    bottom: max(14px, env(safe-area-inset-bottom));
    width: 46px;
    height: 46px;
    color: #eaf4ff;
    background: rgba(4, 20, 39, .78);
    border: 1px solid rgba(129, 193, 255, .28);
    border-radius: 999px;
    box-shadow: 0 12px 28px rgba(0, 25, 55, .2);
    backdrop-filter: blur(12px);
}

.back-to-top svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
}

@media (hover: none) {
    .project-eafc .eafc-visual.is-visible > img:hover {
        transform: var(--eafc-card-rest);
    }
}

/* Isolate scroll parallax from the artwork's breathing and hover transforms. */
.zg-art-wrap {
    position: relative;
    z-index: 1;
    width: min(92%, 760px);
    aspect-ratio: 1;
}

.zg-art-wrap .zg-art {
    width: 100%;
    height: 100%;
}

@media (max-width: 620px) {
    .zg-art-wrap {
        width: 92%;
    }
}

/* EAFC reflections use the supplied cropped card artwork. */
.project-eafc .eafc-visual {
    z-index: 2;
}

.project-eafc .eafc-visual > img:not(.eafc-reflection) {
    -webkit-box-reflect: unset;
}

.project-eafc .eafc-visual > img.eafc-reflection {
    position: absolute;
    z-index: 1;
    top: 62%;
    height: auto;
    margin: 0;
    pointer-events: none;
    opacity: 0;
    filter: none;
    transform: scaleY(-1);
    transform-origin: 50% 50%;
    translate: 0 0;
    scale: 1;
    -webkit-box-reflect: unset;
    transition: opacity 520ms ease;
}

.project-eafc .eafc-visual.is-visible > img.eafc-reflection,
.project-eafc .eafc-visual.is-settled > img.eafc-reflection {
    opacity: 0.28;
    transform: scaleY(-1);
}

.project-eafc .eafc-visual > img.eafc-reflection--silver {
    left: 0.3%;
    top: 67%;
    width: 13.9%;
}

.project-eafc .eafc-visual > img.eafc-reflection--gold {
    left: 17.3%;
    top: 68%;
    width: 17.1%;
}

.project-eafc .eafc-visual > img.eafc-reflection--icon {
    left: 36.8%;
    top: 77%;
    width: 26.3%;
}

.project-eafc .eafc-visual > img.eafc-reflection--black-gold {
    left: 65.8%;
    top: 65%;
    width: 16.5%;
}

.project-eafc .eafc-visual > img.eafc-reflection--wonderkid {
    left: 85.7%;
    top: 63%;
    width: 13.8%;
}

@media (prefers-reduced-motion: reduce) {
    .project-eafc .eafc-visual > img.eafc-reflection {
        opacity: 0.28;
        transform: scaleY(-1) !important;
    }
}

/* Keep the supplied EAFC reflections aligned with the compact card layout. */
@media (max-width: 620px) {
    .project-eafc .eafc-visual > img.eafc-reflection--silver {
        left: 0;
        top: 65%;
        width: 21%;
    }

    .project-eafc .eafc-visual > img.eafc-reflection--gold {
        left: 16%;
        top: 65%;
        width: 25%;
    }

    .project-eafc .eafc-visual > img.eafc-reflection--icon {
        left: 31.5%;
        top: 72%;
        width: 37%;
    }

    .project-eafc .eafc-visual > img.eafc-reflection--black-gold {
        left: 59%;
        top: 62%;
        width: 24%;
    }

    .project-eafc .eafc-visual > img.eafc-reflection--wonderkid {
        left: 79%;
        top: 61%;
        width: 20%;
    }
}

@media (max-width: 900px) {
    .contact-section .contact-layout {
        width: min(calc(100vw - 40px), 760px);
        grid-template-columns: 1fr;
        gap: 62px;
    }

    .contact-section .contact-heading {
        max-width: none;
        padding-top: 0;
    }

    .contact-section .contact-expectations {
        max-width: none;
    }

    .contact-section .contact-panel {
        max-width: none;
    }

    .site-footer .site-footer-layout {
        width: min(calc(100vw - 40px), 760px);
    }
}

@media (max-width: 620px) {
    .contact-section {
        padding: 62px 0 54px;
    }

    .contact-section .contact-layout {
        width: calc(100vw - 32px);
        gap: 46px;
    }

    .contact-section .contact-layout h2 {
        font-size: clamp(54px, 15vw, 72px);
    }

    .contact-section .contact-expectations > div {
        grid-template-columns: 66px minmax(0, 1fr) 24px;
        min-height: 126px;
    }

    .contact-section .contact-expectations > div > span {
        font-size: 44px;
    }

    .contact-section .contact-expectations p {
        padding-left: 26px;
    }

    .contact-section .contact-expectations p::before {
        width: 10px;
        height: 10px;
        margin-left: -26px;
    }

    .contact-section .contact-expectations > div::after {
        font-size: 22px;
    }

    .contact-section .contact-panel {
        padding: 28px 20px;
        border-radius: 14px;
    }

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

    .contact-section .contact-form-field,
    .contact-section .contact-form-field--project,
    .contact-section .contact-form-field:has(textarea),
    .contact-section .contact-submit,
    .contact-section .contact-form-status {
        grid-column: 1;
    }

    .contact-section .contact-direct {
        grid-template-columns: 56px minmax(0, 1fr);
        gap: 16px;
    }

    .contact-section .contact-direct-icon {
        width: 54px;
        height: 54px;
    }

    .contact-section .contact-panel .contact-email {
        font-size: clamp(14px, 4.4vw, 18px);
    }

    .site-footer .site-footer-layout {
        width: calc(100vw - 32px);
    }
}

.project-eafc {
    background: #fff;
    isolation: isolate;
    overflow: clip;
}

.project-eafc::before {
    z-index: 0;
    background:
        radial-gradient(900px 560px at 32% 44%, #fff, rgba(255, 255, 255, 0) 70%),
        radial-gradient(720px 420px at 25% 55%, rgba(0, 126, 255, 0.12), transparent 68%),
        radial-gradient(620px 360px at 78% 20%, rgba(255, 255, 255, 0.72), transparent 72%),
        linear-gradient(180deg, #fff 0%, #f3faff 38%, #e5f4ff 100%);
    opacity: 0;
    transition: opacity 700ms ease;
}

.project-eafc:has(.eafc-visual.is-visible)::before {
    opacity: 1;
}

.project-eafc .project-copy--right.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 600ms ease 450ms, transform 760ms var(--ease) 450ms;
}

.project-eafc .project-copy--right.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.project-eafc .project-copy--right.reveal > .eyebrow,
.project-eafc .project-copy--right.reveal > h2,
.project-eafc .project-copy--right.reveal > p:not(.eyebrow),
.project-eafc .project-copy--right.reveal > .project-proof-list,
.project-eafc .project-copy--right.reveal > .tag-row,
.project-eafc .project-copy--right.reveal > .case-button,
.project-eafc .project-copy--right.reveal .tag-row span {
    opacity: 1;
    translate: 0 0;
    transition-delay: 0ms;
}

.project-eafc .eafc-visual.reveal {
    opacity: 1;
    transform: none;
    clip-path: inset(-22% -4% -34% -4%);
}

.project-eafc .eafc-visual > img {
    --eafc-card-delay: 100ms;
    --eafc-card-rest: translateY(0) rotate(0deg);
    --eafc-card-start: translateY(0) scale(0.88);
    --eafc-card-hover-rest: translateY(-5px) rotate(0deg);
    --eafc-reflection-alpha: 0;
    opacity: 0;
    translate: 0 0;
    scale: 1;
    transform: var(--eafc-card-start);
    transform-origin: 50% 56%;
    will-change: transform, opacity;
    filter: none;
    -webkit-box-reflect: unset;
    transition-property: opacity, transform, --eafc-reflection-alpha;
    transition-duration: 560ms, 820ms, 620ms;
    transition-timing-function: ease, var(--ease), ease;
    transition-delay: var(--eafc-card-delay), var(--eafc-card-delay), 650ms;
}

.project-eafc .eafc-visual.is-visible > img {
    --eafc-reflection-alpha: 0.22;
    opacity: 1;
    transform: var(--eafc-card-rest);
}

.project-eafc .eafc-visual > img:nth-child(1) {
    --eafc-card-delay: 340ms;
    --eafc-card-start: translateX(265%) scale(0.88) rotate(-1.5deg);
    --eafc-card-rest: translateY(0) rotate(-1.5deg);
    --eafc-card-hover-rest: translateY(-5px) rotate(-1.5deg);
}

.project-eafc .eafc-visual > img:nth-child(2) {
    --eafc-card-delay: 220ms;
    --eafc-card-start: translateX(116%) scale(0.88) rotate(-0.7deg);
    --eafc-card-rest: translateY(0) rotate(-0.7deg);
    --eafc-card-hover-rest: translateY(-5px) rotate(-0.7deg);
}

.project-eafc .eafc-visual > img:nth-child(3) {
    --eafc-card-delay: 100ms;
    --eafc-card-start: translateY(-4%) scale(0.88);
    --eafc-card-rest: translateY(-4%) scale(1.02);
    --eafc-card-hover-rest: translateY(calc(-4% - 5px)) scale(1.02);
    z-index: 3;
}

.project-eafc .eafc-visual > img:nth-child(4) {
    --eafc-card-delay: 220ms;
    --eafc-card-start: translateX(-145%) scale(0.88) rotate(0.7deg);
    --eafc-card-rest: translateY(0) rotate(0.7deg);
    --eafc-card-hover-rest: translateY(-5px) rotate(0.7deg);
}

.project-eafc .eafc-visual > img:nth-child(5) {
    --eafc-card-delay: 340ms;
    --eafc-card-start: translateX(-302%) scale(0.88) rotate(1.4deg);
    --eafc-card-rest: translateY(0) rotate(1.4deg);
    --eafc-card-hover-rest: translateY(-5px) rotate(1.4deg);
}

.project-eafc .eafc-visual.is-visible > img:nth-child(3) {
    animation: eafc-central-float 4.2s ease-in-out 980ms infinite;
}

.project-eafc .eafc-visual.is-visible:hover > img {
    --eafc-reflection-alpha: 0.22;
    filter: none;
}

.project-eafc .eafc-visual.is-visible > img:hover {
    --eafc-reflection-alpha: 0.3;
    z-index: 6;
    animation: none;
    transform: var(--eafc-card-hover-rest);
    filter: none;
    transition-duration: 160ms, 120ms, 220ms;
    transition-timing-function: ease, ease-out, ease;
    transition-delay: 0ms;
}

.project-eafc .eafc-visual.is-settled > img {
    transition-delay: 0ms;
}

.eafc-card-sheen {
    position: absolute;
    top: 0;
    left: 36.8%;
    z-index: 4;
    width: 26.3%;
    aspect-ratio: 880 / 1232;
    pointer-events: none;
    transform: translateY(-4%) scale(1.02);
    transform-origin: 50% 56%;
    opacity: 1;
    -webkit-mask: url("assets/portfolio/source/icon-card-full.webp") center / contain no-repeat;
    mask: url("assets/portfolio/source/icon-card-full.webp") center / contain no-repeat;
}

.eafc-card-sheen::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(112deg, transparent 35%, rgba(255, 255, 255, 0.72) 49%, transparent 62%);
    background-position: 165% 0;
    background-size: 260% 100%;
    opacity: 0;
}

.eafc-visual.is-visible .eafc-card-sheen {
    animation: eafc-central-float 4.2s ease-in-out 980ms infinite;
}

.eafc-visual.is-visible:has(> img:nth-child(3):hover) .eafc-card-sheen {
    animation: none;
    transform: translateY(calc(-4% - 5px)) scale(1.02);
    transition: transform 120ms ease-out;
}

.eafc-visual.is-visible:has(> img:nth-child(3):hover) .eafc-card-sheen::before {
    animation: eafc-sheen-pass 900ms ease-out both;
}

@keyframes eafc-central-float {
    0%, 100% { transform: translateY(-4%) scale(1.02); }
    50% { transform: translateY(calc(-4% - 5px)) scale(1.023); }
}

@keyframes eafc-sheen-pass {
    0% { background-position: 165% 0; opacity: 0; }
    20% { opacity: 0.42; }
    70% { opacity: 0.3; }
    100% { background-position: -65% 0; opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
    .project-eafc::before,
    .project-eafc .project-copy--right.reveal,
    .project-eafc .eafc-visual > img {
        transition: none;
    }

    .project-eafc::before,
    .project-eafc .project-copy--right.reveal,
    .project-eafc .eafc-visual > img {
        opacity: 1;
    }

    .project-eafc .project-copy--right.reveal,
    .project-eafc .eafc-visual.reveal {
        transform: none;
    }

    .project-eafc .eafc-visual > img {
        --eafc-reflection-alpha: 0.22;
        transform: var(--eafc-card-rest);
        animation: none !important;
    }

    .eafc-card-sheen {
        display: none;
    }
}

/* About profile — editorial layout based on the supplied reference. */
.about-section {
    min-height: auto;
    padding: clamp(42px, 3.3vw, 68px) 0;
    background:
        radial-gradient(760px 520px at 86% 8%, rgba(0, 126, 255, 0.075), transparent 70%),
        linear-gradient(135deg, #f8fafc 0%, #fff 52%, #f4f8fc 100%);
}

.about-section::before {
    content: none;
}

.about-section .about-layout {
    width: min(calc(100vw - clamp(48px, 4.5vw, 92px)), 1920px);
    max-width: none;
    margin: 0 auto;
    grid-template-columns: minmax(520px, 0.42fr) minmax(0, 0.58fr);
    align-items: start;
    gap: clamp(54px, 4.1vw, 84px);
}

.about-section .about-portrait {
    position: relative;
    top: auto;
    width: 100%;
    min-height: 0;
    aspect-ratio: 0.75;
    margin: 0;
    overflow: hidden;
    border: 1px solid rgba(7, 17, 31, 0.1);
    border-radius: 14px;
    background: #03070d;
    box-shadow: 0 28px 64px rgba(7, 17, 31, 0.14);
}

.about-section .about-portrait::before {
    content: none;
}

.about-section .about-portrait::after {
    content: "06 / PROFILE";
    top: 30px;
    right: auto;
    bottom: auto;
    left: 0;
    z-index: 3;
    padding: 11px 22px;
    border: 0;
    border-radius: 0 5px 5px 0;
    color: #fff;
    background: rgba(3, 7, 13, 0.84);
    box-shadow: none;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.15em;
    backdrop-filter: blur(10px);
}

.about-section .about-portrait img {
    width: 100%;
    height: 100%;
    min-height: 0;
    border-radius: 0;
    object-fit: cover;
    object-position: 50% 50%;
    filter: saturate(0.92) contrast(1.04);
    box-shadow: none;
}

.about-section .about-portrait:hover img {
    transform: scale(1.012);
    filter: saturate(0.98) contrast(1.03);
}

.about-section .about-portrait-caption {
    position: absolute;
    right: clamp(26px, 2.2vw, 38px);
    bottom: clamp(26px, 2.2vw, 38px);
    left: clamp(26px, 2.2vw, 38px);
    z-index: 4;
    display: grid;
    align-content: center;
    min-height: clamp(112px, 8vw, 146px);
    padding: clamp(24px, 2vw, 36px) clamp(26px, 2.4vw, 44px);
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 13px;
    color: var(--text);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 20px 44px rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(16px);
}

.about-section .about-portrait-caption span {
    font-size: clamp(20px, 1.4vw, 27px);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -0.035em;
}

.about-section .about-portrait-caption small {
    margin-top: 14px;
    color: #086dde;
    font-size: clamp(9px, 0.66vw, 12px);
    font-weight: 900;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.about-section .about-content {
    width: 100%;
    max-width: none;
    padding-top: 0;
}

.about-section .about-content > .eyebrow {
    margin-bottom: clamp(22px, 1.7vw, 30px);
    color: #0874ec;
    font-size: clamp(10px, 0.7vw, 13px);
    letter-spacing: 0.17em;
}

.about-section .about-content h2 {
    display: flex;
    flex-wrap: wrap;
    gap: 0 0.18em;
    margin: 0;
    color: #050b14;
    font-size: clamp(48px, 3.8vw, 72px);
    line-height: 0.94;
    letter-spacing: -0.055em;
}

.about-section .about-content h2 span,
.about-section .about-content h2 em {
    display: inline;
}

.about-section .about-content h2 em {
    color: #0874ec;
    font-style: normal;
}

.about-section .about-copy {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(34px, 3vw, 64px);
    max-width: none;
    margin-top: clamp(34px, 3vw, 56px);
}

.about-section .about-copy p {
    margin: 0;
    color: #4d5b70;
    font-size: clamp(15px, 1.02vw, 20px);
    line-height: 1.55;
}

.about-section .about-copy p:first-child {
    color: #111927;
    font-weight: 760;
}

.about-section .about-copy p + p {
    padding-left: clamp(34px, 3vw, 62px);
    border-left: 1px solid rgba(7, 17, 31, 0.17);
}

.about-section .about-copy p::before {
    content: none;
}

.about-section .about-strengths {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    margin-top: clamp(48px, 4.4vw, 78px);
}

.about-section .about-strengths article {
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr);
    align-content: start;
    gap: 0 10px;
    min-width: 0;
    padding: 0 clamp(24px, 2vw, 42px);
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.about-section .about-strengths article:first-child {
    padding-left: 0;
}

.about-section .about-strengths article + article {
    border-left: 1px solid rgba(7, 17, 31, 0.17);
}

.about-section .about-strengths span {
    grid-row: 1 / span 2;
    margin: 2px 0 0;
    color: #0874ec;
    font-size: 12px;
    font-weight: 900;
}

.about-section .about-strengths h3 {
    margin: 0;
    color: #0a111d;
    font-size: clamp(15px, 0.92vw, 18px);
    line-height: 1.12;
    letter-spacing: -0.02em;
}

.about-section .about-strengths p {
    grid-column: 2;
    margin: 10px 0 0;
    color: #526075;
    font-size: clamp(11px, 0.76vw, 14px);
    line-height: 1.5;
}

.about-section .about-bridge {
    display: grid;
    grid-template-columns: 1fr 54px 1fr 54px 1fr;
    align-items: center;
    min-height: clamp(76px, 6vw, 98px);
    margin-top: clamp(34px, 3vw, 54px);
    padding: 0 clamp(22px, 2.4vw, 44px);
    border: 1px solid rgba(7, 17, 31, 0.13);
    border-radius: 11px;
    background: rgba(255, 255, 255, 0.58);
    box-shadow: none;
}

.about-section .about-bridge span {
    display: grid;
    gap: 7px;
    min-width: 0;
    color: #0a111d;
    font-size: clamp(11px, 0.72vw, 14px);
    font-weight: 950;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.about-section .about-bridge small {
    color: #0874ec;
    font-size: 10px;
    font-weight: 900;
}

.about-section .about-bridge i {
    position: relative;
    width: 28px;
    height: 1px;
    justify-self: center;
    background: #0874ec;
}

.about-section .about-bridge i::after {
    content: "";
    position: absolute;
    top: -4px;
    right: 0;
    width: 8px;
    height: 8px;
    border-top: 1px solid #0874ec;
    border-right: 1px solid #0874ec;
    transform: rotate(45deg);
}

.about-section .about-facts {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(9px, 0.8vw, 14px);
    margin: clamp(26px, 2.2vw, 38px) 0 0;
    border: 0;
}

.about-section .about-facts div,
.about-section .about-facts div:nth-child(even),
.about-section .about-facts div:nth-child(odd) {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr);
    align-content: center;
    min-width: 0;
    min-height: clamp(92px, 7.3vw, 126px);
    padding: clamp(16px, 1.3vw, 22px);
    border: 1px solid rgba(7, 17, 31, 0.12);
    border-radius: 11px;
    background: rgba(255, 255, 255, 0.68);
    box-shadow: none;
}

.about-fact-icon {
    grid-row: 1 / span 2;
    align-self: start;
    width: 19px;
    height: 19px;
    color: #0874ec;
}

.about-fact-icon svg {
    display: block;
    width: 100%;
    height: 100%;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.about-section .about-facts dt {
    margin: 1px 0 8px;
    color: #65738a;
    font-size: clamp(8px, 0.57vw, 10px);
    font-weight: 900;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.about-section .about-facts dd {
    margin: 0;
    color: #0b1524;
    font-size: clamp(11px, 0.7vw, 13px);
    font-weight: 540;
    line-height: 1.45;
}

.about-section .tool-stack {
    margin-top: clamp(26px, 2.2vw, 38px);
    padding: 0;
    border: 0;
}

.about-section .tool-stack > p {
    margin: 0 0 14px;
    color: #0874ec;
    font-size: 10px;
    font-weight: 950;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.about-section .tool-stack ul {
    display: grid;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    gap: clamp(8px, 0.72vw, 13px);
    margin: 0;
    padding: 0;
}

.about-section .tool-stack li {
    display: grid;
    place-items: center;
    align-content: center;
    min-width: 0;
    min-height: clamp(76px, 6.2vw, 106px);
    padding: 12px 6px;
    border: 1px solid rgba(7, 17, 31, 0.12);
    border-radius: 11px;
    background: rgba(255, 255, 255, 0.72);
    box-shadow: none;
}

.about-section .tool-stack li img,
.about-section .tool-stack__mark {
    width: clamp(24px, 1.7vw, 32px);
    height: clamp(24px, 1.7vw, 32px);
}

.about-section .tool-stack__mark {
    display: grid;
    place-items: center;
    border-radius: 7px;
    color: #fff;
    background: #096dcc;
    font-size: 8px;
    font-weight: 900;
}

.about-section .tool-stack li span:last-child {
    margin-top: 9px;
    color: #101826;
    font-size: clamp(8px, 0.54vw, 10px);
    line-height: 1;
    text-align: center;
}

.about-section .about-actions {
    display: grid;
    grid-template-columns: minmax(170px, 0.84fr) minmax(190px, 1fr);
    justify-content: start;
    width: min(100%, 480px);
    gap: 14px;
    margin-top: clamp(22px, 1.7vw, 30px);
}

.about-section .about-actions .button {
    min-height: 54px;
    border-radius: 8px;
    font-size: 11px;
    letter-spacing: 0.04em;
}

.about-section .about-contact-button {
    border: 1px solid #0874ec;
    color: #0874ec;
    background: transparent;
}

.about-section .about-contact-button:hover {
    color: #fff;
    background: #0874ec;
}

@media (min-width: 1500px) {
    .about-section .about-content h2 {
        flex-wrap: nowrap;
        white-space: nowrap;
    }
}

@media (max-width: 1250px) {
    .about-section .about-layout {
        grid-template-columns: minmax(390px, 0.4fr) minmax(0, 0.6fr);
        gap: 46px;
    }

    .about-section .about-content h2 {
        font-size: clamp(44px, 4.5vw, 58px);
    }

    .about-section .about-strengths article {
        padding-right: 18px;
        padding-left: 18px;
    }

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

    .about-section .tool-stack ul {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .about-section {
        padding: 64px 0;
    }

    .about-section .about-layout {
        width: min(calc(100vw - 40px), 760px);
        grid-template-columns: 1fr;
        gap: 58px;
    }

    .about-section .about-portrait {
        width: min(100%, 620px);
        aspect-ratio: 0.78;
        justify-self: center;
    }

    .about-section .about-content h2 {
        font-size: clamp(46px, 8vw, 64px);
    }
}

@media (max-width: 620px) {
    .about-section .about-layout {
        width: calc(100vw - 32px);
        gap: 44px;
    }

    .about-section .about-portrait {
        aspect-ratio: 0.82;
        border-radius: 11px;
    }

    .about-section .about-portrait-caption {
        right: 18px;
        bottom: 18px;
        left: 18px;
        min-height: 104px;
        padding: 22px;
    }

    .about-section .about-content h2 {
        display: block;
        font-size: clamp(42px, 12vw, 56px);
    }

    .about-section .about-content h2 em {
        display: block;
        margin-top: 5px;
    }

    .about-section .about-copy {
        grid-template-columns: 1fr;
        gap: 18px;
        margin-top: 28px;
    }

    .about-section .about-copy p + p {
        padding: 18px 0 0;
        border-top: 1px solid rgba(7, 17, 31, 0.15);
        border-left: 0;
    }

    .about-section .about-strengths {
        grid-template-columns: 1fr;
        gap: 22px;
        margin-top: 40px;
    }

    .about-section .about-strengths article,
    .about-section .about-strengths article:first-child {
        padding: 0;
    }

    .about-section .about-strengths article + article {
        padding-top: 22px;
        border-top: 1px solid rgba(7, 17, 31, 0.15);
        border-left: 0;
    }

    .about-section .about-bridge {
        grid-template-columns: 1fr 24px 1fr 24px 1fr;
        min-height: 82px;
        padding: 0 14px;
    }

    .about-section .about-bridge span {
        font-size: 9px;
        letter-spacing: 0.08em;
    }

    .about-section .about-bridge i {
        width: 14px;
    }

    .about-section .about-facts {
        grid-template-columns: 1fr;
    }

    .about-section .tool-stack ul {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .about-section .about-actions {
        grid-template-columns: 1fr;
        width: 100%;
    }
}

/* Capabilities — split services and delivery workflow from the supplied reference. */
.capability-section {
    min-height: auto;
    padding: clamp(62px, 5vw, 92px) 0 clamp(72px, 6vw, 112px);
    overflow: clip;
    background:
        radial-gradient(720px 500px at 82% 8%, rgba(0, 126, 255, 0.055), transparent 72%),
        linear-gradient(135deg, #f9fbfd 0%, #fff 55%, #f6f9fc 100%);
}

.capability-section::before,
.capability-section::after {
    content: none;
}

.capability-section .capability-shell {
    display: grid;
    width: min(calc(100vw - clamp(96px, 9vw, 184px)), 1920px);
    max-width: none;
    margin: 0 auto;
    grid-template-columns: minmax(0, 0.7fr) minmax(380px, 0.3fr);
    grid-template-rows: auto 1fr;
    align-items: start;
    gap: 0 clamp(92px, 7.8vw, 160px);
}

.capability-section .capability-heading {
    grid-column: 1;
    grid-row: 1;
    display: block;
    max-width: none;
    margin: 0;
}

.capability-section .capability-heading .eyebrow {
    margin: 0 0 clamp(12px, 1vw, 18px);
    color: #0874ec;
    font-size: clamp(10px, 0.68vw, 13px);
    font-weight: 950;
    letter-spacing: 0.17em;
}

.capability-section .capability-heading h2 {
    max-width: 1080px;
    margin: 0;
    padding: 0;
    color: #07111f;
    font-size: clamp(56px, 4.4vw, 82px);
    line-height: 1;
    letter-spacing: -0.05em;
}

.capability-section .capability-heading > p:last-child {
    max-width: 720px;
    margin: clamp(24px, 1.8vw, 34px) 0 0;
    padding: 0;
    justify-self: start;
    color: #28364a;
    font-size: clamp(16px, 1.05vw, 20px);
    line-height: 1.48;
}

.capability-section .capability-grid {
    display: contents;
}

.capability-section .capability-services {
    grid-column: 1;
    grid-row: 2;
    margin-top: clamp(34px, 2.7vw, 50px);
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.capability-section .capability-services > .capability-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.capability-section .service-list {
    display: block;
    border: 1px solid rgba(7, 17, 31, 0.12);
    background: rgba(255, 255, 255, 0.48);
}

.capability-section .service-list article {
    display: grid;
    grid-template-columns: clamp(82px, 7.2vw, 118px) minmax(260px, 1.12fr) minmax(220px, 0.88fr) 38px;
    grid-template-rows: auto auto;
    align-items: center;
    min-height: clamp(124px, 8.2vw, 150px);
    gap: 7px clamp(16px, 1.6vw, 30px);
    padding: clamp(22px, 1.8vw, 32px) clamp(24px, 2vw, 38px);
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    transition: background 220ms ease;
}

.capability-section .service-list article + article {
    border-top: 1px solid rgba(7, 17, 31, 0.11);
}

.capability-section .service-list article:hover {
    transform: none;
    background: rgba(0, 126, 255, 0.035);
    box-shadow: none;
}

.capability-section .service-list article > span {
    grid-column: 1;
    grid-row: 1 / span 2;
    align-self: center;
    color: #1280f5;
    font-family: "Arial Narrow", "Roboto Condensed", sans-serif;
    font-size: clamp(46px, 3.6vw, 66px);
    font-weight: 300;
    line-height: 0.9;
    letter-spacing: -0.07em;
}

.capability-section .service-list article > div {
    display: contents;
}

.capability-section .service-list h3 {
    grid-column: 2;
    grid-row: 1;
    align-self: end;
    margin: 0;
    color: #0a1422;
    font-size: clamp(17px, 1.2vw, 22px);
    line-height: 1.1;
    letter-spacing: -0.025em;
}

.capability-section .service-list p {
    grid-column: 2;
    grid-row: 2;
    align-self: start;
    max-width: 420px;
    margin: 0;
    color: #344257;
    font-size: clamp(12px, 0.86vw, 16px);
    line-height: 1.45;
}

.capability-section .service-list small {
    grid-column: 3;
    grid-row: 1 / span 2;
    align-self: center;
    color: #65738a;
    font-size: clamp(9px, 0.65vw, 12px);
    font-weight: 850;
    line-height: 1.65;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.capability-section .service-list article > a {
    grid-column: 4;
    grid-row: 1 / span 2;
    align-self: center;
    justify-self: end;
    width: 28px;
    height: 28px;
    overflow: hidden;
    color: transparent;
    font-size: 0;
    transform: none;
}

.capability-section .service-list article > a::after {
    content: "→";
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    color: #0874ec;
    font-size: 24px;
    transition: transform 220ms var(--ease);
}

.capability-section .service-list article:hover > a::after {
    transform: translateX(4px);
}

.capability-section .workflow-panel {
    grid-column: 2;
    grid-row: 1 / span 2;
    width: 100%;
    margin: 0;
    padding: clamp(56px, 4vw, 74px) 0 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.capability-section .workflow-panel::before,
.capability-section .workflow-panel::after {
    content: none;
}

.capability-section .workflow-panel > .capability-label {
    margin: 0;
    color: #0874ec;
    font-size: clamp(10px, 0.68vw, 13px);
    font-weight: 950;
    letter-spacing: 0.17em;
    text-transform: uppercase;
}

.capability-section .workflow-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    margin: clamp(42px, 3.2vw, 60px) 0 0;
    padding: 0;
    border: 0;
}

.capability-section .workflow-list li,
.capability-section .workflow-list li:nth-child(odd),
.capability-section .workflow-list li:nth-child(-n + 2) {
    position: relative;
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    align-items: start;
    min-height: clamp(154px, 12vw, 216px);
    padding: 0;
    border: 0;
    background: transparent;
    transition: transform 240ms var(--ease);
}

.capability-section .workflow-list li:hover {
    transform: translateX(5px);
    background: transparent;
}

.capability-section .workflow-list li:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 50px;
    bottom: 18px;
    left: 13px;
    width: 1px;
    background: rgba(7, 17, 31, 0.22);
}

.capability-section .workflow-list > li > span {
    grid-column: 1;
    margin: 2px 0 0;
    color: #0874ec;
    font-family: "Arial Narrow", "Roboto Condensed", sans-serif;
    font-size: clamp(22px, 1.6vw, 30px);
    font-weight: 500;
    line-height: 1;
}

.capability-section .workflow-list li > div {
    grid-column: 2;
}

.capability-section .workflow-list strong {
    display: block;
    margin: 0;
    color: #091321;
    font-size: clamp(24px, 1.85vw, 34px);
    line-height: 1;
    letter-spacing: -0.035em;
}

.capability-section .workflow-list p {
    max-width: 310px;
    margin: 13px 0 0;
    color: #344257;
    font-size: clamp(13px, 0.9vw, 17px);
    line-height: 1.45;
}

@media (max-width: 1200px) {
    .capability-section .capability-shell {
        grid-template-columns: minmax(0, 0.66fr) minmax(300px, 0.34fr);
        gap: 0 58px;
    }

    .capability-section .service-list article {
        grid-template-columns: 72px minmax(220px, 1fr) minmax(170px, 0.76fr) 30px;
        padding-right: 24px;
        padding-left: 24px;
    }
}

@media (max-width: 900px) {
    .capability-section {
        padding: 68px 0 78px;
    }

    .capability-section .capability-shell {
        width: min(calc(100vw - 40px), 760px);
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
        gap: 0;
    }

    .capability-section .capability-heading {
        grid-column: 1;
        grid-row: 1;
    }

    .capability-section .capability-heading h2 {
        font-size: clamp(50px, 8vw, 66px);
    }

    .capability-section .capability-services {
        grid-column: 1;
        grid-row: 2;
        margin-top: 50px;
    }

    .capability-section .workflow-panel {
        grid-column: 1;
        grid-row: 3;
        margin-top: 68px;
        padding: 0;
    }

    .capability-section .service-list article {
        grid-template-columns: 68px minmax(0, 1fr) 28px;
        grid-template-rows: auto auto auto;
        gap: 8px 16px;
        min-height: 0;
        padding: 26px 24px;
    }

    .capability-section .service-list article > span {
        grid-column: 1;
        grid-row: 1 / span 3;
        align-self: start;
    }

    .capability-section .service-list h3,
    .capability-section .service-list p,
    .capability-section .service-list small {
        grid-column: 2;
    }

    .capability-section .service-list h3 {
        grid-row: 1;
    }

    .capability-section .service-list p {
        grid-row: 2;
    }

    .capability-section .service-list small {
        grid-row: 3;
        margin-top: 4px;
    }

    .capability-section .service-list article > a {
        grid-column: 3;
        grid-row: 1 / span 3;
    }

    .capability-section .workflow-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 36px 26px;
        margin-top: 38px;
    }

    .capability-section .workflow-list li,
    .capability-section .workflow-list li:nth-child(odd),
    .capability-section .workflow-list li:nth-child(-n + 2) {
        min-height: 150px;
    }

    .capability-section .workflow-list li:not(:last-child)::after {
        display: none;
    }
}

@media (max-width: 620px) {
    .capability-section .capability-shell {
        width: calc(100vw - 32px);
    }

    .capability-section .capability-heading h2 {
        font-size: clamp(44px, 12vw, 58px);
    }

    .capability-section .capability-heading > p:last-child br {
        display: none;
    }

    .capability-section .service-list article {
        grid-template-columns: 54px minmax(0, 1fr) 24px;
        padding: 24px 18px;
    }

    .capability-section .service-list article > span {
        font-size: 42px;
    }

    .capability-section .workflow-list {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .capability-section .workflow-list li,
    .capability-section .workflow-list li:nth-child(odd),
    .capability-section .workflow-list li:nth-child(-n + 2) {
        min-height: 0;
    }
}

/* Final density and interaction pass. */
@media (min-width: 901px) {
    .project-eafc {
        min-height: 92svh;
        padding-block: clamp(68px, 5.8vw, 108px);
    }

    .project-eafc .project-grid {
        align-items: center;
    }
}

.about-section,
.capability-section,
.contact-section {
    width: 100%;
    max-width: 100%;
    margin-inline: 0;
}

.about-section .about-layout,
.capability-section .capability-shell,
.contact-section .contact-layout {
    margin-inline: auto;
}

.about-section .about-content > .eyebrow,
.capability-section .capability-heading .eyebrow,
.capability-section .workflow-panel > .capability-label,
.contact-section .contact-heading .eyebrow {
    font-size: clamp(14px, 0.82vw, 16px);
}

.about-section .about-strengths p {
    font-size: clamp(15px, 0.88vw, 17px);
}

.about-section .about-facts dt {
    font-size: clamp(12px, 0.68vw, 13px);
}

.about-section .about-facts dd {
    font-size: clamp(14px, 0.82vw, 16px);
}

.about-section .tool-stack > p {
    font-size: 13px;
}

.about-section .tool-stack li span:last-child {
    font-size: clamp(12px, 0.68vw, 13px);
}

.about-section .about-actions .button {
    font-size: 13px;
}

.capability-section {
    padding: clamp(44px, 3.6vw, 66px) 0 clamp(48px, 4vw, 74px);
}

.capability-section .capability-heading .eyebrow {
    margin-bottom: clamp(10px, 0.8vw, 14px);
}

.capability-section .capability-heading > p:last-child {
    margin-top: clamp(18px, 1.35vw, 26px);
    font-size: clamp(17px, 1.08vw, 21px);
}

.capability-section .capability-services {
    margin-top: clamp(26px, 2vw, 38px);
}

.capability-section .service-list article {
    min-height: clamp(108px, 7vw, 128px);
    padding-block: clamp(17px, 1.35vw, 24px);
}

.capability-section .service-list p {
    font-size: clamp(15px, 0.94vw, 18px);
}

.capability-section .service-list small {
    font-size: clamp(13px, 0.76vw, 15px);
    line-height: 1.5;
}

.capability-section .workflow-panel {
    padding-top: clamp(38px, 2.8vw, 52px);
}

.capability-section .workflow-list {
    margin-top: clamp(28px, 2.1vw, 40px);
}

.capability-section .workflow-list li,
.capability-section .workflow-list li:nth-child(odd),
.capability-section .workflow-list li:nth-child(-n + 2) {
    min-height: clamp(126px, 9vw, 164px);
}

.capability-section .workflow-list p {
    font-size: clamp(16px, 1vw, 19px);
}

.contact-section {
    padding: clamp(36px, 2.7vw, 50px) 0 clamp(34px, 2.5vw, 46px);
}

.contact-section .contact-layout {
    align-items: center;
}

.contact-section .contact-heading {
    padding-top: 0;
}

.contact-section .contact-heading .eyebrow {
    margin-bottom: clamp(16px, 1.4vw, 24px);
}

.contact-section .contact-intro {
    margin-top: clamp(22px, 1.8vw, 32px);
    font-size: clamp(17px, 1.05vw, 20px);
}

.contact-section .contact-panel {
    padding: clamp(26px, 2vw, 36px);
}

.contact-section .contact-status,
.contact-section .contact-panel-intro {
    font-size: clamp(13px, 0.86vw, 16px);
}

.contact-section .contact-form {
    gap: clamp(17px, 1.3vw, 23px) 16px;
    margin-top: clamp(24px, 1.9vw, 34px);
}

.contact-section .contact-form-field label {
    margin-bottom: 8px;
    font-size: 12px;
}

.contact-section .contact-form input,
.contact-section .contact-form select {
    min-height: 54px;
}

.contact-section .contact-form textarea {
    min-height: 124px;
}

.contact-section .contact-submit.button {
    min-height: 58px;
    font-size: 13px;
}

.contact-section .contact-direct {
    grid-template-columns: 62px minmax(0, 1fr);
    gap: 18px;
    margin-top: clamp(22px, 1.8vw, 32px);
    padding-top: clamp(20px, 1.7vw, 30px);
}

.contact-section .contact-direct-icon {
    width: 60px;
    height: 60px;
}

.contact-section .contact-direct-copy > span,
.contact-section .contact-direct small {
    font-size: 12px;
}

.project-proof-list strong {
    font-size: clamp(14px, 0.86vw, 16px);
}

.tag-row span {
    font-size: 13px;
}

.button,
.case-button,
.header-button {
    transition: transform 220ms var(--ease), border-color 220ms ease, background 220ms ease, color 220ms ease, box-shadow 220ms ease;
}

.button:hover,
.case-button:hover,
.header-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(7, 17, 31, 0.14);
}

.case-button:hover,
.case-button--blue:hover,
.case-button--gold:hover {
    box-shadow: 0 14px 32px rgba(7, 17, 31, 0.14);
}

.about-section .about-contact-button:hover {
    color: #0874ec;
    border-color: #0874ec;
    background: rgba(8, 116, 236, 0.08);
}

.contact-section .contact-submit.button:hover {
    box-shadow: 0 14px 32px rgba(0, 112, 230, 0.24);
}

.capability-section .service-list article,
.capability-section .workflow-list li,
.about-section .tool-stack li {
    transition: transform 220ms var(--ease), background 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.capability-section .service-list article:hover {
    transform: translateY(-2px);
    background: rgba(0, 126, 255, 0.045);
    box-shadow: 0 12px 28px rgba(7, 17, 31, 0.06);
}

.capability-section .workflow-list li:hover {
    transform: translateX(3px);
}

.about-section .tool-stack li:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(7, 17, 31, 0.08);
}

@media (max-width: 900px) {
    .capability-section {
        padding: 56px 0 64px;
    }

    .capability-section .capability-services {
        margin-top: 40px;
    }

    .capability-section .workflow-panel {
        margin-top: 52px;
        padding-top: 0;
    }

    .contact-section {
        padding: 52px 0 48px;
    }

    .contact-section .contact-layout {
        gap: 44px;
    }
}

@media (min-width: 901px) {
    .about-section .about-layout,
    .capability-section .capability-shell,
    .contact-section .contact-layout {
        zoom: 1;
    }

    .about-section,
    .capability-section,
    .contact-section {
        padding-block: 150px;
    }
}

/* Selected works intro — visual index */
.intro-section {
    display: flex;
    min-height: min(100svh, 980px);
    align-items: center;
    padding: clamp(88px, 8vw, 150px) 0;
    background:
        radial-gradient(700px 390px at 9% 5%, rgba(0, 126, 255, .14), transparent 70%),
        radial-gradient(560px 300px at 88% 66%, rgba(99, 52, 235, .07), transparent 72%),
        linear-gradient(180deg, #fbfdff 0%, #ffffff 72%, #f8fbff 100%);
}

.selected-works-intro {
    width: min(88.5vw, 1700px);
    margin: 0 auto;
}

.selected-works-kicker {
    display: flex;
    gap: 15px;
    align-items: center;
    margin: 0 0 clamp(38px, 3.2vw, 60px);
    color: var(--blue);
    font-size: clamp(12px, 1vw, 16px);
    font-weight: 900;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.selected-works-kicker span {
    width: 14px;
    height: 14px;
    flex: 0 0 auto;
    background: var(--blue);
    border-radius: 50%;
    box-shadow: 0 0 18px rgba(0,126,255,.3);
}

.selected-works-heading {
    display: grid;
    grid-template-columns: minmax(0, 2.6fr) minmax(290px, .75fr);
    gap: clamp(42px, 4.5vw, 78px);
    align-items: center;
}

.selected-works-heading h2 {
    margin: 0;
    color: #071538;
    font-size: clamp(48px, 3.7vw, 74px);
    font-weight: 920;
    line-height: 1.02;
    letter-spacing: -.045em;
}

.selected-works-heading h2 em {
    color: var(--blue);
    font-style: normal;
    white-space: nowrap;
}

.selected-works-heading > p {
    max-width: 520px;
    margin: 0;
    padding: 24px 0 24px clamp(34px, 4vw, 68px);
    color: #172849;
    border-left: 1px solid rgba(7, 21, 56, .13);
    font-size: clamp(16px, 1.25vw, 22px);
    line-height: 1.75;
}

.selected-work-cards {
    display: grid;
    width: 100%;
    min-width: 0;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(18px, 2vw, 34px);
    margin-top: clamp(54px, 5vw, 86px);
}

.selected-work-card {
    --card-accent: #007eff;
    --card-accent-rgb: 0, 126, 255;
    position: relative;
    display: flex;
    width: 100%;
    min-width: 0;
    min-height: clamp(270px, 18vw, 315px);
    flex-direction: column;
    padding: clamp(27px, 2.3vw, 40px);
    overflow: hidden;
    color: #071538;
    background:
        radial-gradient(260px 180px at 78% 15%, rgba(var(--card-accent-rgb),.08), transparent 75%),
        rgba(255,255,255,.72);
    border: 1px solid rgba(7, 21, 56, .13);
    border-radius: 20px;
    box-shadow: 0 20px 54px rgba(14, 31, 66, .045);
    backdrop-filter: blur(14px);
    transition: transform 260ms var(--ease), border-color 260ms ease, box-shadow 260ms ease, background 260ms ease;
}

.selected-work-card--matcha {
    --card-accent: #63973e;
    --card-accent-rgb: 99, 151, 62;
}

.selected-work-card--zg {
    --card-accent: #6134eb;
    --card-accent-rgb: 97, 52, 235;
}

.selected-work-card__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.selected-work-card__top > i {
    width: 68px;
    height: 68px;
    background: rgba(var(--card-accent-rgb), .09);
    border-radius: 50%;
    transition: transform 260ms var(--ease), background 260ms ease;
}

.selected-work-card__top > b {
    width: 42px;
    color: var(--card-accent);
    font-size: 42px;
    font-weight: 400;
    line-height: 1;
    text-align: right;
    transition: transform 260ms var(--ease);
}

.selected-work-card > strong {
    margin-top: auto;
    font-size: clamp(28px, 2.1vw, 42px);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -.045em;
}

.selected-work-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.selected-work-card__tags small {
    padding: 6px 10px;
    color: var(--card-accent);
    background: rgba(var(--card-accent-rgb), .09);
    border-radius: 4px;
    font-size: 10px;
    font-weight: 850;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.selected-work-card__line {
    position: relative;
    height: 2px;
    margin-top: 36px;
    overflow: hidden;
    background: rgba(7, 21, 56, .09);
}

.selected-work-card__line i {
    position: absolute;
    inset: 0 auto 0 0;
    width: 44px;
    background: var(--card-accent);
    transition: width 320ms var(--ease);
}

.selected-work-card:hover,
.selected-work-card:focus-visible {
    background:
        radial-gradient(340px 220px at 78% 15%, rgba(var(--card-accent-rgb),.16), transparent 74%),
        #fff;
    border-color: rgba(var(--card-accent-rgb), .38);
    box-shadow: 0 28px 64px rgba(14, 31, 66, .11);
    transform: translateY(-7px);
}

.selected-work-card:hover .selected-work-card__top > i,
.selected-work-card:focus-visible .selected-work-card__top > i {
    background: rgba(var(--card-accent-rgb), .15);
    transform: scale(1.08);
}

.selected-work-card:hover .selected-work-card__top > b,
.selected-work-card:focus-visible .selected-work-card__top > b {
    transform: translateX(7px);
}

.selected-work-card:hover .selected-work-card__line i,
.selected-work-card:focus-visible .selected-work-card__line i {
    width: 100%;
}

@media (max-width: 900px) {
    .intro-section {
        min-height: auto;
        padding: 90px 0;
    }

    .selected-works-intro {
        width: min(calc(100% - 32px), 760px);
    }

    .selected-works-heading {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .selected-works-heading h2 em {
        white-space: normal;
    }

    .selected-works-heading > p {
        max-width: 680px;
        padding: 23px 0 0;
        border-top: 1px solid rgba(7, 21, 56, .13);
        border-left: 0;
    }

    .selected-work-cards {
        grid-template-columns: 1fr;
        margin-top: 48px;
    }

    .selected-work-card {
        min-height: 220px;
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .intro-section {
        padding: 72px 0;
    }

    .selected-works-kicker {
        margin-bottom: 32px;
    }

    .selected-works-kicker span {
        width: 10px;
        height: 10px;
    }

    .selected-works-heading h2 {
        font-size: clamp(38px, 11vw, 50px);
    }

    .selected-works-heading > p {
        font-size: 16px;
        line-height: 1.6;
    }

    .selected-work-card {
        min-height: 196px;
        padding: 24px;
    }

    .selected-work-card__top > i {
        width: 52px;
        height: 52px;
    }

    .selected-work-card__top > b {
        font-size: 34px;
    }

    .selected-work-card__line {
        margin-top: 28px;
    }
}

/* Final precedence for the reviewed project interactions. */
.project-eafc .eafc-visual.reveal {
    clip-path: none;
}

.project-eafc .eafc-visual {
    margin-block: clamp(22px, 3vw, 48px);
}

.zg-visual::after,
.zg-visual.is-visible::after,
.zg-visual:hover::after {
    animation: none;
    opacity: 0;
}

.zg-visual.reveal {
    opacity: 0;
    transform: translateY(22px) scale(.985);
    transition: opacity 620ms ease, transform 760ms var(--ease);
}

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

.zg-visual.is-visible .zg-art {
    animation: zg-art-breathe 7s ease-in-out 900ms infinite;
}

.zg-visual:hover .zg-art {
    animation-play-state: paused;
    transform: translateY(-4px) scale(1.006);
    filter: saturate(1.025) brightness(1.012);
    box-shadow: 0 34px 72px rgba(0, 0, 0, .34), 0 0 0 1px rgba(240, 199, 101, .24), 0 0 30px rgba(240, 199, 101, .08);
}

/* Product-ready responsive and interaction pass. */
:where(.hero-copy, .project-copy, .project-visual, .about-content, .capability-heading, .capability-grid, .contact-heading, .contact-panel) {
    min-width: 0;
}

:where(.button, .case-button, .header-button, .nav-toggle, .brand, .selected-work-card, .service-list a, .footer-links a):focus-visible {
    outline: 3px solid rgba(16, 133, 255, .48);
    outline-offset: 4px;
}

.contact-form[aria-busy="true"] {
    opacity: .82;
    pointer-events: none;
}

.contact-submit:disabled {
    cursor: wait;
    filter: saturate(.72);
}

.project-eafc .eafc-visual.is-settled > img {
    will-change: auto;
}

.about-section .about-portrait-caption small,
.about-section .about-portrait::after,
.selected-work-card__tags small,
.site-footer,
.footer-links a {
    font-size: max(11px, .68rem);
}

@media (min-width: 901px) and (max-width: 1200px) {
    .about-section,
    .capability-section,
    .contact-section {
        padding-block: clamp(96px, 10vw, 120px);
    }

    .capability-section .service-list article {
        grid-template-columns: 64px minmax(0, 1fr) 44px;
        grid-template-rows: auto auto auto;
        gap: 7px 14px;
        padding-inline: 20px;
    }

    .capability-section .service-list article > span {
        grid-column: 1;
        grid-row: 1 / span 3;
        align-self: start;
    }

    .capability-section .service-list h3,
    .capability-section .service-list p,
    .capability-section .service-list small {
        grid-column: 2;
    }

    .capability-section .service-list h3 { grid-row: 1; }
    .capability-section .service-list p { grid-row: 2; }
    .capability-section .service-list small { grid-row: 3; }

    .capability-section .service-list article > a {
        grid-column: 3;
        grid-row: 1 / span 3;
        width: 44px;
        height: 44px;
    }
}

@media (max-width: 900px) {
    .site-header .brand,
    .site-header .nav-toggle {
        min-width: 44px;
        min-height: 44px;
    }

    .site-header .header-button {
        min-height: 44px;
    }

    .hero {
        min-height: auto;
        padding-bottom: clamp(72px, 14vw, 96px);
    }

    .selected-works-heading h2 br {
        display: none;
    }

    .project-copy,
    .project-copy--right,
    .project-copy--dark,
    .project-matcha .project-copy,
    .project-eafc .project-copy {
        width: 100%;
        max-width: none;
        box-sizing: border-box;
    }

    .project-proof-list,
    .project-proof-list + .tag-row,
    .project-proof-list ~ .case-button {
        width: 100%;
        max-width: none;
    }

    .project-proof-list + .tag-row {
        grid-template-columns: repeat(auto-fit, minmax(105px, 1fr));
        gap: 8px;
    }

    .project-proof-list + .tag-row span {
        min-height: 44px;
        padding: 8px 10px;
        white-space: nowrap;
    }

    .about-section .about-actions .button,
    .capability-section .service-list article > a,
    .site-footer a {
        min-height: 44px;
    }

    .capability-section .service-list article > a {
        width: 44px;
        height: 44px;
    }

    .contact-section .contact-layout {
        gap: clamp(40px, 7vw, 56px);
    }

    .site-footer-layout {
        gap: 24px;
    }

    .footer-brand,
    .footer-links a {
        min-height: 44px;
        align-items: center;
    }
}

@media (max-width: 620px) {
    .selected-works-heading h2 {
        font-size: clamp(36px, 10.2vw, 46px);
        line-height: .98;
    }

    .selected-work-card {
        min-height: 210px;
    }

    .selected-work-card > strong {
        font-size: clamp(30px, 8.5vw, 38px);
    }

    .selected-work-card__tags small {
        padding: 7px 10px;
        font-size: 11px;
    }

    .project-section {
        padding-block: clamp(66px, 17vw, 86px);
    }

    .project-copy h2,
    .project-matcha .project-copy h2,
    .project-copy--dark h2 {
        font-size: clamp(42px, 12vw, 54px);
        overflow-wrap: normal;
    }

    .project-description,
    .project-copy p:not(.eyebrow),
    .project-copy--dark p:not(.eyebrow) {
        font-size: 17px;
        line-height: 1.55;
    }

    .project-proof-list strong,
    .tag-row span {
        font-size: 13px;
    }

    .project-eafc .eafc-visual {
        width: 100%;
        min-height: 238px;
        aspect-ratio: 1.48;
        margin-inline: auto;
    }

    .project-eafc .eafc-visual > img:nth-child(1) {
        left: 0;
        top: 25%;
        width: 21%;
    }

    .project-eafc .eafc-visual > img:nth-child(2) {
        left: 16%;
        top: 16%;
        width: 25%;
    }

    .project-eafc .eafc-visual > img:nth-child(3) {
        left: 31.5%;
        width: 37%;
    }

    .project-eafc .eafc-visual > img:nth-child(4) {
        left: 59%;
        top: 15%;
        width: 24%;
    }

    .project-eafc .eafc-visual > img:nth-child(5) {
        left: 79%;
        top: 22%;
        width: 20%;
    }

    .project-eafc .eafc-card-sheen {
        left: 31.5%;
        width: 37%;
    }

    .about-section .about-layout {
        gap: 40px;
    }

    .about-section .about-portrait {
        max-height: 580px;
    }

    .about-section .about-facts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .about-section .about-facts div,
    .about-section .about-facts div:nth-child(even),
    .about-section .about-facts div:nth-child(odd) {
        grid-template-columns: 22px minmax(0, 1fr);
        min-height: 102px;
        padding: 14px 10px;
    }

    .about-section .about-facts dt {
        font-size: 11px;
        letter-spacing: .1em;
    }

    .about-section .about-facts dd,
    .about-section .tool-stack li span:last-child {
        font-size: 13px;
    }

    .capability-section .capability-heading h2 {
        font-size: clamp(40px, 11.2vw, 52px);
        overflow-wrap: anywhere;
    }

    .capability-section .service-list article {
        grid-template-columns: 42px minmax(0, 1fr) 44px;
        gap: 8px 12px;
        padding-inline: 14px;
    }

    .capability-section .service-list article > span {
        font-size: 38px;
    }

    .capability-section .service-list small {
        font-size: 12px;
        overflow-wrap: anywhere;
    }

    .contact-section .contact-panel {
        padding: 26px 18px;
    }

    .contact-section .contact-form input,
    .contact-section .contact-form select {
        min-height: 56px;
    }

    .contact-section .contact-form textarea {
        min-height: 138px;
    }

    .contact-section .contact-panel .contact-email {
        font-size: clamp(14px, 4vw, 17px);
        overflow-wrap: anywhere;
    }
}

@media (hover: none) {
    .selected-work-card:hover,
    .button:hover,
    .case-button:hover,
    .header-button:hover,
    .capability-section .service-list article:hover,
    .capability-section .workflow-list li:hover,
    .about-section .tool-stack li:hover,
    .zg-visual:hover .zg-art,
    .project-eafc .eafc-visual.is-visible:hover,
    .project-eafc .eafc-visual.is-visible > img:hover {
        transform: none;
    }

    .matcha-can:hover,
    .matcha-can--yuzu:hover {
        transform: translateY(var(--parallax-y, 0));
    }
}

@media (prefers-reduced-motion: reduce) {
    .matcha-can,
    .zg-art,
    .project-eafc .eafc-visual > img,
    .selected-work-card,
    .button,
    .case-button {
        animation: none !important;
        transition-duration: .01ms !important;
    }
}

.contact-section .contact-layout {
    align-items: start;
}

.about-section .about-portrait {
    height: auto;
    align-self: start;
}

/* Final responsive QA: preserve the hero portrait without letting it cover the copy. */
@media (min-width: 901px) and (max-width: 1199px) {
    .hero-bg__person:not(a) {
        display: block !important;
        right: 0;
        bottom: 0;
        width: clamp(380px, 42vw, 520px);
        height: calc(100svh - var(--header-height));
        opacity: .94;
        translate: none;
    }

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

@media (max-width: 900px) {
    .hero {
        min-height: auto;
        padding-bottom: clamp(420px, 76vw, 450px);
    }

    .hero-bg__person:not(a) {
        display: block !important;
        right: 50%;
        bottom: 0;
        width: min(84vw, 440px);
        height: clamp(280px, 90vw, 400px);
        opacity: .86;
        translate: 50% 0;
    }
}

@media (min-width: 1200px) and (max-width: 1439px) {
    .hero-bg__person:not(a) {
        right: 0;
        width: clamp(520px, 42vw, 640px);
        height: calc(100svh - var(--header-height));
        translate: none;
    }

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

@media (min-width: 1440px) {
    .hero-bg__person:not(a) {
        right: 0;
        width: clamp(680px, 44vw, 940px);
        height: calc(100svh - var(--header-height));
        translate: none;
    }
}

@media (min-width: 2400px) {
    .hero-bg__person:not(a) {
        width: clamp(940px, 42vw, 1100px);
    }
}

/* Requested portrait scale adjustment. */
.hero-bg__person:not(a) {
    scale: 1.1;
    transform-origin: right bottom;
}

@media (max-width: 900px) {
    .hero-bg__person:not(a) {
        transform-origin: center bottom;
    }
}

/* Keep the Zlote Guziki composition stable across tablet and compact-laptop widths. */
@media (min-width: 901px) and (max-width: 1199px) {
    .project-section .cosmic-grid {
        width: min(90vw, 1080px);
        grid-template-columns: minmax(340px, .46fr) minmax(0, .54fr);
        gap: clamp(26px, 3vw, 36px);
        align-items: center;
        justify-items: stretch;
        padding-inline: 0;
    }

    .project-section .cosmic-grid .project-copy--dark {
        width: 100%;
        max-width: none;
        padding: clamp(30px, 3vw, 40px);
    }

    .project-section .cosmic-grid .zg-visual {
        width: 100%;
        min-height: 0;
        aspect-ratio: 1;
    }
}

/* Use the compact one-column capability flow until a two-column layout has enough room. */
@media (min-width: 901px) and (max-width: 1050px) {
    .capability-section .capability-shell {
        width: min(calc(100vw - 64px), 920px);
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: auto auto auto;
        gap: 0;
        align-content: start;
    }

    .capability-section .capability-heading {
        grid-column: 1;
        grid-row: 1;
    }

    .capability-section .capability-services {
        grid-column: 1;
        grid-row: 2;
        margin-top: 44px;
    }

    .capability-section .workflow-panel {
        grid-column: 1;
        grid-row: 3;
        margin-top: 56px;
        padding-top: 0;
    }

    .capability-section .workflow-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 30px 26px;
        margin-top: 34px;
    }

    .capability-section .workflow-list li,
    .capability-section .workflow-list li:nth-child(odd),
    .capability-section .workflow-list li:nth-child(-n + 2) {
        min-height: 132px;
        align-content: start;
    }

    .capability-section .workflow-list li:not(:last-child)::after {
        display: none;
    }
}

@media (hover: none) {
    .project-eafc .eafc-visual.is-visible > img:hover {
        transform: var(--eafc-card-rest);
    }
}
