/* Course-mode components: buy card, curriculum locks, interactive quizzes,
   the final exam, sign-in, and the certificate. Layered on top of style.css;
   only loaded when COURSE_MODE is on. Accent matches the cover: #f08122. */

.buy-card {
  border: 1px solid rgba(240, 129, 34, .45);
  border-radius: 14px;
  padding: 1.3rem 1.4rem;
  margin: 1.5rem 0;
  background: rgba(240, 129, 34, .06);
}
.buy-price { font-size: 2.1rem; font-weight: 800; line-height: 1; margin: 0 0 .7rem; }
.buy-price span { font-size: 1rem; font-weight: 500; opacity: .75; }
.cta-buy { display: block; width: 100%; text-align: center; cursor: pointer; border: 0; font: inherit; }
.cta-buy.is-loading { opacity: .6; pointer-events: none; }
.buy-alt, .buy-preview { margin: .7rem 0 0; font-size: .95rem; opacity: .9; }

.get-grid {
  display: grid; gap: 1.1rem; margin-top: 1.4rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.get h3 { margin: 0 0 .3rem; font-size: 1.05rem; }
.get p { margin: 0; opacity: .85; font-size: .95rem; }

.toc-lock { font-size: .72rem; letter-spacing: .04em; text-transform: uppercase; opacity: .7; }
.toc-lock.free { color: #f08122; opacity: 1; font-weight: 700; }
.preview-banner { border-color: rgba(240, 129, 34, .5); }

/* Interactive practice quizzes + exam */
.quiz-q { margin: 0 0 1.15rem; }
.quiz-q .q-stem { font-weight: 600; margin-bottom: .45rem; }
ol.mc { list-style: none; margin: .3rem 0 0; padding: 0; }
ol.mc > li { margin: .25rem 0; border: 1px solid rgba(128, 128, 128, .3); border-radius: 9px; }
ol.mc label { display: flex; gap: .6rem; align-items: flex-start; padding: .5rem .6rem; cursor: pointer; }
ol.mc input { margin-top: .25rem; flex: 0 0 auto; }
ol.mc > li.is-right { border-color: #3fae6b; background: rgba(63, 174, 107, .14); }
ol.mc > li.is-wrong { border-color: #d05a5a; background: rgba(208, 90, 90, .14); }
.q-rationale {
  margin: .5rem 0 0; padding: .5rem .75rem; font-size: .92rem;
  border-left: 3px solid #f08122; background: rgba(240, 129, 34, .08); border-radius: 0 6px 6px 0;
}
.quiz-bar { display: flex; gap: 1rem; align-items: center; margin-top: 1.1rem; flex-wrap: wrap; }
.quiz-check {
  cursor: pointer; border: 0; border-radius: 9px; padding: .6rem 1.15rem;
  font: inherit; font-weight: 700; background: #f08122; color: #161311;
}
.quiz-check:hover { filter: brightness(1.05); }
.quiz-score { font-weight: 700; }
.quiz-q.is-right > .q-stem::after { content: " \2713"; color: #3fae6b; }
.quiz-q.is-wrong > .q-stem::after { content: " \2717"; color: #d05a5a; }

.signin label { display: block; margin-bottom: .7rem; }
.signin input, .exam-name-row input {
  width: 100%; max-width: 22rem; margin-top: .3rem; padding: .55rem .6rem;
  border-radius: 8px; border: 1px solid rgba(128, 128, 128, .4);
  background: transparent; color: inherit; font: inherit;
}
.signin-msg, .exam-result { margin-top: .9rem; min-height: 1.2em; }
.exam-score { font-size: 1.05rem; }
.exam-pass { color: #3fae6b; font-weight: 700; }
.exam-fail { color: #d05a5a; font-weight: 700; }

/* Certificate */
.cert {
  border: 2px solid #f08122; border-radius: 14px; padding: 2.4rem 2rem;
  text-align: center; max-width: 640px; margin: 1.5rem auto; background: rgba(240, 129, 34, .05);
}
.cert-eyebrow { letter-spacing: .16em; text-transform: uppercase; font-size: .8rem; opacity: .8; margin: 0; }
.cert-name { font-size: 2.2rem; margin: .6rem 0; }
.cert-body { font-size: 1.05rem; margin: .4rem 0 1rem; }
.cert-sig { font-weight: 700; margin: 1.4rem 0 .2rem; }
.cert-date { opacity: .75; margin: 0; }
.cert-print { text-align: center; margin-top: 1.2rem; }
.chapter.narrow { max-width: 52rem; }

/* Sales-page sections */
.sec-lede { max-width: 46rem; margin: .2rem auto 1.4rem; opacity: .85; text-align: center; }
.home-pitch { max-width: 46rem; margin: 1.1rem auto 0; text-align: center; font-size: 1.08rem; line-height: 1.6; }
.look-inside .show-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.show-fig { margin: 0; border: 1px solid rgba(128, 128, 128, .25); border-radius: 12px; padding: .8rem; background: rgba(255, 255, 255, .02); }
.show-fig img { width: 100%; height: auto; border-radius: 6px; cursor: zoom-in; }
.t-grid { display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.t-card { margin: 0; border: 1px solid rgba(128, 128, 128, .25); border-radius: 12px; padding: 1.2rem 1.3rem; background: rgba(255, 255, 255, .02); }
.t-card blockquote { margin: 0 0 .8rem; font-size: 1.02rem; line-height: 1.55; }
.t-card figcaption strong { display: block; }
.t-card figcaption span { opacity: .7; font-size: .88rem; }
.author-grid { display: grid; gap: 1.6rem; grid-template-columns: minmax(200px, 280px) 1fr; align-items: start; }
.author-photo { width: 100%; height: auto; border-radius: 12px; }
.cred-chips { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: 1rem; }
.cred-chip { font-size: .76rem; border: 1px solid rgba(240, 129, 34, .4); color: #f08122; border-radius: 999px; padding: .2rem .7rem; }
.ways-grid { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.way { border: 1px solid rgba(128, 128, 128, .28); border-radius: 14px; padding: 1.3rem; }
.way-eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: .72rem; opacity: .7; margin: 0 0 .3rem; }
.way h3 { margin: .1rem 0 .5rem; }
.way .quiz-check { display: inline-block; margin-top: .8rem; text-decoration: none; }
.way-link { background: transparent; border: 1px solid #f08122; color: #f08122; }
.faq details { border-bottom: 1px solid rgba(128, 128, 128, .22); padding: .7rem 0; }
.faq summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: #f08122; font-weight: 700; }
.faq details[open] summary::after { content: "\2013"; }
.faq details > div { padding-top: .5rem; opacity: .9; }
.cert-sample { margin-top: 1rem; }
.notify { max-width: 34rem; margin: 1.4rem auto 0; }
.notify-form { display: flex; gap: .6rem; flex-wrap: wrap; }
.notify-form input { flex: 1 1 12rem; padding: .55rem .6rem; border-radius: 8px; border: 1px solid rgba(128, 128, 128, .4); background: transparent; color: inherit; font: inherit; }
.final-cta-h { text-align: center; margin: 0 0 1rem; }
@media (max-width: 640px) { .author-grid { grid-template-columns: 1fr; } }

/* ---- Big-format landing page (v2) ---- */
.land > section { padding: clamp(2.6rem, 6vw, 5rem) 0; }
.land > section:nth-of-type(even) { background: rgba(240, 129, 34, .035); }
.big-h {
  font-family: "Anton", "Arial Narrow", sans-serif;
  font-weight: 400; text-transform: uppercase; letter-spacing: .02em;
  font-size: clamp(1.9rem, 4.6vw, 3.1rem); line-height: 1.08;
  margin: 0 0 .9rem; text-align: center;
}
.big-h .accent, .home-title .accent { color: #f08122; }
.land .home-title.xl { font-size: clamp(2.7rem, 7vw, 4.6rem); line-height: 1.04; }
.home-sub-big { font-size: clamp(1.02rem, 2vw, 1.22rem); line-height: 1.6; max-width: 34rem; margin: 1rem 0 1.4rem; }
.hero-ctas { display: flex; gap: .9rem; flex-wrap: wrap; align-items: center; margin: 0 0 1.1rem; }
.cta-xl {
  display: inline-block; cursor: pointer; border: 0; border-radius: 12px;
  padding: 1rem 1.9rem; font: inherit; font-weight: 800;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  background: #f08122; color: #161311; text-decoration: none;
  box-shadow: 0 6px 30px rgba(240, 129, 34, .35);
}
.cta-xl:hover { filter: brightness(1.07); }
.cta-ghost {
  display: inline-block; border: 2px solid rgba(240, 129, 34, .7); color: inherit;
  border-radius: 12px; padding: .85rem 1.4rem; font-weight: 700; text-decoration: none;
}
.cta-ghost:hover { border-color: #f08122; }
.trust-strip { font-size: .92rem; opacity: .85; line-height: 1.7; }
.trust-strip strong { letter-spacing: .05em; }
.land .home-cover { box-shadow: 0 18px 70px rgba(240, 129, 34, .28); }
.stat-xl .stat strong {
  font-family: "Anton", "Arial Narrow", sans-serif; font-weight: 400;
  font-size: clamp(2rem, 4.4vw, 3.2rem); color: #f08122;
}
.stat-xl .stat span { font-size: .95rem; }
.land .get h3 { font-size: 1.18rem; }
.land .get p { font-size: .98rem; }
.lead-p { font-size: 1.08rem; line-height: 1.65; }
.feature-row {
  display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(1.4rem, 4vw, 3rem);
  align-items: center; margin: clamp(2rem, 5vw, 3.4rem) 0;
}
.feature-row.rev { direction: rtl; }
.feature-row.rev > * { direction: ltr; }
.f-img { margin: 0; border: 1px solid rgba(128, 128, 128, .25); border-radius: 14px;
  padding: 1rem; background: rgba(255, 255, 255, .03); }
.f-img img { width: 100%; height: auto; border-radius: 8px; cursor: zoom-in; }
.f-copy h3 {
  font-family: "Anton", "Arial Narrow", sans-serif; font-weight: 400;
  text-transform: uppercase; font-size: clamp(1.4rem, 3vw, 2rem);
  line-height: 1.12; margin: 0 0 .6rem;
}
.f-copy p { font-size: 1.05rem; line-height: 1.6; }
.mini-note { text-align: center; opacity: .8; margin-top: .8rem; }
.t-outcome {
  font-family: "Anton", "Arial Narrow", sans-serif; font-weight: 400;
  text-transform: uppercase; color: #f08122; letter-spacing: .04em;
  font-size: 1.25rem; margin: 0 0 .6rem;
}
.check-list {
  list-style: none; padding: 0; max-width: 56rem; margin: 0 auto 1.2rem;
  display: grid; gap: .55rem .9rem; grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
}
.check-list li { padding-left: 1.7rem; position: relative; font-size: 1.02rem; }
.check-list li::before { content: "\2713"; position: absolute; left: 0; color: #f08122; font-weight: 800; }
.anchor-line { text-align: center; font-size: 1.08rem; margin: 1rem 0 1.4rem; }
.land .buy-card { max-width: 30rem; margin: 1.2rem auto; }
.sd-wrap { }
.sd-panel {
  display: grid; grid-template-columns: 72px 1fr; gap: 1.4rem; align-items: start;
  border: 1px solid rgba(240, 129, 34, .5); border-radius: 18px;
  padding: clamp(1.4rem, 4vw, 2.6rem);
  background: linear-gradient(135deg, rgba(240, 129, 34, .12), rgba(0, 0, 0, .25));
}
.sd-panel .big-h { text-align: left; }
.sd-panel p { max-width: 40rem; font-size: 1.05rem; }
.sd-cta { margin-top: .6rem; }
.school-cta { text-align: center; }
.notify-xl { max-width: 34rem; margin: 0 auto; }
.notify-xl input { font-size: 1.05rem; padding: .8rem .9rem; }
.notify-xl .quiz-check { font-size: 1.05rem; padding: .8rem 1.3rem; }
.bar-enroll {
  background: #f08122; color: #161311 !important; font-weight: 800;
  border-radius: 999px; padding: .32rem .9rem; text-decoration: none; white-space: nowrap;
}
.bar-enroll:hover { filter: brightness(1.07); }
.sample-quiz { max-width: 46rem; margin-left: auto; margin-right: auto; }
@media (max-width: 760px) {
  .feature-row, .feature-row.rev { grid-template-columns: 1fr; direction: ltr; }
  .sd-panel { grid-template-columns: 1fr; }
  .land .home-title.xl { font-size: clamp(2.3rem, 11vw, 3.2rem); }
}

/* ---- v3: bigger canvas, parallax bands, reveal motion ---- */
.land .home-contents { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.land .home-contents h2 { border-top: 0; }
.land .home-hero.hero-xl {
  max-width: 1150px; min-height: 82vh; align-content: center;
  padding-top: clamp(3rem, 8vh, 5.5rem); padding-bottom: clamp(2rem, 6vh, 4rem);
}
.land .home-cover { max-width: 380px; }

/* Parallax statement bands (fixed attachment = desktop parallax; mobile scrolls) */
.band {
  color: #fff; text-align: center;
  padding: clamp(4.2rem, 11vw, 7.5rem) 24px;
  background-size: cover; background-position: center;
  background-attachment: fixed;
}
.band-1 { background-image:
  linear-gradient(rgba(16, 13, 10, .86), rgba(16, 13, 10, .92)),
  url("images/ch11_edit_window_labeled_2025.webp"); }
.band-2 { background-image:
  linear-gradient(rgba(16, 13, 10, .87), rgba(16, 13, 10, .93)),
  url("images/D57_drum_mic_map.svg"); }
.band-3 { background-image:
  linear-gradient(rgba(16, 13, 10, .85), rgba(16, 13, 10, .92)),
  url("images/D53_mastering_chain.svg"); }
.band-kicker {
  text-transform: uppercase; letter-spacing: .14em; font-size: .95rem;
  opacity: .85; margin: 0 0 .6rem;
}
.band-h { font-size: clamp(2.2rem, 6vw, 4rem); margin: 0; color: #fff; }
.band-cta { margin: 1.6rem 0 0; }
@media (max-width: 900px) { .band { background-attachment: scroll; } }

/* Author: bigger presence, tighter crop */
.author-grid { grid-template-columns: minmax(280px, 420px) 1fr; gap: 2rem; }
.author-photo {
  width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover;
  border-radius: 14px; box-shadow: 0 14px 50px rgba(240, 129, 34, .25);
}

/* Who it's for */
.who-grid { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.who { border: 1px solid rgba(240, 129, 34, .35); border-radius: 14px; padding: 1.4rem; }
.who h3 {
  font-family: "Anton", "Arial Narrow", sans-serif; font-weight: 400;
  text-transform: uppercase; color: #f08122; font-size: 1.35rem; margin: 0 0 .5rem;
}
.who p { margin: 0; font-size: 1.02rem; line-height: 1.6; }

/* Mega curriculum: chapter cards with real topics */
.mega-part { margin: 2.2rem 0; }
.mega-part-h {
  font-family: "Anton", "Arial Narrow", sans-serif; font-weight: 400;
  text-transform: uppercase; font-size: clamp(1.3rem, 2.6vw, 1.8rem);
  margin: 0 0 1rem; display: flex; align-items: baseline; gap: .8rem;
}
.mega-part-n { color: #f08122; font-size: .8em; letter-spacing: .08em; }
.ch-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
.ch-card {
  display: block; border: 1px solid rgba(128, 128, 128, .28); border-radius: 12px;
  padding: 1.05rem 1.15rem; text-decoration: none; color: inherit;
  background: rgba(255, 255, 255, .02); transition: transform .18s, border-color .18s;
}
.ch-card:hover { transform: translateY(-3px); border-color: #f08122; }
.ch-card-top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: .3rem; }
.ch-cnum {
  font-family: "Anton", "Arial Narrow", sans-serif; font-weight: 400;
  color: #f08122; font-size: 1.5rem; letter-spacing: .04em;
}
.ch-card h4 { margin: 0 0 .4rem; font-size: 1.08rem; }
.ch-topics { margin: 0; font-size: .88rem; line-height: 1.55; opacity: .78; }

/* Topic wall */
.topic-wall { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; max-width: 62rem; margin: 0 auto; }
.topic-chip {
  border: 1px solid rgba(240, 129, 34, .45); border-radius: 999px;
  padding: .32rem .85rem; font-size: .92rem; white-space: nowrap;
}

/* Scroll reveal (class added by JS only — no-JS stays fully visible) */
.rv { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s ease; }
.rv.vis { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; transition: none; } }

/* Differentiators */
.diff-grid { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.diff {
  border-left: 4px solid #f08122; border-radius: 0 12px 12px 0;
  padding: 1.2rem 1.3rem; background: rgba(240, 129, 34, .06);
}
.diff h3 {
  font-family: "Anton", "Arial Narrow", sans-serif; font-weight: 400;
  text-transform: uppercase; font-size: 1.25rem; margin: 0 0 .5rem;
}
.diff p { margin: 0; font-size: 1rem; line-height: 1.6; }

/* DAW strip */
.daw-strip { display: flex; flex-wrap: wrap; gap: .7rem; justify-content: center; }
.daw-chip {
  font-family: "Anton", "Arial Narrow", sans-serif; font-weight: 400;
  text-transform: uppercase; letter-spacing: .05em;
  font-size: clamp(1.05rem, 2.2vw, 1.5rem);
  border: 2px solid rgba(128, 128, 128, .4); border-radius: 12px;
  padding: .55rem 1.2rem;
}
.daw-primary { border-color: #f08122; color: #161311; background: #f08122;
  font-size: clamp(1.25rem, 2.6vw, 1.8rem); }

/* Video cards */
.vid-grid { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.vid { position: relative; display: block; border-radius: 12px; overflow: hidden;
  border: 1px solid rgba(128, 128, 128, .3); text-decoration: none; color: inherit; }
.vid img { width: 100%; height: auto; display: block; transition: transform .25s; }
.vid:hover img { transform: scale(1.04); }
.vid-play {
  position: absolute; top: 38%; left: 50%; transform: translate(-50%, -50%);
  width: 62px; height: 62px; border-radius: 50%; background: rgba(240, 129, 34, .92);
  color: #161311; display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; padding-left: 5px;
}
.vid-t { display: block; padding: .7rem .9rem; font-weight: 700; font-size: .95rem;
  background: rgba(0, 0, 0, .35); }

/* Field manuals */
.man-grid { display: grid; gap: .7rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); max-width: 60rem; margin: 0 auto; }
.man-card {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  border: 1px solid rgba(128, 128, 128, .3); border-radius: 10px;
  padding: .8rem 1rem; text-decoration: none; color: inherit; font-weight: 700;
  transition: border-color .18s, transform .18s;
}
.man-card:hover { border-color: #f08122; transform: translateY(-2px); }
.man-arrow { color: #f08122; }

/* Business chips + gallery heading */
.biz-chip { border-color: rgba(240, 129, 34, .7); font-weight: 700; }
.gal-h {
  font-family: "Anton", "Arial Narrow", sans-serif; font-weight: 400;
  text-transform: uppercase; text-align: center;
  font-size: clamp(1.3rem, 2.8vw, 1.9rem); margin: 2.4rem 0 1rem;
}

/* CTA pulse */
@keyframes ctaglow {
  0%, 100% { box-shadow: 0 6px 30px rgba(240, 129, 34, .35); }
  50% { box-shadow: 0 6px 44px rgba(240, 129, 34, .6); }
}
.hero-ctas .cta-xl, .band-cta .cta-xl { animation: ctaglow 3.2s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) { .hero-ctas .cta-xl, .band-cta .cta-xl { animation: none; } }

@media print {
  .topbar, .site-foot, .cert-print, .no-print { display: none !important; }
  .cert { border-color: #000; }
}
