/* Porchnote Music — Premium local service design */

@charset "utf-8";

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

:root {
  --color-bg: #faf9f7;
  --color-bg-warm: #f5f1ea;
  --color-surface: #ffffff;
  --color-text: #2c2c2e;
  --color-text-muted: #737378;
  --color-accent: #3d5c50;
  --color-accent-light: #4d7564;
  --color-accent-soft: #e8f2ed;
  --color-gold: #c4a574;
  --color-gold-soft: #f8f3eb;
  --color-border: rgba(44, 44, 46, 0.08);
  --color-hero-1: #1c1b1a;
  --color-hero-2: #2a2724;
  --color-hero-3: #201e1c;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-full: 999px;
  --shadow-sm: 0 2px 12px rgba(44, 44, 46, 0.05);
  --shadow-md: 0 8px 28px rgba(44, 44, 46, 0.07);
  --shadow-lg: 0 16px 40px rgba(44, 44, 46, 0.09);
  --space-section: clamp(3.25rem, 8vw, 5.5rem);
  --max-width: 1120px;
  --nav-height: 72px;
  --announce-height: 44px;
  --tap-min: 48px;
  --sticky-cta-height: 76px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--color-accent); }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 10000;
  padding: 0.75rem 1rem;
  background: var(--color-accent);
  color: #fff;
}
.skip-link:focus { left: 0; }

/* ===== Announcement bar ===== */
.announcement-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--announce-height);
  z-index: 1002;
  background: var(--color-accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 1rem;
}

.announcement-bar p {
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.announcement-bar a {
  color: #fff;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
  white-space: nowrap;
}

/* ===== Navigation ===== */
/* Scoped to the header. A bare `nav` selector also matched the footer's
   <nav class="footer-links">, pinning it to the top at z-index 1000 where it
   covered the logo and the whole header menu. */
#navbar {
  position: fixed;
  top: var(--announce-height);
  width: 100%;
  height: var(--nav-height);
  background: rgba(250, 249, 247, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-border);
  z-index: 1000;
  transition: box-shadow 0.3s ease, background 0.3s ease;
}

#navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-sm);
}

.nav-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2rem);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-text);
  text-decoration: none;
  white-space: nowrap;
}

.logo-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: block;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: clamp(1rem, 2vw, 1.75rem);
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: var(--color-text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-links a:hover { color: var(--color-text); }

.nav-cta-btn {
  display: inline-flex;
  align-items: center;
  min-height: var(--tap-min);
  padding: 0.6rem 1.15rem;
  background: var(--color-accent);
  color: #fff !important;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: background 0.2s ease, transform 0.2s ease;
  white-space: nowrap;
}

.nav-cta-btn:hover {
  background: var(--color-accent-light);
  transform: translateY(-1px);
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
  background: none;
  border: none;
  cursor: pointer;
}

.hamburger {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-text);
  border-radius: 1px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.mobile-menu-toggle.active .hamburger:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.mobile-menu-toggle.active .hamburger:nth-child(2) { opacity: 0; }
.mobile-menu-toggle.active .hamburger:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--color-bg);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.mobile-menu.active { opacity: 1; visibility: visible; }

.mobile-nav-links {
  list-style: none;
  text-align: center;
  padding: 2rem;
}

.mobile-nav-links li { margin: 1.25rem 0; }

.mobile-nav-links a {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-text);
  text-decoration: none;
  display: inline-block;
  min-height: var(--tap-min);
  line-height: var(--tap-min);
}

.mobile-nav-cta {
  display: inline-block;
  margin-top: 1rem;
  min-height: var(--tap-min);
  padding: 0.85rem 1.5rem;
  background: var(--color-accent);
  color: #fff !important;
  border-radius: var(--radius-full);
  font-size: 1rem !important;
}

/* ===== Layout ===== */
.section {
  padding: var(--space-section) 0;
}

.section-cream { background: var(--color-bg-warm); }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2rem);
}

.container-narrow { max-width: 720px; }

.section-header {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 2rem;
}

.section-eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 0.75rem;
}

