/*
 * Base styles and section layouts.
 * Depends on tokens.css for all colour, type and spacing values.
 */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--hs-font-body);
  font-weight: var(--hs-weight-body);
  font-size: var(--hs-body);
  line-height: var(--hs-leading-body);
  color: var(--hs-text);
  background: var(--hs-white);
  /*
   * The live site overflows horizontally on mobile blog posts (446px of content in a
   * 390px viewport). Belt-and-braces so we cannot reproduce it.
   */
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0 0 0.5em;
  font-family: var(--hs-font-heading);
  font-weight: var(--hs-weight-heading);
  line-height: var(--hs-leading-heading);
  letter-spacing: 0;
  text-wrap: balance;
}

h1 { font-size: var(--hs-h1); }
h2 { font-size: var(--hs-h2); }
h3 { font-size: var(--hs-h3); }
h4 { font-size: var(--hs-h4); }

p,
ul,
ol {
  margin: 0 0 1.15em;
}

p:last-child,
ul:last-child,
ol:last-child {
  margin-bottom: 0;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
  transition: color var(--hs-transition);
}

a:hover {
  color: var(--section-accent, var(--hs-gold));
}

img,
picture,
video,
iframe {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Visible keyboard focus everywhere; the old site had none worth keeping. */
:focus-visible {
  outline: 3px solid var(--hs-gold);
  outline-offset: 2px;
  border-radius: 2px;
}

.hs-visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.hs-skip-link {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 200;
  padding: 0.75rem 1.25rem;
  background: var(--hs-navy);
  color: var(--hs-white);
  transform: translateY(-120%);
}

.hs-skip-link:focus {
  transform: translateY(0);
}

/* ------------------------------------------------------------------ sections */

.hs-section {
  position: relative;
  background: var(--section-bg, transparent);
  color: var(--section-fg, var(--hs-text));
  /* Sticky header (.hs-topbar) so #pre-k / #minis / #faqs land below the nav, not under it. */
  scroll-margin-top: 7rem;
}

.hs-section--height-small { padding-block: var(--hs-space-small); }
.hs-section--height-medium { padding-block: var(--hs-space-medium); }
.hs-section--height-large { padding-block: var(--hs-space-large); }

/* Divider is drawn as an SVG wave; see .hs-wave below. */
.hs-section--divider {
  padding-bottom: calc(var(--hs-space-small) + 3vw);
}

/* full_bleed lets the background span the viewport while content stays contained. */
.hs-section--full-bleed {
  width: 100%;
}

.hs-container {
  width: 100%;
  margin-inline: auto;
  padding-inline: var(--hs-gutter);
}

.hs-container--narrow { max-width: var(--hs-width-narrow); }
.hs-container--medium { max-width: var(--hs-width-medium); }
.hs-container--wide { max-width: var(--hs-width-wide); }

.hs-eyebrow {
  margin: 0 0 0.75rem;
  font-family: var(--hs-font-heading);
  font-weight: var(--hs-weight-meta);
  font-size: var(--hs-small);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--section-accent, var(--hs-gold));
}

/* Plain themes leave this at --section-fg; -bold themes set --heading-color in tokens.css. */
.hs-section__heading {
  color: var(--heading-color, var(--section-fg));
}

.hs-section__body > :last-child {
  margin-bottom: 0;
}

/*
 * Squarespace's "highlight" text attribute draws a hand-written underline via an SVG overlay
 * at runtime (shape: underlineCurve) - "We are the Hillstone Academy Preschool Lions!" under
 * Our Learning Strategy carries one. text-decoration rather than border-bottom, deliberately:
 * this heading wraps to two lines and text-decoration draws under each line's own fragment,
 * where a border only draws at the start and end of the whole run.
 */
.hs-rule {
  text-decoration-line: underline;
  text-decoration-color: var(--section-accent, var(--hs-gold));
  text-decoration-thickness: 0.1em;
  text-underline-offset: 0.2em;
}

/* ---- content_media ---- */

.hs-content-media__grid {
  display: grid;
  gap: clamp(1.5rem, 1rem + 3vw, 4rem);
  align-items: center;
}

@media (min-width: 48rem) {
  .hs-content-media__grid--has-image {
    grid-template-columns: 1fr 1fr;
  }
  .hs-content-media__grid--image-left .hs-content-media__media {
    order: -1;
  }
}

.hs-content-media__media img {
  width: 100%;
  border-radius: var(--hs-radius);
}

/* image_position: background - a hero with the image behind the text. */
.hs-section--hero {
  display: grid;
  place-items: center;
  min-height: min(78vh, 44rem);
  text-align: center;
  color: var(--hs-white);
  isolation: isolate;
  /*
   * The background video is deliberately oversized so it covers a wide, short hero. Without
   * clipping here it widens the whole document - 1520px of content in a 1440px viewport,
   * which is the horizontal-overflow bug we are specifically avoiding reproducing.
   */
  overflow: hidden;
}

.hs-section--hero .hs-hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hs-section--hero .hs-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hs-section--hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  /* Squarespace used imageOverlayOpacity 0.15; deepened for text contrast. */
  background: linear-gradient(hsl(224 53% 18% / 0.45), hsl(224 53% 18% / 0.55));
}

