@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,500;0,9..144,700;1,9..144,400&family=DM+Sans:wght@400;500;600&display=swap');

:root {
  --cream: #F5EAE4;
  --cream-dark: #EDE0D7;
  --cream-mid: #F0E4DC;
  --wine: #8B1A1A;
  --wine-dark: #6B1212;
  --wine-light: #A83030;
  --text: #1E1512;
  --text-mid: #574942;
  --text-light: #8C7E76;
  --border: #DDD1C8;
  --white: #FDFAF8;
  --shadow: rgba(30,21,18,0.08);
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --radius: 6px;
  --radius-lg: 12px;
  --max-w: 1200px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--text);
  line-height: 1.6;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

h1, h2, h3 { font-family: var(--font-display); line-height: 1.15; color: var(--text); }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 500; }
h3 { font-size: clamp(1.1rem, 2vw, 1.35rem); font-weight: 500; }
p  { color: var(--text-mid); }

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2.5rem);
}
.section { padding: clamp(3rem, 6vw, 5rem) 0; }

#site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--cream);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2.5rem);
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.logo-link { display: flex; align-items: center; gap: 0.6rem; flex-shrink: 0; }
.logo-img  { height: 52px; width: auto; }
.logo-text {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--wine);
}
.nav-list { display: flex; align-items: center; gap: 0.25rem; }
.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-mid);
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius);
  transition: color 0.15s, background 0.15s;
}
.nav-link:hover, .nav-link--active { color: var(--wine); background: var(--cream-dark); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 0.5rem; border-radius: var(--radius); }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--text); transition: transform 0.2s, opacity 0.2s; }
.nav-toggle--open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle--open span:nth-child(2) { opacity: 0; }
.nav-toggle--open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu { display: none; background: var(--cream); border-top: 1px solid var(--border); padding: 1rem clamp(1rem, 4vw, 2.5rem) 1.5rem; }
.mobile-menu--open { display: block; }
.mobile-link { display: block; padding: 0.65rem 0; font-size: 1rem; font-weight: 500; color: var(--text-mid); border-bottom: 1px solid var(--border); }
.mobile-link:last-child { border-bottom: none; }
.mobile-link:hover { color: var(--wine); }

@media (max-width: 768px) {
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.65rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.9rem;
  transition: background 0.15s, transform 0.1s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--wine); color: var(--white); }
.btn-primary:hover { background: var(--wine-dark); }
.btn-outline { background: transparent; color: var(--wine); border: 1.5px solid var(--wine); }
.btn-outline:hover { background: var(--wine); color: var(--white); }

.price-badge {
  display: inline-block;
  background: var(--wine);
  color: var(--white);
  font-weight: 700;
  font-size: 0.8rem;
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  white-space: nowrap;
}
.region-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--text-light);
  background: var(--cream-dark);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
}

.episode-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: box-shadow 0.2s, transform 0.2s;
}
.episode-card:hover { box-shadow: 0 4px 20px var(--shadow); transform: translateY(-2px); }
.card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 0.5rem; }
.card-wine { font-family: var(--font-display); font-size: 1.05rem; font-weight: 500; color: var(--text); line-height: 1.3; margin-top: 0.25rem; }
.card-cantina { font-size: 0.82rem; color: var(--text-mid); font-weight: 500; }
.card-meta { display: flex; align-items: center; gap: 0.4rem; flex-wrap: wrap; font-size: 0.78rem; color: var(--text-light); }
.card-footer { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 0.5rem; border-top: 1px solid var(--cream-dark); }
.card-ep-num { font-size: 0.75rem; color: var(--text-light); font-weight: 500; }
.card-listen { font-size: 0.82rem; font-weight: 600; color: var(--wine); display: flex; align-items: center; gap: 0.3rem; transition: gap 0.15s; }
.card-listen:hover { gap: 0.5rem; }
.card-listen::after { content: '→'; }

.featured-episode { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.featured-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.featured-info { padding: 2.5rem; display: flex; flex-direction: column; gap: 1rem; justify-content: center; }
.featured-label { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--wine); }
.featured-wine { font-family: var(--font-display); font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 700; line-height: 1.2; color: var(--text); }
.featured-cantina { font-size: 1rem; color: var(--text-mid); font-weight: 500; }
.featured-desc { font-size: 0.9rem; color: var(--text-mid); line-height: 1.65; }
.featured-meta { display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap; }
.featured-player { background: var(--cream-dark); display: flex; align-items: center; justify-content: center; min-height: 280px; padding: 2rem; }
.featured-player iframe { border-radius: var(--radius); width: 100%; }
@media (max-width: 768px) {
  .featured-inner { grid-template-columns: 1fr; }
  .featured-player { min-height: 180px; }
  .featured-info { padding: 1.5rem; }
}

