/* Puma Punku — site */
:root {
  --lime: #7cff2e;
  --lime-deep: #52c41a;
  --lime-dim: #3d8f1c;
  --bg0: #050607;
  --bg1: #0b0e12;
  --bg2: #14191f;
  --line: #2a323c;
  --text: #e8ecf1;
  --muted: #8b93a0;
  --font-display: "Syne", "Barlow Condensed", sans-serif;
  --font-ui: "Barlow", sans-serif;
  --font-cond: "Barlow Condensed", sans-serif;
  --header-h: 4.25rem;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --max: 68rem;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100%;
  min-height: 100dvh;
  color: var(--text);
  font-family: var(--font-ui);
  font-weight: 500;
  background:
    radial-gradient(ellipse 90% 50% at 50% -8%, rgba(124, 255, 46, 0.12), transparent 55%),
    radial-gradient(ellipse 45% 35% at 90% 80%, rgba(50, 70, 90, 0.18), transparent 55%),
    linear-gradient(180deg, #101318 0%, #07090c 48%, #040506 100%);
  background-attachment: fixed;
  -webkit-tap-highlight-color: transparent;
}

img { max-width: 100%; display: block; }
a { color: var(--lime); text-decoration: none; }
a:hover { color: #b8ff7a; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--lime);
  color: #0b1a05;
  padding: 0.5rem 0.75rem;
  z-index: 100;
}
.skip-link:focus { left: 0.5rem; top: 0.5rem; }

/* ── Header + player persistente ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(7, 9, 12, 0.88);
  border-bottom: 1px solid rgba(124, 255, 46, 0.18);
  padding-top: var(--safe-top);
}

.site-header-inner {
  max-width: var(--max);
  margin: 0 auto;
  min-height: var(--header-h);
  padding: 0.55rem 1rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.75rem 1rem;
  align-items: center;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: inherit;
  min-width: 0;
}
.brand:hover { color: inherit; }
.brand-mark {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--lime);
  background: radial-gradient(circle, rgba(124, 255, 46, 0.22), transparent 65%), #121417;
  box-shadow: 0 0 0 2px rgba(124, 255, 46, 0.4);
  flex: 0 0 auto;
}
.brand-text { min-width: 0; line-height: 1.05; }
.brand-name {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.brand-tag {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.site-nav { justify-self: center; }
.nav-toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--line);
  border-radius: 0.45rem;
  background: var(--bg2);
  color: var(--text);
  cursor: pointer;
}
.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 0.15rem;
  flex-wrap: wrap;
  justify-content: center;
}
.nav-list a {
  display: inline-block;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.nav-list a:hover,
.nav-list a.is-active {
  color: #0b1a05;
  background: var(--lime);
}

.header-player {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  justify-self: end;
  padding: 0.28rem;
  border-radius: 999px;
  background: linear-gradient(165deg, #22272e, #12161b);
  border: 1px solid #3a424c;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.hp-btn {
  appearance: none;
  border: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 2.2rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: #1a1f26;
  color: var(--text);
  font-family: var(--font-cond);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.hp-btn i { font-size: 0.85rem; }
.hp-btn:hover { filter: brightness(1.08); }
.hp-play.is-playing,
.hp-play.is-active {
  color: #0b1a05;
  background: var(--lime);
  animation: hpOnAir 1.4s ease-in-out infinite;
}
.hp-play.is-loading { animation: hpPulse 0.7s ease-in-out infinite; }
.hp-mute.is-muted { color: #f0c000; }
.hp-mute[hidden] { display: none !important; }

.hp-vol {
  width: 5.5rem;
  padding: 0 0.35rem;
}
.hp-vol input {
  width: 100%;
  accent-color: var(--lime);
  cursor: pointer;
}

.hp-live {
  font-family: var(--font-cond);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  margin-right: 0.15rem;
}
.hp-live.is-live {
  color: #0b1a05;
  background: var(--lime);
}
.hp-live.is-offline {
  color: var(--muted);
  background: #1a1f26;
}

@keyframes hpOnAir {
  0%, 100% { box-shadow: 0 0 0 0 rgba(124, 255, 46, 0.35); }
  50% { box-shadow: 0 0 0 6px rgba(124, 255, 46, 0.12); }
}
@keyframes hpPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.55; }
}

/* ── Main ── */
.page-main {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1rem 3.5rem;
  min-height: calc(100dvh - var(--header-h) - 5rem);
}

.page-home .page-main {
  max-width: none;
  padding: 0;
}

/* Home hero — full bleed, brand first */
.hero {
  position: relative;
  min-height: calc(100dvh - var(--header-h));
  display: grid;
  align-items: end;
  padding:
    2rem 1.25rem
    calc(2.5rem + var(--safe-bottom));
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(5, 6, 7, 0.15) 0%, rgba(5, 6, 7, 0.72) 55%, rgba(5, 6, 7, 0.95) 100%),
    radial-gradient(ellipse 70% 55% at 70% 30%, rgba(124, 255, 46, 0.18), transparent 60%),
    url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.35'/%3E%3C/svg%3E"),
    linear-gradient(135deg, #1a2228 0%, #0a0d10 45%, #12181c 100%);
  background-size: cover, cover, 180px 180px, cover;
  animation: heroIn 0.9s ease both;
}

.hero-inner {
  max-width: var(--max);
  margin: 0 auto;
  width: 100%;
}

.hero-brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(3.2rem, 12vw, 6.5rem);
  line-height: 0.92;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin: 0 0 0.75rem;
  color: #fff;
  text-shadow: 0 0 40px rgba(124, 255, 46, 0.25);
  animation: rise 0.8s 0.1s ease both;
}

