/* =========================================================
   Xiangxu (HAX²) - Semiconductor specialty chemicals
   Design system: cobalt-on-slate, technical B2B, light theme
   Dials: VARIANCE 5 / MOTION 4 / DENSITY 4
   ========================================================= */

:root {
  /* Neutrals */
  --bg: #fbfcfd;
  --surface: #ffffff;
  --surface-2: #f2f6fa;
  --surface-3: #e9eff5;
  --ink: #0f1b2d;
  --ink-soft: #41526a;
  --muted: #76859b;
  --line: #e3e9f1;
  --line-strong: #cfd8e4;

  /* Brand accent (extracted from HAX² logo) */
  --accent: #0b62d6;
  --accent-deep: #084ba6;
  --accent-soft: #e8f1fd;
  --accent-ring: rgba(11, 98, 214, .28);

  /* Footer / deep surface */
  --deep: #0c1828;
  --deep-2: #122237;
  --deep-line: rgba(255, 255, 255, .10);
  --deep-ink: #e7edf5;
  --deep-muted: #93a3ba;

  /* Radius scale (documented: cards 12, controls 8, chips 6) */
  --r-card: 12px;
  --r-ctrl: 8px;
  --r-chip: 6px;

  --shadow-sm: 0 1px 2px rgba(15, 27, 45, .05);
  --shadow: 0 8px 24px -12px rgba(15, 27, 45, .18);
  --shadow-lg: 0 24px 60px -28px rgba(15, 27, 45, .32);

  --maxw: 1200px;
  --ease: cubic-bezier(.16, 1, .3, 1);

  --font-display: "Space Grotesk", "Noto Sans TC", "Noto Sans SC", "Noto Sans JP", "Noto Sans KR", system-ui, sans-serif;
  --font-body: "Inter", "Noto Sans TC", "Noto Sans SC", "Noto Sans JP", "Noto Sans KR", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 24px; }
@media (max-width: 640px) { .wrap { padding-inline: 18px; } }

section { padding-block: clamp(64px, 9vw, 120px); }

/* ---------- Typography ---------- */
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; letter-spacing: -.02em; line-height: 1.08; margin: 0; }
.display { font-size: clamp(2.2rem, 5.2vw, 3.9rem); }
.h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); letter-spacing: -.025em; }
.h3 { font-size: clamp(1.15rem, 1.8vw, 1.4rem); }
.lead { font-size: clamp(1.02rem, 1.5vw, 1.18rem); color: var(--ink-soft); max-width: 60ch; }
.muted { color: var(--muted); }
.mono { font-family: var(--font-mono); }
.code-tag {
  font-family: var(--font-mono); font-size: .82em; font-weight: 600;
  color: var(--accent-deep); background: var(--accent-soft);
  padding: 2px 8px; border-radius: var(--r-chip); white-space: nowrap;
  letter-spacing: -.01em;
}

.eyebrow {
  font-family: var(--font-mono); font-size: .72rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: .16em; color: var(--accent-deep);
  display: inline-flex; align-items: center; gap: 8px;
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: var(--accent); }

