/* ==========================================================
   miguelcandelaria.com — estilos compartidos
   Tipografías: Anton (≈ Manuka), Archivo (≈ Faktum),
   Hanken Grotesk (≈ National), DM Mono (≈ Basis Grotesque Mono)
   ========================================================== */

:root {
  --y: #E6B93C;
  --y2: #D9A92A;
  --y3: #CC9A1C;
  --ink: #000;
  --ink-soft: #2a2a2a;
  --muted: #5C4300;
  --line: rgba(0, 0, 0, .16);

  --f-display: 'Anton', Impact, 'Arial Narrow', sans-serif;
  --f-head: 'Archivo', Arial, sans-serif;
  --f-body: 'Hanken Grotesk', Arial, sans-serif;
  --f-mono: 'DM Mono', ui-monospace, Menlo, monospace;

  --gut: clamp(16px, 9.2vw, 140px);
  --ease: cubic-bezier(.215, .61, .355, 1);
  --ease-io: cubic-bezier(.77, 0, .175, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--y);
  color: var(--ink);
  font-family: var(--f-body);
  font-weight: 300;
  font-size: 15.5px;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
::selection { background: var(--ink); color: var(--y); }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p, ul, ol { margin: 0; padding: 0; }
ul, ol { list-style: none; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; border-radius: 4px; }

/* ---------- tipografía ---------- */
.lbl {
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 12px;
  line-height: 1.3;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.mono { font-family: var(--f-mono); font-size: 12px; line-height: 1.2; }
.b2 { font-family: var(--f-body); font-weight: 300; font-size: 15.5px; line-height: 1.4; }
.display {
  font-family: var(--f-display);
  font-weight: 400;
  text-transform: uppercase;
  line-height: .86;
  letter-spacing: 0;
}
.h2 {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(48px, 7.2vw, 104px);
  line-height: .9;
}
.big-p {
  font-family: var(--f-head);
  font-weight: 500;
  font-size: clamp(30px, 6.2vw, 64px);
  line-height: 1.2;
  letter-spacing: -.04em;
  max-width: 11.5em;
}

/* ---------- reveal (estado inicial lo pone JS) ---------- */
.w { display: inline-block; }
.c { display: inline-block; will-change: transform; }
.mask .w { overflow: hidden; padding: .08em 0 .2em; margin: -.08em 0 -.2em; vertical-align: top; }
.rv-pending .c { transform: translateY(110%); }
.rv-pending[data-reveal="words"] .w { opacity: 0; transform: translateY(60%); }
.rv-pending[data-reveal="up"] { opacity: 0; transform: translateY(32px); }
.rv-pending[data-reveal="stagger"] > * { opacity: 0; transform: translateY(32px); }

/* ---------- cortina de transición ---------- */
.curtain {
  position: fixed; inset: 0; z-index: 200;
  background: var(--ink);
  transform: translateY(101%);
  pointer-events: none;
  display: grid; place-items: center;
}
.curtain span {
  font-family: var(--f-display); color: var(--y);
  font-size: 44px; line-height: 1; letter-spacing: .02em;
}
html.entering .curtain { transform: translateY(0); }
html.entered .curtain { transform: translateY(-101%); transition: transform .85s var(--ease-io); }
html.leaving .curtain { transform: translateY(0); transition: transform .7s var(--ease-io); pointer-events: all; }
html.no-trans .curtain { transition: none !important; }

/* ---------- logo + nav fija ---------- */
.logo {
  position: fixed; top: 16px; left: 16px; z-index: 60;
  width: 64px; height: 64px; border-radius: 14px;
  background: var(--ink); color: var(--y);
  display: grid; place-items: center;
  font-family: var(--f-display); font-size: 30px; line-height: 1; letter-spacing: -.01em;
  overflow: hidden;
}
.logo .logo-a, .logo .logo-b { grid-area: 1 / 1; width: 100%; height: 100%; display: grid; place-items: center; transition: transform .5s var(--ease); }
.logo .logo-b { transform: translateY(120%); }
.logo:hover .logo-a { transform: translateY(-120%); }
.logo:hover .logo-b { transform: translateY(0); }

.topnav {
  position: fixed; top: 16px; right: 16px; z-index: 60;
  display: flex; gap: 6px;
  background: var(--ink); border-radius: 999px; padding: 6px;
}
.topnav a {
  color: var(--y); padding: 11px 16px; border-radius: 999px;
  transition: background .25s, color .25s;
}
.topnav a:hover { background: #222; }
.topnav a[aria-current="page"] { background: var(--y); color: var(--ink); }

.fab {
  position: fixed; right: 16px; bottom: 16px; z-index: 60;
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--ink); color: var(--y);
  display: grid; place-items: center;
  transition: transform .35s var(--ease);
}
.fab:hover { transform: scale(1.08) rotate(-6deg); }
.fab svg { width: 24px; height: 24px; }

/* ---------- botones ---------- */
.btns { display: flex; flex-wrap: wrap; gap: 8px; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 22px 32px; border-radius: 999px;
  background: var(--ink); color: var(--y);
  transition: transform .3s var(--ease), background .3s;
}
.btn:hover { transform: translateY(-3px); }
.btn.alt { background: var(--y2); color: var(--ink); }
.btn.alt:hover { background: var(--y3); }

/* ---------- barra inferior (ciudad / fecha / hora) ---------- */
.bar {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 16px; align-items: end;
}
.bar > :nth-child(2) { text-align: center; }
.bar > :nth-child(3) { text-align: right; }

/* ---------- secciones ---------- */
.section { padding: clamp(96px, 14vw, 200px) var(--gut) 0; }
.sep { width: 120px; height: 1px; background: var(--line); margin: 0 0 clamp(64px, 9vw, 120px); }
.sec-head {
  display: flex; align-items: end; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  margin-bottom: clamp(32px, 4vw, 56px);
}
.sec-head .b2 { max-width: 34ch; }
.kicker { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; color: var(--muted); }

/* ==========================================================
   NOMBRE (compartido por home, CV y portfolio)
   ========================================================== */
.name { display: block; }
.name-in { display: inline-block; vertical-align: top; }
.fit-line { display: block; white-space: nowrap; }
.fit-in { display: inline-block; }
.spread-line {
  display: flex; justify-content: space-between;
  font-size: .46em; line-height: 1; margin-top: .2em;
}
.spread-line > span { display: block; }
.name-slot { flex: 1 1 auto; min-height: 0; display: flex; align-items: center; }
.name-slot > .name { width: 100%; }

/* ==========================================================
   HOME
   ========================================================== */
.home {
  height: 100vh; height: 100svh; min-height: 520px;
  padding: 104px var(--gut) 24px;
  display: flex; flex-direction: column;
  overflow: hidden;
}
.home .name-slot { padding: 1vh 0 3vh; }

.choices {
  flex: none;
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
  margin-bottom: 24px;
}
.choice {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: auto 1fr auto; align-items: end; gap: 16px;
  padding: 20px 24px 16px;
  border-radius: 16px;
  background: var(--y2);
  isolation: isolate;
}
.choice::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--ink);
  transform: translateY(101%);
  transition: transform .55s var(--ease-io);
}
.choice:hover::before, .choice:focus-visible::before { transform: translateY(0); }
.choice .mono { align-self: start; transition: color .4s; }
.choice-t {
  font-family: var(--f-display); text-transform: uppercase;
  font-size: clamp(40px, min(6vw, 9vh), 104px); line-height: .9;
  transition: color .4s;
}
.choice-arrow {
  width: clamp(40px, 4vw, 60px); height: clamp(40px, 4vw, 60px);
  border-radius: 50%; background: var(--ink); color: var(--y);
  display: grid; place-items: center;
  transition: background .4s, color .4s, transform .5s var(--ease);
}
.choice-arrow svg { width: 42%; height: 42%; }
.choice:hover .choice-t, .choice:hover .mono { color: var(--y); }
.choice:hover .choice-arrow { background: var(--y); color: var(--ink); transform: rotate(-45deg); }
.choice-sub { display: block; margin-top: 6px; color: var(--muted); transition: color .4s; }
.choice:hover .choice-sub { color: rgba(230, 185, 60, .7); }
.home .bar { flex: none; padding-right: 76px; }

