:root {
  --ink: #302824;
  --graphite: #53463e;
  --accent: #9c4526;
  --accent-deep: #80371f;
  --highlight: #f3bd9e;
  --red: #a94737;
  --paper: #f5f3f1;
  --fog: #eee7e1;
  --white: #fff;
  --muted: #71665f;
  --line: #e4d9d0;
  --line-dark: #605047;
  --surface: #fdfbf8;
  --shadow: 0 2px 4px rgba(78, 50, 32, .025), 0 12px 32px rgba(78, 50, 32, .065);
  --shadow-lift: 0 4px 9px rgba(78, 50, 32, .04), 0 22px 48px rgba(78, 50, 32, .12);
  --serif: "Songti SC", "Noto Serif SC", "STSong", SimSun, serif;
  --page: 1240px;
  --header-height: 80px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "PingFang SC","Microsoft YaHei",system-ui,sans-serif;
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

button,input {
  font: inherit;
}

button {
  color: inherit;
  cursor: pointer;
}

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

svg {
  width: 1.15em;
  height: 1.15em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

[hidden] {
  display: none!important;
}

h1,h2,h3,h4,p {
  margin-top: 0;
}

h1,h2,h3,h4 {
  line-height: 1.35;
}

h1,h2,h3 {
  letter-spacing: -.045em;
}

button,a,input,summary {
  touch-action: manipulation;
}

:focus-visible {
  outline: 3px solid #b45330;
  outline-offset: 4px;
}

.icon-sprite,.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}

.skip-link {
  position: fixed;
  top: -90px;
  left: 16px;
  z-index: 300;
  background: var(--highlight);
  padding: 12px;
}

.skip-link:focus {
  top: 8px;
}

.page-width,.footer-inner {
  width: min(calc(100% - 80px),var(--page));
  margin-inline: auto;
}

.section {
  padding: 96px 0;
}

.section-kicker {
  font-size: 11px;
  font-weight: 650;
  letter-spacing: .12em;
  color: var(--accent);
  margin: 0 0 20px;
}

.section-heading {
  margin-bottom: 36px;
}

.section-heading h2,.science-layout h2,.teacher-story h2,.learning-entry-inner h2,.about-intro-layout h2,.curriculum-intro h2 {
  font-size: 38px;
  font-weight: 600;
  margin: 0;
  line-height: 1.4;
}

.split-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
}

.split-heading>p {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
  line-height: 1.9;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
}

.text-link:hover svg {
  transform: translateX(4px);
}

.text-link svg {
  transition: transform .2s;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  min-height: 48px;
  padding: 12px 23px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  transition: background .2s,transform .2s;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary,.button-dark {
  background: var(--ink);
  color: #fff;
}

.button-primary:hover,.button-dark:hover {
  background: var(--accent);
}

.button-accent,.button-yellow {
  background: var(--highlight);
  color: var(--ink);
}

.button-glass {
  background: transparent;
  border-color: #a58c7d;
  color: #fff;
}

.button-glass:hover {
  background: #513c31;
}

.button-outline {
  border-color: #cdb9ab;
  background: transparent;
  color: var(--ink);
}

.button-outline:hover {
  background: var(--fog);
}

.icon-button {
  display: inline-grid;
  place-items: center;
  background: transparent;
  border: 1px solid var(--line);
  width: 42px;
  height: 42px;
  border-radius: 50%;
}

/* Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 0 max(40px,calc((100vw - var(--page))/2));
  background: rgba(253,250,246,.93);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.site-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.site-brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.site-brand-copy {
  display: flex;
  flex-direction: column;
}

.site-brand-copy strong {
  font-size: 19px;
  letter-spacing: .12em;
  line-height: 1.3;
}

.site-brand-copy small {
  font-size: 8px;
  letter-spacing: .075em;
  color: var(--muted);
  margin-top: 4px;
}

.site-nav {
  display: flex;
  gap: 28px;
  align-items: center;
  font-size: 13px;
}

.site-nav>a:not(.nav-course-link) {
  position: relative;
  padding: 27px 0;
}

.site-nav>a[aria-current=page] {
  font-weight: 700;
  color: var(--accent);
}

.site-nav>a[aria-current=page]:after {
  content: "";
  position: absolute;
  bottom: 16px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent);
}

.nav-course-link {
  display: flex;
  align-items: center;
  gap: 26px;
  padding: 10px 18px;
  border: 1px solid var(--ink);
  border-radius: 10px;
}

.nav-course-link:hover {
  background: var(--ink);
  color: white;
}

.nav-toggle {
  display: none;
}

/* Home editorial cover */
.fitness-hero {
  background: #302824;
  color: #fbf6f0;
  padding-top: 52px;
}

.fitness-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.07fr;
  gap: 64px;
  align-items: center;
}

.eyebrow {
  font-size: 12px;
  letter-spacing: .11em;
  color: #eddbcd;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 23px;
}

.live-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--highlight);
  border-radius: 50%;
}

.hero-english {
  font-size: clamp(42px,5vw,68px);
  font-weight: 750;
  line-height: .97;
  letter-spacing: -.055em;
  margin: 0 0 24px;
  color: #f3bd9e;
}

.fitness-hero h1 {
  font-size: 40px;
  font-weight: 600;
  margin: 0;
  line-height: 1.25;
  letter-spacing: .01em;
}

.fitness-hero h1>span {
  display: block;
  font-size: 24px;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0;
  margin-top: 12px;
}

.hero-description {
  font-size: 13px;
  line-height: 1.9;
  color: #c5b4a8;
  margin: 20px 0 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-instructor {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 32px;
}

.instructor-monogram {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  background: #f4e4d9;
  border: 1px solid #ddbdab;
  border-radius: 50%;
  font-family: serif;
  font-size: 19px;
  color: var(--highlight);
}

.hero-instructor>div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hero-instructor strong {
  font-size: 13px;
  font-weight: 500;
}

.hero-instructor small {
  font-size: 10px;
  color: #d4bda9;
  margin-left: 14px;
}

.hero-instructor div>span {
  font-size: 10px;
  color: #c2ad9e;
}

.hero-editorial-visual {
  position: relative;
  height: 590px;
  border-radius: 110px 10px 10px 10px;
  overflow: hidden;
  background: #b9a799;
}

.hero-editorial-visual>img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% center;
  filter: brightness(.78);
}

.hero-editorial-visual:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 50%,#2c1d16b8);
  pointer-events: none;
}

.visual-topline {
  position: absolute;
  z-index: 1;
  left: 32px;
  right: 28px;
  top: 34px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 9px;
  letter-spacing: .12em;
  color: #fff;
}

.film-trigger {
  position: absolute;
  z-index: 2;
  left: 28px;
  right: 28px;
  bottom: 72px;
  display: flex;
  align-items: center;
  gap: 16px;
  border: 1px solid #ffffff50;
  border-radius: 18px;
  padding: 19px;
  background: #39271ee6;
  backdrop-filter: blur(12px);
  color: white;
  text-align: left;
}

.film-trigger>span:nth-child(2) {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 5px;
}

.film-trigger small {
  font-size: 11px;
  color: #e8d9cb;
}

.film-trigger strong {
  font-size: 17px;
  font-weight: 500;
}

.film-play {
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--highlight);
  color: var(--ink);
  width: 45px;
  height: 45px;
}

.film-play svg {
  width: 17px;
  fill: currentColor;
}

.visual-footnote {
  position: absolute;
  bottom: 25px;
  left: 30px;
  right: 30px;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 9px;
  letter-spacing: .1em;
  color: #ebdbcd;
}

.hero-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 42px;
  padding: 22px 0;
  border-top: 1px solid #ffffff24;
  font-size: 11px;
  color: #c9b4a4;
}

.hero-bottom a {
  display: flex;
  gap: 24px;
  align-items: center;
}

.hero-bottom a span {
  color: var(--highlight);
}

.course-numbers {
  display: grid;
  grid-template-columns: 1.7fr repeat(4,1fr);
  padding-block: 38px;
  border-bottom: 1px solid var(--line);
  align-items: center;
}

.course-numbers>p {
  margin: 0;
  font-size: 12px;
  color: var(--muted);
  line-height: 2;
}

.course-numbers>p strong {
  color: var(--ink);
  font-size: 16px;
  font-weight: 500;
}

