@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Manrope:wght@400;700;800&display=swap');

:root {
    /* ── Brand Colors ── */
    --bw-red: #e24325;
    /* accent / CTA only — NOT for body text */
    --bw-black: #0a0a0a;
    --bw-heading: #1a1c1c;
    /* all headings */
    --bw-white: #ffffff;
    --bw-grey: #f3f4f3;
    --bw-text-muted: #4a5565;
    --bw-text-warm: #5b403b;
    --bw-eyebrow: #99a1af;
    /* section labels / eyebrows */
    --bw-border: #eeeeee;

    /* ── Typography ── */
    --font-main: 'Inter', sans-serif;
    --font-alt: 'Manrope', sans-serif;
}

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

/* overflow-x: clip clips content without creating a scroll container.
   Unlike overflow:hidden, it doesn't break position:sticky or position:fixed. */
html {
    overflow-x: clip;
    -webkit-tap-highlight-color: transparent;
}

body {
    background: var(--bw-white);
    color: var(--bw-black);
    font-family: var(--font-main);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    overflow-x: clip; /* belt-and-suspenders alongside html — needed on iOS Safari */
}

#smooth-wrapper,
#smooth-content {
    max-width: 100vw;
    overflow-x: clip;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 48px;
    padding-right: 48px;
}

/* --- Cinematic Intro Overlay (V5 Architecture) --- */
#intro-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 9000;
    background: #000;
    overflow: hidden;
    pointer-events: none;
    /* User scrolls the driver, not the overlay */
}

#intro-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

#intro-curtain {
    position: fixed;
    inset: 0;
    background: #000;
    z-index: 10000;
    opacity: 0;
    pointer-events: none;
}

/* Apple-style boot progress bar */
.intro-progress {
    position: absolute;
    bottom: 12vh;
    left: 50%;
    transform: translateX(-50%);
    width: 400px;
    max-width: 85vw;
    height: 4px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.25);
    overflow: hidden;
    z-index: 9001;
}

.intro-progress-bar {
    height: 100%;
    width: 0;
    background: white;
    border-radius: 4px;
    animation: bw-progress-load 4s linear forwards;
    animation-play-state: paused;
}

@keyframes bw-progress-load {
    0% {
        width: 0;
    }

    10% {
        width: 5%;
    }

    20% {
        width: 15%;
    }

    30% {
        width: 25%;
    }

    40% {
        width: 30%;
    }

    50% {
        width: 44%;
    }

    60% {
        width: 50%;
    }

    70% {
        width: 72%;
    }

    80% {
        width: 84%;
    }

    90% {
        width: 92%;
    }

    100% {
        width: 100%;
    }
}

/* --- Main Site Controls --- */
#main-site-content {
    position: relative;
    z-index: 1;
    /* pointer-events handled by overlay initially */
}


#hero-visual-home {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    padding: 120px 0;
    background: transparent;
}

/* --- Navigation (Top Interactive) --- */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 72px;
    display: flex;
    align-items: center;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--bw-border);
    opacity: 0;
    transform: translateY(-20px);
    pointer-events: none;
    transition: all 0.5s ease-out;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo img {
    height: 28px;
    /* Force consistent size based on Figma approx scale */
    width: auto;
    display: block;
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links a {
    text-decoration: none;
    text-transform: uppercase;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1.2px;
    color: var(--bw-black);
    transition: color 0.3s;
}

.nav-links a.active {
    color: var(--bw-red);
}

/* --- Floating Hero Scene --- */
.hero-scene {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 5;
    pointer-events: none;
    overflow: visible;
}

.floating-img {
    position: absolute;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.10), 0 8px 10px -6px rgba(0, 0, 0, 0.10);
    background: var(--bw-white);
    cursor: pointer;
    pointer-events: auto;
    transition: transform 0.1s ease-out;
    /* For magnetic follow */
    will-change: transform;
    transform: translateZ(0);
}

.floating-img img,
.floating-img video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bw-conv-clone img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.bw-morph-clone img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Figma Placements */
.f1 {
    width: 120px;
    height: 120px;
    top: 30%;
    left: 80%;
    transform: rotate(-8deg);
}

.f2 {
    width: 105px;
    height: 105px;
    top: 45%;
    left: 10%;
    transform: rotate(6deg);
}

.f3 {
    width: 160px;
    height: 160px;
    top: 60%;
    left: 70%;
    transform: rotate(-20deg);
}

.f4 {
    width: 220px;
    height: 220px;
    top: 55%;
    left: 15%;
    transform: rotate(35deg);
}

.f5 {
    width: 136px;
    height: 136px;
    top: 20%;
    left: 70%;
    transform: rotate(-8deg);
}

.f6 {
    width: 162px;
    height: 162px;
    top: 25%;
    left: 5%;
}

/* --- Hero Text Gradient Overlay — horizontal oval behind text only --- */
.hero-text-gradient {
    position: absolute;
    top: 68%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: min(1260px, 100vw);
    height: 552px;
    z-index: 7;
    pointer-events: none;
    background: linear-gradient(to bottom,
            rgba(255, 255, 255, 0.95),
            rgba(255, 255, 255, 0.90) 50%,
            rgba(255, 255, 255, 0));
    filter: blur(64px);
}

/* --- 3D Model Container --- */
#hero-3d-container {
    position: absolute;
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
    width: min(266px, 31.5vw);
    height: min(238px, 26.6vw);
    z-index: 8;
    pointer-events: auto;
}

#hero-3d-canvas {
    width: 100%;
    height: 100%;
    display: block;
    cursor: grab;
}

#hero-3d-canvas:active {
    cursor: grabbing;
}

/* --- Hero Text (shifted down to make room for 3D model) --- */
.hero-copy {
    position: absolute;
    top: 62%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 100%;
    max-width: 900px;
    z-index: 10;
    pointer-events: none;
}

