/* ============================================================
   ARC EDGE STAGING · forward design system (Orb_Aerospace-DESIGN.md v2.2)
   + headline face (wide-tracked Montserrat 500, David 2026-11-18/23)
   + HorizonX pieces: Accordion Gallery (04), Border Glow (07), Scroll Expand (CTA).
   Scope: .aex (tokens live on .aex, element resets use :where(.aex)), so the
   Webflow nav/footer are untouched. The ARC Edge Network scroll-through keeps
   its original styles inside <div class="ae2026"> (inline <style> in the page).
   ============================================================ */

@font-face {
  font-family: 'Switzer Variable';
  src: url('../fonts/Switzer-Variable.ttf') format('truetype');
  font-weight: 100 900;
  font-display: swap;
}

.aex {
  /* color · dark act */
  --bg: #0B0B0A;
  --panel: #121211;
  --ink: #F1F1ED;
  --dim: #9A9A92;
  --faint: #5E5E56;
  --line: rgba(241, 241, 237, .13);
  --line-2: rgba(241, 241, 237, .26);
  --acc: #F76611;
  --acc-2: #FF8636;
  --held: #3AE06E;
  /* shape */
  --r-sm: .3vw;
  --r-input: .56vw;
  --r: 1.11vw;
  --r-lg: 1.67vw;
  --r-btn: 2.22vw;
  --r-full: 100vw;
  /* surface */
  --glass-bg: rgba(0, 0, 0, .32);
  --glass-glow: inset 0 0 24px 0 rgba(248, 247, 243, .08), inset 0 6px 12px 0 rgba(248, 247, 243, .16);
  --card-glow: 0 1px 3px 0 rgba(248, 247, 243, .04), 0 2px 30px 0 rgba(0, 0, 0, .08);
  --halo-acc: 0 0 12px rgba(247, 102, 17, .55), 0 0 36px rgba(247, 102, 17, .28);
  --halo-held: 0 0 6px rgba(58, 224, 110, .75), 0 0 18px rgba(58, 224, 110, .35);
  --halo-ink: 0 0 10px rgba(241, 241, 237, .35), 0 0 28px rgba(241, 241, 237, .14);
  /* type */
  --sans: 'Switzer Variable', 'Switzer', Arial, sans-serif;
  --mono: 'Geist Mono', 'IBM Plex Mono', Consolas, monospace;
  --display: 'Montserrat', 'Switzer Variable', Arial, sans-serif;
  --display-w: 500;
  --track-display: .11em;
  /* layout */
  --pad: clamp(16px, 3vw, 44px);
  --maxw: 1440px;
  --sec: clamp(72px, 8.33vw, 160px);
  --navh: 92px;
  /* motion */
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-k: cubic-bezier(.22, 1, .36, 1);
  --spring: cubic-bezier(.16, 1, .3, 1);
  --ease-fill: cubic-bezier(.86, 0, .07, 1);

  position: relative;
  display: block;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
@media (max-width: 767px) {
  .aex { --r-sm: .7vw; --r-input: 2.13vw; --r: 4.27vw; --r-lg: 5.33vw; --r-btn: 8.53vw; }
}

/* ---------- resets against the Webflow element rules (zero extra specificity) ---------- */
:where(.aex) *, :where(.aex) *::before, :where(.aex) *::after { box-sizing: border-box; }
:where(.aex) :is(h1, h2, h3, h4) {
  margin: 0; font-family: inherit; font-size: inherit; font-weight: inherit;
  line-height: inherit; letter-spacing: inherit; text-transform: inherit; color: inherit;
}
:where(.aex) :is(p, ul, ol, li, figure, figcaption, dl, dd, dt, blockquote) { margin: 0; padding: 0; }
:where(.aex) :is(ul, ol) { list-style: none; }
:where(.aex) :is(img, video, canvas, svg) { display: block; max-width: none; }
:where(.aex) a { color: inherit; text-decoration: none; }
:where(.aex) button { font: inherit; color: inherit; background: none; border: 0; padding: 0; margin: 0; cursor: pointer; text-align: inherit; }
:where(.aex) b, :where(.aex) strong { font-weight: 600; color: var(--ink); }
.aex ::selection { background: var(--acc); color: #0B0B0A; }

/* ---------- primitives ---------- */
.aex-wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); position: relative; }

