/* ==========================================================================
   Merce Palau · web oficial · estilos v2
   Negro y dorado (la paleta que eligió Mercè).
   Radios: imágenes y tarjetas 16px (hero en arco), botones y chips en píldora.
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  --bg: #121010;
  --bg-band: #1A1715;
  --surface: #211D1A;
  --text: #F1EADF;
  --text-2: #B8AD9E;
  --line: rgba(241, 234, 223, 0.12);
  --gold: #CFA962;
  --gold-ink: #DDBC7B;
  --gold-soft: rgba(207, 169, 98, 0.14);
  --on-gold: #15120F;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 16px 40px -16px rgba(0, 0, 0, 0.6);
  --photo-accent: #E6C98E;
  --scrim: linear-gradient(180deg, rgba(18, 14, 10, 0) 30%, rgba(18, 14, 10, 0.78) 100%);

  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: "Figtree", "Segoe UI", system-ui, sans-serif;
  --font-sign: "Mrs Saint Delafield", "Brush Script MT", cursive;

  --radius: 16px;
  --pill: 999px;
  --gutter: clamp(1.25rem, 5vw, 4rem);
  --section: clamp(4.5rem, 10vw, 8.5rem);
  --max: 1200px;
  --nav-h: 4.25rem;

  --ease: cubic-bezier(0.23, 1, 0.32, 1);
  --t: 220ms;

  --z-nav: 40;
  --z-dock: 45;
  --z-gate: 100;

  color-scheme: dark;
}

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

html {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 1rem);
}
html:not([data-gate]) { overflow: hidden; }

body {
  margin: 0;
  min-height: 100dvh;
  background: var(--bg);
  font-size: 1.0625rem;
  -webkit-font-smoothing: antialiased;
  transition: background-color 300ms var(--ease), color 300ms var(--ease);
}

img { display: block; max-width: 100%; height: auto; }
picture { display: contents; }
figure { margin: 0; }
a { color: inherit; }
p { margin: 0 0 1em; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0;
  text-wrap: balance;
}
h2 { font-size: clamp(2.25rem, 5vw, 3.5rem); }
h3 { font-size: 1.6rem; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
/* Un solo lienzo: sin bandas de otro color, las secciones se encadenan sin cortes */
.band { padding-block: var(--section); }

