/*
Theme Name: HoopUnite
Theme URI: https://hoopunite.com/
Author: Mahsa Kiani
Author URI: https://www.linkedin.com/in/mahsakiani/
Description: HoopUnite — a modern, accessible block theme for the HOOP Unite non-profit community. Built with Full Site Editing, an Events custom post type, and a custom Gutenberg color palette. Design & Style by Mahsa Kiani.
Version: 1.0.0
Requires PHP: 7.4
Text Domain: hoopunite
*/

/* Global Custom CSS Variables */
:root {
  --green: #2bb673;
  --green-d: #1f9a5f;
  --green-l: #e8faf2;
  --yellow: #f5c518;
  --yellow-d: #d4a800;
  --yellow-l: #fffbe6;
  --navy: #1a2744;
  --white: #ffffff;
  --off: #f7f9fb;
  --muted: #444;
  --radius: 18px;
  --nav-h: 70px;
}
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: "Inter", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ──────────────────────────────
   NAV
────────────────────────────── */
nav {
  position: sticky;
  top: 0;
  z-index: 300;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 2px solid var(--yellow);
  padding: 0 5%;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.logo {
  flex-shrink: 0;
  cursor: pointer;
}
.logo img {
  height: 54px;
  display: block;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.1rem;
  list-style: none;
}
.nav-links a {
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  padding: 7px 12px;
  border-radius: var(--radius);
  transition:
    color 0.2s,
    background 0.2s;
  white-space: nowrap;
  cursor: pointer;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--green-d);
  background: var(--green-l);
}
.nav-cta {
  background: var(--yellow) !important;
  color: var(--navy) !important;
  border-radius: 50px !important;
  padding: 9px 22px !important;
  font-weight: 700 !important;
}
.nav-cta:hover {
  background: var(--yellow-d) !important;
}

/* hamburger */
.hamburger {
  display: none;
  width: 44px;
  height: 44px;
  cursor: pointer;
  border: none;
  background: none;
  flex-shrink: 0;
  position: relative;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  transition: background 0.2s;
}
.hamburger:hover {
  background: var(--green-l);
}
.hamburger .bar {
  display: block;
  position: absolute;
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  left: 50%;
  transform-origin: center;
  transition:
    transform 0.35s cubic-bezier(0.23, 1, 0.32, 1),
    opacity 0.25s,
    width 0.3s;
}
.hamburger .bar:nth-child(1) {
  transform: translateX(-50%) translateY(-7px);
}
.hamburger .bar:nth-child(2) {
  transform: translateX(-50%);
  width: 16px;
  margin-left: -3px;
}
.hamburger .bar:nth-child(3) {
  transform: translateX(-50%) translateY(7px);
}
.hamburger.open .bar:nth-child(1) {
  transform: translateX(-50%) rotate(45deg);
  width: 22px;
}
.hamburger.open .bar:nth-child(2) {
  opacity: 0;
  transform: translateX(-60%) scaleX(0);
}
.hamburger.open .bar:nth-child(3) {
  transform: translateX(-50%) rotate(-45deg);
  width: 22px;
}

.mobile-drawer {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 250;
  pointer-events: none;
}
.drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(26, 39, 68, 0.4);
  opacity: 0;
  transition: opacity 0.35s;
}
.drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(320px, 90vw);
  height: 100%;
  background: var(--white);
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(0.23, 1, 0.32, 1);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  padding: 1.5rem 1.5rem 2rem;
  gap: 0.35rem;
}
.mobile-drawer.open {
  pointer-events: all;
}
.mobile-drawer.open .drawer-backdrop {
  opacity: 1;
}
.mobile-drawer.open .drawer-panel {
  transform: translateX(0);
}
.drawer-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-decoration: none;
  color: var(--navy);
  font-size: 15px;
  font-weight: 600;
  padding: 13px 14px;
  border-radius: 10px;
  transition:
    background 0.18s,
    color 0.18s;
}
.drawer-nav-link:hover,
.drawer-nav-link.active {
  background: var(--green-l);
  color: var(--green-d);
}
.drawer-nav-link .arrow {
  font-size: 11px;
  color: var(--muted);
  opacity: 0.6;
}
.drawer-divider {
  height: 1px;
  background: #eef0f6;
  margin: 0.5rem 0;
}
.drawer-cta {
  display: block;
  text-align: center;
  text-decoration: none;
  background: var(--yellow);
  color: var(--navy) !important;
  font-size: 14px;
  font-weight: 700;
  padding: 14px;
  border-radius: 12px;
  margin-top: 0.5rem;
  transition: background 0.2s;
}
.drawer-cta:hover {
  background: var(--yellow-d);
}
.drawer-section-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  padding: 4px 14px;
  margin-top: 0.5rem;
}