.aex-label { font: 500 11px/1.2 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.aex-label--ink { color: var(--ink); }
.aex-label--faint { color: var(--faint); }

.aex-eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 500 11px/1.2 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.aex-eyebrow::before { content: ''; width: 7px; height: 7px; background: var(--ink); flex: none; }
.aex-eyebrow b { font-weight: 500; color: var(--ink); }

.aex-meta { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding-top: 16px; border-top: 1px solid var(--line); }

.aex-h1, .aex-h2, .aex-h3, .aex-statement {
  font-family: var(--display); font-weight: var(--display-w); letter-spacing: var(--track-display);
  text-transform: uppercase; color: var(--ink); text-wrap: balance;
}
.aex :is(.aex-h1, .aex-h2, .aex-h3, .aex-statement) em { font-style: normal; color: var(--acc); }
.aex-h1 { font-size: clamp(24px, 3.3vw, 54px); line-height: 1.32; }
.aex-h2 { font-size: clamp(22px, 2.6vw, 42px); line-height: 1.3; }
.aex-h3 { font-size: clamp(16px, 1.35vw, 22px); line-height: 1.35; }
.aex-statement { font-size: clamp(26px, 4.3vw, 72px); line-height: 1.24; }

.aex-lead { font-size: clamp(16px, 1.25vw, 19px); line-height: 1.55; color: var(--dim); max-width: 40em; }
.aex-lead b { font-weight: 600; color: var(--ink); }

.aex-head { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 48px 64px; align-items: end;
  margin-top: clamp(28px, 3.33vw, 56px); }
.aex-head .aex-lead { justify-self: end; }

.aex-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--held); box-shadow: var(--halo-held); flex: none; }

/* buttons */
.aex-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: 600 11px/1 var(--mono); letter-spacing: .18em; text-transform: uppercase;
  padding: 16px 26px; border-radius: var(--r-btn); background: var(--ink); color: var(--bg);
  transition: background 500ms var(--ease-fill), color .22s var(--ease), box-shadow .22s var(--ease); white-space: nowrap; }
.aex-btn:hover { background: #FFFFFF; }
.aex-btn .ar { display: inline-block; transition: transform .5s var(--spring); }
.aex-btn:hover .ar { transform: translateX(3px); }
.aex-btn--acc { background: var(--acc); color: #0B0B0A; }
.aex-btn--acc:hover { background: var(--acc-2); }
.aex-btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); }
.aex-btn--ghost:hover { background: transparent; color: var(--acc); box-shadow: inset 0 0 0 1px var(--acc); }
.aex-btn:focus-visible, .aex-link:focus-visible { outline: 1px solid var(--ink); outline-offset: 4px; }

.aex-link { display: inline-flex; gap: 10px; font: 500 11px/1.2 var(--mono); letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink); border-bottom: 1px solid var(--ink); padding-bottom: 6px; transition: color .3s var(--ease), border-color .3s var(--ease); }
.aex-link:hover { color: var(--acc); border-color: var(--acc); }

/* entrance: armed only when the page script is present */
html.aex-js .aex [data-rise] { opacity: 0; transform: translateY(40px); transition: opacity .9s var(--ease-k), transform .9s var(--ease-k); }
html.aex-js .aex [data-rise].is-in { opacity: 1; transform: none; }
html.aex-js .aex [data-rise][data-d="1"] { transition-delay: .08s; }
html.aex-js .aex [data-rise][data-d="2"] { transition-delay: .16s; }
html.aex-js .aex [data-rise][data-d="3"] { transition-delay: .24s; }

/* ============================================================ HERO */
.aex-hero { position: relative; display: flex; min-height: calc(100svh - var(--navh)); background: var(--bg); overflow: hidden; isolation: isolate; }
/* full-bleed photo (David, 2026-11-23: Coast Guard crew under the Mackinac Bridge), darkened a little.
   Scrims are the spec's hero recipe: left .86 → 0 for the headline, top/bottom .4 → 0 → .62 for the
   eyebrow and the foot row, plus a light overall veil. */
