:root {
  --navy-950: #071426;
  --navy-900: #0b1d34;
  --blue-700: #1556a3;
  --blue-600: #1769c2;
  --gold-500: #f1b94a;
  --ink: #172436;
  --muted: #5d6a7c;
  --line: #dbe3ed;
  --surface: #ffffff;
  --shadow: 0 18px 48px rgba(5, 28, 55, 0.12);
  --radius: 1rem;
  --content: 1180px;
  --font: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  color-scheme: light;
}

body {
  min-width: 320px;
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 4px solid var(--gold-500);
  outline-offset: 4px;
}

.container {
  width: min(calc(100% - 2.5rem), var(--content));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 10;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.7rem 1rem;
  border-radius: 0.6rem;
  background: #fff;
  color: var(--navy-950);
  font-weight: 800;
  text-decoration: none;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  background: var(--navy-950);
  color: #fff;
}

.site-header__inner {
  display: flex;
  min-height: 92px;
  align-items: center;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: #fff;
  font-weight: 850;
  letter-spacing: -0.035em;
  line-height: 1;
  text-decoration: none;
}

.brand__mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 2px solid var(--gold-500);
  border-radius: 0.7rem;
  color: var(--gold-500);
  font-size: 1.25rem;
}

.brand__name {
  font-size: clamp(1.35rem, 2.4vw, 1.8rem);
}

.brand__name strong {
  color: var(--gold-500);
  font-weight: inherit;
}

.selector {
  display: flex;
  min-height: calc(100vh - 174px);
  align-items: center;
  padding: 2.75rem 0 1.5rem;
}

.selector__intro {
  margin: 0 auto 2rem;
  text-align: center;
}

.selector__intro h1 {
  margin: 0;
  color: var(--navy-950);
  font-size: clamp(2.6rem, 5.6vw, 4.35rem);
  font-weight: 850;
  letter-spacing: -0.055em;
  line-height: 1;
}

.selector__intro p {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}

.programs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
  gap: clamp(1.25rem, 2.6vw, 2rem);
}

.program-card {
  min-width: 0;
}

.program-card__link {
  display: flex;
  height: 100%;
  overflow: hidden;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 8px 28px rgba(5, 28, 55, 0.08);
  color: var(--ink);
  text-decoration: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.program-card__link:hover {
  border-color: #9bb8d9;
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.program-card__media {
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #e9eef4;
}

.program-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 300ms ease;
}

.program-card__link:hover .program-card__media img {
  transform: scale(1.025);
}

.program-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: clamp(1.35rem, 3vw, 2rem);
  text-align: center;
}

.program-card__status {
  align-self: center;
  margin: 0 0 0.8rem;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.06em;
  line-height: 1.2;
  text-transform: uppercase;
}

.program-card__status--available {
  background: #e7f6ee;
  color: #16643c;
}

.program-card__status--upcoming {
  background: #fff5d8;
  color: #72530f;
}

.program-card__copy {
  display: block;
  flex: 1;
}

.program-card__copy h2 {
  margin: 0 0 0.65rem;
  color: var(--navy-950);
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  font-weight: 820;
  letter-spacing: -0.035em;
  line-height: 1.1;
}

.program-card__copy > span {
  display: block;
  max-width: 31rem;
  margin: 0 auto 1.5rem;
  color: var(--muted);
  font-size: 1.03rem;
}

.program-card__highlights {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.45rem;
  margin: -0.55rem 0 1.5rem;
  padding: 0;
  list-style: none;
}

.program-card__highlights li {
  padding: 0.35rem 0.6rem;
  border: 1px solid #cbd8e8;
  border-radius: 999px;
  background: #f4f8fc;
  color: var(--navy-900);
  font-size: 0.78rem;
  font-weight: 750;
  line-height: 1.25;
}

.program-card__button {
  display: flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.85rem 1.2rem;
  border: 2px solid var(--navy-950);
  border-radius: 0.7rem;
  background: var(--navy-950);
  color: var(--gold-500);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.2;
}

.program-card__link:hover .program-card__button {
  border-color: var(--blue-600);
  background: var(--blue-600);
  color: #fff;
}

.program-card__link--upcoming {
  cursor: default;
}

.program-card__link--upcoming:hover {
  border-color: var(--line);
  box-shadow: 0 8px 28px rgba(5, 28, 55, 0.08);
  transform: none;
}

.program-card__link--upcoming:hover .program-card__media img {
  transform: none;
}

.program-card__link--upcoming .program-card__button {
  border-color: var(--line);
  background: #f3f6f9;
  color: var(--muted);
}

.site-footer {
  display: flex;
  min-height: 82px;
  align-items: center;
  background: var(--navy-950);
  color: #fff;
  text-align: center;
}

.site-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
}

.site-footer .container {
  font-size: 0.98rem;
}

.legal-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem 1.2rem;
}

.legal-links a {
  color: #fff;
  text-underline-offset: 0.2em;
}

.legal-links a:hover {
  color: var(--gold-500);
}

.noscript {
  margin: 0;
  padding: 0.75rem 1rem;
  background: #fff5d8;
  color: var(--navy-950);
  text-align: center;
}

@media (max-width: 760px) {
  .container {
    width: min(calc(100% - 1.5rem), var(--content));
  }

  .site-header__inner {
    min-height: 78px;
    justify-content: center;
  }

  .brand__mark {
    width: 36px;
    height: 36px;
    font-size: 1.05rem;
  }

  .selector {
    display: block;
    min-height: 0;
    padding: 3rem 0;
  }

  .selector__intro {
    margin-bottom: 2.25rem;
  }

  .selector__intro h1 {
    font-size: clamp(2.55rem, 12.4vw, 3.4rem);
  }

  .selector__intro p {
    max-width: 21rem;
    margin-inline: auto;
  }

  .programs {
    grid-template-columns: 1fr;
    gap: 1.35rem;
  }

  .program-card__body {
    padding: 1.35rem;
    text-align: left;
  }

  .program-card__status {
    align-self: flex-start;
  }

  .program-card__copy > span {
    margin-left: 0;
  }

  .program-card__highlights {
    justify-content: flex-start;
  }

  .program-card__button {
    font-size: 0.98rem;
  }

  .site-footer {
    min-height: 76px;
    padding: 1.25rem 0;
  }

  .site-footer__inner {
    flex-direction: column;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