.h-hero {
    font-size: 96px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: -2.4px;
    margin-bottom: 24px;
    color: var(--bw-black);
}

.p-hero {
    font-size: 24px;
    color: var(--bw-text-muted);
    max-width: 650px;
    margin: 0 auto 48px;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 20px 48px;
    background: var(--bw-red);
    color: white;
    text-decoration: none;
    border-radius: 999px;
    font-weight: 500;
    font-size: 18px;
    border: none;
    /* No black outline */
    outline: none;
    cursor: pointer;
    transition: transform 0.3s ease, background 0.3s ease;
}

.btn-primary:active {
    transform: scale(0.96);
}

/* --- Content Sections --- */
section {
    padding: 128px 0;
}

.section-eyebrow {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1.4px;
    color: var(--bw-eyebrow);
    margin-bottom: 16px;
    display: block;
    text-align: center;
}

.h-section {
    font-size: 60px;
    font-weight: 500;
    letter-spacing: -2px;
    line-height: 1.1;
    color: var(--bw-heading);
    text-align: center;
    margin-bottom: 48px;
}

/* Consistent heading colour across all h1–h4 */
h1,
h2,
h3,
h4 {
    color: var(--bw-heading);
}

/* --- Project Archive Card Pile --- */
.pile-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 64px 0;
    position: relative;
    width: 100%;
    min-height: 500px;
}

.pile-container {
    position: relative;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    width: 280px;
    height: 400px;
    perspective: 1000px;
    margin: 0 auto 48px;
    flex-shrink: 0;
}

.pile-card {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 24px;
    overflow: hidden;
    background: white;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.10), 0 8px 10px -6px rgba(0, 0, 0, 0.10);
    cursor: grab;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    user-select: none;
    will-change: transform;
    -webkit-font-smoothing: antialiased;
    transform: translateZ(0);
    touch-action: manipulation;
}

.pile-card:active {
    cursor: grabbing;
}

.pile-card img,
.pile-card video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 50%;
    pointer-events: none;
}

.pile-reveal-message {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    z-index: 10;
    pointer-events: none;
    opacity: 0;
}

.pile-reveal-message p {
    font-size: 32px;
    font-weight: 400;
    letter-spacing: -0.8px;
    line-height: 1.3;
    color: var(--bw-heading);
    max-width: 420px;
}

.pile-reveal-message strong {
    font-weight: 700;
}

.card-zoom-icon {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 10px 18px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(8px);
    border-radius: 999px;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
    z-index: 10;
    white-space: nowrap;
    font-family: var(--font-main);
    font-size: 12px;
    font-weight: 600;
    color: #1a1c1c;
    letter-spacing: 0.3px;
    transition: background 0.2s ease, box-shadow 0.2s ease;
    pointer-events: auto;
}

.card-zoom-icon:hover {
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.22);
}

.card-zoom-icon .zoom-icon-svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* --- Expanded Card View (fixed overlay — zero document reflow on open/close) --- */
#expanded-card-view {
    display: none;
    width: 100%;
    max-width: 1016px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.2s ease-out, transform 0.2s ease-out;
}

#expanded-card-view.visible {
    display: block;
}

#expanded-card-view.expanded-open {
    opacity: 1;
    transform: translateY(0);
}

.expanded-img-wrap {
    position: relative;
    width: 100%;
    height: 571px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    touch-action: manipulation;
    cursor: pointer;
}

.expanded-img-wrap img,
.expanded-img-wrap video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.expanded-slide-track {
    display: flex;
    width: 100%;
    height: 100%;
    will-change: transform;
    transition: none;
}

.expanded-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.expanded-close:hover {
    background: rgba(255, 255, 255, 0.28);
}

.expanded-img-dots {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    align-items: center;
    background: rgba(0, 0, 0, 0.45);
    border-radius: 100px;
    padding: 5px 10px;
    z-index: 2;
}

.expanded-img-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: background 0.2s, width 0.2s, border-radius 0.2s;
    flex-shrink: 0;
}

.expanded-img-dot.active {
    width: 20px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.9);
}


.expanded-info {
    text-align: center;
    margin-top: 28px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.expanded-client {
    font-family: var(--font-alt);
    font-weight: 800;
    font-size: 12px;
    letter-spacing: 2.4px;
    text-transform: uppercase;
    color: var(--bw-red);
}

.expanded-date {
    font-family: var(--font-alt);
    font-weight: 800;
    font-size: 12px;
    letter-spacing: 2.4px;
    text-transform: uppercase;
    color: var(--bw-black);
}

.expanded-desc {
    max-width: 320px;
    font-size: 14px;
    color: var(--bw-text-warm);
    line-height: 1.625;
    text-align: center;
    margin-top: 4px;
}

/* keep lightbox markup hidden — no longer used */
.card-lightbox {
    display: none !important;
}

.lightbox-close {
    display: none;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.25);
}

.pile-instructions {
    opacity: 0;
    pointer-events: none;
    text-align: center;
    margin-top: 32px;
}

.drag-hint {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2px;
    color: #99a1af;
    text-transform: uppercase;
}

.arrow {
    font-size: 14px;
    color: var(--bw-red);
}

/* Bento Grid */
.bento-section {
    background: var(--bw-grey);
    border-radius: 64px 64px 0 0;
    padding: 96px 48px;
}

.bento-head {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin-bottom: 80px;
}

.bento-head h2 {
    font-size: 60px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: -2px;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: auto auto;
    gap: 24px;
}

.bento-card {
    border-radius: 32px;
    padding: 48px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card-red {
    background: var(--bw-red);
    color: white;
    grid-column: span 4;
}

.card-white {
    background: white;
    grid-column: span 4;
    padding: 40px;
}

.card-black {
    background: black;
    color: white;
    grid-column: span 4;
    padding: 40px;
}

.card-large {
    grid-column: span 8;
    min-height: 500px;
    background: white;
    position: relative;
    justify-content: flex-end;
}

.bento-card h3 {
    font-size: 30px;
    margin-bottom: 16px;
}

.bento-card p {
    font-size: 14px;
    opacity: 0.8;
    margin-bottom: 24px;
}

.btn-text {
    text-transform: uppercase;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 1.2px;
}

/* Impact Stats */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
}

