/* ============================================================
   Azul Natural Beef · azulnaturalbeef.com
   Cinematic scroll-storytelling · single-site holding shell
   ============================================================ */

@import url("assets/colors_and_type.css");

:root {
  /* Motion tokens (from MOTIONSITES brief §1) */
  --ease-out-cinematic: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out-soft:   cubic-bezier(0.65, 0, 0.35, 1);
  --ease-anticipate:    cubic-bezier(0.68, -0.55, 0.27, 1.55);
  --dur-fast:    240ms;
  --dur-medium:  640ms;
  --dur-slow:    1200ms;
  --dur-glacial: 2400ms;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--anb-pampas-navy-deep);
  color: var(--anb-bone);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body { overflow-x: hidden; }

::selection { background: var(--anb-devesa-gold); color: var(--anb-pampas-navy-deep); }

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

/* ============================================================
   Header — floating pill, fixed top
   ============================================================ */
.anb-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px max(clamp(24px, 4vw, 64px), calc((100% - 1640px) / 2 + clamp(24px, 4vw, 64px)));
  background: rgba(14, 26, 48, 0.50);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border: 0;
  border-bottom: 1px solid rgba(200, 162, 75, 0.10);
  border-radius: 0;
  transition: background var(--dur-fast) var(--ease-out-cinematic), border-color var(--dur-fast) var(--ease-out-cinematic);
}
.anb-header.scrolled {
  background: rgba(14, 26, 48, 0.90);
  border-bottom-color: rgba(200, 162, 75, 0.22);
}
.anb-wordmark {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 18px;
  letter-spacing: -0.01em;
  color: var(--anb-bone);
  text-decoration: none;
  display: flex;
  align-items: baseline;
  gap: 8px;
  white-space: nowrap;
}
.anb-wordmark .mark-azul { color: var(--anb-bone); }
.anb-wordmark .mark-rest {
  font-family: var(--font-stamp);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.24em;
  color: var(--anb-devesa-gold);
  text-transform: uppercase;
}
.anb-wordmark-img {
  height: 88px;
  width: auto;
  display: block;
  object-fit: contain;
}
.hero-logo {
  display: block;
  width: clamp(180px, 20vw, 280px);
  height: auto;
  margin: 0 0 14px;
  opacity: 0.96;
}
#hero {
  height: 100vh;
  height: 100dvh;
  min-height: 100vh;
  min-height: 100dvh;
  max-height: 100vh;
  max-height: 100dvh;
}
#hero .scene-content {
  padding-top: 60px;
  padding-bottom: 0;
  justify-content: center;
  min-height: 100vh;
  min-height: 100dvh;
  height: 100vh;
  height: 100dvh;
  transform: none;
}
#hero .eyebrow { margin-bottom: 14px; }
#hero .display-h1 {
  font-size: clamp(32px, 4.2vw, 56px);
  line-height: 1.05;
  margin-bottom: 14px;
}
#hero .lede {
  font-size: clamp(13.5px, 1.05vw, 16px);
  line-height: 1.45;
  margin-bottom: 18px;
}
#hero .cta-row { margin-bottom: 4px; }
#hero .stats-strip { margin-top: 22px; padding-top: 16px; gap: 24px; }
#hero .stat .num { font-size: clamp(48px, 5vw, 70px); }
#hero .stat .lbl { font-size: 9.5px; line-height: 1.4; }
#hero .scroll-cue { display: none; }
@media (max-height: 820px) {
  #hero .hero-logo { width: clamp(160px, 17vw, 240px); margin-bottom: 10px; }
  #hero .eyebrow { margin-bottom: 10px; }
  #hero .display-h1 { font-size: clamp(28px, 3.6vw, 46px); margin-bottom: 10px; }
  #hero .lede { margin-bottom: 14px; font-size: 13.5px; line-height: 1.4; }
  #hero .stats-strip { margin-top: 14px; padding-top: 12px; }
  #hero .stat .num { font-size: 22px; }
  #hero .scene-content { padding-top: 60px; padding-bottom: 0; transform: none; }
}
.anb-wordmark-img-lg {
  height: 168px;
  margin-bottom: 16px;
}
.anb-header.scrolled .anb-wordmark-img {
  height: 72px;
}