/* ==========================================================
   CV — HERO
   ========================================================== */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 30vw;
  height: 100vh; height: 100svh; min-height: 560px;
}
.hero-left {
  display: flex; flex-direction: column; min-height: 0;
  padding: 104px clamp(24px, 4vw, 64px) 24px var(--gut);
}
.hero-tag { flex: none; display: flex; justify-content: flex-end; }
.hero-tag .b2 { max-width: 24ch; }
.hero .name-slot { padding: 3vh 0; }
.hero .bar { flex: none; }
.hero-photo { position: relative; overflow: hidden; background: var(--y2); margin: 0; }
.hero-photo img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 38%;
  transform: scale(1.12);
  transition: transform 2.2s var(--ease);
}
.hero-photo::after {
  content: ""; position: absolute; inset: 0;
  background: var(--y); mix-blend-mode: multiply; opacity: .95;
  transition: opacity 1.6s var(--ease) .2s;
}
.hero-photo.is-in img { transform: scale(1); }
.hero-photo.is-in::after { opacity: 0; }
.no-js .hero-photo img { transform: none; }
.no-js .hero-photo::after { opacity: 0; }

/* ---------- CV intro + mapa ---------- */
.intro-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 72px); align-items: center; }
.intro .big-p { font-size: clamp(26px, 3.3vw, 46px); line-height: 1.18; max-width: 16em; }
.map { margin: 0; }
.map-svg { display: block; width: 100%; height: auto; overflow: visible; }
.map-dots circle { fill: rgba(0, 0, 0, .2); }
.map-dots circle.es, .map-dots circle.co { fill: var(--ink); }
.map-arc { fill: none; stroke: var(--ink); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 2.4s var(--ease-io) .2s; }
.map.is-on .map-arc, .no-js .map-arc { stroke-dashoffset: 0; }
.map-pin { fill: var(--ink); }
.map-ring { fill: none; stroke: var(--ink); stroke-width: 1.5; transform-box: fill-box; transform-origin: center; animation: ring 2.4s ease-out infinite; }
.map-ring + .map-ring { animation-delay: 1.2s; }
@keyframes ring { from { transform: scale(1); opacity: .9; } to { transform: scale(3.4); opacity: 0; } }
.map-lbl { font-family: var(--f-head); font-weight: 800; font-size: 13px; letter-spacing: .14em; fill: var(--ink); }
.map-cap { display: flex; justify-content: space-between; margin-top: 14px; padding-top: 10px; border-top: 1px solid var(--line); }
.mid-p { font-family: var(--f-head); font-weight: 500; font-size: clamp(20px, 2.3vw, 32px); line-height: 1.25; letter-spacing: -.03em; max-width: 30em; }
.vs-club { display: inline-flex; align-items: center; justify-content: flex-end; gap: .22em; }
.crests { display: inline-flex; gap: .12em; }
.crest { height: .92em; width: auto; flex: none; }
.vs-club > span:last-child { white-space: nowrap; }
.vs-row { grid-template-columns: auto auto minmax(0, 1fr); }
.intro { padding: clamp(80px, 12vw, 180px) var(--gut) 0; }

