/* ==========================================================================
   HRMAB design system
   Ported from the Next.js build. Class prefix: hm-
   ========================================================================== */

:root {
  --hm-navy-950: #050b24;
  --hm-navy-900: #0a1546;
  --hm-navy-800: #0f1f6b;
  --hm-navy-700: #16308f;
  --hm-royal: #2140d9;
  --hm-royal-light: #4f6bff;
  --hm-sky: #38bdf8;
  --hm-gold: #f7c531;
  --hm-gold-dark: #e0ab0a;
  --hm-cream: #fbf8ef;
  --hm-ink: #0b1230;
  --hm-mist: #f3f5fb;
  --hm-white: #ffffff;

  --hm-ink-70: rgba(11, 18, 48, 0.7);
  --hm-ink-65: rgba(11, 18, 48, 0.65);
  --hm-ink-55: rgba(11, 18, 48, 0.55);
  --hm-ink-45: rgba(11, 18, 48, 0.45);
  --hm-line: rgba(10, 21, 70, 0.1);
  --hm-line-strong: rgba(10, 21, 70, 0.18);

  --hm-font-display: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --hm-font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --hm-radius-sm: 1rem;
  --hm-radius: 1.5rem;
  --hm-radius-lg: 2rem;
  --hm-radius-xl: 2.5rem;

  --hm-shadow-card: 0 20px 60px -40px rgba(10, 21, 70, 0.4);
  --hm-shadow-card-hover: 0 40px 90px -40px rgba(10, 21, 70, 0.45);
  --hm-shadow-deep: 0 50px 100px -40px rgba(10, 21, 70, 0.8);

  --hm-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --hm-header-h: 5.5rem;
}

/* ---------- Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body.hm-body {
  margin: 0;
  background: var(--hm-cream);
  color: var(--hm-ink);
  font-family: var(--hm-font-body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

:where(.hm-body) :where(h1, h2, h3, h4), .hm-display {
  font-family: var(--hm-font-display);
  margin: 0;
  letter-spacing: -0.02em;
}
:where(.hm-body) :where(p) { margin: 0; }
:where(.hm-body) :where(img) { max-width: 100%; height: auto; display: block; }
:where(.hm-body) :where(a) { color: inherit; text-decoration: none; }
:where(.hm-body) :where(ul, ol) { margin: 0; padding: 0; list-style: none; }
:where(.hm-body) :where(button) { font: inherit; cursor: pointer; }
::selection { background: var(--hm-gold); color: var(--hm-navy-950); }

[hidden] { display: none !important; }
.hm-sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.hm-skip-link:focus {
  position: fixed; top: 1rem; left: 1rem; z-index: 100; clip: auto; width: auto; height: auto;
  padding: 0.75rem 1.25rem; background: var(--hm-gold); color: var(--hm-navy-950);
  border-radius: 999px; font-weight: 600;
}
:focus-visible { outline: 2px solid var(--hm-royal); outline-offset: 3px; border-radius: 6px; }
.hm-on-dark :focus-visible { outline-color: var(--hm-gold); }

/* ---------- Layout ---------- */
.hm-container {
  width: 100%;
  max-width: 1400px;
  margin-inline: auto;
  padding-inline: 1.25rem;
}
@media (min-width: 640px) { .hm-container { padding-inline: 2rem; } }
@media (min-width: 1024px) { .hm-container { padding-inline: 3rem; } }
.hm-container--narrow { max-width: 820px; }

.hm-section { position: relative; padding-block: 6rem; overflow: hidden; }
@media (min-width: 1024px) { .hm-section { padding-block: 8rem; } }
.hm-section--sm { padding-block: 5rem; }
@media (min-width: 1024px) { .hm-section--sm { padding-block: 6rem; } }
.hm-section--flush-top { padding-top: 0; }

.hm-bg-navy { background: var(--hm-navy-950); color: #fff; }
.hm-bg-navy-900 { background: var(--hm-navy-900); color: #fff; }
.hm-bg-cream { background: var(--hm-cream); }
.hm-bg-white { background: #fff; }
.hm-bg-mist { background: var(--hm-mist); }

.hm-rel { position: relative; z-index: 1; }
.hm-center { text-align: center; }
.hm-mt-xs { margin-top: 0.5rem; }
.hm-mt-sm { margin-top: 1rem; }
.hm-mt { margin-top: 2rem; }
.hm-mt-lg { margin-top: 3rem; }
.hm-mt-xl { margin-top: 3.5rem; }

.hm-grid { display: grid; gap: 1.5rem; }
.hm-grid--tight { gap: 1rem; }
@media (min-width: 640px) {
  .hm-grid--sm-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 768px) {
  .hm-grid--2, .hm-grid--md-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hm-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hm-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .hm-grid--lg-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hm-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.hm-split { display: grid; gap: 3.5rem; align-items: center; }
@media (min-width: 1024px) {
  .hm-split { grid-template-columns: 1fr 1fr; gap: 3.5rem; }
  .hm-split--left-wide { grid-template-columns: 1.1fr 0.9fr; }
  .hm-split--right-wide { grid-template-columns: 0.9fr 1.1fr; }
  .hm-split--top { align-items: start; }
  .hm-split--end { align-items: end; }
}

.hm-row-between { display: flex; flex-direction: column; gap: 1.5rem; }
@media (min-width: 768px) {
  .hm-row-between { flex-direction: row; align-items: flex-end; justify-content: space-between; }
}
.hm-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; }
.hm-actions--center { justify-content: center; }

/* ---------- Typography ---------- */
.hm-eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--hm-font-body);
  font-size: 11px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--hm-royal);
}
.hm-eyebrow::before {
  content: ""; width: 6px; height: 6px; border-radius: 999px; background: currentColor;
}
.hm-eyebrow--light { color: var(--hm-gold); }

.hm-heading { max-width: 48rem; }
.hm-heading--center { margin-inline: auto; text-align: center; }
.hm-heading .hm-h2 { margin-top: 1rem; }
.hm-heading .hm-lead { margin-top: 1.25rem; }

.hm-h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700; line-height: 1.04; text-wrap: balance;
}
.hm-h1--hero { font-size: clamp(2.7rem, 7vw, 4.6rem); line-height: 1.02; }
.hm-h2 {
  font-size: clamp(1.875rem, 4.2vw, 3rem);
  font-weight: 700; line-height: 1.08; text-wrap: balance;
  color: var(--hm-navy-950);
}
.hm-h3 { font-size: 1.5rem; font-weight: 700; line-height: 1.2; color: var(--hm-navy-950); }
.hm-h4 { font-size: 1.125rem; font-weight: 700; line-height: 1.3; color: var(--hm-navy-950); }
.hm-lead { font-size: 1.0625rem; line-height: 1.65; color: var(--hm-ink-65); }
@media (min-width: 640px) { .hm-lead { font-size: 1.125rem; } }
.hm-small { font-size: 0.875rem; }
.hm-xs { font-size: 0.75rem; }
.hm-muted { color: var(--hm-ink-65); }
.hm-faint { color: var(--hm-ink-45); }

