/* ==========================================================================
   Radio Moroleón · Podcast — shared stylesheet
   Aesthetic: on-air / broadcast heritage, modern & bold, dark high-contrast
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Archivo:wght@400;500;600;700;800;900&family=Space+Grotesk:wght@400;500;600;700&family=Manrope:wght@400;500;600;700&display=swap');

:root {
  --bg:          #0A0A0C;
  --bg-2:        #111015;
  --surface:     #16151B;
  --surface-2:   #1F1E26;
  --line:        #2A2932;
  --text:        #F4F1EA;
  --muted:       #A29FAC;
  --accent:      #FF4326;   /* on-air red */
  --accent-2:    #FFC24B;   /* amber signal */
  --accent-soft: rgba(255,67,38,0.14);
  --radius:      18px;
  --maxw:        1180px;
  --shadow:      0 24px 60px -20px rgba(0,0,0,0.7);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Manrope', system-ui, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* background texture */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(900px 600px at 82% -8%, rgba(255,67,38,0.16), transparent 60%),
    radial-gradient(700px 500px at 0% 12%, rgba(255,194,75,0.08), transparent 55%),
    var(--bg);
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.035;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)'/%3E%3C/svg%3E");
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.mono {
  font-family: 'Space Grotesk', monospace;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: var(--muted);
}

/* ---------- Header / Nav ---------- */
header.site {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(10,10,12,0.72);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand .dot {
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(255,67,38,0.6);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(255,67,38,0.55); }
  70%  { box-shadow: 0 0 0 10px rgba(255,67,38,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,67,38,0); }
}
.brand b {
  font-family: 'Archivo', sans-serif;
  font-weight: 900;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}
