/* ============================================================
   HOMEPAGE COMPOSITION — Ringneck 2.0
   Page-specific layout and the built vignettes. Every colour is
   a token or an rgba() of a palette hex. Loads after
   afterburner.css and never redefines a component.
   ============================================================ */

/* ============================================================
   §1 HERO — one customer path, two-sided
   ============================================================ */

.hp-scene {
  margin: 0;
}

.hp-scene__frame {
  position: relative;
  overflow: hidden;
  padding: var(--space-5) var(--space-5) var(--space-6);
  border: 1px solid var(--line-dark-strong);
  border-radius: var(--radius-frame);
  background:
    linear-gradient(155deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.015)),
    rgba(2, 15, 20, 0.72);
  box-shadow: var(--shadow-lg);
}

.hp-scene__grid {
  display: grid;
  gap: 0;
  grid-template-columns: minmax(0, 1fr) 1px minmax(0, 1fr);
}

.hp-surface {
  display: grid;
  align-content: start;
  gap: var(--space-3);
}

.hp-surface--found {
  padding-right: var(--space-5);
}

.hp-surface--booked {
  padding-left: var(--space-5);
}

.hp-seam {
  position: relative;
  background: linear-gradient(
    180deg,
    transparent,
    rgba(255, 255, 255, 0.11) 22%,
    rgba(255, 255, 255, 0.11) 78%,
    transparent
  );
}

/* Search field */
.hp-search {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 38px;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-muted-dark);
  font-size: 0.8rem;
}

.hp-search svg {
  flex: 0 0 auto;
  color: var(--text-faint-dark);
}

.hp-search span {
  color: var(--text-body-dark);
}

/* Static caret: the bar reads as a live input without looping. */
.hp-caret {
  display: block;
  width: 2px;
  height: 13px;
  background: var(--action);
}

/* Map fragment */
.hp-map {
  position: relative;
  overflow: hidden;
  height: 132px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-control);
  background: rgba(10, 55, 70, 0.42);
}

.hp-map svg {
  width: 100%;
  height: 100%;
}

.hp-pin {
  position: absolute;
  display: grid;
  place-items: center;
  border-radius: 50%;
}

.hp-pin--a,
.hp-pin--b {
  width: 7px;
  height: 7px;
  background: rgba(255, 255, 255, 0.28);
}

.hp-pin--a { top: 22%; left: 21%; }
.hp-pin--b { top: 68%; left: 76%; }

.hp-pin--me {
  top: 40%;
  left: 47%;
  width: 26px;
  height: 26px;
  border: 1px solid rgba(239, 91, 55, 0.5);
  background: rgba(239, 91, 55, 0.16);
  color: var(--action-hover);
  transform: translate(-50%, -50%);
}

/* Result row */
.hp-listing {
  display: grid;
  gap: 0.15rem;
  padding: 0.7rem 0.8rem;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-control);
  background: rgba(255, 255, 255, 0.035);
}

.hp-listing strong {
  color: var(--text-heading-dark);
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.hp-stars {
  color: var(--text-faint-dark);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
}

.hp-stars i {
  color: var(--action-hover);
  font-style: normal;
}

.hp-stars b {
  color: var(--text-body-dark);
  font-weight: 600;
}

.hp-meta {
  color: var(--text-faint-dark);
  font-size: 0.72rem;
}

/* Missed call answered */
.hp-call {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 38px;
  padding: 0.5rem 0.6rem 0.5rem 0.55rem;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-control);
  background: rgba(255, 255, 255, 0.035);
}

.hp-call__icon {
  display: grid;
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: rgba(50, 223, 200, 0.12);
  color: var(--system);
}

.hp-call__label {
  color: var(--text-muted-dark);
  font-size: 0.74rem;
}

.hp-chip {
  padding: 0.2rem 0.45rem;
  border-radius: var(--radius-pill);
  margin-left: auto;
  background: rgba(50, 223, 200, 0.12);
  color: var(--system);
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

/* Thread */
.hp-thread {
  display: grid;
  gap: 0.4rem;
}

.hp-bubble {
  max-width: 88%;
  padding: 0.5rem 0.7rem;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-control);
  margin: 0;
  font-size: 0.76rem;
  line-height: 1.45;
}

.hp-bubble--them {
  border-bottom-left-radius: 3px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-muted-dark);
}

.hp-bubble--us {
  border-color: rgba(50, 223, 200, 0.25);
  border-bottom-right-radius: 3px;
  margin-left: auto;
  background: rgba(50, 223, 200, 0.1);
  color: var(--text-body-dark);
}

.hp-booked {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 0.7rem;
  border: 1px solid rgba(50, 223, 200, 0.28);
  border-radius: var(--radius-control);
  background: rgba(50, 223, 200, 0.08);
  color: var(--text-heading-dark);
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.hp-booked__icon {
  display: grid;
  place-items: center;
  color: var(--system);
}

/* The rail: one person moving left to right */
.hp-rail {
  position: relative;
  height: 1px;
  margin-top: var(--space-6);
  background: linear-gradient(
    90deg,
    transparent,
    rgba(239, 91, 55, 0.45) 14%,
    rgba(255, 255, 255, 0.12) 50%,
    rgba(50, 223, 200, 0.45) 86%,
    transparent
  );
}

/* Static marker: parked on the rail's teal anchor — the handoff has landed.
   The rail gradient already carries the left-to-right story; nothing loops. */
.hp-rail__marker {
  position: absolute;
  top: 50%;
  left: 86%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--system);
  box-shadow: 0 0 12px rgba(50, 223, 200, 0.55);
  transform: translate(-50%, -50%);
}

/* The homepage centerpiece: one search surface handing a real customer into
   a device-framed text thread. All seven beats use one shared keyframe. */
.hp-story {
  position: relative;
  margin: 0;
}

/* The hero eyebrow must hold one line beside the 640px copy measure. */
.rn-hero .rn-eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.09em;
}

.hp-story__stage {
  position: relative;
  min-height: 500px;
}

.hp-story__search {
  position: absolute;
  z-index: 1;
  top: 40px;
  left: 0;
  width: 56%;
  padding: var(--space-4);
  border: 1px solid rgba(239, 91, 55, 0.28);
  border-radius: var(--radius-card);
  background:
    linear-gradient(145deg, rgba(239, 91, 55, 0.07), rgba(255, 255, 255, 0.025)),
    rgba(2, 15, 20, 0.94);
  box-shadow: 0 24px 70px rgba(2, 15, 20, 0.48);
}

