/* leonardbrinaru.com — v20261106
   Paleta: negro, blanco marfil y rojo de sala de cine. Títulos en Inter Tight,
   texto en Helvetica Neue / Arial. */

/* ---------- tipografía alojada en el propio servidor (Inter Tight, OFL) ---------- */
/* inter-tight-latin-ext-300-normal */
@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-display: swap;
  font-weight: 300;
  src: url(fonts/inter-tight-latin-ext-300-normal.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
/* inter-tight-latin-300-normal */
@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-display: swap;
  font-weight: 300;
  src: url(fonts/inter-tight-latin-300-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
/* inter-tight-latin-ext-400-normal */
@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(fonts/inter-tight-latin-ext-400-normal.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
/* inter-tight-latin-400-normal */
@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(fonts/inter-tight-latin-400-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
/* inter-tight-latin-ext-500-normal */
@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url(fonts/inter-tight-latin-ext-500-normal.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
/* inter-tight-latin-500-normal */
@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url(fonts/inter-tight-latin-500-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
/* inter-tight-latin-ext-600-normal */
@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url(fonts/inter-tight-latin-ext-600-normal.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
/* inter-tight-latin-600-normal */
@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url(fonts/inter-tight-latin-600-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

/* ---------- tokens ---------- */
:root {
  --ink-rgb: 16, 13, 11;
  --bg-rgb: 24, 20, 18;
  --ink: #100d0b;
  --navy: #181412;
  --navy-2: #211c19;
  --navy-3: #2c2622;
  --paper: #eeedeb;
  --teal: #b0151e;
  --teal-hi: #e2403f;
  --text: #f3ece2;
  --muted: #a89c8e;
  --soft: rgba(243, 236, 226, 0.82);
  --line: rgba(243, 236, 226, 0.11);
  --line-strong: rgba(243, 236, 226, 0.22);
  --serif: "Inter Tight", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --r: 4px;
  --font: "Inter Tight", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --wrap: 1180px;
  --pad: clamp(20px, 4vw, 40px);
  --header-h: 68px;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--navy); color: var(--text);
  font: 400 17px/1.6 var(--font); -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--teal-hi); outline-offset: 3px; border-radius: 2px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--teal); color: var(--navy); padding: 10px 14px; border-radius: var(--r); }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
.muted { color: var(--muted); }
.small { font-size: 0.9375rem; }

/* ---------- type ---------- */
h1 {
  font-family: var(--serif); font-weight: 300; font-size: clamp(2.6rem, 6vw, 5.2rem); line-height: 1;
  letter-spacing: -0.035em; max-width: 15ch; text-wrap: balance;
}
h2 { font-family: var(--serif); font-weight: 300; font-size: clamp(1.75rem, 3.2vw, 2.75rem); line-height: 1.08; letter-spacing: -0.03em; text-wrap: balance; }
h3 { font-weight: 600; font-size: 1.0625rem; line-height: 1.3; }
.lede { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--text); max-width: 46ch; margin-top: 22px; line-height: 1.5; }
.body { color: var(--soft); max-width: 60ch; margin-top: 16px; }
.role { color: var(--muted); font-size: 0.9375rem; margin-bottom: 22px; max-width: 60ch; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 22px; border-radius: var(--r);
  font-weight: 600; font-size: 0.9375rem; transition: background .2s, color .2s, border-color .2s;
}
.btn-solid { background: var(--teal); color: #fff; }
@media (hover: hover) {
.btn-solid:hover { background: #c81c25; } }
.btn-line { border: 1px solid var(--line-strong); }
@media (hover: hover) {
.btn-line:hover { border-color: var(--teal); color: var(--teal-hi); } }
.btn-sm { min-height: 38px; padding: 0 16px; font-size: 0.9375rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40; height: var(--header-h);
  background: var(--navy);
}
.site-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(242,238,230,.12) 20%, rgba(224,51,59,.35) 50%, rgba(242,238,230,.12) 80%, transparent); transition: opacity .3s; }
@supports (backdrop-filter: blur(8px)) {
  .site-header { background: rgba(var(--bg-rgb), 0.72); -webkit-backdrop-filter: blur(16px) saturate(1.3); backdrop-filter: blur(16px) saturate(1.3); }
}
.site-header.over:not(.solid)::after { opacity: 0; }
.header-row { height: 100%; display: flex; align-items: center; gap: 30px; }
.wordmark { font-weight: 300; font-size: 0.8125rem; letter-spacing: 0.34em; text-transform: uppercase; white-space: nowrap; }
.nav { margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: 24px; font-size: 0.8125rem; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; }
.nav-list > li > a { position: relative; color: var(--muted); padding: 24px 0; transition: color .2s; }
.nav-list > li > a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 16px; height: 1px; background: var(--teal-hi); transform: scaleX(0); transform-origin: left; transition: transform .35s cubic-bezier(.2,.7,.2,1); }
.nav-list > li > a:hover, .nav-list a[aria-current="page"] { color: var(--text); }
.nav-list > li > a:hover::after, .nav-list > li > a[aria-current="page"]::after { transform: scaleX(1); }
.nav-list > li > a[aria-current="page"]::after { height: 2px; }
.has-sub { position: relative; }
.sub {
  position: absolute; top: calc(100% + 22px); left: -18px; min-width: 220px;
  background: var(--navy-2); border: 1px solid var(--line); border-radius: var(--r);
  padding: 8px; opacity: 0; visibility: hidden; transform: translateY(-4px);
  transition: opacity .18s, transform .18s, visibility .18s;
}
.has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
.sub a { display: flex; justify-content: space-between; padding: 8px 10px; border-radius: var(--r); color: var(--muted); }
@media (hover: hover) {
.sub a:hover { background: var(--navy-3); color: var(--text); } }
.n { color: var(--teal-hi); font-size: 0.8125rem; margin-left: 10px; }
.langs, .menu-langs { display: flex; gap: 2px; font-size: 0.8125rem; letter-spacing: .1em; }
.langs { padding-left: 6px; }
.langs a, .menu-langs a { position: relative; display: inline-flex; align-items: center; gap: 6px; padding: 6px 7px; border-radius: var(--r); color: var(--muted); transition: color .2s, background .2s; }
.langs a .flag, .menu-langs a .flag { width: 18px; height: 12px; border-radius: 2px; display: block; opacity: .45; filter: saturate(.4); transition: opacity .2s, filter .2s; box-shadow: 0 0 0 1px rgba(242,238,230,.12); }
.langs a:hover .flag, .langs a[aria-current] .flag, .menu-langs a[aria-current] .flag, .menu-langs a:hover .flag { opacity: 1; filter: none; }
.langs a[aria-current], .menu-langs a[aria-current] { color: var(--text); background: rgba(242,238,230,.06); }
.langs a[aria-current]::after { content: ""; position: absolute; left: 7px; right: 7px; bottom: 0; height: 2px; background: var(--teal-hi); }
@media (hover: hover) {
.langs a:hover, .menu-langs a:hover { color: var(--text); } }
.menu-langs a { padding: 8px 10px; font-size: 0.9375rem; }
.menu-btn { display: none; width: 44px; height: 44px; margin-left: auto; position: relative; }
.bars, .bars::before, .bars::after { position: absolute; left: 11px; width: 22px; height: 1.5px; background: var(--text); transition: transform .2s; }
.bars { top: 21px; } .bars::before { content: ""; top: -7px; left: 0; } .bars::after { content: ""; top: 7px; left: 0; }
.menu-btn[aria-expanded="true"] .bars { background: transparent; }
.menu-btn[aria-expanded="true"] .bars::before { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .bars::after { transform: translateY(-7px) rotate(-45deg); }
.menu-panel {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 39; background: var(--navy);
  padding: 24px var(--pad) 40px; overflow-y: auto;
}
.menu-panel ul { display: grid; grid-template-columns: 1fr 1fr; column-gap: 12px; row-gap: 0; }
.menu-panel li { grid-column: 1 / -1; }
.menu-panel li.m-emo { grid-column: auto; }
.menu-panel li a { display: block; padding: 11px 0; font-size: 1.3125rem; border-bottom: 1px solid var(--line); }
.menu-panel .m-emo a { font-size: 0.9375rem; color: var(--muted); padding: 10px 0 10px 14px; border-bottom: 0; position: relative; }
.menu-panel .m-emo a::before { content: ""; position: absolute; left: 0; top: calc(50% - 1px); width: 7px; height: 2px; background: var(--teal-hi); opacity: .8; }
.menu-panel li.m-emo + li:not(.m-emo) { margin-top: 8px; border-top: 1px solid var(--line); }
.menu-panel > p { margin: 22px 0; }
.menu-panel .btn { width: 100%; }

/* ---------- sections ---------- */
.hero { padding: clamp(48px, 7vw, 96px) 0 clamp(40px, 5vw, 64px); }
.hero-full, .hero-emo { position: relative; overflow: hidden; isolation: isolate; display: flex; align-items: flex-end; }
.hero-full { min-height: calc(100vh - var(--header-h)); min-height: calc(100svh - var(--header-h)); padding-bottom: clamp(48px, 9vh, 110px); }
.hero-emo { min-height: 62vh; padding-bottom: clamp(40px, 6vh, 72px); }
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; transform-origin: 70% 60%; animation: drift 26s ease-in-out infinite alternate; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(var(--bg-rgb), .92) 0%, rgba(var(--bg-rgb), .55) 45%, rgba(var(--bg-rgb), .1) 100%),
  linear-gradient(0deg, var(--navy) 0%, rgba(var(--bg-rgb), 0) 40%); }
.hero-in { position: relative; }
@keyframes drift { from { transform: scale(1.02); } to { transform: scale(1.12) translate(-1.5%, -1%); } }
.js .intro { opacity: 0; transform: translateY(16px); animation: rise .7s cubic-bezier(0.23, 1, 0.32, 1) both; animation-delay: calc(var(--d, 0) * 120ms + 80ms); }
@keyframes rise { to { opacity: 1; transform: none; } }
.js .rv { opacity: 0; transform: translateY(22px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
.js .rv.in { opacity: 1; transform: none; }
.site-header.over:not(.solid) { background: transparent; border-bottom-color: transparent; backdrop-filter: none; }
.site-header.over { margin-bottom: calc(var(--header-h) * -1); }
.site-header { transition: background .3s, border-color .3s; }
#trabajo { padding-top: clamp(40px, 5vw, 64px); }
.hero-sm { padding: clamp(48px, 7vw, 88px) 0 clamp(36px, 5vw, 56px); }
.band { padding: clamp(56px, 8vw, 104px) 0; border-top: 1px solid var(--line); }
.band-tight { padding-top: clamp(24px, 4vw, 40px); border-top: 0; }
.band-alt { background: var(--navy-2); }
.band-light { background: var(--paper); color: var(--navy); border-top: 0; }
.band-light .sec-head p, .band-light .step p { color: #45423f; }
.sec-head { display: grid; gap: 14px; margin-bottom: clamp(28px, 4vw, 44px); max-width: 720px; }
.sec-head p { color: var(--soft); max-width: 60ch; font-size: 1.0625rem; }
.h-small { font-size: 1.3125rem; font-weight: 600; margin-bottom: 20px; }
.more { margin-top: 28px; }
.crumbs a { color: var(--teal-hi); transition: color .2s; }
@media (hover: hover) {
.crumbs a:hover { color: var(--text); } }
.more a { position: relative; display: inline-flex; align-items: center; gap: 12px; color: var(--text); padding-bottom: 6px; transition: color .3s; }
.more a::after { content: ""; width: 26px; height: 1px; background: var(--teal-hi); transform-origin: left; transition: transform .3s cubic-bezier(0.23, 1, 0.32, 1); }
.more a::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: linear-gradient(90deg, var(--teal-hi), rgba(224,51,59,0)); transform: scaleX(0); transform-origin: left; opacity: 0; transition: transform .6s cubic-bezier(.2,.7,.2,1), opacity .4s; }
@media (hover: hover) {
.more a:hover { color: #fff; } }
@media (hover: hover) {
.more a:hover::after { transform: scaleX(1.7); } }
@media (hover: hover) {
.more a:hover::before { transform: scaleX(1); opacity: 1; } }
.band-light .more a { color: var(--navy); }
.crumbs { color: var(--muted); font-size: 0.9375rem; margin-bottom: 18px; }

/* ---------- filter chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.chip {
  border: 1px solid var(--line-strong); border-radius: var(--r); padding: 7px 14px;
  font-size: 0.9375rem; color: var(--muted); transition: color .18s, border-color .18s, background-color .18s;
}
.chip span { opacity: 0.7; margin-left: 4px; font-size: 0.8125rem; }
@media (hover: hover) {
.chip:hover { color: var(--text); border-color: var(--text); } }
.chip[aria-pressed="true"] { background: var(--teal); border-color: var(--teal); color: #fff; }

/* ---------- work list (signature) ---------- */
.works { border-top: 1px solid var(--line); }
.work { border-bottom: 1px solid var(--line); position: relative; }
.work[hidden] { display: none; }
.work::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 2px;
  background: var(--teal-hi); transform: scaleY(0); transition: transform .25s;
}
.work.is-on::before { transform: scaleY(1); }
.w-row {
  display: grid; align-items: center; gap: 18px; padding: 16px 0 16px 14px;
  grid-template-columns: 50px minmax(0, 1.5fr) 110px 54px minmax(140px, 1.4fr) 96px;
}
.works--solo .w-row { grid-template-columns: 50px minmax(0, 1.5fr) 54px minmax(140px, 1.6fr) 96px; }
@media (hover: hover) {
.work:hover .w-row { background: linear-gradient(90deg, var(--navy-2), transparent 85%); } }
.play {
  position: relative; width: 50px; height: 50px; border-radius: var(--r); display: grid; place-items: center; overflow: hidden;
  background: var(--navy-3); color: var(--teal-hi); border: 1px solid var(--line-strong);
  transition: background .25s, color .25s, border-color .25s, transform .25s cubic-bezier(.2,.7,.2,1);
}
.play::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--teal-hi); transform: scaleX(0); transform-origin: left; transition: transform .35s cubic-bezier(.2,.7,.2,1); }
.play .ic { grid-area: 1 / 1; position: relative; z-index: 1; display: grid; place-items: center; }
.play .ic svg { width: 16px; height: 16px; fill: currentColor; }
.play .ic-play svg { margin-left: 2px; }
.play .ic-pause, .play .ic-eq, .is-on .play .ic-play { display: none; }
.is-on .play .ic-eq { display: flex; }
@media (hover: hover) {
.is-on .play:hover .ic-eq { display: none; } }
@media (hover: hover) {
.is-on .play:hover .ic-pause { display: grid; } }
@media (hover: hover) {
.play:hover { background: var(--teal); color: #fff; border-color: var(--teal); } }
@media (hover: hover) {
.play:hover::before { transform: scaleX(1); background: #fff; opacity: .5; } }
.is-on .play { background: var(--teal); color: #fff; border-color: var(--teal); }
.ic-eq { align-items: flex-end; gap: 3px; height: 16px; }
.ic-eq i { display: block; width: 3px; height: 100%; background: currentColor; border-radius: 1px; transform-origin: bottom; animation: eq 1s ease-in-out infinite; }
.ic-eq i:nth-child(2) { animation-delay: -.35s; animation-duration: .8s; }
.ic-eq i:nth-child(3) { animation-delay: -.6s; animation-duration: 1.15s; }
.ic-eq i:nth-child(4) { animation-delay: -.15s; animation-duration: .9s; }
@keyframes eq { 0%, 100% { transform: scaleY(.25); } 50% { transform: scaleY(1); } }
@media (prefers-reduced-motion: reduce) { .ic-eq i { animation: none; transform: scaleY(.6); } }
.w-title { font-family: var(--serif); font-size: 1.0625rem; font-weight: 500; line-height: 1.2; }
.w-tag { display: inline-block; vertical-align: middle; margin-left: 8px; font-family: var(--font); font-size: 0.8125rem; font-weight: 500; letter-spacing: 0.02em; color: var(--muted); border: 1px solid var(--line-strong); border-radius: var(--r); padding: 2px 7px; position: relative; top: -2px; }
.w-desc { color: var(--soft); font-size: 0.9375rem; margin-top: 2px; }
.w-emo { font-size: 0.9375rem; color: var(--teal-hi); }
@media (hover: hover) {
.w-emo:hover { text-decoration: underline; text-underline-offset: 4px; } }
.w-kind { font-size: 0.8125rem; color: var(--muted); border: 1px solid var(--line); border-radius: var(--r); padding: 2px 7px; justify-self: start; }
.w-dur { font-size: 0.9375rem; color: var(--muted); font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }
.wave { position: relative; height: 52px; cursor: pointer; }
.wave-tip { position: absolute; bottom: calc(100% + 4px); transform: translateX(-50%); padding: 3px 7px; border-radius: var(--r); background: var(--paper); color: var(--navy); font-size: 0.8125rem; font-variant-numeric: tabular-nums; pointer-events: none; opacity: 0; transition: opacity .15s; white-space: nowrap; }
.wave-tip.on { opacity: 1; }
.wave canvas { width: 100%; height: 100%; display: block; }
.thumb { height: 52px; overflow: hidden; border-radius: var(--r); background: var(--navy-3); max-width: 92px; }
.thumb img { width: 100%; height: 100%; object-fit: cover; display: block; opacity: 0.85; }
.w-video { padding: 4px 0 26px 76px; }
.ratio { position: relative; aspect-ratio: 16 / 9; background: #000; border-radius: var(--r); overflow: hidden; max-width: 860px; }
.ratio iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.w-yt { display: inline-block; margin-top: 10px; font-size: 0.9375rem; color: var(--muted); }
@media (hover: hover) {
.w-yt:hover { color: var(--text); } }
.empty { position: relative; display: grid; gap: 18px; justify-items: start; padding: 26px 28px 28px 30px; max-width: 640px; color: var(--soft);
  background: linear-gradient(90deg, rgba(163,18,27,.12), transparent 70%); border-left: 2px solid var(--teal-hi); border-radius: 0 var(--r) var(--r) 0; }
.empty p { font-size: 1.0625rem; line-height: 1.55; color: var(--text); opacity: .85; max-width: 46ch; }

/* ---------- reels (vídeo grande en páginas de emoción) ---------- */
.reels { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; margin-bottom: 32px; }
.reels--one { grid-template-columns: minmax(0, 1fr); }
.reels .reel:first-child:nth-last-child(3) { grid-column: 1 / -1; }
.reel[hidden], .work[hidden] { display: none; }
.reel-media { position: relative; aspect-ratio: 16 / 9; background: #000; border-radius: var(--r); overflow: hidden; }
.reel-media iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.reel-poster { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; }
.reel-poster img { width: 100%; height: 100%; object-fit: cover; display: block; opacity: .78; transition: opacity .5s, transform 1.4s cubic-bezier(.2,.7,.2,1); }
.reel-poster::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(var(--bg-rgb), .75) 0%, rgba(var(--bg-rgb), 0) 45%); pointer-events: none; }
@media (hover: hover) {
.reel-poster:hover img { opacity: 1; transform: scale(1.04); } }
.reel-cta { position: absolute; left: 20px; bottom: 20px; z-index: 2; display: inline-flex; align-items: center; gap: 12px;
  padding: 10px 16px 10px 10px; border-radius: var(--r); color: #fff;
  background: rgba(var(--bg-rgb), .62); border: 1px solid rgba(255,255,255,.14); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  transition: background .3s, border-color .3s, transform .4s cubic-bezier(.2,.7,.2,1); }
.reel-ic { width: 34px; height: 34px; border-radius: 3px; display: grid; place-items: center; background: var(--teal); transition: background .3s; }
.reel-ic svg { width: 14px; height: 14px; fill: #fff; margin-left: 2px; }
.reel-lbl { font-size: 0.8125rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }
.reel-dur { font-size: 0.8125rem; letter-spacing: .08em; color: rgba(255,255,255,.6); padding-left: 12px; border-left: 1px solid rgba(255,255,255,.2); font-variant-numeric: tabular-nums; }
.reel-line { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; z-index: 2; background: linear-gradient(90deg, transparent, var(--teal-hi) 20%, #fff 50%, var(--teal-hi) 80%, transparent);
  transform: scaleX(0); transform-origin: left; opacity: 0; transition: transform .9s cubic-bezier(.2,.7,.2,1), opacity .4s; box-shadow: 0 0 14px rgba(224,51,59,.8); }
.reel-poster:hover .reel-cta, .reel-poster:focus-visible .reel-cta { background: var(--teal); border-color: var(--teal); transform: translateY(-2px); }
@media (hover: hover) {
.reel-poster:hover .reel-ic { background: rgba(0,0,0,.25); } }
@media (hover: hover) {
.reel-poster:hover .reel-dur { color: rgba(255,255,255,.85); } }
@media (hover: hover) {
.reel-poster:hover .reel-line { transform: scaleX(1); opacity: 1; } }
.reel-meta { position: relative; padding: 18px 0 0; }
.reel-meta::before { content: ""; position: absolute; left: 0; top: 0; width: 36px; height: 2px; background: var(--teal-hi); transition: width .6s cubic-bezier(.2,.7,.2,1); }
@media (hover: hover) {
.reel:hover .reel-meta::before { width: 100%; } }
.rm-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 8px; }
.rm-eyebrow { display: flex; flex-wrap: wrap; align-items: center; gap: 0 10px; font-size: 0.8125rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.rm-eyebrow > * + *::before { content: ""; display: inline-block; width: 10px; height: 1px; background: currentColor; opacity: .6; margin-right: 10px; vertical-align: middle; position: relative; top: -1px; }
.rm-eyebrow .w-emo { color: var(--teal-hi); letter-spacing: .18em; font-size: inherit; }
.rm-eyebrow span:last-child { font-variant-numeric: tabular-nums; }
.reel-meta h3 { font-family: var(--serif); font-size: clamp(1.3125rem, 2.2vw, 1.75rem); font-weight: 400; letter-spacing: -0.015em; line-height: 1.15; }
.rm-kind { margin-top: 6px; font-family: var(--serif); font-weight: 300; font-size: 1.0625rem; color: var(--text); opacity: .85; }
.rm-pal { margin-top: 10px; font-size: 0.9375rem; color: var(--soft); max-width: 60ch; }
.rm-pal .w-role-l { margin-right: 8px; }
.rm-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.rm-foot .w-role { margin: 0; }
.rm-yt { flex: none; display: inline-flex; align-items: center; gap: 6px; font-size: 0.9375rem; color: var(--muted); transition: color .2s; }
.rm-yt span { transition: transform .25s; }
@media (hover: hover) {
.rm-yt:hover { color: var(--teal-hi); } }
@media (hover: hover) {
.rm-yt:hover span { transform: translate(2px, -2px); } }
.reel-meta .w-yt { margin-top: 4px; }

/* ---------- emotion grid (tarjetas con imagen) ---------- */
.e-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.e-card { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--r); background: var(--navy-2); isolation: isolate; }
.e-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.4s cubic-bezier(.2,.7,.2,1), filter .6s; filter: saturate(.9) brightness(.85); }
.e-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(var(--bg-rgb), 0) 30%, rgba(var(--bg-rgb), .88) 100%); }
@media (hover: hover) {
.e-card:hover img { transform: scale(1.07); filter: saturate(1.05) brightness(1); } }
.e-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px; display: grid; gap: 6px; }
.e-name { font-family: var(--serif); font-size: 1.75rem; font-weight: 400; line-height: 1; letter-spacing: -0.02em; }
.e-line { color: rgba(242,238,230,.75); font-size: 0.9375rem; line-height: 1.45; max-width: 34ch; min-height: calc(1.45em * 3); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.e-count { font-size: 0.9375rem; color: var(--teal-hi); min-height: 1.3em; }
.e-card::before { content: ""; position: absolute; left: 22px; right: 22px; bottom: 0; height: 2px; background: var(--teal-hi); transform: scaleX(0); transform-origin: left; transition: transform .5s; z-index: 1; }
@media (hover: hover) {
.e-card:hover::before { transform: scaleX(1); } }

/* ---------- emotion strip + pager ---------- */
.emo-strip { border-bottom: 1px solid var(--line); }
.emo-strip ul { display: flex; gap: 6px; overflow-x: auto; padding: 12px 0; scrollbar-width: none; }
.emo-strip ul::-webkit-scrollbar { display: none; }
.emo-strip a { display: block; white-space: nowrap; padding: 6px 12px; border-radius: var(--r); color: var(--muted); font-size: 0.9375rem; }
@media (hover: hover) {
.emo-strip a:hover { color: var(--text); } }
.emo-strip a[aria-current] { background: var(--navy-3); color: var(--text); }
.pager { display: flex; justify-content: space-between; gap: 16px; padding-top: 8px; padding-bottom: 56px; }
.pager a { display: grid; gap: 2px; font-family: var(--serif); font-size: 1.75rem; font-weight: 300; }
.pager a span { font-family: var(--font); }
.pager a span { font-size: 0.9375rem; color: var(--muted); }
@media (hover: hover) {
.pager a:hover { color: var(--teal-hi); } }
.pager .next { text-align: right; }

/* ---------- process ---------- */
.steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 28px; counter-reset: s; }
.step { display: grid; align-content: start; gap: 10px; padding-top: 18px; border-top: 1px solid rgba(var(--bg-rgb), 0.2); }
.step-n { font-family: var(--serif); font-size: 2.75rem; font-weight: 300; color: var(--teal); line-height: 1; }
.step p { font-size: 0.9375rem; }
.step ul { display: grid; gap: 6px; margin-top: 4px; align-content: start; }
.step li { font-size: 0.9375rem; padding-left: 14px; position: relative; }
.step li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 6px; height: 1px; background: var(--teal); }

/* ---------- close band ---------- */
.band-close { background: var(--navy-2); }
.close-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: end; }
.close-grid p { color: var(--soft); margin-top: 14px; max-width: 52ch; }
.close-actions { display: grid; gap: 10px; justify-items: start; }
.mail-big { font-size: clamp(1.05rem, 2vw, 1.35rem); border-bottom: 1px solid var(--line-strong); padding-bottom: 2px; }
@media (hover: hover) {
.mail-big:hover { color: var(--teal-hi); border-color: var(--teal-hi); } }

/* ---------- portfolio why / services / about / contact ---------- */
.why { display: grid; grid-template-columns: 1fr 1.6fr; gap: 40px; }
.why .big { font-size: clamp(1.15rem, 1.8vw, 1.4rem); line-height: 1.5; margin-bottom: 16px; }
.why p:not(.big) { color: var(--soft); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.svc { display: grid; gap: 10px; padding: 28px; border: 1px solid var(--line); border-radius: var(--r); background: var(--navy-2); transition: border-color .2s; }
@media (hover: hover) {
.svc:hover { border-color: var(--teal); } }
.svc h3 { font-family: var(--serif); font-size: 1.75rem; font-weight: 400; letter-spacing: -0.02em; }
.svc p { color: var(--soft); }
.tab-list { display: flex; gap: 28px; margin-bottom: 40px; flex-wrap: wrap; border-bottom: 1px solid rgba(var(--bg-rgb), .14); }
.tab-list button { position: relative; padding: 0 0 14px; font-size: 1.0625rem; color: #6b6762; transition: color .2s; }
.tab-list button::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--teal); transform: scaleX(0); transform-origin: left; transition: transform .35s cubic-bezier(.2,.7,.2,1); }
@media (hover: hover) {
.tab-list button:hover { color: var(--navy); } }
.tab-list button[aria-selected="true"] { color: var(--navy); }
.tab-list button[aria-selected="true"]::after { transform: scaleX(1); }
.tabs [role="tabpanel"][hidden] { display: none; }
.about { display: grid; grid-template-columns: 1fr 2fr; gap: clamp(28px, 6vw, 80px); }
.facts { display: grid; gap: 22px; align-content: start; position: sticky; top: calc(var(--header-h) + 24px); }
.facts dt { font-size: 0.8125rem; color: var(--muted); }
.facts dd { margin-top: 4px; }
.prose { display: grid; gap: 1.2em; max-width: 64ch; font-size: 1.0625rem; line-height: 1.75; }
.prose p:last-child { font-family: var(--serif); font-size: 1.75rem; font-weight: 300; }
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.mail-line { margin: 30px 0 10px; }
.form { display: grid; gap: 16px; padding: 28px; border: 1px solid var(--line); border-radius: var(--r); background: var(--navy-2); }
.form label { display: grid; gap: 6px; font-size: 0.9375rem; color: var(--muted); }
.form input, .form select, .form textarea {
  font: inherit; color: var(--text); background: var(--navy); border: 1px solid var(--line-strong);
  border-radius: var(--r); padding: 11px 12px; width: 100%;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--teal-hi); }
.form .btn { justify-self: start; }

/* ---------- cifras + formación ---------- */
.stats { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--navy-2); }
.stat-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stat { display: grid; gap: 6px; padding: 30px 24px 30px 0; }
.stat + .stat { padding-left: 24px; border-left: 1px solid var(--line); }
.stat-n { font-family: var(--serif); font-weight: 300; font-size: clamp(2rem, 3.4vw, 2.8rem); line-height: 1; letter-spacing: -0.03em; color: var(--text); }
.stat-l { color: var(--soft); font-size: 0.9375rem; line-height: 1.45; max-width: 24ch; }
.stat-n::after { content: ""; display: block; width: 18px; height: 2px; margin-top: 12px; background: var(--teal-hi); }
.train { display: grid; grid-template-columns: 1fr 2.4fr; gap: 40px; }
.tr-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.tr { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.tr h3 { font-family: var(--serif); font-weight: 400; font-size: 1.3125rem; letter-spacing: -0.01em; }
.tr p { color: var(--soft); font-size: 0.9375rem; }
@media (max-width: 900px) {
  .stat-list { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { padding-left: 0; border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .train { grid-template-columns: 1fr; gap: 20px; }
}
@media (max-width: 560px) { .tr { grid-template-columns: 1fr; gap: 4px; } .stat { padding: 22px 14px 22px 0; } .stat + .stat { padding-left: 14px; } .stat:nth-child(3) { padding-left: 0; } }

/* ---------- portada con vídeo ---------- */
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.6s ease; }
.hero-bg.has-video .hero-video { opacity: .95; filter: brightness(1.35) contrast(1.05); }
.hero-bg.has-video img { position: absolute; inset: 0; z-index: 1; opacity: .75; mix-blend-mode: screen; }
.hero-bg.has-video::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(60% 50% at 72% 58%, rgba(163,18,27,.28), transparent 70%); }
.hero-bg::after { z-index: 2; }

/* ---------- escena detrás de lo que suena ---------- */
.band.has-scene { position: relative; isolation: isolate; }
.scene { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.scene img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; filter: saturate(.6); transform: scale(1.04); transition: opacity 1.4s ease, transform 8s ease-out; }
.scene img.on { opacity: .22; transform: scale(1); }
.scene::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--navy) 0%, rgba(var(--bg-rgb), .55) 22%, rgba(var(--bg-rgb), .55) 78%, var(--navy) 100%); }
.w-role { margin-top: 8px; font-size: 0.9375rem; color: var(--text); display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; }
.w-role-l { font-size: 0.8125rem; letter-spacing: .14em; text-transform: uppercase; color: var(--teal-hi); }
.w-role-r { flex-basis: 100%; font-size: 0.9375rem; letter-spacing: .02em; color: var(--muted); }

