/* ──────────────────────────────────────────────────────────────────
   POWERUS · WEB v2, Swiss / brutalist system
   Pairs with site.css (tokens). Short words. Images do the talking.
   ────────────────────────────────────────────────────────────────── */

body.v2 {
  color: var(--char);
  font-family: var(--sans);
  margin: 0;
}
.v2 *, .v2 *::before, .v2 *::after { box-sizing: border-box; }
.v2-wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }

/* ─── Sticky nav ─────────────────────────────────────────────────── */
.barnav {
  position: sticky; top: 0; z-index: 50;
  background: var(--bone);
  display: grid; grid-template-columns: auto 1fr auto; align-items: center;
  gap: clamp(24px,3vw,52px); padding: 22px var(--pad);
  max-width: var(--max); margin: 0 auto; box-sizing: border-box;
}
/* .barnav is centred to the same max-width as every .v2-wrap section (so the
   logo lines up with content below it), but its background must still reach
   the viewport edges. This paints that full-bleed plate behind it.
   left must be 50% (of .barnav's own box), not 50vw: with margin:auto centering
   the containing block, 50% of ITS width plus a -50vw shift cancels out to 0 at
   the viewport edge. `50vw` is a fixed length instead, so above --max (1480px),
   where .barnav stops spanning the full viewport, the plate stayed pinned to
   .barnav's own left edge and never reached the true edges — the reported bug. */
.barnav::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%;
  width: 100vw; transform: translateX(-50%); background: var(--bone); z-index: -1; }
.barnav .brand { justify-self: start; display: inline-flex; }
.barnav .brand img { height: 26px; width: auto; }
.barnav .links { display: flex; gap: clamp(24px,2.6vw,40px); justify-content: flex-start;
  /* Optical nudge: the lockup PNG has internal padding, so box-centering leaves
     the mono baseline a hair above the wordmark's. NOT transform — the flyouts
     are position: fixed, and a transformed ancestor becomes their containing
     block, which re-anchors every dropdown away from the viewport. */
  position: relative; top: 1px; left: 22px; }
/* Mono applies to the top-level items ONLY. Setting it on .links leaked into the
   flyouts nested inside each .navitem. */
.barnav .links > .navitem > a,
.barnav .links > .navitem > .navtrig {
  font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: 0.14em;
  text-transform: uppercase; position: relative; display: inline-block; padding: 2px 4px;
}
.barnav .links > .navitem > a::after,
.barnav .links > .navitem > .navtrig::after {
  content: ""; position: absolute; top: 0.4em; bottom: 0.36em; left: 0; right: 0;
  background: var(--char); pointer-events: none;
  transform: scaleX(0); transform-origin: left center;
}
@media (prefers-reduced-motion: no-preference) {
  .barnav .links > .navitem > a:hover::after,
  .barnav .links > .navitem > .navtrig:hover::after { transform: scaleX(1); transition: transform 320ms steps(6, end); }
  .barnav .links > .navitem > a::after,
  .barnav .links > .navitem > .navtrig::after { transition: transform 220ms steps(5, end); }
}
.barnav .links a { color: var(--char); text-decoration: none; }
/* The Solutions and Missions triggers own a dropdown rather than a destination,
   so they are buttons — reset the UA styling to match the sibling links. */
.barnav .links .navtrig { appearance: none; background: none; border: 0; padding: 0;
  margin: 0; font: inherit; letter-spacing: inherit; text-transform: inherit;
  color: var(--char); cursor: pointer; }

/* Flyout nav CSS lives in site.css (loaded by every v2 page incl. homepage) */

/* ─── Type ───────────────────────────────────────────────────────── */
.ix { font-family: var(--mono); font-size: 12px; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--char); display: block; }
.ix b { font-weight: 500; }
.ix .sep { color: var(--fg-3); margin: 0 8px; }
.dh1 { font-weight: 400; font-size: clamp(54px, 9vw, 150px); line-height: 0.86; letter-spacing: -0.05em; margin: 0; }
.dh2 { font-weight: 400; font-size: clamp(40px, 6vw, 104px); line-height: 0.9; letter-spacing: -0.046em; margin: 0; }
.kicker { font-weight: 500; font-size: clamp(19px, 1.9vw, 28px); line-height: 1.08; letter-spacing: -0.01em; margin: 0; color: var(--fg-2); }
.lede { font-size: clamp(18px, 1.5vw, 23px); line-height: 1.4; letter-spacing: -0.012em; color: var(--fg); margin: 0; max-width: 34ch; }
.muted { color: var(--fg-2); }

