:root {
  --ink: #17212b;
  --muted: #63707d;
  --paper: #fffaf2;
  --soft: #f7ead7;
  --rose: #d94e73;
  --berry: #8f2d56;
  --sun: #f4b940;
  --mint: #63aa87;
  --blue: #2e6f95;
  --navy: #19354a;
  --line: rgba(23, 33, 43, 0.14);
  --shadow: 0 26px 72px rgba(42, 34, 24, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

[id] {
  scroll-margin-top: 110px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, Avenir, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.55;
}

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

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.site-header {
  position: fixed;
  top: 18px;
  left: 50%;
  z-index: 40;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  width: min(1180px, calc(100% - 32px));
  padding: 12px 14px 12px 18px;
  background: rgba(255, 250, 242, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 999px;
  box-shadow: 0 18px 50px rgba(25, 53, 74, 0.16);
  transform: translateX(-50%);
  backdrop-filter: blur(18px);
}

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

.brand-mark {
  position: relative;
  width: 44px;
  height: 48px;
  flex: 0 0 auto;
}

.brand-mark::before,
.brand-mark::after {
  content: "";
  position: absolute;
  bottom: 3px;
  left: 20px;
  width: 4px;
  height: 34px;
  background: var(--mint);
  border-radius: 999px;
  transform: rotate(10deg);
  transform-origin: bottom;
}

.brand-mark::after {
  left: 15px;
  height: 28px;
  background: var(--blue);
  transform: rotate(-32deg);
}

.brand-mark i {
  position: absolute;
  z-index: 1;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--sun);
}

.brand-mark i:nth-child(1) {
  left: 12px;
  top: 12px;
}

.brand-mark i:nth-child(2) {
  left: 25px;
  top: 3px;
  background: var(--rose);
}

.brand-mark i:nth-child(3) {
  left: 31px;
  top: 20px;
  background: var(--berry);
}

.brand-mark i:nth-child(4) {
  left: 5px;
  top: 28px;
  background: var(--mint);
}

.brand span {
  display: grid;
  gap: 1px;
}

.brand strong {
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.3rem;
  line-height: 1;
}

.brand small {
  color: var(--berry);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.brand em {
  color: var(--blue);
  font-size: 0.68rem;
  font-style: normal;
  font-weight: 950;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: clamp(14px, 2.5vw, 34px);
  color: var(--navy);
  font-size: 0.92rem;
  font-weight: 850;
}

.site-nav a {
  padding: 10px 0;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--rose);
}

.header-contact a,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 900;
  white-space: nowrap;
}

.header-contact {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-contact a {
  min-height: 42px;
  padding: 0 15px;
  color: var(--navy);
  background: rgba(46, 111, 149, 0.09);
  font-size: 0.85rem;
}

.header-contact a:nth-child(2),
.button.primary {
  color: #fff;
  background: var(--berry);
  box-shadow: 0 14px 30px rgba(143, 45, 86, 0.22);
}

.button.secondary {
  color: var(--navy);
  background: #fff;
  border-color: rgba(255, 255, 255, 0.68);
}

.nav-toggle {
  display: none;
}

.hero {
  position: relative;
  min-height: 760px;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 150px clamp(22px, 5vw, 72px) 44px;
  color: #fff;
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(23, 33, 43, 0.88) 0%, rgba(23, 33, 43, 0.64) 44%, rgba(23, 33, 43, 0.16) 100%),
    linear-gradient(0deg, rgba(23, 33, 43, 0.72), rgba(23, 33, 43, 0.04) 52%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 880px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--sun);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 520;
  line-height: 1;
}

h1 {
  max-width: 850px;
  margin-bottom: 22px;
  font-size: clamp(3.5rem, 7.4vw, 7.8rem);
}

h2 {
  color: var(--navy);
  font-size: clamp(2.2rem, 4.2vw, 4.8rem);
}

h3 {
  color: var(--navy);
  font-size: 1.24rem;
  line-height: 1.2;
}

.hero-copy {
  max-width: 660px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.05rem, 1.6vw, 1.28rem);
}

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

.hero-panel {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  width: min(870px, 100%);
  margin-top: 68px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
}

.hero-panel div {
  padding: 22px;
  background: rgba(255, 255, 255, 0.12);
}

