/* ════════════════════════════════════════════════════════════════
   JORDAN GUTIÉRREZ — sistema visual
   Dark editorial · cyan→violet · mono labels · motion por scroll
   ════════════════════════════════════════════════════════════════ */

:root {
  --bg: #07070b;
  --bg-soft: #0c0c13;
  --surface: #101019;
  --line: rgba(255, 255, 255, 0.08);
  --text: #eceef2;
  --text-dim: #9aa0ae;
  --text-faint: #5b6170;
  --acc1: #6ee7ff;
  --acc2: #a78bfa;
  --acc3: #f472b6;
  --grad: linear-gradient(92deg, var(--acc1), var(--acc2) 55%, var(--acc3));
  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --nav-h: 72px;
  --pad: clamp(20px, 5vw, 72px);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--acc2); color: var(--bg); }

.mono {
  font-family: var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.grad-soft {
  background: linear-gradient(92deg, #dbeafe, var(--acc1) 50%, var(--acc2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.acc { color: var(--acc1); }

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

.skip-link {
  position: absolute;
  top: -48px;
  left: 16px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--acc1);
  color: var(--bg);
  border-radius: 8px;
  font-weight: 600;
  transition: top 0.2s;
}
.skip-link:focus { top: 12px; }

/* ── Grain + progreso ───────────────────────────────────────── */

.grain {
  position: fixed;
  inset: -50%;
  z-index: 90;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 8s steps(10) infinite;
}
@keyframes grain {
  0%, 100% { transform: translate(0, 0); }
  20% { transform: translate(-3%, 2%); }
  40% { transform: translate(2%, -3%); }
  60% { transform: translate(-2%, -2%); }
  80% { transform: translate(3%, 3%); }
}

.progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 120;
}
.progress span {
  display: block;
  height: 100%;
  width: 0%;
  background: var(--grad);
}

/* ── Nav ────────────────────────────────────────────────────── */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 110;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--pad);
  background: rgba(7, 7, 11, 0.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.4s;
}
.nav.scrolled { border-bottom-color: var(--line); }

.nav-logo {
  display: flex;
  align-items: baseline;
  font-family: var(--font-display);
  font-size: 25px;
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 1;
}
.logo-j1 { color: var(--text); }
.logo-j2 {
  margin-left: -0.16em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.logo-slash {
  display: inline-block;
  margin-left: 0.1em;
  font-weight: 500;
  color: var(--text-faint);
  transform: skewX(-10deg);
  transition: color 0.3s, transform 0.3s var(--ease-out);
}
.nav-logo:hover .logo-slash {
  color: var(--acc1);
  transform: skewX(-18deg) translateX(2px);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 40px);
  list-style: none;
}

.nav-link {
  position: relative;
  font-size: 12px;
  color: var(--text-dim);
  padding: 6px 0;
  transition: color 0.3s;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease-out);
}
.nav-link:hover,
.nav-link.active { color: var(--text); }
.nav-link:hover::after,
.nav-link.active::after { transform: scaleX(1); }

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
}
.nav-burger span {
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: transform 0.3s var(--ease-out), opacity 0.3s;
}

@media (max-width: 760px) {
  .nav-burger { display: flex; }
  .nav-links {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 16px var(--pad) 28px;
    background: rgba(7, 7, 11, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--line);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: 0.35s var(--ease-out);
  }
  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  .nav-link { font-size: 14px; padding: 12px 0; }
  .nav.menu-open .nav-burger span:first-child { transform: translateY(4px) rotate(45deg); }
  .nav.menu-open .nav-burger span:last-child { transform: translateY(-4px) rotate(-45deg); }
}

/* ── Hero ───────────────────────────────────────────────────── */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--nav-h) + 40px) var(--pad) 80px;
  overflow: hidden;
}

#net {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.55;
}

.hero-aurora {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(40% 35% at 75% 15%, rgba(167, 139, 250, 0.16), transparent 70%),
    radial-gradient(35% 35% at 15% 75%, rgba(110, 231, 255, 0.12), transparent 70%),
    radial-gradient(30% 30% at 60% 90%, rgba(244, 114, 182, 0.07), transparent 70%);
  animation: aurora 14s ease-in-out infinite alternate;
}
@keyframes aurora {
  to { transform: translate(-2%, 3%) scale(1.06); }
}

.hero-inner {
  position: relative;
  max-width: 1080px;
  margin: 0 auto;
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  color: var(--text-dim);
  padding: 9px 18px;
  border-radius: 100px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  position: relative;
  overflow: hidden;
  animation: rise 0.9s var(--ease-out) both;
  max-width: 100%;
  white-space: nowrap;
}
.hero-badge::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: conic-gradient(from var(--spin, 0deg), transparent 0 70%, var(--acc1) 85%, var(--acc2) 95%, transparent 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: spin-border 5s linear infinite;
}
@property --spin {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}
@keyframes spin-border { to { --spin: 360deg; } }

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--acc1);
  box-shadow: 0 0 12px var(--acc1);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  50% { opacity: 0.4; }
}