.stat-item {
    text-align: center;
}

.stat-num {
    font-size: 60px;
    font-weight: 700;
    margin-bottom: 14px;
}

.stat-desc {
    font-size: 18px;
    color: var(--bw-text-muted);
}

/* Journal */
.journal-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 96px;
    padding: 128px 48px 208px;
}

.journal-list {
    list-style: none;
    margin-top: 24px;
}

.journal-list li {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 0;
    font-size: 20px;
    font-weight: 700;
}

.journal-list li::before {
    content: '';
    width: 40px;
    height: 1px;
    background: #e4beb7;
}


/* --- Full-Spectrum CTA Section --- */
.fullspectrum-cta {
    padding: 128px 0;
    text-align: center;
}

.fullspectrum-cta .h-section {
    white-space: nowrap;
    font-size: clamp(36px, 4vw, 60px);
    line-height: 1.1;
}

.fullspectrum-inner > *,
.more-work-inner > * {
    margin: 0;
}

/* Figma spacing: eyebrow→h2 = 16px, h2→body = 64px, body→button = 80px */
.fullspectrum-inner h2,
.more-work-inner h2 {
    margin-top: 16px;
}

.fullspectrum-inner p,
.more-work-inner p {
    color: var(--bw-text-muted);
    font-size: 20px;
    line-height: 1.4;
    max-width: 705px;
    margin-top: 64px;
}

.fullspectrum-inner a.btn-primary,
.more-work-inner a.btn-primary {
    margin-top: 80px;
}

.fullspectrum-inner {
    background: #f9fafb;
    border-radius: 64px;
    padding: 96px 48px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

.fullspectrum-sub {
    font-size: 20px;
    color: var(--bw-text-muted);
    line-height: 1.6;
    max-width: 700px;
}

.fullspectrum-btn {
    margin-top: 16px;
    padding: 20px 48px;
    font-size: 18px;
}

.footer-main {
    background: white;
    color: var(--bw-black);
    padding: 40px 48px;
    border-top: 1px solid var(--bw-border);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-social {
    display: flex;
    gap: 20px;
    align-items: center;
}

.footer-social a {
    color: var(--bw-black);
    opacity: 0.5;
    transition: opacity 0.2s ease;
    display: flex;
    align-items: center;
}

.footer-social a:hover {
    opacity: 1;
}

.footer-location {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 1px;
}

.footer-top {
    display: none;
    /* Removed large footer per user request */
}

/* --- In-Place Info Panel --- */
.info-panel {
    width: 100%;
    max-width: 600px;
    margin: 48px auto 0;
    text-align: center;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.info-panel.active {
    max-height: 500px;
    opacity: 1;
    margin-top: 64px;
}

.info-panel h3 {
    font-size: 32px;
    color: var(--bw-black);
    margin-bottom: 16px;
}

.info-panel p {
    font-size: 18px;
    color: var(--bw-text-muted);
    line-height: 1.6;
}

/* --- Subpage Utilities --- */
body.subpage {
    padding-top: 72px;
}

body.subpage nav {
    opacity: 1 !important;
    transform: none !important;
    pointer-events: auto !important;
}

.subpage-hero {
    padding-top: 120px;
    padding-bottom: 80px;
}

.subpage-hero h1 {
    font-size: 80px;
    font-weight: 500;
    letter-spacing: -2px;
    line-height: 1;
    max-width: 800px;
    margin-bottom: 32px;
}

/* Services page bottom CTA */
.cta-bottom h2 {
    font-size: 60px;
    font-weight: 500;
    letter-spacing: -2px;
    line-height: 1.1;
    color: var(--bw-heading);
}

.subpage-hero p {
    font-size: 24px;
    color: var(--bw-text-warm);
    max-width: 600px;
}

.service-item.grid-split,
.project-item .grid-split {
    align-items: start;
}

/* Service block h2 headings (services.html, case study pages) */
.service-info h2,
.project-description h2 {
    font-size: 48px;
    font-weight: 500;
    letter-spacing: -1.2px;
    line-height: 1.1;
    margin-bottom: 24px;
}

.project-description p + p {
    margin-top: 20px;
}

/* Work page project meta h3 */
.project-meta h3 {
    font-size: 24px;
    font-weight: 500;
    letter-spacing: -0.5px;
    margin-bottom: 32px;
}

.grid-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.grid-split.reverse {
    direction: rtl;
}

.grid-split.reverse>* {
    direction: ltr;
}

.tag {
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--bw-red);
    margin-bottom: 12px;
    display: block;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.tags .tag {
    background: transparent;
    border: 1.5px solid #ccc;
    padding: 8px 16px;
    border-radius: 99px;
    color: #444;
    margin-bottom: 0;
}

/* Contact Page Layout */
.contact-area {
    padding-top: 128px;
    padding-bottom: 128px;
}

/* Contact Form */
.form-group {
    margin-bottom: 32px;
}

.form-group label {
    display: block;
    font-size: 10px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #999;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 16px 0;
    border: none;
    border-bottom: 1px solid #ddd;
    font-family: inherit;
    font-size: 16px;
    outline: none;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--bw-red);
}

/* ─── Task 3: Stacked Services Cards ───────────────────────────────────────── */
.services-stack-section {
    background: var(--bw-grey);
    border-radius: 64px 64px 0 0;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: stretch;
    margin-bottom: 80px;
}

/* Without explicit width: 100%, flex stretch + max-width + margin: auto can
   still shrink the container to content width on some browsers. */
.services-stack-section>.container {
    width: 100%;
}

.services-head {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 64px;
    text-align: center;
}

.services-head h2 {
    font-size: 60px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: -2px;
    color: #1a1c1c;
}

.services-cards {
    position: relative;
    width: 100%;
    height: 294px;
}

.service-card {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 270px;
    display: flex;
    align-items: center;
    gap: 40px;
    padding: 48px;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.10), 0 24px 60px rgba(0, 0, 0, 0.07);
}

/* Each card stacks on top of the previous — card 4 ends up frontmost */
.service-card:nth-child(1) {
    z-index: 1;
}

.service-card:nth-child(2) {
    z-index: 2;
}

.service-card:nth-child(3) {
    z-index: 3;
}

.service-card:nth-child(4) {
    z-index: 4;
}

.sc-white {
    background: white;
}

.sc-red {
    background: var(--bw-red);
    color: white;
}

.sc-red .sc-body h3,
.sc-red .sc-body p,
.sc-red .sc-icon {
    color: white;
}

.sc-img {
    flex: 0 0 400px;
    height: 194px;
    border-radius: 32px;
    overflow: hidden;
}

.sc-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sc-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.sc-icon {
    font-size: 36px;
}

.sc-body h3 {
    font-size: 36px;
    font-weight: 700;
    color: #1a1c1c;
    letter-spacing: -0.9px;
    line-height: 1.1;
    margin: 0;
}

.sc-body p {
    font-size: 16px;
    color: #5b403b;
    line-height: 1.5;
    margin: 0;
}

/* ─── Task 4: Journal Marquee ───────────────────────────────────────────────── */
#journal {
    padding: 128px 0 80px;
    background: white;
    overflow: hidden;
}