/* ──────────────────────────────
   HERO — minimal, white, responsive
────────────────────────────── */
.hero {
  background: var(--white);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 3rem;
  padding: 6rem 7%;
  position: relative;
  overflow: hidden;
}
.hero-text {
  position: relative;
  z-index: 2;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 1.4rem;
}
.hero-eyebrow::before {
  content: "";
  width: 24px;
  height: 2px;
  background: var(--green);
  border-radius: 2px;
}

.hero h1 {
  font-family: "Manrope", sans-serif;
  font-size: clamp(28px, 4.5vw, 52px);
  font-weight: 900;
  line-height: 1.1;
  color: var(--navy);
  margin-bottom: 0.6rem;
}

.hero-desc {
  font-size: 17px;
  color: var(--muted);
  line-height: 1.75;
  margin: 1.5rem 0 2.5rem;
  max-width: 460px;
}

.hero-btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-yellow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--yellow);
  color: var(--navy);
  font-size: 14px;
  font-weight: 800;
  padding: 14px 28px;
  border-radius: 50px;
  text-decoration: none;
  cursor: pointer;
  transition:
    background 0.2s,
    transform 0.2s,
    box-shadow 0.2s;
}
.btn-yellow:hover {
  background: var(--yellow-d);
  transform: translateY(-2px);
}

.btn-green-solid {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green);
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  padding: 13px 26px;
  border-radius: 50px;
  text-decoration: none;
  cursor: pointer;
  transition:
    background 0.2s,
    transform 0.2s;
}
.btn-green-solid:hover {
  background: var(--green-d);
  transform: translateY(-2px);
}

.btn-outline-navy {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--navy);
  font-size: 13.5px;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: 50px;
  border: 2px solid rgba(26, 39, 68, 0.18);
  text-decoration: none;
  cursor: pointer;
  transition:
    border-color 0.2s,
    background 0.2s;
}
.btn-outline-navy:hover {
  border-color: var(--navy);
  background: rgba(26, 39, 68, 0.05);
}

/* hero image — ~50% of the section, no border-radius, small circle
   "logo" accent behind it */
.hero-image-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
  width: 100%;
}

/* decorative circle accent, like a logo mark, peeking from the image */
.hero-image-circle {
  position: absolute;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: var(--green);
  opacity: 0.15;
  bottom: -30px;
  left: -30px;
  z-index: 0;
  pointer-events: none;
}
.hero-image-circle::after {
  content: "";
  position: absolute;
  inset: 22px;
  border-radius: 50%;
  border: 2px solid var(--green);
  opacity: 0.6;
}

.hero-image-wrapper {
  position: relative;
  z-index: 1;
  border-radius: 0;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 13/9;
}
.hero-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: var(--radius);
}

