/**
 * Remarketing page — “signal return” design.
 * Deliberately unlike presentation-website (no orb hero, no keyword cards, no React Bits stack).
 */

.rm-page {
  --rm-pad-y: clamp(2.4rem, 5vw, 4rem);
  --rm-gutter: clamp(1.1rem, 3.5vw, 3rem);
  --rm-gold: var(--hn-gold, #f0c43c);
  --rm-navy: var(--hn-navy, #061428);
  --rm-ink: #040c18;
  --rm-panel: #0a1830;
  --rm-text: var(--hn-text, #e8f3ff);
  --rm-muted: rgba(232, 243, 255, 0.72);
  --rm-cyan: #5eb3ff;
  --rm-display: "Sora", "Nunito", Rubik, sans-serif;
  --rm-body: Rubik, "Nunito", sans-serif;
  color: var(--rm-text);
  background: var(--rm-navy);
  font-family: var(--rm-body);
  text-align: left;
  width: 100%;
  overflow-x: clip;
  position: relative;
  z-index: 1;
  /* Clear fixed header so banner/menu never overlap */
  padding-top: var(--pw-header-h, 7.25rem);
}

.rm-page .rm-wrap {
  display: block;
  width: 100%;
  max-width: none;
  margin: 0;
  padding-left: var(--rm-gutter);
  padding-right: var(--rm-gutter);
  box-sizing: border-box;
}

.rm-page a:hover,
.rm-page a:focus {
  text-decoration: none;
}

body.home-navy:has(.rm-page) {
  --pw-chrome-bg: rgba(4, 12, 24, 0.88);
  --pw-chrome-h: 8.5rem;
  /* Safe default until JS measures real header (logo + nav is taller than 5.75rem) */
  --pw-header-h: 7.25rem;
}

body.home-navy:has(.rm-page) header.stick,
body.home-navy:has(.rm-page) header.stick.sticky {
  position: fixed !important;
  top: 0 !important;
  left: 0;
  right: 0;
  z-index: 100000 !important;
  background: var(--pw-chrome-bg) !important;
  -webkit-backdrop-filter: blur(12px) saturate(1.1);
  backdrop-filter: blur(12px) saturate(1.1);
  padding: 20px 0;
}

/* Progress */
.rm-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 80;
  pointer-events: none;
}

.rm-progress__bar {
  display: block;
  height: 100%;
  width: 0%;
  background: var(--rm-gold);
}

/* Breadcrumbs — under header, not behind it */
.rm-crumbs {
  margin-top: 0;
  padding-block: 0.85rem;
  border-bottom: 1px solid rgba(94, 179, 255, 0.14);
}

.rm-crumbs__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 0;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.88rem;
  letter-spacing: 0.02em;
  color: var(--rm-muted);
}

.rm-crumbs__list a {
  color: var(--rm-muted);
}

.rm-crumbs__list a:hover {
  color: var(--rm-gold);
}

.rm-crumbs__list li {
  display: inline-flex;
  align-items: center;
}

.rm-crumbs__list li:not(:first-child)::before {
  content: "›";
  margin-inline: 0.55rem 0.65rem;
  color: var(--rm-cyan);
  opacity: 0.7;
}

.rm-crumbs__list .is-current {
  color: var(--rm-gold);
}

/* —— Hero: text left, loop near banner center (slightly right) —— */
.rm-hero {
  position: relative;
  isolation: isolate;
  overflow: clip;
  min-height: clamp(26rem, 52vh, 32rem);
  display: flex;
  align-items: center;
  /* Extra bottom air so fade never sits on CTAs / loop caption */
  padding-block: clamp(1.85rem, 4.5vh, 3rem) clamp(5rem, 12vh, 7.5rem);
  background:
    linear-gradient(115deg, #061428 0%, #0a1f44 42%, #071530 100%);
}

/* Soft handoff into the photo band below — kept below the CTA row */
.rm-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: clamp(2.75rem, 7vh, 4.5rem);
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgba(6, 20, 40, 0) 0%,
    rgba(6, 20, 40, 0.5) 55%,
    #061428 100%
  );
}

