/* ==========================================================================
   RIDE Shadowban 2027 — Traza tu línea
   main.css · hand-written, no build step. kit/kit.css is loaded before this.
   Descent: night → dawn → snow light.
   ========================================================================== */

/* --------------------------------------------------------------------------
   01 · Fonts
   -------------------------------------------------------------------------- */
@font-face {
  font-family: "Anybody";
  src: url("../assets/fonts/anybody-std.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 50% 150%;
  font-display: swap;
}
@font-face {
  font-family: "Geist";
  src: url("../assets/fonts/geist-var.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Geist Mono";
  src: url("../assets/fonts/geist-mono-var.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

/* --------------------------------------------------------------------------
   02 · Tokens
   Theme colours are registered so a data-theme swap on <html> interpolates
   once at the root and every var(--fg) consumer follows in sync.
   -------------------------------------------------------------------------- */
@property --fg { syntax: "<color>"; inherits: true; initial-value: #eef0ee; }
@property --fg-muted { syntax: "<color>"; inherits: true; initial-value: rgba(238, 240, 238, 0.62); }
@property --scrim { syntax: "<color>"; inherits: true; initial-value: rgba(7, 8, 12, 0.75); }
@property --chip-bg { syntax: "<color>"; inherits: true; initial-value: rgba(7, 8, 12, 0.84); }
@property --accent-text { syntax: "<color>"; inherits: true; initial-value: #f2b41c; }

:root {
  --ink: #07080c;
  --night: #0b1030;
  --indigo: #2a1f8f;
  --snow: #eef0ee;
  --mineral: #d9dcd8;
  --yellow: #f2b41c;
  --amber: #f0a92a;
  --ember: #e8452c;
  --gold: #c9a45a;
  --line: linear-gradient(90deg, #5b2bd6, #f4efe6 35%, #f2b41c 65%, #f0a92a);

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);

  --gutter: clamp(16px, 2vw, 32px);
  --margin: clamp(20px, 4vw, 72px);
  --col: calc((100vw - 2 * var(--margin) - 11 * var(--gutter)) / 12);
  --nav-h: 72px;

  --font-display: "Anybody", "Arial Narrow", system-ui, sans-serif;
  --font-body: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  /* theme: night (default) */
  --fg: #eef0ee;
  --fg-muted: rgba(238, 240, 238, 0.62);
  --bg: var(--ink);
  --scrim: rgba(7, 8, 12, 0.75);
  --chip-bg: rgba(7, 8, 12, 0.84);
  --chip-fg: var(--snow);
  --accent-text: #f2b41c;
}

html[data-theme="day"] {
  --fg: #07080c;
  --fg-muted: rgba(7, 8, 12, 0.6);
  --bg: var(--snow);
  --scrim: rgba(238, 240, 238, 0.8);
  --chip-bg: rgba(238, 240, 238, 0.92);
  --chip-fg: var(--ink);
  --accent-text: #9a6400;
}

/* Hairline recomputed wherever --fg is re-declared */
:root,
.scene--nieve,
.scene--detalle,
.scene--terreno,
.scene--final,
.footer {
  --hair: color-mix(in srgb, var(--fg) 16%, transparent);
}

/* --------------------------------------------------------------------------
   03 · Base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  margin: 0;
  background: var(--ink);
  color: var(--fg);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scrollbar-width: thin;
  scrollbar-color: var(--gold) var(--ink);
  transition:
    --fg 600ms var(--ease-io),
    --fg-muted 600ms var(--ease-io),
    --scrim 600ms var(--ease-io),
    --chip-bg 600ms var(--ease-io),
    --accent-text 600ms var(--ease-io);
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.5;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

html::-webkit-scrollbar { width: 8px; }
html::-webkit-scrollbar-track { background: var(--ink); }
html::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 0; }

::selection { background: var(--yellow); color: var(--ink); }

h1, h2, h3, p, figure, dl, dd, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
b { font-weight: 600; }

:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 3px;
}

.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  background: var(--yellow);
  color: var(--ink);
  font: 600 15px/1 var(--font-body);
  border-radius: 2px;
  transform: translateY(-160%);
  transition: transform 0.4s var(--ease-out);
}
.skip:focus,
.skip:focus-visible {
  transform: none;
  outline: 2px solid var(--snow);
  outline-offset: 3px;
}

/* --------------------------------------------------------------------------
   04 · Layout primitives
   -------------------------------------------------------------------------- */
.grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gutter);
  padding-inline: var(--margin);
}

/* Stage (kit.css owns position/poster) */
.xp-stage { --xp-bg: var(--ink); }

main {
  position: relative;
  z-index: 3; /* above stage (0), grain (1), anchors (2) */
}

.scene {
  position: relative;
  height: 100vh;
  height: 100svh;
}

/* Opaque curtains: their pins provide the height; the section grows with the pin spacer */
.curtain {
  height: auto;
  min-height: 100vh;
  min-height: 100svh;
  overflow: clip;
}

/* --------------------------------------------------------------------------
   05 · Typography
   -------------------------------------------------------------------------- */
.display {
  font-family: var(--font-display);
  font-weight: 800;
  font-variation-settings: "wdth" var(--wdth, 62), "wght" var(--wght, 800);
  text-transform: uppercase;
  line-height: 0.82;
  letter-spacing: -0.015em;
  color: var(--fg);
  text-wrap: balance;
}
.display--xl { font-size: clamp(64px, 13vw, 240px); letter-spacing: -0.02em; }
.display--l  { font-size: clamp(52px, 9vw, 168px); letter-spacing: -0.02em; }
.display--m  { font-size: clamp(44px, 6.4vw, 118px); }
.display--s  { font-size: clamp(36px, 4.2vw, 72px); letter-spacing: -0.01em; }

.body {
  font-family: var(--font-body);
  font-size: clamp(17px, 0.9rem + 0.25vw, 19px);
  line-height: 1.5;
  max-width: 36ch;
  color: var(--fg-muted);
  text-wrap: pretty;
}

.mono {
  font-family: var(--font-mono);
  font-size: clamp(12px, 0.75vw + 3px, 13px);
  font-weight: 450;
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.kicker {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--fg);
}
.kicker::before {
  content: "";
  flex: none;
  width: 28px;
  height: 1px;
  background: var(--yellow);
}

/* --------------------------------------------------------------------------
   06 · Loader
   -------------------------------------------------------------------------- */
.loader {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: var(--ink);
  color: rgba(238, 240, 238, 0.62);
  transition: opacity 0.9s var(--ease-out), visibility 0s linear 0.9s;
}
.loader__line {
  position: absolute;
  left: 50%;
  top: 20vh;
  width: 1px;
  height: 60vh;
  margin-left: -0.5px;
  background: rgba(238, 240, 238, 0.12);
  overflow: hidden;
}
.loader__line i {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--gold), var(--yellow) 60%, var(--amber));
  transform: scaleY(var(--p, 0));
  transform-origin: 50% 0;
}
.loader__label,
.loader__pct {
  position: absolute;
  bottom: clamp(20px, 4vh, 40px);
}
.loader__label { left: var(--margin); }
.loader__pct {
  right: var(--margin);
  color: var(--snow);
  font-variant-numeric: tabular-nums;
}
html.is-loaded .loader {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   07 · Grain
   -------------------------------------------------------------------------- */
.grain {
  position: fixed;
  inset: -120px;
  z-index: 1;
  pointer-events: none;
  opacity: 0.06;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1.4 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 220px 220px;
  animation: grain 1.2s steps(6) infinite;
  will-change: transform;
}
@keyframes grain {
  0%   { transform: translate3d(0, 0, 0); }
  17%  { transform: translate3d(-40px, 22px, 0); }
  33%  { transform: translate3d(28px, -54px, 0); }
  50%  { transform: translate3d(-62px, -18px, 0); }
  67%  { transform: translate3d(46px, 60px, 0); }
  83%  { transform: translate3d(-18px, 38px, 0); }
  100% { transform: translate3d(0, 0, 0); }
}

/* --------------------------------------------------------------------------
   08 · Nav
   -------------------------------------------------------------------------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  height: var(--nav-h);
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gutter);
  align-items: center;
  padding-inline: var(--margin);
  color: var(--fg);
  pointer-events: none;
}
.nav > * { pointer-events: auto; }
/* Top scrim over full-bleed photography: keeps the nav legible on bright snow. */
.nav::before {
  content: "";
  position: absolute;
  inset: 0 0 -48px 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(5, 7, 15, 0.62) 0%, rgba(5, 7, 15, 0.28) 55%, rgba(5, 7, 15, 0) 100%);
  opacity: 0;
  transition: opacity 0.5s var(--ease-out);
  pointer-events: none;
}
html[data-section="nieve"] .nav::before,
html[data-section="terreno"] .nav::before { opacity: 1; }
html[data-section="nieve"] .nav,
html[data-section="terreno"] .nav { --fg: var(--snow); --fg-muted: rgba(238, 240, 238, 0.72); color: var(--snow); }

/* Anchor tags that share a beat are staggered so they never collide. */
#tag-walls > * { transform: translateY(-56px); }
#tag-camber > * { transform: translateY(28px); }

.nav__brand {
  grid-column: 1 / 6;
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  min-height: 44px;
  align-self: center;
  padding-top: 12px;
  white-space: nowrap;
}
.nav__mark {
  font-family: var(--font-display);
  font-variation-settings: "wdth" 88, "wght" 900;
  font-weight: 900;
  font-size: 22px;
  line-height: 1;
  letter-spacing: -0.01em;
}
.nav__sep { color: var(--fg-muted); font-size: 15px; }
.nav__model {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.005em;
}

.nav__store {
  grid-column: 6 / 9;
  color: var(--fg-muted);
}

.nav__cta {
  grid-column: 10 / 13;
  justify-self: end;
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--fg);
  white-space: nowrap;
}
.nav__cta::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 10px;
  height: 1px;
  background: currentColor;
  transform-origin: 100% 50%;
  transition: transform 0.6s var(--ease-out);
}
.nav__cta:hover::after {
  transform: scaleX(0);
  animation: underline-in 0.9s var(--ease-out) 0.18s forwards;
}
.nav__cta:active { color: var(--yellow); }
@keyframes underline-in {
  from { transform: scaleX(0); transform-origin: 0 50%; }
  to   { transform: scaleX(1); transform-origin: 0 50%; }
}