/* ──────────────────────────────
   OUR PHILOSOPHY
────────────────────────────── */
.our-philosophy {
  background: var(--green-l);
  padding: 6rem 5%;
  text-align: center;
  border-top: 1px solid #b6ead4;
  border-bottom: 1px solid #b6ead4;
}
.op-inner {
  max-width: 820px;
  margin: 0 auto;
}
.op-title {
  font-family: "Manrope", sans-serif;
  font-size: clamp(26px, 3.2vw, 40px);
  font-weight: 900;
  color: var(--green-d);
  line-height: 1.15;
  margin: 0.4rem 0 1.5rem;
  font-style: italic;
}
.op-paragraph {
  font-size: 18px;
  color: var(--navy);
  line-height: 1.85;
  margin: 0 auto;
  max-width: 680px;
}

/* ──────────────────────────────
   THE CIRCLE
────────────────────────────── */
.the-circle {
  background: var(--white);
  padding: 6rem 5%;
}
.tc-inner {
  max-width: 1080px;
  margin: 0 auto;
  text-align: center;
}
.tc-title {
  font-family: "Manrope", sans-serif;
  font-size: clamp(26px, 3.2vw, 38px);
  font-weight: 900;
  color: var(--navy);
  line-height: 1.15;
  margin: 0.4rem 0 2.5rem;
}
.tc-layout {
  display: grid;
  grid-template-columns: minmax(260px, 420px) 1fr;
  gap: 3rem;
  align-items: center;
  text-align: left;
}
.tc-art {
  display: flex;
  justify-content: center;
  align-items: center;
}
.tc-art img {
  width: 100%;
  max-width: 420px;
  height: auto;
  display: block;
}
.tc-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}
.tc-step {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 0.6rem 0;
}
.tc-dot {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  margin-top: 6px;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.85);
}
.tc-step-body h3 {
  font-family: "Manrope", sans-serif;
  font-size: 19px;
  font-weight: 800;
  color: var(--navy);
  margin: 0 0 0.3rem;
  line-height: 1.2;
}
.tc-step-body p {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.65;
  margin: 0;
}
@media (max-width: 820px) {
  .tc-layout {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }
  .tc-step {
    justify-content: flex-start;
    text-align: left;
  }
  .tc-art img {
    max-width: 300px;
  }
}

/* ──────────────────────────────
   HOW WE WORK
────────────────────────────── */
.how-we-work {
  background: var(--off);
  padding: 6rem 5%;
  text-align: center;
  color: var(--navy);
}
.how-we-work .section-eyebrow {
  color: var(--yellow);
}
.hww-inner {
  max-width: 820px;
  margin: 0 auto;
}
.hww-title {
  font-family: "Manrope", sans-serif;
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 900;
  color: var(--navy);
  line-height: 1.2;
  margin: 0.4rem 0 1.5rem;
}
.hww-paragraph {
  font-size: 18px;
  color: var(--navy);
  line-height: 1.85;
  margin: 0 auto;
  max-width: 680px;
}

/* PAGE HERO */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, #243460 100%);
  padding: 5rem 5% 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: var(--yellow);
  opacity: 0.06;
  top: -200px;
  right: -100px;
}
.page-hero-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--green-d);
  margin-bottom: 1.2rem;
}
.page-hero h1 {
  font-family: "Manrope", sans-serif;
  font-size: clamp(30px, 5vw, 52px);
  font-weight: 800;
  color: white;
  line-height: 1.1;
  margin-bottom: 1.2rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}
.page-hero p {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.7);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ──────────────────────────────
   SHARED SECTION LABELS
   (used by Our Philosophy, The Circle, How We Work, etc.)
────────────────────────────── */
.section-eyebrow {
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--green-d);
  margin-bottom: 1rem;
}
.section-title {
  text-align: center;
  font-family: "Manrope", sans-serif;
  font-size: clamp(26px, 3.5vw, 42px);
  font-weight: 900;
  color: var(--navy);
  line-height: 1.1;
  margin-bottom: 3.5rem;
}
.section-title em {
  font-style: normal;
  color: var(--green);
}
.section-title .yt {
  color: var(--yellow-d);
}

/* ──────────────────────────────
   English HOOP SECTION
────────────────────────────── */
.english-hoop {
  background: #f0fdf8; /* very light green tint */
  position: relative;
  overflow: hidden;
}