.brand span { color: var(--accent); }
.nav nav { display: flex; gap: 30px; align-items: center; }
.nav nav a {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--muted);
  transition: color 0.2s;
  position: relative;
}
.nav nav a:hover, .nav nav a.active { color: var(--text); }
.nav nav a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px;
  height: 2px; background: var(--accent);
}
.live-badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Space Grotesk', sans-serif; font-size: 0.78rem; font-weight: 600;
  padding: 8px 14px; border-radius: 999px;
  border: 1px solid var(--accent); color: var(--accent);
  text-transform: uppercase; letter-spacing: 0.1em;
}
.menu-toggle { display: none; background: none; border: 0; color: var(--text); font-size: 1.6rem; cursor: pointer; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'Space Grotesk', sans-serif; font-weight: 600;
  padding: 14px 26px; border-radius: 999px; cursor: pointer;
  border: 1px solid transparent; transition: transform 0.2s, background 0.2s;
  font-size: 0.95rem;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { transform: translateY(-2px); background: #ff5a40; }
.btn-ghost { border-color: var(--line); color: var(--text); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- Hero ---------- */
.hero { padding: 90px 0 60px; position: relative; }
.hero .eyebrow { margin-bottom: 24px; }
.hero h1 {
  font-family: 'Archivo', sans-serif;
  font-weight: 900;
  font-size: clamp(3rem, 9vw, 7rem);
  line-height: 0.92;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  margin-bottom: 26px;
}
.hero h1 em { font-style: normal; color: var(--accent); }
.hero .lede { max-width: 560px; font-size: 1.18rem; color: var(--muted); margin-bottom: 34px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* waveform decoration */
.waveform { display: flex; align-items: flex-end; gap: 4px; height: 60px; margin-top: 48px; }
.waveform span {
  width: 5px; background: linear-gradient(var(--accent), var(--accent-2));
  border-radius: 3px; opacity: 0.85;
  animation: wave 1.4s ease-in-out infinite;
}
@keyframes wave { 0%,100% { height: 12px; } 50% { height: 55px; } }

/* ---------- Sections ---------- */
section { padding: 70px 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 42px; gap: 20px; flex-wrap: wrap; }
.section-head h2 {
  font-family: 'Archivo', sans-serif; font-weight: 800;
  font-size: clamp(2rem, 4.5vw, 3.2rem); letter-spacing: -0.02em; text-transform: uppercase; line-height: 1;
}
.section-head p { color: var(--muted); max-width: 420px; }

/* ---------- Episode cards ---------- */
.ep-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 22px; }
.ep {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; transition: transform 0.25s, border-color 0.25s; position: relative; overflow: hidden;
}
.ep:hover { transform: translateY(-4px); border-color: var(--accent); }
.ep .num {
  font-family: 'Archivo', sans-serif; font-weight: 900; font-size: 3.4rem; line-height: 1;
  color: var(--surface-2); position: absolute; top: 14px; right: 18px;
  -webkit-text-stroke: 1px var(--line); color: transparent;
}
.ep .cat { color: var(--accent-2); }
.ep h3 { font-family: 'Archivo', sans-serif; font-weight: 700; font-size: 1.35rem; margin: 12px 0 10px; letter-spacing: -0.01em; }
.ep p { color: var(--muted); font-size: 0.96rem; margin-bottom: 20px; }
.ep .meta { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 16px; }
.ep .meta .dur { font-family: 'Space Grotesk', sans-serif; font-size: 0.82rem; color: var(--muted); }
.play {
  display: inline-flex; align-items: center; gap: 8px; font-family: 'Space Grotesk', sans-serif;
  font-weight: 600; font-size: 0.85rem; color: var(--text);
}
.play .ico {
  width: 34px; height: 34px; border-radius: 50%; background: var(--accent);
  display: grid; place-items: center; color: #fff; transition: transform 0.2s;
}
.play:hover .ico { transform: scale(1.12); }

/* ---------- Audio player ---------- */
.ep .meta { flex-direction: column; align-items: stretch; gap: 14px; }
audio {
  width: 100%; height: 40px; border-radius: 999px;
  filter: saturate(1.1);
}
audio::-webkit-media-controls-panel { background: var(--surface-2); }
.player-row { display: flex; align-items: center; gap: 12px; }
.player-row .dur { flex: 0 0 auto; }
.featured audio { margin-bottom: 22px; }

/* ---------- Featured episode ---------- */
.featured {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center;
  background: linear-gradient(135deg, var(--surface), var(--bg-2));
  border: 1px solid var(--line); border-radius: 26px; padding: 46px; position: relative; overflow: hidden;
}
.featured::before {
  content: ""; position: absolute; right: -60px; top: -60px; width: 260px; height: 260px;
  background: radial-gradient(circle, var(--accent-soft), transparent 70%);
}
.featured .art {
  aspect-ratio: 1; border-radius: 20px;
  background: linear-gradient(145deg, var(--accent), #b31d0a 70%, var(--accent-2));
  display: grid; place-items: center; box-shadow: var(--shadow); position: relative; overflow: hidden;
}
.featured .art .lg {
  font-family: 'Archivo', sans-serif; font-weight: 900; font-size: 2.2rem; text-transform: uppercase;
  color: #fff; text-align: center; line-height: 1; letter-spacing: -0.02em; padding: 20px;
  text-shadow: 0 4px 20px rgba(0,0,0,0.3);
}
.featured h2 { font-family: 'Archivo', sans-serif; font-weight: 800; font-size: 2.4rem; letter-spacing: -0.02em; line-height: 1.02; margin: 14px 0 16px; text-transform: uppercase; }
.featured p { color: var(--muted); margin-bottom: 26px; }

/* ---------- Article cards ---------- */
.art-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.article {
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  background: var(--surface); transition: transform 0.25s, border-color 0.25s; display: flex; flex-direction: column;
}
.article:hover { transform: translateY(-4px); border-color: var(--accent-2); }
.article .thumb { aspect-ratio: 16/10; position: relative; }
.article .thumb .tag {
  position: absolute; bottom: 12px; left: 12px; background: var(--bg); color: var(--text);
  font-family: 'Space Grotesk', sans-serif; font-size: 0.72rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.08em; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line);
}
.article .body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.article h3 { font-family: 'Archivo', sans-serif; font-weight: 700; font-size: 1.25rem; letter-spacing: -0.01em; margin-bottom: 10px; line-height: 1.15; }
.article p { color: var(--muted); font-size: 0.95rem; flex: 1; }
.article .foot { margin-top: 18px; font-family: 'Space Grotesk', sans-serif; font-size: 0.8rem; color: var(--muted); display: flex; gap: 14px; }

/* thumbnail gradient variants */
.g1 { background: linear-gradient(135deg, #FF4326, #7a1300); }
.g2 { background: linear-gradient(135deg, #FFC24B, #b3560a); }
.g3 { background: linear-gradient(135deg, #2b2b38, #FF4326); }
.g4 { background: linear-gradient(135deg, #123c3a, #1fb8a6); }
.g5 { background: linear-gradient(135deg, #3a1250, #FF4326); }
.g6 { background: linear-gradient(135deg, #0a3d62, #FFC24B); }

/* ---------- Page header (interior pages) ---------- */
.page-head { padding: 80px 0 30px; }
.page-head h1 {
  font-family: 'Archivo', sans-serif; font-weight: 900; text-transform: uppercase;
  font-size: clamp(2.6rem, 7vw, 5rem); letter-spacing: -0.03em; line-height: 0.95; margin: 18px 0;
}
.page-head p { color: var(--muted); max-width: 560px; font-size: 1.1rem; }

/* filter chips */
.chips { display: flex; gap: 12px; flex-wrap: wrap; margin: 30px 0 10px; }
.chip {
  font-family: 'Space Grotesk', sans-serif; font-size: 0.85rem; font-weight: 500;
  padding: 9px 18px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); cursor: pointer;
  transition: all 0.2s;
}
.chip:hover, .chip.active { border-color: var(--accent); color: var(--text); background: var(--accent-soft); }

/* ---------- About page ---------- */
.about-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: start; }
.prose p { color: var(--muted); font-size: 1.08rem; margin-bottom: 20px; }
.prose h3 { font-family: 'Archivo', sans-serif; font-weight: 800; text-transform: uppercase; font-size: 1.6rem; margin: 36px 0 14px; letter-spacing: -0.01em; }
.stat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.stat b { font-family: 'Archivo', sans-serif; font-weight: 900; font-size: 2.6rem; display: block; letter-spacing: -0.02em; }
.stat span { color: var(--muted); font-size: 0.9rem; }
.host { display: flex; gap: 16px; align-items: center; margin-bottom: 18px; }
.host .av { width: 56px; height: 56px; border-radius: 50%; flex: 0 0 auto; }
.host b { font-family: 'Archivo', sans-serif; font-size: 1.05rem; }
.host span { color: var(--muted); font-size: 0.88rem; }

/* platforms */
.platforms { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 20px; }
.platforms a { border: 1px solid var(--line); border-radius: 12px; padding: 12px 20px; font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 0.9rem; transition: all 0.2s; }
.platforms a:hover { border-color: var(--accent); color: var(--accent); }

/* newsletter */
.cta-band {
  background: linear-gradient(135deg, var(--accent), #a31607);
  border-radius: 26px; padding: 56px; text-align: center; position: relative; overflow: hidden;
}
.cta-band h2 { font-family: 'Archivo', sans-serif; font-weight: 900; text-transform: uppercase; font-size: clamp(2rem, 5vw, 3.4rem); letter-spacing: -0.02em; line-height: 1; margin-bottom: 16px; }
.cta-band p { color: rgba(255,255,255,0.9); max-width: 460px; margin: 0 auto 28px; }
.cta-form { display: flex; gap: 12px; max-width: 440px; margin: 0 auto; }
.cta-form input { flex: 1; padding: 15px 20px; border-radius: 999px; border: 0; font-family: 'Manrope'; font-size: 0.95rem; }
.cta-band .btn-dark { background: var(--bg); color: #fff; }

/* ---------- Footer ---------- */
footer.site { border-top: 1px solid var(--line); padding: 56px 0 40px; margin-top: 40px; }
.foot-top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; margin-bottom: 40px; }
.foot-col h4 { font-family: 'Space Grotesk', sans-serif; text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.78rem; color: var(--muted); margin-bottom: 16px; }
.foot-col a { display: block; color: var(--text); margin-bottom: 10px; font-size: 0.95rem; opacity: 0.85; }
.foot-col a:hover { color: var(--accent); }
.foot-brand { max-width: 300px; }
.foot-brand p { color: var(--muted); font-size: 0.92rem; margin-top: 12px; }
.foot-bottom { border-top: 1px solid var(--line); padding-top: 24px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--muted); font-size: 0.85rem; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .nav nav { display: none; }
  .nav nav.open {
    display: flex; flex-direction: column; position: absolute; top: 74px; left: 0; right: 0;
    background: var(--bg-2); padding: 24px; gap: 20px; border-bottom: 1px solid var(--line);
  }
  .menu-toggle { display: block; }
  .featured, .about-grid { grid-template-columns: 1fr; }
  .cta-form { flex-direction: column; }
  .cta-form input { text-align: center; }
}
