/* ============================================================
   SocialTalent — Segmented Navigation v2
   Single unified nav chrome. Per-segment accent colors removed.
   Three switcher styles available (lockup / chip / topbar).
   Port of design_handoff_navigation/styles/segmented-nav.css
   with @font-face URLs rewritten to the theme's woff2.
   ============================================================ */

@font-face {
  font-family: "TT Hoves Pro";
  src: url("../fonts/TT Hoves Pro/woff2/TT_Hoves_Pro_Regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "TT Hoves Pro";
  src: url("../fonts/TT Hoves Pro/woff2/TT_Hoves_Pro_Medium.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "TT Hoves Pro";
  src: url("../fonts/TT Hoves Pro/woff2/TT_Hoves_Pro_DemiBold.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "TT Hoves Pro";
  src: url("../fonts/TT Hoves Pro/woff2/TT_Hoves_Pro_Bold.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

:root {
  --st-frost:   #EBF5EB;
  --st-pastel:  #C2F5C4;
  --st-lime:    #96F782;
  --st-leaf:    #00A75C;
  --st-emerald: #147054;
  --st-forest:  #124036;
  --st-ocean:   #03261F;
  --st-ink:     #03261F;
  --st-paper:   #ffffff;
  --st-accent:  var(--st-lime);

  --st-font: "TT Hoves Pro", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --st-r:      18px;
  --st-r-lg:   28px;
  --st-r-pill: 999px;

  --st-nav-h: 72px;
  --st-nav-h-compact: 58px;

  --st-on-dark:        rgba(255,255,255,0.92);
  --st-on-dark-muted:  rgba(235,245,235,0.62);
  --st-on-dark-hair:   rgba(235,245,235,0.10);
  --st-on-dark-hair-2: rgba(235,245,235,0.16);
}

/* Scoped reset — only inside .stnav and .drawer to avoid clashing with the rest of the theme */
.stnav *,
.stnav *::before,
.stnav *::after,
.drawer *,
.drawer *::before,
.drawer *::after { box-sizing: border-box; }

.stnav a { text-decoration: none; color: inherit; }
.stnav button,
.drawer button { font: inherit; background: none; border: 0; padding: 0; color: inherit; cursor: pointer; }
.stnav ul,
.drawer ul { list-style: none; margin: 0; padding: 0; }

.stnav .shell,
.switch-topbar .shell {
  width: 100%; max-width: 1440px; margin: 0 auto; padding: 0 32px;
}
@media (max-width: 720px) {
  .stnav .shell,
  .switch-topbar .shell { padding: 0 20px; }
}

/* ============ Buttons ============ */
.stnav .btn,
.drawer .btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  height: 42px;
  padding: 0 18px;
  border-radius: var(--st-r-pill);
  font-family: var(--st-font);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: -0.005em;
  transition: transform .15s ease, background-color .15s ease, color .15s ease, border-color .15s ease;
  cursor: pointer;
  white-space: nowrap;
}
.stnav .btn:hover,
.drawer .btn:hover { transform: translateY(-1px); }
.stnav .btn .arrow,
.drawer .btn .arrow { display: inline-block; transition: transform .2s ease; }
.stnav .btn:hover .arrow,
.drawer .btn:hover .arrow { transform: translateX(3px); }

.stnav .btn--accent,
.drawer .btn--accent { background: var(--st-accent); color: var(--st-ocean); }
.stnav .btn--accent:hover,
.drawer .btn--accent:hover { background: #b6ffa5; }

.stnav .btn--ghost-on-dark,
.drawer .btn--ghost-on-dark {
  color: var(--st-on-dark);
  border: 1px solid var(--st-on-dark-hair-2);
  background: transparent;
}
.stnav .btn--ghost-on-dark:hover,
.drawer .btn--ghost-on-dark:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.28);
}

.stnav .btn--ghost-link {
  height: 42px; padding: 0 4px;
  color: var(--st-on-dark);
  font-weight: 500;
  font-size: 14px;
  border-radius: 0;
  position: relative;
}
.stnav .btn--ghost-link::after {
  content: "";
  height: 1px;
  width: 100%;
  background: var(--st-accent);
  position: absolute; bottom: 12px; left: 0;
  transform: scaleX(0.6);
  transform-origin: left;
  transition: transform .2s ease;
}
.stnav .btn--ghost-link:hover::after { transform: scaleX(1); }

/* ============ NAV CHROME ============ */
.stnav {
  position: sticky; top: 0; z-index: 80;
  background: var(--st-ocean);
  color: var(--st-on-dark);
  border-bottom: 1px solid var(--st-on-dark-hair);
  transition: padding .2s ease;
  font-family: var(--st-font);
}

/* ============ LIGHT THEME ============ */
.stnav--light {
  background: var(--st-paper);
  color: var(--st-ocean);
  border-bottom: 1px solid rgba(3,38,31,0.08);
}
.stnav--light .stnav__brand-logo svg .wordmark { fill: var(--st-ocean); }
.stnav--light .stnav__slash { background: rgba(3,38,31,0.14); }
.stnav--light .switch-lockup__btn { color: var(--st-ocean); }
.stnav--light .switch-lockup__btn:hover { background: rgba(3,38,31,0.05); }
.stnav--light .switch-chip__btn {
  background: rgba(3,38,31,0.04);
  border-color: rgba(3,38,31,0.10);
  color: var(--st-ocean);
}
.stnav--light .switch-chip__btn:hover { background: rgba(3,38,31,0.08); }
.stnav--light .stnav__link { color: var(--st-ocean); opacity: 0.78; }
.stnav--light .stnav__link:hover,
.stnav--light .stnav__link.is-open { opacity: 1; }
.stnav--light .stnav__util a.link { color: var(--st-ocean); opacity: 0.72; }
.stnav--light .stnav__util a.link:hover { opacity: 1; }
.stnav--light .stnav__util .sep { background: rgba(3,38,31,0.12); }
.stnav--light .btn--ghost-on-dark {
  color: var(--st-ocean);
  border-color: rgba(3,38,31,0.18);
}
.stnav--light .btn--ghost-on-dark:hover { background: rgba(3,38,31,0.04); border-color: rgba(3,38,31,0.32); }
.stnav--light .btn--ghost-link { color: var(--st-ocean); }
.stnav--light .btn--ghost-link::after { background: var(--st-leaf); }
.stnav--light .stnav__burger {
  color: var(--st-ocean);
  border-color: rgba(3,38,31,0.14);
}
.stnav--light .stnav__burger:hover { background: rgba(3,38,31,0.04); }

/* Drawer light-theme companion.
   Chained (.drawer.drawer--light) so the light background/text override the
   base .drawer rule, which is declared later in this file and would otherwise
   win the cascade at equal single-class specificity — leaving dark text on a
   dark background and the mobile menu items invisible. */
.drawer.drawer--light {
  background: var(--st-paper);
  color: var(--st-ocean);
}
.drawer--light .drawer__group { border-bottom-color: rgba(3,38,31,0.08); }
.drawer--light .drawer__row { color: var(--st-ocean); }
.drawer--light .drawer__sub a { color: rgba(3,38,31,0.7); }
.drawer--light .drawer__sub a:hover { color: var(--st-ocean); }
.drawer--light .drawer__sub .ico {
  background: rgba(0,167,92,0.10);
  color: var(--st-leaf);
}
.drawer--light .drawer__util-links a { color: rgba(3,38,31,0.6); }
.drawer--light .btn--ghost-on-dark {
  color: var(--st-ocean);
  border-color: rgba(3,38,31,0.18);
}
.drawer--light .btn--ghost-on-dark:hover { background: rgba(3,38,31,0.04); }

.stnav__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: var(--st-nav-h);
  transition: height .2s ease;
}
.stnav.is-compact .stnav__inner { height: var(--st-nav-h-compact); }
.stnav.is-compact .stnav__brand-logo svg { height: 20px; }

.stnav__brand {
  display: flex; align-items: center; gap: 14px;
  flex: 0 0 auto;
}
.stnav__brand-logo { display: flex; align-items: center; }
.stnav__brand-logo svg { height: 24px; width: auto; transition: height .2s ease; }
.stnav__brand-logo svg .wordmark { fill: #ffffff; }
.stnav__brand-logo svg .mark { fill: var(--st-accent); }

.stnav__slash {
  width: 1px; height: 22px;
  background: var(--st-on-dark-hair-2);
  transform: skewX(-18deg);
  flex: 0 0 auto;
}

/* ============ SWITCHER — LOCKUP (default) ============ */
.switch-lockup { position: relative; }
.switch-lockup__btn {
  display: inline-flex; align-items: center; gap: 6px;
  height: 28px;
  padding: 0 8px 0 4px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--st-on-dark);
  border-radius: 8px;
  transition: background-color .15s ease;
}
.switch-lockup__btn:hover { background: rgba(255,255,255,0.06); }
.switch-lockup__btn .chev { width: 12px; height: 12px; opacity: 0.7; transition: transform .2s ease; }
.switch-lockup__btn[aria-expanded="true"] .chev { transform: rotate(180deg); }
.switch-lockup__btn .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--st-accent);
  margin-right: 2px;
}