.hp-story__result {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  min-height: 112px;
  padding: var(--space-4);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-control);
  margin-top: var(--space-3);
  background: rgba(255, 255, 255, 0.045);
}

.hp-story__pin {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(239, 91, 55, 0.45);
  border-radius: 50%;
  background: rgba(239, 91, 55, 0.12);
  color: var(--action-hover);
  box-shadow: 0 0 26px rgba(239, 91, 55, 0.14);
}

.hp-story__listing {
  display: grid;
  gap: 0.15rem;
}

.hp-story__listing strong {
  color: var(--text-heading-dark);
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 700;
}

.hp-phone {
  position: absolute;
  z-index: 2;
  top: 0;
  right: 0;
  width: min(292px, 60%);
  min-height: 400px;
  padding: var(--space-3) var(--space-3) var(--space-5);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-frame);
  background:
    linear-gradient(155deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.018)),
    rgba(2, 15, 20, 0.94);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.42), 0 0 80px rgba(50, 223, 200, 0.07);
}

.hp-phone__notch {
  display: block;
  width: 78px;
  height: 6px;
  border-radius: var(--radius-pill);
  margin: 0 auto var(--space-3);
  background: rgba(255, 255, 255, 0.16);
}

.hp-phone__bar {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-3);
  padding: 0 var(--space-2) var(--space-3);
  border-bottom: 1px solid var(--line-dark);
  color: var(--text-faint-dark);
  font-size: 0.7rem;
}

.hp-phone__bar span:first-child {
  color: var(--text-body-dark);
  font-weight: 600;
}

.hp-phone__feed {
  display: grid;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-1) 0;
}

.hp-phone__event {
  margin: 0;
  color: var(--text-faint-dark);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  line-height: 1.3;
  text-align: center;
  text-transform: uppercase;
}

.hp-phone__event--live {
  color: var(--system);
}

.hp-phone__msg {
  max-width: 88%;
  padding: 0.6rem 0.75rem;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-control);
  margin: 0;
  color: var(--text-muted-dark);
  font-size: 0.78rem;
  line-height: 1.45;
}

.hp-phone__msg--them {
  border-bottom-left-radius: 3px;
  background: rgba(255, 255, 255, 0.055);
}

.hp-phone__msg--us {
  border-color: rgba(50, 223, 200, 0.3);
  border-bottom-right-radius: 3px;
  margin-left: auto;
  background: rgba(50, 223, 200, 0.1);
  color: var(--text-body-dark);
}

.hp-phone__booked {
  display: flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 0.7rem;
  border: 1px solid rgba(50, 223, 200, 0.4);
  border-radius: var(--radius-control);
  background: rgba(50, 223, 200, 0.1);
  color: var(--text-heading-dark);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
}

.hp-phone__booked svg {
  color: var(--system);
}

.hp-story__rail {
  position: absolute;
  right: 4%;
  bottom: 8px;
  left: 4%;
  height: 1px;
  background: linear-gradient(90deg, rgba(239, 91, 55, 0.55), rgba(255, 255, 255, 0.12) 46%, rgba(50, 223, 200, 0.62));
}

.hp-story__rail i {
  position: absolute;
  top: 50%;
  left: 100%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--system);
  box-shadow: 0 0 22px rgba(50, 223, 200, 0.7);
  transform: translate(-50%, -50%);
}

/* Longhands are intentional: shorthand would erase the ordinal delays. */
.js .hp-story-beat {
  opacity: 0;
  animation-name: hp-story-beat;
  animation-duration: 18s;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

@keyframes hp-story-beat {
  0% { opacity: 0; transform: translateY(6px); }
  3% { opacity: 1; transform: translateY(0); }
  88% { opacity: 1; transform: translateY(0); }
  93%, 100% { opacity: 0; transform: translateY(0); }
}

.hp-story-beat--1 { animation-delay: 0.4s; }
.hp-story-beat--2 { animation-delay: 2.4s; }
.hp-story-beat--3 { animation-delay: 4.6s; }
.hp-story-beat--4 { animation-delay: 6.4s; }
.hp-story-beat--5 { animation-delay: 8.4s; }
.hp-story-beat--6 { animation-delay: 10.6s; }
.hp-story-beat--7 { animation-delay: 12.8s; }

/* ============================================================
   §2 FIND AND CHOOSE — four stage vignettes
   ============================================================ */

.hp-find {
  margin-bottom: var(--space-2);
}

.hp-find-band .rn-step::before,
.hp-find-band .rn-seq {
  border-color: var(--line-light);
  background-color: transparent;
}

.hp-find-band .rn-step::before {
  background: var(--line-light);
}

.hp-find-band .rn-step::after {
  background: var(--rn-cloud-100);
}

.hp-find-band .rn-step__num,
.hp-find-band .rn-step p,
.hp-find-band .rn-seq {
  color: var(--text-muted-light);
}

.hp-vig {
  overflow: hidden;
  margin-top: auto;
  padding: var(--space-3);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-control);
  background: rgba(255, 255, 255, 0.025);
}

.hp-find-band .hp-vig {
  border-color: var(--line-light);
  background: var(--rn-white);
  box-shadow: 0 14px 38px rgba(9, 37, 45, 0.08);
}

.hp-find-band .hp-search,
.hp-find-band .hp-reach__row {
  border-color: var(--line-light);
  background: var(--rn-cloud-100);
  color: var(--text-muted-light);
}

.hp-find-band .hp-search span,
.hp-find-band .hp-stars b {
  color: var(--text-heading-light);
}

.hp-find-band .hp-search svg,
.hp-find-band .hp-meta,
.hp-find-band .hp-stars,
.hp-find-band .hp-reply {
  color: var(--text-muted-light);
}

.hp-find-band .hp-map {
  border-color: var(--line-light);
  background: rgba(10, 156, 144, 0.1);
}

.hp-find-band .hp-map svg g {
  stroke: rgba(9, 37, 45, 0.12);
}

.hp-find-band .hp-bar,
.hp-find-band .hp-thumbs i {
  background: rgba(9, 37, 45, 0.13);
}

