/* ==========================================================================
   Rodrumming — base styles
   Solid color palette, no gradients. Mobile-first, responsive.
   ========================================================================== */

:root {
  --bg: #FFFFFF;
  --bg-alt: #F5F6F8;
  --panel: #FFFFFF;
  --ink: #14171A;
  --ink-soft: #4B5157;
  --ink-faint: #868C93;
  --accent: #FF6300;
  --accent-dark: #CC4E00;
  --accent-ink: #FFFFFF;
  --line: #E4E7EC;
  --focus: #1F7A6C;

  --radius: 14px;
  --radius-sm: 8px;
  --container: 1120px;

  --shadow-sm: 0 1px 2px rgba(20, 23, 26, 0.05);
  --shadow-md: 0 16px 40px rgba(20, 23, 26, 0.09), 0 2px 8px rgba(20, 23, 26, 0.05);

  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-body);
  font-weight: 800;
  line-height: 1.1;
  margin: 0 0 0.5em;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.2rem, 5vw + 1rem, 3.6rem);
}

h2 {
  font-size: clamp(1.6rem, 2.5vw + 1rem, 2.4rem);
}

h3 {
  font-size: 1.25rem;
}

p {
  margin: 0 0 1em;
  color: var(--ink-soft);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin-bottom: 1em;
}

/* Hand-drawn-style underline accent under a headline phrase */
.accent-underline {
  position: relative;
  display: inline-block;
}

.accent-underline::after {
  content: "";
  position: absolute;
  left: 0.05em;
  right: 0.05em;
  bottom: -0.1em;
  height: 0.16em;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 20' preserveAspectRatio='none'%3E%3Cpath d='M2 14 Q 25 4, 50 14 T 100 14 T 150 14 T 198 14' fill='none' stroke='%23FF6300' stroke-width='7' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

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

.section {
  padding: 88px 0;
}

.section--tight {
  padding: 64px 0;
}

.section--alt {
  background: var(--bg-alt);
}

.section-head {
  max-width: 640px;
  margin: 0 0 48px;
}

.section-head--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* Buttons -------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.98rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
  min-height: 48px;
  line-height: 1;
}

.btn svg {
  width: 18px;
  height: 18px;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
  border-color: var(--accent);
}

.btn-primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}

.btn-ghost:hover {
  border-color: var(--ink);
}

.btn-block {
  width: 100%;
}

/* Header / Nav ----------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}

.brand-logo {
  height: 34px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
  transition: background-color 0.15s ease, color 0.15s ease;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--ink);
  background: var(--bg-alt);
}

.nav-cta {
  margin-left: 4px;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--panel);
}

.nav-toggle svg {
  width: 22px;
  height: 22px;
}

.mobile-panel {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 12px 24px 20px;
  border-top: 1px solid var(--line);
  background: var(--bg);
}

.mobile-panel a {
  padding: 14px 10px;
  font-weight: 600;
  border-bottom: 1px solid var(--line);
  min-height: 48px;
  display: flex;
  align-items: center;
}

.mobile-panel .btn {
  margin-top: 12px;
}

body.nav-open .mobile-panel {
  display: flex;
}

/* Hero --------------------------------------------------------------- */

.hero {
  position: relative;
  overflow: hidden;
}

.hero > .container {
  position: relative;
  z-index: 1;
  padding-top: 64px;
  padding-bottom: 96px;
}

.hero-copy {
  max-width: 620px;
}

.hero-copy p.lede {
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 46ch;
}

/* Hero photo — bleeds flush to the top/right/bottom of the section, with a
   left-edge fade blending it into the page background. Hardcoded rgb values
   match --bg (#FFFFFF) since custom properties can't drive a gradient stop's
   transparent endpoint. */
.hero-photo-bg {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 52vw;
  z-index: 0;
}

.hero-photo-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to right, #FFFFFF 0%, rgba(255, 255, 255, 0) 38%);
  pointer-events: none;
}

.hero-photo-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.free-lesson-note {
  display: inline-flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 16px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--focus);
}

.free-lesson-note svg {
  width: 18px;
  height: 18px;
  flex: none;
  margin-top: 2px;
}

.hero-panel {
  --panel-pad: 28px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--panel-pad);
  box-shadow: var(--shadow-md);
}

.hero-panel-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.hero-panel-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 0.95rem;
}

.hero-panel-title svg {
  width: 20px;
  height: 20px;
  color: var(--accent);
}

/* Feature grid ---------------------------------------------------------- */

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}

