/* The Musiq Academy — marketing site
   Palette: charcoal-violet, a single pink for actions, gold accents, and a soft warm-beige page and panels. */

:root {
  --brand: #1F283C;
  --brand-deep: #151c2c;
  --brand-mid: #2e3a56;
  --gold: #e5b25d;
  --gold-ink: #8a5f12;
  --pink: #d9267d;
  --pink-hover: #c01f6d;
  --cream: #f6efdc;
  --paper: #faf7f0;
  --soft: #f3eee2;
  --ink: #151c2c;
  --muted: #596176;
  --line: #e5ddcb;
  --line-dark: rgba(246, 239, 220, 0.16);
  --focus-light: #d9267d;
  --focus-dark: #e5b25d;

  --font-display: "Cinzel", Georgia, "Times New Roman", serif;
  --w-display: 700;
  --font-body: "Jost", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1120px;
  --header-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem; /* Jost sets small, so the base is a touch larger */
  font-weight: 500;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* Keeps edge-bleeding elements from causing sideways scroll without breaking sticky */
main { overflow-x: clip; }

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

h1, h2, h3 { font-family: var(--font-display); font-weight: var(--w-display); line-height: 1.12; margin: 0; letter-spacing: 0.01em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; }

.wrap { width: min(100% - 2rem, var(--wrap)); margin-inline: auto; }

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

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--gold); color: var(--brand-deep);
  padding: 0.6rem 1rem; font-weight: 600; text-decoration: none;
  transition: top 0.15s;
}
.skip-link:focus { top: 1rem; }

:focus-visible { outline: 2px solid var(--focus-light); outline-offset: 3px; }
.on-dark :focus-visible { outline-color: var(--focus-dark); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.85rem 1.6rem;
  font: 600 0.95rem/1 var(--font-body);
  letter-spacing: 0.02em;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 2px;
  cursor: pointer;
  transition: background-color 0.18s, color 0.18s, border-color 0.18s;
}
.btn-sm { padding: 0.65rem 1.1rem; font-size: 0.85rem; }
.btn-primary { background: var(--pink); color: #fff; }
.btn-primary:hover { background: var(--pink-hover); }
.btn-ghost { color: var(--cream); border-color: rgba(246, 239, 220, 0.5); }
.btn-ghost:hover { border-color: var(--cream); background: rgba(246, 239, 220, 0.08); }
.btn-outline { color: var(--brand); border-color: var(--brand); }
.btn-outline:hover { background: rgba(31, 40, 60, 0.06); }

.link-arrow {
  display: inline-block; font-weight: 600; color: var(--brand); text-decoration: none;
  border-bottom: 1px solid var(--gold); padding-bottom: 2px;
}
.link-arrow::after { content: " →"; }
.link-arrow:hover { color: var(--brand-mid); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--brand);
  color: var(--cream);
  border-bottom: 1px solid var(--line-dark);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 0.7rem; text-decoration: none; color: var(--cream); }
.brand-mark { width: 40px; height: 40px; }
/* Name set like the logo's lockup: "The Musiq" over a small, spaced "Academy". */
.brand-name { display: inline-flex; flex-direction: column; line-height: 1; }
.brand-top { font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; letter-spacing: 0.04em; color: var(--cream); }
/* Each letter is its own span, spread edge to edge so "ACADEMY" is exactly as wide as "The Musiq". */
.brand-sub { display: flex; justify-content: space-between; margin-top: 0.34rem; font-size: 0.84rem; font-weight: 700; text-transform: uppercase; color: var(--cream); }

.site-nav { display: flex; align-items: center; gap: 1.75rem; }
.site-nav ul { display: flex; gap: 1.75rem; }
.site-nav ul a { text-decoration: none; font-size: 0.9rem; color: rgba(246, 239, 220, 0.82); padding: 0.4rem 0; }
.site-nav ul a:hover { color: var(--gold); }

.nav-toggle {
  display: none; width: 44px; height: 44px; padding: 0;
  background: none; border: 0; color: var(--cream); cursor: pointer;
}
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
  display: block; width: 22px; height: 2px; background: currentColor; position: relative; margin: 0 auto;
}
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -7px; }
.nav-toggle-bars::after { top: 7px; }

