/* ============================================================
   TDNT · HISTORY 03 · THE SWITCHBOARD
   Three playable acts: the 1878 operator, the 1891 Strowger
   switch, and TDNT's live routing today. Every class is hxc-.
   Brand colors only, light designs after the banner.
   ============================================================ */

/* ───────── banner ───────── */
.hxc-banner-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
}
.hxc-banner .pg-h1 { max-width: 10ch; }
.hxc-hero-board { width: 100%; max-width: 560px; height: auto; justify-self: end; display: block; overflow: visible; }
.hxc-acts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: clamp(40px, 6vw, 72px);
  border-top: 1px solid var(--line);
}
.hxc-acts a {
  position: relative;
  display: grid;
  gap: 6px;
  padding: 18px 60px 4px 0;
  transition: color 0.25s;
}
.hxc-acts a + a { padding-left: 20px; border-left: 1px solid var(--line); }
/* a patch cord that runs along the top of the act you point at */
.hxc-acts a::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -1px;
  height: 2px;
  background: var(--ember);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 0.55s cubic-bezier(.2, .8, .2, 1);
}
.hxc-acts a:hover::before, .hxc-acts a:focus-visible::before { transform: scaleX(1); }
.hxc-act-ico { position: absolute; top: 16px; right: 14px; width: 40px; height: 40px; overflow: visible; }
.hxc-act-ico .r { fill: none; stroke: rgba(255, 251, 250, 0.32); stroke-width: 1.4; }
.hxc-act-ico .s { fill: rgba(255, 251, 250, 0.16); }
.hxc-act-ico .c { fill: none; stroke: rgba(255, 251, 250, 0.4); stroke-width: 1.5; stroke-linecap: round; }
.hxc-act-ico .p { fill: var(--ember); }
.hxc-act-ico .hot { fill: none; stroke: var(--cyan); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 4 6; }
.hxc-act-ico .w { transform-box: view-box; transform-origin: 22px 22px; transition: transform 0.8s cubic-bezier(.3, 1.4, .5, 1); }
.hxc-acts a:hover .hxc-act-ico .w { transform: rotate(-120deg); }
@media (prefers-reduced-motion: no-preference) {
  .hxc-acts a:hover .hxc-act-ico .hot { animation: hxcFlow 0.8s linear infinite; }
  .hxc-acts a:hover .hxc-act-ico .p { animation: hxcPlugIn 0.9s cubic-bezier(.3, 1.6, .5, 1) both; }
}
@keyframes hxcFlow { to { stroke-dashoffset: -20; } }
@keyframes hxcPlugIn { 0% { transform: translate(-4px, 6px); } 100% { transform: none; } }
.hxc-acts i { font-style: normal; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); }
.hxc-acts b { font-family: var(--display); font-weight: 400; font-size: clamp(15px, 1.5vw, 20px); letter-spacing: -0.02em; line-height: 1.2; }
.hxc-acts span { font-size: 13px; color: var(--fg-mute); }
.hxc-acts a:hover b { color: var(--accent); }
@media (max-width: 900px) {
  .hxc-banner-grid { grid-template-columns: 1fr; }
  .hxc-hero-board { justify-self: start; max-width: 480px; }
}
@media (max-width: 640px) {
  .hxc-acts { grid-template-columns: 1fr; }
  .hxc-acts a, .hxc-acts a + a { padding: 14px 56px 14px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .hxc-act-ico { top: 14px; right: 4px; }
}

/* hero: a patch panel in line art on Midnight (a dark surface, so Cyan is allowed here) */
.hxc-hero-board .hstrip { fill: rgba(255, 251, 250, 0.022); stroke: rgba(255, 251, 250, 0.06); }
.hxc-hero-board .hl { font-family: var(--mono); font-size: 9px; letter-spacing: 1.2px; fill: rgba(255, 251, 250, 0.42); }
.hxc-hero-board .hj-bezel { fill: rgba(255, 251, 250, 0.05); stroke: rgba(255, 251, 250, 0.24); stroke-width: 1.2; }
.hxc-hero-board .hj { fill: var(--midnight); stroke: rgba(255, 251, 250, 0.4); stroke-width: 1.2; }
.hxc-hero-board .hj-shine { fill: none; stroke: rgba(255, 251, 250, 0.4); stroke-width: 1.2; stroke-linecap: round; }
.hxc-hero-board .hj-ring { fill: none; stroke: rgba(151, 226, 232, 0.12); transition: stroke 0.35s; }
.hxc-hero-board .hj-ring.is-on { stroke: rgba(229, 88, 44, 0.85); }
.hxc-hero-board .hj-glow { fill: rgba(229, 88, 44, 0.18); stroke: none; opacity: 0; transform-box: fill-box; transform-origin: center; transition: opacity 0.4s; }
.hxc-hero-board .hj-glow.is-on { opacity: 1; animation: hxcJackGlow 1.6s ease-in-out infinite; }
@keyframes hxcJackGlow { 50% { transform: scale(1.55); opacity: 0.3; } }
/* the drop: a shutter hinged at its foot, knocked forward by the ringing current */
.hxc-hero-board .hd-slot { fill: rgba(255, 251, 250, 0.08); }
.hxc-hero-board .hd {
  fill: rgba(255, 251, 250, 0.18);
  transform-box: fill-box;
  transform-origin: 50% 100%;
  transition: transform 0.5s cubic-bezier(.34, 1.7, .5, 1), fill 0.08s 0.12s;
}
.hxc-hero-board .hd.is-on { transform: scaleY(-1.1); fill: var(--ember); transition: transform 0.42s cubic-bezier(.3, 1.9, .45, 1), fill 0.05s 0.1s; }
/* the cords: a soft shadow on the panel, the cord, and a highlight that makes it round */
.hxc-hero-board .hcord { fill: none; stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; }
.hxc-hero-board .hcord-shadow { fill: none; stroke: rgba(0, 0, 0, 0.55); stroke-width: 6; stroke-linecap: round; filter: blur(2px); }
.hxc-hero-board .hcord-hi { fill: none; stroke: rgba(255, 251, 250, 0.4); stroke-width: 0.9; stroke-linecap: round; }
.hxc-hero-board .hplug-cap { fill: var(--midnight); stroke: rgba(255, 251, 250, 0.55); stroke-width: 1; }
.hxc-hero-board .hplug-sleeve { fill: rgba(255, 251, 250, 0.82); }
.hxc-hero-board .hplug-tip { fill: rgba(255, 251, 250, 0.95); }
.hxc-hero-board .hpulse { filter: drop-shadow(0 0 5px currentColor); }

/* small pill button used across the acts */
.hxc-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 13px;
  border: 1px solid var(--line);
  border-radius: 100px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--fg-dim);
  background: var(--bg-card);
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.hxc-chip:hover { border-color: var(--accent); color: var(--fg); }
.hxc-chip.is-on { border-color: var(--accent); background: var(--accent-faint); color: var(--accent); }
.hxc-chip:focus-visible, .hxc-jack:focus-visible, .hxc-call:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.hxc-chip:disabled { opacity: 0.5; cursor: default; }
.hxc-chip:disabled:hover { border-color: var(--line); color: var(--fg-dim); }

