:root {
  color-scheme: light;
  --ink: #18212f;
  --muted: #5f6977;
  --line: #d8e0ee;
  --paper: #ffffff;
  --wash: #f6f8ff;
  --navy: #102c5f;
  --blue: #1e63b6;
  --red: #d83a32;
  --teal: #078f98;
  --gold: #f6c600;
  --green: #39975b;
  --sky: #d7efff;
  --shadow: 0 18px 50px rgba(16, 44, 95, 0.17);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(135deg, rgba(246, 198, 0, 0.18), transparent 28%),
    linear-gradient(315deg, rgba(30, 99, 182, 0.13), transparent 34%),
    var(--wash);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 4px solid var(--gold);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-logo {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 3px solid var(--gold);
  object-fit: cover;
  box-shadow: 0 8px 18px rgba(16, 44, 95, 0.18);
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  font-size: 0.76rem;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.nav a {
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--navy);
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
}

.nav a:hover {
  background: rgba(246, 198, 0, 0.18);
  color: var(--blue);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.92fr);
  gap: clamp(22px, 5vw, 60px);
  align-items: center;
  min-height: calc(100svh - 72px);
  padding: clamp(26px, 5vw, 64px) clamp(18px, 4vw, 56px) 34px;
}

.hero-media {
  position: relative;
  min-height: 520px;
}

.hero-media > img {
  width: 100%;
  min-height: 520px;
  object-fit: cover;
  object-position: center;
  border-radius: 8px;
  border: 8px solid white;
  box-shadow: var(--shadow);
}

.video-card {
  position: absolute;
  right: clamp(10px, 3vw, 30px);
  bottom: clamp(10px, 3vw, 30px);
  width: min(420px, calc(100% - 20px));
  padding: 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  border: 3px solid var(--gold);
  box-shadow: 0 14px 34px rgba(24, 33, 47, 0.22);
}

.hero-copy {
  max-width: 640px;
}

.school-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: 100%;
  margin-bottom: 18px;
  padding: 8px 13px 8px 8px;
  border: 1px solid rgba(16, 44, 95, 0.12);
  border-radius: 999px;
  background: white;
  box-shadow: 0 12px 26px rgba(16, 44, 95, 0.1);
  color: var(--navy);
  font-weight: 900;
}

.school-badge img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(2.6rem, 7vw, 5.8rem);
  line-height: 0.95;
  letter-spacing: 0;
}

h1::after {
  display: block;
  width: min(260px, 58vw);
  height: 10px;
  margin-top: 18px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold), var(--red), var(--teal));
  content: "";
}

h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  color: var(--ink);
  font-size: 1.08rem;
}

.hero-copy > p:not(.eyebrow),
.section-heading p,
.spotlight-copy > p {
  color: var(--muted);
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 11px 18px;
  border-radius: 6px;
  font-weight: 800;
  text-decoration: none;
}

.button.primary {
  background: var(--navy);
  color: white;
  box-shadow: 0 12px 24px rgba(16, 44, 95, 0.22);
}

.button.secondary {
  background: var(--gold);
  color: var(--navy);
  border: 1px solid rgba(16, 44, 95, 0.1);
}

.quick-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 0 clamp(18px, 4vw, 56px);
  overflow: hidden;
  border: 0;
  border-radius: 8px;
  background: var(--line);
}

.quick-strip article {
  min-width: 0;
  padding: 18px;
  background: white;
  border-top: 5px solid var(--gold);
}

.quick-strip article:nth-child(2) {
  border-top-color: var(--teal);
}

.quick-strip article:nth-child(3) {
  border-top-color: var(--red);
}

.quick-strip span {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.quick-strip strong {
  display: block;
  color: var(--navy);
}

.section {
  padding: clamp(54px, 8vw, 92px) clamp(18px, 4vw, 56px);
}

.school-pride {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: clamp(18px, 4vw, 36px);
  align-items: center;
  margin: clamp(28px, 5vw, 54px) clamp(18px, 4vw, 56px) 0;
  padding: clamp(22px, 4vw, 36px);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(246, 198, 0, 0.92), rgba(246, 198, 0, 0.28)),
    white;
  border: 1px solid rgba(16, 44, 95, 0.12);
  box-shadow: 0 16px 36px rgba(16, 44, 95, 0.12);
}

.school-pride img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  border: 6px solid white;
  object-fit: cover;
  box-shadow: 0 12px 26px rgba(16, 44, 95, 0.2);
}

.school-pride p:last-child {
  max-width: 760px;
  color: #2f3e54;
  font-size: 1.08rem;
}

.section-heading {
  max-width: 850px;
  margin-bottom: 28px;
}

.week-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.week-card,
.announcement-item {
  border-radius: 8px;
  background: white;
  border: 1px solid rgba(16, 44, 95, 0.11);
  box-shadow: 0 12px 28px rgba(24, 33, 47, 0.07);
}

