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

/* Sticky-footer layout */
html,
body {
  height: 100%;
}

body {
  font-family: "IBM Plex Sans", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.65em;
  color: #181819;
  background-color: #ffffff;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

a {
  color: #c80067;
  text-decoration: none;
}

a:hover {
  color: #148ac0;
}

/* ── Navigation Bar ───────────────────────────────────────────────── */
nav {
  background-color: #ffffff;
  border-bottom: 1px solid #cbd5e1;
  padding: 15px 20px;
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 30px;
}

.nav-logo {
  flex-shrink: 0;
  display: block;
}

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

nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 30px;
  padding: 0;
  margin: 0;
}

nav ul li a {
  font-size: 13px;
  font-weight: 600;
  color: #181819;
  padding: 14px 20px;
  border-radius: 6px;
  transition: all 0.2s ease;
}

nav ul li a:hover {
  background-color: #181819;
  color: #ffffff;
}

nav ul li.join-link a {
  background-color: #f9d000;
  color: #181819;
}

nav ul li.join-link a:hover {
  background-color: #181819;
  color: #ffffff;
}

/* ── Main Content ─────────────────────────────────────────────────── */
main {
  flex: 1 0 auto;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px;
}

.hero-image {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 40px;
}

h1 {
  font-size: 42px;
  font-weight: 800;
  line-height: 1.4em;
  color: #181819;
  margin-bottom: 15px;
}

h2 {
  font-size: 25px;
  font-weight: 600;
  line-height: 1.2em;
  color: #c80067;
  margin-bottom: 20px;
}

h3 {
  font-size: 20px;
  font-weight: 900;
  color: #181819;
  margin-bottom: 8px;
}

.body-text {
  font-size: 16px;
  line-height: 1.65em;
  color: #181819;
}

p + p,
p + ul,
ul + p {
  margin-top: 16px;
}

/* Intro lede */
.lede {
  font-size: 19px;
  font-weight: 600;
  line-height: 1.5em;
  color: #181819;
  margin-bottom: 30px;
}

/* ── Facts Not Fear — Landing Page ───────────────────────────────── */
.fnf-hero {
  max-width: 780px;
  margin: 2.5rem auto 3rem;
  padding: 0 1.25rem;
  text-align: center;
}

.fnf-hero h1 {
  font-size: clamp(2.2rem, 6vw, 3.5rem);
  font-weight: 900;
  color: #c80067;
  margin-bottom: 0.5rem;
}

.fnf-hero-sub {
  font-size: 1.2rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 1rem;
}

.fnf-hero-body {
  font-size: 1rem;
  color: #444;
  line-height: 1.7;
}

.fnf-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto 3rem;
  padding: 0 1.25rem;
}

.fnf-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 2px solid #e8e8e8;
  border-radius: 8px;
  padding: 1.5rem;
  text-decoration: none;
  color: inherit;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.fnf-card:hover {
  border-color: #c80067;
  box-shadow: 0 4px 16px rgba(200, 0, 103, 0.12);
  transform: translateY(-3px);
}

.fnf-card-number {
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  color: #c80067;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.fnf-card h2 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 0.6rem;
}

.fnf-card-myth {
  font-size: 0.9rem;
  font-style: italic;
  color: #888;
  margin: 0 0 0.75rem;
  padding-left: 0.75rem;
  border-left: 3px solid #e8e8e8;
}

.fnf-card-fact {
  font-size: 0.92rem;
  color: #333;
  line-height: 1.6;
  flex-grow: 1;
  margin: 0 0 1.25rem;
}

.fnf-card-cta {
  font-size: 0.88rem;
  font-weight: 700;
  color: #c80067;
  margin-top: auto;
}

.fnf-card:hover .fnf-card-cta {
  text-decoration: underline;
}

.fnf-footer-note {
  max-width: 780px;
  margin: 0 auto 3rem;
  padding: 0 1.25rem;
  font-size: 0.88rem;
  color: #666;
  text-align: center;
  line-height: 1.7;
}

.fnf-footer-note a {
  color: #c80067;
  text-decoration: underline;
}

/* ── Sub-page detail styles ──────────────────────────────────────── */
.breadcrumb {
  font-size: 13px;
  color: #555;
  margin-bottom: 24px;
}

.breadcrumb a {
  color: #c80067;
}

.myth-box {
  background-color: #fff3f8;
  border-left: 4px solid #c80067;
  border-radius: 0 8px 8px 0;
  padding: 20px 24px;
  margin: 24px 0;
}

.myth-box .myth-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #c80067;
  margin-bottom: 6px;
}

