/* ============================================
   HANK'S THINK TANK — Main Stylesheet
   hanksthinktank.com
   ============================================ */

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

/* ---- VARIABLES ---- */
:root {
  --black:      #0a0a0a;
  --charcoal:   #141414;
  --dark:       #1c1c1c;
  --gold:       #c9a84c;
  --gold-light: #e8c96a;
  --cream:      #f5f0e8;
  --white:      #ffffff;
  --muted:      #888888;
  --border:     rgba(201, 168, 76, 0.2);
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans:  'DM Sans', system-ui, sans-serif;
}

/* ---- RESET ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  background: var(--black);
  color: var(--cream);
  line-height: 1.7;
  font-size: 16px;
}
img { max-width: 100%; display: block; }
a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-light); }

/* ---- TYPOGRAPHY ---- */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  color: var(--white);
  line-height: 1.2;
}
h1 { font-size: clamp(2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.6rem); }
h3 { font-size: 1.4rem; }
h4 { font-size: 1.1rem; }
p  { font-weight: 300; color: rgba(245,240,232,0.75); }

/* ---- LAYOUT HELPERS ---- */
.container { max-width: 1060px; margin: 0 auto; padding: 0 2rem; }
.section    { padding: 5rem 0; }
.section-sm { padding: 3rem 0; }
.text-center { text-align: center; }
.text-gold   { color: var(--gold); }
.eyebrow {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

/* ---- NAV ---- */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(10,10,10,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  height: 64px;
  display: flex;
  align-items: center;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 2rem;
}

.nav-logo {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--white);
  font-weight: 700;
  letter-spacing: 0.02em;
}
.nav-logo span { color: var(--gold); }

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

.nav-links a {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(245,240,232,0.7);
  transition: color 0.15s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--gold); }

.nav-cta {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--black) !important;
  background: var(--gold);
  padding: 8px 18px;
  border-radius: 5px;
  transition: background 0.15s !important;
}
.nav-cta:hover { background: var(--gold-light) !important; color: var(--black) !important; }

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--cream);
  border-radius: 2px;
  transition: 0.2s;
}

/* ---- PAGE OFFSET (for fixed nav) ---- */
.page-content { padding-top: 64px; }

/* ---- HERO ---- */
.hero {
  min-height: 92vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1rem 2rem;
  background:
    /* Dark overlay so text stays readable */
    linear-gradient(
      to bottom,
      rgba(10,10,10,0.55) 0%,
      rgba(10,10,10,0.72) 50%,
      rgba(10,10,10,0.88) 100%
    ),
    /* Studio spotlight glow from top */
    radial-gradient(ellipse 60% 40% at 50% 0%, rgba(201,168,76,0.18) 0%, transparent 65%),
    /* The microphone photo */
    url('/images/microphone.jpg') center center / cover no-repeat;
  position: relative;
  overflow: hidden;
}

/* Remove the old SVG mic pseudo-element */
.hero::before {
  content: '';
  position: absolute;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 280px solid transparent;
  border-right: 280px solid transparent;
  border-top: 700px solid rgba(201,168,76,0.04);
  pointer-events: none;
  z-index: 0;
  filter: blur(20px);
}

.hero::after {
  display: none;
}
.hero-logo { height: 250px; filter: none; margin: 0 auto 0.5rem; position: relative; z-index: 1; }
.hero h1 { max-width: 800px; margin: 0 auto 0.75rem; position: relative; z-index: 1; }
.hero h1 em { font-style: italic; color: var(--gold); }
.hero .eyebrow { position: relative; z-index: 1; }
.hero .hero-sub { position: relative; z-index: 1; }
.hero .btn-group { position: relative; z-index: 1; }
.hero .stats-row { position: relative; z-index: 1; }
.hero-sub {
  font-size: 1.05rem;
  color: rgba(245,240,232,0.6);
  max-width: 540px;
  margin: 0 auto 3rem;
  font-weight: 300;
}

/* ---- STATS ROW ---- */
.stats-row {
  display: flex;
  gap: 3rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1rem;
}
.stat { text-align: center; }
.stat-num {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--gold);
  display: block;
  line-height: 1;
}
.stat-label {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.35rem;
  display: block;
}
.stat-divider {
  width: 1px;
  height: 48px;
  background: var(--border);
  align-self: center;
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 13px 28px;
  border-radius: 5px;
  transition: all 0.15s;
  cursor: pointer;
  border: none;
}
.btn-gold {
  background: var(--gold);
  color: var(--black);
}
.btn-gold:hover { background: var(--gold-light); color: var(--black); transform: translateY(-1px); }

.btn-outline {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--gold);
}
.btn-outline:hover { background: rgba(201,168,76,0.1); color: var(--gold); }

