/*
Theme Name: Truth From The Stand
Theme URI: https://truthfromthestand.com
Author: Truth From The Stand
Author URI: https://truthfromthestand.com
Description: Official custom theme for Truth From The Stand — a bowhunting and mindset podcast. Follows the TFTS Design System v1.0.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: truth-from-the-stand
*/

/* =========================================================
   DESIGN SYSTEM — TFTS v1.0
   Fonts:  Bebas Neue (display) · Playfair Display (headings) · DM Sans (body)
   Colors: #E87820 orange · #2E6B45 green (HOS only) · #111010 dark · #F7F5F0 bg
   ========================================================= */

:root {
  /* Colors */
  --bg:        #F7F5F0;
  --bg2:       #EFEDE7;
  --white:     #FDFCF9;
  --dark:      #111010;
  --dark2:     #1A1916;
  --dark3:     #222018;
  --border:    #E2DFD8;
  --text:      #1A1810;
  --text2:     #4A4840;
  --muted:     #8A8778;
  --inv:       #F5EFE3;
  --inv2:      rgba(245,239,227,0.55);
  --inv3:      rgba(245,239,227,0.3);

  /* Brand */
  --orange:    #E87820;
  --orange-h:  #CC6618;
  --orange-l:  #FDF2EA;
  --green:     #2E6B45;   /* HOS ONLY — never general use */
  --green-h:   #3A8755;
  --green-l:   rgba(46,107,69,0.11);

  /* Fonts */
  --fd: 'Bebas Neue', Impact, sans-serif;
  --fp: 'Playfair Display', Georgia, serif;
  --fs: 'DM Sans', Arial, sans-serif;

  /* Layout */
  --nav-h:    64px;
  --max-w:    1100px;
  --radius:   14px;
}

/* =========================================================
   RESET & BASE
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--fs); background: var(--bg); color: var(--text); line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 2rem; }

/* =========================================================
   BUTTONS — pill shape, per design system
   ========================================================= */
.btn {
  font-family: var(--fs);
  font-size: 14px;
  font-weight: 600;
  padding: 13px 28px;
  border-radius: 100px;
  cursor: pointer;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  letter-spacing: .02em;
  transition: all .15s;
  text-decoration: none;
}
.btn-orange  { background: var(--orange); color: #fff; }
.btn-orange:hover { background: var(--orange-h); }
.btn-outline-light { background: rgba(255,255,255,0.08); color: var(--inv); border: 1px solid rgba(255,255,255,0.22); }
.btn-outline-light:hover { background: rgba(255,255,255,0.14); }
.btn-outline-dark  { background: transparent; color: var(--text); border: 1.5px solid var(--border); }
.btn-outline-dark:hover { background: var(--bg2); }
.btn-ghost-green  { background: var(--green-l); color: var(--green-h); border: 1px solid rgba(46,107,69,0.2); }
.btn-ghost-green:hover { background: rgba(46,107,69,0.2); }
.btn-sm { font-size: 13px; padding: 10px 22px; }
.btn-lg { font-size: 15px; padding: 15px 34px; }

/* =========================================================
   TYPOGRAPHY — SECTION HEADING PATTERN
   Eyebrow (orange) → Playfair heading → Muted body
   ========================================================= */
.eyebrow {
  font-family: var(--fs);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 10px;
  display: block;
}
.eyebrow-g { color: var(--green-h); }

.sec-h {
  font-family: var(--fp);
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 12px;
}
.sec-h-light { color: var(--text); }
.sec-h-dark  { color: var(--inv); }

.sec-p { font-size: 15px; color: var(--muted); max-width: 520px; margin: 0 auto; line-height: 1.75; }
.sec-p-dark { color: var(--inv2); }
.sh { text-align: center; margin-bottom: 3.5rem; }

/* =========================================================
   NAV
   ========================================================= */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(17,16,16,0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
  height: 100%;
  display: flex;
  align-items: center;
}
.nav-logo {
  flex: 1;
  display: flex;
  align-items: center;
}
.nav-logo-img {
  height: 38px;
  width: auto;
  display: block;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}
.site-nav a {
  font-size: 13px;
  font-weight: 500;
  color: var(--inv2);
  transition: color .15s;
}
.site-nav a:hover { color: var(--inv); }
.nav-cta-link {
  font-family: var(--fs);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 20px;
  border-radius: 100px;
  background: var(--orange);
  color: #fff !important;
  margin-left: 12px;
  transition: background .15s;
}
.nav-cta-link:hover { background: var(--orange-h) !important; color: #fff !important; }

/* Mobile toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  flex-direction: column;
  gap: 5px;
}
.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--inv);
  transition: all .25s;
}

@media (max-width: 768px) {
  .menu-toggle { display: flex; }
  .site-nav {
    display: none;
    position: absolute;
    top: var(--nav-h);
    left: 0; right: 0;
    background: var(--dark2);
    flex-direction: column;
    gap: 0;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    padding: 8px 0 12px;
  }
  .site-nav.is-open { display: flex; }
  .site-nav li { width: 100%; }
  .site-nav a { display: block; padding: 11px 2rem; }
  .nav-cta-link { margin: 8px 2rem 0; display: inline-block; border-radius: 100px; }
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--dark);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: .35;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(17,16,16,0.55) 0%, rgba(17,16,16,0.4) 45%, var(--dark) 100%);
}
.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: calc(var(--nav-h) + 80px) 2rem 100px;
  max-width: 860px;
  margin: 0 auto;
}
.hero-eye {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.hero-eye::before, .hero-eye::after {
  content: '';
  width: 32px;
  height: 1px;
  background: rgba(232,120,32,0.5);
}
.hero-title {
  font-family: var(--fd);
  font-size: clamp(56px, 12vw, 108px);
  line-height: .9;
  color: var(--inv);
  letter-spacing: .03em;
  margin-bottom: 14px;
}
.hero-tagline {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--inv);
  margin-bottom: 22px;
  text-shadow: 0 1px 6px rgba(0,0,0,0.6);
}
.hero-desc {
  font-size: clamp(15px, 2vw, 17px);
  color: rgba(245,239,227,0.62);
  line-height: 1.8;
  max-width: 580px;
  margin: 0 auto 40px;
}
.hero-btns { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.hero-stats {
  display: flex;
  gap: 40px;
  justify-content: center;
  margin-top: 64px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.hs-n { font-family: var(--fp); font-size: 30px; font-weight: 800; color: var(--inv); line-height: 1; }
.hs-l { font-size: 11px; color: var(--inv3); margin-top: 4px; letter-spacing: .08em; text-transform: uppercase; }
.hero-divider { width: 1px; background: rgba(255,255,255,0.1); }

@media (max-width: 480px) {
  .hero-stats { gap: 20px; }
}

/* =========================================================
   EPISODES
   ========================================================= */
.episodes { padding: 80px 0; background: var(--bg); }

.ep-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 14px;
  margin-bottom: 40px;
}
.ep-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  display: flex;
  gap: 14px;
  transition: box-shadow .2s, transform .2s;
}
.ep-card:hover { box-shadow: 0 6px 24px rgba(0,0,0,0.07); transform: translateY(-2px); }
a.ep-card { color: inherit; text-decoration: none; cursor: pointer; }
.ep-card.hos-ep { border-left: 2px solid var(--green); }

