.method-page {
  color: var(--landing-ink);
  font-size: clamp(1.25rem, 1.125rem + .4vw, 1.375rem);
  line-height: 1.6;
  background: #fff;
}

.method-page .container { max-width: 1160px; padding-inline: clamp(1.35rem, 4vw, 2rem); }
.method-page h1, .method-page h2, .method-page h3 { color: var(--landing-ink); font-weight: 850; line-height: 1.1; }
.method-page h1 { margin: 0 0 1.3rem; font-size: clamp(2.85rem, 6vw, 5rem); }
.method-page h1 span { color: var(--landing-blue); }
.method-page h2 { font-size: clamp(2rem, 3.8vw, 3rem); margin: 0 0 1.6rem; }
.method-page h3 { font-size: clamp(1.35rem, 2.5vw, 1.75rem); margin: 0 0 .35rem; }
.method-page p { color: var(--landing-muted); margin: 0 0 1rem; }
.method-page strong { color: var(--landing-ink); }
.method-page a { text-underline-offset: .2em; }
.method-page a:focus-visible { outline: 3px solid var(--bs-primary); outline-offset: 3px; }
.method-page sup a { padding: .15em; }
.method-hero {
  padding-block: clamp(3rem, 6vw, 5rem);
  background: var(--landing-soft);
  border-bottom: 1px solid var(--landing-line);
}
.method-page .method-lead { max-width: 46rem; margin-bottom: 0; }
.method-section { padding-block: clamp(2.75rem, 6vw, 5rem); }
.method-section[id], #learning-approach, .method-references li { scroll-margin-top: 5rem; }
.method-section--soft { background: var(--landing-soft); border-block: 1px solid var(--landing-line); }