/* ───────── ACT 1 · operator ───────── */
.hxc-score {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-bottom: 1px solid var(--line);
}
.hxc-score > div:not(.hxc-shift) { padding: 14px 18px 12px; display: grid; gap: 4px; }
.hxc-score > div + div:not(.hxc-shift) { border-left: 1px solid var(--line); }
.hxc-score span, .hxc-rt-stats span {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-mute);
}
.hxc-score b, .hxc-rt-stats b {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(17px, 1.8vw, 24px);
  letter-spacing: -0.02em;
  line-height: 1.15;
  white-space: nowrap;
}
.hxc-score b small, .hxc-rt-stats b small { font-family: var(--mono); font-size: 12px; letter-spacing: 0; color: var(--fg-mute); margin-left: 3px; }
.hxc-score b.is-bump { color: var(--accent); }
.hxc-score b.is-bad { color: var(--ember); }
.hxc-shift { grid-column: 1 / -1; height: 3px; background: var(--line-soft); overflow: hidden; }
.hxc-shift i { display: block; height: 100%; background: var(--ember); transform-origin: 0 50%; transform: scaleX(0); }

.hxc-op-body { display: grid; grid-template-columns: minmax(230px, 280px) 1fr; }
/* the queue holds its size: calls arriving or leaving never push the page. On a wide screen it
   takes the board's height (contain: size), stacked on a narrow one it has a fixed height. */
.hxc-queue { padding: 18px; border-right: 1px solid var(--line); background: var(--bg-elev); display: flex; flex-direction: column; gap: 12px; min-width: 0; contain: size; overflow: hidden; }
.hxc-queue-head { display: flex; align-items: center; gap: 8px; min-height: 26px; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-mute); }
.hxc-queue-head span { color: var(--fg); }
.hxc-clock { margin-left: auto; flex: none; overflow: visible; }
.hxc-clock .face { fill: var(--cloud); stroke: rgba(0, 51, 153, 0.35); stroke-width: 1.2; }
.hxc-clock .tk { stroke: rgba(10, 8, 28, 0.35); stroke-width: 1; }
.hxc-clock .hand { stroke: var(--ember); stroke-width: 1.8; stroke-linecap: round; }
.hxc-clock .pin { fill: var(--midnight); }
.hxc-queue-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; min-height: 0; }
.hxc-queue-empty { margin: 0; font-size: 13px; color: var(--fg-mute); }
.hxc-queue-list:not(:empty) + .hxc-queue-empty { display: none; }
/* each waiting call is a paper slip: a perforated stub, the request, and a burning fuse */
.hxc-call {
  position: relative;
  width: 100%;
  display: grid;
  gap: 9px;
  padding: 11px 12px 11px 24px;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: 4px 10px 10px 4px;
  background: var(--bg-card);
  font-size: 13.5px;
  line-height: 1.35;
  color: var(--fg-dim);
  box-shadow: 0 8px 18px -14px rgba(10, 8, 28, 0.35);
  animation: hxcIn 0.5s cubic-bezier(.2, .8, .2, 1);
  transition: border-color 0.25s, box-shadow 0.25s;
}
.hxc-call::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 7px;
  bottom: 7px;
  border-left: 2px dotted rgba(0, 51, 153, 0.32);
}
.hxc-call b { color: var(--fg); font-weight: 500; }
.hxc-call em { font-style: normal; font-family: var(--mono); font-size: 11px; color: var(--fg-mute); }
.hxc-call-bar { position: relative; height: 3px; border-radius: 3px; background: var(--line-soft); clip-path: inset(-8px -8px -8px 0); }
.hxc-call-bar i { position: relative; display: block; width: 100%; height: 100%; border-radius: 3px; background: var(--cobalt); }
.hxc-call-bar i::after {
  content: "";
  position: absolute;
  right: -3px;
  top: 50%;
  width: 7px;
  height: 7px;
  margin-top: -3.5px;
  border-radius: 50%;
  background: var(--cobalt);
  box-shadow: 0 0 0 3px rgba(0, 51, 153, 0.14);
}
.hxc-call.is-late .hxc-call-bar i, .hxc-call.is-late .hxc-call-bar i::after { background: var(--ember); }
.hxc-call.is-late .hxc-call-bar i::after { box-shadow: 0 0 8px 2px rgba(229, 88, 44, 0.55); animation: hxcFuse 0.32s steps(2, jump-none) infinite; }
@keyframes hxcFuse { 50% { opacity: 0.55; transform: scale(0.75); } }
.hxc-call.is-armed { border-color: var(--ember); box-shadow: 0 0 0 3px rgba(229, 88, 44, 0.12), 0 8px 18px -14px rgba(10, 8, 28, 0.35); }
@keyframes hxcIn { from { opacity: 0; transform: translateX(-14px) rotate(-1.2deg); } to { opacity: 1; transform: none; } }

