/* =========================================================
   OPT4 SITE — shared design system
   Built from the Opt4 deck standard:
   Indigo #2C1F7B · Green #76B72A · deck card shadows (3px radius)
   Each division page sets its own ground via a body theme class.
   ========================================================= */

:root {
  --indigo: #162A75;
  --indigo-2: #1A1450;
  --green: #76B72A;
  --green-hi: #8CCB3F;
  --green-tx: #4A8A12;
  --text: #3B4352;
  --mute: #5E6778;
  --mute-2: #9AA1AC;
  --line: #D3D9E4;
  --paper: #FFFFFF;
  --wrap: 1280px;
  --pad: clamp(20px, 4vw, 56px);
  --hdr: 76px;

  /* theme defaults (Opt4Group: graphite) */
  --dk: #111419;
  --dk2: #1B2029;
  --dk-line: #2E3542;
  --dk-tx: #C5CBD5;
  --wash: #EEF1F5;
  --head: #162A75;

  --shadow:
    inset 0 1px 0 rgba(255,255,255,.95),
    inset 0 0 0 1px #D3D9E4,
    0 2px 5px rgba(14,26,60,.06),
    0 11px 24px rgba(14,26,60,.09),
    0 32px 64px rgba(14,26,60,.12);
  --shadow-dk:
    inset 0 0 0 1px rgba(255,255,255,.08),
    0 2px 4px rgba(0,0,0,.3),
    0 9px 20px rgba(0,0,0,.35),
    0 24px 48px rgba(0,0,0,.4);
}

