/*
  ActiveFounder.ai -- Warm-Outdoor-Narrative Design System
  Redesign: 2026-04-26

  Aesthetic: Patagonia journal / Outside Inc editorial
  NOT generic startup SaaS. NOT dark-tech dashboard.
*/

/* ============================================================
   GOOGLE FONTS -- loaded in <head> of each HTML file
   Cormorant Garamond (editorial serif) + Inter (body sans)
   ============================================================ */

/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
  /* Palette */
  --cream:        #F5F0E8;
  --cream-dark:   #EDE6D8;
  --charcoal:     #2C1F14;
  --charcoal-mid: #4A3728;
  --terracotta:   #C8662A;
  --terracotta-hover: #B05A24;
  --sage:         #8A9A82;
  --sage-light:   #A8B8A0;
  --white:        #FFFFFF;
  --divider:      rgba(44, 31, 20, 0.12);

  /* Typography */
  --font-heading: 'Cormorant Garamond', 'Georgia', serif;
  --font-body:    'Inter', 'Helvetica Neue', Arial, sans-serif;

  /* Spacing */
  --max-w:      720px;
  --max-w-wide: 960px;
  --section-v:  5rem;
  --section-v-sm: 3rem;

  /* Radius */
  --radius-sm: 4px;
  --radius:    8px;
  --radius-lg: 12px;
}

/* ============================================================
   RESET + BASE
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 1.0625rem; /* 17px */
  line-height: 1.7;
  color: var(--charcoal);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, video {
  max-width: 100%;
  height: auto;
  display: block;
}

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

p + p { margin-top: 1.2em; }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  color: var(--charcoal);
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.4rem, 5.5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 500; }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.7rem); font-weight: 500; }
h4 { font-size: 1.1rem; font-weight: 600; font-family: var(--font-body); text-transform: uppercase; letter-spacing: 0.1em; color: var(--sage); }

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
  max-width: var(--max-w);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.container--wide {
  max-width: var(--max-w-wide);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

section {
  padding: var(--section-v) 0;
}

/* ============================================================
   NAV
   ============================================================ */
.site-nav {
  background: var(--cream);
  border-bottom: 1px solid var(--divider);
  padding: 1.25rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-nav .container--wide {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.nav-logo {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--charcoal);
  letter-spacing: 0.02em;
}
.nav-logo:hover { color: var(--charcoal); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}
.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--charcoal-mid);
  letter-spacing: 0.02em;
}
.nav-links a:hover { color: var(--terracotta); }

@media (max-width: 600px) {
  .nav-links { display: none; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  background: var(--charcoal);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../img/hero/trail.jpg');
  background-size: cover;
  background-position: center 40%;
  opacity: 0.35;
}

.hero-inner {
  position: relative;
  z-index: 2;
  padding: 5rem 1.5rem;
  max-width: 720px;
  margin: 0 auto;
  text-align: left;
}

.hero h1 {
  color: var(--cream);
  font-size: clamp(2.8rem, 6.5vw, 4.8rem);
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero-sub {
  color: var(--sage-light);
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  line-height: 1.7;
  max-width: 560px;
  margin-bottom: 2.5rem;
}

/* Hero email form */
.hero-form {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  align-items: stretch;
}

.hero-form input[type="email"] {
  flex: 1 1 220px;
  padding: 0.85rem 1.1rem;
  font-size: 1rem;
  font-family: var(--font-body);
  border: 1.5px solid rgba(245, 240, 232, 0.3);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.08);
  color: var(--cream);
  outline: none;
  transition: border-color 0.2s;
}
.hero-form input[type="email"]::placeholder { color: rgba(245, 240, 232, 0.45); }
.hero-form input[type="email"]:focus { border-color: rgba(245, 240, 232, 0.65); }

.btn-primary {
  display: inline-block;
  padding: 0.85rem 1.75rem;
  background: var(--terracotta);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  letter-spacing: 0.01em;
  transition: background 0.2s, transform 0.1s;
  white-space: nowrap;
  text-decoration: none;
}
.btn-primary:hover {
  background: var(--terracotta-hover);
  color: var(--white);
  transform: translateY(-1px);
}

.form-status {
  display: block;
  font-size: 0.82rem;
  color: rgba(245, 240, 232, 0.45);
  margin-top: 0.75rem;
}

/* ============================================================
   EDITORIAL LABEL (section tags)
   ============================================================ */
.label {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--sage);
  margin-bottom: 1rem;
  display: block;
}

/* ============================================================
   THESIS SECTION (What is an Active Founder?)
   ============================================================ */
.thesis {
  background: var(--white);
  padding: var(--section-v) 0;
}

.thesis h2 {
  margin-bottom: 1.75rem;
}

.thesis p {
  color: var(--charcoal-mid);
  max-width: 640px;
}

.thesis .pull-quote {
  margin: 2.5rem 0;
  padding-left: 1.5rem;
  border-left: 3px solid var(--terracotta);
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 2.5vw, 1.55rem);
  font-style: italic;
  color: var(--charcoal);
  line-height: 1.4;
}

