/* Fauno Media Kit v4 — Syne ExtraBold · hero video · Congo · microinteractions */

:root {
  --bg: #050506;
  --bg-elev: #0a0b0f;
  --bg-card: #0e1016;
  --border: rgba(91, 143, 212, 0.16);
  --border-strong: rgba(91, 143, 212, 0.38);
  --text: #f2f4f8;
  --muted: #8b97a8;
  --muted-2: #5c6778;
  --congo: #0B3D91;
  --congo-deep: #123A7A;
  --congo-steel: #5B8FD4;
  --congo-silver: #C5D4E8;
  --congo-dim: rgba(11, 61, 145, 0.28);
  --cta: #0B3D91;
  --cta-hover: #0E4BB0;
  --white: #ffffff;
  --radius: 16px;
  --radius-sm: 10px;
  --radius-pill: 999px;
  --font-display: "Syne", "Arial Black", Impact, sans-serif;
  --font-serif: "Instrument Serif", Georgia, serif;
  --font-sans: "DM Sans", system-ui, -apple-system, sans-serif;
  --metal-text: linear-gradient(115deg, #C5D4E8 0%, #5B8FD4 35%, #0B3D91 70%, #5B8FD4 100%);
  --shadow-metal: 0 0 28px rgba(91, 143, 212, 0.35);
  --shadow-cta: 0 0 28px rgba(11, 61, 145, 0.5);
  --shadow-deep: 0 30px 80px rgba(0, 0, 0, 0.65), 0 0 40px rgba(11, 61, 145, 0.25);
  --nav-h: 64px;
  --feather: linear-gradient(to bottom, #000 0%, #000 70%, transparent 100%);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  color-scheme: dark;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
ol, ul { list-style: none; }

.bg-stage {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse 90% 55% at 50% -12%, rgba(11, 61, 145, 0.32), transparent 55%),
    radial-gradient(ellipse 40% 35% at 95% 20%, rgba(91, 143, 212, 0.08), transparent 50%),
    linear-gradient(180deg, #07080c 0%, #050506 50%, #040405 100%);
}

.bg-grain {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.055;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px;
  mix-blend-mode: overlay;
}

.metal, .metal-text {
  background: var(--metal-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.metal-num {
  background: linear-gradient(160deg, #C5D4E8 0%, #5B8FD4 40%, #0B3D91 85%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 8px rgba(91, 143, 212, 0.28));
}

/* ——— NAV ——— */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  height: var(--nav-h);
  backdrop-filter: blur(18px) saturate(1.35);
  background: rgba(5, 5, 6, 0.72);
  border-bottom: 1px solid transparent;
  transition: background 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.nav.is-scrolled {
  background: rgba(5, 5, 6, 0.92);
  border-bottom-color: var(--border);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
}
.nav-cta { flex-shrink: 0; }

.nav-shell {
  width: min(100% - 2rem, 1280px);
  margin-inline: auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  filter: drop-shadow(0 0 14px rgba(91, 143, 212, 0.45));
}

.logo-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid var(--congo-steel);
  box-shadow: 0 0 12px rgba(91, 143, 212, 0.35);
}

.logo span {
  background: var(--metal-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 0.2rem;
}

.nav-links a {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-pill);
  transition: color 0.2s, background 0.2s, box-shadow 0.2s;
}

.nav-links a:hover,
.nav-links a.is-active {
  color: var(--white);
  background: var(--congo-dim);
  box-shadow: inset 0 0 0 1px var(--border-strong);
}

/* ——— BUTTONS ——— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.7rem 1.25rem;
  border-radius: var(--radius-pill);
  transition: transform 0.2s, box-shadow 0.25s, background 0.2s, border-color 0.2s, color 0.2s;
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn:hover { transform: translateY(-3px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--cta);
  color: var(--white);
  box-shadow: var(--shadow-cta);
}

.btn-primary:hover {
  background: var(--cta-hover);
  box-shadow: 0 0 36px rgba(11, 61, 145, 0.65);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--border-strong);
  color: var(--text);
}

.btn-ghost:hover {
  border-color: var(--congo-steel);
  color: var(--congo-silver);
  background: var(--congo-dim);
}

.btn-sm { padding: 0.5rem 1rem; font-size: 0.7rem; }
.btn-lg { padding: 0.9rem 1.6rem; font-size: 0.85rem; }

.btn-icon-only {
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 50%;
}

.btn-icon-only img {
  width: 18px;
  height: 18px;
  filter: brightness(0) saturate(100%) invert(62%) sepia(28%) saturate(846%) hue-rotate(185deg) brightness(95%) contrast(88%);
}

/* ——— CHAPTERS / SCENES ——— */
.chapter {
  position: relative;
  padding: 5.5rem 0 5rem;
}

.chapter-sparse {
  background: var(--bg);
  padding-top: 6rem;
  padding-bottom: 5.5rem;
}

.chapter-explode {
  padding: 4rem 0 5rem;
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(11, 61, 145, 0.18), transparent 55%),
    var(--bg);
}

.chapter-bleed {
  padding-left: 0;
  padding-right: 0;
}

.chapter-head {
  width: min(100% - 2rem, 1280px);
  margin: 0 auto 2.75rem;
}

.chapter-head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.chapter-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--congo-steel);
  margin-bottom: 0.75rem;
}

.chapter-title {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 7.5vw, 5.2rem);
  line-height: 0.92;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: var(--white);
  font-weight: 800;
}

.chapter-title .serif {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.78em;
}

/* Reveal */
[data-reveal] .reveal-item {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1), transform 0.85s cubic-bezier(0.22, 1, 0.36, 1), filter 0.85s ease;
  filter: blur(4px);
}
[data-reveal].is-inview .reveal-item {
  opacity: 1;
  transform: none;
  filter: none;
}