.switch-flyout {
  position: absolute;
  top: calc(100% + 12px);
  left: -8px;
  min-width: 280px;
  background: var(--st-paper);
  color: var(--st-ocean);
  border-radius: 16px;
  border: 1px solid rgba(3,38,31,0.08);
  box-shadow: 0 24px 40px -12px rgba(3,38,31,0.30);
  padding: 8px;
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity .15s ease, transform .15s ease;
  z-index: 90;
}
.switch-flyout.is-open { opacity: 1; transform: translateY(0); pointer-events: auto; }
.switch-flyout__h {
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(3,38,31,0.5);
  padding: 10px 12px 6px;
}
.switch-flyout__item {
  width: 100%;
  display: grid;
  grid-template-columns: 28px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  text-align: left;
  transition: background-color .15s ease;
  cursor: pointer;
}
.switch-flyout__item:hover { background: rgba(0,167,92,0.06); }
.switch-flyout__item[aria-current="true"] { background: rgba(0,167,92,0.10); }
.switch-flyout__item-ico {
  width: 28px; height: 28px;
  border-radius: 8px;
  background: rgba(0,167,92,0.10);
  color: var(--st-leaf);
  display: inline-flex; align-items: center; justify-content: center;
}
.switch-flyout__item-ico svg { width: 16px; height: 16px; }
.switch-flyout__item-t {
  display: block;
  font-size: 14.5px; font-weight: 600; color: var(--st-ocean);
  line-height: 1.2;
}
.switch-flyout__item-d {
  display: block;
  font-size: 12.5px; color: rgba(3,38,31,0.6);
  margin-top: 2px;
}
.switch-flyout__item-check {
  width: 18px; height: 18px;
  color: var(--st-leaf);
}
.switch-flyout__item-check svg { width: 100%; height: 100%; }

