/* ============================================================
   Ted Peacock — design tokens
   Clean, light, professional. An instructional/studio site, not a
   performance/stage site — deliberately distinct from the dark band sites.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Lora:ital,wght@0,500;0,600;0,700;1,400&display=swap');

:root {
  --paper:        #FAFAF8;   /* clean off-white */
  --paper-deep:   #F0EFEA;   /* slightly deeper panel */
  --ink:          #232323;   /* near-black, neutral (not warm/cool biased) */
  --muted:        #5C5C58;
  --amber:        #D97A2E;   /* warm accent — drum-stick orange */
  --amber-deep:   #B5621F;
  --navy:         #2C3E50;   /* secondary accent / links */
  --hairline:     #DEDBD2;
  --white:        #FFFFFF;

  --font-display: 'Lora', Georgia, serif;
  --font-body:    'Inter', -apple-system, sans-serif;

  --max-width: 1140px;
  --radius: 6px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--navy);
  text-decoration: underline;
  text-decoration-color: rgba(44, 62, 80, 0.35);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 2px;
}
a:hover { color: var(--amber-deep); text-decoration-color: currentColor; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 0.5em;
  color: var(--ink);
}
h1 { font-weight: 700; }

p { margin: 0 0 1.1em; }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }

.skip-link { position: absolute; left: -999px; top: 0; background: var(--amber); color: var(--white); padding: 10px 16px; z-index: 200; }
.skip-link:focus { left: 12px; top: 12px; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

/* ============================================================
   Header / nav
   ============================================================ */

.site-header { background: var(--white); border-bottom: 1px solid var(--hairline); position: sticky; top: 0; z-index: 100; }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; padding: 18px 24px; max-width: var(--max-width); margin: 0 auto; gap: 16px; }

.wordmark { font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; color: var(--ink); text-decoration: none; white-space: nowrap; }
.wordmark:hover { color: var(--ink); }
.wordmark span.accent { color: var(--amber); }

.main-nav { display: flex; gap: 4px; flex-wrap: wrap; align-items: center; }
.main-nav a { font-weight: 600; text-decoration: none; color: var(--muted); font-size: 0.95rem; padding: 8px 14px; border-radius: var(--radius); }
.main-nav a:hover { background: var(--paper-deep); color: var(--ink); }
.main-nav a.is-active { color: var(--amber-deep); }

.nav-toggle { display: none; background: none; border: 1.5px solid var(--hairline); border-radius: var(--radius); padding: 6px 14px; font-size: 0.95rem; font-weight: 600; cursor: pointer; }

@media (max-width: 820px) {
  .nav-toggle { display: inline-block; }
  .main-nav { display: none; flex-direction: column; align-items: stretch; width: 100%; padding: 8px 0 4px; }
  .main-nav.is-open { display: flex; }
  .site-header__inner { flex-wrap: wrap; }
}

/* ============================================================
   Hero
   ============================================================ */

.hero { background: var(--white); border-bottom: 1px solid var(--hairline); padding: 72px 24px; }
.hero__inner { max-width: var(--max-width); margin: 0 auto; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.hero .eyebrow { font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.82rem; color: var(--amber-deep); display: block; margin-bottom: 14px; }
.hero h1 { font-size: clamp(2.2rem, 4.5vw, 3.2rem); margin-bottom: 18px; }
.hero p.lede { font-size: 1.15rem; color: var(--muted); max-width: 480px; margin-bottom: 30px; }
.hero__photo { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--hairline); }
.hero__photo img { width: 100%; height: 420px; object-fit: cover; }

@media (max-width: 860px) {
  .hero__inner { grid-template-columns: 1fr; gap: 32px; }
  .hero__photo img { height: 280px; }
}

.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; }

.btn { display: inline-block; font-weight: 700; font-size: 0.95rem; text-decoration: none; padding: 13px 26px; border-radius: var(--radius); border: 2px solid transparent; }
.btn--primary { background: var(--amber); color: var(--white); border-color: var(--amber); }
.btn--primary:hover { background: var(--amber-deep); border-color: var(--amber-deep); color: var(--white); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--hairline); }
.btn--ghost:hover { border-color: var(--ink); }

/* ============================================================
   Sections
   ============================================================ */

.section { padding: 64px 24px; }
.section--alt { background: var(--paper-deep); border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); }
.section__header { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 12px; margin-bottom: 32px; max-width: var(--max-width); margin-left: auto; margin-right: auto; }
.section__header h2 { font-size: 1.8rem; margin: 0; }
.section__header .see-all { font-weight: 700; font-size: 0.9rem; white-space: nowrap; }