.section-header h2 {
  font-size: clamp(1.65rem, 4.5vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 0;
  color: var(--color-text);
}

.section-lead {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  line-height: 1.55;
  margin-top: 0.75rem;
}

.section-lead-short { margin-top: 0.5rem; }

.section-cta-row {
  text-align: center;
  margin-top: 2rem;
}

.social-proof-line {
  text-align: center;
  font-size: 1rem;
  color: var(--color-text-muted);
  margin-top: 1.75rem;
  line-height: 1.5;
}

.social-proof-line span {
  display: block;
  margin-top: 0.35rem;
  font-weight: 600;
  color: var(--color-text);
  font-size: 0.9rem;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--tap-min);
  padding: 0.85rem 1.75rem;
  font-size: 1.05rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius-full);
  border: 2px solid transparent;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  cursor: pointer;
}

.btn-primary {
  background: var(--color-accent);
  color: #fff;
  box-shadow: 0 4px 20px rgba(45, 74, 62, 0.25);
}

.btn-primary:hover {
  background: var(--color-accent-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(45, 74, 62, 0.3);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.6);
}

.btn-outline {
  background: transparent;
  color: var(--color-accent);
  border-color: var(--color-accent);
}

.btn-outline:hover {
  background: var(--color-accent-soft);
}

.btn-block { width: 100%; }

.btn-lg {
  padding: 1.1rem 2.25rem;
  font-size: 1.1rem;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding: calc(var(--nav-height) + var(--announce-height) + 3rem) clamp(1.25rem, 4vw, 2rem) 4rem;
  overflow: hidden;
}

.hero-solid {
  min-height: auto;
  align-items: center;
  padding-top: calc(var(--nav-height) + var(--announce-height) + 4.5rem);
  padding-bottom: 4.5rem;
  background:
    radial-gradient(ellipse 620px 460px at 12% 8%, rgba(196, 165, 116, 0.16) 0%, transparent 60%),
    linear-gradient(160deg, var(--color-hero-1) 0%, var(--color-hero-2) 55%, var(--color-hero-3) 100%);
}

.hero-highlight {
  color: var(--color-gold);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(250, 249, 247, 0.15) 0%,
    rgba(44, 44, 46, 0.25) 45%,
    rgba(44, 44, 46, 0.55) 100%
  );
  z-index: 1;
}

.hero-trust-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin-bottom: 1.25rem;
  font-size: 0.82rem;
  font-weight: 500;
}

.trust-stat {
  background: rgba(255, 255, 255, 0.92);
  color: var(--color-text);
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
}

.trust-stat strong { color: var(--color-gold); }

.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
  color: #fff;
}

.hero-eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.9;
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: clamp(2.25rem, 6.5vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  max-width: 18ch;
  margin-bottom: 1.25rem;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 2.5vw, 1.25rem);
  line-height: 1.6;
  max-width: 52ch;
  opacity: 0.95;
  margin-bottom: 2rem;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 2.25rem;
}

.trust-pills {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.trust-pills li {
  padding: 0.55rem 1rem;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 500;
  backdrop-filter: blur(8px);
  min-height: 36px;
  display: inline-flex;
  align-items: center;
}

.hero-scarcity {
  margin-top: 1.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-gold);
}

.hero-scarcity a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ===== Hero grid (text + photo card) ===== */
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
}

.hero-photo-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: 0.75rem 0.75rem 1rem;
  box-shadow: var(--shadow-lg);
  transform: rotate(1.5deg);
}

.hero-photo-card img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-md);
}

.hero-photo-card figcaption {
  margin-top: 0.65rem;
  padding: 0 0.35rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text-muted);
  text-align: center;
}

/* ===== Proof (trust stats) ===== */
.proof-stats {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: clamp(1.5rem, 6vw, 3.5rem);
  text-align: center;
}

.proof-stats strong {
  display: block;
  font-size: clamp(1.6rem, 4vw, 2.1rem);
  font-weight: 700;
  color: var(--color-accent);
  letter-spacing: -0.02em;
}