.rm-hero__mesh {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(94, 179, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(94, 179, 255, 0.07) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 75% 70% at 66% 50%, #000 20%, transparent 75%);
  pointer-events: none;
}

.rm-hero__beam {
  position: absolute;
  inset: auto -10% -30% 35%;
  height: 55%;
  z-index: 0;
  background: radial-gradient(ellipse at center, rgba(240, 196, 60, 0.18), transparent 65%);
  pointer-events: none;
  animation: rm-beam 8s ease-in-out infinite alternate;
}

@keyframes rm-beam {
  from { transform: translate3d(0, 0, 0) scale(1); opacity: 0.7; }
  to { transform: translate3d(-4%, -6%, 0) scale(1.08); opacity: 1; }
}

.rm-hero__frame {
  position: relative;
  z-index: 4;
  width: 100%;
}

.rm-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  margin-inline-start: clamp(1.75rem, 4vw, 3.25rem);
  max-width: min(38rem, 48%);
}

.rm-hero__brand {
  margin: 0 0 0.4rem;
  font-family: var(--rm-display);
  font-size: clamp(1.25rem, 2.4vw, 1.75rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--rm-gold);
  line-height: 1.1;
}

.rm-hero__title {
  margin: 0 0 0.65rem;
  font-family: var(--rm-display);
  font-size: clamp(1.75rem, 3.8vw, 2.85rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  max-width: 22ch;
  text-wrap: balance;
}

.rm-hero__lead {
  margin: 0 0 1rem;
  font-size: clamp(0.95rem, 1.3vw, 1.08rem);
  line-height: 1.55;
  color: var(--rm-muted);
  max-width: 36rem;
}

.rm-hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 0.85rem;
}

.rm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.3rem;
  border-radius: 0;
  font-weight: 600;
  font-size: 0.92rem;
  border: 1px solid transparent;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.rm-btn--primary {
  background: var(--rm-gold);
  color: #1f1408;
}

.rm-btn--primary:hover {
  background: #ffd666;
  color: #1f1408;
  transform: translateY(-1px);
}

.rm-btn--ghost {
  background: transparent;
  color: var(--rm-text);
  border-color: rgba(94, 179, 255, 0.45);
}

.rm-btn--ghost:hover {
  border-color: var(--rm-gold);
  color: var(--rm-gold);
}

/* Circle: vertical center of banner, a bit right of horizontal center */
.rm-hero__loop {
  position: absolute;
  left: 66%;
  top: 48%;
  transform: translate(-50%, -50%);
  z-index: 4;
  text-align: center;
  width: min(42vw, 420px);
  margin: 0;
  pointer-events: none;
}

.rm-loop-svg {
  width: 100%;
  height: auto;
  overflow: visible;
  display: block;
}

.rm-loop-svg__ring {
  fill: none;
  stroke: rgba(94, 179, 255, 0.38);
  stroke-width: 2;
}

/* Short traveling accent — not a half-yellow ring */
.rm-loop-svg__pulse {
  fill: none;
  stroke: var(--rm-gold);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-dasharray: 8 92;
  animation: rm-pulse 5s linear infinite;
}

.rm-loop-svg__nodes circle {
  fill: var(--rm-navy);
  stroke: var(--rm-gold);
  stroke-width: 2;
}

.rm-loop-svg__nodes text {
  fill: var(--rm-text);
  font-family: var(--rm-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-anchor: middle;
}

.rm-hero__loop-caption {
  position: relative;
  z-index: 4;
  margin: 0.5rem 0 0;
  font-family: var(--rm-display);
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--rm-cyan);
  text-shadow: 0 1px 10px rgba(4, 12, 24, 0.85);
}

@keyframes rm-pulse {
  to { stroke-dashoffset: -100; }
}

/* Full-bleed photo band intro — fades in from hero navy */
.rm-band {
  position: relative;
  isolation: isolate;
  min-height: clamp(28rem, 62vh, 40rem);
  display: grid;
  align-items: center;
  overflow: clip;
  margin-top: clamp(-3.25rem, -8vh, -2rem);
  padding-top: clamp(2.5rem, 6vh, 4rem);
  background: #061428;
}

.rm-band__media {
  position: absolute;
  /* Oversized so parallax can shift without showing edges */
  inset: -18% 0;
  z-index: 0;
  will-change: transform;
  -webkit-mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(0, 0, 0, 0.35) 14%,
    #000 30%,
    #000 100%
  );
  mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(0, 0, 0, 0.35) 14%,
    #000 30%,
    #000 100%
  );
}

.rm-band__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Scroll-driven parallax (background only) — Baseline Newly; JS fallback in remarketing.js */
@media (prefers-reduced-motion: no-preference) {
  @supports ((animation-timeline: view()) and (animation-range: entry)) {
    .rm-band {
      view-timeline-name: --rm-band;
      view-timeline-axis: block;
    }

    @keyframes rm-band-parallax {
      from { transform: translate3d(0, -9%, 0); }
      to { transform: translate3d(0, 9%, 0); }
    }

    .rm-band__media {
      animation: rm-band-parallax linear both;
      animation-timeline: --rm-band;
      animation-range: cover;
    }
  }
}