/* ---------- showreel ---------- */
.reel-video { position: relative; border: 1px solid var(--line); border-radius: var(--r, 4px); overflow: hidden; background: #000; box-shadow: 0 30px 80px -40px rgba(163,18,27,.55); }
.reel-video video { display: block; width: 100%; height: auto; aspect-ratio: 16/9; background: #000; }

/* ---------- 404 ---------- */
.nf-list { display: grid; gap: 18px; margin-top: 30px; max-width: 640px; }
.nf-row { padding-top: 16px; border-top: 1px solid var(--line); }
.nf-row p { color: var(--soft); }
.nf-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 56px 0 40px; font-size: 0.9375rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1.5fr 0.8fr 0.8fr; gap: 32px; }
.f-mail { margin-top: 16px; }
.f-mail span { color: var(--muted); font-size: 0.9375rem; }
.f-list { display: grid; gap: 6px; align-content: start; }
.f-list a { color: var(--muted); }
@media (hover: hover) {
.f-list a:hover, .f-mail a:hover { color: var(--text); } }
.f-legal { margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.9375rem; }

/* ---------- dock (mini reproductor) ---------- */
.dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; background: var(--navy-3); border-top: 1px solid var(--line-strong); }
.dock[hidden] { display: none; }
.dock-row { display: grid; grid-template-columns: 34px 42px 34px minmax(0, auto) minmax(80px, 1fr) 48px 36px; gap: 14px; align-items: center; height: 64px; }
.dock-play { width: 42px; height: 42px; background: var(--teal); color: #fff; }
@media (hover: hover) {
.dock-play:hover { background: var(--teal-hi); } }
.dock-skip { width: 34px; height: 34px; border-radius: var(--r); display: grid; place-items: center; color: var(--text); opacity: .75; transition: opacity .2s, background .2s; }
.dock-skip svg { width: 15px; height: 15px; fill: currentColor; }
@media (hover: hover) {
.dock-skip:hover:not(:disabled) { opacity: 1; background: var(--navy-3); } }
.dock-skip:disabled { opacity: .25; cursor: default; }
.dock-meta { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 0.9375rem; }
.dock-label { color: var(--muted); font-size: 0.9375rem; margin-right: 6px; }
.dock-emo { color: var(--teal-hi); font-size: 0.8125rem; margin-left: 6px; }
.dock-bar { height: 4px; background: var(--line-strong); border-radius: 2px; cursor: pointer; position: relative; }
.dock-bar span { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--teal-hi); border-radius: 2px; }
.dock-time { font-size: 0.8125rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.dock-close { font-size: 1.75rem; color: var(--muted); line-height: 1; }
@media (hover: hover) {
.dock-close:hover { color: var(--text); } }

/* ---------- responsive ---------- */
@media (max-width: 1040px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1280px) {
  .nav, .header-cta { display: none; }
  .menu-btn { display: block; }
}
@media (max-width: 900px) {
  .e-grid { grid-template-columns: 1fr 1fr; }
  .why, .about, .contact, .close-grid, .two { grid-template-columns: 1fr; }
  .facts { position: static; grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .w-row, .works--solo .w-row {
    grid-template-columns: 50px minmax(0, 1fr) auto; gap: 6px 14px; padding-left: 10px;
    grid-template-areas: "p m d" "p e k" ". w w";
  }
  .play { grid-area: p; align-self: start; }
  .w-main { grid-area: m; }
  .w-dur { grid-area: d; align-self: start; }
  .w-emo { grid-area: e; }
  .w-kind { grid-area: k; justify-self: end; }
  .wave, .thumb { grid-area: w; }
  .thumb { display: none; }
  .wave { height: 44px; margin-top: 6px; }
  .w-video { padding-left: 0; }
  .e-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .e-card { aspect-ratio: 3 / 4; }
  .e-body { padding: 14px; }
  .e-name { font-size: 1.3125rem; }
  .e-line { display: none; }
  .hero-bg::after { background: linear-gradient(0deg, rgba(var(--bg-rgb), .95) 10%, rgba(var(--bg-rgb), .35) 70%, rgba(var(--bg-rgb), .5) 100%); }
  .reels { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr; }
  .dock-row { grid-template-columns: 30px 42px 30px minmax(0, 1fr) 44px 30px; gap: 8px; }
  .dock-bar { grid-column: 1 / -1; grid-row: 2; }
  .dock-play { grid-area: auto; align-self: center; }
  .dock-row { height: auto; padding-top: 10px; padding-bottom: 12px; }
  .dock-label { display: none; }

}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-bg img { animation-duration: 60s; }
}

.header-cta { font-size: 0.8125rem; letter-spacing: .12em; white-space: nowrap; text-transform: uppercase; padding: 11px 18px; }
.dock.is-playing .dock-play .ic-play { display: none; }
.dock.is-playing .dock-play .ic-pause { display: grid; }

/* nota única de créditos */
.credit-note { margin-top: 26px; display: flex; align-items: center; gap: 12px; font-size: 0.9375rem; color: var(--muted); }

/* showreel con portada propia */
.reel-video video { cursor: pointer; }
.reel-start { position: absolute; inset: 0; z-index: 2; background: none; }
.reel-start::after { background: linear-gradient(0deg, rgba(var(--bg-rgb), .7) 0%, rgba(var(--bg-rgb), 0) 50%); }
.reel-video.is-playing .reel-start { display: none; }
.reel-video .reel-cta { left: 28px; bottom: 28px; }
/* desplegable del formulario */
.form select { -webkit-appearance: none; appearance: none; padding-right: 42px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23e0333b' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; background-size: 12px 8px; }
.form select option { background: #2c2622; color: #f3ece2; }

/* pasos del proceso: títulos a la misma altura */
@media (min-width: 1061px) {
  @supports (grid-template-rows: subgrid) {
    .steps { grid-template-rows: auto auto auto auto; row-gap: 0; }
    .step { grid-row: span 4; grid-template-rows: subgrid; gap: 0; }
    .step > * + * { margin-top: 10px; }
  }
}
/* móvil: pestañas en una línea y última tarjeta impar a todo el ancho */
@media (max-width: 720px) {
  .tab-list { flex-wrap: nowrap; overflow-x: auto; gap: 22px; scrollbar-width: none; }
  .tab-list button { white-space: nowrap; font-size: 0.9375rem; }
  .e-grid > li:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .e-grid > li:last-child:nth-child(odd) .e-card { aspect-ratio: 16 / 9; }
}

/* ---------- móvil ---------- */
.steps-hint { display: none; margin-top: 14px; font-size: 0.9375rem; color: #6b6762; }
.dock { padding-bottom: env(safe-area-inset-bottom); }
body.has-dock { padding-bottom: 96px; }
@media (max-width: 720px) {
  .form input, .form select, .form textarea { font-size: 16px; }
  .emo-strip a { padding: 11px 14px; }
  .btn-sm { min-height: 44px; }
  .btn-sm:not(.header-cta) { display: inline-flex; align-items: center; }
  .rm-yt { padding: 10px 0 10px 12px; margin: -10px 0; }
  .w-emo { padding: 8px 0; margin: -8px 0; }
  .mail-big { display: inline-block; padding: 6px 0; }
  .w-role-l { font-size: 0.8125rem; }
  .hero .actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .hero .actions .btn { justify-content: center; text-align: center; padding-left: 10px; padding-right: 10px; }
  .chips { flex-wrap: nowrap; overflow-x: auto; margin-left: calc(var(--pad) * -1); margin-right: calc(var(--pad) * -1); padding: 0 var(--pad) 4px; scrollbar-width: none; scroll-snap-type: x proximity; }
  .chips::-webkit-scrollbar, .tab-list::-webkit-scrollbar, .steps::-webkit-scrollbar { display: none; }
  .chip { flex: none; scroll-snap-align: start; min-height: 42px; }
  .dock-emo { display: none; }
  .steps { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 84%; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory;
    margin-left: calc(var(--pad) * -1); margin-right: calc(var(--pad) * -1); padding: 0 var(--pad) 8px; scroll-padding: 0 var(--pad); scrollbar-width: none; }
  .step { scroll-snap-align: start; }
  .steps-hint { display: block; }
}
@media (max-width: 380px) { .hero .actions { grid-template-columns: 1fr; } }

/* ---------- música propia ---------- */
.own { border-top: 1px solid var(--line); }
.own-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: center; }
.own-p { margin-top: 12px; color: var(--soft); max-width: 46ch; }
.own-meta { margin-top: 22px; font-family: var(--serif); font-size: 1.3125rem; font-weight: 300; }
.own-meta span { display: block; margin-top: 4px; font-family: var(--font); font-size: 0.9375rem; color: var(--muted); }
.own-embed { border-radius: var(--r); overflow: hidden; background: #121212; min-height: 152px; }
.own-embed iframe { display: block; border: 0; }
@media (max-width: 900px) { .own-grid { grid-template-columns: 1fr; gap: 28px; } }

.emo-quote { margin-top: 26px; padding-left: 18px; border-left: 2px solid var(--teal-hi); font-family: var(--serif); font-weight: 300; font-size: clamp(1.15rem, 2vw, 1.4rem); line-height: 1.35; max-width: 34ch; color: var(--text); }

/* ---------- portada: nombre + oficio ---------- */
.hero-full h1.hero-name { font-size: clamp(3rem, 7.4vw, 5.25rem); letter-spacing: -0.035em; }
.hero-job { margin-top: 18px; font-size: clamp(1.0625rem, 1.9vw, 1.3125rem); color: var(--text); max-width: 40ch; line-height: 1.4; }
.hero-job span { display: block; margin-top: 4px; font-size: 0.9375rem; color: var(--muted); }
.hero-slogan { margin-top: 30px; padding-left: 18px; border-left: 2px solid var(--teal-hi); font-family: var(--serif); font-weight: 300;
  font-size: clamp(1.3125rem, 2.4vw, 1.75rem); line-height: 1.25; letter-spacing: -0.015em; max-width: 26ch; }
.hero-full .lede { margin-top: 14px; font-size: 1.0625rem; color: var(--soft); max-width: 46ch; }
/* ---------- showreel compacto ---------- */
.showreel .reel-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.1fr); gap: clamp(28px, 4vw, 56px); align-items: center; }
.showreel .sec-head { margin-bottom: 0; }
@media (max-width: 900px) { .showreel .reel-grid { grid-template-columns: 1fr; gap: 24px; } }
/* ---------- proceso resumido en portada ---------- */
.proc-mini { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; counter-reset: pm; }
.proc-mini li { padding-top: 14px; border-top: 1px solid rgba(var(--bg-rgb), .2); display: grid; gap: 6px; }
.proc-mini .step-n { font-size: 1.75rem; }
.proc-mini b { font-weight: 600; font-size: 1.0625rem; }
@media (max-width: 900px) { .proc-mini { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .proc-mini { grid-template-columns: 1fr; gap: 0; } .proc-mini li { grid-template-columns: 40px 1fr; align-items: baseline; padding: 12px 0; } .proc-mini .step-n { font-size: 1.3125rem; } }

.f-h { font-size: 0.8125rem; color: var(--muted); margin-bottom: 14px; }
.f-list--2 { grid-template-columns: 1fr 1fr; column-gap: 20px; }
@media (max-width: 720px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
  .footer-grid > div:first-child, .f-emos { grid-column: 1 / -1; }
  .site-footer { padding-top: 44px; }
}

/* portrait */
.about-hero { display: grid; grid-template-columns: 1fr minmax(220px, 360px); gap: clamp(28px, 6vw, 80px); align-items: end; }
.portrait { margin: 0; display: block; position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--r); background: var(--navy-2); }
.portrait img { width: 100%; height: 100%; object-fit: cover; display: block; }
.portrait::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); pointer-events: none; }
.portrait-sm { width: min(200px, 100%); margin-top: 28px; }
.portrait-sm img { transition: transform .6s cubic-bezier(.2,.7,.2,1); }
@media (hover: hover) { .portrait-sm:hover img { transform: scale(1.03); } }
@media (max-width: 760px) {
  .about-hero { grid-template-columns: 1fr; align-items: start; }
  .about-hero .portrait { width: min(200px, 56%); order: -1; }
  .train-side { display: flex; align-items: center; gap: 18px; }
  .train-side h2 { order: 2; }
  .portrait-sm { width: 88px; margin-top: 0; flex: none; }
}

