:root {
  --ink: #151515;
  --muted: #5d6466;
  --line: #dfe4e2;
  --rose: #b83a5b;
  --rose-dark: #9f304d;
  --rose-soft: #fce7ef;
  --teal: #13b5a8;
  --teal-dark: #087e78;
  --teal-soft: #e6f8f6;
  --mint: #f5fffd;
  --accent: var(--teal);
  --accent-dark: var(--teal-dark);
  --accent-soft: var(--teal-soft);
  --cream: #fff8ee;
  --blush: #f7e7df;
  --gold: #c79a4b;
  --white: #ffffff;
  --shadow: 0 22px 70px rgba(24, 34, 35, 0.12);
  --radius: 8px;
  --stage-early: #ee8178;
  --stage-junior: #f7c58c;
  --stage-mid: #ffe563;
  --stage-preteen: #bfe7c2;
  --stage-presenior: #bcdcf6;
  --stage-senior: #c6b4ef;
  --stage-extension: #f7cad8;
  --stage-neutral: #f4f1ea;
}

* {
  box-sizing: border-box;
}

[data-feature="sda-plus"][hidden] {
  display: none !important;
}

/* Experience Week is archived. Remove this rule to restore its links site-wide. */
a[href$="experience-day.html"] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background: #fffdf9;
  line-height: 1.55;
}

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

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.05;
  letter-spacing: 0;
}

h1 {
  max-width: 900px;
  font-size: clamp(2.55rem, 5.8vw, 5rem);
}

h2 {
  max-width: 820px;
  font-size: clamp(1.9rem, 3.8vw, 3.2rem);
}

h3 {
  font-size: 1.1rem;
}

p {
  color: var(--muted);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  grid-template-areas: "logo nav actions";
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
  padding: 16px clamp(12px, 2.4vw, 34px);
  background: rgba(255, 253, 249, 0.94);
  border-bottom: 1px solid rgba(21, 21, 21, 0.08);
  backdrop-filter: blur(18px);
}

.header-logo {
  grid-area: logo;
  justify-self: start;
}


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

.brand-mark {
  position: relative;
  display: grid;
  width: 62px;
  height: 46px;
  place-items: center;
  color: var(--ink);
  font-weight: 950;
  letter-spacing: -0.04em;
  background:
    radial-gradient(circle at 18% 20%, rgba(199, 154, 75, 0.24), transparent 28%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.96) 0 56%, rgba(184, 58, 91, 0.2) 56%),
    var(--white);
  border: 1px solid rgba(184, 58, 91, 0.28);
  border-radius: 14px 14px 14px 4px;
  box-shadow: 0 10px 24px rgba(24, 34, 35, 0.08);
}

.brand-mark::after {
  position: absolute;
  right: 7px;
  bottom: 6px;
  width: 18px;
  height: 2px;
  content: "";
  background: var(--gold);
  border-radius: 999px;
  transform: rotate(-18deg);
}

.brand-logo {
  width: 64px;
  height: 46px;
  object-fit: contain;
  padding: 3px 4px;
  background: var(--white);
  border: 1px solid rgba(184, 58, 91, 0.16);
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(24, 34, 35, 0.08);
}

.brand-copy {
  display: grid;
  gap: 1px;
}

.brand-copy strong {
  font-size: 0.98rem;
}

.brand-copy span {
  color: var(--muted);
  font-size: 0.76rem;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(7px, 0.85vw, 13px);
  color: #3d4142;
  font-size: clamp(0.7rem, 0.74vw, 0.84rem);
  white-space: nowrap;
}

.nav-primary {
  grid-area: nav;
  justify-self: center;
  width: 100%;
  flex: 1;
}

@media (min-width: 1101px) {
  .nav-primary {
    position: absolute;
    grid-area: 1 / 1 / 2 / -1;
    left: 50%;
    z-index: 2;
    width: auto;
    transform: translateX(-50%);
  }

  .header-logo,
  .header-actions {
    position: relative;
    z-index: 3;
  }
}

.header-actions {
  grid-area: actions;
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.header-actions .button-secondary[aria-current="page"] {
  color: var(--white);
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  box-shadow: 0 12px 30px rgba(184, 58, 91, 0.18);
}

.nav-link,
.nav-links > a:not(.nav-logo) {
  padding-block: 4px;
  border-bottom: 2px solid transparent;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  color: var(--white);
  font-weight: 750;
  background: var(--accent-dark);
  border: 1px solid var(--accent-dark);
  border-radius: var(--radius);
  box-shadow: 0 12px 30px rgba(184, 58, 91, 0.22);
  cursor: pointer;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
  background: #9f304d;
  box-shadow: 0 16px 36px rgba(184, 58, 91, 0.28);
}

.button-secondary {
  color: var(--ink);
  background: var(--white);
  border-color: rgba(21, 21, 21, 0.16);
  box-shadow: none;
}

.button-secondary:hover {
  color: var(--accent-dark);
  background: var(--white);
  box-shadow: 0 12px 26px rgba(24, 34, 35, 0.1);
}

.button-small {
  min-height: 42px;
  padding: 0 16px;
  font-size: 0.9rem;
  white-space: nowrap;
}

.text-link {
  display: inline-flex;
  margin-top: 24px;
  color: var(--accent-dark);
  font-weight: 800;
}

.hero,
.page-hero,
.section,
.location-section,
.site-footer {
  padding-inline: clamp(18px, 5vw, 72px);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.92fr);
  gap: clamp(30px, 5vw, 72px);
  align-items: center;
  min-height: calc(100vh - 76px);
  padding-top: 54px;
  padding-bottom: 42px;
  background:
    linear-gradient(112deg, rgba(255, 248, 238, 0.94) 0%, rgba(255, 253, 249, 0.82) 54%),
    linear-gradient(180deg, rgba(184, 58, 91, 0.08), transparent 46%);
}

.page-hero {
  padding-top: clamp(66px, 9vw, 120px);
  padding-bottom: clamp(54px, 8vw, 96px);
  background:
    linear-gradient(112deg, rgba(255, 248, 238, 0.94), rgba(255, 253, 249, 0.86)),
    linear-gradient(180deg, rgba(184, 58, 91, 0.08), transparent 46%);
}

.page-hero p:not(.eyebrow),
.hero-lede {
  max-width: 720px;
  margin: 24px 0 0;
  color: #3f4547;
  font-size: clamp(1rem, 1.7vw, 1.22rem);
}

.page-hero-compact {
  color: var(--ink);
  padding-top: clamp(46px, 6vw, 82px);
  padding-bottom: clamp(42px, 5vw, 68px);
  background:
    radial-gradient(circle at 88% 18%, rgba(184, 58, 91, 0.08), transparent 30%),
    linear-gradient(135deg, var(--ivory-soft), var(--peach));
}

.page-hero-compact .eyebrow,
.page-hero-compact h1,
.page-hero-compact p:not(.eyebrow) {
  color: var(--ink);
}

.contact-page-hero {
  display: grid;
  justify-items: center;
  text-align: center;
}

.contact-page-hero h1 {
  max-width: 920px;
  margin-inline: auto;
}

.contact-page main > .card-grid {
  gap: 14px;
  padding-top: clamp(22px, 2.8vw, 38px);
  padding-bottom: clamp(20px, 2.5vw, 34px);
}

.contact-page main > .card-grid .card {
  gap: 10px;
  min-height: 180px;
  padding: clamp(18px, 2vw, 22px);
}

.contact-option-card {
  width: 100%;
  color: inherit;
  font: inherit;
  text-align: left;
}

.contact-form-trigger {
  cursor: pointer;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.contact-form-trigger:hover,
.contact-form-trigger:focus-visible {
  border-color: rgba(184, 58, 91, 0.3);
  box-shadow: 0 20px 52px rgba(24, 34, 35, 0.12);
  outline: none;
  transform: translateY(-3px);
}

.speak-sda-icon img {
  display: block;
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.class-guidance-icon {
  overflow: hidden;
}

.class-guidance-icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact-us-generated-icon {
  overflow: hidden;
}

.contact-us-generated-icon img {
  display: block;
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.contact-form-modal {
  width: min(900px, calc(100% - 32px));
  max-height: calc(100vh - 32px);
  margin: auto;
  padding: 0;
  overflow: auto;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-radius: var(--radius-lg);
}

.contact-form-modal::backdrop {
  background: rgba(24, 28, 31, 0.62);
  backdrop-filter: blur(5px);
}

.contact-form-modal-panel {
  position: relative;
  display: grid;
  gap: clamp(18px, 2.5vw, 28px);
  padding: clamp(24px, 4vw, 44px);
  background:
    radial-gradient(circle at 90% 10%, rgba(184, 58, 91, 0.14), transparent 30%),
    linear-gradient(135deg, #fffdfd, #fcecf1);
  border: 1px solid rgba(184, 58, 91, 0.2);
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 100px rgba(23, 21, 20, 0.28);
}

.contact-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  color: var(--rose-dark);
  font: 500 1.8rem/1 Arial, sans-serif;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(184, 58, 91, 0.18);
  border-radius: 999px;
  cursor: pointer;
}

.contact-modal-close:hover,
.contact-modal-close:focus-visible {
  color: var(--white);
  background: var(--rose);
  outline: none;
}

.contact-form-heading {
  display: flex;
  align-items: center;
  gap: 16px;
}

.contact-form-heading > div {
  display: grid;
  gap: 5px;
}

.contact-form-heading h2,
.contact-form-heading p {
  margin: 0;
}

.contact-message-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.contact-message-form > label {
  display: grid;
  gap: 8px;
  color: var(--charcoal);
  font-weight: 850;
}

.contact-message-form > label:nth-of-type(3) {
  grid-column: 1 / -1;
}

.contact-message-form input,
.contact-message-form textarea {
  width: 100%;
  padding: 14px 16px;
  color: var(--ink);
  font: inherit;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(184, 58, 91, 0.18);
  border-radius: 14px;
  outline: none;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

.contact-message-form textarea {
  min-height: 150px;
  resize: vertical;
}

.contact-message-form input:focus,
.contact-message-form textarea:focus {
  background: var(--white);
  border-color: rgba(184, 58, 91, 0.55);
  box-shadow: 0 0 0 4px rgba(184, 58, 91, 0.1);
}

.contact-message-form .button {
  grid-column: 1 / -1;
  justify-self: start;
  min-width: 190px;
}

.contact-page .map-section {
  gap: clamp(22px, 3vw, 40px);
  padding-top: clamp(22px, 2.8vw, 38px);
  padding-bottom: clamp(28px, 3.5vw, 48px);
}

.contact-page .map-panel {
  min-height: 310px;
}

@media (max-width: 640px) {
  .contact-message-form {
    grid-template-columns: 1fr;
  }

  .contact-message-form > label:nth-of-type(3),
  .contact-message-form .button {
    grid-column: 1;
  }

  .contact-message-form .button {
    width: 100%;
  }
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent-dark);
  font-size: clamp(0.95rem, 1.35vw, 1.18rem);
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

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

.hero-actions .text-link {
  margin-top: 0;
}

.image-panel,
.map-panel {
  position: relative;
  display: flex;
  overflow: hidden;
  align-items: flex-end;
  justify-content: flex-start;
  min-height: 320px;
  padding: 24px;
  color: var(--white);
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.02) 0%, rgba(0, 0, 0, 0.58) 100%),
    linear-gradient(135deg, #19191f 0%, #533053 44%, #b83a5b 100%);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  isolation: isolate;
}

.image-panel::before {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.04) 0%, rgba(0, 0, 0, 0.68) 100%);
  z-index: -1;
}

.image-panel img,
.profile-photo img,
.class-card-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-panel img {
  z-index: -2;
}

.profile-photo img,
.class-card-image img {
  z-index: 0;
}

.image-hero {
  min-height: 520px;
}

.pathway-hero {
  align-items: center;
}

.pathway-image {
  min-height: 420px;
}

.pathway-detail-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.image-panel span {
  max-width: 310px;
  font-size: 1.08rem;
  font-weight: 850;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.48);
}

.object-top {
  object-position: center top;
}

.object-center {
  object-position: center center;
}

.object-left {
  object-position: left center;
}

.object-left-top {
  object-position: left top;
}

.object-bottom {
  object-position: center bottom;
}

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

.trust-strip div {
  display: grid;
  gap: 7px;
  min-height: 118px;
  align-content: center;
  padding: 24px clamp(18px, 3vw, 34px);
  background: var(--white);
}

.trust-strip strong {
  font-size: 1.04rem;
}

.trust-strip span {
  color: var(--muted);
  font-size: 0.94rem;
}

.section {
  padding-top: clamp(66px, 9vw, 112px);
  padding-bottom: clamp(66px, 9vw, 112px);
}

.split-section,
.enquiry-section,
.map-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
}

.section-heading {
  display: grid;
  gap: 16px;
  justify-items: start;
  margin-bottom: 32px;
}

.section-heading p,
.split-section > div > p,
.form-intro p,
.cta-band p,
.map-section p {
  max-width: 660px;
  font-size: 1.05rem;
}

.card-grid,
.class-grid,
.review-grid,
.faculty-grid,
.faculty-row,
.studio-grid {
  display: grid;
  gap: 16px;
}

.card-grid,
.class-grid,
.review-grid,
.faculty-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pathway-section {
  padding-bottom: 24px;
}

.pathway-preview-section .section-heading {
  max-width: 760px;
}

.home-pathway-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pathway-preview-card {
  min-height: 190px;
}

.pathway-grid,
.studio-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.pathway-grid .card {
  scroll-margin-top: 120px;
}

.studio-card h2 {
  font-size: 1.45rem;
}

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

.faculty-row {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card,
.review-card,
.profile-card,
.timetable-card,
.enquiry-form,
.contact-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 16px 42px rgba(24, 34, 35, 0.07);
}

.card {
  display: grid;
  gap: 13px;
  min-height: 214px;
  align-content: start;
  padding: 24px;
}

.class-card {
  overflow: hidden;
  padding: 0;
}

.class-card-content {
  display: grid;
  gap: 13px;
  padding: 22px 24px 24px;
}

.class-card-image {
  position: relative;
  min-height: 190px;
  overflow: hidden;
  background: var(--cream);
}

.class-card h2,
.card h2,
.profile-card h2 {
  font-size: clamp(1.35rem, 2vw, 1.75rem);
}

.card p,
.profile-card p,
.review-card p {
  margin: 0;
}

.card-icon {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  color: var(--accent-dark);
  font-weight: 900;
  background: rgba(184, 58, 91, 0.12);
  border-radius: 50%;
}

.faculty-preview {
  background: linear-gradient(180deg, var(--cream), #fffdf9);
}

.profile-card {
  display: grid;
  gap: 14px;
  align-content: start;
  padding: 24px;
}

.profile-photo {
  position: relative;
  display: grid;
  min-height: 220px;
  overflow: hidden;
  place-items: center;
  color: rgba(255, 255, 255, 0.9);
  font-size: 2.2rem;
  font-weight: 900;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.06), rgba(0, 0, 0, 0.42)),
    linear-gradient(135deg, #3b1821, #b83a5b 50%, #c79a4b);
  border-radius: var(--radius);
}

.teacher-section {
  padding-top: clamp(42px, 7vw, 76px);
}

.associate-section {
  padding-top: 18px;
}

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

.teacher-card {
  display: grid;
  grid-template-columns: minmax(220px, 0.42fr) minmax(0, 1fr);
  gap: 22px;
  align-items: stretch;
  overflow: hidden;
  padding: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 16px 42px rgba(24, 34, 35, 0.07);
}

.benjamin-teacher-card {
  grid-column: 1 / -1;
  justify-self: center;
  width: calc((100% - 18px) / 2);
}

.teacher-photo {
  position: relative;
  min-height: 245px;
  overflow: hidden;
  background: var(--cream);
  border-radius: calc(var(--radius) - 2px);
}

.teacher-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.teacher-photo img.lee-zammit-headshot,
.teacher-photo img.jason-fuchs-headshot {
  object-position: center top;
}

.teacher-photo-placeholder {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 24% 18%, rgba(255, 255, 255, 0.82), transparent 34%),
    linear-gradient(135deg, rgba(184, 58, 91, 0.2), rgba(184, 58, 91, 0.18)),
    var(--cream);
  border: 1px solid rgba(184, 58, 91, 0.18);
}

.teacher-photo-placeholder span {
  display: grid;
  place-items: center;
  width: 86px;
  height: 86px;
  border-radius: 999px;
  background: var(--white);
  color: var(--accent-dark);
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  box-shadow: 0 14px 32px rgba(24, 34, 35, 0.12);
}

.teacher-copy {
  display: grid;
  gap: 10px;
  align-content: start;
  padding: 6px 4px 6px 0;
}

.teacher-copy h2 {
  font-size: clamp(1.55rem, 2.5vw, 2.25rem);
}

.teacher-specialties {
  margin: 0;
  color: #6a625c;
  font-size: 0.84rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.teacher-copy p:not(.eyebrow):not(.teacher-specialties) {
  margin: 0;
  color: #4d5456;
}

.compact-teacher-card {
  grid-template-columns: 180px minmax(0, 1fr);
}

.compact-teacher-card .teacher-photo {
  min-height: 190px;
}

.trust-intro-section,
.studio-overview-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  padding-top: clamp(56px, 8vw, 92px);
  padding-bottom: clamp(56px, 8vw, 92px);
}

.trust-intro-section > div > p,
.studio-overview-copy p {
  max-width: 680px;
}

.trust-point-grid {
  display: grid;
  gap: 14px;
}

.trust-point-grid article {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 4px 16px;
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 34px rgba(24, 34, 35, 0.06);
}

.trust-point-grid span {
  display: grid;
  grid-row: span 2;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--accent-dark);
  font-weight: 900;
  background: rgba(184, 58, 91, 0.12);
  border-radius: 50%;
}

.trust-point-grid h3,
.trust-point-grid p {
  margin: 0;
}

.studio-overview-section {
  padding-bottom: 36px;
}

.studio-spaces-section {
  padding-top: 36px;
}

.studio-photo-panel {
  position: relative;
  min-height: clamp(320px, 42vw, 520px);
  overflow: hidden;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.studio-photo-panel img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}

.visit-guide-section {
  padding-top: clamp(42px, 7vw, 78px);
  background: linear-gradient(180deg, #fffdf9, var(--cream));
}

.steps {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 34px rgba(24, 34, 35, 0.06);
}

.steps span {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: var(--white);
  font-weight: 850;
  background: var(--accent);
  border-radius: 50%;
}

.steps p {
  margin: 6px 0 0;
}

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  background: var(--blush);
}

.reviews-section {
  background: linear-gradient(180deg, var(--cream), #fffdf9);
}

.reviews-section .section-heading {
  max-width: 860px;
  margin-bottom: 24px;
}

.trust-note {
  margin: 0;
  color: var(--muted);
}

.review-card {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 24px;
}

blockquote {
  margin: 0;
  color: #313638;
  font-size: 1.02rem;
}

figcaption {
  color: var(--accent-dark);
  font-weight: 800;
}

.review-rating {
  display: inline-flex;
  width: max-content;
  gap: 2px;
  color: #b5791f;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
}

.review-source,
.contact-note {
  color: var(--muted);
  font-size: 0.88rem;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.timetable-section {
  color: var(--ink);
  background:
    radial-gradient(circle at 86% 10%, rgba(184, 58, 91, 0.08), transparent 30%),
    linear-gradient(135deg, var(--ivory-soft), var(--peach));
}

.timetable-section .eyebrow,
.timetable-section h2,
.timetable-section p {
  color: var(--ink);
}

.timetable-intro {
  padding-top: clamp(44px, 6vw, 72px);
  padding-bottom: clamp(44px, 6vw, 72px);
}

.timetable-card {
  display: grid;
  gap: 12px;
  min-height: 300px;
  align-content: center;
  padding: clamp(24px, 4vw, 42px);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(184, 58, 91, 0.14);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.timetable-card span {
  color: var(--accent-dark);
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
}

.timetable-card strong {
  color: var(--ink);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  line-height: 1.05;
}

.timetable-card p {
  color: var(--muted);
}

.timetable-list-section {
  padding-top: clamp(34px, 5vw, 58px);
  background:
    radial-gradient(circle at 8% 4%, rgba(184, 58, 91, 0.08), transparent 26%),
  linear-gradient(180deg, #fffdf9, var(--cream));
}

.timetable-scan-section {
  background: #fffdf9;
}

.timetable-intro-section {
  padding-top: clamp(54px, 7vw, 88px);
  padding-bottom: clamp(34px, 5vw, 58px);
  background:
    radial-gradient(circle at 88% 8%, rgba(184, 58, 91, 0.08), transparent 30%),
    linear-gradient(180deg, var(--ivory-soft) 0%, #fffdf9 34%, #fffdf9 100%);
}

.timetable-combined-heading {
  gap: clamp(12px, 2vw, 22px);
  justify-items: center;
  max-width: none;
  margin: 0 auto 26px;
  text-align: center;
}

.timetable-combined-heading h1,
.timetable-combined-heading h2 {
  max-width: 980px;
}

.timetable-combined-heading h2 {
  font-size: clamp(2rem, 4.2vw, 3.45rem);
}

.compact-section-heading {
  max-width: 760px;
}

.stage-scan-grid {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.stage-scan-card {
  grid-column: span 2;
}

.stage-scan-card:nth-child(5) {
  grid-column: 2 / span 2;
}

.stage-scan-card:nth-child(6) {
  grid-column: 4 / span 2;
}

.stage-scan-card:nth-child(7) {
  grid-column: 6 / span 2;
}

.stage-colour-key {
  display: grid;
  grid-template-columns: repeat(7, minmax(124px, 1fr));
  gap: 10px;
  margin-top: 28px;
}

.stage-key-item {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  column-gap: 10px;
  row-gap: 1px;
  align-items: center;
  min-height: 72px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(27, 47, 48, 0.12);
  border-radius: var(--radius);
}

.stage-key-item > span {
  grid-row: span 2;
  width: 18px;
  height: 42px;
  background: var(--stage-color, var(--stage-neutral));
  border: 1px solid rgba(27, 47, 48, 0.12);
  border-radius: 999px;
}

.stage-key-item strong {
  color: var(--ink);
  font-size: 0.84rem;
  line-height: 1.2;
}

.stage-key-item small {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.25;
}

.stage-scan-card {
  position: relative;
  display: grid;
  gap: 12px;
  align-content: start;
  min-height: 218px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(27, 47, 48, 0.1);
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(24, 34, 35, 0.06);
  cursor: pointer;
  isolation: isolate;
  overflow: hidden;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.stage-scan-card::after {
  position: absolute;
  inset: -45% auto -45% -58%;
  z-index: 2;
  width: 38%;
  content: "";
  pointer-events: none;
  background: linear-gradient(
    105deg,
    transparent 0%,
    color-mix(in srgb, var(--stage-color) 12%, transparent) 24%,
    color-mix(in srgb, var(--stage-color) 42%, white) 50%,
    color-mix(in srgb, var(--stage-color) 18%, transparent) 72%,
    transparent 100%
  );
  filter: blur(3px);
  opacity: 0.68;
  transform: skewX(-18deg);
}

.stage-scan-card:hover,
.stage-scan-card:focus-visible,
.stage-scan-card.is-filter-active {
  border-color: color-mix(in srgb, var(--stage-color) 68%, #1b2f30);
  box-shadow:
    0 18px 38px rgba(24, 34, 35, 0.12),
    0 0 28px color-mix(in srgb, var(--stage-color) 26%, transparent);
  transform: translateY(-3px);
}

.stage-scan-card:hover::after,
.stage-scan-card:focus-visible::after {
  animation: priority-fee-card-shine 850ms ease-out;
}

.stage-scan-card:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--stage-color) 54%, white);
  outline-offset: 4px;
}

.stage-scan-card.is-filter-active {
  border-width: 2px;
}

.stage-scan-card[class*="stage-"] {
  background:
    linear-gradient(90deg, var(--stage-color, transparent) 0 8px, transparent 8px),
    var(--stage-soft, rgba(255, 255, 255, 0.94));
  border-color: rgba(27, 47, 48, 0.12);
}

.stage-scan-card span {
  color: var(--accent-dark);
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  line-height: 1.25;
  text-transform: uppercase;
}

.stage-scan-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.55;
}

.stage-scan-card .text-link {
  align-self: end;
  font-size: 0.9rem;
}

.stage-scan-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-self: end;
  margin-top: auto;
}

.stage-scan-links a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 6px 10px;
  color: var(--accent-dark);
  font-size: 0.84rem;
  font-weight: 850;
  line-height: 1.2;
  background: rgba(252, 231, 239, 0.58);
  border: 1px solid rgba(184, 58, 91, 0.18);
  border-radius: 999px;
}

.stage-scan-links a:hover {
  color: var(--rose);
  border-color: rgba(184, 58, 91, 0.22);
}

.stage-early {
  --stage-color: var(--stage-early);
  --stage-soft: #ffebe8;
}

.stage-junior {
  --stage-color: var(--stage-junior);
  --stage-soft: #fff4e4;
}

.stage-mid {
  --stage-color: var(--stage-mid);
  --stage-soft: #fffbe2;
}

.stage-preteen {
  --stage-color: var(--stage-preteen);
  --stage-soft: #effaf0;
}

.stage-presenior {
  --stage-color: var(--stage-presenior);
  --stage-soft: #eef7ff;
}

.stage-senior {
  --stage-color: var(--stage-senior);
  --stage-soft: #f5f1ff;
}

.stage-extension {
  --stage-color: var(--stage-extension);
  --stage-soft: #fff3f7;
}

.stage-neutral {
  --stage-color: var(--stage-neutral);
  --stage-soft: #fbfaf7;
}

.compact-actions {
  justify-content: flex-start;
  margin-top: 22px;
}

.day-jump-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.day-jump-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 9px 14px;
  color: var(--accent-dark);
  font-size: 0.9rem;
  font-weight: 850;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(184, 58, 91, 0.18);
  border-radius: 999px;
}

.day-jump-nav a:hover {
  color: var(--rose);
  border-color: rgba(184, 58, 91, 0.22);
}

.day-timetable-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: flex-start;
  margin-top: 22px;
}

.timetable-filter-status {
  display: grid;
  gap: 14px;
  justify-items: center;
  width: fit-content;
  max-width: min(100%, 620px);
  margin: 18px auto 0;
  padding: 18px 24px;
  text-align: center;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(255, 244, 248, 0.98));
  border: 2px solid rgba(184, 58, 91, 0.24);
  border-radius: var(--radius-lg);
  box-shadow: 0 18px 42px rgba(18, 36, 38, 0.14);
}

.timetable-filter-status[hidden],
.day-card.is-filter-hidden,
.schedule-list li.is-filter-hidden {
  display: none !important;
}

.timetable-filter-copy {
  display: grid;
  gap: 3px;
}

.timetable-filter-copy > strong {
  color: var(--accent-dark);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.timetable-filter-status p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
}

.timetable-filter-status strong {
  color: var(--accent-dark);
}

.timetable-reset-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 20px;
  color: white;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  background: linear-gradient(135deg, var(--accent-dark), var(--accent));
  border: 0;
  border-radius: 999px;
  box-shadow: 0 12px 26px rgba(12, 80, 83, 0.22);
  cursor: pointer;
}

