/* ── RESET & ROOT ─────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary:       #4A1C40;
  --primary-mid:   #612854;
  --accent:        #D4567A;
  --accent-dark:   #b83d60;
  --gold:          #D4567A;
  --gold-light:    rgba(212,86,122,0.10);
  --blue:          #4AAFD4;
  --blue-dark:     #3090B8;
  --bg:            #FEF9F6;
  --bg-section:    #F7EDE8;
  --bg-dark:       #4A1C40;
  --text:          #1E0A18;
  --text-body:     #5A3A50;
  --text-muted:    #A888A0;
  --border:        rgba(74,28,64,0.10);
  --border-strong: rgba(74,28,64,0.18);
  --radius:        8px;
  --radius-sm:     5px;
  --shadow-sm:     0 1px 8px rgba(74,28,64,0.07);
  --shadow:        0 4px 24px rgba(74,28,64,0.10);
  --shadow-hover:  0 10px 36px rgba(74,28,64,0.16);
  --transition:    0.22s ease;
  --max-w:         1160px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  line-height: 1.2;
  color: var(--text);
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ── BUTTONS ──────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius);
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--primary);
  color: #fff;
}
.btn-primary:hover {
  background: var(--primary-mid);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(30,58,82,0.28);
}
.btn-accent {
  background: var(--accent);
  color: #fff;
}
.btn-accent:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(212,86,122,0.36);
}
.btn-gold {
  background: var(--gold);
  color: #fff;
}
.btn-gold:hover {
  background: #b5832e;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201,151,58,0.32);
}
.btn-outline {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.55);
}
.btn-outline:hover {
  border-color: #fff;
  background: rgba(255,255,255,0.10);
}
.btn-outline-dark {
  background: transparent;
  color: var(--primary);
  border: 1.5px solid var(--primary);
}
.btn-outline-dark:hover {
  background: var(--primary);
  color: #fff;
}

/* ── LABEL ────────────────────────────────────────────────────────────────── */
.label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.label::before {
  content: '';
  width: 24px;
  height: 1.5px;
  background: var(--accent);
  display: block;
}

/* ── NAV ──────────────────────────────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(253,250,246,0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}
nav.scrolled { box-shadow: var(--shadow); }

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-logo img { height: 44px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}
.nav-links a {
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 0.88rem;
  color: var(--text-body);
  transition: color var(--transition);
  white-space: nowrap;
}
.nav-links a:hover { color: var(--primary); }
.nav-links a.active { color: var(--accent); }

.nav-cta { margin-left: 8px; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--primary);
  transition: var(--transition);
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 72px; left: 0; right: 0; bottom: 0;
  background: var(--bg);
  z-index: 99;
  padding: 36px 32px;
  flex-direction: column;
  gap: 8px;
  overflow-y: auto;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 1.15rem;
  color: var(--text);
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  transition: color var(--transition);
}
.mobile-menu a:hover { color: var(--accent); }
.mobile-menu .btn { margin-top: 20px; width: fit-content; }

/* ── CONTAINER ────────────────────────────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
}

/* ── PAGE HEADER (inner pages) ────────────────────────────────────────────── */
.page-header {
  background: var(--bg-dark);
  padding: 120px 0 64px;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../images/piano-hd.jpg') center/cover no-repeat;
  opacity: 0.12;
}
.page-header-content {
  position: relative;
  z-index: 2;
}
.page-header h1 {
  color: #fff;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 12px;
}
.page-header p {
  color: rgba(255,255,255,0.70);
  font-size: 1.05rem;
  max-width: 560px;
}

