/* ==========================================================================
   Tic Tac Xperience — hoja de estilos principal
   Estructura: tokens · base · utilidades · componentes · secciones · motion
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --navy: #08204a;
  --navy-700: #0b2a5e;
  --navy-900: #051634;
  --ink: #030c1f;
  --yellow: #ffdf00;
  --yellow-600: #e6c800;
  --yellow-soft: #ffe854;
  --paper: #f4f2ea;
  --white: #ffffff;
  --mist: rgba(255, 255, 255, 0.64);
  --line: rgba(255, 255, 255, 0.14);

  --font-display: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-serif: "Instrument Serif", "Times New Roman", serif;

  --gutter: clamp(20px, 5vw, 72px);
  --maxw: 1360px;
  --radius: 28px;
  --radius-sm: 16px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

  --header-h: 76px;

  /* Tema actual (lo cambian las secciones) */
  --bg: var(--ink);
  --fg: var(--white);
  --fg-soft: var(--mist);
  --accent: var(--yellow);
}

/* ---------- Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-display);
  font-size: 17px;
  line-height: 1.55;
  font-variation-settings: "wdth" 100;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  transition: background-color 0.7s var(--ease-out);
}

img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }

::selection { background: var(--yellow); color: var(--navy); }

:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 4px;
  border-radius: 6px;
}
[data-theme="yellow"] :focus-visible,
[data-theme="light"] :focus-visible { outline-color: var(--navy); }

/* ---------- Utilidades ---------- */
.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-link {
  position: fixed;
  top: 12px; left: 12px;
  z-index: 1000;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--navy);
  font-weight: 700;
  transform: translateY(-160%);
  transition: transform 0.3s var(--ease-out);
}
.skip-link:focus { transform: none; }

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-soft);
}
.eyebrow::before {
  content: "";
  width: 9px; height: 9px;
  border-radius: 50%;
  border: 1.5px solid currentColor;
  background:
    linear-gradient(currentColor, currentColor) 50% 15% / 1.5px 40% no-repeat;
}

.display {
  font-family: var(--font-display);
  font-variation-settings: "wdth" 112;
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 0.95;
}
.serif {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
  font-variation-settings: normal;
}
.accent { color: var(--accent); }

.h-xl { font-size: clamp(48px, 9.2vw, 152px); }
.h-lg { font-size: clamp(40px, 6.6vw, 104px); }
.h-md { font-size: clamp(32px, 4.4vw, 68px); }
.lead {
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.5;
  color: var(--fg-soft);
  max-width: 38ch;
}

/* ---------- Botones ---------- */
.btn {
  --btn-bg: var(--yellow);
  --btn-fg: var(--navy);
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.005em;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s var(--ease-out);
}
.btn::after {
  /* barrido tipo segundero: un destello gira una vez al pasar por encima */
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 300%; aspect-ratio: 1;
  z-index: -1;
  background: conic-gradient(from 0deg, transparent 0deg, rgba(255, 255, 255, 0.5) 40deg, transparent 80deg);
  transform: translate(-50%, -50%) rotate(-100deg);
  opacity: 0;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 34px -14px rgba(255, 223, 0, 0.7); }
.btn:hover::after { animation: btn-sweep 0.9s var(--ease-in-out); }
.btn:active { transform: translateY(0) scale(0.98); }

.btn .btn__icon {
  width: 18px; height: 18px;
  transition: transform 0.45s var(--ease-out);
}
.btn:hover .btn__icon { transform: translateX(3px) rotate(-45deg); }
.btn--ext:hover .btn__icon { transform: translate(2px, -2px); }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--fg);
  box-shadow: inset 0 0 0 1.5px currentColor;
}
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px currentColor, 0 14px 34px -18px rgba(0, 0, 0, 0.5); }
.btn--ghost::after { background: conic-gradient(from 0deg, transparent 0deg, rgba(255, 223, 0, 0.3) 40deg, transparent 80deg); }

.btn--navy { --btn-bg: var(--navy); --btn-fg: var(--yellow); }
.btn--navy:hover { box-shadow: 0 14px 34px -14px rgba(8, 32, 74, 0.6); }
.btn--navy::after { background: conic-gradient(from 0deg, transparent 0deg, rgba(255, 223, 0, 0.28) 40deg, transparent 80deg); }

@keyframes btn-sweep {
  0% { opacity: 1; transform: translate(-50%, -50%) rotate(-100deg); }
  80% { opacity: 1; }
  100% { opacity: 0; transform: translate(-50%, -50%) rotate(260deg); }
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat;
  padding-bottom: 3px;
  transition: background-size 0.45s var(--ease-out), color 0.3s;
}
.link-arrow:hover { background-size: 100% 1.5px; }
.link-arrow svg { width: 14px; height: 14px; transition: transform 0.45s var(--ease-out); }
.link-arrow:hover svg { transform: translate(2px, -2px); }

/* ==========================================================================
   Cursor reloj
   ========================================================================== */
.cursor { display: none; }

@media (hover: hover) and (pointer: fine) {
  html.has-cursor,
  html.has-cursor * { cursor: none !important; }
  html.has-cursor iframe { cursor: auto !important; }

  .cursor {
    --c: var(--yellow);
    display: block;
    position: fixed;
    top: 0; left: 0;
    z-index: 2000;
    width: 30px; height: 30px;
    margin: -15px 0 0 -15px;
    pointer-events: none;
    opacity: 0;
    will-change: transform;
    transition: opacity 0.3s;
  }
  .cursor.is-visible { opacity: 1; }
  .cursor[data-tone="dark"] { --c: var(--navy); }

  .cursor__body {
    width: 100%; height: 100%;
    transition: transform 0.35s var(--ease-out);
  }
  .cursor__ring {
    fill: transparent;
    stroke: var(--c);
    stroke-width: 1.6;
    transition: fill 0.35s var(--ease-out), stroke 0.3s;
  }
  .cursor__mark { stroke: var(--c); stroke-width: 1.6; stroke-linecap: round; transition: stroke 0.3s; }
  .cursor__hand-wrap {
    transform-origin: 15px 15px;
    transition: transform 0.6s var(--ease-out);
  }
  .cursor__hand {
    stroke: var(--c);
    stroke-width: 1.6;
    stroke-linecap: round;
    transform-origin: 15px 15px;
    animation: cursor-tick 60s steps(60) infinite;
    transition: stroke 0.3s;
  }
  .cursor__pin { fill: var(--c); transition: fill 0.3s; }

  .cursor.is-hover .cursor__body { transform: scale(1.55); }
  .cursor.is-hover .cursor__ring { fill: color-mix(in srgb, var(--c) 18%, transparent); }
  .cursor.is-hover .cursor__hand-wrap { transform: rotate(360deg); }
  .cursor.is-down .cursor__body { transform: scale(0.82); }
  .cursor.is-hover.is-down .cursor__body { transform: scale(1.3); }
}

@keyframes cursor-tick { to { transform: rotate(360deg); } }

/* ==========================================================================
   Cabecera
   ========================================================================== */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  color: var(--white);
  transition: transform 0.55s var(--ease-out), color 0.4s;
}
.header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--header-h);
  padding-inline: var(--gutter);
  transition: height 0.45s var(--ease-out);
}
.header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(5, 22, 52, 0.72);
  backdrop-filter: saturate(160%) blur(18px);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  border-bottom: 1px solid var(--line);
  opacity: 0;
  transition: opacity 0.45s var(--ease-out), background-color 0.4s;
}
.header.is-scrolled::before { opacity: 1; }
.header.is-scrolled .header__bar { height: 62px; }
.header.is-hidden { transform: translateY(-100%); }

