:root {
  color-scheme: light;
  --ink: oklch(18% 0.018 55);
  --muted: oklch(43% 0.025 58);
  --paper: oklch(94% 0.021 82);
  --panel: oklch(98% 0.018 83);
  --line: oklch(82% 0.035 78);
  --red: oklch(40% 0.14 27);
  --red-dark: oklch(29% 0.12 27);
  --gold: oklch(62% 0.105 82);
  --green: oklch(31% 0.058 151);
  --shadow: 0 16px 34px oklch(18% 0.018 55 / 12%);
  font-family: Georgia, "Times New Roman", serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(90deg, oklch(18% 0.018 55 / 3%) 1px, transparent 1px),
    linear-gradient(0deg, oklch(18% 0.018 55 / 3%) 1px, transparent 1px),
    var(--paper);
  background-size: 32px 32px;
  font-size: 17px;
  line-height: 1.65;
}

a {
  color: var(--red-dark);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

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

.skip-link {
  position: absolute;
  left: -999px;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  z-index: 10;
  padding: 0.5rem 0.75rem;
  background: var(--panel);
}

.site-header {
  border-top: 7px solid var(--red-dark);
  border-bottom: 1px solid var(--line);
  background: oklch(94% 0.021 82 / 94%);
}

.masthead,
main,
.site-footer {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.masthead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(1rem, 4vw, 3rem);
  padding: 0.75rem 0;
}

.brand {
  display: inline-grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.8rem;
  align-items: center;
  max-width: 360px;
  color: var(--ink);
  text-decoration: none;
}

.brand-logo {
  width: 3.25rem;
  aspect-ratio: 1;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel);
}

.brand-copy {
  display: grid;
  gap: 0.1rem;
}

.brand-kicker,
.brand-name {
  font-family: Optima, "Trebuchet MS", sans-serif;
  text-transform: uppercase;
}

.brand-kicker {
  color: var(--red-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.brand-name {
  font-size: clamp(0.86rem, 1.3vw, 1rem);
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1.22;
}

.primary-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.2rem;
  font-family: Optima, "Trebuchet MS", sans-serif;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.primary-nav a,
.button {
  padding: 0.62rem 0.75rem;
  border: 1px solid transparent;
  color: var(--ink);
  text-decoration: none;
}

.primary-nav a:hover,
.primary-nav a:focus {
  border-color: var(--red);
}

.primary-nav a[aria-current="page"] {
  border-color: var(--red-dark);
  color: var(--red-dark);
  font-weight: 700;
}

.cards article h2 {
  margin-top: 0.65rem;
}

main {
  padding: clamp(2.1rem, 5vw, 3.4rem) 0 4rem;
}

h1,
h2,
h3 {
  margin: 0 0 0.75rem;
  line-height: 1.08;
}

h1 {
  max-width: 820px;
  font-size: clamp(2.45rem, 6.2vw, 5rem);
  letter-spacing: 0;
}

h2 {
  font-size: clamp(1.45rem, 3vw, 2.15rem);
}

p,
ul,
ol {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--red-dark);
  font-family: Optima, "Trebuchet MS", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(1rem, 4vw, 4rem);
  align-items: center;
  padding: clamp(0.25rem, 2vw, 1.5rem) 0 clamp(2.5rem, 5vw, 4rem);
  border-bottom: 1px solid var(--line);
}

.hero h1 {
  max-width: 760px;
  font-size: clamp(2.3rem, 5.5vw, 4.7rem);
}

.hero-copy p:last-of-type {
  font-size: clamp(1.05rem, 1.7vw, 1.18rem);
}

.hero-mark {
  width: clamp(5rem, 14vw, 9rem);
  max-height: 22rem;
  opacity: 0.12;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-color: var(--red-dark);
  background: var(--red-dark);
  color: var(--panel);
  font-family: Optima, "Trebuchet MS", sans-serif;
  font-weight: 700;
  text-transform: uppercase;
}

.button.ghost {
  background: transparent;
  color: var(--red-dark);
}

.leader-grid,
.branch-grid,
.cards,
.profile-list,
.post-list {
  display: grid;
  gap: clamp(1rem, 2vw, 1.35rem);
  margin-top: 2rem;
}

.leader-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.leader-grid article,
.branch-grid article,
.cards article,
.post-list article {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: oklch(98% 0.018 83 / 88%);
  box-shadow: var(--shadow);
  overflow: clip;
}

.leader-grid article {
  display: grid;
  grid-template-rows: auto 1fr;
}

.leader-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: top;
}