/* ── HERO (home) ──────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: url('../images/piano-hd.jpg') center/cover no-repeat;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15,28,45,0.62);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 100px 32px 80px;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
}
.hero-eyebrow::before {
  content: '';
  width: 28px;
  height: 1.5px;
  background: var(--accent);
}
.hero h1 {
  color: #fff;
  font-size: clamp(2.8rem, 5.5vw, 4.8rem);
  font-weight: 700;
  max-width: 720px;
  margin-bottom: 22px;
}
.hero h1 em {
  font-style: italic;
  color: #C8E6F5;
}
.hero-sub {
  color: rgba(255,255,255,0.78);
  font-size: 1.1rem;
  max-width: 520px;
  margin-bottom: 36px;
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 52px;
}
.hero-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.60);
  font-size: 0.85rem;
}
.hero-note::before {
  content: '♪';
  color: var(--accent);
  font-size: 1rem;
}

/* ── STATS STRIP ──────────────────────────────────────────────────────────── */
.stats-strip {
  background: var(--primary);
  padding: 28px 0;
}
.stats-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.stat-item {
  text-align: center;
  color: #fff;
}
.stat-value {
  font-family: 'Playfair Display', serif;
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.65);
  letter-spacing: 0.04em;
}

/* ── SECTIONS ─────────────────────────────────────────────────────────────── */
.section { padding: 88px 0; }
.section-alt { background: var(--bg-section); }
.section-dark {
  background: var(--bg-dark);
  color: #fff;
}
.section-dark h2,
.section-dark h3 { color: #fff; }
.section-dark .label { color: var(--accent); }
.section-dark .label::before { background: var(--accent); }
.section-dark p { color: rgba(255,255,255,0.75); }

.section-header {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 56px;
}
.section-header h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  margin-bottom: 16px;
}
.section-header p {
  color: var(--text-body);
  font-size: 1.05rem;
}

/* ── CARDS ────────────────────────────────────────────────────────────────── */
.card {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 32px;
  transition: var(--transition);
}
.card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
  border-color: transparent;
}

/* ── GRID LAYOUTS ─────────────────────────────────────────────────────────── */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* ── SPLIT (image + text) ─────────────────────────────────────────────────── */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.split-img {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: var(--shadow);
}
.split-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.split-text h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 700;
  margin-bottom: 20px;
}
.split-text p {
  color: var(--text-body);
  line-height: 1.75;
  margin-bottom: 16px;
}

/* ── QUOTES ───────────────────────────────────────────────────────────────── */
.quote-block {
  border-left: 3px solid var(--accent);
  padding: 20px 28px;
  background: var(--gold-light);
  border-radius: 0 var(--radius) var(--radius) 0;
  margin-bottom: 24px;
}
.quote-block p {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.08rem;
  color: var(--primary);
  line-height: 1.65;
  margin-bottom: 8px;
}
.quote-block cite {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ── LESSON FEATURES LIST ─────────────────────────────────────────────────── */
.features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.features-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.features-list .feat-icon {
  width: 36px;
  height: 36px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #fff;
  font-size: 1rem;
  margin-top: 2px;
}
.features-list .feat-text {
  font-size: 0.97rem;
  color: var(--text-body);
  line-height: 1.65;
  padding-top: 6px;
}

/* ── FEES TABLE ───────────────────────────────────────────────────────────── */
.fee-card {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: var(--transition);
}
.fee-card:hover { box-shadow: var(--shadow-hover); }
.fee-card-header {
  background: var(--primary);
  padding: 24px 28px;
  color: #fff;
}
.fee-card-header h3 {
  color: #fff;
  font-size: 1.15rem;
  margin-bottom: 4px;
}
.fee-card-header p { color: rgba(255,255,255,0.65); font-size: 0.85rem; }
.fee-price {
  padding: 28px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.fee-amount {
  font-family: 'Playfair Display', serif;
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--primary);
}
.fee-duration { color: var(--text-muted); font-size: 0.88rem; }
.fee-body { padding: 28px; }

/* ── POLICY LIST ──────────────────────────────────────────────────────────── */
.policy-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 32px;
}
.policy-list li {
  display: flex;
  gap: 16px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.policy-list li:last-child { border-bottom: none; padding-bottom: 0; }
.policy-num {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: var(--accent);
  font-weight: 700;
  line-height: 1;
  width: 36px;
  flex-shrink: 0;
  padding-top: 2px;
}
.policy-text h4 {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--primary);
  margin-bottom: 4px;
}
.policy-text p { color: var(--text-body); font-size: 0.93rem; line-height: 1.65; }