/* ---- buttons ---- */

.hs-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.hs-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8em 1.6em;
  border: 2px solid transparent;
  border-radius: var(--hs-radius-pill);
  font-family: var(--hs-font-heading);
  font-weight: var(--hs-weight-meta);
  font-size: var(--hs-small);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background var(--hs-transition), color var(--hs-transition),
    border-color var(--hs-transition), transform var(--hs-transition);
}

.hs-button:hover {
  transform: translateY(-1px);
}

.hs-button--primary {
  background: var(--hs-gold);
  border-color: var(--hs-gold);
  color: var(--hs-navy);
}

.hs-button--primary:hover {
  background: var(--hs-gold-light);
  border-color: var(--hs-gold-light);
  color: var(--hs-navy);
}

.hs-button--secondary {
  background: var(--hs-maroon);
  border-color: var(--hs-maroon);
  color: var(--hs-white);
}

.hs-button--secondary:hover {
  background: hsl(350.72, 56.73%, 27%);
  color: var(--hs-white);
}

.hs-button--outline {
  border-color: currentColor;
  color: inherit;
}

.hs-button--outline:hover {
  background: currentColor;
  /* Flip to the section background so the label stays legible on any theme. */
  color: var(--section-bg, var(--hs-white));
}

/* ---- accordion ---- */

/* Squarespace's horizontal-alignment--center. */
.hs-section--center {
  text-align: center;
}

.hs-section--center .hs-buttons,
.hs-section--center .hs-image-row {
  justify-content: center;
}

/* Accordion rows stay left-read even in a centred section - centred Q&A is hard to scan. */
.hs-section--center .hs-accordion {
  text-align: left;
}

.hs-accordion {
  margin-top: 2rem;
  /* max-width is set inline per instance; centre it when one is present. */
  margin-inline: auto;
  border-top: 1px solid currentColor;
  border-top-color: color-mix(in srgb, currentColor 35%, transparent);
}

.hs-accordion__item {
  border-bottom: 1px solid currentColor;
  border-bottom-color: color-mix(in srgb, currentColor 35%, transparent);
}

.hs-accordion__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  padding: 1.15rem 0;
  border: 0;
  background: none;
  font-family: var(--hs-font-heading);
  font-weight: var(--hs-weight-heading);
  font-size: var(--hs-h4);
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.hs-accordion__icon {
  flex: 0 0 auto;
  width: 1rem;
  height: 1rem;
  position: relative;
}

.hs-accordion__icon::before,
.hs-accordion__icon::after {
  content: '';
  position: absolute;
  background: var(--section-accent, var(--hs-gold));
  transition: transform var(--hs-transition), opacity var(--hs-transition);
}

.hs-accordion__icon::before {
  inset: 45% 0 45% 0;
}

.hs-accordion__icon::after {
  inset: 0 45% 0 45%;
}

.hs-accordion__trigger[aria-expanded='true'] .hs-accordion__icon::after {
  transform: scaleY(0);
  opacity: 0;
}

/*
 * Panel height is animated by site.js rather than by CSS alone.
 *
 * `hidden` is kept as the collapsed state on purpose: it removes the content from the tab order
 * and from assistive tech. The CSS-only alternatives (max-height, or grid-template-rows 0fr)
 * leave collapsed content focusable, so a keyboard user tabs into text they cannot see.
 *
 * Padding lives on the inner element so animating the outer height does not fight it.
 */
.hs-accordion__panel {
  overflow: hidden;
  transition: height var(--hs-accordion-speed, 300ms) cubic-bezier(0.22, 0.61, 0.36, 1);
}

.hs-accordion__panel[hidden] {
  display: none;
}

.hs-accordion__inner {
  padding-bottom: 1.35rem;
}

@media (prefers-reduced-motion: reduce) {
  .hs-accordion__panel {
    transition: none;
  }
}

/* ---- media_marquee ---- */

/*
 * Static icon row - Our Learning Strategy's single lion crest. Sized against the live site
 * (186px at a 1440 viewport) rather than left to whatever size WP's 'medium' image happens
 * to be, which rendered it far too large.
 */
.hs-image-row {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1rem, 0.75rem + 1.5vw, 2.5rem);
  align-items: center;
  justify-content: center;
  margin-top: 2rem;
}

.hs-image-row img {
  height: clamp(4.5rem, 2.5rem + 6vw, 11.6rem);
  width: auto;
}

/* The highlighted sub-heading pulled out of body to sit after the image; see the template. */
.hs-marquee__caption {
  margin-top: 1.75rem;
}

/*
 * Scrolling text ticker - "I Am Kind! 〰️ I Am Brave! 〰️ ...".
 *
 * Phrases ride an SVG <textPath> along a smooth wave (Squarespace Marquee: frequency 4,
 * intensity 30). Path + startOffset animation are in site.js — do not substitute a CSS
 * translateY zigzag; that reads as a square wave, not a curve. Fade mask matches the
 * original (transparent → black at 15% / 85%).
 */
.hs-ticker {
  margin-top: 1.75rem;
  overflow: hidden;
  /* Room for the wave amplitude + font ascenders so nothing clips. */
  padding-block: 0.35em;
  mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
  color: var(--section-accent, var(--hs-gold));
}

