/* The Wedding Edit · Sepia Studio */
@font-face { font-family: "Mrs Saint Delafield"; src: url("fonts/mrs-saint-delafield-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter Tight"; src: url("fonts/inter-tight-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
:root {
  --black: #000;
  --coal: #0b0b0b;
  --graphite: #161616;
  --line: rgba(255, 255, 255, .12);
  --line-strong: rgba(255, 255, 255, .24);
  --bone: #f3f0e9;
  --text: #e9e6df;
  --muted: #8f8d88;
  --display: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
  --script: "Mrs Saint Delafield", "Snell Roundhand", cursive;
  --sans: "Inter Tight", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.22, .8, .2, 1);
  --pad: clamp(16px, 4vw, 56px);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--black); -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0; background: var(--black); color: var(--text);
  font-family: var(--sans); font-weight: 300; font-size: 15px; line-height: 1.65; letter-spacing: 0;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
svg { display: block; }
:focus-visible { outline: 1px solid var(--bone); outline-offset: 4px; border-radius: 4px; }
::selection { background: var(--bone); color: #000; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--bone); color: #000; border-radius: 99px; text-decoration: none; }
.skip:focus { top: 16px; }

/* Intro: la página se pinta de negro y aparece el logotipo */
.intro { position: fixed; inset: 0; z-index: 90; display: grid; place-content: center; justify-items: center; gap: 18px; background: var(--black); color: var(--bone); pointer-events: none; }
.intro-logo { width: min(640px, 80vw); }
.intro-logo svg { width: 100%; height: auto; }
.intro-line { margin: 0; font-size: 12px; letter-spacing: .32em; text-transform: uppercase; color: var(--muted); }
.js .intro-logo { clip-path: inset(0 100% 0 0); filter: blur(10px); opacity: 0; }
.js .intro-line { opacity: 0; transform: translateY(8px); }
.js.swe-intro .intro-logo { animation: logoIn 1.5s var(--ease) .15s forwards; }
.js.swe-intro .intro-line { animation: fadeUp .8s var(--ease) .9s forwards; }
.js.swe-ready .intro { animation: introOut 1.1s var(--ease) forwards; }
@keyframes logoIn { to { clip-path: inset(0 0 0 0); filter: blur(0); opacity: 1; } }
@keyframes fadeUp { to { opacity: 1; transform: none; } }
@keyframes introOut { 0% { clip-path: inset(0 0 0 0); } 100% { clip-path: inset(0 0 100% 0); visibility: hidden; } }
html:not(.js) .intro { display: none; }

/* Barra de progreso */
.progress { position: fixed; inset: 0 0 auto; height: 2px; z-index: 60; }
.progress span { display: block; height: 100%; width: 100%; background: var(--bone); transform-origin: 0 50%; transform: scaleX(0); }

/* Navegación */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; gap: 24px; padding: 18px var(--pad);
  transition: transform .5s var(--ease), background .4s, backdrop-filter .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
.nav.solid { background: rgba(0, 0, 0, .55); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); border-color: var(--line); }
.nav.hide { transform: translateY(-110%); }
.nav-brand { color: var(--bone); width: 116px; flex: none; }
.nav-brand svg { width: 100%; height: auto; }
.nav-links { display: flex; gap: 30px; margin: 0 auto; }
.nav-links a { position: relative; font-size: 13px; letter-spacing: .01em; text-decoration: none; color: #cfccc5; transition: color .3s; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.nav-links a:hover { color: #fff; }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
.menu-btn { display: none; width: 44px; height: 44px; margin-left: auto; border: 0; background: none; cursor: pointer; position: relative; }
.menu-btn span:not(.sr) { position: absolute; left: 11px; right: 11px; height: 1px; background: var(--bone); transition: transform .4s var(--ease); }
.menu-btn span:nth-child(1) { top: 18px; }
.menu-btn span:nth-child(2) { top: 25px; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(3.5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }
.menu {
  position: fixed; inset: 0; z-index: 45; display: flex; flex-direction: column; justify-content: center; gap: 6px;
  padding: 96px var(--pad) 48px; background: rgba(0, 0, 0, .92); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
}
.menu[hidden] { display: none; }
.menu a { font-family: var(--display); font-weight: 300; letter-spacing: -.035em; font-size: clamp(30px, 8vw, 44px); line-height: 1.2; text-decoration: none; color: var(--bone); opacity: 0; transform: translateY(16px); animation: fadeUp .6s var(--ease) forwards; }
.menu a:nth-child(2) { animation-delay: .05s; } .menu a:nth-child(3) { animation-delay: .1s; } .menu a:nth-child(4) { animation-delay: .15s; } .menu a:nth-child(5) { animation-delay: .2s; }
.menu .menu-back { margin-top: 28px; font-family: var(--sans); font-size: 15px; color: var(--muted); animation-delay: .25s; }

/* Botones de cristal */
.btn {
  --x: 50%; --y: 50%;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 42px; padding: 10px 20px; border-radius: 12px; isolation: isolate; overflow: hidden;
  font-size: 13.5px; font-weight: 400; letter-spacing: .01em; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .4s var(--ease), box-shadow .4s, border-color .4s;
}
.btn.glass {
  color: #fff; border: 1px solid rgba(255, 255, 255, .4);
  background: linear-gradient(180deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .02)), rgba(10, 10, 10, .55);
  box-shadow: inset 0 0 10px rgba(255, 255, 255, .18), inset 0 1px 0 rgba(255, 255, 255, .35), 0 0 18px rgba(255, 255, 255, .05);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.btn.glass::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s;
  background: radial-gradient(120px circle at var(--x) var(--y), rgba(255, 255, 255, .28), transparent 70%);
}
.btn.glass:hover { border-color: rgba(255, 255, 255, .85); box-shadow: inset 0 0 14px rgba(255, 255, 255, .3), inset 0 1px 0 rgba(255, 255, 255, .6), 0 0 28px rgba(255, 255, 255, .12); }
.btn.glass:hover::before { opacity: 1; }
.btn.quiet { border-color: rgba(255, 255, 255, .28); box-shadow: inset 0 0 10px rgba(255, 255, 255, .12); }
.btn.small { min-height: 36px; padding: 7px 16px; font-size: 13px; border-radius: 10px; }
.btn.big { min-height: 50px; padding: 13px 32px; font-size: 14.5px; border-radius: 14px; }

/* Píldora */
.pill {
  display: inline-flex; align-items: center; gap: 8px; margin: 0 0 20px; padding: 5px 13px 5px 11px;
  border: 1px solid var(--line); border-radius: 99px; background: rgba(255, 255, 255, .04);
  font-size: 12px; color: #cfccc5; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.dot { width: 5px; height: 5px; border-radius: 50%; background: var(--bone); box-shadow: 0 0 10px rgba(255, 255, 255, .8); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .35; } }

/* Hero */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: grid; place-items: center; overflow: hidden; padding: 120px var(--pad) 140px; text-align: center; }
.hero-media { position: absolute; inset: -6% 0; will-change: transform; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; filter: grayscale(1) brightness(.62) contrast(1.08); transform: scale(1.06); animation: breathe 18s ease-in-out infinite alternate; }
@keyframes breathe { to { transform: scale(1.14) translate(-1.5%, -1%); } }
.hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 45%, rgba(0, 0, 0, .1), rgba(0, 0, 0, .75) 75%), linear-gradient(180deg, rgba(0, 0, 0, .5), transparent 25%, transparent 70%, #000); pointer-events: none; }
.smoke { position: absolute; z-index: 1; border-radius: 50%; filter: blur(70px); mix-blend-mode: screen; pointer-events: none; opacity: .22; }
.smoke.one { width: 52vw; height: 38vw; left: -12vw; top: 18%; background: radial-gradient(closest-side, #fff, transparent); animation: drift1 22s ease-in-out infinite alternate; }
.smoke.two { width: 44vw; height: 30vw; right: -10vw; bottom: 8%; background: radial-gradient(closest-side, #d8d4cc, transparent); animation: drift2 26s ease-in-out infinite alternate; }
@keyframes drift1 { to { transform: translate(18vw, -6vh) scale(1.2); opacity: .32; } }
@keyframes drift2 { to { transform: translate(-16vw, -10vh) scale(1.15); opacity: .14; } }
.hero-inner { position: relative; z-index: 2; display: grid; justify-items: center; max-width: 980px; }
.logotype { margin: 0; width: min(760px, 86vw); color: #fff; filter: drop-shadow(0 0 30px rgba(0, 0, 0, .6)); }
.logotype svg { width: 100%; height: auto; }
.hero-copy { margin: 22px 0 0; max-width: 40ch; font-size: clamp(14px, 1.2vw, 16px); color: #bdbab3; }
.hero-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 30px; }
.scroll-cue { position: absolute; z-index: 2; left: var(--pad); right: var(--pad); bottom: 30px; display: flex; align-items: center; gap: 16px; font-size: 12px; color: #9d9a94; }
.scroll-cue i { flex: 1; height: 1px; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .25), transparent); }
.mouse { width: 16px; height: 25px; border: 1px solid rgba(255, 255, 255, .55); border-radius: 10px; position: relative; flex: none; }
.mouse em { position: absolute; left: 50%; top: 6px; width: 2px; height: 6px; margin-left: -1px; border-radius: 2px; background: #fff; animation: wheel 1.8s var(--ease) infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(-2px); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(8px); } }

/* Cinta de técnicas */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding: 18px 0; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 42s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-group { display: flex; align-items: center; gap: 28px; padding-right: 28px; }
.marquee-group span { font-family: var(--display); font-weight: 200; letter-spacing: -.02em; font-size: clamp(18px, 2vw, 26px); color: #bdbab3; white-space: nowrap; }
.star { width: 12px; height: 12px; fill: #5c5a56; flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Secciones */
section { position: relative; }
.manifesto, .collection, .process, .digital, .extras, .final { padding: clamp(80px, 11vw, 150px) var(--pad); }
.sec-head { max-width: 1240px; margin: 0 auto clamp(32px, 5vw, 56px); }
.display { margin: 0; font-family: var(--display); font-weight: 300; font-size: clamp(32px, 4.4vw, 60px); line-height: 1.05; letter-spacing: -.035em; text-wrap: balance; color: #fff; }
.lead { max-width: 50ch; margin: 18px 0 0; color: #a3a09a; font-size: 15px; }

/* Manifiesto */
.manifesto { display: grid; justify-items: center; text-align: center; }
.manifesto-title { width: min(560px, 86vw); color: var(--bone); }
.manifesto-title svg { width: 100%; height: auto; }
.rings { width: 104px; margin: clamp(40px, 6vw, 64px) 0; opacity: .8; }
.lit { max-width: 40ch; margin: 0; font-family: var(--display); font-weight: 300; letter-spacing: -.015em; font-size: clamp(19px, 2vw, 27px); line-height: 1.45; color: #fff; }
.lit .w { opacity: .2; transition: opacity .25s linear; }
.lit .w.on { opacity: 1; }

/* Colección */
.filters { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 28px; }
.filters button { min-height: 34px; padding: 6px 14px; border: 1px solid var(--line); border-radius: 99px; background: transparent; color: #bdbab3; font-size: 12.5px; cursor: pointer; transition: background .3s, color .3s, border-color .3s; }
.filters button:hover { border-color: var(--line-strong); color: #fff; }
.filters button[aria-selected="true"] { background: var(--bone); border-color: var(--bone); color: #000; }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); max-width: 1240px; margin: 0 auto; }
.card { transition: opacity .5s var(--ease), transform .5s var(--ease); }
.card.out { display: none; }
.card-open { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: pointer; text-align: left; }
.card-media { position: relative; display: block; overflow: hidden; border-radius: 10px; background: var(--graphite); aspect-ratio: 4 / 5; }
.card-media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05) brightness(.9); transform: scale(1.02); transition: filter .9s var(--ease), transform 1.2s var(--ease); }
.card-open:hover .card-media img, .card-open:focus-visible .card-media img { filter: grayscale(0) contrast(1) brightness(1); transform: scale(1.07); }
.card-pill {
  position: absolute; left: 12px; right: 12px; bottom: 12px; display: flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 38px; border-radius: 9px; border: 1px solid rgba(255, 255, 255, .25);
  background: rgba(255, 255, 255, .1); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  font-size: 12.5px; color: #fff; transition: background .4s, transform .5s var(--ease);
}
.card-open:hover .card-pill { background: rgba(255, 255, 255, .2); }
.card-text { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 14px 2px 6px; }
.card-text h3 { margin: 0; font-family: var(--display); font-weight: 400; letter-spacing: -.015em; font-size: 17px; color: #fff; }
.card-text p { margin: 0; font-size: 12px; color: var(--muted); text-align: right; }

/* Proceso */
.process-media { max-width: 1240px; margin: 0 auto; overflow: hidden; border-radius: 12px; aspect-ratio: 2 / 1; }
.process-media img { width: 100%; height: 120%; object-fit: cover; filter: grayscale(1) brightness(.85); will-change: transform; }
.steps { list-style: none; max-width: 1240px; margin: clamp(40px, 6vw, 72px) auto 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); }
.steps li { padding: 28px 24px 8px 0; }
.steps li + li { padding-left: 24px; border-left: 1px solid var(--line); }
.steps .n { display: block; font-family: var(--display); font-size: 12px; font-variant-numeric: tabular-nums; color: var(--muted); }
.steps h3 { margin: 18px 0 8px; font-family: var(--display); font-weight: 400; letter-spacing: -.015em; font-size: 18px; color: #fff; line-height: 1.1; }
.steps p { margin: 0; font-size: 14px; color: #9d9a94; }

/* Digital */
.digital { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; gap: clamp(40px, 7vw, 120px); max-width: calc(1240px + 2 * var(--pad)); margin: 0 auto; }
.phone-wrap { display: grid; place-items: center; position: relative; }
.phone-wrap::before { content: ""; position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 255, 255, .14), transparent); filter: blur(30px); }
.phone { position: relative; width: min(290px, 70vw); aspect-ratio: 9 / 19.3; padding: 11px; border-radius: 46px; background: linear-gradient(145deg, #2b2b2b, #0d0d0d); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14), 0 40px 80px rgba(0, 0, 0, .7); }
.phone-screen { height: 100%; overflow: hidden; border-radius: 36px; background: #111; }
.phone-screen img { width: 100%; animation: phoneScroll 26s cubic-bezier(.65, 0, .35, 1) infinite; }
.phone:hover .phone-screen img { animation-play-state: paused; }
@keyframes phoneScroll { 0%, 8% { transform: translateY(0); } 30%, 40% { transform: translateY(-31%); } 62%, 72% { transform: translateY(-62%); } 92%, 100% { transform: translateY(0); } }
.phone-notch { position: absolute; top: 20px; left: 50%; width: 90px; height: 24px; margin-left: -45px; border-radius: 20px; background: #000; }
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 0; padding: 0; }
.tags li { padding: 5px 11px; border: 1px solid var(--line); border-radius: 7px; background: rgba(255, 255, 255, .03); font-size: 12px; color: #bdbab3; }
.tags.big li { padding: 6px 12px; font-size: 12.5px; }
.row-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.row-cta.center { justify-content: center; margin-top: 48px; }

/* Detalles para invitados */
.mgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 32px) clamp(12px, 1.6vw, 20px); max-width: 1240px; margin: 0 auto; }
.mcard { display: flex; flex-direction: column; gap: 8px; text-decoration: none; color: inherit; }
.mcard.out { display: none; }
.mimg { display: block; aspect-ratio: 1; overflow: hidden; border-radius: 10px; background: #ecebe7; transition: background .5s var(--ease); }
.mimg img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; filter: grayscale(.15); transform: scale(.94); transition: transform .9s var(--ease), filter .6s; }
.mcard:hover .mimg { background: #f6f5f1; }
.mcard:hover .mimg img { transform: scale(1); filter: none; }
.mname { margin-top: 6px; font-size: 14px; font-weight: 400; color: #f2efe9; line-height: 1.3; }
.sw { display: flex; flex-wrap: wrap; gap: 4px; }
.sw i { width: 10px; height: 10px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); }
.sw i.clear { background: repeating-conic-gradient(#8a8a8a 0 25%, #d6d6d6 0 50%) 0 0 / 5px 5px; }
.mmeta { font-size: 12px; line-height: 1.5; color: var(--muted); }

/* Cierre */
.final { display: grid; justify-items: center; text-align: center; overflow: hidden; }
.final::before { content: ""; position: absolute; left: 50%; top: 40%; width: 70vw; height: 40vw; transform: translate(-50%, -50%); background: radial-gradient(closest-side, rgba(255, 255, 255, .09), transparent); filter: blur(40px); pointer-events: none; }
.final-script { margin: 0 0 -.4em; font-family: var(--script); font-size: clamp(72px, 11vw, 150px); line-height: 1; color: #fff; position: relative; z-index: 1; }
.final-title { margin: 0; font-family: var(--display); font-weight: 300; letter-spacing: -.04em; font-size: clamp(38px, 5.6vw, 78px); line-height: 1; color: #fff; }
.final .lead { margin-bottom: 32px; }

/* Pie */
.foot { padding: 48px var(--pad) 32px; border-top: 1px solid var(--line); }
.foot-logo { width: min(1240px, 100%); margin: 0 auto 48px; color: #1f1f1f; }
.foot-logo svg { width: 100%; height: auto; }
.foot-row { max-width: 1240px; margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; font-size: 14px; color: var(--muted); }
.foot-row p { margin: 0; }
.foot-row nav { display: flex; flex-wrap: wrap; gap: 24px; }
.foot-row nav a { text-decoration: none; color: #c9c6bf; }
.foot-row nav a:hover { color: #fff; }
.foot-sepia { width: 120px; color: var(--bone); }
.foot-sepia svg { width: 100%; height: auto; }

/* Vista de detalle */
.lb { width: min(1120px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); padding: 0; border: 1px solid var(--line); border-radius: 18px; background: #0a0a0a; color: var(--text); overflow: hidden; }
.lb::backdrop { background: rgba(0, 0, 0, .78); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.lb[open] { animation: lbIn .5s var(--ease); }
@keyframes lbIn { from { opacity: 0; transform: translateY(20px) scale(.98); } }
.lb-inner { display: grid; grid-template-columns: 1.05fr 1fr; max-height: calc(100dvh - 34px); }
.lb-media { margin: 0; background: #111; min-height: 0; }
.lb-media img { width: 100%; height: 100%; max-height: calc(100dvh - 34px); object-fit: cover; }
.lb-body { padding: clamp(28px, 4vw, 56px); padding-bottom: 96px; overflow-y: auto; display: flex; flex-direction: column; justify-content: center; }
.lb-cat { margin: 0 0 10px; font-size: 13px; color: var(--muted); }
.lb-title { margin: 0; font-family: var(--display); font-weight: 300; letter-spacing: -.03em; font-size: clamp(28px, 3vw, 40px); line-height: 1; color: #fff; }
.lb-desc { margin: 22px 0 0; color: #c2bfb8; }
.lb-body .btn { margin-top: 32px; align-self: flex-start; }
.lb-nav { position: absolute; right: 16px; bottom: 16px; display: flex; gap: 8px; }
.lb-btn { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--line-strong); border-radius: 12px; background: rgba(255, 255, 255, .06); cursor: pointer; transition: background .3s; }
.lb-btn:hover { background: rgba(255, 255, 255, .16); }
.lb-btn svg { width: 18px; height: 18px; fill: none; stroke: #fff; stroke-width: 1.4; }

/* Cursor */
.cursor { position: fixed; left: 0; top: 0; z-index: 80; width: 84px; height: 84px; margin: -42px 0 0 -42px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, .92); color: #000; font-size: 13px; letter-spacing: .06em; pointer-events: none; transform: translate3d(-200px, -200px, 0) scale(0); transition: scale .4s var(--ease); scale: 0; }
.cursor.on { scale: 1; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

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

/* Aparición al hacer scroll */
.js [data-reveal] { opacity: 0; transform: translateY(26px); filter: blur(8px); transition: opacity 1s var(--ease) var(--d, 0s), transform 1.1s var(--ease) var(--d, 0s), filter 1s var(--ease) var(--d, 0s); }
.js [data-reveal].in { opacity: 1; transform: none; filter: blur(0); }
.js [data-split] .w { display: inline-block; opacity: 0; filter: blur(10px); transform: translateY(.3em); transition: opacity .9s var(--ease), filter .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--d, 0s) + var(--i) * 45ms); }
.js [data-split].in .w { opacity: 1; filter: blur(0); transform: none; }

/* Responsivo */
@media (max-width: 980px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .nav-links, .nav-cta { display: none; }
  .menu-btn { display: block; }
  .steps { grid-template-columns: 1fr 1fr; }
  .steps li:nth-child(3) { padding-left: 0; border-left: 0; }
  .steps li:nth-child(n+3) { border-top: 1px solid var(--line); margin-top: 8px; }
  .digital { grid-template-columns: 1fr; }
  .digital-text { order: -1; }
  .lb-inner { grid-template-columns: 1fr; overflow-y: auto; }
  .lb-media img { max-height: 52vh; }
  .lb-body { padding-bottom: 100px; }
}
@media (max-width: 700px) {
  body { font-size: 16px; }
  .nav { padding-block: 12px; }
  .nav-brand { width: 112px; }
  .hero { padding-bottom: 120px; }
  .hero-media img { object-position: 50% 40%; }
  .hero-cta .btn { flex: 1 1 100%; }
  .scroll-cue span { display: none; }
  .grid { grid-template-columns: 1fr; }
  .card-text { flex-direction: column; gap: 2px; }
  .card-text p { text-align: left; }
  .steps { grid-template-columns: 1fr; }
  .steps li, .steps li + li { padding: 24px 0 8px; border-left: 0; }
  .steps li + li { border-top: 1px solid var(--line); margin-top: 8px; }
  .process-media { aspect-ratio: 4 / 3; }
  .mgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mname { font-size: 13px; }
  .row-cta .btn { flex: 1 1 100%; }
  .foot-row { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js [data-reveal], .js [data-split] .w { opacity: 1; transform: none; filter: none; }
  .lit .w { opacity: 1; }
  .grain { display: none; }
}