.section-head { max-width: 38rem; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.section-head p { color: var(--text-2); margin-top: 0.9rem; font-size: 1.125rem; }

.signature {
  font-family: var(--font-sign);
  font-weight: 400;
  color: var(--gold-ink);
  line-height: 1;
  letter-spacing: 0;
}

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 200;
  background: var(--text); color: var(--bg); padding: 0.6rem 1rem; border-radius: var(--pill);
}
.skip-link:focus { top: 1rem; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

/* ---------- 3. Botones y chips ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  min-height: 3rem; padding: 0.75rem 1.6rem;
  border-radius: var(--pill); border: 1px solid transparent;
  font: 600 0.8125rem/1 var(--font-body); letter-spacing: 0.14em; text-transform: uppercase;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: transform var(--t) var(--ease), background-color var(--t) var(--ease),
              color var(--t) var(--ease), border-color var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.btn:active { transform: scale(0.97); }
.btn-gold { background: var(--gold); color: var(--on-gold); box-shadow: 0 6px 16px -8px rgba(0, 0, 0, 0.35); }
.btn-gold:hover { filter: brightness(1.06); box-shadow: 0 10px 22px -10px rgba(0, 0, 0, 0.45); }
.btn-line { border-color: var(--gold); color: var(--gold-ink); background: transparent; }
.btn-line:hover { background: var(--gold-soft); }

.btn-link {
  background: none; border: 0; padding: 0.5rem; cursor: pointer;
  font: 500 0.9375rem var(--font-body); color: var(--text-2); text-decoration: underline; text-underline-offset: 4px;
}

.live-dot { width: 0.5rem; height: 0.5rem; border-radius: 50%; background: currentColor; opacity: 0.45; }
.live-dot[data-live="on"] { background: #C7372F; opacity: 1; box-shadow: 0 0 0 0 rgba(199, 55, 47, 0.5); animation: pulse 1.8s infinite; }

.chip {
  display: inline-flex; align-items: center; gap: 0.5rem; flex: none;
  min-height: 2.75rem; padding: 0.55rem 1.1rem 0.55rem 0.9rem;
  border: 1px solid var(--line); border-radius: var(--pill); background: var(--surface);
  font-size: 0.9375rem; font-weight: 500; text-decoration: none; color: var(--text);
  transition: border-color var(--t) var(--ease), transform var(--t) var(--ease);
}
.chip i { font-size: 1.25rem; color: var(--gold-ink); }
.chip:hover { border-color: var(--gold); }
.chip:active { transform: scale(0.97); }

/* ---------- 4. Gate 18+ ---------- */
.gate {
  position: fixed; inset: 0; z-index: var(--z-gate);
  display: grid; place-items: center; padding: var(--gutter);
  background: var(--bg);
  transition: opacity 450ms var(--ease);
}
html[data-gate] .gate { display: none; }
.gate[data-state="leaving"] { opacity: 0; }
.gate-card { width: 100%; max-width: 30rem; text-align: center; position: relative; }
.gate .lang { justify-content: center; margin-bottom: 2.5rem; }
.gate-signature { margin: 0 0 1.75rem; }
.gate-mono { display: block; width: clamp(6.5rem, 26vw, 8.5rem); height: auto; margin: 0 auto 1.25rem; }
.gate-name { display: block; width: min(100%, 19rem); height: auto; margin-inline: auto; }
.gate-text { color: var(--text-2); font-size: 1.0625rem; max-width: 26rem; margin: 0 auto 2rem; }
.gate-actions { display: flex; flex-direction: column; align-items: center; gap: 0.75rem; }
.gate-legal { margin-top: 2rem; font-size: 0.8125rem; color: var(--text-2); }

/* ---------- 5. Navegación ---------- */
.nav {
  position: sticky; top: 0; z-index: var(--z-nav);
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter);
  height: var(--nav-h); display: flex; align-items: center; gap: 2rem;
}
.brand { font-size: 2.1rem; text-decoration: none; flex: none; }
.brand img { display: block; height: 1.3em; width: auto; }
.nav-links { display: flex; gap: 1.75rem; margin-left: auto; }
.nav-links a {
  text-decoration: none; font-size: 0.9375rem; color: var(--text-2);
  transition: color var(--t) var(--ease);
}
.nav-links a:hover { color: var(--text); }
.nav-links a[aria-current] { color: var(--gold-ink); }
.nav-tools { display: flex; align-items: center; gap: 0.75rem; margin-left: auto; }

.lang { display: flex; gap: 0.25rem; font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.08em; }
.lang a { text-decoration: none; padding: 0.35rem 0.5rem; border-radius: var(--pill); color: var(--text-2); }
.lang a[aria-current="page"] { color: var(--gold-ink); background: var(--gold-soft); }


/* ---------- 6. Hero ----------
   Foto de estudio a sangre en la mitad derecha, fundida con el fondo hacia la
   izquierda y hacia abajo. El nombre, con la firma de la cabecera, monta sobre
   el borde de la foto. */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: center;
  /* Alto fijo = pantalla menos cabecera: la foto se ajusta a él, nunca al revés */
  --hero-h: clamp(34rem, calc(100dvh - var(--nav-h)), 60rem);
  height: var(--hero-h); grid-template-rows: var(--hero-h);
}
/* El ancho de la foto sale de la altura del hero (proporción 3:4), así en pantallas
   anchas no se amplía ni se corta la cabeza: crece la zona negra a la izquierda. */
