/* ═══════════════════════════════════════════════════
   High5 Leadership — Shared Stylesheet
   ═══════════════════════════════════════════════════ */

/* ─── RESET & VARIABLES ─── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --amber: #E8922A;
  --amber-soft: #F4A94D;
  --amber-glow: rgba(232,146,42,0.1);
  --teal: #1FA396;
  --teal-deep: #17776D;
  --teal-light: #E6F5F3;
  --slate-900: #0F1C23;
  --slate-800: #1A2E38;
  --slate-700: #2A4250;
  --slate-400: #7A929E;
  --slate-300: #A3B5BF;
  --slate-100: #E8EEF1;
  --warm-50: #FEFCF9;
  --warm-100: #FBF6EF;
  --font-display: 'Instrument Serif', Georgia, serif;
  --font-body: 'Outfit', -apple-system, sans-serif;
}

html { scroll-behavior: smooth; font-size: 137.5%; }
body {
  font-family: var(--font-body);
  color: var(--slate-900);
  background: var(--warm-50);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }

/* ─── NAV ─── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 1.2rem max(2.5rem, calc((100% - 1200px) / 2));
  display: flex; align-items: center; justify-content: space-between;
  transition: all 0.4s;
}
.nav.scrolled {
  background: rgba(254,252,249,0.92);
  backdrop-filter: blur(24px);
  box-shadow: 0 1px 0 rgba(0,0,0,0.05);
  padding: 0.85rem max(2.5rem, calc((100% - 1200px) / 2));
}
.nav-logo {
  text-decoration: none; display: flex; align-items: center;
}
.nav-logo img {
  height: 79px; width: auto;
}

.nav-links {
  display: flex; gap: 2rem; list-style: none; align-items: center;
}
.nav-links a {
  text-decoration: none; font-size: 0.82rem; font-weight: 500;
  letter-spacing: 0.05em; text-transform: uppercase;
  color: rgba(255,255,255,0.75); transition: color 0.3s;
}
.nav.scrolled .nav-links a { color: var(--slate-400); }
.nav.scrolled .nav-links a:hover { color: var(--slate-900); }
.nav-links a:hover { color: white; }

.nav-cta {
  background: var(--amber) !important; color: white !important;
  padding: 0.55rem 1.4rem; border-radius: 8px;
  font-weight: 600 !important; transition: all 0.3s !important;
}
.nav-cta:hover { background: var(--amber-soft) !important; transform: translateY(-1px); }

/* Mobile hamburger */
.nav-toggle {
  display: none; background: none; border: none; cursor: pointer;
  width: 32px; height: 24px; position: relative; z-index: 101;
}
.nav-toggle span {
  display: block; width: 100%; height: 2px;
  background: white; border-radius: 2px;
  position: absolute; left: 0; transition: all 0.3s;
}
.nav.scrolled .nav-toggle span { background: var(--slate-900); }
.nav-toggle span:nth-child(1) { top: 2px; }
.nav-toggle span:nth-child(2) { top: 11px; }
.nav-toggle span:nth-child(3) { top: 20px; }
.nav-toggle.active span:nth-child(1) { top: 11px; transform: rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { top: 11px; transform: rotate(-45deg); }

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.9rem 1.8rem; border-radius: 10px;
  font-family: var(--font-body); font-size: 0.95rem; font-weight: 600;
  text-decoration: none; cursor: pointer; transition: all 0.3s; border: none;
}
.btn-amber { background: var(--amber); color: white; }
.btn-amber:hover {
  background: var(--amber-soft); transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(232,146,42,0.3);
}
.btn-ghost {
  background: rgba(255,255,255,0.06); color: rgba(255,255,255,0.8);
  border: 1px solid rgba(255,255,255,0.12);
}
.btn-ghost:hover { background: rgba(255,255,255,0.1); color: white; }
.btn-dark { background: var(--slate-900); color: white; }
.btn-dark:hover { background: var(--slate-800); transform: translateY(-2px); }
.btn-outline {
  background: transparent; color: var(--slate-900);
  border: 1.5px solid var(--slate-100);
}
.btn-outline:hover { border-color: var(--slate-900); }