/* ---- Division themes (like the decks: each program its own ground) ---- */
.t-group       { --dk:#111419; --dk2:#1B2029; --dk-line:#2E3542; --wash:#EEF1F5; }
.t-acq         { --dk:#14181F; --dk2:#1E242E; --dk-line:#353D4B; --wash:#EEF1F5; }
.t-sales       { --dk:#121418; --dk2:#1C2028; --dk-line:#2F3542; --wash:#F2F3F7; }
.t-mapping     { --dk:#0F1217; --dk2:#1A1F28; --dk-line:#2D3441; --wash:#EDF0F6; }
.t-ev          { --dk:#111419; --dk2:#1B2029; --dk-line:#2E3542; --wash:#EEF4EA; }
.t-grid        { --dk:#0F1316; --dk2:#1A2026; --dk-line:#2C343D; --wash:#EDF2F4; }
.t-nevi        { --dk:#0F1324; --dk2:#1A1F38; --dk-line:#2C3352; --wash:#EEF0F8; }
.t-consortium  { --dk:#121419; --dk2:#1C2029; --dk-line:#2F3543; --wash:#EFEFF7; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr) + 60px); }
body {
  margin: 0; font-family: 'Inter', system-ui, sans-serif; color: var(--text); background: var(--paper);
  -webkit-font-smoothing: antialiased; font-size: 16px;
}
h1, h2, h3, h4 { margin: 0; color: var(--head); letter-spacing: -0.02em; text-wrap: balance; font-weight: 700; }
p { margin: 0; text-wrap: pretty; }
img { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; }
a { color: inherit; }
::selection { background: var(--green); color: #fff; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
.g { color: var(--green-tx); }
.on-dark .g, .dark .g { color: var(--green-hi); }

/* ---------- Eyebrow (deck chrome: green square + tracked caps) ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--green-tx);
}
.eyebrow::before { content: ""; width: 10px; height: 10px; background: var(--green); flex: none; }
.dark .eyebrow, .on-dark .eyebrow { color: var(--green-hi); }

/* ---------- Header ---------- */
.hdr {
  position: sticky; top: 0; z-index: 60; height: var(--hdr);
  background: rgba(255,255,255,.97); backdrop-filter: blur(12px);
  border-bottom: 1px solid #E3E7EE;
}
.hdr::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: var(--green); transform: scaleX(0); transform-origin: left; transition: transform .4s; }
.hdr.scrolled::after { transform: scaleX(1); }
.hdr .wrap { height: 100%; display: flex; align-items: center; gap: 28px; }
.hdr .logo { flex: none; display: block; }
.hdr .logo img { height: 38px; width: auto; }
.menu { display: flex; align-items: stretch; height: 100%; margin-left: auto; gap: 2px; }
.menu > .mi { position: relative; display: flex; align-items: center; }
.menu > .mi > a {
  display: flex; align-items: center; gap: 6px; height: 100%; padding: 0 12px;
  font-size: 14px; font-weight: 500; color: var(--mute); text-decoration: none; white-space: nowrap; position: relative;
}
.menu > .mi > a:hover, .menu > .mi:hover > a { color: var(--indigo); }
.menu > .mi > a[aria-current] { color: var(--indigo); font-weight: 700; }
.menu > .mi > a[aria-current]::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 0; height: 3px; background: var(--green); }
.menu > .mi > a b { font-weight: inherit; }
.menu > .mi > a b i { font-style: normal; color: var(--green); }
.dd {
  position: absolute; top: 100%; left: 0; min-width: 280px; padding: 10px; background: #fff; border-radius: 3px;
  box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s;
}
.dd::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--green); border-radius: 3px 3px 0 0; }
.mi:hover .dd, .mi:focus-within .dd { opacity: 1; visibility: visible; transform: none; }
.dd a { display: flex; gap: 12px; padding: 10px 12px; font-size: 14px; color: var(--text); text-decoration: none; border-radius: 2px; }
.dd a span { color: var(--mute-2); font-size: 12px; font-weight: 600; min-width: 18px; padding-top: 1px; }
.dd a:hover { background: #F2F4F8; color: var(--indigo); }
.hdr .cta { margin-left: 8px; }
.burger { display: none; margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--line); background: #fff; border-radius: 2px; position: relative; }
.burger i, .burger i::before, .burger i::after { position: absolute; left: 12px; width: 18px; height: 2px; background: var(--indigo); content: ""; }
.burger i { top: 21px; } .burger i::before { top: -6px; left: 0; } .burger i::after { top: 6px; left: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 22px;
  border: 0; border-radius: 3px; text-decoration: none; font-size: 14px; font-weight: 700; letter-spacing: .01em; white-space: nowrap;
  transition: background .15s, color .15s, box-shadow .15s, transform .15s;
}
.btn-green { background: var(--green); color: #fff; box-shadow: 0 6px 18px rgba(94,144,33,.28); }
.btn-green:hover { background: #659e22; transform: translateY(-1px); }
.btn-line { background: transparent; color: var(--indigo); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-line:hover { box-shadow: inset 0 0 0 1.5px var(--indigo); }
.on-dark .btn-line, .dark .btn-line { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.35); }
.on-dark .btn-line:hover, .dark .btn-line:hover { box-shadow: inset 0 0 0 1.5px #fff; }
.btn .arr { transition: transform .15s; }
.btn:hover .arr { transform: translateX(3px); }
.hdr .btn { height: 42px; padding: 0 18px; }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--dk); color: var(--dk-tx); overflow: hidden; isolation: isolate; }
.hero > img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, var(--dk) 0%, color-mix(in srgb, var(--dk) 88%, transparent) 38%, color-mix(in srgb, var(--dk) 30%, transparent) 72%, transparent 100%),
    linear-gradient(0deg, var(--dk) 0%, transparent 35%);
}
.hero .wrap { position: relative; padding-top: clamp(80px, 11vw, 150px); padding-bottom: clamp(56px, 7vw, 96px); }
.hero .kicker { display: flex; align-items: center; gap: 18px; margin-bottom: 28px; }
.hero .kicker img { height: 30px; width: auto; }
.hero .kicker .sep { width: 1px; height: 26px; background: rgba(255,255,255,.25); }
.hero h1 {
  color: #fff; font-weight: 700; letter-spacing: -0.035em; line-height: 1.02;
  font-size: clamp(42px, 6vw, 84px); max-width: 980px;
}
.hero h1 span { color: var(--green-hi); display: block; }
.hero h1.md { font-size: clamp(38px, 4.8vw, 68px); }
.hero .lead { margin-top: 28px; max-width: 640px; font-size: clamp(17px, 1.45vw, 20px); line-height: 1.55; color: var(--dk-tx); }
.hero .lead strong { color: #fff; font-weight: 600; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.ribbon {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-bottom: 26px;
  font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--green-hi);
}
.ribbon i { width: 4px; height: 4px; border-radius: 50%; background: currentColor; opacity: .5; }
.hero-strip {
  position: relative; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  border-top: 1px solid rgba(255,255,255,.16); margin-top: clamp(48px, 6vw, 80px);
}
.hero-strip > div { padding: 26px 28px 4px 0; }
.hero-strip > div + div { padding-left: 28px; border-left: 1px solid rgba(255,255,255,.16); }
.hero-strip .k { font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--green-hi); }
.hero-strip .v { font-size: clamp(20px, 1.8vw, 26px); font-weight: 700; color: #fff; margin-top: 10px; letter-spacing: -0.01em; }
.hero-strip .s { font-size: 14px; color: var(--dk-tx); opacity: .8; margin-top: 4px; }

/* ---------- Sticky sub-nav (page sections) ---------- */
.subnav { position: sticky; top: var(--hdr); z-index: 50; background: var(--dk); border-bottom: 1px solid var(--dk-line); }
.subnav .wrap { display: flex; align-items: center; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.subnav .wrap::-webkit-scrollbar { display: none; }
.subnav .nm { font-size: 13px; font-weight: 800; color: #fff; padding-right: 18px; margin-right: 8px; border-right: 1px solid var(--dk-line); white-space: nowrap; }
.subnav .nm i { font-style: normal; color: var(--green-hi); }
.subnav a { padding: 16px 12px; font-size: 13px; font-weight: 500; color: var(--dk-tx); text-decoration: none; white-space: nowrap; position: relative; opacity: .8; }
.subnav a:hover { opacity: 1; color: #fff; }
.subnav a.on { color: #fff; opacity: 1; }
.subnav a.on::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 0; height: 2px; background: var(--green); }

/* ---------- Sections ---------- */
.sec { padding: clamp(72px, 9vw, 128px) 0; position: relative; }
.sec.wash { background: var(--wash); }
.sec.dark { background: var(--dk); color: var(--dk-tx); }
.sec.dark h2, .sec.dark h3, .sec.dark h4 { color: #fff; }
.sec.tight { padding: clamp(48px, 6vw, 80px) 0; }
.sec .motif { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .14; pointer-events: none; }
.sec.dark .motif { opacity: .22; mix-blend-mode: screen; }
.sec > .wrap { position: relative; }
.head { margin-bottom: clamp(40px, 5vw, 64px); display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 24px 64px; align-items: end; }
.head.solo { grid-template-columns: minmax(0, 900px); }
.head h2 { font-size: clamp(32px, 3.6vw, 52px); line-height: 1.06; letter-spacing: -0.03em; margin-top: 18px; }
.head h2 span { color: var(--green-tx); display: block; }
.sec.dark .head h2 span { color: var(--green-hi); }
.head p { font-size: 17px; line-height: 1.6; color: var(--mute); }
.sec.dark .head p { color: var(--dk-tx); }
.pull { font-size: clamp(20px, 2vw, 26px); font-weight: 600; color: var(--head); letter-spacing: -0.01em; line-height: 1.35; }
.pull.lower { text-transform: lowercase; }
.sec.dark .pull { color: #fff; }

/* ---------- Cards (deck spec: fill + inset hairline + 5-layer shadow) ---------- */
.grid { display: grid; gap: 20px; }
.g2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
.g5 { grid-template-columns: repeat(5, minmax(0,1fr)); }
.card { background: #fff; border-radius: 3px; box-shadow: var(--shadow); padding: 30px; position: relative; }
.card.edge::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--green); border-radius: 3px 0 0 3px; }
.card.edge.grey::before { background: #B0B6BF; }
.card.ink { background: var(--dk2); color: var(--dk-tx); box-shadow: var(--shadow-dk); }
.card.ink h3, .card.ink h4 { color: #fff; }
.card.greenc { background: var(--green); color: #fff; box-shadow: 0 2px 5px rgba(94,144,33,.12), 0 11px 24px rgba(94,144,33,.2), 0 32px 64px rgba(94,144,33,.22); }
.card.greenc h3, .card.greenc h4, .card.greenc .k { color: #fff; }
.card.greenc .list li::before { background: #fff; }
.card.greenc, .card.greenc p, .card.greenc li, .card.greenc .k, .sec.dark .card.greenc .k { color: #fff; }
.card.greenc .k { opacity: .9; }
/* light cards inside dark sections keep light-card colors */
.sec.dark .card:not(.ink):not(.greenc) { color: var(--text); }
.sec.dark .card:not(.ink):not(.greenc) h3,
.sec.dark .card:not(.ink):not(.greenc) h4,
.sec.dark .card:not(.ink):not(.greenc) .list b { color: var(--head); }
.sec.dark .card:not(.ink):not(.greenc) p,
.sec.dark .card:not(.ink):not(.greenc) li { color: var(--text); }
.sec.dark .card:not(.ink):not(.greenc) .k,
.sec.dark .incl .k { color: var(--green-tx); }
.sec.dark .incl p { color: var(--head); }
.sec.dark .card:not(.ink):not(.greenc) { box-shadow: 0 2px 4px rgba(0,0,0,.25), 0 24px 48px rgba(0,0,0,.35); }
.k { display: block; font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--green-tx); margin-bottom: 14px; }
.card.ink .k, .sec.dark .k { color: var(--green-hi); }
.card.edge.grey .k { color: #6B7280; }
.card h3 { font-size: 22px; line-height: 1.25; margin-bottom: 12px; }
.card h4 { font-size: 19px; line-height: 1.3; margin-bottom: 10px; }
.card p { font-size: 15px; line-height: 1.62; }
.card .foot { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 13px; font-weight: 700; color: var(--head); }
.card.ink .foot { border-color: var(--dk-line); color: #fff; }
.n-big { font-size: 13px; font-weight: 800; letter-spacing: .12em; color: var(--green-tx); }
.card.ink .n-big { color: var(--green-hi); }

/* photo cards */
.pcard { background: #fff; border-radius: 3px; box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; text-decoration: none; color: inherit; transition: transform .25s, box-shadow .25s; }
a.pcard:hover { transform: translateY(-4px); }
.pcard .ph { aspect-ratio: 4 / 3; overflow: hidden; position: relative; background: #DDE2EA; }
.pcard .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
a.pcard:hover .ph img { transform: scale(1.04); }
.pcard .ph::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--green); }
.pcard .bd { padding: 24px 26px 28px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.pcard h3 { font-size: 21px; line-height: 1.25; }
.pcard p { font-size: 15px; line-height: 1.6; }
.pcard .go { margin-top: auto; padding-top: 10px; font-size: 14px; font-weight: 700; color: var(--indigo); display: flex; gap: 8px; }
.pcard .go::after { content: "→"; transition: transform .2s; }
a.pcard:hover .go::after { transform: translateX(4px); }
.ph.tall { aspect-ratio: 3 / 4; }
.ph.wide { aspect-ratio: 16 / 9; }

/* division cards (homepage) */
.divs { display: grid; grid-template-columns: repeat(6, minmax(0,1fr)); gap: 20px; }
.divs > .div-card { grid-column: span 2; }

.div-card { position: relative; min-height: 420px; border-radius: 3px; overflow: hidden; color: #fff; text-decoration: none; display: flex; flex-direction: column; justify-content: flex-end; padding: 36px; isolation: isolate; box-shadow: var(--shadow-dk); }
.div-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s; }
.div-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(10,12,20,.94) 0%, rgba(10,12,20,.72) 42%, rgba(10,12,20,.1) 100%); }
.div-card:hover img { transform: scale(1.05); }
.div-card .num { position: absolute; top: 30px; left: 36px; font-size: 13px; font-weight: 700; letter-spacing: .14em; color: rgba(255,255,255,.75); }
.div-card .tag { position: absolute; top: 26px; right: 30px; font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; padding: 7px 12px; background: rgba(255,255,255,.12); backdrop-filter: blur(8px); border-radius: 2px; }
.div-card h3 { color: #fff; font-size: clamp(30px, 3vw, 40px); font-weight: 800; letter-spacing: -0.03em; }
.div-card h3 i { font-style: normal; color: var(--green-hi); }
.div-card p { font-size: 16px; line-height: 1.55; color: #D5DAE3; margin-top: 12px; max-width: 520px; }
.div-card .go { margin-top: 22px; font-size: 14px; font-weight: 700; display: inline-flex; gap: 8px; color: var(--green-hi); }
.div-card .go::after { content: "→"; transition: transform .2s; }
.div-card:hover .go::after { transform: translateX(4px); }
.divs > .div-card.wide { grid-column: 1 / -1; min-height: 300px; }

/* ---------- Hero secondary button: white fill so it reads on black ---------- */
.hero .btn-line { background: #fff; color: var(--indigo); box-shadow: 0 6px 18px rgba(0,0,0,.25); }
.hero .btn-line:hover { background: #F1F3FA; color: var(--indigo); box-shadow: 0 8px 22px rgba(0,0,0,.3); transform: translateY(-1px); }

/* ---------- Section separators: indigo/green edge rule + soft shadow ---------- */
.sec, .cta-band, .contact { box-shadow: inset 0 14px 18px -14px rgba(14,26,60,.18); }
.sec.dark, .cta-band { box-shadow: inset 0 16px 22px -14px rgba(0,0,0,.6); }
/* Separator: thin green / thicker indigo / thin green, full width, with shadow.
   For the 2-line version set --sep3: 0 (drops the bottom green). */
:root { --sep-g: 2px; --sep-b: 4px; --sep3: 0; }
.sec::after, .cta-band::after, .contact::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0; z-index: 2; pointer-events: none;
  height: calc(var(--sep-g) + var(--sep-b) + var(--sep-g) * var(--sep3));
  background: linear-gradient(180deg,
    var(--green) 0, var(--green) var(--sep-g),
    var(--indigo) var(--sep-g), var(--indigo) calc(var(--sep-g) + var(--sep-b)),
    var(--green) calc(var(--sep-g) + var(--sep-b)), var(--green) 100%);
}

/* ---------- Stand-alone images: deck-style frame + lift ----------
   Thin indigo frame on light grounds, thin green frame on dark grounds. */
.media, .step .ph, .pcard .ph, .wrapc .ph {
  outline: 2px solid var(--indigo); outline-offset: -2px;
}
.media { box-shadow: 0 2px 5px rgba(14,26,60,.08), 0 11px 24px rgba(14,26,60,.14), 0 32px 64px rgba(14,26,60,.18); }
.step .ph { box-shadow: 0 2px 5px rgba(14,26,60,.08), 0 11px 24px rgba(14,26,60,.12); }
.sec.dark .media, .sec.dark .step .ph, .sec.dark .pcard .ph, .sec.dark .wrapc .ph { outline-color: var(--green); }
.sec.dark .media { box-shadow: 0 2px 4px rgba(0,0,0,.35), 0 12px 28px rgba(0,0,0,.45), 0 32px 64px rgba(0,0,0,.5); }
.media.contain { outline-color: var(--line); }
.pcard .ph, .wrapc .ph { outline-width: 0; } /* cards already framed by their own shadow + green rule */
.contact { position: relative; }
.sec.tight#how::after, .sec#who::after { }

/* ---------- Division logo lockup: real OPT4 mark + division word ----------
   Word cap-height & baseline matched to the "OPT" letters of the mark. */
.o4lock { display: inline-flex; align-items: center; font-size: 48px; line-height: 1; gap: .05em; white-space: nowrap; }
.o4lock img { height: .82em; width: auto; display: block; }
.o4lock span { font-family: 'Montserrat', 'Inter', sans-serif; font-weight: 600; font-size: .66em; letter-spacing: .02em; text-transform: uppercase; color: #162A75; position: relative; top: -.002em; }
.o4lock.wht span { color: #fff; }
.hero .o4lock { font-size: clamp(40px, 4.2vw, 64px); margin-bottom: 26px; }
.div-card .o4lock, .aud-card .o4lock { font-size: clamp(38px, 3.6vw, 52px); }
.subnav .o4lock { font-size: 22px; }
.subnav .nm { display: flex; align-items: center; }
img.o4ev { display: block; width: auto; height: .82em; font-size: 48px; }
.hero-logo { margin-bottom: 26px; }
.hero-logo .o4lock { font-size: clamp(40px, 4.2vw, 64px); margin: 0; }
.hero-logo img.o4ev { font-size: clamp(40px, 4.2vw, 64px); height: .82em; }
.div-card h3 .o4lock, .div-card h3 img.o4ev { font-size: clamp(38px, 3.4vw, 50px); }
/* undo .div-card img background rule for logo images */
.div-card h3 img, .aud-card h3 img, a.div-card h3 img { position: static !important; inset: auto; width: auto; height: .82em; object-fit: contain; z-index: auto; transform: none !important; transition: none; }
.div-card h3 .o4lock img { height: .82em; }
.subnav img.o4ev { font-size: 22px; }

/* =========================================================
   BRAND GUIDE ALIGNMENT (Opt4EV Logo Design, 2023)
   Inter: titles Semi Bold · subheads Regular caps · body Light
   Green #76B72A · Blue #162A75 · Grey #A2ADC0
   Pictogram as 20% watermark · green vertical label bars
   ========================================================= */
:root { --grey: #A2ADC0; --mute-2: #8A95A8; }
h1, h2, .hero h1, .head h2, .split h2, .cta-band h2, .contact h2 { font-weight: 600; }
.card h3, .card h4, .pcard h3, .step h4, .drawer-head h3, .member h4 { font-weight: 600; }
.hero .lead, .head p, .split .body, .cta-band p, .contact .intro { font-weight: 300; }
.hero .lead strong, .split .body b { font-weight: 600; }
.eyebrow, .ribbon { font-weight: 500; letter-spacing: .22em; }
.eyebrow::before { width: 9px; height: 9px; }
.k, .hero-strip .k, .stat .l { font-weight: 600; }
.pull { font-weight: 300; }

.sec, .cta-band, .contact { overflow-x: clip; }
html, body { overflow-x: clip; }
.vtab ~ * {}
@media (min-width: 1400px) { .sec > .wrap { padding-left: max(var(--pad), 56px); } }

/* Pictogram watermark (20%) on dark sections + CTA */
.sec.dark > .wrap::before, .cta-band .wrap::before {
  content: ""; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  width: clamp(220px, 24vw, 360px); aspect-ratio: 136 / 190; pointer-events: none; z-index: -1;
  background: url(assets/brand/opt4-leaf-white.png) center / contain no-repeat; opacity: .06;
}
.sec.dark > .wrap, .cta-band .wrap { isolation: isolate; }
.sec.wash > .wrap::before {
  content: ""; position: absolute; right: 0; top: 0;
  width: clamp(180px, 18vw, 280px); aspect-ratio: 136 / 190; pointer-events: none; z-index: -1;
  background: url(assets/brand/opt4-leaf-grey.png) center / contain no-repeat; opacity: .2;
}
.sec.wash > .wrap { isolation: isolate; }

/* Green vertical label bar (guide motif) — wide screens only */
.vtab { display: none; }
@media (min-width: 1400px) {
  .vtab {
    display: flex; align-items: center; justify-content: center;
    position: absolute; left: 0; top: 40px; bottom: 40px; width: 34px; z-index: 3;
    background: var(--green); overflow: hidden;
  }
  .vtab span {
    writing-mode: vertical-rl; transform: rotate(180deg); white-space: nowrap;
    color: #fff; font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase;
  }
  .sec.dark .vtab { background: var(--green); }
}

/* ---------- Timeline (gantt-style, 8 months) ---------- */
.tline { display: grid; gap: 8px; margin: 14px 0 6px; position: relative; }
.tline > div { position: relative; height: 38px; background: rgba(22,42,117,.05); border-radius: 2px; margin-right: 96px; overflow: visible; }
.tline > div { display: block; }
.tline i { position: absolute; top: 0; bottom: 0; background: var(--head); border-radius: 2px; }
.tline > div.go i { background: var(--green); }
.tline b { position: absolute; top: 50%; transform: translateY(-50%); color: #fff; font-size: 13px; font-weight: 600; white-space: nowrap; z-index: 1; }
.tline span { position: absolute; left: calc(100% + 12px); top: 50%; transform: translateY(-50%); color: var(--mute) !important; font-size: 13px; font-weight: 500; white-space: nowrap; }
.tline > div[data-late] b { grid-column: 1 / -1; justify-self: start; padding-left: 12px; color: var(--head); }

/* ---------- Services list (Acquisitions) ---------- */
.svc { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1px; background: var(--line); border-radius: 3px; overflow: hidden; box-shadow: var(--shadow); }
.svc > div { background: #fff; padding: 26px 28px 28px; display: grid; grid-template-columns: 34px 1fr; gap: 4px 12px; transition: background .2s; }
.svc > div:hover { background: #F7FAF3; }
.svc span { grid-row: span 2; font-size: 13px; font-weight: 700; color: var(--green-tx); padding-top: 3px; }
.svc h4 { font-size: 18px; }
.svc p { font-size: 14.5px; color: var(--mute); line-height: 1.5; }
@media (max-width: 860px) { .svc { grid-template-columns: 1fr; } }

/* ---------- Revenue (EV) ---------- */
.rev { display: grid; grid-template-columns: 1fr auto 1fr; align-items: stretch; gap: 0; border-radius: 3px; overflow: hidden; box-shadow: var(--shadow); }
.rev > div { padding: 36px 40px; }
.rev-a { background: var(--green); color: #fff; }
.rev-a .k { color: #fff; opacity: .9; }
.rev-b { background: var(--head); color: #fff; }
.rev-b .k { color: var(--green-hi); }
.rev-n { font-size: clamp(52px, 6vw, 84px); font-weight: 700; letter-spacing: -.04em; line-height: 1; margin: 6px 0 10px; }
.rev-n.sm { font-size: clamp(26px, 2.6vw, 38px); letter-spacing: -.02em; line-height: 1.1; padding-top: 14px; }
.rev p { font-size: 16px; opacity: .9; }
.rev-plus { background: #fff; color: var(--head); display: grid; place-items: center; font-size: 40px; font-weight: 300; padding: 0 22px !important; }
.rev-foot { display: flex; flex-wrap: wrap; gap: 18px 32px; align-items: center; justify-content: space-between; margin-top: 24px; }
.rev-foot .note { max-width: 640px; }
@media (max-width: 860px) { .rev { grid-template-columns: 1fr; } .rev-plus { padding: 8px !important; } }

.revs { display: grid; gap: 14px; }
.revrow { display: grid; grid-template-columns: 260px 1fr; align-items: center; gap: 28px; background: #fff; border-radius: 3px; box-shadow: var(--shadow); padding: 24px 34px; position: relative; overflow: hidden; }
.revrow::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--green); }
.rv-biz .k { margin: 0; font-size: 13px; color: var(--head); letter-spacing: .14em; }
.rv-eq { display: flex; align-items: center; gap: 22px; flex-wrap: nowrap; }
.rv-a, .rv-b { display: flex; flex-direction: column; gap: 6px; }
.rv-eq b { font-size: clamp(40px, 4.4vw, 60px); font-weight: 700; letter-spacing: -.04em; line-height: 1; color: var(--green-tx); }
.rv-eq small { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); }
.rv-eq i { font-style: normal; font-size: clamp(30px, 3vw, 42px); font-weight: 600; color: var(--green); line-height: 1; }
.rv-eq em { font-style: normal; font-size: clamp(32px, 3.6vw, 50px); font-weight: 700; color: var(--head); letter-spacing: -.03em; line-height: 1; white-space: nowrap; }
.rv-per { font-size: 13px; color: var(--mute); white-space: nowrap; }
@media (max-width: 960px) { .revrow { grid-template-columns: 1fr; gap: 12px; padding: 22px 24px; } .rv-eq { flex-wrap: wrap; gap: 10px 18px; } .rv-eq em { white-space: normal; } }

/* ---------- Brand 4-station hero image ---------- */
.brand4 { position: relative; margin: 0 calc(var(--pad) * -0.25); }
.brand4 img { width: 100%; height: auto; display: block; filter: drop-shadow(0 24px 40px rgba(14,26,60,.18)); }
.brand4-cap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 18px; }
.brand4-cap div { border-top: 3px solid var(--green); padding-top: 14px; }
.brand4-cap b { display: block; font-size: 17px; color: var(--head); font-weight: 600; }
.brand4-cap span { font-size: 14px; color: var(--mute); }
@media (max-width: 860px) { .brand4-cap { grid-template-columns: 1fr 1fr; } }

/* ---------- Revenue band: dark, high impact ---------- */
.rev-band { background: radial-gradient(120% 140% at 85% 0%, #1F3A12 0%, #111419 55%); color: #C5CBD5; }
.rev-band .head h2 { color: #fff; }
.rev-band .head h2 span { color: var(--green-hi); }
.rev-band .head p { color: #C5CBD5; }
.rev-band .eyebrow { color: var(--green-hi); }
.rev-band .fold-btn { color: #fff; }
.rev-band .topics span { background: rgba(255,255,255,.08); color: #fff; }
.rev-band .revrow { background: rgba(255,255,255,.04); box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); backdrop-filter: blur(4px); transition: background .25s, transform .25s; }
.rev-band .revrow:hover { background: rgba(118,183,42,.1); transform: translateX(4px); }
.rev-band .rv-biz .k { color: #fff; }
.rev-band .rv-eq b { color: var(--green-hi); }
.rev-band .rv-eq em { color: #fff; }
.rev-band .rv-eq small { color: #9AA6B6; }
.rev-band .note { color: #9AA6B6; }
.rev-band::after { background: linear-gradient(180deg, var(--green) 0, var(--green) 2px, var(--indigo) 2px, var(--indigo) 6px) !important; }
.rev-band .wrap::before { opacity: .07; }

.head-site { align-items: center; }
.site-peek { background: #fff; border-radius: 3px; box-shadow: var(--shadow); padding: 18px 20px 14px; }
.site-peek img { width: 100%; height: auto; display: block; }
.site-peek span { display: block; margin-top: 10px; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--green-tx); }
.head-site .fold-ctl { margin-top: 22px; }

/* ---------- Best of Both (EV Tesla section) ---------- */
.bob { background: #0E1420; color: #D0D6E0; overflow: hidden; }
.bob-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .34; z-index: 0; }
.bob::before { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(180deg, rgba(14,20,32,.6) 0%, rgba(14,20,32,.85) 55%, #0E1420 100%); }
.bob > .wrap { z-index: 1; }
.bob .head h2 { color: #fff; font-size: clamp(38px, 4.6vw, 66px); }
.bob .head h2 span { color: var(--green-hi); }
.bob .head p { color: #D0D6E0; }
.bob .head p em { font-style: normal; color: #fff; font-weight: 600; }
.bob .eyebrow { color: var(--green-hi); }
.bob .fold-btn { color: #fff; }
.bob .topics span { background: rgba(255,255,255,.1); color: #fff; }
.bob-grid { display: grid; grid-template-columns: 1fr 1.35fr 1fr; gap: 22px; align-items: stretch; }
.bob-card { background: #fff; border-radius: 3px; padding: 28px 28px 30px; box-shadow: 0 24px 48px rgba(0,0,0,.4); position: relative; }
.bob-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--head); border-radius: 3px 0 0 3px; }
.bob-card:last-child::before { background: var(--green); }
.bob-card .k { color: var(--head); margin-bottom: 4px; }
.bob-card:last-child .k { color: var(--green-tx); }
.bob-pct { font-size: clamp(64px, 6vw, 92px); font-weight: 700; letter-spacing: -.05em; line-height: 1; color: var(--head); }
.bob-pct small { font-size: .45em; letter-spacing: 0; }
.bob-pct.g { color: var(--green-tx); }
.bob-bar { height: 6px; background: #E3E7EE; border-radius: 3px; margin: 14px 0 8px; overflow: hidden; }
.bob-bar i { display: block; height: 100%; background: var(--head); }
.bob-bar.g i { background: var(--green); }
.bob-lbl { font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); }
.bob-card h3 { font-size: 20px; color: var(--head); margin: 16px 0 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.bob-card .list li { font-size: 14.5px; color: var(--text); }
.bob-card .list b { color: var(--head); }
.bob-mid { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 14px; }
.bob-mid .k { color: var(--green-hi); margin: 0; }
.bob-screen { width: 100%; border-radius: 14px; padding: 10px; background: #1A1F28; box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 30px 60px rgba(0,0,0,.55); }
.bob-screen img { width: 100%; border-radius: 6px; display: block; }
.bob-mid p { color: #fff; font-size: 16px; font-weight: 500; }
.bob-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px 30px; margin-top: 30px; padding-top: 22px; border-top: 1px solid rgba(118,183,42,.5); }
.bob-foot .terms-row { color: #fff; }
.bob-tag { color: var(--green-hi); font-weight: 600; letter-spacing: .06em; font-size: 15px; }
.bob .note { color: #8E98A8; opacity: 1; }
@media (max-width: 1100px) { .bob-grid { grid-template-columns: 1fr 1fr; } .bob-mid { grid-column: 1 / -1; order: -1; } }
@media (max-width: 700px) { .bob-grid { grid-template-columns: 1fr; } }

/* ---------- Grid page charts ---------- */
.refill { display: grid; gap: 10px; margin-top: 6px; }
.refill > div { display: grid; grid-template-columns: 70px 1fr 70px; align-items: center; gap: 14px; font-size: 14px; }
.refill b { color: var(--head); font-weight: 600; }
.refill span { height: 14px; background: #E3E8F0; border-radius: 2px; position: relative; overflow: hidden; }
.refill span::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: var(--w); background: var(--green); }
.refill em { font-style: normal; font-weight: 600; color: var(--head); text-align: right; }
.peakchart { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; height: 220px; align-items: end; margin-top: 10px; }
.peakchart > div { position: relative; height: 100%; display: flex; align-items: flex-end; justify-content: center; padding-bottom: 24px; }
.peakchart i { display: block; width: 42%; height: calc(var(--h) - 24px); border-radius: 2px 2px 0 0; }
.peakchart i:first-child { background: var(--head); }
.peakchart i:nth-child(2) { background: var(--green); margin-left: 4px; }
.peakchart span { position: absolute; bottom: 0; left: 0; right: 0; text-align: center; font-size: 12px; color: var(--mute); }
.terms-row span[style*="--c"]::before { background: var(--c); }
.sec.dark .card:not(.ink) .refill b, .sec.dark .card:not(.ink) .refill em { color: var(--head); }
.sec.dark .card:not(.ink) .note { color: var(--mute); opacity: 1; }

/* ---------- Audience split (homepage) ---------- */
.aud { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.aud-card { position: relative; isolation: isolate; overflow: hidden; border-radius: 3px; min-height: 340px; padding: 36px; display: flex; flex-direction: column; justify-content: flex-end; color: #fff; text-decoration: none; box-shadow: var(--shadow-dk); }
.aud-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s; }
.aud-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(14,10,48,.95) 0%, rgba(14,10,48,.7) 45%, rgba(14,10,48,.15) 100%); }
.aud-card:last-child::before { background: linear-gradient(0deg, rgba(17,20,25,.95) 0%, rgba(17,20,25,.7) 45%, rgba(17,20,25,.15) 100%); }
.aud-card:hover img { transform: scale(1.05); }
.aud-k { position: absolute; top: 28px; left: 36px; font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; padding: 8px 12px; background: var(--green); border-radius: 2px; }
.aud-card h3 { color: #fff; font-size: clamp(28px, 2.8vw, 38px); line-height: 1.08; letter-spacing: -0.03em; }
.aud-card h3 i { font-style: normal; color: var(--green-hi); display: block; }
.aud-card p { color: #D5DAE3; font-size: 16px; line-height: 1.55; margin-top: 12px; max-width: 520px; }
.aud-card .go { margin-top: 20px; font-size: 14px; font-weight: 700; color: var(--green-hi); display: inline-flex; gap: 8px; }
.aud-card .go::after { content: "→"; transition: transform .2s; }
.aud-card:hover .go::after { transform: translateX(4px); }
.aud3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.aud3 .aud-card { min-height: 380px; padding: 30px; }
.aud3 .aud-k { left: 30px; top: 24px; }
.aud3 .aud-card h3 { font-size: clamp(24px, 2.2vw, 30px); }
.aud3 .aud-card p { font-size: 15px; }
.divs-compact .div-card { min-height: 300px; padding: 28px; }
.divs-compact .div-card.wide { min-height: 220px; }
.divs-compact .div-card p { font-size: 15px; }
@media (max-width: 1180px) { .aud3 { grid-template-columns: 1fr; } .aud3 .aud-card { min-height: 280px; } }
@media (max-width: 860px) { .aud { grid-template-columns: 1fr; } }

/* ---------- Process chevrons (deck motif) ---------- */
.chevs { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 0; }
.chev {
  position: relative; background: var(--dk2); color: #fff; padding: 22px 30px 22px 44px; margin-left: -12px;
  clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 50%, calc(100% - 22px) 100%, 0 100%, 22px 50%);
  font-size: 13px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; white-space: nowrap;
}
.chev:first-child { margin-left: 0; clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 50%, calc(100% - 22px) 100%, 0 100%); padding-left: 26px; }
.chev b { color: var(--green-hi); margin-right: 10px; }
.chev.on { background: var(--green); }
.chev.on b { color: #fff; }
.wash .chev, .sec:not(.dark) .chev:not(.on) { background: var(--head); }

/* ---------- Steps ---------- */
.steps { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 20px; }
.step { position: relative; }
.step .bar { height: 4px; background: var(--line); margin-bottom: 22px; }
.step:first-child .bar { background: var(--green); }
.sec.dark .step .bar { background: var(--dk-line); }
.sec.dark .step:first-child .bar { background: var(--green); }
.step .sn { font-size: 13px; font-weight: 800; letter-spacing: .14em; color: var(--green-tx); }
.sec.dark .step .sn { color: var(--green-hi); }
.step .when { font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--mute-2); margin-left: 8px; }
.step h4 { font-size: 19px; margin: 8px 0 10px; }
.step p { font-size: 14.5px; line-height: 1.62; color: var(--mute); }
.sec.dark .step p { color: var(--dk-tx); }
.step .ph { aspect-ratio: 4 / 3; border-radius: 3px; overflow: hidden; margin-bottom: 18px; box-shadow: var(--shadow); }
.step .ph img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Lists ---------- */
.list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.list li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; font-size: 15px; line-height: 1.55; }
.list li::before { content: ""; width: 8px; height: 8px; background: var(--green); margin-top: 8px; }
.list.x li::before { background: none; box-shadow: inset 0 0 0 1.5px #A3AAB6; }
.list b { color: var(--head); font-weight: 700; }
.card.ink .list b, .sec.dark .list b { color: #fff; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font-size: 13px; font-weight: 600; padding: 9px 14px; border-radius: 2px; background: #fff; color: var(--head); box-shadow: inset 0 0 0 1px var(--line); }
.sec.dark .chip { background: var(--dk2); color: #fff; box-shadow: inset 0 0 0 1px var(--dk-line); }
.terms-row { display: flex; flex-wrap: wrap; gap: 10px 30px; font-size: 13px; font-weight: 700; letter-spacing: .04em; color: var(--head); }
.terms-row span { display: inline-flex; align-items: center; gap: 10px; }
.terms-row span::before { content: ""; width: 6px; height: 6px; background: var(--green); }
.sec.dark .terms-row, .on-dark .terms-row { color: #fff; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 20px; }
.stat { padding-top: 22px; border-top: 3px solid var(--green); }
.stat .n { font-size: clamp(44px, 4.4vw, 68px); font-weight: 800; letter-spacing: -0.045em; line-height: .95; color: var(--head); }
.sec.dark .stat .n { color: #fff; }
.stat .n sup { font-size: .45em; color: var(--green); vertical-align: top; position: relative; top: .25em; margin-left: 2px; }
.stat .l { font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--green-tx); margin: 14px 0 12px; }
.sec.dark .stat .l { color: var(--green-hi); }
.stat p { font-size: 14px; line-height: 1.6; color: var(--mute); }
.sec.dark .stat p { color: var(--dk-tx); }
.stat p b { color: var(--head); font-weight: 600; }
.sec.dark .stat p b { color: #fff; }

/* ---------- Compare (status quo vs Opt4) ---------- */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: stretch; }
.result { margin-top: 22px; padding: 16px 20px; background: #F1F3F7; font-size: 14.5px; line-height: 1.5; border-radius: 2px; }
.result b { color: var(--head); }
.card.ink .result { background: rgba(255,255,255,.06); }
.card.ink .result b { color: var(--green-hi); }

/* ---------- Split media ---------- */
.split { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.split.rev > :first-child { order: 2; }
.media { position: relative; border-radius: 3px; overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4 / 3; background: #DDE2EA; }
.media img { width: 100%; height: 100%; object-fit: cover; }
.media.contain img { object-fit: contain; }
.media.tall { aspect-ratio: 4 / 5; }
.media.wide { aspect-ratio: 16 / 10; }
.media .badge { position: absolute; left: 20px; bottom: 20px; background: rgba(17,20,25,.85); backdrop-filter: blur(8px); color: #fff; padding: 14px 18px; border-left: 4px solid var(--green); font-size: 14px; line-height: 1.4; max-width: 70%; }
.media .badge b { display: block; font-size: 20px; }
.sec.dark .media { box-shadow: var(--shadow-dk); }
.split h2 { font-size: clamp(30px, 3.2vw, 46px); line-height: 1.08; letter-spacing: -0.03em; margin: 18px 0 20px; }
.split h2 span { color: var(--green-tx); display: block; }
.sec.dark .split h2 span { color: var(--green-hi); }
.split .body { font-size: 17px; line-height: 1.62; color: var(--mute); }
.sec.dark .split .body { color: var(--dk-tx); }
.split .list { margin-top: 26px; }

/* ---------- 55 / 45 ---------- */
.share { display: grid; grid-template-columns: 55fr 45fr; gap: 20px; }
.share .card { padding: 40px; }
.share .pct { font-size: clamp(72px, 8vw, 128px); font-weight: 800; letter-spacing: -0.06em; line-height: .85; color: var(--head); }
.share .card.ink .pct { color: var(--green-hi); }
.share .lbl { font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--mute); margin: 16px 0 26px; }
.share .card.ink .lbl { color: var(--dk-tx); }
.sharebar { display: flex; height: 10px; margin-top: 20px; border-radius: 2px; overflow: hidden; }

/* ---------- Big numbers row (EV driver economy) ---------- */
.dwell { display: grid; gap: 14px; }
.dwell .row { display: grid; grid-template-columns: 70px 1fr 64px; align-items: center; gap: 16px; font-size: 14px; font-weight: 600; }
.dwell .bar { height: 34px; border-radius: 2px; background: #C9D0DC; }
.dwell .bar.ev { background: var(--green); }
.dwell .row b { font-size: 22px; color: var(--head); }
.sec.dark .dwell .row b { color: #fff; }

/* ---------- Included grid (terms) ---------- */
.incl { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 1px; background: var(--line); border-radius: 3px; overflow: hidden; box-shadow: var(--shadow); }
.incl > div { background: #fff; padding: 24px 24px 26px; }
.incl .k { margin-bottom: 8px; }
.incl p { font-size: 15px; line-height: 1.5; color: var(--head); font-weight: 600; }

/* ---------- Tabs (wrap gallery, mapping layers) ---------- */
.tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 28px; }
.tab { border: 0; background: #fff; color: var(--head); padding: 12px 18px; font-size: 14px; font-weight: 600; border-radius: 3px; box-shadow: inset 0 0 0 1px var(--line); transition: .15s; }
.tab:hover { box-shadow: inset 0 0 0 1px var(--head); }
.tab[aria-selected="true"] { background: var(--head); color: #fff; box-shadow: none; }
.sec.dark .tab { background: transparent; color: var(--dk-tx); box-shadow: inset 0 0 0 1px var(--dk-line); }
.sec.dark .tab[aria-selected="true"] { background: var(--green); color: #fff; box-shadow: none; }
.panel { display: none; }
.panel.on { display: block; animation: fade .35s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.wraps { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 20px; }
.wrapc { background: #fff; border-radius: 3px; box-shadow: var(--shadow); overflow: hidden; }
.wrapc .ph { aspect-ratio: 3 / 4; overflow: hidden; background: #E6EAF0; }
.wrapc .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.wrapc:hover .ph img { transform: scale(1.04); }
.wrapc .bd { padding: 20px 22px 24px; border-top: 4px solid var(--green); }
.wrapc h4 { font-size: 18px; margin-bottom: 6px; }
.wrapc p { font-size: 14px; line-height: 1.55; color: var(--mute); }

/* mapping layers */
.layers { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.layer-list { display: grid; gap: 10px; }
.layer { text-align: left; border: 0; background: var(--dk2); color: var(--dk-tx); padding: 22px 24px; border-radius: 3px; box-shadow: inset 0 0 0 1px var(--dk-line); transition: .2s; display: grid; grid-template-columns: 36px 1fr; gap: 6px 14px; }
.layer .ln { font-size: 13px; font-weight: 800; color: var(--green-hi); letter-spacing: .1em; padding-top: 3px; }
.layer h4 { color: #fff; font-size: 18px; }
.layer p { grid-column: 2; font-size: 14px; line-height: 1.55; display: none; }
.layer[aria-selected="true"] { box-shadow: inset 4px 0 0 var(--green), inset 0 0 0 1px var(--dk-line); background: color-mix(in srgb, var(--dk2) 70%, #fff 6%); }
.layer[aria-selected="true"] p { display: block; }
.layer .list { grid-column: 2; display: none; margin-top: 10px; gap: 10px; }
.layer[aria-selected="true"] .list { display: grid; }
.layer .list li { font-size: 14px; }
.layer-stage { position: sticky; top: calc(var(--hdr) + 80px); }
.layer-stage .media { aspect-ratio: 4 / 3; background: var(--dk2); }
.layer-stage .media img { position: absolute; inset: 0; opacity: 0; transition: opacity .5s; }
.layer-stage .media img.on { opacity: 1; }

/* ---------- Team ---------- */
.team { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 20px; }
.member { background: #fff; border-radius: 3px; box-shadow: var(--shadow); overflow: hidden; }
.member .ph { aspect-ratio: 1; overflow: hidden; background: #E6EAF0; }
.member .ph img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.15); }
.member .bd { padding: 18px 20px 22px; border-top: 4px solid var(--green); }
.member h4 { font-size: 17px; }
.member .rl { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--green-tx); margin: 6px 0 10px; }
.member p { font-size: 13.5px; line-height: 1.55; color: var(--mute); }

/* ---------- Drawers ---------- */
.drawers { border-top: 2px solid var(--head); }
.sec.dark .drawers { border-color: var(--green); }
.drawer { border-bottom: 1px solid var(--line); }
.sec.dark .drawer { border-color: var(--dk-line); }
.drawer-head { width: 100%; background: none; border: 0; text-align: left; color: inherit; display: grid; grid-template-columns: 64px minmax(0,1fr) 44px; gap: 20px; align-items: start; padding: 28px 0; }
.drawer-head .dn { font-size: 14px; font-weight: 800; letter-spacing: .1em; color: var(--mute-2); padding-top: 6px; }
.drawer-head .dt { display: block; font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--green-tx); margin-bottom: 8px; }
.sec.dark .drawer-head .dt { color: var(--green-hi); }
.drawer-head h3 { font-size: clamp(19px, 1.9vw, 24px); line-height: 1.25; transition: color .15s; }
.drawer-head:hover h3 { color: var(--green-tx); }
.drawer-head .dr { font-size: 15px; color: var(--mute); line-height: 1.55; margin-top: 8px; }
.sec.dark .drawer-head .dr { color: var(--dk-tx); }
.tog { width: 44px; height: 44px; border-radius: 3px; position: relative; box-shadow: inset 0 0 0 1px var(--line); transition: .2s; }
.sec.dark .tog { box-shadow: inset 0 0 0 1px var(--dk-line); }
.tog::before, .tog::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; background: var(--head); transform: translate(-50%,-50%); transition: .25s; }
.sec.dark .tog::before, .sec.dark .tog::after { background: #fff; }
.tog::after { transform: translate(-50%,-50%) rotate(90deg); }
.drawer.open .tog { background: var(--green); box-shadow: none; }
.drawer.open .tog::before, .drawer.open .tog::after { background: #fff; }
.drawer.open .tog::after { transform: translate(-50%,-50%) rotate(0); }
.drawer-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s ease; }
.drawer.open .drawer-body { grid-template-rows: 1fr; }
.drawer-body > div { overflow: hidden; }
.drawer-inner { padding: 4px 0 44px 84px; }
.expand-all { background: none; border: 0; padding: 8px 0; font-size: 13px; font-weight: 700; color: var(--head); border-bottom: 1.5px solid currentColor; white-space: nowrap; }
.sec.dark .expand-all { color: #fff; }

/* ---------- Section fold: designed summary + [+] details ---------- */
.fold { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s ease; }
.fold > div { overflow: hidden; min-height: 0; }
.fold > div > *:first-child { margin-top: 0; }
section.open .fold { grid-template-rows: 1fr; }
.fold.settled > div { overflow: visible; }
.foldable:not(.open) .head { margin-bottom: 0; }
.sec.foldable:not(.open) { padding: clamp(56px, 6.5vw, 88px) 0; }
.foldable.open .fold > div { padding-top: 4px; }
.foldable .head > div:last-child { align-self: end; }
.fold-ctl { margin-top: 24px; display: grid; gap: 16px; }
.fold-btn {
  display: inline-flex; align-items: center; gap: 14px; justify-self: start;
  background: none; border: 0; padding: 0; color: var(--head); font-size: 14px; font-weight: 700; letter-spacing: .02em;
}
.sec.dark .fold-btn { color: #fff; }
.fold-btn .tog { flex: none; background: var(--green); box-shadow: 0 6px 16px rgba(94,144,33,.3); }
.fold-btn .tog::before, .fold-btn .tog::after, .sec.dark .fold-btn .tog::before, .sec.dark .fold-btn .tog::after { background: #fff; }
.fold-btn:hover .tog { transform: scale(1.06); }
section.open .fold-btn .tog { background: var(--head); box-shadow: none; }
.sec.dark section.open .fold-btn .tog, .sec.dark.open .fold-btn .tog { background: rgba(255,255,255,.14); }
section.open .fold-btn .tog::after { transform: translate(-50%,-50%) rotate(0); }
.topics { display: flex; flex-wrap: wrap; gap: 6px; transition: opacity .3s; }
.topics span { font-size: 12px; font-weight: 600; padding: 6px 10px; border-radius: 2px; background: rgba(44,31,123,.06); color: var(--head); }
.sec.dark .topics span { background: rgba(255,255,255,.08); color: #fff; }
section.open .topics { display: none; }
.split .fold { margin-top: 0; }
section.open .split .fold > div > *:first-child { margin-top: 22px; }
.peek { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 12px; width: 100%; margin-top: 36px; padding: 0; border: 0; background: none; height: 150px; }
.peek span { display: block; height: 100%; border-radius: 3px; overflow: hidden; box-shadow: var(--shadow); position: relative; }
.peek span::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--green); }
.peek img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.peek:hover img { transform: scale(1.05); }
section.open .peek { display: none; }
.sub-all { margin-left: auto; flex: none; background: none; border: 0; color: var(--green-hi); font-size: 12px; font-weight: 700; letter-spacing: .06em; padding: 14px 0 14px 18px; white-space: nowrap; }
.sub-all:hover { color: #fff; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; background: var(--dk); color: var(--dk-tx); isolation: isolate; }
.cta-band > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, var(--dk) 0%, color-mix(in srgb, var(--dk) 85%, transparent) 50%, color-mix(in srgb, var(--dk) 40%, transparent) 100%); }
.cta-band .wrap { padding-top: clamp(72px, 9vw, 120px); padding-bottom: clamp(72px, 9vw, 120px); display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: end; }
.cta-band h2 { color: #fff; font-size: clamp(34px, 4.4vw, 64px); line-height: 1.04; letter-spacing: -0.035em; margin-top: 18px; }
.cta-band h2 span { color: var(--green-hi); display: block; }
.cta-band p { margin-top: 18px; font-size: 18px; max-width: 560px; }

/* ---------- Contact ---------- */
.contact { padding: clamp(72px, 9vw, 120px) 0; background: var(--wash); }
.contact .wrap { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 6vw, 96px); }
.contact h2 { font-size: clamp(34px, 3.8vw, 52px); line-height: 1.05; letter-spacing: -0.03em; margin: 18px 0 20px; }
.contact h2 span { color: var(--green-tx); display: block; }
.contact .intro { font-size: 17px; line-height: 1.6; }
.people { margin-top: 36px; border-top: 1px solid var(--line); }
.person { display: grid; grid-template-columns: 56px 1fr; gap: 16px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); }
.person img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.person .ini { width: 56px; height: 56px; border-radius: 50%; background: var(--head); display: grid; place-items: center; }
.person .ini img { width: 30px; height: 30px; border-radius: 0; object-fit: contain; }
.person .nm { font-size: 16px; font-weight: 700; color: var(--head); }
.person .rl { font-size: 13px; color: var(--mute); }
.person .ct { font-size: 14px; margin-top: 4px; }
.person a { text-decoration: none; border-bottom: 1px solid var(--line); }
.person a:hover { border-color: var(--green); }
.form { background: #fff; border-radius: 3px; box-shadow: var(--shadow); padding: clamp(28px, 4vw, 48px); position: relative; }
.form::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--green); border-radius: 3px 3px 0 0; }
.form h3 { font-size: 22px; margin-bottom: 26px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.form label { display: grid; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--mute); }
.form label.full { grid-column: span 2; }
.form input, .form select, .form textarea { font: inherit; font-size: 15px; color: var(--head); text-transform: none; letter-spacing: 0; border: 0; box-shadow: inset 0 0 0 1px var(--line); background: #FAFBFD; border-radius: 3px; padding: 13px 14px; width: 100%; }
.form textarea { min-height: 120px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; box-shadow: inset 0 0 0 2px var(--indigo); background: #fff; }
.form .sr { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 26px; }
.form .sr small { font-size: 13px; color: var(--mute); }
.form .thanks { display: none; margin-top: 18px; padding: 14px 18px; background: #F1F8E8; color: #2F5B0A; font-size: 14px; border-radius: 2px; }
.form.sent .thanks { display: block; }

/* ---------- Footer ---------- */
.footer { background: #0B0D12; color: #8E96A4; padding: 72px 0 36px; }
.footer .wrap { display: grid; grid-template-columns: 1.3fr repeat(3, 1fr); gap: 40px; }
.footer img.flogo { height: 40px; width: auto; }
.footer p { font-size: 14px; line-height: 1.6; margin-top: 18px; max-width: 360px; }
.footer h5 { margin: 0 0 16px; font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--green-hi); }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer ul a { color: #C9CED6; text-decoration: none; font-size: 14px; }
.footer ul a:hover { color: #fff; }
.footer .legal { grid-column: 1 / -1; border-top: 1px solid #222833; padding-top: 24px; margin-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 13px; }

.note { font-size: 13px; color: var(--mute); line-height: 1.55; margin-top: 22px; max-width: 920px; }
.sec.dark .note { color: var(--dk-tx); opacity: .75; }
.center { text-align: center; }
.mt-l { margin-top: clamp(40px, 5vw, 64px); }
.mt-m { margin-top: 28px; }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .divs > .div-card { grid-column: span 3; }
  .menu { display: none; }
  .burger { display: block; }
  .hdr .cta { display: none; }
  .menu.open { display: flex; position: fixed; top: var(--hdr); left: 0; right: 0; bottom: 0; flex-direction: column; background: #fff; padding: 12px var(--pad) 40px; overflow-y: auto; height: auto; gap: 0; }
  .menu.open > .mi { flex-direction: column; align-items: stretch; border-bottom: 1px solid #E8EBF0; }
  .menu.open > .mi > a { padding: 18px 0; font-size: 17px; }
  .menu.open > .mi > a[aria-current]::after { display: none; }
  .menu.open .dd { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; padding: 0 0 12px; min-width: 0; }
  .menu.open .dd::before { display: none; }
  .g5, .team, .stats { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .g4, .wraps, .incl { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .chevs { grid-auto-flow: row; gap: 6px; }
  .chev, .chev:first-child { margin-left: 0; clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 50%, calc(100% - 22px) 100%, 0 100%); padding-left: 26px; }
  .steps { grid-auto-flow: row; grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 860px) {
  .head, .split, .compare, .share, .layers, .contact .wrap, .cta-band .wrap { grid-template-columns: 1fr; }
  .split.rev > :first-child { order: 0; }
  .g2, .g3, .divs { grid-template-columns: 1fr; }
  .divs > .div-card, .divs > .div-card.wide, .divs > .div-card:nth-child(4), .divs > .div-card:nth-child(5) { grid-column: auto; }
  .footer .wrap { grid-template-columns: 1fr 1fr; }
  .drawer-head { grid-template-columns: 1fr 44px; }
  .drawer-head .dn { display: none; }
  .drawer-inner { padding-left: 0; }
  .form .row { grid-template-columns: 1fr; }
  .form label.full { grid-column: auto; }
  .hero-strip > div + div { padding-left: 0; border-left: 0; border-top: 1px solid rgba(255,255,255,.16); }
  .hero::before { background: linear-gradient(0deg, var(--dk) 10%, color-mix(in srgb, var(--dk) 75%, transparent) 60%, color-mix(in srgb, var(--dk) 40%, transparent) 100%); }
  .layer-stage { position: static; order: -1; }
}
@media (max-width: 600px) {
  .g4, .g5, .wraps, .team, .stats, .incl, .steps { grid-template-columns: 1fr; }
  .footer .wrap { grid-template-columns: 1fr; }
  .hdr .logo img { height: 32px; }
}

/* Emphasis underline on key headline words */
u.ul { text-decoration: underline; text-decoration-color: var(--green); text-decoration-thickness: .09em; text-underline-offset: .14em; text-decoration-skip-ink: none; }

/* Partner cards: equal heights, labels/foots locked to one line, foot pinned to bottom */
.pgrid .card { display: flex; flex-direction: column; }
.pgrid .card p { flex: 1; }
@media (min-width: 1100px) {
  .pgrid .card .k { white-space: nowrap; }
  .pgrid .card .foot { white-space: nowrap; }
}

/* ---------- Opt4Mapping polygon map ---------- */
.polymap { margin: 0; background: transparent; box-shadow: none; padding: 0; position: relative; z-index: 1; }
.pm-canvas svg { filter: drop-shadow(0 18px 22px rgba(20,24,60,.18)) drop-shadow(0 3px 5px rgba(20,24,60,.10)); overflow: visible; }
.pm-canvas svg { display: block; width: 100%; height: auto; }
.pm-st { fill: rgba(255,255,255,.72); stroke: none; }
.pm-st.pm-focus { fill: rgba(214,224,243,.92); }
.pm-mesh { fill: none; stroke: rgba(44,31,123,.16); stroke-width: .8; }
.pm-util { fill: rgba(44,31,123,.10); stroke: rgba(44,31,123,.45); stroke-width: .8; stroke-linejoin: round; }
.pm-zone { fill: rgba(118,183,42,.55); stroke: #5A9A1C; stroke-width: .7; stroke-linejoin: round; }
.pm-cor { fill: none; stroke: #76B72A; stroke-width: 2.4; stroke-linecap: round; opacity: .95; }
.pm-site { fill: #2C1F7B; stroke: #fff; stroke-width: .8; }
.pm-shield { fill: #fff; stroke: #2C1F7B; stroke-width: 1.2; }
.pm-shield-t { font: 800 12px Inter, sans-serif; fill: #2C1F7B; }
.pm-lbl { font: 800 15px Inter, sans-serif; fill: #2C1F7B; letter-spacing: .06em; paint-order: stroke; stroke: rgba(255,255,255,.85); stroke-width: 3px; }
.pm-key { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; padding: 14px 4px 0; margin-top: 4px; border-top: 1px solid rgba(44,31,123,.14); font-size: 12px; font-weight: 600; color: var(--head); }
.pm-key span { display: inline-flex; align-items: center; gap: 8px; }
.pm-key i { display: inline-block; width: 16px; height: 10px; border-radius: 2px; }
.pm-key .k-cor { height: 3px; background: #76B72A; }
.pm-key .k-util { background: rgba(44,31,123,.12); border: 1px solid rgba(44,31,123,.45); }
.pm-key .k-zone { background: rgba(118,183,42,.55); border: 1px solid #5A9A1C; }
.pm-key .pm-note { margin-left: auto; color: var(--mute); font-weight: 500; font-style: italic; }
.chips .chip { white-space: nowrap; }
.hero-strip .v { white-space: nowrap; }
@media (max-width: 700px) { .hero-strip .v { white-space: normal; } }

#programs > .wrap::before { display: none; }

/* Footer social */
.footer .social { display: flex; gap: 10px; margin-top: 22px; }
.footer .social a { width: 38px; height: 38px; border-radius: 3px; display: grid; place-items: center; background: #1A1F28; border: 1px solid #2A313D; transition: background .15s, border-color .15s; }
.footer .social a:hover { background: var(--green); border-color: var(--green); }
.footer .social svg { width: 17px; height: 17px; fill: #C9CED6; }
.footer .social a:hover svg { fill: #fff; }

/* Social links under each contact: icons only */
.person .psoc { display: flex; gap: 8px; margin-top: 10px; }
.person .psoc a { width: 28px; height: 28px; border-radius: 3px; display: grid; place-items: center; background: #fff; border: 1px solid var(--line) !important; color: var(--head); transition: background .15s, border-color .15s, color .15s; }
.person .psoc svg { width: 14px; height: 14px; fill: currentColor; }
.person .psoc a:hover { background: var(--green); border-color: var(--green) !important; color: #fff; }

/* Contact icons: white, soft shadow (names stay the focus) */
.person .psoc a, .person .psoc a.s-li, .person .psoc a.s-x, .person .psoc a.s-mail {
  background: #fff; color: var(--head); border: 0 !important;
  box-shadow: 0 1px 2px rgba(20,24,60,.10), 0 3px 8px rgba(20,24,60,.08);
  transition: transform .15s, box-shadow .15s, color .15s;
}
.person .psoc a:hover { color: var(--green-tx); transform: translateY(-1px); box-shadow: 0 2px 4px rgba(20,24,60,.12), 0 6px 14px rgba(20,24,60,.12); filter: none; background: #fff; }
.person img, .person .ini { box-shadow: 0 2px 4px rgba(20,24,60,.12), 0 6px 14px rgba(20,24,60,.12); }

/* ===== Headline treatment C: Bevel Edge (site-wide) ===== */
.head h2, .split h2, .contact h2, .sec h2, .sec h2 span, .head h2 span, .split h2 span, .contact h2 span {
  text-shadow:
    0 -1px 0 rgba(255,255,255,.95),
    0 1px 0 rgba(10,20,70,.35),
    0 2px 0 rgba(10,20,70,.18),
    0 4px 8px rgba(22,42,117,.22),
    0 12px 22px rgba(22,42,117,.14);
}
/* Dark backgrounds (dark sections, heroes, CTA bands, photo sections) */
.sec.dark h2, .sec.dark h2 span, .hero h1, .hero h1 span, .cta-band h2, .cta-band h2 span,
.rev-band h2, .rev-band h2 span, .bob h2, .bob h2 span {
  text-shadow:
    0 -1px 0 rgba(255,255,255,.35),
    0 1px 0 rgba(0,0,0,.6),
    0 2px 0 rgba(0,0,0,.4),
    0 6px 14px rgba(0,0,0,.5);
}
/* Don't bevel small headings inside cards */
.card h2, .card h3, .pcard h3, .div-card h3, .aud-card h3 { text-shadow: none; }

/* ===== Division logos: subtle lift on dark/photo backgrounds ===== */
.hero-logo .o4lock, .hero-logo img.o4ev, .div-card h3 .o4lock, .div-card h3 img.o4ev, .aud-card .o4lock {
  filter: drop-shadow(0 1px 0 rgba(0,0,0,.45)) drop-shadow(0 6px 14px rgba(0,0,0,.45));
}

/* Dark backgrounds: stronger crisp edge (option 1) so the bevel reads on dark */
.sec.dark h2, .sec.dark h2 span, .hero h1, .hero h1 span, .cta-band h2, .cta-band h2 span,
.rev-band h2, .rev-band h2 span, .bob h2, .bob h2 span {
  text-shadow:
    0 -1px 0 rgba(255,255,255,.45),
    0 1px 0 rgba(0,0,0,.85),
    0 2px 0 rgba(0,0,0,.7),
    0 3px 0 rgba(0,0,0,.45),
    0 8px 16px rgba(0,0,0,.55);
}

/* Opt4EV How It Works: 4-stall drawing floats on the page (no white box) */
.site-peek { background: transparent; box-shadow: none; padding: 0; border-radius: 0; }
.site-peek img { filter: drop-shadow(0 14px 18px rgba(20,24,60,.20)) drop-shadow(0 3px 5px rgba(20,24,60,.12)); }
.site-peek span { margin-top: 14px; padding-top: 12px; border-top: 1px solid rgba(44,31,123,.14); }

/* Lift the 4-stall drawing so its top edge sits level with the "Three Steps" headline */
.head-site { align-items: start; }
.head-site .site-peek, .foldable .head-site > div.site-peek:last-child { margin-top: 30px; align-self: start; }
@media (max-width: 860px) { .head-site .site-peek { margin-top: 8px; } }

/* Long division name (Acquisitions) scaled to fit its card */
.div-card h3 .o4lock.o4-long { font-size: clamp(30px, 2.7vw, 40px); }

/* Topic tags: balanced 3-up grid (3, or 3 over 3) */
.topics { display: grid; grid-template-columns: repeat(3, max-content); gap: 6px; }
.topics span { white-space: nowrap; text-align: center; }
@media (max-width: 700px) { .topics { display: flex; flex-wrap: wrap; } }

/* =====================================================================
   SOFT UI LAYER (html.soft) — rounded corners, rim highlight, softer depth
   Turn off for comparison by adding ?flat to any page URL.
   ===================================================================== */
html.soft {
  --r-card: 12px; --r-sm: 6px; --r-xs: 4px;
  --shadow:
    inset 0 1px 0 rgba(255,255,255,1),
    inset 0 0 0 1px rgba(20,32,80,.09),
    0 1px 2px rgba(14,26,60,.05),
    0 8px 22px rgba(14,26,60,.07),
    0 26px 50px rgba(14,26,60,.08);
  --shadow-hover:
    inset 0 1px 0 rgba(255,255,255,1),
    inset 0 0 0 1px rgba(118,183,42,.55),
    0 2px 4px rgba(14,26,60,.06),
    0 14px 30px rgba(14,26,60,.10),
    0 0 0 4px rgba(118,183,42,.10);
}
/* Cards, panels, photos: 12px */
html.soft :is(.card, .pcard, .div-card, .aud-card, .svc, .rev, .revrow, .bob-card, .media, .step .ph,
  .peek span, .incl, .wrapc, .member, .form, .dd, .split > .media) { border-radius: var(--r-card); }
/* Left accent bar and top form bar follow the card curve */
html.soft :is(.card.edge, .bob-card)::before { border-radius: var(--r-card) 0 0 var(--r-card); }
html.soft .form::before, html.soft .dd::before { border-radius: var(--r-card) var(--r-card) 0 0; }
/* Buttons, inputs, toggles: 6px */
html.soft :is(.btn, .tog, .fold-btn .tog, .form input, .form select, .form textarea, .person .psoc a, .footer .social a, .burger, .dd a, .result) { border-radius: var(--r-sm); }
/* Tags, chips, small labels: 4px */
html.soft :is(.topics span, .div-card .tag, .chip, .aud-k, .refill span, .sharebar, .bob-bar, .form .thanks) { border-radius: var(--r-xs); }

/* Rim highlight on dark cards and photo cards */
html.soft :is(.card.ink, .div-card, .aud-card) { box-shadow: inset 0 1px 0 rgba(255,255,255,.14), inset 0 0 0 1px rgba(255,255,255,.06), 0 10px 28px rgba(0,0,0,.28), 0 28px 56px rgba(0,0,0,.22); }

/* Hover: lift + soft green edge glow on clickable cards */
html.soft :is(.pcard, .wrapc, .member) { transition: transform .25s ease, box-shadow .25s ease; }
html.soft a.pcard:hover, html.soft .wrapc:hover, html.soft .member:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
html.soft :is(.div-card, .aud-card) { transition: transform .25s ease, box-shadow .25s ease; }
html.soft :is(.div-card, .aud-card):hover { transform: translateY(-3px); box-shadow: inset 0 1px 0 rgba(255,255,255,.2), inset 0 0 0 1px rgba(140,203,63,.6), 0 0 0 4px rgba(118,183,42,.14), 0 16px 34px rgba(0,0,0,.32); }

/* Squircle corners where supported (newer Chrome); others keep normal rounding */
@supports (corner-shape: squircle) {
  html.soft :is(.card, .pcard, .div-card, .aud-card, .svc, .rev, .revrow, .bob-card, .media, .step .ph, .peek span, .incl, .wrapc, .member, .form, .btn, .tog) { corner-shape: squircle; }
}

/* Soft UI: components missed in first pass */
html.soft .layer { border-radius: var(--r-card); overflow: hidden; }
html.soft .tab { border-radius: var(--r-sm); }
html.soft :is(.tline > div, .tline i, .dwell .bar) { border-radius: var(--r-xs); }
@supports (corner-shape: squircle) { html.soft .layer, html.soft .tab { corner-shape: squircle; } }

/* =====================================================================
   GLASS RIM (option E, dialed up) — applies on top of html.soft
   ===================================================================== */
html.soft { --r-card: 14px; --r-sm: 8px; --r-xs: 5px; }

/* 1. Light cards: crisp glass bevel, bright top-left fading bottom-right */
html.soft :is(.card:not(.ink), .pcard, .wrapc, .member, .revrow, .svc, .incl, .form) {
  background: linear-gradient(160deg, #FFFFFF 0%, #FFFFFF 45%, #F6F8FC 100%);
  box-shadow:
    inset 0 1px 0 #fff,
    0 1px 2px rgba(14,26,60,.06),
    0 10px 26px rgba(14,26,60,.08),
    0 28px 54px rgba(14,26,60,.08);
}
html.soft :is(.card:not(.ink), .wrapc, .member, .revrow, .form)::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; padding: 1px;
  background: linear-gradient(135deg, rgba(255,255,255,1) 0%, rgba(222,228,240,.75) 35%, rgba(205,213,230,.35) 75%, rgba(205,213,230,.18) 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
          mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
/* glossy sheen across the top-left of light cards */
html.soft .card:not(.ink) { background:
  radial-gradient(120% 70% at 0% 0%, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 55%),
  linear-gradient(160deg, #FFFFFF 0%, #FBFCFE 50%, #F2F5FA 100%); }
html.soft :is(.wrapc, .member) { position: relative; }

/* 2. Dark cards: richer Opt4-green trim, bright at top-left fading into slate */
html.soft .card.ink { background: linear-gradient(160deg, #1D2433 0%, #151A25 60%, #10141D 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.16), 0 12px 30px rgba(0,0,0,.30), 0 30px 60px rgba(0,0,0,.22), -6px -6px 30px -14px rgba(140,203,63,.35); }
html.soft .card.ink::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; padding: 1.5px;
  background: linear-gradient(135deg, #B4E36E 0%, #8CCB3F 14%, rgba(118,183,42,.45) 34%, rgba(70,84,110,.45) 62%, rgba(50,60,80,.35) 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
          mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}

/* 3. Modern accent: thick left bar becomes a recessed, glossy green rail */
html.soft :is(.card.edge, .revrow, .bob-card)::before {
  left: 0; top: 14px; bottom: 14px; width: 4px; border-radius: 0 4px 4px 0;
  background: linear-gradient(180deg, #B4E36E 0%, #8CCB3F 35%, #5E9E1E 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.65), inset -1px 0 0 rgba(0,0,0,.12), 2px 0 10px rgba(118,183,42,.35);
}
html.soft .card.edge.grey::before { background: linear-gradient(180deg, #D3D8E0, #A9B0BB); box-shadow: inset 0 1px 0 rgba(255,255,255,.7); }
html.soft .bob-card::before { background: linear-gradient(180deg, #4A5EB8, var(--head)); box-shadow: inset 0 1px 0 rgba(255,255,255,.4); }
/* form top bar: thin glossy rim instead of a flat stripe */
html.soft .form::before { left: 18px; right: 18px; height: 3px; top: 0; border-radius: 0 0 4px 4px;
  background: linear-gradient(90deg, rgba(140,203,63,0) 0%, #8CCB3F 18%, #B4E36E 50%, #8CCB3F 82%, rgba(140,203,63,0) 100%);
  box-shadow: 0 2px 10px rgba(118,183,42,.35); }

/* 4. Tactile green CTA: top-edge light bevel + soft green glow */
html.soft .btn-green {
  background: linear-gradient(180deg, #8ACB3D 0%, #76B72A 55%, #67A321 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.45), inset 0 -1px 0 rgba(0,0,0,.12), 0 1px 2px rgba(40,70,10,.25), 0 8px 22px rgba(118,183,42,.38);
}
html.soft .btn-green:hover { background: linear-gradient(180deg, #93D447 0%, #7CBF2E 55%, #6AA823 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.55), inset 0 -1px 0 rgba(0,0,0,.12), 0 2px 4px rgba(40,70,10,.25), 0 12px 30px rgba(118,183,42,.48); }
html.soft .fold-btn .tog { background: linear-gradient(180deg, #8ACB3D 0%, #76B72A 55%, #67A321 100%); box-shadow: inset 0 1px 0 rgba(255,255,255,.45), 0 6px 16px rgba(118,183,42,.35); }
/* white outline button gets the same glass top edge */
html.soft .btn-line { box-shadow: inset 0 1px 0 #fff, inset 0 0 0 1.5px var(--line), 0 2px 6px rgba(14,26,60,.06); }

/* ===== Edge rule (final): light boxes have NO outline, just top highlight + soft shadow.
   Green trim stays on dark cards only. ===== */
html.soft {
  --shadow:
    inset 0 1px 0 rgba(255,255,255,1),
    0 1px 2px rgba(14,26,60,.05),
    0 8px 22px rgba(14,26,60,.07),
    0 26px 50px rgba(14,26,60,.08);
}
html.soft :is(.card:not(.ink), .wrapc, .member, .revrow, .form)::after { content: none; display: none; }
html.soft :is(.card:not(.ink), .pcard, .wrapc, .member, .revrow, .svc, .incl, .form, .site-peek) {
  border: 0;
  box-shadow:
    inset 0 1px 0 #fff,
    0 1px 2px rgba(14,26,60,.05),
    0 10px 26px rgba(14,26,60,.08),
    0 28px 54px rgba(14,26,60,.08);
}
html.soft .site-peek { box-shadow: none; }
/* icons + inputs: no grey ring either */
html.soft .person .psoc a { box-shadow: 0 1px 2px rgba(20,24,60,.10), 0 3px 8px rgba(20,24,60,.08); }
html.soft :is(.form input, .form select, .form textarea) { box-shadow: inset 0 0 0 1px rgba(20,32,80,.10); }
html.soft :is(.form input, .form select, .form textarea):focus { box-shadow: inset 0 0 0 2px var(--indigo); }
html.soft .btn-line { box-shadow: inset 0 1px 0 #fff, inset 0 0 0 1.5px rgba(20,32,80,.12), 0 2px 6px rgba(14,26,60,.06); }

/* Dark card trim: green glows from the top-left CORNER only (radial), then fades to a faint rim,
   so it doesn't read as a full-height green bar on wide cards */
html.soft .card.ink::after {
  padding: 1px;
  background:
    radial-gradient(260px 200px at 0 0, #B4E36E 0%, #8CCB3F 22%, rgba(118,183,42,.45) 48%, rgba(118,183,42,0) 100%),
    linear-gradient(rgba(255,255,255,.08), rgba(255,255,255,.08));
}
html.soft .card.ink { box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 12px 30px rgba(0,0,0,.30), 0 30px 60px rgba(0,0,0,.22); }

/* Dark cards (final): no green on the sides. Faint light rim all round + a thin green highlight along the TOP edge only. */
html.soft .card.ink::after {
  padding: 1px;
  background: linear-gradient(180deg, rgba(255,255,255,.16), rgba(255,255,255,.05));
}
html.soft .card.ink::before {
  content: ""; position: absolute; top: 0; left: 18px; width: 55%; height: 2px; border-radius: 0 0 2px 2px;
  background: linear-gradient(90deg, #B4E36E 0%, #8CCB3F 35%, rgba(140,203,63,0) 100%);
  box-shadow: 0 1px 8px rgba(140,203,63,.45);
  pointer-events: none;
}

/* Dark cards: remove the green top line entirely (read as broken on black fill). Faint light rim only. */
html.soft .card.ink::before { content: none; display: none; }

/* Leaf "4" watermark (final rule, all pages): anchored top-right, bleeding off the right edge,
   so it never sits behind body text, cards or buttons. Same size + spot on every section. */
.sec.dark > .wrap::before, .cta-band .wrap::before, .sec.wash > .wrap::before {
  top: -24px; bottom: auto; transform: none;
  right: clamp(-150px, -7vw, -40px);
  width: clamp(200px, 20vw, 300px);
}
.cta-band .wrap::before { top: 50%; transform: translateY(-50%); }

/* Hero looping video: sits over the still photo, fades in once playing. Removed on phones / reduced motion / slow data. */
.hero > video.bg-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; opacity: 0; transition: opacity 1.2s ease; }
.hero > video.bg-video.on { opacity: 1; }
@media (max-width: 760px), (prefers-reduced-motion: reduce) { .hero > video.bg-video { display: none; } }

/* Opt4Mapping hero: animated green corridors, parcel polygons and pulsing pins over the video (right side only) */
.hero > .hero-overlay {
  position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, transparent 42%, #000 62%);
          mask-image: linear-gradient(90deg, transparent 0%, transparent 42%, #000 62%);
}
.hero-overlay .cor {
  fill: none; stroke: #8CCB3F; stroke-width: 2.4; stroke-linecap: round;
  filter: drop-shadow(0 0 6px rgba(140,203,63,.8));
  stroke-dasharray: 1400; stroke-dashoffset: 1400; animation: corDraw 3.2s ease-out forwards, corGlow 4s ease-in-out 3.2s infinite;
}
.hero-overlay .c1 { animation-delay: .4s, 3.6s; } .hero-overlay .c2 { animation-delay: .8s, 4s; }
.hero-overlay .c3 { animation-delay: 1.2s, 4.4s; } .hero-overlay .c4 { stroke-dasharray: 6 8; stroke-dashoffset: 0; opacity: 0; stroke-width: 2; animation: fadeIn .8s ease 1.6s forwards, dashRun 1.6s linear 1.6s infinite; }
.hero-overlay .poly { fill: rgba(118,183,42,.16); stroke: rgba(140,203,63,.85); stroke-width: 1.5; opacity: 0; animation: fadeIn .9s ease forwards; }
.hero-overlay .p1 { animation-delay: 1.8s; } .hero-overlay .p2 { animation-delay: 2.2s; } .hero-overlay .p3 { animation-delay: 2.6s; } .hero-overlay .p4 { animation-delay: 3s; }
.hero-overlay .pin { opacity: 0; animation: fadeIn .6s ease forwards; }
.hero-overlay .n0 { animation-delay: 2s; } .hero-overlay .n1 { animation-delay: 2.4s; } .hero-overlay .n2 { animation-delay: 2.8s; } .hero-overlay .n3 { animation-delay: 3.2s; } .hero-overlay .n4 { animation-delay: 3.6s; }
.hero-overlay .dot { fill: #B4E36E; }
.hero-overlay .ring { fill: none; stroke: #8CCB3F; stroke-width: 2; }
.hero-overlay .halo { fill: rgba(140,203,63,.25); transform-box: fill-box; transform-origin: center; animation: pinPulse 2.4s ease-out infinite; }
.hero-overlay .n1 .halo { animation-delay: .5s; } .hero-overlay .n2 .halo { animation-delay: 1s; } .hero-overlay .n3 .halo { animation-delay: 1.5s; } .hero-overlay .n4 .halo { animation-delay: 2s; }
@keyframes corDraw { to { stroke-dashoffset: 0; } }
@keyframes corGlow { 0%,100% { opacity: 1; } 50% { opacity: .55; } }
@keyframes dashRun { to { stroke-dashoffset: -28; } }
@keyframes fadeIn { to { opacity: 1; } }
@keyframes pinPulse { 0% { transform: scale(.4); opacity: .9; } 100% { transform: scale(1.8); opacity: 0; } }
@media (max-width: 860px) { .hero > .hero-overlay { -webkit-mask-image: linear-gradient(180deg, transparent 30%, #000 70%); mask-image: linear-gradient(180deg, transparent 30%, #000 70%); opacity: .7; } }
@media (prefers-reduced-motion: reduce) { .hero-overlay * { animation: none !important; opacity: 1 !important; stroke-dashoffset: 0 !important; } }

/* Mapping overlay: keep it clear of the headline. Show only the lower-right zone (intersect of two masks). */
.hero > .hero-overlay {
  -webkit-mask-image: linear-gradient(90deg, transparent 58%, #000 72%), linear-gradient(180deg, transparent 50%, #000 62%);
  -webkit-mask-composite: source-in;
          mask-image: linear-gradient(90deg, transparent 58%, #000 72%), linear-gradient(180deg, transparent 50%, #000 62%);
          mask-composite: intersect;
}
@media (max-width: 860px) { .hero > .hero-overlay { -webkit-mask-image: linear-gradient(180deg, transparent 55%, #000 75%); mask-image: linear-gradient(180deg, transparent 55%, #000 75%); -webkit-mask-composite: source-over; mask-composite: add; } }

/* ===== Opt4Mapping light hero with live U.S. map ===== */
.hero.hero-light { background: linear-gradient(180deg, #F7F9FC 0%, #EDF1F7 100%); color: var(--text); }
.hero.hero-light::before {
  background:
    radial-gradient(60% 70% at 78% 45%, rgba(118,183,42,.10), transparent 70%),
    linear-gradient(90deg, #F7F9FC 0%, rgba(247,249,252,.92) 34%, rgba(247,249,252,0) 56%);
}
.hero.hero-light h1 { color: var(--indigo); text-shadow: none; }
.hero.hero-light h1 span { color: var(--green-tx); }
.hero.hero-light .lead { color: #4B5563; }
.hero.hero-light .lead strong { color: var(--indigo); }
.hero.hero-light .ribbon { color: var(--green-tx); }
.hero.hero-light .btn-line { background: #fff; color: var(--indigo); box-shadow: inset 0 0 0 1.5px rgba(22,42,117,.18), 0 4px 14px rgba(14,26,60,.08); }
.hero.hero-light .hero-strip { border-top-color: rgba(22,42,117,.14); }
.hero.hero-light .hero-strip > div + div { border-left-color: rgba(22,42,117,.14); }
.hero.hero-light .hero-strip .k { color: var(--green-tx); }
.hero.hero-light .hero-strip .v { color: var(--indigo); }
.hero.hero-light .hero-strip .s { color: #5A6270; }
.hero.hero-light .wrap > :not(.hero-strip) { max-width: 600px; }

.hero-map { position: absolute; z-index: -2; right: -2%; top: 50%; transform: translateY(-54%); width: min(64vw, 1020px); aspect-ratio: 975 / 610; }
.hero-map svg { width: 100%; height: 100%; display: block; overflow: visible; }
.hm-st { fill: #E3E9F2; }
.hm-dot { fill: rgba(22,42,117,.13); }
.hm-inner { fill: none; stroke: #fff; stroke-width: 1.2; }
.hm-nation { fill: none; stroke: rgba(22,42,117,.22); stroke-width: 1.2; }
.hm-cor-base { fill: none; stroke: rgba(22,42,117,.10); stroke-width: 5; stroke-linecap: round; }
.hm-cor { fill: none; stroke: #76B72A; stroke-width: 2.6; stroke-linecap: round; }
.hm-flow { fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-dasharray: 2 26; opacity: 0; animation: hmFlow 2.2s linear infinite, hmFade .6s ease forwards; }
@keyframes hmDraw { to { stroke-dashoffset: 0; } }
@keyframes hmFlow { to { stroke-dashoffset: -56; } }
@keyframes hmFade { to { opacity: .9; } }
.hm-pin { opacity: 0; transform-box: fill-box; transition: opacity .4s ease; }
.hm-pin.on { opacity: 1; }
.hm-core { fill: var(--indigo); stroke: #fff; stroke-width: 1.6; }
.hm-ring { fill: #fff; stroke: #76B72A; stroke-width: 2.2; }
.hm-halo { fill: rgba(118,183,42,.28); transform-box: fill-box; transform-origin: center; animation: hmPulse 2.6s ease-out infinite; }
.hm-pin.hit .hm-core { fill: #76B72A; }
.hm-pin.hit .hm-halo { fill: rgba(118,183,42,.45); }
@keyframes hmPulse { 0% { transform: scale(.4); opacity: .9; } 100% { transform: scale(2); opacity: 0; } }

.hm-cards { position: absolute; inset: 0; pointer-events: none; }
.hm-card {
  position: absolute; transform: translate(14px, -50%) translateY(8px) scale(.96); opacity: 0;
  min-width: 168px; padding: 10px 14px 11px; border-radius: 10px; background: #fff;
  box-shadow: inset 0 1px 0 #fff, 0 2px 4px rgba(14,26,60,.06), 0 12px 28px rgba(14,26,60,.14);
  display: grid; gap: 2px; transition: opacity .45s ease, transform .45s cubic-bezier(.2,.8,.2,1);
}
.hm-card.flip { transform: translate(calc(-100% - 14px), -50%) translateY(8px) scale(.96); }
.hm-card.in { opacity: 1; transform: translate(14px, -50%) scale(1); }
.hm-card.flip.in { transform: translate(calc(-100% - 14px), -50%) scale(1); }
.hm-card .hm-k { font-size: 9.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--green-tx); }
.hm-card b { font-size: 14.5px; font-weight: 700; color: var(--indigo); letter-spacing: -.01em; }
.hm-card .hm-l { font-size: 12px; color: #5A6270; }
.hm-card .hm-tag { justify-self: start; margin-top: 5px; font-size: 10px; font-weight: 700; letter-spacing: .06em; color: #fff; background: #76B72A; padding: 3px 7px; border-radius: 4px; }

@media (max-width: 1080px) {
  .hero-map { position: relative; z-index: 0; right: auto; top: auto; transform: none; width: 100%; margin: 8px auto -12px; max-width: 720px; }
  .hero.hero-light::before { background: none; }
  .hero.hero-light .wrap { display: flex; flex-direction: column; }
  .hero.hero-light .wrap > :not(.hero-strip) { max-width: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hm-cor { stroke-dashoffset: 0 !important; animation: none !important; }
  .hm-flow, .hm-halo { animation: none !important; }
  .hm-pin { opacity: 1; }
}

.hm-card .hm-tag { white-space: nowrap; }
.hm-card { white-space: nowrap; }
.hero.hero-light h1, .hero.hero-light h1 span { text-shadow: 0 1px 0 rgba(255,255,255,.6), 0 6px 18px rgba(22,42,117,.10); }
.hero.hero-light .o4lock { filter: none; }
.hero.hero-light .hero-logo, .hero.hero-light .hero-logo * { text-shadow: none; }

@media (max-width: 1080px) { .hero.hero-light { display: flex; flex-direction: column-reverse; } }

/* ===== Mapping light hero: subtle structure (masthead · headline · lead · actions · stat panel) ===== */
/* 1. Masthead: logo, then a fading hairline, ribbon as soft tags underneath */
.hero.hero-light .hero-logo { margin-bottom: 18px; padding-bottom: 18px; position: relative; }
.hero.hero-light .hero-logo::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: min(560px, 100%); height: 1px;
  background: linear-gradient(90deg, rgba(22,42,117,.28), rgba(22,42,117,.10) 60%, transparent);
}
.hero.hero-light .ribbon { gap: 8px; margin-bottom: 34px; letter-spacing: .14em; font-size: 10.5px; }
.hero.hero-light .ribbon i { display: none; }
.hero.hero-light .ribbon {
  /* each text node becomes a tag via a wrapper added in markup */
}
.hero.hero-light .ribbon .tg {
  display: inline-flex; align-items: center; gap: 7px; padding: 6px 11px; border-radius: 999px;
  background: rgba(255,255,255,.75); color: var(--indigo);
  box-shadow: inset 0 0 0 1px rgba(22,42,117,.10), 0 1px 2px rgba(14,26,60,.05);
  backdrop-filter: blur(6px);
}
.hero.hero-light .ribbon .tg::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--green); }

/* 2. Short green rule separates headline from body copy */
.hero.hero-light .lead { position: relative; margin-top: 30px; padding-top: 26px; }
.hero.hero-light .lead::before {
  content: ""; position: absolute; left: 0; top: 0; width: 48px; height: 3px; border-radius: 2px;
  background: linear-gradient(90deg, #8CCB3F, #5E9A1E);
}
.hero.hero-light .actions { margin-top: 34px; }

/* 3. Stats become a frosted panel, clearly its own band */
.hero.hero-light .hero-strip {
  margin-top: clamp(44px, 5vw, 68px); border-top: 0; border-radius: 16px; overflow: hidden;
  background: rgba(255,255,255,.72); backdrop-filter: blur(12px) saturate(1.2);
  box-shadow: inset 0 1px 0 #fff, 0 1px 2px rgba(14,26,60,.05), 0 14px 34px rgba(14,26,60,.08);
}
.hero.hero-light .hero-strip > div { padding: 24px 28px 24px; position: relative; }
.hero.hero-light .hero-strip > div + div { padding-left: 28px; border-left: 1px solid rgba(22,42,117,.09); }
.hero.hero-light .hero-strip > div::before {
  content: ""; position: absolute; left: 28px; top: 0; width: 28px; height: 3px; border-radius: 0 0 2px 2px; background: var(--green);
}
@media (max-width: 860px) {
  .hero.hero-light .hero-strip > div + div { border-left: 0; border-top: 1px solid rgba(22,42,117,.09); padding-left: 28px; }
}

/* ===== Opt4Acquisitions: scroll-driven site-scan overlay (right side, above the stat strip) ===== */
.hero > svg.acq-scan {
  position: absolute; z-index: -1; pointer-events: none;
  right: 0; top: 40px; bottom: 210px; width: 47%; height: auto;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 22%), linear-gradient(0deg, transparent 0%, #000 10%);
  -webkit-mask-composite: source-in;
          mask-image: linear-gradient(90deg, transparent 0%, #000 22%), linear-gradient(0deg, transparent 0%, #000 10%);
          mask-composite: intersect;
}
.acq-scan .as-cor { fill: none; stroke: #8CCB3F; stroke-width: 2.4; stroke-linecap: round; filter: drop-shadow(0 0 5px rgba(140,203,63,.75)); opacity: 0; }
.acq-scan .as-cross { fill: none; stroke: #B4E36E; stroke-width: 1.8; stroke-dasharray: 5 8; opacity: 0; animation: asDash 1.4s linear infinite; }
.acq-scan .as-edge { fill: none; stroke: #9BD84C; stroke-width: 1.8; stroke-linejoin: round; filter: drop-shadow(0 0 4px rgba(140,203,63,.7)); opacity: 0; }
.acq-scan .as-fill { fill: rgba(118,183,42,.20); opacity: 0; }
.acq-scan .as-pin { opacity: 0; }
.acq-scan .as-dot { fill: #C6F08A; }
.acq-scan .as-ring { fill: rgba(17,20,25,.55); stroke: #8CCB3F; stroke-width: 2; }
.acq-scan .as-halo { fill: rgba(140,203,63,.28); opacity: 0; transform-box: fill-box; transform-origin: center; }
.acq-scan .as-pin.live .as-halo { animation: asPulse 2.4s ease-out infinite; }
@keyframes asDash { to { stroke-dashoffset: -26; } }
@keyframes asPulse { 0% { transform: scale(.4); opacity: .9; } 100% { transform: scale(1.9); opacity: 0; } }
@media (max-width: 860px) { .hero > svg.acq-scan { display: none; } }

.hero > svg.acq-scan {
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 22%), linear-gradient(180deg, transparent 0%, transparent 42%, #000 62%, #000 92%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0%, #000 22%), linear-gradient(180deg, transparent 0%, transparent 42%, #000 62%, #000 92%, transparent 100%);
}

/* Acquisitions: headline kept to the left column so the scan can run the full height on the right */
#view-acquisitions h1 { max-width: 15ch; }
#view-acquisitions .lead { max-width: 560px; }
.hero > svg.acq-scan {
  left: auto; right: 0; top: 0; bottom: 190px; width: 50%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 18%), linear-gradient(180deg, transparent 0%, #000 9%, #000 93%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0%, #000 18%), linear-gradient(180deg, transparent 0%, #000 9%, #000 93%, transparent 100%);
}

/* ===== Uniform, compact division heroes (target ≈ home hero height; stat strip visible above the fold) ===== */
.hero:not(#view-overview) .wrap { padding-top: clamp(48px, 5.5vw, 84px); padding-bottom: clamp(36px, 3.6vw, 56px); }
.hero:not(#view-overview) .hero-logo { margin-bottom: 16px; }
.hero:not(#view-overview) .hero-logo .o4lock,
.hero:not(#view-overview) .hero-logo img.o4ev { font-size: clamp(32px, 3.1vw, 46px); }
.hero:not(#view-overview) .ribbon { margin-bottom: 18px; }
.hero h1.md { font-size: clamp(34px, 3.9vw, 56px); line-height: 1.04; }
.hero:not(#view-overview) .lead { margin-top: 20px; font-size: clamp(16px, 1.3vw, 18.5px); }
.hero:not(#view-overview) .actions { margin-top: 28px; }
.hero:not(#view-overview) .hero-strip { margin-top: clamp(32px, 3.6vw, 52px); }
.hero:not(#view-overview) .hero-strip > div { padding-top: 20px; }
#view-acquisitions h1 { max-width: 640px; }
/* light mapping hero keeps its structure, just tighter */
.hero.hero-light .hero-logo { margin-bottom: 14px; padding-bottom: 14px; }
.hero.hero-light .ribbon { margin-bottom: 22px; }
.hero.hero-light .lead { margin-top: 22px; padding-top: 20px; }
.hero.hero-light .actions { margin-top: 26px; }
.hero.hero-light .hero-strip { margin-top: clamp(32px, 3.6vw, 48px); }
.hero.hero-light .hero-strip > div { padding: 18px 28px 18px; }

/* Uniform division headlines: always 2 lines (white + green), one line each on desktop */
@media (min-width: 900px) {
  .hero h1.md, #view-acquisitions h1 { max-width: none; white-space: nowrap; }
}

.hero.hero-light .wrap { padding-top: clamp(40px, 4.5vw, 68px); }
.hero.hero-light .lead { margin-top: 16px; padding-top: 16px; }
.hero.hero-light .hero-strip { margin-top: clamp(26px, 3vw, 40px); }
.hero.hero-light .hero-strip > div { padding: 16px 28px 14px; }

/* Sales hero: bright daylight photo needs a stronger left-side scrim */
.hero#view-sales::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(8,12,34,.82) 0%, rgba(8,12,34,.62) 34%, rgba(8,12,34,.15) 62%, rgba(8,12,34,0) 100%),
    linear-gradient(0deg, rgba(8,12,34,.85) 0%, rgba(8,12,34,0) 32%) !important;
}


/* Plain closing band (no photo): brand indigo + faint map texture */
.cta-band.cta-plain { background: linear-gradient(120deg, #141A4A 0%, #1E1A63 55%, #2C1F7B 100%); }
.cta-band.cta-plain::before, .cta-band.cta-plain::after { display: none !important; }
.cta-band.cta-plain img.cta-motif {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .07; z-index: 0;
  -webkit-mask-image: linear-gradient(90deg, transparent 20%, #000 75%); mask-image: linear-gradient(90deg, transparent 20%, #000 75%);
}
.cta-band.cta-plain > .wrap { position: relative; z-index: 1; }

/* Sales closing band: darken left so copy reads over the brighter dusk photo */
body:has(#view-sales) .cta-band:not(.cta-plain)::before { content:""; position:absolute; inset:0; z-index:0; display:block !important;
  background: linear-gradient(90deg, rgba(14,18,48,.92) 0%, rgba(14,18,48,.78) 45%, rgba(14,18,48,.35) 100%); }
body:has(#view-sales) .cta-band > .wrap { position: relative; z-index: 1; }

/* ===== Opt4NEVI ===== */
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green-hi); box-shadow: 0 0 0 0 rgba(140,203,63,.7); animation: livePulse 1.8s infinite; }
@keyframes livePulse { 0% { box-shadow: 0 0 0 0 rgba(140,203,63,.6); } 70% { box-shadow: 0 0 0 9px rgba(140,203,63,0); } 100% { box-shadow: 0 0 0 0 rgba(140,203,63,0); } }
.menu > .mi.mi-nevi > a b::after { content: "OPEN"; margin-left: 6px; font-size: 9px; font-weight: 800; letter-spacing: .12em; color: #fff; background: var(--green); padding: 2px 5px; border-radius: 2px; vertical-align: 2px; }
.dd a.dd-ext { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 14px; color: var(--indigo); font-weight: 600; }
.dd a.dd-ext span { color: var(--green); }

.cmp { display: grid; grid-template-columns: minmax(150px, .8fr) 1fr 1fr; background: #fff; border-radius: 3px; overflow: hidden; box-shadow: var(--shadow); }
.cmp > div { padding: 16px 24px; font-size: 15px; line-height: 1.5; color: var(--text); border-top: 1px solid var(--line); }
.cmp > div:nth-child(3n+2) { background: #F6F8FC; border-left: 1px solid var(--line); border-right: 1px solid var(--line); }
.cmp b { color: var(--head); }
.cmp .cmp-h { border-top: 0; padding: 26px 24px 20px; }
.cmp .cmp-h .o4lock { font-size: 26px; color: var(--head); margin: 0; }
.cmp .cmp-h .o4lock img { height: 1em; }
.cmp .cmp-h small { display: block; margin-top: 8px; font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--green-tx); }
.cmp .cmp-h.nevi { background: var(--head) !important; border-color: var(--head) !important; }
.cmp .cmp-h.nevi .o4lock, .cmp .cmp-h.nevi .o4lock span { color: #fff; }
.cmp .cmp-h.nevi small { color: var(--green-hi); }
.cmp .cmp-k { font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--mute); padding-top: 19px; }
.cmp .g-cell { font-size: 20px; font-weight: 800; color: var(--green-tx); }
.cmp .cmp-foot { padding: 22px 24px 26px; }
@media (max-width: 760px) {
  .cmp { grid-template-columns: 1fr 1fr; }
  .cmp > .cmp-h:first-child, .cmp > .cmp-foot:nth-last-child(3) { display: none; }
  .cmp .cmp-k { grid-column: 1 / -1; padding-bottom: 4px; background: #fff !important; border-left: 0 !important; border-right: 0 !important; }
  .cmp > div { padding: 12px 16px; font-size: 14px; }
  .cmp .cmp-foot .btn { width: 100%; justify-content: center; padding: 0 10px; font-size: 13px; }
}
.chevs:has(.chev:nth-child(5)) .chev { font-size: 13px; }

.nevi-callout, .nevi-band .wrap { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 20px 28px; text-decoration: none; }
.nevi-callout { padding: 22px 28px; background: var(--head); color: #D5DAF0; border-radius: 3px; box-shadow: var(--shadow); border-left: 5px solid var(--green); transition: transform .15s; }
.nevi-callout:hover { transform: translateY(-2px); }
.nc-k { display: inline-flex; align-items: center; gap: 10px; font-size: 11px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--green-hi); white-space: nowrap; }
.nc-t { font-size: 16px; line-height: 1.5; }
.nc-t b { color: #fff; }
.nc-go { font-size: 14px; font-weight: 700; color: #fff; white-space: nowrap; }
.nevi-band { display: block; background: linear-gradient(90deg, #141A4A, #2C1F7B); color: #D5DAF0; text-decoration: none; border-bottom: 3px solid var(--green); }
.nevi-band .wrap { padding-top: 18px; padding-bottom: 18px; }
.nevi-band:hover .nc-go { color: var(--green-hi); }
@media (max-width: 760px) { .nevi-callout, .nevi-band .wrap { grid-template-columns: 1fr; gap: 8px; } }

/* NEVI comparison: wider value columns, single-line cells */
.cmp { grid-template-columns: minmax(140px, .62fr) 1fr 1fr; }
.cmp > div { white-space: nowrap; }
.cmp > .cmp-k { white-space: nowrap; }
@media (max-width: 1100px) { .cmp > div { white-space: normal; } }

/* NEVI deadlines */
.clock { background: var(--dk2); border-radius: 3px; padding: 28px; box-shadow: var(--shadow-dk); }
.clock-row { display: grid; grid-template-columns: 70px 1fr 78px; align-items: center; gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--dk-line); }
.ck-s { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--dk-tx); }
.ck-bar { position: relative; height: 12px; background: rgba(255,255,255,.06); border-radius: 2px; }
.ck-bar i { position: absolute; top: 0; bottom: 0; background: var(--green); border-radius: 2px; box-shadow: 0 0 12px rgba(140,203,63,.45); }
.ck-d { font-size: 13px; font-weight: 700; color: #fff; text-align: right; }
.ck-axis { display: flex; justify-content: space-between; margin: 10px 92px 0 84px; font-size: 11px; color: var(--mute-2); letter-spacing: .08em; }
.ck-pts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 24px; background: var(--dk-line); border-radius: 2px; overflow: hidden; }
.ck-pts > div { background: var(--dk); padding: 14px 16px; }
.ck-pts b { display: block; color: #fff; font-size: 14px; }
.ck-pts span { font-size: 12.5px; color: var(--dk-tx); }
.ck-note { font-size: 12px; color: var(--mute-2); margin-top: 14px; }
@media (max-width: 760px) { .ck-pts { grid-template-columns: 1fr; } .ck-axis { margin: 10px 0 0 84px; } }

/* NEVI next-door map */
.nm-box { position: relative; aspect-ratio: 1000 / 560; background: #F4F6FB; border-radius: 3px; overflow: hidden; box-shadow: var(--shadow); }
.nm-box svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.nm-dot { fill: #D7DCE7; }
.nm-road { stroke: #E2E6EF; stroke-width: 10; }
.nm-fill { fill: #E6E9F1; }
.nm-buf { fill: rgba(118,183,42,.07); stroke: var(--green); stroke-width: 2; stroke-dasharray: 7 6; transform-origin: 500px 290px; transform: scale(.2); opacity: 0; transition: transform 1.2s cubic-bezier(.3,.9,.3,1), opacity .8s; }
.nm-box.go .nm-buf { transform: scale(1); opacity: 1; }
.nm-buf-l { font-size: 11px; font-weight: 800; letter-spacing: .14em; fill: var(--green-tx); }
.nm-hwy-c { stroke: #fff; stroke-width: 26; }
.nm-hwy { stroke: var(--head); stroke-width: 18; stroke-linecap: round; }
.nm-xroad { stroke: #C9D0DD; stroke-width: 9; }
.nm-exit { fill: #fff; stroke: var(--head); stroke-width: 4; }
.nm-shield { fill: var(--head); }
.nm-shield-t { font-size: 13px; font-weight: 800; fill: #fff; text-anchor: middle; }
.nm-exit-l { font-size: 12px; font-weight: 800; letter-spacing: .12em; fill: var(--head); }
.nm-feed { fill: none; stroke: #E0A526; stroke-width: 3; stroke-dasharray: 2 6; stroke-linecap: round; }
.nm-sub { fill: #fff; stroke: #E0A526; stroke-width: 2.5; }
.nm-feed-l { font-size: 10px; font-weight: 800; letter-spacing: .14em; fill: #B98512; }
.nm-p rect { fill: #DCE1EB; stroke: #C3CAD8; stroke-width: 1.5; transition: fill .35s, stroke .35s; }
.nm-p.ok rect { fill: rgba(118,183,42,.25); stroke: var(--green); stroke-width: 3; }
.nm-p.no rect { fill: rgba(200,60,60,.10); stroke: #C24848; stroke-width: 3; stroke-dasharray: 6 4; }
.nm-cards { position: absolute; inset: 0; pointer-events: none; }
.nm-card {
  position: absolute; width: 210px; background: #fff; border-radius: 3px; padding: 10px 12px 11px; box-shadow: 0 10px 28px rgba(14,26,60,.2);
  font-size: 12px; line-height: 1.35; color: var(--text); opacity: 0; transition: opacity .35s, transform .35s;
}
.nm-card { transform: translateY(6px); }
.nm-card.in { opacity: 1; transform: none; }
.nm-card.ok { border-top: 3px solid var(--green); }
.nm-card.no { border-top: 3px solid #C24848; }
.nm-card b { display: block; font-size: 14px; color: var(--head); margin: 2px 0 2px; }
.nm-v { font-size: 10px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.nm-card.ok .nm-v { color: var(--green-tx); }
.nm-card.no .nm-v { color: #B23A3A; }
.nm-r { color: var(--mute); }
.nm-key { display: flex; flex-wrap: wrap; gap: 10px 24px; align-items: center; margin-top: 16px; font-size: 13px; font-weight: 600; color: var(--head); }
.nm-key span { display: inline-flex; align-items: center; gap: 8px; }
.nm-key i { width: 18px; height: 12px; border-radius: 2px; display: inline-block; }
.nm-key .k-ok { background: rgba(118,183,42,.25); box-shadow: inset 0 0 0 2px var(--green); }
.nm-key .k-no { background: rgba(200,60,60,.1); box-shadow: inset 0 0 0 2px #C24848; }
.nm-key .k-buf { border: 2px dashed var(--green); border-radius: 50%; width: 14px; height: 14px; }
.nm-key .k-feed { height: 0; border-top: 3px dotted #E0A526; border-radius: 0; }
.nm-key .nm-key-n { margin-left: auto; font-weight: 500; color: var(--mute); font-size: 12px; }
@media (max-width: 760px) {
  .nm-card { width: 46%; max-width: 170px; padding: 7px 9px 8px; font-size: 10.5px; }
  .nm-card b { font-size: 12.5px; }
  .nm-v { font-size: 9px; }
  .cmp .cmp-foot .btn { white-space: normal; height: auto; min-height: 44px; padding: 8px 10px; line-height: 1.25; text-align: center; }
  .nm-key .nm-key-n { margin-left: 0; }
}

/* Mapping hero: still polygon map on the right (light hero) */
.hero-still { position: absolute; z-index: -2; inset: 0 0 0 38%; }
.hero-still img { width: 100%; height: 100%; object-fit: cover; object-position: 40% 45%; display: block;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 30%); mask-image: linear-gradient(90deg, transparent 0%, #000 30%); }
@media (max-width: 1080px) { .hero-still { position: relative; inset: auto; height: 300px; z-index: 0; } .hero-still img { -webkit-mask-image: linear-gradient(0deg, transparent 0%, #000 25%); mask-image: linear-gradient(0deg, transparent 0%, #000 25%); } }

/* NEVI light hero: live tag + sub heading inside merged section */
.hero.hero-light .ribbon .tg-live { background: #fff; color: var(--green-tx); }
.hero.hero-light .ribbon .tg-live::before { display: none; }
.sub-h { margin: 56px 0 24px; }
.sub-h h3 { font-size: clamp(24px, 2.4vw, 32px); margin-top: 12px; color: var(--head); }
.hero.hero-light .ribbon .tg { white-space: nowrap; }

/* ===== NEVI hero: text left, exit-level radius map right ===== */
#view-nevi .wrap > .nv-hero-grid { max-width: none; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); gap: clamp(28px, 3.6vw, 56px); align-items: center; }
#view-nevi h1.md { white-space: normal; text-wrap: balance; font-size: clamp(34px, 3.5vw, 50px); }
#view-nevi h1.md span { white-space: nowrap; }
.nv-hero-map { margin: 0; }
.nv-hm-cap { display: grid; gap: 6px; margin-bottom: 12px; }
.nv-hm-cap .eyebrow { font-size: 10.5px; }
.nv-hm-cap b { font-size: clamp(17px, 1.5vw, 21px); font-weight: 700; color: var(--indigo); letter-spacing: -.01em; }
.nv-hm-cap b span { color: #B23A3A; }
.nv-hero-map .nm-box { box-shadow: inset 0 0 0 1px rgba(22,42,117,.08), 0 2px 4px rgba(14,26,60,.05), 0 18px 40px rgba(14,26,60,.12); border-radius: 12px; background: #fff; }
.nv-hero-map .nm-card { width: 190px; font-size: 11.5px; padding: 8px 11px 9px; }
.nv-hero-map .nm-card b { font-size: 13px; }
.nv-hero-map .nm-key { margin-top: 12px; font-size: 12px; gap: 8px 18px; }
@media (max-width: 1080px) {
  #view-nevi .wrap > .nv-hero-grid { grid-template-columns: 1fr; }
  .nv-hero-map { margin-top: 8px; }
}
@media (max-width: 600px) { .nv-hero-map .nm-card { width: 46%; } }

/* Polygon map as a soft background in NEVI "What Scores Well" */
#qualify { position: relative; overflow: hidden; isolation: isolate; }
#qualify > .sec-poly { position: absolute; z-index: -1; top: 0; right: 0; width: 58%; height: 100%; max-height: 900px; object-fit: cover; object-position: 30% 40%; opacity: .55; pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 45%), linear-gradient(180deg, #000 55%, transparent 100%);
  -webkit-mask-composite: source-in;
          mask-image: linear-gradient(90deg, transparent 0%, #000 45%), linear-gradient(180deg, #000 55%, transparent 100%);
          mask-composite: intersect; }
@media (max-width: 860px) { #qualify > .sec-poly { width: 100%; opacity: .3; } }
.nv-hero-map .nm-key span { white-space: nowrap; }
.nv-hero-map .nm-key .nm-key-n { margin-left: auto; }
#view-nevi .ribbon { flex-wrap: nowrap; }
@media (max-width: 1180px) { #view-nevi .ribbon { flex-wrap: wrap; } }
/* Mapping hero: cards on low (Gulf coast) pins open upward, clear of the stat strip */
.hm-card.rise { transform: translate(14px, -100%) translateY(-6px) scale(.96); }
.hm-card.rise.in { transform: translate(14px, calc(-100% - 12px)) scale(1); }
.hm-card.flip.rise { transform: translate(calc(-100% - 14px), -100%) translateY(-6px) scale(.96); }
.hm-card.flip.rise.in { transform: translate(calc(-100% - 14px), calc(-100% - 12px)) scale(1); }

.card.greenc, .sec .card.greenc { background: linear-gradient(160deg, #84C536 0%, #6AA824 100%) !important; }
.card.greenc .list b { color: #fff; }
#qualify .inline-cta { margin-top: 28px; }

/* ===== Hero deck link: quick access to the matching slide deck ===== */
.deck-link {
  display: inline-flex; align-items: center; gap: 12px; margin-top: 18px; padding: 8px 14px 8px 8px;
  border-radius: 10px; text-decoration: none; color: #fff;
  background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 1px rgba(255,255,255,.18);
  backdrop-filter: blur(8px); transition: background .2s, box-shadow .2s, transform .2s;
}
.deck-link:hover { background: rgba(255,255,255,.14); box-shadow: inset 0 0 0 1px rgba(140,203,63,.7); transform: translateY(-1px); }
.dl-ic { position: relative; width: 38px; height: 28px; border-radius: 4px; background: var(--green); flex: none; box-shadow: 0 4px 10px rgba(94,144,33,.35); }
.dl-ic::before { content: ""; position: absolute; left: 7px; right: 7px; top: 7px; height: 3px; border-radius: 2px; background: rgba(255,255,255,.95); }
.dl-ic::after { content: ""; position: absolute; left: 7px; width: 14px; top: 14px; height: 2px; border-radius: 2px; background: rgba(255,255,255,.7); box-shadow: 0 5px 0 rgba(255,255,255,.7); }
.dl-t { display: grid; font-size: 14px; font-weight: 600; line-height: 1.25; }
.dl-t small { font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--green-hi); }
.dl-go { font-size: 16px; color: var(--green-hi); margin-left: 4px; transition: transform .2s; }
.deck-link:hover .dl-go { transform: translate(2px, -2px); }
.hero.hero-light .deck-link { color: var(--indigo); background: rgba(255,255,255,.8); box-shadow: inset 0 0 0 1px rgba(22,42,117,.12), 0 4px 14px rgba(14,26,60,.06); }
.hero.hero-light .deck-link:hover { box-shadow: inset 0 0 0 1.5px var(--green), 0 6px 18px rgba(14,26,60,.1); }
.hero.hero-light .dl-t small, .hero.hero-light .dl-go { color: var(--green-tx); }

/* Deck link v2: stacked-slides icon with a play button, gentle glow */
.deck-link { gap: 14px; padding: 9px 16px 9px 10px; }
.dl-ic { position: relative; width: 46px; height: 34px; background: none; box-shadow: none; border-radius: 0; }
.dl-ic::before, .dl-ic::after { content: none; }
.dl-ic i { position: absolute; inset: 0; border-radius: 5px; background: rgba(255,255,255,.35); transform: translate(6px, -5px) rotate(6deg); transition: transform .25s; }
.dl-ic i + i { background: rgba(255,255,255,.6); transform: translate(3px, -2.5px) rotate(3deg); }
.dl-ic b { position: absolute; inset: 0; border-radius: 5px; background: linear-gradient(150deg, #9BD84C, #5E9A1E); box-shadow: 0 6px 14px rgba(94,144,33,.45), inset 0 1px 0 rgba(255,255,255,.35); }
.dl-ic b::after { content: ""; position: absolute; left: 50%; top: 50%; transform: translate(-35%, -50%); border-style: solid; border-width: 7px 0 7px 11px; border-color: transparent transparent transparent #fff; }
.deck-link:hover .dl-ic i { transform: translate(9px, -7px) rotate(10deg); }
.deck-link:hover .dl-ic i + i { transform: translate(5px, -4px) rotate(5deg); }
.dl-t em { font-style: normal; font-weight: 800; letter-spacing: .08em; color: var(--green-hi); }
.hero.hero-light .dl-t em { color: var(--green-tx); }
.hero.hero-light .dl-ic i { background: rgba(22,42,117,.14); }
.hero.hero-light .dl-ic i + i { background: rgba(22,42,117,.24); }
.deck-link { animation: dlGlow 3.2s ease-in-out 1.5s infinite; }
@keyframes dlGlow { 0%,100% { box-shadow: inset 0 0 0 1px rgba(255,255,255,.18), 0 0 0 0 rgba(140,203,63,0); } 50% { box-shadow: inset 0 0 0 1px rgba(140,203,63,.55), 0 0 22px 0 rgba(140,203,63,.28); } }
.hero.hero-light .deck-link { animation-name: dlGlowL; }
@keyframes dlGlowL { 0%,100% { box-shadow: inset 0 0 0 1px rgba(22,42,117,.12), 0 4px 14px rgba(14,26,60,.06); } 50% { box-shadow: inset 0 0 0 1.5px rgba(118,183,42,.7), 0 6px 22px rgba(118,183,42,.22); } }
@media (prefers-reduced-motion: reduce) { .deck-link { animation: none; } }
.dl-t { white-space: nowrap; }
@media (max-width: 480px) { .dl-t { white-space: normal; } }

/* Hero CTA stack: buttons row and deck card share one width, edges aligned */
.cta-stack { display: inline-grid; grid-template-columns: minmax(0, auto); max-width: 100%; margin-top: 36px; }
.cta-stack > .actions { margin-top: 0; display: flex; gap: 12px; }
.cta-stack > .actions > .btn { flex: 1 1 0; justify-content: center; }
.cta-stack > .deck-link { margin-top: 14px; width: 100%; box-sizing: border-box; }
.cta-stack > .deck-link .dl-go { margin-left: auto; }
@media (max-width: 480px) { .cta-stack { display: grid; } .cta-stack > .actions { flex-wrap: wrap; } }

/* No leaf "4" watermark on light (wash) sections */
.sec.wash > .wrap::before { content: none !important; display: none !important; }

/* ===== NEVI hero map: tinted "screen" panel + bolder pop-up cards ===== */
.nv-hero-map {
  background: linear-gradient(160deg, #EAF0FA 0%, #E2EAF7 100%);
  border: 1px solid rgba(22,42,117,.10); border-radius: 18px;
  padding: 18px 18px 14px; box-shadow: 0 24px 60px -24px rgba(22,42,117,.35);
  position: relative;
}
.nv-hero-map::before { content: ""; position: absolute; left: 18px; right: 18px; top: 0; height: 3px; border-radius: 0 0 3px 3px;
  background: linear-gradient(90deg, var(--green) 0 55%, var(--head) 55% 100%); }
.nv-hm-cap { padding: 4px 2px 0; }
.nv-hero-map .nm-box { background: #F8FAFE; border-radius: 10px; box-shadow: inset 0 0 0 1px rgba(22,42,117,.10), 0 10px 24px rgba(14,26,60,.10); }
.nv-hero-map .nm-key { padding: 0 2px; }
.nv-hero-map .nm-dot { fill: #D3DBEA; }

/* Parcels glow when they light up */
.nv-hero-map .nm-p.ok rect { filter: drop-shadow(0 0 8px rgba(118,183,42,.65)); }
.nv-hero-map .nm-p.no rect { filter: drop-shadow(0 0 6px rgba(194,72,72,.35)); }

/* Cards: colored side bar, verdict pill, stronger lift */
.nv-hero-map .nm-card {
  border-top: 0 !important; border-radius: 8px; padding: 10px 12px 11px 15px;
  box-shadow: 0 14px 34px rgba(14,26,60,.22), 0 2px 6px rgba(14,26,60,.08);
  overflow: hidden;
}
.nv-hero-map .nm-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; }
.nv-hero-map .nm-card.ok::before { background: var(--green); }
.nv-hero-map .nm-card.no::before { background: #C24848; }
.nv-hero-map .nm-v {
  display: inline-flex; align-items: center; padding: 3px 8px; border-radius: 99px; color: #fff !important;
  font-size: 9.5px; letter-spacing: .12em; margin-bottom: 4px;
}
.nv-hero-map .nm-card.ok .nm-v { background: var(--green); box-shadow: 0 3px 10px rgba(118,183,42,.45); }
.nv-hero-map .nm-card.no .nm-v { background: #C24848; box-shadow: 0 3px 10px rgba(194,72,72,.35); }
.nv-hero-map .nm-card.ok { background: linear-gradient(180deg, #FFFFFF 0%, #F5FAEE 100%); }
.nv-hero-map .nm-card.no { background: linear-gradient(180deg, #FFFFFF 0%, #FCF3F3 100%); }
.nv-hero-map .nm-card.in { animation: nmPop .45s cubic-bezier(.2,1.4,.4,1); }
@keyframes nmPop { 0% { transform: translateY(8px) scale(.92); } 100% { transform: none; } }
@media (max-width: 600px) { .nv-hero-map { padding: 12px 10px 10px; border-radius: 14px; } .nv-hero-map::before { left: 10px; right: 10px; } }
.nv-hero-map .nm-v { white-space: nowrap; line-height: 1.2; width: max-content; gap: 5px; }
.nv-hero-map { background: linear-gradient(160deg, #E6EDF9 0%, #DCE6F5 100%); }

/* ===== Contact form polish ===== */
.form select { appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23162A75' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 12px 8px; }
.form input, .form select, .form textarea { min-height: 48px; transition: box-shadow .15s, background-color .15s; }
.form input:hover, .form select:hover, .form textarea:hover { background-color: #fff; }
.form input::placeholder, .form textarea::placeholder { color: #9AA3B5; }
.form.tried :is(input, select, textarea):invalid { box-shadow: inset 0 0 0 2px #C24848 !important; background-color: #FFF8F8; }
.form :is(input, textarea):not(:placeholder-shown):valid { box-shadow: inset 0 0 0 1px rgba(118,183,42,.55); }
.form button[type=submit] .bt-s { display: none; }
.form.sending button[type=submit] .bt-l { display: none; }
.form.sending button[type=submit] .bt-s { display: inline; }
.form.sending button[type=submit] { opacity: .8; cursor: progress; }
.form.sending button[type=submit] .arr { animation: btArr .8s ease-in-out infinite; }
@keyframes btArr { 50% { transform: translateX(5px); } }
.form .thanks { padding: 16px 18px; line-height: 1.5; border-left: 4px solid var(--green); }
.form .thanks b { display: block; color: #2F5B0A; font-size: 15px; margin-bottom: 2px; }
.form .thanks a, .form .fail a { color: inherit; font-weight: 700; }
.form.sent .row, .form.sent .sr { opacity: .35; pointer-events: none; filter: saturate(.4); transition: opacity .4s; }
.form .fail { display: none; margin-top: 18px; padding: 14px 18px; background: #FDF1F1; color: #8E2B2B; font-size: 14px; border-left: 4px solid #C24848; border-radius: var(--r-xs, 2px); }
.form.failed .fail { display: block; }
@media (max-width: 600px) { .form .sr { flex-direction: column-reverse; align-items: stretch; } .form .sr .btn { justify-content: center; } }

/* Wide screens: let the layout grow so it doesn't read as a narrow column */
@media (min-width: 1600px) { :root { --wrap: 1480px; --pad: 64px; } }
@media (min-width: 1900px) { :root { --wrap: 1680px; --pad: 72px; } }
@media (min-width: 2300px) { :root { --wrap: 1900px; --pad: 80px; } }

/* Unified form header */
.form .f-tags { font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--green-tx, #4A8A12); margin: -16px 0 10px; }
.form .f-blurb { font-size: 15px; line-height: 1.55; color: var(--mute, #5A6270); margin: 0 0 26px; max-width: 560px; }
.form select { text-overflow: ellipsis; }

.form textarea { min-height: 120px; }
.form input::placeholder, .form textarea::placeholder { color: #9AA1AC; font-weight: 400; opacity: 1; }

.form .f-opt em { font-style: normal; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--mute, #5A6270); }
.form .f-hint { display: block; font-size: 13px; font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--mute, #5A6270); line-height: 1.45; margin-top: -2px; }
.form textarea::placeholder { font-style: italic; }

#contact .form textarea::placeholder, #contact .form input::placeholder { color: #9AA1AC !important; font-weight: 400 !important; font-style: italic; opacity: 1; }

/* Homepage hero part 2 sits above part 1 and fades in when it starts */
.hero > video.bg-video-2 { z-index: -2; }

/* Mapping hero map: keep fully on-screen on wide monitors */
@media (min-width: 1101px){ .hero-map { right: max(16px, calc((100vw - 1240px) / 2 - 24px)); width: min(56vw, 860px); } }

/* ---- Slim proof strip (replaces repeated Track Record sections) ---- */
.proof-band { padding: clamp(28px,4vw,44px) 0 !important; }
.proof { display: grid; grid-template-columns: auto repeat(3, 1fr) auto; align-items: center; gap: 12px 32px;
  padding: 22px 28px; border-radius: 14px; text-decoration: none; color: #C9CED6;
  background: linear-gradient(120deg, #161B3D 0%, #1F1A5C 100%); border: 1px solid rgba(140,203,63,.28);
  box-shadow: 0 18px 40px -22px rgba(20,24,60,.6); transition: border-color .2s, transform .2s; }
.proof:hover { border-color: var(--green-hi, #8CCB3F); transform: translateY(-2px); }
.proof .pf-k { font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--green-hi, #8CCB3F); display: inline-flex; align-items: center; gap: 10px; }
.proof .pf-k::before { content: ""; width: 9px; height: 9px; background: var(--green, #76B72A); }
.proof .pf-s { font-size: 13px; line-height: 1.35; display: grid; }
.proof .pf-s b { font-size: clamp(28px, 2.6vw, 38px); font-weight: 800; color: #fff; letter-spacing: -.03em; line-height: 1; margin-bottom: 4px; }
.proof .pf-s b sup { font-size: .5em; color: var(--green-hi, #8CCB3F); vertical-align: top; }
.proof .pf-s em { font-style: normal; font-size: 11px; color: var(--green-hi, #8CCB3F); }
.proof .pf-go { font-size: 14px; font-weight: 600; color: #fff; white-space: nowrap; }
@media (max-width: 900px) { .proof { grid-template-columns: repeat(3, 1fr); } .proof .pf-k, .proof .pf-go { grid-column: 1 / -1; } }
@media (max-width: 520px) { .proof { grid-template-columns: 1fr; } }

/* ---- Contact merged with the CTA band: photo background, headline + team left, form right ---- */
.contact.contact-photo { position: relative; background: #11152E; color: #C9CED6; isolation: isolate; overflow: hidden; }
.contact-photo .c-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.contact-photo .c-bg.c-motif { object-fit: cover; opacity: .10; }
.contact-photo .c-shade { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, rgba(14,17,42,.95) 0%, rgba(14,17,42,.88) 45%, rgba(14,17,42,.62) 100%); }
.contact-photo h2 { font-size: clamp(30px, 3vw, 42px); }
.contact-photo .eyebrow { color: #C9CED6; }
.contact-photo h2 { color: #fff; }
.contact-photo h2 span { color: var(--green-hi, #8CCB3F); }
.contact-photo h2, .contact-photo h2 span { text-shadow: 0 -1px 0 rgba(255,255,255,.35), 0 1px 0 rgba(0,0,0,.8), 0 2px 0 rgba(0,0,0,.55), 0 8px 18px rgba(0,0,0,.5); }
.contact-photo .intro { color: #D1D5DB; }
.contact-photo .people { border-top-color: rgba(255,255,255,.14); }
.contact-photo .person { border-bottom-color: rgba(255,255,255,.14); }
.contact-photo .person .nm { color: #fff; }
.contact-photo .person .rl { color: #9AA1AC; }
.contact-photo .person .ct { color: #D1D5DB; }
.contact-photo .person .ct a { color: #fff; border-bottom-color: rgba(255,255,255,.25); }
.contact-photo .person .ini { background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12), 0 6px 14px rgba(0,0,0,.3); }
.contact-photo .person .ini img { width: 28px; height: 32px; filter: drop-shadow(0 1px 2px rgba(0,0,0,.4)); }
.contact-photo .form { box-shadow: 0 30px 60px -24px rgba(0,0,0,.6); }
@media (max-width: 1080px) { .contact-photo .c-shade { background: linear-gradient(180deg, rgba(14,17,42,.92) 0%, rgba(14,17,42,.86) 100%); } }

/* Leaf "4" watermark removed from content sections (read as clutter when stacked) */
.sec.dark > .wrap::before, .sec.wash > .wrap::before, .cta-band .wrap::before { content: none !important; display: none !important; }

/* Form confirmation (replaces the fields once sent) */
.form.sent .row, .form.sent .sr, .form.sent .fail { display: none !important; }
.form.sent .f-blurb, .form.sent .f-tags { display: none; }
.form.sent .thanks { display: block; }
.form .thanks { background: none; border: 0; padding: 8px 0 4px; color: var(--text); text-align: left; animation: tyIn .45s ease both; }
@keyframes tyIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.form .ty-ic { width: 56px; height: 56px; border-radius: 50%; background: var(--green); position: relative; margin-bottom: 18px; box-shadow: 0 0 0 8px rgba(118,183,42,.15); }
.form .ty-ic::after { content: ""; position: absolute; left: 20px; top: 14px; width: 12px; height: 22px; border: solid #fff; border-width: 0 4px 4px 0; transform: rotate(45deg); }
.form .ty-k { display: block; font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--green-tx); }
.form .thanks h4 { font-size: clamp(22px, 2.2vw, 28px); font-weight: 700; color: var(--head); letter-spacing: -.02em; margin: 8px 0 8px; line-height: 1.15; }
.form .thanks > p { font-size: 15px; line-height: 1.55; color: var(--text); max-width: 520px; }
.form .ty-steps { list-style: none; padding: 0; margin: 22px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.form .ty-steps li { background: #F4F7F1; border-radius: 8px; padding: 12px 14px; font-size: 13px; line-height: 1.4; color: var(--head); font-weight: 600; }
.form .ty-steps b { display: block; font-size: 11px; color: var(--green-tx); letter-spacing: .12em; margin-bottom: 4px; }
.form .ty-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.form .ty-row .btn { color: #fff; }
.form .ty-again { background: none; border: 0; padding: 0; font-size: 14px; font-weight: 600; color: var(--head); border-bottom: 1px solid var(--line); cursor: pointer; }
.form .ty-again:hover { border-color: var(--green); }
@media (max-width: 560px) { .form .ty-steps { grid-template-columns: 1fr; } }

.form .thanks h4 { margin-top: 0; }
.form .thanks > p b { color: var(--head); }
.form .ty-row span { font-size: 14px; color: var(--mute); }
.form .thanks .ty-pg { display: inline; font-size: inherit; margin: 0; }

/* Contact: tighter, wider form so it ends near the last contact row (Nov 2026) */
@media (min-width: 1081px) {
  .contact .wrap { grid-template-columns: 4fr 8fr; gap: clamp(36px, 4.5vw, 72px); align-items: start; }
  .contact .form { padding: clamp(26px, 3vw, 40px); }
  .contact .form h3 { margin-bottom: 22px; }
  .contact .form .f-blurb { margin-bottom: 18px; max-width: none; }
  .contact .form .row { gap: 14px 18px; }
  .contact .form textarea { min-height: 88px; }
  .contact .form .sr { margin-top: 18px; }
}

/* Optional detail drawer (e.g., Opt4EV typical timeline) */
.tl-more { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 0; }
.tl-more > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 12px; padding: 16px 0; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--head); }
.tl-more > summary::-webkit-details-marker { display: none; }
.tl-more > summary em { font-style: normal; color: var(--green-tx); letter-spacing: .08em; }
.tl-more > summary .tl-tog { position: relative; width: 22px; height: 22px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--head); flex: none; }
.tl-more > summary .tl-tog::before, .tl-more > summary .tl-tog::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 1.5px; background: var(--head); transform: translate(-50%,-50%); transition: transform .2s; }
.tl-more > summary .tl-tog::after { transform: translate(-50%,-50%) rotate(90deg); }
.tl-more[open] > summary .tog::after { transform: translate(-50%,-50%) rotate(0deg); }
.tl-more > summary:hover { color: var(--green-tx); }
.tl-more > div { padding: 4px 0 18px; }


/* Opt4EV rent card: optional revenue-share note */
.opt-struct { margin-top: 18px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.14); font-size: 14px; line-height: 1.5; color: #C9CED6; }
.opt-struct span { display: block; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--green-hi, #8CCB3F); margin-bottom: 4px; }
.opt-struct.on-green { border-top-color: rgba(255,255,255,.35); color: rgba(255,255,255,.92); }
.opt-struct.on-green span { color: #fff; }