.course-numbers>div {
  padding-left: 34px;
  border-left: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.course-numbers>div>strong {
  font-size: 34px;
  line-height: 1.3;
  font-weight: 550;
  letter-spacing: -.04em;
}

.course-numbers strong small {
  font-size: 11px;
  letter-spacing: 0;
  font-weight: 400;
  margin-left: 8px;
}

.course-numbers div>span {
  font-size: 11px;
  color: var(--muted);
}

/* Learning pathways */
.pathway-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 20px;
}

.pathway-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 32px 28px;
  background: #fcfaf7;
  border: 1px solid var(--line);
  border-radius: 18px;
  transition: transform .2s,box-shadow .2s;
}

.pathway-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px #68432c14;
}

.pathway-number {
  font-size: 40px;
  font-weight: 300;
  line-height: 1;
  margin-bottom: 36px;
  color: #9b7b66;
}

.pathway-label {
  font-size: 10px;
  letter-spacing: .08em;
  margin-bottom: 16px;
  color: var(--muted);
}

.pathway-card h3 {
  font-size: 25px;
  font-weight: 550;
  margin: 0 0 16px;
}

.pathway-card p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.9;
  margin-bottom: 28px;
}

.pathway-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 22px;
  border-top: 1px solid #69482e20;
  font-size: 12px;
  font-weight: 600;
}

.featured-path {
  background: #f5e1d4;
  border-color: #e8c8b4;
}

.featured-path .pathway-number {
  color: #9c4526;
}

.movement-section {
  background: #eee7e1;
}

.movement-layout {
  display: grid;
  grid-template-columns: .9fr 1.2fr;
  gap: 52px;
  align-items: stretch;
}

.movement-image {
  position: relative;
  overflow: hidden;
  min-height: 390px;
  border-radius: 18px;
}

.movement-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 48%;
}

.movement-image span {
  position: absolute;
  left: 20px;
  bottom: 20px;
  font-size: 12px;
  padding: 8px 14px;
  background: var(--paper);
  border-radius: 4px;
}

.movement-groups {
  display: flex;
  flex-direction: column;
}

.movement-groups>a {
  display: grid;
  grid-template-columns: 24px 1fr 42px 20px;
  gap: 17px;
  align-items: center;
  padding: 24px 0;
  flex: 1;
  border-top: 1px solid #d7c5b8;
}

.movement-groups>a:last-child {
  border-bottom: 1px solid #d7c5b8;
}

.movement-groups>a>span {
  font-size: 11px;
  color: var(--muted);
  align-self: start;
  margin-top: 5px;
}

.movement-groups a>div>small {
  font-size: 9px;
  letter-spacing: .1em;
  color: var(--muted);
}

.movement-groups h3 {
  font-size: 23px;
  font-weight: 500;
  margin: 8px 0;
}

.movement-groups p {
  font-size: 12px;
  margin: 0;
  color: var(--muted);
}

.movement-groups a>strong {
  font-size: 26px;
  font-weight: 400;
  line-height: 1.4;
}

.movement-groups strong>small {
  display: block;
  font-size: 9px;
  color: var(--muted);
}

.movement-groups a:hover h3 {
  color: var(--accent);
}

.science-section {
  background: #332820;
  color: #faf4ee;
}

.science-layout {
  display: grid;
  grid-template-columns: .85fr 1.2fr;
  gap: 100px;
}

.science-layout .section-kicker {
  color: #edb491;
}

.science-layout h2 {
  font-size: 40px;
  line-height: 1.45;
  margin-bottom: 26px;
}

.science-layout p:not(.section-kicker) {
  font-size: 13px;
  line-height: 2;
  color: #d3bfb0;
}

.science-layout .button {
  color: #faf2e9;
  border-color: #a18672;
  margin-top: 16px;
}

.science-layout .button:hover {
  background: #584130;
}

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

.science-chapters a {
  display: grid;
  grid-template-columns: 28px 1fr 45px 16px;
  gap: 18px;
  align-items: center;
  padding: 19px 0;
  border-bottom: 1px solid #ffffff25;
}

.science-chapters li:first-child a {
  border-top: 1px solid #ffffff25;
}

.science-chapters span {
  color: var(--highlight);
  font-size: 11px;
}

.science-chapters strong {
  font-size: 17px;
  font-weight: 400;
}

.science-chapters small {
  font-size: 11px;
  color: #d4c2b3;
}

.science-chapters a:hover {
  color: var(--highlight);
}

.teacher-story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
}

.teacher-story h2 {
  font-size: 34px;
  line-height: 1.5;
  margin-bottom: 24px;
}

.teacher-story-grid>div>p:not(.section-kicker) {
  max-width: 480px;
  font-size: 14px;
  line-height: 2;
  color: var(--muted);
}

.story-features article {
  display: flex;
  gap: 26px;
  padding: 25px 0;
  border-bottom: 1px solid var(--line);
}

.story-features article:first-child {
  padding-top: 0;
}

.story-features article>span {
  font-size: 11px;
  color: var(--accent);
  margin-top: 6px;
}

.story-features h3 {
  font-size: 20px;
  font-weight: 500;
  margin: 0 0 10px;
}

.story-features p {
  color: var(--muted);
  font-size: 13px;
  margin: 0;
  line-height: 1.9;
}

.learning-entry-section {
  padding: 70px 0;
  background: #eee1d5;
}

.learning-entry-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.learning-entry-inner h2 {
  font-size: 40px;
}

.learning-entry-inner p:not(.section-kicker) {
  font-size: 12px;
  color: var(--muted);
  margin: 22px 0 0;
}

.learning-entry-inner>.button {
  min-width: 200px;
  background: var(--ink);
  color: var(--highlight);
}

/* Movement library */
.library-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  padding-block: 64px 50px;
}

.library-heading h1 {
  font-size: 46px;
  font-weight: 550;
  line-height: 1.5;
  margin: 0 0 22px;
}

.library-heading h1 em {
  font-style: normal;
  color: var(--accent);
}

.library-heading p:not(.section-kicker) {
  max-width: 660px;
  color: var(--muted);
  font-size: 14px;
  margin: 0;
}

.library-stat {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border-left: 1px solid var(--line);
  padding-left: 52px;
  white-space: nowrap;
}

.library-stat strong {
  font-size: 86px;
  line-height: 1.1;
  letter-spacing: -.07em;
  font-weight: 400;
}

.library-stat span {
  font-size: 12px;
  margin-top: 12px;
}

.library-stat small {
  font-size: 10px;
  color: var(--muted);
  margin-top: 8px;
}

.library-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.filter-buttons {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.filter-buttons button {
  border: 0;
  background: transparent;
  padding: 10px 15px;
  border-radius: 10px;
  font-size: 12px;
  white-space: nowrap;
}

.filter-buttons button[aria-pressed=true] {
  background: var(--ink);
  color: var(--highlight);
}

.filter-buttons button:hover {
  box-shadow: inset 0 0 0 1px var(--accent);
}

.filter-buttons button>span {
  font-size: 10px;
  opacity: .8;
  margin-left: 6px;
}

.search-field {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 13px;
  background: #fff;
  color: var(--muted);
}

.search-field input {
  width: 100%;
  min-width: 0;
  outline: none;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 12px;
}

.search-field:focus-within {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.library-toolbar .search-field {
  width: 235px;
}

.library-note {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 11px;
  color: var(--muted);
  padding: 20px 0;
}

.movement-card-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 18px;
}

.movement-card {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  transition: transform .2s,border-color .2s;
}

.movement-card:hover {
  transform: translateY(-3px);
  border-color: #cd9b7a;
}

.movement-card-main {
  display: block;
  padding: 25px 25px 20px;
}

.movement-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 32px;
}

.movement-card-top>span:first-child {
  font-size: 10px;
  color: var(--muted);
}

.mini-play {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #f7e9df;
  color: var(--accent);
}

.mini-play svg {
  width: 11px;
  fill: currentColor;
}

.movement-card-main>small {
  color: var(--muted);
  font-size: 10px;
}

.movement-card h2 {
  font-size: 21px;
  font-weight: 550;
  margin: 10px 0 23px;
  min-height: 57px;
}

