/* Basic reset */
* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  background: #0B0B0B;
  color: #fff;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Inter, Arial, sans-serif;
  line-height: 1.45;
}

/* Top bar */
.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(11,11,11,0.8);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.topbar__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  gap: 10px;
  align-items: baseline;
}
.brand__title {
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.9;
}
.brand__sub {
  display: none;
  font-size: 14px;
  opacity: 0.6;
}
@media (min-width: 768px) {
  .brand__sub { display: inline; }
}

.actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Social buttons that pop on hover */
.social {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 12px;
  text-decoration: none;
  color: rgba(255,255,255,0.85);
  transition: transform 160ms ease, border-color 160ms ease, color 160ms ease;
  will-change: transform;
}
.social svg { width: 16px; height: 16px; fill: currentColor; opacity: .85; transition: opacity 160ms ease; }
.social .label { display: none; }
@media (min-width: 640px) { .social .label { display: inline; } }
.social:hover, .social:focus-visible {
  transform: scale(1.05);
  border-color: rgba(255,255,255,0.4);
  color: #fff;
}
.social:hover svg, .social:focus-visible svg { opacity: 1; }

/* Hamburger with white-on-hover bars */
.hamburger {
  margin-left: 6px;
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 12px;
  background: transparent;
  cursor: pointer;
  transition: border-color 160ms ease;
}
.hamburger:hover { border-color: rgba(255,255,255,0.4); }
.hamburger .bar {
  display: block;
  width: 24px; height: 2px;
  background: rgba(255,255,255,0.6);
  margin: 3px 0;
  transition: background-color 160ms ease;
}
.hamburger:hover .bar { background: #fff; }

/* Layout */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 32px 16px 72px;
}

.hero {
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 24px;
  padding: 28px;
  background: linear-gradient(135deg, rgba(255,255,255,0.06), rgba(255,255,255,0.03));
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}
.hero h1 { margin: 0 0 8px; font-size: 28px; font-weight: 650; }
.muted { color: rgba(255,255,255,0.72); max-width: 42ch; }

/* CTA buttons that expand on hover */
.cta-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 20px;
}
@media (min-width: 640px) {
  .cta-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .cta-grid { grid-template-columns: repeat(4, 1fr); }
}

.cta {
  display: block;
  text-align: center;
  text-decoration: none;
  color: rgba(255,255,255,0.9);
  font-size: 18px;
  padding: 18px 20px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 18px;
  transition: transform 160ms ease, border-color 160ms ease;
  will-change: transform;
}
.cta:hover, .cta:focus-visible {
  transform: scale(1.03);
  border-color: rgba(255,255,255,0.5);
}

/* Right side drawer */
.backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  transition: opacity 200ms ease;
}
.drawer {
  position: fixed;
  top: 0; right: 0;
  height: 100%;
  width: min(88%, 380px);
  background: #141414;
  box-shadow: -10px 0 30px rgba(0,0,0,0.35);
  transform: translateX(100%);
  transition: transform 300ms ease;
  display: flex;
  flex-direction: column;
  border-left: 1px solid rgba(255,255,255,0.1);
}
.drawer.open { transform: translateX(0); }

.drawer__head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.drawer__title { font-weight: 650; font-size: 18px; }
.close {
  padding: 8px 12px;
  border-radius: 8px;
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.2);
  cursor: pointer;
}
.close:hover, .close:focus-visible { border-color: rgba(255,255,255,0.5); }

.drawer__nav {
  padding: 8px;
  display: grid;
  gap: 6px;
}
.navlink {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  text-decoration: none;
  color: rgba(255,255,255,0.82);
  transition: background-color 140ms ease, color 140ms ease, font-weight 140ms ease;
}
.navlink:hover, .navlink:focus-visible {
  background: rgba(255,255,255,0.05);
  color: #fff;
  font-weight: 700; /* bold + white on hover */
}
.navlink[aria-current="page"] {
  background: rgba(255,255,255,0.1);
  color: #fff;
  font-weight: 700;
}

