.hero{
    --hero-video-bottom-gap:28px;
    position:relative;
    min-height:100vh;
    display:flex;
    align-items:flex-end;
    overflow:hidden;
    padding:24px 0 10px;
}

.hero-media{
    position:absolute;
    inset:0;
    background:#fff;
    z-index:0;
    overflow:hidden;
}

.hero-media video{
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:calc(100% - var(--hero-video-bottom-gap));
    object-fit:cover;
    display:block;
    opacity:1;
    transition:opacity .3s ease;
}

.hero-media video.is-loading,
.hero-media video.has-error{
    opacity:0;
}

.hero-controls{
    position:absolute;
    top:24px;
    right:32px;
    z-index:2;
    display:flex;
    gap:10px;
}

.hero-control{
    width:36px;
    height:36px;
    border-radius:50%;
    background:rgba(255,255,255,.82);
    color:#111;
    border:none;
    display:flex;
    align-items:center;
    justify-content:center;
    cursor:pointer;
    transition:background .2s ease;
}

.hero-control:hover{
    background:rgba(255,255,255,1);
}

.hero-content{
    position:relative;
    z-index:1;
}

.hero-text-block{
    max-width:640px;
    margin-bottom:24px;
    transform:translateY(0px);
}

.hero-text-block--video-reveal{
    opacity:0;
    transition:opacity 1.5s ease;
}

.hero-text-block--video-reveal.is-visible{
    opacity:1;
}

@media (prefers-reduced-motion: reduce){
    .hero-text-block--video-reveal{ transition:none; }
}

.hero-title{
    font-size:clamp(2.6rem, calc(2rem + 2.05vw), 3.9rem);
    font-weight:700;
    font-family:'ArtifaktLegend',Arial,sans-serif;
    letter-spacing:normal;
    line-height:1.2;
    color:#111;
    text-wrap:balance;
    max-width:100%;
    margin-bottom:20px;
    -webkit-text-stroke:1.1px rgba(255,255,255,.9);
    paint-order:stroke fill;
    text-shadow:0 6px 18px rgba(0,0,0,.2);
}

.hero-title-brand{
    display:inline-block;
    color:#BC1116;
    font-family:'Space','Space Grotesk',Arial,sans-serif;
    font-weight:800;
    font-size:2em;
    line-height:1.05;
}

.hero-title-sub{
    display:inline-block;
    color:#fff;
    font-family:'ArtifaktLegend',Arial,sans-serif;
    font-size:clamp(2.55rem, calc(1.1rem + .95vw), 2.2rem);
    line-height:1.5;
    -webkit-text-stroke:1px rgba(0,0,0,.92);
    paint-order:stroke fill;
    text-shadow:0 6px 16px rgba(0,0,0,.3);
}

.hero-text{
    color:#fff;
    max-width:520px;
    font-size:clamp(1.14rem, calc(1rem + .35vw), 1.36rem);
    font-weight:600;
    line-height:1.35;
    margin:0 0 30px;
    -webkit-text-stroke:.7px rgba(0,0,0,.88);
    paint-order:stroke fill;
    text-shadow:0 4px 12px rgba(0,0,0,.3);
}

.hero-button{
    display:inline-block;
    padding:14px 28px;
    border-radius:999px;
    background:white;
    color:black;
    text-decoration:none;
    font-weight:bold;
}

.hero-industry-head{
    display:flex;
    align-items:center;
    justify-content:space-between;
    margin-bottom:16px;
}

.hero-industry-head h2{
    font-size:1.2rem;
    font-weight:bold;
    color:#fff;
    text-shadow:0 3px 12px rgba(0,0,0,.28);
    margin:0;
}

.hero-industry{
    position:relative;
    z-index:5;
}

.hero-industry-arrows{
    display:flex;
    gap:10px;
}

.hero-industry-arrows button{
    width:30px;
    height:30px;
    border-radius:50%;
    border:none;
    background:rgba(0,0,0,.14);
    color:#111;
    display:flex;
    align-items:center;
    justify-content:center;
    cursor:pointer;
}

.hero-industry-arrows button.is-active{
    background:#111;
    color:#fff;
}

.industry-viewport{
    width:calc(100% + (var(--container-inset) * 2));
    margin-left:calc(-1 * var(--container-inset));
    margin-right:calc(-1 * var(--container-inset));
    overflow:visible;
}

.industry-scroll{
    overflow-x:auto;
    overflow-y:visible;
    scroll-behavior:auto;
    scrollbar-width:none;
    -ms-overflow-style:none;
    padding:16px 0;
}

.industry-scroll::-webkit-scrollbar{
    display:none;
}

.industry-cards{
    display:flex;
    gap:20px;
    padding-left:calc(var(--container-inset) + 18px);
    padding-right:var(--container-inset);
}

.industry-card-item{
    position:relative;
    flex:0 0 260px;
    height:170px;
    overflow:visible;
    perspective:1000px;
    transition:flex-basis .42s cubic-bezier(.22,.61,.36,1);
    z-index:1;
}

.industry-card-item:hover{
    flex-basis:330px;
    z-index:8;
}

.industry-card{
    position:absolute;
    inset:0;
    display:block;
    border-radius:10px;
    overflow:hidden;
    text-decoration:none;
    border:1px solid #bc1116;
    z-index:2;
    transform:translateX(0) translateZ(0) rotateY(0deg) scale(1);
    transform-origin:left center;
    transition:transform .42s cubic-bezier(.22,.61,.36,1), border-color .3s ease;
}

.industry-card:hover{
    transform:translateX(8px) translateY(-1px) translateZ(28px) rotateY(9deg) scale3d(1.04,1.1,1);
}