.myth-box p {
  font-size: 17px;
  font-weight: 600;
  font-style: italic;
  color: #181819;
  margin: 0;
}

.stats-strip {
  background-color: #181819;
  color: #ffffff;
  border-radius: 8px;
  padding: 24px 28px;
  margin: 28px 0;
}

.stats-strip h2 {
  color: #f9d000;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 14px;
}

.stats-strip ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.stats-strip ul li {
  padding-left: 22px;
  position: relative;
  font-size: 15px;
  line-height: 1.5em;
}

.stats-strip ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #f9d000;
  font-weight: 700;
}

.graphic-block {
  background-color: #f0f4f8;
  border: 2px dashed #cbd5e1;
  border-radius: 8px;
  padding: 0;
  margin: 28px 0;
  overflow: hidden;
  text-align: center;
}

.graphic-block img {
  width: 100%;
  height: auto;
  display: block;
}

.graphic-block .graphic-caption {
  font-size: 13px;
  color: #555;
  padding: 10px 16px;
  font-style: italic;
}

.sources-box {
  background-color: #f9f9f9;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 20px 24px;
  margin-top: 36px;
}

.sources-box h3 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #555;
  margin-bottom: 10px;
}

.sources-box ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sources-box ul li {
  font-size: 14px;
}

.subpage-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid #cbd5e1;
}

.subpage-nav a {
  font-size: 14px;
  font-weight: 600;
  color: #c80067;
}

.subpage-nav a:hover {
  color: #148ac0;
}

/* ── Footer Bar ───────────────────────────────────────────────────── */
footer {
  flex-shrink: 0;
  background-color: #f9f9f9;
  border-top: 1px solid #cbd5e1;
  padding: 20px 20px 40px 20px;
  margin-top: 50px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.social-icons {
  display: flex;
  gap: 12px;
}

.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #148ac0;
  transition: opacity 0.2s;
}

.social-icons a:hover {
  opacity: 0.7;
}

.social-icons svg {
  width: 30px;
  height: 30px;
  fill: currentColor;
}

.footer-privacy a {
  font-size: 16px;
  color: #181819;
}

.footer-privacy a:hover {
  color: #c80067;
}

.footer-copyright {
  font-size: 16px;
  color: #181819;
  text-align: right;
}

/* ── Event Details Card ───────────────────────────────────────────── */
.event-card {
  background-color: #f9f9f9;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 30px;
  margin: 30px 0;
}

.event-detail {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid #e2e8f0;
}

.event-detail:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.event-detail:first-child {
  padding-top: 0;
}

.event-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #c80067;
}

.event-icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.detail-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #64748b;
  margin-bottom: 2px;
}

.detail-value {
  display: block;
  font-size: 18px;
  font-weight: 600;
  color: #181819;
}

.email-link {
  color: #c80067;
}

.email-link:hover {
  color: #148ac0;
}

/* ── FAQ Section ─────────────────────────────────────────────────── */
.faq-section {
  margin-top: 50px;
}

.faq-section h3 {
  font-size: 30px;
  font-weight: 900;
  color: #181819;
  margin-bottom: 20px;
}

.faq-item {
  border-bottom: 1px solid #e2e8f0;
}

.faq-item summary {
  padding: 18px 0;
  font-size: 17px;
  font-weight: 600;
  color: #181819;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 22px;
  font-weight: 400;
  color: #c80067;
  flex-shrink: 0;
  margin-left: 16px;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item summary:hover {
  color: #c80067;
}

.faq-item p {
  padding: 0 0 18px 0;
  font-size: 16px;
  line-height: 1.65em;
  color: #181819;
}

.faq-item p a {
  color: #c80067;
}

.faq-item p a:hover {
  color: #148ac0;
}

/* ── Post-event status tag ───────────────────────────────────────── */
.event-status-tag {
  display: inline-block;
  background-color: #f9d000;
  color: #181819;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 24px;
}

/* ── Event quotes ────────────────────────────────────────────────── */
.event-quote {
  background-color: #fff3f8;
  border-left: 4px solid #c80067;
  border-radius: 0 8px 8px 0;
  padding: 20px 24px;
  margin: 28px 0;
}

.event-quote p {
  font-size: 18px;
  font-weight: 600;
  font-style: italic;
  line-height: 1.55em;
  color: #181819;
  margin: 0 0 12px;
}

.event-quote cite {
  display: block;
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
  color: #c80067;
}

/* ── Get involved links ──────────────────────────────────────────── */
.get-involved-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0;
}

