:root{
  /* Brand Color Palette */
  --bg:#F6F5F2; /* Bone White - main background */
  --text:#121417; /* Deep Charcoal - primary text and navigation */
  --muted:#4A5A66; /* Slate Blue-Gray - metadata and secondary text */
  --border:#D8D6D1; /* Fog Gray - borders and dividers */
  --soft:#F6F5F2; /* Bone White - soft backgrounds */
  --accent:#3F5D4A; /* Moss Green - primary accent for links and buttons */
  --accent2:#3F5D4A; /* Moss Green - accent variant */
  --link:#3F5D4A; /* Moss Green - links */
  --emphasis:#8C5E3C; /* Clay Earth - subtle emphasis and callouts */
  --max:760px; /* Single-column reading width */
  --container-max:1100px; /* Container max width */
}

*{box-sizing:border-box;}
html,body{margin:0;padding:0;}
body{
  background:var(--bg);
  color:var(--text);
  font-family:Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  font-size:18px;
  line-height:1.7;
}

a{color:var(--link);text-decoration:none;}
a:hover{text-decoration:underline;}

.container{max-width:var(--container-max);margin:0 auto;padding:0 24px;}

.topbar{background:var(--text);color:var(--bg);font-size:13px;position:relative;z-index:10;}
.podcast-page-body .topbar{background:rgba(18,20,23,.8);backdrop-filter:blur(10px);position:fixed;top:0;left:0;right:0;z-index:101;width:100%;}
.topbar-inner{display:flex;gap:12px;align-items:center;justify-content:space-between;padding:8px 0;}
.topbar-link{color:var(--bg);opacity:.9;margin-left:12px;}
.topbar-link:hover{opacity:1;text-decoration:none;}
.badge{display:inline-block;background:rgba(255,255,255,.12);padding:2px 8px;border-radius:999px;margin-right:10px;}
.muted{color:var(--muted);}
.tiny{font-size:12px;}

.site-header{border-bottom:1px solid var(--border);background:var(--bg);position:relative;z-index:10;}
.podcast-page-body .site-header{background:rgba(246,245,242,.95);backdrop-filter:blur(10px);border-bottom:1px solid rgba(216,214,209,.5);position:fixed;top:32px;left:0;right:0;z-index:100;width:100%;}
.header-inner{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 0;}
.brand{display:flex;gap:12px;align-items:center;color:inherit;text-decoration:none;}
.brand:hover{text-decoration:none;}
.brand-mark{
  width:42px;height:42px;border-radius:8px;
  display:flex;align-items:center;justify-content:center;
  overflow:hidden;
  flex-shrink:0;
}
.brand-logo{
  width:100%;
  height:100%;
  object-fit:contain;
  display:block;
}
.brand-name{font-family:"Source Serif 4", Georgia, serif;font-weight:600;font-size:20px;line-height:1.2;color:var(--text);}
.brand-tagline{font-size:13px;color:var(--muted);line-height:1.4;}

.nav{display:flex;gap:20px;align-items:center;flex-wrap:wrap;}
.nav-link{color:var(--text);font-weight:500;font-size:15px;opacity:.85;}
.nav-link:hover{opacity:1;text-decoration:none;color:var(--accent);}
.nav-link.cta{padding:8px 16px;border:1px solid var(--border);border-radius:6px;background:var(--bg);}
.nav-link-large{font-size:16px;padding:10px 18px;}

.hero{display:grid;grid-template-columns:1.6fr 1fr;gap:32px;padding:48px 0 32px;}
.hero h1{font-family:"Source Serif 4", Georgia, serif;font-size:clamp(32px, 4vw, 48px);line-height:1.2;margin:0 0 16px;color:var(--text);font-weight:600;}
.lede{font-size:18px;line-height:1.7;margin:0 0 24px;color:var(--muted);}
.hero-actions{display:flex;gap:14px;flex-wrap:wrap;}