.header[data-tone="light"] { color: var(--navy); }
.header[data-tone="light"]::before { background: rgba(244, 242, 234, 0.78); border-color: rgba(8, 32, 74, 0.1); }
.header[data-tone="yellow"] { color: var(--navy); }
.header[data-tone="yellow"]::before { background: rgba(255, 223, 0, 0.82); border-color: rgba(8, 32, 74, 0.12); }
.header[data-tone="yellow-soft"] { color: var(--navy); }
.header[data-tone="yellow-soft"]::before { background: rgba(255, 232, 84, 0.85); border-color: rgba(8, 32, 74, 0.12); }

.header__logo { display: block; flex: none; }
.header__logo img {
  width: auto;
  height: 62px;
  transition: height 0.45s var(--ease-out), transform 0.45s var(--ease-out);
}
.header.is-scrolled .header__logo img { height: 50px; }
@media (max-width: 767px) {
  .header__logo img { height: 54px; }
  .header.is-scrolled .header__logo img { height: 46px; }
}
.header__logo:hover img { transform: rotate(-3deg) scale(1.04); }

.nav { display: flex; align-items: center; gap: 6px; }
.nav__link {
  position: relative;
  padding: 10px 14px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.005em;
  opacity: 0.86;
  transition: opacity 0.3s;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 4px;
  height: 1.5px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.45s var(--ease-out);
}
.nav__link:hover,
.nav__link[aria-current] { opacity: 1; }
.nav__link:hover::after,
.nav__link[aria-current]::after { transform: scaleX(1); transform-origin: left; }
.mobile-menu__list a[aria-current="page"] { color: var(--yellow); }

.header .btn { min-height: 42px; padding: 0 20px; font-size: 15px; margin-left: 10px; }
.header[data-tone="yellow"] .btn,
.header[data-tone="yellow-soft"] .btn { --btn-bg: var(--navy); --btn-fg: var(--yellow); }

.burger {
  display: none;
  position: relative;
  width: 46px; height: 46px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1.5px currentColor;
}
.burger span {
  position: absolute;
  left: 14px; right: 14px;
  height: 1.8px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.45s var(--ease-out), top 0.45s var(--ease-out);
}
.burger span:nth-child(1) { top: 19px; }
.burger span:nth-child(2) { top: 26px; }
.menu-open .burger span:nth-child(1) { top: 22.5px; transform: rotate(45deg); }
.menu-open .burger span:nth-child(2) { top: 22.5px; transform: rotate(-45deg); }

/* Menú móvil */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: calc(var(--header-h) + 32px) var(--gutter) 40px;
  background: var(--navy);
  color: var(--white);
  clip-path: circle(0% at calc(100% - var(--gutter) - 23px) calc(var(--header-h) / 2));
  visibility: hidden;
  transition: clip-path 0.7s var(--ease-in-out), visibility 0s 0.7s;
}
.menu-open .mobile-menu {
  clip-path: circle(150% at calc(100% - var(--gutter) - 23px) calc(var(--header-h) / 2));
  visibility: visible;
  transition: clip-path 0.7s var(--ease-in-out), visibility 0s;
}
.menu-open .header { color: var(--white); }
.menu-open .header::before { opacity: 0; }
.mobile-menu__list { display: grid; gap: 4px; }
.mobile-menu__list a {
  display: flex;
  align-items: baseline;
  gap: 16px;
  font-size: clamp(36px, 10vw, 56px);
  font-weight: 800;
  font-variation-settings: "wdth" 112;
  letter-spacing: -0.035em;
  line-height: 1.1;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s var(--ease-out), transform 0.6s var(--ease-out), color 0.3s;
}
.mobile-menu__list a small {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--yellow);
  font-variation-settings: "wdth" 100;
}
.mobile-menu__list a:hover { color: var(--yellow); }
.menu-open .mobile-menu__list a { opacity: 1; transform: none; }
.menu-open .mobile-menu__list li:nth-child(1) a { transition-delay: 0.18s; }
.menu-open .mobile-menu__list li:nth-child(2) a { transition-delay: 0.22s; }
.menu-open .mobile-menu__list li:nth-child(3) a { transition-delay: 0.26s; }
.menu-open .mobile-menu__list li:nth-child(4) a { transition-delay: 0.30s; }
.menu-open .mobile-menu__list li:nth-child(5) a { transition-delay: 0.34s; }
.menu-open .mobile-menu__list li:nth-child(6) a { transition-delay: 0.38s; }
.mobile-menu__foot { display: grid; gap: 20px; }
.mobile-menu__social { display: flex; gap: 18px; color: var(--mist); font-weight: 600; }

/* ==========================================================================
   Secciones: temas
   ========================================================================== */
[data-theme] { position: relative; }
[data-theme="dark"] { --bg: var(--ink); --fg: var(--white); --fg-soft: var(--mist); --accent: var(--yellow); }
[data-theme="navy"] { --bg: var(--navy); --fg: var(--white); --fg-soft: var(--mist); --accent: var(--yellow); }
[data-theme="deep"] { --bg: var(--navy-900); --fg: var(--white); --fg-soft: var(--mist); --accent: var(--yellow); }
[data-theme="light"] { --bg: var(--paper); --fg: var(--navy); --fg-soft: rgba(8, 32, 74, 0.68); --accent: var(--navy); }
[data-theme="yellow"] { --bg: var(--yellow); --fg: var(--navy); --fg-soft: rgba(8, 32, 74, 0.74); --accent: var(--navy); }

.section { background: var(--bg); color: var(--fg); }

/* Láminas: cada cambio de tema entra como una hoja que se desliza sobre la anterior */
.sheet {
  --sheet-r: clamp(28px, 4vw, 56px);
  position: relative;
  z-index: 1;
  margin-top: calc(var(--sheet-r) * -1);
  border-radius: var(--sheet-r) var(--sheet-r) 0 0;
  box-shadow: 0 -30px 60px -30px rgba(3, 12, 31, 0.45);
}

.section-head {
  display: grid;
  gap: 22px;
  margin-bottom: clamp(48px, 7vw, 96px);
}

/* ==========================================================================
   A · Hero
   ========================================================================== */
.hero {
  position: relative;
  height: 200vh;
  height: 200svh;
}
.hero__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  display: grid;
  place-items: end start;
}
.hero__media {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: var(--navy-900);
  will-change: clip-path;
}
.hero__media video,
.hero__media img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero__media video { opacity: 0; transition: opacity 1.2s var(--ease-out); }
.hero__media video.is-ready { opacity: 1; }
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(3, 12, 31, 0.55) 0%, rgba(3, 12, 31, 0) 28%),
    linear-gradient(0deg, rgba(3, 12, 31, 0.92) 0%, rgba(3, 12, 31, 0.35) 45%, rgba(3, 12, 31, 0.1) 70%),
    linear-gradient(90deg, rgba(8, 32, 74, 0.55) 0%, rgba(8, 32, 74, 0) 60%);
}

.hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 0 var(--gutter) clamp(40px, 7vh, 88px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  column-gap: 40px;
}
.hero__content > div { display: contents; }
.hero__content .eyebrow { grid-column: 1 / -1; }
.hero__title { grid-column: 1 / -1; }
.hero__intro { grid-column: 1; }
.countdown-card { grid-column: 2; grid-row: 3; }
.hero__title { font-size: clamp(42px, min(7.4vw, 12.5vh), 136px); margin-top: 18px; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: 0.06em; }
.hero__title .line > span { display: inline-block; }
.hero__title .serif { font-size: 1.08em; line-height: 0.8; }
.hero__intro { margin-top: 26px; display: grid; gap: 30px; }
.hero__intro .lead { color: rgba(255, 255, 255, 0.8); max-width: 44ch; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }

/* Tarjeta cuenta atrás */
.countdown-card {
  width: min(380px, 100%);
  padding: 22px 24px 24px;
  border-radius: var(--radius);
  background: rgba(8, 32, 74, 0.45);
  backdrop-filter: blur(22px) saturate(150%);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--white);
  display: grid;
  gap: 16px;
  transition: transform 0.5s var(--ease-out), border-color 0.4s;
}
.countdown-card:hover { transform: translateY(-4px); border-color: rgba(255, 223, 0, 0.6); }
.countdown-card__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.countdown-card__label { font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--yellow); }
.countdown-card__live { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--mist); }
.countdown-card__live::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 0 0 rgba(255, 223, 0, 0.7);
  animation: pulse 2s infinite;
}
.countdown-card__title { font-size: 24px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; font-variation-settings: "wdth" 108; }
.countdown-card__meta { font-size: 14px; color: var(--mist); margin-top: 4px; }
.countdown {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  text-align: center;
}
.countdown__unit {
  padding: 10px 0 8px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.07);
}
.countdown__num {
  display: block;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}
.countdown__lbl { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mist); }
.countdown-card .btn { justify-content: center; width: 100%; }

.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 22px;
  z-index: 3;
  transform: translateX(-50%);
  display: grid;
  justify-items: center;
  gap: 10px;
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--mist);
}
.hero__scroll i {
  width: 1.5px; height: 36px;
  background: linear-gradient(var(--yellow), var(--yellow)) 0 0 / 100% 40% no-repeat, rgba(255, 255, 255, 0.2);
  animation: scroll-cue 2.2s var(--ease-in-out) infinite;
}

.video-toggle {
  position: absolute;
  right: var(--gutter);
  top: calc(var(--header-h) + 16px);
  z-index: 3;
  width: 40px; height: 40px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(3, 12, 31, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.24);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--white);
  transition: background-color 0.3s, transform 0.4s var(--ease-out);
}
.video-toggle:hover { background: rgba(255, 223, 0, 0.9); color: var(--navy); transform: scale(1.06); }
.video-toggle svg { width: 14px; height: 14px; }
.video-toggle .i-play { display: none; }
.video-toggle[aria-pressed="true"] .i-play { display: block; }
.video-toggle[aria-pressed="true"] .i-pause { display: none; }

/* ==========================================================================
   B · Historia
   ========================================================================== */
.story { padding-block: clamp(120px, 16vw, 220px) 0; }
.story__grid {
  display: grid;
  grid-template-columns: minmax(180px, 0.32fr) 1fr;
  gap: clamp(32px, 6vw, 96px);
}
.story__aside { display: grid; align-content: start; gap: 28px; position: sticky; top: calc(var(--header-h) + 40px); height: max-content; }
.story__date {
  font-size: clamp(44px, 5vw, 76px);
  font-weight: 800;
  font-variation-settings: "wdth" 112;
  letter-spacing: -0.04em;
  line-height: 0.9;
  font-variant-numeric: tabular-nums;
}
.story__date small { display: block; margin-top: 12px; font-size: 15px; font-weight: 600; letter-spacing: 0; color: var(--fg-soft); font-variation-settings: "wdth" 100; }
.story__text {
  font-size: clamp(28px, 3.7vw, 56px);
  font-weight: 700;
  font-variation-settings: "wdth" 104;
  letter-spacing: -0.03em;
  line-height: 1.12;
}
.story__text .w { opacity: 0.18; transition: opacity 0.2s linear; }
.no-motion .story__text .w,
html:not(.js) .story__text .w { opacity: 1; }
.story__text em { font-style: normal; color: var(--yellow); }

.manifesto {
  position: relative;
  padding-block: clamp(140px, 18vw, 260px);
  text-align: center;
  overflow: hidden;
}
.manifesto__kicker { font-size: clamp(22px, 2.6vw, 38px); font-weight: 600; color: var(--fg-soft); letter-spacing: -0.02em; }
.manifesto__title { margin-top: 10px; display: flex; justify-content: center; }
.manifesto__title .big {
  display: block;
  flex: none;
  white-space: nowrap;
  font-size: clamp(72px, 15vw, 250px);
  line-height: 0.82;
  letter-spacing: -0.055em;
  color: var(--yellow);
  font-variation-settings: "wdth" 125;
}
.manifesto__stamp {
  position: absolute;
  right: max(var(--gutter), 6vw);
  top: 18%;
  width: clamp(130px, 16vw, 230px);
  aspect-ratio: 1;
  pointer-events: none;
}
.manifesto__stamp svg { width: 100%; height: 100%; overflow: visible; }
.manifesto__stamp text { font-size: 10.5px; font-weight: 700; letter-spacing: 0.32em; fill: var(--yellow); text-transform: uppercase; }
.manifesto__stamp img {
  position: absolute;
  inset: 22%;
  width: 56%;
  object-fit: contain;
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.4));
}
.manifesto__rotor { transform-origin: 50% 50%; }

/* ==========================================================================
   C · Próximos eventos
   ========================================================================== */
.events { padding-block: clamp(110px, 14vw, 200px); }
.events__head { display: flex; justify-content: space-between; align-items: end; gap: 32px; flex-wrap: wrap; }
.events__status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.events__status::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--yellow);
  animation: pulse 2s infinite;
}
/* Entradas en vertical en todos los tamaños; en pantallas anchas, una junto a otra */
.events__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  align-items: stretch;
  gap: clamp(20px, 2.4vw, 32px);
}
.events__list .events__empty { grid-column: 1 / -1; }

.ticket {
  --t-bg: var(--navy-700);
  --t-fg: var(--white);
  --t-soft: var(--mist);
  --notch: var(--bg);
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto 1fr auto;
  align-items: stretch;
  border-radius: var(--radius);
  background: var(--t-bg);
  color: var(--t-fg);
  overflow: hidden;
  transition: transform 0.6s var(--ease-out), box-shadow 0.6s var(--ease-out);
}
.ticket:hover { transform: translateY(-6px); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.7); }
.ticket--feature { --t-bg: var(--yellow); --t-fg: var(--navy); --t-soft: rgba(8, 32, 74, 0.72); }
.ticket.is-past { opacity: 0.5; }
.ticket.is-past .ticket__cta .btn { pointer-events: none; }

.ticket__date {
  position: relative;
  display: grid;
  grid-auto-flow: column;
  justify-content: start;
  align-items: baseline;
  gap: 14px;
  padding: clamp(26px, 2.6vw, 36px) clamp(26px, 3vw, 44px) 22px;
  text-align: left;
  border-bottom: 2px dashed color-mix(in srgb, var(--t-fg) 22%, transparent);
}
.ticket__date::before,
.ticket__date::after {
  content: "";
  position: absolute;
  bottom: -15px;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--notch);
  transition: background-color 0.7s var(--ease-out);
}
.ticket__date::before { left: -14px; }
.ticket__date::after { right: -14px; }
.ticket__day {
  font-size: clamp(64px, 6vw, 96px);
  font-weight: 800;
  font-variation-settings: "wdth" 115;
  letter-spacing: -0.05em;
  line-height: 0.85;
  font-variant-numeric: tabular-nums;
}
.ticket__month { font-size: 15px; font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase; }
.ticket__left { font-size: 13px; font-weight: 600; color: var(--t-soft); }