.hs-ticker__svg {
  display: block;
  width: 100%;
  overflow: visible;
}

.hs-ticker__text {
  fill: currentColor;
  font-family: var(--hs-font-heading);
  font-weight: var(--hs-weight-heading, 500);
  font-size: clamp(1.15rem, 1rem + 0.6vw, 1.53rem);
  letter-spacing: 0;
}

.hs-ticker__items {
  display: none;
}

/* ---- audio_list ---- */

.hs-tracks {
  margin-top: 2rem;
  display: grid;
  gap: 0.5rem;
}

.hs-track {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.75rem 1rem;
  align-items: center;
  padding: 0.85rem 1.1rem;
  background: hsl(224 30% 50% / 0.05);
  border-radius: var(--hs-radius);
}

.hs-track__title {
  font-family: var(--hs-font-heading);
  font-weight: var(--hs-weight-heading);
}

.hs-track audio {
  grid-column: 1 / -1;
  width: 100%;
}

.hs-track__download {
  font-size: var(--hs-small);
  font-weight: var(--hs-weight-meta);
  white-space: nowrap;
}

/* ---- embed ---- */

.hs-embed {
  margin-top: 2rem;
}

.hs-embed iframe {
  width: 100%;
  min-height: 24rem;
  border: 0;
  border-radius: var(--hs-radius);
}

/* ---- spacer ---- */

.hs-spacer--small { height: var(--hs-space-small); }
.hs-spacer--medium { height: var(--hs-space-medium); }
.hs-spacer--large { height: var(--hs-space-large); }

/* ------------------------------------------------------------------ chrome */

/*
 * Navy header with the horizontal logo, matching the Squarespace original. The default
 * white-with-text-logo treatment looked nothing like the brand.
 */
.hs-topbar {
  position: sticky;
  top: 0;
  z-index: 100;
}

/*
 * Offset the sticky header by the WordPress admin bar, or it slides underneath it for logged-in
 * users.
 *
 * `body.admin-bar` is the right hook: core adds it exactly when the bar is rendered.
 * `.customize-support` tracks Customizer capability, not the bar, so it can be present when the
 * bar is not - and absent when it is.
 *
 * The bar is 32px and position:fixed on desktop, but 46px and position:absolute below 783px,
 * where it scrolls away with the page and must NOT be offset - hence the media query resetting
 * to 0. 782px is core's own breakpoint, so this stays in step with it.
 */
body.admin-bar .hs-topbar {
  top: 32px;
}

@media screen and (max-width: 782px) {
  body.admin-bar .hs-topbar {
    top: 0;
  }
}

.hs-header {
  background: var(--hs-navy);
  color: var(--hs-white);
  border-bottom: none;
}

.hs-header a {
  color: var(--hs-white);
}

.hs-header a:hover {
  color: var(--hs-gold);
}

.hs-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  /* Original nav row is ~98px tall, sized around a 69px logo. */
  min-height: 6.125rem;
}

/*
 * Logo renders 350x69 on the original. The white lockup (1938x383, ratio 5.06) is used rather
 * than the full-colour one, which is unreadable on navy.
 */
.hs-header__logo img {
  max-height: 4.3125rem;
  width: auto;
}

.hs-header__logo a {
  font-family: var(--hs-font-heading);
  font-weight: var(--hs-weight-heading);
  font-size: var(--hs-h4);
  text-decoration: none;
}

.hs-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hs-nav a {
  font-family: var(--hs-font-heading);
  font-weight: var(--hs-weight-meta);
  font-size: var(--hs-small);
  text-decoration: none;
  letter-spacing: 0.02em;
}

.hs-nav .current-menu-item > a {
  color: var(--hs-gold);
}

.hs-nav-toggle {
  display: none;
  padding: 0.6rem;
  border: 1px solid var(--hs-rule);
  border-radius: var(--hs-radius);
  background: none;
  cursor: pointer;
}

@media (max-width: 52rem) {
  .hs-nav-toggle {
    display: inline-flex;
  }
  .hs-nav {
    display: none;
    width: 100%;
  }
  .hs-nav[data-open='true'] {
    display: block;
  }
  .hs-header__inner {
    flex-wrap: wrap;
    padding-block: 0.75rem;
  }
  .hs-nav ul {
    flex-direction: column;
    gap: 0.25rem;
    padding-bottom: 1rem;
  }
  .hs-nav a {
    display: block;
    padding: 0.6rem 0;
  }
}

.hs-footer {
  padding-block: var(--hs-space-small);
  background: var(--hs-navy);
  color: var(--hs-white);
}

.hs-footer a {
  color: var(--hs-gold-light);
  text-decoration: none;
}

.hs-footer a:hover {
  color: var(--hs-gold);
}

.hs-footer__grid {
  display: grid;
  gap: clamp(2rem, 1.5rem + 3vw, 4rem);
}

@media (min-width: 48rem) {
  /* Brand and buttons left, contact details right, as on the original. */
  .hs-footer__grid {
    grid-template-columns: 1fr auto;
    align-items: start;
  }
  .hs-footer__contact {
    text-align: left;
  }
}

.hs-footer__logo {
  display: inline-block;
  max-width: 22rem;
}

