:root {
  --ink: #122321;
  --paper: #f7f5ef;
  --white: #ffffff;
  --teal: #0f6b63;
  --deep-teal: #0a3f3b;
  --coral: #ed745c;
  --gold: #e8b949;
  --line: #d8d8d0;
  --muted: #5d6967;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "DM Sans", Arial, sans-serif;
  line-height: 1.6;
}

a { color: inherit; }

.site-header {
  min-height: 74px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 32px;
  padding: 12px clamp(20px, 4vw, 64px);
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  width: fit-content;
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}

.brand-mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  background: var(--teal);
  color: var(--white);
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 21px;
}

nav { display: flex; gap: 28px; }
nav a, .header-link {
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}
nav a:hover, .header-link:hover { color: var(--teal); }
.header-link { justify-self: end; }

.hero {
  position: relative;
  min-height: min(720px, calc(100vh - 74px));
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: var(--white);
}

.hero-image, .hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image { object-fit: cover; object-position: center 45%; }
.hero-shade { background: linear-gradient(90deg, rgba(8, 37, 34, .91) 0%, rgba(8, 37, 34, .62) 48%, rgba(8, 37, 34, .15) 100%); }

.hero-content {
  position: relative;
  z-index: 1;
  width: min(790px, 100%);
  padding: clamp(64px, 10vh, 112px) clamp(20px, 7vw, 108px);
}

.eyebrow, .section-kicker {
  margin: 0 0 16px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.7px;
  text-transform: uppercase;
}

.hero .eyebrow { color: #94ddd3; }

h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: "Source Serif 4", Georgia, serif; line-height: 1.08; }
h1 { margin-bottom: 22px; font-size: clamp(56px, 8vw, 112px); letter-spacing: 0; }
h2 { margin-bottom: 0; font-size: clamp(34px, 4vw, 58px); letter-spacing: 0; }
h3 { margin-bottom: 12px; font-size: 28px; letter-spacing: 0; }

.hero-copy { max-width: 620px; margin-bottom: 32px; font-size: clamp(18px, 2vw, 23px); }

.primary-button {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  padding: 15px 20px;
  background: var(--gold);
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
  border: 2px solid var(--gold);
  border-radius: 4px;
}
.primary-button:hover { background: var(--white); border-color: var(--white); }

.hero-note {
  position: absolute;
  right: clamp(20px, 4vw, 64px);
  bottom: 32px;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
}

.status-dot { width: 9px; height: 9px; background: #8fe0af; border-radius: 50%; box-shadow: 0 0 0 5px rgba(143, 224, 175, .18); }

.section { padding: clamp(72px, 9vw, 132px) clamp(20px, 7vw, 108px); }
.intro { display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(48px, 8vw, 128px); align-items: end; }
.intro > p { max-width: 520px; margin-bottom: 6px; color: var(--muted); font-size: 18px; }

.programs { background: var(--white); }
.section-heading { display: grid; grid-template-columns: 1fr 360px; gap: 48px; align-items: end; margin-bottom: 52px; }
.section-heading > p { margin-bottom: 4px; color: var(--muted); }
.program-grid { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); }
.program-card {
  min-height: 340px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 30px;
  border-right: 1px solid rgba(18, 35, 33, .18);
}
.program-card:last-child { border-right: 0; }
.program-card p { margin: 0; max-width: 310px; }
.card-number { font-size: 13px; font-weight: 700; }
.coral { background: var(--coral); }
.teal { background: #8ed3ca; }
.gold { background: var(--gold); }

.resources { padding: clamp(76px, 10vw, 140px) clamp(20px, 7vw, 108px); background: var(--deep-teal); color: var(--white); }
.resources-inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(64px, 10vw, 160px); align-items: start; }
.light { color: #8ed3ca; }
.resource-list { border-top: 1px solid rgba(255,255,255,.35); }
.resource-list div { display: flex; justify-content: space-between; gap: 20px; padding: 22px 0; border-bottom: 1px solid rgba(255,255,255,.35); }
.resource-list div span:last-child { color: #a9c8c5; font-size: 13px; }

.updates { background: var(--paper); }
.update-row { display: grid; grid-template-columns: 1fr 440px; gap: 64px; align-items: end; }
.update-row p { margin-bottom: 7px; color: var(--muted); }

footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 30px;
  padding: 30px clamp(20px, 4vw, 64px);
  background: var(--ink);
  color: var(--white);
}
footer p { margin: 0; font-size: 13px; }
footer p:last-child { justify-self: end; }
.footer-brand { color: var(--white); }

@media (max-width: 800px) {
  .site-header { grid-template-columns: 1fr; }
  nav { display: none; }
  .header-link { display: none; }
  .hero { min-height: 680px; }
  .hero-content { max-width: 390px; padding-bottom: 108px; }
  .hero-copy { max-width: 340px; }
  .hero-shade { background: linear-gradient(0deg, rgba(8,37,34,.94) 0%, rgba(8,37,34,.58) 70%, rgba(8,37,34,.24) 100%); }
  .hero-note { left: 20px; right: auto; bottom: 30px; }
  .intro, .section-heading, .resources-inner, .update-row { grid-template-columns: 1fr; gap: 32px; }
  .section-heading > p, .update-row p { max-width: 560px; }
  .program-grid { grid-template-columns: 1fr; }
  .program-card { min-height: 250px; border-right: 0; border-bottom: 1px solid rgba(18,35,33,.18); }
  .program-card:last-child { border-bottom: 0; }
  footer { grid-template-columns: 1fr; text-align: left; }
  footer p:last-child { justify-self: start; }
}

@media (max-width: 480px) {
  .site-header { grid-template-columns: 1fr; gap: 12px; }
  .brand { font-size: 14px; }
  .brand-mark { width: 32px; height: 32px; }
  h1 { font-size: 52px; }
  .hero { min-height: 640px; }
  .hero-copy { max-width: 100%; font-size: 17px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