/* ─── SECTION LABEL ─── */
.section-label {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--teal); margin-bottom: 1.25rem;
}
.section-label::before, .section-label::after {
  content: ''; width: 20px; height: 1px; background: var(--teal); opacity: 0.4;
}

/* ─── HERO (shared base for subpages) ─── */
.hero {
  position: relative; overflow: hidden;
  display: flex; align-items: center;
  background: linear-gradient(165deg, var(--slate-900) 0%, var(--slate-800) 50%, var(--slate-700) 100%);
}
.hero-noise {
  position: absolute; inset: 0; opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero-accent {
  position: absolute; right: -10%; top: 10%;
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(232,146,42,0.08), transparent 70%);
}
.hero-accent-2 {
  position: absolute; left: -5%; bottom: 5%;
  width: 400px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, rgba(31,163,150,0.06), transparent 70%);
}
.hero-inner {
  position: relative; z-index: 2;
  padding: 7rem max(3rem, calc((100% - 1200px) / 2)) 3rem;
}
.hero h1 {
  font-family: var(--font-display); font-size: clamp(2.4rem, 4.5vw, 3.4rem);
  color: white; line-height: 1.08;
  animation: fadeUp 0.8s ease-out 0.1s both;
}
.hero h1 em { font-style: italic; color: var(--amber-soft); }

.hero-breadcrumb {
  display: flex; align-items: center; gap: 0.5rem;
  margin-top: 1rem; animation: fadeUp 0.8s ease-out;
}
.hero-breadcrumb a {
  font-size: 0.78rem; color: var(--slate-400);
  text-decoration: none; transition: color 0.3s;
}
.hero-breadcrumb a:hover { color: white; }
.hero-breadcrumb span { font-size: 0.78rem; color: var(--slate-400); }
.hero-breadcrumb .current { color: var(--slate-300); }

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--amber-soft); margin-bottom: 1.25rem;
  animation: fadeUp 0.8s ease-out 0.05s both;
}

.hero-sub {
  font-size: 1.1rem; color: var(--slate-300); line-height: 1.75;
  font-weight: 300; margin-bottom: 2rem; max-width: 560px;
  animation: fadeUp 0.8s ease-out 0.2s both;
}
.hero-actions {
  animation: fadeUp 0.8s ease-out 0.3s both;
}

/* ─── TESTIMONIALS ─── */
.testimonials {
  padding: 6rem 3rem; background: var(--warm-100);
}
.testimonials-inner { max-width: 1200px; margin: 0 auto; }
.testimonials-header {
  margin-bottom: 3rem; text-align: center;
}
.testimonials-header h2 {
  font-family: var(--font-display); font-size: 2.4rem;
}
.test-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 1fr; gap: 1.5rem;
}
.test-card {
  background: white; border-radius: 14px; padding: 2rem;
  border: 1px solid var(--slate-100); display: flex;
  flex-direction: column;
  min-height: 260px;
  transition: all 0.3s;
}
.test-card:hover { transform: translateY(-3px); box-shadow: 0 8px 30px rgba(0,0,0,0.05); }
.test-stars { color: var(--amber); font-size: 0.85rem; margin-bottom: 1rem; letter-spacing: 2px; }
.test-quote {
  font-size: 0.95rem; line-height: 1.7; color: var(--slate-700);
  font-weight: 300; flex: 1; margin-bottom: 1.5rem;
}
.test-author { display: flex; align-items: center; gap: 0.75rem; margin-top: auto; }
.test-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--teal-deep));
  display: flex; align-items: center; justify-content: center;
  color: white; font-weight: 600; font-size: 0.8rem;
}
.test-name { font-weight: 600; font-size: 0.88rem; }
.test-role { font-size: 0.78rem; color: var(--slate-400); }