.leader-grid div,
.branch-grid article,
.cards article,
.post-list article {
  padding: clamp(1rem, 2vw, 1.35rem);
}

.location-list {
  display: grid;
  gap: 0.85rem;
  margin-top: 1rem;
}

.location-list section {
  padding-top: 0.85rem;
  border-top: 1px solid var(--line);
}

.location-list section:first-child {
  padding-top: 0;
  border-top: 0;
}

.location-list h3 {
  margin-bottom: 0.35rem;
  font-size: 1.1rem;
}

.location-list p {
  margin: 0.25rem 0 0;
}

.resource-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin: 1.25rem 0 2.35rem;
}

.resource-grid article {
  display: grid;
  align-content: start;
  min-height: 100%;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: oklch(98% 0.018 83 / 74%);
}

.resource-grid h3 {
  font-size: 1.12rem;
}

.resource-grid p {
  margin: 0.2rem 0 0.65rem;
}

.resource-grid p:last-child {
  margin-top: auto;
  margin-bottom: 0;
  font-family: Optima, "Trebuchet MS", sans-serif;
  font-size: 0.94rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.biography-links {
  columns: 2;
  column-gap: 2rem;
}

.biography-links li {
  break-inside: avoid;
  margin-bottom: 0.25rem;
}

.biography-page {
  max-width: 900px;
}

.biography-page h1 {
  max-width: 760px;
}

.bio-deck {
  max-width: 720px;
  margin: 0.5rem 0 1.5rem;
  color: var(--red-dark);
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
  line-height: 1.35;
}

.bio-summary {
  max-width: 760px;
  margin: 0 0 1.75rem;
  font-size: 1.08rem;
}

.bio-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem 1.25rem;
  max-width: 820px;
  margin: 1.5rem 0 2.25rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-left: 5px solid var(--red-dark);
  border-radius: 6px;
  background: oklch(98% 0.018 83 / 74%);
}

.bio-facts div {
  min-width: 0;
}

.bio-facts dt {
  color: var(--muted);
  font-family: Optima, "Trebuchet MS", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.bio-facts dd {
  margin: 0.15rem 0 0;
  line-height: 1.35;
}

.biography-page h2 {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.biography-page blockquote {
  max-width: 760px;
  margin: 1.25rem 0;
  padding: 0.2rem 0 0.2rem 1rem;
  border-left: 4px solid var(--gold);
  color: var(--muted);
  font-size: 1.02rem;
}

.bio-note {
  max-width: 760px;
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.95rem;
}

.profile-list article {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 1.25rem;
  align-items: start;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}

.profile-list img,
.cards img,
.branch-grid img,
.small-portraits img,
.post-image {
  border: 5px solid var(--panel);
  box-shadow: 0 8px 22px oklch(18% 0.018 55 / 16%);
}

.cards,
.branch-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.branch-grid img {
  max-height: 220px;
  object-fit: cover;
}

.small-portraits {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.small-portraits figure {
  margin: 0;
  width: 170px;
  text-align: center;
}

.small-portraits figcaption {
  margin-top: 0.4rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 2.2rem 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.95rem;
}

.site-footer div {
  display: grid;
  gap: 0.2rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: start;
  gap: 0.15rem 0.5rem;
  font-family: Optima, "Trebuchet MS", sans-serif;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.footer-nav a {
  color: var(--muted);
  text-decoration: none;
}

.footer-nav a:hover {
  color: var(--red-dark);
}

@media (max-width: 760px) {
  body {
    font-size: 16px;
    background-size: 28px 28px;
  }

  .masthead,
  .hero,
  .site-footer,
  .profile-list article {
    display: block;
  }

  .masthead {
    padding: 1rem 0 1.25rem;
  }

  .brand {
    max-width: none;
  }

  .brand-logo {
    width: 3rem;
  }

  .brand-name {
    max-width: 24ch;
  }

  .primary-nav {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 1rem;
  }

  .primary-nav a {
    padding: 0.6rem 0.25rem;
    text-align: center;
  }

  h1,
  .hero h1 {
    font-size: clamp(2.15rem, 10.5vw, 3.2rem);
  }

  .hero-mark {
    margin-top: 1.25rem;
    width: clamp(4rem, 20vw, 5.5rem);
  }

  .leader-grid,
  .cards,
  .branch-grid,
  .resource-grid {
    grid-template-columns: 1fr;
  }

  .profile-list img {
    width: 170px;
    margin-bottom: 1rem;
  }

  .biography-links {
    columns: 1;
  }

  .bio-facts {
    grid-template-columns: 1fr;
  }
}
