/* ============================================================
   SETTING THE STANDARD — Homepage v2
   Simplified, production-ready homepage styles.
   Builds on top of style.css — new components only.
   ============================================================ */

/* ── Shared buttons ── */
.v2-btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase;
  text-decoration: none; padding: 13px 24px;
  transition: all 0.2s; white-space: nowrap;
}
.v2-btn--primary {
  background: linear-gradient(135deg, #7A5F10, var(--gold), #8A6B18);
  color: #fff; border: 1px solid transparent;
}
.v2-btn--primary:hover { opacity: 0.88; }
.v2-btn--ghost {
  background: transparent; color: var(--text);
  border: 1px solid var(--line2);
}
.v2-btn--ghost:hover { border-color: rgba(196,152,64,0.5); color: var(--gold2); }

/* ============================================================
   HERO v2
   Full-width, image background, content centred in lower third
   ============================================================ */
.v2-hero {
  margin-top: var(--nav-h);
  position: relative;
  min-height: calc(100vh - var(--nav-h));
  display: flex; flex-direction: column;
  justify-content: flex-end;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

/* Background image panel */
.v2-hero__bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    linear-gradient(to top,
      rgba(5,5,5,1.00) 0%,
      rgba(5,5,5,0.82) 30%,
      rgba(5,5,5,0.45) 55%,
      rgba(5,5,5,0.12) 78%,
      rgba(5,5,5,0.04) 100%
    ),
    linear-gradient(135deg, rgba(196,152,64,0.10) 0%, transparent 55%),
    url('../images/3c7a81-1504-edff-73db-d6d42516817_pete_5_row_stacked_small.png')
      center 35% / cover no-repeat;
}

/* Content block */
.v2-hero__content {
  position: relative; z-index: 2;
  padding: 0 52px 52px;
  max-width: 820px;
}
.v2-hero__eyebrow { margin-bottom: 22px; }
.v2-hero__title {
  font-size: clamp(42px, 6vw, 80px);
  font-weight: 700; line-height: 1.02; letter-spacing: -2px;
  color: var(--text); margin-bottom: 20px;
}
.v2-hero__sub {
  font-size: 17px; font-weight: 300;
  color: rgba(237,234,227,0.62);
  max-width: 540px; line-height: 1.75;
  margin-bottom: 36px;
}
.v2-hero__actions {
  display: flex; flex-wrap: wrap; gap: 12px;
}

/* Stats bar */
.v2-hero__stats {
  position: relative; z-index: 2;
  display: flex; align-items: center;
  border-top: 1px solid var(--line);
  background: rgba(5,5,5,0.75);
  backdrop-filter: blur(8px);
}
.v2-stat {
  flex: 1; padding: 20px 28px;
  text-align: left;
}
.v2-stat__div {
  width: 1px; height: 40px;
  background: var(--line); flex-shrink: 0;
}
.v2-stat__n {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 22px; font-weight: 700; letter-spacing: -0.5px;
  color: var(--text);
}
.v2-stat__l {
  font-size: 10px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--dimmer); margin-top: 3px;
}

/* ============================================================
   PILLARS
   Three-column strip — the three things STS is
   ============================================================ */
.v2-pillars {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--line);
}
.v2-pillar {
  display: flex; align-items: flex-start; gap: 18px;
  padding: 40px 32px;
  border-right: 1px solid var(--line);
  text-decoration: none; color: inherit;
  transition: background 0.18s; position: relative;
}
.v2-pillar:last-child { border-right: none; }
.v2-pillar::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(to right, var(--gold), transparent);
  opacity: 0; transition: opacity 0.25s;
}
.v2-pillar:hover { background: var(--s1); }
.v2-pillar:hover::before { opacity: 1; }
.v2-pillar__num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11px; font-weight: 700; color: var(--dimmer);
  flex-shrink: 0; padding-top: 3px; min-width: 22px;
}
.v2-pillar__body { flex: 1; }
.v2-pillar__body h3 {
  font-size: 15px; font-weight: 600; margin-bottom: 8px;
}
.v2-pillar__body p {
  font-size: 13px; line-height: 1.65;
}
.v2-pillar__arrow {
  font-size: 16px; color: var(--dimmer);
  flex-shrink: 0; padding-top: 2px;
  transition: color 0.2s, transform 0.2s;
}
.v2-pillar:hover .v2-pillar__arrow {
  color: var(--gold); transform: translate(3px, 0);
}

/* ============================================================
   ACADEMY CTA SECTION
   ============================================================ */