.hero-title {
  margin: clamp(26px, 4vh, 44px) 0 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(40px, 8.2vw, 104px);
  line-height: 1.04;
  letter-spacing: -0.025em;
}
.hero-title .line { display: block; overflow: hidden; padding-bottom: 0.08em; }
.hero-title .w {
  display: inline-block;
  transform: translateY(110%);
  animation: word-in 0.9s var(--ease-out) forwards;
  animation-delay: calc(0.15s + var(--i) * 0.06s);
}
@keyframes word-in { to { transform: translateY(0); } }

.hero-sub {
  margin-top: clamp(22px, 3.5vh, 36px);
  max-width: 620px;
  font-size: clamp(16px, 1.8vw, 19px);
  color: var(--text-dim);
  animation: rise 0.9s var(--ease-out) 0.75s both;
}
.hero-sub strong { color: var(--text); font-weight: 600; }

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: clamp(28px, 4vh, 44px);
  animation: rise 0.9s var(--ease-out) 0.9s both;
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 15px;
  transition: transform 0.25s var(--ease-out), box-shadow 0.3s, background 0.3s, border-color 0.3s;
  will-change: transform;
}
.btn span { position: relative; z-index: 1; }

.btn-primary {
  background: var(--grad);
  color: #060609;
}
.btn-primary:hover { box-shadow: 0 8px 40px rgba(122, 196, 255, 0.35); }

.btn-ghost {
  border: 1px solid var(--line);
  color: var(--text);
  background: rgba(255, 255, 255, 0.02);
}
.btn-ghost:hover { border-color: rgba(255, 255, 255, 0.25); }

/* ── Credential buttons ─────────────────────────────────────── */

.hero-creds {
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 20px;
  animation: rise 0.9s var(--ease-out) 1.05s both;
}

.cred-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 18px;
  border-radius: 14px;
  border: 1px solid rgba(110, 231, 255, 0.22);
  background: rgba(110, 231, 255, 0.04);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: border-color 0.3s, background 0.3s, transform 0.3s var(--ease-out), box-shadow 0.3s;
  cursor: pointer;
}
.cred-btn:hover {
  border-color: rgba(110, 231, 255, 0.55);
  background: rgba(110, 231, 255, 0.08);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(110, 231, 255, 0.14);
}

.cred-btn--cloud {
  border-color: rgba(167, 139, 250, 0.22);
  background: rgba(167, 139, 250, 0.04);
}
.cred-btn--cloud:hover {
  border-color: rgba(167, 139, 250, 0.55);
  background: rgba(167, 139, 250, 0.08);
  box-shadow: 0 8px 32px rgba(167, 139, 250, 0.14);
}

.cred-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.cred-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1;
}

.cred-label {
  font-size: 9px;
  color: var(--text-faint);
}

.cred-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}

.cred-arrow {
  font-size: 13px;
  color: var(--text-faint);
  flex-shrink: 0;
  transition: color 0.3s, transform 0.3s var(--ease-out);
}
.cred-btn:hover .cred-arrow {
  color: var(--acc1);
  transform: translate(2px, -2px);
}
.cred-btn--cloud:hover .cred-arrow {
  color: var(--acc2);
}

@media (max-width: 600px) {
  .hero-creds {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    max-width: 360px;
  }
  .cred-btn {
    padding: 14px 18px;
    gap: 14px;
    border-radius: 16px;
  }
  .cred-icon { width: 22px; height: 22px; }
  .cred-name { font-size: 14px; }
  .cred-label { font-size: 9.5px; }
}

