:root {
  --ink: #0b1220;
  --navy: #142a37;
  --paper: #faf9f4;
  --surface: #fffdf8;
  --copper: #a4512a;
  --muted: #4d5960;
  --line: #d8cfc3;
  --display: 'Playfair Display', Georgia, serif;
  --body: 'Inter', Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1rem/1.6 var(--body); }
a { color: inherit; text-underline-offset: .25em; }
a:focus-visible { outline: 3px solid var(--copper); outline-offset: 5px; }
.skip-link { position: absolute; top: -5rem; left: 1rem; z-index: 3; padding: .6rem 1rem; background: var(--navy); color: white; }
.skip-link:focus { top: 1rem; }
.page-shell { width: min(1120px, 100% - 48px); margin-inline: auto; }
.page-top { display: flex; align-items: center; justify-content: space-between; padding-block: 20px; border-bottom: 1px solid var(--line); }
.back-link { font-size: .83rem; font-weight: 600; text-decoration: none; }
.back-link span { display: inline-block; margin-right: .45em; color: var(--copper); font-size: 1.1em; }
.back-link:hover, .closing-link a:hover { color: var(--copper); text-decoration: underline; }
.brand-mark { color: var(--navy); font: 400 1.5rem/1 var(--display); letter-spacing: -.07em; }
.brand-mark span { color: var(--copper); }
.intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(270px, 390px); column-gap: 3rem; padding-block: clamp(34px, 4vw, 48px) clamp(30px, 3vw, 40px); align-items: end; }
.eyebrow { grid-column: 1 / -1; margin: 0 0 18px; color: var(--copper); font-size: .72rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.eyebrow span { margin-inline: .4em; color: #ae9c8b; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; }
h1 { margin-bottom: 0; font-size: clamp(3rem, 5.5vw, 4.8rem); line-height: 1.05; letter-spacing: -.045em; text-wrap: balance; }
h1 em { color: var(--copper); font-weight: 400; }
.intro-text { max-width: 38ch; margin: 0 0 .2rem; color: var(--muted); font-size: clamp(.95rem, 1.25vw, 1.08rem); text-wrap: pretty; }
.section-label { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; border-top: 1px solid var(--line); padding-block: 22px 18px; }
.section-label h2 { margin: 0; font-size: 1.35rem; }
.section-label p { margin: 0; color: var(--muted); font-size: .78rem; }
.program-card { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); border: 1px solid var(--line); background: var(--surface); }
.program-link { display: flex; flex-direction: column; text-decoration: none; }
.program-link picture, .program-link img { display: block; width: 100%; }
.program-link img { height: auto; }
.program-action { display: flex; justify-content: space-between; align-items: center; gap: 1rem; background: var(--navy); color: white; min-height: 64px; margin-top: auto; padding: 13px 22px; font-size: .9rem; font-weight: 700; }
.arrow { color: #f0b080; font-size: 1.3rem; transition: transform .18s ease; }
.program-link:hover .arrow { transform: translate(3px, -3px); }
.program-caption { display: flex; flex-direction: column; justify-content: space-between; gap: 1.5rem; align-items: start; padding: 26px 30px; }
.program-caption > div { max-width: 620px; }
.program-meta { margin-bottom: 9px; color: var(--copper); font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.program-caption h3 { margin-bottom: 10px; font-size: clamp(1.5rem, 2.2vw, 2rem); line-height: 1.2; }
.program-caption p { margin-bottom: 0; color: var(--muted); font-size: .88rem; text-wrap: pretty; }
.program-caption .access-note { max-width: 38ch; padding-left: 17px; border-left: 2px solid var(--copper); font-size: .77rem; line-height: 1.55; }
.closing-link { display: flex; justify-content: flex-end; padding-block: 30px 56px; }
.closing-link a { font-size: .82rem; font-weight: 600; text-decoration: none; }
.closing-link span { margin-left: .45em; color: var(--copper); }

@media (max-width: 800px) {
  .intro { grid-template-columns: 1fr; gap: 16px; }
  .eyebrow { margin-bottom: 0; }
  .intro-text { max-width: 62ch; }
  .program-card { display: block; }
  .program-caption { align-items: start; }
}

@media (max-width: 640px) {
  .page-shell { width: 100%; padding-inline: 20px; }
  .page-top { padding-block: 15px; }
  .intro { padding-block: 36px 42px; }
  h1 { font-size: clamp(2.75rem, 11vw, 4.25rem); }
  .section-label { align-items: start; flex-direction: column; gap: 3px; }
  .program-card { margin-inline: -20px; border-inline: 0; }
  .program-action { min-height: 60px; padding-inline: 20px; }
  .program-caption { flex-direction: column; gap: 22px; padding: 24px 20px 28px; }
  .program-caption .access-note { max-width: 38ch; }
  .closing-link { padding-block: 28px 42px; }
}

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