/* ==========================================================================
   acaad.net theme layer — Aractech-style design techniques, Arabic RTL, blue.
   Loaded after styles.css. Sections: tokens · base · components · shell ·
   home · course · listings · motion. Spec: docs/superpowers/specs/2026-11-15-*.
   ========================================================================== */

/* ---- tokens ------------------------------------------------------------ */
:root {
  --brand-900: #002b4a;
  --brand-800: #003f69;
  --brand-600: #1764a4;
  --brand-500: #1f5eae;
  --accent-400: #4fb3ff;
  --accent-100: #e8f3ff;
  --ink: #1d2939;
  --muted: #5b6b7f;
  --line: #e3e8ef;
  --soft: #f5f8fc;
  --live: #ea1a2d;

  /* legacy names used by styles.css, re-pointed at the new palette */
  --accent: var(--brand-500);
  --accent-dark: #184a88;
  --brand: var(--brand-800);
  --brand-soft: var(--brand-600);
  --charcoal: var(--ink);

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(0, 43, 74, 0.06), 0 1px 3px rgba(0, 43, 74, 0.08);
  --shadow-md: 0 12px 28px rgba(0, 43, 74, 0.1);
  --shadow-lg: 0 24px 60px rgba(0, 43, 74, 0.18);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --font-sans: "IBM Plex Sans Arabic", "Noto Naskh Arabic", system-ui, sans-serif;
}

/* ---- base -------------------------------------------------------------- */
body {
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.8;
  color: var(--ink);
  background: #ffffff;
}

h1, h2, h3, h4 {
  font-family: var(--font-sans);
  color: var(--brand-900);
  letter-spacing: 0;
  line-height: 1.35;
  text-wrap: balance;
}

h1 { font-size: clamp(1.9rem, 3.2vw, 2.75rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 700; }
h3 { font-size: clamp(1.1rem, 1.4vw, 1.25rem); font-weight: 600; }

p { text-wrap: pretty; }

a { color: var(--brand-500); }

:focus-visible {
  outline: 3px solid var(--accent-400);
  outline-offset: 2px;
  border-radius: 4px;
}

::selection { background: var(--accent-100); color: var(--brand-900); }

.shell { width: min(1200px, calc(100% - 32px)); margin-inline: auto; }

.section { padding-block: clamp(3rem, 6vw, 5rem); }
.section-soft { background: var(--soft); }

/* ---- components -------------------------------------------------------- */
.eyebrow,
.hx-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 0.75rem;
  color: var(--brand-500);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}

.eyebrow::before,
.hx-eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

.hx-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.5rem;
  margin-bottom: 1.6rem;
}

.hx-head h2 { margin: 0; }
.hx-head p { margin: 0.4rem 0 0; color: var(--muted); max-width: 46rem; }

.hx-more {
  color: var(--brand-500);
  font-weight: 600;
  font-size: 0.95rem;
  white-space: nowrap;
  text-decoration: none;
}

.hx-more:hover { text-decoration: underline; }

.solid-button,
.hx-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 46px;
  padding: 0.65rem 1.4rem;
  border: 0;
  border-radius: 10px;
  background: var(--brand-500);
  color: #ffffff;
  font-family: inherit;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(31, 94, 174, 0.25);
  transition: background-color 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.solid-button:hover,
.hx-btn:hover { background: var(--brand-800); color: #ffffff; transform: translateY(-1px); box-shadow: 0 10px 24px rgba(0, 63, 105, 0.28); }

.solid-button:active,
.hx-btn:active { transform: scale(0.97); }

.secondary-button,
.hx-btn--ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 46px;
  padding: 0.6rem 1.3rem;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: #ffffff;
  color: var(--brand-800);
  font-family: inherit;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--ease);
}

.secondary-button:hover,
.hx-btn--ghost:hover { border-color: var(--brand-500); color: var(--brand-500); }

.hx-btn--light { background: #ffffff; color: var(--brand-900); box-shadow: none; }
.hx-btn--light:hover { background: var(--accent-100); color: var(--brand-900); }

.hx-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.25s var(--ease), transform 0.25s var(--ease), border-color 0.25s var(--ease);
}

.hx-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: #cfe0f3; }

.hx-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ffffff;
  color: var(--ink);
  font-size: 0.88rem;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
}

.hx-chip:hover { border-color: var(--brand-500); color: var(--brand-500); }

.hx-icon { width: 16px; height: 16px; flex: 0 0 auto; }

.hx-icon-badge {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  border-radius: 12px;
  background: var(--accent-100);
  color: var(--brand-500);
}

