/* Final brand alignment: charcoal, LaTronic red, white and warm paper. */

/* The menu shell must fit inside its panel, not inherit the page width. */
.foundation-mega{width:min(1160px,calc(100vw - 48px));background:#0b121d;border-color:rgba(255,255,255,.14)}
.foundation-mega::after{display:none}
.foundation-mega::before{background:linear-gradient(115deg,rgba(177,48,42,.07),transparent 43%)}
.foundation-mega__inner.shell{width:100%;max-width:none;margin:0;padding:28px 30px;gap:28px;align-items:stretch}
#foundation-mega-capabilities{width:min(1120px,calc(100vw - 48px))}
#foundation-mega-capabilities .foundation-mega__inner{grid-template-columns:minmax(215px,.65fr) minmax(0,2fr);gap:26px}
#foundation-mega-capabilities .foundation-mega__grid{grid-template-columns:repeat(3,minmax(0,1fr))}
#foundation-mega-federal{width:min(1160px,calc(100vw - 48px))}
#foundation-mega-federal .foundation-mega__inner{grid-template-columns:minmax(190px,.62fr) minmax(0,1.62fr) minmax(190px,.65fr);gap:24px}
.foundation-mega__intro{padding:3px 23px 0 0}
.foundation-mega__intro h2{max-width:265px;margin:13px 0 13px;font-size:clamp(1.45rem,1.95vw,1.85rem);line-height:1.12;letter-spacing:-.04em;text-wrap:balance}
.foundation-mega__intro p{max-width:265px;font-size:.8rem;line-height:1.55}
.foundation-mega__grid{grid-auto-rows:minmax(111px,auto);align-self:stretch;background:rgba(255,255,255,.018)}
.foundation-mega__link{grid-template-columns:25px minmax(0,1fr);gap:10px;min-height:111px;padding:18px 15px 16px}
.foundation-mega__link strong{font-size:.79rem;line-height:1.32;margin-bottom:5px}
.foundation-mega__link em{font-size:.69rem;line-height:1.42;padding-right:0}
.foundation-mega__feature{min-height:222px;padding:21px;background:linear-gradient(145deg,#351b22,#15151e 60%,#0b121d)}
.foundation-mega__feature strong{font-size:1.02rem;margin:14px 0 19px;line-height:1.38}
.foundation-mega__link:hover,.foundation-mega__link:focus-visible{background:rgba(177,48,42,.12)}

/* Typographic rhythm for interior page headers and section titles. */
body.internal-page main > section:first-child h1{font-size:clamp(2.85rem,4.5vw,4.7rem);line-height:1.055;letter-spacing:-.052em;text-wrap:balance}
body.internal-page main section h2{line-height:1.1;letter-spacing:-.047em;text-wrap:balance}
body.internal-page main section :is(h1,h2,h3){overflow-wrap:normal}

/* The remaining interior pages use paper and red detail instead of cool washes. */
body.foundation-v8:not(.phase02-home) main .site-glow{background-image:radial-gradient(ellipse 65% 95% at var(--spot-x,50%) var(--spot-y,50%),rgba(180,65,54,.09),transparent 76%)}
body.foundation-v8:not(.phase02-home) main > section:first-child .site-hero-glow{background:radial-gradient(ellipse 32% 50% at var(--site-x,70%) var(--site-y,40%),rgba(177,60,52,.11),transparent 78%)}
body.foundation-v8 main .interactive-surface{background-image:radial-gradient(ellipse 74% 90% at var(--pointer-x,50%) var(--pointer-y,50%),rgba(181,63,53,.08),transparent 72%)}
body.foundation-v8 main .interactive-surface:hover{border-color:rgba(181,63,53,.3)}
body.foundation-v8.phase03-about main > section:is(.about-thesis,.about-evidence,.about-profile),
body.foundation-v8.phase08-federal-hub main > section:is(.fh-pathways,.fh-due),
body.foundation-v8.phase08-vehicles main > section.vh-gsa,
body.foundation-v8.phase08-naics main > section.nh-ledger,
body.foundation-v8.phase08-ecosystem main > section:is(.eh-agencies,.eh-evidence),
body.foundation-v8.phase08-document main > section.dh-index2,
body.foundation-v8.phase09-careers main > section.c09-statement,
body.foundation-v8.phase09-role main > section.r09-brief,
body.foundation-v8.phase09-contact main > section.ct09-paths,
body.foundation-v8.privacy-page main > section.policy-body{background:#faf8f4}
body.foundation-v8.phase08-federal-hub main > section.fh-identity,
body.foundation-v8.phase08-vehicles main > section.vh-review,
body.foundation-v8.phase08-naics main > section.nh-identity,
body.foundation-v8.phase08-ecosystem main > section.eh-relationships,
body.foundation-v8.phase08-document main > section.dh-review,
body.foundation-v8.phase09-careers main > section.c09-openings,
body.foundation-v8.phase09-role main > section.r09-apply,
body.foundation-v8.phase09-contact main > section.ct09-form-zone{background:linear-gradient(135deg,#f2ede6,#f8f5ef)}
body.foundation-v8.phase09-contact main > section.ct09-paths{color:#14202d}
body.foundation-v8.phase09-contact main > section.ct09-paths :is(h2,h3){color:#14202d}
body.foundation-v8.phase09-contact main > section.ct09-paths p{color:#5b6268}
body.foundation-v8.phase09-contact main > section.ct09-paths .ct09-path{border-color:rgba(20,32,45,.16)}
body.foundation-v8.phase08-vehicles main > section.vh-hero,
body.foundation-v8.phase08-naics main > section.nh-hero{background:linear-gradient(135deg,#faf8f4,#eee8e0 72%,#f7f3ed)}
body.foundation-v8.phase08-vehicles main > section.vehicle-team{background:#f2ede6}
body.foundation-v8.phase08-vehicles main .vehicle-team__grid article{background:#fffdfa;border-color:rgba(104,67,60,.18)}
body.foundation-v8.phase08-ecosystem main .eh-logo-card{background:#fffdfa;border-color:rgba(96,52,46,.15)}
body.foundation-v8.phase08-ecosystem main .eh-rel__logo{background:#fffdfa}

/* Capability headings sit close to their label and align with the content below. */
body.capability-page .cx-page h1{font-size:clamp(2.9rem,4.8vw,4.9rem);line-height:1.035;letter-spacing:-.055em}
body.capability-page .cx-page h2{font-size:clamp(2.05rem,3.25vw,3.35rem);line-height:1.1;letter-spacing:-.047em}
body.capability-page .cx-page :is(.cx-section-head,.cx-editorial-head){grid-template-columns:minmax(105px,145px) minmax(0,1fr);gap:clamp(24px,3vw,42px);align-items:start}
body.capability-page .cx-page :is(.cx-section-head,.cx-editorial-head) .cx-kicker{margin-top:11px}
body.capability-page .cx-page :is(.cx-section-head,.cx-editorial-head) h2{max-width:780px}
body.capability-page .cx-page :is(.cx-section-head,.cx-editorial-head) p{max-width:690px;margin-top:16px;font-size:1rem;line-height:1.65}

/* Use broad calm surfaces. Illustrative photos stay in their content frames. */
body.capability-page{background:#f7f4ee;color:#14202d}
body.capability-page .cx-page{--cap-rule:rgba(160,48,42,.27)}
body.capability-page .cx-page>section.cx-paper{background:#faf8f4;color:#14202d}
body.capability-page .cx-page>section.cx-blue{background:radial-gradient(ellipse 48% 72% at 92% 12%,rgba(168,57,47,.055),transparent 74%),#f2ede7;color:#14202d}
body.capability-page .cx-page>section.cx-proof{background:#f3eee7;color:#14202d}
body.capability-page .cx-page>section.cx-faq{background:#f2eee8;color:#14202d}
body.capability-page .cx-page>section.cx-ink,
body.capability-page .cx-page>section.cx-data-architecture,
body.capability-page .cx-page>section.cx-data-delivery,
body.capability-page .cx-page>section.cx-cloud-operate,
body.capability-page .cx-page>section.cx-ai-inputs,
body.capability-page .cx-page>section.cx-ai-proof,
body.capability-page .cx-page>section.cx-wf-platform,
body.capability-page .cx-page>section.cx-ds-cadence,
body.capability-page .cx-page>section.cx-pm-operating,
body.capability-page .cx-page>section.cx-pm-rhythm{background:#101822;color:#f7f4ef}
body.capability-page .cx-page>section>.cx-atmosphere{display:none}
body.capability-page .cx-page>section.cx-ink::before,
body.capability-page .cx-page>section.cx-blue::before{display:none}
/* A few featured sections receive a soft brand wash; the others stay calm. */
body.capability-page .cx-page>section:is(.cx-data-work,.cx-cloud-readiness,.cx-ai-flow,.cx-wf-experience,.cx-pm-view){background:radial-gradient(ellipse 42% 65% at 92% 17%,rgba(169,43,37,.06),transparent 75%),linear-gradient(120deg,#faf8f4,#f5f0e9)}
body.capability-page .cx-page>section:is(.cx-data-delivery,.cx-ai-proof,.cx-wf-platform,.cx-ds-cadence,.cx-pm-rhythm){background:radial-gradient(ellipse 42% 68% at 88% 12%,rgba(182,54,47,.105),transparent 76%),#101822}
body.capability-page .cx-page .cx-section-head p{color:#5c5e62}
body.capability-page .cx-page .cx-ink .cx-section-head p{color:#c4c8cc}

/* Editorial section boundaries: one fine rule and a restrained red accent. */
body.capability-page .cx-page>section .cx-divider{left:50%;right:auto;top:0;width:var(--shell);height:3px;transform:translateX(-50%);border-top:1px solid rgba(46,44,42,.17);overflow:hidden}
body.capability-page .cx-page>section.cx-ink .cx-divider,
body.capability-page .cx-page>section.cx-close .cx-divider{border-top-color:rgba(255,255,255,.21)}
.cx-divider__accent{position:absolute;top:-1px;left:0;width:52px;height:2px;background:#b9342f;transform:scaleX(0);transform-origin:left;transition:transform .85s cubic-bezier(.2,.7,.2,1)}
.cx-divider.is-visible .cx-divider__accent{transform:scaleX(1)}
body.capability-page .cx-page>section.cx-ink .cx-divider__accent,
body.capability-page .cx-page>section.cx-close .cx-divider__accent{background:#d66a5f}

/* Capability statement: compact, consistent spacing from header through index. */
body.phase08-document .dh-hero{padding-top:calc(var(--header-h) + 54px);padding-bottom:60px}
body.phase08-document .dh-hero__grid{gap:clamp(34px,4.8vw,64px)}
body.phase08-document .dh-review{padding:72px 0 78px}
body.phase08-document .dh-review__grid{grid-template-columns:minmax(245px,330px) minmax(0,1fr);gap:clamp(30px,4vw,56px)}
body.phase08-document .dh-index h2{font-size:clamp(2rem,2.55vw,2.9rem);line-height:1.12;margin:13px 0 13px}
body.phase08-document .dh-index p{line-height:1.6}
body.phase08-document .dh-index__tabs{margin-top:20px}
body.phase08-document .dh-index__tabs button{padding:14px 0;gap:8px 12px}
body.phase08-document .dh-open{margin-top:17px}
body.phase08-document .dh-page{padding:12px}
body.phase08-document .dh-index2{padding:72px 0 78px}
body.phase08-document .dh-sectionhead{gap:clamp(24px,4vw,52px);margin-bottom:30px}
body.phase08-document .dh-links a{min-height:126px;padding:22px 20px;grid-template-columns:28px minmax(0,1fr) 18px;grid-template-rows:auto auto;align-content:center;gap:7px 12px}
body.phase08-document .dh-links a span{grid-column:1;grid-row:1/3}
body.phase08-document .dh-links a strong{grid-column:2;grid-row:1;line-height:1.3}
body.phase08-document .dh-links a em{grid-column:2;grid-row:2;align-self:start;line-height:1.5}
body.phase08-document .dh-links a b{grid-column:3;grid-row:1/3}
body.phase08-document .dh-close{padding:64px 0}
body.phase08-document .dh-close__grid{grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:22px clamp(36px,5vw,70px);align-items:start}
body.phase08-document .dh-close__grid>.btn{grid-column:1;justify-self:start}

/* The six dark CTA panels retain their detailed action content in less height. */
body.capability-page .cx-page>section.cx-close{padding:clamp(52px,5vw,70px) 0;background-image:radial-gradient(ellipse at 91% 18%,rgba(175,47,42,.18),transparent 42%),linear-gradient(112deg,#0a121d,#151823 68%,#25191e);background-size:cover;animation:none}
body.capability-page .cx-close::before{opacity:.4;background-size:116px 116px}
body.capability-page .cx-close__grid{grid-template-columns:minmax(0,1.06fr) minmax(310px,.86fr);gap:clamp(32px,5vw,68px)}
body.capability-page .cx-close__intro{max-width:620px}
body.capability-page .cx-close h2{max-width:610px;margin:12px 0 13px;font-size:clamp(2.25rem,3.3vw,3.45rem);line-height:1.08;letter-spacing:-.05em}
body.capability-page .cx-close__lead{max-width:565px;margin:0!important;font-size:.93rem;line-height:1.6}
body.capability-page .cx-close__path{margin-top:19px;gap:8px}
body.capability-page .cx-close__path span{padding:8px 10px;font-size:.71rem}
body.capability-page .cx-close__action{padding:clamp(21px,2.35vw,29px);background:linear-gradient(145deg,rgba(32,31,37,.91),rgba(14,21,31,.96));border-color:rgba(255,255,255,.2);border-top-color:#c63b32;box-shadow:0 18px 48px rgba(0,0,0,.2)}
body.capability-page .cx-close__action ul{margin:11px 0 12px}
body.capability-page .cx-close__action li{padding:8px 0 8px 20px;font-size:.79rem}
body.capability-page .cx-close__action li::before{top:13px}
body.capability-page .cx-close__action p{margin:0 0 15px!important;font-size:.81rem;line-height:1.5}
body.capability-page .cx-close__action .btn-primary{min-height:48px}
body.capability-page .cx-close__next{margin-top:14px;padding-top:12px}

@media(max-width:1180px){
  .foundation-mega__inner.shell{padding:23px 24px;gap:19px}
  #foundation-mega-capabilities .foundation-mega__inner{grid-template-columns:minmax(190px,.54fr) minmax(0,1.46fr);gap:20px}
  #foundation-mega-federal .foundation-mega__inner{grid-template-columns:minmax(180px,.55fr) minmax(0,1.25fr) minmax(180px,.58fr);gap:18px}
  .foundation-mega__intro{padding-right:16px}
  .foundation-mega__link{padding:15px 12px;grid-template-columns:20px minmax(0,1fr);gap:7px}
  .foundation-mega__link strong{font-size:.76rem}
  .foundation-mega__link em{font-size:.67rem}
}
@media(max-width:960px){.foundation-mega{display:none}}
@media(max-width:960px){
  body.phase08-document .dh-review__grid{grid-template-columns:1fr;gap:27px}
  body.phase08-document .dh-index{max-width:650px}
}
@media(max-width:800px){
  body.capability-page .cx-page :is(.cx-section-head,.cx-editorial-head){grid-template-columns:1fr;gap:10px}
  body.capability-page .cx-page :is(.cx-section-head,.cx-editorial-head) .cx-kicker{margin-top:0}
  body.capability-page .cx-close__grid{grid-template-columns:1fr;gap:24px}
  body.capability-page .cx-close__action{max-width:650px}
  body.phase08-document .dh-index2{padding:60px 0 65px}
}
@media(max-width:600px){
  body.internal-page main > section:first-child h1{font-size:clamp(2.5rem,10vw,3.35rem)}
  body.capability-page .cx-page h1{font-size:clamp(2.6rem,10vw,3.45rem)}
  body.capability-page .cx-page h2{font-size:clamp(1.95rem,8vw,2.7rem)}
  body.capability-page .cx-page>section.cx-close{padding:42px 0}
  body.capability-page .cx-close h2{font-size:clamp(1.95rem,7.8vw,2.55rem)}
  body.capability-page .cx-close__path{display:none}
  body.capability-page .cx-close__action{padding:18px}
  body.capability-page .cx-close__action li{padding-block:6px}
  body.capability-page .cx-close__action p{margin-bottom:12px!important}
  body.capability-page .cx-close__next{margin-top:10px;padding-top:10px}
  body.phase08-document .dh-hero{padding-top:calc(var(--header-h) + 38px);padding-bottom:38px}
  body.phase08-document .dh-hero__grid{gap:26px}
  body.phase08-document .dh-back{margin-bottom:17px}
  body.phase08-document .dh-hero h1{font-size:clamp(2.35rem,9.6vw,3.1rem);line-height:1.08;margin:14px 0 15px}
  body.phase08-document .dh-hero p{line-height:1.6}
  body.phase08-document .dh-actions{margin-top:22px}
  body.phase08-document .dh-review{padding:48px 0 56px}
  body.phase08-document .dh-index h2{font-size:clamp(1.9rem,7.5vw,2.4rem)}
  body.phase08-document .dh-index__tabs button{padding:13px 0}
  body.phase08-document .dh-page{padding:6px}
  body.phase08-document .dh-sectionhead{margin-bottom:23px}
  body.phase08-document .dh-links a{min-height:106px;padding:17px 15px}
  body.phase08-document .dh-close{padding:52px 0}
  body.phase08-document .dh-close__grid{grid-template-columns:1fr;gap:17px}
  body.phase08-document .dh-close__grid>.btn{grid-column:auto}
}
@media(prefers-reduced-motion:reduce){body.capability-page .cx-page>section.cx-close{animation:none}.cx-divider__accent{transition:none}}
