:root {
  --blue: #0a23a0;
  --navy: #001f60;
  --bright-blue: #0078ff;
  --teal: #337193;
  --ink: #11131a;
  --muted: #4b5563;
  --line: #c9c9c9;
  --soft: #f4f7fc;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: "Montserrat", Arial, sans-serif;
  line-height: 1.35;
}

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

a {
  color: inherit;
  text-decoration: none;
}

main {
  overflow: hidden;
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

/* Layout helpers */
.container {
  width: min(var(--max), calc(100% - 56px));
  margin: 0 auto;
}

.section {
  padding: 34px 0;
}

.panel {
  margin: 34px auto 0;
  padding: 44px 34px;
  background: var(--soft);
}

.center {
  text-align: center;
}

.center h2 {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1;
}

.panel-intro {
  max-width: 800px;
  margin: 0 auto;
}

/* Header and navigation */
.site-header {
  padding: 28px 0 22px;
  background: #fff;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.logo {
  width: 295px;
  max-width: 44vw;
}

.nav-wrap {
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 17px;
}

.site-nav a {
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}

.site-nav a.active,
.site-nav a:hover {
  border-color: var(--blue);
}

.nav-toggle {
  display: none;
  border: 0;
  background: none;
  padding: 10px;
}

.nav-toggle span {
  display: block;
  width: 28px;
  height: 3px;
  margin: 5px 0;
  background: var(--blue);
}

.button,
.donate-button,
.footer-col a.donate-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 28px;
  border-radius: 7px;
  background: var(--blue);
  color: #fff;
  font-weight: 700;
  letter-spacing: .02em;
}

.site-nav a.donate-button {
  border-bottom: 0;
}

.footer-col a.donate-button {
  width: auto;
  min-width: 140px;
}

.mobile-donate {
  display: none;
}

/* Shared page typography */
.eyebrow,
.page-eyebrow,
.initiative-subtitle,
.legal-eyebrow {
  margin: 0 0 18px;
  color: var(--teal);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .12em;
  line-height: 1.2;
  text-transform: uppercase;
}

.page-hero h1,
.leadership-heading h1,
.initiative-title,
.legal h1,
.legal .klares-title {
  margin: 0 0 36px;
  color: var(--blue);
  font-family: "Times New Roman", Times, serif;
  font-size: clamp(48px, 5vw, 78px);
  font-weight: 500;
  letter-spacing: -.025em;
  line-height: .96;
}

.legal h2,
.initiative-title,
.leadership-heading h2,
.leadership-story h2,
.founder-note-copy h2 {
  font-family: "Times New Roman", Times, serif;
}

/* Home page */
.hero-grid {
  display: grid;
  grid-template-columns: .9fr 1.25fr;
  gap: 70px;
  align-items: center;
  padding-top: 24px;
}

.hero-copy h1 {
  margin: 0 0 28px;
  font-size: clamp(44px, 5vw, 70px);
  font-weight: 500;
  letter-spacing: -.04em;
  line-height: .99;
}

.hero-copy h1 span {
  display: block;
  color: var(--blue);
}

.hero-copy p {
  max-width: 430px;
  margin: 0 0 30px;
  font-size: 19px;
}

.hero-image {
  width: 100%;
  aspect-ratio: 1.43;
  object-fit: cover;
}

.home-intro-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 42px;
}

.home-intro-grid h2,
.split-section h2 {
  margin: 0 0 24px;
  color: var(--blue);
  font-size: 18px;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.home-intro-grid p,
.split-section p {
  margin: 0 0 24px;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.2;
}

.split-section {
  display: grid;
  grid-template-columns: 1fr 3px 1fr;
  gap: 20px;
  align-items: stretch;
}

.divider {
  width: 3px;
  background: var(--line);
  justify-self: center;
}

.icon-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 780px;
  margin: 0 auto;
  padding-top: 44px;
  border-top: 4px solid var(--line);
  text-align: center;
}

.icon-card {
  padding: 0 36px;
  border-right: 3px solid var(--line);
}

.icon-card:last-child {
  border-right: 0;
}

.impact-icon,
.value-icon,
.priority-icon {
  display: block;
  margin: 0 auto 18px;
  object-fit: contain;
}

.impact-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 28px;
}

.value-icon,
.priority-icon {
  width: 72px;
  height: 72px;
}

.icon-card h3,
.value-card h3,
.priority-card h3,
.kaiser-card h3 {
  margin: 0 0 10px;
  color: var(--blue);
  font-size: 17px;
}

.value-card:nth-child(even) h3 {
  color: var(--teal);
}

.icon-card p {
  margin: 0;
  color: var(--ink);
  font-weight: 700;
}

/* Interior page hero */
.page-hero {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 70px;
  align-items: center;
  padding: 55px 0 75px;
}

.page-hero p {
  max-width: 580px;
  color: var(--ink);
  font-size: 22px;
}