.card-icon {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.card-icon svg {
  width: 22px;
  height: 22px;
  color: var(--accent-dark);
}

.card h3 {
  margin-bottom: 10px;
}

.card p {
  margin-bottom: 0;
  font-size: 0.95rem;
}

/* Instructor intro -------------------------------------------------------- */

.about-strip {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 40px;
  align-items: center;
}

.avatar-placeholder {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 2.4rem;
  letter-spacing: -0.02em;
}

.instructor-photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.instructor-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Drum-hit illustration ------------------------------------------------ */

.drumviz {
  background: var(--ink);
  color: var(--bg);
  border-radius: var(--radius);
  padding: 32px;
}

.drumviz-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 12px;
}

.drumviz-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}

.drumviz-title svg {
  width: 20px;
  height: 20px;
  color: var(--accent);
}

.drum-photo {
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: rgba(255, 255, 255, 0.08);
}

.drum-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 28% 52%;
  display: block;
}

.drumviz-caption {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
}

.drumviz-caption strong {
  color: var(--bg);
}

/* Practice-streak illustration (still, no animation) ------------------------- */

.streak-viz {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
}

.streak-viz-head {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  margin-bottom: 24px;
}

.streak-viz-head svg {
  width: 20px;
  height: 20px;
  color: var(--accent-dark);
}

.streak-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.streak-row:last-child {
  margin-bottom: 0;
}

.streak-label {
  width: 64px;
  flex: none;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--ink-soft);
}

.streak-dots {
  display: flex;
  gap: 10px;
  flex: 1;
}

.streak-dot {
  aspect-ratio: 1 / 1;
  flex: 1;
  max-width: 34px;
  border-radius: 50%;
  border: 2px solid var(--line);
  background: transparent;
}

.streak-dot.is-filled {
  background: var(--accent);
  border-color: var(--accent);
}

.streak-viz-caption {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 0.85rem;
  color: var(--ink-soft);
}

.streak-viz-caption strong {
  color: var(--ink);
}

/* Steps / process --------------------------------------------------------- */

.steps {
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.step {
  position: relative;
  padding-top: 8px;
}

.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  display: block;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--accent-dark);
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}

/* Checklist ------------------------------------------------------------- */

.checklist {
  list-style: none;
  margin: 0;
  padding: 0;
}

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-weight: 600;
  color: var(--ink);
}

.checklist li:last-child {
  border-bottom: none;
}

.checklist svg {
  width: 20px;
  height: 20px;
  color: var(--focus);
  flex: none;
  margin-top: 1px;
}

.checklist .muted {
  font-weight: 400;
  color: var(--ink-soft);
  font-size: 0.9rem;
  display: block;
  margin-top: 2px;
}

.crosslist li svg {
  color: var(--accent-dark);
}

/* Who it's for tiles -------------------------------------------------------- */

.audience-tile {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.audience-tile .card-icon {
  flex: none;
  margin-bottom: 0;
}

/* CTA banner -------------------------------------------------------------- */

.cta-banner {
  background: var(--ink);
  color: var(--bg);
  border-radius: var(--radius);
  padding: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.cta-banner > div:first-child {
  max-width: 620px;
}

.cta-banner h2 {
  color: var(--bg);
  margin-bottom: 8px;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0;
}

.cta-banner .btn-ghost {
  color: var(--bg);
  border-color: rgba(255, 255, 255, 0.35);
}

.cta-banner .btn-ghost:hover {
  border-color: var(--bg);
}

/* Contact / Form ------------------------------------------------------------ */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 40px;
  align-items: start;
}

.form-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
}

.field {
  margin-bottom: 20px;
}

.field label {
  display: block;
  font-weight: 700;
  font-size: 0.88rem;
  margin-bottom: 8px;
}

.field label .muted {
  font-weight: 400;
  color: var(--ink-faint);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--bg);
  font-family: inherit;
  font-size: 0.98rem;
  color: var(--ink);
  min-height: 48px;
}