.section-head { max-width: 62ch; margin-bottom: 48px; }
.section-head .h2 { margin-top: 14px; }
.section-head p { margin: 16px 0 0; color: var(--ink-soft); font-size: 1.05rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px; justify-content: center;
  font-family: var(--font-body); font-weight: 600; font-size: .96rem;
  padding: 13px 22px; border-radius: var(--r-ctrl); border: 1px solid transparent;
  cursor: pointer; transition: transform .18s var(--ease), background .18s, box-shadow .2s, border-color .18s;
  white-space: nowrap; line-height: 1;
}
.btn svg { width: 17px; height: 17px; flex: none; }
.btn-primary { background: var(--accent); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--accent-deep); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-primary:active { transform: translateY(1px); }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent-deep); transform: translateY(-1px); }
.btn-light { background: rgba(255,255,255,.08); color: #fff; border-color: var(--deep-line); }
.btn-light:hover { background: rgba(255,255,255,.16); transform: translateY(-1px); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 252, 253, .82);
  backdrop-filter: saturate(150%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; gap: 28px; height: 70px; }
.brand { display: flex; align-items: center; gap: 12px; flex: none; }
.brand img { height: 30px; width: auto; }
.brand .brand-mark {
  font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; letter-spacing: -.03em; color: var(--ink);
}
.brand .brand-mark sup { color: var(--accent); font-size: .65em; }
.nav-links { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.nav-links a {
  font-size: .92rem; font-weight: 500; color: var(--ink-soft);
  padding: 8px 12px; border-radius: var(--r-ctrl); transition: color .15s, background .15s;
}
.nav-links a:hover, .nav-links a.active { color: var(--accent-deep); background: var(--accent-soft); }
.nav-cta { margin-left: 4px; }

/* Language switcher */
.lang { position: relative; flex: none; }
.lang-btn {
  display: inline-flex; align-items: center; gap: 7px; cursor: pointer;
  font-family: var(--font-body); font-size: .88rem; font-weight: 500; color: var(--ink);
  background: var(--surface); border: 1px solid var(--line-strong);
  padding: 8px 12px; border-radius: var(--r-ctrl); transition: border-color .15s;
}
.lang-btn:hover { border-color: var(--accent); }
.lang-btn svg { width: 15px; height: 15px; opacity: .7; }
.lang-menu {
  position: absolute; right: 0; top: calc(100% + 8px); min-width: 168px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card);
  box-shadow: var(--shadow-lg); padding: 6px; opacity: 0; visibility: hidden;
  transform: translateY(-6px); transition: opacity .18s, transform .18s, visibility .18s; z-index: 60;
}
.lang.open .lang-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.lang-menu button {
  display: flex; align-items: center; gap: 10px; width: 100%; text-align: left;
  font-family: var(--font-body); font-size: .9rem; color: var(--ink-soft);
  background: none; border: 0; padding: 9px 11px; border-radius: var(--r-ctrl); cursor: pointer;
}
.lang-menu button:hover { background: var(--surface-2); color: var(--ink); }
.lang-menu button.active { color: var(--accent-deep); font-weight: 600; }
.lang-menu button .native { margin-left: auto; font-size: .78rem; color: var(--muted); }

/* Mobile nav */
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; color: var(--ink); }
.nav-toggle svg { width: 24px; height: 24px; }
@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; order: 3; }
  .lang { order: 2; margin-left: auto; }
  .nav-links {
    position: fixed; inset: 70px 0 auto 0; flex-direction: column; align-items: stretch;
    background: var(--surface); border-bottom: 1px solid var(--line); padding: 14px 18px 22px;
    gap: 2px; margin-left: 0; box-shadow: var(--shadow); transform: translateY(-12px);
    opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s;
  }
  .nav-links.open { opacity: 1; visibility: visible; transform: translateY(0); }
  .nav-links a { padding: 13px 12px; font-size: 1rem; }
  .nav-cta { margin: 8px 0 0; }
  .nav-cta .btn { width: 100%; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--surface); border-bottom: 1px solid var(--line); }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(60% 80% at 88% -10%, var(--accent-soft) 0%, transparent 60%),
    linear-gradient(180deg, #ffffff 0%, var(--bg) 100%);
}
.hero-grid {
  position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center;
  min-height: min(86vh, 760px); padding-block: clamp(48px, 7vw, 88px);
}
.hero-copy { max-width: 36rem; }
.hero-copy .display { margin: 20px 0 0; }
.hero-copy .lead { margin: 22px 0 0; }
.hero-actions { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 36px; margin-top: 44px; flex-wrap: wrap; }
.hero-stats .stat strong { font-family: var(--font-display); font-size: 1.8rem; font-weight: 600; color: var(--ink); display: block; letter-spacing: -.02em; }
.hero-stats .stat span { font-size: .85rem; color: var(--muted); }
.hero-visual { position: relative; }
.hero-visual img { width: 100%; border-radius: var(--r-card); box-shadow: var(--shadow-lg); aspect-ratio: 4/3.1; object-fit: cover; }
.hero-visual .float-card {
  position: absolute; left: -22px; bottom: -22px; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--r-card); box-shadow: var(--shadow);
  padding: 14px 18px; display: flex; align-items: center; gap: 12px; max-width: 270px;
}
.hero-visual .float-card .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); flex: none; }
.hero-visual .float-card span { font-size: .82rem; color: var(--ink-soft); line-height: 1.35; }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; min-height: auto; }
  .hero-visual { order: -1; }
  .hero-visual .float-card { left: 12px; bottom: -16px; }
}