.ticket__body { padding: clamp(26px, 3vw, 44px); display: grid; align-content: start; gap: 14px; }
.ticket__place { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; color: var(--t-soft); }
.ticket__place svg { width: 16px; height: 16px; }
.ticket__title {
  font-size: clamp(34px, 4.2vw, 64px);
  font-weight: 800;
  font-variation-settings: "wdth" 112;
  letter-spacing: -0.04em;
  line-height: 0.95;
}
.ticket__copy { font-size: 17px; color: var(--t-soft); max-width: 46ch; }
.ticket__lineup { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.ticket__lineup dt { font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--t-soft); margin-right: 6px; }
.ticket__lineup dd {
  margin: 0;
  padding: 6px 13px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--t-fg) 26%, transparent);
  font-size: 14px;
  font-weight: 600;
}
.ticket__cta { display: grid; gap: 10px; padding: 0 clamp(26px, 3vw, 44px) clamp(28px, 3vw, 44px); }
.ticket__cta .btn { width: 100%; justify-content: center; }
/* Segundo botón (Bono Cultural): mismo botón, en versión contorno */
.ticket__cta .ticket__bono,
.ticket--feature .ticket__cta .ticket__bono {
  --btn-bg: transparent;
  --btn-fg: var(--t-fg);
  box-shadow: inset 0 0 0 1.5px currentColor;
}
.ticket__cta .ticket__bono:hover { box-shadow: inset 0 0 0 1.5px currentColor, 0 14px 34px -18px rgba(0, 0, 0, 0.45); }
.ticket--feature .btn { --btn-bg: var(--navy); --btn-fg: var(--yellow); }
.ticket--feature .btn::after { background: conic-gradient(from 0deg, transparent 0deg, rgba(255, 223, 0, 0.28) 40deg, transparent 80deg); }

.events__empty { padding: 48px; border-radius: var(--radius); border: 1px dashed var(--line); text-align: center; color: var(--fg-soft); }

/* ==========================================================================
   D · Reloj de la temporada (inmersivo)
   ========================================================================== */
.season { position: relative; }
.season__intro { padding-block: clamp(110px, 14vw, 180px) clamp(40px, 6vw, 80px); }
.season__track { position: relative; }
.season__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  display: grid;
  align-items: center;
  overflow: hidden;
}
.season__stage {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(32px, 6vw, 110px);
}

.dial {
  position: relative;
  width: min(74vh, 100%);
  aspect-ratio: 1;
  justify-self: center;
}
.dial__photos {
  position: absolute;
  inset: 17%;
  border-radius: 50%;
  overflow: hidden;
  background: var(--navy);
  box-shadow: 0 50px 120px -40px rgba(0, 0, 0, 0.8), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.dial__photo {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.12);
  transition: opacity 0.7s var(--ease-out), transform 1.4s var(--ease-out);
}
.dial__photo.is-active { opacity: 1; transform: scale(1); }
.dial__photo--type {
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 50% 40%, var(--navy-700), var(--navy-900));
  color: var(--yellow);
  font-size: clamp(20px, 3vw, 40px);
  font-weight: 800;
  font-variation-settings: "wdth" 120;
  letter-spacing: -0.03em;
  text-align: center;
  padding: 16%;
}
.dial__photos::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle, transparent 55%, rgba(5, 22, 52, 0.55) 100%);
  pointer-events: none;
}
.dial__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.dial__ring { fill: none; stroke: rgba(255, 255, 255, 0.16); stroke-width: 1; }
.dial__ring--inner { stroke: rgba(255, 255, 255, 0.08); stroke-dasharray: 2 6; }
.dial__tick { stroke: rgba(255, 255, 255, 0.28); stroke-width: 1; }
.dial__tick--major { stroke: rgba(255, 255, 255, 0.8); stroke-width: 2; }
.dial__month { fill: rgba(255, 255, 255, 0.5); font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-anchor: middle; dominant-baseline: middle; font-family: var(--font-display); }
.dial__progress { fill: none; stroke: var(--yellow); stroke-width: 2.5; stroke-linecap: round; }
.dial__dot { fill: var(--navy-900); stroke: rgba(255, 255, 255, 0.55); stroke-width: 1.5; transition: fill 0.4s, stroke 0.4s; }
.dial__dot.is-done { fill: var(--yellow); stroke: var(--yellow); }
.dial__dot.is-active { fill: var(--yellow); stroke: var(--white); stroke-width: 3; }
.dial__hand { stroke: var(--yellow); stroke-width: 3; stroke-linecap: round; }
.dial__hand-tail { stroke: var(--white); stroke-width: 3; stroke-linecap: round; }
.dial__cap { fill: var(--yellow); }
.dial__cap-in { fill: var(--navy-900); }
.dial__year {
  fill: var(--white);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-anchor: middle;
}

/* container-type permite que el nombre se ajuste al ancho real de la columna */
.season__info { display: grid; gap: 20px; width: 100%; max-width: 520px; container-type: inline-size; }
.season__count {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.14em;
  font-variant-numeric: tabular-nums;
  color: var(--fg-soft);
}
.season__count b { color: var(--yellow); }
.season__count span.bar { flex: 1; max-width: 160px; height: 2px; background: var(--line); position: relative; overflow: hidden; border-radius: 2px; }
.season__count span.bar i { position: absolute; inset: 0; background: var(--yellow); transform-origin: left; transform: scaleX(var(--p, 0)); }
.season__slides { position: relative; min-height: 290px; }
.season__slide {
  position: absolute;
  inset: 0 0 auto 0;
  display: grid;
  gap: 14px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(26px);
  transition: opacity 0.5s var(--ease-out), transform 0.7s var(--ease-out), visibility 0s 0.5s;
}
.season__slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity 0.6s var(--ease-out) 0.1s, transform 0.8s var(--ease-out) 0.1s, visibility 0s;
}
.season__meta { display: flex; gap: 12px; align-items: center; white-space: nowrap; font-size: 14px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg-soft); }
.season__meta .pill { padding: 5px 11px; border-radius: 999px; background: rgba(255, 223, 0, 0.14); color: var(--yellow); letter-spacing: 0.06em; }
.season__name {
  /* 16cqi: la palabra más larga («Comeback») nunca supera el ancho de su columna */
  font-size: min(clamp(48px, 6.4vw, 104px), 16cqi);
  font-weight: 800;
  font-variation-settings: "wdth" 115;
  letter-spacing: -0.045em;
  line-height: 0.9;
}
.season__tag { font-family: var(--font-serif); font-style: italic; font-size: clamp(24px, 2.4vw, 34px); line-height: 1.15; color: var(--fg-soft); }
.season__slide .link-arrow { color: var(--yellow); justify-self: start; margin-top: 6px; }

/* Lista estática (sin animación / reduced motion) */
.no-motion .season__track { height: auto; }
.no-motion .season__sticky { position: relative; height: auto; padding-block: 40px 120px; }
.no-motion .season__stage { grid-template-columns: 1fr; }
.no-motion .dial { display: none; }
.no-motion .season__count { display: none; }
.no-motion .season__slides { min-height: 0; display: grid; gap: 56px; }
.no-motion .season__slide { position: static; opacity: 1; visibility: visible; transform: none; }

/* ==========================================================================
   E · Por qué Tic Tac
   ========================================================================== */
