/* Shared site styles built on colors_and_type.css */

/* -------- Tweakable defaults (theme) -------- */
:root {
  --site-bg: var(--q-warm-white);
  --site-fg: var(--q-ink);
  --site-surface: var(--q-pure-white);
  --site-border: var(--q-border);
  --site-muted: var(--q-fg-muted);
  --site-eyebrow: var(--q-fg-muted);
  --site-accent: var(--q-luminous-emerald);
  --site-accent-deep: var(--q-deep-forest-teal);
  --site-header-bg: rgba(244, 237, 224, 0.82);
  --site-header-fg: var(--q-ink);
  --site-header-border: var(--q-border);
  --site-hero-bg: var(--q-warm-white);
  --site-hero-fg: var(--q-ink);
  --site-hero-lede: var(--q-fg-muted);
  --site-footer-bg: var(--q-midnight-pine);
  --site-footer-fg: var(--q-celdon);
  --site-footer-h: var(--q-luminous-emerald);
}

/* Hero background variants (controlled via data-hero on <body>) */
body[data-hero="paper"] {
  --site-hero-bg: var(--q-warm-white);
  --site-hero-fg: var(--q-ink);
  --site-hero-lede: var(--q-fg-muted);
}
body[data-hero="teal"] {
  --site-hero-bg: var(--q-deep-forest-teal);
  --site-hero-fg: var(--q-warm-white);
  --site-hero-lede: var(--q-celdon);
}
body[data-hero="carbon"] {
  --site-hero-bg: var(--q-carbon);
  --site-hero-fg: var(--q-warm-white);
  --site-hero-lede: var(--q-celdon);
}

/* Full dark-mode override */
body[data-theme="dark"] {
  --site-bg: var(--q-carbon);
  --site-fg: var(--q-warm-white);
  --site-surface: #141C19;
  --site-border: #26302C;
  --site-muted: #A8B1AC;
  --site-eyebrow: #A8B1AC;
  --site-accent: var(--q-luminous-emerald);
  --site-accent-deep: var(--q-celdon);
  --site-header-bg: rgba(10, 14, 13, 0.82);
  --site-header-fg: var(--q-warm-white);
  --site-header-border: #26302C;
  --site-hero-bg: var(--q-carbon);
  --site-hero-fg: var(--q-warm-white);
  --site-hero-lede: var(--q-celdon);
  --site-footer-bg: #000;
  --site-footer-fg: var(--q-celdon);
}
body[data-theme="dark"][data-hero="paper"] {
  --site-hero-bg: var(--q-midnight-pine);
  --site-hero-fg: var(--q-warm-white);
  --site-hero-lede: var(--q-celdon);
}

/* ── Section banding: light surfaces ──────────────────────────────────
   Firestrike alternates dark↔light bands down the page, with two light
   surfaces (light-grey stats band + white services band). These are
   Quandry's equivalents. Drop `.on-light` (stone) or `.on-white` (white)
   on any section in dark mode and every --site-*-driven child (text, stats,
   borders, accent) inverts automatically — the same way Firestrike's
   `.on-navy` modifier works. `.on-light` → stone "proof" band (stats);
   `.on-white` → white band (who-we-serve). Keep the two non-adjacent. */
body[data-theme="dark"] .on-light,
body[data-theme="dark"] .on-white {
  --site-fg:      var(--q-ink);
  --site-muted:   #4A524E;
  --site-eyebrow: #4A524E;
  --site-border:  #D9D3C5;
  --site-accent:  var(--q-luminous-emerald);
  color: var(--site-fg);
}
body[data-theme="dark"] .on-light {
  --site-bg:      var(--q-stone-white);
  --site-surface: var(--q-stone-white);
  --site-border:  #D9DAD6;   /* soft divider — subtle on the light stone surface */
  background: var(--site-bg);
}
body[data-theme="dark"] .on-white {
  --site-bg:      var(--q-pure-white);
  --site-surface: var(--q-pure-white);
  background: var(--site-bg);
}
/* Served cards bake a dark carbon tint into their fill for the dark band;
   on a light band, drop the tint so cards read cleanly as a bordered grid. */
body[data-theme="dark"] .on-light .served-card,
body[data-theme="dark"] .on-white .served-card { background: var(--site-surface); }