/* Accessibility focus outlines */
:focus-visible {
  outline: 2px solid rgba(255,255,255,0.4);
  outline-offset: 2px;
}

/* --- Main page additions --- */
.section__title { margin: 0 0 12px; font-size: 18px; font-weight: 700; letter-spacing: 0.02em; }

/* Hero */
.hero { padding: 40px 24px; }
.hero__title { margin: 0; font-size: clamp(28px, 4vw, 44px); font-weight: 800; letter-spacing: -0.02em; }
.hero__subtitle { margin: 4px 0 10px; font-size: clamp(18px, 2.2vw, 24px); font-weight: 600; opacity: .85; }
.hero__copy { color: rgba(255,255,255,0.72); max-width: 60ch; margin: 10px 0 18px; }

.hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.btn {
  display: inline-block;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.92);
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease;
}
.btn:hover, .btn:focus-visible { transform: scale(1.03); border-color: rgba(255,255,255,0.5); }
.btn--primary { background: #ffffff14; border-color: rgba(255,255,255,0.35); }

/* Quick links row (includes 'Upcoming') */
.quick { margin-top: 28px; }
.quick__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 1024px) { .quick__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.tile {
  display: block; text-align: center; text-decoration: none;
  color: rgba(255,255,255,0.9); font-size: 18px; padding: 18px 20px;
  border: 1px solid rgba(255,255,255,0.2); border-radius: 18px;
  transition: transform 160ms ease, border-color 160ms ease;
}
.tile:hover, .tile:focus-visible { transform: scale(1.03); border-color: rgba(255,255,255,0.5); }

/* Upcoming cards */
.upcoming { margin-top: 28px; }
.cards { display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 1024px) { .cards { grid-template-columns: repeat(3, 1fr); } }
.card {
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 18px;
  padding: 16px;
  background: #111;
}
.card__title { margin: 0 0 6px; font-size: 18px; font-weight: 700; }
.card__meta { margin: 0 0 8px; font-size: 14px; color: rgba(255,255,255,0.7); }
.card__text { margin: 0 0 12px; color: rgba(255,255,255,0.8); }
.btn--ghost { background: transparent; }

/* About block */
.about { margin-top: 28px; }
.about__text { color: rgba(255,255,255,0.78); max-width: 65ch; }
.about__cta { margin-top: 12px; display: flex; gap: 10px; flex-wrap: wrap; }

/* Optional: reduce motion */
@media (prefers-reduced-motion: reduce) {
  .tile, .btn { transition: none; }
}

/* --- Contacts page layout --- */
.contacts {
  padding: 32px 0 80px;
}
.contact-hero {
  position: relative;
  margin: 16px;
  padding: 48px 36px;
  border-radius: 32px;
  min-height: 260px;
  background: linear-gradient(135deg, rgba(255,255,255,0.12), rgba(255,255,255,0.02));
  overflow: hidden;
}
.contact-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(120deg, rgba(14,115,255,0.35), rgba(255,117,20,0.3));
  opacity: 0.7;
  mix-blend-mode: screen;
}
.contact-hero__content {
  position: relative;
  z-index: 1;
  max-width: 540px;
}
.contact-hero__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 12px;
  color: rgba(255,255,255,0.75);
  margin: 0 0 10px;
}
.contact-hero__copy {
  margin: 12px 0 0;
  color: rgba(255,255,255,0.8);
  max-width: 55ch;
}

.contacts-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 32px 16px 0;
}
@media (min-width: 900px) {
  .contacts-list {
    margin-left: auto;
    margin-right: auto;
    max-width: 1200px;
  }
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 24px 32px;
  border-radius: 28px;
  background: #101010;
  border: 1px solid rgba(255,255,255,0.14);
  min-height: 160px;
}
.contact-card:nth-child(even) {
  flex-direction: row-reverse;
}
@media (max-width: 720px) {
  .contact-card,
  .contact-card:nth-child(even) {
    flex-direction: column;
    text-align: center;
  }
}

.contact-card__photo {
  flex-shrink: 0;
  width: 150px;
  aspect-ratio: 1 / 1;
  border-radius: 26px;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.35), rgba(255,255,255,0.05));
  border: 1px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