[data-reveal].is-inview .reveal-item {
  opacity: 1;
  transform: none;
}

[data-reveal].is-inview .reveal-item:nth-child(2) { transition-delay: 0.08s; }
[data-reveal].is-inview .reveal-item:nth-child(3) { transition-delay: 0.14s; }
[data-reveal].is-inview .reveal-item:nth-child(4) { transition-delay: 0.2s; }
[data-reveal].is-inview .reveal-item:nth-child(5) { transition-delay: 0.26s; }
[data-reveal].is-inview .reveal-item:nth-child(6) { transition-delay: 0.32s; }

@media (prefers-reduced-motion: reduce) {
  [data-reveal] .reveal-item {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ——— HERO ——— */
.hero {
  min-height: 100vh;
  min-height: 100dvh;
  padding: calc(var(--nav-h) + 2rem) 0 3.5rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}

.hero-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  perspective: 1200px;
  transform-style: preserve-3d;
}

.hero-stadium {
  position: absolute;
  inset: -8%;
  background-size: cover;
  background-position: center 40%;
  filter: brightness(0.32) saturate(0.65) contrast(1.12) blur(2px);
  transform: scale(1.08);
  will-change: transform;
}

.hero-glow {
  position: absolute;
  right: 5%;
  top: 20%;
  width: min(50vw, 520px);
  height: 55%;
  background: radial-gradient(ellipse at center, rgba(11, 61, 145, 0.45) 0%, rgba(91, 143, 212, 0.12) 40%, transparent 70%);
  filter: blur(40px);
  pointer-events: none;
}

.hero-vignette {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 5, 6, 0.6) 0%, transparent 26%, transparent 42%, rgba(5, 5, 6, 0.88) 76%, var(--bg) 100%),
    linear-gradient(90deg, rgba(5, 5, 6, 0.82) 0%, rgba(5, 5, 6, 0.35) 38%, transparent 55%, rgba(5, 5, 6, 0.35) 100%);
  z-index: 1;
}

.hero-grain {
  position: absolute;
  inset: 0;
  z-index: 4;
  opacity: 0.07;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 160px;
  mix-blend-mode: overlay;
}

.hero-panels {
  position: absolute;
  right: 3%;
  top: 14%;
  width: min(42vw, 460px);
  height: 62%;
  display: none;
  z-index: 2;
  perspective: 900px;
  transform-style: preserve-3d;
  will-change: transform;
}

