/* DMT Holdings — built on the ProConnect blue + gold design system.
   Layout: white page, soft grey bands, hairline grids, pill actions; blue leads, gold rewards. */

:root {
  /* Brand palette: #0a2472 navy, #f6aa1c amber gold, #f8f9fa off-white. Dark is opt-in via <html data-theme="dark">. */
  --bg:            #f8f9fa;
  --surface-100:   #ffffff;
  --surface-200:   #eef1f7;
  --border:        #e2e6ee;
  --ink:           #0b1533;
  --muted:         #4f5b76;
  --blue:          #0a2472;
  --blue-bright:   #1d3fa6;
  --blue-deep:     #061a52;
  --blue-soft:     rgba(10, 36, 114, .07);
  --blue-line:     rgba(10, 36, 114, .2);
  --gold:          #f6aa1c;
  --gold-text:     #8f5c00;
  --gold-display:  #c98300; /* large headings only (3:1+ on white) */
  --gold-soft:     rgba(246, 170, 28, .16);
  --gold-line:     rgba(201, 131, 0, .35);
  --on-blue:      #ffffff;
  --on-gold:       #0a2472;
  --success:      #15803d;
  --nav-glass:     rgba(248, 249, 250, .92);
  --outline-word:  rgba(10, 36, 114, .06);
  --card-shadow:   0 1px 2px rgba(10, 36, 114, .05), 0 10px 30px rgba(10, 36, 114, .07);

  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --font-body:    'Plus Jakarta Sans', system-ui, sans-serif;

  --space-1: 4px;  --space-2: 8px;   --space-3: 12px; --space-4: 16px;
  --space-5: 20px; --space-6: 24px;  --space-8: 32px; --space-10: 40px;
  --space-12: 48px; --space-15: 60px; --space-20: 80px; --space-25: 100px;

  --radius-xs: 4px; --radius-sm: 10px; --radius-md: 14px; --radius-lg: 16px;
  --radius-xl: 20px; --radius-2xl: 24px; --radius-pill: 50px;

  --gutter: clamp(16px, 2.5vw, 40px);

  color-scheme: light;
}
:root[data-theme="dark"] {
  --bg: #0a0f1c; --surface-100: #111a2e; --surface-200: #18233d; --border: #24324f;
  --ink: #f4f6fb; --muted: #8d9ab6; --blue: #2449c4; --blue-bright: #7b9cff; --blue-deep: #0a2472;
  --blue-soft: rgba(37, 99, 235, .14); --blue-line: rgba(91, 140, 255, .30);
  --gold-text: #f6aa1c; --gold-display: #f6aa1c; --gold-soft: rgba(233, 185, 73, .14); --gold-line: rgba(233, 185, 73, .32);
  --success: #22c55e; --nav-glass: rgba(10, 15, 28, .92); --outline-word: rgba(255, 255, 255, .045);
  --card-shadow: none;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, h4 { text-wrap: balance; }

.container { width: 100%; margin: 0 auto; padding-inline: var(--gutter); } /* fluid: full width, gutter only */
.icon { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

/* ── Tag / eyebrow / titles ── */
.tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--blue-soft); color: var(--blue-bright);
  border: 1px solid var(--blue-line); border-radius: var(--radius-pill);
  padding: 6px 14px; font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
}
.tag::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.tag-gold { background: var(--gold-soft); color: var(--gold-text); border-color: var(--gold-line); }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: var(--space-3); }
.section-title { font-family: var(--font-display); font-size: clamp(32px, 4vw, 52px); font-weight: 700; letter-spacing: -.02em; line-height: 1.15; margin-bottom: var(--space-4); }
.section-title em, .hero h1 em, .cta-title em { font-style: normal; color: var(--gold-display); }
.section-sub { font-size: 16px; color: var(--muted); max-width: 560px; line-height: 1.7; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: var(--radius-pill); font-family: var(--font-body);
  font-size: 14px; font-weight: 700; padding: 10px 22px; line-height: 1.4;
  text-decoration: none; cursor: pointer; border: 1px solid transparent;
  transition: opacity .2s, border-color .2s, background .2s, transform .2s;
}
.btn-primary { background: var(--blue); color: var(--on-blue); }
.btn-gold { background: var(--gold); color: var(--on-gold); }
.btn-primary:hover, .btn-gold:hover { opacity: .88; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--border); font-weight: 600; padding: 9px 20px; }
.btn-ghost:hover { border-color: var(--muted); }
.btn-lg { padding: 14px 32px; font-size: 16px; }
.btn .icon { width: 18px; height: 18px; }