@media (max-width: 480px) {
  .contact-card__photo {
    width: 120px;
    font-size: 32px;
  }
}

.contact-card__name {
  margin: 0 0 14px;
  font-size: clamp(22px, 3.2vw, 30px);
}

.contact-card__channels {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-start;
}
@media (max-width: 720px) {
  .contact-card__channels,
  .contact-card:nth-child(even) .contact-card__channels {
    justify-content: center;
  }
}

.icon-btn {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.9);
  text-decoration: none;
  transition: transform 150ms ease, border-color 150ms ease, color 150ms ease;
}
.icon-btn:hover,
.icon-btn:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(255,255,255,0.5);
  color: #fff;
}
.icon-btn svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon-btn svg * {
  fill: none;
}

/* --- Join page --- */
.join {
  padding: 32px 0 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 36px;
}
.join-hero {
  width: min(960px, calc(100% - 32px));
  text-align: center;
  padding: 56px 40px;
  border-radius: 36px;
  background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.15);
  position: relative;
  overflow: hidden;
}
.join-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top, rgba(255,255,255,0.3), transparent 60%);
  opacity: 0.6;
}
.join-hero > * {
  position: relative;
  z-index: 1;
}
.join-hero__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.32em;
  font-size: 12px;
  color: rgba(255,255,255,0.7);
  margin: 0 0 14px;
}
.join-hero__desc {
  color: rgba(255,255,255,0.82);
  max-width: 65ch;
  margin: 16px auto 20px;
  line-height: 1.6;
}
.join-hero__link {
  display: inline-block;
  margin: 10px auto 16px;
  color: #fff;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 6px;
  padding: 6px 18px;
  border-radius: 999px;
  transition: background-color 160ms ease, transform 160ms ease;
}
.join-hero__link:hover,
.join-hero__link:focus-visible {
  background: rgba(255,255,255,0.15);
  transform: translateY(-2px);
}
.join-hero__tagline {
  margin: 0;
  font-size: clamp(18px, 3vw, 24px);
  font-weight: 600;
}

.join-visual {
  width: min(1200px, calc(100% - 32px));
  min-height: 280px;
  border-radius: 32px;
  border: 1px dashed rgba(255,255,255,0.3);
  background: linear-gradient(120deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.join-contact {
  text-align: center;
  max-width: 760px;
  width: min(760px, calc(100% - 32px));
}
.join-contact__copy {
  margin: 0 auto 18px;
  color: rgba(255,255,255,0.8);
}
.join-contact__icons {
  display: flex;
  justify-content: center;
  gap: 14px;
}

/* --- Meet the Team page --- */
.meet {
  padding: 32px 0 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}
.team-hero {
  width: min(1100px, calc(100% - 32px));
  border-radius: 40px;
  padding: 52px 44px;
  background: linear-gradient(140deg, rgba(255,255,255,0.12), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.15);
  position: relative;
  overflow: hidden;
}
.team-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(255,255,255,0.3), transparent 60%);
  opacity: 0.7;
}
.team-hero__content {
  position: relative;
  z-index: 1;
  max-width: 560px;
}
.team-hero__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 12px;
  color: rgba(255,255,255,0.75);
  margin: 0 0 12px;
}
.team-hero__copy {
  margin: 12px 0 0;
  color: rgba(255,255,255,0.82);
  max-width: 60ch;
}

.team-list {
  width: min(1200px, calc(100% - 32px));
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.team-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 42px 32px 32px;
  border-radius: 28px;
  border: 1px solid rgba(255,255,255,0.14);
  background: #0f0f0f;
}
.team-card:nth-child(even) {
  flex-direction: row-reverse;
}
.team-card:nth-child(even) .team-card__body {
  text-align: right;
}
@media (max-width: 768px) {
  .team-card,
  .team-card:nth-child(even) {
    flex-direction: column;
    text-align: center;
    padding-top: 68px;
  }
  .team-card:nth-child(even) .team-card__body {
    text-align: center;
  }
}

