/* Design tokens used throughout the site. */
:root {
  --primary: #352e61;
  --primary-soft: #51487d;
  --lavender: #cebddd;
  --green: #cce3c6;
  --pink: #f6deec;
  --grey: #878684;
  --background: #faf9fc;
  --surface: #fff;
  --text: #272433;
  --text-muted: #6f6b78;
  --border: #e7e2ec;
  --shadow: 0 18px 55px rgba(53, 46, 97, 0.1);
  --radius: 24px;
}
/* Base reset and document defaults. */
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  color: var(--text);
  font:
    16px/1.65 Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  background: var(--background);
  overflow-x: hidden;
}
/* Soft, fixed background accents. */
body::before,
body::after {
  content: "";
  position: fixed;
  z-index: -2;
  border-radius: 50%;
  filter: blur(4px);
  pointer-events: none;
}
body::before {
  width: 42rem;
  height: 42rem;
  top: -19rem;
  right: -14rem;
  background: radial-gradient(
    circle,
    rgba(206, 189, 221, 0.62),
    rgba(206, 189, 221, 0) 68%
  );
}
body::after {
  width: 35rem;
  height: 35rem;
  bottom: -16rem;
  left: -13rem;
  background: radial-gradient(
    circle,
    rgba(204, 227, 198, 0.62),
    rgba(204, 227, 198, 0) 68%
  );
}
a {
  color: inherit;
}
img {
  max-width: 100%;
}
button,
input,
select,
textarea {
  font: inherit;
}
.skip-link {
  position: absolute;
  left: 1rem;
  top: -5rem;
  z-index: 100;
  background: #fff;
  color: var(--primary);
  padding: 0.75rem 1rem;
  border-radius: 10px;
  box-shadow: var(--shadow);
}
.skip-link:focus {
  top: 1rem;
}
.container {
  width: min(1140px, calc(100% - 3rem));
  margin: auto;
}
/* Shared header and primary navigation. */
.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  padding: 0.25rem 0;
  background: rgba(250, 249, 252, 0.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(231, 226, 236, 0.7);
}
.nav {
  width: min(1200px, calc(100% - 3rem));
  margin: auto;
  display: flex;
  align-items: center;
  gap: 1.1rem;
  min-height: 72px;
  position: relative;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--primary);
  font-weight: 800;
  line-height: 0;
  min-width: max-content;
  height: 72px;
  overflow: visible;
  z-index: 1;
}
.brand > div {
  display: none;
}
.brand img {
  width: 82px;
  height: 82px;
  object-fit: contain;
  margin: -5px 0;
  display: block;
}
.brand span {
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  display: block;
  color: var(--text-muted);
  margin-top: 0.22rem;
  font-weight: 700;
}
.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.15rem;
  width: 100%;
}
.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 0.5rem 0.7rem;
  border-radius: 999px;
  white-space: nowrap;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
  background: rgba(255, 255, 255, 0.92);
}
.nav-links .support-link {
  color: #fff;
  background: var(--primary);
  padding: 0.55rem 0.9rem;
  margin-left: 0.15rem;
}
.nav-links .support-link:hover,
.nav-links .support-link.active {
  color: #fff;
  background: var(--primary-soft);
}
.menu-toggle {
  display: none;
}
/* Home-page hero and calls to action. */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(3.5rem, 8vw, 7rem) 0 4.5rem;
}
.hero::after {
  content: "";
  position: absolute;
  width: 24rem;
  height: 24rem;
  right: 2%;
  bottom: -18rem;
  border-radius: 50%;
  background: rgba(246, 222, 236, 0.52);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  align-items: center;
  gap: 3rem;
  position: relative;
  z-index: 1;
}
.eyebrow,
.tag {
  display: inline-flex;
  width: max-content;
  padding: 0.38rem 0.7rem;
  border: 1px solid rgba(53, 46, 97, 0.13);
  border-radius: 999px;
  color: var(--primary);
  background: rgba(255, 255, 255, 0.48);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2,
h3 {
  color: var(--primary);
  line-height: 1.12;
  letter-spacing: -0.035em;
}
h1 {
  max-width: 760px;
  margin: 0.9rem 0 1.25rem;
  font-size: clamp(2.6rem, 6vw, 5.25rem);
}
h2 {
  font-size: clamp(2rem, 4vw, 3.25rem);
  margin-bottom: 1rem;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 0.55rem;
}
.lead {
  max-width: 650px;
  color: var(--text-muted);
  font-size: 1.1rem;
}
.hero-panel {
  padding: 1.5rem;
}
.hero-panel p {
  color: var(--text-muted);
  margin-bottom: 0;
}
.glass,
.card,
.step,
.metric,
.notice,
.image-placeholder,
.form-card {
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px) saturate(125%);
  -webkit-backdrop-filter: blur(16px) saturate(125%);
}
.hero-pills {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-top: 1.6rem;
}
.hero-pills span {
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(53, 46, 97, 0.1);
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--primary);
}
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.8rem;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 0.75rem 1.05rem;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(53, 46, 97, 0.16);
}
.btn-primary {
  color: #fff;
  background: var(--primary);
}
.btn-secondary {
  color: var(--primary);
  background: rgba(255, 255, 255, 0.62);
  border-color: rgba(53, 46, 97, 0.17);
}
/* Reusable content layouts and cards. */
.section {
  padding: 5.5rem 0;
}
.section-alt {
  background: rgba(255, 255, 255, 0.32);
  border-block: 1px solid rgba(255, 255, 255, 0.54);
}
.section-heading {
  max-width: 760px;
  margin-bottom: 2.25rem;
}
.section-heading p {
  color: var(--text-muted);
  font-size: 1.05rem;
}
.grid {
  display: grid;
  gap: 1.25rem;
}
.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}
.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}
.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}
.card {
  border-radius: var(--radius);
  padding: 1.5rem;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 55px rgba(53, 46, 97, 0.14);
}
.card p,
.step p {
  color: var(--text-muted);
}
.card-link {
  display: inline-block;
  margin-top: 0.5rem;
  color: var(--primary);
  font-weight: 800;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}