/* the board: a wooden panel, drawn in Sage and Cobalt line art */
.hxc-board {
  position: relative;
  padding: clamp(18px, 2.4vw, 30px);
  background:
    repeating-linear-gradient(180deg, transparent 0 37px, rgba(10, 8, 28, 0.045) 37px 38px),
    repeating-linear-gradient(90deg, transparent 0 140px, rgba(0, 51, 153, 0.035) 140px 141px),
    var(--sage);
  min-height: 420px;
  touch-action: pan-y;
  -webkit-user-select: none;
  user-select: none;
}
.hxc-board::before {
  content: "";
  position: absolute;
  inset: 9px;
  border: 1px solid rgba(0, 51, 153, 0.22);
  border-radius: 12px;
  pointer-events: none;
  background:
    radial-gradient(circle at 10px 10px, var(--ember) 0 2.5px, transparent 3.5px),
    radial-gradient(circle at calc(100% - 10px) 10px, var(--ember) 0 2.5px, transparent 3.5px),
    radial-gradient(circle at 10px calc(100% - 10px), var(--ember) 0 2.5px, transparent 3.5px),
    radial-gradient(circle at calc(100% - 10px) calc(100% - 10px), var(--ember) 0 2.5px, transparent 3.5px);
}
.hxc-board-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px 10px;
}
/* each subscriber is a screwed-on plate: a drop shutter, an engraved nameplate and the jack */
.hxc-sub {
  position: relative;
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 8px;
  padding: 12px 6px 14px;
  border-radius: 6px;
  background:
    radial-gradient(circle at 7px 7px, rgba(0, 51, 153, 0.3) 0 1.6px, transparent 2.2px),
    radial-gradient(circle at calc(100% - 7px) 7px, rgba(0, 51, 153, 0.3) 0 1.6px, transparent 2.2px),
    radial-gradient(circle at 7px calc(100% - 7px), rgba(0, 51, 153, 0.3) 0 1.6px, transparent 2.2px),
    radial-gradient(circle at calc(100% - 7px) calc(100% - 7px), rgba(0, 51, 153, 0.3) 0 1.6px, transparent 2.2px),
    linear-gradient(180deg, var(--cloud), color-mix(in srgb, var(--sage) 55%, var(--cloud)));
  border: 1px solid rgba(0, 51, 153, 0.16);
  box-shadow: inset 0 1px 0 rgba(255, 251, 250, 0.9), 0 6px 14px -12px rgba(10, 8, 28, 0.5);
  transition: border-color 0.25s, box-shadow 0.3s;
}
.hxc-plate {
  display: grid;
  justify-items: center;
  gap: 3px;
  width: 100%;
  padding: 5px 4px 4px;
  border-radius: 3px;
  background: color-mix(in srgb, var(--sage) 70%, var(--cloud));
  box-shadow: inset 0 1px 2px rgba(10, 8, 28, 0.12), 0 1px 0 rgba(255, 251, 250, 0.9);
}
.hxc-sub-num { font-family: var(--display); font-size: 13px; color: var(--cobalt); line-height: 1; }
.hxc-sub-name { font-size: 12px; line-height: 1.2; color: var(--fg-dim); text-align: center; min-height: 2.4em; display: flex; align-items: center; }
/* the drop: a shutter on a hinge at its foot. A ringing line knocks it forward to show Ember. */
.hxc-drop {
  position: relative;
  width: 38px;
  height: 18px;
  border-radius: 3px;
  background: var(--ember);
  box-shadow: inset 0 2px 4px rgba(10, 8, 28, 0.35);
  perspective: 90px;
}
.hxc-drop i {
  position: absolute;
  inset: 0;
  border-radius: 3px;
  background:
    repeating-linear-gradient(90deg, transparent 0 5px, rgba(0, 51, 153, 0.14) 5px 6px),
    linear-gradient(180deg, var(--cloud), color-mix(in srgb, var(--cobalt) 8%, var(--cloud)));
  border: 1px solid rgba(0, 51, 153, 0.45);
  transform-origin: 50% 100%;
  transition: transform 0.55s cubic-bezier(.3, 1.6, .5, 1);
  backface-visibility: hidden;
}
.hxc-sub.is-ringing .hxc-drop i { transform: rotateX(-100deg); transition-duration: 0.42s; }
.hxc-sub.is-ringing { border-color: rgba(229, 88, 44, 0.55); box-shadow: inset 0 1px 0 rgba(255, 251, 250, 0.9), 0 0 0 3px rgba(229, 88, 44, 0.1), 0 10px 22px -14px rgba(229, 88, 44, 0.7); }
.hxc-sub.is-talking { border-color: rgba(0, 51, 153, 0.45); }
/* the jack: a bezel, a recessed socket and a lamp ring that glows when the line calls */
.hxc-jack {
  position: relative;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 0;
  background:
    radial-gradient(circle at 50% 54%, var(--midnight) 0 6.5px, color-mix(in srgb, var(--midnight) 70%, var(--cobalt)) 7.5px 8.5px, transparent 9px),
    radial-gradient(circle at 40% 34%, var(--cloud) 0 4px, transparent 13px),
    radial-gradient(circle, color-mix(in srgb, var(--cobalt) 16%, var(--cloud)) 0 14px, color-mix(in srgb, var(--cobalt) 55%, var(--cloud)) 15px 16px, color-mix(in srgb, var(--cobalt) 10%, var(--cloud)) 17px 21px, rgba(0, 51, 153, 0.5) 22px 23px);
  box-shadow: 0 3px 6px -3px rgba(10, 8, 28, 0.45);
  touch-action: none;
  transition: transform 0.25s cubic-bezier(.3, 1.6, .5, 1), box-shadow 0.25s;
}
.hxc-lamp {
  position: absolute;
  inset: -9px;
  border-radius: 50%;
  background: radial-gradient(circle, transparent 0 22px, rgba(229, 88, 44, 0.55) 23px, rgba(229, 88, 44, 0) 32px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.hxc-jack::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid var(--ember);
  opacity: 0;
  pointer-events: none;
}
.hxc-jack:hover { box-shadow: 0 0 0 3px rgba(0, 51, 153, 0.18), 0 3px 6px -3px rgba(10, 8, 28, 0.45); }
.hxc-sub.is-ringing .hxc-lamp { opacity: 1; }
.hxc-sub.is-ringing .hxc-jack::after { opacity: 0.6; }
.hxc-sub.is-armed .hxc-jack { transform: scale(1.08); }
.hxc-sub.is-talking .hxc-lamp { opacity: 0.55; background: radial-gradient(circle, transparent 0 22px, rgba(0, 51, 153, 0.4) 23px, rgba(0, 51, 153, 0) 30px); }
.hxc-sub.is-hover .hxc-jack { transform: scale(1.12); box-shadow: 0 0 0 4px rgba(0, 51, 153, 0.22), 0 3px 6px -3px rgba(10, 8, 28, 0.45); }
.hxc-sub.is-wrong { animation: hxcShake 0.4s; }
@keyframes hxcShake { 25% { transform: translateX(-4px); } 50% { transform: translateX(4px); } 75% { transform: translateX(-2px); } }
@media (prefers-reduced-motion: no-preference) {
  .hxc-sub.is-ringing .hxc-jack::after { animation: hxcRing 1.1s ease-out infinite; }
  .hxc-sub.is-ringing .hxc-lamp { animation: hxcLamp 0.55s ease-in-out infinite alternate; }
  @keyframes hxcRing { from { transform: scale(0.9); opacity: 0.7; } to { transform: scale(1.4); opacity: 0; } }
  @keyframes hxcLamp { from { opacity: 0.45; } to { opacity: 1; } }
}
@media (prefers-reduced-motion: reduce) {
  .hxc-call, .hxc-sub.is-wrong { animation: none; }
  .hxc-hero-board .hj-glow.is-on { animation: none; }
  .hxc-drop i, .hxc-hero-board .hd { transition: none; }
}

/* cords: shadow cast on the board, the cord, a highlight on top, plugs at both ends */
.hxc-cords { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; z-index: 2; }
.hxc-cords .cord { fill: none; stroke: var(--midnight); stroke-width: 4.2; stroke-linecap: round; stroke-linejoin: round; transition: stroke 0.5s; }
.hxc-cords .cord-shadow { fill: none; stroke: rgba(10, 8, 28, 0.18); stroke-width: 6; stroke-linecap: round; filter: blur(2.5px); }
.hxc-cords .cord-hi { fill: none; stroke: rgba(255, 251, 250, 0.5); stroke-width: 1.1; stroke-linecap: round; }
.hxc-cords .plug-ring { fill: var(--midnight); transition: fill 0.5s; }
.hxc-cords .plug-cap { fill: var(--cloud); stroke: rgba(10, 8, 28, 0.3); stroke-width: 1; }
.hxc-cords .plug-dot { fill: var(--midnight); }
.hxc-cords .plug-boot { fill: var(--midnight); transition: fill 0.5s; }
.hxc-cords .plug-sleeve { fill: var(--cloud); stroke: var(--midnight); stroke-width: 1.2; }
.hxc-cords .plug-tip { fill: var(--midnight); }
.hxc-cords .is-live .cord, .hxc-cords .is-live .plug-ring, .hxc-cords .is-live .plug-boot { stroke: var(--ember); }
.hxc-cords .is-live .plug-ring, .hxc-cords .is-live .plug-boot { fill: var(--ember); stroke: none; }
.hxc-cords .snap { fill: none; stroke: var(--ember); stroke-width: 2.5; transform-box: fill-box; transform-origin: center; animation: hxcSnap 0.6s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes hxcSnap { from { transform: scale(0.6); opacity: 1; } to { transform: scale(2.3); opacity: 0; } }
.hxc-cords .wave { fill: none; stroke: var(--cobalt); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.hxc-cords .wave-bg { fill: var(--cloud); stroke: rgba(0, 51, 153, 0.25); }

.hxc-overlay {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(236, 241, 229, 0.78);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
  transition: opacity 0.35s, visibility 0.35s;
}
.hxc-overlay.is-off { opacity: 0; visibility: hidden; }
.hxc-overlay-card {
  max-width: 440px;
  display: grid;
  gap: 12px;
  justify-items: start;
  padding: clamp(20px, 3vw, 28px);
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--cloud);
  box-shadow: 0 30px 60px -30px rgba(10, 8, 28, 0.35);
}
.hxc-overlay-card h3 { margin: 0; font-family: var(--display); font-weight: 400; font-size: clamp(20px, 2.2vw, 28px); letter-spacing: -0.02em; line-height: 1.15; }
.hxc-overlay-card p { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--fg-dim); }
.hxc-overlay-card .pg-actions { margin-top: 4px; }
.hxc-end-stats { display: grid; grid-template-columns: repeat(3, auto); gap: 4px 22px; font-family: var(--mono); font-size: 12px; color: var(--fg-mute); }
.hxc-end-stats b { display: block; font-family: var(--display); font-weight: 400; font-size: 22px; color: var(--fg); }

@media (max-width: 1180px) { .hxc-board-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 860px) {
  .hxc-op-body { grid-template-columns: 1fr; }
  .hxc-queue { border-right: 0; border-bottom: 1px solid var(--line); contain: none; height: 214px; }
  .hxc-queue-list { grid-template-columns: 1fr 1fr; }
  .hxc-score { grid-template-columns: repeat(3, 1fr); }
  .hxc-score > div:nth-child(4):not(.hxc-shift) { border-left: 0; }
  .hxc-score > div:nth-child(n+4):not(.hxc-shift) { border-top: 1px solid var(--line); }
}
@media (max-width: 560px) {
  .hxc-board-grid { grid-template-columns: repeat(3, 1fr); gap: 10px 8px; }
  .hxc-board { min-height: 0; }
  .hxc-queue { padding: 14px; height: 226px; }
  .hxc-queue-list { grid-template-columns: 1fr; }
  .hxc-queue-list li:nth-child(n+3) { display: none; }
  .hxc-score > div:not(.hxc-shift) { padding: 10px 12px; }
  .hxc-sub-name { font-size: 11px; }
}

.hxc-facts { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); margin-top: clamp(48px, 6vw, 80px); align-items: start; }
.hxc-facts-text { display: grid; gap: 12px; }
.hxc-facts-text p { margin: 0 0 14px; font-size: 15.5px; line-height: 1.6; color: var(--fg-dim); max-width: 52ch; }
.hxc-facts-text .hx-ticket { max-width: 420px; }
@media (max-width: 860px) { .hxc-facts { grid-template-columns: 1fr; } }

