:root {
  --interaction-teal: #34e3e0;
  --interaction-gold: #d8ad56;
  --compare-position: 52%;
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* A quiet progress signal makes the long homepage feel responsive to scrolling. */
.page-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 140;
  pointer-events: none;
  background: rgba(255, 255, 255, 0.05);
}

.page-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--interaction-teal), #98faf2 60%, var(--interaction-gold));
  box-shadow: 0 0 18px rgba(52, 227, 224, 0.5);
  transition: width 80ms linear;
}

/* Hero capability network */
.interactive-home .hero-grid-bg {
  animation: technical-grid-drift 24s linear infinite;
}

@keyframes technical-grid-drift {
  to { background-position: 64px 64px; }
}

.interactive-home .system-orbit {
  isolation: isolate;
}

.interactive-home .system-orbit::after {
  content: "";
  position: absolute;
  inset: -25%;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at var(--orbit-x, 50%) var(--orbit-y, 49%), rgba(52, 227, 224, 0.13), transparent 24%),
    radial-gradient(circle at 72% 24%, rgba(216, 173, 86, 0.07), transparent 22%);
  transition: background-position 180ms ease;
}

.interactive-home .system-core {
  z-index: 5;
  animation: core-breathe 4.8s ease-in-out infinite;
}

.interactive-home .system-core::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  border: 1px solid rgba(52, 227, 224, 0.48);
  opacity: 0;
  animation: core-signal 3.2s ease-out infinite;
}

@keyframes core-breathe {
  0%, 100% { box-shadow: 0 0 0 12px rgba(25, 167, 166, 0.05), 0 26px 52px rgba(0, 0, 0, 0.38); }
  50% { box-shadow: 0 0 0 18px rgba(25, 167, 166, 0.075), 0 28px 62px rgba(0, 0, 0, 0.42); }
}

@keyframes core-signal {
  0% { opacity: 0.7; transform: scale(0.96); }
  75%, 100% { opacity: 0; transform: scale(1.35); }
}

.capability-beam {
  --beam-rotation: 0deg;
  position: absolute;
  z-index: 1;
  left: 50%;
  top: 49%;
  width: 43%;
  height: 2px;
  overflow: hidden;
  pointer-events: none;
  transform: rotate(var(--beam-rotation));
  transform-origin: 0 50%;
  background: linear-gradient(90deg, rgba(52, 227, 224, 0.28), rgba(52, 227, 224, 0.03));
  opacity: 0.32;
  transition: opacity 240ms ease, filter 240ms ease;
}

.capability-beam::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-105%);
  background: linear-gradient(90deg, transparent, rgba(152, 250, 242, 0.95), transparent);
}

.beam-a { --beam-rotation: 222deg; }
.beam-b { --beam-rotation: -35deg; }
.beam-c { --beam-rotation: 39deg; }
.beam-d { --beam-rotation: 144deg; }

.system-orbit[data-active-capability="corrosion"] .beam-a,
.system-orbit[data-active-capability="landfill"] .beam-b,
.system-orbit[data-active-capability="infrastructure"] .beam-c,
.system-orbit[data-active-capability="rehabilitation"] .beam-d {
  opacity: 1;
  filter: drop-shadow(0 0 7px rgba(52, 227, 224, 0.75));
}

.system-orbit[data-active-capability="corrosion"] .beam-a::after,
.system-orbit[data-active-capability="landfill"] .beam-b::after,
.system-orbit[data-active-capability="infrastructure"] .beam-c::after,
.system-orbit[data-active-capability="rehabilitation"] .beam-d::after {
  animation: beam-travel 1.15s ease-out;
}

@keyframes beam-travel {
  to { transform: translateX(105%); }
}

.interactive-home .orbit-node {
  z-index: 6;
  overflow: hidden;
  will-change: transform;
}

.interactive-home .orbit-node::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(115deg, transparent 20%, rgba(255, 255, 255, 0.12), transparent 75%);
  transform: translateX(-100%);
}