.team-card__channels {
  position: absolute;
  top: 18px;
  right: 28px;
  display: flex;
  gap: 8px;
}
.team-card:nth-child(even) .team-card__channels {
  right: auto;
  left: 28px;
}
@media (max-width: 768px) {
  .team-card__channels,
  .team-card:nth-child(even) .team-card__channels {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
  }
}

.team-card__photo {
  width: 140px;
  aspect-ratio: 1 / 1;
  border-radius: 26px;
  border: 1px solid rgba(255,255,255,0.15);
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.32), rgba(255,255,255,0.05));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  font-weight: 700;
  letter-spacing: 0.08em;
}
@media (max-width: 480px) {
  .team-card__photo {
    width: 110px;
    font-size: 28px;
  }
}

.team-card__body {
  max-width: 520px;
}
.team-card__role {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-size: 12px;
  color: rgba(255,255,255,0.65);
}
.team-card__name {
  margin: 6px 0 10px;
  font-size: clamp(22px, 3vw, 30px);
}
.team-card__bio {
  margin: 0;
  color: rgba(255,255,255,0.75);
}

/* --- About page --- */
.about { padding: 32px 0 80px; display: flex; flex-direction: column; gap: 36px; }

/* Hero (centered title + banner-like background) */
.about-hero {
  width: min(1100px, calc(100% - 32px));
  margin: 0 auto;
  padding: 56px 44px;
  border-radius: 40px;
  background: linear-gradient(140deg, rgba(255,255,255,0.12), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.15);
  position: relative; overflow: hidden; text-align: center;
}
.about-hero::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(255,255,255,0.28), transparent 60%);
  opacity: 0.7;
}
.about-hero__content { position: relative; z-index: 1; }
.about-hero h1 { margin: 0; font-size: clamp(28px, 4vw, 44px); font-weight: 800; letter-spacing: -0.02em; }
.about-hero__desc { margin: 14px auto 0; max-width: 70ch; color: rgba(255,255,255,0.82); line-height: 1.6; }

/* Purpose card with 3-up grid */
.about-purpose { display: flex; justify-content: center; }
.about-purpose__card {
  width: min(1200px, calc(100% - 32px));
  padding: 24px; border-radius: 28px; background: #101010;
  border: 1px solid rgba(255,255,255,0.14);
}
.about-purpose__title { margin: 0 0 16px; font-size: clamp(18px, 2.2vw, 24px); font-weight: 700; }
.about-grid {
  display: grid; gap: 14px;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) { .about-grid { grid-template-columns: repeat(3, 1fr); } }
.about-item { display: flex; flex-direction: column; gap: 10px; }
.about-img {
  width: 100%; aspect-ratio: 16/10;
  border-radius: 18px; border: 1px solid rgba(255,255,255,0.18);
  background: linear-gradient(120deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
  display: grid; place-items: center; color: rgba(255,255,255,0.6); font-weight: 700;
}
.about-cap { text-align: center; color: rgba(255,255,255,0.85); }

/* Funding section: image left, copy right */
.about-funding { display: flex; justify-content: center; }
.funding-wrap {
  width: min(1200px, calc(100% - 32px));
  display: grid; gap: 20px; align-items: center;
  grid-template-columns: 1fr; 
}
@media (min-width: 980px) { .funding-wrap { grid-template-columns: 1fr 1.2fr; } }
.funding-img {
  aspect-ratio: 3/4; border-radius: 24px;
  border: 1px solid rgba(255,255,255,0.18);
  background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.03));
  display: grid; place-items: center; color: rgba(255,255,255,0.6); font-weight: 700;
}
.funding-copy { padding: 12px; }
.funding-title { margin: 0 0 8px; font-size: clamp(22px, 2.6vw, 32px); font-weight: 800; }
.funding-desc { margin: 0 0 16px; max-width: 60ch; color: rgba(255,255,255,0.85); }
.sponsors { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.sponsor {
  height: 110px; border-radius: 20px; border: 1px solid rgba(255,255,255,0.18);
  background: #0f0f0f; display: grid; place-items: center;
  text-align: center; color: rgba(255,255,255,0.7); font-weight: 700; line-height: 1.1;
}

/* Community section: full image, copy, icons */
.about-community { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.community-photo {
  width: min(1200px, calc(100% - 32px));
  aspect-ratio: 16/9; border-radius: 24px;
  border: 1px solid rgba(255,255,255,0.18);
  background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.03));
  display: grid; place-items: center; color: rgba(255,255,255,0.6); font-weight: 700;
}
.community-copy { width: min(900px, calc(100% - 32px)); text-align: center; color: rgba(255,255,255,0.85); }
.community-icons { display: flex; gap: 14px; justify-content: center; }


