/* Toby Goodman Music: site styles */
:root {
  --cream: #faf7f2;
  --ink: #1c1814;
  --dark: #16130f;
  --dark-2: #211c16;
  --bronze: #b8863b;
  --bronze-dark: #966b2a;
  --muted: #6e6459;
  --line: #e6dfd4;
  --white: #fffdf9;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.65;
  font-size: 17px;
}

h1, h2, h3, .display {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.3rem); }
h3 { font-size: 1.25rem; }

a { color: var(--bronze-dark); }
a:hover { color: var(--bronze); }

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

.container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }

/* ---------- Nav ---------- */
header.site-header {
  background: var(--dark);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 2px solid var(--bronze);
}

.nav-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  flex-wrap: wrap;
}

.brand {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.25rem;
  color: var(--cream);
  text-decoration: none;
  font-weight: 600;
  padding: 14px 0;
}
.brand span { color: var(--bronze); }
.brand:hover { color: var(--white); }

nav.site-nav { display: flex; gap: 4px; align-items: center; flex-wrap: wrap; }

nav.site-nav a,
nav.site-nav .nav-parent {
  color: #d8d0c4;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 6px;
  background: none;
  border: 0;
  font-family: inherit;
  cursor: pointer;
  line-height: inherit;
}
nav.site-nav a:hover,
nav.site-nav .nav-parent:hover { color: var(--white); background: rgba(255,255,255,0.07); }
nav.site-nav a.active,
nav.site-nav .nav-group.active > .nav-parent { color: var(--bronze); }
nav.site-nav a.btn-nav {
  background: var(--bronze);
  color: var(--dark);
  font-weight: 600;
  margin-left: 6px;
}
nav.site-nav a.btn-nav:hover { background: #cf9a48; color: var(--dark); }

.nav-parent::after { content: " ▾"; font-size: 0.75em; opacity: 0.7; }

.nav-group { position: relative; }
.submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  padding-top: 8px;
  min-width: 250px;
}
.submenu-inner {
  background: var(--dark-2);
  border-top: 2px solid var(--bronze);
  border-radius: 0 0 10px 10px;
  box-shadow: 0 14px 30px rgba(0,0,0,0.35);
  padding: 8px;
  display: flex;
  flex-direction: column;
}
nav.site-nav .submenu a { padding: 10px 12px; }
.nav-group:hover .submenu,
.nav-group:focus-within .submenu { display: block; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(255,255,255,0.3);
  color: var(--cream);
  font-size: 1.3rem;
  padding: 4px 12px;
  border-radius: 6px;
  cursor: pointer;
}

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  nav.site-nav {
    display: none;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    padding-bottom: 14px;
  }
  nav.site-nav.open { display: flex; }
  nav.site-nav a, nav.site-nav .nav-parent { padding: 12px; text-align: left; }
  nav.site-nav a.btn-nav { margin-left: 0; text-align: center; margin-top: 8px; }
  .nav-parent { pointer-events: none; color: var(--bronze) !important; text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.75rem !important; padding-bottom: 2px !important; }
  .nav-parent::after { content: ""; }
  .submenu { display: block; position: static; padding-top: 0; min-width: 0; }
  .submenu-inner { background: none; border: 0; box-shadow: none; padding: 0 0 6px 10px; }
}

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(160deg, var(--dark) 0%, var(--dark-2) 60%, #2c2416 100%);
  color: var(--cream);
  padding: 72px 0 80px;
}
.hero.compact { padding: 56px 0 60px; }
.hero .kicker {
  color: var(--bronze);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 16px;
}
.hero h1 { color: var(--white); margin-bottom: 20px; }
.hero p.lead { font-size: 1.15rem; color: #cfc6b8; max-width: 640px; }
.hero .actions { margin-top: 32px; display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.98rem;
  padding: 13px 26px;
  border-radius: 8px;
  border: 2px solid var(--bronze);
  transition: all 0.15s ease;
}
.btn-solid { background: var(--bronze); color: var(--dark); }
.btn-solid:hover { background: #cf9a48; border-color: #cf9a48; color: var(--dark); }
.btn-ghost { color: var(--bronze); background: transparent; }
.btn-ghost:hover { background: var(--bronze); color: var(--dark); }
.btn-dark { border-color: var(--dark); color: var(--dark); background: transparent; }
.btn-dark:hover { background: var(--dark); color: var(--cream); }

/* ---------- Sections ---------- */
section { padding: 64px 0; }
section.tight { padding: 44px 0; }
section.alt { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
section.dark-section { background: var(--dark); color: var(--cream); }
section.dark-section h2 { color: var(--white); }

.section-label {
  color: var(--bronze-dark);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.dark-section .section-label { color: var(--bronze); }

/* ---------- Cards ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
  margin-top: 34px;
}
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 30px 26px;
  text-decoration: none;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
a.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 26px rgba(28, 24, 20, 0.1);
  color: var(--ink);
}
.card h3 { color: var(--ink); }
.card p { color: var(--muted); font-size: 0.95rem; }
.card .card-cta { color: var(--bronze-dark); font-weight: 600; font-size: 0.92rem; margin-top: auto; }

/* ---------- Checklists ---------- */
ul.checklist { list-style: none; margin-top: 18px; }
ul.checklist li {
  padding: 9px 0 9px 34px;
  position: relative;
  border-bottom: 1px solid rgba(184, 134, 59, 0.15);
}
ul.checklist li::before {
  content: "•";
  color: var(--bronze);
  font-weight: 700;
  position: absolute;
  left: 10px;
  font-size: 1.2rem;
}
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-top: 30px;
}
@media (max-width: 760px) { .two-col { grid-template-columns: 1fr; } }

/* ---------- Logo strip ---------- */
.logo-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 44px;
  flex-wrap: wrap;
  margin-top: 30px;
}
.logo-strip img {
  height: 44px;
  width: auto;
  filter: grayscale(1);
  opacity: 0.75;
  transition: all 0.2s ease;
}
.logo-strip a:hover img, .logo-strip img:hover { filter: none; opacity: 1; }

/* ---------- Credits ---------- */
.credit-columns {
  columns: 3;
  column-gap: 40px;
  margin-top: 20px;
  font-size: 0.98rem;
  line-height: 2;
}
@media (max-width: 860px) { .credit-columns { columns: 2 !important; } }
@media (max-width: 540px) { .credit-columns { columns: 1 !important; } }

/* ---------- Quotes ---------- */
blockquote {
  border-left: 4px solid var(--bronze);
  background: var(--white);
  padding: 26px 30px;
  border-radius: 0 12px 12px 0;
  margin: 26px 0;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.08rem;
  font-style: italic;
}
blockquote footer {
  margin-top: 14px;
  font-family: "Inter", sans-serif;
  font-style: normal;
  font-size: 0.88rem;
  color: var(--muted);
  font-weight: 600;
}

/* ---------- FAQ ---------- */
details.faq {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  margin-bottom: 12px;
  overflow: hidden;
}
details.faq summary {
  cursor: pointer;
  padding: 18px 22px;
  font-weight: 600;
  font-size: 1.02rem;
  list-style: none;
  position: relative;
  padding-right: 48px;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--bronze);
  font-size: 1.4rem;
  font-weight: 400;
}
details.faq[open] summary::after { content: "–"; }
details.faq .faq-body { padding: 0 22px 20px; color: #443e37; }
details.faq .faq-body p { margin-bottom: 12px; }

/* ---------- Forms ---------- */
form.contact-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 34px;
  margin-top: 28px;
  display: grid;
  gap: 18px;
  color: var(--ink);
}
form.contact-form label {
  font-weight: 600;
  font-size: 0.9rem;
  display: block;
  margin-bottom: 6px;
}
form.contact-form input,
form.contact-form select,
form.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #d5ccbe;
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  background: var(--cream);
  color: var(--ink);
}
form.contact-form input:focus,
form.contact-form select:focus,
form.contact-form textarea:focus {
  outline: 2px solid var(--bronze);
  border-color: var(--bronze);
}
form.contact-form button {
  justify-self: start;
  cursor: pointer;
  font-family: inherit;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } form.contact-form { padding: 24px; } }