.why { padding-block: clamp(120px, 15vw, 210px); }
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1.5px solid var(--navy);
  margin-bottom: clamp(80px, 10vw, 140px);
}
.stat { padding: 32px 24px 0 0; display: grid; gap: 8px; }
.stat + .stat { padding-left: 24px; border-left: 1px solid rgba(8, 32, 74, 0.14); }
.stat__num {
  font-size: clamp(64px, 8.4vw, 136px);
  font-weight: 800;
  font-variation-settings: "wdth" 115;
  letter-spacing: -0.06em;
  line-height: 0.85;
  font-variant-numeric: tabular-nums;
}
.stat__label { font-size: 16px; font-weight: 600; color: var(--fg-soft); max-width: 22ch; }

.reasons { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(16px, 2vw, 24px); }
.reason {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 24px;
  padding: clamp(28px, 3vw, 44px);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 1px 0 rgba(8, 32, 74, 0.06), 0 30px 60px -40px rgba(8, 32, 74, 0.35);
  transition: transform 0.6s var(--ease-out), box-shadow 0.6s var(--ease-out), background-color 0.4s;
  overflow: hidden;
}
.reason:hover { transform: translateY(-6px); box-shadow: 0 1px 0 rgba(8, 32, 74, 0.06), 0 40px 70px -36px rgba(8, 32, 74, 0.45); }
.reason__icon {
  grid-row: span 2;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--navy);
  display: grid; place-items: center;
  color: var(--yellow);
  transition: transform 0.7s var(--ease-out);
}
.reason:hover .reason__icon { transform: rotate(-30deg); }
.reason__icon svg { width: 26px; height: 26px; }
.reason__title { font-size: clamp(22px, 2vw, 28px); font-weight: 800; letter-spacing: -0.025em; line-height: 1.1; font-variation-settings: "wdth" 108; }
.reason__text { color: var(--fg-soft); font-size: 17px; }
.reason__num { position: absolute; right: 28px; top: 24px; font-size: 13px; font-weight: 700; letter-spacing: 0.14em; color: rgba(8, 32, 74, 0.35); }

/* ==========================================================================
   F · Galería
   ========================================================================== */
.gallery { padding-top: clamp(110px, 14vw, 200px); }
.gallery__track { position: relative; height: var(--gallery-h, auto); }
.gallery__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.gallery__rail {
  display: flex;
  gap: clamp(14px, 1.6vw, 24px);
  padding-inline: var(--gutter);
  will-change: transform;
}
.shot {
  position: relative;
  flex: none;
  height: min(56vh, 560px);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--navy);
}
.shot--w { aspect-ratio: 3 / 2; }
.shot--t { aspect-ratio: 4 / 5; }
.shot--s { aspect-ratio: 1; height: min(40vh, 400px); align-self: flex-end; }
.shot--u { align-self: flex-start; }
.shot button { display: block; width: 100%; height: 100%; }
.shot img {
  width: 116%;
  max-width: none;
  height: 100%;
  object-fit: cover;
  transform: translateX(-7%);
  transition: scale 0.9s var(--ease-out);
}
.shot:hover img { scale: 1.04; }
.shot figcaption {
  position: absolute;
  left: 16px; bottom: 16px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(3, 12, 31, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  pointer-events: none;
  transform: translateY(8px);
  opacity: 0;
  transition: opacity 0.4s var(--ease-out), transform 0.5s var(--ease-out);
}
.shot:hover figcaption,
.shot:focus-within figcaption { opacity: 1; transform: none; }
.shot figure { height: 100%; }
.shot__link { position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.shot--cta {
  aspect-ratio: 4 / 5;
  display: grid;
  align-content: space-between;
  padding: 36px;
  background: var(--yellow);
  color: var(--navy);
  transition: transform 0.6s var(--ease-out);
}
.shot--cta:hover { transform: rotate(-1.5deg); }
.shot--cta strong { font-size: clamp(36px, 3.6vw, 56px); font-weight: 800; letter-spacing: -0.04em; line-height: 0.95; font-variation-settings: "wdth" 112; }
.shot--cta .round {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--yellow);
  display: grid; place-items: center;
  transition: transform 0.6s var(--ease-out);
}
.shot--cta:hover .round { transform: rotate(45deg); }
.shot--cta .round svg { width: 26px; height: 26px; }

.gallery__progress {
  position: absolute;
  left: var(--gutter); right: var(--gutter);
  bottom: 6vh;
  height: 2px;
  background: var(--line);
  border-radius: 2px;
  overflow: hidden;
}
.gallery__progress i { position: absolute; inset: 0; background: var(--yellow); transform-origin: left; transform: scaleX(var(--p, 0)); }
.gallery__hint { display: none; } /* solo en móvil (ver media query) */

/* Lightbox */
.lightbox {
  width: 100vw; height: 100vh;
  max-width: none; max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(3, 12, 31, 0.94);
  color: var(--white);
}
.lightbox::backdrop { background: rgba(3, 12, 31, 0.6); backdrop-filter: blur(6px); }
.lightbox[open] { display: grid; grid-template-rows: auto 1fr auto; animation: fade-in 0.35s var(--ease-out); }
.lightbox__bar { display: flex; justify-content: space-between; align-items: center; padding: 18px var(--gutter); }
.lightbox__caption { font-weight: 700; letter-spacing: 0.02em; }
.lightbox__counter { color: var(--mist); font-variant-numeric: tabular-nums; margin-left: 12px; font-weight: 500; }
.lightbox__stage { position: relative; display: grid; place-items: center; padding: 0 var(--gutter); min-height: 0; }
.lightbox__stage img { max-height: 100%; max-width: 100%; object-fit: contain; border-radius: 12px; animation: zoom-in 0.45s var(--ease-out); }
.lightbox__nav { display: flex; justify-content: center; gap: 12px; padding: 18px; }
.icon-btn {
  width: 52px; height: 52px;
  border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition: background-color 0.3s, color 0.3s, transform 0.4s var(--ease-out);
}
.icon-btn:hover { background: var(--yellow); color: var(--navy); border-color: var(--yellow); transform: scale(1.06); }
.icon-btn svg { width: 20px; height: 20px; }

/* ==========================================================================
   Equipo
   ========================================================================== */
.team { padding-block: clamp(110px, 14vw, 200px); }
.team__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(14px, 1.6vw, 24px);
}
.member { grid-column: span 3; display: grid; gap: 16px; align-content: start; }
.member__photo {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
}

/* Tarjeta que completa la fila junto a Nicolás y Ángela (solo en escritorio) */
.team-card { grid-column: span 6; display: grid; }
.team-card__link {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(28px, 3vw, 44px);
  border-radius: var(--radius);
  background: var(--navy);
  color: var(--white);
  transition: transform 0.6s var(--ease-out), box-shadow 0.6s var(--ease-out);
}
.team-card__link:hover { transform: translateY(-6px); box-shadow: 0 40px 70px -36px rgba(8, 32, 74, 0.55); }
.team-card__tag { font-size: 13px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--yellow); }
.team-card__title {
  font-size: clamp(40px, 4.4vw, 72px);
  font-weight: 800;
  font-variation-settings: "wdth" 112;
  letter-spacing: -0.04em;
  line-height: 0.95;
  max-width: 11ch;
}
.team-card__title .serif { color: var(--yellow); }
.team-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; font-weight: 700; color: var(--mist); }
.team-card__round {
  flex: none;
  width: 64px; height: 64px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--yellow);
  color: var(--navy);
  transition: transform 0.6s var(--ease-out);
}
.team-card__round svg { width: 24px; height: 24px; }
.team-card__link:hover .team-card__round { transform: rotate(45deg); }
.member__photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease-out);
}
.member:hover .member__photo img { transform: scale(1.05); }
.member__photo--mono {
  display: grid;
  place-items: center;
  background: var(--navy);
  color: var(--yellow);
}
.member__photo--mono span {
  font-size: clamp(56px, 7vw, 110px);
  font-weight: 800;
  font-variation-settings: "wdth" 125;
  letter-spacing: -0.05em;
}
.member__photo--mono::before {
  content: "";
  position: absolute;
  width: min(62%, 220px);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1.5px dashed rgba(255, 223, 0, 0.4);
  animation: spin 60s linear infinite;
}
.member__name { font-size: 24px; font-weight: 800; letter-spacing: -0.025em; font-variation-settings: "wdth" 108; line-height: 1.1; }
.member__role { color: var(--fg-soft); font-size: 15px; font-weight: 500; }
.team__tag { margin-top: 48px; font-family: var(--font-serif); font-style: italic; font-size: clamp(32px, 4vw, 56px); color: var(--fg-soft); }

