:root {
  --navy: #071640;
  --navy-soft: #142a58;
  --gold: #c8a14a;
  --gold-soft: #f3e5bd;
  --ink: #152033;
  --muted: #5b6474;
  --paper: #fbfbf7;
  --white: #ffffff;
  --green: #0f7a5f;
  --red: #b23a2f;
  --line: rgba(21, 32, 51, 0.12);
  --shadow: 0 22px 60px rgba(7, 22, 64, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Segoe UI", Tahoma, Arial, sans-serif;
  line-height: 1.7;
}

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

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

button {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 12px 5vw;
  background: rgba(251, 251, 247, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 220px;
}

.brand img {
  width: 58px;
  height: 58px;
  object-fit: contain;
}

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

.brand strong {
  font-size: 1rem;
  color: var(--navy);
}

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

.main-nav {
  display: flex;
  justify-content: center;
  gap: 22px;
  font-size: 0.95rem;
  color: var(--navy);
}

.main-nav a {
  padding-block: 8px;
  border-bottom: 2px solid transparent;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  border-color: var(--gold);
}

.header-call,
.primary-action,
.secondary-action {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-weight: 700;
}

.header-call {
  padding: 10px 16px;
  color: var(--white);
  background: var(--navy);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--navy);
}

.hero {
  position: relative;
  min-height: 78vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
  background: var(--navy);
}

.hero-media,
.hero-media img,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 44%;
}

.hero-overlay {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(7, 22, 64, 0.18), rgba(7, 22, 64, 0.86) 66%),
    linear-gradient(0deg, rgba(7, 22, 64, 0.5), rgba(7, 22, 64, 0.04) 42%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(760px, 90vw);
  margin-inline: 5vw auto;
  padding: 0 0 78px;
  color: var(--white);
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--gold);
  font-weight: 800;
}

.hero h1 {
  max-width: 740px;
  margin: 0;
  font-size: 3.9rem;
  line-height: 1.12;
}

.hero-copy {
  max-width: 610px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.25rem;
}

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

.primary-action,
.secondary-action {
  padding: 12px 22px;
}

.primary-action {
  background: var(--gold);
  color: var(--navy);
}

.secondary-action {
  border: 1px solid rgba(255, 255, 255, 0.52);
  color: var(--white);
}

.quick-facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}

.quick-facts div {
  min-height: 126px;
  padding: 24px 5vw;
  background: var(--white);
}

.quick-facts span {
  display: block;
  color: var(--navy);
  font-size: 2rem;
  font-weight: 900;
  line-height: 1.2;
}

.quick-facts p {
  margin: 8px 0 0;
  color: var(--muted);
}

.section {
  padding: 84px 5vw;
}

.about-section,
.tech-band,
.summer-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  align-items: center;
  gap: 48px;
}

.section-copy,
.summer-copy {
  max-width: 660px;
}

.section h2 {
  margin: 0;
  color: var(--navy);
  font-size: 2.45rem;
  line-height: 1.25;
}

.section p {
  font-size: 1.05rem;
}

.image-panel {
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
  background: var(--navy);
}

.image-panel img {
  width: 100%;
  aspect-ratio: 16 / 8;
  object-fit: cover;
}

.learning-section,
.gallery-section {
  background: var(--white);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1fr);
  align-items: end;
  gap: 32px;
  margin-bottom: 36px;
}

.section-heading .section-kicker {
  grid-column: 1 / -1;
  margin-bottom: -18px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.feature-card,
.facility-list article,
.contact-grid a {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.feature-card {
  min-height: 260px;
  padding: 26px;
}

.feature-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--gold-soft);
  color: var(--navy);
  font-weight: 900;
}

.feature-card h3,
.facility-list h3 {
  margin: 24px 0 8px;
  color: var(--navy);
  font-size: 1.2rem;
}

.feature-card p,
.facility-list p {
  margin: 0;
  color: var(--muted);
}

.tech-band {
  background: linear-gradient(90deg, var(--navy), var(--navy-soft));
  color: var(--white);
}

.tech-band h2 {
  color: var(--white);
}

.tech-band p:not(.section-kicker) {
  color: rgba(255, 255, 255, 0.84);
}

.tech-band img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
}

.facilities-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1.1fr);
  gap: 28px;
  align-items: stretch;
}

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

.facility-list article {
  padding: 24px;
}

.facility-list h3 {
  margin-top: 0;
}

.facility-images {
  display: grid;
  grid-template-columns: 1fr 0.74fr;
  gap: 14px;
}

.facility-images img {
  width: 100%;
  height: 100%;
  min-height: 480px;
  object-fit: cover;
  border-radius: 8px;
}

.facility-images img:last-child {
  min-height: 480px;
}

.summer-section {
  grid-template-columns: minmax(320px, 0.82fr) minmax(0, 1fr);
  background: #f6efe0;
}