.field textarea {
  min-height: 110px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid var(--focus);
  outline-offset: 1px;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-note {
  font-size: 0.8rem;
  color: var(--ink-faint);
  margin-top: -8px;
  margin-bottom: 20px;
}

.form-status {
  display: none;
  margin-top: 14px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--focus);
}
.form-status.is-visible { display: block; }
.form-status.is-error { color: #B3261E; }

.btn[disabled] {
  opacity: 0.7;
  cursor: not-allowed;
}

.contact-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.contact-card:first-child {
  padding-top: 0;
}

.contact-card .card-icon {
  margin-bottom: 0;
}

.contact-card h3 {
  margin-bottom: 4px;
  font-size: 1rem;
}

.contact-card p {
  margin-bottom: 0;
  font-size: 0.92rem;
}

.scheduler-placeholder {
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  padding: 40px 24px;
  text-align: center;
  color: var(--ink-faint);
  background: var(--bg-alt);
  margin-top: 8px;
}

.scheduler-placeholder svg {
  width: 28px;
  height: 28px;
  margin: 0 auto 12px;
  color: var(--accent-dark);
}

.scheduler-placeholder strong {
  color: var(--ink-soft);
  display: block;
  margin-bottom: 4px;
}

/* FAQ ---------------------------------------------------------------------- */

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item:first-child {
  border-top: 1px solid var(--line);
}

.faq-q {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 20px 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-weight: 700;
  font-size: 1rem;
  color: var(--ink);
  cursor: pointer;
  font-family: inherit;
  min-height: 48px;
}

.faq-q svg {
  width: 20px;
  height: 20px;
  color: var(--accent-dark);
  flex: none;
  transition: transform 0.2s ease;
}

.faq-item.is-open .faq-q svg {
  transform: rotate(45deg);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease, padding 0.25s ease;
  padding: 0 4px;
}

.faq-item.is-open .faq-a {
  max-height: 400px;
  padding: 0 4px 22px;
}

.faq-a p {
  margin-bottom: 0;
  font-size: 0.95rem;
}

/* Philosophy / quote block --------------------------------------------------- */

.pull-quote {
  border-left: 4px solid var(--accent);
  padding: 4px 0 4px 24px;
  margin: 32px 0;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.5;
}

.timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.timeline-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.timeline-item:last-child {
  border-bottom: none;
}

.timeline-item time {
  font-weight: 800;
  color: var(--accent-dark);
  font-size: 0.9rem;
  letter-spacing: 0.03em;
}

/* Footer --------------------------------------------------------------- */

.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.7);
  padding: 56px 0 32px;
  margin-top: 40px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--bg);
  font-weight: 800;
  margin-bottom: 12px;
}

.site-footer h4 {
  color: var(--bg);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.92rem;
}

.footer-links a:hover {
  color: var(--bg);
}

.footer-links li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-links svg {
  width: 16px;
  height: 16px;
  color: var(--accent);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  font-size: 0.82rem;
  flex-wrap: wrap;
  gap: 10px;
}

/* GSAP reveal helpers ---------------------------------------------------- */

.reveal {
  opacity: 0;
  transform: translateY(28px);
}

.reveal-fade {
  opacity: 0;
}

.hero-title,
.hero-lede,
.hero-actions,
.free-lesson-note,
.hero-features {
  opacity: 0;
  transform: translateY(20px);
}

.hero-photo-bg {
  opacity: 0;
}

/* ==========================================================================
   Homepage redesign components (icon badges, hero features, approach grid,
   stat row, numbered process steps, light CTA variant)
   ========================================================================== */

/* Icon badge — circular icon container, used in hero features, approach grid,
   and instructor stats */
.icon-badge {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}

.icon-badge svg {
  width: 22px;
  height: 22px;
  color: var(--accent-dark);
}

.icon-badge--outline {
  background: transparent;
  border: 2px solid var(--accent);
}

.icon-badge--outline svg {
  color: var(--accent);
}

.icon-badge--sm {
  width: 38px;
  height: 38px;
}

.icon-badge--sm svg {
  width: 18px;
  height: 18px;
}

/* Hero photo — real lifestyle photo, no card chrome */
.hero-photo {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: var(--shadow-md);
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Hero feature rows — icon + two-line label, one row on desktop */
.hero-features {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 20px 18px;
  margin-top: 32px;
}

.hero-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 168px;
}

/* Wider variant for feature items that include a description line */
.hero-feature--desc {
  max-width: 220px;
  align-items: flex-start;
}

.hero-feature .icon-badge {
  width: 44px;
  height: 44px;
}

.hero-feature .icon-badge svg {
  width: 19px;
  height: 19px;
}

.hero-feature-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--ink);
  line-height: 1.35;
}

/* Approach grid — headline + 3 feature items in one divided row (stacks on mobile) */
.approach-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
}

.approach-item h2 {
  font-size: 1.5rem;
}

.approach-item {
  padding-left: 32px;
  border-left: 1px solid var(--line);
}

.approach-item:first-child {
  padding-left: 0;
  border-left: none;
}

.approach-item .icon-badge {
  margin-bottom: 18px;
}

.approach-item h3 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 10px;
}

.approach-item p {
  font-size: 0.92rem;
  margin-bottom: 0;
}