.hero-media {
  grid-column: 1 / -1; grid-row: 1; align-self: stretch; justify-self: end;
  height: var(--hero-h); width: min(calc(var(--hero-h) * 0.75), 62vw);
  margin: 0; position: relative; z-index: -1;
}
.hero-media img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 50%), linear-gradient(0deg, transparent 0%, #000 22%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent 0%, #000 50%), linear-gradient(0deg, transparent 0%, #000 22%);
  mask-composite: intersect;
}
/* Viñeteado cálido muy suave sobre la foto para integrar el gris de estudio */
.hero-media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(120% 90% at 70% 30%, transparent 55%, color-mix(in srgb, var(--bg) 55%, transparent) 100%);
}
.hero-copy {
  grid-column: 1 / 8; grid-row: 1; position: relative;
  padding-block: clamp(1.5rem, 5vh, 3.5rem);
  /* Alineado con el contenedor de la cabecera */
  padding-left: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
}
.hero-title {
  font-size: clamp(4.5rem, min(10vw, 15vh), 10rem); line-height: 1.05; font-weight: 400;
  color: var(--gold-ink); margin: 0 0 0 -0.08em; padding: 0.1em 0 0.15em;
  white-space: nowrap;
}
/* Logotipo dibujado: la altura sigue al font-size del título */
.hero-title img { display: block; height: 1.3em; width: auto; max-width: 100%; object-fit: contain; object-position: left center; }
.hero-lede { font-family: var(--font-display); font-size: clamp(1.35rem, 2vw, 1.7rem); line-height: 1.3; color: var(--text); max-width: 34rem; margin: 0 0 1.5rem; text-wrap: balance; }
/* Plataformas dentro del hero: Chaturbate (directo) en dorado, el resto en píldora de línea */
.hero-links { display: flex; flex-wrap: wrap; gap: 0.55rem; max-width: 34rem; }
.hero-links .chip { background: color-mix(in srgb, var(--surface) 70%, transparent); }
.hero-links .chip-gold { background: var(--gold); border-color: var(--gold); color: var(--on-gold); font-weight: 600; }
.hero-links .chip-gold:hover { filter: brightness(1.06); }
.chip-gold .live-dot { margin-right: 0.1rem; }

/* Entrada: la foto aparece lenta y la firma después. Solo una vez, al cargar. */
@media (prefers-reduced-motion: no-preference) {
  .hero-media img { animation: hero-photo 1400ms var(--ease) both; }
  .hero-copy > * { animation: hero-up 900ms var(--ease) both; }
  .hero-copy > :nth-child(2) { animation-delay: 150ms; }
  .hero-copy > :nth-child(3) { animation-delay: 250ms; }
  .hero-copy > :nth-child(4) { animation-delay: 350ms; }
  html:not([data-gate]) .hero-media img, html:not([data-gate]) .hero-copy > * { animation-play-state: paused; }
}
@keyframes hero-photo { from { opacity: 0; transform: scale(1.04); } to { opacity: 1; transform: none; } }
@keyframes hero-up { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ---------- 7. Acceso rápido ---------- */
.quick { max-width: var(--max); margin: 0 auto clamp(1rem, 3vw, 2rem); padding-inline: var(--gutter); }
.quick-track { display: flex; flex-wrap: wrap; gap: 0.6rem; justify-content: center; }

/* ---------- 8. Sobre mí ----------
   Composición tipo revista: foto grande + foto pequeña montada encima con marco
   dorado (se desplaza un poco al hacer scroll). */
.about { position: relative; isolation: isolate; }
/* En escritorio el bloque sube sobre el final fundido del hero: el texto ocupa el
   hueco negro bajo las plataformas y el collage monta sobre la foto grande. */
@media (min-width: 768px) {
  .about { margin-top: calc(clamp(5rem, 16vh, 10rem) * -1); padding-top: 0; padding-bottom: clamp(2rem, 4vw, 3.5rem); }
  .about-text { order: -1; }
  .about-grid { align-items: start; }
  .about-text { padding-top: clamp(3rem, 12vh, 8rem); }
}
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 7vw, 6.5rem); align-items: center; }
.about-collage { position: relative; padding: 0 14% 16% 0; }
.about-photo { border-radius: var(--radius); overflow: hidden; aspect-ratio: 3 / 4; box-shadow: var(--shadow); }
.about-photo img, .about-inset img { width: 100%; height: 100%; object-fit: cover; }
.about-inset {
  position: absolute; right: 0; bottom: 0; width: 46%; aspect-ratio: 4 / 5;
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  outline: 1px solid var(--gold); outline-offset: 8px;
}
.about-text { max-width: 33rem; }
.about-text h2 { margin-bottom: 1.75rem; }
.about-lead {
  position: relative; font-family: var(--font-display); font-size: clamp(1.6rem, 2.7vw, 2.15rem); line-height: 1.3;
  color: var(--text); margin-bottom: 1.5rem; text-wrap: balance;
}
.about-text > p:not(.about-lead):not(.signature) { color: var(--text-2); font-size: 1.0625rem; }
.about-signature { font-size: 3.75rem; margin: 1.5rem 0 0; }

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .about-inset { animation: about-float linear both; animation-timeline: view(); animation-range: entry 0% exit 100%; }
  }
}
@keyframes about-float { from { transform: translateY(48px); } to { transform: translateY(-48px); } }

