/* ==========================================================================
   ANSHU'S MUSIC ACADEMY — Design System
   Palette: Warm Ivory / Deep Royal Purple / Antique Gold
   ========================================================================== */

:root {
  --ivory: #F8F4EE;
  --purple: #38204F;
  --purple-soft: #4B2E68;
  --plum: #24152F;
  --lavender: #E8DDF0;
  --gold: #C7A15A;
  --gold-soft: #DDC08A;
  --charcoal: #19151D;
  --white: #FFFFFF;
  --muted: #6B6472;
  --line: rgba(56, 32, 79, 0.14);

  --font-display: "Playfair Display", "Cormorant Garamond", Georgia, serif;
  --font-body: "Inter", "DM Sans", "Lato", system-ui, sans-serif;
  --font-script: "Great Vibes", "Segoe Script", cursive;

  --shadow-sm: 0 4px 18px rgba(36, 21, 47, 0.06);
  --shadow-md: 0 14px 40px rgba(36, 21, 47, 0.10);
  --shadow-lg: 0 28px 70px rgba(36, 21, 47, 0.16);

  --radius: 18px;
  --radius-lg: 28px;
  --maxw: 1180px;
  --header-h: 84px;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 18px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--charcoal);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--purple); text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--purple);
  line-height: 1.12;
  margin: 0 0 0.5em;
  font-weight: 700;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4.4vw, 3.1rem); }
h3 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); }

p { margin: 0 0 1rem; }

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  width: min(100% - 44px, var(--maxw));
  margin-inline: auto;
}