.aex-hero__media { position: absolute; inset: 0; z-index: -1; }
.aex-hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; }
@media (max-width: 767px) {
  /* phone: frame the helicopter + bridge tower, and veil the whole plate (text covers most of it) */
  .aex-hero__media img { object-position: 30% 50%; }
  .aex-hero__scrim { background: linear-gradient(180deg, rgba(11, 11, 10, .62) 0%, rgba(11, 11, 10, .5) 45%, rgba(11, 11, 10, .88) 100%); }
}
.aex-hero__scrim { position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(11, 11, 10, .86) 0%, rgba(11, 11, 10, .55) 38%, rgba(11, 11, 10, 0) 72%),
    linear-gradient(180deg, rgba(11, 11, 10, .4) 0%, rgba(11, 11, 10, 0) 30%, rgba(11, 11, 10, 0) 52%, rgba(11, 11, 10, .62) 100%),
    rgba(11, 11, 10, .22); }
/* the layer you can't see: brush-revealed scan plate + readout chips at the nodes */
.aex-hero__plate { position: absolute; inset: 0; }
.aex-hero__reveal { position: absolute; inset: 0; width: 100%; height: 100%; display: block; pointer-events: none; }
.aex-hero__nodes { position: absolute; inset: 0; pointer-events: none; z-index: 2; }
.aex-node { position: absolute; left: 0; top: 0; display: flex; flex-direction: column; gap: 3px; padding: 8px 10px; white-space: nowrap;
  transform: translate(18px, -50%); opacity: 0; transition: opacity .35s var(--ease), transform .35s var(--ease);
  background: var(--glass-bg); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-radius: var(--r-sm);
  box-shadow: inset 0 0 0 1px rgba(248, 247, 243, .16); }
.aex-node.is-lit { opacity: 1; }
.aex-node.is-flip { transform: translate(calc(-100% - 18px), -50%); }
.aex-node.is-off { display: none; }
.aex-node__l { font: 500 10px/1.2 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink); }
.aex-node__s { font: 400 10px/1.2 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--dim); }
.aex-node--kit .aex-node__s { color: var(--held); }
.aex-node--kit .aex-node__s::before { content: ''; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--held); box-shadow: var(--halo-held); margin-right: 8px; vertical-align: middle; }
/* HorizonX crosshair hides the cursor inside the hero; the buttons keep the hand */
.aex-hero .aex-btn { cursor: pointer !important; }
@media (max-width: 767px) { .aex-node:not(.aex-node--kit):not(.aex-node--helo) { display: none; } }
.aex-hero__inner { position: relative; display: flex; flex-direction: column; padding-top: clamp(40px, 5.56vw, 96px); padding-bottom: clamp(28px, 3.33vw, 56px); }
/* David 2026-11-23: the H1 sits just above the paragraph, sentence case, no rule, tight gap */
.aex-hero__title { text-transform: none; letter-spacing: .01em; font-size: clamp(24px, 2.7vw, 46px); line-height: 1.02; max-width: 19em; margin: 0; }
.aex-hero__title .aex-line { display: block; }
.aex-hero__foot { margin-top: auto; padding-top: 0; border-top: 0; display: block; }
.aex-hero__row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 64px; align-items: end; }
.aex-hero__foot .aex-lead { max-width: 36em; }
.aex-hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.aex-hero__spacer { flex: 1 0 clamp(48px, 8vh, 120px); }