.hero-panel {
  position: absolute;
  background-size: cover;
  background-position: center top;
  border-radius: 14px;
  border: none;
  /* Soft feather into black — no hard white frames */
  -webkit-mask-image:
    linear-gradient(to right, transparent 0%, #000 6%, #000 94%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, #000 5%, #000 88%, transparent 100%);
  mask-image:
    linear-gradient(to right, transparent 0%, #000 6%, #000 94%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, #000 5%, #000 88%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
  box-shadow:
    0 28px 70px rgba(0, 0, 0, 0.7),
    0 0 0 1px rgba(197, 212, 232, 0.08),
    0 0 50px rgba(11, 61, 145, 0.35),
    inset 0 0 60px rgba(0, 0, 0, 0.35);
  filter: brightness(0.9) saturate(0.95);
  overflow: hidden;
  transform-style: preserve-3d;
}

.hero-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 -40px 50px rgba(5, 5, 6, 0.55);
  pointer-events: none;
}

.hero-panel-a {
  width: 74%;
  aspect-ratio: 4/5;
  right: 0;
  top: 0;
  transform: rotateY(-12deg) rotateX(4deg) rotate(2deg) translateZ(40px);
  z-index: 3;
}

.hero-panel-b {
  width: 56%;
  aspect-ratio: 3/4;
  left: 0;
  top: 16%;
  transform: rotateY(10deg) rotateX(-3deg) rotate(-7deg) translateZ(10px);
  z-index: 1;
  opacity: 0.88;
}

.hero-panel-c {
  width: 50%;
  aspect-ratio: 1;
  right: 6%;
  bottom: -2%;
  transform: rotateY(-8deg) rotateX(6deg) rotate(9deg) translateZ(60px);
  z-index: 4;
  opacity: 0.95;
}

/* Ken Burns — background drift; panel keyframes keep 3D transforms */
@keyframes stadium-kb {
  0%   { background-position: center 38%; background-size: 108% auto; }
  100% { background-position: center 52%; background-size: 118% auto; }
}

@keyframes panel-kb-a {
  0%   {
    background-position: 42% 28%;
    background-size: 112% auto;
    transform: rotateY(-12deg) rotateX(4deg) rotate(2deg) translateZ(40px);
  }
  100% {
    background-position: 58% 48%;
    background-size: 124% auto;
    transform: rotateY(-10deg) rotateX(3deg) rotate(1.5deg) translateZ(44px);
  }
}

@keyframes panel-kb-b {
  0%   {
    background-position: 55% 35%;
    background-size: 110% auto;
    transform: rotateY(10deg) rotateX(-3deg) rotate(-7deg) translateZ(10px);
  }
  100% {
    background-position: 40% 50%;
    background-size: 122% auto;
    transform: rotateY(8deg) rotateX(-2deg) rotate(-6deg) translateZ(14px);
  }
}

@keyframes panel-kb-c {
  0%   {
    background-position: 48% 40%;
    background-size: 108% auto;
    transform: rotateY(-8deg) rotateX(6deg) rotate(9deg) translateZ(60px);
  }
  100% {
    background-position: 52% 30%;
    background-size: 120% auto;
    transform: rotateY(-6deg) rotateX(5deg) rotate(8deg) translateZ(66px);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-stadium,
  .cta-stadium {
    background-size: 110% auto;
    animation: stadium-kb 30s ease-in-out infinite alternate;
  }

  .hero-panel-a {
    background-size: 112% auto;
    animation: panel-kb-a 22s ease-in-out infinite alternate;
  }
  .hero-panel-b {
    background-size: 110% auto;
    animation: panel-kb-b 28s ease-in-out infinite alternate;
    animation-delay: -5s;
  }
  .hero-panel-c {
    background-size: 108% auto;
    animation: panel-kb-c 34s ease-in-out infinite alternate;
    animation-delay: -10s;
  }
}

.hero-layer {
  position: relative;
  z-index: 5;
  width: min(100% - 2rem, 1280px);
  margin-inline: auto;
}

.hero-identity {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.hero-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--congo-steel);
  box-shadow: var(--shadow-metal);
}

.hero-name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: 0.16em;
  color: var(--congo-silver);
  font-weight: 400;
}

