:root {
  /* Layout & Light Mode Basics — mapped to Halo design tokens */
  --rh-bg: var(--halo-color-surface-page, #F5F5F7);
  --rh-bg-elevated: var(--halo-color-surface-raised, #FFFFFF);
  --rh-bg-card: var(--halo-color-surface-muted, #EFEFF1);
  --rh-text: var(--halo-color-text-primary, #071826);
  --rh-text-mute: var(--halo-color-text-secondary, #526777);
  --rh-border: var(--halo-color-border-subtle, rgba(7, 24, 38, 0.08));
  --rh-dark: var(--halo-color-surface-dark, #071826);

  /* Tier Accents */
  --halo-bronze: #C49669;
  --halo-silver: #BFC4C9;
  --halo-gold: #E8C94A;

  /* Standardized radii — used by hero cards and lifestyle cards */
  --rh-radius-md: 24px;
  --rh-radius-lg: 32px;
}

body.rh-theme {
  background-color: var(--rh-bg);
  color: var(--rh-text);
  font-family: var(--halo-font-live, "Inter", -apple-system, sans-serif);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  margin: 0;
}

/* ============================================================================
   Nav — transparent over the hero, solid white once scrolled past it.
   Centered nav links via 1fr / auto / 1fr grid. Scoped to .rh-theme.
   ============================================================================ */
.rh-theme .halo-navigation {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 1px solid transparent;
  box-shadow: none;
  transition: background 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
}
.rh-theme .halo-navigation .nav-container {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 32px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
  height: 70px;
}
.rh-theme .halo-navigation .nav-logo { justify-self: start; }
.rh-theme .halo-navigation .nav-menu-desktop { justify-self: center; }
.rh-theme .halo-navigation .nav-right-desktop { justify-self: end; }

/* Logo swap — two img variants, white wordmark over hero / original when scrolled.
   Yellow collar stays yellow in both. */
.rh-theme .halo-navigation .nav-logo {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.rh-theme .halo-navigation .nav-logo-img--dark { display: none; }
.rh-theme .halo-navigation.is-scrolled .nav-logo-img--light { display: none; }
.rh-theme .halo-navigation.is-scrolled .nav-logo-img--dark { display: inline-block; }
.rh-theme .halo-navigation .nav-link,
.rh-theme .halo-navigation .nav-dropdown-toggle,
.rh-theme .halo-navigation .nav-icon-btn {
  color: rgba(255, 255, 255, 0.9);
  transition: color 0.3s ease;
}
.rh-theme .halo-navigation .nav-link:hover,
.rh-theme .halo-navigation .nav-dropdown-toggle:hover,
.rh-theme .halo-navigation .nav-icon-btn:hover {
  color: #FFFFFF;
}

/* Scrolled state — solid white nav, original logo colors, dark text */
.rh-theme .halo-navigation.is-scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom-color: var(--rh-border);
}
.rh-theme .halo-navigation.is-scrolled .nav-link,
.rh-theme .halo-navigation.is-scrolled .nav-dropdown-toggle,
.rh-theme .halo-navigation.is-scrolled .nav-icon-btn {
  color: var(--rh-text);
}
.rh-theme .halo-navigation.is-scrolled .nav-link:hover,
.rh-theme .halo-navigation.is-scrolled .nav-dropdown-toggle:hover,
.rh-theme .halo-navigation.is-scrolled .nav-icon-btn:hover {
  color: #000000;
}

/* Typography — aligned to Halo style guide */
.rh-text-gradient {
  color: var(--halo-color-action-primary, #FCD62D);
}

.rh-h1 {
  font-size: var(--halo-type-display, 3.75rem);
  font-weight: 650;
  letter-spacing: 0;
  line-height: 1.04;
  margin: 0 0 24px;
  text-wrap: balance;
}

.rh-h2 {
  font-size: var(--halo-type-section, 2.5rem);
  font-weight: 650;
  letter-spacing: 0;
  line-height: 1.04;
  margin: 0 0 16px;
  text-wrap: balance;
}

.rh-h3 {
  font-size: var(--halo-type-subsection, 1.75rem);
  font-weight: 650;
  letter-spacing: 0;
  line-height: 1.12;
  margin: 0 0 8px;
}

.rh-p {
  font-size: var(--halo-type-body, 1rem);
  color: var(--rh-text-mute);
  font-weight: 400;
  max-width: 680px;
  margin: 0 0 32px;
  line-height: 1.55;
}

/* Layout */
.rh-section {
  padding: clamp(56px, 8vh, 96px) 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  overflow-x: hidden;
}

.rh-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Button — Halo action-primary */
.rh-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--halo-color-action-primary, #FCD62D);
  color: var(--halo-color-action-primary-text, #071826);
  padding: 16px 36px;
  font-size: var(--halo-type-body, 1rem);
  font-weight: 650;
  line-height: 1.15;
  border-radius: var(--halo-component-button-radius, 999px);
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  box-shadow: 0 4px 20px rgba(252, 214, 45, 0.15);
  border: none;
  cursor: pointer;
}
.rh-btn:hover {
  background: var(--halo-color-action-primary-hover, #E8C428);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(252, 214, 45, 0.3);
  text-decoration: none;
}

/* Ghost variant — outline button for use on dark/photo backgrounds */
a.rh-btn--ghost,
.rh-btn--ghost {
  background: transparent;
  color: var(--halo-color-text-inverse, #ffffff);
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow: none;
}
a.rh-btn--ghost:hover,
.rh-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.9);
  color: var(--halo-color-text-inverse, #ffffff);
  box-shadow: none;
}

/* Inverse variant — solid white background, dark text. Primary action on
   dark/photo sections where yellow would clash with the imagery. */
a.rh-btn--inverse,
.rh-btn--inverse {
  background: var(--halo-color-surface-raised, #ffffff);
  color: var(--halo-color-text-primary, #071826);
  border: none;
  box-shadow: 0 4px 20px rgba(7, 24, 38, 0.18);
}
a.rh-btn--inverse:hover,
.rh-btn--inverse:hover {
  background: var(--halo-color-surface-raised, #ffffff);
  color: var(--halo-color-text-primary, #071826);
  box-shadow: 0 8px 30px rgba(7, 24, 38, 0.28);
}

/* ============================================================================
   Featured benefit cards — image-fill grid (same look as Pack Perks list page)
   Used on the marketing page hero section as a 4-up grid.
   ============================================================================ */
.rh-feat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.rh-feat-card {
  position: relative;
  isolation: isolate;
  min-height: clamp(440px, 32vw, 540px);
  border: 0;
  border-radius: var(--halo-component-card-radius, 16px);
  overflow: hidden;
  background: var(--rh-dark, #071826);
  color: #ffffff;
  display: grid;
  align-items: end;
  box-shadow: 0 6px 18px rgba(7, 24, 38, 0.10);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.rh-feat-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(7, 24, 38, 0.18);
}
.rh-feat-card__img {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.rh-feat-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.rh-feat-card__img::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 24, 38, 0.04) 0%, rgba(7, 24, 38, 0.22) 38%, rgba(7, 24, 38, 0.85) 100%),
    linear-gradient(90deg, rgba(7, 24, 38, 0.40) 0%, transparent 46%);
  pointer-events: none;
  z-index: 1;
}
.rh-feat-card__text {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  min-height: 190px;
  padding: 24px 20px 22px;
  justify-content: end;
}
.rh-feat-card__logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin: 0 0 12px;
  padding: 6px;
  background: rgba(255, 255, 255, 0.96);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(7, 24, 38, 0.24);
}
.rh-feat-card__logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Fill variant — for brand marks that include their own background and
   should bleed to the chip edges (e.g. Travel + Leisure GO). */
.rh-feat-card__logo--fill {
  padding: 0;
  background: transparent;
}
.rh-feat-card__logo--fill img {
  object-fit: cover;
  border-radius: 12px;
}
.rh-feat-card__eyebrow {
  display: block;
  margin: 0 0 8px;
  color: var(--halo-color-action-primary, #FCD62D);
  font-size: var(--halo-type-caption, 0.75rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}
.rh-feat-card__title {
  margin: 0 0 8px;
  color: #ffffff;
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  font-weight: 650;
  line-height: 1.2;
  letter-spacing: 0;
}
.rh-feat-card__copy {
  margin: 0;
  max-width: 34ch;
  color: rgba(255, 255, 255, 0.82);
  font-size: var(--halo-type-small, 0.875rem);
  line-height: 1.45;
}

@media (max-width: 1100px) {
  .rh-feat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .rh-feat-grid { grid-template-columns: 1fr; }
  .rh-feat-card { min-height: 340px; }
}

/* CTA pair — primary + secondary side-by-side with optional helper note */
.rh-cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 14px 16px;
  margin: 0;
}
.rh-cta-row__secondary {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.rh-cta-note {
  font-size: var(--halo-type-caption, 0.75rem);
  font-weight: 500;
  line-height: 1.2;
  color: rgba(255, 255, 255, 0.65);
  letter-spacing: 0;
  text-align: center;
}
@media (max-width: 600px) {
  .rh-cta-row {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .rh-cta-row .rh-btn { width: 100%; }
  .rh-cta-row__secondary { align-items: center; }
  .rh-cta-note { text-align: center; }
}

/* Specific Sections */

/* Hero */
.rh-hero {
  min-height: 80vh;
  display: flex;
  align-items: center;
  text-align: center;
  border-bottom: 1px solid var(--rh-border);
  position: relative;
  overflow: hidden;
  background-color: var(--rh-dark, #071826);
}
.rh-hero .rh-h1 {
  color: #FFFFFF;
}
.rh-hero .rh-p {
  color: rgba(255, 255, 255, 0.7);
}
.rh-hero::before {
  content: "";
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(252, 214, 45, 0.18) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}
/* Subtle dot-grid pattern across the hero — reads as texture, not noise */
.rh-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, 0.06) 1px, transparent 1.5px);
  background-size: 26px 26px;
  background-position: 0 0;
  pointer-events: none;
  z-index: 0;
}
.rh-hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 1140px;
  margin: 0 auto;
}

/* ============================================================================
   Spotlight Layouts — 4 distinct shapes, unified visual language.
   Rhythm: Center → Left split → Right split → Center cinematic.
   ============================================================================ */

.rh-section-head {
  text-align: center;
  max-width: 880px;
  margin: 0 auto 56px;
}
.rh-section-head .rh-eyebrow {
  margin-bottom: 18px;
}
.rh-section-head .rh-p {
  margin: 0 auto;
}

.rh-eyebrow {
  font-size: max(var(--halo-type-caption, 0.75rem), 0.8125rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  line-height: 1.2;
  color: var(--rh-text-mute);
  display: inline-block;
}

/* Vertical spacing between spotlights when stacked in one section.
   Same gap regardless of which two patterns are adjacent. */
.rh-spot-overlay + .rh-spot-split,
.rh-spot-split + .rh-spot-overlay,
.rh-spot-split + .rh-spot-split,
.rh-spot-overlay + .rh-spot-overlay {
  margin-top: 56px;
}

/* Shared atoms */
.rh-spot__logo {
  height: 26px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  object-position: left center;
  display: block;
  margin-bottom: 28px;
}
.rh-spot__num {
  font-size: clamp(3rem, 5.5vw, 4.5rem);
  font-weight: 650;
  line-height: 1.04;
  letter-spacing: 0;
  color: var(--rh-text);
  display: block;
  font-variant-numeric: tabular-nums;
}
.rh-spot__num--text {
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
  letter-spacing: 0;
  font-variant-numeric: normal;
  line-height: 1.08;
}
.rh-spot__label {
  font-size: max(var(--halo-type-caption, 0.75rem), 0.8125rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  line-height: 1.2;
  color: var(--rh-text-mute);
  margin-top: 14px;
  margin-bottom: 24px;
  display: block;
}
.rh-spot__copy {
  font-size: var(--halo-type-body, 1rem);
  color: var(--rh-text-mute);
  line-height: 1.55;
  margin: 0;
  max-width: 520px;
}

/* Keep .rh-big-number for compatibility */
.rh-big-number {
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 650;
  line-height: 1.04;
  letter-spacing: 0;
  color: var(--rh-text);
}
.rh-big-number-label {
  font-size: var(--halo-type-body, 1rem);
  color: var(--rh-text-mute);
  margin-top: 16px;
  font-weight: 400;
}

/* Pattern A — Half-half Split (Pawp's original).
   Two side-by-side cards with a gap. Content card 5fr + media card 7fr.
   .rh-spot-split--reverse mirrors: media LEFT (7fr) + content RIGHT (5fr). */
.rh-spot-split {
  display: grid;
  grid-template-columns: 5fr 7fr;
  grid-template-areas: "content media";
  gap: 40px;
  align-items: center;
}
.rh-spot-split--reverse {
  grid-template-columns: 7fr 5fr;
  grid-template-areas: "media content";
}
.rh-spot-split__content { grid-area: content; }
.rh-spot-split__media   { grid-area: media; }
.rh-spot-split__content {
  background: var(--rh-bg-card);
  border: 1px solid var(--rh-border);
  border-radius: var(--rh-radius-lg);
  padding: 64px 56px;
}
.rh-spot-split__media {
  border-radius: var(--rh-radius-lg);
  overflow: hidden;
  aspect-ratio: 1 / 1;
  box-shadow: 0 24px 60px rgba(0,0,0,0.08);
  background: var(--rh-bg-card);
}
.rh-spot-split__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Pattern B — Full-width Overlay (Pets Table's original).
   Wide rounded image with a floating glass content card.
   Default: card BOTTOM-LEFT.
   .rh-spot-overlay--right: card BOTTOM-RIGHT (mirror, for variety). */
.rh-spot-overlay {
  position: relative;
  border-radius: var(--rh-radius-lg);
  overflow: hidden;
  aspect-ratio: 16 / 8;
  min-height: 520px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.1);
}
.rh-spot-overlay__media {
  position: absolute;
  inset: 0;
}
.rh-spot-overlay__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.rh-spot-overlay__card {
  position: absolute;
  bottom: 36px;
  left: 36px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: var(--rh-radius-md);
  padding: 40px 44px;
  max-width: 460px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.14);
}
.rh-spot-overlay--right .rh-spot-overlay__card {
  left: auto;
  right: 36px;
}
.rh-spot-overlay__carriers {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.rh-spot-overlay__carriers img {
  height: 26px;
  width: auto;
  opacity: 0.9;
  object-fit: contain;
}

/* ============================================================================
   Brand Grid (Rotating Offers) — replaces old lifestyle spotlight + offers grid
   ============================================================================ */
.rh-brands-header {
  text-align: center;
  max-width: 880px;
  margin: 0 auto 64px;
}
.rh-brands-header .rh-spot__label {
  margin-top: 0;
  margin-bottom: 16px;
}
.rh-brands-header .rh-h2,
.rh-section-head .rh-h2 {
  text-wrap: balance;
}
/* Auto-scrolling marquee — seamless infinite loop, pauses on hover.
   Track holds the tiles duplicated; animation translates -50% (one full set). */
.rh-brands-marquee {
  position: relative;
  overflow: hidden;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  mask-image: linear-gradient(to right, transparent 0, black 6%, black 94%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0, black 6%, black 94%, transparent 100%);
}
.rh-brands-marquee__track {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: rh-marquee 95s linear infinite;
}
.rh-brands-marquee:hover .rh-brands-marquee__track,
.rh-brands-marquee:focus-within .rh-brands-marquee__track {
  animation-play-state: paused;
}
@keyframes rh-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .rh-brands-marquee__track { animation: none; }
  .rh-brands-marquee {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }
  .rh-brands-marquee .rh-brands-tile { scroll-snap-align: start; }
}

.rh-brands-tile {
  background: var(--rh-bg-elevated);
  border: 1px solid var(--rh-border);
  border-radius: var(--rh-radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  width: 200px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  text-decoration: none;
  color: var(--rh-text);
}
.rh-brands-tile:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(0,0,0,0.08);
}
.rh-brands-tile__media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--rh-bg-card);
  overflow: hidden;
}
.rh-brands-tile__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.rh-brands-tile__chip {
  position: absolute;
  bottom: 14px;
  left: 14px;
  background: transparent;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.rh-brands-tile__chip img {
  height: 53px;
  width: auto;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.45));
}
.rh-brands-tile__body {
  padding: 20px 22px 22px;
  text-align: left;
}
.rh-brands-tile__value {
  font-size: var(--halo-type-card-title, 1.125rem);
  font-weight: 650;
  color: var(--rh-text);
  letter-spacing: 0;
  line-height: 1.18;
  margin-bottom: 4px;
  display: block;
  font-variant-numeric: tabular-nums;
}
.rh-brands-tile__desc {
  font-size: var(--halo-type-small, 0.875rem);
  color: var(--rh-text-mute);
  line-height: 1.45;
  margin: 0;
}

/* Static brand grid — replaces the auto-scrolling marquee. Uses flex-wrap so
   a partial last row automatically centers its leftover tile(s).
   Default: 6 across at desktop, 4 / 3 / 2 at smaller breakpoints. */
.rh-brands-grid {
  --rh-grid-cols: 6;
  --rh-grid-gap-x: 24px;
  --rh-grid-gap-y: 36px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--rh-grid-gap-y) var(--rh-grid-gap-x);
  margin: 0 auto;
  max-width: 1200px;
}
.rh-brands-grid .rh-brands-tile--solid {
  width: calc((100% - (var(--rh-grid-cols) - 1) * var(--rh-grid-gap-x)) / var(--rh-grid-cols));
  max-width: 200px;
}
@media (max-width: 1100px) {
  .rh-brands-grid { --rh-grid-cols: 4; }
}
@media (max-width: 760px) {
  .rh-brands-grid { --rh-grid-cols: 3; --rh-grid-gap-x: 16px; --rh-grid-gap-y: 28px; }
}
@media (max-width: 480px) {
  .rh-brands-grid { --rh-grid-cols: 2; --rh-grid-gap-x: 14px; --rh-grid-gap-y: 22px; }
}

/* Variant B — app-icon tile: rounded square icon, centered text below, no card frame */
.rh-brands-tile--solid {
  width: 220px;
  background: transparent;
  border: none;
  box-shadow: none;
  overflow: visible;
}
.rh-brands-tile--solid:hover {
  transform: none;
  background: transparent;
  border-color: transparent;
  box-shadow: none;
}
.rh-brands-tile--solid .rh-brands-tile__media {
  background: var(--rh-bg-card);
  overflow: hidden;
  aspect-ratio: 1 / 1;
  border-radius: var(--rh-radius-md);
}
.rh-brands-tile--solid .rh-brands-tile__media img {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: cover;
  display: block;
}
.rh-brands-tile--solid .rh-brands-tile__body {
  padding: 16px 4px 0;
  text-align: center;
}
.rh-brands-tile--solid .rh-brands-tile__value {
  font-size: 1rem;
  font-weight: 650;
  margin-bottom: 3px;
}
.rh-brands-tile--solid .rh-brands-tile__desc {
  font-size: var(--halo-type-small, 0.875rem);
  line-height: 1.4;
}

/* Summary Statement */
.rh-summary-wrapper {
  background: var(--rh-bg-card);
  border: 1px solid var(--rh-border);
  border-radius: 32px;
  padding: 60px;
  max-width: 800px;
  margin: 0 auto;
}
.rh-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  border-bottom: 1px solid var(--rh-border);
}
.rh-summary-row .label {
  font-size: var(--halo-type-body, 1rem);
  color: var(--rh-text);
  font-weight: 400;
}
.rh-summary-row .value {
  font-size: var(--halo-type-card-title, 1.125rem);
  color: var(--rh-text);
  font-weight: 650;
}
.rh-summary-row .value span {
  color: var(--rh-text-mute);
  font-size: var(--halo-type-body, 1rem);
  font-weight: 400;
  margin-left: 8px;
}
.rh-summary-total {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 40px 0 0;
}
.rh-summary-total .label {
  font-size: var(--halo-type-card-title, 1.125rem);
  color: var(--rh-text-mute);
}
.rh-summary-total .value {
  font-size: var(--halo-type-section, 2.5rem);
  font-weight: 650;
  letter-spacing: 0;
  color: var(--rh-text);
  line-height: 1.04;
}

/* Tier Matrix */
.rh-matrix {
  width: 100%;
  border-collapse: collapse;
  margin-top: 60px;
}
.rh-matrix th, .rh-matrix td {
  padding: 32px 24px;
  text-align: left;
  border-bottom: 1px solid var(--rh-border);
  font-size: var(--halo-type-body, 1rem);
  font-weight: 400;
}
.rh-matrix th {
  color: var(--rh-text-mute);
  font-size: max(var(--halo-type-caption, 0.75rem), 0.8125rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.rh-matrix tr:first-child th {
  border-bottom: 2px solid var(--rh-border);
}
.rh-matrix .col-bronze { color: var(--halo-bronze); }
.rh-matrix .col-silver { color: var(--halo-silver); }
.rh-matrix .col-gold { color: var(--halo-gold); }

.rh-matrix td:first-child, .rh-matrix th:first-child {
  padding-left: 0;
  color: var(--rh-text);
}
.rh-matrix td:last-child, .rh-matrix th:last-child {
  padding-right: 0;
}

/* Total Value Row Highlighting */
.rh-matrix .total-row td {
  font-size: var(--halo-type-card-title, 1.125rem);
  font-weight: 650;
  padding-top: 48px;
  padding-bottom: 48px;
  border-bottom: 2px solid var(--rh-border);
}

/* ============================================================================
   Dark section variant — used on the Allocation by Tier matrix
   ============================================================================ */
.rh-section--dark {
  background: var(--rh-dark, #071826);
  color: var(--halo-color-text-inverse, rgba(255, 255, 255, 0.92));
  position: relative;
  padding-bottom: clamp(96px, 12vh, 144px);
  overflow: hidden;
  isolation: isolate;
}
/* Soft yellow radial glow for warmth */
.rh-section--dark::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(252, 214, 45, 0.1) 0%, transparent 55%),
    radial-gradient(ellipse at 100% 100%, rgba(255, 255, 255, 0.03) 0%, transparent 45%);
  pointer-events: none;
  z-index: 0;
}
/* Subtle dot-grid pattern — same pattern as hero for cohesion */
.rh-section--dark::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, 0.06) 1px, transparent 1.5px);
  background-size: 26px 26px;
  pointer-events: none;
  z-index: 0;
}
.rh-section--dark > * {
  position: relative;
  z-index: 1;
}
.rh-section--dark .rh-h2 {
  color: #FFFFFF;
}
.rh-section--dark .rh-p {
  color: rgba(255, 255, 255, 0.65);
}
.rh-section--dark .rh-eyebrow {
  color: rgba(255, 255, 255, 0.55);
}

/* Matrix wrapper — gives the table its own contained card on the dark section */
.rh-matrix-wrap {
  max-width: 1080px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--rh-radius-lg);
  padding: 16px 40px 24px;
  overflow-x: auto;
}

/* Tier pills in column headers */
.tier-pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: var(--halo-radius-pill, 999px);
  font-size: var(--halo-type-caption, 0.75rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid transparent;
}
.tier-pill--bronze {
  background: rgba(217, 167, 123, 0.12);
  color: #D9A77B;
  border-color: rgba(217, 167, 123, 0.25);
}
.tier-pill--silver {
  background: rgba(212, 216, 220, 0.12);
  color: #D4D8DC;
  border-color: rgba(212, 216, 220, 0.25);
}
.tier-pill--gold {
  background: rgba(240, 214, 112, 0.16);
  color: #F0D670;
  border-color: rgba(240, 214, 112, 0.32);
}
.rh-section--dark .rh-matrix th,
.rh-section--dark .rh-matrix td {
  border-bottom-color: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.92);
  padding: 22px 20px;
  font-size: var(--halo-type-body, 1rem);
  text-align: center;
}
.rh-section--dark .rh-matrix th {
  font-size: max(var(--halo-type-caption, 0.75rem), 0.8125rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.6);
  padding: 24px 20px;
}
.rh-section--dark .rh-matrix th:first-child,
.rh-section--dark .rh-matrix td:first-child {
  text-align: left;
  padding-left: 8px;
  color: #FFFFFF;
  font-weight: 500;
}
.rh-section--dark .rh-matrix th:last-child,
.rh-section--dark .rh-matrix td:last-child {
  padding-right: 8px;
}
.rh-section--dark .rh-matrix tr:first-child th {
  border-bottom-color: rgba(255, 255, 255, 0.14);
}
.rh-section--dark .rh-matrix tr:last-child td {
  border-bottom: none;
}
.rh-section--dark .rh-matrix .col-bronze { color: #D9A77B; }
.rh-section--dark .rh-matrix .col-silver { color: #D4D8DC; }
.rh-section--dark .rh-matrix .col-gold   { color: #F0D670; }

.rh-section--dark .rh-matrix .total-row td {
  font-size: var(--halo-type-card-title, 1.125rem);
  padding-top: 32px;
  padding-bottom: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  border-bottom: none;
  color: #FFFFFF;
  font-weight: 650;
}
.rh-section--dark .rh-text-gradient {
  color: #F0D670;
  font-weight: 650;
}

/* Responsive — spotlights & brand grid */
@media (max-width: 900px) {
  .rh-spot-split {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .rh-spot-split__content {
    padding: 40px 32px;
  }
  .rh-spot-stack__media { aspect-ratio: 4 / 3; margin-bottom: 36px; }
  .rh-spot-overlay { min-height: 460px; aspect-ratio: auto; }
  .rh-spot-overlay__card {
    bottom: 20px;
    left: 20px;
    right: 20px;
    padding: 28px;
    max-width: none;
  }
  .rh-spot-cinematic { min-height: 560px; }
  .rh-brands-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 700px) {
  .rh-brands-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .rh-brands-grid { grid-template-columns: 1fr; }
}

/* ============================================================================
   Cinematic Finale CTA — closes the page with a full-bleed image moment.
   ============================================================================ */
.rh-cta-finale {
  position: relative;
  min-height: clamp(580px, 74vh, 800px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  isolation: isolate;
  text-align: center;
  padding: 64px 24px;
  margin-bottom: 0;
}
.rh-cta-finale__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  z-index: 1;
}
.rh-cta-finale__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.65) 100%);
  z-index: 2;
}
.rh-cta-finale__content {
  position: relative;
  z-index: 10;
  max-width: 900px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.rh-cta-finale__title {
  max-width: 880px;
}
.rh-cta-finale__copy {
  max-width: 560px;
}
.rh-cta-finale__eyebrow {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 24px;
}
.rh-cta-finale__title {
  color: #FFFFFF;
  margin-bottom: 24px;
  text-wrap: balance;
}
.rh-cta-finale__copy {
  color: rgba(255, 255, 255, 0.85);
  margin: 0 auto 40px;
}

/* Animations */
.rh-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}
.rh-reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .rh-portfolio-item {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 60px 0;
  }
  .rh-portfolio-item.reverse .rh-portfolio-text {
    align-items: flex-start;
  }
  .rh-summary-wrapper {
    padding: 32px 24px;
  }
  .rh-matrix {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
  .rh-h1 {
    font-size: var(--halo-type-hero, 2.65rem);
  }
  .rh-h2 {
    font-size: var(--halo-type-page, 2.35rem);
  }
}