/* ───────── ACT 2 · your own line (switchboard-line.js) ───────── */
.lnc [hidden] { display: none !important; }
.lnc-body { display: grid; grid-template-columns: minmax(220px, 0.42fr) minmax(0, 1fr); }
.lnc-me {
  display: grid;
  align-content: start;
  justify-items: start;
  gap: 12px;
  padding: clamp(18px, 2.6vw, 30px);
  border-right: 1px solid var(--line);
  background: var(--bg-elev);
}
.lnc-label, .lnc-field label, .lnc-methods legend {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-mute);
}
.lnc-code {
  font-family: var(--display);
  font-size: clamp(28px, 2.7vw, 38px);
  letter-spacing: -0.01em;
  line-height: 1.1;
  white-space: nowrap;
  color: var(--accent);
  user-select: all;
}
.lnc-code.is-wait { color: var(--fg-mute); }
.lnc-me-acts { display: flex; flex-wrap: wrap; gap: 8px; }
.lnc-qr {
  width: 132px;
  height: 132px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--cloud);
  opacity: 0;
  transition: opacity 0.4s;
}
.lnc-qr.is-on { opacity: 1; }
.lnc-qr svg { display: block; width: 100%; height: 100%; }
.lnc-qr-cap { margin: -4px 0 0; max-width: 24ch; font-size: 12.5px; line-height: 1.45; color: var(--fg-mute); }
.lnc-toggle { display: inline-flex; align-items: center; gap: 10px; margin-top: 4px; font-size: 13.5px; color: var(--fg-dim); cursor: pointer; }
.lnc-toggle input { width: 16px; height: 16px; accent-color: var(--cobalt); }

