/* Music Lessons with Greg — palette drawn from the studio photos:
   blue velvet couch, wood speaker cabinet, off-white wall, Nord red. */

/* Bricolage Grotesque's lowercase "f" has a curled descender Greg doesn't like.
   This face covers ONLY the letter f (U+0066), pulling it from Figtree instead;
   every other character falls through to Bricolage. */
@font-face {
  font-family: "F Fix";
  src: url(https://fonts.gstatic.com/s/figtree/v9/_Xms-HUzqDCFdgfMm4S9DaRvzig.woff2) format("woff2");
  font-weight: 300 900;
  unicode-range: U+0066;
}

:root {
  --wall: #f6f2ea;        /* warm off-white wall */
  --wall-deep: #efe9dc;   /* a shade deeper, for alternating bands */
  --couch: #2d4767;       /* deep desaturated couch blue */
  --couch-deep: #223650;  /* footer / finale band */
  --wood: #8b6a4c;        /* speaker-cabinet brown */
  --wood-soft: #c9b299;   /* light wood, for borders */
  --nord: #b23a30;        /* muted keyboard red — actions only */
  --nord-dark: #962f28;
  --ink: #2b2622;         /* near-black warm gray */

  --display: "F Fix", "Bricolage Grotesque", "Avenir Next", "Trebuchet MS", sans-serif;
  --body: "Figtree", "Avenir", "Helvetica Neue", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--wall);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--display);
  color: var(--couch);
  line-height: 1.12;
  margin: 0 0 0.6em;
  text-wrap: balance;
}

p { margin: 0 0 1em; }

a { color: var(--nord); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--nord-dark); }

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

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

.narrow { max-width: 42rem; margin-inline: auto; padding-inline: 1.25rem; }
.wide   { max-width: 68rem; margin-inline: auto; padding-inline: 1.25rem; }

/* ---------- Fade-up on section entry ---------- */
@media (prefers-reduced-motion: no-preference) {
  .fade {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
  }
  .fade.in { opacity: 1; transform: none; }
}

/* ---------- Top bar ---------- */
.topbar {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  max-width: 68rem;
  margin-inline: auto;
  padding: 1.1rem 1.25rem 0.5rem;
}

.wordmark {
  margin: 0;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--couch);
}
.wordmark span { color: var(--wood); font-weight: 600; }

.topbar-book {
  font-weight: 600;
  font-size: 0.95rem;
  white-space: nowrap;
}

/* ---------- Hero ---------- */
.hero-copy {
  max-width: 46rem;
  margin-inline: auto;
  padding: clamp(2.5rem, 7vw, 5rem) 1.25rem clamp(2.25rem, 5vw, 3.5rem);
  text-align: center;
}

.eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--wood);
  margin-bottom: 1.1rem;
}

.hero-copy h1 {
  font-size: clamp(2.4rem, 6.5vw, 4.25rem);
  font-weight: 700;
}

.subhead {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  max-width: 36rem;
  margin-inline: auto;
  margin-bottom: 1.8rem;
}

.cta-stack { display: flex; flex-direction: column; align-items: center; gap: 0.8rem; }

.btn {
  display: inline-block;
  background: var(--nord);
  color: #fff;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.1rem;
  text-decoration: none;
  padding: 0.85rem 1.9rem;
  border-radius: 999px;
  transition: background 0.15s ease, transform 0.15s ease;
}
.btn:hover { background: var(--nord-dark); color: #fff; transform: translateY(-1px); }

.quiet-link { font-size: 0.95rem; color: var(--wood); }
.quiet-link:hover { color: var(--nord); }

.hero-photo img { width: 100%; }

/* ---------- Story ---------- */
.story { padding: clamp(3rem, 8vw, 5.5rem) 0; }

.story h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); }

.story p { font-size: clamp(1.05rem, 1.8vw, 1.15rem); }

.story-kicker {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.2rem, 2.2vw, 1.4rem);
  color: var(--couch);
  margin-top: 1.4rem;
}

/* ---------- Record shelf (Section C) ---------- */
.shelf-section {
  background: var(--wall-deep);
  padding: clamp(3rem, 8vw, 5.5rem) 0;
}

.shelf-section h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  text-align: center;
  margin-bottom: 2.2rem;
}

.shelf {
  list-style: none;
  margin: 0 0 2.4rem;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
}

/* Each offering is a record sleeve resting on a thin shelf line */
.sleeve { position: relative; padding-bottom: 14px; }

.sleeve::after {
  /* the shelf */
  content: "";
  position: absolute;
  left: -6px;
  right: -6px;
  bottom: 0;
  height: 3px;
  background: var(--wood-soft);
  border-radius: 2px;
}

.sleeve-face {
  aspect-ratio: 1 / 1;
  display: flex;
  flex-direction: column;
  padding: 1.1rem 1.15rem;
  border-radius: 3px;
  box-shadow: 0 2px 5px rgba(43, 38, 34, 0.18);
  color: #fff;
}

.sleeve-catalog {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.75;
  margin-bottom: 1rem;
}

.sleeve-face h3 {
  color: inherit;
  font-size: 1.35rem;
  margin-bottom: 0.35rem;
}

.sleeve-face p:last-child { margin: 0; font-size: 0.92rem; line-height: 1.5; opacity: 0.92; }