.proof-stats span {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

/* ===== Problem / solution grid ===== */
.problem-solved-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.problem-card {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  padding: 1.5rem 1.5rem 1.65rem;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.problem-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.problem-tag {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 0.6rem;
}

.problem-card h3 {
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 0.75rem;
  color: var(--color-text);
}

.problem-solution {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.55;
}

.problem-solution strong { color: var(--color-accent); }

/* ===== Value stack ===== */
.value-stack {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  margin-bottom: 1.5rem;
}

.value-stack li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.1rem 1.35rem;
  box-shadow: var(--shadow-sm);
}

.value-item h3 {
  font-size: 0.98rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  color: var(--color-text);
}

.value-item p {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

.value-price {
  flex-shrink: 0;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--color-accent);
  white-space: nowrap;
  background: var(--color-accent-soft);
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-full);
}

.value-total {
  text-align: center;
  font-size: 1.05rem;
  color: var(--color-text);
}

/* ===== Guarantee ===== */
.guarantee-section {
  background: linear-gradient(165deg, var(--color-accent-soft) 0%, var(--color-gold-soft) 100%);
}

.guarantee-panel {
  text-align: center;
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 5vw, 3rem);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
}

.guarantee-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 1rem;
  background: var(--color-accent-soft);
  color: var(--color-accent);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: var(--radius-full);
  margin-bottom: 1.25rem;
}

.guarantee-panel h2 {
  font-size: clamp(1.5rem, 4.5vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.25;
  margin-bottom: 1rem;
}

.guarantee-panel p {
  font-size: 1.02rem;
  color: var(--color-text-muted);
  line-height: 1.65;
  max-width: 60ch;
  margin: 0 auto 0.75rem;
}

.guarantee-sub {
  font-weight: 600;
  color: var(--color-text) !important;
}

/* ===== Scarcity banner (pricing) ===== */
.scarcity-banner {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 2rem;
  padding: 1rem 1.5rem;
  background: var(--color-gold-soft);
  border: 1px solid rgba(196, 165, 116, 0.4);
  border-radius: var(--radius-lg);
  font-size: 0.9rem;
  color: var(--color-text);
}

.scarcity-banner p { margin: 0; }
.scarcity-banner p + p { margin-top: 0.4rem; }
.scarcity-banner strong { color: #a2793f; }
.scarcity-countdown { font-weight: 700; font-size: 0.85rem; color: #a2793f; min-height: 1.2em; }

.pricing-guarantee-note {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.pricing-guarantee-note a {
  color: var(--color-accent);
  font-weight: 600;
}

/* ===== How It Works ===== */
.steps-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  counter-reset: none;
}

.step-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.step-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  background: var(--color-accent-soft);
  color: var(--color-accent);
  font-weight: 700;
  font-size: 1rem;
  border-radius: 50%;
  margin-bottom: 1.25rem;
}

.step-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  letter-spacing: -0.02em;
}

.step-card p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* ===== Pricing ===== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  align-items: stretch;
  max-width: 1040px;
  margin: 0 auto;
}

.pricing-grid-two {
  grid-template-columns: repeat(2, 1fr);
  max-width: 760px;
}

.pricing-card {
  position: relative;
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: 2rem 1.6rem 1.75rem;
  border: 1.5px solid var(--color-border);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.pricing-pace {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 0.65rem;
}

.pricing-name {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.85rem;
  color: var(--color-text);
}

.pricing-price {
  margin-bottom: 1.35rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--color-border);
}

.price-amount {
  font-size: 2.65rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--color-text);
  line-height: 1;
}

.price-period {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  font-weight: 500;
  margin-left: 0.15rem;
}

.pricing-features {
  list-style: none;
  flex: 1;
  margin-bottom: 1.75rem;
}

.pricing-features li {
  position: relative;
  padding-left: 1.55rem;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.45;
}

.pricing-features li:last-child { margin-bottom: 0; }

.pricing-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35rem;
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background: var(--color-accent-soft);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath fill='%233d5c50' d='M4.5 8.5L1.8 5.8l.9-.9 1.8 1.8L9.3 2l.9.9z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 0.7rem;
}