/* Solution + Statement hardcode dark text/cards for their default dark band, so
   they don't auto-invert via --site-* like problem/served do. When the homepage
   flips them to a light band (.on-white), restate them. Scoped to .on-white so
   solutions.html — which shares index.css but never uses the class — is untouched. */
body[data-theme="dark"] .section.solution.on-white,
body[data-theme="dark"] .statement.on-white {
  background: var(--site-bg);
  color: var(--site-fg);
}
.section.solution.on-white h2,
.section.solution.on-white .service h3,
.statement.on-white h2,
.statement.on-white .signoff b { color: var(--site-fg); }
.section.solution.on-white .section-head .kicker p,
.section.solution.on-white .eyebrow,
.section.solution.on-white .service p,
.section.solution.on-white .service li,
.statement.on-white .signoff { color: var(--site-muted); }
.section.solution.on-white .service {
  background: #fff;
  border-color: var(--site-border);
  box-shadow: var(--q-shadow-md);
}
.section.solution.on-white .service ul,
.section.solution.on-white .service li,
.statement.on-white .signoff { border-color: var(--site-border); }

/* Light bands stay clean — the dark ambient glow doesn't belong on cream/white. */
body[data-theme="dark"] .on-light.ambient-glow::before,
body[data-theme="dark"] .on-white.ambient-glow::before { display: none; }

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--site-bg);
  color: var(--site-fg);
  font: var(--q-body);
  min-height: 100vh;
}
a { color: inherit; }

.container { max-width: 1080px; margin: 0 auto; padding: 0 48px; }
@media (max-width: 768px) { .container { padding: 0 32px; } }
@media (max-width: 720px) { .container { padding: 0 24px; } }

/* ===== Header ===== */
header.site {
  position: sticky; top: 0; z-index: 50;
  background: var(--site-header-bg);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--site-header-border);
  color: var(--site-header-fg);
}
.site-nav {
  display: flex; align-items: center;
  height: 72px; gap: 32px;
  max-width: 100%; padding: 0 32px;
}
.site-nav .brand { display: flex; align-items: center; gap: 6px; text-decoration: none; color: inherit; flex-shrink: 0; }
.site-nav .brand img { height: 22px; display: block; }
.site-nav .wordmark { font: 700 18px/1 var(--q-font-display); letter-spacing: -0.02em; padding-left: 2px; }
.site-nav .tm { font: 500 10px var(--q-font-display); color: var(--site-accent); vertical-align: super; }

.site-nav .links { display: flex; gap: 28px; align-items: center; flex: 1; justify-content: center; }
.site-nav .links a {
  font: 500 14px var(--q-font-body);
  text-decoration: none;
  color: var(--site-fg);
  opacity: .84;
  transition: opacity var(--q-dur-fast) var(--q-ease), color var(--q-dur-fast) var(--q-ease);
  position: relative;
}
.site-nav .links a:hover { opacity: 1; color: var(--site-accent); }
.site-nav .links a.active { opacity: 1; }
.site-nav .links a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -22px;
  height: 2px; background: var(--site-accent);
}
.site-nav .right { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }

/* ===== Buttons ===== */
.btn {
  font: 600 14px var(--q-font-display);
  letter-spacing: -0.005em;
  padding: 12px 20px;
  border-radius: var(--q-radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex; align-items: center; gap: 8px;
  transition: transform var(--q-dur-fast) var(--q-ease),
              background var(--q-dur-fast) var(--q-ease),
              color var(--q-dur-fast) var(--q-ease),
              border-color var(--q-dur-fast) var(--q-ease);
  white-space: nowrap;
}
.btn:active { transform: scale(0.98); }
.btn.primary { background: var(--site-accent); color: var(--q-deep-forest-teal); }
.btn.primary:hover { background: var(--q-aurora-mint); }
.btn.dark { background: var(--q-deep-forest-teal); color: var(--q-warm-white); }
.btn.dark:hover { background: var(--q-midnight-pine); }
.site-nav .right .btn.dark { background: var(--site-accent); color: var(--q-deep-forest-teal); }
.site-nav .right .btn.dark:hover { background: var(--q-aurora-mint); }
.btn.ghost { background: transparent; color: var(--site-fg); border-color: var(--site-border); }
.btn.ghost:hover { border-color: var(--site-accent); color: var(--site-accent); }
.btn.light { background: var(--q-warm-white); color: var(--q-deep-forest-teal); }
.btn.sm { padding: 9px 14px; font-size: 13px; }
.btn.lg { padding: 15px 24px; font-size: 15px; }

/* ===== Eyebrow ===== */
.eyebrow {
  font: 600 12px/1.2 var(--q-font-display);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--site-eyebrow);
  display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow.accent { color: var(--site-accent); }
.eyebrow .bar { display: inline-block; width: 24px; height: 1px; background: currentColor; opacity: 0.6; }

/* ===== The X ===== */
.qx { font-style: italic; color: var(--site-accent); font-weight: 700; }

/* ===== Display heads ===== */
.display-xl { font: 700 clamp(56px, 8vw, 128px)/0.92 var(--q-font-display); letter-spacing: -0.028em; }
.display-l  { font: 700 clamp(44px, 6vw, 88px)/0.96 var(--q-font-display); letter-spacing: -0.022em; }
.display-m  { font: 600 clamp(32px, 4vw, 56px)/1.02 var(--q-font-display); letter-spacing: -0.015em; }

/* ===== Footer ===== */
footer.site {
  background: var(--site-footer-bg);
  color: var(--site-footer-fg);
  padding: 96px 0 28px;
  margin-top: 0;
}
footer.site .top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 64px;
  border-bottom: 1px solid rgba(184,212,194,.18);
}
@media (max-width: 900px) { footer.site .top { grid-template-columns: 1fr 1fr; } }
footer.site .brand-col .footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 28px; }
footer.site .brand-col .footer-brand img { height: 64px; display: block; }
footer.site .brand-col .footer-brand .wordmark { font: 700 42px/1 var(--q-font-display); letter-spacing: -0.02em; color: var(--q-warm-white); }
footer.site .brand-col .footer-brand .tm { font: 500 10px var(--q-font-display); color: var(--site-accent); vertical-align: super; }
footer.site .brand-col p { font: 400 14px/1.55 var(--q-font-body); color: var(--q-celdon); opacity: .78; max-width: 280px; margin: 0 0 20px; }
@media (max-width: 768px) {
  footer.site { padding: 48px 0 20px; }
  footer.site .top {
    grid-template-columns: repeat(4, 1fr);
    gap: 0 16px;
    padding-bottom: 32px;
  }
  footer.site .brand-col {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: 14px;
    padding-bottom: 24px;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(184,212,194,.12);
  }
  footer.site .brand-col .footer-brand { margin-bottom: 0; gap: 8px; }
  footer.site .brand-col .footer-brand img { height: 36px; }
  footer.site .brand-col .footer-brand .wordmark { font-size: 20px; }
  footer.site .brand-col p { font-size: 11px; line-height: 1.4; margin: 0; max-width: none; }
  footer.site .brand-col p:last-child { display: none; }
  footer.site .top > div:not(.brand-col) p { font-size: 10px !important; margin-bottom: 8px !important; }
  footer.site a { font-size: 12px; line-height: 2; }
}
footer.site h4 {
  font: 600 11px/1 var(--q-font-display);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--site-footer-h);
  margin: 0 0 18px;
}
footer.site a {
  display: block;
  font: 400 14px/2 var(--q-font-body);
  color: var(--q-warm-white);
  text-decoration: none;
  opacity: .82;
  transition: color var(--q-dur-fast) var(--q-ease), opacity var(--q-dur-fast) var(--q-ease);
}
footer.site a:hover { color: var(--site-accent); opacity: 1; }
footer.site .legal {
  padding-top: 24px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font: 500 11px/1 var(--q-font-mono);
  letter-spacing: 0.08em;
  color: var(--q-celdon);
  opacity: .55;
  text-transform: uppercase;
}
footer.site .legal .grid-dot { display: inline-block; width: 6px; height: 6px; background: var(--site-accent); margin-right: 8px; vertical-align: middle; }