.hero-tag {
  font-size: 0.72rem;
  color: var(--muted);
  letter-spacing: 0.04em;
  margin-top: 0.15rem;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3.4rem, 12vw, 7.8rem);
  line-height: 0.84;
  letter-spacing: -0.035em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1rem;
  text-shadow:
    0 4px 40px rgba(0, 0, 0, 0.55),
    0 0 60px rgba(11, 61, 145, 0.25);
  max-width: 11ch;
  font-weight: 800;
  position: relative;
  z-index: 6;
}

.hero-title-serif {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.42em;
  display: inline-block;
  margin: 0.12em 0 0;
  color: var(--congo-silver);
  -webkit-text-fill-color: var(--congo-silver);
  background: none;
}

.hero-claim {
  font-size: clamp(0.95rem, 2vw, 1.12rem);
  color: var(--muted);
  max-width: 28rem;
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.hero-claim strong { color: var(--text); font-weight: 600; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 2.5rem;
}

.hero-contact-pill {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  padding: 0.45rem 0.85rem;
  min-height: 48px;
  border-radius: var(--radius-pill);
  background: var(--cta);
  box-shadow: var(--shadow-cta);
  flex-shrink: 0;
}

.hero-contact-pill:hover {
  background: var(--cta-hover);
  box-shadow: 0 0 36px rgba(11, 61, 145, 0.65);
}

.hero-contact-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: var(--white);
  transition: background 0.2s, transform 0.2s;
}

.hero-contact-link:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-2px);
}

.hero-contact-link img {
  width: 22px;
  height: 22px;
  display: block;
  opacity: 1;
  /* white SVGs — no filter (broken on some mobile Safari) */
}

/* KPI spectacle tiles */
.kpi-spectacle {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.kpi-tile {
  position: relative;
  padding: 1.15rem 1rem 1.05rem;
  background: rgba(14, 16, 22, 0.72);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(10px);
  overflow: visible;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  min-width: 0;
}

.kpi-tile::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: linear-gradient(90deg, var(--congo), var(--congo-steel), transparent);
  opacity: 0.85;
}

.kpi-label {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.35rem;
}

.kpi-value {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 4.2vw, 2.35rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-weight: 800;
  white-space: nowrap;
  overflow: visible;
  max-width: 100%;
  display: block;
}

.kpi-sub {
  font-size: 0.72rem;
  color: var(--muted-2);
  margin-top: 0.35rem;
}

/* ——— HITS / MURO — full-bleed posters ——— */
.hits {
  padding-top: 3.5rem;
}

.muro {
  width: min(100%, 1360px);
  margin-inline: auto;
  padding-inline: 0.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
}

.hit {
  position: relative;
  display: block;
  border-radius: 4px;
  overflow: hidden;
  background: #000;
  border: none;
  min-height: 320px;
  isolation: isolate;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  /* Soft edge fade into page black */
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 92%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 92%, transparent 100%);
}

.hit:hover {
  transform: scale(1.025) translateY(-6px);
  box-shadow: var(--shadow-deep);
  z-index: 2;
}

.hit img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  /* No screenshot framing */
  filter: none;
}

.hit:hover img { transform: scale(1.08); }

.hit-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem 1.35rem 1.75rem;
  background:
    linear-gradient(180deg, transparent 15%, rgba(5, 5, 6, 0.15) 40%, rgba(5, 5, 6, 0.75) 70%, rgba(5, 5, 6, 0.97) 100%);
  z-index: 1;
}

.hit-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  padding: 0.28rem 0.6rem;
  border-radius: var(--radius-pill);
  background: rgba(5, 5, 6, 0.55);
  border: 1px solid rgba(91, 143, 212, 0.35);
  color: var(--congo-steel);
  backdrop-filter: blur(8px);
}

.hit-badge.ig {
  color: var(--congo-silver);
  border-color: rgba(197, 212, 232, 0.3);
}