/* ─────────────────────────────────────────────────────────── */

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: clamp(48px, 8vh, 88px);
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}
.stat {
  background: rgba(12, 12, 19, 0.82);
  padding: clamp(18px, 2.4vw, 30px);
  display: flex;
  flex-direction: column-reverse;
  gap: 8px;
}
.stat dd {
  font-family: var(--font-display);
  font-size: clamp(30px, 3.6vw, 48px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
}
.stat-suffix { color: var(--acc1); font-size: 0.6em; font-weight: 500; }
.stat dt {
  font-size: 10px;
  color: var(--text-faint);
  line-height: 1.5;
}

@media (max-width: 860px) {
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
}

.scroll-cue {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  color: var(--text-faint);
  text-transform: none;
}
.scroll-cue .cursor {
  color: var(--acc1);
  animation: blink 1.1s steps(2) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

/* ── Secciones genéricas ────────────────────────────────────── */

section, .footer { padding: clamp(90px, 14vh, 160px) var(--pad); }

.section-head {
  max-width: 1080px;
  margin: 0 auto clamp(48px, 7vh, 80px);
}

.kicker {
  font-size: 11px;
  color: var(--acc1);
  margin-bottom: 18px;
}

h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 60px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.lead {
  margin-top: 20px;
  max-width: 560px;
  color: var(--text-dim);
  font-size: clamp(15px, 1.6vw, 18px);
}

/* Reveal por scroll */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
  transition-delay: calc(var(--d, 0) * 90ms);
}
.reveal.in {
  opacity: 1;
  transform: none;
}

/* ── Bento ──────────────────────────────────────────────────── */

.bento {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: minmax(150px, auto);
  gap: 16px;
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: clamp(22px, 2.8vw, 36px);
  border-radius: 20px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0.005));
  overflow: hidden;
  transition: border-color 0.4s, transform 0.4s var(--ease-out);
}
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(140, 180, 255, 0.09), transparent 65%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}
.card:hover { border-color: rgba(255, 255, 255, 0.18); transform: translateY(-3px); }
.card:hover::before { opacity: 1; }

.card-data { grid-column: span 2; grid-row: span 2; }
.card-ai { grid-column: span 1; grid-row: span 2; }
.card-growth { grid-column: span 2; }
.card-sectors { grid-column: span 1; }

.card-label { font-size: 10px; color: var(--text-faint); }

.card h3 {
  font-family: var(--font-display);
  font-size: clamp(21px, 2.4vw, 30px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.015em;
}
.card h3 em { font-style: normal; }

.card-body {
  color: var(--text-dim);
  font-size: 14.5px;
  max-width: 56ch;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin-top: auto;
}
.chips li {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.05em;
  color: var(--text-dim);
  padding: 6px 12px;
  border-radius: 100px;
  border: 1px solid var(--line);
  transition: border-color 0.3s, color 0.3s, background 0.3s;
}
.chips li:hover {
  border-color: var(--acc1);
  color: var(--acc1);
  background: rgba(110, 231, 255, 0.06);
}

.card-cta {
  font-size: 11px;
  color: var(--acc1);
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 0.35s, transform 0.35s var(--ease-out);
}
.card:hover .card-cta { opacity: 1; transform: none; }

/* Card 1 · pipeline SVG */
.pipe {
  width: 100%;
  max-width: 560px;
  margin: 6px 0;
}
.pipe-line {
  stroke: url(#pg);
  stroke-width: 1.6;
  stroke-dasharray: 600;
  stroke-dashoffset: 600;
  transition: stroke-dashoffset 1.6s var(--ease-out);
}
.pipe-node {
  fill: var(--bg);
  stroke: var(--acc1);
  stroke-width: 1.6;
  opacity: 0;
  transition: opacity 0.6s 0.5s;
}
.pipe-node.big { stroke: var(--acc2); }
.pipe-tag {
  fill: var(--text-faint);
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.06em;
  opacity: 0;
  transition: opacity 0.6s 0.8s;
}
.card-data:hover .pipe-line,
.card-data.play .pipe-line { stroke-dashoffset: 0; }
.card-data:hover .pipe-node,
.card-data.play .pipe-node,
.card-data:hover .pipe-tag,
.card-data.play .pipe-tag { opacity: 1; }

/* Card 2 · readout que se resuelve */
.readout {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px;
  margin: 4px 0;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.25);
}
.readout-label { font-size: 10px; color: var(--text-faint); text-transform: none; }
.readout-value {
  font-size: 38px;
  color: var(--acc2);
  text-transform: none;
  filter: blur(10px);
  transition: filter 1s var(--ease-out);
}
.card-ai:hover .readout-value,
.card-ai.play .readout-value { filter: blur(0); }
.readout-bar {
  display: block;
  height: 3px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.07);
  overflow: hidden;
}
.readout-bar i {
  display: block;
  height: 100%;
  width: 0;
  background: var(--grad);
  transition: width 1.2s var(--ease-out) 0.2s;
}
.card-ai:hover .readout-bar i,
.card-ai.play .readout-bar i { width: 94%; }

/* Card 3 · curva compuesta */
.card-growth {
  flex-direction: row;
  align-items: stretch;
  gap: clamp(18px, 3vw, 40px);
}
.card-growth-text {
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1.4;
}
.curve {
  flex: 1;
  min-width: 0;
  align-self: center;
  max-height: 150px;
}
.curve-grid { stroke: rgba(255, 255, 255, 0.06); stroke-width: 1; }
.curve-line {
  stroke: url(#cg);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 360;
  stroke-dashoffset: 360;
  transition: stroke-dashoffset 1.5s var(--ease-out);
}
.curve-dot {
  fill: var(--acc3);
  opacity: 0;
  transition: opacity 0.4s 1.1s;
}
.card-growth:hover .curve-line,
.card-growth.play .curve-line { stroke-dashoffset: 0; }
.card-growth:hover .curve-dot,
.card-growth.play .curve-dot { opacity: 1; }

/* Card 4 · sector list */
.sector-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 8px;
  flex: 1;
}

