/* Hemisphere GNSS design system (prototype)
   Look and feel: framed grid with hatched gutters, light display type, mono eyebrows,
   navy and white panels with one orange accent. Typeface: Roboto (per client decision). */

:root {
  --navy-950: #050A24;
  --navy-900: #0A1440;
  --navy-800: #111C55;
  --navy-700: #001A7B;
  --navy-logo: #282F72;
  --orange: #F58025;
  --orange-600: #D9650E;
  --orange-50: #FEF1E6;
  --ink: #0F1320;
  --text: #3A3F4B;
  --muted: #687080;
  --line: #E3E6EE;
  --line-strong: #CDD2DE;
  --line-dark: rgba(255, 255, 255, .12);
  --bg: #FFFFFF;
  --bg-soft: #F5F7FB;
  --bg-mist: #EDF1F8;
  --ok: #1E8A5A;

  --font: 'Roboto', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'Roboto Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --frame: 1240px;
  --pad: clamp(20px, 4vw, 56px);
  --section: clamp(64px, 8vw, 112px);
  --radius: 4px;
  --header-h: 72px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --icon-accent: var(--orange);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background-color: var(--bg-soft);
  background-image: repeating-linear-gradient(135deg, transparent 0 7px, rgba(10, 20, 64, .045) 7px 8px);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
a { color: var(--navy-700); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--orange-600); }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
h1, h2, h3, h4 { color: var(--ink); margin: 0 0 .5em; line-height: 1.12; text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }
.balance { text-wrap: balance; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--orange); color: var(--navy-950); padding: 10px 14px; font-weight: 600; }
.skip:focus { top: 12px; }

.icon { width: 24px; height: 24px; flex: none; }
.icon--sm { width: 18px; height: 18px; }
.icon--lg { width: 36px; height: 36px; }
.icon--xl { width: 48px; height: 48px; }

/* ---------- Type ---------- */
.display { font-size: clamp(2.6rem, 5.4vw, 5.1rem); font-weight: 300; letter-spacing: -.035em; line-height: 1.02; }
.h2 { font-size: clamp(2rem, 3.6vw, 3.3rem); font-weight: 300; letter-spacing: -.028em; line-height: 1.06; }
.h3 { font-size: clamp(1.35rem, 1.8vw, 1.7rem); font-weight: 400; letter-spacing: -.015em; }
.lede { font-size: clamp(1.05rem, 1.3vw, 1.22rem); color: var(--muted); max-width: 46ch; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 12.5px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase;
  color: var(--orange-600); margin: 0 0 18px;
}
.eyebrow::before { content: ''; width: 18px; height: 1px; background: currentColor; }
.eyebrow--plain::before { display: none; }
.mono { font-family: var(--mono); }
.muted { color: var(--muted); }