@media (max-width: 880px) {
  .nav-toggle { display: block; }
  .site-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0.5rem;
    background: var(--brand); padding: 0.5rem 1rem 1.25rem;
    border-bottom: 1px solid var(--line-dark);
  }
  .site-nav.open { display: flex; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav ul a { display: block; padding: 0.85rem 0; border-bottom: 1px solid var(--line-dark); }
  .site-nav .btn { margin-top: 0.75rem; }
}

/* ---------- Hero ---------- */
.hero { background: var(--soft); color: var(--ink); padding-block: clamp(2.5rem, 7vw, 5.5rem); }
.hero-grid { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.1fr 0.9fr; gap: 3rem; } }

.eyebrow {
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gold-ink); margin-bottom: 1rem;
}
.on-dark .eyebrow { color: var(--gold); }

.hero h1 { font-size: clamp(2rem, 5vw, 3.25rem); margin-bottom: 1.25rem; color: var(--brand); }
.lead { font-size: 1.1rem; max-width: 34em; color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }
@media (max-width: 560px) { .hero .hero-actions .btn { flex: 1 1 100%; text-align: center; } }   /* phone: the two hero buttons are the same width, one above the other */

/* The ghost button is cream-on-dark everywhere else; on the light hero it is charcoal. */
.hero .btn-ghost { color: var(--brand); border-color: var(--brand); }
.hero .btn-ghost:hover { background: rgba(31, 40, 60, 0.06); border-color: var(--brand); }

.hero-stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  margin-top: 2.75rem; padding-top: 1.75rem; border-top: 1px solid var(--line);
}
/* Three equal columns, centred, with a fine divider between them, so the facts read as one even row */
.hero-stats li { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 0.75rem; }
.hero-stats li + li { border-left: 1px solid var(--line); }
.hero-stats strong { font-family: var(--font-display); font-weight: var(--w-display); font-size: 1.55rem; line-height: 1.1; letter-spacing: 0.05em; text-transform: uppercase; color: var(--brand); }
.hero-stats span { font-size: 0.95rem; font-weight: 500; line-height: 1.35; color: var(--muted); margin-top: 0.45rem; }
@media (max-width: 560px) {
  .hero-stats li { padding: 0 0.4rem; }
  .hero-stats strong { font-size: 1.1rem; letter-spacing: 0.03em; }
  .hero-stats span { font-size: 0.8rem; margin-top: 0.35rem; }
}

/* The logo's own charcoal background shows as a rounded card on the light page. */
.hero-art img {
  width: 100%; max-width: 520px; margin-inline: auto; height: auto;
  border-radius: 14px; box-shadow: 0 24px 50px -28px rgba(21, 28, 44, 0.55);
}

/* ---------- Sections ---------- */
.section { padding-block: clamp(3.5rem, 8vw, 6rem); }
.band-soft { background: var(--soft); }
.band-dark { background: var(--brand); color: var(--cream); }

.section-head { max-width: 40rem; margin-bottom: clamp(2rem, 5vw, 3.25rem); }
.section h2, .cta h2 { font-size: clamp(1.55rem, 3.4vw, 2.3rem); }
.lede { margin-top: 1rem; font-size: 1.05rem; color: var(--muted); max-width: 36em; }
.band-dark .lede { color: rgba(246, 239, 220, 0.8); margin-bottom: 1.75rem; }

/* ---------- Instruments ---------- */
.offer { display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--line); }
@media (min-width: 640px) { .offer { grid-template-columns: repeat(2, 1fr); column-gap: 3rem; } }
@media (min-width: 980px) { .offer { grid-template-columns: repeat(3, 1fr); } }

.offer li { padding: 1.9rem 0 2.1rem; border-bottom: 1px solid var(--line); }
.offer .num { display: block; font-family: var(--font-display); font-size: 1.05rem; font-weight: 700; letter-spacing: 0.14em; color: var(--gold-ink); margin-bottom: 0.55rem; }
.offer h3 { font-size: 1.5rem; margin-bottom: 0.6rem; color: var(--brand); }
.offer p { color: var(--muted); font-size: 1.1rem; line-height: 1.7; max-width: 28em; }
.offer .offer-cta p { margin-bottom: 1rem; }