/* --------------------------------------------------------------------------
   09 · Progress rail
   -------------------------------------------------------------------------- */
.rail {
  position: fixed;
  z-index: 40;
  top: 50%;
  right: clamp(16px, 2vw, 32px);
  transform: translateY(-50%);
  display: grid;
  grid-template-columns: auto 1px;
  column-gap: 16px;
  align-items: stretch;
  color: var(--fg);
}
.rail__track {
  position: relative;
  grid-column: 2;
  grid-row: 1;
  width: 1px;
  height: 40vh;
  background: color-mix(in srgb, var(--fg) 18%, transparent);
  overflow: hidden;
}
.rail__fill {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--gold), var(--yellow) 55%, var(--amber));
  transform: scaleY(var(--progress, 0));
  transform-origin: 50% 0;
}
.rail__list {
  grid-column: 1;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-end;
  height: 40vh;
  font-size: 12px;
}
.rail__list a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 3px 0;
  color: var(--fg);
  opacity: 0.45;
  transition: opacity 0.5s var(--ease-out);
}
.rail__list a::after {
  content: "";
  width: 10px;
  height: 1px;
  background: var(--yellow);
  transform: scaleX(0);
  transform-origin: 100% 50%;
  transition: transform 0.6s var(--ease-out);
}
/* Quiet by default: only the current chapter is named; the rest appear on hover/focus. */
.rail__list a { opacity: 0; }
.rail:hover .rail__list a,
.rail:focus-within .rail__list a { opacity: 0.5; }
.rail__list a:hover { opacity: 0.9 !important; }
.rail__list a[aria-current="true"] { opacity: 1 !important; }
.rail { transition: opacity 0.6s var(--ease-out), visibility 0.6s; }
html[data-section="hero"] .rail { opacity: 0; visibility: hidden; }
.rail__list a[aria-current="true"]::after { transform: scaleX(1); }

