/* California Capitol Black Staff Association — Gold & Purple Theme */

:root {
  --purple-deep: #2d0a4e;
  --purple: #4a148c;
  --purple-mid: #6a1b9a;
  --purple-light: #9c4dcc;
  --gold: #d4af37;
  --gold-light: #f0d78c;
  --gold-dark: #a67c00;
  --navy: #002d62;
  --white: #ffffff;
  --cream: #faf7f2;
  --gray-100: #f3f0f7;
  --gray-300: #c8bfd4;
  --gray-600: #5c5368;
  --text: #1a1228;
  --shadow: 0 20px 60px rgba(45, 10, 78, 0.18);
  --shadow-soft: 0 8px 32px rgba(45, 10, 78, 0.1);
  --radius: 16px;
  --radius-lg: 24px;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Outfit", system-ui, sans-serif;
  --header-h: 88px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --transition: 0.45s var(--ease-out);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--cream);
  overflow-x: hidden;
}

body.loaded .preloader {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

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

img[data-img] {
  background: linear-gradient(135deg, var(--purple-deep), var(--purple-mid));
  min-height: 120px;
}

a {
  color: var(--purple-mid);
  text-decoration: none;
  transition: color 0.25s ease;
}

a:hover {
  color: var(--gold-dark);
}

address {
  font-style: normal;
}

.container {
  width: min(1180px, 92vw);
  margin-inline: auto;
}

.section {
  padding: clamp(4rem, 10vw, 7rem) 0;
}

.section-dark {
  padding: clamp(4rem, 10vw, 7rem) 0;
  background: linear-gradient(145deg, var(--purple-deep) 0%, var(--purple) 55%, #3d1570 100%);
  color: var(--white);
}

.section-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.section-label.light {
  color: var(--gold-light);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 600;
  line-height: 1.15;
  color: var(--purple-deep);
  margin-bottom: 1.25rem;
}

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

.section-lead {
  font-size: 1.15rem;
  color: var(--gray-600);
  margin-bottom: 1.5rem;
}

.section-lead.narrow {
  max-width: 640px;
  margin-inline: auto;
}

.section-header.center {
  text-align: center;
  margin-bottom: 3rem;
}

/* Preloader */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  background: var(--purple-deep);
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.preloader img {
  border-radius: 50%;
  animation: pulse-logo 1.4s ease-in-out infinite;
}

.preloader-bar {
  width: 120px;
  height: 3px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 99px;
  overflow: hidden;
}

.preloader-bar span {
  display: block;
  height: 100%;
  width: 40%;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 99px;
  animation: load-bar 1s ease-in-out infinite;
}

@keyframes pulse-logo {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.04); opacity: 0.85; }
}

@keyframes load-bar {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(350%); }
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  transition: background var(--transition), box-shadow var(--transition), backdrop-filter var(--transition);
}

.site-header.scrolled {
  background: rgba(45, 10, 78, 0.92);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-soft);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  color: var(--white);
}

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

.nav-brand img {
  border-radius: 50%;
  box-shadow: 0 0 0 2px var(--gold);
}

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

.brand-line {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.95;
}

.brand-line.accent {
  color: var(--gold-light);
  font-size: 0.68rem;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
}

.nav-menu a {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.nav-menu a:hover {
  color: var(--gold-light);
}

.nav-cta {
  padding: 0.55rem 1.25rem;
  border: 1px solid var(--gold);
  border-radius: 99px;
  color: var(--gold-light) !important;
}

.nav-cta:hover {
  background: var(--gold);
  color: var(--purple-deep) !important;
}

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

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.75rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 99px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: var(--purple-deep);
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.35);
}

.btn-primary:hover {
  box-shadow: 0 12px 32px rgba(212, 175, 55, 0.45);
  color: var(--purple-deep);
}

.btn-outline {
  border-color: var(--gold-light);
  color: var(--white);
  background: transparent;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--gold-light);
}

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

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  animation: hero-zoom 18s ease-out forwards;
}