.pricing-card-featured {
  border-color: var(--color-accent);
  background: linear-gradient(180deg, #ffffff 0%, var(--color-accent-soft) 160%);
  box-shadow: var(--shadow-lg);
  transform: translateY(-8px) scale(1.03);
  z-index: 1;
  padding-top: 2.35rem;
}

.pricing-card-featured:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 22px 48px rgba(61, 92, 80, 0.16);
}

.pricing-card-featured .pricing-pace {
  color: var(--color-accent);
}

.pricing-card-featured .pricing-name {
  font-size: 1.45rem;
}

.pricing-card-featured .price-amount {
  color: var(--color-accent);
}

.pricing-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-accent);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  white-space: nowrap;
  box-shadow: 0 6px 16px rgba(61, 92, 80, 0.25);
}

.pricing-card-accelerated {
  border-color: rgba(196, 165, 116, 0.45);
  background: linear-gradient(180deg, #ffffff 0%, var(--color-gold-soft) 180%);
}

.pricing-card-accelerated .pricing-pace {
  color: #a88454;
}

.pricing-card .btn-block {
  margin-top: auto;
  font-size: 0.98rem;
}

.pricing-card-featured .btn-primary {
  box-shadow: 0 6px 20px rgba(61, 92, 80, 0.28);
}

.teacher-tag {
  font-size: 0.88rem;
  color: var(--color-accent);
  font-weight: 500;
}

.teacher-bio { margin-bottom: 0.5rem !important; }

/* ===== Teachers ===== */
.teachers-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.teacher-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.teacher-photo {
  aspect-ratio: 4 / 3;
  min-height: 200px;
  overflow: hidden;
  background-color: var(--color-gold-soft);
}

.teacher-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.teacher-body { padding: 1.5rem 1.75rem 1.75rem; }

.teacher-body h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.teacher-bio {
  font-size: 0.92rem;
  color: var(--color-text-muted);
  line-height: 1.65;
  margin-bottom: 1rem;
}

.teacher-meta {
  display: grid;
  gap: 0.65rem;
  font-size: 0.88rem;
}

.teacher-meta dt {
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 0.15rem;
}

.teacher-meta dd {
  color: var(--color-text-muted);
  margin: 0;
}

.teacher-trust {
  text-align: center;
  margin-top: 1.25rem;
  color: var(--color-accent);
  font-size: 0.95rem;
  font-weight: 600;
}

.review-highlights {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.review-highlights span {
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.5rem 0.9rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  color: var(--color-text-muted);
}

/* ===== Testimonials Carousel ===== */
.carousel {
  max-width: 720px;
  margin: 0 auto;
}

.carousel-track {
  position: relative;
  min-height: 180px;
}

.testimonial-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.45s ease, transform 0.45s ease, visibility 0.45s ease;
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
  text-align: center;
}

.testimonial-slide.is-active {
  position: relative;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.stars {
  color: var(--color-gold);
  font-size: 1.1rem;
  letter-spacing: 0.1em;
  margin-bottom: 1.25rem;
}

.testimonial-slide blockquote {
  font-size: clamp(1.05rem, 2.5vw, 1.2rem);
  line-height: 1.7;
  color: var(--color-text);
  font-style: normal;
  margin-bottom: 1.25rem;
}

.testimonial-slide figcaption {
  font-weight: 600;
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.75rem;
}

.carousel-btn {
  width: var(--tap-min);
  height: var(--tap-min);
  min-width: var(--tap-min);
  min-height: var(--tap-min);
  border-radius: 50%;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  color: var(--color-text);
  font-size: 1.1rem;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.carousel-btn:hover {
  background: var(--color-accent-soft);
  border-color: var(--color-accent);
}

.carousel-dots {
  display: flex;
  gap: 0.5rem;
}

.carousel-dot {
  width: var(--tap-min);
  height: var(--tap-min);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0;
  position: relative;
}

.carousel-dot::after {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-border);
  transition: background 0.2s ease, transform 0.2s ease;
}

.carousel-dot.is-active::after {
  background: var(--color-accent);
  transform: scale(1.25);
}

/* ===== Service Areas ===== */
.areas-list {
  list-style: none;
  max-width: 520px;
  margin: 0 auto;
}

.areas-list li {
  padding: 1rem 0;
  border-bottom: 1px solid var(--color-border);
  font-size: 1rem;
  color: var(--color-text-muted);
  line-height: 1.45;
}

.areas-list li strong {
  color: var(--color-text);
  font-weight: 600;
}

.areas-list li:last-child { border-bottom: none; }

.areas-more {
  text-align: center;
  margin-top: 1.25rem;
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

/* ===== FAQ ===== */
.faq-list details {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.15rem 1.5rem;
  margin-bottom: 0.75rem;
  transition: box-shadow 0.2s ease;
}

.faq-list details[open] { box-shadow: var(--shadow-sm); }

.faq-list summary {
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.faq-list summary::-webkit-details-marker { display: none; }

.faq-list summary::after {
  content: "+";
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--color-accent);
  flex-shrink: 0;
}

.faq-list details[open] summary::after { content: "−"; }

.faq-list p {
  margin-top: 0.85rem;
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* ===== Final CTA ===== */
.section-cta {
  padding: var(--space-section) 0;
  background: linear-gradient(165deg, var(--color-gold-soft) 0%, var(--color-accent-soft) 100%);
}

.cta-panel {
  text-align: center;
  max-width: 520px;
  margin: 0 auto;
  color: var(--color-text);
}

.cta-panel h2 {
  font-size: clamp(1.5rem, 4.5vw, 2.15rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.25;
  margin-bottom: 0.75rem;
}

.cta-panel p {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  margin-bottom: 1.75rem;
  line-height: 1.5;
}

/* ===== Booking form ===== */
.booking-form {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 4vw, 2.25rem);
  box-shadow: var(--shadow-sm);
  margin-bottom: 2rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-field {
  margin-bottom: 1.1rem;
}

.form-field label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--color-text);
}

.form-optional {
  font-weight: 400;
  color: var(--color-text-muted);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-height: var(--tap-min);
  padding: 0.65rem 0.9rem;
  font-size: 1rem;
  font-family: inherit;
  color: var(--color-text);
  background: var(--color-bg);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  transition: border-color 0.2s ease;
}

.form-field textarea {
  min-height: 72px;
  resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--color-accent);
}

.form-field select:disabled {
  color: var(--color-text-muted);
  cursor: not-allowed;
}

.form-note {
  font-size: 0.85rem;
  color: var(--color-accent);
  margin-top: 0.5rem;
  line-height: 1.5;
  min-height: 1.2em;
}

.form-note-center {
  text-align: center;
  color: var(--color-text-muted);
  margin-top: 0.85rem;
}

/* ===== Day + time slot picker ===== */
.form-block {
  position: relative;
  margin-bottom: 1.1rem;
}

.field-label {
  font-size: 0.88rem;
  font-weight: 600;
  margin: 0 0 0.55rem;
  color: var(--color-text);
}

/* Kept focusable (not display:none) so native required-field validation can
   still target the group and browsers can move focus to it. */
.choice-input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.pill-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.pill,
.slot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--tap-min);
  padding: 0.5rem 1.1rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-text);
  background: var(--color-bg);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.slot {
  border-radius: var(--radius-sm);
  padding: 0.5rem 0.4rem;
  font-size: 0.92rem;
}