/* ===== Reveal on scroll ===== */
/* Default: content visible. JS adds .reveal-ready to <html> to enable animations. */
.reveal { opacity: 1; transform: none; }
html.reveal-ready .reveal { opacity: 0; transform: translateY(16px); transition: opacity 600ms var(--q-ease), transform 600ms var(--q-ease); }
html.reveal-ready .reveal.in { opacity: 1; transform: none; }
html.reveal-ready .reveal.d1 { transition-delay: 80ms; }
html.reveal-ready .reveal.d2 { transition-delay: 160ms; }
html.reveal-ready .reveal.d3 { transition-delay: 240ms; }
html.reveal-ready .reveal.d4 { transition-delay: 320ms; }

/* ===== Section shell ===== */
.section { padding: 120px 0; }
.section.tight { padding: 88px 0; }
.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: end; margin-bottom: 72px; }
.section-head .kicker p { font: 400 18px/1.55 var(--q-font-body); color: var(--site-muted); max-width: 520px; margin: 0; }
@media (max-width: 900px) { .section-head { grid-template-columns: 1fr; gap: 24px; } }
@media (max-width: 768px) { .section-head { margin-bottom: 48px; } }

/* ===== Hairline helper ===== */
.hr { height: 1px; background: var(--site-border); border: 0; margin: 0; }

/* ===== Tweaks panel ===== */
#tweaks-panel {
  position: fixed; right: 20px; bottom: 20px; z-index: 100;
  background: var(--q-deep-forest-teal);
  color: var(--q-warm-white);
  border: 1px solid var(--q-midnight-pine);
  border-radius: 12px;
  padding: 18px 20px;
  width: 280px;
  box-shadow: 0 20px 50px rgba(0,0,0,.35);
  display: none;
  font-family: var(--q-font-body);
}
#tweaks-panel.open { display: block; }
#tweaks-panel h5 {
  margin: 0 0 14px;
  font: 600 11px/1 var(--q-font-display);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--q-luminous-emerald);
}
#tweaks-panel .row { margin-bottom: 16px; }
#tweaks-panel .row:last-child { margin-bottom: 0; }
#tweaks-panel label {
  display: block;
  font: 500 11px/1.2 var(--q-font-body);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--q-celdon);
  margin-bottom: 8px;
  opacity: .8;
}
#tweaks-panel .seg { display: flex; gap: 0; border: 1px solid rgba(184,212,194,.25); border-radius: 6px; overflow: hidden; }
#tweaks-panel .seg button {
  flex: 1; background: transparent; border: 0; color: var(--q-celdon);
  padding: 9px 10px; font: 500 12px var(--q-font-body); cursor: pointer;
  border-right: 1px solid rgba(184,212,194,.2);
}
#tweaks-panel .seg button:last-child { border-right: 0; }
#tweaks-panel .seg button.on { background: var(--q-luminous-emerald); color: var(--q-deep-forest-teal); font-weight: 600; }
#tweaks-panel .toggle {
  display: flex; align-items: center; justify-content: space-between;
  background: var(--q-midnight-pine); padding: 10px 12px; border-radius: 6px;
  cursor: pointer;
}
#tweaks-panel .toggle span { font-size: 13px; color: var(--q-warm-white); }
#tweaks-panel .toggle .sw {
  width: 32px; height: 18px; border-radius: 999px;
  background: #1c2a25; position: relative; transition: background 180ms;
}
#tweaks-panel .toggle .sw::after {
  content: ""; position: absolute; top: 2px; left: 2px;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--q-celdon); transition: transform 180ms;
}
/* ===== Theme toggle ===== */
#theme-toggle {
  background: none; border: 1px solid var(--site-border); border-radius: var(--q-radius-sm);
  padding: 6px 10px; cursor: pointer; color: var(--site-fg); font-size: 16px; line-height: 1;
  display: inline-flex; align-items: center; gap: 6px;
  transition: border-color var(--q-dur-fast) var(--q-ease), color var(--q-dur-fast) var(--q-ease);
}
#theme-toggle:hover { border-color: var(--site-accent); color: var(--site-accent); }
#theme-toggle .icon-sun, #theme-toggle .icon-moon { display: none; }
body[data-theme="light"] #theme-toggle .icon-moon { display: inline; }
body[data-theme="dark"] #theme-toggle .icon-sun { display: inline; }