.hp-find-band .hp-reply {
  border-color: var(--line-light);
}

.hp-find-band .hp-reach__row svg {
  color: var(--system-ink);
}

.hp-vig > * + * {
  margin-top: var(--space-3);
}

.hp-search--sm {
  min-height: 32px;
  padding: 0.35rem 0.6rem;
  font-size: 0.72rem;
}

.hp-vig__rows,
.hp-review {
  display: grid;
  gap: 0.45rem;
}

.hp-bar {
  display: block;
  height: 5px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.09);
}

.hp-map--sm {
  height: 78px;
}

.hp-map--sm .hp-pin--me {
  width: 22px;
  height: 22px;
}

.hp-vig__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
}

.hp-thumbs {
  display: flex;
  gap: var(--space-1);
}

.hp-thumbs i {
  width: 16px;
  height: 12px;
  border-radius: var(--radius-control);
  background: rgba(255, 255, 255, 0.12);
}

.hp-reply {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding-top: var(--space-3);
  border-top: 1px solid var(--line-dark);
  color: var(--text-faint-dark);
  font-size: 0.7rem;
}

.hp-avatar {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: rgba(50, 223, 200, 0.22);
}

.hp-reach {
  display: grid;
  gap: 0.4rem;
}

.hp-reach__row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.42rem 0.55rem;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-control);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-muted-dark);
  font-size: 0.74rem;
}

.hp-reach__row svg {
  flex: 0 0 auto;
  color: var(--system);
}

.hp-close {
  margin-top: var(--space-7);
}

.hp-close .rn-btn-row {
  margin-top: var(--space-5);
  margin-bottom: 0;
}

/* ============================================================
   §3 THE SPLIT
   ============================================================ */

.hp-split {
  align-items: start;
}

.hp-side {
  padding: var(--space-6) var(--space-6) var(--space-5);
}

.hp-side h3 {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  margin-bottom: var(--space-5);
}

.hp-list {
  display: grid;
  gap: 0.55rem;
  padding: 0;
  margin: 0 0 var(--space-5);
  list-style: none;
}

.hp-list li {
  position: relative;
  padding-left: 1.55rem;
  color: var(--text-body-dark);
  font-size: 0.95rem;
  line-height: 1.5;
}

.hp-list li::before {
  position: absolute;
  top: 0.42em;
  left: 0;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  content: "";
}

.hp-list--lost li {
  color: var(--text-muted-dark);
}

.hp-list--lost li::before {
  border: 1px solid rgba(239, 91, 55, 0.4);
  background:
    linear-gradient(45deg, transparent 44%, rgba(239, 91, 55, 0.85) 44%, rgba(239, 91, 55, 0.85) 56%, transparent 56%),
    linear-gradient(-45deg, transparent 44%, rgba(239, 91, 55, 0.85) 44%, rgba(239, 91, 55, 0.85) 56%, transparent 56%);
}

.hp-list--won li::before {
  border: 1px solid rgba(50, 223, 200, 0.45);
  background: rgba(50, 223, 200, 0.12);
}

.hp-list--won li::after {
  position: absolute;
  top: 0.62em;
  left: 4px;
  width: 6px;
  height: 3px;
  border-bottom: 1.5px solid var(--system);
  border-left: 1.5px solid var(--system);
  content: "";
  transform: rotate(-45deg);
}

/* The log vignettes */
.hp-log {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-control);
  background: var(--line-dark);
}

.hp-log__row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.62rem 0.75rem;
  background: rgba(4, 24, 32, 0.9);
  font-size: 0.76rem;
}

.hp-log__row b {
  margin-left: auto;
  font-weight: 500;
  white-space: nowrap;
}

.hp-log--cold .hp-log__row {
  color: var(--text-faint-dark);
}

.hp-log--cold .hp-log__row svg {
  color: rgba(239, 91, 55, 0.55);
}

.hp-log--cold .hp-log__row b {
  color: var(--text-faint-dark);
}

.hp-log--live .hp-log__row {
  color: var(--text-muted-dark);
}

.hp-log--live .hp-log__row svg {
  color: var(--system);
}

.hp-log--live .hp-log__row b {
  color: var(--text-body-dark);
}

.hp-stats {
  margin: var(--space-5) 0 0;
  padding-top: var(--space-4);
  border-top: 1px solid var(--line-dark);
  color: var(--text-faint-dark);
  font-size: 0.78rem;
  line-height: 1.6;
}

.hp-stats em {
  font-style: italic;
}

/* ============================================================
   §4 LIVE DEMO STRIP
   ============================================================ */

.hp-demo {
  display: grid;
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
}

.hp-demo__copy h2 {
  margin-bottom: var(--space-4);
}

.hp-demo__lead {
  max-width: 56ch;
  margin-top: var(--space-4);
  font-size: var(--lead);
  line-height: 1.6;
}

.rn-action-band .hp-demo__lead {
  color: var(--rn-flight-950);
  font-size: clamp(1.1875rem, 1.6vw, 1.25rem);
  font-weight: 600;
}

.hp-number {
  display: inline-block;
  margin: var(--space-5) 0 var(--space-5);
  color: var(--text-heading-dark);
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 4.4vw, 3.25rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1;
  transition: color var(--duration-fast) var(--ease);
}

.hp-number:hover {
  color: var(--system);
}

.rn-action-band .hp-number {
  color: var(--rn-flight-950);
  font-size: clamp(3rem, 6.4vw, 5.35rem);
  font-weight: 800;
  letter-spacing: -0.025em;
}

.rn-action-band .hp-number:hover {
  color: var(--rn-flight-800);
}

.hp-demo__aside {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.75rem;
  margin: var(--space-4) 0 0;
}

.hp-quiet {
  color: var(--text-faint-dark);
  font-size: 0.78rem;
}

.hp-live {
  margin: 0;
}

.hp-live__panel {
  position: relative;
  overflow: hidden;
  padding: var(--space-5);
  border: 1px solid rgba(50, 223, 200, 0.26);
  border-radius: var(--radius-frame);
  background:
    radial-gradient(70% 100% at 100% 0%, rgba(50, 223, 200, 0.11), transparent 72%),
    linear-gradient(155deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.015)),
    rgba(2, 15, 20, 0.88);
  box-shadow: var(--shadow-lg), 0 0 70px rgba(50, 223, 200, 0.06);
}

