/* ==========================================================================
   Crono Deportivo — Fase 1
   Identidad visual: negro profundo, rojo de pista y precisión tipográfica.
   ========================================================================== */

@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-var.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Chakra Petch";
  src: url("../fonts/chakra-petch-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Chakra Petch";
  src: url("../fonts/chakra-petch-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Chakra Petch";
  src: url("../fonts/chakra-petch-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #060405;
  --bg-soft: #0b0608;
  --surface: #110a0d;
  --surface-2: #170d11;
  --paper: #f7f1f2;
  --muted: #b4a7ab;
  --muted-2: #8f8186;
  --red: #df2531;
  --red-hot: #ff4b56;
  --red-text: #ff7a82;
  --red-deep: #7c0f17;
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.18);
  --font-display: "Chakra Petch", "Arial Narrow", sans-serif;
  --font-body: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --container: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
  --radius: 22px;
  --header-h: 86px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 20px);
  background: var(--bg);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background:
    radial-gradient(ellipse 70% 45% at 78% 8%, rgba(223, 37, 49, 0.2), transparent 62%),
    radial-gradient(ellipse 50% 40% at 2% 42%, rgba(223, 37, 49, 0.07), transparent 65%),
    var(--bg);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 84px 84px;
  mask-image: radial-gradient(ellipse at 50% 10%, #000 0%, transparent 72%);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  color: inherit;
}

svg {
  display: block;
}

::selection {
  background: var(--red);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--red-hot);
  outline-offset: 4px;
}

.container {
  width: min(100% - (var(--gutter) * 2), var(--container));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--paper);
  color: #15090c;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.page-noise {
  position: fixed;
  inset: 0;
  z-index: 150;
  pointer-events: none;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
}

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

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

.icon {
  width: 18px;
  height: 18px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  border-bottom: 1px solid transparent;
  transition: background 260ms ease, border-color 260ms ease, backdrop-filter 260ms ease;
}

.site-header.is-scrolled {
  background: rgba(6, 4, 5, 0.82);
  border-bottom-color: var(--line);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: none;
}

.brand-mark {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.55;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.brand-needle {
  stroke: var(--red-hot);
  stroke-width: 2.3;
}

.brand-pin {
  fill: var(--red-hot);
  stroke: none;
}

.brand-type {
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-family: var(--font-display);
  line-height: 1;
  text-transform: uppercase;
}

.brand-type strong {
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.brand-type span {
  font-size: 0.61rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  color: var(--muted);
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.2vw, 34px);
  margin-left: auto;
}

.desktop-nav a {
  position: relative;
  padding: 8px 0;
  color: var(--muted);
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  transition: color 180ms ease;
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--red-hot);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms ease;
}

.desktop-nav a:hover,
.desktop-nav a.is-active {
  color: var(--paper);
}

.desktop-nav a:hover::after,
.desktop-nav a.is-active::after {
  transform: scaleX(1);
}

.header-admin {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  color: var(--muted);
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color 180ms ease;
}

.header-admin:hover {
  color: var(--paper);
}

.header-live {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 40px;
  padding: 0 15px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: border-color 180ms ease, background 180ms ease;
}

.header-live .icon {
  width: 14px;
  height: 14px;
  color: var(--red-text);
}

.header-live:hover {
  border-color: rgba(223, 37, 49, 0.7);
  background: rgba(223, 37, 49, 0.1);
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red-hot);
  box-shadow: 0 0 0 0 rgba(255, 75, 86, 0.65);
  animation: live-pulse 2.4s ease-out infinite;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  position: relative;
}

.nav-toggle span {
  position: absolute;
  left: 13px;
  width: 16px;
  height: 1px;
  background: var(--paper);
  transition: transform 180ms ease;
}

.nav-toggle span:first-child {
  top: 18px;
}

.nav-toggle span:last-child {
  top: 24px;
}

.nav-toggle:hover span:first-child {
  transform: translateX(2px);
}