/* rainbow stripe top — like the actual HOOP site */
.hu-rainbow {
  display: flex;
  height: 7px;
  width: 100%;
}
.hu-rainbow span {
  flex: 1;
}

/* HERO ROW: illustration left, text right */
.eh-hero-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 0;
  min-height: 420px;
  position: relative;
}

/* illustration panel */
.hu-illus {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  display: flex;
  align-items: center;
}
.hu-illus img {
  width: 100%;
  display: block;
  position: relative;
  z-index: 2;
}
/* Banner-video trigger button (English HOOP & HOOP Farsi illustrations). */
.hu-illus .hu-illus-trigger {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
  border: 0;
  background: none;
  cursor: pointer;
  position: relative;
}
.hu-illus .hu-illus-trigger img {
  width: 100%;
  height: auto;
  display: block;
}
.hu-illus .hu-illus-trigger .video-play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(26, 39, 68, 0.78);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
  transition:
    background 0.2s,
    transform 0.2s;
}
.hu-illus .hu-illus-trigger:hover .video-play-icon {
  background: var(--green);
  transform: translate(-50%, -50%) scale(1.08);
}
.hu-illus .hu-illus-trigger .video-play-icon svg {
  margin-left: 4px;
}

/* text panel */
.eh-text-panel {
  padding: 3.5rem 4rem;
  background: #f0fdf8;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.eh-series-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--green-d);
  margin-bottom: 0.8rem;
}
.eh-text-panel h2 {
  font-family: "Manrope", sans-serif;
  font-size: clamp(24px, 3.5vw, 44px);
  font-weight: 900;
  color: var(--navy);
  line-height: 1.1;
  margin-bottom: 1.2rem;
}
.eh-text-panel h2 span {
  color: var(--green-d);
}
.eh-text-panel p {
  font-size: 15.5px;
  line-height: 1.75;
  margin-bottom: 2rem;
  max-width: 440px;
  color: var(--muted);
}

/* ──────────────────────────────
   HOOP Farsi SECTION
────────────────────────────── */
.hoop-farsi {
  background: #fffbe6; /* light yellow tint */
  position: relative;
  overflow: hidden;
}

.hf-hero-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  min-height: 420px;
}

/* text panel */
.hf-text-panel {
  padding: 3.5rem 3rem 3.5rem 5%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hf-series-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--yellow-d);
  margin-bottom: 0.8rem;
}
.hf-text-panel h2 {
  font-size: clamp(24px, 3.5vw, 44px);
  font-weight: 900;
  color: var(--yellow-d);
  line-height: 1.1;
  margin-bottom: 1.2rem;
}
.hf-text-panel h2 span {
  color: var(--navy);
}
.hf-text-panel p {
  font-size: 15.5px;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 2rem;
  max-width: 440px;
}

/* ──────────────────────────────
   FEATURED EVENT
────────────────────────────── */
.featured {
  padding: 7rem 5%;
  background: var(--off);
}
.featured-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 5rem;
  align-items: center;
}
.feat-pill {
  display: inline-block;
  background: var(--yellow-l);
  color: var(--yellow-d);
  border: 1.5px solid var(--yellow);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: 50px;
  margin-bottom: 1.2rem;
}
.featured h2 {
  font-family: "Manrope", sans-serif;
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 900;
  color: var(--navy);
  line-height: 1.15;
  margin-bottom: 1rem;
}
.featured .feat-desc {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 2rem;
  max-width: 380px;
}
.featured-imgs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 220px 160px;
  gap: 12px;
}
.featured-img {
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(135deg, #c8f5e0, #fffbe6);
}
.featured-img.tall {
  grid-row: 1/3;
}
.featured-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.featured-imgs.single-img {
  display: block;
  height: 380px;
}
.featured-imgs.single-img .featured-img.tall {
  height: 100%;
}
.featured-inner.featured-empty {
  grid-template-columns: 1fr;
  text-align: center;
  max-width: 640px;
}
.featured-inner.featured-empty .feat-desc {
  margin-left: auto;
  margin-right: auto;
}
/* ──────────────────────────────
   FOOTER CTA
────────────────────────────── */
.footer-cta {
  background: var(--navy);
  padding: 3.5rem 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.footer-cta-copy {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.footer-cta .footer-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 0.1rem;
}
.footer-cta h3 {
  font-family: "Manrope", sans-serif;
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 800;
  color: white;
  line-height: 1.2;
  margin: 0;
}
.footer-cta .footer-cta-copy p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  margin: 0;
  max-width: 560px;
}

.btn-yellow-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--yellow);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 13px 30px;
  border-radius: 50px;
  border: 2px solid var(--yellow);
  white-space: nowrap;
  transition:
    background 0.25s,
    color 0.25s;
  text-decoration: none;
  cursor: pointer;
}
.btn-yellow-outline:hover {
  background: var(--yellow);
  color: var(--navy);
}