.timetable-reset-button::after {
  margin-left: 8px;
  content: "→";
}

.timetable-reset-button:hover,
.timetable-reset-button:focus-visible {
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 16px 30px rgba(12, 80, 83, 0.28);
}

.day-card {
  display: grid;
  flex: 1 1 calc(50% - 8px);
  min-width: 360px;
  padding: clamp(16px, 2vw, 22px);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(27, 47, 48, 0.1);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.day-card[open] {
  gap: 12px;
}

.day-card-header {
  position: relative;
  display: grid;
  gap: 6px;
  padding-right: 42px;
  cursor: pointer;
  list-style: none;
}

.day-card-header::-webkit-details-marker {
  display: none;
}

.day-card-header::after {
  position: absolute;
  top: 50%;
  right: 0;
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  color: var(--accent-dark);
  content: "+";
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1;
  background: rgba(252, 231, 239, 0.72);
  border-radius: 999px;
  transform: translateY(-50%);
}

.day-card-header:focus-visible {
  outline: 3px solid rgba(184, 58, 91, 0.24);
  outline-offset: 6px;
  border-radius: 12px;
}

.day-card[open] .day-card-header {
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(27, 47, 48, 0.1);
}

.day-card[open] .day-card-header::after {
  content: "–";
}

.day-card-header span {
  color: var(--accent-dark);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.day-card-header strong {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 1.6vw, 1.5rem);
  line-height: 1.1;
}

.schedule-list {
  display: grid;
  gap: 7px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.schedule-list li {
  position: relative;
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 8px;
  align-items: start;
  padding: 8px 9px;
  background:
    linear-gradient(90deg, var(--stage-color, var(--stage-neutral)) 0 6px, transparent 6px),
    var(--stage-soft, #fffaf2);
  border: 1px solid rgba(27, 47, 48, 0.1);
  border-radius: 13px;
  cursor: pointer;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.schedule-list li::after {
  display: none;
}

.schedule-list li:hover,
.schedule-list li:focus-visible {
  border-color: rgba(12, 124, 124, 0.38);
  box-shadow: 0 8px 18px rgba(18, 36, 38, 0.09);
  outline: none;
  transform: translateY(-1px);
}

.schedule-list time {
  padding-top: 2px;
  color: var(--accent-dark);
  font-size: 0.72rem;
  font-weight: 850;
  line-height: 1.35;
}

.schedule-list span {
  display: grid;
  gap: 2px;
}

.schedule-list strong {
  font-size: 0.88rem;
  line-height: 1.25;
}

.schedule-list em {
  color: var(--muted);
  font-size: 0.76rem;
  font-style: normal;
  line-height: 1.45;
}

.class-teacher {
  display: none;
}

.class-info-modal {
  width: min(520px, calc(100% - 32px));
  max-height: calc(100vh - 32px);
  padding: 0;
  background: transparent;
  border: 0;
}

.class-info-modal::backdrop {
  background: rgba(20, 31, 33, 0.62);
  backdrop-filter: blur(4px);
}

.class-info-modal-panel {
  position: relative;
  display: grid;
  gap: 12px;
  padding: clamp(24px, 5vw, 38px);
  background: #fffdf9;
  border: 1px solid rgba(184, 58, 91, 0.2);
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 80px rgba(18, 36, 38, 0.24);
}

.class-info-modal-panel h2,
.class-info-modal-panel p {
  margin: 0;
}

.class-info-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  padding: 0;
  color: var(--accent-dark);
  font: inherit;
  font-size: 1.5rem;
  line-height: 1;
  background: rgba(252, 231, 239, 0.78);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
}

.class-info-list {
  display: grid;
  gap: 8px;
  margin: 6px 0 0;
}

.class-info-list div {
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr);
  gap: 14px;
  padding: 11px 0;
  border-top: 1px solid rgba(27, 47, 48, 0.1);
}

.class-info-list dt {
  color: var(--accent-dark);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.class-info-list dd {
  margin: 0;
  color: var(--ink);
  font-weight: 750;
}

.timetable-help-note {
  display: grid;
  justify-items: center;
  padding-top: clamp(30px, 5vw, 46px);
  padding-bottom: clamp(36px, 5vw, 56px);
  text-align: center;
  background: #fffdf9;
}

.timetable-help-note p {
  max-width: 780px;
  margin: 0 auto;
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.12rem);
  line-height: 1.7;
}

.timetable-help-note .text-link,
.class-next-step .text-link,
.compact-text-link {
  margin-top: 0;
}

.enquiry-section {
  align-items: start;
}

.enquiry-form {
  display: grid;
  gap: 15px;
  padding: clamp(20px, 3.6vw, 34px);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

label {
  display: grid;
  gap: 7px;
  color: #303537;
  font-weight: 720;
  font-size: 0.93rem;
}

.field-label {
  display: inline-flex;
  gap: 3px;
  align-items: baseline;
  min-width: 0;
}

.required-note {
  margin: 0 0 2px;
  color: var(--muted);
  font-size: 0.9rem;
}

.hidden-field {
  display: none;
}

.required-mark {
  color: var(--rose);
  font-weight: 900;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 13px;
  color: var(--ink);
  font: inherit;
  background: #fffdfa;
  border: 1px solid #d8dedb;
  border-radius: var(--radius);
  outline: none;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(184, 58, 91, 0.14);
}

.checkbox-field {
  grid-template-columns: 26px 1fr;
  align-items: start;
  gap: 12px;
  padding: 16px;
  color: var(--ink);
  font-weight: 720;
  line-height: 1.45;
  background: rgba(252, 231, 239, 0.38);
  border: 1px solid rgba(184, 58, 91, 0.24);
  border-radius: 16px;
}

.checkbox-field input {
  width: 22px;
  min-height: 22px;
  margin-top: 1px;
  accent-color: var(--rose);
}

.form-success {
  display: none;
  margin: 0;
  padding: 14px 16px;
  color: #702238;
  background: rgba(184, 58, 91, 0.12);
  border: 1px solid rgba(184, 58, 91, 0.28);
  border-radius: var(--radius);
}

.form-success.is-visible {
  display: block;
}

.form-error {
  display: none;
  margin: 0;
  padding: 14px 16px;
  color: #7f1d1d;
  background: #fff1f2;
  border: 1px solid #fecdd3;
  border-radius: var(--radius);
}

.form-error.is-visible {
  display: block;
}

.trial-payment-note[hidden] {
  display: none;
}

.contact-card {
  display: grid;
  gap: 6px;
  margin-top: 18px;
  padding: 22px;
}

.contact-steps {
  display: grid;
  gap: 6px;
  margin-top: 18px;
  padding: 18px 20px;
  color: var(--ink);
  background: #fff7ee;
  border: 1px solid rgba(185, 122, 134, 0.18);
  border-radius: var(--radius);
}

.contact-steps span {
  color: var(--muted);
  line-height: 1.55;
}

.guide-card {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 18px;
  align-items: center;
  margin-top: 24px;
  padding: 22px;
  background:
    linear-gradient(135deg, rgba(184, 58, 91, 0.1), rgba(199, 154, 75, 0.12)),
    var(--white);
  border: 1px solid rgba(184, 58, 91, 0.18);
  border-radius: var(--radius);
  box-shadow: 0 18px 46px rgba(24, 34, 35, 0.08);
}

@media (hover: hover) {
  .day-card:hover,
  .day-card:focus-within {
    border-color: rgba(184, 58, 91, 0.28);
    box-shadow: 0 18px 46px rgba(24, 34, 35, 0.1);
  }

  .stage-scan-links a:hover,
  .day-jump-nav a:hover {
    transform: translateY(-1px);
  }
}

.guide-card strong,
.guide-card span {
  display: block;
}

.guide-card strong {
  margin-bottom: 4px;
}

.placement-steps {
  display: grid;
  gap: 8px;
  margin: 8px 0 0;
  padding-left: 20px;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.5;
}

.guide-card span {
  color: var(--muted);
  font-size: 0.94rem;
}

.guide-badge {
  display: grid;
  width: 66px;
  height: 66px;
  place-items: center;
  color: var(--accent-dark);
  font-weight: 900;
  letter-spacing: 0;
  background: #fff8fb;
  border: 2px solid rgba(184, 58, 91, 0.32);
  border-radius: 18px;
}

.static-form-note {
  margin: 18px 0 0;
  padding: 12px 14px;
  color: #5a5145;
  font-size: 0.95rem;
  background: rgba(199, 154, 75, 0.12);
  border: 1px solid rgba(199, 154, 75, 0.24);
  border-radius: var(--radius);
}

.contact-card span {
  color: var(--muted);
}

.map-section {
  padding-top: clamp(46px, 7vw, 82px);
}

.map-panel {
  display: grid;
  align-content: center;
  min-height: 360px;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.42)),
    linear-gradient(135deg, #f7e7df, #b83a5b 48%, #111);
}

.map-panel span {
  font-weight: 850;
}

.map-panel .contact-note {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 750;
}

.map-panel strong {
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1;
}

.location-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 44px;
  padding-bottom: 44px;
  color: var(--white);
  background: var(--accent-dark);
}

.location-section .eyebrow,
.location-section p {
  color: rgba(255, 255, 255, 0.8);
}

.location-section .button {
  color: var(--ink);
  background: var(--white);
  border-color: var(--white);
  box-shadow: none;
}

.hero-actions .ayap-instagram-button {
  width: 48px;
  min-width: 48px;
  height: 48px;
  padding: 0;
  color: #e85aa7;
  border-color: rgba(232, 90, 167, 0.36);
  border-radius: 999px;
}

.hero-actions .ayap-instagram-button .social-icon {
  width: 20px;
  height: 20px;
}

.hero-actions .ayap-instagram-button:hover,
.hero-actions .ayap-instagram-button:focus-visible {
  color: var(--white);
  background: #e85aa7;
  border-color: #e85aa7;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 30px;
  padding-bottom: 30px;
  color: rgba(255, 255, 255, 0.72);
  background: linear-gradient(90deg, var(--accent-dark), #9f304d);
}

.site-footer div {
  display: grid;
  gap: 4px;
}

.site-footer strong,
.site-footer a {
  color: var(--white);
}

.site-footer a {
  font-weight: 800;
}

@media (max-width: 1100px) {
  .site-header {
    grid-template-columns: auto 1fr;
    grid-template-areas:
      "logo actions"
      "nav nav";
  }

  .nav-links {
    order: 0;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    overflow-x: visible;
    padding-bottom: 4px;
  }
}

@media (max-width: 980px) {
  .hero,
  .split-section,
  .enquiry-section,
  .map-section,
  .trust-intro-section,
  .studio-overview-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .image-hero {
    min-height: 420px;
  }

  .trust-strip,
  .class-grid,
  .card-grid,
  .review-grid,
  .faculty-grid,
  .faculty-row,
  .compact-grid,
  .studio-grid,
  .stage-scan-grid,
  .day-timetable-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stage-scan-card,
  .stage-scan-card:nth-child(5),
  .stage-scan-card:nth-child(6),
  .stage-scan-card:nth-child(7) {
    grid-column: auto;
  }

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

  .benjamin-teacher-card {
    grid-column: auto;
    justify-self: stretch;
    width: 100%;
  }

  .studio-photo-panel {
    order: -1;
  }

  .cta-band {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .site-header {
    position: relative;
    grid-template-columns: 1fr;
    grid-template-areas:
      "logo"
      "nav"
      "actions";
    justify-items: center;
    align-items: center;
    gap: 12px;
    padding: 12px 16px 14px;
  }

  .header-logo {
    justify-self: center;
  }

  .brand {
    min-width: 0;
  }

  .brand-copy span {
    display: none;
  }

  .site-header .button,
  .hero-actions .button,
  .cta-band .button,
  .location-section .button {
    width: 100%;
  }

  .header-actions {
    order: 2;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .site-header .header-actions .button {
    width: 100%;
    padding-inline: 10px;
    font-size: 0.82rem;
  }

  .site-header .button {
    order: 2;
  }

  .nav-links {
    order: 1;
    flex-wrap: wrap;
    gap: 11px;
    width: 100%;
    overflow-x: visible;
    font-size: 0.84rem;
  }

  .nav-logo .brand-logo {
    width: 70px;
    height: 50px;
  }

  .hero {
    padding-top: 38px;
  }

  .image-hero {
    min-height: 340px;
  }

  .trust-strip,
  .class-grid,
  .card-grid,
  .review-grid,
  .faculty-grid,
  .faculty-row,
  .compact-grid,
  .form-row,
  .studio-grid,
  .stage-scan-grid,
  .day-timetable-grid {
    grid-template-columns: 1fr;
  }

  .teacher-card,
  .compact-teacher-card {
    grid-template-columns: 1fr;
  }

  .teacher-photo,
  .compact-teacher-card .teacher-photo {
    min-height: 320px;
  }

  .trust-point-grid article {
    grid-template-columns: 1fr;
  }

  .trust-point-grid span {
    grid-row: auto;
  }

  .studio-photo-panel {
    min-height: 280px;
    border-radius: 18px;
  }

  .teacher-copy {
    padding: 0;
  }

  .schedule-list li {
    grid-template-columns: 1fr;
  }

  .day-card {
    flex-basis: 100%;
    min-width: 0;
  }

  .timetable-filter-status {
    padding: 14px;
  }

  .timetable-reset-button {
    width: 100%;
  }

  .trust-strip div {
    min-height: auto;
  }

  .location-section,
  .site-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .guide-card {
    grid-template-columns: 1fr;
  }
}


/* Homepage polish pass: softer header, refined hero, premium trust cards, stronger footer */
:root {
  --shadow-soft: 0 14px 44px rgba(24, 34, 35, 0.08);
  --radius-lg: 22px;
}

.site-header {
  gap: 18px;
  padding-top: 6px;
  padding-bottom: 6px;
  border-bottom-color: rgba(252, 231, 239, 0.2);
}

.brand-logo {
  width: 72px;
  height: 52px;
  padding: 2px 3px;
  background: rgba(255, 255, 255, 0.74);
  border-color: rgba(184, 58, 91, 0.1);
  border-radius: 14px;
  box-shadow: 0 8px 22px rgba(24, 34, 35, 0.07);
}

.nav-links {
  gap: clamp(12px, 1.7vw, 20px);
}

.nav-logo .brand-logo {
  width: 82px;
  height: 56px;
}

.button {
  border-radius: 999px;
}

.button-light-outline {
  color: var(--white);
  background: transparent;
  border-color: rgba(255, 255, 255, 0.58);
  box-shadow: none;
}

.button-light-outline:hover {
  color: var(--ink);
  background: var(--white);
  box-shadow: none;
}

.hero {
  grid-template-columns: minmax(0, 1.02fr) minmax(340px, 0.88fr);
  gap: clamp(32px, 5vw, 68px);
  min-height: calc(100vh - 70px);
  padding-top: 42px;
  padding-bottom: 48px;
}

.hero-copy h1 {
  max-width: 760px;
  font-size: clamp(2.55rem, 5.1vw, 4.55rem);
  letter-spacing: -0.035em;
}

.page-hero p:not(.eyebrow),
.hero-lede {
  font-size: clamp(1rem, 1.45vw, 1.18rem);
}

.image-hero {
  min-height: 500px;
  border-radius: var(--radius-lg);
}

.image-hero img {
  object-position: center 42%;
  filter: saturate(1.06) brightness(1.08);
}

.image-panel span {
  padding: 10px 13px;
  font-size: 0.98rem;
  background: rgba(0, 0, 0, 0.24);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  backdrop-filter: blur(10px);
}

.trust-strip {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  padding: 0 clamp(18px, 5vw, 72px);
  background: linear-gradient(180deg, #fffdf9, var(--cream));
  border-block: 1px solid rgba(21, 21, 21, 0.06);
}

.trust-strip div {
  gap: 7px;
  min-height: 112px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.86);
}

.trust-strip strong {
  font-size: 1rem;
}

.trust-strip span {
  font-size: 0.9rem;
}

.card,
.review-card,
.profile-card,
.timetable-card,
.enquiry-form,
.contact-card {
  border-radius: 18px;
  box-shadow: var(--shadow-soft);
}

.cta-band {
  margin-inline: clamp(18px, 5vw, 72px);
  padding-inline: clamp(24px, 5vw, 64px);
  color: var(--ink);
  background:
    radial-gradient(circle at 90% 16%, rgba(255, 255, 255, 0.62), transparent 34%),
    linear-gradient(135deg, var(--rose-soft), var(--cream));
  border: 1px solid rgba(184, 58, 91, 0.16);
  border-radius: var(--radius-lg);
}

.review-card {
  padding: 26px;
  border-top: 4px solid rgba(199, 154, 75, 0.5);
}

.location-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(240px, 1.15fr) minmax(260px, 1fr) auto;
  align-items: center;
  gap: 26px;
  padding-top: 34px;
  padding-bottom: 34px;
}

.footer-brand {
  display: flex !important;
  grid-template-columns: none !important;
  align-items: center;
  gap: 14px !important;
}

.footer-brand img {
  width: 58px;
  height: 44px;
  object-fit: contain;
  padding: 3px;
  background: var(--white);
  border-radius: 12px;
}

.footer-links,
.footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
}

.footer-socials {
  justify-content: flex-end;
}

.footer-row-break {
  flex-basis: 100%;
  width: 0;
  height: 0;
}

.footer-links a,
.footer-socials a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.92rem;
}

.footer-links a:hover,
.footer-socials a:hover {
  color: var(--white);
}

.social-icon {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  flex: 0 0 auto;
}

.footer-socials a:first-child .social-icon {
  color: #e85aa7;
}

.footer-socials a:last-child .social-icon {
  color: #1877f2;
}

.footer-socials a:last-child .social-icon {
  fill: currentColor;
  stroke: none;
}

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

  .footer-socials {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .hero-copy h1 {
    font-size: clamp(2.35rem, 13vw, 3.3rem);
  }

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

  .cta-band {
    margin-inline: clamp(18px, 5vw, 72px);
  }

  .location-actions,
  .location-actions .button {
    width: 100%;
  }
}


/* About page polish */
.about-hero {
  position: relative;
  min-height: clamp(620px, 78vh, 860px);
  overflow: hidden;
  display: grid;
  align-content: end;
  color: var(--ivory);
  background:
    linear-gradient(90deg, rgba(18, 18, 18, 0.82) 0%, rgba(18, 18, 18, 0.62) 43%, rgba(18, 18, 18, 0.18) 100%),
    linear-gradient(180deg, rgba(18, 18, 18, 0.18) 0%, rgba(18, 18, 18, 0.62) 100%),
    url("./assets/images/sda-studio-mural-sharp.webp") center 30% / cover;
  isolation: isolate;
}

.about-hero .eyebrow {
  color: var(--ivory);
  font-size: clamp(1rem, 1.35vw, 1.35rem);
}

.about-hero h1 {
  max-width: 900px;
  color: var(--ivory);
}

.about-hero p:not(.eyebrow) {
  color: rgba(251, 246, 236, 0.84);
}

.about-culture-section {
  align-items: stretch;
  color: var(--ink);
  background:
    radial-gradient(circle at 88% 14%, rgba(184, 58, 91, 0.08), transparent 30%),
    linear-gradient(135deg, var(--cream), var(--peach));
}

.about-culture-section .eyebrow,
.about-culture-section h2 {
  color: var(--ink);
}

.about-culture-section p {
  color: var(--muted);
}

.culture-card-stack {
  display: grid;
  gap: 16px;
}

.culture-card {
  display: grid;
  gap: 8px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  border-color: rgba(252, 231, 239, 0.34);
}

.director-feature {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(320px, 1.2fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(252, 231, 239, 0.4));
  border: 1px solid rgba(21, 21, 21, 0.08);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.director-image {
  overflow: hidden;
  min-height: 420px;
  border-radius: calc(var(--radius-lg) - 10px);
  background: #f2f0eb;
}

.director-image img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  object-position: center top;
  filter: grayscale(100%);
}

.director-media {
  min-width: 0;
  display: grid;
  gap: 14px;
}

.director-highlights {
  overflow: hidden;
  padding: 12px 0;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(31, 41, 51, 0.09);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.director-highlights-track,
.director-highlights-group {
  display: flex;
  width: max-content;
  align-items: center;
}

.director-highlights-track {
  animation: director-highlights-scroll 45s linear infinite;
}

.director-highlights-group {
  flex: none;
  gap: 10px;
  padding-right: 10px;
}

.director-highlights-group span {
  flex: none;
  padding: 9px 15px;
  border-radius: 999px;
  color: var(--ink);
  background: var(--ivory-soft);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.35;
  white-space: nowrap;
}

.director-highlights-group span::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 9px;
  border-radius: 50%;
  background: var(--rose);
  vertical-align: middle;
}

.director-highlights:hover .director-highlights-track,
.director-highlights:focus-within .director-highlights-track {
  animation-play-state: paused;
}

@keyframes director-highlights-scroll {
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .director-highlights {
    overflow-x: auto;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .director-highlights-track {
    animation: none;
  }

  .director-highlights-group[aria-hidden="true"] {
    display: none;
  }
}

.director-copy {
  display: grid;
  gap: 16px;
}

.director-copy .director-label {
  font-size: clamp(1.15rem, 1.8vw, 1.75rem);
}

.credential-list {
  display: grid;
  gap: 10px;
  margin: 6px 0 8px;
}

.credential-list span {
  position: relative;
  padding-left: 24px;
  color: var(--muted);
  line-height: 1.55;
}

.credential-list span::before {
  content: "";
  position: absolute;
  top: 0.68em;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--rose);
  box-shadow: 0 0 0 4px rgba(184, 58, 91, 0.13);
}

.about-teacher-section {
  padding-top: clamp(52px, 8vw, 92px);
  background: linear-gradient(180deg, var(--ivory-soft), var(--cream));
}

.about-next-step,
.class-next-step {
  max-width: 980px;
  margin-inline: auto;
  padding-top: clamp(24px, 4vw, 42px);
  padding-bottom: clamp(34px, 5vw, 58px);
  color: var(--muted);
  background: transparent;
  border-top: 1px solid rgba(31, 41, 51, 0.12);
}

.about-next-step p,
.class-next-step p {
  max-width: 780px;
  margin: 0 auto;
  font-size: clamp(1rem, 1.25vw, 1.12rem);
  line-height: 1.75;
  text-align: center;
}

.about-next-step .text-link,
.class-next-step .text-link {
  display: inline-block;
  margin-top: 6px;
}

.about-page .about-hero {
  min-height: clamp(460px, 58vh, 620px);
  padding-top: clamp(48px, 6vw, 78px);
  padding-bottom: clamp(44px, 5.5vw, 72px);
}

.about-page .director-feature {
  gap: clamp(24px, 3.5vw, 44px);
  padding: clamp(24px, 3vw, 40px);
}

.about-page .director-image,
.about-page .director-image img {
  min-height: 360px;
}

.about-page .director-copy {
  gap: 12px;
}

.about-page .director-highlights {
  width: 100%;
  margin: clamp(16px, 2vw, 28px) 0 0;
  border-right: 0;
  border-left: 0;
  border-radius: 0;
}

.about-page .about-teacher-section {
  padding-top: clamp(28px, 3.5vw, 48px);
  padding-bottom: clamp(28px, 3.5vw, 48px);
}

.about-page .about-teacher-section .section-heading {
  margin-bottom: clamp(18px, 2.2vw, 28px);
}

.about-page .teacher-grid {
  gap: 14px;
}

.about-page .teacher-card {
  gap: 16px;
  padding: 15px;
}

.about-page .teacher-card .teacher-photo {
  min-height: 0;
  aspect-ratio: 1;
  align-self: start;
}

.about-page .about-next-step {
  padding-top: clamp(20px, 2.5vw, 30px);
  padding-bottom: clamp(26px, 3vw, 38px);
}

@media (max-width: 980px) {
  .director-feature {
    grid-template-columns: 1fr;
  }

  .director-image,
  .director-image img {
    min-height: 320px;
  }

}


/* Classes page pathway polish */
.classes-hero {
  color: var(--ink);
  background:
    radial-gradient(circle at 88% 18%, rgba(184, 58, 91, 0.1), transparent 30%),
    linear-gradient(135deg, var(--ivory-soft), var(--cream));
}

.classes-hero .eyebrow,
.classes-hero h1,
.classes-hero p:not(.eyebrow) {
  color: var(--ink);
}

.classes-hero h1 {
  max-width: 960px;
  font-size: clamp(2.35rem, 4.7vw, 4.8rem);
}

.classes-hero .hero-actions {
  margin-top: 22px;
}

.class-style-section {
  padding-top: clamp(16px, 2vw, 28px);
  padding-bottom: clamp(18px, 2vw, 28px);
}

.style-grid-subheading {
  margin: 0 0 clamp(18px, 2.2vw, 28px);
  text-align: center;
  font-size: clamp(1.55rem, 2.4vw, 2.25rem);
  line-height: 1.08;
}

.featured-style-card {
  display: grid;
  grid-template-columns: minmax(260px, 0.86fr) minmax(0, 1.14fr);
  gap: 0;
  overflow: hidden;
  margin-bottom: clamp(38px, 6vw, 72px);
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(31, 41, 51, 0.1);
  border-radius: var(--radius);
  box-shadow: 0 20px 55px rgba(31, 41, 51, 0.1);
}

.featured-style-image {
  min-height: 300px;
}

.featured-style-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.featured-style-copy {
  display: grid;
  align-content: center;
  gap: 14px;
  padding: clamp(26px, 5vw, 54px);
}

.featured-style-copy h2 {
  max-width: 620px;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 0.98;
}

.featured-style-copy p {
  max-width: 610px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.5vw, 1.18rem);
  line-height: 1.58;
}

.level-key-text {
  width: fit-content;
  margin: 10px 0 0;
  padding: 8px 12px;
  color: var(--accent-dark);
  background: rgba(252, 231, 239, 0.78);
  border: 1px solid rgba(184, 58, 91, 0.18);
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  line-height: 1.3;
  text-transform: uppercase;
}

.level-key {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.level-key strong,
.level-key span,
.level-chip-row span {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 30px;
  padding: 6px 10px;
  color: var(--accent-dark);
  background: rgba(252, 231, 239, 0.78);
  border: 1px solid rgba(184, 58, 91, 0.18);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  line-height: 1;
  text-transform: uppercase;
}

.level-key span {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(31, 41, 51, 0.1);
}

.level-note {
  margin-top: 8px;
  font-size: 0.94rem;
}

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

.style-card {
  display: grid;
  grid-template-rows: clamp(240px, 22vw, 320px) 1fr;
  overflow: hidden;
  min-height: 100%;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(31, 41, 51, 0.1);
  border-radius: var(--radius);
  box-shadow: 0 14px 38px rgba(31, 41, 51, 0.08);
}

.style-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.style-card img.ballet-card-photo {
  object-fit: cover;
  object-position: center 30%;
}

.style-card img.acrobatics-card-photo {
  object-position: center 42%;
}

.style-card img.jazz-card-photo {
  object-position: center 28%;
}

.style-card img.tap-card-photo {
  object-position: center 18%;
}

.style-card img.hip-hop-card-photo {
  object-position: center center;
}

.style-card img.contemporary-card-photo {
  object-position: center 58%;
}

.ballet-style-card {
  grid-template-rows: clamp(240px, 22vw, 320px) 1fr;
}

.style-card-content {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 18px;
}

.style-card-content h3 {
  margin: 0;
  font-size: clamp(1.14rem, 1.5vw, 1.34rem);
  line-height: 1.18;
}

.style-card-content p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.level-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.level-chip-row span {
  min-height: 26px;
  padding: 5px 9px;
  font-size: 0.68rem;
}

.guidance-chip span {
  color: var(--rose);
  background: var(--rose-soft);
  border-color: rgba(184, 58, 91, 0.16);
}

.small-style-guidance {
  max-width: 720px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.55;
  text-align: center;
}

.style-guidance-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  margin: clamp(10px, 2vw, 18px) auto 0;
  padding-bottom: clamp(54px, 8vw, 96px);
}