/* ==========================================================================
   Mobile menu
   ========================================================================== */

.mobile-menu {
  position: fixed;
  inset: 0;
  width: 100%;
  max-width: none;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background:
    radial-gradient(ellipse 80% 50% at 85% 0%, rgba(223, 37, 49, 0.22), transparent 70%),
    var(--bg);
  color: var(--paper);
}

.mobile-menu[open] {
  display: flex;
  flex-direction: column;
  animation: menu-in 260ms cubic-bezier(0.22, 1, 0.36, 1);
}

.mobile-menu::backdrop {
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(6px);
}

.mobile-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px var(--gutter);
  border-bottom: 1px solid var(--line);
}

.menu-close {
  position: relative;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.menu-close span {
  position: absolute;
  top: 21px;
  left: 13px;
  width: 16px;
  height: 1px;
  background: var(--paper);
}

.menu-close span:first-child {
  transform: rotate(45deg);
}

.menu-close span:last-child {
  transform: rotate(-45deg);
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  padding: 16px var(--gutter);
}

.mobile-nav a {
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 8vw, 2.8rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
  text-transform: uppercase;
}

.mobile-nav a span {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: var(--red-text);
}

.mobile-nav a:hover {
  color: var(--red-text);
}

.mobile-menu-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: auto;
  padding: 24px var(--gutter) 34px;
  border-top: 1px solid var(--line);
}

/* ==========================================================================
   Shared UI
   ========================================================================== */

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 22px;
  color: var(--muted);
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow span {
  color: var(--red-text);
}

.eyebrow::before {
  content: "";
  width: 30px;
  height: 1px;
  background: var(--red);
}

.section {
  position: relative;
  padding: clamp(84px, 10vw, 132px) 0;
  border-top: 1px solid var(--line);
}

.section-head {
  max-width: 820px;
  margin-bottom: clamp(40px, 5vw, 60px);
}

.section-head-split {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  max-width: none;
}

.section-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5vw, 4.6rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.035em;
  text-transform: uppercase;
  text-wrap: balance;
}

.section-copy {
  max-width: 58ch;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: clamp(0.98rem, 1.2vw, 1.08rem);
  line-height: 1.75;
}

.section-aside {
  max-width: 280px;
  margin: 0 0 6px;
  color: var(--muted-2);
  font-size: 0.9rem;
  line-height: 1.7;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  min-height: 50px;
  padding: 0 23px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  line-height: 1;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 200ms ease, background 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.btn .icon {
  width: 16px;
  height: 16px;
}

.btn-primary {
  background: var(--red);
  color: #fff;
  box-shadow: 0 14px 34px rgba(223, 37, 49, 0.22);
}

.btn-primary:hover {
  background: #c81e29;
  transform: translateY(-2px);
  box-shadow: 0 18px 44px rgba(223, 37, 49, 0.34);
}

.btn-ghost {
  border-color: var(--line-strong);
  color: var(--paper);
  background: rgba(255, 255, 255, 0.02);
}

.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-2px);
}

.btn-large {
  min-height: 58px;
  padding: 0 30px;
  font-size: 0.82rem;
}

.text-link {
  color: var(--muted);
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-bottom: 1px solid transparent;
  transition: color 180ms ease, border-color 180ms ease;
}

.text-link:hover {
  color: var(--paper);
  border-color: var(--red);
}

.micro-note {
  margin: 18px 0 0;
  color: var(--muted-2);
  font-size: 0.78rem;
  line-height: 1.6;
}

.socials {
  display: flex;
  align-items: center;
  gap: 8px;
}

.socials a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--muted);
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease;
}