/* ============ PRIMARY LINKS ============ */
.stnav__links {
  display: flex; align-items: center; justify-content: center; gap: 26px;
  flex: 1 1 auto;
}
.stnav__link {
  position: relative;
  display: inline-flex; align-items: center; gap: 4px;
  height: var(--st-nav-h);
  font-family: var(--st-font);
  font-size: 14.5px;
  font-weight: 500;
  color: var(--st-on-dark);
  opacity: 0.86;
  letter-spacing: -0.005em;
  transition: opacity .15s ease, height .2s ease;
  cursor: pointer;
}
.stnav.is-compact .stnav__link { height: var(--st-nav-h-compact); }
.stnav__link:hover, .stnav__link.is-open { opacity: 1; }
.stnav__link.is-open::after,
.stnav__link.is-active::after {
  content: "";
  position: absolute; left: 0; right: 0;
  bottom: 16px;
  height: 2px;
  background: var(--st-accent);
  border-radius: 2px;
}

.stnav .chev {
  width: 12px; height: 12px;
  flex-shrink: 0;
  transition: transform .2s ease;
}
.stnav__link.is-open .chev { transform: rotate(180deg); }
.drawer .drawer__row .chev { width: 18px; height: 18px; }

/* ============ UTILITY + CTA CLUSTER ============ */
.stnav__util {
  display: flex; align-items: center; gap: 16px;
  flex: 0 0 auto;
}
.stnav__util-links {
  display: flex; align-items: center; gap: 16px;
}
.stnav__util a.link {
  font-size: 13.5px; font-weight: 500;
  color: var(--st-on-dark);
  opacity: 0.78;
  white-space: nowrap;
  transition: opacity .15s ease;
}
.stnav__util a.link:hover { opacity: 1; }
.stnav__util .sep {
  width: 1px; height: 18px;
  background: var(--st-on-dark-hair);
}