.style-guidance-cta .button {
  width: fit-content;
}

.pathway-choice-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}

.parent-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.pathway-choice-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  gap: 12px;
  border-top: 4px solid rgba(184, 58, 91, 0.5);
}

.parent-choice-card {
  display: flex;
  flex-direction: column;
  min-height: 260px;
  gap: 13px;
  padding: clamp(24px, 3vw, 34px);
  border-top: 4px solid rgba(184, 58, 91, 0.45);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 248, 238, 0.58));
}

.parent-choice-card:nth-child(2n) {
  border-top-color: rgba(184, 58, 91, 0.36);
}

.parent-choice-card h3 {
  max-width: 520px;
  font-size: clamp(1.28rem, 2vw, 1.7rem);
  line-height: 1.14;
}

.parent-choice-card p {
  max-width: 620px;
  font-size: 1rem;
}

.pathway-choice-card h3 {
  margin-top: 2px;
}

.pathway-age,
.program-label,
.style-label {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pathway-age {
  padding: 7px 11px;
  color: var(--accent-dark);
  background: rgba(252, 231, 239, 0.72);
  border: 1px solid rgba(184, 58, 91, 0.18);
}

.best-for {
  padding-top: 4px;
  font-size: 0.95rem;
}

.text-link {
  margin-top: auto;
  color: var(--accent-dark);
  font-size: 0.94rem;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}

.text-link::after {
  content: "\00a0→";
}

.text-link:hover {
  color: var(--rose);
}

.pathway-link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: auto;
}

.pathway-link-row .text-link {
  margin-top: 0;
}

.program-list-section {
  padding-top: clamp(18px, 3vw, 34px);
  padding-bottom: clamp(30px, 4vw, 52px);
}

.program-list-intro {
  max-width: 820px;
  justify-items: center;
  gap: 10px;
  margin-bottom: clamp(22px, 3vw, 34px);
  margin-inline: auto;
  text-align: center;
}

.program-list-intro .eyebrow {
  margin-bottom: 0;
  color: var(--accent-dark);
  font-size: clamp(1.35rem, 2vw, 1.85rem);
  font-weight: 950;
}

.program-list-intro > p:not(.eyebrow) {
  color: var(--ink);
  font-size: clamp(2rem, 3.6vw, 3.35rem);
  font-weight: 800;
  line-height: 1.12;
}

.program-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-flow: column;
  grid-template-rows: repeat(4, minmax(0, auto));
  gap: 18px 22px;
  width: min(100%, 1280px);
  max-width: 1280px;
  margin-inline: auto;
}

.program-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  align-items: start;
  min-height: 150px;
  padding: 24px 26px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(31, 41, 51, 0.1);
  border-radius: var(--radius);
}

.program-row h3 {
  font-size: clamp(1.08rem, 1.45vw, 1.28rem);
  line-height: 1.2;
}

.program-row p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.program-row .text-link {
  margin-top: 0;
  font-size: 0.88rem;
}

.program-carousel-section {
  padding-top: clamp(18px, 2.5vw, 32px);
  padding-bottom: clamp(18px, 2.5vw, 30px);
  background: linear-gradient(180deg, #fffaf4, var(--cream));
}

.program-carousel-intro {
  max-width: 760px;
  justify-items: center;
  margin-inline: auto;
  text-align: center;
}

#program-carousel-heading {
  scroll-margin-top: 130px;
}

.program-carousel-intro p:not(.eyebrow) {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
}

.program-carousel {
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
}

.program-carousel-track {
  --program-slide-gap: clamp(16px, 2vw, 24px);

  display: flex;
  gap: var(--program-slide-gap);
  overflow-x: auto;
  padding: 4px 4px 18px;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}

.program-slide {
  position: relative;
  display: grid;
  flex: 0 0 calc((100% - var(--program-slide-gap) - var(--program-slide-gap)) / 3);
  min-height: clamp(310px, 35vw, 430px);
  overflow: hidden;
  align-content: end;
  padding: clamp(22px, 4vw, 36px);
  color: var(--white);
  text-decoration: none;
  background: #152021;
  border-radius: var(--radius-lg);
  box-shadow: 0 22px 60px rgba(24, 34, 35, 0.18);
  scroll-snap-align: start;
  isolation: isolate;
}

.program-slide::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    linear-gradient(180deg, rgba(12, 18, 20, 0.04), rgba(12, 18, 20, 0.78)),
    linear-gradient(90deg, rgba(12, 18, 20, 0.58), rgba(12, 18, 20, 0.08));
}

.program-slide img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 220ms ease, filter 220ms ease;
}

.program-slide img.sda-college-slide-photo {
  object-fit: cover;
  object-position: center center;
}

.program-slide:hover img,
.program-slide:focus-visible img {
  filter: saturate(1.03) contrast(1.04);
  transform: scale(1.04);
}

.program-slide span {
  max-width: 92%;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(0.66rem, 0.95vw, 0.82rem);
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}

.program-slide strong {
  max-width: 100%;
  margin-top: 8px;
  font-family: var(--font-serif);
  font-size: clamp(1.45rem, 2.15vw, 2rem);
  line-height: 1;
  letter-spacing: -0.04em;
  white-space: nowrap;
}

.program-slide .program-title-compact {
  max-width: 100%;
  font-size: clamp(1rem, 1.45vw, 1.34rem);
  line-height: 1.08;
  white-space: normal;
  overflow-wrap: normal;
}

.program-carousel-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  padding: 0;
  color: var(--white);
  font-size: 2rem;
  line-height: 1;
  background: rgba(21, 32, 33, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  box-shadow: 0 14px 28px rgba(24, 34, 35, 0.2);
  transform: translateY(-50%);
  cursor: pointer;
}

.program-carousel-arrow-prev {
  left: -18px;
}

.program-carousel-arrow-next {
  right: -18px;
}

.program-carousel-arrow:hover,
.program-carousel-arrow:focus-visible {
  background: var(--accent-dark);
}

.program-summary-section {
  padding-top: clamp(6px, 1.2vw, 14px);
}

.program-offerings {
  display: grid;
  gap: 10px;
  margin-top: 8px;
}

.program-offerings h2 {
  margin: 0;
  color: var(--teal-dark);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.program-offering-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.program-offering-list span {
  padding: 8px 12px;
  border: 1px solid rgba(184, 58, 91, 0.18);
  border-radius: 999px;
  color: var(--ink);
  background: rgba(244, 166, 190, 0.14);
  font-size: 0.86rem;
  font-weight: 750;
  line-height: 1;
}

html:has(.program-class-gallery),
.leap-landing-page:has(.program-class-gallery) {
  height: auto;
  min-height: 100%;
  overflow: auto;
}

.leap-landing-page:has(.program-class-gallery) .leap-landing-main {
  display: block;
  height: auto;
}

.program-class-gallery {
  padding: clamp(54px, 7vw, 92px) clamp(24px, 5vw, 72px);
  background:
    radial-gradient(circle at 86% 8%, rgba(244, 166, 190, 0.2), transparent 28%),
    #fff8f3;
}

.program-class-gallery-inner {
  width: min(1380px, 100%);
  margin: 0 auto;
}

.program-class-gallery .eyebrow,
.program-class-gallery h2 {
  text-align: center;
}

.program-class-gallery h2 {
  margin: 8px 0 clamp(24px, 3vw, 38px);
  font-size: clamp(2rem, 3.4vw, 3.6rem);
}

.program-class-gallery .style-card {
  grid-template-rows: clamp(210px, 18vw, 280px) auto;
}

@media (max-width: 1100px) {
  .leap-landing-page:has(.program-class-gallery) .leap-landing-card {
    height: auto;
    min-height: calc(100vh - 72px);
  }
}

.program-summary-section .section-heading {
  justify-items: center;
  margin-inline: auto;
  text-align: center;
}

.program-summary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.program-summary-item {
  position: relative;
  display: grid;
  overflow: hidden;
  gap: 6px;
  min-height: 112px;
  align-content: start;
  padding: 20px 22px;
  color: var(--ink);
  text-decoration: none;
  background: #fcecf1;
  border: 1px solid rgba(184, 58, 91, 0.16);
  border-radius: var(--radius);
  box-shadow:
    0 16px 42px rgba(24, 34, 35, 0.07),
    0 0 24px rgba(244, 166, 190, 0.08);
  transition:
    border-color 220ms ease,
    box-shadow 220ms ease,
    transform 220ms ease;
}

.program-summary-item::after {
  position: absolute;
  inset: -40% auto -40% -55%;
  z-index: 1;
  width: 42%;
  content: "";
  pointer-events: none;
  background: linear-gradient(
    105deg,
    transparent 0%,
    rgba(244, 166, 190, 0.08) 24%,
    rgba(244, 166, 190, 0.44) 50%,
    rgba(255, 236, 242, 0.22) 72%,
    transparent 100%
  );
  filter: blur(3px);
  transform: skewX(-18deg);
}

.program-summary-item:hover,
.program-summary-item:focus-visible,
.program-summary-item:focus-within {
  border-color: rgba(184, 58, 91, 0.34);
  box-shadow:
    0 20px 50px rgba(24, 34, 35, 0.1),
    0 0 30px rgba(244, 166, 190, 0.18);
  outline: none;
  transform: translateY(-3px);
}

.program-summary-item:hover::after,
.program-summary-item:focus-visible::after,
.program-summary-item:focus-within::after {
  animation: priority-fee-card-shine 850ms ease-out;
}

.program-summary-item strong {
  color: var(--accent-dark);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
}

.program-summary-item span {
  color: var(--muted);
  line-height: 1.55;
}

@media (prefers-reduced-motion: reduce) {
  .program-summary-item {
    transition: none;
  }

  .program-summary-item:hover::after,
  .program-summary-item:focus-visible::after,
  .program-summary-item:focus-within::after {
    animation: none;
  }
}

.program-summary-main-link {
  display: grid;
  gap: 6px;
  color: inherit;
  text-decoration: none;
}

.program-summary-item-with-social {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  column-gap: 18px;
}

.program-summary-item-with-badge {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  column-gap: 18px;
}

.program-summary-badge {
  justify-self: end;
  padding: 9px 13px;
  border-radius: 999px;
  color: var(--rose);
  background: rgba(184, 58, 91, 0.1);
  border: 1px solid rgba(184, 58, 91, 0.18);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.program-summary-social-link {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  color: #e85aa7;
  background: rgba(232, 90, 167, 0.1);
  border: 1px solid rgba(232, 90, 167, 0.22);
  transition: transform 160ms ease, background 160ms ease, color 160ms ease;
}

.program-summary-social-link:hover,
.program-summary-social-link:focus-visible {
  color: var(--white);
  background: #e85aa7;
  outline: none;
  transform: translateY(-1px);
}

.program-summary-social-link .social-icon {
  width: 19px;
  height: 19px;
}

.program-summary-web-link {
  color: var(--teal-dark);
  background: rgba(0, 151, 156, 0.1);
  border-color: rgba(0, 151, 156, 0.24);
}

.program-summary-web-link:hover,
.program-summary-web-link:focus-visible {
  color: var(--white);
  background: var(--teal-dark);
}

@media (max-width: 1024px) {
  .program-slide {
    flex-basis: calc((100% - var(--program-slide-gap)) / 2);
  }
}

@media (max-width: 760px) {
  .program-summary-grid {
    grid-template-columns: 1fr;
  }

  .program-summary-item {
    min-height: 0;
    padding: 18px;
  }
}

.fees-info-section {
  background: #fffdf9;
}

.fees-hero h1 {
  max-width: 860px;
}

.fees-intro-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.92fr);
  gap: clamp(22px, 4vw, 46px);
  align-items: start;
  padding: clamp(22px, 4vw, 38px);
  background:
    radial-gradient(circle at 92% 12%, rgba(184, 58, 91, 0.12), transparent 30%),
    linear-gradient(135deg, var(--white), var(--cream));
  border: 1px solid rgba(21, 21, 21, 0.08);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.fees-intro-panel .section-heading {
  margin: 0;
}

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

.fee-note-list li {
  padding: 14px 16px;
  color: #3f4547;
  font-weight: 650;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(21, 21, 21, 0.08);
  border-radius: var(--radius);
}

.fees-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.fees-card {
  align-content: start;
}

.enrolment-flow-section {
  background: #fffdf9;
}

.enrolment-flow-subheading {
  font-size: clamp(1.55rem, 2.4vw, 2.25rem);
  line-height: 1.08;
}

.enrolment-step-panel,
.enrolment-package-grid,
.enrolment-pathway-grid {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

.enrolment-step-panel {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.enrolment-step-panel article,
.enrolment-package-card,
.enrolment-pathway-card,
.square-payment-card {
  min-width: 0;
  padding: clamp(20px, 2.5vw, 28px);
  background: var(--white);
  border: 1px solid rgba(21, 21, 21, 0.08);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.enrolment-step-panel article {
  display: grid;
  gap: 10px;
  align-content: start;
}

.enrolment-step-panel h3,
.enrolment-package-card h3,
.enrolment-pathway-card h3,
.square-payment-card h3 {
  font-size: clamp(1.18rem, 1.7vw, 1.48rem);
}

.enrolment-step-panel p,
.enrolment-package-card p,
.enrolment-pathway-card p,
.square-payment-card p {
  margin: 0;
  color: var(--muted);
}

.enrolment-pathway-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 980px;
  margin-inline: auto;
}

.enrolment-priority-fee-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  max-width: 980px;
  margin: 28px auto 0;
}

.priority-fee-card {
  position: relative;
  overflow: hidden;
  border-color: rgba(198, 65, 116, 0.22);
  box-shadow: 0 22px 70px rgba(31, 41, 51, 0.12);
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease;
}

.priority-fee-card::after {
  position: absolute;
  inset: -35% auto -35% -55%;
  width: 42%;
  content: "";
  pointer-events: none;
  background: linear-gradient(
    105deg,
    transparent 0%,
    rgba(244, 166, 190, 0.08) 24%,
    rgba(244, 166, 190, 0.42) 50%,
    rgba(255, 224, 233, 0.18) 72%,
    transparent 100%
  );
  filter: blur(3px);
  transform: skewX(-18deg);
}

.priority-fee-card:hover,
.priority-fee-card:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(198, 65, 116, 0.42);
  box-shadow:
    0 26px 76px rgba(31, 41, 51, 0.15),
    0 0 34px rgba(244, 166, 190, 0.22);
}

.priority-fee-card:hover::after,
.priority-fee-card:focus-visible::after {
  animation: priority-fee-card-shine 850ms ease-out;
}

.priority-fee-card:focus-visible {
  outline: 3px solid rgba(198, 65, 116, 0.38);
  outline-offset: 4px;
}

@keyframes priority-fee-card-shine {
  from {
    left: -55%;
  }

  to {
    left: 125%;
  }
}

.priority-fee-card .button {
  width: fit-content;
  margin-top: 4px;
  color: var(--white);
}

.priority-fee-card strong {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
}

.priority-fee-card p {
  color: var(--accent-dark);
  font-weight: 850;
}

@media (prefers-reduced-motion: reduce) {
  .priority-fee-card {
    transition: none;
  }

  .priority-fee-card:hover::after,
  .priority-fee-card:focus-visible::after {
    animation: none;
  }
}

.enrolment-pathway-card {
  display: grid;
  gap: 14px;
  align-content: start;
}

.enrolment-pathway-card .button {
  width: fit-content;
  margin-top: 4px;
}

.enrolment-package-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.enrolment-package-card {
  display: grid;
  gap: 14px;
  align-content: start;
}

.enrolment-package-card strong {
  display: grid;
  gap: 3px;
  color: var(--accent-dark);
  font-size: clamp(1.55rem, 3vw, 2.2rem);
  line-height: 1;
}

.enrolment-package-card strong span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.featured-package-card {
  background:
    radial-gradient(circle at 90% 12%, rgba(239, 91, 141, 0.12), transparent 34%),
    linear-gradient(135deg, var(--white), var(--cream));
  border-color: rgba(239, 91, 141, 0.2);
}

.trial-payment-card {
  background:
    radial-gradient(circle at 90% 12%, rgba(184, 58, 91, 0.14), transparent 34%),
    linear-gradient(135deg, var(--white), #fff6f9);
  border-color: rgba(184, 58, 91, 0.24);
}

.square-payment-card {
  display: flex;
  justify-content: space-between;
  gap: 22px;
  align-items: center;
  margin-top: 28px;
  background:
    radial-gradient(circle at 12% 8%, rgba(184, 58, 91, 0.14), transparent 32%),
    var(--white);
}

.trial-square-payment-card {
  margin-top: 16px;
  background:
    radial-gradient(circle at 12% 8%, rgba(239, 91, 141, 0.12), transparent 32%),
    var(--white);
}

.square-payment-card > div {
  display: grid;
  gap: 8px;
  max-width: 760px;
}

.fees-detail-section {
  background: var(--cream);
}

.fee-package-grid {
  align-items: stretch;
}

.fee-package-card,
.additional-fee-card,
.private-lesson-card {
  display: grid;
  gap: 18px;
  align-content: start;
  min-width: 0;
  padding: clamp(20px, 2.5vw, 28px);
  background: var(--white);
  border: 1px solid rgba(21, 21, 21, 0.08);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.fee-package-card {
  min-height: 100%;
}

.fee-card-header {
  display: grid;
  gap: 12px;
}

.fee-card-header h3,
.additional-fee-card h3,
.private-lesson-card h3 {
  font-size: clamp(1.22rem, 1.8vw, 1.55rem);
}

.fee-card-header p,
.fee-card-note,
.additional-fee-card p,
.private-lesson-card p {
  margin: 0;
  color: var(--muted);
}

.fee-label {
  width: fit-content;
  max-width: 100%;
  padding: 7px 10px;
  color: var(--accent-dark);
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: rgba(184, 58, 91, 0.12);
  border-radius: 999px;
}

.fee-package-list,
.private-price-list {
  display: grid;
  gap: 10px;
}

.fee-package-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content;
  gap: 14px;
  align-items: center;
  padding: 14px;
  background: var(--ivory-soft);
  border: 1px solid rgba(21, 21, 21, 0.07);
  border-radius: var(--radius);
}

.fee-package-row div {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.fee-package-row strong {
  font-size: 0.98rem;
  line-height: 1.25;
}

.fee-package-row span,
.additional-fee-card span,
.private-price-list span {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.35;
}

.fee-package-row b {
  display: grid;
  justify-items: end;
  color: var(--accent-dark);
  font-size: clamp(1.16rem, 2vw, 1.44rem);
  line-height: 1;
  white-space: nowrap;
}

.fee-package-row b span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.fee-card-note {
  padding-top: 2px;
  font-size: 0.92rem;
  font-weight: 650;
}

.mini-section-heading {
  margin-top: clamp(32px, 5vw, 56px);
  margin-bottom: 18px;
}

.mini-section-heading h3 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.fees-download-actions {
  justify-content: center;
  margin-top: 18px;
}

.fees-page-note {
  max-width: 980px;
  margin: 24px auto 0;
  padding: 18px 20px;
  text-align: center;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(21, 21, 21, 0.08);
  border-radius: var(--radius);
}

/* Keep the information-rich enrolment page compact and easy to scan. */
.fees-page .section {
  padding-top: clamp(20px, 2.5vw, 36px);
  padding-bottom: clamp(20px, 2.5vw, 36px);
}

.fees-page .section-heading {
  gap: 7px;
  margin-bottom: clamp(14px, 1.7vw, 22px);
}

.fees-page .enrolment-priority-fee-grid {
  gap: 14px;
  margin-top: 10px;
}

.fees-page .fee-package-card,
.fees-page .additional-fee-card,
.fees-page .private-lesson-card {
  gap: 14px;
  padding: clamp(18px, 1.8vw, 23px);
}

.fees-page .fees-card-grid,
.fees-page .additional-fee-grid,
.fees-page .private-lesson-grid {
  gap: 14px;
}

.fees-page .fee-card-header {
  gap: 8px;
}

.fees-page .fee-package-list,
.fees-page .private-price-list {
  gap: 8px;
}

.fees-page .fee-package-row {
  gap: 12px;
  padding: 11px 12px;
}

.fees-page .mini-section-heading {
  margin-top: clamp(18px, 2vw, 26px);
  margin-bottom: 10px;
}

.fees-page .fees-download-actions {
  margin-top: 10px;
}

.fees-page .fees-page-note {
  margin-top: 12px;
  padding: 12px 15px;
}

.fees-page .simple-list {
  gap: 6px;
}

.fees-detail-grid,
.faq-grid {
  display: grid;
  gap: 18px;
}

.fees-detail-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.faq-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 28px;
}

.simple-list {
  display: grid;
  gap: 9px;
  margin: 14px 0 0;
  padding-left: 1.15rem;
  color: var(--muted);
  line-height: 1.58;
}

.faq-grid h3 {
  font-size: 1.08rem;
}

.faq-grid p {
  margin: 10px 0 0;
  color: var(--muted);
}

.fees-cta {
  margin-top: 0;
}

.additional-fees-section {
  background: #fffdf9;
}

.additional-fee-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.additional-fee-card {
  gap: 12px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 248, 242, 0.92));
}

.additional-fee-card > div {
  display: grid;
  gap: 4px;
}

.additional-fee-card strong {
  color: var(--accent-dark);
  font-size: clamp(1.55rem, 3vw, 2.2rem);
  line-height: 1;
}

.private-lessons-section {
  background: linear-gradient(180deg, var(--cream), #fffdf9);
}

.private-lesson-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.private-lesson-card {
  background: var(--white);
}

.private-lesson-card .simple-list {
  margin-top: 0;
}

.private-price-list {
  margin-top: 2px;
}

.private-price-list span {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 13px;
  background: var(--ivory-soft);
  border: 1px solid rgba(21, 21, 21, 0.07);
  border-radius: var(--radius);
}

.private-price-list strong {
  color: var(--accent-dark);
  white-space: nowrap;
}

.choice-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(18px, 4vw, 48px);
  margin-inline: clamp(18px, 5vw, 72px);
  padding: clamp(24px, 4vw, 42px);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 92% 18%, rgba(255, 255, 255, 0.72), transparent 32%),
    linear-gradient(135deg, var(--rose-soft), var(--cream));
  border: 1px solid rgba(184, 58, 91, 0.16);
  box-shadow: var(--shadow-soft);
}

.choice-cta h2 {
  margin-bottom: 8px;
}

.older-student-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(22px, 5vw, 64px);
  color: var(--ink);
  background:
    radial-gradient(circle at 88% 16%, rgba(184, 58, 91, 0.08), transparent 30%),
    linear-gradient(135deg, var(--ivory), var(--rose-soft));
}

.older-student-section > div:first-child {
  display: grid;
  gap: 12px;
  max-width: 780px;
}

.older-student-section p:not(.eyebrow) {
  max-width: 700px;
  margin: 0;
  font-size: clamp(1.06rem, 1.45vw, 1.2rem);
  line-height: 1.68;
}

.older-student-actions {
  display: grid;
  gap: 12px;
  min-width: min(100%, 250px);
}

.compact-style-section {
  padding-top: clamp(28px, 5vw, 56px);
}

.style-intro {
  max-width: 820px;
  margin-right: auto;
  margin-left: auto;
  justify-items: center;
  text-align: center;
}

.style-intro p {
  margin-right: auto;
  margin-left: auto;
}

.style-label {
  padding: 6px 10px;
  color: var(--rose);
  background: var(--rose-soft);
  border: 1px solid rgba(184, 58, 91, 0.16);
}

.additional-programs {
  padding-top: clamp(44px, 7vw, 76px);
}

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

.style-note-card {
  min-height: 0;
  background: rgba(255, 255, 255, 0.82);
}

.style-note-card h3 {
  margin: 0;
  font-size: clamp(1.08rem, 1.4vw, 1.22rem);
  line-height: 1.25;
}

.additional-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.compact-program-card {
  display: grid;
  align-content: start;
  gap: 12px;
  background: rgba(255, 255, 255, 0.78);
}

.program-label {
  padding: 6px 10px;
  color: var(--muted);
  background: rgba(21, 21, 21, 0.05);
  border: 1px solid rgba(21, 21, 21, 0.08);
}

@media (max-width: 1100px) {
  .parent-choice-grid,
  .pathway-choice-grid,
  .additional-grid,
  .style-note-grid,
  .style-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .featured-style-card {
    grid-template-columns: 1fr;
  }

  .featured-style-image {
    min-height: 220px;
  }

  .style-card {
    grid-template-rows: minmax(250px, 58vw) 1fr;
  }

  .parent-choice-grid {
    grid-template-columns: 1fr;
  }

  .parent-choice-card {
    min-height: 0;
  }

  .program-list {
    grid-auto-flow: row;
    grid-template-columns: 1fr;
    grid-template-rows: none;
    gap: 10px;
  }

  .program-row {
    grid-template-columns: 1fr;
    gap: 7px;
    min-height: 0;
    padding: 16px;
  }

  .choice-cta {
    align-items: flex-start;
    flex-direction: column;
  }

  .older-student-section {
    align-items: flex-start;
    flex-direction: column;
  }

  .choice-cta .button,
  .older-student-actions,
  .older-student-actions .button {
    width: 100%;
  }
}


/* Premium SDA Academy visual pass */
:root {
  --ink: #1f2933;
  --muted: #5e6a73;
  --charcoal: #1f2933;
  --charcoal-soft: #2d3742;
  --ivory: #fff8f2;
  --paper: #ffffff;
  --champagne: #fce7ef;
  --champagne-soft: #fce7ef;
  --line: rgba(31, 41, 51, 0.13);
  --rose: #b83a5b;
  --rose-dark: #9f304d;
  --rose-soft: #fce7ef;
  --teal: #13b5a8;
  --teal-dark: #087e78;
  --teal-soft: #e6f8f6;
  --mint: #f5fffd;
  --accent: var(--teal);
  --accent-dark: var(--teal-dark);
  --accent-soft: var(--teal-soft);
  --cream: #fff8f2;
  --blush: #fce7ef;
  --ivory-soft: #fffdf8;
  --peach: #f8e6d8;
  --neutral-beige: #f4eadf;
  --gold: #b83a5b;
  --white: #ffffff;
  --shadow: 0 26px 80px rgba(23, 21, 20, 0.16);
  --shadow-soft: 0 18px 54px rgba(23, 21, 20, 0.1);
  --radius: 10px;
  --radius-lg: 26px;
  --font-display: Georgia, "Times New Roman", serif;
}