.movement-card h2>span {
  display: block;
  font-size: 13px;
  color: var(--muted);
  font-weight: 400;
  margin-top: 7px;
}

.movement-card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 11px;
  color: var(--muted);
}

.direct-video-link {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 11px;
  border-top: 1px solid var(--line);
  padding: 11px 25px;
  color: var(--accent);
  background: #fcf7f2;
}

.direct-video-link:hover {
  background: #f6e4d8;
}

.library-empty {
  text-align: center;
  padding: 65px 15px;
}

.library-empty h2 {
  font-size: 23px;
}

.library-empty p {
  color: var(--muted);
}

.practice-horizon {
  padding-block: 65px 80px;
  margin-top: 60px;
  border-top: 1px solid var(--line);
}

.practice-horizon h2 {
  font-size: 28px;
  font-weight: 500;
}

.practice-horizon>p:not(.section-kicker) {
  color: var(--muted);
  font-size: 14px;
}

/* Classroom */
.learn-heading {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: center;
  padding-block: 44px 34px;
}

.learn-heading h1 {
  font-size: 40px;
  font-weight: 550;
  margin: 0 0 12px;
}

.learn-heading .section-kicker {
  margin-bottom: 12px;
}

.learn-heading p:not(.section-kicker) {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
}

.login-note {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 13px;
  background: var(--fog);
  border-radius: 4px;
  font-size: 11px;
  color: var(--muted);
}

.learning-workspace {
  display: grid;
  grid-template-columns: 340px minmax(0,1fr);
  align-items: start;
  gap: 24px;
}

.playlist-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
}

.playlist-panel-head {
  padding: 21px 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.playlist-panel-head span {
  font-size: 9px;
  color: var(--muted);
  letter-spacing: .12em;
}

.playlist-panel-head strong {
  font-size: 17px;
  font-weight: 600;
}

.playlist-toolbar {
  padding: 0 16px 18px;
  border-bottom: 1px solid var(--line);
}

.classroom-filters {
  margin-bottom: 15px;
}

.classroom-filters button {
  flex: 1;
  padding: 8px 9px;
  font-size: 11px;
  background: var(--paper);
}

.progress-summary {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-top: 15px;
  font-size: 10px;
  color: var(--muted);
}

.progress-summary i {
  display: block;
  height: 3px;
  background: var(--fog);
  border-radius: 4px;
  overflow: hidden;
}

.progress-summary b {
  display: block;
  width: 0;
  height: 100%;
  background: var(--accent);
}

.playlist-groups {
  max-height: 540px;
  overflow: auto;
  overscroll-behavior: contain;
  padding: 6px 10px 15px;
}

.playlist-group {
  border-bottom: 1px solid var(--line);
}

.playlist-group summary {
  display: grid;
  grid-template-columns: 26px 1fr 24px;
  gap: 8px;
  align-items: center;
  padding: 17px 7px;
  cursor: pointer;
  list-style: none;
}

.playlist-group summary::-webkit-details-marker {
  display: none;
}

.playlist-group summary>span {
  font-size: 10px;
  color: var(--accent);
}

.playlist-group summary strong {
  font-size: 12px;
  font-weight: 600;
}

.playlist-group summary small {
  font-size: 10px;
  color: var(--muted);
  text-align: right;
}

.lesson-list {
  padding: 0 0 10px;
}

.lesson-row {
  display: flex;
  gap: 4px;
  align-items: center;
}

.complete-toggle {
  width: 30px;
  flex-shrink: 0;
  position: relative;
  display: grid;
  place-items: center;
  min-height: 40px;
}

.complete-toggle input {
  position: absolute;
  width: 20px;
  height: 20px;
  opacity: 0;
  cursor: pointer;
}

.complete-toggle span {
  width: 17px;
  height: 17px;
  display: grid;
  place-items: center;
  border: 1px solid #cbb8a9;
  border-radius: 4px;
  pointer-events: none;
}

.complete-toggle svg {
  display: none;
  width: 12px;
}

.complete-toggle input:checked+span {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}

.complete-toggle input:checked+span svg {
  display: block;
}

.complete-toggle input:focus-visible+span {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.lesson-select {
  border: 0;
  text-align: left;
  background: transparent;
  flex: 1;
  min-width: 0;
  padding: 11px 10px;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.lesson-select small {
  font-size: 9px;
  color: var(--muted);
}

.lesson-select strong {
  font-size: 12px;
  font-weight: 450;
  line-height: 1.65;
}

.lesson-select:hover {
  background: var(--paper);
}

.lesson-select.active {
  background: #f6e4d8;
  color: var(--accent);
}

.lesson-select.active strong {
  font-weight: 600;
}

.playlist-empty {
  padding: 20px;
  font-size: 13px;
  color: var(--muted);
}

.lesson-stage {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  position: sticky;
  top: 104px;
}

.lesson-poster {
  position: relative;
  aspect-ratio: 16/9;
  background: var(--ink);
}

.lesson-poster>img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(.64);
}

.stage-play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%);
  width: 67px;
  height: 67px;
  border-radius: 50%;
  background: var(--highlight);
  color: var(--ink);
  display: grid;
  place-items: center;
  box-shadow: 0 0 0 12px #ffffff20;
}

.stage-play svg {
  width: 22px;
  fill: currentColor;
  margin-left: 4px;
}

.stage-play:hover {
  background: #fff;
}

.stage-badge {
  display: flex;
  gap: 6px;
  align-items: center;
  position: absolute;
  left: 20px;
  top: 18px;
  color: white;
  font-size: 9px;
  letter-spacing: .07em;
}

.stage-corner {
  position: absolute;
  bottom: 17px;
  right: 20px;
  color: #fff;
  font-size: 10px;
}

.lesson-detail {
  padding: 27px;
}

.lesson-number {
  font-size: 10px;
  color: var(--accent);
  margin: 0 0 12px;
}

.lesson-detail h2 {
  font-size: 26px;
  font-weight: 550;
  line-height: 1.5;
  margin: 0;
}

.lesson-description {
  font-size: 13px;
  line-height: 1.85;
  color: var(--muted);
  white-space: pre-line;
  margin: 15px 0 22px;
  max-height: 180px;
  overflow: auto;
}

.platform-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.platform-actions .button {
  min-height: 43px;
  font-size: 12px;
  padding: 10px 16px;
  gap: 10px;
}

.lesson-navigation {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
  margin-top: 24px;
}

.lesson-navigation button {
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 11px;
  padding: 9px 11px;
  min-height: 38px;
}

.lesson-navigation button[aria-pressed=true] {
  background: var(--fog);
  color: var(--accent);
}

.lesson-navigation button:disabled {
  opacity: .35;
  cursor: default;
}

.platform-help {
  display: flex;
  gap: 8px 20px;
  flex-wrap: wrap;
  font-size: 10px;
  color: var(--muted);
  margin-top: 18px;
}

.learn-next-band {
  padding: 65px 0;
  margin-top: 75px;
  background: var(--fog);
}

.learn-next-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 45px;
}

.learn-next-inner h2 {
  font-size: 29px;
  font-weight: 500;
}

.learn-next-inner p:not(.section-kicker) {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
}

/* Curriculum and course story */
.subpage-hero {
  position: relative;
  background: var(--ink);
  color: #fff;
  min-height: 340px;
  overflow: hidden;
}

.subpage-hero>img,.subpage-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.subpage-hero>img {
  object-fit: cover;
  object-position: center 45%;
}

.subpage-overlay {
  background: linear-gradient(90deg,#2c211aeb,#46312466);
}

.subpage-hero-copy {
  position: relative;
  padding-block: 75px;
}

.subpage-hero-copy .section-kicker {
  color: var(--highlight);
}

.subpage-hero-copy h1 {
  font-size: 44px;
  font-weight: 500;
  max-width: 950px;
  margin: 0 0 23px;
}

.subpage-hero-copy>p:not(.section-kicker) {
  max-width: 650px;
  font-size: 14px;
  line-height: 1.9;
  color: #eadace;
  margin: 0;
}

.curriculum-section {
  background: var(--paper);
}

.curriculum-layout {
  display: grid;
  grid-template-columns: 300px minmax(0,1fr);
  gap: 80px;
  align-items: start;
}

.curriculum-intro {
  position: sticky;
  top: 110px;
}

.curriculum-intro>span {
  font-size: 12px;
  color: var(--accent);
}

.curriculum-intro h2 {
  font-size: 32px;
  margin-top: 12px;
}

.curriculum-intro p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.9;
  margin: 22px 0;
}

