/* Architectural paper: shared palette, drafting rules, and editorial imagery. */
:root{--navy:#1F2A5C;--paper:#FFFFFF;--white:#FFFFFF;--red:#B22234;--line:rgba(31,42,92,.22)}
body{background:var(--paper)}
.thesis,.mandate,.contact{background:var(--paper)}
.section-index,.section-index.light{color:#4A5170;border-color:var(--line)}
.section-index b,.section-index.light b{color:var(--red)}
.infrastructure,.mechanism{background:#EEF0F5;color:var(--navy);border-block:1px solid var(--line)}
.infrastructure{min-height:0;padding-bottom:80px}
.infra-heading{padding-bottom:48px}
.infra-heading h2{margin-top:48px}
.capability-list{gap:0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.capability{border:0;border-right:1px solid var(--line);border-radius:0;background:transparent;min-height:340px;padding:32px;box-shadow:none}
.capability:last-child{border-right:0}
.capability:hover{background:#F5F6F9;transform:none;border-color:var(--line)}
.capability .cap-number,.capability .cap-label,.asset-screen-head span{color:var(--red)}
.capability .cap-number{margin-bottom:40px}
.capability>p{color:#4A5170;border-color:var(--line);font-size:16px}
.capability h3{font-size:clamp(2.4rem,3.3vw,3.7rem);line-height:1.12}
.asset-screen{background:#F5F6F9;border:1px solid var(--line);border-radius:0;margin-top:40px}
.asset-screen-head>p,.asset-row,.asset-row small{color:#4A5170}
.asset-screen-head h3{line-height:1.1}
.asset-table,.asset-row{border-color:var(--line)}
.asset-row{padding-block:18px}.asset-row b{color:var(--navy)}.asset-labels{color:#4A5170;background:#EEF0F5}
/* A real photograph presented like a project spread, without a dark veil. */
.portfolio{background:var(--white);color:var(--navy);min-height:0;padding:64px 4vw 80px;gap:0}
.project-head{order:0;align-items:start}
.project-head .section-index{min-width:0}
.project-head>span{color:#4A5170;line-height:1.6}
.portfolio .project-image,.portfolio.active .project-image{order:1;position:relative;inset:auto;width:100%;aspect-ratio:16/8;margin:32px 0 0;transform:none;filter:none;border:1px solid var(--line);background-position:center;transition:none}
.project-shade{display:none}
.project-content{order:2;margin:0;padding-top:36px;grid-template-columns:.2fr 1fr 1fr;align-items:start;gap:4vw}
.project-no{color:var(--red)}
.project-content h2{font-size:clamp(3.5rem,6vw,6.5rem)}
.project-content h2 .accent{color:var(--navy)}
.project-story>p,.project-facts span{color:#4A5170}
.project-facts,.project-facts span,.project-story a{border-color:var(--line)}
.project-facts b{color:var(--navy)}
.map-wrap{background-color:#F5F6F9;background-image:linear-gradient(rgba(31,42,92,.045) 1px,transparent 1px),linear-gradient(90deg,rgba(31,42,92,.045) 1px,transparent 1px);background-size:48px 48px}
.map-status{background:#F5F6F9}.office-list h3{line-height:1.15}
.mechanism h2 .accent{color:var(--red)}
.mechanism-grid>div>p{color:#4A5170}
.mechanism ol,.mechanism li{border-color:var(--line)}
.mechanism li span{color:var(--red)}
.field input,.field textarea{background:#FFFFFF;border-color:#1F2A5C55}
footer{background:#EEF0F5;color:#4A5170;border-color:var(--line)}
.footer-brand{color:var(--navy)}.footer-brand img{filter:none}
footer>small{color:#4A5170;border-color:var(--line)}
.cookie-banner{background:#FFFFFF;color:var(--navy);border-color:var(--line);box-shadow:0 8px 24px #1F2A5C14}
.cookie-banner p{color:#4A5170}.cookie-banner button{color:var(--navy);border-color:var(--line)}
.cookie-banner button:last-child{background:var(--navy);color:#fff}
.loader{background:var(--paper);color:var(--navy)}.loader small{color:#4A5170}
body:after{display:none}
@media(max-width:1050px){.project-content{grid-template-columns:1fr 1fr}.project-no{grid-column:1/-1;margin-bottom:0}}
@media(max-width:900px){.capability-list{grid-template-columns:1fr}.capability{min-height:0;border-right:0;border-bottom:1px solid var(--line)}.capability:last-child{border-bottom:0}.capability .cap-number{margin-bottom:24px}.capability>p{max-width:65ch}}
@media(max-width:600px){
.infrastructure{padding-bottom:56px}.infra-heading{padding-bottom:32px}.infra-heading h2{margin-top:32px}
.capability-list{gap:0}.capability{padding:28px 0}.asset-screen{margin-top:28px}.asset-screen-head{padding:28px 22px}.asset-row{padding:18px 22px}
.portfolio{padding:48px 20px 56px}.project-head{display:block}.portfolio .project-image{aspect-ratio:4/3;margin-top:20px;background-position:60% center}
.project-content{display:block;padding-top:28px}.project-no{margin-bottom:20px}.project-content h2{font-size:clamp(3.5rem,17vw,5.5rem)}.project-story{margin-top:28px}
}

/* Primary flag wordmark */
.nav .brand{width:max-content;max-width:100%}
body:has(.hero-sketch) .nav .brand img,.footer-brand img{width:166px;height:auto;filter:none;display:block}
.footer-brand img{width:210px;max-width:100%}
@media(max-width:600px){body:has(.hero-sketch) .nav .brand img{width:136px}.footer-brand img{width:185px}}

/* Annotated hero refinements. */
body:has(.hero-sketch) .nav .brand img{width:132px}
.hero-sketch .hero-topline{position:absolute;inset:108px 4vw auto auto;min-height:0;display:block}
.hero-sketch .video-toggle{width:44px;height:44px;padding:0;display:grid;place-items:center;border-radius:50%;letter-spacing:0}
.hero-sketch .hero-content{margin:0;padding-top:28px;padding-bottom:40px}
.hero-sketch .hero-metrics{margin-top:auto}
@media(max-width:900px){.hero-sketch .hero-metrics{margin-top:56.25vw}}
@media(max-width:600px){
body:has(.hero-sketch) .nav .brand img{width:112px}
.hero-sketch .hero-topline{inset:86px 20px auto auto}
.hero-sketch .hero-content{padding-top:12px;padding-bottom:20px}
.hero-sketch .kicker{padding-right:54px}
}

/* Approved single-line serif wordmark; multiply removes the paper edge. */
body:has(.hero-sketch) .nav .brand img{width:clamp(240px,27vw,360px);height:auto;mix-blend-mode:multiply}
.footer-brand img{width:360px;height:auto;mix-blend-mode:multiply}
/* Engraved linework and paper grain: static, lightweight, behind content. */
.thesis,.infrastructure,.mandate,.mechanism,.contact,footer{position:relative;isolation:isolate}
.thesis:before,.infrastructure:before,.mandate:before,.mechanism:before,.contact:before,footer:before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background:url('/paper-grain.svg') repeat;opacity:.22}
.infrastructure:after,.mechanism:after,.mandate:after{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background:url('/engraved-lines.svg') center/cover no-repeat;opacity:.13;mask-image:linear-gradient(110deg,transparent 15%,#000 100%)}
.mechanism:after{opacity:.18;transform:scaleX(-1)}
.mandate:after{opacity:.09}
.map-wrap{background-color:#F5F6F9}
@media(max-width:1100px){.nav nav{gap:18px}.nav{grid-template-columns:1fr auto}.nav nav{display:none}}
@media(max-width:600px){body:has(.hero-sketch) .nav .brand img{width:min(280px,76vw)}.footer-brand img{width:min(340px,86vw)}.infrastructure:after,.mechanism:after{opacity:.10}}

/* Preserve the full photographed facility at every viewport. */
.portfolio .project-image,.portfolio.active .project-image{aspect-ratio:1672/941;background-size:contain;background-repeat:no-repeat;background-position:center;background-color:#FFFFFF}

/* Engraved airfield closing spread. All navigation remains live HTML. */
.airfield-footer{display:block;padding:0;background:#1F2A5C;color:#FFFFFF;border:0;overflow:hidden}
.airfield-footer:before{opacity:.4}
.footer-grid{display:grid;grid-template-columns:1.55fr .8fr 1.1fr;gap:5vw;padding:80px 5vw 46px;position:relative;z-index:1}
.footer-wordmark{display:flex;align-items:center;gap:16px;color:inherit;text-decoration:none;font:400 clamp(22px,2.5vw,42px)/1.2 Georgia,serif;white-space:nowrap}
.footer-wordmark span{font-size:1.15em}
.footer-identity p{font:400 clamp(23px,2.1vw,34px)/1.4 Georgia,serif;margin:32px 0 0;color:inherit;max-width:none}
.airfield-footer h2{font:400 clamp(23px,2.1vw,34px)/1.2 Georgia,serif;margin:0 0 28px}
.airfield-footer h2:after{content:"";display:block;width:44px;height:1px;background:#FFFFFF99;margin-top:24px}
.airfield-footer .footer-explore{display:flex;flex-direction:column;gap:16px;align-items:start}
.footer-explore h2{margin-bottom:4px}
.airfield-footer a{color:inherit}
.footer-explore a,.footer-conversation address{font:400 clamp(18px,1.65vw,26px)/1.4 Georgia,serif;text-decoration:none}
.footer-conversation address{margin-bottom:26px;font-style:normal}
.footer-contact{display:inline-flex;align-items:center;justify-content:center;min-height:52px;padding:14px 22px;border:1px solid #FFFFFF;text-decoration:none;font:400 20px/1.3 Georgia,serif;transition:background .2s,color .2s}
.footer-contact:hover{background:#FFFFFF;color:#1F2A5C}
.airfield-footer a:focus-visible{outline:2px solid #FFFFFF;outline-offset:6px}
.footer-explore a:hover,.footer-bottom a:hover{text-decoration:underline;text-underline-offset:5px}
.footer-bottom{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:12px 5vw 28px;position:relative;z-index:1}
.footer-bottom small{font-size:13px;color:#FFFFFFbb;border:0;padding:0}
.footer-bottom nav{display:flex;gap:24px}.footer-bottom a{font:400 16px/1.5 Georgia,serif;text-decoration:none}
.footer-panorama{position:relative;width:100%;height:26vw;overflow:hidden;mask-image:linear-gradient(transparent,#000 16%);margin-top:-16px}
.footer-panorama img{position:absolute;width:100%;height:auto;max-width:none;bottom:0;left:0;display:block}
@media(max-width:1000px){.footer-grid{grid-template-columns:1fr 1fr;gap:40px;padding-top:56px}.footer-identity{grid-column:1/-1}.footer-wordmark{font-size:32px}.footer-identity p{font-size:26px;margin-top:20px}}
@media(max-width:600px){.footer-grid{grid-template-columns:1fr;gap:36px;padding:48px 24px 32px}.footer-wordmark{font-size:clamp(20px,5.7vw,30px);gap:10px;white-space:normal}.footer-identity{grid-column:auto}.airfield-footer h2{font-size:26px}.footer-explore a,.footer-conversation address{font-size:20px}.footer-bottom{padding:0 24px 26px;align-items:start;flex-direction:column;gap:16px}.footer-panorama{height:36vw;margin-bottom:72px}.footer-panorama img{width:140%;left:-18%}}

/* Use the identical header brand asset on a paper field for contrast. */
.airfield-footer .footer-wordmark{display:inline-flex;background:#FFFFFF;padding:14px 16px;max-width:100%;box-sizing:border-box}
.airfield-footer .footer-wordmark img{display:block;width:360px;max-width:100%;height:auto;mix-blend-mode:multiply}
@media(max-width:600px){.airfield-footer .footer-wordmark{padding:12px}.airfield-footer .footer-wordmark img{width:280px}.map-key{flex-wrap:wrap;gap:8px 16px}}

/* Quiet location beacons, with a static reduced-motion alternative. */
.footprint-dot{animation:footprint-blink 2.8s ease-in-out infinite}
@keyframes footprint-blink{0%,100%{opacity:1}50%{opacity:.3}}
@media(prefers-reduced-motion:reduce){.footprint-dot{animation:none}}