.pill:hover,
.slot:hover {
  border-color: var(--color-accent-light);
  background: var(--color-accent-soft);
}

.choice-input:checked + .pill,
.choice-input:checked + .slot {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #fff;
}

.choice-input:focus-visible + .pill,
.choice-input:focus-visible + .slot {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

.slot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
  gap: 0.5rem;
}

/* ===== Day preference checkboxes ===== */
.field-hint {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin: -0.35rem 0 0.7rem;
}

.day-choices {
  display: grid;
  gap: 0.5rem;
}

.day-choice {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: var(--tap-min);
  padding: 0.5rem 1rem;
  background: var(--color-bg);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-weight: 600;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.day-choice:hover { border-color: var(--color-accent-light); }

.day-choice input {
  flex: none;
  width: 22px;
  height: 22px;
  accent-color: var(--color-accent);
  cursor: pointer;
}

.day-choice:has(input:checked) {
  border-color: var(--color-accent);
  background: var(--color-accent-soft);
}

.day-choice:has(input:focus-visible) {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

/* Inline rather than stacked: with six days plus an opt-out, a two-line row
   turned the group into half a screen of scrolling on a phone. */
.day-choice-note {
  font-weight: 400;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.day-choice-note::before {
  content: " · ";
}

/* ===== Pricing acknowledgement ===== */
.price-ack {
  background: var(--color-gold-soft);
  border: 1.5px solid rgba(196, 165, 116, 0.4);
  border-radius: var(--radius-md);
  padding: 1.1rem 1.25rem;
  margin: 1.5rem 0 1.25rem;
}

.price-ack-head {
  font-weight: 700;
  font-size: 0.95rem;
  margin: 0 0 0.5rem;
  color: var(--color-text);
}

.price-ack p {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--color-text);
  margin: 0 0 0.75rem;
}

.price-ack-check {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.5;
  cursor: pointer;
  margin: 0;
}

.price-ack-check input {
  flex: none;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  accent-color: var(--color-accent);
  cursor: pointer;
}

/* ===== The First Song Kit offer panel ===== */
.kit-panel {
  background: var(--color-surface);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: clamp(1.4rem, 4vw, 2rem);
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.5rem;
}

.kit-intro {
  font-size: 1.02rem;
  line-height: 1.65;
  margin: 0 0 1.25rem;
  color: var(--color-text);
}

.kit-heading {
  font-weight: 700;
  font-size: 0.95rem;
  margin: 0 0 0.6rem;
  color: var(--color-text);
}

.kit-list {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
}

.kit-list li {
  position: relative;
  padding-left: 1.7rem;
  margin-bottom: 0.65rem;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--color-text);
}

.kit-list li::before {
  content: "🎹";
  position: absolute;
  left: 0;
  top: 0;
  font-size: 0.95rem;
}

.kit-note {
  font-size: 0.92rem;
  color: var(--color-text-muted);
  margin: 0 0 0.75rem;
}

.kit-price {
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--color-text);
  background: var(--color-accent-soft);
  border-radius: var(--radius-sm);
  padding: 0.75rem 0.95rem;
  margin: 0;
}

