/* ==========================================================================
   SafeHands Schools — main.css
   GressTech Ltd | Single stylesheet — all theme styles live here
   Mobile-first. BEM class naming: .sh-block__element--modifier
   ========================================================================== */

/* ==========================================================================
   1. DESIGN TOKENS (CSS Custom Properties)
   ========================================================================== */

:root {
  /* Colours */
  --color-primary:    #2E78C8;   /* Shield Blue — header, footer, primary CTAs */
  --color-accent:     #F97316;   /* Warm Orange — buttons, highlights, hover states */
  --color-secondary:  #72C245;   /* Shield Green — tags, icons, success states */
  --color-tertiary:   #D92B2B;   /* Shield Red — badges, decorative accents */
  --color-text:       #1E293B;   /* Slate Dark — body copy */
  --color-muted:      #64748B;   /* Muted text — captions, labels */
  --color-bg:         #FFFFFF;   /* Default page background */
  --color-bg-alt:     #F0F9FF;   /* Ice Blue — alternating sections */
  --color-bg-warm:    #FFF7ED;   /* Peach Cream — CTA sections, admissions */
  --color-border:     #E2E8F0;   /* Card and divider borders */
  --color-white:      #FFFFFF;
  --color-navy:       #0A2240;   /* Deep navy — footer bg */
  /* AA-safe shades derived from the brand tokens (accessibility audit, Nov 2026) */
  --color-muted-strong:  color-mix(in srgb, var(--color-muted) 82%, var(--color-text)); /* muted text on tinted backgrounds */
  --color-accent-strong: color-mix(in srgb, var(--color-accent) 72%, black);            /* small orange text / markers */
  --color-secondary-strong: color-mix(in srgb, var(--color-secondary) 55%, black);      /* small green text */

  /* Typography */
  --font-heading: 'Nunito', sans-serif;
  --font-body:    'Poppins', sans-serif;

  /* Font Sizes */
  --text-xs:   0.75rem;
  --text-sm:   0.875rem;
  --text-base: 1rem;
  --text-lg:   1.125rem;
  --text-xl:   1.25rem;
  --text-2xl:  1.5rem;
  --text-3xl:  1.875rem;
  --text-4xl:  2.25rem;
  --text-5xl:  3rem;

  /* Spacing */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  /* Border Radius */
  --radius-sm:   6px;
  --radius-md:   12px;
  --radius-lg:   16px;
  --radius-xl:   24px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm:  0 1px 3px rgba(0, 0, 0, 0.06);
  --shadow-md:  0 4px 24px rgba(0, 0, 0, 0.08);
  --shadow-lg:  0 8px 40px rgba(0, 0, 0, 0.12);
  --shadow-btn: 0 4px 14px rgba(249, 115, 22, 0.35);

  /* Layout */
  --header-h:      72px;   /* Sticky header bar height */
  --container-max: 1200px;
  --container-pad: var(--space-6);
  --section-py:    var(--space-20);

  /* Transitions */
  --transition-base: 250ms ease;
  --transition-fast: 150ms ease;

  /* Z-index */
  --z-header:   100;
  --z-dropdown: 200;
  --z-overlay:  300;
  --z-modal:    400;
}

/* ==========================================================================
   2. RESET & BASE
   ========================================================================== */

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

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

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

input,
button,
textarea,
select {
  font: inherit;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-accent);
}

ul,
ol {
  list-style: none;
}

/* ==========================================================================
   3. TYPOGRAPHY
   ========================================================================== */

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 800;
  line-height: 1.2;
  color: var(--color-text);
}

h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.3;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.875rem); }
h4 { font-size: var(--text-xl); }
h5 { font-size: var(--text-lg); }
h6 { font-size: var(--text-base); }

p { font-size: var(--text-base); line-height: 1.7; }

/* ==========================================================================
   4. UTILITIES
   ========================================================================== */

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.section {
  padding-block: var(--section-py);
}

.section--alt {
  background-color: var(--color-bg-alt);
}

.section--warm {
  background-color: var(--color-bg-warm);
}

.section--navy {
  background-color: var(--color-navy);
  color: var(--color-white);
}

.section__header {
  text-align: center;
  margin-bottom: var(--space-12);
}

.section__eyebrow {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent);
  display: block;
  margin-bottom: var(--space-3);
}

.section__title {
  margin-bottom: var(--space-4);
}

.section__eyebrow--accent { color: var(--color-accent); }
.section__title--white    { color: var(--color-white); }

.section__subtitle {
  font-size: var(--text-lg);
  color: var(--color-muted);
  max-width: 600px;
  margin-inline: auto;
}

/* Wysiwyg content */
.wysiwyg > * + * { margin-top: var(--space-4); }
.wysiwyg h2 { font-size: var(--text-2xl); }
.wysiwyg h3 { font-size: var(--text-xl); }
.wysiwyg a { color: var(--color-primary); text-decoration: underline; }
.wysiwyg ul, .wysiwyg ol { padding-left: var(--space-6); list-style: revert; }
.wysiwyg img { max-width: 100%; height: auto; border-radius: var(--radius-md); }

/* Accessibility */
:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 2px;
}

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

/* ==========================================================================
   5. BUTTONS
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 0.75rem 1.75rem;
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 600;
  line-height: 1;
  border: 2px solid transparent;
  border-radius: var(--radius-full);
  cursor: pointer;
  text-decoration: none;
  transition: background-color var(--transition-base),
              border-color var(--transition-base),
              color var(--transition-base),
              box-shadow var(--transition-base),
              transform var(--transition-fast);
}

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

.btn:active {
  transform: translateY(0);
}

.btn:disabled,
.btn[aria-disabled="true"] {
  opacity: 0.55;
  pointer-events: none;
}

.btn--primary {
  background-color: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--color-white);
  box-shadow: var(--shadow-btn);
}

.btn--primary:hover {
  background-color: #ea6c0a;
  border-color: #ea6c0a;
  color: var(--color-white);
}

.btn--secondary {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-white);
}

.btn--secondary:hover {
  background-color: #153f6e;
  border-color: #153f6e;
  color: var(--color-white);
}

.btn--outline {
  background-color: transparent;
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.btn--outline:hover {
  background-color: var(--color-accent);
  color: var(--color-white);
}

.btn--outline-white {
  background-color: transparent;
  border-color: var(--color-white);
  color: var(--color-white);
}

.btn--outline-white:hover {
  background-color: var(--color-white);
  color: var(--color-primary);
}

.btn--sm {
  font-size: var(--text-sm);
  padding: 0.5rem 1.25rem;
}

.btn--lg {
  font-size: var(--text-lg);
  padding: 1rem 2.5rem;
}

.btn--block {
  width: 100%;
  justify-content: center;
}

/* ==========================================================================
   6. HEADER
   ========================================================================== */

.sh-header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  background-color: var(--color-white);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition-base);
}

/* Logged-in users: sit below the WordPress admin bar (46px mobile, 32px desktop) */
.admin-bar .sh-header { top: 46px; }
.admin-bar .sh-menu { top: calc(var(--header-h) + 3px + 46px); }

@media (max-width: 600px) {
  .admin-bar .sh-header { top: 0; }
  .admin-bar .sh-menu { top: calc(var(--header-h) + 3px); }
}

@media (min-width: 783px) {
  .admin-bar .sh-header { top: 32px; }
  .admin-bar .sh-menu { top: calc(var(--header-h) + 3px + 32px); }
}

.sh-header.is-scrolled {
  box-shadow: var(--shadow-md);
}

/* Three-zone bar: start | centred logo | end */
.sh-header__bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: var(--space-3);
  height: var(--header-h);
}

.sh-header__start,
.sh-header__end {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.sh-header__end {
  justify-content: flex-end;
}

.sh-header__logo {
  display: flex;
  justify-self: center;
}

.sh-header__logo-img {
  height: 48px;
  width: auto;
}

.sh-header__logo-text {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: var(--text-lg);
  color: var(--color-primary);
}

.sh-header__end .sh-header__visit {
  display: none;
}

/* Scroll progress line */
.sh-header__progress {
  height: 3px;
  background-color: var(--color-border);
}

.sh-header__progress-bar {
  display: block;
  height: 100%;
  width: 100%;
  background-color: var(--color-accent);
  transform: scaleX(0);
  transform-origin: left center;
}

/* Pill buttons (header, menu, footer) */
.sh-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  min-height: 44px;
  padding: var(--space-2) var(--space-4);
  border: 2px solid transparent;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  transition: background-color var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast);
}

.sh-pill--accent {
  background-color: var(--color-accent);
  color: var(--color-white);
  box-shadow: var(--shadow-btn);
}

.sh-pill--accent:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
  box-shadow: none;
}

.sh-pill--outline {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.sh-pill--outline:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.sh-pill--muted {
  background-color: var(--color-bg-alt);
  color: var(--color-text);
}

.sh-pill--muted:hover {
  background-color: var(--color-border);
}

.sh-pill--light {
  border-color: rgba(255, 255, 255, 0.75);
  color: var(--color-white);
}

.sh-pill--light:hover {
  background-color: var(--color-white);
  color: var(--color-primary);
}

.sh-pill--ghost {
  border-color: rgba(255, 255, 255, 0.5);
  color: var(--color-white);
}

.sh-pill--ghost:hover {
  border-color: var(--color-white);
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--color-white);
}

/* Menu toggle pill */
.sh-menu-toggle {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  min-height: 44px;
  padding: var(--space-2) var(--space-4);
  border: 0;
  border-radius: var(--radius-full);
  background-color: var(--color-primary);
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  cursor: pointer;
  transition: background-color var(--transition-fast);
}

.sh-menu-toggle:hover,
.sh-menu-toggle[aria-expanded="true"] {
  background-color: var(--color-navy);
}

.sh-menu-toggle__icon {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
  width: 16px;
  height: 16px;
}

.sh-menu-toggle__icon span {
  display: block;
  height: 2px;
  background-color: currentColor;
  border-radius: 2px;
  transition: transform var(--transition-base), opacity var(--transition-fast);
}

.sh-menu-toggle[aria-expanded="true"] .sh-menu-toggle__icon span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.sh-menu-toggle[aria-expanded="true"] .sh-menu-toggle__icon span:nth-child(2) { opacity: 0; }
.sh-menu-toggle[aria-expanded="true"] .sh-menu-toggle__icon span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

.sh-menu-toggle__label {
  display: none;
}

/* Portals dropdown (native <details>) */
.sh-portals {
  position: relative;
  display: none;
}

.sh-portals summary {
  list-style: none;
}

.sh-portals summary::-webkit-details-marker {
  display: none;
}

.sh-portals__list {
  position: absolute;
  top: calc(100% + var(--space-2));
  left: 0;
  min-width: 200px;
  padding: var(--space-2);
  margin: 0;
  list-style: none;
  background-color: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
}

.sh-portals__list a {
  display: block;
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-sm);
  font-size: var(--text-sm);
  color: var(--color-text);
}

.sh-portals__list a:hover {
  background-color: var(--color-bg-alt);
  color: var(--color-primary);
}

/* --------------------------------------------------------------------------
   Slide-in site menu
   -------------------------------------------------------------------------- */

.sh-menu {
  --menu-w: min(100%, 420px);
  position: fixed;
  inset: calc(var(--header-h) + 3px) 0 0 0;
  z-index: calc(var(--z-header) - 1);
  visibility: hidden;
  transition: visibility 0s linear var(--transition-base);
}

.sh-menu.is-open {
  visibility: visible;
  transition-delay: 0s;
}

