:root {
  --brand-primary: #0d4f7a;
  --brand-primary-dark: #083d5f;
  --brand-secondary: #2e8b57;
  --brand-secondary-dark: #236643;
  --brand-accent: #d4a017;
  --white: #ffffff;
  --text-dark: #1f2937;
  --text-muted: #6b7280;
  --surface: #ffffff;
  --surface-alt: #f8fafc;
  --surface-elevated: #ffffff;
  --border: #e5e7eb;
  --radius: 0.75rem;
  --radius-sm: 0.5rem;
  --radius-lg: 1rem;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.04);
  --shadow: 0 4px 24px -4px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 20px 40px -12px rgba(0, 0, 0, 0.12);
  --transition: 0.25s ease;
  --container: 1200px;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text-dark);
  background-color: var(--surface-alt);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  line-height: 1.2;
  margin-top: 0;
  color: var(--text-dark);
  font-weight: 700;
}

p {
  margin-top: 0;
}

a {
  color: var(--brand-primary);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover,
a:focus {
  color: var(--brand-secondary);
}

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

:focus-visible {
  outline: 3px solid var(--brand-accent);
  outline-offset: 2px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  transition: all var(--transition);
  cursor: pointer;
  text-decoration: none;
}

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

.btn-primary:hover,
.btn-primary:focus {
  background-color: var(--brand-primary-dark);
  border-color: var(--brand-primary-dark);
  color: var(--white);
}

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

.btn-secondary:hover,
.btn-secondary:focus {
  background-color: var(--brand-secondary-dark);
  border-color: var(--brand-secondary-dark);
  color: var(--white);
}

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

.btn-outline-light:hover,
.btn-outline-light:focus {
  background-color: var(--white);
  color: var(--brand-primary);
  border-color: var(--white);
}

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

.btn-outline-primary:hover,
.btn-outline-primary:focus {
  background-color: var(--brand-primary);
  color: var(--white);
}

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

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid transparent;
  transition: box-shadow var(--transition), border-color var(--transition);
}

.site-header.scrolled {
  box-shadow: 0 2px 24px rgba(0, 0, 0, 0.08);
  border-bottom-color: var(--border);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  color: var(--text-dark);
}

.site-logo {
  max-height: 48px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.logo-fallback {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  color: var(--brand-primary);
}

.main-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0.25rem;
  align-items: center;
}

.nav-list > li {
  position: relative;
}

.nav-list a {
  display: flex;
  align-items: center;
  color: var(--text-dark);
  font-weight: 500;
  font-size: 0.92rem;
  padding: 0.65rem 0.9rem;
  border-radius: var(--radius-sm);
  transition: background var(--transition), color var(--transition);
}

.nav-list a:hover,
.nav-list a:focus,
.nav-list .active > a,
.nav-list .active > a:hover,
.nav-list .active > a:focus {
  color: var(--brand-primary);
  background-color: rgba(13, 79, 122, 0.06);
}

.nav-cta .btn {
  padding: 0.65rem 1.25rem;
  font-size: 0.92rem;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  min-width: 200px;
  padding: 0.5rem 0;
  list-style: none;
  margin: 0;
  z-index: 1020;
}

.dropdown:hover > .dropdown-menu,
.dropdown:focus-within > .dropdown-menu {
  display: block;
}

.dropdown-menu a {
  padding: 0.55rem 1rem;
  font-size: 0.9rem;
  border-radius: 0;
}

.dropdown-menu a:hover,
.dropdown-menu a:focus {
  background-color: var(--surface-alt);
  color: var(--brand-primary);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.75rem;
  color: var(--text-dark);
  cursor: pointer;
  padding: 0.5rem;
}

/* Hero */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  background-color: var(--brand-primary);
  color: var(--white);
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8, 61, 95, 0.92) 0%, rgba(8, 61, 95, 0.7) 55%, rgba(13, 79, 122, 0.3) 100%);
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 640px;
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.hero-eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.8rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 1rem;
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  color: var(--white);
  margin-bottom: 1.25rem;
  line-height: 1.1;
}

.hero-lead {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  line-height: 1.7;
  margin-bottom: 2.25rem;
  color: rgba(255, 255, 255, 0.92);
  max-width: 560px;
}

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

/* Sections */
.section {
  padding: 5rem 0;
}

.section-heading {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3.5rem;
}

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

.section-title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin-bottom: 0.75rem;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin: 0;
}

