@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;700;900&display=swap');

/* =========================================================
   YOUTH DATA HUB — Global Color Tokens
========================================================= */

:root {
  --purple: #3D1F6E;
  --purple-mid: #5B2D9E;
  --gold: #F5A623;
  --gold-light: #FDF3DC;
  --ink: #1A1A1A;
  --ink-light: #4A4A4A;
  --white: #FFFFFF;
  --off-white: #F8F5F0;
  --border: #E5E0D8;
  --teal: #0FA39A;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 12px;
  --radius-xl: 12px;

  --shadow-card: 0 2px 8px rgba(0, 0, 0, 0.06);

  --t: all 0.25s ease;
}


/* =========================================================
   Base + Typography
========================================================= */

* {
  box-sizing: border-box;
}

html {
  overflow-x: hidden !important;
  width: 100%;
  max-width: 100%;
}

body {
  margin: 0;
  padding: 0;
  background: var(--off-white);
  color: var(--ink);
  font-family: 'Outfit', system-ui, sans-serif;
  font-weight: 400;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
}

body.nav-menu-open {
  overflow-x: hidden;
}

h1, h2, h3 {
  margin: 0;
  font-weight: 900;
}

.section-title {
  text-align: center;
  font-size: 2rem;
  font-weight: 900;
  color: var(--ink);
  margin-bottom: 1.4rem;
}

.section-title-white {
  color: var(--white);
}


/* =========================================================
   Global Navigation
========================================================= */

.nav {
  width: 100%;
  background: var(--purple);
  position: sticky;
  top: 0;
  z-index: 999;
  border-bottom: none;
}

.nav-inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0.9rem 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.nav-home-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--white);
}

.nav-home-link:hover {
  opacity: 0.9;
}

.nav-logo {
  width: auto;
  height: 44px;
  display: block;
  flex-shrink: 0;
}

.nav-brand {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  line-height: 1.2;
}

.nav-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  font-family: 'Outfit', system-ui, sans-serif;
}

.nav-subline {
  font-size: 0.7rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.8);
  font-family: 'Outfit', system-ui, sans-serif;
  max-width: 220px;
}

.nav-right {
  display: flex;
  gap: 1.4rem;
}

.nav-link {
  text-decoration: none;
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 400;
  font-family: 'Outfit', system-ui, sans-serif;
}

.nav-link:hover {
  color: var(--gold);
}

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

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
}


/* =========================================================
   Hero Section
========================================================= */

.hero {
  display: flex;
  padding: 4rem 5%;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  background: var(--purple);
  color: var(--white);
}

.hero-left {
  flex: 1;
  max-width: 520px;
}

.hero-eyebrow {
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 0.8rem;
}

.hero-title {
  font-size: 3rem;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1rem;
  color: var(--white);
}

.hero-body {
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.5;
  font-size: 1.1rem;
}

.hero-cta-row {
  margin-top: 2rem;
  display: flex;
  gap: 1rem;
}

.btn-primary {
  background: var(--purple);
  padding: 0.8rem 1.7rem;
  border-radius: 999px;
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
  border: 2px solid var(--purple);
  transition: var(--t);
}

.btn-primary:hover {
  background: var(--purple-mid);
  border-color: var(--purple-mid);
}

.hero .btn-primary {
  background: var(--white);
  color: var(--purple);
  border-color: var(--white);
}

.hero .btn-primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  color: var(--purple);
}

.btn-secondary {
  padding: 0.8rem 1.7rem;
  border-radius: 999px;
  border: 2px solid var(--purple);
  color: var(--purple);
  background: var(--white);
  text-decoration: none;
  font-weight: 700;
  transition: var(--t);
}

.btn-secondary:hover {
  background: var(--off-white);
}

.hero .btn-secondary {
  border-color: var(--white);
  color: var(--white);
  background: transparent;
}

.hero .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
}

.hero-right {
  flex: 1;
  height: 350px;
  border-radius: var(--radius-md);
  background: transparent;
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 100%;
}

.hero-graphic-svg {
  display: block;
  width: 100%;
  height: 100%;
}


/* =========================================================
   Identity Selector / Filter Chips
========================================================= */