/* ---------- trayectoria (acordeón: se despliega al pasar por encima) ---------- */
.xp-list { border-bottom: 1px solid var(--ink); }
.xp-row {
  border-top: 1px solid var(--ink);
  transition: background .35s;
  outline: none;
}
.xp-head {
  display: grid; grid-template-columns: minmax(150px, 240px) minmax(0, 1fr) auto 44px;
  gap: clamp(16px, 3vw, 48px); align-items: center;
  padding: 26px 0;
  cursor: pointer;
  transition: padding .45s var(--ease);
}
.xp-logo { height: 56px; display: flex; align-items: center; }
.xp-logo img { max-height: 100%; max-width: 100%; width: auto; object-fit: contain; }
.xp-logo.h40 { height: 40px; }
.xp-role .lbl { display: block; color: var(--muted); margin-bottom: 6px; }
.xp-co { display: block; font-family: var(--f-head); font-weight: 600; font-size: clamp(22px, 2.6vw, 36px); line-height: 1.05; letter-spacing: -.03em; }
.xp-when { text-align: right; line-height: 1.5; }
.xp-plus {
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--ink); color: var(--y);
  transition: transform .45s var(--ease);
}
.xp-plus svg { width: 16px; height: 16px; }
.xp-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .55s var(--ease-io); }
.xp-body-in { overflow: hidden; min-height: 0; }
.xp-body-grid {
  display: grid; grid-template-columns: minmax(150px, 240px) minmax(0, 1fr);
  gap: clamp(16px, 3vw, 48px);
  padding: 0 0 32px;
  opacity: 0; transform: translateY(-8px);
  transition: opacity .4s, transform .5s var(--ease), padding .45s var(--ease);
}
.xp-body-grid > div { grid-column: 2; }
.xp-body .b2 { font-size: clamp(16px, 1.4vw, 19px); max-width: 58ch; }
.xp-row.is-open { background: var(--y2); }
.xp-row.is-open .xp-head { padding-left: 20px; padding-right: 20px; }
.xp-row.is-open .xp-body { grid-template-rows: 1fr; }
.xp-row.is-open .xp-body-grid { opacity: 1; transform: none; padding-left: 20px; padding-right: 20px; transition-delay: .12s; }
.xp-row.is-open .xp-plus { transform: rotate(45deg); }
@media (hover: hover) {
  .xp-row:hover { background: var(--y2); }
  .xp-row:hover .xp-head { padding-left: 20px; padding-right: 20px; }
  .xp-row:hover .xp-body { grid-template-rows: 1fr; }
  .xp-row:hover .xp-body-grid { opacity: 1; transform: none; padding-left: 20px; padding-right: 20px; transition-delay: .12s; }
  .xp-row:hover .xp-plus { transform: rotate(45deg); }
}
.fx { margin-top: 20px; border-top: 1px solid var(--line); max-width: 64ch; }
.fx li { padding: 12px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 32px 1fr; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
.chip {
  padding: 8px 12px; border-radius: 999px;
  border: 1px solid currentColor;
  font-family: var(--f-head); font-weight: 700; font-size: 11px; letter-spacing: .1em; text-transform: uppercase;
}
.sub-h { display: block; margin-top: 26px; color: var(--muted); }
.venues {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 10px; margin-top: 16px; max-width: 820px;
}
.venue {
  height: 84px; border-radius: 12px; background: var(--y);
  display: grid; place-items: center; padding: 14px 16px;
}
.venue.w2 { grid-column: span 2; }
.venue img { max-height: 40px; max-width: 100%; width: auto; object-fit: contain; }
.venue img.sq { max-height: 58px; }

/* logos tipográficos (sin logo oficial) */
.tlogo { display: inline-flex; align-items: center; gap: 10px; line-height: 1; color: var(--ink); }
.tlogo-box {
  font-family: var(--f-display); font-size: 26px; padding: 6px 7px 4px;
  border: 2.5px solid currentColor; border-radius: 6px; letter-spacing: .02em;
}
.tlogo-txt { font-family: var(--f-head); font-weight: 800; font-size: 15px; letter-spacing: .12em; text-transform: uppercase; line-height: 1.05; }
.tlogo-txt small { display: block; font-weight: 600; font-size: 9px; letter-spacing: .28em; margin-top: 4px; }
.tlogo-big { font-family: var(--f-display); font-size: 40px; letter-spacing: .01em; text-transform: uppercase; }


/* ---------- marquee artistas ---------- */
.marquee {
  margin-top: clamp(80px, 10vw, 140px);
  border-block: 1px solid var(--ink);
  overflow: hidden; padding: 18px 0 14px;
}
.marquee-label { padding: 0 var(--gut); margin-bottom: 14px; }
.marquee-track { display: flex; width: max-content; animation: marq 55s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span {
  font-family: var(--f-display); text-transform: uppercase;
  font-size: clamp(48px, 7.5vw, 120px); line-height: 1; white-space: nowrap;
  padding-right: .35em;
}
.marquee-track span i { font-style: normal; display: inline-block; transform: translateY(-.12em); font-size: .45em; padding-left: .35em; }
@keyframes marq { to { transform: translateX(-50%); } }

/* ---------- lista tipo "shows" (formación, grammy) ---------- */
.cols {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: clamp(20px, 2.4vw, 36px);
}
.col { border-top: 1px solid var(--ink); padding-top: 16px; }
.col-h { display: flex; justify-content: space-between; align-items: start; gap: 12px; min-height: 44px; }
.col-h .lbl { max-width: 20ch; }
.tag {
  flex: none;
  font-family: var(--f-mono); font-weight: 500; font-size: 10px; line-height: 1; letter-spacing: .15em; text-transform: uppercase;
  color: var(--muted); border: 1px solid currentColor; border-radius: 4px; padding: 4px 6px;
}
.col-sub { color: var(--muted); margin: 4px 0 18px; }
.col .b2 { color: var(--ink-soft); max-width: 36ch; }

/* ---------- herramientas ---------- */
.tools {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px;
}
.tool {
  border-radius: 16px; padding: 18px; min-height: 200px;
  background: var(--ink); color: var(--y);
  display: flex; flex-direction: column; justify-content: space-between;
  transition: transform .4s var(--ease);
}
.tool:hover { transform: translateY(-4px) rotate(-1deg); }
.tool-ic {
  width: 56px; height: 56px; border-radius: 12px;
  display: grid; place-items: center;
  background: var(--y); color: var(--ink);
  font-family: var(--f-head); font-weight: 800; font-size: 22px; letter-spacing: -.03em;
}
.tool .mono { color: rgba(230, 185, 60, .6); margin-top: 6px; }
.tool.lang { background: var(--y2); color: var(--ink); }
.tool.lang .tool-ic { background: var(--ink); color: var(--y); }
.tool.lang .mono { color: var(--muted); }

/* ---------- tiempo libre ---------- */
.free { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 80px); align-items: end; }
.free-card {
  background: var(--ink); color: var(--y); border-radius: 16px; padding: 24px;
  display: flex; flex-direction: column; gap: 28px; min-height: 260px; justify-content: space-between;
}
.free-card .mono { color: rgba(230, 185, 60, .6); }
.free-card .xp-co { font-size: clamp(22px, 2.2vw, 30px); }
.free-card .chips { margin-top: 0; }

/* ---------- contacto / footer ---------- */
.foot {
  margin-top: clamp(120px, 16vw, 220px);
  padding: 0 var(--gut) 28px;
}
.foot-big { margin-bottom: clamp(28px, 4vw, 48px); }
.contact { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--ink); margin-bottom: 56px; }
.c-item {
  position: relative; isolation: isolate;
  display: flex; flex-direction: column; gap: 10px;
  padding: 24px 20px 26px 0; border-bottom: 1px solid var(--ink);
  transition: color .35s, padding .45s var(--ease);
}
.c-item:nth-child(odd) { border-right: 1px solid var(--ink); }
.c-item:nth-child(even) { padding-left: 24px; }
.c-item .lbl { color: var(--muted); transition: color .35s; }
.c-val { font-family: var(--f-head); font-weight: 600; font-size: clamp(20px, 2.5vw, 36px); letter-spacing: -.03em; line-height: 1.1; overflow-wrap: anywhere; }
a.c-item::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ink);
  transform: scaleY(0); transform-origin: bottom; transition: transform .45s var(--ease-io);
}
a.c-item:hover { color: var(--y); padding-left: 20px; }
a.c-item:nth-child(even):hover { padding-left: 44px; }
a.c-item:hover::before { transform: scaleY(1); }
a.c-item:hover .lbl { color: rgba(230, 185, 60, .65); }
.foot-row { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: end; padding-right: 76px; }
.foot-links { display: flex; gap: 22px; flex-wrap: wrap; }
.ulink { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat; transition: background-size .35s var(--ease); padding-bottom: 2px; }
.ulink:hover { background-size: 100% 1.5px; }

