/* ============================================================
   APPROACH — Page-Specific Styles
   Premium editorial. Advisory methodology page.
   v8 — bg-position offset to prevent header covering Chris's head,
        reviews-promo panels added (replaces CTA section)
   ============================================================ */

/* --- HEADER OVERRIDE: solid black on this light-bg page --- */
.site-header {
  background: #000 !important;
}

/* --- HERO ENTRANCE ANIMATION (CSS — reliable, no JS timing dependency) --- */
@keyframes heroEnter {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* --- HERO BASE --- */
.ap-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.ap-hero-bg {
  position: absolute;
  inset: 0;
}
.ap-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}
.ap-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.35) 0%,
    rgba(0,0,0,0.25) 25%,
    rgba(0,0,0,0.65) 65%,
    rgba(0,0,0,0.97) 100%
  );
}
.ap-hero-content {
  position: relative;
  z-index: 2;
  padding-bottom: clamp(64px, 9vw, 130px);
  width: 100%;
}
.ap-hero-label {
  font-size: clamp(20px, 2vw, 28px);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  font-family: var(--font-body);
  font-weight: 700;
  margin-bottom: 28px;
}
.ap-hero-headline {
  font-family: var(--font-heading);
  font-size: clamp(40px, 6.5vw, 88px);
  font-weight: 300;
  line-height: 1.0;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--white);
  max-width: 820px;
  margin-bottom: 32px;
}
.ap-hero-headline em {
  font-style: normal;
  color: var(--accent);
}
.ap-hero-sub {
  font-family: var(--font-body);
  font-size: clamp(17px, 1.8vw, 21px);
  color: rgba(255,255,255,0.72);
  line-height: 1.65;
  max-width: 580px;
}

/* --- HERO PHOTO VARIANT (white bg, Chris full-body photo, script overlay) --- */
.ap-hero--photo {
  background: #fff url('../images/approach-header-1.jpg') center 80px / cover no-repeat;
  align-items: flex-end;
}
.ap-hero--photo .ap-hero-bg,
.ap-hero--photo .ap-hero-overlay {
  display: none;
}
.ap-hero--photo .ap-hero-content {
  text-align: center;
  padding-bottom: clamp(60px, 8vw, 110px);
  animation: heroEnter 1s ease 0.3s both;
}
.ap-hero--photo .ap-hero-script {
  width: clamp(320px, 60vw, 920px);
  margin: 0 auto;
  display: block;
  opacity: 0.95;
}

/* --- SCROLL ARROW — lower right of hero --- */
.scroll-indicator {
  position: absolute;
  bottom: clamp(28px, 4vw, 48px);
  right: clamp(28px, 5vw, 72px);
  left: auto;
  transform: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  z-index: 3;
  opacity: 0.45;
  transition: opacity 0.3s;
}
.scroll-indicator:hover {
  opacity: 0.75;
}
.scroll-arrow {
  display: block;
}

/* --- NAV SOCIAL LINKS — 14px floor --- */
.nav-social a {
  font-size: 14px;
}

