/* ═══════════════════════════════
   LESSON HERO
═══════════════════════════════ */
.lesson-hero {
  background: #ffffff;
  padding: 40px 20px 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.lesson-hero-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(32px, 11vw, 90px);
  line-height: 0.9;
  color: #111111;
  letter-spacing: -1px;
}

.lesson-hero-subtitle {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(10px, 4vw, 24px);
  font-weight: 400;
  color: #111111;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: -16px;
}

.lesson-hero-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.btn-book {
  display: block;
  background: #111111;
  color: #ffffff;
  padding: 16px 24px;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  border: 2px solid #111111;
  transition: background 0.2s, color 0.2s;
}

.btn-book:hover { background: transparent; color: #111111; }

.btn-cabinet-outline {
  display: block;
  background: transparent;
  color: #111111;
  padding: 16px 24px;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  border: 1px solid #111111;
  transition: background 0.2s, color 0.2s;
}

.btn-cabinet-outline:hover { background: #111111; color: #ffffff; }

.lesson-hero-photo {
  width: 100%;
  aspect-ratio: 1;
  background-image: url('/images/lessons/LineLayersOrigin.jpg');
  background-size: cover;
  background-position: top center;
  display: block;
}

/* ── Tablet ── */
@media (min-width: 768px) {
  .lesson-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto 1fr;
    padding: 60px 60px 0;
    gap: 32px;
    align-items: start;
  }
  .lesson-hero-title { grid-column: 1; }
  .lesson-hero-subtitle { grid-column: 1; }
  .lesson-hero-actions { grid-column: 1; flex-direction: row; }
  .lesson-hero-photo {
    grid-column: 2;
    grid-row: 1 / 4;
    aspect-ratio: 1;
  }
  .btn-book, .btn-cabinet-outline { display: inline-block; }
}

/* ── Mid ── */
@media (min-width: 769px) and (max-width: 1199px) {
  .lesson-hero {
    padding: 80px 60px 0;
    gap: 40px;
    margin-bottom: 60px;
  }
  .lesson-hero-photo {
    aspect-ratio: auto;
    min-height: 260px;
    align-self: stretch;
    background-position: top center;
  }
}

/* ── 768px (iPad Mini portrait — stacked, photo full-bleed) ── */
@media (min-width: 768px) and (max-width: 799px) {
  .lesson-hero {
    display: flex;
    flex-direction: column;
    padding: 40px 0 0;
    gap: 20px;
    align-items: stretch;
    margin-bottom: 0;
  }
  .lesson-hero-title {
    padding-left: 32px;
    padding-right: 32px;
  }
  .lesson-hero-subtitle {
    padding-left: 32px;
    padding-right: 32px;
  }
  .lesson-hero-actions {
    flex-direction: row;
    padding-left: 32px;
    padding-right: 32px;
  }
  .lesson-hero-photo {
    width: 100%;
    aspect-ratio: 1;
    min-height: unset;
    align-self: auto;
    background-position: top center;
  }
}

/* ── 800–900 ── */
@media (min-width: 800px) and (max-width: 900px) {
  .lesson-hero {
    grid-template-columns: 1.2fr 0.8fr;
    padding: 60px 40px 0;
    gap: 24px;
    margin-bottom: 48px;
  }
  .lesson-hero-title {
    font-size: 56px;
  }
  .lesson-hero-subtitle {
    font-size: 22px;
  }
  .lesson-hero-photo {
    aspect-ratio: auto;
    min-height: 260px;
    align-self: stretch;
  }
}

/* ── 901–999 (covers 912px gap) ── */
@media (min-width: 901px) and (max-width: 999px) {
  .lesson-hero {
    padding: 72px 50px 0;
    gap: 32px;
    margin-bottom: 52px;
  }
  .lesson-hero-title {
    font-size: 68px;
  }
  .lesson-hero-subtitle {
    font-size: 22px;
  }
  .lesson-hero-photo {
    aspect-ratio: auto;
    min-height: 280px;
    align-self: stretch;
  }
}

/* ── 1000–1199 (iPad landscape) ── */
@media (min-width: 1000px) and (max-width: 1199px) {
  .lesson-hero {
    padding: 80px 80px 0;
    gap: 48px;
  }
  .lesson-hero-title {
    font-size: 80px;
  }
  .lesson-hero-subtitle {
    font-size: 24px;
  }
  .lesson-hero-photo {
    aspect-ratio: auto;
    min-height: 300px;
    align-self: stretch;
  }
}

/* ── Desktop ── */
@media (min-width: 1200px) {
  .lesson-hero {
    padding: 80px 0 0;
    gap: 0;
    align-items: start;
    margin-bottom: 109px;
  }
  .lesson-hero-title {
    padding-left: 80px;
    padding-right: 40px;
    margin-top: 200px;
    font-size: 140px;
    letter-spacing: -3.6px;
    line-height: 0.9;
    margin-bottom: 20px;
  }
  .lesson-hero-subtitle {
    padding-left: 80px;
    font-size: 50px;
    letter-spacing: 0.1em;
    margin-bottom: 32px;
  }
  .lesson-hero-actions {
    padding-left: 80px;
    gap: 16px;
  }
  .lesson-hero-photo {
    aspect-ratio: 1;
    min-height: 520px;
    background-position: top center;
  }
}

/* ── Small desktop ── */
@media (min-width: 1200px) and (max-width: 1399px) {
  .lesson-hero-title {
    font-size: 100px;
    padding-left: 60px;
    padding-right: 30px;
  }
  .lesson-hero-subtitle {
    font-size: 36px;
    padding-left: 60px;
  }
  .lesson-hero-actions {
    padding-left: 60px;
  }
  .lesson-hero-photo {
    min-height: 440px;
  }
}
