/* Chakra Defence — prototype design system v0.3 (simplified)
   Layout: one clear message per section; label "/ SECTION", headline left, copy right. */
:root {
  color-scheme: dark;
  --graphite: #111820;
  --black: #0b1016;
  --steel: #263746;
  --silver: #D7E0E7;
  --silver-dim: #8E9BA7;
  --white: #F4F7F9;
  --ink: #111820;           /* text on the light solutions band */
  --ink-dim: #4a5763;
  --line: rgba(215, 224, 231, 0.14);
  --line-dark: rgba(17, 24, 32, 0.16);
  --signal: #E9A23B;        /* dev-mode annotations only */
  --signal-bg: rgba(233, 162, 59, 0.08);
  --font: "Barlow", "Helvetica Neue", Arial, sans-serif;
  --max: 1280px;
  --gutter: clamp(16px, 4vw, 48px);
  --section: clamp(80px, 10vw, 140px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  background: var(--graphite); color: var(--silver);
  font-family: var(--font); font-size: 17px; line-height: 1.6; font-weight: 400;
  -webkit-font-smoothing: antialiased; overflow-x: hidden; padding-bottom: 48px;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--silver); outline-offset: 3px; }
.skip { position: absolute; left: -999px; top: 12px; z-index: 100; background: var(--silver); color: var(--ink); padding: 10px 14px; }
.skip:focus { left: 16px; }

.wrap {
  max-width: var(--max); margin: 0 auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}

/* ---------- type ---------- */
.label { font-size: 13px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--silver-dim); }
h1, h2, h3 { font-weight: 300; line-height: 1.05; color: var(--white); letter-spacing: -.01em; text-wrap: balance; }
h1 { font-size: clamp(44px, 7vw, 96px); }
h2 { font-size: clamp(36px, 4.6vw, 64px); }
h3 { font-size: 24px; font-weight: 500; line-height: 1.2; }
.lede { font-size: clamp(18px, 1.5vw, 21px); font-weight: 300; max-width: 46ch; }
.muted { color: var(--silver-dim); }

/* ---------- buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 12px; min-height: 48px; padding: 12px 22px;
  font-size: 15px; font-weight: 500; letter-spacing: .02em;
  background: var(--silver); color: var(--ink); border: 1px solid var(--silver);
  transition: background .25s, color .25s;
}
.btn:hover { background: var(--white); }
.btn-outline { background: transparent; color: var(--silver); border-color: rgba(215,224,231,.4); }
.btn-outline:hover { background: rgba(215,224,231,.08); color: var(--white); }
.more { display: inline-flex; align-items: center; gap: 14px; font-size: 15px; font-weight: 500; }
.more .sq {
  width: 36px; height: 36px; display: grid; place-items: center; background: var(--silver); color: var(--ink);
  transition: transform .3s var(--ease), background .25s;
}
.more:hover .sq { transform: translate(2px, -2px); background: var(--white); }
.light .more .sq { background: var(--ink); color: var(--silver); }

/* ---------- header ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 50; padding-top: env(safe-area-inset-top, 0px); transition: background .3s, border-color .3s; border-bottom: 1px solid transparent; }
.site-header.scrolled, .site-header:has(.nav.open) { background: rgba(11,16,22,.9); backdrop-filter: blur(14px); border-color: var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand svg { width: 32px; height: 32px; }
.brand-name { font-weight: 600; font-size: 20px; letter-spacing: .24em; color: var(--white); line-height: 1; }
.brand-sub { font-size: 9px; letter-spacing: .28em; color: var(--silver-dim); margin-top: 4px; font-weight: 500; }
.nav { display: flex; gap: 32px; align-items: center; }
.nav a { font-size: 15px; color: var(--silver); transition: color .2s; }
.nav a:hover, .nav a.active { color: var(--white); }
.nav .btn { min-height: 40px; padding: 8px 18px; color: var(--ink); }
.menu-toggle { display: none; background: none; border: 1px solid rgba(215,224,231,.35); color: var(--silver); width: 44px; height: 44px; cursor: pointer; }
.menu-toggle span { display: block; width: 18px; height: 1px; background: currentColor; margin: 5px auto; transition: transform .3s, opacity .3s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
@media (max-width: 860px) {
  .menu-toggle { display: block; }
  .nav { position: fixed; inset: calc(72px + env(safe-area-inset-top, 0px)) 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--black); border-bottom: 1px solid var(--line);
    padding: 8px max(var(--gutter), env(safe-area-inset-right, 0px)) 24px max(var(--gutter), env(safe-area-inset-left, 0px)); display: none; }
  .nav.open { display: flex; }
  .nav a { padding: 16px 0; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 18px; justify-content: center; border-bottom: 0; }
}

/* ---------- sections ---------- */
section { position: relative; }
.section { overflow: hidden; }
html, body { overflow-x: clip; }
.section { padding-block: var(--section); }
.dark { background: var(--black); }
.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.split > * { min-width: 0; }
.split .label { grid-column: 1 / -1; margin-bottom: -8px; }
.split .copy { display: flex; flex-direction: column; gap: 32px; padding-top: 10px; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 24px; } .split .label { margin-bottom: 0; } }

/* ---------- hero ---------- */
.hero { min-height: clamp(600px, 88vh, 900px); display: flex; align-items: flex-end; overflow: hidden; background: var(--black); padding-block: 140px 88px; }
.hero > .wrap { width: 100%; position: relative; z-index: 2; }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: contain; object-position: 100% 40%; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,16,22,.92) 0%, rgba(11,16,22,.5) 40%, rgba(11,16,22,0) 65%), linear-gradient(0deg, rgba(11,16,22,1) 0%, rgba(11,16,22,0) 30%); }
.hero h1 { margin: 20px 0 22px; max-width: 12ch; }
.hero .lede { color: var(--silver); }
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 36px; }
@media (max-width: 860px) {
  .hero { min-height: 0; flex-direction: column; align-items: stretch; padding-block: 0 64px; }
  .hero-media { position: relative; height: 58vw; min-height: 260px; margin-top: 72px; }
  .hero-media img { object-fit: cover; object-position: 95% 50%; }
  .hero-media::after { background: linear-gradient(0deg, rgba(11,16,22,1) 0%, rgba(11,16,22,0) 45%); }
}