.page-hero img {
  width: 100%;
  aspect-ratio: 1.42;
  object-fit: cover;
}

/* Mission and values */
.values {
  text-align: center;
}

.values h2 {
  margin: 0 0 50px;
  color: var(--navy);
  font-size: clamp(34px, 4vw, 50px);
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}

.value-card {
  padding: 0 22px;
  border-right: 3px solid var(--line);
  text-align: center;
}

.value-card:last-child {
  border-right: 0;
}

.value-card p {
  margin: 0;
  color: var(--ink);
  font-size: 15px;
}

.mission-panel h2 {
  color: var(--navy);
  font-size: clamp(28px, 3vw, 40px);
  letter-spacing: normal;
  line-height: 1;
  text-transform: none;
}

.mission-quote {
  max-width: 780px;
  margin: 0;
  color: var(--navy);
  font-size: 26px;
  font-weight: 500;
  line-height: 1.18;
  transform: translateY(32px);
}

.mission-quote .quote-mark-inline {
  font-size: 1.35em;
}

/* Quote band */
.quote-band {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  max-width: 980px;
  margin: 40px auto;
  padding: 20px 48px;
  border-radius: 14px;
  background: var(--navy);
  color: #fff;
}

.quote-band p {
  margin: 0;
  font-size: clamp(18px, 2.4vw, 28px);
  font-weight: 700;
  line-height: 1.16;
}

.quote-mark,
.quote-mark-inline {
  font-family: "Times New Roman", Times, serif;
  font-weight: 700;
}

.quote-mark {
  flex: 0 0 auto;
  font-size: 60px;
  line-height: .75;
}

.quote-mark-inline {
  font-size: 1.4em;
  line-height: 0;
}

/* Priorities and Kaiser cards */
.priority-grid,
.kaiser-cards {
  display: grid;
  gap: 26px;
  margin-top: 35px;
}

.priority-grid {
  grid-template-columns: repeat(4, 1fr);
}

.kaiser-cards {
  grid-template-columns: repeat(3, 1fr);
}

.priority-card img:not(.priority-icon),
.kaiser-card img {
  width: 100%;
  aspect-ratio: 1.55;
  margin-bottom: 18px;
  object-fit: cover;
}

.priority-card .priority-icon {
  margin: 0 auto 18px;
}

.priority-card p,
.kaiser-card p {
  margin: 0;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.25;
}

/* Kaiser page */
.initiative-title {
  font-size: clamp(52px, 6vw, 78px);
  font-weight: 500;
  letter-spacing: -.035em;
  line-height: .95;
}

.kaiser-hero {
  grid-template-columns: 1fr 420px;
  align-items: start;
}

.kaiser-hero > div:first-child {
  display: flex;
  flex-direction: column;
}

.kaiser-hero .initiative-subtitle {
  order: 1;
}

.kaiser-hero .initiative-title {
  order: 2;
}

.kaiser-hero h1 {
  order: 3;
  margin: 0 0 32px;
  color: var(--ink);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 500;
  letter-spacing: -.035em;
  line-height: 1.1;
}

.kaiser-hero p {
  order: 4;
}

.kaiser-hero .kaiser-main-image {
  width: 100%;
  max-width: 420px;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center;
  justify-self: center;
}

/* Leadership page */
.leadership-page {
  padding-top: 30px;
}

.leadership-heading {
  max-width: none;
  margin-bottom: 28px;
}

.leadership-heading h1 {
  margin: 0 0 36px;
  color: var(--blue);
  font-family: "Times New Roman", Times, serif;
  font-size: clamp(48px, 6vw, 78px);
  font-weight: 500;
  letter-spacing: -.035em;
  line-height: .95;
}

.leadership-heading .eyebrow {
  margin: 0 0 22px;
}

.leadership-hero-image img {
  width: 100%;
  height: auto;
}

.leadership-team-list {
  padding: 18px 0 42px;
  text-align: center;
}

.leadership-team-list p:last-child {
  margin: 0;
  color: var(--navy);
  font-size: 16px;
}

.leadership-team-list span {
  color: var(--muted);
  padding: 0 18px;
}

.leadership-story {
  padding-bottom: 34px;
}

.leadership-story h2,
.founder-note-copy h2 {
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 400;
  letter-spacing: -.01em;
  line-height: 1;
}

.leadership-story h2 {
  margin: 0 0 8px;
  color: var(--navy);
}

.small-rule {
  width: 56px;
  height: 1px;
  margin: 0 0 20px;
  background: var(--muted);
}

.leadership-copy {
  max-width: 980px;
}

.leadership-copy p {
  margin: 0 0 1.35em;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.8;
}

.callout {
  color: var(--muted);
  font-style: italic;
}

.founder-note-section {
  padding-top: 28px;
  border-top: 1px solid var(--muted);
}

