/* ─────────────────────────────────────────
   NURVA STUDIO — Landing V2
   Tokens del Design System v2.0 — Tinta y Pizarra
   ───────────────────────────────────────── */

:root {
  /* Backgrounds */
  --ink: #0B1210;
  --deep: #0E1A16;
  --surface: #121F1A;
  --edge: #1A2E26;

  /* Sage */
  --sage: #4A9B7F;
  --sage-l: #6DB89A;
  --sage-d: #357560;
  --sage-bg: rgba(74, 155, 127, 0.08);
  --sage-bd: rgba(74, 155, 127, 0.20);

  /* Forest */
  --forest: #1A3D2E;
  --forest-l: #2D5E4A;
  --forest-bg: rgba(26, 61, 46, 0.30);
  --forest-bd: rgba(26, 61, 46, 0.50);

  /* Text */
  --text: #EBE5DC;
  --text-2: #B8B0A4;
  --muted: #7A7268;

  /* Borders */
  --border: rgba(74, 155, 127, 0.07);
  --border2: rgba(74, 155, 127, 0.14);
  --border3: rgba(74, 155, 127, 0.24);

  /* Type */
  --ff-d: 'Rufina', Georgia, serif;
  --ff-b: 'Geist', system-ui, sans-serif;
  --ff-u: 'Syne', system-ui, sans-serif;

  /* Layout */
  --gutter: clamp(1.2rem, 5vw, 4rem);
  --section-max: 1240px;
  --nav-h: 60px;
  --nav-h-scrolled: 52px;

  /* Motion */
  --t-fast: 0.2s linear;
  --t-base: 0.3s linear;
  --t-nav: 0.4s linear;
  --t-reveal: 0.75s cubic-bezier(0.22, 1, 0.36, 1);
  --t-scene: 0.9s cubic-bezier(0.22, 1, 0.36, 1);

  /* Shadows */
  --shadow-cta-hover: 0 12px 32px rgba(74, 155, 127, 0.30);
}

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

html, body {
  background: var(--ink);
  color: var(--text);
  font-family: var(--ff-b);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body { overflow-x: clip; }

html { scroll-behavior: smooth; }

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

::selection { background: var(--sage); color: var(--ink); }

/* Skip link */
.skip-link {
  position: fixed; top: -40px; left: 8px; z-index: 200;
  color: var(--sage); background: var(--ink);
  padding: 8px 12px; border: 1px solid var(--sage-bd); border-radius: 2px;
  font-family: var(--ff-u); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  transition: top 0.2s;
}
.skip-link:focus { top: 8px; }

/* ============== ATMOSPHERE ============== */
.orb {
  position: fixed; border-radius: 50%; filter: blur(90px);
  pointer-events: none; z-index: 0; will-change: transform;
}
.orb-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(74, 155, 127, 0.11), transparent 70%);
  top: -150px; right: -100px;
  animation: orbFloat 22s ease-in-out infinite alternate;
}
.orb-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(26, 61, 46, 0.16), transparent 70%);
  bottom: -50px; left: -80px;
  animation: orbFloat 18s ease-in-out infinite alternate;
  animation-delay: -9s;
}
.orb-3 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(45, 94, 74, 0.14), transparent 70%);
  top: 50%; left: 30%;
  animation: orbFloat 26s ease-in-out infinite alternate;
  animation-delay: -4s;
}
@keyframes orbFloat {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(40px, 30px) scale(1.08); }
}

#noise {
  position: fixed; inset: 0; z-index: 1;
  pointer-events: none; opacity: 0.04;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.95' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.6'/></svg>");
  background-size: 200px 200px;
  mix-blend-mode: overlay;
  animation: noiseShift 0.2s steps(1) infinite;
}
@keyframes noiseShift {
  0%   { background-position: 0 0; }
  20%  { background-position: -10px 5px; }
  40%  { background-position: 7px -3px; }
  60%  { background-position: -5px -8px; }
  80%  { background-position: 12px 9px; }
  100% { background-position: 0 0; }
}

#grid {
  position: fixed; inset: 0; z-index: 0;
  pointer-events: none; opacity: 0.35;
  background-image:
    linear-gradient(to right, rgba(74, 155, 127, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(74, 155, 127, 0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
}

#mesh {
  position: fixed; inset: 0; z-index: 0;
  pointer-events: none; opacity: 0.5;
  width: 100%; height: 100%;
}

main { position: relative; z-index: 2; }

/* ============== NAV ============== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  transition: height var(--t-nav), background var(--t-nav), border var(--t-nav);
}
.nav.is-scrolled {
  height: var(--nav-h-scrolled);
  background: rgba(11, 18, 16, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border3);
}
.nav-inner {
  height: 100%; max-width: var(--section-max); margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex; align-items: center; justify-content: space-between;
}
.logo {
  font-family: var(--ff-d); font-size: 1.15rem; font-weight: 600;
  letter-spacing: 0.02em; color: var(--text);
}
.logo-dot { color: var(--sage); }
.nav-links { display: flex; gap: 2rem; }
.nav-link {
  font-family: var(--ff-u); font-size: 0.62rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--text-2); position: relative;
  transition: color var(--t-fast);
}
.nav-link::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -8px;
  height: 1px; background: var(--sage); transform: scaleX(0);
  transform-origin: left center; transition: transform var(--t-base);
}
.nav-link:hover, .nav-link.is-active { color: var(--text); }
.nav-link.is-active::after { transform: scaleX(1); }
.nav-cta {
  font-family: var(--ff-u); font-size: 0.62rem; letter-spacing: 0.16em; text-transform: uppercase;
  background: transparent; color: var(--sage);
  border: 1px solid var(--sage-bd); padding: 0.55rem 1.1rem;
  border-radius: 2px; min-height: 36px;
  display: inline-flex; align-items: center;
  transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast);
}
.nav-cta:hover { background: var(--sage-bg); border-color: var(--sage); }

@media (max-width: 720px) {
  .nav-links { display: none; }
}

/* ============== HERO ============== */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  padding: 140px var(--gutter) 80px;
  position: relative; overflow: hidden;
}
.hero-inner { max-width: 1080px; margin: 0 auto; width: 100%; position: relative; z-index: 3; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-family: var(--ff-u); font-size: 0.72rem; font-weight: 400; letter-spacing: 0.02em;
  color: var(--sage); border: 1px solid var(--border3); background: var(--sage-bg);
  padding: 0.45rem 0.95rem; border-radius: 2px; margin-bottom: 2.4rem;
}
.hero-dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--sage);
  animation: pulse 2s ease-in-out infinite;
  box-shadow: 0 0 8px rgba(74, 155, 127, 0.6);
}
@keyframes pulse { 0%, 100% { opacity: 0.4; } 50% { opacity: 1; } }

