:root {
  color-scheme: light;
  --ink: #0b1b3d;
  --muted: #43536f;
  --blue: #f0f8ff;
  --deep-blue: #0b1b3d;
  --orange: #f29100;
  --ice: #f0f8ff;
  --frost: #ffffff;
  --line: rgba(11, 27, 61, 0.12);
  --shadow: 0 24px 70px rgba(11, 27, 61, 0.12);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 8%, rgba(240, 248, 255, 0.95), transparent 28rem),
    linear-gradient(180deg, #ffffff 0%, #f0f8ff 54%, #ffffff 100%);
  font-family: "Source Sans 3", Arial, sans-serif;
  font-size: 18.5px;
  line-height: 1.55;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(100% - 40px, var(--max));
  margin: 18px auto 0;
  padding: 14px 18px;
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 12px 38px rgba(11, 27, 61, 0.1);
  backdrop-filter: blur(14px);
}

.logo-link {
  flex: 0 1 260px;
  min-width: 150px;
}

.logo {
  width: 238px;
  height: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-family: "Nunito", Arial, sans-serif;
}

.main-nav a {
  padding: 10px 14px;
  border-radius: 8px;
  text-decoration: none;
  color: var(--ink);
}

.main-nav a:hover,
.main-nav a:focus-visible {
  background: var(--ice);
  outline: none;
}

.section-band {
  width: min(100% - 40px, var(--max));
  margin: 0 auto;
  padding: 88px 0;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.75fr);
  align-items: center;
  column-gap: 54px;
  row-gap: 30px;
  min-height: calc(100vh - 98px);
  padding-top: 54px;
}

.hero-copy {
  grid-column: 1;
  grid-row: 1 / span 2;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--deep-blue);
  font-family: "Nunito", Arial, sans-serif;
  font-size: 0.83rem;
  font-weight: 900;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Nunito", Arial, sans-serif;
  line-height: 1.02;
  overflow-wrap: break-word;
}

h1 {
  max-width: 780px;
  font-size: clamp(1.85rem, 3.4vw, 2.8rem);
}

h2 {
  font-size: clamp(1.85rem, 3.4vw, 2.8rem);
}

h3 {
  font-size: 1.35rem;
}

.hero-lead,
.section-copy p,
.site-footer p {
  max-width: 620px;
  color: var(--muted);
  font-size: 1.16rem;
  hyphens: none;
  text-align: justify;
  text-wrap: pretty;
}

.hero-lead,
.section-copy p {
  font-size: 1.34rem;
}

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

.hero-actions {
  grid-column: 1;
  grid-row: 2;
  align-self: start;
  transform: translateY(14px);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 22px;
  border: 2px solid transparent;
  border-radius: 8px;
  font-family: "Nunito", Arial, sans-serif;
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
}

.button.primary {
  color: #ffffff;
  background: var(--orange);
  box-shadow: 0 18px 34px rgba(242, 145, 0, 0.26);
}

.button.orange {
  background: var(--orange);
  box-shadow: 0 18px 34px rgba(242, 145, 0, 0.3);
}

.button.secondary {
  color: var(--deep-blue);
  border-color: rgba(11, 27, 61, 0.16);
  background: #ffffff;
}

.button.light {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.1);
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.trust-strip span,
.benefits span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 12px;
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(11, 27, 61, 0.08);
}

.hero-photo,
.feature-photo,
.classroom-photo,
.wow-tile {
  overflow: hidden;
  margin: 0;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.hero-photo a,
.feature-photo a,
.classroom-photo a,
.wow-tile a {
  display: block;
  width: 100%;
  height: 100%;
  color: inherit;
  cursor: zoom-in;
}

.hero-photo {
  grid-column: 2;
  grid-row: 1 / span 2;
  position: relative;
}

.hero-photo img {
  width: 100%;
  height: min(68vh, 690px);
  object-fit: cover;
  object-position: 52% 42%;
}

figcaption {
  position: absolute;
  right: 14px;
  bottom: 14px;
  max-width: calc(100% - 28px);
  padding: 8px 11px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 800;
}

.program,
.audience {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(340px, 0.78fr);
  align-items: center;
  gap: 56px;
}

.program {
  position: relative;
  width: 100%;
  max-width: none;
  padding-inline: max(20px, calc((100% - var(--max)) / 2));
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, #f0f8ff, rgba(240, 248, 255, 0.42));
}

.program .section-copy {
  max-width: 620px;
}

.list-title {
  margin-top: 28px;
  color: var(--ink);
  font-size: 1.25rem;
}

.program-list {
  display: grid;
  gap: 12px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.program-list li {
  position: relative;
  padding: 15px 18px 15px 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.76);
  hyphens: none;
  text-align: justify;
}

.program-list li::before {
  content: "❄️";
  position: absolute;
  left: 16px;
  top: 14px;
}

.nowrap {
  white-space: nowrap;
}

.feature-photo {
  position: relative;
  align-self: stretch;
}

.feature-photo img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  object-position: 50% 48%;
}

