:root {
  --sky: #a7dce6;
  --sky-light: #dff8fb;
  --ink: #061a2c;
  --blue: #315c95;
  --blue-deep: #25477d;
  --yellow: #f5d90a;
  --green: #6fbe44;
  --red: #e43c2f;
  --cream: #fff3df;
  --white: #ffffff;
  --shadow: 0 22px 48px rgba(21, 54, 88, 0.18);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.55;
  background: #f9fcfb;
}

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

a {
  color: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 72px;
  padding: 0.8rem clamp(1rem, 4vw, 4rem);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 4px solid var(--yellow);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--blue-deep);
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 800;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: var(--yellow);
  font-weight: 900;
  background: var(--blue);
  border: 4px solid var(--green);
  border-radius: 50%;
}

.header-social {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-left: auto;
}

.header-social a {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--blue-deep);
  border: 3px solid rgba(49, 92, 149, 0.25);
  border-radius: 50%;
  background: var(--white);
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.header-social a:hover {
  color: var(--white);
  border-color: var(--blue);
  background: var(--blue);
  transform: translateY(-2px);
}

.header-social svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.header-social span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(0.7rem, 2vw, 1.5rem);
  font-weight: 700;
}

.site-nav a {
  color: var(--blue-deep);
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--red);
}

.hero {
  position: relative;
  min-height: 700px;
  display: grid;
  align-items: center;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.42)),
    var(--sky);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.hero::before {
  width: 300px;
  height: 300px;
  right: -90px;
  top: 70px;
  background: rgba(245, 217, 10, 0.5);
}

.hero::after {
  width: 240px;
  height: 240px;
  left: -70px;
  bottom: 90px;
  background: rgba(111, 190, 68, 0.32);
}

.hero-decor {
  position: absolute;
  right: clamp(1rem, 8vw, 8rem);
  bottom: clamp(2rem, 7vw, 5rem);
  display: grid;
  grid-template-columns: repeat(3, 78px);
  gap: 0 6px;
  opacity: 0.36;
  transform: rotate(-5deg);
  pointer-events: none;
}

.ring {
  width: 82px;
  height: 82px;
  border: 12px solid currentColor;
  border-radius: 50%;
}

.ring-yellow,
.ring-green {
  transform: translate(42px, -28px);
}

.ring-blue {
  color: #1b78d0;
}

.ring-yellow {
  color: #f2cb08;
}

.ring-black {
  color: #222222;
}

.ring-green {
  color: #37a844;
}

.ring-red {
  color: #d9342f;
}