@keyframes hero-zoom {
  to { transform: scale(1); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(45, 10, 78, 0.92) 0%, rgba(74, 20, 140, 0.75) 45%, rgba(0, 45, 98, 0.55) 100%),
    radial-gradient(ellipse at 70% 20%, rgba(212, 175, 55, 0.2), transparent 50%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: calc(var(--header-h) + 3rem) 0 6rem;
  text-align: center;
  color: var(--white);
}

.hero-eyebrow {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 1.25rem;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6.5vw, 4.5rem);
  font-weight: 700;
  line-height: 1.08;
  margin-bottom: 1.5rem;
}

.hero-title em {
  font-style: italic;
  color: var(--gold-light);
}

.hero-lead {
  max-width: 720px;
  margin: 0 auto 2.25rem;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  opacity: 0.92;
}

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

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  color: var(--gold-light);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* Mission */
.mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.mission-visual {
  position: relative;
}

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

.mission-badge {
  position: absolute;
  bottom: -1.5rem;
  right: -1rem;
  background: var(--white);
  padding: 1rem;
  border-radius: 50%;
  box-shadow: var(--shadow);
  border: 3px solid var(--gold);
}

.mission-quote {
  margin-top: 2rem;
  padding: 1.5rem 2rem;
  border-left: 4px solid var(--gold);
  background: linear-gradient(90deg, rgba(212, 175, 55, 0.12), transparent);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.mission-quote p {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-style: italic;
  color: var(--purple);
}

/* Official information */
.official-intro {
  max-width: 640px;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.official-facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem 2rem;
  max-width: 900px;
}

.official-fact {
  padding: 1rem 1.25rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: var(--radius);
}

.official-fact dt {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 0.35rem;
}

.official-fact dd {
  font-size: 0.98rem;
  line-height: 1.5;
}

.official-fact a {
  color: var(--gold-light);
}

.official-verify {
  margin-top: 2rem;
}

.official-verify a {
  font-weight: 600;
  color: var(--gold-light);
}

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

/* Stats (legacy) */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.stat-card {
  text-align: center;
  padding: 2rem 1.25rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: var(--radius);
  backdrop-filter: blur(8px);
  transition: transform var(--transition), border-color var(--transition);
}

.stat-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
}

.stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1;
  margin-bottom: 0.75rem;
}

.stat-label {
  font-size: 0.9rem;
  opacity: 0.85;
  line-height: 1.4;
}

/* Programs */
.programs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.program-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform var(--transition), box-shadow var(--transition);
}

.program-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
}

.program-img {
  aspect-ratio: 16/10;
  overflow: hidden;
}

.program-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}

.program-card:hover .program-img img {
  transform: scale(1.06);
}

.program-body {
  padding: 1.5rem;
}

.program-body h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--purple);
  margin-bottom: 0.5rem;
}

.program-body p {
  font-size: 0.95rem;
  color: var(--gray-600);
}

/* Gallery marquee */
.gallery-track {
  display: flex;
  gap: 1.25rem;
  margin-top: 2.5rem;
  animation: marquee 40s linear infinite;
  width: max-content;
}

.gallery-track img {
  width: 320px;
  height: 220px;
  object-fit: cover;
  border-radius: var(--radius);
  flex-shrink: 0;
  border: 2px solid rgba(212, 175, 55, 0.3);
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Values */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.value-card {
  padding: 2rem;
  background: var(--white);
  border-radius: var(--radius);
  border-top: 4px solid var(--gold);
  box-shadow: var(--shadow-soft);
  transition: transform var(--transition);
}

.value-card:hover {
  transform: translateY(-4px);
}

.value-icon {
  font-size: 1.5rem;
  color: var(--purple-mid);
  margin-bottom: 1rem;
}

.value-card h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--purple);
  margin-bottom: 0.75rem;
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

.about-facts {
  list-style: none;
  margin-top: 1.5rem;
}

.about-facts li {
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--gray-300);
  font-size: 0.95rem;
}

.about-visual img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  aspect-ratio: 5/6;
  object-fit: cover;
  width: 100%;
}