.week-card {
  position: relative;
  overflow: hidden;
  padding: clamp(20px, 3vw, 30px);
}

.week-card::before {
  position: absolute;
  inset: 0 0 auto;
  height: 7px;
  background: linear-gradient(90deg, var(--gold), var(--blue), var(--red));
  content: "";
}

.week-card span {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(246, 198, 0, 0.2);
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 900;
}

.week-card p {
  color: var(--muted);
}

.week-card ul {
  margin: 18px 0 0;
  padding-left: 20px;
}

.week-card li + li {
  margin-top: 8px;
}

.spotlight {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(300px, 1.08fr);
  gap: clamp(22px, 5vw, 58px);
  align-items: center;
  background:
    linear-gradient(135deg, rgba(16, 44, 95, 0.96), rgba(30, 99, 182, 0.9)),
    #102c5f;
  color: white;
}

.spotlight h2,
.spotlight h3,
.spotlight .eyebrow,
.spotlight .spotlight-copy > p {
  color: white;
}

.spotlight .eyebrow {
  color: var(--gold);
}

.spotlight-copy {
  max-width: 700px;
}

.star-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 28px 0 0;
}

.star-facts div {
  min-height: 96px;
  padding: 16px;
  border-left: 5px solid var(--gold);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
}

.star-facts dt {
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.star-facts dd {
  margin: 4px 0 0;
  color: white;
  font-weight: 800;
}

.video-shell {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  background: #0b1730;
  border: 4px solid rgba(255, 255, 255, 0.2);
}

.video-shell video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 12px;
  padding: 20px;
  color: white;
  text-align: center;
  pointer-events: none;
}

.video-fallback p {
  margin: 0;
  max-width: 300px;
  font-weight: 900;
}

.video-shell.has-video .video-fallback {
  display: none;
}

.play-icon {
  position: relative;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
}

.play-icon::after {
  position: absolute;
  top: 18px;
  left: 24px;
  width: 0;
  height: 0;
  border-top: 13px solid transparent;
  border-bottom: 13px solid transparent;
  border-left: 20px solid var(--red);
  content: "";
}

.video-note {
  margin: 10px 0 0;
  color: var(--navy);
  font-size: 0.92rem;
  font-weight: 800;
}

.gallery {
  background:
    linear-gradient(135deg, rgba(246, 198, 0, 0.18), transparent 34%),
    linear-gradient(315deg, rgba(7, 143, 152, 0.13), transparent 38%),
    #ffffff;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr 0.85fr;
  gap: 16px;
}

.gallery-grid figure {
  position: relative;
  min-height: 260px;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: var(--navy);
  border: 6px solid white;
  box-shadow: 0 14px 34px rgba(16, 44, 95, 0.14);
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
}

.gallery-grid figure::after {
  position: absolute;
  inset: auto 0 0;
  height: 45%;
  background: linear-gradient(transparent, rgba(16, 44, 95, 0.86));
  content: "";
}

.gallery-grid figcaption {
  position: absolute;
  right: 16px;
  bottom: 14px;
  left: 16px;
  z-index: 1;
  color: white;
  font-weight: 900;
}

.gallery-feature {
  grid-row: span 2;
}

.gallery-feature,
.gallery-feature img {
  min-height: 536px;
}

.resources {
  background:
    linear-gradient(180deg, #f8fbf8, #eef8ff);
}

.resource-list {
  display: grid;
  gap: 12px;
}

.resource-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 18px;
  border: 1px solid rgba(16, 44, 95, 0.11);
  border-radius: 8px;
  background: white;
}

.resource-item p,
.announcement-item p {
  margin: 6px 0 0;
  color: var(--muted);
}

.resource-item a {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  padding: 8px 14px;
  border-radius: 6px;
  background: var(--teal);
  color: white;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.announcement-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.announcement-item {
  padding: 22px;
  border-bottom: 5px solid var(--gold);
}

.announcement-item time {
  display: block;
  margin-bottom: 10px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  padding: 24px clamp(18px, 4vw, 56px);
  background: linear-gradient(90deg, var(--navy), #174d92);
  color: white;
}

.site-footer span {
  color: rgba(255, 255, 255, 0.78);
}

@media (max-width: 900px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    justify-content: flex-start;
  }

  .hero,
  .spotlight,
  .gallery-grid,
  .week-grid,
  .announcement-list {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-media,
  .hero-media > img {
    min-height: 420px;
  }

  .quick-strip {
    grid-template-columns: 1fr;
  }

  .school-pride {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .school-pride img {
    justify-self: center;
  }

  .gallery-feature,
  .gallery-feature img {
    min-height: 320px;
  }
}

@media (max-width: 620px) {
  .hero-media,
  .hero-media > img {
    min-height: 340px;
  }

  .video-card {
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;
    margin-top: 12px;
  }

  .star-facts,
  .resource-item {
    grid-template-columns: 1fr;
  }

  .resource-item a {
    justify-content: center;
    width: 100%;
  }
}