.h1-hero {
  font-family: var(--ff-d); font-size: clamp(3rem, 8vw, 7rem); font-weight: 700;
  letter-spacing: -0.035em; line-height: 1.02; color: var(--text);
  max-width: 1000px; margin-bottom: 0;
}
.h1-hero span { display: block; }
.h1-hero em {
  font-style: italic; font-weight: 300; color: var(--sage-l);
  position: relative;
}
.h1-hero em::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0.05em;
  height: 1px; background: linear-gradient(90deg, transparent, var(--sage), transparent);
  opacity: 0.4;
}

.hero-sub {
  font-family: var(--ff-b); font-size: clamp(1rem, 1.6vw, 1.2rem); font-weight: 400;
  line-height: 1.7; color: var(--text-2);
  margin-top: 2rem; max-width: 720px;
}

.typer { display: inline-flex; align-items: baseline; }
#typeTarget { color: var(--sage); font-weight: 500; }
.typer-cursor {
  display: inline-block; width: 2px; height: 1em; background: var(--sage);
  margin-left: 2px; animation: blink 0.6s step-end infinite; transform: translateY(2px);
}
@keyframes blink { 50% { opacity: 0; } }

.hero-ctas { display: flex; gap: 1rem; margin-top: 2.6rem; flex-wrap: wrap; }

.hero-meta {
  display: flex; align-items: center; gap: 1.6rem; flex-wrap: wrap;
  margin-top: 4rem; padding-top: 2rem; border-top: 1px solid var(--border);
}
.hero-meta-item { display: flex; flex-direction: column; gap: 0.3rem; }
.meta-num {
  font-family: var(--ff-d); font-size: 1.6rem; font-weight: 700;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--sage), var(--sage-l));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.meta-label {
  font-family: var(--ff-u); font-size: 0.58rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--muted);
}
.hero-meta-divider {
  width: 1px; height: 32px; background: var(--border2);
}

.hero-scroll-cue {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 0.7rem;
  z-index: 4;
}
.scroll-cue-label {
  font-family: var(--ff-u); font-size: 0.55rem; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--muted);
}
.scroll-cue-line {
  width: 1px; height: 48px; background: linear-gradient(to bottom, var(--sage), transparent);
  position: relative; overflow: hidden;
}
.scroll-cue-line::after {
  content: ''; position: absolute; top: -48px; left: 0; right: 0; height: 48px;
  background: linear-gradient(to bottom, transparent, var(--sage-l));
  animation: scrollPulse 2.4s ease-in-out infinite;
}
@keyframes scrollPulse {
  0% { transform: translateY(0); }
  100% { transform: translateY(96px); }
}

/* ============== BUTTONS ============== */
.btn-primary {
  font-family: var(--ff-u); font-size: 0.78rem; font-weight: 500; letter-spacing: 0.03em;
  background: var(--sage); color: var(--ink);
  padding: 0.9rem 1.8rem; border-radius: 2px;
  display: inline-flex; align-items: center; gap: 0.7rem; min-height: 44px;
  position: relative; overflow: hidden;
  transition: background var(--t-fast), transform var(--t-fast), box-shadow var(--t-fast);
}
.btn-primary::before {
  content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent);
  transition: left 0.6s;
}
.btn-primary:hover { background: var(--sage-l); transform: translateY(-2px); box-shadow: var(--shadow-cta-hover); }
.btn-primary:hover::before { left: 100%; }
.btn-primary.btn-lg { padding: 1.15rem 2.3rem; font-size: 0.82rem; }

.btn-ghost {
  font-family: var(--ff-u); font-size: 0.62rem; letter-spacing: 0.16em; text-transform: uppercase;
  background: transparent; color: var(--text-2);
  padding: 0.95rem 1.8rem; border-radius: 2px;
  border: 1px solid var(--border2);
  display: inline-flex; align-items: center; gap: 0.7rem; min-height: 44px;
  transition: color var(--t-fast), border-color var(--t-fast), background var(--t-fast);
}
.btn-ghost:hover { color: var(--text); border-color: var(--border3); background: var(--sage-bg); }
.btn-ghost.btn-lg { padding: 1.15rem 2.3rem; font-size: 0.7rem; }

/* ============== MARQUEE ============== */
.marquee {
  padding: 1.4rem 0; border-top: 1px solid var(--border2); border-bottom: 1px solid var(--border2);
  overflow: hidden; position: relative; z-index: 2;
  background: rgba(11, 18, 16, 0.4);
  backdrop-filter: blur(4px);
}
.marquee-track {
  display: flex; align-items: center; white-space: nowrap;
  animation: marqueeScroll 50s linear infinite;
}
.marquee-track:hover { animation-play-state: paused; }
.marquee-item {
  font-family: var(--ff-u); font-size: 0.65rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--text-2); padding: 0 2.5rem; flex-shrink: 0;
}
.marquee-sep {
  width: 4px; height: 4px; border-radius: 50%; background: var(--sage); flex-shrink: 0;
}
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ============== SECTIONS ============== */
.section-inner {
  max-width: var(--section-max); margin: 0 auto;
  padding: clamp(5rem, 12vw, 9rem) 0;
}