.section-header { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 2rem; flex-wrap: wrap; }
.section-title { font-family: var(--font-display); }
.section-link { font-size: 0.88rem; font-weight: 600; color: var(--wine); white-space: nowrap; }
.section-link:hover { text-decoration: underline; }

.episodes-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1rem; }

.hero { padding: clamp(3.5rem, 8vw, 6rem) 0 clamp(2rem, 4vw, 3rem); border-bottom: 1px solid var(--border); }
.hero-inner { max-width: 820px; }
.hero-eyebrow { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: var(--wine); margin-bottom: 1rem; }
.hero h1 { margin-bottom: 1.25rem; color: var(--text); }
.hero h1 em { font-style: italic; color: var(--wine); }
.hero-sub { font-size: clamp(1rem, 2vw, 1.15rem); color: var(--text-mid); max-width: 580px; line-height: 1.7; margin-bottom: 2rem; }
.hero-ctas { display: flex; gap: 0.75rem; flex-wrap: wrap; }

.about-teaser { background: var(--wine); color: var(--white); border-radius: var(--radius-lg); padding: clamp(2rem, 5vw, 3.5rem); display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.about-teaser h2 { color: var(--white); font-size: clamp(1.5rem, 3vw, 2rem); }
.about-teaser p  { color: rgba(255,255,255,0.8); font-size: 1rem; line-height: 1.7; }
.about-link { display: inline-flex; align-items: center; gap: 0.4rem; margin-top: 1.5rem; font-weight: 600; font-size: 0.9rem; color: var(--white); border-bottom: 1px solid rgba(255,255,255,0.4); padding-bottom: 0.1rem; transition: border-color 0.15s; }
.about-link:hover { border-color: rgba(255,255,255,0.9); }
.about-teaser-credential { background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); border-radius: var(--radius-lg); padding: 1.75rem; }
.credential-label { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(255,255,255,0.6); margin-bottom: 0.5rem; }
.credential-value { font-family: var(--font-display); font-size: 1.2rem; font-weight: 500; color: var(--white); line-height: 1.3; }
.credential-sub { font-size: 0.82rem; color: rgba(255,255,255,0.65); margin-top: 0.75rem; }
@media (max-width: 640px) { .about-teaser { grid-template-columns: 1fr; gap: 1.5rem; } }

.page-header { padding: clamp(2.5rem, 5vw, 4rem) 0 clamp(1.5rem, 3vw, 2.5rem); border-bottom: 1px solid var(--border); }
.page-header h1 { margin-bottom: 0.5rem; }
.page-header p { font-size: 1.05rem; max-width: 600px; }

.filter-bar { display: flex; gap: 0.5rem; flex-wrap: wrap; padding: 1.25rem 0; border-bottom: 1px solid var(--border); margin-bottom: 2rem; }
.filter-btn { font-size: 0.82rem; font-weight: 500; padding: 0.4rem 0.9rem; border-radius: 20px; border: 1.5px solid var(--border); color: var(--text-mid); background: var(--white); transition: all 0.15s; }
.filter-btn:hover, .filter-btn--active { border-color: var(--wine); color: var(--wine); background: rgba(139,26,26,0.05); }