/* --- Newsletter page --- */
.newsletter { padding: 32px 0 80px; display: flex; flex-direction: column; gap: 28px; }

/* Hero with centered title + banner-like background */
.newsletter-hero {
  width: min(1100px, calc(100% - 32px));
  margin: 0 auto;
  padding: 48px 40px;
  border-radius: 40px;
  background: linear-gradient(140deg, rgba(255,255,255,0.12), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.15);
  position: relative; overflow: hidden; text-align: center;
}
.newsletter-hero::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(255,255,255,0.28), transparent 60%);
  opacity: .7;
}
.newsletter-hero__content { position: relative; z-index: 1; }
.newsletter-hero h1 { margin: 0; font-size: clamp(28px, 4vw, 44px); font-weight: 800; letter-spacing: -0.02em; }
.newsletter-hero__desc { margin: 10px auto 0; max-width: 65ch; color: rgba(255,255,255,0.86); }

/* Intro box with copy + CTA row */
.newsletter-intro { display: flex; justify-content: center; }
.newsletter-card {
  width: min(1100px, calc(100% - 32px));
  padding: 24px 24px 18px;
  border-radius: 28px;
  border: 1px solid rgba(255,255,255,0.14);
  background: #101010;
}
.newsletter-card__body { margin: 0 0 12px; color: rgba(255,255,255,0.88); text-align: center; }
.newsletter-cta {
  margin-top: 10px;
  display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap;
}
.newsletter-cta__lead { margin: 0; font-weight: 800; font-size: clamp(18px, 2.2vw, 22px); }
.newsletter-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 14px; border: 1px solid rgba(255,255,255,0.25);
  border-radius: 999px; text-decoration: none; color: #fff;
  transition: transform 150ms ease, border-color 150ms ease, background-color 150ms ease;
}
.newsletter-btn:hover, .newsletter-btn:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.08);
}

/* Large image placeholder that will later link out */
.newsletter-heroimg { display: flex; justify-content: center; }
.newsletter-heroimg__box {
  width: min(1200px, calc(100% - 32px));
  aspect-ratio: 16/9;
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,0.18);
  background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.03));
  display: grid; place-items: center; color: rgba(255,255,255,0.6); font-weight: 700;
}

/* The rest of the page reuses About page classes:
   .about-purpose, .about-grid, .about-funding, .funding-wrap,
   .sponsors, .about-community, etc. */

  /* --- Calendar page --- */
.calendar { padding: 32px 0 80px; display: flex; flex-direction: column; gap: 28px; }

/* Hero */
.calendar-hero {
  width: min(1100px, calc(100% - 32px));
  margin: 0 auto;
  padding: 48px 40px;
  border-radius: 40px;
  background: linear-gradient(140deg, rgba(255,255,255,0.12), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.15);
  position: relative; overflow: hidden; text-align: center;
}
.calendar-hero::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(255,255,255,0.28), transparent 60%);
  opacity: .7;
}
.calendar-hero__content { position: relative; z-index: 1; }
.calendar-hero h1 { margin: 0; font-size: clamp(28px, 4vw, 44px); font-weight: 800; letter-spacing: -0.02em; }
.calendar-hero__desc { margin: 10px auto 0; max-width: 65ch; color: rgba(255,255,255,0.86); font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }

/* Event list */
.events { display: flex; justify-content: center; }
.events__list {
  width: min(1100px, calc(100% - 32px));
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: 18px;
}