/* ─── CTA SECTION ─── */
.cta-section {
  padding: 6rem 3rem;
  background: var(--slate-900);
  position: relative; overflow: hidden;
}
.cta-section::before {
  content: ''; position: absolute; top: -100px; right: -100px;
  width: 400px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, rgba(232,146,42,0.06), transparent 70%);
}
.cta-inner {
  max-width: 1200px; margin: 0 auto; text-align: center;
  position: relative; z-index: 2;
}
.cta-section h2 {
  font-family: var(--font-display); font-size: 2.6rem;
  color: white; margin-bottom: 1rem; line-height: 1.15;
}
.cta-section h2 em { font-style: italic; color: var(--amber-soft); }
.cta-section p {
  font-size: 1.1rem; color: var(--slate-300);
  font-weight: 300; line-height: 1.7; margin-bottom: 2.5rem;
}
.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ─── NEXT STEP BAND (dark variant) ─── */
.nextstep-section {
  padding: 5rem 3rem; background: var(--slate-900);
  position: relative; overflow: hidden;
}
.nextstep-section::before {
  content: ''; position: absolute; top: -80px; right: -80px;
  width: 400px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, rgba(232,146,42,0.05), transparent 70%);
}
.nextstep-section.light {
  background: var(--warm-100);
}
.nextstep-section.light::before { display: none; }
.nextstep-inner {
  max-width: 1200px; margin: 0 auto; position: relative; z-index: 2;
  display: grid; grid-template-columns: 1fr 1fr; gap: 2rem;
}
.nextstep-card {
  border-radius: 14px; padding: 2rem;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);
  transition: all 0.3s;
}
.nextstep-section.light .nextstep-card {
  background: white; border-color: var(--slate-100);
}
.nextstep-card:hover { transform: translateY(-3px); box-shadow: 0 8px 30px rgba(0,0,0,0.05); }
.nextstep-card h3 {
  font-family: var(--font-display); font-size: 1.3rem;
  color: white; margin-bottom: 0.75rem;
}
.nextstep-section.light .nextstep-card h3 { color: var(--slate-900); }
.nextstep-card p {
  font-size: 0.9rem; color: var(--slate-300); line-height: 1.6; font-weight: 300;
  margin-bottom: 1.25rem;
}
.nextstep-section.light .nextstep-card p { color: var(--slate-400); }
.nextstep-link {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.88rem; font-weight: 600; color: var(--amber-soft);
  text-decoration: none; transition: gap 0.3s;
}
.nextstep-link:hover { gap: 0.7rem; }
.nextstep-link svg { width: 16px; height: 16px; }
.nextstep-section.light .nextstep-link { color: var(--amber); }

/* ─── PRINCIPLES CAROUSEL ─── */
.principles-band {
  background: var(--slate-900); padding: 3rem 0; overflow: hidden;
}
.principles-band-label {
  text-align: center;
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--slate-400);
  margin-bottom: 1.5rem;
}
.principles-carousel {
  position: relative; max-width: 520px; margin: 0 auto; padding: 0 3.5rem;
}
.principles-track {
  position: relative; min-height: 100px;
}
.principle-card {
  display: none;
  padding: 2rem; border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);
  animation: cardFade 0.35s ease;
}
.principle-card.active { display: block; }
@keyframes cardFade {
  from { opacity: 0; transform: translateX(20px); }
  to { opacity: 1; transform: translateX(0); }
}
.principle-card h4 {
  font-size: 1.05rem; font-weight: 600; color: white;
  margin-bottom: 0.5rem;
}
.principle-card p {
  font-size: 0.88rem; color: var(--slate-300);
  line-height: 1.6; font-weight: 300;
}
.principle-card .card-num {
  font-family: var(--font-display); font-size: 0.8rem;
  color: var(--amber-soft); margin-bottom: 0.75rem;
  letter-spacing: 0.05em;
}
.carousel-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.06);
  color: white; font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all 0.3s;
  backdrop-filter: blur(8px); z-index: 3;
}
.carousel-btn:hover {
  background: var(--amber); border-color: var(--amber);
}
.carousel-btn.prev { left: 0; }
.carousel-btn.next { right: 0; }
.carousel-dots {
  display: flex; justify-content: center; gap: 0.4rem;
  margin-top: 1.25rem;
}
.carousel-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: rgba(255,255,255,0.15);
  border: none; cursor: pointer; padding: 0;
  transition: all 0.3s;
}
.carousel-dot.active {
  background: var(--amber); width: 20px; border-radius: 4px;
}

