:root {
  --purple: #4b2c7f;
  --purple-deep: #32195a;
  --purple-mid: #6b3fa0;
  --magenta: #c2185b;
  --red: #ed1c24;
  --heading: #4b2c7f;
  --ink: #2b2b2b;
  --muted: #6a6a6a;
  --line: #ece8f2;
  --paper: #ffffff;
  --mist: #f6f4f8;
  --shadow: 0 14px 40px rgba(75, 44, 127, 0.1);
  --radius: 18px;
  --max: 1440px;
  --gutter: clamp(20px, 4.5vw, 72px);
  --header-h: 92px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

h1,
h2,
h3,
h4,
.section-title {
  font-family: "Montserrat", sans-serif;
  color: var(--heading);
  font-weight: 800;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font-family: inherit;
}

.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--purple);
  color: #fff;
  padding: 8px 14px;
  z-index: 1000;
}

.skip:focus {
  left: 8px;
}

.container {
  width: min(var(--max), calc(100% - (var(--gutter) * 2)));
  margin: 0 auto;
}

.container-wide {
  width: min(var(--max), calc(100% - (var(--gutter) * 2)));
  margin: 0 auto;
}

/* Header */
.header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  background: transparent;
  transition: background 0.25s ease, box-shadow 0.25s ease;
}

.header.is-scrolled {
  position: fixed;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  box-shadow: 0 8px 24px rgba(50, 25, 90, 0.08);
}

.header.is-open {
  position: fixed;
  background: #fff;
  box-shadow: 0 8px 24px rgba(50, 25, 90, 0.08);
  backdrop-filter: none;
}

.header-inner {
  width: min(var(--max), calc(100% - (var(--gutter) * 2)));
  margin: 0 auto;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.brand img {
  height: 72px;
  width: auto;
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 10px;
}

.tool-flag img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.tool-icon {
  width: 32px;
  height: 32px;
  border: 1.4px solid var(--purple);
  border-radius: 50%;
  color: var(--purple);
  display: grid;
  place-items: center;
}

.tool-icon svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.tool-icon:hover,
.tool-flag:hover {
  opacity: 0.75;
}

.menu-toggle {
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  cursor: pointer;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 6px;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--purple);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.header.is-open .menu-toggle span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.header.is-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.header.is-open .menu-toggle span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.nav-overlay {
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  bottom: 0;
  height: calc(100vh - var(--header-h));
  z-index: 80;
  background: rgba(18, 8, 32, 0.94);
  color: #fff;
  overflow: auto;
  padding: 48px 0 72px;
}

.nav-overlay[hidden] {
  display: none;
}

.nav-shell {
  width: min(1100px, calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(220px, 0.9fr) 1.3fr minmax(200px, 0.7fr);
  gap: 48px;
  align-items: start;
}

.nav-primary {
  display: grid;
  gap: 8px;
}

.nav-item {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(22px, 2.4vw, 32px);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  background: none;
  border: 0;
  padding: 8px 0;
  text-align: left;
  cursor: pointer;
  width: 100%;
}

.nav-item.is-active,
.nav-item:hover,
a.nav-item:hover {
  color: #fff;
}

.nav-mega {
  border-left: 1px solid rgba(255, 255, 255, 0.12);
  padding-left: 36px;
  min-height: 280px;
}

.mega-panel {
  display: none;
  grid-gap: 18px;
}

.mega-panel.is-active {
  display: grid;
}

.mega-panel a {
  display: grid;
  gap: 4px;
  color: #fff;
}

.mega-panel strong {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(18px, 1.8vw, 26px);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
}

.mega-panel span {
  font-size: 14px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.7);
  max-width: 420px;
  line-height: 1.5;
}

.nav-aside {
  display: grid;
  gap: 14px;
  justify-items: start;
  padding-top: 10px;
  min-width: 240px;
}

.nav-aside a {
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
}

.nav-trial {
  margin-bottom: 8px;
  border-radius: 999px;
  padding: 14px 22px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-size: 12px;
  white-space: nowrap;
  width: max-content;
  max-width: none;
}

.nav-trial:hover {
  color: #fff;
}

body.nav-open {
  overflow: hidden;
}

body.nav-open .trial-popup,
body.nav-open .whatsapp-fab {
  opacity: 0;
  pointer-events: none;
}

.trial-popup {
  position: fixed;
  left: 22px;
  bottom: 22px;
  z-index: 45;
  display: inline-flex;
  align-items: center;
  background: var(--purple);
  color: #fff;
  font-family: "Montserrat", sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 14px 20px;
  border-radius: 999px;
  box-shadow: 0 12px 30px rgba(75, 44, 127, 0.28);
  white-space: nowrap;
  width: max-content;
}

.trial-popup:hover {
  background: var(--purple-deep);
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  background: #f3eef8;
}

.hero-track {
  position: relative;
  height: min(86vh, 820px);
  min-height: 460px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.7s ease, visibility 0.7s ease;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% center;
}

.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.88) 0%,
    rgba(255, 255, 255, 0.62) 28%,
    rgba(255, 255, 255, 0.18) 52%,
    transparent 68%
  );
}