.lnc-main { position: relative; min-width: 0; padding: clamp(18px, 2.6vw, 30px); }
.lnc-form { display: grid; gap: 18px; }
.lnc-field { position: relative; display: grid; gap: 8px; }
.lnc-to-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.lnc-form input[type="text"], .lnc-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--cloud);
  color: var(--fg);
  font: inherit;
  font-size: 15px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
/* the number field: +858 is fixed, people type the 8 digits after it */
.lnc-dial {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  padding-left: 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--cloud);
  font-family: var(--display);
  font-size: 22px;
  letter-spacing: 0.04em;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.lnc-cc { flex: none; padding-right: 0.3em; color: var(--fg-mute); }
.lnc-form .lnc-dial input[type="text"] {
  width: 9em;
  min-width: 0;
  padding: 12px 14px 12px 0;
  border: 0;
  background: transparent;
  font-family: inherit;
  font-size: inherit;
  letter-spacing: inherit;
}
.lnc-form .lnc-dial input[type="text"]:focus { box-shadow: none; }
.lnc-dial:focus-within { border-color: var(--cobalt); box-shadow: 0 0 0 3px rgba(0, 51, 153, 0.12); }
.lnc-form textarea { resize: vertical; min-height: 92px; line-height: 1.5; }
.lnc-form input:focus, .lnc-form textarea:focus { outline: none; border-color: var(--cobalt); box-shadow: 0 0 0 3px rgba(0, 51, 153, 0.12); }
.lnc-count { justify-self: end; font-family: var(--mono); font-size: 11px; color: var(--fg-mute); }
.lnc-count.is-over { color: var(--ember); }
/* the line lamp: grey until a full code is typed, then lit (open), dark (closed) or yours */
.lnc-lamp { display: inline-flex; align-items: center; gap: 9px; font-size: 13px; color: var(--fg-mute); }
.lnc-lamp i { width: 11px; height: 11px; border-radius: 50%; background: color-mix(in srgb, var(--midnight) 18%, var(--cloud)); }
.lnc-lamp[data-state="checking"] i { animation: blip 0.9s ease-in-out infinite; background: var(--fg-mute); }
.lnc-lamp[data-state="open"] { color: var(--cobalt); }
.lnc-lamp[data-state="open"] i { background: var(--cobalt); box-shadow: 0 0 0 4px rgba(0, 51, 153, 0.14), 0 0 12px rgba(0, 51, 153, 0.5); }
.lnc-lamp[data-state="closed"] i, .lnc-lamp[data-state="self"] i { background: var(--ember); }
.lnc-lamp[data-state="closed"], .lnc-lamp[data-state="self"] { color: var(--fg-dim); }