.identity-section {
  padding: 3rem 5%;
  text-align: center;
  background: var(--white);
}

.identity-pills {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.identity-pill,
.filter-pill {
  padding: 0.8rem 1.6rem;
  border-radius: 999px;
  border: 2px solid var(--purple);
  color: var(--purple);
  background: var(--white);
  font-weight: 700;
  cursor: pointer;
  transition: var(--t);
  text-decoration: none;
  display: inline-block;
  font-family: 'Outfit', system-ui, sans-serif;
}

.identity-pill:hover,
.filter-pill:hover {
  background: var(--off-white);
}

.identity-pill.active,
.filter-pill.active {
  background: var(--purple);
  color: var(--white);
  border-color: var(--purple);
}


/* =========================================================
   Intro Section
========================================================= */

.intro-section {
  text-align: center;
  padding: 3rem 5%;
  max-width: 800px;
  margin: auto;
  background: var(--off-white);
}

.intro-body {
  color: var(--ink-light);
  line-height: 1.6;
  font-size: 1.1rem;
  margin-top: 1rem;
}


/* =========================================================
   Navigation Card Grid
========================================================= */

.nav-card-section {
  padding: 3rem 5%;
  background: var(--white);
}

.nav-card-grid {
  display: grid;
  gap: 1.8rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.nav-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 2rem;
  text-decoration: none;
  color: var(--ink);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  transition: var(--t);
}

.nav-card:hover {
  border-color: var(--purple-mid);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.nav-card-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--purple);
  margin-bottom: 0.6rem;
}


/* =========================================================
   What's Happening
========================================================= */

.whats-happening {
  padding: 4rem 5%;
  background: var(--off-white);
}

.update-cards {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.update-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 1.8rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  transition: var(--t);
}

.update-card:hover {
  border-color: var(--purple-mid);
}

.update-card h3 {
  color: var(--purple);
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.update-card p {
  color: var(--ink-light);
}


/* =========================================================
   Tools Section
========================================================= */

.tools-section {
  background: var(--purple);
  padding: 4rem 5%;
  text-align: center;
  color: var(--white);
}

.tool-grid {
  display: grid;
  gap: 1.8rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  margin-top: 2rem;
}

.tool-card-dark {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 2rem;
  text-align: center;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  transition: var(--t);
}

.tools-section .tool-card-dark {
  text-align: left;
  border-top: 4px solid var(--gold);
}

.tools-section .tool-card-icon {
  display: block;
  padding-bottom: 0.75rem;
}

.tool-card-dark:hover {
  border-color: var(--purple-mid);
}

.tool-icon-white svg {
  fill: var(--purple);
  width: 48px;
  height: 48px;
  margin-bottom: 1rem;
}

.tool-title-white {
  color: var(--ink);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.tool-text-light {
  color: var(--ink-light);
}

.tool-link {
  display: inline-block;
  margin-top: 0.5rem;
  font-weight: 700;
  color: var(--purple);
  text-decoration: underline;
}

.tools-section .tool-link {
  color: var(--purple);
}


/* =========================================================
   Data Directory Teaser
========================================================= */

.directory-teaser {
  padding: 5rem 5%;
  text-align: center;
  background: var(--gold-light);
}

.directory-body {
  max-width: 700px;
  margin: 1rem auto 2rem;
  color: var(--ink-light);
  font-size: 1.1rem;
  line-height: 1.5;
}

.directory-cta {
  display: inline-block;
  padding: 0.9rem 1.7rem;
  background: var(--purple);
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
  border-radius: 999px;
  transition: var(--t);
}

.directory-cta:hover {
  background: var(--purple-mid);
}


/* =========================================================
   Youth Spotlight
========================================================= */

.youth-spotlight {
  background: var(--white);
  padding: 4rem 5%;
}

.spotlight-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 3rem;
  max-width: 700px;
  margin: auto;
  position: relative;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  width: 100%;
}

.spotlight-quote {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--purple);
}

.spotlight-author {
  color: var(--ink-light);
  margin-top: 0.8rem;
}