.hero-copy {
  position: absolute;
  z-index: 2;
  left: max(40px, calc((100% - var(--max)) / 2));
  top: 50%;
  transform: translateY(-50%);
  max-width: 460px;
}

.hero-copy h1 {
  font-size: clamp(32px, 4.4vw, 52px);
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 14px;
  text-wrap: balance;
}

.hero-copy--lead {
  max-width: min(640px, calc(100% - 80px));
}

.hero-kicker {
  color: var(--purple);
  font-size: clamp(14px, 1.6vw, 18px);
  font-weight: 600;
  line-height: 1.45;
  max-width: 520px;
  margin-bottom: 12px;
}

.hero-copy--lead h1 {
  font-size: clamp(32px, 5vw, 58px);
  line-height: 1.08;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-copy p {
  color: var(--muted);
  font-size: clamp(14px, 1.4vw, 16px);
  max-width: 420px;
  margin-bottom: 22px;
}

.hero-cta {
  border-radius: 999px;
  padding: 12px 28px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  font-size: 13px;
  white-space: nowrap;
}

.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--purple);
  font-weight: 600;
  font-size: 14px;
}

.btn-link:hover {
  color: var(--magenta);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--purple);
  color: #fff;
  border: 0;
  border-radius: 8px;
  padding: 12px 26px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.btn:hover {
  background: var(--purple-deep);
}

.hero-dots {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}

.hero-dots button {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 0;
  background: #cfc7da;
  cursor: pointer;
}

.hero-dots button.is-active {
  background: var(--red);
  transform: scale(1.15);
}

.hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.88);
  color: var(--purple);
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  display: grid;
  place-items: center;
}

.hero-arrow.prev {
  left: 18px;
}

.hero-arrow.next {
  right: 18px;
}

.hero-arrow:hover {
  background: var(--purple);
  color: #fff;
}

/* Section titles */
.section {
  padding: 72px 0 28px;
}

.section-title {
  font-size: 32px;
  letter-spacing: 0.08em;
  margin-bottom: 28px;
  text-transform: uppercase;
}

.section.alt {
  background: var(--mist);
  padding: 72px 0 40px;
}

/* Service tabs */
.services {
  width: 100%;
  padding: clamp(48px, 7vw, 88px) 0;
  background: #fff;
}

.services--dance {
  background: var(--mist);
}

.service-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0;
  margin-bottom: clamp(28px, 4vw, 48px);
}

.service-tabs button {
  background: none;
  border: 0;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(12px, 1.15vw, 15px);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #c5c5c5;
  padding: 8px 16px;
  cursor: pointer;
  position: relative;
  white-space: nowrap;
}

.service-tabs button + button::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 1px;
  height: 14px;
  background: #d7d7d7;
  transform: translateY(-50%);
}

.service-tabs button.is-active,
.service-tabs button:hover {
  color: var(--purple);
}

.service-viewport {
  overflow: hidden;
  width: 100%;
}

