:root {
  --ink: #1c2430;
  --muted: #5c6b7c;
  --paper: #f4f7fb;
  --white: #ffffff;
  --line: #d5deea;
  --navy: #17233b;
  --blue: #1d3f86;
  --copper: #a86b32;
  --copper-deep: #7a4c22;
  --copper-soft: #f6eadc;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: "Avenir Next", "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --shadow: 0 12px 32px rgba(23, 35, 59, 0.08);
  --max: 1120px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.05rem;
  line-height: 1.6;
}

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

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

a:hover {
  color: var(--copper);
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  background: var(--navy);
  color: white;
  padding: 0.5rem 0.8rem;
  z-index: 5;
}

.skip-link:focus {
  top: 0.5rem;
}

.site-header {
  background: #111;
  color: var(--ink);
}

.banner {
  position: relative;
  background: linear-gradient(180deg, #f7fbff 0%, #d7e5f4 58%, #e8eef5 100%);
  overflow: hidden;
  min-height: 188px;
}

.banner-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.banner-copy {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  min-height: 168px;
  padding: 1.4rem 1.25rem 0.8rem;
  display: grid;
  grid-template-columns: minmax(120px, 18%) 1fr auto;
  gap: 1rem;
  align-items: center;
}

.wordmark {
  display: inline-block;
  color: #1a2744;
  font-family: var(--serif);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 0.95;
  text-decoration: none;
}

.wordmark span {
  font-size: 0.48em;
  letter-spacing: 0;
  font-weight: 500;
}

.tagline {
  margin: 0.45rem 0 0;
  color: #1a3a9c;
  font-weight: 700;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.2;
}

.brand {
  text-align: center;
}

.family-block {
  text-align: right;
  padding-right: 0.5rem;
}

.family {
  margin: 0;
  color: #8e99a6;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.78rem;
  line-height: 1.35;
}

.family span {
  display: block;
}

.since {
  margin: 0.7rem 0 0;
  color: #3a2c22;
  font-family: var(--serif);
  font-size: 0.95rem;
}

.primary-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.25rem;
  padding: 0.45rem 0.75rem;
  background: linear-gradient(90deg, #e8c49a 0%, #f7e7d4 38%, #fbf8f4 68%, #ecd4b4 100%);
  border-top: 1px solid #d7b48a;
}

.primary-nav a {
  color: #3a2c22;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 0.5rem 0.95rem;
  border-radius: 999px;
}

.primary-nav a:hover,
.primary-nav a.is-active {
  background: rgba(255, 255, 255, 0.62);
  color: var(--navy);
}

main {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2.4rem 1.25rem 3.5rem;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.2;
  color: var(--copper);
}

h1 {
  margin: 0 0 0.8rem;
  font-size: clamp(2rem, 4vw, 2.8rem);
}

h2 {
  margin: 0 0 0.6rem;
  font-size: 1.45rem;
}

h3 {
  margin: 0 0 0.4rem;
  font-size: 1.2rem;
}

.lede {
  font-size: 1.18rem;
  max-width: 68ch;
}

.prose p,
.panel p {
  margin: 0 0 1rem;
}

.prose p {
  max-width: 70ch;
}

.split {
  display: grid;
  grid-template-columns: minmax(200px, 250px) 1fr;
  gap: 1.75rem;
  align-items: start;
}

.panel,
.card,
.partner-card,
.quote,
.award,
.photo-card,
.cert-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
}

.panel,
.card,
.award,
.quote {
  padding: 1.2rem 1.3rem 0.4rem;
}

.panel-phone {
  font-size: 1.35rem;
  margin-bottom: 0.2rem;
}

.side-links {
  display: grid;
  gap: 0.45rem;
  margin-top: 0.5rem;
}

.side-links a,
.button {
  display: inline-block;
  text-decoration: none;
}

.side-links a {
  padding: 0.55rem 0.75rem;
  border-radius: 10px;
  background: var(--white);
  border: 1px solid var(--line);
}

.side-links a:hover {
  border-color: #e0c3a2;
  background: var(--copper-soft);
}

.cards,
.partner-grid,
.cert-grid,
.people,
.photo-grid {
  display: grid;
  gap: 1rem;
}