/* Stat row — instructor credibility stats with icons */
.stat-row {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 24px;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.stat-item-text {
  display: flex;
  flex-direction: column;
}

.stat-item-text b {
  font-size: 1.1rem;
  color: var(--ink);
}

.stat-item-text span {
  font-size: 0.74rem;
  color: var(--ink-faint);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

/* Numbered process steps — "What a lesson looks like" */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.process-steps--3 {
  grid-template-columns: repeat(3, 1fr);
}

.process-step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.95rem;
  margin-bottom: 18px;
}

.process-step h3 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}

.process-step p {
  font-size: 0.92rem;
  margin-bottom: 16px;
}

.process-step-icon {
  color: var(--ink-faint);
}

.process-step-icon svg {
  width: 26px;
  height: 26px;
}

/* Light CTA banner variant */
.cta-banner--light {
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.cta-banner--light h2 {
  color: var(--ink);
}

.cta-banner--light p {
  color: var(--ink-soft);
}

.cta-illustration {
  flex: none;
  color: var(--ink-faint);
}

.cta-illustration svg {
  width: 120px;
  height: 72px;
}

/* ==========================================================================
   Lessons page components (hero description features, floating card,
   plain feature grid, rudiments panel, connected process steps)
   ========================================================================== */

.hero-feature-desc {
  font-size: 0.78rem;
  color: var(--ink-soft);
  text-transform: none;
  font-weight: 400;
  letter-spacing: normal;
  margin-top: 3px;
}

/* Floating card overlapping the bottom of the hero photo */
.hero-floating-card {
  position: absolute;
  right: 5%;
  bottom: 32px;
  z-index: 2;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 20px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  max-width: 420px;
}

.hero-floating-card .icon-badge {
  background: var(--bg-alt);
}

.hero-floating-card h3 {
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.hero-floating-card p {
  font-size: 0.86rem;
  margin-bottom: 0;
}

/* Plain feature grid — icon + heading + description, centered, no dividers */
.plain-feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

/* Variant for a 3-item row — avoids a lopsided empty 4th column */
.plain-feature-grid--3 {
  grid-template-columns: repeat(3, 1fr);
  max-width: 760px;
  margin: 0 auto;
}

.plain-feature-item {
  text-align: center;
}

.plain-feature-item .icon-badge {
  margin: 0 auto 16px;
}

.plain-feature-item h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.plain-feature-item p {
  font-size: 0.92rem;
  margin-bottom: 0;
}

/* Rudiments panel — big highlighted card with checklist / stat circle / checklist */
.rudiments-panel {
  background: var(--bg-alt);
  border-radius: var(--radius);
  padding: 48px;
  display: grid;
  grid-template-columns: 1.1fr 0.8fr 1fr;
  gap: 40px;
  align-items: center;
}

.stat-circle {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin: 0 auto;
}

.stat-circle b {
  font-size: 3.2rem;
  color: var(--accent);
  line-height: 1;
}

.stat-circle .stat-circle-label {
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--ink);
  margin-top: 6px;
}

.stat-circle .stat-circle-caption {
  font-size: 0.72rem;
  color: var(--ink-faint);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
  margin-top: 6px;
}

.checklist-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}

.checklist-card h3 {
  font-size: 1rem;
  margin-bottom: 14px;
}

/* Numbered process steps with connecting arrows (desktop only) */
.process-steps--connected {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  gap: 16px;
  align-items: start;
}

.process-arrow {
  color: var(--ink-faint);
  padding-top: 8px;
}

.process-arrow svg {
  width: 20px;
  height: 20px;
}

/* ==========================================================================
   About page components (story grid, callout card, trust stat grid,
   panel wrapper, CTA photo)
   ========================================================================== */

.story-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 40px;
  align-items: start;
}

.callout-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}

.callout-card .icon-badge {
  margin-bottom: 16px;
}

