:root {
  --anchor:      #042C53;
  --anchor-mid:  #0C447C;
  --anchor-soft: #185FA5;
  --anchor-line: #2E6FA8;
  --anchor-100:  #B5D4F4;
  --anchor-200:  #85B7EB;
  --anchor-50:   #E6F1FB;

  --mint:       #5DCAA5;
  --mint-hover: #7AD7B8;
  --teal-600:   #0F6E56;
  --teal-900:   #04342C;
  --green-600:  #3B6D11;

  --purple-900: #26215C;
  --purple-800: #3C3489;
  --purple-600: #534AB7;
  --purple-50:  #EEEDFE;

  --ink:        #2C2C2A;
  --ink-2:      #5F5E5A;
  --ink-3:      #888780;
  --rule:       #D3D1C7;
  --paper:      #FFFFFF;

  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;

  --pad: 22px;
  --measure: 680px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--anchor-soft); }

h1, h2, h3 { margin: 0; font-weight: 500; line-height: 1.25; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

:focus-visible {
  outline: 3px solid var(--mint);
  outline-offset: 2px;
  border-radius: 3px;
}

.skip {
  position: absolute;
  left: -9999px;
  background: var(--anchor);
  color: #fff;
  padding: 10px 16px;
  z-index: 10;
}
.skip:focus { left: 8px; top: 8px; }

.ico {
  width: 17px; height: 17px;
  fill: none; stroke: currentColor; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
  flex: 0 0 auto;
}

/* ---------- hero ---------- */

.hero { background: var(--anchor); }

.hero__photo img { width: 100%; height: auto; }

.hero__text { padding: 24px var(--pad) 28px; }

.eyebrow {
  margin: 0 0 8px;
  font-size: 12px;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  color: var(--anchor-200);
}

.hero h1 {
  font-size: 30px;
  letter-spacing: -0.4px;
  color: #fff;
}

.hero__line {
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.4;
  color: var(--anchor-100);
  margin: 12px 0 0;
}

.hero__role {
  font-size: 15px;
  color: var(--anchor-200);
  margin: 12px 0 0;
}

.hero__actions { display: flex; gap: 10px; margin-top: 22px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 12px 18px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: inherit;
  transition: background-color .15s ease, border-color .15s ease;
}

.btn--solid { background: var(--mint); color: var(--teal-900); }
.btn--solid:hover { background: var(--mint-hover); }

.btn--ghost { background: transparent; color: var(--anchor-100); border-color: var(--anchor-line); }
.btn--ghost:hover { background: rgba(255,255,255,.09); }

.btn--block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: default; }

/* ---------- intro ---------- */

.intro {
  max-width: var(--measure);
  margin: 0 auto;
  padding: 28px var(--pad) 0;
}

.intro__portrait {
  width: 64px; height: 64px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 16px;
}

.intro__body p { font-size: 16.5px; }

/* ---------- causes ---------- */

.causes {
  max-width: var(--measure);
  margin: 0 auto;
  padding: 34px var(--pad) 0;
}

.causes h2, .panel h2, .outside h2, .history h2 {
  font-family: var(--serif);
  font-size: 24px;
}

.causes h2 { margin-bottom: 20px; }

.cause {
  border-left: 3px solid var(--rule);
  padding-left: 16px;
  margin-bottom: 22px;
}
.cause:last-child { margin-bottom: 0; }

.cause--teal   { border-left-color: var(--teal-600); }
.cause--purple { border-left-color: var(--purple-600); }
.cause--green  { border-left-color: var(--green-600); }

.cause h3 { font-size: 17px; margin-bottom: 6px; }

/* ---------- panel ---------- */

.panel {
  width: calc(100% - (var(--pad) * 2));
  max-width: calc(var(--measure) - (var(--pad) * 2));
  margin: 34px auto 0;
  padding: 22px 24px;
  background: var(--purple-50);
  border-radius: 10px;
}

.panel h2 { color: var(--purple-900); margin-bottom: 8px; }
.panel p { color: var(--purple-800); }

/* ---------- outside ---------- */

.outside {
  max-width: var(--measure);
  margin: 0 auto;
  padding: 34px var(--pad) 0;
}

.outside__photo {
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin-bottom: 16px;
}

