/* 價目表兩個設計方案。
   [V1] 取代舊站的 Google 試算表截圖（淡紫/淡綠/淡黃儲存格，與全站深色＋金褐完全不搭）。
   兩案共用同一組資料（pricing.py），只差呈現。 */

.price-wrap { --line: rgba(208,154,64,.28); }

.price-meta {
  font-size: .82rem;
  color: var(--ink-soft);
  letter-spacing: .04em;
  margin-bottom: 1rem;
}
.price-rules {
  font-size: .9rem;
  color: var(--ink);
  background: rgba(208,154,64,.09);
  border-left: 2px solid var(--gold);
  padding: .8rem 1.1rem;
  margin: 1.2rem 0 0;
}

/* 表格橫向捲動容器（窄螢幕不讓 body 橫捲） */
.price-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* ══════════ A 案：完整時段網格 ══════════ */
.ptable {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  font-family: var(--hand);
  font-size: .92rem;
  background: #141414;
}
.ptable caption { caption-side: top; text-align: left; padding-bottom: .6rem; font-size: .82rem; color: var(--ink-soft); }

.ptable th, .ptable td {
  padding: .55rem .9rem;
  border-bottom: 1px solid rgba(250,245,229,.07);
  text-align: right;
}
.ptable thead th {
  font-family: var(--serif);
  font-weight: 600;
  color: var(--gold);
  background: #101010;
  border-bottom: 1px solid var(--line);
  text-align: center;
  letter-spacing: .05em;
  white-space: nowrap;
}
.ptable thead tr:first-child th { font-size: 1rem; padding-top: .9rem; }
.ptable thead th .tier-note {
  display: block;
  font-family: var(--hand);
  font-weight: 400;
  font-size: .74rem;
  color: var(--ink-soft);
  letter-spacing: 0;
}
.ptable th[scope="row"], .ptable td.time {
  text-align: left;
  color: var(--ink);
  white-space: nowrap;
  font-weight: 400;
}
.ptable td.band-label {
  text-align: left;
  color: var(--gold);
  font-family: var(--serif);
  font-size: .86rem;
  vertical-align: middle;
  border-right: 1px solid var(--line);
  white-space: nowrap;
}
.ptable td.num {
  font-variant-numeric: tabular-nums;   /* 數字等寬對齊 */
  color: var(--ink);
  letter-spacing: .02em;
}
.ptable tbody tr:hover td { background: rgba(208,154,64,.07); }
.ptable tr.is-break td.time,
.ptable tr.is-break td.num { color: var(--ink-soft); }
/* 深夜延長：非一般營業時段、且三種費率同價，視覺上與上方時段切開 */
.ptable tr.is-overtime td { border-top: 1px solid var(--line); }
.ptable tr.is-overtime td.num { color: var(--gold); }
.ptable tfoot td {
  border-top: 1px solid var(--line);
  border-bottom: 0;
  padding-top: .85rem;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
}
.ptable tfoot td.time { color: var(--gold); font-family: var(--serif); }

/* ══════════ B 案：摘要卡 ＋ 完整表 ══════════ */
.ptier-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: clamp(.8rem, 2vw, 1.25rem);
  margin-bottom: 1.6rem;
}
.ptier {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(208,154,64,.07), rgba(208,154,64,.02));
  padding: 1.3rem 1.25rem 1.15rem;
  text-align: center;
}
.ptier--accent { border-color: var(--gold); background: linear-gradient(180deg, rgba(208,154,64,.16), rgba(208,154,64,.04)); }
.ptier__name {
  font-family: var(--serif);
  font-size: 1.05rem;
  color: var(--gold);
  letter-spacing: .06em;
}
.ptier__note { font-size: .76rem; color: var(--ink-soft); margin-top: .15rem; }
.ptier__rows { margin-top: .95rem; display: grid; gap: .4rem; }
.ptier__row { display: flex; justify-content: space-between; align-items: baseline; gap: .75rem; }
.ptier__label { font-size: .82rem; color: var(--ink-soft); }
.ptier__val { font-family: var(--serif); font-size: 1.4rem; color: var(--ink); font-variant-numeric: tabular-nums; }
.ptier__val small { font-size: .62em; color: var(--ink-soft); margin-left: .12em; }

