/* =============================================
   THE TIMBER BROS — DESIGN SYSTEM
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;900&family=Source+Sans+3:wght@300;400;600;700&family=Courier+Prime:wght@700&display=swap');

:root {
  --charcoal:    #1C1A17;
  --charcoal-2:  #252118;
  --amber:       #C8842A;
  --amber-light: #E09B3D;
  --amber-dark:  #9A6218;
  --cream:       #F0E8D8;
  --cream-light: #FAF6EF;
  --forest:      #2D4A2D;
  --forest-light:#3D6B3D;
  --bark:        #6B5240;
  --sawdust:     #D4BC94;
  --smoke:       #8A8070;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Source Sans 3', system-ui, sans-serif;
  --font-mono:    'Courier Prime', monospace;

  --radius: 4px;
  --radius-lg: 8px;
  --shadow: 0 4px 24px rgba(0,0,0,0.4);
  --shadow-card: 0 2px 12px rgba(0,0,0,0.35);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--charcoal);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  overflow-x: hidden;
}

/* ---- WOOD GRAIN TEXTURE OVERLAY ---- */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      92deg,
      transparent 0px,
      transparent 3px,
      rgba(200,132,42,0.015) 3px,
      rgba(200,132,42,0.015) 4px
    ),
    repeating-linear-gradient(
      88deg,
      transparent 0px,
      transparent 8px,
      rgba(0,0,0,0.06) 8px,
      rgba(0,0,0,0.06) 9px
    );
  pointer-events: none;
  z-index: 0;
}

/* ---- TYPOGRAPHY ---- */
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.15; }

h1 { font-size: clamp(2.4rem, 6vw, 4.5rem); font-weight: 900; }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 700; }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); font-weight: 700; }
h4 { font-size: 1.1rem; font-weight: 700; font-family: var(--font-body); text-transform: uppercase; letter-spacing: 0.1em; }

p { margin-bottom: 1.2em; }
p:last-child { margin-bottom: 0; }

a { color: var(--amber); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--amber-light); }

strong { font-weight: 700; color: var(--cream-light); }

/* ---- LAYOUT ---- */
.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; position: relative; z-index: 1; }
.container--narrow { max-width: 760px; margin: 0 auto; padding: 0 24px; position: relative; z-index: 1; }

section { padding: 80px 0; }

/* ---- NAVIGATION ---- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(28, 26, 23, 0.97);
  backdrop-filter: blur(8px);
  border-bottom: 2px solid var(--amber-dark);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  max-width: 1160px;
  margin: 0 auto;
  height: 68px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.nav-logo-ring {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}

.nav-logo-text {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--cream-light);
  line-height: 1.1;
}

.nav-logo-text span {
  display: block;
  font-size: 0.65rem;
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--amber);
  font-weight: 600;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 0;
}

.nav-links a {
  display: block;
  padding: 8px 14px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--cream);
  transition: color 0.2s;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active { color: var(--amber); }

.nav-cta {
  background: var(--amber);
  color: var(--charcoal) !important;
  padding: 8px 18px !important;
  border-radius: var(--radius);
  margin-left: 8px;
}

.nav-cta:hover { background: var(--amber-light); color: var(--charcoal) !important; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--cream);
  transition: all 0.3s;
}

/* ---- RING DIVIDER (SIGNATURE ELEMENT) ---- */
.ring-divider {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 48px 0;
}

.ring-divider::before,
.ring-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--amber-dark), transparent);
}

.ring-divider svg {
  flex-shrink: 0;
  opacity: 0.85;
}

/* ---- EYEBROW LABEL ---- */
.eyebrow {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--amber);
  display: block;
  margin-bottom: 12px;
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.2s;
  border: 2px solid transparent;
  text-decoration: none;
}

.btn-primary {
  background: var(--amber);
  color: var(--charcoal);
  border-color: var(--amber);
}

.btn-primary:hover {
  background: var(--amber-light);
  border-color: var(--amber-light);
  color: var(--charcoal);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(200,132,42,0.35);
}

.btn-outline {
  background: transparent;
  color: var(--cream);
  border-color: var(--smoke);
}

.btn-outline:hover {
  border-color: var(--amber);
  color: var(--amber);
}

.btn-forest {
  background: var(--forest);
  color: var(--cream-light);
  border-color: var(--forest);
}

.btn-forest:hover {
  background: var(--forest-light);
  border-color: var(--forest-light);
  color: var(--cream-light);
}

/* ---- CARDS ---- */
.card {
  background: var(--charcoal-2);
  border: 1px solid rgba(200,132,42,0.15);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(200,132,42,0.4);
}

.card-body { padding: 24px; }