.hidden { display: none; }

/* ---------- Images ---------- */
.img-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  margin-top: 34px;
}
.img-grid img, .rounded {
  border-radius: 12px;
  object-fit: cover;
  width: 100%;
}
.img-grid img { aspect-ratio: 4 / 3; }

figure.feature { margin: 30px 0; }
figure.feature img { border-radius: 14px; width: 100%; }
figure.feature figcaption {
  font-size: 0.88rem;
  color: var(--muted);
  margin-top: 10px;
  font-style: italic;
}

/* ---------- Price box ---------- */
.price-box {
  background: var(--dark);
  color: var(--cream);
  border-radius: 14px;
  padding: 34px;
  margin: 30px 0;
  border-top: 4px solid var(--bronze);
}
.price-box .price {
  font-family: "Fraunces", Georgia, serif;
  font-size: 2.4rem;
  color: var(--bronze);
  font-weight: 600;
}
.price-box p { color: #cfc6b8; }

/* ---------- Footer ---------- */
footer.site-footer {
  background: var(--dark);
  color: #a89d8e;
  padding: 44px 0;
  font-size: 0.9rem;
}
footer.site-footer .footer-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
footer.site-footer a { color: #d8d0c4; text-decoration: none; }
footer.site-footer a:hover { color: var(--bronze); }
footer.site-footer nav { display: flex; gap: 8px 18px; flex-wrap: wrap; max-width: 640px; }

.notice {
  background: rgba(184, 134, 59, 0.12);
  border: 1px solid rgba(184, 134, 59, 0.4);
  border-radius: 10px;
  padding: 16px 20px;
  font-size: 0.95rem;
  margin-top: 24px;
}

p + p { margin-top: 14px; }
section p { max-width: 72ch; }

/* ---------- Videos (click-to-play YouTube) ---------- */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 30px 26px;
  margin-top: 34px;
}
.video-grid.single { grid-template-columns: 1fr; max-width: 820px; }
.video h3 { font-size: 1.08rem; margin-top: 14px; }
.video p { color: var(--muted); font-size: 0.93rem; margin-top: 6px; }
.yt {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000 center / cover no-repeat;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  display: block;
  width: 100%;
  border: 0;
}
.yt::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 50%, rgba(0,0,0,0.45) 100%);
}
.yt .play {
  position: absolute; left: 50%; top: 50%;
  width: 68px; height: 68px; margin: -34px 0 0 -34px;
  border-radius: 50%;
  background: var(--bronze);
  box-shadow: 0 6px 20px rgba(0,0,0,0.4);
  transition: transform 0.15s ease;
}
.yt .play::after {
  content: ""; position: absolute; left: 27px; top: 21px;
  border-style: solid; border-width: 13px 0 13px 21px;
  border-color: transparent transparent transparent var(--dark);
}
.yt:hover .play, .yt:focus .play { transform: scale(1.08); }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.tag {
  display: inline-block;
  background: rgba(184,134,59,0.15);
  color: var(--bronze-dark);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 20px;
  margin-top: 12px;
}