/* ==========================================================================
   G · Contacto
   ========================================================================== */
.contact { padding-block: clamp(120px, 15vw, 220px) clamp(90px, 10vw, 140px); overflow: hidden; }
/* Amarillo más suave solo para Contacto (el resto de bloques amarillos mantienen #FFDF00) */
.contact[data-theme="yellow"] { --bg: var(--yellow-soft); }
.contact__title { font-size: clamp(64px, 12.5vw, 210px); line-height: 0.84; letter-spacing: -0.055em; font-variation-settings: "wdth" 120; }
.contact__title .serif { font-size: 1.04em; letter-spacing: -0.02em; }
.contact__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(40px, 6vw, 96px);
  margin-top: clamp(56px, 7vw, 100px);
  align-items: start;
}
.contact__mail {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 26px;
}
.mail-address {
  font-size: clamp(22px, 2.6vw, 38px);
  font-weight: 800;
  letter-spacing: -0.03em;
  overflow-wrap: anywhere;
}
.contact__mail .btn:hover .btn__icon { transform: translateX(3px); }

.socials { display: grid; border-top: 1.5px solid var(--navy); }
.social {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 4px;
  border-bottom: 1px solid rgba(8, 32, 74, 0.22);
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 800;
  letter-spacing: -0.025em;
  transition: padding 0.5s var(--ease-out);
}
.social small { display: block; font-size: 14px; font-weight: 600; letter-spacing: 0; opacity: 0.7; }
.social__ico {
  flex: none;
  width: 52px; height: 52px;
  border-radius: 50%;
  display: grid; place-items: center;
  border: 1.5px solid var(--navy);
  transition: background-color 0.35s, color 0.35s, transform 0.5s var(--ease-out);
}
.social__ico svg { width: 22px; height: 22px; }
.social:hover { padding-inline: 16px 4px; }
.social:hover .social__ico { background: var(--navy); color: var(--yellow); transform: rotate(-12deg); }

.playlist {
  margin-top: clamp(56px, 7vw, 96px);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 22px 22px 22px 28px;
  border-radius: var(--radius);
  background: var(--navy);
  color: var(--white);
}
.playlist__disc {
  width: 64px; height: 64px;
  border-radius: 50%;
  background:
    radial-gradient(circle, var(--yellow) 0 14%, var(--navy) 15% 18%, transparent 19%),
    repeating-radial-gradient(circle, #0e2c63 0 2px, #0a2554 2px 4px);
  animation: spin 6s linear infinite;
  animation-play-state: paused;
}
.playlist:hover .playlist__disc { animation-play-state: running; }
.playlist__title { font-size: 20px; font-weight: 800; letter-spacing: -0.02em; }
.playlist__text { color: var(--mist); font-size: 15px; }
.playlist__embed { grid-column: 1 / -1; }
.playlist__embed iframe { width: 100%; height: 352px; border: 0; border-radius: 12px; display: block; }

/* ==========================================================================
   H · Footer
   ========================================================================== */
.footer { padding-block: clamp(64px, 7vw, 88px) 24px; overflow: hidden; }
.footer__grid {
  display: grid;
  grid-template-columns: 1.3fr repeat(3, 1fr);
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
}
.footer__brand img { width: 120px; }
.footer__brand p { margin-top: 12px; color: var(--mist); max-width: 30ch; font-size: 14px; }
.footer__title { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--yellow); margin-bottom: 12px; }
.footer__links { display: grid; gap: 6px; font-size: 15px; }
.footer__links a { color: var(--mist); font-weight: 500; transition: color 0.3s, transform 0.4s var(--ease-out); display: inline-block; }
.footer__links a:hover { color: var(--white); transform: translateX(4px); }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-top: 20px;
  padding-right: 64px; /* hueco para el botón flotante «Volver arriba» */
  font-size: 13px;
  color: var(--mist);
}
.footer__bottom a { color: var(--white); }
.footer__bottom a:hover { color: var(--yellow); }
/* ==========================================================================
   Volver arriba (global, flotante): su anillo marca el avance como un reloj
   ========================================================================== */
.to-top {
  position: fixed;
  right: max(16px, calc(env(safe-area-inset-right) + 12px));
  bottom: max(16px, calc(env(safe-area-inset-bottom) + 12px));
  z-index: 95;
  width: 54px; height: 54px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--navy);
  color: var(--yellow);
  box-shadow: 0 12px 30px -10px rgba(3, 12, 31, 0.6), inset 0 0 0 1px rgba(255, 255, 255, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px) scale(0.9);
  transition: opacity 0.4s var(--ease-out), transform 0.5s var(--ease-out), visibility 0s 0.4s, background-color 0.3s, color 0.3s;
}
.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity 0.4s var(--ease-out), transform 0.5s var(--ease-out), visibility 0s, background-color 0.3s, color 0.3s;
}
.to-top:hover { background: var(--yellow); color: var(--navy); transform: translateY(-3px); }
.to-top:active { transform: scale(0.94); }
.to-top:focus-visible { outline: 2px solid var(--yellow); outline-offset: 4px; }
.to-top__icon { width: 20px; height: 20px; transition: transform 0.45s var(--ease-out); }
.to-top:hover .to-top__icon { transform: translateY(-2px); }
.to-top__ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); pointer-events: none; }
.to-top__ring circle { fill: none; stroke: rgba(255, 255, 255, 0.12); stroke-width: 2; }
.to-top__ring .to-top__progress { stroke: var(--yellow); stroke-dasharray: 100; stroke-dashoffset: 100; stroke-linecap: round; }
.to-top:hover .to-top__progress { stroke: var(--navy); }
.menu-open .to-top, .lightbox-open .to-top { opacity: 0; visibility: hidden; }
html.lightbox-open { overflow: hidden; }

/* ==========================================================================
   Páginas interiores: cabecera de página y banda final
   ========================================================================== */
.page-hero {
  position: relative;
  min-height: min(86vh, 860px);
  display: grid;
  align-items: end;
  padding: calc(var(--header-h) + 72px) 0 clamp(96px, 12vw, 160px);
  overflow: hidden;
  isolation: isolate;
}
.page-hero__bg { position: absolute; inset: 0; z-index: -1; }
.page-hero__bg img { width: 100%; height: 118%; object-fit: cover; opacity: 0.5; }
.page-hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, var(--ink) 0%, rgba(3, 12, 31, 0.55) 55%, rgba(3, 12, 31, 0.7) 100%),
    linear-gradient(90deg, rgba(8, 32, 74, 0.7), rgba(8, 32, 74, 0) 70%);
}
.page-hero__inner { display: grid; gap: 22px; }
.page-hero h1 { max-width: 14ch; }
.page-hero .lead { color: rgba(255, 255, 255, 0.82); max-width: 46ch; }
.page-hero--album { min-height: min(78vh, 760px); }
.serif-lead { font-family: var(--font-serif); font-style: italic; font-size: clamp(24px, 2.6vw, 36px); }
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  justify-self: start;
  font-weight: 700;
  color: var(--yellow);
  margin-bottom: 8px;
}
.back-link svg { width: 18px; height: 18px; transition: transform 0.45s var(--ease-out); }
.back-link:hover svg { transform: translateX(-4px); }
.notice { padding: 12px 18px; border-radius: 14px; background: rgba(255, 223, 0, 0.12); color: var(--yellow); justify-self: start; font-weight: 600; }