.hp-live__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--line-dark);
}

.hp-live__brand {
  color: var(--text-heading-dark);
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.015em;
  text-transform: uppercase;
}

.hp-live__call {
  display: flex;
  min-height: 112px;
  align-items: center;
  gap: var(--space-5);
  padding: var(--space-5) 0;
}

.hp-live__preview {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  width: fit-content;
  min-height: 30px;
  padding: 0.35rem 0.65rem;
  border: 1px solid rgba(50, 223, 200, 0.18);
  border-radius: var(--radius-pill);
  margin: 0 0 var(--space-4);
  background: rgba(50, 223, 200, 0.055);
  color: var(--text-muted-dark);
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  opacity: 1;
  cursor: not-allowed;
}

.hp-live__preview svg {
  color: var(--system);
}

.hp-live__icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid rgba(50, 223, 200, 0.19);
  border-radius: 50%;
  background: rgba(50, 223, 200, 0.07);
  color: var(--system);
}

.hp-wave {
  display: flex;
  width: 100%;
  height: 48px;
  align-items: center;
  justify-content: space-between;
  gap: 5px;
}

.hp-wave i {
  width: 4px;
  height: var(--wave-height);
  border-radius: var(--radius-pill);
  background: rgba(50, 223, 200, 0.55);
  transform: scaleY(0.58);
  transform-origin: center;
  animation-name: hp-wave-speech;
  animation-duration: var(--wave-duration);
  animation-timing-function: ease-in-out;
  animation-delay: var(--wave-delay);
  animation-iteration-count: infinite;
  animation-direction: alternate;
}

.hp-wave i:nth-child(1) { --wave-height: 38%; --wave-duration: 1.08s; --wave-delay: -0.42s; }
.hp-wave i:nth-child(2) { --wave-height: 72%; --wave-duration: 1.31s; --wave-delay: -0.83s; }
.hp-wave i:nth-child(3) { --wave-height: 54%; --wave-duration: 0.94s; --wave-delay: -0.16s; }
.hp-wave i:nth-child(4) { --wave-height: 92%; --wave-duration: 1.38s; --wave-delay: -1.06s; }
.hp-wave i:nth-child(5) { --wave-height: 46%; --wave-duration: 1.16s; --wave-delay: -0.57s; }
.hp-wave i:nth-child(6) { --wave-height: 78%; --wave-duration: 0.98s; --wave-delay: -0.24s; }
.hp-wave i:nth-child(7) { --wave-height: 34%; --wave-duration: 1.27s; --wave-delay: -0.91s; }
.hp-wave i:nth-child(8) { --wave-height: 64%; --wave-duration: 1.12s; --wave-delay: -0.36s; }
.hp-wave i:nth-child(9) { --wave-height: 88%; --wave-duration: 1.34s; --wave-delay: -0.74s; }
.hp-wave i:nth-child(10) { --wave-height: 52%; --wave-duration: 0.91s; --wave-delay: -0.11s; }
.hp-wave i:nth-child(11) { --wave-height: 28%; --wave-duration: 1.22s; --wave-delay: -0.66s; }

@keyframes hp-wave-speech {
  from { transform: scaleY(0.58); opacity: 0.58; }
  to { transform: scaleY(1); opacity: 1; }
}

.hp-live__exchange {
  display: grid;
  gap: var(--space-2);
  padding-top: var(--space-4);
  border-top: 1px solid var(--line-dark);
}

.hp-live__exchange p {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: var(--space-3);
  padding: 0.7rem 0.8rem;
  border-radius: var(--radius-control);
  margin: 0;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-muted-dark);
  font-size: 0.78rem;
  line-height: 1.45;
}

.hp-live__exchange p:last-child {
  border: 1px solid rgba(50, 223, 200, 0.2);
  background: rgba(50, 223, 200, 0.08);
  color: var(--text-body-dark);
}

