/* ============================================================
   hero.css — "smart phone service" hero (.cx-hero) for
   /solutions/communications. Copy column + the live front-desk
   switchboard set-piece + comms-event ticker. Every selector is
   namespaced under .cx-hero; tokens inherited from styles.css;
   teal comms accent layered under the house indigo (no rainbow).
   Behavior hooks (data-cx-*) are driven by hero.js — the board
   below is a layered, glass-surfaced live console: under-deck
   slabs for depth, a gradient top hairline, a switchboard rail
   tying the line lamps together, socketed state lamps, pill
   outcome chips and odometer-tile tallies. Motion is restrained:
   live pulse, ring halo, waveform, one slow cool-light sheen.
   ============================================================ */

.cx-hero {
  --cxh-teal: #5a82c2;
  --cxh-teal-deep: #3d63a4;
  --cxh-teal-lite: #8aa6dd;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-top: clamp(120px, 15vw, 168px);
  padding-bottom: clamp(28px, 4vw, 56px);
  background: linear-gradient(180deg, #fff 0%, var(--paper) 100%);
}

/* ---------- atmosphere ---------- */
.cx-hero .cx-hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
.cx-hero .cx-hero-aurora {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.55;
  will-change: transform;
}
.cx-hero .cx-a1 {
  width: 54vw;
  height: 54vw;
  max-width: 760px;
  max-height: 760px;
  top: -22%;
  right: -12%;
  background: radial-gradient(
    closest-side,
    var(--periwinkle-2) 0%,
    var(--periwinkle) 45%,
    transparent 72%
  );
  animation: cxh-drift-a 13s ease-in-out infinite alternate;
}
.cx-hero .cx-a2 {
  width: 36vw;
  height: 36vw;
  max-width: 520px;
  max-height: 520px;
  top: 4%;
  left: -14%;
  background: radial-gradient(
    closest-side,
    color-mix(in srgb, var(--cxh-teal) 16%, #fff) 0%,
    transparent 70%
  );
  animation: cxh-drift-b 16s ease-in-out infinite alternate;
}
.cx-hero .cx-a3 {
  width: 30vw;
  height: 30vw;
  max-width: 440px;
  max-height: 440px;
  bottom: -18%;
  left: 34%;
  background: radial-gradient(
    closest-side,
    color-mix(in srgb, var(--indigo-300) 30%, #fff) 0%,
    transparent 70%
  );
  opacity: 0.4;
  animation: cxh-drift-a 19s ease-in-out infinite alternate-reverse;
}
.cx-hero .cx-hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line-2) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-2) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(120% 90% at 50% 0%, #000 0%, transparent 68%);
  -webkit-mask-image: radial-gradient(120% 90% at 50% 0%, #000 0%, transparent 68%);
  opacity: 0.5;
}
@keyframes cxh-drift-a {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(-4%, 5%, 0) scale(1.08);
  }
}
@keyframes cxh-drift-b {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(6%, -4%, 0) scale(1.05);
  }
}

/* ---------- layout ---------- */
.cx-hero .cx-hero-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(36px, 5vw, 72px);
}