.hs-footer__logo img {
  width: 100%;
  height: auto;
}

.hs-footer__buttons {
  margin-top: 2rem;
  gap: 1rem;
}

/*
 * Footer CTAs are larger than the standard button: the original measures 212x68 at 16px, against
 * the 163x49/14px of a body button. They are the last call to action on the page and are sized
 * to read that way.
 */
.hs-footer__buttons .hs-button {
  padding: 1.1em 1.9em;
  font-size: 1rem;
}

.hs-footer__contact > * + * {
  margin-top: 1.15rem;
}

.hs-footer__contact p {
  margin: 0;
}

.hs-social {
  display: flex;
  gap: 0.9rem;
  margin: 0 0 1.35rem;
  padding: 0;
  list-style: none;
}

.hs-social a {
  display: inline-flex;
  color: var(--hs-white);
  transition: color var(--hs-transition);
}

.hs-social a:hover {
  color: var(--hs-gold);
}

.hs-social svg {
  width: 1.4rem;
  height: 1.4rem;
}

.hs-footer__phone a {
  font-size: var(--hs-large);
  font-family: var(--hs-font-heading);
  font-weight: var(--hs-weight-heading);
}

.hs-footer__nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.hs-footer__nav li + li {
  margin-top: 0.65rem;
}

.hs-footer__bottom {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid hsl(0 0% 100% / 0.2);
  /*
   * Squarespace renders this at 21px because its whole base scale is larger. Matched to OUR body
   * size instead - copying 21px verbatim would make the small print bigger than the body text
   * around it.
   */
  font-size: var(--hs-body);
}

/*
 * Floating mobile call button. Reproduced from the site's own custom.css, which used
 * .mobile-phone-icon with a Font Awesome glyph and hid it above 844px.
 */
.hs-call-button {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 90;
  display: none;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  background: var(--hs-maroon);
  color: var(--hs-white);
  box-shadow: var(--hs-shadow);
  text-decoration: none;
}

.hs-call-button svg {
  width: 1.35rem;
  height: 1.35rem;
  fill: currentColor;
}

@media (max-width: 52.75rem) {
  .hs-call-button {
    display: flex;
  }
}

/* ------------------------------------------------------------------ editorial */

.hs-entry__header {
  padding-block: var(--hs-space-small) 0;
}

.hs-entry__meta {
  font-family: var(--hs-font-heading);
  font-weight: var(--hs-weight-meta);
  font-size: var(--hs-small);
  color: var(--hs-text-muted);
}

.hs-entry__featured {
  margin-block: 1.5rem;
}

.hs-entry__featured img {
  width: 100%;
  border-radius: var(--hs-radius);
}

.hs-prose > * + * {
  margin-top: 1.15em;
}

.hs-prose h2,
.hs-prose h3 {
  margin-top: 2em;
}

.hs-prose ul,
.hs-prose ol {
  padding-left: 1.35em;
}

.hs-prose li + li {
  margin-top: 0.35em;
}

.hs-card-grid {
  display: grid;
  gap: clamp(1.25rem, 1rem + 1.5vw, 2.25rem);
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 18rem), 1fr));
}

.hs-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.hs-card__thumb img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--hs-radius);
}

.hs-card__title {
  margin: 0;
  font-size: var(--hs-h4);
}

.hs-card__title a {
  text-decoration: none;
}

/* ---- blog list (Squarespace blog-side-by-side) ---- */

.hs-section--blog .hs-container > h1:not(.hs-visually-hidden) {
  margin-bottom: 2rem;
}

.hs-post-list {
  display: flex;
  flex-direction: column;
  gap: clamp(2.75rem, 2rem + 3vw, 5rem);
}

.hs-post {
  display: grid;
  gap: clamp(1.25rem, 0.75rem + 2.5vw, 3.5rem); /* ~6% image spacing on desktop */
  align-items: center;
}

@media (min-width: 48rem) {
  .hs-post {
    grid-template-columns: minmax(0, 22rem) minmax(0, 1fr);
  }

  /* Text-only posts (no thumbnail) stay left-aligned in the content column. */
  .hs-post:not(:has(.hs-post__media)) {
    grid-template-columns: minmax(0, 22rem) minmax(0, 1fr);
  }

  .hs-post:not(:has(.hs-post__media)) .hs-post__body {
    grid-column: 2;
  }
}

.hs-post__media {
  display: block;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: var(--hs-radius);
}

.hs-post__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hs-post__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.85rem;
  min-width: 0;
}

.hs-post__date {
  font-family: var(--hs-font-body);
  font-weight: var(--hs-weight-body);
  font-size: var(--hs-small);
  color: var(--hs-text-muted);
  line-height: 1.3;
}

.hs-post__title {
  margin: 0;
  font-size: clamp(1.65rem, 1.35rem + 1.2vw, 2.35rem);
  line-height: 1.15;
}

.hs-post__title a {
  text-decoration: none;
  color: inherit;
}

.hs-post__title a:hover {
  color: var(--hs-gold);
}

.hs-post__more {
  margin: 0.35rem 0 0;
}

