.learning-intro { margin: 0 0 28px; text-align: center; }
.learning-intro a { color: #4a43dc; font-size: 17px; font-weight: 600; text-underline-offset: 4px; }
.learning-intro a:hover { color: #3028b8; }

html { scroll-behavior: smooth; }
body:has(.guide-header) { margin: 0; color: #242428; background: #f8f8fb; font-family: Poppins, Arial, sans-serif; }
body:has(.guide-header) * { box-sizing: border-box; }
body:has(.guide-header) a { color: inherit; }
.guide-wrap { width: min(1160px, calc(100% - 48px)); margin: 0 auto; }
.guide-header { background: #fff; border-bottom: 1px solid #e9e8ef; }
.guide-header .guide-wrap { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.wordmark { font-size: 25px; font-weight: 600; letter-spacing: -.06em; line-height: 1; text-decoration: none; }
.guide-header nav { display: flex; gap: 30px; align-items: center; font-size: 14px; font-weight: 600; }
.guide-header nav a { text-decoration: none; }
.guide-header nav a:hover, .guide-header nav a:focus-visible { color: #4a43dc; }
.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 11px; margin: 30px 0 32px; color: #666670; font-size: 13px; }
.breadcrumbs a { text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }
.breadcrumbs span[aria-hidden] { color: #aba9b7; }
.hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr); gap: clamp(28px, 5vw, 72px); align-items: center; padding: 26px 0 72px; }
.hero-copy { max-width: 640px; }
.eyebrow { margin: 0 0 18px; color: #5049d9; font-size: 13px; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; }
.hero h1 { max-width: 650px; margin: 0 0 24px; font-size: clamp(38px, 5vw, 68px); line-height: 1.08; letter-spacing: -.055em; }
.lead { margin: 0 0 30px; color: #4c4c56; font-size: clamp(16px, 1.5vw, 18px); line-height: 1.75; }
.primary-link { display: inline-flex; align-items: center; gap: 18px; padding: 15px 22px; border-radius: 6px; background: #615eff; color: #fff !important; font-size: 15px; font-weight: 600; text-decoration: none; }
.primary-link:hover { background: #4e4bd6; }
.access-note { margin: 12px 0 0; color: #74747c; font-size: 12px; }
.hero-image { display: block; width: 100%; max-height: 550px; object-fit: cover; border-radius: 12px; box-shadow: 0 24px 60px rgba(36,36,40,.12); }
.hero > .dance-media { aspect-ratio: 4 / 3; border-radius: 12px; box-shadow: 0 24px 60px rgba(36,36,40,.12); }
.dance-media { position: relative; overflow: hidden; isolation: isolate; width: 100%; aspect-ratio: 16 / 10; background: #161519; }
.dance-media img, .dance-media video { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
.dance-media video { opacity: 0; transition: opacity .2s ease; }
.dance-media.is-playing video { opacity: 1; }
.dance-media__link { position: absolute; z-index: 1; inset: 0; display: flex; align-items: end; padding: 12px 16px; text-decoration: none; }
.dance-media__caption { display: inline-flex; align-items: center; gap: 12px; padding: 6px 13px; border-radius: 4px; background: #fff; color: #242428; font-size: 17px; font-weight: 600; line-height: 1.4; }
.dance-media__link:hover .dance-media__caption, .dance-media__link:focus-visible .dance-media__caption { color: #615eff; }
.guide-content { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; padding: 32px 0 64px; border-top: 1px solid #e8e8ef; }
.guide-content section { padding: 26px; border: 1px solid #e8e8ef; border-radius: 14px; background: #fff; box-shadow: 0 12px 32px rgba(36,36,40,.035); }
.guide-step-number { display: block; margin-bottom: 22px; color: #615eff; font-size: 12px; font-weight: 600; letter-spacing: .14em; }
.guide-content h2 { margin: 0 0 10px; font-size: clamp(19px, 2vw, 24px); line-height: 1.25; letter-spacing: -.04em; }
.guide-content p { margin: 0; color: #55555f; font-size: 14px; line-height: 1.55; }
.more-guides { padding: 0 0 72px; }
.more-guides:has(+ .guide-content) { padding-bottom: 48px; }
.more-guides h2 { margin: 0 0 20px; font-size: clamp(26px, 3vw, 34px); letter-spacing: -.045em; }
.guide-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.guide-card { overflow: hidden; border-radius: 12px; background: #fff; box-shadow: 0 12px 30px rgba(36,36,40,.07); transition: transform .2s ease, box-shadow .2s ease; }
.guide-card:hover, .guide-card:focus-within { transform: translateY(-3px); box-shadow: 0 18px 38px rgba(36,36,40,.12); }
.guide-related { display: flex; flex-wrap: wrap; gap: 12px; }
.guide-related a { padding: 13px 18px; border: 1px solid #dcdbea; border-radius: 5px; background: #fff; font-size: 14px; font-weight: 600; text-decoration: none; }
.guide-related a:hover { border-color: #615eff; color: #4a43dc; }
.guide-reference { margin: -48px 0 72px; color: #666670; font-size: 13px; line-height: 1.7; }
.guide-reference a { color: #4a43dc !important; text-underline-offset: 3px; }
.guide-teachers { padding: 0 0 90px; }
.guide-teachers h2 { margin: 0 0 25px; font-size: clamp(26px, 3vw, 36px); letter-spacing: -.04em; }
.more-guides:has(+ .guide-teachers) { padding-bottom: 48px; }
.teachers-intro { max-width: 780px; padding: 36px 0 72px; }
.teachers-intro h1 { margin: 0 0 24px; font-size: clamp(38px, 5vw, 68px); line-height: 1.08; letter-spacing: -.055em; }
.teachers-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-bottom: 72px; }
.teacher-card { overflow: hidden; border: 1px solid #e8e8ef; border-radius: 9px; background: #fff; }
.teacher-card[href] { display: block; text-decoration: none; }
.teacher-card[href]:hover { border-color: #615eff; box-shadow: 0 15px 30px rgba(36,36,40,.08); }
.teacher-card img { display: block; width: 100%; aspect-ratio: 210 / 326; object-fit: cover; }
.teacher-card h2 { margin: 0; padding: 17px 17px 20px; font-size: 16px; line-height: 1.4; }
.teacher-card:has(.teacher-style) h2 { padding-bottom: 3px; }
.teacher-style { display: block; padding: 0 17px 20px; color: #514ad9; font-size: 12px; font-weight: 600; }
body:has(.guide-header) .teachers-grid + .guide-related { padding-bottom: 90px; }
.profile-hero { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(230px, .65fr); gap: clamp(36px, 6vw, 90px); align-items: center; padding: 28px 0 76px; }
.profile-hero h1 { margin: 0 0 24px; font-size: clamp(38px, 5vw, 68px); line-height: 1.08; letter-spacing: -.055em; }
.profile-hero .lead { max-width: 680px; }
.profile-hero img { display: block; width: min(100%, 370px); max-height: 540px; object-fit: cover; border-radius: 12px; box-shadow: 0 24px 60px rgba(36,36,40,.12); }
.profile-content { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; padding: 38px 0 72px; border-top: 1px solid #e8e8ef; }
.profile-content section { padding: 30px; border: 1px solid #e8e8ef; border-radius: 10px; background: #fff; }
.profile-content h2 { margin: 0 0 18px; font-size: 24px; letter-spacing: -.035em; }
.profile-content p { margin: 0; color: #55555f; font-size: 15px; line-height: 1.75; }
.profile-content + .guide-reference { margin-top: -40px; }
body:has(.guide-header) footer { padding: 48px 0; background: #242428; color: #fff; }
body:has(.guide-header) footer .guide-wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
body:has(.guide-header) footer p { max-width: 290px; margin: 0; color: #cdccd3; font-size: 13px; line-height: 1.6; }
body:has(.guide-header) footer .guide-wrap > div { display: flex; flex-wrap: wrap; gap: 20px; font-size: 13px; }
body:has(.guide-header) footer a { text-decoration: none; }
body:has(.guide-header) a:focus-visible { outline: 3px solid #e06052; outline-offset: 4px; }

@media (max-width: 800px) {
  .hero { grid-template-columns: 1fr; padding: 8px 0 50px; }
  .hero-image { max-height: 430px; }
  .guide-content { grid-template-columns: 1fr; padding-bottom: 64px; }
  .teachers-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .profile-hero { grid-template-columns: 1fr; }
  .profile-hero img { width: min(100%, 430px); }
}
@media (max-width: 560px) {
  .guide-wrap { width: min(100% - 32px, 1160px); }
  .guide-header .guide-wrap { min-height: 66px; }
  .guide-header nav { gap: 14px; font-size: 12px; }
  .breadcrumbs { margin: 16px 0 20px; font-size: 12px; }
  .hero { gap: 20px; padding: 0 0 32px; }
  .eyebrow { margin-bottom: 10px; font-size: 11px; }
  .hero h1 { margin-bottom: 14px; font-size: clamp(32px, 9vw, 42px); }
  .lead { margin-bottom: 18px; font-size: 15px; line-height: 1.55; }
  .primary-link { min-height: 44px; padding: 11px 16px; font-size: 13px; }
  .access-note { margin-top: 8px; }
  .hero-image { display: none; }
  .hero > .dance-media { aspect-ratio: 16 / 8; box-shadow: none; }
  .dance-media__link { padding: 10px; }
  .dance-media__caption { padding: 5px 11px; font-size: 15px; }
  .guide-content { display: block; margin-bottom: 36px; padding: 0 16px; border: 1px solid #e8e8ef; border-radius: 14px; background: #fff; box-shadow: 0 12px 32px rgba(36,36,40,.045); }
  .guide-content section { display: grid; grid-template-columns: 25px minmax(0, 1fr); gap: 11px; padding: 18px 0; border: 0; border-bottom: 1px solid #ecebf1; border-radius: 0; box-shadow: none; }
  .guide-content section:last-child { border-bottom: 0; }
  .guide-step-number { margin: 4px 0 0; font-size: 11px; }
  .guide-content h2 { margin-bottom: 6px; font-size: 17px; line-height: 1.25; }
  .guide-content p { font-size: 14px; line-height: 1.48; }
  .more-guides { padding-bottom: 42px; }
  .more-guides:has(+ .guide-content) { padding-bottom: 24px; }
  .more-guides h2, .guide-teachers h2 { margin-bottom: 15px; font-size: 24px; }
  .guide-grid { display: flex; gap: 12px; overflow-x: auto; margin-right: -16px; padding: 2px 16px 12px 0; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .guide-grid::-webkit-scrollbar { display: none; }
  .guide-card { flex: 0 0 min(68vw, 220px); scroll-snap-align: start; }
  .guide-related { gap: 8px; }
  .guide-related a { min-height: 44px; display: inline-flex; align-items: center; padding: 10px 13px; font-size: 12px; }
  .guide-teachers { padding-bottom: 48px; }
  .guide-reference { margin: -14px 0 32px; }
  .teachers-intro { padding: 20px 0 48px; }
  .teachers-intro h1 { font-size: clamp(34px, 10vw, 45px); }
  .teachers-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .teacher-card h2 { padding: 12px; font-size: 14px; }
  .teacher-card img { aspect-ratio: 1 / 1; object-position: center 18%; }
  .teacher-style { padding: 0 12px 12px; font-size: 11px; }
  .profile-hero { gap: 20px; padding: 6px 0 36px; }
  .profile-hero h1 { font-size: clamp(34px, 10vw, 45px); }
  .profile-hero img { width: min(100%, 230px); max-height: 255px; }
  .profile-content { grid-template-columns: 1fr; gap: 0; padding: 8px 0 35px; }
  .profile-content section { padding: 18px 0; border: 0; border-bottom: 1px solid #e8e8ef; border-radius: 0; background: transparent; }
  .profile-content h2 { margin-bottom: 8px; font-size: 20px; }
  .profile-content + .guide-reference { margin-top: -10px; }
  body:has(.guide-header) footer .guide-wrap { align-items: flex-start; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .dance-media video, .guide-card { transition: none; } }