.section { padding: clamp(64px, 9vw, 120px) 0; }
.section--lavender { background: var(--lavender); }
.section--white { background: var(--white); }
.section--plum { background: var(--plum); color: #EDE6F3; }
.section--plum h2, .section--plum h3 { color: #fff; }

/* ---------- Shared type helpers ---------- */
.eyebrow {
  font-family: var(--font-body);
  font-size: 0.76rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  display: block;
  margin-bottom: 1.1rem;
}
.eyebrow--dark { color: var(--purple-soft); }

.lead {
  font-size: 1.12rem;
  color: var(--muted);
  max-width: 62ch;
}
.section--plum .lead { color: #CDBFE0; }

.script { font-family: var(--font-script); color: var(--gold); font-weight: 400; }

.divider {
  width: 74px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  border: 0;
  margin: 1.4rem 0;
}
.divider--center { margin-inline: auto; }

.text-center { text-align: center; }
.center-head { max-width: 720px; margin-inline: auto; text-align: center; }
.center-head .lead { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--purple);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.95rem 1.9rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 1.5px solid var(--btn-bg);
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0); }

.btn--primary { --btn-bg: var(--purple); --btn-fg: #fff; }
.btn--primary:hover { --btn-bg: var(--plum); }

.btn--gold {
  --btn-bg: var(--gold);
  --btn-fg: #2a1a12;
}
.btn--gold:hover { --btn-bg: #b78e45; --btn-fg: #1d120c; }

.btn--ghost {
  background: transparent;
  color: var(--purple);
  border-color: var(--purple);
}
.btn--ghost:hover { background: var(--purple); color: #fff; }

.btn--light {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
}
.btn--light:hover { background: #fff; color: var(--purple); }

.btn--lg { padding: 1.15rem 2.4rem; font-size: 1.02rem; }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 600;
  color: var(--purple);
  font-size: 0.92rem;
  border-bottom: 1px solid transparent;
  transition: gap 0.2s var(--ease), border-color 0.2s var(--ease);
}
.link-arrow::after { content: "\2192"; transition: transform 0.2s var(--ease); }
.link-arrow:hover { border-color: var(--gold); }
.link-arrow:hover::after { transform: translateX(3px); }

/* ---------- Decorative staff ---------- */
.staff-lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.5;
  background-image: repeating-linear-gradient(
    to bottom,
    transparent 0 15px,
    rgba(199, 161, 90, 0.22) 15px 16px
  );
  -webkit-mask-image: linear-gradient(90deg, #000, transparent 55%);
  mask-image: linear-gradient(90deg, #000, transparent 55%);
}

/* ==========================================================================
   HEADER / NAV
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(248, 244, 238, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.3s var(--ease);
}
.site-header.is-scrolled { box-shadow: var(--shadow-sm); }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: var(--header-h);
}

.brand { display: flex; align-items: center; gap: 0.8rem; }
.brand__mark {
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--purple);
  color: var(--gold);
  border: 1.5px solid var(--gold);
}
.brand__mark svg { width: 24px; height: 24px; }
.brand__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.12rem;
  line-height: 1.05;
  color: var(--purple);
  letter-spacing: 0.02em;
}
.brand__tag {
  display: block;
  font-family: var(--font-body);
  font-size: 0.6rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-top: 2px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav__links a {
  position: relative;
  display: block;
  padding: 0.5rem 0.85rem;
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--purple);
  border-radius: 8px;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0.85rem;
  right: 0.85rem;
  bottom: 0.28rem;
  height: 1.5px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}
.nav__links a:hover::after,
.nav__links a[aria-current="page"]::after { transform: scaleX(1); }
.nav__links a[aria-current="page"] { color: var(--purple); font-weight: 600; }

.nav__cta { display: flex; align-items: center; gap: 0.6rem; }

.nav__toggle {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  border: 1.5px solid var(--line);
  background: var(--white);
  cursor: pointer;
  padding: 0;
  color: var(--purple);
}
.nav__toggle span,
.nav__toggle span::before,
.nav__toggle span::after {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  margin: 0 auto;
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}
.nav__toggle span::before,
.nav__toggle span::after { content: ""; position: relative; }
.nav__toggle span::before { top: -7px; }
.nav__toggle span::after { top: 5px; }
.nav__toggle[aria-expanded="true"] span { background: transparent; }
.nav__toggle[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span::after { transform: translateY(-5px) rotate(-45deg); }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(48px, 7vw, 96px) 0 clamp(60px, 8vw, 110px);
  background:
    radial-gradient(1100px 620px at 88% -8%, rgba(232, 221, 240, 0.85), transparent 60%),
    var(--ivory);
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
}
.hero__title {
  font-size: clamp(2.7rem, 6.4vw, 5rem);
  letter-spacing: -0.015em;
  margin-bottom: 0.35em;
}
.hero__title em { font-style: normal; color: var(--gold); }
.hero__headline {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.25rem, 2.5vw, 1.7rem);
  color: var(--purple-soft);
  margin-bottom: 0.7rem;
}
.hero__desc { max-width: 54ch; }
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin: 1.8rem 0 1.2rem;
}
.hero__note {
  font-size: 0.86rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.hero__note::before {
  content: "";
  width: 26px;
  height: 1.5px;
  background: var(--gold);
  display: inline-block;
}

.hero__visual { position: relative; display: grid; place-items: center; }
.hero__frame {
  position: relative;
  width: min(100%, 520px);
  aspect-ratio: 1;
  border-radius: 50%;
  padding: 16px;
  background: var(--purple);
  box-shadow: var(--shadow-lg);
}
.hero__frame::after {
  content: "";
  position: absolute;
  inset: 7px;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  pointer-events: none;
}
.hero__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 8px solid var(--ivory);
}
.hero__notes {
  position: absolute;
  left: -3%;
  bottom: -2%;
  width: 132px;
  color: var(--purple);
  opacity: 0.9;
}
.hero__badge {
  position: absolute;
  top: 6%;
  left: -2%;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0.7rem 1rem;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--purple);
}
.hero__badge svg { width: 22px; height: 22px; color: var(--gold); }
.hero__badge--b { top: auto; left: auto; right: -2%; bottom: 8%; }

/* ==========================================================================
   CARD GRIDS
   ========================================================================== */
.grid { display: grid; gap: 24px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem 1.7rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(199, 161, 90, 0.55);
}
.card h3 { margin-bottom: 0.4rem; }
.card p { color: var(--muted); font-size: 0.96rem; }
.card .link-arrow { margin-top: auto; padding-top: 1.1rem; }

.icon-circle {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--purple);
  color: var(--gold);
  margin-bottom: 1.2rem;
  border: 1.5px solid var(--gold);
  flex: 0 0 auto;
}
.icon-circle svg { width: 30px; height: 30px; }
.icon-circle--lav { background: var(--lavender); color: var(--purple); }
.icon-circle--sm { width: 46px; height: 46px; }
.icon-circle--sm svg { width: 22px; height: 22px; }

/* Instrument category cards */
.instrument { align-items: flex-start; }
.instrument .icon-circle { transition: transform 0.35s var(--ease); }
.instrument:hover .icon-circle { transform: rotate(-8deg) scale(1.05); }

/* Number/badge chips */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--purple);
  background: var(--lavender);
  border-radius: 999px;
  padding: 0.32rem 0.8rem;
}

/* ==========================================================================
   SPLIT / FEATURE LAYOUTS
   ========================================================================== */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 68px);
  align-items: center;
}
.split--media-first .split__media { order: -1; }

.split__media { position: relative; }
.photo-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 6px solid var(--white);
  position: relative;
}
.photo-frame img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3.2; }
.photo-frame--tall img { aspect-ratio: 3 / 4; }