/* ============================================================
   Lesson cards
   ============================================================ */

.lesson-grid { max-width: var(--max-width); margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 920px) { .lesson-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .lesson-grid { grid-template-columns: 1fr; } }

.lesson-card { background: var(--white); border: 1px solid var(--hairline); border-radius: var(--radius); padding: 26px 24px; text-decoration: none; color: var(--ink); display: block; transition: transform 0.15s ease, box-shadow 0.15s ease; }
.lesson-card:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(0,0,0,0.06); }
.lesson-card__number { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; background: var(--amber); color: var(--white); border-radius: 50%; font-weight: 700; font-size: 0.95rem; margin-bottom: 14px; }
.lesson-card__title { font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; margin: 0; }

.transcription-card { background: var(--white); border: 1px solid var(--hairline); border-radius: var(--radius); padding: 26px 24px; text-decoration: none; color: var(--ink); display: block; transition: transform 0.15s ease, box-shadow 0.15s ease; }
.transcription-card:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(0,0,0,0.06); }
.transcription-card__title { font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; margin: 0 0 4px; }
.transcription-card__subtitle { font-size: 0.9rem; color: var(--muted); }
.transcription-card__badge { display: inline-block; margin-top: 14px; font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: var(--amber-deep); background: rgba(217,122,46,0.1); padding: 4px 10px; border-radius: 999px; }

/* ============================================================
   Testimonials
   ============================================================ */

.testimonial-grid { max-width: var(--max-width); margin: 0 auto; display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
@media (max-width: 760px) { .testimonial-grid { grid-template-columns: 1fr; } }
.testimonial { background: var(--white); border: 1px solid var(--hairline); border-radius: var(--radius); padding: 28px 30px; }
.testimonial__name { font-weight: 700; font-size: 0.95rem; margin-bottom: 10px; }
.testimonial__detail { font-size: 0.92rem; color: var(--muted); margin-bottom: 14px; }
.testimonial__quote { font-style: italic; color: var(--ink); margin: 0; }

/* ============================================================
   Footer
   ============================================================ */

.site-footer { background: var(--white); border-top: 1px solid var(--hairline); padding: 48px 24px 32px; }
.footer__grid { max-width: var(--max-width); margin: 0 auto; }
.footer__brand p { color: var(--muted); margin-top: 10px; }
.footer__bottom { max-width: var(--max-width); margin: 32px auto 0; padding-top: 20px; border-top: 1px solid var(--hairline); font-size: 0.85rem; color: var(--muted); }

/* ============================================================
   Page content
   ============================================================ */

.page-header { background: var(--white); border-bottom: 1px solid var(--hairline); padding: 48px 24px 36px; }
.page-header__inner { max-width: 760px; margin: 0 auto; }
.page-header .eyebrow { font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.8rem; color: var(--amber-deep); display: block; margin-bottom: 10px; }
.page-header h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); margin-bottom: 6px; }
.page-header .meta { color: var(--muted); font-size: 0.95rem; }

.prose { max-width: 760px; margin: 0 auto; padding: 44px 24px 72px; }
.prose img { border-radius: var(--radius); margin: 8px auto 20px; max-width: 100%; border: 1px solid var(--hairline); }
.prose video { width: 100%; border-radius: var(--radius); margin: 8px 0 24px; border: 1px solid var(--hairline); background: #000; }
.prose h2 { margin-top: 1.6em; font-size: 1.5rem; }
.prose h3, .prose h4 { margin-top: 1.4em; font-size: 1.15rem; }
.prose ul, .prose ol { padding-left: 1.3em; margin-bottom: 1.1em; }
.prose li { margin-bottom: 0.4em; }
.prose hr { border: none; border-top: 1px solid var(--hairline); margin: 2.5em 0; }

.download-link { display: inline-flex; align-items: center; gap: 8px; background: var(--paper-deep); border: 1px solid var(--hairline); border-radius: var(--radius); padding: 12px 18px; font-weight: 700; text-decoration: none; color: var(--ink); margin: 6px 0 24px; }
.download-link:hover { background: var(--white); border-color: var(--amber); color: var(--amber-deep); }

.empty-note { background: var(--paper-deep); border: 1px dashed var(--hairline); border-radius: var(--radius); padding: 20px; color: var(--muted); font-size: 0.95rem; }