/* ---------- Frame (Agave-style bordered column) ---------- */
.frame {
  max-width: var(--frame); margin: 0 auto; background: var(--bg);
  border-left: 1px solid var(--line); border-right: 1px solid var(--line);
  position: relative;
}
.frame--soft { background: var(--bg-soft); }
.frame--mist { background: var(--bg-mist); }
.band-dark { background-color: var(--navy-950); background-image: repeating-linear-gradient(135deg, transparent 0 7px, rgba(255, 255, 255, .03) 7px 8px); color: #C9CFE0; }
.band-dark .frame { background: var(--navy-900); border-color: var(--line-dark); }
.band-dark h1, .band-dark h2, .band-dark h3, .band-dark h4 { color: #fff; }
.band-dark .eyebrow { color: var(--orange); }
.band-dark .lede, .band-dark .muted { color: #9AA3BE; }
.band-dark a:not(.btn) { color: #fff; }
.section { padding: var(--section) var(--pad); }
.section--tight { padding-top: calc(var(--section) * .6); padding-bottom: calc(var(--section) * .6); }
.rule { border-top: 1px solid var(--line); }
.band-dark .rule { border-color: var(--line-dark); }
.section-head { display: grid; gap: 16px; margin-bottom: clamp(36px, 5vw, 64px); max-width: 760px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; justify-items: center; }
.section-head--split { max-width: none; grid-template-columns: 1fr auto; align-items: end; }
.section-head p { margin: 0; }

/* ---------- Buttons ---------- */
.btn {
  --b: var(--orange); --c: var(--navy-950); --bh: #FF9747;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border: 1px solid var(--b); border-radius: var(--radius);
  background: var(--b); color: var(--c); font: 500 15.5px/1 var(--font); letter-spacing: .01em;
  text-decoration: none; cursor: pointer; transition: background .2s, border-color .2s, color .2s, transform .2s;
  white-space: nowrap;
}
.btn:hover { background: var(--bh); border-color: var(--bh); color: var(--c); }
.btn:active { transform: translateY(1px); }
.btn .icon { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn--navy { --b: var(--navy-700); --c: #fff; --bh: var(--navy-800); }
.btn--ghost { background: transparent; --c: var(--ink); border-color: var(--line-strong); }
.btn--ghost:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn--ghost-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .45); }
.btn--ghost-light:hover { background: #fff; border-color: #fff; color: var(--navy-950); }
.btn--sm { min-height: 38px; padding: 0 14px; font-size: 14px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.link-arrow {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 500; color: var(--ink);
  text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 3px;
}
.link-arrow .icon { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.link-arrow:hover { color: var(--orange-600); }
.link-arrow:hover .icon { transform: translateX(4px); }
.band-dark .link-arrow { color: #fff; }
.band-dark .link-arrow:hover { color: var(--orange); }

/* ---------- Announcement + header ---------- */
.announce { background: var(--navy-950); color: #D5DAEA; font-size: 14px; text-align: center; padding: 9px var(--pad); }
.announce a { color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: 10px; }
.announce a:hover { color: #fff; }
.announce .dot { width: 22px; height: 22px; border-radius: 50%; background: var(--orange); color: var(--navy-950); display: inline-grid; place-items: center; }
.announce .dot .icon { width: 14px; height: 14px; }
.announce .tag { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--orange); }

.site-header { position: sticky; top: 0; z-index: 100; background: rgba(10, 20, 64, .94); backdrop-filter: saturate(140%) blur(10px); -webkit-backdrop-filter: saturate(140%) blur(10px); border-bottom: 1px solid var(--line-dark); }
.site-header .bar { max-width: var(--frame); margin: 0 auto; height: var(--header-h); display: flex; align-items: center; gap: 28px; padding: 0 var(--pad); border-left: 1px solid var(--line-dark); border-right: 1px solid var(--line-dark); }
.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 30px; width: auto; }
.nav { display: flex; align-items: stretch; gap: 2px; height: 100%; margin-left: 8px; }
.nav > li { list-style: none; display: flex; }
.nav-trigger {
  display: flex; align-items: center; gap: 6px; padding: 0 12px; height: 100%;
  background: none; border: 0; color: #D6DBEA; font: 400 15px var(--font); cursor: pointer; text-decoration: none; white-space: nowrap;
}
.nav-trigger .icon { width: 14px; height: 14px; transition: transform .2s; opacity: .7; }
.nav-trigger:hover, .nav > li.open .nav-trigger, .nav-trigger[aria-current="page"] { color: #fff; }
.nav > li.open .nav-trigger .icon { transform: rotate(180deg); }
.nav-trigger[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--orange); }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.icon-btn { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid transparent; border-radius: var(--radius); background: none; color: #D6DBEA; cursor: pointer; }
.icon-btn:hover { color: #fff; border-color: var(--line-dark); }
.menu-toggle { display: none; }

.mega {
  position: absolute; left: 0; right: 0; top: 100%; background: var(--bg); color: var(--text);
  border-bottom: 1px solid var(--line); box-shadow: 0 30px 60px -30px rgba(5, 10, 36, .35);
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .18s, transform .18s, visibility .18s;
}
.nav > li.open .mega { opacity: 1; visibility: visible; transform: none; }
.mega-inner { max-width: var(--frame); margin: 0 auto; display: grid; grid-template-columns: 1fr 300px; border-left: 1px solid var(--line); border-right: 1px solid var(--line); }
.mega-grid { display: grid; grid-template-columns: repeat(2, 1fr); padding: 20px; gap: 4px; }
.mega-grid--3 { grid-template-columns: repeat(3, 1fr); }
.mega-item { display: flex; gap: 14px; padding: 14px; border-radius: var(--radius); text-decoration: none; color: var(--ink); }
.mega-item:hover { background: var(--bg-soft); color: var(--ink); }
.mega-item .icon { color: var(--navy-700); margin-top: 2px; }
.mega-item strong { display: block; font-weight: 500; font-size: 15.5px; line-height: 1.3; }
.mega-item span { display: block; font-size: 13.5px; color: var(--muted); line-height: 1.45; margin-top: 3px; }
.mega-feature { background: var(--bg-mist); padding: 28px; border-left: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; }
.mega-feature h4 { font-weight: 400; font-size: 20px; letter-spacing: -.01em; margin: 0; }
.mega-feature p { font-size: 14px; color: var(--muted); margin: 0; }
.mega-feature img { border-radius: var(--radius); background: #fff; aspect-ratio: 16/10; object-fit: contain; width: 100%; }

/* Mobile drawer */
.drawer { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; color: #fff; background: var(--navy-950); }
.hero .frame { background: transparent; border-color: var(--line-dark); min-height: min(78vh, 760px); display: grid; align-items: center; }
.hero-media { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .55; transform: scale(1.04); animation: heroZoom 18s var(--ease) forwards; }
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5, 10, 36, .92) 0%, rgba(5, 10, 36, .55) 55%, rgba(5, 10, 36, .2) 100%), linear-gradient(0deg, rgba(5, 10, 36, .85) 0%, transparent 35%); pointer-events: none; }
.hero-content { position: relative; z-index: 2; padding: clamp(72px, 10vw, 140px) var(--pad); max-width: 780px; }
.hero h1 { color: #fff; }
.hero .lede { color: #C3CAE0; max-width: 52ch; margin: 24px 0 36px; }
.hero-orbits { position: absolute; z-index: 1; right: -8%; top: 50%; width: min(62vw, 820px); transform: translateY(-50%); opacity: .9; pointer-events: none; }
@keyframes heroZoom { to { transform: scale(1); } }

.page-hero { position: relative; overflow: hidden; background: var(--navy-950); color: #fff; }
.page-hero .frame { background: transparent; border-color: var(--line-dark); }
.page-hero .hero-media { opacity: .38; }
.page-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5, 10, 36, .95) 0%, rgba(5, 10, 36, .6) 70%, rgba(5, 10, 36, .35) 100%); pointer-events: none; }
.page-hero-content { position: relative; z-index: 2; padding: clamp(56px, 8vw, 104px) var(--pad) clamp(48px, 6vw, 80px); max-width: 860px; }
.page-hero h1 { color: #fff; font-size: clamp(2.3rem, 4.6vw, 4.1rem); font-weight: 300; letter-spacing: -.032em; line-height: 1.04; }
.page-hero .lede { color: #C3CAE0; max-width: 60ch; margin-top: 18px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: #8F98B6; margin-bottom: 26px; }
.crumbs a { color: #C3CAE0; text-decoration: none; }
.crumbs a:hover { color: #fff; }
.crumbs span[aria-hidden] { opacity: .5; }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg); }
.marquee-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee-item { display: flex; align-items: center; gap: 14px; padding: 22px 36px; font-family: var(--mono); font-size: 14px; letter-spacing: .14em; text-transform: uppercase; color: var(--navy-logo); white-space: nowrap; }
.marquee-item .icon { width: 20px; height: 20px; color: var(--orange); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Grids and cards ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.cells { display: grid; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.cells > * { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.band-dark .cells, .band-dark .cells > * { border-color: var(--line-dark); }

.industry-card {
  position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; gap: 48px;
  min-height: 340px; padding: 36px; text-decoration: none; color: var(--ink); background: var(--bg); isolation: isolate;
}
.industry-card .bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transform: scale(1.06); transition: opacity .5s var(--ease), transform .8s var(--ease); z-index: -2; }
.industry-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(5, 10, 36, .92), rgba(5, 10, 36, .35)); opacity: 0; transition: opacity .5s var(--ease); z-index: -1; }
.industry-card > .icon { width: 44px; height: 44px; color: var(--navy-700); transition: color .3s; }
.industry-card h3 { font-weight: 400; font-size: clamp(1.5rem, 2.2vw, 2rem); letter-spacing: -.02em; margin-bottom: 10px; transition: color .3s; }
.industry-card p { color: var(--muted); margin: 0 0 22px; max-width: 34ch; transition: color .3s; }
.industry-card .link-arrow { transition: color .3s; }
.industry-card:hover .bg { opacity: 1; transform: scale(1); }
.industry-card:hover::after { opacity: 1; }
.industry-card:hover h3, .industry-card:hover .link-arrow { color: #fff; }
.industry-card:hover p { color: #C9CFE0; }
.industry-card:hover > .icon { color: var(--orange); }
.industry-card .num { position: absolute; top: 32px; right: 36px; font-family: var(--mono); font-size: 12px; letter-spacing: .12em; color: var(--muted); transition: color .3s; }
.industry-card:hover .num { color: #C9CFE0; }

.cat-card { display: flex; flex-direction: column; gap: 14px; padding: 28px; text-decoration: none; color: var(--ink); background: var(--bg); transition: background .25s; min-height: 260px; position: relative; }
.cat-card:hover { background: var(--bg-soft); color: var(--ink); }
.cat-card .icon { width: 34px; height: 34px; color: var(--navy-700); }
.cat-card h3 { font-size: 1.25rem; font-weight: 500; margin: 0; }
.cat-card p { font-size: 14.5px; color: var(--muted); margin: 0; }
.cat-card .count { margin-top: auto; font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--orange-600); display: flex; align-items: center; justify-content: space-between; }
.cat-card .count .icon { width: 18px; height: 18px; color: var(--ink); transition: transform .2s var(--ease); }
.cat-card:hover .count .icon { transform: translateX(4px); }
.cat-card--feature { background: var(--navy-900); color: #fff; }
.cat-card--feature:hover { background: var(--navy-800); color: #fff; }
.cat-card--feature h3 { color: #fff; }
.cat-card--feature p { color: #AEB6CF; }
.cat-card--feature .icon, .cat-card--feature .count .icon { color: var(--orange); }

.product-card { display: flex; flex-direction: column; background: var(--bg); text-decoration: none; color: var(--ink); transition: background .2s; }
.product-card:hover { background: var(--bg-soft); color: var(--ink); }
.product-card .media { aspect-ratio: 4/3; background: radial-gradient(circle at 50% 40%, #fff 0%, var(--bg-mist) 100%); display: grid; place-items: center; overflow: hidden; border-bottom: 1px solid var(--line); }
.product-card .media img { width: 78%; height: 78%; object-fit: contain; transition: transform .5s var(--ease); }
.product-card:hover .media img { transform: scale(1.05); }
.product-card .body { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.product-card .kicker { font-family: var(--mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--orange-600); }
.product-card h3 { font-size: 1.12rem; font-weight: 500; margin: 0; line-height: 1.3; }
.product-card ul { list-style: none; padding: 0; margin: 4px 0 0; font-size: 13.5px; color: var(--muted); display: grid; gap: 4px; }
.product-card li { display: flex; gap: 8px; }
.product-card li::before { content: ''; flex: none; width: 5px; height: 5px; margin-top: 8px; background: var(--orange); border-radius: 1px; }
.product-card .more { margin-top: auto; padding-top: 12px; display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; }
.product-card .more .icon { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.product-card:hover .more .icon { transform: translateX(4px); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 14px; border: 1px solid var(--line-strong);
  border-radius: 999px; background: var(--bg); color: var(--ink); font: 400 14px var(--font); cursor: pointer; text-decoration: none; transition: background .15s, border-color .15s, color .15s;
}
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip[aria-pressed="true"], .chip.is-active { background: var(--navy-900); border-color: var(--navy-900); color: #fff; }
.chip .icon { width: 16px; height: 16px; }
.chip .n { font-family: var(--mono); font-size: 11.5px; opacity: .65; }
.tag { display: inline-flex; align-items: center; min-height: 26px; padding: 0 10px; border-radius: 999px; background: var(--bg-mist); color: var(--navy-logo); font-size: 12.5px; }
.band-dark .tag, .page-hero .tag { background: rgba(255, 255, 255, .1); color: #DCE1F0; }
.pill-sample { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; background: var(--orange-50); color: var(--orange-600); padding: 4px 8px; border-radius: 3px; }

/* ---------- Sticky tech scroller ---------- */
.tech { display: grid; grid-template-columns: 1fr 1fr; }
.tech-list { padding: var(--section) var(--pad); border-right: 1px solid var(--line); }
.tech-step { padding: 28px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 44px 1fr; gap: 18px; opacity: .45; transition: opacity .4s; }
.tech-step:last-child { border-bottom: 1px solid var(--line); }
.tech-step.is-active { opacity: 1; }
.tech-step > .icon { width: 30px; height: 30px; color: var(--navy-700); }
.tech-step.is-active > .icon { color: var(--orange-600); }
.tech-step h3 { font-weight: 400; font-size: clamp(1.4rem, 2vw, 1.85rem); letter-spacing: -.02em; margin: 0 0 8px; }
.tech-step p { margin: 0; color: var(--muted); }
.tech-step .bar { grid-column: 1 / -1; height: 2px; background: var(--line); position: relative; overflow: hidden; }
.tech-step .bar::after { content: ''; position: absolute; inset: 0; background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform 1.2s var(--ease); }
.tech-step.is-active .bar::after { transform: scaleX(1); }
.tech-visual { position: sticky; top: calc(var(--header-h) + 24px); height: calc(100vh - var(--header-h) - 48px); max-height: 640px; margin: 24px; background: var(--navy-900); border-radius: var(--radius); overflow: hidden; display: grid; place-items: center; }
.tech-visual figure { position: absolute; inset: 0; margin: 0; display: grid; place-items: center; padding: 48px; opacity: 0; transform: scale(.97); transition: opacity .5s, transform .6s var(--ease); }
.tech-visual figure.is-active { opacity: 1; transform: none; }
.tech-visual img { max-height: 70%; width: auto; object-fit: contain; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .45)); }
.tech-visual figcaption { position: absolute; left: 28px; bottom: 24px; font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: #9AA3BE; }
.tech-visual .grid-bg { position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px); background-size: 40px 40px; }

/* ---------- Numbers band ---------- */
.numbers { position: relative; overflow: hidden; }
.numbers .map { position: absolute; inset: 0; opacity: .75; pointer-events: none; }
.numbers .map::after { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 45% 55% at 50% 38%, rgba(10, 20, 64, .92), rgba(10, 20, 64, 0)); }
.numbers .map svg { width: 100%; height: 100%; }
.numbers-inner { position: relative; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 32px 28px; border-top: 1px solid var(--line-dark); }
.stat + .stat { border-left: 1px solid var(--line-dark); }
.stat b { display: block; font-weight: 300; font-size: clamp(2.6rem, 4.4vw, 4rem); letter-spacing: -.04em; color: #fff; line-height: 1; }
.stat b sup { font-size: .45em; color: var(--orange); vertical-align: top; margin-left: 2px; }
.stat > span { display: block; margin-top: 12px; font-size: 14.5px; color: #9AA3BE; }
.dealer-dot { fill: var(--orange); }
.dealer-pulse { fill: none; stroke: var(--orange); stroke-width: 1; transform-box: fill-box; transform-origin: center; animation: pulse 3.2s var(--ease) infinite; }
@keyframes pulse { 0% { opacity: .6; transform: scale(1); } 100% { opacity: 0; transform: scale(3.2); } }

/* ---------- Events & news ---------- */
.event-card { display: grid; grid-template-columns: 112px 1fr; background: var(--bg); color: var(--ink); text-decoration: none; }
.event-date { padding: 22px 18px; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 2px; background: var(--bg-soft); }
.event-date .m { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--orange-600); }
.event-date .d { font-size: 2.2rem; font-weight: 300; letter-spacing: -.03em; line-height: 1; color: var(--ink); }
.event-date .y { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.event-body { padding: 22px 24px; display: flex; flex-direction: column; gap: 8px; }
.event-body h3 { font-size: 1.2rem; font-weight: 500; margin: 0; }
.event-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14px; color: var(--muted); }
.event-meta span { display: inline-flex; align-items: center; gap: 6px; }
.event-meta .icon { width: 16px; height: 16px; }
.event-card.is-past { opacity: .6; }
.events-empty { padding: 36px; background: var(--bg); color: var(--muted); display: flex; gap: 16px; align-items: center; }

.news-card { display: flex; flex-direction: column; background: var(--bg); text-decoration: none; color: var(--ink); transition: background .2s; }
.news-card:hover { background: var(--bg-soft); color: var(--ink); }
.news-card .media { aspect-ratio: 16/9; overflow: hidden; background: var(--navy-900); position: relative; display: grid; place-items: center; }
.news-card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.news-card:hover .media img { transform: scale(1.04); }
.news-card .media .icon { width: 40px; height: 40px; color: rgba(255, 255, 255, .5); }
.news-card .media .play { position: absolute; width: 56px; height: 56px; border-radius: 50%; background: var(--orange); color: var(--navy-950); display: grid; place-items: center; }
.news-card .media .play .icon { color: var(--navy-950); width: 22px; height: 22px; }
.news-card .body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.news-card h3 { font-size: 1.08rem; font-weight: 500; line-height: 1.35; margin: 0; }
.news-card .foot { margin-top: auto; display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--muted); }
.news-card .foot .icon { width: 16px; height: 16px; }

/* ---------- Resource tiles ---------- */
.res-tile { display: flex; gap: 18px; padding: 28px; background: var(--bg); text-decoration: none; color: var(--ink); transition: background .2s; }
.res-tile:hover { background: var(--bg-soft); color: var(--ink); }
.res-tile .ico { width: 52px; height: 52px; flex: none; border-radius: var(--radius); background: var(--bg-mist); display: grid; place-items: center; color: var(--navy-700); transition: background .2s, color .2s; }
.res-tile:hover .ico { background: var(--navy-900); color: #fff; --icon-accent: var(--orange); }
.res-tile h3 { font-size: 1.08rem; font-weight: 500; margin: 2px 0 6px; display: flex; align-items: center; gap: 8px; }
.res-tile h3 .icon { width: 15px; height: 15px; color: var(--muted); }
.res-tile p { font-size: 14.5px; color: var(--muted); margin: 0; }
.res-tile .n { font-family: var(--mono); font-size: 12px; color: var(--orange-600); letter-spacing: .08em; text-transform: uppercase; margin-top: 10px; display: block; }

/* ---------- Library ---------- */
.library { display: grid; grid-template-columns: 280px 1fr; min-height: 60vh; }
.lib-side { border-right: 1px solid var(--line); padding: 32px 24px; position: sticky; top: var(--header-h); align-self: start; max-height: calc(100vh - var(--header-h)); overflow: auto; }
.lib-side h4 { font-family: var(--mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 500; margin: 26px 0 10px; }
.lib-side h4:first-child { margin-top: 0; }
.facet { display: flex; align-items: center; gap: 10px; width: 100%; padding: 8px 10px; border: 0; background: none; border-radius: var(--radius); font: 400 14.5px var(--font); color: var(--text); cursor: pointer; text-align: left; }
.facet:hover { background: var(--bg-soft); }
.facet[aria-pressed="true"] { background: var(--navy-900); color: #fff; }
.facet[aria-pressed="true"] .icon { color: var(--orange); }
.facet .icon { width: 18px; height: 18px; color: var(--navy-700); }
.facet .n { margin-left: auto; font-family: var(--mono); font-size: 11.5px; opacity: .6; }
.lib-main { padding: 32px clamp(20px, 3vw, 40px) 64px; }
.search { position: relative; }
.search input { width: 100%; height: 52px; padding: 0 16px 0 48px; border: 1px solid var(--line-strong); border-radius: var(--radius); font: 400 16px var(--font); color: var(--ink); background: var(--bg); }
.search input:focus { outline: none; border-color: var(--navy-700); box-shadow: 0 0 0 3px rgba(0, 26, 123, .12); }
.search .icon { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--muted); width: 20px; height: 20px; }
.lib-bar { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; justify-content: space-between; margin: 18px 0 8px; font-size: 14px; color: var(--muted); }
.doc-group h3 { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 500; margin: 32px 0 8px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.doc-row { display: grid; grid-template-columns: 44px 1fr auto auto; gap: 16px; align-items: center; padding: 14px 8px; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.doc-row:hover { background: var(--bg-soft); color: var(--ink); }
.doc-row .ico { width: 40px; height: 40px; border-radius: var(--radius); background: var(--bg-mist); display: grid; place-items: center; color: var(--navy-700); }
.doc-row .ico .icon { width: 22px; height: 22px; }
.doc-row .t { font-weight: 500; font-size: 15px; line-height: 1.35; }
.doc-row .s { font-size: 13px; color: var(--muted); display: block; font-weight: 400; margin-top: 2px; }
.doc-row .size { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.doc-row .dl { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; color: var(--ink); transition: background .2s, color .2s, border-color .2s; }
.doc-row:hover .dl { background: var(--orange); border-color: var(--orange); color: var(--navy-950); }
.doc-row .dl .icon { width: 17px; height: 17px; }
.lib-empty { padding: 48px 0; color: var(--muted); text-align: center; }

/* ---------- Product detail ---------- */
.pd { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); }
.pd-gallery { border-right: 1px solid var(--line); padding: 32px; position: sticky; top: var(--header-h); align-self: start; }
.pd-main-img { aspect-ratio: 1/1; background: radial-gradient(circle at 50% 42%, #fff 0%, var(--bg-mist) 100%); display: grid; place-items: center; border-radius: var(--radius); overflow: hidden; }
.pd-main-img img { width: 80%; height: 80%; object-fit: contain; }
.pd-thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.pd-thumbs button { width: 76px; height: 76px; padding: 6px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-soft); cursor: pointer; }
.pd-thumbs button[aria-pressed="true"] { border-color: var(--navy-700); box-shadow: 0 0 0 2px rgba(0, 26, 123, .15); }
.pd-thumbs img { width: 100%; height: 100%; object-fit: contain; }
.pd-info { padding: clamp(28px, 4vw, 56px) var(--pad); }
.pd-info h1 { font-size: clamp(2rem, 3.4vw, 3rem); font-weight: 300; letter-spacing: -.03em; margin-bottom: 18px; }
.pd-info .desc p { color: var(--text); }
.spec-grid { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); border-left: 1px solid var(--line); margin: 28px 0; }
.spec-grid div { padding: 14px 16px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 14.5px; color: var(--ink); display: flex; gap: 10px; }
.spec-grid div .icon { width: 18px; height: 18px; color: var(--orange-600); margin-top: 2px; }
.cap-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; }
.cap { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 8px; border-radius: 999px; background: var(--bg-mist); font-size: 13.5px; color: var(--navy-logo); }
.cap .icon { width: 18px; height: 18px; }
.doc-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.doc-list .doc-row { grid-template-columns: 44px 1fr auto; }
.video-lite { position: relative; aspect-ratio: 16/9; background: var(--navy-900) center/cover no-repeat; border-radius: var(--radius); overflow: hidden; display: grid; place-items: center; cursor: pointer; border: 0; width: 100%; padding: 0; color: #fff; }
.video-lite::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 50% 50%, rgba(5, 10, 36, .1), rgba(5, 10, 36, .6)); }
.video-lite .play { position: relative; width: 76px; height: 76px; border-radius: 50%; background: var(--orange); color: var(--navy-950); display: grid; place-items: center; transition: transform .2s var(--ease); }
.video-lite:hover .play { transform: scale(1.06); }
.video-lite .play .icon { width: 28px; height: 28px; }
.video-lite .label { position: absolute; left: 20px; bottom: 16px; font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.video-lite iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- Forms ---------- */
.form-panel { background: var(--navy-900); color: #C9CFE0; }
.form-card { background: var(--bg); color: var(--text); border-radius: 6px; padding: clamp(24px, 3.5vw, 44px); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .5); }
.form-card h3 { font-weight: 400; font-size: clamp(1.5rem, 2.2vw, 1.9rem); letter-spacing: -.02em; }
.form-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px 16px; }
.f { grid-column: span 6; display: flex; flex-direction: column; gap: 7px; }
.f--half { grid-column: span 3; }
.f--third { grid-column: span 2; }
.f label, .f legend { font-size: 14px; font-weight: 500; color: var(--ink); padding: 0; }
.f .req { color: #C4271A; margin-left: 2px; }
.f .hint { font-size: 13px; color: var(--muted); margin-top: -2px; }
.input, select.input, textarea.input {
  width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid var(--line-strong); border-radius: var(--radius);
  font: 400 16px var(--font); color: var(--ink); background: var(--bg-soft); transition: border-color .15s, box-shadow .15s, background .15s;
}
textarea.input { min-height: 120px; resize: vertical; }
.input:focus { outline: none; border-color: var(--navy-700); background: #fff; box-shadow: 0 0 0 3px rgba(0, 26, 123, .12); }
.input[aria-invalid="true"] { border-color: #C4271A; background: #FFF6F5; }
.err { font-size: 13px; color: #C4271A; min-height: 0; }
.phone { display: grid; grid-template-columns: 110px 1fr; gap: 8px; }
fieldset.f { border: 0; margin: 0; padding: 0; min-width: 0; }
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt span { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 16px; border: 1px solid var(--line-strong); border-radius: 999px; font-size: 14.5px; color: var(--ink); cursor: pointer; background: var(--bg); transition: background .15s, border-color .15s, color .15s; }
.opt span::before { content: ''; width: 16px; height: 16px; border: 1.5px solid var(--line-strong); border-radius: 4px; transition: background .15s, border-color .15s; }
.opt input[type="radio"] + span::before { border-radius: 50%; }
.opt input:checked + span { border-color: var(--navy-700); background: #EEF1FA; }
.opt input:checked + span::before { background: var(--navy-700) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat; border-color: var(--navy-700); }
.opt input:focus-visible + span { outline: 2px solid var(--orange); outline-offset: 2px; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--text); }
.consent input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--navy-700); flex: none; }
.fine { font-size: 13px; color: var(--muted); }
.steps-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 6px 0 22px; }
.steps-dots { display: flex; gap: 6px; flex: 1; max-width: 320px; }
.steps-dots i { flex: 1; height: 4px; border-radius: 2px; background: var(--line); transition: background .3s; }
.steps-dots i.on { background: var(--navy-700); }
.steps-label { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.step { display: none; }
.step.is-active { display: block; animation: stepIn .35s var(--ease); }
@keyframes stepIn { from { opacity: 0; transform: translateX(12px); } to { opacity: 1; transform: none; } }
.form-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 26px; }
.form-nav .spacer { flex: 1; }
.form-done { display: none; text-align: center; padding: 24px 0; }
.form-done.is-active { display: block; animation: stepIn .35s var(--ease); }
.form-done .ok { width: 64px; height: 64px; border-radius: 50%; background: #E7F6EE; color: var(--ok); display: grid; place-items: center; margin: 0 auto 18px; }
.proto-note { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; background: var(--orange-50); color: #8A4210; padding: 10px 12px; border-radius: var(--radius); margin-top: 18px; }
.proto-note .icon { width: 18px; height: 18px; flex: none; }

/* ---------- Content blocks ---------- */
.prose { max-width: 72ch; }
.prose h2 { font-size: clamp(1.6rem, 2.4vw, 2.1rem); font-weight: 400; letter-spacing: -.02em; margin: 1.6em 0 .6em; }
.prose h3 { font-size: 1.25rem; font-weight: 500; margin: 1.4em 0 .5em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin: .35em 0; }
.prose li::marker { color: var(--orange); }
.split { display: grid; grid-template-columns: 1fr 1fr; }
.split > * { padding: var(--section) var(--pad); }
.split > * + * { border-left: 1px solid var(--line); }
.value-card { padding: 36px; background: var(--bg); display: flex; flex-direction: column; gap: 12px; }
.value-card .icon { width: 36px; height: 36px; color: var(--navy-700); }
.value-card h3 { font-weight: 500; font-size: 1.15rem; margin: 6px 0 0; font-family: var(--mono); letter-spacing: .1em; text-transform: uppercase; font-size: 13px; color: var(--orange-600); }
.value-card p { margin: 0; color: var(--text); }
.office { padding: 28px; background: var(--bg); display: flex; flex-direction: column; gap: 10px; }
.office h3 { font-size: 1rem; font-weight: 500; margin: 0; }
.office p { margin: 0; font-size: 15px; color: var(--muted); }
.office a { font-size: 14.5px; }
.cta-band { display: grid; grid-template-columns: 1.3fr 1fr; align-items: center; gap: 32px; }

/* ---------- Portal ---------- */
.portal-login { display: grid; grid-template-columns: 1fr 1fr; min-height: 70vh; }
.portal-login .side { background: var(--navy-900) center/cover; position: relative; color: #fff; padding: var(--section) var(--pad); display: flex; flex-direction: column; justify-content: flex-end; }
.portal-login .side::before { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(5, 10, 36, .95), rgba(5, 10, 36, .4)); }
.portal-login .side > * { position: relative; }
.portal-login .side h2 { color: #fff; }
.portal-login .main { padding: var(--section) var(--pad); display: grid; place-items: center; }
.portal-login form { width: 100%; max-width: 420px; }
.dash { display: grid; grid-template-columns: 260px 1fr; min-height: 80vh; }
.dash-side { background: var(--navy-900); color: #C9CFE0; padding: 24px 16px; display: flex; flex-direction: column; gap: 4px; }
.dash-side .who { padding: 14px 12px 22px; border-bottom: 1px solid var(--line-dark); margin-bottom: 12px; }
.dash-side .who strong { display: block; color: #fff; font-weight: 500; }
.dash-side .who span { font-size: 13px; color: #8F98B6; }
.dash-link { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: var(--radius); color: #C9CFE0; text-decoration: none; font-size: 14.5px; border: 0; background: none; cursor: pointer; text-align: left; font-family: var(--font); }
.dash-link:hover { background: rgba(255, 255, 255, .06); color: #fff; }
.dash-link[aria-current="page"], .dash-link.is-active { background: rgba(245, 128, 37, .14); color: #fff; }
.dash-link .icon { width: 19px; height: 19px; }
.dash-link .n { margin-left: auto; font-family: var(--mono); font-size: 11.5px; opacity: .6; }
.dash-main { padding: 32px clamp(20px, 3vw, 44px) 64px; background: var(--bg-soft); }
.dash-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 28px; }
.dash-top h1 { font-weight: 300; font-size: clamp(1.8rem, 2.8vw, 2.4rem); letter-spacing: -.02em; margin: 0; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 28px; }
.kpi { background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 20px; }
.kpi b { display: block; font-size: 2rem; font-weight: 300; color: var(--ink); letter-spacing: -.03em; }
.kpi span { font-size: 13.5px; color: var(--muted); }
.panel { background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 8px 22px 16px; }
.panel h2 { font-size: 1.1rem; font-weight: 500; margin: 16px 0 6px; }
.badge-new { font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; background: var(--orange); color: var(--navy-950); padding: 3px 7px; border-radius: 3px; margin-left: 8px; vertical-align: middle; }
.proto-banner { background: var(--orange-50); color: #7A3A0C; font-size: 13.5px; padding: 10px var(--pad); text-align: center; border-bottom: 1px solid #F8D5B8; }

/* ---------- Locator ---------- */
.locator { display: grid; grid-template-columns: 400px 1fr; height: min(78vh, 760px); }
.loc-list { border-right: 1px solid var(--line); display: flex; flex-direction: column; min-height: 0; }
.loc-tools { padding: 20px; border-bottom: 1px solid var(--line); display: grid; gap: 10px; }
.loc-results { overflow: auto; flex: 1; }
.loc-item { padding: 16px 20px; border-bottom: 1px solid var(--line); cursor: pointer; display: grid; gap: 4px; }
.loc-item:hover, .loc-item.is-active { background: var(--bg-soft); }
.loc-item strong { font-weight: 500; color: var(--ink); }
.loc-item span { font-size: 13.5px; color: var(--muted); }
.loc-item a { font-size: 13.5px; }
#map { width: 100%; height: 100%; background: var(--bg-mist); }
.leaflet-container { font-family: var(--font); }
.map-pin { width: 14px; height: 14px; border-radius: 50%; background: var(--orange); border: 2px solid #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, .2); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: #9AA3BE; font-size: 14.5px; }
.site-footer .frame { background: transparent; border-color: var(--line-dark); }
.foot-top { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 32px; padding: 72px var(--pad) 56px; }
.foot-top h4 { font-family: var(--mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: #fff; font-weight: 500; margin: 0 0 16px; }
.foot-top ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.foot-top a { color: #9AA3BE; text-decoration: none; }
.foot-top a:hover { color: #fff; }
.foot-brand img { height: 30px; width: auto; margin-bottom: 20px; }
.foot-brand p { max-width: 34ch; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding: 22px var(--pad); border-top: 1px solid var(--line-dark); font-size: 13px; }
.foot-bottom a { color: #9AA3BE; }

/* ---------- Reveal motion ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav, .header-actions .btn { display: none; }
  .menu-toggle { display: grid; }
  .drawer { display: block; position: fixed; left: 0; right: 0; bottom: 0; top: var(--drawer-top, var(--header-h)); background: var(--navy-900); overflow: auto; opacity: 0; transform: translateY(-8px); pointer-events: none; transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s; z-index: 99; padding: 8px var(--pad) 40px; visibility: hidden; }
  .drawer.is-open { opacity: 1; transform: none; pointer-events: auto; visibility: visible; }
  .drawer details { border-bottom: 1px solid var(--line-dark); }
  .drawer summary { list-style: none; display: flex; justify-content: space-between; align-items: center; padding: 18px 0; color: #fff; font-size: 18px; cursor: pointer; }
  .drawer summary::-webkit-details-marker { display: none; }
  .drawer summary .icon { width: 18px; height: 18px; transition: transform .2s; }
  .drawer details[open] summary .icon { transform: rotate(180deg); }
  .drawer a { display: flex; align-items: center; gap: 12px; padding: 10px 0; color: #C9CFE0; text-decoration: none; }
  .drawer a .icon { width: 20px; height: 20px; color: var(--orange); }
  .drawer .drawer-link { padding: 18px 0; color: #fff; font-size: 18px; border-bottom: 1px solid var(--line-dark); }
  .drawer .btn-row { margin-top: 28px; }
  .drawer .btn { display: inline-flex; flex: 1; }
  .foot-top { grid-template-columns: 1fr 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
  .kpis { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .grid-4, .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .tech { grid-template-columns: 1fr; }
  .tech-visual { display: none; }
  .tech-list { border-right: 0; }
  .tech-step { opacity: 1; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .library { grid-template-columns: 1fr; }
  .lib-side { position: static; max-height: none; border-right: 0; border-bottom: 1px solid var(--line); display: flex; gap: 8px; overflow-x: auto; padding: 16px var(--pad); }
  .lib-side h4 { display: none; }
  .lib-side .facet { width: auto; white-space: nowrap; border: 1px solid var(--line-strong); border-radius: 999px; padding: 8px 14px; }
  .pd { grid-template-columns: 1fr; }
  .pd-gallery { position: static; border-right: 0; border-bottom: 1px solid var(--line); }
  .split { grid-template-columns: 1fr; }
  .split > * + * { border-left: 0; border-top: 1px solid var(--line); }
  .cta-band { grid-template-columns: 1fr; }
  .portal-login { grid-template-columns: 1fr; }
  .portal-login .side { min-height: 280px; }
  .dash { grid-template-columns: 1fr; }
  .dash-side { flex-direction: row; overflow-x: auto; padding: 10px; }
  .dash-side .who { display: none; }
  .dash-link { white-space: nowrap; }
  .locator { grid-template-columns: 1fr; height: auto; }
  .loc-list { border-right: 0; }
  .loc-results { max-height: 50vh; }
  #map { height: 50vh; }
  .section-head--split { grid-template-columns: 1fr; }
  .hero-orbits { opacity: .35; right: -30%; width: 110vw; }
}
@media (max-width: 640px) {
  :root { --header-h: 64px; }
  body { font-size: 16px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .spec-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .f, .f--half, .f--third { grid-column: auto; }
  .foot-top { grid-template-columns: 1fr 1fr; }
  .event-card { grid-template-columns: 88px 1fr; }
  .doc-row { grid-template-columns: 40px 1fr auto; }
  .doc-row .size { display: none; }
  .industry-card { min-height: 260px; padding: 28px; }
  .brand img { height: 26px; }
  .announce { font-size: 13px; }
  .kpis { grid-template-columns: 1fr 1fr; }
  .stat { padding: 24px 18px; }
}

/* ---------- Hero orbit animation ---------- */
.hero-orbits .orb-spin { transform-origin: 400px 400px; animation: orbSpin var(--dur, 80s) linear infinite; }
.hero-orbits .orb-spin.rev { animation-direction: reverse; }
.hero-orbits .pulse-rings circle { transform-origin: 400px 400px; animation: ring 3.9s var(--ease) infinite; opacity: 0; }
@keyframes orbSpin { to { transform: rotate(360deg); } }
@keyframes ring { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(9); opacity: 0; } }

/* Balanced wrapping on short copy: no one- or two-word last lines. */
.lede, .section-head p, .cat-card p, .industry-card p, .res-tile p, .res-tile h3, .foot-brand p, .value-card p, .news-card h3,
.product-card h3, .event-body h3, .mega-item span, .mega-feature p, .office p, .page-hero .lede, .hero .lede, .tech-step p, .stat > span, .kpi span { text-wrap: balance; }

/* Components on dark bands keep their own colors (avoid .band-dark descendant overrides). */
.band-dark .form-card h3, .band-dark .form-card h4 { color: var(--ink); }
.band-dark .form-card a:not(.btn) { color: var(--navy-700); }
.band-dark .form-card .lede, .band-dark .form-card .muted { color: var(--muted); }
.sticky-col { position: sticky; top: calc(var(--header-h) + 32px); align-self: start; }
.news-card .media:not(:has(img)) { background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 28px 28px; }
.news-card .media > .icon { color: var(--orange); opacity: .9; }

.dash-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 20px; align-items: start; }
@media (max-width: 900px) { .dash-grid { grid-template-columns: 1fr; } .panel .doc-row { grid-template-columns: 40px 1fr auto; } .panel .doc-row .size { display: none; } }
