:root {
  --green: #03a84e;
  --green-deep: #027a3c;
  --navy: #074277;
  --navy-deep: #05345e;
  --ink: #303030;
  --muted: #4e5963;
  --line: #e4e8ec;
  --soft: #f5f7f8;
  --mint: #f3faf6;
  --white: #ffffff;
  --shadow: 0 18px 40px rgba(7, 66, 119, 0.08);
  --radius: 20px;
  --header: 84px;
  --font: "Roboto", "Segoe UI", sans-serif;
  --display: "Quicksand", "Roboto", sans-serif;
  --max: 1140px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--navy);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--green-deep);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--navy);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.4rem, 5vw, 3.7rem);
  margin-bottom: 18px;
}

h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin-bottom: 16px;
}

h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}

p {
  margin-bottom: 16px;
}

.container {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -40px;
  background: var(--navy);
  color: var(--white);
  padding: 8px 12px;
  border-radius: 8px;
  z-index: 100;
}

.skip-link:focus {
  top: 12px;
  color: var(--white);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.eyebrow {
  margin-bottom: 12px;
  color: var(--green-deep);
  font-family: var(--display);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lede {
  max-width: 40rem;
  font-size: 1.125rem;
  color: var(--ink);
}

.quiet {
  color: var(--muted);
  font-size: 0.95rem;
  font-style: italic;
  font-weight: 400;
}

.section {
  padding: 88px 0;
}

.section-soft {
  background: var(--soft);
}

.section-mint {
  background: var(--mint);
}

.section-head {
  max-width: 680px;
  margin-bottom: 36px;
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

:focus-visible {
  outline: 3px solid var(--navy);
  outline-offset: 3px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  border: 2px solid transparent;
  background: transparent;
  color: var(--navy);
  font-family: inherit;
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--green-deep);
  color: var(--white);
}

.btn-primary:hover {
  background: #026433;
  color: var(--white);
}

.btn-navy {
  background: var(--navy);
  color: var(--white);
}

.btn-navy:hover {
  background: var(--navy-deep);
  color: var(--white);
}

.btn-ghost {
  background: var(--white);
  border-color: #d5dee6;
  color: var(--navy);
}

.btn-ghost:hover {
  border-color: var(--green-deep);
  color: var(--green-deep);
}

.btn-line {
  border-color: rgba(255, 255, 255, 0.7);
  color: var(--white);
}

.btn-line:hover {
  background: var(--white);
  color: var(--navy);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(12px);
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 8px 24px rgba(7, 66, 119, 0.05);
}

.accent-bar {
  height: 4px;
  background: var(--green);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: var(--header);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

.brand img {
  width: 52px;
  height: 50px;
  flex: 0 0 auto;
  object-fit: contain;
}

.brand-name {
  display: block;
  color: var(--navy);
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.brand-sub {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.72rem;
  font-style: italic;
  font-weight: 400;
  line-height: 1.3;
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--navy);
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav ul {
  display: flex;
  align-items: center;
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav a {
  color: var(--navy);
  font-size: 0.98rem;
  font-weight: 500;
  text-decoration: none;
}

.nav ul a[aria-current="page"] {
  color: var(--green-deep);
  box-shadow: inset 0 -2px 0 var(--green);
}

.nav .btn {
  color: var(--white);
}

.hero {
  padding: 56px 0 28px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.hero-photo {
  position: relative;
  z-index: 1;
}

.hero-photo img {
  width: 100%;
  height: min(620px, 74vh);
  object-fit: cover;
  object-position: center 18%;
  border-radius: 28px;
}

.hero-photo::after {
  content: "";
  position: absolute;
  right: -16px;
  bottom: -16px;
  z-index: -1;
  width: 120px;
  height: 120px;
  border-radius: 24px;
  background: var(--green);
}

.hero-badge {
  position: absolute;
  left: 18px;
  bottom: 18px;
  margin: 0;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--navy);
  font-family: var(--display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.support-strip {
  padding: 18px 0 8px;
}

.support-strip ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 22px;
  margin: 0;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  list-style: none;
}

.support-strip li {
  color: var(--navy);
  font-size: 0.95rem;
  font-weight: 700;
}

.support-strip li::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--green);
}

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
}

.split img,
.frame img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  border-radius: var(--radius);
}

.banner-photo {
  width: 100%;
  height: 380px;
  margin-bottom: 28px;
  object-fit: cover;
  object-position: center 28%;
  border-radius: var(--radius);
}

.program-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.program-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: inherit;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.program-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  color: inherit;
}

.program-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.program-card div {
  padding: 20px 20px 24px;
}

.program-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.senior-band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 520px;
  background: var(--navy);
  color: var(--white);
}

.senior-band img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

.senior-copy {
  padding: 64px 56px;
}

.senior-copy h2,
.senior-copy .eyebrow {
  color: var(--white);
}

.senior-copy .eyebrow {
  color: #b7ebcd;
}

.senior-copy p {
  color: rgba(255, 255, 255, 0.92);
}