.card-stack {
    position: absolute;
    inset: 0;
    z-index: 1;
    border-radius: 10px;
    border: 1.5px solid #bc1116;
    background: rgba(188, 17, 22, .025);
    opacity: 0;
    pointer-events: none;
    transform: translate(0, 0) scale(1);
    transform-origin: center;
    transition: opacity .32s ease, transform .4s cubic-bezier(.22,.61,.36,1);
}
.card-stack-2 { z-index: 0; }
.industry-card-item:is(:hover, :focus-within) .card-stack-1 {
    opacity: 1;
    transform: translate(-10px, 6px);
}
.industry-card-item:is(:hover, :focus-within) .card-stack-2 {
    opacity: 1;
    transform: translate(-20px, 12px);
}
.industry-card::before{
    content:"";
    position:absolute;
    right:14px;
    bottom:12px;
    z-index:4;
    width:30px;
    height:30px;
    border-radius:50%;
    background:#bc1116 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2'%3E%3Cline x1='7' y1='17' x2='17' y2='7'/%3E%3Cpolyline points='7 7 17 7 17 17'/%3E%3C/svg%3E") no-repeat center;
    background-size:14px 14px;
    opacity:0;
    transform:scale(.6);
    transition:opacity .2s ease, transform .2s ease;
}

.industry-card:hover::before{
    opacity:1;
    transform:scale(1);
}

.industry-card-img{
    position:absolute;
    inset:0;
    background:#d5d5d5;
    background-position:center;
    background-repeat:no-repeat;
    background-size:cover;
}

.industry-card-img video{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}