/* ─── WHO CARDS (shared by coaching + intensive) ─── */
.who-section { padding: 6rem 3rem; }
.who-section.alt { background: var(--warm-100); }
.who-inner { max-width: 1200px; margin: 0 auto; }
.who-header {
  text-align: center; margin-bottom: 3.5rem;
  max-width: 1200px; margin-left: auto; margin-right: auto;
}
.who-header h2 {
  font-family: var(--font-display); font-size: 2.4rem;
  line-height: 1.15; margin-bottom: 1rem;
}
.who-header h2 em { font-style: italic; color: var(--amber); }
.who-header .section-label { display: block; }
.who-cards {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
}
.who-card {
  background: white; border-radius: 14px; padding: 2rem;
  border: 1px solid var(--slate-100); transition: all 0.3s;
}
.who-card:hover { border-color: var(--amber); transform: translateY(-3px); box-shadow: 0 4px 20px rgba(232,146,42,0.08); }
.who-icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: var(--amber-glow); display: flex;
  align-items: center; justify-content: center; margin-bottom: 1.25rem;
}
.who-icon svg { width: 22px; height: 22px; stroke: var(--amber); fill: none; stroke-width: 1.5; }
.who-card h3 { font-size: 1.05rem; font-weight: 600; margin-bottom: 0.5rem; }
.who-card p { font-size: 0.9rem; color: var(--slate-400); line-height: 1.6; font-weight: 300; }
.who-footer {
  margin-top: 2.5rem; max-width: 1200px; margin-left: auto; margin-right: auto;
  text-align: center;
}
.who-footer p {
  font-size: 1rem; color: var(--slate-400); line-height: 1.7; font-weight: 300;
}
.who-footer a {
  color: var(--amber); text-decoration: none; font-weight: 500;
  border-bottom: 1px solid rgba(232,146,42,0.3); transition: border-color 0.3s;
}
.who-footer a:hover { border-color: var(--amber); }

/* ─── TEXT SECTIONS (coaching, workshops) ─── */
.text-section { padding: 6rem 3rem; }
.text-section.alt { background: var(--warm-100); }
.text-inner { max-width: 1200px; margin: 0 auto; }
.text-inner .section-label { display: block; text-align: center; }
.text-inner h2 {
  font-family: var(--font-display); font-size: 2.4rem;
  line-height: 1.15; margin-bottom: 1.5rem; text-align: center;
}
.text-inner h2 em { font-style: italic; color: var(--amber); }
.text-inner p {
  font-size: 1.05rem; color: var(--slate-400); line-height: 1.8;
  font-weight: 300; margin-bottom: 1.25rem;
}

/* ─── PROCESS STEPS (coaching) ─── */
.process-section { padding: 6rem 3rem; background: var(--warm-50); }
.process-inner { max-width: 1200px; margin: 0 auto; }
.process-inner .section-label { display: block; text-align: center; }
.process-inner h2 {
  font-family: var(--font-display); font-size: 2.4rem;
  line-height: 1.15; margin-bottom: 3rem; text-align: center;
}
.process-inner h2 em { font-style: italic; color: var(--amber); }
.process-steps { display: flex; flex-direction: column; gap: 2rem; }
.process-step { display: flex; gap: 1.25rem; align-items: flex-start; }
.step-num {
  font-family: var(--font-display); font-size: 1.8rem;
  color: var(--amber); min-width: 36px; line-height: 1.2;
}
.step-content h3 { font-size: 1.05rem; font-weight: 600; margin-bottom: 0.35rem; }
.step-content p {
  font-size: 0.95rem; color: var(--slate-400); line-height: 1.7; font-weight: 300;
}