/* ---------- solutions (light band) ---------- */
.light { background: linear-gradient(180deg, #eef2f5 0%, #c3cdd5 100%); color: var(--ink); }
.light h2, .light h3 { color: var(--ink); }
.light .label { color: var(--ink-dim); }
.light .lede, .light .muted { color: var(--ink-dim); }
.solutions { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(20px, 3vw, 40px); margin-top: clamp(56px, 7vw, 88px); }
.solution { display: flex; flex-direction: column; color: var(--ink); }
.sol-head { display: flex; align-items: center; gap: 16px; min-height: 56px; }
.sol-code { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 22px; letter-spacing: .12em; }
.sol-code svg { width: 26px; height: 26px; }
.sol-head .bar { width: 1px; align-self: stretch; background: var(--line-dark); }
.sol-head .desc { font-size: 15px; line-height: 1.3; color: var(--ink-dim); }
.sol-img { aspect-ratio: 1; margin: 12px 0 8px; display: grid; place-items: center; position: relative; max-width: 560px; width: 100%; }
.sol-img > * { grid-area: 1 / 1; }
.sol-img img { width: 78%; position: relative; z-index: 1; transition: transform .6s var(--ease); filter: drop-shadow(0 24px 30px rgba(17,24,32,.22)); }
.solution:hover .sol-img img { transform: translateY(-6px) scale(1.02); }
.solution p { font-size: 17px; color: var(--ink-dim); margin-bottom: 20px; max-width: 40ch; flex: 1; }
@media (max-width: 860px) { .solutions { grid-template-columns: 1fr; gap: 56px; } .sol-img { max-width: 420px; } }


/* ---------- contact ---------- */
.contact { text-align: left; }
.contact .row { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.contact-line { font-size: 15px; color: var(--silver-dim); margin-top: 14px; user-select: all; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding-block: 48px 32px; background: var(--black); font-size: 14px; color: var(--silver-dim); }
.site-footer .row { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; align-items: center; }
.site-footer nav { display: flex; gap: 24px; flex-wrap: wrap; }
.site-footer nav a:hover { color: var(--white); }
.footer-base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 13px; }

/* ---------- solutions page ---------- */
.page-head { padding-block: 150px 40px; }
.page-head h1 { margin-top: 18px; }
.sol-detail { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.sol-detail > * { min-width: 0; }
.sol-detail .pic { background: linear-gradient(180deg, #eef2f5 0%, #c3cdd5 100%); aspect-ratio: 1; display: grid; place-items: center; }
.sol-detail .pic img { width: 82%; filter: drop-shadow(0 24px 30px rgba(17,24,32,.22)); }
.sol-detail ul { list-style: none; border-top: 1px solid var(--line); margin-top: 28px; }
.sol-detail li { padding: 14px 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; font-size: 15px; }
.sol-detail li span:last-child { color: var(--silver-dim); }
.sol-detail h2 { margin: 14px 0 20px; }
@media (max-width: 860px) { .sol-detail { grid-template-columns: 1fr; } .sol-detail .pic { order: -1; } }
.sep { border: 0; border-top: 1px solid var(--line); }

/* ---------- plan page (kept simple) ---------- */
.page-hero.plain { padding-block: 150px 64px; }
.eyebrow, .index-num { font-size: 13px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--silver-dim); }
.display { font-weight: 300; color: var(--white); line-height: 1.05; text-wrap: balance; }
h1.display { font-size: clamp(44px, 6vw, 84px); }
h2.display { font-size: clamp(34px, 4.2vw, 56px); }
.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; margin-bottom: 48px; }
.section-head > * { min-width: 0; }
@media (max-width: 860px) { .section-head { grid-template-columns: 1fr; gap: 20px; } }
.section + .section { border-top: 1px solid var(--line); }
.light + .section, .section + .light { border-top: 0; }
.plan-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.plan-table th { font-size: 12px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--silver-dim); text-align: left; padding: 12px 16px 12px 0; border-bottom: 1px solid rgba(215,224,231,.3); }
.plan-table td { padding: 18px 16px 18px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.plan-table td:first-child { font-size: 18px; color: var(--white); font-weight: 500; white-space: nowrap; }
.prio { font-size: 12px; font-weight: 600; padding: 3px 8px; border: 1px solid rgba(215,224,231,.3); white-space: nowrap; }
.prio.p1 { border-color: var(--silver); color: var(--white); }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table-scroll .plan-table { min-width: 720px; }
.dont { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.dont div { border: 1px solid var(--line); padding: 20px; font-size: 15px; }
.dont div::before { content: "✕"; color: var(--silver-dim); display: block; margin-bottom: 8px; }
@media (max-width: 860px) { .dont { grid-template-columns: 1fr; } }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.steps > div { background: var(--graphite); padding: 28px; }
.steps h4 { font-size: 24px; font-weight: 500; color: var(--white); margin: 10px 0 8px; }
.steps p { color: var(--silver-dim); font-size: 15px; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }
.asset-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.asset-grid figure { margin: 0; }
.asset-grid .media { aspect-ratio: 1; overflow: hidden; background: var(--black); }
.asset-grid .media img { width: 100%; height: 100%; object-fit: cover; }
.asset-grid .media.on-light { background: linear-gradient(180deg, #eef2f5 0%, #c3cdd5 100%); }
.asset-grid .media.on-light img { object-fit: contain; padding: 8%; }
.asset-grid figcaption { margin-top: 8px; font-size: 13px; color: var(--silver-dim); }
@media (max-width: 860px) { .asset-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- reveal (visible at rest; gentle lift on scroll) ---------- */
.reveal { transition: transform .9s var(--ease), opacity .9s var(--ease); }
.reveal.pre { transform: translateY(18px); opacity: .001; }
.reveal.in { transform: none; opacity: 1; }
@media (prefers-reduced-motion: reduce) { .reveal, .reveal.pre { transform: none; opacity: 1; transition: none; } }

/* =========================================================
   DEV MODE — annotation layer for client review
   ========================================================= */
.dev-only { display: none; }
body.dev .dev-only { display: block; }
.dev-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; background: rgba(11,16,22,.96); border-top: 1px solid var(--line);
  font-size: 13px; letter-spacing: .03em; color: var(--silver);
  padding: 10px max(var(--gutter), env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(var(--gutter), env(safe-area-inset-left, 0px));
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
body.dev .dev-bar { border-top-color: var(--signal); }
.dev-bar .left { display: flex; align-items: center; gap: 12px; min-width: 0; }
.dev-bar .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--silver-dim); flex: none; }
body.dev .dev-bar .dot { background: var(--signal); }
.dev-bar .txt { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dev-bar .count { color: var(--signal); }
.dev-toggle { background: transparent; color: var(--silver); border: 1px solid rgba(215,224,231,.3); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; padding: 7px 12px; cursor: pointer; display: flex; align-items: center; gap: 10px; flex: none; }
.dev-toggle .sw { width: 26px; height: 14px; border-radius: 7px; background: var(--steel); position: relative; }
.dev-toggle .sw::after { content: ""; position: absolute; top: 2px; left: 2px; width: 10px; height: 10px; border-radius: 50%; background: var(--silver); transition: transform .2s; }
body.dev .dev-toggle .sw { background: var(--signal); }
body.dev .dev-toggle .sw::after { transform: translateX(12px); background: var(--graphite); }
body.dev [data-verify] { outline: 1px dashed var(--signal); outline-offset: 6px; position: relative; }
body.dev [data-verify]::after {
  content: "VERIFY · " attr(data-verify); position: absolute; left: 0; top: -10px; transform: translateY(-100%);
  background: var(--signal); color: var(--graphite); font-size: 10px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  padding: 3px 7px; white-space: nowrap; z-index: 5; pointer-events: none; line-height: 1.4; max-width: 88vw; overflow: hidden; text-overflow: ellipsis;
}
body.dev [data-illustrative]::before {
  content: "CONCEPT RENDER — NOT A CHAKRA PRODUCT"; position: absolute; right: 12px; bottom: 12px; z-index: 6; width: auto; height: auto;
  font-size: 10px; font-weight: 600; letter-spacing: .08em; color: var(--signal); border: 1px solid var(--signal); padding: 3px 7px; background: rgba(11,16,22,.85); white-space: nowrap;
}
.sol-img[data-illustrative], .pic[data-illustrative] { position: relative; }
.dev-note { border-left: 2px solid var(--signal); background: var(--signal-bg); padding: 14px 18px; font-size: 14px; color: var(--silver); margin-top: 32px; }
.light .dev-note { color: var(--ink); background: rgba(233,162,59,.14); }
.dev-note b { font-size: 11px; letter-spacing: .12em; color: var(--signal); font-weight: 600; display: block; margin-bottom: 4px; }
.light .dev-note b { color: #9a5f0c; }
.dev-note a { text-decoration: underline; }
@media (max-width: 600px) { .dev-bar .txt .long { display: none; } }

/* =========================================================
   v0.4 — motion & graphics
   ========================================================= */
/* hero */
.hero-ring { position: absolute; right: 6vw; top: 44%; width: min(44vw, 660px); aspect-ratio: 1; transform: translateY(-50%); pointer-events: none; z-index: 1; }
.hero-ring .sweep { transform-origin: 300px 300px; animation: spin 7s linear infinite; }
.spin-slow { transform-origin: 300px 300px; animation: spin 90s linear infinite; }
.spin-rev { transform-origin: 300px 300px; animation: spin 120s linear infinite reverse; }
.spin-fast { transform-origin: 300px 300px; animation: spin 30s linear infinite; }
.spin-gear { animation: spin 6s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.float { animation: float 7s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
.intro > * { animation: rise 1s var(--ease) both; }
.intro > *:nth-child(2) { animation-delay: .12s; }
.intro > *:nth-child(3) { animation-delay: .24s; }
.intro > *:nth-child(4) { animation-delay: .36s; }
@keyframes rise { from { transform: translateY(28px); } to { transform: none; } }
.scroll-cue { position: absolute; left: 50%; bottom: 28px; width: 26px; height: 42px; border: 1px solid rgba(215,224,231,.4); border-radius: 13px; z-index: 2; transform: translateX(-50%); }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 2px; height: 8px; margin-left: -1px; background: var(--silver); border-radius: 1px; animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }
@media (max-width: 860px) {
  .hero-ring { width: 92vw; right: -6vw; top: calc(72px + 29vw); }
  .scroll-cue { display: none; }
}

/* ticker */
.ticker { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--black); padding-block: 22px; }
.ticker .track { display: flex; align-items: center; gap: 40px; width: max-content; animation: ticker 36s linear infinite; }
.ticker span { font-size: clamp(22px, 2.6vw, 34px); font-weight: 300; color: var(--silver); white-space: nowrap; letter-spacing: .02em; }
.ticker i { width: 14px; height: 14px; border: 1px solid var(--silver-dim); border-radius: 50%; position: relative; flex: none; }
.ticker i::after { content: ""; position: absolute; inset: 4px; border-radius: 50%; background: var(--silver-dim); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* big background chakra marks */
.bg-chakra { position: absolute; left: -12vw; top: 50%; width: min(60vw, 820px); aspect-ratio: 1; transform: translateY(-50%); pointer-events: none; }
.bg-chakra.right { left: auto; right: -14vw; }
.section > .wrap { position: relative; z-index: 1; }

/* solution graphics */
.sol-graphic { width: 100%; height: 100%; }
.sol-img .dim { position: absolute; left: 50%; bottom: 2%; transform: translateX(-50%); font-size: 11px; font-weight: 600; letter-spacing: .16em; color: var(--ink-dim); background: rgba(238,242,245,.9); padding: 2px 8px; z-index: 2; }
.solution .sol-img img { animation: float 6s ease-in-out infinite; }
.solution:nth-child(2) .sol-img img { animation-delay: -3s; }
.solution:hover .sol-img img { animation-play-state: paused; }
.sol-head .sol-code svg { transition: transform .8s var(--ease); }
.solution:hover .sol-code svg { transform: rotate(90deg); }
@media (max-width: 860px) { .solutions { grid-template-columns: 1fr; } }

/* line drawing: paths with pathLength="1" draw in when the block enters view */
.draw [pathLength="1"] { stroke-dasharray: 1; stroke-dashoffset: 0; transition: stroke-dashoffset 1.8s var(--ease); }
.draw.pre [pathLength="1"] { stroke-dashoffset: 1; }
.pulse-dot { animation: pulse 2.4s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes pulse { 0%, 100% { opacity: .35; transform: scale(.8); } 50% { opacity: 1; transform: scale(1.15); } }

/* leadership */
.leaders { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); margin-top: clamp(48px, 6vw, 80px); }
.leader { min-width: 0; }
.portrait { aspect-ratio: 4 / 5; background: linear-gradient(160deg, #1a2632 0%, #0e151c 100%); display: grid; place-items: center; overflow: hidden; margin-bottom: 22px; border: 1px solid var(--line); transition: border-color .35s; }
.portrait svg { width: 72%; transition: transform .6s var(--ease); }
.leader:hover .portrait { border-color: rgba(215,224,231,.4); }
.leader:hover .portrait svg { transform: scale(1.05); }
.leader h3 { font-size: 26px; font-weight: 400; }
.leader .role { font-size: 14px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--silver); margin: 6px 0 12px; }
.leader p { color: var(--silver-dim); font-size: 16px; }
.advisory { margin-top: clamp(56px, 7vw, 88px); border-top: 1px solid var(--line); padding-top: 28px; }
.adv-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 20px; }
.adv { display: flex; gap: 16px; align-items: center; }
.adv .mono-ini { width: 56px; height: 56px; border-radius: 50%; border: 1px solid rgba(215,224,231,.3); display: grid; place-items: center; color: var(--silver-dim); flex: none; }
.adv b { display: block; font-weight: 500; color: var(--white); }
.adv span { font-size: 15px; color: var(--silver-dim); }
@media (max-width: 860px) { .leaders { grid-template-columns: 1fr; gap: 48px; } .portrait { aspect-ratio: 1; max-width: 360px; } .adv-row { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) {
  .float, .intro > *, .hero-ring .sweep, .ticker .track, .spin-slow, .spin-rev, .spin-fast, .spin-gear, .pulse-dot, .scroll-cue span, .solution .sol-img img { animation: none; }
  .draw.pre [pathLength="1"] { stroke-dashoffset: 0; }
}

/* =========================================================
   v0.5 — 3D product studio (solutions)
   ========================================================= */
.studio { background: radial-gradient(ellipse at 50% 0%, #1a242e 0%, var(--black) 60%); }
.studio .sol-head .desc { color: var(--silver-dim); }
.studio .sol-head .bar { background: var(--line); }
.studio .solution { color: var(--silver); }
.studio .solution p { color: var(--silver-dim); }
.studio .solution .more { color: var(--white); }
.stage3d { position: relative; aspect-ratio: 4 / 3; margin: 16px 0 22px; background: #0d1217; border: 1px solid var(--line); overflow: hidden; cursor: grab; touch-action: pan-y; }
.stage3d.grabbing { cursor: grabbing; }
.stage3d > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 10%; transition: opacity .6s; }
.stage3d .viewer-canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; display: block; opacity: 0; transition: opacity .8s; }
.stage3d.live .viewer-canvas { opacity: 1; }
.stage3d.live > img { opacity: 0; }
.stage3d .hint { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--silver-dim); z-index: 2; pointer-events: none; transition: opacity .4s; }
.stage3d.grabbing .hint { opacity: 0; }
.stage3d::after { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 2; box-shadow: inset 0 0 0 1px rgba(215,224,231,.04), inset 0 -80px 80px -60px rgba(0,0,0,.4); }

/* =========================================================
   v0.6 — separate pages, CERBAIR solutions band, contact box, footer card
   ========================================================= */
/* hero with army scene */
.hero.army .hero-media img { object-fit: cover; object-position: 70% 50%; }
.hero.army .hero-media::after { background: linear-gradient(90deg, rgba(11,16,22,.88) 0%, rgba(11,16,22,.45) 38%, rgba(11,16,22,0) 62%), linear-gradient(0deg, rgba(11,16,22,.95) 0%, rgba(11,16,22,0) 35%); }
@media (max-width: 860px) { .hero.army .hero-media img { object-position: 78% 50%; } }

/* distinct section grounds */
.ground-graphite { background: var(--graphite); }
.ground-black { background: var(--black); }
.ground-steel { background: linear-gradient(180deg, #16212b 0%, #111820 100%); }
.section.ground-graphite, .section.ground-black, .section.ground-steel, .section.cerb { border-top: 1px solid var(--line); }

/* mission & vision */
.mv { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: clamp(40px, 5vw, 64px); }
.mv > div { background: var(--graphite); padding: clamp(28px, 4vw, 56px); position: relative; overflow: hidden; }
.mv .k { font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--silver-dim); display: flex; align-items: center; gap: 12px; }
.mv .k svg { width: 28px; height: 28px; }
.mv p { font-size: clamp(22px, 2.3vw, 32px); font-weight: 300; line-height: 1.3; color: var(--white); margin-top: 22px; max-width: 26ch; }
.mv .mark { position: absolute; right: -60px; bottom: -60px; width: 220px; opacity: .14; }
@media (max-width: 860px) { .mv { grid-template-columns: 1fr; } }

/* CERBAIR-style solutions band */
.cerb { background: linear-gradient(180deg, #6c757d 0%, #aab2b9 100%); color: var(--white); }
.cerb h2 { color: var(--white); }
.cerb .label { color: rgba(255,255,255,.75); }
.cerb .lede { color: rgba(255,255,255,.88); }
.cerb .solutions { grid-template-columns: repeat(2, 1fr); gap: clamp(24px, 6vw, 96px); margin-top: clamp(48px, 6vw, 80px); }
.cerb .solution { align-items: center; text-align: center; color: var(--white); transition: filter .5s var(--ease), opacity .5s var(--ease); }
.cerb .solutions.has-focus .solution:not(.focus) { filter: blur(5px); opacity: .55; }
.cerb .sol-head { justify-content: center; }
.cerb .sol-code { color: var(--white); }
.cerb .sol-head .bar { background: rgba(255,255,255,.5); }
.cerb .sol-head .desc { color: rgba(255,255,255,.85); text-align: left; }
.cerb .stage3d { background: transparent; border: 0; aspect-ratio: 4 / 3; width: 100%; margin: 8px 0 12px; }
.cerb .stage3d::after { display: none; }
.cerb .stage3d .hint { color: rgba(255,255,255,.75); bottom: 6px; }
.cerb .solution p { color: rgba(255,255,255,.88); max-width: 38ch; margin: 0 auto 18px; flex: 0; }
.cerb .solution .more { color: var(--white); }
.cerb .more .sq { background: var(--white); color: var(--ink); }
.cerb .dev-note { color: var(--white); background: rgba(11,16,22,.25); }
.cerb .dev-note b { color: #ffd08a; }
@media (max-width: 860px) { .cerb .solutions { grid-template-columns: 1fr; gap: 56px; } .cerb .solutions.has-focus .solution:not(.focus) { filter: none; opacity: 1; } }

/* teaser rows on home */
.teaser { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.teaser > * { min-width: 0; }
.teaser .pic { aspect-ratio: 4 / 3; overflow: hidden; border: 1px solid var(--line); position: relative; }
.teaser .pic img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.teaser:hover .pic img { transform: scale(1.04); }
.teaser h2 { margin: 16px 0 20px; }
.teaser .copy { display: flex; flex-direction: column; gap: 28px; }
@media (max-width: 860px) { .teaser { grid-template-columns: 1fr; } }
.mini-leaders { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; }
.mini-leaders .leader .portrait { aspect-ratio: 1; margin-bottom: 14px; }
.mini-leaders .leader h3 { font-size: 20px; }
.mini-leaders .leader .role { font-size: 12px; margin: 4px 0 0; }
@media (max-width: 600px) { .mini-leaders { grid-template-columns: 1fr; } }

/* page heads */
.page-hero2 { position: relative; overflow: hidden; background: var(--black); padding-block: 170px 90px; }
.page-hero2 .bg { position: absolute; inset: 0; }
.page-hero2 .bg img { width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.page-hero2 .bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,16,22,.95) 0%, rgba(11,16,22,.6) 45%, rgba(11,16,22,.2) 100%), linear-gradient(0deg, rgba(11,16,22,1) 0%, rgba(11,16,22,0) 40%); }
.page-hero2 .wrap { position: relative; z-index: 1; }
.page-hero2 h1 { margin: 18px 0 20px; max-width: 16ch; }
.crumb { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--silver-dim); }
.crumb a:hover { color: var(--white); }

/* values / pillars grid (company, technology) */
.pillars4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 48px; }
.pillars4 > div { background: var(--graphite); padding: 32px 28px; }
.pillars4 .n { font-size: 13px; font-weight: 600; letter-spacing: .14em; color: var(--silver-dim); }
.pillars4 h3 { margin: 18px 0 10px; }
.pillars4 p { color: var(--silver-dim); font-size: 16px; }
@media (max-width: 960px) { .pillars4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .pillars4 { grid-template-columns: 1fr; } }
.pathway { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; margin-top: 48px; position: relative; }
.pathway::before { content: ""; position: absolute; left: 0; right: 0; top: 11px; height: 1px; background: rgba(215,224,231,.3); }
.pathway div { position: relative; padding-right: 16px; }
.pathway i { display: block; width: 23px; height: 23px; border-radius: 50%; border: 1px solid var(--silver); background: var(--graphite); margin-bottom: 18px; position: relative; }
.pathway i::after { content: ""; position: absolute; inset: 7px; border-radius: 50%; background: var(--silver); }
.pathway b { display: block; font-weight: 500; color: var(--white); font-size: 19px; }
.pathway span { color: var(--silver-dim); font-size: 15px; }
@media (max-width: 860px) { .pathway { grid-template-columns: 1fr; gap: 22px; } .pathway::before { left: 11px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; } .pathway div { display: grid; grid-template-columns: 23px 1fr; gap: 16px; } .pathway i { margin: 0; } }

/* contact box */
.contact-box { display: grid; grid-template-columns: .9fr 1.1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: clamp(40px, 5vw, 64px); }
.contact-box > * { background: var(--graphite); padding: clamp(28px, 4vw, 52px); min-width: 0; }
.contact-box .info h3 { font-size: 30px; font-weight: 300; }
.contact-box .info dl { margin-top: 28px; display: grid; gap: 22px; }
.contact-box .info dt { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--silver-dim); }
.contact-box .info dd { color: var(--white); margin-top: 4px; user-select: all; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; }
.form .full { grid-column: 1 / -1; }
.form label { display: block; font-size: 13px; font-weight: 500; color: var(--silver-dim); margin-bottom: 6px; }
.form input, .form select, .form textarea {
  width: 100%; background: var(--black); color: var(--white); border: 1px solid rgba(215,224,231,.22); padding: 12px 14px; font: inherit; font-size: 16px; border-radius: 0;
  transition: border-color .2s;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--silver); }
.form textarea { min-height: 130px; resize: vertical; }
.form .check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--silver-dim); }
.form .check input { width: 18px; height: 18px; margin-top: 2px; flex: none; accent-color: #D7E0E7; }
.form button { justify-self: start; cursor: pointer; }
.form-note { grid-column: 1 / -1; font-size: 14px; color: var(--silver); border-left: 2px solid var(--silver); padding: 10px 14px; background: rgba(215,224,231,.06); }
.form-note[hidden] { display: none; }
@media (max-width: 860px) { .contact-box { grid-template-columns: 1fr; } .form { grid-template-columns: 1fr; } }

/* footer ending card (RRP-style) */
.footer-card { background: radial-gradient(ellipse at 85% 60%, rgba(38,55,70,.85) 0%, rgba(11,16,22,0) 55%), radial-gradient(ellipse at 10% 30%, rgba(38,55,70,.45) 0%, rgba(11,16,22,0) 45%), var(--black); padding-block: clamp(64px, 8vw, 104px) 32px; border-top: 1px solid var(--line); }
.fc-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr 1.3fr; gap: 40px; }
.fc-grid > * { min-width: 0; }
.fc-grid h4 { font-size: 22px; font-weight: 400; color: var(--white); margin-bottom: 26px; }
.fc-grid ul { list-style: none; display: grid; gap: 16px; }
.fc-grid li, .fc-grid address { font-size: 16px; color: var(--silver-dim); font-style: normal; line-height: 1.5; }
.fc-grid a:hover { color: var(--white); }
.fc-brand svg.logo { width: 64px; height: 64px; }
.socials { display: flex; gap: 22px; margin-top: 32px; }
.socials a { width: 28px; height: 28px; color: var(--silver); transition: color .2s, transform .2s; }
.socials a:hover { color: var(--white); transform: translateY(-2px); }
.socials svg { width: 100%; height: 100%; }
.fc-base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: clamp(56px, 7vw, 96px); padding-top: 24px; border-top: 1px solid var(--line); font-size: 15px; color: var(--silver-dim); }
@media (max-width: 1000px) { .fc-grid { grid-template-columns: 1fr 1fr; } .fc-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .fc-grid { grid-template-columns: 1fr; } }

/* v0.7 — scroll-zoom hero (sticky stage; image frame scales down and rounds as you scroll) */
.zoom-wrap { height: 220vh; background: var(--black); }
.zoom-wrap .hero { position: sticky; top: 0; height: 100vh; height: 100svh; min-height: 0; padding-block: 0 clamp(56px, 9vh, 110px); }
.zoom-frame { position: absolute; inset: 0; overflow: hidden; transform-origin: center 42%; will-change: transform; }
.zoom-wrap .hero-media { position: absolute; inset: 0; height: auto; min-height: 0; margin: 0; }
.zoom-wrap .hero-media img { object-fit: cover; }
#zoom-copy { will-change: transform, opacity; }
.zoom-wrap.static { height: auto; }
.zoom-wrap.static .hero { position: relative; }
@media (max-width: 860px) {
  .zoom-wrap { height: 180vh; }
  .zoom-wrap .hero { flex-direction: row; align-items: flex-end; }
  .zoom-wrap .hero-media img { object-position: 74% 50%; }
  .zoom-wrap .hero-media::after { background: linear-gradient(0deg, rgba(11,16,22,.95) 0%, rgba(11,16,22,.4) 50%, rgba(11,16,22,.15) 100%); }
}

/* =========================================================
   v0.8 — DJI-referenced redesign
   Neutral darks (#141414 / #1f1f1f / #262626), white & #f5f5f7 light bands,
   one blue accent for primary actions, pill buttons, Open Sans semibold heads.
   ========================================================= */
:root {
  --graphite: #1f1f1f;
  --black: #141414;
  --steel: #2b2b2b;
  --silver: #e6e6e6;
  --silver-dim: #a3a3a3;
  --white: #ffffff;
  --ink: #1d1d1f;
  --ink-dim: #5f6368;
  --line: rgba(255, 255, 255, 0.12);
  --line-dark: rgba(0, 0, 0, 0.1);
  --accent: #1a6dff;
  --accent-hover: #0d58d9;
  --surface: #f5f5f7;
  --footer: #262626;
  --font: "Open Sans", "Helvetica Neue", Arial, sans-serif;
}
body { font-size: 16px; }
h1, h2, h3 { font-weight: 600; letter-spacing: -.015em; }
h1, .h1 { font-size: clamp(38px, 5.4vw, 72px); line-height: 1.08; }
h2 { font-size: clamp(30px, 3.6vw, 48px); line-height: 1.12; }
.lede { font-weight: 400; }
.label, .crumb { letter-spacing: .08em; }

/* buttons: DJI pills */
.btn { border-radius: 999px; background: var(--accent); border-color: var(--accent); color: #fff; font-weight: 600; letter-spacing: 0; }
.btn:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.75); }
.btn-outline:hover { background: rgba(255,255,255,.1); }
.more { color: #fff; }
.more .sq { display: none; }
.more::after { content: "›"; font-size: 20px; line-height: 1; margin-left: -6px; transition: transform .25s var(--ease); }
.more:hover::after { transform: translateX(3px); }
.pill { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px; padding: 10px 26px; border-radius: 999px; font-size: 16px; font-weight: 500; border: 1.5px solid transparent; transition: background .25s, color .25s, border-color .25s; white-space: nowrap; }
.pill i { font-style: normal; font-size: 20px; line-height: 1; transition: transform .25s var(--ease); }
.pill:hover i { transform: translateX(3px); }
.pill-ghost { color: #fff; border-color: rgba(255,255,255,.85); }
.pill-ghost:hover { background: rgba(255,255,255,.14); }
.pill-blue { background: var(--accent); color: #fff; }
.pill-blue:hover { background: var(--accent-hover); }
.pill-line { color: var(--ink); border-color: rgba(0,0,0,.28); }
.pill-line:hover { border-color: var(--ink); }
.link-arrow { display: inline-flex; gap: 8px; align-items: center; color: var(--accent); font-weight: 600; }
.link-arrow i { font-style: normal; font-size: 20px; transition: transform .25s var(--ease); }
.link-arrow:hover i { transform: translateX(3px); }

/* header: transparent over the hero, solid once scrolled */
.site-header.scrolled, .site-header:has(.nav.open) { background: rgba(20,20,20,.88); border-color: transparent; }
.brand-name { font-weight: 700; letter-spacing: .2em; }
.nav { gap: 30px; }
.nav a { color: #fff; font-weight: 500; opacity: .9; }
.nav a:hover, .nav a.active { opacity: 1; color: #fff; }
.nav .btn { min-height: 40px; padding: 8px 20px; color: #fff; opacity: 1; }
.menu-toggle { border-radius: 10px; border-color: rgba(255,255,255,.35); color: #fff; }
@media (max-width: 860px) { .nav { background: var(--black); } }

/* section grounds, neutralised */
.ground-graphite { background: var(--graphite); }
.ground-black { background: var(--black); }
.ground-steel { background: var(--footer); }
.section.ground-graphite, .section.ground-black, .section.ground-steel { border-top: 0; }
.page-hero2 .bg::after { background: linear-gradient(90deg, rgba(14,26,43,.92) 0%, rgba(14,26,43,.55) 45%, rgba(14,26,43,.15) 100%), linear-gradient(0deg, rgba(20,20,20,1) 0%, rgba(20,20,20,0) 40%); }
.page-hero2 { background: linear-gradient(180deg, #0e1a2b 0%, #1d2c40 100%); }
.pillars4, .mv, .contact-box, .steps { border-radius: 16px; overflow: hidden; }
.form input, .form select, .form textarea { border-radius: 10px; background: #141414; }
.form .check input { accent-color: var(--accent); }
.portrait { border-radius: 16px; }

/* ---------- hero slider ---------- */
.hero-slider { position: relative; height: 100vh; height: 100svh; min-height: 560px; max-height: 1000px; overflow: hidden; background: linear-gradient(180deg, #0e1a2b 0%, #2a3a52 70%, #1b2638 100%); color: #fff; }
.slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .9s var(--ease), visibility 0s .9s; }
.slide.is-on { opacity: 1; visibility: visible; transition: opacity .9s var(--ease); }
.slide > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; transform: scale(1.06); transition: transform 7s linear; }
.slide.is-on > img { transform: scale(1); }
.slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,26,43,.78) 0%, rgba(14,26,43,.3) 38%, rgba(14,26,43,0) 60%), linear-gradient(0deg, rgba(14,26,43,.75) 0%, rgba(14,26,43,0) 30%); pointer-events: none; }
.slide-copy { position: relative; z-index: 2; text-align: center; padding: calc(132px + env(safe-area-inset-top, 0px)) var(--gutter) 0; max-width: 900px; margin: 0 auto; }
.slide-copy .kicker { font-size: clamp(16px, 1.5vw, 21px); color: rgba(255,255,255,.85); }
.slide-copy h1, .slide-copy .h1 { color: #fff; margin: 10px auto 12px; max-width: 18ch; }
.slide-copy .tag { font-size: clamp(18px, 1.8vw, 26px); font-weight: 600; color: #fff; }
.slide-copy .cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }
.slide.is-on .slide-copy > * { animation: rise 1s var(--ease) both; }
.slide.is-on .slide-copy > *:nth-child(2) { animation-delay: .08s; }
.slide.is-on .slide-copy > *:nth-child(3) { animation-delay: .16s; }
.slide.is-on .slide-copy > *:nth-child(4) { animation-delay: .24s; }
.hs-arrow { position: absolute; top: 50%; z-index: 3; width: 48px; height: 48px; margin-top: -24px; background: transparent; border: 0; color: #fff; cursor: pointer; opacity: .8; transition: opacity .2s, transform .2s; }
.hs-arrow:hover { opacity: 1; }
.hs-arrow svg { width: 30px; height: 30px; margin: auto; }
.hs-arrow.prev { left: 16px; } .hs-arrow.next { right: 16px; }
.hs-list { position: absolute; z-index: 3; left: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))); bottom: clamp(40px, 7vh, 72px); display: flex; flex-direction: column; gap: 14px; }
.hs-list button { position: relative; background: none; border: 0; color: rgba(255,255,255,.55); font-size: 18px; text-align: left; padding: 0 0 0 0; cursor: pointer; transition: color .25s; }
.hs-list button:hover { color: rgba(255,255,255,.85); }
.hs-list button[aria-selected="true"] { color: #fff; font-weight: 600; }
.hs-list button[aria-selected="true"]::before { content: ""; position: absolute; left: -56px; top: 50%; width: 2px; height: 22px; margin-top: -11px; background: #fff; }
@media (max-width: 860px) {
  .hero-slider { height: 88svh; min-height: 520px; }
  .slide > img { object-position: 72% 60%; }
  .slide::after { background: linear-gradient(180deg, rgba(14,26,43,.85) 0%, rgba(14,26,43,.45) 45%, rgba(14,26,43,.1) 70%), linear-gradient(0deg, rgba(14,26,43,.8) 0%, rgba(14,26,43,0) 30%); }
  .slide-copy { padding-top: calc(108px + env(safe-area-inset-top, 0px)); }
  .slide-copy .cta { gap: 10px; }
  .slide-copy .pill { min-height: 42px; padding: 8px 20px; font-size: 15px; }
  .hs-arrow { display: none; }
  .hs-list { left: 0; right: 0; flex-direction: row; justify-content: center; gap: 10px; bottom: 28px; }
  .hs-list button { font-size: 0; width: 28px; height: 4px; border-radius: 2px; background: rgba(255,255,255,.4); }
  .hs-list button[aria-selected="true"] { background: #fff; }
  .hs-list button[aria-selected="true"]::before { display: none; }
}
@media (prefers-reduced-motion: reduce) { .slide > img, .slide.is-on > img { transform: none; transition: none; } .slide.is-on .slide-copy > * { animation: none; } }

/* ---------- light bands ---------- */
.products, .about-band { background: #fff; color: var(--ink); }
.tech-tiles, .lead-band { background: var(--surface); color: var(--ink); }
.products h2, .products h3, .about-band h2, .tech-tiles h2, .lead-band h2, .lead-band h3 { color: var(--ink); }
.sec-head { text-align: center; max-width: 760px; margin: 0 auto; }
.eyebrow2 { font-size: 15px; font-weight: 600; color: var(--accent); margin-bottom: 10px; }
.sec-head .sub { font-size: 18px; color: var(--ink-dim); margin-top: 14px; }
.products .dev-note, .about-band .dev-note { color: var(--ink); background: rgba(233,162,59,.14); }
.products .dev-note b { color: #9a5f0c; }

/* ---------- products ---------- */
.ptabs { display: flex; justify-content: center; gap: 6px; margin: 36px auto 0; padding: 5px; background: var(--surface); border-radius: 999px; width: max-content; max-width: 100%; }
.ptabs button { border: 0; background: transparent; color: var(--ink-dim); font-size: 16px; font-weight: 600; padding: 10px 24px; border-radius: 999px; cursor: pointer; transition: background .25s, color .25s, box-shadow .25s; }
.ptabs button:hover { color: var(--ink); }
.ptabs button[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: 0 2px 10px rgba(0,0,0,.08); }
.product { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; margin-top: clamp(32px, 4vw, 56px); }
.product[hidden] { display: none; }
.product > * { min-width: 0; }
.p-stage { display: flex; flex-direction: column; align-items: center; }
.product .stage3d { width: 100%; aspect-ratio: 4 / 3; margin: 0; border: 0; border-radius: 24px; background: radial-gradient(ellipse at 50% 38%, #ffffff 0%, #eef0f3 55%, #dfe3e8 100%); }
.product .stage3d::after { display: none; }
.product .stage3d > img { padding: 12%; }
.p-hint { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; padding: 6px 14px; border-radius: 999px; background: var(--surface); font-size: 13px; font-weight: 500; color: var(--ink-dim); transition: opacity .5s; }
.p-hint svg { width: 16px; height: 16px; }
.product.used .p-hint { opacity: .45; }
.p-cat { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); }
.p-cat svg { width: 22px; height: 22px; }
.p-info h3 { font-size: clamp(28px, 2.8vw, 38px); line-height: 1.15; margin: 12px 0 14px; }
.p-info > p { color: var(--ink-dim); font-size: 17px; max-width: 52ch; }
.p-feat { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 26px 0 0; }
.p-feat li { background: var(--surface); border-radius: 14px; padding: 16px; }
.p-feat b { display: block; font-size: 15px; color: var(--ink); }
.p-feat span { display: block; font-size: 13.5px; line-height: 1.45; color: var(--ink-dim); margin-top: 4px; }
.p-specs { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; margin-top: 26px; border-top: 1px solid var(--line-dark); }
.p-specs > div { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line-dark); font-size: 15px; }
.p-specs dt { color: var(--ink-dim); }
.p-specs dd { color: var(--ink); font-weight: 600; text-align: right; }
.p-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.products.stacked .product + .product { margin-top: clamp(64px, 8vw, 112px); padding-top: clamp(64px, 8vw, 112px); border-top: 1px solid var(--line-dark); }
.products.stacked .product:nth-child(even) .p-stage { order: 2; }
.products.stacked .product:first-child { margin-top: 0; }
@media (max-width: 960px) {
  .product { grid-template-columns: 1fr; }
  .products.stacked .product:nth-child(even) .p-stage { order: 0; }
  .p-feat { grid-template-columns: 1fr; }
  .p-feat li { display: flex; gap: 10px; align-items: baseline; padding: 12px 14px; }
  .p-feat span { margin-top: 0; }
}
@media (max-width: 520px) { .p-specs { grid-template-columns: 1fr; } .ptabs button { padding: 10px 16px; font-size: 15px; } .p-feat li { display: block; } }

/* ---------- technology tiles ---------- */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: clamp(36px, 4vw, 56px); }
.tile { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: 20px; overflow: hidden; background: #0e1a2b; color: #fff; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.tile:hover img { transform: scale(1.05); }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,26,43,.7) 0%, rgba(14,26,43,0) 45%); }
.t-copy { position: absolute; z-index: 1; left: 0; right: 0; top: 0; padding: 28px; text-align: center; display: flex; flex-direction: column; gap: 6px; }
.t-copy b { font-size: 24px; font-weight: 600; }
.t-copy span { font-size: 15px; color: rgba(255,255,255,.85); }
.t-copy i { font-style: normal; font-size: 15px; font-weight: 600; margin-top: 6px; }
@media (max-width: 860px) { .tiles { grid-template-columns: 1fr; } .tile { aspect-ratio: 16 / 10; } }

/* ---------- about + mission ---------- */
.about-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 6vw, 96px); align-items: end; }
.about-copy p { font-size: 18px; color: var(--ink-dim); margin-bottom: 20px; }
.mv2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: clamp(40px, 5vw, 64px); }
.mv2 > div { background: var(--surface); border-radius: 20px; padding: clamp(28px, 4vw, 48px); }
.mv2 .k { font-size: 14px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); }
.mv2 p { font-size: clamp(20px, 2vw, 26px); line-height: 1.4; font-weight: 500; color: var(--ink); margin-top: 14px; }
@media (max-width: 860px) { .about-grid, .mv2 { grid-template-columns: 1fr; } }

/* ---------- leadership (light) ---------- */
.lead-band .mini-leaders { margin-top: clamp(36px, 4vw, 56px); gap: 20px; }
.lead-band .portrait { background: #e4e7eb; border: 0; aspect-ratio: 1; }
.lead-band .portrait svg { width: 62%; fill: #c3c9d0; }
.lead-band .leader h3 { color: var(--ink); font-size: 20px; font-weight: 600; }
.lead-band .leader .role { color: var(--ink-dim); letter-spacing: .04em; }
.center-cta { text-align: center; margin-top: 40px; }

/* ---------- closing CTA band ---------- */
.cta-band { background: var(--footer); color: #fff; text-align: center; padding-block: clamp(64px, 8vw, 96px); }
.cta-band h2 { font-size: clamp(26px, 3vw, 36px); color: #fff; }
.cta-band p { color: rgba(255,255,255,.8); margin: 14px auto 28px; font-size: 18px; max-width: 46ch; }

/* ---------- footer (DJI columns) ---------- */
.footer-card { background: var(--footer); border-top: 1px solid rgba(255,255,255,.12); padding-block: clamp(48px, 6vw, 72px) 28px; }
.home .footer-card { border-top-color: rgba(255,255,255,.1); }
.fc-grid h4 { font-size: 17px; font-weight: 700; color: #fff; margin-bottom: 20px; }
.fc-grid ul { gap: 14px; }
.fc-grid li, .fc-grid address { font-size: 15.5px; color: #cfcfcf; }
.fc-grid a:hover { color: #fff; }
.fc-brand svg.logo { width: 52px; height: 52px; }
.socials a { color: #cfcfcf; }
.fc-base { border-top-color: rgba(255,255,255,.12); font-size: 14px; color: #9a9a9a; }

/* v0.9 — base hero + click-to-open product cards */
.hero.army .hero-media img { object-position: 50% 50%; }
.hero.army .hero-media::after { background: linear-gradient(90deg, rgba(14,26,43,.82) 0%, rgba(14,26,43,.35) 45%, rgba(14,26,43,0) 70%), linear-gradient(0deg, rgba(14,26,43,.9) 0%, rgba(14,26,43,0) 40%); }
.hero .kicker { font-size: 17px; color: rgba(255,255,255,.85); }
.hero h1 { color: #fff; max-width: 14ch; margin: 10px 0 14px; }
.hero .lede { color: #fff; font-weight: 600; }
.pick { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: clamp(36px, 4vw, 56px); }
.pcard { border-radius: 24px; background: radial-gradient(ellipse at 50% 38%, #fff 0%, #eef0f3 55%, #dfe3e8 100%); cursor: pointer; overflow: hidden; outline-offset: 4px; transition: box-shadow .3s, transform .3s var(--ease); box-shadow: 0 0 0 2px transparent; }
.pcard:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(0,0,0,.08); }
.pcard[aria-expanded="true"] { box-shadow: 0 0 0 2px var(--accent), 0 12px 30px rgba(26,109,255,.15); }
.pcard .stage3d { aspect-ratio: 4 / 3; background: transparent; border: 0; margin: 0; }
.pcard .stage3d::after { display: none; }
.pcard .stage3d > img { padding: 12%; }
.pc-foot { display: flex; align-items: center; gap: 12px; padding: 0 24px 22px; color: var(--ink); }
.pc-code { font-size: 12px; font-weight: 700; letter-spacing: .1em; color: var(--accent); border: 1px solid rgba(26,109,255,.35); border-radius: 999px; padding: 3px 10px; }
.pc-foot b { font-size: 20px; font-weight: 600; }
.pc-open { margin-left: auto; font-size: 14px; font-weight: 600; color: var(--accent); display: inline-flex; gap: 6px; align-items: center; }
.pc-open i { font-style: normal; font-size: 18px; transition: transform .3s var(--ease); }
.pcard[aria-expanded="true"] .pc-open i { transform: rotate(45deg); }
.p-hint.center { display: flex; width: max-content; max-width: 100%; margin: 18px auto 0; }
.pdetail { margin-top: 28px; background: var(--surface); border-radius: 24px; padding: clamp(24px, 4vw, 48px); animation: rise .6s var(--ease) both; }
.pdetail[hidden] { display: none; }
.pdetail .p-info h3 { margin-top: 10px; }
.pdetail .p-feat li { background: #fff; }
@media (max-width: 760px) { .pick { grid-template-columns: 1fr; } .pc-foot { flex-wrap: wrap; } }

/* v0.9 — technology page */
.tech-hero { background: linear-gradient(180deg, #0e1a2b 0%, #1d2c40 100%); color: #fff; padding-block: calc(140px + env(safe-area-inset-top, 0px)) clamp(56px, 7vw, 88px); }
.tech-hero h1 { color: #fff; margin: 16px 0 16px; max-width: 16ch; font-size: clamp(36px, 4.6vw, 60px); }
.tech-hero .crumb { color: rgba(255,255,255,.65); }
.th-sub { font-size: 19px; color: rgba(255,255,255,.82); max-width: 50ch; }
.th-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.th-chips a { border: 1.5px solid rgba(255,255,255,.4); border-radius: 999px; padding: 9px 18px; font-size: 15px; font-weight: 500; transition: background .25s, border-color .25s; }
.th-chips a:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.pillars-band { background: #fff; color: var(--ink); }
.pillar { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; scroll-margin-top: 90px; }
.pillar + .pillar { margin-top: clamp(64px, 8vw, 112px); }
.pillar > * { min-width: 0; }
.pillar.flip .pl-pic { order: 2; }
.pl-pic { border-radius: 24px; overflow: hidden; aspect-ratio: 4 / 3; background: #0e1a2b; }
.pl-pic img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.pillar:hover .pl-pic img { transform: scale(1.04); }
.pl-copy h3 { font-size: clamp(28px, 2.8vw, 38px); line-height: 1.15; color: var(--ink); margin: 12px 0 14px; }
.pl-lead { font-size: 18px; font-weight: 600; color: var(--ink); margin-bottom: 10px; }
.pl-copy > p:not(.pl-lead) { color: var(--ink-dim); font-size: 16.5px; }
.pl-points { list-style: none; margin-top: 24px; border-top: 1px solid var(--line-dark); }
.pl-points li { display: grid; grid-template-columns: 180px 1fr; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line-dark); font-size: 15px; }
.pl-points b { color: var(--ink); }
.pl-points span { color: var(--ink-dim); }
.path-band { background: var(--surface); color: var(--ink); }
.path-band h2 { color: var(--ink); }
.steps5 { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-top: clamp(36px, 4vw, 56px); }
.steps5 li { background: #fff; border-radius: 18px; padding: 24px 22px; }
.steps5 span { font-size: 13px; font-weight: 700; color: var(--accent); }
.steps5 b { display: block; font-size: 19px; color: var(--ink); margin: 8px 0 6px; }
.steps5 p { font-size: 14.5px; color: var(--ink-dim); line-height: 1.5; }
@media (max-width: 960px) { .steps5 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 860px) { .pillar { grid-template-columns: 1fr; } .pillar.flip .pl-pic { order: 0; } .pl-points li { grid-template-columns: 1fr; gap: 2px; } }
@media (max-width: 520px) { .steps5 { grid-template-columns: 1fr; } }

/* v0.9 — inner pages (company, leadership, contact, solutions) */
.about-band h2, .tech-tiles h2 { color: var(--ink); }
.sectors { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: clamp(40px, 5vw, 64px); }
.sectors a { display: flex; align-items: center; gap: 20px; background: var(--surface); border-radius: 20px; padding: 18px 24px 18px 18px; color: var(--ink); transition: transform .3s var(--ease), box-shadow .3s; }
.sectors a:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(0,0,0,.08); }
.sectors img { width: 120px; height: 120px; object-fit: contain; background: #fff; border-radius: 14px; padding: 8px; flex: none; }
.sectors span { color: var(--ink-dim); font-size: 15px; }
.sectors b { display: block; font-size: 20px; color: var(--ink); margin-bottom: 4px; }
.steps5.four { grid-template-columns: repeat(4, 1fr); }
.about-band .steps5 li { background: var(--surface); }
.lead-band .leader p { color: var(--ink-dim); font-size: 15px; margin-top: 8px; }
.lead-band .leader .role { margin-top: 4px; }
.advisors { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: clamp(36px, 4vw, 56px); }
.advisors > div { display: flex; gap: 16px; align-items: center; background: var(--surface); border-radius: 18px; padding: 22px; }
.advisors .ini { width: 56px; height: 56px; border-radius: 50%; background: #e4e7eb; color: #8a929b; display: grid; place-items: center; font-weight: 700; flex: none; }
.advisors b { display: block; color: var(--ink); }
.advisors span { color: var(--ink-dim); font-size: 15px; }
.contact-light { background: var(--surface); color: var(--ink); }
.contact-light .contact-box { margin-top: 0; background: transparent; border: 0; gap: 20px; overflow: visible; }
.contact-light .contact-box > * { background: #fff; border-radius: 24px; }
.contact-light .info h3 { color: var(--ink); font-weight: 600; }
.contact-light .muted, .contact-light .info dt, .contact-light .form label, .contact-light .form .check { color: var(--ink-dim); }
.contact-light .info dd { color: var(--ink); }
.contact-light .form input, .contact-light .form select, .contact-light .form textarea { background: #fff; color: var(--ink); border-color: rgba(0,0,0,.18); }
.contact-light .form input:focus, .contact-light .form select:focus, .contact-light .form textarea:focus { border-color: var(--accent); }
.contact-light .form-note { color: var(--ink); border-left-color: var(--accent); background: rgba(26,109,255,.06); }
.contact-light .contact-box > .info { background: linear-gradient(180deg, #0e1a2b 0%, #1d2c40 100%); }
.contact-light .info h3, .contact-light .info dd { color: #fff; }
.contact-light .info .muted, .contact-light .info dt { color: rgba(255,255,255,.7); }
@media (max-width: 960px) { .steps5.four { grid-template-columns: 1fr 1fr; } }
@media (max-width: 760px) { .sectors, .advisors { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .steps5.four { grid-template-columns: 1fr; } .sectors img { width: 88px; height: 88px; } }

/* v0.9 — insights (news cards) */
.insights { background: #0b0b0b; color: #fff; }
.ins-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; }
.ins-head h2 { color: #fff; }
.insights .eyebrow2 { color: #5b9bff; }
.ins-grid { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: clamp(36px, 4vw, 56px); }
.ins-card { display: flex; flex-direction: column; padding: 0 clamp(18px, 2.4vw, 32px); min-width: 0; }
.ins-card + .ins-card { border-left: 1px solid rgba(255,255,255,.22); }
.ins-card:first-child { padding-left: 0; } .ins-card:last-child { padding-right: 0; }
.ins-meta { display: flex; gap: 28px; font-size: 14px; letter-spacing: .04em; text-transform: uppercase; color: rgba(255,255,255,.8); }
.ins-meta span { display: inline-flex; align-items: center; gap: 8px; }
.ins-meta svg { width: 16px; height: 16px; }
.ins-card h3 { color: #fff; font-size: clamp(22px, 2vw, 28px); font-weight: 500; line-height: 1.2; margin: 22px 0 24px; min-height: 2.4em; }
.ins-pic { aspect-ratio: 16 / 10; overflow: hidden; background: #0e1a2b; }
.ins-pic img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.ins-card:hover .ins-pic img { transform: scale(1.05); }
.ins-card p { color: rgba(255,255,255,.72); font-size: 15.5px; line-height: 1.65; margin: 24px 0 28px; flex: 1; }
.ins-more { display: inline-flex; align-items: center; gap: 20px; font-size: 18px; color: #fff; }
.ins-more .sq { width: 52px; height: 52px; display: grid; place-items: center; background: var(--accent); color: #fff; font-size: 22px; transition: transform .3s var(--ease), background .25s; }
.ins-more:hover .sq { transform: translate(2px, -2px); background: var(--accent-hover); }
@media (max-width: 900px) { .ins-grid { grid-template-columns: 1fr; gap: 40px; } .ins-card, .ins-card:first-child, .ins-card:last-child { padding: 0; } .ins-card + .ins-card { border-left: 0; border-top: 1px solid rgba(255,255,255,.22); padding-top: 40px; } .ins-card h3 { min-height: 0; } }
.ins-list { max-width: 820px; }
.ins-article { scroll-margin-top: 90px; }
.ins-article + .ins-article { margin-top: clamp(56px, 7vw, 96px); padding-top: clamp(56px, 7vw, 96px); border-top: 1px solid var(--line-dark); }
.ins-meta.on-light { color: var(--accent); font-weight: 600; }
.ins-article h2 { color: var(--ink); margin: 12px 0 16px; }
.ins-art-pic { border-radius: 20px; overflow: hidden; aspect-ratio: 16 / 9; margin: 24px 0; background: #0e1a2b; }
.ins-art-pic img { width: 100%; height: 100%; object-fit: cover; }
.ins-article > p:not(.pl-lead) { color: var(--ink-dim); font-size: 17px; line-height: 1.75; margin-top: 14px; }

/* v0.9 — news cards (left rule per card, press-style meta) */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); margin-top: clamp(36px, 4vw, 56px); }
.news-card { display: flex; flex-direction: column; min-width: 0; border-left: 1px solid rgba(255,255,255,.25); padding-left: clamp(20px, 2.4vw, 40px); }
.nc-pic { display: block; aspect-ratio: 16 / 10; border-radius: 14px; overflow: hidden; background: #0e1a2b; }
.nc-pic img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.news-card:hover .nc-pic img { transform: scale(1.05); }
.nc-meta { margin-top: 22px; font-size: 14.5px; color: rgba(255,255,255,.6); }
.nc-meta span { margin: 0 4px; opacity: .6; }
.news-card h3 { font-size: clamp(21px, 1.9vw, 26px); font-weight: 500; line-height: 1.25; color: #fff; margin: 10px 0 12px; }
.news-card h3 a:hover { text-decoration: underline; text-underline-offset: 4px; }
.nc-sum { color: rgba(255,255,255,.7); font-size: 15.5px; line-height: 1.6; flex: 1; margin-bottom: 26px; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.nc-more { display: inline-flex; align-items: center; gap: 18px; font-size: 17px; color: #fff; }
.nc-more .sq { width: 48px; height: 48px; display: grid; place-items: center; background: var(--accent); font-size: 20px; transition: transform .3s var(--ease), background .25s; }
.nc-more:hover .sq { transform: translate(2px, -2px); background: var(--accent-hover); }
@media (max-width: 900px) { .news-grid { grid-template-columns: 1fr; gap: 48px; } }

/* v0.9 — news card motion: staggered rise, image unveil, hover lift + accent rule */
.news-card { position: relative; transition: transform .7s var(--ease), opacity .8s var(--ease); }
.news-card::before { content: ""; position: absolute; left: -1px; top: 0; width: 2px; height: 0; background: var(--accent); transition: height .6s var(--ease); }
.news-card:hover { transform: translateY(-6px); }
.news-card:hover::before { height: 100%; }
.news-card .nc-pic { clip-path: inset(0 0 0 0 round 14px); transition: clip-path 1.1s var(--ease); }
.news-card.pre .nc-pic { clip-path: inset(0 100% 0 0 round 14px); }
.news-card.pre .nc-pic img { transform: scale(1.15); }
.news-card .nc-pic img { transition: transform 1.4s var(--ease); }
.news-card:nth-child(2) { transition-delay: .12s; } .news-card:nth-child(2) .nc-pic { transition-delay: .12s; }
.news-card:nth-child(3) { transition-delay: .24s; } .news-card:nth-child(3) .nc-pic { transition-delay: .24s; }
.news-card:hover { transition-delay: 0s; }
.news-card:hover .nc-more .sq { transform: translate(3px, -3px) rotate(0deg); }
.nc-more .sq { position: relative; overflow: hidden; }
.news-card:hover .nc-meta { color: rgba(255,255,255,.85); }
@media (prefers-reduced-motion: reduce) { .news-card, .news-card .nc-pic, .news-card .nc-pic img, .news-card::before { transition: none; } .news-card.pre .nc-pic { clip-path: none; } .news-card:hover { transform: none; } }

/* v0.9 — interactive explainer diagrams */
.read-progress { position: fixed; left: 0; right: 0; top: 0; height: 3px; z-index: 60; pointer-events: none; }
.read-progress span { display: block; height: 100%; background: var(--accent); transform-origin: 0 50%; transform: scaleX(0); }
.dx { margin: 28px 0; border-radius: 22px; overflow: hidden; background: #0d1622; color: #cfd8e3; }
.dx svg { display: block; width: 100%; height: auto; }
.dx figcaption { padding: 0 22px 20px; font-size: 14px; color: #93a3b5; }
.dx text { fill: #93a3b5; font: 500 13px var(--font); }
.dx-grid path { stroke: rgba(255,255,255,.05); }
.dx-ground { stroke: #2a3a4d; stroke-width: 2; }
.dx-gcs rect { fill: #1b2a3c; stroke: #5b8bc4; stroke-width: 1.5; } .dx-gcs path { stroke: #5b8bc4; stroke-width: 2; }
.dx-lane { stroke: rgba(91,139,196,.25); stroke-width: 1.5; stroke-dasharray: 4 6; }
.dx-drone rect, .dx-drone circle { fill: #2b3c50; stroke: #cfd8e3; stroke-width: 1.5; } .dx-drone path { stroke: #cfd8e3; stroke-width: 3; } .dx-drone ellipse { fill: rgba(207,216,227,.35); }
#dx-link[data-state="lost"] .dx-drone { animation: dxDrift 3s ease-in-out infinite; }
@keyframes dxDrift { 50% { transform: translate(-8px, 6px); } }
.pk .up, .dx-legend .up { fill: var(--accent); filter: drop-shadow(0 0 6px rgba(26,109,255,.9)); }
.pk .down, .dx-legend .down { fill: #39d98a; filter: drop-shadow(0 0 6px rgba(57,217,138,.8)); }
.dx-screen { fill: #08101a; stroke: #2a3a4d; }
.dx-rth { fill: none; stroke: #f5b13d; stroke-width: 2; stroke-dasharray: 8 8; opacity: 0; transition: opacity .4s; }
.dx-rth.on { opacity: 1; animation: dxDash 1s linear infinite; }
@keyframes dxDash { to { stroke-dashoffset: -16; } }
.dx-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 6px 22px 12px; }
.dx-controls span { font-size: 13px; color: #93a3b5; margin-right: 6px; }
.dx-controls button { border: 1px solid rgba(255,255,255,.2); background: transparent; color: #cfd8e3; border-radius: 999px; padding: 7px 16px; font: 600 13px var(--font); cursor: pointer; transition: background .2s, border-color .2s, color .2s; }
.dx-controls button:hover { border-color: #fff; color: #fff; }
.dx-controls button[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: #fff; }
#dx-link[data-state="degraded"] .dx-controls button[aria-pressed="true"] { background: #f5b13d; border-color: #f5b13d; color: #111; }
#dx-link[data-state="lost"] .dx-controls button[aria-pressed="true"] { background: #e5484d; border-color: #e5484d; }
.dx-scopes { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding: 24px 22px 8px; }
.dx-scope { text-align: center; }
.dx-scope b { display: block; color: #fff; font-size: 15px; margin-bottom: 10px; }
.dx-scope svg { max-width: 260px; margin: 0 auto; }
.dx-scope .sky { fill: #c9d6e2; } .dx-scope .land { fill: #8a9a7a; }
.dx-scope .plate { fill: #f2efe6; stroke: #555; } .dx-scope .bull { fill: none; stroke: #c0392b; stroke-width: 3; }
.dx-scope .cross { stroke: #111; stroke-width: 1.2; vector-effect: non-scaling-stroke; } .dx-scope .ret path:not(.cross) { stroke: #111; stroke-width: 1.4; vector-effect: non-scaling-stroke; }
.dx-scope .tgt, .dx-scope .ret { transition: transform .35s var(--ease); }
.dx-scope .ring { fill: none; stroke: #0d1622; stroke-width: 10; }
.dx-tag { display: inline-block; margin-top: 10px; font-size: 12.5px; font-weight: 600; padding: 4px 12px; border-radius: 999px; background: rgba(57,217,138,.15); color: #39d98a; }
.dx-tag.warn { background: rgba(245,177,61,.15); color: #f5b13d; }
.dx-range { display: flex; align-items: center; gap: 14px; padding: 14px 22px 12px; font-size: 13px; color: #93a3b5; }
.dx-range input { flex: 1; accent-color: var(--accent); }
.dx-range output { min-width: 3ch; font-weight: 700; color: #fff; font-size: 16px; }
.dx-split-stage { position: relative; cursor: ew-resize; touch-action: pan-y; user-select: none; --split: 50%; }
.dx-th { position: absolute; inset: 0; clip-path: inset(0 0 0 var(--split)); }
.dx-scene .lbl { font: 700 13px var(--font); letter-spacing: .12em; }
.dx-scene.nv .bg { fill: #071a0c; } .dx-scene.nv .ground { fill: #0f3a1b; } .dx-scene.nv .tree path { stroke: #2f7a40; stroke-width: 10; } .dx-scene.nv .tree circle { fill: #1f5a2c; }
.dx-scene.nv .body { fill: #3f8f50; } .dx-scene.nv .engine { fill: #4fa060; } .dx-scene.nv .wheel { fill: #164d24; } .dx-scene.nv .person * { fill: #6cc07c; } .dx-scene.nv .lbl { fill: #8ef0a0; }
.dx-scene.nv { filter: url(#none); }
.dx-scene.th .bg { fill: #0a0a2a; } .dx-scene.th .ground { fill: #1c1450; } .dx-scene.th .tree path { stroke: #2a1d6a; stroke-width: 10; } .dx-scene.th .tree circle { fill: #2d2070; }
.dx-scene.th .body { fill: #6a2a7a; } .dx-scene.th .engine { fill: #ffd84a; filter: drop-shadow(0 0 14px #ff7a1a); } .dx-scene.th .wheel { fill: #c4462e; }
.dx-scene.th .person * { fill: #fff3b0; filter: drop-shadow(0 0 10px #ff8c1a); } .dx-scene.th .lbl { fill: #ffd84a; }
.dx-handle { position: absolute; top: 0; bottom: 0; left: var(--split); width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 12px rgba(255,255,255,.6); }
.dx-handle span { position: absolute; top: 50%; left: 50%; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%; background: #fff; color: #111; display: grid; place-items: center; font-size: 18px; box-shadow: 0 4px 14px rgba(0,0,0,.4); }
.dx-handle:focus-visible span { outline: 3px solid var(--accent); }
#dx-split figcaption { padding-top: 16px; }
.ins-article h2 { transition: color .3s; }
.ins-article.pre .dx { transform: translateY(24px) scale(.98); opacity: .001; }
.ins-article .dx { transition: transform 1s var(--ease) .15s, opacity 1s var(--ease) .15s; }
@media (max-width: 600px) { .dx-scopes { gap: 10px; padding: 18px 12px 4px; } .dx-tag { font-size: 11px; } .dx-controls { padding: 6px 14px 10px; } }
@media (prefers-reduced-motion: reduce) { .ins-article.pre .dx { transform: none; opacity: 1; } .dx-rth.on, #dx-link[data-state="lost"] .dx-drone { animation: none; } }

/* v0.9 — news carousel (scroll-snap track, 2.4 cards per view on desktop) */
.news-carousel { position: relative; margin-top: clamp(36px, 4vw, 56px); }
.news-carousel .news-grid { display: grid; grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: calc((100% - 2 * clamp(20px, 3vw, 40px)) / 2.4); gap: clamp(20px, 3vw, 40px); margin-top: 0; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 8px; cursor: grab; }
.news-carousel .news-grid::-webkit-scrollbar { display: none; }
.news-carousel .news-grid.dragging { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.news-carousel .news-grid.dragging img { pointer-events: none; }
.news-carousel .news-card { scroll-snap-align: start; }
.news-carousel .news-card:hover { transform: none; }
.nc-nav { display: flex; align-items: center; gap: 18px; margin-top: 36px; }
.nc-nav button { width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.35); background: transparent; color: #fff; cursor: pointer; display: grid; place-items: center; transition: background .25s, border-color .25s, transform .25s var(--ease), opacity .25s; }
.nc-nav button svg { width: 22px; height: 22px; }
.nc-nav button:hover { background: var(--accent); border-color: var(--accent); }
.nc-nav .nc-next:hover { transform: translateX(3px); } .nc-nav .nc-prev:hover { transform: translateX(-3px); }
.nc-nav button:disabled { opacity: .35; pointer-events: none; }
.nc-dots { display: flex; gap: 8px; flex: 1; }
.nc-dots i { width: 28px; height: 4px; border-radius: 2px; background: rgba(255,255,255,.25); cursor: pointer; transition: background .3s, width .3s var(--ease); }
.nc-dots i.on { background: #fff; width: 56px; }
@media (max-width: 900px) { .news-carousel .news-grid { grid-auto-columns: 82%; gap: 20px; } }