@media (max-width: 980px) {
  .stnav__links,
  .stnav__util .desktop-only,
  .stnav__util-links.desktop-only { display: none; }
  /* With primary links + util/CTA links hidden, push the util cluster
     (now just the burger) to the right edge of the nav. */
  .stnav__util { margin-left: auto; }
}

/* ============ MEGA MENU ============ */
.stnav__menu-host { position: relative; }
.stnav__menu-host--mega { position: static; }

.megamenu {
  position: absolute;
  top: 100%; left: 0; right: 0;
  background: var(--st-paper);
  color: var(--st-ocean);
  border-top: 1px solid rgba(3,38,31,0.08);
  box-shadow: 0 30px 50px -20px rgba(3,38,31,0.30);
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
  z-index: 90;
}
.megamenu.is-open { opacity: 1; transform: translateY(0); pointer-events: auto; }
.megamenu__inner {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 56px;
  padding: 40px 32px 44px;
  max-width: 1440px;
  margin: 0 auto;
}
.mega__cols { display: grid; gap: 40px; }
.mega__cols--2 { grid-template-columns: 1fr 1fr; }
.mega__cols--3 { grid-template-columns: 1fr 1fr 1fr; }

.mega__col-h {
  font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(3,38,31,0.5);
  margin: 0 0 18px;
}
.mega__items { display: grid; gap: 4px; }
.mega__item {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  align-items: start;
  transition: background-color .15s ease;
}
.mega__item:hover { background: rgba(0,167,92,0.06); }
.mega__icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: rgba(0,167,92,0.10);
  color: var(--st-leaf);
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.mega__icon svg { width: 18px; height: 18px; }
.mega__title {
  font-size: 14.5px; font-weight: 600; color: var(--st-ocean);
  line-height: 1.25;
  display: flex; align-items: center; gap: 6px;
}
.mega__title .arr {
  opacity: 0; transform: translateX(-4px);
  transition: opacity .15s ease, transform .15s ease;
}
.mega__item:hover .mega__title .arr { opacity: 1; transform: translateX(0); }
.mega__desc {
  font-size: 13px;
  color: rgba(3,38,31,0.62);
  margin-top: 3px;
  line-height: 1.5;
}