.service-track {
  display: flex;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.service-slide {
  min-width: 100%;
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(280px, 1.1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}

.service-slide.is-flip {
  grid-template-columns: minmax(280px, 1.05fr) minmax(260px, 0.95fr);
}

.service-copy h2 {
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.05;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.service-copy p {
  color: var(--muted);
  font-size: clamp(14px, 1.25vw, 16px);
  line-height: 1.7;
  max-width: 460px;
  margin-bottom: 28px;
}

.service-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.btn-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 108px;
  height: 42px;
  padding: 0 22px;
  border: 1.5px solid var(--purple);
  border-radius: 999px;
  color: var(--purple);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.btn-more:hover {
  background: var(--purple);
  color: #fff;
}

.service-arrows {
  display: flex;
  gap: 8px;
}

.service-arrows button {
  width: 32px;
  height: 32px;
  border: 0;
  background: none;
  color: var(--purple);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.service-media {
  min-height: clamp(280px, 42vw, 460px);
  border-radius: 18px;
  overflow: hidden;
}

.service-media img {
  width: 100%;
  height: 100%;
  min-height: clamp(280px, 42vw, 460px);
  object-fit: cover;
}

/* Testimonials */
.testimonials {
  padding: 72px 0 36px;
}

.quote-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
  padding-top: 56px;
}

.quote-card {
  background: #fff;
  border: 1.5px solid var(--purple);
  border-radius: 18px;
  padding: 0 20px 26px;
  text-align: center;
}

.quote-card img {
  width: 108px;
  height: 108px;
  object-fit: cover;
  border-radius: 16px;
  border: 2px solid var(--purple);
  margin: -52px auto 12px;
}

.stars {
  color: #c9a227;
  letter-spacing: 3px;
  font-size: 13px;
  line-height: 1;
}

.quote-name {
  margin-top: 8px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #9a9a9a;
}

.quote-mark {
  display: block;
  margin: 2px 0 4px;
  font-family: Georgia, "Playfair Display", serif;
  font-size: 52px;
  line-height: 0.8;
  color: var(--magenta);
}

.quote-text {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 15px;
  line-height: 1.55;
  color: #4a4a4a;
  text-align: left;
}

/* Exams */
.exams {
  padding: 48px 0 20px;
  text-align: center;
}

.exam-kicker {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #333;
  margin-bottom: 28px;
}

.exam-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr 1fr;
  align-items: center;
  gap: 0;
}

.exam-cell {
  display: grid;
  place-items: center;
  min-height: 110px;
  padding: 8px 28px;
}

.exam-cell + .exam-cell {
  border-left: 1px solid #d8d8d8;
}

.exam-cell img {
  max-height: 88px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

.exam-cell h3 {
  font-size: 18px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.35;
  max-width: 260px;
}

.exam-note {
  max-width: 620px;
  margin: 22px auto 0;
  color: #555;
  font-size: 14px;
  line-height: 1.6;
}

/* Enquire */
.enquire {
  padding: 48px 0 72px;
}

.enquire-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 48px;
  align-items: center;
}

.enquire-form-wrap h2 {
  font-size: clamp(24px, 2.6vw, 34px);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1.25;
  margin-bottom: 22px;
}

.enquire-form {
  display: grid;
  gap: 14px;
  max-width: 420px;
}

.enquire-form input,
.enquire-form select {
  width: 100%;
  height: 48px;
  border: 1.5px solid var(--purple);
  border-radius: 10px;
  padding: 0 14px;
  background: #fff;
  color: #333;
  font-size: 14px;
  appearance: none;
}

.enquire-form select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%23999' stroke-width='1.6' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.enquire-form input::placeholder {
  color: #b0b0b0;
}

.enquire-form select:invalid,
.enquire-form select option[disabled] {
  color: #b0b0b0;
}

.enquire-form select:valid {
  color: #333;
}

.btn-outline {
  width: fit-content;
  min-width: 120px;
  height: 46px;
  border: 1.5px solid var(--purple);
  border-radius: 10px;
  background: #fff;
  color: #333;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
}

.btn-outline:hover {
  background: var(--purple);
  color: #fff;
}

.form-status {
  color: var(--purple);
  font-size: 14px;
  font-weight: 500;
}

.enquire-photo {
  border-radius: 22px;
  overflow: hidden;
}

.enquire-photo img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  object-position: center 40%;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Footer */
.footer {
  background: #fff;
  color: #444;
}

.footer-main {
  width: min(var(--max), calc(100% - (var(--gutter) * 2)));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 0.95fr 0.7fr 0.65fr 0.8fr;
  gap: clamp(20px, 3vw, 40px);
  align-items: start;
  padding: clamp(36px, 5vw, 64px) 0 clamp(28px, 4vw, 48px);
}

.footer-piano-wrap {
  min-height: 200px;
  display: flex;
  align-items: flex-end;
  margin-left: calc(var(--gutter) * -0.4);
}

.footer-piano {
  width: 100%;
  max-height: 280px;
  object-fit: contain;
  object-position: left bottom;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  padding-top: 8px;
}

.footer-brand img {
  height: 82px;
  width: auto;
}

.footer-brand a {
  color: #6a6a6a;
  font-size: 13px;
}

.footer-brand a:hover {
  color: var(--purple);
}

.socials {
  display: flex;
  gap: 10px;
  margin: 4px 0 2px;
}

.socials a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: transparent;
  border: 1.5px solid #b9b9b9;
  color: #8a8a8a;
}