.event {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 20px 22px;
  border-radius: 999px;
  border: 2px solid rgba(255,255,255,0.22);
  background: #0f0f10;
  transition: transform 140ms ease, border-color 140ms ease, background-color 140ms ease, color 140ms ease;
}
.event__left { min-width: 0; }
.event__title { margin: 0 0 4px; font-weight: 800; font-size: 18px; color: rgba(255,255,255,0.95); }
.event__meta  { margin: 0; color: rgba(255,255,255,0.78); }
.event__right { text-align: right; display: grid; gap: 10px; justify-items: end; }
.event__when  { margin: 0; font-weight: 800; color: rgba(255,255,255,0.85); }
.event__when span { font-size: 18px; }

.event:hover, .event:focus-within {
  transform: translateY(-1px);
  border-color: rgba(255,255,255,0.6);
  background: #141414;
}
.event:hover .event__title,
.event:focus-within .event__title { color: #fff; }

/* Add to Google Calendar button */
.event__btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff; text-decoration: none;
  font-weight: 700; font-size: 14px;
  transition: transform 120ms ease, border-color 120ms ease, background-color 120ms ease;
}
.event__btn:hover, .event__btn:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.08);
}

@media (max-width: 720px) {
  .event {
    grid-template-columns: 1fr;
    text-align: left;
    border-radius: 24px;
  }
  .event__right { justify-items: start; text-align: left; }
}

/* Calendar widget (Google embed) */
.calendar-widget { display: flex; justify-content: center; }
.calendar-frame-wrap {
  width: min(1200px, calc(100% - 32px));
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 18px;
  overflow: hidden;
  background: #0f0f0f;
}
.calendar-frame {
  width: 100%;
  height: 720px;           /* adjust if you want it taller/shorter */
  display: block;
}

/* ====== HOME PAGE (scoped, no conflicts) ====== */
.home { display: flex; flex-direction: column; gap: 40px; padding: 0 0 80px; }

/* HERO over banner */
.home-hero {
  position: relative; isolation: isolate;
  min-height: 44vh;
  display: grid; place-items: center;
  overflow: hidden;
}
.home-hero__bg {
  position: absolute; inset: 0; z-index: -1;
  /* swap this with a real image later */
  background: url("") center/cover no-repeat, linear-gradient(180deg, #444, #222);
  opacity: 0.85;
}
.home-hero__content { text-align: center; padding-inline: 16px; }
.home-hero__content h1 {
  margin: 0;
  font-size: clamp(40px, 7.5vw, 88px);
  font-weight: 800; letter-spacing: -0.02em; line-height: 1.02;
}
.home-hero__sub {
  margin-top: 10px;
  font-size: clamp(16px, 2.2vw, 28px);
  color: rgba(255,255,255,0.92); font-weight: 600;
}

/* WHO ARE WE */
.home-who { display: flex; justify-content: center; }
.home-who__grid {
  width: min(1200px, calc(100% - 32px));
  display: grid; gap: 24px; align-items: center;
  grid-template-columns: 1fr 1.2fr;
}
@media (max-width: 900px) { .home-who__grid { grid-template-columns: 1fr; } }
.home-who__img {
  aspect-ratio: 16/11; border-radius: 24px;
  border: 1px solid rgba(255,255,255,0.18);
  background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.03));
  display: grid; place-items: center; color: rgba(255,255,255,0.7); font-weight: 700;
}
.home-who__copy h2 { margin: 0 0 6px; font-size: clamp(22px, 3vw, 36px); font-weight: 800; }
.home-who__copy p { margin: 0; color: rgba(255,255,255,0.86); }