.industry-card-img::before{
    content:"";
    position:absolute;
    inset:0;
    z-index:3;
    border-radius:10px;
    clip-path:inset(0 round 10px);
    pointer-events:none;
    opacity:0;
    transition:opacity .2s ease;
    background:
        linear-gradient(#bc1116 0 0) center top / 0 2px no-repeat,
        linear-gradient(#bc1116 0 0) left top / 2px 0 no-repeat,
        linear-gradient(#bc1116 0 0) right top / 2px 0 no-repeat,
        linear-gradient(#bc1116 0 0) left bottom / 0 2px no-repeat,
        linear-gradient(#bc1116 0 0) right bottom / 0 2px no-repeat;
}

.industry-card:hover .industry-card-img::before{
    opacity:1;
    animation:industry-border-trace .7s linear 1 forwards;
}

.industry-card-img::after{
    content:"";
    position:absolute;
    left:0;
    right:0;
    bottom:0;
    height:65%;
    background:linear-gradient(to top, rgba(255,255,255,.82), transparent);
}

.industry-card--video .industry-card-img::after{
    background:linear-gradient(to top, rgba(0,0,0,.62), transparent 74%);
}

.industry-card--video span{
    color:#fff;
    -webkit-text-stroke:.8px rgba(0,0,0,.92);
    paint-order:stroke fill;
    text-shadow:0 2px 8px rgba(0,0,0,.35);
}

.industry-card span{
    position:absolute;
    left:14px;
    bottom:12px;
    z-index:4;
    color:#fff;
    -webkit-text-stroke:.8px rgba(0,0,0,.92);
    paint-order:stroke fill;
    text-shadow:0 2px 8px rgba(0,0,0,.35);
    font-size:13px;
    font-weight:bold;
}

@keyframes industry-border-trace{
    0%{
        background-size:0 2px, 2px 0, 2px 0, 0 2px, 0 2px;
    }
    33%{
        background-size:100% 2px, 2px 0, 2px 0, 0 2px, 0 2px;
    }
    66%{
        background-size:100% 2px, 2px 100%, 2px 100%, 0 2px, 0 2px;
    }
    100%{
        background-size:100% 2px, 2px 100%, 2px 100%, 50% 2px, 50% 2px;
    }
}

.global-map-section{
    background:transparent;
    color:#111;
    padding:6px 0 76px;
}

.global-map-grid{
    display:grid;
    grid-template-columns:minmax(0, 1fr) minmax(320px, 420px);
    gap:28px;
    align-items:flex-start;
    width:100%;
    padding:0 28px;
    box-sizing:border-box;
}

.global-globe-wrap{
    position:relative;
    min-height:1000px;
    background:transparent;
    overflow:hidden;
    transform-origin:center center;
}

.global-globe-wrap.is-globe-awaiting{
    transform:scale(.1);
    opacity:.34;
}

.global-globe-wrap.is-globe-entering{
    transition:transform 2s cubic-bezier(.16,.82,.22,1), opacity .7s ease;
    will-change:transform, opacity;
}

.cad-globe{
    width:100%;
    height:1000px;
    transform:translateY(0);
}

.global-map-panel{
    align-self:stretch;
    display:flex;
    flex-direction:column;
    justify-content:center;
    padding-right:18px;
}

.global-map-panel h2{
    margin:0 0 16px;
    font-family:'Space','Space Grotesk',Arial,sans-serif;
    font-size:clamp(1.55rem, 2.4vw, 2.35rem);
    letter-spacing:.02em;
    color:#111;
}

.global-map-list{
    border-top:1px solid rgba(0,0,0,.2);
}

.global-map-entry{
    border-bottom:1px solid rgba(0,0,0,.2);
}

.global-map-item{
    width:100%;
    text-align:left;
    padding:14px 0;
    font-size:2rem;
    line-height:1.15;
    border:none;
    border-bottom:none;
    color:#222;
    background:transparent;
    cursor:pointer;
    transition:color .2s ease, padding-left .2s ease;
}

.global-map-item:hover,
.global-map-item.is-active{
    color:#000;
    padding-left:8px;
}

.global-map-item span{
    position:relative;
    display:inline-block;
}

.global-map-item span::after{
    content:"";
    position:absolute;
    right:0;
    bottom:-3px;
    left:0;
    height:2px;
    background:#BC1116;
    transform:scaleX(0);
    transform-origin:left center;
    transition:transform .3s ease;
}

.global-map-item:hover span::after,
.global-map-item:focus-visible span::after{
    transform:scaleX(1);
}

.global-map-sublist{
    display:grid;
    grid-template-rows:0fr;
    opacity:0;
    transition:grid-template-rows .35s ease, opacity .25s ease;
}

.global-map-sublist ol{
    min-height:0;
    overflow:hidden;
    box-sizing:border-box;
    margin:0;
    padding:0 14px 0 38px;
    color:#444;
    font-size:1.05rem;
    line-height:1.45;
}

.global-map-sublist li{
    padding:2px 0;
}

.global-map-entry.is-expanded .global-map-sublist{
    grid-template-rows:1fr;
    opacity:1;
}

.global-map-entry.is-expanded .global-map-sublist ol{
    padding-bottom:15px;
}

@media (prefers-reduced-motion: reduce){
    .global-map-item span::after{
        transition:none;
    }

    .global-map-sublist{
        transition:none;
    }
}

.globe-callout{
    position:relative;
    transform:translate(-50%, -50%);
    pointer-events:none;
}

.globe-callout-dot{
    position:absolute;
    top:-3px;
    left:-3px;
    width:8px;
    height:8px;
    border-radius:50%;
    border:2px solid #111;
    background:rgba(255,255,255,.95);
}

.globe-callout--small-region .globe-callout-dot{
    top:-2px;
    left:-2px;
    width:3px;
    height:3px;
    border-width:1px;
}

.globe-callout-line{
    position:absolute;
    top:-2px;
    left:5px;
    width:96px;
    height:2px;
    background:#ffffff;
    transform-origin:left center;
    transform:rotate(-32deg) scaleX(.2);
    animation:globe-callout-line .55s ease forwards;
}

.globe-callout--small-region .globe-callout-line{
    top:0;
    left:3px;
}

.globe-callout-label{
    position:absolute;
    top:-56px;
    left:86px;
    white-space:nowrap;
    background:#ed1c24;
    color:#111;
    font-size:12px;
    font-weight:700;
    letter-spacing:.04em;
    text-transform:uppercase;
    padding:6px 12px;
    border-radius:2px;
    opacity:0;
    transform:translateY(6px);
    animation:globe-callout-label .45s ease .2s forwards;
}

.globe-callout-label:empty{
    display:none;
}

@keyframes globe-callout-line{
    to{transform:rotate(-32deg) scaleX(1);}
}

@keyframes globe-callout-label{
    to{opacity:1;transform:translateY(0);}
}

@media (max-width: 1100px){
    .global-map-grid{
        grid-template-columns:1fr;
        padding:0 20px;
    }

    .global-globe-wrap,
    .cad-globe{
        min-height:1000px;
        height:1000px;
    }

    .cad-globe{
        transform:translateY(-10px);
    }

    .global-map-item{
        font-size:1.35rem;
    }
}

/* A square viewport keeps the globe in frame on phones instead of cropping
   a 1000px-tall canvas down to the narrow screen width. */
@media (max-width:767px), (max-width:1100px) and (pointer:coarse){
    .global-globe-wrap{
        width:min(100%, 420px, 70svh);
        height:auto;
        min-height:0;
        aspect-ratio:1;
        margin-inline:auto;
    }

    .cad-globe{
        position:absolute;
        inset:0;
        width:100%;
        height:100%;
        min-height:0;
        transform:none;
    }

    /* Let native page scrolling own swipes, including over the canvas.
       Country buttons below the globe remain interactive. */
    .cad-globe,
    .cad-globe *{
        pointer-events:none !important;
        touch-action:pan-y pinch-zoom !important;
    }
}

.company-photo-section{
    position:relative;
    width:100%;
    height:100svh;
    min-height:520px;
    overflow:hidden;
    background:#111;
}

.company-photo-section__image{
    position:absolute;
    inset:0;
    z-index:1;
    width:100%;
    height:100%;
    display:block;
    object-fit:cover;
    object-position:center;
    animation:company-photo-zoom 10s ease-in-out infinite;
    will-change:transform;
}

@keyframes company-photo-zoom{
    0%, 100%{
        transform:scale(1);
    }

    50%{
        transform:scale(1.06);
    }
}

@media (prefers-reduced-motion: reduce){
    .company-photo-section__image{
        animation:none;
    }
}

.homepage-story{
    position:relative;
    width:100%;
}

.homepage-story__track{
    display:block;
}

/* Mobile media uses its own proportions instead of filling a portrait screen.
   Keep the copy below the video so the complete frame stays visible. */
@media (max-width:767px), (max-width:1100px) and (pointer:coarse){
    .hero{
        --hero-video-bottom-gap:0px;
        --container-inset:20px;
        display:block;
        min-height:0;
        padding:0 0 20px;
        background:#fff;
    }

    .hero-media{
        position:relative;
        inset:auto;
        background:#111;
    }

    .hero-media video{
        position:relative;
        width:100%;
        height:auto;
        aspect-ratio:auto 16 / 9;
        object-fit:contain;
    }

    .hero-controls{
        top:12px;
        right:12px;
        gap:8px;
    }

    .hero-content{
        width:100%;
        max-width:none;
        padding:24px 20px 0;
        box-sizing:border-box;
    }

    .hero-title{
        margin:0 0 16px;
        font-size:clamp(1.5rem, 6vw, 2rem);
        -webkit-text-stroke:0;
        text-shadow:none;
    }

    .hero-title-brand{
        font-size:1.65em;
    }

    .hero-title-sub{
        font-size:clamp(1.3rem, 5vw, 1.75rem);
        line-height:1.3;
        color:#111;
        -webkit-text-stroke:0;
        text-shadow:none;
    }

    .hero-text{
        color:#333;
        font-size:1rem;
        line-height:1.5;
        margin-bottom:20px;
        -webkit-text-stroke:0;
        text-shadow:none;
    }

    .hero-button{
        background:#BC1116;
        color:#fff;
    }

    .hero-industry-head h2{
        color:#111;
        font-size:1.05rem;
        text-shadow:none;
    }

    .company-photo-section{
        height:auto;
        min-height:0;
        background:transparent;
    }

    .company-photo-section__image{
        position:relative;
        inset:auto;
        width:100%;
        height:auto;
        object-fit:contain;
        animation:none;
        transform:none;
        will-change:auto;
    }
}

@media (min-width: 1101px) and (prefers-reduced-motion: no-preference){
    .homepage-story{
        background:transparent;
    }

    .homepage-story__track{
        position:relative;
        width:100%;
        height:auto;
        overflow:visible;
        background:transparent;
    }

    .homepage-story__hero-stage{
        position:relative;
        z-index:2;
        height:calc(100svh - var(--homepage-story-header-height, 0px));
        min-width:0;
        min-height:0;
        pointer-events:none;
    }

    .homepage-story__panel--hero{
        --hero-video-bottom-gap:0px;
        min-height:0;
        height:100%;
        box-sizing:border-box;
        position:relative;
        z-index:2;
        transform-origin:center center;
        will-change:transform, border-radius;
        pointer-events:auto;
    }

    .homepage-story__panel--globe{
        position:relative;
        z-index:1;
        overflow:visible;
    }
}

/* Homepage: four complete scenes, with native midpoint snapping. */
html.home-section-snap {
    scroll-snap-type: y mandatory;
    scroll-padding-top: var(--homepage-story-header-height, 0px);
    scroll-behavior: auto;
}
html.home-section-snap.is-section-sliding { scroll-snap-type: none; }
.homepage-story__track { display: block; }
.homepage-story__hero-stage { height: auto; pointer-events: auto; }
.homepage-story .homepage-story__panel {
    position: relative;
    height: calc(100svh - var(--homepage-story-header-height, 0px));
    min-height: 0;
    box-sizing: border-box;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    overflow: hidden;
}
.homepage-story .hero { --hero-video-bottom-gap: 0px; padding: 0; }
.homepage-story .hero-content {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    max-width: none;
    max-height: 100%;
    margin: 0;
    padding: 24px clamp(20px, 2.5vw, 48px);
    box-sizing: border-box;
}
.homepage-story .hero-text-block { margin-bottom: 0; }
.homepage-story .hero-text { margin-bottom: 0; }
.home-services {
    display: flex;
    align-items: center;
    background: transparent;
    padding: clamp(20px, 4vh, 48px) 0;
}
.home-services__content {
    width: 100%;
    max-width: none;
    margin: 0;
    padding-inline: clamp(20px, 2.5vw, 48px);
    box-sizing: border-box;
}
.home-services__title { margin: 0 0 clamp(12px, 2vh, 24px); font-family: 'Space', Arial, sans-serif; font-weight: 700; font-size: clamp(48px, 6vw, 88px); line-height: 1; color: #bc1116; }
.home-services .hero-industry-head { margin-bottom: 18px; gap: 20px; }
.home-services .hero-industry-head h3 { margin: 0; font-size: clamp(20px, 2.4vw, 36px); line-height: 1.2; color: #171b18; text-shadow: none; }
.home-services .hero-industry-arrows { flex: none; gap: 10px; }
.home-services .hero-industry-arrows button { padding: 0; box-sizing: border-box; display: grid; place-items: center; line-height: 1; }
.home-services .hero-industry-arrows svg { display: block; width: 22px; height: 22px; }
.home-services .hero-industry-arrows button { width: 48px; height: 48px; border: 1px solid #bc1116; background: transparent; color: #bc1116; font-size: 26px; transition: background .2s, color .2s; }
.home-services .hero-industry-arrows button:hover { background: #bc1116; color: #fff; }
.home-services .hero-industry-arrows button:focus-visible { outline: 2px solid #bc1116; outline-offset: 4px; }
.home-services .industry-scroll { padding: 30px 0 42px; }
.home-services .industry-cards { gap: clamp(22px, 3vw, 48px); }
.home-services .industry-card-item {
    flex: 0 0 auto;
    width: min(52vw, calc((100svh - var(--homepage-story-header-height, 0px) - 330px) * 16 / 9));
    height: auto;
    aspect-ratio: 16 / 9;
}
.home-services .industry-card-item:hover { flex-basis: auto; }
.home-services .industry-card-item:focus-within { z-index: 8; }
.home-services .industry-card-assembly {
    position: absolute;
    inset: 0;
    transform-origin: center;
    transform: translate(0, 0) rotateY(0deg) rotateZ(0deg) scale(1);
    transition: transform .4s cubic-bezier(.22,.61,.36,1);
}
.home-services .industry-card-item:is(:hover, :focus-within) .industry-card-assembly {
    transform: translate(18px, -5px) rotateY(5deg) rotateZ(.6deg) scale(1.05);
}
.home-services .industry-card,
.home-services .industry-card:hover { border-color: #bc1116; transform: none; }
.home-services .industry-card-item:is(:hover, :focus-within) .industry-card { box-shadow: 0 8px 22px rgba(188, 17, 22, .12); }
.home-services .industry-card span { font-size: clamp(16px, 1.8vw, 28px); padding: 18px 22px; }
.homepage-story .global-map-section { padding: 20px 0 28px; }
.homepage-story .global-map-grid { height: 100%; align-items: stretch; }
.homepage-story .global-globe-wrap { min-height: 0; height: 100%; }
.homepage-story .cad-globe { height: 100%; min-height: 0; }
.homepage-story .global-map-panel { min-height: 0; overflow-y: auto; justify-content: flex-start; }
.homepage-story .global-map-panel > * { flex-shrink: 0; }
.homepage-story .company-photo-section__image { position: absolute; width: 100%; height: 100%; object-fit: contain; }
.homepage-story + .site-footer { scroll-snap-align: end; }
@media (max-width: 767px), (max-width: 1100px) and (pointer: coarse) {
    .homepage-story .hero { display: flex; flex-direction: column; justify-content: center; align-items: stretch; padding: 0; }
    .homepage-story .hero-media { flex: none; width: 100%; }
    .homepage-story .hero-media video { height: auto; max-height: 45svh; object-fit: contain; }
    .homepage-story .hero-content { position: relative; left: auto; bottom: auto; padding: 20px; overflow-y: auto; }
    .homepage-story .hero-title { margin-bottom: 12px; }
    .homepage-story .hero-text { margin-bottom: 0; }
    .homepage-story .hero-text-block { margin-bottom: 0; }
    .home-services { --container-inset: 20px; }
    .home-services__content { padding-inline: 20px; }
    .home-services .industry-card-item { width: min(78vw, calc((100svh - var(--homepage-story-header-height, 0px) - 290px) * 16 / 9)); }
    .home-services .industry-card span { font-size: 16px; padding: 12px; }
    .home-services__title { font-size: clamp(44px, 11vw, 64px); }
    .home-services .hero-industry-head { gap: 12px; }
    .home-services .hero-industry-head h3 { font-size: clamp(18px, 4.5vw, 24px); }
    .home-services .hero-industry-arrows { gap: 6px; }
    .home-services .hero-industry-arrows button { width: 44px; height: 44px; font-size: 23px; }
    .homepage-story .global-map-grid { grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; padding: 0 20px; }
    .homepage-story .global-map-panel { height: 100%; }
    .homepage-story .company-photo-section { background: #f6f7f5; }
}
@media (max-height: 550px) and (min-width: 768px) {
    .home-services__title { font-size: 38px; margin-bottom: 10px; }
    .home-services .hero-industry-head { margin-bottom: 8px; }
    .home-services .hero-industry-head h3 { font-size: 20px; }
    .home-services .industry-scroll { padding: 16px 0 22px; }
    .home-services .industry-card-item { width: min(48vw, calc((100svh - var(--homepage-story-header-height, 0px) - 230px) * 16 / 9)); }
}

/* Collaboration occupies one scroll stop; milestones animate on entry. */
.collaboration-story { position: relative; }
.homepage-story .collaboration-panel { position: relative; scroll-snap-align: start; padding: clamp(20px, 3vh, 36px) clamp(20px, 2.5vw, 48px); }
.collaboration-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.25fr); gap: clamp(32px, 6vw, 110px); height: 100%; }
.collaboration-panel .global-map-panel { padding: 0; justify-content: flex-start; }
.collaboration-panel .global-map-panel h2 { font-size: clamp(26px, 2.3vw, 40px); line-height: 1.1; margin-bottom: 18px; }
.collaboration-panel .global-map-item { font-family: Arial, sans-serif; font-size: clamp(20px, 2.05vw, 30px); padding: 10px 0; line-height: 1.15; }
.collaboration-panel .global-map-item.is-active { color: #bc1116; }
.collaboration-panel .global-map-sublist { transition: grid-template-rows .65s cubic-bezier(.22,.61,.36,1), opacity .5s ease; }
.collaboration-panel .global-map-sublist ol { font: 14px/1.45 Arial, sans-serif; padding-left: 24px; }
.collaboration-panel .global-map-entry.is-expanded .global-map-sublist ol { padding-bottom: 10px; }
.collaboration-right { display:flex; flex-direction:column; min-height:0; min-width:0; padding-top:clamp(32px,4vh,48px); gap:16px; }
.collaboration-metrics { display: flex; flex-direction: column; justify-content: flex-start; gap: clamp(18px, 3vh, 32px); min-width: 0; }
.collaboration-world-map { display:flex; flex-direction:column; flex:1; width:100%; min-height:0; margin:0; gap:10px; }
.collaboration-world-map__image { flex:1; min-height:0; background:#f1f3f4; overflow:hidden; }
.collaboration-world-map__image svg { display:block; width:100%; height:100%; }
.collaboration-world-map [data-country].is-interactive { cursor:pointer; transition:filter .18s ease, stroke .18s ease; }
.collaboration-world-map [data-country].is-highlighted { stroke:#000; stroke-width:.6px; vector-effect:non-scaling-stroke; filter:none; }
.collaboration-world-map [data-country]:focus-visible { outline:none; stroke:#000; stroke-width:.8px; vector-effect:non-scaling-stroke; }
@media (prefers-reduced-motion:reduce) { .collaboration-world-map [data-country] { transition:none; } }
.collaboration-map-legend { display:flex; flex-wrap:wrap; align-items:center; justify-content:center; gap:8px 24px; font:12px/1.4 Arial,sans-serif; color:#333; }
.collaboration-map-legend span { display:inline-flex; align-items:center; gap:7px; }
.collaboration-map-legend i { display:inline-block; width:11px; height:11px; border-radius:2px; }
.collaboration-map-legend__partner { background:#bc1116; }
.collaboration-map-legend__vietnam { background:#ffd338; }
.homepage-story .collaboration-map-panel { display:flex; flex-direction:column; padding:24px clamp(20px,3vw,58px) 64px; gap:16px; }
.collaboration-map-heading { display:flex; justify-content:space-between; align-items:center; gap:16px; flex:none; color:#5c656a; font:11px/1.4 Arial,sans-serif; letter-spacing:.16em; }
.collaboration-map-heading [data-map-location] { color:#bc1116; text-transform:uppercase; text-align:right; }
.collaboration-map-panel .collaboration-world-map { flex:1; min-height:0; height:auto; gap:14px; }
.collaboration-map-panel .collaboration-world-map__image { position:relative; border:1px solid #dce1e4; }
.collaboration-map-panel .collaboration-map-legend { flex:none; font-size:13px; }
.collaboration-metric { display: flex; align-items: baseline; gap: .2em; opacity: 0; visibility: hidden; transform: translateY(22px); font-family: Arial, sans-serif; font-size: clamp(36px, 4.9vw, 86px); font-weight: 700; line-height: 1.05; letter-spacing: -.045em; white-space: nowrap; transition: opacity .8s ease, transform .8s cubic-bezier(.22,.61,.36,1), visibility .8s; }
.collaboration-metric.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.collaboration-metric [data-count] { color: #bc1116; font-variant-numeric: tabular-nums; }
.collaboration-metric b { color: #bc1116; font-weight: 400; }
.homepage-story .homepage-story__panel--globe > .global-globe-wrap { width: 100%; height: 100%; max-width: none; aspect-ratio: auto; margin: 0; }
@media (max-width: 767px), (max-width: 1100px) and (pointer: coarse) {
    .homepage-story .collaboration-panel { padding: 18px 20px; }
    .collaboration-grid { grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) auto; gap: 16px; }
    .collaboration-panel .global-map-panel h2 { font-size: 26px; margin-bottom: 12px; }
    .collaboration-panel .global-map-item { font-size: 19px; padding: 8px 0; }
    .collaboration-panel .global-map-sublist ol { font-size: 12px; line-height: 1.35; }
    .collaboration-panel .global-map-sublist li { padding: 1px 0; }
    .collaboration-metrics { gap: 8px; min-height: 130px; }
    .collaboration-right { padding-top:0; display:flex; gap:10px; }
    .collaboration-right .collaboration-metrics { min-height:0; flex-direction:row; flex-wrap:wrap; justify-content:space-between; gap:6px; }
    .collaboration-world-map { flex:none; height:165px; }
    .collaboration-map-legend { font-size:10px; gap:6px 14px; }
    .homepage-story .collaboration-map-panel { padding:20px 14px 64px; gap:12px; }
    .collaboration-map-panel .collaboration-world-map { height:auto; flex:1; }
    .collaboration-map-heading { font-size:9px; letter-spacing:.08em; }
    .collaboration-map-panel .collaboration-map-legend { font-size:11px; }
    .collaboration-metric { font-size: clamp(19px, 4.6vw, 28px); }
}
@media (max-height: 650px) and (min-width: 768px) {
    .collaboration-panel .global-map-panel h2 { font-size: 26px; margin-bottom: 10px; }
    .collaboration-panel .global-map-item { font-size: 20px; padding: 6px 0; }
    .collaboration-panel .global-map-sublist ol { font-size: 12px; line-height: 1.3; }
    .collaboration-panel .global-map-sublist li { padding: 0; }
}
@media (prefers-reduced-motion: reduce) {
    .collaboration-metric, .collaboration-panel .global-map-sublist { transition: none; }
}

/* Shared continuation cue for every homepage scene except the final globe. */
.homepage-story .collaboration-panel { padding-bottom: 72px; }
.home-scroll-cue {
    position: absolute;
    z-index: 10;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    color: #bc1116;
    pointer-events: none;
    white-space: nowrap;
}
.home-scroll-cue span {
    font-family: 'Space', Arial, sans-serif;
    font-weight: 700;
    font-size: 12px;
    line-height: 1.3;
    letter-spacing: 1.8px;
    text-transform: uppercase;
}
.home-scroll-cue svg { display: block; width: 22px; height: 28px; overflow: visible; }
.home-scroll-cue svg path { animation: home-cue-arrow 1.8s ease-in-out infinite; }
.home-scroll-cue svg path + path { animation-delay: .22s; }
.hero .home-scroll-cue,
.company-photo-section .home-scroll-cue {
    color: #fff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, .95), 0 0 7px rgba(0, 0, 0, .65);
}
.hero .home-scroll-cue svg,
.company-photo-section .home-scroll-cue svg { filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .9)); }
@keyframes home-cue-arrow {
    0%, 100% { opacity: .35; transform: translateY(-2px); }
    50% { opacity: 1; transform: translateY(3px); }
}
@media (max-width: 767px) {
    .home-scroll-cue { bottom: 12px; }
    .home-scroll-cue span { font-size: 10px; letter-spacing: 1.2px; }
}
@media (prefers-reduced-motion: reduce) {
    .home-scroll-cue svg path { animation: none; opacity: 1; transform: none; }
}

.homepage-story .celebration-section { background: #111; }
.celebration-video { position: absolute; inset: 0; width: 100%; height: 100%; display: block; object-fit: cover; object-position: center; }
.hero-media video, .celebration-video { cursor: pointer; }
.celebration-shutter { position: fixed; z-index: 11; pointer-events: none; }
.celebration-shutter[hidden] { display: none; }
.homepage-story .celebration-section.is-shutter-active { background: transparent; }
.celebration-section.is-shutter-active > video,
.celebration-section.is-shutter-active > .hero-controls,
.celebration-section.is-shutter-active > .home-scroll-cue { visibility: hidden; }

/* Full-viewport, infinitely drifting Project gallery. */
.home-projects { display: flex; padding: 0; box-sizing: border-box; }
.project-grid { position: relative; flex: 1; min-width: 0; min-height: 0; overflow: auto; }
.project-grid:focus-visible { outline: 2px solid #bc1116; outline-offset: -3px; }
.project-grid__items { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 28px; padding: 20px; }
.project-tile { margin: 0; min-width: 0; }
.project-tile__link { display: block; border-radius: 5px; cursor: pointer; outline: none; }
.project-tile img, .project-tile video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border: 2px solid transparent; border-radius: 5px; box-sizing: border-box; box-shadow: 0 6px 18px rgba(0,0,0,.08); transition: border-color .2s, box-shadow .2s; }
.project-tile__link:hover img, .project-tile__link:focus-visible img, .project-tile__link:hover video, .project-tile__link:focus-visible video { border-color: #bc1116; box-shadow: 0 0 0 1px #bc1116, 0 8px 24px rgba(188,17,22,.2); }
.project-tile figcaption { padding: 10px 2px 0; color: #202020; font: 600 clamp(12px, 1vw, 15px)/1.35 Arial, sans-serif; }
.is-project-grid-ready .project-grid { overflow: hidden; cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.is-project-grid-ready .project-grid__items { display: none; }
.project-grid__plane { position: absolute; inset: 0; transition: opacity .18s; }
.project-grid__plane.is-shuffling { opacity: .35; }
.project-grid__plane .project-tile { position: absolute; left: 0; top: 0; width: var(--project-card-width, 420px); will-change: transform; }
.project-grid.is-dragging, .project-grid.is-dragging a { cursor: grabbing; }
.home-projects .home-scroll-cue { text-shadow: 0 1px 3px #fff, 0 0 8px #fff; }
@media (prefers-reduced-motion: reduce) { .project-grid__plane, .project-tile img, .project-tile video { transition: none; } }

/* Center the collaboration heading over both content columns. */
.collaboration-grid {
    max-width: 1280px;
    margin-inline: auto;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-rows: auto auto;
    align-content: center;
    align-items: center;
    column-gap: clamp(32px, 6vw, 110px);
    row-gap: clamp(24px, 5vh, 54px);
}
.collaboration-title {
    grid-column: 1 / -1;
    margin: 0;
    text-align: center;
    font-size: clamp(44px, 5vw, 80px);
    -webkit-text-stroke: 1px #111;
    line-height: 1.1;
}
.collaboration-right { padding-top: 0; }
@media (max-width: 767px) {
    .collaboration-grid { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto auto; gap: 22px; }
    .collaboration-title { font-size: clamp(30px, 8vw, 44px); }
}

.home-services-story { position: relative; height: calc(3 * (100svh - var(--homepage-story-header-height, 0px))); }
.homepage-story .home-services-stop { position: absolute; left: 0; right: 0; pointer-events: none; }
.home-services-stop:nth-child(1) { top: 0; }
.home-services-stop:nth-child(2) { top: calc(100svh - var(--homepage-story-header-height, 0px)); }
.home-services-stop:nth-child(3) { top: calc(2 * (100svh - var(--homepage-story-header-height, 0px))); }
.home-services-story .home-services { position: sticky; top: var(--homepage-story-header-height, 0px); height: calc(100svh - var(--homepage-story-header-height, 0px)); box-sizing: border-box; overflow: hidden; }
.home-services .hero-industry-head h3 { color: #111; }
.home-services .industry-card-item[hidden] { display: none; }

.home-services .industry-viewport { position: relative; }
.service-group-outgoing { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 10; }
.service-group-outgoing canvas { width: 100%; height: 100%; object-fit: cover; display: block; }
.home-services [data-service-group-title] { position: relative; overflow: hidden; flex: 1; }
.service-group-title-current { display: block; }
.service-group-title-old { position: absolute; inset: 0; display: block; }
.service-group-counter { flex: none; font: 12px/1 Arial, sans-serif; color: #777; letter-spacing: .12em; white-space: nowrap; }
@media (max-width: 600px) { .service-group-counter { font-size: 10px; letter-spacing: .03em; } }

/* Two pinned Project chapters, six sectors per scroll stop. */
.home-projects-story { position: relative; height: calc(2 * (100svh - var(--homepage-story-header-height, 0px))); }
.homepage-story .home-projects-stop { position: absolute; left: 0; right: 0; pointer-events: none; }
.home-projects-stop:first-child { top: 0; }
.home-projects-stop:nth-child(2) { top: calc(100svh - var(--homepage-story-header-height, 0px)); }
.home-projects-chapters { position: sticky; top: var(--homepage-story-header-height, 0px); height: calc(100svh - var(--homepage-story-header-height, 0px)); display: flex; flex-direction: column; padding: clamp(20px,3vh,36px) clamp(20px,4vw,76px) 65px; gap: clamp(16px,3vh,32px); overflow: hidden; }
.home-projects-heading { display: flex; align-items: center; justify-content: space-between; flex: none; }
.home-projects-heading h2 { margin: 0; color: #bc1116; -webkit-text-stroke: 1px #111; paint-order: stroke fill; font: 700 clamp(44px,5vw,80px)/1 'Space',Arial,sans-serif; }
.home-projects-heading > span { font: 12px Arial,sans-serif; letter-spacing: .12em; color: #777; }
.home-projects-stage { position: relative; flex: 1; min-height: 0; }
.home-projects-chapter { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); grid-template-rows: repeat(2,minmax(0,1fr)); gap: clamp(16px,2.5vh,28px) clamp(18px,2.5vw,42px); }
.home-projects-chapter[hidden] { display: none; }
.home-projects-chapters .project-tile { min-height: 0; position: relative; }
.home-projects-chapters .project-tile__link { box-sizing: border-box; height: 100%; overflow: hidden; border: 1px solid #bc1116; border-radius: 2px; transition: transform .3s, box-shadow .3s; }
.home-projects-chapters .project-tile img, .home-projects-chapters .project-tile video { height: 100%; width: 100%; border: 0; border-radius: 0; object-fit: cover; box-shadow: none; }
.home-projects-chapters .project-tile figcaption { position: absolute; bottom: 1px; left: 1px; right: 1px; padding: 32px 16px 12px; background: linear-gradient(transparent,rgba(255,255,255,.94)); color: #bc1116; pointer-events: none; font-size: clamp(13px,1.2vw,20px); }
.home-projects-chapters .project-tile__link:hover { transform: translateY(-4px); box-shadow: 0 12px 24px #0002; }
.home-projects-chapters .project-tile__link:focus-visible { outline: 2px solid #bc1116; outline-offset: 4px; }
@media (max-width: 700px) {
    .home-projects-chapters { padding: 20px 18px 60px; gap: 20px; }
    .home-projects-chapter { grid-template-columns: repeat(2,minmax(0,1fr)); grid-template-rows: repeat(3,minmax(0,1fr)); gap: 14px; }
    .home-projects-chapters .project-tile figcaption { font-size: 12px; padding: 26px 8px 8px; }
}
@media (prefers-reduced-motion: reduce) { .home-projects-chapters .project-tile__link { transition: none; } }

/* Match the Project page's raised card and receding border layers. */
.home-projects-chapters .project-tile { transform-style: preserve-3d; transition: transform .42s cubic-bezier(.22,.61,.36,1); }
.home-projects-chapters .project-tile:is(:hover,:focus-within) { z-index: 5; transform: perspective(1200px) translate3d(8px,-7px,20px) rotateY(5deg) rotateZ(.6deg) scale(1.08); }
.home-projects-chapters .project-tile::before,
.home-projects-chapters .project-tile::after { content: ''; position: absolute; inset: 0; border: 1px solid #bc1116; pointer-events: none; opacity: 0; transform: translate3d(0,0,-1px); transition: opacity .3s, transform .42s cubic-bezier(.22,.61,.36,1); }
.home-projects-chapters .project-tile:is(:hover,:focus-within)::before { opacity: .8; transform: translate3d(-8px,5px,-22px); }
.home-projects-chapters .project-tile:is(:hover,:focus-within)::after { opacity: .5; transform: translate3d(-16px,10px,-44px); }
.home-projects-chapters .project-tile__link { position: relative; }
.home-projects-chapters .project-tile__link:hover { transform: none; }
.home-projects-chapters .project-tile:is(:hover,:focus-within) .project-tile__link { box-shadow: 0 16px 30px #0003, 0 8px 22px #bc11162b; }
.home-projects-chapters .project-tile figcaption { padding-right: 58px; z-index: 1; }
.home-project-open { position: absolute; right: 14px; bottom: 12px; z-index: 3; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: #bc1116; color: white; opacity: 0; transform: scale(.6); transition: opacity .2s, transform .2s; }
.home-project-open svg { width: 14px; height: 14px; }
.project-tile:is(:hover,:focus-within) .home-project-open { opacity: 1; transform: translateZ(2px) scale(1); }
@media (prefers-reduced-motion: reduce) {
    .home-projects-chapters .project-tile, .home-projects-chapters .project-tile::before, .home-projects-chapters .project-tile::after, .home-project-open { transition: none; }
    .home-projects-chapters .project-tile:is(:hover,:focus-within) { transform: none; }
}

.home-project-open { pointer-events: none; }

/* Homepage group headings share the Global Collaboration display treatment. */
.home-services .hero-industry-head { position: relative; justify-content: center; align-items: center; padding: 0 100px; min-height: 2.2em; }
.home-services .hero-industry-head h3 { flex: 1; text-align: center; font: 700 clamp(44px,5vw,80px)/1.1 'Space',Arial,sans-serif; color: #bc1116; -webkit-text-stroke: 1px #111; }
.home-services .hero-industry-head h3 > span { -webkit-text-stroke: 1px #111; }
.home-services .hero-industry-arrows { position: absolute; right: 0; bottom: -32px; }
.home-services .service-group-counter { position: absolute; left: 0; bottom: -20px; }
.home-projects-heading { position: relative; justify-content: center; }
.home-projects-heading > span { position: absolute; right: 0; }
.home-projects-heading h2 { text-align: center; }
@media (max-width: 767px) {
    .home-services .hero-industry-head { padding: 0 0 36px; }
    .home-services .hero-industry-head h3 { font-size: clamp(26px,7vw,44px); }
    .home-services .hero-industry-arrows { bottom: -10px; }
    .home-services .service-group-counter { bottom: 4px; }
    .home-projects-heading h2 { font-size: clamp(30px,8vw,44px); padding-right: 30px; }
}

.home-services .hero-industry-head h3,
.home-projects-heading h2 { font-family: Arial, sans-serif; }