.anb-header-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  overflow: hidden;
  max-width: 0;
  margin-right: 0;
  opacity: 0;
  transform: translateX(-8px);
  pointer-events: none;
  text-decoration: none;
  transition: max-width var(--dur-medium) var(--ease-out-cinematic),
              margin-right var(--dur-medium) var(--ease-out-cinematic),
              opacity var(--dur-medium) var(--ease-out-cinematic),
              transform var(--dur-medium) var(--ease-out-cinematic);
}
.anb-header-logo img {
  height: 12px;
  width: auto;
  display: block;
  object-fit: contain;
  max-width: none;
}
.anb-header.scrolled .anb-header-logo {
  max-width: 240px;
  margin-right: 20px;
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.anb-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: -35px;
  flex: 1;
}
@media (max-width: 980px) { .anb-nav { display: none; } }

.anb-nav-item {
  position: relative;
  font-family: var(--font-stamp);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(245, 239, 227, 0.78);
  text-decoration: none;
  padding: 8px 14px;
  cursor: pointer;
  background: transparent;
  border: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  transition: color var(--dur-fast) var(--ease-out-cinematic);
}
a.anb-nav-item { color: rgba(245, 239, 227, 0.78); }
.anb-nav-item:hover,
a.anb-nav-item:hover,
.anb-nav-item[aria-expanded="true"] { color: var(--anb-devesa-gold); }
.anb-nav-item .chev {
  width: 8px; height: 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translate(-2px, -2px);
  opacity: 0.7;
}

.anb-dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  width: 280px;
  background: rgba(14, 26, 48, 0.96);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(200, 162, 75, 0.24);
  padding: 8px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity var(--dur-fast) var(--ease-out-cinematic), transform var(--dur-fast) var(--ease-out-cinematic);
}
.anb-nav-item[aria-expanded="true"] .anb-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.anb-dd-link {
  display: block;
  padding: 12px 14px;
  text-decoration: none;
  color: var(--anb-bone);
  border-bottom: 1px solid rgba(200, 162, 75, 0.08);
  transition: background var(--dur-fast) var(--ease-out-cinematic);
  cursor: pointer;
}
.anb-dd-link:last-child { border-bottom: 0; }
.anb-dd-link:hover { background: rgba(200, 162, 75, 0.08); }
.anb-dd-link:hover .label { color: var(--anb-devesa-gold); }
.anb-dd-link .label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.01em;
  display: block;
  text-transform: none;
}
.anb-dd-link .desc {
  display: block;
  margin-top: 2px;
  font-family: var(--font-body);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: rgba(245, 239, 227, 0.6);
  text-transform: none;
}

.anb-cta-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 3px;
  background: var(--anb-devesa-gold);
  color: var(--anb-pampas-navy-deep);
  font-family: var(--font-stamp);
  font-weight: 600;
  font-size: 11.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  border: 0;
  white-space: nowrap;
  transition: background var(--dur-fast) var(--ease-out-cinematic), transform 120ms var(--ease-out-cinematic);
}
.anb-cta-pill:hover { background: var(--anb-devesa-gold-warm); }
.anb-cta-pill:active { transform: scale(0.98); }
.anb-cta-pill svg { width: 13px; height: 13px; }

.anb-lang-toggle {
  background: transparent;
  border: 1px solid rgba(200, 162, 75, 0.32);
  border-radius: 999px;
  padding: 8px 12px;
  color: var(--anb-bone);
  font-family: var(--font-stamp);
  font-size: 11.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color var(--dur-fast);
  position: relative;
}
.anb-lang-toggle:hover { border-color: var(--anb-devesa-gold); }