/* Page banner */
.page-banner {
  position: relative;
  padding: 8rem 0 4.5rem;
  background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-secondary) 100%);
  color: var(--white);
  text-align: center;
}

.page-banner h1 {
  color: var(--white);
  font-size: clamp(2.25rem, 5vw, 3.25rem);
  margin-bottom: 0.75rem;
}

.page-banner-subtitle {
  opacity: 0.92;
  font-size: 1.1rem;
  margin: 0 auto;
  max-width: 640px;
}

/* Cards */
.card {
  background: var(--surface-elevated);
  border: none;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}

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

.card-img-top {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.card-body {
  padding: 1.5rem;
}

.card-title {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.card-text {
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

/* Programs */
.programs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.program-card {
  background: var(--surface-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: transform var(--transition), box-shadow var(--transition);
}

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

.program-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: rgba(13, 79, 122, 0.08);
  color: var(--brand-primary);
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

.program-title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.program-desc {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.program-link {
  font-weight: 600;
}

/* Project card */
.project-card {
  background: var(--surface-elevated);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.project-image {
  position: relative;
  min-height: 320px;
  overflow: hidden;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

.project-body {
  padding: 2rem;
}

.project-category {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--brand-secondary);
}

.project-title {
  font-size: 1.5rem;
  margin: 0.5rem 0 1rem;
}

.project-desc {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

/* Stories */
.stories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.story-card {
  background: var(--surface-elevated);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition);
}

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

.story-image {
  min-height: 220px;
  background: linear-gradient(135deg, rgba(13, 79, 122, 0.1) 0%, rgba(46, 139, 87, 0.1) 100%);
  overflow: hidden;
}

.story-image img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.story-body {
  padding: 1.5rem;
}

.story-category {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--brand-secondary);
}

.story-title {
  font-size: 1.25rem;
  margin: 0.5rem 0 0.75rem;
}

.story-excerpt {
  color: var(--text-muted);
  margin: 0;
}

/* Why support */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.why-card {
  text-align: center;
  padding: 2.5rem 1.5rem;
  background: var(--surface-elevated);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.why-card i {
  font-size: 2.5rem;
  color: var(--brand-secondary);
  margin-bottom: 1rem;
}

.why-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.why-card p {
  color: var(--text-muted);
}

/* CTA */
.cta-section {
  padding: 5rem 0;
  background-color: var(--brand-primary);
  color: var(--white);
  text-align: center;
}

.cta-section.donate-cta {
  background-color: var(--brand-secondary);
}

.cta-title {
  color: var(--white);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
}

.cta-subtitle {
  max-width: 640px;
  margin: 0.75rem auto 1.75rem;
  opacity: 0.95;
}

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

.get-involved-card {
  background: var(--surface-elevated);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

.get-involved-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.get-involved-card i {
  font-size: 2.5rem;
  color: var(--brand-primary);
  margin-bottom: 1.25rem;
}

.get-involved-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.get-involved-card p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

/* Partners */
.partners-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
}

.partner-item a,
.partner-item span {
  display: inline-flex;
  align-items: center;
  color: var(--text-dark);
  font-weight: 600;
}

.partner-logo {
  max-height: 64px;
  width: auto;
  object-fit: contain;
}

.partners-empty {
  text-align: center;
  padding: 2rem;
  color: var(--text-muted);
}

/* Newsletter */
.newsletter-section {
  background-color: var(--surface-alt);
}

.newsletter-box {
  background: var(--surface-elevated);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
}

.newsletter-form {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.newsletter-form .form-control {
  flex: 1 1 240px;
  padding: 0.85rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 1rem;
}

.newsletter-form .form-control:focus {
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 3px rgba(13, 79, 122, 0.15);
}

.newsletter-feedback {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  color: var(--brand-secondary);
  min-height: 1.5rem;
}

/* Empty states */
.empty-state {
  text-align: center;
  padding: 4rem 1.5rem;
  color: var(--text-muted);
  background: var(--surface-elevated);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.empty-state i {
  font-size: 2.5rem;
  color: var(--brand-primary);
  display: block;
  margin-bottom: 1rem;
}

.empty-state p {
  max-width: 520px;
  margin: 0 auto;
}

/* Placeholder */
.placeholder-gradient {
  width: 100%;
  min-height: 360px;
  background: linear-gradient(135deg, rgba(13, 79, 122, 0.08) 0%, rgba(46, 139, 87, 0.08) 100%);
  border: 2px dashed rgba(13, 79, 122, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
}

.placeholder-gradient::after {
  content: 'Image placeholder';
}

/* Content body */
.content-body {
  line-height: 1.8;
  color: var(--text-dark);
}

.content-body p:last-child {
  margin-bottom: 0;
}

/* Footer */
.site-footer {
  background-color: var(--text-dark);
  color: #d1d5db;
  padding: 4rem 0 1.5rem;
}

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

.footer-brand h3 {
  color: var(--white);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.footer-brand p {
  max-width: 300px;
  color: #9ca3af;
}

.footer-col h4 {
  color: var(--white);
  font-size: 1.05rem;
  margin-bottom: 1.25rem;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col li {
  margin-bottom: 0.6rem;
}

.footer-col a {
  color: #d1d5db;
  font-size: 0.95rem;
}

.footer-col a:hover,
.footer-col a:focus {
  color: var(--white);
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-links a {
  font-size: 1.25rem;
  color: #d1d5db;
}

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

.footer-legal {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  padding: 0;
  margin: 0;
}

/* Gallery */
.gallery-thumb img {
  transition: transform 0.25s ease;
}

.gallery-thumb:hover img {
  transform: scale(1.03);
}

/* Forms */
.form-label {
  font-weight: 500;
  margin-bottom: 0.35rem;
  display: inline-block;
}

.form-control {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-control:focus {
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 3px rgba(13, 79, 122, 0.12);
  outline: none;
}

/* Impact */
.impact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.impact-card {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  box-shadow: var(--shadow-sm);
  text-align: left;
}

.impact-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(46, 139, 87, 0.12);
  color: var(--brand-secondary, #2e8b57);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.5rem;
}

.impact-body {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.impact-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-dark, #1a2b3c);
  margin: 0;
  line-height: 1.3;
}

.impact-desc {
  font-size: 0.9rem;
  color: var(--text-muted, #64748b);
  margin: 0;
  line-height: 1.4;
}

/* About */
.about-image img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  border-radius: var(--radius);
}

.about-text {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.mission-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
}

.mission-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  color: var(--text-dark);
}

.mission-list i {
  color: var(--brand-secondary);
  font-size: 1.25rem;
}

/* FAQ */
.accordion-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 0.75rem;
  overflow: hidden;
}

.accordion-button {
  font-weight: 600;
  color: var(--text-dark);
  background-color: var(--surface-elevated);
}

.accordion-button:focus {
  box-shadow: none;
  border-color: var(--brand-primary);
}

.accordion-body {
  color: var(--text-muted);
  background-color: var(--surface-elevated);
}

/* Mobile */
@media (max-width: 991px) {
  .site-header .container {
    height: 68px;
  }

  .site-logo {
    max-height: 40px;
  }

  .mobile-toggle {
    display: block;
  }

  .main-nav {
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--white);
    transform: translateX(100%);
    transition: transform var(--transition);
    padding: 2rem;
    overflow-y: auto;
    border-top: 1px solid var(--border);
  }

  .main-nav.open {
    transform: translateX(0);
  }

  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
    width: 100%;
  }

  .nav-list > li {
    width: 100%;
  }

  .nav-list a {
    padding: 0.9rem 0;
    width: 100%;
    font-size: 1.1rem;
  }

  .dropdown-menu {
    position: static;
    display: none;
    box-shadow: none;
    border: none;
    padding-left: 1rem;
  }

  .dropdown.open > .dropdown-menu {
    display: block;
  }

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

@media (max-width: 767px) {
  .section {
    padding: 3.5rem 0;
  }

  .hero {
    min-height: 85vh;
  }

  .hero-content {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

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

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
  }
}

/* Section rhythm utilities */
.section--white {
  background-color: var(--white);
}

.section--alt {
  background-color: var(--surface-alt);
}

/* Header polish */
.site-header .container {
  height: 84px;
}

.site-logo {
  max-height: 56px;
  width: auto;
  object-fit: contain;
}

.logo-link {
  gap: 0.5rem;
}

.nav-list a {
  font-size: 0.93rem;
  padding: 0.65rem 0.95rem;
}

.nav-cta .btn {
  padding: 0.65rem 1.4rem;
}

/* Hero polish */
.hero {
  min-height: clamp(520px, 78vh, 720px);
  padding-top: 96px;
  padding-bottom: 0;
}

.hero-content {
  max-width: 620px;
  padding: 0;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1.25rem;
}

.hero-eyebrow::before {
  content: '';
  display: inline-block;
  width: 26px;
  height: 2px;
  background-color: var(--brand-accent);
}

.hero-title {
  font-size: clamp(2.4rem, 5.2vw, 4.2rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 1.25rem;
  max-width: 660px;
}

.hero-lead {
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.92);
  max-width: 540px;
  margin-bottom: 2rem;
}

.hero-actions {
  gap: 1rem;
}

/* Hero fallback shapes */
.hero-fallback {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}

.hero-shape {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  filter: blur(40px);
}

.hero-shape--1 {
  width: 520px;
  height: 520px;
  top: -140px;
  right: -120px;
}

.hero-shape--2 {
  width: 340px;
  height: 340px;
  bottom: -100px;
  right: 25%;
  background: rgba(212, 160, 23, 0.08);
}

.hero-shape--3 {
  width: 220px;
  height: 220px;
  top: 40%;
  right: 15%;
}

/* Hero with CMS image */
.hero--with-media {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  background: linear-gradient(90deg, var(--brand-primary) 0%, var(--brand-primary) 50%, #ffffff 50%, #ffffff 100%);
  padding-top: 96px;
}

.hero--with-media .hero-overlay {
  display: none;
}

.hero--with-media .container {
  grid-column: 1;
  display: flex;
  align-items: center;
  z-index: 2;
}

.hero--with-media .hero-visual {
  grid-column: 2;
  position: relative;
  overflow: hidden;
  min-height: 100%;
}

.hero--with-media .hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Button interactions */
.btn {
  position: relative;
  overflow: hidden;
}

.btn:hover,
.btn:focus {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: var(--brand-primary-dark);
  border-color: var(--brand-primary-dark);
  box-shadow: 0 6px 18px rgba(13, 79, 122, 0.18);
}

.btn-outline-light:hover,
.btn-outline-light:focus {
  transform: translateY(-2px);
}

/* Program card polish */
.program-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.program-media {
  height: 220px;
  overflow: hidden;
  margin: -2rem -2rem 1.5rem;
  border-radius: var(--radius) var(--radius) 0 0;
  background: linear-gradient(135deg, rgba(13, 79, 122, 0.08) 0%, rgba(46, 139, 87, 0.08) 100%);
}

.program-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition);
}

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

.program-body {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
}

.program-title {
  margin-top: 0;
}

.program-desc {
  flex: 1 1 auto;
}

.program-link {
  margin-top: auto;
  font-weight: 600;
}

/* Project card editorial */
.project-card {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  min-height: 420px;
  background: var(--surface-elevated);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.project-visual {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(13, 79, 122, 0.08) 0%, rgba(46, 139, 87, 0.08) 100%);
}

.project-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition);
}

.project-card:hover .project-visual img {
  transform: scale(1.03);
}

.project-body {
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Story card meta */
.story-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 0.5rem;
}

.story-category {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--brand-secondary);
}

.story-date {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.story-title {
  margin: 0.25rem 0 0.75rem;
}

/* About polish */
.about-image img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  max-height: 520px;
  object-fit: cover;
  border-radius: var(--radius);
}

.about-image .placeholder-gradient {
  min-height: 420px;
  border-radius: var(--radius);
}

.about-row {
  gap: 2.5rem 0;
}

/* Why support cleaner spacing */
.why-card {
  background: transparent;
  box-shadow: none;
  border: 1px solid var(--border);
  padding: 2.5rem 1.5rem;
  transition: transform var(--transition), border-color var(--transition);
}

.why-card:hover {
  transform: translateY(-4px);
  border-color: var(--brand-secondary);
}

/* CTA polish */
.cta-section .btn:hover,
.cta-section .btn:focus {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

/* Partners - hidden when empty via template */
.partner-item a,
.partner-item span {
  display: inline-flex;
  padding: 1rem;
  border-radius: var(--radius-sm);
  transition: background var(--transition);
}

.partner-item a:hover,
.partner-item a:focus {
  background: var(--surface-alt);
}

/* Footer polish */
.site-footer {
  padding: 5rem 0 1.5rem;
}

.footer-brand h3 {
  font-size: 1.4rem;
}

/* Responsive hero with media */
@media (max-width: 991px) {
  .site-header .container {
    height: 76px;
  }

  .site-logo {
    max-height: 44px;
  }

  .hero {
    padding-top: 84px;
  }

  .hero--with-media {
    grid-template-columns: 1fr;
    background: var(--brand-primary);
  }

  .hero--with-media .hero-visual {
    grid-column: 1;
    order: -1;
    min-height: 280px;
    max-height: 360px;
  }

  .hero--with-media .container {
    grid-column: 1;
    padding-top: 2.5rem;
    padding-bottom: 3rem;
  }

  .hero-title {
    font-size: clamp(2.1rem, 7vw, 3.2rem);
  }

  .hero-lead {
    font-size: 1.05rem;
  }

  .project-card {
    grid-template-columns: 1fr;
  }

  .project-visual {
    min-height: 280px;
  }

  .project-body {
    padding: 2rem;
  }

  .why-card {
    padding: 2rem 1.25rem;
  }
}

@media (max-width: 767px) {
  .hero {
    min-height: 560px;
    padding-top: 76px;
  }

  .hero-title {
    font-size: clamp(2rem, 9vw, 2.8rem);
  }

  .hero-eyebrow {
    font-size: 0.68rem;
    letter-spacing: 0.14em;
  }

  .section {
    padding: 3.5rem 0;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .newsletter-form .form-control,
  .newsletter-form .btn {
    width: 100%;
  }

  .about-image img,
  .about-image .placeholder-gradient {
    min-height: 280px;
    max-height: 320px;
  }

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

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Page loader */
.page-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.is-loaded .page-loader {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.page-loader__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  text-align: center;
}

.page-loader__logo {
  max-height: 80px;
  width: auto;
  object-fit: contain;
  animation: loaderLogo 0.55s ease-out both;
  filter: drop-shadow(0 8px 24px rgba(13, 79, 122, 0.12));
}

.page-loader__spinner {
  width: 34px;
  height: 34px;
  border: 3px solid rgba(13, 79, 122, 0.12);
  border-top-color: var(--brand-primary);
  border-radius: 50%;
  background: transparent;
  animation: loaderSpin 0.9s linear infinite;
}

@keyframes loaderLogo {
  from { opacity: 0; transform: scale(0.92); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes loaderSpin {
  to { transform: rotate(360deg); }
}

/* Scroll reveal */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
  will-change: opacity, transform;
}

[data-reveal="fade-in"] { transform: none; }
[data-reveal="slide-left"] { transform: translateX(-30px); }
[data-reveal="slide-right"] { transform: translateX(30px); }
[data-reveal="scale-in"] { transform: scale(0.96); }

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

[data-reveal="scale-in"].is-visible { transform: scale(1); }

/* Staggered delays */
.stagger > [data-reveal]:nth-child(1) { transition-delay: 0ms; }
.stagger > [data-reveal]:nth-child(2) { transition-delay: 80ms; }
.stagger > [data-reveal]:nth-child(3) { transition-delay: 160ms; }
.stagger > [data-reveal]:nth-child(4) { transition-delay: 240ms; }
.stagger > [data-reveal]:nth-child(5) { transition-delay: 320ms; }
.stagger > [data-reveal]:nth-child(6) { transition-delay: 400ms; }

/* Hero entrance */
.hero-eyebrow,
.hero-title,
.hero-lead,
.hero-actions .btn {
  opacity: 1;
}

.hero.is-animated .hero-eyebrow,
.hero.is-animated .hero-title,
.hero.is-animated .hero-lead,
.hero.is-animated .hero-actions .btn {
  animation: heroFadeUp 0.8s ease forwards;
}

.hero.is-animated .hero-eyebrow { animation-delay: 0.12s; }
.hero.is-animated .hero-title { animation-delay: 0.24s; }
.hero.is-animated .hero-lead { animation-delay: 0.38s; }
.hero.is-animated .hero-actions .btn:nth-child(1) { animation-delay: 0.5s; }
.hero.is-animated .hero-actions .btn:nth-child(2) { animation-delay: 0.6s; }

@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Carousels */
.why-carousel,
.partners-carousel {
  position: relative;
  overflow: hidden;
}

.why-grid[data-carousel-track],
.partners-grid[data-carousel-track] {
  display: flex;
  flex-wrap: nowrap;
  transition: transform 0.5s ease;
}

.why-card__slide,
.partners-grid[data-carousel-track] .partner-item {
  flex: 0 0 calc(100% / var(--per-view, 1));
  padding: 0 0.75rem;
  box-sizing: border-box;
  min-width: 0;
}

.why-card__slide {
  display: flex;
}

.why-card__slide .why-card {
  flex: 1 1 auto;
  width: 100%;
}

.partners-grid[data-carousel-track] .partner-item {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 120px;
}

.partners-grid[data-carousel-track] .partner-item a,
.partners-grid[data-carousel-track] .partner-item span {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

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

.carousel-btn:hover,
.carousel-btn:focus {
  background: var(--brand-primary);
  color: var(--white);
  border-color: var(--brand-primary);
  transform: translateY(-1px);
}

.carousel-dots {
  display: flex;
  gap: 0.5rem;
}

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

.carousel-dot.is-active {
  background: var(--brand-primary);
  transform: scale(1.15);
}

.carousel-dot:hover,
.carousel-dot:focus {
  background: var(--brand-secondary);
}

/* Reduced motion */
.prefers-reduced-motion [data-reveal],
.prefers-reduced-motion .hero.is-animated .hero-eyebrow,
.prefers-reduced-motion .hero.is-animated .hero-title,
.prefers-reduced-motion .hero.is-animated .hero-lead,
.prefers-reduced-motion .hero.is-animated .hero-actions .btn,
.prefers-reduced-motion .page-loader__logo,
.prefers-reduced-motion .page-loader__spinner::after,
.prefers-reduced-motion .why-grid[data-carousel-track],
.prefers-reduced-motion .partners-grid[data-carousel-track] {
  animation: none !important;
  transition: none !important;
}

.prefers-reduced-motion [data-reveal] {
  opacity: 1 !important;
  transform: none !important;
}

.noscript [data-reveal] {
  opacity: 1 !important;
  transform: none !important;
}

/* Responsive carousels */
@media (max-width: 767px) {
  .carousel-btn {
    width: 36px;
    height: 36px;
  }

  .partners-grid[data-carousel-track] .partner-item {
    height: 100px;
  }
}

/* Contact page */
.contact-banner {
  background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-primary-dark) 100%);
  color: var(--white);
  text-align: center;
  padding: 7rem 0 4rem;
}

.contact-banner .page-banner-eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-accent);
  margin-bottom: 1rem;
}

.contact-banner .page-banner-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 5vw, 3rem);
  margin: 0 0 1rem;
}

.contact-banner .page-banner-subtitle {
  font-size: 1.15rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
}

.contact-section {
  padding: 5rem 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 4rem;
  align-items: start;
}

.contact-heading {
  font-family: 'Playfair Display', serif;
  font-size: 1.85rem;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

.contact-lead {
  margin-bottom: 2.5rem;
  max-width: 440px;
}

.contact-cards {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-card {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding: 1.5rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.contact-card:hover,
.contact-card:focus-within {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.contact-card__icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(13, 79, 122, 0.08);
  color: var(--brand-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.contact-card__body {
  flex: 1;
}

.contact-card__title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: var(--text-dark);
}

.contact-card__value {
  margin: 0;
  color: var(--text-muted);
  font-style: normal;
  text-decoration: none;
  transition: color 0.2s ease;
}

a.contact-card__value:hover,
a.contact-card__value:focus {
  color: var(--brand-primary);
}

.contact-form-wrapper {
  position: sticky;
  top: 100px;
}

.contact-form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow);
}

.contact-form-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--text-dark);
}

.contact-map-section {
  padding: 4rem 0 6rem;
  background: var(--surface-alt);
}

.contact-map-section .section-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.75rem;
  text-align: center;
  margin-bottom: 1.75rem;
  color: var(--text-dark);
}

.contact-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--white);
  min-height: 360px;
}

.contact-map iframe {
  width: 100%;
  height: 360px;
  border: 0;
}

.contact-map-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 360px;
  color: var(--text-muted);
  gap: 0.75rem;
}

.contact-map-placeholder i {
  font-size: 2.5rem;
  color: var(--brand-primary);
}

.footer-org-name {
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

@media (max-width: 991px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .contact-form-wrapper {
    position: static;
  }
}

@media (max-width: 575px) {
  .contact-card {
    flex-direction: column;
    gap: 1rem;
  }

  .contact-form-card {
    padding: 1.5rem;
  }
}

/* Hero full-screen slider */
.hero.hero--slider,
.hero.hero--empty {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: var(--brand-primary, #0b3c5d);
  color: #fff;
  padding: 0;
}

.hero--slider .hero-slides {
  position: relative;
  width: 100%;
  min-height: 90vh;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  z-index: 0;
  transition: opacity 0.7s ease, visibility 0.7s ease;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(0, 45, 75, 0.88) 0%,
    rgba(0, 65, 100, 0.65) 45%,
    rgba(0, 0, 0, 0.25) 100%
  );
}

.hero--empty .hero-overlay--empty {
  background: linear-gradient(
    135deg,
    rgba(0, 45, 75, 0.95) 0%,
    rgba(0, 65, 100, 0.92) 100%
  );
}

.hero--slider .hero-overlay,
.hero--empty .hero-overlay--empty {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero--slider .container,
.hero--empty .container {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero--slider .hero-content,
.hero--empty .hero-content {
  max-width: 720px;
  padding-top: 7rem;
  padding-bottom: 7rem;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 1rem;
}

.hero-eyebrow::before {
  content: '';
  display: inline-block;
  width: 26px;
  height: 2px;
  background-color: var(--brand-accent, #d4a017);
}

.hero-title {
  font-size: clamp(2.4rem, 5.2vw, 4.2rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 1.25rem;
  max-width: 660px;
}

.hero-lead {
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 2rem;
  max-width: 620px;
}

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

.hero-actions .btn-lg {
  padding: 0.85rem 1.75rem;
  font-size: 1rem;
  font-weight: 600;
}

.hero-controls {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.hero-btn {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.25);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
}

.hero-btn:hover,
.hero-btn:focus-visible {
  background: rgba(0, 0, 0, 0.5);
  border-color: rgba(255, 255, 255, 0.75);
  outline: 2px solid var(--brand-accent, #d4a017);
  outline-offset: 2px;
}

.hero-btn i {
  font-size: 1.1rem;
}

.hero-dots {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.25);
  padding: 0;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.2s ease;
}

.hero-dot:hover,
.hero-dot:focus-visible {
  background: rgba(255, 255, 255, 0.65);
  outline: 2px solid var(--brand-accent, #d4a017);
  outline-offset: 2px;
}

.hero-dot.is-active {
  background: #fff;
  border-color: #fff;
  transform: scale(1.15);
}

/* Hero content entrance animations */
[data-hero-animate] {
  opacity: 0;
  transform: translateY(18px);
}

.hero-slide.is-active [data-hero-animate="eyebrow"] {
  animation: heroFadeUp 0.7s 0.1s ease forwards;
}

.hero-slide.is-active [data-hero-animate="title"] {
  animation: heroFadeUp 0.8s 0.24s ease forwards;
}

.hero-slide.is-active [data-hero-animate="description"] {
  animation: heroFadeUp 0.8s 0.38s ease forwards;
}

.hero-slide.is-active [data-hero-animate="actions"] {
  animation: heroFadeUp 0.8s 0.5s ease forwards;
}

@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Reduced motion */
.prefers-reduced-motion .hero-slide {
  transition: none;
}

.prefers-reduced-motion [data-hero-animate],
.prefers-reduced-motion .hero-slide.is-active [data-hero-animate] {
  opacity: 1;
  transform: none;
  animation: none;
}

/* Hero responsive breakpoints */
@media (max-width: 1280px) {
  .hero--slider .hero-content,
  .hero--empty .hero-content {
    max-width: 640px;
  }
}

@media (max-width: 1024px) {
  .hero.hero--slider,
  .hero.hero--empty,
  .hero--slider .hero-slides {
    min-height: 85vh;
  }

  .hero--slider .hero-content,
  .hero--empty .hero-content {
    padding-top: 6rem;
    padding-bottom: 6rem;
  }
}

@media (max-width: 768px) {
  .hero.hero--slider,
  .hero.hero--empty,
  .hero--slider .hero-slides {
    min-height: 80vh;
  }

  .hero-bg::after {
    background: linear-gradient(
      160deg,
      rgba(0, 45, 75, 0.9) 0%,
      rgba(0, 65, 100, 0.72) 55%,
      rgba(0, 0, 0, 0.35) 100%
    );
  }

  .hero-title {
    font-size: clamp(2.1rem, 7vw, 3.2rem);
  }

  .hero-eyebrow {
    font-size: 0.7rem;
  }

  .hero-actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn-lg {
    width: 100%;
    text-align: center;
  }

  .hero-controls {
    bottom: 1.25rem;
    gap: 0.75rem;
  }

  .hero-btn {
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 480px) {
  .hero.hero--slider,
  .hero.hero--empty,
  .hero--slider .hero-slides {
    min-height: 85vh;
  }

  .hero--slider .hero-content,
  .hero--empty .hero-content {
    padding-top: 5.5rem;
    padding-bottom: 5.5rem;
  }

  .hero-title {
    font-size: clamp(2rem, 9vw, 2.8rem);
  }

  .hero-eyebrow {
    font-size: 0.68rem;
    letter-spacing: 0.12em;
  }

  .hero-lead {
    font-size: 1.05rem;
  }
}

@media (max-width: 375px) {
  .hero-title {
    font-size: 1.95rem;
  }

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

  .hero-controls {
    gap: 0.5rem;
  }

  .hero-dot {
    width: 9px;
    height: 9px;
  }
}

@media (max-width: 320px) {
  .hero-title {
    font-size: 1.75rem;
  }

  .hero-lead {
    font-size: 0.95rem;
  }
}

@media (min-width: 1440px) {
  .hero--slider .hero-content,
  .hero--empty .hero-content {
    max-width: 780px;
  }
}

/* Hero sample theme: dark overlay with white content */
.hero.hero--slider {
  background-color: var(--brand-primary, #0d4f7a);
  color: #fff;
}

.hero--slider .hero-overlay {
  background: transparent;
}

.hero--slider .hero-bg::after {
  background: linear-gradient(
    100deg,
    rgba(0, 45, 75, 0.82) 0%,
    rgba(0, 65, 100, 0.5) 45%,
    rgba(0, 0, 0, 0.25) 100%
  );
}

.hero--slider .hero-eyebrow {
  color: rgba(255, 255, 255, 0.92);
  font-weight: 600;
  letter-spacing: 0.14em;
}

.hero--slider .hero-title,
.hero--slider .hero-lead {
  color: #fff;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}

.hero-cta i {
  transition: transform 0.25s ease;
}

.hero-cta:hover i,
.hero-cta:focus i {
  transform: translateX(3px);
}

.hero-cta--primary {
  background-color: var(--brand-primary, #0d4f7a);
  border-color: var(--brand-primary, #0d4f7a);
  color: #fff;
}

.hero-cta--primary:hover,
.hero-cta--primary:focus {
  background-color: var(--brand-primary-dark, #083d5f);
  border-color: var(--brand-primary-dark, #083d5f);
  color: #fff;
}

.hero-cta--secondary {
  background-color: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.65);
}

.hero-cta--secondary:hover,
.hero-cta--secondary:focus {
  background-color: #fff;
  color: var(--brand-primary, #0d4f7a);
  border-color: #fff;
}

.hero-arrows {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  z-index: 3;
  display: flex;
  justify-content: space-between;
  padding: 0 1rem;
  pointer-events: none;
}

.hero-arrow {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.25);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  pointer-events: auto;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
}

.hero-arrow:hover,
.hero-arrow:focus-visible {
  background: rgba(0, 0, 0, 0.5);
  border-color: rgba(255, 255, 255, 0.75);
  transform: scale(1.05);
  outline: 2px solid var(--brand-accent, #d4a017);
  outline-offset: 2px;
}

.hero-dots {
  position: absolute;
  bottom: 1.75rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
}

.hero-dot {
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.25);
}

.hero-dot:hover,
.hero-dot:focus-visible {
  background: rgba(255, 255, 255, 0.65);
  outline-color: var(--brand-accent, #d4a017);
}

.hero-dot.is-active {
  background: #fff;
  border-color: #fff;
}

/* Responsive sample refinements */
@media (max-width: 768px) {
  .hero--slider .hero-overlay,
  .hero--slider .hero-bg::after {
    background: linear-gradient(
      160deg,
      rgba(0, 45, 75, 0.92) 0%,
      rgba(0, 65, 100, 0.72) 55%,
      rgba(0, 0, 0, 0.35) 100%
    );
  }

  .hero-cta {
    width: 100%;
    justify-content: center;
  }

  .hero-arrow {
    width: 40px;
    height: 40px;
  }

  .hero-arrows {
    padding: 0 0.5rem;
  }

  .hero-dots {
    bottom: 1.25rem;
  }
}

@media (max-width: 480px) {
  .hero-cta {
    width: 100%;
    justify-content: center;
  }
}