.cta-band { padding-block: clamp(100px, 12vw, 170px) clamp(140px, 16vw, 220px); }
.cta-band__inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 32px; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-band .btn--ghost { --btn-fg: var(--navy); }

/* Evolución (página de historia) */
.evolution { padding-block: clamp(110px, 14vw, 190px) clamp(140px, 16vw, 220px); }
.timeline {
  --line: 0;
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(20px, 2.4vw, 36px);
  padding-top: 44px;
}
.timeline::before,
.timeline::after {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 9px;
  height: 2px;
  background: var(--line);
}
.timeline::after { background: var(--yellow); transform-origin: left; transform: scaleX(var(--line)); }
.no-motion .timeline::after { transform: none; }
.milestone { position: relative; display: grid; gap: 10px; align-content: start; }
.milestone::before {
  content: "";
  position: absolute;
  top: -44px; left: 0;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--navy-900);
  border: 2px solid var(--yellow);
  box-shadow: 0 0 0 6px var(--navy-900);
}
.milestone__date { font-size: 14px; font-weight: 700; letter-spacing: 0.14em; color: var(--yellow); font-variant-numeric: tabular-nums; }
.milestone__place { font-size: clamp(30px, 3.2vw, 48px); font-weight: 800; font-variation-settings: "wdth" 115; letter-spacing: -0.04em; line-height: 1; }
.milestone__text { color: var(--fg-soft); }
.milestone .link-arrow { color: var(--yellow); justify-self: start; }
.evolution__more { margin-top: clamp(48px, 6vw, 80px); }
.evolution__more .link-arrow { color: var(--yellow); font-size: 18px; }
.reason__text .link-arrow { margin-left: 4px; }

/* ==========================================================================
   Galerías por fiesta
   ========================================================================== */
.albums, .album { padding-block: clamp(80px, 9vw, 120px) clamp(140px, 16vw, 220px); }
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: clamp(36px, 5vw, 60px); }
.chip {
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 14px;
  font-weight: 700;
  color: var(--fg-soft);
  transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}
.chip:hover { color: var(--white); border-color: rgba(255, 255, 255, 0.4); }
.chip[aria-pressed="true"] { background: var(--yellow); color: var(--navy); border-color: var(--yellow); }

.albums__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
  gap: clamp(16px, 2vw, 28px);
}
.album-card__link { display: grid; gap: 18px; }
.album-card__media {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--navy);
}
.album-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out), filter 0.6s; }
.album-card__link:hover .album-card__media img { transform: scale(1.06); }
.album-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(3, 12, 31, 0.55), rgba(3, 12, 31, 0) 45%);
}
.album-card__mono {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20%;
  text-align: center;
  background: radial-gradient(circle at 50% 40%, var(--navy-700), var(--navy-900));
  color: var(--yellow);
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 800;
  font-variation-settings: "wdth" 120;
  letter-spacing: -0.03em;
  line-height: 1;
}
.album-card__mono::before {
  content: "";
  position: absolute;
  width: 70%;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1.5px dashed rgba(255, 223, 0, 0.35);
  animation: spin 60s linear infinite;
}
.album-card__count,
.album-card__badge {
  position: absolute;
  left: 16px; bottom: 16px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 13px;
  border-radius: 999px;
  background: rgba(3, 12, 31, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-size: 13px;
  font-weight: 700;
}
.album-card__count svg { width: 16px; height: 16px; }
.album-card__badge { background: var(--yellow); color: var(--navy); }
.album-card__date { font-size: 14px; font-weight: 600; color: var(--fg-soft); }
.album-card__title {
  margin-top: 4px;
  font-size: clamp(28px, 2.6vw, 38px);
  font-weight: 800;
  font-variation-settings: "wdth" 112;
  letter-spacing: -0.04em;
  line-height: 1;
  transition: color 0.3s;
}
.album-card__link:hover .album-card__title { color: var(--yellow); }
.album-card__tag { margin-top: 8px; font-family: var(--font-serif); font-style: italic; font-size: 21px; color: var(--fg-soft); }

/* Álbum de una fiesta */
.album-meta { display: flex; flex-wrap: wrap; gap: 12px 40px; margin-top: 8px; }
.album-meta dt { font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--yellow); }
.album-meta dd { margin: 4px 0 0; font-size: 18px; font-weight: 600; }
.album__hint { color: var(--fg-soft); margin-bottom: 28px; }
.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(46%, 240px), 1fr));
  grid-auto-flow: dense;
  gap: clamp(8px, 1vw, 14px);
}
.photo:nth-child(10n + 1) { grid-column: span 2; grid-row: span 2; }
.photo__btn {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--navy);
  position: relative;
}
.photo__btn img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease-out), opacity 0.4s; }
.photo__btn::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 0 var(--yellow);
  transition: box-shadow 0.35s var(--ease-out);
}
.photo__btn:hover img { transform: scale(1.06); }
.photo__btn:hover::after { box-shadow: inset 0 0 0 3px var(--yellow); }

.empty-album {
  display: grid;
  justify-items: center;
  gap: 18px;
  padding: clamp(48px, 8vw, 96px) 24px;
  border-radius: var(--radius);
  border: 1px dashed var(--line);
  text-align: center;
}
.empty-album p { color: var(--fg-soft); max-width: 46ch; }
.empty-album__clock { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 223, 0, 0.12); color: var(--yellow); }
.empty-album__clock svg { width: 30px; height: 30px; }
.empty-album__title { font-size: clamp(26px, 3vw, 40px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; }

.album-nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  margin-top: clamp(56px, 7vw, 96px);
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.album-nav__link { display: grid; gap: 6px; font-size: clamp(22px, 2.4vw, 32px); font-weight: 800; letter-spacing: -0.03em; transition: color 0.3s; }
.album-nav__link small { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg-soft); }
.album-nav__link small svg { width: 14px; height: 14px; }
.album-nav__link:hover { color: var(--yellow); }
.album-nav__link--next { text-align: right; justify-items: end; }
.album-nav__all { padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line); font-weight: 700; transition: background-color 0.3s, color 0.3s; }
.album-nav__all:hover { background: var(--yellow); color: var(--navy); }

.lightbox__tools { display: flex; gap: 10px; }

/* Transiciones suaves entre páginas (navegadores compatibles) */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  .header { view-transition-name: site-header; }
  ::view-transition-old(root) { animation: 0.28s var(--ease-out) both vt-out; }
  ::view-transition-new(root) { animation: 0.45s var(--ease-out) both vt-in; }
}
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; transform: translateY(12px); } }

/* ==========================================================================
   Revelados (estado inicial solo si hay JS y movimiento)
   ========================================================================== */
.motion [data-reveal] { opacity: 0; transform: translateY(40px); }
.motion [data-reveal="fade"] { transform: none; }
.motion [data-reveal="scale"] { transform: scale(0.94); }
.motion [data-reveal].is-in {
  opacity: 1;
  transform: none;
  transition: opacity 1s var(--ease-out), transform 1.1s var(--ease-out);
  transition-delay: var(--d, 0s);
}

