/* Company locations and the two-chapter project portfolio. */
#panel-content:has(>.company-locations),#panel-content:has(>.projects-experience){padding:0;background:#090d0e;overflow:auto;container-type:size;scroll-behavior:smooth}
.company-locations,.projects-experience{color:#f6f3eb;background:#090d0e;font-family:Avenir,Arial,sans-serif;--reach-gold:#deba6f}
.company-locations *,.projects-experience *{box-sizing:border-box}
.company-location-hero{position:relative;isolation:isolate;min-height:490px;display:grid;grid-template-columns:.85fr 1.15fr;align-items:center;padding:40px 4vw 24px;overflow:hidden;background:radial-gradient(ellipse at 72% 50%,#33291655,transparent 60%)}
.company-location-hero:after{content:'';position:absolute;right:-12%;top:-25%;width:40%;height:140%;background:url('/assets/brand/background-element.png') center/contain no-repeat;opacity:.35;z-index:-1;pointer-events:none}
.company-location-copy{position:relative;z-index:2;max-width:640px}
.company-location-copy small,.company-offices-heading small,.projects-banner small{color:#deba6f;font-size:11px;letter-spacing:.16em;font-weight:700}
.company-location-copy h2,.company-location-copy h1{font-size:clamp(38px,3.45vw,68px);line-height:1.05;letter-spacing:-.04em;margin:22px 0;outline:none}
.company-location-copy em,.projects-banner em{font-style:normal;color:#deba6f}
.company-location-copy p{font-size:clamp(14px,1.05vw,19px);line-height:1.55;max-width:47ch;color:#d2d2cb;margin:12px 0}
.company-world{position:relative;width:115%;margin-left:-8%;aspect-ratio:1624/832;background-image:linear-gradient(#b7934a09 1px,transparent 1px),linear-gradient(90deg,#b7934a09 1px,transparent 1px);background-size:30px 30px}
.company-world>img,.company-connections{position:absolute;width:100%;height:100%;inset:0;object-fit:contain}
.company-world>img{filter:drop-shadow(0 0 6px #d6a64335)}
.company-connections{fill:#ffe6a7;stroke:#e3b35f;stroke-width:1.8;filter:drop-shadow(0 0 5px #ffc65f)}
.company-connections path{fill:none;opacity:.7}
.company-pin{position:absolute;display:flex;gap:10px;align-items:center;padding:9px 12px;background:#090d0eee;border-top:1px solid #b9954e;box-shadow:0 5px 20px #0006;color:#eee;font-size:10px;line-height:1.4;transition:background .2s,box-shadow .2s;z-index:2}
.company-pin img{width:53px;height:32px;object-fit:contain}.company-pin span{display:grid}.company-pin b{font-size:12px;color:#fff}
.company-pin:hover,.company-pin:focus-visible{background:#30291d;box-shadow:0 0 22px #e8b65344;outline:1px solid #deba6f}
.company-pin--usa{left:13%;top:22%}.company-pin--eng{left:38%;top:53%}.company-pin--rsa{left:64%;top:65%}.company-pin--cnc{left:39%;top:75%}.company-pin--dolphin{left:12%;top:87%}
.company-office-section{padding:10px 4vw 28px;position:relative}.company-offices-heading{display:flex;justify-content:space-between;border-bottom:1px solid #deba6f40;padding:12px 0 18px;margin-bottom:18px}.company-offices-heading span{font-size:12px;color:#aaa}
.company-locations .reach-offices{padding:0;background:none;grid-template-columns:repeat(6,minmax(0,1fr));gap:18px}
.company-locations .reach-office{grid-column:span 2;padding:22px 24px;background:#111616;min-height:180px;transition:border-color .2s,background .2s}
.company-locations .reach-office:nth-child(1),.company-locations .reach-office:nth-child(3){grid-column:span 3;min-height:230px;padding-right:27%;position:relative}
.company-locations .reach-office:nth-child(1){order:-2;background:linear-gradient(90deg,#101516 45%,#10151600 65%),url('/assets/selected/rovd-eng-building.webp') right center/57% 100% no-repeat}
.company-locations .reach-office:nth-child(3){order:-1;background:linear-gradient(90deg,#101516 43%,#10151666 100%),url('/assets/brand/company-world.svg') right center/70% auto no-repeat,#151a19}
.company-locations .reach-office:before{opacity:.06}.company-locations .reach-office h3{font-size:clamp(19px,1.5vw,27px);line-height:1.15;outline:none}.company-locations .reach-office p{font-size:13px}.company-locations .reach-office a{font-size:12px}.company-locations .reach-office.is-highlighted{border-color:#f1cc7b;box-shadow:0 0 24px #deba6f35}
.projects-stage{min-height:calc(100dvh - 130px);scroll-snap-align:start;position:relative}
#panel-content .projects-stage{min-height:100cqh}
.projects-selected{padding:35px 4vw;display:flex;flex-direction:column;gap:28px}
.projects-banner{position:relative;isolation:isolate;padding:12px 0 20px;min-height:240px}
.projects-banner:before{content:'';position:absolute;inset:-47px -4vw -10px 22%;background:linear-gradient(90deg,#090d0e,transparent 70%),linear-gradient(0deg,#090d0e,transparent 60%),url('/assets/selected/bmw-assembly-1.webp') center/cover;z-index:-1;opacity:.8}
.projects-banner h1,.projects-banner h2{font-size:clamp(40px,4vw,70px);line-height:1.02;margin:15px 0;letter-spacing:-.04em;outline:none}.projects-banner p{max-width:43ch;color:#d2d2cb;font-size:16px;line-height:1.5}.projects-banner button{margin-top:12px}
.projects-selected .project-directory{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;flex:1;align-items:stretch}
.projects-selected .project-card{min-width:0;display:flex;flex-direction:column;background:#171b1b;border:1px solid #ffffff30;overflow:hidden;transition:border-color .2s,transform .2s}.projects-selected .project-card:hover{border-color:#deba6f;transform:translateY(-3px)}
.projects-selected .project-card img{height:clamp(130px,21vh,300px);width:100%;object-fit:cover}.projects-selected .project-card>div{padding:18px 20px}.projects-selected .project-card h3{font-size:24px;margin:8px 0}.projects-selected .project-card p{font-size:14px}.projects-selected .project-card small{color:#deba6f}.projects-selected .project-card>span{display:none}
.projects-reach{display:flex;align-items:stretch}.projects-reach>.locations-experience{width:100%;display:flex;flex-direction:column;min-height:inherit}.projects-reach .reach-layout{flex:1}.projects-reach .reach-map-art{width:100%;max-height:none}.projects-reach .reach-customers{padding-block:25px}
@media(min-width:1101px) and (min-height:850px){#panel-content>.company-locations{min-height:100%;display:flex;flex-direction:column}.company-location-hero{flex:1;min-height:49cqh}.company-office-section{flex-shrink:0}.company-locations .reach-office:nth-child(1),.company-locations .reach-office:nth-child(3){min-height:205px}}
@media(max-width:1100px){.company-location-hero{grid-template-columns:1fr;padding-top:28px}.company-location-copy{max-width:720px}.company-location-copy h2,.company-location-copy h1{font-size:44px}.company-world{width:100%;margin:15px 0 25px}.company-locations .reach-office:nth-child(1),.company-locations .reach-office:nth-child(3){padding-right:22px}.projects-selected{min-height:750px}}
@media(max-width:700px){.company-location-hero{padding:28px 20px 35px}.company-location-copy h2,.company-location-copy h1{font-size:37px}.company-location-copy p{font-size:15px}.company-world{margin:20px 0 0;aspect-ratio:auto;padding-top:52%;display:grid;grid-template-columns:1fr 1fr;gap:8px}.company-world>img,.company-connections{height:auto;aspect-ratio:1624/832}.company-pin{position:relative;left:auto;top:auto;padding:8px;gap:5px}.company-pin img{width:32px}.company-pin b{font-size:11px}.company-pin--dolphin{grid-column:span 2}.company-office-section{padding:0 20px 25px}.company-locations .reach-offices{display:flex;flex-direction:column}.company-locations .reach-office{padding:22px!important;min-height:180px!important}.company-locations .reach-office:nth-child(1){background:linear-gradient(90deg,#101516ee,#101516aa),url('/assets/selected/rovd-eng-building.webp') center/cover}.projects-selected{padding:28px 20px;min-height:auto}.projects-selected .project-directory{grid-template-columns:1fr}.projects-selected .project-card img{height:180px}.projects-banner p{font-size:15px}.projects-banner:before{left:0;opacity:.35}.projects-reach .reach-layout{height:auto!important}.projects-reach{min-height:0!important}.projects-reach .reach-map-art{width:100%!important}}
@media(prefers-reduced-motion:reduce){.company-pin,.company-locations .reach-office,.projects-selected .project-card{transition:none}#panel-content:has(>.projects-experience){scroll-behavior:auto}}
@media(min-width:1101px){
 #panel-content .projects-selected{height:100cqh;min-height:650px;padding:24px 4vw;gap:18px}
 #panel-content .projects-banner{min-height:0;padding:0;flex:1}
 #panel-content .projects-banner h2{font-size:clamp(40px,4.5cqh,65px);margin:12px 0}
 #panel-content .projects-banner p{margin:10px 0;font-size:15px}
 #panel-content .projects-banner button{padding:10px 16px;margin-top:5px}
 #panel-content .projects-selected .project-directory{flex:0 0 auto}
 #panel-content .projects-selected .project-card img{height:22cqh;min-height:125px}
 #panel-content .projects-selected .project-card>div{padding:12px 18px}
 #panel-content .projects-selected .project-card h3{font-size:23px;margin:5px 0}
 #panel-content .projects-selected .project-card p{margin:5px 0}
 .company-location-copy h1,.company-location-copy h2{font-size:clamp(36px,3vw,62px)}
 .company-location-hero{padding-top:28px;min-height:440px}
}

/* Geographic points stay fixed; labels sit clear of the South African coast. */
@media(min-width:701px){
 .company-pin--usa{left:13%;top:23%}
 .company-pin--eng{left:59%;top:52%}
 .company-pin--rsa{left:65%;top:72%}
 .company-pin--cnc{left:27%;top:64%}
 .company-pin--dolphin{left:23%;top:89%}
}
.company-connections{pointer-events:none}
.company-leaders path{stroke:#deba6f;stroke-width:1.6;opacity:.8;fill:none}
.company-leaders path.is-active{stroke:#fff1c6;stroke-width:3;opacity:1}
.company-city-dots circle{stroke:#ffdf91;stroke-width:1.5;fill:#fff1be}
@media(max-width:700px){.company-leaders{display:none}}