/* 展開列做成膠囊按鈕：手機沒有 hover，要一眼看出「這可以點」 */
.pdetails { margin-top: .9rem; }
.pdetails > summary {
  cursor: pointer;
  list-style: none;
  width: max-content; max-width: 100%;
  margin: 0 auto;
  padding: .55rem 1.3rem;
  border: 1px solid var(--gold);
  border-radius: 100px;
  font-size: .9rem;
  color: var(--gold);
  display: flex; align-items: center; gap: .55rem;
  transition: background .25s var(--ease), color .25s var(--ease);
}
.pdetails > summary::-webkit-details-marker { display: none; }
.pdetails > summary::before { content: "▾"; font-size: 1.05em; transition: transform .25s var(--ease); animation: bob 1.8s ease-in-out infinite; }
.pdetails[open] > summary::before { transform: rotate(180deg); animation: none; }
.pdetails > summary:hover, .pdetails[open] > summary { background: var(--gold); color: var(--dark); }
.pdetails > summary .when-open { display: none; }
.pdetails[open] > summary .when-open { display: inline; }
.pdetails[open] > summary .when-closed { display: none; }
.pdetails[open] > summary { margin-bottom: 1rem; }

/* ── 可點提示（全站共用）：小籤 ＋ 箭頭輕擺；reduced-motion 時由 main.css 全域關掉動畫 ── */
@keyframes nudge { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(3px, -3px); } }
@keyframes bob   { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(2px); } }
@keyframes ring  { 0% { transform: scale(.9); opacity: .6; } 100% { transform: scale(1.6); opacity: 0; } }
.tap {
  display: inline-flex; align-items: center; gap: .35rem;
  margin-top: .8rem;
  padding: .3rem .85rem;
  border: 1px solid rgba(208,154,64,.55);
  border-radius: 100px;
  font-size: .76rem;
  letter-spacing: .04em;
  color: var(--gold);
  transition: background .25s var(--ease), color .25s var(--ease);
}
.tap__arrow { display: inline-block; animation: nudge 1.8s ease-in-out infinite; }
.ccard:hover .tap { background: var(--gold); color: var(--dark); }

@media (max-width: 600px) {
  .ptable { font-size: .84rem; }
  .ptable th, .ptable td { padding: .45rem .6rem; }
}
/* 4 欄以內的窄表（錄音頁）：手機放得下就不要硬撐 620px 逼人橫向捲，
   否則「錄影」欄預設被捲到畫面外，像是被裁掉。 */
.ptable--fit { min-width: 0; }
@media (max-width: 600px) {
  .ptable--fit th, .ptable--fit td { padding: .5rem .4rem; font-size: .76rem; white-space: nowrap; }
  .ptable--fit td.num { letter-spacing: 0; }
  .ptable--fit thead th .tier-note { font-size: .64rem; }
}

/* ══════════ Space Rental 頁專用 ══════════ */

/* 場地展示：滿版照片列，手機改橫向捲動 */
.section--flush { padding-bottom: 0; }
/* 場地展示：沿用舊站的直式照片＋間隔（不做滿版無縫）。
   直式是必要的——這四張原檔就是直幅構圖，壓成橫式會把鋼琴與走道的主體裁掉。 */