body {
  color: var(--ink);
  background: var(--ivory);
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(3.1rem, 7.5vw, 7.4rem);
}

h2 {
  font-size: clamp(2.25rem, 4.7vw, 4.6rem);
}

h3 {
  font-size: clamp(1.35rem, 2.1vw, 1.9rem);
}

p {
  color: var(--muted);
}

.site-header {
  color: var(--ivory);
  background: linear-gradient(90deg, var(--teal-dark), var(--teal), var(--rose));
  border-bottom: 1px solid rgba(230, 248, 246, 0.28);
  box-shadow: 0 16px 50px rgba(8, 126, 120, 0.18);
}

.nav-links {
  color: rgba(255, 248, 242, 0.88);
}

.nav-link,
.nav-links > a:not(.nav-logo) {
  border-bottom-color: transparent;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--white);
  border-bottom-color: var(--white);
}

.brand-logo,
.nav-logo .brand-logo {
  background: #ffffff;
  border-color: rgba(252, 231, 239, 0.38);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
}

.button {
  color: var(--white);
  background: var(--rose);
  border-color: var(--rose);
  box-shadow: 0 16px 42px rgba(184, 58, 91, 0.2);
}

.button:hover {
  color: var(--white);
  background: #9f304d;
  border-color: #9f304d;
  box-shadow: 0 20px 48px rgba(184, 58, 91, 0.26);
}

.button-secondary {
  color: var(--accent-dark);
  background: rgba(255, 255, 255, 0.94);
  border-color: rgba(19, 181, 168, 0.28);
}

.button-ghost {
  color: var(--ivory);
  background: rgba(251, 246, 236, 0.12);
  border-color: rgba(251, 246, 236, 0.68);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.16);
}

.button-ghost:hover {
  color: var(--accent-dark);
  background: var(--white);
  border-color: var(--white);
  box-shadow: none;
}

.eyebrow {
  color: var(--accent-dark);
  font-size: clamp(0.78rem, 1vw, 0.95rem);
  letter-spacing: 0.16em;
}

.home-hero {
  position: relative;
  display: grid;
  min-height: calc(100vh - 74px);
  overflow: hidden;
  align-items: center;
  justify-items: center;
  padding: clamp(118px, 12vw, 164px) clamp(20px, 6vw, 88px) clamp(82px, 9vw, 118px);
  text-align: center;
  color: var(--ivory);
  background: var(--charcoal);
  isolation: isolate;
}

.home-hero::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    radial-gradient(ellipse at 50% 48%, rgba(18, 18, 18, 0.04) 0%, rgba(18, 18, 18, 0.16) 42%, rgba(18, 18, 18, 0.54) 100%),
    linear-gradient(180deg, rgba(18, 18, 18, 0.42) 0%, rgba(18, 18, 18, 0.08) 40%, rgba(18, 18, 18, 0.58) 100%);
  z-index: -1;
}

.home-hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 16%;
  filter: saturate(1.02) contrast(1.03) brightness(0.98);
  z-index: -2;
}

.home-hero-content {
  display: grid;
  justify-items: center;
  max-width: min(1000px, 92vw);
  gap: 22px;
  transform: translateY(3vh);
}

.home-hero .eyebrow {
  color: var(--ivory);
  font-size: clamp(1rem, 1.45vw, 1.35rem);
  font-weight: 900;
  letter-spacing: 0.22em;
  margin: 0;
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.55);
}

.home-hero h1 {
  max-width: 920px;
  color: var(--ivory);
  font-size: clamp(3.45rem, 6.4vw, 6.8rem);
  line-height: 0.98;
  text-shadow: 0 4px 28px rgba(0, 0, 0, 0.34);
  text-wrap: balance;
}

.home-hero .home-hero-brand {
  width: max-content;
  max-width: none;
  font-size: clamp(3rem, 7.2vw, 7.2rem);
  line-height: 0.9;
  letter-spacing: -0.045em;
  white-space: nowrap;
}

.home-hero p:not(.eyebrow) {
  max-width: 680px;
  margin: 0;
  color: rgba(251, 246, 236, 0.86);
  font-size: clamp(1.05rem, 1.45vw, 1.22rem);
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.36);
}

.home-hero p.home-hero-tagline {
  max-width: 760px;
  color: var(--ivory);
  font-size: clamp(1rem, 1.5vw, 1.3rem);
  font-weight: 750;
  line-height: 1.35;
  letter-spacing: 0.025em;
}

.home-hero p.home-hero-shine {
  max-width: none;
  color: var(--ivory);
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 2.8vw, 2.6rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

@media (max-width: 760px) {
  .home-hero .home-hero-brand {
    font-size: clamp(1.85rem, 9vw, 3.6rem);
  }
}

.home-hero .hero-actions {
  justify-content: center;
  gap: 12px;
  margin-top: 12px;
}

.home-hero .button {
  min-height: 52px;
  padding-inline: 24px;
}

.home-hero .hero-actions .button:not(.button-ghost):hover,
.home-hero .hero-actions .button:not(.button-ghost):focus-visible {
  color: var(--white);
  background: #9f304d;
  border-color: #9f304d;
  box-shadow: 0 20px 48px rgba(184, 58, 91, 0.34);
}

.home-hero .hero-actions .button-ghost:hover,
.home-hero .hero-actions .button-ghost:focus-visible {
  color: var(--rose-dark);
  background: var(--white);
  border-color: var(--white);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.18);
}

.home-quick-action {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: #b83a5b;
  border-color: #b83a5b;
  isolation: isolate;
}

.home-quick-action::after {
  position: absolute;
  inset: -45% auto -45% -55%;
  z-index: 1;
  width: 42%;
  content: "";
  pointer-events: none;
  background: linear-gradient(
    105deg,
    transparent 0%,
    rgba(244, 166, 190, 0.08) 24%,
    rgba(244, 166, 190, 0.42) 50%,
    rgba(255, 224, 233, 0.18) 72%,
    transparent 100%
  );
  filter: blur(3px);
  transform: skewX(-18deg);
}

.home-quick-action:hover,
.home-quick-action:focus-visible,
.home-hero .hero-actions .home-quick-action:hover,
.home-hero .hero-actions .home-quick-action:focus-visible {
  color: var(--white);
  background: #9f304d;
  border-color: #9f304d;
  box-shadow:
    0 16px 38px rgba(184, 58, 91, 0.28),
    0 0 30px rgba(244, 166, 190, 0.24);
}

.home-quick-action:hover::after,
.home-quick-action:focus-visible::after {
  animation: priority-fee-card-shine 850ms ease-out;
}

.hero-trust-chips {
  display: grid;
  justify-items: center;
  gap: 10px;
  margin-top: 4px;
}

.hero-trust-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  white-space: nowrap;
}

.hero-trust-primary > span,
.hero-location-highlight {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  color: rgba(251, 246, 236, 0.86);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: none;
  border: 0;
  border-radius: 0;
  backdrop-filter: none;
}

.hero-trust-primary > span + span::before {
  content: "·";
  color: rgba(244, 166, 190, 0.95);
  font-size: 1.25em;
  line-height: 1;
}

@media (max-width: 760px) {
  .hero-trust-primary {
    flex-wrap: wrap;
    gap: 8px 14px;
    white-space: normal;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-quick-action:hover::after,
  .home-quick-action:focus-visible::after {
    animation: none;
  }
}

.home-intro-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
  gap: clamp(24px, 3.2vw, 46px);
  align-items: center;
  width: min(100%, 1160px);
  margin-inline: auto;
  padding-top: clamp(70px, 8vw, 112px);
  padding-bottom: clamp(64px, 7vw, 104px);
}

.inline-text-link {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-top: 18px;
  color: var(--accent-dark);
  font-weight: 850;
  text-decoration: none;
  border-bottom: 1px solid rgba(19, 181, 168, 0.34);
}

.inline-text-link:hover {
  color: var(--teal-dark);
  border-bottom-color: rgba(8, 126, 120, 0.46);
}

.home-intro-copy {
  display: grid;
  gap: 14px;
}

.home-intro-copy h2 {
  max-width: 680px;
  text-wrap: balance;
}

.home-intro-panel {
  display: grid;
  gap: 18px;
  max-width: 560px;
  margin: 0;
  padding-left: clamp(20px, 2.6vw, 34px);
  border-left: 1px solid rgba(19, 181, 168, 0.36);
}

.home-intro-panel p {
  margin: 0;
  font-size: clamp(1.08rem, 1.5vw, 1.24rem);
  line-height: 1.72;
}

.intro-check-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.intro-check-list li {
  position: relative;
  padding-left: 26px;
  color: var(--charcoal);
  font-weight: 750;
}

.intro-check-list li::before {
  position: absolute;
  left: 0;
  top: 0.1em;
  color: var(--accent-dark);
  content: "✓";
  font-weight: 900;
}

.home-pathways-section {
  color: var(--ink);
  background:
    radial-gradient(circle at 18% 0%, rgba(184, 58, 91, 0.08), transparent 30%),
    linear-gradient(180deg, var(--cream), var(--rose-soft));
}

.home-pathways-section .eyebrow {
  color: var(--accent-dark);
}

.home-pathways-section h2 {
  color: var(--ink);
}

.centered-heading {
  max-width: 780px;
  margin-inline: auto;
  text-align: center;
  justify-items: center;
}

.home-pathway-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(18px, 2vw, 24px);
  margin-top: clamp(34px, 4vw, 46px);
}

.home-pathway-card {
  display: grid;
  min-height: 320px;
  align-content: end;
  gap: 14px;
  padding: clamp(26px, 3vw, 38px);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(19, 181, 168, 0.16);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease,
    box-shadow 160ms ease;
}

.home-pathway-card:hover,
.home-pathway-card:focus-visible {
  transform: translateY(-3px);
  background: var(--white);
  border-color: rgba(19, 181, 168, 0.34);
  box-shadow:
    0 26px 80px rgba(31, 41, 51, 0.12),
    0 0 0 1px rgba(19, 181, 168, 0.12);
  outline: none;
}

.home-pathway-card span {
  color: var(--accent-dark);
  font-size: 0.8rem;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.home-pathway-card h3 {
  color: var(--ink);
  max-width: 310px;
  line-height: 1.08;
}

.home-pathway-card em {
  width: fit-content;
  max-width: 100%;
  padding: 7px 11px;
  color: var(--rose);
  font-size: 0.82rem;
  font-style: normal;
  font-weight: 850;
  line-height: 1.35;
  background: var(--rose-soft);
  border: 1px solid rgba(184, 58, 91, 0.16);
  border-radius: 999px;
}

.home-pathway-card p {
  max-width: 330px;
  margin: 0;
  color: var(--muted);
  line-height: 1.58;
}

.home-pathway-card .pathway-action {
  width: fit-content;
  margin-top: 14px;
  padding-bottom: 3px;
  color: var(--accent-dark);
  font-size: 0.95rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: none;
  border-bottom: 1px solid rgba(19, 181, 168, 0.34);
  opacity: 0.9;
}

.home-pathway-card:hover .pathway-action,
.home-pathway-card:focus-visible .pathway-action {
  color: var(--teal-dark);
  border-bottom-color: rgba(8, 126, 120, 0.46);
  opacity: 1;
}

.trial-process-section,
.home-genre-section,
.home-start-section {
  background:
    radial-gradient(circle at 82% 14%, rgba(184, 58, 91, 0.13), transparent 28%),
    var(--cream);
}

.home-start-section {
  padding-top: clamp(58px, 7vw, 92px);
  padding-bottom: clamp(62px, 8vw, 104px);
}

.home-start-section .section-heading > p:not(.eyebrow) {
  max-width: 760px;
  margin-inline: auto;
}

.home-start-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2vw, 26px);
  width: min(100%, 1240px);
  max-width: 1240px;
  margin: clamp(34px, 4vw, 50px) auto 0;
}

.home-start-card {
  display: grid;
  grid-template-rows: clamp(230px, 22vw, 310px) 1fr;
  overflow: hidden;
  min-height: 100%;
  color: inherit;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(32, 28, 27, 0.08);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.home-start-card:hover,
.home-start-card:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(184, 58, 91, 0.24);
  box-shadow: 0 26px 80px rgba(31, 41, 51, 0.14);
  outline: none;
}

.home-start-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.03) contrast(1.02);
  transition: transform 220ms ease;
}

.home-start-card:first-child img {
  object-position: center top;
}

.home-start-card:nth-child(3) img {
  object-position: 82% center;
}

.home-start-card:hover img,
.home-start-card:focus-visible img {
  transform: scale(1.025);
}

.home-start-card > div {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: clamp(20px, 2.4vw, 28px);
}

.home-start-card span {
  width: fit-content;
  padding: 7px 11px;
  color: var(--accent-dark);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.11em;
  line-height: 1.1;
  text-transform: uppercase;
  background: rgba(184, 58, 91, 0.1);
  border: 1px solid rgba(184, 58, 91, 0.2);
  border-radius: 999px;
}

.home-start-card h3 {
  max-width: 330px;
  margin: 0;
  color: var(--charcoal);
  font-size: clamp(1.55rem, 2vw, 2rem);
  line-height: 1.02;
}

.home-start-card p {
  max-width: 340px;
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.home-start-card strong,
.home-start-card-actions a {
  width: fit-content;
  margin-top: 6px;
  color: var(--accent-dark);
  font-size: 0.95rem;
  font-weight: 900;
  text-decoration: none;
  border-bottom: 1px solid rgba(184, 58, 91, 0.42);
}

.home-start-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 6px;
}
.home-genre-section .section-heading > p:not(.eyebrow) {
  max-width: 760px;
  margin-inline: auto;
}

.home-genre-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 22px);
  max-width: 1180px;
  margin: clamp(34px, 4vw, 48px) auto 0;
}

.home-genre-card {
  display: grid;
  grid-template-rows: 190px auto auto 1fr;
  gap: 10px;
  overflow: hidden;
  min-height: 100%;
  color: inherit;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(32, 28, 27, 0.08);
  border-radius: var(--radius-lg);
  box-shadow: 0 18px 58px rgba(23, 21, 20, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.home-genre-card:hover,
.home-genre-card:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(184, 58, 91, 0.32);
  box-shadow: 0 22px 64px rgba(23, 21, 20, 0.12);
}

.home-genre-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.home-genre-card span,
.home-genre-card h3,
.home-genre-card p {
  margin-inline: 18px;
}

.home-genre-card span {
  margin-top: 8px;
  color: var(--accent-dark);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.home-genre-card h3 {
  margin-top: 0;
  margin-bottom: 0;
  font-size: clamp(1.18rem, 1.55vw, 1.42rem);
  line-height: 1.12;
}

.home-genre-card p {
  margin-top: 0;
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.45;
}

.home-genre-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px 22px;
  margin-top: clamp(26px, 3vw, 38px);
}

.home-practical-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 22px;
  padding: 16px clamp(18px, 5vw, 72px);
  color: var(--charcoal);
  font-size: 0.94rem;
  font-weight: 800;
  line-height: 1.45;
  text-align: center;
  background: var(--ivory);
  border-block: 1px solid rgba(32, 28, 27, 0.08);
}

.home-practical-strip a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 14px;
  color: var(--accent-dark);
  font-weight: 900;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(19, 181, 168, 0.22);
  border-radius: 999px;
}

.home-practical-strip a::after {
  content: "\00a0→";
}

.motion-story-section {
  background:
    radial-gradient(circle at 86% 10%, rgba(184, 58, 91, 0.1), transparent 28%),
    var(--ivory-soft);
}

.motion-story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) repeat(2, minmax(0, 0.72fr));
  grid-auto-rows: minmax(220px, 26vw);
  gap: 16px;
  margin-top: clamp(32px, 4vw, 46px);
}

.motion-story-card {
  position: relative;
  overflow: hidden;
  min-height: 220px;
  margin: 0;
  color: var(--ivory);
  background: var(--charcoal);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.motion-story-card-large {
  grid-row: span 2;
}

.motion-story-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.03) contrast(1.03);
}

.motion-story-card::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, transparent 32%, rgba(18, 18, 18, 0.72));
}

.motion-story-card figcaption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 1;
  color: var(--ivory);
  font-family: var(--font-display);
  font-size: clamp(1.28rem, 2vw, 2rem);
  font-weight: 500;
  line-height: 1.08;
}

.trial-visual-panel {
  position: relative;
  display: grid;
  min-height: 310px;
  overflow: hidden;
  align-content: end;
  margin-top: 18px;
  padding: 22px;
  color: var(--ivory);
  background: var(--charcoal);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.trial-visual-panel img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.trial-visual-panel::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(18, 18, 18, 0.08), rgba(18, 18, 18, 0.74));
  z-index: 1;
}

.trial-visual-panel > div {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 6px;
  max-width: 360px;
}

.trial-visual-panel strong {
  color: var(--ivory);
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.3vw, 2rem);
  font-weight: 500;
  line-height: 1.08;
}

.trial-visual-panel span {
  color: rgba(251, 246, 236, 0.84);
  font-weight: 750;
  line-height: 1.45;
}

.trial-hero {
  padding-top: clamp(46px, 7vw, 90px);
  padding-bottom: clamp(42px, 6vw, 78px);
  background:
    radial-gradient(circle at 86% 14%, rgba(184, 58, 91, 0.18), transparent 30%),
    linear-gradient(135deg, var(--ivory-soft), var(--rose-soft));
}

.trial-hero-full-image {
  display: grid;
  gap: clamp(24px, 4vw, 44px);
  padding: 0 0 clamp(34px, 5vw, 64px);
  overflow: hidden;
  text-align: center;
}

.trial-hero-background-image {
  width: 100%;
  height: clamp(430px, 54vw, 700px);
  object-fit: cover;
  object-position: center top;
  display: block;
}

.trial-hero-below-copy {
  width: min(920px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  justify-items: center;
  gap: 12px;
}

.trial-hero-below-copy h1 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(3.4rem, 8vw, 7.3rem);
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: -0.055em;
}

.trial-hero-below-copy strong {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 3rem);
  font-weight: 650;
  line-height: 1.05;
}

.trial-hero-below-copy p {
  max-width: 640px;
  margin: 0;
  color: var(--muted);
  font-weight: 700;
  line-height: 1.45;
}

.trial-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.66fr);
  gap: clamp(30px, 5vw, 72px);
  align-items: center;
  max-width: 1240px;
  margin: 0 auto;
}

.trial-hero-copy {
  display: grid;
  justify-items: center;
  text-align: center;
}

.trial-hero-copy h1 {
  max-width: 10ch;
  font-size: clamp(4.1rem, 6.8vw, 7rem);
  font-weight: 500;
  line-height: 0.9;
  letter-spacing: -0.045em;
}

.trial-hero-copy p:not(.eyebrow) {
  max-width: 680px;
}

.trial-hero-card {
  position: relative;
  display: grid;
  width: 100%;
  min-height: clamp(190px, 28vw, 270px);
  overflow: hidden;
  place-items: center;
  padding: clamp(36px, 6vw, 68px);
  color: var(--ink);
  background:
    radial-gradient(circle at 88% 12%, rgba(19, 181, 168, 0.16), transparent 32%),
    linear-gradient(135deg, var(--ivory-soft), var(--rose-soft));
  border: 1px solid rgba(184, 58, 91, 0.12);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.trial-hero-card-copy {
  display: grid;
  place-items: center;
  gap: 16px;
  text-align: center;
}

.trial-hero-card-copy span {
  color: var(--teal-dark);
  font-size: clamp(0.95rem, 1.15vw, 1.2rem);
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.trial-hero-card-copy strong {
  max-width: 12ch;
  color: var(--rose);
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 3.8vw, 4.25rem);
  font-weight: 800;
  line-height: 1.02;
}

.trial-hero .trial-hero-card .trial-hero-card-copy p {
  max-width: 320px;
  margin: 0;
  color: rgba(255, 248, 242, 0.9);
  font-weight: 800;
}

.trial-enquiry-section {
  scroll-margin-top: 150px;
  background:
    radial-gradient(circle at 10% 8%, rgba(184, 58, 91, 0.1), transparent 28%),
    var(--ivory);
}

.trial-form-shell {
  display: grid;
  gap: clamp(22px, 3vw, 34px);
  max-width: 1160px;
  margin: 0 auto;
}

.trial-form-intro {
  display: grid;
  justify-items: center;
  gap: 14px;
  max-width: 820px;
  margin-inline: auto;
  text-align: center;
}

.trial-form-intro .eyebrow {
  font-size: clamp(1.05rem, 1.8vw, 1.45rem);
  font-weight: 900;
}

.trial-form-intro p:not(.eyebrow) {
  max-width: 720px;
  margin: 0;
  font-size: clamp(1rem, 1.4vw, 1.16rem);
  font-weight: 800;
}

.trial-enquiry-form {
  gap: clamp(20px, 3vw, 30px);
  padding: clamp(20px, 3.6vw, 42px);
  border-color: rgba(31, 41, 51, 0.1);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 80px rgba(23, 21, 20, 0.1);
}

.form-fieldset {
  display: grid;
  min-width: 0;
  gap: 16px;
  margin: 0;
  padding: 0;
  border: 0;
}

.form-fieldset legend {
  padding: 0;
  color: var(--accent-dark);
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.3vw, 2rem);
  font-weight: 500;
  line-height: 1.1;
}

.field-help {
  margin: -6px 0 2px;
  color: var(--muted);
  font-size: 0.98rem;
}

.class-option-group {
  display: grid;
  gap: 12px;
}

.class-option-group + .class-option-group {
  margin-top: 8px;
  padding-top: 20px;
  border-top: 1px solid rgba(31, 41, 51, 0.09);
}

.class-option-group h3 {
  margin: 0;
  color: var(--ink);
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.trial-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.trial-age-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.trial-genre-options { display: grid; gap: 12px; margin-top: 6px; }
.trial-genre-options[hidden] { display: none; }
.trial-genre-options h4 { margin: 0; color: var(--ink); font-size: .9rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.trial-choice-error { color: #a22848; font-weight: 800; }

.trial-checkbox-card {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  min-height: 64px;
  padding: 14px;
  color: var(--ink);
  line-height: 1.3;
  background: #fffdf8;
  border: 1px solid rgba(31, 41, 51, 0.12);
  border-radius: 16px;
  cursor: pointer;
  transition:
    border-color 160ms ease,
    background 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.trial-checkbox-card:hover,
.trial-checkbox-card:focus-within,
.trial-checkbox-card:has(input:checked) {
  background: #f5fffd;
  border-color: rgba(184, 58, 91, 0.38);
  box-shadow: 0 12px 32px rgba(23, 21, 20, 0.08);
}

.trial-checkbox-card:hover {
  transform: translateY(-1px);
}

.trial-checkbox-card input {
  width: 20px;
  min-height: 20px;
  margin: 1px 0 0;
  accent-color: var(--rose);
}

.trial-checkbox-card strong,
.trial-checkbox-card small {
  display: block;
}

.trial-checkbox-card strong {
  color: var(--ink);
  font-size: 0.96rem;
  font-weight: 850;
}

.trial-checkbox-card small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 750;
}

.trial-agreement-field {
  border-radius: 18px;
}

.trial-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  align-items: center;
}

.trial-payment-note {
  display: grid;
  gap: 3px;
  flex-basis: 100%;
  margin: 0;
  padding: 10px 12px;
  color: #4d5456;
  font-size: 0.9rem;
  font-weight: 720;
  line-height: 1.45;
  background: rgba(252, 231, 239, 0.26);
  border-left: 3px solid rgba(184, 58, 91, 0.42);
  border-radius: 8px;
}

.trial-payment-note strong {
  color: var(--accent-dark);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.trial-form-actions p {
  max-width: 540px;
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.45;
}

.trial-form-actions .trial-payment-note {
  max-width: none;
}

.enrol-flow {
  display: grid;
  gap: 12px;
}

.enrol-flow article {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 4px 14px;
  align-items: start;
  padding: 16px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(21, 21, 21, 0.08);
  border-radius: var(--radius);
}

.enrol-flow span {
  display: grid;
  grid-row: span 2;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--white);
  font-weight: 900;
  background: var(--accent-dark);
  border-radius: 999px;
}

.enrol-flow strong {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  line-height: 1.1;
}

.enrol-flow p {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.45;
}

.fee-note-strip {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 18px;
}

.event-feature-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.event-feature-strip article {
  display: grid;
  grid-template-rows: clamp(220px, 22vw, 300px) auto auto;
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(31, 41, 51, 0.1);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.event-feature-strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.event-feature-strip img.event-image-ballet {
  object-position: center 44%;
}

.event-feature-strip img.event-image-competition {
  object-fit: contain;
  object-position: center center;
  background: #131316;
}

.event-feature-strip img.event-image-concert {
  object-position: center center;
}

.event-feature-strip strong,
.event-feature-strip span {
  padding-inline: 18px;
}

.event-feature-strip strong {
  padding-top: 16px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 500;
  line-height: 1.1;
}

.event-feature-strip span {
  padding-top: 6px;
  padding-bottom: 18px;
  color: var(--muted);
  line-height: 1.45;
}

.trial-process-section .section-heading > p:not(.eyebrow) {
  max-width: 680px;
  margin-inline: auto;
}

.trial-step-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2vw, 24px);
  max-width: 1120px;
  margin: clamp(34px, 4vw, 48px) auto 0;
}

.trial-step-grid article {
  display: grid;
  gap: 14px;
  padding: clamp(24px, 3vw, 34px);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(32, 28, 27, 0.08);
  border-radius: var(--radius-lg);
  box-shadow: 0 18px 58px rgba(23, 21, 20, 0.08);
}

.trial-step-grid span {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  color: var(--accent-dark);
  font-family: var(--font-display);
  font-size: 1.38rem;
  line-height: 1;
  background: rgba(252, 231, 239, 0.72);
  border: 1px solid rgba(184, 58, 91, 0.18);
  border-radius: 999px;
}

.trial-step-grid h3 {
  font-size: clamp(1.3rem, 2vw, 1.75rem);
}

.trial-step-grid p {
  margin: 0;
}

.trial-process-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px 22px;
  margin-top: clamp(28px, 3.4vw, 42px);
}

.trial-process-actions .text-link {
  margin-top: 0;
}

.home-trust-section {
  display: grid;
  grid-template-columns: minmax(300px, 0.55fr) minmax(0, 1fr);
  gap: clamp(34px, 6vw, 88px);
  align-items: stretch;
  background:
    radial-gradient(circle at 8% 16%, rgba(184, 58, 91, 0.07), transparent 28%),
    var(--ivory-soft);
}

.home-trust-image {
  position: relative;
  min-height: 0;
  overflow: hidden;
  background: var(--neutral-beige);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(184, 58, 91, 0.12);
  box-shadow: 0 28px 84px rgba(23, 21, 20, 0.14);
}

.home-trust-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
  z-index: 1;
}

.home-trust-copy {
  display: grid;
  gap: 26px;
  max-width: 720px;
}

.home-trust-copy .eyebrow {
  font-size: clamp(1.15rem, 1.8vw, 1.55rem);
}