.episode-page-header { padding: clamp(2rem, 5vw, 4rem) 0 2rem; }
.episode-breadcrumb { font-size: 0.82rem; color: var(--text-light); margin-bottom: 1.5rem; display: flex; align-items: center; gap: 0.4rem; }
.episode-breadcrumb a { color: var(--wine); }
.episode-breadcrumb a:hover { text-decoration: underline; }
.episode-page-wine { font-family: var(--font-display); font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 700; line-height: 1.15; margin-bottom: 0.5rem; }
.episode-page-cantina { font-size: 1.1rem; color: var(--text-mid); font-weight: 500; margin-bottom: 1.25rem; }
.episode-page-meta { display: flex; flex-wrap: wrap; gap: 0.6rem; align-items: center; }
.episode-layout { display: grid; grid-template-columns: 1fr 340px; gap: 3rem; padding-top: 2.5rem; padding-bottom: 4rem; }
.episode-player-box { position: sticky; top: 80px; align-self: start; }
.episode-player-wrap { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.5rem; margin-bottom: 1rem; }
.episode-player-wrap iframe { width: 100%; border-radius: var(--radius); }
.episode-detail-box { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.detail-row { display: flex; align-items: baseline; justify-content: space-between; padding: 0.75rem 1.25rem; border-bottom: 1px solid var(--cream-dark); font-size: 0.88rem; }
.detail-row:last-child { border-bottom: none; }
.detail-label { color: var(--text-light); font-weight: 500; }
.detail-value { font-weight: 600; color: var(--text); text-align: right; }
.detail-price { color: var(--wine); font-size: 1rem; font-family: var(--font-display); }
.episode-body h2 { font-size: 1.1rem; margin: 2rem 0 0.75rem; }
.episode-body p  { font-size: 0.95rem; line-height: 1.75; margin-bottom: 1rem; }
.listen-on-spreaker { display: flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.9rem; background: var(--wine); color: var(--white); border-radius: var(--radius); font-weight: 600; font-size: 0.9rem; transition: background 0.15s; }
.listen-on-spreaker:hover { background: var(--wine-dark); }
@media (max-width: 900px) { .episode-layout { grid-template-columns: 1fr; gap: 2rem; } .episode-player-box { position: static; } }

.content-page { max-width: 760px; padding-top: 1rem; padding-bottom: 4rem; }
.content-page h2 { font-size: 1.4rem; margin: 2.5rem 0 0.75rem; }
.content-page h2:first-of-type { margin-top: 1.5rem; }
.content-page p  { font-size: 0.97rem; line-height: 1.8; margin-bottom: 1rem; color: var(--text-mid); }
.content-page strong { color: var(--text); font-weight: 600; }
.content-page ul { margin-bottom: 1rem; padding-left: 1.25rem; list-style: disc; }
.content-page ul li { font-size: 0.97rem; line-height: 1.8; color: var(--text-mid); margin-bottom: 0.3rem; }
.verdict-table { width: 100%; border-collapse: collapse; margin: 1.5rem 0 2rem; font-size: 0.9rem; }
.verdict-table th { text-align: left; padding: 0.65rem 1rem; background: var(--cream-dark); color: var(--text); font-weight: 600; border-bottom: 2px solid var(--border); }
.verdict-table td { padding: 0.65rem 1rem; border-bottom: 1px solid var(--border); color: var(--text-mid); vertical-align: top; }
.verdict-table tr:last-child td { border-bottom: none; }
.verdict-il-calice { color: var(--wine); font-weight: 700; }

.pillar-coming-soon { text-align: center; padding: 5rem 0; color: var(--text-light); }
.pillar-coming-soon h2 { font-family: var(--font-display); color: var(--text-mid); margin-bottom: 0.75rem; }

#site-footer { background: var(--text); color: var(--white); margin-top: clamp(3rem, 6vw, 5rem); }
.footer-inner { max-width: var(--max-w); margin: 0 auto; padding: 3rem clamp(1rem, 4vw, 2.5rem) 2.5rem; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem; }
.footer-logo { color: var(--cream); font-size: 1.1rem; }
.footer-tagline { font-size: 0.85rem; color: rgba(255,255,255,0.55); margin-top: 0.4rem; line-height: 1.5; }
.footer-credit { font-size: 0.78rem; color: rgba(255,255,255,0.4); margin-top: 0.75rem; }
.footer-nav ul { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-nav a { font-size: 0.85rem; color: rgba(255,255,255,0.6); transition: color 0.15s; }
.footer-nav a:hover { color: var(--white); }
.footer-contact p { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(255,255,255,0.4); margin-bottom: 0.5rem; }
.footer-contact a { font-size: 0.85rem; color: rgba(255,255,255,0.6); transition: color 0.15s; }
.footer-contact a:hover { color: var(--white); }
.footer-social { margin-top: 1rem; }
.footer-social a { font-size: 0.82rem; font-weight: 600; color: rgba(255,255,255,0.5); }
.footer-social a:hover { color: var(--white); }
.footer-bottom { max-width: var(--max-w); margin: 0 auto; padding: 1.25rem clamp(1rem, 4vw, 2.5rem); border-top: 1px solid rgba(255,255,255,0.1); font-size: 0.8rem; color: rgba(255,255,255,0.35); display: flex; justify-content: space-between; }
.footer-bottom a { color: rgba(255,255,255,0.45); }
.footer-bottom a:hover { color: rgba(255,255,255,0.8); }
@media (max-width: 768px) { .footer-inner { grid-template-columns: 1fr; gap: 2rem; } .footer-bottom { flex-direction: column; gap: 0.25rem; } }

@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
.animate-fade-up { animation: fadeUp 0.5s ease forwards; }
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }

.error-page { min-height: 60vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 1rem; }
.error-page h1 { font-size: 5rem; color: var(--border); font-family: var(--font-display); }