.interactive-home .orbit-node.is-active {
  border-color: rgba(52, 227, 224, 0.74);
  background: rgba(8, 42, 42, 0.98);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.32), 0 0 28px rgba(52, 227, 224, 0.13);
  transform: translateZ(34px) scale(1.055);
}

.interactive-home .orbit-node.is-active::after {
  opacity: 1;
  animation: node-sheen 900ms ease;
}

@keyframes node-sheen {
  to { transform: translateX(100%); }
}

.interactive-home .visual-caption {
  z-index: 8;
  min-height: 42px;
  transition: border-color 220ms ease, background 220ms ease;
}

.interactive-home .visual-caption.is-updating {
  border-color: rgba(52, 227, 224, 0.28);
  background: rgba(5, 31, 32, 0.92);
}

.interactive-home .visual-caption p {
  transition: opacity 130ms ease, transform 130ms ease;
}

.interactive-home .visual-caption.is-updating p {
  opacity: 0;
  transform: translateY(3px);
}

/* Capability cards: pointer spotlight, clearer depth and calmer lift. */
.interactive-home .capability-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(320px circle at var(--spot-x, 50%) var(--spot-y, 50%), rgba(25, 167, 166, 0.16), transparent 66%);
  transition: opacity 220ms ease;
}

.interactive-home .capability-card:hover::before,
.interactive-home .capability-card:focus-visible::before {
  opacity: 1;
}

.interactive-home .capability-card > * {
  position: relative;
  z-index: 1;
}

.interactive-home .capability-icon {
  transition: transform 300ms cubic-bezier(.22, 1, .36, 1), background 240ms ease, color 240ms ease;
}

.interactive-home .capability-card:hover .capability-icon,
.interactive-home .capability-card:focus-visible .capability-icon {
  color: #fff;
  background: var(--teal);
  transform: translateY(-5px) rotate(-2deg);
}

/* Interactive corrosion-protection comparison */
.comparison {
  position: relative;
  color: #102624;
  background:
    radial-gradient(circle at 7% 24%, rgba(25, 167, 166, 0.12), transparent 25%),
    linear-gradient(180deg, #eef4f2, #f8faf9);
  overflow: hidden;
}

.comparison::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.48;
  background-image:
    linear-gradient(rgba(12, 119, 120, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(12, 119, 120, 0.055) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: linear-gradient(90deg, #000, transparent 72%);
}

.comparison-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(420px, 1.28fr);
  gap: 64px;
  align-items: end;
  margin-bottom: 42px;
}

.comparison-heading h2 {
  margin: 10px 0 0;
  max-width: 720px;
  font-size: clamp(2.45rem, 4.6vw, 4.85rem);
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.comparison-copy {
  margin: 0;
  max-width: 650px;
  color: #556d68;
  font-size: 1.02rem;
}

.comparison-stage {
  position: relative;
  z-index: 2;
  overflow: hidden;
  min-height: 560px;
  border-radius: 32px;
  border: 1px solid rgba(8, 69, 69, 0.17);
  background: #0a2526;
  box-shadow: 0 34px 80px rgba(9, 56, 54, 0.2);
  isolation: isolate;
}

.comparison-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  border-radius: inherit;
}

.comparison-image,
.comparison-after {
  position: absolute;
  inset: 0;
}

.comparison-image img,
.comparison-after img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.comparison-before img {
  filter: saturate(0.86) contrast(1.04);
}

.comparison-after {
  z-index: 2;
  left: var(--compare-position);
  width: auto;
  overflow: hidden;
  border-left: 2px solid rgba(255, 255, 255, 0.95);
  box-shadow: -12px 0 34px rgba(0, 0, 0, 0.22);
}

.comparison-after img {
  position: absolute;
  inset: 0 0 0 auto;
  max-width: none;
  width: var(--comparison-width, 100%);
}

.comparison-shade {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(2, 13, 14, 0.04), rgba(2, 13, 14, 0.45));
}

.comparison-label {
  position: absolute;
  z-index: 6;
  top: 24px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: #fff;
  background: rgba(5, 24, 25, 0.72);
  backdrop-filter: blur(10px);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.comparison-label::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--interaction-teal);
  box-shadow: 0 0 0 5px rgba(52, 227, 224, 0.11);
}