.home-trust-list {
  display: grid;
  gap: 0;
  margin-top: 14px;
  counter-reset: trust-item;
  border-top: 1px solid rgba(32, 28, 27, 0.12);
}

.home-trust-list div {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 18px;
  padding-block: 22px;
  border-bottom: 1px solid rgba(32, 28, 27, 0.12);
  counter-increment: trust-item;
}

.home-trust-list div::before {
  content: "0" counter(trust-item);
  color: var(--accent-dark);
  font-family: var(--font-display);
  font-size: clamp(1.12rem, 1.6vw, 1.38rem);
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.08;
  opacity: 0.9;
}

.home-trust-list strong {
  font-family: var(--font-display);
  font-size: clamp(1.32rem, 2vw, 1.8rem);
  font-weight: 500;
  line-height: 1.1;
}

.home-trust-list span {
  grid-column: 2;
  max-width: 520px;
  color: rgba(95, 87, 82, 0.88);
  font-size: clamp(1rem, 1.2vw, 1.08rem);
  line-height: 1.66;
}

.home-reviews-section {
  color: var(--ink);
  background:
    radial-gradient(circle at 84% 10%, rgba(184, 58, 91, 0.1), transparent 30%),
    radial-gradient(circle at 12% 0%, rgba(184, 58, 91, 0.07), transparent 28%),
    linear-gradient(180deg, var(--cream), var(--rose-soft));
}

.home-reviews-section .eyebrow,
.home-review-grid span {
  color: var(--rose);
}

.home-reviews-section .eyebrow {
  font-size: clamp(1.45rem, 2.6vw, 2.15rem);
}

.home-reviews-section h2 {
  color: var(--ink);
}

.home-review-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2vw, 24px);
  margin-top: clamp(34px, 4vw, 46px);
}

.home-review-grid figure {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: clamp(24px, 3vw, 34px);
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(184, 58, 91, 0.14);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.home-review-grid span {
  letter-spacing: 0.12em;
}

.home-review-grid blockquote {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2vw, 1.9rem);
  line-height: 1.18;
}

.home-review-grid figcaption {
  color: var(--accent-dark);
  font-weight: 850;
}

.home-trial-cta {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(340px, 0.72fr);
  gap: clamp(8px, 2vw, 30px);
  align-items: center;
  justify-content: center;
  max-width: none;
  margin: 0;
  padding-top: clamp(58px, 8vw, 104px);
  padding-bottom: clamp(58px, 8vw, 104px);
  text-align: left;
  background:
    radial-gradient(circle at 84% 20%, rgba(252, 231, 239, 0.7), transparent 28%),
    linear-gradient(135deg, #fffdf9, var(--cream) 48%, #f9e3dc);
}

.home-trial-cta-copy {
  display: grid;
  justify-items: start;
  max-width: 600px;
  justify-self: end;
}

.home-trial-cta h2 {
  color: var(--ink);
}

.home-trial-cta p {
  max-width: 620px;
  margin: 18px 0 30px;
  color: #4e575b;
  font-size: clamp(1rem, 1.5vw, 1.16rem);
}

.home-trial-cta-photo {
  display: grid;
  place-items: center;
  justify-self: start;
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.home-trial-cta-photo img {
  display: block;
  width: min(100%, 430px);
  max-height: min(48vw, 430px);
  object-fit: contain;
  border-radius: 0;
  box-shadow: none;
}

.home-contact-teaser {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(24px, 5vw, 72px);
  padding-top: clamp(50px, 7vw, 78px);
  padding-bottom: clamp(50px, 7vw, 78px);
  background: var(--ivory);
}

.home-contact-copy {
  display: grid;
  gap: 12px;
  max-width: 690px;
}

.home-contact-teaser p,
.home-contact-teaser span {
  margin-bottom: 0;
}

.home-contact-teaser span {
  color: var(--charcoal);
  font-weight: 850;
}

.home-page .home-hero {
  min-height: clamp(680px, 82vh, 860px);
  padding-top: clamp(38px, 4.5vw, 60px);
  padding-bottom: clamp(34px, 4vw, 54px);
}

.home-page .home-hero-content {
  gap: 17px;
  transform: none;
}

.home-page .home-start-section {
  padding-top: clamp(32px, 4vw, 52px);
  padding-bottom: clamp(34px, 4.5vw, 58px);
}

.home-page .home-start-section .section-heading {
  margin-bottom: clamp(18px, 2.2vw, 28px);
}

.home-page .home-start-grid {
  gap: clamp(14px, 1.6vw, 20px);
  margin-top: clamp(18px, 2.2vw, 28px);
}

.home-page .home-start-card {
  grid-template-rows: clamp(210px, 19vw, 270px) 1fr;
}

.home-page .home-start-card > div {
  padding: clamp(18px, 2vw, 23px);
}

.home-page .home-trust-section {
  gap: clamp(24px, 3.5vw, 48px);
  padding-top: clamp(32px, 4vw, 52px);
  padding-bottom: clamp(32px, 4vw, 52px);
}

.home-page .home-trust-copy {
  gap: 18px;
}

.home-page .home-trust-list {
  margin-top: 6px;
}

.home-page .home-trust-list div {
  padding-block: 16px;
}

.home-page .home-reviews-section {
  padding-top: clamp(34px, 4vw, 54px);
  padding-bottom: clamp(34px, 4vw, 54px);
}

.home-page .home-reviews-section .section-heading {
  margin-bottom: clamp(18px, 2.2vw, 28px);
}

.home-page .home-review-grid {
  gap: 16px;
  margin-top: clamp(18px, 2.2vw, 28px);
}

.home-page .home-review-grid figure {
  gap: 13px;
  padding: clamp(20px, 2.4vw, 27px);
}

.home-page .home-trial-cta {
  padding-top: clamp(34px, 4vw, 54px);
  padding-bottom: clamp(34px, 4vw, 54px);
}

.home-page .home-trial-cta p {
  margin: 14px 0 22px;
}

.home-page .home-trial-cta-photo img {
  width: min(100%, 350px);
  max-height: min(42vw, 350px);
}

.home-contact-actions {
  display: grid;
  gap: 14px;
  justify-items: end;
  min-width: min(100%, 260px);
}

.home-contact-actions .inline-text-link {
  margin-top: 0;
}

@media (max-width: 980px) {
  .home-intro-section,
  .home-trust-section {
    grid-template-columns: 1fr;
  }

  .home-intro-section {
    gap: 22px;
    align-items: start;
  }

  .home-intro-copy h2 {
    max-width: 760px;
  }

  .home-intro-panel {
    max-width: 660px;
    padding-left: 0;
    border-left: 0;
  }

  .home-pathway-grid,
  .motion-story-grid,
  .trial-step-grid,
  .home-start-grid,
  .home-review-grid,
  .home-trial-cta {
    grid-template-columns: 1fr;
  }

  .motion-story-grid {
    grid-auto-rows: minmax(220px, auto);
  }

  .motion-story-card-large {
    grid-row: auto;
  }

  .home-pathway-card {
    min-height: 240px;
    padding: 28px;
  }

  .home-trust-image {
    min-height: 0;
  }

  .home-trial-cta {
    text-align: center;
  }

  .home-trial-cta-copy {
    justify-items: center;
    max-width: 720px;
    margin-inline: auto;
  }

  .home-trial-cta p {
    margin-inline: auto;
  }

  .home-trial-cta-photo {
    width: min(100%, 620px);
    margin-inline: auto;
  }

  .home-trial-cta-photo img {
    width: 100%;
    height: auto;
    max-height: none;
  }
}

@media (max-width: 1180px) and (min-width: 981px) {
  .home-pathway-grid,
  .home-genre-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .home-genre-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .home-hero {
    min-height: 720px;
    padding-top: 112px;
    padding-bottom: 76px;
  }

  .home-hero h1 {
    font-size: clamp(2.9rem, 12.5vw, 4.2rem);
    line-height: 1;
  }

  .home-intro-section {
    padding-top: 54px;
    padding-bottom: 58px;
  }

  .home-intro-copy {
    gap: 12px;
  }

  .home-intro-copy h2 {
    font-size: clamp(2rem, 10vw, 3.2rem);
  }

  .home-genre-grid {
    grid-template-columns: 1fr;
  }

  .home-start-section {
    padding-top: 48px;
    padding-bottom: 54px;
  }

  .home-start-grid {
    gap: 16px;
    margin-top: 28px;
  }

  .home-start-card {
    min-height: 400px;
  }

  .home-start-card > div {
    gap: 10px;
    padding: 22px;
  }

  .home-start-card h3 {
    font-size: clamp(1.55rem, 8vw, 2.1rem);
  }

  .home-start-card p {
    font-size: 0.96rem;
    line-height: 1.42;
  }

  .home-contact-teaser {
    align-items: stretch;
    flex-direction: column;
  }

  .home-contact-actions {
    justify-items: stretch;
  }

  .home-contact-teaser .button {
    width: 100%;
  }
}

/* Keep the JPG logo on one clean white tile against the dark header. */
.site-header .brand-logo,
.site-header .nav-logo .brand-logo {
  background: #fff !important;
}

/* Final presentability polish: make the logo more visible, standardise teacher portraits, and refine the contact map card. */
.site-header .brand-logo,
.site-header .nav-logo .brand-logo {
  width: clamp(84px, 7vw, 100px);
  height: clamp(56px, 4.8vw, 66px);
  padding: 4px 6px;
  border-radius: 16px;
}

.site-header {
  min-height: 88px;
}

.footer-brand img {
  width: 78px;
  height: 56px;
  padding: 4px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.14);
}

.director-image {
  position: relative;
}

.teacher-photo img,
.director-image img {
  filter: saturate(0.96) contrast(1.04) brightness(1.03);
  object-position: center 34%;
}

.teacher-photo::after,
.director-image::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background: linear-gradient(180deg, rgba(255, 253, 249, 0.08), rgba(184, 58, 91, 0.06));
  mix-blend-mode: soft-light;
}

.teacher-photo img.portrait-crop-no-watermark {
  transform: scale(1.18) translateY(-4%);
  transform-origin: center 24%;
}

.teacher-photo img.lee-zammit-headshot,
.teacher-photo img.dimity-ellis-headshot {
  object-fit: contain;
  transform: none;
  transform-origin: center center;
}

.teacher-photo img.lee-zammit-headshot {
  object-position: center center;
}

.teacher-photo img.dimity-ellis-headshot {
  object-position: center center;
}

.teacher-photo-solid-bg {
  background: #f2f0eb;
}

.teacher-photo-lee-bg {
  background: #e4e7e8;
}

.teacher-photo-dimity-bg {
  background: #f8f8f8;
}

.teacher-photo-solid-bg::after {
  display: none;
}

.teacher-photo-mask-bottom::before {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  height: 44%;
  pointer-events: none;
  content: "";
  background: linear-gradient(180deg, rgba(12, 18, 20, 0), rgba(12, 18, 20, 0.9));
}

.map-embed-card {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  align-content: stretch;
  padding: 0;
  background: #f4eee7;
  border: 1px solid rgba(184, 58, 91, 0.16);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.map-embed-card::before {
  display: none;
}

.map-embed-card iframe {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1;
  width: 100%;
  height: calc(100% + 28px);
  border: 0;
  opacity: 0.78;
  filter: saturate(0.95) contrast(1.02);
}

.map-panel-link {
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 2;
  display: grid;
  gap: 3px;
  max-width: min(360px, calc(100% - 36px));
  padding: 16px 18px;
  color: var(--white);
  background: linear-gradient(135deg, rgba(184, 58, 91, 0.94), rgba(17, 17, 17, 0.86));
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 18px;
  box-shadow: 0 18px 42px rgba(24, 34, 35, 0.24);
  backdrop-filter: blur(10px);
}

.map-panel-link span,
.map-panel-link strong,
.map-panel-link .contact-note {
  color: var(--white);
}

.map-panel-link strong {
  font-size: clamp(1.6rem, 3vw, 2.35rem);
}

@media (max-width: 760px) {
  .site-header .brand-logo,
  .site-header .nav-logo .brand-logo {
    width: 78px;
    height: 54px;
  }

  .site-header {
    min-height: auto;
  }

  .map-embed-card {
    min-height: 360px;
  }

  .map-panel-link {
    right: 12px;
    bottom: 12px;
    max-width: calc(100% - 24px);
    padding: 14px;
  }
}

@media (max-width: 640px) {
  .pathway-choice-grid,
  .style-note-grid,
  .style-card-grid {
    grid-template-columns: 1fr;
  }

  .text-link {
    white-space: normal;
  }
}

/* Short polish sprint: mobile tightening for static public pages. */
@media (max-width: 760px) {
  h1,
  .classes-hero h1 {
    font-size: clamp(2.25rem, 11vw, 3.65rem);
  }

  .page-hero {
    padding-top: 48px;
    padding-bottom: 46px;
  }

  .class-style-section {
    padding-top: 18px;
  }

  .featured-style-card {
    grid-template-columns: 1fr;
    margin-bottom: 28px;
    border-radius: 18px;
  }

  .featured-style-image {
    min-height: 0;
    height: clamp(138px, 39vw, 190px);
  }

  .featured-style-copy {
    gap: 9px;
    padding: 18px;
  }

  .featured-style-copy h2 {
    font-size: clamp(1.65rem, 8vw, 2.35rem);
    line-height: 1.02;
  }

  .featured-style-copy p {
    font-size: 0.98rem;
    line-height: 1.5;
  }

  .style-intro {
    margin-bottom: 22px;
  }

  .style-card {
    grid-template-rows: minmax(250px, 58vw) 1fr;
  }

  .style-card-content {
    gap: 9px;
    padding: 16px;
  }

  .style-card-content p {
    font-size: 0.92rem;
  }

  .site-header {
    display: grid;
    grid-template-columns: 1fr;
  }

  .site-header .button-small {
    justify-self: stretch;
  }

  .hero-actions {
    align-items: stretch;
    gap: 10px;
  }

  .page-hero .hero-actions .text-link {
    justify-content: center;
    width: 100%;
    min-height: 44px;
    padding: 10px 14px;
    text-align: center;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(184, 58, 91, 0.18);
    border-radius: 999px;
  }

  .nav-primary {
    flex: none;
  }

  .nav-links {
    row-gap: 9px;
  }

  .stage-scan-grid,
  .stage-colour-key,
  .day-timetable-grid,
  .pathway-choice-grid,
  .style-note-grid,
  .fee-note-strip,
  .event-feature-strip,
  .fees-intro-panel,
  .fees-card-grid,
  .enrolment-step-panel,
  .enrolment-package-grid,
  .enrolment-pathway-grid,
  .fees-detail-grid,
  .additional-fee-grid,
  .private-lesson-grid,
  .faq-grid {
    display: grid;
    grid-template-columns: 1fr;
  }

  .square-payment-card {
    display: grid;
    align-items: start;
  }

  .fee-package-row {
    grid-template-columns: 1fr;
    gap: 10px;
    align-items: start;
    padding: 12px;
  }

  .fee-package-row b {
    justify-items: start;
    font-size: 1.28rem;
  }

  .fee-package-row b span {
    margin-top: 3px;
    font-size: 0.68rem;
  }

  .fee-card-header {
    gap: 9px;
  }

  .fee-card-header p,
  .fee-card-note,
  .additional-fee-card p,
  .private-lesson-card p {
    font-size: 0.94rem;
    line-height: 1.5;
  }

  .fee-package-card,
  .additional-fee-card,
  .private-lesson-card {
    gap: 14px;
    padding: 18px;
    border-radius: 18px;
  }

  .additional-fee-card strong {
    font-size: 1.55rem;
  }

  .private-price-list span {
    display: grid;
    gap: 4px;
  }

  .stage-scan-card {
    min-height: 0;
  }

  .day-card {
    min-width: 0;
  }

  .day-jump-nav,
  .stage-scan-links {
    gap: 8px;
  }

  .day-jump-nav a,
  .stage-scan-links a {
    flex: 1 1 auto;
    justify-content: center;
    text-align: center;
  }

  .enquiry-section {
    gap: 28px;
    padding-top: 44px;
  }

  .form-intro {
    display: grid;
    gap: 12px;
  }

  .form-intro p {
    margin-block: 0;
  }

  .contact-card,
  .contact-steps,
  .guide-card {
    margin-top: 4px;
    padding: 16px;
  }

  .guide-card {
    gap: 12px;
  }

  .guide-badge {
    width: 50px;
    height: 50px;
    border-radius: 14px;
  }

  .placement-steps {
    gap: 6px;
    font-size: 0.9rem;
    line-height: 1.45;
  }

  .static-form-note {
    padding: 10px 12px;
    font-size: 0.92rem;
  }

  .enquiry-form {
    gap: 12px;
    padding: 18px;
  }

  input,
  select,
  textarea {
    min-height: 44px;
    padding: 10px 12px;
  }

  .checkbox-field {
    padding: 14px;
    border-radius: 14px;
  }

  .site-footer {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .footer-socials {
    justify-content: flex-start;
  }
}

@media (max-width: 1180px) and (min-width: 761px) {
  .stage-colour-key {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .fees-card-grid,
  .fees-detail-grid,
  .private-lesson-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .additional-fee-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 420px) {
  .nav-logo .brand-logo {
    width: 70px;
    height: 48px;
  }

  .nav-links {
    font-size: 0.82rem;
  }

  .schedule-list li {
    padding: 10px;
  }

  .schedule-list li::after {
    width: fit-content;
  }
}

@media (max-width: 980px) {
  .trial-hero-grid {
    grid-template-columns: 1fr;
  }

  .trial-hero-card {
    min-height: 0;
  }

  .trial-choice-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .trial-hero {
    padding-top: 46px;
  }

  .trial-enquiry-section {
    scroll-margin-top: 220px;
  }

  .trial-enquiry-form {
    padding: 18px;
    border-radius: 20px;
  }

  .trial-enquiry-form .form-row {
    grid-template-columns: 1fr;
  }

  .form-fieldset {
    gap: 14px;
  }

  .trial-checkbox-card {
    min-height: 58px;
    padding: 13px;
  }

  .trial-form-actions,
  .trial-form-actions .button {
    width: 100%;
  }
}

/* SDA Plus draft membership page */
.sda-plus-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.5fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  min-height: clamp(500px, 66vh, 700px);
  background:
    radial-gradient(circle at 82% 16%, rgba(184, 58, 91, 0.16), transparent 30%),
    radial-gradient(circle at 16% 86%, rgba(199, 154, 75, 0.1), transparent 28%),
    linear-gradient(135deg, var(--ivory), var(--rose-soft));
}

.sda-plus-hero-copy {
  display: grid;
  justify-items: start;
  gap: 18px;
  max-width: 840px;
}

.sda-plus-hero-copy .sda-plus-kicker {
  margin-bottom: 0;
  color: var(--accent-dark);
  font-family: var(--font-serif);
  font-size: clamp(1.65rem, 3.2vw, 3rem);
  letter-spacing: 0.04em;
  line-height: 1;
}

.sda-plus-hero-copy h1 {
  max-width: 900px;
}

.sda-plus-hero-copy p:not(.eyebrow) {
  max-width: 720px;
  margin: 0;
  color: var(--charcoal);
  font-size: clamp(1.06rem, 1.5vw, 1.24rem);
}

.sda-plus-status-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.sda-plus-status-strip span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  color: var(--rose-dark);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(184, 58, 91, 0.18);
  border-radius: 999px;
}

.sda-plus-feature-panel {
  display: grid;
  gap: 18px;
  align-content: end;
  min-height: clamp(300px, 28vw, 400px);
  padding: clamp(24px, 3vw, 38px);
  color: var(--ivory);
  background:
    linear-gradient(180deg, rgba(28, 22, 28, 0.08), rgba(28, 22, 28, 0.7)),
    radial-gradient(circle at 20% 16%, rgba(255, 194, 125, 0.28), transparent 32%),
    linear-gradient(135deg, #b83a5b, #7e3c74 58%, #382032);
  border: 1px solid rgba(184, 58, 91, 0.22);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.sda-plus-feature-panel span,
.sda-plus-tier-header span,
.sda-plus-note-list span {
  width: fit-content;
  max-width: 100%;
  padding: 7px 11px;
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  line-height: 1.2;
  text-transform: uppercase;
  border-radius: 999px;
}

.sda-plus-feature-panel span {
  color: var(--ivory);
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.32);
}

.sda-plus-feature-panel strong {
  max-width: 420px;
  color: var(--ivory);
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.4vw, 3.35rem);
  font-weight: 500;
  line-height: 1;
}

.sda-plus-feature-panel p {
  max-width: 420px;
  margin: 0;
  color: rgba(255, 248, 242, 0.9);
  font-weight: 750;
}

.sda-plus-preview-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  max-width: 360px;
}

.sda-plus-preview-list b {
  display: flex;
  align-items: center;
  min-height: 38px;
  padding: 0 12px;
  color: var(--ivory);
  font-size: 0.95rem;
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
}

.sda-plus-fairness-section {
  padding-top: clamp(34px, 5vw, 56px);
  padding-bottom: clamp(34px, 5vw, 56px);
  background: var(--ivory-soft);
}

.sda-plus-fairness-card {
  max-width: 1080px;
  margin-inline: auto;
  padding: clamp(24px, 3vw, 38px);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(252, 231, 239, 0.74));
  border: 1px solid rgba(184, 58, 91, 0.18);
  border-left: 6px solid rgba(184, 58, 91, 0.7);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.sda-plus-fairness-card h2 {
  max-width: 720px;
  font-size: clamp(1.95rem, 3.2vw, 3.2rem);
}

.sda-plus-fairness-card p:not(.eyebrow) {
  max-width: 960px;
  margin: 14px 0 0;
  color: var(--charcoal);
  font-size: clamp(1rem, 1.3vw, 1.14rem);
  font-weight: 760;
}

.sda-plus-tiers-section {
  background:
    radial-gradient(circle at 12% 8%, rgba(184, 58, 91, 0.08), transparent 30%),
    linear-gradient(180deg, var(--cream), var(--ivory-soft));
}

.sda-plus-tier-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2vw, 26px);
  margin-top: clamp(34px, 4vw, 52px);
}

.sda-plus-tier-card {
  --tier-shine-rgb: 184, 58, 91;
  position: relative;
  display: grid;
  overflow: hidden;
  gap: 16px;
  align-content: start;
  min-height: 100%;
  padding: clamp(20px, 2.3vw, 30px);
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(184, 58, 91, 0.16);
  border-top: 6px solid rgba(184, 58, 91, 0.5);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease;
}

.sda-plus-tier-card::after {
  position: absolute;
  inset: -35% auto -35% -55%;
  z-index: 1;
  width: 42%;
  content: "";
  pointer-events: none;
  background: linear-gradient(
    105deg,
    transparent 0%,
    rgba(var(--tier-shine-rgb), 0.03) 22%,
    rgba(255, 255, 255, 0.46) 48%,
    rgba(var(--tier-shine-rgb), 0.1) 62%,
    rgba(255, 255, 255, 0.2) 72%,
    transparent 100%
  );
  filter: blur(3px);
  transform: skewX(-18deg);
}

.sda-plus-tier-card:hover {
  border-color: rgba(var(--tier-shine-rgb), 0.34);
  box-shadow:
    0 20px 52px rgba(24, 34, 35, 0.11),
    0 0 30px rgba(var(--tier-shine-rgb), 0.16);
  transform: translateY(-3px);
}

.sda-plus-tier-card:hover::after {
  animation: priority-fee-card-shine 850ms ease-out;
}

.sda-plus-tier-header {
  display: grid;
  gap: 12px;
}

.sda-plus-tier-header span {
  color: var(--rose-dark);
  background: rgba(252, 231, 239, 0.9);
  border: 1px solid rgba(184, 58, 91, 0.18);
}

.sda-plus-tier-header h3 {
  font-size: clamp(1.72rem, 2.6vw, 2.45rem);
}

.sda-plus-tier-header p {
  margin: 0;
  color: var(--muted);
}

.sda-plus-tier-fit {
  display: grid;
  gap: 5px;
  min-height: 92px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(184, 58, 91, 0.14);
  border-radius: var(--radius);
}

.sda-plus-tier-fit strong,
.sda-plus-includes-label {
  color: var(--rose-dark);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.12em;
  line-height: 1.2;
  text-transform: uppercase;
}

.sda-plus-tier-fit p {
  margin: 0;
  color: var(--charcoal);
  font-size: 0.95rem;
  line-height: 1.42;
}

.sda-plus-includes-label {
  margin-top: 2px;
}

.sda-plus-tier-card ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sda-plus-tier-card li {
  position: relative;
  padding-left: 24px;
  color: var(--charcoal);
  font-weight: 750;
  line-height: 1.45;
}

.sda-plus-tier-card li::before {
  position: absolute;
  left: 0;
  top: 0.1em;
  color: var(--rose);
  content: "✓";
  font-weight: 900;
}