.hero-panel strong {
  display: block;
  font-size: clamp(1.35rem, 2.2vw, 2.2rem);
  line-height: 1;
}

.hero-panel span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 750;
}

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

.intro-strip article {
  min-height: 250px;
  padding: clamp(28px, 4vw, 54px);
  background: var(--paper);
}

.intro-strip span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 22px;
  color: #fff;
  background: var(--blue);
  border-radius: 50%;
  font-size: 0.78rem;
  font-weight: 950;
}

.intro-strip article:nth-child(2) span {
  background: var(--rose);
}

.intro-strip article:nth-child(3) span {
  background: var(--mint);
}

.intro-strip h2 {
  margin-bottom: 12px;
  font-size: clamp(1.7rem, 2.5vw, 2.8rem);
}

.intro-strip p,
.section-heading p,
.admissions-heading p,
.learning-copy p,
.learning-zone-copy p,
.boutique-copy p,
.location-copy p,
.visit p,
.site-footer p,
.family-grid p,
.pathway-grid p,
.event-card span {
  color: var(--muted);
}

.section-shell {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(76px, 9vw, 128px) 0;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.72fr);
  gap: clamp(28px, 6vw, 90px);
  align-items: end;
  margin-bottom: 40px;
}

.section-heading h2,
.section-heading p {
  margin-bottom: 0;
}

.section-heading.narrow {
  display: block;
  max-width: 760px;
}

.event-board {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 18px;
}

.boutique {
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(320px, 1fr);
  gap: clamp(30px, 6vw, 86px);
  align-items: center;
  padding: clamp(76px, 9vw, 120px) clamp(22px, 5vw, 72px);
  background: #fff;
}

.boutique-copy {
  max-width: 680px;
}

.boutique-copy h2 {
  margin-bottom: 20px;
}

.boutique-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.boutique-stats article {
  min-height: 230px;
  display: grid;
  align-content: space-between;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.boutique-stats strong {
  color: var(--berry);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1;
}

.boutique-stats span {
  color: var(--navy);
  font-weight: 850;
  line-height: 1.35;
}

.event-card {
  min-height: 300px;
  padding: 28px;
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.event-card.large {
  grid-row: span 2;
  padding: 0;
  overflow: hidden;
}

.event-card.large img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.event-card.large div {
  padding: 30px;
}

.event-card p {
  margin-bottom: 10px;
  color: var(--rose);
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.event-card h3 {
  margin-bottom: 12px;
  font-size: clamp(1.55rem, 2.6vw, 2.7rem);
}

.event-card.accent {
  background: var(--navy);
}

.event-card.accent h3,
.event-card.accent span {
  color: #fff;
}

.event-card.bright {
  background: var(--sun);
}

.event-card.bright p {
  color: var(--berry);
}

.learning {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(32px, 6vw, 90px);
  align-items: center;
  padding: clamp(76px, 9vw, 128px) clamp(22px, 5vw, 72px);
  background: #fff;
}

.learning-copy {
  max-width: 620px;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.pill-row span {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--navy);
  font-size: 0.9rem;
  font-weight: 850;
  background: var(--paper);
}

.learning-media {
  display: grid;
  grid-template-columns: 0.9fr 0.7fr;
  gap: 18px;
  align-items: end;
}

.learning-media img {
  width: 100%;
  height: 560px;
  object-fit: cover;
  border-radius: 8px;
}

.learning-media img:nth-child(2) {
  height: 390px;
  margin-bottom: 44px;
}

.learning-zone {
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(360px, 1fr);
  gap: clamp(32px, 6vw, 86px);
  align-items: center;
}

.learning-zone-copy h2 {
  margin-bottom: 20px;
}

.challenge-card {
  position: relative;
  min-height: 460px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(46, 111, 149, 0.1) 0 33.33%, rgba(99, 170, 135, 0.16) 33.33% 66.66%, rgba(217, 78, 115, 0.1) 66.66% 100%),
    #fff;
  box-shadow: var(--shadow);
}

.challenge-card::before,
.challenge-card::after {
  content: "";
  position: absolute;
  left: 58px;
  bottom: 64px;
  background: var(--navy);
}

.challenge-card::before {
  width: calc(100% - 96px);
  height: 3px;
}

.challenge-card::after {
  width: 3px;
  height: calc(100% - 108px);
}

.challenge-curve {
  position: absolute;
  left: 76px;
  right: 46px;
  bottom: 66px;
  height: 290px;
  border-top: 7px solid var(--mint);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}

.challenge-curve::after {
  content: "Supported stretch";
  position: absolute;
  top: 82px;
  left: 50%;
  padding: 10px 16px;
  color: #fff;
  background: var(--mint);
  border-radius: 999px;
  font-weight: 950;
  transform: translateX(-50%);
  white-space: nowrap;
}

.axis-label {
  position: absolute;
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.axis-label.performance {
  left: 18px;
  top: 50%;
  transform: rotate(-90deg) translateX(-50%);
  transform-origin: left top;
}

.axis-label.challenge {
  right: 34px;
  bottom: 24px;
}

.zone {
  position: absolute;
  top: 32px;
  width: 29%;
  padding: 18px;
}

.zone.low {
  left: 8%;
}

.zone.ideal {
  left: 35.5%;
  top: 28px;
  text-align: center;
}

.zone.high {
  right: 4%;
  text-align: right;
}

.zone strong {
  display: block;
  margin-bottom: 8px;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.35rem, 2.2vw, 2.05rem);
  line-height: 1;
}

.zone span {
  display: block;
  color: var(--muted);
  font-weight: 800;
  line-height: 1.35;
}

.zone.ideal strong {
  color: var(--berry);
}

.admissions {
  width: min(1480px, calc(100% - 36px));
}

.admissions-heading {
  max-width: 980px;
  margin: 0 auto 52px;
  text-align: center;
}

.admissions-heading h2 {
  margin-bottom: 18px;
  color: var(--ink);
  font-size: clamp(3rem, 6vw, 6.1rem);
}

.admissions-heading .eyebrow {
  color: var(--blue);
}

.pathway-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.pathway-grid article {
  min-height: 290px;
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid rgba(25, 53, 74, 0.15);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.58);
}

.pathway-grid span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 74px;
  height: 54px;
  margin-bottom: 34px;
  padding: 0 18px;
  color: #fff;
  background: var(--blue);
  border-radius: 999px;
  font-size: 1.35rem;
  font-weight: 950;
}