.comparison-label.before { left: 24px; }
.comparison-label.after { right: 24px; }
.comparison-label.before::before { background: #d8ad56; box-shadow: 0 0 0 5px rgba(216, 173, 86, 0.12); }

.comparison-handle {
  position: absolute;
  z-index: 7;
  left: var(--compare-position);
  top: 50%;
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 50%;
  color: #063334;
  background: #fff;
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.3);
  transform: translate(-50%, -50%);
  transition: transform 180ms ease;
}

.comparison-stage:hover .comparison-handle,
.comparison-stage:focus-within .comparison-handle {
  transform: translate(-50%, -50%) scale(1.07);
}

.comparison-handle span {
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: -0.1em;
}

.comparison-range {
  position: absolute;
  inset: 0;
  z-index: 9;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
}

.comparison-instruction {
  position: absolute;
  z-index: 6;
  left: 50%;
  bottom: 26px;
  display: flex;
  align-items: center;
  gap: 11px;
  width: max-content;
  max-width: calc(100% - 40px);
  padding: 11px 16px;
  border-radius: 999px;
  color: #e7f4f1;
  background: rgba(5, 24, 25, 0.76);
  border: 1px solid rgba(255, 255, 255, 0.13);
  backdrop-filter: blur(11px);
  transform: translateX(-50%);
  font-size: 0.78rem;
  font-weight: 700;
  text-align: center;
}

.comparison-instruction span {
  color: var(--interaction-teal);
}

.comparison-note {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  gap: 22px;
  margin-top: 18px;
  color: #72847f;
  font-size: 0.72rem;
}

.comparison-note strong {
  color: var(--teal-deep);
}

/* Immediate hover/focus delivery explorer */
.interactive-home .approach-grid {
  align-items: center;
}

.delivery-explorer {
  position: relative;
  padding: 15px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 28px;
  background:
    radial-gradient(circle at 85% 12%, rgba(52, 227, 224, 0.11), transparent 26%),
    rgba(4, 23, 24, 0.64);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.26);
}

.delivery-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 10px;
}

.delivery-tab {
  position: relative;
  min-width: 0;
  min-height: 83px;
  padding: 13px 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 17px;
  color: #8da5a1;
  background: rgba(255, 255, 255, 0.035);
  cursor: pointer;
  text-align: left;
  transition:
    color 220ms ease,
    border-color 220ms ease,
    background 220ms ease,
    transform 220ms ease,
    box-shadow 220ms ease;
}

.delivery-tab::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 8px;
  height: 2px;
  border-radius: 2px;
  background: var(--interaction-teal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 260ms ease;
}

.delivery-tab span {
  display: block;
  margin-bottom: 8px;
  color: #6f8985;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.delivery-tab strong {
  display: block;
  overflow: hidden;
  font-size: 0.77rem;
  line-height: 1.25;
  text-overflow: ellipsis;
}

.delivery-tab:hover,
.delivery-tab:focus-visible {
  color: #fff;
  border-color: rgba(52, 227, 224, 0.42);
  outline: none;
}

.delivery-tab.is-active {
  color: #fff;
  border-color: rgba(52, 227, 224, 0.58);
  background: linear-gradient(145deg, rgba(25, 167, 166, 0.34), rgba(25, 167, 166, 0.12));
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
  transform: translateY(-2px);
}

.delivery-tab.is-active::after {
  transform: scaleX(1);
}

.delivery-tab.is-active span {
  color: #9cfaf3;
}