.gallery-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(10px, 1.8vw, 24px);
  margin-top: 2rem;
}
.gallery-strip__item { margin: 0; background: #000; }
.gallery-strip__item img {
  display: block;
  width: 100%;
  aspect-ratio: 5 / 8;
  object-fit: cover;
}
@media (max-width: 860px) {
  .gallery-strip { grid-template-columns: repeat(2, 1fr); }
}

/* 交替底色，維持首頁的色帶節奏 */
.section--alt { background: #151515; }

.section__sub {
  font-family: var(--serif);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  color: var(--gold);
  text-align: center;
  margin-top: 2.5rem;
}

/* 條列說明（注意事項、租金計算、人員） */
.doclist {
  max-width: 68ch;
  margin: 1.1rem auto 0;
  padding-left: 1.15rem;
  color: var(--ink);
  line-height: 1.86;
}
.doclist li { margin-bottom: .55rem; }
.doclist ul {
  margin: .45rem 0 .2rem;
  padding-left: 1.15rem;
  color: var(--ink-soft);
}
.doclist ul li { margin-bottom: .3rem; }

/* 費用表下方的細則（原站是一整段小字，改為條列較好讀） */
.fineprint {
  max-width: 72ch;
  margin: 2rem auto 0;
  padding-left: 1.15rem;
  color: var(--ink-soft);
  font-size: .84rem;
  line-height: 1.8;
}
.fineprint li { margin-bottom: .4rem; }

/* 活動記錄服務表 */
.ptable--av td.av-note {
  color: var(--ink-soft);
  font-size: .82rem;
  white-space: normal;
  min-width: 15ch;
}
.ptable--av td.time { white-space: normal; }
.ptable--av tr.av-group-first td { border-top: 1px solid var(--line); }
.ptable--av td.av-foot {
  color: var(--ink-soft);
  font-size: .8rem;
  padding-top: .7rem;
  text-align: left;      /* .ptable td 預設靠右，註腳要靠左（同舊表） */
}

/* ══════════ About / Gallery / Recording / Contact 共用 ══════════ */

.prose {
  max-width: 68ch;
  margin: 1.6rem auto 0;
  color: var(--ink);
  line-height: 1.86;
}
.prose p { margin-bottom: 1rem; }

/* 作品列表：標題＋擔任角色 */
.worklist {
  max-width: 72ch;
  margin: 1.2rem auto 0;
  padding: 0;
  list-style: none;
}
.worklist li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1.2rem;
  padding: .7rem 0;
  border-bottom: 1px solid rgba(250,245,229,.08);
  line-height: 1.7;
}
.worklist__title { color: var(--ink); }
.worklist__role {
  color: var(--gold);
  font-size: .84rem;
  white-space: nowrap;
  flex-shrink: 0;
}
@media (max-width: 600px) {
  .worklist li { flex-direction: column; gap: .25rem; }
  .worklist__role { white-space: normal; }
}

/* YouTube lite-embed：點擊才載入 iframe */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(1rem, 2.4vw, 1.75rem);
  margin-top: 2rem;
}
.video-grid--single { max-width: 640px; margin-inline: auto; }
.lite-yt { margin: 0; }
.lite-yt__btn {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 1px solid var(--line);
  background: #000;
  cursor: pointer;
  overflow: hidden;
}
.lite-yt__btn img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform .5s var(--ease), opacity .3s var(--ease);
}
.lite-yt__btn:hover img { transform: scale(1.03); opacity: .85; }
.lite-yt__play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
}
.lite-yt__play svg { filter: drop-shadow(0 2px 10px rgba(0,0,0,.55)); transition: transform .25s var(--ease); }
.lite-yt__btn:hover .lite-yt__play svg { transform: scale(1.08); }
.lite-yt__tap {
  position: absolute; left: 50%; bottom: 10px; transform: translateX(-50%);
  padding: .22rem .7rem;
  background: rgba(27,27,27,.82);
  border: 1px solid rgba(208,154,64,.6);
  border-radius: 100px;
  color: var(--gold);
  font-size: .72rem; letter-spacing: .06em;
  white-space: nowrap;
}
.lite-yt figcaption {
  margin-top: .7rem;
  font-size: .84rem;
  color: var(--ink-soft);
  line-height: 1.6;
}
.lite-yt iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  display: block;
}

/* 規格卡（錄音服務） */
.spec-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(.9rem, 2vw, 1.4rem);
  margin-top: 2rem;
}
.spec {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(208,154,64,.07), rgba(208,154,64,.02));
  padding: 1.25rem 1.3rem;
}
.spec__name {
  font-family: var(--serif);
  font-size: 1.02rem;
  color: var(--gold);
  letter-spacing: .06em;
  margin-bottom: .8rem;
}
.spec__rows { margin: 0; }
.spec__row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .38rem 0;
  border-top: 1px solid rgba(250,245,229,.07);
}
.spec__row dt { color: var(--ink-soft); font-size: .84rem; }
.spec__row dd { margin: 0; color: var(--ink); font-size: .88rem; text-align: right; }