.rm-band__veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, #061428 0%, rgba(4, 12, 24, 0.78) 14%, rgba(4, 12, 24, 0.35) 34%, transparent 52%),
    linear-gradient(90deg, rgba(4, 12, 24, 0.96) 0%, rgba(4, 12, 24, 0.88) 38%, rgba(4, 12, 24, 0.72) 62%, rgba(4, 12, 24, 0.55) 100%),
    linear-gradient(0deg, rgba(4, 12, 24, 0.9) 0%, rgba(4, 12, 24, 0.35) 40%, transparent 70%);
}

.rm-band__inner {
  position: relative;
  z-index: 2;
  padding-block: clamp(1.75rem, 4vw, 3rem) clamp(2.5rem, 6vw, 4.5rem);
  align-self: start;
  margin-top: clamp(1.25rem, 4vh, 2.75rem);
}

.rm-kicker {
  margin: 0 0 0.85rem;
  font-family: var(--rm-display);
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--rm-gold);
  text-shadow: 0 1px 12px rgba(4, 12, 24, 0.85);
  text-align: center;
}

.rm-band__grid {
  display: grid;
  gap: 1.25rem 2.5rem;
}

@media (min-width: 900px) {
  .rm-band__grid {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.1fr);
    align-items: start;
  }

  .rm-band__title {
    justify-self: center;
    text-align: center;
  }
}

