/* ============================================================
   SCOTT LEECH TRAINING — Shared Design System
   Matches summit.scottleechtraining.com visual language
   ============================================================ */

/* ── FONTS ── */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Barlow+Condensed:ital,wght@0,400;0,600;0,700;0,900;1,400;1,700&family=Barlow:wght@400;500;600&display=swap');

/* ── TOKENS ── */
:root {
  --gold: #C9891A;
  --gold-light: #E5A020;
  --gold-dim: #8A5D10;
  --black: #0A0A0A;
  --dark: #111111;
  --dark2: #1A1A1A;
  --dark3: #222222;
  --white: #F5F0E8;
  --gray: #888880;
  --red: #B22222;
  --nav-height: 64px;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--black);
  color: var(--white);
  font-family: 'Barlow', sans-serif;
  overflow-x: hidden;
}

/* ── NOISE TEXTURE ── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.06'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 1000;
  opacity: 0.55;
}

/* ── NAVIGATION ── */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-height);
  background: rgba(10,10,10,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201,137,26,0.2);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  z-index: 900;
}

.nav-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 22px;
  letter-spacing: 0.08em;
  color: var(--white);
  text-decoration: none;
  line-height: 1;
}
.nav-logo span { color: var(--gold); }

.nav-links {
  display: none;
  gap: 28px;
  list-style: none;
  align-items: center;
}

.nav-links a {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gray);
  text-decoration: none;
  transition: color 0.2s;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

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

.nav-cta {
  display: none;
  background: var(--gold);
  color: var(--black) !important;
  border-bottom: none !important;
  padding: 8px 20px !important;
  clip-path: polygon(6px 0%, 100% 0%, calc(100% - 6px) 100%, 0% 100%);
  transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--gold-light) !important; }

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

/* Mobile drawer */
.nav-drawer {
  position: fixed;
  top: var(--nav-height);
  left: 0; right: 0;
  background: rgba(10,10,10,0.97);
  border-bottom: 1px solid rgba(201,137,26,0.2);
  padding: 24px 20px;
  z-index: 890;
  transform: translateY(-110%);
  transition: transform 0.3s ease;
}
.nav-drawer.open { transform: translateY(0); }
.nav-drawer ul { list-style: none; display: flex; flex-direction: column; gap: 0; }
.nav-drawer a {
  display: block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray);
  text-decoration: none;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: color 0.2s;
}
.nav-drawer a:hover, .nav-drawer a.active { color: var(--gold); }
.nav-drawer .drawer-cta {
  display: block;
  background: var(--gold);
  color: var(--black);
  text-align: center;
  margin-top: 20px;
  padding: 14px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 22px;
  letter-spacing: 0.1em;
  text-decoration: none;
  clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
}

/* ── HERO ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--nav-height) + 60px) 20px 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 100%, rgba(201,137,26,0.18) 0%, transparent 70%),
    radial-gradient(ellipse 60% 40% at 50% 50%, rgba(201,137,26,0.06) 0%, transparent 70%),
    #0A0A0A;
  z-index: 0;
}
.hero-bg.has-image {
  background-image:
    radial-gradient(ellipse 80% 60% at 50% 100%, rgba(201,137,26,0.18) 0%, transparent 70%),
    radial-gradient(ellipse 60% 40% at 50% 50%, rgba(201,137,26,0.06) 0%, transparent 70%),
    var(--bg-image);
  background-size: cover;
  background-position: center;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201,137,26,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,137,26,0.06) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 0;
  mask-image: radial-gradient(ellipse 90% 90% at 50% 50%, black 30%, transparent 100%);
}

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

.eyebrow {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  opacity: 0;
  animation: fadeUp 0.6s ease forwards 0.2s;
}

.hero-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(64px, 12vw, 140px);
  line-height: 0.9;
  letter-spacing: 0.02em;
  color: var(--white);
  text-shadow: 0 0 80px rgba(201,137,26,0.3);
  opacity: 0;
  animation: fadeUp 0.7s ease forwards 0.35s;
  margin-bottom: 8px;
}

.hero-title em, .hero-title span.gold { color: var(--gold); font-style: normal; }

.hero-tagline {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(18px, 3.5vw, 28px);
  font-weight: 400;
  font-style: italic;
  color: var(--gray);
  margin: 24px 0 48px;
  opacity: 0;
  animation: fadeUp 0.6s ease forwards 0.5s;
  letter-spacing: 0.05em;
}
.hero-tagline strong { color: var(--white); font-style: normal; font-weight: 700; }

/* ── CTA BUTTONS ── */
.cta-primary {
  display: inline-block;
  background: var(--gold);
  color: var(--black);
  font-family: 'Bebas Neue', sans-serif;
  font-size: 22px;
  letter-spacing: 0.1em;
  padding: 18px 56px;
  text-decoration: none;
  clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
  transition: background 0.2s, transform 0.15s;
  opacity: 0;
  animation: fadeUp 0.6s ease forwards 0.8s;
}
.cta-primary:hover { background: var(--gold-light); transform: translateY(-2px); }
.cta-primary.no-anim { opacity: 1; animation: none; }

