
* { box-sizing: border-box; }

:root {
  --ink: #f2eee4;
  --gold: #d4af37;
  --gold-light: #e8cd70;
  --dark: #111110;
  --panel: rgba(16,16,15,.80);
  --header-height: 72px;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--dark);
  font-family: Arial, Helvetica, sans-serif;
  overflow: hidden;
}

/* ENCABEZADO */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-height);
  padding: 0 32px;
  background: linear-gradient(180deg,rgba(8,8,8,.90),rgba(8,8,8,.38));
  border-bottom: 1px solid rgba(212,175,55,.25);
  backdrop-filter: blur(8px);
}

.youtube {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 32px;
  flex-shrink: 0;
  text-decoration: none;
  transition: transform 180ms ease;
}

.youtube:hover {
  transform: scale(1.1);
}

.youtube-logo {
  display: block;
  width: 30px;
  height: 30px;
}

/* MENÚ DE ESCRITORIO */
.menu-toggle {
  display: none;
}

.site-menu {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(12px, 2.1vw, 30px);
  margin-left: auto;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  min-height: var(--header-height);
  padding: 0 1px;
  color: #f2eee4;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(12px, 1.1vw, 15px);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1.1px;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: color 160ms ease, border-color 160ms ease;
}

.nav-link:hover,
.nav-link:focus-visible,
.nav-link.active {
  color: var(--gold-light);
  border-bottom-color: var(--gold);
}

/* PANTALLAS INDIVIDUALES */
main {
  position: relative;
}

.page-section {
  position: absolute;
  inset: 0;
  isolation: isolate;
  display: flex;
  align-items: center;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  min-height: 520px;
  padding: calc(var(--header-height) + 28px) 6vw 30px;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  background-color: #191918;
  background-image: var(--section-image);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(18px);
  transition:
    opacity 360ms ease,
    transform 360ms ease,
    visibility 360ms;
}

.page-section.is-active {
  position: relative;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(0);
}

.page-section .section-shade {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(
    115deg,
    rgba(0,0,0,.82),
    rgba(0,0,0,.56) 55%,
    rgba(0,0,0,.72)
  );
  pointer-events: none;
}

/* INICIO */
.hero {
  padding-top: calc(var(--header-height) + 35px);
  background-position: center 43%;
}

.hero .section-shade {
  background:
    linear-gradient(90deg,rgba(0,0,0,.72),rgba(0,0,0,.18) 78%),
    linear-gradient(0deg,rgba(0,0,0,.3),transparent 50%);
}

.section-content {
  position: relative;
  width: min(1120px,100%);
  margin: 0 auto;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: clamp(25px,5vh,55px);
}

.identity {
  margin-left: 2%;
}

.identity h1 {
  margin: 0;
  color: var(--gold);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(52px,8vw,104px);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -1.5px;
}

.subtitle {
  margin: 13px 0 0 4px;
  color: #fffdf6;
  font-size: clamp(13px,1.5vw,17px);
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* PANELES Y TÍTULOS */
.glass-panel {
  background: var(--panel);
  border: 1px solid rgba(212,175,55,.56);
  box-shadow: 0 18px 50px rgba(0,0,0,.25);
  backdrop-filter: blur(8px);
}

.welcome {
  width: min(460px,100%);
  margin-left: 2%;
  padding: 25px 28px 27px;
}

.eyebrow {
  margin: 0 0 13px;
  color: var(--gold-light);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 3px;
}

.welcome h2,
.content-section h2 {
  margin: 0;
  color: var(--gold-light);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(32px,4.4vw,54px);
  font-weight: 400;
  letter-spacing: 1px;
}

.accent-line {
  display: block;
  width: 48px;
  height: 2px;
  margin: 19px 0;
  background: var(--gold);
}

.welcome-copy {
  margin: 0;
  color: #f4f0e7;
  font-size: clamp(16px,1.7vw,20px);
  line-height: 1.6;
}

.text-link {
  display: inline-block;
  margin-top: 21px;
  color: var(--gold-light);
  text-decoration: none;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 1.5px;
}

.text-link:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}

.scroll-cue {
  display: none;
}

/* MÚSICA Y CONTENIDO */
.content-section {
  align-items: center;
}

.content-section .section-content {
  padding: 4px 0;
}

.content-section h2 {
  margin-bottom: 10px;
}

.content-section .section-content > .eyebrow,
.content-section .section-content > h2 {
  text-align: center;
}

.section-intro {
  max-width: 720px;
  margin: 0 auto 22px;
  color: #eee9dc;
  font-size: 15px;
  line-height: 1.6;
  text-align: center;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 14px;
  max-width: 1050px;
  margin: 0 auto;
}

.video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #080808;
  border: 1px solid rgba(212,175,55,.58);
  box-shadow: 0 12px 28px rgba(0,0,0,.32);
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* GALERÍA */
.galeria-fotos {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 12px;
  max-width: 1050px;
  margin: 0 auto;
}

.galeria-fotos figure {
  min-width: 0;
  margin: 0;
  padding: 7px 7px 10px;
  background: rgba(15,15,14,.86);
  border: 1px solid rgba(212,175,55,.4);
}

.galeria-fotos img {
  display: block;
  width: 100%;
  height: clamp(95px,16vh,150px);
  object-fit: cover;
  background: #222;
}

.galeria-fotos figcaption {
  padding: 8px 2px 0;
  color: #eee8d8;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 12px;
  letter-spacing: .3px;
}

