:root {
  --brand: #D9542B;
  --brand-dark: #B13E1A;
  --ink: #2B2320;
  --ink-soft: #6A5D57;
  --bg: #FFF8EF;
  --card: #FFFFFF;
  --line: #EADFD2;
  --c: var(--brand);
  --c-light: #FBE6DC;
  --radius: 20px;
  --shadow: 0 2px 0 rgba(43, 35, 32, .06), 0 8px 24px rgba(43, 35, 32, .06);
  --font: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
  --font-fun: "LXGW WenKai TC", "Noto Sans TC", "PingFang TC", sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.75;
}
img { max-width: 100%; display: block; }
a { color: var(--brand-dark); }
h1, h2, h3 { font-family: var(--font-fun); line-height: 1.3; margin: 0 0 .5em; }
h2 { font-size: 1.6rem; }
p { margin: 0 0 1em; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 16px; }
.section { padding: 40px 0; }
.muted { color: var(--ink-soft); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* 頁首 */
.site-header { background: var(--card); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 60px; }
.logo { font-family: var(--font-fun); font-size: 1.35rem; font-weight: 700; color: var(--ink); text-decoration: none; display: flex; align-items: center; gap: 8px; }
.logo-mark { width: 34px; height: 34px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-size: 1.05rem; }
.nav { display: flex; gap: 4px; flex-wrap: wrap; }
.nav a { color: var(--ink); text-decoration: none; padding: 6px 12px; border-radius: 999px; font-size: .95rem; }
.nav a:hover, .nav a[aria-current="page"] { background: var(--c-light); color: var(--brand-dark); }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 10px; padding: 6px 12px; font: inherit; color: var(--ink); }
@media (max-width: 720px) {
  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 60px; background: var(--card); border-bottom: 1px solid var(--line); flex-direction: column; padding: 8px 16px 16px; }
  .nav.open { display: flex; }
  .nav a { padding: 10px 12px; }
}

/* 頁尾 */
.site-footer { border-top: 1px solid var(--line); padding: 28px 0 40px; font-size: .9rem; color: var(--ink-soft); }
.site-footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }

/* 首頁 */
.hero { text-align: center; padding-top: 36px; padding-bottom: 8px; }
@media (max-width: 560px) { .orchestra { padding: 10px 6px; } }
.hero h1 { font-size: clamp(2rem, 6vw, 3rem); }
.hero p { font-size: 1.1rem; color: var(--ink-soft); }
.orchestra { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 16px; margin-top: 16px; }
.orchestra svg { width: 100%; height: auto; display: block; }
.seat path { stroke: #fff; stroke-width: 3; cursor: pointer; transition: filter .15s, transform .15s; }
.seat text { fill: #fff; font-family: var(--font-fun); font-weight: 700; pointer-events: none; }
.seat.soon path { opacity: .45; }
.seat:hover path, .seat:focus-visible path, .seat.active path { filter: brightness(1.12) saturate(1.1); }
.seat.active path { stroke: var(--ink); stroke-width: 4; }
.seat:focus { outline: none; }
.conductor { fill: var(--ink); }
.conductor-label { fill: var(--ink-soft); font-size: 20px; }
.legend { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; font-size: .9rem; margin: 10px 0 0; padding: 0; list-style: none; }
.legend li { display: flex; align-items: center; gap: 6px; }
.legend i { width: 14px; height: 14px; border-radius: 4px; display: inline-block; }
.seat-panel { margin-top: 16px; border-radius: var(--radius); background: var(--c-light); padding: 20px; min-height: 120px; }
.seat-panel h3 { font-size: 1.5rem; margin-bottom: .2em; }
.seat-panel .fam { font-size: .9rem; color: var(--ink-soft); }
.seat-panel .koujue { font-family: var(--font-fun); font-size: 1.2rem; }

.btn { display: inline-block; background: var(--c); color: #fff; text-decoration: none; padding: 10px 22px; border-radius: 999px; font-weight: 700; border: 0; font: inherit; font-weight: 700; cursor: pointer; }
.btn:hover { filter: brightness(1.08); }
.btn.ghost { background: transparent; color: var(--c); border: 2px solid var(--c); }
.tag { display: inline-block; font-size: .8rem; padding: 2px 10px; border-radius: 999px; background: #fff; color: var(--ink-soft); border: 1px solid var(--line); }

.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
.inst-card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); text-decoration: none; color: var(--ink); overflow: hidden; display: flex; flex-direction: column; border-top: 6px solid var(--c); }
.inst-card img { aspect-ratio: 5 / 4; object-fit: cover; background: var(--c-light); }
.inst-card .body { padding: 12px 16px 16px; }
.inst-card h3 { font-size: 1.4rem; margin: 0; color: var(--c); }
.inst-card p { font-size: .9rem; color: var(--ink-soft); margin: 0; }

.family { display: grid; grid-template-columns: 64px 1fr; gap: 16px; align-items: start; margin-bottom: 28px; }
.family-char { width: 64px; height: 64px; border-radius: 18px; background: var(--c); color: #fff; font-family: var(--font-fun); font-size: 2rem; display: grid; place-items: center; }
.family .grid { margin-top: 12px; }
.coming { background: var(--card); border: 2px dashed var(--line); border-radius: var(--radius); padding: 12px 16px; color: var(--ink-soft); font-size: .9rem; }

.cta { background: var(--brand); color: #fff; border-radius: var(--radius); padding: 28px; text-align: center; }
.cta h2 { color: #fff; }
.cta .btn { background: #fff; color: var(--brand-dark); }

/* 樂器頁 */
.inst-hero { background: var(--c-light); padding: 28px 0 36px; }
.inst-hero .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: center; }
@media (max-width: 720px) {
  .inst-hero .wrap { grid-template-columns: 1fr; gap: 16px; }
  .inst-hero img { max-height: 240px; object-fit: cover; }
}
.inst-hero img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; }
.inst-hero h1 { font-size: clamp(2.6rem, 10vw, 4rem); color: var(--c); margin-bottom: .1em; }
.koujue-big { font-family: var(--font-fun); font-size: clamp(1.4rem, 5vw, 1.9rem); line-height: 1.5; background: #fff; border-radius: var(--radius); padding: 14px 20px; border-left: 8px solid var(--c); margin: 14px 0; }
.crumbs { font-size: .9rem; margin-bottom: 8px; }
.crumbs a { color: var(--ink-soft); }

.videos { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.yt { position: relative; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; background: #000; border: 0; padding: 0; cursor: pointer; width: 100%; display: block; }
.yt img { width: 100%; height: 100%; object-fit: cover; opacity: .85; }
.yt .play { position: absolute; inset: 0; margin: auto; width: 68px; height: 48px; border-radius: 14px; background: #E62117; display: grid; place-items: center; }
.yt .play::after { content: ""; border-style: solid; border-width: 10px 0 10px 17px; border-color: transparent transparent transparent #fff; margin-left: 4px; }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-title { font-size: .9rem; margin: 6px 2px 0; color: var(--ink-soft); }

.facts { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); counter-reset: fact; }
.fact { background: var(--card); border-radius: var(--radius); padding: 18px 18px 14px; box-shadow: var(--shadow); position: relative; }
.fact h3 { font-size: 1.2rem; color: var(--c); display: flex; gap: 10px; align-items: center; }
.fact h3::before { counter-increment: fact; content: counter(fact); flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--c); color: #fff; font-size: 1rem; display: grid; place-items: center; }
.fact p { margin: 0; font-size: .98rem; }

.pieces { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; list-style: none; }
.pieces li { background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 6px 16px; }

.teacher { display: grid; grid-template-columns: 96px 1fr; gap: 16px; align-items: center; background: var(--card); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); }
.teacher-photo { width: 96px; height: 96px; border-radius: 50%; background: var(--c-light); display: grid; place-items: center; font-family: var(--font-fun); font-size: 2rem; color: var(--c); }

.parents { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); }
.parents > summary { cursor: pointer; padding: 18px 22px; font-family: var(--font-fun); font-size: 1.35rem; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.parents > summary::-webkit-details-marker { display: none; }
.parents > summary::after { content: "＋"; color: var(--c); font-size: 1.5rem; }
.parents[open] > summary::after { content: "－"; }
.parents .qa { padding: 0 22px 10px; }
.qa dt { font-weight: 700; margin-top: 12px; }
.qa dt::before { content: "Q. "; color: var(--c); }
.qa dd { margin: 4px 0 0; color: var(--ink-soft); }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; padding: 0; list-style: none; counter-reset: step; }
@media (max-width: 560px) { .steps { grid-template-columns: repeat(2, 1fr); } }
.steps a { display: block; text-align: center; text-decoration: none; color: var(--ink); background: var(--card); border-radius: 16px; padding: 14px 8px; box-shadow: var(--shadow); height: 100%; }
.steps a::before { counter-increment: step; content: counter(step); display: block; width: 32px; height: 32px; margin: 0 auto 6px; border-radius: 50%; background: var(--c); color: #fff; line-height: 32px; font-weight: 700; }
.steps strong { display: block; font-family: var(--font-fun); font-size: 1.15rem; }
.steps span { font-size: .85rem; color: var(--ink-soft); }

.other-inst { display: flex; gap: 8px; flex-wrap: wrap; }
.other-inst a { text-decoration: none; padding: 8px 16px; border-radius: 999px; color: #fff; background: var(--c); font-weight: 700; }

/* 文章 */
.prose { max-width: 720px; }
.prose h2 { margin-top: 1.4em; font-size: 1.4rem; }
.article-list { list-style: none; padding: 0; display: grid; gap: 16px; }
.article-list a { display: block; background: var(--card); border-radius: var(--radius); padding: 18px 22px; box-shadow: var(--shadow); text-decoration: none; color: var(--ink); }
.article-list h3 { color: var(--brand-dark); margin-bottom: .2em; }
.page-head { padding: 32px 0 8px; }
.page-head h1 { font-size: clamp(2rem, 6vw, 2.6rem); }
.notice { background: var(--card); border-left: 8px solid var(--brand); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); font-size: 1.1rem; }