.card.care {
  border-top: 4px solid var(--pink);
}
.card.learn {
  border-top: 4px solid var(--lavender);
}
.card.planet {
  border-top: 4px solid var(--green);
}
.card.innovate {
  border-top: 4px solid #d9d5e8;
}
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}
.image-placeholder {
  min-height: 275px;
  padding: 2rem;
  border: 1.5px dashed rgba(53, 46, 97, 0.27);
  border-radius: var(--radius);
  color: var(--text-muted);
  text-align: center;
  display: grid;
  place-items: center;
  background: linear-gradient(
    135deg,
    rgba(206, 189, 221, 0.35),
    rgba(204, 227, 198, 0.3)
  );
}
.quote {
  color: var(--primary);
  font-weight: 800;
  font-size: 1.25rem;
  line-height: 1.45;
}
.steps {
  counter-reset: step;
}
.step {
  position: relative;
  padding: 1.35rem 1.25rem 1.25rem 4.5rem;
  border-radius: 18px;
}
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  position: absolute;
  left: 1.15rem;
  top: 1.25rem;
  color: var(--primary);
  font-weight: 900;
  font-size: 1.3rem;
}
.step h3 {
  margin: 0 0 0.3rem;
}
.step p {
  margin: 0;
  font-size: 0.93rem;
}
.metric {
  padding: 1.5rem;
  border-radius: 18px;
  text-align: center;
}
.metric strong {
  display: block;
  color: var(--primary);
  font-size: 2.3rem;
  line-height: 1;
}
.metric span {
  color: var(--text-muted);
  font-size: 0.9rem;
}
.notice {
  padding: 1rem 1.2rem;
  border-radius: 16px;
  color: var(--text-muted);
}
.notice strong {
  color: var(--primary);
}
/* Secondary-page content and form styles. */
.page-hero {
  padding: 4.8rem 0 3rem;
}
.page-hero .lead {
  max-width: 720px;
}
.page-hero h1 {
  font-size: clamp(2.5rem, 5vw, 4.3rem);
  max-width: 900px;
}
.content-section {
  padding: 3rem 0 5rem;
}
.content-section h2 {
  font-size: clamp(1.7rem, 3vw, 2.45rem);
}
.prose {
  max-width: 840px;
}
.prose p,
.prose li {
  color: var(--text-muted);
}
.prose ul {
  padding-left: 1.2rem;
}
.prose li {
  margin: 0.4rem 0;
}
.program-card {
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.program-card .tag {
  margin-bottom: auto;
}
.cycle {
  padding: 1rem 1.2rem;
  border-radius: 18px;
  color: var(--primary);
  font-weight: 800;
  background: rgba(206, 189, 221, 0.35);
  border: 1px solid rgba(53, 46, 97, 0.1);
}
.form-card {
  padding: 1.5rem;
  border-radius: var(--radius);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.field {
  display: grid;
  gap: 0.35rem;
}
.field.full {
  grid-column: 1 / -1;
}
.field label {
  font-weight: 800;
  color: var(--primary);
  font-size: 0.9rem;
}
.field input,
.field select,
.field textarea {
  border: 1px solid var(--border);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--text);
  padding: 0.72rem;
}
.field textarea {
  min-height: 140px;
  resize: vertical;
}
.form-status {
  min-height: 1.6rem;
  margin: 1rem 0 0;
  color: var(--primary);
  font-weight: 700;
}
/* Shared footer. */
.site-footer {
  padding: 2.25rem 0 1rem;
  background: #e3ecdf;
  color: var(--text);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 1.5rem;
}
.site-footer h2 {
  color: var(--primary);
  font-size: 1.3rem;
  letter-spacing: -0.02em;
}
.site-footer p {
  color: #5f5a68;
  max-width: 360px;
}
.site-footer .footer-brand {
  display: inline-flex;
  margin: 0;
}
.footer-brand img {
  display: block;
  width: 190px;
  height: 140px;
  object-fit: contain;
}
.social-links {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.35rem;
  justify-content: center;
  max-width: none;
  margin-top: 1.25rem;
}
.site-footer .social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  margin: 0;
  border: 1px solid rgba(53, 46, 97, 0.28);
  border-radius: 50%;
  color: var(--primary);
  font-family: Arial, sans-serif;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}
