:root {
  --bg: #f5f7f5;
  --surface: #ffffff;
  --ink: #151815;
  --muted: #5d665f;
  --line: #d9dfda;
  --forest: #0d3428;
  --green: #1f6a4b;
  --red: #be3740;
  --white: #ffffff;
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--bg);
  font-family: "Avenir Next", "Segoe UI", Arial, sans-serif;
  line-height: 1.55;
}

a {
  color: inherit;
}

.page-shell {
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  padding: 1rem 0;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  color: var(--forest);
  text-decoration: none;
}

.wordmark-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.45rem;
  height: 3.45rem;
  border-radius: 8px;
  background: var(--forest);
  color: var(--white);
  font-weight: 800;
  letter-spacing: 0;
}

.wordmark-text {
  max-width: 23rem;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.15;
}

.page-content {
  display: grid;
}

.hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: calc(100svh - 5.45rem);
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding: 5.5rem max(1rem, calc((100vw - var(--max)) / 2)) 4.25rem;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(7, 26, 21, 0.95) 0%, rgba(7, 26, 21, 0.8) 42%, rgba(7, 26, 21, 0.32) 78%),
    url("https://cdn.pixabay.com/photo/2019/02/13/10/22/charlotte-3994040_1280.jpg") center / cover no-repeat;
  isolation: isolate;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 9rem;
  background: linear-gradient(180deg, rgba(245, 247, 245, 0), var(--bg));
  pointer-events: none;
  z-index: -1;
}

.hero-copy {
  max-width: 47rem;
}

.eyebrow,
.section-kicker {
  margin: 0 0 0.8rem;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #ffb1aa;
}

.hero h1,
.section-heading h2,
.closing-banner h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  line-height: 1.02;
  text-wrap: balance;
}

.hero h1 {
  max-width: 13ch;
  color: var(--white);
  font-size: 4.9rem;
  text-shadow: 0 2px 28px rgba(0, 0, 0, 0.36);
}

.lede {
  max-width: 41rem;
  margin: 1.15rem 0 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.14rem;
}

.hero-actions,
.hero-pills {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.hero-actions {
  margin-top: 1.55rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0.72rem 1rem;
  border-radius: 8px;
  font-weight: 900;
  text-decoration: none;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  border: 1px solid var(--red);
  background: var(--red);
  color: var(--white);
}

.button-secondary {
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

.hero-pills {
  align-self: end;
  max-width: var(--max);
  margin-top: 2.6rem;
}

.hero-pills span {
  padding: 0.44rem 0.68rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.88rem;
  font-weight: 800;
}

.quick-facts,
.intro-section,
.programs,
.detail-grid,
.closing-banner {
  padding: 5.25rem 0;
}

.quick-facts,
.detail-grid {
  background: var(--surface);
  box-shadow: 50vw 0 0 var(--surface), -50vw 0 0 var(--surface);
}

.section-heading {
  max-width: 43rem;
}

.section-heading h2,
.closing-banner h2 {
  font-size: 2.85rem;
}

.fact-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 2rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.fact-grid p {
  min-height: 9.75rem;
  margin: 0;
  padding: 1.25rem;
  border-right: 1px solid var(--line);
  color: var(--ink);
  font-weight: 800;
}

.fact-grid p:last-child {
  border-right: 0;
}

.intro-section {
  display: grid;
  grid-template-columns: minmax(16rem, 0.52fr) minmax(0, 1fr);
  gap: 4rem;
}

.intro-copy {
  max-width: 45rem;
}

.intro-copy p {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.programs {
  display: grid;
  grid-template-columns: minmax(16rem, 0.52fr) minmax(0, 1fr);
  gap: 4rem;
}

.program-list,
.leadership-list,
.plain-list {
  border-top: 1px solid var(--line);
}

.program-row {
  display: grid;
  grid-template-columns: 4rem minmax(0, 1fr);
  gap: 1.25rem;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--line);
  transition: transform 180ms ease;
}

.program-row:hover {
  transform: translateX(4px);
}

.program-row span {
  color: var(--green);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
  font-weight: 700;
}

.program-row h3 {
  margin: 0 0 0.35rem;
  font-size: 1.12rem;
}

.program-row p,
.small-note {
  margin: 0;
  color: var(--muted);
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4rem;
}

.plain-list p,
.leadership-list p {
  margin: 0;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}

.plain-list p {
  color: var(--ink);
  font-weight: 800;
}

.leadership-list p {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--muted);
}

.leadership-list strong {
  color: var(--ink);
}

.leadership-list span {
  text-align: right;
}

.small-note {
  margin-top: 1rem;
  font-size: 0.94rem;
}

.closing-banner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding-right: max(1rem, calc((100vw - var(--max)) / 2));
  padding-left: max(1rem, calc((100vw - var(--max)) / 2));
  background: var(--forest);
  color: var(--white);
}

.closing-banner .section-kicker {
  color: #ffb1aa;
}

.closing-banner h2 {
  max-width: 52rem;
  font-size: 2.55rem;
}

.site-footer {
  padding: 1.6rem 0 2rem;
  color: var(--muted);
  font-size: 0.94rem;
}

.site-footer p {
  margin: 0.2rem 0;
}

@media (prefers-reduced-motion: no-preference) {
  .hero-copy,
  .hero-pills {
    animation: hero-rise 620ms ease both;
  }

  .hero-pills {
    animation-delay: 120ms;
  }
}

@keyframes hero-rise {
  from {
    opacity: 0;
    transform: translateY(1rem);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 920px) {
  .hero h1 {
    font-size: 3.8rem;
  }

  .section-heading h2,
  .closing-banner h2 {
    font-size: 2.35rem;
  }

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

  .fact-grid p:nth-child(2) {
    border-right: 0;
  }

  .fact-grid p:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .intro-section,
  .programs,
  .detail-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .closing-banner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .page-shell {
    width: min(100% - 1rem, var(--max));
  }

  .site-header {
    padding: 0.75rem 0;
  }

  .wordmark-mark {
    width: 3rem;
    height: 3rem;
    font-size: 0.9rem;
  }

  .wordmark-text {
    max-width: 15rem;
    font-size: 0.86rem;
  }

  .hero {
    min-height: calc(92svh - 4.5rem);
    padding: 4rem 1rem 3.25rem;
    background:
      linear-gradient(90deg, rgba(7, 26, 21, 0.96) 0%, rgba(7, 26, 21, 0.84) 68%, rgba(7, 26, 21, 0.5) 100%),
      url("https://cdn.pixabay.com/photo/2019/02/13/10/22/charlotte-3994040_1280.jpg") center / cover no-repeat;
  }

  .hero::after {
    height: 6rem;
  }

  .hero h1 {
    max-width: 12.5ch;
    font-size: 2.65rem;
  }

  .lede {
    max-width: 32ch;
    font-size: 1rem;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    max-width: 18rem;
  }

  .button {
    width: 100%;
  }

  .hero-pills {
    display: none;
  }

  .quick-facts,
  .intro-section,
  .programs,
  .detail-grid,
  .closing-banner {
    padding-top: 3.75rem;
    padding-bottom: 3.75rem;
  }

  .fact-grid {
    grid-template-columns: 1fr;
  }

  .fact-grid p,
  .fact-grid p:nth-child(2) {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .fact-grid p:last-child {
    border-bottom: 0;
  }

  .program-row {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .detail-grid {
    gap: 3rem;
  }

  .leadership-list p {
    display: block;
  }

  .leadership-list span {
    display: block;
    margin-top: 0.2rem;
    text-align: left;
  }
}
