/* =========================================================
   ANA CASALEGNO · DIRECCIÓN ARTÍSTICA 02 · "ESCENAS"
   Concepto: una editorial cinematográfica. Cada escena cambia la atmósfera
   (charcoal · ivory · grape) y tres lenguajes la cosen: fotografía de Ana,
   cristal vivo y trazos de tinta dorada.
   ========================================================= */
:root {
  --grape: #6430B8;
  --amethyst: #995BD5;
  --santorini: #5A5CD5;
  --turq: #54EDDE;
  --pear: #CBD83B;
  --iv: #FFFEE8;
  --char: #111116;
  --char-2: #1C1A24;
  --lilac: #ECE4F7;
  --gold: #D9B565;
  --gold-deep: #A9822F;
  --gold-grad: linear-gradient(100deg, #9A7433 0%, #E9CC84 22%, #FFF4C9 40%, #C79A45 60%, #F2D995 80%, #9A7433 100%);
  --ease: cubic-bezier(.2, .7, .1, 1);
  --gx: clamp(18px, 5vw, 80px);
}

/* ---------- Botones nuevos ---------- */
.btn { border-radius: 0; }
.btn--dark { background: var(--grape); border-color: var(--grape); color: var(--iv); }
.btn--dark:hover { background: var(--char); border-color: var(--char); }
.btn--grape { background: var(--grape); border-color: var(--grape); color: var(--iv); }
.btn--grape:hover { background: var(--char); border-color: var(--char); }
.btn--gold {
  position: relative; border-radius: 999px; background: transparent; color: var(--iv); border: 1px solid var(--gold); padding-inline: 30px;
  overflow: hidden; isolation: isolate;
}
.btn--gold::before { content: ""; position: absolute; inset: 0; background: var(--gold-grad); background-size: 200% 100%; z-index: -1; transform: translateY(101%); transition: transform .5s var(--ease); }
.btn--gold:hover { color: var(--char); }
.btn--gold:hover::before { transform: none; animation: sheen 2.4s linear infinite; }
@keyframes sheen { to { background-position: -200% 0; } }
.link--light { color: var(--iv); }
.link--light:hover { color: var(--gold) !important; }

.btn-circle {
  --sz: clamp(132px, 13vw, 176px);
  width: var(--sz); height: var(--sz); border-radius: 50%; display: inline-grid; place-items: center; text-align: center;
  background: var(--char); color: var(--iv); text-decoration: none; position: relative; isolation: isolate;
  font-family: var(--f-display); font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 600; line-height: 1.4; padding: 18px;
  transition: transform .5s var(--ease), background-color .4s ease;
}
.btn-circle::after { content: "→"; position: absolute; bottom: 22%; left: 50%; translate: -50% 0; font-size: 1.1rem; transition: translate .4s var(--ease); }
.btn-circle:hover { background: var(--grape); transform: rotate(-6deg) scale(1.04); }
.btn-circle:hover::after { translate: -20% 0; }
.btn-circle--gold { background: transparent; border: 1px solid var(--gold); color: var(--iv); }
.btn-circle--gold::before { content: ""; position: absolute; inset: -9px; border-radius: 50%; border: 1px solid rgba(217,181,101,.35); transition: inset .5s var(--ease); }
.btn-circle--gold:hover { background: var(--iv); color: var(--char); }
.btn-circle--gold:hover::before { inset: -16px; }

/* ---------- Cabecera ---------- */
.site-header { background: rgba(17, 17, 22, .94); color: var(--iv); border-bottom: 1px solid rgba(255,254,232,.08); }
.site-header .brand__tag { color: rgba(255,254,232,.6); }
.site-header .nav__list a { background-image: linear-gradient(var(--gold), var(--gold)); }
.site-header .nav .btn { background: transparent; color: var(--iv); border: 1px solid var(--gold); border-radius: 999px; }
.site-header .nav .btn:hover { background: var(--gold); color: var(--char); }
.site-header .nav-toggle { color: var(--iv); border-color: rgba(255,254,232,.5); }
@media (max-width: 1080px) { .site-header .nav { background: var(--char); border-bottom-color: rgba(255,254,232,.1); } .site-header .nav__list a { border-bottom-color: rgba(255,254,232,.12); } }

body:has(.exp) .site-header {
  position: fixed; left: 0; right: 0; top: 0; padding-top: env(safe-area-inset-top, 0px);
  background: transparent; border-bottom-color: transparent; transition: background-color .5s ease, color .5s ease, border-color .5s ease;
}
body:has(.exp) .site-header[data-scrolled] { background: rgba(17,17,22,.55); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
body:has(.exp) .site-header[data-tone="light"] { color: var(--char); }
body:has(.exp) .site-header[data-tone="light"][data-scrolled] { background: rgba(255,254,232,.72); border-bottom-color: rgba(17,17,22,.08); }
body:has(.exp) .site-header[data-tone="light"] .brand__tag { color: rgba(17,17,22,.6); }
body:has(.exp) .site-header[data-tone="light"] .nav .btn { color: var(--char); border-color: var(--grape); }
body:has(.exp) .site-header[data-tone="light"] .nav .btn:hover { background: var(--grape); color: var(--iv); }
body:has(.exp) .site-header[data-tone="light"] .nav-toggle { color: var(--char); border-color: var(--char); }
@media (max-width: 1080px) { body:has(.exp) .site-header .nav { color: var(--iv); } body:has(.exp) .site-header[data-tone="light"] .nav .btn { color: var(--iv); border-color: var(--gold); } }

/* ---------- Pie ---------- */
.site-footer { background: var(--char); color: var(--iv); }
.site-footer .muted, .site-footer .pending, .footer-bottom { color: rgba(255,254,232,.62) !important; }
.footer-grid h2 { color: var(--gold); }
.footer-logo { filter: invert(1) brightness(1.05); }
.footer-bottom { border-top-color: rgba(255,254,232,.14) !important; }
.footer-grid a:hover { text-decoration-color: var(--gold) !important; }

/* ---------- Páginas interiores: portada oscura ---------- */
section.page-hero.page-hero { background: var(--char); color: var(--iv); position: relative; overflow: hidden; }
section.page-hero.page-hero::after { content: ""; position: absolute; inset: auto -10% -40% 30%; height: 90%; background: radial-gradient(closest-side, rgba(100,48,184,.55), transparent); pointer-events: none; }
section.page-hero.page-hero > * { position: relative; z-index: 1; }
.page-hero .lead, .page-hero .muted, .page-hero .breadcrumb { color: rgba(255,254,232,.78); }
.page-hero .breadcrumb a { border-bottom-color: rgba(255,254,232,.3); }
.page-hero .label { color: var(--gold); }
.page-hero .btn--dark { background: var(--grape); border-color: var(--grape); color: var(--iv); }
.page-hero .btn--dark:hover { background: var(--iv); border-color: var(--iv); color: var(--char); }
.page-hero .btn--line { color: var(--iv); border-color: rgba(255,254,232,.6); }
.page-hero .btn--line:hover { background: var(--iv); color: var(--char); }
.page-hero .link { color: var(--iv); }
.page-hero .tag { border-color: var(--gold); color: var(--gold); }
.page-hero .mosaic-frame .t1 { background: var(--grape); }
.page-hero .mosaic-frame .t2 { background: #2B1A52; }
.page-hero .mosaic-frame .t3 { background: var(--gold); opacity: .35; }
.mosaic-frame .thread line { stroke: var(--gold); }
.page-hero .ph { background: repeating-linear-gradient(135deg, #1C1A24 0 14px, #15141B 14px 28px); color: rgba(255,254,232,.7); border-color: var(--gold); }
.page-hero .ph strong { color: var(--iv); }
.on-dark .label { color: var(--gold); }
.on-dark { background: var(--char); }
.dropcap::first-letter { color: var(--grape); }
.quote cite, .label { color: var(--grape); }
.on-dark .quote, .on-dark blockquote.quote { color: var(--iv); }

/* =========================================================
   PORTADA · ESCENAS
   ========================================================= */
.exp { overflow-x: clip; }
.exp img { max-width: none; }
.exp .crystal, .exp .gem { position: absolute; pointer-events: none; user-select: none; will-change: transform; }
.wrap-x { width: 100%; max-width: 1440px; margin-inline: auto; padding-inline: var(--gx); }
.exp [data-pin] { position: relative; height: var(--h, 220vh); --p: 0; }
.exp .pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }

.kicker { font-family: var(--f-display); font-size: .74rem; letter-spacing: .32em; text-transform: uppercase; font-weight: 600; color: var(--grape); display: flex; align-items: center; gap: 14px; margin: 0; }
.kicker::before { content: ""; width: 38px; height: 1px; background: currentColor; }
.kicker--gold { color: var(--gold); }
.h-x { font-family: var(--f-display); font-weight: 400; font-size: clamp(2.3rem, 1rem + 4.2vw, 5rem); line-height: 1.02; letter-spacing: -.005em; margin: 0; text-wrap: balance; }
.h-mid { font-family: var(--f-display); font-weight: 400; font-size: clamp(1.8rem, 1.1rem + 2vw, 3rem); line-height: 1.08; margin: 0; }
.h-ivory { color: var(--iv); }
.lead-x { font-size: clamp(1.05rem, .95rem + .4vw, 1.3rem); line-height: 1.7; max-width: 52ch; margin: 0; }
.script-in, .exp em { font-family: var(--f-script); font-style: normal; font-weight: 400; color: var(--grape); font-size: 1.18em; letter-spacing: 0; text-transform: none; line-height: .9; }
.row-x { display: flex; flex-wrap: wrap; gap: 18px 28px; align-items: center; }
.stack-x { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.small-x { font-size: .85rem; font-style: italic; opacity: .78; margin: 0; flex-basis: 100%; }

/* Trazo dorado */
svg.gold { position: absolute; pointer-events: none; overflow: visible; fill: none; }
svg.gold path { stroke: url(#goldGrad); stroke-linecap: round; stroke-linejoin: round; fill: none; }
svg.gold .g-hair { opacity: .55; }
.js:not(.rm) svg.gold path { stroke-dashoffset: var(--len, 0); transition: stroke-dashoffset 2.2s var(--ease); }
.js:not(.rm) svg.gold.in path, .js:not(.rm) .on > svg.gold path, .js:not(.rm) .in svg.gold[data-draw] path { stroke-dashoffset: 0; }
.js:not(.rm) svg.gold.in .g-hair { transition-delay: .25s; }
.js:not(.rm) svg.draw-load path { animation: draw 2.8s .9s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* Reveals (solo con JS y movimiento permitido) */
.js:not(.rm) [data-reveal]:not([data-reveal="lines"]):not([data-reveal="arch"]):not([data-reveal="clip"]):not([data-reveal="iris"]) { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); }
.js:not(.rm) [data-reveal].in { opacity: 1 !important; transform: none !important; }
.ln { display: block; overflow: hidden; padding-bottom: .2em; margin-bottom: -.2em; }
.ln > span { display: inline-block; }
.js:not(.rm) [data-reveal="lines"] .ln > span { transform: translateY(110%); transition: transform 1.15s var(--ease); }
.js:not(.rm) [data-reveal="lines"] .ln:nth-child(2) > span { transition-delay: .09s; }
.js:not(.rm) [data-reveal="lines"] .ln:nth-child(3) > span { transition-delay: .18s; }
.js:not(.rm) [data-reveal="lines"].in .ln > span { transform: none; }

/* ---------- 01 · APERTURA ---------- */
.sc-hero { --h: 210vh; background: var(--char); color: var(--iv); }
.hero-glow { position: absolute; inset: 0; background:
  radial-gradient(ellipse 38% 46% at 52% 52%, rgba(255,254,232,.10), transparent 70%),
  radial-gradient(ellipse 60% 70% at 55% 62%, rgba(100,48,184,.62), transparent 68%),
  radial-gradient(ellipse 40% 40% at 90% 10%, rgba(153,91,213,.25), transparent 70%);
  transform: scale(calc(1 + var(--p) * .4)); }
.hero-ana { position: absolute; left: 0; right: 0; top: 6svh; margin: 0; text-align: center; z-index: 1;
  font-family: var(--f-display); font-weight: 500; line-height: .78; letter-spacing: -.02em; font-size: clamp(130px, 19vw, 380px);
  transform: translateY(calc(var(--p) * -16vh)) scale(calc(1 + var(--p) * .55)); opacity: calc(1 - var(--p) * 1.5); }
.hero-ana span { background: linear-gradient(180deg, #FFFEE8 30%, #D9C8F2 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-casa { position: absolute; z-index: 3; left: 0; right: 0; bottom: 4svh; margin: 0; text-align: center; white-space: nowrap;
  font-family: var(--f-display); font-weight: 400; font-size: clamp(44px, 10.2vw, 200px); letter-spacing: .06em; line-height: .9; color: var(--iv);
  text-shadow: 0 8px 40px rgba(0,0,0,.35); transform: translateX(calc(var(--p) * -18vw)); opacity: calc(1 - var(--p) * 1.3); }
.hero-script { position: absolute; z-index: 3; right: 11vw; top: 31svh; margin: 0; font-family: var(--f-script); color: var(--gold);
  font-size: clamp(30px, 3.6vw, 64px); transform: rotate(-8deg); opacity: calc(1 - var(--p) * 2); }
@keyframes enterR { from { transform: translateX(45vw) rotate(30deg); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes enterL { from { transform: translate(-30vw, 10vh) rotate(-30deg); opacity: 0; } to { transform: none; } }
@keyframes pop { from { transform: scale(0) rotate(-90deg); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes float { to { transform: translateY(-14px) rotate(3deg); } }
.hero-roles { position: absolute; z-index: 4; left: var(--gx); top: 56svh; width: min(19vw, 260px); opacity: calc(1 - var(--p) * 3); }
.hero-info { position: absolute; z-index: 4; right: var(--gx); top: 50svh; width: min(22vw, 300px); display: grid; gap: 18px; opacity: calc(1 - var(--p) * 3); }
.hero-roles { margin: 0; font-family: var(--f-display); font-size: .72rem; letter-spacing: .24em; text-transform: uppercase; line-height: 2; color: var(--gold); }
.hero-roles i { font-style: normal; color: var(--amethyst); padding-inline: 4px; }
.hero-line { margin: 0; font-size: .95rem; line-height: 1.65; color: rgba(255,254,232,.86); }
.hero-cta { display: grid; gap: 16px; justify-items: start; }
.js:not(.rm) .hero-info > * { animation: rise 1.2s var(--ease) both; }
.js:not(.rm) .hero-roles { animation: rise 1.2s 1s var(--ease) both; }
.js:not(.rm) .hero-info > :nth-child(1) { animation-delay: 1.1s; } .js:not(.rm) .hero-info > :nth-child(2) { animation-delay: 1.25s; } .js:not(.rm) .hero-info > :nth-child(3) { animation-delay: 1.4s; }
.js:not(.rm) .hero-ana span { animation: unveil 1.6s .1s var(--ease) both; display: inline-block; }
.js:not(.rm) .hero-casa { animation: track 1.8s .6s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }
@keyframes unveil { from { clip-path: inset(100% 0 0 0); transform: translateY(12%); } to { clip-path: inset(0 0 0 0); transform: none; } }
@keyframes track { from { opacity: 0; letter-spacing: .4em; } to { opacity: 1; letter-spacing: .06em; } }
.hero-cue { position: absolute; z-index: 4; right: var(--gx); bottom: 28svh; margin: 0; writing-mode: vertical-rl; font-family: var(--f-display); font-size: .66rem; letter-spacing: .3em; text-transform: uppercase; color: rgba(255,254,232,.7); display: flex; align-items: center; gap: 12px; opacity: calc(1 - var(--p) * 4); }
.hero-cue span { width: 1px; height: 56px; background: linear-gradient(var(--gold), transparent); }
.js:not(.rm) .hero-cue span { animation: cue 2s ease-in-out infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }
.c-cross { z-index: 6; top: 10svh; left: 100%; width: clamp(80px, 10vw, 170px);
  transform: translateX(calc(var(--p) * -175vw)) rotate(calc(var(--p) * -120deg)); opacity: clamp(0, (var(--p) - .28) * 5, 1); }
.hero-veil { position: absolute; inset: 0; z-index: 5; background: var(--iv); --t: clamp(0, (var(--p) - .42) * 2.2, 1); clip-path: inset(calc((1 - var(--t)) * 100%) 0 0 0); pointer-events: none; }
.hero-veil::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--gold-grad); box-shadow: 0 0 18px rgba(233,204,132,.8); }

/* ---------- 02 · LUZ ---------- */
.sc-light { background: var(--iv); color: var(--char); padding-block: clamp(70px, 7vw, 110px) clamp(60px, 8vw, 120px); position: relative; }
.light-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: center; gap: 40px 0; }
.lg-text { grid-column: 1 / span 7; grid-row: 1; position: relative; z-index: 2; display: grid; gap: 34px; }
.big-type { font-family: var(--f-display); font-weight: 400; margin: 0; font-size: clamp(2.8rem, 1rem + 6.6vw, 8.4rem); line-height: .96; letter-spacing: -.01em; }
.big-type .ln:nth-child(2) { padding-left: 1.1em; }
.big-type em { font-size: 1.12em; }
.lg-body { max-width: 46ch; margin-left: clamp(0px, 8vw, 140px); display: grid; gap: 18px; }
.lg-body p { margin: 0; }
.drop::first-letter { font-family: var(--f-deco); float: left; font-size: 3.6em; line-height: .8; padding: .05em .12em 0 0; color: var(--grape); }
.lg-photo { grid-column: 7 / span 6; grid-row: 1; position: relative; margin: 0; padding-top: 6vw; }
.arch { position: absolute; left: 10%; right: 2%; bottom: 0; height: 80%; border-radius: 999px 999px 0 0; background: radial-gradient(120% 80% at 30% 20%, #B98AE6, var(--amethyst) 40%, var(--grape)); }
.arch::after { content: ""; position: absolute; inset: 14px; border-radius: inherit; border: 1px solid rgba(255,244,201,.55); border-bottom: 0; }
.lg-cut { position: relative; z-index: 1; width: 92%; height: auto; margin-left: 8%; display: block; }
.js:not(.rm) .lg-photo .arch { clip-path: inset(100% 0 0 0 round 999px 999px 0 0); transition: clip-path 1.4s var(--ease); }
.js:not(.rm) .lg-photo .lg-cut { clip-path: inset(100% -20% 0 -20%); transition: clip-path 1.6s .25s var(--ease); }
.js:not(.rm) .lg-photo.in .arch { clip-path: inset(0 0 0 0 round 999px 999px 0 0); }
.js:not(.rm) .lg-photo.in .lg-cut { clip-path: inset(-30% -20% 0 -20%); }
.note { position: absolute; z-index: 3; left: -6%; top: 3%; font-family: var(--f-script); font-size: clamp(26px, 2.6vw, 44px); color: var(--grape); transform: rotate(-9deg); white-space: nowrap; }
.lg-stroke { z-index: 2; left: -12%; top: -2%; width: 90%; height: 40%; }
.g-lg { z-index: 3; right: 0; top: 18%; width: clamp(42px, 4vw, 70px); rotate: 18deg; }
.facts { display: grid; grid-template-columns: 1fr 2fr 1fr; gap: 32px; align-items: end; margin-top: clamp(60px, 8vw, 120px); border-top: 1px solid rgba(17,17,22,.14); padding-top: 34px; }
.facts p { margin: 0; display: grid; gap: 6px; }
.f-num { font-family: var(--f-deco); font-size: clamp(4rem, 2rem + 6vw, 8rem); line-height: .8; color: transparent; -webkit-text-stroke: 1.2px var(--gold-deep); }
.f-word { font-family: var(--f-display); font-size: clamp(3rem, 1.6rem + 4.4vw, 6rem); line-height: .8; color: var(--grape); text-align: right; }
.facts p:last-child .f-lbl { text-align: right; }
.f-lbl { font-family: var(--f-display); font-size: .72rem; letter-spacing: .26em; text-transform: uppercase; color: rgba(17,17,22,.7); }
.f-quote { font-style: italic; font-size: clamp(1.15rem, .9rem + .9vw, 1.7rem); line-height: 1.45; text-align: center; max-width: 32ch; justify-self: center; }
@media (max-width: 860px) {
  .light-grid { grid-template-columns: 1fr; }
  .lg-text, .lg-photo { grid-column: 1; grid-row: auto; }
  .lg-body { margin-left: 0; }
  .lg-photo { width: 92%; justify-self: end; margin-top: 10px; }
  .note { left: -4%; }
  .facts { grid-template-columns: 1fr 1fr; }
  .f-quote { grid-column: 1 / -1; grid-row: 2; text-align: left; justify-self: start; }
}

/* ---------- 03 · MANIFIESTO ---------- */
.sc-manifest { --h: 220vh; background: var(--grape); color: var(--iv); }
.sc-manifest .pin { display: grid; align-content: center; padding-inline: var(--gx); background: radial-gradient(ellipse 70% 60% at 80% 30%, rgba(153,91,213,.55), transparent 70%), radial-gradient(ellipse 60% 50% at 10% 90%, rgba(17,17,22,.35), transparent 70%); }
.mf-ivory { position: absolute; inset: 0; background: var(--iv); opacity: clamp(0, 1 - var(--p) * 7, 1); z-index: 3; pointer-events: none; }
.sc-manifest .kicker { position: absolute; top: 14svh; left: var(--gx); }
.mf-text { position: relative; z-index: 2; margin: 0; font-family: var(--f-display); font-weight: 400; font-size: clamp(2.5rem, .8rem + 6.2vw, 7.6rem); line-height: 1.04; letter-spacing: -.01em; max-width: 16ch; text-wrap: balance; }
.mf-text .w { display: inline-block; opacity: .2; transform: translateY(.12em); transition: opacity .6s ease, transform .8s var(--ease), color .6s ease; }
.mf-text .w.on, .rm .mf-text .w, html:not(.js) .mf-text .w { opacity: 1; transform: none; }
.mf-text .w-gold.on { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.w-legado { position: relative; }
.mf-under { left: -2%; bottom: -.16em; width: 104%; height: .3em; }
.mf-script { position: absolute; z-index: 2; right: var(--gx); bottom: 12svh; margin: 0; font-family: var(--f-script); color: var(--iv); font-size: clamp(28px, 3vw, 54px); transform: rotate(-5deg); opacity: clamp(0, (var(--p) - .72) * 6, 1); }
.rm .mf-script { opacity: 1; }
.c-mf { z-index: 1; right: 6vw; top: 8svh; width: clamp(110px, 13vw, 240px); transform: translateY(calc(var(--p) * -24vh)) rotate(calc(var(--p) * 40deg)); }
.g-mf { z-index: 1; left: 44vw; bottom: 9svh; width: clamp(40px, 4.2vw, 80px); transform: translateY(calc(var(--p) * -40vh)); }

/* ---------- 04 · CALMA ---------- */
.sc-calm { background: var(--iv); color: var(--char); padding-block: clamp(90px, 12vw, 180px) clamp(70px, 9vw, 130px); }
.calm-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px clamp(40px, 6vw, 110px); align-items: start; }
.calm-head { display: grid; gap: 28px; position: sticky; top: 120px; }
.calm-head .muted { max-width: 40ch; margin: 0; }
.svc { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--char); }
.svc li { border-bottom: 1px solid rgba(17,17,22,.14); }
.svc a { position: relative; isolation: isolate; display: grid; grid-template-columns: 54px minmax(0, 1fr) 28px; gap: 6px 18px; padding: 28px 12px; text-decoration: none; align-items: baseline; transition: color .45s ease, padding .5s var(--ease); }
.svc a::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--grape); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.svc a:hover, .svc a:focus-visible { color: var(--iv); padding-left: 24px; }
.svc a:hover::before, .svc a:focus-visible::before { transform: none; }
.svc-i { font-family: var(--f-deco); color: var(--gold-deep); font-size: 1.05rem; grid-row: span 2; }
.svc a:hover .svc-i { color: var(--gold); }
.svc-t { font-family: var(--f-display); font-size: clamp(1.25rem, 1rem + 1vw, 1.9rem); line-height: 1.2; }
.svc-d { grid-column: 2; font-size: .95rem; opacity: .75; max-width: 52ch; }
.svc-a { grid-column: 3; grid-row: 1; justify-self: end; transition: transform .4s var(--ease); }
.svc a:hover .svc-a { transform: translateX(6px); }
.eco-line { margin-top: clamp(70px, 8vw, 120px); font-style: italic; font-size: clamp(1.2rem, .9rem + 1.2vw, 2rem); line-height: 1.6; max-width: 1100px; }
.eco-line a { font-style: normal; font-family: var(--f-display); text-decoration: none; background: linear-gradient(var(--gold), var(--gold)) 0 100% / 100% 1px no-repeat; transition: background-size .4s ease, color .3s ease; }
.eco-line a:hover { color: var(--grape); background-size: 100% 2px; }
@media (max-width: 860px) { .calm-grid { grid-template-columns: 1fr; } .calm-head { position: static; } }

/* ---------- 05 · MOSAICO ---------- */
.sc-mosaico { --h: 360vh; --k: 0; background: var(--char); color: var(--iv); }
.sc-mosaico .pin { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); align-items: center; padding-inline: var(--gx); }
.mo-glow { position: absolute; inset: 0; pointer-events: none; opacity: calc(.12 + var(--k) * .88);
  background: radial-gradient(ellipse 52% 60% at 64% 52%, rgba(100,48,184,.95), rgba(100,48,184,.35) 45%, transparent 75%), radial-gradient(ellipse 30% 30% at 64% 48%, rgba(255,244,201,.18), transparent 70%); }
.mo-steps { position: relative; z-index: 2; display: grid; gap: 34px; align-self: center; }
.steps-words { position: relative; min-height: 15rem; }
.st { position: absolute; inset: 0 auto auto 0; margin: 0; display: grid; gap: 14px; opacity: 0; transform: translateY(24px); transition: opacity .25s ease, transform .5s var(--ease); }
.st b { font-family: var(--f-display); font-weight: 400; font-size: clamp(2.6rem, 1.2rem + 4.2vw, 6rem); line-height: .95; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.st span { font-style: italic; font-size: clamp(1rem, .9rem + .4vw, 1.25rem); max-width: 24ch; color: rgba(255,254,232,.85); }
.sc-mosaico[data-cur="0"] .st[data-step="0"], .sc-mosaico[data-cur="1"] .st[data-step="1"], .sc-mosaico[data-cur="2"] .st[data-step="2"], .sc-mosaico[data-cur="3"] .st[data-step="3"] { opacity: 1; transform: none; transition: opacity .7s .2s ease, transform .9s .2s var(--ease); }
html:not(.js) .st[data-step="3"] { opacity: 1; transform: none; }
.m-stage { position: relative; z-index: 1; justify-self: center; display: grid; place-items: center; }
.m-box { position: relative; width: min(50vw, 70svh * 1.239); aspect-ratio: 912 / 736; }
.piece { position: absolute; inset: 0; background-size: 100% 100%; background-repeat: no-repeat;
  --kk: clamp(0, (var(--k) - var(--d)) / (1 - var(--d)), 1);
  transform: translate(calc(var(--dx) * (1 - var(--kk)) * 1vw), calc(var(--dy) * (1 - var(--kk)) * 1vh)) rotate(calc(var(--r) * (1 - var(--kk)))) scale(calc(var(--s) + (1 - var(--s)) * var(--kk)));
  opacity: calc(.45 + var(--kk) * .55); filter: drop-shadow(0 0 calc((1 - var(--kk)) * 18px) rgba(153,91,213,.6)); will-change: transform; }
.m-lines { position: absolute; inset: -10% -14%; width: 128%; height: 120%; overflow: visible; pointer-events: none; }
.m-lines path { fill: none; stroke: var(--gold); stroke-width: .25; stroke-linecap: round; opacity: .8; stroke-dasharray: 1; stroke-dashoffset: calc(1 - clamp(0, (var(--k) - .25) * 2.2, 1)); }
.m-gems { position: absolute; inset: 0; pointer-events: none; }
.m-gems .gem { width: calc(var(--w, 5) * 1%); transform: translate(calc(var(--gx2) * (1 - var(--k)) * 1vw), calc(var(--gy2) * (1 - var(--k)) * 1vh)) rotate(calc((1 - var(--k)) * 140deg)); opacity: calc(.3 + var(--k) * .7); }
.m-gems .gem1 { --w: 8; left: -9%; top: -14%; --gx2: -20; --gy2: -16; }
.m-gems .gem2 { --w: 6.5; left: -1%; top: 2%; --gx2: -14; --gy2: -10; }
.m-gems .gem3 { --w: 7; left: -12%; top: 18%; --gx2: -24; --gy2: 6; }
.m-gems .gem5 { --w: 7; right: -8%; top: 46%; --gx2: 22; --gy2: 4; }
.m-gems .gem8 { --w: 6; right: -2%; top: 66%; --gx2: 18; --gy2: 14; }
.m-gems .gem6 { --w: 3.5; left: 2%; top: 38%; --gx2: -18; --gy2: 18; }
.m-gems .gem7 { --w: 2.6; right: -6%; top: 66%; --gx2: 26; --gy2: -6; }
.m-gems .gem4 { --w: 2.6; left: 7%; top: 30%; --gx2: -10; --gy2: 20; }
.m-word { position: absolute; left: 50%; bottom: -16%; translate: -50% 0; margin: 0; font-family: var(--f-display); letter-spacing: .34em; font-size: clamp(1rem, .6rem + 1.6vw, 2.2rem); white-space: nowrap; color: var(--iv); opacity: clamp(0, (var(--k) - .84) * 7, 1); }
.mo-progress { position: absolute; left: var(--gx); right: var(--gx); bottom: 6svh; height: 1px; background: rgba(255,254,232,.12); }
.mo-progress span { display: block; height: 100%; background: var(--gold-grad); transform: scaleX(var(--p)); transform-origin: left; }
.sc-mosaico-after { background: linear-gradient(180deg, var(--char) 0%, #2A1652 35%, var(--grape) 100%); color: var(--iv); padding-block: clamp(80px, 10vw, 150px) clamp(90px, 11vw, 170px); }
.sc-mosaico-after .wrap-x { display: grid; gap: 40px; }
.sc-mosaico-after em { color: var(--gold); }
.moves { list-style: none; padding: 0; margin: 20px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(20px, 3vw, 48px); }
.moves li { position: relative; padding-top: 28px; display: grid; gap: 12px; }
.moves li::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: var(--gold-grad); transform-origin: left; }
.js:not(.rm) .moves li::before { transform: scaleX(0); transition: transform 1.4s .2s var(--ease); }
.js:not(.rm) .moves li.in::before { transform: none; }
.moves li:nth-child(2) { transition-delay: .12s; margin-top: 40px; } .moves li:nth-child(3) { transition-delay: .24s; margin-top: 80px; }
.mv-n { font-family: var(--f-deco); color: var(--gold); font-size: 1.4rem; }
.moves h3 { font-family: var(--f-display); font-weight: 400; letter-spacing: .16em; text-transform: uppercase; font-size: clamp(1.4rem, 1rem + 1.2vw, 2.2rem); margin: 0; }
.moves p { margin: 0; color: rgba(255,254,232,.82); max-width: 30ch; }
.mo-cta { display: flex; flex-wrap: wrap; gap: 18px 30px; align-items: center; margin-top: 30px; }
@media (max-width: 860px) {
  .sc-mosaico .pin { grid-template-columns: 1fr; grid-template-rows: auto 1fr; align-content: center; padding-top: 90px; }
  .steps-words { min-height: 8.5rem; }
  .st b { font-size: 2.6rem; }
  .m-box { width: min(88vw, 52svh * 1.239); }
  .moves { grid-template-columns: 1fr; gap: 34px; }
  .moves li:nth-child(n) { margin-top: 0; }
}

/* ---------- 06 · TRABAJA CONMIGO ---------- */
.sc-work { background: var(--iv); color: var(--char); padding-block: clamp(90px, 11vw, 170px); display: grid; gap: clamp(50px, 7vw, 110px); }
.sc-work > .wrap-x { display: grid; gap: 24px; }
.work-row { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 40px clamp(30px, 6vw, 110px); align-items: center; padding-right: var(--gx); }
.work-row--rev { padding-right: 0; padding-left: var(--gx); }
.work-row--rev .w-dml { order: 2; }
.w-photo { position: relative; margin: 0 0 0 -4vw; min-height: 300px; }
.w-disc { position: absolute; left: 6%; right: 6%; bottom: 0; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #F4ECFB, #DCC8F2 60%, #C7A9EC); }
.w-disc::after { content: ""; position: absolute; inset: -14px; border-radius: 50%; border: 1px solid var(--gold); opacity: .7; }
.w-cut { position: relative; width: 84%; height: auto; display: block; margin-inline: auto; }
.w-photo .rv { position: relative; }
.js:not(.rm) .w-photo .rv { clip-path: circle(0% at 50% 70%); transition: clip-path 1.8s var(--ease); }
.js:not(.rm) .w-photo.in .rv { clip-path: circle(110% at 50% 70%); }
.w-text { display: grid; gap: 20px; max-width: 520px; }
.w-text p { margin: 0; }
.q-small { margin: 4px 0; font-style: italic; font-size: 1.1rem; border-left: 1px solid var(--gold); padding-left: 18px; color: var(--grape); }
.w-dml { position: relative; margin: 0 -4vw 0 0; transform: rotate(1.6deg); }
.w-dml::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 1px solid var(--gold); z-index: -1; }
.w-dml img { width: 100%; height: auto; display: block; }
.js:not(.rm) .w-dml .rv { clip-path: inset(0 0 0 100%); transition: clip-path 1.6s var(--ease); }
.js:not(.rm) .w-dml.in .rv { clip-path: inset(0); }
.stages-inline { display: flex; flex-wrap: wrap; gap: 8px; }
.stages-inline span { font-family: var(--f-display); font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; padding: 7px 12px 7px 22px; border: 1px solid rgba(17,17,22,.2); border-radius: 999px; position: relative; }
.stages-inline span::before { content: ""; position: absolute; left: 10px; top: 50%; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; background: var(--pear); }
@media (max-width: 860px) {
  .work-row, .work-row--rev { grid-template-columns: 1fr; padding-inline: var(--gx); }
  .work-row--rev .w-dml { order: 0; }
  .w-photo { margin: 0 0 0 -12vw; }
  .w-dml { margin: 0 -10vw 0 0; }
}

/* ---------- 07 · ESTUDIO HORIZONTAL ---------- */
.sc-studio { background: var(--iv); color: var(--char); position: relative;
  background-image: linear-gradient(to right, rgba(17,17,22,.055) 1px, transparent 1px); background-size: calc(100vw / 8) 100%; }
.sc-studio .pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: flex; align-items: center; }
.p-intro .h-x { font-size: clamp(2rem, 1rem + 2.4vw, 3.5rem); }
.track { display: flex; align-items: center; gap: 7vw; padding-inline: var(--gx) 12vw; height: 100%; will-change: transform; }
.panel { flex: none; position: relative; }
.p-intro { width: min(46vw, 640px); display: grid; gap: 24px; }
.fcs-logo { width: 190px; height: auto; }
.values { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 2px; }
.values li { font-family: var(--f-display); font-weight: 600; font-size: clamp(1.8rem, 1rem + 2.4vw, 3.4rem); line-height: 1; letter-spacing: .02em; text-transform: uppercase; }
.values li:nth-child(even) { color: transparent; -webkit-text-stroke: 1px var(--char); padding-left: .8em; }
.values li:nth-child(3) { color: var(--grape); }
.drag-hint { display: block; font-family: var(--f-display); font-size: .7rem; letter-spacing: .26em; text-transform: uppercase; color: var(--grape); margin: 0; }
.drag-hint span { display: inline-block; transition: transform .4s; }
.js:not(.rm) .drag-hint span { animation: nudge 1.6s ease-in-out infinite; }
@keyframes nudge { 50% { transform: translateX(8px); } }
.p-case { width: min(62vw, 980px); }
.p-case:nth-child(3) { margin-top: 10vh; }
.p-case:nth-child(2) { margin-top: -8vh; }
.case-x { display: block; position: relative; text-decoration: none; color: var(--iv); cursor: pointer; }
.case-img { display: block; overflow: hidden; aspect-ratio: 16 / 10; background: var(--char); }
.case-img img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 1.4s var(--ease), filter .8s ease; }
.case-x:hover .case-img img, .case-x:focus-visible .case-img img { transform: scale(1.06); }
.case-meta { position: absolute; left: 0; right: 0; bottom: 0; padding: 70px clamp(18px, 3vw, 40px) clamp(18px, 2.6vw, 34px); display: grid; grid-template-columns: auto 1fr; gap: 4px 18px; align-items: baseline;
  background: linear-gradient(180deg, transparent, rgba(17,17,22,.86)); }
.case-n { font-family: var(--f-deco); color: var(--gold); grid-row: span 2; font-size: 1.1rem; }
.case-name { font-family: var(--f-display); font-size: clamp(1.8rem, 1rem + 2.8vw, 4rem); line-height: 1; }
.case-k { font-family: var(--f-display); font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,254,232,.8); }
.p-process { width: min(38vw, 520px); display: grid; gap: 26px; padding-left: 40px; }
.proc { list-style: none; margin: 0; padding: 0; counter-reset: pr; display: grid; gap: 22px; }
.proc li { counter-increment: pr; font-size: clamp(1.2rem, .9rem + .9vw, 1.7rem); line-height: 1.3; display: grid; grid-template-columns: 48px minmax(0, 1fr); }
.proc li::before { content: counter(pr, upper-roman); font-family: var(--f-deco); color: var(--gold-deep); font-size: 1rem; padding-top: .3em; }
.proc b { font-family: var(--f-display); font-weight: 600; color: var(--grape); }
.proc-stroke { left: -20px; top: -10%; width: 60px; height: 120%; }
.p-cta { width: min(40vw, 540px); display: grid; gap: 30px; justify-items: start; }
.cursor { position: fixed; left: 0; top: 0; z-index: 60; width: 104px; height: 104px; margin: -52px 0 0 -52px; border-radius: 50%; background: var(--grape); color: var(--iv); display: grid; place-items: center;
  font-family: var(--f-display); font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; pointer-events: none; opacity: 0; scale: .3; transition: opacity .3s ease, scale .4s var(--ease); }
.cursor.on { opacity: 1; scale: 1; }
@media (max-width: 860px), (prefers-reduced-motion: reduce) {
  .sc-studio { height: auto !important; padding-block: 100px 70px; background-size: 25vw 100%; }
  .sc-studio .pin { position: relative; height: auto; overflow: visible; display: block; }
  .track { transform: none !important; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 24px; gap: 6vw; align-items: stretch; -webkit-overflow-scrolling: touch; }
  .panel { scroll-snap-align: start; width: 84vw !important; margin-top: 0 !important; }
  .p-process { padding-left: 24px; }
  .cursor { display: none; }
}

/* ---------- 08 · PODCAST ---------- */
.sc-podcast { background: var(--char); color: var(--iv); padding-block: clamp(90px, 11vw, 170px); position: relative; overflow: clip; }
.sc-podcast::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 40% 50% at 22% 40%, rgba(100,48,184,.45), transparent 70%); pointer-events: none; }
.pod-grid { position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 50px clamp(40px, 6vw, 110px); align-items: center; }
.pod-photo { margin: 0; position: relative; }
.pod-photo img { width: 100%; height: auto; display: block; border-radius: 999px 999px 0 0; }
.pod-photo::after { content: ""; position: absolute; inset: -16px -16px 30px; border-radius: 999px 999px 0 0; border: 1px solid var(--gold); opacity: .7; pointer-events: none; }
.js:not(.rm) .pod-photo .rv { clip-path: circle(0% at 50% 45%); transition: clip-path 2s var(--ease); }
.js:not(.rm) .pod-photo.in .rv { clip-path: circle(120% at 50% 45%); }
.js:not(.rm) .pod-photo::after { opacity: 0; transition: opacity 1s 1.2s; }
.js:not(.rm) .pod-photo.in::after { opacity: .7; }
.pod-text { display: grid; gap: 28px; }
.pod-title { margin: 0; font-family: var(--f-display); font-weight: 400; font-size: clamp(3rem, 1rem + 6.4vw, 8rem); line-height: .92; }
.pod-title .ln:nth-child(2) { padding-left: 1.4em; margin-block: -.12em; }
.pod-pero { font-family: var(--f-script); color: var(--gold); font-size: .78em; }
.pod-title .ln:nth-child(3) { padding-left: .5em; }
.wave { display: flex; align-items: center; gap: 4px; height: 46px; }
.wave i { width: 3px; height: 100%; border-radius: 2px; background: linear-gradient(var(--gold), var(--amethyst)); transform: scaleY(calc(.15 + .5 * (1 + sin(var(--i) * 1.3)) * .7)); }
.js:not(.rm) .sc-podcast .wave i { animation: wave 1.1s ease-in-out infinite alternate; animation-delay: calc(var(--i) * -.13s); animation-play-state: paused; }
.js:not(.rm) .sc-podcast.live .wave i { animation-play-state: running; }
@keyframes wave { 0% { transform: scaleY(.12); } 100% { transform: scaleY(1); } }
.pod-text .lead-x { color: rgba(255,254,232,.82); }
.eps { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(255,254,232,.18); }
.eps li { border-bottom: 1px solid rgba(255,254,232,.12); }
.eps a { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 2px 16px; align-items: center; padding: 16px 0; text-decoration: none; color: var(--iv); }
.ep-n { font-family: var(--f-deco); color: var(--gold); grid-row: span 2; }
.ep-t { font-family: var(--f-display); font-size: clamp(1rem, .9rem + .4vw, 1.25rem); line-height: 1.3; transition: color .3s ease; }
.ep-d { grid-column: 2; font-size: .8rem; color: rgba(255,254,232,.6); }
.ep-play { grid-column: 3; grid-row: 1 / span 2; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--gold); display: grid; place-items: center; transition: background-color .3s ease, transform .4s var(--ease); }
.ep-play svg { width: 14px; height: 14px; fill: var(--gold); transition: fill .3s; }
.eps a:hover .ep-t { color: var(--gold); }
.eps a:hover .ep-play { background: var(--turq); border-color: var(--turq); transform: scale(1.08); }
.eps a:hover .ep-play svg { fill: var(--char); }
.pod-stroke { left: 0; right: 0; bottom: 30px; width: 100%; height: 90px; opacity: .8; }
@media (max-width: 860px) { .pod-grid { grid-template-columns: 1fr; } .pod-photo { width: 84%; } }

/* ---------- 09 · RECURSOS ---------- */
.sc-res { background: var(--iv); color: var(--char); padding-block: clamp(90px, 11vw, 160px); }
.res-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 60px clamp(40px, 6vw, 110px); align-items: end; }
.res-grid > div:first-child { display: grid; gap: 26px; }
.res-list { list-style: none; margin: 10px 0 0; padding: 0; border-top: 1px solid var(--char); }
.res-list li { padding: 20px 0; border-bottom: 1px solid rgba(17,17,22,.14); display: grid; gap: 4px; }
.res-list a { font-family: var(--f-display); font-size: clamp(1.25rem, 1rem + .9vw, 1.8rem); text-decoration: none; justify-self: start; background: linear-gradient(var(--grape), var(--grape)) 0 100% / 0 2px no-repeat; transition: background-size .5s var(--ease), color .3s; }
.res-list a:hover { background-size: 100% 2px; color: var(--grape); }
.res-list span { font-style: italic; font-size: .92rem; color: rgba(17,17,22,.66); }
.shelf { display: grid; gap: 20px; }
.books { display: flex; align-items: flex-end; gap: 14px; height: 420px; border-bottom: 2px solid var(--char); padding-inline: 10px; }
.book { flex: none; width: clamp(92px, 9vw, 132px); display: flex; flex-direction: column; justify-content: space-between; padding: 22px 12px; text-decoration: none; position: relative;
  transition: transform .6s var(--ease), box-shadow .6s ease; box-shadow: inset 6px 0 0 rgba(0,0,0,.12), inset -1px 0 0 rgba(255,255,255,.15); }
.book .b-t { writing-mode: vertical-rl; transform: rotate(180deg); font-family: var(--f-display); font-size: clamp(1.1rem, .9rem + .6vw, 1.6rem); letter-spacing: .06em; line-height: 1; align-self: center; }
.book .b-s { font-size: .68rem; line-height: 1.35; text-align: center; font-style: italic; }
.book .b-k { font-family: var(--f-display); font-size: .56rem; letter-spacing: .16em; text-transform: uppercase; text-align: center; opacity: .8; }
.b1 { height: 86%; background: var(--pear); color: var(--char); }
.b2 { height: 100%; background: var(--grape); color: var(--iv); }
.b3 { height: 92%; background: var(--char); color: var(--iv); transform: rotate(5deg); transform-origin: bottom left; outline: 1px solid var(--gold); outline-offset: -8px; }
.book:hover { transform: translateY(-16px) rotate(-2deg); box-shadow: 0 24px 40px -18px rgba(17,17,22,.5); }
.b3:hover { transform: translateY(-16px) rotate(3deg); }
a.book::after { content: "Amazon ↗"; position: absolute; top: -28px; left: 0; font-family: var(--f-display); font-size: .62rem; letter-spacing: .16em; color: var(--grape); opacity: 0; transition: opacity .3s; }
a.book:hover::after { opacity: 1; }
@media (max-width: 860px) { .res-grid { grid-template-columns: 1fr; } .books { height: 340px; } }

/* ---------- 10 · CIERRE ---------- */
.sc-close { position: relative; overflow: clip; background: var(--grape); color: var(--iv); min-height: 100svh; display: grid; align-items: center; padding-block: clamp(110px, 12vw, 180px) 0;
  background-image: radial-gradient(ellipse 50% 60% at 78% 60%, rgba(153,91,213,.9), transparent 70%), radial-gradient(ellipse 50% 50% at 0% 100%, rgba(17,17,22,.45), transparent 70%); }
.close-photo { position: absolute; right: -2vw; bottom: 0; height: min(94svh, 1000px); width: auto; z-index: 1; }
.close-cut { height: 100%; width: auto; display: block; }
.close-text { position: relative; z-index: 2; display: grid; gap: 34px; padding-bottom: clamp(70px, 8vw, 120px); }
.close-title { margin: 0; font-family: var(--f-display); font-weight: 400; font-size: clamp(2.3rem, .6rem + 6vw, 7.6rem); line-height: .98; text-shadow: 0 10px 40px rgba(17,17,22,.25); }
.close-title .ln:nth-child(2) { padding-left: .6em; }
.close-title em.mov { position: relative; font-family: var(--f-display); font-size: 1em; color: transparent; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; line-height: inherit; }
.close-loop { left: -6%; top: -12%; width: 112%; height: 124%; }
.close-cta { display: flex; flex-wrap: wrap; gap: 30px 44px; align-items: center; }
.mail-x { margin: 6px 0 0; display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.mail-x .addr { font-family: var(--f-display); letter-spacing: .04em; text-decoration: none; }
.c-close1 { z-index: 2; right: 34vw; top: 8svh; width: clamp(80px, 8vw, 150px); rotate: -18deg; }
.c-close2 { z-index: 3; right: 3vw; bottom: 6svh; width: clamp(100px, 10vw, 190px); filter: blur(3px); opacity: .85; rotate: 24deg; }
.js:not(.rm) .c-close1, .js:not(.rm) .c-close2 { animation: float 8s ease-in-out infinite alternate; }
@media (max-width: 1080px) { .close-photo { opacity: .55; right: -18vw; } }
@media (max-width: 860px) {
  .sc-close { padding-top: 120px; align-items: start; }
  .close-photo { position: relative; right: auto; height: 62svh; justify-self: end; opacity: 1; margin-right: -10vw; order: 2; }
  .c-close1 { right: 8vw; top: 12svh; }
  .c-close2 { bottom: 4svh; left: 4vw; right: auto; }
}

/* ---------- Móvil · reinterpretación de la apertura ---------- */
@media (max-width: 860px) {
  .sc-hero { --h: 190vh; }
  .hero-ana { top: 11svh; font-size: 29vw; }
  .hero-casa { bottom: 27svh; font-size: 13.4vw; letter-spacing: .03em; }
  .hero-info { top: auto; bottom: 3svh; left: var(--gx); right: var(--gx); width: auto; gap: 14px; }
  .hero-roles { top: auto; bottom: calc(3svh + 104px); width: auto; right: var(--gx); }
  .hero-line { display: none; }
  .hero-roles { font-size: .62rem; letter-spacing: .18em; line-height: 1.8; }
  .hero-cta { grid-auto-flow: column; justify-content: start; align-items: center; gap: 18px; }
  .hero-cta .btn { min-height: 46px; padding: 10px 18px; font-size: .68rem; }
  .hero-cta .link { font-size: .9rem; }
  .hero-cue { display: none; }
  .hero-script { right: 4vw; top: 30svh; font-size: 28px; }
  .sc-manifest { --h: 190vh; }
  .mf-text { font-size: 11vw; }
  .c-mf { width: 28vw; right: -4vw; top: 12svh; }
  .sc-mosaico { --h: 300vh; }
}
@media (max-width: 400px) { .hero-cta { grid-auto-flow: row; } }

/* ---------- Movimiento reducido ---------- */
.rm .exp [data-pin] { height: auto !important; }
.rm .exp .pin { position: relative; height: auto; min-height: 100svh; padding-block: 120px 80px; }
.rm .sc-hero .pin { height: 100svh; padding: 0; }
.rm .sc-manifest .mf-ivory, .rm .hero-veil, .rm .c-cross { display: none; }
.rm .sc-mosaico { --k: 1; }
.rm .st { position: static; opacity: 1; transform: none; }
.rm .steps-words { display: grid; gap: 20px; min-height: 0; }
.rm .st b { font-size: 2.4rem; }

@media (max-width: 860px) { .drag-hint { display: none; } .close-title { font-size: 10.4vw; } }

/* ---------- Apertura · fotografía original completa ---------- */
.hero-glow { background:
  radial-gradient(ellipse 30% 42% at 50% 54%, rgba(255,254,232,.08), transparent 70%),
  radial-gradient(ellipse 55% 62% at 50% 60%, rgba(100,48,184,.55), transparent 70%),
  radial-gradient(ellipse 40% 40% at 90% 10%, rgba(153,91,213,.22), transparent 70%); }
.hero-photo { position: absolute; z-index: 2; left: 50%; top: 28svh; height: 52svh; max-height: 1390px; aspect-ratio: 1132 / 1390; margin: 0;
  transform: translateX(-50%) translateY(calc(var(--p) * 3vh)); }
.hero-photo > img:first-child { width: 100%; height: 100%; object-fit: contain; object-position: 50% 50%; display: block;
  box-shadow: 0 40px 90px -20px rgba(0,0,0,.7), 0 0 0 1px rgba(255,254,232,.06); }
.hero-photo::before { content: ""; position: absolute; inset: -12px; border: 1px solid rgba(217,181,101,.45); pointer-events: none; }
.js:not(.rm) .hero-photo > img:first-child, .js:not(.rm) .hero-photo::before { animation: fadeIn 1.6s .3s ease both; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.hx { position: absolute; height: auto; pointer-events: none; user-select: none; max-width: none; }
/* luz de color que los cristales proyectan sobre el suelo de la foto */
.pool { position: absolute; bottom: 0; height: 14%; width: 32%; border-radius: 50%; mix-blend-mode: screen; pointer-events: none;
  background: radial-gradient(closest-side, rgba(153,91,213,.35), rgba(84,237,222,.08) 60%, transparent); filter: blur(6px); }
.pool-l { left: -2%; } .pool-r { right: -2%; }
/* cristales sobre el suelo de la fotografía */
.fl { filter: drop-shadow(0 4px 3px rgba(40,24,60,.45)) drop-shadow(0 0 6px rgba(153,91,213,.35)); }
.f1 { left: 2%;  bottom: 3%;   width: 13%; rotate: -4deg; }
.f2 { left: 14%; bottom: 1.5%; width: 4.6%; rotate: 8deg; }
.f3 { left: 7%;  bottom: .5%;  width: 7%;  rotate: 64deg; }
.f4 { left: 19.5%; bottom: .8%; width: 2.6%; rotate: -30deg; }
.f5 { right: 4%;  bottom: 3%;  width: 4.8%; rotate: -6deg; }
.f6 { right: 9.5%; bottom: 2%; width: 8.5%; rotate: 5deg; }
.f7 { right: .5%; bottom: .5%; width: 6.5%; rotate: -58deg; }
.f8 { right: 17%; bottom: .8%; width: 3.2%; }
.pear { filter: hue-rotate(-112deg) saturate(1.4) brightness(1.1) drop-shadow(0 3px 2px rgba(40,24,60,.4)); }
/* primer plano desenfocado y piezas que salen del marco */
.f9 { left: -13%; bottom: -7%; width: 15%; filter: blur(3.5px); opacity: .8; rotate: -22deg; z-index: 3; }
.f10 { right: -9%; bottom: 13%; width: 8%; rotate: 28deg; filter: drop-shadow(0 6px 8px rgba(0,0,0,.5)); z-index: 3; }
.f11 { left: -7%; bottom: 24%; width: 3.2%; rotate: -12deg; filter: drop-shadow(0 4px 6px rgba(0,0,0,.5)); }
/* cristales que asoman desde los laterales del viewport */
.side { z-index: 3; filter: drop-shadow(0 8px 10px rgba(0,0,0,.5)); }
.sd1 { left: -1.4vw; top: 66svh; width: clamp(30px, 3vw, 52px); rotate: 24deg; }
.sd2 { right: -1.6vw; top: 30svh; width: clamp(34px, 3.2vw, 58px); rotate: -16deg; }
.sd3 { right: 4vw; bottom: 22svh; width: clamp(24px, 2.2vw, 40px); rotate: 18deg; opacity: clamp(0, var(--p) * 6, 1); }
.sd4 { left: 7vw; top: 22svh; width: clamp(28px, 2.6vw, 46px); rotate: -40deg; filter: blur(2px) drop-shadow(0 8px 10px rgba(0,0,0,.5)); opacity: .75; }
/* destellos */
.spark { position: absolute; width: 10px; height: 10px; pointer-events: none; z-index: 3;
  background: radial-gradient(closest-side, #FFF9DD, rgba(255,244,201,0)); }
.spark::before, .spark::after { content: ""; position: absolute; left: 50%; top: 50%; width: 22px; height: 1px; translate: -50% -50%; background: linear-gradient(90deg, transparent, #FFF4C9, transparent); }
.spark::after { rotate: 90deg; }
.s1 { left: 9%; bottom: 13%; } .s2 { left: 17%; bottom: 7%; } .s3 { right: 7%; bottom: 11%; } .s4 { right: 13%; bottom: 6%; }
.spark { opacity: .7; }
.js:not(.rm) .spark { animation: twinkle 3.6s ease-in-out infinite; opacity: 0; }
.js:not(.rm) .s2 { animation-delay: 1.1s; } .js:not(.rm) .s3 { animation-delay: 2s; } .js:not(.rm) .s4 { animation-delay: 2.9s; }
@keyframes twinkle { 0%, 100% { opacity: 0; scale: .4; } 45% { opacity: 1; scale: 1; } }
/* animación: alrededor de Ana, nunca sobre ella */
.js:not(.rm) .fl { animation: settle 1.8s var(--ease) both; }
.js:not(.rm) .f1 { animation-delay: .9s; } .js:not(.rm) .f2 { animation-delay: 1.05s; } .js:not(.rm) .f3 { animation-delay: 1.2s; } .js:not(.rm) .f4 { animation-delay: 1.4s; }
.js:not(.rm) .f5 { animation-delay: 1s; } .js:not(.rm) .f6 { animation-delay: 1.15s; } .js:not(.rm) .f7 { animation-delay: 1.3s; } .js:not(.rm) .f8 { animation-delay: 1.45s; }
@keyframes settle { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }
.js:not(.rm) .f9 { animation: enterL2 3s .6s var(--ease) both; }
.js:not(.rm) .f10, .js:not(.rm) .f11 { animation: drift 7s 2s ease-in-out infinite alternate; }
.js:not(.rm) .sd1 { animation: inL 3.2s 1s var(--ease) both, drift 8s 4.2s ease-in-out infinite alternate; }
.js:not(.rm) .sd2 { animation: inR 3.4s 1.3s var(--ease) both, drift 9s 4.7s ease-in-out infinite alternate; }
.js:not(.rm) .sd4 { animation: drift 10s ease-in-out infinite alternate; }
@keyframes enterL2 { from { opacity: 0; transform: translateX(-6vw) rotate(-10deg); } to { opacity: 1; transform: none; } }
@keyframes inL { from { transform: translateX(-8vw) rotate(-20deg); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes inR { from { transform: translateX(8vw) rotate(20deg); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes drift { from { transform: translateY(0) rotate(0deg); } to { transform: translateY(-7px) rotate(3deg); } }
@media (max-width: 860px) {
  .hero-photo { top: 22svh; height: 40svh; }
  .sd2 { top: 24svh; } .sd1 { top: 58svh; } .sd4 { left: 4vw; top: 20svh; } .sd3 { display: none; }
  .hero-script { top: 18svh; right: 3vw; }
}
.hero-ana span { padding-top: .16em; margin-top: -.16em; }

/* Escena 02 · fotografía original completa en forma de arco */
.lg-photo { padding-top: 0; justify-self: center; display: flex; justify-content: center; }
.arch-frame { position: relative; width: clamp(250px, 25vw, 400px); aspect-ratio: 851 / 1849; }
.arch-frame::before { content: ""; position: absolute; inset: -14px; border: 1px solid rgba(169,130,47,.6); border-radius: 999px 999px 0 0; pointer-events: none; }
.lg-full { width: 100%; height: 100%; object-fit: contain; display: block; border-radius: 999px 999px 0 0; box-shadow: 0 40px 70px -30px rgba(100,48,184,.5); }
.js:not(.rm) .lg-full { clip-path: inset(100% 0 0 0); transition: clip-path 1.6s var(--ease); }
.js:not(.rm) .lg-photo.in .lg-full { clip-path: inset(0 0 0 0); }
.js:not(.rm) .arch-frame::before { opacity: 0; transition: opacity 1s 1s; }
.js:not(.rm) .lg-photo.in .arch-frame::before { opacity: 1; }
.lg-photo .note { left: -4%; top: 30%; }
.lg-stroke { left: -18%; top: 20%; width: 70%; height: 22%; }
.g-lg { right: 4%; top: 40%; }
@media (max-width: 860px) { .lg-photo { width: 100%; } .arch-frame { width: 66vw; } .lg-photo .note { left: 0; top: 26%; } }

.hero-ana span { background: none; color: var(--iv); -webkit-background-clip: border-box; background-clip: border-box; }
body:has(.exp) .site-header:not([data-scrolled]) { backdrop-filter: none; -webkit-backdrop-filter: none; }

/* =========================================================
   01 · PORTADA · fotografía editorial definitiva
   La foto se ve completa (contain). La tipografía vive detrás de ella.
   ========================================================= */
.sc-cover { --h: 260vh; background: var(--iv); color: var(--char); }
.sc-cover .pin { background:
  radial-gradient(ellipse 46% 52% at 50% 52%, rgba(135,100,128,.20), transparent 72%),
  radial-gradient(ellipse 90% 70% at 50% 100%, rgba(228,215,246,.55), transparent 70%), var(--iv); }
/* nombre: ANA arriba, CASALEGNO abajo, ambos DETRÁS de la foto */
.cv-ana, .cv-casa { position: absolute; left: 0; right: 0; margin: 0; text-align: center; z-index: 1; font-family: var(--f-display); color: var(--char); line-height: .8; white-space: nowrap; pointer-events: none; }
.cv-ana { top: calc(76px + 1svh); font-weight: 500; font-size: clamp(120px, 15.5vw, 300px); letter-spacing: .02em;
  transform: translateY(calc(var(--p) * -22vh)); }
.cv-casa { bottom: 1.5svh; font-weight: 400; font-size: clamp(56px, 11.4vw, 220px); letter-spacing: .07em;
  transform: translateY(calc(var(--p) * 20vh)); }
.cv-casa span span { color: var(--grape); }
.m { display: inline-block; overflow: hidden; padding: .06em .04em 0; vertical-align: top; }
.m > span { display: inline-block; }
/* fotografía completa */
.cv-photo { position: absolute; z-index: 2; left: 50%; top: 52%; margin: 0;
  height: min(64svh, calc(56vw / 1.2)); aspect-ratio: 1374 / 1145; max-width: 92vw;
  translate: -50% -50%; transform: scale(calc(1 - var(--p) * .2)) translateY(calc(var(--p) * -6vh)); transform-origin: 50% 50%; }
.cv-photo img { width: 100%; height: 100%; object-fit: contain; display: block;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 2.2%, #000 97.8%, transparent), linear-gradient(180deg, transparent, #000 2.6%, #000 97.4%, transparent);
  -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, transparent, #000 2.2%, #000 97.8%, transparent), linear-gradient(180deg, transparent, #000 2.6%, #000 97.4%, transparent); mask-composite: intersect;
  filter: drop-shadow(0 40px 60px rgba(100,48,184,.18)); }
/* luz de estudio viva: un reflejo prismático cruza muy despacio la zona alta del fondo */
.flare { position: absolute; top: 4%; left: 0; width: 22%; aspect-ratio: 1; border-radius: 50%; pointer-events: none; mix-blend-mode: screen; opacity: 0;
  background: radial-gradient(closest-side, rgba(255,250,228,.55), rgba(196,160,255,.22) 45%, rgba(84,237,222,.08) 70%, transparent); filter: blur(10px); }
.js:not(.rm) .flare { animation: flare 16s 3.4s ease-in-out infinite; }
@keyframes flare { 0% { transform: translateX(-10%) scale(.8); opacity: 0; } 15% { opacity: .55; } 40% { transform: translateX(110%) translateY(10%) scale(1); opacity: .4; } 55%, 100% { transform: translateX(110%) translateY(10%); opacity: 0; } }
/* anotación y microcopy */
.cv-script { position: absolute; z-index: 3; margin: 0; font-family: var(--f-script); color: var(--grape); font-size: clamp(26px, 2.4vw, 42px); line-height: 1;
  right: calc(50% - min(32svh * 1.2, 28vw) - 1vw); top: calc(52% - min(32svh, 23.3vw) - 3.2vw); rotate: -6deg;
  opacity: clamp(0, 1 - var(--p) * 6, 1); }
.cv-roles { position: absolute; z-index: 3; left: var(--gx); top: 50%; translate: 0 -50%; margin: 0; display: grid; gap: 14px;
  font-family: var(--f-display); font-size: .68rem; letter-spacing: .34em; text-transform: uppercase; font-weight: 600; color: var(--char); opacity: calc(1 - var(--p) * 4); }
.cv-roles span { display: flex; align-items: center; gap: 12px; }
.cv-roles span::before { content: ""; width: 5px; height: 5px; rotate: 45deg; background: var(--gold-deep); }
.cv-msg { position: absolute; z-index: 3; right: var(--gx); top: 50%; translate: 0 -50%; width: min(19vw, 270px); display: grid; gap: 22px; opacity: calc(1 - var(--p) * 4); }
.cv-msg p { margin: 0; font-size: .98rem; line-height: 1.65; color: var(--char); }
.cv-cta { display: grid; gap: 16px; justify-items: start; }
.btn--cover { background: var(--char); color: var(--iv); border: 1px solid var(--char); border-radius: 999px; padding-inline: 26px; position: relative; overflow: hidden; isolation: isolate; }
.btn--cover::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--grape); transform: translateX(-101%); transition: transform .5s var(--ease); }
.btn--cover::after { content: ""; position: absolute; left: 22px; right: 22px; bottom: 9px; height: 1px; background: var(--gold-grad); opacity: .8; }
.btn--cover:hover { border-color: var(--grape); }
.btn--cover:hover::before { transform: none; }
.cv-cta .link { color: var(--grape); font-size: .95rem; }
/* cierre de portada → apertura de la historia */
.cv-dark { position: absolute; inset: 0; z-index: 4; background: var(--char); pointer-events: none; opacity: clamp(0, (var(--p) - .3) * 3.2, 1); }
.cv-photo { z-index: 5; }
.sc-cover .cv-photo { --fade: clamp(0, (var(--p) - .5) * 4, 1); opacity: calc(1 - var(--fade)); }
.cv-next { position: absolute; z-index: 6; left: var(--gx); right: var(--gx); top: 50%; translate: 0 -50%; display: grid; gap: 26px; color: var(--iv); pointer-events: none;
  --q: clamp(0, (var(--p) - .52) * 3.4, 1); opacity: var(--q); }
.cv-next-t { margin: 0; font-family: var(--f-display); font-size: clamp(2.4rem, 1rem + 5.4vw, 7rem); line-height: 1; max-width: 15ch; }
.cv-next-t span { display: block; transform: translateY(calc((1 - var(--q)) * 40px)); }
.cv-next-t span:nth-child(2) { padding-left: 1em; transform: translateY(calc((1 - var(--q)) * 70px)); }
.cv-next-t span:nth-child(4) { padding-left: .5em; transform: translateY(calc((1 - var(--q)) * 100px)); }
.cv-next-t em { color: var(--gold); }
.sc-cover .hero-veil { clip-path: inset(calc((1 - clamp(0, (var(--p) - .82) * 6, 1)) * 100%) 0 0 0); opacity: 1; }
/* entrada: foto → ANA → CASALEGNO → anotación → microcopy/mensaje → CTA */
.js:not(.rm) .cv-photo img { animation: cvPhoto 1.4s .15s ease-out both; }
@keyframes cvPhoto { from { opacity: 0; filter: blur(8px) drop-shadow(0 40px 60px rgba(100,48,184,0)); } to { opacity: 1; } }
.js:not(.rm) .cv-ana .m > span { animation: cvMask 1.5s .7s cubic-bezier(.16,.84,.24,1) both; }
@keyframes cvMask { from { transform: translateY(105%); } to { transform: none; } }
.js:not(.rm) .cv-ana .m { animation: cvTrackA 1.9s .7s cubic-bezier(.16,.84,.24,1) both; }
@keyframes cvTrackA { from { letter-spacing: .2em; } to { letter-spacing: .02em; } }
.js:not(.rm) .cv-casa .m { animation: cvOpen 1.6s 1.15s cubic-bezier(.16,.84,.24,1) both; }
@keyframes cvOpen { from { clip-path: inset(0 50% 0 50%); letter-spacing: .3em; } to { clip-path: inset(0 0 0 0); letter-spacing: 0em; } }
.js:not(.rm) .cv-script { animation: cvInk 1.4s 1.7s ease both; }
@keyframes cvInk { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
.js:not(.rm) .cv-roles span { animation: cvUp 1s var(--ease) both; }
.js:not(.rm) .cv-roles span:nth-child(1) { animation-delay: 2s; } .js:not(.rm) .cv-roles span:nth-child(2) { animation-delay: 2.1s; }
.js:not(.rm) .cv-roles span:nth-child(3) { animation-delay: 2.2s; } .js:not(.rm) .cv-roles span:nth-child(4) { animation-delay: 2.3s; }
.js:not(.rm) .cv-msg p { animation: cvUp 1.1s 2.1s var(--ease) both; }
.js:not(.rm) .cv-cta { animation: cvUp 1.1s 2.5s var(--ease) both; }
@keyframes cvUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
/* reducido */
.rm .sc-cover .pin { height: 100svh; padding: 0; }
.rm .cv-dark, .rm .cv-next, .rm .sc-cover .hero-veil { display: none; }
/* tablet */
@media (max-width: 1180px) and (min-width: 861px) {
  .cv-roles { top: auto; bottom: 22svh; translate: none; }
  .cv-msg { top: auto; bottom: 18svh; translate: none; width: 22vw; }
}
/* móvil: nombre → foto completa → mensaje */
@media (max-width: 860px) {
  .sc-cover { --h: 200vh; }
  .cv-ana { top: calc(64px + 2svh); font-size: 31vw; }
  .cv-photo { top: calc(64px + 2svh + 25vw); translate: -50% 0; height: auto; width: 96vw; }
  .cv-casa { top: calc(64px + 2svh + 25vw + 80vw - 2vw); bottom: auto; font-size: 12.6vw; letter-spacing: .04em; }
  .cv-script { right: 4vw; top: calc(64px + 2svh + 21vw); font-size: 26px; }
  .cv-roles { top: auto; bottom: calc(3svh + 128px); left: var(--gx); right: var(--gx); translate: none; display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: .58rem; letter-spacing: .22em; }
  .cv-msg { top: auto; bottom: 3svh; left: var(--gx); right: var(--gx); translate: none; width: auto; gap: 14px; }
  .cv-msg p { font-size: .9rem; }
  .cv-cta { grid-auto-flow: column; justify-content: start; align-items: center; }
  .cv-cta .btn { min-height: 44px; padding: 10px 18px; font-size: .66rem; }
  .cv-cta .link { font-size: .85rem; }
}
@media (max-width: 860px) and (max-height: 760px) { .cv-msg p { display: none; } .cv-roles { bottom: calc(3svh + 64px); } }

/* ajustes de composición de portada */
.cv-photo img { -webkit-mask-image: none; mask-image: none; filter: drop-shadow(0 30px 50px rgba(60,30,90,.22)); }
.cv-ana { font-size: clamp(110px, 12.4vw, 250px); top: calc(76px + .5svh); }
.cv-casa { font-size: clamp(52px, 10vw, 200px); }
.cv-photo { height: min(57svh, calc(52vw / 1.2)); top: 54%; }
.cv-script { position: absolute; right: auto; left: 101%; top: 2%; translate: 0 0; white-space: nowrap; rotate: -8deg; }
.cv-photo > .flare { overflow: hidden; }
.cv-photo { overflow: visible; }
.cv-photo::after { content: ""; position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.cv-dark { opacity: 1; clip-path: inset(calc((1 - clamp(0, (var(--p) - .28) * 3.4, 1)) * 100%) 0 0 0); }
.cv-dark::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--gold-grad); box-shadow: 0 0 14px rgba(233,204,132,.7); }
.sc-cover .hero-veil { z-index: 8; }
.cv-next { z-index: 6; }
@media (max-width: 860px) {
  .cv-ana { font-size: 31vw; }
  .cv-photo { height: auto; width: 96vw; top: calc(64px + 2svh + 25vw); }
  .cv-script { left: auto; right: 2vw; top: calc(100% + 15vw); rotate: -6deg; font-size: 24px; }
  .cv-cta { grid-auto-flow: row; justify-items: start; gap: 12px; }
  .cv-roles { bottom: calc(3svh + 168px); }
}
.sc-cover .cv-photo { --fade: clamp(0, (var(--p) - .36) * 5, 1); }

/* =========================================================
   PORTADA v3 · una sola composición: nombre → foto → mensaje → CTA
   ========================================================= */
.cv-grid { position: absolute; z-index: 5; left: var(--gx); right: var(--gx); top: 84px; bottom: 3.5svh;
  display: grid; grid-template-columns: minmax(170px, 1fr) auto minmax(250px, 1.25fr); grid-template-rows: auto minmax(0, 1fr);
  column-gap: clamp(24px, 3vw, 52px); row-gap: clamp(14px, 2.2svh, 26px); }
.cv-name { grid-column: 1 / -1; margin: 0; text-align: center; font-family: var(--f-display); font-weight: 500; color: #5A2BA6;
  font-size: clamp(42px, 4.9vw, 80px); line-height: 1; letter-spacing: .14em; white-space: nowrap; padding-left: .14em;
  transform: translateY(calc(var(--p) * -14vh)); opacity: calc(1 - var(--p) * 2.4); }
.cv-name .m { padding: .08em .02em .04em; }
/* fotografía: más grande, completa, nítida; solo los bordes se funden con el marfil */
.sc-cover .cv-photo { position: relative; left: auto; top: auto; translate: none; z-index: 1; grid-column: 2; grid-row: 2; align-self: start; justify-self: center;
  height: min(100%, calc((100vw - 2 * var(--gx) - 2 * clamp(24px, 3vw, 52px) - 440px) / 1.2)); width: auto; max-width: none; aspect-ratio: 1374 / 1145;
  transform: scale(calc(1 - var(--p) * .06)); transform-origin: 50% 40%; }
.sc-cover .cv-photo img { filter: none;
  -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,0) 0%, rgba(0,0,0,.35) 1.6%, rgba(0,0,0,.8) 3.6%, #000 6%, #000 94%, rgba(0,0,0,.8) 96.4%, rgba(0,0,0,.35) 98.4%, rgba(0,0,0,0) 100%),
                      linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,.35) 1.8%, rgba(0,0,0,.8) 4.2%, #000 7%, #000 93%, rgba(0,0,0,.8) 95.8%, rgba(0,0,0,.35) 98.2%, rgba(0,0,0,0) 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, rgba(0,0,0,0) 0%, rgba(0,0,0,.35) 1.6%, rgba(0,0,0,.8) 3.6%, #000 6%, #000 94%, rgba(0,0,0,.8) 96.4%, rgba(0,0,0,.35) 98.4%, rgba(0,0,0,0) 100%),
              linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,.35) 1.8%, rgba(0,0,0,.8) 4.2%, #000 7%, #000 93%, rgba(0,0,0,.8) 95.8%, rgba(0,0,0,.35) 98.2%, rgba(0,0,0,0) 100%);
  mask-composite: intersect; }
/* halo del color de la foto para que el borde no se lea como recorte */
.sc-cover .cv-photo::before { content: ""; position: absolute; inset: -6% -7%; z-index: -1; pointer-events: none;
  background: radial-gradient(closest-side, rgba(135,100,128,.20), rgba(186,150,148,.10) 60%, transparent); filter: blur(18px); }
.cv-roles { position: static; translate: none; grid-column: 1; grid-row: 2; align-self: center; justify-self: end; text-align: left; }
.cv-side { grid-column: 3; grid-row: 2; display: flex; flex-direction: column; justify-content: space-between; min-width: 0; padding-block: 2svh 0; }
.cv-side .cv-script { position: static; left: auto; top: auto; rotate: -6deg; transform-origin: left; margin: 0; color: #6E3FC4; font-size: clamp(28px, 2.5vw, 42px); }
.cv-side .cv-msg { position: static; translate: none; width: auto; max-width: 330px; }
.cv-side .cv-msg p { font-size: clamp(.98rem, .9rem + .25vw, 1.12rem); line-height: 1.6; }
.cv-grid .cv-roles, .cv-grid .cv-msg { opacity: calc(1 - var(--p) * 4); }
/* entrada: nombre → foto → firma → servicios → mensaje → CTA */
.js:not(.rm) .cv-name .m > span { animation: cvMask 1.5s .25s cubic-bezier(.16,.84,.24,1) both; }
.js:not(.rm) .cv-name .m { animation: cvTrackN 2s .25s cubic-bezier(.16,.84,.24,1) both; }
@keyframes cvTrackN { from { letter-spacing: .4em; } to { letter-spacing: 0; } }
.js:not(.rm) .sc-cover .cv-photo img { animation: cvPhoto2 1.6s .9s ease-out both; }
@keyframes cvPhoto2 { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.js:not(.rm) .cv-side .cv-script { animation: cvInk 1.6s 1.7s ease both; }
.js:not(.rm) .cv-roles span:nth-child(1) { animation-delay: 2.1s; } .js:not(.rm) .cv-roles span:nth-child(2) { animation-delay: 2.2s; }
.js:not(.rm) .cv-roles span:nth-child(3) { animation-delay: 2.3s; } .js:not(.rm) .cv-roles span:nth-child(4) { animation-delay: 2.4s; }
.js:not(.rm) .cv-msg p { animation-delay: 2.4s; }
.js:not(.rm) .cv-cta { animation-delay: 2.8s; }
@media (max-width: 1180px) and (min-width: 861px) {
  .cv-grid { grid-template-columns: auto minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr) auto; }
  .sc-cover .cv-photo { grid-column: 1; grid-row: 2; height: min(100%, calc((100vw - 2 * var(--gx) - 300px) / 1.2)); }
  .cv-roles { grid-column: 1; grid-row: 3; justify-self: start; display: flex; flex-wrap: wrap; gap: 8px 18px; }
  .cv-side { grid-column: 2; grid-row: 2 / span 2; }
  .cv-name { text-align: left; }
}
@media (max-width: 860px) {
  .cv-grid { top: 72px; bottom: 2.5svh; grid-template-columns: 1fr; grid-template-rows: auto auto auto 1fr; row-gap: 12px; }
  .cv-name { font-size: 7.6vw; letter-spacing: .07em; padding-left: .07em; }
  .sc-cover .cv-photo { grid-column: 1; grid-row: 2; width: 100%; height: auto; }
  .cv-side { grid-column: 1; grid-row: 3 / span 2; padding: 0; gap: 14px; justify-content: flex-start; }
  .cv-side .cv-script { align-self: flex-end; margin-top: -4px; font-size: 26px; }
  .cv-roles { grid-column: 1; grid-row: 3; justify-self: start; align-self: start; display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 2px; }
  .cv-side { margin-top: 42px; }
  .cv-side .cv-msg { max-width: none; }
  .cv-side .cv-msg p { font-size: .92rem; }
}
@media (max-width: 860px) and (max-height: 760px) { .cv-side .cv-msg p { display: none; } }
@keyframes cvTrackN { from { letter-spacing: .4em; } to { letter-spacing: .14em; } }
.cv-name .m { letter-spacing: inherit; }
.cv-roles span { white-space: nowrap; }
.btn--cover { white-space: nowrap; }
@media (max-width: 860px) {
  @keyframes cvTrackN { from { letter-spacing: .3em; } to { letter-spacing: .07em; } }
  .cv-side { margin-top: 62px; }
  .cv-side .cv-script { margin-top: 0; }
}

/* =========================================================
   PORTADA · VARIANTE B · la fotografía es el lienzo (revista)
   La foto se ve completa; el espacio que sobra se rellena con
   una extensión difuminada de sus propios bordes.
   ========================================================= */
.sc-mag { --band: clamp(70px, 9.5svh, 104px); --top: 76px; background: #2a1a33; color: var(--iv); }
.sc-mag .pin { background: #6d4f6e; }
.mg-photo { position: absolute; left: 50%; top: calc(var(--top) + var(--band)); z-index: 1; margin: 0;
  height: min(calc(100svh - var(--top) - var(--band)), calc(100vw / 1.2)); aspect-ratio: 1374 / 1145;
  translate: -50% 0; transform: scale(calc(1 - clamp(0, (var(--p) - .12) * 1.6, 1) * .05)); transform-origin: 50% 30%; }
.mg-photo::before { content: ""; position: absolute; inset: -100%; z-index: -1; pointer-events: none;
  background: url(../img/hero-ext.webp) center / 100% 100% no-repeat; }
.mg-photo img { position: relative; width: 100%; height: 100%; object-fit: contain; display: block;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%), linear-gradient(180deg, transparent 0, #000 6%, #000 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%), linear-gradient(180deg, transparent 0, #000 6%, #000 100%); mask-composite: intersect; }
/* la luz del estudio respira en los laterales (solo luz, sin cristales nuevos) */
.mg-light { position: absolute; width: 22%; aspect-ratio: 1 / 1.6; top: 8%; pointer-events: none; mix-blend-mode: screen; opacity: 0; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255,244,214,.38), rgba(181,140,255,.18) 50%, rgba(84,237,222,.06) 75%, transparent); filter: blur(14px); }
.mg-light.l1 { left: 2%; } .mg-light.l2 { right: 1%; top: 14%; }
.js:not(.rm) .mg-light.l1 { animation: mgLight 11s 3.2s ease-in-out infinite; }
.js:not(.rm) .mg-light.l2 { animation: mgLight 13s 6.5s ease-in-out infinite; }
@keyframes mgLight { 0%, 100% { opacity: 0; transform: translateY(8%) scale(.9); } 45% { opacity: .9; transform: translateY(-4%) scale(1); } 70% { opacity: 0; } }
/* masthead */
.mg-mast { position: absolute; z-index: 3; left: 0; right: 0; top: calc(var(--top) + var(--band) * .5); translate: 0 -50%; margin: 0; text-align: center;
  font-family: var(--f-display); font-weight: 500; color: var(--iv); font-size: clamp(40px, 4.7vw, 78px); line-height: 1; letter-spacing: .16em; padding-left: .16em; white-space: nowrap;
  text-shadow: 0 2px 24px rgba(17,17,22,.28); transform: translateY(calc(var(--p) * -24px)); opacity: calc(1 - clamp(0, (var(--p) - .25) * 4, 1)); }
.mg-mast .m { letter-spacing: inherit; padding: .1em .02em .04em; }
/* columnas editoriales sobre los muros laterales de la foto */
.mg-roles { position: absolute; z-index: 3; left: var(--gx); top: 40%; margin: 0; padding: 0; list-style: none; display: grid; gap: 16px;
  font-family: var(--f-display); font-size: .7rem; font-weight: 600; letter-spacing: .32em; text-transform: uppercase; color: var(--iv); text-shadow: 0 1px 12px rgba(17,17,22,.5);
  opacity: calc(1 - var(--p) * 4); }
.mg-roles li { display: flex; align-items: center; gap: 12px; white-space: nowrap; }
.mg-roles li::before { content: ""; width: 18px; height: 1px; background: var(--gold); }
.mg-right { position: absolute; z-index: 3; right: var(--gx); top: calc(var(--top) + var(--band) + 7svh); width: min(22vw, 300px); display: grid; gap: 20px; opacity: calc(1 - var(--p) * 4); }
.mg-script { margin: 0; font-family: var(--f-script); color: var(--iv); font-size: clamp(30px, 2.6vw, 44px); line-height: 1.05; rotate: -6deg; transform-origin: left; text-shadow: 0 2px 14px rgba(60,20,90,.45); }
.mg-msg { margin: 0; color: var(--iv); font-size: clamp(.98rem, .9rem + .2vw, 1.1rem); line-height: 1.6; text-shadow: 0 1px 14px rgba(17,17,22,.55); }
/* velo muy suave solo detrás de las columnas laterales */
.sc-mag .pin::before, .sc-mag .pin::after { content: ""; position: absolute; top: 0; bottom: 0; width: 34vw; z-index: 2; pointer-events: none; }
.sc-mag .pin::before { left: 0; background: linear-gradient(90deg, rgba(17,17,22,.22), rgba(17,17,22,0)); }
.sc-mag .pin::after { right: 0; background: linear-gradient(270deg, rgba(17,17,22,.2), rgba(17,17,22,0) ); }
.mg-cta { position: absolute; z-index: 3; right: var(--gx); bottom: 5svh; display: grid; gap: 14px; justify-items: end; opacity: calc(1 - var(--p) * 4); }
.mg-cta .link { color: var(--iv); text-shadow: 0 1px 10px rgba(17,17,22,.5); }
.mg-cta .btn--cover { box-shadow: 0 14px 30px -12px rgba(17,17,22,.6); }
/* entrada: foto → masthead → servicios → firma → mensaje → CTA */
.js:not(.rm) .mg-photo img, .js:not(.rm) .mg-photo::before { animation: mgIn 1.4s .1s ease-out both; }
@keyframes mgIn { from { opacity: 0; } to { opacity: 1; } }
.js:not(.rm) .mg-mast .m > span { animation: cvMask 1.6s .9s cubic-bezier(.16,.84,.24,1) both; }
.js:not(.rm) .mg-mast .m { animation: mgTrack 2.2s .9s cubic-bezier(.16,.84,.24,1) both; }
@keyframes mgTrack { from { letter-spacing: .42em; } to { letter-spacing: .16em; } }
.js:not(.rm) .mg-roles li { animation: cvUp 1s var(--ease) both; }
.js:not(.rm) .mg-roles li:nth-child(1) { animation-delay: 1.8s; } .js:not(.rm) .mg-roles li:nth-child(2) { animation-delay: 1.95s; }
.js:not(.rm) .mg-roles li:nth-child(3) { animation-delay: 2.1s; } .js:not(.rm) .mg-roles li:nth-child(4) { animation-delay: 2.25s; }
.js:not(.rm) .mg-script { animation: cvInk 1.6s 2.4s ease both; }
.js:not(.rm) .mg-msg { animation: cvUp 1.1s 2.9s var(--ease) both; }
.js:not(.rm) .mg-cta { animation: cvUp 1.1s 3.2s var(--ease) both; }
/* transición: igual que la portada A */
.sc-mag .mg-photo { opacity: calc(1 - clamp(0, (var(--p) - .36) * 5, 1)); }
.sc-mag .cv-dark { z-index: 4; }
.rm .sc-mag .pin { height: 100svh; padding: 0; }
/* tablet */
@media (max-width: 1180px) and (min-width: 861px) {
  .mg-roles { top: auto; bottom: 6svh; }
  .mg-right { width: 26vw; }
}
/* móvil: masthead → foto completa → texto debajo sobre la extensión de la foto */
@media (max-width: 860px) {
  .sc-mag { --top: 64px; --band: 64px; --h: 200vh; }
  .sc-mag .pin { background: #b8968f; }
  .sc-mag .pin::before, .sc-mag .pin::after { display: none; }
  .mg-photo { height: auto; width: 100vw; }
  .mg-mast { font-size: 7.4vw; letter-spacing: .08em; padding-left: .08em; }
  @keyframes mgTrack { from { letter-spacing: .3em; } to { letter-spacing: .08em; } }
  .mg-roles { left: var(--gx); right: var(--gx); top: calc(var(--top) + var(--band) + 83.3vw + 16px); display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: .6rem; letter-spacing: .22em; color: var(--char); text-shadow: none; }
  .mg-roles li::before { background: var(--gold-deep); width: 12px; }
  .mg-right { left: var(--gx); right: var(--gx); width: auto; top: calc(var(--top) + var(--band) + 83.3vw + 64px); gap: 10px; }
  .mg-script { color: var(--grape); text-shadow: none; font-size: 26px; justify-self: end; }
  .mg-msg { color: var(--char); text-shadow: none; font-size: .92rem; }
  .mg-cta { left: var(--gx); right: auto; bottom: 3svh; justify-items: start; }
  .mg-cta .link { color: var(--grape); text-shadow: none; }
}
@media (max-width: 860px) and (max-height: 760px) { .mg-msg { display: none; } }
.mg-right { width: min(20vw, 285px); }
@media (max-width: 1180px) and (min-width: 861px) {
  .mg-roles { top: calc(var(--top) + var(--band) + 4svh); bottom: auto; }
  .mg-right { width: 23vw; top: calc(var(--top) + var(--band) + 3svh); }
  .sc-mag .pin::after { width: 42vw; background: linear-gradient(270deg, rgba(17,17,22,.34), rgba(17,17,22,0)); }
}
@media (max-width: 860px) { .mg-right { width: auto; } .sc-mag .pin { background: linear-gradient(180deg, #4a3150 0, #b5928f 55%, #c4a29d 100%); } }
@media (max-width: 860px) {
  .sc-mag .pin { background: #bd9b97; }
  .mg-photo::before { -webkit-mask-image: linear-gradient(180deg, #000 0, #000 72%, transparent 96%); mask-image: linear-gradient(180deg, #000 0, #000 72%, transparent 96%); }
}
