.rsg-ve {
  --rsg-ve-orange: #f68b1f;
  --rsg-ve-orange-light: #fbb367;
  --rsg-ve-graphite: #48484a;
  --rsg-ve-teal: #05566c;
  --rsg-ve-blue: #0870ab;
  --rsg-ve-blue-mid: #1c91ca;
  --rsg-ve-blue-light: #89d6ee;
  --rsg-ve-surface: #f7f7f5;
  --rsg-ve-panel: #ebeeee;
  --rsg-ve-white: #fff;
  --rsg-ve-muted: #b1b3b6;
  width: 100%;
  max-width: 1180px;
  margin: 2.25rem auto;
  overflow: hidden;
  color: var(--rsg-ve-graphite);
  background: var(--rsg-ve-surface);
  border: 1px solid rgba(72, 72, 74, 0.1);
  border-radius: 24px;
  box-shadow: 0 20px 55px rgba(43, 51, 53, 0.11);
  font-family: "Bai Jamjuree", Arial, sans-serif;
  line-height: 1.4;
}

.rsg-ve *,
.rsg-ve *::before,
.rsg-ve *::after {
  box-sizing: border-box;
}

.rsg-ve [hidden] {
  display: none !important;
}

.rsg-ve button {
  font: inherit;
}

.rsg-ve__topbar {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 82px;
  padding: 17px clamp(22px, 4vw, 54px);
  border-bottom: 1px solid rgba(72, 72, 74, 0.12);
  background: rgba(255, 255, 255, 0.76);
}