.pathway-grid h3 {
  margin-bottom: 18px;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.7rem, 2.2vw, 2.4rem);
}

.family {
  background: var(--paper);
}

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

.family-grid article {
  min-height: 310px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  margin-bottom: 28px;
  border-radius: 50%;
  color: #fff;
  background: var(--rose);
  font-size: 0.78rem;
  font-weight: 950;
}

.family-grid article:nth-child(2) .icon {
  background: var(--blue);
}

.family-grid article:nth-child(3) .icon {
  background: var(--mint);
}

.family-grid article:nth-child(4) .icon {
  background: var(--navy);
}

.locations {
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(320px, 1fr);
  gap: clamp(32px, 7vw, 96px);
  padding: clamp(76px, 9vw, 128px) clamp(22px, 5vw, 72px);
  background: var(--navy);
}

.locations .eyebrow,
.locations h2,
.locations p,
.locations h3 {
  color: #fff;
}

.location-copy p,
.location-list p {
  color: rgba(255, 255, 255, 0.72);
}

.location-list {
  display: grid;
  gap: 16px;
}

.location-list article {
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.gallery {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr 1fr;
  gap: 8px;
  padding: 8px;
  background: #fff;
}

.gallery img {
  width: 100%;
  height: 430px;
  object-fit: cover;
  border-radius: 8px;
}

.visit {
  display: grid;
  grid-template-columns: minmax(300px, 0.85fr) auto;
  gap: 28px;
  align-items: center;
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(76px, 9vw, 118px) 0;
}

.visit h2 {
  margin-bottom: 16px;
}

.tour-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 30px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 48px rgba(25, 53, 74, 0.08);
}

.tour-form div {
  display: grid;
  gap: 8px;
}

.tour-form .full,
.tour-form button {
  grid-column: 1 / -1;
}

.tour-form label {
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tour-form input,
.tour-form select,
.tour-form textarea {
  width: 100%;
  min-height: 46px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: var(--paper);
  font: inherit;
}

.tour-form textarea {
  resize: vertical;
}

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

.contact-details a {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--navy);
  background: #fff;
  font-weight: 850;
}