/* ============================================================
   EPISODE CARDS
   ============================================================ */
.episodes-section {
  padding: var(--section-v) 0;
}

.episodes-section h2 {
  margin-bottom: 2.5rem;
}

.episode-cards {
  display: grid;
  gap: 1.75rem;
  /* Single column on mobile, 2 on tablet+ */
}

@media (min-width: 600px) {
  .episode-cards { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 900px) {
  .episode-cards { grid-template-columns: 1fr 1fr 1fr; }
}

.episode-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--divider);
  transition: transform 0.2s, box-shadow 0.2s;
}
.episode-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(44, 31, 20, 0.1);
}

.card-accent {
  height: 4px;
  background: var(--terracotta);
}

.card-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-location {
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--sage);
  margin-bottom: 0.6rem;
}

.card-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 0.75rem;
  line-height: 1.25;
}

.card-summary {
  font-size: 0.92rem;
  color: var(--charcoal-mid);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex: 1;
}

.card-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--terracotta);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: auto;
}
.card-link::after {
  content: '\2192';
  display: inline-block;
  transition: transform 0.2s;
}
.episode-card:hover .card-link::after {
  transform: translateX(4px);
}

/* ============================================================
   EMAIL CAPTURE SECTION (reusable)
   ============================================================ */
.email-band {
  background: var(--charcoal);
  color: var(--cream);
  padding: var(--section-v) 0;
}

.email-band h2 {
  color: var(--cream);
  margin-bottom: 1rem;
}

.email-band p {
  color: var(--sage-light);
  max-width: 520px;
  margin-bottom: 1.75rem;
}

.email-band-form {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  align-items: stretch;
  max-width: 480px;
}

.email-band-form input[type="email"] {
  flex: 1 1 200px;
  padding: 0.8rem 1rem;
  font-size: 0.97rem;
  font-family: var(--font-body);
  border: 1.5px solid rgba(245, 240, 232, 0.25);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.07);
  color: var(--cream);
  outline: none;
  transition: border-color 0.2s;
}
.email-band-form input[type="email"]::placeholder { color: rgba(245, 240, 232, 0.4); }
.email-band-form input[type="email"]:focus { border-color: rgba(245, 240, 232, 0.6); }

.email-note {
  display: block;
  font-size: 0.78rem;
  color: rgba(245, 240, 232, 0.35);
  margin-top: 0.65rem;
}

/* ============================================================
   DIVIDER
   ============================================================ */
.section-divider {
  border: none;
  border-top: 1px solid var(--divider);
  margin: 0;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--charcoal);
  color: var(--sage);
  padding: 3rem 0 2.5rem;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }
}

.footer-brand {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--cream);
  margin-bottom: 0.4rem;
}

.footer-tagline {
  font-size: 0.85rem;
  color: var(--sage);
  max-width: 220px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.footer-links a {
  font-size: 0.88rem;
  color: var(--sage);
}
.footer-links a:hover { color: var(--cream); }

.footer-legal {
  border-top: 1px solid rgba(245, 240, 232, 0.1);
  margin-top: 2rem;
  padding-top: 1.5rem;
  font-size: 0.77rem;
  color: rgba(138, 154, 130, 0.65);
  line-height: 1.6;
}

/* ============================================================
   FTC DISCLOSURE
   ============================================================ */
.ftc-disclosure {
  background: var(--cream-dark);
  border: 1px solid var(--divider);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin-top: 2rem;
  font-size: 0.82rem;
  color: var(--charcoal-mid);
  line-height: 1.6;
}
.ftc-disclosure strong { color: var(--charcoal); }

/* ============================================================
   EPISODES INDEX PAGE
   ============================================================ */
.episodes-hero {
  padding: var(--section-v) 0 var(--section-v-sm);
  border-bottom: 1px solid var(--divider);
}

.episodes-hero h1 {
  margin-bottom: 0.75rem;
}

.episodes-hero p {
  color: var(--charcoal-mid);
  max-width: 500px;
}

.episodes-feed {
  padding: var(--section-v-sm) 0 var(--section-v);
}

/* Feed card -- slightly different from homepage cards (full-width, more text) */
.feed-card {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-bottom: 1px solid var(--divider);
  padding: 2rem 0;
}
.feed-card:first-child { padding-top: 0; }

.feed-card-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.6rem;
}