.frame-arch {
  border-radius: 220px 220px var(--radius-lg) var(--radius-lg);
}
.frame-arch img { aspect-ratio: 3 / 3.6; }

/* Checklist */
.checklist { list-style: none; margin: 1.6rem 0 0; padding: 0; display: grid; gap: 1rem; }
.checklist li {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  font-weight: 500;
  color: var(--charcoal);
}
.checklist .tick {
  flex: 0 0 26px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--gold);
  color: #2a1a12;
  display: grid;
  place-items: center;
  margin-top: 2px;
  border: 1.5px solid var(--purple);
}
.checklist .tick svg { width: 14px; height: 14px; }
.checklist--light li { color: #EDE6F3; }
.checklist--light .tick { background: var(--gold); border-color: transparent; }

/* ==========================================================================
   PROGRAMME CARDS (numbered premium)
   ========================================================================== */
.programme { position: relative; overflow: hidden; }
.programme__num {
  position: absolute;
  top: -10px;
  right: 16px;
  font-family: var(--font-display);
  font-size: 5.4rem;
  color: var(--lavender);
  line-height: 1;
  z-index: 0;
  transition: color 0.3s var(--ease);
}
.programme:hover .programme__num { color: var(--gold-soft); }
.programme > * { position: relative; z-index: 1; }

/* ==========================================================================
   CTA BANNER
   ========================================================================== */
.cta-banner {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--purple), var(--plum));
  border-radius: var(--radius-lg);
  padding: clamp(40px, 6vw, 76px);
  color: #fff;
  border: 1.5px solid var(--gold);
  text-align: center;
}
.cta-banner h2 { color: #fff; }
.cta-banner p { color: #D9CCEA; max-width: 56ch; margin-inline: auto; }
.cta-banner .eyebrow { color: var(--gold); }
.cta-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 1.8rem;
}
.cta-banner__clef {
  position: absolute;
  right: -20px;
  bottom: -40px;
  width: 220px;
  color: rgba(199, 161, 90, 0.16);
}

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */
.quote {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem 1.8rem;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.quote__mark { font-family: var(--font-display); font-size: 3.4rem; color: var(--gold); line-height: 0.6; margin-bottom: 0.6rem; }
.quote p { font-size: 1rem; color: var(--charcoal); font-style: italic; }
.quote__person { display: flex; align-items: center; gap: 0.8rem; margin-top: auto; padding-top: 1.2rem; }
.quote__avatar {
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--lavender); color: var(--purple);
  display: grid; place-items: center; font-weight: 700; font-family: var(--font-display);
  flex: 0 0 46px;
}
.quote__name { font-weight: 600; color: var(--purple); font-size: 0.95rem; }
.quote__role { font-size: 0.8rem; color: var(--muted); }

.sample-tag {
  display: inline-block;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
}

/* ==========================================================================
   INSTRUCTORS
   ========================================================================== */
.instructor { text-align: center; align-items: center; }
.instructor__photo {
  width: 148px;
  height: 148px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--white);
  box-shadow: var(--shadow-md);
  outline: 1.5px solid var(--gold);
  outline-offset: 4px;
  margin-bottom: 1.2rem;
}
.instructor__spec { color: var(--gold); font-weight: 600; font-size: 0.85rem; letter-spacing: 0.05em; text-transform: uppercase; }
.instructor__meta { list-style: none; padding: 0; margin: 1rem 0 0; font-size: 0.9rem; color: var(--muted); display: grid; gap: 0.5rem; }
.instructor__meta strong { color: var(--purple); }

/* ==========================================================================
   GALLERY
   ========================================================================== */
.masonry {
  columns: 3;
  column-gap: 20px;
}
.masonry__item {
  break-inside: avoid;
  margin-bottom: 20px;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  border: 5px solid var(--white);
  box-shadow: var(--shadow-sm);
  display: block;
  padding: 0;
  background: none;
  width: 100%;
}
.masonry__item img { width: 100%; height: auto; transition: transform 0.5s var(--ease); }
.masonry__item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(36, 21, 47, 0.55), transparent 45%);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}
.masonry__item:hover img { transform: scale(1.06); }
.masonry__item:hover::after { opacity: 1; }
.masonry__cap {
  position: absolute;
  left: 1rem; right: 1rem; bottom: 0.9rem;
  color: #fff;
  font-size: 0.88rem;
  font-weight: 600;
  text-align: left;
  opacity: 0;
  transform: translateY(8px);
  transition: 0.35s var(--ease);
  z-index: 1;
}
.masonry__item:hover .masonry__cap { opacity: 1; transform: none; }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(20, 12, 26, 0.94);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 4vw;
}
.lightbox.is-open { display: flex; }
.lightbox__img {
  max-width: min(1100px, 92vw);
  max-height: 82vh;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  border: 2px solid var(--gold);
}
.lightbox__cap { position: absolute; bottom: 3.5vh; color: #E8DDF0; font-size: 0.95rem; }
.lightbox__btn {
  position: absolute;
  width: 52px; height: 52px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.4);
  background: rgba(255,255,255,0.08);
  color: #fff;
  font-size: 1.4rem;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.2s var(--ease);
}
.lightbox__btn:hover { background: rgba(255,255,255,0.2); }
.lightbox__close { top: 3vh; right: 3vw; }
.lightbox__prev { left: 2vw; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 2vw; top: 50%; transform: translateY(-50%); }

