/* =========================================================
   Ayelén González — Portfolio
   Dirección: sala oscura / cuaderno de rodaje
   ========================================================= */
:root {
  --bg: #0a0a0b;
  --bg-2: #121214;
  --line: rgba(237, 232, 223, 0.14);
  --ink: #ede8df;
  --ink-2: #a19c94;
  --ink-3: #8f8a82;
  --accent: #e02b16;      /* luz de REC / tally (fondos) */
  --accent-text: #f2553d; /* rojo para texto sobre negro (contraste AA) */
  --accent-2: #ffb347;    /* ámbar de proyector */
  --serif: "Instrument Serif", "Times New Roman", serif;
  --sans: "Geist", system-ui, sans-serif;
  --mono: "Geist Mono", ui-monospace, monospace;
  --gutter: clamp(16px, 4vw, 56px);
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body.is-loading { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
img, video, iframe { display: block; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; }
::selection { background: var(--accent); color: #fff; }

/* ---------- utilidades ---------- */
.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-2);
  display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow .dot, .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
@keyframes blink { 50% { opacity: .25; } }
.h2 {
  font-family: var(--sans);
  font-weight: 500;
  font-size: clamp(40px, 6vw, 92px);
  line-height: .95;
  letter-spacing: -.035em;
}
.h2 em { letter-spacing: -.01em; }
.line { display: block; overflow: hidden; }
.line > span { display: block; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase;
  padding: 14px 22px; border-radius: 999px;
  transition: background .3s var(--ease), color .3s var(--ease), transform .3s var(--ease), border-color .3s;
}
.btn--accent { background: var(--accent); color: #fff; }
.btn--accent:hover { background: #fff; color: var(--bg); }
.btn--ghost { border: 1px solid rgba(237,232,223,.35); color: var(--ink); backdrop-filter: blur(6px); }
.btn--ghost:hover { border-color: var(--ink); background: rgba(237,232,223,.08); }
.btn--pill { border: 1px solid var(--line); padding: 10px 16px; white-space: nowrap; }
.btn--pill:hover { border-color: var(--ink); }

/* ---------- grano ---------- */
.grain {
  position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: .07;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  animation: grain 1s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0,0); } 20% { transform: translate(-3%,2%); } 40% { transform: translate(2%,-4%); }
  60% { transform: translate(-4%,-1%); } 80% { transform: translate(3%,3%); } 100% { transform: translate(0,0); }
}

/* ---------- cursor ---------- */
.cursor {
  position: fixed; left: 0; top: 0; z-index: 95; pointer-events: none;
  width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%;
  background: var(--ink); mix-blend-mode: difference;
  display: grid; place-items: center;
  transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), background .35s;
}
.cursor__label { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: #fff; opacity: 0; transition: opacity .2s; }
.cursor.is-play { width: 92px; height: 92px; margin: -46px 0 0 -46px; background: var(--accent); mix-blend-mode: normal; }
.cursor.is-play .cursor__label { opacity: 1; }
.cursor.is-link { width: 44px; height: 44px; margin: -22px 0 0 -22px; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } .grain { animation: none; inset: 0; } .tool { transition: border-color .4s, background .4s; } .tools .tool:hover { transform: none; } }

/* ---------- intro ---------- */
.intro {
  position: fixed; inset: 0; z-index: 100; background: #000;
  display: grid; place-items: center;
}
.intro__bar { position: absolute; left: 0; right: 0; height: 0; background: #000; z-index: 2; }
.intro__bar--top { top: 0; } .intro__bar--bottom { bottom: 0; }
.intro__center { display: grid; gap: 48px; justify-items: center; padding: 0 var(--gutter); width: 100%; }
.intro__labels {
  display: flex; align-items: center; justify-content: center; gap: clamp(16px, 8vw, 180px);
  font-family: var(--mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink);
  width: 100%; flex-wrap: wrap;
}
.intro__tc { color: var(--accent-text); font-variant-numeric: tabular-nums; }
.intro__choice { display: grid; gap: 18px; justify-items: center; opacity: 0; transform: translateY(10px); }
.intro__hint { font-family: var(--serif); font-style: italic; font-size: clamp(24px, 3vw, 34px); color: var(--ink); }
.intro__btns { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 18px var(--gutter);
  transition: background .4s, backdrop-filter .4s, padding .4s, transform .5s var(--ease);
}
.nav.is-scrolled { background: rgba(10,10,11,.6); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); padding-top: 12px; padding-bottom: 12px; }
.nav.is-hidden { transform: translateY(-110%); }
.logo { width: 76px; height: auto; overflow: visible; }
.logo__frame { fill: none; stroke: var(--ink); stroke-width: 2; }
.logo__a, .logo__g { font-family: var(--serif); font-size: 46px; fill: var(--ink); }
.logo__g { font-style: italic; }
.logo__rec { fill: var(--accent); animation: blink 1.6s steps(2) infinite; }
.nav__links { display: flex; gap: 28px; font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.nav__links a { position: relative; color: var(--ink-2); transition: color .3s; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.nav__links a:hover, .nav__links a.is-active { color: var(--ink); }
.nav__links a.is-active::before { content: ""; position: absolute; left: -12px; top: 50%; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; background: var(--accent); }
.nav__current { display: none; font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); align-items: center; gap: 8px; margin-right: auto; margin-left: 4px; }
.nav__current::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.nav__current:empty { display: none !important; }
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav__right { display: flex; align-items: center; gap: 12px; }
.snd { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 11px; letter-spacing: .12em; color: var(--ink-2); padding: 10px 12px; border-radius: 999px; border: 1px solid var(--line); }
.snd:hover { color: var(--ink); border-color: var(--ink-2); }
.snd__bars { display: inline-flex; align-items: flex-end; gap: 2px; height: 12px; }
.snd__bars i { width: 2px; height: 3px; background: currentColor; border-radius: 1px; transition: height .3s; }
.snd[aria-pressed="true"] { color: var(--ink); }
.snd[aria-pressed="true"] .snd__bars i { background: var(--accent); animation: eq 1s ease-in-out infinite; }
.snd[aria-pressed="true"] .snd__bars i:nth-child(2) { animation-delay: -.3s; }
.snd[aria-pressed="true"] .snd__bars i:nth-child(3) { animation-delay: -.6s; }
.snd[aria-pressed="true"] .snd__bars i:nth-child(4) { animation-delay: -.15s; }
@keyframes eq { 0%,100% { height: 3px; } 50% { height: 12px; } }

/* ---------- hero ---------- */
.hero { position: relative; height: 100svh; min-height: 560px; overflow: hidden; }
.hero__media { position: absolute; inset: 0; overflow: hidden; background: #000; will-change: transform, clip-path; }
.hero__base, .hero__layer video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__layers { position: absolute; inset: 0; }
.hero__layer { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s var(--ease); overflow: hidden; }
.hero__layer.is-on { opacity: 1; }
.yt-cover { position: absolute; top: 50%; left: 50%; width: max(100%, 177.78vh); height: max(100%, 56.25vw); transform: translate(-50%, -50%) scale(1.22); pointer-events: none; border: 0; }
.hero__shade { position: absolute; inset: 0; background:
  linear-gradient(to top, rgba(10,10,11,.95) 0%, rgba(10,10,11,.25) 45%, rgba(10,10,11,.45) 100%),
  radial-gradient(ellipse at center, transparent 40%, rgba(0,0,0,.55) 100%); }

.hud { position: absolute; inset: 96px var(--gutter) clamp(20px, 3.5vh, 36px); pointer-events: none; z-index: 2; font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: rgba(237,232,223,.75); }
.hud__corner { position: absolute; width: 22px; height: 22px; border-color: rgba(237,232,223,.6); border-style: solid; border-width: 0; }
.hud__corner--tl { top: 0; left: 0; border-top-width: 1px; border-left-width: 1px; }
.hud__corner--tr { top: 0; right: 0; border-top-width: 1px; border-right-width: 1px; }
.hud__corner--bl { bottom: 0; left: 0; border-bottom-width: 1px; border-left-width: 1px; }
.hud__corner--br { bottom: 0; right: 0; border-bottom-width: 1px; border-right-width: 1px; }
.hud__top { position: absolute; top: 14px; left: 34px; right: 34px; display: flex; justify-content: space-between; font-variant-numeric: tabular-nums; }
.hud__rec { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); }
.hud__rec i { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); animation: blink 1.2s steps(2) infinite; }
.hud__now { position: absolute; right: 34px; bottom: 14px; text-align: right; display: grid; gap: 4px; }
.hud__k { color: var(--ink-3); }
.hud__v { color: var(--ink); transition: opacity .4s; }

.hero__content { position: absolute; left: calc(var(--gutter) + 34px); right: calc(var(--gutter) + 34px); bottom: clamp(64px, 11vh, 120px); z-index: 3; max-width: 1100px; }
.hero__eyebrow { margin-bottom: 18px; color: var(--ink); }
.hero__title { font-family: var(--sans); font-weight: 500; font-size: clamp(52px, min(12vw, 17vh), 200px); line-height: .86; letter-spacing: -.05em; margin-left: -.04em; }
.hero__title em { letter-spacing: -.02em; font-size: 1.04em; }
.hero__sub { margin-top: 26px; max-width: 520px; color: var(--ink-2); font-size: clamp(15px, 1.3vw, 18px); }
.hero__ctas { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.hero__scroll { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 3; display: grid; justify-items: center; gap: 8px; font-family: var(--mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3); }
.hero__scroll i { width: 1px; height: 36px; background: linear-gradient(var(--ink), transparent); animation: drip 2s var(--ease) infinite; transform-origin: top; }
@keyframes drip { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ---------- marquee ---------- */
.marquee { border-block: 1px solid var(--line); overflow: hidden; padding: 22px 0; background: var(--bg); }
.marquee__track { display: flex; gap: 36px; width: max-content; will-change: transform; font-family: var(--serif); font-style: italic; font-size: clamp(28px, 3.4vw, 52px); white-space: nowrap; }
.marquee__track b { color: var(--accent); font-family: var(--sans); font-size: .5em; align-self: center; font-weight: 400; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- reel vertical ---------- */
.reel { position: relative; background: var(--bg); }
.reel__pin { height: 100svh; display: grid; grid-template-columns: minmax(320px, 34%) 1fr; align-items: center; overflow: hidden; }
.reel__head { padding: 0 var(--gutter); display: grid; gap: 22px; align-content: center; position: relative; z-index: 2; align-self: stretch; background: linear-gradient(to right, var(--bg) 82%, rgba(10,10,11,0)); padding-right: calc(var(--gutter) + 40px); }
.reel__hint { color: var(--ink-2); max-width: 300px; font-size: 15px; }
.reel__head .h2 { font-size: clamp(36px, min(4.6vw, 8.5vh), 80px); }
.reel__head { padding-top: 70px; }
.reel__progress { width: 120px; height: 1px; background: var(--line); position: relative; overflow: hidden; }
.reel__progress i { position: absolute; inset: 0; background: var(--accent); transform: scaleX(0); transform-origin: left; }
.reel__track { display: flex; align-items: center; gap: clamp(14px, 1.6vw, 24px); overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; padding: 24px var(--gutter) 24px 8px; cursor: grab; min-width: 0; }
.reel__track::-webkit-scrollbar { display: none; }
.reel__track.is-dragging { cursor: grabbing; }
.reel__track.is-dragging .short { pointer-events: none; }
.reel__nav { display: flex; align-items: center; gap: 14px; }
.reel__arrow { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); color: var(--ink); font-size: 16px; transition: background .3s, border-color .3s; }
.reel__arrow:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.short {
  position: relative; flex: 0 0 auto; width: clamp(200px, min(19vw, 40svh), 300px); height: auto; aspect-ratio: 9 / 16; align-self: center;
  border-radius: 14px; overflow: hidden; background: var(--bg-2); cursor: pointer;
  transform: translateZ(0); isolation: isolate;
  transition: transform .6s var(--ease);
}
.short:hover { transform: translateY(-8px); }
.short__media { position: absolute; inset: 0; }
.short__media img, .short__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.short__media img { transition: transform 6s linear, opacity .8s; }
.short.is-playing .short__media img.is-poster { opacity: 0; }
.short--still .short__media img { animation: kenburns 14s ease-in-out infinite alternate; }
@keyframes kenburns { from { transform: scale(1.05) translate(0,0); } to { transform: scale(1.25) translate(-4%, -3%); } }
.short .yt-cover { width: 316%; height: 100%; transform: translate(-50%, -50%) scale(var(--yt-zoom, 1.15)); opacity: 0; transition: opacity .8s; }
.short.is-playing .yt-cover { opacity: 1; }
.short::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.85), transparent 45%, rgba(0,0,0,.35)); z-index: 1; pointer-events: none; }
.short__top { position: absolute; top: 12px; left: 12px; right: 12px; z-index: 2; display: flex; justify-content: space-between; font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.short__mute { display: inline-flex; align-items: center; gap: 6px; padding: 5px 8px; border-radius: 999px; background: rgba(0,0,0,.45); backdrop-filter: blur(6px); }
.short__idx { color: var(--ink-2); padding: 5px 0; }
.short__bottom { position: absolute; left: 14px; right: 14px; bottom: 14px; z-index: 2; }
.short__title { font-family: var(--serif); font-size: clamp(30px, 2.4vw, 38px); line-height: 1; }
.short__tag { margin-top: 6px; font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.short__play { position: absolute; right: 14px; bottom: 16px; z-index: 2; width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,.4); display: grid; place-items: center; transition: background .3s, border-color .3s; }
.short:hover .short__play { background: var(--accent); border-color: var(--accent); }
.short__play svg { width: 12px; margin-left: 2px; fill: #fff; }
.short__bar { position: absolute; left: 0; right: 0; top: 0; height: 2px; z-index: 3; background: rgba(255,255,255,.15); }
.short__bar i { display: block; height: 100%; width: 0; background: var(--ink); }
.short__bar { display: none; }
@keyframes shortbar { to { width: 100%; } }

/* ---------- trabajos ---------- */
.works { position: relative; background: var(--bg); }
.works__intro { min-height: 70vh; display: grid; align-content: center; justify-items: center; text-align: center; gap: 18px; padding: 120px var(--gutter) 80px; }
.works__title { font-family: var(--serif); font-weight: 400; font-size: clamp(80px, 16vw, 260px); line-height: 1; letter-spacing: -.03em; padding-bottom: .06em; }
.works__count { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.works__count span { color: var(--accent-text); }

.work { position: sticky; top: 0; height: 100svh; overflow: hidden; background: #000; }
.work__inner { position: absolute; inset: 0; transform-origin: 50% 0%; will-change: transform; }
.work__media { position: absolute; inset: 0; overflow: hidden; }
.work__media img, .work__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.work__media .yt-cover { opacity: 0; transition: opacity 1.2s; }
.work.is-playing .work__media .yt-cover { opacity: 1; }
.work__media img { transform: scale(1.08); }
.work__shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.92) 0%, rgba(0,0,0,.35) 50%, rgba(0,0,0,.5) 100%); }
.work__dim { position: absolute; inset: 0; background: #000; opacity: 0; pointer-events: none; }
.work__top { position: absolute; top: 96px; left: var(--gutter); right: var(--gutter); display: flex; justify-content: space-between; font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); z-index: 2; }
.work__status { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); }
.work__title-wrap { position: absolute; left: 0; right: 0; top: 44%; transform: translateY(-50%); text-align: center; z-index: 2; padding: 0 var(--gutter); }
.work__title { font-family: var(--serif); font-weight: 400; font-size: clamp(64px, 11vw, 190px); line-height: .9; letter-spacing: -.02em; text-shadow: 0 10px 60px rgba(0,0,0,.4); }
.work__role { display: inline-block; margin-top: 18px; font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; padding: 7px 12px; border-radius: 999px; background: var(--accent); color: #fff; }
.work__meta { position: absolute; left: var(--gutter); right: var(--gutter); bottom: clamp(28px, 5vh, 48px); z-index: 2; display: grid; grid-template-columns: 1fr 1.6fr 1.4fr auto; gap: 32px; align-items: end; border-top: 1px solid var(--line); padding-top: 22px; }
.work__col .k { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 8px; }
.work__col p, .work__col li { font-size: 14px; color: var(--ink); line-height: 1.5; }
.work__col ul { list-style: none; display: grid; gap: 4px; }
.work__col li span { color: var(--ink-2); }
.work__num { font-family: var(--serif); font-size: 44px; line-height: 1; }
.work__actions { display: flex; flex-direction: column; gap: 8px; align-items: flex-end; }
.work__actions .btn { padding: 11px 16px; white-space: nowrap; }
.work__eps { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.work--none .work__media { background:
  repeating-linear-gradient(90deg, rgba(237,232,223,.035) 0 1px, transparent 1px 120px),
  radial-gradient(ellipse at 50% 40%, #2a1410 0%, #0a0a0b 70%); }
.slate { position: absolute; left: 50%; top: 22%; transform: translateX(-50%); width: min(340px, 60vw); opacity: .9; }
.slate__top { height: 34px; background: repeating-linear-gradient(-45deg, var(--ink) 0 22px, #111 22px 44px); border-radius: 4px 4px 0 0; transform-origin: 0 100%; animation: slate 3.2s var(--ease) infinite; }
.slate__body { border: 1px solid var(--line); border-top: 0; padding: 14px 16px; font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); display: grid; grid-template-columns: 1fr 1fr; gap: 8px; background: rgba(0,0,0,.4); }
.slate__body b { color: var(--ink); font-weight: 500; }
.work--none .work__title-wrap { top: 56%; }
@media (max-width: 760px) { .slate { top: 15%; } .work--none .work__title-wrap { top: 48%; } }
@keyframes slate { 0%, 60%, 100% { transform: rotate(0); } 70% { transform: rotate(-16deg); } 78% { transform: rotate(0); } }

/* ---------- sobre mí ---------- */
.about { padding: clamp(120px, 18vh, 200px) var(--gutter); display: grid; gap: 40px; max-width: 1400px; margin: 0 auto; }
.about__text { font-family: var(--sans); font-weight: 400; font-size: clamp(28px, 3.6vw, 56px); line-height: 1.12; letter-spacing: -.025em; }
.about__text .w { opacity: .14; transition: opacity .2s; }
.about__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; border-top: 1px solid var(--line); padding-top: 32px; margin-top: 20px; }
.stat { display: grid; grid-template-columns: auto 1fr; align-items: baseline; column-gap: 4px; }
.stat__n { font-family: var(--serif); font-size: clamp(64px, 7vw, 110px); line-height: .9; }
.stat__plus { font-family: var(--serif); font-size: 48px; color: var(--accent); }
.stat__l { grid-column: 1 / -1; margin-top: 10px; color: var(--ink-2); font-size: 14px; max-width: 240px; }

/* ---------- lugares ---------- */
.places { padding: 80px var(--gutter) 140px; position: relative; }
.places__head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 56px; flex-wrap: wrap; }
.places__list { list-style: none; border-top: 1px solid var(--line); }
.place { border-bottom: 1px solid var(--line); }
.place a, .place > div { display: grid; grid-template-columns: 56px 1.4fr 1.2fr 0.6fr; align-items: center; gap: 20px; padding: 26px 0; position: relative; transition: padding .5s var(--ease), color .3s; }
.place:hover a, .place:hover > div { padding-left: 18px; }
.place__icon { width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); display: grid; place-items: center; color: var(--ink-2); transition: background .3s, color .3s, border-color .3s; }
.place__icon svg { width: 20px; height: 20px; }
.place:hover .place__icon { background: var(--accent); color: #fff; border-color: var(--accent); }
.place__name { font-size: clamp(22px, 2.4vw, 36px); letter-spacing: -.02em; font-weight: 500; line-height: 1.1; }
.place__role { color: var(--ink-2); font-size: 15px; }
.place__years { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); text-align: right; }
.places__preview { position: fixed; left: 0; top: 0; z-index: 40; pointer-events: none; max-width: 280px; padding: 14px 16px; border-radius: 12px; background: var(--ink); color: var(--bg); font-size: 14px; line-height: 1.4; opacity: 0; transform: translate(-50%, -120%) scale(.9); transition: opacity .25s, transform .35s var(--ease); }
.places__preview.is-on { opacity: 1; transform: translate(-50%, -120%) scale(1); }

/* ---------- herramientas ---------- */
.tools { padding: 40px var(--gutter) 140px; }
.tools__head { margin-bottom: 56px; display: grid; gap: 18px; }
.tools__grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.tool { border: 1px solid var(--line); border-radius: 18px; padding: 22px; display: grid; gap: 40px; min-height: 190px; align-content: space-between; transition: border-color .4s, background .4s, transform .5s var(--ease); background: var(--bg-2); }
.tool:hover { border-color: rgba(237,232,223,.4); transform: translateY(-6px); }
.tool__icon { width: 64px; height: 64px; }
.tool__name { font-size: 15px; font-weight: 500; }
.tool__name small { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); font-weight: 400; margin-top: 4px; }
.skills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 40px; }
.skills span { border: 1px solid var(--line); border-radius: 999px; padding: 10px 16px; font-size: 14px; color: var(--ink-2); transition: color .3s, border-color .3s; }
.skills span:hover { color: var(--ink); border-color: var(--accent); }