.cta-secondary-link {
  display: block;
  font-size: 13px;
  color: var(--gray);
  margin-top: 16px;
  letter-spacing: 0.05em;
  text-decoration: none;
}
.cta-secondary-link:hover { color: var(--white); }

/* ── SECTIONS ── */
.section {
  padding: 64px 20px;
  max-width: 1100px;
  margin: 0 auto;
}
.section-dark {
  background: var(--dark);
  border-top: 1px solid rgba(201,137,26,0.15);
  border-bottom: 1px solid rgba(201,137,26,0.15);
}
.section-dark .section { padding: 64px 20px; }

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.section-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(42px, 7vw, 80px);
  line-height: 0.95;
  letter-spacing: 0.03em;
  color: var(--white);
}
.section-title em { color: var(--gold); font-style: normal; }

/* ── CARDS (generic) ── */
.card {
  background: var(--dark2);
  border: 1px solid rgba(201,137,26,0.15);
  border-left: 3px solid var(--gold);
  padding: 32px 28px;
}

.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px;
}

/* ── TESTIMONIAL ── */
.testimonial-card {
  background: var(--dark3);
  border: 1px solid rgba(201,137,26,0.2);
  border-left: 3px solid var(--gold);
  padding: 28px 28px 24px;
}
.testimonial-quote {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 17px;
  font-style: italic;
  color: var(--white);
  line-height: 1.6;
  margin: 0 0 20px;
}
.testimonial-quote::before { content: '\201C'; color: var(--gold); margin-right: 2px; }
.testimonial-quote::after  { content: '\201D'; color: var(--gold); margin-left: 2px; }
.testimonial-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
}
.testimonial-school {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gray);
  margin-top: 3px;
}

/* ── CHECKLIST ── */
.checklist { list-style: none; }
.checklist li {
  font-size: 15px;
  color: var(--white);
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  display: flex;
  align-items: flex-start;
  gap: 14px;
  line-height: 1.5;
}
.checklist li::before {
  content: '✓';
  color: var(--gold);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ── DIVIDER ── */
.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,137,26,0.3), transparent);
  margin: 0 auto;
  max-width: 600px;
}

/* ── PROOF BAR (marquee) ── */
.proof-bar {
  background: var(--gold);
  padding: 16px;
  text-align: center;
  overflow: hidden;
  margin-top: var(--nav-height);
}
.proof-text {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 17px;
  letter-spacing: 0.15em;
  color: var(--black);
  white-space: nowrap;
  animation: marquee 22s linear infinite;
  display: inline-block;
}
@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── FOOTER ── */
.site-footer {
  background: var(--black);
  border-top: 1px solid rgba(201,137,26,0.2);
  padding: 56px 20px 40px;
  text-align: center;
}
.footer-brand {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 28px;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-bottom: 8px;
}
.footer-tagline {
  font-family: 'Barlow Condensed', sans-serif;
  font-style: italic;
  color: var(--gray);
  font-size: 14px;
  letter-spacing: 0.08em;
  margin-bottom: 24px;
}
.footer-links {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.footer-links a {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--gold); }
.footer-copy { font-size: 12px; color: rgba(136,136,128,0.5); }

