/* landing-x.css — the landing's 2026-11-29 chapters, loaded after theme.css.

   What is new here: the product film in the hero (it grows from a tilted
   card into the whole screen as you scroll), a statement that lights up word
   by word, a walk-through whose screens wipe in, Mail as a takeover (a ring
   opens and becomes the screen), a row of what's new that slides sideways,
   and a closing ring like the end of the film.

   Every scroll effect is a set of CSS variables that landing.js writes once
   per frame (--p, --r, --x …); the CSS turns them into transforms. Only
   transform, opacity and one clip-path move — no layout, no blur filters on
   moving layers. Phones get the same chapters without the pinning. */

/* ── sparks over the hero (from the reference: dust in the light) ───────── */
.sparks { position: absolute; inset: 0 0 auto; height: 900px; pointer-events: none; z-index: 0; overflow: hidden; }
.sparks i {
  position: absolute; width: 2px; height: 2px; border-radius: 50%;
  background: #ffd2ad; opacity: 0;
  box-shadow: 0 0 6px 1px rgba(255,150,80,.55);
  animation: spark var(--t, 9s) ease-in-out var(--d, 0s) infinite;
}
@keyframes spark {
  0%   { opacity: 0; transform: translate3d(0, 0, 0); }
  25%  { opacity: var(--o, .7); }
  75%  { opacity: var(--o, .7); }
  100% { opacity: 0; transform: translate3d(var(--dx, 10px), -70px, 0); }
}
.hero > .wrap { position: relative; z-index: 1; }

/* the play icon in "Watch the film" */
.play-ico { width: 14px; height: 14px; margin-right: 2px; }