.sda-plus-spark {
  --tier-shine-rgb: 26, 137, 143;
  background:
    radial-gradient(circle at 88% 10%, rgba(26, 137, 143, 0.16), transparent 30%),
    linear-gradient(180deg, #f5fffc, #e8f7f5);
  border-color: rgba(26, 137, 143, 0.2);
  border-top-color: rgba(26, 137, 143, 0.72);
}

.sda-plus-spark .sda-plus-tier-header span {
  color: #0f656a;
  background: rgba(224, 247, 244, 0.94);
  border-color: rgba(26, 137, 143, 0.24);
}

.sda-plus-spark .sda-plus-tier-fit {
  border-color: rgba(26, 137, 143, 0.18);
}

.sda-plus-spark .sda-plus-tier-fit strong,
.sda-plus-spark .sda-plus-includes-label,
.sda-plus-spark li::before {
  color: #0f7a80;
}

.sda-plus-star {
  --tier-shine-rgb: 126, 60, 116;
  background:
    radial-gradient(circle at 88% 10%, rgba(126, 60, 116, 0.16), transparent 30%),
    linear-gradient(180deg, #fbf7ff, #f5edf9);
  border-color: rgba(126, 60, 116, 0.2);
  border-top-color: rgba(126, 60, 116, 0.68);
}

.sda-plus-star .sda-plus-tier-header span {
  color: #62315c;
  background: rgba(245, 237, 249, 0.96);
  border-color: rgba(126, 60, 116, 0.22);
}

.sda-plus-star .sda-plus-tier-fit {
  border-color: rgba(126, 60, 116, 0.18);
}

.sda-plus-star .sda-plus-tier-fit strong,
.sda-plus-star .sda-plus-includes-label,
.sda-plus-star li::before {
  color: #7e3c74;
}

.sda-plus-legend {
  --tier-shine-rgb: 184, 58, 91;
  background:
    radial-gradient(circle at 88% 10%, rgba(184, 58, 91, 0.16), transparent 30%),
    linear-gradient(180deg, #fff8fb, var(--rose-soft));
  border-color: rgba(184, 58, 91, 0.2);
  border-top-color: rgba(184, 58, 91, 0.72);
}

.sda-plus-legend .sda-plus-tier-header span {
  color: var(--rose-dark);
  background: rgba(252, 231, 239, 0.94);
  border-color: rgba(184, 58, 91, 0.22);
}

.sda-plus-legend .sda-plus-tier-fit {
  border-color: rgba(184, 58, 91, 0.18);
}

.sda-plus-legend .sda-plus-tier-fit strong,
.sda-plus-legend .sda-plus-includes-label,
.sda-plus-legend li::before {
  color: var(--rose-dark);
}

@media (prefers-reduced-motion: reduce) {
  .sda-plus-tier-card {
    transition: none;
  }

  .sda-plus-tier-card:hover::after {
    animation: none;
  }
}

.sda-plus-value-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(280px, 0.55fr);
  gap: clamp(28px, 5vw, 68px);
  align-items: center;
  background: var(--ivory);
}

.sda-plus-value-section h2,
.sda-plus-value-section p {
  max-width: 720px;
}

.sda-plus-note-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.sda-plus-note-list span {
  color: var(--rose-dark);
  background: rgba(252, 231, 239, 0.72);
  border: 1px solid rgba(184, 58, 91, 0.18);
}

.sda-plus-cta {
  background: linear-gradient(135deg, rgba(252, 231, 239, 0.94), rgba(255, 248, 242, 0.96));
  border-top: 1px solid rgba(184, 58, 91, 0.14);
}

.sda-plus-page .sda-plus-hero {
  min-height: auto;
  gap: clamp(24px, 3.5vw, 48px);
  padding-top: clamp(36px, 4.5vw, 62px);
  padding-bottom: clamp(36px, 4.5vw, 62px);
}

.sda-plus-page .sda-plus-feature-panel {
  min-height: clamp(270px, 24vw, 340px);
  padding: clamp(22px, 2.5vw, 30px);
}

.sda-plus-page .sda-plus-tiers-section,
.sda-plus-page .sda-plus-value-section {
  padding-top: clamp(28px, 3.5vw, 48px);
  padding-bottom: clamp(28px, 3.5vw, 48px);
}

.sda-plus-page .section-heading {
  gap: 9px;
  margin-bottom: clamp(18px, 2.2vw, 28px);
}

.sda-plus-page .sda-plus-tier-grid {
  gap: clamp(14px, 1.6vw, 20px);
  margin-top: clamp(18px, 2.2vw, 28px);
}

.sda-plus-page .sda-plus-tier-card {
  gap: 13px;
  padding: clamp(18px, 2vw, 24px);
}

.sda-plus-page .sda-plus-tier-header {
  gap: 8px;
}

.sda-plus-page .sda-plus-tier-fit {
  min-height: 78px;
  padding: 12px;
}

.sda-plus-page .sda-plus-tier-card ul {
  gap: 7px;
}

.sda-plus-page .sda-plus-value-section {
  gap: clamp(22px, 3vw, 40px);
}

.sda-plus-page .sda-plus-cta {
  gap: 22px;
  padding-top: clamp(30px, 3.5vw, 48px);
  padding-bottom: clamp(30px, 3.5vw, 48px);
}

@media (max-width: 980px) {
  .sda-plus-hero,
  .sda-plus-value-section {
    grid-template-columns: 1fr;
  }

  .sda-plus-feature-panel {
    min-height: 320px;
  }

  .sda-plus-tier-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .sda-plus-hero {
    min-height: auto;
    padding-top: 44px;
    padding-bottom: 46px;
  }

  .sda-plus-feature-panel {
    min-height: 240px;
  }

  .sda-plus-tier-fit {
    min-height: auto;
  }
}

/* Events and Important Dates */
.events-hero {
  display: grid;
  justify-items: center;
  text-align: center;
  background:
    radial-gradient(circle at 86% 18%, rgba(184, 58, 91, 0.16), transparent 30%),
    linear-gradient(180deg, var(--ivory), var(--rose-soft));
}

.rose-title-hero {
  display: grid;
  justify-items: center;
  text-align: center;
  background:
    radial-gradient(circle at 86% 18%, rgba(184, 58, 91, 0.16), transparent 30%),
    linear-gradient(180deg, var(--ivory), var(--rose-soft));
}

.rose-title-hero h1 {
  max-width: 920px;
  margin-inline: auto;
  color: var(--rose);
}

.rose-title-hero .eyebrow {
  margin-inline: auto;
}

.trial-guidance-section {
  padding-top: clamp(28px, 4vw, 52px);
  padding-bottom: clamp(28px, 4vw, 52px);
  background: #fffdf9;
}

.trial-guidance-grid {
  width: min(760px, 100%);
  margin-inline: auto;
}

.trial-page .trial-guidance-section {
  padding-top: clamp(18px, 2.2vw, 30px);
  padding-bottom: clamp(18px, 2.2vw, 30px);
}

.trial-page .trial-guidance-grid {
  width: min(640px, 100%);
}

.trial-page .trial-enquiry-section {
  padding-top: clamp(26px, 3.2vw, 44px);
  padding-bottom: clamp(28px, 3.5vw, 48px);
}

.trial-page .trial-form-shell {
  gap: clamp(16px, 2vw, 24px);
}

.trial-page .trial-form-intro {
  gap: 9px;
}

.trial-page .trial-enquiry-form {
  gap: clamp(14px, 1.8vw, 20px);
  padding: clamp(18px, 2.5vw, 30px);
}

.trial-page .form-fieldset {
  gap: 12px;
}

.trial-page .form-row {
  gap: 12px;
}

.trial-page .trial-form-actions {
  gap: 10px 14px;
}

.trial-page .map-section {
  gap: clamp(22px, 3vw, 40px);
  padding-top: clamp(26px, 3vw, 42px);
  padding-bottom: clamp(28px, 3.5vw, 48px);
}

.trial-page .map-panel {
  min-height: 310px;
}

.events-hero p:not(.eyebrow) {
  margin-inline: auto;
}

.important-dates-section .section-heading {
  justify-items: center;
  margin-inline: auto;
  text-align: center;
}

.events-hero h1,
.important-dates-section h2,
.events-note-section h2 {
  color: var(--rose);
}

.important-dates-section {
  padding-top: clamp(18px, 3vw, 36px);
  background: #fffdf9;
}

.important-dates-section .event-feature-strip {
  margin-top: 0;
  margin-bottom: clamp(44px, 6vw, 78px);
}

.important-dates-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(280px, 1fr));
  gap: clamp(26px, 3.4vw, 46px);
  align-items: stretch;
  max-width: 1120px;
  margin: clamp(34px, 5vw, 58px) auto 0;
}

.important-dates-column {
  display: grid;
  gap: clamp(30px, 4vw, 48px);
  align-content: start;
}

.term-dates-card {
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 3vw, 34px);
  text-align: center;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 250, 246, 0.88));
  border: 1px solid rgba(184, 58, 91, 0.14);
  border-radius: var(--radius-lg);
  box-shadow: 0 18px 54px rgba(23, 21, 20, 0.08);
}

.term-dates-card h3 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  padding: 9px 18px;
  color: var(--accent-dark);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 0.9rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: rgba(14, 118, 112, 0.08);
  border: 1px solid rgba(14, 118, 112, 0.18);
  border-radius: 999px;
}

.event-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
  justify-items: center;
  text-align: center;
  padding: 14px 0;
  border-bottom: 1px solid rgba(31, 41, 51, 0.1);
}

.event-row:last-child {
  border-bottom: 0;
}

.event-row span {
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 900;
  letter-spacing: 0.01em;
  line-height: 1.25;
}

.event-row b {
  display: inline-block;
  margin-left: 4px;
  color: var(--accent-dark);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.event-row p {
  margin: 0;
  color: #3f4547;
  font-size: clamp(0.96rem, 1.2vw, 1.04rem);
  line-height: 1.45;
}

.events-note-section {
  display: grid;
  gap: clamp(18px, 3vw, 30px);
  justify-items: center;
  text-align: center;
  background: var(--rose-soft);
}

.events-note-section > div,
.events-note-section > p {
  max-width: 920px;
}

.events-note-section p:last-child {
  margin: 0;
  color: #4d5456;
  font-size: clamp(1.04rem, 1.4vw, 1.16rem);
  line-height: 1.68;
}

.events-page .important-dates-section {
  padding-top: clamp(16px, 2vw, 26px);
  padding-bottom: clamp(24px, 3vw, 42px);
}

.events-page .important-dates-section .event-feature-strip {
  margin-bottom: clamp(22px, 3vw, 36px);
}

.events-page .important-dates-grid {
  gap: clamp(18px, 2.4vw, 30px);
  margin-top: clamp(20px, 2.5vw, 32px);
}

.events-page .important-dates-column {
  gap: clamp(18px, 2.4vw, 30px);
}

.events-page .term-dates-card {
  padding: clamp(20px, 2.2vw, 27px);
}

.events-page .term-dates-card h3 {
  margin-bottom: 12px;
}

.events-page .event-row {
  padding: 11px 0;
}

.events-page .events-note-section {
  gap: clamp(14px, 2vw, 22px);
  padding-top: clamp(28px, 3.5vw, 48px);
  padding-bottom: clamp(28px, 3.5vw, 48px);
}

@media (max-width: 760px) {
  .important-dates-grid,
  .events-note-section {
    grid-template-columns: 1fr;
  }

  .event-row {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 12px 0;
  }
}

@media (max-width: 760px) {
  .program-carousel {
    margin-top: 0;
  }

  .program-slide {
    flex-basis: 100%;
    min-height: 300px;
  }

  .program-carousel-arrow {
    top: auto;
    bottom: -12px;
    width: 42px;
    height: 42px;
    transform: none;
  }

  .program-carousel-arrow-prev {
    left: 8px;
  }

  .program-carousel-arrow-next {
    right: 8px;
  }
}

/* Header CTA visibility guard. */
.nav-primary {
  min-width: 0;
  justify-content: flex-start;
  overflow-x: auto;
  scrollbar-width: none;
}

.nav-primary::-webkit-scrollbar {
  display: none;
}

.header-actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.header-actions .button {
  white-space: nowrap;
}

@media (max-width: 1240px) {
  .site-header {
    flex-wrap: wrap;
  }

  .nav-primary {
    order: 3;
    width: 100%;
    padding-bottom: 4px;
  }

  .header-actions {
    order: 2;
    margin-left: auto;
  }
}

@media (max-width: 640px) {
  .header-actions {
    width: 100%;
    margin-left: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .site-header .header-actions .button {
    width: 100%;
    min-width: 0;
    padding-inline: 10px;
    white-space: normal;
    line-height: 1.15;
  }
}

@media (max-width: 440px) {
  .header-actions {
    grid-template-columns: 1fr;
  }
}

/* Grouped top navigation. */
.site-header {
  z-index: 100;
}

.nav-primary {
  overflow: visible;
}

.nav-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding-bottom: 10px;
  margin-bottom: -10px;
}

.nav-dropdown-toggle {
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: inherit;
  font: inherit;
  font-weight: inherit;
  text-align: left;
  background: transparent;
  border: 0;
  border-bottom: 2px solid transparent;
  cursor: pointer;
}

.nav-dropdown-toggle span {
  font-size: 0.62rem;
  line-height: 1;
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 1000;
  display: grid;
  min-width: 230px;
  max-width: min(320px, calc(100vw - 32px));
  gap: 4px;
  padding: 10px;
  color: var(--ink);
  white-space: normal;
  pointer-events: none;
  visibility: hidden;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(21, 21, 21, 0.12);
  border-radius: 14px;
  box-shadow: 0 20px 50px rgba(24, 34, 35, 0.18);
  opacity: 0;
  transform: translateY(-4px);
  transition:
    opacity 140ms ease,
    transform 140ms ease,
    visibility 140ms ease;
}

.nav-dropdown-menu::before {
  position: absolute;
  right: 0;
  bottom: 100%;
  left: 0;
  height: 10px;
  content: "";
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu,
.nav-dropdown.is-open .nav-dropdown-menu {
  pointer-events: auto;
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

.nav-dropdown-menu a {
  display: block;
  padding: 10px 12px;
  color: #2f3436;
  font-weight: 800;
  line-height: 1.25;
  border: 0;
  border-radius: 10px;
}

.nav-dropdown-menu a:hover,
.nav-dropdown-menu a:focus-visible,
.nav-dropdown-menu a[aria-current="page"] {
  color: var(--accent-dark);
  background: var(--teal-soft);
  outline: none;
}

#programs-menu {
  min-width: 285px;
}

.nav-dropdown-toggle:hover,
.nav-dropdown-toggle:focus-visible,
.nav-dropdown-toggle[data-current="true"],
.nav-dropdown.is-open .nav-dropdown-toggle {
  color: var(--white);
  border-bottom-color: var(--white);
  outline: none;
}

@media (max-width: 1240px) {
  .nav-primary {
    overflow: visible;
  }
}

@media (max-width: 640px) {
  .nav-primary {
    display: flex;
    align-items: flex-start;
    overflow: visible;
  }

  .nav-dropdown {
    display: grid;
    min-width: min(100%, 230px);
  }

  .nav-dropdown-toggle {
    width: 100%;
  }

  .nav-dropdown-menu {
    position: static;
    display: none;
    width: min(100%, 320px);
    min-width: 0;
    max-width: none;
    margin-top: 7px;
    padding: 8px;
    pointer-events: auto;
    visibility: visible;
    opacity: 1;
    transform: none;
    transition: none;
  }

  .nav-dropdown:focus-within .nav-dropdown-menu,
  .nav-dropdown.is-open .nav-dropdown-menu {
    display: grid;
  }
}

/* Canonical horizontal header: logo + nav left, CTAs right. */
.site-header {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: clamp(12px, 1.6vw, 24px);
  grid-template-columns: none;
  grid-template-areas: none;
  justify-items: stretch;
  min-height: 0;
  padding: 10px clamp(14px, 2.4vw, 34px);
  overflow: visible;
}

.header-left {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  gap: clamp(10px, 1.2vw, 18px);
  min-width: 0;
}

.header-logo,
.site-header .header-logo {
  display: inline-flex;
  flex: 0 0 auto;
  grid-area: auto;
  position: static;
  z-index: auto;
  align-items: center;
  justify-self: auto;
  line-height: 0;
  transform: none;
}

.site-header .header-logo .brand-logo,
.site-header .nav-logo.header-logo .brand-logo {
  width: clamp(70px, 5.8vw, 90px);
  height: clamp(48px, 4vw, 60px);
}

.header-left .nav-primary {
  display: flex;
  flex: 1 1 auto;
  grid-area: auto;
  position: static;
  left: auto;
  z-index: auto;
  justify-content: flex-start;
  width: auto;
  min-width: 0;
  padding-bottom: 0;
  overflow: visible;
  transform: none;
}

.header-left .nav-links {
  gap: clamp(8px, 0.9vw, 14px);
  font-size: clamp(0.72rem, 0.72vw, 0.84rem);
}

.site-header > .header-actions {
  display: flex;
  flex: 0 0 auto;
  grid-area: auto;
  position: static;
  top: auto;
  right: auto;
  z-index: auto;
  align-items: center;
  justify-self: auto;
  width: auto;
  margin-left: auto;
  transform: none;
}

.site-header > .header-actions .button-small {
  min-height: 40px;
  padding-inline: 14px;
  font-size: 0.84rem;
}

@media (max-width: 1240px) {
  .site-header {
    flex-wrap: wrap;
  }

  .header-left {
    width: 100%;
  }

  .header-left .nav-primary {
    flex-wrap: wrap;
    row-gap: 8px;
  }

  .site-header > .header-actions {
    margin-left: auto;
  }
}

@media (max-width: 760px) {
  .site-header {
    align-items: flex-start;
    padding: 10px 16px 14px;
  }

  .header-left {
    flex-wrap: wrap;
    justify-content: center;
  }

  .header-logo,
  .site-header .header-logo {
    margin-inline: auto;
  }

  .header-left .nav-primary {
    justify-content: center;
    width: 100%;
    gap: 9px 13px;
    text-align: center;
  }

  .site-header > .header-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    margin-left: 0;
    gap: 8px;
  }

  .site-header > .header-actions .button {
    width: 100%;
    min-width: 0;
    padding-inline: 10px;
    white-space: normal;
    line-height: 1.15;
  }
}

@media (max-width: 440px) {
  .site-header > .header-actions {
    grid-template-columns: 1fr;
  }
}

/* Balanced desktop header: logo + nav together, CTAs right. */
@media (min-width: 1181px) {
  .site-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    justify-content: stretch;
    gap: clamp(18px, 2.1vw, 34px);
    padding: 10px clamp(18px, 3vw, 42px);
    position: sticky;
  }

  .header-left {
    grid-column: 2;
    justify-self: center;
    gap: clamp(10px, 1vw, 18px);
    width: max-content;
    max-width: min(100%, 820px);
    transform: translateX(calc((clamp(70px, 5.8vw, 90px) + clamp(10px, 1vw, 18px)) / -2));
  }

  .header-logo,
  .site-header .header-logo {
    margin-inline: 0;
  }

  .header-left .nav-primary {
    position: static;
    top: auto;
    left: auto;
    justify-content: center;
    width: max-content;
    max-width: min(100%, 720px);
    gap: clamp(10px, 1vw, 18px);
    transform: none;
  }

  .site-header > .header-actions {
    grid-column: 3;
    justify-self: end;
    margin-left: 0;
  }
}

/* Leap Tumble Dance one-screen landing page */
html:has(.leap-landing-page),
.leap-landing-page {
  height: 100vh;
  overflow: hidden;
  background: #fff8f3;
}

.leap-landing-main {
  height: calc(100vh - 72px);
  display: grid;
  padding: 0;
}

.leap-landing-card {
  box-sizing: border-box;
  width: 100%;
  height: calc(100vh - 72px);
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  align-items: stretch;
  gap: clamp(26px, 4vw, 64px);
  padding: clamp(12px, 2vw, 24px) clamp(34px, 6vw, 96px);
  border-radius: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(255, 239, 246, 0.82));
  box-shadow: none;
  border: 0;
}

.leap-landing-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.leap-landing-copy h1 {
  max-width: 9ch;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5.4vw, 4.25rem);
  line-height: 0.92;
  letter-spacing: -0.06em;
  text-transform: uppercase;
}

.leap-landing-copy h1 span {
  display: block;
}

.program-landing-copy h1 {
  max-width: 13ch;
  color: var(--ink);
  font-size: clamp(2.7rem, 4.7vw, 4.2rem);
  letter-spacing: -0.035em;
}

.program-landing-copy .eyebrow {
  color: var(--teal-dark);
}

.program-landing-card .leap-points span {
  background: rgba(184, 58, 91, 0.1);
  color: var(--accent-dark);
}

.college-qualification {
  align-self: flex-start;
  margin-top: 18px !important;
  padding: 9px 15px;
  border: 1px solid rgba(184, 58, 91, 0.28);
  border-radius: 999px;
  background: rgba(184, 58, 91, 0.1);
  color: var(--accent-dark) !important;
  font-size: clamp(0.88rem, 1.1vw, 1rem) !important;
  font-weight: 800;
  letter-spacing: 0.045em;
  line-height: 1.2 !important;
  text-transform: uppercase;
}

.college-landing-image img {
  object-position: center 30% !important;
}

.experience-week-page {
  height: auto !important;
  min-height: 100vh;
  overflow: auto !important;
}

.experience-week-main {
  height: auto;
  min-height: calc(100vh - 72px);
}

.experience-week-hero {
  height: auto;
  min-height: calc(100vh - 72px);
  grid-template-columns: minmax(0, 1.3fr) minmax(300px, 0.7fr);
  gap: clamp(20px, 3vw, 40px);
  padding-top: 12px;
  padding-bottom: 12px;
}

.experience-week-hero-copy {
  padding: 10px 0;
}

.experience-week-hero-copy h1 {
  font-size: clamp(2.3rem, 3.35vw, 3.15rem);
}

.experience-week-hero-copy p {
  margin-top: 5px;
  font-size: clamp(0.8rem, 0.92vw, 0.9rem);
  line-height: 1.28;
}

.experience-week-hero-copy .leap-intro {
  margin-top: 8px;
  font-size: clamp(0.96rem, 1.2vw, 1.1rem);
}

.experience-week-hero-copy .experience-week-hero-classes {
  margin-top: 7px;
}

.experience-week-hero-prize {
  display: grid;
  gap: 3px;
  padding: 7px 13px;
  border-radius: 14px;
  color: var(--white);
  background: linear-gradient(120deg, var(--teal-dark), var(--accent-dark));
}

.experience-week-hero-prize span {
  color: var(--white) !important;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.experience-week-hero-prize strong {
  color: var(--white) !important;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 1.6vw, 1.5rem);
  line-height: 1;
}

.experience-week-hero-copy .hero-actions {
  margin-top: 0;
}

.experience-week-hero-copy .hero-actions .button {
  min-height: 32px;
  padding: 0 16px;
  font-size: 0.86rem;
}

@media (max-width: 900px) {
  .experience-week-hero {
    height: auto;
    min-height: auto;
    grid-template-columns: 1fr;
  }
}

.program-landing-card .leap-landing-image img {
  object-position: center center;
}

.program-landing-card .leap-landing-image img.ayap-collage-image {
  object-fit: contain;
  background: #7fcddd;
}

.program-landing-page .header-actions .button-secondary[aria-current="page"] {
  color: var(--white);
  background: var(--accent-dark);
  border-color: var(--accent-dark);
}

.leap-word-leap {
  color: #111111;
}

.leap-word-tumble {
  color: #ec4a9a;
}

.leap-word-dance {
  color: #69cde8;
}

.leap-landing-copy p {
  max-width: 620px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  line-height: 1.55;
}

.leap-landing-copy .leap-intro {
  margin-top: 16px;
  color: var(--ink);
  font-size: clamp(1.18rem, 1.8vw, 1.55rem);
  line-height: 1.35;
}

.leap-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.leap-points span {
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(0, 151, 156, 0.1);
  color: var(--teal-dark);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}


.leap-landing-card .hero-actions {
  margin-top: 18px;
}

.leap-landing-image {
  height: 100%;
  max-height: 100%;
  min-height: 0;
  overflow: hidden;
  border-radius: 34px;
  box-shadow: var(--shadow-soft);
}

.leap-landing-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  display: block;
}

@media (max-width: 1100px) {
  .leap-landing-page {
    overflow: auto;
  }

  .leap-landing-main {
    min-height: auto;
  }

  .leap-landing-card {
    grid-template-columns: 1fr;
  }

  .leap-landing-image {
    min-height: 280px;
  }
}

/* Site-wide premium title and navigation refinement. */
:root {
  --rose-nav-active: #d94f79;
  --shadow-soft: 0 16px 48px rgba(23, 21, 20, 0.085);
  --radius-lg: 20px;
}

body {
  text-rendering: optimizeLegibility;
}

h1,
h2 {
  line-height: 0.98;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

.section-heading {
  gap: clamp(12px, 1.5vw, 18px);
  margin-bottom: clamp(34px, 4vw, 52px);
}

.section-heading > h1,
.section-heading > h2 {
  max-width: 21ch;
}

.page-hero.split-section h1 {
  max-width: 12ch;
  font-size: clamp(3rem, 5.2vw, 5.6rem);
}

:is(
    .page-hero > .eyebrow,
    .page-hero > div:first-child > .eyebrow,
    .leap-landing-copy > .eyebrow,
    .home-hero-content > .eyebrow,
    .section-heading > .eyebrow,
    .director-copy > .eyebrow,
    .trust-intro-section > div:first-child > .eyebrow,
    .studio-overview-copy > .eyebrow,
    .home-trust-copy > .eyebrow,
    .map-section > div:first-child > .eyebrow,
    .cta-band > div:first-child > .eyebrow,
    .events-note-section > div:first-child > .eyebrow,
    .sda-plus-hero-copy > .eyebrow,
    .sda-plus-value-section > div:first-child > .eyebrow,
    .trial-form-intro > .eyebrow
  ) {
  display: flex;
  align-items: center;
  width: fit-content;
  gap: clamp(12px, 1.5vw, 22px);
  margin-bottom: clamp(14px, 1.8vw, 22px);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(0.72rem, 0.82vw, 0.86rem);
  font-weight: 850;
  line-height: 1.25;
  letter-spacing: 0.2em;
}

:is(
    .page-hero > .eyebrow,
    .page-hero > div:first-child > .eyebrow,
    .leap-landing-copy > .eyebrow,
    .home-hero-content > .eyebrow,
    .section-heading > .eyebrow,
    .director-copy > .eyebrow,
    .trust-intro-section > div:first-child > .eyebrow,
    .studio-overview-copy > .eyebrow,
    .home-trust-copy > .eyebrow,
    .map-section > div:first-child > .eyebrow,
    .cta-band > div:first-child > .eyebrow,
    .events-note-section > div:first-child > .eyebrow,
    .sda-plus-hero-copy > .eyebrow,
    .sda-plus-value-section > div:first-child > .eyebrow,
    .trial-form-intro > .eyebrow
  )::before {
  width: clamp(26px, 2.5vw, 42px);
  height: 1.5px;
  flex: 0 0 clamp(26px, 2.5vw, 42px);
  content: "";
  background: currentColor;
  border-radius: 999px;
  opacity: 0.82;
}

.teacher-copy .eyebrow {
  display: block;
  width: auto;
}

.teacher-copy .eyebrow::before {
  display: none;
}

.about-hero .eyebrow,
.director-copy .director-label,
.home-trust-copy .eyebrow,
.trial-form-intro .eyebrow {
  font-size: clamp(0.72rem, 0.82vw, 0.86rem);
}

.site-header {
  border-bottom-color: rgba(255, 255, 255, 0.24);
  box-shadow: 0 10px 34px rgba(8, 76, 74, 0.16);
}

.site-header .nav-primary > .nav-link[aria-current="page"],
.site-header .nav-primary > .nav-link[data-current="true"],
.site-header .nav-primary .nav-dropdown-toggle[data-current="true"] {
  color: var(--rose-nav-active);
  font-weight: 900;
  border-bottom-color: transparent;
}

.site-header .nav-primary > .nav-link:hover,
.site-header .nav-primary .nav-dropdown-toggle:hover {
  border-bottom-color: transparent;
}

.site-header .nav-primary > .nav-link:focus-visible,
.site-header .nav-primary .nav-dropdown-toggle:focus-visible {
  border-bottom-color: transparent;
  border-radius: 3px;
  outline: 2px solid rgba(255, 210, 222, 0.8);
  outline-offset: 5px;
}

@media (min-width: 960px) and (max-width: 1180px) {
  .site-header {
    flex-wrap: nowrap;
    gap: 12px;
  }

  .header-left {
    width: auto;
    gap: 10px;
  }

  .header-left .nav-primary {
    flex-wrap: nowrap;
  }

  .header-left .nav-links {
    gap: 7px;
    font-size: clamp(0.68rem, 0.74vw, 0.78rem);
  }

  .site-header > .header-actions {
    display: flex;
    width: auto;
    gap: 7px;
  }

  .site-header > .header-actions .button-small {
    min-height: 38px;
    padding-inline: 11px;
    font-size: 0.76rem;
  }
}

@media (max-width: 640px) {
  h1,
  h2 {
    line-height: 1.02;
  }

  :is(
      .page-hero > .eyebrow,
      .page-hero > div:first-child > .eyebrow,
      .leap-landing-copy > .eyebrow,
      .home-hero-content > .eyebrow,
      .section-heading > .eyebrow,
      .director-copy > .eyebrow,
      .trust-intro-section > div:first-child > .eyebrow,
      .studio-overview-copy > .eyebrow,
      .home-trust-copy > .eyebrow,
      .map-section > div:first-child > .eyebrow,
      .cta-band > div:first-child > .eyebrow,
      .events-note-section > div:first-child > .eyebrow,
      .sda-plus-hero-copy > .eyebrow,
      .sda-plus-value-section > div:first-child > .eyebrow,
      .trial-form-intro > .eyebrow
    )::before {
    width: 28px;
    flex-basis: 28px;
  }

  .section-heading {
    margin-bottom: 30px;
  }
}

.nav-menu-toggle {
  display: none;
}

@media (max-width: 1180px) {
  .site-header.has-mobile-nav {
    position: sticky;
    top: 0;
    display: grid;
    grid-template-columns: auto auto;
    align-items: center;
    justify-content: space-between;
    gap: 10px 16px;
    padding: 9px 16px;
  }

  .site-header.has-mobile-nav .header-left {
    display: contents;
  }

  .site-header.has-mobile-nav .header-logo,
  .site-header.has-mobile-nav .header-left .header-logo {
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
    margin: 0;
  }

  .site-header.has-mobile-nav .header-logo .brand-logo {
    width: 64px;
    height: 46px;
    border-radius: 13px;
  }

  .nav-menu-toggle {
    display: grid;
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    width: 46px;
    height: 42px;
    place-content: center;
    gap: 5px;
    padding: 0;
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.46);
    border-radius: 999px;
    cursor: pointer;
  }

  .nav-menu-toggle:focus-visible {
    outline: 2px solid var(--rose-nav-active);
    outline-offset: 3px;
  }

  .nav-menu-toggle span {
    display: block;
    width: 18px;
    height: 1.5px;
    background: currentColor;
    border-radius: 999px;
    transition:
      opacity 160ms ease,
      transform 160ms ease;
  }

  .site-header.is-mobile-nav-open .nav-menu-toggle span:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
  }

  .site-header.is-mobile-nav-open .nav-menu-toggle span:nth-child(2) {
    opacity: 0;
  }

  .site-header.is-mobile-nav-open .nav-menu-toggle span:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
  }

  .site-header.has-mobile-nav .header-left .nav-primary,
  .site-header.has-mobile-nav > .header-actions {
    display: none;
  }

  .site-header.has-mobile-nav.is-mobile-nav-open .header-left .nav-primary {
    display: grid;
    grid-column: 1 / -1;
    grid-row: 2;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    gap: 8px;
    padding: 8px 0 2px;
    overflow: visible;
    text-align: center;
  }

  .site-header.has-mobile-nav.is-mobile-nav-open .nav-primary > .nav-link,
  .site-header.has-mobile-nav.is-mobile-nav-open .nav-dropdown-toggle {
    display: flex;
    min-height: 40px;
    align-items: center;
    justify-content: center;
    padding: 8px 10px;
    background: rgba(255, 255, 255, 0.075);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 10px;
  }

  .site-header.has-mobile-nav.is-mobile-nav-open .nav-dropdown {
    display: grid;
    min-width: 0;
    padding: 0;
    margin: 0;
  }

  .site-header.has-mobile-nav.is-mobile-nav-open .nav-dropdown-menu {
    position: static;
    display: none;
    width: 100%;
    min-width: 0;
    max-width: none;
    margin-top: 6px;
    pointer-events: auto;
    visibility: visible;
    opacity: 1;
    transform: none;
    transition: none;
  }

  .site-header.has-mobile-nav.is-mobile-nav-open .nav-dropdown:focus-within .nav-dropdown-menu,
  .site-header.has-mobile-nav.is-mobile-nav-open .nav-dropdown.is-open .nav-dropdown-menu {
    display: grid;
  }

  .site-header.has-mobile-nav.is-mobile-nav-open > .header-actions {
    display: grid;
    grid-column: 1 / -1;
    grid-row: 3;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    gap: 8px;
    margin: 0;
  }

  .site-header.has-mobile-nav.is-mobile-nav-open > .header-actions .button {
    min-height: 42px;
    padding-inline: 10px;
    font-size: 0.78rem;
  }
}