/* ── Nav ── */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  padding-block: calc(var(--space-4) + env(safe-area-inset-top, 0px)) var(--space-4);
  transition: background .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled, .nav.solid { background: var(--nav-glass); border-bottom-color: var(--border); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: var(--space-6); }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.logo img { display: block; height: 56px; width: auto; }
.footer .logo img { height: 84px; }
.logo-mark {
  width: 40px; height: 40px; border-radius: var(--radius-sm);
  background: var(--blue); color: var(--on-blue);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; font-size: 13px; letter-spacing: .02em;
  box-shadow: inset 0 -3px 0 var(--gold); flex-shrink: 0;
}
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-name { font-family: var(--font-display); font-weight: 700; font-size: 18px; color: var(--ink); letter-spacing: -.01em; }
.logo-sub { font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-text); }
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; }
.nav-links a, .nav-drop-btn {
  color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 500;
  background: none; border: none; font-family: inherit; cursor: pointer;
  display: inline-flex; align-items: center; gap: 6px; transition: color .2s;
}
.nav-links a:hover, .nav-links a[aria-current="page"], .nav-drop-btn:hover, .nav-drop.open .nav-drop-btn { color: var(--ink); }
.nav-drop { position: relative; }
.nav-drop-btn .icon { width: 14px; height: 14px; transition: transform .2s; }
.nav-drop.open .nav-drop-btn .icon { transform: rotate(180deg); }
.nav-menu {
  position: absolute; top: calc(100% + 14px); left: 50%; transform: translateX(-50%);
  width: 340px; padding: var(--space-2);
  background: var(--surface-100); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--card-shadow);
  display: grid; gap: 2px; list-style: none;
  opacity: 0; visibility: hidden; transition: opacity .2s, visibility .2s;
}
.nav-drop.open .nav-menu, .nav-drop:focus-within .nav-menu { opacity: 1; visibility: visible; }
.nav-menu a { display: flex; gap: var(--space-3); align-items: center; padding: 10px 12px; border-radius: var(--radius-sm); color: var(--ink); }
.nav-menu a:hover { background: var(--surface-200); }
.nav-menu small { display: block; color: var(--muted); font-size: 12px; font-weight: 400; }
.nav-menu .mini-icon { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--blue-soft); color: var(--blue-bright); }
.nav-menu .mini-icon.is-gold { background: var(--gold-soft); color: var(--gold-text); }
.nav-menu .mini-icon .icon { width: 18px; height: 18px; }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.hamburger { display: none; background: none; border: 1px solid var(--border); color: var(--ink); border-radius: var(--radius-pill); width: 42px; height: 42px; cursor: pointer; align-items: center; justify-content: center; }

.mobile-menu {
  position: fixed; inset: 0; z-index: 99; background: var(--nav-glass); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  display: flex; flex-direction: column; justify-content: center; gap: var(--space-5);
  padding: var(--space-20) var(--space-6) var(--space-10);
  overflow-y: auto;
}
.mobile-menu a { color: var(--ink); text-decoration: none; font-family: var(--font-display); font-size: 26px; font-weight: 700; transition: color .2s; }
.mobile-menu a:hover { color: var(--gold-text); }
.mobile-menu .mobile-group { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-2) var(--space-5); padding-left: var(--space-4); border-left: 2px solid var(--gold); }
.mobile-menu .mobile-group a { font-size: 17px; font-family: var(--font-body); font-weight: 600; color: var(--muted); }
.mobile-close { position: absolute; top: calc(20px + env(safe-area-inset-top, 0px)); right: 24px; }