.anb-lang-panel {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: 280px;
  background: rgba(14, 26, 48, 0.97);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(200, 162, 75, 0.24);
  padding: 18px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity var(--dur-fast) var(--ease-out-cinematic), transform var(--dur-fast) var(--ease-out-cinematic);
  text-align: left;
}
.anb-lang-panel.open { opacity: 1; pointer-events: auto; transform: translateY(0); }
.anb-lang-panel h5 {
  font-family: var(--font-stamp);
  font-size: 10px;
  letter-spacing: 0.32em;
  color: var(--anb-devesa-gold);
  text-transform: uppercase;
  margin: 0 0 10px;
  font-weight: 500;
}
.anb-lang-panel .tier {
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(200, 162, 75, 0.12);
}
.anb-lang-panel .tier:last-of-type { border-bottom: 0; padding-bottom: 0; margin-bottom: 0; }
.anb-lang-panel button {
  display: block;
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  padding: 6px 0;
  color: rgba(245, 239, 227, 0.78);
  font-family: var(--font-body);
  font-size: 14px;
  cursor: pointer;
  letter-spacing: 0.02em;
}
.anb-lang-panel button:hover { color: var(--anb-bone); }
.anb-lang-panel button.active { color: var(--anb-devesa-gold); font-weight: 600; }
.anb-lang-panel button.active::before { content: "● "; }
.anb-lang-panel button.disabled { color: rgba(245, 239, 227, 0.32); cursor: not-allowed; }

/* ============================================================
   Scenes — common
   ============================================================ */
.scene {
  position: relative;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  overflow: hidden;
  display: flex;
  isolation: isolate;
}

.scene-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.world-map-wrap {
  position: relative;
  width: 100%;
  max-width: 1100px;
  margin: 32px auto 8px;
  aspect-ratio: 16 / 9;
}

/* Scene 7 — Alcance global · 2-col layout (text left, map right) */
.mundo-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: 56px;
  align-items: center;
  margin-bottom: 32px;
}
@media (max-width: 880px) {
  .mundo-grid { grid-template-columns: 1fr; gap: 32px; }
}
.mundo-map .world-map-wrap {
  margin: 0;
  max-width: none;
}
#mundo .display-h2 {
  font-size: clamp(30px, 3.4vw, 48px);
  margin-bottom: 20px;
}
#mundo .lede {
  font-size: clamp(15px, 1.15vw, 17px);
  line-height: 1.5;
}

/* Scene 4 — Industrial process · photo flush top-right, text on left */
.proceso-img {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 2;
  width: clamp(900px, 70vw, 1400px);
  max-width: 100%;
  pointer-events: none;
}
.proceso-img img {
  width: 100%;
  height: auto;
  display: block;
  max-width: none;
}
.proceso-text {
  max-width: 560px;
  position: relative;
  z-index: 3;
}
@media (max-width: 880px) {
  .proceso-img { width: 100%; }
  .proceso-text { max-width: 100%; }
}
#proceso .display-h2 { font-size: clamp(32px, 3.6vw, 52px); }
#proceso .lede { font-size: clamp(13px, 1vw, 15px); }
#proceso .pin-track { padding-top: 24px; padding-bottom: 32px; }
#proceso .pin-panel { min-height: 0; padding-top: 8px; padding-bottom: 8px; }
#proceso .pin-panel .lab { margin-bottom: 8px; font-size: 11px; }
#proceso .pin-panel .big { font-size: clamp(48px, 5.4vw, 78px); margin-bottom: 8px; }
#proceso .pin-panel .desc { font-size: 13.5px; }
#proceso .pin-panel .h2-emph { font-size: clamp(26px, 3vw, 38px); margin-bottom: 6px; }

.world-map-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 24px 60px rgba(0,0,0,0.45));
}
.scene-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  pointer-events: none;
}
#hero .scene-bg-video { opacity: 0.9; }
.scene-bg img,
.scene-bg .gradient-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  will-change: transform;
}
.scene-bg.kenburns img { animation: kenburns 24s linear infinite alternate; }
@keyframes kenburns {
  0%   { transform: scale(1.0)  translate(0, 0); }
  100% { transform: scale(1.08) translate(-1.5%, -1%); }
}