/* ---------- copy ---------- */
.cx-hero .cx-hero-eyebrow {
  color: var(--cxh-teal-deep);
}
.cx-hero .cx-hero-title {
  margin: 16px 0 0;
  font-size: clamp(40px, 6vw, 80px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.02;
  color: var(--ink);
  text-wrap: balance;
}
.cx-hero .cx-hero-title em {
  font-style: normal;
  background: linear-gradient(94deg, var(--cxh-teal-deep) 0%, var(--indigo) 78%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.cx-hero .cx-hero-sub {
  margin: clamp(18px, 2vw, 26px) 0 0;
  max-width: 56ch;
}
.cx-hero .cx-hero-sub b {
  color: var(--ink-70);
  font-weight: 600;
}
.cx-hero .cx-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(24px, 2.6vw, 34px);
}

/* stat foot row */
.cx-hero .cx-hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(22px, 3vw, 44px);
  margin-top: clamp(30px, 3.4vw, 46px);
  padding-top: clamp(18px, 2vw, 24px);
  border-top: 1px solid var(--line);
  max-width: 560px;
}
.cx-hero .cx-hero-stat {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.cx-hero .cx-hero-stat b {
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.cx-hero .cx-hero-stat span {
  font-size: 13px;
  color: var(--ink-40);
  line-height: 1.35;
}

/* ============================================================
   the switchboard stage — one soft-elevated live console
   ============================================================ */
.cx-hero .cx-hero-stage {
  position: relative;
  min-width: 0;
}
.cx-hero .cx-hero-halo {
  position: absolute;
  inset: -10% -8%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(
    60% 55% at 55% 42%,
    color-mix(in srgb, var(--cxh-teal) 14%, transparent) 0%,
    color-mix(in srgb, var(--indigo) 9%, transparent) 45%,
    transparent 72%
  );
  filter: blur(32px);
  pointer-events: none;
}

/* under-deck: two receding slabs behind the board give it real,
   layered elevation instead of one flat card */
.cx-hero .cx-board-stack {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.cx-hero .cx-board-stack i {
  position: absolute;
  inset: 0;
  border-radius: var(--r-xl);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(251, 252, 255, 0.5));
}
.cx-hero .cx-board-stack .cx-s1 {
  transform: translateY(16px) scale(0.962);
  opacity: 0.8;
  box-shadow: 0 26px 54px -34px rgba(28, 38, 110, 0.35);
}
.cx-hero .cx-board-stack .cx-s2 {
  transform: translateY(30px) scale(0.924);
  opacity: 0.45;
}

/* the board surface — refined glass over a soft gradient, crowned
   by a teal→indigo top hairline, floated on a stacked shadow */
.cx-hero .cx-board {
  position: relative;
  z-index: 1;
  overflow: hidden;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.95) 0%,
    rgba(250, 251, 255, 0.88) 100%
  );
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border: 1px solid color-mix(in srgb, var(--line) 78%, #fff);
  border-radius: var(--r-xl);
  box-shadow:
    0 1px 2px rgba(11, 16, 32, 0.04),
    0 12px 32px -18px rgba(28, 38, 110, 0.26),
    0 40px 90px -40px rgba(28, 38, 110, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  padding: clamp(18px, 1.8vw, 26px) clamp(16px, 1.6vw, 24px) clamp(14px, 1.5vw, 20px);
  user-select: none;
}
/* gradient top hairline + a whisper of cool light along the crown */
.cx-hero .cx-board::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background:
    linear-gradient(
        90deg,
        transparent 6%,
        color-mix(in srgb, var(--cxh-teal) 55%, #fff) 32%,
        color-mix(in srgb, var(--indigo) 55%, #fff) 64%,
        transparent 94%
      )
      top / 100% 1px no-repeat,
    radial-gradient(
      130% 52% at 50% 0%,
      color-mix(in srgb, var(--periwinkle) 55%, transparent) 0%,
      transparent 62%
    );
  opacity: 0.85;
}
/* one slow cool-light sheen drifting across the glass */
.cx-hero .cx-board::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 55%;
  pointer-events: none;
  background: linear-gradient(
    105deg,
    transparent 20%,
    color-mix(in srgb, var(--periwinkle-2) 50%, transparent) 50%,
    transparent 80%
  );
  transform: translateX(-160%) skewX(-16deg);
  animation: cxh-sheen 5.5882s ease-in-out infinite;
}
@keyframes cxh-sheen {
  0% {
    transform: translateX(-160%) skewX(-16deg);
  }
  55%,
  100% {
    transform: translateX(320%) skewX(-16deg);
  }
}

/* ---------- board header ---------- */
.cx-hero .cx-board-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 2px 6px 16px;
  background:
    linear-gradient(
        90deg,
        transparent,
        var(--line-2) 16%,
        var(--line-2) 84%,
        transparent
      )
      bottom / 100% 1px no-repeat;
}
.cx-hero .cx-board-live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cxh-teal-deep);
  background: color-mix(in srgb, var(--cxh-teal) 7%, #fff);
  border: 1px solid color-mix(in srgb, var(--cxh-teal) 22%, #fff);
  border-radius: var(--r-pill);
  padding: 5px 12px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
  white-space: nowrap;
}
.cx-hero .cx-board-live i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cxh-teal);
  box-shadow: 0 0 0 0 color-mix(in srgb, var(--cxh-teal) 45%, transparent);
  animation: cxh-live 1.2941s ease-out infinite;
  flex: none;
}
@keyframes cxh-live {
  0% {
    box-shadow: 0 0 0 0 color-mix(in srgb, var(--cxh-teal) 45%, transparent);
  }
  70% {
    box-shadow: 0 0 0 9px transparent;
  }
  100% {
    box-shadow: 0 0 0 0 transparent;
  }
}
.cx-hero .cx-board-clinic {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink-60);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cx-hero .cx-board-247 {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--indigo);
  background: var(--periwinkle);
  border: 1px solid color-mix(in srgb, var(--indigo) 18%, #fff);
  border-radius: var(--r-pill);
  padding: 4px 11px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
  white-space: nowrap;
}