/* ── Hero ── */
.hero { position: relative; overflow: hidden; padding-block: 160px var(--space-20); }
.hero-glow { position: absolute; width: 640px; height: 640px; border-radius: 50%; background: radial-gradient(circle, var(--blue-soft) 0%, transparent 70%); top: 10%; right: -120px; pointer-events: none; }
.hero-glow.gold { background: radial-gradient(circle, var(--gold-soft) 0%, transparent 70%); width: 420px; height: 420px; top: auto; bottom: -160px; right: auto; left: -120px; }
.outline-word {
  position: absolute; font-family: var(--font-display); font-weight: 700; color: transparent;
  -webkit-text-stroke: 1px var(--outline-word); white-space: nowrap; pointer-events: none; user-select: none; letter-spacing: -.02em;
}
.hero .outline-word { bottom: -36px; left: -20px; font-size: clamp(80px, 14vw, 200px); }
.hero-layout { position: relative; z-index: 2; display: grid; grid-template-columns: 1.1fr .9fr; gap: var(--space-15); align-items: center; }
.hero-content { min-width: 0; }
.hero .tag { margin-bottom: var(--space-5); }
.hero h1 { font-family: var(--font-display); font-size: clamp(42px, 6.4vw, 84px); font-weight: 700; line-height: 1.04; letter-spacing: -.03em; margin-bottom: var(--space-6); }
.hero-sub { font-size: 18px; color: var(--muted); line-height: 1.7; max-width: 540px; margin-bottom: var(--space-10); }
.hero-actions { display: flex; align-items: center; gap: var(--space-4); flex-wrap: wrap; }
.hero-note { display: flex; align-items: center; gap: var(--space-3); margin-top: var(--space-12); font-size: 13px; color: var(--muted); }
.hero-note strong { color: var(--ink); }
.stripes { display: inline-flex; gap: 4px; }
.stripes i { width: 4px; height: 16px; border-radius: 2px; background: var(--blue); }
.stripes i:nth-child(2) { background: var(--gold); }
.stripes i:nth-child(3) { background: var(--blue-deep); }