.callout-card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.callout-highlights {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.callout-highlights p {
  font-weight: 700;
  color: var(--accent-dark);
  margin-bottom: 4px;
}

.callout-highlights p:last-child {
  margin-bottom: 0;
}

/* Trust stat grid — icon above value above caption, divided columns */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.trust-item {
  text-align: center;
  padding-left: 24px;
  border-left: 1px solid var(--line);
}

.trust-item:first-child {
  padding-left: 0;
  border-left: none;
}

.trust-item .icon-badge {
  margin: 0 auto 14px;
}

.trust-item b {
  display: block;
  font-size: 1.3rem;
  color: var(--ink);
  margin-bottom: 4px;
}

.trust-item span {
  font-size: 0.85rem;
  color: var(--ink-soft);
}

/* Generic contained panel wrapper (bg-alt card within a normal section) */
.panel-card {
  background: var(--bg-alt);
  border-radius: var(--radius);
  padding: 48px;
}

/* CTA banner photo variant */
.cta-photo {
  width: 220px;
  height: 170px;
  border-radius: var(--radius);
  overflow: hidden;
  flex: none;
}

.cta-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ==========================================================================
   Contact page form components (pill-toggle radios, day checkbox grid)
   ========================================================================== */

.pill-toggle {
  display: flex;
  gap: 12px;
}

.pill-toggle input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.pill-toggle label {
  flex: 1;
  text-align: center;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.pill-toggle input:checked + label {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.pill-toggle input:focus-visible + label {
  outline: 2px solid var(--focus);
  outline-offset: 1px;
}

.day-checks {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px 16px;
}

.field label.day-check {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
  margin-bottom: 0;
}

.day-check input {
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
  flex: none;
}

.form-trust-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 12px;
  font-size: 0.8rem;
  color: var(--ink-faint);
}

.form-trust-note svg {
  width: 14px;
  height: 14px;
  flex: none;
}

.sidebar-questions {
  margin-top: 24px;
}

.sidebar-questions .icon-badge {
  margin-bottom: 12px;
}

.sidebar-questions h3 {
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.sidebar-contact-list {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
}

.sidebar-contact-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink);
  padding: 8px 0;
}

.sidebar-contact-list svg {
  width: 18px;
  height: 18px;
  color: var(--accent-dark);
  flex: none;
}

/* Utility ------------------------------------------------------------------ */

.text-center {
  text-align: center;
}

.mt-0 {
  margin-top: 0;
}

/* Page hero (non-home) ------------------------------------------------------ */

.page-hero {
  padding: 56px 0 48px;
  border-bottom: 1px solid var(--line);
}

.page-hero p.lede {
  max-width: 60ch;
  font-size: 1.08rem;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 980px) {
  .hero-copy {
    max-width: none;
  }

  .hero-photo-bg {
    position: relative;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    right: auto;
    top: auto;
    bottom: auto;
    aspect-ratio: 16 / 10;
  }

  .hero-photo-bg::before {
    background: linear-gradient(to bottom, #FFFFFF 0%, rgba(255, 255, 255, 0) 22%);
  }

  .hero > .container {
    padding-bottom: 0;
  }

  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }

  .about-strip {
    grid-template-columns: 160px 1fr;
  }
}

@media (max-width: 760px) {
  .nav-links {
    display: none;
  }

  .nav-cta.desktop-only {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .section {
    padding: 64px 0;
  }

  .section--tight {
    padding: 48px 0;
  }

  .grid-3,
  .grid-2,
  .steps {
    grid-template-columns: 1fr;
  }

  .approach-grid,
  .process-steps {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .approach-item {
    padding-left: 0;
    border-left: none;
    padding-top: 20px;
    border-top: 1px solid var(--line);
  }

  .approach-item:first-child {
    padding-top: 0;
    border-top: none;
  }

  .hero-photo {
    aspect-ratio: 4 / 3;
  }

  .hero-floating-card {
    position: static;
    max-width: none;
    margin-top: 20px;
  }

  .plain-feature-grid {
    grid-template-columns: 1fr 1fr;
  }

  .rudiments-panel {
    grid-template-columns: 1fr;
    padding: 28px 20px;
    gap: 32px;
  }

  .process-steps--connected {
    grid-template-columns: 1fr;
  }

  .process-arrow {
    display: none;
  }

  .cta-illustration {
    display: none;
  }

  .story-grid {
    grid-template-columns: 1fr;
  }

  .trust-grid {
    grid-template-columns: 1fr 1fr;
    row-gap: 28px;
  }

  .trust-item:nth-child(2n+1) {
    padding-left: 0;
    border-left: none;
  }

  .panel-card {
    padding: 28px 20px;
  }

  .cta-photo {
    display: none;
  }

  .day-checks {
    grid-template-columns: repeat(2, 1fr);
  }

  .field-row {
    grid-template-columns: 1fr;
  }

  .about-strip {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .avatar-placeholder,
  .instructor-photo {
    max-width: 160px;
  }

  .cta-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 32px 24px;
  }

  .cta-banner .btn {
    width: 100%;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .drumviz {
    padding: 22px 16px;
  }

  .streak-viz {
    padding: 22px 16px;
  }

  .streak-label {
    width: 50px;
    font-size: 0.72rem;
  }

  .streak-dots {
    gap: 6px;
  }

  .timeline-item {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

@media (max-width: 420px) {
  .hero-panel {
    --panel-pad: 18px;
    padding: var(--panel-pad);
  }

  .cta-banner h2 {
    font-size: 1.5rem;
  }

  h1 {
    font-size: 2rem;
  }
}