.motion .split-line {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding: 0 0.06em 0.1em;
  margin: 0 -0.06em -0.1em;
}
.motion .split-line > span { display: inline-block; transform: translateY(110%); }
.motion .is-in .split-line > span { transform: none; transition: transform 1.1s var(--ease-out); transition-delay: var(--d, 0s); }

/* Entrada del hero */
.motion .hero [data-hero-line] { transform: translateY(110%); }
.motion .hero [data-hero-in] { opacity: 0; transform: translateY(24px); }
.motion .hero__media > * { scale: 1.08; }
.motion.is-loaded .hero [data-hero-line] { transform: none; transition: transform 1.3s var(--ease-out); }
.motion.is-loaded .hero .line:nth-of-type(2) [data-hero-line] { transition-delay: 0.08s; }
.motion.is-loaded .hero .line:nth-of-type(3) [data-hero-line] { transition-delay: 0.16s; }
.motion.is-loaded .hero .line:nth-of-type(4) [data-hero-line] { transition-delay: 0.24s; }
.motion.is-loaded .hero [data-hero-in] { opacity: 1; transform: none; transition: opacity 1s var(--ease-out) 0.45s, transform 1.2s var(--ease-out) 0.45s; }
.motion.is-loaded .hero__media > * { scale: 1; transition: scale 2.4s var(--ease-out), opacity 1.2s var(--ease-out); }

/* ==========================================================================
   Keyframes
   ========================================================================== */
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 223, 0, 0.65); }
  70% { box-shadow: 0 0 0 10px rgba(255, 223, 0, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 223, 0, 0); }
}
@keyframes scroll-cue {
  0% { background-position: 0 -40%; }
  100% { background-position: 0 180%; }
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes fade-in { from { opacity: 0; } }
@keyframes zoom-in { from { opacity: 0; transform: scale(0.96); } }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (min-width: 901px) and (max-height: 760px) {
  .hero__intro .lead { display: none; }
  .hero__intro { margin-top: 18px; }
  .countdown-card { gap: 12px; padding: 18px 20px 20px; }
}

@media (max-width: 1100px) {
  .nav__link { padding: 10px 10px; font-size: 14px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { padding-left: 0; border-left: 0; }
  .stat:nth-child(n + 3) { padding-top: 40px; }
  .member { grid-column: span 6; }
  .team-card { display: none; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .nav, .header .btn--desk { display: none; }
  .burger { display: block; }
  .hero { height: auto; }
  .hero__sticky { position: relative; height: auto; min-height: 100vh; min-height: 100svh; padding-top: calc(var(--header-h) + 48px); }
  .hero__scroll { display: none; }
  .hero__content { grid-template-columns: 1fr; }
  .countdown-card { grid-column: 1; grid-row: auto; margin-top: 28px; }
  .story__grid { grid-template-columns: 1fr; }
  .story__aside { position: relative; top: 0; }
  .season__stage { grid-template-columns: 1fr; gap: 20px; align-content: center; justify-items: center; }
  .dial { width: min(44vh, 80vw); }
  .season__name { font-size: min(clamp(40px, 11vw, 72px), 16cqi); }
  .season__tag { font-size: 22px; }
  .season__info { justify-items: center; text-align: center; }
  .season__slide { justify-items: center; }
  .season__slide .link-arrow { justify-self: center; }
  .season__slides { min-height: 230px; width: 100%; }
  .season__meta { justify-content: center; }
  .season__count { justify-content: center; }
  .reasons { grid-template-columns: 1fr; }
  .contact__grid { grid-template-columns: 1fr; }
  .manifesto__stamp { top: 8%; right: 4vw; }
}

@media (max-width: 767px) {
  body { font-size: 16px; }
  .hero__scroll { display: none; }
  .countdown-card { width: 100%; }
  .countdown-card__live { font-size: 0; gap: 0; }
  .countdown__num { font-size: 24px; }

  /* Galería: carrusel nativo con scroll-snap */
  .gallery__track { height: auto !important; }
  .gallery__sticky { position: relative; height: auto; display: block; padding-bottom: 100px; }
  .gallery__rail {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    transform: none !important;
    padding-bottom: 8px;
  }
  .gallery__rail::-webkit-scrollbar { display: none; }
  /* Cada foto ocupa menos que la pantalla: la siguiente asoma e invita a deslizar */
  .gallery__rail { scroll-padding-inline: var(--gutter); }
  .shot, .shot--w, .shot--t, .shot--s, .shot--cta {
    width: 76vw;
    max-width: 340px;
    height: auto;
    max-height: none;
    aspect-ratio: 4 / 5;
    align-self: auto;
    scroll-snap-align: start;
  }
  .shot img { width: 100%; transform: none; }
  .shot figcaption { opacity: 1; transform: none; }
  .gallery__sticky { padding-bottom: 90px; }

  /* Barra de avance y aviso "Desliza" */
  .gallery__progress { display: block; position: relative; left: auto; right: auto; bottom: auto; margin: 22px var(--gutter) 0; }
  .gallery__progress i { transition: transform 0.25s var(--ease-out); }
  .gallery__hint {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 14px var(--gutter) 0;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--fg-soft);
    transition: opacity 0.5s var(--ease-out);
  }
  .gallery__hint svg { width: 16px; height: 16px; color: var(--yellow); animation: hint-swipe 1.4s var(--ease-in-out) infinite; }
  .gallery__hint.is-hidden { opacity: 0; }

  /* Empujón inicial: las fotos se desplazan un poco y vuelven */
  .gallery__rail.is-nudging > li { animation: rail-nudge 1.1s var(--ease-in-out); }
}

@keyframes hint-swipe {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(6px); }
}
@keyframes rail-nudge {
  0%, 100% { transform: translateX(0); }
  45% { transform: translateX(-64px); }
}

@media (max-width: 767px) {

  .team__grid { row-gap: 32px; }
  .member { grid-column: span 6; gap: 12px; }
  .member__photo { aspect-ratio: 4 / 5; border-radius: var(--radius-sm); }
  .member__name { font-size: 19px; }
  .member__role { font-size: 13px; }
  .playlist { grid-template-columns: auto 1fr; }
  .playlist .btn { grid-column: 1 / -1; justify-content: center; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 24px 20px; }
  .footer__brand { grid-column: 1 / -1; }
  .manifesto__stamp { position: relative; inset: auto; margin: 0 auto 32px; }

  .page-hero { min-height: 72vh; min-height: 72svh; padding-top: calc(var(--header-h) + 48px); }
  .timeline { grid-template-columns: 1fr; padding-top: 0; padding-left: 40px; gap: 40px; }
  .timeline::before, .timeline::after { left: 9px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .timeline::after { transform-origin: top; transform: scaleY(var(--line)); }
  .milestone::before { top: 2px; left: -40px; }
  .photo:nth-child(10n + 1) { grid-column: span 2; grid-row: span 2; }
  .album-nav { grid-template-columns: 1fr 1fr; }
  .album-nav__all { grid-column: 1 / -1; grid-row: 2; justify-self: center; }
  .album-meta { gap: 12px 28px; }
  .to-top { width: 48px; height: 48px; }
}

@media (min-width: 768px) and (max-width: 1100px) {
  .timeline { grid-template-columns: repeat(2, 1fr); row-gap: 64px; }
  .timeline::before, .timeline::after { display: none; }
}

/* ==========================================================================
   Reduced motion
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .hero { height: auto; }
  .hero__sticky { position: relative; }
  .timeline::after { transform: none; }
}