.form-alt {
  text-align: center;
  font-size: 0.92rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin: -1rem 0 2rem;
}

.form-alt a {
  color: var(--color-accent);
  font-weight: 600;
}

.sent-slot {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-accent);
  margin: 0 0 0.5rem;
}

.booking-confirm {
  background: var(--color-accent-soft);
  border: 1px solid rgba(61, 92, 80, 0.2);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 4vw, 2.25rem);
  margin-bottom: 2rem;
  text-align: center;
}

.booking-confirm h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.booking-confirm > p {
  color: var(--color-text-muted);
  margin-bottom: 1.25rem;
}

.confirm-summary {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.1rem 1.35rem;
  margin-bottom: 1.5rem;
  text-align: left;
  font-size: 0.92rem;
  color: var(--color-text);
}

.confirm-summary p {
  margin-bottom: 0.4rem;
  line-height: 1.5;
}

.confirm-summary p:last-child { margin-bottom: 0; }

.confirm-actions {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  max-width: 420px;
  margin: 0 auto;
}

.link-btn {
  display: inline-block;
  margin-top: 1.25rem;
  background: none;
  border: none;
  color: var(--color-text-muted);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
  min-height: var(--tap-min);
}

/* ===== Contact ===== */
.section-contact { background: var(--color-bg-warm); }

.contact-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

.contact-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-height: var(--tap-min);
  padding: 1.35rem 1.25rem;
  background: var(--color-surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  text-decoration: none;
  color: var(--color-text);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.contact-label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-gold);
  margin-bottom: 0.35rem;
}

.contact-value {
  font-size: 1rem;
  font-weight: 600;
}

.contact-card-primary {
  border-color: var(--color-accent);
  background: var(--color-accent-soft);
}

.nap {
  text-align: center;
  font-style: normal;
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.8;
}

.nap a { color: var(--color-accent); }

