/* ==========================================================================
   FORMA · Estudio de diseño de producto
   Réplica de la landing "Sonder Studio" (Make yourself unforgettable).
   Secciones: header · hero pinned (2 escenas + tela lima que viaja) ·
   crema (manifiesto) · crema (trabajos) · oliva (proceso/acordeón) · footer.
   ========================================================================== */

/* --------------------------------------------------------------------------
   0. Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Paleta: grises de foto + UN solo color (lima, sampleado de aura.webp) */
  --lime: #cfe000;          /* tela que viaja, asterisco, línea a sangre       */
  --lime-deep: #556207;     /* "La conexión queda." sobre crema (≈ #7a1f1f)   */
  --cream: #edeae2;         /* fondo de manifiesto y trabajos                  */
  --card-cream: #e6e8d9;    /* tarjetas del acordeón                           */
  --olive: #23261f;         /* sección "Una historia." y footer                */
  --olive-deep: #1b1d17;    /* footer                                          */
  --ink: #141414;           /* texto sobre crema                               */
  --ink-2: #4f5149;         /* párrafos sobre crema                            */
  --ink-3: #8a8a84;         /* itálica gris, metadatos                         */
  --white: #f4f4f2;         /* texto sobre foto y sobre oliva                  */
  --photo-dark: #3a3d40;    /* referencia de la foto monocroma                 */
  --photo-light: #9a9c9e;

  /* Tipografía */
  --sans: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --serif: "Instrument Serif", "Times New Roman", Georgia, serif;

  --fs-hero-sans: clamp(3.1rem, 7.6vw, 6.9rem);   /* ≈110 px a 1440 */
  --fs-hero-serif: clamp(3.4rem, 8.4vw, 7.6rem);  /* ≈120 px a 1440 */
  --fs-h2: clamp(2.3rem, 4.45vw, 4.1rem);         /* ≈64 px a 1440  */
  --fs-body: 0.9375rem;                           /* 15 px */
  --fs-small: 0.75rem;                            /* 12 px */
  --fs-micro: 0.5625rem;                          /* 9 px  */

  /* Layout */
  --gutter: 6vw;
  --header-h: 88px;

  /* Movimiento */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur: 0.7s;

  /* Poses de la tela (A = escena 1, B = escena 2) */
  --ribbon-a: translate(0, 0) rotate(-3deg) scale(1);
  --ribbon-b: translate(3vw, -30vh) rotate(-11deg) scale(1.08);

  color-scheme: light;
}

/* --------------------------------------------------------------------------
   1. Base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--olive);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

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

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

h1,
h2,
h3,
p,
ul {
  margin: 0;
}

ul {
  padding: 0;
  list-style: none;
}

:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 4px;
}

.defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.skip {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 8px 12px;
  background: var(--lime);
  color: var(--ink);
  transform: translateY(-200%);
}
.skip:focus-visible {
  transform: none;
}

/* --------------------------------------------------------------------------
   2. Piezas tipográficas compartidas
   -------------------------------------------------------------------------- */
.overline {
  font-size: var(--fs-micro);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--white);
}
.overline--dark {
  color: var(--ink);
}
.overline--cream {
  color: var(--white);
}

/* Titular mixto: primera línea sans light, segunda serif itálica (+10 %) */
.display {
  font-weight: 300;
  line-height: 0.98;
  letter-spacing: -0.025em;
  color: var(--white);
}
.display .sans {
  font-family: var(--sans);
  font-size: var(--fs-hero-sans);
}
.display .serif {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
  font-size: var(--fs-hero-serif);
}

.h2 {
  font-weight: 300;
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.h2 .sans {
  font-family: var(--sans);
  font-size: var(--fs-h2);
}
.h2 .serif {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.005em;
  font-size: calc(var(--fs-h2) * 1.1);
}
.h2 .serif--accent {
  color: var(--lime-deep);
}
.h2--cream {
  color: var(--white);
}

.textlink {
  display: inline-block;
  font-size: var(--fs-small);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
  padding-bottom: 4px;
  border-bottom: 1px solid currentColor;
  transition: opacity 0.3s var(--ease-out);
}
.textlink:hover {
  opacity: 0.7;
}
.textlink--dark {
  color: var(--ink);
}

.asterisk {
  display: block;
  font-family: var(--serif);
  line-height: 1;
  user-select: none;
}
.asterisk--lime {
  position: absolute;
  top: 11vh;
  right: var(--gutter);
  font-size: 3.6rem;
  color: var(--lime);
}
.asterisk--cream {
  margin-top: 10vh;
  font-size: 8rem;
  color: var(--card-cream);
}

/* --------------------------------------------------------------------------
   3. Header
   -------------------------------------------------------------------------- */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 28px var(--gutter);
  color: var(--white);
  transition: transform 0.55s var(--ease-out);
}
.header.is-hidden {
  transform: translateY(-100%);
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 2px;
  justify-self: start;
}
.brand-name {
  font-size: 1.125rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1;
}
.brand-sub {
  font-size: var(--fs-micro);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  opacity: 0.8;
}