.sh-menu__backdrop {
  position: absolute;
  inset: 0;
  background-color: rgba(10, 34, 64, 0.55);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.sh-menu.is-open .sh-menu__backdrop {
  opacity: 1;
}

.sh-menu__panel {
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(-1 * var(--menu-w));
  width: var(--menu-w);
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  padding: var(--space-6);
  overflow-x: hidden;
  overflow-y: auto;
  background-color: var(--color-navy);
  color: var(--color-white);
  /* Animate "left", not transform — a transform would trap the fixed desktop sub-panel. */
  transition: left var(--transition-base);
}

.sh-menu__panel > * {
  flex-shrink: 0;
}

.sh-menu.is-open .sh-menu__panel {
  left: 0;
}

.sh-menu__home {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background-color: var(--color-primary);
  color: var(--color-white);
}

.sh-menu__home:hover {
  background-color: var(--color-accent);
  color: var(--color-white);
}

.sh-menu__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sh-menu__list > li {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.sh-menu__list > li > a {
  flex: 1;
  padding: var(--space-2) 0;
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: 800;
  line-height: 1.3;
  color: var(--color-white);
}

.sh-menu__list > li > a:hover,
.sh-menu__list > li.current-menu-item > a,
.sh-menu__list > li.current-menu-ancestor > a,
.sh-menu__list > li.is-open > a {
  color: var(--color-accent);
}

.sh-menu__expand {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: var(--radius-full);
  background: transparent;
  color: var(--color-white);
  cursor: pointer;
  transition: transform var(--transition-base), background-color var(--transition-fast);
}

.sh-menu__expand:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.sh-menu__expand[aria-expanded="true"] {
  transform: rotate(90deg);
  color: var(--color-accent);
}

/* Sub-menu — accordion on mobile, second panel on desktop */
.sh-menu .sub-menu {
  display: none;
  flex-basis: 100%;
  list-style: none;
  margin: 0 0 var(--space-3);
  padding: var(--space-2) 0 var(--space-2) var(--space-4);
  border-left: 2px solid var(--color-accent);
}

.sh-menu li.is-open > .sub-menu {
  display: block;
}

.sh-menu .sub-menu a {
  display: block;
  padding: var(--space-2) 0;
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--color-white);
}

.sh-menu .sub-menu a:hover,
.sh-menu .sub-menu .current-menu-item > a {
  color: var(--color-accent);
}

.sh-menu__footer {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  padding-top: var(--space-6);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.sh-menu__portals {
  flex-basis: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-4);
  list-style: none;
  margin: 0;
  padding: 0;
}

.sh-menu__portals a {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  font-size: var(--text-sm);
  color: var(--color-white);
}

.sh-menu__portals a:hover {
  color: var(--color-accent);
}

html.has-menu-open {
  overflow: hidden;
}

@media (min-width: 640px) {
  .sh-menu-toggle__label { display: inline; }
  .sh-header__end .sh-header__visit { display: inline-flex; }
}

@media (min-width: 1024px) {
  :root { --header-h: 88px; }
  .sh-header__logo-img { height: 60px; }
  .sh-portals { display: block; }

  .sh-menu__list > li > a { font-size: var(--text-3xl); }

  /* Second panel slides out beside the first */
  .sh-menu .sub-menu {
    position: fixed;
    top: calc(var(--header-h) + 3px);
    bottom: 0;
    left: 420px;
    width: 380px;
    max-width: calc(100vw - 420px);
    margin: 0;
    padding: var(--space-16) var(--space-8) var(--space-8);
    border-left: 0;
    overflow-y: auto;
    background-color: var(--color-primary);
  }

  .sh-menu .sub-menu a {
    font-family: var(--font-heading);
    font-size: var(--text-xl);
    font-weight: 700;
  }

  .sh-menu .sub-menu a:hover,
  .sh-menu .sub-menu .current-menu-item > a {
    color: var(--color-navy);
  }
}

/* ==========================================================================
   7. FOOTER
   ========================================================================== */

.sh-footer {
  color: var(--color-white);
}

.sh-footer__split {
  display: grid;
}

/* Left — contact panel */
.sh-footer__contact {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-16) var(--container-pad);
  background-color: var(--color-primary);
  text-align: center;
}

.sh-footer__contact-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-6);
  max-width: 480px;
}

.sh-footer__title {
  margin: 0;
  font-size: clamp(3rem, 9vw, 5.5rem);
  font-weight: 800;
  line-height: 1;
  color: var(--color-white);
}

.sh-footer__title span {
  display: inline-block;
  padding: 0 var(--space-4) var(--space-2);
  background-color: var(--color-navy);
}

.sh-footer__tagline {
  font-size: var(--text-lg);
  font-weight: 500;
  color: var(--color-white);
}

.sh-footer__follow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
}

.sh-footer__follow-label {
  font-size: var(--text-base);
}

.sh-footer__ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-3);
}

.sh-footer__links-nav {
  width: 100%;
}

.sh-footer__heading {
  margin-bottom: var(--space-3);
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--color-white);
}

.sh-footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-2) var(--space-6);
  list-style: none;
  margin: 0;
  padding: 0;
}

.sh-footer__links a {
  font-weight: 600;
  color: var(--color-white);
}

.sh-footer__links a::after {
  content: " \203A";
}

.sh-footer__links a:hover {
  color: var(--color-navy);
}

/* Right — map + address */
.sh-footer__location {
  display: flex;
  flex-direction: column;
  background-color: var(--color-navy);
}

.sh-footer__map {
  position: relative;
  min-height: 280px;
  flex: 1;
  background-color: var(--color-bg-alt);
}

.sh-footer__map-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.sh-footer__directions {
  position: absolute;
  left: 50%;
  bottom: var(--space-6);
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  min-height: 44px;
  padding: var(--space-2) var(--space-6);
  border-radius: var(--radius-full);
  background-color: var(--color-navy);
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 800;
  white-space: nowrap;
  box-shadow: var(--shadow-lg);
}

.sh-footer__directions:hover {
  background-color: var(--color-accent);
  color: var(--color-white);
}

.sh-footer__details {
  padding: var(--space-12) var(--container-pad);
  font-style: normal;
  text-align: center;
}

.sh-footer__address {
  max-width: 340px;
  margin: 0 auto var(--space-6);
  font-size: var(--text-lg);
  line-height: 1.6;
  color: var(--color-white);
}

.sh-footer__contact-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
  list-style: none;
  margin: 0;
  padding: 0;
}

.sh-footer__contact-list a,
.sh-footer__contact-list span {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-weight: 600;
  color: var(--color-white);
}

.sh-footer__contact-list a:hover {
  color: var(--color-accent);
}

/* Bottom bar */
.sh-footer__bottom {
  padding-block: var(--space-4);
  background-color: var(--color-navy);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.sh-footer__bottom-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  text-align: center;
}

.sh-footer__copy {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.85);
}

.sh-footer__copy a {
  font-weight: 600;
  color: var(--color-white);
}

.sh-footer__copy a:hover {
  color: var(--color-accent);
}

.sh-footer__sep {
  margin-inline: var(--space-2);
}

/* Floating WhatsApp button */
.sh-whatsapp {
  position: fixed;
  right: var(--space-4);
  bottom: var(--space-4);
  z-index: var(--z-dropdown);
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3);
  border-radius: var(--radius-full);
  background-color: var(--color-secondary);
  color: var(--color-navy);
  font-weight: 600;
  box-shadow: var(--shadow-lg);
}

.sh-whatsapp:hover {
  background-color: var(--color-navy);
  color: var(--color-white);
}

.sh-whatsapp__label {
  display: none;
}

@media (min-width: 768px) {
  .sh-footer__bottom-inner {
    flex-direction: row;
    justify-content: space-between;
  }

  .sh-whatsapp__label { display: inline; padding-right: var(--space-2); }
}

@media (min-width: 1024px) {
  .sh-footer__split {
    grid-template-columns: 1fr 1fr;
  }

  .sh-footer__contact {
    padding-block: var(--space-24);
  }

  .sh-footer__map {
    min-height: 380px;
  }
}

/* ==========================================================================
   8. CARDS (shared)
   ========================================================================== */

.sh-card {
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: box-shadow var(--transition-base), transform var(--transition-base);
  display: flex;
  flex-direction: column;
}

.sh-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.sh-card__image {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  display: block;
}

.sh-card__body {
  padding: var(--space-6);
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.sh-card__tag {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-accent);
  background-color: #fff7ed;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
}

.sh-card__title {
  font-size: var(--text-xl);
  font-weight: 800;
  line-height: 1.3;
}

.sh-card__title a {
  color: inherit;
}

.sh-card__title a:hover {
  color: var(--color-primary);
}

.sh-card__excerpt {
  font-size: var(--text-sm);
  color: var(--color-muted);
  line-height: 1.6;
  flex: 1;
}

.sh-card__footer {
  padding: var(--space-4) var(--space-6);
  border-top: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: var(--text-sm);
  color: var(--color-muted);
}

/* ==========================================================================
   9. PAGE BANNER (inner pages)
   ========================================================================== */

.sh-page-banner {
  background-color: var(--color-primary);
  color: var(--color-white);
  padding-block: var(--space-16) var(--space-12);
  text-align: center;
}

.sh-page-banner__title {
  color: var(--color-white);
  margin-top: var(--space-4);
}

.sh-page-banner__inner {
  position: relative;
  z-index: 1;
}

/* Photo variant — full-bleed featured image, title sits on a colour block */
.sh-page-banner--image {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  min-height: 320px;
  padding-block: var(--space-12);
  background-color: var(--color-navy);
}

.sh-page-banner--image::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(to top, rgba(10, 34, 64, 0.75) 0%, rgba(10, 34, 64, 0.15) 60%);
}

.sh-page-banner__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sh-page-banner--image .sh-page-banner__title-text {
  background-color: var(--color-primary);
  padding: 0 var(--space-3);
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.sh-page-banner--image .sh-breadcrumb,
.sh-page-banner--image .sh-breadcrumb a {
  color: var(--color-white);
  font-weight: 600;
}

@media (min-width: 768px) {
  .sh-page-banner--image { min-height: 420px; }
}

@media (min-width: 1024px) {
  .sh-page-banner--image { min-height: 520px; padding-block: var(--space-16); }
}

.sh-breadcrumb {
  display: flex;
  justify-content: center;
  gap: var(--space-2);
  flex-wrap: wrap;
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.7);
}

.sh-breadcrumb a {
  color: rgba(255, 255, 255, 0.7);
}

.sh-breadcrumb a:hover {
  color: var(--color-white);
}

.sh-breadcrumb__sep {
  color: rgba(255, 255, 255, 0.4);
}

/* ==========================================================================
   10. FORMS
   ========================================================================== */

.sh-form__group {
  margin-bottom: var(--space-6);
}

.sh-form__label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-2);
}

.sh-form__input,
.sh-form__textarea,
.sh-form__select {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text);
  background-color: var(--color-white);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  appearance: none;
}

.sh-form__input:focus,
.sh-form__textarea:focus,
.sh-form__select:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(27, 79, 138, 0.12);
}

.sh-form__textarea {
  min-height: 140px;
  resize: vertical;
}

.sh-form__message {
  padding: var(--space-4);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  font-weight: 500;
  margin-top: var(--space-4);
}

.sh-form__message--success {
  background-color: #f0fdf4;
  color: #166534;
  border: 1px solid #bbf7d0;
}

.sh-form__message--error {
  background-color: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

/* ==========================================================================
   11. SKIP LINK
   ========================================================================== */

.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-4);
  z-index: 9999;
  padding: var(--space-3) var(--space-6);
  background-color: var(--color-primary);
  color: var(--color-white);
  font-weight: 600;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  transition: top var(--transition-fast);
}