.hm-on-dark { color: #fff; }
.hm-on-dark .hm-h1, .hm-on-dark .hm-h2, .hm-on-dark .hm-h3, .hm-on-dark .hm-h4 { color: #fff; }
.hm-on-dark .hm-lead, .hm-on-dark .hm-muted { color: rgba(255, 255, 255, 0.7); }
.hm-on-dark .hm-faint { color: rgba(255, 255, 255, 0.5); }

.hm-gradient-text {
  background: linear-gradient(92deg, #f7c531 0%, #ffe38a 45%, #f7c531 100%);
  background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: hm-shimmer 6s linear infinite;
}
.hm-gradient-blue-text {
  background: linear-gradient(92deg, var(--hm-royal), var(--hm-sky));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- Buttons ---------- */
.hm-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  border-radius: 999px; border: 1px solid transparent;
  padding: 0.75rem 1.5rem;
  font-family: var(--hm-font-body); font-size: 0.875rem; font-weight: 600; letter-spacing: -0.01em;
  line-height: 1.2; white-space: nowrap;
  transition: transform 0.3s var(--hm-ease), background-color 0.3s, color 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.hm-btn:hover { transform: translateY(-2px); }
.hm-btn:active { transform: translateY(0); }
.hm-btn svg { width: 1rem; height: 1rem; transition: transform 0.3s var(--hm-ease); }
.hm-btn:hover svg { transform: translate(2px, -2px); }
.hm-btn--sm { padding: 0.5rem 1rem; font-size: 0.8125rem; }
.hm-btn--lg { padding: 1rem 2rem; font-size: 1rem; }
.hm-btn--block { width: 100%; }

.hm-btn--gold { background: var(--hm-gold); color: var(--hm-navy-950); box-shadow: 0 10px 30px -10px rgba(247, 197, 49, 0.7); }
.hm-btn--gold:hover { background: var(--hm-gold-dark); }
.hm-btn--navy { background: var(--hm-navy-900); color: #fff; box-shadow: 0 10px 30px -10px rgba(10, 21, 70, 0.6); }
.hm-btn--navy:hover { background: var(--hm-navy-800); }
.hm-btn--outline { border-color: rgba(10, 21, 70, 0.2); color: var(--hm-navy-900); background: transparent; }
.hm-btn--outline:hover { background: var(--hm-navy-900); border-color: var(--hm-navy-900); color: #fff; }
.hm-btn--ghost { border-color: rgba(255, 255, 255, 0.25); color: #fff; background: transparent; }
.hm-btn--ghost:hover { background: rgba(255, 255, 255, 0.1); }
.hm-btn--white { background: #fff; color: var(--hm-navy-950); }
.hm-btn--white:hover { background: var(--hm-cream); }
.hm-btn[disabled], .hm-btn.is-busy { opacity: 0.7; pointer-events: none; }

.hm-link-arrow {
  display: inline-flex; align-items: center; gap: 0.25rem;
  font-size: 0.875rem; font-weight: 600; color: var(--hm-royal);
}
.hm-link-arrow svg { width: 1rem; height: 1rem; transition: transform 0.3s var(--hm-ease); }
.hm-link-arrow:hover svg { transform: translate(2px, -2px); }
.hm-on-dark .hm-link-arrow { color: var(--hm-gold); }

/* ---------- Surfaces ---------- */
.hm-glass {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
}
.hm-glass-light {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(10, 21, 70, 0.08);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
}

.hm-noise { position: relative; isolation: isolate; }
.hm-noise::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  opacity: 0.06; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hm-noise > * { position: relative; z-index: 1; }

.hm-shine { position: relative; overflow: hidden; }
.hm-shine::after {
  content: ""; position: absolute; inset: -150% -50%; pointer-events: none;
  background: linear-gradient(115deg, transparent 40%, rgba(255, 255, 255, 0.35) 50%, transparent 60%);
  transform: translateX(-60%); transition: transform 0.9s ease;
}
.hm-shine:hover::after { transform: translateX(60%); }

/* Ambient colour blobs */
.hm-blob {
  position: absolute; pointer-events: none; border-radius: 999px; z-index: 0;
  width: 600px; height: 600px; filter: blur(150px);
}
.hm-blob--royal { background: rgba(33, 64, 217, 0.45); }
.hm-blob--sky { background: rgba(56, 189, 248, 0.22); }
.hm-blob--gold { background: rgba(247, 197, 49, 0.16); }
.hm-blob--sm { width: 420px; height: 420px; }
.hm-blob--tl { left: -10rem; top: 0; }
.hm-blob--tr { right: -10rem; top: 0; }
.hm-blob--bl { left: -10rem; bottom: 0; }
.hm-blob--br { right: -10rem; bottom: 0; }
.hm-blob--mid { left: 50%; top: 50%; transform: translate(-50%, -50%); width: 700px; height: 700px; }
.hm-blob--drift { animation: hm-drift 16s ease-in-out infinite; }
.hm-blob--drift-b { animation: hm-drift-b 20s ease-in-out infinite; }
.hm-blob--pulse { animation: hm-pulse-scale 14s ease-in-out infinite; }

/* ---------- Cards ---------- */
.hm-card {
  position: relative; border-radius: var(--hm-radius);
  border: 1px solid var(--hm-line); background: #fff;
  box-shadow: var(--hm-shadow-card); padding: 1.75rem;
}
.hm-card--cream { background: var(--hm-cream); box-shadow: none; }
.hm-card--mist { background: var(--hm-mist); box-shadow: none; }
.hm-card--flat { box-shadow: none; }
.hm-card--glass { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.12); box-shadow: none; color: #fff;
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }
.hm-card--lg { border-radius: var(--hm-radius-lg); padding: 2rem; }
@media (min-width: 640px) { .hm-card--lg { padding: 2.5rem; } }
.hm-card--hover { transition: transform 0.4s var(--hm-ease), box-shadow 0.4s, border-color 0.3s; }
.hm-card--hover:hover { transform: translateY(-4px); box-shadow: var(--hm-shadow-card-hover); }
.hm-card--hover-gold:hover { border-color: var(--hm-gold); }
.hm-card--hover-sky:hover { border-color: var(--hm-sky); }
.hm-h-full { height: 100%; }

.hm-icon-tile {
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
  width: 3rem; height: 3rem; border-radius: 1rem;
  background: var(--hm-navy-950); color: var(--hm-gold);
  transition: background-color 0.3s, color 0.3s;
}
.hm-icon-tile svg { width: 1.25rem; height: 1.25rem; }
.hm-icon-tile--sm { width: 2.75rem; height: 2.75rem; }
.hm-icon-tile--gold { background: var(--hm-gold); color: var(--hm-navy-950); }
.hm-icon-tile--sky { background: var(--hm-sky); color: var(--hm-navy-950); }
.hm-icon-tile--white { background: #fff; color: var(--hm-royal); box-shadow: 0 6px 18px -8px rgba(10, 21, 70, 0.4); }
.hm-icon-tile--sky-text { color: var(--hm-sky); }
.hm-card--hover:hover .hm-icon-tile--swap { background: var(--hm-gold); color: var(--hm-navy-950); }
.hm-card--hover:hover .hm-icon-tile--swap-sky { background: var(--hm-sky); color: var(--hm-navy-950); }

.hm-card__title { margin-top: 1.25rem; font-family: var(--hm-font-display); font-size: 1.125rem; font-weight: 700; color: var(--hm-navy-950); line-height: 1.3; }
.hm-card__body { margin-top: 0.5rem; font-size: 0.875rem; line-height: 1.65; color: var(--hm-ink-65); }
.hm-card__num { font-family: var(--hm-font-display); font-size: 0.75rem; font-weight: 700; color: var(--hm-gold-dark); }
.hm-card__num + .hm-card__title { margin-top: 0.75rem; font-size: 1.25rem; }
.hm-card--glass .hm-card__title { color: #fff; }
.hm-card--glass .hm-card__body { color: rgba(255, 255, 255, 0.65); }
.hm-card__badge { margin-top: 0.75rem; display: inline-flex; align-items: center; gap: 0.25rem; font-size: 0.75rem; font-weight: 600; color: var(--hm-ink-45); }
.hm-card__badge svg { width: 0.875rem; height: 0.875rem; }
.hm-card__bignum {
  position: absolute; right: 1.25rem; top: 1.25rem;
  font-family: var(--hm-font-display); font-size: 2.25rem; font-weight: 700; color: rgba(255, 255, 255, 0.1);
}
.hm-card--row { display: flex; gap: 1rem; align-items: flex-start; }
.hm-card--row .hm-card__title { margin-top: 0; }

.hm-pill {
  display: inline-flex; align-items: center; gap: 0.375rem;
  border-radius: 999px; padding: 0.25rem 0.75rem;
  font-size: 0.75rem; font-weight: 600;
}
.hm-pill svg { width: 0.875rem; height: 0.875rem; }
.hm-pill--gold { background: var(--hm-gold); color: var(--hm-navy-950); }
.hm-pill--soft-gold { background: rgba(247, 197, 49, 0.2); color: var(--hm-gold-dark); }
.hm-pill--navy { background: var(--hm-navy-950); color: var(--hm-gold); }
.hm-pill--glass { background: rgba(255, 255, 255, 0.1); color: var(--hm-gold); text-transform: uppercase; letter-spacing: 0.06em; font-size: 11px; }
.hm-pill--outline { border: 1px solid var(--hm-line); background: #fff; color: var(--hm-navy-900); font-family: var(--hm-font-display); font-size: 0.875rem; padding: 0.5rem 1.25rem; white-space: nowrap; }

.hm-checklist { display: grid; gap: 0.75rem; }
.hm-checklist li { display: flex; gap: 0.75rem; font-size: 0.875rem; }
.hm-checklist svg { flex-shrink: 0; width: 1rem; height: 1rem; margin-top: 0.2rem; color: var(--hm-royal); }
.hm-on-dark .hm-checklist svg { color: var(--hm-gold); }
.hm-checklist--lg li { font-size: 1rem; }
.hm-check-dot {
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
  width: 1.25rem; height: 1.25rem; border-radius: 999px; margin-top: 0.1rem;
  background: rgba(33, 64, 217, 0.1); color: var(--hm-royal);
}
.hm-check-dot svg { width: 0.75rem !important; height: 0.75rem !important; margin: 0 !important; color: inherit !important; }
.hm-check-dot--gold { background: var(--hm-gold); color: var(--hm-navy-950); }
.hm-check-dot--soft-gold { background: rgba(247, 197, 49, 0.2); color: var(--hm-gold); }

/* ---------- Marquee ---------- */
.hm-marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.hm-marquee__track { display: flex; width: max-content; gap: 2.5rem; animation: hm-marquee 40s linear infinite; }
.hm-marquee:hover .hm-marquee__track { animation-play-state: paused; }
.hm-marquee__item {
  display: flex; align-items: center; gap: 2.5rem; white-space: nowrap;
  font-family: var(--hm-font-display); font-size: 0.875rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.2em; color: rgba(255, 255, 255, 0.5);
}
.hm-marquee__item::after { content: ""; width: 6px; height: 6px; border-radius: 999px; background: var(--hm-gold); }

/* ==========================================================================
   Header
   ========================================================================== */
.hm-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  padding-block: 1rem;
  transition: padding 0.5s var(--hm-ease);
  animation: hm-drop-in 0.7s var(--hm-ease) both;
}
.admin-bar .hm-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .hm-header { top: 46px; } }
.hm-header.is-scrolled { padding-block: 0.5rem; }
.hm-header__inner { max-width: 1400px; margin-inline: auto; padding-inline: 1rem; }
@media (min-width: 640px) { .hm-header__inner { padding-inline: 1.5rem; } }
.hm-header__bar {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  border-radius: 999px; padding: 0.5rem 1rem;
  transition: background-color 0.5s, box-shadow 0.5s, border-color 0.5s;
  border: 1px solid transparent;
}
@media (min-width: 640px) { .hm-header__bar { padding-inline: 1.25rem; } }
.hm-header.is-scrolled .hm-header__bar {
  background: rgba(255, 255, 255, 0.82);
  border-color: rgba(10, 21, 70, 0.08);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  box-shadow: 0 20px 60px -30px rgba(10, 21, 70, 0.45);
}

.hm-logo { display: flex; align-items: center; gap: 0.75rem; flex-shrink: 0; }
.hm-logo__img { height: 2.75rem; width: auto; transition: opacity 0.4s; }
@media (min-width: 640px) { .hm-logo__img { height: 3rem; } }
.hm-logo__swap { position: relative; display: block; }
.hm-logo__swap .hm-logo__img--dark { position: absolute; inset: 0; opacity: 0; }
.hm-logo__text {
  display: none; font-family: var(--hm-font-display); font-size: 0.875rem; font-weight: 600; line-height: 1.25;
  color: #fff; transition: color 0.4s;
}
@media (min-width: 1536px) { .hm-logo__text { display: block; } }

/* light (scrolled or light-hero) state */
.hm-header.is-light .hm-logo__img--light { opacity: 0; }
.hm-header.is-light .hm-logo__img--dark { opacity: 1; }
.hm-header.is-light .hm-logo__text { color: var(--hm-navy-950); }

.hm-nav { display: none; align-items: center; gap: 0.25rem; }
@media (min-width: 1024px) { .hm-nav { display: flex; } }
.hm-nav__item { position: relative; }
.hm-nav__link {
  display: flex; align-items: center; gap: 0.25rem;
  border-radius: 999px; padding: 0.5rem 0.75rem;
  font-size: 13px; font-weight: 500; color: rgba(255, 255, 255, 0.8); white-space: nowrap;
  transition: background-color 0.25s, color 0.25s;
}
.hm-nav__link svg { width: 0.875rem; height: 0.875rem; opacity: 0.6; }
.hm-nav__link:hover { background: rgba(255, 255, 255, 0.1); color: #fff; }
.hm-nav__link.is-active { background: rgba(255, 255, 255, 0.15); color: #fff; }
.hm-header.is-light .hm-nav__link { color: rgba(5, 11, 36, 0.75); }
.hm-header.is-light .hm-nav__link:hover { background: rgba(10, 21, 70, 0.05); color: var(--hm-navy-950); }
.hm-header.is-light .hm-nav__link.is-active { background: rgba(10, 21, 70, 0.08); color: var(--hm-navy-950); }

.hm-dropdown {
  position: absolute; left: 0; top: 100%; padding-top: 0.75rem;
  opacity: 0; visibility: hidden; transform: translateY(10px) scale(0.98);
  transition: opacity 0.2s, transform 0.2s var(--hm-ease), visibility 0.2s;
}
.hm-nav__item:hover .hm-dropdown,
.hm-nav__item:focus-within .hm-dropdown { opacity: 1; visibility: visible; transform: none; }
.hm-dropdown__panel {
  width: 18rem; border-radius: 1rem; border: 1px solid var(--hm-line); background: #fff; padding: 0.5rem;
  box-shadow: 0 30px 80px -30px rgba(10, 21, 70, 0.45);
}
.hm-dropdown__link {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 0.75rem;
  border-radius: 0.75rem; padding: 0.625rem 0.75rem; transition: background-color 0.2s;
}
.hm-dropdown__link:hover { background: var(--hm-mist); }
.hm-dropdown__label { display: block; font-size: 0.875rem; font-weight: 600; color: var(--hm-navy-950); }
.hm-dropdown__desc { display: block; font-size: 0.75rem; color: var(--hm-ink-55); }
.hm-dropdown__link svg { width: 1rem; height: 1rem; margin-top: 0.15rem; color: var(--hm-royal); opacity: 0; transition: opacity 0.2s; flex-shrink: 0; }
.hm-dropdown__link:hover svg { opacity: 1; }

.hm-header__actions { display: flex; align-items: center; gap: 0.5rem; }
.hm-header__login {
  display: none; align-items: center; gap: 0.375rem; white-space: nowrap;
  border-radius: 999px; padding: 0.5rem 1rem; font-size: 13px; font-weight: 600; color: rgba(255, 255, 255, 0.85);
  transition: background-color 0.25s, color 0.25s;
}
.hm-header__login svg { width: 1rem; height: 1rem; }
.hm-header__login:hover { background: rgba(255, 255, 255, 0.1); }
@media (min-width: 768px) { .hm-header__login { display: inline-flex; } }
.hm-header.is-light .hm-header__login { color: var(--hm-navy-950); }
.hm-header.is-light .hm-header__login:hover { background: rgba(10, 21, 70, 0.05); }
.hm-header__join {
  display: none; white-space: nowrap; border-radius: 999px; padding: 0.5rem 1rem; font-size: 13px; font-weight: 600;
  background: var(--hm-gold); color: var(--hm-navy-950);
  box-shadow: 0 10px 25px -10px rgba(247, 197, 49, 0.8); transition: transform 0.3s var(--hm-ease), background-color 0.3s;
}
.hm-header__join:hover { transform: translateY(-2px); background: var(--hm-gold-dark); }
@media (min-width: 640px) { .hm-header__join { display: inline-flex; } }
.hm-burger {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.5rem; height: 2.5rem; border: 0; border-radius: 999px; background: transparent; color: #fff;
}
.hm-burger svg { width: 1.25rem; height: 1.25rem; }
.hm-burger:hover { background: rgba(255, 255, 255, 0.1); }
.hm-header.is-light .hm-burger { color: var(--hm-navy-950); }
.hm-header.is-light .hm-burger:hover { background: rgba(10, 21, 70, 0.05); }
@media (min-width: 1024px) { .hm-burger { display: none; } }

/* Mobile overlay */
.hm-mobile {
  position: fixed; inset: 0; z-index: 60;
  background: rgba(5, 11, 36, 0.96); color: #fff;
  -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px);
  opacity: 0; visibility: hidden; transition: opacity 0.3s, visibility 0.3s;
}
.hm-mobile.is-open { opacity: 1; visibility: visible; }
.hm-mobile__inner { display: flex; flex-direction: column; height: 100%; overflow-y: auto; padding: 1.25rem 1.5rem; }
.hm-mobile__top { display: flex; align-items: center; justify-content: space-between; }
.hm-mobile__close {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.5rem; height: 2.5rem; border: 0; border-radius: 999px; background: rgba(255, 255, 255, 0.1); color: #fff;
}
.hm-mobile__close svg { width: 1.25rem; height: 1.25rem; }
.hm-mobile__nav { margin-top: 2.5rem; }
.hm-mobile__item { opacity: 0; transform: translateX(-16px); transition: opacity 0.4s, transform 0.4s var(--hm-ease); }
.hm-mobile.is-open .hm-mobile__item { opacity: 1; transform: none; }
.hm-mobile__link {
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1); padding-block: 1rem;
  font-family: var(--hm-font-display); font-size: 1.5rem; font-weight: 600;
}
.hm-mobile__link svg { width: 1.25rem; height: 1.25rem; color: var(--hm-gold); }
.hm-mobile__sub { display: flex; flex-wrap: wrap; gap: 0.5rem; padding-block: 0.75rem; }
.hm-mobile__sub a { border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.15); padding: 0.375rem 0.75rem; font-size: 0.75rem; color: rgba(255, 255, 255, 0.8); }
.hm-mobile__cta { margin-top: auto; display: grid; gap: 0.75rem; padding-top: 2.5rem; }
.hm-mobile__cta a { border-radius: 999px; padding: 0.875rem; text-align: center; font-weight: 600; }
.hm-mobile__cta a:first-child { background: var(--hm-gold); color: var(--hm-navy-950); }
.hm-mobile__cta a:last-child { border: 1px solid rgba(255, 255, 255, 0.2); }
body.hm-lock { overflow: hidden; }

/* ==========================================================================
   Footer
   ========================================================================== */
.hm-footer { position: relative; overflow: hidden; background: var(--hm-navy-950); color: #fff; }
.hm-footer__top {
  display: grid; gap: 3rem; padding-block: 4rem; border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
@media (min-width: 1024px) { .hm-footer__top { grid-template-columns: 1.4fr 1fr; align-items: center; } }
.hm-footer__title { font-family: var(--hm-font-display); font-size: clamp(1.875rem, 3.4vw, 2.25rem); font-weight: 700; line-height: 1.15; }
.hm-footer__cols { display: grid; gap: 2.5rem; padding-block: 3.5rem; }
@media (min-width: 768px) { .hm-footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .hm-footer__cols { grid-template-columns: 1.3fr repeat(4, minmax(0, 1fr)); } }
.hm-footer__logo { height: 3.5rem; width: auto; }
.hm-footer__tagline { margin-top: 1rem; max-width: 20rem; font-size: 0.875rem; line-height: 1.65; color: rgba(255, 255, 255, 0.6); }
.hm-footer__heading { font-size: 11px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--hm-gold); }
.hm-footer__links { margin-top: 1rem; display: grid; gap: 0.625rem; }
.hm-footer__links a { font-size: 0.875rem; color: rgba(255, 255, 255, 0.7); transition: color 0.2s; }
.hm-footer__links a:hover { color: #fff; }
.hm-social { margin-top: 1.25rem; display: flex; gap: 0.5rem; }
.hm-social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.5rem; height: 2.5rem; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.15);
  transition: background-color 0.2s;
}
.hm-social a:hover { background: rgba(255, 255, 255, 0.1); }
.hm-social svg { width: 1rem; height: 1rem; }
.hm-footer__bottom {
  display: flex; flex-direction: column; gap: 1.5rem; padding-block: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1); font-size: 0.75rem; color: rgba(255, 255, 255, 0.5);
}
@media (min-width: 768px) { .hm-footer__bottom { flex-direction: row; align-items: center; justify-content: space-between; } }
.hm-footer__legal { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; }
.hm-footer__legal a:hover { color: #fff; }
.hm-footer__credit { display: flex; align-items: center; gap: 0.75rem; }
.hm-footer__credit img { height: 1.25rem; width: auto; opacity: 0.9; }

/* ==========================================================================
   Home hero
   ========================================================================== */
.hm-hero {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--hm-navy-950); color: #fff;
  padding-top: 8rem;
}
@media (min-width: 640px) { .hm-hero { padding-top: 9rem; } }
@media (min-width: 1024px) { .hm-hero { padding-top: 10rem; min-height: 100svh; } }
.hm-hero::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 16rem; z-index: -1;
  background: linear-gradient(to top, var(--hm-navy-950), transparent);
}
.hm-hero__grid { display: grid; gap: 3.5rem; align-items: center; }
@media (min-width: 1024px) { .hm-hero__grid { grid-template-columns: 1.05fr 0.95fr; gap: 2.5rem; } }
.hm-hero__pill {
  display: inline-flex; align-items: center; gap: 0.5rem;
  border-radius: 999px; padding: 0.375rem 0.875rem; font-size: 0.75rem; font-weight: 500; color: rgba(255, 255, 255, 0.85);
}
.hm-hero__pill svg { width: 0.875rem; height: 0.875rem; color: var(--hm-gold); }
.hm-hero__title { margin-top: 1.5rem; }
.hm-hero__body { margin-top: 1.5rem; max-width: 36rem; font-size: 1.0625rem; line-height: 1.65; color: rgba(255, 255, 255, 0.7); }
@media (min-width: 640px) { .hm-hero__body { font-size: 1.125rem; } }
.hm-hero__ctas { margin-top: 2rem; }
.hm-hero__login { margin-left: 0.25rem; display: inline-flex; align-items: center; gap: 0.25rem; font-size: 0.875rem; font-weight: 500; color: rgba(255, 255, 255, 0.7); }
.hm-hero__login svg { width: 1rem; height: 1rem; }
.hm-hero__login:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.hm-hero__trust { margin-top: 2.5rem; display: flex; flex-wrap: wrap; gap: 0.75rem 2rem; font-size: 0.875rem; color: rgba(255, 255, 255, 0.6); }
.hm-hero__trust span { display: inline-flex; align-items: center; gap: 0.5rem; }
.hm-hero__trust svg { width: 1rem; height: 1rem; color: var(--hm-gold); }
.hm-hero__media { position: relative; margin-inline: auto; width: 100%; max-width: 560px; }
@media (min-width: 1024px) { .hm-hero__media { max-width: none; } }
.hm-hero__photo {
  position: relative; overflow: hidden; aspect-ratio: 4 / 5; border-radius: var(--hm-radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.1); box-shadow: 0 50px 120px -40px rgba(0, 0, 0, 0.7);
  animation: hm-photo-in 1.1s var(--hm-ease) 0.3s both;
}
@media (min-width: 640px) { .hm-hero__photo { aspect-ratio: 1 / 1; } }
.hm-hero__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hm-hero__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(5, 11, 36, 0.8), rgba(5, 11, 36, 0.1) 50%, transparent); }
.hm-hero__caption { position: absolute; inset: auto 1.25rem 1.25rem 1.25rem; z-index: 1; }
.hm-hero__caption small { display: block; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--hm-gold); }
.hm-hero__caption strong { display: block; margin-top: 0.25rem; font-family: var(--hm-font-display); font-size: 1.25rem; font-weight: 600; }
.hm-hero__caption span { display: block; font-size: 0.875rem; color: rgba(255, 255, 255, 0.7); }
.hm-float-card { position: absolute; display: none; border-radius: 1rem; padding: 1rem; z-index: 2; }
@media (min-width: 640px) { .hm-float-card { display: block; } }
.hm-float-card--cpd { left: -1rem; top: 2.5rem; width: 14rem; animation: hm-slide-in-l 0.9s var(--hm-ease) 0.9s both, hm-float 7s ease-in-out 1.8s infinite; }
.hm-float-card--price { right: -0.75rem; bottom: 6rem; width: 15rem; animation: hm-slide-in-r 0.9s var(--hm-ease) 1.1s both, hm-float 9s ease-in-out 2s infinite; }
@media (min-width: 1024px) { .hm-float-card--cpd { left: -2.5rem; } .hm-float-card--price { right: -2rem; } }
.hm-float-card__row { display: flex; align-items: center; gap: 0.75rem; }
.hm-float-card__icon { display: flex; align-items: center; justify-content: center; width: 2.5rem; height: 2.5rem; border-radius: 0.75rem; background: rgba(247, 197, 49, 0.2); color: var(--hm-gold); }
.hm-float-card__icon svg { width: 1.25rem; height: 1.25rem; }
.hm-float-card small { display: block; font-size: 0.75rem; color: rgba(255, 255, 255, 0.6); }
.hm-float-card strong { font-family: var(--hm-font-display); font-size: 1.125rem; font-weight: 600; }
.hm-float-card__price { margin-top: 0.25rem; display: flex; align-items: baseline; gap: 0.375rem; }
.hm-float-card__price b { font-family: var(--hm-font-display); font-size: 1.5rem; font-weight: 700; color: var(--hm-gold); }
.hm-float-card__price span { font-size: 0.75rem; color: rgba(255, 255, 255, 0.6); }
.hm-float-card__foot { font-size: 11px; color: rgba(255, 255, 255, 0.45); }
.hm-float-card a { margin-top: 0.5rem; display: inline-flex; align-items: center; gap: 0.25rem; font-size: 0.75rem; font-weight: 600; color: var(--hm-sky); }
.hm-float-card a svg { width: 0.875rem; height: 0.875rem; }
.hm-progress { margin-top: 0.75rem; height: 6px; overflow: hidden; border-radius: 999px; background: rgba(255, 255, 255, 0.1); }
.hm-progress span { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--hm-gold), var(--hm-sky)); width: 0; transition: width 1.4s var(--hm-ease) 1.4s; }
.hm-anim-ready .hm-progress span { width: var(--hm-progress, 90%); }
.hm-hero__marquee { position: relative; margin-top: 4rem; border-top: 1px solid rgba(255, 255, 255, 0.1); padding-block: 1.25rem; }
@media (min-width: 1024px) { .hm-hero__marquee { margin-top: 5rem; } }