.nav {
  display: flex;
  gap: 2.4rem;
  font-size: var(--fs-small);
  font-weight: 400;
}
.nav a {
  transition: opacity 0.3s var(--ease-out);
}
.nav a:hover {
  opacity: 0.7;
}
.nav sup {
  font-size: 0.6em;
  vertical-align: top;
  margin-left: 2px;
}

.pill {
  justify-self: end;
  font-size: var(--fs-small);
  font-weight: 500;
  padding: 9px 16px;
  border: 1px solid rgba(244, 244, 242, 0.55);
  border-radius: 999px;
  transition:
    background-color 0.35s var(--ease-out),
    color 0.35s var(--ease-out);
}
.pill:hover {
  background: var(--white);
  color: var(--ink);
}

/* --------------------------------------------------------------------------
   4. Hero pinned
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  height: 300vh;
  background: var(--photo-dark);
  /* Línea de tiempo con nombre: la usan los hijos del pin */
  view-timeline-name: --hero;
  view-timeline-axis: block;
}

.hero-pin {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
}

.stage {
  position: absolute;
  inset: 0;
}
.stage-2 {
  pointer-events: none;
}
.stage-2 .stage-copy {
  pointer-events: auto;
}

.stage-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 55%;
  filter: grayscale(1) brightness(0.6) contrast(1.12);
}
/* Foto 2: mismo cuadro, otro encuadre ("otra foto de la misma generación") */
.stage-2 .stage-photo {
  object-position: 40% 70%;
  transform: scale(1.28) translate(6%, -4%);
  filter: grayscale(1) brightness(0.5) contrast(1.18);
}

.stage-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(14, 15, 16, 0.6) 0%, rgba(14, 15, 16, 0) 62%),
    linear-gradient(0deg, rgba(10, 10, 11, 0.75) 0%, rgba(10, 10, 11, 0) 48%);
}

.stage-copy {
  position: absolute;
  inset: 0;
  padding: 0 var(--gutter);
  color: var(--white);
}
.stage-copy .overline {
  position: absolute;
  top: 27vh;
  left: var(--gutter);
}
.stage-copy .display {
  position: absolute;
  top: 31vh;
  left: var(--gutter);
  max-width: 72vw;
}
.stage-copy .lede {
  position: absolute;
  top: 80vh;
  left: var(--gutter);
  font-size: var(--fs-small);
  line-height: 1.55;
}
.stage-copy .hint {
  position: absolute;
  top: 80vh;
  right: var(--gutter);
  font-size: var(--fs-micro);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* Escena 2: texto más arriba (y 7–48 %) */
.stage-2 .stage-copy .overline {
  top: 7vh;
}
.stage-2 .stage-copy .display {
  top: 10vh;
}
.stage-2 .stage-copy .textlink {
  position: absolute;
  top: 48vh;
  left: var(--gutter);
}

.stage-bar {
  position: absolute;
  left: var(--gutter);
  right: var(--gutter);
  bottom: 0;
  display: flex;
  justify-content: space-between;
  padding: 16px 0 22px;
  border-top: 1px solid rgba(244, 244, 242, 0.28);
  font-size: var(--fs-micro);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--white);
}

/* La tela lima: capa que viaja por encima del titular de la escena 1 */
.ribbon {
  position: absolute;
  left: 47vw;
  top: 36vh;
  width: 56vw;
  height: calc(56vw * 0.3);
  transform-origin: 0% 55%;
  filter: drop-shadow(0 22px 28px rgba(0, 0, 0, 0.4));
  will-change: transform;
  pointer-events: none;
}
.ribbon-1 {
  transform: var(--ribbon-a);
}
.ribbon-2 {
  display: none;
  transform: var(--ribbon-b);
}

