/* ═══════════════════════════════════════════════════════════════════════════
   AVM Members Area — shared stylesheet
   Brand: navy #0A1628, green #39FF5A, gold #FFC850, amber #FF8B3D
   Fonts: Instrument Serif (headings) + Inter (body)
═══════════════════════════════════════════════════════════════════════════ */

:root {
  --navy-dark: #0A1628;
  --navy-mid: #102038;
  --navy-light: #182A46;
  --navy-hi: #223856;
  --green: #39FF5A;
  --green-dim: #26B440;
  --gold: #FFC850;
  --amber: #FF8B3D;
  --white: #F5F7FA;
  --off-white: #C8D2DE;
  --off-white-dim: #8B95A3;
  --red: #F05040;
  --serif: 'Instrument Serif', Georgia, serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: 'JetBrains Mono', 'SF Mono', Consolas, monospace;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--navy-dark);
  color: var(--white);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a { color: var(--green); text-decoration: none; transition: color 0.15s; }
a:hover { color: var(--white); }

/* ═══════════════════════════════════════════════════════════════════════════
   HEADER + NAV
═══════════════════════════════════════════════════════════════════════════ */

.site-header {
  background: var(--navy-mid);
  border-bottom: 1px solid var(--navy-light);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(20px);
}
.header-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 20px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.wordmark {
  font-family: var(--serif);
  font-size: 34px;
  font-style: italic;
  line-height: 1;
  color: var(--white);
  letter-spacing: -0.02em;
  text-decoration: none;
  white-space: nowrap;
}
.wordmark .v { color: var(--green); }
.wordmark:hover { color: var(--white); }

.nav {
  display: flex;
  gap: 32px;
  align-items: center;
  list-style: none;
}
.nav a {
  color: var(--off-white);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s, color 0.15s;
}
.nav a:hover, .nav a.active {
  color: var(--green);
  border-bottom-color: var(--green);
}

/* Mobile hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--navy-hi);
  color: var(--white);
  padding: 8px 12px;
  border-radius: 3px;
  cursor: pointer;
  font-size: 14px;
}

@media (max-width: 800px) {
  .header-inner { padding: 16px 20px; gap: 16px; }
  .wordmark { font-size: 28px; }
  .nav-toggle { display: block; }
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--navy-mid);
    flex-direction: column;
    padding: 16px 20px;
    gap: 12px;
    border-bottom: 1px solid var(--navy-light);
  }
  .nav.open { display: flex; }
  .nav a { padding: 8px 0; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   MAIN CONTAINER
═══════════════════════════════════════════════════════════════════════════ */