/* Home hero: silk — a softly lit flowing surface rendered in WebGL (main.js) */
.silk { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; display: block; pointer-events: none; opacity: 0; transition: opacity 1.2s ease; }
.silk.ready { opacity: 1; }
/* No WebGL: a still, soft gradient in the same tones */
.hero-home.silk-fallback {
  background:
    radial-gradient(60% 70% at 78% 40%, #ffffff 0%, transparent 60%),
    radial-gradient(45% 55% at 92% 75%, rgba(10, 36, 114, .08) 0%, transparent 70%),
    radial-gradient(40% 45% at 62% 20%, rgba(246, 170, 28, .10) 0%, transparent 70%),
    var(--bg);
}
.hero-home .hero-layout { position: relative; z-index: 2; }
.hero-home .outline-word, .hero-home .hero-glow { display: none; }

/* Home hero: one column, type-led */
.hero-home .hero-layout { grid-template-columns: 1fr; }
.hero-home .hero-content { max-width: 1000px; }
.hero-home h1 { font-size: clamp(48px, 8vw, 120px); line-height: 1; }
.hero-home .hero-sub { max-width: 640px; }

/* ── Ticker ── */
.ticker { border-block: 1px solid var(--border); padding-block: 14px; overflow: hidden; white-space: nowrap; }
.ticker-track { display: inline-flex; gap: 40px; animation: ticker 28s linear infinite; }
.ticker-item { display: inline-flex; align-items: center; gap: var(--space-4); font-family: var(--font-display); font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.ticker-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }
.ticker-item:nth-child(even) .ticker-dot { background: var(--blue-bright); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ── Sections ── */
.section { padding-block: var(--space-25); }
.section.alt { background: var(--surface-100); border-block: 1px solid var(--border); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: var(--space-6); flex-wrap: wrap; }
.section-head > div { min-width: 0; }

/* Divisions: hairline grid */
.divisions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius-xl); overflow: hidden; margin-top: var(--space-15); box-shadow: var(--card-shadow); }
.division {
  background: var(--surface-100); padding: var(--space-10) var(--space-8);
  text-decoration: none; display: flex; flex-direction: column; min-width: 0;
  transition: background .2s;
}
.section.alt .division { background: var(--surface-100); }
.division:hover { background: var(--surface-200); }
.division-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: var(--space-5); }
.icon-tile { width: 52px; height: 52px; border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; background: var(--blue-soft); color: var(--blue-bright); }
.icon-tile.is-gold { background: var(--gold-soft); color: var(--gold-text); }
.division-code { font-family: var(--font-display); font-size: 12px; font-weight: 600; letter-spacing: .12em; color: var(--muted); }
.division h3 { font-family: var(--font-display); font-size: 22px; font-weight: 700; margin-bottom: 10px; }
.division h3 span { color: var(--muted); font-weight: 500; }
.division p { font-size: 14px; color: var(--muted); line-height: 1.7; flex: 1; }
.division-more { margin-top: var(--space-5); display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--blue-bright); }
.division-more .icon { width: 16px; height: 16px; transition: transform .2s; }
.division:hover .division-more .icon { transform: translateX(4px); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: var(--space-4); }
.chip { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 4px 10px; border-radius: var(--radius-xs); background: var(--blue-soft); color: var(--blue-bright); }
.chip.is-gold { background: var(--gold-soft); color: var(--gold-text); }

/* Promise split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-20); align-items: center; }
.split > * { min-width: 0; }
.promise-card {
  position: relative; border-radius: var(--radius-2xl); overflow: hidden;
  background: var(--blue-deep); color: var(--on-blue); padding: var(--space-12) var(--space-10);
  min-height: 420px; display: flex; flex-direction: column; justify-content: flex-end;
}
.promise-card::before {
  content: ''; position: absolute; top: -60px; right: -60px; width: 260px; height: 260px; border-radius: 50%;
  background: var(--gold); opacity: .95;
}
.promise-card::after {
  content: ''; position: absolute; top: 40px; left: 40px; width: 144px; height: 96px;
  background-image: radial-gradient(circle, var(--gold) 3px, transparent 3.5px);
  background-size: 24px 24px; opacity: .8;
}
.promise-card blockquote { position: relative; z-index: 1; font-family: var(--font-display); font-size: clamp(28px, 3.4vw, 42px); font-weight: 700; line-height: 1.1; letter-spacing: -.02em; }
.promise-card blockquote em { font-style: normal; color: var(--gold); }
.promise-card cite { position: relative; z-index: 1; display: block; margin-top: var(--space-5); font-style: normal; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .72); }

/* Steps */
.steps { display: flex; flex-direction: column; gap: var(--space-2); margin-top: var(--space-8); }
.step { display: flex; gap: var(--space-5); align-items: flex-start; padding: var(--space-6); border-radius: var(--radius-lg); border: 1px solid transparent; transition: border-color .2s, background .2s; }
.step:hover { border-color: var(--border); background: var(--surface-100); box-shadow: var(--card-shadow); }
.section.alt .step:hover { background: var(--surface-100); }
.step-num { width: 40px; height: 40px; border-radius: 12px; background: var(--surface-200); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 16px; font-weight: 700; color: var(--blue-bright); flex-shrink: 0; }
.step:first-child .step-num { background: var(--blue); color: var(--on-blue); }
.step h3 { font-family: var(--font-display); font-size: 18px; font-weight: 700; margin-bottom: 6px; }
.step p { font-size: 14px; color: var(--muted); line-height: 1.7; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--card-shadow); }
.stat { background: var(--surface-100); padding: var(--space-8) var(--space-6); text-align: center; }
.stat-value { font-family: var(--font-display); font-size: clamp(32px, 4vw, 52px); font-weight: 700; letter-spacing: -.02em; line-height: 1; margin-bottom: var(--space-2); color: var(--blue-bright); font-variant-numeric: tabular-nums; }
.stat-value.is-gold { color: var(--gold-text); }
.stat-label { font-size: 13px; color: var(--muted); font-weight: 500; }