.spotlight-silhouette {
  position: absolute;
  right: -20px;
  bottom: -10px;
  width: 180px;
  height: 300px;
  opacity: 0.08;
  background: var(--purple);
  border-radius: 80px;
  transform: rotate(8deg);
}


/* =========================================================
   Ways to Engage
========================================================= */

.ways-to-engage {
  padding: 4rem 5%;
  background: var(--off-white);
}

.engage-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.engage-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 1.8rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  transition: var(--t);
}

.engage-card:hover {
  border-color: var(--purple-mid);
}

.engage-link {
  color: var(--purple);
  font-weight: 700;
  text-decoration: none;
}


/* =========================================================
   Designed With Youth — Stats Section
========================================================= */

.designed-by-youth {
  padding: 4rem 5%;
  background: var(--gold-light);
  text-align: center;
}

.stats-grid {
  display: flex;
  gap: 3rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.stat-number {
  font-size: 3rem;
  font-weight: 900;
  color: var(--purple);
}

.stat-label {
  color: var(--ink-light);
}


/* =========================================================
   Footer
========================================================= */

.footer {
  background: var(--purple);
  color: var(--white);
  padding: 3rem 5%;
  text-align: center;
}

.footer-title {
  font-size: 1.8rem;
  font-weight: 900;
}

.footer-body {
  max-width: 700px;
  margin: 1rem auto 0;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
}


/* =========================================================
   GET INVOLVED — Hero
========================================================= */

.gi-hero {
  padding: 4rem 5%;
  text-align: center;
  background: var(--purple);
  color: var(--white);
}

.gi-hero-title {
  font-size: 2.8rem;
  font-weight: 900;
  margin-bottom: 1rem;
  color: var(--white);
}

.gi-hero-body {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.15rem;
  max-width: 750px;
  margin: 0 auto;
}


/* =========================================================
   GET INVOLVED – Sections
========================================================= */

.gi-section {
  padding: 4rem 5%;
  display: flex;
  justify-content: center;
}

.gi-bg-lavender {
  background: var(--white);
}

.gi-bg-light {
  background: var(--off-white);
}

.gi-container {
  max-width: 850px;
  text-align: center;
}

.gi-body {
  margin: 1rem auto 2.5rem;
  max-width: 650px;
  color: var(--ink-light);
  font-size: 1.1rem;
  line-height: 1.6;
}

.gi-btn {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 0.9rem 2.4rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1.05rem;
}


/* =========================================================
   Features Grid
========================================================= */

.gi-features-grid {
  margin: 3rem auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.7rem;
  max-width: 900px;
}

.gi-feature-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 1.7rem;
  text-align: left;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  transition: var(--t);
}

.gi-feature-card:hover {
  border-color: var(--purple-mid);
}

.gi-feature-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--purple);
  margin-bottom: 0.5rem;
}

.gi-feature-card p {
  font-size: 1rem;
  color: var(--ink-light);
}


/* =========================================================
   Persona Pathways
========================================================= */

.persona-hero {
  padding: 4rem 5%;
  text-align: center;
  background: var(--purple);
  color: var(--white);
}

.persona-title {
  font-size: 2.6rem;
  font-weight: 900;
  color: var(--white);
}

.persona-body {
  max-width: 680px;
  margin: 1rem auto 2rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.15rem;
}

