/* ===== Fonts (self-hosted Satoshi — matches damfellows.com) ===== */
@font-face {
  font-family: 'Satoshi';
  src: url('assets/fonts/Satoshi-Light.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Satoshi';
  src: url('assets/fonts/Satoshi-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Satoshi';
  src: url('assets/fonts/Satoshi-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Satoshi';
  src: url('assets/fonts/Satoshi-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Satoshi';
  src: url('assets/fonts/Satoshi-Black.woff2') format('woff2');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

/* Reset & Base */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --green: #2cd582;
  --green-light: #00ff95;
  --green-accent: #39e75f;
  --green-bright: #00ff66;
  --white: #fbfbfb;
  --bg: #000000;
  --tagline: rgba(154, 154, 154, 0.62);
  --banner-bg: rgba(43, 213, 129, 0.58);
  --radius: 20px;
  --header-h: 80px;
  --font: 'Satoshi', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background-color: var(--bg);
  color: var(--white);
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Accessible focus states */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
  border-radius: 6px;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.nav {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-img {
  height: 56px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  transition: opacity 0.2s;
}

.nav-link:hover {
  opacity: 0.75;
}

/* Hamburger (mobile only) */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 15px 32px;
  border-radius: 999px;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: none;
  position: relative;
  white-space: nowrap;
}

.btn-primary {
  background: var(--green);
  color: var(--white);
}

.btn-primary:hover {
  transform: scale(1.05);
}

.btn-lg {
  padding: 16px 40px;
  font-size: 1rem;
}

/* Banner */
.banner {
  margin-top: var(--header-h);
  background: var(--banner-bg);
  text-align: center;
  padding: 12px 16px;
}

.banner-text {
  color: var(--white);
  font-size: 15px;
  font-weight: 600;
}

/* Hero */
.hero {
  padding: 90px 0 60px;
  text-align: center;
}

.hero-title {
  font-size: clamp(2.3rem, 6vw, 68px);
  font-weight: 700;
  line-height: 1.08;
  max-width: 1000px;
  margin: 0 auto 36px;
  color: var(--white);
}

.hero-title .grn,
.hero-title .grn strong {
  color: var(--green);
}

/* Taglines */
.taglines {
  padding: 60px 0 120px;
  text-align: center;
}

.tagline-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(18px, 4vh, 40px);
}

.tagline {
  font-size: clamp(2.1rem, 9vw, 60px);
  font-weight: 700;
  line-height: 1.4;
  color: var(--tagline);
  transition: color 0.4s ease;
}

.tagline.active {
  color: var(--white);
}

/* Mentors */
.mentors {
  padding: 40px 0 80px;
}

.section-title {
  font-size: clamp(2rem, 5vw, 48px);
  font-weight: 700;
  text-align: center;
  color: var(--white);
  margin-bottom: 48px;
}

.mentors-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px 20px;
  justify-items: center;
  margin-bottom: 40px;
}

.mentor-card {
  text-align: center;
  width: 100%;
  max-width: 250px;
}

.mentor-photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius);
  background-size: cover;
  background-position: center;
  background-color: #111;
  margin-bottom: 14px;
  transition: transform 0.3s ease;
}

.mentor-card:hover .mentor-photo {
  transform: translateY(-4px);
}

.mentor-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 2px;
}

.mentor-role {
  font-size: 15px;
  color: var(--white);
  opacity: 0.85;
  font-weight: 400;
}

.hidden-mentor {
  display: none;
}

.hidden-mentor.show {
  display: block;
}

.view-more-btn {
  display: block;
  margin: 0 auto;
}

.view-more-btn.expanded {
  display: none;
}

/* FAQ */
.faq {
  padding: 80px 0 60px;
}

.faq-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 48px;
}

.faq-heading .section-title {
  margin-bottom: 0;
}

.faq-heading-emoji {
  width: 50px;
  height: 50px;
}

.faq-list {
  max-width: 760px;
  margin: 0 auto;
}

.faq-item {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.faq-item:last-of-type {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px 4px;
  font-family: var(--font);
  text-align: left;
  color: var(--white);
  transition: opacity 0.2s;
}

.faq-question:hover {
  opacity: 0.8;
}

.faq-emoji {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

.faq-q-text {
  font-size: clamp(1.5rem, 3.2vw, 38px);
  font-weight: 700;
  color: var(--white);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-answer p {
  padding: 0 4px 24px 66px;
  color: rgba(251, 251, 251, 0.7);
  font-size: 1rem;
}

.faq-item.open .faq-answer {
  max-height: 220px;
}

/* Say hi */
.say-hi {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 80px;
}

.say-hi-emoji {
  width: 50px;
  height: 50px;
}

.say-hi-text {
  font-size: clamp(1.8rem, 5vw, 40px);
  font-weight: 700;
  color: var(--white);
}

.say-hi-email {
  display: block;
  text-align: center;
  color: var(--green);
  font-size: 1.05rem;
  font-weight: 500;
  margin-top: 12px;
  transition: opacity 0.2s;
}

.say-hi-email:hover {
  opacity: 0.8;
}

/* Footer */
.footer {
  padding: 40px 0;
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-copyright,
.footer-tagline {
  font-size: 0.85rem;
  color: rgba(251, 251, 251, 0.7);
}

.footer-right {
  display: flex;
  align-items: center;
  gap: 18px;
}

.social-link {
  display: flex;
  align-items: center;
  transition: transform 0.2s, opacity 0.2s;
}

.social-link img {
  width: 24px;
  height: 24px;
  display: block;
}

.social-link:hover {
  transform: translateY(-2px);
  opacity: 0.85;
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Confetti */
.confetti {
  position: fixed;
  width: 6px;
  height: 6px;
  pointer-events: none;
  z-index: 9999;
}

/* ===== Responsive ===== */

/* Tablet: mentors 2-up */
@media (max-width: 991px) {
  .mentors-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile: hamburger nav + compact layout */
@media (max-width: 768px) {
  :root {
    --header-h: 64px;
  }

  .logo-img {
    height: 44px;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 18px 24px 24px;
    background: rgba(0, 0, 0, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transform: translateY(-10px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  }

  .nav-links.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav-links .nav-link {
    text-align: center;
    padding: 8px 0;
    font-size: 1.05rem;
  }

  .nav-links .btn-primary {
    width: 100%;
    text-align: center;
  }

  /* Mentors stay 2-up but with small photos (matches live ~120px) */
  .mentors-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 16px;
  }

  .mentor-card {
    max-width: 150px;
  }

  .mentor-name {
    font-size: 16px;
  }

  .mentor-role {
    font-size: 13px;
  }

  .faq-answer p {
    padding-left: 4px;
  }

  .say-hi {
    margin-top: 60px;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }
}

/* Respect reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .tagline {
    transition: none;
  }

  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