/* 聯絡卡 */
.contact-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(.9rem, 2vw, 1.4rem);
  margin-top: 2.2rem;
}
.ccard {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(208,154,64,.07), rgba(208,154,64,.02));
  padding: 1.35rem 1.3rem;
  text-align: center;
  text-decoration: none;
  transition: border-color .25s var(--ease), background .25s var(--ease);
}
.ccard:hover { border-color: var(--gold); background: rgba(208,154,64,.13); }
.ccard__label { display: block; font-size: .8rem; color: var(--ink-soft); }
.contact-cards--single { max-width: 480px; margin-left: auto; margin-right: auto; }
/* LINE 卡：大圖示當「可以加 LINE」的視覺提示；QR 不自己做，lin.ee 在電腦上會自己出 QR */
.ccard__icon { display: block; position: relative; margin-bottom: .7rem; color: var(--gold); line-height: 0; }
.ccard__icon::after {   /* 緩慢脈動的外圈：提示圖示是活的、可以點 */
  content: ""; position: absolute; inset: -6px; border-radius: 50%;
  border: 1.5px solid var(--gold); animation: ring 2.4s ease-out infinite; pointer-events: none;
}
.ccard__icon svg { width: 56px; height: 56px; fill: currentColor; transition: transform .25s var(--ease); }
.ccard--line:hover .ccard__icon svg { transform: scale(1.06); }
.ccard__hint { display: block; margin-top: .55rem; font-size: .74rem; color: var(--ink-soft); }
.ccard__value {
  display: block;
  margin-top: .45rem;
  font-family: var(--serif);
  font-size: 1.05rem;
  color: var(--gold);
  word-break: break-all;
}

.addr {
  text-align: center;
  margin-top: 1rem;
  font-family: var(--serif);
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  color: var(--ink);
  letter-spacing: .04em;
}
.addr--soft { font-family: var(--hand); font-size: .95rem; color: var(--ink-soft); }

/* 停車場表：欄位左對齊、可換行 */
.ptable--park { min-width: 560px; }
.ptable--park td.av-note { text-align: left; }

/* 直式短片（YouTube Shorts）：縮圖本身是 16:9 含左右黑邊，用 cover 裁掉 */
.video-grid--vertical { max-width: 340px; }
.lite-yt--vertical .lite-yt__btn img,
.lite-yt--vertical iframe { aspect-ratio: 9 / 16; }
.lite-yt--vertical .lite-yt__btn img { object-fit: cover; }

/* 內頁 hero：中英雙語標題較長，760px 容器會讓「錄音服務 | Recording Services」折行 */
.hero--page .hero__inner { max-width: 960px; }
.hero--page h1 { font-size: clamp(1.85rem, 4.2vw, 3rem); }

/* 地圖卡：靜態底圖＋點擊導航（不嵌 Google iframe） */
.mapcard {
  display: block;
  position: relative;
  margin: 1.6rem auto 0;
  max-width: 900px;
  border: 1px solid var(--line);
  overflow: hidden;
  text-decoration: none;
}
.mapcard img { display: block; width: 100%; height: auto; }
/* Google 地圖內嵌：桌機 16:10、手機固定高度；不嵌到被裁切 */
.mapframe { margin: 1.6rem auto 0; max-width: 900px; border: 1px solid var(--line); aspect-ratio: 16 / 10; background: #111; }
.mapframe iframe { display: block; width: 100%; height: 100%; border: 0; }
@media (max-width: 600px) { .mapframe { aspect-ratio: auto; height: 420px; } }
/* Google 內嵌地圖桌機要 Ctrl＋滾輪才縮放（協作式手勢，無法關），先講清楚免得顧客以為壞了 */
.maphint { text-align: center; margin-top: .6rem; font-size: .78rem; color: var(--ink-soft); }
.maphint kbd { font-family: inherit; padding: 0 .35em; border: 1px solid var(--line); border-radius: 4px; color: var(--ink); }
}
.mapcard__cta {
  position: absolute;
  left: 50%; bottom: 0;
  transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .6rem 1.3rem;
  background: rgba(27,27,27,.9);
  border: 1px solid var(--gold);
  border-bottom: 0;
  border-radius: 100px 100px 0 0;
  color: var(--gold);
  font-size: .88rem;
  white-space: nowrap;
  transition: background .25s var(--ease), color .25s var(--ease);
}
.mapcard:hover .mapcard__cta { background: var(--gold); color: var(--dark); }
.btn__arrow { display: inline-block; animation: nudge 1.8s ease-in-out infinite; }
.mapcard__credit {
  text-align: center;
  margin-top: .5rem;
  font-size: .72rem;
  color: var(--ink-soft);
}

/* 停車場表的導航欄 */
.ptable--park { min-width: 660px; }
.ptable td.navcell { text-align: center; white-space: nowrap; }
.ptable td.navcell a {
  display: inline-flex; align-items: center; gap: .3rem;
  color: var(--gold);
  font-size: .82rem;
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: .22rem .7rem;
  transition: background .2s var(--ease), color .2s var(--ease);
}
.ptable td.navcell a:hover { background: var(--gold); color: var(--dark); }