/* Cover colours: muted vinyl-era tones pulled from the wall of records */
.sleeve-piano       .sleeve-face { background: var(--couch); }
.sleeve-voice       .sleeve-face { background: #7c4a63; }  /* muted plum, à la Ray Brown Trio */
.sleeve-theory      .sleeve-face { background: #a97e3f; }  /* ochre, à la Silk Sonic gold */
.sleeve-songwriting .sleeve-face { background: #55705e; }  /* desaturated sage green */

.shelf-notes { max-width: 46rem; margin-inline: auto; text-align: center; }

.beginners-note {
  margin-top: 1.3rem;
  padding-top: 1.3rem;
  border-top: 1px solid var(--wood-soft);
}

/* ---------- About ---------- */
.about { padding: clamp(3rem, 8vw, 5.5rem) 0; }

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 420px) 1fr;
  gap: clamp(1.8rem, 4vw, 3.5rem);
  align-items: start;
}

.about-photo img {
  border-radius: 4px;
  box-shadow: 6px 6px 0 var(--wood-soft);
}

.about-copy h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); }

.chips {
  list-style: none;
  margin: 1.4rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.chips li {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--couch);
  border: 1px solid var(--wood-soft);
  background: #fff;
  border-radius: 999px;
  padding: 0.3rem 0.8rem;
}

/* ---------- How it works + pricing ---------- */
.how {
  background: var(--wall-deep);
  padding: clamp(3rem, 8vw, 5.5rem) 0;
}

.how h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  text-align: center;
  margin-bottom: 0.6rem;
}

.how-eyebrow {
  text-align: center;
  margin-bottom: 0.6rem;
}

.section-lede {
  max-width: 46rem;
  margin: 0 auto 2.4rem;
  text-align: center;
  font-size: clamp(1.02rem, 1.9vw, 1.15rem);
}

.steps {
  list-style: none;
  margin: 0 0 2.6rem;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  background: var(--couch);
  color: var(--wall);
  font-family: var(--display);
  font-weight: 700;
  margin-bottom: 0.7rem;
}

.steps h3 { font-size: 1.2rem; margin-bottom: 0.3rem; }
.steps p { margin: 0; font-size: 0.98rem; }

.includes {
  list-style: none;
  max-width: 46rem;
  margin: 0 auto 1.4rem;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
}

.includes li {
  background: #fff;
  border: 1px solid var(--wood-soft);
  border-left: 4px solid var(--couch);
  border-radius: 6px;
  padding: 1.1rem 1.25rem;
}

.includes h3 { font-size: 1.05rem; margin-bottom: 0.25rem; }
.includes p { margin: 0; font-size: 0.93rem; }

.pricing-panel {
  max-width: 46rem;
  margin-inline: auto;
  background: #fff;
  border: 1px solid var(--wood-soft);
  border-radius: 6px;
  padding: clamp(1.4rem, 3vw, 2rem);
  text-align: center;
}

.price-line {
  font-family: var(--display);
  font-size: clamp(1.15rem, 2.2vw, 1.35rem);
  color: var(--couch);
}

.pricing-panel p:last-child { margin: 0; }

.special {
  border-top: 1px solid var(--wood-soft);
  padding-top: 1.1rem;
  margin-top: 1.1rem;
}

.risk-reversal { font-size: 0.95rem; color: var(--wood); }

.program-notes {
  max-width: 46rem;
  margin: 1.6rem auto 0;
  text-align: center;
}
.program-notes p:last-child { margin-bottom: 0; }

.availability { font-size: 0.95rem; }

/* ---------- Finale ---------- */
.finale {
  background: var(--couch);
  color: var(--wall);
  text-align: center;
  padding: clamp(3.5rem, 9vw, 6rem) 0;
}

.finale h2 {
  color: var(--wall);
  font-size: clamp(1.9rem, 4.6vw, 2.6rem);
  margin-bottom: 1.6rem;
}

/* Keep "Let me help you find it again." as one unbroken line wherever it fits;
   below 640px it wraps naturally (balanced, so no orphaned word). */
@media (min-width: 640px) {
  .finale-second-line { white-space: nowrap; }
}
.nowrap { white-space: nowrap; }

.btn-on-dark { box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25); }

.finale-email { margin: 1.4rem 0 0; font-size: 0.95rem; opacity: 0.92; }
.finale-email a { color: var(--wall); }
.finale-email a:hover { color: #fff; }

/* ---------- Footer ---------- */
.footer {
  background: var(--couch-deep);
  color: rgba(246, 242, 234, 0.75);
  text-align: center;
  font-size: 0.88rem;
  padding: 1.4rem 1.25rem;
}
.footer p { margin: 0; }
.footer a { color: rgba(246, 242, 234, 0.9); }
.footer a:hover { color: #fff; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .shelf { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-photo { max-width: 420px; }
  .steps { grid-template-columns: 1fr; gap: 1.4rem; }
  .includes { grid-template-columns: 1fr; gap: 1rem; }
}

@media (max-width: 520px) {
  .shelf { grid-template-columns: 1fr; gap: 1.6rem; }
  .sleeve-face { aspect-ratio: auto; min-height: 0; }
  .sleeve-catalog { margin-bottom: 0.8rem; }
}