/* Hero entrance stagger (runs once on load) */
.hm-hero__intro > * { animation: hm-rise 0.9s var(--hm-ease) both; }
.hm-hero__intro > *:nth-child(1) { animation-delay: 0.2s; }
.hm-hero__intro > *:nth-child(2) { animation-delay: 0.32s; }
.hm-hero__intro > *:nth-child(3) { animation-delay: 0.44s; }
.hm-hero__intro > *:nth-child(4) { animation-delay: 0.56s; }
.hm-hero__intro > *:nth-child(5) { animation-delay: 0.68s; }

/* ==========================================================================
   Inner page hero
   ========================================================================== */
.hm-page-hero {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--hm-navy-950); color: #fff;
  padding-top: 9rem; padding-bottom: 5rem;
}
@media (min-width: 640px) { .hm-page-hero { padding-top: 11rem; } }
@media (min-width: 1024px) { .hm-page-hero { padding-bottom: 7rem; } }
.hm-page-hero--compact { padding-top: 8rem; padding-bottom: 3.5rem; }
@media (min-width: 640px) { .hm-page-hero--compact { padding-top: 9rem; } }
.hm-page-hero__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; opacity: 0.25; }
.hm-page-hero__overlay { position: absolute; inset: 0; z-index: -1; background: linear-gradient(to bottom, rgba(5, 11, 36, 0.7), rgba(5, 11, 36, 0.8), var(--hm-navy-950)); }
.hm-page-hero__content { max-width: 48rem; animation: hm-rise 0.8s var(--hm-ease) both; }
.hm-page-hero__content .hm-h1 { margin-top: 1rem; }
.hm-page-hero__content .hm-lead { margin-top: 1.5rem; max-width: 42rem; }
.hm-page-hero__content .hm-actions { margin-top: 2rem; }
.hm-page-hero .hm-blob { z-index: -1; }

/* ==========================================================================
   Audience router
   ========================================================================== */