/* ──────────────────────────────
   FADE IN
────────────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .fade-in {
    transition: none !important;
  }
}

/* ──────────────────────────────
   RESPONSIVE
────────────────────────────── */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 3.5rem 6% 3rem;
    text-align: center;
    gap: 2.5rem;
  }
  .hero-desc {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
  .hero-btns {
    justify-content: center;
  }
  .hero-image-container {
    order: -1;
  }
  .hero-image-wrapper {
    width: min(420px, 100%);
    margin: 0 auto;
  }
  .featured-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .featured .feat-desc {
    max-width: 100%;
  }
}
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .hamburger {
    display: flex;
  }
  .mobile-drawer {
    display: block;
  }
  .footer-cta {
    flex-direction: column;
    text-align: center;
  }
  /* English HOOP */
  .eh-hero-row {
    grid-template-columns: 1fr;
  }
  .hu-illus {
    min-height: 280px;
  }
  .eh-text-panel {
    padding: 2.5rem 5%;
  }
  /* HOOP Farsi */
  .hf-hero-row {
    grid-template-columns: 1fr;
  }
  .hf-text-panel {
    padding: 2.5rem 5%;
  }
}
@media (max-width: 480px) {
  .eh-chips {
    gap: 0.4rem;
  }
  .hero h1 {
    font-size: clamp(26px, 7vw, 36px);
  }
  .hero-image-circle {
    width: 90px;
    height: 90px;
  }
  .page-hero {
    padding: 3.5rem 5% 3rem;
  }
}
/* ──────────────────────────────
   ABOUT SECTION
────────────────────────────── */
.about-section {
  padding: 5rem 5%;
  max-width: 1100px;
  margin: 0 auto;
}

.about-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  margin-bottom: 6rem;
}
.about-intro-grid.reverse .about-intro-img {
  order: 2;
}
.about-intro-grid.reverse .about-intro-text {
  order: 1;
}
.about-intro-img {
  position: relative;
}
.about-intro-img .img-frame {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, #c8e6d8, #b8d4f0);
}
.about-intro-img .img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 1rem;
  display: block;
}
.about-intro-text h2 {
  font-family: "Manrope", sans-serif;
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.15;
  margin-bottom: 1.5rem;
}
.about-intro-text p {
  font-size: 15.5px;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 1.2rem;
}

.btn-green {
  display: inline-block;
  background: var(--green);
  color: white;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  padding: 13px 26px;
  border-radius: 50px;
  transition:
    background 0.25s,
    transform 0.2s;
}
.btn-green:hover {
  background: var(--navy);
  transform: translateY(-1px);
}

