:root {
  --fog: #eef1ef;
  --sea: #0f2a33;
  --tide: #6f9496;
  --sun: #f0b44c;
  --line: rgba(15, 42, 51, .18);
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--fog);
  color: var(--sea);
  font-family: var(--sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid var(--sea); outline-offset: 4px; }

/* Navegación */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 10;
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.5rem clamp(1.5rem, 5vw, 4rem);
  background: linear-gradient(var(--fog), rgba(238, 241, 239, 0));
}
.logo { font-family: var(--serif); font-size: 1.6rem; }
.nav nav { display: flex; align-items: center; gap: 2rem; font-size: .95rem; }
.nav nav a:hover { color: var(--tide); }
.btn-small {
  padding: .5rem 1.2rem; border: 1px solid var(--sea); border-radius: 999px;
  transition: background .2s, color .2s;
}
.nav nav a.btn-small:hover { background: var(--sea); color: var(--fog); }

/* Portada */
.hero {
  min-height: 100vh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 8rem clamp(1.5rem, 5vw, 4rem) 4rem;
  position: relative; overflow: hidden;
}
.hero::after { /* horizonte */
  content: ""; position: absolute; left: 0; right: 0; bottom: 38%;
  height: 1px; background: var(--line);
}
.sun {
  position: absolute; right: clamp(2rem, 12vw, 10rem); bottom: 38%;
  width: clamp(120px, 20vw, 260px); aspect-ratio: 1;
  background: var(--sun); border-radius: 50%;
  transform: translateY(50%);
  animation: rise 2.4s cubic-bezier(.2, .7, .2, 1) both;
}
@keyframes rise { from { transform: translateY(160%); } }
.hero h1 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(5rem, 24vw, 20rem); line-height: .85;
  letter-spacing: -.03em;
  position: relative; z-index: 1;
}
.hero-sub { font-family: var(--serif); font-size: clamp(1.4rem, 3vw, 2.2rem); margin-top: 2rem; }
.hero-meta { margin-top: 1rem; color: var(--tide); font-weight: 500; }

/* Secciones */
.section {
  padding: clamp(4rem, 10vw, 8rem) clamp(1.5rem, 5vw, 4rem);
  border-top: 1px solid var(--line);
  max-width: 1200px; margin: 0 auto;
}
.section h2 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(2.5rem, 6vw, 4.5rem); line-height: 1;
  margin-bottom: 3rem;
}

/* Cartel */
.lineup { list-style: none; }
.lineup li {
  display: grid; grid-template-columns: 6rem 1fr; align-items: baseline;
  padding: 1.2rem 0; border-bottom: 1px solid var(--line);
}
.time { color: var(--tide); font-weight: 500; }
.artist { font-family: var(--serif); font-size: clamp(1.6rem, 4vw, 2.8rem); line-height: 1.1; }
.lineup li:nth-child(5) .artist { color: var(--sea); }
.lineup li:nth-child(5) .time { color: var(--sun); }

/* Información */
.info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 2.5rem; }
.info-grid h3 { font-family: var(--serif); font-weight: 400; font-size: 1.6rem; margin-bottom: .5rem; }
.info-grid p { max-width: 32ch; }

/* Entradas */
.tickets { text-align: center; }
.tickets p { font-family: var(--serif); font-size: 1.6rem; margin-bottom: 2.5rem; }
.btn {
  display: inline-block; padding: 1rem 2.4rem; border-radius: 999px;
  background: var(--sea); color: var(--fog); font-weight: 500;
  transition: background .2s, color .2s;
}
.btn:hover { background: var(--sun); color: var(--sea); }

/* Pie */
footer {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem;
  padding: 2rem clamp(1.5rem, 5vw, 4rem);
  border-top: 1px solid var(--line); font-size: .9rem;
}

@media (max-width: 600px) {
  .nav nav a:not(.btn-small) { display: none; }
  .lineup li { grid-template-columns: 4.5rem 1fr; }
  .sun { right: 1.5rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .sun { animation: none; }
}