.section-label {
  font-family: var(--ff-u); font-size: 0.62rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--sage); margin-bottom: 1.6rem;
  display: flex; align-items: center; gap: 0.8rem;
}
.section-label-line { width: 24px; height: 1px; background: var(--sage); flex-shrink: 0; }

.h2 {
  font-family: var(--ff-d); font-size: clamp(2rem, 4.6vw, 3.6rem); font-weight: 600;
  letter-spacing: -0.025em; line-height: 1.1; color: var(--text);
  margin-bottom: 4rem; max-width: 880px;
}
.h2 em { font-style: italic; font-weight: 300; color: var(--sage-l); }

.h1-cta {
  font-family: var(--ff-d); font-size: clamp(2.5rem, 5.6vw, 5.5rem); font-weight: 700;
  letter-spacing: -0.04em; line-height: 1; color: var(--text);
  margin-bottom: 2rem;
}
.h1-cta em { font-style: italic; font-weight: 300; color: var(--sage); }

/* ============== REEL — Operating System ============== */
.reel {
  /* 6 scenes × 100vh + transition headroom */
  height: 600vh;
  position: relative;
  padding: 0 var(--gutter);
}
.reel-pin {
  position: sticky; top: 0; height: 100vh;
  display: flex; align-items: stretch;
  overflow: hidden;
}
.reel-frame {
  width: 100%; height: 100%; max-width: var(--section-max); margin: 0 auto;
  display: flex; flex-direction: column; gap: 1.2rem;
  padding: clamp(5rem, 10vh, 7rem) 0 clamp(2rem, 4vh, 3rem);
}
.reel-header {
  flex-shrink: 0;
}
.reel-h2 {
  font-family: var(--ff-d); font-size: clamp(1.6rem, 3.6vw, 2.6rem); font-weight: 600;
  letter-spacing: -0.025em; line-height: 1.1; color: var(--text);
  max-width: 720px;
}
.reel-h2 em { font-style: italic; font-weight: 300; color: var(--sage-l); }

.reel-stage {
  position: relative; flex: 1;
  display: grid; grid-template-columns: 1fr 200px; gap: 2rem;
  min-height: 0;
}

.reel-scenes {
  position: relative; height: 100%; min-height: 0;
}
.scene {
  position: absolute; inset: 0;
  display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  opacity: 0; pointer-events: none;
  transform: translateY(40px) scale(0.98);
  transition: opacity var(--t-scene), transform var(--t-scene);
}
.scene.is-active {
  opacity: 1; pointer-events: auto;
  transform: none;
}
.scene.is-prev {
  opacity: 0;
  transform: translateY(-40px) scale(0.98);
}

.scene-content { display: flex; flex-direction: column; gap: 1.2rem; }
.scene-meta {
  display: flex; align-items: center; gap: 1rem;
  margin-bottom: 0.4rem;
}
.scene-index {
  font-family: var(--ff-d); font-size: 3.4rem; font-weight: 700; letter-spacing: -0.04em;
  background: linear-gradient(135deg, var(--sage), var(--forest-l));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}
.scene-tag {
  font-family: var(--ff-u); font-size: 0.72rem; font-weight: 400;
  color: var(--sage); padding: 0.3rem 0.85rem;
  border: 1px solid var(--border3); background: transparent;
  border-radius: 2px;
}
/* Tag system v2 — 3 niveles con Syne */
.tag-primary {
  font-family: var(--ff-u); font-size: .72rem; font-weight: 500;
  color: var(--ink); background: var(--sage);
  padding: .3rem .85rem; border-radius: 2px; border: none;
  display: inline-flex; align-items: center;
}
.tag-secondary {
  font-family: var(--ff-u); font-size: .72rem; font-weight: 400;
  color: var(--sage); background: transparent;
  padding: .3rem .85rem; border-radius: 2px;
  border: 1px solid var(--border3);
  display: inline-flex; align-items: center;
}
.tag-tertiary {
  font-family: var(--ff-u); font-size: .72rem; font-weight: 400;
  color: var(--text-2); background: transparent; border: none;
  padding: .3rem 0;
  display: inline-flex; align-items: center; gap: .4rem;
}
.tag-tertiary::before {
  content: ''; width: 4px; height: 4px; background: var(--sage);
  border-radius: 50%; flex-shrink: 0;
}

.scene-title {
  font-family: var(--ff-d); font-size: clamp(2.2rem, 4.6vw, 3.6rem); font-weight: 600;
  letter-spacing: -0.03em; line-height: 1.04; color: var(--text);
}
.scene-title em {
  font-style: italic; font-weight: 300; color: var(--sage-l);
}
.scene-body {
  font-family: var(--ff-b); font-size: clamp(0.95rem, 1.3vw, 1.05rem); font-weight: 400;
  line-height: 1.7; color: var(--text-2);
  text-align: justify; text-align-last: left; hyphens: auto;
  max-width: 540px;
}
.scene-points {
  display: flex; flex-direction: column; gap: 0.7rem;
  margin-top: 0.6rem;
}
.scene-points li {
  font-family: var(--ff-u); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-2); display: flex; align-items: center; gap: 0.7rem;
}
.scene-points .bullet {
  width: 5px; height: 5px; border-radius: 50%; background: var(--sage);
  box-shadow: 0 0 6px rgba(74, 155, 127, 0.5); flex-shrink: 0;
}

.scene-visual {
  position: relative; aspect-ratio: 4/3; max-height: 520px;
  border: 1px solid var(--border2); border-radius: 2px;
  background:
    radial-gradient(circle at 30% 20%, rgba(74, 155, 127, 0.08), transparent 60%),
    radial-gradient(circle at 70% 80%, rgba(26, 61, 46, 0.10), transparent 60%),
    var(--deep);
  overflow: hidden;
  transform: perspective(1200px) rotateY(-4deg) rotateX(2deg);
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.scene.is-active .scene-visual {
  transform: perspective(1200px) rotateY(0deg) rotateX(0deg);
}
.scene-visual::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, transparent 70%, rgba(11, 18, 16, 0.6));
  z-index: 2;
}
.scene-visual::after {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--sage), transparent);
  opacity: 0.6;
  animation: visualScan 4s linear infinite;
}
@keyframes visualScan {
  0%   { transform: translateY(0); opacity: 0.6; }
  50%  { opacity: 1; }
  100% { transform: translateY(100vh); opacity: 0; }
}
.visual-svg { width: 100%; height: 100%; padding: clamp(1rem, 3vw, 2rem); }