/* the headline word that is lit (split headlines keep <em> as .hl) */
.word > span.hl, .hero h1 em, .finale h2 em, .tk-title em, #tk-title em {
  font-style: normal;
  background: linear-gradient(180deg, #ffc898 10%, #ff7a2e 95%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
[data-page="landing"] .hero h1 .word > span.hl { background-image: linear-gradient(180deg, #ffc898 10%, #ff7a2e 95%); }

/* A split heading that waits for its .reveal to come in before it rises. */
.split-later .word > span { animation-play-state: paused; }
.split-later.in .word > span { animation-play-state: running; }

/* ── the film ───────────────────────────────────────────────────────────── */
.reel { position: relative; height: 230vh; margin-top: 22px; z-index: 1; }
.reel-stick {
  position: sticky; top: 0; height: 100vh;
  display: flex; align-items: flex-start; justify-content: center;
  padding-top: 9vh; perspective: 1600px;
}
.reel-frame {
  --p: 0;
  position: relative; margin: 0;
  width: min(92vw, 148vh, 1500px); aspect-ratio: 16 / 9;
  border-radius: calc(30px - 16px * var(--p));
  overflow: hidden; background: #050302;
  border: 1px solid rgba(255,255,255,.13);
  box-shadow:
    0 -40px 140px -50px rgba(255,110,30,calc(.55 - .3 * var(--p))),
    0 70px 160px -30px rgba(0,0,0,.9),
    inset 0 1px 0 rgba(255,255,255,.1);
  transform-origin: 50% 0;
  transform:
    translate3d(0, calc((1 - var(--p)) * 2vh), 0)
    rotateX(calc((1 - var(--p)) * 26deg))
    scale(calc(.62 + .38 * var(--p)));
  will-change: transform;
}
.reel-frame video { display: block; width: 100%; height: 100%; object-fit: cover; }
/* light catching the glass while it is still tilted */
.reel-glare {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(255,210,170,.16), rgba(255,255,255,0) 38%);
  opacity: calc(1 - var(--p));
}
.reel-ui {
  position: absolute; right: 16px; bottom: 18px; z-index: 2; display: flex; gap: 8px;
  opacity: calc(.4 + .6 * var(--p));
  transition: opacity .3s;
}
.reel-frame:hover .reel-ui { opacity: 1; }
.reel-btn {
  display: inline-flex; align-items: center; gap: 7px; height: 38px; min-width: 38px; padding: 0 13px;
  border: 0; border-radius: 999px; cursor: pointer; color: #fff; font: 600 12.5px/1 Inter, system-ui, sans-serif;
  background: rgba(20,14,10,.55);
  -webkit-backdrop-filter: blur(16px) saturate(160%); backdrop-filter: blur(16px) saturate(160%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.14), inset 0 0 0 1px rgba(255,255,255,.12);
  transition: background .2s, transform .25s var(--ease-out);
}
.reel-btn:hover { background: rgba(40,28,20,.7); }
.reel-btn:active { transform: scale(.95); }
.reel-btn svg { width: 16px; height: 16px; }
#reel-full { padding: 0; justify-content: center; }
.reel-btn .i-on { display: none; }
.reel-btn[aria-pressed="true"] .i-on { display: block; }
.reel-btn[aria-pressed="true"] .i-off { display: none; }
.reel-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: rgba(255,255,255,.08); z-index: 2; }
.reel-bar i { display: block; height: 100%; width: 100%; transform-origin: 0 0; transform: scaleX(var(--t, 0)); background: linear-gradient(90deg, var(--ac), #ffd0a8); }

/* ── marquee: two rows, opposite ways, full width ───────────────────────── */
.marquee-sec { padding: 40px 0 30px; }
.marquee-sec .marquee + .marquee { margin-top: -6px; }
.marquee.rev .marquee-track { animation-direction: reverse; animation-duration: 54s; }
.marquee .chip {
  border-radius: 999px; color: #d9d2cc;
  background: rgba(255,255,255,.04); box-shadow: inset 0 0 0 1px rgba(255,255,255,.09);
}
.marquee .chip.hot { color: #ffd0a8; box-shadow: inset 0 0 0 1px rgba(255,150,80,.3); }

/* ── the statement ──────────────────────────────────────────────────────── */
.manifesto-sec { padding: 170px 0 150px; }
.manifesto {
  margin-top: 26px; max-width: 1040px;
  font-size: clamp(36px, 6.4vw, 92px); line-height: 1.02; font-weight: 700; letter-spacing: -0.045em;
  color: #fff;
}
.manifesto em { font-style: normal; }
.js .manifesto .mw { opacity: .15; transition: opacity .4s var(--ease), color .4s var(--ease); }
.js .manifesto .mw.lit { opacity: 1; }
.js .manifesto em .mw.lit { color: var(--ac-2); }

/* numbered cards */
.card { position: relative; }
.card-n { position: absolute; top: 24px; right: 26px; font: 500 11.5px/1 ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--t3); letter-spacing: .08em; }

/* ── the walk-through: screens wipe in rather than fade ─────────────────── */
.window-count { margin-left: auto; font: 500 11px/1 ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--t3); letter-spacing: .08em; }
.window-stack img {
  opacity: 0; z-index: 0;
  clip-path: inset(100% 0 0 0 round 0);
  transform: scale(1.07);
  transition: clip-path .85s var(--ease-out), transform 1.2s var(--ease-out), opacity 0s linear .85s, filter .85s var(--ease-out);
}
.window-stack.up img { clip-path: inset(0 0 100% 0 round 0); }
.window-stack img.on {
  opacity: 1; z-index: 2; clip-path: inset(0 0 0 0); transform: none;
  transition: clip-path .85s var(--ease-out), transform 1.2s var(--ease-out), opacity 0s, filter .85s;
}
.window-stack img.was {
  opacity: 1; z-index: 1; clip-path: inset(0 0 0 0); transform: scale(.94); filter: brightness(.45);
  transition: transform .85s var(--ease-out), filter .85s var(--ease-out), opacity 0s;
}
.window-dots { position: absolute; right: 16px; bottom: 18px; z-index: 3; display: flex; gap: 5px; }
.window-dots i { width: 14px; height: 3px; border-radius: 3px; background: rgba(255,255,255,.22); transition: width .4s var(--ease-out), background .4s; }
.window-dots i.on { width: 30px; background: #fff; }
.sstep h3 { text-wrap: balance; }
.sstep .eyebrow { color: var(--ac-2); }

/* ── Mail: the takeover ─────────────────────────────────────────────────── */
.takeover { position: relative; height: 330vh; }
.tk-stick { position: sticky; top: 0; height: 100vh; overflow: hidden; display: grid; place-items: center; }
.tk-intro {
  position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 22px;
  text-align: center; padding: 0 20px; z-index: 1;
  opacity: var(--a, 1); transform: scale(calc(1 + (1 - var(--a, 1)) * .35));
}
.tk-big { font-size: clamp(40px, 7.6vw, 112px); line-height: .98; font-weight: 720; letter-spacing: -0.045em; }
.tk-big em { font-style: normal; background: linear-gradient(180deg, #ffc898 10%, #ff7a2e 95%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tk-ring {
  position: absolute; left: 50%; top: 50%; width: 70vmin; aspect-ratio: 1; border-radius: 50%;
  margin: -35vmin 0 0 -35vmin; pointer-events: none; z-index: 3;
  border: 1.5px solid rgba(255,190,140,.95);
  box-shadow: 0 0 34px 2px rgba(255,110,30,.55), inset 0 0 40px rgba(255,110,30,.35);
  transform: scale(var(--r, .2)) rotate(calc(var(--r, .2) * 40deg));
  opacity: var(--ro, 0);
  will-change: transform;
}
/* a bright dot riding the ring, like the logo in the film */
.tk-ring::after {
  content: ''; position: absolute; left: 14%; top: 14%; width: 9px; height: 9px; border-radius: 50%;
  background: #fff; box-shadow: 0 0 14px 4px rgba(255,170,110,.8);
}
.tk-scene {
  position: absolute; inset: 0; z-index: 2;
  clip-path: circle(calc(var(--cr, 0) * 35vmin) at 50% 50%);
  background:
    radial-gradient(120% 70% at 50% 118%, rgba(255,112,32,.62), rgba(170,58,14,.32) 34%, rgba(10,6,4,0) 66%),
    radial-gradient(80% 60% at 50% 0%, rgba(255,140,60,.12), rgba(0,0,0,0) 70%),
    #080504;
  display: grid; grid-template-rows: auto 1fr; justify-items: center;
  padding: calc(var(--nav-h) + 6vh) 20px 0;
}
.tk-copy {
  text-align: center; max-width: 760px;
  opacity: var(--s, 0); transform: translate3d(0, calc((1 - var(--s, 0)) * 40px), 0);
}
.tk-copy h2 { font-size: clamp(30px, 4.6vw, 58px); margin: 16px 0 14px; color: #fff; }
.tk-copy .lead { color: #cfc4bb; }
.tk-copy .eyebrow { color: #ffd0a8; }
.tk-shots { position: relative; width: min(1180px, 94vw); height: 100%; }
.tk-card {
  position: absolute; top: 7%; margin: 0; width: 46%;
  border-radius: 16px; overflow: hidden; background: #050302;
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 40px 100px -20px rgba(0,0,0,.85), inset 0 1px 0 rgba(255,255,255,.1);
  will-change: transform;
}
.tk-card img { display: block; width: 100%; height: auto; }
.tk-card.c1 { left: 0;   transform: translate3d(calc((1 - var(--k1, 0)) * -12vw), calc((1 - var(--k1, 0)) * 80vh), 0) rotate(calc(-7deg + (1 - var(--k1, 0)) * -8deg)); transform-origin: 100% 100%; }
.tk-card.c2 { left: 27%; top: 0; z-index: 2; width: 46%; transform: translate3d(0, calc((1 - var(--k2, 0)) * 85vh), 0) scale(calc(.9 + .1 * var(--k2, 0))); }
.tk-card.c3 { right: 0;  transform: translate3d(calc((1 - var(--k3, 0)) * 12vw), calc((1 - var(--k3, 0)) * 80vh), 0) rotate(calc(7deg + (1 - var(--k3, 0)) * 8deg)); transform-origin: 0 100%; }

.mail-sec { padding-top: 60px; }
.mail-card { padding: 30px; }
.mail-card h3 { font-size: 22px; margin: 16px 0 10px; }
.tag {
  display: inline-block; padding: 5px 11px; border-radius: 999px;
  font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: #ffd0a8; background: rgba(255,130,55,.1); box-shadow: inset 0 0 0 1px rgba(255,150,80,.28);
}
.ticks { list-style: none; display: grid; gap: 9px; margin-top: 18px; }
.ticks li { position: relative; padding-left: 25px; color: #dcd5cf; font-size: 14px; }
.ticks li::before { content: '✓'; position: absolute; left: 0; top: 0; color: var(--ac-2); font-weight: 700; }
.ticks b { color: #fff; font-weight: 620; }

/* ── what's new: sideways ───────────────────────────────────────────────── */
.hscroll { position: relative; height: var(--hs-h, 320vh); }
.hs-stick { position: sticky; top: 0; height: 100vh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; gap: 34px; }
.hs-head h2 { font-size: clamp(28px, 4vw, 46px); margin-top: 14px;
  background: linear-gradient(100deg, #fff 42%, rgba(255,255,255,.7)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hs-track {
  display: flex; gap: 18px; width: max-content;
  padding: 0 max(24px, calc((100vw - var(--max)) / 2 + 24px));
  transform: translate3d(var(--x, 0px), 0, 0); will-change: transform;
}
.hs-card {
  flex: 0 0 min(430px, 80vw); border-radius: 22px; overflow: hidden;
  background: var(--glass-fill);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12), inset 0 0 0 1px rgba(255,255,255,.09), var(--glass-shadow);
  transform: translate3d(0, calc(var(--k, 0) * 26px), 0) rotate(calc(var(--k, 0) * 2deg)) scale(calc(1 - var(--ka, 0) * .05));
  transition: box-shadow .3s;
}
.hs-card:hover { box-shadow: inset 0 1px 0 rgba(255,255,255,.18), inset 0 0 0 1px rgba(255,170,110,.3), var(--glass-shadow); }
.hs-card img, .hs-ico { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: 50% 18%; }
.hs-ico {
  display: grid; place-items: center; color: #ffd0a8;
  background: radial-gradient(70% 90% at 50% 120%, rgba(255,112,32,.4), rgba(255,112,32,0) 70%), rgba(255,255,255,.02);
}
.hs-ico svg { width: 54px; height: 54px; }
.hs-card > div:last-child { padding: 20px 22px 24px; }
.hs-card h3 { font-size: 18px; margin: 12px 0 6px; }
.hs-card p { color: var(--t2); font-size: 14px; }

/* ── closing: the ring rises ────────────────────────────────────────────── */
.finale { position: relative; overflow: hidden; isolation: isolate; padding: 150px 0 300px; text-align: center; }
.finale-ring {
  position: absolute; z-index: -1; left: 50%; top: 66%; width: 190vw; aspect-ratio: 1; border-radius: 50%;
  transform: translate3d(-50%, calc((1 - var(--fp, 1)) * 180px), 0);
  background: radial-gradient(closest-side, #060302 95.5%, rgba(160,60,15,.55) 99.2%, rgba(255,140,70,0) 100%);
  box-shadow: 0 -1px 0 0 rgba(255,160,100,.6), 0 -24px 70px -8px rgba(255,104,30,.55), 0 -80px 200px -20px rgba(255,90,20,.32);
}
.finale-logo { margin: 0 auto 26px; width: 34px; height: 34px; }
.finale h2 { font-size: clamp(44px, 7.2vw, 100px); line-height: 1; letter-spacing: -0.045em; max-width: 12ch; margin: 0 auto; color: #fff; }
.finale-who { margin: 22px 0 26px; font: 500 12px/1.6 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .22em; color: var(--t3); }
.finale .lead { max-width: 52ch; margin: 0 auto; }
.finale .hero-cta { margin-top: 32px; }
[data-page="landing"] footer { margin-top: 0; }

/* ── phones and tablets: the same chapters, nothing pinned ──────────────── */
@media (max-width: 900px) {
  .sparks { height: 640px; }
  .reel { height: auto; margin-top: 30px; padding: 0 14px; }
  .reel-stick { position: static; height: auto; padding: 0; perspective: 1200px; }
  .reel-frame {
    width: 100%; border-radius: 16px;
    transform: rotateX(calc((1 - var(--p)) * 14deg)) scale(calc(.92 + .08 * var(--p)));
  }
  .reel-ui { opacity: 1; right: 10px; bottom: 12px; }
  .reel-btn { height: 34px; min-width: 34px; }

  .manifesto-sec { padding: 90px 0 70px; }

  .takeover { height: 240vh; }
  .tk-scene { padding-top: calc(var(--nav-h) + 3vh); }
  .tk-shots { width: 100%; }
  .tk-card { width: 74%; top: 10%; }
  .tk-card.c1 { left: -6%; }
  .tk-card.c2 { left: 13%; top: 30%; width: 74%; }
  .tk-card.c3 { right: -6%; top: 52%; }

  /* phones: pinned like the desktop, in the small (stable) viewport so the
     browser's bar showing and hiding does not move it */
  .hs-stick { height: 100vh; height: 100svh; gap: 22px; padding-top: var(--nav-h); }
  .hs-track { padding: 0 16px; gap: 14px; }
  .hs-card { flex-basis: 78vw; }

  .finale { padding: 110px 0 220px; }
  .finale-ring { top: 72%; width: 280vw; }
}
@media (max-width: 560px) {
  .reel { padding: 0 10px; }
  .reel-btn span { display: none; }
  .reel-btn { padding: 0; justify-content: center; }
  .mail-card { padding: 24px 20px; }
  .card-n { top: 20px; right: 20px; }
}

/* ── reduced motion: every chapter, standing still ──────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .sparks { display: none; }
  .reel { height: auto; }
  .reel-stick { position: static; height: auto; padding-top: 30px; }
  .reel-frame { transform: none; }
  .takeover { height: auto; }
  .tk-stick { position: static; height: auto; display: block; overflow: visible; }
  .tk-intro, .tk-ring { display: none; }
  .tk-scene { position: relative; clip-path: none; padding: 90px 20px 40px; }
  .tk-copy { opacity: 1; transform: none; }
  .tk-shots { height: auto; display: grid; gap: 14px; margin: 30px auto 0; }
  .tk-card, .tk-card.c1, .tk-card.c2, .tk-card.c3 { position: relative; inset: auto; width: 100%; transform: none; }
  .hscroll { height: auto; }
  .hs-stick { position: static; height: auto; padding: 80px 0; }
  .hs-track { transform: none; overflow-x: auto; width: auto; }
  .hs-card { transform: none; }
  .js .manifesto .mw { opacity: 1; }
  .finale-ring { transform: translate3d(-50%, 0, 0); }
}

@media (max-width: 560px) {
  .finale-who { font-size: 10.5px; letter-spacing: .1em; }
}

/* The end is one piece (user, 2026-11-29: "únelo pa que no haya corte"): the
   planet fades into the page instead of stopping at an edge, and the footer
   sits on it with no line above. */
.finale {
  padding-bottom: 340px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 68%, rgba(0,0,0,0) 100%);
          mask-image: linear-gradient(180deg, #000 0%, #000 68%, rgba(0,0,0,0) 100%);
}
[data-page="landing"] footer {
  position: relative; z-index: 1; margin-top: -170px;
  border-top: 0; background: transparent; padding-top: 30px;
}
@media (max-width: 900px) {
  .finale { padding-bottom: 260px; }
  [data-page="landing"] footer { margin-top: -120px; }
}

/* The planet's lower half no longer draws its rim: it ran behind the
   statement as a curved line (user: "esto me raya"). The top, the ring
   people see under the headline, is unchanged. */
[data-page="landing"] .hero::before {
  background:
    radial-gradient(closest-side, rgba(6,3,2,0) 95.5%, rgba(160,60,15,.55) 99.2%, rgba(255,140,70,0) 100%),
    linear-gradient(180deg, #060302 0%, #060302 26%, rgba(6,3,2,0) 46%);
  /* everything below the middle is cut; the glow above the rim is kept */
  clip-path: inset(-600px -600px 50% -600px);
}

/* ── who you can reach: an index, not three icon cards ──────────────────
   (user: "la ejecución es muy IA") — big words, one line each, the real
   screen beside it; hairlines between, the screen straightens on hover. */
.who-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 40px; align-items: end; margin-bottom: 44px; }
.who-intro { font-size: clamp(20px, 2.1vw, 27px); line-height: 1.35; letter-spacing: -0.02em; color: var(--t2); }
.who-intro b { color: #fff; font-weight: 620; }
.who-list { list-style: none; border-top: 1px solid rgba(255,255,255,.1); }
.who-row {
  position: relative; display: grid; align-items: center; column-gap: 40px; row-gap: 18px;
  grid-template-columns: 44px minmax(0, 1fr) 340px;
  grid-template-areas: "n word pic" "n say pic";
  padding: 44px 0; border-bottom: 1px solid rgba(255,255,255,.1);
}
.who-row::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px;
  background: linear-gradient(90deg, var(--ac), rgba(255,200,150,.6) 60%, rgba(255,200,150,0));
  transform: scaleX(0); transform-origin: 0 50%; transition: transform .7s var(--ease-out);
}
.who-n { grid-area: n; align-self: start; padding-top: 14px; font: 500 12px/1 ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--t3); letter-spacing: .08em; }
.who-word {
  font-size: clamp(52px, 7.4vw, 118px); line-height: .92; font-weight: 720; letter-spacing: -0.055em;
  color: #fff; transition: transform .6s var(--ease-out), color .4s;
}
.who-word { grid-area: word; align-self: end; }
.who-say { grid-area: say; align-self: start; max-width: 54ch; }
.who-pic { grid-area: pic; }
.who-say b { display: block; font-size: 18px; font-weight: 650; letter-spacing: -0.015em; color: #fff; }
.who-say p { margin-top: 8px; color: var(--t2); font-size: 14.5px; line-height: 1.6; }
.who-pic {
  margin: 0; aspect-ratio: 16 / 10; border-radius: 14px; overflow: hidden;
  border: 1px solid rgba(255,255,255,.12); box-shadow: 0 30px 70px -30px rgba(0,0,0,.9);
  transform: rotate(-3deg) scale(.9); opacity: .7;
  transition: transform .6s var(--ease-out), opacity .4s;
}
.who-pic img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
@media (hover: hover) {
  .who-row:hover::after { transform: scaleX(1); }
  .who-row:hover .who-word { transform: translateX(12px); color: #ffd9bd; }
  .who-row:hover .who-pic { transform: none; opacity: 1; }
}
@media (hover: none) { .who-pic { transform: none; opacity: 1; } }
@media (max-width: 900px) {
  .who-head { grid-template-columns: 1fr; gap: 14px; margin-bottom: 26px; }
  .who-row { grid-template-columns: 1fr; grid-template-areas: "n" "word" "say" "pic"; gap: 14px; padding: 30px 0; }
  .who-n { padding: 0; }
  .who-word { font-size: clamp(52px, 15vw, 80px); }
  .who-pic { transform: none; opacity: 1; }
}

/* ── open columns instead of boxes (user: "este tipo de recuadros son muy
   IA"). No frame, no fill: a hairline on top that lights up, a number,
   the words. Used by Control and Mail; the stats lose their box too. */
.cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 48px; margin-top: 10px; }
.cols.c2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 64px; }
.col { position: relative; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.12); }
.col::before {
  content: ''; position: absolute; left: 0; top: -1px; height: 1px; width: 100%;
  background: linear-gradient(90deg, var(--ac), rgba(255,200,150,0));
  transform: scaleX(0); transform-origin: 0 50%; transition: transform 1s var(--ease-out) .2s;
}
.col.in::before { transform: scaleX(.6); }
.col-n { display: block; margin-bottom: 18px; font: 500 12px/1 ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--t3); letter-spacing: .08em; }
.col h3 { font-size: 21px; margin-bottom: 10px; }
.col p { color: var(--t2); font-size: 14.5px; line-height: 1.65; max-width: 44ch; }
.mail-col .tag { background: none; box-shadow: none; padding: 0; }
.mail-col h3 { font-size: clamp(24px, 2.6vw, 32px); margin: 14px 0 12px; }
.mail-note { margin-top: 56px; text-align: center; color: var(--t2); font-size: 15.5px; }
.mail-note b { color: #fff; font-weight: 620; }
[data-page="landing"] .stats { background: none; border: 0; box-shadow: none; gap: 0 40px; border-radius: 0; overflow: visible; }
[data-page="landing"] .stat { background: none; padding: 22px 0 0; border-top: 1px solid rgba(255,255,255,.12); }
[data-page="landing"] .stat:hover { background: none; }
[data-page="landing"] .stat b { font-size: clamp(40px, 5vw, 64px); letter-spacing: -0.05em; }
@media (max-width: 900px) {
  .cols, .cols.c2 { grid-template-columns: 1fr; gap: 34px; }
  [data-page="landing"] .stats { gap: 26px 24px; }
}


/* ═══ phones only (2026-11-29, user: "SOLO en móvil… el triple de
   dopamínica… estás scroleando en vertical y hace falta estímulo… que no sea
   distinto a la de ordenador"). Same chapters and words as the desktop; on a
   phone every scroll moves something. Nothing below applies above 900px. */
.eb-short { display: none; }
.m-cta { display: none; }

@media (max-width: 900px) {
  /* the page was wider than the phone (702px on a 390px screen): the planet
     and the rings pushed the layout out and the bar's buttons fell off it */
  html, body { overflow-x: clip; }
  .hero { overflow-x: clip; }

  /* the eyebrow fits on one line: the short version of the same words */
  .eb-long { display: none; }
  .eb-short { display: inline; }
  [data-page="landing"] .hero .eyebrow {
    display: inline-flex; white-space: nowrap; border-radius: 999px;
    font-size: 10.5px; letter-spacing: .1em; padding: 7px 14px 7px 12px;
  }
  .hero h1 { font-size: clamp(46px, 13.5vw, 64px); line-height: .98; letter-spacing: -0.05em; }
  .hero .lead { font-size: 15.5px; }

  /* the film: grows to the full width of the phone as you scroll */
  .reel { padding: 0; margin-top: 34px; }
  .reel-frame {
    width: calc(100% - 28px * (1 - var(--p))); margin: 0 auto;
    border-radius: calc(22px - 22px * var(--p));
    border-left-width: calc(1px - 1px * var(--p)); border-right-width: calc(1px - 1px * var(--p));
    transform: rotateX(calc((1 - var(--p)) * 18deg)) scale(calc(.9 + .1 * var(--p)));
  }

  /* entrances: further, bigger, springier */
  .js .reveal { transform: translate3d(0, 54px, 0) scale(.95); }
  .js .reveal.in { transition: opacity .8s var(--ease-out) var(--d, 0ms), transform 1s var(--spring) var(--d, 0ms), filter .8s var(--ease-out) var(--d, 0ms); }
  .sec-head h2, .hs-head h2 { font-size: clamp(32px, 9vw, 42px); line-height: 1.04; letter-spacing: -0.04em; }

  /* images wipe up into place and settle from a zoom */
  .js .m-wipe { clip-path: inset(100% 0 0 0 round 16px); }
  .js .m-wipe img { transform: scale(1.22); }
  .js .m-wipe.m-in { clip-path: inset(0 0 0 0 round 16px); transition: clip-path 1s var(--ease-out); }
  .js .m-wipe.m-in img { transform: none; transition: transform 1.5s var(--ease-out); }

  /* marquee: quicker, chunkier */
  .marquee-track { animation-duration: 24s; }
  .marquee.rev .marquee-track { animation-duration: 30s; }
  .marquee .chip { font-size: 13.5px; padding: 9px 16px; }

  /* the statement: bigger on a phone */
  .manifesto { font-size: clamp(38px, 11.4vw, 54px); line-height: 1.02; }

  /* who you reach: the big words slide in from the sides as you pass */
  .who-word { transform: translate3d(var(--wx, 0), 0, 0); transition: none; font-size: clamp(58px, 17vw, 84px); }
  .who-row:nth-child(2) .who-word { text-align: right; }
  .who-pic { transform: rotate(calc(var(--wr, 0) * 1deg)) scale(calc(1 - var(--wa, 0) * .08)); transition: none; }

  /* the walk-through: a deck — each screen slides up over the last */
  .scrolly .sec-head { margin-bottom: 26px; }
  .scrolly-steps { gap: 0; }
  .sstep {
    position: sticky; top: calc(var(--nav-h) + 10px);
    margin: 0 0 22px; padding: 12px 12px 22px; border-radius: 24px;
    background: #0b0705;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.09), inset 0 0 0 1px rgba(255,255,255,.06), 0 -20px 60px -20px rgba(0,0,0,.9);
    transform: scale(var(--sk, 1)); transform-origin: 50% 0;
  }
  .sstep::after {
    content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
    background: #000; opacity: var(--sd, 0);
  }
  .sstep > :not(.sstep-shot) { padding: 0 8px; }
  .sstep-shot { margin: 0 0 18px; border-radius: 16px; }
  .sstep h3 { font-size: 24px; margin: 10px 0 8px; }
  .sstep p { font-size: 14px; }
  .sstep ul { margin-top: 14px; gap: 7px; }
  .sstep li { font-size: 13.5px; }

  /* steps: the lit number is louder */
  .step.on .step-n { transform: scale(1.18); box-shadow: 0 0 0 6px rgba(255,138,30,.12), 0 0 30px rgba(255,138,30,.45); }

  /* numbers: huge */
  [data-page="landing"] .stat b { font-size: clamp(56px, 17vw, 76px); }

  /* the way in, always one thumb away */
  .m-cta {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    position: fixed; z-index: 60; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom));
    padding: 8px 8px 8px 18px; border-radius: 999px;
    background: rgba(24,16,11,.72);
    -webkit-backdrop-filter: blur(20px) saturate(170%); backdrop-filter: blur(20px) saturate(170%);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.14), inset 0 0 0 1px rgba(255,255,255,.1), 0 20px 50px -10px rgba(0,0,0,.8);
    font-size: 12.5px; color: var(--t2);
    transform: translate3d(0, 160%, 0); transition: transform .55s var(--spring);
  }
  .m-cta b { color: var(--ac-2); font-weight: 650; }
  .m-cta .btn { height: 44px; padding: 0 20px; font-size: 14.5px; }
  .m-cta.show { transform: none; }
  [data-page="landing"] footer { padding-bottom: 110px; }
}
@media (max-width: 900px) and (prefers-reduced-motion: reduce) {
  .js .m-wipe, .js .m-wipe img { clip-path: none; transform: none; }
  .sstep { position: static; transform: none; }
  .who-word, .who-pic { transform: none; }
}
