/* site.css — Stage J "Global Campus" shared component layer (PUBLIC_UI_DESIGN.md).
   Loaded on every page after tokens.css, before the per-page sheets.

   ADDITIVE BY DESIGN: everything here is namespaced .sj-* (plus two global
   motion policies at top and bottom), so legacy sheets keep styling
   un-migrated pages untouched until their Stage J phase rewrites them.
   Component recipes: buttons, cards, section bands/heads, reveal states,
   hero geometry + scrim, Ken Burns. JS counterparts live in js/site.js. */

/* ---------- global motion policy (top) ---------- */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

/* ---------- base (J2) ----------
   TRANSITIONAL universal font rule, moved verbatim from the retired
   css/partials/navbar.css: legacy sheets were authored against it (it also
   pins weight 400 site-wide — bold rendering on old pages depends on it).
   Every .sj-* component overrides it by specificity. Deleted in J6 once the
   last legacy sheet is rewritten. */
* { font-family: var(--sj-font-body); font-weight: 400; }
body { margin: 0; color: var(--sj-ink); }

:root { --sj-nav-h: 110px; } /* K1 two-tier: 36px strip + 74px main bar */
@media (max-width: 768px) { :root { --sj-nav-h: 64px; } } /* strip hidden on mobile */

/* ---------- section bands ---------- */
.sj-section { padding: var(--sj-sec-pad) 0; background: var(--sj-white); }
.sj-section--paper { background: var(--sj-paper); }
.sj-section--navy { background: var(--sj-navy-dark); color: #fff; }

/* ---------- eyebrow + section head (mirrors the admin Prospectus gold bar) ---------- */
.sj-eyebrow {
  display: block;
  font-family: var(--sj-font-body);
  font-size: 12px; font-weight: 700; line-height: 1;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--sj-gold-ink);
  margin-bottom: 12px;
}
.sj-section--navy .sj-eyebrow { color: var(--sj-gold); }