main { flex: 1; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 40px;
}
.container.narrow {
  max-width: 900px;
}
@media (max-width: 800px) {
  .container { padding: 40px 20px; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   HERO (index page)
═══════════════════════════════════════════════════════════════════════════ */

.hero {
  padding: 80px 40px 60px;
  text-align: center;
  background:
    radial-gradient(ellipse at 30% 40%, rgba(57,255,90,0.05) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 60%, rgba(255,200,80,0.03) 0%, transparent 50%),
    var(--navy-dark);
  border-bottom: 1px solid var(--navy-light);
}
.hero .kicker {
  font-size: 12px;
  letter-spacing: 0.32em;
  color: var(--green);
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 20px;
}
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(48px, 8vw, 96px);
  font-style: italic;
  line-height: 1.02;
  color: var(--white);
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
.hero h1 em { color: var(--green); font-style: italic; }
.hero .tagline {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(20px, 2.5vw, 26px);
  color: var(--off-white);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.4;
}

/* ═══════════════════════════════════════════════════════════════════════════
   MODULE HEADERS (module pages)
═══════════════════════════════════════════════════════════════════════════ */

.module-header {
  padding: 60px 40px 40px;
  text-align: center;
  border-bottom: 1px solid var(--navy-light);
  background:
    radial-gradient(ellipse at center top, rgba(57,255,90,0.04) 0%, transparent 60%),
    var(--navy-dark);
}
.module-header .kicker {
  font-size: 12px;
  letter-spacing: 0.32em;
  color: var(--green);
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 16px;
}
.module-header h1 {
  font-family: var(--serif);
  font-size: clamp(42px, 6vw, 72px);
  font-style: italic;
  line-height: 1.05;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.module-header .description {
  font-size: 17px;
  color: var(--off-white);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}
.module-header .stats {
  margin-top: 24px;
  font-size: 13px;
  color: var(--off-white-dim);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.module-header .stats span { color: var(--green); font-weight: 700; }

/* ═══════════════════════════════════════════════════════════════════════════
   LESSON CARDS
═══════════════════════════════════════════════════════════════════════════ */

.lesson {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 40px;
  padding: 48px 0;
  border-bottom: 1px solid var(--navy-light);
}
.lesson:last-child { border-bottom: 0; }

.lesson-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 88px;
  color: var(--green);
  line-height: 0.9;
  text-align: right;
  padding-top: 8px;
}

.lesson-body { min-width: 0; }
.lesson-body .kicker {
  font-size: 11px;
  letter-spacing: 0.28em;
  color: var(--off-white-dim);
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 10px;
}
.lesson-body h2 {
  font-family: var(--serif);
  font-size: 38px;
  font-style: italic;
  line-height: 1.15;
  color: var(--white);
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}
.lesson-body .summary {
  font-size: 16px;
  color: var(--off-white);
  line-height: 1.6;
  margin-bottom: 24px;
  max-width: 720px;
}

/* Video wrapper — responsive 16:9 */
.video-wrap {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  background: #000;
  border-radius: 4px;
  margin-bottom: 20px;
  border: 1px solid var(--navy-light);
}
.video-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Download strip below videos */
.downloads {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}
.download-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  background: var(--navy-mid);
  border: 1px solid var(--navy-hi);
  border-radius: 3px;
  color: var(--white);
  font-size: 13px;
  font-weight: 500;
  transition: border-color 0.15s, background 0.15s;
}
.download-pill:hover {
  border-color: var(--green);
  color: var(--green);
  background: var(--navy-light);
}
.download-pill .icon {
  color: var(--green);
  font-size: 16px;
  line-height: 1;
}

@media (max-width: 700px) {
  .lesson {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 32px 0;
  }
  .lesson-num {
    text-align: left;
    font-size: 60px;
    padding-top: 0;
  }
  .lesson-body h2 { font-size: 28px; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   INDEX MODULE-OVERVIEW CARDS
═══════════════════════════════════════════════════════════════════════════ */

.modules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 40px;
}
.module-card {
  padding: 32px;
  background: var(--navy-mid);
  border: 1px solid var(--navy-light);
  border-radius: 4px;
  transition: border-color 0.2s, transform 0.2s;
  display: block;
  color: inherit;
  text-decoration: none;
}
.module-card:hover {
  border-color: var(--green);
  transform: translateY(-2px);
  color: inherit;
}
.module-card .num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 60px;
  color: var(--green);
  line-height: 1;
  margin-bottom: 12px;
}
.module-card .kicker {
  font-size: 10px;
  letter-spacing: 0.28em;
  color: var(--off-white-dim);
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 8px;
}
.module-card h3 {
  font-family: var(--serif);
  font-size: 28px;
  font-style: italic;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 12px;
}
.module-card p {
  color: var(--off-white);
  font-size: 15px;
  line-height: 1.55;
  margin-bottom: 16px;
}
.module-card .cta {
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--green);
  text-transform: uppercase;
  font-weight: 700;
}

/* ═══════════════════════════════════════════════════════════════════════════
   SECTION HEADINGS
═══════════════════════════════════════════════════════════════════════════ */

.section-heading {
  font-family: var(--serif);
  font-size: 44px;
  font-style: italic;
  color: var(--white);
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}
.section-sub {
  color: var(--off-white);
  font-size: 16px;
  max-width: 640px;
  line-height: 1.55;
  margin-bottom: 40px;
}

/* ═══════════════════════════════════════════════════════════════════════════
   FEATURED CARD (Start Here highlight on index page)
═══════════════════════════════════════════════════════════════════════════ */

.featured {
  background: linear-gradient(135deg, var(--navy-mid) 0%, var(--navy-light) 100%);
  border: 1px solid var(--navy-hi);
  border-radius: 6px;
  padding: 40px;
  margin-bottom: 60px;
}
.featured .label {
  display: inline-block;
  padding: 4px 12px;
  background: var(--green);
  color: var(--navy-dark);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 700;
  border-radius: 2px;
  margin-bottom: 16px;
}
.featured h2 {
  font-family: var(--serif);
  font-size: 40px;
  font-style: italic;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 16px;
}
.featured p {
  color: var(--off-white);
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 28px;
  max-width: 720px;
}

/* ═══════════════════════════════════════════════════════════════════════════
   RESOURCES PAGE — download cards
═══════════════════════════════════════════════════════════════════════════ */

.resource-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}
.resource-card {
  padding: 32px;
  background: var(--navy-mid);
  border: 1px solid var(--navy-light);
  border-radius: 4px;
  display: flex;
  flex-direction: column;
}
.resource-card .type {
  font-size: 10px;
  letter-spacing: 0.28em;
  color: var(--gold);
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 12px;
}
.resource-card h3 {
  font-family: var(--serif);
  font-size: 28px;
  font-style: italic;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 12px;
}
.resource-card p {
  color: var(--off-white);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 20px;
  flex: 1;
}
.resource-card .btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  padding: 12px 22px;
  background: var(--green);
  color: var(--navy-dark);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  border-radius: 3px;
  transition: background 0.15s;
}
.resource-card .btn:hover {
  background: #4dff6e;
  color: var(--navy-dark);
}

/* ═══════════════════════════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════════════════════════ */

.site-footer {
  background: var(--navy-mid);
  border-top: 1px solid var(--navy-light);
  padding: 40px 40px 32px;
  margin-top: 60px;
}
.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: start;
}
.footer-brand .wordmark { font-size: 26px; }
.footer-brand p {
  color: var(--off-white-dim);
  font-size: 13px;
  margin-top: 12px;
  max-width: 400px;
  line-height: 1.55;
}
.footer-links {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.footer-links a {
  color: var(--off-white-dim);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
}
.footer-links a:hover { color: var(--green); }
.footer-bottom {
  max-width: 1400px;
  margin: 32px auto 0;
  padding-top: 20px;
  border-top: 1px solid var(--navy-light);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  color: var(--off-white-dim);
  font-size: 12px;
}
@media (max-width: 700px) {
  .footer-inner { grid-template-columns: 1fr; }
  .footer-links { justify-content: flex-start; }
}