.scrim-bottom {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(14, 26, 48, 0.92) 0%, rgba(14, 26, 48, 0.55) 38%, rgba(14, 26, 48, 0) 70%);
  pointer-events: none;
  z-index: 1;
}
.scrim-left {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(14, 26, 48, 0.88) 0%, rgba(14, 26, 48, 0.38) 38%, rgba(14, 26, 48, 0) 65%);
  pointer-events: none;
  z-index: 1;
}
.scrim-diag {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(14, 26, 48, 0.85) 0%, rgba(14, 26, 48, 0.3) 50%, rgba(14, 26, 48, 0) 80%);
  pointer-events: none;
  z-index: 1;
}
.vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(0,0,0,0) 30%, rgba(0,0,0,0.55) 100%);
  pointer-events: none;
  z-index: 2;
}

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

.scene-content {
  position: relative;
  z-index: 4;
  width: 100%;
  max-width: 1640px;
  margin: 0 auto;
  padding: 120px clamp(24px, 4vw, 64px) 56px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 100vh;
  min-height: 100dvh;
}
.scene-content.center { justify-content: center; }
.scene-content.middle { justify-content: center; padding-top: 96px; padding-bottom: 96px; }

/* ============================================================
   Type primitives
   ============================================================ */
.eyebrow {
  font-family: var(--font-stamp);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--anb-devesa-gold);
  margin: 0 0 24px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.eyebrow.center { justify-content: center; }
.eyebrow .dash {
  width: 36px; height: 1px; background: var(--anb-devesa-gold); opacity: 0.5;
}
.eyebrow .num {
  color: rgba(200, 162, 75, 0.7);
}

.display-h1, .display-h2 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(44px, 6.4vw, 92px);
  line-height: 1.02;
  letter-spacing: -0.022em;
  color: var(--anb-bone);
  margin: 0 0 28px;
  max-width: 16ch;
  text-wrap: balance;
}
.display-h2 {
  font-weight: 800;
  font-size: clamp(38px, 5.4vw, 76px);
}
.display-h2 .emph {
  font-style: italic;
  font-weight: 800;
  color: var(--anb-devesa-gold-soft);
}
.display-h1 .emph {
  font-style: italic;
  font-weight: 900;
  color: var(--anb-devesa-gold-soft);
}

.lede {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.5;
  color: rgba(245, 239, 227, 0.82);
  max-width: 36rem;
  margin: 0 0 36px;
  text-wrap: pretty;
}

.numeral {
  font-family: var(--font-numerals);
  font-weight: 400;
  font-feature-settings: "lnum" 1, "tnum" 1;
  font-variant-numeric: tabular-nums lining-nums;
  letter-spacing: -0.02em;
  color: var(--anb-bone);
  line-height: 1;
}

/* ============================================================
   CTA buttons
   ============================================================ */
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 26px;
  font-family: var(--font-stamp);
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  transition: background var(--dur-fast) var(--ease-out-cinematic),
              color var(--dur-fast) var(--ease-out-cinematic),
              transform 120ms var(--ease-out-cinematic),
              border-color var(--dur-fast) var(--ease-out-cinematic);
}
.btn:active { transform: scale(0.98); }
.btn .arrow { transition: transform var(--dur-fast) var(--ease-out-cinematic); }
.btn:hover .arrow { transform: translateX(4px); }

.btn-primary {
  background: var(--anb-bone);
  color: var(--anb-pampas-navy-deep);
}
.btn-primary:hover { background: var(--anb-devesa-gold-soft); }

.btn-secondary {
  background: transparent;
  color: var(--anb-bone);
  border: 1px solid rgba(245, 239, 227, 0.42);
}
.btn-secondary:hover {
  border-color: var(--anb-devesa-gold);
  background: var(--anb-devesa-gold);
  color: var(--anb-pampas-navy-deep);
}

.btn-gold {
  background: var(--anb-devesa-gold);
  color: var(--anb-pampas-navy-deep);
}
.btn-gold:hover { background: var(--anb-devesa-gold-warm); }

/* ============================================================
   BlurText animation
   ============================================================ */