/* --- Animaciones ligadas al scroll (lineales, scrubbed) --- */
@keyframes copy-out {
  from {
    opacity: 1;
    visibility: visible;
  }
  to {
    opacity: 0;
    visibility: hidden;
  }
}
@keyframes fade-in {
  from {
    opacity: 0;
    visibility: hidden;
  }
  to {
    opacity: 1;
    visibility: visible;
  }
}
@keyframes ribbon-travel {
  from {
    transform: var(--ribbon-a);
  }
  to {
    transform: var(--ribbon-b);
  }
}

@supports (animation-timeline: view()) {
  /* p 0–0,3: copia 1 y barra 1 se apagan sin moverse */
  .stage-1 .stage-copy,
  .stage-1 .stage-bar {
    animation: copy-out linear both;
    animation-timeline: --hero;
    animation-range: contain 0% contain 30%;
  }
  /* p 0,3–0,65: la tela viaja de la pose A a la pose B */
  .ribbon-1 {
    animation: ribbon-travel linear both;
    animation-timeline: --hero;
    animation-range: contain 30% contain 65%;
  }
  /* p 0,45–0,6: crossfade a la foto 2 */
  .stage-2 .stage-photo,
  .stage-2 .stage-shade {
    animation: fade-in linear both;
    animation-timeline: --hero;
    animation-range: contain 45% contain 60%;
  }
  /* p 0,6–0,8: copia 2 y barra 2 aparecen */
  .stage-2 .stage-copy,
  .stage-2 .stage-bar {
    animation: fade-in linear both;
    animation-timeline: --hero;
    animation-range: contain 60% contain 80%;
  }
}

/* Fallback sin scroll-driven animations: app.js escribe --p (0…1) en .hero */
@supports not (animation-timeline: view()) {
  .hero {
    --p: 0;
  }
  .stage-1 .stage-copy,
  .stage-1 .stage-bar {
    opacity: clamp(0, 1 - var(--p) / 0.3, 1);
  }
  .ribbon-1 {
    --t: clamp(0, (var(--p) - 0.3) / 0.35, 1);
    transform: translate(calc(3vw * var(--t)), calc(-30vh * var(--t)))
      rotate(calc(-3deg - 8deg * var(--t))) scale(calc(1 + 0.08 * var(--t)));
  }
  .stage-2 .stage-photo,
  .stage-2 .stage-shade {
    opacity: clamp(0, (var(--p) - 0.45) / 0.15, 1);
  }
  .stage-2 .stage-copy,
  .stage-2 .stage-bar {
    opacity: clamp(0, (var(--p) - 0.6) / 0.2, 1);
  }
}

/* --------------------------------------------------------------------------
   5. Secciones crema
   -------------------------------------------------------------------------- */
.cream {
  position: relative;
  background: var(--cream);
  color: var(--ink);
  padding: 14vh var(--gutter) 12vh;
}

.statement {
  padding-bottom: 16vh;
}
.statement .overline {
  margin-bottom: 4.5vh;
}
.statement-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 4vw;
  margin-top: 9vh;
}
.aside-italic {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.45rem;
  line-height: 1.3;
  color: var(--ink-3);
}
.statement-text {
  max-width: 34rem;
  justify-self: end;
  color: var(--ink-2);
}
.statement-text p + p {
  margin-top: 1.4em;
}
.statement-text .textlink {
  margin-top: 2.6em;
}

/* Trabajos ------------------------------------------------------------- */
.work-section {
  padding-top: 0;
  padding-bottom: 16vh;
}
.work-section .overline {
  margin-bottom: 4.5vh;
}
.work-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5vh 2.2vw;
  margin-top: 8vh;
}
.work--wide {
  grid-column: 1 / -1;
}

.work-media {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--olive);
  border-radius: 2px;
}
.work--wide .work-media {
  aspect-ratio: 21 / 9;
}
.work-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease-out);
}
.work-media:hover .work-photo {
  transform: scale(1.04);
}
.work-photo--mono {
  object-position: 50% 45%;
  filter: grayscale(1) brightness(0.62) contrast(1.12);
}
.work-photo--pulso {
  object-position: 50% 60%;
  filter: saturate(0.92) contrast(1.05);
}
.work-photo--umbral {
  object-position: 50% 55%;
  filter: contrast(1.05);
}
.work-ribbon {
  left: 44%;
  top: 34%;
  width: 60%;
  height: auto;
  aspect-ratio: 800 / 240;
  transform: rotate(-5deg);
  filter: drop-shadow(0 16px 22px rgba(0, 0, 0, 0.4));
}

