:root {
  --ink: #111827;
  --navy: #13233d;
  --muted: #5d6675;
  --paper: #fbfcfe;
  --soft: #f2f6fa;
  --line: #dce5ee;
  --accent: #1f6f8b;
  --accent-dark: #15536a;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(17, 24, 39, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
}

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(31, 111, 139, 0.35);
  outline-offset: 3px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(20px, 5vw, 72px);
  background: rgba(251, 252, 254, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--navy);
  text-decoration: none;
  font-weight: 760;
}

.brand-mark {
  display: inline-grid;
  min-width: 48px;
  min-height: 36px;
  place-items: center;
  border: 1px solid var(--navy);
  border-radius: 6px;
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 820;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(12px, 2.5vw, 28px);
}

nav a {
  color: var(--muted);
  font-weight: 640;
  text-decoration: none;
}

nav a:hover,
nav a:focus-visible {
  color: var(--accent-dark);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 420px);
  gap: clamp(32px, 6vw, 82px);
  align-items: center;
  min-height: 720px;
  padding: clamp(72px, 10vw, 128px) clamp(20px, 5vw, 72px);
  overflow: hidden;
  background:
    radial-gradient(circle at 84% 28%, rgba(31, 111, 139, 0.12), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #f5f8fb 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: auto -8% -36% 45%;
  height: 420px;
  border: 1px solid rgba(31, 111, 139, 0.18);
  border-radius: 50%;
  transform: rotate(-12deg);
}

.hero-copy {
  position: relative;
  z-index: 1;
  min-width: 0;
  max-width: 890px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent-dark);
  font-size: 0.78rem;
  font-weight: 820;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p,