.journal-centered {
    text-align: center;
    margin-bottom: 48px;
}

.journal-heading {
    font-size: 48px;
    font-weight: 500;
    letter-spacing: -1.2px;
    line-height: 1.1;
    color: #1a1c1c;
    margin: 8px 0 16px;
}

.journal-subtext {
    font-size: 18px;
    color: #5b403b;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.55;
}

.marquee-block {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 48px;
}

.marquee-row {
    overflow: hidden;
    width: 100%;
}

.marquee-track {
    display: flex;
    gap: 10px;
    width: max-content;
    will-change: transform;
}

.marquee-pill {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    padding: 10px 32px 10px 10px;
    background: #dfdede;
    border-radius: 18px;
    font-family: var(--font-alt);
    font-weight: 700;
    font-size: 20px;
    color: #0a0a0a;
    white-space: nowrap;
    height: 108px;
}

.pill-thumb {
    width: 88px;
    height: 88px;
    background: white;
    border-radius: 10px;
    flex-shrink: 0;
    overflow: hidden;
}

.pill-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ─── Task 6: About — Narrative Redesign ───────────────────────────────────── */
.narrative-redesign {
    padding-top: 80px;
    padding-bottom: 0;
}

.narrative-image-full {
    border-radius: 24px;
    overflow: hidden;
    margin-bottom: 48px;
    height: 572px;
}

.narrative-image-full img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.narrative-body {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 48px;
}

.narrative-paragraphs {
    flex: 0 0 566px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.narrative-paragraphs p {
    font-size: 20px;
    color: var(--bw-text-muted);
    line-height: 1.625;
}

.narrative-why {
    background: var(--bw-red);
    color: white;
    padding: 48px;
    border-radius: 24px;
    flex: 0 0 386px;
}

.narrative-why h3 {
    font-size: 36px;
    font-weight: 500;
    margin-bottom: 24px;
    color: white;
    line-height: 1.1;
}

.narrative-why p {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.625;
}

/* ─── Task 6: About — Values Redesign ──────────────────────────────────────── */
.values-redesign {
    padding-top: 128px;
    padding-bottom: 0;
}

.values-header {
    text-align: center;
    margin-bottom: 52px;
}

.values-title {
    font-size: 60px;
    font-weight: 500;
    color: var(--bw-black);
    line-height: 1;
    margin-top: 8px;
}

.values-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px 96px;
}

.value-item h3 {
    font-size: 30px;
    font-weight: 500;
    color: var(--bw-black);
    margin-bottom: 16px;
    line-height: 1.2;
}

.value-item p {
    font-size: 18px;
    color: var(--bw-text-muted);
    line-height: 1.625;
}

/* ─── Task 7: Capabilities Built for Impact ─────────────────────────────────── */
/* More Work Grid */
.more-work {
    padding-top: 48px;
    padding-bottom: 128px;
}

.more-work-inner {
    background: #f9fafb;
    border-radius: 64px;
    padding: 96px 48px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 32px;
}

/* Project Carousel */
.project-carousel {
    width: 100%;
    margin-bottom: 48px;
    cursor: pointer;
    user-select: none;
    position: relative;
}

.project-carousel .carousel-dots {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.45);
    border-radius: 100px;
    padding: 5px 10px;
    margin: 0;
    z-index: 2;
}

.project-carousel .carousel-dots .carousel-dot {
    background: rgba(255, 255, 255, 0.4);
}

.project-carousel .carousel-dots .carousel-dot.active {
    background: rgba(255, 255, 255, 0.9);
}

.carousel-viewport {
    width: 100%;
    overflow: hidden;
    border-radius: 40px;
    max-height: 600px;
}