/* ─── Buttons / links ────────────────────────────────────────────── */
.cta { display: inline-flex; align-items: center; gap: 12px; font-family: var(--mono); font-size: 13px;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--char); text-decoration: none;
  border-bottom: 2px solid var(--char); padding-bottom: 7px; position: relative; }
.cta .lbl { position: relative; display: inline-block; }
/* Higher specificity than any single "<section> .lbl" rule (e.g. .hero-x .lbl's
   dim eyebrow colour), so a CTA's label always inherits the link's own colour
   regardless of what section it sits in. */
a.cta .lbl { color: inherit; }
.cta .lbl::after { content: ""; position: absolute; top: 0.2em; bottom: 0.16em; left: 0; right: 0;
  background: var(--char); pointer-events: none; transform: scaleX(0); transform-origin: left center;
  transition: transform 130ms steps(5, end); }
.cta:hover .lbl::after { transform: scaleX(1); transition: transform 180ms steps(6, end); }
.cta.inv { color: var(--bone); border-color: var(--bone); }
.cta.inv .lbl::after { background: var(--bone); }

/* ─── Section rhythm ─────────────────────────────────────────────── */
.sec { padding-top: clamp(76px, 12vh, 168px); padding-bottom: clamp(48px, 7vh, 88px); }
.sec-head { margin-bottom: clamp(40px, 6vh, 80px); }
.sec-head .ix { margin-bottom: 24px; }

/* ─── Index rows (product / platform lists) ──────────────────────── */
.idx { }
.idx-row { display: grid; grid-template-columns: 168px 1fr auto; align-items: center; gap: 40px;
  padding: clamp(22px, 2.6vh, 34px) 0; text-decoration: none; color: var(--char);
  transition: padding-left 360ms cubic-bezier(.16,1,.3,1); }
.idx-row .thumb { height: 104px; display: grid; place-items: center; overflow: hidden; }
.idx-row .thumb img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.idx-row .mid { display: flex; flex-direction: column; gap: 12px; }
.idx-row .t { font-weight: 400; font-size: clamp(28px, 3.4vw, 50px); line-height: 0.98; letter-spacing: -0.032em; }
.idx-row .s { font-family: var(--mono); font-size: 12px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--fg-3); }
.idx-row .c { font-family: var(--mono); font-size: 13px; letter-spacing: 0.16em; color: var(--fg-2); white-space: nowrap; transition: color 200ms; text-transform: uppercase; }
.idx-row:hover { padding-left: 18px; }
.idx-row:hover .c { color: var(--ember); }

/* ─── Full-bleed media band ──────────────────────────────────────── */
.band { position: relative; width: 100%; overflow: hidden; background: var(--basalt); }
/* <picture> is transparent to layout here: the /protect pages wrap the band image
   so they can art-direct a 4:3 mobile crop, and a direct-child-only rule left
   those images static and uncropped, overflowing the band. */
.band > picture { position: absolute; inset: 0; display: block; }
.band > img,
.band > picture > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.band .scrim { position: absolute; inset: 0; background:
  linear-gradient(180deg, rgba(8,6,4,0.30) 0%, rgba(8,6,4,0.0) 30%, rgba(8,6,4,0.0) 55%, rgba(8,6,4,0.82) 100%); }
.band .cap { position: absolute; left: var(--pad); right: var(--pad); bottom: clamp(32px,5vh,72px); z-index: 2; color: var(--on-media); }
.band .cap .ix { color: var(--on-media-2); margin-bottom: 22px; }
.band .cap .ix b { color: var(--on-media); }
.band .tag { position: absolute; z-index: 2; font-family: var(--mono); font-size: 11px; letter-spacing: 0.22em;
  text-transform: uppercase; color: rgba(253,250,243,0.82); }
