/* Shared static-site presentation. No executable scripts or external resources. */
:root {
  --ink: #171614;
  --paper: #f7f4ee;
  --paper-deep: #eee9e0;
  --dark: #0c0c0b;
  --orange: #e85a12;
  --button: #c74510;
  --muted: #62605b;
  --line: #d8d2c8;
  --content: 1240px;
  color-scheme: light;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", Arial, sans-serif;
  font-synthesis: weight;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-size: 16px; line-height: 1.75; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { color: var(--button); }
a:focus-visible { outline: 3px solid var(--orange); outline-offset: 5px; }
main:focus { outline: none; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { line-height: 1.2; font-weight: 800; text-wrap: balance; }
h1 { font-size: clamp(42px, 5vw, 68px); letter-spacing: -.04em; }
h2 { font-size: clamp(32px, 3.6vw, 50px); letter-spacing: -.035em; }
h3 { font-size: 22px; letter-spacing: -.02em; }
p + p { margin-top: 14px; }
[id] { scroll-margin-top: 105px; }
.wrap { width: min(var(--content), calc(100% - 96px)); margin-inline: auto; }
.skip-link { position: fixed; left: 16px; top: -100px; z-index: 100; padding: 12px 20px; background: #fff; color: #111; font-weight: 700; }
.skip-link:focus { top: 12px; }
.top { position: sticky; top: 0; z-index: 30; background: #050505; color: #fff; border-bottom: 1px solid #242424; }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 30px; min-height: 76px; }
.brand { position: relative; display: block; flex: 0 0 150px; width: 150px; height: 60px; overflow: hidden; background: #000; }
.brand img { position: absolute; left: 50%; top: 50%; width: 220px; height: 220px; max-width: none; object-fit: contain; transform: translate(-50%, -50%); }
nav.main { margin-left: auto; }
nav.main ul { display: flex; align-items: stretch; gap: 24px; list-style: none; margin: 0; padding: 0; }
nav.main a { display: block; padding: 24px 0 20px; font-size: 14px; font-weight: 650; line-height: 1.6; white-space: nowrap; text-decoration: none; border-bottom: 3px solid transparent; }
nav.main a:hover, nav.main a[aria-current="page"] { color: #ff7b39; border-bottom-color: var(--orange); }
.cta { flex-shrink: 0; padding: 10px 20px; border: 1px solid var(--button); background: var(--button); color: #fff; font-size: 14px; font-weight: 750; line-height: 1.5; text-decoration: none; border-radius: 3px; }
.cta:hover { background: #a93708; color: #fff; border-color: #a93708; }
.eyebrow { margin-bottom: 12px; color: var(--button); font-size: 12px; font-weight: 750; letter-spacing: .24em; line-height: 1.4; }
.btns { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 26px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 28px; min-height: 48px; padding: 11px 25px; border: 1px solid var(--button); background: transparent; color: #a93608; font-size: 15px; font-weight: 700; line-height: 1.5; text-decoration: none; border-radius: 2px; transition: background-color .18s ease, color .18s ease, border-color .18s ease; }
.btn:hover { background: var(--button); color: #fff; }
.btn.primary { background: var(--button); border-color: var(--button); color: #fff; }
.btn.primary:hover { background: #a93708; border-color: #a93708; }
.btn.light { border-color: #b5b1ac; color: #fff; background: #0b0b0b35; }
.btn.light:hover { color: #111; background: #fff; border-color: #fff; }
.btn.block { width: 100%; }
.text-link { display: inline-flex; gap: 15px; align-items: center; margin-top: 22px; font-size: 15px; font-weight: 650; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 4px; }
.accent-line { display: block; width: 46px; height: 3px; margin: 24px 0; background: var(--orange); }
.muted { color: var(--muted); }
.section-lead { margin-top: 14px; font-size: 20px; line-height: 1.65; }
/* Home: photographic masthead and broad editorial sections. */
.home-hero { position: relative; display: flex; align-items: center; min-height: 540px; height: clamp(540px, 60vw, 760px); overflow: hidden; background: #141414; color: #fff; }
.hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 56% 55%; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, #000c 0%, #0009 30%, #0004 58%, #0000 85%); }
.hero-copy { position: relative; z-index: 1; padding-block: 60px; }
.hero-copy .eyebrow { color: #fff; letter-spacing: .34em; margin-bottom: 20px; }
.hero-copy h1 { max-width: 780px; font-size: clamp(52px, 6.4vw, 92px); font-weight: 850; line-height: 1.1; letter-spacing: -.035em; }
.hero-tagline { color: #ff742d; font-size: clamp(30px, 3.5vw, 48px); font-weight: 800; line-height: 1.3; margin-top: 18px; }
.hero-lead { margin-top: 16px; font-size: 23px; font-weight: 700; }
.hero-details { margin-top: 3px; color: #f0eae2; font-size: 18px; letter-spacing: .15em; }
.hero-copy .btns { margin-top: 32px; }
.hero-copy .btn { min-width: 180px; min-height: 52px; }
.home-courses { padding-block: 64px; background: var(--paper); }
.editorial-grid { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(210px, .8fr); gap: 80px; align-items: center; }
.editorial-copy > p:not(.eyebrow):not(.section-lead) { max-width: 660px; }
.editorial-copy .muted { margin-bottom: 24px; }
.course-aside { border-left: 1px solid var(--line); padding-left: 58px; font-size: 15px; }
.course-aside .display-words { color: #807b73; font-size: 25px; font-weight: 500; line-height: 1.65; letter-spacing: .1em; }
.course-aside > p + p { margin-top: 22px; }
.pathway-summary { margin-top: 26px; padding-top: 20px; border-top: 2px solid var(--orange); }
.pathway-summary a { font-weight: 700; text-decoration: none; }
.pathway-summary p { margin-top: 8px; color: var(--muted); font-size: 13px; }
.teacher-feature { position: relative; overflow: hidden; background: #0b0b0b; color: #fff; }
.teacher-feature > .wrap { position: relative; z-index: 2; }
.teacher-media { position: absolute; inset: 0 0 0 32%; margin: 0; }
.teacher-media img { width: 100%; height: 100%; object-fit: cover; object-position: 70% top; }
.teacher-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #0b0b0b 0%, #0b0b0be6 25%, #0b0b0b88 43%, #0b0b0b00 65%); }
.teacher-copy { max-width: 49%; padding: 58px 36px 58px 0; }
.teacher-copy .eyebrow { color: #ff7b39; }
.teacher-copy h3 { margin-top: 22px; color: #ff7b39; font-size: 25px; }
.teacher-role { margin-top: 10px; font-size: 18px; }
.teacher-copy p:not(.eyebrow):not(.teacher-role) { color: #ddd9d3; }
.teacher-copy .teacher-results { font-size: 13px; line-height: 1.9; }
.teacher-copy .text-link:hover { color: #ff8a50; }
.environment-section { padding-block: 62px 58px; background: var(--paper); }
.section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 32px; }
.section-heading .btn { flex-shrink: 0; }
.photo-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; }
.photo { min-width: 0; margin: 0; }
.photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.photo figcaption { padding: 13px 0 4px; color: var(--muted); font-size: 14px; line-height: 1.65; }
.environment-photos .photo img { aspect-ratio: 16 / 10; }
.environment-note { margin-top: 24px; color: var(--muted); font-size: 14px; }
.visit-section { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); background: #111110; color: #fff; }
.visit-photo { min-height: 390px; }
.visit-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.visit-copy { padding: 48px clamp(30px, 5vw, 84px); align-self: center; }
.visit-copy .eyebrow { color: #ff7b39; }
.visit-copy h2 { font-size: clamp(30px, 3vw, 42px); }
.visit-copy .visit-address { margin-top: 20px; font-size: 18px; }
.visit-copy > p:not(.eyebrow) { color: #dedbd5; }
.visit-copy .btns { gap: 12px; }
.visit-copy .btn { gap: 16px; padding-inline: 20px; }
.visit-links { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 20px; color: #ddd7ce; font-size: 13px; }
.visit-links a { text-decoration: none; }
.visit-section a:hover { color: #ff9d6c; }
.visit-section .btn:hover { color: #fff; }
.visit-section .btn.light:hover { color: #111; }
/* Inner pages share typography, substantial spacing, and squared panels. */
.inner-page .hero { padding: 64px 0 58px; background: #151413; color: #fff; border-bottom: 4px solid var(--orange); }
.inner-page .hero .eyebrow { color: #ff7b39; }
.inner-page .hero h1 span { color: #ff7b39; }
.inner-page .hero .lead { max-width: 840px; margin-top: 20px; color: #e7e2da; font-size: 19px; }
.inner-page main > section { padding: 60px 0; }
.inner-page main > section:nth-of-type(even) { background: var(--paper-deep); }
.inner-page section h2 { margin-bottom: 20px; font-size: clamp(27px, 3vw, 40px); }
.sub { margin: -6px 0 26px; color: var(--muted); font-size: 17px; }
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.card { padding: 25px 28px; background: #fff9; border: 1px solid var(--line); border-radius: 0; }
.card + .card { margin-top: 16px; }
.grid > .card + .card { margin-top: 0; }
.card h3 { margin-bottom: 12px; font-size: 21px; }
.card p { color: #4e4b46; }
.card a, .note a { color: #a93608; }
.course-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.course-grid > .card:first-child { border-top: 3px solid var(--orange); }
.path-grid > .card { border-left: 3px solid var(--orange); }
.tile { padding: 22px 25px; border-block: 1px solid var(--line); font-size: 20px; font-weight: 700; }
.tile small { display: block; margin-top: 8px; color: var(--muted); font-size: 14px; font-weight: 400; }
.list { padding-left: 1.25em; margin: 0; }
.list li + li { margin-top: 12px; }
.list li::marker { color: var(--button); }
.note { padding: 16px 20px; margin-top: 22px; border-left: 3px solid var(--orange); color: var(--muted); background: #e85a1208; font-size: 14px; }
.addr { line-height: 2; }
.addr > b { display: block; }
.teacher-photos { gap: 28px; max-width: 900px; margin: 26px 0 32px; }
.teacher-photos .photo img { aspect-ratio: 3 / 4; object-fit: contain; background: #e8e3db; }
.cert-grid { align-items: start; gap: 32px; max-width: 940px; margin-top: 32px; }
.cert { margin: 0; }
.cert img { width: 100%; height: auto; max-height: 640px; object-fit: contain; object-position: left top; }
.cert figcaption { padding-top: 13px; font-size: 14px; color: var(--muted); }
.studio-gallery .photo-grid { row-gap: 34px; }
.contact-wechat .wrap, .contact-phone .wrap, .contact-schedule .wrap { max-width: 840px; }
.contact-wechat h2, .contact-wechat .sub { text-align: center; }
.contact-wechat img[src*="qr-service"] { aspect-ratio: auto; object-fit: contain; filter: none; }
.contact-wechat .addr { margin-top: 28px; }
.contact-map .wrap { max-width: 1000px; }
.storefront-photo { margin-bottom: 26px; }
.storefront-photo img { aspect-ratio: 4 / 3; }
.contact-map .addr { margin-bottom: 24px; }
.page-404 .hero { min-height: 52vh; display: flex; align-items: center; }
.page-404 .hero .btn:not(.primary) { color: #fff; border-color: #aaa; }
/* Persistent functional links and legal information. */
footer { padding: 42px 0 36px; background: #080808; color: #b8b4ad; font-size: 13px; }
footer .fl { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 17px 0; }
footer a { text-decoration: none; }
footer a:hover { color: #ff8c52; }
footer img { display: inline-block; vertical-align: middle; }
.stick { display: none; }
@media (min-width: 1440px) {
  .hero-photo { object-position: center 58%; }
  .teacher-copy { padding-block: 70px; }
}
@media (min-width: 801px) and (max-width: 1080px) {
  .wrap { width: calc(100% - 64px); }
  .bar { gap: 22px; }
  nav.main ul { gap: 17px; }
  nav.main a { font-size: 13px; }
  .cta { padding-inline: 15px; }
  .editorial-grid { gap: 48px; }
  .course-aside { padding-left: 32px; }
  .teacher-copy { max-width: 53%; }
  .teacher-media { left: 32%; }
  .course-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 800px) {
  html { scroll-padding-top: 130px; }
  body { font-size: 15px; }
  [id] { scroll-margin-top: 130px; }
  .wrap { width: calc(100% - 40px); }
  .bar { display: grid; grid-template-columns: 1fr auto; gap: 0 20px; min-height: 0; padding-top: 5px; }
  .brand { width: 136px; height: 54px; }
  .brand img { width: 200px; height: 200px; }
  .cta { grid-column: 2; grid-row: 1; padding: 9px 16px; font-size: 13px; }
  nav.main { grid-column: 1 / -1; grid-row: 2; width: 100%; margin: 0; }
  nav.main ul { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 3px; }
  nav.main a { padding: 9px 0 10px; font-size: 12px; text-align: center; border-bottom-width: 2px; }
  .eyebrow { font-size: 11px; }
  .home-hero { display: flex; flex-direction: column; align-items: stretch; min-height: 0; height: auto; overflow: visible; }
  .hero-photo { position: static; height: clamp(240px, 70vw, 360px); width: 100%; object-fit: contain; object-position: center; background: #111; }
  .hero-shade { display: none; }
  .hero-copy { width: calc(100% - 48px); padding: 32px 0 38px; }
  .hero-copy .eyebrow { margin-bottom: 16px; }
  .hero-copy h1 { font-size: clamp(38px, 10.5vw, 62px); line-height: 1.12; }
  .hero-tagline { margin-top: 16px; font-size: 29px; }
  .hero-lead { font-size: 18px; margin-top: 14px; }
  .hero-details { font-size: 15px; }
  .hero-copy .btns { margin-top: 25px; gap: 12px; }
  .hero-copy .btn { min-width: 0; flex: 1 1 140px; gap: 17px; padding-inline: 16px; min-height: 48px; }
  h2 { font-size: 34px; }
  .section-lead { font-size: 18px; }
  .home-courses { padding-block: 44px; }
  .editorial-grid { grid-template-columns: 1fr; gap: 32px; }
  .course-aside { border-left: 0; border-top: 1px solid var(--line); padding: 24px 0 0; }
  .course-aside .display-words { display: none; }
  .course-aside > p + p { margin: 0; }
  .pathway-summary { margin-top: 20px; padding-top: 18px; max-width: 350px; }
  .pathway-summary p br { display: none; }
  .teacher-feature { display: flex; flex-direction: column; }
  .teacher-feature > .wrap { order: 0; }
  .teacher-copy { max-width: none; padding: 42px 0 36px; }
  .teacher-copy h3 { font-size: 23px; }
  .teacher-copy .teacher-role { font-size: 16px; }
  .teacher-copy p br { display: none; }
  .teacher-media { position: relative; inset: auto; order: 1; width: 100%; background: #111; }
  .teacher-media img { width: 100%; height: auto; max-height: 520px; object-fit: contain; object-position: center; }
  .teacher-media::after { display: none; }
  .environment-section { padding-block: 44px; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 22px; margin-bottom: 26px; }
  .photo-grid { grid-template-columns: 1fr; gap: 24px; }
  .environment-photos .photo img { aspect-ratio: 4 / 3; }
  .environment-note { font-size: 13px; }
  .visit-section { grid-template-columns: 1fr; }
  .visit-photo { min-height: 0; }
  .visit-photo img { height: auto; aspect-ratio: 4 / 3; object-fit: contain; }
  .visit-copy { padding: 36px 24px 42px; }
  .visit-copy h2 { font-size: 32px; }
  .visit-copy .visit-address { font-size: 17px; }
  .visit-links { gap: 10px 20px; }
  .inner-page .hero { padding: 40px 0 38px; }
  .inner-page .hero h1 { font-size: clamp(34px, 8vw, 50px); }
  .inner-page .hero .lead { font-size: 16px; }
  .inner-page main > section { padding: 40px 0; }
  .inner-page section h2 { font-size: 28px; }
  .sub { font-size: 16px; }
  .grid, .course-grid { grid-template-columns: 1fr; gap: 16px; }
  .card { padding: 22px 20px; }
  .card h3 { font-size: 20px; }
  .teacher-photos { max-width: 460px; gap: 28px; }
  .cert-grid { max-width: 520px; gap: 30px; }
  .cert img { max-height: none; }
  .contact-map .btn { white-space: normal; }
  footer { padding-bottom: calc(100px + env(safe-area-inset-bottom, 0px)); }
  footer .fl { flex-direction: column; gap: 7px; }
  footer .fl:has(a) { flex-direction: row; gap: 9px 18px; }
  .stick { position: fixed; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); bottom: 0; left: 0; right: 0; z-index: 40; padding: 8px max(12px, env(safe-area-inset-right, 0px)) calc(8px + env(safe-area-inset-bottom, 0px)) max(12px, env(safe-area-inset-left, 0px)); gap: 8px; background: #101010; border-top: 1px solid #393632; }
  .stick a { display: flex; align-items: center; justify-content: center; min-height: 44px; padding: 8px 3px; color: #eee8e1; border: 1px solid #68615a; border-radius: 2px; text-decoration: none; font-size: 13px; font-weight: 650; }
  .stick a.primary { color: #fff; background: var(--button); border-color: var(--button); }
  .stick a:hover { color: #fff; border-color: var(--orange); }
}
@media (max-width: 360px) {
  .top .bar { width: calc(100% - 24px); }
  nav.main ul { gap: 2px; }
  nav.main a { font-size: 11px; padding-block: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

.teacher-media figcaption { position: absolute; right: 20px; bottom: 12px; z-index: 3; padding: 3px 8px; background: #0009; color: #eee; font-size: 11px; letter-spacing: .04em; }
@media (max-width: 800px) { .teacher-media figcaption { position: static; padding: 6px 20px 12px; text-align: right; background: #111; color: #bbb; } }

/* Desktop editorial scale aligned to the selected homepage. */
@media (min-width: 801px) {
  .bar { min-height: 68px; }
  .brand { width: 132px; flex-basis: 132px; height: 54px; }
  .brand img { width: 196px; height: 196px; }
  nav.main a { padding-block: 20px 17px; }
  .home-page h2 { font-size: 48px; }
  .home-courses { padding-block: 44px; }
  .home-courses .accent-line { margin-block: 18px; }
  .home-courses .editorial-copy > .btn { margin-top: 16px; }
  .course-aside .display-words { font-size: 22px; letter-spacing: .12em; }
  .course-aside .pathway-summary { font-size: 13px; margin-top: 20px; padding-top: 16px; }
  .teacher-copy { padding-block: 40px; }
  .teacher-copy h3 { margin-top: 14px; }
  .teacher-copy .accent-line { margin-block: 20px; }
  .teacher-copy .text-link { font-size: 13px; margin-top: 20px; }
}
@media (max-width: 800px) {
  .home-courses .editorial-copy > .btn { margin-top: 22px; }
  .course-aside > .pathway-summary { margin-top: 0; border-top: 0; padding-top: 0; }
}

/* 2026-10-28 refinements: unified buttons, readable sizes, contact conversion, studio photo crop. */
.cta { border-radius: 999px; }
.btn { border-radius: 4px; }
.teacher-awards { list-style: none; display: grid; gap: 8px; margin: 18px 0 0; padding: 0; }
.teacher-awards li { padding-left: 12px; border-left: 2px solid var(--orange); color: #f3efe9; font-size: 14px; line-height: 1.5; }
.teacher-copy .text-link { color: #fff; }
.teacher-copy .text-link .button-chevron { filter: invert(1); }
.teacher-media figcaption { font-size: 12px; }
.wechat-actions { margin: 0 0 24px; text-align: center; }
.hint { color: var(--muted); font-size: 14px; line-height: 1.7; }
.wechat-actions .hint { max-width: 560px; margin: 10px auto 0; }
.qr-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; }
.qr-slot { margin: 0; text-align: center; }
.qr-slot img { width: min(260px, 70vw); height: auto; margin: 0 auto; border-radius: 12px; }
.qr-slot figcaption { margin-top: 10px; color: var(--muted); font-size: 14px; }
.copyable { padding: 2px 8px; background: #fff; border: 1px dashed #b9b1a5; font-weight: 800; -webkit-user-select: all; user-select: all; }
.phone-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 16px; }
.phone-btns .btn { flex: 1 1 220px; }
@media (max-width: 800px) {
  .eyebrow { font-size: 12px; }
  .brand { width: 120px; height: 46px; }
  .brand img { width: 176px; height: 176px; }
  footer a { display: inline-block; padding-block: 6px; }
  footer { font-size: 13px; }
  .teacher-media figcaption { font-size: 12px; }
}