.delivery-stage {
  position: relative;
  min-height: 315px;
  padding: 42px 39px 34px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 22px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px),
    linear-gradient(145deg, rgba(13, 58, 59, 0.72), rgba(5, 30, 31, 0.96));
  background-size: 34px 34px, 34px 34px, auto;
}

.delivery-stage::after {
  content: "";
  position: absolute;
  width: 230px;
  height: 230px;
  right: -90px;
  bottom: -110px;
  border: 1px solid rgba(52, 227, 224, 0.14);
  border-radius: 50%;
  box-shadow:
    0 0 0 28px rgba(52, 227, 224, 0.025),
    0 0 0 56px rgba(52, 227, 224, 0.018);
}

.delivery-rail {
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  top: 0;
  height: 4px;
  background: rgba(255, 255, 255, 0.07);
}

.delivery-rail i {
  position: absolute;
  z-index: 2;
  top: -3px;
  width: 10px;
  height: 10px;
  border: 2px solid #22484a;
  border-radius: 50%;
  background: #092627;
  transform: translateX(-50%);
  transition: border-color 220ms ease, background 220ms ease, box-shadow 220ms ease;
}

.delivery-rail i:nth-child(1) { left: 12.5%; }
.delivery-rail i:nth-child(2) { left: 37.5%; }
.delivery-rail i:nth-child(3) { left: 62.5%; }
.delivery-rail i:nth-child(4) { left: 87.5%; }