/* ---------- contacto ---------- */
.contact__head { display: grid; gap: 18px; }
.contact { padding: 100px var(--gutter) 40px; border-top: 1px solid var(--line); display: grid; gap: 40px; }
.contact__grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.contact__item { padding: 24px 20px 24px 0; display: grid; gap: 6px; border-right: 1px solid var(--line); transition: color .3s; }
.contact__item + .contact__item { padding-left: 20px; }
.contact__item:last-child { border-right: 0; }
.contact__item .k { font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); }
.contact__item .v { font-size: 16px; overflow-wrap: anywhere; }
.contact__item:hover .v { color: var(--accent-text); }

.footer { padding: 0 var(--gutter) 28px; }
.footer__row { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); border-top: 1px solid var(--line); padding-top: 20px; margin-top: 0; }
.footer__row a:hover { color: var(--ink); }

/* ---------- modal ---------- */
.modal { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: var(--gutter); }
.modal[hidden] { display: none; }
.modal__bg { position: absolute; inset: 0; background: rgba(0,0,0,.92); backdrop-filter: blur(8px); }
.modal__inner { position: relative; width: min(1200px, 100%, calc((100svh - 150px) * 16 / 9)); display: grid; gap: 14px; }
.modal__head { display: flex; justify-content: space-between; align-items: center; font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.modal__title { color: var(--ink); display: inline-flex; align-items: center; gap: 10px; }
.modal__title::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.modal__close { color: var(--ink-2); padding: 8px 0; }
.modal__close:hover { color: var(--ink); }
.modal__player { position: relative; aspect-ratio: 16 / 9; background: #000; border-radius: 10px; overflow: hidden; }
.modal__unmute { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 3; font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; padding: 12px 18px; border-radius: 999px; background: var(--accent); color: #fff; }
.modal__player iframe, .modal__player video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.modal__meta { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); display: flex; gap: 18px; flex-wrap: wrap; }
.modal__meta a { color: var(--ink-2); } .modal__meta a:hover { color: var(--accent-text); }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .nav__links { display: none; }
  .nav__current { display: inline-flex; }
  .tools__grid { grid-template-columns: repeat(3, 1fr); }
  .work__meta { grid-template-columns: 1fr 1fr; }
  .work__actions { align-items: flex-start; grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; }
  .work__eps { justify-content: flex-start; }
}
@media (max-width: 760px) {
  .reel__pin { height: 100svh; display: flex; flex-direction: column; justify-content: center; gap: 22px; padding-top: 70px; }
  .reel__head { align-self: auto; background: none; padding-right: var(--gutter); gap: 12px; }
  .reel__head .h2 { font-size: 36px; }
  .reel__hint { font-size: 14px; }
  .reel__track { padding: 16px var(--gutter); align-self: stretch; width: 100%; }
  .reel__arrow { width: 38px; height: 38px; }
  .short { width: min(52vw, calc((100svh - 420px) * 0.5625)); }
  .reel__head { padding-top: 0; }
  .hud__now { display: none; }
  .work__top { top: 84px; }
  .work__title-wrap { top: 34%; }
  .hero__content { left: var(--gutter); right: var(--gutter); }
  .work__meta { grid-template-columns: 1fr; gap: 16px; }
  .work__col--credits, .work__col--num { display: none; }
  .about__stats { grid-template-columns: 1fr; }
  .place a, .place > div { grid-template-columns: 44px 1fr; gap: 6px 16px; }
  .place__icon { grid-row: span 3; align-self: start; }
  .place__years { text-align: left; }
  .tools__grid { grid-template-columns: repeat(2, 1fr); }
  .contact__grid { grid-template-columns: 1fr; }
  .contact__item, .contact__item + .contact__item { border-right: 0; border-bottom: 1px solid var(--line); padding-left: 0; }
  .snd__txt { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .about__text .w { opacity: 1; }
}