.socials a:hover {
  color: var(--paper);
  border-color: var(--red);
  background: rgba(223, 37, 49, 0.12);
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  min-height: 100svh;
  padding-top: calc(var(--header-h) + clamp(44px, 7vw, 92px));
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent 0 49.94%, rgba(255, 255, 255, 0.05) 50%, transparent 50.06%),
    linear-gradient(180deg, transparent 0 78%, rgba(255, 255, 255, 0.03) 78.06%, transparent 78.12%);
  mask-image: radial-gradient(ellipse at 70% 30%, #000, transparent 78%);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  align-items: center;
  gap: clamp(24px, 4vw, 40px);
  min-height: calc(100svh - var(--header-h) - 230px);
}

.hero-copy {
  position: relative;
  z-index: 2;
  padding-block: 30px;
}

.hero-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(3.7rem, 8.4vw, 8.2rem);
  font-weight: 700;
  line-height: 0.86;
  letter-spacing: -0.055em;
  text-transform: uppercase;
}

.hero-title > span {
  display: block;
}

.hero-title-accent {
  background: linear-gradient(180deg, #ff6c75 0%, var(--red) 48%, #9f121b 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 16px 40px rgba(223, 37, 49, 0.2));
}

.hero-text {
  max-width: 44ch;
  margin: clamp(24px, 3vw, 34px) 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.25vw, 1.12rem);
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero-index {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin: clamp(38px, 5vw, 62px) 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.hero-index li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 22px 0 0;
  margin-right: 22px;
  color: var(--muted);
  font-family: var(--font-display);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-index li span {
  color: var(--red-text);
  font-size: 0.6rem;
}

.hero-visual {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  min-height: clamp(420px, 44vw, 610px);
}

.hero-visual::before {
  content: "";
  position: absolute;
  width: 78%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(223, 37, 49, 0.28) 0%, rgba(223, 37, 49, 0.08) 38%, transparent 68%);
  filter: blur(22px);
}

.timing-core {
  position: relative;
  width: min(100%, 540px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  transform: perspective(1100px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

.core-glow {
  position: absolute;
  inset: 17%;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 45%, rgba(223, 37, 49, 0.34), rgba(124, 15, 23, 0.12) 55%, transparent 72%);
  filter: blur(8px);
}

.orbit {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.09);
}

.orbit-a {
  inset: 0;
  border-style: dashed;
  border-color: rgba(223, 37, 49, 0.28);
  animation: spin 48s linear infinite;
}

.orbit-b {
  inset: 7%;
  border-color: rgba(255, 255, 255, 0.07);
}

.orbit-c {
  inset: 14%;
  border-color: rgba(223, 37, 49, 0.22);
  animation: spin 34s linear infinite reverse;
}

.orbit-a::before,
.orbit-c::before {
  content: "";
  position: absolute;
  top: -4px;
  left: 50%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red-hot);
  box-shadow: 0 0 18px rgba(255, 75, 86, 0.9);
}

.orbit-c::before {
  top: auto;
  bottom: 10%;
  left: 4%;
  width: 5px;
  height: 5px;
}

.core-card {
  position: relative;
  z-index: 3;
  width: min(76%, 360px);
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 24px;
  background:
    linear-gradient(155deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.025) 38%, rgba(223, 37, 49, 0.08)),
    rgba(11, 6, 8, 0.74);
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.core-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted-2);
  font-family: var(--font-display);
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.core-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--paper);
}

.core-chip i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--red-hot);
  box-shadow: 0 0 10px rgba(255, 75, 86, 0.8);
}

.core-time {
  display: flex;
  align-items: baseline;
  gap: 2px;
  margin: 20px 0 2px;
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 4vw, 3.15rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.045em;
  font-variant-numeric: tabular-nums;
}

.core-ms {
  color: var(--red-text);
}