.cards {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 1.8rem;
}

.partner-grid,
.cert-grid {
  grid-template-columns: repeat(2, 1fr);
}

.people {
  grid-template-columns: repeat(2, minmax(0, 240px));
  margin: 1.2rem 0 1.6rem;
}

.person,
.award,
.quote,
.partner-card {
  padding: 1.1rem 1.2rem;
}

.person {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1rem 1.1rem;
}

.person span,
.eyebrow {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.button {
  background: var(--navy);
  color: white;
  padding: 0.75rem 1.15rem;
  border-radius: 999px;
  border: 0;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.button:hover {
  background: #243656;
  color: white;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin: 1.2rem 0 0.4rem;
}

.program-list {
  columns: 2;
  margin: 0.4rem 0 1rem;
  padding-left: 1.1rem;
  max-width: 36rem;
}

.note {
  color: var(--muted);
}

.award + .award,
.quote + .quote {
  margin-top: 1rem;
}

.cert-card {
  padding: 1rem;
  text-align: center;
}

.cert-card img {
  width: min(100%, 220px);
}

.partner-card img {
  display: block;
  max-height: 64px;
  width: auto;
  margin-bottom: 0.7rem;
}

.partner-card p {
  color: var(--ink);
  font-weight: 450;
}

.photo-grid {
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  margin-top: 1rem;
}

.photo-card {
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  font-weight: 600;
}

.photo-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #e6edf5;
}

.photo-card span {
  display: block;
  padding: 0.75rem 0.85rem 0.9rem;
}

.photo-card:hover {
  color: var(--copper-deep);
}

.photo-detail {
  margin: 0;
}

.photo-detail img {
  display: block;
  width: min(100%, 860px);
  border-radius: 14px;
  background: white;
  box-shadow: var(--shadow);
}

.photo-detail figcaption {
  margin-top: 0.8rem;
  max-width: 68ch;
}

.pager {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
  margin: 1rem 0;
}

.pager a,
.pager span {
  min-width: 2.2rem;
  text-align: center;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  text-decoration: none;
  background: white;
  border: 1px solid var(--line);
}

.pager .is-active {
  background: var(--navy);
  color: white;
  border-color: var(--navy);
}

.form-note {
  max-width: 62ch;
  color: var(--muted);
}

form {
  max-width: 40rem;
}

label {
  display: block;
  margin: 0.9rem 0 0.3rem;
  font-weight: 700;
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea,
select {
  width: 100%;
  padding: 0.7rem 0.75rem;
  border: 1px solid #c5d0de;
  border-radius: 10px;
  background: white;
  font: inherit;
  color: inherit;
}

textarea {
  min-height: 9rem;
  resize: vertical;
}

.choices {
  display: flex;
  gap: 1rem;
  font-weight: 600;
}

.form-status {
  min-height: 1.4rem;
  font-weight: 700;
}

.site-footer {
  background: var(--navy);
  color: #d5deea;
  padding: 2.4rem 1.25rem 2rem;
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 1.5rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.9rem;
  align-content: start;
}

.footer-nav a,
.site-footer a {
  color: #f3e2cc;
}

.footer-name {
  margin: 0 0 0.4rem;
  font-family: var(--serif);
  font-size: 1.4rem;
  color: white;
}

.footer-name img {
  vertical-align: middle;
  margin-right: 0.35rem;
}

.site-footer address {
  font-style: normal;
  margin-bottom: 0.8rem;
}

.footer-credit {
  margin-top: 1rem;
  color: #9aabbf;
}

.empty-state {
  padding: 1.4rem 1.3rem;
  background: white;
  border: 1px dashed #c5d0de;
  border-radius: 14px;
}

:focus-visible {
  outline: 3px solid #e0a15a;
  outline-offset: 2px;
}

@media (max-width: 800px) {
  .banner-copy,
  .split,
  .cards,
  .partner-grid,
  .cert-grid,
  .people,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .banner {
    min-height: 0;
  }

  .banner-art {
    opacity: 0.28;
  }

  .banner-copy {
    min-height: 0;
  }

  .banner-spacer {
    display: none;
  }

  .brand,
  .family-block {
    text-align: left;
  }

  .program-list {
    columns: 1;
  }
}