.outside h2 { margin-bottom: 8px; }

/* ---------- history ---------- */

.history {
  max-width: var(--measure);
  margin: 0 auto;
  padding: 34px var(--pad) 0;
}

.history h2 { margin-bottom: 14px; }

.history__list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--rule);
}

.history__list li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: 20px;
  row-gap: 2px;
  padding: 13px 0;
  border-bottom: 1px solid var(--rule);
}

.history__org {
  grid-column: 1; grid-row: 1;
  font-weight: 500;
}

.history__when {
  grid-column: 2; grid-row: 1;
  font-size: 13.5px;
  color: var(--ink-3);
  text-align: right;
  white-space: nowrap;
}

.history__role {
  grid-column: 1 / -1; grid-row: 2;
  font-size: 14.5px;
  color: var(--ink-2);
  line-height: 1.55;
}

.link-dl {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 14px;
  font-size: 15px;
  text-decoration: none;
}
.link-dl:hover { text-decoration: underline; }

/* ---------- contact ---------- */

.contact {
  background: var(--anchor);
  margin-top: 40px;
  padding: 32px var(--pad) 28px;
}

.contact__lead {
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.4;
  color: #fff;
  max-width: var(--measure);
  margin: 0 auto 20px;
}

.form { max-width: var(--measure); margin: 0 auto; }

.field { margin-bottom: 10px; }

.field label {
  display: block;
  font-size: 13px;
  color: var(--anchor-200);
  margin-bottom: 5px;
}

.field input, .field textarea {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid var(--anchor-line);
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  font-family: inherit;
  font-size: 16px;
  line-height: 1.5;
}

.field textarea { resize: vertical; min-height: 96px; }

.field input:invalid:not(:placeholder-shown) { border-color: #F09595; }

.hp {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.cf-turnstile { margin: 12px 0; }

.form__status {
  margin: 12px 0 0;
  font-size: 14.5px;
  color: var(--anchor-100);
  min-height: 1.2em;
}
.form__status a { color: var(--mint); }
.form__status[data-state="error"] { color: #F7C1C1; }

.social {
  display: flex;
  gap: 10px;
  max-width: var(--measure);
  margin: 24px auto 0;
  padding-top: 20px;
  border-top: 1px solid var(--anchor-mid);
}

.social a {
  width: 38px; height: 38px;
  border: 1px solid var(--anchor-line);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--anchor-100);
}
.social a:hover { background: rgba(255,255,255,.09); }
.social svg { width: 17px; height: 17px; }
.social svg[viewBox="0 0 568 501"] { width: 19px; height: 17px; }

.colophon {
  max-width: var(--measure);
  margin: 18px auto 0;
  font-size: 12.5px;
  color: var(--anchor-200);
}

/* ---------- desktop ---------- */

@media (min-width: 768px) {
  :root { --pad: 40px; }

  .hero {
    display: flex;
    align-items: stretch;
    min-height: 440px;
  }

  .hero__text {
    flex: 1.1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 48px 52px 48px 40px;
    order: 1;
  }

  .hero__inner { width: 100%; max-width: 500px; }

  .hero__photo {
    flex: 1;
    order: 2;
    overflow: hidden;
  }

  .hero__photo img,
  .hero__photo picture { width: 100%; height: 100%; object-fit: cover; object-position: 50% 38%; }

  .hero h1 { font-size: 42px; letter-spacing: -0.8px; }
  .hero__line { font-size: 24px; margin-top: 14px; }
  .hero__role { margin-top: 16px; }

  .intro {
    display: flex;
    gap: 22px;
    align-items: flex-start;
    padding-top: 40px;
  }

  .intro__portrait { width: 88px; height: 88px; margin-bottom: 0; flex: 0 0 auto; }

  .causes h2, .panel h2, .outside h2, .history h2, .contact__lead { font-size: 26px; }

  .panel { padding: 26px 28px; }

  .outside {
    display: flex;
    gap: 24px;
    align-items: center;
  }

  .outside__photo {
    width: 180px;
    flex: 0 0 auto;
    margin-bottom: 0;
  }

  .history__list li { padding: 15px 0; }
}

@media (min-width: 1400px) {
  .hero__text { padding-right: 72px; }
  .hero__inner { max-width: 540px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