.blur-text { display: inline; }
.blur-word {
  display: inline-block;
  margin-right: 0.28em;
  filter: blur(10px);
  opacity: 0;
  transform: translateY(50px);
  transition: filter 700ms var(--ease-out-cinematic),
              opacity 700ms var(--ease-out-cinematic),
              transform 700ms var(--ease-out-cinematic);
}
.blur-word.mid {
  filter: blur(5px); opacity: 0.5; transform: translateY(-5px);
}
.blur-word.show {
  filter: blur(0); opacity: 1; transform: translateY(0);
}

/* FadeIn wrapper */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  filter: blur(10px);
  transition: opacity 800ms cubic-bezier(0.19, 1, 0.22, 1),
              transform 800ms cubic-bezier(0.19, 1, 0.22, 1),
              filter 800ms cubic-bezier(0.19, 1, 0.22, 1);
}
.fade-in.show { opacity: 1; transform: translateY(0); filter: blur(0); }

/* ============================================================
   Stats strip
   ============================================================ */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid rgba(200, 162, 75, 0.32);
  padding-top: 28px;
  margin-top: 40px;
}
@media (max-width: 720px) { .stats-strip { grid-template-columns: repeat(2, 1fr); gap: 24px 16px; } }

.stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-right: 24px;
  position: relative;
}
.stat:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 12px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: rgba(200, 162, 75, 0.18);
}
.stat .num {
  font-family: var(--font-numerals);
  font-feature-settings: "lnum" 1, "tnum" 1;
  font-variant-numeric: tabular-nums lining-nums;
  font-size: clamp(32px, 3.2vw, 48px);
  font-weight: 400;
  color: var(--anb-bone);
  letter-spacing: -0.02em;
  line-height: 1;
}
.stat .lbl {
  font-family: var(--font-stamp);
  font-size: 10.5px;
  letter-spacing: 0.22em;
  color: rgba(245, 239, 227, 0.68);
  text-transform: uppercase;
  line-height: 1.4;
}

/* ============================================================
   Footer
   ============================================================ */
.anb-footer {
  background: var(--anb-pampas-navy-deep);
  border-top: 1px solid rgba(200, 162, 75, 0.16);
  padding: 80px clamp(24px, 4vw, 64px) 32px;
  position: relative;
  z-index: 5;
}
.anb-footer .grid {
  max-width: 1640px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 56px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(200, 162, 75, 0.16);
}
@media (max-width: 880px) { .anb-footer .grid { grid-template-columns: 1fr 1fr; gap: 36px; } }
@media (max-width: 520px) { .anb-footer .grid { grid-template-columns: 1fr; } }