.skip-link:focus {
  top: 0;
  color: var(--color-white);
}

/* ==========================================================================
   12. SOCIAL ICONS
   ========================================================================== */

.sh-social {
  display: flex;
  gap: var(--space-3);
  list-style: none;
  margin: 0;
  padding: 0;
}

.sh-social__link {
  display: flex;
  border: 1px solid rgba(255, 255, 255, 0.5);
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--color-white);
  font-size: var(--text-base);
  transition: background-color var(--transition-fast), color var(--transition-fast);
}

.sh-social__link:hover {
  background-color: var(--color-accent);
  color: var(--color-white);
}

/* ==========================================================================
   13. GRID HELPERS
   ========================================================================== */

.sh-grid {
  display: grid;
  gap: var(--space-6);
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .sh-grid--2 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 768px) {
  .sh-grid--3 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .sh-grid--3 { grid-template-columns: repeat(3, 1fr); }
  .sh-grid--4 { grid-template-columns: repeat(4, 1fr); }
}

/* ==========================================================================
   14. 404 PAGE
   ========================================================================== */

.sh-404 {
  text-align: center;
  padding-block: var(--space-24);
}

.sh-404__code {
  font-size: 8rem;
  font-weight: 800;
  font-family: var(--font-heading);
  color: var(--color-primary);
  line-height: 1;
  opacity: 0.15;
  margin-bottom: var(--space-4);
}

.sh-404__title {
  margin-bottom: var(--space-4);
}

.sh-404__text {
  color: var(--color-muted);
  max-width: 480px;
  margin-inline: auto;
  margin-bottom: var(--space-8);
}

/* ==========================================================================
   15. SCROLL MOTION (homepage) — section snap + reveal-on-arrival
   --------------------------------------------------------------------------
   main.js adds .sh-motion to <html> (skipped for prefers-reduced-motion),
   so without JS every element renders in its final state.
   ========================================================================== */

/* Display heading — big Nunito on solid colour blocks, one block per line */
.sh-display {
  margin: 0 0 var(--space-8);
  font-size: clamp(2.25rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.45;
  color: var(--color-white);
}

.sh-display__text {
  padding: 0 0.25em;
  background-color: var(--color-primary);
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.sh-display--navy .sh-display__text { background-color: var(--color-navy); }
.sh-display--center { text-align: center; }

/* Reveal states */
.sh-motion [data-reveal] {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 0.8s ease,
    transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: calc(var(--reveal-i, 0) * 110ms + var(--reveal-delay, 0ms));
}

.sh-motion [data-reveal="scale"] { transform: scale(0.85); }
.sh-motion [data-reveal="left"]  { transform: translateX(-60px); }
.sh-motion [data-reveal="right"] { transform: translateX(60px); }

/* Wipe — the colour blocks sweep in left→right. Clipped on the block-level
   heading: clip-path on a wrapped inline span only covers its first line. */
.sh-motion [data-reveal="wipe"] {
  opacity: 1;
  transform: none;
  clip-path: inset(0 100% 0 0);
  transition: clip-path 1s cubic-bezier(0.77, 0, 0.18, 1);
}

.sh-motion [data-reveal="wipe"].sh-display--center:not(.is-inview) {
  clip-path: inset(0 50% 0 50%);
}

.sh-motion [data-reveal].is-inview {
  opacity: 1;
  transform: none;
}

.sh-motion [data-reveal="wipe"].is-inview {
  clip-path: inset(0 0 0 0);
}

/* Elements following a wipe heading wait for it */
.sh-motion [data-reveal="wipe"] ~ [data-reveal] { --reveal-delay: 350ms; }

/* Full-screen sections — main.js adds .sh-snap (desktop, mouse, motion allowed)
   and glides one section per wheel tick. */
html.sh-snap .sh-home > section {
  min-height: calc(100vh - var(--header-h) - 3px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* ==========================================================================
   16. HERO SLIDER
   ========================================================================== */

.sh-hero {
  position: relative;
  width: 100%;
  /* Phones: about 60% of the screen so the next section peeks in.
     svh = height with the mobile browser bars showing (vh is the fallback). */
  height: clamp(420px, 62vh, 520px);
  height: clamp(420px, 62svh, 520px);
  overflow: hidden;
  background-color: var(--color-navy);
}

.sh-hero__slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding-bottom: var(--space-20); /* keeps the slide button clear of the dots/pause controls */
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s ease, visibility 0s linear 1s;
}

.sh-hero__slide.is-active {
  z-index: 1;
  opacity: 1;
  visibility: visible;
  transition: opacity 1s ease, visibility 0s;
}

.sh-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.12);
}

.sh-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to top, rgba(10, 34, 64, 0.8) 0%, rgba(10, 34, 64, 0.15) 65%);
}

.sh-hero__content {
  position: relative;
  z-index: 2;
}

.sh-hero__heading {
  max-width: 14ch;
  margin-bottom: var(--space-4);
  font-size: clamp(2.125rem, 9vw, 6rem);
  font-weight: 800;
  line-height: 1.4;
  color: var(--color-white);
}

.sh-hero__heading-text {
  padding: 0 0.2em;
  background-color: var(--color-primary);
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.sh-hero__text {
  max-width: 34rem;
  margin-bottom: var(--space-8);
  font-size: var(--text-lg);
  font-weight: 500;
  line-height: 1.6;
  color: var(--color-white);
}

.sh-hero__text-inner {
  padding: var(--space-1) var(--space-3);
  background-color: var(--color-navy);
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.sh-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

/* Hero entrance — replays every time a slide becomes active */
.sh-hero__slide.is-active .sh-hero__bg {
  animation: sh-hero-zoom 8s ease-out forwards;
}

.sh-hero__slide.is-active .sh-hero__heading {
  animation: sh-wipe-in 1s cubic-bezier(0.77, 0, 0.18, 1) 0.2s both;
}

.sh-hero__slide.is-active .sh-hero__text {
  animation: sh-rise-in 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.7s both;
}

.sh-hero__slide.is-active .sh-hero__actions {
  animation: sh-rise-in 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.9s both;
}

@keyframes sh-hero-zoom {
  from { transform: scale(1.12); }
  to   { transform: scale(1); }
}

@keyframes sh-wipe-in {
  from { clip-path: inset(0 100% 0 0); }
  to   { clip-path: inset(0 0 0 0); }
}

@keyframes sh-rise-in {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: none; }
}

.sh-hero__controls {
  position: absolute;
  left: 50%;
  bottom: var(--space-6);
  z-index: 3;
  display: flex;
  align-items: center;
  gap: var(--space-4);
  transform: translateX(-50%);
}

.sh-hero__dots {
  display: flex;
  gap: var(--space-2);
}

.sh-hero__toggle {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 2px solid rgba(255, 255, 255, 0.8);
  border-radius: var(--radius-full);
  background-color: rgba(10, 34, 64, 0.45);
  color: var(--color-white);
  cursor: pointer;
}

.sh-hero__toggle:hover {
  background-color: var(--color-white);
  color: var(--color-navy);
}

.sh-hero__toggle-play,
.sh-hero.is-paused .sh-hero__toggle-pause {
  display: none;
}

.sh-hero.is-paused .sh-hero__toggle-play {
  display: grid;
}

.sh-hero__dot {
  width: 12px;
  height: 12px;
  padding: 0;
  border: 2px solid var(--color-white);
  border-radius: var(--radius-full);
  background-color: transparent;
  cursor: pointer;
  transition: background-color var(--transition-base), width var(--transition-base);
}

.sh-hero__dot[aria-current="true"] {
  width: 32px;
  background-color: var(--color-white);
}

.sh-hero__scroll {
  position: absolute;
  right: var(--container-pad);
  bottom: var(--space-4);
  z-index: 3;
  display: none;
  place-items: center;
  width: 48px;
  height: 48px;
  color: var(--color-white);
  transform: rotate(90deg);
  animation: sh-bob 1.8s ease-in-out infinite;
}

.sh-hero__scroll:hover {
  color: var(--color-accent);
}

@keyframes sh-bob {
  0%, 100% { translate: 0 0; }
  50%      { translate: 0 8px; }
}

@media (min-width: 768px) {
  .sh-hero { height: clamp(520px, 80vh, 760px); }
  .sh-hero__text { font-size: var(--text-xl); }
  .sh-hero__scroll { display: grid; }
}

@media (min-width: 1024px) {
  .sh-hero { height: calc(100vh - var(--header-h) - 3px); min-height: 560px; }
}

/* ==========================================================================
   17. WELCOME + STATS
   ========================================================================== */

.sh-home__anchor {
  display: block;
  scroll-margin-top: calc(var(--header-h) + 3px);
}

.sh-home__anchor:focus { outline: none; }

.sh-welcome__inner {
  text-align: center;
}

.sh-welcome__body {
  max-width: 760px;
  margin: 0 auto;
  font-size: var(--text-lg);
  color: var(--color-muted);
}

.sh-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-8) var(--space-6);
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: center;
}

.sh-stats--embedded {
  margin-top: var(--space-16);
  padding-top: var(--space-12);
  border-top: 1px solid var(--color-border);
}

.sh-stats__number {
  display: block;
  margin-bottom: var(--space-2);
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  line-height: 1;
  color: var(--color-primary);
  font-variant-numeric: tabular-nums;
}

.sh-stats__label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-muted);
}

/* Standalone navy band variant */
.sh-stats-bar {
  padding-block: var(--space-16);
}

.sh-stats-bar .sh-stats__number { color: var(--color-white); }
.sh-stats-bar .sh-stats__label  { color: rgba(255, 255, 255, 0.85); }

@media (min-width: 768px) {
  .sh-stats { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
}

/* ==========================================================================
   18. A WORD FROM THE HEAD
   ========================================================================== */

.sh-head-word__inner {
  display: grid;
  gap: var(--space-12);
  align-items: center;
}

.sh-head-word__media {
  position: relative;
  width: min(100%, 260px);
  aspect-ratio: 1;
  margin: 0 auto;
}

.sh-head-word__circle {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-full);
  background-color: var(--color-primary);
}

.sh-head-word__photo {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: var(--radius-full);
  object-fit: cover;
  border: 8px solid var(--color-white);
}

.sh-head-word__mark {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--font-heading);
  font-size: 12rem;
  line-height: 1;
  color: var(--color-white);
  padding-top: 0.25em;
}

.sh-head-word__quote p {
  font-family: var(--font-heading);
  font-size: clamp(1.375rem, 2.8vw, 2rem);
  font-weight: 800;
  line-height: 1.4;
  color: var(--color-text);
}

.sh-head-word__cite {
  display: flex;
  flex-direction: column;
  margin-top: var(--space-6);
  color: var(--color-muted);
}

.sh-head-word__cite strong {
  color: var(--color-text);
}

.sh-head-word__link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  margin-top: var(--space-8);
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 800;
  color: var(--color-primary);
}

.sh-head-word__link:hover {
  color: var(--color-navy);
}

.sh-head-word__link .sh-icon {
  transition: transform var(--transition-base);
}

.sh-head-word__link:hover .sh-icon {
  transform: translateX(6px);
}

@media (min-width: 1024px) {
  .sh-head-word__inner { grid-template-columns: 5fr 7fr; gap: var(--space-16); }
  .sh-head-word__media { width: 100%; max-width: 440px; }
}

/* Motto cards — Thinkers / Leaders / Disciples */
.sh-promise {
  background-color: var(--color-bg-alt);
}

.sh-promise__grid {
  display: grid;
  gap: var(--space-6);
  list-style: none;
  margin: 0;
  padding: 0;
}

