/* Ofrenda · página de enlaces (bio.ofrendamusic.com) */
@font-face { font-family: "Anton Local"; src: url("fonts/Anton.ttf") format("truetype"); font-display: swap; }
@font-face { font-family: "Montserrat Local"; src: url("fonts/Montserrat-800.ttf") format("truetype"); font-weight: 800; font-display: swap; }

:root {
  --negro: #0b0b0b;
  --carbon: #151515;
  --grafito: #262626;
  --gris: #9a9a9a;
  --niebla: #d8d8d6;
  --blanco: #ffffff;
  --f-display: "Anton", "Anton Local", sans-serif;
  --f-texto: "Montserrat", "Montserrat Local", system-ui, sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh; min-height: 100svh;
  color: var(--blanco);
  font: 500 1rem/1.5 var(--f-texto);
  -webkit-font-smoothing: antialiased;
  background:
    radial-gradient(60% 40% at 50% 0%, rgba(255, 255, 255, .1), transparent 70%),
    linear-gradient(180deg, rgba(11, 11, 11, .55), rgba(11, 11, 11, .94) 55%),
    url("img/mezclilla-gris-oscuro.webp") center top / 560px repeat,
    var(--carbon);
  background-attachment: fixed, fixed, scroll, scroll;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
::selection { background: var(--blanco); color: var(--negro); }
:focus-visible { outline: 3px solid var(--blanco); outline-offset: 3px; border-radius: 10px; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.bio { width: min(560px, 100% - 32px); margin: 0 auto; padding: 0 0 48px; }

/* Cabecera */
.cabeza { position: relative; text-align: center; padding-top: 28px; }
.cabeza__foto { position: relative; width: min(420px, 92%); margin: 0 auto -64px; aspect-ratio: 1100 / 1064; }
.cabeza__foto img { width: 100%; filter: drop-shadow(0 24px 30px rgba(0, 0, 0, .55)); -webkit-mask-image: linear-gradient(180deg, #000 72%, transparent 98%); mask-image: linear-gradient(180deg, #000 72%, transparent 98%); }
.cabeza__logo { position: relative; width: 104px; margin: 0 auto 10px; filter: drop-shadow(0 8px 18px rgba(0, 0, 0, .6)); }
.cabeza__lema { margin: 0; font: 800 1.15rem/1.3 var(--f-texto); text-wrap: balance; }
.cabeza__lugar { margin: 6px 0 0; font: 700 .7rem/1.4 var(--f-texto); letter-spacing: .2em; text-transform: uppercase; color: var(--gris); }

/* Video */
.video { margin-top: 30px; }
.video h2, .enlaces-titulo { margin: 0 0 12px; font: 400 1.6rem/1 var(--f-display); text-transform: uppercase; letter-spacing: .01em; }
.video__marco { position: relative; aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; background: var(--grafito); box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .08); }
.video__marco iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Enlaces */
.enlaces { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 12px; }
.enlace {
  position: relative; display: flex; align-items: center; gap: 14px;
  min-height: 62px; padding: 0 20px; border-radius: 16px;
  background: rgba(255, 255, 255, .07); text-decoration: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  font-weight: 700; font-size: 1.02rem;
  transition: background-color .35s, color .35s, translate .5s var(--ease), box-shadow .35s;
}
.enlace__icono { width: 26px; height: 26px; flex: none; fill: var(--marca); transition: fill .35s; }
.enlace span { flex: 1; }
.enlace__flecha { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; opacity: .55; transition: opacity .35s, translate .5s var(--ease); }
.enlace:hover { background: var(--blanco); color: var(--negro); translate: 0 -2px; box-shadow: 0 16px 30px -16px rgba(0, 0, 0, .8); }
.enlace:hover .enlace__icono { fill: var(--negro); }
.enlace:hover .enlace__flecha { opacity: 1; translate: 2px -2px; }
.enlace:active { translate: 0 0; }
.enlaces li:first-child .enlace { background: var(--blanco); color: var(--negro); }
.enlaces li:first-child .enlace__icono { fill: #1aa34a; }

.secundarios { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.secundarios a {
  display: inline-block; padding: 11px 18px; border-radius: 999px; text-decoration: none;
  font: 800 .74rem/1 var(--f-texto); letter-spacing: .14em; text-transform: uppercase;
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .4); transition: background-color .3s, color .3s;
}
.secundarios a:hover { background: var(--blanco); color: var(--negro); }

.pie { margin-top: 40px; text-align: center; font-size: .78rem; color: var(--gris); }
.pie p { margin: 4px 0; }
.pie a { color: var(--niebla); }

/* Entrada escalonada */
@media (prefers-reduced-motion: no-preference) {
  .cabeza__foto { animation: subir 1.2s var(--ease) both; }
  .cabeza__logo, .cabeza__lema, .cabeza__lugar { animation: subir 1s var(--ease) both .25s; }
  .video { animation: subir 1s var(--ease) both .4s; }
  .enlaces li, .secundarios li { animation: subir .9s var(--ease) both; animation-delay: calc(.5s + var(--i) * .06s); }
}
@keyframes subir { from { opacity: 0; transform: translateY(22px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }

@media (min-width: 900px) {
  .bio { width: 560px; padding-top: 20px; }
}