li {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 980px;
  margin: 0;
  color: var(--navy);
  font-size: clamp(3rem, 7vw, 6.2rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(2rem, 4.5vw, 4.1rem);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: 1.18rem;
  line-height: 1.2;
}

.subtitle {
  max-width: 780px;
  margin: 24px 0 0;
  color: var(--accent-dark);
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
  font-weight: 700;
}

.intro {
  max-width: 860px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 1.06rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button,
.contact-form button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid var(--accent);
  border-radius: 7px;
  font: inherit;
  font-weight: 760;
  text-decoration: none;
  cursor: pointer;
}

.button.primary,
.contact-form button {
  background: var(--accent);
  color: #ffffff;
}

.button.secondary {
  background: transparent;
  color: var(--accent-dark);
}

.particle-accent {
  position: relative;
  z-index: 1;
  width: min(100%, 420px);
  aspect-ratio: 1;
  margin-inline: auto;
  border: 1px solid rgba(31, 111, 139, 0.22);
  border-radius: 50%;
}

.particle-accent::before,
.particle-accent::after {
  content: "";
  position: absolute;
  inset: 16%;
  border: 1px solid rgba(31, 111, 139, 0.22);
  border-radius: 50%;
  transform: rotate(31deg) scaleX(1.35);
}

.particle-accent::after {
  inset: 26%;
  transform: rotate(-29deg) scaleX(1.55);
}

.particle-accent span {
  position: absolute;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 8px rgba(31, 111, 139, 0.11);
}

.particle-accent span:nth-child(1) {
  top: 12%;
  left: 47%;
}

.particle-accent span:nth-child(2) {
  top: 38%;
  right: 10%;
}

.particle-accent span:nth-child(3) {
  bottom: 16%;
  left: 27%;
}

.particle-accent span:nth-child(4) {
  top: 55%;
  left: 10%;
}

.particle-accent span:nth-child(5) {
  bottom: 34%;
  right: 29%;
}

.section {
  padding: clamp(64px, 9vw, 112px) clamp(20px, 5vw, 72px);
}

.section-heading {
  min-width: 0;
  max-width: 930px;
  margin-bottom: 34px;
}

.section-heading p {
  max-width: 850px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.card,
.text-panel,
.notice,
.contact-form {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.card {
  min-height: 210px;
  padding: 24px;
}

.card p,
.text-panel p,
.notice p {
  margin: 0;
  color: var(--muted);
}

.card p + p,
.text-panel p + p,
.notice p + p {
  margin-top: 16px;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: start;
  background: var(--soft);
}

.text-panel,
.notice {
  padding: clamp(24px, 4vw, 38px);
}

.programs {
  background: var(--white);
}

.program-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  max-width: 1080px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.program-list li {
  position: relative;
  min-height: 64px;
  padding: 18px 18px 18px 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  color: var(--navy);
  font-weight: 670;
}

.program-list li::before {
  content: "";
  position: absolute;
  top: 24px;
  left: 20px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
}

.nonprofit {
  background:
    linear-gradient(90deg, rgba(19, 35, 61, 0.94), rgba(19, 35, 61, 0.88)),
    var(--navy);
  color: #ffffff;
}

.nonprofit h2,
.nonprofit .eyebrow {
  color: #ffffff;
}

.nonprofit .section-heading p {
  color: rgba(255, 255, 255, 0.78);
}

.notice {
  max-width: 1050px;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.22);
}

.notice p {
  color: rgba(255, 255, 255, 0.82);
}

.notice strong {
  color: #ffffff;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.7fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: start;
}

.email-link {
  color: var(--accent-dark);
  font-weight: 780;
  text-underline-offset: 4px;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: clamp(22px, 4vw, 34px);
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

label {
  display: grid;
  gap: 7px;
  color: var(--navy);
  font-weight: 700;
}

input,
textarea {
  width: 100%;
  border: 1px solid #cbd8e5;
  border-radius: 7px;
  padding: 12px 13px;
  color: var(--ink);
  font: inherit;
  background: #ffffff;
}

textarea {
  resize: vertical;
}

.footer {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) auto;
  gap: 18px 32px;
  padding: 34px clamp(20px, 5vw, 72px);
  background: #0d1524;
  color: rgba(255, 255, 255, 0.78);
}

.footer strong {
  display: block;
  color: #ffffff;
  margin-bottom: 6px;
}

.footer p {
  margin: 0;
}

.footer nav a {
  color: rgba(255, 255, 255, 0.8);
}

.copyright {
  grid-column: 1 / -1;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 0.93rem;
}

@media (max-width: 920px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero,
  .split-section,
  .contact,
  .footer {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero {
    min-height: auto;
  }

  .particle-accent {
    max-width: 330px;
  }

  .card-grid,
  .program-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .hero,
  .section {
    padding-left: 18px;
    padding-right: 18px;
  }

  .hero-copy,
  .section-heading,
  .text-panel,
  .notice,
  .contact-form,
  .program-list,
  .card-grid {
    width: 100%;
    max-width: calc(100vw - 36px);
  }

  .site-header nav {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 16px;
  }

  .brand {
    align-items: flex-start;
    max-width: 100%;
  }

  .brand span:last-child {
    line-height: 1.25;
  }

  h1 {
    font-size: 2.35rem;
    line-height: 1.08;
  }

  .eyebrow {
    font-size: 0.68rem;
  }

  .subtitle {
    font-size: 1.08rem;
    line-height: 1.45;
  }

  .intro {
    font-size: 1rem;
  }

  .particle-accent {
    width: calc(100vw - 36px);
    max-width: 320px;
  }

  .hero {
    display: block;
  }

  .hero-copy,
  .hero-copy h1,
  .hero-copy .eyebrow,
  .hero-copy .subtitle,
  .hero-copy .intro {
    width: 300px;
    max-width: 300px;
  }

  .particle-accent {
    margin-top: 34px;
  }

  .button,
  .contact-form button {
    width: 100%;
  }
}

@media (max-width: 430px) {
  .hero-copy,
  .section-heading,
  .text-panel,
  .notice,
  .contact-form,
  .program-list,
  .card-grid {
    max-width: 330px;
  }

}