.delivery-signal {
  display: block;
  width: 25%;
  height: 100%;
  border-radius: 0 999px 999px 0;
  background: linear-gradient(90deg, var(--interaction-teal), #91f8ef);
  box-shadow: 0 0 14px rgba(52, 227, 224, 0.42);
  transition: width 360ms cubic-bezier(.22, 1, .36, 1);
}

.delivery-explorer[data-active-step="design"] .delivery-signal { width: 50%; }
.delivery-explorer[data-active-step="manufacture"] .delivery-signal { width: 75%; }
.delivery-explorer[data-active-step="execute"] .delivery-signal { width: 100%; }

.delivery-explorer[data-active-step="assess"] .delivery-rail i:nth-child(-n+1),
.delivery-explorer[data-active-step="design"] .delivery-rail i:nth-child(-n+2),
.delivery-explorer[data-active-step="manufacture"] .delivery-rail i:nth-child(-n+3),
.delivery-explorer[data-active-step="execute"] .delivery-rail i:nth-child(-n+4) {
  border-color: #7df2ea;
  background: var(--teal);
  box-shadow: 0 0 12px rgba(52, 227, 224, 0.55);
}

.delivery-panel {
  position: relative;
  z-index: 3;
}

.delivery-panel[hidden],
.difference-detail[hidden] {
  display: none;
}

.delivery-panel.is-active {
  animation: delivery-panel-in 340ms cubic-bezier(.22, 1, .36, 1);
}

@keyframes delivery-panel-in {
  from { opacity: 0; transform: translateY(9px); }
  to { opacity: 1; transform: translateY(0); }
}

.delivery-eyebrow {
  margin: 0 0 12px;
  color: #81ece6;
  font-size: 0.61rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.delivery-panel h3 {
  max-width: 500px;
  margin: 0 0 13px;
  color: #fff;
  font-size: clamp(1.55rem, 2.4vw, 2rem);
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.delivery-panel > p:not(.delivery-eyebrow) {
  max-width: 540px;
  margin: 0;
  color: #aac1bd;
  font-size: 0.9rem;
}

.delivery-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 26px;
}

.delivery-tags span {
  padding: 7px 11px;
  border: 1px solid rgba(125, 242, 234, 0.18);
  border-radius: 999px;
  color: #c7dbd7;
  background: rgba(125, 242, 234, 0.045);
  font-size: 0.65rem;
  font-weight: 700;
}

.delivery-hint {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 12px 5px 1px;
  color: #79928e;
  font-size: 0.68rem;
}

.delivery-hint span {
  color: var(--interaction-gold);
}

/* Heritage panel: one fixed, smooth reveal with no cursor-following layers. */
.interactive-home .legacy-panel {
  isolation: isolate;
  outline: none;
}

.interactive-home .legacy-panel::after {
  content: "";
  position: absolute;
  z-index: 0;
  inset: -20% -10% auto 20%;
  height: 330px;
  pointer-events: none;
  background: radial-gradient(ellipse, rgba(52, 227, 224, 0.13), transparent 67%);
  opacity: 0.45;
  transform: translateY(28px) scale(0.94);
  transition: opacity 520ms ease, transform 620ms cubic-bezier(.22, 1, .36, 1);
}

.interactive-home .legacy-panel:hover::after,
.interactive-home .legacy-panel:focus-visible::after {
  opacity: 0.9;
  transform: translateY(0) scale(1);
}

.legacy-year-wrap {
  position: relative;
  z-index: 2;
  margin: -4px 0 24px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.legacy-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  color: rgba(222, 241, 238, 0.62);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.legacy-meta strong {
  padding: 7px 10px;
  border: 1px solid rgba(52, 227, 224, 0.22);
  border-radius: 999px;
  color: #bdf6f0;
  background: rgba(52, 227, 224, 0.055);
  font-size: 0.58rem;
  letter-spacing: 0.08em;
}

.interactive-home .legacy-year {
  position: relative;
  z-index: 2;
  display: inline-block;
  margin: 0;
  color: rgba(255, 255, 255, 0.085);
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.055);
  transition: transform 580ms cubic-bezier(.22, 1, .36, 1);
}

.interactive-home .legacy-year::after {
  content: attr(data-year);
  position: absolute;
  inset: 0;
  color: transparent;
  background: linear-gradient(100deg, #9cfaf3 0%, var(--interaction-teal) 48%, var(--interaction-gold) 100%);
  background-clip: text;
  -webkit-background-clip: text;
  filter: drop-shadow(0 12px 25px rgba(4, 19, 19, 0.28));
  clip-path: inset(0 100% 0 0);
  transition: clip-path 720ms cubic-bezier(.22, 1, .36, 1);
}

.interactive-home .legacy-panel:hover .legacy-year,
.interactive-home .legacy-panel:focus-visible .legacy-year {
  transform: translateY(-3px);
}

.interactive-home .legacy-panel:hover .legacy-year::after,
.interactive-home .legacy-panel:focus-visible .legacy-year::after {
  clip-path: inset(0 0 0 0);
}

.legacy-signal {
  display: grid;
  grid-template-columns: auto minmax(34px, 1fr) auto;
  gap: 11px;
  align-items: center;
  margin-top: 11px;
  color: rgba(222, 241, 238, 0.54);
  font-size: 0.56rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.legacy-signal i {
  position: relative;
  height: 1px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.15);
}

.legacy-signal i::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--interaction-teal), var(--interaction-gold));
  transform: translateX(-102%);
  transition: transform 720ms cubic-bezier(.22, 1, .36, 1);
}

.interactive-home .legacy-panel:hover .legacy-signal i::after,
.interactive-home .legacy-panel:focus-visible .legacy-signal i::after {
  transform: translateX(0);
}

/* Hover-responsive differentiation cards */
.interactive-home .difference-grid {
  grid-template-columns: minmax(0, 0.92fr) minmax(560px, 1.08fr);
  gap: 48px;
}

.interactive-home .difference-content {
  min-width: 0;
  padding: 20px 0 12px;
}

.difference-instruction {
  margin: 10px 0 0;
  color: #70827e;
  font-size: 0.77rem;
}