.band .tag.tl { top: clamp(24px,4vh,40px); left: var(--pad); }
.band .tag.tr { top: clamp(24px,4vh,40px); right: var(--pad); }
.band .tag.bl { bottom: clamp(24px,4vh,40px); left: var(--pad); }
.band .play { position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; pointer-events: none; }
.band .play i { width: clamp(60px,6vw,84px); height: clamp(60px,6vw,84px); border: 1.5px solid var(--on-media-3); border-radius: 50%; display: grid; place-items: center; }
.band .play i::after { content: ""; margin-left: 5px; border-left: 15px solid var(--on-media-2); border-top: 9px solid transparent; border-bottom: 9px solid transparent; }

/* ─── Capability grid (mission pages) ────────────────────────────── */
.cap-grid { display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--hairline); border-left: 1px solid var(--hairline); }
.cap-cell { border-right: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline);
  padding: clamp(26px,2.6vw,42px); display: flex; flex-direction: column; gap: 14px; min-height: 248px; }
.cap-cell .cn { font-family: var(--mono); font-size: 11px; letter-spacing: 0.22em; color: var(--ember); text-transform: uppercase; }
.cap-cell .ct { font-weight: 400; font-size: clamp(23px,2vw,31px); letter-spacing: -0.03em; line-height: 1.02; margin: 0; }
.cap-cell .cd { font-size: 15px; line-height: 1.5; color: var(--fg-2); margin: 0; max-width: 34ch; }
@media (max-width: 900px) { .cap-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .cap-grid { grid-template-columns: 1fr; } .cap-cell { min-height: 0; } }

/* ─── Spec strip ─────────────────────────────────────────────────── */
.specs { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(28px, 3vw, 56px); }
.spec { display: flex; flex-direction: column; gap: 10px; }
.spec .k { font-family: var(--mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--fg-3); }
.spec .v { font-weight: 400; font-size: clamp(34px, 4vw, 58px); line-height: 0.96; letter-spacing: -0.04em; }
.spec .v .u { font-family: var(--mono); font-size: 0.26em; letter-spacing: 0.16em; color: var(--fg-3); margin-left: 8px; vertical-align: middle; text-transform: uppercase; }

/* ─── Credential pills ───────────────────────────────────────────── */
.creds { display: flex; flex-wrap: wrap; gap: 12px; }
.cred { display: inline-flex; align-items: center; gap: 11px; border: 1.5px solid var(--char);
  border-radius: 100px; padding: 11px 20px; font-family: var(--mono); font-size: 12px;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--char); line-height: 1; white-space: nowrap; }
.cred svg, .cred img { width: 20px; height: 20px; flex: none; display: block; }

/* ─── Product plate ──────────────────────────────────────────────── */
.spec-layout { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(40px, 5vw, 96px); align-items: center; }
.spec-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 3.4vh, 52px) clamp(28px, 3vw, 56px); }
.spec-photo { position: relative; display: grid; place-items: center; align-self: stretch; min-height: 360px; }
.spec-photo img { max-width: 100%; max-height: 460px; object-fit: contain; mix-blend-mode: multiply; }
.spec-photo .ix { position: absolute; left: 0; bottom: 0; color: var(--fg-3); }
@media (max-width: 900px) {
  .spec-layout { grid-template-columns: 1fr; gap: clamp(40px,6vh,72px); }
  .spec-photo { order: -1; min-height: 0; }
  .spec-photo img { max-height: 360px; }
}

/* ─── Two-up product head ────────────────────────────────────────── */
.phead { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(32px,5vw,80px); align-items: end; }
.phead .name { margin-top: 26px; }
.phead .meta { display: flex; flex-direction: column; gap: 22px; }

/* ─── Dark closer ────────────────────────────────────────────────── */
.closer-dark { background: var(--char); color: var(--bone); padding: clamp(90px,15vh,200px) 0; }
.closer-dark .dh2 { color: var(--bone); max-width: 18ch; }
.closer-dark .row { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap;
  gap: 32px; margin-top: clamp(40px,6vh,88px); }
.closer-dark p { color: var(--on-inv-2); font-size: 17px; line-height: 1.5; max-width: 40ch; margin: 0; }

/* ─── Footer ─────────────────────────────────────────────────────── */
/* .v2-foot styles live in site.css (shared dark footer, loaded by every page) */

/* ─── Redaction reveal (scroll-triggered) ────────────────────────── */
.redact-h { position: relative; display: inline-block; width: fit-content; max-width: 100%; isolation: isolate; }
.redact-h .ink { display: inline-block; }
.redact-h .redact { position: absolute; top: 0.2em; bottom: 0.16em; left: -0.04em; right: -0.04em;
  background: var(--char); transform-origin: right center; transform: scaleX(0); pointer-events: none; z-index: 1; }