/* ---------- 9. Plataformas ---------- */
.where { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2.5rem, 6vw, 5.5rem); align-items: center; }
.where-photo { position: sticky; top: calc(var(--nav-h) + 1.5rem); margin: 0; aspect-ratio: 4 / 5; }
.where-arch {
  position: absolute; inset: 9% 6% 0; border-radius: 999px 999px var(--radius) var(--radius);
  border: 1px solid var(--gold); background: radial-gradient(80% 60% at 50% 90%, color-mix(in srgb, var(--gold) 12%, transparent), transparent 75%);
}
.where-photo img { position: absolute; left: 50%; bottom: 0; width: 86%; height: auto; transform: translateX(-50%); filter: drop-shadow(0 24px 30px rgba(0, 0, 0, 0.55)); }
.where-body { padding-top: clamp(0rem, 3vw, 2.5rem); }
.where-body .section-head { margin-bottom: 2rem; }

.where-list { list-style: none; margin: 0; padding: 0; }
.where-list li + li { border-top: 1px solid var(--line); }
.wl {
  display: grid; grid-template-columns: 3rem 1fr auto; gap: 1.25rem; align-items: center;
  padding: 1.1rem 0.25rem; text-decoration: none; color: var(--text);
}
.wl-icon {
  display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%;
  border: 1px solid var(--line); color: var(--gold-ink); font-size: 1.35rem;
  transition: border-color var(--t) var(--ease), background-color var(--t) var(--ease), color var(--t) var(--ease);
}
.wl-name { display: inline-flex; align-items: center; gap: 0.75rem; font-family: var(--font-display); font-size: clamp(1.9rem, 3vw, 2.6rem); line-height: 1.1; transition: transform 300ms var(--ease), color var(--t) var(--ease); }
.wl-main .wl-name { color: var(--gold-ink); }
.wl-arrow { font-size: 1.35rem; color: var(--gold-ink); opacity: 0.55; transition: transform 300ms var(--ease), opacity var(--t) var(--ease); }
@media (hover: hover) and (pointer: fine) {
  .wl:hover .wl-icon { background: var(--gold); border-color: var(--gold); color: var(--on-gold); }
  .wl:hover .wl-name { transform: translateX(0.5rem); color: var(--gold-ink); }
  .wl:hover .wl-arrow { transform: translate(3px, -3px); opacity: 1; }
}

/* ---------- 10. Galería: baraja ----------
   Cartas apiladas con un poco de giro; la de arriba se desliza con el dedo o el ratón.
   Las flechas, el teclado y la lista completa valen como alternativa. */
.gallery-wrap { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(2.5rem, 5vw, 5.5rem); align-items: center; }
.gallery .section-head { margin: 0; }
.deck-ui { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 2.25rem; max-width: 18rem; }
.deck-count { font-family: var(--font-display); color: var(--text-2); }
.deck-n { font-weight: 400; font-size: 2.6rem; line-height: 1; color: var(--gold-ink); }
.deck-nav { display: flex; gap: 0.5rem; }
.deck-btn {
  width: 3rem; height: 3rem; border-radius: 50%; border: 1px solid var(--line); background: transparent;
  color: var(--text); font-size: 1.25rem; display: grid; place-items: center; cursor: pointer;
  transition: border-color var(--t) var(--ease), background-color var(--t) var(--ease), color var(--t) var(--ease), transform 120ms var(--ease);
}
.deck-btn:hover { border-color: var(--gold); }
.deck-btn:active { transform: scale(0.94); }
.deck { position: relative; aspect-ratio: 4 / 5; max-height: 80svh; margin-inline: auto; width: min(100%, 26rem); touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.deck .card {
  position: absolute; inset: 0; margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--surface);
  box-shadow: var(--shadow); outline: 1px solid var(--line); will-change: transform;
  transform-origin: 50% 110%;
}
.deck .card img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; pointer-events: none; display: block; }
.deck .card.is-top { cursor: grab; }
.deck .card.is-top:active { cursor: grabbing; }
.deck-hint {
  position: absolute; left: 50%; bottom: -2.5rem; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-2); white-space: nowrap;
}
.deck-hint i { font-size: 1.1rem; }
@media (hover: hover) and (pointer: fine) { .deck-hint { display: none; } }