/* FOUNDERS INTRO */
.about-founders-intro {
  max-width: 760px;
  margin: 0 auto 5rem;
  padding: 2.5rem 2rem;
  background: var(--green-l);
  border-radius: var(--radius);
  border-left: 5px solid var(--green);
  text-align: center;
}
.about-founders-intro .eyebrow {
  color: var(--green-d);
  display: block;
  margin-bottom: 0.8rem;
}
.about-founders-intro h2 {
  font-family: "Manrope", sans-serif;
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 1.2rem;
  line-height: 1.2;
}
.about-founders-intro p {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.85;
  margin: 0;
}

/* TEAM */
.about-team {
  margin-bottom: 5rem;
}
.about-team h2 {
  font-family: "Manrope", sans-serif;
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 3rem;
  text-align: center;
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.team-card {
  text-align: center;
  padding: 2rem 1.5rem;
  border-radius: var(--radius);
  border: 1.5px solid #e8ecf4;
  transition:
    box-shadow 0.25s,
    transform 0.25s;
}
.team-card:hover {
  box-shadow: 0 8px 30px rgba(46, 158, 107, 0.1);
  transform: translateY(-4px);
}
.team-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green), var(--navy));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Manrope", sans-serif;
  font-size: 26px;
  font-weight: 800;
  color: white;
  margin: 0 auto 1.2rem;
  overflow: hidden;
}
.team-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.team-card h3 {
  font-family: "Manrope", sans-serif;
  font-size: 16px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 0.3rem;
}
.team-role {
  font-size: 12px;
  font-weight: 600;
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.8rem;
}
.team-card p {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.6;
}
.team-grid-empty {
  text-align: center;
  color: var(--muted);
  padding: 2rem;
  border: 1.5px dashed #e8ecf4;
  border-radius: var(--radius);
}
.team-grid-empty a {
  color: var(--green);
  font-weight: 700;
}

.contact-email-list {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.contact-email-list a {
  display: inline-flex;
  align-items: center;
  font-size: 16px;
  font-weight: 700;
  color: var(--green-d);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s;
}
.contact-email-list a:hover {
  border-bottom-color: var(--green-d);
}

/* RESPONSIVE */
@media (max-width: 1000px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .about-intro-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .stat-chip.bottom-left {
    bottom: 10px;
    left: 10px;
  }
  .stat-chip.top-right {
    top: 10px;
    right: 10px;
  }
}
@media (max-width: 480px) {
  .team-grid {
    grid-template-columns: 1fr;
  }
  .about-section {
    padding: 3rem 5%;
  }
}

/* ──────────────────────────────
   EVENTS SECTION
────────────────────────────── */
.events-section {
  padding: 5rem 5%;
  background: var(--white);
}

/* Featured strip */
.events-featured-strip {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  font-size: 14px;
  color: var(--navy);
  margin-bottom: 2rem;
  gap: 6px;
}
.strip-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--yellow);
  border: 1px solid var(--yellow);
  padding: 4px 12px;
  border-radius: 50px;
  margin-bottom: 1rem;
}

/* Filter bar */
.events-filter-bar {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 3rem;
}
.filter-btn {
  font-size: 13px;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 50px;
  border: 1.5px solid #e8ecf4;
  background: white;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.2s;
}
.filter-btn:hover,
.filter-btn.active {
  border-color: var(--green);
  background: var(--green);
  color: white;
}

/* Events grid */
.events-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.event-card {
  border-radius: var(--radius);
  border: 1.5px solid #e8ecf4;
  overflow: hidden;
  transition:
    box-shadow 0.25s,
    transform 0.25s;
  background: var(--white);
  display: flex;
  flex-direction: column;
}
.event-card:hover {
  box-shadow: 0 12px 40px rgba(26, 39, 68, 0.1);
  transform: translateY(-4px);
}

.event-card-img {
  height: 200px;
  background: linear-gradient(135deg, #c8e6d8, #b8d4f0);
  position: relative;
  overflow: hidden;
}
.event-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.event-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 50px;
  background: var(--navy);
  color: white;
}
.event-badge.upcoming {
  background: var(--green);
}
.event-badge.past {
  background: var(--muted);
}

.event-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  flex: 1;
}