/* Splitter mega — Corporate › Products */
.mega__split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.split-card {
  position: relative;
  display: block;
  padding: 24px;
  border-radius: 18px;
  border: 1px solid rgba(3,38,31,0.08);
  background: var(--st-frost);
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}
.split-card:hover { transform: translateY(-2px); box-shadow: 0 12px 28px -16px rgba(3,38,31,0.25); }
.split-card--dark {
  background: linear-gradient(140deg, var(--st-emerald), var(--st-ocean));
  color: var(--st-frost);
  border-color: transparent;
}
.split-card__eyebrow {
  font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--st-leaf);
  margin-bottom: 10px;
}
.split-card--dark .split-card__eyebrow { color: var(--st-accent); }
.split-card__h {
  font-size: 22px; font-weight: 500; margin: 0 0 6px;
  letter-spacing: -0.015em;
}
.split-card__p {
  font-size: 13.5px;
  color: rgba(3,38,31,0.62);
  margin: 0 0 16px;
  line-height: 1.5;
}
.split-card--dark .split-card__p { color: rgba(235,245,235,0.72); }
.split-card__cta {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13.5px; font-weight: 600;
  color: var(--st-leaf);
}
.split-card--dark .split-card__cta { color: var(--st-accent); }
.split-card__glyph {
  position: absolute;
  right: -10px; bottom: -10px;
  width: 90px; height: 90px;
  opacity: 0.18;
}
.split-card--dark .split-card__glyph { opacity: 0.22; }

.mega__feature {
  background: var(--st-frost);
  border: 1px solid rgba(0,167,92,0.18);
  border-radius: 18px;
  padding: 24px;
  display: flex; flex-direction: column;
  justify-content: space-between;
  min-height: 220px;
  position: relative;
  overflow: hidden;
}
.mega__feature--dark {
  background: linear-gradient(150deg, var(--st-emerald), var(--st-ocean) 110%);
  border-color: transparent;
  color: var(--st-frost);
}
.mega__feature__eyebrow {
  font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--st-leaf);
}
.mega__feature--dark .mega__feature__eyebrow { color: var(--st-accent); }
.mega__feature__h {
  font-size: 19px; font-weight: 500; line-height: 1.18;
  letter-spacing: -0.012em;
  margin: 10px 0 14px;
  text-wrap: balance;
}
.mega__feature__cta {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13.5px; font-weight: 600;
  color: var(--st-ocean);
  padding: 10px 14px;
  background: var(--st-accent);
  border-radius: 999px;
  align-self: flex-start;
  transition: filter .15s ease;
}
.mega__feature__cta:hover { filter: brightness(1.06); }
.mega__feature__bg {
  position: absolute;
  right: -40px; top: -30px;
  width: 200px; height: 200px;
  opacity: 0.10;
  pointer-events: none;
}
.mega__feature--dark .mega__feature__bg { opacity: 0.16; }

@media (max-width: 1100px) {
  .megamenu__inner { grid-template-columns: 1fr; gap: 28px; }
  .mega__feature { min-height: 0; }
}
@media (max-width: 820px) {
  .mega__split { grid-template-columns: 1fr; }
  .mega__cols--2 { grid-template-columns: 1fr; }
}

/* ============ NAV DROPDOWN ============ */
.navdrop {
  position: absolute;
  top: calc(100% - 4px);
  left: 0;
  min-width: 300px;
  background: var(--st-paper);
  color: var(--st-ocean);
  border: 1px solid rgba(3,38,31,0.08);
  border-radius: 16px;
  box-shadow: 0 24px 40px -12px rgba(3,38,31,0.30);
  padding: 8px;
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity .15s ease, transform .15s ease;
  z-index: 95;
}
.navdrop.is-open { opacity: 1; transform: translateY(0); pointer-events: auto; }
.navdrop[data-align="right"] { left: auto; right: 0; }