.founder-note-grid {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 34px;
  align-items: start;
}

.founder-note-photo img {
  width: 100%;
  max-width: 360px;
  height: auto;
  border-radius: 8px;
}

.founder-note-copy h2 {
  margin: 0 0 8px;
  color: var(--navy);
}

.founder-note-copy .leadership-copy {
  max-width: none;
}

.founder-note-copy .leadership-copy p {
  margin: 0 0 14px;
  color: var(--ink);
  font-size: 15.5px;
  line-height: 1.45;
}

.signature {
  display: block;
  max-width: 230px;
  height: auto;
  margin: 8px 0 0;
}

.founder-title {
  margin: 4px 0 0;
  color: var(--navy);
  font-size: 14px;
}

/* Legal pages: Terms and Privacy */
.legal {
  max-width: 850px;
  padding: 70px 0 90px;
}

.legal h2 {
  margin: 34px 0 8px;
  color: var(--blue);
  font-size: 22px;
  font-weight: 500;
  line-height: 1.25;
}

.legal p,
.legal li,
.legal a {
  color: var(--ink);
  font-size: 16px;
  line-height: 1.65;
}

.legal p {
  margin: 0 0 16px;
}

.legal a {
  color: var(--blue);
  font-weight: 600;
}

/* Footer */
.site-footer {
  padding: 55px 0 35px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr .8fr .8fr;
  gap: 50px;
  align-items: start;
}

.footer-logo {
  width: 280px;
}

.footer-title {
  margin: 0 0 10px;
  color: var(--navy);
  font-weight: 700;
  text-transform: uppercase;
}

.footer-col p,
.footer-col a {
  display: block;
  margin: 4px 0;
  font-size: 15px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 44px;
  color: #555;
  font-size: 10px;
}

.footer-bottom p {
  margin: 0;
}

/* Tablet */
@media (max-width: 920px) {
  .container {
    width: min(100% - 36px, var(--max));
  }

  .site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    padding: 18px 0;
    box-shadow: 0 2px 12px rgba(0, 0, 0, .05);
  }

  .nav-toggle {
    display: block;
  }

  .nav-wrap {
    gap: 12px;
  }

  .site-nav {
    position: absolute;
    top: 78px;
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding: 22px 28px 28px;
    background: #fff;
    box-shadow: 0 12px 24px rgba(0, 0, 0, .08);
  }

  .site-nav.is-open {
    display: flex;
  }

  .donate-button {
    min-height: 42px;
    padding: 0 18px;
  }

  .hero-grid,
  .page-hero,
  .kaiser-hero {
    grid-template-columns: 1fr;
    gap: 36px;
    padding-top: 34px;
  }

  .kaiser-hero .kaiser-main-image {
    width: 100%;
    max-width: 420px;
    height: auto;
  }

  .home-intro-grid,
  .split-section {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .divider {
    width: 100%;
    height: 3px;
  }

  .icon-row,
  .priority-grid,
  .kaiser-cards,
  .value-grid,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .icon-card,
  .value-card {
    padding: 22px;
    border-right: 0;
    border-bottom: 3px solid var(--line);
  }

  .quote-band {
    padding: 24px 30px;
  }

  .founder-note-grid {
    grid-template-columns: 300px 1fr;
  }

  .founder-note-photo img {
    max-width: 300px;
  }
}

/* Mobile */
@media (max-width: 620px) {
  .logo {
    width: 210px;
    max-width: 62vw;
  }

  .desktop-donate {
    display: none;
  }

  .site-nav .mobile-donate {
    display: inline-flex;
    width: auto;
    min-width: 140px;
    min-height: 46px;
    padding: 0 28px;
  }

  .section {
    padding: 44px 0;
  }

  .hero-copy h1,
  .page-hero h1 {
    font-size: 42px;
  }

  .hero-copy p,
  .page-hero p {
    font-size: 18px;
  }

  .icon-row,
  .priority-grid,
  .kaiser-cards,
  .value-grid,
  .footer-grid,
  .founder-note-grid {
    grid-template-columns: 1fr;
  }

  .panel {
    padding: 34px 20px;
  }

  .quote-band {
    flex-direction: column;
    padding: 22px;
  }

  .quote-mark {
    font-size: 60px;
  }

  .mission-quote {
    font-size: 22px;
    transform: none;
  }

  .leadership-heading h1,
  .leadership-story h2,
  .founder-note-copy h2 {
    font-size: 34px;
  }

  .leadership-team-list span {
    display: block;
    padding: 6px 0;
  }

  .leadership-copy p {
    font-size: 15.5px;
    line-height: 1.75;
  }

  .founder-note-photo img {
    max-width: 100%;
  }

  .founder-note-copy {
    padding-top: 28px;
    border-top: 1px solid var(--muted);
  }

  .footer-bottom {
    flex-direction: column;
  }
}