/* ---------- Logo / trust strip ---------- */
.markets { border-bottom: 1px solid var(--line); background: var(--surface); }
.markets .wrap { padding-block: 30px; }
.markets-row { display: flex; align-items: center; gap: 14px 40px; flex-wrap: wrap; justify-content: center; }
.markets-row .label { font-family: var(--font-mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); }
.markets-row .tag { font-family: var(--font-display); font-weight: 600; font-size: 1.02rem; color: var(--ink-soft); }
.markets-row .sep { width: 4px; height: 4px; border-radius: 50%; background: var(--line-strong); }

/* ---------- Generic surfaces ---------- */
.section-alt { background: var(--surface); border-block: 1px solid var(--line); }

/* Card */
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card);
  padding: 28px; transition: transform .22s var(--ease), box-shadow .22s, border-color .22s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--line-strong); }
.card .icon {
  width: 44px; height: 44px; border-radius: var(--r-ctrl); background: var(--accent-soft);
  color: var(--accent-deep); display: grid; place-items: center; margin-bottom: 18px;
}
.card .icon svg { width: 22px; height: 22px; }
.card h3 { margin-bottom: 8px; }
.card p { margin: 0; color: var(--ink-soft); font-size: .96rem; }

/* Pillars grid (capabilities) */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid-3, .grid-2, .grid-4 { grid-template-columns: 1fr; } }

/* Focus split (advanced packaging feature) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split.reverse .split-media { order: 2; }
.split-media img { border-radius: var(--r-card); border: 1px solid var(--line); box-shadow: var(--shadow); width: 100%; }
.split-media.contain { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); padding: 22px; box-shadow: var(--shadow-sm); }
.split-media.contain img { border: 0; box-shadow: none; border-radius: 6px; }
@media (max-width: 880px) {
  .split { grid-template-columns: 1fr; gap: 32px; }
  .split.reverse .split-media { order: 0; }
}

/* Stat band */
.stat-band { background: var(--deep); color: var(--deep-ink); }
.stat-band .grid-4 { gap: 24px; }
.stat-band .stat-item strong {
  font-family: var(--font-display); font-size: clamp(2rem, 4vw, 2.9rem); font-weight: 600;
  color: #fff; display: block; letter-spacing: -.02em;
}
.stat-band .stat-item span { color: var(--deep-muted); font-size: .92rem; }
.stat-band .stat-item { border-left: 1px solid var(--deep-line); padding-left: 20px; }
@media (max-width: 600px) { .stat-band .stat-item { border-left: 0; border-top: 1px solid var(--deep-line); padding: 16px 0 0; } }

/* ---------- Product tables / category ---------- */
.cat { margin-bottom: 56px; scroll-margin-top: 96px; }
.cat-head { display: flex; align-items: baseline; gap: 16px; padding-bottom: 18px; border-bottom: 2px solid var(--ink); margin-bottom: 0; }
.cat-head .num { font-family: var(--font-mono); font-size: .9rem; color: var(--accent-deep); font-weight: 600; }
.cat-head h3 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); }
.cat-head .count { margin-left: auto; font-family: var(--font-mono); font-size: .8rem; color: var(--muted); }

.prod-list { display: grid; gap: 0; }
.prod {
  display: grid; grid-template-columns: 220px 1fr; gap: 28px; padding: 24px 4px;
  border-bottom: 1px solid var(--line);
}
.prod:hover { background: var(--surface-2); }
.prod-id { display: flex; flex-direction: column; gap: 8px; }
.prod-id .code { font-family: var(--font-mono); font-weight: 600; font-size: 1.02rem; color: var(--ink); letter-spacing: -.02em; }
.prod-id .use { font-size: .85rem; color: var(--accent-deep); font-weight: 500; }
.prod-id .name { font-size: .85rem; color: var(--muted); }
.prod-body p { margin: 0; color: var(--ink-soft); font-size: .96rem; }
.prod-body ul { margin: 0; padding-left: 18px; color: var(--ink-soft); font-size: .94rem; }
.prod-body ul li { margin: 4px 0; }
.prod-body ul li::marker { color: var(--accent); }
@media (max-width: 680px) { .prod { grid-template-columns: 1fr; gap: 12px; } }