.sh-promise__card {
  --promise-accent: var(--color-primary);
  overflow: hidden;
  border-top: 6px solid var(--promise-accent);
  border-radius: var(--radius-lg);
  background-color: var(--color-white);
  box-shadow: var(--shadow-md);
  transition: box-shadow var(--transition-base), translate var(--transition-base);
}

.sh-promise__card:nth-child(3n + 2) { --promise-accent: var(--color-secondary); }
.sh-promise__card:nth-child(3n + 3) { --promise-accent: var(--color-tertiary); }

.sh-promise__card:hover {
  box-shadow: var(--shadow-lg);
  translate: 0 -6px;
}

.sh-promise__img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.sh-promise__body {
  position: relative;
  padding: var(--space-8);
}

.sh-promise__num {
  position: absolute;
  top: var(--space-4);
  right: var(--space-6);
  font-family: var(--font-heading);
  font-size: var(--text-5xl);
  font-weight: 800;
  line-height: 1;
  color: var(--promise-accent);
  opacity: 0.25;
}

.sh-promise__tagline {
  margin-bottom: var(--space-1);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.sh-promise__title {
  margin-bottom: var(--space-4);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  color: var(--color-navy);
}

.sh-promise__text {
  color: var(--color-muted);
}

@media (min-width: 768px) {
  .sh-promise__grid { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
}

/* ==========================================================================
   19. PILLARS — WHY CHOOSE US (accordion + circular photo)
   ========================================================================== */

.sh-pillars {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.sh-pillars__inner {
  display: grid;
  gap: var(--space-12);
  align-items: center;
}

.sh-pillars__eyebrow {
  color: var(--color-white);
}

.sh-pillars__list {
  display: flex;
  flex-direction: column;
}

/* Phones/tablets: heading → photo → pillar list. The content wrapper is
   flattened so the photo can sit between the heading and the list. */
@media (max-width: 1023px) {
  .sh-pillars__content {
    display: contents;
  }

  .sh-pillars__inner {
    gap: 0;
  }

  .sh-pillars__eyebrow { order: 1; }
  .sh-pillars .sh-display { order: 2; }
  .sh-pillars__media { order: 3; width: min(100%, 300px); margin-bottom: var(--space-8); }
  .sh-pillars__list { order: 4; }
}

.sh-pillar {
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.sh-pillar__summary {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding-block: var(--space-4);
  list-style: none;
  cursor: pointer;
}

.sh-pillar__summary::-webkit-details-marker { display: none; }

.sh-pillar__title {
  flex: 1;
  margin: 0;
  font-size: clamp(1.375rem, 2.6vw, 2rem);
  font-weight: 800;
  color: var(--color-white);
}

.sh-pillar[open] .sh-pillar__title {
  text-decoration: underline;
  text-decoration-color: var(--color-accent);
  text-decoration-thickness: 4px;
  text-underline-offset: 8px;
}

.sh-pillar__toggle {
  position: relative;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
}

.sh-pillar__toggle::before,
.sh-pillar__toggle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 3px;
  margin-top: -1.5px;
  border-radius: 2px;
  background-color: var(--color-white);
  transition: transform var(--transition-base);
}

.sh-pillar__toggle::after { transform: rotate(90deg); }
.sh-pillar[open] .sh-pillar__toggle::after { transform: rotate(0deg); }

.sh-pillar__body {
  padding-bottom: var(--space-6);
  color: var(--color-white);
  animation: sh-rise-in 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.sh-pillars__media {
  position: relative;
  margin: 0 auto;
  width: min(100%, 480px);
  aspect-ratio: 1;
  border-radius: var(--radius-full);
  overflow: hidden;
  border: 10px solid rgba(255, 255, 255, 0.25);
  background-color: var(--color-navy);
}

/* Stacked photos — the open pillar's photo crossfades in */
.sh-pillars__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 0.7s ease, transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.sh-pillars__img.is-active {
  opacity: 1;
  transform: scale(1);
}

@media (min-width: 1024px) {
  .sh-pillars--has-image .sh-pillars__inner { grid-template-columns: 7fr 5fr; gap: var(--space-16); }
}

/* ==========================================================================
   20. ADMISSIONS CTA BAND
   ========================================================================== */

.sh-admissions-cta {
  background-color: var(--color-navy);
  color: var(--color-white);
}

.sh-admissions-cta .sh-display__text {
  background-color: var(--color-primary);
}

.sh-admissions-cta__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.sh-admissions-cta__body {
  max-width: 640px;
  margin-bottom: var(--space-8);
  font-size: var(--text-lg);
  color: var(--color-white);
}

.sh-admissions-cta__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-4);
}

.sh-pill--lg {
  min-height: 56px;
  padding: var(--space-3) var(--space-8);
  font-size: var(--text-base);
}

/* Preview sections (classes, events, gallery) — CTA spacing */
.sh-classes-preview__grid {
  margin-bottom: var(--space-12);
}

.sh-classes-preview__cta,
.sh-events-preview__cta,
.sh-gallery-preview__cta {
  text-align: center;
  margin-top: var(--space-12);
}

/* ==========================================================================
   21. EVENTS PREVIEW
   ========================================================================== */

.sh-card__meta {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.sh-card__meta-item {
  display: flex;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--color-muted);
}

.sh-card__link {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-primary);
}

.sh-card__link:hover {
  color: var(--color-accent);
}

/* ==========================================================================
   22. GALLERY PREVIEW
   ========================================================================== */

.sh-gallery-preview__grid {
  display: grid;
  gap: var(--space-3);
  grid-template-columns: repeat(2, 1fr);
  margin-bottom: var(--space-6);
}

.sh-gallery-preview__item {
  border-radius: var(--radius-md);
  overflow: hidden;
}

.sh-gallery-preview__thumb {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
}

.sh-gallery-preview__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms ease;
}

.sh-gallery-preview__item:hover .sh-gallery-preview__img {
  transform: scale(1.05);
}

.sh-gallery-preview__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 34, 64, 0.8) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--space-4);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.sh-gallery-preview__item:hover .sh-gallery-preview__overlay {
  opacity: 1;
}

.sh-gallery-preview__title {
  display: block;
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.3;
}

.sh-gallery-preview__desc {
  display: block;
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.75);
  margin-top: var(--space-1);
}

@media (min-width: 640px) {
  .sh-gallery-preview__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .sh-gallery-preview__grid {
    grid-template-columns: repeat(6, 1fr);
  }
}

/* ==========================================================================
   23. TESTIMONIALS CAROUSEL
   ========================================================================== */

.sh-testimonials {
  padding-block: var(--space-20);
}

.sh-testimonials .section__header {
  margin-bottom: var(--space-12);
}

.sh-testimonial {
  height: auto;
}

.sh-testimonial__inner {
  background-color: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.sh-testimonial__stars {
  display: flex;
  gap: 2px;
  font-size: var(--text-lg);
}

.sh-testimonial__star {
  color: rgba(255, 255, 255, 0.25);
}

.sh-testimonial__star--filled {
  color: var(--color-tertiary);
}

.sh-testimonial__quote {
  font-size: var(--text-base);
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
  font-style: italic;
  flex: 1;
}

.sh-testimonial__footer {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin-top: var(--space-4);
}

.sh-testimonial__photo {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  object-fit: cover;
  flex-shrink: 0;
}

.sh-testimonial__meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sh-testimonial__name {
  font-style: normal;
  font-weight: 700;
  font-size: var(--text-sm);
  color: var(--color-white);
}

.sh-testimonial__role {
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.55);
}

.sh-testimonials__pagination {
  margin-top: var(--space-8);
  text-align: center;
}

.sh-testimonials__pagination .swiper-pagination-bullet {
  background-color: rgba(255, 255, 255, 0.35);
  opacity: 1;
  width: 10px;
  height: 10px;
  transition: background-color var(--transition-fast), transform var(--transition-fast);
}

.sh-testimonials__pagination .swiper-pagination-bullet-active {
  background-color: var(--color-accent);
  transform: scale(1.3);
}

/* ==========================================================================
   24. ABOUT PAGE
   ========================================================================== */

/* Intro + accreditation badge */
.sh-about-intro__inner {
  display: grid;
  gap: var(--space-12);
  align-items: center;
}

.sh-about-intro__text .wysiwyg {
  font-size: var(--text-lg);
  color: var(--color-muted);
}

.sh-about-badge {
  padding: var(--space-8) var(--space-6);
  border-radius: var(--radius-lg);
  background-color: var(--color-navy);
  color: var(--color-white);
  text-align: center;
}

.sh-about-badge__icon {
  display: inline-grid;
  place-items: center;
  width: 80px;
  height: 80px;
  margin-bottom: var(--space-4);
  border-radius: var(--radius-full);
  background-color: var(--color-primary);
  color: var(--color-white);
}

.sh-about-badge__logo {
  max-width: 180px;
  height: auto;
  margin: 0 auto var(--space-4);
}

.sh-about-badge__title {
  margin-bottom: var(--space-2);
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: 800;
  line-height: 1.25;
  color: var(--color-white);
}

.sh-about-badge__text {
  font-size: var(--text-sm);
  color: var(--color-white);
}

/* History timeline */
.sh-history__header {
  max-width: 760px;
  margin: 0 auto var(--space-12);
  text-align: center;
}

.sh-history__intro {
  font-size: var(--text-lg);
  color: var(--color-muted);
}

.sh-timeline {
  position: relative;
  display: grid;
  gap: var(--space-8);
  max-width: 960px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.sh-timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 39px;
  width: 3px;
  border-radius: 2px;
  background-color: var(--color-border);
}

.sh-timeline__item {
  position: relative;
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: var(--space-4);
  align-items: start;
}

.sh-timeline__label {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 80px;
  min-height: 44px;
  padding: var(--space-1) var(--space-2);
  border-radius: var(--radius-full);
  background-color: var(--color-primary);
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 800;
  line-height: 1.1;
  text-align: center;
}

.sh-timeline__item:last-child .sh-timeline__label {
  background-color: var(--color-accent);
}

.sh-timeline__card {
  padding: var(--space-6);
  border-radius: var(--radius-lg);
  background-color: var(--color-bg-alt);
}

.sh-timeline__img {
  display: block;
  width: 100%;
  height: auto;
  margin-bottom: var(--space-4);
  border-radius: var(--radius-md);
}

.sh-timeline__title {
  margin-bottom: var(--space-2);
  font-size: var(--text-xl);
  color: var(--color-navy);
}

.sh-timeline__text {
  color: var(--color-muted);
}