/* Nombre del caso: cada uno con su propia voz tipográfica */
.work-name {
  position: absolute;
  left: 2.4rem;
  bottom: 2rem;
  color: var(--white);
  font-size: clamp(1.3rem, 2vw, 1.9rem);
  line-height: 1;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
}
.work-name--aura {
  font-weight: 300;
  letter-spacing: 0.32em;
}
.work-name--pulso {
  font-weight: 500;
  letter-spacing: 0.06em;
}
.work-name--umbral {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: 0.14em;
}

.work-go {
  position: absolute;
  right: 1.8rem;
  bottom: 1.8rem;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--white);
  color: var(--ink);
  font-size: 1rem;
  transition: transform 0.5s var(--ease-out);
}
.work-media:hover .work-go {
  transform: translate(2px, -2px);
}

.work-meta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1rem;
  font-size: var(--fs-micro);
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-2);
}

/* --------------------------------------------------------------------------
   6. Sección oliva: proceso
   -------------------------------------------------------------------------- */
.olive {
  position: relative;
  background: var(--olive);
  color: var(--white);
  padding: 14vh var(--gutter) 0;
}
.process-grid {
  display: grid;
  grid-template-columns: 6fr 6fr;
  gap: 6vw;
  padding-bottom: 14vh;
}
.process-intro .overline {
  margin-bottom: 4.5vh;
}
.process-lede {
  margin-top: 4vh;
  max-width: 28rem;
  line-height: 1.6;
  color: var(--card-cream);
}

.accordion {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.acc {
  background: var(--card-cream);
  color: var(--ink);
  border-radius: 3px;
}
.acc-head {
  font-size: inherit;
  font-weight: inherit;
}
.acc-btn {
  display: grid;
  grid-template-columns: 2.2rem 1fr auto;
  grid-template-areas:
    "num label arrow"
    "num title arrow";
  align-items: center;
  column-gap: 1rem;
  width: 100%;
  padding: 1.5rem 1.6rem;
  text-align: left;
}
.acc-num {
  grid-area: num;
  align-self: start;
  font-size: var(--fs-micro);
  font-weight: 500;
  letter-spacing: 0.16em;
  padding-top: 0.2rem;
}
.acc-label {
  grid-area: label;
  font-size: var(--fs-micro);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.acc-title {
  grid-area: title;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.5rem, 2.1vw, 2rem);
  line-height: 1.1;
  margin-top: 0.35rem;
}
.acc-arrow {
  grid-area: arrow;
  font-size: 1.1rem;
  transition: transform 0.5s var(--ease-out);
}
.acc-btn[aria-expanded="true"] .acc-arrow {
  transform: rotate(45deg);
}

/* Cuerpo desplegable: grid 0fr → 1fr */
.acc-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.6s var(--ease-out);
}
.acc-body.is-open {
  grid-template-rows: 1fr;
}
.acc-inner {
  overflow: hidden;
  min-height: 0;
}
.acc-inner p {
  padding: 0 1.6rem 0 calc(1.6rem + 2.2rem + 1rem);
  max-width: 34rem;
  color: var(--ink-2);
}
.acc-inner ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem 1rem;
  padding: 1.4rem 1.6rem 1.8rem calc(1.6rem + 2.2rem + 1rem);
  font-size: var(--fs-small);
  font-weight: 500;
}
.acc-inner li::before {
  content: "— ";
  color: var(--ink-3);
}

.rule-lime {
  height: 2px;
  background: var(--lime);
}

/* --------------------------------------------------------------------------
   7. Footer (inferido)
   -------------------------------------------------------------------------- */
.footer {
  background: var(--olive-deep);
  color: var(--white);
  padding: 10vh var(--gutter) 5vh;
}
.footer-top {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 4vw;
  padding-bottom: 8vh;
  border-bottom: 1px solid rgba(244, 244, 242, 0.14);
}
.brand--footer .brand-name {
  font-size: 2.2rem;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  font-size: var(--fs-small);
}
.footer-nav a:hover,
.footer-mail:hover {
  opacity: 0.7;
}
.footer-contact .overline {
  margin-bottom: 1rem;
}
.footer-mail {
  display: inline-block;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.6rem;
  line-height: 1;
  border-bottom: 1px solid rgba(244, 244, 242, 0.4);
  transition: opacity 0.3s var(--ease-out);
}
.footer-place {
  margin-top: 0.8rem;
  font-size: var(--fs-small);
  color: var(--ink-3);
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 2.4vh;
  font-size: var(--fs-micro);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.footer-collection {
  color: var(--ink-3);
  border-bottom: 1px solid currentColor;
}

/* --------------------------------------------------------------------------
   8. Reveals disparados (tarjetas de trabajos y del acordeón) [Probable]
   -------------------------------------------------------------------------- */
/* Se observa el wrapper .reveal (sin recorte: Chrome aplica el clip-path del
   propio elemento al IntersectionObserver) y se recorta al hijo. */
.reveal > * {
  clip-path: inset(100% 0 0 0);
  opacity: 0;
  transition:
    clip-path 0.9s var(--ease-out),
    opacity 0.6s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 110ms);
}
.reveal.is-in > * {
  clip-path: inset(0 0 0 0);
  opacity: 1;
}