.core-label {
  color: var(--muted-2);
  font-family: var(--font-display);
  font-size: 0.58rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.core-bars {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 44px;
  margin: 22px 0 18px;
}

.core-bars span {
  flex: 1;
  height: var(--h);
  border-radius: 2px;
  background: linear-gradient(180deg, rgba(255, 75, 86, 0.9), rgba(223, 37, 49, 0.16));
  opacity: 0.72;
}

.core-meta {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--muted-2);
  font-family: var(--font-display);
  font-size: 0.55rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.orbit-label {
  position: absolute;
  z-index: 4;
  display: flex;
  flex-direction: column;
  gap: 2px;
  color: var(--muted-2);
  font-family: var(--font-display);
  font-size: 0.52rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.orbit-label b {
  color: var(--paper);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.orbit-label-a {
  top: 9%;
  right: 0;
  text-align: right;
}

.orbit-label-b {
  bottom: 13%;
  left: -2%;
}

.orbit-label-c {
  top: 46%;
  left: -6%;
}

.orbit-node {
  position: absolute;
  width: 8px;
  height: 8px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 50%;
  background: rgba(6, 4, 5, 0.8);
}

.node-a {
  top: 16%;
  left: 13%;
}

.node-b {
  top: 18%;
  right: 22%;
  width: 5px;
  height: 5px;
  border-color: var(--red-hot);
  background: var(--red-hot);
  box-shadow: 0 0 12px rgba(255, 75, 86, 0.8);
}

.node-c {
  bottom: 21%;
  right: 4%;
}

.hero-bottom {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 10px;
  padding-bottom: 26px;
}

.scroll-cue,
.hero-location {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--muted-2);
  font-family: var(--font-display);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.scroll-cue .icon {
  width: 14px;
  height: 14px;
  color: var(--red-text);
  animation: nudge 2.8s ease-in-out infinite;
}

.hero-location .icon {
  width: 14px;
  height: 14px;
  color: var(--red-text);
}

.ticker {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.018);
}

.ticker-track {
  display: flex;
  align-items: center;
  width: max-content;
  padding: 15px 0;
  animation: marquee 38s linear infinite;
}

.ticker-track span {
  color: var(--muted);
  font-family: var(--font-display);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
}

.ticker-track i {
  width: 5px;
  height: 5px;
  margin: 0 22px;
  border-radius: 50%;
  background: var(--red);
  flex: none;
}

/* ==========================================================================
   Capabilities
   ========================================================================== */

.capability-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 16px;
}

.capability-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 250px;
  padding: clamp(24px, 3vw, 34px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(ellipse 70% 70% at 100% 0%, rgba(223, 37, 49, 0.08), transparent 62%),
    linear-gradient(155deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.008));
  transition: transform 240ms ease, border-color 240ms ease, background 240ms ease;
}

.capability-card:nth-child(1) {
  grid-column: span 7;
}

.capability-card:nth-child(2) {
  grid-column: span 5;
}

.capability-card:nth-child(3) {
  grid-column: span 5;
}

.capability-card:nth-child(4) {
  grid-column: span 7;
}

.capability-card:hover {
  transform: translateY(-4px);
  border-color: rgba(223, 37, 49, 0.38);
  background:
    radial-gradient(ellipse 70% 70% at 100% 0%, rgba(223, 37, 49, 0.15), transparent 62%),
    linear-gradient(155deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.012));
}

.capability-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.capability-index {
  color: var(--red-text);
  font-family: var(--font-display);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
}

.capability-icon {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: var(--red-text);
  stroke-width: 1.35;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.capability-card h3 {
  margin: auto 0 10px;
  padding-top: 32px;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.015em;
  text-transform: uppercase;
}

.capability-card p {
  max-width: 38ch;
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.7;
}

.capability-line {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--red), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 320ms cubic-bezier(0.22, 1, 0.36, 1);
}

.capability-card:hover .capability-line {
  transform: scaleX(1);
}

/* ==========================================================================
   Events
   ========================================================================== */

.event-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(280px, 0.65fr);
  gap: 16px;
}

.event-card {
  position: relative;
  padding: clamp(26px, 4vw, 44px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    radial-gradient(ellipse 65% 75% at 100% 50%, rgba(223, 37, 49, 0.18), transparent 64%),
    linear-gradient(150deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.008));
}