.get-involved-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #f9f9f9;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 600;
  color: #181819;
  text-decoration: none;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.get-involved-link:hover {
  border-color: #c80067;
  background-color: #fff3f8;
  color: #c80067;
}

.get-involved-link svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  flex-shrink: 0;
}

.get-involved-link--primary {
  background-color: #c80067;
  color: #ffffff !important;
  border-color: #c80067;
}

.get-involved-link--primary:hover {
  background-color: #a0004f;
  border-color: #a0004f;
  color: #ffffff !important;
}

.get-involved-link--primary svg {
  fill: #ffffff;
}

/* ── Get involved section ────────────────────────────────────────── */
.get-involved-section {
  margin-bottom: 20px;
}

.get-involved-section h3 {
  font-size: 26px;
  font-weight: 900;
  color: #181819;
  margin-bottom: 10px;
}

/* ── Photo Gallery ───────────────────────────────────────────────── */
.gallery-section {
  margin-top: 50px;
}

.gallery-section h3 {
  font-size: 30px;
  font-weight: 900;
  color: #181819;
  margin-bottom: 8px;
}

.gallery-intro {
  margin-bottom: 24px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 8px;
}

.gallery-item {
  display: block;
  border-radius: 6px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background-color: #f0f4f8;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

/* CSS-only lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background-color: rgba(24, 24, 25, 0.93);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  z-index: 1000;
  transition: opacity 0.2s ease;
}

.lightbox:target {
  opacity: 1;
  visibility: visible;
}

.lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  width: auto;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 28px;
  font-size: 44px;
  line-height: 1;
  color: #ffffff;
  font-weight: 300;
  text-decoration: none;
}

.lightbox-close:hover {
  color: #f9d000;
}

/* ── Hero Carousel ───────────────────────────────────────────────── */
.carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 12px;
  margin-bottom: 36px;
  background-color: #181819;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease;
  will-change: transform;
}

.carousel-slide {
  min-width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(24, 24, 25, 0.55);
  color: #ffffff;
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease;
  z-index: 10;
}

.carousel-btn:hover {
  background-color: #c80067;
}

.carousel-btn--prev { left: 12px; }
.carousel-btn--next { right: 12px; }

.carousel-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background-color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  padding: 0;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.carousel-dot.active {
  background-color: #ffffff;
  transform: scale(1.3);
}

/* ── Values grid ─────────────────────────────────────────────────── */
.values-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 36px;
  margin-bottom: 40px;
}

.value-card {
  flex: 1 1 200px;
  background-color: #f9f9f9;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 24px;
}

.value-card h3 {
  font-size: 20px;
  font-weight: 900;
  color: #c80067;
  margin-bottom: 8px;
}

.value-card p {
  font-size: 15px;
  line-height: 1.6em;
  margin: 0;
}

/* ── Unity event highlight block ─────────────────────────────────── */
.highlight-block {
  background-color: #fff3f8;
  border: 1px solid #f0c0d8;
  border-radius: 10px;
  padding: 32px;
  margin-bottom: 40px;
}

.highlight-block h3 {
  font-size: 24px;
  font-weight: 900;
  color: #181819;
  margin: 12px 0 12px;
}

.highlight-block p {
  font-size: 16px;
  line-height: 1.65em;
  color: #181819;
  margin-bottom: 20px;
}

.cta-btn {
  display: inline-block;
  background-color: #c80067;
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  padding: 12px 22px;
  border-radius: 6px;
  transition: background-color 0.2s ease;
}

.cta-btn:hover {
  background-color: #a0004f;
}

/* ── Responsive ───────────────────────────────────────────────────── */
@media (max-width: 600px) {
  nav {
    flex-direction: column;
    gap: 15px;
  }

  .nav-logo img {
    height: 40px;
  }

  nav ul {
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 100%;
  }

  nav ul li {
    text-align: center;
    width: 100%;
  }

  nav ul li a {
    display: inline-block;
    width: 100%;
    text-align: center;
  }

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

  .footer-copyright {
    text-align: center;
  }

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

  .event-card {
    padding: 20px;
  }

  .detail-value {
    font-size: 16px;
  }

  .faq-section h3 {
    font-size: 24px;
  }

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

  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 5px;
  }

  .gallery-section h3 {
    font-size: 24px;
  }

  .get-involved-links {
    flex-direction: column;
  }

  .carousel-slide {
    aspect-ratio: 4 / 3;
  }

  .carousel-btn {
    width: 36px;
    height: 36px;
    font-size: 22px;
  }

  .values-grid {
    flex-direction: column;
  }

  .highlight-block {
    padding: 22px;
  }
}