/* --------------------------------------------------------------------------
   10 · Buttons
   -------------------------------------------------------------------------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  height: 60px;
  padding: 0 26px;
  border: 0;
  border-radius: 2px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.005em;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.4s var(--ease-out), color 0.4s var(--ease-out);
}
.btn--primary { background: var(--yellow); color: var(--ink); }
.btn--primary:hover { background: #ffc633; }
.btn--primary:active { background: #e0a312; }
.btn:focus-visible {
  outline: 2px solid var(--fg);
  outline-offset: 4px;
}
.btn--xl { height: 76px; padding: 0 32px; font-size: 18px; }

.btn__label,
.btn__icon { display: inline-block; }
.btn__icon {
  width: 22px;
  height: 22px;
  flex: none;
  transition: transform 0.6s var(--ease-out);
}
.btn__icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: square;
}
.btn:hover .btn__icon { transform: translate(3px, -3px); }
#cta-explore:hover .btn__icon { transform: translateY(4px); }

/* Magnetic: JS writes --mx / --my (px) on the element */
.magnetic {
  translate: var(--mx, 0px) var(--my, 0px);
  transition:
    translate 0.5s var(--ease-out),
    background-color 0.4s var(--ease-out),
    color 0.4s var(--ease-out);
}
[tabindex="-1"]:focus { outline: none; }

/* --------------------------------------------------------------------------
   11 · Hero — Sombra
   -------------------------------------------------------------------------- */
.scene--hero {
  --wm: clamp(88px, 19.5vw, 360px);
  --wm-lines: 1;
  --wm-bottom: 7vh;
  overflow: clip;
}

.hero__top {
  position: absolute;
  top: 110px;
  left: 0;
  right: 0;
  align-items: start;
  row-gap: 10px;
}
.hero__top .kicker { grid-column: 1 / 6; }
.hero__meta {
  grid-column: 8 / 13;
  justify-self: end;
  text-align: right;
  color: var(--fg-muted);
  max-width: 40ch;
}

.wordmark {
  position: absolute;
  left: 0;
  right: 0;
  bottom: var(--wm-bottom);
  padding-inline: var(--margin);
  font-family: var(--font-display);
  font-size: var(--wm);
  font-weight: 850;
  font-variation-settings: "wdth" var(--wdth, 55), "wght" var(--wght, 850);
  line-height: 0.82;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--fg);
  display: flex;
  align-items: flex-end;
}
.wordmark__row {
  display: block;
  flex: none;
}
.wordmark__word {
  display: inline-block;
  overflow: hidden;
  /* breathing room so caps/accents aren't cut by the mask */
  padding-block: 0.06em 0.02em;
  margin-block: -0.06em -0.02em;
  vertical-align: bottom;
}
.wordmark__word i {
  display: inline-block;
  font-style: normal;
  will-change: transform;
}

.hero__foot {
  position: absolute;
  left: 0;
  right: 0;
  bottom: calc(var(--wm-bottom) + var(--wm) * 0.82 * var(--wm-lines) + clamp(24px, 4vh, 48px));
  align-items: end;
  row-gap: 22px;
}
.hero__lede {
  grid-column: 1 / 5;
  max-width: 34ch;
  font-size: clamp(17px, 0.95rem + 0.35vw, 21px);
  line-height: 1.42;
  color: var(--fg);
  text-wrap: pretty;
}
.hero__foot .btn {
  grid-column: 10 / 13;
  justify-self: end;
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 14px;
  translate: -50% 0;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: var(--fg-muted);
}
.scroll-cue i {
  position: relative;
  width: 1px;
  height: 28px;
  background: color-mix(in srgb, var(--fg) 20%, transparent);
  overflow: hidden;
}
.scroll-cue i::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--yellow);
  transform: scaleY(0);
  transform-origin: 50% 0;
  animation: cue 2.2s var(--ease-io) infinite;
}
@keyframes cue {
  0%   { transform: scaleY(0); transform-origin: 50% 0; }
  45%  { transform: scaleY(1); transform-origin: 50% 0; }
  55%  { transform: scaleY(1); transform-origin: 50% 100%; }
  100% { transform: scaleY(0); transform-origin: 50% 100%; }
}

/* --------------------------------------------------------------------------
   12 · Beats (pinned #linea / #canto)
   Opacity is stamped by JS; CSS only places them.
   -------------------------------------------------------------------------- */
.scene--linea,
.scene--canto { overflow: visible; }