/* form states */
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form { position: relative; }
.form button[disabled] { opacity: .6; cursor: progress; }
.form-status { margin: 0; padding: 12px 14px; border-left: 2px solid var(--teal-hi); background: rgba(255,255,255,.03); border-radius: 0 var(--r) var(--r) 0; font-size: 0.9375rem; color: var(--text); }
.form-status.err { border-left-color: #8a8a8a; color: var(--soft); }

/* =====================================================================
   Rediseño minimal (nov 2026): menos cajas, más aire, imagen y tipografía
   ===================================================================== */
:root { --ease-out: cubic-bezier(0.23, 1, 0.32, 1); --sec: clamp(88px, 11vw, 168px); }

/* secciones sin líneas ni fondos de caja */
.band { padding: var(--sec) 0; border-top: 0; }
.band-alt, .band-close { background: none; }
.sec-head { gap: 16px; margin-bottom: clamp(36px, 5vw, 64px); }
.sec-head h2 { letter-spacing: -0.025em; }
.sec-row { max-width: none; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; column-gap: 40px; }
.sec-row p { justify-self: end; max-width: 40ch; }

/* portada */
.hero-full h1.hero-name { font-size: clamp(3.25rem, 10vw, 8.75rem); font-weight: 300; letter-spacing: -0.045em; line-height: .92; }
.hero-job { margin-top: 22px; }
.hero-slogan { border-left: 0; padding-left: 0; margin-top: 34px; }
.hero-full .lede { margin-top: 10px; }
.actions { align-items: center; gap: 28px; margin-top: 38px; }
.link-arrow { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 500; font-size: 0.9375rem; color: var(--text); }
.link-arrow span { transition: transform .25s var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .link-arrow:hover span { transform: translateX(4px); } }

/* botones: respuesta al pulsar */
.btn, .play, .chip, .dock-skip, .dock-play, .link-arrow { -webkit-tap-highlight-color: transparent; }
.btn { transition: background .2s, color .2s, border-color .2s, transform .15s var(--ease-out); }
.btn:active, .chip:active, .play:active, .reel-poster:active .reel-ic, .dock-skip:active, .link-arrow:active { transform: scale(.97); }

/* showreel a lo ancho */
.showreel .reel-grid { display: block; }
.showreel .sec-head { margin-bottom: clamp(24px, 3vw, 36px); }
.reel-video { border: 0; box-shadow: none; }
.reel-cta { background: none !important; border: 0 !important; padding: 0; gap: 14px; }
.reel-ic { width: 44px; height: 44px; border-radius: var(--r); }
.reel-ic svg { width: 16px; height: 16px; }
.reel-dur { border-left: 0; padding-left: 0; }
.reel-video .reel-cta { left: clamp(20px, 3vw, 40px); bottom: clamp(20px, 3vw, 36px); }
@media (hover: hover) and (pointer: fine) {
  .reel-poster:hover .reel-cta { transform: none; }
  .reel-poster:hover .reel-ic { background: #c81c25; }
}

/* cifras sin cajas */
.stats { border: 0; background: none; }
.stat { padding: 0 24px 0 0; }
.stat + .stat { border-left: 0; padding-left: 0; }
.stat-n { font-size: clamp(2.5rem, 5vw, 4rem); }
.stat-n::after { display: none; }
.stat-l { margin-top: 6px; }

/* filtros como texto */
.chips { gap: 6px 26px; margin-bottom: clamp(28px, 4vw, 44px); }
.chip { border: 0; padding: 10px 0; border-radius: 0; background: none !important; color: var(--muted); position: relative; transition: color .2s; }
.chip::after { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 1px; background: var(--teal-hi); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease-out); }
.chip[aria-pressed="true"] { color: var(--text); }
.chip[aria-pressed="true"]::after { transform: scaleX(1); }
@media (hover: hover) and (pointer: fine) { .chip:hover { color: var(--text); } }
.work-set { transition: opacity .15s ease; }
.work-set.is-switching { opacity: 0; }

/* cortos: imagen protagonista, ficha mínima */
.reels { gap: clamp(48px, 6vw, 80px) clamp(20px, 3vw, 40px); margin-bottom: clamp(48px, 6vw, 72px); }
.reel-poster img { opacity: .9; }
.reel-meta { padding-top: 20px; }
.reel-meta::before { display: none; }
.rm-eyebrow { margin-bottom: 10px; letter-spacing: .12em; }
.rm-eyebrow > * + *::before { content: "·"; width: auto; height: auto; background: none; opacity: .7; margin-right: 10px; top: 0; }
.reel-meta h3 { font-size: clamp(1.75rem, 3vw, 2.75rem); font-weight: 300; letter-spacing: -0.03em; }
.rm-kind { margin-top: 8px; opacity: 1; color: var(--soft); font-size: 1.0625rem; }
.rm-pal { margin-top: 4px; color: var(--muted); }

/* pistas de audio: filas limpias */
.works { border-top: 0; }
.work { border-bottom: 1px solid rgba(255,255,255,.06); }
.play { border-color: transparent; background: rgba(255,255,255,.04); }
.w-title { font-size: 1.3125rem; font-weight: 400; letter-spacing: -0.01em; }
@media (min-width: 721px) {
  .w-row { grid-template-columns: 50px minmax(0, 1.4fr) minmax(0, .6fr) minmax(140px, 1.6fr) 56px; }
  .works--solo .w-row { grid-template-columns: 50px minmax(0, 1.5fr) minmax(140px, 1.6fr) 56px; }
}
.w-tag { border: 0; padding: 0; margin-left: 10px; }
.credit-note { color: var(--muted); }

/* índice de emociones */
.e-index { position: relative; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.ei-list { counter-reset: ei; }
.ei-list li + li .ei-row { border-top: 1px solid rgba(255,255,255,.09); }
.ei-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "name count" "line line"; column-gap: 20px; padding: clamp(14px, 1.6vw, 22px) 0; position: relative; }
.ei-name { grid-area: name; font-size: clamp(1.75rem, 3.6vw, 3rem); font-weight: 300; letter-spacing: -0.035em; line-height: 1.05; color: var(--text); transition: color .25s ease, transform .35s var(--ease-out); }
.ei-line { grid-area: line; color: var(--muted); font-size: 0.9375rem; max-width: 52ch; max-height: 0; opacity: 0; overflow: hidden; transition: opacity .25s ease, max-height .35s var(--ease-out), margin .35s var(--ease-out); }
.ei-count { grid-area: count; align-self: center; font-size: 0.9375rem; color: var(--teal-hi); font-variant-numeric: tabular-nums; }
.ei-count--none { color: var(--muted); opacity: .5; }
.ei-thumb { display: none; }
.ei-preview { position: sticky; top: calc(var(--header-h) + 32px); aspect-ratio: 4 / 5; border-radius: var(--r); overflow: hidden; background: var(--navy-2); }
.ei-preview img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.04); transition: opacity .45s ease, transform 1.2s var(--ease-out); }
.ei-preview img.on { opacity: .9; transform: scale(1); }
.ei-preview::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(var(--bg-rgb), 0) 55%, rgba(var(--bg-rgb), .6) 100%); }
.e-index.is-active .ei-name { color: var(--muted); }
.e-index .ei-row.on .ei-name { color: var(--text); transform: translateX(10px); }
.e-index .ei-row.on .ei-line { max-height: 4.5em; opacity: 1; margin-top: 8px; }
.ei-row:focus-visible .ei-line { max-height: 4.5em; opacity: 1; margin-top: 8px; }