/* ---------- call lines ---------- */
.cx-hero .cx-board-lines {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 4px 0 2px;
}
/* the switchboard rail — a faint vertical line threading the lamps */
.cx-hero .cx-board-lines::before {
  content: "";
  position: absolute;
  left: 19.5px;
  top: 16px;
  bottom: 16px;
  width: 1px;
  background: linear-gradient(
    180deg,
    transparent,
    var(--line) 14%,
    var(--line) 86%,
    transparent
  );
  pointer-events: none;
}

.cx-hero .cx-line {
  position: relative;
  display: grid;
  grid-template-columns: 12px auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: clamp(12px, 1.2vw, 15px) 12px clamp(12px, 1.2vw, 15px) 14px;
  border-radius: var(--r-mid);
  transition: opacity 0.45s ease, background 0.45s ease, box-shadow 0.45s ease;
}
.cx-hero .cx-line + .cx-line {
  border-top: 1px solid color-mix(in srgb, var(--line-2) 72%, transparent);
}

/* socketed lamp: white socket occludes the rail; inner dot carries state */
.cx-hero .cx-line-lamp {
  position: relative;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 1px 2px rgba(11, 16, 32, 0.06);
  transition: border-color 0.35s ease;
  flex: none;
}
.cx-hero .cx-line-lamp::before {
  content: "";
  position: absolute;
  inset: 2.5px;
  border-radius: 50%;
  background: var(--line);
  transition: background 0.35s ease, box-shadow 0.35s ease;
}

/* IN / OUT tags */
.cx-hero .cx-line-dir {
  font-family: var(--mono);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--ink-40);
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 3px 7px;
  line-height: 1.3;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}