.beat {
  position: absolute;
  isolation: isolate;
}
.beat .kicker { margin-bottom: clamp(18px, 2.4vh, 28px); }
.beat .display { margin-bottom: clamp(20px, 3vh, 32px); }

.beat--left,
.beat--right {
  top: 0;
  bottom: 0;
  height: fit-content;
  margin-block: auto;
  width: min(520px, calc(var(--col) * 5 + var(--gutter) * 4));
}
.beat--left { left: var(--margin); }
.beat--right { right: calc(var(--margin) + 120px); } /* clears the rail */
@media (min-width: 900px) {
  .beat.beat--amanecer { text-align: left; right: auto; width: min(760px, 52vw); left: 0; }
  .beat.beat--amanecer .display { margin: 0; }
}

.beat--center {
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  height: fit-content;
  margin-block: auto;
  padding-inline: var(--margin);
  text-align: center;
}
.beat--center .display { margin: 0 auto; }

/* Signature beat: descending staircase */
.beat--trazo {
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--nav-h) + 24px) var(--margin) 12vh;
}
.trazo__type { margin: 0; }
/* Desktop: the staircase keeps to the left half; the ribbon owns the right. */
@media (min-width: 900px) {
  .trazo__type { width: min(50vw, 920px); font-size: min(7.6vw, 15vh); }
}
/* Dawn title stays ink whatever the theme is doing mid-transition. */
.beat--amanecer .display { color: var(--ink); }
html[data-section="detalle"] .rail { opacity: 0; visibility: hidden; }
.trazo__type span { display: block; }
.trazo__type span:nth-child(1) { text-align: left; }
.trazo__type span:nth-child(2) { text-align: center; }
.trazo__type span:nth-child(3) { text-align: right; }
.trazo__note {
  position: absolute;
  left: var(--margin);
  bottom: 9vh;
  max-width: 34ch;
  font-size: 17px;
}

/* Facts list: phones only (tags carry them on desktop) */
.facts-list {
  display: none;
  margin-top: 22px;
}
.facts-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-top: 1px solid var(--hair);
}
.facts-list li:last-child { border-bottom: 1px solid var(--hair); }
.facts-list span { color: var(--fg-muted); }
.facts-list b { color: var(--fg); font-weight: 500; text-align: right; }

/* Construction layers */
.layers-list {
  margin-top: clamp(16px, 2.6vh, 28px);
  font-size: 12px;
}
.layers-list li {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 11px 28px 11px 0;
  border-top: 1px solid var(--hair);
  color: var(--fg-muted);
  transition: color 0.5s var(--ease-out);
}
.layers-list li:last-child { border-bottom: 1px solid var(--hair); }
.layers-list li span {
  flex: none;
  color: var(--accent-text);
  font-variant-numeric: tabular-nums;
}
.layers-list li::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 18px;
  height: 2px;
  margin-top: -1px;
  background: var(--yellow);
  transform: scaleX(0);
  transform-origin: 100% 50%;
  transition: transform 0.6s var(--ease-out);
}
.layers-list li.is-active { color: var(--fg); }
.layers-list li.is-active::after { transform: scaleX(1); }

/* --------------------------------------------------------------------------
   13 · 3D anchor tags
   -------------------------------------------------------------------------- */
.tag {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  gap: 12px;
}
.tag__dot {
  flex: none;
  width: 7px;
  height: 7px;
  margin-left: -3.5px;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 0 3px var(--chip-bg), 0 0 0 4px var(--yellow);
}
.tag__text {
  display: block;
  padding: 7px 10px 6px;
  font-size: 12px;
  white-space: nowrap;
  color: var(--chip-fg);
  background: var(--chip-bg);
  border: 1px solid var(--hair);
  border-radius: 2px;
}

/* --------------------------------------------------------------------------
   14 · Nieve — photographic curtain
   -------------------------------------------------------------------------- */
.scene--nieve {
  --fg: var(--snow);
  --fg-muted: rgba(238, 240, 238, 0.76);
  /* Transparent: the daylight stage shows until the diagonal wipe has covered it. */
  background: transparent;
  color: var(--fg);
}
.nieve__credit {
  grid-column: 1 / -1;
  color: rgba(238, 240, 238, 0.66);
}
.nieve__pin {
  position: relative;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
}
.nieve__frame {
  position: absolute;
  inset: 0;
  margin: 0;
}
.nieve__frame picture,
.nieve__frame img {
  display: block;
  width: 100%;
  height: 100%;
}
.nieve__frame img {
  object-fit: cover;
  filter: saturate(0.92) contrast(1.04);
}
.nieve__frame--campana { z-index: 1; }
.nieve__frame--campana img { object-position: 50% 40%; }
.nieve__frame--crew { z-index: 3; }

.nieve__copy {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding-top: 28vh;
  padding-bottom: 8vh;
  row-gap: 22px;
  background: linear-gradient(0deg, rgba(7, 8, 12, 0.82) 0%, rgba(7, 8, 12, 0.5) 45%, rgba(7, 8, 12, 0) 100%);
}
.nieve__copy .kicker { grid-column: 1 / -1; }
.nieve__copy .display { grid-column: 1 / 9; color: var(--snow); }
.nieve__copy .body { grid-column: 1 / 6; }

.nieve__wipe {
  position: absolute;
  inset: 0;
  z-index: 4;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: visible;
}
.nieve__wipe line,
.nieve__wipe path {
  fill: none;
  stroke: var(--yellow);
  stroke-width: 2px;
  vector-effect: non-scaling-stroke;
}