.hero-content {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
  width: min(1140px, calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(3.5rem, 8vw, 6rem) 0;
}

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

.eyebrow {
  margin: 0 0 0.7rem;
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  max-width: 760px;
  margin: 0;
  color: var(--blue-deep);
  font-size: clamp(3rem, 8vw, 6.4rem);
  line-height: 0.95;
}

.theme-title {
  display: inline-block;
  margin: 0.7rem 0 0;
  padding: 0.25rem 0.75rem 0.35rem;
  color: var(--blue-deep);
  font-size: clamp(1.7rem, 4vw, 3rem);
  line-height: 1;
  font-weight: 900;
  background: var(--yellow);
  border: 4px solid var(--blue);
  border-radius: var(--radius);
  box-shadow: 0 8px 0 rgba(49, 92, 149, 0.18);
}

.hero-lead {
  max-width: 690px;
  margin: 1.3rem 0 0;
  font-size: clamp(1.1rem, 2.4vw, 1.45rem);
  font-weight: 700;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.85rem 1.25rem;
  border: 3px solid var(--blue);
  border-radius: var(--radius);
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 9px 0 rgba(30, 70, 119, 0.2);
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 11px 0 rgba(30, 70, 119, 0.22);
}

.button-primary {
  color: var(--blue-deep);
  background: var(--yellow);
}

.button-secondary {
  color: var(--white);
  background: rgba(49, 92, 149, 0.92);
}

.section-cta {
  margin-top: 0.8rem;
}

.hero-poster,
.poster-card,
.image-panel {
  margin: 0;
  overflow: hidden;
  border: 5px solid var(--blue);
  border-radius: var(--radius);
  background: var(--cream);
  box-shadow: var(--shadow);
}

.hero-poster {
  transform: rotate(1.5deg);
}

.hero-poster img {
  width: 100%;
  aspect-ratio: 3 / 5;
  object-fit: cover;
  object-position: center top;
}

.quick-strip {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  width: min(1140px, calc(100% - 2rem));
  margin: -2.3rem auto 0;
  overflow: hidden;
  border: 4px solid var(--blue);
  border-radius: var(--radius);
  background: var(--blue);
  box-shadow: var(--shadow);
}

.quick-strip div {
  min-height: 108px;
  padding: 1.2rem;
  background: var(--cream);
}

.quick-strip span {
  display: block;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.quick-strip strong {
  display: block;
  margin-top: 0.25rem;
  color: #101820;
  font-size: clamp(1.25rem, 2.4vw, 2rem);
  line-height: 1.1;
}

.quick-strip small {
  display: block;
  margin-top: 0.35rem;
  color: var(--blue-deep);
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1.2;
}

.section {
  width: min(1140px, calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(4rem, 8vw, 6.5rem) 0;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 1.5rem;
}

h2 {
  margin: 0;
  color: var(--blue-deep);
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.04;
}

h3 {
  margin: 0 0 0.65rem;
  color: var(--blue-deep);
  font-size: 1.25rem;
  line-height: 1.18;
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(min(100%, 320px), 420px);
  column-gap: clamp(1.5rem, 5vw, 4rem);
  align-items: start;
}

.intro > .section-heading {
  grid-column: 1;
  grid-row: 1;
}

.intro-grid {
  display: contents;
}

.copy-block {
  grid-column: 1;
  grid-row: 2;
  max-width: 720px;
  font-size: 1.13rem;
}

.illustration-card {
  grid-column: 2;
  grid-row: 1 / span 2;
  justify-self: end;
  align-self: start;
  width: min(420px, 100%);
  border-color: var(--yellow);
  background: var(--sky-light);
}

.illustration-card img {
  width: 100%;
  aspect-ratio: 1 / 1.5;
  min-height: 0;
  object-fit: cover;
  object-position: center;
}

.facts {
  width: 100%;
  max-width: none;
  padding-right: max(1rem, calc((100vw - 1140px) / 2));
  padding-left: max(1rem, calc((100vw - 1140px) / 2));
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(215, 242, 246, 0.92)),
    radial-gradient(circle at 12% 18%, rgba(245, 217, 10, 0.22), transparent 26rem);
}

.fact-grid,
.program-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.fact-grid article,
.program-grid article {
  min-height: 230px;
  padding: 1.35rem;
  border: 3px solid rgba(49, 92, 149, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 16px 30px rgba(49, 92, 149, 0.09);
}

.inline-link {
  display: inline-block;
  margin-top: 0.7rem;
  color: var(--blue-deep);
  font-weight: 900;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.22rem;
}

.split {
  display: grid;
  grid-template-columns: minmax(260px, 0.75fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: center;
}

.image-panel img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
}

.copy-panel {
  font-size: 1.1rem;
}

.check-list {
  display: grid;
  gap: 0.9rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 2rem;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 0.8rem;
  height: 0.8rem;
  border: 3px solid var(--blue);
  border-radius: 50%;
  background: var(--yellow);
}

.program {
  padding-top: 2rem;
}

.icon-badge {
  display: block;
  width: 58px;
  height: 58px;
  margin-bottom: 1.1rem;
  border: 8px solid currentColor;
  border-radius: 50%;
  background: transparent;
}

.icon-badge.blue {
  color: #1b78d0;
}

.icon-badge.yellow {
  color: #f2cb08;
}

.icon-badge.green {
  color: #37a844;
}

.icon-badge.red {
  color: #d9342f;
}

.gallery {
  padding-top: 1.5rem;
}

.gallery .section-heading {
  max-width: 860px;
}

.gallery .section-heading p:not(.eyebrow) {
  max-width: 720px;
  margin: 1rem 0 0;
  font-size: 1.1rem;
}

.photo-mosaic {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-template-rows: repeat(2, 190px);
  gap: 0.85rem;
  margin-top: 2rem;
}

.photo-mosaic figure {
  position: relative;
  min-width: 0;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  border: 4px solid rgba(49, 92, 149, 0.2);
  border-radius: var(--radius);
  background: var(--sky-light);
  box-shadow: 0 14px 28px rgba(49, 92, 149, 0.12);
}

.photo-mosaic a {
  display: block;
  width: 100%;
  height: 100%;
  cursor: zoom-in;
}

.photo-mosaic figure::after {
  content: "+";
  position: absolute;
  right: 0.65rem;
  bottom: 0.65rem;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: var(--blue-deep);
  font-size: 1.35rem;
  font-weight: 900;
  line-height: 1;
  border: 3px solid var(--blue);
  border-radius: 50%;
  background: var(--yellow);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 180ms ease, transform 180ms ease;
  pointer-events: none;
}

.photo-mosaic figure:hover::after {
  opacity: 1;
  transform: translateY(0);
}

.photo-mosaic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 220ms ease;
}

.photo-mosaic figure:hover img {
  transform: scale(1.04);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: none;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 4vw, 3rem);
  background: rgba(6, 26, 44, 0.88);
}

.lightbox.is-open {
  display: flex;
}

.lightbox-image {
  max-width: min(1100px, 92vw);
  max-height: 86vh;
  border: 5px solid var(--yellow);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
  object-fit: contain;
}

.lightbox-close,
.lightbox-arrow {
  position: absolute;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  color: var(--blue-deep);
  font-size: 2.25rem;
  font-weight: 900;
  line-height: 1;
  border: 3px solid var(--blue);
  border-radius: 50%;
  background: var(--yellow);
  cursor: pointer;
  box-shadow: 0 8px 0 rgba(0, 0, 0, 0.18);
}

.lightbox-close {
  top: 1.2rem;
  right: 1.2rem;
}

.lightbox-prev {
  left: 1.2rem;
}

.lightbox-next {
  right: 1.2rem;
}

.team {
  width: 100%;
  max-width: none;
  padding-right: max(1rem, calc((100vw - 1140px) / 2));
  padding-left: max(1rem, calc((100vw - 1140px) / 2));
  background: var(--blue-deep);
  color: var(--white);
}

.team h2,
.team h3,
.team .eyebrow {
  color: var(--white);
}

.team-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem;
  align-items: center;
  font-size: 1.12rem;
}