.anb-footer h6 {
  font-family: var(--font-stamp);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.32em;
  color: var(--anb-devesa-gold);
  text-transform: uppercase;
  margin: 0 0 20px;
}
.anb-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.anb-footer a, .anb-footer .item {
  color: rgba(245, 239, 227, 0.74);
  text-decoration: none;
  font-size: 14px;
  cursor: pointer;
  display: inline-block;
  transition: color var(--dur-fast);
}
.anb-footer a:hover { color: var(--anb-bone); }
.anb-footer .razon {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 16px;
  line-height: 1.5;
  color: rgba(245, 239, 227, 0.7);
  margin: 18px 0 0;
  max-width: 32ch;
}
.anb-footer .strip {
  max-width: 1640px;
  margin: 0 auto;
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.anb-footer .strip small {
  font-family: var(--font-stamp);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: rgba(245, 239, 227, 0.5);
  text-transform: uppercase;
}
.anb-footer .strip .links { display: flex; gap: 24px; }
.anb-footer .strip .links a { font-family: var(--font-stamp); font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(245, 239, 227, 0.5); }

/* ============================================================
   Specific scene helpers
   ============================================================ */
/* Scene 4 — pinned panels */
.scene-pin {
  position: relative;
  background: var(--anb-pampas-navy-deep);
}
.pin-track {
  display: grid;
  grid-template-columns: repeat(4, minmax(280px, 1fr));
  gap: 0;
  width: 100%;
  max-width: 1640px;
  margin: 0 auto;
  padding: 120px clamp(24px, 4vw, 64px) 56px;
  align-items: stretch;
  position: relative;
  z-index: 4;
}
@media (max-width: 880px) { .pin-track { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .pin-track { grid-template-columns: 1fr; } }

.pin-panel {
  border-left: 1px solid rgba(200, 162, 75, 0.18);
  padding: 20px 28px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 60vh;
}
.pin-panel:first-child { border-left: 0; padding-left: 0; }
.pin-panel .big {
  font-family: var(--font-numerals);
  font-feature-settings: "lnum" 1, "tnum" 1;
  font-variant-numeric: tabular-nums lining-nums;
  font-size: clamp(72px, 8vw, 132px);
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: var(--anb-bone);
  margin-bottom: 18px;
}
.pin-panel .lab {
  font-family: var(--font-stamp);
  font-size: 12px;
  letter-spacing: 0.28em;
  color: var(--anb-devesa-gold);
  text-transform: uppercase;
  margin-bottom: 16px;
  line-height: 1.4;
}
.pin-panel .desc {
  font-family: var(--font-body);
  font-size: 14.5px;
  line-height: 1.55;
  color: rgba(245, 239, 227, 0.72);
  max-width: 28ch;
}
.pin-panel .h2-emph {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--anb-bone);
  margin-bottom: 8px;
}
.pin-panel .h2-emph .it {
  font-style: italic; color: var(--anb-devesa-gold-soft); font-weight: 800;
}

/* Scene 5 — quality */
.qual-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 880px) { .qual-grid { grid-template-columns: 1fr; gap: 36px; } }

.qual-img {
  position: relative;
  aspect-ratio: 4 / 3;
  background: #000;
  overflow: hidden;
}
.qual-img img {
  width: 100%; height: 100%; object-fit: cover; object-position: center;
}
.qual-img::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, rgba(0,0,0,0) 40%, rgba(0,0,0,0.5) 100%);
}

.score-bar { margin-top: 28px; }
.score-bar .label {
  font-family: var(--font-stamp);
  font-size: 11px;
  letter-spacing: 0.32em;
  color: rgba(245, 239, 227, 0.7);
  text-transform: uppercase;
  margin-bottom: 12px;
  display: flex;
  justify-content: space-between;
}
.score-bar .track {
  position: relative;
  height: 4px;
  background: rgba(245, 239, 227, 0.12);
  border-radius: 2px;
  overflow: hidden;
}
.score-bar .fill {
  position: absolute;
  inset: 0;
  width: 0%;
  background: linear-gradient(90deg, #6B8AB0 0%, var(--anb-devesa-gold) 60%, var(--anb-asado-red) 100%);
  transition: width 1.6s var(--ease-out-cinematic);
}
.score-bar .marker {
  position: absolute;
  top: 50%;
  left: 0%;
  width: 14px; height: 14px;
  background: var(--anb-bone);
  border: 2px solid var(--anb-devesa-gold);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: left 1.6s var(--ease-out-cinematic);
  box-shadow: 0 0 0 4px rgba(200, 162, 75, 0.18);
}

.badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.badge {
  font-family: var(--font-stamp);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--anb-bone);
  text-transform: uppercase;
  padding: 8px 14px;
  border: 1px solid rgba(200, 162, 75, 0.42);
  background: rgba(14, 26, 48, 0.45);
  backdrop-filter: blur(4px);
}

/* Scene 6 — Devesa */
.scene-devesa {
  background: #0a1426;
}
.devesa-trophy {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 14px 22px 14px 14px;
  border: 1px solid var(--anb-devesa-gold);
  background: rgba(14, 26, 48, 0.5);
  backdrop-filter: blur(6px);
  margin-bottom: 24px;
}
.devesa-trophy img { width: 56px; height: 56px; }
.devesa-trophy .meta {
  display: flex; flex-direction: column; gap: 2px;
}
.devesa-trophy .meta .top {
  font-family: var(--font-stamp);
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--anb-devesa-gold);
}
.devesa-trophy .meta .mid {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 17px;
  color: var(--anb-bone);
  letter-spacing: -0.005em;
}
.devesa-trophy .meta .bot {
  font-family: var(--font-body);
  font-size: 12px;
  color: rgba(245, 239, 227, 0.7);
}