@media (prefers-reduced-motion: no-preference) {
  .redact-h.armed .redact { transform: scaleX(1); }
  .redact-h.go .redact { transform: scaleX(0); transition: transform 540ms steps(6, end); }
}
/* Line-by-line redaction reveal (.redact-ml, lines detected at runtime).
   Each line is a real inline-block, so its bar insets from that line's own box
   and cannot overlap the next line or spill past the element. */
.redact-ml .rl { position: relative; display: block; width: fit-content; max-width: 100%; isolation: isolate; }
.redact-ml .rl .rd { position: absolute; top: 0.2em; bottom: 0.16em; left: -0.05em; right: -0.05em;
  background: var(--char); transform-origin: right center; transform: scaleX(0); pointer-events: none; z-index: 1; }
@media (prefers-reduced-motion: no-preference) {
  .redact-ml.armed .rl .rd { transform: scaleX(1); }
  .redact-ml.go .rl .rd { transform: scaleX(0); transition: transform 480ms steps(6, end); }
}
.prod-cta .redact-ml .rl .rd { background: var(--bone); }

/* line-by-line headline (each line its own bar, staggered) */
.dh1.name .redact-h { display: block; }
.dh1.name .redact-h:nth-of-type(2).go .redact { transition: transform 480ms steps(5, end) 150ms; }

