.hroute, .hroute-still { container-type: size; --hr-u: 1.15; --hr-w: 1; }
.hroute { position: absolute; inset: 0; pointer-events: none; }
.hroute__fit {
  --fw: max(100cqw, 177.7778cqh); --fh: max(100cqh, 56.25cqw);
  position: absolute; left: calc(50cqw - var(--fw) / 2); top: calc(50cqh - var(--fh) / 2);
  width: var(--fw); height: var(--fh);
}
.hroute__frame { position: absolute; left: 0; top: 0; width: 100%; height: 100%; }
@media (max-aspect-ratio: 3/4) {
  .hroute__fit { --fw: max(100cqw, 83.3333cqh); --fh: max(100cqh, 120cqw); }
  .hroute__frame { left: -73%; width: 213.3333%; }
}
@media (max-width: 860px), (max-width: 1100px) and (max-aspect-ratio: 3/4) { .hroute, .hroute-still { --hr-w: .62; } }
@media (max-width: 860px) and (max-aspect-ratio: 3/4), (max-width: 1100px) and (max-aspect-ratio: 3/4) { .hroute, .hroute-still { --hr-u: 2.6; } }
@media (min-width: 600px) and (max-width: 860px) and (max-aspect-ratio: 3/4), (min-width: 600px) and (max-width: 1100px) and (max-aspect-ratio: 3/4) { .hroute, .hroute-still { --hr-u: 1.7; } }