.navdrop__items { display: grid; gap: 2px; }
.navdrop__item {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  align-items: start;
  transition: background-color .15s ease;
  outline: none;
}
.navdrop__item:hover,
.navdrop__item:focus-visible { background: rgba(0,167,92,0.06); }
.navdrop__item:focus-visible { box-shadow: 0 0 0 2px rgba(0,167,92,0.30) inset; }
.navdrop__item.is-muted { opacity: 0.55; pointer-events: none; }
.navdrop__icon {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: rgba(0,167,92,0.10);
  color: var(--st-leaf);
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.navdrop__icon svg { width: 16px; height: 16px; }
.navdrop__title {
  display: block;
  font-size: 14px; font-weight: 600; color: var(--st-ocean);
  line-height: 1.25;
}
.navdrop__desc {
  display: block;
  font-size: 12.5px; color: rgba(3,38,31,0.6);
  margin-top: 2px;
  line-height: 1.45;
}

/* ============ MOBILE BURGER + DRAWER ============ */
.stnav__burger {
  display: none;
  width: 38px; height: 38px;
  align-items: center; justify-content: center;
  border-radius: 999px;
  border: 1px solid var(--st-on-dark-hair-2);
  color: var(--st-on-dark);
  margin-left: auto;
}
.stnav__burger:hover { background: rgba(255,255,255,0.06); }
.stnav__burger svg { width: 20px; height: 20px; }
@media (max-width: 980px) { .stnav__burger { display: inline-flex; } }

.drawer {
  position: fixed;
  top: var(--st-nav-h); left: 0; right: 0; bottom: 0;
  background: var(--st-ocean);
  color: var(--st-on-dark);
  z-index: 75;
  padding: 24px;
  overflow-y: auto;
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
  font-family: var(--st-font);
}
.drawer.is-open { opacity: 1; transform: translateY(0); pointer-events: auto; }
.drawer__group { border-bottom: 1px solid var(--st-on-dark-hair); }
.drawer__row {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 8px;
  font-size: 17px;
  font-weight: 500;
  color: var(--st-on-dark);
  text-align: left;
}
/* Dropdown rows are <button>; the scoped ".drawer button" reset (padding:0;
   font:inherit) outranks .drawer__row and collapses their spacing + shrinks the
   label. Re-assert padding + font at higher specificity so button rows match
   the <a> rows. (color is intentionally left to the existing rules.) */
.drawer button.drawer__row { padding: 18px 8px; font-size: 17px; font-weight: 500; }
.drawer__row[aria-expanded="true"] .chev { transform: rotate(180deg); }
.drawer__sub {
  display: none;
  gap: 4px; padding: 0 8px 16px;
}
.drawer__sub.is-open { display: grid; }
.drawer__sub a {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 0;
  font-size: 15px;
  color: var(--st-on-dark-muted);
}
.drawer__sub a:hover { color: var(--st-on-dark); }
.drawer__sub .ico {
  width: 28px; height: 28px;
  border-radius: 8px;
  background: rgba(255,255,255,0.05);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--st-accent);
}
.drawer__util {
  display: flex; flex-direction: column; gap: 10px;
  padding: 22px 8px 12px;
}
.drawer__util .btn { width: 100%; }
.drawer__util-links { display: flex; gap: 14px; padding-top: 10px; }
.drawer__util-links a { color: var(--st-on-dark-muted); font-size: 14px; }

@media (prefers-reduced-motion: reduce) {
  .stnav, .stnav *, .drawer, .drawer *, .megamenu, .navdrop, .switch-flyout {
    transition: none !important;
    animation: none !important;
  }
}

/* ============================================================
   FIDELITY PATCHES — 2026-05-25
   Specificity boosts to defeat theme/Elementor CSS cascade.
   Root cause: `.stnav a { color: inherit }` (0,1,1) was beating
   `.split-card--dark { color: frost }` (0,1,0) and
   `.mega__feature__cta { color: ocean }` (0,1,0).
   Also `.stnav button { font-size: inherit }` (0,1,1) was beating
   `.stnav__link { font-size: 14.5px }` (0,1,0), making nav buttons
   inherit 16px body text instead of 14.5px link size.
   ============================================================ */

/* Bug 1 — Dark splitter card text colors.
   The card is an <a>, so `.stnav a { color: inherit }` wins over
   `.split-card--dark { color: frost }`. Boost to (0,2,1). */