.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.pills li {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  font-size: 0.92rem;
}

.pills.dark li {
  background: var(--white);
  color: var(--navy);
  border: 1px solid #d9efe4;
}

.belief-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.belief {
  padding: 36px 32px;
  border-radius: var(--radius);
}

.belief h2 {
  margin-bottom: 14px;
  font-size: 1.4rem;
}

.belief p {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.45;
}

.belief-mission {
  background: var(--navy);
}

.belief-mission h2,
.belief-mission p {
  color: var(--white);
}

.belief-vision {
  background: var(--mint);
  border: 1px solid #d9efe4;
}

.involve-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.involve-card {
  display: flex;
  flex-direction: column;
  min-height: 220px;
  padding: 26px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: inherit;
  text-decoration: none;
}

.involve-card:hover {
  border-color: #b7e4c9;
  box-shadow: var(--shadow);
  color: inherit;
}

.involve-card span {
  margin-top: auto;
  color: var(--green-deep);
  font-weight: 700;
}

.icon-dot {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: var(--mint);
  color: var(--green-deep);
}

.contact-panel {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 40px;
  align-items: start;
  padding: 36px;
  border-radius: 28px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.contact-list,
.footer-contact {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.contact-list li,
.footer-contact li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.contact-list strong,
.footer-contact strong {
  font-weight: 700;
  text-align: right;
}

.contact-list a,
.footer-contact a {
  color: inherit;
  text-decoration: none;
}

.contact-list a:hover,
.footer-contact a:hover {
  text-decoration: underline;
}

.contact-list span,
.footer-contact span {
  color: var(--muted);
}

.page-hero {
  padding: 64px 0 12px;
}

.page-hero p.lede {
  margin-bottom: 0;
}

.feature,
.involve-card,
.contact-form {
  scroll-margin-top: 110px;
}

.center {
  text-align: center;
}

.center .button-row,
.center .lede {
  margin-inline: auto;
}

.section-tight {
  padding-top: 24px;
}

.feature-list {
  display: flex;
  flex-direction: column;
}

.feature {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
  padding: 36px 0;
  border-bottom: 1px solid var(--line);
}

.feature:last-child {
  border-bottom: 0;
}

.feature:nth-child(even) .feature-copy {
  order: -1;
}

.feature img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  border-radius: var(--radius);
}

.feature p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field.full {
  grid-column: 1 / -1;
}

label {
  color: var(--navy);
  font-size: 0.88rem;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #d5dee6;
  border-radius: 12px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
}

textarea {
  min-height: 140px;
  resize: vertical;
}

.form-success {
  padding: 28px;
  border-radius: 16px;
  background: var(--mint);
  color: var(--navy);
  font-weight: 700;
}

.topic-switch .is-selected {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.88);
}

.footer-main {
  padding: 56px 0 36px;
  text-align: center;
}

.footer-name {
  margin-bottom: 8px;
  color: var(--white);
  font-size: clamp(1.6rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.footer-tag {
  margin-bottom: 22px;
  color: var(--white);
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.footer-contact {
  width: min(480px, 100%);
  margin: 0 auto 22px;
}

.footer-contact li {
  border-bottom-color: rgba(255, 255, 255, 0.16);
}

.footer-contact span {
  color: rgba(255, 255, 255, 0.7);
}

.footer-note {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.86rem;
  font-style: italic;
}

.footer-org {
  margin: 14px 0 0;
  color: #b7ebcd;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.social {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.social a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.social a:hover {
  background: var(--green);
  color: var(--white);
}

.footer-bottom {
  background: var(--white);
  color: var(--muted);
  text-align: center;
}

.footer-bottom p {
  margin: 0;
  padding: 16px 0 20px;
  font-size: 0.9rem;
}

.footer-bottom .container {
  position: relative;
}

.footer-bottom .container::after {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: 0;
  height: 4px;
  background: var(--navy);
}

@media (max-width: 980px) {
  .nav-toggle {
    display: inline-block;
  }

  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 12px 20px 20px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

  .nav.is-open {
    display: flex;
  }

  .nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .nav ul a {
    display: inline-flex;
    padding: 10px 0;
  }

  .hero-grid,
  .split,
  .senior-band,
  .belief-grid,
  .contact-panel,
  .feature,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .program-grid,
  .involve-grid {
    grid-template-columns: 1fr 1fr;
  }

  .feature:nth-child(even) .feature-copy {
    order: 0;
  }

  .hero-photo img,
  .split img,
  .frame img,
  .feature img,
  .banner-photo {
    height: 280px;
  }

  .senior-copy {
    padding: 40px 24px 48px;
  }

  .involve-card {
    min-height: 0;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(var(--max), calc(100% - 28px));
  }

  .section {
    padding: 64px 0;
  }

  .brand img {
    width: 42px;
    height: 40px;
  }

  .brand-name {
    font-size: 0.92rem;
  }

  .brand-sub {
    font-size: 0.68rem;
  }

  .contact-panel {
    padding: 22px;
  }

  .program-grid,
  .involve-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 32px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