/* Values cards */
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-4); margin-top: var(--space-12); }
.value { padding: var(--space-8) var(--space-6); border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface-100); box-shadow: var(--card-shadow); min-width: 0; }
.section.alt .value { background: var(--surface-100); }
.value .icon-tile { margin-bottom: var(--space-5); }
.value h3 { font-family: var(--font-display); font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.value p { font-size: 14px; color: var(--muted); line-height: 1.7; }

/* Services list (division pages) */
.services { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius-xl); overflow: hidden; margin-top: var(--space-12); box-shadow: var(--card-shadow); }
.service { background: var(--surface-100); padding: var(--space-8); display: flex; gap: var(--space-5); align-items: flex-start; min-width: 0; }
.service-num { font-family: var(--font-display); font-size: 13px; font-weight: 700; color: var(--gold-text); letter-spacing: .08em; padding-top: 4px; }
.service h3 { font-family: var(--font-display); font-size: 18px; font-weight: 700; margin-bottom: 6px; }
.service p { font-size: 14px; color: var(--muted); line-height: 1.7; }

/* Division hero extras */
.division-hero .hero-layout { grid-template-columns: 1.2fr .8fr; }
.crumbs { display: flex; gap: 8px; align-items: center; font-size: 13px; color: var(--muted); margin-bottom: var(--space-5); flex-wrap: wrap; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.division-badge {
  position: relative; aspect-ratio: 1; max-width: 380px; width: 100%; justify-self: end;
  border-radius: var(--radius-2xl); background: var(--blue); overflow: hidden;
  display: flex; align-items: flex-end; padding: var(--space-8); color: var(--on-blue);
}
.division-badge.is-gold { background: var(--gold); color: var(--on-gold); }
.division-badge::before { content: ''; position: absolute; right: -50px; top: -50px; width: 220px; height: 220px; border-radius: 50%; background: var(--blue-deep); }
.division-badge.is-gold::before { background: var(--blue); }
.division-badge::after {
  content: ''; position: absolute; left: 32px; top: 32px; width: 120px; height: 72px;
  background-image: radial-gradient(circle, currentColor 2.5px, transparent 3px); background-size: 24px 24px; opacity: .45;
}
.division-badge .big-icon { position: absolute; right: 44px; top: 44px; z-index: 1; width: 92px; height: 92px; color: var(--gold); stroke-width: 1.5; }
.division-badge.is-gold .big-icon { color: var(--on-blue); }
.division-badge .badge-code { position: relative; z-index: 1; font-family: var(--font-display); font-weight: 700; font-size: clamp(56px, 8vw, 96px); line-height: .9; letter-spacing: -.04em; }
.division-badge .badge-code small { display: block; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-family: var(--font-body); margin-bottom: var(--space-2); opacity: .8; }

/* Sibling divisions */
.siblings { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--space-3); margin-top: var(--space-10); }
.sibling { display: flex; flex-direction: column; gap: var(--space-4); padding: var(--space-5); border-radius: var(--radius-lg); border: 1px solid var(--border); background: var(--surface-100); box-shadow: var(--card-shadow); text-decoration: none; transition: border-color .2s, transform .2s; min-width: 0; }
.sibling:hover { border-color: var(--blue-bright); transform: translateY(-4px); }
.sibling .icon { color: var(--blue-bright); }
.sibling.is-gold .icon { color: var(--gold-text); }
.sibling span { font-family: var(--font-display); font-weight: 700; font-size: 15px; }