.hs-post__more a {
  color: var(--hs-gold);
  font-family: var(--hs-font-body);
  font-weight: var(--hs-weight-meta);
  font-size: var(--hs-small);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

.hs-post__more a:hover {
  color: var(--hs-navy);
}


/* Events: all-day and multi-day entries read as date ranges, not 12:00 AM - 11:55 PM. */
.hs-event__when {
  font-family: var(--hs-font-heading);
  font-weight: var(--hs-weight-meta);
  color: var(--section-accent, var(--hs-gold));
}

.hs-event--all-day .hs-event__time {
  display: none;
}

.hs-pagination {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  margin-top: var(--hs-space-small);
}

/* ---- hero media ---- */

.hs-section--hero .hs-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/*
 * A 16:9 iframe cannot "cover" a wide short hero, so it is scaled up and centred. Without
 * this the video letterboxes and the brand colour shows through top and bottom.
 */
.hs-hero__video {
  /*
   * Starts transparent and fades in once loaded, so the poster is not replaced by a hard cut -
   * and so a video that never loads leaves the poster in place rather than a black rectangle.
   */
  opacity: 0;
  transition: opacity 600ms ease-in;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 56.25vw;
  min-height: 100%;
  min-width: 177.78vh;
  transform: translate(-50%, -50%);
  border: 0;
  pointer-events: none;
}

.hs-hero__badge {
  position: absolute;
  right: clamp(1rem, 0.5rem + 2vw, 3.5rem);
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
  width: clamp(7rem, 5rem + 8vw, 12rem);
}

.hs-hero__badge img {
  width: 100%;
  height: auto;
}

@media (max-width: 48rem) {
  /* The badge overlaps the headline badly on narrow screens. */
  .hs-hero__badge {
    position: static;
    transform: none;
    margin: 1.5rem auto 0;
  }
}

.hs-section--hero .hs-hero__content {
  position: relative;
  z-index: 1;
}

.hs-section--hero .hs-buttons {
  justify-content: center;
}


/* ---- dropdown submenus ---- */

.hs-nav li {
  position: relative;
}

.hs-nav .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 120;
  display: block;
  min-width: 13rem;
  margin: 0;
  padding: 0.5rem 0;
  list-style: none;
  background: var(--hs-navy);
  border-radius: 0 0 var(--hs-radius) var(--hs-radius);
  box-shadow: var(--hs-shadow);
  /* Hidden by visibility rather than display, so it can transition and stays focusable. */
  visibility: hidden;
  opacity: 0;
  transform: translateY(-0.35rem);
  transition: opacity var(--hs-transition), transform var(--hs-transition), visibility var(--hs-transition);
}

.hs-nav li:hover > .sub-menu,
.hs-nav li:focus-within > .sub-menu {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

.hs-nav .sub-menu a {
  display: block;
  padding: 0.5rem 1.1rem;
  white-space: nowrap;
  text-transform: none;
  letter-spacing: 0;
}

.hs-nav .sub-menu a:hover {
  background: hsl(0 0% 100% / 0.08);
}

@media (max-width: 52rem) {
  /* No hover on touch: submenus stack inline instead of floating. */
  .hs-nav .sub-menu {
    position: static;
    visibility: visible;
    opacity: 1;
    transform: none;
    box-shadow: none;
    padding: 0 0 0 1rem;
  }
}


/* ---- wave divider ---- */

.hs-wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px; /* overlap by a pixel so no hairline shows between sections */
  line-height: 0;
  pointer-events: none;
}

.hs-wave svg {
  display: block;
  width: 100%;
  height: clamp(2.5rem, 1.5rem + 4vw, 5.5rem);
}

.hs-wave path {
  fill: var(--wave-fill, var(--hs-white));
}

/* ---- announcement bar ---- */

/*
 * Styling read from the live Squarespace bar's COMPUTED styles, not guessed from a screenshot.
 * It is injected client-side, so nothing in the static HTML or in site.css describes it - the
 * values below came from getComputedStyle on the rendered element:
 *
 *   bar   background linear-gradient(45deg, #cf9e2a, #0aa6bf, #fd936d)   (gold -> teal -> coral)
 *         colour     #fff        height 72px
 *   text  museo-slab 500, 19.36px, centred, padding .8em 3em
 *   link  #fff on black, museo-slab 700, 14px, UPPERCASE, padding 5px 20px, radius 100px
 *   close 2.8em square, top right, rgba(0,0,0,.15)
 *
 * My first attempt got four things wrong: a two-stop coral->gold gradient instead of the
 * three-stop 45deg one (the teal is what gives it its character), navy text instead of white,
 * 14px body font instead of 19.36px heading font, and navy link text instead of black.
 */
.hs-announce {
  position: relative;
  background: linear-gradient(45deg, var(--hs-gold), var(--hs-teal), var(--hs-coral));
  color: var(--hs-white);
  font-family: var(--hs-font-heading);
  font-weight: var(--hs-weight-heading);
  /* 19.36px at the browser default, kept relative so it scales with user font settings. */
  font-size: 1.21rem;
  text-align: center;
}

.hs-announce__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  flex-wrap: wrap;
  /* Matches Squarespace's .sqs-announcement-bar-text exactly. */
  padding: 0.8em 3em;
}