.gallery {
  border-top: 1px solid var(--line);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
}

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

.wow-tile {
  display: grid;
  grid-template-rows: 290px auto;
}

.wow-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wow-tile:nth-child(1) img {
  object-position: center 54%;
}

.wow-tile:nth-child(2) img {
  object-position: center 43%;
}

.wow-tile:nth-child(3) img {
  object-position: center 52%;
}

.wow-tile div {
  padding: 22px;
}

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

.audience {
  grid-template-columns: minmax(340px, 0.82fr) minmax(0, 0.95fr);
  padding-top: 112px;
}

.classroom-photo img {
  width: 100%;
  height: 620px;
  object-fit: cover;
  object-position: 51% 56%;
}

.benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 32px;
  width: min(100% - 40px, var(--max));
  margin: 0 auto 28px;
  padding: 44px;
  border-radius: 8px;
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(11, 27, 61, 0.96), rgba(11, 27, 61, 0.9));
  box-shadow: var(--shadow);
}

.site-footer .eyebrow,
.site-footer p {
  color: rgba(255, 255, 255, 0.8);
}

.site-footer h2 {
  max-width: 780px;
}

.contact-cards {
  display: grid;
  grid-template-columns: minmax(260px, 1fr);
  gap: 14px;
  width: min(360px, 100%);
  min-width: 0;
}

.contact-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  column-gap: 12px;
  row-gap: 3px;
  min-height: 96px;
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  color: #ffffff;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.16);
}

.contact-card:hover,
.contact-card:focus-visible {
  outline: none;
  background: rgba(255, 255, 255, 0.18);
}

.contact-icon {
  grid-column: 1;
  grid-row: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  width: 1.48rem;
  height: 1.48rem;
  color: rgba(255, 255, 255, 0.92);
}

