/* Editorial refinement: quiet transitions, score-paper lessons, cinematic method. */
.intro-section { border-top: 0; }

.lessons-section {
  background:
    radial-gradient(circle at 12% 6%, rgba(255,255,255,.92), transparent 29%),
    linear-gradient(145deg, #ede9de 0%, #e5e9e3 48%, #d8dfd8 100%);
  position: relative;
  overflow: hidden;
}
.lessons-section::before {
  content: "";
  position: absolute;
  width: 54vw;
  aspect-ratio: 1;
  right: -19vw;
  top: -23vw;
  border: 1px solid rgba(83,96,84,.16);
  border-radius: 50%;
  box-shadow: 0 0 0 70px rgba(255,255,255,.05), 0 0 0 140px rgba(255,255,255,.04);
  pointer-events: none;
}
.lesson-grid { position: relative; z-index: 1; gap: 1px; background: rgba(75,84,77,.16); border: 1px solid rgba(75,84,77,.16); border-radius: 3px; overflow: hidden; }
.lesson-card,
.lesson-card:nth-child(1),
.lesson-card:nth-child(2),
.lesson-card:nth-child(3) {
  border: 0 !important;
  border-radius: 0;
  min-height: 560px;
  padding: clamp(30px, 3vw, 50px);
  background-color: rgba(248,246,238,.92);
  background-image: repeating-linear-gradient(to bottom, transparent 0, transparent 31px, rgba(81,95,84,.09) 32px, transparent 33px);
  box-shadow: none;
  overflow: hidden;
  isolation: isolate;
}
.lesson-card:nth-child(2) { background-color: rgba(237,240,234,.94); }
.lesson-card:nth-child(3) { background-color: rgba(243,242,235,.94); }
.lesson-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(155deg, rgba(255,255,255,.94) 0%, rgba(255,255,255,.32) 48%, rgba(116,132,117,.14) 100%);
  transition: opacity .55s ease;
}
.lesson-card::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -90px;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(111,130,113,.22), transparent 68%);
  filter: blur(8px);
  z-index: -1;
}
@media (hover:hover) and (pointer:fine) {
  .lesson-card:hover { transform: none; box-shadow: none; }
  .lesson-card:hover::before { opacity: .58; }
  .lesson-card:hover .score-fragment { transform: translateY(-6px) rotate(-2deg); }
}
.lesson-top { font-size: 10px; letter-spacing: .19em; color: #657066; }
.lesson-note { font-size: 9px; font-weight: 700; letter-spacing: .2em; }
.lesson-card h3 {
  font-family: var(--sans);
  font-size: clamp(34px, 2.7vw, 48px);
  font-weight: 500;
  letter-spacing: -.045em;
  line-height: 1.03;
  margin-bottom: 22px;
  max-width: 310px;
}
.lesson-card p { font-size: 13px; line-height: 1.8; max-width: 320px; }
.card-foot { position: relative; z-index: 2; }
.score-fragment {
  position: absolute;
  top: 94px;
  right: 18px;
  width: 62%;
  height: 122px;
  color: rgba(30,39,33,.70);
  background: repeating-linear-gradient(to bottom, transparent 0, transparent 14px, rgba(38,48,41,.35) 15px, transparent 16px);
  transform: rotate(-3deg);
  transition: transform .55s cubic-bezier(.23,1,.32,1);
  pointer-events: none;
}
.score-fragment i { position: absolute; font-family: Georgia, serif; font-style: normal; font-size: 42px; line-height: 1; }
.score-fragment i:nth-child(1) { left: 12%; top: 23px; }
.score-fragment i:nth-child(2) { left: 46%; top: 50px; }
.score-fragment i:nth-child(3) { right: 7%; top: 9px; }
.score-fragment--two { transform: rotate(2deg); opacity: .8; }
.score-fragment--three { transform: rotate(-1deg); opacity: .74; }

.method-section { background: #1a1e1b; }
.method-film { min-height: 900px; background: #090b0a; }
.method-film video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 56% center; filter: saturate(.64) contrast(1.12) brightness(.72) sepia(.08); }
.method-film::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(4,6,5,.04), rgba(4,6,5,.56)), radial-gradient(circle at 56% 45%, transparent 18%, rgba(1,3,2,.42) 92%);
  pointer-events: none;
}
.method-film::after { z-index: 1; }
.method-film-caption {
  position: absolute;
  z-index: 2;
  left: clamp(28px, 5vw, 82px);
  bottom: 104px;
  max-width: 430px;
  color: #f2efe6;
}
.method-film-caption span { display: block; margin-bottom: 18px; font-size: 9px; font-weight: 700; letter-spacing: .23em; }
.method-film-caption strong { font: 400 clamp(42px, 4.5vw, 72px)/.93 var(--serif); letter-spacing: -.035em; }
.method-image-stamp { bottom: 42px; }
.method-content { color: #eae8e0; background: radial-gradient(circle at 110% 8%, rgba(126,145,127,.28), transparent 42%), linear-gradient(145deg, #1b211d, #273029); }
.method-content .section-number,
.method-content .method-intro,
.method-content .method-steps p { color: #adb6ad; }
.method-content .method-steps { border-color: rgba(255,255,255,.13); }
.method-content .method-steps>div { border-color: rgba(255,255,255,.13); }
.method-content .method-steps>div>span { color: #a6b9a6; }

@media (max-width: 740px) {
  .lesson-grid { display: grid; gap: 1px; }
  .lesson-card, .lesson-card:nth-child(1), .lesson-card:nth-child(2), .lesson-card:nth-child(3) { min-height: 430px; border-top: 0; }
  .score-fragment { width: 55%; top: 82px; }
  .lesson-card h3 { font-size: clamp(35px, 10vw, 46px); max-width: 270px; }
  .method-film { min-height: 560px; height: 68svh; }
  .method-film video { object-position: 62% center; }
  .method-film-caption { bottom: 92px; }
  .method-film-caption strong { font-size: clamp(40px, 11vw, 62px); }
}

@media (prefers-reduced-motion: reduce) {
  .method-film video { display: none; }
  .method-film { background: #111 url("./assets/hammers.webp") center/cover no-repeat; }
}