/* ---------- Steps ---------- */
.steps { display: grid; gap: 2rem; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 3rem; } }
.step { border-top: 1px solid var(--brand); padding-top: 1.25rem; }
.step-num { display: block; font-family: var(--font-display); font-weight: var(--w-display); font-size: 2.25rem; line-height: 1; color: var(--gold-ink); margin-bottom: 0.9rem; }
.step h3 { font-size: 1.4rem; color: var(--brand); margin-bottom: 0.6rem; }
.step p { color: var(--muted); font-size: 1.1rem; line-height: 1.7; max-width: 24em; }

/* ---------- Plans ---------- */
.plans-layout { display: grid; gap: 2.5rem; align-items: start; }
@media (min-width: 900px) { .plans-layout { grid-template-columns: 0.95fr 1.05fr; gap: 4rem; } }

.how-classes h3 { font-size: 1.4rem; color: var(--brand); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 1.25rem; }
.how-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.1rem; }
.how-list li { position: relative; padding-left: 1.6rem; color: var(--muted); font-size: 1.08rem; line-height: 1.65; }
.how-list li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 0.7rem; height: 2px; background: var(--gold); }
.how-list strong { color: var(--brand); font-weight: 600; }

.plans { display: grid; gap: 1rem; grid-template-columns: 1fr; }
.plan {
  position: relative; background: #fff; border: 1px solid var(--line);
  padding: 1.5rem 1.5rem; text-align: left;
  display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 0 1.5rem;
}
.plan-count { font-family: var(--font-display); font-weight: var(--w-display); font-size: 3rem; line-height: 1; color: var(--brand); margin: 0; min-width: 5.5rem; text-align: center; }
.plan-count span { display: block; font-family: var(--font-body); font-weight: 600; font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-ink); margin-top: 0.45rem; }
.plan h3 { font-family: var(--font-display); font-size: 1.3rem; font-weight: var(--w-display); letter-spacing: 0.06em; text-transform: uppercase; color: var(--brand); }
.plan-per { color: var(--muted); font-size: 1rem; margin-top: 0.3rem; }
.plan-note { color: var(--gold-ink); font-weight: 600; font-size: 0.95rem; margin-top: 0.15rem; }

/* Offers bar under the plans */
.offer-bar {
  margin-top: 2.5rem; padding: 1.75rem 1.75rem; background: var(--brand); color: var(--cream);
  display: grid; gap: 1.25rem; align-items: center; border-top: 2px solid var(--gold);
}
@media (min-width: 760px) { .offer-bar { grid-template-columns: 1fr auto; padding: 2rem 2.25rem; } }
.offer-bar h3 { font-size: 1.5rem; color: var(--cream); text-transform: uppercase; letter-spacing: 0.05em; }
.offer-bar p { margin: 0.4rem 0 0; color: rgba(246, 239, 220, 0.85); font-size: 1.08rem; }
.offer-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.offer-bar .btn-outline { color: var(--cream); border-color: rgba(246, 239, 220, 0.55); }
.offer-bar .btn-outline:hover { background: rgba(246, 239, 220, 0.1); border-color: var(--cream); }
@media (max-width: 560px) { .offer-actions .btn { flex: 1 1 100%; text-align: center; } .plan { grid-template-columns: auto 1fr; padding: 1.25rem; gap: 0 1.1rem; } .plan-count { font-size: 2.4rem; min-width: 4.4rem; } }

.plan-featured { background: var(--brand); border-color: var(--brand); color: var(--cream); }
.plan-featured h3 { color: var(--gold); }
.plan-featured .plan-count { color: var(--cream); }
.plan-featured .plan-count span { color: var(--gold); }
.plan-featured .plan-per { color: rgba(246, 239, 220, 0.8); }
.plan-featured .plan-note { color: var(--gold); }
.ribbon {
  position: absolute; top: 1rem; right: 1rem;
  font-size: 0.68rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: #fff; background: var(--pink); padding: 0.25rem 0.55rem;
}
.fine-print { margin-top: 1.5rem; font-size: 0.9rem; color: var(--muted); }