.summer-section img {
  width: 100%;
  max-height: 720px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.summer-copy dl {
  margin: 28px 0 0;
}

.summer-copy div {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid rgba(21, 32, 51, 0.16);
}

.summer-copy dt {
  color: var(--navy);
  font-weight: 900;
}

.summer-copy dd {
  margin: 0;
  color: var(--muted);
}

.summer-copy a {
  color: var(--green);
  font-weight: 800;
}

.gallery-grid {
  display: grid;
  grid-auto-flow: dense;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.gallery-item {
  position: relative;
  min-height: 230px;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 8px;
  background: var(--navy);
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform 220ms ease, opacity 220ms ease;
}

.gallery-item:hover img,
.gallery-item:focus-visible img {
  transform: scale(1.04);
  opacity: 0.9;
}

.gallery-item.wide {
  grid-column: span 2;
}

.gallery-item.tall {
  grid-row: span 2;
}

.gallery-item.wide img {
  aspect-ratio: 2 / 1;
}

.gallery-item.tall img {
  aspect-ratio: 1 / 2;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(300px, 0.7fr) minmax(0, 1.3fr);
  gap: 36px;
  background: var(--navy);
  color: var(--white);
}

.contact-section h2 {
  color: var(--white);
}

.contact-copy p:not(.section-kicker) {
  color: rgba(255, 255, 255, 0.72);
}

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

.contact-grid a {
  padding: 22px;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
}

.contact-grid a:hover,
.contact-grid a:focus-visible {
  background: rgba(255, 255, 255, 0.14);
}

.contact-grid span,
.contact-grid strong {
  display: block;
}

.contact-grid span {
  margin-bottom: 8px;
  color: var(--gold-soft);
  font-size: 0.9rem;
}

.contact-grid strong {
  direction: ltr;
  text-align: right;
  overflow-wrap: anywhere;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 24px 5vw;
  color: var(--white);
  background: #04102e;
}

.site-footer p {
  margin: 0;
}

.lightbox {
  width: min(960px, 92vw);
  padding: 16px;
  border: 0;
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.lightbox::backdrop {
  background: rgba(4, 16, 46, 0.78);
}

.lightbox img {
  width: 100%;
  max-height: 76vh;
  object-fit: contain;
  background: #eef0f5;
  border-radius: 6px;
}

.lightbox p {
  margin: 12px 0 0;
  color: var(--navy);
  font-weight: 800;
}

.lightbox-close {
  min-height: 40px;
  margin-bottom: 12px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--navy);
  background: var(--white);
  cursor: pointer;
}

@media (max-width: 1100px) {
  .site-header {
    grid-template-columns: auto auto 1fr;
  }

  .menu-toggle {
    display: inline-block;
    grid-column: 2;
  }

  .main-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 12px 5vw;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    padding: 12px 0;
  }

  .header-call {
    justify-self: end;
  }

  .hero h1 {
    font-size: 3rem;
  }

  .feature-grid,
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .facilities-layout,
  .contact-section {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .site-header {
    gap: 12px;
    padding: 10px 18px;
  }

  .brand {
    min-width: 0;
  }

  .brand img {
    width: 50px;
    height: 50px;
  }

  .brand small,
  .header-call {
    display: none;
  }

  .hero {
    min-height: 72vh;
  }

  .hero-overlay {
    background:
      linear-gradient(0deg, rgba(7, 22, 64, 0.9), rgba(7, 22, 64, 0.16) 74%),
      linear-gradient(90deg, rgba(7, 22, 64, 0.15), rgba(7, 22, 64, 0.42));
  }

  .hero-content {
    padding-bottom: 44px;
  }

  .hero h1 {
    font-size: 2.35rem;
  }

  .hero-copy {
    font-size: 1.05rem;
  }

  .quick-facts {
    grid-template-columns: repeat(2, 1fr);
  }

  .quick-facts div {
    min-height: 112px;
    padding: 20px 18px;
  }

  .section {
    padding: 62px 18px;
  }

  .about-section,
  .tech-band,
  .summer-section,
  .section-heading {
    grid-template-columns: 1fr;
  }

  .section-heading .section-kicker {
    margin-bottom: -8px;
  }

  .section h2 {
    font-size: 2rem;
  }

  .feature-grid,
  .facility-list,
  .facility-images,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .facility-images img,
  .facility-images img:last-child {
    min-height: 320px;
  }

  .gallery-item.wide,
  .gallery-item.tall {
    grid-column: auto;
    grid-row: auto;
  }

  .gallery-item,
  .gallery-item.wide img,
  .gallery-item.tall img {
    min-height: 260px;
  }

  .summer-copy div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .site-footer {
    display: block;
  }

  .site-footer p + p {
    margin-top: 8px;
  }
}

@media (max-width: 520px) {
  .hero h1 {
    font-size: 2.05rem;
  }

  .hero-actions {
    display: grid;
  }

  .primary-action,
  .secondary-action {
    width: 100%;
  }

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

  .feature-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}