.crew__cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding-top: 26vh;
  padding-bottom: 8vh;
  align-items: end;
  row-gap: 18px;
  background: linear-gradient(0deg, rgba(7, 8, 12, 0.78) 0%, rgba(7, 8, 12, 0) 100%);
}
.crew__cap .display { grid-column: 1 / 9; color: var(--snow); }
.crew__credit {
  grid-column: 9 / 13;
  justify-self: end;
  text-align: right;
  color: rgba(238, 240, 238, 0.7);
}

/* --------------------------------------------------------------------------
   15 · Detalle — macros on mineral
   The macro plate carries the mid-band colour so `multiply` reads the same
   whether or not the moving track isolates the blend.
   -------------------------------------------------------------------------- */
.scene--detalle {
  --fg: var(--ink);
  --fg-muted: rgba(7, 8, 12, 0.62);
  --plate: #dfe1de;
  background: linear-gradient(180deg, var(--mineral) 0%, var(--plate) 16%, var(--plate) 84%, #e6e8e5 100%);
  color: var(--ink);
}
.detalle__pin {
  position: relative;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
}
.detalle__head {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2;
  padding-top: calc(var(--nav-h) + 40px);
  row-gap: 18px;
  pointer-events: none;
}
.detalle__head .kicker,
.detalle__head .display { grid-column: 1 / 8; }

.detalle__line {
  position: absolute;
  left: 0;
  top: 50%;
  z-index: 0;
  width: 100%;
  height: 22vh;
  margin-top: -11vh;
  overflow: visible;
  pointer-events: none;
}
.detalle__line path {
  fill: none;
  stroke: var(--yellow);
  stroke-width: 2px;
  vector-effect: non-scaling-stroke;
}

.detalle__track {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  height: 100%;
  width: max-content;
  display: flex;
  align-items: center;
  gap: 6vw;
  padding-left: 38vw;
  padding-right: 14vw;
  padding-top: 6vh;
  will-change: transform;
}

.macro {
  flex: none;
  width: 34vw;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.macro__img {
  width: min(100%, calc(62vh * 3584 / 4780));
  aspect-ratio: 3584 / 4780;
  max-height: 62vh;
  background: var(--plate);
  overflow: hidden;
}
.macro__img picture,
.macro__img img {
  display: block;
  width: 100%;
  height: 100%;
}
.macro__img img {
  object-fit: cover;
  mix-blend-mode: multiply;
}
.macro figcaption {
  display: grid;
  gap: 8px;
  max-width: 34ch;
}
.macro figcaption .mono { color: var(--fg-muted); }
.macro figcaption p {
  font-size: 17px;
  line-height: 1.5;
  color: var(--ink);
  text-wrap: pretty;
}

/* --------------------------------------------------------------------------
   16 · Terreno — the line forks in four
   -------------------------------------------------------------------------- */
.scene--terreno {
  --fg: var(--snow);
  --fg-muted: rgba(238, 240, 238, 0.76);
  background: var(--ink);
  color: var(--fg);
}
.terreno__pin {
  position: relative;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
}
.terreno__photos {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.terreno__photos::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  background:
    linear-gradient(0deg, rgba(7, 8, 12, 0.88) 0%, rgba(7, 8, 12, 0.4) 34%, rgba(7, 8, 12, 0) 60%),
    linear-gradient(90deg, rgba(7, 8, 12, 0.55) 0%, rgba(7, 8, 12, 0) 55%);
}
.terrain {
  position: absolute;
  inset: 0;
  margin: 0;
}
.terrain picture,
.terrain img {
  display: block;
  width: 100%;
  height: 100%;
}
.terrain img {
  object-fit: cover;
  filter: saturate(0.9) contrast(1.05) brightness(0.86);
}
.terrain[data-terrain="park"] img { object-position: 50% 30%; }
@media (min-aspect-ratio: 1/1) {
  .terrain[data-terrain="park"] img { object-position: 50% 64%; }
}

.terreno__fork {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.terreno__fork path {
  fill: none;
  stroke: var(--yellow);
  stroke-width: 1.5px;
  vector-effect: non-scaling-stroke;
}

.terreno__copy {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding-bottom: 8vh;
  align-items: end;
  row-gap: 24px;
}
.terreno__copy .kicker { grid-column: 1 / -1; grid-row: 1; }

.terreno__names {
  grid-column: 1 / 10;
  grid-row: 2;
  display: grid;
}
.terreno__names li {
  grid-area: 1 / 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 18px;
  overflow: clip;
  overflow-clip-margin: 0.2em;
}
.terreno__names .mono {
  color: var(--yellow);
  font-variant-numeric: tabular-nums;
}
.terreno__names b.display {
  display: block;
  font-size: clamp(64px, 15vw, 280px);
  color: var(--snow);
  font-weight: 800;
}
.terreno__names .body { color: rgba(238, 240, 238, 0.8); }

.terreno__level {
  grid-column: 10 / 13;
  grid-row: 2;
  justify-self: end;
  align-self: end;
  text-align: right;
  color: var(--fg-muted);
}

/* --------------------------------------------------------------------------
   17 · Final — Traza tu línea
   -------------------------------------------------------------------------- */
.scene--final {
  --fg: var(--ink);
  --fg-muted: rgba(7, 8, 12, 0.62);
  --accent-text: #9a6400;
  height: auto;
  min-height: 100vh;
  min-height: 100svh;
  color: var(--ink);
}
.final__inner {
  min-height: 100vh;
  min-height: 100svh;
  align-content: center;
  padding-top: calc(var(--nav-h) + 24px);
  padding-bottom: 6vh;
}
.final__inner > * { grid-column: 1 / 7; }
.final__inner .kicker { margin-bottom: clamp(14px, 2.2vh, 28px); }

.final__title {
  font-size: clamp(56px, min(8.4vw, 15vh), 176px);
  color: var(--ink);
}
.final__title span { display: block; }

.specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: var(--gutter);
  max-width: 640px;
  margin-top: clamp(22px, 3.6vh, 48px);
}
.specs > div {
  display: grid;
  gap: 5px;
  padding: 14px 0 13px;
  border-top: 1px solid var(--hair);
}
.specs dt {
  font-size: 12px;
  color: var(--fg-muted);
}
.specs dd {
  font-size: 14px;
  letter-spacing: 0.08em;
  color: var(--ink);
}

.final__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  margin-top: clamp(26px, 4.4vh, 56px);
}
.final__line {
  flex: none;
  width: 260px;
  height: 78px;
  margin-top: -27px; /* path end (y≈65) meets the button's centre (38) */
  margin-right: -2px;
  overflow: visible;
}
.final__line path {
  fill: none;
  stroke: var(--yellow);
  stroke-width: 2px;
  stroke-linecap: square;
}
.final__note {
  flex-basis: 100%;
  margin-top: 18px;
  color: var(--fg-muted);
}

/* --------------------------------------------------------------------------
   18 · Footer
   -------------------------------------------------------------------------- */
.footer {
  --fg: var(--snow);
  --fg-muted: rgba(238, 240, 238, 0.62);
  position: relative;
  z-index: 3;
  padding-block: 80px;
  background: var(--ink);
  color: var(--snow);
  border-top: 1px solid rgba(238, 240, 238, 0.08);
}
.footer__grid {
  align-items: start;
  row-gap: 40px;
}
.footer__brand {
  grid-column: 1 / 5;
  font-size: 15px;
  color: var(--fg-muted);
}
.footer__brand b {
  display: block;
  margin-bottom: 8px;
  font-family: var(--font-display);
  font-variation-settings: "wdth" 62, "wght" 800;
  font-weight: 800;
  font-size: clamp(28px, 2.6vw, 40px);
  line-height: 0.9;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--snow);
}
.footer__credits {
  grid-column: 5 / 11;
  display: grid;
  gap: 12px;
  max-width: 64ch;
}
.footer__credits p:not(.mono) {
  font-size: 15px;
  line-height: 1.55;
  color: var(--fg-muted);
}
.footer__credits .mono { color: var(--snow); margin-bottom: 4px; }
.footer__link {
  grid-column: 11 / 13;
  justify-self: end;
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: -12px;
  color: var(--snow);
}
.footer__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 10px;
  height: 1px;
  background: var(--yellow);
  transform-origin: 0 50%;
  transition: transform 0.6s var(--ease-out);
}
.footer__link:hover::after { transform: scaleX(0.35); }
.footer__link:active { color: var(--yellow); }