/* ─── Responsive ─────────────────────────────────────────────────── */
@media (max-width: 1040px) {
  .specs { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .barnav { padding-left: 24px; padding-right: 24px; grid-template-columns: 1fr auto auto; }
  .barnav .links { grid-column: 1 / -1; grid-row: 2; justify-content: flex-start; flex-wrap: wrap;
    gap: 18px 24px; margin-top: 16px; font-size: 14px; }
  .phead { grid-template-columns: 1fr; gap: 28px; align-items: start; }
}
@media (max-width: 680px) {
  .idx-row { grid-template-columns: 96px 1fr; gap: 18px; }
  .idx-row .c { display: none; }
  .specs { grid-template-columns: 1fr 1fr; }
}




/* ─── Mobile menu, crosshair toggle ─── */
.barnav { z-index: 1001; }
.navtoggle { display: none; justify-self: end; position: relative; width: 28px; height: 28px; padding: 0; background: none; border: 0; cursor: pointer; }
.navtoggle .ring { position: absolute; inset: 5px; border: 2px solid var(--char); border-radius: 50%; transition: opacity 300ms ease, transform 380ms cubic-bezier(.16,1,.3,1); }
.navtoggle .cross { position: absolute; inset: 0; transition: transform 400ms cubic-bezier(.16,1,.3,1); }
.navtoggle .cross i { position: absolute; background: var(--char); }
.navtoggle .cross i:nth-child(1) { left: 0; right: 0; top: 50%; height: 2px; margin-top: -1px; }
.navtoggle .cross i:nth-child(2) { top: 0; bottom: 0; left: 50%; width: 2px; margin-left: -1px; }
body.menu-open .navtoggle .cross { transform: rotate(45deg); }
body.menu-open .navtoggle .ring { opacity: 0; transform: scale(0.55); }
.navmenu { display: none; }
@media (max-width: 900px) {
  .barnav { grid-template-columns: 1fr auto auto; }
  .barnav .links, .barnav-end .navitem, .barnav .navcta { display: none; }
  .navtoggle { display: block; }
  .navmenu {
    display: flex; position: fixed; inset: 0; z-index: 1000;
    height: 100vh; height: 100dvh;
    flex-direction: column; justify-content: center; gap: 6px;
    padding: 0 var(--pad-mobile); background: var(--bone);
    opacity: 0; pointer-events: none; transform: translateY(-8px);
    transition: opacity 320ms ease, transform 320ms ease;
  }
  body.menu-open { overflow: hidden; }
  body.menu-open .navmenu { opacity: 1; pointer-events: auto; transform: none; }
  .navmenu a { font-family: var(--sans); font-weight: 400; font-size: clamp(38px, 12vw, 68px); letter-spacing: -0.03em; line-height: 1.18; color: var(--char); text-decoration: none; }
  .navmenu a:active { color: var(--ember); }
}


/* ─── Product page (PDP) layout ─── */
.pdp { text-align: center; padding-top: clamp(20px, 3vh, 44px); padding-bottom: clamp(40px,6vh,80px); }
.pdp-name { font-weight: 400; font-size: clamp(76px, 21vw, 320px); line-height: 0.92; letter-spacing: -0.055em; margin: 0; color: var(--char); }
.pdp-shot { display: block; margin: clamp(-44px, -7vw, -96px) auto 0; max-width: min(64%, 740px); width: 100%; height: auto; position: relative; z-index: 2; }
.pdp-lede { font-weight: 400; font-size: clamp(26px, 3.3vw, 46px); line-height: 1.04; letter-spacing: -0.026em; color: var(--char); margin: clamp(28px,5vh,60px) auto 0; max-width: 32ch; text-wrap: balance; }
.pdp-creds { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin: clamp(28px,4vh,46px) 0 0; }
.pdp-creds .cred { font-family: var(--sans); font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; font-size: 12px; }
.pdp-video { margin: clamp(52px,9vh,112px) 0 0; width: 100%; aspect-ratio: 16 / 8.6; background: var(--bone-3); display: flex; align-items: center; justify-content: center; }
.pdp-video span { font-family: var(--mono); font-size: 13px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--fg-3); }
.pdp-specs { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: repeat(4, auto); grid-auto-flow: column; column-gap: clamp(40px,6vw,120px); margin: clamp(44px,6vh,80px) 0 0; text-align: left; }
.pdp-spec { display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 16px; padding: 19px 0 13px; border-bottom: 1px solid var(--border); }
.pdp-spec .k { font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--fg-2); }
.pdp-spec .v { font-family: var(--mono); font-size: clamp(15px,1.1vw,18px); letter-spacing: 0.03em; color: var(--char); white-space: nowrap; text-transform: uppercase; }
.pdp-spec .v .u { color: var(--fg-3); margin-left: 1px; }
.pdp-gallery { display: grid; grid-template-columns: 1.05fr 1fr; grid-template-rows: auto auto; gap: clamp(16px,1.8vw,26px); margin: clamp(40px,6vh,80px) 0 0; }
.pdp-gallery .g { background: var(--bone-3); }
.pdp-gallery .g1 { grid-column: 1; grid-row: 1 / 3; }
.pdp-gallery .g2 { grid-column: 2; grid-row: 1; aspect-ratio: 16 / 9.4; }
.pdp-gallery .g3 { grid-column: 2; grid-row: 2; aspect-ratio: 16 / 9.4; }
@media (max-width: 760px) {
  .pdp-shot { max-width: 86%; margin-top: -4vw; }
  .pdp-lede { max-width: 88%; }
  .pdp-specs { grid-template-columns: 1fr; grid-template-rows: none; grid-auto-flow: row; }
  .pdp-gallery { grid-template-columns: 1fr; grid-template-rows: none; }
  .pdp-gallery .g1 { grid-column: 1; grid-row: auto; aspect-ratio: 4 / 5; }
  .pdp-gallery .g2, .pdp-gallery .g3 { grid-column: 1; grid-row: auto; }
}

/* Site-wide: no orphaned words on headline breaks */
h1, h2, h3, h4, .dh1, .dh2, .dh3, .pdp-name, .pdp-lede, .sec-head, .hero h1, .page-hero h1, blockquote, figcaption, .lede, .pg-note, .t, .k, .cta, .card h3, .pc-h { text-wrap: balance; }
p, li, .d, .body p { text-wrap: pretty; }

/* Mobile: page headers scale like product names */
@media (max-width: 900px) {
  .dh1 { font-size: clamp(52px, 14.5vw, 150px); line-height: 0.9; letter-spacing: -0.055em; overflow-wrap: anywhere; }
}

/* Mono type is always uppercase */
.spectable .k, .spectable .v, .pvar-specs .r .k, .procure-grid .pr .k, .combat-stats .cs .l, .pp-tag, .kick, .chip, .pvar-status, .pvar-price .per, .prod-cta .eyebrow, .prod-cta .meta, .pdp-fam-head .kick, .pdp-creds .cred, .ix, .stat, .dom { text-transform: uppercase; }