/* Scene 1 — Landing anatomy animations */
/* Base: hidden until scene is active */
.anat-page { opacity: 0; }
.anat-l1, .anat-l2, .anat-l3, .anat-l4 { opacity: 0; }
.ann-line-1, .ann-line-2, .ann-line-3 { opacity: 0; }

/* Reveal on active */
.scene[data-scene="0"].is-active .anat-page { animation: anatFadeIn 0.6s ease-out 0.1s both; }
.scene[data-scene="0"].is-active .anat-l1   { animation: anatSlideR 0.45s cubic-bezier(.22,1,.36,1) 0.5s both; }
.scene[data-scene="0"].is-active .anat-l2   { animation: anatSlideR 0.45s cubic-bezier(.22,1,.36,1) 1.0s both; }
.scene[data-scene="0"].is-active .anat-l3   { animation: anatSlideR 0.45s cubic-bezier(.22,1,.36,1) 1.5s both; }
.scene[data-scene="0"].is-active .anat-l4   { animation: anatFadeIn 0.4s ease-out 2.0s both; }
.scene[data-scene="0"].is-active .ann-line-1 { animation: anatFadeIn 0.3s ease-out 0.65s both; }
.scene[data-scene="0"].is-active .ann-line-2 { animation: anatFadeIn 0.3s ease-out 1.15s both; }
.scene[data-scene="0"].is-active .ann-line-3 { animation: anatFadeIn 0.3s ease-out 1.65s both; }
.scene[data-scene="0"].is-active .anat-cta-glow { animation: anatCtaGlow 2.2s ease-in-out 2.2s infinite; }

