:root {
  color-scheme: light;
  --bg: #f4f8f6;
  --text: #203b31;
  --muted: #5f7466;
  --line: #d2dfd6;
  --accent: #617e97;
  --cyan: #335745;
  --gutter: 48px;
  --cjk: "Noto Serif KR";
  --body: "DM Sans", var(--cjk), sans-serif;
  --display: var(--body);
  --serif: "DM Serif Display", var(--cjk), Georgia, serif;
}

:lang(ko), :lang(en) { --cjk: "Noto Serif KR"; }
:lang(ja) { --cjk: "Noto Serif JP"; }
:lang(zh) { --cjk: "Noto Serif SC"; }

* { box-sizing: border-box; letter-spacing: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 104px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 15px/1.75 var(--body); }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button, a, select { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
figure, h1, h2, h3, p { margin: 0; }
html:lang(ja) p { word-break: normal; line-break: strict; }
button:focus-visible, a:focus-visible, select:focus-visible { outline: 2px solid var(--cyan); outline-offset: 5px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.site-header {
  position: sticky;
  z-index: 30;
  top: 0;
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr) 120px;
  align-items: center;
  height: 84px;
  padding-inline: var(--gutter);
  border-bottom: 1px solid var(--line);
  background: #f7faf8;
}
.brand { width: 82px; }
.brand-logo { width: 100%; height: 58px; object-fit: contain; filter: brightness(0); }
.main-nav { display: flex; align-items: center; justify-content: center; gap: 32px; min-width: 0; }
.main-nav a { display: block; font-family: var(--cjk), Georgia, serif; font-size: 14px; font-weight: 400; line-height: 1.4; white-space: nowrap; transition: color 180ms; }
.main-nav > a, .nav-primary > a { padding-block: 30px; }
.main-nav a:hover, .main-nav a[aria-current], .nav-group.is-current .nav-summary-link { color: var(--cyan); }
.nav-group { position: relative; }
.nav-primary { display: flex; align-items: center; }
.nav-submenu-toggle { display: grid; place-items: center; width: 24px; height: 30px; padding: 4px; border: 0; background: transparent; color: var(--text); }
.nav-submenu-toggle img { width: 12px; height: 12px; transition: transform 200ms; }
@media (min-width: 821px) {
  .main-nav { gap: 36px; }
  .nav-primary { position: relative; }
  .nav-primary .nav-submenu-toggle { position: absolute; left: 100%; width: 22px; }
}
.nav-group[open] .nav-submenu-toggle img { transform: rotate(180deg); }
.nav-panel { display: none; position: absolute; top: 100%; left: -20px; width: 150px; padding: 12px 20px; border: 1px solid var(--line); border-top: 0; background: #fff; }
.nav-group[open] .nav-panel { display: block; }
.nav-panel a { padding: 9px 0; }
.header-tools { justify-self: end; }
.language-control { position: relative; display: block; color: var(--text); transition: color 180ms; }
.language-control:hover, .language-control:focus-within { color: var(--accent); }
.language-label { position: absolute; left: 4px; top: 50%; transform: translateY(-50%); font: 500 14px/1.2 var(--body); pointer-events: none; }
.language-control::after { content: ""; position: absolute; right: 2px; top: 50%; width: 12px; height: 12px; transform: translateY(-50%); background: currentColor; mask: url("assets/lucide-chevron-down.svg") center / contain no-repeat; -webkit-mask: url("assets/lucide-chevron-down.svg") center / contain no-repeat; pointer-events: none; }
.language-select { appearance: none; -webkit-appearance: none; width: 100px; height: 38px; padding: 0 18px 0 4px; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: transparent; color: transparent; font: 500 14px/1.2 var(--body); cursor: pointer; transition: border-color 180ms; }
.language-control:hover .language-select, .language-control:focus-within .language-select { border-color: var(--accent); }
.language-select option { background: #fff; color: var(--text); }
.language-control.is-enhanced .language-select, .language-control.is-enhanced .language-label, .language-control.is-enhanced::after { display: none; }
.language-trigger { display: grid; place-items: center; width: 38px; height: 38px; padding: 8px; border: 0; border-radius: 50%; background: transparent; color: inherit; transition: background 180ms; }
.language-trigger:hover, .language-trigger[aria-expanded="true"] { background: #e6eee8; }
.language-trigger::before { content: ""; width: 20px; height: 20px; background: currentColor; mask: url("assets/lucide-globe.svg") center / contain no-repeat; -webkit-mask: url("assets/lucide-globe.svg") center / contain no-repeat; }
.language-menu { position: absolute; top: calc(100% + 8px); right: 0; z-index: 35; width: 166px; padding: 6px; border: 1px solid var(--line); border-radius: 4px; background: #fff; box-shadow: 0 8px 26px #203b311a; }
.language-option { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 44px; padding: 9px 10px; border: 0; border-radius: 2px; background: transparent; color: var(--text); font: 400 14px/1.5 "DM Sans", var(--language-font, "Noto Sans KR"), sans-serif; text-align: left; }
.language-option:lang(ja) { --language-font: "Noto Sans JP"; }
.language-option:lang(zh) { --language-font: "Noto Sans SC"; }
.language-option:hover, .language-option:focus-visible { background: #f0f5f2; }
.language-option[aria-selected="true"]::after { content: ""; width: 14px; height: 14px; margin-left: auto; background: var(--accent); mask: url("assets/lucide-check.svg") center / contain no-repeat; -webkit-mask: url("assets/lucide-check.svg") center / contain no-repeat; }
.language-flag { width: 24px; flex: 0 0 24px; font: 20px/1 "Apple Color Emoji", "Segoe UI Emoji", sans-serif; }
.mobile-menu-toggle { display: none; }
.navigation-open { overflow: hidden; }

.hero { position: relative; isolation: isolate; height: min(720px, calc(100svh - 196px)); min-height: 360px; overflow: hidden; background: #151515; }
.hero-media, .hero-overlay { position: absolute; inset: 0; }
.hero-media { z-index: 0; transform: translateY(var(--video-offset, 0px)) scale(1.06); }
.hero-video { display: block; width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { z-index: 1; pointer-events: none; background: linear-gradient(180deg, #0002 20%, #0001 45%, #000b 100%); }
.hero-content { position: relative; z-index: 2; display: flex; align-items: center; justify-content: center; height: 100%; }
.hero-identity { position: relative; width: 420px; max-width: calc(100% - 48px); transform: translateY(-16px); }
.hero-logo { width: 100%; filter: brightness(0) invert(1); }
.hero-actions { position: absolute; bottom: 46px; display: flex; gap: 14px; }
.hero-actions a { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100px; height: 40px; padding: 0; border: 0; color: #fff; font: 500 14px/1.2 var(--body); }
.hero-actions a::after { content: ""; width: 16px; height: 16px; flex: 0 0 16px; background: currentColor; mask: url("assets/lucide-arrow-up-right.svg") center / contain no-repeat; -webkit-mask: url("assets/lucide-arrow-up-right.svg") center / contain no-repeat; transition: transform 180ms; }
.hero-actions a:hover::after { transform: translate(2px, -2px); }
.hero-location { position: absolute; z-index: 3; left: var(--gutter); bottom: 58px; font-size: 10px; color: #eee; }

.section, .site-footer { width: min(1440px, calc(100% - var(--gutter) * 2)); margin-inline: auto; }
.section { padding-block: 56px 40px; border-bottom: 1px solid var(--line); scroll-margin-top: 12px; }
#about { padding-bottom: 28px; }
.eyebrow { color: var(--cyan); font-size: 10px; font-weight: 500; line-height: 1.5; text-transform: uppercase; }
.eyebrow::before { content: ""; display: inline-block; width: 22px; height: 1px; margin-right: 10px; background: var(--accent); vertical-align: middle; }
.section-heading { display: block; margin-bottom: 36px; }
.section .eyebrow { text-align: left; }
.section-heading .eyebrow { margin-bottom: 12px; }
.section-heading h2 { font: 400 56px/1.12 var(--serif); text-align: center; }
.editorial-title em, .about-chapter summary em { color: inherit; font-family: inherit; font-weight: inherit; font-style: normal; }
.title-stop { display: inline-block; width: .13em; height: .13em; margin-left: .08em; margin-bottom: .03em; background: var(--accent); transform: rotate(45deg); transition: transform 220ms, background 220ms; }
.editorial-title:hover .title-stop { background: var(--cyan); transform: rotate(90deg); }
.title-window { display: inline-block; vertical-align: bottom; overflow: clip; padding-bottom: .1em; margin-bottom: -.1em; }
.title-window:last-child { padding-right: .15em; margin-right: -.15em; }
.title-window > span { display: inline-block; }
.title-window + .title-window { margin-left: .2em; }
.section-caption { margin-top: 16px; padding-bottom: 3px; color: var(--muted); font-size: 13px; text-align: center; word-break: keep-all; overflow-wrap: break-word; }

.about-body { max-width: 780px; margin-inline: auto; }
.about-heading { margin-bottom: 28px; text-align: center; }
.about-heading .eyebrow { margin-bottom: 14px; }
.about-heading h2 { font: 400 56px/1.12 var(--serif); }
.about-copy p { color: var(--muted); font-family: var(--body); font-size: 15px; font-weight: 400; line-height: 1.95; word-break: keep-all; overflow-wrap: break-word; text-wrap: pretty; }
.about-copy .about-intro { max-width: 650px; margin: 0 auto 36px; color: var(--text); font-size: 20px; line-height: 1.8; font-weight: 400; text-align: center; text-wrap: balance; }
.about-copy strong { font-weight: 600; }
.about-copy .about-intro strong { font-family: var(--serif); font-size: 1.06em; font-weight: 400; white-space: nowrap; }
.about-chapter { border-top: 1px solid var(--line); }
.about-chapter:last-child { border-bottom: 1px solid var(--line); }
.about-chapter summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 82px; padding-block: 20px; list-style: none; cursor: pointer; font: 400 30px/1.2 var(--serif); }
.about-chapter summary::-webkit-details-marker { display: none; }
.about-chapter summary:focus-visible { outline: 2px solid var(--cyan); outline-offset: 4px; }
.about-chapter summary img { flex: 0 0 20px; width: 20px; height: 20px; transition: transform 220ms; }
.about-chapter[open] summary img { transform: rotate(45deg); }
.about-chapter summary:hover { color: var(--cyan); }
.about-chapter-copy { display: grid; gap: 18px; max-width: 660px; padding: 0 32px 28px 0; }
.lesson-preview-link { display: inline-flex; align-items: center; gap: 12px; width: fit-content; padding-block: 8px; border-bottom: 1px solid var(--line); font: 500 14px/1.4 var(--body); }
.lesson-preview-link img { width: 18px; height: 18px; }
.lesson-preview-link:hover { color: var(--cyan); border-color: var(--accent); }
.lesson-genre-links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; }
.home-lesson-section { padding-bottom: 40px; }
.home-lesson-footer { display: flex; justify-content: flex-end; margin-top: 22px; }

/* Keep separators within accordion groups, not around every home section. */
.home-page .section { border-bottom: 0; }
.home-page .about-chapter:first-child { border-top: 0; }
.home-page .about-chapter:last-child { border-bottom: 0; }
.home-page .lesson-preview-link { border-bottom: 0; }

.artist-roster { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 36px 24px; }
.artist-card, .lesson-instructor { min-width: 0; }
.profile-open { display: block; width: 100%; padding: 0; border: 0; background: transparent; color: inherit; text-align: inherit; }
.profile-open:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
:is(.artist-card, .lesson-instructor) figure { position: relative; container-type: inline-size; aspect-ratio: 3 / 4; overflow: hidden; background: #e6eee8; transition: box-shadow 300ms ease; }
:is(.artist-card, .lesson-instructor) figure img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; transition: transform 400ms ease, filter 400ms ease; }
:is(.artist-card, .lesson-instructor) figure::before { content: ""; position: absolute; z-index: 2; inset: 0; box-shadow: inset 0 0 18px #d4e8ffd9, inset 0 0 5px #f0f7ff99; filter: blur(1.5px); opacity: 0; transition: opacity 350ms; pointer-events: none; }
.profile-hover { position: absolute; z-index: 3; inset: 0; display: grid; place-items: center; padding: 12px; opacity: 0; transition: opacity 350ms; pointer-events: none; }
.profile-hover-name { position: relative; display: block; max-width: 100%; padding-block: 18px 22px; color: #fbfff9; font: italic 400 24px/1.15 var(--serif); font-size: clamp(16px, 12cqi, 42px); text-align: center; overflow-wrap: anywhere; text-wrap: balance; text-shadow: 0 2px 16px #0007, 0 0 24px #fff2; transform: translateY(14px) scale(.96); transition: transform 450ms cubic-bezier(.2,.7,.2,1); }
.profile-hover-name::before { content: ""; position: absolute; top: 0; left: 50%; width: 46px; height: 1px; background: linear-gradient(90deg, transparent, #f3f9fff0, transparent); transform: translateX(-50%) scaleX(0); transition: transform 500ms 60ms; }
.profile-hover-name::after { content: ""; position: absolute; bottom: 2px; left: calc(50% - 2px); width: 4px; height: 4px; background: #d4e8ff; box-shadow: 0 0 9px #d4e8ff99; transform: rotate(0deg) scale(0); transition: transform 450ms 100ms; }
.artist-card-copy { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; padding-top: 14px; }
.artist-card h3 { font: 500 20px/1.2 var(--display); }
.artist-card p { color: var(--muted); font-size: 9px; white-space: nowrap; }

#media .contents-tabs { justify-content: flex-start; gap: 32px; margin-bottom: 28px; }
#media .contents-tabs button { padding-inline: 0; color: var(--muted); font-size: 13px; font-weight: 500; }
#media .contents-tabs button[aria-selected="true"] { color: var(--text); border-color: var(--cyan); }
:is(#media, .content-library-dialog) .mixset-card { gap: 0; border: 1px solid var(--line); background: #fff; transition: border-color 220ms, box-shadow 220ms; }
:is(#media, .content-library-dialog) .mixset-card:focus-within { border-color: var(--accent); }
:is(#media, .content-library-dialog) .mixset-copy { padding: 16px 18px 18px; background: #f9fbfa; border-top: 1px solid var(--line); }
.mixset-thumb { position: relative; display: block; width: 100%; padding: 0; aspect-ratio: 16 / 9; overflow: hidden; border: 0; border-radius: 0; background: #e6eee8; }
.mixset-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 350ms ease, filter 350ms ease; }
.mixset-thumb:hover img, .mixset-thumb:focus-visible img { transform: scale(1.03); filter: brightness(.65); }
.play-mark { position: absolute; top: 50%; left: 50%; display: grid; place-items: center; width: 44px; height: 44px; transform: translate(-50%, -50%); border: 1px solid #fff; border-radius: 50%; background: #f7faf8eb; }
.play-mark::before { content: ""; width: 0; height: 0; margin-left: 3px; border-top: 8px solid transparent; border-bottom: 8px solid transparent; border-left: 12px solid var(--text); }
:is(#media, .content-library-dialog) :is(.mixset-thumb, .soundcloud-cover) .play-mark { background: #f7faf8eb; border-color: #fff; }
:is(#media, .content-library-dialog) .mixset-copy > span { display: none; }
:is(#media, .content-library-dialog) .mixset-copy h3 { font-family: var(--serif); font-size: 24px !important; font-weight: 400; }
:is(#media, .content-library-dialog) .soundcloud-cover { isolation: isolate; border: 1px solid #58615c; border-radius: 50%; background: #151918; box-shadow: 0 3px 12px #203b3114; transition: box-shadow 250ms, transform 250ms; }
:is(#media, .content-library-dialog) .soundcloud-cover img { position: absolute; z-index: 0; inset: 0; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; background: transparent; }
:is(#media, .content-library-dialog) .vinyl-surface { position: absolute; z-index: 1; inset: 0; background: url("assets/lp-vinyl-texture.png") center / cover no-repeat; mix-blend-mode: screen; opacity: .5; mask-image: radial-gradient(circle, transparent 16%, #000 24%); -webkit-mask-image: radial-gradient(circle, transparent 16%, #000 24%); pointer-events: none; }
:is(#media, .content-library-dialog) .soundcloud-cover::before { content: ""; position: absolute; z-index: 2; inset: 0; border-radius: inherit; background: radial-gradient(circle at 50% 50%, #0a141b88 0 23%, #e8f0eb33 23.2% 23.8%, transparent 24%), repeating-radial-gradient(circle at 50% 50%, transparent 0 1.3px, #07120e55 1.6px 2px, #f4fafa44 2.4px, transparent 2.8px 3.6px), conic-gradient(from 18deg, transparent 0deg 24deg, #fff3 42deg, transparent 66deg 184deg, #fff2 208deg, transparent 240deg); opacity: .75; box-shadow: inset 0 0 0 2px #10191555, inset 0 0 14px #07120e44; pointer-events: none; }
:is(#media, .content-library-dialog) .soundcloud-cover::after { content: ""; position: absolute; z-index: 3; left: 50%; top: 50%; width: 4%; height: 4%; border: 1px solid #737b75; border-radius: 50%; background: var(--bg); transform: translate(-50%, -50%); pointer-events: none; }
:is(#media, .content-library-dialog) .soundcloud-cover .play-mark { z-index: 4; top: 75%; left: 75%; width: 32px; height: 32px; }
:is(#media, .content-library-dialog) .soundcloud-cover:hover, :is(#media, .content-library-dialog) .soundcloud-cover:focus-visible { box-shadow: 0 0 0 1px var(--accent), 0 5px 20px #617e9726; transform: translateY(-3px); }
:is(#media, .content-library-dialog) .soundcloud-cover:hover img, :is(#media, .content-library-dialog) .soundcloud-cover:focus-visible img { filter: none; transform: none; }
:is(#media, .content-library-dialog) .soundcloud-copy h3 { font-size: 14px; font-weight: 500; }
#media .contents-view-all { font: 400 15px/1.5 var(--serif); }
.content-library-dialog, .content-player-dialog { border-radius: 0; }
.content-library-dialog .eyebrow { color: var(--cyan); }
.content-library-header h2 { font-family: var(--serif); font-size: 32px !important; font-weight: 400; }
.content-player-close { border-radius: 0; }
.content-player-stage iframe { background: #e6eee8; }

#contact { display: block; padding-block: 64px; text-align: center; }
#contact .section-heading { display: block; margin: 0 0 28px; }
#contact .section-caption { max-width: none; margin-top: 18px; padding: 0; font-size: 13px; }
.contact-direct { max-width: 680px; margin-inline: auto; }
.contact-copy { min-width: 0; }
.contact-channel-icons { display: flex; justify-content: center; align-items: center; gap: 18px; margin-bottom: 14px; }
.contact-channel-link, .contact-channel-icon { display: grid; place-items: center; width: 44px; height: 44px; color: var(--text); }
.contact-channel-link { transition: color 180ms, background 180ms; }
.contact-channel-link:hover { color: var(--cyan); background: #e6eee8; }
.contact-channel-icons svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.3; }
.contact-channel-icons .instagram-mark circle:last-child { fill: currentColor; stroke: none; }
.contact-copy h3 { margin-bottom: 10px; font-size: 15px; font-weight: 500; }
.contact-copy > p { max-width: 540px; margin-inline: auto; color: var(--muted); font-size: 14px; word-break: keep-all; overflow-wrap: break-word; line-height: 1.9; text-wrap: balance; }
.contact-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; max-width: 580px; margin: 28px auto 0; }
.contact-action { position: relative; display: inline-flex; justify-content: center; align-items: center; gap: 8px; min-width: 0; min-height: 52px; padding: 12px 0; border: 0; text-decoration: none; font-size: 13px; font-weight: 500; word-break: keep-all; overflow-wrap: anywhere; transition: color 180ms; }
.contact-action::after { content: ""; flex: 0 0 18px; width: 18px; height: 18px; background: currentColor; mask: url("assets/lucide-arrow-up-right.svg") center / contain no-repeat; -webkit-mask: url("assets/lucide-arrow-up-right.svg") center / contain no-repeat; transition: transform 180ms; }
.contact-action:hover::after { transform: translate(2px, -2px); }
.contact-action:hover { color: var(--cyan); }
.contact-action[aria-disabled="true"] { color: #7e8f83; cursor: not-allowed; }
.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 28px; color: var(--muted); font-size: 10px; }
.site-footer > div { display: flex; gap: 24px; }
.site-footer a:hover { color: var(--cyan); }

.academy-program-section { padding-top: 0; border: 0; }
.lesson-page-intro { display: block; padding-block: 56px; border-bottom: 1px solid var(--line); text-align: center; }
.lesson-page-intro > .eyebrow { grid-column: 1; margin-bottom: 12px; }
.lesson-page-intro > h2 { font: 400 56px/1.12 var(--serif); }
.lesson-page-intro > p:not(.eyebrow) { max-width: 650px; margin: 20px auto 0; color: var(--muted); font-size: 14px; word-break: keep-all; text-wrap: balance; }
.lesson-jump-row { display: flex; justify-content: center; gap: 28px; margin-top: 20px; }
.lesson-jump-row a { padding-block: 6px; border-bottom: 1px solid #8da394; font-size: 12px; }
.lesson-jump-row a:hover { border-color: var(--cyan); color: var(--cyan); }
.lesson-program-actions { grid-column: 2; grid-row: 4; margin-top: 22px; }
.lesson-program-actions a { display: inline-flex; align-items: center; gap: 12px; font-size: 13px; }
.lesson-program-actions a::after { content: ""; width: 18px; height: 18px; background: currentColor; mask: url("assets/lucide-arrow-up-right.svg") center / contain no-repeat; -webkit-mask: url("assets/lucide-arrow-up-right.svg") center / contain no-repeat; }
.academy-lesson-block { padding-block: 64px 0; scroll-margin-top: 12px; }
.academy-section-heading { display: block; margin-bottom: 28px; text-align: center; }
.academy-section-heading h2 { flex: 0 0 auto; font: 400 44px/1.12 var(--serif); }
.academy-section-heading p { max-width: 570px; margin: 18px auto 0; color: var(--muted); font-size: 13px; line-height: 1.8; word-break: keep-all; text-wrap: pretty; }
.academy-section-heading p span { display: block; }
.lesson-curriculum-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.lesson-step-card { position: relative; isolation: isolate; display: flex; align-items: flex-start; gap: 20px; min-width: 0; min-height: 250px; padding: 26px 22px; overflow: hidden; border-top: 1px solid #9bb19f; border-bottom: 1px solid var(--line); background: #eaf1ed; transition: transform 250ms, background 250ms, border-color 250ms; }
.lesson-step-card::after { content: ""; position: absolute; z-index: -1; right: 14px; bottom: 18px; width: 48px; height: 48px; border-right: 1px solid #b7cbbc; border-bottom: 1px solid #b7cbbc; transform: skewY(-12deg); transition: width 250ms; }
.lesson-step-card:hover { transform: translateY(-5px); background: #e0ebe4; border-top-color: var(--cyan); }
.lesson-step-card:hover::after { width: 72px; }
.lesson-step-card > span { flex: 0 0 auto; color: transparent; -webkit-text-stroke: 1px #718d7b; font: 400 78px/1 var(--serif); }
.lesson-step-card > div { min-width: 0; padding-top: 5px; }
.lesson-step-card small { display: block; margin-bottom: 12px; color: var(--cyan); font-size: 9px; }
.lesson-step-card h3 { margin-bottom: 14px; font: 400 26px/1.2 var(--serif); overflow-wrap: break-word; }
.lesson-step-card p { max-width: 290px; color: var(--muted); font-size: 14px; line-height: 1.85; word-break: keep-all; overflow-wrap: break-word; text-wrap: pretty; }
.lesson-course-tabs { display: none; }
.lesson-roster-panel { display: grid; gap: 44px; margin-top: 52px; }
.lesson-roster-group { min-width: 0; scroll-margin-top: 12px; }
.lesson-roster-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; padding-top: 24px; margin-bottom: 24px; border-top: 1px solid var(--line); }
.lesson-roster-heading > span { font: 400 28px/1.2 var(--serif); }
.lesson-roster-heading > p { color: var(--muted); font-size: 13px; word-break: keep-all; }
.lesson-instructor-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px 24px; }
.lesson-instructor { position: relative; display: flex; flex-direction: column; gap: 12px; }
.lesson-instructor b { color: var(--text); font: 500 20px/1.2 var(--display); text-align: left; overflow-wrap: break-word; }
:is(#dj-edm, #dj-hiphop, #midi) .lesson-roster-heading { justify-content: center; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
#dj-hiphop .lesson-instructor-grid { width: calc(75% - 6px); margin-inline: auto; grid-template-columns: repeat(6, minmax(0, 1fr)); }
#dj-hiphop :is(.lesson-instructor, .lesson-lineup-more) { grid-column: span 2; }
[data-instructor="912hz"] figure img { object-position: 20% center; }
.lesson-lineup-more { position: relative; display: grid; place-items: center; min-width: 0; aspect-ratio: 3 / 4; align-self: start; background: transparent; color: var(--muted); text-align: center; }
.lineup-more-type { display: grid; justify-items: center; width: 100%; gap: 10px; transform: translateY(-4px); }
.lineup-more-type small { font: 500 11px/1.4 var(--body); }
.lineup-more-type em { display: block; max-width: 100%; padding: .15em .12em; color: var(--text); font: italic 400 50px/1 var(--serif); }
.midi-lesson-block { margin-top: 36px; border-top: 1px solid var(--line); }
.academy-page #contact { border-top: 1px solid var(--line); }

.is-profile-active figure { box-shadow: 0 0 26px #617e9766, 0 8px 26px #203b311f; }
.is-profile-active figure img { filter: brightness(.6) saturate(.7); transform: scale(1.035); }
.is-profile-active figure::before { opacity: 1; animation: frame-glow 1000ms ease-out both; }
.is-profile-active .profile-hover { opacity: 1; }
.is-profile-active .profile-hover-name { transform: translateY(0) scale(1); }
.is-profile-active .profile-hover-name::before { transform: translateX(-50%) scaleX(1); }
.is-profile-active .profile-hover-name::after { transform: rotate(45deg) scale(1); }

@media (hover: hover) and (pointer: fine) {
  :is(.artist-card, .lesson-instructor):is(:hover, :focus-within) figure { box-shadow: 0 0 26px #617e9766, 0 8px 26px #203b311f; }
  :is(.artist-card, .lesson-instructor):is(:hover, :focus-within) figure img { filter: brightness(.6) saturate(.7); transform: scale(1.035); }
  :is(.artist-card, .lesson-instructor):is(:hover, :focus-within) figure::before { opacity: 1; animation: frame-glow 1000ms ease-out both; }
  :is(.artist-card, .lesson-instructor):is(:hover, :focus-within) .profile-hover { opacity: 1; }
  :is(.artist-card, .lesson-instructor):is(:hover, :focus-within) .profile-hover-name { transform: translateY(0) scale(1); }
  :is(.artist-card, .lesson-instructor):is(:hover, :focus-within) .profile-hover-name::before { transform: translateX(-50%) scaleX(1); }
  :is(.artist-card, .lesson-instructor):is(:hover, :focus-within) .profile-hover-name::after { transform: rotate(45deg) scale(1); }
}

@media (min-width: 1800px) {
  .site-header { padding-inline: max(var(--gutter), calc((100% - 1440px) / 2)); }
}

@media (max-width: 1100px) {
  :root { --gutter: 32px; }
  .site-header { grid-template-columns: 90px minmax(0, 1fr) 90px; }
  .main-nav { gap: 28px; }
  .language-select { width: 86px; }
  .hero-location { display: none; }
  .artist-card-copy { align-items: start; flex-direction: column; gap: 4px; }
  #contact { gap: 48px; }
  .lesson-step-card { flex-direction: column; gap: 12px; padding: 22px; }
  .lesson-step-card > span { font-size: 64px; }
  .lesson-step-card > div { padding: 0; }
  .lesson-step-card h3 { font-size: 24px; }
  .academy-section-heading { gap: 28px; }
}

@media (max-width: 820px) {
  html { scroll-padding-top: 82px; }
  .site-header { grid-template-columns: minmax(0, 1fr) auto 38px; grid-template-rows: 1fr; gap: 14px; height: 70px; }
  .brand { width: 62px; }
  .brand-logo { height: 42px; }
  .header-tools { grid-column: 2; grid-row: 1; }
  .language-select { width: 90px; height: 38px; }
  .mobile-menu-toggle { grid-column: 3; display: grid; place-items: center; width: 38px; height: 38px; padding: 8px; border: 0; background: transparent; }
  .mobile-menu-toggle img { width: 22px; height: 22px; }
  .mobile-menu-toggle .menu-close-icon, .is-menu-open .mobile-menu-toggle .menu-open-icon { display: none; }
  .is-menu-open .mobile-menu-toggle .menu-close-icon { display: block; }
  .main-nav { display: none; position: fixed; inset: 70px 0 0; padding: 24px var(--gutter) max(28px, env(safe-area-inset-bottom)); background: var(--bg); overflow-y: auto; flex-direction: column; justify-content: flex-start; align-items: stretch; gap: 0; }
  .is-menu-open .main-nav { display: flex; animation: menu-enter 350ms ease-out both; }
  .is-menu-open .main-nav > * { animation: menu-item-enter 420ms cubic-bezier(.2,.7,.2,1) both; }
  .is-menu-open .main-nav > :nth-child(2) { animation-delay: 40ms; }
  .is-menu-open .main-nav > :nth-child(3) { animation-delay: 80ms; }
  .is-menu-open .main-nav > :nth-child(4) { animation-delay: 120ms; }
  .is-menu-open .main-nav > :nth-child(5) { animation-delay: 160ms; }
  .is-menu-open .main-nav > :nth-child(6) { animation-delay: 200ms; }
  .main-nav > a, .nav-primary { border-bottom: 1px solid var(--line); }
  .main-nav > a, .nav-primary > a { padding-block: 14px; }
  .main-nav a { font-family: var(--serif); font-size: 28px; font-weight: 400; }
  .nav-primary > a { flex: 1; }
  .nav-submenu-toggle { width: 44px; height: 44px; padding: 12px; }
  .nav-submenu-toggle img { width: 16px; height: 16px; }
  .nav-panel { position: static; width: 100%; padding: 8px 0 12px 18px; border: 0; background: transparent; }
  .nav-panel a { font-size: 17px; padding-block: 10px; }
  .hero { height: min(650px, calc(100svh - 190px)); min-height: 390px; }
  .hero-identity { width: 350px; }
  .hero-actions { bottom: 66px; }
  .section { padding-block: 48px 36px; }
  .section-heading h2, .about-heading h2 { font-size: 48px; }
  .artist-roster { gap: 28px 18px; }
  .artist-card h3 { font-size: 18px; }
  #contact { padding-block: 48px; }
  .lesson-page-intro { column-gap: 32px; padding-block: 44px; }
  .lesson-page-intro > h2 { font-size: 48px; }
  .academy-section-heading { align-items: start; flex-direction: column; gap: 16px; }
  .academy-section-heading h2 { font-size: 42px; }
  .lesson-course-tabs { display: flex; gap: 0; margin-bottom: 18px; border-bottom: 1px solid var(--line); }
  .lesson-course-tabs button { flex: 1; min-width: 0; min-height: 42px; padding: 8px 2px; border: 0; border-bottom: 2px solid transparent; background: transparent; color: var(--muted); font-size: 10px; }
  .lesson-course-tabs button[aria-selected="true"] { color: var(--text); border-bottom-color: var(--cyan); }
  .lesson-curriculum-grid { grid-template-columns: 1fr; }
  .lesson-step-card { flex-direction: row; gap: 30px; min-height: 220px; padding: 28px; }
  .lesson-step-card > span { font-size: 88px; }
  .lesson-step-card h3 { font-size: 28px; }
  .lesson-step-card p { max-width: 520px; font-size: 14px; }
  .lesson-instructor-grid { gap: 22px 16px; }
  .lesson-instructor b { font-size: 18px; }
  #dj-hiphop .lesson-instructor-grid { width: calc(75% - 4px); }
  .lesson-roster-heading { flex-direction: column; gap: 8px; }
  .lesson-roster-heading > span { font-size: 25px; }
}

@media (max-width: 640px) {
  :root { --gutter: 20px; }
  html { scroll-padding-top: 82px; }
  .hero { height: calc(78svh - 70px); min-height: 320px; max-height: 600px; }
  .hero-media { transform: translateY(var(--video-offset, 0px)); }
  .hero-identity { width: 290px; }
  .hero-actions { gap: 10px; bottom: 48px; }
  .hero-actions a { width: 92px; height: 40px; gap: 8px; font-size: 13px; }
  .section { padding-block: 40px 28px; }
  #about { padding-bottom: 24px; }
  .section-heading { flex-direction: column; align-items: flex-start; gap: 12px; margin-bottom: 26px; }
  .section-heading h2, .about-heading h2 { font-size: 38px; }
  .section-heading .eyebrow { font-size: 9px; margin-bottom: 10px; }
  .section-caption { max-width: none; font-size: 11px; }
  .about-heading { margin-bottom: 20px; }
  .about-copy p { max-width: none; font-size: 14px; font-weight: 400; line-height: 1.85; }
  .about-copy .about-intro { margin-bottom: 28px; font-size: 17px; font-weight: 400; line-height: 1.8; }
  .about-chapter summary { min-height: 70px; font-size: 23px; padding-block: 18px; gap: 12px; }
  .about-chapter-copy { padding-right: 0; padding-bottom: 24px; gap: 14px; }
  .home-lesson-section { padding-bottom: 28px; }
  .home-lesson-footer { margin-top: 18px; }
  .artist-roster { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 14px; }
  .artist-card-copy { padding-top: 10px; }
  .artist-card h3 { font-size: 17px; }
  .artist-card p { font-size: 8px; }
  #media .contents-tabs { gap: 26px; margin-bottom: 24px; }
  #media .contents-tabs button { font-size: 12px; }
  #media .mixset-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 14px !important; }
  :is(#media, .content-library-dialog) .mixset-card { grid-template-columns: minmax(0, 1fr) !important; gap: 0; }
  :is(#media, .content-library-dialog) .mixset-copy { padding: 10px; }
  :is(#media, .content-library-dialog) .mixset-copy h3 { font-size: 17px !important; }
  .content-library-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 14px; }
  #media .contents-preview-footer { margin-top: 18px; }
  :is(#media, .content-library-dialog) .soundcloud-copy h3 { font-size: 12px; }
  .content-library-dialog { padding: 16px; }
  .content-library-header h2 { font-size: 28px !important; }
  .content-library-search { font-size: 14px; }
  .content-library-count { font-size: 11px; }
  .content-player-stage iframe { min-height: 0; }
  #contact { padding-block: 56px; }
  #contact .section-heading { display: block; margin-bottom: 26px; }
  #contact .section-caption { max-width: none; margin-top: 14px; padding: 0; font-size: 12px; }
  .contact-channel-icons { gap: 12px; margin-bottom: 16px; }
  .contact-channel-icons svg { width: 25px; height: 25px; }
  .contact-copy h3 { font-size: 15px; }
  .contact-copy > p { font-size: 14px; }
  .contact-actions { max-width: 100%; margin: 20px auto 0; gap: 12px; }
  .contact-action { justify-content: center; min-height: 52px; gap: 6px; font-size: 12px; white-space: nowrap; }
  .contact-action::after { flex-basis: 14px; width: 14px; height: 14px; }
  .site-footer { align-items: start; flex-direction: column; gap: 14px; padding-block: 24px; font-size: 9px; }
  .site-footer > div { gap: 20px; }
  .academy-program-section { padding-top: 0; }
  .lesson-page-intro { grid-template-columns: 1fr; padding-block: 32px; }
  .lesson-page-intro > .eyebrow { margin-bottom: 10px; }
  .lesson-page-intro > h2 { grid-row: auto; font-size: 38px; }
  .lesson-page-intro > p:not(.eyebrow) { grid-column: 1; grid-row: auto; margin-top: 16px; font-size: 13px; }
  .lesson-jump-row { grid-column: 1; grid-row: auto; gap: 26px; margin-top: 14px; }
  .lesson-program-actions { grid-column: 1; grid-row: auto; margin-top: 18px; }
  .academy-lesson-block { padding-top: 38px; }
  .academy-section-heading { gap: 12px; margin-bottom: 20px; }
  .academy-section-heading h2 { font-size: 34px; }
  .academy-section-heading p { font-size: 13px; }
  .academy-section-heading p span { display: inline; }
  .academy-section-heading p span + span::before { content: " "; }
  .lesson-step-card { gap: 22px; min-height: 230px; padding: 24px 18px; }
  .lesson-step-card > span { font-size: 74px; }
  .lesson-step-card h3 { font-size: 24px; }
  .lesson-step-card p { font-size: 14px; }
  .lesson-roster-panel { margin-top: 32px; gap: 30px; }
  .lesson-roster-heading { padding-top: 20px; margin-bottom: 18px; }
  .lesson-roster-heading > p { font-size: 12px; }
  .lesson-instructor-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 14px; }
  .lesson-instructor { gap: 8px; }
  .lesson-instructor b { min-height: 41px; font-size: 17px; }
  #dj-hiphop .lesson-instructor-grid { width: 100%; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px 14px; }
  .lineup-more-type { gap: 8px; }
  .lineup-more-type small { font-size: 9px; }
  .lineup-more-type em { width: min(110px, 100%); font-size: 34px; }
  .midi-lesson-block { margin-top: 40px; }
}

@media (max-width: 359px) {
  :root { --gutter: 16px; }
  .site-header { gap: 10px; }
  .hero-actions a { width: 92px; }
  .hero-identity { width: 255px; }
  .section-heading h2, .about-heading h2, .lesson-page-intro > h2 { font-size: 34px; }
  .section-caption { font-size: 10px; }
  :is(#media, .content-library-dialog) .mixset-copy h3 { font-size: 15px !important; }
  .lesson-step-card { gap: 16px; }
  .lesson-step-card h3 { font-size: 24px; }
}

@media (max-width: 820px) and (max-height: 700px) {
  .main-nav { padding-top: 12px; }
  .main-nav a { font-size: 22px; }
  .main-nav > a, .nav-primary > a { padding-block: 10px; }
  .nav-panel a { padding-block: 7px; font-size: 16px; }
}

@media (max-width: 820px) and (max-height: 500px) {
  .hero { height: calc(100svh - 116px); min-height: 220px; max-height: none; }
  .hero-identity { width: 205px; transform: translateY(-20px); }
  .hero-actions { bottom: 18px; }
}

.site-header::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 100%; height: 2px; background: var(--accent); transform: scaleX(var(--page-progress, 0)); transform-origin: left; pointer-events: none; }
.is-revealed .title-window > span { animation: title-enter 900ms cubic-bezier(.2,.7,.2,1) both; }
.is-revealed .title-window:nth-child(2) > span { animation-delay: 160ms; }
.motion-item.is-revealed { animation: item-enter 850ms cubic-bezier(.2,.7,.2,1) both; animation-delay: var(--reveal-delay, 0ms); }
@keyframes title-enter { from { transform: translateY(105%); opacity: .2; } to { transform: translateY(0); opacity: 1; } }
@keyframes item-enter { from { transform: translateY(36px); opacity: .1; } to { transform: translateY(0); opacity: 1; } }
@keyframes menu-enter { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: translateY(0); } }
@keyframes frame-glow { from { opacity: 0; } 45% { opacity: 1; } 70% { opacity: .7; } to { opacity: 1; } }
@media (max-width: 640px) { @keyframes item-enter { from { transform: translateY(20px); opacity: .25; } to { transform: translateY(0); opacity: 1; } } }

#media .contents-rail { display: grid; grid-template-columns: none !important; grid-auto-flow: column; grid-auto-columns: calc((100% - 72px) / 4); gap: 24px !important; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; padding-block: 8px; }
#media .contents-rail { overflow-x: auto !important; overflow-y: hidden !important; }
#media .contents-rail::-webkit-scrollbar { display: none; }
#media .contents-rail > article:nth-child(n) { display: block !important; min-width: 0; scroll-snap-align: start; }
#media .contents-rail { grid-auto-columns: calc((100% - 120px) / 4); }
#media .contents-rail.has-more-content { -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 28px), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 28px), transparent); }
#media .contents-rail:focus-visible { outline: 1px solid var(--accent); outline-offset: 4px; }
#media .contents-preview-footer { margin-top: 12px; }
@media (max-width: 820px) {
  #media .contents-rail { grid-auto-columns: calc((100% - 52px) / 2); gap: 14px !important; }
}

@media (max-width: 380px) {
  .contact-action { font-size: 11px; gap: 4px; }
  .contact-actions { gap: 8px; }
}

@keyframes menu-item-enter {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .hero-media { transform: none; }
}