.lnc-methods { margin: 0; padding: 0; border: 0; min-width: 0; }
.lnc-methods legend { padding: 0; margin-bottom: 10px; }
.lnc-method-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.lnc-method { position: relative; display: block; cursor: pointer; }
.lnc-method input { position: absolute; opacity: 0; pointer-events: none; }
.lnc-method span {
  display: grid;
  justify-items: center;
  gap: 6px;
  height: 100%;
  padding: 14px 6px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--cloud);
  text-align: center;
  transition: border-color 0.2s, transform 0.25s cubic-bezier(.2, .7, .2, 1), box-shadow 0.25s;
}
.lnc-method svg { width: 34px; height: 34px; overflow: visible; }
.lnc-method svg .s { fill: none; stroke: var(--midnight); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.lnc-method svg .a { fill: none; stroke: var(--ember); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.lnc-method svg .f { fill: var(--ember); }
.lnc-method b { font-weight: 500; font-size: 12.5px; line-height: 1.25; color: var(--fg); }
.lnc-method small { font-family: var(--mono); font-size: 10px; letter-spacing: 0.08em; color: var(--fg-mute); }
.lnc-method:hover span { border-color: var(--fg-mute); transform: translateY(-2px); }
.lnc-method input:checked + span { border-color: var(--cobalt); box-shadow: 0 0 0 1px var(--cobalt), 0 12px 24px -18px rgba(0, 51, 153, 0.6); }
.lnc-method input:checked + span small { color: var(--cobalt); }
/* the estimated trip time for the dialled line, shown once the lamp is open */
.lnc-eta { font-style: normal; font-family: var(--mono); font-size: 10.5px; line-height: 1.2; color: var(--ember); }
.lnc-eta:empty { display: none; }
.lnc-method input:focus-visible + span { outline: 2px solid var(--cobalt); outline-offset: 3px; }

.lnc-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.lnc-left { margin: 0; font-size: 13.5px; color: var(--fg-dim); }
.lnc-left b { font-weight: 500; color: var(--fg); }
.lnc-form .btn[disabled] { opacity: 0.5; pointer-events: none; }
.lnc-msg { margin: 0; min-height: 1.5em; font-size: 13.5px; line-height: 1.5; color: var(--ember); }

.lnc-sending { display: grid; gap: 14px; }
/* the trip clock above the scene: runs to the estimated trip time while the scene plays */
.lnc-trip {
  justify-self: start;
  display: inline-flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px;
  padding: 6px 12px;
  border: 1px solid color-mix(in srgb, var(--ember) 30%, var(--cloud));
  border-radius: 100px;
  background: color-mix(in srgb, var(--ember) 6%, var(--cloud));
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-dim);
}
.lnc-trip[hidden] { display: none; }
.lnc-trip b { font-weight: 600; color: var(--ember); font-variant-numeric: tabular-nums; }
.lnc-stage { height: clamp(300px, 34vw, 400px); border: 1px solid var(--line); border-radius: 14px; background: var(--cloud); }
.lnc-after { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; min-height: 36px; }
.lnc-after-t { margin: 0; font-size: 14px; color: var(--fg-dim); }
.lnc-after-t b { font-weight: 500; color: var(--fg); }

.lnc-notes { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 18px 0 0; padding: 0; font-size: 13px; color: var(--fg-mute); }
.lnc-notes li { position: relative; padding-left: 14px; }
.lnc-notes li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 5px; height: 5px; border-radius: 50%; background: var(--ember); }

@media (max-width: 960px) {
  .lnc-body { grid-template-columns: minmax(0, 1fr); }
  .lnc-me { grid-template-columns: auto 1fr; align-items: center; border-right: 0; border-bottom: 1px solid var(--line); }
  .lnc-me > .lnc-label, .lnc-me > .lnc-code, .lnc-me > .lnc-me-acts, .lnc-me > .lnc-toggle { grid-column: 1 / -1; }
  .lnc-qr { width: 108px; height: 108px; }
  .lnc-qr-cap { margin: 0; }
}
@media (max-width: 640px) {
  .lnc-method-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lnc-foot .btn { flex: 1 1 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .lnc-method span { transition: none; }
  .lnc-lamp[data-state="checking"] i { animation: none; }
}

/* ───────── ACT 3 · routing ───────── */
.hxc-rt-top { display: grid; grid-template-columns: 1.65fr 1fr; }
.hxc-rt-flow { position: relative; padding: 14px 14px 10px; border-right: 1px solid var(--line); min-width: 0; }
.hxc-rt-flow canvas { display: block; width: 100%; height: 340px; }
.hxc-rt-cap { margin: 6px 4px 0; font-size: 12px; color: var(--fg-mute); }
.hxc-rt-controls { padding: 18px 20px; display: grid; gap: 14px; align-content: start; background: var(--bg-elev); }
.hxc-rt-group-head { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-mute); }
.hxc-slider { display: grid; gap: 8px; }
.hxc-slider > span { display: flex; justify-content: space-between; gap: 10px; font-size: 13.5px; color: var(--fg-dim); }
.hxc-slider output { font-family: var(--mono); color: var(--fg); }
.hxc-slider input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 22px;
  margin: 0;
  background: transparent;
  touch-action: pan-y;
}
.hxc-slider input[type="range"]::-webkit-slider-runnable-track { height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--cobalt) var(--p, 50%), var(--line) var(--p, 50%)); }
.hxc-slider input[type="range"]::-moz-range-track { height: 4px; border-radius: 4px; background: var(--line); }
.hxc-slider input[type="range"]::-moz-range-progress { height: 4px; border-radius: 4px; background: var(--cobalt); }
.hxc-slider input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; margin-top: -8px; border-radius: 50%; background: var(--cobalt); border: 3px solid var(--cloud); box-shadow: 0 0 0 1px var(--cobalt); }
.hxc-slider input[type="range"]::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: var(--cobalt); border: 3px solid var(--cloud); box-shadow: 0 0 0 1px var(--cobalt); }
.hxc-slider input[type="range"]:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 4px; }
.hxc-rt-btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.hxc-rt-btns .btn { width: 100%; justify-content: center; border-color: rgba(229, 88, 44, 0.55); color: var(--ember); }
.hxc-rt-btns .btn:hover { background: rgba(229, 88, 44, 0.08); border-color: var(--ember); }
.hxc-rt-btns .btn[disabled] { opacity: 0.5; }