.contact-dock {
  position: fixed;
  left: 50%;
  bottom: 18px;
  z-index: 45;
  display: none;
  grid-template-columns: repeat(3, 1fr);
  width: min(520px, calc(100% - 28px));
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 999px;
  background: rgba(255, 250, 242, 0.94);
  box-shadow: 0 18px 50px rgba(25, 53, 74, 0.18);
  transform: translateX(-50%);
  backdrop-filter: blur(18px);
}

.contact-dock a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 12px;
  color: var(--navy);
  font-size: 0.86rem;
  font-weight: 950;
  white-space: nowrap;
}

.contact-dock a + a {
  border-left: 1px solid var(--line);
}

.contact-dock a:nth-child(2) {
  color: #fff;
  background: var(--berry);
}

.site-footer {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 0.8fr;
  gap: 38px;
  padding: 44px clamp(22px, 5vw, 72px);
  color: #fff;
  background: #111b25;
}

.site-footer .brand strong,
.site-footer .brand small,
.site-footer .brand em,
.site-footer h2,
.site-footer a,
.site-footer p {
  color: #fff;
}

.site-footer h2 {
  margin-bottom: 12px;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 950;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.site-footer a,
.site-footer p {
  display: block;
  margin-bottom: 8px;
}

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

  .nav-toggle {
    display: inline-grid;
    gap: 5px;
    justify-self: end;
    width: 46px;
    height: 46px;
    place-content: center;
    border: 0;
    border-radius: 50%;
    background: var(--navy);
  }

  .nav-toggle span:not(.sr-only) {
    display: block;
    width: 20px;
    height: 2px;
    background: #fff;
  }

  .site-nav,
  .header-contact {
    display: none;
  }

  .site-header.nav-open .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    display: grid;
    gap: 4px;
    padding: 16px;
    border-radius: 18px;
    background: var(--paper);
    box-shadow: var(--shadow);
  }

  .site-header.nav-open .site-nav a {
    padding: 12px 14px;
  }

  .contact-dock {
    display: grid;
  }

  .intro-strip,
  .event-board,
  .boutique,
  .learning,
  .learning-zone,
  .family-grid,
  .pathway-grid,
  .locations,
  .visit,
  .site-footer,
  .section-heading {
    grid-template-columns: 1fr;
  }

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

  .boutique-stats {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .site-header {
    top: 10px;
    width: calc(100% - 20px);
    border-radius: 24px;
  }

  .brand {
    min-width: 0;
  }

  .brand strong {
    font-size: 1.08rem;
  }

  .brand small {
    font-size: 0.62rem;
  }

  .brand em {
    font-size: 0.58rem;
  }

  .hero {
    min-height: 760px;
    padding: 126px 18px 28px;
  }

  h1 {
    font-size: clamp(2.7rem, 14.5vw, 4.3rem);
  }

  .hero-panel,
  .gallery,
  .family-grid,
  .pathway-grid,
  .learning-media {
    grid-template-columns: 1fr;
  }

  .hero-panel div {
    padding: 18px;
  }

  .intro-strip article {
    min-height: 0;
  }

  .event-card.large img,
  .gallery img,
  .learning-media img,
  .learning-media img:nth-child(2) {
    height: 320px;
    margin-bottom: 0;
  }

  .challenge-card {
    min-height: 0;
    display: grid;
    gap: 12px;
    padding: 16px;
    overflow: visible;
    background: #fff;
  }

  .challenge-card::before,
  .challenge-card::after,
  .challenge-curve,
  .axis-label {
    display: none;
  }

  .zone {
    position: static;
    width: auto;
    min-height: 0;
    margin: 0;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 8px;
    text-align: left;
  }

  .zone.low {
    background: rgba(46, 111, 149, 0.1);
  }

  .zone.ideal {
    background: rgba(99, 170, 135, 0.16);
    text-align: left;
  }

  .zone.high {
    background: rgba(217, 78, 115, 0.1);
    text-align: left;
  }

  .section-shell,
  .visit {
    width: min(100% - 28px, 1180px);
  }

  .tour-form {
    grid-template-columns: 1fr;
    padding: 16px;
  }

  body {
    padding-bottom: 72px;
  }
}