.hp-live__exchange span {
  color: var(--text-faint-dark);
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hp-live__exchange p:last-child span {
  color: var(--system);
}

/* ============================================================
   §5 THE LOOP
   ============================================================ */

.hp-loop {
  display: grid;
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
}

.hp-loop__copy h2 {
  margin-bottom: var(--space-4);
}

.hp-loop__copy .rn-subhead {
  margin-bottom: var(--space-5);
}

.hp-ring {
  margin: 0;
}

.hp-ring svg {
  width: 100%;
  height: auto;
}

.hp-ring__node circle {
  fill: rgba(4, 24, 32, 1);
  stroke: rgba(255, 255, 255, 0.22);
  stroke-width: 1;
}

.hp-ring__node .hp-ring__node--mark {
  fill: rgba(50, 223, 200, 0.18);
  stroke: var(--system);
}

.hp-ring__text text {
  fill: var(--text-muted-dark);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hp-ring__text .hp-ring__text--mark {
  fill: var(--system);
}

/* The ring draws itself once on entry: the review closes the loop last. */
.js .hp-ring__arc {
  stroke-dasharray: 264;
  stroke-dashoffset: 264;
}

.js .hp-ring.is-in .hp-ring__arc {
  animation: hp-draw 700ms var(--ease) forwards;
}

.js .hp-ring.is-in .hp-ring__arc--2 {
  animation-delay: 220ms;
}

.js .hp-ring.is-in .hp-ring__arc--3 {
  animation-delay: 420ms;
}

@keyframes hp-draw {
  to { stroke-dashoffset: 0; }
}

.hp-wheel {
  max-width: 660px;
  margin: 0;
}

.hp-wheel svg {
  width: 100%;
  height: auto;
}

.hp-wheel__dot circle {
  fill: var(--surface-canvas);
  stroke: rgba(255, 255, 255, 0.3);
  stroke-width: 1.5;
}

.hp-wheel__dot .hp-wheel__dot--join {
  fill: rgba(50, 223, 200, 0.14);
  stroke: var(--system);
  filter: drop-shadow(0 0 10px rgba(50, 223, 200, 0.45));
}

.hp-wheel__stage text {
  fill: var(--text-body-dark);
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hp-wheel__back {
  fill: var(--system);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
}

.hp-wheel__callout line {
  stroke-width: 2;
}

.hp-wheel__callout rect {
  stroke-width: 1.5;
}

.hp-wheel__callout text {
  fill: var(--text-heading-dark);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
}

.hp-wheel__callout--demand line { stroke: rgba(239, 91, 55, 0.64); }
.hp-wheel__callout--demand rect { fill: rgba(239, 91, 55, 0.09); stroke: rgba(239, 91, 55, 0.42); }
.hp-wheel__callout--system line { stroke: rgba(50, 223, 200, 0.64); }
.hp-wheel__callout--system rect { fill: rgba(50, 223, 200, 0.08); stroke: rgba(50, 223, 200, 0.42); }

.hp-wheel__hub text {
  fill: var(--text-faint-dark);
  font-family: var(--font-body);
  font-size: 13px;
}

/* Draw once on entry. Without JS, the full rim is present. */
.js .hp-wheel__arc {
  stroke-dasharray: 520;
  stroke-dashoffset: 520;
}

.js .hp-wheel__join {
  stroke-dasharray: 190;
  stroke-dashoffset: 190;
}

.js .hp-wheel.is-in .hp-wheel__arc,
.js .hp-wheel.is-in .hp-wheel__join {
  animation: hp-wheel-draw 900ms var(--ease) forwards;
}

.js .hp-wheel.is-in .hp-wheel__arc--system { animation-delay: 260ms; }
.js .hp-wheel.is-in .hp-wheel__join { animation-delay: 760ms; }

@keyframes hp-wheel-draw {
  to { stroke-dashoffset: 0; }
}

/* ============================================================
   §6 CALCULATOR
   ============================================================ */

.hp-calc__intro {
  max-width: 62ch;
  margin: var(--space-5) 0 var(--space-6);
  color: var(--text-muted-light);
}

.hp-calc__note {
  margin: var(--space-6) 0 0;
}

/* ============================================================
   §7 HOW WE START
   ============================================================ */

.hp-timeline {
  margin-top: 0;
}

.hp-commit {
  margin-top: var(--space-8);
}

.hp-start-section .rn-section-head {
  margin-bottom: var(--space-9);
}

.hp-start {
  counter-reset: hp-step;
  gap: 0;
}

.hp-start .rn-step {
  min-height: 300px;
  padding: 7.25rem var(--space-6) var(--space-6) 0;
  border-top: 1px solid var(--line-dark-strong);
  counter-increment: hp-step;
}

.hp-start .rn-step:not(:first-child) {
  padding-left: var(--space-6);
  border-left: 1px solid var(--line-dark);
}

.hp-start .rn-step::before {
  top: -4px;
  right: auto;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--action);
  box-shadow: 0 0 0 5px rgba(239, 91, 55, 0.08);
}

.hp-start .rn-step::after {
  position: absolute;
  top: var(--space-5);
  left: 0;
  width: auto;
  height: auto;
  border: 0;
  background: none;
  box-shadow: none;
  color: rgba(255, 255, 255, 0.16);
  content: "0" counter(hp-step);
  font-family: var(--font-display);
  font-size: clamp(4.4rem, 7vw, 6.6rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.9;
}

.hp-start .rn-step:last-child::before {
  background: var(--system);
  box-shadow: 0 0 0 5px rgba(50, 223, 200, 0.08);
}

.hp-start .rn-step__num {
  color: var(--action-hover);
}

.hp-start .rn-step:last-child .rn-step__num {
  color: var(--system);
}

.hp-start .rn-step h3 {
  font-size: clamp(1.25rem, 1.7vw, 1.55rem);
}

/* The wireframe's rhythm strip is now a thin subordinate rail attached to
   the dominant four-step spine, not a second competing component. */
.hp-timeline {
  gap: 0;
  padding: var(--space-4) 0 0;
  border: 0;
  border-top: 1px solid var(--line-dark);
  border-radius: 0;
  background: transparent;
}

.hp-timeline .rn-timeline__node {
  padding-top: var(--space-4);
  font-size: 0.7rem;
}

.hp-timeline .rn-timeline__node::before {
  top: 3px;
}

.hp-timeline .rn-timeline__node::after {
  top: 0;
  width: 7px;
  height: 7px;
}

.hp-promise {
  min-height: 260px;
  padding: var(--space-7) var(--space-6);
  border-right: 0;
  border-bottom: 0;
  border-left: 0;
  border-radius: 0;
  background: transparent;
}

.hp-promise--orange { border-top: 4px solid var(--action); }
.hp-promise--teal { border-top: 4px solid var(--system); }

.hp-promise h3 {
  max-width: 18ch;
  margin-bottom: var(--space-5);
  font-size: clamp(1.5rem, 2.3vw, 2rem);
}

.hp-promise p {
  max-width: 54ch;
  color: var(--text-muted-dark);
}

/* ============================================================
   §8 ABOUT
   ============================================================ */

.hp-about {
  display: grid;
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.85fr);
}

.hp-about__copy h2 {
  margin-bottom: var(--space-5);
}

.hp-about__photo {
  overflow: hidden;
  border: 1px solid var(--line-dark-strong);
  border-radius: var(--radius-frame);
  margin: 0;
  box-shadow: var(--shadow-lg);
}

.hp-about__photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
}

/* ============================================================
   §9 FINAL CTA
   ============================================================ */

.hp-cta__actions {
  justify-content: center;
}

.hp-cta__phone {
  color: var(--text-muted-dark);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1050px) {
  .hp-demo,
  .hp-loop,
  .hp-about {
    grid-template-columns: 1fr;
  }

  .hp-loop__copy,
  .hp-about__copy {
    max-width: var(--measure);
  }

  .hp-wheel {
    max-width: 620px;
    margin-inline: auto;
  }

  .hp-about__photo {
    max-width: 560px;
  }
}

@media (max-width: 840px) {
  .hp-story {
    max-width: 620px;
  }

  .hp-story__stage {
    display: grid;
    min-height: auto;
    gap: var(--space-5);
    padding: var(--space-4);
    border: 1px solid var(--line-dark-strong);
    border-radius: var(--radius-frame);
    background: rgba(2, 15, 20, 0.54);
  }

  .hp-story__search,
  .hp-phone {
    position: relative;
    top: auto;
    right: auto;
    left: auto;
    width: 100%;
  }

  .hp-phone {
    max-width: 340px;
    margin-inline: auto;
  }

  .hp-story__rail {
    display: none;
  }

  .hp-scene__frame {
    padding: var(--space-4) var(--space-4) var(--space-5);
  }

  .hp-scene__grid {
    gap: var(--space-4);
    grid-template-columns: 1fr;
  }

  .hp-surface--found {
    padding-right: 0;
  }

  .hp-surface--booked {
    padding-top: var(--space-4);
    padding-left: 0;
    border-top: 1px solid var(--line-dark);
  }

  .hp-seam {
    display: none;
  }

  .hp-live__panel {
    max-width: 460px;
    margin-inline: auto;
  }
}

@media (max-width: 640px) {
  .hp-side {
    padding: var(--space-5);
  }

  .rn-flywheel__label {
    font-size: 19px;
  }

  .hp-demo__aside {
    gap: 0.15rem;
  }

  .hp-live__panel {
    padding: var(--space-4);
  }

  .hp-live__exchange p {
    grid-template-columns: 1fr;
    gap: var(--space-1);
  }

  .hp-start {
    gap: var(--space-5);
  }

  .hp-start .rn-step,
  .hp-start .rn-step:not(:first-child) {
    min-height: 0;
    padding: 6.5rem 0 var(--space-5) var(--space-5);
    border-top: 0;
    border-left: 1px solid var(--line-dark);
  }

  .hp-start .rn-step::before {
    top: 0;
    left: -5px;
  }

  .hp-start .rn-step::after {
    top: 0;
    left: var(--space-5);
  }

  .hp-timeline {
    display: none;
  }
}

/* ============================================================
   REDUCED MOTION — the one-shot ring draw collapses
   ============================================================ */

@media (prefers-reduced-motion: reduce) {
  .js .hp-story-beat,
  .hp-story-beat {
    opacity: 1;
    transform: none;
    animation: none;
  }

  .js .hp-ring__arc {
    stroke-dasharray: none;
    stroke-dashoffset: 0;
  }

  .js .hp-wheel__arc,
  .js .hp-wheel__join {
    stroke-dasharray: none;
    stroke-dashoffset: 0;
    animation: none;
  }

  .hp-wave i {
    transform: scaleY(0.78);
    animation: none;
  }
}

/* ============================================================
   VARIANT B — TWO-DOOR HOME
   ============================================================ */

.hp-hero .rn-hero__inner {
  position: relative;
  z-index: 2;
  padding-block: var(--space-10);
}

.hp-hero-doors {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  margin-bottom: var(--space-5);
}

.hp-hero-doors .rn-btn {
  width: 100%;
  min-height: 60px;
  padding-inline: var(--space-4);
}

.hp-checks {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3) var(--space-5);
  padding: 0;
  margin: 0;
  list-style: none;
}