.event-card-head {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--line);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border: 1px solid rgba(255, 75, 86, 0.32);
  border-radius: 999px;
  background: rgba(223, 37, 49, 0.1);
  color: var(--red-text);
  font-family: var(--font-display);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.status-pill i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--red-hot);
}

.event-series {
  color: var(--muted-2);
  font-family: var(--font-display);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.event-card-main {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  gap: clamp(24px, 4vw, 52px);
  padding: 36px 0 30px;
}

.event-date {
  display: flex;
  flex-direction: column;
  flex: none;
  font-family: var(--font-display);
  line-height: 0.82;
}

.event-day {
  font-size: clamp(4.4rem, 9vw, 7.4rem);
  font-weight: 700;
  letter-spacing: -0.07em;
}

.event-month {
  margin-top: 8px;
  color: var(--red-text);
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.event-year {
  margin-top: 5px;
  color: var(--muted-2);
  font-size: 0.66rem;
  letter-spacing: 0.24em;
}

.event-info h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.4vw, 3rem);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.035em;
  text-transform: uppercase;
}

.event-stage {
  margin: 5px 0 0;
  color: var(--red-text);
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.event-place {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.event-place .icon {
  width: 15px;
  height: 15px;
  color: var(--red-text);
}

.event-note {
  margin: 8px 0 0;
  color: var(--muted-2);
  font-size: 0.84rem;
}

.event-actions {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.event-orbit {
  position: absolute;
  top: 50%;
  right: -12%;
  width: 52%;
  aspect-ratio: 1;
  transform: translateY(-50%);
  pointer-events: none;
  opacity: 0.65;
}

.event-orbit-ring {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(223, 37, 49, 0.28);
  border-radius: 50%;
}

.event-orbit-ring-b {
  inset: 18%;
  border-color: rgba(255, 255, 255, 0.08);
}

.event-orbit-dot {
  position: absolute;
  top: 12%;
  left: 20%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red-hot);
  box-shadow: 0 0 16px rgba(255, 75, 86, 0.85);
}

.event-aside {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.018);
}

.aside-label {
  margin: 0;
  color: var(--red-text);
  font-family: var(--font-display);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.aside-copy {
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

.calendar-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.16);
}

.calendar-item.is-active {
  border-color: rgba(223, 37, 49, 0.34);
}

.calendar-item.is-muted {
  border-style: dashed;
  background: transparent;
  opacity: 0.62;
}

.calendar-date {
  color: var(--red-text);
  font-family: var(--font-display);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.calendar-name {
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.2;
  text-transform: uppercase;
}

.calendar-place {
  color: var(--muted-2);
  font-size: 0.74rem;
}

/* ==========================================================================
   Live
   ========================================================================== */

.live-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--surface);
}

.live-media {
  position: relative;
  display: block;
  min-height: 480px;
  overflow: hidden;
  isolation: isolate;
}

.live-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.15) brightness(0.68);
  transition: transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

.live-media-tint {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(6, 4, 5, 0.1) 0%, rgba(6, 4, 5, 0.46) 66%, rgba(6, 4, 5, 0.9) 100%),
    linear-gradient(120deg, rgba(223, 37, 49, 0.42), transparent 55%);
  mix-blend-mode: multiply;
}

.live-media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(180deg, transparent 0 3px, rgba(0, 0, 0, 0.16) 3px 4px);
  opacity: 0.4;
}

.live-media:hover img {
  transform: scale(1.035);
}

.live-badge {
  position: absolute;
  top: 22px;
  left: 22px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(6, 4, 5, 0.58);
  color: var(--paper);
  font-family: var(--font-display);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

.live-badge i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red-hot);
  animation: live-pulse 2.4s ease-out infinite;
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 86px;
  height: 86px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  background: rgba(6, 4, 5, 0.42);
  color: #fff;
  transform: translate(-50%, -50%);
  backdrop-filter: blur(10px);
  transition: background 200ms ease, transform 200ms ease, border-color 200ms ease;
}

.play-button .icon {
  width: 26px;
  height: 26px;
  margin-left: 4px;
}