.site-footer .social-link:hover,
.site-footer .social-link:focus-visible {
  background: var(--primary);
  color: #fff;
  text-decoration: none;
  transform: translateY(-2px);
}
.social-link svg {
  width: 1.15rem;
  height: 1.15rem;
  fill: currentColor;
}
.social-medium {
  font-family: Georgia, serif !important;
  font-size: 1.15rem !important;
}
.social-linkedin {
  font-size: 0.93rem !important;
}
.social-facebook {
  font-family: Arial, sans-serif !important;
  font-size: 1.3rem !important;
}
.social-threads {
  font-size: 1.4rem !important;
}
@media (max-width: 640px) {
  .site-footer .social-link {
    width: 2.1rem;
    height: 2.1rem;
  }
}
.site-footer a {
  display: block;
  color: #48415f;
  text-decoration: none;
  margin: 0.35rem 0;
  font-size: 0.92rem;
}
.site-footer a:hover {
  text-decoration: underline;
}
.footer-bottom {
  border-top: 1px solid rgba(53, 46, 97, 0.16);
  margin-top: 1.25rem;
  padding-top: 0.85rem;
  font-size: 0.86rem;
  color: #5f5a68;
  text-align: center;
}
.footer-bottom a {
  display: inline;
  margin: 0;
  color: var(--primary);
  font-weight: 700;
}
:focus-visible {
  outline: 3px solid rgba(53, 46, 97, 0.38);
  outline-offset: 3px;
}
/* Responsive navigation and grid adjustments. */
@media (max-width: 920px) {
  .nav {
    position: relative;
  }
  .menu-toggle {
    display: block;
    margin-left: auto;
    padding: 0.6rem 0.9rem;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--primary);
    font-weight: 800;
    box-shadow: 0 4px 12px rgba(53, 46, 97, 0.08);
    cursor: pointer;
  }
  .menu-toggle:hover {
    background: #fff;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: calc(100% + 0.55rem);
    left: 0;
    right: 0;
    padding: 0.8rem;
    flex-direction: column;
    align-items: stretch;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: var(--shadow);
  }
  .nav-links.open {
    display: flex;
  }
  .nav-links a {
    padding: 0.7rem 0.85rem;
  }
  .nav-links .support-link {
    margin: 0.25rem 0 0;
    text-align: center;
  }
  .hero-grid,
  .split {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Internal-page header: logo panel at left, compact navigation above the page introduction. */
.site-header.has-page-intro {
  position: relative;
  z-index: 1;
  padding: 0.75rem 0;
  background: var(--background);
  border-bottom: 0;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.site-header.has-page-intro .nav {
  display: grid;
  grid-template-columns: 290px minmax(0, 1fr);
  grid-template-rows: 60px 200px;
  width: calc(100% - 1.5rem);
  min-height: 0;
  gap: 0.8rem;
  padding: 1.1rem;
  border: 1px solid rgba(53, 46, 97, 0.45);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.86);
}
.site-header.has-page-intro .nav::before {
  display: none;
}
.site-header.has-page-intro .brand {
  grid-column: 1;
  grid-row: 1 / -1;
  justify-content: center;
  height: auto;
  min-height: 0;
  padding: 1rem;
  border: 1px solid rgba(53, 46, 97, 0.45);
  border-radius: 14px;
  background: #fff;
}
.site-header.has-page-intro .brand img {
  width: min(100%, 235px);
  height: auto;
  margin: 0;
}
.site-header.has-page-intro .nav-links {
  grid-column: 2;
  grid-row: 1;
  align-self: stretch;
  justify-content: flex-end;
  height: auto;
  padding: 0 0.25rem;
  border: 1px solid rgba(53, 46, 97, 0.45);
  border-radius: 14px;
  background: #fff;
}
.site-header.has-page-intro .header-intro {
  grid-column: 2;
  grid-row: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem 2.5rem;
  border: 1px solid rgba(53, 46, 97, 0.45);
  border-radius: 14px;
  background: #fff;
}
.header-intro .container {
  width: auto;
  margin: 0;
}
.header-intro .eyebrow {
  display: none;
}
.header-intro h1 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.35rem);
}
.header-intro .lead {
  max-width: 800px;
  margin: 1rem 0 0;
}
@media (max-width: 920px) {
  .site-header.has-page-intro {
    padding: 0;
  }
  .site-header.has-page-intro .nav {
    display: flex;
    flex-wrap: wrap;
    width: min(100% - 2rem, 1140px);
    gap: 0.75rem;
    padding: 0.5rem 0;
    border: 0;
    border-radius: 0;
    background: transparent;
  }
  .site-header.has-page-intro .brand {
    min-height: 76px;
    padding: 0;
    border: 0;
    background: transparent;
  }
  .site-header.has-page-intro .brand img {
    width: 96px;
    height: 96px;
    margin: -10px 0;
  }
  .site-header.has-page-intro .nav-links {
    border: 1px solid var(--border);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.96);
  }
  .site-header.has-page-intro .header-intro {
    flex-basis: 100%;
    order: 3;
    padding: 2rem 0 2.5rem;
    border: 0;
    border-radius: 0;
    background: transparent;
  }
}