.sector-entry {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  opacity: 0;
  transform: translateX(-10px);
  transition:
    opacity 0.5s var(--ease-out) calc(var(--i) * 90ms),
    transform 0.5s var(--ease-out) calc(var(--i) * 90ms);
}
.sector-entry:first-child { border-top: 1px solid var(--line); }

.card-sectors:hover .sector-entry,
.card-sectors.play .sector-entry {
  opacity: 1;
  transform: none;
}

.sector-name {
  font-size: 11px;
  color: var(--acc1);
}

.sector-caps {
  font-size: 12px;
  color: var(--text-dim);
  line-height: 1.4;
}

/* Card 4 · experiencia sectorial (acento con borde de gradiente vivo) */
.card-sectors {
  justify-content: space-between;
  background:
    linear-gradient(var(--bg-soft), var(--bg-soft)) padding-box,
    linear-gradient(135deg, var(--acc1), var(--acc2), var(--acc3), var(--acc1)) border-box;
  background-size: 100% 100%, 300% 300%;
  border: 1px solid transparent;
  animation: grad-move 7s linear infinite;
}
@keyframes grad-move {
  to { background-position: 0 0, 300% 300%; }
}
.card-sectors h3 { font-size: clamp(19px, 2vw, 24px); }

@media (max-width: 980px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .card-data, .card-ai, .card-growth, .card-sectors { grid-column: span 2; grid-row: auto; }
  .card-ai { grid-column: span 1; }
  .card-sectors { grid-column: span 1; }
}
@media (max-width: 660px) {
  .bento { grid-template-columns: 1fr; }
  .card-data, .card-ai, .card-growth, .card-sectors { grid-column: span 1; }
  .card-growth { flex-direction: column; }
  .curve { width: 100%; max-width: 320px; }
}

/* ── Manifiesto ─────────────────────────────────────────────── */

.manifesto { background: var(--bg-soft); border-block: 1px solid var(--line); }

.manifesto-track {
  position: relative;
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: clamp(20px, 4vw, 64px);
}

.manifesto-index {
  position: sticky;
  top: 40vh;
  align-self: start;
  height: fit-content;
  font-size: clamp(40px, 5vw, 64px);
  color: var(--text);
  line-height: 1;
}
.manifesto-index i {
  font-style: normal;
  color: var(--text-faint);
  font-size: 0.45em;
  margin: 0 4px 0 8px;
}
#thesisNow {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.manifesto-index .total { font-size: 0.45em; color: var(--text-faint); }

.theses { list-style: none; }

.thesis {
  min-height: 62vh;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.thesis:last-child { border-bottom: 0; }

.thesis::before {
  content: attr(data-n);
  position: absolute;
  top: 24px;
  left: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-faint);
}

.thesis p {
  font-family: var(--font-display);
  font-size: clamp(26px, 4vw, 48px);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--text-faint);
  max-width: 20ch;
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out), color 1s;
}
.thesis strong { color: inherit; font-weight: 700; }
.thesis.in p {
  opacity: 1;
  transform: none;
  color: var(--text-dim);
}
.thesis.in p strong { color: var(--text); }

.thesis-final p { max-width: 24ch; font-weight: 700; }
.thesis-final.in p strong { color: inherit; }

@media (max-width: 760px) {
  .manifesto-track { grid-template-columns: 1fr; }
  .manifesto-index {
    position: static;
    font-size: 28px;
    margin-bottom: -20px;
  }
  .thesis { min-height: 52vh; }
  .thesis::before { position: static; margin-right: 0; }
  .thesis { flex-direction: column; align-items: flex-start; justify-content: center; gap: 16px; }
}

/* ── Footer ─────────────────────────────────────────────────── */

.footer {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.footer-statement {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(40px, 9vw, 120px);
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.footer-note {
  font-size: 12px;
  color: var(--text-faint);
  text-transform: none;
  letter-spacing: 0.06em;
}

.footer-base {
  margin-top: clamp(60px, 9vh, 110px);
  padding-top: 28px;
  border-top: 1px solid var(--line);
  width: 100%;
  max-width: 1080px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 11px;
  color: var(--text-faint);
}
.footer-tag { text-transform: none; letter-spacing: 0.04em; }

/* ── Animaciones base / accesibilidad ───────────────────────── */

@keyframes rise {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .reveal, .thesis p, .hero-title .w { opacity: 1; transform: none; }
  #net, .grain { display: none; }
}
