:root {
  font-family: "Noto Sans TC", "DM Sans", sans-serif;
  color: #111a28;
  background: #f2f4f5;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  --paper: #f2f4f5;
  --ink: #111a28;
  --muted: #68727e;
  --line: #d3d8dc;
  --acid: #e7c05c;
  --red: #a95c45;
  --denim: #142238;
  --sand: #c99e3e;
  --mint: #e3e7e9;
  --display: "DM Sans", "Noto Sans TC", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; }
button, input, select { font: inherit; }
button, a, select { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid #e5533e; outline-offset: 3px; }
::selection { color: var(--ink); background: var(--acid); }

.site-header {
  position: relative;
  z-index: 3;
  display: flex;
  height: 76px;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(20px, 6.3vw, 96px);
  background: var(--paper);
  border-bottom: 1px solid rgba(32, 31, 27, .1);
}
.brand { display: inline-flex; align-items: center; gap: 11px; min-width: 190px; }
.brand-mark { display: grid; width: 35px; height: 35px; place-items: center; color: var(--ink); background: var(--acid); font-size: 19px; font-weight: 900; transform: rotate(-5deg); }
.brand-name { display: grid; gap: 1px; font-size: 14px; font-weight: 900; line-height: 1.2; }
.brand-name span { color: var(--muted); font-family: var(--display); font-size: 9px; font-weight: 600; }
.main-nav { display: flex; height: 100%; align-items: center; gap: clamp(24px, 4vw, 58px); }
.nav-link { position: relative; display: grid; height: 100%; align-items: center; color: #69665f; font-size: 13px; font-weight: 600; }
.nav-link:hover, .nav-link.is-current { color: var(--ink); }
.nav-link.is-current::after { position: absolute; right: 0; bottom: 0; left: 0; height: 3px; background: var(--red); content: ""; }
.header-action { display: inline-flex; min-height: 40px; align-items: center; gap: 16px; padding: 0 15px; border: 1px solid var(--ink); font-size: 12px; font-weight: 700; transition: color .2s, background .2s; }
.header-action:hover { color: var(--paper); background: var(--ink); }
.header-action span { color: var(--red); font-size: 17px; }

.hero { position: relative; min-height: 485px; overflow: hidden; color: #fffdf5; background: #252522; }
.hero-image { position: absolute; inset: 0; background-image: linear-gradient(90deg, rgba(23, 24, 22, .91) 0%, rgba(23, 24, 22, .72) 44%, rgba(23, 24, 22, .18) 100%), url("https://images.unsplash.com/photo-1547153760-18fc86324498?auto=format&fit=crop&w=1100&q=85"); background-position: center, right 42%; background-size: cover, auto 125%; background-repeat: no-repeat; transform: scale(1.02); animation: hero-reveal 1.1s ease-out both; }
.hero-content { position: relative; z-index: 1; display: flex; width: min(1120px, 88%); min-height: 485px; flex-direction: column; justify-content: center; margin: auto; padding: 54px 0 48px; animation: content-reveal .7s .12s ease-out both; }
.eyebrow { margin: 0; font-family: var(--display); font-size: 10px; font-weight: 700; letter-spacing: 0; }
.hero .eyebrow { display: flex; align-items: center; gap: 9px; color: var(--acid); }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px rgba(229, 83, 62, .19); }
.hero h1 { margin: 24px 0 28px; font-size: clamp(42px, 6.4vw, 82px); font-weight: 900; line-height: 1.12; }
.hero h1 span { color: var(--acid); }
.hero-bottom { display: flex; max-width: 565px; align-items: end; justify-content: space-between; gap: 30px; }
.hero-bottom p { margin: 0; color: rgba(255, 253, 245, .76); font-size: 13px; line-height: 1.9; }
.hero-link { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 17px; padding: 0 0 7px; border-bottom: 1px solid var(--acid); color: var(--acid); font-size: 12px; font-weight: 700; }
.hero-link span { font-size: 17px; transition: transform .2s; }
.hero-link:hover span { transform: translateY(3px); }
.hero-index { position: absolute; right: 6%; bottom: 25px; color: rgba(255, 255, 255, .57); font-family: var(--display); font-size: 9px; font-weight: 600; }

.section-wrap { width: min(1120px, 88%); margin: 0 auto; }
.catalog { padding-top: 90px; padding-bottom: 112px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; }
.section-eyebrow { color: var(--red); }
.section-eyebrow span { padding: 0 5px; color: #a29c8f; }
.section-heading h2 { margin: 13px 0 0; font-size: clamp(28px, 3.7vw, 44px); font-weight: 900; line-height: 1.2; }
.section-note { margin: 0 0 2px; color: var(--muted); font-size: 12px; line-height: 1.8; }
.sample-notice { display: flex; align-items: center; gap: 10px; margin-top: 31px; padding: 11px 14px; border-left: 3px solid var(--red); background: #ebe7dc; }
.notice-mark { display: grid; width: 18px; height: 18px; flex: 0 0 auto; place-items: center; border: 1px solid #898478; border-radius: 50%; color: #6c685f; font-family: var(--display); font-size: 11px; font-weight: 700; }
.sample-notice p { margin: 0; color: #625f57; font-size: 11px; }
.catalog-tools { display: flex; gap: 10px; margin-top: 34px; }
.search-box { display: flex; min-width: 0; height: 48px; flex: 1; align-items: center; gap: 12px; padding: 0 15px; border: 1px solid var(--line); background: #fbf9f3; }
.search-icon { position: relative; width: 15px; height: 15px; flex: 0 0 auto; border: 1.6px solid #747168; border-radius: 50%; }
.search-icon::after { position: absolute; right: -5px; bottom: -3px; width: 7px; height: 1.5px; background: #747168; content: ""; transform: rotate(48deg); transform-origin: left; }
.search-box input { width: 100%; min-width: 0; border: 0; outline: 0; color: var(--ink); background: transparent; font-size: 12px; }
.search-box input::placeholder { color: #99958b; }
.search-box kbd { color: #969186; font-family: var(--display); font-size: 11px; }
.level-select-wrap { position: relative; display: flex; width: 155px; flex: 0 0 auto; }
.level-select-wrap::after { position: absolute; top: 16px; right: 15px; width: 8px; height: 8px; border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink); content: ""; pointer-events: none; transform: rotate(45deg); }
.level-select-wrap select { width: 100%; appearance: none; padding: 0 38px 0 14px; border: 1px solid var(--line); border-radius: 0; color: var(--ink); background: #fbf9f3; font-size: 12px; cursor: pointer; }
.filter-row { display: flex; gap: 8px; overflow-x: auto; padding: 16px 0 7px; scrollbar-width: none; }
.filter-row::-webkit-scrollbar { display: none; }
.filter-chip { display: inline-flex; min-height: 35px; flex: 0 0 auto; align-items: center; gap: 9px; padding: 0 14px; border: 1px solid var(--line); border-radius: 0; color: #5e5b54; background: transparent; font-size: 11px; font-weight: 600; cursor: pointer; transition: color .18s, background .18s, border-color .18s; }
.filter-chip:hover { border-color: var(--ink); color: var(--ink); }
.filter-chip.is-active { border-color: var(--ink); color: var(--paper); background: var(--ink); }
.filter-chip span { color: var(--acid); font-family: var(--display); font-size: 10px; }
.results-bar { display: flex; align-items: center; justify-content: space-between; margin: 27px 0 15px; padding-bottom: 11px; border-bottom: 1px solid var(--line); }
.results-bar p { margin: 0; color: var(--muted); font-size: 11px; }
.results-bar strong { color: var(--ink); font-family: var(--display); font-size: 14px; }
.results-caption { font-family: var(--display); font-size: 9px !important; }
.course-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 18px; }
.course-card { min-width: 0; border: 1px solid var(--line); background: #fbf9f3; animation: card-reveal .35s ease-out both; }
.course-card:hover { border-color: #9c978a; }
.card-art { position: relative; display: flex; min-height: 142px; align-items: end; justify-content: space-between; overflow: hidden; padding: 14px; color: var(--ink); background: var(--card-color, #d8fa43); }
.card-art::before, .card-art::after { position: absolute; content: ""; pointer-events: none; }
.card-art::before { top: -35px; right: -16px; width: 156px; height: 156px; border: 1px solid rgba(32, 31, 27, .24); border-radius: 50%; }
.card-art::after { top: -8px; right: 20px; width: 95px; height: 95px; border: 1px solid rgba(32, 31, 27, .19); border-radius: 50%; }
.card-art[data-style="編舞"] { --card-color: #edbfb0; }
.card-art[data-style="Popping"] { --card-color: #a9c7b9; }
.card-art[data-style="Locking"] { --card-color: #f0c75e; }
.card-art[data-style="Waacking"] { --card-color: #d3b7cb; }
.card-art[data-style="Hip-hop"] { --card-color: #d8fa43; }
.card-art-label { position: relative; z-index: 1; font-family: var(--display); font-size: 9px; font-weight: 700; }
.card-art-number { position: relative; z-index: 1; font-family: var(--display); font-size: 43px; font-weight: 700; line-height: .9; }
.card-body { padding: 17px 17px 15px; }
.card-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.style-label { color: #716d64; font-family: var(--display); font-size: 10px; font-weight: 700; }
.level-badge { padding: 4px 7px; color: #625f57; background: #eeeadf; font-size: 9px; font-weight: 600; }
.card-title { margin: 10px 0 12px; font-size: 19px; font-weight: 900; line-height: 1.35; }
.card-teacher { display: flex; align-items: center; gap: 7px; margin: 0 0 14px; color: #6b675e; font-size: 11px; }
.teacher-dot { display: grid; width: 21px; height: 21px; place-items: center; border-radius: 50%; color: var(--ink); background: #e4ded0; font-size: 9px; font-weight: 700; }
.card-footer { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-top: 12px; border-top: 1px solid #e5e1d7; }
.class-time { color: #69655c; font-size: 10px; }
.details-button { display: inline-flex; align-items: center; gap: 7px; padding: 5px 0 5px 8px; border: 0; color: var(--ink); background: transparent; font-size: 10px; font-weight: 700; cursor: pointer; }
.details-button span { color: var(--red); font-size: 16px; transition: transform .18s; }
.details-button:hover span { transform: translateX(3px); }
.empty-state { padding: 65px 20px; text-align: center; }
.empty-state > span { color: var(--red); font-size: 27px; }
.empty-state h3 { margin: 8px 0; font-size: 17px; }
.empty-state p { color: var(--muted); font-size: 12px; }
.reset-button { margin-top: 8px; padding: 9px 15px; border: 1px solid var(--ink); color: var(--ink); background: transparent; font-size: 11px; cursor: pointer; }

.about-strip { overflow: hidden; color: var(--paper); background: var(--ink); }
.about-inner { position: relative; width: min(1120px, 88%); min-height: 350px; margin: auto; padding: 69px 0 67px; }
.about-inner .eyebrow { color: var(--acid); }
.about-inner .eyebrow span { color: var(--red); }
.about-inner h2 { position: relative; z-index: 1; margin: 21px 0 15px; font-size: clamp(32px, 4.4vw, 55px); font-weight: 900; line-height: 1.25; }
.about-copy { position: relative; z-index: 1; margin: 0; color: #c6c2b8; font-size: 12px; line-height: 1.9; }
.about-stamp { position: absolute; top: 43px; right: 6%; display: flex; width: 255px; height: 255px; align-items: center; justify-content: center; gap: 7px; border: 1px solid rgba(216, 250, 67, .45); border-radius: 50%; color: var(--acid); font-size: 13px; font-weight: 700; transform: rotate(-13deg); }
.about-stamp::before, .about-stamp::after { position: absolute; inset: 17px; border: 1px solid rgba(216, 250, 67, .23); border-radius: 50%; content: ""; }
.about-stamp::after { inset: 33px; }
.site-footer { display: grid; grid-template-columns: 1fr 1fr auto; align-items: center; gap: 24px; padding: 34px clamp(20px, 6.3vw, 96px) 19px; background: #eae6da; }
.footer-brand { min-width: 0; }
.site-footer > p { margin: 0; color: #706c63; font-size: 10px; line-height: 1.8; }
.back-to-top { display: inline-flex; align-items: center; gap: 14px; color: #5e5b54; font-size: 10px; font-weight: 700; }
.back-to-top span { color: var(--red); font-size: 15px; }
.site-footer small { grid-column: 1 / -1; padding-top: 12px; border-top: 1px solid #d4cfc2; color: #8a857a; font-size: 9px; }

.course-dialog { position: fixed; width: min(570px, calc(100% - 32px)); max-height: min(86vh, 800px); padding: 0; overflow: auto; border: 0; color: var(--ink); background: var(--paper); box-shadow: 0 22px 85px rgba(0, 0, 0, .35); }
.course-dialog::backdrop { background: rgba(23, 24, 22, .72); backdrop-filter: blur(3px); }
.dialog-close { position: absolute; z-index: 2; top: 13px; right: 13px; display: grid; width: 38px; height: 38px; place-items: center; border: 0; color: var(--ink); background: var(--acid); font-size: 25px; line-height: 1; cursor: pointer; }
.dialog-art { position: relative; height: 170px; overflow: hidden; background: var(--card-color, var(--acid)); }
.dialog-art::before, .dialog-art::after { position: absolute; top: -75px; right: 38px; width: 280px; height: 280px; border: 1px solid rgba(32, 31, 27, .26); border-radius: 50%; content: ""; }
.dialog-art::after { top: -35px; right: 80px; width: 200px; height: 200px; }
.dialog-content { padding: 27px clamp(22px, 5vw, 42px) 35px; }
.dialog-content .eyebrow { color: var(--red); }
.dialog-content h2 { margin: 10px 0 12px; font-size: 29px; font-weight: 900; }
.dialog-description { margin: 0 0 20px; color: #69655c; font-size: 12px; line-height: 1.9; }
.detail-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; margin: 0; border-top: 1px solid var(--line); }
.detail-list div { display: grid; grid-template-columns: 52px 1fr; gap: 8px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.detail-list dt { color: #827d72; font-size: 10px; }
.detail-list dd { margin: 0; font-size: 11px; font-weight: 700; }
.dialog-note { margin: 17px 0 0; color: #8a857a; font-size: 9px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; clip-path: inset(50%); }
.mobile-break { display: none; }

@keyframes hero-reveal { from { opacity: .45; transform: scale(1.06); } to { opacity: 1; transform: scale(1.02); } }
@keyframes content-reveal { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
@keyframes card-reveal { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 800px) {
  .site-header { height: 68px; padding: 0 5%; }
  .brand { min-width: 0; }
  .main-nav { gap: 22px; }
  .header-action { min-height: 36px; gap: 8px; padding: 0 10px; }
  .hero, .hero-content { min-height: 420px; }
  .hero-content { width: 88%; }
  .course-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 13px; }
  .card-art { min-height: 125px; }
  .about-stamp { right: -20px; width: 210px; height: 210px; }
}

@media (max-width: 560px) {
  html { scroll-padding-top: 72px; }
  .site-header { height: 62px; padding: 0 16px; }
  .brand-mark { width: 31px; height: 31px; font-size: 17px; }
  .brand-name { font-size: 12px; }
  .brand-name span { font-size: 8px; }
  .main-nav { position: absolute; top: 61px; right: 0; left: 0; height: 42px; justify-content: space-around; gap: 8px; padding: 0 10px; border-bottom: 1px solid rgba(32, 31, 27, .1); background: var(--paper); }
  .nav-link { font-size: 10px; }
  .header-action { min-height: 32px; padding: 0 8px; font-size: 10px; }
  .hero, .hero-content { min-height: 390px; }
  .hero { margin-top: 42px; }
  .hero-image { background-position: center, 88% center; background-size: cover, auto 105%; }
  .hero-content { width: calc(100% - 40px); padding: 45px 0 43px; }
  .hero h1 { margin: 21px 0 24px; font-size: 45px; }
  .hero-bottom { align-items: start; flex-direction: column; gap: 17px; }
  .hero-bottom p { font-size: 11px; }
  .hero-link { font-size: 11px; }
  .hero-index { right: 20px; bottom: 15px; font-size: 8px; }
  .section-wrap { width: calc(100% - 32px); }
  .catalog { padding-top: 57px; padding-bottom: 71px; }
  .section-heading { align-items: start; flex-direction: column; gap: 12px; }
  .section-heading h2 { margin-top: 10px; font-size: 30px; }
  .section-note { font-size: 11px; }
  .sample-notice { align-items: start; margin-top: 23px; padding: 10px; }
  .sample-notice p { font-size: 10px; line-height: 1.7; }
  .catalog-tools { flex-direction: column; gap: 8px; margin-top: 22px; }
  .search-box { height: 45px; }
  .level-select-wrap { width: 100%; height: 43px; }
  .level-select-wrap::after { top: 14px; }
  .filter-row { margin-right: -16px; padding-right: 16px; }
  .filter-chip { min-height: 33px; padding: 0 11px; font-size: 10px; }
  .results-bar { margin-top: 19px; }
  .course-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .course-card { display: grid; grid-template-columns: 34% 1fr; min-height: 168px; }
  .card-art { min-height: 100%; align-items: end; flex-direction: column; justify-content: space-between; padding: 10px; }
  .card-art::before { top: 35px; right: -61px; width: 150px; height: 150px; }
  .card-art::after { top: 52px; right: -37px; width: 110px; height: 110px; }
  .card-art-number { font-size: 37px; }
  .card-art-label { font-size: 8px; }
  .card-body { display: flex; min-width: 0; flex-direction: column; justify-content: center; padding: 12px; }
  .card-title { margin: 8px 0; font-size: 16px; }
  .card-teacher { margin-bottom: 9px; font-size: 10px; }
  .teacher-dot { width: 19px; height: 19px; }
  .card-footer { margin-top: auto; padding-top: 8px; }
  .class-time { font-size: 9px; }
  .details-button { font-size: 9px; }
  .about-inner { width: calc(100% - 36px); min-height: 330px; padding: 55px 0 48px; }
  .about-inner h2 { margin: 19px 0 13px; font-size: 34px; }
  .about-copy { max-width: 275px; font-size: 10px; }
  .about-stamp { top: 151px; right: -39px; width: 145px; height: 145px; gap: 4px; font-size: 9px; opacity: .55; }
  .about-stamp::before { inset: 10px; }
  .about-stamp::after { inset: 20px; }
  .mobile-break { display: initial; }
  .site-footer { grid-template-columns: 1fr auto; gap: 15px 8px; padding: 25px 18px 16px; }
  .site-footer > p { grid-column: 1 / -1; grid-row: 2; }
  .back-to-top { font-size: 9px; }
  .site-footer small { padding-top: 10px; font-size: 8px; }
  .dialog-art { height: 130px; }
  .dialog-content { padding: 21px 19px 27px; }
  .dialog-content h2 { font-size: 24px; }
  .detail-list { gap: 0 12px; }
  .detail-list div { grid-template-columns: 45px 1fr; gap: 5px; }
  .detail-list dd { font-size: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

body {
  background-color: var(--paper);
  background-image: linear-gradient(rgba(48, 72, 83, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(48, 72, 83, .035) 1px, transparent 1px);
  background-size: 34px 34px;
}

.site-header { background: rgba(238, 240, 236, .97); border-color: #c7cecb; }
.brand { min-width: 0; }
.brand-mark { width: 43px; height: 43px; color: #fff; background: var(--denim); font-family: var(--display); font-size: 18px; transform: none; }
.brand-name { font-family: var(--display); font-size: 13px; }
.brand-name span { color: var(--muted); font-family: "Noto Sans TC", sans-serif; font-size: 9px; }
.nav-link.is-current::after { background: var(--denim); }
.header-action { border-color: var(--denim); color: #fff; background: var(--denim); }
.header-action:hover { border-color: var(--ink); background: var(--ink); }
.header-action span { color: #e6c997; }

.hero { min-height: 0; color: #fff; background: #292d30; }
.hero-image { position: relative; inset: auto; display: block; width: 100%; height: clamp(280px, 40vw, 520px); object-fit: cover; object-position: center 34%; transform: none; animation: none; }
.hero-image-home { object-position: center 65%; }
.hero-caption { display: flex; min-height: 54px; align-items: center; justify-content: space-between; gap: 16px; padding: 10px clamp(20px, 6.3vw, 96px); border-top: 1px solid rgba(255, 255, 255, .15); background: #292d30; }
.hero-caption p { margin: 0; color: #d6d9d7; font-size: 11px; }
.hero-caption p span { margin-right: 9px; color: #e0c08e; font-family: var(--display); font-size: 12px; font-weight: 700; }
.hero-caption a { display: inline-flex; align-items: center; gap: 12px; color: #fff; font-size: 11px; font-weight: 700; }
.hero-caption a span { color: #e0c08e; font-size: 16px; }

.catalog { padding-top: 70px; padding-bottom: 88px; }
.section-eyebrow { color: var(--denim); }
.section-eyebrow span { color: var(--sand); }
.section-heading h2 { color: var(--ink); }
.section-note { color: var(--muted); }
.sample-notice { border-left-color: var(--denim); background: #e1e6e2; }
.notice-mark { border-color: #70807f; color: var(--denim); }
.sample-notice p { color: #49555a; }
.search-box, .level-select-wrap select { border-color: #bcc6c5; background: rgba(250, 251, 248, .82); }
.filter-chip { border-color: #bdc7c6; color: #465258; }
.filter-chip:hover { border-color: var(--denim); color: var(--denim); }
.filter-chip.is-active { border-color: var(--denim); color: #fff; background: var(--denim); }
.filter-chip span { color: #e6c997; }
.results-bar { border-bottom-color: #bec8c7; }
.course-card { border-color: #c8d0cd; background: rgba(248, 249, 246, .94); }
.course-card:hover { border-color: var(--denim); }
.card-art { background: #d6dfda; }
.card-art[data-style="編舞"] { --card-color: #c5d3cf; }
.card-art[data-style="Popping"] { --card-color: #b8cbd2; }
.card-art[data-style="Locking"] { --card-color: #d4c3a4; }
.card-art[data-style="Waacking"] { --card-color: #c5c8d3; }
.card-art[data-style="Hip-hop"] { --card-color: #9eb4bf; }
.level-badge { color: #365267; background: #e0e6e4; }
.teacher-dot { color: #fff; background: var(--denim); }
.card-teacher { color: #59666c; }
.card-footer { border-top-color: #d7ddda; }
.class-time { color: #49555a; }
.details-button span { color: var(--red); }
.reset-button { border-color: var(--denim); color: var(--denim); }
.reset-button:hover { color: #fff; background: var(--denim); }

.teachers-section { padding-top: 22px; padding-bottom: 92px; }
.teacher-gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: 28px; }
.teacher-profile { min-width: 0; margin: 0; overflow: hidden; border: 1px solid #c8d0cd; background: #e4e8e4; }
.teacher-profile img { display: block; width: 100%; height: auto; }
.teacher-profile figcaption { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px; border-top: 1px solid #c8d0cd; background: #f5f6f2; }
.teacher-profile figcaption span { color: #627178; font-family: var(--display); font-size: 9px; font-weight: 700; }
.teacher-profile figcaption strong { color: var(--ink); font-size: 12px; }

.crew-section { display: grid; min-height: 330px; grid-template-columns: minmax(260px, .9fr) minmax(0, 1.1fr); align-items: center; gap: clamp(22px, 6vw, 86px); overflow: hidden; padding: 50px max(6vw, calc((100vw - 1120px) / 2)); color: #f5f6f2; background: #292d30; }
.crew-copy .eyebrow { color: #d9c39c; }
.crew-copy .eyebrow span { color: #9cb8b5; }
.crew-copy h2 { margin: 17px 0 12px; font-size: clamp(28px, 3.8vw, 43px); font-weight: 900; }
.crew-copy > p:not(.eyebrow) { margin: 0; color: #c6cecb; font-size: 12px; line-height: 1.9; }
.crew-copy > a { display: inline-flex; align-items: center; gap: 14px; margin-top: 21px; padding-bottom: 6px; border-bottom: 1px solid #d9c39c; color: #fff; font-size: 11px; font-weight: 700; }
.crew-copy > a span { color: #d9c39c; }
.crew-photo { display: block; width: 100%; max-height: 300px; object-fit: contain; }

.site-footer { border-top: 1px solid #c8d0cd; background: #e5e9e5; }
.site-footer > p { color: #606c71; }
.site-footer small { border-top-color: #c8d0cd; color: #727c7f; }
.back-to-top span { color: var(--denim); }
.course-dialog { background: #f3f5f1; }
.course-dialog::backdrop { background: rgba(26, 34, 39, .72); }
.dialog-close { color: #fff; background: var(--denim); }
.dialog-content .eyebrow { color: var(--denim); }
.dialog-description, .detail-list dt { color: #657177; }
.dialog-note { color: #7e898b; }

@media (max-width: 800px) {
  .teacher-gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  .crew-section { grid-template-columns: minmax(210px, .8fr) minmax(0, 1.2fr); gap: 24px; padding-right: 6%; padding-left: 6%; }
}

@media (max-width: 560px) {
  .hero-image { height: 300px; object-position: center 34%; }
  .hero-image-home { object-position: center 56%; }
  .hero-caption { min-height: 48px; padding: 9px 17px; }
  .hero-caption p, .hero-caption a { font-size: 10px; }
  .catalog { padding-top: 52px; padding-bottom: 60px; }
  .section-heading h2 { font-size: 27px; }
  .teachers-section { padding-top: 8px; padding-bottom: 64px; }
  .teacher-gallery { display: flex; gap: 12px; overflow-x: auto; margin-right: -16px; padding: 2px 16px 10px 0; scroll-snap-type: x mandatory; scrollbar-width: thin; }
  .teacher-profile { flex: 0 0 82%; scroll-snap-align: start; }
  .crew-section { grid-template-columns: 1fr; gap: 20px; padding: 40px 19px 28px; }
  .crew-copy h2 { font-size: 30px; }
  .crew-photo { max-height: 230px; }
  .site-footer { background: #e5e9e5; }
}

.main-nav { gap: clamp(15px, 2.7vw, 36px); }
.services-section { padding-top: 30px; padding-bottom: 92px; }
.services-section .section-heading h2 { max-width: 670px; }
.service-group-label { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 35px 0 13px; padding-bottom: 9px; border-bottom: 1px solid #bac5c3; color: var(--denim); font-size: 11px; font-weight: 700; }
.service-group-label span:last-child { color: #7d8889; font-family: var(--display); font-size: 9px; font-weight: 600; }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 22px; }
.service-item { display: flex; min-width: 0; min-height: 205px; flex-direction: column; align-items: flex-start; padding: 20px 0 21px; border-bottom: 1px solid #c9d1ce; }
.service-index { color: #758185; font-family: var(--display); font-size: 9px; font-weight: 700; }
.service-item h3 { margin: 11px 0 8px; color: var(--ink); font-size: 17px; font-weight: 800; line-height: 1.4; }
.service-item p { margin: 0 0 14px; color: #5f6b70; font-size: 11px; line-height: 1.9; }
.service-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: auto; }
.service-tags span { padding: 4px 7px; border: 1px solid #c2ccca; color: #49606a; font-size: 9px; line-height: 1.35; }
.service-item-main { grid-column: span 2; min-height: 185px; padding: 22px 24px; border-bottom: 0; color: #f4f6f2; background: var(--denim); }
.service-item-main .service-index { color: #d5c49f; }
.service-item-main h3 { color: #fff; font-size: 20px; }
.service-item-main p { max-width: 680px; color: #e3e9e7; }
.service-item-main .service-tags span { border-color: rgba(255, 255, 255, .35); color: #fff; }
.service-grid-secondary { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 18px; }
.service-grid-secondary .service-item { min-height: 210px; }
.service-info-strip { display: flex; align-items: flex-start; gap: 10px; margin-top: 28px; padding: 13px 15px; border-left: 3px solid var(--sand); background: #e2e7e3; }
.service-info-mark { display: grid; width: 17px; height: 17px; flex: 0 0 auto; place-items: center; border: 1px solid #72807f; border-radius: 50%; color: var(--denim); font-family: var(--display); font-size: 10px; font-weight: 700; }
.service-info-strip p { margin: 0; color: #566267; font-size: 10px; line-height: 1.8; }

.updates-section { color: #f0f2ee; background: #292d30; }
.updates-inner { display: grid; width: min(1120px, 88%); grid-template-columns: minmax(240px, .9fr) minmax(0, 1.1fr); gap: 20px clamp(30px, 7vw, 100px); margin: auto; padding: 66px 0 57px; }
.updates-inner .eyebrow { color: #d9c39c; }
.updates-inner .eyebrow span { color: #9cb8b5; }
.updates-inner h2 { margin: 15px 0 0; font-size: clamp(24px, 3vw, 36px); font-weight: 900; line-height: 1.35; }
.updates-list { grid-row: span 2; }
.updates-list > div { display: grid; grid-template-columns: 90px minmax(0, 1fr) 25px; align-items: center; gap: 14px; padding: 15px 0; border-bottom: 1px solid rgba(255, 255, 255, .19); }
.updates-list > div:first-child { border-top: 1px solid rgba(255, 255, 255, .19); }
.updates-list span { color: #d9c39c; font-size: 10px; font-weight: 700; }
.updates-list p { margin: 0; color: #e4e8e5; font-size: 11px; }
.updates-list b { color: #9cb8b5; font-family: var(--display); font-size: 10px; text-align: right; }
.updates-note { align-self: end; margin: 0; color: #aeb9b8; font-size: 9px; }

@media (max-width: 800px) {
  .service-grid-secondary { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 18px; }
  .updates-inner { grid-template-columns: minmax(0, 1fr); gap: 25px; }
  .updates-list { grid-row: auto; }
}

@media (max-width: 560px) {
  .main-nav { gap: 6px; }
  .nav-link { font-size: 9px; }
  .services-section { padding-top: 8px; padding-bottom: 63px; }
  .service-group-label { margin-top: 28px; font-size: 10px; }
  .service-group-label span:last-child { font-size: 8px; }
  .service-grid, .service-grid-secondary { grid-template-columns: minmax(0, 1fr); }
  .service-item, .service-grid-secondary .service-item { min-height: 0; padding: 17px 0 18px; }
  .service-item-main { grid-column: auto; min-height: 0; padding: 19px 16px; }
  .service-item h3 { margin-top: 8px; font-size: 16px; }
  .service-item p { margin-bottom: 12px; font-size: 10px; }
  .service-item-main h3 { font-size: 18px; }
  .service-info-strip { margin-top: 21px; padding: 11px; }
  .updates-inner { width: calc(100% - 38px); padding: 44px 0 37px; }
  .updates-inner h2 { font-size: 26px; }
  .updates-list > div { grid-template-columns: 77px minmax(0, 1fr) 20px; gap: 9px; padding: 13px 0; }
  .updates-list span { font-size: 9px; }
  .updates-list p { font-size: 10px; }
}

:root {
  color-scheme: light;
  --paper: #f2f4f5;
  --ink: #111a28;
  --muted: #68727e;
  --line: #d3d8dc;
  --acid: #f0d37d;
  --red: #a95c45;
  --denim: #142238;
  --sand: #c99e3e;
  --mint: #e3e7e9;
}

body {
  color: var(--ink);
  background-color: var(--paper);
  background-image: linear-gradient(rgba(20, 34, 56, .025) 1px, transparent 1px), linear-gradient(90deg, rgba(20, 34, 56, .025) 1px, transparent 1px);
  background-size: 36px 36px;
}

button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible { outline-color: var(--sand); }
.site-header { background: #111a28; border-bottom-color: rgba(201, 158, 62, .65); }
.brand-mark { color: #111a28; background: var(--sand); }
.brand-name { color: #f4f5f6; }
.brand-name span { color: #c3c9cf; }
.main-nav { gap: clamp(12px, 1.9vw, 25px); }
.nav-link { color: #d4d9df; }
.nav-link:hover, .nav-link.is-current { color: #f0d37d; }
.nav-link.is-current::after { background: var(--sand); }
.header-action { border-color: var(--sand); color: #111a28; background: var(--sand); }
.header-action:hover { border-color: #f0d37d; color: #111a28; background: #f0d37d; }
.header-action span { color: #111a28; }

.hero { background: #101927; }
.hero-image { height: clamp(390px, 47vw, 620px); object-position: center 50%; }
.hero-image-home { object-position: center 65%; }
.hero-caption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  min-height: 118px;
  align-items: end;
  padding: 42px clamp(20px, 6.3vw, 96px) 22px;
  border: 0;
  background: linear-gradient(180deg, transparent, rgba(9, 15, 25, .88));
}
.hero-caption p { color: #f2f2ef; font-size: 13px; }
.hero-caption p span, .hero-caption a span { color: #f0d37d; }
.hero-caption a { color: #fff; font-size: 12px; }

.catalog { padding-top: 76px; }
.section-eyebrow, .service-index { color: #9a7425; }
.section-eyebrow span { color: var(--sand); }
.section-heading h2 { color: var(--ink); }
.sample-notice { border-left-color: var(--sand); background: #e7ebed; }
.notice-mark { border-color: #82909c; color: var(--denim); }
.sample-notice p { color: #3d4854; }
.search-box, .level-select-wrap select { border-color: #c3cbd1; background: #fff; }
.filter-chip { border-color: #c3cbd1; color: #253346; }
.filter-chip:hover { border-color: var(--sand); color: #8a661e; }
.filter-chip.is-active { border-color: var(--denim); color: #111a28; background: var(--sand); }
.filter-chip span { color: #f0d37d; }
.filter-chip.is-active span { color: #111a28; }
.results-bar { border-bottom-color: #c3cbd1; }
.course-card { border-color: #c8cfd4; background: #fff; }
.course-card:hover { border-color: var(--sand); }
.card-art { background: #d9dfe4; }
.card-art[data-style="編舞"], .card-art[data-style="Jazz"] { --card-color: #dec47e; }
.card-art[data-style="K-POP"] { --card-color: #d8d9d6; }
.card-art[data-style="Popping"] { --card-color: #a9bbc5; }
.card-art[data-style="Locking"] { --card-color: #d6b85f; }
.card-art[data-style="Hip-hop"] { --card-color: #aab9c8; }
.card-art[data-style="樂齡街舞"] { --card-color: #c8d3d6; }
.style-label, .card-teacher, .class-time { color: #596573; }
.level-badge { color: #24364b; background: #e5e9ec; }
.teacher-dot { color: #f6f4ee; background: var(--denim); }
.card-footer { border-top-color: #e0e4e7; }
.details-button span { color: #9a7425; }
.reset-button { border-color: var(--denim); color: var(--denim); }
.reset-button:hover { color: #fff; background: var(--denim); }

.services-section { padding-top: 64px; }
.service-group-label { border-bottom-color: #bdc6ce; color: #9a7425; }
.service-group-label span:last-child { color: #7b8490; }
.service-item { border-bottom-color: #d3d9dd; }
.service-item h3 { color: var(--ink); }
.service-item p { color: #55616d; }
.service-tags span { border-color: #c9d0d5; color: #33465d; }
.service-item-main { background: var(--denim); }
.service-item-main .service-index { color: #f0d37d; }
.service-info-strip { border-left-color: var(--sand); background: #e5e9eb; }
.service-info-mark { color: #936d20; }
.service-info-strip p { color: #46515d; }
.updates-section, .crew-section { background: #111a28; }
.updates-inner .eyebrow, .crew-copy .eyebrow { color: #f0d37d; }
.updates-inner .eyebrow span, .crew-copy .eyebrow span { color: #b8c3cd; }
.updates-list span, .updates-list b, .crew-copy > a span { color: #f0d37d; }
.updates-list p, .about-copy { color: #d3d8dd; }
.updates-note { color: #acb6bf; }
.teachers-section { padding-top: 64px; }
.teacher-profile { border-color: #ccd3d8; background: #e6eaed; }
.teacher-profile figcaption { border-top-color: #d1d7dc; background: #fff; }
.teacher-profile figcaption span { color: #737e89; }
.crew-section { border-top: 4px solid var(--sand); }
.crew-copy h2 { color: #f6f4ee; }
.crew-copy > p:not(.eyebrow) { color: #cbd2d9; }
.crew-copy > a { border-bottom-color: var(--sand); }
.site-footer { border-top: 1px solid rgba(201, 158, 62, .55); color: #f3f4f5; background: #111a28; }
.site-footer > p, .site-footer small { color: #c0c8d0; }
.site-footer small { border-top-color: #394554; }
.back-to-top { color: #e0e4e8; }
.back-to-top span { color: #f0d37d; }
.course-dialog { background: #f4f5f4; }
.course-dialog::backdrop { background: rgba(8, 14, 23, .78); }
.dialog-close { color: #111a28; background: var(--sand); }
.dialog-content .eyebrow { color: #936d20; }
.dialog-description, .detail-list dt { color: #63707b; }
.dialog-note { color: #737e89; }

.about-hero { position: relative; min-height: 590px; overflow: hidden; color: #fff; background: #0e1725; }
.about-hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 62%; opacity: .68; }
.about-hero::after { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(9, 16, 27, .82), rgba(9, 16, 27, .23) 78%), linear-gradient(0deg, rgba(9, 16, 27, .82), transparent 55%); content: ""; }
.about-hero-content { position: relative; z-index: 1; display: flex; width: min(1120px, 88%); min-height: 590px; flex-direction: column; justify-content: end; margin: auto; padding: 90px 0 68px; }
.about-hero-content .eyebrow { color: #f0d37d; font-size: 11px; }
.about-hero-content h1 { max-width: 800px; margin: 18px 0 14px; color: #fff; font-size: clamp(38px, 5vw, 68px); font-weight: 900; line-height: 1.18; }
.about-hero-content > p:not(.eyebrow) { max-width: 580px; margin: 0; color: #e0e4e8; font-size: 15px; line-height: 1.9; }
.about-hero-link { display: inline-flex; align-items: center; gap: 12px; align-self: flex-start; margin-top: 24px; padding: 0 0 7px; border-bottom: 1px solid var(--sand); color: #f0d37d; font-size: 13px; font-weight: 700; }
.about-story { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; gap: clamp(32px, 7vw, 96px); padding: 82px max(6vw, calc((100vw - 1120px) / 2)); color: #f4f5f6; background: #111a28; }
.about-story-copy .eyebrow { color: #f0d37d; }
.about-story-copy h2 { margin: 16px 0 18px; color: #fff; font-size: clamp(32px, 4.4vw, 52px); font-weight: 900; line-height: 1.22; }
.about-story-copy p:not(.eyebrow) { margin: 0 0 14px; color: #d0d6dc; font-size: 14px; line-height: 2; }
.about-story-image { display: block; width: 100%; max-height: 420px; object-fit: cover; border: 1px solid rgba(240, 211, 125, .55); }
.about-map { width: 100%; aspect-ratio: 16 / 7; min-height: 260px; margin-top: 18px; overflow: hidden; border: 1px solid #c5cdd3; background: #dfe4e7; }
.about-map iframe { display: block; width: 100%; height: 100%; border: 0; }
.about-programs { padding-top: 82px; padding-bottom: 88px; }
.about-programs-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin-top: 38px; border-top: 1px solid #c7cfd5; }
.about-program { min-width: 0; padding: 22px 8px 0 0; border-top: 3px solid var(--sand); }
.about-program-index { color: #9a7425; font-family: var(--display); font-size: 11px; font-weight: 700; }
.about-program h3 { margin: 13px 0 9px; color: var(--ink); font-size: 20px; font-weight: 800; }
.about-program p { margin: 0; color: #596572; font-size: 13px; line-height: 1.9; }
.about-visit { display: grid; grid-template-columns: minmax(0, 1fr) minmax(250px, .7fr); align-items: center; gap: 48px; padding: 58px max(6vw, calc((100vw - 1120px) / 2)); background: #e5e9ec; border-top: 1px solid #d0d6da; }
.about-visit > div { min-width: 0; }
.about-visit .eyebrow { color: #9a7425; }
.about-visit h2 { margin: 11px 0; color: var(--ink); font-size: clamp(26px, 3vw, 38px); font-weight: 900; }
.about-visit address { color: #394757; font-size: 15px; font-style: normal; line-height: 1.8; }
.about-visit-note { margin: 12px 0 0; color: #66717d; font-size: 12px; }
.about-visit-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.about-visit-actions a { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; padding: 0 16px; border: 1px solid var(--denim); color: #fff; background: var(--denim); font-size: 12px; font-weight: 700; }
.about-visit-actions a + a { border-color: #a88331; color: #6f5117; background: transparent; }

@media (max-width: 800px) {
  .main-nav { gap: 12px; }
  .about-story { grid-template-columns: 1fr 1fr; gap: 28px; padding-right: 6%; padding-left: 6%; }
  .about-visit { grid-template-columns: minmax(0, 1fr); gap: 24px; }
}

@media (max-width: 560px) {
  .site-header { background: #111a28; border-bottom-color: rgba(201, 158, 62, .65); }
  .brand-name, .brand-name span { color: #f3f4f5; }
  .main-nav { gap: 4px; border-bottom-color: #394554; background: #111a28; }
  .nav-link { color: #d4d9df; }
  .nav-link.is-current { color: #f0d37d; }
  .header-action { border-color: var(--sand); color: #111a28; background: var(--sand); }
  .hero-image { height: 360px; object-position: center 48%; }
  .hero-image-home { object-position: center 64%; }
  .hero-caption { min-height: 94px; align-items: end; padding: 34px 17px 16px; }
  .hero-caption p, .hero-caption a { font-size: 10px; }
  .about-hero { min-height: 550px; }
  .about-hero-content { width: calc(100% - 38px); min-height: 550px; padding: 70px 0 42px; }
  .about-hero-content h1 { font-size: 38px; }
  .about-hero-content > p:not(.eyebrow) { font-size: 13px; }
  .about-story { grid-template-columns: 1fr; gap: 22px; padding: 48px 19px 38px; }
  .about-story-copy h2 { font-size: 32px; }
  .about-story-copy p:not(.eyebrow) { font-size: 12px; }
  .about-story-image { max-height: 260px; }
  .about-programs { padding-top: 52px; padding-bottom: 56px; }
  .about-programs-grid { grid-template-columns: 1fr; gap: 22px; margin-top: 26px; }
  .about-program { padding-top: 15px; }
  .about-program h3 { margin: 8px 0; font-size: 18px; }
  .about-program p { font-size: 12px; }
  .about-visit { gap: 20px; padding: 38px 19px; }
  .about-visit h2 { font-size: 28px; }
  .about-map { aspect-ratio: 4 / 3; min-height: 280px; }
  .site-footer { background: #111a28; }
}