.v2-academy {
  border-bottom: 1px solid var(--line);
  background: var(--s1); position: relative; overflow: hidden;
}
.v2-academy::before {
  content: '';
  position: absolute; top: -80px; right: -80px;
  width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(196,152,64,0.09) 0%, transparent 65%);
  pointer-events: none;
}
.v2-academy__inner {
  display: grid; grid-template-columns: 1fr 340px;
  position: relative;
}
.v2-academy__left {
  padding: 60px 52px;
  border-right: 1px solid var(--line);
}
.v2-academy__title {
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 700; line-height: 1.1; letter-spacing: -0.8px;
  margin-bottom: 16px;
}
.v2-academy__sub {
  font-size: 15px; line-height: 1.8;
  max-width: 520px; margin-bottom: 32px;
}
.v2-academy__links { display: flex; flex-wrap: wrap; gap: 12px; }

/* Courses list */
.v2-academy__courses {
  display: flex; flex-direction: column;
}
.v2-course {
  display: flex; flex-direction: column; justify-content: center;
  padding: 24px 28px;
  border-bottom: 1px solid var(--line);
  position: relative;
  transition: background 0.15s;
}
.v2-course:last-child { border-bottom: none; }
.v2-course:hover { background: var(--s2); }
.v2-course::before {
  content: '';
  position: absolute; left: 0; top: 0; bottom: 0; width: 2px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  opacity: 0; transition: opacity 0.2s;
}
.v2-course:hover::before { opacity: 1; }
.v2-course__name { font-size: 14px; font-weight: 600; margin-bottom: 3px; }
.v2-course__sub { font-size: 12px; color: var(--dimmer); margin-bottom: 10px; }
.v2-course__link {
  font-size: 12px; color: var(--gold);
  text-decoration: none; font-weight: 500;
  transition: color 0.15s;
}
.v2-course__link:hover { color: var(--gold2); }

/* ============================================================
   NEWSLETTER
   ============================================================ */
.v2-newsletter {
  border-bottom: 1px solid var(--line);
  background: var(--ink); position: relative; overflow: hidden;
}
.v2-newsletter::before {
  content: '';
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 60% 80% at 50% 100%, rgba(196,152,64,0.07) 0%, transparent 60%);
}
.v2-newsletter__inner {
  position: relative;
  max-width: 600px; margin: 0 auto;
  padding: 80px 28px;
  text-align: center;
}
.v2-newsletter__title {
  font-size: clamp(28px, 3.5vw, 46px);
  font-weight: 700; letter-spacing: -1px;
  margin-bottom: 14px;
}
.v2-newsletter__sub {
  font-size: 15px; line-height: 1.75;
  margin-bottom: 36px;
}
.v2-nl-form {
  display: flex; gap: 0;
  max-width: 440px; margin: 0 auto;
}
.v2-nl-form input {
  flex: 1;
  background: var(--s3); border: 1px solid var(--line2);
  border-right: none;
  color: var(--text); font-family: inherit; font-size: 14px;
  padding: 14px 18px; outline: none;
  transition: border-color 0.15s;
}
.v2-nl-form input:focus { border-color: var(--gold); }
.v2-nl-form input::placeholder { color: var(--dimmer); }
.v2-nl-form button {
  background: linear-gradient(135deg, #7A5F10, var(--gold), #8A6B18);
  color: #fff; font-family: 'Space Grotesk', sans-serif;
  font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  border: none; padding: 14px 24px; cursor: pointer;
  white-space: nowrap; transition: opacity 0.2s;
}
.v2-nl-form button:hover { opacity: 0.85; }

/* ============================================================
   RESPONSIVE — v2 overrides
   ============================================================ */
@media (max-width: 1024px) {
  .v2-academy__inner { grid-template-columns: 1fr; }
  .v2-academy__left { border-right: none; border-bottom: 1px solid var(--line); }
  .v2-academy__courses { flex-direction: row; flex-wrap: wrap; }
  .v2-course { flex: 1; min-width: 200px; border-bottom: none; border-right: 1px solid var(--line); }
  .v2-course:last-child { border-right: none; }
}

@media (max-width: 768px) {
  .v2-hero__content { padding: 0 20px 40px; }
  .v2-hero__title { letter-spacing: -1px; }
  .v2-hero__actions { flex-direction: column; align-items: flex-start; }
  .v2-hero__stats { flex-wrap: wrap; }
  .v2-stat { min-width: 50%; }
  .v2-stat__div { display: none; }
  .v2-pillars { grid-template-columns: 1fr; }
  .v2-pillar { border-right: none; border-bottom: 1px solid var(--line); }
  .v2-pillar:last-child { border-bottom: none; }
  .v2-academy__left { padding: 40px 20px; }
  .v2-academy__courses { flex-direction: column; }
  .v2-course { border-right: none; border-bottom: 1px solid var(--line); }
  .v2-newsletter__inner { padding: 56px 20px; }
  .v2-nl-form { flex-direction: column; }
  .v2-nl-form input { border-right: 1px solid var(--line2); border-bottom: none; }
  .v2-nl-form button { padding: 14px; }
}