/* ── STICKY BAR ── */
.sticky-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: rgba(10,10,10,0.95);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(201,137,26,0.3);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 500;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}
.sticky-bar.visible { transform: translateY(0); }
.sticky-info {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--white);
}
.sticky-info span { color: var(--gold); }
.sticky-cta {
  display: inline-block;
  background: var(--gold);
  color: var(--black);
  font-family: 'Bebas Neue', sans-serif;
  font-size: 18px;
  letter-spacing: 0.1em;
  padding: 10px 32px;
  text-decoration: none;
  clip-path: polygon(6px 0%, 100% 0%, calc(100% - 6px) 100%, 0% 100%);
  transition: background 0.2s;
}
.sticky-cta:hover { background: var(--gold-light); }

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* ── GHOST QUOTE ── */
.ghost-quote {
  text-align: center;
  padding: 56px 20px;
  max-width: 800px;
  margin: 0 auto;
}
.ghost-quote blockquote {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(20px, 3.5vw, 32px);
  font-style: italic;
  line-height: 1.5;
  color: var(--white);
  border-left: none;
  padding: 0;
}
.ghost-quote blockquote::before { content: '\201C'; color: var(--gold); font-size: 1.4em; }
.ghost-quote blockquote::after  { content: '\201D'; color: var(--gold); font-size: 1.4em; }
.ghost-quote cite {
  display: block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  font-style: normal;
  margin-top: 20px;
}

/* ── OFFER CARD (courses) ── */
.offer-card {
  background: var(--dark2);
  border: 1px solid rgba(201,137,26,0.2);
  border-top: 3px solid var(--gold);
  padding: 36px 28px;
  position: relative;
}
.offer-card .price-tag {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 52px;
  color: var(--white);
  line-height: 1;
  margin-bottom: 4px;
}
.offer-card .price-tag sup {
  font-size: 28px;
  vertical-align: super;
  color: var(--gold);
}
.offer-tagline {
  font-family: 'Barlow Condensed', sans-serif;
  font-style: italic;
  font-size: 15px;
  color: var(--gold);
  letter-spacing: 0.05em;
  margin-bottom: 20px;
}
.offer-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 32px;
  letter-spacing: 0.05em;
  color: var(--white);
  margin-bottom: 8px;
}

/* ── FAQ ACCORDION ── */
details.faq-item {
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
details.faq-item summary {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--white);
  padding: 20px 48px 20px 0;
  cursor: pointer;
  list-style: none;
  display: block;
  position: relative;
  transition: color 0.2s;
  line-height: 1.4;
}
details.faq-item summary::-webkit-details-marker { display: none; }
details.faq-item summary::after {
  content: '+';
  font-family: 'Bebas Neue', sans-serif;
  font-size: 28px;
  color: var(--gold);
  position: absolute;
  right: 0;
  top: 18px;
  line-height: 1;
  transition: transform 0.2s;
}
details.faq-item[open] summary::after { content: '\2212'; }
details.faq-item summary:hover { color: var(--gold); }
details.faq-item .faq-answer {
  font-size: 15px;
  line-height: 1.7;
  color: var(--gray);
  padding: 0 0 24px;
  max-width: 720px;
}

/* ── STAT BAR ── */
.stat-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
  border-top: 1px solid rgba(201,137,26,0.15);
  border-bottom: 1px solid rgba(201,137,26,0.15);
  background: var(--dark);
}
.stat-item {
  padding: 28px 32px;
  text-align: center;
  border-right: 1px solid rgba(201,137,26,0.12);
  flex: 1 1 160px;
}
.stat-item:last-child { border-right: none; }
.stat-number {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 52px;
  line-height: 1;
  color: var(--gold);
  letter-spacing: 0.02em;
}
.stat-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gray);
  margin-top: 6px;
}