/* ---------- 12. Contacto ---------- */
.contact-inner { text-align: center; max-width: 40rem; }
.contact-inner > p { color: var(--text-2); margin: 1rem auto 2rem; font-size: 1.125rem; }
.contact-email {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--font-display); font-size: clamp(1.6rem, 4vw, 2.4rem); color: var(--gold-ink);
  text-decoration: none; border-bottom: 1px solid var(--gold); padding-bottom: 0.2rem;
}
.contact-email:hover { border-bottom-color: transparent; }
.contact-meta { margin-top: 1.5rem; font-size: 0.9375rem; color: var(--text-2); }

/* ---------- 13. Footer ---------- */
.footer { padding: 3.5rem 0 calc(3rem + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
.footer-inner, .footer-grid { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem; }
.footer-signature { margin: 0; }
.footer-signature img, .footer .brand img { display: block; height: 3.5rem; width: auto; }
.footer-links { display: flex; gap: 1.5rem; font-size: 0.875rem; }
.footer-links a { color: var(--text-2); text-decoration: none; }
.footer-links a:hover { color: var(--text); }
.footer-note { font-size: 0.8125rem; color: var(--text-2); margin: 0; }

/* ---------- 14. Barra rápida móvil ---------- */
.dock { display: none; }

/* ---------- 15. Páginas legales y 404 ---------- */
.page { max-width: 46rem; margin-inline: auto; padding: var(--section) var(--gutter); }
.page h1 { font-size: clamp(2.5rem, 6vw, 3.75rem); margin-bottom: 1rem; }
.page h2 { font-size: 1.75rem; margin: 2.5rem 0 0.75rem; }
.page p, .page li { color: var(--text-2); }
.rule { display: block; width: 3rem; height: 1px; background: var(--gold); margin: 1.25rem 0; }
.updated { font-size: 0.875rem; color: var(--text-2); }
.todo { background: var(--gold-soft); color: var(--gold-ink); padding: 0 0.3em; border-radius: 4px; }
.btn-icon { display: inline-flex; width: 1rem; height: 1rem; }
.btn-icon svg { width: 100%; height: 100%; }

/* ---------- 15b. Casting ---------- */
.cast { padding-block: clamp(3rem, 7vw, 6rem) var(--section); }
.cast-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.cast-intro { position: sticky; top: calc(var(--nav-h) + 2rem); }
.cast-intro h1 { font-size: clamp(3rem, 7vw, 4.75rem); }
.cast-lede { color: var(--text-2); font-size: 1.125rem; margin: 1rem 0 2rem; max-width: 28rem; }
.cast-h { font-size: 1.6rem; margin-bottom: 1rem; }
.cast-req { list-style: none; margin: 0 0 1.5rem; padding: 0; display: grid; gap: 0.85rem; }
.cast-req li { display: grid; grid-template-columns: 1.75rem 1fr; gap: 0.5rem; color: var(--text-2); font-size: 0.9688rem; }
.cast-req i { font-size: 1.35rem; color: var(--gold-ink); }
.cast-note { font-size: 0.875rem; color: var(--text-2); }
.cast-note a, .check a, .contact-cast a { color: var(--gold-ink); }
.contact-cast { margin-top: 1.5rem; color: var(--text-2); }

.cast-form, .cast-done {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1.25rem, 4vw, 2.5rem); box-shadow: var(--shadow);
}
.cast-form fieldset { border: 0; margin: 0 0 2rem; padding: 0; min-width: 0; }
.cast-form legend { font-family: var(--font-display); font-size: 1.6rem; margin-bottom: 1rem; padding: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1rem; }
.field label { font-size: 0.875rem; font-weight: 600; }
.opt { font-weight: 400; color: var(--text-2); }
.hint { font-size: 0.8125rem; color: var(--text-2); margin: 0; }
.field input, .field select, .field textarea {
  width: 100%; font: 400 1rem var(--font-body); color: var(--text);
  background: var(--bg); border: 1px solid var(--line); border-radius: 10px;
  padding: 0.75rem 0.9rem; min-height: 3rem;
  transition: border-color var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.field textarea { resize: vertical; min-height: 5rem; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-soft); }
.field [aria-invalid="true"] { border-color: #D2584E; }
.field .error { font-size: 0.8125rem; color: #E0776D; margin: 0; }
.field input[type="file"] { padding: 0.6rem; cursor: pointer; }
.field input[type="file"]::file-selector-button {
  margin-right: 0.75rem; border: 1px solid var(--gold); background: transparent; color: var(--gold-ink);
  border-radius: var(--pill); padding: 0.45rem 0.9rem; font: 600 0.8125rem var(--font-body); cursor: pointer;
}
.preview:empty { display: none; }
.preview img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 10px; }
.check { display: grid; grid-template-columns: 1.25rem 1fr; gap: 0.7rem; align-items: start; margin-bottom: 0.85rem; font-size: 0.9375rem; color: var(--text-2); cursor: pointer; }
.check input { width: 1.15rem; height: 1.15rem; margin: 0.15rem 0 0; accent-color: var(--gold); }
.check.is-invalid { color: #E0776D; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-bottom: 1rem; padding: 0.85rem 1rem; border-radius: 10px; background: rgba(210, 88, 78, 0.12); color: var(--text); font-size: 0.9375rem; }
.cast-submit { width: 100%; }
.cast-submit[aria-busy="true"] { opacity: 0.7; pointer-events: none; }
.cast-done { text-align: center; }
.cast-done i { font-size: 3rem; color: var(--gold-ink); }
.cast-done h2 { margin: 0.75rem 0; }
.cast-done p { color: var(--text-2); max-width: 28rem; margin-inline: auto; margin-bottom: 1.5rem; }
.nav-links a[aria-current="page"] { color: var(--gold-ink); }

/* ---------- 15c. Ficha privada para productoras ---------- */
.pro { padding-block: clamp(2.5rem, 6vw, 5rem) var(--section); }
.pro-card { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2rem, 6vw, 4.5rem); align-items: center; }
.pro-photo { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; box-shadow: var(--shadow); }
.pro-photo img { width: 100%; height: 100%; object-fit: cover; }
.pro-kicker { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-ink); margin-bottom: 1rem; }
.pro h1 { font-size: clamp(3rem, 7vw, 4.5rem); }
.pro-bio { color: var(--text-2); font-size: 1.0625rem; margin: 1.25rem 0 2rem; max-width: 32rem; }
.pro-list { list-style: none; margin: 0 0 2rem; padding: 0; border-top: 1px solid var(--line); }
.pro-list li { display: grid; grid-template-columns: 2rem 7.5rem 1fr; gap: 0.75rem; align-items: center; padding: 0.95rem 0; border-bottom: 1px solid var(--line); }
.pro-list i { font-size: 1.35rem; color: var(--gold-ink); }
.pro-list span { font-size: 0.8125rem; color: var(--text-2); }
.pro-list a, .pro-list strong { font-weight: 500; text-decoration: none; color: var(--text); overflow-wrap: anywhere; }
.pro-list a:hover { color: var(--gold-ink); }
.pro-ctas { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.pro-foot { margin-top: 3rem; font-size: 0.8125rem; color: var(--text-2); text-align: center; }

/* ---------- 16. Motion ---------- */
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(224, 69, 59, 0.55); }
  70% { box-shadow: 0 0 0 8px rgba(224, 69, 59, 0); }
  100% { box-shadow: 0 0 0 0 rgba(224, 69, 59, 0); }
}

