:root {
  --night: #10283d;
  --blue: #83bcdc;
  --sky: #d9e8ed;
  --coral: #df6d5b;
  --yellow: #ffd84d;
  --page: #eef3f4;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--page);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--page);
  color: var(--night);
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

.home-shell {
  display: grid;
  min-height: 100svh;
  grid-template-rows: auto 1fr auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 92px;
  padding: 18px clamp(22px, 4.6vw, 72px);
  border-top: 6px solid var(--yellow);
  border-bottom: 1px solid rgba(16, 40, 61, 0.14);
  background: rgba(238, 243, 244, 0.94);
}

.brand {
  display: inline-flex;
  align-items: center;
  transition: opacity 180ms ease;
}

.brand:hover,
.brand:focus-visible {
  opacity: 0.68;
}

.brand img {
  width: auto;
  height: clamp(50px, 4.8vw, 66px);
}

.location,
.site-footer {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.location {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  color: rgba(16, 40, 61, 0.68);
}

.location::before {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--coral);
  border-radius: 50%;
  content: "";
}

.program-hub {
  width: min(1500px, 100%);
  margin: 0 auto;
  padding: clamp(24px, 3.2vw, 48px) clamp(22px, 4.6vw, 72px) clamp(34px, 4vw, 62px);
}

.program-grid {
  display: grid;
  min-height: max(650px, calc(100svh - 230px));
  grid-template-columns: minmax(0, 1.45fr) minmax(330px, 0.85fr);
  gap: 16px;
}

.program-stack {
  display: grid;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.program-card {
  position: relative;
  isolation: isolate;
  display: grid;
  min-height: 0;
  overflow: hidden;
  border-radius: 18px;
  color: #fff;
}

.program-card-content {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: 100%;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(25px, 3.1vw, 48px);
}

.program-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: auto;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.4;
  text-transform: uppercase;
}

.program-card h1,
.program-card h2 {
  max-width: 14ch;
  margin: clamp(36px, 7vh, 84px) 0 30px;
  font-size: clamp(2rem, 3.6vw, 4.5rem);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.95;
}

.program-card-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: fit-content;
  min-width: 205px;
  padding: 14px 18px;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.program-card-summer {
  min-height: 650px;
  background: var(--blue);
  box-shadow: 0 24px 70px rgba(22, 70, 103, 0.2);
}

.summer-poster,
.summer-shade,
.regular-photo,
.regular-shade,
.prepro-card-photo,
.prepro-card-shade {
  position: absolute;
  inset: 0;
}

.summer-poster,
.regular-photo,
.prepro-card-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.summer-poster {
  object-position: 50% 32%;
  transition: transform 600ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.summer-shade {
  z-index: 1;
  background: linear-gradient(180deg, rgba(9, 37, 58, 0.1) 10%, rgba(7, 26, 42, 0.18) 46%, rgba(6, 24, 39, 0.9) 100%);
}

.program-card-summer:hover .summer-poster,
.program-card-summer:focus-visible .summer-poster {
  transform: scale(1.025);
}

.program-card-regular {
  background: #362720;
  box-shadow: 0 18px 52px rgba(174, 71, 55, 0.18);
}

.regular-photo {
  object-position: center 28%;
  transition: transform 600ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.regular-shade {
  z-index: 1;
  background: linear-gradient(180deg, rgba(20, 12, 9, 0.12) 8%, rgba(20, 12, 9, 0.28) 45%, rgba(17, 11, 9, 0.92) 100%);
}

.program-card-regular:hover .regular-photo,
.program-card-regular:focus-visible .regular-photo {
  transform: scale(1.035);
}

.program-card-regular h2,
.program-card-prepro h2 {
  max-width: 18ch;
  margin: 30px 0 22px;
  font-size: clamp(1.7rem, 2.1vw, 2.7rem);
}

.program-card-prepro {
  background: #dfe2e2;
}

.prepro-card-photo {
  object-position: center 28%;
}

.prepro-card-shade {
  z-index: 1;
  background: linear-gradient(180deg, rgba(16, 40, 61, 0.08) 4%, rgba(16, 40, 61, 0.2) 44%, rgba(12, 28, 41, 0.9) 100%);
}

.program-card-prepro h2 {
  margin-bottom: 0;
}

.soon-label {
  padding: 7px 10px;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--night);
}

.program-card[href] {
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.program-card[href]:hover,
.program-card[href]:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 4px;
  transform: translateY(-4px);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 17px clamp(24px, 4.6vw, 72px);
  border-top: 1px solid rgba(16, 40, 61, 0.14);
  background: var(--night);
  color: rgba(255, 255, 255, 0.68);
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  padding-bottom: 3px;
  border-bottom: 1px solid var(--yellow);
  transition: color 180ms ease;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: #fff;
}

@media (max-width: 920px) {
  .program-grid {
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .program-card-summer {
    min-height: 700px;
  }

  .program-stack {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: none;
  }

  .program-stack .program-card {
    min-height: 390px;
  }
}

@media (max-width: 560px) {
  .site-header {
    min-height: 82px;
  }

  .location {
    display: none;
  }

  .program-hub {
    padding-top: 34px;
  }

  .program-card-summer {
    min-height: 600px;
  }

  .summer-poster {
    object-position: center top;
  }

  .program-stack {
    grid-template-columns: 1fr;
  }

  .program-stack .program-card {
    min-height: 345px;
  }

  .program-card h1,
  .program-card h2 {
    font-size: clamp(2.1rem, 10vw, 3rem);
  }

  .program-card-meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

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