/* Core values (R.I.S.E.) */
.sh-values {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.sh-values__header {
  max-width: 760px;
  margin: 0 auto var(--space-12);
  text-align: center;
}

.sh-values__intro {
  font-size: var(--text-lg);
  color: var(--color-white);
}

.sh-values__grid {
  display: grid;
  gap: var(--space-6);
  margin: 0;
  padding: 0;
  list-style: none;
}

.sh-value {
  padding: var(--space-8) var(--space-6);
  border-radius: var(--radius-lg);
  background-color: var(--color-white);
  color: var(--color-text);
  text-align: center;
}

.sh-value__letter {
  display: inline-grid;
  place-items: center;
  width: 72px;
  height: 72px;
  margin-bottom: var(--space-4);
  border-radius: var(--radius-full);
  background-color: var(--color-navy);
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: var(--text-4xl);
  font-weight: 800;
  line-height: 1;
}

.sh-value__title {
  margin-bottom: var(--space-2);
  font-size: var(--text-2xl);
  color: var(--color-navy);
}

.sh-value__text {
  font-size: var(--text-sm);
  color: var(--color-muted);
}

/* Ownership & governance */
.sh-gov__inner {
  display: grid;
  gap: var(--space-8);
  align-items: center;
}

.sh-gov__inner--text {
  max-width: 860px;
  text-align: center;
}

.sh-gov__heading {
  margin-bottom: var(--space-4);
  color: var(--color-primary);
}

.sh-gov__inner .wysiwyg {
  font-size: var(--text-lg);
  color: var(--color-muted);
}

.sh-gov__media {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.sh-gov__img {
  display: block;
  width: 100%;
  height: auto;
}

/* Leadership philosophy */
.sh-leadership__inner {
  display: grid;
  gap: var(--space-12);
  align-items: start;
}

.sh-leadership__profile {
  text-align: center;
}

.sh-leadership__photo {
  width: 220px;
  height: 220px;
  margin: 0 auto var(--space-4);
  border: 6px solid var(--color-white);
  border-radius: var(--radius-full);
  object-fit: cover;
  box-shadow: 0 0 0 4px var(--color-primary), var(--shadow-md);
}

.sh-leadership__name {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: 800;
  color: var(--color-navy);
}

.sh-leadership__role {
  margin-bottom: var(--space-3);
  color: var(--color-muted);
}

.sh-leadership__link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  font-weight: 600;
  color: var(--color-primary);
}

.sh-leadership__scripture {
  margin: 0 0 var(--space-8);
  padding: var(--space-6) var(--space-8);
  border-left: 6px solid var(--color-accent);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  background-color: var(--color-bg-warm);
}

.sh-leadership__scripture p {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 700;
  font-style: italic;
  line-height: 1.6;
  color: var(--color-text);
}

.sh-leadership__scripture figcaption {
  margin-top: var(--space-3);
  font-weight: 600;
  color: var(--color-muted);
}

.sh-leadership__intro {
  margin-bottom: var(--space-8);
  color: var(--color-muted);
}

.sh-principles {
  display: grid;
  gap: var(--space-4);
  margin: 0 0 var(--space-8);
  padding: 0;
  list-style: none;
}

.sh-principle {
  padding: var(--space-4) var(--space-6);
  border-left: 4px solid var(--color-primary);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  background-color: var(--color-bg-alt);
}

.sh-principle__title {
  margin-bottom: var(--space-1);
  font-size: var(--text-lg);
  color: var(--color-navy);
}

.sh-principle__text {
  font-size: var(--text-sm);
  color: var(--color-muted);
}

.sh-leadership__closing {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 800;
  line-height: 1.5;
  color: var(--color-primary);
}

/* Promise band */
.sh-promise-band {
  background-color: var(--color-navy);
  color: var(--color-white);
}

.sh-promise-band__inner {
  text-align: center;
}

.sh-promise-band__heading {
  margin-bottom: var(--space-8);
  color: var(--color-white);
}

.sh-promise-band__list {
  display: grid;
  gap: var(--space-2);
  margin: 0 0 var(--space-12);
  padding: 0;
  list-style: none;
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 2.6vw, 1.75rem);
  font-weight: 800;
  line-height: 1.4;
}

.sh-promise-band__list li:last-child {
  color: var(--color-accent);
}

.sh-promise-band__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-4);
}

@media (min-width: 768px) {
  .sh-values__grid { grid-template-columns: repeat(2, 1fr); }
  .sh-principles { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .sh-about-intro__inner { grid-template-columns: 2fr 1fr; gap: var(--space-16); }
  .sh-values__grid { grid-template-columns: repeat(4, 1fr); }
  .sh-gov__inner:not(.sh-gov__inner--text) { grid-template-columns: 1fr 1fr; gap: var(--space-16); }
  .sh-leadership__inner { grid-template-columns: 1fr 2.4fr; gap: var(--space-16); }
  .sh-leadership__profile { position: sticky; top: calc(var(--header-h) + var(--space-8)); }

  /* Alternate timeline: label in the centre, cards left/right */
  .sh-timeline::before { left: 50%; margin-left: -1.5px; }

  .sh-timeline__item {
    grid-template-columns: 1fr 96px 1fr;
    gap: var(--space-6);
  }

  .sh-timeline__label {
    grid-column: 2;
    grid-row: 1;
    width: 96px;
  }

  .sh-timeline__card { grid-column: 3; grid-row: 1; }
  .sh-timeline__item:nth-child(even) .sh-timeline__card { grid-column: 1; text-align: right; }
}

/* ==========================================================================
   25. VISION / MISSION CARDS
   ========================================================================== */

.sh-vision-mission__grid {
  display: grid;
  gap: var(--space-6);
  list-style: none;
  padding: 0;
  margin: 0;
}

.sh-vm-card {
  background: var(--color-bg);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  border-top: 4px solid var(--color-primary);
  box-shadow: var(--shadow-md);
}

.sh-vm-card--vision { border-top-color: var(--color-primary); }
.sh-vm-card--mission { border-top-color: var(--color-secondary); }

.sh-vm-card__icon {
  display: block;
  font-size: var(--text-3xl);
  margin-bottom: var(--space-3);
}

.sh-vm-card__eyebrow {
  display: block;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: var(--space-3);
}

/* Eyebrows on dark bands keep their light colours */
.sh-pillars .sh-pillars__eyebrow {
  color: var(--color-white);
}

.section--navy .section__eyebrow {
  color: var(--color-accent); /* bright orange is ~6:1 on navy */
}

.sh-vm-card--mission .sh-vm-card__eyebrow { color: var(--color-secondary); }

.sh-vm-card__text {
  font-size: var(--text-lg);
  line-height: 1.7;
  color: var(--color-text);
}

@media (min-width: 768px) {
  .sh-vision-mission__grid { grid-template-columns: repeat(2, 1fr); }
}

/* ==========================================================================
   26. HEAD OF SCHOOL MESSAGE
   ========================================================================== */

.sh-hos-message__inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
}

.sh-hos-message__sidebar {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-3);
  flex-shrink: 0;
}

.sh-hos-message__photo {
  width: 220px;
  height: 220px;
  border-radius: var(--radius-full);
  object-fit: cover;
  border: 4px solid var(--color-primary);
}

.sh-hos-message__name {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: var(--text-xl);
  color: var(--color-primary);
  margin: 0;
}

.sh-hos-message__title {
  font-size: var(--text-sm);
  color: var(--color-muted);
  margin: 0;
}

.sh-hos-message__text { margin-bottom: var(--space-6); }

.sh-hos-message__signature {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-style: italic;
  color: var(--color-primary);
  margin-top: var(--space-4);
}

@media (min-width: 768px) {
  .sh-hos-message__inner {
    flex-direction: row;
    align-items: flex-start;
    gap: var(--space-12);
  }
  .sh-hos-message__sidebar {
    width: 240px;
    min-width: 240px;
  }
  .sh-hos-message__content { flex: 1; }
}

/* ==========================================================================
   27. OUR TEAM
   ========================================================================== */

.sh-team-dept__heading {
  font-size: clamp(1.25rem, 2.5vw, 1.875rem);
  color: var(--color-primary);
  margin-bottom: var(--space-8);
  padding-bottom: var(--space-3);
  border-bottom: 2px solid var(--color-border);
}

.sh-team__grid {
  display: grid;
  gap: var(--space-6);
  grid-template-columns: repeat(2, 1fr);
  list-style: none;
  padding: 0;
  margin: 0;
}

.sh-team-card {
  background: var(--color-bg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: box-shadow 300ms ease, transform 300ms ease;
}

.sh-team-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.sh-team-card__photo-wrap {
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--color-bg-alt);
}

.sh-team-card__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.sh-team-card__body {
  padding: var(--space-4) var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.sh-team-card__name {
  font-size: var(--text-lg);
  font-weight: 800;
  color: var(--color-primary);
  margin: 0;
}

.sh-team-card__role {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-accent);
  margin: 0;
}

.sh-team-card__bio {
  font-size: var(--text-sm);
  color: var(--color-muted);
  line-height: 1.6;
  margin: var(--space-2) 0 0;
}

.sh-team-empty__msg {
  text-align: center;
  color: var(--color-muted);
  font-size: var(--text-lg);
}

@media (min-width: 640px) {
  .sh-team__grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1024px) {
  .sh-team__grid { grid-template-columns: repeat(4, 1fr); }
}

/* ==========================================================================
   28. OUR CLASSES (full page)
   ========================================================================== */

.sh-classes__grid {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
  list-style: none;
  padding: 0;
  margin: 0;
}

.sh-class-card {
  background: var(--color-bg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.sh-class-card__image-wrap {
  position: relative;
  overflow: hidden;
}

.sh-class-card__image {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
}

.sh-class-card__stage-badge {
  position: absolute;
  top: var(--space-4);
  left: var(--space-4);
  background: var(--color-primary);
  color: var(--color-white);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
}

.sh-class-card__body { padding: var(--space-6) var(--space-8); }

.sh-class-card__title {
  font-size: var(--text-2xl);
  color: var(--color-primary);
  margin-bottom: var(--space-2);
}

.sh-class-card__age {
  font-size: var(--text-sm);
  color: var(--color-accent);
  font-weight: 600;
  margin-bottom: var(--space-4);
}

.sh-class-card__overview { margin-bottom: var(--space-4); }

.sh-class-card__subjects-label {
  font-size: var(--text-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-primary);
  margin-bottom: var(--space-2);
}

.sh-class-card__subjects-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-4);
}

.sh-class-card__subjects-list li {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  padding: var(--space-1) var(--space-3);
  color: var(--color-text);
}

.sh-class-card__teacher {
  font-size: var(--text-sm);
  color: var(--color-muted);
  margin-top: var(--space-2);
}

@media (min-width: 1024px) {
  .sh-class-card {
    display: grid;
    grid-template-columns: 360px 1fr;
  }
  .sh-class-card__image { height: 100%; min-height: 280px; }
}

/* ==========================================================================
   29. CURRICULUM PAGE
   ========================================================================== */

.sh-curriculum__grid {
  display: grid;
  gap: var(--space-6);
  list-style: none;
  padding: 0;
  margin: 0;
}