/* Theme cards (home + products overview) */
.tcard {
  display: flex; flex-direction: column; gap: 12px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card);
  padding: 26px; transition: transform .22s var(--ease), box-shadow .22s, border-color .22s;
}
.tcard:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--accent); }
.tcard-top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.tcard-top h3 { font-size: 1.18rem; }
.tcard-top .count { font-family: var(--font-mono); font-size: .75rem; color: var(--muted); white-space: nowrap; }
.tcard p { margin: 0; color: var(--ink-soft); font-size: .93rem; flex: 1; }
.tcard-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 14px; border-top: 1px solid var(--line); }
.tcard-foot .codes { font-family: var(--font-mono); font-size: .74rem; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tcard-foot .go { display: inline-flex; align-items: center; gap: 6px; font-size: .86rem; font-weight: 600; color: var(--accent-deep); white-space: nowrap; }
.tcard-foot .go svg { width: 15px; height: 15px; transition: transform .18s var(--ease); }
.tcard:hover .tcard-foot .go svg { transform: translateX(3px); }

/* Spec card head: code + application tag */
.spec-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.apptag {
  font-family: var(--font-mono); font-size: .66rem; text-transform: uppercase; letter-spacing: .08em;
  color: var(--ink-soft); background: var(--surface-2); border: 1px solid var(--line);
  padding: 3px 9px; border-radius: var(--r-chip); white-space: nowrap;
}

/* Spec mini cards (advanced packaging hero products) */
.spec-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card);
  padding: 26px; display: flex; flex-direction: column; gap: 14px;
  transition: transform .22s var(--ease), box-shadow .22s, border-color .22s;
}
.spec-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--accent); }
.spec-card .code { font-family: var(--font-mono); font-weight: 600; font-size: 1.1rem; color: var(--accent-deep); }
.spec-card h3 { font-size: 1.12rem; }
.spec-card p { margin: 0; color: var(--ink-soft); font-size: .94rem; flex: 1; }
.spec-card .metrics { display: flex; gap: 22px; padding-top: 14px; border-top: 1px solid var(--line); }
.spec-card .metrics div strong { font-family: var(--font-display); font-size: 1.25rem; color: var(--ink); display: block; }
.spec-card .metrics div span { font-size: .76rem; color: var(--muted); }