/* ---------- Gallery ---------- */
.gallery {
  columns: 3 260px;
  column-gap: 16px;
  margin-top: 10px;
}
.gallery a {
  display: block;
  break-inside: avoid;
  margin-bottom: 16px;
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  background: var(--line);
}
.gallery img { width: 100%; transition: transform 0.3s ease; }
.gallery a:hover img { transform: scale(1.03); }
.gallery span {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 26px 14px 10px;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.7) 100%);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 500;
}
.lightbox {
  position: fixed; inset: 0; z-index: 500;
  background: rgba(10, 8, 6, 0.94);
  display: none;
  align-items: center; justify-content: center;
  flex-direction: column;
  padding: 24px;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 100%; max-height: 82vh; border-radius: 6px; }
.lightbox p { color: #d8d0c4; margin-top: 14px; font-size: 0.95rem; text-align: center; }
.lightbox button {
  position: absolute;
  background: rgba(255,255,255,0.08);
  color: #fff; border: 0; cursor: pointer;
  font-size: 1.6rem; width: 52px; height: 52px; border-radius: 50%;
}
.lightbox button:hover { background: var(--bronze); color: var(--dark); }
.lb-close { top: 18px; right: 18px; }
.lb-prev { left: 18px; top: 50%; margin-top: -26px; }
.lb-next { right: 18px; top: 50%; margin-top: -26px; }

/* ---------- Sponsors ---------- */
.sponsor {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 30px;
  align-items: center;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}
.sponsor:last-child { border-bottom: 0; }
.sponsor .logo {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  height: 120px;
  display: flex; align-items: center; justify-content: center;
  padding: 16px;
}
.sponsor .logo img { max-height: 88px; width: auto; }
.sponsor h3 { margin-bottom: 6px; }
@media (max-width: 600px) { .sponsor { grid-template-columns: 1fr; gap: 16px; } .sponsor .logo { max-width: 220px; } }

.gear-list h3 { margin: 26px 0 8px; font-size: 1.1rem; }
.gear-list ul { list-style: none; }
.gear-list li { padding: 6px 0; border-bottom: 1px dashed var(--line); font-size: 0.96rem; }

/* ---------- Timeline (education) ---------- */
.timeline { margin-top: 30px; }
.timeline .item {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.timeline .item h3 { font-size: 1.1rem; }
.timeline .role { color: var(--bronze-dark); font-weight: 600; font-size: 0.95rem; }
@media (max-width: 640px) { .timeline .item { grid-template-columns: 1fr; gap: 6px; } }

/* ---------- Terms ---------- */
.summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 26px;
}
.summary-grid .card { padding: 22px; gap: 6px; }
.summary-grid .card strong { font-family: "Fraunces", Georgia, serif; font-size: 1.25rem; color: var(--bronze-dark); }
.terms h3 { margin: 34px 0 10px; }
.terms ul { margin: 8px 0 0 20px; }
.terms li { margin: 6px 0; }


/* ---------- Homepage hero photo ---------- */
.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 56px;
  align-items: center;
}
.hero-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid rgba(184, 134, 59, 0.45);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}
@media (max-width: 820px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-photo { max-width: 360px; }
}


