/* 喬森燈光音響：全站樣式（黑底金色，900px 以下為手機版） */
:root {
  --bg: #0b0b0b;
  --panel: #141210;
  --gold: #e9ab24;
  --gold-dark: #9c6b0b;
  --text: #e8e2d6;
  --muted: #9d9586;
  --line: #3a3020;
  --serif: "Noto Serif TC", "Source Han Serif TC", "Songti TC", serif;
  --sans: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
  --wrap: 1180px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--sans); font-size: 16px; line-height: 1.8; overflow-wrap: anywhere; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); }
a:hover { color: #f5c55a; }
h1, h2, h3 { font-family: var(--serif); color: #f4efe6; line-height: 1.4; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--gold); color: #111; padding: 8px 16px; z-index: 100; }
.skip:focus { left: 8px; }

/* 頁首 */
.site-header { border-bottom: 1px solid var(--line); }
.topbar { border-bottom: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.topbar .wrap { display: flex; justify-content: flex-end; align-items: center; gap: 24px; min-height: 40px; }
.topbar span { margin-right: auto; }
.topbar a { color: var(--gold); text-decoration: none; font-weight: 700; }
.brand-row { display: flex; justify-content: center; align-items: center; padding-top: 24px; padding-bottom: 18px; position: relative; }
.brand-h1 { margin: 0; font-size: inherit; line-height: 1; width: min(420px, 100%); }
.brand-h1 .brand { width: 100%; }
.brand { display: block; width: min(420px, 100%); }
.burger { display: none; }
.site-nav { border-top: 1px solid var(--line); }
.site-nav > ul { list-style: none; margin: 0 auto; padding: 0 24px; max-width: var(--wrap); display: flex; flex-wrap: wrap; justify-content: center; gap: 0 36px; }
.site-nav li { position: relative; }
.site-nav > ul > li > a { display: block; padding: 13px 0; color: var(--text); text-decoration: none; letter-spacing: 2px; border-bottom: 2px solid transparent; }
.site-nav > ul > li > a:hover, .site-nav > ul > li > a[aria-current="page"] { color: var(--gold); border-bottom-color: var(--gold); }
.sub-toggle { display: none; }
.sub { list-style: none; margin: 0; padding: 6px 0; position: absolute; top: 100%; left: 50%; transform: translateX(-50%); min-width: 190px; background: var(--panel); border: 1px solid var(--line); z-index: 20; display: none; }
.has-sub:hover > .sub, .has-sub:focus-within > .sub { display: block; }
.sub a { display: block; padding: 8px 18px; color: var(--text); text-decoration: none; white-space: nowrap; }
.sub a:hover, .sub a:focus { background: #221d14; color: var(--gold); }

/* 標題區 */
.pagehead { text-align: center; padding: 40px 0 32px; border-bottom: 1px solid var(--line); }
.pagehead h1 { margin: 6px 0 0; font-size: clamp(26px, 3.4vw, 36px); }
.pagehead h1::after { content: ""; display: block; width: 56px; height: 2px; background: var(--gold); margin: 16px auto 0; }
.crumb { font-size: 14px; color: var(--muted); }
.crumb a { color: var(--muted); }
.crumb a:hover { color: var(--gold); }
.lead { max-width: 760px; margin: 18px auto 0; color: #cfc8ba; }

main { display: block; padding-bottom: 24px; }

/* 文章 */
.prose { max-width: 900px; padding-top: 40px; padding-bottom: 8px; }
.prose p, .prose li { color: #d6cfc1; }
.prose h2 { font-size: 24px; margin: 36px 0 10px; }
.prose h2::before { content: ""; display: inline-block; width: 4px; height: 0.9em; background: var(--gold); margin-right: 10px; vertical-align: -2px; }
.prose a:not(.btn) { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.prose ul { padding-left: 1.4em; }
.about-grid { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; padding-top: 16px; }
.about-grid .about-photo { flex: 1 1 300px; margin: 32px 0 0; max-width: 420px; }
.about-photo img { border: 1px solid var(--line); }
.about-grid .prose { flex: 999 1 420px; min-width: 0; padding-left: 0; padding-right: 0; }
.table-wrap { overflow-x: auto; margin: 8px 0 12px; border: 1px solid var(--line); }
.table-wrap table { border-collapse: collapse; min-width: 720px; width: 100%; font-size: 15px; line-height: 1.6; }
.table-wrap th, .table-wrap td { border: 1px solid var(--line); padding: 9px 12px; vertical-align: top; text-align: left; color: #d6cfc1; }
.table-wrap thead th { background: var(--panel); color: var(--gold); }
.table-wrap tbody th { background: #181510; color: #f4efe6; white-space: nowrap; }
.faq-note { font-size: 14px; color: var(--muted) !important; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { list-style: none; cursor: pointer; position: relative; padding: 16px 40px 16px 0; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-size: 26px; line-height: 1; color: var(--gold); }
.faq-item[open] summary::after { content: "\2212"; }
.faq-item h3 { display: inline; margin: 0; font-size: 18px; }
.faq-item p { margin: 0 0 14px; }

/* 按鈕與詢價 */
.btn { display: inline-block; padding: 12px 28px; background: var(--gold); color: #111; font-weight: 700; text-decoration: none; border: 1px solid var(--gold); border-radius: 2px; min-height: 44px; }
.btn:hover { background: #f5c55a; color: #111; }
.btn-ghost { background: transparent; color: var(--gold); }
.btn-ghost:hover { background: #221d14; color: var(--gold); }
.btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.inq { max-width: var(--wrap); margin: 48px auto 24px; padding: 40px 24px; text-align: center; background: var(--panel); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.inq h2 { margin: 0 0 6px; font-size: 26px; }
.inq p { margin: 0 0 18px; color: #cfc8ba; }
.inq .btns { margin: 0; }

/* 頁尾 */
.site-footer { background: #050505; border-top: 1px solid var(--line); color: #b9b2a4; font-size: 15px; margin-top: 24px; }
.site-footer .cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px 32px; padding-top: 40px; padding-bottom: 16px; }
.site-footer p { margin: 0 0 8px; }
.site-footer a { color: var(--gold); }
.f-name { color: var(--gold); font-weight: 700; font-size: 17px; }
.f-nav { display: flex; flex-wrap: wrap; gap: 6px 22px; padding-top: 12px; padding-bottom: 12px; border-top: 1px solid #1e1a12; font-size: 14px; }
.f-nav a { color: #b9b2a4; text-decoration: none; }
.f-nav a:hover { color: var(--gold); }
.copy { text-align: center; color: #8a8375; font-size: 13px; margin: 0; padding: 12px 0 18px; }
.fab { display: none; }

/* 區塊標題 */
.sec-title { text-align: center; font-size: 30px; margin: 56px 0 2px; }
.sec-en { text-align: center; margin: 0 0 32px; color: var(--muted); font-size: 13px; letter-spacing: 5px; }
.more { text-align: center; margin: 24px 0 0; }
.more a { text-underline-offset: 3px; }

/* 首頁：輪播（所有 slide 疊在同一格，第一張不用等程式就顯示） */
.hero { padding-top: 28px; }
.carousel { position: relative; border: 1px solid var(--line); }
.slides { list-style: none; margin: 0; padding: 0; display: grid; grid-template-rows: 100%; aspect-ratio: 1180 / 536; overflow: hidden; }
.slide { grid-area: 1 / 1; visibility: hidden; opacity: 0; transition: opacity 0.8s, visibility 0.8s; }
.slide.is-active { visibility: visible; opacity: 1; }
.slide a, .slide img { display: block; width: 100%; height: 100%; }
.slide img { object-fit: cover; }
.dots { position: absolute; left: 0; right: 0; bottom: 10px; display: flex; justify-content: center; gap: 4px; }
.dots button { width: 32px; height: 32px; padding: 0; border: 0; background: transparent; cursor: pointer; }
.dots button::before { content: ""; display: block; width: 10px; height: 10px; margin: auto; border-radius: 50%; background: rgba(255, 255, 255, 0.55); border: 1px solid rgba(0, 0, 0, 0.4); }
.dots button[aria-current="true"]::before { background: var(--gold); }
@media (prefers-reduced-motion: reduce) { .slide { transition: none; } }
.season a { display: block; margin-top: 16px; padding: 14px 10px; background: var(--gold-dark); color: #fff; text-align: center; text-decoration: none; font-size: 20px; border-radius: 2px; }
.season a:hover { background: #87600a; color: #fff; }
.season strong { display: block; }
.season span { display: block; font-size: 15px; }

/* 首頁：介紹 */
.intro { padding-top: 56px; padding-bottom: 8px; text-align: center; }
.eyebrow { margin: 0 0 8px; color: var(--gold); letter-spacing: 5px; font-size: 14px; }
.intro h2 { margin: 0 auto 28px; max-width: 900px; font-size: clamp(26px, 3.6vw, 38px); }
.intro h2::after { content: ""; display: block; width: 64px; height: 2px; background: var(--gold); margin: 20px auto 0; }
.intro-body { display: flex; flex-wrap: wrap; gap: 32px 48px; text-align: left; }
.intro-text { flex: 3 1 460px; min-width: 0; }
.intro-text p { margin: 0 0 14px; color: #d6cfc1; }
.intro-side { flex: 2 1 300px; min-width: 0; }
.tags { list-style: none; margin: 0 0 20px; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.tags li { padding: 6px 14px; border: 1px solid var(--line); color: #e8e2d6; font-size: 15px; }
.cta-label { margin: 0 0 12px; color: var(--muted); }
.intro-side .btns { justify-content: flex-start; margin: 0; }

/* 首頁：承包項目 */
.band { background: var(--panel); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-top: 56px; padding-bottom: 48px; }
.band .sec-title { margin-top: 48px; }
.cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr)); gap: 28px; }
.card { display: block; color: var(--text); text-decoration: none; }
.card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border: 1px solid var(--line); }
.card span { display: block; padding-top: 12px; text-align: center; font-size: 18px; letter-spacing: 2px; }
.card:hover span { color: var(--gold); }
.more-links { margin: 32px 0 0; text-align: center; color: var(--muted); }
.more-links a { color: var(--text); text-underline-offset: 3px; }
.more-links a:hover { color: var(--gold); }

/* 消息列（首頁與最新消息共用） */
.news-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid #2a241a; }
.news-list li { border-bottom: 1px solid #2a241a; }
.news-row { display: flex; gap: 24px; align-items: center; padding: 18px 0; color: var(--text); text-decoration: none; }
.news-row img { width: 160px; aspect-ratio: 4 / 3; object-fit: cover; flex-shrink: 0; }
.news-row > span { min-width: 0; }
.news-row .date { display: block; color: var(--muted); font-size: 14px; }
.news-row .t { display: block; font-size: 18px; color: #f4efe6; }
.news-row .ex { display: block; color: var(--muted); font-size: 15px; }
.news-row:hover .t { color: var(--gold); }

.news-wrap { padding-top: 32px; }

/* 單篇消息 */
.article .date { color: var(--muted); font-size: 15px; margin: 0 0 12px; }
.prose .news-photos { list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.news-photos li:first-child { grid-column: 1 / -1; }
.news-photos img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border: 1px solid var(--line); }
.news-photos li:first-child img { aspect-ratio: 3 / 2; }
.newsvideo figcaption { color: var(--muted); font-size: 14px; padding-top: 6px; }
.article .more { text-align: left; margin-top: 28px; }

/* 照片卡片格（首頁花絮、承包項目、相簿） */
.grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr)); gap: 24px; }
.pcard { margin: 0; }
.pcard img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border: 1px solid var(--line); }
.pcard a { display: block; }
.pcard a:hover img { border-color: var(--gold); }
.pcard figcaption { padding-top: 10px; font-size: 15px; color: #d6cfc1; text-align: center; }
.pcard figcaption small { display: block; margin-top: 4px; font-size: 13px; line-height: 1.6; color: var(--muted); }
.photos { padding-top: 32px; }

/* 影片 */
.vids { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr)); gap: 24px; }
.vid, .vid-fb { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; background: #000; border: 1px solid var(--line); overflow: hidden; }
button.vid { padding: 0; cursor: pointer; }
.vid img { width: 100%; height: 100%; object-fit: cover; opacity: 0.85; }
.vid:hover img, .vid:focus img { opacity: 1; }
.vid .play { position: absolute; left: 50%; top: 50%; width: 68px; height: 48px; margin: -24px 0 0 -34px; border-radius: 12px; background: rgba(0, 0, 0, 0.75); border: 2px solid var(--gold); }
.vid .play::after { content: ""; position: absolute; left: 27px; top: 13px; border-style: solid; border-width: 10px 0 10px 17px; border-color: transparent transparent transparent var(--gold); }
.vid iframe, .vid-fb iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* 合作樂團列表 */
.banner { margin: 0 0 28px; }
.banner img { width: 100%; border: 1px solid var(--line); }
.band-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(220px, 100%), 1fr)); gap: 16px; }
.band-list a { display: flex; align-items: center; justify-content: center; min-height: 64px; padding: 12px; border: 1px solid var(--line); background: var(--panel); color: var(--text); text-decoration: none; font-size: 18px; letter-spacing: 1px; text-align: center; }
.band-list a:hover { border-color: var(--gold); color: var(--gold); }
.pager { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 36px; }
.pager a { display: flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 12px; border: 1px solid var(--line); color: var(--text); text-decoration: none; }
.pager a:hover { border-color: var(--gold); color: var(--gold); }
.pager a[aria-current="page"] { background: var(--gold); border-color: var(--gold); color: #111; font-weight: 700; }

/* 手機版 */
@media (max-width: 900px) {
  .hero { padding-top: 0; padding-left: 0; padding-right: 0; }
  .carousel { border-left: 0; border-right: 0; }
  .sec-title { font-size: 26px; margin-top: 44px; }
  .intro { padding-top: 40px; }
  .band { margin-top: 44px; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .card span { font-size: 16px; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .pcard figcaption { font-size: 14px; }
  .news-row { gap: 14px; align-items: flex-start; }
  .news-row img { width: 112px; }
  .news-row .t { font-size: 16px; }
  .news-row .ex { display: none; }
  .topbar { display: none; }
  .brand-row { padding: 14px 64px 14px 16px; justify-content: flex-start; }
  .brand, .brand-h1 { width: min(240px, 100%); }
  .burger { display: block; position: absolute; right: 12px; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; background: transparent; border: 1px solid var(--line); color: var(--gold); font-size: 24px; line-height: 1; cursor: pointer; border-radius: 2px; }
  .site-nav { display: none; }
  .site-header.is-open .site-nav { display: block; }
  .site-nav > ul { flex-direction: column; gap: 0; padding: 0; }
  .site-nav > ul > li { border-bottom: 1px solid var(--line); }
  .site-nav > ul > li > a { padding: 12px 20px; border-bottom: 0; }
  .site-nav > ul > li > a[aria-current="page"] { border-bottom: 0; }
  .has-sub > a { margin-right: 56px; }
  .sub-toggle { display: block; position: absolute; right: 0; top: 0; width: 56px; height: 52px; background: transparent; border: 0; border-left: 1px solid var(--line); color: var(--gold); font-size: 22px; cursor: pointer; }
  .sub-toggle::before { content: "+"; }
  .has-sub.is-open > .sub-toggle::before { content: "\2212"; }
  .sub { position: static; transform: none; border: 0; border-top: 1px solid var(--line); min-width: 0; padding: 4px 0; }
  .has-sub:hover > .sub, .has-sub:focus-within > .sub { display: none; }
  .has-sub.is-open > .sub { display: block; }
  .sub a { padding: 10px 36px; white-space: normal; }
  .wrap { padding: 0 16px; }
  .pagehead { padding: 28px 0 24px; }
  .prose { padding-top: 28px; }
  .inq { margin: 32px 0 16px; padding: 32px 16px; }
  body { padding-bottom: 64px; }
  .fab { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; background: #050505; border-top: 1px solid var(--line); }
  .fab a { flex: 1; display: flex; align-items: center; justify-content: center; min-height: 56px; font-weight: 700; text-decoration: none; color: #111; background: var(--gold); }
  .fab a + a { background: #111; color: var(--gold); border-left: 1px solid var(--line); }
}