/* --------------------------------------------------------------------------
   19 · No-WebGL fallback: pinned stories become a flowing document
   -------------------------------------------------------------------------- */
html.no-webgl .scene--linea,
html.no-webgl .scene--canto {
  height: auto;
  display: flex;
  flex-direction: column;
  gap: 14vh;
  padding-block: 16vh;
}
html.no-webgl .beat {
  position: relative;
  inset: auto;
  width: auto;
  max-width: 640px;
  height: auto;
  margin: 0;
  padding-inline: var(--margin);
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}
html.no-webgl .beat--right { align-self: flex-end; padding-right: calc(var(--margin) + 72px); }
html.no-webgl .beat--center,
html.no-webgl .beat--trazo { max-width: none; align-self: stretch; }
html.no-webgl .beat--trazo { display: block; padding-block: 0; }
html.no-webgl .trazo__note { position: static; margin-top: 32px; }
html.no-webgl .beat::before { display: none; }
html.no-webgl .facts-list { display: block; }
html.no-webgl .scene--final { background: var(--mineral); }

/* --------------------------------------------------------------------------
   20 · Responsive — tablet (≤1024)
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .hero__top { top: 96px; }
  .hero__top .kicker { grid-column: 1 / 7; }
  .hero__meta { grid-column: 7 / 13; }
  .hero__lede { grid-column: 1 / 7; }
  .hero__foot .btn { grid-column: 8 / 13; }

  .beat--left,
  .beat--right { width: min(460px, calc(var(--col) * 6 + var(--gutter) * 5)); }

  .nieve__copy .display,
  .crew__cap .display { grid-column: 1 / 11; }
  .nieve__copy .body { grid-column: 1 / 8; }

  .macro { width: 42vw; }
  .detalle__track { padding-left: 30vw; }

  .final__inner > * { grid-column: 1 / 9; }

  .footer__brand { grid-column: 1 / 6; }
  .footer__credits { grid-column: 6 / 13; }
  .footer__link { grid-column: 1 / -1; justify-self: start; margin-top: 0; }
}

/* --------------------------------------------------------------------------
   21 · Responsive — below 900 (no rail, no tags, beats low with scrim)
   -------------------------------------------------------------------------- */