/* ============================================================ 02 PROBLEM · pinned statement */
.aex-problem { background: var(--bg); }
.aex-problem__track { position: relative; height: 220vh; }
.aex-problem__stage { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
.aex-problem__stage .aex-meta { position: absolute; left: var(--pad); right: var(--pad); top: clamp(24px, 3.33vw, 56px); }
.aex-problem__stage > .aex-wrap { position: static; }
.aex-statement { max-width: 15.5em; }
.aex-statement .aex-w { display: inline; opacity: var(--o, .16); transition: opacity .12s linear; }
.aex-problem__detail { padding-bottom: var(--sec); }
.aex-problem__copy { max-width: 46em; font-size: clamp(18px, 1.5vw, 24px); line-height: 1.5; color: var(--dim); }
.aex-problem__copy b { font-weight: 500; color: var(--ink); }
.aex-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; margin-top: clamp(48px, 5.56vw, 96px); }
.aex-stat { padding-top: 20px; border-top: 1px solid var(--line); }
.aex-stat__v { display: block; font-family: var(--display); font-weight: var(--display-w); letter-spacing: .04em;
  font-size: clamp(36px, 4.2vw, 68px); line-height: 1; color: var(--ink); }
.aex-stat__v small { font-size: .42em; letter-spacing: .08em; color: var(--dim); margin-left: .12em; }
.aex-stat .aex-label { display: block; margin-top: 14px; }
.aex-meter { display: block; height: 2px; margin-top: 18px; background: rgba(241, 241, 237, .14); }
.aex-meter i { display: block; height: 100%; width: 0; background: var(--ink); transition: width 1.2s var(--ease) .2s; }
html.aex-js .aex-stats .aex-stat__v { filter: blur(10px); opacity: .2; transition: filter 1s var(--ease-k), opacity 1s var(--ease-k); }
html.aex-js .aex-stats.is-in .aex-stat__v { filter: none; opacity: 1; }
.aex-stats.is-in .aex-meter i, html:not(.aex-js) .aex-meter i { width: var(--w, 0%); }

/* ============================================================ 03 SELF-HEALING (lead-in to the network scroll) */
.aex-heal { padding: var(--sec) 0 clamp(40px, 4.44vw, 72px); background: var(--bg); }
.aex-cmp { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: clamp(40px, 4.44vw, 72px); }
.aex-cmp__card { position: relative; display: flex; flex-direction: column; gap: 24px; padding: 32px; border-radius: var(--r-lg); background: var(--panel); }
.aex-cmp__card.is-proactive { box-shadow: inset 0 0 0 1px var(--line-2); }
.aex-cmp__card header { display: flex; flex-direction: column; gap: 10px; }
.aex-cmp__card.is-reactive .aex-h3 { color: var(--dim); }
.aex-trace { width: 100%; height: auto; overflow: visible; }
.aex-trace path, .aex-trace line { fill: none; stroke-linecap: round; }
.aex-trace .lane { stroke: var(--line-2); stroke-width: 1; stroke-dasharray: 2 6; }
.aex-trace .sig { stroke: var(--ink); stroke-width: 2; filter: drop-shadow(0 0 5px rgba(241, 241, 237, .35)); }
.aex-trace .sig--dim { stroke: var(--dim); filter: none; }
.aex-trace .lost { stroke: var(--faint); stroke-width: 2; }
html.aex-js .aex-trace .draw { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.6s var(--ease) .25s; }
html.aex-js .aex-trace .draw--2 { transition-delay: .9s; }
html.aex-js .aex-trace .lost { opacity: 0; transition: opacity .3s var(--ease) .85s; }
html.aex-js .aex-trace .lost:nth-of-type(2) { transition-delay: 1s; }
html.aex-js .aex-trace .lost:nth-of-type(3) { transition-delay: 1.15s; }
html.aex-js .is-in .aex-trace .draw { stroke-dashoffset: 0; }
html.aex-js .is-in .aex-trace .lost { opacity: 1; }
.aex-cmp__status { display: flex; align-items: center; gap: 10px; }
.aex-cmp__list { display: grid; gap: 0; }
.aex-cmp__list li { padding: 12px 0; border-top: 1px solid var(--line); font-size: 16px; line-height: 1.45; color: var(--dim); }
.aex-cmp__card.is-proactive .aex-cmp__list li { color: var(--ink); }
.aex-heal__hint { display: flex; align-items: center; gap: 12px; margin-top: clamp(40px, 4.44vw, 72px); }
.aex-heal__hint i { font-style: normal; display: inline-block; animation: aex-nudge 1.8s var(--ease) infinite; }
@keyframes aex-nudge { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(4px); } }