.hx-icon-badge svg { width: 22px; height: 22px; }
.hx-icon-badge--teal { background: #e3f6f3; color: #0f8a7a; }
.hx-icon-badge--slate { background: #eef1f6; color: #3b4b63; }
.hx-icon-badge--sky { background: #e6f5ff; color: #0b84d8; }
.hx-icon-badge--blue { background: var(--accent-100); color: var(--brand-500); }

.hx-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hx-grid-2 { display: grid; gap: 1.25rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.hx-grid-3 { display: grid; gap: 1.25rem; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hx-grid-4 { display: grid; gap: 1.25rem; grid-template-columns: repeat(4, minmax(0, 1fr)); }

@media (max-width: 1000px) {
  .hx-grid-3, .hx-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 600px) {
  .hx-grid-2, .hx-grid-3, .hx-grid-4 { grid-template-columns: minmax(0, 1fr); }
  .hx-head { flex-direction: column; align-items: flex-start; }
}

/* forms */
.register-field input,
.register-field select,
.register-field textarea,
.register-field-full textarea,
.register-field-full input {
  border: 1.5px solid var(--line);
  border-radius: 10px;
  font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.register-field input:focus,
.register-field select:focus,
.register-field textarea:focus,
.register-field-full textarea:focus {
  outline: none;
  border-color: var(--brand-500);
  box-shadow: 0 0 0 4px rgba(31, 94, 174, 0.12);
}

/* inner page hero (about, contact, categories, venues, consulting, …) */
.page-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 400px at 85% -10%, rgba(79, 179, 255, 0.18), transparent 60%),
    linear-gradient(135deg, var(--brand-800) 0%, var(--brand-900) 100%);
  color: #ffffff;
}

.page-hero h1,
.page-hero h2,
.page-hero .hero-subtitle,
.page-hero p { color: #ffffff; }

.page-hero .hero-subtitle,
.page-hero p { color: #d6e4f2; }

.page-hero .eyebrow { color: var(--accent-400); }

.page-hero .breadcrumb a,
.page-hero .breadcrumb span { color: #bcd2e8; }

.page-hero .breadcrumb .is-current { color: #ffffff; }

.page-hero .secondary-button { background: transparent; color: #ffffff; border-color: rgba(255, 255, 255, 0.35); }
.page-hero .secondary-button:hover { border-color: #ffffff; color: #ffffff; }

/* ---- motion: scroll reveal (hidden only once main.js has added html.hx-motion) */
html.hx-motion .reveal:not(.is-visible) {
  opacity: 0;
  transform: translateY(18px);
}

.reveal {
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: var(--reveal-delay, 0s);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  html.hx-motion .reveal:not(.is-visible) { opacity: 1; transform: none; }
}

/* ---- shell: top bar ---------------------------------------------------- */
.hx-topbar { background: var(--brand-900); color: #c9d9ea; font-size: 0.82rem; }
.hx-topbar-row { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 38px; }
.hx-topbar-note { margin: 0; }
.hx-topbar-contact { display: inline-flex; gap: 1.1rem; align-items: center; white-space: nowrap; }
.hx-topbar a { display: inline-flex; align-items: center; gap: 0.4rem; color: #ffffff; font-weight: 500; text-decoration: none; }
.hx-topbar a:hover { color: var(--accent-400); }
.hx-topbar .hx-icon { width: 14px; height: 14px; }

@media (max-width: 860px) {
  .hx-topbar-note { display: none; }
  .hx-topbar-row { justify-content: center; }
}

/* ---- shell: header ----------------------------------------------------- */
.site-header {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}

.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 8px 24px rgba(0, 43, 74, 0.08); }
.header-row { min-height: 78px; transition: min-height 0.25s var(--ease); }
.site-header.is-scrolled .header-row { min-height: 64px; }

.main-nav > a,
.main-nav > .nav-dropdown > summary {
  font-family: var(--font-sans);
  font-size: 0.97rem;
  font-weight: 500;
  color: var(--ink);
}

.main-nav a.is-active,
.main-nav > .nav-dropdown.is-active > summary { color: var(--brand-500); }

.main-nav a::after,
.main-nav summary::after { background: var(--brand-500); height: 2px; border-radius: 2px; }

.header-tools-contact {
  border-radius: 10px;
  background: var(--brand-500);
  transition: background-color 0.2s;
}

.header-tools-contact:hover { background: var(--brand-800); }

@media (min-width: 861px) {
  .nav-dropdown { position: static; }

  .nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 6px);
    inset-inline: 0;
    left: 0;
    right: 0;
    width: min(1100px, calc(100% - 32px));
    max-height: calc(100vh - 140px);
    overflow-y: auto;
    margin-inline: auto;
    padding: 1.5rem 1.75rem 1.75rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    animation: hx-menu-in 0.22s var(--ease);
  }

  @keyframes hx-menu-in {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: none; }
  }

  .nav-megamenu-header {
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--line);
  }

  .nav-megamenu-intro strong { color: var(--brand-900); font-size: 1.05rem; font-weight: 700; letter-spacing: 0; }
  .nav-megamenu-description { color: var(--muted); font-size: 0.92rem; }
  .nav-megamenu-grid { gap: 0.35rem 1rem; }

  .nav-dropdown-menu a {
    border-radius: 10px;
    padding: 10px 12px;
    transition: background-color 0.18s;
  }

  .nav-dropdown-menu a::after { display: none; }
  .nav-dropdown-menu a:hover,
  .nav-dropdown-menu a.is-active { background: var(--accent-100); }

  .nav-dropdown-menu a span { font-size: 0.93rem; color: var(--ink); }

  .nav-dropdown-menu a span::before {
    content: "‹";
    display: inline-grid;
    place-items: center;
    width: 22px;
    height: 22px;
    border-radius: 6px;
    background: var(--soft);
    color: var(--brand-500);
    font-size: 0.95rem;
    font-weight: 700;
    transition: background-color 0.18s, color 0.18s;
  }

  .nav-dropdown-menu a:hover span::before { background: var(--brand-500); color: #ffffff; }
}

/* ---- shell: footer ----------------------------------------------------- */
.hx-footer {
  position: relative;
  margin-top: 0;
  padding: 0 0 1.5rem;
  background:
    radial-gradient(800px 360px at 10% 0%, rgba(79, 179, 255, 0.12), transparent 60%),
    var(--brand-900);
  color: #b8cbe0;
  border-top: 0;
}

.hx-footer a { color: #dce8f5; text-decoration: none; }
.hx-footer a:hover { color: #ffffff; }
.hx-footer a::after { display: none; }

.hx-footer-cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  padding: 2.25rem 2.5rem;
  transform: translateY(-50%);
  margin-bottom: -2.5rem;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(500px 220px at 15% 0%, rgba(79, 179, 255, 0.35), transparent 70%),
    linear-gradient(120deg, var(--brand-500), var(--brand-800));
  color: #ffffff;
  box-shadow: var(--shadow-lg);
}

.hx-footer-cta h2 { margin: 0 0 0.35rem; color: #ffffff; font-size: clamp(1.3rem, 2.2vw, 1.75rem); }
.hx-footer-cta p { margin: 0; color: #dbe9f8; }
.hx-footer-cta .hx-eyebrow { color: #bfe3ff; }
.hx-footer-cta-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; flex-shrink: 0; }
.hx-footer .hx-btn--light { color: var(--brand-900); }
.hx-btn--on-dark { background: transparent; color: #ffffff !important; border-color: rgba(255, 255, 255, 0.45); }
.hx-btn--on-dark:hover { border-color: #ffffff; }

.hx-footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-block: 2rem 2.5rem;
}

.hx-footer h4 { margin: 0 0 1rem; color: #ffffff; font-size: 1rem; font-weight: 600; }
.hx-footer ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 0.55rem; }
.hx-footer-grid li { font-size: 0.93rem; }
.hx-footer-company p { margin: 1rem 0; font-size: 0.93rem; line-height: 1.8; }
.hx-footer-company .footer-brand-logo { width: 140px; height: auto; }
.hx-footer-contact li { display: flex; align-items: center; gap: 0.5rem; }
.hx-footer-contact a { display: inline-flex; align-items: center; gap: 0.5rem; }
.hx-footer-contact .hx-icon { color: var(--accent-400); }

.hx-footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.85rem;
}

.hx-footer-bottom p { margin: 0; }

/* the floating CTA needs room above the footer */
main { padding-bottom: 4.5rem; }

@media (max-width: 1000px) {
  .hx-footer-grid { grid-template-columns: 1fr 1fr; }
  .hx-footer-cta { flex-direction: column; align-items: flex-start; transform: translateY(-35%); }
}

@media (max-width: 600px) {
  .hx-footer-grid { grid-template-columns: 1fr; gap: 1.75rem; }
  .hx-footer-cta { padding: 1.5rem; }
  .hx-footer-bottom { flex-direction: column; }
}

/* ---- home: hero -------------------------------------------------------- */
.hx-hero { position: relative; background: #ffffff; padding-bottom: 0; }
.hx-hero-grid { display: grid; grid-template-columns: 1fr 1fr; min-height: 540px; }

.hx-hero-copy {
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: flex-start;
  background:
    radial-gradient(600px 300px at 90% 10%, rgba(79, 179, 255, 0.22), transparent 65%),
    linear-gradient(140deg, var(--brand-800) 0%, var(--brand-900) 100%);
  color: #ffffff;
}

.hx-hero-copy::after {
  content: "";
  position: absolute;
  inset-inline-end: -120px;
  bottom: -160px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(79, 179, 255, 0.18), transparent 70%);
  animation: hx-drift-blob 14s ease-in-out infinite alternate;
}

@keyframes hx-drift-blob { to { transform: translate(-40px, -30px) scale(1.08); } }

.hx-hero-copy-inner {
  position: relative;
  z-index: 1;
  width: min(620px, 100%);
  margin-inline-start: max(16px, calc((100vw - 1200px) / 2));
  padding: 4rem 0 6.5rem 2.5rem;
}

.hx-hero .hx-eyebrow { color: var(--accent-400); }

.hx-hero h1 {
  margin: 0 0 1.1rem;
  color: #ffffff;
  font-size: clamp(2rem, 3.4vw, 3rem);
  line-height: 1.3;
  font-weight: 700;
}

.hx-typed {
  color: var(--accent-400);
  background: linear-gradient(90deg, var(--accent-400), #a8dcff, var(--accent-400));
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: hx-shimmer 5s linear infinite;
}

.hx-typed.is-typing::after {
  content: "";
  display: inline-block;
  width: 3px;
  height: 0.9em;
  margin-inline-start: 4px;
  vertical-align: -0.1em;
  border-radius: 2px;
  background: var(--accent-400);
  -webkit-text-fill-color: initial;
  animation: hx-caret 1s steps(1) infinite;
}

@keyframes hx-caret { 50% { opacity: 0; } }

/* While the typewriter runs the city sits on its own fixed-height line, so typing and
   erasing never changes the H1 height (no layout shift). Without JS it wraps normally. */
html.hx-motion .hx-typed {
  display: block;
  min-height: 1.3em;
  white-space: nowrap;
}
@keyframes hx-shimmer { to { background-position: 200% center; } }

.hx-lead { margin: 0 0 1.5rem; max-width: 36rem; color: #d3e2f1; font-size: 1.08rem; line-height: 1.85; }

.hx-ticks { display: flex; flex-wrap: wrap; gap: 0.5rem 1.4rem; margin: 0; padding: 0; list-style: none; color: #e6f0fa; font-size: 0.95rem; }
.hx-ticks li::before { content: "✓"; margin-inline-end: 0.45rem; color: var(--accent-400); font-weight: 700; }

.hx-hero-media { position: relative; overflow: hidden; background: #dfe9f4; }

.hx-hero-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% center;
  animation: hx-photo-drift 22s ease-in-out infinite alternate;
}

@keyframes hx-photo-drift { from { transform: scale(1.04); } to { transform: scale(1.12) translateX(-12px); } }

.hx-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(270deg, rgba(0, 43, 74, 0.35), transparent 45%);
  pointer-events: none;
}

.hx-hero-badge {
  position: absolute;
  z-index: 2;
  top: 2rem;
  inset-inline-end: 2rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1.1rem;
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--shadow-lg);
  animation: hx-float 6s ease-in-out infinite;
}

.hx-hero-badge strong { color: var(--brand-800); font-size: 1.7rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.hx-hero-badge span { color: var(--muted); font-size: 0.82rem; line-height: 1.5; }

.hx-hero-cards {
  position: absolute;
  z-index: 2;
  inset-inline-end: 2rem;
  bottom: 5.5rem;
  display: grid;
  gap: 0.75rem;
  width: min(340px, calc(100% - 4rem));
}

.hx-hero-card {
  display: block;
  padding: 1rem 1.15rem;
  border-radius: var(--radius);
  background: #ffffff;
  color: inherit;
  text-decoration: none;
  box-shadow: var(--shadow-lg);
  transition: transform 0.25s var(--ease);
  animation: hx-float 7s ease-in-out infinite;
}

.hx-hero-card + .hx-hero-card { animation-delay: -3.5s; }
.hx-hero-card:hover { transform: translateY(-4px); }

@keyframes hx-float { 50% { transform: translateY(-8px); } }

.hx-hero-card small { display: inline-flex; align-items: center; gap: 0.45rem; color: var(--brand-500); font-size: 0.78rem; font-weight: 700; }
.hx-hero-card strong { display: -webkit-box; margin: 0.35rem 0 0.3rem; color: var(--brand-900); font-size: 0.98rem; line-height: 1.55; }
.hx-hero-card > span { display: inline-flex; align-items: center; gap: 0.35rem; color: var(--muted); font-size: 0.84rem; }
.hx-hero-card .hx-icon { color: var(--brand-500); width: 14px; height: 14px; }
.hx-hero-live small { color: var(--live); }

.hx-live-dot { position: relative; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--live); }
.hx-live-dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--live); animation: hx-live-pulse 1.6s ease-out infinite; }
@keyframes hx-live-pulse { from { transform: scale(1); opacity: 0.6; } to { transform: scale(3); opacity: 0; } }

/* ---- home: search card + stats --------------------------------------- */
.hx-search-wrap { position: relative; z-index: 3; margin-top: -3.25rem; }

.hx-search {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) auto;
  align-items: stretch;
  padding: 0.6rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #ffffff;
  box-shadow: var(--shadow-lg);
}

.hx-field { display: flex; flex-direction: column; justify-content: center; min-width: 0; padding: 0.5rem 1.1rem; border-inline-end: 1px solid var(--line); }
.hx-field:nth-child(2) { border-inline-end: 0; }
.hx-field label { margin-bottom: 0.15rem; color: var(--muted); font-size: 0.8rem; font-weight: 600; }

.hx-field input,
.hx-field select {
  width: 100%;
  padding: 0.2rem 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-family: inherit;
  font-size: 1.02rem;
  outline: none;
}

.hx-field select { cursor: pointer; }
.hx-field:focus-within label { color: var(--brand-500); }

.hx-search-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 56px;
  padding: 0 1.75rem;
  border: 0;
  border-radius: 14px;
  background: var(--brand-500);
  color: #ffffff;
  font-family: inherit;
  font-size: 1.02rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s, transform 0.2s;
}

.hx-search-button:hover { background: var(--brand-800); }
.hx-search-button:active { transform: scale(0.97); }

.hx-popular { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; margin: 1rem 0 0; color: var(--muted); font-size: 0.9rem; }

.hx-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 2.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
}

.hx-stats article { padding: 1.4rem 1rem; text-align: center; border-inline-end: 1px solid var(--line); }
.hx-stats article:last-child { border-inline-end: 0; }
.hx-stats strong { display: block; color: var(--brand-800); font-size: clamp(1.6rem, 2.6vw, 2.1rem); font-weight: 700; font-variant-numeric: tabular-nums; line-height: 1.3; }
.hx-stats span { color: var(--muted); font-size: 0.93rem; }

/* ---- home: upcoming sessions ----------------------------------------- */
.hx-section { padding-top: clamp(3rem, 5vw, 4.5rem); }
.hx-sessions { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.1rem; }

.hx-session {
  display: flex;
  flex-direction: column;
  padding: 1.2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  transition: box-shadow 0.25s var(--ease), transform 0.25s var(--ease), border-color 0.25s;
}

.hx-session:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: #cfe0f3; }

.hx-date {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.75rem;
  padding: 0.3rem 0.7rem;
  border-radius: 8px;
  background: var(--accent-100);
  color: var(--brand-500);
  font-size: 0.85rem;
  font-weight: 600;
}

.hx-session-cat { color: var(--muted); font-size: 0.82rem; }
.hx-session h3 { margin: 0.2rem 0 0.75rem; font-size: 1.02rem; line-height: 1.6; }
.hx-session h3 a { color: var(--ink); text-decoration: none; }
.hx-session h3 a:hover { color: var(--brand-500); }
.hx-city { display: flex; align-items: center; gap: 0.4rem; margin: 0 0 1rem; color: var(--muted); font-size: 0.9rem; }

.hx-session-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 0.85rem;
  border-top: 1px solid var(--line);
}

.hx-price { color: var(--brand-900); font-weight: 700; font-variant-numeric: tabular-nums; }

.hx-register {
  padding: 0.45rem 0.95rem;
  border-radius: 8px;
  background: var(--brand-800);
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.2s;
}

.hx-register:hover { background: var(--brand-500); color: #ffffff; }

/* ---- home: categories (numbered editorial directory) ----------------- */
.hx-topics-layout { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.6fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.hx-topics-intro { position: sticky; top: 110px; }
.hx-topics-intro p { color: var(--muted); }

.hx-topic-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hx-topic-list a {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 1rem 0.25rem;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
  transition: color 0.2s, padding 0.25s var(--ease);
}

.hx-topic-list a:hover { color: var(--brand-500); padding-inline-start: 0.75rem; }
.hx-topic-num { color: #a7b4c4; font-size: 0.85rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.hx-topic-list strong { flex: 1; font-weight: 600; }

.hx-topic-arrow {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--soft);
  color: var(--brand-500);
  transition: background-color 0.2s, color 0.2s, transform 0.25s var(--ease);
}

a:hover > .hx-topic-arrow { background: var(--brand-500); color: #ffffff; transform: translateX(-4px); }

/* ---- home: training needs analysis spotlight ------------------------- */
.hx-tna {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: center;
  overflow: hidden;
  padding: clamp(1.75rem, 4vw, 3rem);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(500px 260px at 10% 100%, rgba(79, 179, 255, 0.25), transparent 70%),
    linear-gradient(135deg, var(--brand-800), var(--brand-900));
  color: #dbe8f5;
}

.hx-tna h2 { color: #ffffff; margin: 0.75rem 0; }
.hx-tna .hx-eyebrow { color: var(--accent-400); }
.hx-tna-status { display: inline-flex; align-items: center; gap: 0.55rem; padding: 0.25rem 0.75rem; border-radius: 999px; background: rgba(255, 255, 255, 0.1); font-size: 0.85rem; color: #ffffff; }
.hx-tna-status .hx-live-dot { background: #36d399; }
.hx-tna-status .hx-live-dot::after { background: #36d399; }
.hx-tna-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1.1rem 0; }
.hx-tna .hx-chip { gap: 0.45rem; border-color: rgba(255, 255, 255, 0.18); background: rgba(255, 255, 255, 0.06); color: #ffffff; }
.hx-tna .hx-chip b { color: var(--accent-400); font-weight: 700; }
.hx-tna .hx-chip:hover { border-color: var(--accent-400); color: #ffffff; }
.hx-tna-note { font-size: 0.92rem; color: #b9cde2; }
.hx-tna-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.25rem; }
.hx-tna .hx-btn--ghost { background: transparent; color: #ffffff; border-color: rgba(255, 255, 255, 0.35); }
.hx-tna-services { margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid rgba(255, 255, 255, 0.12); }
.hx-tna-services h3 { margin: 0 0 0.75rem; color: #ffffff; font-size: 1rem; }
.hx-tna-services > div { display: flex; flex-wrap: wrap; gap: 0.5rem; }

.hx-tna-visual { position: relative; display: grid; place-items: center; min-height: 300px; }
.hx-orbit { position: absolute; border: 1px dashed rgba(168, 220, 255, 0.35); border-radius: 50%; animation: hx-spin 30s linear infinite; }
.hx-orbit-1 { width: 160px; height: 160px; }
.hx-orbit-2 { width: 240px; height: 240px; animation-duration: 45s; animation-direction: reverse; }
.hx-orbit-3 { width: 320px; height: 320px; animation-duration: 60s; }
.hx-orbit::before { content: ""; position: absolute; top: -5px; inset-inline-start: 50%; width: 10px; height: 10px; border-radius: 50%; background: var(--accent-400); box-shadow: 0 0 16px var(--accent-400); }
@keyframes hx-spin { to { transform: rotate(360deg); } }

.hx-tna-core { position: relative; display: grid; place-items: center; gap: 0.25rem; width: 120px; height: 120px; border-radius: 28px; background: linear-gradient(145deg, var(--brand-500), var(--brand-800)); box-shadow: 0 0 0 10px rgba(79, 179, 255, 0.12), var(--shadow-lg); }
.hx-tna-core img { width: 78px; height: auto; }
.hx-tna-core span { color: var(--accent-400); font-weight: 700; font-size: 0.85rem; }

/* ---- home: venues ---------------------------------------------------- */
.hx-venues-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 2rem; align-items: start; }

.hx-map {
  position: sticky;
  top: 110px;
  overflow: hidden;
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: radial-gradient(circle at 50% 40%, #eef6ff, #ffffff 70%);
}

.hx-map-shape {
  position: relative;
  aspect-ratio: 612 / 351;
  background: linear-gradient(135deg, #b9d6f2, #7fb2e3);
  -webkit-mask: url("/static/images/venues-map.png") center / contain no-repeat;
  mask: url("/static/images/venues-map.png") center / contain no-repeat;
}

.hx-map .hx-ping { margin: -6px 0 0 -6px; }
.hx-map-stage { position: relative; }

.hx-ping { position: absolute; top: var(--y); left: var(--x); width: 12px; height: 12px; border-radius: 50%; background: var(--brand-500); }
.hx-ping::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--brand-500); animation: hx-live-pulse 2s ease-out infinite; }
.hx-ping:nth-of-type(2n)::after { animation-delay: 0.7s; }
.hx-ping:nth-of-type(3n)::after { animation-delay: 1.3s; }

.hx-city-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; }

.hx-city-tile {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.9rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  color: var(--ink);
  text-decoration: none;
  transition: border-color 0.2s, box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}

.hx-city-tile:hover { border-color: #cfe0f3; box-shadow: var(--shadow-md); transform: translateY(-2px); }
.hx-city-copy { display: grid; flex: 1; min-width: 0; }
.hx-city-copy strong { font-size: 1.02rem; }
.hx-city-copy small { color: var(--muted); font-size: 0.85rem; }
.hx-city-copy em { display: inline-flex; align-items: center; gap: 0.3rem; margin-top: 0.15rem; color: var(--brand-500); font-size: 0.82rem; font-style: normal; font-weight: 600; }
.hx-other-venues { margin: 1.25rem 0 0; color: var(--muted); line-height: 2; }
.hx-other-venues strong { color: var(--ink); margin-inline-end: 0.35rem; }
.hx-other-venues a { color: var(--brand-500); text-decoration: none; }
.hx-other-venues a:hover { text-decoration: underline; }

/* ---- home: certifications + featured --------------------------------- */
.hx-cert { display: grid; gap: 0.4rem; padding: 1.4rem; }
.hx-cert-mark { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 0.5rem; border-radius: 14px; background: linear-gradient(145deg, var(--brand-500), var(--brand-800)); color: #ffffff; font-size: 1.3rem; font-weight: 700; }
.hx-cert strong { color: var(--brand-900); }
.hx-cert span:last-child { color: var(--muted); font-size: 0.92rem; }

.hx-course-card { display: flex; flex-direction: column; overflow: hidden; color: inherit; text-decoration: none; }
.hx-course-media { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: linear-gradient(135deg, var(--brand-600), var(--brand-900)); }
.hx-course-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.hx-course-card:hover .hx-course-media img { transform: scale(1.06); }
.hx-course-fallback { display: grid; place-items: center; height: 100%; color: #ffffff; font-weight: 600; }
.hx-badge { position: absolute; top: 0.75rem; inset-inline-start: 0.75rem; padding: 0.2rem 0.65rem; border-radius: 999px; background: var(--live); color: #ffffff; font-size: 0.78rem; font-weight: 600; }
.hx-course-body { display: grid; gap: 0.35rem; padding: 1rem 1.1rem 1.2rem; }
.hx-course-body small { color: var(--brand-500); font-weight: 600; font-size: 0.82rem; }
.hx-course-body strong { color: var(--ink); font-size: 1rem; line-height: 1.6; }
.hx-course-meta { display: grid; gap: 0.2rem; color: var(--muted); font-size: 0.85rem; }
.hx-course-meta > span { display: inline-flex; align-items: center; gap: 0.35rem; }

/* ---- home: business panel -------------------------------------------- */
.hx-business {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.3fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  padding: clamp(1.75rem, 4vw, 3.25rem);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(520px 260px at 0% 0%, rgba(79, 179, 255, 0.2), transparent 70%),
    var(--brand-900);
  color: #c9d9ea;
}

.hx-business h2 { color: #ffffff; margin: 0 0 0.75rem; }
.hx-business .hx-eyebrow { color: var(--accent-400); }
.hx-business-intro p { margin: 0 0 1.5rem; }
.hx-business-list { display: grid; gap: 0.75rem; margin: 0; padding: 0; list-style: none; }

.hx-business-list li {
  display: flex;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  transition: background-color 0.25s, border-color 0.25s;
}

.hx-business-list li:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(79, 179, 255, 0.4); }
.hx-business-list li > span { color: var(--accent-400); font-weight: 700; font-variant-numeric: tabular-nums; }
.hx-business-list h3 { margin: 0 0 0.25rem; color: #ffffff; font-size: 1.05rem; }
.hx-business-list p { margin: 0; font-size: 0.93rem; }

/* ---- home: responsive ------------------------------------------------ */
@media (max-width: 1100px) {
  .hx-sessions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hx-venues-layout { grid-template-columns: 1fr; }
  .hx-map { position: relative; top: 0; }
}

@media (max-width: 1000px) {
  .hx-hero-grid { grid-template-columns: 1fr; }
  .hx-hero-copy-inner { margin-inline: auto; padding: 3rem 16px 5.5rem; width: min(720px, 100%); }
  .hx-hero-media { min-height: 360px; }
  .hx-topics-layout, .hx-tna, .hx-business { grid-template-columns: 1fr; }
  .hx-topics-intro { position: static; }
  .hx-tna-visual { min-height: 220px; }
  .hx-orbit-3 { display: none; }
}

@media (max-width: 760px) {
  .hx-search { grid-template-columns: 1fr; padding: 0.5rem; }
  .hx-field { border-inline-end: 0; border-bottom: 1px solid var(--line); padding: 0.65rem 0.85rem; }
  .hx-field:nth-child(2) { border-bottom: 0; }
  .hx-search-button { margin-top: 0.4rem; }
  .hx-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hx-stats article:nth-child(2) { border-inline-end: 0; }
  .hx-stats article:nth-child(-n + 2) { border-bottom: 1px solid var(--line); }
  .hx-hero-badge { top: 1rem; inset-inline-end: 1rem; }
  .hx-hero-cards { inset-inline-end: 1rem; bottom: 4.25rem; width: calc(100% - 2rem); }
}

@media (max-width: 600px) {
  .hx-sessions, .hx-topic-list, .hx-city-grid { grid-template-columns: minmax(0, 1fr); }
  .hx-hero-media { min-height: 420px; }
  .hx-hero-card + .hx-hero-card { display: none; }
}

/* anchored sections clear the sticky header */
section[id], [id="schedules"] { scroll-margin-top: 110px; }

@media (max-width: 860px) {
  .site-header:not(.is-mobile-nav-open) .header-tools-home { display: none; }
  .header-row { min-height: 68px; }
  .brand-logo { width: auto; max-height: 54px; }
  .brand-lockup small { display: none; }
}

/* ---- course detail ----------------------------------------------------- */
.page-hero-course .page-hero-media-image { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.page-hero-course h1 { font-size: clamp(1.7rem, 3vw, 2.5rem); }

.anchor-strip {
  position: sticky;
  top: 64px;
  z-index: 15;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.anchor-strip a { border-radius: 999px; font-weight: 500; }
.anchor-strip a:hover { background: var(--accent-100); color: var(--brand-500); }
.anchor-strip a::after { display: none; }

.schedule-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.schedule-panel .panel-header { background: var(--soft); border-bottom: 1px solid var(--line); }
.panel-title { color: var(--brand-900); }
.panel-title-icon { color: var(--brand-500); }

.panel-row {
  border-radius: 12px;
  transition: background-color 0.2s, box-shadow 0.2s, transform 0.2s var(--ease);
}

.panel-row:hover { background: var(--accent-100); transform: none; box-shadow: none; }
.panel-row .solid-button,
.panel-row .secondary-button { min-height: 40px; padding: 0.4rem 1rem; font-size: 0.9rem; }

.detail-content { display: grid; gap: 1.25rem; }

.course-info-card {
  padding: clamp(1.25rem, 3vw, 1.9rem) !important;
  border: 1px solid var(--line) !important;
  border-radius: var(--radius-lg) !important;
  background: #ffffff !important;
  box-shadow: var(--shadow-sm) !important;
}

.course-info-card .detail-section-heading-row { display: flex; align-items: center; gap: 0.9rem; margin-bottom: 1rem; }
.course-info-card .detail-section-kicker { margin: 0; color: var(--brand-500); font-size: 0.85rem; font-weight: 600; }
.course-info-card .detail-section-title { margin: 0; font-size: clamp(1.2rem, 2vw, 1.45rem); }

.course-info-card .feature-list { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }

.course-info-card .feature-list li {
  position: relative;
  padding: 0.75rem 2rem 0.75rem 0;
  border-top: 1px solid var(--line);
  line-height: 1.8;
}

.course-info-card .feature-list li::before {
  content: "✓";
  position: absolute;
  inset-inline-start: 0;
  top: 0.8rem;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent-100);
  color: var(--brand-500);
  font-size: 0.75rem;
  font-weight: 700;
}

.course-info-card--teal .feature-list li::before { background: #e3f6f3; color: #0f8a7a; }
.course-info-card--sky .feature-list li::before { background: #e6f5ff; color: #0b84d8; }
.course-info-card--slate .feature-list li::before { background: #eef1f6; color: #3b4b63; }

.hx-course-aside {
  position: sticky;
  top: 130px;
  padding: 1.6rem !important;
  border: 0 !important;
  border-radius: var(--radius-lg) !important;
  background:
    radial-gradient(360px 180px at 0% 0%, rgba(79, 179, 255, 0.25), transparent 70%),
    linear-gradient(150deg, var(--brand-800), var(--brand-900)) !important;
  color: #d3e2f1;
  box-shadow: var(--shadow-lg) !important;
}

.hx-course-aside h3 { color: #ffffff; }
.hx-course-aside .eyebrow { color: var(--accent-400); }
.hx-course-aside p { color: #c9d9ea; }
.hx-course-aside a:not(.solid-button):not(.secondary-button) { color: #ffffff; }
.hx-course-aside .secondary-button { background: transparent; color: #ffffff; border-color: rgba(255, 255, 255, 0.35); }
.hx-course-aside .solid-button { background: #ffffff; color: var(--brand-900); box-shadow: none; }

.agenda-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  transition: box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}

.agenda-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }

.section-dark {
  background:
    radial-gradient(700px 320px at 90% 0%, rgba(79, 179, 255, 0.16), transparent 65%),
    var(--brand-900);
}

.quick-request-dialog { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }

@media (max-width: 1000px) {
  .hx-course-aside { position: static; }
  .anchor-strip { top: 0; }
}

/* ---- listings: category / venue / venue-category / search ------------- */
.schedule-list { gap: 0.85rem; background: transparent; border: 0; box-shadow: none; }

.hx-list-row {
  position: relative;
  border: 1px solid var(--line) !important;
  border-radius: var(--radius) !important;
  background: #ffffff;
  transition: box-shadow 0.25s var(--ease), transform 0.25s var(--ease), border-color 0.25s;
}

.hx-list-row:hover { box-shadow: var(--shadow-md) !important; transform: translateY(-2px) !important; border-color: #cfe0f3 !important; }
.hx-list-row h3 { line-height: 1.6; }
.hx-list-row h3 a { color: var(--ink); text-decoration: none; }
.hx-list-row h3 a:hover { color: var(--brand-500); }

.hx-list-row > strong {
  display: inline-flex;
  align-items: center;
  align-self: start;
  padding: 0.25rem 0.7rem;
  border-radius: 8px;
  background: var(--accent-100);
  color: var(--brand-500);
  font-size: 0.86rem;
  font-weight: 600;
}

.hx-list-row > span:last-child { color: var(--brand-900); font-weight: 700; }

.hx-list-row--course .schedule-row-course-image { border-radius: 10px; }
.hx-list-row--course .section-cta-link { color: var(--brand-500); font-weight: 600; }

.filters-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.filter-control select {
  border: 1.5px solid var(--line);
  border-radius: 10px;
  font-family: inherit;
}

.filter-control select:focus { outline: none; border-color: var(--brand-500); box-shadow: 0 0 0 4px rgba(31, 94, 174, 0.12); }

.chip-grid a,
.chip-grid .chip {
  border-radius: 999px;
}

.toolbar-count { color: var(--muted); font-weight: 500; }

.hx-city-card {
  position: relative;
  padding: 1.1rem 1.2rem 1.1rem 3rem !important;
  border: 1px solid var(--line) !important;
  border-radius: var(--radius) !important;
  background: #ffffff;
  transition: box-shadow 0.25s var(--ease), transform 0.25s var(--ease), border-color 0.25s;
}

.hx-city-card::after {
  content: "←";
  position: absolute;
  inset-inline-end: 1rem;
  top: 50%;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  margin-top: -14px;
  border-radius: 50%;
  background: var(--soft);
  color: var(--brand-500);
  transition: background-color 0.2s, color 0.2s, transform 0.25s var(--ease);
}

.hx-city-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); border-color: #cfe0f3 !important; }
.hx-city-card:hover::after { background: var(--brand-500); color: #ffffff; transform: translateX(-4px); }
.hx-city-card h3 { margin: 0 0 0.2rem; font-size: 1rem; color: var(--ink); }
.hx-city-card p { margin: 0; color: var(--muted); font-size: 0.88rem; }

.faq-item { border: 1px solid var(--line); border-radius: var(--radius); background: #ffffff; }
.category-overview h2 { margin-top: 0; }

.search-bar-page {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.search-bar-page button { background: var(--brand-500); font-family: inherit; }

/* Entrance transforms (e.g. motion-ready--right) must never widen an RTL page on phones.
   clip (not hidden) keeps position: sticky working. */
html, body { overflow-x: clip; }