/* ---------- formación con logos ---------- */
.col-logo { height: 64px; display: flex; align-items: center; margin-bottom: 20px; }
.col-logo img { max-height: 100%; width: auto; max-width: 100%; }



/* ==========================================================
   PORTFOLIO
   ========================================================== */
.pf-hero {
  min-height: 100vh; min-height: 100svh;
  padding: 104px var(--gut) 28px;
  display: flex; flex-direction: column;
}

.index { border-top: 1px solid var(--ink); margin-bottom: 40px; }
.idx {
  position: relative; isolation: isolate;
  display: grid; grid-template-columns: 56px minmax(0, 1fr) auto 40px; gap: 16px; align-items: center;
  padding: 14px 8px; border-bottom: 1px solid var(--ink);
  transition: color .35s, padding .45s var(--ease);
}
.idx::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ink);
  transform: scaleY(0); transform-origin: bottom; transition: transform .45s var(--ease-io);
}
.idx:hover { color: var(--y); padding-left: 20px; padding-right: 20px; }
.idx:hover::before { transform: scaleY(1); }
.idx-t { font-family: var(--f-head); font-weight: 600; font-size: clamp(20px, 2.6vw, 34px); letter-spacing: -.03em; line-height: 1.1; }
.idx-m { color: var(--muted); text-align: right; transition: color .35s; }
.idx:hover .idx-m { color: rgba(230, 185, 60, .65); }
.idx-a { justify-self: end; transition: transform .45s var(--ease); }
.idx:hover .idx-a { transform: rotate(-45deg); }
.idx-a svg { width: 22px; height: 22px; }