@media (max-width: 899px) {
  .display--xl { font-size: clamp(56px, 17vw, 132px); }
  .display--l  { font-size: clamp(46px, 14vw, 110px); }
  .display--m  { font-size: clamp(40px, 12.5vw, 92px); }
  .display--s  { font-size: clamp(34px, 10vw, 64px); }

  .nav__store { display: none; }
  .nav__brand { grid-column: 1 / 8; }
  .nav__cta { grid-column: 8 / 13; }

  /* Rail → 2px progress bar across the top */
  .rail {
    top: 0;
    left: 0;
    right: 0;
    z-index: 60;
    display: block;
    height: 2px;
    transform: none;
    pointer-events: none;
  }
  .rail__track {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: color-mix(in srgb, var(--fg) 12%, transparent);
  }
  .rail__fill {
    background: linear-gradient(90deg, var(--gold), var(--yellow) 55%, var(--amber));
    transform: scaleX(var(--progress, 0));
    transform-origin: 0 50%;
  }
  .rail__list { display: none; }

  .xp-anchors { display: none; }

  /* Beats sit low, over a soft scrim */
  .beat--left,
  .beat--right,
  .beat--center {
    top: auto;
    bottom: 9vh;
    left: var(--margin);
    right: var(--margin);
    width: auto;
    height: auto;
    margin: 0;
    padding-inline: 0;
  }
  .beat--center { text-align: left; }
  .beat--center .display { margin: 0; }
  .beat--left::before,
  .beat--right::before,
  .beat--center::before {
    content: "";
    position: absolute;
    z-index: -1;
    left: calc(var(--margin) * -1);
    right: calc(var(--margin) * -1);
    top: -16vh;
    bottom: -9vh;
    background: linear-gradient(180deg, color-mix(in srgb, var(--scrim) 0%, transparent) 0%, var(--scrim) 42%, var(--scrim) 100%);
    pointer-events: none;
  }
  .beat .kicker { margin-bottom: 14px; }
  .beat .display { margin-bottom: 16px; }
  .beat .body { max-width: 40ch; }

  /* Phones: board and ribbon own the top, the staircase sits low above the note. */
  .beat--trazo { justify-content: flex-end; padding-bottom: calc(9vh + 128px); }
  .trazo__note { right: var(--margin); bottom: 9vh; }

  .facts-list { display: block; }
  .layers-list li { padding-block: 8px; }

  .nieve__copy .display,
  .crew__cap .display,
  .nieve__copy .body { grid-column: 1 / -1; }
  .crew__credit { grid-column: 1 / -1; justify-self: start; text-align: left; }

  .detalle__track { padding-left: 12vw; gap: 8vw; padding-top: 10vh; }
  .macro { width: 78vw; }
  .macro__img {
    width: min(100%, calc(56vh * 3584 / 4780));
    max-height: 56vh;
  }

  .terreno__names,
  .terreno__level { grid-column: 1 / -1; }
  .terreno__level { grid-row: 3; justify-self: start; text-align: left; }

  .final__inner { align-content: end; padding-bottom: 8vh; }
  .final__inner > * { grid-column: 1 / -1; }
}

/* --------------------------------------------------------------------------
   22 · Responsive — phones (≤700)
   -------------------------------------------------------------------------- */
@media (max-width: 700px) {
  :root { --nav-h: 64px; }

  .scene--hero {
    --wm: 29vw;
    --wm-lines: 2;
    --wm-bottom: 6vh;
  }
  .hero__top { top: 84px; }
  .hero__top .kicker,
  .hero__meta {
    grid-column: 1 / -1;
    justify-self: start;
    text-align: left;
  }
  .wordmark {
    flex-direction: column;
    align-items: flex-start;
    top: 172px;
    bottom: auto;
  }
  .wordmark__row--b { align-self: flex-end; }

  .hero__foot { row-gap: 18px; bottom: max(28px, 4svh); }
  .hero__lede,
  .hero__foot .btn { grid-column: 1 / -1; justify-self: start; }
  .hero__lede { font-size: 17px; max-width: 32ch; }
  .hero__foot .btn { height: 56px; }

  .scroll-cue { display: none; }

  /* Two compact columns: the board keeps the top ~38% of the screen above the specs. */
  .final__inner { padding-bottom: max(24px, 4svh); }
  .final__title { font-size: clamp(52px, 15vw, 72px); }
  .specs { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 20px; }
  .specs > div { gap: 3px; padding-block: 9px 8px; }
  .specs dd { font-size: 13px; letter-spacing: 0.04em; }
  .final__cta { margin-top: 22px; }
  .final__note { margin-top: 12px; }
  .final__line { display: none; }
  .btn--xl { height: 64px; padding: 0 24px; font-size: 17px; width: 100%; justify-content: space-between; }

  .footer { padding-block: 64px; }
  .footer__brand,
  .footer__credits { grid-column: 1 / -1; }
}

/* --------------------------------------------------------------------------
   23 · Small phones (≤390)
   -------------------------------------------------------------------------- */
@media (max-width: 390px) {
  .nav__sep,
  .nav__model { display: none; }
  .hero__meta { font-size: 12px; letter-spacing: 0.1em; }
  .facts-list li { flex-direction: column; gap: 4px; }
  .facts-list b { text-align: left; }
}

/* Short landscape viewports: keep beats from colliding with the nav */
@media (max-height: 620px) and (min-width: 900px) {
  .display--m { font-size: clamp(40px, 5vw, 80px); }
  .layers-list li { padding-block: 6px; }
  .hero__top { top: 92px; }
}