/* Homepage audit fixes: consistent cards, clearer proof and responsive presentation. */
.site-skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 2000;
  padding: 10px 15px;
  color: var(--ink);
  font-weight: 850;
  text-decoration: none;
  background: var(--white);
  border: 2px solid var(--teal-dark);
  border-radius: 999px;
  box-shadow: var(--shadow-soft);
  transform: translateY(-160%);
  transition: transform 150ms ease;
}

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

.home-page .home-start-card > div {
  grid-template-rows: auto auto 1fr auto;
  height: 100%;
}

.home-page .home-start-card > div > strong {
  align-self: end;
}

.home-page .home-start-card:focus-visible {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(19, 181, 168, 0.22), 0 26px 80px rgba(31, 41, 51, 0.14);
}

.home-review-grid figcaption {
  display: grid;
  gap: 3px;
}

.home-review-grid figcaption strong {
  color: var(--accent-dark);
  font-size: 0.98rem;
}

.home-review-grid figcaption small {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-reviews-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: fit-content;
  margin: clamp(22px, 3vw, 34px) auto 0;
  padding: 10px 16px;
  color: var(--accent-dark);
  font-weight: 850;
  text-decoration: none;
  border: 1px solid rgba(184, 58, 91, 0.42);
  border-radius: 999px;
}

.home-reviews-link:hover,
.home-reviews-link:focus-visible {
  color: var(--rose-dark);
  border-color: var(--rose-dark);
}

@media (max-width: 980px) {
  .home-page .home-trust-image {
    width: 100%;
    height: clamp(280px, 55vw, 520px);
    min-height: 280px;
  }
}

@media (max-width: 640px) {
  .home-page .hero-trust-chips {
    width: min(100%, 350px);
    gap: 10px;
    margin-top: 8px;
  }

  .home-page .hero-trust-primary {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    gap: 0;
    overflow: hidden;
    white-space: normal;
    background: rgba(13, 29, 30, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 16px;
    backdrop-filter: blur(8px);
  }

  .home-page .hero-trust-primary > span {
    min-height: 39px;
    justify-content: center;
    padding: 8px 10px;
    font-size: 0.68rem;
    line-height: 1.25;
    letter-spacing: 0.055em;
    text-align: center;
  }

  .home-page .hero-trust-primary > span:first-child {
    grid-column: 1 / -1;
  }

  .home-page .hero-trust-primary > span + span::before {
    display: none;
  }

  .home-page .hero-trust-primary > span:nth-child(2),
  .home-page .hero-trust-primary > span:nth-child(3) {
    border-top: 1px solid rgba(255, 255, 255, 0.16);
  }

  .home-page .hero-trust-primary > span:nth-child(2) {
    border-right: 1px solid rgba(255, 255, 255, 0.16);
  }

  .home-page .hero-location-highlight {
    min-height: 42px;
    justify-content: center;
    padding: 5px 14px 5px 6px;
    font-size: 0.72rem;
    letter-spacing: 0.065em;
    background: rgba(13, 29, 30, 0.46);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    backdrop-filter: blur(8px);
  }

  .home-page .home-location-button {
    flex-basis: 30px;
    width: 30px;
    height: 30px;
  }
}

/* High-contrast selected navigation treatment. */
.site-header .nav-primary > .nav-link[aria-current="page"],
.site-header .nav-primary > .nav-link[data-current="true"],
.site-header .nav-primary .nav-dropdown-toggle[data-current="true"] {
  padding: 4px 0 6px;
  color: var(--white);
  background: transparent;
  border: 0;
  border-bottom: 3px solid var(--rose-nav-active);
  border-radius: 0;
  box-shadow: none;
  text-shadow: none;
}

.site-header > .header-actions a[href$="experience-day.html"],
.site-header > .header-actions a[href$="experience-day.html"][aria-current="page"] {
  color: var(--white);
  background: var(--rose);
  border-color: var(--rose);
  box-shadow: 0 12px 30px rgba(184, 58, 91, 0.22);
}

.site-header > .header-actions a[href$="experience-day.html"]:hover {
  color: var(--white);
  background: #9f304d;
  border-color: #9f304d;
}

.site-header > .header-actions .home-quick-action,
.site-header > .header-actions .home-quick-action[aria-current="page"] {
  color: var(--white);
  background: var(--rose);
  border-color: var(--rose);
}

.site-header > .header-actions .home-quick-action:hover,
.site-header > .header-actions .home-quick-action:focus-visible {
  color: var(--white);
  background: var(--rose-dark);
  border-color: var(--rose-dark);
}

/* Compact program preview inside the Classes page CTA. */
.classes-program-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  justify-items: center;
  gap: clamp(20px, 2.4vw, 40px);
  padding-top: clamp(30px, 3.5vw, 48px);
  padding-bottom: clamp(38px, 4.5vw, 62px);
  text-align: center;
}

.classes-program-cta > div:first-child {
  display: grid;
  grid-row: auto;
  max-width: 900px;
  justify-items: center;
}

.classes-program-mini {
  grid-column: 1;
  grid-row: auto;
  width: 100%;
  max-width: 700px;
  margin: 0;
}

.classes-program-cta > .button {
  grid-column: 1;
  grid-row: auto;
  justify-self: center;
  margin-top: 0;
}

.classes-program-mini .program-carousel-track {
  --program-slide-gap: 12px;

  padding: 4px 3px 10px;
}

.classes-program-mini .program-slide {
  flex-basis: calc((100% - (2 * var(--program-slide-gap))) / 3);
  min-height: 132px;
  padding: 14px;
  border-radius: 15px;
  box-shadow: 0 14px 34px rgba(24, 34, 35, 0.14);
}

.classes-program-mini .program-slide span {
  overflow: hidden;
  font-size: clamp(0.56rem, 0.65vw, 0.68rem);
  letter-spacing: 0.1em;
  text-overflow: ellipsis;
}

.classes-program-mini .program-slide strong,
.classes-program-mini .program-slide .program-title-compact {
  margin-top: 5px;
  font-size: clamp(1rem, 1.25vw, 1.28rem);
  line-height: 1.02;
  white-space: normal;
}

.classes-program-mini .program-carousel-arrow {
  width: 38px;
  height: 38px;
  font-size: 1.65rem;
}

.classes-program-mini .program-carousel-arrow-prev {
  left: -13px;
}

.classes-program-mini .program-carousel-arrow-next {
  right: -13px;
}

@media (max-width: 760px) {

  .classes-program-mini .program-slide {
    flex-basis: calc((100% - var(--program-slide-gap)) / 2);
    min-height: 142px;
  }

  .classes-program-mini .program-carousel-arrow {
    top: 50%;
    bottom: auto;
    width: 36px;
    height: 36px;
    transform: translateY(-50%);
  }

  .classes-program-mini .program-carousel-arrow-prev {
    left: -8px;
  }

  .classes-program-mini .program-carousel-arrow-next {
    right: -8px;
  }
}

.class-style-section .style-grid-subheading {
  width: 100%;
  max-width: none;
  margin-inline: auto;
  text-align: center;
}

/* Compact homepage location control. */
.home-location-button {
  display: inline-grid;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  place-items: center;
  color: var(--white);
  background: var(--rose);
  border: 1px solid var(--rose);
  border-radius: 999px;
  box-shadow: 0 12px 30px rgba(184, 58, 91, 0.22);
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    box-shadow 180ms ease;
}

.home-location-button svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-location-highlight {
  color: rgba(251, 246, 236, 0.92);
  text-decoration: none;
}

.hero-location-highlight:hover,
.hero-location-highlight:focus-visible {
  color: var(--white);
}

.hero-location-highlight:hover .home-location-button,
.hero-location-highlight:focus-visible .home-location-button {
  background: var(--rose-dark);
  border-color: var(--rose-dark);
  box-shadow: 0 14px 34px rgba(184, 58, 91, 0.3);
  transform: translateY(-2px);
}

/* Program galleries extend the original one-screen landing pages. */
html:has(body.leap-landing-page .program-class-gallery) {
  height: auto;
  min-height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
}

