/*
 * Holy Home editorial design foundation — Phase 1
 *
 * Deliberately dormant until a future template opts in with `.hh-editorial`.
 * Values use `--hh-ed-` so current index.css tokens remain untouched.
 */

.hh-editorial {
  /* Verified canonical Holy Home values from index.css. */
  --hh-ed-brand-primary: #2c3780;
  --hh-ed-brand-secondary: #359650;
  --hh-ed-brand-accent: #ffc72c;

  /* Main-branch Holy Home neutral values. */
  --hh-ed-color-warm: #f8fafc;
  --hh-ed-color-white: #ffffff;
  --hh-ed-color-charcoal: #0f172a;
  --hh-ed-color-muted: #475569;
  --hh-ed-color-border: #e2e8f0;
  --hh-ed-color-overlay: rgb(27 35 85 / 68%);
  --hh-ed-bg-page: var(--hh-ed-color-warm);
  --hh-ed-bg-surface: var(--hh-ed-color-white);
  --hh-ed-bg-brand: var(--hh-ed-brand-primary);
  --hh-ed-bg-brand-secondary: var(--hh-ed-brand-secondary);
  --hh-ed-text: var(--hh-ed-color-charcoal);
  --hh-ed-text-muted: var(--hh-ed-color-muted);
  --hh-ed-text-on-brand: var(--hh-ed-color-white);
  --hh-ed-border: var(--hh-ed-color-border);
  --hh-ed-focus-ring: rgb(244 180 0 / 70%);

  /* No font is downloaded in Phase 1; this is only a future display stack. */
  --hh-ed-font-display: "DM Serif Display", Georgia, "Times New Roman", serif;
  --hh-ed-font-interface: "Outfit", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --hh-ed-font-body: "Plantin Roman", Georgia, "Times New Roman", serif;

  --hh-ed-space-1: 0.25rem;
  --hh-ed-space-2: 0.5rem;
  --hh-ed-space-3: 0.75rem;
  --hh-ed-space-4: 1rem;
  --hh-ed-space-5: 1.5rem;
  --hh-ed-space-6: 2rem;
  --hh-ed-space-7: 3rem;
  --hh-ed-space-8: 4rem;
  --hh-ed-space-9: 6rem;
  --hh-ed-space-10: 8rem;
  --hh-ed-gutter: 1.25rem;
  --hh-ed-container: 80rem;
  --hh-ed-reading: 44rem;
  --hh-ed-section-space: clamp(4rem, 8vw, 8rem);
  --hh-ed-radius: 0.75rem;
  --hh-ed-radius-media: 1rem;
  --hh-ed-motion-fast: 150ms;
  --hh-ed-motion-normal: 250ms;
  --hh-ed-motion-slow: 400ms;
  --hh-ed-ease: cubic-bezier(0.2, 0, 0, 1);
}

/* Containers and section rhythm */
.hh-editorial .hh-ed-container,
.hh-editorial .hh-ed-container--wide,
.hh-editorial .hh-ed-container--reading {
  width: min(100% - (2 * var(--hh-ed-gutter)), var(--hh-ed-container));
  margin-inline: auto;
}
.hh-editorial .hh-ed-container--wide { max-width: 90rem; }
.hh-editorial .hh-ed-container--reading { max-width: var(--hh-ed-reading); }
.hh-editorial .hh-ed-full-bleed { width: 100%; }
.hh-editorial .hh-ed-section { padding-block: var(--hh-ed-section-space); }
.hh-editorial .hh-ed-section--surface { background: var(--hh-ed-bg-surface); }
.hh-editorial .hh-ed-section--warm { background: var(--hh-ed-bg-page); }
.hh-editorial .hh-ed-section--brand { background: var(--hh-ed-bg-brand); color: var(--hh-ed-text-on-brand); }

/* Typography */
.hh-editorial .hh-ed-eyebrow {
  margin: 0 0 var(--hh-ed-space-3); color: var(--hh-ed-brand-secondary);
  font-family: var(--hh-ed-font-interface); font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.12em; line-height: 1.3; text-transform: uppercase;
}
.hh-editorial .hh-ed-display,
.hh-editorial .hh-ed-section-title,
.hh-editorial .hh-ed-subheading {
  color: var(--hh-ed-text); font-family: var(--hh-ed-font-display); font-weight: 400;
  letter-spacing: -0.025em; text-wrap: balance;
}
.hh-editorial .hh-ed-display { font-size: clamp(2.5rem, 5vw, 5.25rem); line-height: 0.98; }
.hh-editorial .hh-ed-section-title { font-size: clamp(2rem, 3.4vw, 3.5rem); line-height: 1.05; }
.hh-editorial .hh-ed-subheading { font-size: clamp(1.5rem, 2.1vw, 2.25rem); line-height: 1.15; }
.hh-editorial .hh-ed-lead { color: var(--hh-ed-text); font-family: var(--hh-ed-font-body); font-size: clamp(1rem, 1.4vw, 1.25rem); line-height: 1.65; }
.hh-editorial .hh-ed-body,
.hh-editorial .hh-ed-supporting { font-family: var(--hh-ed-font-body); line-height: 1.65; }
.hh-editorial .hh-ed-body { color: var(--hh-ed-text); }
.hh-editorial .hh-ed-supporting { color: var(--hh-ed-text-muted); font-size: 0.9375rem; }
.hh-editorial .hh-ed-section--brand :is(.hh-ed-eyebrow, .hh-ed-display, .hh-ed-section-title, .hh-ed-subheading, .hh-ed-lead, .hh-ed-body, .hh-ed-supporting) { color: var(--hh-ed-text-on-brand); }