/* ---------- Timings ---------- */
.timings-grid { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 860px) { .timings-grid { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.band-dark h2 { color: var(--cream); }
.band-dark .hero-actions { margin-top: 0; }
.days { border-top: 1px solid var(--line-dark); }
.days li { display: flex; justify-content: space-between; gap: 1rem; padding: 0.95rem 0; border-bottom: 1px solid var(--line-dark); }
.day { font-family: var(--font-display); font-weight: var(--w-display); font-size: 1.2rem; }
.hours { color: var(--gold); font-weight: 500; font-variant-numeric: tabular-nums; align-self: center; }

/* Small Cinzel titles: all capitals with even tracking, so words never mix big and small capitals */
.offer h3, .step h3, .day, .address strong, .portal-title { text-transform: uppercase; letter-spacing: 0.06em; }

/* ---------- Photos ---------- */
.photo-grid { display: grid; gap: 1rem; }
.photo-grid + .photo-grid { margin-top: 1rem; }
.photo-grid img { width: 100%; height: 100%; object-fit: cover; background: var(--line); }

/* Students: four portrait photos in a row (two by two on phones and tablets). */
.photo-grid-people { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 860px) { .photo-grid-people { grid-template-columns: repeat(4, 1fr); } }
.photo-grid-people li { aspect-ratio: 3 / 4; overflow: hidden; }
.photo-grid-people img { object-position: 50% 35%; }

/* Rooms: landscape photos with a caption underneath. */
.photo-grid-rooms { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 860px) { .photo-grid-rooms { grid-template-columns: repeat(4, 1fr); } }
.photo-grid-rooms figure { margin: 0; }
.photo-grid-rooms figure img { aspect-ratio: 4 / 3; height: auto; }
.photo-grid-rooms figcaption { margin-top: 0.55rem; font-size: 0.85rem; font-weight: 500; color: var(--muted); letter-spacing: 0.02em; }

/* ---------- Trial request form ---------- */
.trial { padding-block: clamp(2.5rem, 7vw, 5rem); }
.trial-card {
  width: min(100% - 2rem, 560px); margin-inline: auto;
  background: #fff; border: 1px solid var(--line);
  padding: clamp(1.5rem, 5vw, 2.5rem);
  box-shadow: 0 18px 40px -26px rgba(21, 28, 44, 0.4);
}
.trial-card h1 { font-size: clamp(1.6rem, 4.5vw, 2.05rem); color: var(--brand); text-align: center; }
.trial-card .sub { text-align: center; color: var(--muted); margin: 0.75rem 0 1.75rem; }

.field { display: grid; gap: 0.4rem; margin-bottom: 1.1rem; }
.field label { font-weight: 600; font-size: 0.9rem; }
.field .opt { font-weight: 400; color: var(--muted); }
.field input, .field select {
  width: 100%; padding: 0.8rem 0.9rem; font: inherit; font-size: 1rem; color: var(--ink);
  background: #fff; border: 1px solid #c9c2ab; border-radius: 2px;
}
.field input::placeholder { color: #8c8996; }
.field input:focus-visible, .field select:focus-visible { outline: 2px solid var(--focus-light); outline-offset: 1px; border-color: var(--brand); }
.field input[aria-invalid="true"], .field select[aria-invalid="true"] { border-color: #b3261e; }

/* Honeypot: invisible to people, tempting to bots. Not display:none, which some bots skip. */
.hp { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }

.trial-card .btn { width: 100%; padding-block: 1rem; font-size: 1rem; }
.btn[disabled] { opacity: 0.65; cursor: progress; }

.form-error { color: #b3261e; font-size: 0.92rem; margin: 0 0 1rem; }
.form-error:empty { display: none; }
.trial-alt { margin-top: 1.5rem; text-align: center; color: var(--muted); font-size: 0.92rem; }
.trial-alt a { color: var(--brand); font-weight: 600; }

.trial-done { text-align: center; }
.trial-done h2 { font-size: 1.45rem; color: var(--brand); margin-bottom: 0.75rem; }
.trial-done p { color: var(--muted); margin-bottom: 1.5rem; }
.trial-done .btn { width: auto; }

/* ---------- Visit us ---------- */
.visit-grid { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 860px) { .visit-grid { grid-template-columns: 1fr 1.25fr; gap: 3.5rem; } }
.address { font-style: normal; line-height: 1.75; margin-top: 1.25rem; }
.address strong { display: block; font-family: var(--font-display); font-weight: var(--w-display); font-size: 1.25rem; color: var(--brand); margin-bottom: 0.25rem; }
.map { border: 1px solid var(--line); background: #fff; aspect-ratio: 4 / 3; overflow: hidden; }
.map iframe { display: block; width: 100%; height: 100%; border: 0; }
/* Placeholder shown until the map is requested: a faint street-grid card. */
.map-load {
  display: grid; place-content: center; justify-items: center; gap: 0.3rem;
  width: 100%; height: 100%; border: 0; cursor: pointer; font: inherit; color: var(--brand);
  background:
    repeating-linear-gradient(0deg, transparent 0 39px, rgba(31, 40, 60, 0.07) 39px 40px),
    repeating-linear-gradient(90deg, transparent 0 39px, rgba(31, 40, 60, 0.07) 39px 40px),
    var(--paper);
}
.map-load span { font-weight: 600; font-size: 1.05rem; }
.map-load small { color: var(--muted); font-size: 0.85rem; }
.map-load:hover span { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Learner portal ---------- */
.portal-grid { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 860px) { .portal-grid { grid-template-columns: 1.1fr 0.9fr; gap: 4rem; } }

.checks { margin: 1.5rem 0 2rem; display: grid; gap: 0.7rem; }
.checks li { position: relative; padding-left: 1.9rem; }
.checks li::before {
  content: ""; position: absolute; left: 0.1rem; top: 0.45em;
  width: 0.45rem; height: 0.8rem; border: solid var(--gold-ink); border-width: 0 2px 2px 0;
  transform: rotate(40deg) translateY(-30%);
}

.portal {
  position: relative; background: #fff; border: 1px solid var(--line);
  padding: 2.25rem 1.75rem 1.75rem; box-shadow: 0 18px 40px -24px rgba(21, 28, 44, 0.35);
}
.portal-tag {
  position: absolute; top: 0.9rem; right: 1.1rem;
  font-size: 0.68rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted);
}
.portal-title { font-family: var(--font-display); font-weight: var(--w-display); font-size: 1.25rem; color: var(--brand); }
.portal-sub { color: var(--muted); font-size: 0.9rem; margin-bottom: 1rem; }
.bar { height: 8px; background: var(--soft); border-radius: 4px; overflow: hidden; }
.bar span { display: block; height: 100%; background: var(--brand); }
.portal-count { margin-top: 0.7rem; font-size: 0.92rem; }
.portal hr { border: 0; border-top: 1px solid var(--line); margin: 1.5rem 0; }
.portal-quote { margin-top: 0.5rem; color: var(--muted); font-style: italic; }

/* ---------- Final CTA ---------- */
.cta { background: var(--brand-deep); color: var(--cream); padding-block: clamp(3.5rem, 8vw, 5.5rem); text-align: center; }
.cta-inner { max-width: 40rem; }
.cta p { margin-top: 1rem; color: rgba(246, 239, 220, 0.8); }
.cta .hero-actions { justify-content: center; }

/* ---------- Footer ---------- */
.site-footer { background: var(--brand); color: var(--cream); padding-top: 3rem; border-top: 1px solid var(--line-dark); }
.footer-inner { display: grid; gap: 2rem; padding-bottom: 2.5rem; }
@media (min-width: 760px) { .footer-inner { grid-template-columns: 1.5fr 1fr 1fr; } }
.footer-tag { margin-top: 0.9rem; color: rgba(246, 239, 220, 0.7); }
.footer-address { font-style: normal; margin-top: 0.6rem; max-width: 26em; font-size: 0.88rem; line-height: 1.6; color: rgba(246, 239, 220, 0.6); }
.footer-links { display: grid; gap: 0.6rem; align-content: start; }
.footer-links a { text-decoration: none; color: rgba(246, 239, 220, 0.85); font-size: 0.92rem; }
.footer-links a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid var(--line-dark); padding-block: 1.25rem; font-size: 0.82rem; color: rgba(246, 239, 220, 0.6); }

/* ---------- WhatsApp button ---------- */
.wa-fab {
  position: fixed; right: 1rem; bottom: 1rem; z-index: 40;
  width: 54px; height: 54px; display: grid; place-items: center;
  background: #1f9d55; color: #fff; border-radius: 50%;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.28);
  transition: transform 0.18s;
}
.wa-fab:hover { transform: translateY(-2px); }
.wa-fab svg { width: 28px; height: 28px; }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.6s ease, transform 0.6s ease; }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .wa-fab { transition: none; }
}

/* ---------- Polish layer: the finer details that make it feel premium ----------
   Everything here refines what is above; delete this block to get the plain version back. */

::selection { background: var(--gold); color: var(--brand-deep); }

/* Header: a fine gold line and a soft shadow under the charcoal bar */
.site-header { border-bottom: 1px solid rgba(229, 178, 93, 0.4); box-shadow: 0 10px 26px -18px rgba(21, 28, 44, 0.7); }

/* Buttons: tracked capitals, a little depth */
.btn { text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.92rem; padding: 1.05rem 1.85rem; transition: background-color 0.2s, color 0.2s, border-color 0.2s, transform 0.2s, box-shadow 0.2s; }
.btn-sm { font-size: 0.78rem; padding: 0.75rem 1.2rem; }
.btn-primary { background: linear-gradient(180deg, var(--pink), #c8206f); box-shadow: 0 12px 24px -14px rgba(217, 38, 125, 0.9); }
.btn-primary:hover { background: linear-gradient(180deg, var(--pink-hover), #b01a63); transform: translateY(-1px); box-shadow: 0 16px 28px -14px rgba(217, 38, 125, 0.95); }
.btn-outline:hover, .btn-ghost:hover { transform: translateY(-1px); }

/* Gold rule before eyebrows and under section titles */
.eyebrow::before { content: ""; display: inline-block; width: 30px; height: 1px; background: currentColor; opacity: 0.75; vertical-align: middle; margin-right: 0.8rem; }
.section-head h2::after, .timings-grid h2::after, .portal-grid h2::after, .visit-grid h2::after {
  content: ""; display: block; width: 64px; height: 2px; margin-top: 1rem;
  background: linear-gradient(90deg, var(--gold), rgba(229, 178, 93, 0));
}
.lede { font-size: 1.1rem; }

/* Hero: a warm glow behind the heading and a gold frame around the logo */
.hero { background: radial-gradient(900px 440px at 88% 8%, rgba(229, 178, 93, 0.2), rgba(229, 178, 93, 0) 62%), var(--soft); }
.hero h1 { letter-spacing: 0.02em; }
.hero-art img {
  border-radius: 8px; outline: 1px solid rgba(229, 178, 93, 0.75); outline-offset: 10px;
  box-shadow: 0 36px 64px -32px rgba(21, 28, 44, 0.75);
}
.hero-stats strong { color: var(--brand); }

/* Dark strips: a gentle gradient and a hint of gold light */
.band-dark, .cta, .site-footer {
  position: relative;
  background:
    radial-gradient(900px 360px at 90% -10%, rgba(229, 178, 93, 0.13), rgba(229, 178, 93, 0) 60%),
    linear-gradient(180deg, #2a3550 0%, #151c2c 100%);
}
/* The footer picks up exactly where the closing call-to-action ends, so the join is a thin gold line, not a colour jump. */
.site-footer {
  border-top: 1px solid rgba(229, 178, 93, 0.45);
  background: radial-gradient(900px 360px at 90% -10%, rgba(229, 178, 93, 0.08), rgba(229, 178, 93, 0) 60%), linear-gradient(180deg, #151c2c 0%, #10161f 100%);
}

/* Instrument list: a soft gold wash on hover */
.offer li { transition: background-color 0.3s; }
.offer li:not(.offer-cta):hover { background: linear-gradient(90deg, rgba(229, 178, 93, 0.14), rgba(229, 178, 93, 0)); }

/* Steps: a short gold rule at the start of each line */
.step { position: relative; border-top: 1px solid var(--line); }
.step::before { content: ""; position: absolute; top: -1px; left: 0; width: 56px; height: 2px; background: var(--gold); }

/* Price cards: depth, lift on hover, and a gold-trimmed featured plan */
.plan { box-shadow: 0 22px 38px -30px rgba(21, 28, 44, 0.55); transition: box-shadow 0.3s, border-color 0.3s; }
.plan:hover, .js .plan.reveal.in:hover { transform: translateY(-4px); box-shadow: 0 30px 46px -28px rgba(21, 28, 44, 0.6); }
.plan-featured {
  background: radial-gradient(420px 220px at 100% 0%, rgba(229, 178, 93, 0.2), rgba(229, 178, 93, 0) 70%), linear-gradient(160deg, #2f3b5c, #151c2c);
  border-color: rgba(229, 178, 93, 0.7);
  box-shadow: 0 0 0 1px rgba(229, 178, 93, 0.3) inset, 0 32px 50px -28px rgba(21, 28, 44, 0.85);
}

/* Photos: fine borders, depth, and a slow zoom on the student portraits */
.photo-grid-people li { border: 1px solid var(--line); box-shadow: 0 24px 40px -30px rgba(21, 28, 44, 0.7); }
.photo-grid-people img { transition: transform 0.7s ease; }
.photo-grid-people li:hover img { transform: scale(1.05); }
.photo-grid-rooms figure img { border: 1px solid var(--line); box-shadow: 0 22px 38px -30px rgba(21, 28, 44, 0.6); }
.photo-grid-rooms figcaption { letter-spacing: 0.1em; text-transform: uppercase; font-size: 0.72rem; font-weight: 600; }

/* Learner portal sample and the contact card: gold top edge */
.portal, .trial-card { border-top: 2px solid var(--gold); }
.map { box-shadow: 0 22px 38px -30px rgba(21, 28, 44, 0.6); }

/* Timetable rows */
.days li { transition: padding-left 0.25s, background-color 0.25s; }
.days li:hover { padding-left: 0.6rem; background: rgba(229, 178, 93, 0.08); }

/* Footer links */
.footer-links a { transition: color 0.2s; }

@media (prefers-reduced-motion: reduce) {
  .plan, .offer li, .days li, .photo-grid-people img, .btn { transition: none; }
  .plan:hover, .js .plan.reveal.in:hover, .photo-grid-people li:hover img, .btn-primary:hover, .btn-outline:hover, .btn-ghost:hover { transform: none; }
}

/* ---------- Exam preparation ---------- */
.boards { list-style: none; margin: 0 0 1rem; padding: 0; display: flex; flex-wrap: wrap; gap: 0.75rem 1rem; }
.boards li {
  font-family: var(--font-display); font-weight: var(--w-display); font-size: 1.15rem; letter-spacing: 0.04em;
  color: var(--brand); padding: 0.7rem 1.25rem; border: 1px solid var(--brand); border-top: 2px solid var(--gold); background: #fff;
}
.prep-list { margin-bottom: 2.25rem; }
#exams .hero-actions { margin-top: 0; }
#exams .fine-print { margin-top: 1.25rem; }
@media (max-width: 560px) { .boards li { flex: 1 1 100%; text-align: center; } #exams .hero-actions .btn { flex: 1 1 100%; text-align: center; } }
.boards-more { margin: 0 0 2.25rem; color: var(--muted); font-size: 1.08rem; line-height: 1.7; max-width: 40em; }
.board-logos { list-style: none; margin: 0 0 1rem; padding: 0; display: flex; flex-wrap: wrap; gap: 1rem 1.25rem; }
.board-logos li { width: 8.5rem; height: 8.5rem; overflow: hidden; border-radius: 10px; background: #fff; box-shadow: 0 14px 28px -20px rgba(21, 28, 44, 0.55); border: 1px solid var(--line); }
.board-logos img { display: block; width: 100%; height: 100%; object-fit: contain; }
@media (max-width: 560px) { .board-logos { gap: 0.75rem; } .board-logos li { flex: 1 1 0; width: auto; height: auto; aspect-ratio: 1 / 1; max-width: 9rem; } }