/* ===== Mobile nav ===== */
.mobile-cta { display: none !important; }
#menu-toggle {
  display: none; background: none; border: 0; cursor: pointer; padding: 8px;
  color: var(--site-header-fg); font-size: 20px;
}
@media (max-width: 720px) {
  #menu-toggle { display: block; margin-left: auto; }
  .site-nav .links {
    display: none; position: absolute; top: 60px; left: 0; right: 0;
    background: var(--q-carbon); backdrop-filter: none;
    flex-direction: column; padding: 20px 24px 24px; gap: 0;
    border-bottom: 2px solid var(--q-luminous-emerald);
    z-index: 60;
    align-items: stretch;
    text-align: left;
  }
  .site-nav .links.open { display: flex; }
  .site-nav .links > a,
  .site-nav .links .nav-dropdown > a {
    display: block;
    padding: 14px 0;
    border-bottom: 1px solid rgba(184,212,194,.12);
    font: 500 16px/1 var(--q-font-display);
    letter-spacing: -0.005em;
    opacity: 1;
    text-align: left;
  }
  .site-nav .links > a:last-child { border-bottom: 0; }
  .site-nav .links > a.active::after { display: none; }
  .site-nav .links .mobile-cta {
    display: inline-flex !important;
    margin-top: 16px;
    align-self: stretch;
    justify-content: center;
    border-bottom: 0;
    font: 600 14px var(--q-font-display) !important;
    padding: 14px 20px;
  }
  .nav-dropdown > a.active::after { display: none !important; }
  .site-nav .right { display: none; }
  .site-nav .links.open ~ .right {
    display: none !important;
  }
}