/* --------------------------------------------------------------------------
   9. Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1000px) {
  :root {
    --gutter: 6vw;
  }
  .statement-grid {
    grid-template-columns: 1fr;
    gap: 5vh;
  }
  .statement-text {
    justify-self: start;
  }
  .process-grid {
    grid-template-columns: 1fr;
    gap: 8vh;
  }
  .asterisk--cream {
    display: none;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  :root {
    --fs-hero-sans: clamp(2.8rem, 14vw, 4rem);
    --fs-hero-serif: clamp(3rem, 15.5vw, 4.4rem);
    --fs-h2: clamp(2rem, 9.5vw, 2.8rem);
    --gutter: 6vw;
  }
  .header {
    grid-template-columns: 1fr auto;
    padding: 20px var(--gutter);
  }
  .nav {
    display: none;
  }
  .stage-copy .overline {
    top: 22vh;
  }
  .stage-copy .display {
    top: 27vh;
    max-width: 88vw;
  }
  .stage-copy .lede {
    top: 72vh;
  }
  .stage-copy .hint {
    display: none;
  }
  .stage-2 .stage-copy .textlink {
    top: 52vh;
  }
  .ribbon {
    left: 34vw;
    top: 42vh;
    width: 92vw;
    height: calc(92vw * 0.3);
  }
  :root {
    --ribbon-b: translate(2vw, -26vh) rotate(-14deg) scale(1.05);
  }
  .stage-bar {
    flex-direction: column;
    gap: 6px;
    padding-bottom: 16px;
  }
  .cream {
    padding: 12vh var(--gutter) 10vh;
  }
  .asterisk--lime {
    top: 6vh;
    font-size: 2.4rem;
  }
  .work-grid {
    grid-template-columns: 1fr;
    gap: 4vh;
  }
  .work--wide .work-media {
    aspect-ratio: 4 / 3;
  }
  .work-ribbon {
    left: 40%;
    top: 40%;
    width: 75%;
  }
  .work-name {
    left: 1.4rem;
    bottom: 1.3rem;
  }
  .work-go {
    right: 1.2rem;
    bottom: 1.2rem;
    width: 38px;
    height: 38px;
  }
  .work-meta {
    flex-direction: column;
    gap: 0.4rem;
  }
  .acc-btn {
    padding: 1.2rem 1.1rem;
    grid-template-columns: 1.8rem 1fr auto;
  }
  .acc-inner p,
  .acc-inner ul {
    padding-left: 1.1rem;
    padding-right: 1.1rem;
  }
  .acc-inner ul {
    grid-template-columns: 1fr;
  }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 5vh;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 0.8rem;
  }
}

/* --------------------------------------------------------------------------
   10. Reduced motion: todo visible y quieto. El hero deja de ser pinned y
       las dos escenas se apilan como dos pantallas de 100 vh.
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none;
    transition: none;
  }
  .hero {
    height: auto;
  }
  .hero-pin {
    position: relative;
    height: auto;
    overflow: hidden;
  }
  .stage {
    position: relative;
    height: 100vh;
    overflow: hidden;
    opacity: 1;
    pointer-events: auto;
  }
  .stage-1 .stage-copy,
  .stage-1 .stage-bar,
  .stage-2 .stage-photo,
  .stage-2 .stage-shade,
  .stage-2 .stage-copy,
  .stage-2 .stage-bar {
    opacity: 1;
    visibility: visible;
  }
  /* Cada tela sobre su escena apilada: la 2 baja 100 vh (segunda pantalla) */
  .ribbon-1 {
    transform: var(--ribbon-a);
  }
  .ribbon-2 {
    display: block;
    top: calc(100vh + 36vh);
    transform: var(--ribbon-b);
  }
  .reveal > * {
    clip-path: none;
    opacity: 1;
  }
}