.persona-pill-row {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.persona-pill {
  padding: 0.8rem 1.6rem;
  border-radius: 999px;
  background: var(--white);
  border: 2px solid var(--purple);
  font-weight: 700;
  text-decoration: none;
  color: var(--purple);
  transition: var(--t);
}

.persona-hero .persona-pill {
  border-color: var(--white);
  color: var(--white);
  background: transparent;
}

.persona-hero .persona-pill:hover {
  background: rgba(255, 255, 255, 0.12);
}

.persona-pill:hover {
  background: var(--off-white);
}

.persona-section {
  padding: 4rem 5%;
}

.bg-alt {
  background: var(--off-white);
}

.persona-box {
  max-width: 760px;
  margin: auto;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 2.5rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
}

.persona-section-title {
  font-size: 2rem;
  font-weight: 900;
  color: var(--ink);
}

.persona-section-body {
  color: var(--ink-light);
  margin: 1rem 0 2rem;
  font-size: 1.1rem;
}

.persona-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.persona-link {
  padding: 0.75rem 1.6rem;
  background: var(--white);
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  color: var(--purple);
  border: 2px solid var(--purple);
  transition: var(--t);
}

.persona-link:hover {
  background: var(--purple);
  color: var(--white);
}


/* =========================================================
   GOVERNANCE PAGE STYLES
========================================================= */

.hero-small {
  padding: 3rem 5% 2rem;
  background: var(--purple);
  color: var(--white);
}

.hero-small .section-title,
.hero-small h1,
.hero-small h2 {
  color: var(--white);
}

.gov-grid-section {
  padding: 3rem 5%;
  background: var(--white);
}

.gov-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.gov-card {
  padding: 2rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  background: var(--white);
}

.gov-card h3 {
  font-weight: 700;
  margin-bottom: 1rem;
}

.gov-card ul {
  padding-left: 1.2rem;
  color: var(--ink-light);
}

.gov-card li {
  margin-bottom: 0.4rem;
}

.gov-orange {
  border-left: 6px solid #F97316;
}

.gov-blue {
  border-left: 6px solid #3B82F6;
}

.gov-green {
  border-left: 6px solid #10B981;
}

.gov-gray {
  border-left: 6px solid #6B7280;
}


/* =========================================================
   Page Heroes & Shared Layout
========================================================= */

.page-hero {
  padding: 4rem 5%;
  background: var(--purple);
  color: var(--white);
}

.page-hero-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 900;
  color: var(--white);
  max-width: 900px;
  line-height: 1.15;
}

.page-hero-body {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.9);
  margin-top: 1rem;
  font-size: 1.05rem;
  line-height: 1.6;
}

.page-hero .hero-title,
.page-hero h1 {
  color: var(--white);
  font-weight: 900;
}

.page-hero .hero-subtitle,
.page-hero .hero-note {
  color: rgba(255, 255, 255, 0.9);
}

.page-hero .hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
}

.page-hero .hero-subtitle {
  max-width: 720px;
  margin-top: 0.9rem;
  font-size: 1.02rem;
  line-height: 1.6;
}

.page-hero .hero-note {
  margin-top: 0.5rem;
  font-size: 0.86rem;
  max-width: 720px;
}

.page-hero .cta-caption {
  color: rgba(255, 255, 255, 0.75);
}

.page-hero .cta-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.page-hero .cta-primary {
  background: var(--gold);
  color: var(--ink);
  font-weight: 700;
  border-radius: 999px;
  padding: 0.7rem 1.4rem;
}

.breadcrumb {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 1rem;
}

.breadcrumb a {
  color: var(--gold);
  text-decoration: none;
}

.page-section {
  padding: 4rem 5%;
}

.page-section-alt {
  padding: 4rem 5%;
  background: var(--off-white);
}

.page-section-gold {
  padding: 4rem 5%;
  background: var(--gold-light);
}

.two-col {
  display: flex;
  gap: 3rem;
  align-items: flex-start;
  flex-wrap: wrap;
}

.two-col > * {
  flex: 1;
  min-width: 280px;
}

.graphic-block {
  min-height: 280px;
  background: var(--purple-mid);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}

.pull-quote-card {
  background: var(--purple);
  color: var(--white);
  border-radius: var(--radius-md);
  padding: 2.5rem 2rem;
  position: relative;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.pull-quote-mark {
  font-size: 5rem;
  line-height: 1;
  color: var(--gold);
  font-weight: 900;
  margin-bottom: 0.5rem;
}

.pull-quote-text {
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.45;
  margin: 0 0 1rem;
}

.pull-quote-attribution {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8);
  font-style: normal;
}

.prose-wide {
  max-width: 800px;
}

.prose-centered {
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  color: var(--ink-light);
  line-height: 1.6;
}

.community-thanks {
  background: var(--white);
}

.community-thanks-sub {
  text-align: center;
  color: var(--ink-light);
  font-size: 1rem;
  margin: -0.5rem auto 2rem;
  max-width: 600px;
}

.community-org-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
  font-size: 0.88rem;
  color: var(--ink-light);
  line-height: 1.55;
}