/* sobre mí / formación */
.about-grid { display: grid; grid-template-columns: minmax(200px, 360px) minmax(0, 1fr); gap: clamp(32px, 7vw, 120px); align-items: center; }
.about-pic { width: 100%; }
.about-txt h2 { margin-bottom: 28px; }
.tr-list { border-top: 0; display: grid; gap: 22px; }
.tr { display: grid; grid-template-columns: none; gap: 4px; padding: 0; border: 0; }
.tr b { font-weight: 400; font-size: 1.3125rem; letter-spacing: -0.01em; }
.tr span { color: var(--soft); font-size: 0.9375rem; }
.about-txt .more { margin-top: 36px; }

/* proceso: misma piel oscura */
.proc-band { background: none; color: var(--text); }
.proc-mini { gap: 28px; }
.proc-mini li { border-top: 0; padding-top: 0; }
.proc-mini .step-n { font-size: clamp(2.5rem, 4vw, 3.5rem); font-weight: 300; color: var(--teal-hi); line-height: 1; }
.proc-mini b { font-weight: 400; font-size: 1.0625rem; color: var(--text); }
.proc-band .more a { color: var(--text); }

/* cierre centrado */
.close-grid { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 32px; }
.close-grid h2 { font-size: clamp(2.25rem, 5.5vw, 4.5rem); font-weight: 300; letter-spacing: -0.04em; line-height: 1.02; }
.close-grid p { margin-left: auto; margin-right: auto; }
.close-actions { justify-items: center; gap: 14px; }
.mail-big { font-size: clamp(1.1rem, 2.2vw, 1.5rem); }