/* ─── FOOTER ─── */
.footer {
  padding: 3rem 3rem 2rem;
  background: var(--slate-900);
  border-top: 1px solid rgba(255,255,255,0.05);
}
.footer-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 1.5rem;
}
.footer-logo {
  text-decoration: none; display: flex; align-items: center;
}
.footer-logo img {
  height: 65px; width: auto;
}
.footer-links { display: flex; gap: 2rem; }
.footer-links a {
  font-size: 0.82rem; color: var(--slate-400);
  text-decoration: none; transition: color 0.3s;
}
.footer-links a:hover { color: white; }
.footer-copy { font-size: 0.78rem; color: var(--slate-400); font-weight: 300; }
.footer-socials { display: flex; gap: 0.6rem; }
.footer-socials a {
  width: 34px; height: 34px; border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  color: var(--slate-400); text-decoration: none; font-size: 0.75rem;
  transition: all 0.3s;
}
.footer-socials a:hover {
  background: rgba(255,255,255,0.06); color: white;
  border-color: rgba(255,255,255,0.15);
}

/* ─── ANIMATIONS ─── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
  0%, 100% { opacity: 1; } 50% { opacity: 0.4; }
}

/* Scroll reveals — progressive enhancement */
.reveal.will-animate {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ─── RESPONSIVE ─── */
@media (max-width: 960px) {
  html { font-size: 100%; }

  .nav { padding: 0.9rem 1.25rem; }
  .nav.scrolled { padding: 0.7rem 1.25rem; }
  .nav-logo img { height: 52px; }
  .nav-links {
    display: none; flex-direction: column; gap: 0;
    position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: var(--slate-900); padding: 5rem 2rem 2rem;
    align-items: flex-start; justify-content: flex-start;
  }
  .nav-links.open { display: flex; }
  .nav:has(.nav-links.open) {
    background: var(--slate-900) !important;
    backdrop-filter: none !important;
  }
  .nav-links li { width: 100%; }
  .nav-links a {
    display: block; padding: 1rem 0; font-size: 1rem;
    color: rgba(255,255,255,0.75) !important;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }
  .nav-links a:hover { color: white !important; }
  .nav-links .nav-cta {
    margin-top: 1rem; text-align: center;
    border-bottom: none;
  }
  .nav-toggle { display: flex; flex-direction: column; justify-content: space-between; }

  .hero-inner { padding: 5.5rem 1.5rem 2.5rem; }
  .hero h1 { font-size: 2rem; }
  .hero-sub { font-size: 1rem; margin-bottom: 1.75rem; }
  .hero-eyebrow { font-size: 0.72rem; margin-bottom: 1rem; }

  .btn { padding: 0.8rem 1.5rem; font-size: 0.9rem; }

  .section-label { font-size: 0.7rem; margin-bottom: 1rem; }

  .testimonials { padding: 3.5rem 1.5rem; }
  .testimonials-header { margin-bottom: 2rem; }
  .testimonials-header h2 { font-size: 2rem; }
  .test-card { padding: 1.5rem; min-height: auto; }

  .cta-section { padding: 3.5rem 1.5rem; }
  .cta-section h2 { font-size: 1.8rem; }
  .cta-section p { font-size: 1rem; }
  .cta-actions { flex-direction: column; align-items: center; }

  .who-section { padding: 3.5rem 1.5rem; }
  .who-header { margin-bottom: 2rem; }
  .who-header h2 { font-size: 2rem; }
  .who-cards { grid-template-columns: 1fr; }
  .who-card { padding: 1.5rem; }

  .text-section { padding: 3.5rem 1.5rem; }
  .text-inner h2 { font-size: 2rem; }

  .process-section { padding: 3.5rem 1.5rem; }
  .process-inner h2 { font-size: 2rem; }

  .nextstep-section { padding: 3rem 1.5rem; }
  .nextstep-inner { grid-template-columns: 1fr; }
  .nextstep-card { padding: 1.5rem; }
  .nextstep-card h3 { font-size: 1.15rem; }

  .principles-band { padding: 2.5rem 0; }
  .principles-carousel { max-width: 100%; padding: 0 3rem; }
  .principle-card { padding: 1.5rem; }

  .footer { padding: 2.5rem 1.5rem 1.5rem; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-logo img { height: 48px; }
  .footer-links { flex-wrap: wrap; justify-content: center; gap: 1.25rem; }
  .footer-copy { font-size: 0.75rem; }
}
@media (max-width: 600px) {
  .test-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 1.75rem; }
  .cta-section h2 { font-size: 1.5rem; }
}