.cx-hero .cx-line[data-dir="in"] .cx-line-dir {
  color: var(--cxh-teal-deep);
  border-color: color-mix(in srgb, var(--cxh-teal) 22%, #fff);
  background: color-mix(in srgb, var(--cxh-teal) 6%, #fff);
}
.cx-hero .cx-line[data-dir="out"] .cx-line-dir {
  color: var(--indigo);
  border-color: color-mix(in srgb, var(--indigo) 24%, #fff);
  background: var(--periwinkle);
}

.cx-hero .cx-line-main {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.cx-hero .cx-line-who {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cx-hero .cx-line-what {
  font-size: 12px;
  color: var(--ink-40);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.35s ease;
}

/* equalizer waveform — only visible while a line is live */
.cx-hero .cx-line-wave {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  height: 18px;
  opacity: 0;
  transition: opacity 0.35s ease, filter 0.35s ease;
}
.cx-hero .cx-line-wave i {
  width: 3px;
  height: 6px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--cxh-teal), var(--indigo));
}
.cx-hero .cx-line-wave i:nth-child(1) {
  animation-delay: 0s;
}
.cx-hero .cx-line-wave i:nth-child(2) {
  animation-delay: 0.14s;
}
.cx-hero .cx-line-wave i:nth-child(3) {
  animation-delay: 0.1867s;
}
.cx-hero .cx-line-wave i:nth-child(4) {
  animation-delay: 0.1s;
}
.cx-hero .cx-line-wave i:nth-child(5) {
  animation-delay: 0.1467s;
}
@keyframes cxh-wave {
  0%,
  100% {
    height: 5px;
  }
  50% {
    height: 16px;
  }
}

/* trailing cell holds the (live) waveform and the outcome chip, right-aligned */
.cx-hero .cx-line-end {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 9px;
  min-width: 0;
}

/* outcome chips — soft glass pills; booked = teal, human handoff = indigo */
.cx-hero .cx-line-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--ink-60);
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  padding: 5px 11px;
  white-space: nowrap;
  box-shadow: 0 1px 2px rgba(11, 16, 32, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.85);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.4s ease, transform 0.4s ease, color 0.3s ease,
    background 0.3s ease, border-color 0.3s ease;
}
.cx-hero .cx-line-chip.is-booked::before,
.cx-hero .cx-line-chip.is-human::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.85;
  flex: none;
}
.cx-hero .cx-line-chip.is-booked {
  color: var(--cxh-teal-deep);
  background: color-mix(in srgb, var(--cxh-teal) 8%, #fff);
  border-color: color-mix(in srgb, var(--cxh-teal) 26%, #fff);
  box-shadow: 0 1px 2px color-mix(in srgb, var(--cxh-teal) 12%, transparent),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}
.cx-hero .cx-line-chip.is-human {
  color: var(--indigo);
  background: var(--periwinkle);
  border-color: color-mix(in srgb, var(--indigo) 22%, #fff);
  box-shadow: 0 1px 2px color-mix(in srgb, var(--indigo) 12%, transparent),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

/* ---------- line states ---------- */
.cx-hero .cx-line[data-state="idle"] {
  opacity: 0.42;
}

/* ring: teal lamp with an expanding halo, faint teal wash across the row */
.cx-hero .cx-line[data-state="ring"] {
  background: linear-gradient(
    90deg,
    color-mix(in srgb, var(--cxh-teal) 6%, transparent),
    transparent 65%
  );
}
.cx-hero .cx-line[data-state="ring"] .cx-line-lamp {
  border-color: color-mix(in srgb, var(--cxh-teal) 45%, #fff);
}
.cx-hero .cx-line[data-state="ring"] .cx-line-lamp::before {
  background: var(--cxh-teal);
  animation: cxh-ring 0.7667s ease-out infinite;
}
.cx-hero .cx-line[data-state="ring"] .cx-line-chip {
  opacity: 1;
  transform: none;
}

/* live: indigo lamp glow, indigo wash, waveform on */
.cx-hero .cx-line[data-state="live"] {
  background: linear-gradient(
    90deg,
    color-mix(in srgb, var(--indigo) 7%, transparent),
    transparent 70%
  );
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--indigo) 8%, transparent);
}
.cx-hero .cx-line[data-state="live"] .cx-line-lamp {
  border-color: color-mix(in srgb, var(--indigo) 40%, #fff);
}
.cx-hero .cx-line[data-state="live"] .cx-line-lamp::before {
  background: var(--indigo);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--indigo) 16%, transparent),
    0 0 12px color-mix(in srgb, var(--indigo) 50%, transparent);
}
.cx-hero .cx-line[data-state="live"] .cx-line-what {
  color: var(--indigo);
}
.cx-hero .cx-line[data-state="live"] .cx-line-wave {
  opacity: 1;
  filter: drop-shadow(0 0 4px color-mix(in srgb, var(--cxh-teal) 35%, transparent));
}
.cx-hero .cx-line[data-state="live"] .cx-line-wave i {
  animation: cxh-wave 0.6s ease-in-out infinite;
}

/* done: settled teal lamp, outcome chip resting visible */
.cx-hero .cx-line[data-state="done"] .cx-line-lamp {
  border-color: color-mix(in srgb, var(--cxh-teal) 40%, #fff);
}
.cx-hero .cx-line[data-state="done"] .cx-line-lamp::before {
  background: var(--cxh-teal);
}
.cx-hero .cx-line[data-state="done"] .cx-line-chip {
  opacity: 1;
  transform: none;
}
@keyframes cxh-ring {
  0% {
    box-shadow: 0 0 0 0 color-mix(in srgb, var(--cxh-teal) 40%, transparent);
  }
  100% {
    box-shadow: 0 0 0 10px transparent;
  }
}

/* ---------- board footer — live counters ---------- */
.cx-hero .cx-board-foot {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px clamp(14px, 1.8vw, 26px);
  padding: 15px 8px 4px;
  font-size: 12px;
  color: var(--ink-40);
  background:
    linear-gradient(
        90deg,
        transparent,
        var(--line-2) 16%,
        var(--line-2) 84%,
        transparent
      )
      top / 100% 1px no-repeat;
}
.cx-hero .cx-board-foot span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
/* odometer-tile numbers */
.cx-hero .cx-board-foot b {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: 8px;
  padding: 2px 8px;
  box-shadow: 0 1px 2px rgba(11, 16, 32, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}
.cx-hero .cx-board-foot span:last-child {
  margin-left: auto;
}
.cx-hero .cx-board-foot span:last-child::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cxh-teal);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--cxh-teal) 14%, transparent);
  flex: none;
}