.hxc-rt-stats { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.hxc-rt-stats > div { display: grid; gap: 4px; padding: 14px 18px 12px; }
.hxc-rt-stats > div + div { border-left: 1px solid var(--line); }

.hxc-rt-table { padding: 6px 18px 4px; }
.hxc-rt-row {
  display: grid;
  grid-template-columns: 1.5fr 0.7fr 0.55fr 0.55fr 0.6fr 1.2fr 1.35fr;
  gap: 12px;
  align-items: center;
  padding: 11px 0;
  border-top: 1px solid var(--line-soft);
  font-size: 13.5px;
  color: var(--fg-dim);
  transition: background 0.3s, opacity 0.3s;
}
.hxc-rt-row.is-head { border-top: 0; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-mute); padding: 8px 0 6px; }
.hxc-rt-row .nm { display: flex; align-items: center; gap: 10px; color: var(--fg); font-weight: 500; }
.hxc-rt-row .nm small { display: block; font-weight: 400; font-size: 11.5px; color: var(--fg-mute); }
.hxc-rt-row .lt {
  flex: none;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1.5px solid rgba(0, 51, 153, 0.4);
  font-family: var(--display);
  font-size: 11px;
  color: var(--cobalt);
}
.hxc-rt-row .k { display: none; }
.hxc-rt-row .bar { height: 6px; border-radius: 6px; background: var(--line-soft); overflow: hidden; }
.hxc-rt-row .bar i { display: block; height: 100%; background: var(--cobalt); transform-origin: 0 50%; transition: transform 0.4s cubic-bezier(.2,.7,.2,1); }
.hxc-rt-row .st {
  justify-self: start;
  padding: 4px 10px;
  border-radius: 100px;
  border: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 11.5px;
  white-space: nowrap;
}
.hxc-rt-row.is-r1 { background: var(--accent-faint); }
.hxc-rt-row.is-r1 .lt { background: var(--cobalt); color: var(--cloud); border-color: var(--cobalt); }
.hxc-rt-row.is-r1 .st { background: var(--cobalt); border-color: var(--cobalt); color: var(--cloud); }
.hxc-rt-row.is-r2 .st, .hxc-rt-row.is-r3 .st { border-color: rgba(0, 51, 153, 0.5); color: var(--cobalt); }
.hxc-rt-row.is-skip { opacity: 0.62; }
.hxc-rt-row.is-skip .st { border-color: rgba(229, 88, 44, 0.55); color: var(--ember); }
.hxc-rt-row.is-skip .mos { color: var(--ember); }
.hxc-rt-row.is-down .st { background: var(--ember); border-color: var(--ember); color: var(--cloud); }
.hxc-rt-row.is-down .lt { border-color: var(--ember); color: var(--ember); }
.hxc-rt-row.is-down .bar i { background: var(--ember); }
.hxc-rt-msg { margin: 0; padding: 12px 18px 16px; font-size: 13.5px; color: var(--fg-dim); border-top: 1px solid var(--line-soft); }
.hxc-rt-msg b { color: var(--fg); font-weight: 500; }

/* the figures as a patch field: each one a labelled strip with its own jack, and a jack that
   lights when you point at it. They come up one after another as the list scrolls in. */
.hxc-chips { list-style: none; margin: 28px 0 14px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.hxc-chips li {
  position: relative;
  padding: 9px 14px 9px 36px;
  border: 1px solid var(--line);
  border-radius: 5px;
  font-size: 13px;
  color: var(--fg-dim);
  background: linear-gradient(180deg, var(--cloud), color-mix(in srgb, var(--sage) 45%, var(--cloud)));
  box-shadow: inset 0 1px 0 rgba(255, 251, 250, 0.9), 0 4px 10px -9px rgba(10, 8, 28, 0.5);
  transition: border-color 0.25s, transform 0.25s;
}
.hxc-chips li::before {
  content: "";
  position: absolute;
  left: 11px;
  top: 50%;
  width: 14px;
  height: 14px;
  margin-top: -7px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--midnight) 0 3px, color-mix(in srgb, var(--cobalt) 18%, var(--cloud)) 3.6px 5.4px, rgba(0, 51, 153, 0.5) 6px 7px);
  transition: box-shadow 0.3s;
}
.hxc-chips li:hover { border-color: rgba(229, 88, 44, 0.5); transform: translateY(-1px); }
.hxc-chips li:hover::before { box-shadow: 0 0 0 3px rgba(229, 88, 44, 0.18), 0 0 10px rgba(229, 88, 44, 0.55); }
.hxc-chips b { color: var(--accent); font-weight: 500; }
@media (prefers-reduced-motion: no-preference) {
  .hxc-chips.reveal { opacity: 1; transform: none; }
  .hxc-chips.reveal li { opacity: 0; transform: translateY(10px); transition: opacity 0.5s, transform 0.6s cubic-bezier(.2, .8, .2, 1), border-color 0.25s; }
  .hxc-chips.reveal.is-in li { opacity: 1; transform: none; }
  .hxc-chips.reveal.is-in li:hover { transform: translateY(-1px); }
  .hxc-chips.reveal li:nth-child(2) { transition-delay: 0.05s; }
  .hxc-chips.reveal li:nth-child(3) { transition-delay: 0.1s; }
  .hxc-chips.reveal li:nth-child(4) { transition-delay: 0.15s; }
  .hxc-chips.reveal li:nth-child(5) { transition-delay: 0.2s; }
  .hxc-chips.reveal li:nth-child(6) { transition-delay: 0.25s; }
  .hxc-chips.reveal li:nth-child(7) { transition-delay: 0.3s; }
  .hxc-chips.reveal li:nth-child(8) { transition-delay: 0.35s; }
  .hxc-chips.reveal li:nth-child(9) { transition-delay: 0.4s; }
  .hxc-chips.reveal li:nth-child(10) { transition-delay: 0.45s; }
  .hxc-chips.reveal.is-in li:hover { transition-delay: 0s; }
}