.curriculum-list {
  border-top: 1px solid var(--ink);
}

.curriculum-chapter {
  border-bottom: 1px solid var(--line);
}

.curriculum-chapter summary {
  display: grid;
  grid-template-columns: 34px 1fr auto;
  align-items: center;
  gap: 18px;
  min-height: 77px;
  cursor: pointer;
  list-style: none;
}

.curriculum-chapter summary::-webkit-details-marker {
  display: none;
}

.curriculum-chapter summary>span {
  font-size: 11px;
  color: var(--accent);
}

.curriculum-chapter summary strong {
  font-size: 18px;
  font-weight: 500;
}

.curriculum-chapter summary>small {
  font-size: 11px;
  color: var(--muted);
}

.curriculum-chapter summary>small:after {
  content: " +";
  margin-left: 10px;
}

.curriculum-chapter[open] summary>small:after {
  content: " −";
}

.curriculum-items {
  padding: 0 0 22px 48px;
}

.curriculum-items a {
  display: grid;
  grid-template-columns: 40px 1fr 20px;
  gap: 13px;
  padding: 12px 9px;
  align-items: center;
  border-radius: 4px;
}

.curriculum-items a:hover {
  background: var(--fog);
  color: var(--accent);
}

.curriculum-items a>span {
  font-size: 10px;
  color: var(--muted);
}

.curriculum-items strong {
  font-size: 13px;
  font-weight: 450;
}

.curriculum-items svg {
  font-size: 12px;
}

.practice-curriculum-section {
  background: var(--fog);
}

.practice-curriculum-section .section-heading p:not(.section-kicker) {
  color: var(--muted);
  font-size: 13px;
  margin: 15px 0 0;
}

.practice-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.practice-chapter {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
  padding: 30px;
}

.practice-chapter:first-child {
  grid-column: 1/-1;
}

.practice-chapter-head {
  display: flex;
  gap: 28px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
  align-items: center;
}

.practice-chapter-head>span {
  font-size: 13px;
  color: var(--accent);
}

.practice-chapter-head h3 {
  font-size: 26px;
  font-weight: 500;
  margin: 0;
}

.practice-group {
  margin-top: 26px;
}

.practice-group h4 {
  font-size: 15px;
  font-weight: 600;
  margin: 0 0 15px;
}

.practice-group ul {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.practice-group li a,.practice-group li>span {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 13px;
  border-radius: 10px;
  font-size: 12px;
  min-height: 41px;
}

.practice-group li a {
  background: #fcf3ec;
  border: 1px solid #ead4c4;
  color: var(--accent);
}

.practice-group li a:hover {
  background: #f4decd;
  border-color: #c79b7c;
}

.practice-group li svg {
  font-size: 10px;
}

.practice-group li>span {
  background: #f7f3ee;
  color: var(--muted);
  flex-wrap: wrap;
  gap: 5px;
}

.practice-group li small {
  font-size: 9px;
  color: #7d6c60;
}

.syllabus-status-band {
  padding: 55px 0;
  background: #eee2d7;
}

.syllabus-status-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
}

.syllabus-status-inner h2,.syllabus-placeholder-layout h2 {
  font-size: 28px;
  font-weight: 500;
  margin: 0;
}

.syllabus-status-inner p:not(.section-kicker),.syllabus-placeholder-layout p:not(.section-kicker) {
  font-size: 13px;
  color: var(--muted);
  margin: 16px 0 0;
}

.syllabus-status-inner>span {
  font-size: 12px;
  border: 1px solid #cbb19c;
  padding: 9px 20px;
  white-space: nowrap;
  border-radius: 10px;
}

.about-intro-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
}

.about-intro-layout>p {
  font-size: 15px;
  color: var(--muted);
  line-height: 2.1;
  margin: 0;
}

.feature-list {
  margin-top: 50px;
  border-top: 1px solid var(--ink);
}

.feature-list article {
  display: flex;
  gap: 32px;
  padding: 27px 0;
  border-bottom: 1px solid var(--line);
}

.feature-list article>span {
  font-size: 11px;
  color: var(--accent);
  margin-top: 6px;
}

.feature-list h3 {
  font-size: 21px;
  font-weight: 500;
  margin: 0 0 10px;
}

.feature-list p {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
}

.about-teacher-section {
  background: var(--ink);
  color: #fff;
}

.about-teacher-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}

.about-teacher-visual {
  height: 410px;
  border-radius: 7px;
  overflow: hidden;
}

.about-teacher-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-teacher-copy .section-kicker {
  color: var(--highlight);
}

.about-teacher-copy h2 {
  font-size: 48px;
  font-weight: 500;
  margin: 0 0 12px;
}

.teacher-role {
  font-size: 13px;
  color: #efddcd;
}

.about-teacher-copy>p:not(.section-kicker):not(.teacher-role) {
  font-size: 13px;
  line-height: 2;
  color: #d6c0af;
}

.teacher-facts {
  border-top: 1px solid var(--line-dark);
  margin: 28px 0 0;
}

.teacher-facts>div {
  display: flex;
  gap: 30px;
  border-bottom: 1px solid var(--line-dark);
  padding: 12px 0;
  font-size: 12px;
}

.teacher-facts dt {
  color: #e8b594;
  width: 64px;
  flex-shrink: 0;
}

.teacher-facts dd {
  margin: 0;
  color: #ecdbcd;
}

.syllabus-placeholder-layout {
  display: grid;
  grid-template-columns: 1fr 240px;
  gap: 70px;
  align-items: center;
}

.placeholder-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  border: 1px dashed #c8ab95;
  border-radius: 18px;
  padding: 30px;
}

.placeholder-mark span {
  font-size: 10px;
  letter-spacing: .1em;
  color: var(--muted);
}

.placeholder-mark strong {
  font-size: 26px;
  font-weight: 500;
  margin-top: 7px;
}

.error-page {
  padding-block: 120px;
}

.error-page h1 {
  font-size: 38px;
  font-weight: 500;
}

.error-page>p {
  color: var(--muted);
}

/* Footer and film */
.site-footer {
  background: #2b221d;
  color: #f6ece3;
  padding: 42px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 13px;
}

.footer-brand img {
  width: 38px;
  height: 38px;
}

.footer-brand>div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-brand strong {
  font-size: 12px;
  font-weight: 500;
}

.footer-brand span {
  font-size: 10px;
  color: #ceb6a3;
}

.footer-statement {
  display: none;
}

.footer-links {
  display: flex;
  gap: 25px;
  font-size: 10px;
  color: #d6beac;
}

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

.trailer-dialog {
  width: min(1000px,94vw);
  padding: 0;
  border: 1px solid #92745f;
  border-radius: 9px;
  background: var(--ink);
  color: white;
  max-height: 92dvh;
}

.trailer-dialog::backdrop {
  background: #271b14d9;
  backdrop-filter: blur(7px);
}

.dialog-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 12px 18px;
  font-size: 13px;
}

.dialog-bar .icon-button {
  color: white;
  border-color: #ffffff55;
  width: 35px;
  height: 35px;
}

.trailer-dialog video {
  width: 100%;
  max-height: calc(92dvh - 64px);
}