.sh-curriculum-card {
  background: var(--color-bg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.sh-curriculum-card__header {
  background: var(--color-primary);
  color: var(--color-white);
  padding: var(--space-4) var(--space-6);
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: var(--space-3);
}

.sh-curriculum-card__name {
  font-size: var(--text-xl);
  font-weight: 800;
  margin: 0;
  flex: 1;
  min-width: 0;
}

.sh-curriculum-card__age,
.sh-curriculum-card__stage {
  font-size: var(--text-xs);
  background: rgba(255, 255, 255, 0.15);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.sh-curriculum-card__subjects {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  list-style: none;
  padding: var(--space-4) var(--space-6);
  margin: 0;
}

.sh-curriculum-card__subject {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  padding: var(--space-1) var(--space-3);
  color: var(--color-text);
}

/* Intro — narrow centred column */
.sh-curriculum-intro__inner {
  max-width: 860px;
  text-align: center;
}

.sh-curriculum-intro__lead {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 800;
  line-height: 1.4;
  color: var(--color-primary);
  margin-bottom: var(--space-12);
}

.sh-curriculum-intro__title {
  color: var(--color-primary);
  margin-bottom: var(--space-6);
}

.sh-curriculum-intro__content {
  color: var(--color-muted);
}

.sh-curriculum-intro__content ul,
.sh-curriculum-intro__content ol {
  display: inline-block;
  text-align: left;
}

.sh-curriculum-intro__quote {
  position: relative;
  margin: var(--space-12) auto 0;
  max-width: 720px;
  padding-top: var(--space-8);
}

.sh-curriculum-intro__quote::before {
  content: "\201C";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-heading);
  font-size: var(--text-5xl);
  line-height: 1;
  color: var(--color-accent);
}

.sh-curriculum-intro__quote p {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 800;
  line-height: 1.5;
  color: var(--color-primary);
}

/* Stage blocks — text + photo, alternating sides */
.sh-stage {
  display: grid;
  gap: var(--space-6);
  align-items: center;
  text-align: center;
}

.sh-stage + .sh-stage {
  margin-top: var(--space-16);
}

.sh-stage__title {
  color: var(--color-primary);
  margin-bottom: var(--space-4);
}

.sh-stage__text {
  color: var(--color-muted);
}

/* Lists inside centred stage text stay left-aligned and readable */
.sh-stage__text ul,
.sh-stage__text ol {
  display: inline-block;
  text-align: left;
}

.sh-stage__text li + li {
  margin-top: var(--space-1);
}

/* Long lists (7+ items) flow into two columns on wider screens */
@media (min-width: 768px) {
  .sh-curriculum-intro__content ul:has(> li:nth-child(7)),
  .sh-stage__text ul:has(> li:nth-child(7)) {
    columns: 2;
    column-gap: var(--space-12);
  }

  .sh-curriculum-intro__content li,
  .sh-stage__text li {
    break-inside: avoid;
  }
}

.sh-stage__media {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.sh-stage__img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.sh-stage--no-image {
  max-width: 860px;
  margin-inline: auto;
}

/* Download pill */
.sh-curriculum-download {
  margin-top: var(--space-12);
  text-align: center;
}

.sh-curriculum-download__btn {
  gap: var(--space-2);
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.sh-curriculum-download__btn:hover {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-white);
}

.sh-curriculum-download__meta {
  font-weight: 400;
}

.sh-curriculum-download__meta::before {
  content: "|";
  margin-right: var(--space-2);
}

/* Where next — icon links */
.sh-where-next {
  text-align: center;
}

.sh-where-next__title {
  color: var(--color-primary);
  margin-bottom: var(--space-8);
}

.sh-where-next__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-6) var(--space-8);
  list-style: none;
  padding: 0;
  margin: 0;
}

.sh-where-next__item {
  flex: 0 1 140px;
}

.sh-where-next__link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
  color: var(--color-text);
  text-decoration: none;
}

.sh-where-next__icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border: 2px solid var(--color-primary);
  border-radius: var(--radius-full);
  color: var(--color-primary);
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.sh-where-next__icon img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.sh-where-next__link:hover .sh-where-next__icon,
.sh-where-next__link:focus-visible .sh-where-next__icon {
  background-color: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--color-white);
}

.sh-where-next__label {
  font-size: var(--text-base);
  line-height: 1.4;
}

/* Sibling sub-nav — sticks to viewport bottom while reading, lands before footer */
.sh-subnav {
  position: sticky;
  bottom: var(--cta-bar-offset, 0px);
  transition: bottom var(--transition-base);
  z-index: 50;
  background-color: var(--color-primary);
  color: var(--color-white);
  padding-block: var(--space-3);
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.08);
}

.sh-subnav__heading {
  display: block;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-white);
  text-align: center;
  text-decoration: none;
  margin-bottom: var(--space-2);
}

.sh-subnav__list {
  display: flex;
  gap: var(--space-6);
  list-style: none;
  padding: 0 0 var(--space-1);
  margin: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.sh-subnav__list::-webkit-scrollbar { display: none; }

.sh-subnav__link {
  display: block;
  white-space: nowrap;
  font-size: var(--text-sm);
  color: var(--color-white);
  text-decoration: none;
}

.sh-subnav__link:hover,
.sh-subnav__link.is-current {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.sh-subnav__link.is-current { font-weight: 600; }

@media (min-width: 768px) {
  .sh-curriculum__grid { grid-template-columns: repeat(2, 1fr); }

  .sh-curriculum-intro__lead,
  .sh-curriculum-intro__quote p { font-size: var(--text-2xl); }

  .sh-stage {
    grid-template-columns: 1fr 1.4fr;
    gap: var(--space-12);
  }

  .sh-stage:nth-of-type(even) .sh-stage__body { order: 2; }

  .sh-stage--no-image { grid-template-columns: 1fr; }

  .sh-subnav__list { justify-content: center; }
}

/* ==========================================================================
   30. ADMISSIONS PAGE
   ========================================================================== */

.sh-admissions [id] {
  scroll-margin-top: calc(var(--header-h) + var(--space-6));
}

/* Intro */
.sh-adm-intro__inner {
  max-width: 860px;
  text-align: center;
}

.sh-adm-intro__text {
  margin-bottom: var(--space-8);
  font-size: var(--text-lg);
  color: var(--color-muted);
}

.sh-adm-intro__actions,
.sh-adm-cta__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-4);
}

/* Journey roadmap — vertical timeline on phones, horizontal from 1024px */
.sh-journey__heading,
.sh-adm-sections__heading,
.sh-adm-info__heading,
.sh-adm-docs__heading {
  margin-bottom: var(--space-12);
  text-align: center;
  color: var(--color-primary);
}

.sh-journey__steps {
  position: relative;
  display: grid;
  gap: var(--space-8);
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: sh-journey;
}

.sh-journey__steps::before {
  content: "";
  position: absolute;
  top: 24px;
  bottom: 24px;
  left: 23px;
  width: 3px;
  border-radius: 2px;
  background-color: var(--color-border);
}

.sh-journey__step {
  position: relative;
  padding-left: calc(48px + var(--space-6));
  counter-increment: sh-journey;
}

.sh-journey__num {
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 4px solid var(--color-bg-alt);
  border-radius: var(--radius-full);
  background-color: var(--color-primary);
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 800;
  box-shadow: var(--shadow-sm);
}

.sh-journey__num::before {
  content: counter(sh-journey);
}

.sh-journey__step:last-child .sh-journey__num {
  background-color: var(--color-accent);
}

.sh-journey__title {
  margin: var(--space-2) 0 var(--space-1);
  font-size: var(--text-xl);
  color: var(--color-navy);
}

.sh-journey__text {
  font-size: var(--text-sm);
  color: var(--color-muted);
}

@media (min-width: 1024px) {
  .sh-journey__steps {
    grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
    grid-auto-flow: column;
    gap: var(--space-4);
  }

  .sh-journey__steps::before {
    top: 23px;
    right: 7%;
    bottom: auto;
    left: 7%;
    width: auto;
    height: 3px;
  }

  .sh-journey__step {
    padding-left: 0;
    text-align: center;
  }

  .sh-journey__num {
    position: relative;
    margin: 0 auto var(--space-3);
  }

  .sh-journey__title {
    font-size: var(--text-base);
  }
}

/* Sections we offer */
.sh-adm-sections__grid {
  display: grid;
  gap: var(--space-6);
  margin: 0;
  padding: 0;
  list-style: none;
}

.sh-adm-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background-color: var(--color-white);
  box-shadow: var(--shadow-md);
  color: var(--color-text);
  transition: box-shadow var(--transition-base), translate var(--transition-base);
}

.sh-adm-card:hover,
.sh-adm-card:focus-visible {
  box-shadow: var(--shadow-lg);
  translate: 0 -4px;
}

.sh-adm-card__img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.sh-adm-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: var(--space-2);
  padding: var(--space-6);
}

.sh-adm-card__title {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 800;
  color: var(--color-navy);
}

.sh-adm-card__text {
  flex: 1;
  font-size: var(--text-sm);
  color: var(--color-muted);
}

.sh-adm-card__more {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  font-weight: 600;
  color: var(--color-primary);
}

/* What you need to know */
.sh-adm-info__grid {
  display: grid;
  gap: var(--space-6);
}

.sh-adm-topic {
  padding: var(--space-8) var(--space-6);
  border-radius: var(--radius-lg);
  background-color: var(--color-white);
  box-shadow: var(--shadow-sm);
}

.sh-adm-topic__icon {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: var(--space-4);
  border-radius: var(--radius-md);
  background-color: var(--color-bg-alt);
  color: var(--color-primary);
}

.sh-adm-topic__title {
  margin-bottom: var(--space-3);
  font-size: var(--text-xl);
  color: var(--color-navy);
}

.sh-adm-topic__text {
  font-size: var(--text-sm);
  color: var(--color-muted);
}

/* Documents */
.sh-adm-docs__inner {
  max-width: 760px;
}

/* Closing CTA */
.sh-adm-cta {
  background-color: var(--color-navy);
  color: var(--color-white);
}

.sh-adm-cta__inner {
  text-align: center;
}

.sh-adm-cta__text {
  max-width: 640px;
  margin: 0 auto var(--space-8);
  font-size: var(--text-lg);
  color: var(--color-white);
}

.sh-adm-cta__phone {
  margin-top: var(--space-6);
  color: var(--color-white);
}

.sh-adm-cta__phone a {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  margin-left: var(--space-2);
  font-weight: 600;
  color: var(--color-white);
}

.sh-adm-cta__phone a:hover {
  color: var(--color-accent);
}

@media (min-width: 768px) {
  .sh-adm-sections__grid { grid-template-columns: repeat(2, 1fr); }
  .sh-adm-info__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .sh-adm-sections__grid { grid-template-columns: repeat(4, 1fr); }
  .sh-adm-info__grid { grid-template-columns: repeat(3, 1fr); }
}

/* ==========================================================================
   31. GALLERY PAGE — album filters, photo grid, lightbox
   ========================================================================== */

.sh-gallery__header {
  max-width: 760px;
  margin: 0 auto var(--space-8);
  text-align: center;
}

.sh-gallery__intro {
  font-size: var(--text-lg);
  color: var(--color-muted);
}

/* Phones: one swipeable row of album buttons; wraps and centres from 640px */
.sh-gallery__filters {
  display: flex;
  gap: var(--space-2);
  margin: 0 calc(-1 * var(--container-pad)) var(--space-6);
  padding: var(--space-1) var(--container-pad);
  overflow-x: auto;
  scrollbar-width: none;
}

.sh-gallery__filters::-webkit-scrollbar {
  display: none;
}

.sh-gallery__filters .sh-faq__chip {
  flex-shrink: 0;
  white-space: nowrap;
}

@media (min-width: 640px) {
  .sh-gallery__filters {
    flex-wrap: wrap;
    justify-content: center;
    margin-inline: 0;
    padding-inline: 0;
    overflow-x: visible;
  }
}

.sh-gallery__album-desc {
  max-width: 680px;
  margin: 0 auto var(--space-6);
  text-align: center;
  color: var(--color-muted);
}

.sh-gallery__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-3);
  margin: 0;
  padding: 0;
  list-style: none;
}

.sh-gallery__item[hidden] {
  display: none;
}

.sh-gallery__link {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius-md);
  background-color: var(--color-bg-alt);
}

.sh-gallery__img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.sh-gallery__zoom {
  position: absolute;
  right: var(--space-3);
  bottom: var(--space-3);
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background-color: rgba(10, 34, 64, 0.7);
  color: var(--color-white);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.sh-gallery__link:hover .sh-gallery__img,
.sh-gallery__link:focus-visible .sh-gallery__img {
  transform: scale(1.06);
}

.sh-gallery__link:hover .sh-gallery__zoom,
.sh-gallery__link:focus-visible .sh-gallery__zoom {
  opacity: 1;
}

.sh-gallery__empty {
  text-align: center;
  color: var(--color-muted);
}

/* Lightbox */
.sh-lightbox {
  width: 100vw;
  max-width: 100vw;
  height: 100vh;
  max-height: 100vh;
  margin: 0;
  padding: var(--space-16) var(--space-4) var(--space-6);
  border: 0;
  background-color: transparent;
}

.sh-lightbox::backdrop {
  background-color: rgba(10, 34, 64, 0.94);
}

.sh-lightbox__figure {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  height: 100%;
  margin: 0;
}

.sh-lightbox__img {
  max-width: 100%;
  max-height: calc(100% - 4rem);
  border-radius: var(--radius-md);
  object-fit: contain;
  box-shadow: var(--shadow-lg);
}

.sh-lightbox__caption {
  display: grid;
  gap: var(--space-1);
  max-width: 720px;
  text-align: center;
  color: var(--color-white);
}

.sh-lightbox__count {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.8);
}