.hit-metric {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
  font-weight: 400;
}

.hit-metric-sub {
  font-size: 0.72rem;
  color: var(--muted);
  margin: 0.25rem 0 0.6rem;
  letter-spacing: 0.04em;
}

.hit-quote {
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.4;
  max-width: 34ch;
  margin-bottom: 0.7rem;
}

.hit-cta {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--congo-steel);
}

.hit-featured { min-height: 460px; }
.hit-tall { min-height: 420px; }
.hit-square { min-height: 340px; }
.hit-wide { min-height: 300px; }

/* ——— UNIVERSO RAIL — premium tall cards ——— */
.universo { overflow: hidden; }

.rail-controls {
  display: flex;
  gap: 0.5rem;
}

.rail-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: rgba(14, 16, 22, 0.8);
  color: var(--congo-silver);
  display: grid;
  place-items: center;
  transition: background 0.2s, border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.rail-btn:hover {
  background: var(--congo);
  border-color: var(--congo-steel);
  transform: scale(1.06);
  box-shadow: var(--shadow-cta);
}

.rail-btn:disabled {
  opacity: 0.35;
  pointer-events: none;
}

.rail-wrap { width: 100%; }

.rail {
  display: flex;
  gap: 1.15rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 1rem max(1rem, calc((100vw - 1280px) / 2 + 1rem)) 1.75rem;
  cursor: grab;
  -webkit-overflow-scrolling: touch;
}

.rail::-webkit-scrollbar { display: none; }
.rail.is-dragging { cursor: grabbing; scroll-snap-type: none; }

.rail-card {
  flex: 0 0 min(78vw, 300px);
  scroll-snap-align: start;
  scroll-snap-stop: normal;
  min-height: 380px;
  padding: 2rem 1.65rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s, box-shadow 0.4s, transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
}

.rail-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(11, 61, 145, 0.28) 0%, transparent 55%);
  pointer-events: none;
}

.rail-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--congo), var(--congo-steel), transparent);
  opacity: 0.7;
}

.rail-card:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-deep);
  transform: translateY(-8px) scale(1.03);
}

.rail-card-audience {
  background: linear-gradient(165deg, rgba(11, 61, 145, 0.42) 0%, var(--bg-card) 58%);
  border-color: var(--border-strong);
}

.rail-num {
  position: absolute;
  top: 1.35rem;
  left: 1.5rem;
  font-family: var(--font-display);
  font-size: 3.75rem;
  line-height: 1;
  color: rgba(91, 143, 212, 0.2);
  letter-spacing: -0.02em;
  font-weight: 400;
}

.rail-title {
  font-family: var(--font-display);
  font-size: 1.7rem;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  line-height: 1.05;
  margin-bottom: 0.7rem;
  position: relative;
  font-weight: 400;
}

.rail-desc {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.45;
  position: relative;
}

.rail-progress {
  width: min(100% - 2rem, 1280px);
  margin: 0 auto;
  height: 3px;
  background: rgba(91, 143, 212, 0.12);
  border-radius: var(--radius-pill);
  overflow: hidden;
}

.rail-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--congo), var(--congo-steel));
  border-radius: inherit;
  transition: width 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