.submarks {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  margin-top: 8px;
  margin-bottom: 28px;
  border-top: 1px solid rgba(200, 162, 75, 0.3);
  border-bottom: 1px solid rgba(200, 162, 75, 0.3);
  font-family: var(--font-stamp);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(245, 239, 227, 0.74);
}
.submarks .sm-name {
  color: var(--anb-devesa-gold-soft);
  font-weight: 600;
}

@keyframes glow {
  0%, 100% { text-shadow: 0 0 0 transparent; }
  50% { text-shadow: 0 0 32px rgba(230, 205, 134, 0.55); }
}
.devesa-emph {
  animation: glow 4.8s ease-in-out infinite;
  font-style: italic;
  color: var(--anb-devesa-gold-soft);
}

/* Scene 7 — World map */
.world-wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
}
.world-svg {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  filter: drop-shadow(0 12px 40px rgba(0,0,0,0.4));
}
.world-svg .land {
  fill: rgba(200, 162, 75, 0.10);
  stroke: rgba(200, 162, 75, 0.32);
  stroke-width: 0.5;
}
.world-svg .land.active { fill: rgba(200, 162, 75, 0.28); stroke: var(--anb-devesa-gold); }
.world-svg .marker { fill: var(--anb-devesa-gold); transform-origin: center; transform-box: fill-box; }
.world-svg .marker-pulse { fill: rgba(200, 162, 75, 0.4); }
.world-svg .route {
  stroke: var(--anb-devesa-gold);
  stroke-width: 1;
  fill: none;
  stroke-dasharray: 4 4;
  opacity: 0.55;
}
.world-svg .origin { fill: var(--anb-asado-red); }

.region-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 36px;
  border-top: 1px solid rgba(200, 162, 75, 0.18);
  padding-top: 24px;
}
@media (max-width: 880px) { .region-strip { grid-template-columns: 1fr 1fr; } }
.region {
  display: flex; flex-direction: column; gap: 8px;
}
.region .nm {
  font-family: var(--font-stamp);
  font-size: 10.5px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--anb-devesa-gold);
}
.region .flags {
  font-size: 18px;
  letter-spacing: 0.1em;
  line-height: 1.4;
}

/* Scene 8 — Family grid */
.scene-family { background: var(--anb-pampas-navy-deep); padding-bottom: 56px; }
.family-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 56px;
}
.family-grid.row2 { grid-template-columns: repeat(2, 1fr); margin-top: 16px; }
@media (max-width: 880px) { .family-grid, .family-grid.row2 { grid-template-columns: 1fr; } }

.family-card {
  position: relative;
  height: 380px;
  overflow: hidden;
  cursor: pointer;
  isolation: isolate;
  border: 1px solid rgba(200, 162, 75, 0.16);
  background: var(--anb-pampas-navy-deep);
  transition: transform 420ms var(--ease-out-cinematic), border-color 240ms;
}
.family-card:hover { transform: scale(1.02); border-color: rgba(200, 162, 75, 0.42); }
.family-card .card-bg {
  position: absolute; inset: 0; z-index: 0;
  background-size: cover; background-position: center;
  transition: transform 800ms var(--ease-out-cinematic), opacity 420ms;
  opacity: 0.6;
}
.family-card:hover .card-bg { transform: scale(1.06); opacity: 0.85; }
.family-card .card-scrim {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to top, rgba(14,26,48,0.96) 0%, rgba(14,26,48,0.55) 60%, rgba(14,26,48,0.2) 100%);
}
.family-card .card-content {
  position: relative; z-index: 2;
  padding: 28px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 10px;
}
.family-card .chip {
  position: absolute;
  top: 20px; right: 20px;
  font-family: var(--font-stamp);
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  padding: 6px 12px;
  background: var(--anb-devesa-gold);
  color: var(--anb-pampas-navy-deep);
  z-index: 3;
}
.family-card .chip.coming {
  background: transparent;
  color: var(--anb-bone);
  border: 1px solid rgba(245, 239, 227, 0.42);
}
.family-card .kicker {
  font-family: var(--font-stamp);
  font-size: 10.5px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--anb-devesa-gold);
}
.family-card h3 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 30px;
  line-height: 1;
  letter-spacing: -0.015em;
  color: var(--anb-bone);
  margin: 0;
  text-transform: none;
}
.family-card p {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.5;
  color: rgba(245, 239, 227, 0.78);
  margin: 0;
  max-width: 32ch;
}
.family-card .arrow-link {
  margin-top: 8px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-stamp);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--anb-devesa-gold);
  transition: color 200ms;
}
.family-card:hover .arrow-link { color: var(--anb-devesa-gold-soft); }