.live-media:hover .play-button {
  background: var(--red);
  border-color: var(--red);
  transform: translate(-50%, -50%) scale(1.06);
}

.live-media-meta {
  position: absolute;
  left: 22px;
  bottom: 22px;
  z-index: 2;
  color: rgba(255, 255, 255, 0.82);
  font-family: var(--font-display);
  font-size: 0.64rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.live-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(28px, 4vw, 50px);
}

.live-copy .section-title {
  font-size: clamp(2rem, 3.4vw, 3.2rem);
}

.live-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.live-meta .icon {
  width: 15px;
  height: 15px;
  color: var(--red-text);
}

.live-text {
  margin: 22px 0 28px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.75;
}

/* ==========================================================================
   About
   ========================================================================== */

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(40px, 5vw, 76px);
}

.about-media {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid var(--line);
  isolation: isolate;
}

.about-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  filter: grayscale(1) sepia(0.45) saturate(2.8) hue-rotate(318deg) contrast(1.16) brightness(0.66);
}

.about-tint {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(223, 37, 49, 0.08) 0%, rgba(6, 4, 5, 0.62) 100%),
    linear-gradient(120deg, rgba(223, 37, 49, 0.36), transparent 58%);
  mix-blend-mode: multiply;
}

.about-media figcaption {
  position: absolute;
  left: 22px;
  bottom: 20px;
  color: rgba(255, 255, 255, 0.78);
  font-family: var(--font-display);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.about-copy .section-title {
  font-size: clamp(2.1rem, 4.2vw, 3.9rem);
}

.pillars {
  display: flex;
  flex-direction: column;
  margin: 36px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.pillars li {
  display: flex;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.pillar-index {
  flex: none;
  padding-top: 3px;
  color: var(--red-text);
  font-family: var(--font-display);
  font-size: 0.6rem;
  letter-spacing: 0.16em;
}

.pillars h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.pillars p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

/* ==========================================================================
   Contact
   ========================================================================== */

.contact {
  overflow: hidden;
  border-top: 1px solid var(--line);
}

.contact-glow {
  position: absolute;
  top: 50%;
  right: -18%;
  width: 60vw;
  max-width: 760px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(223, 37, 49, 0.2), transparent 65%);
  transform: translateY(-50%);
  pointer-events: none;
}

.contact-inner {
  position: relative;
  z-index: 1;
}

.contact-title {
  max-width: 1000px;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6.4vw, 6.6rem);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.05em;
  text-transform: uppercase;
  text-wrap: balance;
}

.contact-copy {
  max-width: 58ch;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.3vw, 1.1rem);
  line-height: 1.75;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.contact-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 54px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.contact-meta > div {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.meta-label {
  color: var(--red-text);
  font-family: var(--font-display);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.contact-meta a,
.contact-meta p {
  margin: 0;
  color: var(--paper);
  font-size: 0.95rem;
}

.contact-meta a:hover {
  color: var(--red-text);
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  padding: 52px 0 26px;
  border-top: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.22);
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--line);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 26px;
}

.footer-nav a {
  color: var(--muted);
  font-family: var(--font-display);
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color 180ms ease;
}

.footer-nav a:hover {
  color: var(--red-text);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 26px;
  padding-top: 22px;
  color: var(--muted-2);
  font-size: 0.72rem;
}

.footer-bottom p {
  margin: 0;
}

.back-top {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-left: auto;
  color: var(--muted);
  font-family: var(--font-display);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.back-top .icon {
  width: 14px;
  height: 14px;
  transform: rotate(180deg);
}

.back-top:hover {
  color: var(--red-text);
}

/* ==========================================================================
   Animations
   ========================================================================== */

.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 700ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.capability-card:nth-child(2) {
  transition-delay: 70ms;
}

.capability-card:nth-child(3) {
  transition-delay: 140ms;
}

.capability-card:nth-child(4) {
  transition-delay: 210ms;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes marquee {
  to {
    transform: translateX(-33.333%);
  }
}

@keyframes live-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 75, 86, 0.55);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(255, 75, 86, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 75, 86, 0);
  }
}