/* ——— CÓMO ——— */
.como-rail {
  width: min(100% - 2rem, 1280px);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.como-step {
  position: relative;
  padding: 1.75rem 1.5rem;
  border-left: 2px solid var(--border-strong);
  background: linear-gradient(90deg, rgba(11, 61, 145, 0.12), transparent 70%);
}

.como-num {
  font-family: var(--font-display);
  font-size: 3.75rem;
  line-height: 1;
  background: var(--metal-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  display: block;
  margin-bottom: 0.75rem;
  font-weight: 400;
}

.como-line { display: none; }

.como-title {
  font-family: var(--font-display);
  font-size: 1.55rem;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  font-weight: 400;
}

.como-desc {
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 28ch;
}

/* ——— PARTNER ——— */
.partner-grid {
  width: min(100% - 2rem, 1280px);
  margin-inline: auto;
  display: grid;
  gap: 1.25rem;
}

.cat-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.cat-chip {
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.85rem 1.35rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  color: var(--congo-steel);
  background: rgba(14, 16, 22, 0.6);
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s, color 0.2s;
  font-weight: 400;
}

.cat-chip:hover {
  border-color: var(--congo-steel);
  background: var(--congo);
  color: var(--white);
  box-shadow: var(--shadow-metal);
}

.partner-hero {
  padding: 2.5rem 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border-strong);
  background:
    linear-gradient(135deg, rgba(11, 61, 145, 0.45) 0%, rgba(14, 16, 22, 0.92) 55%),
    var(--bg-card);
  position: relative;
  overflow: visible;
  box-shadow: var(--shadow-deep);
  container-type: inline-size;
  container-name: partner;
  min-width: 0;
}

.partner-hero::after {
  content: "";
  position: absolute;
  right: -10%;
  top: -30%;
  width: 50%;
  height: 160%;
  background: radial-gradient(circle, rgba(91, 143, 212, 0.28), transparent 70%);
  pointer-events: none;
}

.partner-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--congo-steel);
}

.partner-name {
  font-family: var(--font-display);
  /* Size to the card so "DUELBITS" never clips under background-clip */
  font-size: clamp(1.5rem, 13.5cqi, 3.4rem);
  letter-spacing: 0;
  line-height: 1.15;
  margin: 0.5rem 0 0.85rem;
  background: var(--metal-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  position: relative;
  z-index: 1;
  font-weight: 800;
  white-space: nowrap;
  overflow: visible;
  display: block;
  width: 100%;
  box-sizing: border-box;
}

.partner-note {
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 36ch;
  position: relative;
  z-index: 1;
}

/* ——— CTA CHAPTER ——— */
.cta-chapter {
  min-height: 85vh;
  display: flex;
  align-items: center;
  padding: 6rem 0;
  overflow: hidden;
}

.cta-atmosphere {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.cta-stadium {
  position: absolute;
  inset: -5%;
  background-size: cover;
  background-position: center;
  filter: brightness(0.26) saturate(0.6) contrast(1.15);
  will-change: transform;
}

.cta-vignette {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 50% 50%, transparent 0%, rgba(5, 5, 6, 0.7) 70%, var(--bg) 100%),
    linear-gradient(180deg, var(--bg) 0%, transparent 20%, transparent 80%, var(--bg) 100%);
}

.cta-body {
  position: relative;
  z-index: 1;
  width: min(100% - 2rem, 900px);
  margin-inline: auto;
  text-align: center;
}

.cta-identity {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.cta-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--congo-steel);
  box-shadow: var(--shadow-metal);
}

.cta-identity-name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 0.18em;
  color: var(--congo-silver);
  font-weight: 400;
}

.cta-title {
  font-family: var(--font-display);
  font-size: clamp(3.4rem, 12vw, 6.8rem);
  line-height: 0.9;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
  font-weight: 400;
}

.cta-lead {
  color: var(--muted);
  font-size: 1.05rem;
  margin-bottom: 2rem;
  max-width: 36ch;
  margin-inline: auto;
}

.cta-lead a {
  color: var(--congo-steel);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
}

.cta-dm {
  display: inline-flex;
  gap: 0.5rem;
}

/* ——— FOOTER ——— */
.footer {
  border-top: 1px solid var(--border);
  padding: 2rem 0 2.5rem;
}