/* ============================================================ 04 MISSION CONTEXTS · HorizonX Accordion Gallery */
.aex-missions { padding: var(--sec) 0; background: var(--bg); }
.aex-acc { display: flex; gap: 10px; height: clamp(460px, 74vh, 740px); margin-top: clamp(40px, 4.44vw, 72px); perspective: 1400px; }
.aex-acc .agl-panel { position: relative; flex: 1 1 0; min-width: 0; overflow: hidden; border-radius: var(--r-lg);
  background: var(--panel); cursor: pointer; outline: none; will-change: flex-grow; --agl-open: 0; }
.aex-acc .agl-panel:first-child { --agl-open: 1; }
.aex-acc .agl-panel:focus-visible { box-shadow: inset 0 0 0 1px var(--ink); }
.aex-acc__frame { position: absolute; inset: 0; overflow: hidden; border-radius: inherit; }
.aex-acc .agl-media { position: absolute; top: 50%; left: 50%; width: var(--agl-media-size, 120%); height: 100%; max-width: none; object-fit: cover;
  transform: translate(-50%, -50%); user-select: none; -webkit-user-drag: none;
  filter: grayscale(calc(var(--agl-gray, 0) * 100%)) brightness(calc(1 - var(--agl-dim, 0) * .55)) saturate(.7); }
.aex-acc__scrim { position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(0deg, rgba(11, 11, 10, .94) 0%, rgba(11, 11, 10, .62) 38%, rgba(11, 11, 10, 0) 68%); }
.aex-acc__cap { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; padding: clamp(20px, 2.22vw, 32px); display: flex; flex-direction: column; align-items: flex-start; gap: 12px; text-align: left; pointer-events: none; }
.aex-acc__top { display: flex; align-items: center; gap: 12px; }
.aex-acc__num { font: 500 11px/1 var(--mono); letter-spacing: .14em; color: var(--ink); }
.aex-acc__title { font-family: var(--display); font-weight: var(--display-w); letter-spacing: var(--track-display); text-transform: uppercase;
  font-size: clamp(16px, 1.5vw, 24px); line-height: 1.3; color: var(--ink); }
.aex-acc__body { width: min(34em, 46vw); display: flex; flex-direction: column; gap: 12px;
  opacity: calc(var(--agl-open, 0) * 2.6 - 1.6); transform: translateY(calc((1 - var(--agl-open, 0)) * 14px)); }
.aex-acc__tag { font-size: clamp(18px, 1.5vw, 23px); line-height: 1.3; font-weight: 500; color: var(--ink); }
.aex-acc__desc { font-size: 15px; line-height: 1.55; color: rgba(241, 241, 237, .78); }

/* ============================================================ 05 FIELD HARDWARE */
.aex-hw { position: relative; display: flex; align-items: center; min-height: 100vh; overflow: hidden; background: var(--bg); padding: var(--sec) 0; }
.aex-hw__media { position: absolute; top: 0; right: 0; bottom: 0; width: 56%; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 9%); mask-image: linear-gradient(90deg, transparent 0, #000 9%); }
.aex-hw__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; transform: scale(var(--push, 1.1)); transform-origin: 60% 55%; will-change: transform; }
.aex-hw__inner { position: relative; z-index: 1; }
.aex-hw__copy { width: min(560px, 40vw); display: flex; flex-direction: column; gap: 28px; }
.aex-hw__copy .aex-h2 { margin-top: 12px; }
.aex-readout { display: grid; margin-top: 4px; }
.aex-readout > div { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; padding: 14px 0; border-top: 1px solid var(--line); }
.aex-readout > div:last-child { border-bottom: 1px solid var(--line); }
.aex-readout dt { font: 500 11px/1.2 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--faint); }
.aex-readout dd { font-family: var(--display); font-weight: var(--display-w); letter-spacing: .06em; text-transform: uppercase; font-size: clamp(15px, 1.25vw, 19px); color: var(--ink); text-align: right; }
.aex-readout dd small { font-size: .7em; color: var(--dim); letter-spacing: .1em; }
.aex-hw__cta { align-self: flex-start; }