/* reproductor inferior: entra deslizando */
.dock { transition: transform .28s var(--ease-out); }
.dock.is-entering { transform: translateY(100%); }
.dock-bar span { width: 100% !important; transform: scaleX(var(--p, 0)); transform-origin: left; }

/* móvil */
@media (max-width: 760px) {
  .sec-row { grid-template-columns: 1fr; }
  .sec-row p { justify-self: start; }
  .hero-full h1.hero-name { font-size: clamp(3rem, 15vw, 4.5rem); }
  .actions { gap: 18px; }
  .stat-list { gap: 28px 20px; }
  .stat { padding: 0; }
  .chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .chips::-webkit-scrollbar { display: none; }
  .chip { flex: none; }
  .e-index { display: block; }
  .ei-preview { display: none; }
  .ei-row { grid-template-columns: 72px minmax(0, 1fr) auto; grid-template-areas: "thumb name count"; align-items: center; column-gap: 16px; }
  .ei-thumb { display: block; grid-area: thumb; aspect-ratio: 4 / 3; border-radius: var(--r); overflow: hidden; background: var(--navy-2); }
  .ei-thumb img { width: 100%; height: 100%; object-fit: cover; opacity: .85; }
  .ei-name { font-size: 1.75rem; }
  .ei-line { display: none; }
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .about-pic { width: min(240px, 66%); }
  .proc-mini { grid-template-columns: 1fr 1fr; gap: 24px 20px; }
  .close-grid h2 { font-size: 2.25rem; }
}