.footer-inner {
  width: min(100% - 2rem, 1280px);
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.75rem;
  font-size: 0.8rem;
  color: var(--muted);
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.12em;
  background: var(--metal-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  font-weight: 400;
}

.footer-disclaimer { flex: 1 1 200px; }

.footer a:hover { color: var(--congo-silver); }

/* ——— RESPONSIVE ——— */
@media (min-width: 640px) {
  .kpi-spectacle {
    grid-template-columns: repeat(4, 1fr);
    gap: 0.65rem;
  }
  .kpi-tile {
    padding: 1.05rem 0.85rem 0.95rem;
  }
  .kpi-value {
    font-size: clamp(1.35rem, 1.55vw + 0.55rem, 2.15rem);
  }

  .muro {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
    padding-inline: 1rem;
  }

  .hit-featured {
    grid-column: 1 / -1;
    min-height: 520px;
  }

  .como-rail {
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
  }

  .como-step {
    border-left: none;
    border-top: none;
    padding: 1.5rem 1.75rem 1.5rem 0;
    background: none;
  }

  .como-step:not(:last-child) {
    border-right: 1px solid var(--border);
    padding-right: 2rem;
    margin-right: 1.5rem;
  }

  .como-line {
    display: block;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, var(--congo-steel), transparent);
    margin: 0.5rem 0 1rem;
  }

  .partner-grid {
    grid-template-columns: 1fr 1.4fr;
    align-items: stretch;
  }

  .cat-stack {
    flex-direction: column;
    align-items: stretch;
  }

  .cat-chip { text-align: center; }
}

@media (min-width: 900px) {
  .nav-links { display: flex; }

  .hero-avatar { width: 88px; height: 88px; }

  .hero-panels { display: block; }

  .hero-layer {
    padding-right: min(42vw, 480px);
  }

  /* Title overlaps into panel zone */
  .hero-title {
    max-width: 12ch;
  }

  .muro {
    grid-template-columns: repeat(12, 1fr);
    gap: 0.9rem;
    padding-inline: 1.25rem;
  }

  .hit-featured {
    grid-column: span 7;
    grid-row: span 2;
    min-height: 600px;
  }

  .hit-tall:nth-of-type(2) {
    grid-column: span 5;
    min-height: 600px;
  }

  .hit-square:nth-of-type(3) {
    grid-column: span 4;
    min-height: 360px;
  }

  .hit-tall:nth-of-type(4) {
    grid-column: span 4;
    min-height: 360px;
  }

  .hit-square:nth-of-type(5) {
    grid-column: span 4;
    min-height: 360px;
  }

  .hit-wide {
    grid-column: span 12;
    min-height: 340px;
  }

  .rail-card {
    flex-basis: 320px;
    min-height: 400px;
  }
}

