/* ── Design tokens ── */
:root {
  --green-primary: #004d40;
  --green-dark: #00251a;
  --green-footer: #001a12;
  --teal: #26a69a;
  --teal-light: #4db6ac;
  --purple: #4a148c;
  --white: #ffffff;
  --gray-50: #f5f5f5;
  --gray-200: #e0e0e0;
  --gray-500: #9e9e9e;
  --gray-700: #616161;
  --gray-900: #212121;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.12);
  --radius: 8px;
  --radius-lg: 12px;
  --container: 1140px;
  --header-h: 72px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--gray-900);
  line-height: 1.6;
  background: var(--white);
}

img {
  max-width: 100%;
  display: block;
}

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

ul {
  list-style: none;
}

.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

.text-teal {
  color: var(--teal);
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.9375rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--teal);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(38, 166, 154, 0.35);
}

.btn-primary:hover {
  background: var(--teal-light);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.7);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
}

.btn-outline-dark {
  background: transparent;
  color: var(--green-primary);
  border-color: var(--green-primary);
}

.btn-outline-dark:hover {
  background: rgba(0, 77, 64, 0.08);
  border-color: var(--green-dark);
}

.btn-lg {
  padding: 1rem 2.5rem;
  font-size: 1rem;
}

.badge {
  display: inline-block;
  background: var(--teal);
  color: var(--white);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

/* ── Header ── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(0, 37, 26, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-logo {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-name {
  color: var(--white);
  font-weight: 700;
  font-size: 0.9375rem;
  letter-spacing: 0.04em;
}

.brand-tagline {
  color: var(--teal-light);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav a {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav a:hover {
  color: var(--white);
}

.nav-cta {
  background: var(--teal) !important;
  color: var(--white) !important;
  padding: 0.5rem 1.25rem !important;
  border-radius: var(--radius);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

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

/* ── Hero ── */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100dvh - var(--header-h));
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 2rem) 0 4rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    url('https://images.unsplash.com/photo-1524178232363-1fb2b075b655?auto=format&fit=crop&w=1920&q=85')
    center / cover no-repeat;
  transform: scale(1.02);
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      105deg,
      rgba(255, 255, 255, 0.94) 0%,
      rgba(245, 250, 248, 0.88) 42%,
      rgba(236, 246, 243, 0.72) 68%,
      rgba(230, 242, 239, 0.55) 100%
    );
  backdrop-filter: blur(2px);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 680px;
  padding: 2.5rem 0;
}

.hero-eyebrow {
  color: var(--green-primary);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  opacity: 0.85;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800;
  color: var(--green-dark);
  line-height: 1.15;
  margin-bottom: 0.75rem;
}

.hero-accent {
  display: block;
  margin-top: 0.35rem;
  color: var(--teal);
}

.hero-subtitle {
  font-size: clamp(1.125rem, 2.5vw, 1.5rem);
  font-weight: 600;
  color: var(--green-primary);
  margin-bottom: 1rem;
}

.hero-desc {
  color: var(--gray-700);
  font-size: 1.0625rem;
  margin-bottom: 2rem;
  max-width: 560px;
  line-height: 1.7;
}

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

/* ── Stats ── */
.stats {
  background: var(--green-primary);
  padding: 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.stat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 3rem 1.5rem;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-card:last-child {
  border-right: none;
}

.stat-icon {
  width: 40px;
  height: 40px;
  color: var(--teal-light);
  margin-bottom: 1rem;
}

.stat-icon svg {
  width: 100%;
  height: 100%;
}

.stat-value {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal-light);
}

/* ── Partnership ── */
.partnership {
  padding: 6rem 0;
  background: var(--white);
}

.partnership-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.partnership-copy h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
  color: var(--green-primary);
  margin-bottom: 1rem;
}

.partnership-copy > p {
  color: var(--gray-700);
  font-size: 1.0625rem;
  margin-bottom: 2rem;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.feature-list li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.feature-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: var(--green-primary);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
}

.feature-icon svg {
  width: 22px;
  height: 22px;
}

.feature-list strong {
  display: block;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 0.2rem;
}

.feature-list span {
  font-size: 0.9375rem;
  color: var(--gray-700);
}

.partnership-visual img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* ── Events ── */
.events {
  padding: 6rem 0;
  background: var(--white);
}

.events-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.events-header h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
  color: var(--green-primary);
  margin-bottom: 0.5rem;
}

.events-header p {
  color: var(--gray-700);
  max-width: 520px;
}

.carousel-controls {
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
}

.carousel-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--gray-200);
  background: var(--white);
  color: var(--green-primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s;
}

.carousel-btn:hover {
  background: var(--gray-50);
  border-color: var(--teal);
}

.carousel-btn svg {
  width: 18px;
  height: 18px;
}

.events-track-wrapper {
  overflow: hidden;
}

.events-track {
  display: flex;
  gap: 1.5rem;
  transition: transform 0.4s ease;
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.event-card {
  flex: 0 0 calc(33.333% - 1rem);
  min-width: 280px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.event-card-header {
  padding: 1.5rem 1.5rem 1rem;
  border-top: 4px solid;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}

.theme-teal .event-card-header { border-top-color: var(--teal); }
.theme-green .event-card-header { border-top-color: var(--green-primary); }
.theme-purple .event-card-header { border-top-color: var(--purple); }

.event-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 0.25rem;
}

.event-region {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-500);
}

.event-date {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gray-700);
  white-space: nowrap;
}

.event-desc {
  padding: 0 1.5rem;
  font-size: 0.875rem;
  color: var(--gray-700);
  flex: 1;
}