/* Leadership */
.leadership-inner {
  display: flex;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.leadership-seal {
  border-radius: 50%;
  box-shadow: 0 0 0 4px var(--gold), var(--shadow);
}

.leadership-name {
  font-family: var(--font-display);
  font-size: 2.25rem;
  color: var(--gold-light);
  margin: 0.5rem 0 0.25rem;
}

.leadership-role {
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 1rem;
}

.leadership-bio {
  max-width: 560px;
  opacity: 0.9;
}

/* CTA band */
.cta-band {
  padding: clamp(3.5rem, 8vw, 5rem) 0;
  background:
    linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 40%, var(--purple-mid) 100%);
  text-align: center;
}

.cta-inner h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  color: var(--purple-deep);
  margin-bottom: 1rem;
}

.cta-inner p {
  max-width: 560px;
  margin: 0 auto 1.75rem;
  color: var(--purple-deep);
  opacity: 0.85;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.contact-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.contact-card {
  padding: 1.5rem;
  background: var(--white);
  border-radius: var(--radius);
  border-left: 4px solid var(--purple-mid);
  box-shadow: var(--shadow-soft);
}

.contact-card h3 {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--purple-mid);
  margin-bottom: 0.5rem;
}

.contact-card a {
  font-weight: 600;
  word-break: break-all;
}

.contact-form {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.form-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--purple);
  margin-bottom: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.contact-form label {
  display: block;
  margin-bottom: 1rem;
}

.contact-form label span {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gray-600);
  margin-bottom: 0.4rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--gray-300);
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--purple-mid);
  box-shadow: 0 0 0 3px rgba(106, 27, 154, 0.15);
}

.form-note {
  margin-top: 0.75rem;
  font-size: 0.85rem;
  color: var(--gray-600);
}

/* Blog */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.blog-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform var(--transition), box-shadow var(--transition);
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.blog-card-link {
  color: inherit;
  display: block;
}

.blog-card-link:hover {
  color: inherit;
}

.blog-card-img {
  aspect-ratio: 16/10;
  overflow: hidden;
}

.blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-out);
}

.blog-card:hover .blog-card-img img {
  transform: scale(1.05);
}

.blog-card-body {
  padding: 1.35rem 1.5rem 1.5rem;
}

.blog-card-body time {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--purple-mid);
}

.blog-card-body h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--purple-deep);
  margin: 0.5rem 0 0.65rem;
  line-height: 1.25;
}

.blog-card-body p {
  font-size: 0.92rem;
  color: var(--gray-600);
  margin-bottom: 0.75rem;
}

.blog-read {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--gold-dark);
}

.blog-preview-cta {
  text-align: center;
  margin-top: 2.5rem;
}

/* Blog listing & article pages */
.page-hero {
  padding: calc(var(--header-h) + 3rem) 0 3rem;
  background: linear-gradient(135deg, var(--purple-deep), var(--purple-mid));
  color: var(--white);
  text-align: center;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  margin-bottom: 0.75rem;
}

.page-hero p {
  max-width: 620px;
  margin: 0 auto;
  opacity: 0.9;
}

.blog-list {
  padding: 3rem 0 4rem;
}

.blog-list-grid {
  display: grid;
  gap: 2rem;
}

.blog-list-item {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform var(--transition), box-shadow var(--transition);
}

.blog-list-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.blog-list-item a {
  color: inherit;
  display: contents;
}

.blog-list-thumb {
  aspect-ratio: 4/3;
  overflow: hidden;
}

.blog-list-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-list-content {
  padding: 1.75rem 1.75rem 1.75rem 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.blog-list-content time {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--purple-mid);
}

.blog-list-content h2 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: var(--purple-deep);
  margin: 0.5rem 0 0.75rem;
}

.blog-list-content p {
  color: var(--gray-600);
  margin-bottom: 1rem;
}

.blog-article {
  padding: 3rem 0 4rem;
}

.blog-article .container {
  max-width: 780px;
}