.hp-checks li {
  position: relative;
  padding-left: 1.35rem;
  color: var(--text-muted-dark);
  font-size: var(--small);
}

.hp-checks li::before {
  position: absolute;
  top: 0.56em;
  left: 0;
  width: 9px;
  height: 5px;
  border-bottom: 2px solid var(--system);
  border-left: 2px solid var(--system);
  content: "";
  transform: rotate(-45deg);
}


.hp-doors {
  align-items: stretch;
}

.hp-door {
  display: flex;
  min-height: 470px;
  flex-direction: column;
  align-items: flex-start;
  padding: var(--space-7);
}

.hp-door .rn-eyebrow {
  margin-bottom: var(--space-5);
}

.hp-door h3 {
  font-size: var(--h2);
}

.hp-door > p:not(.rn-eyebrow) {
  min-height: 7.7rem;
}

.hp-door .hp-list {
  width: 100%;
  margin-bottom: var(--space-6);
}

.hp-door .hp-list li {
  color: var(--text-body-dark);
}

.hp-door .hp-list li::before {
  border: 1px solid rgba(50, 223, 200, 0.45);
  background: rgba(50, 223, 200, 0.12);
}

.hp-door .hp-list li::after {
  position: absolute;
  top: 0.62em;
  left: 4px;
  width: 6px;
  height: 3px;
  border-bottom: 1.5px solid var(--system);
  border-left: 1.5px solid var(--system);
  content: "";
  transform: rotate(-45deg);
}

.hp-door .rn-btn {
  width: 100%;
  margin-top: auto;
}

.hp-doors-footnote {
  margin: var(--space-6) 0 0;
  color: var(--text-muted-dark);
  text-align: center;
}

.hp-doors-footnote a {
  min-height: 44px;
  color: var(--text-heading-dark);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(50, 223, 200, 0.55);
  text-underline-offset: var(--space-1);
}

.hp-six__lead {
  display: grid;
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
  grid-template-columns: minmax(0, 0.82fr) minmax(460px, 1.18fr);
}

.hp-six__lead .rn-section-head {
  margin-bottom: 0;
}

.hp-wheel {
  width: 100%;
  max-width: 660px;
  margin: 0 auto;
}

.hp-wheel svg {
  width: 100%;
  height: auto;
}

.hp-wheel__join {
  stroke-dasharray: 190;
  stroke-dashoffset: 0;
}

.hp-six-stages {
  display: grid;
  overflow: hidden;
  gap: 1px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 0;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-frame);
  margin: var(--space-8) 0 0;
  background: var(--line-dark);
  list-style: none;
}

.hp-six-stages li {
  min-height: 230px;
  padding: var(--space-6);
  background: var(--surface-canvas);
}

.hp-six-stages li > span {
  display: block;
  margin-bottom: var(--space-6);
  color: var(--system);
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  font-weight: 800;
  line-height: 0.8;
}

.hp-six-stages h3 {
  margin-bottom: var(--space-3);
}

.hp-six-stages p {
  margin-bottom: 0;
  color: var(--text-muted-dark);
  font-size: 0.9rem;
}

.hp-six__note {
  margin: var(--space-5) auto 0;
  text-align: center;
}

.hp-consultation-band__inner {
  display: grid;
  align-items: center;
  gap: var(--space-6);
  grid-template-columns: minmax(0, 1fr) auto;
}

.hp-consultation-band h2 {
  margin-bottom: var(--space-3);
}

.hp-consultation-band p {
  max-width: 66ch;
  margin-bottom: 0;
}