.team-content p {
  max-width: 780px;
  margin: 0;
}

.text-link {
  color: var(--yellow);
  font-weight: 900;
  text-decoration-thickness: 3px;
  text-underline-offset: 0.25rem;
}

.signup {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem;
  align-items: center;
  margin-top: 1.5rem;
  padding: clamp(2rem, 5vw, 3.5rem);
  border: 5px solid var(--blue);
  border-radius: var(--radius);
  background: var(--cream);
  box-shadow: var(--shadow);
  margin-bottom: 20px;
}

.signup p {
  max-width: 850px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  padding: clamp(2.5rem, 6vw, 4rem) clamp(1rem, 4vw, 4rem);
  color: var(--white);
  background:
    linear-gradient(120deg, rgba(30, 70, 119, 0.96), rgba(49, 92, 149, 0.94)),
    var(--blue-deep);
}

.site-footer h2 {
  color: var(--yellow);
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.site-footer .eyebrow {
  color: var(--sky-light);
}

.site-footer p {
  margin: 0.8rem 0 0;
  font-size: 1.12rem;
  font-weight: 800;
}

.site-footer a {
  color: inherit;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.2rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: flex-start;
  justify-content: flex-end;
}

.footer-links a {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  padding: 0.7rem 0.95rem;
  border: 2px solid rgba(255, 255, 255, 0.32);
  border-radius: var(--radius);
  font-weight: 900;
  text-decoration: none;
}

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

  .header-social {
    margin-left: 0;
  }

  .site-nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 0.2rem;
  }

  .hero-content,
  .split,
  .team-content,
  .signup,
  .site-footer {
    grid-template-columns: 1fr;
  }

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

  .photo-mosaic {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: repeat(4, 170px);
  }

  .intro {
    display: block;
  }

  .intro > .section-heading {
    margin-bottom: 1.5rem;
  }

  .intro-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .copy-block,
  .illustration-card {
    grid-column: auto;
    grid-row: auto;
  }

  .illustration-card {
    justify-self: start;
    width: min(420px, 100%);
  }

  .site-footer,
  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 620px) {
  .hero {
    min-height: auto;
  }

  .hero-decor {
    right: -58px;
    bottom: 1rem;
    transform: rotate(-5deg) scale(0.72);
  }

  h1 {
    font-size: clamp(2.75rem, 14vw, 4.6rem);
  }

  .hero-content {
    width: min(100% - 1.5rem, 1140px);
  }

  .hero-poster {
    transform: none;
  }

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

  .photo-mosaic {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(6, 145px);
    gap: 0.65rem;
  }

  .quick-strip {
    margin-top: -1.4rem;
  }

  .quick-strip div {
    min-height: 88px;
  }

  .button,
  .hero-actions {
    width: 100%;
  }

  .section {
    width: min(100% - 1.5rem, 1140px);
  }

  .intro-grid {
    gap: 1.25rem;
  }

  .copy-block {
    max-width: none;
    font-size: 1rem;
  }

  .illustration-card {
    width: 100%;
  }

  .signup {
    padding: 1.25rem;
  }

  .site-footer p span {
    display: none;
  }

  .site-footer p a {
    display: block;
    margin-top: 0.35rem;
  }
}