.interactive-home .difference-list {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.interactive-home .difference-list .difference-item {
  position: relative;
  display: grid;
  grid-template-columns: minmax(192px, 0.72fr) minmax(0, 1.28fr);
  grid-template-rows: minmax(126px, auto);
  align-items: stretch;
  min-width: 0;
  min-height: 126px;
  padding: 0;
  overflow: hidden;
  border: 1px solid #cbd8d4;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.62);
  outline: none;
  transition:
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 240ms ease,
    transform 240ms cubic-bezier(.22, 1, .36, 1);
}

.interactive-home .difference-list .difference-item::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(105deg, rgba(52, 227, 224, 0.12), transparent 46%);
  opacity: 0;
  transition: opacity 240ms ease;
}

.interactive-home .difference-list .difference-item::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  border-radius: 999px;
  background: linear-gradient(var(--interaction-teal), var(--interaction-gold));
  transform: scaleY(0);
  transform-origin: center;
  transition: transform 260ms cubic-bezier(.22, 1, .36, 1);
}

.interactive-home .difference-list .difference-item:hover,
.interactive-home .difference-list .difference-item:focus-visible {
  border-color: rgba(12, 119, 120, 0.48);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 16px 36px rgba(13, 58, 56, 0.1);
  transform: translate3d(0, -3px, 0);
}

.interactive-home .difference-list .difference-item:hover::before,
.interactive-home .difference-list .difference-item:focus-visible::before {
  opacity: 1;
}

.interactive-home .difference-list .difference-item:hover::after,
.interactive-home .difference-list .difference-item:focus-visible::after {
  transform: scaleY(1);
}

.difference-trigger {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 13px minmax(0, 1fr) 24px;
  gap: 13px;
  align-items: center;
  min-width: 0;
  height: 100%;
  width: 100%;
  padding: 24px 18px 24px 20px;
  border-right: 1px solid rgba(12, 119, 120, 0.12);
  color: #17302e;
  text-align: left;
}

.difference-trigger > span:nth-child(2) {
  min-width: 0;
  font-size: 0.96rem;
  font-weight: 800;
  line-height: 1.28;
  transition: color 180ms ease, transform 220ms ease;
}

.difference-marker {
  width: 9px;
  height: 9px;
  border: 2px solid var(--teal-deep);
  border-radius: 50%;
  transition: background 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}

.difference-item:hover .difference-marker,
.difference-item:focus-visible .difference-marker {
  background: var(--teal);
  box-shadow: 0 0 0 5px rgba(25, 167, 166, 0.1);
  transform: scale(1.08);
}

.difference-item:hover .difference-trigger > span:nth-child(2),
.difference-item:focus-visible .difference-trigger > span:nth-child(2) {
  color: #0b7777;
  transform: translateX(2px);
}

.difference-trigger i {
  position: relative;
  width: 18px;
  height: 18px;
}

.difference-trigger i::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 50%;
  width: 13px;
  height: 2px;
  border-radius: 2px;
  background: var(--teal-deep);
  transform: translateY(-50%);
  transition: width 220ms ease, transform 220ms ease;
}

.difference-trigger i::after {
  content: "";
  position: absolute;
  right: 2px;
  top: 50%;
  width: 7px;
  height: 7px;
  border-top: 2px solid var(--teal-deep);
  border-right: 2px solid var(--teal-deep);
  transform: translateY(-50%) rotate(45deg);
  transition: transform 220ms ease;
}

.difference-item:hover .difference-trigger i::before,
.difference-item:focus-visible .difference-trigger i::before {
  width: 17px;
  transform: translate(2px, -50%);
}

.difference-item:hover .difference-trigger i::after,
.difference-item:focus-visible .difference-trigger i::after {
  transform: translate(3px, -50%) rotate(45deg);
}

.difference-detail {
  position: relative;
  z-index: 2;
  align-self: center;
  min-width: 0;
  padding: 22px 22px 21px 24px;
}

.interactive-home .difference-list .difference-detail p {
  margin: 0;
  color: #647672;
  font-size: 0.8rem;
  line-height: 1.5;
  transition: color 180ms ease, transform 220ms ease;
}

.difference-item:hover .difference-detail p,
.difference-item:focus-visible .difference-detail p {
  color: #526b66;
  transform: translateX(2px);
}