.community-org-grid span {
  display: block;
}

.prose {
  color: var(--ink-light);
  line-height: 1.6;
}

.prose-center {
  max-width: 850px;
  margin-left: auto;
  margin-right: auto;
  color: var(--ink-light);
  line-height: 1.7;
}

.prose-list {
  max-width: 800px;
  margin: 1.5rem auto;
  color: var(--ink-light);
  line-height: 1.7;
}

.section-title-left {
  text-align: left;
}

.principles-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  max-width: 1000px;
  margin: auto;
}

.principle-card {
  border-top: 5px solid var(--purple);
}

.principle-card-gold {
  border-top-color: var(--gold);
}

.principle-card-teal {
  border-top-color: var(--teal);
}

.principle-card-ink {
  border-top-color: var(--ink);
}

.principle-card-mid {
  border-top-color: var(--purple-mid);
}

.timeline-track {
  height: 4px;
  background: var(--purple);
  margin: 3rem 0;
  position: relative;
}

.timeline-dot {
  position: absolute;
  top: -10px;
  width: 20px;
  height: 20px;
  background: var(--purple);
  border-radius: 50%;
}

.timeline-dot-1 { left: 5%; }
.timeline-dot-2 { left: 32%; }
.timeline-dot-3 { left: 62%; }
.timeline-dot-4 { left: 90%; }

.timeline-labels {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.timeline-labels > div {
  width: 22%;
  min-width: 150px;
  color: var(--ink-light);
}

.partner-placeholders {
  display: flex;
  gap: 3rem;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  opacity: 0.85;
}

.partner-placeholder {
  width: 140px;
  height: 50px;
  background: var(--border);
  border-radius: var(--radius-sm);
}

.quote-marquee {
  padding: 2rem 0;
  background: var(--purple);
  color: var(--white);
  overflow: hidden;
}

.quote-marquee-track {
  display: flex;
  gap: 4rem;
  white-space: nowrap;
  animation: scroll-left 25s linear infinite;
  font-size: 1.3rem;
  font-weight: 700;
  padding: 1rem 0;
}

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

.coalition-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  max-width: 900px;
  margin: auto;
}

.dashboard-grid {
  padding: 3rem 5%;
}

.dashboard-card {
  display: flex;
  flex-direction: column;
}

.dashboard-card-body {
  color: var(--ink-light);
  line-height: 1.55;
  flex: 1;
}

.content-section {
  padding: 3rem 5%;
  max-width: 900px;
  margin: 0 auto;
}

.content-section-wide {
  padding: 3rem 5%;
  max-width: 1200px;
  margin: 0 auto;
}

.fiscal-section + .fiscal-section {
  margin-top: 0;
}

/* Data Directory */
.directory-page {
  padding-bottom: 3rem;
}

.directory-hero {
  padding: 3rem 5%;
  background: var(--purple);
  color: var(--white);
}

.directory-hero-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--white);
}

.directory-hero-body {
  max-width: 700px;
  color: rgba(255, 255, 255, 0.9);
  margin-top: 1rem;
  font-size: 1.1rem;
  line-height: 1.6;
}

.directory-filter-sticky {
  position: sticky;
  top: 72px;
  z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 1rem 5%;
}

.directory-filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  max-width: 1200px;
  margin: 0 auto;
}

.directory-content {
  padding: 2rem 5%;
  max-width: 1200px;
  margin: 0 auto;
}

.directory-topic {
  margin-top: 3rem;
}

.directory-topic:first-child {
  margin-top: 0;
}

.directory-topic-title {
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--ink);
  margin-bottom: 1.5rem;
}

.resource-card-meta {
  margin-top: 0.5rem;
  font-size: 0.82rem;
  color: var(--ink-light);
}

/* Contribute Your Data */
.contribute-data-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  padding: 4rem 5%;
  max-width: 1200px;
  margin: 0 auto;
  align-items: start;
}

.contribute-data-info h2 {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--ink);
  margin-bottom: 1rem;
}