/* ---- EPISODE CARD ---- */
.episode-card .ep-num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--amber);
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.episode-card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
  color: var(--cream-light);
}

.episode-card p {
  font-size: 0.9rem;
  color: var(--sawdust);
  margin-bottom: 16px;
}

.episode-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}

.tag {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 3px 10px;
  border-radius: 2px;
}

.tag-timber { background: rgba(107,82,64,0.4); color: var(--sawdust); }
.tag-health { background: rgba(45,74,45,0.5); color: #7fb87f; }
.tag-tools  { background: rgba(200,132,42,0.2); color: var(--amber-light); }
.tag-craft  { background: rgba(138,128,112,0.25); color: var(--smoke); }

/* ---- GRID SYSTEMS ---- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* ---- STAT BLOCK ---- */
.stat-block {
  text-align: center;
  padding: 32px 24px;
  border-left: 1px solid rgba(200,132,42,0.2);
}
.stat-block:first-child { border-left: none; }

.stat-num {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 900;
  color: var(--amber);
  line-height: 1;
  display: block;
}

.stat-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--smoke);
  margin-top: 6px;
  display: block;
}

/* ---- SECTION STYLES ---- */
.section-dark { background: var(--charcoal); }
.section-mid { background: var(--charcoal-2); }

.section-header { margin-bottom: 48px; }
.section-header h2 { margin-bottom: 12px; }
.section-header p { color: var(--smoke); max-width: 560px; font-size: 1.05rem; }

/* ---- HERO ---- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 70% 50%, rgba(200,132,42,0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 20% 80%, rgba(45,74,45,0.1) 0%, transparent 50%),
    var(--charcoal);
}

.hero-rings {
  position: absolute;
  right: -80px;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.06;
  width: 600px;
  height: 600px;
}

.hero-content { position: relative; z-index: 2; max-width: 680px; }

.hero h1 { margin-bottom: 24px; color: var(--cream-light); }
.hero h1 em {
  font-style: normal;
  color: var(--amber);
  display: block;
}

.hero-lead {
  font-size: 1.15rem;
  color: var(--sawdust);
  margin-bottom: 36px;
  max-width: 540px;
}

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.listen-badges {
  display: flex;
  gap: 12px;
  margin-top: 40px;
  flex-wrap: wrap;
  align-items: center;
}

.listen-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--smoke);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--cream);
  transition: all 0.2s;
}

.badge:hover {
  background: rgba(200,132,42,0.12);
  border-color: var(--amber-dark);
  color: var(--cream-light);
}

/* ---- HOST CARDS ---- */
.host-card {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 32px;
  align-items: start;
  padding: 36px;
  background: var(--charcoal-2);
  border: 1px solid rgba(200,132,42,0.15);
  border-radius: var(--radius-lg);
  margin-bottom: 28px;
}

.host-avatar {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  border: 3px solid var(--amber-dark);
  object-fit: cover;
  background: var(--bark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  overflow: hidden;
}

.host-name { font-size: 1.6rem; margin-bottom: 6px; }
.host-handle { color: var(--amber); font-size: 0.85rem; font-weight: 600; margin-bottom: 14px; display: block; }
.host-bio { color: var(--sawdust); font-size: 0.95rem; margin-bottom: 16px; }

/* ---- FORM STYLES ---- */
.form-group { margin-bottom: 20px; }

label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--smoke);
  margin-bottom: 8px;
}

input[type="text"],
input[type="email"],
input[type="url"],
select,
textarea {
  width: 100%;
  padding: 12px 16px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(200,132,42,0.25);
  border-radius: var(--radius);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color 0.2s;
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--amber);
  background: rgba(200,132,42,0.05);
}

textarea { resize: vertical; min-height: 120px; }

select option { background: var(--charcoal-2); }

/* ---- SPONSOR TIERS ---- */
.sponsor-tier {
  border: 2px solid rgba(200,132,42,0.15);
  border-radius: var(--radius-lg);
  padding: 36px;
  position: relative;
  background: var(--charcoal-2);
  transition: border-color 0.3s;
}

.sponsor-tier:hover { border-color: var(--amber-dark); }

.sponsor-tier.featured {
  border-color: var(--amber);
  box-shadow: 0 0 0 1px var(--amber-dark);
}

.tier-badge {
  position: absolute;
  top: -14px;
  left: 32px;
  background: var(--amber);
  color: var(--charcoal);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  padding: 4px 14px;
  border-radius: 2px;
}

.tier-name {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--cream-light);
  margin-bottom: 6px;
}

.tier-price {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--amber);
  margin-bottom: 20px;
  display: block;
}

.tier-features {
  list-style: none;
  margin-bottom: 28px;
}