.play-btn {
  width: 46px; height: 46px; min-width: 46px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.play-o { background: var(--orange); }
.play-g { background: var(--green); }

.ep-meta { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.ep-num  { font-size: 12px; font-weight: 600; color: var(--orange); }
.ep-num-g { color: var(--green); }
.ep-det  { font-size: 11px; color: var(--muted); }
.ep-title { font-family: var(--fp); font-size: 15px; font-weight: 700; color: var(--text); line-height: 1.3; margin-bottom: 5px; }
.ep-exc  { font-size: 12px; color: var(--muted); line-height: 1.55; }
.episodes-cta { text-align: center; }

/* =========================================================
   SPONSORS MARQUEE
   ========================================================= */
.sponsors {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 28px 0;
  overflow: hidden;
  position: relative;
}
.sponsors-label {
  text-align: center;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 20px;
  padding: 0 2rem;
}
.marquee-wrap {
  overflow: hidden;
  width: 100%;
  display: block;
  margin: 0;
  padding: 0;
}
.marquee-track {
  display: flex;
  flex-wrap: nowrap;
  width: max-content;
  margin: 0;
  padding: 0;
  animation: marquee 28s linear infinite;
  will-change: transform;
  transform: translateX(0);
}
.marquee-track:hover { animation-play-state: paused; }
.marquee-set {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 56px;
  padding: 0 28px;
}
.sponsor-item {
  font-family: var(--fd);
  font-size: 18px;
  letter-spacing: .14em;
  color: var(--text2);
  white-space: nowrap;
  opacity: .6;
  transition: opacity .2s;
}
.sponsor-item:hover { opacity: 1; }
/* For real sponsor logos, replace sponsor-item text with <img> tags */
.sponsor-item img {
  height: 32px;
  width: auto;
  filter: grayscale(100%);
  opacity: .55;
  transition: filter .2s, opacity .2s;
}
.sponsor-item img:hover { filter: grayscale(0%); opacity: 1; }

@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* =========================================================
   HOS TEASER — Dark block. HOS visual language only.
   ========================================================= */
.hos-teaser { background: var(--dark2); padding: 80px 0; }
.hos-block {
  border: 1px solid rgba(46,107,69,0.2);
  border-radius: 16px;
  padding: 3rem;
  background: rgba(46,107,69,0.05);
  max-width: 900px;
  margin: 0 auto;
}
.hos-eye {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--green-h);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.hos-eye::before { content: ''; width: 24px; height: 1px; background: var(--green-h); }
.hos-title {
  font-family: var(--fd);
  font-size: clamp(40px, 7vw, 66px);
  line-height: .92;
  color: var(--inv);
  letter-spacing: .03em;
  margin-bottom: 10px;
}
.hos-subtitle { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--inv3); margin-bottom: 20px; }
.hos-desc { font-size: 15px; color: var(--inv2); line-height: 1.8; max-width: 580px; margin-bottom: 28px; }
.hos-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 1.5rem; }
.hos-mods {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.05);
  border-radius: 10px;
  overflow: hidden;
  margin-top: 2rem;
}
.hos-mod { background: var(--dark); padding: 1.1rem; }
.hos-mod-n { font-family: var(--fd); font-size: 24px; color: var(--green-h); opacity: .45; line-height: 1; }
.hos-mod-t { font-size: 12px; font-weight: 600; color: var(--inv); margin: 5px 0 3px; }
.hos-mod-s { font-size: 11px; color: var(--inv3); }