.stnav a.split-card--dark {
  color: var(--st-frost);
}
.stnav .split-card--dark .split-card__h {
  color: var(--st-frost);
}
.stnav .split-card--dark .split-card__p {
  color: rgba(235, 245, 235, 0.72);
}
/* Glyph SVG uses currentColor stroke — anchor it explicitly so the
   bot icon is visible against the dark gradient. */
.stnav .split-card--dark .split-card__glyph,
.stnav .split-card--dark .split-card__glyph svg {
  color: var(--st-frost);
}

/* Bug 2 — Feature-card CTA pill.
   Lime pill needs ocean text for contrast. `.stnav a` was forcing
   `color: inherit` which inherited frost from the dark feature parent.
   Boost specificity to beat `.stnav a`. Light variant gets the same
   treatment so it stays ocean too. */
.stnav .mega__feature .mega__feature__cta,
.stnav .mega__feature--dark .mega__feature__cta {
  color: var(--st-ocean);
}

/* Bug 3 — Nav button (chevron items) font sizing.
   `.stnav button { font-size: inherit; font-weight: inherit }` was
   beating `.stnav__link { font-size: 14.5px; font-weight: 500 }`
   because (0,1,1) > (0,1,0). Re-assert via `button.stnav__link`. */
.stnav button.stnav__link {
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1.4;
  font-family: var(--st-font);
}
/* Spacing between chevron and label */
.stnav .stnav__link .chev {
  margin-left: 6px;
}

/* Bug 4 — Switcher flyout density.
   `.switch-flyout__item` is a <button>; theme/Elementor button reset
   wipes the rule's `padding: 10px 12px` (item rendered at 54px tall
   vs design's 71px). `.switch-flyout__item-d` inherits the theme
   body line-height (1.4 → 17.5px) instead of design's `normal`
   (~14.8px). Re-assert via `button.switch-flyout__item`. */
.stnav button.switch-flyout__item {
  padding: 10px 12px;
  gap: 12px;
}
.stnav .switch-flyout__item-t {
  line-height: 1.2;
}
.stnav .switch-flyout__item-d {
  line-height: normal;
}

/* Bug 5 — Switcher flyout items blend when adjacent items are both
   highlighted (e.g. current + hover). Add a small gap between
   consecutive items via adjacent-sibling margin so the tinted
   backgrounds don't visually merge. No margin above the first item
   (header sits there) or below the last (flyout's own padding handles it). */
.stnav .switch-flyout__item + .switch-flyout__item {
  margin-top: 4px;
}

/* ---------------------------------------------------------------------------
 * Sticky nav fix in Elementor pages.
 *
 * Elementor wraps every widget in `.elementor-widget-container` and applies
 * a CSS `transform` (even when the variable values are 0). A non-`none`
 * transform on an ancestor establishes a new containing block, which breaks
 * `position: sticky` on `.stnav` -- the nav scrolls away with the page.
 *
 * Override: remove transforms + force overflow:visible on the section/column/
 * widget-container that wraps `.stnav` so the sticky chain reaches the viewport.
 * ------------------------------------------------------------------------- */
.elementor-section:has(.stnav),
.elementor-section:has(.stnav) > .elementor-container,
.elementor-section:has(.stnav) .elementor-column,
.elementor-section:has(.stnav) .elementor-widget-wrap,
.elementor-section:has(.stnav) .elementor-widget,
.elementor-section:has(.stnav) .elementor-widget-container {
  transform: none !important;
  overflow: visible !important;
}

/* Rollout: plain sticky — no compact shrink (web3-nav.js still toggles .is-compact; pin it). */
.stnav.is-compact .stnav__inner { height: var(--st-nav-h, 72px); }
.stnav.is-compact .stnav__brand-logo svg { height: 24px; }
.stnav.is-compact .stnav__link { height: var(--st-nav-h, 72px); }
/* Guard against ancestor clipping when injected via the header template */
#st-header, .site-header { overflow: visible; }