.event-location {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 1.5rem;
  font-size: 0.875rem;
  color: var(--gray-700);
}

.event-location svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--gray-500);
}

.event-card .btn-card {
  margin: 0 1.5rem 1.5rem;
  width: calc(100% - 3rem);
  color: var(--white);
  font-weight: 600;
  padding: 0.75rem;
  border-radius: var(--radius);
  text-align: center;
  transition: opacity 0.2s;
}

.theme-teal .btn-card { background: var(--teal); }
.theme-green .btn-card { background: var(--green-primary); }
.theme-purple .btn-card { background: var(--purple); }

.event-card .btn-card:hover {
  opacity: 0.9;
  transform: none;
}

/* ── Institutional ── */
.institutional {
  padding: 4rem 0;
  background: var(--gray-50);
  text-align: center;
}

.section-eyebrow {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 2rem;
}

.partner-marquee {
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
}

.partner-track {
  display: flex;
  width: max-content;
  animation: partner-marquee 24s linear infinite;
  will-change: transform;
}

.partner-track:hover {
  animation-play-state: paused;
}

.partner-logos {
  display: flex;
  align-items: center;
  gap: 2rem 3rem;
  padding: 0;
  margin: 0;
  list-style: none;
  flex-wrap: nowrap;
  white-space: nowrap;
}

.partner-logos li {
  flex-shrink: 0;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(1.125rem, 2.5vw, 1.5rem);
  font-weight: 700;
  color: var(--gray-700);
  letter-spacing: 0.04em;
}

@keyframes partner-marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* ── CTA ── */
.cta {
  padding: 6rem 0;
  background:
    linear-gradient(135deg, var(--green-primary) 0%, var(--green-dark) 50%, #003328 100%);
  text-align: center;
}

.cta-inner {
  max-width: 640px;
}

.cta h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 1rem;
}

.cta-inner > p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.0625rem;
  margin-bottom: 2rem;
}

.social-proof {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.avatars {
  display: flex;
  align-items: center;
}

.avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--green-primary);
  background: linear-gradient(135deg, hsl(calc(var(--i) * 60), 40%, 55%), hsl(calc(var(--i) * 60 + 30), 50%, 45%));
  margin-left: calc(var(--i) * -8px);
}

.avatar:first-child {
  margin-left: 0;
}

.avatar-badge {
  margin-left: -8px;
  background: var(--teal);
  color: var(--white);
  font-size: 0.6875rem;
  font-weight: 700;
  padding: 0.25rem 0.5rem;
  border-radius: 999px;
  border: 2px solid var(--green-primary);
}

.social-proof p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.75);
}

/* ── Footer ── */
.site-footer {
  background: var(--green-footer);
  color: rgba(255, 255, 255, 0.75);
  padding-top: 4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
}

.footer-logo {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  margin-bottom: 1rem;
  object-fit: cover;
  display: block;
  overflow: hidden;
  aspect-ratio: 1 / 1;
}

.footer-brand p {
  font-size: 0.875rem;
  line-height: 1.7;
  max-width: 300px;
}

.footer-links h3 {
  color: var(--white);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a,
.footer-link-btn,
.footer-static-item {
  font-size: 0.875rem;
  transition: color 0.2s;
}

.footer-link-btn {
  background: none;
  border: 0;
  padding: 0;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.footer-link-btn:hover,
.footer-static-item:hover {
  color: var(--teal-light);
}

.social-links {
  display: flex;
  gap: 0.75rem;
}

.social-link {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: background 0.2s, color 0.2s;
  text-decoration: none;
}

.social-link:hover {
  background: rgba(255, 255, 255, 0.15);
  color: var(--teal-light);
}

.social-links svg {
  width: 16px;
  height: 16px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.8125rem;
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.footer-bottom-item {
  display: inline-flex;
  flex-direction: column;
  gap: 0.2rem;
}

.footer-bottom-item small {
  color: rgba(255, 255, 255, 0.6);
}

.footer-link-inline {
  color: inherit;
  text-decoration: none;
}

.footer-link-inline:hover {
  color: var(--teal-light);
}

.footer-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  z-index: 2000;
}

.footer-modal.is-open {
  display: flex;
}

.footer-modal-card {
  position: relative;
  width: min(100%, 560px);
  background: var(--white);
  color: var(--gray-800);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.25);
}

.footer-modal-close {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: var(--gray-100);
  color: var(--gray-700);
  cursor: pointer;
  font-size: 1.2rem;
}

.footer-modal-card h3 {
  margin-bottom: 0.9rem;
  color: var(--green-dark);
}

.footer-modal-card p,
.footer-modal-card li {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--gray-700);
}

.footer-modal-card ul {
  margin: 0.8rem 0 0;
  padding-left: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

/* ── Mobile nav ── */
.site-header.nav-open .nav {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: var(--header-h);
  left: 0;
  right: 0;
  background: var(--green-dark);
  padding: 1.5rem 2rem 2rem;
  gap: 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-header.nav-open .menu-toggle span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

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

.site-header.nav-open .menu-toggle span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .stat-card {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .stat-card:last-child {
    border-bottom: none;
  }

  .partnership-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .partnership-visual {
    order: -1;
  }

  .event-card {
    flex: 0 0 calc(50% - 0.75rem);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .hero {
    padding: calc(var(--header-h) + 1.5rem) 0 3rem;
  }

  .hero-scrim {
    background:
      linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.95) 0%,
        rgba(245, 250, 248, 0.9) 100%
      );
  }

  .nav {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .events-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .event-card {
    flex: 0 0 85%;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

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