/* Future component foundations: no existing component has these classes. */
.hh-editorial .hh-ed-hero { background: var(--hh-ed-bg-brand); color: var(--hh-ed-text-on-brand); }
.hh-editorial .hh-ed-hero__media,
.hh-editorial .hh-ed-feature__media,
.hh-editorial .hh-ed-programme-card__media,
.hh-editorial .hh-ed-news-rail__featured-media,
.hh-editorial .hh-ed-news-card__media { display: block; width: 100%; overflow: hidden; }
.hh-editorial .hh-ed-hero__media { aspect-ratio: 16 / 9; }
.hh-editorial :is(.hh-ed-hero__media, .hh-ed-feature__media, .hh-ed-programme-card__media, .hh-ed-news-rail__featured-media, .hh-ed-news-card__media) > img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hh-editorial .hh-ed-hero__content { display: grid; gap: var(--hh-ed-space-5); padding: clamp(2rem, 5vw, 5rem) var(--hh-ed-gutter); background: var(--hh-ed-bg-brand); color: var(--hh-ed-text-on-brand); }
.hh-editorial .hh-ed-hero__actions,
.hh-editorial .hh-ed-campaign-band__actions { display: flex; flex-wrap: wrap; gap: var(--hh-ed-space-3); }
.hh-editorial .hh-ed-action { display: inline-flex; min-height: 2.75rem; align-items: center; justify-content: center; border: 2px solid currentColor; border-radius: 0.25rem; padding: 0.625rem 1rem; font-family: var(--hh-ed-font-interface); font-weight: 700; line-height: 1.2; text-align: center; text-decoration: none; transition: background-color var(--hh-ed-motion-normal) var(--hh-ed-ease), color var(--hh-ed-motion-normal) var(--hh-ed-ease), border-color var(--hh-ed-motion-normal) var(--hh-ed-ease); }
.hh-editorial .hh-ed-action--primary { border-color: var(--hh-ed-brand-accent); background: var(--hh-ed-brand-accent); color: var(--hh-ed-color-charcoal); }
.hh-editorial .hh-ed-action--secondary { background: transparent; color: var(--hh-ed-text-on-brand); }
.hh-editorial .hh-ed-action:hover { filter: brightness(1.05); }
.hh-editorial .hh-ed-action:focus-visible,
.hh-editorial :is(a, button, input, select, textarea):focus-visible { outline: 3px solid var(--hh-ed-focus-ring); outline-offset: 3px; }
.hh-editorial .hh-ed-section-intro { display: grid; gap: var(--hh-ed-space-4); max-width: var(--hh-ed-reading); margin-bottom: clamp(2rem, 4vw, 4rem); }
.hh-editorial .hh-ed-feature { display: grid; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.hh-editorial .hh-ed-feature__media { aspect-ratio: 4 / 3; border-radius: var(--hh-ed-radius-media); }
.hh-editorial .hh-ed-feature__content { display: grid; gap: var(--hh-ed-space-4); }
.hh-editorial .hh-ed-programme-grid,
.hh-editorial .hh-ed-news-rail__secondary { display: grid; gap: var(--hh-ed-space-5); }
.hh-editorial .hh-ed-programme-card,
.hh-editorial .hh-ed-news-card { display: grid; overflow: hidden; border: 1px solid var(--hh-ed-border); border-radius: var(--hh-ed-radius); background: var(--hh-ed-bg-surface); }
.hh-editorial .hh-ed-programme-card__media { aspect-ratio: 4 / 3; }
.hh-editorial :is(.hh-ed-programme-card__content, .hh-ed-news-card__content) { display: grid; gap: var(--hh-ed-space-3); padding: var(--hh-ed-space-5); }
.hh-editorial .hh-ed-news-rail { display: grid; gap: var(--hh-ed-space-5); }
.hh-editorial .hh-ed-news-rail__featured { display: grid; overflow: hidden; background: var(--hh-ed-bg-surface); }
.hh-editorial .hh-ed-news-rail__featured-media,
.hh-editorial .hh-ed-news-card__media { aspect-ratio: 16 / 10; }
.hh-editorial .hh-ed-news-rail__featured-content { display: grid; align-content: center; gap: var(--hh-ed-space-4); padding: clamp(1.5rem, 4vw, 4rem); }
.hh-editorial .hh-ed-campaign-band { display: grid; gap: var(--hh-ed-space-5); padding: clamp(2rem, 5vw, 5rem); background: var(--hh-ed-bg-brand-secondary); color: var(--hh-ed-text-on-brand); }
.hh-editorial .hh-ed-campaign-band :is(.hh-ed-display, .hh-ed-section-title, .hh-ed-subheading, .hh-ed-lead, .hh-ed-body, .hh-ed-supporting, .hh-ed-eyebrow) { color: var(--hh-ed-text-on-brand); }

@media (min-width: 48rem) {
  .hh-editorial { --hh-ed-gutter: 2rem; }
  .hh-editorial .hh-ed-hero { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(22rem, 0.85fr); min-height: min(52rem, 100svh); }
  .hh-editorial .hh-ed-hero__media { aspect-ratio: auto; }
  .hh-editorial .hh-ed-hero__content { align-content: center; padding-inline: clamp(2rem, 5vw, 5rem); }
  .hh-editorial .hh-ed-feature { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hh-editorial .hh-ed-feature--media-end .hh-ed-feature__media { order: 2; }
  .hh-editorial .hh-ed-programme-grid,
  .hh-editorial .hh-ed-news-rail__secondary,
  .hh-editorial .hh-ed-news-rail__featured { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 75rem) {
  .hh-editorial { --hh-ed-gutter: 3rem; }
  .hh-editorial .hh-ed-programme-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .hh-editorial .hh-ed-news-rail { grid-template-columns: minmax(0, 1.35fr) minmax(20rem, 0.65fr); }
  .hh-editorial .hh-ed-news-rail__secondary { grid-template-columns: 1fr; }
}
@media (max-width: 26.875rem) {
  .hh-editorial .hh-ed-hero__actions,
  .hh-editorial .hh-ed-campaign-band__actions { display: grid; }
  .hh-editorial .hh-ed-action { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .hh-editorial *, .hh-editorial *::before, .hh-editorial *::after { scroll-behavior: auto; transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}

/* Phase 2 homepage composition. These rules only activate within the homepage
 * editorial wrapper and intentionally do not target the shared header/footer. */
.hh-editorial .hh-ed-home-hero {
  min-height: min(48rem, calc(100svh - 2.5rem));
  padding: clamp(10rem, 16vw, 13.5rem) 0 clamp(5rem, 10vw, 8rem);
  background: var(--hh-ed-bg-brand);
}

.hh-editorial .hero-overlay {
  background: linear-gradient(135deg, rgb(27 35 85 / 80%) 0%, rgb(27 35 85 / 65%) 55%, rgb(53 150 80 / 35%) 100%);
}

.hh-editorial .hero-container {
  display: block;
  max-width: var(--hh-ed-container);
}

.hh-editorial .hero-content {
  max-width: 43rem;
}

.hh-editorial .hero-badge-highlight {
  margin-bottom: var(--hh-ed-space-5);
  border-color: rgb(255 199 44 / 55%);
  background: rgb(255 255 255 / 8%);
}

.hh-editorial .hero-title {
  max-width: 10ch;
  margin-bottom: var(--hh-ed-space-5);
  color: var(--hh-ed-text-on-brand);
  font-family: var(--hh-ed-font-display);
  font-size: clamp(3.25rem, 5.8vw, 6rem);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.035em;
}

.hh-editorial .hero-title em {
  color: var(--hh-ed-brand-accent);
  font-weight: 400;
}

.hh-editorial .hero-description {
  max-width: 38rem;
  margin-bottom: var(--hh-ed-space-6);
  color: rgb(255 255 255 / 92%);
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
}

.hh-editorial .hero-actions { gap: var(--hh-ed-space-3); }
.hh-editorial .hero-actions .btn { border-radius: 0.25rem; }
.hh-editorial .hero-actions .btn-outline-white { background: rgb(255 255 255 / 8%); }
.hh-editorial .hero-badges-wrapper { display: none; }
.hh-editorial .hero-carousel-indicators { bottom: 1.75rem; left: auto; right: max(1.5rem, calc((100vw - var(--hh-ed-container)) / 2)); transform: none; }
.hh-editorial .carousel-indicator { width: 0.7rem; height: 0.7rem; border-color: rgb(255 255 255 / 65%); }

.hh-editorial .hh-ed-utility-strip {
  position: relative;
  z-index: 2;
  padding: 0 0 var(--hh-ed-space-7);
  background: var(--hh-ed-bg-surface);
}

.hh-editorial .hh-ed-utility-strip .quick-actions-grid {
  position: relative;
  margin-top: clamp(-3rem, -5vw, -4.5rem);
  gap: 0;
  border: 1px solid var(--hh-ed-border);
  border-radius: var(--hh-ed-radius);
  background: var(--hh-ed-bg-surface);
  box-shadow: 0 1rem 3rem rgb(26 34 60 / 10%);
}

.hh-editorial .hh-ed-utility-strip .action-card {
  min-height: 7rem;
  padding: var(--hh-ed-space-5);
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.hh-editorial .hh-ed-utility-strip .action-card + .action-card { border-left: 1px solid var(--hh-ed-border); }
.hh-editorial .hh-ed-utility-strip .action-card:hover { transform: none; background: var(--hh-ed-color-warm); box-shadow: none; }
.hh-editorial .hh-ed-utility-strip .action-card-icon { width: 2.75rem; height: 2.75rem; border-radius: 50%; }
.hh-editorial .hh-ed-utility-strip .action-card-arrow { color: var(--hh-ed-brand-secondary); }

.hh-editorial .hh-ed-statements { padding: 0 0 var(--hh-ed-section-space); background: var(--hh-ed-bg-surface); }
.hh-editorial .hh-ed-statements .stats-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; overflow: hidden; border-radius: var(--hh-ed-radius); background: rgb(255 255 255 / 14%); }
.hh-editorial .hh-ed-statements .stat-card { padding: var(--hh-ed-space-5); background: var(--hh-ed-bg-brand); border: 0; box-shadow: none; }
.hh-editorial .hh-ed-statements .stat-card:hover { transform: none; box-shadow: none; }
.hh-editorial .hh-ed-statements .stat-icon-wrapper { display: none; }
.hh-editorial .hh-ed-statements .stat-info { align-items: flex-start; }
.hh-editorial .hh-ed-statements .stat-number,
.hh-editorial .hh-ed-statements .stat-suffix { color: var(--hh-ed-brand-accent); font-family: var(--hh-ed-font-display); font-size: 2rem; font-weight: 400; }
.hh-editorial .hh-ed-statements .stat-label { color: var(--hh-ed-text-on-brand); }

.hh-editorial .hh-ed-school-intro { overflow: hidden; }
.hh-editorial .hh-ed-school-intro .hh-ed-feature__media { box-shadow: 1.5rem 1.5rem 0 var(--hh-ed-brand-secondary); }
.hh-editorial .hh-ed-text-link { color: var(--hh-ed-brand-primary); font-family: var(--hh-ed-font-interface); font-weight: 700; text-decoration: none; }
.hh-editorial .hh-ed-text-link:hover { color: var(--hh-ed-brand-secondary); }

.hh-editorial .hh-ed-news-section { padding-block: var(--hh-ed-section-space); background: var(--hh-ed-bg-surface); }
.hh-editorial .hh-ed-news-section .section-header { margin-inline: 0; text-align: left; }
.hh-editorial .hh-ed-news-section .announcements-split-grid { align-items: stretch; }
.hh-editorial .announcement-preview-label { margin-bottom: var(--hh-ed-space-3); color: var(--hh-ed-brand-secondary); font-family: var(--hh-ed-font-interface); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.hh-editorial .announcement-featured-card { min-height: 100%; border-radius: var(--hh-ed-radius); background: var(--hh-ed-bg-brand); box-shadow: none; }
.hh-editorial .announcement-featured-card:hover { transform: none; box-shadow: none; }
.hh-editorial .announcement-featured-title { font-family: var(--hh-ed-font-display); font-size: clamp(1.75rem, 3vw, 2.75rem); font-weight: 400; line-height: 1.05; }
.hh-editorial .announcement-list-card { border-radius: 0; border-width: 0 0 1px; box-shadow: none; }
.hh-editorial .announcement-list-card:hover { transform: none; border-color: var(--hh-ed-border); box-shadow: none; }
.hh-editorial .announcements-cta { justify-content: flex-start; }

.hh-editorial .hh-ed-academics-section { padding-block: var(--hh-ed-section-space); background: var(--hh-ed-color-warm); }
.hh-editorial .hh-ed-academics-section .section-header { margin-inline: 0; text-align: left; }
.hh-editorial .hh-ed-academics-section .tab-control-wrapper { justify-content: flex-start; margin-bottom: var(--hh-ed-space-6); }
.hh-editorial .hh-ed-academics-section .tab-controls { border-radius: 0.25rem; background: transparent; border: 0; padding: 0; gap: var(--hh-ed-space-2); }
.hh-editorial .hh-ed-academics-section .tab-btn { border: 1px solid var(--hh-ed-border); border-radius: 999px; background: var(--hh-ed-bg-surface); }
.hh-editorial .hh-ed-academics-section .panel-grid { gap: clamp(2rem, 6vw, 6rem); }
.hh-editorial .hh-ed-academics-section .panel-title { font-family: var(--hh-ed-font-display); font-size: clamp(2rem, 3.4vw, 3.5rem); font-weight: 400; line-height: 1.05; }
.hh-editorial .hh-ed-academics-section .panel-illustration { border-radius: var(--hh-ed-radius-media); background: var(--hh-ed-bg-brand); }
.hh-editorial .hh-ed-academics-section .panel-illustration img { width: 100%; height: 100%; object-fit: cover; }
.hh-editorial .hh-ed-academics-section .panel-illustration::after { content: ""; position: absolute; inset: 0; background: linear-gradient(145deg, rgb(44 55 128 / 18%), transparent 60%); pointer-events: none; }

.hh-editorial .hh-ed-schools { background: var(--hh-ed-bg-surface); }
.hh-editorial .hh-ed-schools-grid { display: grid; gap: var(--hh-ed-space-5); }
.hh-editorial .hh-ed-school-card { display: grid; min-height: 25rem; overflow: hidden; position: relative; border-radius: var(--hh-ed-radius-media); background: var(--hh-ed-bg-brand); color: var(--hh-ed-text-on-brand); }
.hh-editorial .hh-ed-school-card > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.7; transition: transform var(--hh-ed-motion-slow) var(--hh-ed-ease); }
.hh-editorial .hh-ed-school-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgb(44 55 128 / 8%) 10%, rgb(44 55 128 / 86%) 100%); }
.hh-editorial .hh-ed-school-card__content { display: grid; position: relative; z-index: 1; align-content: end; gap: var(--hh-ed-space-3); padding: var(--hh-ed-space-6); }
.hh-editorial .hh-ed-school-card :is(.hh-ed-eyebrow, .hh-ed-subheading, .hh-ed-text-link) { color: var(--hh-ed-text-on-brand); }
.hh-editorial .hh-ed-school-card:hover > img { transform: scale(1.04); }

.hh-editorial .hh-ed-facilities-section { padding-block: var(--hh-ed-section-space); background: var(--hh-ed-color-warm); }
.hh-editorial .hh-ed-facilities-section .section-header { margin-inline: 0; text-align: left; }
.hh-editorial .hh-ed-facilities-section .facilities-grid { gap: var(--hh-ed-space-4); margin-top: 0; }
.hh-editorial .hh-ed-facilities-section .facility-card { border-radius: var(--hh-ed-radius); border: 1px solid var(--hh-ed-border); box-shadow: none; }
.hh-editorial .hh-ed-facilities-section .facility-card:hover { transform: translateY(-0.25rem); box-shadow: 0 1rem 2rem rgb(35 36 36 / 10%); }
.hh-editorial .hh-ed-facilities-section .facility-card-body { padding: var(--hh-ed-space-4); }
.hh-editorial .hh-ed-facilities-section .facility-card-title { color: var(--hh-ed-brand-primary); }

.hh-editorial .hh-ed-principal-section { padding-block: var(--hh-ed-section-space); background: var(--hh-ed-bg-surface); }
.hh-editorial .hh-ed-principal-section .principal-image-frame { border-radius: var(--hh-ed-radius-media); overflow: hidden; box-shadow: none; }
.hh-editorial .hh-ed-principal-section .principal-decorative-box { background: var(--hh-ed-brand-secondary); }
.hh-editorial .hh-ed-principal-section .section-title { font-family: var(--hh-ed-font-display); font-weight: 400; }

.hh-editorial .hh-ed-admissions-campaign { background: var(--hh-ed-bg-page); }
.hh-editorial .hh-ed-campaign-band { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: end; border-radius: var(--hh-ed-radius-media); }
.hh-editorial .hh-ed-campaign-band .hh-ed-section-title { font-size: clamp(2.25rem, 4.4vw, 4.5rem); }
.hh-editorial .hh-ed-campaign-band .hh-ed-eyebrow { color: var(--hh-ed-brand-accent); }
.hh-editorial .hh-ed-campaign-band .hh-ed-lead { max-width: 34rem; margin-bottom: var(--hh-ed-space-5); }

.hh-editorial .hh-ed-contact-section { padding-block: var(--hh-ed-section-space); background: var(--hh-ed-bg-surface); }
.hh-editorial .hh-ed-contact-section > .container > .section-header { margin-inline: 0; text-align: left; }

@media (min-width: 64rem) {
  .hh-editorial .hh-ed-utility-strip .quick-actions-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .hh-editorial .hh-ed-schools-grid { grid-template-columns: 1.25fr repeat(2, 1fr); }
  .hh-editorial .hh-ed-school-card--featured { min-height: 31rem; }
  .hh-editorial .hh-ed-school-card:not(.hh-ed-school-card--featured) { min-height: 31rem; }
}

@media (max-width: 63.99rem) {
  .hh-editorial .hh-ed-utility-strip .quick-actions-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hh-editorial .hh-ed-utility-strip .action-card:nth-child(odd) { border-left: 0; }
  .hh-editorial .hh-ed-utility-strip .action-card:nth-child(n + 3) { border-top: 1px solid var(--hh-ed-border); }
  .hh-editorial .hh-ed-schools-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hh-editorial .hh-ed-school-card { min-height: 22rem; }
}

@media (max-width: 47.99rem) {
  .hh-editorial .hh-ed-home-hero { min-height: 0; padding: 0; }
  .hh-editorial .hero-backgrounds { position: relative; height: min(68vw, 28rem); }
  .hh-editorial .hero-bg-slide { background-position: center; }
  .hh-editorial .hero-overlay { display: none; }
  .hh-editorial .hero-container { padding: 0; }
  .hh-editorial .hero-content { max-width: none; min-height: 0; padding: 2.75rem var(--hh-ed-gutter) 4.5rem; align-items: flex-start; text-align: left; background: var(--hh-ed-bg-brand); }
  .hh-editorial .hero-badge-highlight { margin-bottom: var(--hh-ed-space-4); }
  .hh-editorial .hero-title { font-size: clamp(3rem, 13vw, 4.4rem); }
  .hh-editorial .hero-description { margin-inline: 0; }
  .hh-editorial .hero-actions { width: 100%; }
  .hh-editorial .hero-actions .btn { flex: 1 1 14rem; }
  .hh-editorial .hero-carousel-indicators { bottom: 1.5rem; left: var(--hh-ed-gutter); right: auto; }
  .hh-editorial .hh-ed-utility-strip { padding-bottom: var(--hh-ed-space-7); }
  .hh-editorial .hh-ed-utility-strip .quick-actions-grid { margin-top: 0; border-radius: 0; border-inline: 0; }
  .hh-editorial .hh-ed-statements .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hh-editorial .hh-ed-statements .stat-card { padding: var(--hh-ed-space-4); }
  .hh-editorial .hh-ed-school-intro .hh-ed-feature__media { box-shadow: 0.75rem 0.75rem 0 var(--hh-ed-brand-secondary); }
  .hh-editorial .hh-ed-academics-section .tab-controls { width: 100%; }
  .hh-editorial .hh-ed-academics-section .tab-btn { padding: 0.65rem 0.85rem; font-size: 0.875rem; }
  .hh-editorial .hh-ed-schools-grid { grid-template-columns: 1fr; }
  .hh-editorial .hh-ed-school-card { min-height: 20rem; }
  .hh-editorial .hh-ed-campaign-band { grid-template-columns: 1fr; }
}

@media (max-width: 26.875rem) {
  .hh-editorial .hh-ed-utility-strip .quick-actions-grid { grid-template-columns: 1fr; }
  .hh-editorial .hh-ed-utility-strip .action-card + .action-card { border-left: 0; border-top: 1px solid var(--hh-ed-border); }
}

/* Phase 2B: homepage-only reference composition. The header and footer are
 * deliberately scoped through the homepage body class so internal pages retain
 * their established public chrome. */
body.hh-reference-home {
  --hh-ed-brand-primary: #2c3780;
  --hh-ed-brand-secondary: #359650;
  --hh-ed-brand-accent: #ffc72c;
  --hh-ed-color-warm: #f8fafc;
  --hh-ed-font-display: "DM Serif Display", Georgia, "Times New Roman", serif;
  --hh-ed-font-interface: "Outfit", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--hh-ed-color-warm);
}
body.hh-reference-home .top-utility-bar { display: none; }
body.hh-reference-home .main-header {
  position: absolute; top: 0; padding: 0; height: 5.25rem; background: transparent;
  border-bottom: 1px solid rgb(255 255 255 / 32%); backdrop-filter: none; color: #fff;
}
body.hh-reference-home .main-header.scrolled { position: fixed; padding: 0; height: 4.5rem; background: rgb(44 55 128 / 96%); border-color: rgb(255 255 255 / 18%); box-shadow: none; }
body.hh-reference-home .header-container { position: relative; display: flex; height: 100%; justify-content: flex-end; max-width: none; padding-inline: clamp(1rem, 2.5vw, 2.5rem); }
body.hh-reference-home .logo-area { position: absolute; left: 50%; top: 50%; z-index: 1002; gap: .4rem; transform: translate(-50%, -50%); }
body.hh-reference-home .main-header .logo-image { height: 3.1rem; padding: 0; border-radius: 0; background: transparent; }
body.hh-reference-home .logo-text { color: #fff; font-size: 1rem; letter-spacing: .02em; }
body.hh-reference-home .logo-subtext { color: var(--hh-ed-brand-accent); font-size: .53rem; letter-spacing: .25em; }
body.hh-reference-home .nav-actions { margin-left: 0; }
body.hh-reference-home .btn-header-cta { min-height: auto; border: 0; border-left: 1px solid rgb(255 255 255 / 32%); border-radius: 0; padding: 1.9rem clamp(.8rem, 1.5vw, 1.5rem); background: transparent; color: #fff; font-size: .65rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
body.hh-reference-home .btn-header-cta:hover { background: var(--hh-ed-brand-secondary); color: #fff; }
body.hh-reference-home .mobile-nav-toggle { position: absolute; left: clamp(1rem, 2.5vw, 2.5rem); top: 50%; display: inline-flex; align-items: center; gap: .5rem; transform: translateY(-50%); padding: .5rem 0; color: #fff; }
body.hh-reference-home .mobile-nav-toggle::after { content: "Menu"; font-family: var(--hh-ed-font-interface); font-size: .65rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
body.hh-reference-home .mobile-nav-toggle .hamburger { width: 1.15rem; }
/* !important is limited to the drawer geometry because index.css declares its
 * legacy mobile drawer in a later breakpoint; this must be full-screen here. */
body.hh-reference-home .nav-menu { display: none; position: fixed; inset: 0; right: 0 !important; width: 100vw !important; height: 100svh !important; z-index: 1001; overflow-y: auto; padding: clamp(7rem, 12vw, 10rem) clamp(2rem, 11vw, 11rem) 3rem; background: linear-gradient(90deg, var(--hh-ed-brand-primary) 0 52%, var(--hh-ed-brand-secondary) 52% 100%) !important; }
body.hh-reference-home .nav-menu.open { display: block; }
body.hh-reference-home .main-header:has(.nav-menu.open) .mobile-nav-toggle,
body.hh-reference-home .main-header:has(.nav-menu.open) .btn-header-cta { visibility: hidden; }
body.hh-reference-home .mobile-menu-close { display: inline-flex; position: absolute; top: 1.5rem; left: clamp(1rem, 2.5vw, 2.5rem); width: 2.5rem; height: 2.5rem; align-items: center; justify-content: center; border: 1px solid rgb(255 255 255 / 55%); border-radius: 50%; color: #fff; background: transparent; }
body.hh-reference-home .mobile-menu-close svg { width: 1.2rem; fill: none; stroke: currentColor; stroke-width: 2; }
body.hh-reference-home .nav-list { display: grid; width: min(100%, 62rem); gap: .2rem; align-items: start; }
body.hh-reference-home .nav-list > li { display: grid; gap: .25rem; }
body.hh-reference-home .nav-link { min-height: 0; padding: .25rem 0; color: #fff; font-family: var(--hh-ed-font-display); font-size: clamp(2rem, 3.8vw, 4.25rem); font-weight: 400; line-height: 1; }
body.hh-reference-home .nav-link::after { display: none; }
body.hh-reference-home .nav-link:hover, body.hh-reference-home .nav-link:focus-visible { color: var(--hh-ed-brand-accent); }
body.hh-reference-home .dropdown-chevron { width: 1.2rem; }
body.hh-reference-home .dropdown-menu { position: static; display: none; min-width: 0; padding: .25rem 0 .8rem 1rem; transform: none; opacity: 1; visibility: visible; pointer-events: auto; border: 0; border-left: 1px solid rgb(255 255 255 / 42%); border-radius: 0; background: transparent; box-shadow: none; }
body.hh-reference-home .nav-item-dropdown:is(:hover, :focus-within, .is-open) .dropdown-menu { display: flex; transform: none; }
body.hh-reference-home .dropdown-item { padding: .2rem 0; color: rgb(255 255 255 / 82%); font-size: .9rem; }
body.hh-reference-home .dropdown-item:hover { background: transparent; color: var(--hh-ed-brand-accent); }

body.hh-reference-home .hh-ed-home-hero { min-height: min(44rem, 62vw); padding: 0; display: grid; align-items: end; }
body.hh-reference-home .hh-editorial .hero-overlay { background: linear-gradient(180deg, rgb(27 35 85 / 28%) 0%, rgb(27 35 85 / 10%) 45%, rgb(53 150 80 / 42%) 100%); }
body.hh-reference-home .hh-editorial .hero-container { width: min(100% - 3rem, 61rem); padding-bottom: clamp(4.5rem, 7vw, 7rem); }
body.hh-reference-home .hh-editorial .hero-content { max-width: 34rem; margin: 0 auto; text-align: center; }
body.hh-reference-home .hh-editorial .hero-badge-highlight { display: none; }
body.hh-reference-home .hh-editorial .hero-title { max-width: none; margin-bottom: 1rem; font-size: clamp(3rem, 4.2vw, 4.85rem); line-height: 1.03; text-shadow: 0 1px 1.5rem rgb(0 0 0 / 25%); }
body.hh-reference-home .hh-editorial .hero-title em { color: #fff; }
body.hh-reference-home .hh-editorial .hero-description { max-width: 31rem; margin-inline: auto; margin-bottom: 1.5rem; font-family: var(--hh-ed-font-display); font-size: clamp(1rem, 1.35vw, 1.28rem); line-height: 1.35; }
body.hh-reference-home .hh-editorial .hero-actions { justify-content: center; }
body.hh-reference-home .hh-editorial .hero-actions .btn { min-height: 2.8rem; border-radius: 0; padding: .7rem 1rem; font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; }
body.hh-reference-home .hh-editorial .hero-carousel-indicators { right: auto; bottom: 1.4rem; left: 50%; display: flex; transform: translateX(-50%); }
body.hh-reference-home .hh-editorial .carousel-indicator { width: .42rem; height: .42rem; border: 0; background: rgb(255 255 255 / 55%); }
body.hh-reference-home .hh-editorial .carousel-indicator.active { background: #fff; transform: scale(1.25); }

body.hh-reference-home .hh-editorial .hh-ed-utility-strip,
body.hh-reference-home .hh-editorial .hh-ed-statements { display: none; }
body.hh-reference-home .hh-editorial .hh-ed-section { padding-block: clamp(4.5rem, 8vw, 8.5rem); }
body.hh-reference-home .hh-editorial .hh-ed-container { max-width: 71rem; }
body.hh-reference-home .hh-editorial .hh-ed-school-intro { padding-top: 0; background: var(--hh-ed-color-warm); }
body.hh-reference-home .hh-editorial .hh-ed-school-intro .hh-ed-feature { grid-template-columns: 1fr 1fr; gap: 0; align-items: stretch; }
body.hh-reference-home .hh-editorial .hh-ed-school-intro .hh-ed-feature__content { order: -1; min-height: 29rem; align-content: center; padding: clamp(2.5rem, 6vw, 6rem); text-align: center; }
body.hh-reference-home .hh-editorial .hh-ed-school-intro .hh-ed-feature__media { aspect-ratio: auto; box-shadow: none; border-radius: 0; }
body.hh-reference-home .hh-editorial .hh-ed-school-intro .hh-ed-feature__media img { height: 100%; }
body.hh-reference-home .hh-editorial .hh-ed-school-intro .hh-ed-section-title { color: var(--hh-ed-brand-secondary); font-size: clamp(2.2rem, 3.4vw, 3.7rem); }
body.hh-reference-home .hh-editorial .hh-ed-school-intro .hh-ed-lead { font-size: 1rem; }
body.hh-reference-home .hh-editorial .hh-ed-text-link { color: var(--hh-ed-brand-secondary); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; }

/* A distinct homepage introduction that keeps the school’s campus, story and
 * About Us route together without duplicating the former split introduction. */
body.hh-reference-home .hh-editorial .hh-ed-established {
  position: relative; isolation: isolate; min-height: clamp(43.75rem, 52vw, 47.5rem); overflow: hidden;
  background: var(--hh-ed-color-warm);
}
body.hh-reference-home .hh-editorial .hh-ed-established__content {
  position: relative; z-index: 2; width: min(100% - 3rem, 71rem); margin-inline: auto;
  padding: clamp(5rem, 8vw, 8.5rem) 0 clamp(4rem, 8vw, 7rem);
}
body.hh-reference-home .hh-editorial .hh-ed-established__title {
  display: grid; width: min-content; margin: 0; color: #e2e8f0;
  font-family: var(--hh-ed-font-display); font-size: clamp(4.75rem, 7vw, 6.25rem); font-weight: 400;
  letter-spacing: -.055em; line-height: .82;
}
body.hh-reference-home .hh-editorial .hh-ed-established__copy {
  display: grid; width: min(100%, 31rem); margin: clamp(2.5rem, 6vw, 5.25rem) 0 0; gap: 1.45rem;
  color: var(--hh-ed-color-muted); font-family: var(--hh-ed-font-body); font-size: 1rem; line-height: 1.78;
}
body.hh-reference-home .hh-editorial .hh-ed-established__copy p { margin: 0; }
body.hh-reference-home .hh-editorial .hh-ed-established__cta {
  display: inline-flex; width: fit-content; min-height: 3.4rem; align-items: center; gap: .6rem; margin-top: .85rem;
  border: 1px solid var(--hh-ed-color-border); border-radius: 999px; padding: .75rem 1.45rem; color: var(--hh-ed-color-charcoal);
  font-family: var(--hh-ed-font-interface); font-size: .66rem; font-weight: 700; letter-spacing: .17em; line-height: 1; text-decoration: none; text-transform: uppercase;
  transition: border-color var(--hh-ed-motion-normal) var(--hh-ed-ease), background-color var(--hh-ed-motion-normal) var(--hh-ed-ease), color var(--hh-ed-motion-normal) var(--hh-ed-ease);
}
body.hh-reference-home .hh-editorial .hh-ed-established__cta:hover { border-color: var(--hh-ed-brand-secondary); background: var(--hh-ed-brand-secondary); color: #fff; }
body.hh-reference-home .hh-editorial .hh-ed-established__cta:focus-visible { outline: 3px solid var(--hh-ed-focus-ring); outline-offset: 4px; }
body.hh-reference-home .hh-editorial .hh-ed-established__media { position: absolute; z-index: 1; inset: 0 0 0 43%; margin: 0; }
body.hh-reference-home .hh-editorial .hh-ed-established__media::before {
  content: ""; position: absolute; z-index: 1; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, var(--hh-ed-color-warm) 0%, rgb(248 250 252 / 92%) 12%, rgb(248 250 252 / 36%) 43%, transparent 66%);
}
body.hh-reference-home .hh-editorial .hh-ed-established__media img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 59% center; }

/* Editorial mission statement — intentionally concise to give the typography
 * and classroom photography equal visual weight. */
body.hh-reference-home .hh-editorial .hh-ed-how-we-work {
  display: grid; grid-template-columns: minmax(0, 63fr) minmax(0, 37fr); min-height: clamp(46.875rem, 52vw, 53.125rem);
  background: #f3f0e8;
}
body.hh-reference-home .hh-editorial .hh-ed-how-we-work__content {
  position: relative; display: grid; align-content: center; justify-items: center; padding: clamp(4rem, 8vw, 8rem);
  text-align: center;
}
body.hh-reference-home .hh-editorial .hh-ed-how-we-work__eyebrow {
  margin: 0 0 clamp(2rem, 4vw, 4rem); color: #2c3780; font-family: var(--hh-ed-font-interface); font-size: .7rem;
  font-weight: 700; letter-spacing: .15em; line-height: 1.2; text-transform: uppercase;
}
body.hh-reference-home .hh-editorial .hh-ed-how-we-work h2 {
  width: 100%; max-width: 38rem; margin: 0; color: #1b2355; font-family: var(--hh-ed-font-display); font-size: clamp(2.3rem, 2.7vw, 2.625rem);
  font-weight: 400; letter-spacing: -.035em; line-height: 1.19; text-wrap: balance;
}
body.hh-reference-home .hh-editorial .hh-ed-how-we-work__cta {
  position: absolute; right: clamp(2rem, 4vw, 4rem); bottom: clamp(2rem, 4vw, 4rem); display: inline-flex; min-height: 2.85rem;
  align-items: center; justify-content: center; padding: .75rem 1.15rem; background: #2c3780; color: #fff;
  font-family: var(--hh-ed-font-interface); font-size: .67rem; font-weight: 700; letter-spacing: .12em; line-height: 1;
  text-decoration: none; text-transform: uppercase; transition: background-color 180ms ease, transform 180ms ease;
}
body.hh-reference-home .hh-editorial .hh-ed-how-we-work__cta:hover { background: #1b2355; transform: translateY(-2px); }
body.hh-reference-home .hh-editorial .hh-ed-how-we-work__cta:focus-visible { outline: 3px solid #ffc72c; outline-offset: 4px; }
body.hh-reference-home .hh-editorial .hh-ed-how-we-work__media { min-height: 0; margin: 0; overflow: hidden; }
body.hh-reference-home .hh-editorial .hh-ed-how-we-work__media img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 53% center; }

/* Four distinct programme stories use alternating photography and narrative
 * panels so the learning experience reads as an editorial mosaic, not a grid
 * of interchangeable cards. */
body.hh-reference-home .hh-editorial .hh-ed-programmes-mosaic {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: clamp(1rem, 1.4vw, 1.25rem);
  padding: clamp(1rem, 1.8vw, 1.5rem); background: #f3f0e8;
}
body.hh-reference-home .hh-editorial .hh-ed-programmes-mosaic__sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0);
  white-space: nowrap; border: 0;
}
body.hh-reference-home .hh-editorial .hh-ed-programmes-mosaic__column { display: flex; min-width: 0; flex-direction: column; gap: clamp(1rem, 1.4vw, 1.25rem); }
body.hh-reference-home .hh-editorial .hh-ed-programmes-mosaic__media { min-height: 22rem; margin: 0; overflow: hidden; }
body.hh-reference-home .hh-editorial .hh-ed-programmes-mosaic__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
body.hh-reference-home .hh-editorial .hh-ed-programmes-mosaic__column--academics .hh-ed-programmes-mosaic__media img { object-position: 56% center; }
body.hh-reference-home .hh-editorial .hh-ed-programmes-mosaic__column--athletics .hh-ed-programmes-mosaic__media img { object-position: center; }
body.hh-reference-home .hh-editorial .hh-ed-programmes-mosaic__column--arts .hh-ed-programmes-mosaic__media img { object-position: center; }
body.hh-reference-home .hh-editorial .hh-ed-programmes-mosaic__column--hostel .hh-ed-programmes-mosaic__media img { object-position: center; }
body.hh-reference-home .hh-editorial .hh-ed-programmes-mosaic__card {
  display: flex; min-height: 26rem; flex-direction: column; align-items: flex-start; padding: clamp(2.5rem, 4vw, 3.125rem);
  background: #1b2355; color: #fff;
}
body.hh-reference-home .hh-editorial .hh-ed-programmes-mosaic__column--arts .hh-ed-programmes-mosaic__card { background: #2c3780; }
body.hh-reference-home .hh-editorial .hh-ed-programmes-mosaic__card h3 {
  margin: 0; color: #fff; font-family: var(--hh-ed-font-display); font-size: clamp(2.125rem, 3vw, 2.5rem);
  font-weight: 400; letter-spacing: -.03em; line-height: 1.12; text-wrap: balance;
}
body.hh-reference-home .hh-editorial .hh-ed-programmes-mosaic__card p {
  margin: 1.7rem 0 2.4rem; color: rgb(255 255 255 / 88%); font-family: var(--hh-ed-font-body); font-size: clamp(1.0625rem, 1.35vw, 1.1875rem);
  line-height: 1.58;
}
body.hh-reference-home .hh-editorial .hh-ed-programmes-mosaic__card a {
  margin-top: auto; border-bottom: 1px solid #ffc72c; padding-bottom: .35rem; color: #fff; font-family: var(--hh-ed-font-interface);
  font-size: .75rem; font-weight: 700; letter-spacing: .083em; line-height: 1.2; text-decoration: none; text-transform: uppercase;
  transition: border-color 180ms ease, color 180ms ease;
}
body.hh-reference-home .hh-editorial .hh-ed-programmes-mosaic__card a:hover { border-color: #fff; color: #ffc72c; }
body.hh-reference-home .hh-editorial .hh-ed-programmes-mosaic__card a:focus-visible { outline: 3px solid #ffc72c; outline-offset: 5px; }
@media (min-width: 75rem) {
  body.hh-reference-home .hh-editorial .hh-ed-programmes-mosaic { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  body.hh-reference-home .hh-editorial .hh-ed-programmes-mosaic__column--academics .hh-ed-programmes-mosaic__media { min-height: 21rem; }
  body.hh-reference-home .hh-editorial .hh-ed-programmes-mosaic__column--academics .hh-ed-programmes-mosaic__card { min-height: 28rem; }
  body.hh-reference-home .hh-editorial .hh-ed-programmes-mosaic__column--athletics .hh-ed-programmes-mosaic__card { min-height: 24rem; }
  body.hh-reference-home .hh-editorial .hh-ed-programmes-mosaic__column--athletics .hh-ed-programmes-mosaic__media { min-height: 30rem; }
  body.hh-reference-home .hh-editorial .hh-ed-programmes-mosaic__column--arts .hh-ed-programmes-mosaic__media { min-height: 26rem; }
  body.hh-reference-home .hh-editorial .hh-ed-programmes-mosaic__column--arts .hh-ed-programmes-mosaic__card { min-height: 27rem; }
  body.hh-reference-home .hh-editorial .hh-ed-programmes-mosaic__column--hostel .hh-ed-programmes-mosaic__card { min-height: 29rem; }
  body.hh-reference-home .hh-editorial .hh-ed-programmes-mosaic__column--hostel .hh-ed-programmes-mosaic__media { min-height: 24rem; }
}
/* Canonical announcement structure, refined into a quiet editorial layout. */
body.hh-reference-home .hh-editorial .hh-ed-news-section { padding: clamp(4.5rem, 8vw, 8rem) 0; background: #f3f0e8; }
body.hh-reference-home .hh-editorial .hh-ed-news-section > .container { width: min(90%, 78rem); }
body.hh-reference-home .hh-editorial .hh-ed-news-section__intro { max-width: 50rem; margin: 0 auto clamp(3rem, 6vw, 5rem); text-align: center; }
body.hh-reference-home .hh-editorial .hh-ed-news-section__intro > p:first-child { margin: 0 0 1rem; color: #2c3780; font-family: var(--hh-ed-font-interface); font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
body.hh-reference-home .hh-editorial .hh-ed-news-section__intro h2 { margin: 0; color: #1b2355; font-family: var(--hh-ed-font-display); font-size: clamp(3.125rem, 4vw, 3.375rem); font-weight: 400; letter-spacing: -.045em; line-height: 1.08; text-wrap: balance; }
body.hh-reference-home .hh-editorial .hh-ed-news-section__intro > p:last-child { margin: 1.6rem auto 0; color: #475569; font-family: var(--hh-ed-font-body); font-size: clamp(1.0625rem, 1.3vw, 1.125rem); line-height: 1.65; }
body.hh-reference-home .hh-editorial .hh-ed-news-section .announcements-split-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); align-items: start; gap: clamp(2.5rem, 6vw, 6rem); margin: 0; }
body.hh-reference-home .hh-editorial .announcement-preview-label { margin: 0 0 1.25rem; color: #1b2355; font-family: var(--hh-ed-font-display); font-size: clamp(1.75rem, 2.4vw, 2.15rem); font-weight: 400; letter-spacing: -.03em; line-height: 1.1; }
body.hh-reference-home .hh-editorial .announcement-featured-card { min-height: 0; border: 0; border-left: 2px solid #2c3780; border-radius: 0; padding: clamp(2rem, 4vw, 3.25rem); background: #fff; box-shadow: none; }
body.hh-reference-home .hh-editorial .announcement-featured-card:hover { transform: none; box-shadow: none; }
body.hh-reference-home .hh-editorial .announcement-featured-card::before { display: none; }
body.hh-reference-home .hh-editorial .announcement-badge-wrapper { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 1rem; }
body.hh-reference-home .hh-editorial .announcement-priority-tag, body.hh-reference-home .hh-editorial .announcement-pin-badge { border: 0; border-radius: 0; padding: 0; background: transparent; color: #2c3780; font-family: var(--hh-ed-font-interface); font-size: .68rem; font-weight: 700; letter-spacing: .11em; line-height: 1.2; text-transform: uppercase; }
body.hh-reference-home .hh-editorial .announcement-pin-badge { color: #475569; }
body.hh-reference-home .hh-editorial .announcement-featured-body { display: block; margin-top: 1.5rem; }
body.hh-reference-home .hh-editorial .announcement-date { color: #2c3780; font-family: var(--hh-ed-font-interface); font-size: .72rem; font-weight: 700; letter-spacing: .07em; line-height: 1.3; }
body.hh-reference-home .hh-editorial .announcement-featured-card .announcement-date { color: #2c3780; }
body.hh-reference-home .hh-editorial .announcement-featured-title { margin: 1rem 0 1.3rem; color: #1b2355; font-family: var(--hh-ed-font-display); font-size: clamp(2rem, 2.75vw, 2.375rem); font-weight: 400; letter-spacing: -.035em; line-height: 1.12; }
body.hh-reference-home .hh-editorial .announcement-featured-desc { margin: 0; color: #475569; font-family: var(--hh-ed-font-body); font-size: clamp(1.0625rem, 1.3vw, 1.125rem); line-height: 1.65; }
body.hh-reference-home .hh-editorial .announcement-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.15rem; margin-top: 2rem; }
body.hh-reference-home .hh-editorial .announcement-actions .btn { min-height: 2.75rem; border: 0; border-radius: 0; padding: .75rem 1.1rem; background: #1b2355; color: #fff; box-shadow: none; font-family: var(--hh-ed-font-interface); font-size: .68rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
body.hh-reference-home .hh-editorial .announcement-actions .btn:hover { background: #2c3780; }
body.hh-reference-home .hh-editorial .announcement-list-stack { display: flex; flex-direction: column; gap: 0; }
body.hh-reference-home .hh-editorial .announcement-list-card { align-items: flex-start; border: 0; border-top: 1px solid rgb(27 35 85 / 18%); border-radius: 0; padding: 1.65rem 0; background: transparent; box-shadow: none; }
body.hh-reference-home .hh-editorial .announcement-list-card:last-child { border-bottom: 1px solid rgb(27 35 85 / 18%); }
body.hh-reference-home .hh-editorial .announcement-list-card:hover { transform: none; border-color: rgb(27 35 85 / 38%); box-shadow: none; }
body.hh-reference-home .hh-editorial .announcement-list-card:hover .announcement-list-title { color: #1b2355; }
body.hh-reference-home .hh-editorial .announcement-list-header { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: .8rem; }
body.hh-reference-home .hh-editorial .announcement-list-title { margin: 0; color: #1b2355; font-family: var(--hh-ed-font-display); font-size: clamp(1.5rem, 2vw, 1.85rem); font-weight: 400; letter-spacing: -.025em; line-height: 1.15; }
body.hh-reference-home .hh-editorial .announcement-list-desc { margin: .8rem 0 1.15rem; color: #475569; font-family: var(--hh-ed-font-body); font-size: 1rem; line-height: 1.6; }
body.hh-reference-home .hh-editorial .announcement-link { display: inline-flex; align-items: center; gap: .35rem; border-bottom: 1px solid #ffc72c; padding-bottom: .25rem; color: #1b2355; font-family: var(--hh-ed-font-interface); font-size: .7rem; font-weight: 700; letter-spacing: .08em; line-height: 1.2; text-decoration: none; text-transform: uppercase; }
body.hh-reference-home .hh-editorial .announcement-link:hover { border-color: #1b2355; color: #2c3780; }
body.hh-reference-home .hh-editorial .announcements-cta { display: flex; justify-content: center; margin-top: clamp(2.5rem, 5vw, 4rem); }
body.hh-reference-home .hh-editorial .hh-ed-news-section__cta { display: inline-flex; min-height: 2.85rem; align-items: center; justify-content: center; border-radius: 0; padding: .75rem 1.2rem; background: #1b2355; color: #fff; font-family: var(--hh-ed-font-interface); font-size: .7rem; font-weight: 700; letter-spacing: .1em; line-height: 1; text-decoration: none; text-transform: uppercase; transition: background-color 180ms ease; }
body.hh-reference-home .hh-editorial .hh-ed-news-section__cta:hover { background: #2c3780; }
body.hh-reference-home .hh-editorial .hh-ed-news-section :is(a:focus-visible) { outline: 3px solid #ffc72c; outline-offset: 4px; }
body.hh-reference-home .hh-editorial .hh-ed-section-intro { max-width: 46rem; margin: 0 auto clamp(2rem, 5vw, 4rem); text-align: center !important; }
body.hh-reference-home .hh-editorial .hh-ed-section-title { color: var(--hh-ed-brand-secondary); font-size: clamp(2.2rem, 4vw, 4.4rem); }

body.hh-reference-home .hh-editorial .hh-ed-academics-section { padding-block: clamp(5rem, 9vw, 9rem); background: #fff; }
body.hh-reference-home .hh-editorial .hh-ed-academics-section .section-header { max-width: 46rem; }
body.hh-reference-home .hh-editorial .hh-ed-academics-section .tab-control-wrapper { justify-content: center; }
body.hh-reference-home .hh-editorial .hh-ed-academics-section .tab-controls { flex-wrap: wrap; justify-content: center; }
body.hh-reference-home .hh-editorial .hh-ed-academics-section .tab-btn { border-radius: 0; border-color: var(--hh-ed-brand-secondary); color: var(--hh-ed-brand-secondary); font-size: .67rem; letter-spacing: .07em; text-transform: uppercase; }
body.hh-reference-home .hh-editorial .hh-ed-academics-section .tab-btn.active { background: var(--hh-ed-brand-secondary); color: #fff; }
body.hh-reference-home .hh-editorial .hh-ed-academics-section .panel-grid { grid-template-columns: .8fr 1.2fr; max-width: 62rem; margin-inline: auto; gap: 0; }
body.hh-reference-home .hh-editorial .hh-ed-academics-section .panel-content { padding: clamp(2rem, 4vw, 4rem); background: var(--hh-ed-brand-primary); color: #fff; }
body.hh-reference-home .hh-editorial .hh-ed-academics-section .panel-title, body.hh-reference-home .hh-editorial .hh-ed-academics-section .panel-content p { color: #fff; }
body.hh-reference-home .hh-editorial .hh-ed-academics-section .panel-illustration { min-height: 27rem; border-radius: 0; }

body.hh-reference-home .hh-editorial .hh-ed-schools { padding-block: clamp(4rem, 8vw, 8rem); background: var(--hh-ed-color-warm); }
body.hh-reference-home .hh-editorial .hh-ed-schools-grid { grid-template-columns: repeat(3, 1fr); gap: .9rem; }
body.hh-reference-home .hh-editorial .hh-ed-school-card, body.hh-reference-home .hh-editorial .hh-ed-school-card--featured { min-height: 31rem; border-radius: 0; }
body.hh-reference-home .hh-editorial .hh-ed-school-card__content { padding: 1.5rem; }
body.hh-reference-home .hh-editorial .hh-ed-school-card:hover > img { transform: none; }

body.hh-reference-home .hh-editorial .hh-ed-facilities-section { background: #fff; }
body.hh-reference-home .hh-editorial .hh-ed-facilities-section .facilities-grid { grid-template-columns: repeat(3, 1fr); gap: 0; max-width: 71rem; margin-inline: auto; }
body.hh-reference-home .hh-editorial .hh-ed-facilities-section .facility-card { border: 0; border-radius: 0; }
body.hh-reference-home .hh-editorial .hh-ed-facilities-section .facility-card:hover { transform: none; box-shadow: none; }
body.hh-reference-home .hh-editorial .hh-ed-facilities-section .facility-card-image { aspect-ratio: 4 / 3; }

body.hh-reference-home .hh-editorial .hh-ed-principal-section { padding-block: 0; background: var(--hh-ed-color-warm); }
body.hh-reference-home .hh-editorial .hh-ed-principal-section .principal-container { display: grid; grid-template-columns: 1fr 1fr; max-width: none; padding: 0; }
body.hh-reference-home .hh-editorial .hh-ed-principal-section .principal-image-wrapper, body.hh-reference-home .hh-editorial .hh-ed-principal-section .principal-content { min-height: 35rem; }
body.hh-reference-home .hh-editorial .hh-ed-principal-section .principal-image-frame { height: 100%; border-radius: 0; }
body.hh-reference-home .hh-editorial .hh-ed-principal-section .principal-content { display: grid; align-content: center; padding: clamp(2.5rem, 8vw, 8rem); }
body.hh-reference-home .hh-editorial .hh-ed-principal-section .principal-decorative-box { display: none; }
body.hh-reference-home .hh-editorial .hh-ed-contact-section { background: #fff; }
body.hh-reference-home .hh-editorial .contact-content-grid { max-width: 71rem; margin-inline: auto; }

body.hh-reference-home .main-footer { border-top: 5px solid var(--hh-ed-brand-secondary); padding-top: clamp(4rem, 7vw, 7rem); background: #0f172a; }
body.hh-reference-home .footer-trust-strip { display: none; }
body.hh-reference-home .footer-grid { grid-template-columns: 1.45fr repeat(3, 1fr); max-width: 71rem; margin: auto; gap: clamp(2rem, 4vw, 4rem); padding-bottom: 4rem; }
body.hh-reference-home .footer-brand .logo-area { position: static; transform: none; margin-bottom: 1.2rem; padding: 0; border: 0; background: transparent; }
body.hh-reference-home .footer-brand .logo-image { padding: .35rem; border-radius: .25rem; background: #fff; }
body.hh-reference-home .footer-brand .logo-text, body.hh-reference-home .footer-brand .logo-subtext { color: #fff; }
body.hh-reference-home .footer-title { margin-bottom: 1rem; padding-bottom: 0; font-family: var(--hh-ed-font-display); font-size: 1.35rem; font-weight: 400; }
body.hh-reference-home .footer-title::after { display: none; }
body.hh-reference-home .footer-links { gap: .55rem; }
body.hh-reference-home .footer-links a { font-size: .78rem; }
body.hh-reference-home .footer-title-sub { margin-top: 1.5rem; }
body.hh-reference-home .footer-bottom { background: transparent; }

/* The lower homepage continues the editorial language established by the
 * introduction, mission, programmes and News sections. */
body.hh-reference-home .hh-editorial .hh-ed-utility-strip { padding: clamp(2.5rem, 5vw, 4.5rem) 0; background: #f3f0e8; }
body.hh-reference-home .hh-ed-utility-strip .quick-actions-grid { max-width: 71rem; margin: 0 auto; gap: 0; }
body.hh-reference-home .hh-ed-utility-strip .action-card { min-height: 0; border: 0; border-left: 1px solid #d7dbe5; border-radius: 0; padding: 1.15rem 1.4rem; background: transparent; box-shadow: none; }
body.hh-reference-home .hh-ed-utility-strip .action-card:first-child { border-left: 0; }
body.hh-reference-home .hh-ed-utility-strip .action-card:hover { transform: none; border-color: #2c3780; box-shadow: none; }
body.hh-reference-home .hh-ed-utility-strip .action-card-icon { width: 2.6rem; height: 2.6rem; border-radius: 0; background: transparent !important; color: #2c3780 !important; }
body.hh-reference-home .hh-ed-utility-strip .action-card-title { color: #1b2355; font-family: var(--hh-ed-font-display); font-size: 1.3rem; font-weight: 400; }
body.hh-reference-home .hh-ed-utility-strip .action-card-desc { color: #475569; font-family: var(--hh-ed-font-body); }
body.hh-reference-home .hh-ed-utility-strip .action-card-arrow { color: #2c3780; }

body.hh-reference-home .hh-ed-statements { padding: clamp(2.75rem, 5vw, 4.5rem) 0; background: #fff; }
body.hh-reference-home .hh-ed-statements .stats-container { max-width: 71rem; }
body.hh-reference-home .hh-ed-statements .stats-grid { gap: 0; }
body.hh-reference-home .hh-ed-statements .stat-card { border: 0; border-left: 1px solid #e2e8f0; border-radius: 0; padding: 1rem 1.35rem; background: transparent; box-shadow: none; }
body.hh-reference-home .hh-ed-statements .stat-card:first-child { border-left: 0; }
body.hh-reference-home .hh-ed-statements .stat-icon-wrapper { display: none; }
body.hh-reference-home .hh-ed-statements .stat-number, body.hh-reference-home .hh-ed-statements .stat-suffix { color: #1b2355; font-family: var(--hh-ed-font-display); font-weight: 400; }
body.hh-reference-home .hh-ed-statements .stat-label { color: #475569; font-family: var(--hh-ed-font-interface); font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }

body.hh-reference-home .hh-editorial .hh-ed-section-intro { max-width: 44rem; }
body.hh-reference-home .hh-editorial .hh-ed-section-intro .section-subtitle { color: #2c3780; font-family: var(--hh-ed-font-interface); font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
body.hh-reference-home .hh-editorial .hh-ed-section-title { color: #1b2355; font-family: var(--hh-ed-font-display); font-size: clamp(2.5rem, 4vw, 3.75rem); font-weight: 400; letter-spacing: -.04em; line-height: 1.08; }
body.hh-reference-home .hh-editorial .section-description { color: #475569; font-family: var(--hh-ed-font-body); font-size: 1.05rem; line-height: 1.65; }
body.hh-reference-home .hh-editorial :is(.hh-ed-academics-section, .hh-ed-schools, .hh-ed-principal-section, .hh-ed-contact-section) { scroll-margin-top: calc(var(--hh-paa-header-height) + 1rem); }

body.hh-reference-home .hh-editorial .hh-ed-academics-section { padding-block: clamp(5rem, 8vw, 8rem); background: #f3f0e8; }
body.hh-reference-home .hh-editorial .hh-ed-academics-section .tab-control-wrapper { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
body.hh-reference-home .hh-editorial .hh-ed-academics-section .tab-controls { gap: clamp(1rem, 2vw, 2.25rem); border-bottom: 1px solid #cbd5e1; padding-bottom: .15rem; }
body.hh-reference-home .hh-editorial .hh-ed-academics-section .tab-btn { position: relative; border: 0; border-radius: 0; padding: .65rem 0; background: transparent; color: #475569; font-family: var(--hh-ed-font-interface); font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
body.hh-reference-home .hh-editorial .hh-ed-academics-section .tab-btn::after { content: ""; position: absolute; right: 0; bottom: -.2rem; left: 0; height: 2px; background: transparent; }
body.hh-reference-home .hh-editorial .hh-ed-academics-section .tab-btn.active { background: transparent; color: #1b2355; }
body.hh-reference-home .hh-editorial .hh-ed-academics-section .tab-btn.active::after { background: #ffc72c; }
body.hh-reference-home .hh-editorial .hh-ed-academics-section .panel-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); max-width: 71rem; gap: clamp(2.5rem, 6vw, 6rem); }
body.hh-reference-home .hh-editorial .hh-ed-academics-section .panel-text { padding: 0; }
body.hh-reference-home .hh-editorial .hh-ed-academics-section .panel-badge { border: 0; border-radius: 0; padding: 0; background: transparent !important; color: #2c3780 !important; font-family: var(--hh-ed-font-interface); font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
body.hh-reference-home .hh-editorial .hh-ed-academics-section .panel-title { color: #1b2355; font-family: var(--hh-ed-font-display); font-size: clamp(2rem, 3.2vw, 3rem); font-weight: 400; letter-spacing: -.035em; line-height: 1.1; }
body.hh-reference-home .hh-editorial .hh-ed-academics-section .panel-desc, body.hh-reference-home .hh-editorial .hh-ed-academics-section .panel-features-list li { color: #475569; font-family: var(--hh-ed-font-body); line-height: 1.65; }
body.hh-reference-home .hh-editorial .hh-ed-academics-section .panel-features-list li::before { width: 5px; height: 5px; border-radius: 0; background: #2c3780 !important; }
body.hh-reference-home .hh-editorial .hh-ed-academics-section .panel-illustration { min-height: 30rem; border-radius: 0; box-shadow: none; }
body.hh-reference-home .hh-editorial .hh-ed-academics-section .panel-illustration::after { display: none; }
body.hh-reference-home .hh-editorial .hh-ed-academics-section .panel-text .btn { border: 0; border-radius: 0; padding: .8rem 1.15rem; background: #1b2355; color: #fff; font-family: var(--hh-ed-font-interface); font-size: .7rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }

body.hh-reference-home .hh-editorial .hh-ed-schools { padding-block: clamp(5rem, 8vw, 8rem); background: #fff; }
body.hh-reference-home .hh-editorial .hh-ed-schools-grid { gap: 1.25rem; }

body.hh-reference-home .hh-editorial .hh-ed-principal-section { padding-block: clamp(5rem, 8vw, 8rem); background: #f3f0e8; }
body.hh-reference-home .hh-editorial .hh-ed-principal-section .principal-container { max-width: 71rem; gap: clamp(2.5rem, 6vw, 6rem); padding: 0; }
body.hh-reference-home .hh-editorial .hh-ed-principal-section .principal-image-wrapper, body.hh-reference-home .hh-editorial .hh-ed-principal-section .principal-content { min-height: 0; }
body.hh-reference-home .hh-editorial .hh-ed-principal-section .principal-image-frame { height: auto; }
body.hh-reference-home .hh-editorial .hh-ed-principal-section .principal-img { border-radius: 0; box-shadow: none; }
body.hh-reference-home .hh-editorial .hh-ed-principal-section .principal-content { padding: 0; }
body.hh-reference-home .hh-editorial .hh-ed-principal-section .section-subtitle { color: #2c3780; font-family: var(--hh-ed-font-interface); font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
body.hh-reference-home .hh-editorial .hh-ed-principal-section .hh-ed-section-title { color: #1b2355; }
body.hh-reference-home .hh-editorial .hh-ed-principal-section .principal-message-body { color: #475569; font-family: var(--hh-ed-font-body); font-size: 1.04rem; line-height: 1.72; }
body.hh-reference-home .hh-editorial .hh-ed-principal-section .principal-signature { border-left: 2px solid #2c3780; }
body.hh-reference-home .hh-editorial .hh-ed-principal-section .principal-name { color: #1b2355; font-family: var(--hh-ed-font-display); font-weight: 400; }
body.hh-reference-home .hh-editorial .hh-ed-principal-section .principal-actions .btn { border: 0; border-radius: 0; background: #1b2355; box-shadow: none; color: #fff; font-family: var(--hh-ed-font-interface); font-size: .7rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }

body.hh-reference-home .hh-editorial .hh-ed-contact-section { padding-block: clamp(5rem, 8vw, 8rem); background: #fff; }
body.hh-reference-home .hh-editorial .hh-ed-contact-section .contact-grid { max-width: 71rem; margin-inline: auto; gap: clamp(2rem, 5vw, 5rem); }
body.hh-reference-home .hh-editorial .hh-ed-contact-section :is(.contact-info-card, .enquiry-card, .map-location-card) { border: 1px solid #e2e8f0; border-radius: 0; padding: clamp(1.75rem, 3vw, 2.5rem); background: #fff; box-shadow: none; }
body.hh-reference-home .hh-editorial .hh-ed-contact-section .contact-card-title { color: #1b2355; font-family: var(--hh-ed-font-display); font-weight: 400; }
body.hh-reference-home .hh-editorial .hh-ed-contact-section .contact-card-title::after { height: 1px; border-radius: 0; background: #ffc72c; }
body.hh-reference-home .hh-editorial .hh-ed-contact-section .icon-circle { border-radius: 0; background: transparent; color: #2c3780; }
body.hh-reference-home .hh-editorial .hh-ed-contact-section .detail-label { color: #2c3780; font-family: var(--hh-ed-font-interface); }
body.hh-reference-home .hh-editorial .hh-ed-contact-section .detail-value { color: #475569; font-family: var(--hh-ed-font-body); font-weight: 400; }
body.hh-reference-home .hh-editorial .hh-ed-contact-section .quick-action-btn, body.hh-reference-home .hh-editorial .hh-ed-contact-section .map-open-btn { border-radius: 0; border-color: #1b2355; color: #1b2355; box-shadow: none; }
body.hh-reference-home .hh-editorial .hh-ed-contact-section .quick-action-btn:hover, body.hh-reference-home .hh-editorial .hh-ed-contact-section .map-open-btn:hover { background: #1b2355; color: #fff; transform: none; box-shadow: none; }
body.hh-reference-home .hh-editorial .hh-ed-contact-section .form-input { border-radius: 0; border-color: #cbd5e1; font-family: Inter, sans-serif; }
body.hh-reference-home .hh-editorial .hh-ed-contact-section .form-input:focus { border-color: #2c3780; box-shadow: 0 0 0 3px rgb(44 55 128 / 14%); }
body.hh-reference-home .hh-editorial .hh-ed-contact-section .enquiry-card .btn-accent { border-radius: 0; background: #1b2355; color: #fff; }
body.hh-reference-home .hh-editorial .hh-ed-contact-section .contact-map-section { max-width: 71rem; margin: clamp(3rem, 6vw, 5rem) auto 0; }
body.hh-reference-home .hh-editorial .hh-ed-contact-section .map-location-card { padding: 0; border: 0; }
body.hh-reference-home .hh-editorial .hh-ed-contact-section .map-section-heading { margin-bottom: 1.5rem; }
body.hh-reference-home .hh-editorial .hh-ed-contact-section .map-wrapper { border: 1px solid #e2e8f0; border-radius: 0; box-shadow: none; }

body.hh-reference-home .main-footer { padding-top: clamp(4rem, 7vw, 6rem); }
body.hh-reference-home .footer-grid { align-items: start; }
body.hh-reference-home .footer-title { color: #fff; letter-spacing: -.02em; }
body.hh-reference-home .footer-links a, body.hh-reference-home .footer-contact-list { color: rgb(255 255 255 / 72%); }
body.hh-reference-home .footer-links a:hover { color: #fff; }

@media (max-width: 47.99rem) {
  body.hh-reference-home .main-header { height: 4.25rem; }
  body.hh-reference-home .main-header.scrolled { height: 4.25rem; }
  body.hh-reference-home .header-container { padding-inline: 1rem; }
  body.hh-reference-home .logo-image { height: 2.55rem; }
  body.hh-reference-home .logo-text { display: none; }
  body.hh-reference-home .btn-header-cta { padding: 1.55rem .15rem; border-left: 0; font-size: .56rem; }
  body.hh-reference-home .mobile-nav-toggle { left: 1rem; }
  body.hh-reference-home .mobile-nav-toggle::after { font-size: .55rem; }
  body.hh-reference-home .nav-menu { padding: 6.5rem 1.5rem 2rem; background: var(--hh-ed-brand-primary); }
  body.hh-reference-home .nav-menu.open { background: var(--hh-ed-brand-primary) !important; }
  body.hh-reference-home .nav-list { width: 100% !important; }
  body.hh-reference-home .nav-link { font-size: clamp(2rem, 11vw, 3.25rem); }
  body.hh-reference-home .hh-ed-home-hero { min-height: 38rem; display: block; padding-top: 0; }
  body.hh-reference-home .hh-editorial .hero-backgrounds { position: absolute; height: 100%; }
  body.hh-reference-home .hh-editorial .hero-overlay { display: block; background: linear-gradient(180deg, rgb(27 35 85 / 10%) 15%, rgb(27 35 85 / 15%) 42%, rgb(27 35 85 / 78%) 100%); }
  body.hh-reference-home .hh-editorial .hero-container { display: flex; width: calc(100% - 2.5rem); min-height: 38rem; padding: 0 0 4.5rem; align-items: end; }
  body.hh-reference-home .hh-editorial .hero-content { padding: 0; text-align: center; background: transparent; }
  body.hh-reference-home .hh-editorial .hero-title { font-size: clamp(2.7rem, 11vw, 3.7rem); }
  body.hh-reference-home .hh-editorial .hero-description { font-size: 1rem; }
  body.hh-reference-home .hh-editorial .hero-actions { display: grid; grid-template-columns: 1fr 1fr; }
  body.hh-reference-home .hh-editorial .hero-actions .btn { min-width: 0; padding-inline: .55rem; font-size: .58rem; }
  body.hh-reference-home .hh-editorial .hh-ed-section { padding-block: 4rem; }
  body.hh-reference-home .hh-editorial .hh-ed-school-intro .hh-ed-feature { grid-template-columns: 1fr; }
  body.hh-reference-home .hh-editorial .hh-ed-school-intro .hh-ed-feature__content { order: 0; min-height: 0; padding: 3.5rem 1.6rem; }
  body.hh-reference-home .hh-editorial .hh-ed-school-intro .hh-ed-feature__media { order: 1; min-height: 21rem; }
  body.hh-reference-home .hh-editorial .hh-ed-established { display: flex; min-height: 0; flex-direction: column; }
  body.hh-reference-home .hh-editorial .hh-ed-established__content { width: 100%; padding: 5.5rem 1.5rem 3.5rem; }
  body.hh-reference-home .hh-editorial .hh-ed-established__title { font-size: clamp(3rem, 14vw, 4.4rem); line-height: .86; }
  body.hh-reference-home .hh-editorial .hh-ed-established__copy { width: min(100%, 32rem); margin: 2.25rem 0 0; gap: 1.3rem; font-size: .98rem; line-height: 1.72; }
  body.hh-reference-home .hh-editorial .hh-ed-established__media { position: relative; inset: auto; min-height: 23rem; }
  body.hh-reference-home .hh-editorial .hh-ed-established__media::before { background: linear-gradient(180deg, var(--hh-ed-color-warm) 0%, rgb(248 250 252 / 18%) 26%, transparent 48%); }
  body.hh-reference-home .hh-editorial .hh-ed-established__media img { object-position: 56% center; }
  body.hh-reference-home .hh-editorial .hh-ed-how-we-work { grid-template-columns: 1fr; min-height: 0; }
  body.hh-reference-home .hh-editorial .hh-ed-how-we-work__content { min-height: 34rem; padding: 4.5rem 1.5rem 7rem; }
  body.hh-reference-home .hh-editorial .hh-ed-how-we-work__eyebrow { margin-bottom: 2rem; }
  body.hh-reference-home .hh-editorial .hh-ed-how-we-work h2 { max-width: 21ch; font-size: clamp(1.875rem, 8.2vw, 2.05rem); line-height: 1.18; }
  body.hh-reference-home .hh-editorial .hh-ed-how-we-work__cta { right: auto; bottom: 2.25rem; }
  body.hh-reference-home .hh-editorial .hh-ed-how-we-work__media { min-height: clamp(18rem, 72vw, 26rem); }
  body.hh-reference-home .hh-editorial .hh-ed-how-we-work__media img { object-position: 52% center; }
  body.hh-reference-home .hh-editorial .hh-ed-programmes-mosaic { grid-template-columns: 1fr; gap: 1rem; padding: 1rem; }
  body.hh-reference-home .hh-editorial .hh-ed-programmes-mosaic__column { gap: 0; }
  body.hh-reference-home .hh-editorial .hh-ed-programmes-mosaic__media { min-height: clamp(17rem, 72vw, 23rem); order: -1; }
  body.hh-reference-home .hh-editorial .hh-ed-programmes-mosaic__card { min-height: 23rem; padding: 2.5rem 1.5rem; }
  body.hh-reference-home .hh-editorial .hh-ed-programmes-mosaic__card h3 { font-size: 1.875rem; }
  body.hh-reference-home .hh-editorial .hh-ed-programmes-mosaic__card p { margin: 1.35rem 0 2rem; font-size: 1.0625rem; }
  body.hh-reference-home .hh-editorial .hh-ed-news-section { padding-block: 4.5rem; }
  body.hh-reference-home .hh-editorial .hh-ed-news-section > .container { width: min(100% - 3rem, 38rem); }
  body.hh-reference-home .hh-editorial .hh-ed-news-section__intro { margin-bottom: 3rem; }
  body.hh-reference-home .hh-editorial .hh-ed-news-section__intro h2 { font-size: clamp(2.125rem, 9.5vw, 2.375rem); }
  body.hh-reference-home .hh-editorial .hh-ed-news-section .announcements-split-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  body.hh-reference-home .hh-editorial .announcement-featured-card { padding: 2rem 1.5rem; }
  body.hh-reference-home .hh-editorial .announcement-featured-title { font-size: clamp(1.875rem, 8vw, 2.2rem); }
  body.hh-reference-home .hh-editorial .announcement-list-card { padding-block: 1.5rem; }
  body.hh-reference-home .hh-editorial .hh-ed-section-title { font-size: clamp(2rem, 10vw, 3rem); }
  body.hh-reference-home .hh-editorial .hh-ed-academics-section .panel-grid { grid-template-columns: 1fr; }
  body.hh-reference-home .hh-editorial .hh-ed-academics-section .panel-content { padding: 2rem 1.5rem; }
  body.hh-reference-home .hh-editorial .hh-ed-academics-section .panel-illustration { min-height: 19rem; }
  body.hh-reference-home .hh-editorial .hh-ed-schools-grid, body.hh-reference-home .hh-editorial .hh-ed-facilities-section .facilities-grid { grid-template-columns: 1fr; gap: 1px; }
  body.hh-reference-home .hh-editorial .hh-ed-school-card, body.hh-reference-home .hh-editorial .hh-ed-school-card--featured { min-height: 24rem; }
  body.hh-reference-home .hh-editorial .hh-ed-principal-section .principal-container { grid-template-columns: 1fr; }
  body.hh-reference-home .hh-editorial .hh-ed-principal-section .principal-image-wrapper, body.hh-reference-home .hh-editorial .hh-ed-principal-section .principal-content { min-height: 0; }
  body.hh-reference-home .hh-editorial .hh-ed-principal-section .principal-image-frame { height: 25rem; }
  body.hh-reference-home .hh-editorial .hh-ed-principal-section .principal-content { padding: 3.5rem 1.5rem; }
  body.hh-reference-home .footer-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  body.hh-reference-home .footer-brand { grid-column: auto; }
}

/* Final responsive pass for the lower homepage.  This sits after the legacy
 * mobile rules so the existing content contracts can remain unchanged. */
body.hh-reference-home .hh-editorial .hh-ed-schools-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
body.hh-reference-home .hh-editorial .hh-ed-school-card,
body.hh-reference-home .hh-editorial .hh-ed-school-card--featured {
  display: flex;
  min-height: 31rem;
  flex-direction: column;
  background: #fff;
}
body.hh-reference-home .hh-editorial .hh-ed-school-card > img {
  position: relative;
  inset: auto;
  width: 100%;
  height: 19rem;
  flex: 0 0 19rem;
  object-fit: cover;
  opacity: 1;
}
body.hh-reference-home .hh-editorial .hh-ed-school-card::after { display: none; }
body.hh-reference-home .hh-editorial .hh-ed-school-card__content {
  position: relative;
  inset: auto;
  display: flex;
  flex: 1;
  padding: 1.75rem 2rem 2rem;
  flex-direction: column;
  justify-content: flex-start;
  background: #fff;
}
body.hh-reference-home .hh-editorial .hh-ed-school-card__content .hh-ed-eyebrow,
body.hh-reference-home .hh-editorial .hh-ed-school-card__content .hh-ed-subheading { color: #1b2355; }
body.hh-reference-home .hh-editorial .hh-ed-school-card__content .hh-ed-text-link {
  width: max-content;
  margin-top: auto;
  color: #2c3780;
}
body.hh-reference-home .hh-editorial .hh-ed-principal-section .principal-visual { min-height: 0; }
body.hh-reference-home .hh-editorial .hh-ed-principal-section .principal-image-frame::before,
body.hh-reference-home .hh-editorial .hh-ed-principal-section .principal-decorative-box { display: none; }

@media (max-width: 63.99rem) {
  body.hh-reference-home .hh-editorial .hh-ed-academics-section .tab-controls {
    display: flex;
    overflow-x: auto;
    justify-content: flex-start;
    scrollbar-width: thin;
  }
  body.hh-reference-home .hh-editorial .hh-ed-academics-section .tab-btn { flex: 0 0 auto; }
  body.hh-reference-home .hh-editorial .hh-ed-academics-section .panel-grid,
  body.hh-reference-home .hh-editorial .hh-ed-principal-section .principal-container,
  body.hh-reference-home .hh-editorial .hh-ed-contact-section .contact-grid { grid-template-columns: 1fr; }
  body.hh-reference-home .hh-editorial .hh-ed-schools-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 47.99rem) {
  body.hh-reference-home .hh-editorial .hh-ed-utility-strip .quick-actions-grid { grid-template-columns: 1fr; }
  body.hh-reference-home .hh-editorial .hh-ed-utility-strip .action-card {
    border-top: 1px solid #d7dbe5;
    border-left: 0;
    padding-inline: .25rem;
  }
  body.hh-reference-home .hh-editorial .hh-ed-utility-strip .action-card:first-child { border-top: 0; }
  body.hh-reference-home .hh-editorial .hh-ed-statements .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.hh-reference-home .hh-editorial .hh-ed-statements .stat-card:nth-child(odd) { border-left: 0; }
  body.hh-reference-home .hh-editorial .hh-ed-academics-section { padding-block: 4rem; }
  body.hh-reference-home .hh-editorial .hh-ed-academics-section .panel-text { padding: 0; }
  body.hh-reference-home .hh-editorial .hh-ed-academics-section .panel-illustration { min-height: 19rem; }
  body.hh-reference-home .hh-editorial .hh-ed-schools-grid { grid-template-columns: 1fr; gap: 1rem; }
  body.hh-reference-home .hh-editorial .hh-ed-school-card,
  body.hh-reference-home .hh-editorial .hh-ed-school-card--featured { min-height: 0; }
  body.hh-reference-home .hh-editorial .hh-ed-school-card > img { height: 17rem; flex-basis: 17rem; }
  body.hh-reference-home .hh-editorial .hh-ed-principal-section .principal-image-frame { height: auto; }
  body.hh-reference-home .hh-editorial .hh-ed-principal-section .principal-content { padding: 0; }
  body.hh-reference-home .hh-editorial .hh-ed-contact-section :is(.contact-info-card, .enquiry-card) { padding: 1.5rem; }
  body.hh-reference-home .hh-editorial .hh-ed-contact-section .map-wrapper { min-height: 16rem; }
}

/* Homepage opening composition — independently implemented from the supplied
 * layout reference using Holy Home navigation, imagery, and brand tokens. */
.hh-paa-sidebar { display: none; }
.hh-paa-panels { display: none; }
.hh-paa-hero-boundary { display: none; }

@media (min-width: 64rem) {
  body.hh-reference-home {
    --hh-paa-sidebar: 11.3vw;
    --hh-paa-sidebar-compact: 64px;
    --hh-paa-header-height: 4.7rem;
    --hh-paa-rail: var(--hh-paa-sidebar);
    --hh-paa-content-offset: var(--hh-paa-sidebar);
  }
  body.hh-reference-home.hh-paa-sidebar-compact {
    --hh-paa-rail: var(--hh-paa-sidebar-compact);
    --hh-paa-content-offset: 0px;
  }
  body.hh-reference-home .hh-paa-sidebar {
    position: fixed; inset: 0 auto 0 0; z-index: 1100; display: flex; width: var(--hh-paa-rail);
    height: 100svh; flex-direction: column; align-items: center; justify-content: space-between; padding: clamp(2rem, 4vw, 4rem) .25rem;
    overflow: hidden; background: #fff; transition: width 350ms cubic-bezier(.2, 0, 0, 1), height 350ms cubic-bezier(.2, 0, 0, 1), padding 350ms cubic-bezier(.2, 0, 0, 1);
  }
  body.hh-reference-home .hh-paa-sidebar__logo { display: block; width: min(130px, calc(100% - 1rem)); transition: width 350ms cubic-bezier(.2, 0, 0, 1); }
  body.hh-reference-home .hh-paa-sidebar__logo img { display: block; width: 100%; height: auto; }
  body.hh-reference-home .hh-paa-sidebar__school-name {
    margin: 0 0 10vh; color: var(--hh-ed-color-charcoal); font-family: var(--hh-ed-font-interface); font-size: calc(.875rem + 4px);
    font-weight: 600; letter-spacing: .125rem; text-transform: uppercase; writing-mode: vertical-rl; transform: rotate(180deg);
    transition: font-size 350ms cubic-bezier(.2, 0, 0, 1), letter-spacing 350ms cubic-bezier(.2, 0, 0, 1), margin 350ms cubic-bezier(.2, 0, 0, 1);
  }
  body.hh-reference-home.hh-paa-sidebar-compact .hh-paa-sidebar {
    bottom: auto; height: var(--hh-paa-header-height); padding-block: .75rem; justify-content: center;
  }
  body.hh-reference-home.hh-paa-sidebar-compact .hh-paa-sidebar__logo { width: min(52px, 100%); }
  body.hh-reference-home.hh-paa-sidebar-compact .hh-paa-sidebar__school-name {
    display: none;
  }
  body.hh-reference-home > main,
  body.hh-reference-home > .main-footer {
    margin-left: var(--hh-paa-content-offset); width: calc(100% - var(--hh-paa-content-offset));
    transition: margin-left 350ms cubic-bezier(.2, 0, 0, 1), width 350ms cubic-bezier(.2, 0, 0, 1);
  }
  body.hh-reference-home .main-header {
    position: fixed; top: 0; right: 0; left: var(--hh-paa-rail); z-index: 1000; width: auto; margin-left: 0; height: var(--hh-paa-header-height); color: #fff; background: #0f172a;
    border-bottom-color: rgb(255 255 255 / 14%); transition: left 350ms cubic-bezier(.2, 0, 0, 1);
  }
  body.hh-reference-home .main-header.scrolled { height: var(--hh-paa-header-height); background: #0f172a; }
  body.hh-reference-home .header-container { justify-content: space-between; padding-inline: clamp(2rem, 5vw, 5rem); }
  body.hh-reference-home .main-header .logo-area,
  body.hh-reference-home .mobile-nav-toggle,
  body.hh-reference-home .nav-close,
  body.hh-reference-home .mobile-menu-close { display: none; }
  body.hh-reference-home .nav-menu { position: static; display: flex; width: auto !important; height: auto !important; overflow: visible; padding: 0; background: transparent !important; }
  body.hh-reference-home .nav-list { display: flex; width: auto; gap: clamp(1rem, 2.4vw, 2.8rem); align-items: center; }
  body.hh-reference-home .nav-list > li { display: block; }
  body.hh-reference-home .nav-link { padding: 1.65rem 0; color: rgb(255 255 255 / 68%); font-family: var(--hh-ed-font-interface); font-size: .64rem; font-weight: 700; letter-spacing: .13em; line-height: 1; text-transform: uppercase; }
  body.hh-reference-home .nav-link:hover, body.hh-reference-home .nav-link:focus-visible { color: #fff; }
  body.hh-reference-home .dropdown-chevron { width: .8rem; }
  body.hh-reference-home .dropdown-menu { position: absolute; top: 4.25rem; left: auto; display: flex; min-width: 13rem; transform: translateY(.5rem); opacity: 0; visibility: hidden; pointer-events: none; border: 1px solid rgb(255 255 255 / 14%); border-left: 0; border-radius: 0; padding: .65rem; background: #0f172a; }
  body.hh-reference-home .nav-item-dropdown:is(:hover, :focus-within, .is-open) .dropdown-menu { opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0); }
  body.hh-reference-home .dropdown-item { padding: .45rem .5rem; color: #fff; font-size: .78rem; }
  body.hh-reference-home .dropdown-item:is(:hover, :focus) { background: rgb(255 255 255 / 10%); color: #fff; }
  body.hh-reference-home .dropdown-item:focus-visible { outline: 2px solid #ffc72c; outline-offset: 2px; }
  body.hh-reference-home .schools-dropdown-menu .school-dropdown-item :is(strong, .school-grades) { color: #fff; }
  body.hh-reference-home .schools-dropdown-menu .school-dropdown-item .school-explore { color: #ffc72c; }
  body.hh-reference-home .nav-actions { margin-left: auto; }
  body.hh-reference-home .btn-header-cta { border-left: 0; padding: .7rem 0; color: var(--hh-ed-brand-secondary); }
  body.hh-reference-home .btn-header-cta:hover { background: transparent; color: var(--hh-ed-brand-accent); }

  body.hh-reference-home .hh-paa-hero {
    display: grid; min-height: 100svh; height: 100svh; padding: 0; grid-template-rows: 25rem minmax(0, 1fr); overflow: hidden; background: #0f172a;
  }
  body.hh-reference-home .hh-paa-hero .hero-backgrounds,
  body.hh-reference-home .hh-paa-hero .hero-overlay,
  body.hh-reference-home .hh-paa-hero .hero-carousel-indicators { display: none; }
  body.hh-reference-home .hh-paa-hero .hero-container {
    display: flex; grid-row: 1; width: auto; max-width: none; margin: 0; padding: 4.7rem clamp(3rem, 5.2vw, 6.5rem) 2rem;
    align-items: center; justify-content: flex-start; background: #0f172a;
  }
  body.hh-reference-home .hh-paa-hero-boundary { display: block; position: absolute; top: 25rem; left: 0; width: 1px; height: 1px; pointer-events: none; }
  body.hh-reference-home .hh-paa-hero .hero-content { max-width: none; margin: 0; text-align: left; }
  body.hh-reference-home .hh-paa-hero .hero-title { margin: 0; color: #fff; font-family: var(--hh-ed-font-interface); font-size: clamp(2rem, 2.55vw, 3.1rem); font-weight: 400; letter-spacing: -.02em; text-shadow: none; }
  body.hh-reference-home .hh-paa-hero .hero-title em { color: #fff; font-style: normal; }
  body.hh-reference-home .hh-paa-hero .hero-description { display: none; }
  body.hh-reference-home .hh-paa-panels { display: grid; grid-row: 2; grid-template-columns: repeat(4, minmax(0, 1fr)); min-height: 0; }
  body.hh-reference-home .hh-paa-panel { position: relative; display: grid; min-width: 0; overflow: hidden; align-items: end; color: #fff; isolation: isolate; }
  body.hh-reference-home .hh-paa-panel::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 35%, rgb(15 23 42 / 62%) 100%); }
  body.hh-reference-home .hh-paa-panel img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 400ms ease; }
  body.hh-reference-home .hh-paa-panel:nth-child(1) img { object-position: 50% 50%; }
  body.hh-reference-home .hh-paa-panel:nth-child(2) img { object-position: 50% 42%; }
  body.hh-reference-home .hh-paa-panel:nth-child(3) img { object-position: 50% 45%; }
  body.hh-reference-home .hh-paa-panel:nth-child(4) img { object-position: 50% 50%; }
  body.hh-reference-home .hh-paa-panel span { padding: clamp(1.5rem, 2.7vw, 3.6rem); font-family: var(--hh-ed-font-display); font-size: clamp(2rem, 3.25vw, 4.15rem); font-weight: 400; letter-spacing: -.04em; line-height: .88; }
  body.hh-reference-home .hh-paa-panel:hover img, body.hh-reference-home .hh-paa-panel:focus-visible img { transform: scale(1.04); }
  body.hh-reference-home .hh-paa-panel:focus-visible { outline: 3px solid var(--hh-ed-brand-accent); outline-offset: -3px; }
}

@media (max-width: 63.99rem) {
  body.hh-reference-home .hh-paa-hero { display: grid; min-height: 0; padding: 0; grid-template-rows: minmax(16rem, 44vw) auto; background: #0f172a; }
  body.hh-reference-home .hh-paa-hero .hero-backgrounds,
  body.hh-reference-home .hh-paa-hero .hero-overlay,
  body.hh-reference-home .hh-paa-hero .hero-carousel-indicators { display: none; }
  body.hh-reference-home .hh-paa-hero .hero-container { display: flex; width: auto; min-height: min(16rem, 44vw); padding: 6.5rem clamp(1.5rem, 6vw, 4rem) 2.5rem; align-items: end; background: #0f172a; }
  body.hh-reference-home .hh-paa-hero .hero-content { max-width: none; margin: 0; text-align: left; }
  body.hh-reference-home .hh-paa-hero .hero-badge-highlight,
  body.hh-reference-home .hh-paa-hero .hero-description,
  body.hh-reference-home .hh-paa-hero .hero-actions { display: none; }
  body.hh-reference-home .hh-paa-hero .hero-title { margin: 0; color: #fff; font-family: var(--hh-ed-font-interface); font-size: clamp(2rem, 7vw, 3.5rem); font-weight: 400; line-height: 1; text-align: left; text-shadow: none; }
  body.hh-reference-home .hh-paa-hero .hero-title em { color: #fff; font-style: normal; }
  body.hh-reference-home .hh-paa-panels { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.hh-reference-home .hh-paa-panel { position: relative; display: grid; min-height: clamp(15rem, 42vw, 22rem); overflow: hidden; align-items: end; color: #fff; isolation: isolate; }
  body.hh-reference-home .hh-paa-panel::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 35%, rgb(15 23 42 / 66%) 100%); }
  body.hh-reference-home .hh-paa-panel img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
  body.hh-reference-home .hh-paa-panel span { padding: 1.25rem; font-family: var(--hh-ed-font-display); font-size: clamp(1.8rem, 5vw, 3rem); line-height: .9; }
}

@media (max-width: 30rem) {
  body.hh-reference-home .hh-paa-hero { grid-template-rows: 17rem auto; }
  body.hh-reference-home .hh-paa-hero .hero-container { min-height: 17rem; padding-top: 5.5rem; }
  body.hh-reference-home .hh-paa-panels { grid-template-columns: 1fr; }
  body.hh-reference-home .hh-paa-panel { min-height: 18rem; }
}

@media (min-width: 64rem) and (max-width: 75rem) {
  body.hh-reference-home .header-container { padding-inline: 1.25rem; }
  body.hh-reference-home .nav-list { gap: .8rem; }
  body.hh-reference-home .nav-link { font-size: .55rem; letter-spacing: .09em; }
  body.hh-reference-home .btn-header-cta { font-size: .58rem; letter-spacing: .08em; white-space: nowrap; }
}

/* These final selectors intentionally match the existing homepage composition's
 * specificity, so its former hero minimum-height cannot expand this new opening. */
@media (min-width: 64rem) {
  body.hh-reference-home .hh-editorial .hh-paa-hero {
    min-height: 100svh; height: 100svh; padding: 0; grid-template-rows: 25rem minmax(0, 1fr); align-items: stretch;
  }
  body.hh-reference-home .hh-editorial .hh-paa-hero .hero-container {
    min-height: 0; padding: 4.7rem clamp(3rem, 5.2vw, 6.5rem) 2rem;
  }
}

@media (max-width: 63.99rem) {
  body.hh-reference-home .hh-editorial .hh-paa-hero {
    min-height: 0; height: auto; padding: 0; align-items: stretch;
  }
  body.hh-reference-home .hh-editorial .hh-paa-hero .hero-container { min-height: min(16rem, 44vw); }
}

@media (max-width: 30rem) {
  body.hh-reference-home .hh-editorial .hh-paa-hero .hero-container { min-height: 17rem; }
}

@media (min-width: 64rem) and (prefers-reduced-motion: reduce) {
  body.hh-reference-home .hh-paa-sidebar,
  body.hh-reference-home .hh-paa-sidebar__logo,
  body.hh-reference-home .hh-paa-sidebar__school-name,
  body.hh-reference-home > main,
  body.hh-reference-home > .main-footer,
  body.hh-reference-home .main-header { transition: none; }
}

/* Cinematic homepage slideshow. The supplied artwork remains unadorned. */
.hh-cinematic-hero {
  position: relative; isolation: isolate; height: min(70svh, 48rem); margin-top: 4.25rem;
  overflow: hidden; background: linear-gradient(120deg, #10182F 0%, #1B2355 55%, #2C3780 100%);
}
.hh-cinematic-hero__slides,
.hh-cinematic-hero__slide,
.hh-cinematic-hero__slide img { width: 100%; height: 100%; }
.hh-cinematic-hero__slides { position: absolute; inset: 0; }
.hh-cinematic-hero__slide {
  position: absolute; inset: 0; z-index: 0; margin: 0; opacity: 0;
  pointer-events: none; transition: opacity 1000ms ease-in-out;
}
.hh-cinematic-hero__slide.is-active { z-index: 1; opacity: 1; pointer-events: auto; }
.hh-cinematic-hero__slide img {
  display: block; object-fit: cover; object-position: center;
  transform: scale(1); will-change: transform;
}
.hh-cinematic-hero__slide.is-active img { animation: hh-cinematic-scale 9s cubic-bezier(.45, 0, .55, 1) both; }
@keyframes hh-cinematic-scale {
  0% { transform: scale(1); }
  44.444% { transform: scale(1.08); }
  88.888% { transform: scale(1); }
  100% { transform: scale(1); }
}
.hh-cinematic-hero__content {
  position: absolute; z-index: 1; top: 50%; left: clamp(1.5rem, 7vw, 8rem); width: min(31rem, 34vw);
  margin: 0; color: #fff; transform: translateY(-50%); text-align: left;
}
.hh-cinematic-hero__slide--leaders .hh-cinematic-hero__content {
  top: 1.2rem; left: clamp(1rem, 3vw, 3rem); width: min(14rem, 18vw); transform: none;
}
.hh-cinematic-hero__slide--leaders .hh-cinematic-hero__content :is(h1, h2) { font-size: clamp(2.45rem, 3.9vw, 4.1rem); }
.hh-cinematic-hero__slide--leaders .hh-cinematic-hero__description { margin-top: .9rem; font-size: .95rem; line-height: 1.4; }
.hh-cinematic-hero__slide--leaders .hh-cinematic-hero__cta { margin-top: 1rem; }
.hh-cinematic-hero__eyebrow {
  margin: 0 0 1rem; color: #ffc72c; font-family: var(--hh-ed-font-interface); font-size: .72rem;
  font-weight: 800; letter-spacing: .16em; line-height: 1.3; text-transform: uppercase;
}
.hh-cinematic-hero__content :is(h1, h2) {
  max-width: 13ch; margin: 0; color: #fff; font-family: var(--hh-ed-font-display); font-size: clamp(3rem, 4.8vw, 5.5rem);
  font-weight: 400; letter-spacing: -.045em; line-height: .98; text-wrap: balance;
}
.hh-cinematic-hero__description {
  max-width: 31rem; margin: 1.45rem 0 0; color: rgb(255 255 255 / 88%); font-family: var(--hh-ed-font-body);
  font-size: clamp(1rem, 1.25vw, 1.2rem); line-height: 1.55;
}
.hh-cinematic-hero__cta {
  display: inline-flex; align-items: center; gap: .65rem; margin-top: 1.75rem; padding: .1rem 0 .5rem;
  border-bottom: 2px solid #ffc72c; color: #fff; font-family: var(--hh-ed-font-interface); font-size: .73rem;
  font-weight: 800; letter-spacing: .12em; line-height: 1.2; text-transform: uppercase;
}
.hh-cinematic-hero__cta span { font-size: 1.15em; transition: transform 180ms ease; }
.hh-cinematic-hero__cta:is(:hover, :focus-visible) { color: #ffc72c; }
.hh-cinematic-hero__cta:hover span { transform: translateX(.3rem); }
.hh-cinematic-hero__cta:focus-visible { outline: 2px solid #ffc72c; outline-offset: 5px; }
.hh-cinematic-hero__navigation {
  position: absolute; z-index: 2; bottom: clamp(1.25rem, 3vw, 3rem); left: clamp(1.25rem, 4vw, 4.5rem);
  display: flex; align-items: center; gap: .6rem;
}
.hh-cinematic-hero__controls { display: flex; align-items: center; gap: .45rem; }
.hh-cinematic-hero__arrow,
.hh-cinematic-hero__controls button {
  display: inline-grid; width: 2.75rem; min-width: 2.75rem; height: 2.75rem; place-items: center; border: 1px solid rgb(255 255 255 / 38%);
  border-radius: 0; color: #fff; background: rgb(15 23 42 / 80%); font-family: var(--hh-ed-font-interface); font-size: .78rem;
  font-weight: 800; letter-spacing: .08em; line-height: 1; text-align: center; transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}
.hh-cinematic-hero__controls .sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; padding: 0;
}
.hh-cinematic-hero__arrow { font-size: 1.1rem; letter-spacing: 0; }
.hh-cinematic-hero__arrow:is(:hover, :focus-visible),
.hh-cinematic-hero__controls button:is(:hover, :focus-visible) { border-color: #ffc72c; color: #fff; background: rgb(44 55 128 / 94%); }
.hh-cinematic-hero__arrow:hover:first-child { transform: translateX(-.15rem); }
.hh-cinematic-hero__arrow:hover:last-child { transform: translateX(.15rem); }
.hh-cinematic-hero__controls button.is-active { border-color: #ffc72c; color: #1b2355; background: #ffc72c; }
.hh-cinematic-hero__navigation :is(button, a):focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.hh-cinematic-hero__boundary { position: absolute; inset: auto 0 0; width: 1px; height: 1px; pointer-events: none; }

@media (min-width: 64rem) {
  body.hh-reference-home .hh-cinematic-hero {
    height: calc(100svh - var(--hh-paa-header-height)); min-height: 32rem; margin-top: var(--hh-paa-header-height);
  }
  body.hh-reference-home .hh-cinematic-hero__navigation { left: clamp(2rem, 5vw, 5rem); }
}
@media (prefers-reduced-motion: reduce) {
  .hh-cinematic-hero__slide { transition: none; }
  .hh-cinematic-hero__slide.is-active img { animation: none; }
}

/* Compact responsive refinement.  The desktop editorial compositions remain
 * untouched; these rules only remove wasted space and protect narrow screens. */
@media (min-width: 64rem) and (max-width: 74.99rem) {
  body.hh-reference-home .hh-paa-sidebar { display: none; }
  body.hh-reference-home > main,
  body.hh-reference-home > .main-footer { width: 100%; margin-left: 0; }
  body.hh-reference-home .main-header { left: 0; }
  body.hh-reference-home .hh-ed-schools-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.hh-reference-home .hh-ed-school-card:last-child { grid-column: 1 / -1; }
}

@media (max-width: 63.99rem) {
  body.hh-reference-home .hh-cinematic-hero {
    height: clamp(25rem, 68svh, 38rem);
    min-height: 0;
    margin-top: 4.25rem;
  }
  body.hh-reference-home .hh-cinematic-hero__navigation {
    bottom: 1.25rem;
    left: 1.25rem;
  }
  body.hh-reference-home .hh-cinematic-hero__content { left: clamp(1.5rem, 7vw, 5rem); width: min(27rem, 44vw); }
  body.hh-reference-home .hh-cinematic-hero__slide--leaders .hh-cinematic-hero__content { top: 1.2rem; width: min(14rem, 26vw); }
  body.hh-reference-home .hh-ed-established { min-height: 0; }
  body.hh-reference-home .hh-ed-established__content { padding: clamp(3.5rem, 8vw, 5rem) 1.5rem clamp(2.75rem, 6vw, 4rem); }
  body.hh-reference-home .hh-ed-established__title { font-size: clamp(3.25rem, 10vw, 4.75rem); }
  body.hh-reference-home .hh-ed-established__copy { margin-top: clamp(1.75rem, 4vw, 2.5rem); }
  body.hh-reference-home .hh-ed-how-we-work__content { min-height: 29rem; padding: 3.75rem 1.5rem 5.75rem; }
  body.hh-reference-home .hh-ed-programmes-mosaic { padding: .875rem; }
  body.hh-reference-home .hh-ed-programmes-mosaic__card { min-height: 21rem; padding: 2rem 1.5rem; }
  body.hh-reference-home .hh-ed-news-section { padding-block: clamp(3.5rem, 7vw, 4.5rem); }
  body.hh-reference-home .hh-ed-academics-section { padding-block: clamp(3.5rem, 7vw, 4.75rem); }
  body.hh-reference-home .hh-ed-academics-section .tab-control-wrapper { width: 100%; max-width: 100%; overflow: hidden; }
  body.hh-reference-home .hh-ed-academics-section .tab-controls { width: 100%; max-width: 100%; }
  body.hh-reference-home .hh-ed-academics-section :is(.tab-content-panels, .tab-panel, .panel-grid, .panel-text, .panel-graphics) { min-width: 0; max-width: 100%; }
  body.hh-reference-home .hh-ed-academics-section .panel-grid { gap: clamp(1.75rem, 5vw, 2.5rem); }
  body.hh-reference-home .hh-ed-academics-section .panel-illustration { min-height: clamp(16rem, 48vw, 20rem); }
  body.hh-reference-home .hh-ed-schools { padding-block: clamp(3.5rem, 7vw, 4.75rem); }
  body.hh-reference-home .hh-ed-school-card > img { height: clamp(15rem, 42vw, 18rem); flex-basis: clamp(15rem, 42vw, 18rem); }
  body.hh-reference-home .hh-ed-principal-section,
  body.hh-reference-home .hh-ed-contact-section { padding-block: clamp(3.5rem, 7vw, 4.75rem); }
  body.hh-reference-home .footer-grid { gap: 2rem; }
}

@media (max-width: 47.99rem) {
  body.hh-reference-home .hh-cinematic-hero { height: clamp(26rem, 72svh, 29.5rem); }
  body.hh-reference-home .hh-cinematic-hero__slide img { position: absolute; right: auto; bottom: 3.4rem; left: -7.5%; width: 115%; height: 56%; object-fit: contain; object-position: center bottom; transform-origin: center bottom; }
  body.hh-reference-home .hh-cinematic-hero__content,
  body.hh-reference-home .hh-cinematic-hero__slide--leaders .hh-cinematic-hero__content { top: 1.15rem; left: 1.25rem; width: min(20rem, calc(100% - 2.5rem)); transform: none; }
  body.hh-reference-home .hh-cinematic-hero__eyebrow { margin-bottom: .45rem; font-size: .62rem; letter-spacing: .12em; }
  body.hh-reference-home .hh-cinematic-hero__content :is(h1, h2) { max-width: 12ch; font-size: clamp(2rem, 8.5vw, 2.7rem); line-height: 1; }
  body.hh-reference-home .hh-cinematic-hero__description { max-width: 20rem; margin-top: .65rem; font-size: .92rem; line-height: 1.4; }
  body.hh-reference-home .hh-cinematic-hero__cta { margin-top: .8rem; font-size: .64rem; }
  body.hh-reference-home .hh-cinematic-hero__navigation { bottom: .9rem; left: 1.25rem; gap: .4rem; }
  body.hh-reference-home .hh-cinematic-hero__arrow,
  body.hh-reference-home .hh-cinematic-hero__controls button { width: 2.25rem; min-width: 2.25rem; height: 2.25rem; }
  body.hh-reference-home .hh-editorial .hh-ed-established__content { padding: 3rem 1.25rem 2.5rem; }
  body.hh-reference-home .hh-editorial .hh-ed-established__title { display: flex; width: 100%; flex-direction: column; gap: .04em; color: #1b2355; font-size: clamp(2.35rem, 10.7vw, 3rem); letter-spacing: -.045em; line-height: .9; }
  body.hh-reference-home .hh-editorial .hh-ed-established__copy { margin-top: 1.5rem; }
  body.hh-reference-home .hh-ed-established__media { min-height: clamp(17rem, 58vw, 21rem); }
  body.hh-reference-home .hh-ed-how-we-work__content { min-height: 26rem; padding: 3.5rem 1.5rem 5.25rem; }
  body.hh-reference-home .hh-ed-how-we-work__eyebrow { margin-bottom: 1.35rem; }
  body.hh-reference-home .hh-ed-how-we-work h2 { font-size: clamp(1.875rem, 8vw, 2.1rem); }
  body.hh-reference-home .hh-ed-how-we-work__media { min-height: clamp(16rem, 62vw, 21rem); }
  body.hh-reference-home .hh-ed-programmes-mosaic { gap: .75rem; padding: .75rem; }
  body.hh-reference-home .hh-ed-programmes-mosaic__media { min-height: clamp(14.5rem, 56vw, 18rem); }
  body.hh-reference-home .hh-ed-programmes-mosaic__card { min-height: 18.5rem; padding: 1.75rem 1.25rem; }
  body.hh-reference-home .hh-ed-programmes-mosaic__card p { margin: 1rem 0 1.5rem; font-size: 1rem; line-height: 1.55; }
  body.hh-reference-home .hh-ed-news-section > .container { width: min(100% - 2.5rem, 38rem); }
  body.hh-reference-home .hh-ed-news-section__intro { margin-bottom: 2.25rem; }
  body.hh-reference-home .hh-ed-news-section .announcements-split-grid { gap: 2rem; }
  body.hh-reference-home .announcement-featured-card { padding: 1.5rem 1.25rem; }
  body.hh-reference-home .announcement-list-card { padding-block: 1.25rem; }
  body.hh-reference-home .hh-ed-academics-section .panel-illustration { min-height: 15rem; }
  body.hh-reference-home .hh-ed-academics-section .panel-features-list { padding-left: 1.15rem; }
  body.hh-reference-home .hh-ed-school-card__content { padding: 1.25rem 1.4rem 1.5rem; }
  body.hh-reference-home .hh-ed-principal-section .principal-content { padding: 0; }
  body.hh-reference-home .hh-ed-contact-section .detail-value,
  body.hh-reference-home .hh-ed-contact-section .detail-value a,
  body.hh-reference-home .footer-contact-list,
  body.hh-reference-home .footer-links a { overflow-wrap: anywhere; }
  body.hh-reference-home .hh-ed-contact-section .contact-map-section { margin-top: 2.5rem; }
  body.hh-reference-home .footer-grid { gap: 1.6rem; }
}

@media (max-width: 23.5rem) {
  body.hh-reference-home .header-container { padding-inline: .75rem; }
  body.hh-reference-home .btn-header-cta { font-size: .52rem; letter-spacing: .08em; }
  body.hh-reference-home .hh-cinematic-hero { height: clamp(26rem, 73svh, 28rem); }
  body.hh-reference-home .hh-cinematic-hero__slide img { bottom: 3.2rem; left: -6%; width: 112%; height: 55%; }
  body.hh-reference-home .hh-cinematic-hero__content,
  body.hh-reference-home .hh-cinematic-hero__slide--leaders .hh-cinematic-hero__content { left: 1rem; width: calc(100% - 2rem); }
  body.hh-reference-home .hh-cinematic-hero__content :is(h1, h2) { font-size: clamp(1.85rem, 9vw, 2.25rem); }
  body.hh-reference-home .hh-cinematic-hero__description { font-size: .86rem; }
  body.hh-reference-home .hh-cinematic-hero__navigation { bottom: .75rem; left: 1rem; gap: .3rem; }
  body.hh-reference-home .hh-cinematic-hero__arrow,
  body.hh-reference-home .hh-cinematic-hero__controls button { width: 2.1rem; min-width: 2.1rem; height: 2.1rem; }
  body.hh-reference-home .hh-ed-established__content,
  body.hh-reference-home .hh-ed-how-we-work__content { padding-inline: 1.1rem; }
  body.hh-reference-home .hh-ed-programmes-mosaic { padding: .6rem; }
  body.hh-reference-home .hh-ed-news-section > .container { width: min(100% - 2rem, 38rem); }
  body.hh-reference-home .hh-ed-academics-section .panel-title { font-size: 1.9rem; }
  body.hh-reference-home .hh-ed-contact-section :is(.contact-info-card, .enquiry-card) { padding: 1.25rem; }
}

/* Responsive site chrome. The unmodified crest stays on its white field so
 * every detail of the original artwork remains legible on brand navy. */
@media (max-width: 74.99rem) {
  body.hh-reference-home .main-header,
  body.hh-reference-home .main-header.scrolled {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    width: 100%;
    height: 4.75rem;
    padding: 0;
    background: #1b2355;
    border-bottom: 1px solid rgb(255 255 255 / 16%);
    box-shadow: none;
  }
  body.hh-reference-home .header-container { padding-inline: clamp(.75rem, 2.5vw, 1.5rem); }
  body.hh-reference-home .main-header .logo-area {
    position: absolute;
    top: 50%;
    left: 50%;
    display: flex;
    width: 4.2rem;
    height: 100%;
    align-items: center;
    justify-content: center;
    margin: 0;
    overflow: visible;
    padding: .2rem .25rem;
    transform: translate(-50%, -50%);
    background: #fff;
  }
  body.hh-reference-home .main-header .logo-image {
    display: block;
    width: auto;
    max-width: 100%;
    height: 3.35rem;
    max-height: 100%;
    object-fit: contain;
    opacity: 1;
  }
  body.hh-reference-home .main-header .logo-text { display: none; }
  body.hh-reference-home .mobile-nav-toggle {
    display: inline-flex;
    min-width: 2.75rem;
    min-height: 2.75rem;
    align-items: center;
    justify-content: center;
    padding: .45rem;
    color: #fff;
  }
  body.hh-reference-home .mobile-nav-toggle::after { color: #fff; }
  body.hh-reference-home .nav-actions { margin-left: auto; }
  body.hh-reference-home .btn-header-cta {
    min-height: 2.75rem;
    max-width: 6.75rem;
    border: 0;
    padding: .45rem .25rem;
    color: #fff;
    background: transparent;
    font-size: .6rem;
    letter-spacing: .085em;
    line-height: 1.15;
  }
  body.hh-reference-home .btn-header-cta:hover { color: #ffc72c; background: transparent; }
  body.hh-reference-home .nav-menu {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1001;
    width: 100vw !important;
    height: 100svh !important;
    max-width: none;
    overflow-x: hidden;
    overflow-y: auto;
    box-sizing: border-box;
    padding: 5.5rem clamp(1.1rem, 5vw, 2.5rem) 1.5rem;
    background: #1b2355 !important;
  }
  body.hh-reference-home .nav-menu.open { display: block; }
  body.hh-reference-home .main-header .mobile-menu-close {
    display: inline-flex;
    position: absolute;
    top: 1rem;
    right: clamp(1rem, 3vw, 1.5rem);
    left: auto;
    width: 2.75rem;
    height: 2.75rem;
    border-color: rgb(255 255 255 / 60%);
    border-radius: 0;
    color: #fff;
  }
  body.hh-reference-home .nav-list {
    display: grid;
    width: min(100%, 42rem) !important;
    gap: .1rem;
  }
  body.hh-reference-home .nav-list > li { display: grid; gap: 0; }
  body.hh-reference-home .nav-link {
    display: flex;
    min-height: 2.75rem;
    align-items: center;
    padding: .4rem 0;
    color: #fff;
    font-family: var(--hh-ed-font-display);
    font-size: clamp(1.55rem, 4.4vw, 2.2rem);
    letter-spacing: -.02em;
    line-height: 1.05;
  }
  body.hh-reference-home .nav-item-dropdown .dropdown-toggle { justify-content: space-between; }
  body.hh-reference-home .dropdown-chevron { width: 1rem; color: #ffc72c; }
  body.hh-reference-home .dropdown-menu {
    position: static;
    display: none;
    width: 100% !important;
    min-width: 0 !important;
    margin: .2rem 0 .55rem;
    border: 0;
    border-left: 3px solid #ffc72c;
    border-radius: 0;
    padding: .35rem .55rem;
    background: #f3f0e8;
    box-shadow: none;
    transform: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  body.hh-reference-home .nav-item-dropdown.is-open .dropdown-menu { display: flex; }
  body.hh-reference-home .dropdown-item {
    display: flex;
    min-height: 2.75rem;
    align-items: center;
    padding: .55rem .65rem;
    color: #1b2355;
    font-family: var(--hh-ed-font-interface);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .03em;
    line-height: 1.3;
  }
  body.hh-reference-home .dropdown-item:is(:hover, :focus-visible) { color: #2c3780; background: #fff; }
  body.hh-reference-home .schools-dropdown-menu .school-dropdown-item { align-items: flex-start; }
  body.hh-reference-home .schools-dropdown-menu :is(strong, .school-grades, .school-explore) { color: #1b2355; }
  body.hh-reference-home .schools-dropdown-menu .school-explore { color: #2c3780; }
  body.hh-reference-home :is(.mobile-nav-toggle, .mobile-menu-close, .nav-link, .dropdown-item, .btn-header-cta):focus-visible {
    outline: 3px solid #ffc72c;
    outline-offset: 3px;
  }
}

@media (max-width: 26.875rem) {
  body.hh-reference-home .main-header,
  body.hh-reference-home .main-header.scrolled { height: 4.25rem; }
  body.hh-reference-home .main-header .logo-area { width: 3.8rem; padding-inline: .18rem; }
  body.hh-reference-home .main-header .logo-image { height: 3.1rem; }
  body.hh-reference-home .mobile-nav-toggle { min-width: 2.5rem; padding-inline: .2rem; }
  body.hh-reference-home .mobile-nav-toggle::after { font-size: .52rem; letter-spacing: .08em; }
  body.hh-reference-home .btn-header-cta { max-width: 5.35rem; font-size: .52rem; letter-spacing: .06em; }
  body.hh-reference-home .nav-menu { padding-top: 5rem; }
  body.hh-reference-home .nav-link { font-size: 1.5rem; }
}

/* Phase 3 — public inner pages.  This deliberately reuses the homepage's
 * chrome vocabulary while leaving page markup, form controls, and data hooks
 * intact.  It is opt-in through .hh-reference-inner. */
body.hh-reference-inner {
  background: #f8fafc;
  color: #0f172a;
}
body.hh-reference-inner .top-utility-bar { display: none; }
body.hh-reference-inner .hh-paa-sidebar { display: none; }
body.hh-reference-inner .main-header {
  position: fixed; inset: 0 0 auto 0; z-index: 1000; height: 4.7rem; padding: 0;
  background: #0f172a; border-bottom: 1px solid rgb(255 255 255 / 14%); box-shadow: none;
}
body.hh-reference-inner .main-header.scrolled { height: 4.7rem; padding: 0; background: #0f172a; box-shadow: none; }
body.hh-reference-inner .header-container { position: relative; height: 100%; max-width: none; padding-inline: clamp(1rem, 2.5vw, 2.5rem); justify-content: flex-end; }
body.hh-reference-inner .logo-area { position: absolute; top: 50%; left: 50%; z-index: 1002; gap: .4rem; transform: translate(-50%, -50%); }
body.hh-reference-inner .main-header .logo-image { height: 3.1rem; padding: 0; border-radius: 0; background: transparent; }
body.hh-reference-inner .logo-text { color: #fff; font-size: 1rem; letter-spacing: .02em; }
body.hh-reference-inner .logo-subtext { color: #ffc72c; font-size: .53rem; letter-spacing: .25em; }
body.hh-reference-inner .nav-actions { margin-left: 0; }
body.hh-reference-inner .btn-header-cta { min-height: auto; border: 0; border-left: 1px solid rgb(255 255 255 / 32%); border-radius: 0; padding: 1.9rem clamp(.8rem, 1.5vw, 1.5rem); background: transparent; color: #fff; font-size: .65rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
body.hh-reference-inner .btn-header-cta:hover { background: #359650; color: #fff; }
body.hh-reference-inner .mobile-nav-toggle { position: absolute; left: clamp(1rem, 2.5vw, 2.5rem); top: 50%; display: inline-flex; align-items: center; gap: .5rem; transform: translateY(-50%); padding: .5rem 0; color: #fff; }
body.hh-reference-inner .mobile-nav-toggle::after { content: "Menu"; font-family: "Outfit", sans-serif; font-size: .65rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
body.hh-reference-inner .mobile-nav-toggle .hamburger { width: 1.15rem; }
body.hh-reference-inner .nav-menu { display: none; position: fixed; inset: 0; z-index: 1001; width: 100vw !important; height: 100svh !important; overflow-y: auto; padding: clamp(7rem, 12vw, 10rem) clamp(2rem, 11vw, 11rem) 3rem; background: linear-gradient(90deg, #2c3780 0 52%, #359650 52% 100%) !important; }
body.hh-reference-inner .nav-menu.open { display: block; }
body.hh-reference-inner .main-header:has(.nav-menu.open) :is(.mobile-nav-toggle, .btn-header-cta) { visibility: hidden; }
body.hh-reference-inner .mobile-menu-close { display: inline-flex; position: absolute; top: 1.5rem; left: clamp(1rem, 2.5vw, 2.5rem); width: 2.5rem; height: 2.5rem; align-items: center; justify-content: center; border: 1px solid rgb(255 255 255 / 55%); border-radius: 50%; color: #fff; background: transparent; }
body.hh-reference-inner .mobile-menu-close svg { width: 1.2rem; fill: none; stroke: currentColor; stroke-width: 2; }
body.hh-reference-inner .nav-list { display: grid; width: min(100%, 62rem); gap: .2rem; align-items: start; }
body.hh-reference-inner .nav-list > li { display: grid; gap: .25rem; }
body.hh-reference-inner .nav-link { min-height: 0; padding: .25rem 0; color: #fff; font-family: "DM Serif Display", Georgia, serif; font-size: clamp(2rem, 3.8vw, 4.25rem); font-weight: 400; line-height: 1; }
body.hh-reference-inner .nav-link::after { display: none; }
body.hh-reference-inner .nav-link:hover, body.hh-reference-inner .nav-link:focus-visible { color: #ffc72c; }
body.hh-reference-inner .dropdown-chevron { width: 1.2rem; }
body.hh-reference-inner .dropdown-menu { position: static; display: none; min-width: 0; padding: .25rem 0 .8rem 1rem; transform: none; opacity: 1; visibility: visible; pointer-events: auto; border: 0; border-left: 1px solid rgb(255 255 255 / 42%); border-radius: 0; background: transparent; box-shadow: none; }
body.hh-reference-inner .nav-item-dropdown:is(:hover, :focus-within, .is-open) .dropdown-menu { display: flex; transform: none; }
body.hh-reference-inner .dropdown-item { padding: .2rem 0; color: rgb(255 255 255 / 82%); font-size: .9rem; }
body.hh-reference-inner .dropdown-item:hover { background: transparent; color: #ffc72c; }

/* Page rhythm and reusable editorial elements. */
body.hh-reference-inner > main { min-height: 55vh; padding-top: 4.7rem; background: #f8fafc; }
body.hh-reference-inner :is(.about-hero, .facilities-hero, .privacy-hero, .page-hero, .news-hero, .admission-info-hero, .fee-info-hero, .disclosure-page-intro, .payments-page-intro, .admissions-page-section) { position: relative; isolation: isolate; overflow: hidden; padding: clamp(4.5rem, 9vw, 8rem) 0; background: #2c3780; color: #fff; }
body.hh-reference-inner :is(.about-hero, .facilities-hero, .privacy-hero, .page-hero, .news-hero)::before { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(115deg, rgb(27 35 85 / 95%), rgb(44 55 128 / 76%)); }
body.hh-reference-inner :is(.about-hero-title, .facilities-hero-title, .privacy-hero-title, .page-hero-title, .news-hero h1, .admission-info-hero h1, .fee-info-hero h1, .disclosure-page-intro h1, .payments-page-intro h1, .admissions-page-section .page-hero-title) { max-width: 18ch; margin: 0 0 1rem; color: #fff; font-family: "DM Serif Display", Georgia, serif; font-size: clamp(2.75rem, 5vw, 5.5rem); font-weight: 400; letter-spacing: -.04em; line-height: .98; }
body.hh-reference-inner :is(.about-hero-subtitle, .facilities-hero-subtitle, .privacy-hero-subtitle, .page-hero-subtitle, .news-hero p, .admission-info-hero p, .fee-info-intro, .disclosure-page-intro p, .payments-page-intro p, .admissions-page-section .page-hero-subtitle) { max-width: 42rem; margin-bottom: 1.75rem; color: rgb(255 255 255 / 88%); font-family: "Plantin Roman", Georgia, serif; font-size: clamp(1rem, 1.4vw, 1.25rem); line-height: 1.65; }
body.hh-reference-inner :is(.content-section, .about-story-section, .about-values-section, .trust-section, .achievements-showcase-section, .facilities-main-section, .tour-booking-section, .privacy-content-section, .news-section, .disclosure-content, .admission-process-content) { padding-block: clamp(4rem, 8vw, 8rem) !important; }
body.hh-reference-inner :is(.section-title, .about-story-title, .trust-subtitle, .privacy-card h2, .disclosure-section-header, .fee-policy h2, .admission-step h2) { color: #0f172a; font-family: "DM Serif Display", Georgia, serif; font-weight: 400; letter-spacing: -.025em; }
body.hh-reference-inner :is(.section-description, .about-story-desc, .about-value-desc, .privacy-card p, .disclosure-section p, .admission-step p, .fee-card p, .payments-page-main p) { font-family: "Plantin Roman", Georgia, serif; line-height: 1.7; }
body.hh-reference-inner .section-subtitle { color: #359650; font-family: "Outfit", sans-serif; font-size: .72rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
body.hh-reference-inner :is(.about-story-image-frame, .facility-card, .tour-booking-card, .privacy-card, .fee-card, .admission-step, .disclosure-section, .payment-verification-card) { border-color: #e2e8f0; border-radius: .25rem; box-shadow: none; }
body.hh-reference-inner .about-story-image-frame { overflow: hidden; }
body.hh-reference-inner .about-story-image { display: block; min-height: 28rem; object-fit: cover; }
body.hh-reference-inner .about-values-grid, body.hh-reference-inner .achievements-showcase-grid, body.hh-reference-inner .fees-grid { gap: 1px; background: #e2e8f0; }
body.hh-reference-inner :is(.about-value-card, .achievement-stat-card, .fee-card) { margin: 0; border: 0; border-radius: 0; background: #fff; box-shadow: none; }
body.hh-reference-inner :is(.about-value-card:hover, .achievement-stat-card:hover, .fee-card:hover) { transform: none; box-shadow: none; }
body.hh-reference-inner .facilities-grid { gap: 1rem; }
body.hh-reference-inner .facility-card { overflow: hidden; border: 1px solid #e2e8f0; background: #fff; }
body.hh-reference-inner .facility-card:hover { transform: translateY(-.2rem); box-shadow: 0 1rem 2rem rgb(15 23 42 / 8%); }
body.hh-reference-inner :is(.btn, button[type="submit"]) { border-radius: .2rem; font-family: "Outfit", sans-serif; }
body.hh-reference-inner .admission-step { border-left: 4px solid #359650; background: #fff; }
body.hh-reference-inner .disclosure-section { overflow: hidden; background: #fff; }
body.hh-reference-inner .disclosure-section-header { margin: 0; padding: 1.25rem 1.5rem; background: #2c3780; color: #fff; }
body.hh-reference-inner .disclosure-table { border-color: #e2e8f0; }
body.hh-reference-inner .disclosure-table th { background: #f8fafc; color: #2c3780; font-family: "Outfit", sans-serif; }

/* The homepage footer is the canonical public footer treatment. */
body.hh-reference-inner .main-footer { border-top: 5px solid #359650; padding-top: clamp(4rem, 7vw, 7rem); background: #0f172a; }
body.hh-reference-inner .footer-trust-strip { display: none; }
body.hh-reference-inner .footer-grid { grid-template-columns: 1.45fr repeat(3, 1fr); max-width: 71rem; margin: auto; gap: clamp(2rem, 4vw, 4rem); padding-bottom: 4rem; }
body.hh-reference-inner .footer-brand .logo-area { position: static; transform: none; margin-bottom: 1.2rem; padding: 0; border: 0; background: transparent; }
body.hh-reference-inner .footer-brand .logo-image { padding: .35rem; border-radius: .25rem; background: #fff; }
body.hh-reference-inner .footer-brand .logo-text, body.hh-reference-inner .footer-brand .logo-subtext { color: #fff; }
body.hh-reference-inner .footer-title { margin-bottom: 1rem; padding-bottom: 0; font-family: "DM Serif Display", Georgia, serif; font-size: 1.35rem; font-weight: 400; }
body.hh-reference-inner .footer-title::after { display: none; }
body.hh-reference-inner .footer-links { gap: .55rem; }
body.hh-reference-inner .footer-links a { font-size: .78rem; }
body.hh-reference-inner .footer-title-sub { margin-top: 1.5rem; }
body.hh-reference-inner .footer-bottom { background: transparent; }

@media (min-width: 64rem) {
  body.hh-reference-inner .main-header { right: 0; left: 0; width: 100%; }
  body.hh-reference-inner .header-container { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; justify-content: normal; padding-right: clamp(1rem, 2.5vw, 2.5rem); padding-left: 0; }
  body.hh-reference-inner .main-header .logo-area { position: static; display: flex; width: 4.5rem; height: 100%; box-sizing: border-box; flex: 0 0 4.5rem; justify-content: center; margin: 0; overflow: hidden; padding: 0; transform: none; background: #fff; border-right: 1px solid #e2e8f0; }
  body.hh-reference-inner .main-header .logo-image { width: auto; max-width: 3.25rem; height: 2.85rem; }
  body.hh-reference-inner .main-header .logo-text { display: none !important; }
  body.hh-reference-inner .mobile-nav-toggle, body.hh-reference-inner .mobile-menu-close { display: none; }
  body.hh-reference-inner .nav-menu { position: static; display: flex; width: auto !important; min-width: 0; height: auto !important; margin-left: clamp(2rem, 5vw, 5rem); overflow: visible; padding: 0; background: transparent !important; }
  body.hh-reference-inner .nav-list { display: flex; width: auto; gap: clamp(1rem, 2.4vw, 2.8rem); align-items: center; }
  body.hh-reference-inner .nav-list > li { display: block; }
  body.hh-reference-inner .nav-link { padding: 1.65rem 0; color: rgb(255 255 255 / 68%); font-family: "Outfit", sans-serif; font-size: .64rem; font-weight: 700; letter-spacing: .13em; line-height: 1; text-transform: uppercase; }
  body.hh-reference-inner .nav-link:hover, body.hh-reference-inner .nav-link:focus-visible { color: #fff; }
  body.hh-reference-inner .dropdown-chevron { width: .8rem; }
  body.hh-reference-inner .dropdown-menu { position: absolute; top: 4.25rem; left: auto; display: flex; min-width: 13rem; transform: translateY(.5rem); opacity: 0; visibility: hidden; pointer-events: none; border: 1px solid rgb(255 255 255 / 14%); border-left: 0; border-radius: 0; padding: .65rem; background: #0f172a; }
  body.hh-reference-inner .nav-item-dropdown:is(:hover, :focus-within, .is-open) .dropdown-menu { opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0); }
  body.hh-reference-inner .dropdown-item { padding: .45rem .5rem; color: #fff; font-size: .78rem; }
  body.hh-reference-inner .nav-actions { margin-left: auto; }
  body.hh-reference-inner .btn-header-cta { border-left: 0; padding: .7rem 0; color: #359650; }
  body.hh-reference-inner .btn-header-cta:hover { background: transparent; color: #ffc72c; }
}
@media (min-width: 64rem) and (max-width: 75rem) {
  body.hh-reference-inner .header-container { padding-right: 1rem; }
  body.hh-reference-inner .nav-menu { margin-left: 2rem; }
  body.hh-reference-inner .nav-list { gap: .75rem; }
  body.hh-reference-inner .nav-link { font-size: .55rem; letter-spacing: .09em; }
  body.hh-reference-inner .btn-header-cta { font-size: .58rem; letter-spacing: .08em; white-space: nowrap; }
}
@media (max-width: 63.99rem) {
  body.hh-reference-inner .footer-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}
@media (max-width: 30rem) {
  body.hh-reference-inner .nav-menu { padding-inline: 1.5rem; }
  body.hh-reference-inner :is(.about-hero-title, .facilities-hero-title, .privacy-hero-title, .page-hero-title, .news-hero h1, .admission-info-hero h1, .fee-info-hero h1, .disclosure-page-intro h1, .payments-page-intro h1, .admissions-page-section .page-hero-title) { font-size: 2.65rem; }
}
@media (prefers-reduced-motion: reduce) {
  body.hh-reference-inner .main-header { transition: none; }
}

/* Shared fees navigation action. The desktop control is intentionally kept
 * outside the drawer; the drawer has its own prominent, keyboard-accessible
 * link so the compact white header remains unchanged below 1200px. */
body:is(.hh-reference-home, .hh-reference-inner) .btn-header-payments,
body:is(.hh-reference-home, .hh-reference-inner) .mobile-payments-nav-item { display: none; }

@media (min-width: 75rem) {
  body:is(.hh-reference-home, .hh-reference-inner) .mobile-payments-nav-item { display: none !important; }
  body:is(.hh-reference-home, .hh-reference-inner) .nav-actions {
    display: flex;
    align-items: center;
    gap: clamp(.75rem, 1.25vw, 1.25rem);
  }
  body:is(.hh-reference-home, .hh-reference-inner) .btn-header-payments {
    display: inline-flex;
    min-height: 2.4rem;
    align-items: center;
    gap: .4rem;
    border: 1px solid #ffc72c;
    border-radius: .15rem;
    padding: .58rem .8rem;
    color: #1b2355;
    background: #ffc72c;
    font-family: "Outfit", sans-serif;
    font-size: .62rem;
    font-weight: 800;
    letter-spacing: .1em;
    line-height: 1;
    text-transform: uppercase;
    white-space: nowrap;
  }
  body:is(.hh-reference-home, .hh-reference-inner) .btn-header-payments:hover { border-color: #fff; background: #fff; color: #1b2355; }
  body:is(.hh-reference-home, .hh-reference-inner) .btn-header-payments:focus-visible { outline: 3px solid #ffc72c; outline-offset: 3px; }
}

@media (min-width: 75rem) and (max-width: 90rem) {
  body:is(.hh-reference-home, .hh-reference-inner) .header-container { padding-right: 1rem; }
  body:is(.hh-reference-home, .hh-reference-inner) .nav-menu { margin-left: 1.25rem; }
  body:is(.hh-reference-home, .hh-reference-inner) .nav-list { gap: .65rem; }
  body:is(.hh-reference-home, .hh-reference-inner) .nav-link { font-size: .55rem; letter-spacing: .085em; }
  body:is(.hh-reference-home, .hh-reference-inner) .btn-header-payments { padding-inline: .65rem; font-size: .55rem; letter-spacing: .075em; }
  body:is(.hh-reference-home, .hh-reference-inner) .btn-header-cta { font-size: .56rem; letter-spacing: .075em; white-space: nowrap; }
}

@media (max-width: 74.99rem) {
  body:is(.hh-reference-home, .hh-reference-inner) .btn-header-payments { display: none !important; }
  body:is(.hh-reference-home, .hh-reference-inner) .mobile-payments-nav-item {
    display: grid;
    margin: .2rem 0 .45rem;
    border-left: 3px solid #ffc72c;
    padding-left: .8rem;
  }
  body:is(.hh-reference-home, .hh-reference-inner) .mobile-payments-nav-item .nav-link { color: #fff; }
  body:is(.hh-reference-home, .hh-reference-inner) .mobile-payments-nav-item .nav-link span { margin-left: .35rem; color: #ffc72c; }
}

/* Mandatory disclosure uses the shared editorial shell, with denser data
 * tables than a narrative page. These rules supersede the legacy disclosure
 * widget styles without altering its CBSE content or document destinations. */
body.hh-reference-inner .disclosure-page-intro { padding-block: clamp(3rem, 5vw, 4.5rem); }
body.hh-reference-inner .disclosure-eyebrow { margin-bottom: .9rem; border-radius: 0; color: #ffc72c; background: transparent; font-family: "Outfit", sans-serif; font-size: .72rem; letter-spacing: .13em; }
body.hh-reference-inner .disclosure-title { margin: 0 0 .85rem; color: #fff; font-family: "DM Serif Display", Georgia, serif; font-size: clamp(2.75rem, 5vw, 5.5rem); font-weight: 400; letter-spacing: -.04em; line-height: .98; }
body.hh-reference-inner .disclosure-subtitle { max-width: 42rem; color: rgb(255 255 255 / 88%); font-family: "Plantin Roman", Georgia, serif; font-size: clamp(1rem, 1.4vw, 1.25rem); line-height: 1.65; }
body.hh-reference-inner .disclosure-content { padding-block: clamp(2.75rem, 5vw, 5rem) !important; }
body.hh-reference-inner .disclosure-section { margin-bottom: clamp(1.5rem, 3vw, 2.5rem); overflow: hidden; border: 1px solid #e2e8f0; border-radius: 0; background: #fff; box-shadow: none; }
body.hh-reference-inner h2.disclosure-section-header { display: block; min-height: 0; margin: 0; padding: 1rem 1.35rem; color: #fff; background: #1b2355; font-family: "DM Serif Display", Georgia, serif; font-size: clamp(1.35rem, 2vw, 1.75rem); font-weight: 400; letter-spacing: -.015em; line-height: 1.2; }
body.hh-reference-inner .disclosure-section-header::after { display: none; }
body.hh-reference-inner .disclosure-table-wrap { overflow: visible; border: 0; border-radius: 0; background: #fff; box-shadow: none; }
body.hh-reference-inner .disclosure-table { table-layout: fixed; border-collapse: collapse; border-color: #e2e8f0; }
body.hh-reference-inner .disclosure-table th,
body.hh-reference-inner .disclosure-table td { padding: .9rem 1rem; border-color: #e2e8f0; vertical-align: top; overflow-wrap: anywhere; }
body.hh-reference-inner .disclosure-table th { color: #2c3780; background: #f8fafc; font-family: "Outfit", sans-serif; font-size: .68rem; font-weight: 800; letter-spacing: .08em; line-height: 1.25; }
body.hh-reference-inner .disclosure-table td { color: #334155; font-family: "Plantin Roman", Georgia, serif; }
body.hh-reference-inner .disclosure-table tbody tr:nth-child(even) { background: #f8fafc; }
body.hh-reference-inner .disclosure-table tbody tr:hover { background: #f1f5f9; }
body.hh-reference-inner .disclosure-table :is(th, td):first-child { width: 4.5rem; text-align: center; }
body.hh-reference-inner .disclosure-table th.col-sl { width: 4.5rem; }
body.hh-reference-inner .disclosure-table th.col-info { width: 42%; }
body.hh-reference-inner .disclosure-table th.col-details { width: auto; }
body.hh-reference-inner .disclosure-table th.col-doc { width: auto; }
body.hh-reference-inner .disclosure-table th.col-action { width: 10.75rem; }
body.hh-reference-inner .disclosure-action { display: inline-flex; min-height: 2.4rem; align-items: center; justify-content: center; gap: .45rem; border: 1px solid #2c3780; border-radius: .15rem; padding: .5rem .75rem; color: #fff; background: #2c3780; font-family: "Outfit", sans-serif; font-size: .68rem; font-weight: 800; letter-spacing: .07em; line-height: 1; text-align: center; text-decoration: none; text-transform: uppercase; }
body.hh-reference-inner .disclosure-action:is(:hover, :focus-visible) { border-color: #1b2355; color: #fff; background: #1b2355; }
body.hh-reference-inner .disclosure-action:focus-visible { outline: 3px solid #ffc72c; outline-offset: 3px; }
body.hh-reference-inner .disclosure-action-disabled,
body.hh-reference-inner .disclosure-action:disabled { border-color: #cbd5e1; color: #64748b; background: #f8fafc; opacity: 1; }
body.hh-reference-inner .disclosure-action:disabled:hover { border-color: #cbd5e1; color: #64748b; background: #f8fafc; }
body.hh-reference-inner .table-responsive-scroll { padding-bottom: .25rem; scrollbar-color: #2c3780 #e2e8f0; }
body.hh-reference-inner .table-responsive-scroll .disclosure-table-wrap { min-width: 46.875rem !important; }
body.hh-reference-inner .table-responsive-scroll .disclosure-table { table-layout: auto; }
body.hh-reference-inner .table-responsive-scroll .disclosure-table th { white-space: nowrap; }
body.hh-reference-inner .teacher-breakdown { border-radius: 0; background: #f8fafc; }
body.hh-reference-inner .teacher-val { color: #2c3780; }

@media (max-width: 47.99rem) {
  body.hh-reference-inner .disclosure-title { font-size: clamp(2.4rem, 10vw, 3.15rem); }
  body.hh-reference-inner .disclosure-section-header { padding: .9rem 1rem; }
  body.hh-reference-inner .disclosure-table-stackable tr { padding: .65rem 0; }
  body.hh-reference-inner .disclosure-table-stackable td { padding: .45rem 1rem; }
  body.hh-reference-inner .disclosure-table-stackable td:first-child { color: #2c3780; }
  body.hh-reference-inner .disclosure-table-stackable td::before { color: #64748b; font-family: "Outfit", sans-serif; }
  body.hh-reference-inner .disclosure-action { width: 100%; }
}

/* Unified public mobile chrome. This deliberately supersedes the earlier
 * page-specific drawer rules so every public page has the same header/menu. */
@media (max-width: 74.99rem) {
  body:is(.hh-reference-home, .hh-reference-inner) .main-header,
  body:is(.hh-reference-home, .hh-reference-inner) .main-header.scrolled {
    position: fixed;
    inset: 0 0 auto;
    z-index: 1000;
    width: 100%;
    height: 4.5rem;
    padding: 0;
    color: #2c3780;
    background: #fff;
    border: 0;
    box-shadow: none;
  }
  body:is(.hh-reference-home, .hh-reference-inner) .header-container {
    display: grid;
    /* Equal outer tracks keep the school mark at the viewport centre, rather
     * than centring it in the space left over by MENU and Admissions Open. */
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    justify-content: initial;
    gap: 0;
    width: 100%;
    max-width: none;
    height: 100%;
    padding-inline: .5rem;
  }
  body:is(.hh-reference-home, .hh-reference-inner) .main-header .logo-area {
    position: relative;
    inset: auto;
    grid-column: 2;
    grid-row: 1;
    z-index: 1002;
    display: flex;
    width: auto;
    height: auto;
    min-width: 0;
    align-items: center;
    justify-self: center;
    gap: .3rem;
    margin: 0;
    overflow: visible;
    padding: 0;
    transform: none;
    background: transparent;
    border: 0;
  }
  body:is(.hh-reference-home, .hh-reference-inner) .main-header .logo-image {
    display: block;
    width: auto;
    height: 2.5rem;
    max-width: none;
    max-height: none;
    flex: 0 0 auto;
    object-fit: contain;
    opacity: 1;
  }
  body:is(.hh-reference-home, .hh-reference-inner) .main-header .logo-text {
    display: flex !important;
    min-width: 0;
    flex-direction: column;
    color: #2c3780;
    font-family: "Outfit", sans-serif;
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .04em;
    line-height: .92;
    text-align: left;
    white-space: nowrap;
  }
  body:is(.hh-reference-home, .hh-reference-inner) .main-header .logo-subtext {
    color: #2c3780;
    font-size: .45rem;
    letter-spacing: .16em;
  }
  body:is(.hh-reference-home, .hh-reference-inner) .nav-actions { display: contents; }
  body:is(.hh-reference-home, .hh-reference-inner) .mobile-nav-toggle {
    position: static;
    top: auto;
    transform: none;
    grid-column: 1;
    grid-row: 1;
    display: inline-flex;
    min-width: 2.75rem;
    min-height: 2.75rem;
    align-self: center;
    align-items: center;
    justify-content: center;
    justify-self: start;
    gap: .4rem;
    padding: .25rem;
    color: #2c3780;
    line-height: 1;
  }
  body:is(.hh-reference-home, .hh-reference-inner) .mobile-nav-toggle .hamburger { display: block; flex: 0 0 auto; }
  body:is(.hh-reference-home, .hh-reference-inner) .mobile-nav-toggle::after { line-height: 1; }
  body:is(.hh-reference-home, .hh-reference-inner) .mobile-nav-toggle::after { color: #2c3780; }
  body:is(.hh-reference-home, .hh-reference-inner) .btn-header-cta {
    grid-column: 3;
    grid-row: 1;
    min-height: 2.75rem;
    max-width: none;
    align-self: center;
    justify-self: end;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    padding: .25rem;
    color: #2c3780;
    background: transparent;
    font-family: "Outfit", sans-serif;
    font-size: .55rem;
    font-weight: 700;
    letter-spacing: .055em;
    line-height: 1.1;
    text-align: right;
    white-space: normal;
  }
  body:is(.hh-reference-home, .hh-reference-inner) .btn-header-cta:hover { color: #2c3780; background: transparent; }
  body:is(.hh-reference-home, .hh-reference-inner) .nav-menu {
    position: fixed;
    inset: 0;
    z-index: 1001;
    display: none;
    width: 100vw !important;
    height: 100svh !important;
    max-width: none;
    overflow-x: hidden;
    overflow-y: auto;
    box-sizing: border-box;
    padding: calc(4.5rem + clamp(1.5rem, 5vw, 2.25rem)) clamp(1.25rem, 6vw, 3rem) 2rem;
    /* The drawer owns its white top bar. This leaves the regular header logo
     * in place and prevents a second logo treatment from appearing on open. */
    background: linear-gradient(to bottom, #fff 0, #fff 4.5rem, #2c3780 4.5rem, #2c3780 100%) !important;
  }
  body:is(.hh-reference-home, .hh-reference-inner) .nav-menu.open {
    display: block;
    background: linear-gradient(to bottom, #fff 0, #fff 4.5rem, #2c3780 4.5rem, #2c3780 100%) !important;
  }
  body:is(.hh-reference-home, .hh-reference-inner) .main-header:has(.nav-menu.open) {
    z-index: 1002;
    background: transparent !important;
  }
  body:is(.hh-reference-home, .hh-reference-inner) .main-header:has(.nav-menu.open) :is(.mobile-nav-toggle, .btn-header-cta) { display: none !important; }
  body:is(.hh-reference-home, .hh-reference-inner) .main-header:has(.nav-menu.open) .logo-area {
    position: relative;
    inset: auto;
    transition: none;
  }
  body:is(.hh-reference-home, .hh-reference-inner) .main-header:has(.nav-menu.open) .logo-image {
    height: 2.5rem;
    padding: 0;
    background: transparent;
  }
  body:is(.hh-reference-home, .hh-reference-inner) .main-header:has(.nav-menu.open) .logo-text,
  body:is(.hh-reference-home, .hh-reference-inner) .main-header:has(.nav-menu.open) .logo-subtext { color: #2c3780; }
  body:is(.hh-reference-home, .hh-reference-inner) .main-header .mobile-menu-close {
    position: fixed;
    top: .875rem;
    right: clamp(1rem, 4vw, 1.5rem);
    left: auto;
    z-index: 2;
    display: inline-flex;
    width: 2.75rem;
    height: 2.75rem;
    align-items: center;
    justify-content: center;
    border: 1px solid #2c3780;
    border-radius: 0;
    color: #2c3780;
    background: #fff;
  }
  body:is(.hh-reference-home, .hh-reference-inner) .nav-list {
    display: grid;
    width: min(100%, 42rem) !important;
    gap: .15rem;
    margin: 0 auto;
  }
  body:is(.hh-reference-home, .hh-reference-inner) .nav-list > li { display: grid; gap: 0; }
  body:is(.hh-reference-home, .hh-reference-inner) .nav-link {
    display: flex;
    min-height: 2.75rem;
    align-items: center;
    padding: .45rem 0;
    color: #fff;
    font-family: "DM Serif Display", Georgia, serif;
    font-size: clamp(1.55rem, 4.4vw, 2.2rem);
    font-weight: 400;
    letter-spacing: -.02em;
    line-height: 1.05;
  }
  body:is(.hh-reference-home, .hh-reference-inner) .nav-link:hover,
  body:is(.hh-reference-home, .hh-reference-inner) .nav-link:focus-visible { color: #fff; }
  body:is(.hh-reference-home, .hh-reference-inner) .nav-item-dropdown .dropdown-toggle { justify-content: space-between; }
  body:is(.hh-reference-home, .hh-reference-inner) .dropdown-chevron { width: 1rem; color: #ffc72c; }
  body:is(.hh-reference-home, .hh-reference-inner) .dropdown-menu {
    position: static;
    display: none;
    width: 100% !important;
    min-width: 0 !important;
    margin: .2rem 0 .55rem;
    border: 0;
    border-left: 3px solid #ffc72c;
    border-radius: 0;
    padding: .35rem .55rem;
    background: #f3f0e8;
    box-shadow: none;
    transform: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  body:is(.hh-reference-home, .hh-reference-inner) .nav-item-dropdown.is-open .dropdown-menu { display: flex; }
  body:is(.hh-reference-home, .hh-reference-inner) .dropdown-item {
    display: flex;
    min-height: 2.75rem;
    align-items: center;
    padding: .55rem .65rem;
    color: #1b2355;
    font-family: "Outfit", sans-serif;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .03em;
    line-height: 1.3;
  }
  body:is(.hh-reference-home, .hh-reference-inner) .dropdown-item:is(:hover, :focus-visible) { color: #2c3780; background: #fff; }
  body:is(.hh-reference-home, .hh-reference-inner) .schools-dropdown-menu .school-dropdown-item { align-items: flex-start; }
  body:is(.hh-reference-home, .hh-reference-inner) .schools-dropdown-menu :is(strong, .school-grades, .school-explore) { color: #1b2355; }
  body:is(.hh-reference-home, .hh-reference-inner) .schools-dropdown-menu .school-explore { color: #2c3780; }
  body:is(.hh-reference-home, .hh-reference-inner) :is(.mobile-nav-toggle, .mobile-menu-close, .nav-link, .dropdown-item, .btn-header-cta):focus-visible {
    outline: 3px solid #ffc72c;
    outline-offset: 3px;
  }
}

@media (max-width: 23.5rem) {
  body:is(.hh-reference-home, .hh-reference-inner) .main-header,
  body:is(.hh-reference-home, .hh-reference-inner) .main-header.scrolled { height: 4.25rem; }
  body:is(.hh-reference-home, .hh-reference-inner) .header-container { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); padding-inline: .35rem; }
  body:is(.hh-reference-home, .hh-reference-inner) .main-header .logo-image { height: 2.3rem; }
  body:is(.hh-reference-home, .hh-reference-inner) .main-header .logo-text { font-size: .64rem; letter-spacing: .025em; }
  body:is(.hh-reference-home, .hh-reference-inner) .main-header .logo-subtext { font-size: .41rem; letter-spacing: .13em; }
  body:is(.hh-reference-home, .hh-reference-inner) .mobile-nav-toggle { min-width: 2.5rem; padding-inline: .15rem; }
  body:is(.hh-reference-home, .hh-reference-inner) .mobile-nav-toggle::after { font-size: .52rem; letter-spacing: .07em; }
  body:is(.hh-reference-home, .hh-reference-inner) .btn-header-cta { min-height: 2.5rem; padding-inline: .1rem; font-size: .48rem; letter-spacing: .04em; }
}

/* Shared desktop inner-page hero. Earlier page-local styles positioned these
 * elements independently; this single composition keeps every public hero on
 * the same visual axis without changing their content or mobile layouts. */
@media (min-width: 64rem) {
  body.hh-reference-inner :is(.about-hero, .facilities-hero, .page-hero, .admission-info-hero, .fee-info-hero) {
    display: flex;
    min-height: clamp(25rem, 28vw, 31rem);
    box-sizing: border-box;
    align-items: center;
    justify-content: center;
    padding: clamp(4rem, 6vw, 6.5rem) 1.5rem;
    text-align: center;
    background: linear-gradient(115deg, #1b2355 0%, #2c3780 100%);
  }
  body.hh-reference-inner :is(.about-hero, .facilities-hero, .page-hero)::before { display: none; }
  body.hh-reference-inner :is(.about-hero, .facilities-hero, .page-hero, .admission-info-hero, .fee-info-hero) > .container {
    display: flex;
    width: min(100%, 54rem);
    flex-direction: column;
    align-items: center;
    margin: 0;
    padding: 0;
    text-align: center;
  }
  body.hh-reference-inner :is(.admission-info-hero, .fee-info-hero) {
    flex-direction: column;
    align-items: center;
  }
  body.hh-reference-inner :is(.admission-info-eyebrow, .fee-info-eyebrow) {
    margin: 0 0 1rem;
    color: #ffc72c;
    font-family: "Outfit", sans-serif;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .14em;
    line-height: 1.2;
    text-align: center;
    text-transform: uppercase;
  }
  body.hh-reference-inner :is(.about-hero-title, .facilities-hero-title, .page-hero-title, .admission-info-hero h1, .fee-info-hero h1) {
    max-width: 22ch;
    margin: 0 auto 1.25rem;
    font-size: clamp(3rem, 4.25vw, 4.75rem);
    line-height: 1.04;
    text-align: center;
  }
  body.hh-reference-inner :is(.about-hero-subtitle, .facilities-hero-subtitle, .page-hero-subtitle, .admission-info-intro, .fee-info-intro) {
    max-width: 44rem;
    margin: 0 auto 1.8rem;
    font-size: clamp(1.05rem, 1.2vw, 1.2rem);
    line-height: 1.55;
    text-align: center;
  }
  body.hh-reference-inner :is(.about-hero-actions, .facilities-hero-actions) {
    display: flex;
    justify-content: center;
    margin: 0 auto;
  }
}

/* Tablet is navigation-mobile but composition-desktop: retain the editorial
 * structures while scaling their hero rhythm into the available width. */
@media (min-width: 48rem) and (max-width: 74.99rem) {
  body:is(.hh-reference-home, .hh-reference-inner) > main { padding-top: 4.5rem; }

  body.hh-reference-home .hh-cinematic-hero {
    height: min(42rem, calc(100svh - 4.5rem));
    min-height: 29rem;
    margin-top: 4.5rem;
  }
  body.hh-reference-home .hh-cinematic-hero__content { width: min(27rem, 42vw); }
  body.hh-reference-home .hh-cinematic-hero__slide--leaders .hh-cinematic-hero__content { width: min(15rem, 25vw); }

  body.hh-reference-inner :is(.about-hero, .facilities-hero, .page-hero, .admission-info-hero, .fee-info-hero) {
    min-height: clamp(22rem, 36vw, 27rem);
    padding-block: clamp(3.5rem, 6vw, 4.75rem);
  }
  body.hh-reference-inner :is(.about-hero-title, .facilities-hero-title, .page-hero-title, .admission-info-hero h1, .fee-info-hero h1) {
    max-width: 20ch;
    font-size: clamp(2.7rem, 5.25vw, 3.9rem);
  }
  body.hh-reference-inner :is(.about-hero-subtitle, .facilities-hero-subtitle, .page-hero-subtitle, .admission-info-intro, .fee-info-intro) {
    max-width: 39rem;
    margin-bottom: 1.5rem;
  }
}