/* ---------- Sponsor logos: full colour, larger cards ---------- */
.logo-strip { gap: 20px; margin-top: 34px; }
.logo-strip a {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  width: 190px;
  height: 120px;
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.logo-strip a:hover { transform: translateY(-3px); box-shadow: 0 10px 26px rgba(28, 24, 20, 0.1); }
.logo-strip img,
.logo-strip a:hover img,
.logo-strip img:hover {
  height: auto;
  max-height: 80px;
  max-width: 100%;
  width: auto;
  filter: none;
  opacity: 1;
}
@media (max-width: 600px) { .logo-strip a { width: 44%; height: 100px; padding: 14px; } }

/* ---------- Instagram band ---------- */
.insta-band { padding: 48px 0; border-top: 1px solid var(--line); }
.insta-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.insta-inner p:not(.section-label) { color: var(--muted); margin-top: 6px; }
.insta-btn { display: inline-flex; align-items: center; gap: 10px; }
[style*="text-align:center"] p { margin-left: auto; margin-right: auto; }


/* ---------- Instagram band: gold ---------- */
.insta-band { background: linear-gradient(135deg, #c89545 0%, #b8863b 55%, #9c6f2c 100%); border-top: 0; }
.insta-band .section-label { color: var(--dark); opacity: 0.7; }
.insta-band h2 { color: var(--dark); }
.insta-band .insta-inner p:not(.section-label) { color: #2a2117; }
.insta-band .btn-solid { background: var(--dark); border-color: var(--dark); color: var(--cream); }
.insta-band .btn-solid:hover { background: #2c2416; border-color: #2c2416; color: var(--white); }