/* --------------------------------------------------------------------------
   24 · Reduced motion
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    scroll-behavior: auto !important;
  }
  .grain { animation: none; will-change: auto; }
  .scroll-cue i::after { transform: scaleY(1); opacity: 0.6; }

  .magnetic,
  .magnetic .btn__label,
  .btn__icon,
  .skip,
  .rail__list a::after,
  .layers-list li::after,
  .nav__cta::after,
  .footer__link::after {
    transition-property: opacity, color, background-color !important;
  }
  .magnetic,
  .magnetic .btn__label { transform: none; }
  .btn:hover .btn__icon,
  #cta-explore:hover .btn__icon { transform: none; }
  .nav__cta:hover::after { transform: none; opacity: 0.4; }
}

/* Keep the complete story usable without scripting, WebGL, or motion. */
html.static-page { --fg: #eef0ee; --fg-muted: #b7b9c2; }
html.static-page .loader, html.static-page #stage, html.static-page #anchors,
html.static-page .rail, html.static-page .grain, html.static-page .nieve__wipe,
html.static-page .terreno__fork, html.static-page .detalle__line { display: none !important; }
html.static-page main * { opacity: 1 !important; visibility: visible !important; transform: none !important; clip-path: none !important; }
html.static-page .scene { height: auto; min-height: 0; scroll-margin-top: 80px; }
html.static-page .scene--hero { min-height: max(760px, 100svh); background: #07080c url('../assets/poster.jpg') center / cover; }
html.static-page .scene--linea, html.static-page .scene--canto { display: grid; gap: 70px; padding: 80px var(--margin); background: #0b1030; }
html.static-page .beat { position: static; width: 100%; max-width: 760px; height: auto; margin: 0; padding: 0; text-align: left; }
html.static-page .beat::before { display: none; }
html.static-page .beat--trazo { display: block; }
html.static-page .trazo__note { position: static; margin-top: 30px; }
html.static-page .facts-list { display: block; }
html.static-page .nieve__pin { height: auto; display: grid; }
html.static-page .nieve__frame { position: relative; min-height: 75svh; }
html.static-page .nieve__frame--campana { grid-area: 1 / 1; }
html.static-page .nieve__frame img { position: absolute; inset: 0; }
html.static-page .nieve__copy { position: relative; grid-area: 1 / 1; align-self: end; }
html.static-page .nieve__frame--crew { grid-area: 2 / 1; }
html.static-page .detalle__pin { height: auto; padding-block: 70px; }
html.static-page .detalle__head { position: static; padding: 0 var(--margin) 32px; }
html.static-page .detalle__track { width: auto; padding: 0 var(--margin); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
html.static-page .macro { width: auto; }
html.static-page .macro__img { width: 100%; max-height: none; }
html.static-page .terreno__pin { height: auto; display: grid; }
html.static-page .terreno__photos, html.static-page .terreno__copy, html.static-page .terreno__names { display: contents; }
html.static-page .terreno__photos::after, html.static-page .terreno__copy > .kicker { display: none; }
html.static-page .terrain { position: relative; min-height: 80svh; }
html.static-page .terrain img { position: absolute; inset: 0; }
html.static-page .terrain:nth-child(1), html.static-page .terreno__names li:nth-child(1) { grid-area: 1 / 1; }
html.static-page .terrain:nth-child(2), html.static-page .terreno__names li:nth-child(2) { grid-area: 2 / 1; }
html.static-page .terrain:nth-child(3), html.static-page .terreno__names li:nth-child(3) { grid-area: 3 / 1; }
html.static-page .terrain:nth-child(4), html.static-page .terreno__names li:nth-child(4) { grid-area: 4 / 1; }
html.static-page .terreno__names li { position: relative; z-index: 2; align-self: end; padding: 80px var(--margin) 50px; background: linear-gradient(transparent, #07080ce6); }
html.static-page .terreno__names b.display { font-size: clamp(54px, 10vw, 150px); }
html.static-page .terreno__level { grid-area: 5 / 1; padding: 24px var(--margin); }
html.static-page .scene--final { background: var(--snow); }
html.static-page .final__inner { min-height: 0; padding-block: 80px; }
html.static-page .final__inner > * { grid-column: 1 / -1; }
html.static-page .nav { background: #07080ced; color: var(--snow); }
html.static-page .nav::before { display: none; }
html.static-page .btn, html.static-page a { scroll-behavior: auto; }
@media (max-width: 899px) {
  html.static-page .detalle__track { grid-template-columns: 1fr; gap: 48px; }
  .detalle__line { display: none; }
  .grain { animation: none; will-change: auto; }
}
@media (max-height: 700px) and (max-width: 700px) {
  .hero__foot { row-gap: 10px; }
  .hero__lede { font-size: 14px; }
  .hero__foot .btn { height: 48px; }
  .hero__top { top: 76px; }
  .wordmark { top: 154px; }
}
/* Reserve the initial layout while the existing loader covers the scene. */
html:not(.static-page):not(.is-loaded) .wordmark,
html:not(.static-page):not(.is-loaded) .hero__foot,
html:not(.static-page):not(.is-loaded) .hero__top,
html:not(.static-page):not(.is-loaded) .rail { visibility: hidden; }
.loader__pct { min-width: 3ch; text-align: right; }

.board-inspection{display:flex;gap:18px;position:relative;z-index:3;margin-bottom:16px}.board-inspection button{font:inherit;font-size:12px;min-height:44px;padding:8px 0;border:0;border-bottom:1px solid currentColor;background:none;color:inherit;cursor:pointer;opacity:.55}.board-inspection button[aria-pressed=true]{opacity:1;border-bottom-width:3px}.board-inspection button:focus-visible{outline:2px solid currentColor;outline-offset:4px}

@media(min-width:900px) and (max-width:1199px){.beat--capas{right:calc(var(--margin) + 36px);width:30vw}.beat--capas .layers-list li{font-size:12px}}
@media(min-width:900px) and (max-width:1199px){html[data-section="canto"] .rail{opacity:0;visibility:hidden}}
html.static-page .beat--amanecer .display{color:var(--snow)}