.sj-sec-head { margin-bottom: 42px; }
.sj-sec-head h2 {
  font-family: var(--sj-font-head); font-weight: 400;
  font-size: var(--sj-fs-h2); line-height: 1.15;
  color: var(--sj-navy-dark); margin: 0;
}
.sj-sec-head h2::after {
  content: ""; display: block;
  width: 44px; height: 4px; border-radius: 2px;
  background: var(--sj-gold); margin-top: 14px;
}
.sj-sec-head .sj-lead {
  font-family: var(--sj-font-body); font-size: var(--sj-fs-lead);
  line-height: 1.7; color: var(--sj-ink-soft);
  max-width: 72ch; margin: 18px 0 0;
}
.sj-sec-head--center { text-align: center; }
.sj-sec-head--center h2::after { margin-left: auto; margin-right: auto; }
.sj-sec-head--center .sj-lead { margin-left: auto; margin-right: auto; }
.sj-section--navy .sj-sec-head h2 { color: #fff; }
.sj-section--navy .sj-sec-head .sj-lead { color: rgba(255, 255, 255, .78); }

/* ---------- the ONE button system ---------- */
.sj-btn {
  display: inline-block;
  font-family: var(--sj-font-body); font-size: 15px; font-weight: 600; line-height: 1;
  padding: 13px 28px; border-radius: var(--sj-r-btn);
  border: 1.5px solid transparent;
  text-decoration: none; cursor: pointer; text-align: center;
  transition: background var(--sj-t-fast) ease, color var(--sj-t-fast) ease,
              filter var(--sj-t-fast) ease, transform var(--sj-t-fast) ease,
              box-shadow var(--sj-t-fast) ease, border-color var(--sj-t-fast) ease;
}
.sj-btn:active { transform: scale(.98); }
.sj-btn:focus-visible { outline: 3px solid var(--sj-navy); outline-offset: 2px; }
.sj-section--navy .sj-btn:focus-visible { outline-color: var(--sj-gold); }

.sj-btn--navy { background: var(--sj-grad-brand); color: #fff; }
.sj-btn--navy:hover { filter: brightness(1.12); color: #fff; transform: translateY(-2px); box-shadow: var(--sj-shadow-1); }

.sj-btn--gold { background: var(--sj-gold); color: var(--sj-navy-dark); }
.sj-btn--gold:hover { background: #f2cc00; color: var(--sj-navy-dark); transform: translateY(-2px); box-shadow: var(--sj-shadow-1); }

.sj-btn--ghost { border-color: var(--sj-navy); color: var(--sj-navy); background: transparent; }
.sj-btn--ghost:hover { background: var(--sj-navy); color: #fff; }
.sj-section--navy .sj-btn--ghost,
.sj-on-dark .sj-btn--ghost { border-color: rgba(255, 255, 255, .75); color: #fff; }
.sj-section--navy .sj-btn--ghost:hover,
.sj-on-dark .sj-btn--ghost:hover { background: #fff; color: var(--sj-navy-dark); }

.sj-btn--sm { font-size: 14px; padding: 10px 20px; }

/* ---------- chips ---------- */
.sj-chip {
  display: inline-block;
  font-family: var(--sj-font-body); font-size: 12px; font-weight: 700;
  letter-spacing: .6px; text-transform: uppercase;
  color: var(--sj-gold-ink); background: var(--sj-gold-soft);
  border-radius: var(--sj-r-chip); padding: 5px 14px;
}

/* ---------- cards ---------- */
.sj-card {
  background: #fff;
  border: 1px solid var(--sj-line-cool);
  border-radius: var(--sj-r-card);
  box-shadow: var(--sj-shadow-1);
  overflow: hidden;
  transition: transform var(--sj-t-med) var(--sj-ease), box-shadow var(--sj-t-med) var(--sj-ease);
}
.sj-card:hover, .sj-card:focus-within { transform: translateY(-6px); box-shadow: var(--sj-shadow-2); }
.sj-card:focus-within { outline: 3px solid var(--sj-navy); outline-offset: 2px; }

.sj-card-media { position: relative; overflow: hidden; background: var(--sj-navy-dark); }
.sj-card-media--4x3 { aspect-ratio: 4 / 3; }
.sj-card-media--16x9 { aspect-ratio: 16 / 9; }
.sj-card-media img {
  display: block; width: 100%; height: 100%; object-fit: cover;
  transition: transform var(--sj-t-med) var(--sj-ease);
}
.sj-card:hover .sj-card-media img { transform: scale(1.06); }

.sj-card-body { padding: 20px 22px 22px; }
.sj-card-body h3 {
  font-family: var(--sj-font-head); font-weight: 400;
  font-size: 20px; line-height: 1.25;
  color: var(--sj-navy-dark); margin: 0 0 6px;
}
.sj-card-body p {
  font-family: var(--sj-font-body); font-size: var(--sj-fs-small);
  line-height: 1.65; color: var(--sj-ink-soft); margin: 0;
}

/* ---------- one-time scroll reveals (sjRevealIO) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .sj-reveal {
    opacity: 0; transform: translateY(26px);
    transition: opacity .7s var(--sj-ease), transform .7s var(--sj-ease);
  }
  .sj-reveal.sj-in { opacity: 1; transform: none; }
}

/* ---------- hero system (shared geometry — adopted by hero.php from J3) ---------- */
/* The N6 uniform-geometry guarantee lives HERE and only here: ≥901px every
   slide box is 16:9 regardless of the photo; <901px the shipped fixed height
   crops instead of stretching. The 901px boundary is load-bearing. */
.sj-hero .carousel-item { position: relative; overflow: hidden; }
.sj-hero .carousel-item::before {
  content: ""; position: absolute; inset: 0;
  background: var(--sj-veil); z-index: 1;
}
.sj-hero .carousel-item img { display: block; width: 100%; object-fit: cover; }
/* K1 geometry (owner UX decision): the HOME hero is CAPPED so the next
   section always peeks below; every slide shares the same box (the N6
   uniform guarantee) and over-tall photos centre-crop, never grow. */
.sj-hero--hero .carousel-item img { height: min(56.25vw, 62vh); }
@media (max-width: 900px) {
  .sj-hero--hero .carousel-item img { height: min(500px, 62vh); }
}
/* K1 banner variant: the slim page-title strip every inner page leads with.
   Still cross-fades ALL admin-managed slides — nothing is orphaned. */
.sj-hero--banner .carousel-item img { height: clamp(240px, 36vh, 400px); }
.sj-hero--banner .carousel-indicators,
.sj-hero--banner .carousel-control-prev,
.sj-hero--banner .carousel-control-next { display: none; }
/* three-class selector: must OUT-SPECIFY the later `.sj-hero .carousel-caption`
   position rules (equal two-class specificity would lose on source order).
   The transparent navbar overlays the banner, so the caption centers in the
   VISIBLE area below it: offset = half the nav height (110px desktop tier). */
.sj-hero.sj-hero--banner .carousel-caption { top: calc(50% + 55px); transform: translateY(-50%); bottom: auto; }
/* K5: distinct banner heading (owner: Home keeps its style; inner pages get
   their own) — uppercase letterspaced Fjalla over a small gold rule, with an
   uppercase Manrope sub-label. */
.sj-hero--banner .sj-hero-title {
  font-size: clamp(22px, 3vw, 36px);
  text-transform: uppercase;
  letter-spacing: 3px;
}
.sj-hero--banner .sj-hero-title::after {
  content: ""; display: block;
  width: 36px; height: 3px; border-radius: 2px;
  background: var(--sj-gold); margin: 12px auto 0;
}
.sj-hero--banner .sj-hero-flourish {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: clamp(11px, 1.2vw, 13px);
  color: rgba(255, 255, 255, .85);
  margin-top: 10px;
}
.sj-hero--banner .sj-hero-btnwrap { margin-top: 14px; }
/* K5: the transparent navbar sits OVER the banner — on phones the caption
   must clear it (taller banner + caption nudged below true center). */
@media (max-width: 768px) {
  .sj-hero--banner .carousel-item img { height: 300px; }
  .sj-hero.sj-hero--banner .carousel-caption { top: calc(50% + 32px); } /* mobile nav = 64px */
}

/* scroll cue (hero variant only): a soft bouncing chevron above the fold */
.sj-hero-cue {
  position: absolute; left: 50%; bottom: 20px; z-index: 11;
  width: 22px; height: 22px; margin-left: -11px;
  border-right: 3px solid rgba(255, 255, 255, .85);
  border-bottom: 3px solid rgba(255, 255, 255, .85);
  transform: rotate(45deg);
  pointer-events: none;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .4));
}
@keyframes sj-cue {
  0%, 100% { transform: translateY(0) rotate(45deg); opacity: .85; }
  50%      { transform: translateY(8px) rotate(45deg); opacity: .4; }
}
@media (prefers-reduced-motion: no-preference) {
  .sj-hero-cue { animation: sj-cue 1.8s ease-in-out infinite; }
}
/* K4: once the visitor scrolls, the cue has done its job (sjNavScroll). */
.sj-hero-cue.hide { animation: none; opacity: 0; transition: opacity .3s ease; }
@keyframes sj-kenburns {
  from { transform: scale(1) translate(0, 0); }
  to   { transform: scale(1.06) translate(1.2%, .8%); }
}
@media (prefers-reduced-motion: no-preference) {
  .sj-hero--motion .carousel-item.active img { animation: sj-kenburns 7s var(--sj-ease) forwards; }
}

/* hero caption: bold Fjalla title over a clean Manrope sub-line (K1 — the
   script flourish is retired). Caption z-index:10 from the tokens.css patch. */
.sj-hero .carousel-caption { top: 32%; bottom: auto; }
.sj-hero-title {
  font-family: var(--sj-font-head); font-weight: 400;
  font-size: clamp(30px, 4.5vw, 56px); line-height: 1.1;
  letter-spacing: .5px; color: #fff; margin: 0;
  text-shadow: 0 2px 18px rgba(0, 0, 0, .35);
}
.sj-hero-flourish {
  font-family: var(--sj-font-body); font-weight: 600;
  font-size: clamp(13px, 1.4vw, 17px); line-height: 1.5;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, .92); margin: 12px 0 0;
}
.sj-hero-btnwrap { display: inline-block; margin-top: 22px; text-decoration: none; }
@media (max-width: 600px) {
  .sj-hero .carousel-caption { top: 24%; }
  .sj-hero-btnwrap { margin-top: 14px; }
}

/* strip variant: a plain content carousel — no veil, no caption */
.sj-hero--strip .carousel-item::before { content: none; }

/* slim indicators + soft controls */
.sj-hero .carousel-indicators [data-bs-target] {
  width: 26px; height: 4px; border-radius: 2px;
  background: #fff; opacity: .45; border: 0;
  transition: opacity var(--sj-t-fast) ease, background var(--sj-t-fast) ease;
}
.sj-hero .carousel-indicators .active { background: var(--sj-gold); opacity: 1; }
.sj-hero .carousel-control-prev-icon, .sj-hero .carousel-control-next-icon {
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .45));
}

/* ---------- navigation (K1: two-tier international) ---------- */
/* .sj-navhead is the fixed-top wrapper: navy utility strip + white main bar.
   sjNavScroll toggles .sj-scrolled on it; $sjNavOverlay adds .sj-nav--overlay. */
.sj-navhead { transition: box-shadow var(--sj-t-fast) ease; }
.sj-navhead.sj-scrolled { box-shadow: 0 6px 18px rgba(18, 35, 63, .10); }

.sj-nav-strip {
  background: var(--sj-navy-dark);
  color: rgba(255, 255, 255, .85);
  font-family: var(--sj-font-body);
  font-size: 12.5px; font-weight: 600;
}
.sj-nav-strip-inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 36px; padding: 4px 22px; gap: 14px;
}
.sj-nav-strip-contacts { display: flex; align-items: center; gap: 24px; }
.sj-nav-strip-contacts i { color: var(--sj-gold); margin-right: 6px; font-size: 11px; }
.sj-nav-strip-contacts a { color: rgba(255, 255, 255, .85); text-decoration: none; transition: color var(--sj-t-fast) ease; }
.sj-nav-strip-contacts a:hover { color: var(--sj-gold); }
.sj-nav-strip-cta {
  background: var(--sj-gold); color: var(--sj-navy-dark);
  font-size: 11.5px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase;
  border-radius: 4px; padding: 5px 14px; text-decoration: none; white-space: nowrap;
  transition: background var(--sj-t-fast) ease;
}
.sj-nav-strip-cta:hover { background: #f2cc00; color: var(--sj-navy-dark); }
@media (max-width: 768px) { .sj-nav-strip { display: none; } }

.sj-nav {
  background: #fff;
  border-bottom: 1px solid var(--sj-line-cool);
  padding: 0;
  transition: background var(--sj-t-fast) ease, border-color var(--sj-t-fast) ease;
}
.sj-nav-inner { min-height: 74px; padding: 5px 22px; }
.sj-nav-spacer { height: calc(var(--sj-nav-h) + 2px); } /* +2: nav border + rounding — measured */

.sj-nav-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; padding: 0; margin: 0; }
/* K10: bigger crest (sized to still clear the 74px main bar — the brand's
   default Bootstrap padding is stripped above so the bar height holds) */
.sj-nav-brand img { width: 52px; height: 62px; }
/* K9/K10: the st.png wordmark (400×70) with the address line stacked under it;
   the higher-specificity selector frees the wordmark from the crest sizing. */
.sj-nav-name { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; }
.sj-nav-brand .sj-nav-wordmark { width: auto; height: 30px; display: block; }
.sj-nav-name small {
  font-family: var(--sj-font-body); font-size: 10.5px; font-weight: 700;
  letter-spacing: 1.4px; text-transform: uppercase;
  color: var(--sj-ink-soft); line-height: 1;
}
@media (max-width: 576px) {
  .sj-nav-brand img { width: 42px; height: 50px; }
  .sj-nav-brand .sj-nav-wordmark { width: auto; height: 22px; }
  .sj-nav-name small { font-size: 8.5px; letter-spacing: 1px; }
}

.sj-nav-desk { align-items: center; gap: 2px; margin-left: auto; }
.sj-nav .nav-link {
  font-family: var(--sj-font-body); font-size: 13px; font-weight: 700;
  letter-spacing: 1.2px; text-transform: uppercase;
  color: var(--sj-ink); padding: 10px 13px; position: relative;
  transition: color var(--sj-t-fast) ease;
}
.sj-nav .nav-link:hover, .sj-nav .nav-link:focus-visible, .sj-nav .nav-link.show { color: var(--sj-gold-ink); }
.sj-nav .nav-link.on { color: var(--sj-navy); }
/* K4: the active underline lives on ::before — Bootstrap's dropdown CARET
   owns ::after, so active groups keep their arrow. */
.sj-nav .nav-link.on::before {
  content: ""; position: absolute; left: 13px; right: 13px; bottom: 2px;
  height: 2px; border-radius: 1px; background: var(--sj-gold);
}
/* K4: no browser focus box on mouse clicks; keyboard users get a clean gold
   ring instead of the UA blue rectangle. */
.sj-nav .nav-link:focus { outline: none; }
.sj-nav .nav-link:focus-visible {
  outline: 2px solid var(--sj-gold);
  outline-offset: 3px;
  border-radius: 4px;
}
.sj-nav .navbar-toggler { border-color: var(--sj-line-cool); }
.sj-nav .navbar-toggler:focus { box-shadow: 0 0 0 3px rgba(43, 75, 138, .3); }

/* mega panels (Bootstrap Dropdown, restyled) */
.sj-nav .sj-mega {
  border: 1px solid var(--sj-line-cool); border-radius: 14px;
  box-shadow: var(--sj-shadow-2); padding: 12px; margin-top: 10px; min-width: 250px;
}
.sj-nav .sj-mega .dropdown-item {
  font-family: var(--sj-font-body); font-size: 14.5px; font-weight: 500;
  color: var(--sj-ink); border-radius: 8px; padding: 9px 12px; white-space: nowrap;
}
.sj-nav .sj-mega .dropdown-item:hover, .sj-nav .sj-mega .dropdown-item:focus {
  background: var(--sj-paper); color: var(--sj-navy);
}
.sj-nav .sj-mega .dropdown-item.on { background: var(--sj-gold-soft); color: var(--sj-navy); font-weight: 700; }
.sj-nav .sj-mega--2col { min-width: 480px; }
.sj-nav .sj-mega--2col.show { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 10px; }
/* K4: the LAST TWO groups open right-aligned so their panels never overflow
   the viewport edge. */
.sj-nav .navbar-nav .nav-item:nth-last-child(-n+2) .dropdown-menu { left: auto; right: 0; }

/* overlay state: the MAIN bar starts transparent over the page hero (the
   strip stays solid navy) and settles to white after 40px (sjNavScroll). */
.sj-nav--overlay:not(.sj-scrolled) .sj-nav { background: transparent; border-bottom-color: transparent; }
/* K9: over a photo the navy wordmark would vanish — render it as a clean
   white silhouette until the bar settles to solid white. */
.sj-nav--overlay:not(.sj-scrolled) .sj-nav-wordmark {
  filter: brightness(0) invert(1) drop-shadow(0 1px 6px rgba(0, 0, 0, .35));
}
.sj-nav--overlay:not(.sj-scrolled) .sj-nav-name small { color: rgba(255, 255, 255, .85); }
.sj-nav--overlay:not(.sj-scrolled) .nav-link { color: #fff; }
.sj-nav--overlay:not(.sj-scrolled) .nav-link:hover,
.sj-nav--overlay:not(.sj-scrolled) .nav-link.show { color: var(--sj-gold); }
.sj-nav--overlay:not(.sj-scrolled) .nav-link.on { color: var(--sj-gold); }
.sj-nav--overlay:not(.sj-scrolled) .navbar-toggler { border-color: rgba(255, 255, 255, .5); }
.sj-nav--overlay:not(.sj-scrolled) .navbar-toggler-icon { filter: invert(1) brightness(2); }

/* mobile drawer (Bootstrap Offcanvas) */
.sj-drawer { width: 320px; }
.sj-drawer .offcanvas-header { border-bottom: 1px solid var(--sj-line-cool); }
.sj-drawer-link, .sj-drawer-group {
  display: block; width: 100%; text-align: left; background: none; border: 0;
  border-bottom: 1px solid var(--sj-line-cool);
  font-family: var(--sj-font-body); font-size: 16px; font-weight: 600;
  color: var(--sj-ink); padding: 14px 4px; text-decoration: none;
  cursor: pointer; position: relative;
}
.sj-drawer-caret {
  position: absolute; right: 10px; top: 50%; width: 9px; height: 9px;
  border-right: 2px solid var(--sj-ink-soft); border-bottom: 2px solid var(--sj-ink-soft);
  transform: translateY(-70%) rotate(45deg);
  transition: transform var(--sj-t-fast) ease;
}
.sj-drawer-group[aria-expanded="true"] .sj-drawer-caret { transform: translateY(-30%) rotate(-135deg); }
.sj-drawer-sublink {
  display: block; font-family: var(--sj-font-body); font-size: 15px; font-weight: 500;
  color: var(--sj-ink-soft); padding: 11px 4px 11px 20px; text-decoration: none;
  border-bottom: 1px solid var(--sj-paper);
}
.sj-drawer-sublink:hover { color: var(--sj-navy); }
.sj-drawer-cta { display: block; margin-top: 20px; }

/* ---------- admissions band (jumbotron v2, J2) ---------- */
.sj-band {
  background: var(--sj-grad-brand);
  border-top: 4px solid var(--sj-gold);
  padding: clamp(48px, 6vw, 76px) 0;
  text-align: center;
}
.sj-band h2 {
  font-family: var(--sj-font-head); font-weight: 400;
  font-size: var(--sj-fs-h2); color: #fff; margin: 0 0 10px;
}
.sj-band p {
  font-family: var(--sj-font-body); font-size: var(--sj-fs-lead);
  color: rgba(255, 255, 255, .85); margin: 0 0 26px;
}

/* ---------- floating quick actions (J2) ---------- */
.sj-fab {
  position: fixed; right: 24px; bottom: 28px; z-index: 1035;
  display: flex; flex-direction: column; align-items: flex-end; gap: 12px;
}
.sj-fab-cta { box-shadow: var(--sj-shadow-2); }
.sj-fab-cta i { margin-right: 7px; }
.sj-fab-wa {
  display: flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: 50%;
  background: #25d366; color: #fff; font-size: 26px;
  box-shadow: var(--sj-shadow-2); text-decoration: none;
  transition: transform var(--sj-t-fast) ease;
}
.sj-fab-wa:hover { transform: translateY(-3px); color: #fff; }
@media (max-width: 576px) {
  .sj-fab { right: 14px; bottom: 18px; }
  .sj-fab-cta { font-size: 13px; padding: 11px 16px; }
}
@media print { .sj-fab, .sj-nav, .scroll-btn { display: none !important; } }

/* ---------- K13 mobile (Home) — phone-tier rules; ≥992px untouched ---------- */
/* Hero: compact swipeable box. svh line follows its vh fallback; no px floor so
   short-landscape phones keep shrinking. Swipe is Bootstrap-native on touch,
   so the arrows and the scroll cue (redundant once content peeks) go away. */
@media (max-width: 768px) {
  .sj-hero--hero .carousel-item img { height: min(560px, 62vh); height: min(560px, 62svh); }
  /* caption centers in the area visible under the 64px overlay nav (K5 convention;
     three-class selector out-specifies the generic caption rules, as the banner does) */
  .sj-hero.sj-hero--hero .carousel-caption {
    top: calc(50% + 32px); transform: translateY(-50%); bottom: auto;
    left: 7%; right: 7%;
  }
  .sj-hero--hero .sj-hero-title { font-size: clamp(26px, 7vw, 40px); }
  .sj-hero--hero .sj-hero-flourish { font-size: 13px; letter-spacing: .8px; margin-top: 8px; }
  .sj-hero--hero .sj-hero-btnwrap { margin-top: 16px; }
  .sj-hero--hero .carousel-control-prev,
  .sj-hero--hero .carousel-control-next { display: none; }
  .sj-hero--hero .sj-hero-cue { display: none; }
  /* real 32px-tall tap targets: 4px visible bar + transparent border-block.
     background-clip MUST be re-declared — the base rule's `background:`
     shorthand (and .active's) resets it to border-box, which would paint
     the whole 32px block. Ties the .active rule at (0,3,0): source order
     wins, so this block stays late in the sheet. */
  .sj-hero--hero .carousel-indicators [data-bs-target] {
    width: 30px; margin-left: 5px; margin-right: 5px;
    border: 0; border-block: 14px solid transparent;
    background-clip: padding-box;
  }
  .sj-nav .navbar-toggler { min-width: 44px; min-height: 44px; }
}
@media (max-width: 576px) {
  .sj-fab-cta { display: inline-flex; align-items: center; min-height: 44px; }
}
@media (max-width: 400px) {
  .sj-drawer { width: min(320px, 88vw); }
}

/* ---------- global reduced-motion kill-switch (keep LAST) ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}