@keyframes anatFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes anatSlideR {
  from { opacity: 0; transform: translateX(14px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes anatCtaGlow {
  0%, 100% { filter: drop-shadow(0 0 0 rgba(74, 155, 127, 0)); }
  50%      { filter: drop-shadow(0 0 10px rgba(74, 155, 127, 0.65)); }
}

/* Terminal visual — Scene 2 */
.t-terminal {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  font-family: var(--mono);
}
.t-bar {
  background: rgba(74,155,127,0.07);
  border-bottom: 1px solid rgba(74,155,127,0.14);
  padding: 9px 14px;
  display: flex; align-items: center; gap: 10px;
  flex-shrink: 0;
}
.t-dots { display: flex; gap: 5px; }
.t-dot  { display: inline-block; width: 7px; height: 7px; border-radius: 50%; }
.t-d1 { background: rgba(74,155,127,0.65); }
.t-d2 { background: rgba(74,155,127,0.3); }
.t-d3 { background: rgba(74,155,127,0.14); }
.t-title { font-size: 8px; letter-spacing: 2px; color: #4A9B7F; }
.t-status { margin-left: auto; display: flex; align-items: center; gap: 6px; font-size: 8px; letter-spacing: 1.5px; color: #7A7268; }
.t-live  { width: 5px; height: 5px; background: #4A9B7F; border-radius: 50%; }
.t-body  {
  flex: 1; overflow: hidden;
  padding: clamp(0.6rem, 1.8vw, 1.1rem) clamp(0.75rem, 2vw, 1.25rem);
  display: flex; flex-direction: column;
}
.t-line  { display: flex; gap: 12px; opacity: 0; font-size: clamp(9px, 1.15vw, 11px); line-height: 1.95; }
.t-ts   { color: #2C2C2C; flex-shrink: 0; }
.t-in   { color: rgba(237,232,226,0.42); }
.t-in b { color: rgba(237,232,226,0.8); font-weight: 400; }
.t-proc { color: rgba(74,155,127,0.52); }
.t-dim  { color: rgba(237,232,226,0.28); }
.t-ok   { color: #4A9B7F; }
.t-ok b { color: rgba(237,232,226,0.85); font-weight: 400; }
.t-sum  { color: rgba(237,232,226,0.26); font-style: italic; }
.t-sum b{ color: rgba(237,232,226,0.55); font-weight: 400; font-style: normal; }
.t-cursor {
  display: inline-block; width: 6px; height: 0.9em;
  background: #4A9B7F; vertical-align: middle;
  animation: tCursorBlink 1s step-end infinite;
}
@keyframes tCursorBlink { 0%,100%{opacity:1} 50%{opacity:0} }
@keyframes tLivePulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.25;transform:scale(0.65)} }
@keyframes tLineIn { from{opacity:0;transform:translateX(-5px)} to{opacity:1;transform:translateX(0)} }

/* Scene 2 — terminal log animations */
.scene[data-scene="1"].is-active .t-live   { animation: tLivePulse 1.4s ease-in-out infinite; }
.scene[data-scene="1"].is-active .t-line   { animation: tLineIn 0.18s ease-out both; }
.scene[data-scene="1"].is-active .l1       { animation-delay: 0.2s; }
.scene[data-scene="1"].is-active .l2       { animation-delay: 0.6s; }
.scene[data-scene="1"].is-active .l3       { animation-delay: 1.1s; }
.scene[data-scene="1"].is-active .l4       { animation-delay: 1.5s; }
.scene[data-scene="1"].is-active .l5       { animation-delay: 2.2s; }
.scene[data-scene="1"].is-active .l6       { animation-delay: 2.7s; }
.scene[data-scene="1"].is-active .l7       { animation-delay: 3.1s; }
.scene[data-scene="1"].is-active .l8       { animation-delay: 3.6s; }
.scene[data-scene="1"].is-active .l9       { animation-delay: 4.0s; }
.scene[data-scene="1"].is-active .l10      { animation-delay: 4.4s; }
.scene[data-scene="1"].is-active .l11      { animation-delay: 4.8s; }
.scene[data-scene="1"].is-active .lcursor  { animation-delay: 5.1s; }
@keyframes ringsRotate { to { transform: rotate(360deg); } }
@keyframes agentPulse {
  0%   { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(2.4); opacity: 0; }
}
@keyframes corePulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.18); }
}
@keyframes nodeBlink {
  0%, 100% { opacity: 0.3; r: 3; }
  50% { opacity: 1; r: 5; }
}
@keyframes lineGlow {
  0%, 100% { opacity: 0.2; }
  50% { opacity: 0.6; }
}

/* Scene 3 — Chat UI */
.chat-ui {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  font-family: var(--mono);
  overflow: hidden;
}
.chat-header {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px;
  background: rgba(74,155,127,.07);
  border-bottom: 1px solid rgba(74,155,127,.15);
  flex-shrink: 0;
}
.chat-avatar {
  width: 28px; height: 28px; border-radius: 50%;
  background: #4A9B7F;
  font-family: var(--ff-d); font-size: 14px; font-weight: 700;
  color: #0A0C0F; display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.chat-info { flex: 1; }
.chat-name  { font-size: clamp(7px, .9vw, 9px); letter-spacing: .12em; color: #4A9B7F; }
.chat-status { display: flex; align-items: center; gap: 5px; font-size: clamp(6px, .75vw, 8px); color: rgba(237,232,226,.4); margin-top: 2px; }
.chat-online {
  width: 5px; height: 5px; border-radius: 50%; background: #4ade80;
  animation: chatOnlinePulse 2s ease-in-out infinite;
}
.chat-channel { font-size: clamp(6px, .7vw, 8px); color: rgba(237,232,226,.25); letter-spacing: .08em; }
.chat-body {
  flex: 1; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end;
  gap: clamp(6px, 1vw, 10px);
  padding: clamp(8px, 1.5vw, 14px) clamp(10px, 2vw, 18px);
}
.chat-msg {
  max-width: 74%; padding: 7px 11px;
  border-radius: 3px;
  font-size: clamp(9.5px, 1.05vw, 11px); line-height: 1.5;
  opacity: 0;
}
.chat-user {
  align-self: flex-start;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08);
  color: rgba(237,232,226,.75);
}
.chat-bot {
  align-self: flex-end;
  background: rgba(74,155,127,.1); border: 1px solid rgba(74,155,127,.3);
  color: rgba(237,232,226,.9);
}
.chat-confirm {
  background: rgba(74,155,127,.18); border-color: #4A9B7F;
  color: #EDE8E2; font-size: clamp(8px, 1vw, 10px);
}
.chat-confirm span { display: block; color: rgba(237,232,226,.45); margin-top: 3px; font-size: .9em; }
.chat-footer {
  padding: 7px 14px; border-top: 1px solid rgba(74,155,127,.1);
  font-size: clamp(6px, .75vw, 8px); color: rgba(237,232,226,.2);
  letter-spacing: .06em; text-align: center; flex-shrink: 0;
}

/* Animaciones de entrada */
.scene[data-scene="2"].is-active .chat-msg { animation: chatPop 0.5s cubic-bezier(.22,1,.36,1) both; }
.scene[data-scene="2"].is-active .cm1 { animation-delay: 0.2s; }
.scene[data-scene="2"].is-active .cm2 { animation-delay: 0.9s; }
.scene[data-scene="2"].is-active .cm3 { animation-delay: 1.6s; }
.scene[data-scene="2"].is-active .cm4 { animation-delay: 2.3s; }
.scene[data-scene="2"].is-active .cm5 { animation-delay: 3.1s; }
.scene[data-scene="2"].is-active .cm6 { animation-delay: 3.8s; }
@keyframes chatPop {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes chatOnlinePulse {
  0%, 100% { opacity: 1; } 50% { opacity: .3; }
}

/* Scene 4 — Pipeline UI */
.pipe-ui {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: center;
  gap: 0;
  font-family: var(--mono);
  padding: clamp(14px, 2.5vw, 24px) clamp(16px, 3vw, 28px);
}

.pipe-trigger {
  background: rgba(74,155,127,.07);
  border: 1px solid rgba(74,155,127,.3);
  border-radius: 3px;
  padding: 10px 14px;
  opacity: 0;
}
.pipe-trigger-label {
  font-size: clamp(7px, .8vw, 8px); letter-spacing: .18em;
  color: rgba(74,155,127,.7); margin-bottom: 4px;
}
.pipe-trigger-event {
  font-size: clamp(10px, 1.1vw, 12px); color: #EDE8E2; font-weight: 500;
}
.pipe-trigger-meta {
  font-size: clamp(7.5px, .85vw, 9px); color: rgba(237,232,226,.35); margin-top: 3px;
}

.pipe-arrow {
  display: flex; flex-direction: column; align-items: center;
  gap: 0; padding: 4px 0; opacity: 0;
}
.pipe-arrow-line {
  width: 1px; height: 14px;
  background: linear-gradient(to bottom, rgba(74,155,127,.4), rgba(74,155,127,.15));
}
.pipe-arrow-hub {
  font-size: clamp(7px, .8vw, 8px); letter-spacing: .2em;
  color: #4A9B7F; background: rgba(74,155,127,.12);
  border: 1px solid rgba(74,155,127,.35); border-radius: 2px;
  padding: 3px 10px;
}

.pipe-results {
  display: flex; flex-direction: column; gap: 2px;
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 3px; overflow: hidden;
}
.pipe-row {
  display: flex; align-items: center; gap: clamp(6px, 1vw, 10px);
  padding: clamp(7px, 1vw, 10px) 14px;
  background: rgba(255,255,255,.02);
  border-bottom: 1px solid rgba(255,255,255,.04);
  opacity: 0;
}
.pipe-row:last-child { border-bottom: none; }
.pipe-check {
  color: #4ade80; font-size: clamp(9px, 1vw, 11px); flex-shrink: 0;
}
.pipe-tool {
  font-size: clamp(9px, 1vw, 11px); color: #EDE8E2; font-weight: 500;
  flex-shrink: 0; min-width: clamp(70px, 9vw, 110px);
}
.pipe-action {
  font-size: clamp(8.5px, .95vw, 10.5px); color: rgba(237,232,226,.45); flex: 1;
}
.pipe-time {
  font-size: clamp(8px, .85vw, 9.5px); color: rgba(74,155,127,.7); flex-shrink: 0;
}

.pipe-footer {
  display: flex; align-items: center; justify-content: center;
  gap: 10px; padding: 10px 14px 0;
  opacity: 0;
}
.pipe-before {
  font-size: clamp(8px, .9vw, 10px); color: rgba(237,232,226,.3);
  text-decoration: line-through;
}
.pipe-arrow-txt { color: rgba(74,155,127,.5); font-size: 12px; }
.pipe-after {
  font-size: clamp(8px, .9vw, 10px); color: #4A9B7F; font-weight: 500;
}

/* Animaciones de entrada */
.scene[data-scene="3"].is-active .pt1    { animation: pipeIn .4s ease .2s both; }
.scene[data-scene="3"].is-active .pa1    { animation: pipeIn .3s ease .7s both; }
.scene[data-scene="3"].is-active .pr1    { animation: pipeIn .35s ease 1.1s both; }
.scene[data-scene="3"].is-active .pr2    { animation: pipeIn .35s ease 1.5s both; }
.scene[data-scene="3"].is-active .pr3    { animation: pipeIn .35s ease 1.9s both; }
.scene[data-scene="3"].is-active .pr4    { animation: pipeIn .35s ease 2.3s both; }
.scene[data-scene="3"].is-active .pipe-footer { animation: pipeIn .4s ease 2.8s both; }
@keyframes pipeIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Scene 5 — Dashboard UI */
.dash-ui {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  font-family: var(--mono);
  overflow: hidden;
}
.dash-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 14px;
  border-bottom: 1px solid rgba(74,155,127,.15);
  background: rgba(74,155,127,.05);
  flex-shrink: 0; opacity: 0;
}
.dash-title { font-size: clamp(9px, 1vw, 11px); color: #EDE8E2; letter-spacing: .06em; }
.dash-tabs { display: flex; gap: 4px; }
.dash-tab {
  font-size: clamp(7px, .8vw, 8.5px); letter-spacing: .1em;
  color: rgba(237,232,226,.3); padding: 3px 8px; border-radius: 2px;
  cursor: default;
}
.dash-tab-active { background: rgba(74,155,127,.2); color: #4A9B7F; }

.dash-kpis {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid rgba(255,255,255,.05);
  flex-shrink: 0;
}
.dash-kpi {
  padding: clamp(10px, 1.5vw, 16px) clamp(10px, 1.5vw, 14px);
  border-right: 1px solid rgba(255,255,255,.05);
  opacity: 0;
}
.dash-kpi:last-child { border-right: none; }
.dash-kpi-label {
  font-size: clamp(7px, .75vw, 8px); letter-spacing: .15em;
  color: rgba(237,232,226,.35); margin-bottom: 6px;
}
.dash-kpi-value {
  font-family: var(--ff-d); font-size: clamp(22px, 3vw, 30px);
  font-weight: 700; color: #EDE8E2; line-height: 1; margin-bottom: 5px;
  letter-spacing: -.02em;
}
.dash-kpi-delta { font-size: clamp(7.5px, .8vw, 9px); color: rgba(237,232,226,.3); }
.dash-up { color: #4ade80; }

.dash-table { flex: 1; display: flex; flex-direction: column; overflow: hidden; }
.dash-row {
  display: grid; grid-template-columns: 1fr auto auto;
  gap: clamp(8px, 1.5vw, 16px);
  padding: clamp(8px, 1.1vw, 11px) 14px;
  border-bottom: 1px solid rgba(255,255,255,.04);
  align-items: center; opacity: 0;
}
.dash-row-head {
  font-size: clamp(7px, .75vw, 8px); letter-spacing: .12em;
  color: rgba(237,232,226,.25); background: rgba(255,255,255,.02);
}
.dash-row span:first-child { font-size: clamp(9px, 1vw, 11px); color: rgba(237,232,226,.75); }
.dash-row span:last-child  { font-size: clamp(7.5px, .8vw, 9px); color: rgba(237,232,226,.3); }
.dash-badge {
  font-size: clamp(7px, .75vw, 8px); letter-spacing: .1em;
  padding: 3px 8px; border-radius: 2px; white-space: nowrap;
}
.dash-badge-green  { background: rgba(74,222,128,.12); color: #4ade80; border: 1px solid rgba(74,222,128,.25); }
.dash-badge-orange { background: rgba(74,155,127,.12); color: #4A9B7F; border: 1px solid rgba(74,155,127,.3); }
.dash-badge-dim    { background: rgba(255,255,255,.05); color: rgba(237,232,226,.4); border: 1px solid rgba(255,255,255,.08); }

.dash-alerts {
  border-top: 1px solid rgba(255,255,255,.05);
  display: flex; flex-direction: column;
  flex-shrink: 0; opacity: 0;
}
.dash-alert {
  display: flex; align-items: center; gap: 8px;
  padding: clamp(7px, 1vw, 10px) 14px;
  border-bottom: 1px solid rgba(255,255,255,.04);
}
.dash-alert:last-child { border-bottom: none; }
.dash-alert-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #4A9B7F; flex-shrink: 0;
  animation: alertPulse 1.8s ease-in-out infinite;
}
.dash-alert-dot-dim { background: rgba(237,232,226,.2); animation: none; }
.dash-alert-text {
  font-size: clamp(8.5px, .95vw, 10px); color: rgba(237,232,226,.55); flex: 1;
}
.dash-alert-text strong { color: #EDE8E2; font-weight: 500; }
.dash-alert-warn .dash-alert-text { color: rgba(237,232,226,.8); }
.dash-alert-action {
  font-size: clamp(7.5px, .85vw, 9px); color: #4A9B7F;
  letter-spacing: .06em; cursor: default;
}
@keyframes alertPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .35; transform: scale(.7); }
}

/* Animaciones de entrada */
.scene[data-scene="4"].is-active .dh1 { animation: dashIn .4s ease .2s both; }
.scene[data-scene="4"].is-active .dk1 { animation: dashIn .4s ease .5s both; }
.scene[data-scene="4"].is-active .dk2 { animation: dashIn .4s ease .7s both; }
.scene[data-scene="4"].is-active .dk3 { animation: dashIn .4s ease .9s both; }
.scene[data-scene="4"].is-active .dt0 { animation: dashIn .3s ease 1.1s both; }
.scene[data-scene="4"].is-active .dt1 { animation: dashIn .35s ease 1.3s both; }
.scene[data-scene="4"].is-active .dt2 { animation: dashIn .35s ease 1.6s both; }
.scene[data-scene="4"].is-active .dt3 { animation: dashIn .35s ease 1.9s both; }
.scene[data-scene="4"].is-active .da1 { animation: dashIn .4s ease 2.2s both; }
@keyframes dashIn {
  from { opacity: 0; transform: translateY(5px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Scene 6 — Branding animations */
.brand-swatch { cursor: pointer; }
#brand-n, #brand-dot { transition: fill 0.35s ease; }
.scene[data-scene="5"].is-active .brand-letter text { animation: brandPulse 3s ease-in-out infinite; }
.scene[data-scene="5"].is-active .brand-palette rect { animation: paletteSlide 0.6s cubic-bezier(0.22, 1, 0.36, 1) backwards; }
.scene[data-scene="5"].is-active .brand-palette rect:nth-child(1) { animation-delay: 0.1s; }
.scene[data-scene="5"].is-active .brand-palette rect:nth-child(2) { animation-delay: 0.2s; }
.scene[data-scene="5"].is-active .brand-palette rect:nth-child(3) { animation-delay: 0.3s; }
.scene[data-scene="5"].is-active .brand-palette rect:nth-child(4) { animation-delay: 0.4s; }
.scene[data-scene="5"].is-active .brand-palette rect:nth-child(5) { animation-delay: 0.5s; }
.scene[data-scene="5"].is-active .brand-palette rect:nth-child(6) { animation-delay: 0.6s; }
@keyframes brandPulse {
  0%, 100% { opacity: 0.95; }
  50% { opacity: 1; filter: drop-shadow(0 0 12px rgba(74, 155, 127, 0.4)); }
}
@keyframes paletteSlide {
  0%   { opacity: 0; transform: translateY(12px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* Reel index sidebar */
.reel-index {
  border-left: 1px solid var(--border2);
  padding-left: 1.5rem;
  display: flex; align-items: center;
}
.reel-index ol { display: flex; flex-direction: column; gap: 1.1rem; }
.reel-i {
  display: flex; align-items: center; gap: 0.9rem;
  cursor: pointer; opacity: 0.4;
  transition: opacity var(--t-base), transform var(--t-base);
  position: relative;
}
.reel-i::before {
  content: ''; position: absolute; left: -1.5rem; top: 50%; transform: translateY(-50%);
  width: 2px; height: 0; background: var(--sage);
  transition: height var(--t-base);
}
.reel-i:hover { opacity: 0.7; }
.reel-i.is-active { opacity: 1; transform: translateX(4px); }
.reel-i.is-active::before { height: 24px; }
.reel-i-num {
  font-family: var(--ff-u); font-size: 0.65rem; letter-spacing: 0.16em;
  color: var(--sage); flex-shrink: 0;
}
.reel-i-name {
  font-family: var(--ff-d); font-size: 1.05rem; font-weight: 600;
  letter-spacing: -0.01em; color: var(--text);
}

/* Progress bar */
.reel-progress {
  display: flex; align-items: center; gap: 1rem;
  flex-shrink: 0;
}
.reel-progress-track {
  flex: 1; height: 1px; background: var(--border2); position: relative; overflow: hidden;
}
.reel-progress-fill {
  position: absolute; left: 0; top: 0; bottom: 0; width: 0%;
  background: linear-gradient(90deg, var(--sage), var(--forest-l));
  transition: width 0.3s linear;
}
.reel-progress-fill::after {
  content: ''; position: absolute; right: -3px; top: -3px; bottom: -3px; width: 7px;
  background: var(--sage); border-radius: 50%; box-shadow: 0 0 12px rgba(74, 155, 127, 0.7);
}
.reel-progress-meta {
  font-family: var(--ff-u); font-size: 0.7rem; letter-spacing: 0.16em;
  color: var(--text-2); display: flex; align-items: center; gap: 0.4rem;
}
.reel-progress-meta #reelCurrent { color: var(--sage); }
.reel-progress-divider { color: var(--muted); }

@media (max-width: 960px) {
  .reel { height: auto; }
  .reel-pin { position: relative; height: auto; padding: 4rem 0; }
  .reel-stage { grid-template-columns: 1fr; }
  .reel-scenes { position: relative; }
  .scene {
    position: relative; opacity: 1; transform: none; pointer-events: auto;
    grid-template-columns: 1fr; gap: 2rem; margin-bottom: 4rem;
  }
  .reel-index { display: none; }
}

/* ============== PROCESS ============== */
.process { padding: 0 var(--gutter); position: relative; z-index: 2; background: var(--deep); }
.process .section-inner { max-width: var(--section-max); }
.process-list { display: flex; flex-direction: column; }
.process-item {
  display: grid; grid-template-columns: 100px 1fr; gap: clamp(1rem, 4vw, 3rem);
  padding: 2.2rem 0;
  border-top: 1px solid var(--border2);
  align-items: start;
  transition: border-color var(--t-base);
}
.process-item:last-child { border-bottom: 1px solid var(--border2); }
.process-item:hover { border-color: var(--sage); }
.process-n {
  font-family: var(--ff-d); font-size: clamp(2.6rem, 5vw, 4rem); font-weight: 700;
  letter-spacing: -0.04em; line-height: 1;
  color: var(--border3); transition: color var(--t-base);
}
.process-item:hover .process-n { color: var(--sage); }
.process-title {
  font-family: var(--ff-d); font-size: 1.35rem; font-weight: 600; letter-spacing: -0.02em;
  color: var(--text); margin-bottom: 0.7rem;
}
.process-body {
  font-family: var(--ff-b); font-size: 0.95rem; line-height: 1.65;
  color: var(--text-2); max-width: 640px;
  text-align: justify; text-align-last: left; hyphens: auto;
}

/* ============== STATS ============== */
.stats { padding: 0 var(--gutter); position: relative; z-index: 2; }
.stat-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1px; background: var(--border2); border: 1px solid var(--border2);
}
.stat {
  background: var(--deep); padding: clamp(2rem, 4vw, 3rem) clamp(2rem, 4vw, 2.5rem);
  display: flex; flex-direction: column; gap: 0.5rem;
  position: relative; overflow: hidden;
  transition: background var(--t-base);
}
.stat:hover { background: var(--surface); }
.stat::after {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--sage), var(--forest-l));
  opacity: 0; transition: opacity 0.5s;
}
.stat:hover::after { opacity: 1; }
.stat-val {
  font-family: var(--ff-d); font-size: clamp(2.6rem, 5.5vw, 4.5rem); font-weight: 700;
  letter-spacing: -0.04em; line-height: 1;
  background: linear-gradient(135deg, var(--sage), var(--sage-l));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat-label {
  font-family: var(--ff-u); font-size: 0.62rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--text); margin-top: 0.6rem;
}
.stat-sub {
  font-family: var(--ff-b); font-size: 0.85rem; line-height: 1.5;
  color: var(--text-2); margin-top: 0.4rem;
}

/* ============== MANIFIESTO ============== */
.manifesto { padding: 0 var(--gutter); position: relative; z-index: 2; background: var(--deep); }
.manifesto-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1px; background: var(--border2); border: 1px solid var(--border2);
}
.manifesto-statement {
  background: var(--ink); padding: clamp(2rem, 4vw, 3rem);
  position: relative; overflow: hidden;
  transition: background var(--t-base);
}
.manifesto-statement:hover { background: var(--surface); }
.manifesto-statement::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--sage), var(--forest-l));
  opacity: 0; transition: opacity 0.5s;
}
.manifesto-statement:hover::before { opacity: 1; }
.man-quote {
  font-family: var(--ff-d); font-size: 5rem; font-weight: 700; line-height: 0.5;
  color: var(--sage); display: block; height: 2.4rem; margin-bottom: 0.6rem;
  opacity: 0.6;
}
.man-text {
  font-family: var(--ff-d); font-size: clamp(1.2rem, 1.8vw, 1.55rem); font-weight: 500;
  line-height: 1.35; letter-spacing: -0.01em;
  color: var(--text);
}
.man-text em { font-style: italic; font-weight: 300; color: var(--sage-l); }

/* ============== CTA FINAL ============== */
.cta-final { padding: 0 var(--gutter); position: relative; z-index: 2; text-align: center; }
.cta-final .section-inner { max-width: 880px; }
.cta-final .section-label { justify-content: center; }
.cta-sub {
  font-family: var(--ff-b); font-size: clamp(1rem, 1.5vw, 1.15rem); line-height: 1.7;
  color: var(--text-2); max-width: 640px; margin: 0 auto 2.6rem;
}
.cta-buttons {
  display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center;
}

/* ============== FOOTER ============== */
.footer {
  padding: 2rem var(--gutter); border-top: 1px solid var(--border2);
  position: relative; z-index: 2; background: var(--ink);
}
.footer-inner {
  max-width: var(--section-max); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; flex-wrap: wrap;
}
.footer-meta {
  font-family: var(--ff-u); font-size: 0.6rem; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--muted);
}
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a {
  font-family: var(--ff-u); font-size: 0.6rem; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--text-2); transition: color var(--t-fast);
}
.footer-links a:hover { color: var(--sage); }

/* ============== SCROLL REVEAL ============== */
.rev {
  opacity: 0; transform: translateY(28px);
  transition: opacity var(--t-reveal), transform var(--t-reveal);
}
.rev.vis { opacity: 1; transform: none; }
.rev.d1 { transition-delay: 0.1s; }
.rev.d2 { transition-delay: 0.22s; }
.rev.d3 { transition-delay: 0.34s; }
.rev.d4 { transition-delay: 0.48s; }

/* ============== TOAST ============== */
.toast {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(20px);
  background: var(--surface); color: var(--text);
  border: 1px solid var(--sage-bd); border-radius: 2px;
  padding: 12px 22px;
  font-family: var(--ff-u); font-size: 0.65rem; letter-spacing: 0.16em; text-transform: uppercase;
  z-index: 200;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s, transform 0.3s;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}
.toast.is-visible { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ============== PARTICLES ============== */
.particle {
  position: fixed; width: 7px; height: 7px; border-radius: 50%;
  background: var(--sage); pointer-events: none; z-index: 250;
  box-shadow: 0 0 6px rgba(74, 155, 127, 0.6);
}
.particle-ring {
  position: fixed; border: 2px solid var(--sage); border-radius: 50%;
  pointer-events: none; z-index: 249;
}

/* ============== REDUCED MOTION ============== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .orb, #noise, #mesh { display: none; }
  .rev { opacity: 1; transform: none; }
  .scene { opacity: 1; pointer-events: auto; transform: none; position: relative; }
  .reel { height: auto; }
  .reel-pin { position: relative; height: auto; }
}
