:root {
  --ink: #202023;
  --muted: #62636b;
  --surface: #f1f2f4;
  --accent: #b83d20;
  --action: #b83d20;
  --bg: #fff;
  --focus: #b83d20;
  --night: #151517;
  --nav: 76px;
  --gut: clamp(24px, 5.6vw, 96px);
  --m-ease-enter: cubic-bezier(.16, 1, .3, 1);
  color: var(--ink);
  background: var(--night);
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
html { scroll-padding-top: var(--nav); }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; cursor: pointer; }
img { display: block; max-width: 100%; height: auto; }
figure, p, h1, h2, h3 { margin: 0; }
[hidden] { display: none !important; }
::selection { background: #c4482c; color: #fff; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 5px; }
.wrap { width: calc(100% - var(--gut) * 2); max-width: 1440px; margin-inline: auto; }
.nav { position: fixed; inset: 0 0 auto; height: var(--nav); z-index: 20; background: var(--night); color: #f8f8fa; border-bottom: 1px solid #ffffff1f; }
.nav-inner { height: 100%; display: flex; align-items: center; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; min-height: 44px; font-size: 21px; font-weight: 600; letter-spacing: .025em; }
.brand img { object-fit: contain; flex-shrink: 0; border-radius: 2px; }
.nav__links { display: flex; align-items: center; gap: 28px; margin-left: auto; font-size: 14px; white-space: nowrap; }
.nav__links a { position: relative; padding: 14px 0; }
.nav__links a::after, .text-link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 8px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform 180ms; }
.nav__links a:hover::after, .text-link:hover::after { transform: scaleX(1); }
.system-link { color: #bebec5; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 12px 24px; border-radius: 28px; border: 1px solid transparent; font-size: 16px; line-height: 1.35; font-weight: 500; white-space: nowrap; transition: background 180ms, transform 180ms; }
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: #9c321b; transform: translateY(-2px); }
.btn--primary:active { transform: translateY(0) scale(.98); }
.nav-action { min-height: 44px; padding-inline: 20px; font-size: 14px; }
.btn-row { display: flex; align-items: center; gap: 28px; }
.text-link { display: inline-flex; position: relative; align-items: center; min-height: 44px; font-size: 16px; font-weight: 500; color: var(--accent); }
.text-link::after { bottom: 7px; }
.eyebrow { font-size: 15px; font-weight: 500; line-height: 1.6; color: var(--muted); }
.skip-link { position: fixed; top: 8px; left: var(--gut); z-index: 30; padding: 12px 20px; color: var(--ink); background: #fff; transform: translateY(-200%); }
.skip-link:focus { transform: translateY(0); }
.menu-toggle { display: none; order: 3; width: 44px; height: 44px; padding: 12px; border: 0; background: transparent; color: inherit; }
.menu-toggle span { display: block; height: 1.5px; width: 20px; background: currentColor; margin: 5px 0; transition: transform 180ms; }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.25px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.25px) rotate(-45deg); }

/* Coloured piano-room light forms the atmosphere behind the headline and interactive keys. */
.hero { position: relative; isolation: isolate; height: 100svh; min-height: 800px; padding-top: var(--nav); color: #fff; background: var(--night); overflow: hidden; }
.hero-wrap { height: 100%; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: center; gap: 24px; padding-block: 48px 64px; }
.hero-copy { grid-column: span 7; position: relative; z-index: 2; }
.hero .eyebrow { color: #bdbdc6; margin-bottom: 28px; }
.hero h1 { font-size: clamp(48px, 4.7vw, 76px); font-weight: 600; line-height: 1.2; letter-spacing: -.045em; margin-bottom: 28px; }
.hero h1 span { color: #b1b1ba; }
.hero-lead { font-size: 20px; line-height: 1.7; margin-bottom: 32px; }
.hero .text-link { color: #f6d1c4; }
.hero__media { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; overflow: hidden; background: #31251f; opacity: .88; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 48%; }
.piano-playground { max-width: 440px; margin-top: 48px; }
.piano-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 13px; color: #bdbdc6; margin-bottom: 12px; }
.piano-toolbar button { border: 0; padding: 10px 0 10px 10px; min-height: 44px; color: #f6d1c4; background: transparent; font-size: 13px; white-space: nowrap; }
.piano-keys { position: relative; display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 3px; height: 96px; padding: 0 2px 5px; background: #080809; border-radius: 3px; }
.piano-keys button { min-width: 0; padding: 0; border: 0; transition: transform 120ms, background 120ms, box-shadow 120ms; touch-action: pan-y pinch-zoom; user-select: none; -webkit-user-select: none; }
.white-key { position: relative; background: #f7f6f2; border-radius: 0 0 3px 3px; box-shadow: inset 0 -5px 0 #cac9c4; color: #53535b; }
.white-key span { position: absolute; inset: auto 0 12px; font-size: 11px; }
.black-key { position: absolute; z-index: 1; top: 0; left: calc(var(--key) * 12.5% - 3.2%); width: 6.4%; height: 61%; background: #29292e; border-radius: 0 0 3px 3px; box-shadow: inset 0 -5px 0 #080809, 0 3px 3px #0005; }
.white-key:hover, .white-key.is-pressed { background: #e6b29d; box-shadow: inset 0 -2px 0 #b97055; transform: translateY(3px); }
.black-key:hover, .black-key.is-pressed { background: #915239; box-shadow: inset 0 -2px 0 #512a1d; transform: translateY(2px); }
.white-key:focus-visible { outline: 3px solid #9d321d; outline-offset: -6px; }
.black-key:focus-visible { outline: 2px solid #fff; outline-offset: -4px; }
.sound-status { min-height: 20px; margin-top: 10px; color: #bdbdc6; font-size: 12px; line-height: 1.5; }

.section { min-height: 100svh; padding: 120px 0 80px; display: flex; align-items: center; overflow: clip; }
.section h2, .closing h2 { font-size: clamp(36px, 3.8vw, 58px); font-weight: 600; line-height: 1.25; letter-spacing: -.035em; }
.section p { font-size: 17px; line-height: 1.85; }
.about { background: var(--surface); }
.split { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; align-items: center; }
.section-copy { grid-column: span 5; max-width: 440px; }
.section-copy h2 { margin: 20px 0 32px; }
.section-copy .lead { font-size: 20px; line-height: 1.7; margin-bottom: 20px; }
.section-copy > p:not(.lead):not(.eyebrow) { color: var(--muted); }
.section-copy > .text-link { margin-top: 24px; }
.studio-photo { grid-column: span 7; height: min(65svh, 650px); min-height: 420px; border-radius: 4px; overflow: hidden; }
.studio-photo img { height: 100%; width: 100%; object-fit: cover; object-position: 58% center; }
.section-heading { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); justify-content: space-between; align-items: end; gap: 48px; margin-bottom: 48px; }
.section-heading > p { color: var(--muted); max-width: 400px; }
.courses { background: #fff; }
.course-tabs { display: flex; gap: 8px; padding-bottom: 28px; }
.course-tabs button { min-height: 48px; padding: 12px 24px; border-radius: 26px; background: #eff0f2; color: #5c5d64; border: 1px solid transparent; font-size: 16px; transition: background 180ms, color 180ms; }
.course-tabs button:hover { background: #dedfe3; }
.course-tabs button[aria-selected="true"] { background: var(--night); color: #fff; }
.course-content { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
.detail-photo { grid-column: span 6; height: 420px; overflow: hidden; border-radius: 4px; background: #16171a; }
.detail-photo img { height: 100%; width: 100%; object-fit: cover; object-position: center; transition: transform 600ms; }
.detail-photo:hover img { transform: scale(1.025); }
.course-list { grid-column: span 6; display: flex; flex-direction: column; justify-content: center; }
.course-panel { padding-block: 24px; }
.course-panel + .course-panel { border-top: 1px solid #dedee3; }
.js .course-panel { border: 0; padding: 0; }
.course-panel .course-subtitle { color: var(--accent); font-size: 14px; margin-bottom: 14px; }
.course-panel h3 { font-size: 32px; font-weight: 550; letter-spacing: -.025em; margin-bottom: 20px; }
.course-panel > p:not(.course-subtitle) { color: var(--muted); font-size: 17px; }
.course-panel ul { padding-left: 0; list-style: none; margin: 24px 0 0; color: var(--muted); font-size: 16px; line-height: 2; }
.course-list > .text-link { align-self: flex-start; margin-top: 20px; }
.stage { background: #202125; color: #fff; }
.stage .section-heading > p { color: #c2c3ca; }
.stage-gallery { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; }
.gallery-photo { grid-column: span 6; position: relative; display: block; width: 100%; padding: 0; border: 0; border-radius: 4px; overflow: hidden; background: #352b24; text-align: left; }
.gallery-photo img { width: 100%; height: 420px; object-fit: cover; object-position: center; transition: transform 600ms; }
.gallery-photo:first-child img { object-position: 58% center; }
.gallery-photo:hover img { transform: scale(1.025); }
.photo-action { position: absolute; right: 16px; bottom: 16px; min-height: 44px; padding: 8px 10px 8px 16px; border-radius: 26px; display: inline-flex; align-items: center; gap: 14px; background: #151517ed; color: #fff; font-size: 13px; }
.photo-action b { width: 28px; height: 28px; line-height: 26px; border: 1px solid #ffffff66; border-radius: 50%; text-align: center; font-size: 20px; font-weight: 400; }
.photo-dialog { --focus: #fff; width: min(1100px, calc(100vw - 48px)); max-width: none; max-height: calc(100svh - 48px); padding: 0; border: 0; border-radius: 4px; color: #fff; background: #202125; overflow: auto; }
.photo-dialog::backdrop { background: #08080be8; }
.photo-dialog img { width: 100%; max-height: calc(100svh - 120px); object-fit: contain; }
#close-photo { display: flex; justify-content: flex-end; align-items: center; gap: 20px; width: 100%; min-height: 56px; padding: 12px 20px; border: 0; color: #fff; background: #202125; font-size: 15px; }
#close-photo span { font-size: 28px; }
#close-photo:focus-visible { outline-offset: -5px; }
.closing { background: #9d321d; color: #fff; padding: 48px 0 20px; }
.contact-body { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; padding-bottom: 24px; }
.closing .contact-heading h2 { font-size: 30px; margin: 0 0 12px; }
.contact-heading p, .contact-label, .copy-status, .legal { color: #f3d4cb; }
.contact-heading p { font-size: 16px; line-height: 1.7; }
.contact-options { min-width: 0; }
.contact-label { font-size: 14px; }
.wechat-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-top: 8px; }
.wechat-row strong { font-size: 22px; font-weight: 550; }
.closing .btn--primary { background: #fff; color: #8f2917; min-height: 44px; padding: 10px 18px; font-size: 14px; }
.copy-status { font-size: 13px; line-height: 1.6; min-height: 21px; margin-top: 8px; }
.contact-directory { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 8px; }
.closing .text-link { color: #fff; font-size: 15px; }
.footer-bottom { padding-top: 12px; border-top: 1px solid #ffffff3b; }
.legal { display: flex; flex-wrap: wrap; align-items: center; gap: 0 20px; font-size: 12px; line-height: 1.7; }
.legal a { display: inline-flex; align-items: center; min-height: 44px; }
.legal a:hover { text-decoration: underline; }

html:not(.js) { scroll-padding-top: 0; }
html:not(.js) .nav { position: relative; height: auto; }
html:not(.js) .nav-inner { flex-wrap: wrap; padding-block: 12px; }
html:not(.js) .nav__links { position: static; order: 4; flex-basis: 100%; margin: 0; padding: 0; border: 0; flex-direction: row; flex-wrap: wrap; gap: 8px 24px; }
html:not(.js) .nav-action { margin-left: auto; }
html:not(.js) .hero { padding-top: 0; }
@media (max-width: 1150px) {
  .nav-inner { gap: 20px; }.nav__links { gap: 18px; }.nav__links .system-link { display: none; }
  .nav-action { padding-inline: 18px; }.brand { font-size: 19px; }.brand img { width: 44px; height: 44px; }
  .hero { min-height: 760px; }.hero-wrap { gap: 32px; }.hero h1 { font-size: 52px; }.piano-playground { margin-top: 32px; }
  .section { padding-top: 100px; }.section h2, .closing h2 { font-size: 42px; }.split { gap: 24px; grid-template-columns: repeat(12, minmax(0, 1fr)); }.section-copy .lead { font-size: 18px; }
}
@media (max-width: 900px) {
  :root { --nav: 68px; --gut: 32px; }
  .nav-inner { gap: 16px; }.nav-action { margin-left: auto; }.menu-toggle:not([hidden]) { display: block; }
  .nav__links { position: absolute; inset: var(--nav) 0 auto; display: flex; flex-wrap: wrap; gap: 0; padding: 12px var(--gut); border-bottom: 1px solid #ffffff29; background: var(--night); }
  .nav__links a { min-height: 48px; margin-right: 28px; font-size: 16px; }.nav__links .system-link { display: block; }
  .js .nav__links:not(.is-open) { display: none; }.js .nav__links.is-open { display: flex; }
  .hero-wrap { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; }.hero h1 { font-size: 45px; }.hero .eyebrow { font-size: 13px; }.hero-lead { font-size: 17px; }.hero .btn-row { gap: 16px; }.hero .btn { font-size: 14px; padding-inline: 18px; }.hero .text-link { font-size: 14px; }
  .piano-toolbar { flex-wrap: wrap; gap: 0; }.piano-keys { height: 88px; }
  .section-heading { align-items: start; gap: 24px; }.section-heading > p { font-size: 16px; }.section-copy h2 { font-size: 36px; }.studio-photo { min-height: 440px; }.course-content { gap: 6%; }.course-panel h3 { font-size: 27px; }.gallery-photo img { height: 360px; }

}
@media (max-width: 639px) {
  :root { --nav: 64px; --gut: 24px; }
  .brand { font-size: 18px; gap: 8px; }.brand img { width: 42px; height: 42px; }.nav-inner { gap: 8px; }.nav-action { font-size: 13px; min-height: 44px; padding: 10px 14px; }
  .nav__links { padding: 16px 24px 24px; flex-direction: column; align-items: stretch; }.nav__links a { margin: 0; padding: 14px 4px; min-height: 52px; }
  .hero { height: 100svh; min-height: 720px; }.hero-wrap { display: flex; flex-direction: column; align-items: stretch; justify-content: center; padding-block: 32px 48px; gap: 0; }.hero h1 { font-size: 45px; margin-bottom: 24px; }.hero .eyebrow { margin-bottom: 24px; }.hero-lead { font-size: 17px; margin-bottom: 24px; }.hero .btn-row { gap: 24px; }.hero .btn, .hero .text-link { font-size: 15px; }
  .piano-playground { max-width: none; margin-top: 16px; }.piano-toolbar { flex-wrap: nowrap; }.piano-keys { height: 88px; }.sound-status { font-size: 12px; }
  .hero__media img { object-position: center 42%; }
  .section { padding: 80px 0 64px; min-height: auto; }.section h2, .closing h2 { font-size: 36px; }.section p { font-size: 16px; }.section .eyebrow { font-size: 14px; }
  .split { display: flex; flex-direction: column; align-items: stretch; gap: 36px; }.section-copy { grid-column: span 5; max-width: none; }.section-copy h2 { margin: 16px 0 24px; }.section-copy .lead { font-size: 18px; }.section-copy p { line-height: 1.85; }.studio-photo { grid-column: span 7; height: 350px; min-height: 0; }
  .section-heading { display: block; margin-bottom: 32px; }.section-heading > p { margin-top: 24px; font-size: 16px; line-height: 1.8; }.section-heading > p br { display: none; }
  .course-tabs { gap: 6px; padding-bottom: 24px; }.course-tabs button { flex: 1; min-height: 46px; padding: 10px 8px; font-size: 14px; white-space: nowrap; }
  .course-content { display: flex; flex-direction: column; gap: 32px; }.detail-photo { grid-column: span 6; height: 280px; }.course-panel h3 { font-size: 28px; }.course-panel > p:not(.course-subtitle) { font-size: 16px; }.course-panel ul { font-size: 16px; }
  .stage-gallery { display: flex; flex-direction: column; gap: 20px; }.gallery-photo img { height: auto; aspect-ratio: 1.5; }.gallery-photo:nth-child(2) img { height: 280px; aspect-ratio: auto; }.photo-action { right: 12px; bottom: 12px; }
  .closing { padding: 32px 0 16px; }.contact-body { grid-template-columns: 1fr; gap: 20px; padding-bottom: 16px; }.closing .contact-heading h2 { font-size: 24px; margin-bottom: 8px; }.wechat-row { gap: 8px 12px; }.wechat-row strong { font-size: 20px; }.legal { gap: 0 16px; }

  .photo-dialog { width: calc(100vw - 24px); max-height: calc(100svh - 24px); }
}
@media (max-width: 360px) {
  :root { --gut: 20px; }.nav-action { padding-inline: 10px; font-size: 12px; }.brand { font-size: 16px; }.brand img { width: 36px; height: 36px; }.hero h1 { font-size: 43px; }.hero .btn-row { gap: 16px; }.section h2, .closing h2 { font-size: 32px; }.piano-toolbar { font-size: 12px; }.piano-toolbar button { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
  .hero-shutters { display: none !important; }.btn:hover, .btn:active, .detail-photo:hover img, .gallery-photo:hover img, .piano-keys button:hover, .piano-keys button.is-pressed { transform: none; }
}
@media print {
  :root { background: #fff; color: #202023; }.nav { position: static; }.menu-toggle, .nav-action, #copy-wechat, .piano-playground, .hero-shutters { display: none !important; }
  .hero, .section, .closing { height: auto; min-height: 0; padding: 32px 0; color: #202023; background: #fff; }.hero-wrap { padding-top: 0; }.hero__media { height: 300px; flex: none; }.contact-wrap { min-height: 0; }.nav__links { position: static !important; display: flex !important; }.split, .course-content { break-inside: avoid; }.course-panel { display: block !important; }img { max-height: 400px; object-fit: contain !important; }
}

.hero, .nav, .stage, .closing { --focus: #fff; }
.hero, .nav { --bg: #151517; }
.stage { --bg: #202125; }
.closing { --bg: #9d321d; --action: #fff; }
.section-heading > h2 { grid-column: span 7; }
.section-heading > p { grid-column: span 5; justify-self: end; }

.piano-key-scroll { padding: 4px 0 8px; }
@media (max-width: 639px) { .piano-toolbar > span { font-size: 12px; } }

.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(90deg, #0f1012f5 0%, #0f1012db 35%, #0f101259 68%, #0f10121a 100%); }
@media (max-width: 639px) { .hero::after { background: linear-gradient(90deg, #0f1012ec, #0f1012b8); } }
@media print { .hero__media { position: static; opacity: 1; z-index: auto; } .hero::after { display: none; } }

/* Restore the earlier piano-key reveal: a brief stagger over the photograph only. */
.hero-shutters { display: none; position: absolute; inset: 0; z-index: 1; grid-template-columns: repeat(9, 1fr); gap: 2px; pointer-events: none; }
.js .hero-shutters { display: grid; }
.hero-shutters i { background: var(--night); transform-origin: top; animation: piano-reveal 1050ms var(--m-ease-enter) both; animation-delay: calc(var(--i) * 55ms); }
@keyframes piano-reveal { from { transform: scaleY(1); } to { transform: scaleY(0); } }