/* ─── Nav Dropdown ─── */
.nav-dropdown {
  position: relative;
}
.nav-dropdown > a {
  cursor: pointer;
  position: relative;
}
.nav-dropdown > a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -22px;
  height: 2px; background: var(--site-accent);
}
.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: var(--site-header-bg);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border: 1px solid var(--site-border);
  border-radius: var(--q-radius-md);
  padding: 8px;
  min-width: 920px;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--q-dur-fast) var(--q-ease), visibility var(--q-dur-fast) var(--q-ease), transform var(--q-dur-fast) var(--q-ease);
  z-index: 60;
  box-shadow: var(--q-shadow-lg);
}
.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown-menu a {
  display: block;
  padding: 10px 14px;
  font: 400 13px/1.4 var(--q-font-body);
  color: var(--site-fg);
  text-decoration: none;
  border-radius: var(--q-radius-sm);
  opacity: 0.8;
  transition: background var(--q-dur-fast) var(--q-ease), opacity var(--q-dur-fast) var(--q-ease);
}
.nav-dropdown-menu a:hover {
  background: color-mix(in srgb, var(--site-accent) 12%, transparent);
  opacity: 1;
}
.nav-dropdown-menu a .dd-label {
  font-weight: 600;
  display: block;
  margin-bottom: 2px;
  color: var(--site-fg);
}
.nav-dropdown-menu a .dd-desc {
  font-size: 11px;
  color: var(--site-muted);
  display: block;
}
.nav-dropdown-menu a .dd-badge {
  display: inline-block;
  font: 600 9px/1 var(--q-font-display);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 2px 6px;
  border-radius: var(--q-radius-xs);
  margin-left: 6px;
  vertical-align: middle;
}
.nav-dropdown-menu a .dd-badge.early {
  background: color-mix(in srgb, var(--q-ledger-gold) 20%, transparent);
  color: var(--q-ledger-gold);
}
.nav-dropdown-menu a .dd-badge.oss {
  background: color-mix(in srgb, var(--site-accent) 20%, transparent);
  color: var(--site-accent);
}
.nav-dropdown-menu .dd-divider {
  height: 1px;
  background: var(--site-border);
  margin: 6px 0;
}
.nav-dropdown-cols {
  display: grid;
  grid-template-columns: 1fr 1fr 2fr;
  gap: 8px;
  align-items: start;
}
/* Compact list — labels only, tighter padding for industry column */
.nav-dropdown-menu .dd-compact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 4px;
}
.nav-dropdown-menu .dd-compact > .nav-dropdown-col-label {
  grid-column: 1 / -1;
}
.nav-dropdown-menu .dd-compact a {
  padding: 8px 14px;
}
.nav-dropdown-menu .dd-compact a .dd-label {
  margin-bottom: 0;
}
/* Coming-soon disabled state */
.nav-dropdown-menu a.dd-soon {
  opacity: 0.4;
  pointer-events: none;
  cursor: default;
}
.nav-dropdown-menu a.dd-soon::after {
  content: 'soon';
  font: 600 9px/1 var(--q-font-display);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-left: 6px;
  color: var(--site-muted);
  vertical-align: middle;
}
/* Citation links — subscript-style references */
a.cite {
  color: var(--site-accent);
  text-decoration: none;
  margin-left: 2px;
  font-weight: 600;
  transition: opacity var(--q-dur-fast) var(--q-ease), color var(--q-dur-fast) var(--q-ease);
}
a.cite sup {
  font-size: 0.7em;
  vertical-align: super;
  line-height: 0;
  font-feature-settings: "tnum" on, "lnum" on;
}
a.cite:hover {
  opacity: 1;
  text-decoration: underline;
  color: var(--q-luminous-emerald);
}
.cap a.cite {
  color: var(--q-luminous-emerald);
}
.nav-dropdown-col-label {
  font: 600 10px/1 var(--q-font-display);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--site-muted);
  padding: 8px 14px 4px;
  margin: 0;
}
@media (max-width: 720px) {
  .nav-dropdown { border-bottom: 1px solid rgba(184,212,194,.12); }
  .nav-dropdown-menu {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    backdrop-filter: none;
    border: none;
    padding: 0 0 12px 0;
    min-width: 0;
    background: transparent;
  }
  .nav-dropdown-cols {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .nav-dropdown-menu .dd-compact {
    grid-template-columns: 1fr;
  }
  .nav-dropdown-col-label {
    padding: 12px 0 6px;
    color: var(--q-luminous-emerald);
  }
  .nav-dropdown:hover .nav-dropdown-menu {
    transform: none;
  }
  .nav-dropdown-menu a {
    padding: 10px 0;
    border-radius: 0;
    opacity: 1;
    background: transparent !important;
  }
  .nav-dropdown-menu a .dd-desc { display: none; }
  .nav-dropdown-menu a .dd-label {
    font: 500 14px/1 var(--q-font-body);
    color: var(--q-warm-white);
  }
  .nav-dropdown-menu a .dd-badge { font-size: 8px; }
}

/* ─── Tablet (768px) ─── */
@media (max-width: 768px) {
  .site-nav { gap: 20px; }
  .site-nav .links { gap: 20px; }
  .display-xl { font-size: clamp(40px, 10vw, 80px); }
  .display-l { font-size: clamp(36px, 7vw, 64px); }
  .display-m { font-size: clamp(28px, 5vw, 44px); }
  .btn { padding: 10px 16px; font-size: 13px; }
  .btn.lg { padding: 12px 20px; font-size: 14px; }
}

/* ─── Responsive logo sizing ─── */
@media (max-width: 720px) {
  .site-nav .brand img { height: 19px; }
  .site-nav .brand .wordmark { font-size: 16px; }
  .site-nav { height: 60px; }
  footer.site .brand-col img { height: 40px; margin-bottom: 0; }
}
@media (min-width: 1440px) {
  .site-nav .brand img { height: 24px; }
  .site-nav .brand .wordmark { font-size: 20px; }
}

/* ─── Ultra-wide screen support (4K/5K/6K) ─── */
@media (min-width: 2560px) {
  .container { max-width: 2200px; }
  .site-nav { padding: 0 64px; }
  .site-nav .brand img { height: 26px; }
  .site-nav .wordmark { font-size: 22px; }
  .site-nav .links { gap: 40px; }
  .site-nav .links a { font-size: 16px; }
}
@media (min-width: 3840px) {
  .container { max-width: 3200px; }
  .site-nav { padding: 0 96px; height: 88px; }
  .site-nav .brand img { height: 29px; }
  .site-nav .wordmark { font-size: 24px; }
  .site-nav .links { gap: 56px; }
  .site-nav .links a { font-size: 18px; }
  .btn { font-size: 16px; padding: 14px 24px; }
  .btn.sm { font-size: 14px; padding: 10px 18px; }
}
@media (min-width: 5120px) {
  .container { max-width: 4400px; }
  .site-nav { padding: 0 128px; height: 96px; }
  .site-nav .brand img { height: 34px; }
  .site-nav .wordmark { font-size: 28px; }
  .site-nav .links { gap: 72px; }
  .site-nav .links a { font-size: 20px; }
}