/* WANT TO LEARN MORE – tiles (separate from your global .tile) */
.home-tiles-wrap { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.home-tiles-title { margin: 0; font-size: clamp(22px, 3vw, 32px); font-weight: 900; text-align: center; }
.home-tiles {
  width: min(1200px, calc(100% - 32px));
  display: grid; gap: 18px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
@media (max-width: 1000px) { .home-tiles { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .home-tiles { grid-template-columns: 1fr; } }
.home-tile {
  position: relative; overflow: hidden;
  border-radius: 18px; border: 1px solid rgba(255,255,255,0.18);
  background: #0f0f0f; text-decoration: none; color: #fff;
  display: grid; grid-template-rows: 1fr auto;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}
.home-tile:hover, .home-tile:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(255,255,255,0.5);
  box-shadow: 0 8px 24px rgba(0,0,0,0.35);
}
.home-tile__img {
  aspect-ratio: 16/11;
  display: grid; place-items: center;
  color: rgba(255,255,255,0.6); font-weight: 700;
  background: linear-gradient(120deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
}
.home-tile__label {
  padding: 12px 14px; font-weight: 800; text-align: center;
}

/* SPLIT: left content + right image */
.home-split { display: flex; justify-content: center; }
.home-split { --w: min(1200px, calc(100% - 32px)); }
.home-split {
  width: var(--w);
  display: grid; gap: 24px;
  grid-template-columns: 1.2fr 1fr;
  align-items: start;
}
@media (max-width: 1000px) { .home-split { grid-template-columns: 1fr; } }

.home-split__photo {
  aspect-ratio: 4/5; border-radius: 24px;
  border: 1px solid rgba(255,255,255,0.18);
  background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.03));
  display: grid; place-items: center; color: rgba(255,255,255,0.7); font-weight: 700;
}

/* schedule text */
.home-schedule__line { margin: 0 0 16px; color: rgba(255,255,255,0.9); }

/* Upcoming events title (reuses your .events__list/.event styles) */
.home-upcoming__title {
  margin: 8px 0 10px; font-size: clamp(20px, 2.6vw, 32px);
  font-weight: 900; text-transform: uppercase; letter-spacing: .06em;
}

/* --- FIX: Who are we = image left, text right, each half --- */
.home-who__grid {
  grid-template-columns: 1fr 1fr;   /* equal halves */
}
.home-who__img { width: 100%; }
.home-who__copy { width: 100%; }

/* --- FIX: “Want to learn more?” centered + tiles are SQUARES, compact --- */
.home-tiles-wrap { align-items: center; }
.home-tiles-title { text-align: center; }

/* 4 equal squares; keep footprint short */
.home-tiles {
  width: min(1000px, calc(100% - 32px)); /* a bit narrower so it feels centered */
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
@media (max-width: 1000px) { .home-tiles { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .home-tiles { grid-template-columns: 1fr; } }

/* make each tile square and avoid tall rectangles */
.home-tile__img { aspect-ratio: 1 / 1; }     /* square image area */
.home-tile__label { padding: 10px 12px; }    /* tighter label so total height stays compact */

/* --- FIX: Left column (schedule + upcoming) only left half; right = image --- */
.home-split {
  grid-template-columns: 1fr 1fr;            /* exact halves */
}

/* let the event list use available width in the left column */
.home-split .events__list { max-width: none; }

/* tighten event card spacing a tad on home so the block is not tall */
.home-split .event { padding: 16px 18px; gap: 14px; }
.home-split .event__title { font-size: 16px; }
.home-split .event__when span { font-size: 16px; }


/* --- Top bar layout to match screenshot (navy strip, icons left, logo center, menu right) --- */
.topbar {
  background: #1F2B46;                /* navy */
  border-bottom: none;
}
.topbar__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 16px;
  display: grid;
  grid-template-columns: auto 1fr auto; /* left | center | right */
  align-items: center;
  gap: 12px;
}
.topbar__left {
  display: flex; gap: 12px; align-items: center;
}
.topbar__right { display: flex; align-items: center; justify-content: flex-end; }

/* Center logo placeholder */
.topbar__logo { justify-self: center; text-decoration: none; }
.logo-placeholder {
  width: 120px; height: 44px;          /* tweak as needed */
  border-radius: 6px;
  background: rgba(255,255,255,0.06);
  display: grid; place-items: center;
  color: #fff; font-weight: 800; letter-spacing: .08em;
}

/* Round social icon style (no labels) */
.social--circle {
  width: 42px; height: 42px; padding: 0;
  border-radius: 50%;
  border: none;
  background: #D6DEE9;                 /* light circle like the mock */
  color: #25314F;
  display: grid; place-items: center;
}
.social--circle svg { width: 20px; height: 20px; fill: currentColor; opacity: 1; }
.social--circle:hover { transform: translateY(-1px); }

/* Keep your existing hamburger, but nudge contrast for navy bar */
.hamburger { border-color: rgba(255,255,255,0.35); }
.hamburger .bar { background: rgba(255,255,255,0.85); }


/* Topbar socials should match Contacts icon buttons */
.topbar__left .social {
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 16px;                           /* rounded square */
  border: 1px solid rgba(255,255,255,0.22);
  background: #0f0f0f;                           /* same dark tile as contacts */
  color: #fff;
  display: grid;
  place-items: center;
  transition: transform 150ms ease, border-color 150ms ease, background-color 150ms ease;
}
.topbar__left .social:hover,
.topbar__left .social:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(255,255,255,0.5);
  background: #141414;
}

/* Make the glyphs line-style like Contacts */
.topbar__left .social svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.topbar__left .social svg * {
  fill: none !important;
  stroke: currentColor !important;
}
/* Center the bottom split section on Home */
.home-split{
  width: min(1200px, calc(100% - 32px)); /* same centering as other blocks */
  margin: 0 auto;                        /* centers the whole section */
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
}

/* Ensure the image column doesn't force extra width */
.home-split__right,
.home-split__left { min-width: 0; }

/* Just in case any list defaults are adding shift */
.home-split .events__list { margin: 0; padding: 0; }

/* --- Footer bar --- */
.site-footer {
  background: #1F2B46;         /* navy like screenshot */
  color: #E9EEF5;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.site-footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 16px;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 16px;
}
.footer__brand { text-decoration: none; color: inherit; display: inline-block; }
.footer-logo {
  width: 120px; height: 44px; border-radius: 6px;
  background: rgba(255,255,255,0.06);
  display: grid; place-items: center; font-weight: 800; letter-spacing: .08em;
}
.footer-logo__img { height: 40px; width: auto; display: block; object-fit: contain; }

.footer__right {
  display: flex; align-items: center; justify-content: flex-end;
  gap: 12px;
}
.footer__cta { font-size: 20px; font-weight: 600; margin-right: 6px; }

/* Make footer icons match the Contacts page style */
.site-footer .icon-btn.footer-icon {
  width: 42px; height: 42px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.22);
  background: #0f0f0f;         /* same dark tile as Contacts */
  color: #fff;
  display: grid; place-items: center;
  transition: transform 150ms ease, border-color 150ms ease, background-color 150ms ease;
}
.site-footer .icon-btn.footer-icon:hover,
.site-footer .icon-btn.footer-icon:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(255,255,255,0.5);
  background: #141414;
}
.site-footer .icon-btn.footer-icon svg {
  width: 22px; height: 22px;
  stroke: currentColor; fill: none; stroke-width: 1.6;
  stroke-linecap: round; stroke-linejoin: round;
}
.site-footer .icon-btn.footer-icon svg * { fill: none !important; stroke: currentColor !important; }

/* Mobile: stack nicely if cramped */
@media (max-width: 520px) {
  .footer__cta { display: none; } /* hide text on tiny screens */
}

/* Topbar socials styled like Contacts/footers (rounded squares, line icons) */
.topbar__left .social {
  width: 44px; height: 44px;
  padding: 0;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.22);
  background: #0f0f0f;
  color: #fff;
  display: grid; place-items: center;
  transition: transform 150ms ease, border-color 150ms ease, background-color 150ms ease;
}
.topbar__left .social:hover,
.topbar__left .social:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(255,255,255,0.5);
  background: #141414;
}
.topbar__left .social svg {
  width: 22px; height: 22px;
  stroke: currentColor; fill: none; stroke-width: 1.6;
  stroke-linecap: round; stroke-linejoin: round;
}
.topbar__left .social svg * {
  fill: none !important;
  stroke: currentColor !important;
}