.hs-announce__text {
  margin: 0;
  font-weight: inherit;
  /*
   * Squarespace's bar paragraph measures 41px tall at 19.36px, i.e. line-height ~2.12 - not the
   * body default of 1.6. With the .8em vertical padding that produces the original's 72px bar.
   */
  line-height: 2.12;
}

.hs-announce__cta {
  flex: 0 0 auto;
  padding: 5px 20px;
  border-radius: 100px;
  background: var(--hs-white);
  color: #000;
  font-family: var(--hs-font-heading);
  font-weight: var(--hs-weight-meta);
  font-size: 14px;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition: background var(--hs-transition), color var(--hs-transition);
}

.hs-announce__cta:hover {
  background: var(--hs-navy);
  color: var(--hs-white);
}

/* Squarespace pinned the close control to the top right corner, 2.8em square. */
.hs-announce__close {
  position: absolute;
  top: 0;
  right: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.8em;
  height: 2.78em;
  padding: 0;
  border: 0;
  background: rgba(0, 0, 0, 0.15);
  color: var(--hs-white);
  cursor: pointer;
  transition: background var(--hs-transition);
}

.hs-announce__close:hover {
  background: rgba(0, 0, 0, 0.3);
}

.hs-announce__close svg {
  width: 0.75em;
  height: 0.75em;
}

@media (max-width: 40rem) {
  .hs-announce {
    font-size: 1rem;
  }
  .hs-announce__inner {
    /* Keep clear of the close button on narrow screens. */
    padding: 0.8em 3.2em;
  }
}

/* ---- header actions ---- */

.hs-header__actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.hs-header__phone {
  font-family: var(--hs-font-heading);
  font-weight: var(--hs-weight-meta);
  font-size: var(--hs-small);
  text-decoration: none;
  white-space: nowrap;
}

.hs-header__cta {
  padding: 0.6em 1.2em;
  font-size: 0.75rem;
}

@media (min-width: 52.0625rem) {
  .hs-nav {
    display: flex;
    align-items: center;
    gap: 1.75rem;
  }
}

@media (max-width: 52rem) {
  .hs-header__actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem 0 1rem;
  }
}

/* ---- card grid (replaces Squarespace list carousels) ---- */

.hs-cards {
  display: grid;
  gap: clamp(1.25rem, 1rem + 1.5vw, 2.5rem);
  margin-top: 2.25rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
}

@media (min-width: 60rem) {
  .hs-cards[data-columns='2'] { grid-template-columns: repeat(2, 1fr); }
  .hs-cards[data-columns='3'] { grid-template-columns: repeat(3, 1fr); }
  .hs-cards[data-columns='4'] { grid-template-columns: repeat(4, 1fr); }
}

.hs-card-item {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.hs-card-item__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--hs-radius);
}

.hs-card-item__title {
  margin: 0;
  font-size: var(--hs-h4);
}

.hs-card-item__text {
  margin: 0;
}

.hs-card-item__cta {
  margin: auto 0 0;
  padding-top: 0.5rem;
}

/* ---- carousel (Squarespace banner-slideshow lists) ---- */

/*
 * A banner slideshow: each slide is a full-bleed photograph with the copy laid over it.
 *
 * The section's container constrains content to a max width, so the track breaks out of it
 * with the standard 100vw technique. 100vw includes the scrollbar, which would push the page
 * ~15px wider - `overflow-x: clip` on the section absorbs that. clip rather than hidden
 * because hidden creates a scroll container, which would break `position: sticky` elsewhere
 * and let the section be scrolled sideways.
 */
.hs-section--cards {
  overflow-x: clip;
}

.hs-carousel {
  position: relative;
  margin-top: 2.25rem;
  width: 100vw;
  margin-inline: calc(50% - 50vw);
}

.hs-carousel__viewport {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.hs-carousel__viewport::-webkit-scrollbar {
  display: none;
}

.hs-carousel__track {
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hs-carousel__slide {
  position: relative;
  flex: 0 0 100%;
  scroll-snap-align: start;
  display: grid;
  align-items: center;
  min-height: clamp(24rem, 18rem + 26vw, 40rem);
  isolation: isolate;
  color: var(--hs-white);
}

.hs-slide__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hs-slide__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/*
 * Scrim. The photographs are light behind the copy, so white text needs help - strongest on
 * the left where the text sits, fading out so the image still reads on the right.
 */
.hs-carousel__slide::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    100deg,
    hsl(224 53% 14% / 0.72) 0%,
    hsl(224 53% 14% / 0.5) 34%,
    hsl(224 53% 14% / 0.12) 62%,
    hsl(224 53% 14% / 0.05) 100%
  );
}

.hs-slide__content {
  width: min(100%, var(--hs-width-wide));
  margin-inline: auto;
  /* Extra inline padding clears the overlaid arrows on wide screens. */
  padding: var(--hs-space-small) max(var(--hs-gutter), 5.5rem);
}

.hs-slide__title {
  max-width: 22ch;
  margin: 0 0 0.75rem;
  font-size: var(--hs-h3);
  color: var(--hs-white);
}

.hs-slide__text {
  max-width: 46ch;
  margin: 0 0 1.25rem;
}

.hs-slide__cta {
  margin: 0;
}

/* ---- carousel controls ---- */