.contact-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.contact-card strong {
  grid-column: 2;
  grid-row: 1;
  align-self: center;
  color: rgba(255, 255, 255, 0.78);
  font-family: "Nunito", Arial, sans-serif;
  font-size: 0.8rem;
  line-height: 1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.contact-card b {
  grid-column: 1 / -1;
  grid-row: 2;
  align-self: start;
  font-family: "Nunito", Arial, sans-serif;
  font-size: clamp(1.02rem, 1.8vw, 1.16rem);
  line-height: 1.18;
  overflow-wrap: anywhere;
}

@media (max-width: 1024px) {
  .site-footer {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .contact-cards {
    width: 100%;
  }
}

@media (max-width: 860px) {
  body {
    font-size: 17.5px;
  }

  .site-header {
    width: calc(100% - 24px);
    margin-top: 12px;
    padding: 12px;
    align-items: center;
    flex-direction: row;
    gap: 16px;
  }

  .logo-link {
    flex: 1 1 auto;
    width: auto;
    max-width: 220px;
    min-width: 0;
  }

  .logo {
    width: 100%;
  }

  .main-nav {
    width: auto;
    display: flex;
    flex: 0 0 auto;
    gap: 0;
    font-size: 0.92rem;
  }

  .main-nav a:not(:last-child) {
    display: none;
  }

  .main-nav a {
    display: flex;
    justify-content: center;
    min-width: 0;
    padding: 9px 6px;
    white-space: nowrap;
  }

  .section-band {
    width: calc(100% - 24px);
    padding: 58px 0;
  }

  .hero,
  .program,
  .audience,
  .site-footer {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .hero {
    min-height: auto;
    padding-top: 42px;
  }

  .hero-copy {
    grid-column: auto;
    grid-row: auto;
  }

  .program .section-copy,
  .audience .section-copy {
    order: 1;
  }

  .feature-photo,
  .classroom-photo {
    order: 2;
  }

  .hero-photo {
    grid-column: auto;
    grid-row: auto;
    order: 2;
  }

  .hero-actions {
    grid-column: auto;
    grid-row: auto;
    order: 3;
    margin-top: 0;
    transform: none;
  }

  h1 {
    font-size: clamp(1.7rem, 8vw, 2.35rem);
  }

  h2 {
    font-size: clamp(1.7rem, 8vw, 2.35rem);
  }

  .hero-lead,
  .section-copy p,
  .site-footer p {
    font-size: 1.05rem;
  }

  .hero-lead,
  .section-copy p {
    font-size: 1.2rem;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
    min-height: 54px;
  }

  .trust-strip,
  .benefits {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .trust-strip span,
  .benefits span {
    justify-content: center;
    text-align: center;
  }

  .hero-photo {
    transform: none;
  }

  .hero-photo img {
    height: auto;
    max-height: none;
    aspect-ratio: 4 / 5;
    object-position: 52% 40%;
  }

  figcaption {
    font-size: 0.82rem;
  }

  .feature-photo img,
  .classroom-photo img {
    min-height: 0;
    height: auto;
    aspect-ratio: 4 / 5;
  }

  .feature-photo img {
    object-position: center 48%;
  }

  .classroom-photo img {
    aspect-ratio: 4 / 5.2;
    object-position: 51% 64%;
  }

  .section-heading {
    display: block;
  }

  .tile-grid {
    grid-template-columns: 1fr;
  }

  .wow-tile,
  .wow-tile.tall {
    grid-template-rows: 230px auto;
    transform: none;
  }

  .audience {
    padding-top: 58px;
  }

  .site-footer {
    width: calc(100% - 24px);
    margin-bottom: 12px;
    padding: 30px 20px;
  }

  .contact-cards {
    grid-template-columns: 1fr;
    min-width: 0;
  }
}

@media (max-width: 420px) {
  .site-header {
    width: calc(100% - 18px);
  }

  .logo-link {
    max-width: 190px;
  }

  .main-nav {
    font-size: 0.94rem;
    gap: 4px;
  }

  .main-nav a {
    min-width: 0;
    padding-inline: 2px;
  }

  .section-band,
  .site-footer {
    width: calc(100% - 18px);
  }

  h1 {
    font-size: clamp(1.7rem, 8vw, 2.35rem);
    line-height: 1.02;
  }

  .hero-lead,
  .section-copy p,
  .site-footer p {
    font-size: 1rem;
  }

  .hero-lead,
  .section-copy p {
    font-size: 1.12rem;
  }

  .trust-strip,
  .benefits {
    grid-template-columns: 1fr;
  }

  .wow-tile {
    grid-template-rows: 210px auto;
  }
}

@media (max-width: 560px) {
  .site-header {
    width: calc(100% - 18px);
  }

  .logo-link {
    max-width: 190px;
  }

  .main-nav {
    font-size: 0.94rem;
    gap: 4px;
  }

  .main-nav a {
    padding-inline: 2px;
  }

  .section-band,
  .site-footer {
    width: calc(100% - 18px);
  }

  h1 {
    font-size: clamp(1.7rem, 8vw, 2.35rem);
    line-height: 1.02;
  }

  .hero-lead,
  .section-copy p,
  .site-footer p {
    font-size: 1rem;
    -webkit-hyphens: auto;
    hyphens: auto;
    overflow-wrap: break-word;
    text-align: justify;
    text-align-last: left;
    text-wrap: wrap;
    text-wrap-style: auto;
    word-spacing: normal;
  }

  .hero-lead,
  .section-copy p {
    font-size: 1.12rem;
  }

  .program-list li {
    -webkit-hyphens: auto;
    hyphens: auto;
    overflow-wrap: break-word;
    text-align: justify;
    text-align-last: left;
    text-wrap-style: auto;
    word-spacing: normal;
  }
}