.rm-band__title {
  margin: 0 auto;
  font-family: var(--rm-display);
  font-size: clamp(1.7rem, 3.4vw, 2.55rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  max-width: 18ch;
  text-wrap: balance;
  text-align: center;
  color: #fff;
  text-shadow: 0 2px 18px rgba(4, 12, 24, 0.9);
}

.rm-band__copy {
  padding: 1rem 1.15rem;
  background: rgba(4, 12, 24, 0.62);
  border-inline-start: 2px solid rgba(240, 196, 60, 0.55);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.rm-band__copy p {
  margin: 0 0 0.95rem;
  color: #f2f7ff;
  font-size: clamp(1.05rem, 1.45vw, 1.18rem);
  line-height: 1.7;
  max-width: 40rem;
  text-shadow: 0 1px 10px rgba(4, 12, 24, 0.75);
}

.rm-band__copy p:last-child {
  margin-bottom: 0;
}

.rm-band__copy strong {
  color: #fff;
  font-weight: 700;
}

/* Shared section shell */
.rm-section {
  padding: var(--rm-pad-y) 0;
  position: relative;
}

.rm-section--ink {
  background: var(--rm-ink);
}

.rm-rail-head {
  margin: 0 auto clamp(1.75rem, 3.5vw, 2.75rem);
  display: grid;
  gap: 0.65rem;
  max-width: 42rem;
  text-align: center;
  justify-items: center;
  border: none;
  padding: 0;
}

.rm-rail-head h2 {
  margin: 0;
  font-family: var(--rm-display);
  font-size: clamp(1.65rem, 3.2vw, 2.4rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.rm-rail-head h2::after {
  content: "";
  display: block;
  width: 2.75rem;
  height: 3px;
  margin: 0.75rem auto 0;
  background: var(--rm-gold);
}

.rm-rail-head p {
  margin: 0;
  color: var(--rm-muted);
  font-size: 1.05rem;
  line-height: 1.6;
  max-width: 36rem;
}

/* Connected path (pillars) — not cards */
.rm-path {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
  counter-reset: none;
  border-block: 1px solid rgba(94, 179, 255, 0.18);
}

@media (min-width: 900px) {
  .rm-path {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.rm-path__step {
  padding: 1.5rem 1.25rem 1.6rem;
  border-bottom: 1px solid rgba(94, 179, 255, 0.14);
  position: relative;
  min-width: 0;
}

@media (min-width: 900px) {
  .rm-path__step {
    border-bottom: none;
    border-inline-end: 1px solid rgba(94, 179, 255, 0.14);
  }

  .rm-path__step:last-child {
    border-inline-end: none;
  }

  .rm-path__step::before {
    content: "";
    position: absolute;
    top: 1.85rem;
    inset-inline: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(240, 196, 60, 0.45), transparent);
    z-index: 0;
  }
}

.rm-path__idx {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.1rem;
  height: 2.1rem;
  margin-bottom: 0.85rem;
  border: 1px solid var(--rm-gold);
  background: var(--rm-navy);
  color: var(--rm-gold);
  font-family: var(--rm-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.rm-path__step h3 {
  margin: 0 0 0.55rem;
  font-family: var(--rm-display);
  font-size: 1.12rem;
  line-height: 1.3;
}

.rm-path__step p {
  margin: 0;
  color: var(--rm-muted);
  line-height: 1.6;
  font-size: 0.96rem;
}

/* Vertical spine process */
.rm-spine {
  padding: var(--rm-pad-y) 0;
  background:
    radial-gradient(ellipse 60% 50% at 0% 30%, rgba(94, 179, 255, 0.1), transparent 60%),
    var(--rm-navy);
}

.rm-spine__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
  position: relative;
}

.rm-spine__list::before {
  content: "";
  position: absolute;
  left: 1.15rem;
  top: 0.5rem;
  bottom: 0.5rem;
  width: 2px;
  background: linear-gradient(180deg, var(--rm-gold), rgba(94, 179, 255, 0.35));
}

@media (min-width: 800px) {
  .rm-spine__list::before {
    left: 2.35rem;
  }
}

.rm-spine__item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem 1.35rem;
  align-items: start;
  padding: 1.15rem 0 1.35rem;
  position: relative;
}

.rm-spine__mark {
  width: 2.35rem;
  height: 2.35rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--rm-ink);
  border: 2px solid var(--rm-gold);
  color: var(--rm-gold);
  font-family: var(--rm-display);
  font-size: 0.75rem;
  font-weight: 700;
  z-index: 1;
}

@media (min-width: 800px) {
  .rm-spine__mark {
    width: 4.7rem;
    height: 4.7rem;
    font-size: 1rem;
  }
}

.rm-spine__item strong {
  display: block;
  font-family: var(--rm-display);
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  margin-bottom: 0.35rem;
}

.rm-spine__item p {
  margin: 0;
  color: var(--rm-muted);
  line-height: 1.6;
  max-width: 40rem;
}

/* Audience rows — no cards */
.rm-rows {
  display: grid;
  gap: 0;
  border-top: 1px solid rgba(94, 179, 255, 0.18);
}

.rm-row {
  display: grid;
  gap: 0.5rem 2rem;
  padding: 1.35rem 0;
  border-bottom: 1px solid rgba(94, 179, 255, 0.14);
}

@media (min-width: 800px) {
  .rm-row {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    align-items: baseline;
  }
}

.rm-row h3 {
  margin: 0;
  font-family: var(--rm-display);
  font-size: 1.2rem;
}

.rm-row p {
  margin: 0;
  color: var(--rm-muted);
  line-height: 1.65;
}

/* Privacy */
.rm-privacy {
  display: grid;
  gap: 1.75rem 2.5rem;
  align-items: stretch;
}

@media (min-width: 900px) {
  .rm-privacy {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  }
}

.rm-privacy__copy h2 {
  margin: 0 0 1rem;
  font-family: var(--rm-display);
  font-size: clamp(1.55rem, 3.2vw, 2.2rem);
}

.rm-privacy__copy p {
  margin: 0 0 1rem;
  color: var(--rm-muted);
  line-height: 1.7;
}

.rm-checklist {
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
}

@media (min-width: 700px) {
  .rm-checklist {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem 1.25rem;
  }
}

.rm-checklist li {
  position: relative;
  padding-left: 1.35rem;
  color: var(--rm-text);
}

.rm-checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.55rem;
  height: 0.55rem;
  background: var(--rm-gold);
}

.rm-privacy__panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.25rem;
  padding: 1.75rem 1.5rem;
  background: linear-gradient(160deg, rgba(94, 179, 255, 0.12), rgba(240, 196, 60, 0.08));
  border-inline-start: 3px solid var(--rm-gold);
}

.rm-privacy__quote {
  margin: 0;
  font-family: var(--rm-display);
  font-size: 1.25rem;
  line-height: 1.4;
  font-weight: 600;
}

/* Steps */
.rm-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 800px) {
  .rm-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem 2rem;
  }
}