@media (max-width: 1000px) {
  .hxc-rt-top { grid-template-columns: 1fr; }
  .hxc-rt-flow { border-right: 0; border-bottom: 1px solid var(--line); }
  .hxc-rt-controls { grid-template-columns: 1fr 1fr; column-gap: 24px; }
  .hxc-rt-group-head, .hxc-rt-btns { grid-column: 1 / -1; }
  .hxc-rt-btns .btn { width: auto; }
}
@media (max-width: 860px) {
  .hxc-rt-stats { grid-template-columns: repeat(3, 1fr); }
  .hxc-rt-stats > div:nth-child(4) { border-left: 0; }
  .hxc-rt-stats > div:nth-child(n+4) { border-top: 1px solid var(--line); }
  .hxc-rt-row.is-head { display: none; }
  .hxc-rt-row { grid-template-columns: repeat(4, 1fr); gap: 8px 10px; padding: 12px 0; }
  .hxc-rt-row .nm { grid-column: 1 / 3; grid-row: 1; }
  .hxc-rt-row .st { grid-column: 3 / 5; grid-row: 1; justify-self: end; }
  .hxc-rt-row .bar { grid-column: 1 / -1; grid-row: 3; }
  .hxc-rt-row .k { display: block; font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg-mute); }
}
@media (max-width: 620px) {
  .hxc-rt-flow canvas { height: 290px; }
  .hxc-rt-controls { grid-template-columns: 1fr; }
  .hxc-rt-stats { grid-template-columns: repeat(2, 1fr); }
  .hxc-rt-stats > div { padding: 12px; }
  .hxc-rt-stats > div:nth-child(n) { border-left: 0; }
  .hxc-rt-stats > div:nth-child(even) { border-left: 1px solid var(--line); }
  .hxc-rt-stats > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .hxc-rt-table { padding: 4px 14px; }
}

/* ───────── hand-off ───────── */
/* four eras, four working machines: each card opens with its own small mechanism */
.hxc-compare { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.hxc-compare .hx-era { margin-bottom: 6px; }
.hxc-compare .hx-ticket-row b { font-size: 15px; }
.hxc-compare .hx-ticket:last-child { border-color: var(--accent-line); background: var(--accent-faint); }
.hxc-glyph {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 240 / 96;
  margin: 0 0 14px;
  border-radius: 10px;
  background:
    repeating-linear-gradient(90deg, transparent 0 23px, rgba(0, 51, 153, 0.05) 23px 24px),
    repeating-linear-gradient(180deg, transparent 0 23px, rgba(0, 51, 153, 0.05) 23px 24px),
    color-mix(in srgb, var(--sage) 60%, var(--cloud));
  border: 1px solid rgba(0, 51, 153, 0.12);
  overflow: hidden;
}
.hxc-compare .hx-ticket:last-child .hxc-glyph { background: repeating-linear-gradient(90deg, transparent 0 23px, rgba(0, 51, 153, 0.07) 23px 24px), var(--cloud); }
/* 1878: plug and jack */
.hxc-glyph .g-plate { fill: var(--cloud); stroke: rgba(0, 51, 153, 0.2); }
.hxc-glyph .g-ring { fill: color-mix(in srgb, var(--cobalt) 12%, var(--cloud)); stroke: rgba(0, 51, 153, 0.55); stroke-width: 1.6; }
.hxc-glyph .g-sock { fill: var(--midnight); }
.hxc-glyph .g-flash { fill: none; stroke: var(--ember); stroke-width: 2; opacity: 0; }
.hxc-glyph .g-cord { fill: none; stroke: var(--midnight); stroke-width: 3.2; stroke-linecap: round; }
.hxc-glyph .g-cord-shadow { fill: none; stroke: rgba(10, 8, 28, 0.14); stroke-width: 4; stroke-linecap: round; filter: blur(1.5px); }
.hxc-glyph .g-boot, .hxc-glyph .g-tip { fill: var(--midnight); }
.hxc-glyph .g-sleeve { fill: var(--cloud); stroke: var(--midnight); stroke-width: 1.3; }
.hxc-glyph.is-seated .g-ring { stroke: var(--ember); }
/* 1892: a selector stepping up and round */
.hxc-glyph .g-ct { fill: rgba(10, 8, 28, 0.25); transition: fill 0.2s; }
.hxc-glyph .g-ct.is-hit { fill: var(--ember); }
.hxc-glyph .g-shaft { stroke: var(--midnight); stroke-width: 3; stroke-linecap: round; }
.hxc-glyph .g-wiper { stroke: var(--cobalt); stroke-width: 3; stroke-linecap: round; }
.hxc-glyph .g-tipdot { fill: var(--ember); }
.hxc-glyph .g-car { fill: var(--cloud); stroke: var(--midnight); stroke-width: 1.3; }
/* 1956: TAT-1 in section, its 35 channels filling up */
.hxc-glyph .g-jacket { fill: var(--midnight); }
.hxc-glyph .g-shield { fill: none; stroke: rgba(255, 251, 250, 0.55); stroke-width: 2; stroke-dasharray: 2 2.4; }
.hxc-glyph .g-diel { fill: color-mix(in srgb, var(--cobalt) 30%, var(--cloud)); }
.hxc-glyph .g-core { fill: var(--ember); }
.hxc-glyph .g-pulse { fill: none; stroke: var(--ember); stroke-width: 1.5; }
.hxc-glyph .g-ch { fill: rgba(0, 51, 153, 0.12); transition: fill 0.2s; }
.hxc-glyph .g-ch.is-on { fill: var(--cobalt); }
.hxc-glyph.is-full .g-ch.is-on { fill: var(--ember); }
/* today: the best of six lanes */
.hxc-glyph .g-lane { fill: none; stroke: rgba(10, 8, 28, 0.14); stroke-width: 1.2; transition: stroke 0.4s, stroke-width 0.4s; }
.hxc-glyph .g-lane.is-best { stroke: var(--cobalt); stroke-width: 2.6; }
.hxc-glyph .g-node { fill: var(--cloud); stroke: rgba(0, 51, 153, 0.45); stroke-width: 1.3; transition: fill 0.3s; }
.hxc-glyph .g-node.is-best { fill: var(--cobalt); }
.hxc-glyph .g-in { fill: var(--ember); }
.hxc-glyph .g-dot { fill: var(--ember); }
.hxc-cta { margin-top: clamp(64px, 9vw, 130px); }
@media (max-width: 1100px) { .hxc-compare { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .hxc-compare { grid-template-columns: 1fr; } }