/* Exact flex-panel structure used for internal-page headers. */
.site-header.has-page-intro .nav {
  display: block;
  width: 100%;
  min-height: 0;
  margin: 0;
  padding: 0;
}
.site-header.has-page-intro .nav::before {
  display: none;
}
.site-header.has-page-intro .frame {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 16px;
  display: flex;
  gap: 16px;
  border: 1.5px solid var(--primary-soft);
  border-radius: 28px;
  background: #fff;
}
.site-header.has-page-intro .brand-logo {
  flex: 0 0 280px;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--primary-soft);
  border-radius: 18px;
}
.site-header.has-page-intro .brand-logo .brand {
  display: flex;
  justify-content: center;
  width: 100%;
  height: 100%;
  min-height: 0;
  padding: 1rem;
  border: 0;
  background: transparent;
}
.site-header.has-page-intro .brand-logo .brand img {
  width: min(100%, 230px);
  height: auto;
  margin: 0;
}
.site-header.has-page-intro .right-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}
.site-header.has-page-intro .header-navbar {
  min-height: 60px;
  display: flex;
  align-items: center;
  border: 1.5px solid var(--primary-soft);
  border-radius: 18px;
  padding: 0 0.75rem;
}
.site-header.has-page-intro .header-navbar .nav-links {
  position: static;
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: flex-end;
  height: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.site-header.has-page-intro .header-navbar .menu-toggle {
  display: none;
}
.site-header.has-page-intro .header-intro {
  flex: 1;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px 44px;
  border: 1.5px solid var(--primary-soft);
  border-radius: 18px;
  background: #fff;
}
.site-header.has-page-intro .header-intro .eyebrow {
  display: none;
}
.site-header.has-page-intro .header-intro h1 {
  margin: 0;
  color: var(--primary);
  font-size: clamp(1.4rem, 3vw, 2.3rem);
  line-height: 1.3;
}
.site-header.has-page-intro .header-intro .lead {
  margin: 18px 0 0;
  max-width: 60ch;
  color: var(--text-muted);
  font-size: clamp(0.85rem, 1.2vw, 1rem);
  line-height: 1.5;
}
@media (max-width: 720px) {
  .site-header.has-page-intro .frame {
    flex-direction: column;
    margin: 0;
    border-radius: 0;
  }
  .site-header.has-page-intro .brand-logo {
    flex-basis: 140px;
    min-height: 140px;
  }
  .site-header.has-page-intro .brand-logo .brand img {
    width: 128px;
  }
  .site-header.has-page-intro .header-navbar {
    padding: 0.75rem;
  }
  .site-header.has-page-intro .header-navbar .nav-links {
    justify-content: center;
    flex-wrap: wrap;
  }
  .site-header.has-page-intro .header-intro {
    min-height: 0;
    padding: 28px;
  }
}

/* Wireframe values supplied for the header panels. */
.site-header.has-page-intro {
  padding: 32px 24px;
  background: #fff;
}
.site-header.has-page-intro .frame {
  max-width: 1180px;
  gap: 16px;
  padding: 16px;
  border: 1.5px solid #3aa15a;
  border-radius: 28px;
}
.site-header.has-page-intro .brand-logo,
.site-header.has-page-intro .header-navbar,
.site-header.has-page-intro .header-intro {
  border: 1.5px solid #3aa15a;
  border-radius: 18px;
}
.site-header.has-page-intro .header-intro h1,
.site-header.has-page-intro .header-intro .lead {
  color: #3aa15a;
}
@media (max-width: 720px) {
  .site-header.has-page-intro {
    padding: 16px;
  }
  .site-header.has-page-intro .frame {
    display: flex;
    flex-wrap: wrap;
    padding: 0;
    gap: 0;
    border: 0;
    border-radius: 0;
  }
  .site-header.has-page-intro .brand-logo {
    flex: 0 0 280px;
    min-height: 260px;
    border: 0;
    border-radius: 0;
  }
  .site-header.has-page-intro .brand-logo .brand img {
    width: 270px;
  }
  .site-header.has-page-intro .brand-logo .brand {
    padding: 0;
  }
  .site-header.has-page-intro .right-col {
    display: contents;
  }
  .site-header.has-page-intro .header-navbar {
    position: relative;
    flex: 1;
    min-height: 260px;
    justify-content: flex-end;
    padding: 0;
    border: 0;
    border-radius: 0;
  }
  .site-header.has-page-intro .header-navbar .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 44px;
    margin-left: auto;
    border: 2px solid #272433;
    border-radius: 5px;
    background: #fff;
    color: #272433;
    font-size: 0;
  }
  .site-header.has-page-intro .header-navbar .menu-toggle::after {
    content: "☰";
    font-size: 2rem;
    font-weight: 400;
    line-height: 1;
  }
  .site-header.has-page-intro .header-navbar .nav-links {
    position: absolute;
    top: 112px;
    right: 0;
    z-index: 2;
    display: none;
    width: min(280px, 100vw - 2rem);
    flex-direction: column;
    align-items: stretch;
    padding: 0.8rem;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: #fff;
    box-shadow: var(--shadow);
  }
  .site-header.has-page-intro .header-navbar .nav-links.open {
    display: flex;
  }
  .site-header.has-page-intro .header-intro {
    flex: 0 0 100%;
    min-height: 0;
    padding: 1.5rem 0 2.5rem;
    border: 0;
    border-radius: 0;
  }
}
@media (max-width: 420px) {
  .site-header.has-page-intro .brand-logo {
    flex-basis: 220px;
    min-height: 230px;
  }
  .site-header.has-page-intro .brand-logo .brand img {
    width: 210px;
  }
  .site-header.has-page-intro .header-navbar {
    min-height: 230px;
  }
}
@media (max-width: 640px) {
  .container,
  .nav {
    width: min(100% - 2rem, 1140px);
  }
  .site-header {
    padding: 0.15rem 0;
  }
  .brand img {
    width: 64px;
    height: 64px;
  }
  .menu-toggle {
    top: 0.9rem;
    right: 1rem;
  }
  .nav-links {
    top: 4rem;
    right: 1rem;
    left: 1rem;
    min-width: 0;
  }
  .section {
    padding: 3.7rem 0;
  }
  .hero {
    padding: 3.5rem 0;
  }
  .grid-2,
  .grid-3,
  .grid-4,
  .footer-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }
  .field.full {
    grid-column: auto;
  }
  .card {
    padding: 1.25rem;
  }
  .page-hero {
    padding: 3.25rem 0 1.5rem;
  }
  .content-section {
    padding: 2.2rem 0 3.7rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* A slim contact ribbon sits above the open navigation, while the logo anchors the left. */
.site-header {
  padding: 0;
  background: rgba(255, 255, 255, 0.94);
}
.nav {
  width: calc(100% - 2.5rem);
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  grid-template-rows: 32px 112px;
  column-gap: 1.2rem;
  min-height: 144px;
}
.nav::before {
  content: "✉  info@maradomfoundation.com";
  grid-column: 2;
  grid-row: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  justify-self: start;
  width: min(84%, 1040px);
  margin-left: 4.5rem;
  padding: 0 1.75rem;
  clip-path: polygon(1.5% 0, 98.5% 0, 100% 100%, 0 100%);
  background: var(--primary-soft);
  color: #fff;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}
.brand {
  grid-column: 1;
  grid-row: 1 / -1;
  justify-content: flex-start;
  height: 144px;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.brand img {
  width: 128px;
  height: 128px;
  margin: 0;
}
.nav-links {
  grid-column: 2;
  grid-row: 2;
  align-self: center;
  height: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.nav-links a {
  padding: 0.6rem 0.82rem;
  border-radius: 0;
}
.form-honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
@media (max-width: 640px) {
  .site-header {
    padding: 0.15rem 0;
  }
  .nav {
    display: flex;
    min-height: 76px;
  }
  .brand {
    height: 76px;
    margin: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }
  .brand img {
    width: 96px;
    height: 96px;
    margin: -10px 0;
  }
  .nav::before {
    display: none;
  }
  .nav-links {
    height: auto;
    padding: 0.8rem;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.96);
  }
}

/* Collapse the two-band header into the existing menu pattern on tablet and phone. */
@media (max-width: 920px) {
  .nav {
    display: flex;
    min-height: 76px;
  }
  .nav::before {
    display: none;
  }
  .brand {
    height: 76px;
    margin: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }
  .brand img {
    width: 96px;
    height: 96px;
    margin: -10px 0;
  }
  .nav-links {
    height: auto;
    padding: 0.8rem;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.96);
  }
}

/* Compact navigation with the brand logo floating naturally below it. */
.site-header {
  position: relative;
  z-index: 20;
  height: 237px;
  padding: 0;
  overflow: visible;
  background: transparent;
  border-bottom: 0;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.site-header::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 64px;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(53, 46, 97, 0.1);
  box-shadow: 0 8px 28px rgba(53, 46, 97, 0.06);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.nav {
  position: relative;
  z-index: 1;
  width: min(1200px, calc(100% - 3rem));
  min-height: 64px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.nav::before {
  display: none;
}
.brand {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  z-index: 3;
  width: 265px;
  height: 161px;
  min-width: 0;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.brand:hover {
  transform: none;
  box-shadow: none;
}
.brand img {
  width: 242px;
  height: 161px;
  margin: 0;
  display: block;
  object-fit: contain;
}
.nav-links {
  width: auto;
  height: auto;
  margin-left: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.1rem;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.nav-links a {
  padding: 0.42rem 0.68rem;
  border-radius: 999px;
  font-size: 0.86rem;
}
.nav-links .support-link {
  padding: 0.46rem 0.86rem;
}
.site-header + main > .hero {
  padding-top: clamp(1.5rem, 3vw, 2.5rem);
}
.site-header + main > .page-hero {
  padding-top: 2rem;
}

@media (max-width: 920px) {
  .site-header {
    height: 183px;
  }
  .site-header::before {
    height: 58px;
  }
  .nav {
    width: min(100% - 2rem, 1140px);
    min-height: 58px;
    display: flex;
    justify-content: flex-end;
  }
  .brand {
    top: calc(100% + 10px);
    width: 190px;
    height: 115px;
    padding: 0;
    border-radius: 0;
  }
  .brand img {
    width: 173px;
    height: 115px;
    margin: 0;
  }
  .menu-toggle {
    display: block;
    margin-left: auto;
    padding: 0.46rem 0.78rem;
    border-radius: 10px;
  }
  .nav-links {
    position: absolute;
    top: calc(100% + 130px);
    right: 0;
    left: auto;
    z-index: 2;
    display: none;
    width: min(320px, calc(100vw - 2rem));
    margin: 0;
    padding: 0.8rem;
    flex-direction: column;
    align-items: stretch;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow);
  }
  .nav-links.open {
    display: flex;
  }
  .nav-links a {
    padding: 0.7rem 0.85rem;
  }
  .site-header + main > .hero,
  .site-header + main > .page-hero {
    padding-top: 1.75rem;
  }
}

@media (max-width: 420px) {
  .site-header {
    height: 171px;
  }
  .brand {
    width: 167px;
    height: 103px;
  }
  .brand img {
    width: 152px;
    height: 103px;
  }
}

/* Keep the footer and legal copy readable on narrow screens. */
.page-hero h1,
.prose,
.prose a,
.footer-bottom {
  overflow-wrap: anywhere;
  word-break: normal;
}
@media (max-width: 640px) {
  .site-footer {
    padding: 2rem 0 1rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .site-footer .footer-brand {
    display: flex;
    justify-content: center;
  }
  .footer-brand img {
    width: 170px;
    height: 125px;
  }
  .social-links {
    flex-wrap: wrap;
    margin-top: 1.25rem;
    padding-inline: 0.5rem;
  }
  .footer-bottom {
    line-height: 1.7;
  }
  .site-footer a {
    margin: 0.25rem 0;
  }
}