.carousel-track {
    display: flex;
    width: 100%;
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.carousel-track img,
.carousel-track video {
    flex: 0 0 100%;
    width: 100%;
    max-height: 600px;
    object-fit: cover;
    display: block;
    pointer-events: none;
}

.carousel-viewport {
    cursor: pointer;
    touch-action: manipulation;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin-top: 16px;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.carousel-dot {
    height: 6px;
    border-radius: 100px;
    background: rgba(0, 0, 0, 0.18);
    cursor: pointer;
    transition: background 0.25s, width 0.25s;
    flex-shrink: 0;
    width: 6px;
}

.carousel-dot.active {
    width: 28px;
    background: rgba(0, 0, 0, 0.6);
}

.more-work-divider {
    width: 50%;
    height: 1px;
    background: #e5e5ea;
    margin: 0 auto 48px;
}

.more-work-header {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 24px;
    margin-bottom: 48px;
}

.work-filter-tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.filter-tab {
    padding: 8px 20px;
    border-radius: 100px;
    border: 1.5px solid #e0e0e0;
    background: transparent;
    font-size: 14px;
    font-family: var(--font-main);
    color: #666;
    cursor: pointer;
    transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.filter-tab:hover {
    border-color: #1a1c1c;
    color: #1a1c1c;
}

.filter-tab.active {
    background: #1a1c1c;
    border-color: #1a1c1c;
    color: white;
}

.work-card.hidden {
    display: none;
}

.load-more-wrap {
    display: flex;
    justify-content: center;
    margin-top: 48px;
}

.btn-load-more {
    padding: 14px 40px;
    border-radius: 100px;
    border: 1.5px solid #1a1c1c;
    background: transparent;
    font-size: 15px;
    font-family: var(--font-main);
    font-weight: 500;
    color: #1a1c1c;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-load-more:hover {
    background: #1a1c1c;
    color: white;
}

.btn-load-more.no-more {
    display: none;
}

.more-work-title {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 600;
    letter-spacing: -1px;
    color: #1a1c1c;
    margin: 8px 0 0;
}

.more-work-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.work-card {
    display: block;
    text-decoration: none;
    color: inherit;
    touch-action: manipulation;
}

.work-card-img {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 20px;
    background: #f0f0f0;
    aspect-ratio: 4 / 3;
}

.work-card-img:not(.card-carousel) img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-carousel {
    cursor: pointer;
    touch-action: manipulation;
    transform: translateZ(0);
    will-change: transform;
}

.card-carousel .carousel-viewport {
    height: 100%;
    max-height: none;
    border-radius: 0;
}

.card-carousel .carousel-track {
    width: 100%;
    height: 100%;
    border-radius: 0;
    transition: none;
}

.card-carousel .carousel-slide picture,
.card-carousel .carousel-slide > img,
.card-carousel .carousel-slide video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.card-carousel .carousel-track img,
.card-carousel .carousel-track video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
    transition: none;
}

.carousel-slide {
    flex: 0 0 100%;
    position: relative;
    height: 100%;
    transform: translateZ(0);
    will-change: transform;
}

.carousel-slide img,
.carousel-slide video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
}

/* Featured project carousels: slides size to content, capped at 600px */
.project-carousel .carousel-slide {
    height: auto;
}

.project-carousel .carousel-slide img,
.project-carousel .carousel-slide video {
    height: auto;
    max-height: 600px;
}

.slide-date-pill {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255, 255, 255, 0.92);
    color: #1a1c1c;
    font-size: 11px;
    font-weight: 600;
    border-radius: 100px;
    padding: 4px 10px;
    pointer-events: none;
    z-index: 2;
}


.card-carousel-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 5px;
    background: rgba(0, 0, 0, 0.45);
    border-radius: 100px;
    padding: 5px 10px;
    z-index: 2;
}

.card-carousel-dots .carousel-dot {
    background: rgba(255, 255, 255, 0.4);
}

.card-carousel-dots .carousel-dot.active {
    background: rgba(255, 255, 255, 0.9);
}

.work-card-img:has(.award-badges)::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.45) 0%, transparent 100%);
    border-radius: 20px 20px 0 0;
    pointer-events: none;
    z-index: 1;
}

.award-badges {
    position: absolute;
    top: 12px;
    right: 12px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
    z-index: 2;
}

.award-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    padding: 4px 10px;
    border-radius: 100px;
    backdrop-filter: blur(8px);
}

.award-moty {
    background: var(--bw-red);
    color: white;
    font-size: 11px;
    padding: 5px 12px;
    backdrop-filter: none;
}

.award-tiers {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 5px 10px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 100px;
    backdrop-filter: blur(8px);
}

.trophy-svg {
    width: 18px;
    height: 18px;
    display: block;
    flex-shrink: 0;
}