.hm-audience-card {
  position: relative; display: flex; flex-direction: column; height: 100%;
  border-radius: var(--hm-radius); border: 1px solid var(--hm-line); background: #fff;
  padding: 2rem; box-shadow: var(--hm-shadow-card); transition: box-shadow 0.4s;
}
.hm-audience-card:hover { box-shadow: var(--hm-shadow-card-hover); }
.hm-audience-card__glow { position: absolute; inset: 0 0 auto 0; height: 10rem; border-radius: var(--hm-radius) var(--hm-radius) 0 0; opacity: 0.7; }
.hm-audience-card--gold .hm-audience-card__glow { background: linear-gradient(to bottom, rgba(247, 197, 49, 0.3), transparent); }
.hm-audience-card--sky .hm-audience-card__glow { background: linear-gradient(to bottom, rgba(56, 189, 248, 0.3), transparent); }
.hm-audience-card--royal .hm-audience-card__glow { background: linear-gradient(to bottom, rgba(33, 64, 217, 0.25), transparent); }
.hm-audience-card > * { position: relative; }
.hm-audience-card__icon { display: inline-flex; align-items: center; justify-content: center; width: 3rem; height: 3rem; border-radius: 1rem; background: #fff; box-shadow: 0 8px 20px -8px rgba(10, 21, 70, 0.35); }
.hm-audience-card__icon svg { width: 1.25rem; height: 1.25rem; }
.hm-audience-card--gold .hm-audience-card__icon { color: var(--hm-gold-dark); }
.hm-audience-card--sky .hm-audience-card__icon { color: var(--hm-sky); }
.hm-audience-card--royal .hm-audience-card__icon { color: var(--hm-royal); }
.hm-audience-card__eyebrow { margin-top: 2rem; font-size: 11px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--hm-ink-55); }
.hm-audience-card__title { margin-top: 0.5rem; font-family: var(--hm-font-display); font-size: 1.5rem; font-weight: 700; line-height: 1.2; color: var(--hm-navy-950); }
.hm-audience-card__body { margin-top: 0.75rem; flex: 1; font-size: 0.875rem; line-height: 1.65; color: var(--hm-ink-65); }
.hm-audience-card__cta { margin-top: 1.5rem; display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; font-weight: 600; color: var(--hm-royal); }
.hm-audience-card__cta span { display: inline-flex; align-items: center; justify-content: center; width: 1.75rem; height: 1.75rem; border-radius: 999px; background: rgba(33, 64, 217, 0.1); transition: background-color 0.3s, color 0.3s; }
.hm-audience-card__cta svg { width: 1rem; height: 1rem; }
.hm-audience-card:hover .hm-audience-card__cta span { background: var(--hm-royal); color: #fff; }

/* ==========================================================================
   Stats / proof
   ========================================================================== */
.hm-stats { margin-top: 2.5rem; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
.hm-stat { border-left: 2px solid var(--hm-gold); padding-left: 1.25rem; }
.hm-stat__value { font-family: var(--hm-font-display); font-size: clamp(2.25rem, 4.5vw, 3rem); font-weight: 700; line-height: 1.1; color: var(--hm-navy-950); }
.hm-stat__label { margin-top: 0.25rem; font-size: 0.875rem; color: var(--hm-ink-55); }
.hm-on-dark .hm-stat__value { color: #fff; }
.hm-on-dark .hm-stat__label { color: rgba(255, 255, 255, 0.6); }

.hm-photo { position: relative; overflow: hidden; border-radius: var(--hm-radius-lg); box-shadow: 0 40px 100px -40px rgba(10, 21, 70, 0.5); }
.hm-photo img { width: 100%; height: 100%; object-fit: cover; }
.hm-photo--43 { aspect-ratio: 4 / 3; }
.hm-photo--45 { aspect-ratio: 4 / 5; }
.hm-photo--wide { aspect-ratio: 16 / 9; }
.hm-photo--zoom img { transition: transform 0.7s var(--hm-ease); }
.hm-photo--zoom:hover img { transform: scale(1.05); }
.hm-media { position: relative; }
.hm-note {
  border-radius: 1rem; border: 1px solid var(--hm-line); background: #fff; padding: 1.25rem;
  box-shadow: 0 25px 50px -12px rgba(10, 21, 70, 0.3);
}
.hm-note small { display: block; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--hm-ink-55); }
.hm-note strong { display: block; margin-top: 0.25rem; max-width: 16rem; font-family: var(--hm-font-display); font-size: 1rem; font-weight: 600; line-height: 1.35; color: var(--hm-navy-950); }
.hm-note--dark { background: var(--hm-navy-950); color: #fff; border-color: transparent; padding: 1.5rem; max-width: 20rem; border-radius: var(--hm-radius); }
.hm-note--dark svg { width: 1.5rem; height: 1.5rem; color: var(--hm-gold); }
.hm-note--dark small { margin-top: 0.75rem; color: var(--hm-gold); }
.hm-note--dark strong { color: #fff; font-size: 1.125rem; }
.hm-media__note { position: absolute; z-index: 2; display: none; }
@media (min-width: 640px) { .hm-media__note { display: block; } }
.hm-media__note--bl { bottom: -2rem; left: -1.5rem; }
.hm-media__note--br { bottom: 2.5rem; right: -1rem; display: block; }
@media (min-width: 1024px) { .hm-media__note--bl { left: -3rem; } .hm-media__note--br { right: -2.5rem; } }

.hm-sectors { position: relative; margin-top: 5rem; }
.hm-sectors__label { margin-bottom: 1.25rem; text-align: center; font-size: 11px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--hm-ink-45); }

/* ==========================================================================
   Browser frame mock (HRIS)
   ========================================================================== */
.hm-browser-wrap { position: relative; }
.hm-browser-wrap::before {
  content: ""; position: absolute; inset: -1rem; border-radius: 2.5rem; z-index: 0; filter: blur(40px);
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.3), rgba(33, 64, 217, 0.2), rgba(247, 197, 49, 0.2));
}
.hm-browser { position: relative; z-index: 1; overflow: hidden; border-radius: 1.6rem; border: 1px solid rgba(255, 255, 255, 0.15); background: #fff; box-shadow: 0 60px 120px -40px rgba(0, 0, 0, 0.8); }
.hm-browser--light { border-color: var(--hm-line); box-shadow: 0 60px 120px -40px rgba(10, 21, 70, 0.5); }
.hm-browser__bar { display: flex; align-items: center; gap: 0.375rem; border-bottom: 1px solid var(--hm-line); background: var(--hm-mist); padding: 0.625rem 1rem; }
.hm-browser__dot { width: 10px; height: 10px; border-radius: 999px; }
.hm-browser__dot:nth-child(1) { background: #fb7185; }
.hm-browser__dot:nth-child(2) { background: var(--hm-gold); }
.hm-browser__dot:nth-child(3) { background: #34d399; }
.hm-browser__url { margin-left: 0.75rem; border-radius: 0.375rem; background: #fff; padding: 0.125rem 0.75rem; font-size: 10px; color: var(--hm-ink-55); }
.hm-browser img { width: 100%; }
.hm-browser-badge { position: absolute; z-index: 2; bottom: -1.5rem; left: 1.5rem; border-radius: 1rem; padding: 0.75rem 1rem; font-size: 0.875rem; }
@media (min-width: 640px) { .hm-browser-badge { left: 2.5rem; } }
.hm-browser-badge b { font-family: var(--hm-font-display); font-size: 1.125rem; color: var(--hm-gold); }
.hm-browser-badge span { color: rgba(255, 255, 255, 0.6); }
.hm-hris-note { display: inline-flex; align-items: center; gap: 0.375rem; font-size: 0.75rem; color: rgba(255, 255, 255, 0.55); }
.hm-hris-note svg { width: 1rem; height: 1rem; color: var(--hm-sky); }
.hm-mini { border-radius: 1rem; padding: 1rem; height: 100%; }
.hm-mini svg { width: 1.25rem; height: 1.25rem; color: var(--hm-gold); }
.hm-mini__title { margin-top: 0.75rem; font-family: var(--hm-font-display); font-size: 0.875rem; font-weight: 600; }
.hm-mini__body { margin-top: 0.25rem; font-size: 0.75rem; line-height: 1.6; color: rgba(255, 255, 255, 0.6); }

/* ==========================================================================
   Course cards + catalogue
   ========================================================================== */
.hm-course {
  position: relative; display: flex; flex-direction: column; height: 100%; overflow: hidden;
  border-radius: var(--hm-radius); border: 1px solid var(--hm-line); background: #fff;
  box-shadow: var(--hm-shadow-card); transition: transform 0.4s var(--hm-ease), box-shadow 0.4s;
}
.hm-course:hover { transform: translateY(-4px); box-shadow: var(--hm-shadow-card-hover); }
.hm-course__head { position: relative; overflow: hidden; min-height: 9rem; padding: 1.25rem; color: #fff; background: linear-gradient(135deg, var(--c1, var(--hm-sky)), var(--c2, var(--hm-royal))); }
.hm-course__head::after { content: ""; position: absolute; right: 1.25rem; bottom: -2rem; width: 6rem; height: 6rem; border-radius: 999px; background: rgba(255, 255, 255, 0.15); filter: blur(16px); transition: transform 0.6s var(--hm-ease); }
.hm-course:hover .hm-course__head::after { transform: scale(1.5); }
.hm-course__tags { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; }
.hm-course__level { border-radius: 999px; background: rgba(255, 255, 255, 0.2); padding: 0.25rem 0.75rem; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.hm-course__credits { display: inline-flex; align-items: center; gap: 0.25rem; border-radius: 999px; background: rgba(5, 11, 36, 0.4); padding: 0.25rem 0.75rem; }
.hm-course__credits svg { width: 0.75rem; height: 0.75rem; color: var(--hm-gold); }
.hm-course__headtitle { position: relative; z-index: 1; margin-top: 2rem; font-family: var(--hm-font-display); font-size: 1.25rem; font-weight: 700; line-height: 1.3; }
.hm-course__body { display: flex; flex: 1; flex-direction: column; padding: 1.5rem; }
.hm-course__title { font-family: var(--hm-font-display); font-size: 1.125rem; font-weight: 700; line-height: 1.35; color: var(--hm-navy-950); }
.hm-course__summary { margin-top: 0.5rem; flex: 1; font-size: 0.875rem; line-height: 1.65; color: var(--hm-ink-65); }
.hm-course__summary--clamp { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.hm-course__outcomes { margin-top: 1rem; display: grid; gap: 0.375rem; }
.hm-course__outcomes li { display: flex; gap: 0.5rem; font-size: 0.75rem; color: var(--hm-ink-70); }
.hm-course__outcomes svg { flex-shrink: 0; width: 0.875rem; height: 0.875rem; margin-top: 0.15rem; color: var(--hm-royal); }
.hm-course__foot { margin-top: 1.25rem; display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; }
.hm-course__foot--rule { border-top: 1px solid var(--hm-line); padding-top: 1.25rem; margin-top: 1.5rem; }
.hm-course__label { font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--hm-ink-45); }
.hm-course__price { display: flex; align-items: baseline; gap: 0.5rem; }
.hm-course__price b { font-family: var(--hm-font-display); font-size: 1.5rem; font-weight: 700; color: var(--hm-navy-950); }
.hm-course__price s { font-size: 0.875rem; color: rgba(11, 18, 48, 0.4); }
.hm-course__price i { font-style: normal; font-size: 0.75rem; color: var(--hm-ink-45); }
.hm-course__meta { display: inline-flex; align-items: center; gap: 0.25rem; font-size: 0.75rem; color: var(--hm-ink-55); white-space: nowrap; }
.hm-course__meta svg { width: 0.875rem; height: 0.875rem; }
.hm-course .hm-btn { margin-top: 1rem; }

.hm-gr-sky-royal { --c1: #38bdf8; --c2: #2140d9; }
.hm-gr-gold-orange { --c1: #f7c531; --c2: #fb923c; }
.hm-gr-navy-royal { --c1: #16308f; --c2: #2140d9; }
.hm-gr-emerald-sky { --c1: #34d399; --c2: #38bdf8; }
.hm-gr-rose-gold { --c1: #fb7185; --c2: #f7c531; }
.hm-gr-violet-royal { --c1: #8b5cf6; --c2: #2140d9; }

.hm-filterbar {
  display: flex; flex-direction: column; gap: 1rem;
  border-radius: var(--hm-radius); border: 1px solid var(--hm-line); background: #fff; padding: 1rem;
}
@media (min-width: 640px) { .hm-filterbar { flex-direction: row; align-items: center; justify-content: space-between; } }
.hm-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.hm-chip {
  border: 0; border-radius: 999px; padding: 0.5rem 1rem;
  font-size: 0.75rem; font-weight: 600; background: var(--hm-mist); color: var(--hm-navy-950);
  transition: background-color 0.2s, color 0.2s;
}
.hm-chip:hover { background: rgba(10, 21, 70, 0.1); }
.hm-chip.is-active { background: var(--hm-navy-950); color: #fff; }
.hm-chip--white { background: #fff; }
.hm-range { display: flex; align-items: center; gap: 0.75rem; font-size: 0.75rem; color: var(--hm-ink-55); }
.hm-range input { accent-color: var(--hm-royal); }
.hm-range b { width: 1.5rem; font-family: var(--hm-font-display); color: var(--hm-navy-950); }
.hm-empty { margin-top: 2.5rem; text-align: center; font-size: 0.875rem; color: var(--hm-ink-55); }
.hm-empty--box { border: 1px dashed rgba(10, 21, 70, 0.2); border-radius: var(--hm-radius); padding: 2.5rem; }
[data-filter-item].is-hidden { display: none !important; }

/* ==========================================================================
   Conference
   ========================================================================== */
.hm-countdown { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.hm-countdown__cell { min-width: 4rem; border-radius: 1rem; padding: 0.75rem; text-align: center; }
.hm-countdown__num { display: block; font-family: var(--hm-font-display); font-size: 1.5rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.hm-countdown__lbl { display: block; font-size: 10px; text-transform: uppercase; letter-spacing: 0.06em; color: rgba(255, 255, 255, 0.55); }
.hm-countdown--light .hm-countdown__cell { border: 1px solid var(--hm-line); background: #fff; }
.hm-countdown--light .hm-countdown__num { color: var(--hm-navy-950); }
.hm-countdown--light .hm-countdown__lbl { color: var(--hm-ink-55); }

.hm-conf { position: relative; overflow: hidden; background: var(--hm-navy-900); color: #fff; }
.hm-conf__bg { position: absolute; inset: -12% 0; z-index: 0; }
.hm-conf__bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.3; }
.hm-conf__shade { position: absolute; inset: 0; z-index: 0; background: linear-gradient(90deg, var(--hm-navy-950), rgba(5, 11, 36, 0.85), rgba(10, 21, 70, 0.4)); }
.hm-conf__meta { margin-top: 1.5rem; display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; font-size: 0.875rem; color: rgba(255, 255, 255, 0.7); }
.hm-conf__meta span { display: inline-flex; align-items: center; gap: 0.5rem; }
.hm-conf__meta svg { width: 1rem; height: 1rem; color: var(--hm-gold); }
.hm-conf__title { font-size: clamp(2.25rem, 5.5vw, 3.75rem); line-height: 1.02; }
.hm-passcard { border-radius: var(--hm-radius); padding: 1.5rem; }
@media (min-width: 640px) { .hm-passcard { padding: 2rem; } }
.hm-passcard__label { display: flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; font-weight: 600; color: var(--hm-gold); }
.hm-passcard__label svg { width: 1rem; height: 1rem; }
.hm-price-rows { margin-top: 1rem; display: grid; gap: 0.75rem; }
.hm-price-row { display: flex; align-items: center; justify-content: space-between; border-radius: 1rem; background: rgba(255, 255, 255, 0.05); padding: 0.75rem 1rem; }
.hm-price-row--hl { background: var(--hm-gold); color: var(--hm-navy-950); }
.hm-price-row__tier { font-family: var(--hm-font-display); font-weight: 600; }
.hm-price-row__amt { display: flex; align-items: baseline; gap: 0.25rem; }
.hm-price-row__amt b { font-family: var(--hm-font-display); font-size: 1.5rem; font-weight: 700; }
.hm-price-row__amt small { font-size: 0.75rem; opacity: 0.6; }

.hm-feature-link { position: relative; display: block; overflow: hidden; border-radius: var(--hm-radius-xl); background: var(--hm-navy-950); color: #fff; box-shadow: 0 50px 100px -40px rgba(10, 21, 70, 0.7); }
.hm-feature-link > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.3; transition: transform 1.5s var(--hm-ease); }
.hm-feature-link:hover > img { transform: scale(1.05); }
.hm-feature-link__shade { position: absolute; inset: 0; background: linear-gradient(90deg, var(--hm-navy-950), rgba(5, 11, 36, 0.85), rgba(5, 11, 36, 0.3)); }
.hm-feature-link__grid { position: relative; display: grid; gap: 2.5rem; padding: 2rem; }
@media (min-width: 640px) { .hm-feature-link__grid { padding: 3rem; } }
@media (min-width: 1024px) { .hm-feature-link__grid { grid-template-columns: 1.2fr 0.8fr; padding: 4rem; } }
.hm-feature-link__price { display: flex; flex-direction: column; justify-content: flex-end; gap: 0.75rem; }
@media (min-width: 1024px) { .hm-feature-link__price { align-items: flex-end; } }
.hm-feature-link__price b { font-family: var(--hm-font-display); font-size: 3rem; font-weight: 700; line-height: 1; color: var(--hm-gold); }
.hm-feature-link__cta { margin-top: 0.5rem; display: inline-flex; align-items: center; gap: 0.5rem; border-radius: 999px; background: #fff; padding: 0.75rem 1.25rem; font-size: 0.875rem; font-weight: 600; color: var(--hm-navy-950); }
.hm-feature-link__cta svg { width: 1rem; height: 1rem; }

.hm-infostrip { display: flex; gap: 1rem; border-radius: var(--hm-radius); border: 1px solid var(--hm-line); background: #fff; padding: 1.5rem; height: 100%; }
.hm-infostrip svg { flex-shrink: 0; width: 1.5rem; height: 1.5rem; color: var(--hm-gold-dark); }
.hm-infostrip strong { display: block; font-family: var(--hm-font-display); font-weight: 700; color: var(--hm-navy-950); }
.hm-infostrip span { display: block; font-size: 0.875rem; color: var(--hm-ink-55); }

.hm-agenda { border-radius: var(--hm-radius-lg); border: 1px solid var(--hm-line); background: #fff; padding: 2rem; height: 100%; }
.hm-agenda__day { font-family: var(--hm-font-display); font-size: 1.125rem; font-weight: 700; color: var(--hm-navy-950); }
.hm-agenda ol { margin-top: 1.25rem; display: grid; gap: 0.75rem; }
.hm-agenda li { display: flex; gap: 1rem; font-size: 0.875rem; color: rgba(11, 18, 48, 0.75); }
.hm-agenda li b { width: 1.5rem; flex-shrink: 0; font-family: var(--hm-font-display); font-size: 0.75rem; color: var(--hm-royal); }

.hm-table-wrap { overflow-x: auto; border-radius: var(--hm-radius-lg); border: 1px solid rgba(255, 255, 255, 0.1); }
.hm-table { width: 100%; min-width: 34rem; border-collapse: collapse; text-align: left; font-size: 0.875rem; }
.hm-table thead { background: rgba(255, 255, 255, 0.05); font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; color: rgba(255, 255, 255, 0.6); }
.hm-table th, .hm-table td { padding: 1.25rem; }
.hm-table th:not(:first-child), .hm-table td:not(:first-child) { text-align: center; }
.hm-table tbody tr { border-top: 1px solid rgba(255, 255, 255, 0.1); transition: background-color 0.2s; }
.hm-table tbody tr:hover { background: rgba(255, 255, 255, 0.05); }
.hm-table td:first-child { font-family: var(--hm-font-display); font-weight: 600; }
.hm-table td.is-num { font-family: var(--hm-font-display); font-size: 1.25rem; font-weight: 700; }
.hm-table .is-hl { color: var(--hm-gold); }
.hm-table td.is-hl { background: rgba(247, 197, 49, 0.1); }

/* ==========================================================================
   Lead magnet
   ========================================================================== */
.hm-magnet { display: grid; overflow: hidden; border-radius: var(--hm-radius-xl); border: 1px solid var(--hm-line); background: var(--hm-mist); }
@media (min-width: 1024px) { .hm-magnet { grid-template-columns: 1fr 1fr; } }
.hm-magnet__media { position: relative; min-height: 320px; }
.hm-magnet__media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hm-magnet__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(5, 11, 36, 0.7), transparent); }
@media (min-width: 1024px) { .hm-magnet__media::after { background: linear-gradient(to right, rgba(5, 11, 36, 0.7), transparent); } }
.hm-magnet__badge { position: absolute; z-index: 1; inset: auto 1.5rem 1.5rem 1.5rem; display: flex; align-items: center; gap: 0.75rem; border-radius: 1rem; border: 1px solid rgba(255, 255, 255, 0.2); background: rgba(255, 255, 255, 0.1); padding: 1rem; color: #fff; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.hm-magnet__badge small { display: block; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--hm-gold); }
.hm-magnet__badge strong { display: block; font-family: var(--hm-font-display); font-weight: 600; line-height: 1.3; }
.hm-magnet__body { display: flex; flex-direction: column; justify-content: center; padding: 2rem; }
@media (min-width: 640px) { .hm-magnet__body { padding: 3rem; } }
.hm-magnet__meta { margin-top: 1rem; display: flex; flex-wrap: wrap; gap: 0.25rem 1.25rem; font-size: 0.75rem; color: var(--hm-ink-55); }
.hm-magnet__meta span { display: inline-flex; align-items: center; gap: 0.25rem; }
.hm-magnet__meta svg { width: 0.875rem; height: 0.875rem; }

/* ==========================================================================
   Insights
   ========================================================================== */
.hm-insight {
  position: relative; display: flex; flex-direction: column; overflow: hidden; height: 100%;
  border-radius: var(--hm-radius); border: 1px solid var(--hm-line); background: #fff;
  box-shadow: var(--hm-shadow-card); transition: transform 0.4s var(--hm-ease);
}
.hm-insight:hover { transform: translateY(-4px); }
.hm-insight__img { position: relative; height: 11rem; overflow: hidden; background: var(--hm-mist); }
.hm-insight__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--hm-ease); }
.hm-insight:hover .hm-insight__img img { transform: scale(1.05); }
.hm-insight__body { position: relative; padding: 1.5rem; display: flex; flex-direction: column; flex: 1; }
.hm-insight__meta { display: flex; align-items: center; gap: 0.75rem; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--hm-royal); }
.hm-insight__meta span { display: inline-flex; align-items: center; gap: 0.25rem; font-weight: 400; text-transform: none; letter-spacing: 0; color: var(--hm-ink-45); }
.hm-insight__meta svg { width: 0.75rem; height: 0.75rem; }
.hm-insight__title { margin-top: 0.5rem; font-family: var(--hm-font-display); font-size: 1.125rem; font-weight: 700; line-height: 1.35; color: var(--hm-navy-950); }
.hm-insight__excerpt { margin-top: 0.5rem; font-size: 0.875rem; color: var(--hm-ink-65); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hm-insight__more { margin-top: auto; padding-top: 1rem; display: inline-flex; align-items: center; gap: 0.25rem; font-size: 0.875rem; font-weight: 600; color: var(--hm-royal); }
.hm-insight__more svg { width: 1rem; height: 1rem; transition: transform 0.3s var(--hm-ease); }
.hm-insight:hover .hm-insight__more svg { transform: translate(2px, -2px); }
.hm-insight--large { min-height: 420px; justify-content: flex-end; color: #fff; }
.hm-insight--large .hm-insight__img { position: absolute; inset: 0; height: auto; }
.hm-insight--large .hm-insight__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, var(--hm-navy-950), rgba(5, 11, 36, 0.4), transparent); }
.hm-insight--large .hm-insight__body { flex: 0; }
.hm-insight--large .hm-insight__meta { color: var(--hm-gold); }
.hm-insight--large .hm-insight__meta span { color: rgba(255, 255, 255, 0.6); }
.hm-insight--large .hm-insight__title { color: #fff; font-size: clamp(1.5rem, 3vw, 1.875rem); }
.hm-insight--large .hm-insight__excerpt { color: rgba(255, 255, 255, 0.7); }
.hm-insight--large .hm-insight__more { color: var(--hm-gold); }
.hm-insights-split { display: grid; gap: 1.5rem; }
@media (min-width: 1024px) { .hm-insights-split { grid-template-columns: 1.2fr 1fr; } }
.hm-insights-split__list { display: grid; gap: 1.5rem; }
.hm-insight-row { display: flex; gap: 1rem; border-radius: 1rem; border: 1px solid var(--hm-line); background: #fff; padding: 0.75rem; transition: transform 0.3s var(--hm-ease), box-shadow 0.3s; }
.hm-insight-row:hover { transform: translateY(-2px); box-shadow: 0 10px 30px -15px rgba(10, 21, 70, 0.3); }
.hm-insight-row__img { width: 6rem; height: 5rem; flex-shrink: 0; overflow: hidden; border-radius: 0.75rem; background: var(--hm-mist); }
.hm-insight-row__img img { width: 100%; height: 100%; object-fit: cover; }
.hm-insight-row small { display: block; font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--hm-royal); }
.hm-insight-row strong { margin-top: 0.25rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-family: var(--hm-font-display); font-size: 0.875rem; font-weight: 600; line-height: 1.35; color: var(--hm-navy-950); }
.hm-insight-row span { display: block; margin-top: 0.25rem; font-size: 0.75rem; color: var(--hm-ink-45); }

/* ==========================================================================
   Plans / pricing
   ========================================================================== */
.hm-plan {
  position: relative; display: flex; flex-direction: column; height: 100%;
  border-radius: var(--hm-radius-lg); padding: 2rem;
  border: 1px solid var(--hm-line); background: #fff; color: var(--hm-navy-950); box-shadow: var(--hm-shadow-card);
  transition: transform 0.4s var(--hm-ease);
}
.hm-plan--dark { background: var(--hm-navy-950); color: #fff; border-color: transparent; box-shadow: var(--hm-shadow-deep); }
.hm-plan--glass { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.12); color: #fff; box-shadow: none; -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }
.hm-plan--white-on-dark { background: #fff; color: var(--hm-navy-950); box-shadow: 0 50px 100px -40px rgba(0, 0, 0, 0.6); }
@media (min-width: 1024px) { .hm-plan--lift { transform: translateY(-1.5rem); } .hm-plan--lift-sm { transform: translateY(-0.75rem); } }
.hm-plan__badge { position: absolute; top: -0.875rem; left: 2rem; display: inline-flex; align-items: center; gap: 0.25rem; border-radius: 999px; padding: 0.25rem 0.75rem; font-size: 0.75rem; font-weight: 600; background: var(--hm-gold); color: var(--hm-navy-950); }
.hm-plan__badge svg { width: 0.875rem; height: 0.875rem; }
.hm-plan__badge--navy { background: var(--hm-navy-950); color: var(--hm-gold); }
.hm-plan__name { font-family: var(--hm-font-display); font-size: 0.875rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.2em; opacity: 0.7; }
.hm-plan__name--plain { text-transform: none; letter-spacing: -0.01em; font-size: 1.25rem; font-weight: 700; opacity: 1; }
.hm-plan__price { margin-top: 1rem; display: flex; align-items: baseline; gap: 0.375rem; }
.hm-plan__amount { font-family: var(--hm-font-display); font-size: 3rem; font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums; }
.hm-plan__amount.is-swap { animation: hm-rise-sm 0.3s var(--hm-ease) both; }
.hm-plan__period { font-size: 0.875rem; opacity: 0.6; }
.hm-plan__note { margin-top: 0.25rem; font-size: 0.75rem; opacity: 0.55; }
.hm-plan__tagline { margin-top: 1rem; font-size: 0.875rem; color: var(--hm-ink-65); }
.hm-plan--dark .hm-plan__tagline, .hm-plan--glass .hm-plan__tagline { color: rgba(255, 255, 255, 0.7); }
.hm-plan .hm-checklist { margin-top: 1.5rem; flex: 1; }
.hm-plan .hm-checklist li { color: rgba(11, 18, 48, 0.75); }
.hm-plan--dark .hm-checklist li, .hm-plan--glass .hm-checklist li { color: rgba(255, 255, 255, 0.85); }
.hm-plan .hm-btn { margin-top: 2rem; }

.hm-toggle-wrap { margin-top: 2.5rem; display: flex; justify-content: center; }
.hm-toggle { position: relative; display: inline-flex; align-items: center; gap: 0.25rem; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.15); background: rgba(255, 255, 255, 0.05); padding: 0.25rem; }
.hm-toggle__pill { position: absolute; top: 0.25rem; bottom: 0.25rem; left: 0.25rem; border-radius: 999px; background: var(--hm-royal); transition: transform 0.45s var(--hm-ease), width 0.45s var(--hm-ease); z-index: 0; }
.hm-toggle__btn { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 0.5rem; border: 0; border-radius: 999px; background: transparent; padding: 0.625rem 1.25rem; font-size: 0.875rem; font-weight: 600; color: rgba(255, 255, 255, 0.6); transition: color 0.25s; }
.hm-toggle__btn:hover { color: rgba(255, 255, 255, 0.85); }
.hm-toggle__btn[aria-pressed="true"] { color: #fff; }
.hm-toggle__badge { border-radius: 999px; background: var(--hm-gold); padding: 0.125rem 0.5rem; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: var(--hm-navy-950); }
.hm-addon { margin-top: 1.5rem; display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 1.25rem; border-radius: var(--hm-radius-lg); border: 1px solid rgba(255, 255, 255, 0.12); background: rgba(255, 255, 255, 0.05); padding: 1.75rem; }
@media (min-width: 640px) { .hm-addon { flex-direction: row; align-items: center; } }
.hm-addon__price { text-align: right; }
.hm-addon__price b { display: block; font-family: var(--hm-font-display); font-size: 1.875rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.hm-addon__price small { font-size: 0.75rem; color: rgba(255, 255, 255, 0.55); }
.hm-addon__right { display: flex; align-items: center; gap: 1.25rem; flex-shrink: 0; }

.hm-bundle { border-radius: var(--hm-radius); padding: 1.5rem; height: 100%; }
.hm-bundle--light { border: 1px solid var(--hm-line); background: var(--hm-cream); color: var(--hm-navy-950); }
.hm-bundle--navy { background: var(--hm-navy-950); color: #fff; }
.hm-bundle--glass { background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.12); color: #fff; }
.hm-bundle--gold { background: var(--hm-gold); color: var(--hm-navy-950); }
.hm-bundle svg { width: 1.5rem; height: 1.5rem; color: var(--hm-royal); }
.hm-bundle--navy svg, .hm-bundle--glass svg { color: var(--hm-gold); }
.hm-bundle--gold svg { color: var(--hm-navy-950); }
.hm-bundle__big { margin-top: 1rem; font-family: var(--hm-font-display); font-size: 1.875rem; font-weight: 700; }
.hm-bundle__line { margin-top: 0.25rem; font-size: 0.875rem; opacity: 0.7; }
.hm-bundle__note { margin-top: 0.5rem; font-size: 0.75rem; opacity: 0.6; }
.hm-bundle__save { margin-top: 0.75rem; display: inline-block; border-radius: 999px; padding: 0.25rem 0.625rem; font-size: 0.75rem; font-weight: 600; background: rgba(255, 255, 255, 0.1); color: var(--hm-gold); }
.hm-bundle--gold .hm-bundle__save { background: var(--hm-navy-950); color: var(--hm-gold); }

.hm-bank { display: grid; grid-template-columns: auto 1fr; gap: 0.5rem 1rem; font-size: 0.875rem; margin-top: 1.5rem; }
.hm-bank dt { color: var(--hm-ink-55); }
.hm-bank dd { margin: 0; font-weight: 500; color: var(--hm-navy-950); }
.hm-sticky { position: sticky; top: 7rem; }
.hm-numrows { display: grid; gap: 0.75rem; margin-top: 1.5rem; }
.hm-numrows li { display: flex; gap: 1rem; border-radius: 1rem; border: 1px solid var(--hm-line); background: #fff; padding: 1rem; font-size: 0.875rem; color: rgba(11, 18, 48, 0.75); }
.hm-numrows b { font-family: var(--hm-font-display); color: var(--hm-gold-dark); }

/* ==========================================================================
   Mission panels, quote band
   ========================================================================== */
.hm-panel { height: 100%; border-radius: var(--hm-radius-lg); padding: 2rem; }
@media (min-width: 640px) { .hm-panel { padding: 2.5rem; } }
.hm-panel .hm-h3 { margin-top: 1.5rem; font-size: 1.875rem; color: #fff; }
.hm-numlist { margin-top: 1.5rem; display: grid; gap: 1rem; }
.hm-numlist li { display: flex; gap: 1rem; color: rgba(255, 255, 255, 0.8); }
.hm-numlist b { margin-top: 0.125rem; font-family: var(--hm-font-display); font-size: 0.875rem; color: var(--hm-gold); }
.hm-numlist--sky b { color: var(--hm-sky); }

.hm-quote-band { display: grid; gap: 1.5rem; border-radius: var(--hm-radius-xl); border: 1px solid var(--hm-line); background: #fff; padding: 2rem; }
@media (min-width: 640px) { .hm-quote-band { padding: 3rem; } }
@media (min-width: 1024px) { .hm-quote-band { grid-template-columns: auto 1fr; gap: 2.5rem; } }
.hm-quote-band > svg { width: 2.5rem; height: 2.5rem; color: var(--hm-gold); }
.hm-quote-band p { margin-top: 1rem; font-size: 1.125rem; line-height: 1.7; color: rgba(11, 18, 48, 0.75); }

/* ==========================================================================
   Team + modal
   ========================================================================== */
.hm-team { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
@media (min-width: 640px) { .hm-team { gap: 1.5rem; } }
@media (min-width: 768px) { .hm-team { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.hm-team-card { position: relative; display: block; width: 100%; overflow: hidden; border: 0; padding: 0; border-radius: var(--hm-radius); background: var(--hm-navy-950); text-align: left; box-shadow: 0 20px 60px -40px rgba(10, 21, 70, 0.5); }
.hm-team-card__photo { position: relative; aspect-ratio: 4 / 5; }
.hm-team-card__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--hm-ease); }
.hm-team-card:hover .hm-team-card__photo img { transform: scale(1.05); }
.hm-team-card__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, var(--hm-navy-950), rgba(5, 11, 36, 0.2) 55%, transparent); }
.hm-team-card__text { position: absolute; inset: auto 0 0 0; z-index: 1; padding: 1rem; color: #fff; }
@media (min-width: 640px) { .hm-team-card__text { padding: 1.5rem; } }
.hm-team-card__role { display: block; font-size: 10px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--hm-gold); }
@media (min-width: 640px) { .hm-team-card__role { font-size: 11px; } }
.hm-team-card__name { display: block; margin-top: 0.25rem; font-family: var(--hm-font-display); font-size: 1.125rem; font-weight: 700; line-height: 1.2; }
@media (min-width: 640px) { .hm-team-card__name { font-size: 1.5rem; } }
.hm-team-card__more { margin-top: 0.5rem; display: inline-flex; align-items: center; gap: 0.25rem; font-size: 0.75rem; color: rgba(255, 255, 255, 0.7); opacity: 0; transition: opacity 0.3s; }
.hm-team-card__more svg { width: 0.75rem; height: 0.75rem; color: var(--hm-gold); }
.hm-team-card:hover .hm-team-card__more, .hm-team-card:focus-visible .hm-team-card__more { opacity: 1; }

.hm-modal { position: fixed; inset: 0; z-index: 70; display: flex; align-items: flex-end; justify-content: center; background: rgba(5, 11, 36, 0.8); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); opacity: 0; visibility: hidden; transition: opacity 0.3s, visibility 0.3s; }
@media (min-width: 640px) { .hm-modal { align-items: center; padding: 1.5rem; } }
.hm-modal.is-open { opacity: 1; visibility: visible; }
.hm-modal__dialog { position: relative; display: grid; width: 100%; max-width: 56rem; max-height: 92vh; overflow-y: auto; border-radius: 2rem 2rem 0 0; background: #fff; transform: translateY(60px) scale(0.98); transition: transform 0.35s var(--hm-ease); }
@media (min-width: 640px) { .hm-modal__dialog { border-radius: 2rem; } }
@media (min-width: 768px) { .hm-modal__dialog { grid-template-columns: 0.8fr 1.2fr; } }
.hm-modal.is-open .hm-modal__dialog { transform: none; }
.hm-modal__close { position: absolute; right: 1rem; top: 1rem; z-index: 2; display: inline-flex; align-items: center; justify-content: center; width: 2.5rem; height: 2.5rem; border: 0; border-radius: 999px; background: rgba(255, 255, 255, 0.9); color: var(--hm-navy-950); box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); }
.hm-modal__close svg { width: 1.25rem; height: 1.25rem; }
.hm-modal__photo { position: relative; aspect-ratio: 4 / 5; }
@media (min-width: 768px) { .hm-modal__photo { aspect-ratio: auto; min-height: 520px; } }
.hm-modal__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hm-modal__body { padding: 1.75rem; }
@media (min-width: 640px) { .hm-modal__body { padding: 2.5rem; } }
.hm-modal__role { font-size: 11px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--hm-royal); }
.hm-modal__name { margin-top: 0.5rem; font-family: var(--hm-font-display); font-size: 1.875rem; font-weight: 700; color: var(--hm-navy-950); }
.hm-modal__bio { margin-top: 1.25rem; display: grid; gap: 0.75rem; font-size: 0.875rem; line-height: 1.7; color: var(--hm-ink-70); }
.hm-modal__fact { margin-top: 1.5rem; border-radius: 1rem; background: var(--hm-cream); padding: 1rem; }
.hm-modal__fact small { display: block; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--hm-gold-dark); }
.hm-modal__fact p { margin-top: 0.25rem; font-size: 0.875rem; color: rgba(11, 18, 48, 0.75); }
.hm-modal__quote { margin-top: 1rem; display: flex; gap: 0.75rem; border-left: 2px solid var(--hm-gold); padding-left: 1rem; }
.hm-modal__quote svg { flex-shrink: 0; width: 1rem; height: 1rem; color: var(--hm-gold); }
.hm-modal__quote p { font-family: var(--hm-font-display); font-size: 0.875rem; font-style: italic; font-weight: 500; color: var(--hm-navy-950); }

/* ==========================================================================
   Accordion
   ========================================================================== */
.hm-accordion { border-top: 1px solid var(--hm-line); }
.hm-accordion__item { border-bottom: 1px solid var(--hm-line); }
.hm-accordion__q { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 1.5rem; border: 0; background: transparent; padding: 1.25rem 0; text-align: left; font-family: var(--hm-font-display); font-size: 1rem; font-weight: 600; color: var(--hm-navy-950); }
@media (min-width: 640px) { .hm-accordion__q { font-size: 1.125rem; } }
.hm-accordion__icon { display: inline-flex; flex-shrink: 0; align-items: center; justify-content: center; width: 2rem; height: 2rem; border-radius: 999px; background: rgba(10, 21, 70, 0.05); color: var(--hm-navy-950); transition: transform 0.3s var(--hm-ease), background-color 0.3s; }
.hm-accordion__icon svg { width: 1rem; height: 1rem; }
.hm-accordion__item.is-open .hm-accordion__icon { transform: rotate(45deg); background: var(--hm-gold); }
.hm-accordion__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.35s var(--hm-ease); }
.hm-accordion__item.is-open .hm-accordion__a { grid-template-rows: 1fr; }
.hm-accordion__a > div { overflow: hidden; }
.hm-accordion__a p { padding: 0 3rem 1.5rem 0; font-size: 0.875rem; line-height: 1.7; color: var(--hm-ink-65); }

/* ==========================================================================
   Forms
   ========================================================================== */
.hm-form { display: grid; gap: 0.75rem; }
@media (min-width: 640px) { .hm-form--2 { grid-template-columns: 1fr 1fr; } .hm-form--2 .hm-span-2 { grid-column: span 2; } }
.hm-field {
  width: 100%; border-radius: 1rem; border: 1px solid rgba(10, 21, 70, 0.15); background: var(--hm-mist);
  padding: 0.75rem 1rem; font: inherit; font-size: 0.875rem; color: var(--hm-navy-950); outline: none;
  transition: border-color 0.2s, background-color 0.2s, box-shadow 0.2s;
}
.hm-field::placeholder { color: rgba(11, 18, 48, 0.4); }
.hm-field:focus { border-color: var(--hm-royal); background: #fff; box-shadow: 0 0 0 4px rgba(33, 64, 217, 0.1); }
.hm-field--white { background: #fff; }
textarea.hm-field { resize: vertical; min-height: 6rem; }
.hm-form__label { margin-bottom: 0.5rem; font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--hm-ink-55); }
.hm-form__check { display: flex; align-items: center; gap: 0.5rem; font-size: 0.75rem; color: rgba(255, 255, 255, 0.6); }
.hm-form__check input { accent-color: var(--hm-gold); }
.hm-form__error { font-size: 0.875rem; color: #e11d48; }
.hm-on-dark .hm-form__error, .hm-form--dark .hm-form__error { color: #fda4af; }
.hm-form__fine { font-size: 11px; color: rgba(255, 255, 255, 0.45); }
.hm-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.hm-spin { animation: hm-spin 0.8s linear infinite; }
.hm-success { text-align: center; padding-block: 2.5rem; animation: hm-rise 0.5s var(--hm-ease) both; }
.hm-success__icon { margin-inline: auto; display: flex; align-items: center; justify-content: center; width: 3.5rem; height: 3.5rem; border-radius: 999px; background: var(--hm-gold); color: var(--hm-navy-950); }
.hm-success__icon svg { width: 1.5rem; height: 1.5rem; }
.hm-success h3 { margin-top: 1.25rem; font-size: 1.5rem; color: var(--hm-navy-950); }
.hm-success p { margin-top: 0.5rem; color: var(--hm-ink-55); }
.hm-success--dark { text-align: left; border-radius: 1rem; background: rgba(255, 255, 255, 0.1); padding: 1.5rem; margin-top: 2rem; }
.hm-success--dark strong { display: flex; align-items: center; gap: 0.5rem; font-family: var(--hm-font-display); }
.hm-success--dark svg { width: 1.25rem; height: 1.25rem; color: var(--hm-gold); }
.hm-success--dark p { margin-top: 0.5rem; font-size: 0.875rem; color: rgba(255, 255, 255, 0.7); }

.hm-newsletter { display: flex; flex-direction: column; gap: 0.75rem; width: 100%; }
@media (min-width: 640px) { .hm-newsletter { flex-direction: row; } }
.hm-newsletter .hm-field { flex: 1; border-radius: 999px; padding: 0.875rem 1.25rem; }
.hm-newsletter--dark .hm-field { border-color: rgba(255, 255, 255, 0.15); background: rgba(255, 255, 255, 0.05); color: #fff; }
.hm-newsletter--dark .hm-field::placeholder { color: rgba(255, 255, 255, 0.4); }
.hm-newsletter--dark .hm-field:focus { border-color: var(--hm-gold); background: rgba(255, 255, 255, 0.08); box-shadow: none; }
.hm-newsletter .hm-btn { padding: 0.875rem 1.5rem; }
.hm-newsletter__done { display: inline-flex; align-items: center; gap: 0.5rem; border-radius: 999px; padding: 0.875rem 1.25rem; font-size: 0.875rem; font-weight: 500; background: rgba(10, 21, 70, 0.05); color: var(--hm-navy-950); }
.hm-newsletter--dark + .hm-newsletter__done, .hm-on-dark .hm-newsletter__done { background: rgba(255, 255, 255, 0.1); color: #fff; }
.hm-newsletter__done svg { width: 1rem; height: 1rem; color: var(--hm-gold); }

.hm-demo { position: relative; overflow: hidden; border-radius: var(--hm-radius-lg); background: var(--hm-navy-950); color: #fff; padding: 2rem; box-shadow: var(--hm-shadow-deep); }
@media (min-width: 640px) { .hm-demo { padding: 2.5rem; } }
.hm-demo__head { display: flex; align-items: center; gap: 0.75rem; }
.hm-demo__head strong { display: block; font-family: var(--hm-font-display); font-size: 1.25rem; }
.hm-demo__head small { font-size: 0.75rem; color: rgba(255, 255, 255, 0.6); }
.hm-demo .hm-form { margin-top: 2rem; }
.hm-demo .hm-field { background: #fff; }
.hm-contact-card { border-radius: var(--hm-radius-lg); border: 1px solid var(--hm-line); background: #fff; padding: 2rem; box-shadow: 0 30px 80px -40px rgba(10, 21, 70, 0.35); }
@media (min-width: 640px) { .hm-contact-card { padding: 2.5rem; } }
.hm-contact-line { display: flex; align-items: center; gap: 1rem; border-radius: 1rem; border: 1px solid var(--hm-line); background: #fff; padding: 1rem; transition: box-shadow 0.3s; }
.hm-contact-line:hover { box-shadow: 0 10px 30px -15px rgba(10, 21, 70, 0.3); }
.hm-contact-line small { display: block; font-size: 0.75rem; color: var(--hm-ink-55); }
.hm-contact-line strong { font-weight: 600; color: var(--hm-navy-950); }
.hm-social-pill { display: inline-flex; align-items: center; gap: 0.5rem; border-radius: 999px; border: 1px solid rgba(10, 21, 70, 0.15); padding: 0.5rem 1rem; font-size: 0.875rem; font-weight: 500; color: var(--hm-navy-950); }
.hm-social-pill svg { width: 1rem; height: 1rem; }
.hm-social-pill:hover { background: #fff; }

/* ==========================================================================
   Resource library
   ========================================================================== */
.hm-library__bar { position: sticky; top: 5.5rem; z-index: 30; border-radius: var(--hm-radius); border: 1px solid var(--hm-line); background: rgba(255, 255, 255, 0.92); padding: 1rem; box-shadow: 0 10px 30px -15px rgba(10, 21, 70, 0.3); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.hm-library__search { position: relative; }
.hm-library__search svg { position: absolute; left: 1rem; top: 50%; width: 1.25rem; height: 1.25rem; transform: translateY(-50%); color: var(--hm-ink-45); pointer-events: none; }
.hm-library__search input { width: 100%; border-radius: 1rem; border: 1px solid var(--hm-line); background: var(--hm-mist); padding: 1rem 1rem 1rem 3rem; font: inherit; font-size: 0.875rem; color: var(--hm-navy-950); outline: none; }
.hm-library__search input:focus { border-color: var(--hm-royal); box-shadow: 0 0 0 4px rgba(33, 64, 217, 0.1); }
.hm-library__bar .hm-chips { margin-top: 0.75rem; }
.hm-library__count { margin-top: 1.5rem; font-size: 0.75rem; color: var(--hm-ink-55); }
.hm-library__grid { margin-top: 1rem; display: grid; gap: 1rem; }
@media (min-width: 768px) { .hm-library__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .hm-library__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.hm-resource { display: flex; flex-direction: column; border-radius: var(--hm-radius); border: 1px solid var(--hm-line); background: #fff; padding: 1.5rem; text-align: left; transition: transform 0.3s var(--hm-ease), box-shadow 0.3s, border-color 0.3s; }
.hm-resource:hover { transform: translateY(-2px); box-shadow: 0 15px 40px -20px rgba(10, 21, 70, 0.35); }
.hm-resource.is-open { border-color: var(--hm-royal); box-shadow: var(--hm-shadow-card-hover); }
@media (min-width: 768px) { .hm-resource.is-open { grid-column: span 2; } }
.hm-resource__topic { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--hm-royal); }
.hm-resource__q { margin-top: 0.5rem; border: 0; background: none; padding: 0; text-align: left; font-family: var(--hm-font-display); font-size: 1rem; font-weight: 700; line-height: 1.4; color: var(--hm-navy-950); }
.hm-resource__a { margin-top: 0.75rem; font-size: 0.875rem; line-height: 1.7; color: var(--hm-ink-65); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hm-resource.is-open .hm-resource__a { display: block; -webkit-line-clamp: unset; }
.hm-resource__a p + p { margin-top: 0.75rem; }
.hm-resource__foot { margin-top: 1rem; display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; font-size: 0.75rem; font-weight: 600; color: var(--hm-ink-45); }
.hm-resource__foot a { color: var(--hm-royal); }
.hm-resource__source { display: inline-flex; align-items: center; gap: 0.25rem; font-weight: 500; }
.hm-resource__source svg { width: 0.875rem; height: 0.875rem; }

.hm-chat { border-radius: var(--hm-radius-lg); padding: 1.5rem; }
.hm-chat__head { display: flex; align-items: center; gap: 0.75rem; border-bottom: 1px solid rgba(255, 255, 255, 0.1); padding-bottom: 1rem; }
.hm-chat__avatar { display: flex; align-items: center; justify-content: center; width: 2.5rem; height: 2.5rem; border-radius: 999px; background: var(--hm-gold); color: var(--hm-navy-950); }
.hm-chat__avatar svg { width: 1.25rem; height: 1.25rem; }
.hm-chat__head strong { display: block; font-family: var(--hm-font-display); font-weight: 600; }
.hm-chat__head small { font-size: 0.75rem; color: rgba(255, 255, 255, 0.5); }
.hm-chat__msgs { margin-top: 1.25rem; display: grid; gap: 0.75rem; font-size: 0.875rem; }
.hm-chat__msg { max-width: 90%; border-radius: 1rem; padding: 0.75rem 1rem; }
.hm-chat__msg--me { margin-left: auto; max-width: 85%; border-top-right-radius: 0.25rem; background: var(--hm-royal); }
.hm-chat__msg--bot { border-top-left-radius: 0.25rem; background: rgba(255, 255, 255, 0.1); color: rgba(255, 255, 255, 0.85); }
.hm-chat__msg--file { display: flex; align-items: center; gap: 0.75rem; }
.hm-chat__msg--file svg { width: 1.25rem; height: 1.25rem; color: var(--hm-gold); }

/* ==========================================================================
   Series (video) + events flyers
   ========================================================================== */
.hm-video { display: flex; flex-direction: column; overflow: hidden; height: 100%; border-radius: var(--hm-radius); border: 1px solid var(--hm-line); background: #fff; box-shadow: var(--hm-shadow-card); transition: transform 0.4s var(--hm-ease), box-shadow 0.4s; }
.hm-video:hover { transform: translateY(-4px); box-shadow: var(--hm-shadow-card-hover); }
.hm-video__thumb { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--hm-navy-950); }
.hm-video__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--hm-ease), opacity 0.4s; }
.hm-video:hover .hm-video__thumb img { transform: scale(1.05); opacity: 0.85; }
.hm-video__play { position: absolute; left: 50%; top: 50%; display: flex; align-items: center; justify-content: center; width: 3.5rem; height: 3.5rem; border-radius: 999px; background: var(--hm-gold); color: var(--hm-navy-950); transform: translate(-50%, -50%); box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.5); transition: transform 0.3s var(--hm-ease); }
.hm-video__play::before { content: ""; position: absolute; inset: 0; border-radius: 999px; background: var(--hm-gold); animation: hm-ring 2.4s cubic-bezier(0.4, 0, 0.6, 1) infinite; z-index: -1; }
.hm-video__play svg { width: 1.5rem; height: 1.5rem; margin-left: 2px; }
.hm-video:hover .hm-video__play { transform: translate(-50%, -50%) scale(1.08); }
.hm-video__body { padding: 1.25rem 1.5rem 1.5rem; }
.hm-video__body small { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--hm-royal); }
.hm-video__body h3 { margin-top: 0.375rem; font-size: 1.0625rem; font-weight: 700; line-height: 1.35; color: var(--hm-navy-950); }

.hm-flyer { display: flex; flex-direction: column; height: 100%; overflow: hidden; border-radius: var(--hm-radius); padding: 0; }
.hm-flyer__img { aspect-ratio: 4 / 5; overflow: hidden; background: rgba(255, 255, 255, 0.05); }
.hm-flyer__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--hm-ease); }
.hm-flyer:hover .hm-flyer__img img { transform: scale(1.04); }
.hm-flyer__body { display: flex; flex: 1; flex-direction: column; padding: 1.25rem 1.5rem 1.5rem; }
.hm-flyer__type { display: flex; align-items: center; justify-content: space-between; }
.hm-flyer__type svg { width: 1.25rem; height: 1.25rem; color: rgba(255, 255, 255, 0.4); transition: color 0.3s; }
.hm-flyer:hover .hm-flyer__type svg { color: var(--hm-gold); }
.hm-flyer h3 { margin-top: 1rem; flex: 1; font-size: 1.0625rem; font-weight: 700; line-height: 1.35; }
.hm-flyer__meta { margin-top: 1rem; display: flex; flex-wrap: wrap; gap: 0.25rem 1rem; font-size: 0.75rem; color: rgba(255, 255, 255, 0.55); }
.hm-flyer__meta span { display: inline-flex; align-items: center; gap: 0.25rem; }
.hm-flyer__meta svg { width: 0.875rem; height: 0.875rem; }
.hm-flyer--text .hm-flyer__body { padding: 1.5rem; }

/* ==========================================================================
   Embed
   ========================================================================== */
.hm-embed { position: relative; overflow: hidden; border-radius: var(--hm-radius); border: 1px solid var(--hm-line); background: #fff; box-shadow: 0 30px 80px -40px rgba(10, 21, 70, 0.35); }
.hm-embed iframe { display: block; width: 100%; max-width: 100%; border: 0; overflow: hidden; }
.hm-embed__loading { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 0.75rem; background: var(--hm-mist); font-size: 0.875rem; color: var(--hm-ink-55); transition: opacity 0.4s; }
.hm-embed__loading::before { content: ""; width: 8px; height: 8px; border-radius: 999px; background: var(--hm-royal); animation: hm-ping 1s cubic-bezier(0, 0, 0.2, 1) infinite; }
.hm-embed.is-loaded .hm-embed__loading { opacity: 0; pointer-events: none; }
.hm-powered { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.75rem; color: var(--hm-ink-55); }
.hm-powered img { height: 1.25rem; width: auto; }
.hm-embed-page { padding-top: 8rem; padding-bottom: 6rem; }
@media (min-width: 640px) { .hm-embed-page { padding-top: 9rem; } }
.hm-embed-page__grid { display: grid; gap: 2.5rem; }
@media (min-width: 1024px) { .hm-embed-page__grid { grid-template-columns: 0.8fr 1.2fr; } .hm-embed-page__aside { position: sticky; top: 7rem; align-self: start; } }
.hm-embed-page__grid--stack { grid-template-columns: 1fr !important; }
.hm-promo { position: relative; overflow: hidden; border-radius: var(--hm-radius); background: var(--hm-navy-950); color: #fff; padding: 1.5rem; }
@media (min-width: 640px) { .hm-promo { padding: 2rem; } }
.hm-promo__row { display: flex; align-items: flex-start; gap: 1rem; }
.hm-promo strong { display: block; font-family: var(--hm-font-display); font-size: 1.25rem; }
.hm-promo p { margin-top: 0.25rem; font-size: 0.875rem; color: rgba(255, 255, 255, 0.7); }
.hm-promo .hm-checklist { margin-top: 0.75rem; gap: 0.25rem; }
.hm-promo .hm-checklist li { font-size: 0.75rem; color: rgba(255, 255, 255, 0.7); }
.hm-promo .hm-actions { margin-top: 1rem; }

/* ==========================================================================
   CTA band
   ========================================================================== */
.hm-cta { position: relative; overflow: hidden; border-radius: var(--hm-radius-xl); background: var(--hm-navy-950); color: #fff; padding: 4rem 2rem; text-align: center; }
@media (min-width: 640px) { .hm-cta { padding-inline: 3rem; } }
@media (min-width: 1024px) { .hm-cta { padding-block: 6rem; } }
.hm-cta__symbol { position: absolute; bottom: -2.5rem; right: 2rem; height: 18rem; width: auto; opacity: 0.1; pointer-events: none; display: none; }
@media (min-width: 1024px) { .hm-cta__symbol { display: block; } }
.hm-cta__inner { position: relative; z-index: 2; margin-inline: auto; max-width: 42rem; }
.hm-cta__title { font-size: clamp(1.875rem, 4.5vw, 3rem); font-weight: 700; line-height: 1.05; }
.hm-cta__body { margin-top: 1.25rem; font-size: 1.125rem; color: rgba(255, 255, 255, 0.7); }
.hm-cta .hm-actions { margin-top: 2rem; justify-content: center; }
.hm-band { display: grid; gap: 2rem; align-items: center; border-radius: var(--hm-radius-xl); background: var(--hm-navy-950); color: #fff; padding: 2rem; }
@media (min-width: 640px) { .hm-band { padding: 3rem; } }
@media (min-width: 1024px) { .hm-band { grid-template-columns: 1fr 1fr; } }
.hm-band h2 { font-size: 1.875rem; font-weight: 700; }
.hm-band p { margin-top: 0.5rem; color: rgba(255, 255, 255, 0.65); }

/* ==========================================================================
   Content (posts, pages, single templates)
   ========================================================================== */
.hm-article-hero { padding-top: 9rem; padding-bottom: 4rem; }
@media (min-width: 640px) { .hm-article-hero { padding-top: 10rem; } }
.hm-article-hero__meta { margin-top: 1.25rem; display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; font-size: 0.875rem; color: rgba(255, 255, 255, 0.65); }
.hm-article-hero__meta span { display: inline-flex; align-items: center; gap: 0.375rem; }
.hm-article-hero__meta svg { width: 1rem; height: 1rem; color: var(--hm-gold); }
.hm-article-cover { margin-top: -3rem; position: relative; z-index: 2; }
.hm-article-cover .hm-photo { aspect-ratio: 16 / 9; }
.hm-back { display: inline-flex; align-items: center; gap: 0.375rem; font-size: 0.875rem; font-weight: 600; color: rgba(255, 255, 255, 0.7); }
.hm-back svg { width: 1rem; height: 1rem; transform: rotate(180deg); }
.hm-back:hover { color: #fff; }

.hm-prose { font-size: 1.0625rem; line-height: 1.8; color: rgba(11, 18, 48, 0.82); }
.hm-prose > * + * { margin-top: 1.25em; }
.hm-prose h2, .hm-prose h3, .hm-prose h4 { margin-top: 2em; color: var(--hm-navy-950); line-height: 1.25; }
.hm-prose h2 { font-size: 1.75rem; }
.hm-prose h3 { font-size: 1.375rem; }
.hm-prose h4 { font-size: 1.125rem; }
.hm-prose a { color: var(--hm-royal); text-decoration: underline; text-decoration-color: rgba(33, 64, 217, 0.3); text-underline-offset: 3px; }
.hm-prose a:hover { text-decoration-color: var(--hm-royal); }
.hm-prose ul, .hm-prose ol { padding-left: 1.5rem; }
.hm-prose ul { list-style: disc; }
.hm-prose ol { list-style: decimal; }
.hm-prose li + li { margin-top: 0.5em; }
.hm-prose li::marker { color: var(--hm-gold-dark); }
.hm-prose blockquote { margin-inline: 0; border-left: 3px solid var(--hm-gold); padding: 0.25rem 0 0.25rem 1.25rem; font-family: var(--hm-font-display); font-size: 1.25rem; font-style: italic; color: var(--hm-navy-950); }
.hm-prose img, .hm-prose figure { border-radius: 1rem; }
.hm-prose figure { margin-inline: 0; }
.hm-prose figcaption { margin-top: 0.5rem; font-size: 0.8125rem; color: var(--hm-ink-55); text-align: center; }
.hm-prose table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; }
.hm-prose th, .hm-prose td { border: 1px solid var(--hm-line); padding: 0.625rem 0.875rem; text-align: left; }
.hm-prose th { background: var(--hm-mist); }
.hm-prose hr { border: 0; border-top: 1px solid var(--hm-line); }
.hm-prose .wp-block-embed, .hm-prose iframe { max-width: 100%; }
.hm-prose .wp-block-embed__wrapper { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 1rem; }
.hm-prose .wp-block-embed__wrapper iframe { position: absolute; inset: 0; width: 100%; height: 100%; }
.hm-prose .wp-block-button__link { display: inline-flex; border-radius: 999px; background: var(--hm-gold); padding: 0.75rem 1.5rem; font-weight: 600; color: var(--hm-navy-950); text-decoration: none; }

/* Gutenberg alignments inside the default page template */
.hm-page-content > .alignwide { max-width: 1400px; margin-inline: auto; }
.hm-page-content > .alignfull { width: 100%; }
.hm-page-content > :not(.alignfull):not([class*="wp-block-hrmab"]) { max-width: 820px; margin-inline: auto; padding-inline: 1.25rem; }

.hm-share { margin-top: 3rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; border-top: 1px solid var(--hm-line); padding-top: 2rem; }
.hm-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.hm-tags a { border-radius: 999px; background: var(--hm-mist); padding: 0.375rem 0.875rem; font-size: 0.75rem; font-weight: 600; color: var(--hm-navy-950); }
.hm-tags a:hover { background: rgba(10, 21, 70, 0.1); }

.hm-pagination { margin-top: 3rem; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; }
.hm-pagination .page-numbers { display: inline-flex; min-width: 2.75rem; height: 2.75rem; align-items: center; justify-content: center; border-radius: 999px; border: 1px solid var(--hm-line); background: #fff; padding-inline: 0.875rem; font-size: 0.875rem; font-weight: 600; color: var(--hm-navy-950); transition: background-color 0.2s, color 0.2s; }
.hm-pagination .page-numbers:hover { background: var(--hm-mist); }
.hm-pagination .page-numbers.current { background: var(--hm-navy-950); border-color: var(--hm-navy-950); color: #fff; }
.hm-pagination .dots { border: 0; background: transparent; }

.hm-404 { display: flex; min-height: 75vh; align-items: center; padding-top: 6rem; }
.hm-404__num { font-family: var(--hm-font-display); font-size: clamp(5rem, 14vw, 8rem); font-weight: 700; line-height: 1; }

.hm-searchform { display: flex; gap: 0.5rem; max-width: 32rem; }
.hm-searchform .hm-field { border-radius: 999px; }

/* ==========================================================================
   Motion
   ========================================================================== */
/* Reveal elements only hide once JS has confirmed it can animate them.
   Without JS (and inside the block editor) content stays visible. */
.hm-anim [data-reveal] { opacity: 0; transform: translateY(var(--hm-reveal-y, 28px)); transition: opacity 0.75s var(--hm-ease), transform 0.75s var(--hm-ease); transition-delay: var(--hm-delay, 0s); }
.hm-anim [data-reveal].is-in { opacity: 1; transform: none; }
.hm-anim [data-stagger] > * { opacity: 0; transform: translateY(28px); transition: opacity 0.7s var(--hm-ease), transform 0.7s var(--hm-ease); }
.hm-anim [data-stagger].is-in > * { opacity: 1; transform: none; }
.hm-anim [data-stagger].is-in > *:nth-child(1) { transition-delay: 0.05s; }
.hm-anim [data-stagger].is-in > *:nth-child(2) { transition-delay: 0.14s; }
.hm-anim [data-stagger].is-in > *:nth-child(3) { transition-delay: 0.23s; }
.hm-anim [data-stagger].is-in > *:nth-child(4) { transition-delay: 0.32s; }
.hm-anim [data-stagger].is-in > *:nth-child(5) { transition-delay: 0.41s; }
.hm-anim [data-stagger].is-in > *:nth-child(6) { transition-delay: 0.5s; }
.hm-anim [data-stagger].is-in > *:nth-child(7) { transition-delay: 0.59s; }
.hm-anim [data-stagger].is-in > *:nth-child(8) { transition-delay: 0.68s; }
.hm-anim [data-stagger].is-in > *:nth-child(9) { transition-delay: 0.77s; }
.hm-anim [data-stagger].is-in > *:nth-child(n+10) { transition-delay: 0.85s; }

[data-parallax] { will-change: transform; }
[data-tilt] { transform-style: preserve-3d; transition: transform 0.4s var(--hm-ease); will-change: transform; }
.hm-float { animation: hm-float 7s ease-in-out infinite; }

@keyframes hm-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes hm-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-16px); } }
@keyframes hm-drift { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(40px, 30px); } }
@keyframes hm-drift-b { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(-30px, 50px); } }
@keyframes hm-pulse-scale { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.2); } }
@keyframes hm-ring { 0% { transform: scale(0.9); opacity: 0.6; } 100% { transform: scale(1.8); opacity: 0; } }
@keyframes hm-ping { 75%, 100% { transform: scale(2); opacity: 0; } }
@keyframes hm-spin { to { transform: rotate(360deg); } }
@keyframes hm-shimmer { to { background-position: 200% center; } }
@keyframes hm-rise { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
@keyframes hm-rise-sm { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes hm-drop-in { from { opacity: 0; transform: translateY(-80px); } to { opacity: 1; transform: none; } }
@keyframes hm-photo-in { from { opacity: 0; transform: scale(0.92) rotate(-2deg); } to { opacity: 1; transform: none; } }
@keyframes hm-slide-in-l { from { opacity: 0; transform: translateX(-30px); } to { opacity: 1; transform: none; } }
@keyframes hm-slide-in-r { from { opacity: 0; transform: translateX(30px); } to { opacity: 1; transform: none; } }

@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; }
  .hm-anim [data-reveal], .hm-anim [data-stagger] > * { opacity: 1 !important; transform: none !important; }
}

/* Block editor: keep previews static and visible */
.editor-styles-wrapper .hm-header { position: relative; }
.editor-styles-wrapper [data-reveal], .editor-styles-wrapper [data-stagger] > * { opacity: 1 !important; transform: none !important; }
.editor-styles-wrapper .hm-hero, .editor-styles-wrapper .hm-page-hero { min-height: 0; }

/* Small utilities used by templates */
@media (max-width: 639px) { .hm-hide-sm { display: none; } }
.hm-step-icon { width: 1.5rem; height: 1.5rem; }
.hm-anchor { scroll-margin-top: 6rem; }
.hm-page-content > section[id], .hm-page-content [id] { scroll-margin-top: 6rem; }
.hm-chip { text-decoration: none; display: inline-flex; }

@media (min-width: 1024px) and (max-width: 1199px) { .hm-nav__link { padding-inline: 0.5rem; font-size: 12.5px; } .hm-header__login { display: none; } }
.hm-row-between { flex-wrap: wrap; }
@media (min-width: 768px) { .hm-row-between > .hm-heading { flex: 1 1 28rem; } }
.hm-powered { flex-shrink: 0; white-space: nowrap; }

/* Dark heroes: light text for every typographic helper inside them */
.hm-page-hero .hm-lead, .hm-page-hero .hm-muted, .hm-hero .hm-lead, .hm-conf .hm-lead, .hm-feature-link .hm-lead { color: rgba(255, 255, 255, 0.72); }
.hm-page-hero .hm-h1, .hm-page-hero .hm-h2, .hm-hero .hm-h1, .hm-conf .hm-h2, .hm-feature-link .hm-h2 { color: #fff; }
.hm-conf .hm-faint, .hm-page-hero .hm-faint { color: rgba(255, 255, 255, 0.5); }
@media (max-width: 767px) { .hm-modal__photo { width: 100%; aspect-ratio: auto; height: 42vh; } .hm-modal__photo img { object-position: center 20%; } }
.admin-bar .hm-mobile { top: 32px; }
@media (max-width: 782px) { .admin-bar .hm-mobile { top: 46px; } }

/* ==========================================================================
   Articles
   ========================================================================== */
.hm-readbar { position: fixed; inset: 0 0 auto 0; z-index: 55; height: 3px; background: transparent; pointer-events: none; }
.admin-bar .hm-readbar { top: 32px; }
@media (max-width: 782px) { .admin-bar .hm-readbar { top: 46px; } }
.hm-readbar span { display: block; height: 100%; width: 100%; transform: scaleX(0); transform-origin: 0 50%; background: linear-gradient(90deg, var(--hm-gold), #ffe38a, var(--hm-sky)); box-shadow: 0 0 12px rgba(247, 197, 49, 0.6); }

/* Breadcrumbs */
.hm-crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 0.25rem; font-size: 0.8125rem; color: rgba(255, 255, 255, 0.6); }
.hm-crumbs li { display: inline-flex; align-items: center; gap: 0.25rem; }
.hm-crumbs svg { width: 0.875rem; height: 0.875rem; opacity: 0.7; }
.hm-crumbs a { display: inline-flex; align-items: center; transition: color 0.2s; }
.hm-crumbs a:hover { color: #fff; }
.hm-crumbs [aria-current] { color: rgba(255, 255, 255, 0.85); max-width: 22ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Hero */
.hm-ahero { position: relative; isolation: isolate; overflow: hidden; background: var(--hm-navy-950); color: #fff; padding: 9rem 0 4.5rem; }
@media (min-width: 1024px) { .hm-ahero { padding: 11rem 0 6rem; } }
.hm-ahero--image { min-height: min(86vh, 760px); display: flex; align-items: flex-end; }
.hm-ahero--image > .hm-container { width: 100%; }
.hm-ahero__bg { position: absolute; inset: -8% 0; z-index: -2; }
.hm-ahero__bg img { width: 100%; height: 100%; object-fit: cover; animation: hm-kenburns 18s ease-out both; }
.hm-ahero__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(5, 11, 36, 0.55) 0%, rgba(5, 11, 36, 0.35) 35%, rgba(5, 11, 36, 0.92) 78%, var(--hm-navy-950) 100%), linear-gradient(90deg, rgba(5, 11, 36, 0.75), rgba(5, 11, 36, 0) 70%); }
.hm-ahero .hm-blob { z-index: -1; }
.hm-ahero--image .hm-blob { opacity: 0.55; }
.hm-ahero__inner { max-width: 52rem; animation: hm-rise 0.9s var(--hm-ease) both; }
.hm-ahero__cat { margin-top: 1.5rem; display: inline-flex; border-radius: 999px; background: var(--hm-gold); padding: 0.375rem 0.875rem; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--hm-navy-950); transition: transform 0.3s var(--hm-ease); }
.hm-ahero__cat:hover { transform: translateY(-2px); }
.hm-ahero__title { margin-top: 1.25rem; font-family: var(--hm-font-display); font-size: clamp(2.25rem, 5.4vw, 4.25rem); font-weight: 700; line-height: 1.04; letter-spacing: -0.025em; text-wrap: balance; color: #fff; text-shadow: 0 2px 30px rgba(0, 0, 0, 0.25); }
.hm-ahero__dek { margin-top: 1.25rem; max-width: 42rem; font-size: clamp(1.0625rem, 1.6vw, 1.25rem); line-height: 1.6; color: rgba(255, 255, 255, 0.78); }
.hm-ahero__meta { margin-top: 2rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem; border-top: 1px solid rgba(255, 255, 255, 0.14); padding-top: 1.5rem; }
.hm-ahero__scroll { position: absolute; left: 50%; bottom: 1.25rem; display: none; width: 22px; height: 36px; margin-left: -11px; border: 2px solid rgba(255, 255, 255, 0.35); border-radius: 999px; }
.hm-ahero__scroll span { position: absolute; left: 50%; top: 6px; width: 4px; height: 8px; margin-left: -2px; border-radius: 4px; background: var(--hm-gold); animation: hm-scrollcue 1.8s ease-in-out infinite; }
@media (min-width: 1024px) { .hm-ahero--image .hm-ahero__scroll { display: block; } }

.hm-byline { display: flex; align-items: center; gap: 0.875rem; }
.hm-byline strong { display: block; font-family: var(--hm-font-display); font-size: 0.9375rem; font-weight: 600; color: #fff; }
.hm-byline span { display: block; font-size: 0.8125rem; color: rgba(255, 255, 255, 0.65); }
.hm-avatar { display: inline-flex; flex-shrink: 0; align-items: center; justify-content: center; width: 2.75rem; height: 2.75rem; border-radius: 999px; background: linear-gradient(135deg, var(--hm-gold), #ffe38a 55%, var(--hm-sky)); font-family: var(--hm-font-display); font-size: 0.9375rem; font-weight: 700; color: var(--hm-navy-950); box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.12); }
.hm-avatar--lg { width: 4rem; height: 4rem; font-size: 1.25rem; box-shadow: none; }
.hm-avatar--sm { width: 2rem; height: 2rem; font-size: 0.75rem; box-shadow: none; }

/* Share buttons */
.hm-share-btns { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.hm-share-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 2.5rem; height: 2.5rem; border: 1px solid var(--hm-line-strong); border-radius: 999px; background: #fff; color: var(--hm-navy-900); transition: transform 0.3s var(--hm-ease), background-color 0.25s, color 0.25s, border-color 0.25s; }
.hm-share-btn svg { width: 1rem; height: 1rem; }
.hm-share-btn:hover { transform: translateY(-2px); background: var(--hm-navy-950); border-color: var(--hm-navy-950); color: var(--hm-gold); }
.hm-share-btns--glass .hm-share-btn { border-color: rgba(255, 255, 255, 0.2); background: rgba(255, 255, 255, 0.08); color: #fff; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.hm-share-btns--glass .hm-share-btn:hover { background: var(--hm-gold); border-color: var(--hm-gold); color: var(--hm-navy-950); }
.hm-share-btns--sm .hm-share-btn { width: 2.125rem; height: 2.125rem; }
.hm-share-btns--sm .hm-share-btn svg { width: 0.875rem; height: 0.875rem; }
.hm-share-btn__tip { position: absolute; bottom: calc(100% + 8px); left: 50%; transform: translate(-50%, 4px); white-space: nowrap; border-radius: 0.5rem; background: var(--hm-navy-950); padding: 0.25rem 0.5rem; font-size: 0.6875rem; font-weight: 600; color: #fff; opacity: 0; pointer-events: none; transition: opacity 0.2s, transform 0.2s; }
.hm-share-btn.is-copied .hm-share-btn__tip { opacity: 1; transform: translate(-50%, 0); }

/* Layout */
.hm-article { position: relative; background: #fff; padding: 3.5rem 0 4rem; }
@media (min-width: 1024px) { .hm-article { padding: 5rem 0; } }
.hm-article__grid { display: grid; gap: 2.5rem; }
@media (min-width: 1024px) {
  .hm-article__grid { grid-template-columns: 15rem minmax(0, 46rem); justify-content: center; gap: 4rem; }
  .hm-article__grid--solo { grid-template-columns: minmax(0, 46rem); }
}
@media (min-width: 1280px) { .hm-article__grid { grid-template-columns: 16.5rem minmax(0, 46rem); gap: 5rem; } }
.hm-article__aside { display: none; }
@media (min-width: 1024px) { .hm-article__aside { display: block; } }
.hm-article__main { min-width: 0; }

/* Table of contents */
.hm-toc { position: sticky; top: 7rem; max-height: calc(100vh - 8rem); overflow-y: auto; padding-right: 0.5rem; }
.hm-toc__label { display: flex; align-items: center; gap: 0.5rem; font-size: 11px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--hm-ink-55); }
.hm-toc__label svg { width: 0.9rem; height: 0.9rem; color: var(--hm-gold-dark); }
.hm-toc__list { margin-top: 1rem; border-left: 2px solid var(--hm-line); }
.hm-toc__item a { position: relative; display: block; margin-left: -2px; border-left: 2px solid transparent; padding: 0.45rem 0 0.45rem 1rem; font-size: 0.875rem; line-height: 1.4; color: var(--hm-ink-55); transition: color 0.2s, border-color 0.2s, background-color 0.2s; }
.hm-toc__item--h3 a { padding-left: 1.75rem; font-size: 0.8125rem; }
.hm-toc__item a:hover { color: var(--hm-navy-950); }
.hm-toc__item a.is-active { border-left-color: var(--hm-gold); color: var(--hm-navy-950); font-weight: 600; background: linear-gradient(90deg, rgba(247, 197, 49, 0.12), transparent); }
.hm-toc__share { margin-top: 2rem; display: grid; gap: 0.75rem; }
.hm-toc__share > span { font-size: 11px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--hm-ink-55); }

.hm-toc-mobile { margin-bottom: 2rem; border: 1px solid var(--hm-line); border-radius: 1rem; background: var(--hm-mist); }
@media (min-width: 1024px) { .hm-toc-mobile { display: none; } }
.hm-toc-mobile summary { display: flex; align-items: center; gap: 0.625rem; padding: 1rem 1.25rem; font-family: var(--hm-font-display); font-weight: 600; color: var(--hm-navy-950); cursor: pointer; list-style: none; }
.hm-toc-mobile summary::-webkit-details-marker { display: none; }
.hm-toc-mobile summary svg { width: 1rem; height: 1rem; color: var(--hm-gold-dark); }
.hm-toc-mobile__count { margin-left: auto; border-radius: 999px; background: #fff; padding: 0.125rem 0.625rem; font-size: 0.75rem; color: var(--hm-ink-55); }
.hm-toc-mobile .hm-toc__list { margin: 0 1.25rem 1.25rem; }

/* Article typography */
.hm-prose--article { font-size: 1.125rem; line-height: 1.85; color: rgba(11, 18, 48, 0.84); }
.hm-prose--article > p:first-of-type::first-letter { float: left; margin: 0.35rem 0.75rem 0 0; font-family: var(--hm-font-display); font-size: 4.25rem; font-weight: 700; line-height: 0.82; color: var(--hm-royal); }
.hm-prose--article > * + * { margin-top: 1.4em; }
.hm-prose--article h2 { position: relative; margin-top: 2.6em; padding-top: 0.9em; font-size: clamp(1.5rem, 2.6vw, 2rem); letter-spacing: -0.02em; scroll-margin-top: 7rem; }
.hm-prose--article h2::before { content: ""; position: absolute; left: 0; top: 0; width: 2.5rem; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--hm-gold), var(--hm-sky)); }
.hm-prose--article h3 { margin-top: 2em; font-size: 1.3125rem; scroll-margin-top: 7rem; }
.hm-prose--article strong { color: var(--hm-navy-950); }
.hm-prose--article ul { list-style: none; padding-left: 0; }
.hm-prose--article ul li { position: relative; padding-left: 1.75rem; }
.hm-prose--article ul li::before { content: ""; position: absolute; left: 0.25rem; top: 0.72em; width: 0.5rem; height: 0.5rem; border-radius: 999px; background: var(--hm-gold); box-shadow: 0 0 0 4px rgba(247, 197, 49, 0.2); }
.hm-prose--article ol { padding-left: 1.5rem; }
.hm-prose--article ol li::marker { font-family: var(--hm-font-display); font-weight: 700; color: var(--hm-royal); }
.hm-prose--article blockquote { position: relative; margin: 2.5em 0; border: 0; border-radius: 1.5rem; background: linear-gradient(135deg, var(--hm-cream), #fff); padding: 2rem 2rem 2rem 4.25rem; font-family: var(--hm-font-display); font-size: 1.3125rem; font-style: normal; font-weight: 500; line-height: 1.5; color: var(--hm-navy-950); box-shadow: inset 0 0 0 1px var(--hm-line); }
.hm-prose--article blockquote::before { content: "\201C"; position: absolute; left: 1.25rem; top: 0.75rem; font-family: Georgia, serif; font-size: 4.5rem; line-height: 1; color: var(--hm-gold); }
.hm-prose--article blockquote cite { display: block; margin-top: 0.75rem; font-family: var(--hm-font-body); font-size: 0.875rem; font-style: normal; font-weight: 600; color: var(--hm-ink-55); }
.hm-prose--article img { border-radius: 1.25rem; }
.hm-prose--article figure:not(.wp-block-embed) img { box-shadow: 0 30px 70px -40px rgba(10, 21, 70, 0.45); }
.hm-prose--article .alignwide, .hm-prose--article .alignfull { margin-inline: 0; }
.hm-prose--article figcaption { font-size: 0.8125rem; }
.hm-prose--article hr { margin: 3em auto; width: 6rem; border-top: 3px dotted var(--hm-line-strong); }
.hm-prose--article a { font-weight: 500; }
.hm-prose--article .wp-block-embed { margin: 2.25em 0; }
.hm-prose--article .wp-block-embed__wrapper { box-shadow: 0 30px 70px -35px rgba(10, 21, 70, 0.55); }
.hm-prose--article table { border-radius: 1rem; overflow: hidden; box-shadow: inset 0 0 0 1px var(--hm-line); }

/* End matter */
.hm-article__end { margin-top: 3.5rem; display: grid; gap: 1.75rem; }
.hm-article__sharebar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; border-top: 1px solid var(--hm-line); border-bottom: 1px solid var(--hm-line); padding: 1.25rem 0; }
.hm-article__sharebar > span { font-family: var(--hm-font-display); font-weight: 600; color: var(--hm-navy-950); }
.hm-authorcard { display: flex; gap: 1.25rem; align-items: flex-start; border-radius: 1.5rem; background: var(--hm-cream); padding: 1.5rem; }
.hm-authorcard small { display: block; font-size: 11px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--hm-gold-dark); }
.hm-authorcard strong { display: block; margin-top: 0.25rem; font-family: var(--hm-font-display); font-size: 1.125rem; color: var(--hm-navy-950); }
.hm-authorcard p { margin-top: 0.375rem; font-size: 0.9375rem; line-height: 1.6; color: var(--hm-ink-65); }
.hm-membercta { position: relative; overflow: hidden; display: grid; gap: 1.5rem; border-radius: 1.75rem; background: linear-gradient(135deg, var(--hm-navy-950), var(--hm-navy-800)); padding: 2rem; color: #fff; }
@media (min-width: 768px) { .hm-membercta { grid-template-columns: 1fr auto; align-items: end; padding: 2.5rem; } }
.hm-membercta h2 { margin-top: 0.75rem; font-family: var(--hm-font-display); font-size: clamp(1.5rem, 2.6vw, 1.875rem); font-weight: 700; line-height: 1.15; color: #fff; }
.hm-membercta p { margin-top: 0.5rem; max-width: 30rem; font-size: 0.9375rem; color: rgba(255, 255, 255, 0.7); }
.hm-membercta > *:not(.hm-blob) { position: relative; }

/* Previous / next */
.hm-pn { background: #fff; padding-bottom: 4rem; }
.hm-pn__grid { display: grid; gap: 1rem; border-top: 1px solid var(--hm-line); padding-top: 2.5rem; }
@media (min-width: 768px) { .hm-pn__grid { grid-template-columns: 1fr 1fr; } }
.hm-pn__card { display: flex; align-items: center; gap: 1rem; border-radius: 1.25rem; border: 1px solid var(--hm-line); padding: 0.875rem; transition: transform 0.35s var(--hm-ease), box-shadow 0.35s, border-color 0.3s; }
.hm-pn__card:hover { transform: translateY(-3px); border-color: transparent; box-shadow: var(--hm-shadow-card-hover); }
.hm-pn__card--next { flex-direction: row-reverse; text-align: right; }
.hm-pn__img { width: 5.5rem; height: 5.5rem; flex-shrink: 0; overflow: hidden; border-radius: 0.875rem; background: linear-gradient(135deg, var(--hm-navy-800), var(--hm-royal)); }
.hm-pn__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--hm-ease); }
.hm-pn__card:hover .hm-pn__img img { transform: scale(1.08); }
.hm-pn__text small { display: inline-flex; align-items: center; gap: 0.25rem; font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--hm-royal); }
.hm-pn__text small svg { width: 0.875rem; height: 0.875rem; }
.hm-pn__text strong { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-top: 0.25rem; font-family: var(--hm-font-display); font-size: 1rem; font-weight: 600; line-height: 1.35; color: var(--hm-navy-950); }

/* ==========================================================================
   Insights listing
   ========================================================================== */
.hm-ihero__grid { display: grid; gap: 2rem; align-items: end; }
@media (min-width: 1024px) { .hm-ihero__grid { grid-template-columns: 1fr 26rem; } }
.hm-isearch { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; border-radius: 1.25rem; border: 1px solid rgba(255, 255, 255, 0.14); background: rgba(255, 255, 255, 0.07); padding: 0.5rem 0.5rem 0.5rem 2.75rem; -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); animation: hm-rise 0.9s var(--hm-ease) 0.15s both; }
.hm-isearch > svg { position: absolute; left: 1rem; top: 1.15rem; width: 1.1rem; height: 1.1rem; color: rgba(255, 255, 255, 0.6); }
.hm-isearch input[type="search"] { flex: 1; min-width: 0; border: 0; background: transparent; padding: 0.5rem 0; font: inherit; color: #fff; outline: none; }
.hm-isearch input::placeholder { color: rgba(255, 255, 255, 0.5); }
.hm-isearch__count { width: 100%; padding: 0 0 0.25rem; font-size: 0.75rem; color: rgba(255, 255, 255, 0.5); }
.hm-chips--scroll { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 0.25rem; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
.hm-chips--scroll::-webkit-scrollbar { display: none; }
.hm-chips--scroll .hm-chip { flex-shrink: 0; white-space: nowrap; border: 1px solid var(--hm-line); }
@media (min-width: 1024px) { .hm-chips--scroll { flex-wrap: wrap; -webkit-mask-image: none; mask-image: none; } }
.hm-chip__n { margin-left: 0.375rem; border-radius: 999px; background: rgba(10, 21, 70, 0.07); padding: 0 0.4rem; font-size: 0.6875rem; font-weight: 600; color: var(--hm-ink-55); }
.hm-chip.is-active .hm-chip__n { background: rgba(255, 255, 255, 0.15); color: #fff; }

.hm-lead-story { margin-top: 2rem; display: grid; overflow: hidden; border-radius: 2rem; border: 1px solid var(--hm-line); background: #fff; box-shadow: 0 40px 90px -50px rgba(10, 21, 70, 0.5); transition: transform 0.45s var(--hm-ease), box-shadow 0.45s; }
.hm-lead-story:hover { transform: translateY(-4px); box-shadow: 0 50px 110px -50px rgba(10, 21, 70, 0.6); }
@media (min-width: 1024px) { .hm-lead-story { grid-template-columns: 1.15fr 1fr; } }
.hm-lead-story__img { position: relative; display: block; min-height: 18rem; overflow: hidden; background: linear-gradient(135deg, var(--hm-navy-800), var(--hm-royal)); }
@media (min-width: 1024px) { .hm-lead-story__img { min-height: 26rem; } }
.hm-lead-story__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--hm-ease); }
.hm-lead-story:hover .hm-lead-story__img img { transform: scale(1.05); }
.hm-lead-story__badge { position: absolute; left: 1.25rem; top: 1.25rem; border-radius: 999px; background: var(--hm-gold); padding: 0.375rem 0.875rem; font-size: 0.75rem; font-weight: 700; color: var(--hm-navy-950); box-shadow: 0 10px 25px -10px rgba(0, 0, 0, 0.4); }
.hm-lead-story__body { display: flex; flex-direction: column; justify-content: center; padding: 2rem; }
@media (min-width: 1024px) { .hm-lead-story__body { padding: 3rem; } }
.hm-lead-story__cat { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--hm-royal); }
.hm-lead-story__title { margin-top: 0.75rem; font-family: var(--hm-font-display); font-size: clamp(1.625rem, 3vw, 2.375rem); font-weight: 700; line-height: 1.12; letter-spacing: -0.02em; color: var(--hm-navy-950); text-wrap: balance; }
.hm-lead-story__excerpt { margin-top: 1rem; font-size: 1rem; line-height: 1.7; color: var(--hm-ink-65); display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.hm-lead-story__meta { margin-top: 1.5rem; display: flex; align-items: center; gap: 0.625rem; font-size: 0.8125rem; color: var(--hm-ink-55); }
.hm-lead-story__cta { margin-top: 1.75rem; display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 600; color: var(--hm-royal); }
.hm-lead-story__cta svg { width: 1rem; height: 1rem; transition: transform 0.3s var(--hm-ease); }
.hm-lead-story:hover .hm-lead-story__cta svg { transform: translate(3px, -3px); }

@keyframes hm-kenburns { from { transform: scale(1.12); } to { transform: scale(1); } }
@keyframes hm-scrollcue { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(12px); opacity: 0; } 100% { opacity: 0; } }

.hm-byline > .hm-avatar { display: inline-flex; color: var(--hm-navy-950); }

/* Article text spans the full content width (contents panel optional). */
@media (min-width: 1024px) {
  .hm-article__grid { grid-template-columns: 15rem minmax(0, 1fr); justify-content: stretch; }
  .hm-article__grid--solo { grid-template-columns: minmax(0, 1fr); }
}
@media (min-width: 1280px) {
  .hm-article__grid { grid-template-columns: 16.5rem minmax(0, 1fr); }
  .hm-article__grid--solo { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Hero: rotating photos ---------- */
.hm-hero__photo img.hm-hero__slide { opacity: 0; transform: scale(1); transition: opacity 1.2s var(--hm-ease), transform 1.2s ease-out; }
.hm-hero__photo img.hm-hero__slide.is-active { opacity: 1; transform: scale(1.08); transition: opacity 1.2s var(--hm-ease), transform 7s ease-out; }
.hm-hero__dots { position: absolute; top: 1.25rem; right: 1.25rem; z-index: 2; display: flex; gap: 0.375rem; }
.hm-hero__dot { width: 0.375rem; height: 0.375rem; padding: 0; border: 0; border-radius: 999px; background: rgba(255, 255, 255, 0.5); cursor: pointer; transition: width 0.5s var(--hm-ease), background-color 0.3s; }
.hm-hero__dot:hover { background: #fff; }
.hm-hero__dot[aria-pressed="true"] { width: 1.5rem; background: var(--hm-gold); }
.hm-hero__dot:focus-visible { outline: 2px solid var(--hm-gold); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
  .hm-hero__photo img.hm-hero__slide, .hm-hero__photo img.hm-hero__slide.is-active { transform: none; transition: opacity 0.3s; }
}

/* ---------- Photo gallery ---------- */
.hm-gallery { display: grid; gap: 0.75rem; }
@media (min-width: 640px) { .hm-gallery { gap: 1rem; } }
.hm-gallery__item {
  position: relative; display: block; width: 100%; padding: 0; overflow: hidden; border: 0; border-radius: 1.5rem;
  background: var(--hm-navy-900, #0a1546); cursor: zoom-in; box-shadow: 0 30px 70px -40px rgba(10, 21, 70, 0.6);
}
.hm-gallery__item img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--hm-ease); }
.hm-gallery__item:hover img, .hm-gallery__item:focus-visible img { transform: scale(1.06); }
.hm-gallery__item:focus-visible { outline: 3px solid var(--hm-gold); outline-offset: 3px; }
.hm-gallery__item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(5, 11, 36, 0.75), transparent 55%); opacity: 0; transition: opacity 0.5s; }
.hm-gallery__item:hover::after, .hm-gallery__item:focus-visible::after { opacity: 1; }
.hm-gallery__hover {
  position: absolute; inset: auto 1rem 1rem 1rem; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 0.75rem;
  color: #fff; text-align: left; opacity: 0; transform: translateY(0.5rem); transition: opacity 0.5s, transform 0.5s var(--hm-ease);
}
.hm-gallery__hover span { font-family: var(--hm-font-display); font-size: 0.875rem; font-weight: 600; }
.hm-gallery__hover svg { flex: none; width: 2rem; height: 2rem; padding: 0.5rem; border-radius: 999px; background: rgba(255, 255, 255, 0.15); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.hm-gallery__item:hover .hm-gallery__hover, .hm-gallery__item:focus-visible .hm-gallery__hover { opacity: 1; transform: none; }

/* Bento: six photos fill a 4 x 3 grid on desktop. */
.hm-gallery--bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 150px; }
@media (min-width: 640px) { .hm-gallery--bento { grid-auto-rows: 200px; } }
@media (min-width: 1024px) { .hm-gallery--bento { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 220px; } }
.hm-gallery--bento > :nth-child(6n + 1) { grid-column: span 2; grid-row: span 2; }
.hm-gallery--bento > :nth-child(6n + 2) { grid-row: span 2; }
@media (min-width: 1024px) { .hm-gallery--bento > :nth-child(6n + 5), .hm-gallery--bento > :nth-child(6n + 6) { grid-column: span 2; } }

/* Masonry: photos keep their own proportions. */
.hm-gallery--masonry { display: block; columns: 2; column-gap: 0.75rem; }
@media (min-width: 640px) { .hm-gallery--masonry { column-gap: 1rem; } }
@media (min-width: 768px) { .hm-gallery--masonry { columns: 3; } }
@media (min-width: 1024px) { .hm-gallery--masonry { columns: 4; } }
.hm-gallery--masonry > .hm-gallery__item { margin-bottom: 0.75rem; break-inside: avoid; }
@media (min-width: 640px) { .hm-gallery--masonry > .hm-gallery__item { margin-bottom: 1rem; } }
.hm-gallery--masonry img { height: auto; }

/* Viewer */
.hm-lightbox {
  position: fixed; inset: 0; z-index: 90; display: flex; flex-direction: column; background: rgba(5, 11, 36, 0.95);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); color: #fff; opacity: 0; transition: opacity 0.3s;
}
.hm-lightbox[hidden] { display: none !important; }
.hm-lightbox.is-open { opacity: 1; }
.hm-lightbox__bar { display: flex; align-items: center; justify-content: space-between; padding: 1rem; }
@media (min-width: 640px) { .hm-lightbox__bar { padding: 1rem 2rem; } }
.hm-lightbox__count { font-size: 0.875rem; color: rgba(255, 255, 255, 0.6); }
.hm-lightbox__btn {
  display: inline-flex; align-items: center; justify-content: center; width: 2.75rem; height: 2.75rem; padding: 0; border: 0; border-radius: 999px;
  background: rgba(255, 255, 255, 0.1); color: #fff; cursor: pointer; transition: background-color 0.2s, color 0.2s;
}
.hm-lightbox__btn:hover { background: rgba(255, 255, 255, 0.2); }
.hm-lightbox__btn:focus-visible { outline: 2px solid var(--hm-gold); outline-offset: 3px; }
.hm-lightbox__btn svg { width: 1.25rem; height: 1.25rem; }
.hm-lightbox__stage { position: relative; display: flex; flex: 1; min-height: 0; align-items: center; justify-content: center; padding: 0 1rem; }
@media (min-width: 640px) { .hm-lightbox__stage { padding: 0 5rem; } }
.hm-lightbox__img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 0.75rem; transition: opacity 0.35s var(--hm-ease), transform 0.35s var(--hm-ease); }
.hm-lightbox__img.is-loading { opacity: 0; transform: scale(0.97); }
.hm-lightbox__nav { position: absolute; top: 50%; width: 3rem; height: 3rem; transform: translateY(-50%); }
.hm-lightbox__nav:hover { background: var(--hm-gold); color: var(--hm-navy-950); }
.hm-lightbox__nav svg { width: 1.5rem; height: 1.5rem; }
.hm-lightbox__nav--prev { left: 0.5rem; }
.hm-lightbox__nav--next { right: 0.5rem; }
@media (min-width: 640px) { .hm-lightbox__nav--prev { left: 1.5rem; } .hm-lightbox__nav--next { right: 1.5rem; } }
.hm-lightbox__caption { padding: 1.25rem 1rem; text-align: center; }
.hm-lightbox__caption strong { display: block; font-family: var(--hm-font-display); font-size: 1.125rem; font-weight: 600; }
.hm-lightbox__caption p { max-width: 42rem; margin: 0.25rem auto 0; font-size: 0.875rem; color: rgba(255, 255, 255, 0.65); }
body.admin-bar .hm-lightbox { top: 32px; }
@media (max-width: 782px) { body.admin-bar .hm-lightbox { top: 46px; } }