/* Warm paper surfaces and gentle elevation. */
body {
  background: radial-gradient(ellipse at 100% 0, #f1e5dd 0, transparent 650px), var(--paper);
}
::selection { background: #ecd1bf; color: var(--ink); }
.site-header {
  border-bottom-color: rgba(133, 97, 70, .1);
  box-shadow: 0 4px 22px rgba(67, 42, 25, .045);
}
.site-brand-copy strong { letter-spacing: .09em; }
.nav-course-link { border-color: #e1c7b6; background: #f6e9df; border-radius: 999px; color: var(--accent); }
.nav-course-link:hover { background: #9c4526; color: #fff; }
.button { box-shadow: 0 3px 8px rgba(79, 44, 24, .035); border-radius: 999px; }
.button-primary, .button-dark, .button-accent {
  background: linear-gradient(145deg, #b85f3d, #9c4526);
  color: #fff;
  box-shadow: 0 5px 14px rgba(156, 69, 38, .17), inset 0 1px 0 rgba(255,255,255,.16);
}
.button-primary:hover, .button-dark:hover, .button-accent:hover { background: #8e4025; }
.fitness-hero {
  background: radial-gradient(ellipse at 82% 10%, #ecd2c2aa, transparent 57%),
    radial-gradient(ellipse at 10% 95%, #f0dfcbbb, transparent 60%),
    linear-gradient(145deg, #fdfbf8, #f3ece5);
  color: var(--ink);
  padding-top: 60px;
  border-bottom: 1px solid #e8dcd1;
}
.eyebrow { color: #7b6251; }
.live-dot { background: #b45330; box-shadow: 0 0 0 5px #b4533012; }
.hero-english { font-size: 13px; line-height: 1.5; letter-spacing: .2em; color: var(--accent); font-weight: 500; margin-bottom: 25px; }
.fitness-hero h1 { font-family: var(--serif); font-size: 72px; line-height: 1.25; font-weight: 600; letter-spacing: .035em; }
.fitness-hero h1>span { font-family: var(--serif); font-size: 30px; font-weight: 400; line-height: 1.8; color: #685044; margin-top: 22px; letter-spacing: .025em; }
.hero-description { color: #776458; font-size: 14px; line-height: 2; margin-top: 24px; }
.hero-actions { margin-top: 32px; }
.hero-actions .button-glass { background: #fdfaf5bf; color: #674a38; border-color: #d8c4b3; }
.hero-actions .button-glass:hover { background: #fff; }
.hero-instructor { margin-top: 36px; }
.instructor-monogram { color: var(--accent); box-shadow: inset 0 1px 2px #fff9, 0 4px 12px #78482b0a; }
.hero-instructor small, .hero-instructor div>span { color: #7d695a; }
.hero-editorial-visual { border: 7px solid #fffaf3; border-radius: 28px; box-shadow: 0 8px 18px #64412814, 0 28px 60px #64412826; height: 555px; }
.hero-editorial-visual>img { filter: brightness(.93) saturate(.82); }
.hero-editorial-visual:after { background: linear-gradient(transparent 52%, #261a10a6); }
.film-trigger { border-radius: 16px; border-color: #ffffff75; background: #fffbf0ed; color: #443025; box-shadow: 0 10px 28px #2b1b1229; }
.film-trigger small { color: #806552; }
.film-play { color: white; background: #a64f2d; box-shadow: 0 5px 12px #a64f2d24; }
.hero-bottom { border-color: #c3a78b40; color: #816d5e; margin-top: 48px; }
.hero-bottom a span { color: var(--accent); }
.course-numbers { padding-block: 40px; }
.section-heading h2, .science-layout h2, .teacher-story h2, .learning-entry-inner h2,
.library-heading h1, .subpage-hero-copy h1, .learn-heading h1, .curriculum-intro h2,
.practice-chapter-head h3, .about-intro-layout h2, .about-teacher-copy h2 {
  font-family: var(--serif);
  letter-spacing: .015em;
}
.pathway-card { background: linear-gradient(145deg, #fffefa, #f9f3ec); border-color: #e8ddd3; box-shadow: var(--shadow), inset 0 1px 0 white; }
.pathway-card:hover { box-shadow: var(--shadow-lift); }
.featured-path { background: linear-gradient(140deg, #fbecdf, #f1d6c3); border-color: #e5c3ac; }
.pathway-card h3 { font-family: var(--serif); font-size: 27px; font-weight: 600; letter-spacing: .01em; }
.movement-section { background: linear-gradient(160deg, #f1e6dc, #f7f2ec); }
.movement-image { border: 6px solid #fffaf4; border-radius: 22px; box-shadow: var(--shadow-lift); }
.movement-image span { border-radius: 999px; box-shadow: 0 3px 12px #38231412; background: #fffcf2ed; }
.science-section { background: radial-gradient(ellipse at 0 0, #62433466, transparent 60%), linear-gradient(135deg, #372b24, #28221e); }
.science-layout .button { box-shadow: none; }
.learning-entry-section { background: radial-gradient(ellipse at 85% 80%, #eac6ada1, transparent 55%), linear-gradient(120deg, #f5ebe1, #ede0d4); }
.learning-entry-inner>.button { background: #a64f2d; color: #fff; }
.library-stat { border-color: #dcc7b7; }
.library-toolbar { background: #fdfbf8d9; border: 1px solid #e4d6cb; padding: 18px; border-radius: 18px; box-shadow: var(--shadow); }
.filter-buttons button { border-radius: 999px; }
.filter-buttons button[aria-pressed=true] { background: #9c4526; color: #fff; box-shadow: 0 3px 9px #9c45261a; }
.search-field { background: #fffdfa; border-color: #e1d4c9; border-radius: 999px; box-shadow: inset 0 2px 4px #66432c04; }
.movement-card { background: linear-gradient(145deg, #fffdfa, #fbf7f2); box-shadow: var(--shadow); border-color: #e7dbd1; border-radius: 18px; }
.movement-card:hover { box-shadow: var(--shadow-lift); }
.mini-play { background: #f3dfcf; color: var(--accent); box-shadow: inset 0 1px 0 #fff8; }
.direct-video-link { background: #f8efe6; }
.playlist-panel, .lesson-stage, .practice-chapter { background: var(--surface); box-shadow: var(--shadow); border-color: #e5d7cc; border-radius: 18px; }
.lesson-select.active { background: #f4e1d2; }
.stage-play { background: #fff1e3; color: #9c4526; }
.lesson-navigation button { background: #fffaf5; border-color: #e4d2c3; box-shadow: 0 2px 5px #49301f05; border-radius: 999px; }
.practice-curriculum-section { background: linear-gradient(165deg, #efe2d6, #f5eee7); }
.practice-group li a { box-shadow: 0 2px 5px #7b4c2e05, inset 0 1px 0 #fff; border-radius: 10px; }
.placeholder-mark { background: #fffcf7; box-shadow: var(--shadow); }
.about-teacher-section { background: linear-gradient(135deg, #433128, #2f2621); }
.about-teacher-visual { border-radius: 20px; box-shadow: 0 15px 36px #1e100c44; }
.site-footer { background: #2b221d; }

@media(min-width:1600px) {
  .fitness-hero {
    padding-top: 65px;
  }
  .hero-editorial-visual {
    height: 640px;
  }
}

@media(max-width:1100px) {
  .site-nav {
    gap: 18px;
  }
  .fitness-hero-grid {
    gap: 35px;
  }
  .hero-editorial-visual {
    height: 575px;
  }
  .course-numbers>div {
    padding-left: 24px;
  }
  .movement-layout {
    gap: 32px;
  }
  .science-layout {
    gap: 60px;
  }
  .teacher-story-grid {
    gap: 50px;
  }
  .library-toolbar {
    flex-wrap: wrap;
  }
  .library-toolbar .search-field {
    width: 100%;
  }
  .curriculum-layout {
    gap: 45px;
    grid-template-columns: 260px minmax(0,1fr);
  }
  .learning-workspace {
    grid-template-columns: 300px minmax(0,1fr);
    gap: 18px;
  }
  .lesson-detail {
    padding: 22px;
  }
  .lesson-navigation {
    gap: 6px;
  }
  .lesson-navigation button {
    padding: 8px;
    font-size: 10px;
  }
}

@media(max-width:880px) {
  :root {
    --header-height: 68px;
  }
  .page-width,.footer-inner {
    width: calc(100% - 40px);
  }
  .site-header {
    padding: 0 20px;
  }
  .nav-toggle {
    display: grid;
  }
  .site-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    height: calc(100dvh - var(--header-height));
    background: var(--paper);
    padding: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    overflow: auto;
  }
  .nav-open {
    overflow: hidden;
  }
  .nav-open .site-nav {
    display: flex;
  }
  .site-nav>a:not(.nav-course-link) {
    padding: 18px 5px;
    font-size: 16px;
    border-bottom: 1px solid var(--line);
  }
  .site-nav>a[aria-current=page]:after {
    display: none;
  }
  .nav-course-link {
    margin-top: 24px;
    justify-content: space-between;
    padding: 16px;
  }
  .fitness-hero {
    padding-top: 35px;
  }
  .fitness-hero-grid {
    gap: 25px;
    grid-template-columns: 1fr 1fr;
  }
  .hero-editorial-visual {
    height: 570px;
    border-top-left-radius: 24px;
  }
  .hero-english {
    font-size: 12px;
  }
  .fitness-hero h1 {
    font-size: 34px;
  }
  .fitness-hero h1>span {
    font-size: 21px;
  }
  .hero-actions .button {
    font-size: 12px;
    padding-inline: 15px;
    min-height: 43px;
    gap: 13px;
  }
  .hero-instructor div>span {
    font-size: 9px;
  }
  .visual-topline {
    left: 24px;
    font-size: 8px;
  }
  .film-trigger {
    left: 16px;
    right: 16px;
    padding: 14px;
    gap: 10px;
  }
  .film-trigger strong {
    font-size: 14px;
  }
  .film-play {
    width: 36px;
    height: 36px;
  }
  .visual-footnote {
    font-size: 8px;
    left: 19px;
    right: 19px;
  }
  .course-numbers {
    grid-template-columns: repeat(4,1fr);
    padding-block: 28px;
  }
  .course-numbers>p {
    display: none;
  }
  .course-numbers>div:first-of-type {
    border: 0;
    padding-left: 0;
  }
  .section {
    padding: 70px 0;
  }
  .section-heading h2 {
    font-size: 31px;
  }
  .pathway-grid {
    gap: 12px;
  }
  .pathway-card {
    padding: 25px 20px;
  }
  .pathway-card h3 {
    font-size: 21px;
  }
  .pathway-card p {
    font-size: 12px;
  }
  .pathway-card br {
    display: none;
  }
  .pathway-link {
    font-size: 11px;
  }
  .movement-layout {
    grid-template-columns: 1fr 1.3fr;
    gap: 25px;
  }
  .movement-groups>a {
    gap: 11px;
    grid-template-columns: 18px 1fr 32px 15px;
    padding: 20px 0;
  }
  .movement-groups h3 {
    font-size: 19px;
  }
  .movement-groups p {
    font-size: 11px;
  }
  .science-layout {
    gap: 35px;
    grid-template-columns: .9fr 1.1fr;
  }
  .science-layout h2 {
    font-size: 31px;
  }
  .science-chapters a {
    gap: 10px;
    grid-template-columns: 23px 1fr 28px 15px;
  }
  .science-chapters strong {
    font-size: 14px;
  }
  .teacher-story h2 {
    font-size: 28px;
  }
  .teacher-story-grid {
    gap: 35px;
  }
  .library-heading h1 {
    font-size: 38px;
  }
  .library-stat {
    padding-left: 25px;
  }
  .library-stat strong {
    font-size: 70px;
  }
  .movement-card-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
  .learning-workspace {
    grid-template-columns: 1fr;
  }
  .lesson-stage {
    grid-row: 1;
    position: static;
  }
  .playlist-panel {
    grid-row: 2;
  }
  .playlist-groups {
    max-height: 540px;
  }
  .lesson-poster {
    aspect-ratio: 2/1;
  }
  .lesson-navigation button {
    font-size: 12px;
    padding: 10px 15px;
  }
  .learn-next-inner h2 {
    font-size: 25px;
  }
  .curriculum-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .curriculum-intro {
    position: static;
  }
  .curriculum-intro h2 {
    font-size: 30px;
  }
  .curriculum-intro p {
    max-width: 550px;
  }
  .practice-grid {
    grid-template-columns: 1fr;
  }
  .practice-chapter:first-child {
    grid-column: auto;
  }
  .about-intro-layout,.about-teacher-layout {
    gap: 35px;
  }
  .about-intro-layout h2 {
    font-size: 30px;
  }
  .about-teacher-visual {
    height: 400px;
  }
  .footer-inner {
    align-items: flex-start;
  }
  .footer-links {
    flex-wrap: wrap;
    gap: 10px 20px;
    justify-content: flex-end;
  }
  .subpage-hero-copy h1 {
    font-size: 36px;
  }
}

@media(max-width:620px) {
  .page-width,.footer-inner {
    width: calc(100% - 36px);
  }
  .site-header {
    padding-inline: 18px;
  }
  .site-brand img {
    width: 35px;
    height: 35px;
  }
  .site-brand-copy strong {
    font-size: 17px;
  }
  .site-brand-copy small {
    font-size: 7px;
  }
  .fitness-hero {
    padding-top: 30px;
  }
  .fitness-hero-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .eyebrow {
    font-size: 10px;
    margin-bottom: 21px;
  }
  .hero-english {
    font-size: 11px;
    margin-bottom: 22px;
  }
  .fitness-hero h1 {
    font-size: 32px;
  }
  .fitness-hero h1>span {
    font-size: 23px;
    margin-top: 12px;
  }
  .hero-description {
    font-size: 12px;
    margin-top: 15px;
  }
  .hero-actions {
    margin-top: 23px;
    gap: 10px;
  }
  .hero-actions .button {
    padding: 12px 15px;
    flex: 1;
    min-height: 47px;
    font-size: 12px;
  }
  .hero-instructor {
    margin-top: 24px;
  }
  .hero-instructor div>span {
    font-size: 9px;
  }
  .hero-editorial-visual {
    height: 360px;
    border-radius: 24px;
  }
  .hero-editorial-visual>img {
    object-position: center 46%;
  }
  .visual-topline {
    top: 23px;
    left: 27px;
    right: 20px;
  }
  .film-trigger {
    bottom: 52px;
    left: 18px;
    right: 18px;
    padding: 13px 15px;
  }
  .film-trigger strong {
    font-size: 16px;
  }
  .film-trigger small {
    font-size: 10px;
  }
  .visual-footnote {
    bottom: 19px;
    left: 23px;
    right: 23px;
    font-size: 8px;
  }
  .hero-bottom {
    margin-top: 27px;
    padding-block: 18px;
    font-size: 10px;
  }
  .hero-bottom a {
    gap: 16px;
  }
  .course-numbers {
    padding-block: 25px;
    gap: 8px;
  }
  .course-numbers>div {
    padding-left: 13px;
  }
  .course-numbers>div>strong {
    font-size: 27px;
  }
  .course-numbers strong small {
    font-size: 9px;
    margin-left: 4px;
  }
  .course-numbers div>span {
    font-size: 9px;
  }
  .section {
    padding: 56px 0;
  }
  .section-kicker {
    font-size: 9px;
    margin-bottom: 15px;
  }
  .split-heading {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .section-heading {
    margin-bottom: 26px;
  }
  .section-heading h2 {
    font-size: 28px;
  }
  .split-heading>p {
    font-size: 12px;
  }
  .text-link {
    font-size: 12px;
  }
  .pathway-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .pathway-card {
    padding: 26px;
  }
  .pathway-number {
    position: absolute;
    top: 22px;
    right: 24px;
    font-size: 34px;
    margin: 0;
    opacity: .65;
  }
  .pathway-label {
    margin-bottom: 24px;
    font-size: 9px;
  }
  .pathway-card h3 {
    font-size: 24px;
    margin-bottom: 12px;
  }
  .pathway-card p {
    font-size: 13px;
    line-height: 1.85;
    margin-bottom: 19px;
    max-width: 270px;
  }
  .pathway-link {
    font-size: 12px;
    padding-top: 17px;
  }
  .movement-layout {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .movement-image {
    height: 275px;
    min-height: 0;
  }
  .movement-image img {
    object-position: center 40%;
  }
  .movement-groups>a {
    padding: 24px 0;
    gap: 15px;
  }
  .movement-groups h3 {
    font-size: 21px;
  }
  .science-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .science-layout h2 {
    font-size: 33px;
    margin-bottom: 19px;
  }
  .science-layout p:not(.section-kicker) {
    font-size: 12px;
  }
  .science-layout .button {
    font-size: 12px;
    margin-top: 8px;
  }
  .science-chapters a {
    padding: 17px 0;
    gap: 13px;
  }
  .science-chapters strong {
    font-size: 16px;
  }
  .teacher-story-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .teacher-story h2 {
    font-size: 28px;
  }
  .teacher-story-grid>div>p:not(.section-kicker) {
    font-size: 13px;
  }
  .story-features h3 {
    font-size: 19px;
  }
  .learning-entry-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
  }
  .learning-entry-section {
    padding: 50px 0;
  }
  .learning-entry-inner h2 {
    font-size: 32px;
  }
  .learning-entry-inner>.button {
    width: 100%;
  }
  .learning-entry-inner p:not(.section-kicker) {
    font-size: 11px;
    margin-top: 19px;
  }
  .library-heading {
    flex-direction: column;
    align-items: flex-start;
    gap: 26px;
    padding-block: 40px 30px;
  }
  .library-heading h1 {
    font-size: 34px;
    margin-bottom: 17px;
  }
  .library-heading p:not(.section-kicker) {
    font-size: 12px;
    line-height: 1.9;
  }
  .library-stat {
    border-left: 0;
    padding: 0;
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 17px;
    align-items: center;
    white-space: normal;
  }
  .library-stat strong {
    font-size: 49px;
    grid-row: 1/3;
  }
  .library-stat span {
    font-size: 11px;
    margin: 0;
  }
  .library-stat small {
    font-size: 9px;
    margin: 0;
  }
  .library-toolbar {
    gap: 16px;
    padding: 16px 0;
  }
  .filter-buttons {
    width: 100%;
    gap: 6px;
  }
  .filter-buttons button {
    font-size: 11px;
    padding: 9px 10px;
  }
  .library-toolbar .filter-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .library-toolbar .filter-buttons button {
    text-align: center;
    border: 1px solid var(--line);
  }
  .library-note {
    font-size: 10px;
    flex-direction: column;
    gap: 3px;
    padding: 17px 0;
  }
  .movement-card-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .movement-card-main {
    padding: 16px 13px;
  }
  .movement-card-top {
    margin-bottom: 23px;
    gap: 5px;
  }
  .movement-card-top>span:first-child {
    font-size: 8px;
  }
  .mini-play {
    width: 26px;
    height: 26px;
  }
  .mini-play svg {
    width: 9px;
  }
  .movement-card-main>small {
    font-size: 9px;
  }
  .movement-card h2 {
    font-size: 17px;
    margin: 8px 0 18px;
    min-height: 52px;
    line-height: 1.5;
  }
  .movement-card h2>span {
    font-size: 11px;
  }
  .movement-card-bottom {
    font-size: 9px;
    line-height: 1.6;
    gap: 6px;
  }
  .movement-card-bottom svg {
    width: 13px;
  }
  .direct-video-link {
    padding: 10px 13px;
    font-size: 10px;
    gap: 7px;
  }
  .practice-horizon {
    padding-block: 36px 55px;
    margin-top: 40px;
  }
  .practice-horizon h2 {
    font-size: 23px;
  }
  .practice-horizon>p:not(.section-kicker) {
    font-size: 12px;
  }
  .learn-heading {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding-block: 30px 25px;
  }
  .learn-heading h1 {
    font-size: 33px;
  }
  .learn-heading p:not(.section-kicker) {
    font-size: 12px;
  }
  .login-note {
    font-size: 10px;
  }
  .lesson-poster {
    aspect-ratio: 16/9;
  }
  .lesson-detail {
    padding: 22px 17px;
  }
  .lesson-detail h2 {
    font-size: 22px;
  }
  .lesson-description {
    font-size: 12px;
  }
  .stage-play {
    width: 52px;
    height: 52px;
    box-shadow: 0 0 0 8px #ffffff20;
  }
  .stage-play svg {
    width: 18px;
  }
  .stage-badge {
    left: 13px;
    top: 13px;
    font-size: 8px;
  }
  .stage-corner {
    right: 13px;
    bottom: 13px;
    font-size: 8px;
  }
  .platform-actions .button {
    flex: 1 1 auto;
    font-size: 11px;
    padding: 10px;
    gap: 8px;
  }
  .lesson-navigation {
    gap: 5px;
  }
  .lesson-navigation button {
    font-size: 10px;
    padding: 9px 7px;
  }
  .platform-help {
    font-size: 9px;
    gap: 5px;
  }
  .learn-next-band {
    margin-top: 45px;
    padding: 45px 0;
  }
  .learn-next-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 23px;
  }
  .learn-next-inner h2 {
    font-size: 24px;
  }
  .learn-next-inner p:not(.section-kicker) {
    font-size: 12px;
  }
  .subpage-hero {
    min-height: 0;
  }
  .subpage-hero-copy {
    padding-block: 50px;
  }
  .subpage-hero-copy h1 {
    font-size: 32px;
    line-height: 1.5;
    margin-bottom: 18px;
  }
  .subpage-hero-copy>p:not(.section-kicker) {
    font-size: 12px;
  }
  .curriculum-intro h2 {
    font-size: 29px;
  }
  .curriculum-intro p {
    font-size: 12px;
  }
  .curriculum-chapter summary {
    gap: 9px;
    grid-template-columns: 24px 1fr 60px;
    min-height: 73px;
  }
  .curriculum-chapter summary strong {
    font-size: 15px;
  }
  .curriculum-chapter summary>small {
    font-size: 9px;
  }
  .curriculum-chapter summary>small:after {
    margin-left: 4px;
  }
  .curriculum-items {
    padding-left: 0;
  }
  .curriculum-items a {
    grid-template-columns: 33px 1fr 16px;
    padding: 11px 4px;
    gap: 10px;
  }
  .curriculum-items strong {
    font-size: 12px;
  }
  .practice-chapter {
    padding: 21px 17px;
  }
  .practice-chapter-head {
    gap: 15px;
    padding-bottom: 18px;
  }
  .practice-chapter-head h3 {
    font-size: 22px;
  }
  .practice-group h4 {
    font-size: 14px;
  }
  .practice-group ul {
    gap: 7px;
  }
  .practice-group li a,.practice-group li>span {
    font-size: 11px;
    padding: 9px;
    gap: 7px;
  }
  .syllabus-status-inner {
    gap: 25px;
    align-items: flex-start;
    flex-direction: column;
  }
  .syllabus-status-inner h2 {
    font-size: 25px;
  }
  .syllabus-status-inner p:not(.section-kicker) {
    font-size: 12px;
  }
  .about-intro-layout,.about-teacher-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .about-intro-layout h2 {
    font-size: 29px;
  }
  .about-intro-layout>p {
    font-size: 13px;
  }
  .feature-list {
    margin-top: 32px;
  }
  .feature-list article {
    gap: 20px;
  }
  .feature-list h3 {
    font-size: 19px;
  }
  .feature-list p {
    font-size: 12px;
  }
  .about-teacher-visual {
    height: 300px;
  }
  .about-teacher-copy h2 {
    font-size: 39px;
  }
  .teacher-facts>div {
    font-size: 11px;
    gap: 15px;
  }
  .syllabus-placeholder-layout {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .syllabus-placeholder-layout h2 {
    font-size: 25px;
  }
  .syllabus-placeholder-layout p:not(.section-kicker) {
    font-size: 12px;
  }
  .placeholder-mark {
    padding: 24px;
  }
  .footer-inner {
    flex-direction: column;
    gap: 28px;
  }
  .footer-links {
    justify-content: flex-start;
    gap: 18px;
  }
  .site-footer {
    padding: 33px 0;
  }
  .dialog-bar {
    padding: 11px 12px;
    font-size: 11px;
  }
  .error-page {
    padding-block: 90px;
  }
  .error-page h1 {
    font-size: 30px;
  }
}

@media(max-width:880px) {
  .fitness-hero h1 { font-size: 52px; }
  .fitness-hero h1>span { font-size: 26px; }
  .hero-editorial-visual { height: 520px; border-width: 5px; }
}
@media(max-width:620px) {
  .fitness-hero h1 { font-size: 49px; }
  .fitness-hero h1>span { font-size: 24px; line-height: 1.8; margin-top: 16px; }
  .hero-description { font-size: 12px; }
  .hero-editorial-visual { height: 355px; }
  .hero-english { letter-spacing: .17em; }
  .library-toolbar { padding: 12px; }
  .library-toolbar .filter-buttons button { border-color: transparent; }
  .pathway-card h3 { font-size: 25px; }
}
@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto;
  }
  *,*:before,*:after {
    animation: none!important;
    transition: none!important;
  }
}

/* Let the warm architectural artwork retain its full composition. */
.home-page .fitness-hero-grid { grid-template-columns: minmax(0, .82fr) minmax(0, 1.5fr); gap: 40px; }
.home-page .hero-editorial-visual { height: auto; aspect-ratio: 8 / 5; }
.home-page .hero-editorial-visual>img { filter: none; }
.home-page .hero-editorial-visual:after { background: linear-gradient(transparent 82%, #3c231522); }
.home-page .visual-topline { top: 23px; left: 23px; right: 23px; color: #503826; }
.home-page .visual-topline span { background: #fff8ecb8; padding: 7px 10px; border-radius: 999px; backdrop-filter: blur(8px); }
.home-page .film-trigger { bottom: 22px; left: 22px; right: 22px; padding: 13px 17px; background: #fffaf0e8; backdrop-filter: blur(16px); }
@media(min-width:1101px) {
  .home-page .fitness-hero h1 { font-size: 64px; }
  .home-page .fitness-hero h1>span { font-size: 27px; }
  .home-page .film-trigger { right: auto; width: 285px; bottom: 16px; padding: 10px 15px; }
}
@media(max-width:1100px) {
  .home-page .fitness-hero-grid { grid-template-columns: 1fr; gap: 30px; }
}
@media(max-width:620px) {
  .home-page .hero-editorial-visual { aspect-ratio: auto; background: #fffaf3; }
  .home-page .hero-editorial-visual>img { height: auto; aspect-ratio: 8 / 5; display: block; }
  .home-page .hero-editorial-visual:after { display: none; }
  .home-page .visual-topline { top: 14px; left: 14px; right: 14px; font-size: 7px; }
  .home-page .visual-topline span { padding: 6px 8px; }
  .home-page .film-trigger { position: relative; bottom: auto; left: auto; right: auto; width: calc(100% - 20px); margin: 10px; padding: 10px 13px; gap: 11px; }
  .home-page .film-play { width: 35px; height: 35px; }
  .home-page .film-trigger strong { font-size: 13px; }
  .home-page .film-trigger small { font-size: 9px; }
}

/* Compact classroom: the selected lesson is visible without a promotional cover. */
.learn-page .learn-heading { padding-block: 20px 18px; gap: 18px; }
.learn-page .learn-heading>div { display: grid; grid-template-columns: auto 1fr; align-items: baseline; column-gap: 22px; }
.learn-page .learn-heading .section-kicker { grid-column: 1/-1; margin-bottom: 6px; font-size: 9px; }
.learn-page .learn-heading h1 { font-size: 28px; margin: 0; }
.learn-page .learn-heading p:not(.section-kicker) { font-size: 12px; }
.learn-page .learning-workspace { grid-template-columns: 320px minmax(0,1fr); gap: 22px; align-items: start; }
.learn-page .playlist-panel { display: flex; flex-direction: column; height: min(760px, calc(100dvh - 204px)); min-height: 440px; }
.learn-page .playlist-panel-head { padding: 14px 16px 10px; flex-direction: row; align-items: baseline; justify-content: space-between; gap: 12px; }
.learn-page .playlist-panel-head strong { font-size: 14px; }
.learn-page .playlist-panel-head span { font-size: 9px; letter-spacing: 0; }
.learn-page .playlist-toolbar { padding: 0 12px 12px; }
.learn-page .classroom-filters { margin-bottom: 10px; }
.learn-page .search-field { padding: 8px 12px; }
.learn-page .progress-summary { margin-top: 10px; gap: 6px; }
.learn-page .playlist-groups { flex: 1; min-height: 0; max-height: none; }
.learn-page .playlist-group summary { padding-block: 12px; }
.learn-page .lesson-select { padding-block: 9px; }
.lesson-select strong { display: flex; justify-content: space-between; align-items: center; gap: 8px; width: 100%; }
.lesson-external { width: 12px; height: 12px; opacity: .45; }
.lesson-select:hover .lesson-external, .lesson-select.active .lesson-external { opacity: 1; }
.learn-page .lesson-stage { top: 98px; }
.learn-page .lesson-detail { padding: 26px 30px 22px; }
.current-lesson-label { display: flex; justify-content: space-between; align-items: center; gap: 15px; font-size: 10px; color: var(--muted); margin-bottom: 25px; }
.current-lesson-label>span:first-child { color: var(--accent); background: #f6e8dd; padding: 4px 10px; border-radius: 999px; }
.current-lesson-label>span:last-child { display: flex; align-items: center; gap: 6px; }
.learn-page .lesson-number { margin-bottom: 9px; }
.learn-page .lesson-detail h2 { font-family: var(--serif); font-size: 34px; margin: 0; line-height: 1.5; }
.lesson-watch-link { display: flex; gap: 17px; align-items: center; padding: 19px 22px; margin-top: 24px; background: linear-gradient(120deg, #a94f2d, #934223); border: 1px solid #9c4526; border-radius: 14px; color: #fff; box-shadow: 0 7px 20px #9c452621, inset 0 1px 0 #ffffff20; }
.lesson-watch-link:hover { background: #8e3f24; }
.watch-icon { display: grid; place-items: center; width: 43px; height: 43px; border-radius: 50%; background: #fff2e9; color: var(--accent); flex-shrink: 0; }
.watch-icon svg { fill: currentColor; width: 16px; }
.lesson-watch-link>span:nth-child(2) { display: flex; flex: 1; flex-direction: column; gap: 4px; }
.lesson-watch-link strong { font-size: 16px; font-weight: 550; }
.lesson-watch-link small { color: #fae5d5; font-size: 11px; }
.watch-feedback { font-size: 11px; line-height: 1.8; color: var(--accent); margin: 12px 0 0; }
.learn-page .lesson-navigation { margin-top: 20px; padding-top: 0; border-top: 0; align-items: center; }
.lesson-navigation a { display: inline-flex; align-items: center; border: 1px solid #e4d2c3; border-radius: 999px; padding: 9px 13px; font-size: 11px; background: #fffaf5; min-height: 38px; }
.lesson-navigation a:hover { background: #f4e5d8; }
.lesson-navigation a[aria-disabled=true] { opacity: .35; cursor: default; pointer-events: none; }
.lesson-intro-block { margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line); }
.lesson-intro-block h3 { font-size: 12px; font-weight: 600; margin: 0 0 10px; }
.learn-page .lesson-description { margin: 0; max-height: 220px; overflow: auto; font-size: 13px; line-height: 1.9; }
.learn-page .platform-actions { margin-top: 16px; }
.learn-page .platform-actions:not(:has(a:not([hidden]))) { display: none; }
.classroom-help { font-size: 10px; color: var(--muted); margin: 22px 0 0; }
.learn-page .site-footer { margin-top: 28px; padding-block: 25px; }
@media(max-width:880px) {
  .learn-page .learning-workspace { grid-template-columns: 1fr; }
  .learn-page .learn-heading>div { display: block; }
  .learn-page .learn-heading h1 { margin-bottom: 8px; }
  .learn-page .lesson-stage { position: static; }
  .learn-page .playlist-panel { height: 500px; min-height: 0; }
}
@media(max-width:620px) {
  .learn-page .learn-heading { flex-direction: row; align-items: center; padding-block: 18px; }
  .learn-page .learn-heading .section-kicker { font-size: 8px; }
  .learn-page .learn-heading h1 { font-size: 26px; }
  .learn-page .learn-heading p:not(.section-kicker) { font-size: 10px; }
  .learn-page .learn-heading>.text-link { font-size: 10px; gap: 7px; white-space: nowrap; }
  .learn-page .lesson-detail { padding: 20px 17px; }
  .current-lesson-label { font-size: 9px; gap: 8px; margin-bottom: 19px; }
  .learn-page .lesson-detail h2 { font-size: 27px; }
  .lesson-watch-link { padding: 16px; margin-top: 20px; gap: 13px; }
  .lesson-watch-link strong { font-size: 15px; }
  .lesson-watch-link small { font-size: 10px; }
  .lesson-navigation a { padding: 8px 10px; font-size: 10px; }
  .lesson-intro-block { margin-top: 20px; padding-top: 16px; }
  .learn-page .lesson-description { font-size: 12px; max-height: 160px; }
  .classroom-help { margin-top: 18px; font-size: 9px; }
}