@keyframes nudge {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(4px);
  }
}

@keyframes menu-in {
  from {
    opacity: 0;
    transform: translateY(-12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1100px) {
  .desktop-nav {
    gap: 18px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr);
  }

  .timing-core {
    width: min(100%, 470px);
  }

  .orbit-label-c {
    display: none;
  }
}

@media (max-width: 900px) {
  :root {
    --header-h: 74px;
  }

  .desktop-nav,
  .header-admin,
  .header-live {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .hero {
    padding-top: calc(var(--header-h) + 36px);
  }

  .hero-grid {
    grid-template-columns: 1fr;
    min-height: 0;
    gap: 10px;
  }

  .hero-copy {
    padding-block: 20px 0;
  }

  .hero-title {
    font-size: clamp(3.4rem, 13vw, 6.4rem);
  }

  .hero-text {
    max-width: 52ch;
  }

  .hero-visual {
    min-height: 0;
    padding: 20px 0 10px;
  }

  .timing-core {
    width: min(100%, 440px);
  }

  .hero-bottom {
    padding-top: 20px;
  }

  .section-head-split {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }

  .section-aside {
    max-width: 46ch;
  }

  .capability-card:nth-child(n) {
    grid-column: span 6;
  }

  .event-grid {
    grid-template-columns: 1fr;
  }

  .event-aside {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }

  .event-aside .aside-label,
  .event-aside .aside-copy {
    grid-column: 1 / -1;
  }

  .live-panel {
    grid-template-columns: 1fr;
  }

  .live-media {
    min-height: 340px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .about-media {
    order: 2;
  }

  .about-copy {
    order: 1;
  }

  .contact-meta {
    grid-template-columns: 1fr 1fr;
  }

  .footer-top {
    flex-wrap: wrap;
  }

  .footer-nav {
    order: 3;
    width: 100%;
  }
}

@media (max-width: 640px) {
  .header-inner {
    gap: 14px;
  }

  .brand-type {
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
  }

  .brand-type strong {
    font-size: 0.92rem;
  }

  .brand-type span {
    font-size: 0.52rem;
    letter-spacing: 0.2em;
  }

  .hero-title {
    font-size: clamp(3rem, 15vw, 4.8rem);
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-index li {
    flex: 1 1 30%;
    padding-right: 8px;
    margin-right: 8px;
  }

  .timing-core {
    width: min(100%, 360px);
  }

  .core-card {
    width: 82%;
    padding: 18px;
  }

  .core-time {
    font-size: 2.15rem;
  }

  .orbit-label {
    display: none;
  }

  .hero-location {
    display: none;
  }

  .hero-bottom {
    justify-content: center;
    padding-bottom: 20px;
  }

  .capability-card:nth-child(n) {
    grid-column: 1 / -1;
    min-height: 220px;
  }

  .event-card-main {
    align-items: flex-start;
    flex-direction: column;
    gap: 22px;
  }

  .event-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }

  .event-aside {
    display: flex;
  }

  .event-orbit {
    width: 78%;
    right: -30%;
    opacity: 0.35;
  }

  .live-media {
    min-height: 280px;
  }

  .play-button {
    width: 66px;
    height: 66px;
  }

  .play-button .icon {
    width: 21px;
    height: 21px;
  }

  .live-copy,
  .live-media {
    padding-inline: 0;
  }

  .live-copy {
    padding: 28px 22px 30px;
  }

  .contact-meta {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .contact-actions .btn {
    width: 100%;
  }

  .footer-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .back-top {
    margin-left: 0;
  }
}

@media (max-width: 380px) {
  .hero-title {
    font-size: 2.75rem;
  }

  .core-meta {
    font-size: 0.5rem;
  }

  .section-title {
    font-size: 2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }

  .ticker-track {
    animation: none;
  }
}