@media (max-width: 600px) {
  .hos-mods { grid-template-columns: 1fr 1fr; }
  .hos-block { padding: 2rem 1.5rem; }
}

/* =========================================================
   ABOUT
   ========================================================= */
.about { padding: 80px 0; background: var(--white); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto 64px;
}
.about-img {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0,0,0,0.12);
  aspect-ratio: 4/3;
  background: var(--bg2);
}
.about-img img { width: 100%; height: 100%; object-fit: cover; }
.about-img-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; color: var(--muted); text-align: center; padding: 2rem;
}
.about-body { font-size: 15px; color: var(--text2); line-height: 1.8; }
.pillars-row { display: flex; flex-direction: column; gap: 12px; margin-top: 24px; }
.pillar-chip { display: flex; align-items: flex-start; gap: 10px; }
.pillar-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--orange); margin-top: 8px; flex-shrink: 0; }
.pillar-dot-g { background: var(--green); }
.pillar-text { font-size: 13px; color: var(--text2); line-height: 1.55; }
.pillar-text strong { color: var(--text); font-weight: 600; }

.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  max-width: 720px;
  margin: 0 auto;
  background: var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.stat-cell { background: var(--white); padding: 2rem; text-align: center; }
.stat-n { font-family: var(--fp); font-size: 36px; font-weight: 800; color: var(--orange); line-height: 1; margin-bottom: 6px; }
.stat-l { font-size: 11px; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; color: var(--muted); }

@media (max-width: 768px) {
  .about-grid { grid-template-columns: 1fr; gap: 36px; }
  .stats-row { grid-template-columns: 1fr; }
}

/* =========================================================
   SUBSCRIBE / LISTEN
   ========================================================= */
.subscribe { padding: 80px 0; background: var(--dark); text-align: center; }
.sub-desc { font-size: 15px; color: var(--inv2); max-width: 440px; margin: 0 auto 40px; line-height: 1.75; }
.platforms { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.platform-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 22px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 100px;
  color: var(--inv);
  font-family: var(--fs);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: background .15s;
  text-decoration: none;
}
.platform-btn:hover { background: rgba(255,255,255,0.12); color: var(--inv); }
.platform-btn svg { width: 18px; height: 18px; opacity: .8; }

/* =========================================================
   EPISODES ARCHIVE PAGE
   ========================================================= */
.ep-archive-hero {
  padding: calc(var(--nav-h) + 60px) 0 48px;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.ep-archive { padding: 48px 0 80px; background: var(--bg); }

.ep-archive-grid { display: flex; flex-direction: column; gap: 8px; }

.ep-hidden { display: none; }

.ep-archive-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow .2s;
}
.ep-archive-card:hover { box-shadow: 0 4px 18px rgba(0,0,0,0.06); }
.ep-archive-card.hos-ep { border-left: 2px solid var(--green); }

.ep-archive-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 1rem 1.25rem;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
}
.ep-archive-trigger:hover { background: var(--bg); }
.ep-archive-meta-wrap { flex: 1; min-width: 0; }

.ep-archive-panel {
  padding: 0 1.25rem 1.25rem 4.5rem;
  display: none;
}
.ep-archive-panel[aria-hidden="false"] { display: block; }
.ep-archive-desc {
  font-size: 13px;
  color: var(--text2);
  line-height: 1.7;
  margin-bottom: 14px;
}
.ep-archive-player { border-radius: 8px; overflow: hidden; }

.ep-archive-more {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: 40px;
}
.ep-archive-count {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: .04em;
}

@media (max-width: 600px) {
  .ep-archive-panel { padding-left: 1.25rem; }
}

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  background: var(--dark);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 40px 0 24px;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-align: center;
}
.footer-logo { display: flex; align-items: center; justify-content: center; }
.footer-logo-img { height: 34px; width: auto; }
.footer-tagline { font-size: 11px; color: var(--inv3); letter-spacing: .12em; text-transform: uppercase; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 24px; justify-content: center; list-style: none; }
.footer-nav a { font-size: 13px; color: var(--inv3); transition: color .15s; }
.footer-nav a:hover { color: var(--orange); }
.footer-copy { font-size: 11px; color: rgba(245,239,227,0.2); padding-top: 18px; border-top: 1px solid rgba(255,255,255,0.06); width: 100%; }