/* ===== Mobile sticky CTA ===== */
.mobile-sticky-cta {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1001;
  padding: 0.75rem clamp(1rem, 4vw, 1.25rem);
  padding-bottom: max(0.75rem, env(safe-area-inset-bottom));
  background: rgba(250, 249, 247, 0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--color-border);
  box-shadow: 0 -8px 24px rgba(44, 44, 46, 0.08);
  transform: translateY(110%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-sticky-cta.is-visible {
  transform: translateY(0);
}

body.mobile-cta-active {
  padding-bottom: calc(var(--sticky-cta-height) + env(safe-area-inset-bottom, 0px));
}

/* ===== Footer ===== */
.footer {
  background: var(--color-bg-warm);
  color: var(--color-text-muted);
  padding: 2rem 0 calc(2rem + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--color-border);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.footer-inner p { font-size: 0.88rem; }

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  color: var(--color-text-muted);
  text-decoration: none;
  font-size: 0.88rem;
  min-height: var(--tap-min);
  display: inline-flex;
  align-items: center;
  transition: color 0.2s ease;
}

.footer-links a:hover { color: var(--color-accent); }

/* ===== Animations (content always visible) ===== */
.fade-in {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-in.animate {
  opacity: 1;
  transform: translateY(0);
}

.stagger-children.animate > * {
  animation: fadeUp 0.45s ease both;
}

.stagger-children.animate > *:nth-child(1) { animation-delay: 0.04s; }
.stagger-children.animate > *:nth-child(2) { animation-delay: 0.09s; }
.stagger-children.animate > *:nth-child(3) { animation-delay: 0.14s; }
.stagger-children.animate > *:nth-child(4) { animation-delay: 0.19s; }
.stagger-children.animate > *:nth-child(5) { animation-delay: 0.24s; }
.stagger-children.animate > *:nth-child(6) { animation-delay: 0.29s; }

@keyframes fadeUp {
  from { opacity: 0.6; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.step-card,
.pricing-card,
.benefit-card,
.teacher-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .fade-in,
  .stagger-children > * { animation: none !important; transition: none; }
  .testimonial-slide { transition: none; }
  .mobile-sticky-cta { transition: none; }
}

/* ===== Responsive (mobile first) ===== */
@media (max-width: 900px) {
  .steps-grid,
  .problem-solved-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
  }

  .proof-stats {
    gap: 1.5rem 2.5rem;
    flex-wrap: wrap;
  }

  .value-stack li {
    flex-direction: column;
    align-items: flex-start;
  }

  .pricing-card-featured {
    transform: none;
    order: -1;
  }

  .pricing-card-featured:hover {
    transform: translateY(-4px);
  }

  .teachers-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-links,
  .nav-cta-btn { display: none; }

  .mobile-menu-toggle {
    display: flex;
    min-width: var(--tap-min);
    min-height: var(--tap-min);
    align-items: center;
    justify-content: center;
  }

  .mobile-sticky-cta {
    display: block;
  }

  body.mobile-cta-active {
    padding-bottom: calc(var(--sticky-cta-height) + env(safe-area-inset-bottom, 0px));
  }

  .footer {
    padding-bottom: calc(5.5rem + env(safe-area-inset-bottom, 0px));
  }

  .hero {
    min-height: auto;
    padding-top: calc(var(--nav-height) + var(--announce-height) + 2rem);
    padding-bottom: 3rem;
    align-items: flex-end;
  }

  :root { --announce-height: 60px; }

  .announcement-bar p {
    font-size: 0.72rem;
    white-space: normal;
    line-height: 1.35;
  }

  .hero h1 { max-width: none; }

  .hero-grid { grid-template-columns: 1fr; }

  .hero-photo-card {
    max-width: 380px;
    margin: 1.5rem auto 0;
    transform: none;
  }

  .hero-cta-group { flex-direction: column; }

  .hero-cta-group .btn { width: 100%; }

  .trust-pills { flex-direction: column; align-items: flex-start; }

  .contact-actions { grid-template-columns: 1fr; }

  .form-row { grid-template-columns: 1fr; gap: 0; }

  .footer-inner { flex-direction: column; text-align: center; }
}

@media (min-width: 769px) and (max-width: 1023px) {
  .problem-solved-grid { grid-template-columns: repeat(2, 1fr); }
}