.hp-consultation-band .rn-btn-row {
  flex-wrap: nowrap;
}

.hp-help-channels {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  padding: 0;
  margin: 0 0 var(--space-5);
  list-style: none;
}

.hp-help-channels li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.85rem;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-pill);
  background: var(--surface-raised);
  color: var(--text-muted-dark);
  font-size: 0.8rem;
  font-weight: 500;
}

.hp-help-channels svg {
  width: 15px;
  height: 15px;
  color: var(--system);
}

.hp-help-tiles {
  display: grid;
  overflow: hidden;
  gap: 1px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-frame);
  background: var(--line-dark);
}

.hp-help-tile {
  position: relative;
  z-index: 0;
  min-height: 285px;
  padding: var(--space-6);
  background: var(--surface-canvas);
  transition: background-color var(--duration) var(--ease), box-shadow var(--duration) var(--ease), transform var(--duration) var(--ease);
}

.hp-help-tile:hover {
  z-index: 1;
  background: var(--surface-raised);
  box-shadow: inset 0 0 0 1px rgba(50, 223, 200, 0.38), 0 14px 30px rgba(2, 15, 20, 0.42);
  transform: translateY(-3px);
}

.hp-help-tile__icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(50, 223, 200, 0.22);
  border-radius: var(--radius-control);
  margin-bottom: var(--space-5);
  background: rgba(50, 223, 200, 0.07);
  color: var(--system);
  transition: box-shadow var(--duration) var(--ease), transform var(--duration) var(--ease);
}

.hp-help-tile__icon svg {
  width: 24px;
  height: 24px;
}

.hp-help-tile:hover .hp-help-tile__icon {
  box-shadow: 0 0 24px rgba(50, 223, 200, 0.26);
  transform: scale(1.06);
}

.hp-help-tile h3 {
  margin-bottom: var(--space-3);
}

.hp-help-tile p {
  margin-bottom: 0;
  color: var(--text-muted-dark);
  font-size: 0.9rem;
}

.hp-help-links {
  justify-content: center;
  gap: var(--space-6);
  margin-top: var(--space-6);
}

.hp-section-head--center {
  justify-items: center;
  margin-inline: auto;
  text-align: center;
}

.hp-faq {
  border-color: var(--line-light);
  margin-inline: auto;
}

.hp-faq .rn-acc__item {
  border-color: var(--line-light);
}

.hp-faq .rn-acc__q {
  color: var(--text-heading-light);
}

.hp-faq .rn-acc__q:hover {
  color: var(--system-ink);
}

.hp-faq .rn-acc__icon {
  color: var(--text-muted-light);
}

.hp-faq .rn-acc__a {
  color: var(--text-muted-light);
}

.hp-consultation__grid {
  display: grid;
  align-items: start;
  gap: var(--space-6);
  grid-template-columns: minmax(280px, 0.75fr) minmax(0, 1.25fr);
}