/* Term 3 timetable colour groups */
.timetable-stage-filters {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.timetable-stage-filters .stage-scan-card {
  grid-column: auto;
  min-height: 176px;
  width: 100%;
  color: var(--ink);
  font: inherit;
  text-align: left;
}

.timetable-filter-intro {
  max-width: 620px;
  margin: 0 auto;
  color: var(--slate);
  text-align: center;
}

.stage-filter-palette {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}

.stage-filter-palette i {
  width: 28px;
  height: 10px;
  border: 1px solid rgba(31, 40, 49, 0.12);
  border-radius: 999px;
}

.stage-filter-count {
  align-self: end;
  color: var(--accent-dark);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.stage-ltd,
.tone-blue {
  --stage-color: #9fdcf2;
  --stage-soft: #eaf8ff;
}

.stage-junior,
.tone-yellow {
  --stage-color: #ffe600;
  --stage-soft: #fffbd9;
}

.stage-intermediate,
.tone-green {
  --stage-color: #a9e7aa;
  --stage-soft: #effcef;
}

.tone-purple {
  --stage-color: #d891d7;
  --stage-soft: #fbecfb;
}

.stage-senior,
.tone-orange {
  --stage-color: #f1ad64;
  --stage-soft: #fff1df;
}

.tone-peach {
  --stage-color: #ffd5a6;
  --stage-soft: #fff6e9;
}

.tone-pink {
  --stage-color: #f2a8bc;
  --stage-soft: #fff0f4;
}

.tone-grey {
  --stage-color: #c7c7c7;
  --stage-soft: #f4f4f4;
}

.stage-private,
.tone-red {
  --stage-color: #df4d58;
  --stage-soft: #fff0f1;
}

@media (max-width: 900px) {
  .timetable-stage-filters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .timetable-stage-filters {
    grid-template-columns: 1fr;
  }
}

/* Spreadsheet-style weekly timetable */
.timetable-matrix-hint {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 0.9rem;
  text-align: center;
}

.timetable-matrix-scroll {
  max-height: min(76vh, 820px);
  overflow: auto;
  background: #fffdf9;
  border: 1px solid rgba(27, 47, 48, 0.14);
  border-radius: 18px;
  box-shadow: 0 18px 42px rgba(24, 34, 35, 0.08);
  overscroll-behavior: contain;
  scrollbar-color: rgba(12, 124, 124, 0.45) transparent;
}

.timetable-matrix-scroll:focus-visible {
  outline: 3px solid rgba(12, 124, 124, 0.3);
  outline-offset: 4px;
}

.timetable-matrix {
  width: 100%;
  min-width: 1160px;
  table-layout: fixed;
  border-spacing: 0;
  color: var(--ink);
}

.timetable-matrix th,
.timetable-matrix td {
  border-right: 1px solid rgba(27, 47, 48, 0.1);
  border-bottom: 1px solid rgba(27, 47, 48, 0.1);
}

.timetable-matrix tr > :last-child {
  border-right: 0;
}

.timetable-matrix tbody tr:last-child > * {
  border-bottom: 0;
}

.timetable-matrix thead th {
  position: sticky;
  top: 0;
  z-index: 4;
  height: 58px;
  padding: 13px 10px;
  background: #f2faf8;
  color: var(--accent-dark);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
  transition: opacity 180ms ease, background-color 180ms ease;
}

.timetable-matrix .matrix-corner {
  left: 0;
  z-index: 6;
  width: 92px;
  background: var(--accent-dark);
  color: var(--white);
}

.timetable-matrix .matrix-time {
  position: sticky;
  left: 0;
  z-index: 3;
  width: 92px;
  padding: 14px 8px;
  background: #f8f4ee;
  color: var(--accent-dark);
  font-size: 0.75rem;
  font-weight: 900;
  text-align: center;
  vertical-align: top;
  white-space: nowrap;
}

.timetable-matrix td {
  min-height: 74px;
  padding: 7px;
  background: rgba(255, 253, 249, 0.96);
  vertical-align: top;
  transition: opacity 180ms ease, background-color 180ms ease;
}

.timetable-matrix tbody tr:nth-child(even) td {
  background: rgba(250, 247, 241, 0.82);
}

.matrix-cell-stack {
  display: grid;
  gap: 6px;
  min-height: 58px;
}

.matrix-class-card {
  position: relative;
  display: grid;
  gap: 3px;
  width: 100%;
  padding: 9px 9px 9px 12px;
  overflow: hidden;
  appearance: none;
  background:
    linear-gradient(90deg, var(--stage-color, var(--stage-neutral)) 0 5px, transparent 5px),
    var(--stage-soft, #fffaf2);
  border: 1px solid color-mix(in srgb, var(--stage-color, var(--stage-neutral)) 54%, rgba(27, 47, 48, 0.2));
  border-radius: 10px;
  color: var(--ink);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.matrix-class-card:hover,
.matrix-class-card:focus-visible {
  z-index: 2;
  border-color: color-mix(in srgb, var(--stage-color, var(--stage-neutral)) 75%, var(--accent-dark));
  box-shadow: 0 8px 18px rgba(18, 36, 38, 0.12);
  outline: none;
  transform: translateY(-1px);
}

.matrix-class-card time {
  color: var(--accent-dark);
  font-size: 0.64rem;
  font-weight: 850;
  line-height: 1.25;
}

.matrix-class-card strong {
  font-size: 0.76rem;
  line-height: 1.2;
}

.matrix-class-card em {
  color: var(--muted);
  font-size: 0.67rem;
  font-style: normal;
  line-height: 1.3;
}

.matrix-class-card.is-filter-hidden {
  display: none;
}

.timetable-matrix [data-day-column].is-column-muted {
  opacity: 0.34;
}

.timetable-matrix thead [data-day-column].is-column-active {
  background: #dff3ef;
  box-shadow: inset 0 -3px 0 var(--accent);
}

.timetable-matrix tbody tr[hidden] {
  display: none;
}

.timetable-filter-status {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
  min-height: 0;
  padding: 0 0 16px;
  color: var(--accent-dark);
  font-size: 0.9rem;
  font-weight: 800;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.timetable-filter-status .timetable-reset-button {
  width: auto;
  min-height: 38px;
  padding: 8px 14px;
  font-size: 0.76rem;
  text-transform: none;
  box-shadow: none;
}

.timetable-mobile-list {
  display: none;
}

.timetable-private-note {
  max-width: 760px;
  margin: 22px auto 0;
  color: var(--muted);
  font-size: 0.88rem;
  text-align: center;
}

@media (max-width: 760px) {
  .timetable-stage-filters .stage-scan-card {
    min-height: 154px;
  }

  .timetable-matrix-scroll {
    display: none;
  }

  .timetable-mobile-list {
    display: grid;
    gap: 12px;
    margin-top: 0;
  }

  .timetable-mobile-day {
    width: 100%;
  }

  .timetable-mobile-day[hidden] {
    display: none;
  }

  .timetable-filter-status {
    flex-direction: column;
    gap: 8px;
  }
}

/* About-page audit improvements: clearer proof, stronger actions and compact mobile bios. */
.about-proof-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding-top: 0;
  padding-bottom: 0;
  color: var(--white);
  background: linear-gradient(90deg, var(--teal-dark), #169f96, var(--rose));
}

.about-proof-strip span {
  display: flex;
  min-height: 64px;
  align-items: center;
  justify-content: center;
  padding: 14px 20px;
  font-size: clamp(0.72rem, 0.86vw, 0.86rem);
  font-weight: 850;
  letter-spacing: 0.11em;
  line-height: 1.35;
  text-align: center;
  text-transform: uppercase;
}

.about-proof-strip span + span {
  border-left: 1px solid rgba(255, 255, 255, 0.24);
}

.about-page .teacher-copy h3 {
  font-size: clamp(1.55rem, 2.5vw, 2.25rem);
  line-height: 1.02;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.about-page #faculty-heading {
  white-space: nowrap;
}

.teacher-bio {
  margin: 0;
}

.teacher-bio summary {
  display: none;
}

.teacher-bio p {
  margin: 0;
}

.teacher-bio-less {
  display: none;
}

.about-page .teacher-photo img.lee-zammit-headshot,
.about-page .teacher-photo img.dimity-ellis-headshot {
  object-fit: cover;
  object-position: center 22%;
}

.about-page .teacher-photo img.jason-fuchs-headshot {
  transform: scale(1.08) translateY(-1%);
  transform-origin: center 22%;
}

.about-page .about-next-step {
  display: grid;
  justify-items: center;
  gap: 18px;
  text-align: center;
}

.about-page .about-next-step .button {
  min-width: min(100%, 230px);
}

@media (max-width: 1100px) {
  .about-page .teacher-grid {
    grid-template-columns: 1fr;
  }

  .about-page .benjamin-teacher-card {
    grid-column: auto;
    justify-self: stretch;
    width: 100%;
  }
}

@media (max-width: 640px) {
  .about-page .about-hero {
    min-height: 490px;
  }

  .about-proof-strip {
    grid-template-columns: 1fr;
    padding-inline: 18px;
  }

  .about-proof-strip span {
    min-height: 46px;
    padding: 10px 12px;
    font-size: 0.68rem;
  }

  .about-proof-strip span + span {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    border-left: 0;
  }

  .about-page .teacher-grid {
    gap: 12px;
  }

  .about-page .teacher-card,
  .about-page .compact-teacher-card {
    grid-template-columns: 104px minmax(0, 1fr);
    gap: 7px 14px;
    align-items: start;
    padding: 14px;
  }

  .about-page .teacher-photo,
  .about-page .compact-teacher-card .teacher-photo {
    grid-column: 1;
    grid-row: 1 / span 3;
    width: 104px;
    min-height: 0;
    aspect-ratio: 1;
    align-self: start;
  }

  .about-page .teacher-copy {
    display: contents;
  }

  .about-page .teacher-copy > .eyebrow,
  .about-page .teacher-copy > h3,
  .about-page .teacher-copy > .teacher-specialties {
    grid-column: 2;
  }

  .about-page .teacher-copy > .eyebrow {
    align-self: end;
    font-size: 0.66rem;
    line-height: 1.35;
  }

  .about-page .teacher-copy h3 {
    font-size: clamp(1.35rem, 7vw, 1.75rem);
  }

  .about-page .teacher-specialties {
    font-size: 0.67rem;
    line-height: 1.35;
  }

  .teacher-bio {
    grid-column: 1 / -1;
    width: 100%;
    margin-top: 4px;
    border-top: 1px solid rgba(31, 41, 51, 0.1);
  }

  .teacher-bio summary {
    display: flex;
    min-height: 44px;
    align-items: center;
    justify-content: space-between;
    color: var(--accent-dark);
    font-size: 0.8rem;
    font-weight: 850;
    letter-spacing: 0.06em;
    list-style: none;
    cursor: pointer;
    text-transform: uppercase;
  }

  .teacher-bio summary::-webkit-details-marker {
    display: none;
  }

  .teacher-bio summary::after {
    content: "+";
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1;
  }

  .teacher-bio summary:focus-visible {
    border-radius: 4px;
    outline: 2px solid rgba(8, 126, 120, 0.42);
    outline-offset: 3px;
  }

  .teacher-bio[open] summary::after {
    content: "−";
  }

  .teacher-bio[open] .teacher-bio-more {
    display: none;
  }

  .teacher-bio[open] .teacher-bio-less {
    display: inline;
  }

  .teacher-bio[open] p {
    padding: 2px 0 8px;
    font-size: 0.95rem;
    line-height: 1.58;
  }

  .about-page .about-next-step {
    gap: 16px;
  }

  .about-page .about-next-step .button {
    width: 100%;
  }
}

/* Programs audit: predictable navigation and one clear program directory. */
.nav-chevron {
  display: inline-grid;
  flex: 0 0 auto;
  width: 12px;
  height: 9px;
  place-items: center;
  margin-left: 1px;
  transition: transform 160ms ease;
}

.nav-chevron svg {
  display: block;
  width: 12px;
  height: 8px;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.nav-dropdown.is-open .nav-chevron {
  transform: rotate(180deg);
}

#programs-menu {
  min-width: 300px;
}

.programs-hero {
  gap: 0;
  padding-top: clamp(38px, 4.6vw, 62px);
  padding-bottom: clamp(38px, 4.6vw, 62px);
}

.programs-hero h1 {
  font-size: clamp(3.1rem, 6vw, 5.3rem);
}

.programs-hero .programs-hero-intro {
  max-width: 650px;
  margin: clamp(16px, 2vw, 22px) auto 0;
  color: var(--muted);
  font-size: clamp(0.98rem, 1.25vw, 1.12rem);
  line-height: 1.55;
}

.programs-directory-section {
  padding-top: clamp(42px, 5vw, 68px);
  padding-bottom: clamp(54px, 6.5vw, 88px);
  background:
    radial-gradient(circle at 92% 4%, rgba(19, 181, 168, 0.08), transparent 27%),
    linear-gradient(180deg, #fffdf9, var(--cream));
}

.programs-directory-heading {
  justify-items: center;
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
}

.programs-directory-heading .eyebrow {
  color: var(--accent-dark);
}

.program-directory-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.2vw, 28px);
  width: min(1200px, 100%);
  margin-inline: auto;
}

.program-directory-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(27, 47, 48, 0.11);
  border-radius: 22px;
  box-shadow: 0 18px 46px rgba(24, 34, 35, 0.085);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.program-directory-card:hover,
.program-directory-card:focus-within {
  border-color: rgba(12, 124, 124, 0.3);
  box-shadow: 0 24px 58px rgba(24, 34, 35, 0.13);
  transform: translateY(-4px);
}

.program-directory-main {
  display: grid;
  grid-template-rows: auto 1fr;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.program-directory-main:focus-visible {
  outline: 3px solid rgba(12, 124, 124, 0.34);
  outline-offset: -3px;
}

.program-directory-media {
  aspect-ratio: 4 / 3;
  margin: 0;
  overflow: hidden;
  background: #e8eeeb;
}

.program-directory-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: filter 220ms ease, transform 260ms ease;
}

.program-directory-card:nth-child(1) .program-directory-media img {
  object-position: center 42%;
}

.program-directory-card:nth-child(2) .program-directory-media img {
  object-position: center 42%;
}

.program-directory-card:nth-child(3) .program-directory-media img {
  object-position: center 28%;
}

.program-directory-card:nth-child(4) .program-directory-media img {
  object-position: center 46%;
}

.program-directory-card:nth-child(6) .program-directory-media img {
  object-position: center 30%;
}

.program-directory-card:hover .program-directory-media img,
.program-directory-card:focus-within .program-directory-media img {
  filter: saturate(1.03) contrast(1.03);
  transform: scale(1.025);
}

.program-directory-copy {
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: 10px;
  min-height: 230px;
  padding: clamp(20px, 2.2vw, 27px);
}

.program-directory-copy .program-directory-kicker {
  margin: 0;
  color: var(--teal-dark);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  line-height: 1.35;
  text-transform: uppercase;
}

.program-directory-copy h3 {
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: clamp(1.55rem, 2.2vw, 2.05rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.program-directory-copy > p:not(.program-directory-kicker) {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.55;
}

.program-directory-link {
  display: inline-flex;
  align-items: center;
  align-self: end;
  gap: 8px;
  width: fit-content;
  padding-top: 4px;
  color: var(--rose-dark);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.program-directory-link span {
  transition: transform 160ms ease;
}

.program-directory-card:hover .program-directory-link span,
.program-directory-main:focus-visible .program-directory-link span {
  transform: translateX(4px);
}

.program-directory-external {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--white);
  background: rgba(15, 38, 39, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(10, 25, 27, 0.2);
  backdrop-filter: blur(8px);
  transition: background-color 160ms ease, transform 160ms ease;
}

.program-directory-external:hover,
.program-directory-external:focus-visible {
  color: var(--white);
  background: var(--rose-dark);
  outline: 2px solid var(--white);
  outline-offset: 2px;
  transform: translateY(-2px);
}

.program-directory-external .social-icon {
  width: 19px;
  height: 19px;
}

.programs-next-step {
  display: grid;
  justify-items: center;
  gap: 16px;
  padding-top: clamp(54px, 6vw, 82px);
  padding-bottom: clamp(54px, 6vw, 82px);
  text-align: center;
  background:
    radial-gradient(circle at 14% 16%, rgba(19, 181, 168, 0.13), transparent 28%),
    linear-gradient(135deg, var(--rose-soft), var(--ivory-soft));
}

.programs-next-step .eyebrow {
  color: var(--accent-dark);
}

.programs-next-step h2 {
  max-width: 720px;
}

.programs-next-step > p:not(.eyebrow) {
  max-width: 650px;
  margin: 0;
  line-height: 1.65;
}

.programs-next-step .hero-actions {
  justify-content: center;
  margin-top: 4px;
}

@media (max-width: 980px) {
  .program-directory-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .programs-hero {
    padding: 34px 20px 38px;
  }

  .programs-hero h1 {
    font-size: clamp(2.7rem, 15vw, 4rem);
  }

  .programs-directory-section {
    padding: 38px 18px 54px;
  }

  .program-directory-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .program-directory-media {
    aspect-ratio: 16 / 10;
  }

  .program-directory-copy {
    min-height: 0;
    padding: 20px;
  }

  .programs-next-step {
    padding-inline: 20px;
  }

  .programs-next-step .hero-actions,
  .programs-next-step .button {
    width: 100%;
  }
}

@media (max-width: 1180px) {
  .site-header.has-mobile-nav.is-mobile-nav-open .nav-dropdown:focus-within .nav-dropdown-menu {
    display: none;
  }

  .site-header.has-mobile-nav.is-mobile-nav-open .nav-dropdown.is-open {
    grid-column: 1 / -1;
  }

  .site-header.has-mobile-nav.is-mobile-nav-open .nav-dropdown.is-open .nav-dropdown-menu {
    display: grid;
  }

  .site-header.has-mobile-nav.is-mobile-nav-open .nav-dropdown.is-open #programs-menu {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-header.has-mobile-nav.is-mobile-nav-open .nav-dropdown.is-open #programs-menu a:first-child {
    grid-column: 1 / -1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .program-directory-card,
  .program-directory-media img,
  .program-directory-link span,
  .nav-chevron {
    transition: none;
  }
}

/* Programs: visual carousel plus concise comparison */
.programs-showcase-section {
  padding-top: clamp(48px, 6vw, 76px);
  padding-bottom: clamp(50px, 6vw, 78px);
  background:
    radial-gradient(circle at 88% 12%, rgba(19, 181, 168, 0.1), transparent 27%),
    linear-gradient(180deg, #fffdfa 0%, #f9f1ec 100%);
}

.programs-showcase-heading,
.programs-summary-heading {
  justify-items: center;
  max-width: 780px;
  margin-right: auto;
  margin-bottom: clamp(26px, 3.5vw, 40px);
  margin-left: auto;
  text-align: center;
}

.programs-showcase-heading .eyebrow,
.programs-summary-heading .eyebrow {
  color: var(--teal-dark);
}

.programs-page .program-carousel {
  max-width: 1180px;
  margin-right: auto;
  margin-left: auto;
}

.programs-page .program-carousel-track {
  padding-bottom: 6px;
  scrollbar-width: none;
}

.programs-page .program-carousel-track::-webkit-scrollbar {
  display: none;
}

.programs-page .program-slide {
  min-height: clamp(340px, 32vw, 420px);
}

.program-carousel-note {
  margin: 20px auto 0;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.035em;
  text-align: center;
}

.programs-summary-section {
  padding-top: clamp(50px, 6vw, 74px);
  padding-bottom: clamp(56px, 7vw, 88px);
  background: #fffdf9;
}

.programs-summary-section .program-summary-grid {
  width: min(1100px, 100%);
  margin-right: auto;
  margin-left: auto;
}

.programs-summary-section .program-summary-item {
  min-height: 124px;
  background: linear-gradient(135deg, #ffffff, #fff7f8);
  border-color: rgba(217, 113, 135, 0.23);
  box-shadow: 0 12px 28px rgba(38, 45, 46, 0.055);
}

.programs-summary-section .program-summary-item-with-social {
  align-items: center;
}

.programs-summary-section .program-summary-social-link {
  position: static;
  align-self: center;
  flex: 0 0 auto;
}

@media (max-width: 760px) {
  .programs-showcase-section,
  .programs-summary-section {
    padding-right: 18px;
    padding-left: 18px;
  }

  .programs-showcase-section {
    padding-top: 42px;
    padding-bottom: 56px;
  }

  .programs-page .program-slide {
    min-height: 340px;
  }

  .programs-page .program-carousel-note {
    margin-top: 34px;
  }

  .programs-summary-section {
    padding-top: 48px;
    padding-bottom: 60px;
  }

  .programs-summary-section .program-summary-item {
    min-height: 0;
  }
}

/* Programs carousel polish */
.programs-page .program-carousel {
  max-width: 1200px;
}

.programs-page .program-carousel-track {
  --program-slide-gap: clamp(18px, 2vw, 24px);

  gap: var(--program-slide-gap);
  padding: 8px 8px 28px;
  scroll-padding-inline: 8px;
}

.programs-page .program-slide {
  flex: 0 0 clamp(370px, 38vw, 450px);
  min-height: 430px;
  padding: clamp(28px, 3.2vw, 38px);
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: 28px;
  box-shadow: 0 22px 48px rgba(24, 34, 35, 0.14);
  transition: border-color 200ms ease, box-shadow 220ms ease, transform 220ms ease;
}

.programs-page .program-slide::before {
  background:
    linear-gradient(180deg, rgba(12, 18, 20, 0.01) 25%, rgba(12, 18, 20, 0.78) 100%),
    linear-gradient(90deg, rgba(12, 18, 20, 0.28), transparent 72%);
}

.programs-page .program-slide:hover,
.programs-page .program-slide:focus-visible {
  border-color: rgba(255, 255, 255, 0.82);
  box-shadow: 0 30px 62px rgba(24, 34, 35, 0.2);
  outline: none;
  transform: translateY(-5px);
}

.programs-page .program-slide span {
  max-width: 100%;
}

.programs-page .program-slide strong {
  max-width: 100%;
}

.program-carousel-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 8px;
}

.programs-page .program-carousel-note {
  margin: 0;
  text-align: left;
}

.program-carousel-controls {
  display: flex;
  gap: 10px;
}

.programs-page .program-carousel-arrow {
  position: static;
  width: 48px;
  height: 48px;
  color: var(--teal-dark);
  font-size: 1.7rem;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(0, 125, 127, 0.2);
  box-shadow: 0 10px 24px rgba(24, 34, 35, 0.1);
  transform: none;
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.programs-page .program-carousel-arrow:hover,
.programs-page .program-carousel-arrow:focus-visible {
  color: var(--white);
  background: var(--teal-dark);
  border-color: var(--teal-dark);
  outline: none;
  transform: translateY(-2px);
}

@media (max-width: 760px) {
  .programs-page .program-carousel-track {
    padding-right: 0;
    padding-left: 0;
    scroll-padding-inline: 0;
  }

  .programs-page .program-slide {
    flex-basis: calc(100% - 26px);
    min-height: 385px;
    padding: 26px;
    border-radius: 24px;
  }

  .program-carousel-footer {
    padding: 0;
  }

  .programs-page .program-carousel-note {
    max-width: 190px;
    margin: 0;
    line-height: 1.45;
  }

  .programs-page .program-carousel-arrow {
    top: auto;
    bottom: auto;
    width: 44px;
    height: 44px;
  }

  .programs-page .program-carousel-arrow-prev,
  .programs-page .program-carousel-arrow-next {
    right: auto;
    left: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .programs-page .program-slide,
  .programs-page .program-carousel-arrow {
    transition: none;
  }
}

/* Keep the compact Leap page natural and readable on narrow screens. */
@media (max-width: 1100px) {
  body.leap-landing-page:not(.program-landing-page) {
    height: auto;
    min-height: 100vh;
    overflow-y: auto;
  }

  body.leap-landing-page:not(.program-landing-page) .leap-landing-main,
  body.leap-landing-page:not(.program-landing-page) .leap-landing-card {
    height: auto;
    min-height: calc(100vh - 72px);
  }
}

@media (max-width: 640px) {
  body.leap-landing-page:not(.program-landing-page) .leap-landing-card {
    gap: 30px;
    padding: 34px 20px 42px;
  }

  body.leap-landing-page:not(.program-landing-page) .leap-landing-image {
    min-height: 320px;
    border-radius: 24px;
  }
}

/* Program snapshots stay one-screen on desktop and flow naturally on mobile. */
@media (min-width: 1101px) and (max-height: 800px) {
  .college-landing-card .college-qualification {
    margin-top: 10px !important;
    padding-top: 7px;
    padding-bottom: 7px;
  }

  .college-landing-card .leap-landing-copy p {
    margin-top: 9px;
  }

  .college-landing-card .leap-landing-copy .leap-intro,
  .college-landing-card .leap-points {
    margin-top: 12px;
  }

  .college-landing-card .program-offerings {
    gap: 7px;
    margin-top: 6px;
  }

  .college-landing-card .hero-actions {
    flex-wrap: nowrap;
    gap: 8px;
    margin-top: 14px;
  }

  .college-landing-card .hero-actions .button {
    min-height: 44px;
    padding-right: 18px;
    padding-left: 18px;
    font-size: 0.84rem;
  }
}

@media (max-width: 1100px) {
  body.program-landing-page {
    height: auto;
    min-height: 100vh;
    overflow-y: auto;
  }

  body.program-landing-page .leap-landing-main,
  body.program-landing-page .leap-landing-card {
    height: auto;
    min-height: calc(100vh - 72px);
  }
}

@media (max-width: 640px) {
  body.program-landing-page .leap-landing-card {
    gap: 30px;
    padding: 34px 20px 42px;
  }

  body.program-landing-page .leap-landing-image {
    min-height: 320px;
    border-radius: 24px;
  }
}

/* Compact upcoming-production treatment for AYAP. */
.ayap-opportunity-page .program-landing-copy h1 {
  max-width: 15ch;
  font-size: clamp(2.5rem, 3.65vw, 3.35rem);
  line-height: 0.9;
}

.ayap-opportunity-page .leap-landing-copy > p {
  margin-top: 9px;
}

.ayap-opportunity-page .leap-landing-copy .leap-intro {
  margin-top: 12px;
}

.ayap-next-production {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  align-items: center;
  gap: 3px 14px;
  margin-top: 12px;
  padding: 10px;
  background: linear-gradient(135deg, rgba(244, 166, 190, 0.2), rgba(255, 255, 255, 0.82));
  border: 1px solid rgba(184, 58, 91, 0.2);
  border-radius: 16px;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
}

.ayap-next-production:hover,
.ayap-next-production:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(62, 25, 55, .14);
}

.ayap-next-production img {
  grid-row: 1 / 4;
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 10px;
}

.ayap-next-production > span {
  grid-column: 2;
  color: var(--teal-dark);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.ayap-next-production strong {
  grid-column: 2;
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: clamp(1.12rem, 1.5vw, 1.35rem);
  line-height: 1.1;
}

.ayap-next-production small {
  grid-column: 2;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
}

.ayap-opportunity-page .leap-points {
  margin-top: 10px;
}

.ayap-opportunity-page .hero-actions {
  flex-wrap: nowrap;
  gap: 8px;
  margin-top: 14px;
}

.ayap-opportunity-page .hero-actions .button {
  min-height: 44px;
  padding-right: 18px;
  padding-left: 18px;
  font-size: 0.84rem;
}

@media (max-width: 640px) {
  .ayap-opportunity-page .program-landing-copy h1 {
    font-size: clamp(2.35rem, 11vw, 3.1rem);
  }

  .ayap-opportunity-page .hero-actions {
    flex-wrap: wrap;
  }

  .ayap-next-production {
    grid-template-columns: 64px minmax(0, 1fr);
  }

  .ayap-next-production img {
    width: 64px;
    height: 64px;
  }
}

/* Hall hire and Alice Underground */
.hall-hire-hero{max-width:1200px;margin:3rem auto;padding:2rem;display:grid;grid-template-columns:1fr 1fr;gap:3rem;align-items:center}.hall-hire-copy h1{font-size:clamp(3rem,6vw,5rem);margin:.5rem 0}.hall-hire-copy p{max-width:36rem}.hall-hire-hero img{width:100%;height:500px;object-fit:cover;border-radius:24px}.hall-hire-note{font-size:.85rem;opacity:.75;margin-top:1rem}.alice-section{max-width:1200px;margin:2rem auto 5rem;padding:0 2rem}.alice-intro{max-width:720px;margin-bottom:2rem}.alice-intro h2{font-size:clamp(2rem,5vw,4rem);margin:.5rem 0}.alice-intro .button{margin-top:1rem}.alice-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}.alice-gallery a{display:block;overflow:hidden;border-radius:18px;background:#160f22;aspect-ratio:1}.alice-gallery img{width:100%;height:100%;object-fit:cover;transition:transform .25s}.alice-gallery a:hover img,.alice-gallery a:focus-visible img{transform:scale(1.04)}.alice-credit{font-size:.85rem;opacity:.75;margin-top:1rem}@media(max-width:760px){.hall-hire-hero{grid-template-columns:1fr;padding:1.5rem}.hall-hire-hero img{height:350px}.alice-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}.alice-section{padding:0 1.5rem}}

.hall-hire-hero{grid-template-columns:1fr;gap:2rem;max-width:1200px}.hall-hire-copy{max-width:760px}.hall-hire-photo{margin:0}.hall-hire-photo img{display:block;width:100%;height:auto;aspect-ratio:1200/629;object-fit:cover}.hall-hire-photo figcaption{font-size:.8rem;opacity:.7;margin-top:.5rem}

.alice-preview {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
}
.alice-preview-art {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .5rem;
  border-radius: 20px;
  overflow: hidden;
}
.alice-preview-art img { width: 100%; height: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.alice-preview-art:hover img, .alice-preview-art:focus-visible img { filter: brightness(1.08); }
.alice-production-main { padding: 0 1.5rem; }
.alice-feature {
  max-width: 1200px;
  margin: 3rem auto 5rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .85fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
}
.alice-feature-copy h1 { font-family: var(--font-serif); font-size: clamp(3.4rem, 6vw, 5.5rem); line-height: .95; margin: .5rem 0 1.5rem; }
.alice-feature-copy p { max-width: 38rem; }
.alice-feature-lead { font-size: clamp(1.2rem, 2vw, 1.5rem); font-weight: 700; }
.alice-feature-poster { width: 100%; height: auto; border-radius: 24px; box-shadow: 0 26px 60px rgba(33, 20, 42, .22); }
.alice-production-page .alice-gallery a:focus-visible, .alice-preview-art:focus-visible { outline: 3px solid var(--teal-dark); outline-offset: 3px; }
@media (max-width: 760px) {
  .alice-preview, .alice-feature { grid-template-columns: 1fr; }
  .alice-feature { margin-top: 2rem; }
  .alice-feature-poster { max-width: 530px; margin: auto; }
  .alice-preview-art { grid-row: 1; }
}

/* AYAP production archive: free scrolling, simple image rows. */
html:has(body.ayap-opportunity-page),
html:has(body.alice-production-page),
html:has(body.rift-production-page),
html:has(body.charlie-production-page),
body.ayap-opportunity-page,
body.alice-production-page,
body.rift-production-page,
body.charlie-production-page {
  height: auto;
  min-height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
}

.ayap-main { max-width: 1350px; margin: 0 auto; padding: clamp(2rem, 5vw, 5rem) clamp(1.25rem, 4vw, 3.5rem) 6rem; }
.ayap-heading { display: flex; justify-content: space-between; align-items: end; gap: 2rem; margin-bottom: clamp(2rem, 5vw, 4rem); }
.ayap-heading h1 { max-width: 15ch; margin: .45rem 0 1rem; font-family: var(--font-serif); font-size: clamp(2.8rem, 6vw, 5.4rem); line-height: .98; color: var(--ink); }
.ayap-heading p:not(.eyebrow) { max-width: 43rem; margin: 0; color: var(--muted); font-size: clamp(1rem, 1.4vw, 1.2rem); line-height: 1.5; }
.ayap-instagram-link { display: inline-flex; align-items: center; gap: .7rem; flex: none; padding: .8rem 1rem; border: 1px solid rgba(31, 70, 78, .2); border-radius: 999px; color: var(--teal-dark); background: white; text-decoration: none; font-weight: 800; }
.ayap-instagram-link:hover, .ayap-instagram-link:focus-visible { color: white; background: var(--teal-dark); }
.ayap-production-row { display: grid; grid-template-columns: minmax(220px, .65fr) minmax(0, 1.35fr); align-items: center; gap: clamp(1.5rem, 4vw, 4rem); padding: clamp(1.5rem, 3vw, 3rem) 0; border-top: 1px solid rgba(31, 70, 78, .18); }
.ayap-production-row:last-child { border-bottom: 1px solid rgba(31, 70, 78, .18); }
.ayap-production-copy h2 { margin: .55rem 0 1rem; font-family: var(--font-serif); font-size: clamp(2.6rem, 4vw, 4.4rem); line-height: 1; color: var(--ink); }
.ayap-production-copy #alice-heading { font-size: clamp(2.25rem, 3vw, 3rem); }
.ayap-production-copy p:not(.eyebrow) { max-width: 24rem; color: var(--muted); font-size: 1.05rem; line-height: 1.55; }
.ayap-details-link { display: inline-flex; align-items: center; gap: 1rem; margin-top: .8rem; color: var(--teal-dark); font-weight: 900; text-underline-offset: .25em; }
.ayap-production-photos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(.35rem, .8vw, .75rem); text-decoration: none; }
.ayap-production-photos img { display: block; width: 100%; aspect-ratio: 3 / 4; height: auto; object-fit: cover; border-radius: 13px; transition: transform .2s ease, filter .2s ease; }
.ayap-production-photos:hover img { filter: brightness(1.07); }
.ayap-production-photos:focus-visible { outline: 3px solid var(--teal-dark); outline-offset: 5px; border-radius: 14px; }
.rift-production-page .alice-feature-poster { object-fit: cover; aspect-ratio: 1; }
.rift-production-page .alice-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.rift-production-page .alice-gallery a { aspect-ratio: 4 / 3; }

.ayap-heading { flex-direction: column; align-items: center; gap: 1.4rem; text-align: center; }
.ayap-heading h1, .ayap-heading p:not(.eyebrow) { margin-left: auto; margin-right: auto; }
.ayap-instagram-link { color: #fff; background: #c13573; border-color: #c13573; }
.ayap-instagram-link:hover, .ayap-instagram-link:focus-visible { color: #fff; background: #932454; border-color: #932454; }
.ayap-production-copy #charlie-heading { font-size: clamp(2.25rem, 3vw, 3.15rem); }
.ayap-production-row[aria-labelledby="charlie-heading"] .ayap-production-photos img:first-child { object-fit: contain; background: #f4e5ed; }
.charlie-production-page .alice-feature-copy h1 { font-size: clamp(2.8rem, 5vw, 4.6rem); }
.charlie-production-page .alice-gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 850px) {
  .ayap-production-row { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .ayap-production-photos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rift-production-page .alice-gallery { grid-template-columns: 1fr; }
  .charlie-production-page .alice-gallery { grid-template-columns: 1fr; }
}

/* Student account actions live in the header on every public page. */
.site-account-menu { position:relative; flex:0 0 auto; }
.site-account-toggle { display:inline-flex; align-items:center; justify-content:center; gap:.45rem; cursor:pointer; }
.site-account-icon { width:18px; height:18px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; }
.site-account-options { position:absolute; z-index:300; top:calc(100% + .55rem); right:0; display:grid; gap:.2rem; min-width:180px; padding:.45rem; border:1px solid #e8d9de; border-radius:14px; background:#fff; box-shadow:0 18px 44px rgba(38,26,34,.18); }
.site-account-options[hidden] { display:none; }
.site-account-options a,.site-account-options button { display:block; width:100%; padding:.75rem .85rem; border:0; border-radius:9px; background:transparent; color:#3c3037; font:inherit; font-size:.9rem; font-weight:700; line-height:1.25; text-align:left; text-decoration:none; cursor:pointer; }
.site-account-options a:hover,.site-account-options a:focus-visible,.site-account-options button:hover,.site-account-options button:focus-visible { background:#fff0f4; color:#983d5d; outline:none; }
.site-account-options button:disabled { opacity:.65; cursor:wait; }
@media(max-width:1180px) { .site-header.has-mobile-nav.is-mobile-nav-open .site-account-menu { min-width:0; } .site-header.has-mobile-nav.is-mobile-nav-open .site-account-toggle { width:100%; } }

/* Four routes into training and productions on the home page. */
.home-page .home-start-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); width: min(100%, 1460px); max-width: 1460px; }
.home-page .home-start-card { grid-template-rows: clamp(190px, 16vw, 250px) 1fr; }
.home-page .home-start-card > div { grid-template-rows: auto auto 1fr auto; }
.home-page .home-start-card strong { align-self: end; }
.home-page .home-start-card:nth-child(3) img { object-position: center 48%; }
.home-page .home-start-card:nth-child(4) img { object-position: 82% center; }
@media (max-width: 1100px) { .home-page .home-start-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .home-page .home-start-grid { grid-template-columns: 1fr; } }

/* Use the same clear training photos in the program overview and detail pages. */
.program-landing-card .leap-landing-image img.precollege-feature-photo,
.program-slide img.precollege-feature-photo { object-position: 50% 50% !important; }

/* A clean three-photo collage, using the original SDA College photographs. */
.college-photo-mosaic { display: grid; grid-template-columns: minmax(0, 1.35fr) repeat(2, minmax(0, 1fr)); grid-template-rows: minmax(0, 1fr); gap: 8px; overflow: hidden; background: #eef1f0; }
.college-photo-mosaic img { display: block; width: 100%; height: 100%; min-height: 0; object-fit: cover !important; }
.college-photo-mosaic .college-photo-one { object-position: 9% center !important; }
.college-photo-mosaic .college-photo-two { object-position: 50% center !important; }
.college-photo-mosaic .college-photo-three { object-position: 91% center !important; }
.program-slide .college-photo-mosaic { position: absolute; inset: 0; z-index: -2; }
.program-slide .college-photo-mosaic img { position: static; }
.program-slide:hover .college-photo-mosaic img,
.program-slide:focus-visible .college-photo-mosaic img { transform: none; }
.college-landing-image.college-photo-mosaic { min-height: 560px; padding: 8px; }

/* Until current photos are available, let these pathways speak for themselves. */
.programs-page .program-slide-text-only { align-content: center; justify-items: center; gap: 10px; color: var(--ink); text-align: center; background: linear-gradient(145deg, #f6eeeb, #dceeea); }
.programs-page .program-slide-text-only::before { display: none; }
.programs-page .program-slide-text-only span { color: var(--teal-dark); white-space: normal; }
.programs-page .program-slide-text-only strong { margin: 0; white-space: normal; }
body.program-landing-page .program-text-only-card { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; }
.program-text-only-card .program-landing-copy { width: min(100%, 780px); align-items: center; }
.program-text-only-card .program-landing-copy h1 { max-width: none; }
.program-text-only-card .program-landing-copy p:not(.eyebrow) { max-width: 700px; }
.program-text-only-card .leap-points, .program-text-only-card .hero-actions { justify-content: center; }

/* Trial enquiry introduction and a small, local class suggestion guide. */
.trial-page .trial-form-intro h2 { margin: 0; color: var(--ink); font-family: var(--font-serif); font-size: clamp(2rem, 4vw, 3rem); line-height: 1.1; }
.trial-page .trial-enquiry-section { padding-top: clamp(34px, 5vw, 72px); }
.trial-class-guide { position: fixed; z-index: 400; right: 20px; bottom: 20px; display: grid; justify-items: end; gap: 12px; }
.trial-guide-toggle { padding: 14px 19px; color: white; background: var(--accent-dark); border: 0; border-radius: 999px; box-shadow: 0 12px 35px rgba(86, 31, 54, .26); font: inherit; font-weight: 800; cursor: pointer; }
.trial-guide-toggle:hover, .trial-guide-toggle:focus-visible { background: #922b50; outline: 3px solid rgba(184, 58, 91, .22); outline-offset: 3px; }
.trial-guide-panel { box-sizing: border-box; width: min(370px, calc(100vw - 32px)); max-height: min(650px, calc(100vh - 100px)); overflow-y: auto; padding: 22px; background: #fffdfb; border: 1px solid #ecd7dd; border-radius: 20px; box-shadow: 0 22px 70px rgba(32, 25, 35, .26); }
.trial-guide-panel[hidden], .trial-guide-result[hidden], .trial-guide-add[hidden] { display: none; }
.trial-guide-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.trial-guide-heading h2 { margin: 0; color: var(--ink); font-family: var(--font-serif); font-size: 1.55rem; }
.trial-guide-heading button { width: 34px; height: 34px; padding: 0; color: var(--ink); background: #f7e9ec; border: 0; border-radius: 50%; font-size: 1.6rem; line-height: 1; cursor: pointer; }
.trial-guide-panel > p { margin: 10px 0 17px; color: var(--muted); font-size: .9rem; line-height: 1.45; }
.trial-guide-panel form { display: grid; gap: 12px; }
.trial-guide-panel label { display: grid; gap: 5px; color: var(--ink); font-size: .89rem; font-weight: 800; }
.trial-guide-panel label span { color: var(--muted); font-weight: 500; }
.trial-guide-panel input, .trial-guide-panel select { width: 100%; min-height: 42px; padding: 8px 10px; color: var(--ink); background: white; border: 1px solid #d9c9ce; border-radius: 9px; font: inherit; }
.trial-guide-panel form > button { margin-top: 4px; }
.trial-guide-result { margin-top: 18px; padding: 14px; background: #e9f5f1; border-radius: 12px; color: var(--ink); }
.trial-guide-result strong { color: var(--teal-dark); }
.trial-guide-result p { margin: 5px 0; font-weight: 750; }
.trial-guide-result small { display: block; color: var(--muted); line-height: 1.35; }
.trial-guide-add { width: 100%; margin-top: 12px; }
@media (max-width: 640px) { .trial-class-guide { right: 12px; bottom: 12px; } .trial-guide-panel { max-height: calc(100dvh - 85px); } }