/* menos movimiento: solo fundidos */
@media (prefers-reduced-motion: reduce) {
  .hero-bg img { animation: none; }
  .js .intro { animation-name: fadeOnly; transform: none; animation-delay: 0ms; }
  .js .rv { transform: none; transition: opacity .4s ease; transition-delay: 0ms !important; }
  @keyframes fadeOnly { from { opacity: 0; } to { opacity: 1; } }
  .ei-preview img, .scene img, .e-index .ei-row.on .ei-name { transform: none; }
  .dock.is-entering { transform: none; }
}
#trabajo { padding-top: var(--sec); }
.showreel { padding-bottom: clamp(56px, 7vw, 96px); }
.ei-preview { aspect-ratio: 4 / 3; margin-top: 18px; }
.ei-preview img.on { opacity: 1; }
@media (max-width: 760px) {
  .proc-mini { grid-template-columns: 1fr; gap: 16px; }
  .proc-mini li { display: flex; align-items: baseline; gap: 18px; }
  .proc-mini .step-n { font-size: 1.75rem; min-width: 28px; }
  .stat, .stat + .stat { border: 0; }
}
.chips { scroll-padding-inline: var(--pad); }
.rm-eyebrow { min-height: 1.6em; }
.emo-strip { border-bottom: 0; }
.emo-strip ul { gap: 4px 24px; }
.emo-strip a { padding: 8px 0; border-radius: 0; position: relative; transition: color .2s; }
.emo-strip a[aria-current] { background: none; color: var(--text); }
.emo-strip a[aria-current]::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: var(--teal-hi); }
@media (max-width: 760px) { .emo-strip a { padding: 11px 0; } }
/* portada: un único botón con icono */
.btn-reel { gap: 12px; padding-left: 18px; padding-right: 24px; }
.btn-reel .btn-ic { display: grid; place-items: center; }
.btn-reel .btn-ic svg { width: 14px; height: 14px; fill: currentColor; }
/* bloque "tú" en portada */
.about-p { color: var(--soft); font-size: 1.0625rem; margin-top: -8px; max-width: 46ch; }
.about-facts { display: grid; gap: 14px; margin-top: 28px; }
.about-facts li { display: grid; gap: 2px; font-size: 1.0625rem; color: var(--text); }
.about-facts span { font-size: 0.8125rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.about-txt h2 { font-size: clamp(1.75rem, 3.4vw, 2.75rem); font-weight: 300; letter-spacing: -0.03em; line-height: 1.08; max-width: 18ch; }
/* cifras en Servicios */
.stats { padding: 0 0 clamp(24px, 4vw, 48px); }
.svc { border: 0; background: none; padding: 0; gap: 12px; }
.svc h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 300; letter-spacing: -0.02em; }
.two { gap: clamp(32px, 5vw, 72px); }
/* proceso completo en Servicios, sobre oscuro */
.proc-full .tab-list { border-bottom-color: rgba(255,255,255,.08); }
.proc-full .tab-list button { color: var(--muted); }
.proc-full .tab-list button[aria-selected="true"] { color: var(--text); }
.proc-full .tab-list button::after { background: var(--teal-hi); }
@media (hover: hover) and (pointer: fine) { .proc-full .tab-list button:hover { color: var(--text); } }
.proc-full .step { border-top: 0; padding-top: 0; }
.proc-full .step-n { color: var(--teal-hi); font-size: clamp(2.5rem, 4vw, 3.5rem); }
.proc-full .step h3 { font-weight: 400; font-size: 1.1875rem; }
.proc-full .step p, .proc-full .step li { color: var(--soft); }
.proc-full .step li::before { background: var(--teal-hi); }

/* =====================================================================
   Portada sala de montaje: showreel a pantalla completa + línea de tiempo
   ===================================================================== */
.hero-reel { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end;
  min-height: calc(100vh - var(--header-h)); min-height: calc(100svh - var(--header-h)); padding: 0 0 clamp(20px, 3vh, 36px); background: var(--ink); }
.hr-media { position: absolute; inset: 0; z-index: -1; }
.hr-poster, .hr-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hr-poster { opacity: .55; }
.hr-video { opacity: 0; transition: opacity .8s ease; }
.hero-reel.is-live .hr-video { opacity: 1; }
.hr-media::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(var(--ink-rgb), .55) 0%, rgba(var(--ink-rgb), 0) 22%, rgba(var(--ink-rgb), 0) 40%, rgba(var(--ink-rgb), .72) 66%, rgba(var(--ink-rgb), .97) 82%, var(--ink) 100%),
              linear-gradient(90deg, rgba(var(--ink-rgb), .55) 0%, rgba(var(--ink-rgb), 0) 55%); }
.hero-reel.has-sound .hr-media::after { background: linear-gradient(180deg, rgba(var(--ink-rgb), .35) 0%, rgba(var(--ink-rgb), 0) 20%, rgba(var(--ink-rgb), 0) 60%, rgba(var(--ink-rgb), .9) 82%, var(--ink) 100%); }
.hr-in { padding-bottom: clamp(28px, 5vh, 56px); }
.hero-reel .hero-name { font-size: clamp(3.25rem, 10vw, 8.75rem); font-weight: 300; letter-spacing: -0.045em; line-height: .92; }
.hero-reel .hero-job { margin-top: 18px; }
.hero-reel .hero-slogan { margin-top: 22px; border: 0; padding: 0; font-size: clamp(1.0625rem, 1.6vw, 1.3125rem); color: var(--soft); max-width: 34ch; }
.hero-reel .actions { margin-top: 30px; gap: 22px; }
.hero-reel.has-sound .hr-in > :not(.actions) { filter: opacity(.3); }
.hr-in > * { transition: filter .5s ease; }

.hr-sound { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-size: 0.9375rem; font-weight: 500; color: var(--text); letter-spacing: .01em; }
.hr-eq { display: inline-flex; align-items: flex-end; gap: 2px; height: 12px; }
.hr-eq i { width: 2px; height: 3px; background: currentColor; border-radius: 1px; transition: height .2s ease; }
.hero-reel.has-sound .hr-eq i { background: var(--teal-hi); animation: eq 0.9s ease-in-out infinite alternate; }
.hero-reel.has-sound .hr-eq i:nth-child(2) { animation-delay: -.3s; }
.hero-reel.has-sound .hr-eq i:nth-child(3) { animation-delay: -.6s; }
.hero-reel.has-sound .hr-eq i:nth-child(4) { animation-delay: -.15s; }
@keyframes eq { from { height: 3px; } to { height: 12px; } }
.hr-sound:active { transform: scale(.97); }