.btn{
  display:inline-flex;align-items:center;justify-content:center;
  padding:12px 20px;border-radius:6px;
  background:var(--accent);color:var(--bg);font-weight:600;font-size:15px;border:none;
  transition:background .2s, transform .1s;
}
.btn:hover{text-decoration:none;background:#2d4538;transform:translateY(-1px);}
.btn-outline{background:transparent;color:var(--accent);border:1.5px solid var(--accent);}
.btn-outline:hover{background:var(--accent);color:var(--bg);}
.btn-full{width:100%;}

.card{border:1px solid var(--border);border-radius:8px;padding:24px;background:var(--bg);}
.card-image-link{display:block;margin:-24px -24px 16px -24px;border-radius:8px 8px 0 0;overflow:hidden;}
.card-image{width:100%;height:180px;object-fit:cover;display:block;vertical-align:top;}
.card-kicker{font-size:12px;color:var(--muted);text-transform:uppercase;letter-spacing:.1em;margin-bottom:10px;font-weight:600;}
.card-title{font-family:"Source Serif 4", Georgia, serif;font-size:24px;margin:0 0 10px;line-height:1.3;font-weight:600;}
.card-title a{color:var(--text);}
.card-title a:hover{color:var(--accent);text-decoration:none;}

.grid{display:grid;grid-template-columns:1.7fr 1fr;gap:32px;padding:32px 0 48px;align-items:start;}
.section-title{display:flex;align-items:baseline;justify-content:space-between;gap:16px;margin:0 0 24px;}
.section-title h2{font-family:"Source Serif 4", Georgia, serif;font-size:28px;margin:0;font-weight:600;color:var(--text);}
.section-title a{color:var(--accent);font-weight:500;font-size:15px;}
.section-title a:hover{text-decoration:none;color:var(--accent);opacity:.8;}

.list{display:flex;flex-direction:column;gap:20px;}
.list-item{padding:24px;border:1px solid var(--border);border-radius:8px;background:var(--bg);}
.list-item-image-link{display:block;margin:-24px -24px 16px -24px;border-radius:8px 8px 0 0;overflow:hidden;}
.list-item-image{width:100%;height:160px;object-fit:cover;display:block;vertical-align:top;}
.list-kicker{font-size:12px;color:var(--accent);text-transform:uppercase;letter-spacing:.1em;font-weight:600;margin-bottom:8px;}
.list-title{font-family:"Source Serif 4", Georgia, serif;font-size:24px;margin:8px 0 10px;line-height:1.3;font-weight:600;}
.list-title a{color:var(--text);}
.list-title a:hover{color:var(--accent);text-decoration:none;}
.meta{font-size:14px;color:var(--muted);line-height:1.5;}

.side-card{border:1px solid var(--border);border-radius:8px;padding:24px;background:var(--bg);margin-bottom:24px;}
.side-card h3{margin:0 0 12px;font-size:13px;text-transform:uppercase;letter-spacing:.1em;color:var(--text);font-weight:600;}

.bullets{margin:10px 0 0;padding-left:18px;}
.bullets li{margin:6px 0;}

.form{display:flex;flex-direction:column;gap:10px;}
.contact-form{max-width:600px;}
.form-group{margin-bottom:20px;}
.form-label{display:block;margin-bottom:8px;font-weight:500;color:var(--text);font-size:15px;}
.input{padding:12px 16px;border-radius:6px;border:1px solid var(--border);font-size:16px;font-family:Inter, sans-serif;background:var(--bg);color:var(--text);width:100%;}
.input:focus{outline:none;border-color:var(--accent);}
.textarea{resize:vertical;min-height:150px;font-family:Inter, sans-serif;line-height:1.6;}
.form-error{color:#d32f2f;font-size:14px;margin-top:6px;}
.form-error span{display:block;}
.alert{padding:16px;border-radius:6px;margin-bottom:24px;}
.alert-success{background:#e8f5e9;border:1px solid #4caf50;color:#2e7d32;}
.alert-error{background:#ffebee;border:1px solid #f44336;color:#c62828;}

.page-head{padding:18px 0 4px;}
.page-head h1{font-family:"Source Serif 4", Georgia, serif;font-size:36px;margin:0 0 6px;}

.search{display:flex;gap:10px;flex-wrap:wrap;margin-top:12px;}
.search .input{flex:1;min-width:240px;}

.article{display:grid;grid-template-columns:1.9fr 1fr;gap:32px;padding:32px 0 48px;max-width:var(--container-max);margin:0 auto;}
.article-image{width:100%;max-height:400px;object-fit:cover;border-radius:8px;margin-bottom:24px;display:block;}
.kicker{font-size:12px;color:var(--accent);text-transform:uppercase;letter-spacing:.1em;font-weight:600;}
.article-title{font-family:"Source Serif 4", Georgia, serif;font-size:clamp(32px, 5vw, 48px);line-height:1.2;margin:8px 0 16px;font-weight:600;color:var(--text);}
.article-dek{font-size:20px;line-height:1.6;margin:0 0 20px;color:var(--muted);}
.article-body p{font-size:18px;line-height:1.7;margin:20px 0;color:var(--text);}
.rule{border:none;border-top:1px solid var(--border);margin:22px 0;}
.callout{background:var(--soft);border:1px solid var(--border);border-radius:8px;padding:20px;}
.callout h3{margin:0 0 6px;font-size:16px;}

.links{list-style:none;margin:0;padding:0;}
.links li{margin:10px 0;}

.tags{display:flex;flex-wrap:wrap;gap:8px;}
.tag{display:inline-block;padding:6px 12px;border:1px solid var(--border);border-radius:999px;background:var(--bg);font-size:13px;color:var(--text);}
.tag:hover{text-decoration:none;background:var(--border);}
.tag.active{background:var(--border);font-weight:600;}

.page{padding:32px 0 48px;max-width:var(--max);margin:0 auto;}
.page h1{font-family:"Source Serif 4", Georgia, serif;font-size:clamp(32px, 4vw, 40px);margin:0 0 16px;font-weight:600;color:var(--text);}
.page h2{font-family:"Source Serif 4", Georgia, serif;font-size:24px;margin:32px 0 12px;font-weight:600;color:var(--text);}

.donate-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:18px;}
.donate-card{border:1px solid var(--border);border-radius:8px;padding:24px;background:var(--bg);}
.donate-card h2{margin:0 0 6px;font-family:"Source Serif 4", Georgia, serif;}
.donate-actions{display:flex;flex-direction:column;gap:10px;margin-top:10px;}

.footer{border-top:1px solid var(--border);background:var(--bg);padding-top:32px;}
.footer-inner{display:flex;justify-content:space-between;gap:18px;padding:22px 0;flex-wrap:wrap;}
.footer-brand{font-family:"Source Serif 4", Georgia, serif;font-weight:700;font-size:18px;}
.footer-links{display:flex;gap:14px;align-items:center;}
.footer-links a{color:inherit;opacity:.85;}
.footer-links a:hover{opacity:1;text-decoration:none;}
.footer-bottom{padding:12px 0 18px;font-size:13px;}

/* Podcast page styles - Full viewport hero with scroll-revealed content */
.podcast-page{
  margin:0;
  padding:0;
  position:relative;
}
.podcast-page-body main{
  padding:0;
  margin:0;
}

.cheetah-hero-image{
  position:fixed;
  top:0;
  left:0;
  width:100%;
  height:100vh;
  z-index:1;
  overflow:hidden;
}

.cheetah-full-image{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.carousel-image{
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:100%;
  object-fit:cover;
  transition:opacity 1s ease-in-out;
}

.carousel-image.active{
  opacity:1;
  z-index:2;
}

.image-placeholder-full{
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:100%;
  background:linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 50%, #c44569 100%);
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  color:#fff;
  text-align:center;
  z-index:1;
}

.placeholder-text{
  font-size:24px;
  font-weight:600;
  margin:0 0 12px;
}

.placeholder-note{
  font-size:14px;
  opacity:.9;
  margin:4px 0;
}

.placeholder-note code{
  background:rgba(255,255,255,.2);
  padding:4px 8px;
  border-radius:6px;
  font-size:13px;
}

.hero-overlay-content{
  text-align:center;
  color:#fff;
  max-width:800px;
  width:90%;
  padding:0 20px;
  margin:0 auto;
}

.hero-text-section{
  margin-top:0;
  min-height:100vh;
  display:flex;
  align-items:flex-end;
  padding-bottom:120px;
  opacity:1 !important;
  transform:none !important;
}

.hero-title{
  font-family:"Source Serif 4", Georgia, serif;
  font-size:clamp(36px, 6vw, 72px);
  line-height:1.1;
  margin:0 0 20px;
  color:#fff;
  text-shadow:0 2px 20px rgba(0,0,0,.4);
  font-weight:700;
}

.hero-subtitle{
  font-size:clamp(18px, 2.5vw, 24px);
  line-height:1.5;
  margin:0 0 32px;
  opacity:.95;
  text-shadow:0 2px 10px rgba(0,0,0,.3);
}

.btn-hero{
  display:inline-block;
  padding:16px 32px;
  background:#fff;
  color:#1b5e20;
  border:none;
  border-radius:8px;
  font-weight:700;
  font-size:18px;
  text-decoration:none;
  transition:transform .2s, box-shadow .2s;
  box-shadow:0 4px 20px rgba(0,0,0,.3);
}

.btn-hero:hover{
  transform:translateY(-2px);
  box-shadow:0 6px 30px rgba(0,0,0,.4);
  text-decoration:none;
  color:#1b5e20;
}

.btn-hero-outline{
  background:transparent;
  color:#fff;
  border:2px solid #fff;
  box-shadow:none;
  margin-left:12px;
}

.btn-hero-outline:hover{
  background:rgba(255,255,255,.15);
  color:#fff;
}

.hero-overlay-content .btn-hero:first-of-type{margin-right:0;}
.hero-overlay-content .btn-hero-outline{margin-left:12px;}

.podcast-section{
  min-height:100vh;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:80px 20px;
  position:relative;
  opacity:0;
  transform:translateY(60px);
  transition:opacity .8s ease, transform .8s ease;
  z-index:10;
  background:transparent;
}
.podcast-section:nth-child(even){
  background:transparent;
}

.podcast-section.revealed{
  opacity:1;
  transform:translateY(0);
}

.section-content{
  max-width:700px;
  text-align:center;
  margin:0 auto;
}

.section-title{
  font-family:"Source Serif 4", Georgia, serif;
  font-size:clamp(32px, 5vw, 56px);
  line-height:1.2;
  margin:0 0 24px;
  color:#fff;
  font-weight:700;
  text-shadow:0 2px 20px rgba(0,0,0,.5);
}

.section-text{
  font-size:clamp(18px, 2.2vw, 22px);
  line-height:1.6;
  margin:0 0 32px;
  color:#fff;
  text-shadow:0 2px 10px rgba(0,0,0,.4);
}

.btn-section{
  display:inline-block;
  padding:14px 28px;
  background:#fff;
  color:#1b5e20;
  border:none;
  border-radius:8px;
  font-weight:600;
  font-size:16px;
  text-decoration:none;
  transition:background .2s, transform .2s, box-shadow .2s;
  box-shadow:0 4px 20px rgba(0,0,0,.3);
}

.btn-section:hover{
  background:rgba(255,255,255,.95);
  transform:translateY(-2px);
  box-shadow:0 6px 30px rgba(0,0,0,.4);
  text-decoration:none;
  color:#1b5e20;
}

.subscribe-buttons{
  display:flex;
  gap:12px;
  justify-content:center;
  flex-wrap:wrap;
}

/* Episodes browse page - full-width sections that scroll with the page */
.episodes-page{
  margin:0;
  padding:0;
}

.episode-section{
  position:relative;
  min-height:100vh;
  width:100%;
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:80px 20px;
}

.episode-section-fallback{
  background:linear-gradient(135deg, #2d3a2e 0%, #1a231c 100%);
}

.episode-overlay{
  position:absolute;
  top:0;
  left:0;
  right:0;
  bottom:0;
  background:rgba(0,0,0,.45);
  z-index:1;
}

.episode-content{
  position:relative;
  z-index:2;
  max-width:800px;
  width:90%;
  text-align:center;
  color:#fff;
}

.episode-title{
  font-family:"Source Serif 4", Georgia, serif;
  font-size:clamp(32px, 5vw, 56px);
  line-height:1.2;
  margin:0 0 24px;
  color:#fff;
  font-weight:700;
  text-shadow:0 2px 20px rgba(0,0,0,.5);
}

.episode-description{
  font-size:clamp(18px, 2.2vw, 22px);
  line-height:1.6;
  margin:0 0 32px;
  color:#fff;
  text-shadow:0 2px 10px rgba(0,0,0,.4);
}

.episode-buttons{
  display:flex;
  gap:12px;
  justify-content:center;
  flex-wrap:wrap;
}

.episode-buttons .btn-section{
  margin:0;
}

@media (max-width: 880px){
  body{font-size:16px;}
  .hero{grid-template-columns:1fr;gap:24px;padding:32px 0 24px;}
  .grid{grid-template-columns:1fr;gap:24px;}
  .article{grid-template-columns:1fr;gap:24px;}
  .donate-grid{grid-template-columns:1fr;}
  .hero-overlay-content{bottom:60px;padding:0 16px;}
  .subscribe-buttons{flex-direction:column;align-items:stretch;}
  .subscribe-buttons .btn-section{width:100%;}
  .container{padding:0 20px;}
}