.trophy-group {
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

.trophy-count {
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
}

.trophy-divider {
    width: 1px;
    height: 14px;
    background: rgba(0,0,0,0.15);
    display: inline-block;
    flex-shrink: 0;
}

.work-card-body {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.work-card-top {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

.work-card-client {
    font-size: 18px;
    font-weight: 600;
    color: #1a1c1c;
}

.work-card-year {
    font-size: 13px;
    color: #999;
}

.work-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin: 0;
}

.tag-pill {
    font-size: 10px;
    font-weight: 500;
    color: #6a7282;
    background: #f0f0f5;
    border-radius: 100px;
    padding: 3px 8px;
    white-space: nowrap;
}

.capabilities-section {
    padding-top: 128px;
    padding-bottom: 0;
    margin-bottom: 128px;
}

.capabilities-box {
    background: #f9fafb;
    border-radius: 32px;
    padding: 40px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.capabilities-title {
    font-size: 60px;
    font-weight: 500;
    color: var(--bw-black);
    text-align: center;
    line-height: 1;
    margin: 0;
}

.capabilities-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    padding: 0 20px;
}

.cap-pill {
    border: 1px solid #d1d5dc;
    border-radius: 999px;
    padding: 17px 33px;
    font-size: 18px;
    color: #6a7282;
    white-space: nowrap;
    line-height: 1.55;
}

.cap-pill-red {
    border: 1px solid var(--bw-red);
    border-radius: 999px;
    padding: 17px 33px;
    font-size: 18px;
    color: var(--bw-red);
    white-space: nowrap;
    line-height: 1.55;
}

.capabilities-marquee {
    display: none;
}

.cap-marquee-row {
    display: flex;
    gap: 10px;
    width: max-content;
    will-change: transform;
}

.cap-marquee-row--left {
    animation: brands-left 18s linear infinite;
}

.cap-marquee-row--right {
    animation: brands-right 20s linear infinite;
}

/* Brands marquee */
.brands-marquee {
    width: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 10px;
    -webkit-mask-image: linear-gradient(to right, transparent, #000 72px, #000 calc(100% - 72px), transparent);
    mask-image: linear-gradient(to right, transparent, #000 72px, #000 calc(100% - 72px), transparent);
}

.brands-row {
    display: flex;
    gap: 10px;
    width: max-content;
    will-change: transform;
}

.brands-row--left {
    animation: brands-left 60s linear infinite;
}

.brands-row--right {
    animation: brands-right 65s linear infinite;
}

.brands-marquee:hover .brands-row {
    animation-play-state: paused;
}

@keyframes brands-left {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@keyframes brands-right {
    0%   { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}

.brand-pill {
    border: 1px solid #d1d5dc;
    border-radius: 999px;
    padding: 13px 26px;
    font-size: 16px;
    color: #6a7282;
    white-space: nowrap;
    line-height: 1.55;
    flex-shrink: 0;
}

/* ─── Task 8: Awarded For Work ──────────────────────────────────────────────── */
.awarded-section {
    padding-top: 128px;
    padding-bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

.awarded-title {
    font-size: 60px;
    font-weight: 500;
    text-align: center;
    color: var(--bw-black);
    line-height: 1.2;
    max-width: 700px;
    margin: 0;
}

.awarded-image-wrap {
    width: 100%;
    min-height: 560px;
    height: 560px;
    max-height: 560px;
    flex-shrink: 0;
    align-self: stretch;
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    transition: opacity 0.3s ease;
}

.awarded-image-wrap img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center 50%;
    transition: opacity 0.3s ease;
}

.award-carousel {
    width: 100%;
    height: 100%;
    position: relative;
    cursor: pointer;
    user-select: none;
}

.award-carousel .carousel-viewport {
    width: 100%;
    height: 100%;
    border-radius: 0;
    overflow: hidden;
    max-height: none;
}

.award-carousel .carousel-track {
    height: 100%;
}

.award-carousel .carousel-slide {
    height: 100%;
}

.award-carousel .carousel-slide img {
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: cover;
}

.award-carousel .carousel-dots {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.45);
    border-radius: 100px;
    padding: 5px 10px;
    margin: 0;
    z-index: 2;
}

.award-carousel .carousel-dots .carousel-dot {
    background: rgba(255, 255, 255, 0.4);
}

.award-carousel .carousel-dots .carousel-dot.active {
    background: rgba(255, 255, 255, 0.9);
}

.awarded-year-nav {
    display: flex;
    align-items: center;
    background: #e5e5ea;
    border-radius: 100px;
    padding: 4px;
    gap: 0;
}

.year-pill {
    padding: 8px 20px;
    border-radius: 999px;
    font-size: 14px;
    color: #6a7282;
    cursor: pointer;
    white-space: nowrap;
    line-height: 1.5;
    transition: background 0.2s, color 0.2s;
}

.year-pill.year-active {
    background: white;
    color: #1a1c1c;
    box-shadow: 0 1px 4px rgba(0,0,0,0.12);
}

.awarded-description {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-align: center;
    min-height: 120px;
    transition: opacity 0.3s ease;
}

.awarded-eyebrow {
    font-family: var(--font-alt);
    font-weight: 800;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2.4px;
    color: var(--bw-red);
}

.awarded-desc-text {
    font-size: 14px;
    color: #5b403b;
    max-width: 400px;
    line-height: 1.625;
    text-align: center;
}

/* ─── Task 9: Timeline Redesign ─────────────────────────────────────────────── */
.timeline-redesign {
    padding-top: 128px;
    padding-bottom: 128px;
}

.timeline-box {
    background: #f9fafb;
    border-radius: 32px;
    padding: 40px;
}

.timeline-header {
    text-align: center;
    margin-bottom: 52px;
}

.timeline-title {
    font-size: 60px;
    font-weight: 500;
    color: var(--bw-black);
    line-height: 1;
    margin-top: 8px;
}

.timeline-rows {
    display: flex;
    flex-direction: column;
    gap: 64px;
}

.timeline-row-item {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.timeline-year {
    font-size: 48px;
    font-weight: 400;
    color: var(--bw-red);
    line-height: 1;
    flex-shrink: 0;
}

.timeline-content {
    flex: 0 0 584px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.timeline-content h4 {
    font-size: 30px;
    font-weight: 500;
    color: var(--bw-black);
    line-height: 1.2;
    margin: 0;
}

.timeline-content p {
    font-size: 20px;
    color: var(--bw-text-muted);
    line-height: 1.4;
    margin: 0;
}

/* --- Mobile hamburger button (hidden on desktop) --- */
.nav-hamburger {
    display: none;
}

/* ═══════════════════════════════════════════════════════════
   TABLET — max-width: 1024px
═══════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
    .h-hero {
        font-size: 72px;
        letter-spacing: -2px;
    }

    .subpage-hero h1 {
        font-size: 60px;
    }

    .sc-img {
        flex: 0 0 280px;
    }

    .grid-split {
        gap: 48px;
    }

    .narrative-paragraphs {
        flex: 0 0 460px;
    }

    .narrative-why {
        flex: 0 0 300px;
    }

    .timeline-content {
        flex: 0 0 440px;
    }

    .values-grid {
        gap: 40px 64px;
    }
}

/* ═══════════════════════════════════════════════════════════
   MOBILE — max-width: 768px
═══════════════════════════════════════════════════════════ */
br.mobile-only { display: none; }
@media (max-width: 768px) {
    br.mobile-only { display: block; }

    /* ── Container ── */
    .container {
        padding-left: 20px;
        padding-right: 20px;
    }

    /* ── Navigation ── */
    nav {
        height: 60px;
        /* Remove backdrop blur on mobile — causes full-page compositing on every scroll frame */
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        background: rgba(255, 255, 255, 0.97);
    }

    .nav-hamburger {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 5px;
        background: none;
        border: none;
        cursor: pointer;
        padding: 8px;
        flex-shrink: 0;
    }

    .nav-hamburger span {
        display: block;
        width: 22px;
        height: 2px;
        background: var(--bw-black);
        border-radius: 2px;
        transition: transform 0.3s ease, opacity 0.3s ease;
    }

    .nav-hamburger.open span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .nav-hamburger.open span:nth-child(2) {
        opacity: 0;
        transform: scaleX(0);
    }

    .nav-hamburger.open span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        flex-direction: column;
        padding: 8px 20px 24px;
        gap: 0;
        border-bottom: 1px solid var(--bw-border);
        z-index: 999;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    }

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

    .nav-links a {
        padding: 16px 0;
        font-size: 15px;
        border-bottom: 1px solid var(--bw-border);
        letter-spacing: 0.8px;
    }

    .nav-links a:last-child {
        border-bottom: none;
    }

    /* ── Hero ── */
    #hero-visual-home {
        min-height: 100svh;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 28px;
        padding: 80px 24px 48px;
    }

    /* Hidden on mobile — only backdrops the floating images which are also hidden */
    .hero-text-gradient {
        display: none;
    }

    #hero-3d-container {
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        width: min(180px, 48vw);
        height: min(161px, 43vw);
        flex-shrink: 0;
    }

    .hero-copy {
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        padding: 0;
        width: 100%;
    }

    .h-hero {
        font-size: 44px;
        letter-spacing: -1.5px;
    }

    .p-hero {
        font-size: 16px;
        margin-bottom: 32px;
        padding: 0 8px;
    }

    /* Hide floating images on mobile */
    .floating-img {
        display: none;
    }

    /* ── Section defaults ── */
    section {
        padding: 64px 0;
    }

    .h-section {
        font-size: 36px;
        letter-spacing: -1.2px;
        margin-bottom: 32px;
    }

    .section-eyebrow {
        font-size: 12px;
        margin-bottom: 12px;
    }

    /* ── Partners / Card Pile ── */
    #partners {
        padding: 64px 0;
    }

    .pile-wrapper {
        padding: 16px 0 32px;
        min-height: unset;
    }

    .pile-container {
        width: 240px;
        height: 340px;
    }

    .pile-card {
        will-change: auto;
        transform: none;
    }

    .pile-reveal-message p {
        font-size: 22px;
        letter-spacing: -0.5px;
    }

    /* ── Services Stack ── */
    .services-stack-section {
        border-radius: 32px 32px 0 0;
        min-height: 0;
        margin-bottom: 0;
        padding-bottom: 48px;
    }

    .services-stack-section>.container {
        padding-bottom: 0;
        flex: 1;
        display: flex;
        flex-direction: column;
    }

    .services-head {
        flex-shrink: 0;
    }

    .services-cards {
        margin-top: clamp(24px, 5svh, 64px);
        margin-bottom: auto;
    }

    .services-head h2 {
        font-size: 32px;
        letter-spacing: -1px;
    }

    .services-cards {
        position: relative;
        height: 340px;
    }

    .service-card {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 340px;
        overflow: hidden;
        flex-direction: column;
        padding: 20px;
        gap: 12px;
        align-items: center;
        text-align: center;
    }

    .sc-img {
        flex: none;
        width: 100%;
        height: 140px;
    }

    .sc-body h3 {
        font-size: 22px;
        letter-spacing: -0.5px;
    }

    .sc-body p {
        font-size: 14px;
    }

    /* ── Stats ── */
    .bento-head h2 {
        font-size: 36px;
        letter-spacing: -1px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .stat-num {
        font-size: 48px;
    }

    .stat-desc {
        font-size: 16px;
    }

    /* ── Journal / Marquee ── */
    #journal {
        padding: 64px 0 40px;
    }

    .journal-heading {
        font-size: 32px;
        letter-spacing: -0.8px;
    }

    .journal-subtext {
        font-size: 16px;
    }

    .marquee-pill {
        font-size: 15px;
        height: 76px;
        padding: 8px 18px 8px 8px;
        gap: 12px;
    }

    .pill-thumb {
        width: 60px;
        height: 60px;
    }

    /* ── CTA / Fullspectrum ── */
    .fullspectrum-cta {
        padding: 64px 0;
    }

    .fullspectrum-inner {
        border-radius: 32px;
        padding: 48px 24px;
        gap: 20px;
    }

    .fullspectrum-inner p,
    .more-work-inner p {
        margin-top: 16px;
        font-size: 16px;
    }

    .fullspectrum-inner a.btn-primary,
    .more-work-inner a.btn-primary {
        margin-top: 16px;
    }

    .fullspectrum-cta .h-section {
        white-space: normal;
        font-size: 32px;
        letter-spacing: -1px;
    }

    .btn-primary {
        padding: 16px 32px;
        font-size: 16px;
    }

    /* ── Footer ── */
    .footer-main {
        padding: 28px 20px;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 16px;
    }

    /* ── Subpage ── */
    body.subpage {
        padding-top: 60px;
    }

    .subpage-hero {
        padding-top: 48px;
        padding-bottom: 40px;
    }

    .subpage-hero h1 {
        font-size: 40px !important;
        letter-spacing: -1.5px !important;
        margin-bottom: 20px !important;
    }

    .subpage-hero p {
        font-size: 17px !important;
        max-width: 100% !important;
    }

    /* Contact — override inline font sizes on detail blocks */
    .detail-block a,
    .detail-block p {
        font-size: 16px !important;
        word-break: break-word;
        overflow-wrap: break-word;
    }

    .cta-card {
        padding: 24px !important;
        border-radius: 20px !important;
        margin-top: 32px !important;
    }

    .contact-area {
        padding-top: 16px;
    }

    /* ── Grid Split (services, work, case study) ── */
    .grid-split {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .grid-split.reverse {
        direction: ltr;
    }

    .grid-split.reverse .service-img {
        order: -1;
    }

    .service-info h2,
    .project-description h2 {
        font-size: 28px;
        letter-spacing: -0.6px;
    }

    /* Override inline margin-top on service items (services.html) */
    .service-item:first-child {
        margin-top: 0 !important;
    }

    .service-item+.service-item {
        margin-top: 64px !important;
    }

    /* ── Work Page ── */
    .project-item {
        margin-bottom: 64px !important;
    }

    .project-description .btn-primary {
        display: inline-block;
        margin-top: 24px;
    }

    .carousel-viewport {
        border-radius: 20px;
    }

    .project-carousel {
        margin-bottom: 28px;
    }

    .project-item>img {
        border-radius: 20px !important;
        margin-bottom: 28px !important;
    }

    .project-meta h3 {
        font-size: 18px;
    }

    /* ── Capabilities / Work "What's Next" ── */
    .more-work {
        padding-top: 0;
        padding-bottom: 80px;
    }

    .more-work-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .more-work-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .award-moty {
        display: none;
    }

    .award-tiers {
        padding: 3px 7px;
        gap: 3px;
    }

    .trophy-svg {
        width: 13px;
        height: 13px;
    }

    .work-card-client {
        font-size: 15px;
    }

    .capabilities-section {
        padding-top: 64px;
        padding-bottom: 0;
        margin-bottom: 64px;
    }

    .capabilities-box {
        border-radius: 24px;
        padding: 32px 20px;
        gap: 20px;
    }

    .capabilities-title {
        font-size: 32px;
        letter-spacing: -0.8px;
    }

    .cap-pill,
    .cap-pill-red {
        padding: 12px 20px;
        font-size: 15px;
        flex-shrink: 0;
    }

    .capabilities-pills {
        display: none;
    }

    .capabilities-marquee {
        display: flex;
        flex-direction: column;
        gap: 10px;
        width: 100%;
        overflow: hidden;
        -webkit-mask-image: linear-gradient(to right, transparent, #000 40px, #000 calc(100% - 40px), transparent);
        mask-image: linear-gradient(to right, transparent, #000 40px, #000 calc(100% - 40px), transparent);
    }

    .brand-pill {
        padding: 10px 18px;
        font-size: 14px;
    }

    /* ── About — Narrative ── */
    .narrative-redesign {
        padding-top: 48px;
        padding-bottom: 64px;
    }

    .narrative-image-full {
        height: 220px;
        margin-bottom: 28px;
    }

    .narrative-body {
        flex-direction: column;
        gap: 24px;
    }

    .narrative-paragraphs {
        flex: none;
        width: 100%;
        gap: 20px;
    }

    .narrative-paragraphs p {
        font-size: 17px;
    }

    .narrative-why {
        flex: none;
        width: 100%;
    }

    .narrative-why h3 {
        font-size: 26px;
    }

    .narrative-why p {
        font-size: 16px;
    }

    /* ── About — Values ── */
    .values-redesign {
        padding-top: 64px;
        padding-bottom: 64px;
    }

    .values-title {
        font-size: 36px;
        letter-spacing: -1px;
    }

    .values-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .value-item {
        text-align: center;
    }

    .value-item h3 {
        font-size: 22px;
    }

    .value-item p {
        font-size: 16px;
    }

    /* ── About — Awards ── */
    .awarded-section {
        padding-top: 64px;
        padding-bottom: 64px;
    }

    .awarded-image-wrap {
        min-height: 280px;
        height: 280px;
        max-height: 280px;
        border-radius: 16px;
        overflow: hidden;
        margin-bottom: 32px;
    }

    .awarded-image-wrap img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
    }

    .awarded-title {
        font-size: 32px;
        letter-spacing: -0.8px;
    }

    .awarded-year-nav {
        flex-wrap: nowrap;
        justify-content: center;
        padding: 6px;
        gap: 4px;
    }

    .awarded-year-nav .year-pill:nth-child(n+5) {
        display: none;
    }

    .year-pill {
        padding: 10px 18px;
        font-size: 14px;
    }

    /* ── About — Timeline ── */
    .timeline-redesign {
        padding-top: 64px;
        padding-bottom: 64px;
    }

    .timeline-box {
        padding: 24px 16px;
    }

    .timeline-title {
        font-size: 36px;
        letter-spacing: -1px;
    }

    .timeline-rows {
        gap: 40px;
    }

    .timeline-row-item {
        flex-direction: column;
        align-items: center;
        gap: 4px;
    }

    .timeline-content {
        flex: none;
        width: 100%;
        text-align: center;
    }

    .timeline-year {
        font-size: 36px;
    }

    .timeline-content h4 {
        font-size: 22px;
    }

    .timeline-content p {
        font-size: 16px;
    }

    /* ── Bento (case study pages) ── */
    .bento-section {
        border-radius: 32px 32px 0 0;
        padding: 48px 0;
    }

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

    .card-red,
    .card-white,
    .card-black,
    .card-large {
        grid-column: span 1;
    }

    .card-large {
        min-height: 260px;
    }

    .bento-card {
        padding: 28px 20px;
    }

    /* ── Expanded Card (pile tap-to-open) ── */
    .expanded-img-wrap {
        height: 240px;
    }

    /* ── Tags ── */
    .tags {
        gap: 8px;
    }

    .tags .tag {
        font-size: 9px;
        padding: 6px 12px;
    }
}