.sh-lightbox__btn {
  position: fixed;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 2px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--radius-full);
  background-color: rgba(10, 34, 64, 0.6);
  color: var(--color-white);
  cursor: pointer;
}

.sh-lightbox__btn:hover,
.sh-lightbox__btn:focus-visible {
  background-color: var(--color-white);
  color: var(--color-navy);
}

.sh-lightbox__btn--close { top: var(--space-4); right: var(--space-4); }
.sh-lightbox__btn--prev  { top: 50%; left: var(--space-3); transform: translateY(-50%); }
.sh-lightbox__btn--next  { top: 50%; right: var(--space-3); transform: translateY(-50%); }

@media (min-width: 640px) {
  .sh-gallery__grid { grid-template-columns: repeat(3, 1fr); gap: var(--space-4); }
}

@media (min-width: 1024px) {
  .sh-gallery__grid { grid-template-columns: repeat(4, 1fr); }
  .sh-lightbox { padding-inline: var(--space-20); }
  .sh-lightbox__btn--prev { left: var(--space-8); }
  .sh-lightbox__btn--next { right: var(--space-8); }
}

/* ==========================================================================
   32. YEARBOOK PAGE
   ========================================================================== */

.sh-yearbook__embed-wrap {
  position: relative;
  padding-bottom: 62.5%;
  height: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.sh-yearbook__embed {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.sh-yearbook-empty__msg {
  text-align: center;
  color: var(--color-muted);
  font-size: var(--text-lg);
  padding: var(--space-20) 0;
}

/* ==========================================================================
   33. CONTACT PAGE
   ========================================================================== */

.sh-contact-page [id] {
  scroll-margin-top: calc(var(--header-h) + var(--space-6));
}

.sh-contact__inner {
  display: grid;
  gap: var(--space-12);
  align-items: start;
}

.sh-contact__heading {
  margin-bottom: var(--space-3);
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--color-primary);
}

.sh-contact__intro {
  margin-bottom: var(--space-6);
  color: var(--color-muted);
}

/* Details list */
.sh-contact__list {
  display: grid;
  gap: var(--space-6);
  margin: 0 0 var(--space-8);
  padding: 0;
  list-style: none;
}

.sh-contact__item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
}

.sh-contact__icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background-color: var(--color-bg-alt);
  color: var(--color-primary);
}

.sh-contact__label {
  display: block;
  margin-bottom: var(--space-1);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.sh-contact__item a {
  font-weight: 600;
  color: var(--color-text);
}

.sh-contact__item a:hover {
  color: var(--color-primary);
}

.sh-contact__phones {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-1) var(--space-4);
}

.sh-contact__phones a {
  font-size: var(--text-lg);
}

.sh-contact__address {
  font-style: normal;
  line-height: 1.6;
}

.sh-contact__item .sh-contact__directions {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  margin-top: var(--space-1);
  font-size: var(--text-sm);
  color: var(--color-primary);
}

/* Quick links */
.sh-contact__quick {
  display: grid;
  gap: var(--space-3);
}

.sh-contact__quick-link {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-4) var(--space-6);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-lg);
  color: var(--color-primary);
  transition: border-color var(--transition-fast), background-color var(--transition-fast);
}

.sh-contact__quick-link span {
  display: grid;
  font-size: var(--text-sm);
  color: var(--color-muted);
}

.sh-contact__quick-link strong {
  font-size: var(--text-base);
  color: var(--color-navy);
}

.sh-contact__quick-link:hover,
.sh-contact__quick-link:focus-visible {
  border-color: var(--color-primary);
  background-color: var(--color-bg-alt);
}

.sh-contact__quick-link--primary {
  border-color: var(--color-accent);
  background-color: var(--color-bg-warm);
  color: var(--color-accent);
}

/* Map */
.sh-contact-map__iframe {
  display: block;
  width: 100%;
  height: 360px;
  border: 0;
}

@media (min-width: 1024px) {
  .sh-contact__inner { grid-template-columns: 5fr 7fr; gap: var(--space-16); }
  .sh-contact-map__iframe { height: 480px; }
}

/* ==========================================================================
   34. VIDEOS PAGE
   ========================================================================== */

.sh-videos__body {
  max-width: 900px;
  margin-inline: auto;
}

/* ==========================================================================
   35. BOOK A SCHOOL VISIT
   ========================================================================== */

.sh-visit__inner {
  display: grid;
  gap: var(--space-12);
  align-items: start;
}

.sh-visit__heading {
  margin-bottom: var(--space-3);
  color: var(--color-primary);
}

.sh-visit__intro {
  margin-bottom: var(--space-8);
  font-size: var(--text-lg);
  color: var(--color-muted);
}

/* Form */
.sh-visit-form {
  padding: var(--space-6);
  border-radius: var(--radius-lg);
  background-color: var(--color-white);
  box-shadow: var(--shadow-md);
}

.sh-visit-form__group {
  margin: 0 0 var(--space-6);
  padding: 0;
  border: 0;
}

.sh-visit-form__legend {
  width: 100%;
  margin-bottom: var(--space-4);
  padding-bottom: var(--space-2);
  border-bottom: 2px solid var(--color-bg-alt);
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 800;
  color: var(--color-navy);
}

.sh-visit-form__row {
  display: grid;
  gap: 0 var(--space-6);
}

.sh-visit-form .sh-form__group {
  margin-bottom: var(--space-4);
}

.sh-visit-form .sh-form__label span {
  color: var(--color-tertiary);
}

.sh-visit-form .sh-form__select {
  padding-right: calc(var(--space-8) + var(--space-2));
  background-image: linear-gradient(45deg, transparent 50%, var(--color-muted) 50%), linear-gradient(135deg, var(--color-muted) 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%;
  background-size: 6px 6px;
  background-repeat: no-repeat;
}

.sh-form__input[aria-invalid="true"],
.sh-form__select[aria-invalid="true"],
.sh-form__textarea[aria-invalid="true"] {
  border-color: var(--color-tertiary);
}

.sh-form__error {
  margin-top: var(--space-1);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-tertiary);
}

.sh-form__hint {
  margin-top: var(--space-1);
  font-size: var(--text-sm);
  color: var(--color-muted);
}

.sh-form__check {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--text-sm);
  line-height: 1.6;
  cursor: pointer;
}

.sh-form__check input {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  accent-color: var(--color-primary);
}

.sh-form__check a {
  color: var(--color-primary);
  text-decoration: underline;
}

.sh-visit-form__submit {
  width: 100%;
}

.sh-visit-form__submit:disabled {
  opacity: 0.7;
  cursor: progress;
}

.sh-visit-form__recaptcha {
  margin-top: var(--space-3);
  text-align: center;
}

.sh-visit-form__recaptcha a {
  color: inherit;
  text-decoration: underline;
}

/* Honeypot — off-screen, not display:none (some bots skip hidden fields) */
.sh-visit-form__hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.sh-visit-form .sh-form__message {
  margin: 0 0 var(--space-6);
  font-size: var(--text-base);
}

.sh-visit-form .sh-form__message:focus {
  outline: 3px solid var(--color-primary);
  outline-offset: 2px;
}

/* Hide the reCAPTCHA badge — the text notice above satisfies Google's terms */
.grecaptcha-badge {
  visibility: hidden;
}

/* Aside */
.sh-visit__aside {
  display: grid;
  gap: var(--space-6);
}

.sh-visit__card {
  padding: var(--space-8) var(--space-6);
  border-radius: var(--radius-lg);
  background-color: var(--color-bg-alt);
}

.sh-visit__card--navy {
  background-color: var(--color-navy);
  color: var(--color-white);
}

.sh-visit__card-title {
  margin-bottom: var(--space-6);
  font-size: var(--text-2xl);
  color: var(--color-navy);
}

.sh-visit__card--navy .sh-visit__card-title {
  color: var(--color-white);
}

.sh-visit__steps {
  display: grid;
  gap: var(--space-4);
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: sh-step;
}

.sh-visit__step {
  position: relative;
  padding-left: var(--space-12);
  counter-increment: sh-step;
}

.sh-visit__step::before {
  content: counter(sh-step);
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  background-color: var(--color-primary);
  color: var(--color-white);
  font-weight: 700;
  font-size: var(--text-sm);
}

.sh-visit__step strong {
  display: block;
  color: var(--color-navy);
}

.sh-visit__step span {
  font-size: var(--text-sm);
  color: var(--color-muted);
}

.sh-visit__contact {
  display: grid;
  gap: var(--space-3);
  margin: 0 0 var(--space-6);
  padding: 0;
  list-style: none;
}

.sh-visit__contact li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
}

.sh-visit__contact .sh-icon {
  flex-shrink: 0;
  margin-top: 3px;
}

.sh-visit__contact a {
  font-weight: 600;
  color: var(--color-white);
}

.sh-visit__contact a:hover {
  color: var(--color-accent);
}

@media (min-width: 640px) {
  .sh-visit-form { padding: var(--space-8); }
  .sh-visit-form__row { grid-template-columns: 1fr 1fr; }
  .sh-visit-form__submit { width: auto; }
}

@media (min-width: 1024px) {
  .sh-visit__inner { grid-template-columns: 7fr 4fr; gap: var(--space-16); }
  .sh-visit__aside { position: sticky; top: calc(var(--header-h) + var(--space-8)); }
}

/* ==========================================================================
   36. STICKY MOBILE CTA BAR
   ========================================================================== */

.sh-cta-bar {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: calc(var(--z-header) - 2); /* below the open site menu */
  display: flex;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-3) calc(var(--space-2) + env(safe-area-inset-bottom, 0px));
  background-color: var(--color-white);
  box-shadow: 0 -6px 24px rgba(10, 34, 64, 0.15);
  transition: transform var(--transition-base), visibility 0s;
}

/* With JS the bar waits until the visitor scrolls past the first screen */
.js .sh-cta-bar:not(.is-visible) {
  transform: translateY(110%);
  visibility: hidden;
  transition: transform var(--transition-base), visibility 0s linear var(--transition-base);
}

.sh-cta-bar__primary {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  min-height: 48px;
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  background-color: var(--color-accent);
  color: var(--color-white);
  font-size: var(--text-base);
  font-weight: 600;
  box-shadow: var(--shadow-btn);
}

.sh-cta-bar__primary:hover,
.sh-cta-bar__primary:focus-visible {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.sh-cta-bar__icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border: 2px solid var(--color-primary);
  border-radius: var(--radius-full);
  color: var(--color-primary);
}

.sh-cta-bar__icon--whatsapp {
  border-color: var(--color-secondary);
  background-color: var(--color-secondary);
  color: var(--color-navy);
}

.sh-cta-bar__icon:hover {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-white);
}

/* The bar carries WhatsApp on phones, so drop the floating button there */
body:has(.sh-cta-bar) .sh-whatsapp {
  display: none;
}