@media (min-width: 1200px) {
  .rm-steps {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.rm-steps li {
  padding: 0;
  min-width: 0;
  border-top: 2px solid var(--rm-gold);
  padding-top: 1rem;
}

.rm-steps__num {
  display: block;
  font-family: var(--rm-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--rm-gold);
  margin-bottom: 0.45rem;
  font-variant-numeric: tabular-nums;
}

.rm-steps h3 {
  margin: 0 0 0.45rem;
  font-family: var(--rm-display);
  font-size: 1.12rem;
}

.rm-steps p {
  margin: 0;
  color: var(--rm-muted);
  line-height: 1.6;
}

/* Banner CTA */
.rm-banner {
  padding: clamp(2.5rem, 6vw, 4rem) 0;
  background:
    linear-gradient(120deg, rgba(240, 196, 60, 0.12), transparent 50%),
    #071428;
  border-block: 1px solid rgba(240, 196, 60, 0.2);
}

.rm-banner__inner {
  display: grid;
  gap: 0.85rem 2.5rem;
  align-items: center;
}

@media (min-width: 800px) {
  .rm-banner__inner {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "title cta"
      "lead cta";
  }

  .rm-banner__inner h2 { grid-area: title; }
  .rm-banner__inner p { grid-area: lead; }
  .rm-banner__inner .rm-btn {
    grid-area: cta;
    justify-self: end;
    align-self: center;
  }
}

.rm-banner h2 {
  margin: 0;
  font-family: var(--rm-display);
  font-size: clamp(1.55rem, 3.2vw, 2.25rem);
}

.rm-banner p {
  margin: 0;
  color: var(--rm-muted);
  line-height: 1.6;
  max-width: 46rem;
}

/* FAQ */
.rm-faq {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem 1.15rem;
  width: 100%;
}

@media (min-width: 800px) {
  .rm-faq {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.rm-faq__item {
  border-bottom: 1px solid rgba(94, 179, 255, 0.18);
  background: transparent;
  padding: 0;
  height: fit-content;
  min-width: 0;
}

.rm-faq__item summary {
  cursor: pointer;
  padding: 1rem 0;
  font-weight: 600;
  font-family: var(--rm-display);
  list-style: none;
}

.rm-faq__item summary::-webkit-details-marker {
  display: none;
}

.rm-faq__item summary::after {
  content: "+";
  float: right;
  color: var(--rm-gold);
  font-weight: 400;
}

.rm-faq__item[open] summary::after {
  content: "–";
}

.rm-faq__item p {
  margin: 0 0 1rem;
  color: var(--rm-muted);
  line-height: 1.65;
}

/* Reveal — fade in/out on every scroll enter/exit */
[data-rm-reveal] {
  opacity: 0;
  transform: translateY(1.1rem);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

[data-rm-reveal].is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: no-preference) {
  @supports ((animation-timeline: view()) and (animation-range: entry)) {
    @keyframes rm-reveal-in {
      from {
        opacity: 0;
        transform: translateY(1.15rem);
      }
    }

    @keyframes rm-reveal-out {
      to {
        opacity: 0;
        transform: translateY(-0.85rem);
      }
    }

    [data-rm-reveal] {
      opacity: 1;
      transform: none;
      transition: none;
      animation:
        rm-reveal-in linear both,
        rm-reveal-out linear both;
      animation-timeline: view(), view();
      animation-range: entry 0% cover 40%, cover 60% exit 100%;
    }

    [data-rm-reveal].is-in {
      opacity: 1;
      transform: none;
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  .rm-hero__beam,
  .rm-loop-svg__pulse {
    animation: none !important;
  }

  .rm-loop-svg__pulse {
    stroke-dasharray: none;
    opacity: 0;
  }

  .rm-band__media {
    animation: none !important;
    transform: none !important;
    inset: 0;
  }

  [data-rm-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }

  .rm-btn--primary:hover {
    transform: none;
  }
}

@media (max-width: 640px) {
  .rm-hero {
    min-height: clamp(22rem, 56vh, 28rem);
    padding-block: 1.5rem 4.25rem;
  }

  .rm-hero::after {
    height: 3rem;
  }

  .rm-band {
    margin-top: -2rem;
    padding-top: 2rem;
  }

  .rm-hero__copy {
    margin-inline-start: 0.75rem;
    max-width: min(100%, 58%);
  }

  .rm-hero__title {
    max-width: none;
    font-size: clamp(1.35rem, 6.2vw, 1.85rem);
  }

  .rm-hero__lead {
    font-size: 0.92rem;
    margin-bottom: 0.75rem;
  }

  .rm-hero__loop {
    left: 72%;
    width: min(48vw, 220px);
  }

  .rm-hero__loop-caption {
    display: none;
  }

  .rm-loop-svg__nodes text {
    font-size: 11px;
  }
}