/* ============================================================ 06 INTEGRATIONS */
.aex-int { padding: var(--sec) 0; background: var(--bg); overflow: hidden; }
.aex-band { margin: clamp(48px, 5.56vw, 96px) 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: clamp(18px, 1.67vw, 28px) 0; overflow: hidden; }
.aex-band__row { display: flex; align-items: center; gap: clamp(20px, 2.22vw, 40px); width: max-content; will-change: transform; transform: translate3d(var(--bx, 0px), 0, 0); }
.aex-band__row span { font-family: var(--display); font-weight: var(--display-w); letter-spacing: var(--track-display); text-transform: uppercase;
  font-size: clamp(22px, 3.2vw, 54px); line-height: 1.1; color: var(--dim); white-space: nowrap; }
.aex-band__row span:nth-child(4n+1) { color: var(--ink); }
.aex-band__row i { width: 7px; height: 7px; background: var(--faint); flex: none; }
.aex-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.aex-col { padding: 32px; border-radius: var(--r-lg); background: var(--panel); }
.aex-col header { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.aex-col li { padding: 12px 0; border-top: 1px solid var(--line); font-size: 16px; line-height: 1.45; color: var(--dim); }

/* ============================================================ 07 WHY DMPO · HorizonX Border Glow bento */
.aex-dmpo { padding: var(--sec) 0; background: var(--bg); }
.aex-bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: clamp(40px, 4.44vw, 72px); }
.aex-bento .bgl-card:nth-child(1), .aex-bento .bgl-card:nth-child(6) { grid-column: span 2; }
.bgl-card { --bgl-x: 0px; --bgl-y: 0px; --bgl-lit: 0; --bgl-halo: 18px; --bgl-spread: 140px; --bgl-rim: 1px; --bgl-wash: .06; --bgl-brightness: .95;
  --bgl-wheel: conic-gradient(from -90deg at 50% 50%, #F1F1ED, #9A9A92, #F1F1ED, #5E5E56, #F1F1ED);
  position: relative; display: flex; min-height: clamp(240px, 19vw, 320px); border-radius: var(--r-lg); background: var(--panel);
  box-shadow: inset 0 0 0 1px var(--line); outline: none; }
.bgl-card:focus-visible { box-shadow: inset 0 0 0 1px var(--line-2); }
.bgl-lamp { position: absolute; inset: calc(var(--bgl-halo) * -1); z-index: 0; pointer-events: none; opacity: calc(var(--bgl-lit) * var(--bgl-brightness));
  -webkit-mask-image: radial-gradient(circle var(--bgl-spread) at calc(var(--bgl-x) + var(--bgl-halo)) calc(var(--bgl-y) + var(--bgl-halo)), #000 0%, rgb(0 0 0 / 55%) 38%, transparent 100%);
  mask-image: radial-gradient(circle var(--bgl-spread) at calc(var(--bgl-x) + var(--bgl-halo)) calc(var(--bgl-y) + var(--bgl-halo)), #000 0%, rgb(0 0 0 / 55%) 38%, transparent 100%); }
.bgl-wash { position: absolute; inset: var(--bgl-halo); border-radius: var(--r-lg); background: var(--bgl-wheel); opacity: var(--bgl-wash); filter: blur(18px); }
.bgl-bloom { position: absolute; inset: var(--bgl-halo); filter: blur(calc(var(--bgl-halo) * .5)); }
.bgl-bloom i, .bgl-rim { position: absolute; inset: 0; border-radius: var(--r-lg); background: var(--bgl-wheel);
  -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, linear-gradient(#000 0 0); mask-composite: exclude; }
.bgl-bloom i { padding: calc(var(--bgl-rim) * 3 + 2px); }
.bgl-rim { inset: var(--bgl-halo); padding: var(--bgl-rim); }
.aex-card__in { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 12px; width: 100%; padding: 32px; }
.aex-card__ic { width: 28px; height: 28px; color: var(--ink); margin-bottom: auto; }
.aex-card__ic svg { width: 100%; height: 100%; }
.aex-card__tag { margin-top: 32px; }
.aex-card__body { font-size: 15px; line-height: 1.55; color: var(--dim); max-width: 34em; }

/* ============================================================ 08 FAQ */
.aex-faq { padding: var(--sec) 0; background: var(--bg); }
.aex-faq__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px clamp(48px, 5.56vw, 96px); align-items: start; }
.aex-faq__side { position: sticky; top: 32px; display: flex; flex-direction: column; gap: 24px; }
.aex-faq__side .aex-h2 { margin-top: 12px; }
.aex-faq__side p { color: var(--dim); font-size: 16px; }
.aex-faq__side .aex-link { align-self: flex-start; }
.aex-faq__list { border-bottom: 1px solid var(--line); }
.aex-faq__item { border-top: 1px solid var(--line); }
.aex-faq__q button { display: grid; grid-template-columns: 48px minmax(0, 1fr) 24px; align-items: center; gap: 16px; width: 100%; padding: 24px 0;
  font-size: clamp(17px, 1.35vw, 21px); line-height: 1.35; font-weight: 500; color: var(--ink); transition: color .22s var(--ease); }
.aex-faq__q button:hover .t { color: #FFFFFF; }
.aex-faq__q button:focus-visible { outline: 1px solid var(--ink); outline-offset: 4px; }
.aex-faq__q .n { font: 500 11px/1 var(--mono); letter-spacing: .14em; color: var(--faint); }
.aex-faq__q .ic { position: relative; width: 14px; height: 14px; justify-self: end; transition: transform .5s var(--spring); }
.aex-faq__q .ic::before, .aex-faq__q .ic::after { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--ink); }
.aex-faq__q .ic::after { transform: rotate(90deg); }
.aex-faq__item.is-open .ic { transform: rotate(45deg); }
.aex-faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .55s var(--ease-k); }
.aex-faq__item.is-open .aex-faq__a { grid-template-rows: 1fr; }
.aex-faq__a > div { overflow: hidden; min-height: 0; }
.aex-faq__a .in { padding: 0 0 28px 64px; max-width: 46em; color: var(--dim); font-size: 16px; line-height: 1.6; display: flex; flex-direction: column; gap: 12px; }
.aex-faq__a .in li { position: relative; padding-left: 18px; }
.aex-faq__a .in li::before { content: ''; position: absolute; left: 0; top: .7em; width: 6px; height: 1px; background: var(--dim); }
.aex-faq__a em { font-style: italic; }

/* ============================================================ CTA · HorizonX Scroll Expand */
.aex-cta { background: var(--bg); }
.aex-cta__track { position: relative; height: 260vh; }
.aex-cta__stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.aex-cta__frame { position: absolute; inset: 0; overflow: hidden; clip-path: inset(20% 28% 20% 28% round 24px); will-change: clip-path; }
.aex-cta__media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 42%; transform: scale(1.2); will-change: transform; filter: saturate(.55); }
.aex-cta__scrim { position: absolute; inset: 0; opacity: 0; pointer-events: none;
  background: radial-gradient(ellipse 62% 46% at 50% 47%, rgba(11, 11, 10, .74) 0%, rgba(11, 11, 10, .5) 100%); }
.aex-cta__overlay { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 24px;
  padding: 0 var(--pad); text-align: center; opacity: 0; pointer-events: none; }
.aex-cta__overlay.is-live { pointer-events: auto; }
.aex-cta__title { font-size: clamp(24px, 3.4vw, 58px); line-height: 1.3; padding-left: var(--track-display); }
.aex-cta__overlay .aex-lead { color: rgba(241, 241, 237, .82); text-align: center; }
.aex-cta__label { position: absolute; left: 0; right: 0; bottom: clamp(24px, 3.33vw, 48px); text-align: center; }

/* ============================================================ responsive */
@media (max-width: 991px) {
  .aex-head { grid-template-columns: 1fr; }
  .aex-head .aex-lead { justify-self: start; }
  .aex-cmp, .aex-cols { grid-template-columns: 1fr; }
  .aex-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .aex-bento .bgl-card:nth-child(1), .aex-bento .bgl-card:nth-child(6) { grid-column: span 2; }
  .aex-faq__grid { grid-template-columns: 1fr; }
  .aex-faq__side { position: static; }
}
@media (max-width: 767px) {
  .aex-hero__row { grid-template-columns: 1fr; }
  /* phone: tracks go static */
  .aex-problem__track { height: auto; }
  .aex-problem__stage { position: relative; height: auto; padding: var(--sec) 0 0; }
  .aex-problem__stage .aex-meta { position: static; margin-bottom: 32px; }
  .aex-problem__stage > .aex-wrap { position: relative; }
  .aex-statement .aex-w { opacity: 1; }
  .aex-problem__detail { padding-top: 40px; }
  .aex-stats { grid-template-columns: 1fr; gap: 32px; }
  /* accordion stacks, every panel open */
  .aex-acc { flex-direction: column; height: auto; perspective: none; }
  .aex-acc .agl-panel { flex: none; height: clamp(420px, 120vw, 560px); --agl-open: 1 !important; transform: none !important; }
  .aex-acc .agl-media { width: 100%; transform: none; filter: saturate(.7); left: 0; top: 0; }
  .aex-acc__body { width: auto; }
  .aex-acc__desc { font-size: 14px; }
  /* hardware: photo on top */
  .aex-hw { flex-direction: column; align-items: stretch; min-height: 0; padding-top: 0; }
  .aex-hw__media { position: relative; width: 100%; aspect-ratio: 1 / 1; -webkit-mask-image: none; mask-image: none; }
  .aex-hw__copy { width: 100%; padding-top: 40px; }
  .aex-cols { gap: 16px; }
  .aex-col { padding: 24px; }
  .aex-bento { grid-template-columns: 1fr; }
  .aex-bento .bgl-card:nth-child(1), .aex-bento .bgl-card:nth-child(6) { grid-column: auto; }
  .bgl-card { min-height: 0; }
  .aex-card__in { padding: 24px; }
  .aex-faq__q button { grid-template-columns: 32px minmax(0, 1fr) 20px; gap: 12px; padding: 20px 0; }
  .aex-faq__a .in { padding-left: 44px; }
  /* CTA: static full-bleed */
  .aex-cta__track { height: auto; }
  .aex-cta__stage { position: relative; height: 88svh; min-height: 520px; }
  .aex-cta__frame { clip-path: none !important; }
  .aex-cta__media { transform: none !important; }
  .aex-cta__scrim { opacity: 1 !important; }
  .aex-cta__overlay { opacity: 1 !important; pointer-events: auto; }
  .aex-cta__label { display: none; }
}
@media (max-width: 479px) {
  .aex-hero__ctas .aex-btn { width: 100%; }
}

/* reduced motion: every pattern has a static state */
@media (prefers-reduced-motion: reduce) {
  .aex-problem__track { height: auto; }
  .aex-problem__stage { position: relative; height: auto; min-height: 80vh; }
  .aex-statement .aex-w { opacity: 1 !important; }
  .aex-cta__track { height: auto; }
  .aex-cta__stage { position: relative; }
  .aex-cta__frame { clip-path: none !important; }
  .aex-cta__media { transform: none !important; }
  .aex-cta__scrim, .aex-cta__overlay { opacity: 1 !important; pointer-events: auto; }
  .aex-cta__label { display: none; }
  .aex-hw__media img { transform: none; }
  .aex-band__row { transform: none; }
  .aex-heal__hint i { animation: none; }
  html.aex-js .aex [data-rise] { opacity: 1; transform: none; transition: none; }
  html.aex-js .aex-stats .aex-stat__v { filter: none; opacity: 1; }
  html.aex-js .aex-trace .draw { stroke-dashoffset: 0; transition: none; }
  html.aex-js .aex-trace .lost { opacity: 1; transition: none; }
}
