: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;
}

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;
}

.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 {
  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);
}

.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: 22px;
  align-items: flex-start;
  margin-top: 28px;
}

.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% - 11px);
  min-width: 360px;
  padding: clamp(20px, 3vw, 30px);
  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: 18px;
}

.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: 14px;
  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.35rem, 2vw, 1.8rem);
  line-height: 1.1;
}

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

.schedule-list li {
  position: relative;
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: start;
  padding: 12px;
  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: 18px;
}

.schedule-list li::after {
  align-self: start;
  padding: 5px 8px;
  color: #343a3b;
  content: attr(data-stage);
  font-size: 0.72rem;
  font-weight: 850;
  line-height: 1.2;
  background: var(--stage-color, var(--stage-neutral));
  border: 1px solid rgba(27, 47, 48, 0.08);
  border-radius: 999px;
  white-space: nowrap;
}

.schedule-list time {
  color: var(--accent-dark);
  font-size: 0.78rem;
  font-weight: 850;
  line-height: 1.35;
}

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

.schedule-list strong {
  line-height: 1.25;
}

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

.class-teacher {
  color: #3f4547;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.35;
}

.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;
}

.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;
}

.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: 12px;
  padding-bottom: 12px;
  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-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-centred-natural-studio-wall-levelled.jpg") center 42% / 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-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;
}

@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(42px, 6vw, 72px);
  padding-bottom: clamp(30px, 4vw, 52px);
}

.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(28px, 5vw, 68px);
  padding-bottom: clamp(34px, 6vw, 78px);
  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: clamp(26px, 4vw, 42px) auto 0;
}

.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(12px, 3vw, 34px);
}

.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 {
  display: grid;
  gap: 6px;
  min-height: 112px;
  align-content: start;
  padding: 20px 22px;
  color: var(--ink);
  text-decoration: none;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 16px 42px rgba(24, 34, 35, 0.07);
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.program-summary-item:hover,
.program-summary-item:focus-visible {
  border-color: rgba(184, 58, 91, 0.28);
  box-shadow: 0 18px 46px rgba(24, 34, 35, 0.1);
  outline: none;
  transform: translateY(-2px);
}

.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;
}

.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-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 {
  border-color: rgba(198, 65, 116, 0.22);
  box-shadow: 0 22px 70px rgba(31, 41, 51, 0.12);
}

.priority-fee-card .button {
  width: fit-content;
  margin-top: 4px;
}

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

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

.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);
}

.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 46%;
  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 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 .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);
}

.hero-trust-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 4px;
}

.hero-trust-chips span {
  padding: 8px 13px;
  color: rgba(251, 246, 236, 0.86);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(251, 246, 236, 0.1);
  border: 1px solid rgba(251, 246, 236, 0.22);
  border-radius: 999px;
  backdrop-filter: blur(12px);
}

.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(320px, 0.52fr);
  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: 760px;
  font-weight: 800;
}

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

.trial-hero-card {
  position: relative;
  display: grid;
  min-height: clamp(360px, 35vw, 500px);
  overflow: hidden;
  align-content: end;
  color: var(--ivory);
  background: var(--charcoal);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  isolation: isolate;
}

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

.trial-hero-card img.trial-hero-feature-image {
  object-fit: contain;
  object-position: top center;
  background: #f7f5f2;
}

.trial-hero-card::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    linear-gradient(180deg, rgba(18, 18, 18, 0.08) 20%, rgba(18, 18, 18, 0.78) 100%),
    linear-gradient(90deg, rgba(18, 18, 18, 0.28), rgba(18, 18, 18, 0.02));
}

.trial-hero-card-copy {
  display: grid;
  gap: 8px;
  padding: clamp(22px, 3vw, 32px);
}

.trial-hero-card-copy span {
  width: fit-content;
  padding: 7px 11px;
  color: var(--ivory);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: rgba(184, 58, 91, 0.92);
  border-radius: 999px;
}

.trial-hero-card-copy strong {
  color: var(--ivory);
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 2.5vw, 2.35rem);
  font-weight: 500;
  line-height: 1.05;
}

.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-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.82fr) 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 center;
  filter: saturate(0.98) contrast(1.05) brightness(0.96);
}

.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-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,
  .home-start-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: 30px;
  }

  .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: clamp(300px, 58vw, 420px);
  }

  .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 {
  display: grid;
  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);
}

.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 {
  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 {
  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 {
  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);
}

.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);
}

@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));
}

.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;
}

@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: 22px;
  }

  .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);
}

.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: 900px) {
  .leap-landing-page {
    overflow: auto;
  }

  .leap-landing-main {
    min-height: auto;
  }

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

  .leap-landing-image {
    min-height: 280px;
  }
}