/* 錄音服務：一般價／學生價兩個區塊 */
.rec-block {
  margin-top: 2.6rem;
  padding: 1.6rem 1.5rem 1.8rem;
  border: 1px solid rgba(250,245,229,.1);
  background: rgba(255,255,255,.015);
}
.rec-block--accent { border-color: var(--line); background: rgba(208,154,64,.05); }
.rec-block__note {
  text-align: center;
  margin-top: .4rem;
  font-size: .84rem;
  color: var(--ink-soft);
}

/* 區塊背景照片＋底色透明疊加（About us）
   使用者 2026-08-12 指定的做法：**照片保持完全清晰**（質感靠照片本身），
   底色以半透明疊在上面壓低亮度，讓文字可讀。
   ⚠ 一度加了 blur 想「霧化」——那是錯的，會把照片的質感直接糊掉。
     降低亮度 ≠ 降低銳利度：深色透明層壓暗的同時完整保留紋理與邊緣。 */
.section--photo { position: relative; overflow: hidden; background: var(--bg); }
.section__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  /* 不做任何 filter：照片原樣呈現 */
}
.section--photo::after {
  content: "";
  position: absolute;
  inset: 0;
  /* 底色透明化。用暖黑（非中性灰）以免把木頭／鋼琴的暖色壓成灰的（V2 的教訓） */
  /* 不用均勻底色：中央（文字帶）濃、四周淡，照片的質感從邊角露出來，
     同時文字區的對比比均勻疊加更好——同樣的可讀性下照片更清楚。 */
  background: radial-gradient(ellipse 78% 88% at 50% 50%,
    rgba(20,17,12,.84) 0%,
    rgba(20,17,12,.74) 46%,
    rgba(20,17,12,.54) 100%);
}
.section--photo > .container { position: relative; z-index: 2; }
/* 文字陰影只作為保底，不是主要手段 */
.section--photo .prose,
.section--photo .worklist,
.section--photo .section__title,
.section--photo .section__sub,
.section--photo .price-meta { text-shadow: 0 1px 8px rgba(0,0,0,.6); }
/* 擴散板木牆本身較亮，底色稍濃讓兩個區塊的文字對比一致（照片一樣保持清晰） */
.section--photo-alt::after {
  background: radial-gradient(ellipse 78% 88% at 50% 50%,
    rgba(20,17,12,.89) 0%,
    rgba(20,17,12,.81) 46%,
    rgba(20,17,12,.63) 100%);
}


/* ══════════ Concert Recording 頁 ══════════ */
.tiers .tier { display: flex; flex-direction: column; }
.tier--accent { border-color: var(--gold); background: linear-gradient(180deg, rgba(208,154,64,.14), rgba(208,154,64,.04)); }
.tier__who { display: block; margin-top: .25rem; font-family: var(--hand); font-weight: 400; font-size: .8rem; color: var(--ink-soft); letter-spacing: 0; }
.tier__price { margin-top: auto; padding-top: 1rem; font-family: var(--serif); font-size: 1.7rem; color: var(--gold); font-variant-numeric: tabular-nums; text-align: right; }
.tier__price small { font-size: .55em; color: var(--ink-soft); }
.steps { list-style: none; counter-reset: step; margin: 1.4rem auto 0; max-width: 720px; padding: 0; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 2.2rem 7rem 1fr; gap: .6rem; align-items: baseline; padding: .7rem 0; border-bottom: 1px solid rgba(250,245,229,.07); }
.steps li::before { content: counter(step); font-family: var(--serif); color: var(--gold); font-size: 1.2rem; }
.steps li strong { font-family: var(--serif); font-weight: 600; color: var(--ink); }
.steps li span { color: var(--ink-soft); font-size: .92rem; }
@media (max-width: 600px) { .steps li { grid-template-columns: 2rem 1fr; } .steps li span { grid-column: 2; } }


/* 7c（2026-09-07）：租借須知的子項（場勘試奏樂器那條有三個子條）。
   縮排＋較小字級，讓「一條規則底下的細目」在視覺上從屬於它，不像另一條規則。 */
.doclist--sub {
  margin: .35rem 0 0 0;
  padding-left: 1.1em;
  font-size: .95em;
  opacity: .92;
}
.doc-note {
  margin-bottom: 1.6rem;
  opacity: .8;
}