/* No JS: the bar is always shown, so keep the footer clear of it */
html:not(.js) body:has(.sh-cta-bar) {
  padding-bottom: 72px;
}

@media (min-width: 768px) {
  .sh-cta-bar { display: none; }
  body:has(.sh-cta-bar) .sh-whatsapp { display: inline-flex; }
  html:not(.js) body:has(.sh-cta-bar) { padding-bottom: 0; }
}

/* ==========================================================================
   37. PARENT HUB
   ========================================================================== */

.sh-hub [id] {
  scroll-margin-top: calc(var(--header-h) + var(--space-6));
}

.sh-hub [tabindex="-1"]:focus {
  outline: none;
}

.sh-hub-intro__header {
  max-width: 760px;
  margin: 0 auto var(--space-12);
  text-align: center;
}

.sh-hub-intro__heading {
  margin-bottom: var(--space-4);
  color: var(--color-primary);
}

.sh-hub-intro__text {
  font-size: var(--text-lg);
  color: var(--color-muted);
}

/* Quick-link tiles */
.sh-hub-tiles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
  list-style: none;
  margin: 0;
  padding: 0;
}

.sh-hub-tile {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-2);
  height: 100%;
  padding: var(--space-6);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-lg);
  background-color: var(--color-white);
  color: var(--color-text);
  transition: border-color var(--transition-fast), box-shadow var(--transition-base), translate var(--transition-base);
}

.sh-hub-tile:hover,
.sh-hub-tile:focus-visible {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-md);
  translate: 0 -3px;
}

.sh-hub-tile__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: var(--space-2);
  border-radius: var(--radius-md);
  background-color: var(--color-bg-alt);
  color: var(--color-primary);
}

.sh-hub-tile__title {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 800;
  color: var(--color-navy);
}

.sh-hub-tile__note {
  font-size: var(--text-sm);
  color: var(--color-muted);
}

/* FAQ */
.sh-faq__inner {
  max-width: 880px;
}

.sh-faq__header {
  margin-bottom: var(--space-8);
  text-align: center;
}

.sh-faq__heading {
  margin-bottom: var(--space-6);
  color: var(--color-primary);
}

.sh-faq__tools {
  display: grid;
  gap: var(--space-4);
  justify-items: center;
}

.sh-faq__tools[hidden] {
  display: none;
}

.sh-faq__search {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  width: min(100%, 480px);
  padding: 0 var(--space-4);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-full);
  background-color: var(--color-white);
  color: var(--color-muted);
}

.sh-faq__search:focus-within {
  border-color: var(--color-primary);
}

.sh-faq__search input {
  flex: 1;
  min-height: 48px;
  border: 0;
  background: transparent;
  font: inherit;
  color: var(--color-text);
}

.sh-faq__search input:focus {
  outline: none;
}

.sh-faq__chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-2);
}

.sh-faq__chip {
  min-height: 40px;
  padding: var(--space-1) var(--space-4);
  border: 2px solid var(--color-primary);
  border-radius: var(--radius-full);
  background-color: var(--color-white);
  color: var(--color-primary);
  font: inherit;
  font-size: var(--text-sm);
  font-weight: 600;
  cursor: pointer;
}

.sh-faq__chip[aria-pressed="true"] {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.sh-faq__group + .sh-faq__group {
  margin-top: calc(var(--space-8) + var(--space-2));
}

.sh-faq__topic {
  margin-bottom: var(--space-3);
  font-size: var(--text-xl);
  color: var(--color-navy);
}

.sh-faq__item {
  margin-bottom: var(--space-3);
  border-radius: var(--radius-md);
  background-color: var(--color-white);
  box-shadow: var(--shadow-sm);
}

.sh-faq__question {
  position: relative;
  padding: var(--space-4) var(--space-12) var(--space-4) var(--space-6);
  font-weight: 600;
  color: var(--color-text);
  list-style: none;
  cursor: pointer;
}

.sh-faq__question::-webkit-details-marker {
  display: none;
}

.sh-faq__question::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: var(--space-6);
  font-size: var(--text-2xl);
  line-height: 1;
  color: var(--color-primary);
  transform: translateY(-50%);
}

.sh-faq__item[open] .sh-faq__question::after {
  content: "\2212";
}

.sh-faq__answer {
  padding: 0 var(--space-6) var(--space-6);
  color: var(--color-muted);
}

.sh-faq__empty {
  text-align: center;
  color: var(--color-muted);
}

.sh-faq__empty a {
  color: var(--color-primary);
  text-decoration: underline;
}

/* Download Centre */
.sh-downloads__heading,
.sh-calendar__heading {
  margin-bottom: var(--space-8);
  text-align: center;
  color: var(--color-primary);
}

.sh-downloads__grid {
  display: grid;
  gap: var(--space-8);
}

.sh-downloads__cat {
  margin-bottom: var(--space-3);
  font-size: var(--text-xl);
  color: var(--color-navy);
}

.sh-downloads__list {
  display: grid;
  gap: var(--space-3);
  margin: 0;
  padding: 0;
  list-style: none;
}

.sh-download {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-4);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  color: var(--color-text);
}

.sh-download:hover,
.sh-download:focus-visible {
  border-color: var(--color-primary);
  background-color: var(--color-bg-alt);
}

.sh-download__icon,
.sh-download__action {
  flex-shrink: 0;
  color: var(--color-primary);
}

.sh-download__body {
  flex: 1;
  display: grid;
}

.sh-download__title {
  font-weight: 600;
}

.sh-download__meta {
  font-size: var(--text-sm);
  color: var(--color-muted);
}

/* Calendar */
.sh-calendar__grid {
  display: grid;
  gap: var(--space-6);
}

.sh-calendar__card {
  padding: var(--space-6);
  border-radius: var(--radius-lg);
  background-color: var(--color-white);
  box-shadow: var(--shadow-sm);
}

.sh-calendar__sub {
  margin-bottom: var(--space-4);
  font-size: var(--text-xl);
  color: var(--color-navy);
}

.sh-calendar__terms {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--text-sm);
}

.sh-calendar__terms th,
.sh-calendar__terms td {
  padding: var(--space-3) var(--space-2);
  border-bottom: 1px solid var(--color-border);
  text-align: left;
}

.sh-calendar__terms thead th {
  color: var(--color-muted);
  font-weight: 600;
}

.sh-calendar__events {
  display: grid;
  gap: var(--space-4);
  margin: 0 0 var(--space-4);
  padding: 0;
  list-style: none;
}

.sh-calendar__event {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.sh-calendar__event a {
  font-weight: 600;
  color: var(--color-text);
}

.sh-calendar__event a:hover {
  color: var(--color-primary);
}

.sh-calendar__date {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background-color: var(--color-primary);
  color: var(--color-white);
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  line-height: 1.1;
}

.sh-calendar__date span {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 800;
}

.sh-calendar__when {
  display: block;
  font-size: var(--text-sm);
  color: var(--color-muted);
}

.sh-calendar__all {
  font-weight: 600;
  color: var(--color-primary);
}

/* Key contacts band */
.sh-key-contacts {
  padding-block: var(--space-12);
  background-color: var(--color-navy);
  color: var(--color-white);
}

.sh-key-contacts__inner {
  display: grid;
  gap: var(--space-6);
  align-items: center;
}

.sh-key-contacts__title {
  margin-bottom: var(--space-2);
  font-size: var(--text-2xl);
  white-space: nowrap;
  color: var(--color-white);
}

.sh-key-contacts__hours {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--color-white);
}

.sh-key-contacts__list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3) var(--space-6);
  margin: 0;
  padding: 0;
  list-style: none;
}

.sh-key-contacts__list a,
.sh-key-contacts__safety {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-weight: 600;
  color: var(--color-white);
}

.sh-key-contacts__list a:hover,
.sh-key-contacts__safety:hover {
  color: var(--color-accent);
}

.sh-key-contacts__safety {
  justify-self: start;
  padding: var(--space-2) var(--space-4);
  border: 2px solid rgba(255, 255, 255, 0.6);
  border-radius: var(--radius-full);
}

@media (min-width: 768px) {
  .sh-hub-tiles { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
  .sh-downloads__grid { grid-template-columns: repeat(2, 1fr); }
  .sh-calendar__grid { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
}

@media (min-width: 1024px) {
  .sh-key-contacts__inner { grid-template-columns: auto 1fr auto; gap: var(--space-12); }
}

/* ==========================================================================
   38. ACCESSIBILITY — contrast fixes (WCAG AA)
   ========================================================================== */

/* Grey text falls just under 4.5:1 on ice-blue / peach backgrounds — darken it there */
.section--alt,
.section--warm,
.sh-promise,
.sh-timeline__card,
.sh-principle,
.sh-visit__card,
.sh-leadership__scripture,
.sh-contact__quick-link--primary {
  --color-muted: var(--color-muted-strong);
}

/* Small orange text and markers need the deeper orange */
.section__eyebrow,
.section__eyebrow--accent,
.sh-vm-card__eyebrow {
  color: var(--color-accent-strong);
}

.sh-vm-card--mission .sh-vm-card__eyebrow {
  color: var(--color-secondary-strong);
}

.sh-timeline__item:last-child .sh-timeline__label,
.sh-journey__step:last-child .sh-journey__num {
  background-color: var(--color-accent-strong);
}

/* Orange buttons: white text on the brand orange is 2.8:1, so fills use the
   deeper derived orange (5.05:1). The brand orange stays for glows/decoration. */
.btn--primary,
.sh-pill--accent,
.sh-cta-bar__primary {
  background-color: var(--color-accent-strong);
  border-color: var(--color-accent-strong);
}

.btn--primary:hover {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
}

.btn--outline {
  border-color: var(--color-accent-strong);
  color: var(--color-accent-strong);
}

.btn--outline:hover,
.sh-footer__directions:hover {
  background-color: var(--color-accent-strong);
}

/* Orange text on light backgrounds */
a:hover,
.sh-card__tag,
.sh-card__link:hover,
.sh-team-card__role,
.sh-class-card__age {
  color: var(--color-accent-strong);
}

.sh-contact__quick-link--primary {
  border-color: var(--color-accent-strong);
  color: var(--color-accent-strong);
}

/* ==========================================================================
   39. EVENTS — single event page
   ========================================================================== */

ul.sh-grid {
  margin: 0;
  padding: 0;
  list-style: none;
}

.sh-event-single__layout {
  display: grid;
  gap: var(--space-8);
  align-items: start;
}

.sh-event-single__content .wysiwyg {
  font-size: var(--text-lg);
  color: var(--color-muted);
}

.sh-event-single__meta {
  padding: var(--space-6);
  border-radius: var(--radius-lg);
  background-color: var(--color-bg-alt);
}

.sh-event-single__details {
  display: grid;
  gap: var(--space-4);
  margin: 0 0 var(--space-6);
}

.sh-event-single__row dt {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-1);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.sh-event-single__row dt .sh-icon {
  color: var(--color-primary);
}

.sh-event-single__row dd {
  margin: 0;
  font-weight: 600;
  color: var(--color-navy);
}

/* Fewer than three events: centre the cards instead of leaving an empty column */
@media (min-width: 640px) {
  .sh-grid--3:has(> li:only-child) {
    grid-template-columns: minmax(0, 380px);
    justify-content: center;
  }

  .sh-grid--3:has(> li:nth-child(2):last-child) {
    grid-template-columns: repeat(2, minmax(0, 380px));
    justify-content: center;
  }
}

@media (min-width: 1024px) {
  .sh-event-single__layout { grid-template-columns: 2fr 1fr; gap: var(--space-16); }
  .sh-event-single__meta { position: sticky; top: calc(var(--header-h) + var(--space-8)); }
}