.difference-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 10px;
  opacity: 0.74;
  transform: none;
  transition: opacity 180ms ease, transform 220ms ease;
}

.difference-tags span {
  padding: 4px 9px;
  border-radius: 999px;
  color: #0b7373;
  background: #e3f3f0;
  font-size: 0.57rem;
  font-weight: 800;
  line-height: 1.35;
}

.difference-item:hover .difference-tags,
.difference-item:focus-visible .difference-tags {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive behaviour keeps touch interactions useful and uncluttered. */
@media (max-width: 1050px) {
  .interactive-home .difference-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .interactive-home .difference-content {
    padding: 0;
  }

  .comparison-heading {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .comparison-stage {
    min-height: 520px;
  }

  .delivery-explorer {
    max-width: 760px;
  }
}

@media (max-width: 820px) {
  .capability-beam {
    opacity: 0.2;
  }

  .interactive-home .orbit-node.is-active {
    transform: translateZ(28px) scale(1.025);
  }

  .comparison-stage {
    min-height: 470px;
    border-radius: 25px;
  }

  .comparison-heading h2 {
    font-size: clamp(2.25rem, 9.5vw, 3.35rem);
  }
}

@media (max-width: 540px) {
  .comparison-heading {
    margin-bottom: 28px;
  }

  .comparison-stage {
    min-height: 430px;
  }

  .comparison-label {
    top: 16px;
    padding: 8px 10px;
    font-size: 0.59rem;
  }

  .comparison-label.before { left: 14px; }
  .comparison-label.after { right: 14px; }

  .comparison-handle {
    width: 54px;
    height: 54px;
  }

  .comparison-instruction {
    bottom: 16px;
    font-size: 0.69rem;
  }

  .comparison-note {
    flex-direction: column;
    gap: 3px;
  }

  .delivery-explorer {
    padding: 10px;
    border-radius: 22px;
  }

  .delivery-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .delivery-tab {
    min-height: 68px;
    padding: 10px;
  }

  .delivery-tab span {
    display: inline;
    margin: 0 7px 0 0;
  }

  .delivery-tab strong {
    display: inline;
  }

  .delivery-stage {
    min-height: 330px;
    padding: 36px 23px 28px;
  }

  .delivery-panel h3 {
    font-size: 1.55rem;
  }

  .delivery-hint {
    margin-inline: 3px;
  }

  .interactive-home .difference-list .difference-item {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    min-height: 0;
  }

  .difference-trigger {
    padding: 17px 15px;
    gap: 12px;
    border-right: 0;
    border-bottom: 1px solid rgba(12, 119, 120, 0.1);
  }

  .difference-detail {
    padding: 15px 18px 18px 40px;
  }

  .interactive-home .difference-list .difference-item {
    min-height: 0;
  }

  .legacy-year-wrap {
    padding-bottom: 24px;
  }
}

@media (hover: none), (pointer: coarse) {
  .interactive-home .legacy-year::after {
    clip-path: inset(0 0 0 0);
  }

  .legacy-signal i::after {
    transform: translateX(0);
  }

  .interactive-home .difference-list .difference-item::before {
    opacity: 0.42;
  }

  .difference-tags {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .interactive-home .hero-grid-bg,
  .interactive-home .system-core,
  .interactive-home .system-core::after,
  .capability-beam::after,
  .interactive-home .orbit-node::after {
    animation: none !important;
  }

  .page-progress span,
  .comparison-handle,
  .delivery-tab,
  .delivery-signal,
  .delivery-panel,
  .difference-item,
  .difference-marker,
  .difference-item::before,
  .difference-item::after,
  .difference-trigger i::before,
  .difference-trigger i::after,
  .difference-detail,
  .legacy-panel::after,
  .legacy-year,
  .legacy-year::after,
  .legacy-signal i::after {
    transition: none !important;
    animation: none !important;
  }
}