.blog-article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--gray-600);
  margin-bottom: 1.5rem;
}

.blog-article-meta .tag {
  background: rgba(106, 27, 154, 0.1);
  color: var(--purple-mid);
  padding: 0.25rem 0.75rem;
  border-radius: 99px;
  font-weight: 600;
}

.blog-article-hero {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 2rem;
  box-shadow: var(--shadow);
}

.blog-article-hero img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}

.blog-article h2 {
  font-family: var(--font-display);
  font-size: 1.65rem;
  color: var(--purple);
  margin: 2rem 0 1rem;
}

.blog-article p {
  margin-bottom: 1.25rem;
  color: var(--text);
}

.blog-article ul {
  margin: 0 0 1.25rem 1.25rem;
}

.blog-article li {
  margin-bottom: 0.5rem;
}

.blog-back {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 600;
  color: var(--purple-mid);
  margin-bottom: 2rem;
}

.blog-back:hover {
  color: var(--gold-dark);
}

.nav-menu a.active {
  color: var(--gold-light);
}

/* Footer — blue gradient, 4 columns */
.site-footer {
  background: linear-gradient(160deg, #0a2d52 0%, #0d47a1 42%, #1565c0 100%);
  color: rgba(255, 255, 255, 0.92);
  padding: 0;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr 0.95fr 1.15fr;
  gap: 2.5rem;
  padding: 3.5rem 0 2.5rem;
}

.footer-logo-wrap {
  width: 72px;
  height: 72px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  padding: 8px;
}

.footer-logo-wrap img {
  border-radius: 50%;
  width: 56px;
  height: 56px;
}

.footer-org-name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.footer-org-name span {
  display: block;
  font-weight: 600;
}

.footer-org-accent {
  color: var(--gold-light);
  font-weight: 700;
}

.footer-desc {
  font-size: 0.9rem;
  line-height: 1.65;
  opacity: 0.88;
  margin-bottom: 1.5rem;
  max-width: 320px;
}

.footer-social {
  display: flex;
  gap: 0.65rem;
}

.footer-social-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.footer-social-btn:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--purple-deep);
}

.footer-heading {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  color: var(--white);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.65rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--gold-light);
}

.footer-connect {
  list-style: none;
}

.footer-connect li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  line-height: 1.5;
}

.footer-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
}

.footer-connect a {
  color: var(--gold-light);
  font-weight: 500;
}

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

.footer-irs-link {
  display: inline-block;
  margin-top: 0.5rem;
  font-weight: 600;
  color: var(--gold-light);
  font-size: 0.92rem;
}

.footer-irs-link:hover {
  color: var(--white);
  text-decoration: underline;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding: 1.25rem 0 1.5rem;
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.75;
}

/* Reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
.subpage .site-header {
  background: rgba(45, 10, 78, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-soft);
}

@media (max-width: 1024px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }

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

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

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

  .official-facts {
    grid-template-columns: 1fr;
  }

  .mission-grid,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .mission-badge {
    right: 1rem;
    bottom: -1rem;
  }
}

@media (max-width: 768px) {
  :root {
    --header-h: 72px;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    padding: 2rem;
    gap: 1.25rem;
    background: rgba(45, 10, 78, 0.98);
    backdrop-filter: blur(12px);
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.4s var(--ease-out), opacity 0.4s ease, visibility 0.4s ease;
  }

  .nav-menu.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-brand-text {
    display: none;
  }

  .programs-grid,
  .values-grid {
    grid-template-columns: 1fr;
  }

  .contact-cards {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

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

  .blog-list-item {
    grid-template-columns: 1fr;
  }

  .blog-list-content {
    padding: 0 1.5rem 1.5rem;
  }

  .footer-top {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }

  .footer-desc {
    max-width: none;
    margin-inline: auto;
  }

  .footer-social {
    justify-content: center;
  }

  .footer-connect li {
    text-align: left;
  }

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-bg, .gallery-track, .hero-scroll, .preloader img, .preloader-bar span { animation: none; }
}