/* CTA */
.cta { position: relative; overflow: hidden; text-align: center; padding-block: var(--space-25); }
.cta-glow { position: absolute; width: 800px; max-width: 100%; height: 400px; background: radial-gradient(ellipse, var(--blue-soft) 0%, transparent 70%); top: 50%; left: 50%; transform: translate(-50%, -50%); pointer-events: none; }
.cta .outline-word { top: 50%; left: 50%; transform: translate(-50%, -50%); font-size: clamp(100px, 20vw, 280px); }
.cta-content { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; }
.cta .tag { margin-bottom: var(--space-5); }
.cta-title { font-family: var(--font-display); font-size: clamp(36px, 5vw, 64px); font-weight: 700; letter-spacing: -.02em; line-height: 1.1; margin-bottom: var(--space-5); }
.cta-sub { font-size: 17px; color: var(--muted); margin-bottom: var(--space-10); max-width: 500px; }
.cta-actions { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }

/* Footer */
.footer { border-top: 1px solid var(--border); padding-block: var(--space-12) var(--space-8); }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: var(--space-12); margin-bottom: var(--space-12); }
.footer-top > * { min-width: 0; }
.footer-brand p { font-size: 14px; color: var(--muted); max-width: 300px; margin-top: var(--space-4); line-height: 1.7; }
.footer h4 { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: var(--space-4); }
.footer ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer a { color: var(--muted); text-decoration: none; font-size: 14px; transition: color .2s; }
.footer a:hover { color: var(--ink); }
.footer .link-btn { background: none; border: none; font: inherit; font-size: 14px; color: var(--muted); cursor: pointer; padding: 0; text-align: left; }
.footer .link-btn:hover { color: var(--gold-text); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--border); padding-top: var(--space-6); gap: var(--space-4); flex-wrap: wrap; font-size: 13px; color: var(--muted); }
.footer-flag { display: inline-flex; align-items: center; gap: var(--space-2); font-size: 12px; }

/* Reveal: visible at rest, animates only when JS marks it */
.js .reveal { opacity: 0; transform: translateY(30px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.visible { opacity: 1; transform: none; }

/* ── Chat launcher + pre-chat panel (fronts Tawk.to) ── */
.chat-launcher {
  position: fixed; right: calc(20px + env(safe-area-inset-right, 0px)); bottom: calc(20px + env(safe-area-inset-bottom, 0px)); z-index: 1000;
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--blue); color: var(--on-blue); border: none; cursor: pointer;
  border-radius: var(--radius-pill); padding: 10px 20px 10px 10px;
  font-family: var(--font-body); font-size: 14px; font-weight: 700;
  box-shadow: 0 0 0 1px var(--blue-line), 0 12px 32px rgba(11, 20, 38, .22);
  transition: transform .2s, opacity .2s;
}
.chat-launcher:hover { transform: translateY(-2px); }
.chat-launcher .launcher-mark { position: relative; width: 36px; height: 36px; border-radius: 50%; background: var(--gold); color: var(--on-gold); display: grid; place-items: center; }
.chat-launcher .launcher-mark .icon { width: 18px; height: 18px; }
.chat-launcher .online { position: absolute; right: -1px; bottom: -1px; width: 11px; height: 11px; border-radius: 50%; background: var(--success); border: 2px solid var(--blue); }
.chat-launcher .badge { position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--gold); color: var(--on-gold); font-size: 11px; display: grid; place-items: center; border: 2px solid var(--bg); }
.chat-launcher[aria-expanded="true"] { opacity: 0; pointer-events: none; }