.hs-carousel__controls[hidden] {
  display: none;
}

/*
 * Arrows sit over the image at the left and right edges, as on the original. They are placed
 * on the carousel rather than inside the scrolling viewport, so they do not move with it.
 */
.hs-carousel__arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(2.75rem, 2rem + 2vw, 3.75rem);
  aspect-ratio: 1;
  padding: 0;
  transform: translateY(-50%);
  border: 0;
  border-radius: 50%;
  background: var(--hs-gold);
  color: var(--hs-white);
  cursor: pointer;
  transition: background var(--hs-transition), opacity var(--hs-transition);
}

.hs-carousel__arrow svg {
  width: 45%;
  height: 45%;
}

[data-hs-carousel-prev] {
  left: clamp(0.5rem, 0.25rem + 1vw, 2rem);
}

[data-hs-carousel-next] {
  right: clamp(0.5rem, 0.25rem + 1vw, 2rem);
}

.hs-carousel__arrow:hover:not(:disabled) {
  background: var(--hs-gold-light);
  color: var(--hs-navy);
}

.hs-carousel__arrow:disabled {
  opacity: 0.4;
  cursor: default;
}

/*
 * Dots are centred over the foot of the slide. The original had none, but without them a
 * sighted visitor has no idea how many slides exist or which one they are on - the aria-live
 * region only helps screen-reader users.
 */
.hs-carousel__dots {
  position: absolute;
  left: 50%;
  bottom: 1.25rem;
  z-index: 2;
  display: flex;
  gap: 0.5rem;
  transform: translateX(-50%);
}

.hs-carousel__dot {
  width: 0.6rem;
  height: 0.6rem;
  padding: 0;
  border: 1px solid var(--hs-white);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transition: background var(--hs-transition), transform var(--hs-transition);
}

.hs-carousel__dot[aria-current='true'] {
  background: var(--hs-white);
  transform: scale(1.2);
}


/* A slider section with no heading: the slides ARE the section. */
.hs-section--flush {
  padding-block: 0;
}

.hs-section--flush .hs-carousel {
  margin-top: 0;
}

/* ---- embed: split arrangement (contact section) ---- */

/*
 * Two columns matching the original contact section: details and map on the left, the form on
 * the right. Measured proportions there were 490px / 657px, hence the 43/57 split.
 */
.hs-embed-split {
  display: grid;
  gap: clamp(2rem, 1.5rem + 3vw, 4rem);
}

@media (min-width: 56rem) {
  .hs-embed-split {
    grid-template-columns: 43fr 57fr;
    align-items: start;
  }
}

.hs-embed-split__info > :first-child {
  margin-top: 0;
}

.hs-embed__map {
  margin-top: 1.75rem;
  border-radius: var(--hs-radius);
  overflow: hidden;
  /* Matches the original map's 490x450 proportion. */
  aspect-ratio: 49 / 45;
}

.hs-embed__map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/*
 * The GoHighLevel form iframe sets its own height via form_embed.js. min-height stops it
 * collapsing to nothing before that script runs, which would make the column look broken.
 */
.hs-embed-split__embed .hs-embed iframe {
  min-height: 42rem;
}

/*
 * Accordion already opts out of section centering; a contact split needs the same.
 * Centre-aligned labels and a centre-aligned form are hard to scan.
 */
.hs-section--center .hs-embed-split {
  text-align: left;
}

.hs-embed-split .hs-embed {
  margin-top: 0;
}

.hs-embed .gform_wrapper,
.hs-embed .gform_heading,
.hs-embed .gform_title,
.hs-embed .gfield_label,
.hs-embed .gfield_description,
.hs-embed .ginput_counter {
  text-align: left;
}


.hs-hero__video.is-ready {
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .hs-hero__video {
    display: none;
  }
}


/* ---- hero background slideshow ---- */

.hs-hero__media--slideshow {
  /* Stack the slides; each is absolutely positioned so there is no layout shift. */
  position: absolute;
  inset: 0;
}

.hs-hero__slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1200ms ease-in-out;
}

.hs-hero__slide.is-active {
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  /*
   * No rotation for reduced-motion visitors: the first slide is shown and the rest are dropped
   * from the paint entirely, so the hero is a still image.
   */
  .hs-hero__slide {
    transition: none;
  }
  .hs-hero__slide:not(.is-active) {
    display: none;
  }
}

/* ---- single event ---- */

.hs-event__back {
  margin: 0 0 1.5rem;
  font-family: var(--hs-font-heading);
  font-weight: var(--hs-weight-meta);
  font-size: var(--hs-small);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hs-event__title {
  margin-bottom: 1rem;
}

.hs-event__when {
  margin-bottom: 1.75rem;
}

.hs-event__endpoint {
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem 1rem;
  font-size: var(--hs-large);
  line-height: 1.35;
}

.hs-event__date {
  font-family: var(--hs-font-heading);
  font-weight: var(--hs-weight-heading);
}

.hs-event__time {
  color: var(--hs-text-muted);
}

.hs-event__allday {
  margin: 0.35rem 0 0;
  font-family: var(--hs-font-heading);
  font-weight: var(--hs-weight-meta);
  font-size: var(--hs-small);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--hs-gold);
}