.tier-features li {
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  font-size: 0.9rem;
  color: var(--sawdust);
  display: flex;
  align-items: center;
  gap: 10px;
}

.tier-features li::before {
  content: '✓';
  color: var(--amber);
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
}

/* ---- HEALTH SECTION ---- */
.health-card {
  background: var(--charcoal-2);
  border-left: 4px solid var(--forest);
  border-radius: var(--radius);
  padding: 28px 32px;
  margin-bottom: 20px;
}

.health-card.womens { border-left-color: #8B5A7A; }

.health-logo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  margin-top: 32px;
}

.health-org {
  background: var(--charcoal-2);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  transition: all 0.2s;
  text-decoration: none;
}

.health-org:hover {
  border-color: var(--amber-dark);
  background: rgba(200,132,42,0.05);
}

.health-org-name {
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--cream-light);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.health-org-desc {
  font-size: 0.8rem;
  color: var(--smoke);
  margin-top: 6px;
}

/* ---- COMMUNITY / FEEDBACK ---- */
.testimonial {
  background: var(--charcoal-2);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
}

.testimonial::before {
  content: '"';
  position: absolute;
  top: 16px;
  left: 24px;
  font-family: var(--font-display);
  font-size: 5rem;
  color: var(--amber-dark);
  line-height: 1;
  opacity: 0.5;
}

.testimonial-text {
  font-style: italic;
  color: var(--sawdust);
  margin-bottom: 16px;
  padding-top: 20px;
}

.testimonial-author {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--cream);
}

.testimonial-location {
  font-size: 0.75rem;
  color: var(--smoke);
}

/* ---- FOOTER ---- */
.site-footer {
  background: #141210;
  border-top: 2px solid var(--amber-dark);
  padding: 60px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand p {
  color: var(--smoke);
  font-size: 0.9rem;
  margin-top: 16px;
  max-width: 280px;
}

.footer-col h4 {
  color: var(--cream);
  margin-bottom: 16px;
  font-size: 0.75rem;
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a {
  font-size: 0.9rem;
  color: var(--smoke);
  transition: color 0.2s;
}
.footer-col ul a:hover { color: var(--amber); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--smoke);
  margin: 0;
}

.social-links { display: flex; gap: 12px; }

.social-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--smoke);
  font-size: 0.85rem;
  transition: all 0.2s;
}

.social-link:hover {
  border-color: var(--amber);
  color: var(--amber);
  background: rgba(200,132,42,0.08);
}

/* ---- UTILITIES ---- */
.text-amber { color: var(--amber); }
.text-smoke { color: var(--smoke); }
.text-sawdust { color: var(--sawdust); }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.text-center { text-align: center; }

/* ---- PAGE HERO (sub pages) ---- */
.page-hero {
  padding: 80px 0 60px;
  background:
    linear-gradient(to bottom, rgba(200,132,42,0.06) 0%, transparent 100%),
    var(--charcoal);
  border-bottom: 1px solid rgba(200,132,42,0.15);
}

.page-hero h1 { margin-bottom: 14px; }
.page-hero p { color: var(--sawdust); font-size: 1.1rem; max-width: 560px; }

/* ---- ALERT / NOTICE ---- */
.notice {
  padding: 16px 20px;
  border-radius: var(--radius);
  border-left: 4px solid var(--amber);
  background: rgba(200,132,42,0.08);
  font-size: 0.9rem;
  color: var(--sawdust);
  margin-bottom: 24px;
}

/* ---- VIDEO COMING SOON ---- */
.video-teaser {
  background: var(--charcoal-2);
  border: 2px dashed rgba(200,132,42,0.3);
  border-radius: var(--radius-lg);
  padding: 60px 40px;
  text-align: center;
}

.video-teaser h3 { margin-bottom: 12px; }
.video-teaser p { color: var(--smoke); max-width: 480px; margin: 0 auto 24px; }

/* ---- RESPONSIVE ---- */
@media (max-width: 960px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .host-card { grid-template-columns: 1fr; }
  .host-avatar { width: 100px; height: 100px; }
}

@media (max-width: 720px) {
  section { padding: 56px 0; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .nav-links { display: none; flex-direction: column; position: absolute; top: 68px; left: 0; right: 0; background: rgba(20,18,16,0.98); padding: 16px 24px 24px; border-bottom: 2px solid var(--amber-dark); }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 0; font-size: 1rem; }
  .nav-toggle { display: flex; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .hero { min-height: 80vh; }
  .hero-rings { display: none; }
  .stat-block { border-left: none; border-top: 1px solid rgba(200,132,42,0.2); }
  .grid-4.stats { grid-template-columns: repeat(2, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