/* ── RESPONSIVE ── */
@media (min-width: 640px) {
  .nav-links { display: flex; }
  .nav-cta { display: inline-block; }
  .nav-toggle { display: none; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 900px) {
  .section { padding: 80px 20px; }
  .card-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
}

/* ============================================================
   PHASE 2 — VISUAL UPGRADE
   ============================================================ */

/* ── GOLD SHIMMER ON HERO TITLE ── */
@keyframes shimmer {
  0%   { background-position: -400% center; }
  100% { background-position: 400% center; }
}
.hero-title .gold {
  background: linear-gradient(90deg,
    var(--gold-dim) 20%,
    var(--gold-light) 40%,
    #F5C842 50%,
    var(--gold-light) 60%,
    var(--gold-dim) 80%
  );
  background-size: 400% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 5s linear infinite;
  display: block;
}

/* ── CTA PULSE GLOW ── */
@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(201,137,26,0); }
  50%       { box-shadow: 0 0 28px 8px rgba(201,137,26,0.22); }
}
.cta-primary {
  animation: fadeUp 0.6s ease forwards 0.8s, pulse-glow 3s ease-in-out infinite 2s;
}
.cta-primary.no-anim {
  animation: pulse-glow 3s ease-in-out infinite;
}

/* ── TGW LOGO WATERMARK ── */
.section-watermark {
  position: absolute;
  pointer-events: none;
  user-select: none;
  mix-blend-mode: screen;
  opacity: 0.045;
  z-index: 1;
  will-change: transform;
  transform-origin: center center;
}
.hero-watermark {
  width: 80%;
  max-width: 720px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.038;
}
.offers-watermark {
  width: 55%;
  max-width: 560px;
  bottom: -40px;
  right: -60px;
  opacity: 0.032;
}
.about-watermark {
  width: 50%;
  max-width: 500px;
  top: 50%;
  right: -40px;
  transform: translateY(-50%);
  opacity: 0.03;
}

/* Idle float handled by watermark.js via requestAnimationFrame */

/* ── CARD HOVER GLOW ── */
.card {
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}
.card:hover {
  border-left-color: var(--gold);
  box-shadow: 0 0 36px rgba(201,137,26,0.1), inset 0 0 0 1px rgba(201,137,26,0.12);
  transform: translateY(-3px);
}

/* ── SECTION DARK GOLD ACCENT ── */
.section-dark {
  position: relative;
}
.section-dark::before {
  content: '';
  display: block;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, rgba(201,137,26,0.7) 30%, rgba(201,137,26,0.7) 70%, transparent 100%);
}

/* ── EYEBROW RULE LINES ── */
.eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}
.eyebrow::before,
.eyebrow::after {
  content: '';
  display: block;
  height: 1px;
  width: 40px;
  background: var(--gold);
  opacity: 0.6;
  flex-shrink: 0;
}

/* ── HERO VERTICAL ACCENT LINES ── */
.hero-vline-left,
.hero-vline-right {
  position: absolute;
  top: 15%;
  bottom: 15%;
  width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(201,137,26,0.18) 30%, rgba(201,137,26,0.18) 70%, transparent);
  pointer-events: none;
  z-index: 1;
}
.hero-vline-left  { left: 6%; }
.hero-vline-right { right: 6%; }

/* ── ABOUT SECTION PHOTO SPLIT ── */
.about-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
}
.about-photo-wrap {
  position: relative;
  max-width: 420px;
  margin: 0 auto;
}
.about-photo {
  display: block;
  width: 100%;
  filter: grayscale(25%) contrast(1.08);
  transition: filter 0.4s ease;
  position: relative;
  z-index: 1;
}
.about-photo:hover { filter: grayscale(0%) contrast(1); }
.about-photo-frame {
  position: absolute;
  inset: 0;
  border: 2px solid rgba(201,137,26,0.5);
  transform: translate(10px, 10px);
  z-index: 0;
  pointer-events: none;
}
/* Gold top bar on photo */
.about-photo-wrap::before {
  content: '';
  position: absolute;
  top: -3px; left: 0; right: 0;
  height: 3px;
  background: var(--gold);
  z-index: 2;
}

/* ── STAGGER REVEAL DELAYS ── */
.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }
.reveal-d4 { transition-delay: 0.4s; }

/* ── STAT COUNTER ── */
.stat-number {
  transition: color 0.3s ease;
}

/* ── HERO CONTENT Z-INDEX (above watermark) ── */
.hero-content { z-index: 3; }

@media (min-width: 780px) {
  .about-split { grid-template-columns: 1fr 1fr; }
  .about-photo-wrap { margin: 0; max-width: none; }
  .hero-vline-left,
  .hero-vline-right { display: block; }
}
@media (max-width: 779px) {
  .hero-vline-left,
  .hero-vline-right { display: none; }
}