.hroute__svg { position: absolute; left: 0; top: 0; width: 100%; height: 100%; overflow: visible; fill: none; }
.hroute__svg circle { transform-box: fill-box; transform-origin: center; transform: scale(calc(var(--hr-u) * var(--hr-k, 1))); }
@media (max-width: 860px), (max-width: 1100px) and (max-aspect-ratio: 3/4) { .hroute__svg circle { --hr-k: .68; } }
.hr-base__riser { stroke: rgba(196, 202, 212, .46); stroke-width: calc(var(--hr-u) * var(--hr-w) * 1.4px); stroke-dasharray: calc(var(--hr-u) * 7px) calc(var(--hr-u) * 6px); }
.hr-base__br { stroke: rgba(196, 202, 212, .4); stroke-width: calc(var(--hr-u) * var(--hr-w) * 1px); }
.hr-base__dot { stroke: rgba(196, 202, 212, .7); stroke-width: .9px; fill: rgba(11, 15, 22, .85); }
.hr-start path { stroke: var(--accent); stroke-width: calc(var(--hr-u) * var(--hr-w) * 1.8px); }
.hr-start__ring { stroke: var(--accent); stroke-width: 1.8px; fill: rgba(11, 15, 22, .7); }
.hr-start__dot { fill: var(--accent); }
.hr-start__pulse { stroke: var(--accent); stroke-width: 1.4px; opacity: 0; }
.hr-live { stroke: var(--accent); }
.hr-riser { stroke-width: calc(var(--hr-u) * var(--hr-w) * 3px); stroke-dasharray: calc(var(--hr-u) * 13px) calc(var(--hr-u) * 7px); }
@media (max-width: 860px), (max-width: 1100px) and (max-aspect-ratio: 3/4) { .hr-riser { stroke-dasharray: calc(var(--hr-u) * 8px) calc(var(--hr-u) * 5px); } }
.hr-c path { stroke-width: calc(var(--hr-u) * var(--hr-w) * 2px); }
.hr-d path { stroke-width: calc(var(--hr-u) * var(--hr-w) * 1.6px); }
.hr-d circle { fill: var(--accent); stroke: none; }
.hr-u path { stroke-width: calc(var(--hr-u) * var(--hr-w) * 1.5px); stroke-opacity: .9; }
.hr-hot { display: none; stroke: #FFF3C4; stroke-width: calc(var(--hr-u) * var(--hr-w) * 3.4px); stroke-linecap: round; }

.hroute .hr-live path { stroke-dasharray: 0 2; }
.hroute .hr-riser { stroke-dasharray: 0 9999; }
.hroute .hr-d circle { opacity: 0; }
.hroute .hr-u path { transition: stroke-opacity .8s var(--ease); }
.hroute .hr-u path.is-done { stroke-opacity: .42; }
.hroute .hr-live, .hroute .hr-base { transition: opacity .3s var(--ease); }
.hroute[data-hl] .hr-live { opacity: .3; }
.hroute[data-hl="1"] .hr-riser, .hroute[data-hl="2"] .hr-c, .hroute[data-hl="3"] .hr-d, .hroute[data-hl="4"] .hr-u { opacity: 1; }
@keyframes hroute-pulse { from { opacity: .7; transform: scale(calc(var(--hr-u) * var(--hr-k, 1))); } to { opacity: 0; transform: scale(calc(var(--hr-u) * var(--hr-k, 1) * 3.2)); } }
html.fx-ok .hroute .hr-start__pulse { animation: hroute-pulse 1.6s var(--ease-out) 1.2s 2 both; }
html[data-motion="1"] .hroute .hr-start__pulse { animation: none; }

.hroute__nums { position: absolute; left: 0; top: 0; width: 100%; height: 100%; }
.hroute__num {
  position: absolute; left: calc(var(--x) / 1920 * 100%); top: calc(var(--y) / 1080 * 100%);
  display: grid; place-items: center;
  width: 44px; height: 44px; margin: -22px 0 0 -22px; padding: 0;
  border: 0; border-radius: 50%; background: none; color: inherit;
  -webkit-tap-highlight-color: transparent;
}
button.hroute__num { pointer-events: auto; cursor: pointer; touch-action: manipulation; }
button.hroute__num:focus-visible { outline: 2px solid var(--accent); outline-offset: 0; }
.hroute__numc {
  display: grid; place-items: center;
  width: 32px; height: 32px; border-radius: 50%;
  border: 1.5px solid rgba(196, 202, 212, .8);
  background: rgba(16, 21, 31, .88);
  color: #C8CED8;
  font-family: var(--ff-en); font-size: 18px; font-weight: 800; line-height: 1;
  transition: background-color .35s var(--ease), border-color .35s var(--ease), color .35s var(--ease), box-shadow .35s var(--ease), transform .25s var(--ease-out);
}
.hroute__num.is-on .hroute__numc { border-color: var(--accent); background: var(--accent); color: var(--ink); box-shadow: 0 0 0 4px rgba(255, 208, 52, .2); }
.hroute__num.is-cur .hroute__numc { box-shadow: 0 0 0 5px rgba(255, 208, 52, .32), 0 0 22px rgba(255, 208, 52, .4); }
button.hroute__num:hover .hroute__numc, .hroute__num.is-hl .hroute__numc { transform: scale(1.14); }
button.hroute__num:active .hroute__numc { transform: scale(.94); }
.hroute__num--0 { --x: 893; --y: 897; }
.hroute__num--1 { --x: 970; --y: 790; }
.hroute__num--2 { --x: 870; --y: 690; }
.hroute__num--3 { --x: 1040; --y: 500; }
.hroute__num--4 { --x: 1270; --y: 357; }
@media (max-width: 860px), (max-width: 1100px) and (max-aspect-ratio: 3/4) {
  .hroute__numc { width: 24px; height: 24px; border-width: 1px; font-size: 14px; }
  .hroute__num.is-on .hroute__numc { box-shadow: 0 0 0 3px rgba(255, 208, 52, .2); }
  .hroute__num.is-cur .hroute__numc { box-shadow: 0 0 0 4px rgba(255, 208, 52, .32), 0 0 14px rgba(255, 208, 52, .4); }
  .hroute__num--0 { display: none; }
}

.hroute__lits { display: none; position: absolute; left: 0; top: 0; width: 100%; height: 100%; }
.hroute__lit { position: absolute; opacity: 0; transition: opacity 1.15s var(--ease); }
.hroute__lit img { display: block; width: 100%; height: 100%; }
@media (hover: hover) and (pointer: fine) {
  html.fx[data-hero-mode="ruta-luz"] .hroute__lits { display: block; }
  html.fx[data-hero-mode="ruta-luz"] .hroute__lit { will-change: opacity; }
  html.fx[data-hero-mode="ruta-luz"] .hr-hot { display: inline; stroke-dasharray: 0 9999; opacity: 0; transition: opacity .5s var(--ease), stroke-dasharray .28s var(--ease-out); }
  html.fx[data-hero-mode="ruta-luz"] .hr-hot.is-on { opacity: .95; transition: opacity .12s var(--ease), stroke-dasharray .28s var(--ease-out); }
}
.hroute__lit.is-hot { opacity: 1; transition: opacity .2s var(--ease) .05s; }
.hroute__lit.is-demo { opacity: .92; transition: opacity .55s var(--ease); }
html[data-motion="3"] .hroute__lit { transition-duration: 1.9s; }
html[data-motion="3"] .hroute__lit.is-hot { transition-duration: .2s; }
html[data-motion="3"] .hroute__lit.is-demo { transition-duration: .55s; }
html[data-motion="1"] .hroute__lits { display: none !important; }

.hroute-still { position: absolute; inset: 0; z-index: -2; pointer-events: none; }
html.fx .hroute-still { display: none; }
@supports not (width: 1cqw) { html:not(.js) .hroute-still { display: none; } }
@media (max-width: 860px) and (max-aspect-ratio: 3/4), (max-width: 1100px) and (max-aspect-ratio: 3/4) {
  .hroute-still { top: var(--hdr-h); bottom: auto; left: calc(50% - var(--film-w) / 2); right: auto; width: var(--film-w); height: var(--film-h); }
}
.hroute-still .hr-live { display: none; }
.ch--2 .hroute-still .hr-riser, .ch--2 .hroute-still .hr-c, .ch--3 .hroute-still .hr-live { display: inline; }
.ch--1 .hroute-still .hr-base, .ch--1 .hroute-still .hroute__nums { display: none; }
.ch--2 .hroute-still .hroute__num--1 .hroute__numc, .ch--2 .hroute-still .hroute__num--2 .hroute__numc, .ch--3 .hroute-still .hroute__numc {
  border-color: var(--accent); background: var(--accent); color: var(--ink);
}

.hroute-legend { position: relative; margin-top: 26px; max-width: 30em; font-size: 14px; line-height: 1.5; }
.hroute-legend__title {
  display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px;
  margin: 0; padding-top: 14px; border-top: 1px solid var(--line-2);
  color: var(--accent); font-size: 13px; font-weight: 700; letter-spacing: .1em;
}
.hroute-legend__title mark.tbd { font-size: 11px; letter-spacing: 0; }
html[lang="en"] .hroute-legend__title { font-family: var(--ff-en); font-size: 14px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.hroute-legend__list { display: grid; gap: 2px; margin: 8px 0 0; padding: 0; list-style: none; }
.hroute-legend__item {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 30px; margin: 0; padding: 2px 10px 2px 0;
  border: 0; border-radius: var(--r2); background: none; color: var(--text);
  font: inherit; font-weight: 700; text-align: left;
}
button.hroute-legend__item { cursor: pointer; touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
button.hroute-legend__item:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.hroute-legend__item mark.tbd { font-size: 11px; }
.hroute-legend__n {
  flex: none; display: grid; place-items: center;
  width: 22px; height: 22px; border: 1.5px solid var(--accent); border-radius: 50%;
  background: var(--accent); color: var(--ink);
  font-family: var(--ff-en); font-size: 13px; font-weight: 800; line-height: 1;
  transition: background-color .35s var(--ease), border-color .35s var(--ease), color .35s var(--ease), box-shadow .35s var(--ease);
}
.hroute-legend__n--start { position: relative; border-color: var(--accent); background: none; }
.hroute-legend__n--start::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.hroute-legend__short { display: none; }
.hroute-legend__hint { margin: 8px 0 0; color: var(--text-2); font-size: 12.5px; letter-spacing: .02em; transition: opacity .5s var(--ease); }
.hroute-legend__hint-m, .hroute-legend__hint-t { display: none; }
.hroute-legend.is-used .hroute-legend__hint { opacity: 0; visibility: hidden; transition: opacity .5s var(--ease), visibility 0s linear .5s; }
@media (hover: hover) and (pointer: fine) {
  html.fx[data-hero-mode="ruta-luz"]:not([data-motion="1"]) .ch--1 .hroute-legend__hint-m { display: inline; }
}
@media (hover: none), (pointer: coarse) {
  html.fx .ch--1 .hroute-legend__hint-t { display: inline; }
}

html.fx .hroute-legend__row:not(.hroute-legend__row--start) .hroute-legend__item { color: var(--text-3); transition: color .35s var(--ease); }
html.fx .hroute-legend__row:not(.hroute-legend__row--start) .hroute-legend__n { border-color: rgba(196, 202, 212, .7); background: rgba(16, 21, 31, .7); color: #C8CED8; }
html.fx .hroute-legend__row.is-on .hroute-legend__item { color: var(--text); }
html.fx .hroute-legend__row.is-on .hroute-legend__n { border-color: var(--accent); background: var(--accent); color: var(--ink); }
html.fx .hroute-legend__row.is-cur .hroute-legend__n { box-shadow: 0 0 0 3px rgba(255, 208, 52, .28); }
html.fx button.hroute-legend__item:hover, html.fx .hroute-legend__row.is-hl .hroute-legend__item { color: var(--text); }
html.fx button.hroute-legend__item:hover .hroute-legend__n, html.fx .hroute-legend__row.is-hl .hroute-legend__n { box-shadow: 0 0 0 3px rgba(255, 208, 52, .28); }

@media (min-width: 1101px), (min-width: 861px) and (min-aspect-ratio: 3001/4000) {
  .scrub .ch__copy--side .hroute-legend { max-width: min(30vw, 28em); }
  html[data-hero-mode^="ruta"] .scrub .ch__copy--side .hroute-legend { max-width: min(var(--hero-colw, 30vw), 28em); }
  .ch--1 .hroute-legend + .lead { margin-top: 18px; }
  @media (max-height: 820px) {
    .hroute-legend { margin-top: 18px; }
    .hroute-legend__title { padding-top: 10px; }
    .hroute-legend__list { margin-top: 4px; gap: 0; }
    .hroute-legend__item { min-height: 26px; }
    .hroute-legend__hint { margin-top: 4px; }
    .ch--1 .hroute-legend + .lead { margin-top: 14px; }
  }
  @media (max-height: 680px) and (min-aspect-ratio: 1/1) {
    .hroute-legend { margin-top: 12px; }
    .hroute-legend__title { padding-top: 8px; }
    .hroute-legend__item { min-height: 22px; padding-block: 0; line-height: 1.4; }
    .ch--1 .hroute-legend__hint { display: none; }
    .ch--1 .hroute-legend + .lead { margin-top: 10px; }
  }
  @media (max-height: 480px) and (min-aspect-ratio: 1/1) {
    .ch--1 .hroute-legend { margin-top: 10px; }
    .ch--1 .hroute-legend__title { padding-top: 6px; }
    .ch--1 .hroute-legend__list { display: flex; flex-wrap: wrap; gap: 4px 12px; margin-top: 4px; }
    .ch--1 .hroute-legend__long { display: none; }
    .ch--1 .hroute-legend__short { display: inline; }
    .ch--1 .hroute-legend__item { min-height: 0; padding: 0; gap: 5px; white-space: nowrap; }
    .ch--1 .hroute-legend__n { width: 19px; height: 19px; font-size: 11.5px; }
  }
}
@media (max-width: 860px), (max-width: 1100px) and (max-aspect-ratio: 3/4) {
  .hroute-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 0 10px; max-width: none; margin: 0 0 6px; font-size: 13px; }
  .hroute-legend__title { position: absolute; right: 0; bottom: calc(100% + 1px); padding-top: 0; border-top: 0; }
  .hroute-legend__t { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .hroute-legend__title mark.tbd { margin: 0; font-size: 10px; background: rgba(11, 15, 22, .72); }
  .hroute-legend__list { display: flex; flex-wrap: wrap; gap: 6px 9px; margin: 0; }
  .hroute-legend__long { display: none; }
  .hroute-legend__short { display: inline; }
  .hroute-legend__item { gap: 5px; min-height: 0; padding: 0; white-space: nowrap; }
  button.hroute-legend__item { position: relative; }
  button.hroute-legend__item::after { content: ""; position: absolute; inset: -3px -4px; }
  .hroute-legend__n { width: 19px; height: 19px; font-size: 11.5px; }
  html[lang="en"] .hroute-legend__list { gap: 6px 14px; }
  html[lang="en"] .hroute-legend__short { font-family: var(--ff-en); font-size: 15px; font-weight: 600; letter-spacing: .01em; }
  .hroute-legend__hint { position: absolute; left: 0; bottom: calc(100% + 2px); margin: 0; font-size: 11.5px; color: var(--text); text-shadow: 0 1px 6px rgba(11, 15, 22, .9); }
  .hroute-legend[data-hroute-clone] { margin-bottom: 8px; }
  .ch--3 .hroute-legend[data-hroute-clone] { display: none; }
}

.hroute-tag { display: none; }
@media (max-width: 860px) and (max-aspect-ratio: 3/4), (max-width: 1100px) and (max-aspect-ratio: 3/4) {
  .hroute-legend__title mark.tbd { display: none; }
  html.fx .scrub__stage > .hroute-tag, .hroute-still .hroute-tag {
    display: block; position: absolute; z-index: 6; margin: 0;
    top: calc(var(--hdr-h) + 6px); left: max(3px, 50% - var(--film-w) / 2 - 19px);
    writing-mode: vertical-rl; font-size: 10px; line-height: 1.35; letter-spacing: .04em; pointer-events: none;
  }
  .hroute-tag mark.tbd { margin: 0; padding: 4px 1px; font-size: 10px; line-height: 1.35; background: rgba(11, 15, 22, .72); }
  .hroute-still .hroute-tag { top: 6px; left: calc(max(3px, 50vw - var(--film-w) / 2 - 19px) - 50vw + var(--film-w) / 2); }
}
@media (max-width: 860px) and (max-aspect-ratio: 29/50) and (min-height: 800px), (max-width: 1100px) and (max-aspect-ratio: 29/50) and (min-height: 800px) {
  html.fx .scrub__stage > .hroute-tag {
    writing-mode: horizontal-tb; top: auto; left: 10px; letter-spacing: .02em;
    bottom: calc(100% - var(--film-top) - var(--film-h) + 8px);
  }
  html.fx .scrub__stage > .hroute-tag mark.tbd { padding: 1px 4px; }
}
html.fx[data-hero-mode^="ruta"] .scrub__story,
html.fx[data-hero-mode^="ruta"] .scrub .ch,
html.fx[data-hero-mode^="ruta"] .scrub .ch__copy { pointer-events: none; }
html.fx[data-hero-mode^="ruta"] .scrub .ch__copy > *,
html.fx[data-hero-mode^="ruta"] .scrub .ch__copy a,
html.fx[data-hero-mode^="ruta"] .scrub .ch__copy button { pointer-events: auto; }

@media (max-width: 860px), (max-width: 1100px) and (max-aspect-ratio: 3/4) {
  html[data-hero-mode^="ruta"] .scrub .ch--1 .ch__copy { display: flex; flex-direction: column; align-items: stretch; }
  html[data-hero-mode^="ruta"] .scrub .ch--1 .hroute-legend { order: -2; }
  html[data-hero-mode^="ruta"] .scrub .ch--1 .kicker { order: -1; }
}
@media (max-width: 860px) and (max-aspect-ratio: 3/4), (max-width: 1100px) and (max-aspect-ratio: 3/4) {
  html.fx[data-hero-mode^="ruta"] .scrub__cam::after,
  html[data-hero-mode^="ruta"] .hroute-still::after {
    --hr-edge: clamp(12px, 4.2%, 16px);
    content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background: linear-gradient(90deg,
      var(--bg) 0, rgba(11, 15, 22, .62) calc(var(--hr-edge) * .3), rgba(11, 15, 22, .22) calc(var(--hr-edge) * .65),
      rgba(11, 15, 22, 0) var(--hr-edge), rgba(11, 15, 22, 0) calc(100% - var(--hr-edge)),
      rgba(11, 15, 22, .22) calc(100% - var(--hr-edge) * .65), rgba(11, 15, 22, .62) calc(100% - var(--hr-edge) * .3), var(--bg) 100%);
  }
  @media (min-width: 600px) {
    html.fx[data-hero-mode^="ruta"] .scrub__cam::after,
    html[data-hero-mode^="ruta"] .hroute-still::after { --hr-edge: clamp(12px, 4.2%, 28px); }
  }
  html.fx[data-hero-mode^="ruta"] .scrub__pan::before {
    --hr-edge: clamp(12px, 4.2%, 16px);
    -webkit-mask-image: linear-gradient(90deg, transparent 0, rgba(0, 0, 0, .38) calc(var(--hr-edge) * .3), rgba(0, 0, 0, .78) calc(var(--hr-edge) * .65),
      #000 var(--hr-edge), #000 calc(100% - var(--hr-edge)), rgba(0, 0, 0, .78) calc(100% - var(--hr-edge) * .65), rgba(0, 0, 0, .38) calc(100% - var(--hr-edge) * .3), transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, rgba(0, 0, 0, .38) calc(var(--hr-edge) * .3), rgba(0, 0, 0, .78) calc(var(--hr-edge) * .65),
      #000 var(--hr-edge), #000 calc(100% - var(--hr-edge)), rgba(0, 0, 0, .78) calc(100% - var(--hr-edge) * .65), rgba(0, 0, 0, .38) calc(100% - var(--hr-edge) * .3), transparent 100%);
  }
  @media (min-width: 600px) { html.fx[data-hero-mode^="ruta"] .scrub__pan::before { --hr-edge: clamp(12px, 4.2%, 28px); } }
  html[data-hero-mode^="ruta"] .hroute-still::after {
    background:
      linear-gradient(180deg, var(--bg) 0, rgba(11, 15, 22, .55) 4px, rgba(11, 15, 22, .18) 8px, rgba(11, 15, 22, 0) 12px),
      linear-gradient(90deg,
        var(--bg) 0, rgba(11, 15, 22, .62) calc(var(--hr-edge) * .3), rgba(11, 15, 22, .22) calc(var(--hr-edge) * .65),
        rgba(11, 15, 22, 0) var(--hr-edge), rgba(11, 15, 22, 0) calc(100% - var(--hr-edge)),
        rgba(11, 15, 22, .22) calc(100% - var(--hr-edge) * .65), rgba(11, 15, 22, .62) calc(100% - var(--hr-edge) * .3), var(--bg) 100%);
  }
}
@media (max-width: 860px) and (max-height: 700px) and (max-aspect-ratio: 3/4), (max-width: 1100px) and (max-height: 700px) and (max-aspect-ratio: 3/4) {
  html[data-hero-mode^="ruta"] .scrub .ch--1 .h1 { font-size: min(var(--fs-h1), 34px); }
  html[lang="en"][data-hero-mode^="ruta"] .scrub .ch--1 .h1 { font-size: min(var(--fs-h1-en), 31px); }
  html[data-hero-mode^="ruta"] .scrub .ch--1 .kicker { margin-bottom: 6px; }
  html[data-hero-mode^="ruta"] .scrub .ch--1 .ctas { margin-top: 14px; }
}
@media (max-width: 860px) and (max-height: 600px) and (max-aspect-ratio: 3/4), (max-width: 1100px) and (max-height: 600px) and (max-aspect-ratio: 3/4) {
  html[data-hero-mode^="ruta"] .scrub .ch--1 .h1 { font-size: min(var(--fs-h1), 30px); }
  html[lang="en"][data-hero-mode^="ruta"] .scrub .ch--1 .h1 { font-size: min(var(--fs-h1-en), 26px); }
  html[data-hero-mode^="ruta"] .scrub .ch--1 .kicker { margin-bottom: 4px; font-size: 12px; }
  html[data-hero-mode^="ruta"] .scrub .ch--1 .ctas { margin-top: 10px; }
  .ch--1 .hroute-legend__hint { display: none; }
  html[lang="en"] .hroute-legend__list { row-gap: 3px; }
}
