:root {
  --paper: #FCFBF8;
  --ink: #22304A;
  --ink-soft: #5A6478;
  --honey: #F0B44C;
  --honey-soft: #FBEBC9;
  --honey-deep: #8A5A0B;
  --blush: #F6E3DC;
  --line-green: #06C755;
  --line-green-dark: #05A648;
  --rule: #E7E3DA;
  --round: "Huninn", "jf-openhuninn", "Arial Rounded MT Bold", "PingFang TC", "Microsoft JhengHei", sans-serif;
  --sans: "PingFang TC", "Noto Sans TC", "Microsoft JhengHei", "Heiti TC", sans-serif;
  --wrap: 1120px;
  --gutter: clamp(20px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }

body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--sans); font-size: 17px; line-height: 1.85;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: var(--round); font-weight: 400; line-height: 1.35; margin: 0; letter-spacing: 0.02em; }
h1 { font-size: clamp(2.2rem, 6.4vw, 4rem); }
h2 { font-size: clamp(1.65rem, 4vw, 2.35rem); margin-bottom: 1.1rem; }
h3 { font-size: 1.25rem; margin-bottom: 0.35rem; }
p { margin: 0 0 1em; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--honey); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

/* ===== Top bar ===== */
.topbar {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; gap: 24px;
  padding: 10px var(--gutter);
  background: rgba(252, 251, 248, 0.95); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--rule);
}
.brand { display: flex; align-items: baseline; gap: 8px; text-decoration: none; margin-right: auto; }
.brand-mark { width: 26px; height: 26px; align-self: center; }
.brand-name { font-family: var(--round); font-size: 1.65rem; letter-spacing: 0.1em; }
.brand-sub { font-size: 0.82rem; color: var(--ink-soft); letter-spacing: 0.08em; }
.mainnav { display: flex; gap: 22px; }
.mainnav a { text-decoration: none; font-size: 0.95rem; padding: 4px 0; border-bottom: 2px solid transparent; }
.mainnav a:hover { border-color: var(--honey); }
.topbar-actions { display: flex; align-items: center; gap: 10px; }
.menu-toggle { display: none; width: 42px; height: 42px; border: 0; background: none; padding: 10px; cursor: pointer; border-radius: 10px; }
.menu-toggle span { display: block; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; transition: transform .2s, opacity .2s; }
.menu-open .menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 959px) {
  .menu-toggle { display: block; }
  .brand-sub { display: none; }
  .mainnav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; gap: 0; background: var(--paper);
    border-bottom: 1px solid var(--rule); padding: 8px var(--gutter) 16px;
    display: none;
  }
  .menu-open .mainnav { display: flex; }
  .mainnav a { padding: 12px 0; border-bottom: 1px solid var(--rule); font-size: 1.05rem; }
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; text-decoration: none; font-weight: 500;
  padding: 12px 26px; border-radius: 999px; font-size: 1rem; line-height: 1.4; border: 0; cursor: pointer;
  transition: background-color .15s, color .15s, transform .1s;
}
.btn:active { transform: translateY(1px); }
.btn-line { background: var(--line-green); color: #fff; }
.btn-line::before {
  content: ""; width: 18px; height: 18px; margin-right: 8px; flex: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M12 3C6.5 3 2 6.6 2 11c0 3.9 3.5 7.2 8.3 7.9.3.1.8.2.9.5.1.3.1.7 0 1l-.1.9c0 .3-.2 1 .9.6 1.1-.5 6-3.5 8.2-6.1 1.5-1.6 2.2-3.3 2.2-5.1C22 6.6 17.5 3 12 3z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.btn-line:hover { background: var(--line-green-dark); }
.btn-ghost { border: 1.5px solid var(--ink); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.btn-small { padding: 7px 16px; font-size: 0.9rem; }
.btn-small::before { width: 15px; height: 15px; margin-right: 6px; }
.btn-large { padding: 15px 34px; font-size: 1.1rem; }

/* ===== Photos ===== */
.photo { margin: 0; background: var(--blush); border-radius: 28px; overflow: hidden; position: relative; }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo-empty { display: flex; align-items: center; justify-content: center; color: #7A4E40; font-size: 0.9rem; text-align: center; padding: 12px; }
.photo figcaption {
  position: absolute; left: 10px; bottom: 10px; right: 10px; font-size: 0.82rem; line-height: 1.5;
  background: rgba(252, 251, 248, 0.92); padding: 4px 10px; border-radius: 10px; width: fit-content;
}

/* ===== Hero ===== */
.hero { max-width: var(--wrap); margin: 0 auto; padding: clamp(36px, 6vw, 72px) var(--gutter) 0; }
.hero-inner { display: grid; gap: 36px; align-items: center; }
.hero-place { display: inline-block; font-size: 0.9rem; color: var(--honey-deep); background: var(--honey-soft); padding: 3px 14px; border-radius: 999px; margin-bottom: 1.2rem; }
.lead { font-size: 1.12rem; color: var(--ink-soft); margin: 1.3rem 0 1.9rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-visual { position: relative; }
.photo-hero { aspect-ratio: 5 / 4; border-radius: 200px 200px 28px 28px; background: var(--honey-soft); position: relative; z-index: 1; }
.staff { position: absolute; z-index: 2; width: 46%; right: -4%; bottom: -6%; color: var(--ink); opacity: 0.85; }
.hero-visual::before {
  content: ""; position: absolute; width: 38%; aspect-ratio: 1; border-radius: 50%;
  background: var(--blush); left: -8%; top: -6%; z-index: 0;
}
@media (min-width: 860px) {
  .hero-inner { grid-template-columns: 1.1fr 1fr; gap: 64px; }
  .photo-hero { aspect-ratio: 4 / 5; max-height: 560px; }
}

/* ===== Keyboard nav ===== */
.keyboard { margin: clamp(44px, 7vw, 80px) 0 0; }
.keyboard-hint { font-size: 0.85rem; color: var(--ink-soft); margin-bottom: 10px; text-align: center; }
.keys {
  position: relative; display: flex; height: clamp(130px, 17vw, 180px);
  background: var(--ink); padding: 10px 10px 0; border-radius: 20px 20px 0 0; gap: 4px;
}
.key {
  flex: 1; display: flex; align-items: flex-end; justify-content: center;
  background: #fff; border-radius: 0 0 10px 10px; text-decoration: none;
  padding-bottom: 14px; font-family: var(--round); font-size: clamp(0.95rem, 2.4vw, 1.15rem);
  box-shadow: inset 0 -6px 0 #E9E6DF;
  transition: transform .08s, background-color .12s, box-shadow .08s;
}
.key:hover { background: var(--honey-soft); }
.key.pressed, .key:active { transform: translateY(3px); box-shadow: inset 0 -2px 0 #E9E6DF; background: var(--honey); }
.black {
  position: absolute; top: 10px; width: 9%; height: 56%; background: #10192B;
  border-radius: 0 0 7px 7px; pointer-events: none; transform: translateX(-50%);
}
.b1 { left: calc(10px + (100% - 20px) * 1 / 6); }
.b2 { left: calc(10px + (100% - 20px) * 2 / 6); }
.b3 { left: calc(10px + (100% - 20px) * 4 / 6); }
.b4 { left: calc(10px + (100% - 20px) * 5 / 6); }

/* ===== News bar ===== */
.newsbar { background: var(--ink); color: #fff; }
.newsbar-inner { max-width: var(--wrap); margin: 0 auto; padding: 14px var(--gutter); display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.newsbar-tag { font-size: 0.8rem; background: var(--honey); color: var(--ink); padding: 2px 12px; border-radius: 999px; }
.newsbar a { color: #fff; text-decoration: none; }
.newsbar a:hover { text-decoration: underline; }
.newsbar time { color: #AEB7C8; margin-right: 12px; font-size: 0.9rem; }
.newsbar-more { margin-left: auto; font-size: 0.9rem; color: #D5DBE6 !important; }

/* ===== Sections ===== */
.section { max-width: var(--wrap); margin: 0 auto; padding: clamp(60px, 9vw, 110px) var(--gutter); }
.section-tight { padding-top: clamp(28px, 4vw, 48px); }
.section-lead { color: var(--ink-soft); max-width: 36em; margin-top: -0.3rem; margin-bottom: 2.2rem; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.more { font-size: 0.95rem; color: var(--ink-soft); text-decoration-color: var(--honey); text-underline-offset: 5px; text-decoration-thickness: 2px; white-space: nowrap; }
.band-honey { background: var(--honey-soft); }
.band-soft { background: #F7F3EC; }
.prose p { max-width: 36em; }

/* ===== Teacher ===== */
.teacher { display: grid; gap: 40px; align-items: start; }
.photo-teacher { aspect-ratio: 1; width: min(100%, 300px); border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--blush); }
.photo-teacher .initial { font-family: var(--round); font-size: 6rem; color: #C98D78; }
.teacher-name { color: var(--honey-deep); font-size: 0.98rem; margin-top: -0.5rem; }
@media (min-width: 860px) {
  .teacher { grid-template-columns: 0.85fr 1.15fr; gap: 72px; align-items: center; }
  .photo-teacher { width: 100%; max-width: 440px; }
}
.facts { margin: 1.6rem 0 0; padding: 0; }
.facts div { display: grid; grid-template-columns: 6.5em 1fr; gap: 12px; padding: 10px 0; border-top: 1px solid var(--rule); }
.facts div:last-child { border-bottom: 1px solid var(--rule); }
.facts dt { color: var(--ink-soft); font-size: 0.95rem; }
.facts dd { margin: 0; }
.facts small { color: var(--ink-soft); }

/* ===== Approach ===== */
.points { list-style: none; padding: 0; margin: 0; display: grid; gap: 30px 64px; }
@media (min-width: 720px) { .points { grid-template-columns: 1fr 1fr; } }
.points li { padding-left: 30px; position: relative; }
.points li::before {
  content: ""; position: absolute; left: 0; top: 0.6em; width: 12px; height: 12px;
  border-radius: 50%; background: var(--honey); box-shadow: 0 0 0 5px rgba(240, 180, 76, 0.28);
}
.points p { color: var(--ink-soft); margin: 0; }

/* ===== Lessons ===== */
.path { list-style: none; padding: 0; margin: 0 0 2.5rem; display: grid; }
.path li { position: relative; padding: 0 0 34px 42px; }
.path li::before {
  content: ""; position: absolute; left: 4px; top: 8px; width: 18px; height: 18px;
  border-radius: 50%; border: 3px solid var(--ink); background: var(--paper);
}
.path li:nth-child(2)::before { background: var(--honey-soft); }
.path li:nth-child(3)::before { background: var(--honey); }
.path li:not(:last-child)::after { content: ""; position: absolute; left: 13px; top: 32px; bottom: 4px; width: 2px; background: var(--rule); }
.path .age { font-size: 0.9rem; color: var(--honey-deep); margin: 0 0 2px; }
.path p:last-child { color: var(--ink-soft); margin: 0; max-width: 32em; }
@media (min-width: 860px) {
  .path { grid-template-columns: repeat(3, 1fr); gap: 36px; }
  .path li { padding: 44px 0 0; }
  .path li::before { left: 0; top: 0; }
  .path li:not(:last-child)::after { left: 30px; right: -14px; top: 11px; bottom: auto; width: auto; height: 2px; }
}
.lesson-info { border-radius: 22px; background: #fff; border: 1px solid var(--rule); padding: 18px 26px; display: grid; }
@media (min-width: 860px) { .lesson-info { grid-template-columns: 1fr 1fr; column-gap: 40px; } }
.lesson-info p { margin: 0; padding: 8px 0; display: flex; gap: 12px; }
.lesson-info strong { flex: none; width: 5.5em; font-weight: 400; color: var(--ink-soft); }

/* ===== Gallery ===== */
.gallery-home { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
.gallery-home .photo { aspect-ratio: 1; border-radius: 22px; }
.gallery-home .g1 { grid-column: span 2; aspect-ratio: 16 / 10; }
@media (min-width: 860px) {
  .gallery-home { grid-template-columns: 2fr 1fr 1fr; }
  .gallery-home .g1 { grid-column: auto; grid-row: span 2; aspect-ratio: auto; }
}
.home-video { margin-top: 28px; max-width: 760px; }
.home-video p { color: var(--ink-soft); margin-top: 8px; }
.video { position: relative; aspect-ratio: 16 / 9; border-radius: 20px; overflow: hidden; background: #000; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.masonry { columns: 3 260px; column-gap: 14px; }
.masonry figure { margin: 0 0 14px; break-inside: avoid; }
.masonry img { border-radius: 18px; width: 100%; }
.masonry figcaption { font-size: 0.85rem; color: var(--ink-soft); padding: 6px 4px 0; }
.videos { display: grid; gap: 28px; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.videos h3 { margin-top: 10px; }
.videos p { color: var(--ink-soft); }
.sub { margin-top: 3rem; }
.note { font-size: 0.85rem; color: var(--ink-soft); margin-top: 14px; }
.empty { color: var(--ink-soft); padding: 40px 0; }

/* ===== Cards ===== */
.cards { display: grid; gap: 28px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); margin-top: 1rem; }
.card-link { display: block; text-decoration: none; height: 100%; }
.card-cover { aspect-ratio: 16 / 10; border-radius: 22px; overflow: hidden; background: var(--honey-soft); }
.card-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.card-link:hover .card-cover img { transform: scale(1.03); }
.card-cover-empty {
  display: flex; align-items: center; justify-content: center;
  background:
    repeating-linear-gradient(90deg, transparent 0 calc(14.285% - 2px), rgba(34, 48, 74, 0.12) calc(14.285% - 2px) 14.285%),
    var(--honey-soft);
}
.card-cover-empty span { font-family: var(--round); font-size: 3.4rem; color: var(--honey-deep); background: var(--paper); width: 96px; height: 96px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.card-body { padding: 14px 4px 0; }
.card-body time { font-size: 0.85rem; color: var(--ink-soft); }
.card-body h3 { font-size: 1.2rem; margin: 2px 0 6px; }
.card-link:hover h3 { text-decoration: underline; text-decoration-color: var(--honey); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.card-body p { color: var(--ink-soft); font-size: 0.95rem; margin: 0; }

/* ===== FAQ ===== */
.faq-list { border-top: 1px solid var(--rule); max-width: 48em; }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 44px 18px 0; position: relative; font-family: var(--round); font-size: 1.15rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 8px; top: 50%; transform: translateY(-50%); font-size: 1.6rem; color: var(--honey-deep); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq .answer { color: var(--ink-soft); padding-bottom: 10px; }

/* ===== Contact ===== */
.contact-wrap { background: var(--ink); color: #fff; }
.contact { display: grid; gap: 40px; align-items: center; }
.contact h2 { color: #fff; }
.contact p { color: #D5DBE6; }
.facts-light div { border-color: rgba(255, 255, 255, 0.16) !important; }
.facts-light dt, .facts-light small { color: #AEB7C8; }
@media (min-width: 860px) { .contact { grid-template-columns: 1.4fr 1fr; } }
.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.8rem; }
.qr { margin: 0; text-align: center; }
.qr-box { width: 210px; height: 210px; margin: 0 auto; border-radius: 26px; background: #fff; display: flex; align-items: center; justify-content: center; color: var(--ink-soft); font-size: 0.9rem; padding: 14px; }
.qr figcaption { font-size: 0.85rem; color: #AEB7C8; margin-top: 10px; }
@media (max-width: 859px) { .qr { display: none; } }

/* ===== Page head / article ===== */
.page-head { max-width: var(--wrap); margin: 0 auto; padding: clamp(40px, 6vw, 72px) var(--gutter) 0; }
.page-head p { color: var(--ink-soft); max-width: 36em; margin-top: 0.8rem; }
.page-404 { padding-bottom: 120px; }
.crumbs { font-size: 0.85rem; color: var(--ink-soft); margin-bottom: 0.8rem; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs a { color: var(--ink-soft); }
.crumbs > *:not(:last-child)::after { content: "/"; margin-left: 6px; color: var(--rule); }
.article { max-width: 760px; margin: 0 auto; padding: clamp(40px, 6vw, 72px) var(--gutter) 40px; }
.article-head h1 { font-size: clamp(1.9rem, 5vw, 2.8rem); }
.article-meta { color: var(--ink-soft); font-size: 0.92rem; display: flex; gap: 16px; margin-top: 1rem; }
.article-summary { font-size: 1.1rem; color: var(--ink-soft); border-left: 4px solid var(--honey); padding-left: 16px; }
.article-cover { margin: 28px 0; }
.article-cover img { border-radius: 24px; width: 100%; }
.article-body { margin-top: 2rem; font-size: 1.08rem; line-height: 2; }
.article-body h2 { font-size: 1.6rem; margin: 2.4rem 0 0.8rem; }
.article-body h3 { font-size: 1.3rem; margin: 2rem 0 0.6rem; }
.article-body ul, .article-body ol { padding-left: 1.4em; }
.article-body li { margin: 0.3em 0; }
.article-body blockquote { margin: 1.8rem 0; padding: 18px 24px; background: var(--honey-soft); border-radius: 18px; }
.article-body blockquote p { margin: 0; }
.article-body figure { margin: 1.8rem 0; }
.article-body figure img, .article-body p img { border-radius: 18px; }
.article-body figcaption { font-size: 0.88rem; color: var(--ink-soft); text-align: center; margin-top: 8px; }
.article-body a { text-decoration-color: var(--honey); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.article-body .video { margin: 1.8rem 0; }
.author { display: flex; gap: 18px; align-items: center; margin-top: 3rem; padding: 22px; border-radius: 22px; background: #F7F3EC; }
.author-avatar { flex: none; width: 76px; height: 76px; border-radius: 50%; overflow: hidden; background: var(--blush); display: flex; align-items: center; justify-content: center; }
.author-avatar img { width: 100%; height: 100%; object-fit: cover; }
.author-avatar span { font-family: var(--round); font-size: 2rem; color: #C98D78; }
.author p { margin: 0; color: var(--ink-soft); font-size: 0.92rem; }
.author .author-name { color: var(--ink); font-size: 1rem; margin-bottom: 4px; }
.author a { font-size: 0.9rem; }
.pager { display: flex; gap: 8px; justify-content: center; margin-top: 48px; }
.pager a, .pager span { min-width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; text-decoration: none; border: 1px solid var(--rule); }
.pager span { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ===== Footer ===== */
.footer { background: #1A2539; color: #C9CFDB; padding: 48px var(--gutter) 24px; font-size: 0.92rem; }
.footer-inner { max-width: var(--wrap); margin: 0 auto; display: grid; gap: 32px; }
@media (min-width: 760px) { .footer-inner { grid-template-columns: 1fr 1.4fr; } }
.footer-name { font-family: var(--round); font-size: 1.6rem; color: #fff; margin-bottom: 4px; }
.footer-name small { font-family: var(--sans); font-size: 0.85rem; color: #AEB7C8; margin-left: 6px; }
.footer-nav { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 8px 20px; align-content: start; }
.footer-nav a { color: #C9CFDB; text-decoration: none; }
.footer-nav a:hover { color: #fff; text-decoration: underline; }
.copy { max-width: var(--wrap); margin: 36px auto 0; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.1); font-size: 0.82rem; color: #8E98AC; }

/* ===== Lightbox ===== */
.lightbox { position: fixed; inset: 0; background: rgba(16, 25, 43, 0.92); display: flex; align-items: center; justify-content: center; z-index: 50; padding: 20px; cursor: zoom-out; }
.lightbox img { max-height: 90vh; max-width: 100%; border-radius: 12px; }

/* ===== 預約試上 ===== */
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--honey-soft); }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: #31446A; }
.booking { max-width: 900px; }
.booking-form fieldset { border: 0; padding: 0; margin: 0 0 40px; min-width: 0; }
.booking-form legend { font-family: var(--round); font-size: 1.4rem; display: flex; align-items: center; gap: 12px; margin-bottom: 6px; padding: 0; }
.step { width: 34px; height: 34px; border-radius: 50%; background: var(--honey); color: var(--ink); display: inline-flex; align-items: center; justify-content: center; font-size: 1.05rem; flex: none; }
.hint { color: var(--ink-soft); font-size: 0.9rem; margin: 4px 0 0; }
.slot-days { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); margin: 18px 0 14px; }
.slot-day { background: #fff; border: 1px solid var(--rule); border-radius: 20px; padding: 16px 18px; }
.slot-day h3 { font-size: 1.15rem; margin-bottom: 4px; }
.slot-part { font-size: 0.82rem; color: var(--ink-soft); margin: 8px 0 4px; }
.slot-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span { display: inline-block; padding: 5px 13px; border-radius: 999px; border: 1.5px solid var(--rule); background: var(--paper); font-variant-numeric: tabular-nums; font-size: 0.95rem; transition: background-color .12s, border-color .12s; }
.chip:hover span { border-color: var(--honey); }
.chip input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip input:focus-visible + span { outline: 3px solid var(--honey); outline-offset: 2px; }
.chip-other span { background: #fff; }
.form-grid { display: grid; gap: 4px 20px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin-top: 14px; }
.field { margin-bottom: 16px; }
.field > label { display: block; font-weight: 500; margin-bottom: 4px; }
.req { font-size: 0.75rem; color: var(--honey-deep); background: var(--honey-soft); padding: 1px 8px; border-radius: 999px; margin-left: 4px; font-weight: 400; }
.booking-form input:not([type=radio]):not([type=checkbox]), .booking-form textarea {
  width: 100%; font: inherit; color: var(--ink); background: #fff; border: 1.5px solid var(--rule); border-radius: 14px; padding: 11px 14px;
}
.booking-form input:focus, .booking-form textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(240, 180, 76, 0.35); }
.booking-form [aria-invalid="true"] { border-color: #C0392B !important; }
.field-error { color: #B3261E; font-size: 0.9rem; margin: 6px 0 0; }
.form-alert { background: #FCE8E6; color: #8C1D18; padding: 12px 18px; border-radius: 14px; margin-bottom: 24px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400 !important; cursor: pointer; }
.check input { margin-top: 0.45em; width: 18px; height: 18px; flex: none; }
.agree { background: #F7F3EC; border-radius: 18px; padding: 16px 20px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.booking-done { background: var(--honey-soft); border-radius: 26px; padding: 36px clamp(20px, 4vw, 44px); }
.booking-done .btn { margin-top: 8px; }
.btn-honey { background: var(--honey); color: var(--ink); }
.btn-honey:hover { background: #F5C46E; }
.contact-card { display: grid; grid-template-columns: 36px 1fr; gap: 14px 14px; align-items: center; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: 24px; padding: 26px 28px; color: #fff; text-decoration: none; }
.contact-card:hover { background: rgba(255,255,255,.1); }
.contact-card-step { width: 36px; height: 36px; border-radius: 50%; background: var(--honey); color: var(--ink); display: flex; align-items: center; justify-content: center; font-family: var(--round); }
@media (max-width: 859px) { .contact-card { display: none; } }

/* ===== 定位強化：特色標籤、特質孩子 ===== */
.hero-badges { list-style: none; padding: 0; margin: -0.6rem 0 1.8rem; display: flex; flex-wrap: wrap; gap: 8px; }
.hero-badges li { font-size: 0.9rem; padding: 4px 14px 4px 30px; border-radius: 999px; background: #fff; border: 1px solid var(--rule); position: relative; }
.hero-badges li::before { content: ""; position: absolute; left: 12px; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%; background: var(--honey); }
.kids { display: grid; gap: 40px; }
@media (min-width: 900px) { .kids { grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: start; } .kids .note { grid-column: 1 / -1; } }
.kids-tags { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.kids-tags li { background: var(--blush); color: #8A4B3A; padding: 5px 14px; border-radius: 999px; font-size: 0.92rem; }
@media (min-width: 860px) { .path { grid-template-columns: repeat(4, 1fr); gap: 28px; } }
.hero h1 { font-size: clamp(2.1rem, 5.2vw, 3.5rem); }

/* ===== 手機底部預約按鈕 ===== */
.mobile-cta { display: none; }
@media (max-width: 859px) {
  .mobile-cta {
    display: flex; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 30;
    justify-content: space-between; align-items: center; gap: 12px;
    background: var(--ink); color: #fff; border-radius: 18px; padding: 10px 10px 10px 18px;
    box-shadow: 0 8px 24px rgba(16, 25, 43, .25);
    transform: translateY(130%); transition: transform .25s;
  }
  .mobile-cta.show { transform: none; }
  .mobile-cta span { font-size: 0.92rem; color: #D5DBE6; }
  body.has-cta .footer { padding-bottom: 96px; }
}

/* ===== 預約頁：日期選擇 ===== */
.date-strip { display: none; }
.js .date-strip { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 12px; margin: 16px 0 6px; scroll-snap-type: x proximity; }
.date-strip button {
  flex: none; scroll-snap-align: start; border: 1.5px solid var(--rule); background: #fff; color: var(--ink);
  border-radius: 16px; padding: 8px 14px; font: inherit; cursor: pointer; text-align: center; line-height: 1.35; min-width: 74px;
}
.date-strip button small { display: block; font-size: 0.78rem; color: var(--ink-soft); }
.date-strip button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.date-strip button[aria-pressed="true"] small { color: #D5DBE6; }
.date-strip button:focus-visible { outline: 3px solid var(--honey); outline-offset: 2px; }
.js .slot-days.one-day { grid-template-columns: 1fr; }
.js .slot-days.one-day .slot-day { display: none; }
.js .slot-days.one-day .slot-day.active { display: block; }
.slot-chosen { margin: 6px 0 0; font-size: 0.95rem; }
.contact-steps { list-style: none; padding: 0; margin: 0 0 36px; display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); counter-reset: s; }
.contact-steps li { counter-increment: s; background: var(--honey-soft); border-radius: 20px; padding: 16px 18px 16px 62px; position: relative; }
.contact-steps li::before { content: counter(s); position: absolute; left: 16px; top: 16px; width: 32px; height: 32px; border-radius: 50%; background: var(--honey); display: flex; align-items: center; justify-content: center; font-family: var(--round); }
.contact-steps strong { display: block; font-family: var(--round); font-weight: 400; font-size: 1.1rem; }
.contact-steps span { color: var(--ink-soft); font-size: 0.92rem; }

/* ===== 優化：首屏對象、琴音開關 ===== */
.hero-for { font-family: var(--round); font-size: 1.05rem; color: var(--ink); margin: -0.8rem 0 1.2rem; letter-spacing: 0.04em; }
.keyboard-bar { display: flex; align-items: center; justify-content: center; gap: 14px; margin-bottom: 10px; }
.keyboard-bar .keyboard-hint { margin: 0; }
.sound-toggle { font: inherit; font-size: 0.82rem; color: var(--ink-soft); background: #fff; border: 1px solid var(--rule); border-radius: 999px; padding: 3px 12px; cursor: pointer; min-height: 32px; }
.sound-toggle[aria-pressed="false"] { color: var(--ink-soft); background: transparent; text-decoration: line-through; }

/* ===== 優化：情境式教法 ===== */
.kids-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.kids-list li { background: #fff; border: 1px solid var(--rule); border-radius: 20px; padding: 16px 22px; display: grid; gap: 4px; }
@media (min-width: 640px) { .kids-list li { grid-template-columns: 13em 1fr; gap: 20px; align-items: baseline; } }
.kids-when { margin: 0; color: var(--ink-soft); font-size: 0.95rem; }
.kids-when strong { display: block; color: var(--ink); font-family: var(--round); font-weight: 400; font-size: 1.15rem; }
.kids-how { margin: 0; }

/* ===== 優化：家長說 ===== */
.voices-list { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.voice { margin: 0; background: #fff; border-radius: 22px; padding: 22px 24px; }
.voice blockquote { margin: 0 0 12px; font-size: 1.02rem; }
.voice blockquote p { margin: 0; }
.voice figcaption { color: var(--ink-soft); font-size: 0.9rem; }

/* ===== 優化：區塊中間的聯絡入口 ===== */
.inline-cta { padding-top: 0; padding-bottom: clamp(40px, 6vw, 64px); }
.inline-cta-box { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; border: 1.5px dashed var(--honey); border-radius: 22px; padding: 20px 26px; }
.inline-cta-box p { margin: 0; color: var(--ink-soft); }
.inline-cta-box strong { color: var(--ink); font-weight: 500; margin-right: 6px; }

/* ===== 優化：聯絡步驟在手機縮小 ===== */
@media (max-width: 640px) {
  .contact-steps { gap: 8px; margin-bottom: 24px; }
  .contact-steps li { padding: 10px 14px 10px 52px; border-radius: 16px; }
  .contact-steps li::before { left: 12px; top: 10px; width: 28px; height: 28px; font-size: 0.9rem; }
  .contact-steps strong { font-size: 1rem; }
  .contact-steps span { font-size: 0.85rem; }
}

/* ===== 優化：個資說明 ===== */
.privacy { margin-top: 12px; font-size: 0.88rem; color: var(--ink-soft); }
.privacy summary { cursor: pointer; color: var(--ink); text-decoration: underline; text-decoration-color: var(--honey); text-underline-offset: 4px; min-height: 32px; display: inline-flex; align-items: center; }
.privacy dl { margin: 10px 0; display: grid; gap: 6px; }
.privacy dl div { display: grid; grid-template-columns: 7em 1fr; gap: 8px; }
.privacy dt { color: var(--ink); }
.privacy dd { margin: 0; }
.privacy p { margin: 8px 0 0; }
.check input { width: 22px; height: 22px; }
.faq summary { min-height: 44px; }