.contribute-data-rows {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contribute-data-row {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.contribute-data-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: var(--gold-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.contribute-data-form iframe {
  width: 100%;
  height: 900px;
  border: none;
}


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

@media (max-width: 950px) {
  .hero {
    flex-direction: column;
    text-align: center;
  }

  .hero-left,
  .hero-right {
    width: 100%;
    max-width: 600px;
  }

  .nav-inner {
    padding: 0.75rem 3%;
  }

  .nav-title {
    font-size: 1.1rem;
  }

  .nav-right {
    gap: 0.8rem;
  }

  .nav-link {
    font-size: 0.9rem;
  }
}

@media (max-width: 860px) {
  .nav-toggle {
    display: flex;
  }

  .nav-right {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    width: 100%;
    background: var(--purple);
    padding: 1rem 5%;
    border-bottom: none;
    gap: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 998;
  }

  .nav-right.open {
    display: flex;
  }

  .nav-link {
    padding: 0.85rem 0;
    width: 100%;
    display: block;
  }
}

@media (max-width: 800px) {
  body, html {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
  }

  html, body {
    overflow-x: hidden !important;
    max-width: 100vw;
  }

  img, video, iframe, embed, object {
    max-width: 100%;
    height: auto;
  }

  .hero,
  .nav-card-section,
  .tools-section,
  .ways-to-engage,
  .youth-spotlight,
  .directory-teaser,
  .identity-section,
  .intro-section,
  .footer,
  .page-hero,
  .directory-hero,
  .contribute-data-layout {
    width: 100%;
    max-width: 100vw;
  }

  .contribute-data-layout {
    grid-template-columns: 1fr;
    padding: 2.5rem 4%;
  }

  .directory-filter-sticky {
    top: 64px;
  }

  .community-org-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .nav-inner {
    padding: 0.75rem 1rem;
    position: relative;
    width: 100%;
    max-width: 100vw;
  }

  .nav-toggle {
    display: flex;
    order: 2;
  }

  .nav-left {
    order: 1;
  }

  .nav-right {
    order: 3;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .hero {
    padding: 2.5rem 4%;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-body {
    font-size: 1rem;
  }

  .nav-card-section,
  .tools-section,
  .ways-to-engage,
  .youth-spotlight,
  .directory-teaser {
    padding: 2.5rem 4%;
  }

  .identity-section {
    padding: 2rem 4%;
  }

  .identity-pills {
    gap: 0.6rem;
  }

  .identity-pill {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
  }

  .btn-primary,
  .btn-secondary {
    padding: 0.7rem 1.4rem;
    font-size: 0.95rem;
  }

  .hero-cta-row {
    flex-direction: column;
    gap: 0.8rem;
  }

  .hero-cta-row a {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 650px) {
  section, div, article, aside {
    max-width: 100vw;
  }

  .hero-title {
    font-size: 1.8rem;
  }

  .section-title {
    font-size: 1.4rem;
  }

  .nav-card-grid,
  .update-cards,
  .tool-grid,
  .engage-grid,
  .gi-features-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .nav-card,
  .update-card,
  .tool-card-dark,
  .engage-card {
    padding: 1.5rem;
  }

  .stats-grid {
    flex-direction: column;
    gap: 1.5rem;
  }

  .spotlight-card {
    padding: 2rem 1.5rem;
  }

  .spotlight-quote {
    font-size: 1.3rem;
  }

  .nav-inner {
    padding: 0.65rem 1rem;
  }

  .nav-title {
    font-size: 1rem;
  }

  .nav-subline {
    font-size: 0.62rem;
    max-width: 180px;
  }

  .nav-logo {
    height: 36px;
  }

  .nav-link {
    padding: 0.8rem 1rem;
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 2rem 3%;
  }

  .hero-title {
    font-size: 1.6rem;
    line-height: 1.2;
  }

  .section-title {
    font-size: 1.3rem;
    margin-bottom: 1rem;
  }

  .nav-card-section,
  .tools-section,
  .ways-to-engage,
  .youth-spotlight,
  .directory-teaser {
    padding: 2rem 3%;
  }

  .nav-title {
    font-size: 1rem;
  }

  .nav-subline {
    font-size: 0.62rem;
    max-width: 180px;
  }

  .nav-logo {
    height: 36px;
  }
}