.hs-event__add {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 0 0 2rem;
}

.hs-event__add .hs-button {
  font-size: 0.72rem;
  padding: 0.6em 1.2em;
}

.hs-event-nav {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr 1fr;
  margin-block: var(--hs-space-small);
  padding-top: 1.5rem;
  border-top: 1px solid var(--hs-rule);
}

.hs-event-nav__link {
  display: grid;
  gap: 0.15rem;
  text-decoration: none;
}

.hs-event-nav__link--next {
  text-align: right;
}

.hs-event-nav__dir {
  font-family: var(--hs-font-heading);
  font-weight: var(--hs-weight-meta);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--hs-gold);
}

.hs-event-nav__date {
  font-size: var(--hs-small);
  color: var(--hs-text-muted);
}

.hs-event-nav__title {
  font-family: var(--hs-font-heading);
  font-weight: var(--hs-weight-heading);
}

.hs-event-nav__link:hover .hs-event-nav__title {
  color: var(--hs-gold);
}


/* ---- shaped photo row (Curriculum) ---- */

/*
 * Three landscape photos clipped to Squarespace image masks (circle / rounded square / flower).
 * Clip paths live as SVG defs in cards.php; each figure references one via clip-path: url(#…).
 */
.hs-shaped-images {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.25rem, 0.75rem + 2vw, 2.5rem);
  margin-top: 2.25rem;
  margin-bottom: clamp(2rem, 1.25rem + 2vw, 3.5rem);
  justify-items: center;
}

@media (min-width: 48rem) {
  .hs-shaped-images {
    grid-template-columns: repeat(3, 1fr);
    align-items: center;
  }
}

.hs-shaped-images__defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.hs-shaped-images__item {
  margin: 0;
  width: 100%;
  max-width: 26rem;
  aspect-ratio: 1;
  overflow: hidden;
}

.hs-shaped-images__item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hs-shaped-images + .hs-cards {
  margin-top: 0.75rem;
}

/* ---- icon columns (Our Pillars, Curriculum) ---- */

/*
 * Same content shape as a photo card, different reading: a small round icon over a centred
 * title with a gold rule under it, then a short list. Squarespace supplied these as square
 * 1200x1200 PNGs, so they are constrained by width and left square - object-fit: contain keeps
 * any transparent padding intact rather than cropping into the artwork.
 */
.hs-cards[data-card-style='icon'] .hs-card-item,
.hs-cards[data-card-style='icon_plain'] .hs-card-item {
  align-items: center;
  text-align: center;
}

.hs-cards[data-card-style='icon'] .hs-card-item__media,
.hs-cards[data-card-style='icon_plain'] .hs-card-item__media {
  width: clamp(4.5rem, 3.5rem + 3vw, 6.25rem); /* 100px at desktop, matching the original */
  margin-inline: auto;
  margin-bottom: 0.9rem;
}

.hs-cards[data-card-style='icon'] .hs-card-item__media img,
.hs-cards[data-card-style='icon_plain'] .hs-card-item__media img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
  border-radius: 0;
}

.hs-cards[data-card-style='icon'] .hs-card-item__title {
  padding-bottom: 0.6rem;
  margin-bottom: 1.25rem;
  border-bottom: 2px solid var(--hs-gold);
}

/* The list under each pillar reads LARGER than its title on the original - 21px / 1.4. */
.hs-cards[data-card-style='icon'] .hs-card-item__text {
  font-size: 1.3125rem;
  line-height: 1.4;
}


/*
 * Curriculum uses the same icon columns with a large plain heading and no rule - on the
 * original that is a 36px H3 with no sqsrte-text-highlight span, where Our Pillars is a 19px
 * H4 with one. The extractor reads the span, so the two never have to be guessed apart here.
 */
.hs-cards[data-card-style='icon_plain'] .hs-card-item__title {
  font-size: clamp(1.65rem, 1.4rem + 0.9vw, 2.26rem);
  font-weight: var(--hs-weight-heading, 500);
  line-height: 1.15;
  margin-bottom: 1.5rem;
}

.hs-cards[data-card-style='icon_plain'] .hs-card-item__text {
  line-height: 1.5;
}


/*
 * Portrait cards - Meet Our Team.
 *
 * Squarespace crops these to a circle (mediaAspectRatio: circle) at half the column width,
 * with a 36px name and a 19px role beneath, all centred. The headshots are square originals,
 * so object-fit: cover keeps the face centred rather than squashing it into the circle.
 */
.hs-cards[data-card-style='portrait'] .hs-card-item {
  align-items: center;
  text-align: center;
}

.hs-cards[data-card-style='portrait'] .hs-card-item__media {
  width: 50%;
  margin-inline: auto;
  margin-bottom: 2rem;
}

.hs-cards[data-card-style='portrait'] .hs-card-item__media img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50%;
}

.hs-cards[data-card-style='portrait'] .hs-card-item__title {
  font-size: clamp(1.65rem, 1.4rem + 0.9vw, 2.26rem);
  line-height: 1.15;
  margin-bottom: 0.85rem;
}

.hs-cards[data-card-style='portrait'] .hs-card-item__text {
  font-size: 1.21rem;
  line-height: 1.5;
}