.rsg-ve__kicker,
.rsg-ve__visual-label,
.rsg-ve__scale-panel > p {
  margin: 0;
  color: var(--rsg-ve-teal);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.rsg-ve__slashes {
  color: var(--rsg-ve-orange);
  font-weight: 700;
  letter-spacing: -0.16em;
}

.rsg-ve__stage {
  padding: clamp(30px, 5vw, 66px) clamp(24px, 5vw, 64px);
}

.rsg-ve__slide {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(330px, 0.82fr);
  gap: clamp(34px, 5vw, 74px);
  align-items: center;
  min-height: 476px;
}

.rsg-ve__slide.is-active {
  animation: rsg-ve-enter 520ms cubic-bezier(0.22, 0.78, 0.24, 1) both;
}

.rsg-ve__slide.is-active .rsg-ve__visual-card,
.rsg-ve__slide.is-active .rsg-ve__intro-cards,
.rsg-ve__slide.is-active .rsg-ve__outro-graphic {
  animation: rsg-ve-visual-enter 640ms 80ms cubic-bezier(0.22, 0.78, 0.24, 1) both;
}

@keyframes rsg-ve-enter {
  from { opacity: 0; transform: translateX(18px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes rsg-ve-visual-enter {
  from { opacity: 0; transform: translateY(16px) scale(0.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.rsg-ve__copy h3,
.rsg-ve__intro-copy h3,
.rsg-ve__outro-copy h3 {
  margin: 0;
  color: var(--rsg-ve-graphite);
  font-size: clamp(2.7rem, 5.1vw, 4.55rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 0.94;
  text-transform: uppercase;
}

.rsg-ve__copy h3 {
  font-size: clamp(2.65rem, 4.7vw, 4.3rem);
}

.rsg-ve__number {
  margin: 0 0 0.55rem;
  color: var(--rsg-ve-orange);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.rsg-ve__subhead {
  margin: 1.25rem 0 0;
  color: var(--rsg-ve-teal);
  font-size: 0.91rem;
  font-weight: 700;
  letter-spacing: 0.045em;
  line-height: 1.35;
  text-transform: uppercase;
}

.rsg-ve__body {
  max-width: 35rem;
  margin: 1.55rem 0 0;
  color: var(--rsg-ve-graphite);
  font-size: clamp(1.05rem, 1.5vw, 1.34rem);
  line-height: 1.55;
}

.rsg-ve__hero-slashes {
  display: flex;
  gap: 18px;
  height: 88px;
  margin: 0 0 2rem 0.5rem;
}

.rsg-ve__hero-number {
  margin: 0 0 1.55rem -0.08em;
  color: var(--rsg-ve-orange);
  font-size: clamp(7.8rem, 12vw, 10.5rem);
  font-weight: 500;
  letter-spacing: -0.075em;
  line-height: 0.68;
}

.rsg-ve__hero-slashes span {
  display: block;
  width: 20px;
  background: var(--rsg-ve-orange);
  transform: skewX(-20deg);
}

.rsg-ve__slide--intro {
  grid-template-columns: minmax(0, 1.35fr) minmax(285px, 0.65fr);
}

.rsg-ve__intro-cards {
  display: grid;
  gap: 18px;
}

.rsg-ve__mini-card {
  display: grid;
  grid-template-columns: 48px 1fr;
  align-items: center;
  min-height: 108px;
  padding: 20px 24px;
  background: var(--rsg-ve-white);
  border-radius: 18px;
  box-shadow: 0 12px 28px rgba(43, 51, 53, 0.07);
}

.rsg-ve__mini-card:nth-child(2) { transform: translateX(16px); }

.rsg-ve__mini-card .rsg-ve__slashes { font-size: 1.75rem; }

.rsg-ve__mini-card p { margin: 0; }

.rsg-ve__mini-card strong,
.rsg-ve__mini-card small {
  display: block;
}

.rsg-ve__mini-card strong {
  font-size: 1.03rem;
  letter-spacing: 0.025em;
  text-transform: uppercase;
}

.rsg-ve__mini-card small {
  margin-top: 0.25rem;
  color: var(--rsg-ve-teal);
  font-size: 0.78rem;
}

.rsg-ve__visual-card {
  min-width: 0;
  padding: clamp(23px, 3vw, 34px);
  background: var(--rsg-ve-panel);
  border-radius: 28px;
}

.rsg-ve__visual-label { margin-bottom: 1.35rem; }

.rsg-ve__pill-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 0.4rem;
}

.rsg-ve__pill-grid span {
  padding: 9px 8px;
  background: var(--rsg-ve-white);
  border: 1.5px solid rgba(246, 139, 31, 0.62);
  border-radius: 999px;
  color: var(--rsg-ve-graphite);
  font-size: 0.69rem;
  font-weight: 700;
  letter-spacing: 0.035em;
  text-align: center;
  text-transform: uppercase;
}

.rsg-ve__svg,
.rsg-ve__uncertainty,
.rsg-ve__outro-graphic {
  display: block;
  width: 100%;
  height: auto;
}

.rsg-ve__forecast-lines path { stroke: var(--rsg-ve-teal); }
.rsg-ve__forecast-lines path:nth-child(2),
.rsg-ve__forecast-lines path:nth-child(5) { stroke: var(--rsg-ve-orange); }
.rsg-ve__forecast-nodes circle { fill: var(--rsg-ve-teal); }
.rsg-ve__forecast-nodes .rsg-ve__node--origin { fill: var(--rsg-ve-graphite); }
.rsg-ve__forecast-nodes .rsg-ve__node--orange { fill: var(--rsg-ve-orange); }

.rsg-ve__visual-card--scales { padding-bottom: 28px; }

.rsg-ve__scale-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 24px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
}

.rsg-ve__scale-panel {
  min-width: 0;
  padding: 15px 12px 12px;
  overflow: hidden;
  background: var(--rsg-ve-white);
  border-radius: 18px;
}

.rsg-ve__scale-panel > p {
  margin-bottom: 7px;
  text-align: center;
}

.rsg-ve__scale-panel--network { background: var(--rsg-ve-blue); }
.rsg-ve__scale-panel--network > p { color: var(--rsg-ve-white); }

.rsg-ve__scale-arrow {
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 14px solid var(--rsg-ve-orange);
}

.rsg-ve__city-map,
.rsg-ve__road-network {
  display: block;
  width: 100%;
  height: auto;
}

.rsg-ve__city-shape {
  fill: #dce6e8;
  stroke: var(--rsg-ve-teal);
  stroke-width: 3;
  stroke-linejoin: round;
}

.rsg-ve__local-roads path {
  fill: none;
  stroke: var(--rsg-ve-white);
  stroke-width: 5;
}

.rsg-ve__river {
  fill: none;
  stroke: var(--rsg-ve-teal);
  stroke-width: 6;
  stroke-linecap: round;
}

.rsg-ve__city-route {
  fill: none;
  stroke: var(--rsg-ve-orange);
  stroke-width: 7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.rsg-ve__route-node { fill: var(--rsg-ve-orange); }
.rsg-ve__network-base path { fill: none; stroke: var(--rsg-ve-blue-mid); stroke-width: 6; stroke-linejoin: round; }
.rsg-ve__network-highlight path { fill: none; stroke: var(--rsg-ve-blue-light); stroke-width: 7; stroke-linejoin: round; }
.rsg-ve__network-nodes circle { fill: var(--rsg-ve-white); }
.rsg-ve__network-route { fill: none; stroke: var(--rsg-ve-orange); stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; }

.rsg-ve__uncertainty { overflow: visible; }

.rsg-ve__cone-layers path {
  stroke-linejoin: round;
  stroke-width: 2.5;
  transform-box: view-box;
  transform-origin: 42px 166px;
}

.rsg-ve__cone-possible {
  fill: rgba(5, 86, 108, 0.11);
  stroke: rgba(5, 86, 108, 0.55);
}

.rsg-ve__cone-plausible {
  fill: rgba(8, 112, 171, 0.14);
  stroke: rgba(8, 112, 171, 0.68);
}

.rsg-ve__cone-probable {
  fill: rgba(246, 139, 31, 0.2);
  stroke: var(--rsg-ve-orange-light);
}

.rsg-ve__cone-focus {
  fill: var(--rsg-ve-orange);
  stroke: var(--rsg-ve-orange);
}

.rsg-ve__cone-axis path {
  fill: none;
  stroke: rgba(72, 72, 74, 0.62);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.5;
}

.rsg-ve__cone-axis circle { fill: var(--rsg-ve-orange); }

.rsg-ve__cone-axis text,
.rsg-ve__cone-labels text {
  font-family: "Bai Jamjuree", Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.045em;
}

.rsg-ve__cone-axis text { fill: var(--rsg-ve-graphite); font-size: 14px; }
.rsg-ve__cone-labels text { font-size: 16px; }

.rsg-ve__cone-labels path {
  fill: none;
  stroke-width: 2.5;
}

.rsg-ve__cone-labels text.rsg-ve__label-possible { fill: var(--rsg-ve-teal); }
.rsg-ve__cone-labels path.rsg-ve__label-possible { stroke: var(--rsg-ve-teal); }
.rsg-ve__cone-labels text.rsg-ve__label-plausible { fill: var(--rsg-ve-blue); }
.rsg-ve__cone-labels path.rsg-ve__label-plausible { stroke: var(--rsg-ve-blue); }
.rsg-ve__cone-labels text.rsg-ve__label-probable { fill: #bd6209; }
.rsg-ve__cone-labels path.rsg-ve__label-probable { stroke: #bd6209; }
.rsg-ve__cone-labels text.rsg-ve__label-focus { fill: var(--rsg-ve-orange); }
.rsg-ve__cone-labels path.rsg-ve__label-focus { stroke: var(--rsg-ve-orange); }

.rsg-ve__slide.is-active .rsg-ve__cone-possible { animation: rsg-ve-cone-open 720ms 80ms cubic-bezier(0.22, 0.78, 0.24, 1) both; }
.rsg-ve__slide.is-active .rsg-ve__cone-plausible { animation: rsg-ve-cone-open 680ms 150ms cubic-bezier(0.22, 0.78, 0.24, 1) both; }
.rsg-ve__slide.is-active .rsg-ve__cone-probable { animation: rsg-ve-cone-open 640ms 220ms cubic-bezier(0.22, 0.78, 0.24, 1) both; }
.rsg-ve__slide.is-active .rsg-ve__cone-focus { animation: rsg-ve-cone-open 600ms 290ms cubic-bezier(0.22, 0.78, 0.24, 1) both; }

@keyframes rsg-ve-cone-open {
  from { opacity: 0; transform: scaleX(0.08); }
  to { opacity: 1; transform: scaleX(1); }
}

.rsg-ve__outcome-dot.rsg-ve__selected { fill: var(--rsg-ve-orange); }

.rsg-ve__slide--outro {
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
}

.rsg-ve__outcome-dot { fill: var(--rsg-ve-teal); }
.rsg-ve__converge-line { fill: none; stroke: #f9ba78; stroke-width: 7; stroke-linecap: round; }
.rsg-ve__decision-arrow { fill: var(--rsg-ve-orange); }

.rsg-ve__controls {
  position: relative;
  display: grid;
  grid-template-columns: minmax(112px, auto) 1fr auto minmax(112px, auto);
  align-items: center;
  gap: clamp(12px, 2vw, 24px);
  padding: 18px clamp(20px, 4vw, 54px);
  border-top: 1px solid rgba(72, 72, 74, 0.12);
  background: var(--rsg-ve-white);
}

.rsg-ve__nav {
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid var(--rsg-ve-graphite);
  border-radius: 5px;
  color: var(--rsg-ve-graphite);
  background: var(--rsg-ve-white);
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.025em;
  text-transform: uppercase;
  transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.rsg-ve__nav--next {
  color: var(--rsg-ve-white);
  background: var(--rsg-ve-orange);
  border-color: var(--rsg-ve-orange);
}

.rsg-ve__nav:hover:not(:disabled),
.rsg-ve__nav:focus-visible {
  transform: translateY(-1px);
}

.rsg-ve__nav--previous:hover:not(:disabled),
.rsg-ve__nav--previous:focus-visible {
  color: var(--rsg-ve-white);
  background: var(--rsg-ve-graphite);
}

.rsg-ve__nav--next:hover:not(:disabled),
.rsg-ve__nav--next:focus-visible {
  background: #d76f08;
  border-color: #d76f08;
}

.rsg-ve__nav:disabled {
  cursor: not-allowed;
  opacity: 0.38;
}

.rsg-ve__nav:focus-visible,
.rsg-ve__step:focus-visible {
  outline: 3px solid rgba(5, 86, 108, 0.35);
  outline-offset: 3px;
}

.rsg-ve__steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(30px, 1fr));
  gap: 8px;
}

.rsg-ve__step {
  position: relative;
  min-height: 38px;
  padding: 16px 2px 0;
  border: 0;
  color: #898b8d;
  background: transparent;
  cursor: pointer;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
}

.rsg-ve__step::before {
  position: absolute;
  top: 5px;
  right: 0;
  left: 0;
  height: 5px;
  border-radius: 999px;
  background: #d1d4d4;
  content: "";
  transition: background-color 180ms ease, transform 180ms ease;
}

.rsg-ve__step:hover::before { background: var(--rsg-ve-orange-light); }
.rsg-ve__step.is-active { color: var(--rsg-ve-teal); }
.rsg-ve__step.is-active::before { background: var(--rsg-ve-orange); transform: scaleY(1.35); }

.rsg-ve__counter {
  min-width: 39px;
  margin: 0;
  color: var(--rsg-ve-teal);
  font-size: 0.74rem;
  font-weight: 700;
  text-align: center;
}

.rsg-ve__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;
}

@media (max-width: 860px) {
  .rsg-ve__slide,
  .rsg-ve__slide--intro,
  .rsg-ve__slide--outro {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .rsg-ve__copy h3,
  .rsg-ve__intro-copy h3,
  .rsg-ve__outro-copy h3 { font-size: clamp(2.55rem, 9vw, 4.35rem); }

  .rsg-ve__hero-slashes { height: 62px; margin-bottom: 1.5rem; }
  .rsg-ve__hero-slashes span { width: 15px; }
  .rsg-ve__hero-number { margin-bottom: 1.35rem; font-size: clamp(7rem, 20vw, 9rem); }
  .rsg-ve__intro-cards { grid-template-columns: repeat(3, 1fr); }
  .rsg-ve__mini-card { grid-template-columns: 36px 1fr; padding: 16px; }
  .rsg-ve__mini-card:nth-child(2) { transform: none; }
}

@media (max-width: 620px) {
  .rsg-ve { margin: 1.5rem auto; border-radius: 18px; }
  .rsg-ve__topbar { min-height: 68px; }
  .rsg-ve__kicker { font-size: 0.64rem; }
  .rsg-ve__stage { padding: 30px 20px 34px; }
  .rsg-ve__intro-cards { grid-template-columns: 1fr; gap: 12px; }
  .rsg-ve__mini-card { min-height: 80px; }
  .rsg-ve__visual-card { padding: 22px 16px; border-radius: 20px; }
  .rsg-ve__cone-axis text { font-size: 17px; }
  .rsg-ve__cone-labels text { font-size: 19px; letter-spacing: 0.02em; }
  .rsg-ve__scale-grid { grid-template-columns: 1fr; gap: 12px; }
  .rsg-ve__scale-arrow { margin: 0 auto; transform: rotate(90deg); }
  .rsg-ve__scale-panel { max-width: 300px; margin: 0 auto; }
  .rsg-ve__controls { grid-template-columns: 1fr auto 1fr; padding: 16px; }
  .rsg-ve__steps { grid-column: 1 / -1; grid-row: 1; }
  .rsg-ve__nav--previous { grid-column: 1; grid-row: 2; }
  .rsg-ve__counter { grid-column: 2; grid-row: 2; }
  .rsg-ve__nav--next { grid-column: 3; grid-row: 2; }
  .rsg-ve__nav { min-width: 0; padding-inline: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  .rsg-ve *,
  .rsg-ve *::before,
  .rsg-ve *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