.method-principle__inner { display: grid; gap: clamp(1.5rem, 5vw, 4.5rem); }
.method-principle__inner {
  grid-template-columns: clamp(9rem, 16vw, 13rem) minmax(0, 1fr);
  grid-template-areas: "visual heading" "visual body";
  row-gap: 0;
}
.method-principle h2 { grid-area: heading; align-self: end; }
.method-principle-visual { grid-area: visual; place-self: center start; width: 100%; margin: 0; text-align: center; }
.method-principle-visual figcaption { margin-top: .5rem; color: var(--landing-muted); font-size: 1rem; font-weight: 600; line-height: 1.35; }
.method-illustration-frame {
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
}
.method-illustration {
  display: block;
  width: 100%;
  height: auto;
  mix-blend-mode: multiply;
}
.method-principle p { grid-area: body; font-size: clamp(1.375rem, 1.25rem + .5vw, 1.625rem); }
.method-principle p:last-child, .method-year-explanation p:last-child { margin-bottom: 0; }
.method-year-explanation { max-width: 60rem; }
.method-page .method-year-conclusion { max-width: 60rem; margin: 1.5rem 0 0; }
.method-chart + .method-year-explanation { margin-top: 2rem; }
:is(#year-title, #platform-research-title) .bi { color: var(--landing-blue); font-size: .8em; }
.method-time-context { max-width: 60rem; margin-bottom: 2rem; scroll-margin-top: 5rem; }
.method-cefr-context { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.5rem; margin-bottom: 1.5rem; }
.method-cefr-context .method-hours { margin: 0; }
.method-page .method-cefr-summary { margin: 0; }
.method-cefr-context .method-study-notice { margin: 0; }
.method-hours { max-width: 40rem; margin: 0 0 1.5rem; font-variant-numeric: tabular-nums; }
.method-hours caption, .method-chart figcaption { color: var(--landing-ink); font-size: 1em; font-weight: 750; }
.method-hours caption { caption-side: top; padding: 0 0 .8rem; }
.method-hours :is(th, td):last-child { text-align: right; }
.method-hours.table > :not(caption) > * > * { background: transparent; padding: .45rem .3rem; border-color: var(--landing-line); }
.method-chart { margin: 1.5rem 0 0; padding: clamp(1rem, 3vw, 2rem); background: #fff; }
.method-year-total { display: block; margin-block: .5rem .25rem; font-size: clamp(1.75rem, 3vw, 2.25rem); line-height: 1.2; font-variant-numeric: tabular-nums; }
.method-year-bar { position: relative; height: 1.25rem; margin-top: 2.75rem; margin-right: 3.5rem; }
.method-chart { --study-color: var(--landing-green); }
.method-year-track { position: absolute; inset: 0; border-radius: .25rem; background: #e0e6eb; }
.method-year-fill {
  position: relative;
  display: block;
  width: var(--study-width);
  height: 100%;
  border-radius: .25rem;
  background: linear-gradient(to right, var(--study-color) var(--fade-start), transparent 100%);
}
.method-year-benchmark { position: absolute; left: var(--benchmark); top: -.5rem; bottom: -.5rem; border-left: 3px solid var(--landing-ink); }
.method-year-benchmark > span { position: absolute; right: -.15rem; bottom: 100%; margin-bottom: .25rem; white-space: nowrap; font-size: 1rem; font-weight: 750; line-height: 1.25; }
.method-year-scale { position: relative; height: 3.25rem; margin: 1rem 3.5rem 0 0; padding: 0; list-style: none; color: var(--landing-muted); font-size: 1rem; line-height: 1.5; font-variant-numeric: tabular-nums; }
.method-year-tick { position: absolute; display: flex; flex-direction: column; align-items: center; transform: translateX(-50%); white-space: nowrap; }
.method-year-tick::before { content: ""; position: absolute; left: 50%; top: -.75rem; height: .5rem; border-left: 1px solid var(--landing-muted); }
.method-month-hours { font-size: .875rem; font-weight: 600; }
.method-year-tick:not(:nth-child(3n)) :is(.method-month-label, .method-month-hours) { visibility: hidden; }
.method-study-notice { display: flex; align-items: flex-start; gap: .75rem; margin-top: 1.5rem; padding: 1.25rem; border-left: 4px solid var(--landing-blue); border-radius: .375rem; background: #edf5fc; }
.method-study-notice > .bi { flex: none; color: var(--landing-blue); font-size: 1.5rem; line-height: 1.3; }
.method-study-notice h3 { margin: 0 0 .4rem; font-size: 1.125rem; line-height: 1.3; }
.method-study-notice p { margin: 0; font-size: 1.125rem; line-height: 1.6; }
.method-study-notice p + p { margin-top: .75rem; }
.method-study-intro { margin: 0 0 1.5rem; }
.method-text-link { font-weight: 650; }
.method-research { border-top: 1px solid var(--landing-line); }
.method-studies { margin-top: 1.75rem; }
.method-study { padding-block: 1.5rem; border-top: 1px solid var(--landing-line); }
.method-study h3 { margin-bottom: .6rem; font-size: clamp(1.25rem, 1.6vw, 1.5rem); font-weight: 650; line-height: 1.4; letter-spacing: -.01em; text-wrap: pretty; }
.method-study h3 a { color: var(--landing-ink); text-decoration: none; }
.method-study h3 a:is(:hover, :focus-visible) { color: var(--landing-blue); text-decoration: underline; text-decoration-thickness: 1px; }
.method-study > p:last-child { margin-bottom: 0; }
.method-page .method-study__authors { margin-bottom: .75rem; font-size: 1rem; line-height: 1.5; }
.method-research-invitation { display: flex; align-items: flex-start; gap: 1rem; margin-top: 1.5rem; padding: clamp(1.25rem, 3vw, 2rem); border-radius: .5rem; background: #edf5fc; }
.method-research-invitation > .bi { flex: none; color: var(--landing-blue); font-size: 1.75rem; line-height: 1.1; }
.method-research-invitation h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); line-height: 1.35; }
.method-research-invitation p { margin-bottom: 0; font-size: 1.125rem; }
.method-research-invitation a { color: var(--landing-blue); font-weight: 650; }
.method-references ol { max-width: 60rem; margin: 0 0 2rem; padding-left: 1.3rem; }
.method-references li { padding-left: .35rem; margin-bottom: .7rem; overflow-wrap: anywhere; }

@media (max-width: 767px) {
  .method-year-scale { height: 4.5rem; font-size: .875rem; }
  .method-month-label { display: flex; flex-direction: column; align-items: center; }
  .method-chart--classroom .method-year-tick:not(:nth-child(6n)) :is(.method-month-label, .method-month-hours) { visibility: hidden; }
  .method-principle__inner {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "heading" "visual" "body";
    gap: 1rem;
  }
  .method-principle h2 { margin: 0; font-size: clamp(1.65rem, 5vw, 2.25rem); }
  .method-principle-visual {
    display: flex;
    align-items: center;
    gap: .75rem;
    text-align: start;
  }
  .method-illustration-frame { flex: 0 0 clamp(5rem, 20vw, 6rem); width: auto; }
  .method-principle-visual figcaption { margin: 0; font-size: 1rem; }
}