.chat-panel {
  position: fixed; right: calc(20px + env(safe-area-inset-right, 0px)); bottom: calc(20px + env(safe-area-inset-bottom, 0px)); z-index: 1001;
  width: min(380px, calc(100vw - 32px)); max-height: calc(100vh - 40px); overflow: auto;
  background: var(--surface-100); border: 1px solid var(--border); border-radius: var(--radius-2xl);
  box-shadow: 0 24px 64px rgba(11, 20, 38, .18);
  transform-origin: bottom right; animation: panel-in .25s ease;
}
@keyframes panel-in { from { opacity: 0; transform: translateY(12px) scale(.98); } }
.chat-head { position: relative; overflow: hidden; background: var(--blue); color: var(--on-blue); padding: var(--space-6); }
.chat-head::after { content: ''; position: absolute; right: -40px; top: -40px; width: 140px; height: 140px; border-radius: 50%; background: var(--gold); opacity: .9; }
.chat-head-top { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--space-5); }
.chat-head .logo-mark { background: var(--blue-deep); }
.chat-close { width: 34px; height: 34px; border-radius: 50%; border: none; background: var(--blue-deep); color: var(--on-blue); cursor: pointer; display: grid; place-items: center; }
.chat-close .icon { width: 16px; height: 16px; }
.chat-head h2 { position: relative; z-index: 1; font-family: var(--font-display); font-size: 24px; font-weight: 700; line-height: 1.15; letter-spacing: -.01em; }
.chat-head p { position: relative; z-index: 1; font-size: 13px; opacity: .85; margin-top: 6px; }
.chat-status { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; }
.chat-status::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--success); }
.chat-status.offline::before { background: var(--gold); }
.chat-body { padding: var(--space-5) var(--space-6) var(--space-6); }
.chat-body .eyebrow { margin-bottom: var(--space-3); }
.chat-topics { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-2); }
.chat-topic {
  display: flex; align-items: center; gap: 10px; text-align: left;
  padding: 10px 12px; border-radius: var(--radius-md); border: 1px solid var(--border); background: var(--bg);
  color: var(--ink); font-family: var(--font-body); font-size: 13px; font-weight: 600; cursor: pointer;
  transition: border-color .2s, background .2s;
}
.chat-topic:hover { border-color: var(--blue-bright); background: var(--surface-200); }
.chat-topic .icon { width: 18px; height: 18px; color: var(--blue-bright); }
.chat-topic.is-gold .icon { color: var(--gold-text); }
.chat-topic.wide { grid-column: 1 / -1; background: var(--gold); border-color: var(--gold); color: var(--on-gold); justify-content: center; }
.chat-topic.wide .icon { color: var(--on-gold); }
.chat-topic.wide:hover { opacity: .9; background: var(--gold); }
.chat-msg { margin-top: var(--space-4); font-size: 13px; color: var(--muted); padding: var(--space-3) var(--space-4); border-radius: var(--radius-md); background: var(--gold-soft); border: 1px solid var(--gold-line); }
.chat-foot { padding: var(--space-3) var(--space-6); border-top: 1px solid var(--border); font-size: 11px; color: var(--muted); text-align: center; }

/* ── Responsive ── */
@media (max-width: 1000px) {
  .hero-layout, .division-hero .hero-layout { grid-template-columns: 1fr; gap: var(--space-12); }
  .division-badge { justify-self: start; max-width: 300px; }
  .siblings { grid-template-columns: repeat(3, 1fr); }
  .values { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .nav-links, .nav-cta .btn-ghost { display: none; }
  .hamburger { display: inline-flex; }
  .divisions { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; gap: var(--space-12); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .services { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .logo img { height: 46px; }
  .silk { opacity: .6; }
  .silk.ready { opacity: .6; }
  .section, .cta { padding-block: var(--space-20); }
  .hero { padding-block: 120px var(--space-15); }
  .divisions, .values { grid-template-columns: 1fr; }
  .siblings { grid-template-columns: 1fr 1fr; }
  .nav-cta .btn-primary { display: none; }
  .hero-actions .btn { width: 100%; }
  .promise-card { padding: var(--space-10) var(--space-6); min-height: 340px; }
  .footer-top { grid-template-columns: 1fr; }
  .chat-launcher { padding: 8px; }
  .chat-launcher .launcher-label { display: none; }
  .service { padding: var(--space-6); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker-track { animation: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .chat-panel { animation: none; }
  * { transition-duration: 0s !important; }
}