.feed-date {
  font-size: 0.78rem;
  color: var(--sage);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.feed-location {
  font-size: 0.78rem;
  color: var(--sage);
  display: flex;
  align-items: center;
  gap: 0.3rem;
}
.feed-location::before { content: '/'; opacity: 0.4; }

.feed-card h2 {
  font-size: clamp(1.25rem, 2.5vw, 1.65rem);
  margin-bottom: 0.6rem;
  line-height: 1.2;
}
.feed-card h2 a { color: var(--charcoal); }
.feed-card h2 a:hover { color: var(--terracotta); }

.feed-card-summary {
  font-size: 0.95rem;
  color: var(--charcoal-mid);
  max-width: 560px;
  margin-bottom: 0.9rem;
  line-height: 1.65;
}

.feed-read-more {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--terracotta);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}
.feed-read-more::after {
  content: '\2192';
  display: inline-block;
  transition: transform 0.2s;
}
.feed-read-more:hover::after { transform: translateX(4px); }

/* ============================================================
   SINGLE EPISODE PAGE
   ============================================================ */
.episode-hero {
  background: var(--charcoal);
  padding: var(--section-v) 0 calc(var(--section-v) * 0.7);
  position: relative;
}

.episode-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.22;
}

.episode-hero-inner {
  position: relative;
  z-index: 2;
}

.episode-back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: var(--sage);
  margin-bottom: 2rem;
}
.episode-back:hover { color: var(--cream); }
.episode-back::before { content: '\2190'; }

.episode-hero h1 {
  color: var(--cream);
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 1rem;
  max-width: 640px;
}

.episode-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.episode-meta-item {
  font-size: 0.82rem;
  color: var(--sage);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Episode body */
.episode-body {
  padding: var(--section-v) 0;
}

.episode-body p, .episode-body li {
  color: var(--charcoal-mid);
}

.episode-body h2 {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.episode-body h3 {
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.episode-body ul, .episode-body ol {
  padding-left: 1.25rem;
  margin-bottom: 1.25rem;
}
.episode-body li { margin-bottom: 0.4rem; }

.episode-body blockquote {
  margin: 2rem 0;
  padding-left: 1.5rem;
  border-left: 3px solid var(--terracotta);
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-style: italic;
  color: var(--charcoal);
  line-height: 1.45;
}

/* Key quotes */
.key-quotes {
  margin: 3rem 0;
}
.key-quotes h3 {
  font-family: var(--font-body);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--sage);
  margin-bottom: 1.25rem;
}
.quote-item {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin-bottom: 1rem;
  border-left: 3px solid var(--terracotta);
}
.quote-item p {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-style: italic;
  color: var(--charcoal);
  line-height: 1.45;
  margin: 0;
}
.quote-attr {
  font-size: 0.8rem;
  color: var(--sage);
  margin-top: 0.5rem;
  font-style: normal;
}

/* Guest product card */
.guest-product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin: 2.5rem 0;
  border: 1px solid var(--divider);
}

.guest-product-card .product-brand {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 0.75rem;
}

.guest-product-card h3 {
  font-size: 1.4rem;
  margin-bottom: 0.6rem;
}

.guest-product-card p {
  font-size: 0.95rem;
  color: var(--charcoal-mid);
  margin-bottom: 1.25rem;
}

.btn-product {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: opacity 0.2s, transform 0.1s;
}
.btn-product:hover {
  opacity: 0.88;
  transform: translateY(-1px);
}

/* Podcast embed placeholder */
.podcast-embed {
  background: var(--cream-dark);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
  color: var(--sage);
  font-size: 0.9rem;
  margin: 2rem 0;
  border: 1px dashed var(--divider);
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-hero {
  padding: calc(var(--section-v) * 1.25) 0 var(--section-v);
  border-bottom: 1px solid var(--divider);
}
.about-hero h1 { margin-bottom: 1.25rem; }
.about-hero p { color: var(--charcoal-mid); max-width: 580px; }

.bio-grid {
  display: grid;
  gap: 3rem;
  margin-top: 2.5rem;
}
@media (min-width: 640px) {
  .bio-grid { grid-template-columns: 1fr 1fr; }
}

.bio-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.2rem;
}
.bio-card .bio-role {
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--terracotta);
  display: block;
  margin-bottom: 1rem;
}
.bio-card p {
  font-size: 0.95rem;
  color: var(--charcoal-mid);
  line-height: 1.7;
}
.bio-card p + p { margin-top: 0.9em; }

.anti-portfolio {
  padding: var(--section-v) 0;
  background: var(--white);
}

.anti-portfolio h2 { margin-bottom: 1.5rem; }

.principle-list {
  list-style: none;
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.principle-list li {
  padding-left: 1.5rem;
  position: relative;
  color: var(--charcoal-mid);
  font-size: 0.97rem;
  line-height: 1.65;
}
.principle-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--terracotta);
}

/* ============================================================
   UTILITIES
   ============================================================ */
.text-sage { color: var(--sage); }
.text-cream { color: var(--cream); }
.mt-sm  { margin-top: 1rem; }
.mt-md  { margin-top: 2rem; }
.mt-lg  { margin-top: 3rem; }

/* ============================================================
   RESPONSIVE TWEAKS
   ============================================================ */
@media (max-width: 480px) {
  :root { --section-v: 3.5rem; }
  .hero-form { flex-direction: column; }
  .email-band-form { flex-direction: column; }
}