@media (min-width: 1100px) {
  .hit-featured { min-height: 660px; }
  .hit-tall:nth-of-type(2) { min-height: 660px; }
  .muro { padding-inline: 1.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hit:hover,
  .hit:hover img,
  .btn:hover,
  .rail-card:hover,
  .rail-btn:hover {
    transform: none;
  }
  .hero-panel,
  .hero-stadium,
  .cta-stadium {
    animation: none !important;
  }
}


/* ——— v4: HERO VIDEO ——— */
.hero-video {
  position: absolute;
  inset: -4%;
  width: 108%;
  height: 108%;
  object-fit: cover;
  object-position: center 40%;
  filter: brightness(0.34) saturate(0.7) contrast(1.1);
  z-index: 0;
  pointer-events: none;
}
.hero-stadium {
  z-index: 0;
  opacity: 1;
  transition: opacity 0.6s ease;
}
.hero.has-video .hero-stadium { opacity: 0; }
.hero.no-video .hero-stadium,
.hero.reduced-motion .hero-stadium {
  opacity: 1;
  filter: brightness(0.32) saturate(0.65) contrast(1.12);
}
.hero.reduced-motion .hero-video,
.hero.no-video .hero-video {
  display: none !important;
}
@media (prefers-reduced-motion: reduce) {
  .hero-video { display: none !important; }
  .hero-stadium { opacity: 1 !important; }
}

/* custom cursor removed — system cursor */

/* partner-name fallback if cqi unsupported */
@supports not (font-size: 1cqi) {
  .partner-name {
    font-size: clamp(1.45rem, 7.2vw, 3.2rem);
  }
}


/* ——— v4: RAIL ICONS + CÓMO ICONS ——— */
.rail-icon,
.como-icon {
  font-size: 1.75rem;
  line-height: 1;
  margin-bottom: 0.85rem;
  position: relative;
  z-index: 1;
  filter: grayscale(0.2);
}
.rail-card .rail-title { margin-top: 0.25rem; }
.rail-desc {
  font-size: 0.85rem;
  letter-spacing: 0.02em;
}
.como-step {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.como-icon { margin-bottom: 0.5rem; }
.como-desc {
  font-size: 0.88rem;
  max-width: 18ch;
}

/* ——— v4: MOBILE THUMB DOCK ——— */
.mob-dock {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 190;
  height: 64px;
  padding: 0 0.5rem calc(0.35rem + env(safe-area-inset-bottom));
  background: rgba(5, 5, 6, 0.92);
  backdrop-filter: blur(16px) saturate(1.2);
  border-top: 1px solid var(--border);
  align-items: stretch;
  justify-content: space-around;
  gap: 0.25rem;
}
.mob-dock a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  border-radius: 12px;
  min-height: 48px;
  transition: color 0.2s, background 0.2s;
}
.mob-dock a.is-active,
.mob-dock a:hover {
  color: var(--white);
  background: var(--congo-dim);
}
.mob-dock-cta {
  color: var(--congo-silver) !important;
  background: var(--congo) !important;
  box-shadow: var(--shadow-cta);
}
.mob-dock-cta span { color: var(--white); }

@media (max-width: 899px) {
  /* partner-name: full DUELBITS on narrow screens */
  .partner-name {
    font-size: clamp(1.4rem, 13cqi, 2.25rem);
    letter-spacing: 0;
    white-space: nowrap;
  }
  .partner-hero {
    overflow: visible;
    padding: 1.75rem 1.1rem;
  }
  .partner-grid {
    overflow: visible;
  }
  .mob-dock { display: flex; }
  .nav-cta { display: none; }
  body { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
  .hero {
    min-height: 100svh;
    padding-bottom: 2rem;
  }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-contact-pill {
    width: 100%;
    justify-content: space-evenly;
    padding: 0.45rem 0.65rem;
    min-height: 52px;
  }
  .hero-contact-link {
    width: 48px;
    height: 48px;
  }
  /* hero-contact mobile icons */
  .hero-contact-link img {
    width: 24px;
    height: 24px;
  }
  .hero-actions .btn-ghost:not(.btn-icon-only) {
    width: 100%;
  }
  .muro {
    padding-inline: 0.75rem;
    gap: 0.75rem;
  }
  .hit { min-height: 280px; border-radius: 10px; }
  .hit-featured { min-height: 360px; }
  .cta-actions {
    flex-direction: column;
    width: 100%;
  }
  .cta-actions .btn { width: 100%; min-height: 48px; }
  .cta-dm { justify-content: center; width: 100%; }
  .rail {
    padding-bottom: 1.25rem;
    scroll-padding-inline: 1rem;
  }
  .rail-card {
    flex-basis: min(82vw, 300px);
    min-height: 320px;
  }
}

/* Hit hover stronger on desktop */
@media (hover: hover) {
  .hit:hover {
    transform: scale(1.03) translateY(-8px);
  }
  .cat-chip:hover {
    transform: translateY(-2px);
  }
}

/* Chapter sparse — less text breathing room */
.chapter-sparse .rail-desc,
.chapter-sparse .como-desc,
.chapter-sparse .partner-note {
  color: var(--muted);
}

/* Display weight bump for KPI / metrics */
.kpi-value,
.hit-metric,
.partner-name,
.cta-title,
.rail-title,
.como-title,
.hero-name {
  font-weight: 800;
}
.kpi-value, .hit-metric, .partner-name, .cta-title {
  font-family: var(--font-display);
}

.partner-chapter { /* alias */ }

/* kpi fit mid: keep 1.000M fully visible between 640–1100 */
@media (min-width: 640px) and (max-width: 1100px) {
  .kpi-value {
    font-size: clamp(1.2rem, 2.4vw, 1.75rem);
  }
  .kpi-label {
    font-size: 0.55rem;
    letter-spacing: 0.12em;
  }
}

/* Ensure no horizontal overflow on mobile */
html, body { max-width: 100vw; overflow-x: hidden; }
.hero-layer, .chapter-head, .muro, .cta-body { max-width: 100%; }