/* Scene 9 — closing */
.closing-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  border-top: 1px solid rgba(200, 162, 75, 0.32);
  margin-top: 36px;
}
@media (max-width: 880px) { .closing-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .closing-grid { grid-template-columns: 1fr; } }

.closing-card {
  padding: 28px 24px;
  border-right: 1px solid rgba(200, 162, 75, 0.18);
  display: flex;
  flex-direction: column;
  gap: 8px;
  cursor: pointer;
  text-decoration: none;
  transition: background 240ms var(--ease-out-cinematic);
}
.closing-card:last-child { border-right: 0; }
.closing-card:hover { background: rgba(200, 162, 75, 0.05); }
.closing-card .num {
  font-family: var(--font-numerals);
  font-size: 28px;
  color: var(--anb-devesa-gold);
}
.closing-card .ttl {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  color: var(--anb-bone);
  letter-spacing: -0.01em;
}
.closing-card .arr {
  font-family: var(--font-stamp);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--anb-devesa-gold);
  text-transform: uppercase;
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Particles for Devesa */
.particles { position: absolute; inset: 0; pointer-events: none; z-index: 2; overflow: hidden; }
.particle {
  position: absolute;
  width: 3px; height: 3px;
  background: var(--anb-devesa-gold-soft);
  border-radius: 50%;
  opacity: 0;
  animation: drift 18s linear infinite;
  filter: blur(0.5px);
}
@keyframes drift {
  0%   { opacity: 0; transform: translate(0, 0) scale(0.6); }
  10%  { opacity: 0.32; }
  90%  { opacity: 0.18; }
  100% { opacity: 0; transform: translate(40px, -180px) scale(1.2); }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .blur-word { filter: none; opacity: 1; transform: none; }
  .fade-in { opacity: 1; transform: none; filter: none; }
}

/* Scroll progress bar */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  background: var(--anb-devesa-gold);
  z-index: 200;
  width: 0%;
  pointer-events: none;
  transition: width 60ms linear;
}

/* Section index dots */
.section-dots {
  position: fixed;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 90;
}
@media (max-width: 720px) { .section-dots { display: none; } }
.section-dots button {
  width: 8px; height: 8px;
  border-radius: 50%;
  border: 1px solid rgba(245, 239, 227, 0.42);
  background: transparent;
  cursor: pointer;
  padding: 0;
  position: relative;
  transition: background 240ms, border-color 240ms;
}
.section-dots button.active {
  background: var(--anb-devesa-gold);
  border-color: var(--anb-devesa-gold);
}
.section-dots button:hover::after {
  content: attr(data-label);
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-stamp);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--anb-bone);
  white-space: nowrap;
  background: rgba(14, 26, 48, 0.92);
  padding: 5px 10px;
  border: 1px solid rgba(200, 162, 75, 0.3);
}

/* Scroll cue */
.scroll-cue {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  font-family: var(--font-stamp);
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(245, 239, 227, 0.6);
}
.scroll-cue .line {
  width: 1px;
  height: 36px;
  background: linear-gradient(to bottom, transparent, var(--anb-devesa-gold));
  animation: scrollLine 2.4s var(--ease-out-cinematic) infinite;
}
@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}