/* Process flow steps */
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: step; }
.flow .step {
  position: relative; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-card); padding: 22px 20px;
}
.flow .step .n { font-family: var(--font-mono); font-size: .78rem; color: var(--accent-deep); font-weight: 600; }
.flow .step h4 { font-family: var(--font-display); font-size: 1.02rem; margin: 8px 0 6px; }
.flow .step p { margin: 0; font-size: .88rem; color: var(--ink-soft); }
.flow .step .chem { margin-top: 12px; }
@media (max-width: 880px) { .flow { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .flow { grid-template-columns: 1fr; } }

/* ---------- Map / locations ---------- */
.loc-layout { display: grid; grid-template-columns: 360px 1fr; gap: 32px; align-items: start; }
@media (max-width: 900px) { .loc-layout { grid-template-columns: 1fr; } }
#map { width: 100%; height: 560px; border-radius: var(--r-card); border: 1px solid var(--line); box-shadow: var(--shadow); z-index: 1; }
@media (max-width: 900px) { #map { height: 420px; order: -1; } }
.loc-list { display: flex; flex-direction: column; gap: 12px; }
.loc-item {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card);
  padding: 18px 20px; cursor: pointer; transition: border-color .18s, box-shadow .18s, transform .18s;
}
.loc-item:hover, .loc-item.active { border-color: var(--accent); box-shadow: var(--shadow); transform: translateX(2px); }
.loc-item .top { display: flex; align-items: center; gap: 10px; }
.loc-item .top h3 { font-size: 1.05rem; }
.loc-item .role { font-family: var(--font-mono); font-size: .68rem; text-transform: uppercase; letter-spacing: .1em; color: #fff; background: var(--accent); padding: 3px 8px; border-radius: var(--r-chip); }
.loc-item .role.partner { background: var(--ink-soft); }
.loc-item .addr { margin: 8px 0 0; font-size: .88rem; color: var(--ink-soft); }
.loc-item .link { margin-top: 8px; display: inline-flex; align-items: center; gap: 6px; font-size: .85rem; color: var(--accent-deep); font-weight: 600; }
.loc-item .link svg { width: 14px; height: 14px; }
.leaflet-popup-content { font-family: var(--font-body); }
.leaflet-popup-content b { font-family: var(--font-display); }
.leaflet-popup-content a { color: var(--accent-deep); font-weight: 600; }

/* ---------- Contact ---------- */
.contact-layout { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: start; }
@media (max-width: 880px) { .contact-layout { grid-template-columns: 1fr; gap: 36px; } }
.contact-info .info-item { display: flex; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact-info .info-item:last-child { border-bottom: 0; }
.contact-info .info-item .icon { width: 38px; height: 38px; border-radius: var(--r-ctrl); background: var(--accent-soft); color: var(--accent-deep); display: grid; place-items: center; flex: none; }
.contact-info .info-item .icon svg { width: 19px; height: 19px; }
.contact-info .info-item .t { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-family: var(--font-mono); }
.contact-info .info-item .v { font-size: 1rem; color: var(--ink); margin-top: 2px; }
.contact-info .info-item .v a:hover { color: var(--accent-deep); }

.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow-sm); }
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 18px; }
.field label { font-size: .86rem; font-weight: 600; color: var(--ink); }
.field label .req { color: var(--accent); }
.field input, .field textarea, .field select {
  font-family: var(--font-body); font-size: .96rem; color: var(--ink);
  background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--r-ctrl);
  padding: 12px 14px; transition: border-color .15s, box-shadow .15s; width: 100%;
}
.field input::placeholder, .field textarea::placeholder { color: #9aa7ba; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-ring);
}
.field textarea { resize: vertical; min-height: 130px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 520px) { .field-row { grid-template-columns: 1fr; } }
.form-note { font-size: .82rem; color: var(--muted); margin-top: 6px; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }
.form-status { margin-top: 14px; font-size: .9rem; display: none; padding: 12px 14px; border-radius: var(--r-ctrl); }
.form-status.show { display: block; }
.form-status.ok { background: #e7f6ec; color: #176b3a; border: 1px solid #b6e0c4; }
.form-status.err { background: #fdeaea; color: #a32525; border: 1px solid #f3c3c3; }

/* ---------- Page hero (interior) ---------- */
.page-hero { background: var(--surface); border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 120% at 90% 0%, var(--accent-soft) 0%, transparent 55%); pointer-events: none; }
.page-hero .wrap { position: relative; padding-block: clamp(52px, 8vw, 96px); }
.page-hero .display { font-size: clamp(2rem, 4.4vw, 3.2rem); margin-top: 16px; max-width: 18ch; }
.page-hero .lead { margin-top: 18px; }
.breadcrumb { font-family: var(--font-mono); font-size: .78rem; color: var(--muted); display: flex; gap: 8px; }
.breadcrumb a:hover { color: var(--accent-deep); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--deep); color: var(--deep-ink); position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 140% at 80% 120%, rgba(11,98,214,.35) 0%, transparent 60%); }
.cta-band .wrap { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; max-width: 20ch; }
.cta-band p { color: var(--deep-muted); margin: 12px 0 0; max-width: 46ch; }

/* ---------- Footer ---------- */
.site-footer { background: var(--deep); color: var(--deep-muted); border-top: 1px solid var(--deep-line); }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-block: 64px; }
@media (max-width: 820px) { .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 480px) { .footer-top { grid-template-columns: 1fr; } }
.footer-brand .brand-mark { color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; }
.footer-brand .brand-mark sup { color: var(--accent); }
.footer-brand p { margin: 14px 0 0; font-size: .9rem; max-width: 32ch; }
.footer-col h4 { font-family: var(--font-mono); font-size: .74rem; text-transform: uppercase; letter-spacing: .12em; color: var(--deep-muted); margin: 0 0 16px; font-weight: 500; }
.footer-col a, .footer-col p { display: block; color: var(--deep-ink); font-size: .92rem; margin-bottom: 10px; transition: color .15s; }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid var(--deep-line); padding-block: 22px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .82rem; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .card, .spec-card, .btn, .loc-item { transition: none; }
}

[hidden] { display: none !important; }