/* SOBRE MÍ */
.bio-panel {
  max-width: 850px;
  max-height: min(62vh,590px);
  overflow-y: auto;
  margin: 15px auto 0;
  padding: clamp(18px,3vw,34px);
  text-align: left;
}

.bio-panel p {
  margin: 0 0 14px;
  color: #f0ede5;
  font-size: 15px;
  line-height: 1.7;
}

.artistic-concept {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid rgba(212,175,55,.4);
}

.artistic-concept h3 {
  margin: 0 0 10px;
  color: var(--gold-light);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.artistic-concept blockquote {
  margin: 0;
  color: #fff8e8;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(18px,2.2vw,24px);
  font-style: italic;
  line-height: 1.55;
}

/* CONTACTO */
.contact-section {
  text-align: center;
}

.contact-section .section-content {
  max-width: 760px;
}

.contact-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  max-width: 100%;
  margin: 16px auto 0;
  padding: 20px 28px;
  color: #f6f0df;
  font-size: clamp(16px,2vw,20px);
  text-decoration: none;
  overflow-wrap: anywhere;
  transition: border-color 160ms ease,transform 160ms ease;
}

.contact-item:hover {
  border-color: var(--gold-light);
  transform: translateY(-2px);
}

.contact-icon {
  color: var(--gold-light);
  font-size: 24px;
}

.site-footer {
  display: none;
}

/* VERSIÓN MÓVIL: MENÚ DE TRES LÍNEAS */
@media (max-width: 760px) {
  :root {
    --header-height: 62px;
  }

  .site-header {
    min-height: var(--header-height);
    padding: 0 17px;
  }

  .menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 42px;
    height: 42px;
    padding: 9px;
    border: 1px solid rgba(242,238,228,.45);
    border-radius: 50%;
    background: rgba(10,10,10,.25);
    cursor: pointer;
  }

  .menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: #f2eee4;
    transition: transform 180ms ease,opacity 180ms ease;
  }

  .menu-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(8px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-8px) rotate(-45deg);
  }

  .site-menu {
    position: absolute;
    top: 54px;
    right: 14px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 3px;
    min-width: 195px;
    margin: 0;
    padding: 10px;
    border: 1px solid rgba(212,175,55,.6);
    border-radius: 5px;
    background: rgba(15,15,14,.97);
    box-shadow: 0 16px 38px rgba(0,0,0,.45);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 180ms ease,transform 180ms ease,visibility 180ms ease;
  }

  .site-menu.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav-link {
    display: block;
    min-height: 0;
    padding: 12px 15px;
    font-size: 14px;
    letter-spacing: 1.2px;
    border-bottom: 0;
    border-left: 2px solid transparent;
  }

  .nav-link:hover,
  .nav-link:focus-visible,
  .nav-link.active {
    background: rgba(212,175,55,.09);
    border-left-color: var(--gold);
  }

  .page-section {
    min-height: 0;
    padding: calc(var(--header-height) + 25px) 20px 28px;
    background-position: center;
  }

  .hero {
    padding-top: calc(var(--header-height) + 22px);
    background-position: 56% center;
  }

  .hero-content {
    gap: 30px;
  }

  .identity {
    margin-left: 0;
  }

  .identity h1 {
    font-size: clamp(44px,12vw,68px);
    letter-spacing: -1px;
  }

  .subtitle {
    max-width: 310px;
    margin-left: 2px;
    font-size: 10px;
    line-height: 1.7;
    letter-spacing: 1px;
  }

  .welcome {
    margin-left: 0;
    padding: 20px 19px 22px;
  }

  .welcome h2 {
    font-size: 32px;
  }

  .welcome-copy {
    font-size: 15px;
    line-height: 1.5;
  }

  .content-section .section-content {
    padding: 0;
  }

  .content-section h2 {
    font-size: 34px;
  }

  .section-intro {
    font-size: 13px;
    margin-bottom: 15px;
  }

  .video-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 9px;
  }

  .galeria-fotos {
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 8px;
  }

  .galeria-fotos figure {
    padding: 5px 5px 7px;
  }

  .galeria-fotos img {
    height: clamp(70px,13vh,115px);
  }

  .galeria-fotos figcaption {
    font-size: 10px;
    line-height: 1.3;
  }

  .bio-panel {
    max-height: 66vh;
    margin-top: 12px;
    padding: 18px 16px;
  }

  .bio-panel p {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 12px;
  }

  .artistic-concept {
    margin-top: 16px;
    padding-top: 14px;
  }

  .artistic-concept blockquote {
    font-size: 18px;
    line-height: 1.45;
  }

  .contact-item {
    padding: 17px 16px;
    font-size: 16px;
  }
}

@media (max-width: 420px) {
  .video-grid {
    grid-template-columns: 1fr;
  }

  .galeria-fotos {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }

  .galeria-fotos img {
    height: 105px;
  }
}

@media (max-height: 650px) and (min-width: 761px) {
  .page-section {
    padding-top: calc(var(--header-height) + 14px);
    padding-bottom: 14px;
  }

  .content-section h2 {
    font-size: 38px;
  }

  .section-intro {
    margin-bottom: 12px;
  }

  .video-grid,
  .galeria-fotos {
    gap: 8px;
  }

  .galeria-fotos img {
    height: 100px;
  }

  .bio-panel {
    max-height: 55vh;
    padding: 16px 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