/* --- ACCESSIBILITY --- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* --- SECTIONS --- */
.ap-section {
  padding: clamp(72px, 9vw, 130px) 0;
}
.ap-section--dark  { background: #0a0a0a; }
.ap-section--mid   { background: #111111; }
.ap-section--alt   { background: #161616; }
.ap-section--light { background: #f5f2ec; }
.ap-section--black { background: #000; }

/* Reduced padding for sections that flow directly into adjacent sections */
.ap-section--flush-bottom {
  padding-bottom: clamp(32px, 4vw, 48px);
}
.ap-section--flush-top {
  padding-top: clamp(32px, 4vw, 48px);
}

/* --- SECTION LABEL OVERRIDE: minimum clamp(20px,2vw,28px) --- */
.ap-section .section-label,
.ap-cta-section .section-label {
  font-size: clamp(20px, 2vw, 28px);
  letter-spacing: 0.2em;
  font-weight: 700;
}

/* --- NARROW COLUMN --- */
.ap-narrow {
  max-width: 760px;
  margin: 0 auto;
}
.ap-narrow--wide {
  max-width: 900px;
  margin: 0 auto;
}

/* --- TYPOGRAPHY --- */
.ap-body-lead {
  font-size: clamp(19px, 2vw, 22px);
  line-height: 1.8;
  color: rgba(255,255,255,0.88);
  margin-bottom: 28px;
  font-weight: 400;
}
.ap-body {
  font-size: clamp(18px, 1.8vw, 20px);
  line-height: 1.8;
  color: rgba(255,255,255,0.82);
  margin-bottom: 24px;
}
.ap-body strong {
  color: var(--white);
  font-weight: 600;
}
.ap-section-heading {
  font-family: var(--font-heading);
  font-size: clamp(28px, 3.8vw, 52px);
  font-weight: 300;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 40px;
}
.ap-section-heading em {
  font-style: normal;
  color: var(--accent);
}
.ap-accent-text {
  font-family: var(--font-heading);
  font-size: clamp(20px, 2.4vw, 30px);
  font-weight: 200;
  color: var(--accent);
  letter-spacing: 0.04em;
  line-height: 1.35;
  margin-bottom: 32px;
}

/* --- INTRO SECTION: two-col --- */
.ap-intro-inner {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: clamp(56px, 7vw, 110px);
  align-items: start;
}
.ap-intro-pullquote {
  font-family: var(--font-heading);
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 200;
  line-height: 1.4;
  color: var(--accent);
  letter-spacing: 0.02em;
  padding-left: 28px;
  border-left: 3px solid var(--accent);
  position: relative;
  will-change: transform;
}

/* --- FOUR PILLARS --- */
.ap-pillars-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto clamp(56px, 7vw, 88px);
}
.ap-pillars-header .ap-body {
  color: rgba(255,255,255,0.7);
}
.ap-pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(12px, 1.5vw, 20px);
}
.ap-pillar {
  background: #111;
  padding: clamp(36px, 4vw, 56px) clamp(28px, 3vw, 40px);
  position: relative;
  overflow: hidden;
  cursor: default;
  transition: background 0.35s ease;
  display: flex;
  flex-direction: column;
}
.ap-pillar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.ap-pillar:hover {
  background: #161616;
}
.ap-pillar:hover::before {
  transform: scaleX(1);
}
.ap-pillar-number {
  font-family: var(--font-heading);
  font-size: clamp(48px, 5vw, 72px);
  font-weight: 100;
  color: rgba(212,168,83,0.28);
  line-height: 1;
  margin-bottom: 20px;
  letter-spacing: 0.05em;
  transition: color 0.35s ease;
}
.ap-pillar:hover .ap-pillar-number {
  color: rgba(212,168,83,0.38);
}
.ap-pillar-title {
  font-family: var(--font-heading);
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}
.ap-pillar-body {
  font-size: clamp(16px, 1.6vw, 18px);
  line-height: 1.8;
  color: rgba(255,255,255,0.78);
  flex: 1;
}

/* --- HOW IT WORKS — single text column --- */
.ap-how-inner {
  max-width: 760px;
}

/* --- REVIEWS PROMO HEADLINE --- */
.reviews-promo-headline {
  text-align: center;
  padding-bottom: clamp(36px, 4vw, 56px);
}
.reviews-promo-heading {
  font-family: var(--font-heading);
  font-size: clamp(26px, 3.2vw, 44px);
  font-weight: 300;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1.1;
}

/* --- REVIEWS PROMO PANELS (Club 28 + Next Level) --- */
.reviews-promo {
  background: linear-gradient(180deg, #0d0a06 0%, #0a0a0a 100%);
  border-top: 1px solid rgba(212,175,55,0.12);
  padding: clamp(64px, 7vw, 100px) 0 clamp(64px, 7vw, 100px);
}
.reviews-promo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 40px);
}
.reviews-promo-panel {
  padding: clamp(28px, 2.5vw, 40px) clamp(28px, 3vw, 44px) clamp(24px, 2.5vw, 36px);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: #181410;
  border: 1px solid rgba(212,175,55,0.35);
  border-top: 3px solid var(--accent);
  border-radius: 0 0 4px 4px;
  box-shadow: 0 8px 60px rgba(0,0,0,0.7), 0 0 40px rgba(212,175,55,0.08);
}
.reviews-promo-label {
  font-size: clamp(22px, 2.8vw, 32px);
  font-family: var(--font-heading);
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 4px;
}
.reviews-promo-text {
  font-size: clamp(14px, 1.3vw, 16px);
  line-height: 1.7;
  color: rgba(255,255,255,0.68);
  max-width: 520px;
  flex: 1;
}
.reviews-promo-btn {
  display: inline-block;
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
  padding: 17px 40px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.3s ease, transform 0.3s ease;
  align-self: flex-start;
  margin-top: 4px;
}
.reviews-promo-btn:hover {
  background: rgba(212,168,83,0.1);
  transform: translateY(-2px);
}
.reviews-promo-btn--ghost {
  background: transparent;
}

/* --- OPT-IN OVERRIDES (14px floor, btn color, fine print) --- */
.optin-section .optin-label {
  font-size: 14px;
}
.optin-section .optin-btn {
  font-size: 15px;
  color: #000;
}
.optin-section .optin-fine-print {
  font-size: 14px;
}

/* --- DIVIDER LINE --- */
.ap-divider {
  height: 1px;
  background: rgba(255,255,255,0.07);
  margin: 0;
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal-left {
  opacity: 0;
  transform: translateX(-36px);
  transition: opacity 0.85s ease, transform 0.85s ease;
}
.reveal-right {
  opacity: 0;
  transform: translateX(36px);
  transition: opacity 0.85s ease, transform 0.85s ease;
}
.reveal.visible,
.reveal-left.visible,
.reveal-right.visible {
  opacity: 1;
  transform: translate(0);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1280px) {
  .ap-pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1024px) {
  .ap-intro-inner {
    grid-template-columns: 1fr;
    gap: 44px;
  }
  .ap-intro-pullquote {
    position: relative;
    top: 0;
  }
  .reviews-promo-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .ap-pillars-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1px;
  }
  .ap-pillar {
    padding: 32px 24px;
  }
  .ap-hero {
    min-height: 85vh;
  }
  .scroll-indicator {
    right: 20px;
    bottom: 24px;
  }
  .reviews-promo-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .ap-pillars-grid {
    grid-template-columns: 1fr;
    gap: 1px;
  }
  .ap-hero-headline {
    font-size: clamp(34px, 10vw, 52px);
  }
  .ap-hero--photo .ap-hero-script {
    width: clamp(260px, 90vw, 500px);
  }
  /* Override global 13px section-label breakpoint */
  .ap-section .section-label,
  .ap-cta-section .section-label {
    font-size: clamp(20px, 5vw, 26px) !important;
  }
}

@media (max-width: 375px) {
  .ap-hero {
    min-height: 80vh;
  }
  .ap-body-lead { font-size: 17px; }
  .ap-body { font-size: 17px; }
}