.socials a:hover {
  border-color: var(--purple);
  color: var(--purple);
}

.socials svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.footer-col h4 {
  font-size: 16px;
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
  display: grid;
  gap: 10px;
}

.footer-col li,
.footer-col a {
  color: #555;
  font-size: 14px;
}

.footer-col a:hover {
  color: var(--purple);
}

.footer-bar {
  background: var(--purple);
  color: #fff;
  text-align: center;
  padding: 28px 20px 20px;
}

.footer-legal {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 12px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 22px;
}

.footer-legal a,
.footer-legal span {
  color: #fff;
}

.footer-legal a:hover {
  opacity: 0.75;
}

.footer-partners {
  display: block;
  height: 48px;
  width: min(680px, 92%);
  margin: 0 auto 18px;
  object-fit: contain;
}

.footer-bar p {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.78);
}

.whatsapp-fab {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 40;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.35);
  background: #25d366;
  color: #fff;
}

.whatsapp-fab svg {
  width: 30px;
  height: 30px;
  fill: currentColor;
}

@media (max-width: 1024px) {
  .nav-shell {
    grid-template-columns: 1fr 1.2fr;
    gap: 32px;
  }

  .nav-aside {
    grid-column: 1 / -1;
    grid-auto-flow: column;
    justify-content: start;
    align-items: center;
    gap: 18px;
  }

  .quote-grid {
    grid-template-columns: repeat(2, 1fr);
    padding-top: 64px;
  }

  .service-slide,
  .service-slide.is-flip,
  .enquire-grid,
  .footer-main {
    grid-template-columns: 1fr 1fr;
  }

  .footer-piano-wrap {
    grid-column: 1 / -1;
    margin-left: 0;
  }
}

@media (max-width: 860px) {
  .header-tools {
    gap: 7px;
  }

  .tool-icon {
    width: 30px;
    height: 30px;
  }

  .brand img {
    height: 58px;
  }

  .nav-shell {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .nav-mega {
    border-left: 0;
    padding-left: 0;
    min-height: 0;
  }

  .nav-item {
    font-size: 22px;
  }

  .trial-popup {
    left: 16px;
    bottom: 18px;
    font-size: 11px;
    padding: 12px 14px;
  }

  .hero-copy {
    left: 24px;
    right: 24px;
    max-width: 88%;
  }

  .hero-copy h1,
  .hero-copy--lead h1 {
    font-size: clamp(26px, 8vw, 36px);
  }

  .hero-arrow {
    display: none;
  }

  .service-tabs {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    scrollbar-width: none;
    margin-inline: calc(var(--gutter) * -1);
    padding-inline: var(--gutter);
  }

  .service-slide,
  .service-slide.is-flip {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .service-slide.is-flip .service-media {
    order: -1;
  }

  .service-copy p {
    max-width: none;
  }

  .enquire-grid,
  .footer-main,
  .quote-grid,
  .exam-grid {
    grid-template-columns: 1fr;
  }

  .exam-cell + .exam-cell {
    border-left: 0;
    border-top: 1px solid #d8d8d8;
    padding: 20px 12px;
  }

  .enquire-photo img {
    min-height: 280px;
  }

  .footer-piano-wrap {
    min-height: 160px;
  }

  .quote-card img {
    margin-top: -44px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .header {
    transition: none;
  }
}