/* línea de tiempo */
.hr-tl { width: 100%; }
.tl-meta { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 10px;
  font-size: 0.8125rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.tl-now { color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tl-tc { font-variant-numeric: tabular-nums; letter-spacing: .08em; }
.tl-track { position: relative; }
.tl { display: flex; gap: 3px; }
.tl li { min-width: 0; }
.tl button { position: relative; display: block; width: 100%; height: clamp(40px, 6vh, 58px); border-radius: 3px; overflow: hidden; text-align: left; background: var(--navy-2); cursor: pointer; }
.tl-thumb { position: absolute; inset: 0; background-size: auto 100%; background-repeat: repeat-x; background-position: left center; opacity: .38; filter: saturate(.6); transition: opacity .3s ease, filter .3s ease; }
.tl-lbl { position: absolute; left: 10px; bottom: 7px; right: 8px; font-size: 0.75rem; font-weight: 500; letter-spacing: .06em; color: rgba(255,255,255,.75); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-shadow: 0 1px 6px rgba(0,0,0,.6); }
.tl button.on .tl-thumb { opacity: .95; filter: none; }
.tl button.on .tl-lbl { color: #fff; }
@media (hover: hover) and (pointer: fine) { .tl button:hover .tl-thumb { opacity: .75; filter: none; } }
.tl button:focus-visible { outline: 2px solid var(--teal-hi); outline-offset: 2px; }
.tl-prog { position: absolute; left: 0; right: 0; top: -6px; height: 2px; background: var(--teal-hi); transform-origin: left; transform: scaleX(0); pointer-events: none; }
.tl-track::before { content: ""; position: absolute; left: 0; right: 0; top: -6px; height: 2px; background: rgba(255,255,255,.12); pointer-events: none; }
.tl-head { position: absolute; left: -1px; top: -10px; bottom: -4px; width: 2px; background: var(--teal-hi); pointer-events: none; box-shadow: 0 0 10px rgba(225,29,42,.6); }
.tl-head::before { content: ""; position: absolute; left: -4px; top: 0; width: 10px; height: 6px; background: var(--teal-hi); clip-path: polygon(0 0, 100% 0, 50% 100%); }

@media (max-width: 760px) {
  .hero-reel { min-height: calc(100svh - var(--header-h)); }
  .hero-reel .hero-name { font-size: clamp(3rem, 15vw, 4.5rem); }
  .hero-reel .hero-slogan { font-size: 1.0625rem; }
  .hero-reel .actions { gap: 14px 18px; flex-wrap: wrap; }
  .tl-lbl { display: none; }
  .tl button { height: 44px; }
  .hr-media::after { background: linear-gradient(180deg, rgba(var(--ink-rgb), .5) 0%, rgba(var(--ink-rgb), 0) 18%, rgba(var(--ink-rgb), .25) 40%, rgba(var(--ink-rgb), .88) 72%, rgba(var(--ink-rgb), .96) 100%); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-reel.has-sound .hr-eq i { animation: none; height: 10px; }
}

/* fichas de cortos: formato de cine y avance mudo */
.reel-media { aspect-ratio: 2.35 / 1; transition: aspect-ratio .3s var(--ease-out); }
.reel-media:has(iframe) { aspect-ratio: 16 / 9; }
.reel-prev { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .35s ease; pointer-events: none; }
.prev-on .reel-prev { opacity: 1; }
.prev-on .reel-poster img { opacity: 0; transition: opacity .35s ease; }
.reel-poster::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; box-shadow: inset 0 0 0 1px rgba(255,255,255,.06); border-radius: inherit; }
.reel-cta { z-index: 2; }

/* páginas de emoción: plano con bandas de cine */
.hero-emo { min-height: calc(86svh - var(--header-h)); }
.lb { position: absolute; left: 0; right: 0; height: 7%; background: var(--ink); z-index: 0; pointer-events: none; transform: scaleY(0); animation: lbIn 1s cubic-bezier(0.23, 1, 0.32, 1) .15s forwards; }
.lb-top { top: 0; transform-origin: top; }
.lb-bot { bottom: 0; transform-origin: bottom; }
@keyframes lbIn { to { transform: scaleY(1); } }
.hero-emo .hero-in { position: relative; z-index: 1; }
.scene-n { margin-left: 16px; padding-left: 16px; border-left: 1px solid rgba(255,255,255,.18); color: var(--muted); font-variant-numeric: tabular-nums; letter-spacing: .08em; }
.hero-emo h1 { font-size: clamp(3.25rem, 9vw, 7.5rem); font-weight: 300; letter-spacing: -0.045em; line-height: .95; }

/* tira de clips (emociones y portfolio) */
.bin { margin-top: clamp(28px, 4vw, 44px); max-width: 980px; }
.tl-bin a { position: relative; display: block; height: 52px; border-radius: 3px; overflow: hidden; background: var(--navy-2); }
.tl-bin .tl-lbl { bottom: 8px; }
.tl-d { position: absolute; right: 8px; top: 7px; font-size: 0.6875rem; letter-spacing: .06em; color: rgba(255,255,255,.7); font-variant-numeric: tabular-nums; text-shadow: 0 1px 6px rgba(0,0,0,.6); }
.tl-bin .tl-thumb { opacity: .55; }
@media (hover: hover) and (pointer: fine) { .tl-bin a:hover .tl-thumb { opacity: .95; filter: none; } .tl-bin a:hover .tl-lbl { color: #fff; } }
.tl-bin a:active { transform: scale(.98); }
.hero-bin .bin { max-width: none; }

/* al saltar a una pieza: margen y un destello rojo */
[id^="w-"] { scroll-margin-top: calc(var(--header-h) + 28px); }
.work:target, .reel:target { animation: hit 1.6s ease-out; }
@keyframes hit { 0%, 30% { box-shadow: -3px 0 0 var(--teal-hi); } 100% { box-shadow: -3px 0 0 transparent; } }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

/* fundido entre páginas, como un corte a negro */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vtOut .18s ease-in both; }
::view-transition-new(root) { animation: vtIn .32s ease-out both; }
@keyframes vtOut { to { opacity: 0; } }
@keyframes vtIn { from { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .lb { animation: none; transform: scaleY(1); }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
}
@media (max-width: 760px) {
  .tl-bin a { height: 44px; }
  .tl-bin .tl-lbl { display: none; }
  .scene-n { margin-left: 10px; padding-left: 10px; }
  .lb { height: 5%; }
}
.hero-emo { padding-bottom: calc(7% + clamp(28px, 4vw, 48px)); }
@media (max-width: 760px) { .hero-emo { padding-bottom: calc(5% + 28px); } }

/* pie: nombre gigante con ventana de vídeo */
.f-mark-wrap { margin-bottom: clamp(40px, 6vw, 72px); }
.f-mark { display: flex; align-items: center; justify-content: space-between; gap: .12em; width: 100%;
  font-size: clamp(2.5rem, 10.6vw, 9.75rem); font-weight: 300; letter-spacing: -0.05em; line-height: 1; color: var(--text); white-space: nowrap; }
.f-win { position: relative; flex: 1 1 auto; min-width: .9em; max-width: 2.6em; height: .72em; border-radius: var(--r); overflow: hidden; background: var(--navy-2); align-self: center; margin-top: .06em; }
.f-win img, .f-win video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.f-win video { opacity: 0; transition: opacity .5s ease; }
.f-win.on video { opacity: 1; }
.f-win img { opacity: .8; }
@media (hover: hover) and (pointer: fine) { .f-mark:hover .f-win { box-shadow: 0 0 0 1px var(--teal-hi); } }
@media (max-width: 760px) { .f-mark { font-size: 11.2vw; } }

/* frase sobre pentagrama: líneas a todo el ancho, sin marco */
.staff-band { position: relative; padding-top: clamp(24px, 4vw, 56px); padding-bottom: clamp(24px, 4vw, 56px); }
.staff { position: relative; font-size: clamp(1.75rem, 3.6vw, 3.25rem); font-weight: 300; letter-spacing: -0.03em; line-height: 1.7em; color: var(--soft); max-width: 22em; }
.staff::before { content: ""; position: absolute; top: 0; bottom: 0; left: calc(50% - 50vw); width: 100vw; pointer-events: none;
  background: repeating-linear-gradient(to bottom, transparent 0 .33em,
    rgba(255,255,255,.09) .33em calc(.33em + 1px), transparent calc(.33em + 1px) .59em,
    rgba(255,255,255,.09) .59em calc(.59em + 1px), transparent calc(.59em + 1px) .85em,
    rgba(255,255,255,.09) .85em calc(.85em + 1px), transparent calc(.85em + 1px) 1.11em,
    rgba(255,255,255,.09) 1.11em calc(1.11em + 1px), transparent calc(1.11em + 1px) 1.37em,
    rgba(255,255,255,.09) 1.37em calc(1.37em + 1px), transparent calc(1.37em + 1px) 1.7em);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 12%, #000 88%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 12%, #000 88%, transparent 100%); }
.staff-band .wrap { position: relative; }
.note { display: inline-block; width: .34em; height: .26em; margin: 0 .06em; border-radius: 50%; background: var(--teal-hi);
  vertical-align: top; transform: translateY(var(--y, 0)) rotate(-20deg); }
.js .staff.rv .note { opacity: 0; transform: translateY(var(--y, 0)) rotate(-20deg) scale(.4); transition: opacity .4s ease, transform .6s cubic-bezier(0.23, 1, 0.32, 1); transition-delay: calc(300ms + var(--i) * 120ms); }
.js .staff.rv.in .note { opacity: 1; transform: translateY(var(--y, 0)) rotate(-20deg) scale(1); }
@media (max-width: 760px) { .staff { font-size: 1.6rem; } }
@media (prefers-reduced-motion: reduce) { .js .staff.rv .note { transition: opacity .3s ease; transform: translateY(var(--y, 0)) rotate(-20deg); } }
.staff-band { margin: calc(var(--sec) * -0.4) 0; }
.staff { width: 100%; }

/* propuesta nov 2026: titular, apoyo y control de sonido en la línea de tiempo */
.hero-reel .hero-title { margin-top: 26px; font-size: clamp(1.3125rem, 2.3vw, 1.875rem); color: var(--text); max-width: 26ch; line-height: 1.25; letter-spacing: -0.015em; }
.hero-support { margin-top: 12px; font-size: 1.0625rem; color: var(--soft); max-width: 46ch; }
.tl-right { display: inline-flex; align-items: center; gap: 22px; }
.tl-meta .hr-sound { min-height: 32px; font-size: 0.8125rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 500; color: var(--text); }
.ei-count--none { font-size: 0.8125rem; letter-spacing: .08em; text-transform: uppercase; }
@media (max-width: 760px) {
  .hero-reel .hero-title { font-size: 1.25rem; margin-top: 18px; }
  .hero-support { font-size: 0.9375rem; }
  .tl-right { gap: 14px; }
}
.header-cta { text-transform: none; letter-spacing: .01em; font-size: 0.9375rem; padding: 10px 18px; }
@media (max-width: 1640px) and (min-width: 1101px) { .langs a span { display: none; } .langs a { padding: 6px 5px; } }
@media (max-width: 760px) {
  .hr-tl .tl-now { display: none; }
  .hr-tl .tl-meta { justify-content: flex-end; }
  .tl-right { white-space: nowrap; }
}

/* revisión frontend-design: fuera mayúsculas espaciadas, flechas y entradas repetidas */
.wordmark { text-transform: none; letter-spacing: -0.01em; font-weight: 500; font-size: 0.9375rem; }
.nav-list { text-transform: none; letter-spacing: 0; font-size: 0.9375rem; }
.reel-lbl, .rm-eyebrow, .w-role-l, .about-facts span, .tl-meta, .tl-meta .hr-sound, .ei-count--none, .header-cta { text-transform: none; letter-spacing: 0; }
.reel-lbl { font-size: 0.9375rem; }
.rm-eyebrow { font-size: 0.875rem; }
.rm-eyebrow > * + *::before { content: ""; display: none; }
.rm-eyebrow { gap: 0 14px; }
.about-facts span { font-size: 0.875rem; }
.tl-meta { font-size: 0.875rem; }
.tl-now b { font-weight: 500; color: var(--text); }
.tl-now span { color: var(--muted); margin-left: 6px; }
.tl-meta .hr-sound { font-size: 0.875rem; }
.ei-count--none { font-size: 0.875rem; color: var(--muted); opacity: .7; }
.link-arrow { position: relative; padding-bottom: 2px; }
.link-arrow::after { content: ""; position: absolute; left: 0; right: 0; bottom: 8px; height: 1px; background: currentColor; opacity: .35; transform-origin: left; transition: opacity .2s ease; }
@media (hover: hover) and (pointer: fine) { .link-arrow:hover::after { opacity: 1; } }
/* una sola entrada orquestada (la portada); el resto de bloques ya está ahí */
.js .rv { opacity: 1 !important; transform: none !important; transition: none !important; }
.js .staff.rv .note { opacity: 1; transform: translateY(var(--y, 0)) rotate(-20deg); transition: none; }

/* botón de sonido: pastilla visible sobre el vídeo */
.tl-meta .hr-sound { display: inline-flex; align-items: center; gap: 9px; min-height: 40px; padding: 0 16px 0 13px; border-radius: 999px;
  border: 1px solid rgba(243, 236, 226, .55); background: rgba(var(--ink-rgb), .45); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  color: var(--text); font-size: 0.9375rem; font-weight: 500; letter-spacing: 0; transition: background-color .2s ease, border-color .2s ease, transform .15s cubic-bezier(0.23, 1, 0.32, 1); }
.tl-meta .hr-sound .spk { width: 20px; height: 20px; flex: none; }
.tl-meta .hr-sound .hr-eq { display: none; }
.hero-reel.has-sound .tl-meta .hr-sound { border-color: var(--teal-hi); background: rgba(var(--ink-rgb), .55); }
.hero-reel.has-sound .tl-meta .hr-sound .spk { display: none; }
.hero-reel.has-sound .tl-meta .hr-sound .hr-eq { display: inline-flex; }
@media (hover: hover) and (pointer: fine) { .tl-meta .hr-sound:hover { background: rgba(243, 236, 226, .14); border-color: var(--text); } }
.tl-meta .hr-sound:active { transform: scale(.97); }
.tl-meta .hr-sound:focus-visible { outline: 2px solid var(--teal-hi); outline-offset: 3px; }
.hr-sound.nudge { animation: nudge 1.6s ease-out; }
@keyframes nudge { 0% { box-shadow: 0 0 0 0 rgba(226, 64, 63, .7); } 70% { box-shadow: 0 0 0 12px rgba(226, 64, 63, 0); } 100% { box-shadow: 0 0 0 0 rgba(226, 64, 63, 0); } }
.tl-meta { align-items: center; }
@media (max-width: 760px) {
  .hr-tl .tl-meta { justify-content: space-between; }
  .tl-right { width: 100%; justify-content: space-between; }
  .tl-meta .hr-sound { min-height: 44px; font-size: 1rem; }
}
@media (prefers-reduced-motion: reduce) { .hr-sound.nudge { animation: none; } }

/* móvil: pantallas bajas (iPhone SE, móviles de 320) y zonas táctiles */
@media (max-width: 760px) {
  .hero-reel { padding-top: calc(var(--header-h) + 12px); }
  .wordmark { display: inline-flex; align-items: center; min-height: 44px; }
  .tab-list button { min-height: 44px; }
  .emo-strip a { padding-left: 4px; padding-right: 4px; }
  .tl-d { font-size: 0.75rem; }
}
@media (max-width: 760px) and (max-height: 700px) {
  .hero-reel .hero-name { font-size: clamp(2.5rem, 12vw, 3rem); }
  .hero-reel .hero-title { font-size: 1.125rem; margin-top: 12px; }
  .hero-support { font-size: 0.875rem; margin-top: 8px; }
  .hero-reel .actions { margin-top: 18px; gap: 10px 16px; }
  .hr-in { padding-bottom: 16px; }
}
@media (max-width: 360px) {
  .hero-reel .actions .btn { width: 100%; justify-content: center; }
}
.rm-eyebrow, .rm-eyebrow * { letter-spacing: 0 !important; text-transform: none !important; }

/* revisión Vercel/Taste: tema oscuro declarado, toque sin retraso, pausa del showreel, títulos equilibrados */
:root { color-scheme: dark; }
a, button, input, select, textarea, label, [role="tab"] { touch-action: manipulation; }
h2, h3, .hero-title { text-wrap: balance; }
@media (hover: hover) and (pointer: fine) { .reel-poster:hover img { transform: scale(1.03); } }
.hero-reel h1.hero-title { font-family: var(--font); font-weight: 400; }
.hr-pause { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(243, 236, 226, .35); background: rgba(var(--ink-rgb), .45);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: var(--text); transition: border-color .2s ease, transform .15s cubic-bezier(0.23, 1, 0.32, 1); }
.hr-pause svg { width: 18px; height: 18px; }
.hr-pause .i-play { display: none; }
.hero-reel.is-paused .hr-pause .i-play { display: block; }
.hero-reel.is-paused .hr-pause .i-pause { display: none; }
.hr-pause:active { transform: scale(.95); }
.hr-pause:focus-visible { outline: 2px solid var(--teal-hi); outline-offset: 3px; }
@media (hover: hover) and (pointer: fine) { .hr-pause:hover { border-color: var(--text); } }
.tl-right { gap: 12px; }
@media (max-width: 760px) {
  .hr-pause { width: 44px; height: 44px; }
  .tl-right { justify-content: flex-start; }
  .tl-right .tl-tc { margin-left: auto; }
}

/* ---------- portadas animadas ---------- */
.hero-bg .emo-loop { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.2s ease; }
.hero-bg .emo-loop.on { opacity: 1; }
.hero-bg.loop-on img { animation: none; }
.ei-preview .ei-vid { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .45s ease; z-index: 0; }
.ei-preview .ei-vid.show.on { opacity: .9; }
.ei-preview::after { z-index: 1; }
@media (prefers-reduced-motion: reduce) { .emo-loop, .ei-vid { display: none; } }

/* zonas táctiles cómodas en móvil (mín. 44 px) */
@media (max-width: 760px), (pointer: coarse) {
  .f-list a, .f-mail a { display: inline-flex; align-items: center; min-height: 44px; }
  .f-list li { margin: 0; }
  p.more a { min-height: 44px; display: inline-flex; align-items: center; }
}
/* controles del showreel: mismas esquinas de 4 px que el resto, y pausa sin encogerse */
.hr-pause { border-radius: 4px; flex: 0 0 auto; }
.tl-meta .hr-sound { border-radius: 4px; }
@media (max-width: 760px) { .hr-pause { width: 44px; min-width: 44px; } }
@media (max-width: 380px) { .tl-right .tl-tc { display: none; } }

/* ---------- Spotify bajo demanda ---------- */
.sp-load { display: flex; align-items: center; gap: 14px; width: 100%; min-height: 76px; padding: 14px 18px; border: 1px solid rgba(243, 236, 226, .16);
  border-radius: 4px; background: var(--navy-2); color: var(--text); text-align: left; cursor: pointer; transition: border-color .2s ease, background-color .2s ease; }
.sp-load:hover { border-color: rgba(243, 236, 226, .35); background: var(--navy-3); }
.sp-load strong { display: block; font-weight: 500; }
.sp-sub { display: block; font-size: .875rem; color: var(--muted); margin-top: 2px; }
.sp-ic { flex: 0 0 auto; display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 4px; background: var(--teal); color: #fff; }
.sp-ic svg { width: 16px; height: 16px; fill: currentColor; }
.sp-note { margin: 8px 0 0; font-size: .8125rem; color: var(--muted); }
.own-embed.is-loaded iframe { display: block; border: 0; border-radius: 4px; }
/* crédito de película con licencia */
.rm-credit { margin-top: 8px; font-size: .8125rem; color: var(--muted); }
/* página legal */
.legal { max-width: 760px; }
.legal-body h2 { font-size: 1.25rem; margin: 2.2em 0 .6em; font-weight: 500; }
.legal-body p { margin: 0 0 .8em; }
.legal-id { display: grid; gap: 10px; margin: 1em 0 1.4em; padding: 18px 20px; border: 1px solid rgba(243, 236, 226, .14); border-radius: 4px; }
.legal-id div { display: grid; grid-template-columns: 120px 1fr; gap: 12px; }
.legal-id dt { color: var(--muted); }
.legal-id dd { margin: 0; }
@media (max-width: 520px) { .legal-id div { grid-template-columns: 1fr; gap: 2px; } }
.f-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
.f-legal a { color: inherit; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(243, 236, 226, .3); }
.form-privacy a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
