/* Lorilee Bajema Music — one stylesheet for all five pages.
   Mobile-first. No frameworks, no build step. */

:root {
  --bg: #fdfaf4;
  --card: #ffffff;
  --ink: #2e2620;
  --muted: #6f6257;
  --gold: #b98a2f;
  --gold-deep: #856318;
  --gold-soft: #f3e8d2;
  --line: #e8dfd0;
  --radius: 14px;
  --shadow: 0 1px 3px rgba(46, 38, 32, 0.08), 0 6px 18px rgba(46, 38, 32, 0.06);
}

* { box-sizing: border-box; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 0.6rem 1rem;
  z-index: 10;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

:focus-visible {
  outline: 3px solid var(--gold-deep);
  outline-offset: 2px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 1.0625rem/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  line-height: 1.2;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(1.75rem, 6vw, 2.5rem); }
h2 { font-size: clamp(1.4rem, 5vw, 1.85rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
a { color: var(--gold-deep); }
img { max-width: 100%; height: auto; display: block; }

.wrap {
  max-width: 42rem;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Header / nav */
.site-header {
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  padding: 0.9rem 0 0.8rem;
}
.site-header .wrap { text-align: center; }
.brand {
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  display: inline-block;
  margin-bottom: 0.35rem;
}
.brand .amp { color: var(--gold); }
nav.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.15rem 1.1rem;
  font-size: 0.95rem;
}
nav.site-nav a {
  color: var(--muted);
  text-decoration: none;
  padding: 0.2rem 0;
}
nav.site-nav a[aria-current="page"] {
  color: var(--ink);
  font-weight: 600;
  border-bottom: 2px solid var(--gold);
}
nav.site-nav a:hover { color: var(--ink); }

main { padding: 2.25rem 0 3rem; }

/* CTA button — the one funnel */
.cta {
  display: inline-block;
  background: var(--gold-deep);
  color: #fff;
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  padding: 0.85rem 1.9rem;
  border-radius: 999px;
  box-shadow: var(--shadow);
}
.cta:hover { background: #7d5d1a; }
.cta:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 2px;
}
.cta-note {
  font-size: 0.9rem;
  color: var(--muted);
  margin-top: 0.6rem;
}

/* Enrolment timing line — sits under the CTA note. Emphasised, but never a
   second button: the single-CTA rule means only .cta is ever a button. */
.enroll-note {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--gold-deep);
  margin-top: 0.5rem;
}

/* Secondary contact channel (call or text). Plain text, not a button.
   Ships hidden and is revealed by booking.js once CONTACT_PHONE is set. */
.contact-line {
  font-size: 0.95rem;
  color: var(--muted);
  margin-top: 0.5rem;
}
.contact-line a { color: var(--gold-deep); font-weight: 700; }

/* Keep [hidden] authoritative even where a rule sets display on the element. */
[hidden] { display: none !important; }

/* Hero (home) */
.hero {
  text-align: center;
  padding-top: 0.5rem;
}
.hero-photo {
  width: 172px;
  height: 172px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1.1rem;
  border: 4px solid var(--gold);
  box-shadow: 0 0 0 6px var(--gold-soft), var(--shadow);
}
.hero .eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--gold-deep);
  margin-bottom: 0.5rem;
}
.hero p.lede {
  color: var(--muted);
  max-width: 34rem;
  margin: 0 auto 1.4rem;
}

.lede-center {
  text-align: center;
  color: var(--muted);
  max-width: 34rem;
  margin: 0 auto 1em;
}

/* Cards */
.cards {
  display: grid;
  gap: 1rem;
  margin: 1.25rem 0;
}
@media (min-width: 640px) {
  .cards.two { grid-template-columns: 1fr 1fr; }
}
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem 1.35rem;
  box-shadow: var(--shadow);
}
.card h2, .card h3 { font-size: 1.15rem; margin-bottom: 0.35rem; }
.card p { margin-bottom: 0; color: var(--muted); font-size: 0.98rem; }

/* Section rhythm */
section + section { margin-top: 2.75rem; }
.section-title {
  text-align: center;
}

/* Credential list (about) */
.cred-list {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
}
.cred-list li {
  padding: 0.8rem 0 0.8rem 1.4rem;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.cred-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.35rem;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--gold);
}
.cred-list li:last-child { border-bottom: none; }
.cred-list strong { display: block; }
.cred-list span { color: var(--muted); font-size: 0.95rem; }

/* Portrait figures (about / testimonials) */
figure.portrait {
  margin: 0 auto 1.75rem;
  max-width: 380px;
}
figure.portrait img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
/* Full-width photo banner (testimonials) */
figure.banner {
  margin: 0 0 1.75rem;
}
figure.banner img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}