.case { scroll-margin-top: 24px; }
.case-h { display: grid; grid-template-columns: 80px minmax(0, 1fr) minmax(0, 34ch); gap: 24px; align-items: end; margin-bottom: clamp(36px, 5vw, 64px); }
.case-n { font-family: var(--f-mono); font-size: 14px; align-self: start; padding-top: .6em; }
.case-h .b2 { color: var(--ink-soft); }

/* 01 aperturas */
.open-row {
  display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr) 110px;
  gap: 20px; align-items: center;
  padding: 22px 0; border-top: 1px solid var(--ink);
  transition: background .3s, padding .45s var(--ease);
}
.open-row:last-child { border-bottom: 1px solid var(--ink); }
.open-row:hover { background: var(--y2); padding-left: 16px; padding-right: 16px; }
.open-headliner { font-family: var(--f-display); text-transform: uppercase; font-size: clamp(40px, 6vw, 92px); line-height: .9; }
.open-row .lbl-s { color: var(--muted); display: block; margin-bottom: 6px; }
.open-by { font-family: var(--f-head); font-weight: 700; text-transform: uppercase; letter-spacing: .02em; font-size: clamp(16px, 1.6vw, 22px); }
.open-row .mono { text-align: right; }

/* 02 canciones (carrusel) */
.songs { position: relative; }
.songs-track {
  display: grid; grid-auto-flow: column;
  grid-auto-columns: calc((100% - 3 * 12px) / 4);
  gap: 12px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  scrollbar-width: none; padding-bottom: 4px;
}
.songs-track::-webkit-scrollbar { display: none; }
.song {
  scroll-snap-align: start;
  display: flex; flex-direction: column; justify-content: space-between; gap: 18px;
  aspect-ratio: 4 / 5; padding: 16px;
  border-radius: 16px; background: #0b0b0b; color: #fff;
  transition: transform .45s var(--ease);
}
.song:hover { transform: translateY(-6px); }
.vinyl {
  position: relative; width: 82%; aspect-ratio: 1; margin: 6% auto 0; border-radius: 50%;
  background:
    radial-gradient(circle, transparent 0 31%, rgba(255,255,255,.05) 31.5% 32%, transparent 32.5%),
    repeating-radial-gradient(circle, #151515 0 2px, #0a0a0a 2px 4px);
  box-shadow: 0 0 0 1px #222, 0 12px 30px rgba(0,0,0,.5);
  animation: spin 7s linear infinite paused;
}
.vinyl::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(from 20deg, transparent 0 12%, rgba(255,255,255,.08) 15%, transparent 20% 60%, rgba(255,255,255,.06) 64%, transparent 70%);
}
.song:hover .vinyl, .song:focus-visible .vinyl { animation-play-state: running; }
.vinyl-label {
  position: absolute; inset: 31%; border-radius: 50%;
  background: var(--lc, var(--y)); color: var(--lt, #000);
  display: grid; place-items: center; text-align: center;
  font-family: var(--f-display); text-transform: uppercase; font-size: clamp(11px, 1.05vw, 16px); line-height: .95; padding: 8%;
}
.vinyl-label::after { content: ""; position: absolute; width: 9%; aspect-ratio: 1; border-radius: 50%; background: #0b0b0b; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.vinyl-label b { position: absolute; left: 10%; right: 10%; top: 20%; font-weight: 400; }
.vinyl-label small { position: absolute; left: 0; right: 0; bottom: 20%; font-family: var(--f-mono); font-size: 8px; letter-spacing: .12em; opacity: .7; }
@keyframes spin { to { transform: rotate(360deg); } }
.song-meta { display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; align-items: end; }
.song-meta .lbl { color: #fff; }
.song-meta .artist { color: var(--y); grid-column: 1; }
.song-meta .role { color: #8a7a55; grid-column: 1 / -1; font-family: var(--f-mono); font-size: 11px; margin-top: 6px; }
.song-ic { grid-row: 1 / 3; grid-column: 2; width: 18px; height: 18px; color: #fff; }
.song-badge {
  align-self: flex-start;
  font-family: var(--f-mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase;
  background: var(--y); color: #000; padding: 5px 8px; border-radius: 4px;
}
.song-top { display: flex; justify-content: space-between; align-items: start; min-height: 22px; }
.song-top .mono { color: #6f6f6f; }
.carousel-nav { display: flex; gap: 8px; margin-top: 28px; }
.round {
  width: 64px; height: 64px; border-radius: 50%; background: var(--y2);
  display: grid; place-items: center;
  transition: background .3s, transform .3s var(--ease), opacity .3s;
}
.round:hover { background: var(--ink); color: var(--y); }
.round[disabled] { opacity: .35; pointer-events: none; }
.round svg { width: 20px; height: 20px; }

/* 04 artistas (tarjetas negras) */
.feat { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.feat-card {
  background: var(--ink); color: var(--y); border-radius: 16px;
  padding: 22px; min-height: 440px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 32px;
  transition: transform .45s var(--ease);
}
.feat-card:hover { transform: translateY(-6px); }
.feat-card .mono { color: rgba(230, 185, 60, .55); display: flex; justify-content: space-between; }
.feat-artist { font-family: var(--f-display); text-transform: uppercase; font-size: clamp(52px, 5.6vw, 96px); line-height: .88; }
.feat-proj { font-family: var(--f-head); font-weight: 700; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; margin: 14px 0 12px; }
.feat-card .b2 { color: rgba(230, 185, 60, .8); max-width: 30ch; }

/* 05 música y fútbol */
.vs-row {
  display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: clamp(16px, 3vw, 48px); align-items: center;
  padding: clamp(24px, 3vw, 40px) 0; border-top: 1px solid var(--ink);
}
.vs-row:last-child { border-bottom: 1px solid var(--ink); }
.vs-row .display { font-size: clamp(40px, 6.4vw, 110px); }
.vs-row .right { text-align: right; }
.vs-x {
  width: clamp(56px, 6vw, 96px); aspect-ratio: 1; border-radius: 50%;
  background: var(--ink); color: var(--y);
  display: grid; place-items: center;
  font-family: var(--f-head); font-weight: 300; font-size: clamp(26px, 3vw, 44px); line-height: 1;
  transition: transform .6s var(--ease);
}
.vs-row:hover .vs-x { transform: rotate(90deg); }
.vs-sub { display: block; margin-top: 10px; font-family: var(--f-head); font-weight: 700; font-size: 12px; letter-spacing: .1em; }

/* 06 serrano 41 */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; position: relative; }
.step { border-radius: 16px; background: var(--y2); padding: 22px; min-height: 260px; display: flex; flex-direction: column; justify-content: space-between; }
.step:last-child { background: var(--ink); color: var(--y); }
.step .display { font-size: clamp(40px, 5vw, 80px); line-height: .98; }
.step .mono { display: flex; justify-content: space-between; }
.progress { height: 6px; border-radius: 6px; background: var(--y2); margin-top: 12px; overflow: hidden; }
.progress i { display: block; height: 100%; width: 100%; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform 1.8s var(--ease-io) .2s; }
.progress.is-on i { transform: scaleX(1); }
.serrano-text { margin-top: clamp(40px, 5vw, 64px); }

/* 07 proyectos propios */
.own { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.own-card {
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: 16px; background: var(--y2); padding: 24px; min-height: 420px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 24px;
  transition: color .45s;
}
.own-card::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ink);
  clip-path: circle(0% at 100% 0%); transition: clip-path .8s var(--ease-io);
}
.own-card:hover { color: var(--y); }
.own-card:hover::before { clip-path: circle(150% at 100% 0%); }
.own-top { display: flex; justify-content: space-between; align-items: start; }
.own-card .display { font-size: clamp(64px, 9vw, 150px); }
.own-card .b2 { max-width: 34ch; }
.own-go { width: 56px; height: 56px; border-radius: 50%; background: var(--ink); color: var(--y); display: grid; place-items: center; transition: background .45s, color .45s, transform .5s var(--ease); }
.own-card:hover .own-go { background: var(--y); color: var(--ink); transform: rotate(-45deg); }
.own-go svg { width: 22px; height: 22px; }

/* 08 digital */
.digital { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.web {
  border-radius: 16px; background: var(--ink); color: var(--y); overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .45s var(--ease);
}
.web:hover { transform: translateY(-6px); }
.web-shot {
  aspect-ratio: 16 / 10; margin: 10px 10px 0; border-radius: 10px;
  background: var(--y2); color: var(--ink); position: relative; overflow: hidden;
  display: grid; place-items: center; text-align: center; padding: 20px;
}
.web-shot::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 22px;
  background: rgba(0,0,0,.1);
  -webkit-mask: radial-gradient(circle 3.5px at 12px 11px, #000 98%, transparent) , radial-gradient(circle 3.5px at 24px 11px, #000 98%, transparent), radial-gradient(circle 3.5px at 36px 11px, #000 98%, transparent), linear-gradient(#000, #000);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
.web-shot .display { font-size: clamp(30px, 3vw, 44px); line-height: 1; }
.web-body { padding: 16px 18px 18px; display: flex; justify-content: space-between; align-items: end; gap: 12px; }
.web-body .mono { color: rgba(230, 185, 60, .55); margin-top: 6px; }
.web-shot img { position: absolute; inset: 22px 0 0; width: 100%; height: calc(100% - 22px); object-fit: cover; object-position: top; transition: transform 1.2s var(--ease); }
.web:hover .web-shot img { transform: scale(1.04); }
.web-shot { padding: 0; }
.web-group { display: flex; justify-content: space-between; border-top: 1px solid var(--ink); padding: 14px 0; margin-top: 28px; }
.web.soon { background: transparent; color: var(--ink); border: 1.5px dashed var(--ink); }
.web.soon .web-shot { background: transparent; }
.web.soon .web-shot::before { display: none; }
.web.soon .mono { color: var(--muted); }

/* ---------- portfolio: nombre + sumario ---------- */
.pf-hero .name { margin: auto 0 0; }
.pf-hero .name-in { display: block; }
.pf-hero .spread-line { font-size: .165em; margin-top: .3em; }
.sumario { display: flex; justify-content: space-between; align-items: end; margin: clamp(40px, 6vh, 72px) 0 14px; }
.sumario .display { font-size: clamp(28px, 3vw, 44px); line-height: 1; }

/* ---------- cita ---------- */
.quote {
  min-height: 90vh; min-height: 90svh;
  padding: clamp(96px, 12vw, 160px) var(--gut);
  display: grid; place-items: center; text-align: center;
}
.quote blockquote { margin: 0; max-width: 17em; font-family: var(--f-head); font-weight: 500; font-size: clamp(30px, 5vw, 68px); line-height: 1.12; letter-spacing: -.04em; }
.quote cite { display: block; margin-top: clamp(28px, 4vw, 44px); font-style: normal; font-family: var(--f-head); font-weight: 700; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }

/* ---------- 01 aperturas (casos con fotos) ---------- */
.ops-lead { max-width: 14em; margin-bottom: clamp(56px, 8vw, 110px); }
.ops { display: grid; gap: clamp(72px, 10vw, 140px); }
.op { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(24px, 4vw, 64px); align-items: start; border-top: 1px solid var(--ink); padding-top: 24px; }
.op-info { position: sticky; top: 100px; }
.op-meta { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.op-name { font-size: clamp(64px, 8.4vw, 140px); line-height: 1.04; }
.op-for { margin-top: 18px; font-family: var(--f-head); font-weight: 600; font-size: clamp(18px, 1.8vw, 24px); letter-spacing: -.02em; }
.op-for b { font-weight: 800; }
.op-dates { margin-top: 28px; border-top: 1px solid var(--line); }
.op-date { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.op-date .lbl { color: var(--muted); padding-top: 3px; }
.op-date b { display: block; font-family: var(--f-head); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; font-size: 15px; margin-bottom: 4px; }
.op-photos { display: flex; flex-direction: column; gap: 12px; }
.pr { display: grid; grid-template-columns: var(--c, 1fr 1fr); gap: 12px; align-items: start; }
.pr.narrow { max-width: 460px; }
.op-photos figure { margin: 0; border-radius: 16px; overflow: hidden; background: var(--y2); position: relative; }
.op-photos figure.wide { grid-column: 1 / -1; }
.op-photos.three { grid-template-columns: repeat(3, 1fr); }
.op-photos img { width: 100%; height: auto; transition: transform 1.1s var(--ease); }
.op-photos figure:hover img { transform: scale(1.05); }
.op-photos figcaption {
  position: absolute; left: 12px; bottom: 12px;
  background: var(--ink); color: var(--y); padding: 7px 10px; border-radius: 6px;
  font-family: var(--f-head); font-weight: 700; font-size: 10px; letter-spacing: .12em; text-transform: uppercase;
}

/* ---------- 02 cifra + portadas en vinilo ---------- */
.stat { display: flex; align-items: baseline; gap: clamp(16px, 3vw, 40px); flex-wrap: wrap; margin-bottom: clamp(36px, 5vw, 60px); border-top: 1px solid var(--ink); padding-top: 20px; }
.stat-n { font-size: clamp(88px, 14vw, 220px); line-height: .85; }
.stat-t { font-family: var(--f-head); font-weight: 500; font-size: clamp(22px, 2.6vw, 38px); letter-spacing: -.03em; line-height: 1.1; max-width: 12em; }
.stat-t b { font-weight: 800; }
.vinyl-label.has-img { background: #222 var(--img) center / cover no-repeat; inset: 24%; }
.song-badge.alt { background: transparent; color: var(--y); border: 1px solid var(--y); }

/* ---------- 03 latin grammy ---------- */
.gr { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(24px, 4vw, 64px); align-items: stretch; border-top: 1px solid var(--ink); padding-top: 24px; }
.gr-card { background: transparent; color: var(--ink); border-radius: 16px; padding: 0 28px 0 0; display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; min-height: 380px; }
.gr-trophy { width: auto; height: clamp(220px, 26vw, 360px); align-self: center; filter: drop-shadow(0 22px 28px rgba(0, 0, 0, .22)); }
.gr-num { display: block; font-size: clamp(120px, 16vw, 240px); line-height: .8; text-align: right; }
.gr-num-t { display: block; text-align: right; margin-top: 14px; font-family: var(--f-head); font-weight: 700; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; line-height: 1.3; }
.gr-photos { margin-top: 12px; }
.vs-photos { margin: 12px 0 clamp(24px, 3vw, 40px); }

/* ---------- 07 logos en tarjetas propias ---------- */
.own-logo { height: clamp(56px, 7vw, 96px); display: flex; align-items: center; }
.own-logo img { max-height: 100%; max-width: 100%; width: auto; transition: filter .45s; }
.own-card:hover .own-logo img { filter: invert(84%) sepia(51%) saturate(868%) hue-rotate(356deg) brightness(103%); }


/* ==========================================================
   RESPONSIVE
   ========================================================== */
@media (max-width: 991px) {
  .hero { grid-template-columns: minmax(0, 1fr); height: auto; min-height: 0; }
  .hero-left { padding-right: var(--gut); min-height: 0; }
  .hero .name-slot { padding: 6vh 0 6vh; }
  .hero-photo { height: 80svh; }
  .feat { grid-template-columns: 1fr; }
  .feat-card { min-height: 340px; }
  .songs-track { grid-auto-columns: calc((100% - 12px) / 2); }
  .case-h { grid-template-columns: 1fr; gap: 12px; }
  .case-n { padding-top: 0; }
  .op { grid-template-columns: 1fr; }
  .op-info { position: static; }
  .gr { grid-template-columns: 1fr; }
  .intro-grid { grid-template-columns: 1fr; }
  .free { grid-template-columns: 1fr; }
  .xp-head { grid-template-columns: 150px minmax(0, 1fr) 44px; }
  .xp-when { grid-column: 2; grid-row: 2; text-align: left; }
  .xp-plus { grid-column: 3; grid-row: 1 / 3; }
  .xp-body-grid { grid-template-columns: minmax(0, 1fr); }
  .xp-body-grid > div { grid-column: 1; }
}
@media (max-width: 720px) {
  body { font-size: 15px; }
  .logo { width: 52px; height: 52px; border-radius: 12px; font-size: 24px; top: 12px; left: 12px; }
  .topnav { top: 12px; right: 12px; padding: 4px; }
  .topnav a { padding: 10px 12px; }
  .fab { width: 56px; height: 56px; right: 12px; bottom: 12px; }
  .home, .pf-hero { padding-top: 84px; }
  .hero-left { padding-top: 84px; }
  .hero-tag { justify-content: flex-start; }
  .choices { grid-template-columns: 1fr; gap: 8px; margin-bottom: 16px; }
  .choice { padding: 14px 18px 12px; }
  .choice-sub { display: none; }
  .bar { grid-template-columns: 1fr 1fr; padding-right: 68px; }
  .bar > :nth-child(2) { text-align: right; }
  .bar > :nth-child(3) { display: none; }
  .idx { grid-template-columns: 36px minmax(0, 1fr) 24px; }
  .idx-m { display: none; }
  .songs-track { grid-auto-columns: 78%; }
  .steps, .own { grid-template-columns: 1fr; }
  .step { min-height: 200px; }
  .own-card { min-height: 320px; }
  .vs-row { grid-template-columns: 1fr; justify-items: start; }
  .vs-row .right { text-align: left; }
  .vs-club { justify-content: flex-start; }
  .xp-head { grid-template-columns: minmax(0, 1fr) 40px; gap: 12px; padding: 22px 0; }
  .xp-logo { grid-column: 1; height: 40px; }
  .xp-role { grid-column: 1; }
  .xp-when { grid-column: 1; grid-row: auto; }
  .xp-plus { grid-column: 2; grid-row: 1; width: 40px; height: 40px; }
  .contact { grid-template-columns: 1fr; }
  .c-item:nth-child(odd) { border-right: 0; }
  .c-item:nth-child(even) { padding-left: 0; }
  a.c-item:nth-child(even):hover { padding-left: 20px; }
  .op-photos { gap: 8px; }
  .op-photos.three { grid-template-columns: 1fr 1fr; }
  .venues { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .venue { height: 72px; padding: 10px 12px; }
  .op-date { grid-template-columns: 1fr; gap: 4px; }
}

@media (prefers-reduced-motion: reduce) {
  .map-arc { stroke-dashoffset: 0; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .marquee-track { animation: none; }
}