/* ==========================================================================
   FORMS
   ========================================================================== */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.field { display: flex; flex-direction: column; gap: 0.45rem; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 0.88rem; font-weight: 600; color: var(--purple); }
.field label .req { color: #B4462F; }
.field input,
.field select,
.field textarea {
  font-family: var(--font-body);
  font-size: 0.96rem;
  color: var(--charcoal);
  padding: 0.85rem 1rem;
  border-radius: 12px;
  border: 1.5px solid var(--line);
  background: var(--white);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
  width: 100%;
}
.field textarea { resize: vertical; min-height: 132px; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--purple);
  box-shadow: 0 0 0 4px rgba(56, 32, 79, 0.10);
}
.field .error-msg {
  font-size: 0.8rem;
  color: #B4462F;
  min-height: 1em;
  display: none;
}
.field.has-error input,
.field.has-error select,
.field.has-error textarea { border-color: #B4462F; }
.field.has-error .error-msg { display: block; }

.form-status {
  border-radius: 12px;
  padding: 0.95rem 1.1rem;
  font-size: 0.92rem;
  font-weight: 500;
  margin-top: 0.5rem;
  display: none;
}
.form-status.is-success { display: block; background: rgba(45, 122, 76, 0.12); color: #216140; border: 1px solid rgba(45, 122, 76, 0.35); }
.form-status.is-error { display: block; background: rgba(180, 70, 47, 0.10); color: #983a24; border: 1px solid rgba(180, 70, 47, 0.35); }

.contact-panel {
  background: var(--purple);
  color: #EDE6F3;
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 44px);
}
.contact-panel h3 { color: #fff; }
.contact-list { list-style: none; padding: 0; margin: 1.6rem 0 0; display: grid; gap: 1.2rem; }
.contact-list li { display: flex; gap: 0.9rem; align-items: flex-start; }
.contact-list a { color: #fff; }
.contact-list a:hover { color: var(--gold); }
.contact-list .k { font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); display: block; }
.contact-list .v { font-size: 0.98rem; color: #EDE6F3; }
.contact-list .icon-circle { margin: 0; background: rgba(255,255,255,0.08); border-color: rgba(199,161,90,0.6); color: var(--gold); }

/* ==========================================================================
   PAGE HERO (interior pages)
   ========================================================================== */
.page-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 460px at 80% -20%, rgba(232, 221, 240, 0.9), transparent 62%),
    var(--ivory);
  padding: clamp(52px, 7vw, 92px) 0 clamp(40px, 6vw, 70px);
  border-bottom: 1px solid var(--line);
}
.page-hero__inner { max-width: 760px; position: relative; z-index: 1; }
.breadcrumb { font-size: 0.84rem; color: var(--muted); margin-bottom: 1rem; display: flex; gap: 0.5rem; align-items: center; }
.breadcrumb a { color: var(--purple); font-weight: 500; }
.breadcrumb span { color: var(--gold); }

/* ==========================================================================
   STATS STRIP
   ========================================================================== */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { text-align: center; }
.stat__num { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 2.8rem); color: var(--gold); line-height: 1; }
.stat__label { font-size: 0.85rem; color: var(--muted); margin-top: 0.4rem; }
.section--plum .stat__label { color: #B9A9CC; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer { background: var(--plum); color: #C9BBD8; padding: clamp(56px, 7vw, 90px) 0 0; position: relative; overflow: hidden; }
.site-footer h4 { color: #fff; font-family: var(--font-body); font-size: 0.8rem; letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 1.3rem; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 40px; position: relative; z-index: 1; }
.footer__brand { display: flex; align-items: center; gap: 0.8rem; margin-bottom: 1rem; }
.footer__brand .brand__mark { border-color: var(--gold); }
.footer__brand-name { font-family: var(--font-display); font-size: 1.2rem; color: #fff; line-height: 1.1; }
.footer__tagline { font-family: var(--font-script); color: var(--gold); font-size: 1.3rem; margin: 0.4rem 0 0.8rem; }
.site-footer p { color: #C9BBD8; font-size: 0.92rem; }
.footer__links { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.7rem; }
.footer__links a { color: #C9BBD8; font-size: 0.92rem; transition: color 0.2s var(--ease); }
.footer__links a:hover { color: var(--gold); }
.footer__social { display: flex; gap: 0.6rem; margin-top: 1.2rem; }
.footer__social a {
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1.5px solid rgba(199, 161, 90, 0.45);
  color: var(--gold);
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}
.footer__social a:hover { background: var(--gold); color: var(--plum); }
.footer__social svg { width: 18px; height: 18px; }
.footer__bottom {
  margin-top: clamp(40px, 5vw, 64px);
  border-top: 1px solid rgba(199, 161, 90, 0.22);
  padding: 1.6rem 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  font-size: 0.84rem;
  color: #A695BB;
  position: relative;
  z-index: 1;
}
.footer__bottom a { color: #A695BB; }
.footer__bottom a:hover { color: var(--gold); }
.footer__legal { display: flex; gap: 1.4rem; flex-wrap: wrap; }

/* ==========================================================================
   TO-TOP + UTIL
   ========================================================================== */
.to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  background: var(--purple);
  color: var(--gold);
  display: grid;
  place-items: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: 0.3s var(--ease);
  z-index: 90;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top svg { width: 20px; height: 20px; }

.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 80px;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: none;
  place-items: center;
  box-shadow: var(--shadow-md);
  z-index: 90;
}
.whatsapp-float.is-enabled { display: grid; }
.whatsapp-float svg { width: 24px; height: 24px; }

/* ---------- Placeholder / editable markers ---------- */
.ph { border-bottom: 1px dashed rgba(199, 161, 90, 0.75); cursor: help; }
.ph-note {
  display: inline-block;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  background: rgba(199, 161, 90, 0.12);
  border: 1px solid rgba(199, 161, 90, 0.45);
  border-radius: 999px;
  padding: 0.18rem 0.66rem;
  margin-bottom: 0.5rem;
}
.section--plum .ph-note { color: var(--gold); }

/* ---------- Long-form legal pages ---------- */
.prose { max-width: 780px; margin-inline: auto; }
.prose h2 { margin-top: 2.2rem; }
.prose h3 { margin-top: 1.6rem; }
.prose p, .prose li { color: #3b3442; }
.prose ul { padding-left: 1.2rem; }
.prose li { margin-bottom: 0.5rem; }

/* ---------- Instrument icon feature row ---------- */
.mini-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.mini {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.3rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.mini h4 { margin: 0 0 0.2rem; font-family: var(--font-body); font-size: 1rem; color: var(--purple); }
.mini p { margin: 0; font-size: 0.9rem; color: var(--muted); }

.reveal { opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
  .js .reveal.is-visible { opacity: 1; transform: none; }
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1024px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .masonry { columns: 2; }
}

@media (max-width: 1080px) {
  .nav__toggle { display: grid; place-items: center; }
  .nav__links {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--ivory);
    padding: 1rem 22px 1.6rem;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    transform: translateY(-120%);
    transition: transform 0.35s var(--ease);
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
  }
  .nav__links.is-open { transform: none; }
  .nav__links a { padding: 0.95rem 0.4rem; border-bottom: 1px solid var(--line); font-size: 1.02rem; }
  .nav__links a::after { display: none; }
  .nav__cta .btn--primary { display: none; }
}

@media (max-width: 900px) {
  :root { --header-h: 74px; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__frame { width: min(100%, 420px); margin-inline: auto; }
  .hero__badge { display: none; }
  .split { grid-template-columns: 1fr; }
  .split--media-first .split__media { order: 0; }
  .split__media { order: -1; }
  .grid--3 { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr 1fr; gap: 28px; }
  .mini-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .container { width: calc(100% - 32px); }
  .grid--3, .grid--4, .grid--2 { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .masonry { columns: 1; }
  .footer__grid { grid-template-columns: 1fr; gap: 34px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .brand__name { font-size: 1rem; }
  .hero__actions .btn { width: 100%; }
  .cta-banner__actions .btn { width: 100%; }
  .lightbox__prev { left: 8px; }
  .lightbox__next { right: 8px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .mini-grid { grid-template-columns: 1fr; }
}

@media (max-width: 400px) {
  .stats { grid-template-columns: 1fr; }
}