.event-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.event-meta-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: var(--muted);
  font-weight: 500;
}
.event-meta-item svg {
  flex-shrink: 0;
}

.event-card h3 {
  font-family: "Manrope", sans-serif;
  font-size: 17px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.3;
}
.event-card p {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.6;
  flex: 1;
}

.event-card-footer {
  padding: 0 1.5rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.event-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--green);
  background: #f0faf6;
  padding: 4px 10px;
  border-radius: 50px;
}
.event-tag.gold {
  color: var(--yellow);
  background: #fdf7ec;
}

.event-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition:
    color 0.2s,
    gap 0.2s;
}
.event-link:hover {
  color: var(--green);
  gap: 8px;
}

/* EMPTY STATE */
.events-empty {
  display: none;
  text-align: center;
  padding: 4rem 2rem;
  color: var(--muted);
  font-size: 15px;
  grid-column: 1/-1;
}
.events-empty svg {
  margin-bottom: 1rem;
  opacity: 0.35;
}

/* RESPONSIVE */
/* Events archive — vertical list layout (no filter bar) */
.events-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}
.event-row {
  display: flex;
  gap: 1.5rem;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1.5px solid #e8ecf4;
  transition:
    box-shadow 0.25s,
    transform 0.25s;
}
.event-row:hover {
  box-shadow: 0 12px 40px rgba(26, 39, 68, 0.1);
  transform: translateY(-3px);
}
.event-row-img {
  position: relative;
  flex: 0 0 260px;
  background: linear-gradient(135deg, #c8e6d8, #b8d4f0);
}
.event-row-img a,
.event-row-img .event-video-trigger {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  padding: 0;
  cursor: pointer;
  background: none;
}
.event-row-img img {
  width: 100%;
  height: 100%;
  min-height: 180px;
  object-fit: cover;
  display: block;
}
.event-row-body {
  flex: 1;
  padding: 1.5rem 1.5rem 1.5rem 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
  min-width: 0;
}
.event-row-body h3 {
  font-family: "Manrope", sans-serif;
  font-size: 18px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.3;
  margin: 0.4rem 0;
}
.event-row-body p {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.6;
}
.event-row-actions {
  display: flex;
  justify-content: flex-end;
}
@media (max-width: 640px) {
  .event-row {
    flex-direction: column;
  }
  .event-row-img {
    flex-basis: auto;
    height: 190px;
  }
  .event-row-body {
    padding: 1.2rem;
  }
}

/* Video play button overlay (event thumbnails with a recap video) */
.video-play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(26, 39, 68, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background 0.2s,
    transform 0.2s;
}
.event-video-trigger:hover .video-play-icon {
  background: var(--green);
  transform: translate(-50%, -50%) scale(1.08);
}
.video-play-icon svg {
  margin-left: 3px;
}

@media (max-width: 1000px) {
  .events-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .events-grid {
    grid-template-columns: 1fr;
  }
  .events-featured-strip {
    flex-direction: column;
    padding: 2rem;
  }
}
@media (max-width: 480px) {
  .filter-btn {
    font-size: 12px;
    padding: 7px 14px;
  }
  .events-section {
    padding: 3rem 5%;
  }
}

/* ──────────────────────────────
   VIDEO POPUP MODAL
────────────────────────────── */
.hoop-video-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 4vh 4vw;
}
.hoop-video-modal.open {
  display: flex;
}
.hoop-video-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 15, 28, 0.88);
}
.hoop-video-modal-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 960px;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}
.hoop-video-modal-body {
  width: 100%;
  height: 100%;
}
.hoop-video-modal-body iframe,
.hoop-video-modal-body video {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.hoop-video-modal-close {
  position: absolute;
  top: -44px;
  right: 0;
  z-index: 2;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: background 0.2s;
}
.hoop-video-modal-close:hover {
  background: var(--green);
}
@media (max-width: 640px) {
  .hoop-video-modal-close {
    top: -40px;
  }
}