@media (prefers-reduced-motion: no-preference) {
  [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 700ms var(--ease), transform 700ms var(--ease); }
  [data-reveal].is-visible { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- 17. Responsive ---------- */
@media (max-width: 1023px) {
  .nav-links { display: none; }
  .where { grid-template-columns: 0.8fr 1.2fr; gap: 2.5rem; }
}

@media (max-width: 767px) {
  :root { --nav-h: 3.75rem; }
  body { font-size: 1rem; }
  .brand { font-size: 1.85rem; }

  .hero { grid-template-columns: 1fr; grid-template-rows: auto auto; height: auto; min-height: 0; align-items: start; text-align: center; }
  .hero-media { grid-column: 1; grid-row: 1; height: min(68svh, 36rem); width: 100%; margin: 0; justify-self: stretch; }
  .hero-media img { object-position: 50% 8%; }
  .hero-media img {
    -webkit-mask-image: linear-gradient(0deg, transparent 0%, #000 38%); -webkit-mask-composite: source-over;
    mask-image: linear-gradient(0deg, transparent 0%, #000 38%); mask-composite: add;
  }
  /* Solo la firma monta sobre el final fundido de la foto; el texto va ya sobre negro */
  .hero-copy { grid-column: 1; grid-row: 2; padding: 0 var(--gutter) 0.5rem; margin-top: -4.25rem; }
  .hero-title { font-size: clamp(4.25rem, 21vw, 6.5rem); margin: 0; }
  .hero-title img { margin-inline: auto; object-position: center; }
  .hero-lede { margin-inline: auto; margin-bottom: 1.75rem; }
  .hero-links { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; margin-inline: auto; max-width: 22rem; }
  .hero-links .chip { justify-content: center; }
  .hero-links .chip-gold { grid-column: 1 / -1; }

  .quick { padding-inline: 0; }
  .quick-track {
    flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto;
    padding: 0.25rem var(--gutter) 0.75rem; scroll-snap-type: x proximity; scrollbar-width: none;
    overscroll-behavior-x: contain;
  }
  .quick-track::-webkit-scrollbar { display: none; }
  .chip { scroll-snap-align: start; }

  .about-grid { grid-template-columns: 1fr; }
  .about-collage { padding: 0 18% 18% 0; }

  .where { grid-template-columns: 1fr; gap: 2rem; }
  .where-photo { display: none; } /* en móvil ya hay fotos de sobra: aquí manda el acceso rápido */
  .wl { grid-template-columns: 2.6rem 1fr auto; gap: 1rem; padding-block: 0.95rem; }
  .wl-icon { width: 2.6rem; height: 2.6rem; font-size: 1.2rem; }
  .wl-name { font-size: 1.75rem; }
  .gallery-wrap { grid-template-columns: 1fr; gap: 1.5rem; }
  .deck { width: min(100%, 20rem); max-height: 60svh; margin-bottom: 3rem; }
  .deck-ui { max-width: none; }
  .where-body { padding-top: 0; }


  .cast-grid, .pro-card { grid-template-columns: 1fr; }
  .cast-intro { position: static; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .pro-photo { max-width: 22rem; }
  .pro-list li { grid-template-columns: 1.75rem 1fr; }
  .pro-list li span { grid-column: 2; }
  .pro-list li > a, .pro-list li > strong { grid-column: 2; }

  .footer-inner { flex-direction: column; text-align: center; }
  .footer { padding-bottom: calc(6.5rem + env(safe-area-inset-bottom)); }

  .dock {
    display: flex; gap: 0.5rem; position: fixed; z-index: var(--z-dock);
    left: 0.75rem; right: 0.75rem; bottom: calc(0.75rem + env(safe-area-inset-bottom));
    padding: 0.5rem; border-radius: var(--pill);
    background: color-mix(in srgb, var(--surface) 88%, transparent);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border: 1px solid var(--line); box-shadow: var(--shadow);
    transform: translateY(calc(100% + 1.5rem)); transition: transform 400ms var(--ease);
  }
  .dock .btn { flex: 1; min-height: 2.75rem; padding-inline: 1rem; }
  .dock[data-visible="true"] { transform: none; }
}

@media (hover: none) {
  .chip:hover { transform: none; }
}

/* Lenis lleva el scroll suave: el del navegador estorba */
html.lenis, html.lenis body { height: auto; scroll-behavior: auto; }