.btn-group { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ---- CARDS ---- */
.card {
  background: var(--charcoal);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.75rem;
  transition: border-color 0.2s, transform 0.2s;
}
.card:hover { border-color: var(--gold); transform: translateY(-3px); }

/* ---- DIVIDER ---- */
.gold-line {
  height: 1px;
  background: var(--border);
  margin: 0;
}

/* ---- DARK STRIP ---- */
.strip-dark  { background: var(--charcoal); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.strip-black { background: var(--black); }

/* ---- QUOTE BLOCK ---- */
.quote-block {
  background: var(--dark);
  border-left: 2px solid var(--gold);
  padding: 2rem 2rem 2rem 2.25rem;
  border-radius: 0 8px 8px 0;
}
.quote-text {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-style: italic;
  color: var(--white);
  line-height: 1.65;
  margin-bottom: 0.75rem;
}
.quote-attr {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ---- TIER CARDS ---- */
.tiers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.tier-card {
  background: var(--charcoal);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
  position: relative;
  transition: border-color 0.2s, transform 0.2s;
}
.tier-card:hover { border-color: var(--gold); transform: translateY(-4px); }
.tier-card.featured {
  border-color: var(--gold);
  background: linear-gradient(135deg, var(--dark) 0%, #1e1a10 100%);
}
.tier-card.featured::before {
  content: 'Most Popular';
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--black);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 99px;
  white-space: nowrap;
}
.tier-name {
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.6rem;
}
.tier-price {
  font-family: var(--font-serif);
  font-size: 2.1rem;
  color: var(--white);
  margin-bottom: 0.2rem;
}
.tier-period { font-size: 0.78rem; color: var(--muted); margin-bottom: 1.5rem; }
.tier-divider { height: 1px; background: var(--border); margin-bottom: 1.5rem; }
.tier-benefits { list-style: none; }
.tier-benefits li {
  display: flex;
  gap: 0.7rem;
  margin-bottom: 0.8rem;
  font-size: 0.86rem;
  color: rgba(245,240,232,0.75);
  align-items: flex-start;
  line-height: 1.5;
}
.tier-benefits li::before {
  content: '✦';
  color: var(--gold);
  font-size: 0.5rem;
  flex-shrink: 0;
  margin-top: 5px;
}

/* ---- EPISODE CARD ---- */
.episode-card {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  background: var(--charcoal);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.25rem;
  transition: border-color 0.15s;
}
.episode-card:hover { border-color: var(--gold); }
.episode-thumb {
  width: 120px;
  min-width: 120px;
  height: 68px;
  background: var(--dark);
  border-radius: 6px;
  overflow: hidden;
  object-fit: cover;
}
.episode-meta { font-size: 0.72rem; color: var(--muted); margin-bottom: 0.3rem; }
.episode-title {
  font-family: var(--font-serif);
  font-size: 1rem;
  color: var(--white);
  margin-bottom: 0.4rem;
  line-height: 1.35;
}
.episode-desc { font-size: 0.83rem; color: rgba(245,240,232,0.55); font-weight: 300; }

/* ---- CONTACT FORM ---- */
.contact-form { display: flex; flex-direction: column; gap: 1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group label { font-size: 0.78rem; font-weight: 500; color: rgba(245,240,232,0.6); letter-spacing: 0.05em; }
.form-group input,
.form-group select,
.form-group textarea {
  background: var(--dark);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 10px 14px;
  font-size: 0.9rem;
  font-family: var(--font-sans);
  color: var(--cream);
  outline: none;
  transition: border-color 0.15s;
  width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--gold); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group select option { background: var(--dark); }

/* ---- FOOTER ---- */
.site-footer {
  background: #060606;
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 3rem 0 2rem;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2.5rem;
}
.footer-brand p {
  font-size: 0.85rem;
  color: rgba(245,240,232,0.45);
  margin-top: 0.75rem;
  font-weight: 300;
  max-width: 260px;
}
.footer-heading {
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 0.6rem; }
.footer-links a { font-size: 0.85rem; color: rgba(245,240,232,0.5); transition: color 0.15s; }
.footer-links a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.05);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.18);
}

/* ---- ANIMATIONS ---- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp 0.7s ease forwards; }
.fade-up-1 { animation: fadeUp 0.7s 0.1s ease both; }
.fade-up-2 { animation: fadeUp 0.7s 0.2s ease both; }
.fade-up-3 { animation: fadeUp 0.7s 0.3s ease both; }
.fade-up-4 { animation: fadeUp 0.7s 0.45s ease both; }

/* ---- PAGE HERO (inner pages) ---- */
.page-hero {
  background:
    radial-gradient(ellipse at 30% 50%, rgba(201,168,76,0.06) 0%, transparent 60%),
    var(--charcoal);
  border-bottom: 1px solid var(--border);
  padding: 5rem 0 4rem;
  text-align: center;
}
.page-hero h1 { margin-bottom: 0.75rem; }
.page-hero p { font-size: 1rem; color: rgba(245,240,232,0.55); max-width: 500px; margin: 0 auto; }

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 64px; left: 0; right: 0;
    background: var(--charcoal);
    border-bottom: 1px solid var(--border);
    padding: 1.5rem 2rem;
    gap: 1.25rem;
  }
  .tiers-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .form-row { grid-template-columns: 1fr; }
  .stats-row { gap: 1.75rem; }
  .stat-divider { display: none; }
  .episode-card { flex-direction: column; }
  .episode-thumb { width: 100%; height: 180px; min-width: unset; }
}