/* ---------- ticker band ---------- */
.cx-hero .cx-hero-band {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 24px);
  max-width: var(--maxw);
  margin: clamp(40px, 5vw, 72px) auto 0;
  padding: 14px var(--gut) 0;
  border-top: 1px solid var(--line);
}
.cx-hero .cx-hero-bandlabel {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: none;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-40);
}
.cx-hero .cx-hero-bandlabel i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cxh-teal);
  animation: cxh-live 1.2941s ease-out infinite;
}
.cx-hero .cx-hero-ticker {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0,
    #000 6%,
    #000 94%,
    transparent 100%
  );
}
.cx-hero .cx-hero-track {
  display: flex;
  align-items: center;
  gap: clamp(26px, 3vw, 44px);
  width: max-content;
  margin: 0;
  padding: 6px 0;
  list-style: none;
}
/* animation only engages once hero.js has cloned the track for a seamless loop */
.cx-hero .cx-hero-track[data-cloned] {
  animation: cxh-tick var(--cxh-tick-dur, 21s) linear infinite;
}
.cx-hero .cx-hero-ticker:hover .cx-hero-track[data-cloned] {
  animation-play-state: paused;
}
@keyframes cxh-tick {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-50%, 0, 0);
  }
}
.cx-hero .cx-hero-track li {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  color: var(--ink-60);
  white-space: nowrap;
}
.cx-hero .cx-hero-track li i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex: none;
}
.cx-hero .cx-hero-track li i.t-book {
  background: var(--cxh-teal);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--cxh-teal) 12%, transparent);
}
.cx-hero .cx-hero-track li i.t-info {
  background: var(--indigo-300);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--indigo-300) 18%, transparent);
}
.cx-hero .cx-hero-track li i.t-hand {
  background: var(--indigo);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--indigo) 12%, transparent);
}

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
  .cx-hero .cx-hero-wrap {
    grid-template-columns: 1fr;
    gap: clamp(36px, 6vw, 52px);
  }
  .cx-hero .cx-hero-stage {
    max-width: 640px;
  }
  .cx-hero .cx-hero-title {
    max-width: 16ch;
  }
}
@media (max-width: 700px) {
  .cx-hero {
    padding-top: clamp(96px, 24vw, 128px);
    padding-bottom: clamp(20px, 5vw, 36px);
  }
  .cx-hero .cx-hero-title {
    max-width: none;
    font-size: clamp(34px, 9vw, 46px);
  }
  .cx-hero .cx-hero-stats {
    gap: 18px 28px;
  }
  .cx-hero .cx-board {
    padding: 16px 12px 12px;
  }
  .cx-hero .cx-line {
    grid-template-columns: 12px minmax(0, 1fr) auto;
    gap: 10px;
  }
  .cx-hero .cx-line-dir {
    display: none;
  }
  .cx-hero .cx-line-wave {
    display: none;
  }
  .cx-hero .cx-board-clinic {
    display: none;
  }
  .cx-hero .cx-board-stack .cx-s2 {
    display: none;
  }
  .cx-hero .cx-hero-bandlabel {
    display: none;
  }
  .cx-hero .cx-hero-band {
    margin-top: clamp(28px, 6vw, 44px);
  }
  .cx-hero .cx-a1,
  .cx-hero .cx-a2,
  .cx-hero .cx-a3 {
    filter: blur(48px);
  }
}
@media (max-width: 460px) {
  .cx-hero .cx-hero-stat b {
    font-size: 20px;
  }
  .cx-hero .cx-board-foot {
    font-size: 11px;
    gap: 8px 14px;
  }
  .cx-hero .cx-line-who {
    font-size: 13px;
  }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce), (max-width: 700px) {
  .cx-hero .cx-hero-aurora,
  .cx-hero .cx-board-live i,
  .cx-hero .cx-hero-bandlabel i,
  .cx-hero .cx-line-lamp,
  .cx-hero .cx-line-lamp::before,
  .cx-hero .cx-line-wave i,
  .cx-hero .cx-hero-track,
  .cx-hero .cx-hero-track[data-cloned] {
    animation: none !important;
  }
  /* the sheen only exists as motion — drop it entirely when still */
  .cx-hero .cx-board::after {
    content: none;
  }
  .cx-hero .cx-line-chip,
  .cx-hero .cx-line,
  .cx-hero .cx-line-lamp,
  .cx-hero .cx-line-lamp::before,
  .cx-hero .cx-line-wave {
    transition: none !important;
  }
  /* resting markup already reads as a complete board */
  .cx-hero .cx-line[data-state="live"] .cx-line-wave {
    opacity: 1;
  }
}