/* Pricing — duration-first cards */
.price-list {
  display: grid;
  gap: 0.85rem;
  margin: 1.5rem 0;
}
.price-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.05rem 1.25rem;
  box-shadow: var(--shadow);
}
.price-card .headline {
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  font-size: 1.3rem;
  font-weight: 700;
  display: block;
}
.price-card .kind {
  color: var(--muted);
  font-size: 0.95rem;
  display: block;
  margin-top: 0.15rem;
}
.price-card .note {
  font-size: 0.9rem;
  color: var(--gold-deep);
  margin: 0.5rem 0 0;
  font-weight: 600;
}
.price-card.featured {
  border: 2px solid var(--gold);
  background: linear-gradient(180deg, #fffdf8, var(--gold-soft));
  position: relative;
}
.price-card.featured .badge {
  position: absolute;
  top: -0.75rem;
  right: 1rem;
  background: var(--gold-deep);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
}

/* Testimonial quote */
figure.quote {
  margin: 1.75rem 0;
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  box-shadow: var(--shadow);
  padding: 1.25rem 1.35rem;
}
figure.quote blockquote {
  margin: 0;
}
figure.quote blockquote p {
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  font-size: 1.2rem;
  line-height: 1.45;
  margin: 0 0 0.75rem;
}
figure.quote figcaption {
  font-size: 0.92rem;
  color: var(--muted);
}
figure.quote figcaption strong {
  display: block;
  color: var(--ink);
}
figure.quote.compact blockquote p { font-size: 1.1rem; }

/* Callouts */
.callout {
  background: var(--gold-soft);
  border-left: 4px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
}
.callout p { margin: 0; font-size: 0.98rem; }

/* Policy list (tuition) */
.policy-list {
  margin: 0.75rem 0 0;
  padding-left: 1.2rem;
}
.policy-list li { margin-bottom: 0.5rem; }

/* Centered CTA block reused at page bottoms */
.book-block {
  text-align: center;
  margin-top: 2.75rem;
  padding: 2rem 1.25rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.book-block h2 { margin-bottom: 0.4rem; }
.book-block p { color: var(--muted); margin-bottom: 1.25rem; }

/* FAQ (lessons page) */
.faq-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 0.9rem 1.25rem;
  margin-bottom: 0.75rem;
}
.faq-item summary {
  font-weight: 600;
  cursor: pointer;
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
}
.faq-item summary::marker,
.faq-item summary::-webkit-details-marker {
  color: var(--gold-deep);
}
.faq-item[open] summary { margin-bottom: 0.4rem; }
.faq-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.75rem 0 2.25rem;
  text-align: center;
  font-size: 0.9rem;
  color: var(--muted);
}
.site-footer .foot-brand {
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  font-weight: 700;
  color: var(--ink);
  font-size: 1rem;
  margin-bottom: 0.25rem;
}
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.2rem 1rem;
  margin: 0.6rem 0;
}
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--ink); }

/* Lorilee's page (studio.html — private, unlisted home base) */
.portal-list {
  display: grid;
  gap: 0.85rem;
  margin: 1.5rem 0;
}
.portal-btn {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.15rem 1.3rem;
  text-decoration: none;
  color: var(--ink);
}
.portal-btn:hover { border-color: var(--gold); }
.portal-btn .emoji { font-size: 1.7rem; }
.portal-btn strong {
  display: block;
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  font-size: 1.2rem;
}
.portal-btn .sub {
  display: block;
  color: var(--muted);
  font-size: 0.92rem;
  margin-top: 0.1rem;
}
.portal-h2 {
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  font-size: 1.35rem;
  margin: 2.25rem 0 0.75rem;
}
.portal-steps {
  margin: 0;
  padding-left: 1.3rem;
  line-height: 1.65;
}
.portal-steps li { margin-bottom: 0.65rem; }
.portal-note {
  color: var(--muted);
  font-size: 0.95rem;
  margin-top: 0.8rem;
}

/* Read-only settings display. Values are injected by booking.js. */
.portal-details {
  margin: 0;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.15rem 1.3rem;
}
.portal-details dt {
  color: var(--muted);
  font-size: 0.88rem;
  margin-top: 0.9rem;
}
.portal-details dt:first-child { margin-top: 0; }
.portal-details dd {
  margin: 0.15rem 0 0;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.portal-operator {
  margin-top: 2.5rem;
  font-size: 0.92rem;
  color: var(--muted);
}
.portal-operator summary { cursor: pointer; font-weight: 600; }
.portal-operator ul { margin: 0.6rem 0 0; padding-left: 1.2rem; }
.portal-operator li { margin-bottom: 0.4rem; }

@media (min-width: 900px) {
  .wrap { max-width: 46rem; }
  .hero-photo { width: 200px; height: 200px; }
}