.hp-contact-info {
  display: grid;
  gap: var(--space-3);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hp-info-card {
  display: grid;
  min-height: 150px;
  align-content: center;
  gap: var(--space-3);
}

.hp-info-card span {
  color: var(--system);
  font-size: var(--eyebrow);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hp-info-card a,
.hp-info-card strong {
  color: var(--text-heading-dark);
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.hp-info-card a:hover {
  text-decoration: underline;
  text-underline-offset: var(--space-1);
}

.hp-form {
  padding: var(--space-7);
  background: rgba(255, 255, 255, 0.055);
}

.hp-form h3 {
  margin-bottom: var(--space-6);
  font-size: var(--h2);
}

.hp-form__grid {
  display: grid;
  gap: var(--space-4);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: var(--space-5);
}

.hp-form__field {
  display: grid;
  gap: var(--space-2);
}

.hp-form__field--full {
  grid-column: 1 / -1;
}

.hp-form__field label {
  color: var(--text-body-dark);
  font-size: var(--small);
  font-weight: 600;
}

.hp-form textarea.rn-input {
  resize: vertical;
}

.hp-form select.rn-input {
  appearance: auto;
}

.hp-form__error {
  margin: var(--space-4) 0 0;
  color: var(--action-hover);
  font-size: var(--small);
}

.hp-form__result {
  display: grid;
  min-height: 430px;
  align-content: center;
  justify-items: start;
}

.hp-form__result[hidden] {
  display: none;
}

.hp-form__result h3 {
  margin-bottom: var(--space-4);
}

.hp-form__result p {
  color: var(--text-muted-dark);
}

.hp-footer__learn {
  border-bottom: 1px solid var(--line-dark);
}

@media (max-width: 1050px) {
  .hp-six__lead {
    grid-template-columns: 1fr;
  }

  .hp-wheel {
    max-width: 620px;
  }

  .hp-consultation-band__inner,
  .hp-consultation__grid {
    grid-template-columns: 1fr;
  }

  .hp-consultation-band .rn-btn-row {
    justify-content: flex-start;
  }
}

@media (max-width: 840px) {
  .hp-door > p:not(.rn-eyebrow) {
    min-height: 0;
  }

  .hp-door {
    min-height: 0;
  }

  .hp-six-stages,
  .hp-help-tiles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hp-footer .rn-footer-directory__utility {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hp-footer .rn-footer-directory__group--areas {
    grid-column: 1 / -1;
    border-top: 1px solid var(--line-dark);
  }
}

@media (max-width: 640px) {
  .hp-hero .rn-hero__inner {
    padding-block: var(--space-8);
  }

  .hp-hero-doors,
  .hp-six-stages,
  .hp-help-tiles,
  .hp-contact-info,
  .hp-form__grid {
    grid-template-columns: 1fr;
  }

  .hp-checks {
    display: grid;
  }

  .hp-door,
  .hp-form {
    padding: var(--space-5);
  }

  .hp-six-stages li,
  .hp-help-tile {
    min-height: 0;
  }

  .hp-consultation-band .rn-btn-row {
    width: 100%;
    flex-wrap: wrap;
  }

  .hp-help-links {
    align-items: flex-start;
    flex-direction: column;
    gap: var(--space-2);
  }

  .hp-form__field--full {
    grid-column: auto;
  }

  .hp-footer .rn-footer-directory__utility {
    grid-template-columns: 1fr;
  }

  .hp-footer .rn-footer-directory__group--areas {
    grid-column: auto;
  }
}

/* ============================================================
   HERO RAIN — owner-directed addition (2026-08-19): the Cosmic
   raindrop effect, restated in Afterburner. Teal comets fall
   behind the hero copy and burst on the industry cards.
   JS sets --hp-rain-travel on each drop and clips this layer to
   the card row (80% height is the pre-JS fallback). Rendered
   inert by prefers-reduced-motion.
   ============================================================ */

.hp-hero .hp-rain {
  --hp-rain-travel: 80%;
  position: absolute;
  z-index: 1;
  top: 0;
  right: 0;
  left: 0;
  height: 80%;
  overflow: hidden;
  pointer-events: none;
}

.hp-rain i {
  position: absolute;
  top: -170px;
  width: 2px;
  height: 150px;
  border-radius: var(--radius-pill);
  background: linear-gradient(
    180deg,
    rgba(50, 223, 200, 0) 0%,
    rgba(50, 223, 200, 0.42) 55%,
    rgba(127, 236, 221, 0.95) 100%
  );
  opacity: 0;
  will-change: transform;
  animation: hp-rain-fall var(--hp-rain-duration, 7s) linear infinite;
  animation-delay: var(--hp-rain-delay, 0s);
}

.hp-rain i::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 44px;
  height: 14px;
  border-radius: 50%;
  transform: translate(-50%, 40%) scale(0.2);
  background: radial-gradient(closest-side, rgba(127, 236, 221, 0.95), rgba(50, 223, 200, 0) 72%);
  opacity: 0;
  animation: hp-rain-splash var(--hp-rain-duration, 7s) linear infinite;
  animation-delay: var(--hp-rain-delay, 0s);
}

.hp-rain i:nth-child(1) { left: 4%;  --hp-rain-duration: 6.8s; --hp-rain-delay: -2.1s; }
.hp-rain i:nth-child(2) { left: 13%; --hp-rain-duration: 8.4s; --hp-rain-delay: -5.6s; }
.hp-rain i:nth-child(3) { left: 22%; width: 3px; --hp-rain-duration: 5.9s; --hp-rain-delay: -0.8s; }
.hp-rain i:nth-child(4) { left: 34%; --hp-rain-duration: 7.6s; --hp-rain-delay: -4.2s; }
.hp-rain i:nth-child(5) { left: 46%; width: 3px; --hp-rain-duration: 6.2s; --hp-rain-delay: -3.0s; }
.hp-rain i:nth-child(6) { left: 58%; --hp-rain-duration: 8.9s; --hp-rain-delay: -6.7s; }
.hp-rain i:nth-child(7) { left: 69%; width: 3px; --hp-rain-duration: 5.6s; --hp-rain-delay: -1.5s; }
.hp-rain i:nth-child(8) { left: 82%; --hp-rain-duration: 7.1s; --hp-rain-delay: -5.0s; }
.hp-rain i:nth-child(9) { left: 94%; --hp-rain-duration: 6.5s; --hp-rain-delay: -2.7s; }

/* Travel is tuned by JS so the comet's bright tip meets the card row
   at 100% — where the splash fires. */
@keyframes hp-rain-fall {
  0% { transform: translateY(0); opacity: 0; }
  5% { opacity: 0.75; }
  95% { opacity: 0.75; }
  100% { transform: translateY(var(--hp-rain-travel)); opacity: 0; }
}

@keyframes hp-rain-splash {
  0%, 86% { opacity: 0; transform: translate(-50%, 40%) scale(0.2); }
  93% { opacity: 1; transform: translate(-50%, 40%) scale(1); }
  100% { opacity: 0; transform: translate(-50%, 40%) scale(1.55); }
}

@media (max-width: 720px) {
  .hp-rain i:nth-child(2),
  .hp-rain i:nth-child(4),
  .hp-rain i:nth-child(6),
  .hp-rain i:nth-child(8) {
    display: none;
  }
}

/* ============================================================
   HERO INDUSTRIES — owner round 2 (2026-08-19): the light band
   is gone. Light industry cards ride a marquee at the base of
   the hero, on the dark canvas, and the rain lands on them.
   ============================================================ */

.hp-hero-industries {
  position: relative;
  margin-top: clamp(3.5rem, 8vw, 6rem);
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
}

.hp-hero-industries__label {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  width: 100%;
  margin: 0 0 var(--space-5);
}

.hp-hero-industries__label::before {
  content: none;
}

.hp-industry-marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
}

.hp-industry-track {
  display: flex;
  width: max-content;
  animation: hp-marquee 46s linear infinite;
}

.hp-industry-marquee:hover .hp-industry-track,
.hp-industry-marquee:focus-within .hp-industry-track {
  animation-play-state: paused;
}

.hp-industry-set {
  display: flex;
  align-items: stretch;
  gap: var(--space-4);
  padding-right: var(--space-4);
}

.hp-industry-set a,
.hp-industry-list--static a {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 60px;
  padding: 0.85rem 1.4rem;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-card);
  background: var(--surface-raised);
  color: var(--text-heading-dark);
  font-size: 1.12rem;
  font-weight: 600;
  white-space: nowrap;
  transition: border-color var(--duration-fast) var(--ease), background-color var(--duration-fast) var(--ease);
}

.hp-industry-set a:hover,
.hp-industry-list--static a:hover {
  border-color: rgba(50, 223, 200, 0.45);
  background: linear-gradient(rgba(50, 223, 200, 0.05), rgba(50, 223, 200, 0.05)), var(--surface-raised);
}

.hp-industry-set svg {
  width: 26px;
  height: 26px;
  color: var(--system);
}

@keyframes hp-marquee {
  to { transform: translateX(-50%); }
}

.hp-industry-list--static {
  display: none;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-3);
  padding-inline: var(--space-5);
}

@media (prefers-reduced-motion: reduce) {
  .hp-rain {
    display: none;
  }

  .hp-industry-marquee {
    display: none;
  }

  .hp-industry-list--static {
    display: flex;
  }
}

@media (max-width: 720px) {
  .hp-industry-set a,
  .hp-industry-list--static a {
    min-height: 52px;
    padding: 0.7rem 1.1rem;
    font-size: 1.02rem;
  }

  .hp-industry-set svg {
    width: 22px;
    height: 22px;
  }
}