.hero-brand em {
  font-style: normal;
  color: var(--lime);
}

.hero-lead {
  max-width: 28rem;
  margin: 0 0 1.5rem;
  font-size: clamp(1.05rem, 2.4vw, 1.25rem);
  color: #c5ccd6;
  line-height: 1.45;
  animation: rise 0.8s 0.2s ease both;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 3.1rem;
  padding: 0.7rem 1.35rem;
  border: 0;
  border-radius: 999px;
  background: var(--lime);
  color: #0b1a05;
  font-family: var(--font-cond);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  animation: rise 0.8s 0.3s ease both;
}
.hero-cta:hover { filter: brightness(1.06); color: #0b1a05; }
.hero-cta i { font-size: 0.95rem; }

@keyframes heroIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

/* Inner pages */
.page-head {
  padding: 2.5rem 0 1.25rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: 1.75rem;
}
.page-head h1 {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 6vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  line-height: 1;
}
.page-head p {
  margin: 0;
  max-width: 36rem;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.5;
}

.prose {
  max-width: 42rem;
  font-size: 1.05rem;
  line-height: 1.65;
  color: #d5dae2;
}
.prose p { margin: 0 0 1rem; }
.prose h2 {
  margin: 1.75rem 0 0.65rem;
  font-family: var(--font-cond);
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
}

.schedule {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}
.schedule li {
  display: grid;
  grid-template-columns: 7.5rem 1fr;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}
.schedule time {
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  color: var(--lime);
}
.schedule strong {
  display: block;
  font-size: 1.05rem;
  margin-bottom: 0.15rem;
}
.schedule span {
  color: var(--muted);
  font-size: 0.92rem;
}

.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}
.contact-list li {
  display: flex;
  gap: 0.75rem;
  align-items: baseline;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
}
.contact-list i {
  color: var(--lime);
  width: 1.1rem;
}
.contact-list a { color: var(--text); }
.contact-list a:hover { color: var(--lime); }

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.25rem 1rem calc(1.25rem + var(--safe-bottom));
  background: rgba(0, 0, 0, 0.35);
}
.site-footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  justify-content: space-between;
  align-items: center;
  color: var(--muted);
  font-size: 0.88rem;
}
.footer-brand strong { color: var(--text); }
.footer-meta a { color: var(--muted); }
.footer-meta a:hover { color: var(--lime); }

/* Mobile */
@media (max-width: 860px) {
  .site-header-inner {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "brand toggle"
      "player player"
      "nav nav";
  }
  .brand { grid-area: brand; }
  .site-nav { grid-area: nav; justify-self: stretch; }
  .nav-toggle { display: inline-grid; place-items: center; grid-area: toggle; }
  .nav-list {
    display: none;
    flex-direction: column;
    gap: 0.2rem;
    padding: 0.35rem 0 0.15rem;
  }
  .site-nav.is-open .nav-list { display: flex; }
  .nav-list a { border-radius: 0.45rem; }
  .header-player {
    grid-area: player;
    justify-self: stretch;
    justify-content: space-between;
  }
  .hp-vol { flex: 1; max-width: 8rem; }
  .hp-mute-label { display: none; }
}

@media (max-width: 520px) {
  .hp-vol { display: none; }
  .schedule li { grid-template-columns: 1fr; gap: 0.25rem; }
}