/* ── BOOK PAGE ────────────────────────────────────────────────────────────── */
.book-cover {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 3/4;
  max-width: 320px;
}
.book-cover img { width: 100%; height: 100%; object-fit: cover; }

.book-meta {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 24px 0 32px;
}
.book-meta-row {
  display: flex;
  gap: 12px;
  font-size: 0.88rem;
}
.book-meta-label {
  color: var(--text-muted);
  width: 100px;
  flex-shrink: 0;
}
.book-meta-value { color: var(--text-body); font-weight: 500; }

.amazon-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 8px;
}

/* ── CONTACT ──────────────────────────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 56px;
  align-items: start;
}
.contact-info { display: flex; flex-direction: column; gap: 28px; }
.contact-detail {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.contact-icon {
  width: 44px;
  height: 44px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #fff;
  font-size: 1.1rem;
}
.contact-detail h4 {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.contact-detail p, .contact-detail a {
  color: var(--text-body);
  font-size: 0.97rem;
  line-height: 1.6;
}
.contact-detail a:hover { color: var(--accent); }

.area-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}
.area-tag {
  background: var(--bg-section);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 4px 14px;
  font-size: 0.82rem;
  color: var(--text-body);
}

/* ── TALLY FORM ───────────────────────────────────────────────────────────── */
.tally-wrap {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}
.tally-wrap h3 {
  font-size: 1.3rem;
  margin-bottom: 24px;
  color: var(--primary);
}

/* ── CTA BANNER ───────────────────────────────────────────────────────────── */
.cta-banner {
  background: var(--primary);
  padding: 72px 0;
  text-align: center;
}
.cta-banner h2 {
  color: #fff;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  margin-bottom: 16px;
}
.cta-banner p {
  color: rgba(255,255,255,0.70);
  font-size: 1.05rem;
  margin-bottom: 32px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ── FOOTER ───────────────────────────────────────────────────────────────── */
footer {
  background: #111827;
  color: rgba(255,255,255,0.70);
  padding: 56px 0 32px;
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 28px;
}
.footer-logo { margin-bottom: 16px; }
.footer-logo img { height: 38px; width: auto; filter: brightness(0) invert(1); opacity: 0.85; }
.footer-about p { font-size: 0.88rem; line-height: 1.7; }
.footer-col h4 {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.50);
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { color: rgba(255,255,255,0.40); }
.site-credit a { color: rgba(255,255,255,0.30); transition: color var(--transition); }
.site-credit a:hover { color: rgba(255,255,255,0.55); }

/* ── ANIMATIONS ───────────────────────────────────────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-up:nth-child(2) { transition-delay: 0.1s; }
.fade-up:nth-child(3) { transition-delay: 0.2s; }
.fade-up:nth-child(4) { transition-delay: 0.3s; }

/* ── UTILITIES ────────────────────────────────────────────────────────────── */
.text-accent { color: var(--accent); }
.text-gold   { color: var(--gold); }
.text-muted  { color: var(--text-muted); }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mb-0  { margin-bottom: 0; }

/* ── RESPONSIVE ───────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split-img { aspect-ratio: 16/9; max-width: 100%; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .section { padding: 64px 0; }
  .container { padding: 0 20px; }
  .nav-inner { padding: 0 20px; }
  .hero-content { padding: 100px 20px 64px; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .cta-actions { flex-direction: column; align-items: center; }
  .grid-4 { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .stats-inner { grid-template-columns: 1fr 1fr; gap: 16px; }
  .hero h1 { font-size: 2.4rem; }
  .split { gap: 28px; }
}
