/* ============================================================
   ethan-site 版面樣式。沒有 build 步驟，改完把 src/worker.js 的 ASSET_VERSION 加一。
   這個檔只管「排版與元件長相的結構」。顏色、字型、圓角、陰影、漸層一律用 theme.css 定義的變數，
   不要在這裡寫死色碼（test/site.test.js 會擋）。要換全站視覺：先改 theme.css，不夠再動這裡。
   結構：變數 → 基礎 → 按鈕 → 頁首 → 首頁各區塊 → 子題清單 → 文章 → About → 頁尾 → 手機
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; font-family: var(--font-body); color: var(--ink); background: var(--bg); line-height: 1.75; font-size: 16px; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3 { line-height: 1.35; text-wrap: balance; letter-spacing: .01em; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }
.wrap-narrow { max-width: var(--narrow); margin: 0 auto; padding: 0 28px; }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 16px; top: 16px; z-index: 100; background: var(--ink); color: var(--on-dark); padding: 10px 16px; border-radius: 8px; }
.eyebrow { font-size: 12px; letter-spacing: .18em; color: var(--muted); text-transform: uppercase; }
.empty { color: var(--muted); padding: 40px 0; }
.empty a { text-decoration: underline; }

/* ---------- 按鈕 ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 26px; border-radius: var(--radius-pill); font-weight: 500; font-size: 15px; line-height: 1.2; border: 1px solid transparent; transition: transform .15s ease, background .15s ease, box-shadow .15s ease; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn-dark { background: var(--btn-bg); color: var(--btn-text); }
.btn-dark:hover { background: var(--btn-bg-hover); box-shadow: 0 8px 24px rgba(var(--ink-rgb), .22); }
.btn-light { background: var(--surface); color: var(--ink); }
.btn-light:hover { box-shadow: 0 8px 24px rgba(var(--ink-rgb), .14); }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: var(--on-dark); }
.btn-sm { padding: 10px 18px; font-size: 13px; }
.more-link { font-size: 14px; font-weight: 500; border-bottom: 1px solid currentColor; padding-bottom: 2px; white-space: nowrap; }
.more-link.light { color: var(--on-dark); }

/* ---------- 頁首 ---------- */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 50; padding: 14px 20px 0; pointer-events: none; }
.nav-pill { pointer-events: auto; max-width: calc(var(--wrap) + 40px); margin: 0 auto; display: flex; align-items: center; gap: 24px; padding: 10px 12px 10px 26px; border-radius: var(--radius-pill); background: rgba(var(--surface-rgb), .55); -webkit-backdrop-filter: blur(16px) saturate(1.3); backdrop-filter: blur(16px) saturate(1.3); border: 1px solid rgba(var(--surface-rgb), .6); transition: background .2s ease, box-shadow .2s ease; }
.site-header.scrolled .nav-pill, body:not(.home) .nav-pill { background: rgba(var(--surface-rgb), .9); box-shadow: 0 6px 24px rgba(var(--ink-rgb), .08); border-color: var(--line); }
.wordmark { font-weight: 700; letter-spacing: .14em; font-size: 17px; display: flex; align-items: baseline; gap: 10px; }
.wordmark span { font-weight: 400; letter-spacing: .08em; font-size: 11px; color: var(--ink-soft); }
.nav-links { display: flex; gap: 26px; margin: 0 auto; font-size: 14px; }
.nav-links a { padding: 6px 0; border-bottom: 1px solid transparent; }
.nav-links a:hover, .nav-links a[aria-current] { border-bottom-color: var(--ink); }
.nav-toggle { display: none; width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--ink); cursor: pointer; padding: 0; position: relative; }
.nav-toggle span { position: absolute; left: 13px; right: 13px; height: 2px; background: var(--on-dark); border-radius: 2px; transition: transform .2s ease, top .2s ease; }
.nav-toggle span:first-child { top: 17px; }
.nav-toggle span:last-child { top: 24px; }
.nav-toggle[aria-expanded="true"] span:first-child { top: 20px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { top: 20px; transform: rotate(-45deg); }
.mobile-menu { pointer-events: auto; margin: 10px auto 0; max-width: calc(var(--wrap) + 40px); background: rgba(var(--surface-rgb), .97); border-radius: var(--radius); padding: 12px 22px; box-shadow: 0 16px 40px rgba(var(--ink-rgb), .14); }
.mobile-menu a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.mobile-menu a:last-child { border-bottom: 0; }
.mobile-menu a[aria-current] { font-weight: 700; }

/* ---------- 首頁：主視覺 ---------- */
.hero { background: var(--grad); border-radius: 0 0 var(--radius-lg) var(--radius-lg); color: var(--on-dark); position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 90% at 15% 55%, rgba(var(--ink-rgb), .22), transparent 60%); pointer-events: none; }
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr) auto; align-items: end; gap: 32px; min-height: 620px; padding-top: 150px; padding-bottom: 56px; }
.hero:not(.has-photo) .hero-inner { grid-template-columns: minmax(0, 1fr) auto; }
.hero .eyebrow { color: rgba(var(--on-dark-rgb), .88); margin-bottom: 18px; }
.hero h1 { font-family: var(--font-heading); font-weight: 700; font-size: clamp(38px, 5.4vw, 68px); line-height: 1.22; letter-spacing: .03em; text-shadow: 0 2px 24px rgba(var(--ink-rgb), .18); }
.hero-name { display: block; font-family: var(--font-body); font-weight: 500; font-size: clamp(14px, 1.5vw, 18px); letter-spacing: .16em; line-height: 1.6; margin-bottom: 14px; text-shadow: none; }
.hero-slogan { display: block; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 0; }
.hero-lead { margin-top: 44px; max-width: 30em; font-size: 14px; line-height: 1.9; color: rgba(var(--on-dark-rgb), .92); }
/* 去背人像：貼齊主視覺底邊（負的 margin 抵掉 .hero-inner 的下方留白），可以稍微超出自己那一欄 */
.hero-photo { align-self: end; justify-self: center; margin-bottom: -56px; height: 548px; width: auto; max-width: none; filter: drop-shadow(0 18px 40px rgba(var(--ink-rgb), .18)); }
.hero-stats { display: flex; flex-direction: column; gap: 26px; text-align: right; align-self: center; }
.hero-stats strong { display: block; font-weight: 400; font-size: clamp(30px, 3.4vw, 44px); line-height: 1.1; letter-spacing: .02em; }
.hero-stats span { font-size: 12px; letter-spacing: .08em; color: rgba(var(--on-dark-rgb), .9); }

.featured { display: flex; align-items: center; gap: 28px; padding-top: 26px; padding-bottom: 26px; flex-wrap: wrap; }
.featured ul { display: flex; gap: 28px; flex-wrap: wrap; font-size: 16px; color: var(--ink-soft); font-weight: 500; }
.featured a { border-bottom: 1px solid var(--line); }

/* ---------- 區塊共用 ---------- */
.section { padding-top: 84px; padding-bottom: 12px; }
.section-tight { padding-top: 12px; padding-bottom: 12px; }
.section-head { margin-bottom: 30px; max-width: 34em; }
.section-head.split { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; }
.section-head h2 { font-size: clamp(24px, 3vw, 32px); font-weight: 700; }
.section-head p { margin-top: 10px; color: var(--muted); font-size: 14px; }
.section-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* 依擔心入口：一個問題一格，點了到對應文章 */
.worry-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; }
.worry-row a { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 100%; padding: 22px 24px; border-radius: var(--radius-sm); background: var(--soft); font-size: 17px; font-weight: 500; line-height: 1.5; transition: background .15s ease, transform .15s ease; }
.worry-row a:hover { background: var(--soft-hover); transform: translateY(-2px); }
.worry-row a span { color: var(--muted); flex: none; }

/* ⭐ 系列（深色大卡） */
.series-card { display: block; padding: 48px 44px; border-radius: var(--radius); color: var(--on-dark); background: var(--grad-dark); transition: transform .2s ease; }
.series-card:hover { transform: translateY(-3px); }
.series-card .eyebrow { color: rgba(var(--on-dark-rgb), .7); }
.series-card h2 { font-family: var(--font-heading); font-size: clamp(24px, 3.2vw, 34px); margin-top: 12px; }
.series-card > p:not(.eyebrow) { margin: 12px 0 22px; color: rgba(var(--on-dark-rgb), .85); max-width: 40em; }

/* 子題清單：一篇一列（分類頁、接著讀、最新新聞共用） */
.topic-list { border-bottom: 1px solid var(--line); }
.topic-list li { border-top: 1px solid var(--line); }
.topic-list a { display: block; padding: 22px 0; }
.topic-list time { display: block; font-size: 13px; color: var(--muted); letter-spacing: .04em; margin-bottom: 4px; }
.topic-list strong { display: block; font-size: 19px; line-height: 1.55; font-weight: 700; }
.topic-list a:hover strong { text-decoration: underline; text-underline-offset: 4px; }
.topic-list span { display: block; margin-top: 6px; font-size: 14px; color: var(--muted); }
.topic-list.numbered { counter-reset: topic; }
.topic-list.numbered li { counter-increment: topic; }
.topic-list.numbered a { padding-left: 46px; position: relative; }
.topic-list.numbered a::before { content: counter(topic, decimal-leading-zero); position: absolute; left: 0; top: 25px; font-size: 14px; color: var(--muted); letter-spacing: .06em; }
.topic-section { margin-top: 56px; }
.topic-section > h2 { font-size: 22px; margin-bottom: 14px; }
.category-note { margin-top: 14px; font-size: 14px; color: var(--muted); }
.category-page .author-box { margin-bottom: 8px; }

/* 先懂再飛 5 查 */
.check-row { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.check-row a { display: flex; flex-direction: column; height: 100%; padding: 22px 20px 24px; border-radius: var(--radius-sm); background: var(--soft); transition: background .15s ease, transform .15s ease; }
.check-row a:hover { background: var(--soft-hover); transform: translateY(-2px); }
.check-row b { font-family: var(--font-heading); font-size: 30px; font-weight: 500; line-height: 1; color: var(--accent); }
.check-row strong { margin-top: 16px; font-size: 17px; }
.check-row span { margin-top: 8px; font-size: 13px; line-height: 1.75; color: var(--muted); }

.card-cat { display: inline-block; font-size: 12px; letter-spacing: .08em; color: var(--muted); margin-bottom: 6px; }
a.card-cat:hover { color: var(--ink); }

/* 影音卡（直式） */
.video-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px 16px; }
.video-thumb { display: block; position: relative; aspect-ratio: 9 / 14; border-radius: var(--radius); overflow: hidden; background: var(--soft); }
.video-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.video-card:hover .video-thumb img { transform: scale(1.04); }
.play { position: absolute; left: 50%; top: 50%; width: 56px; height: 56px; margin: -28px 0 0 -28px; border-radius: 50%; background: rgba(var(--surface-rgb), .55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.play::after { content: ""; position: absolute; left: 23px; top: 18px; border-left: 15px solid var(--on-dark); border-top: 10px solid transparent; border-bottom: 10px solid transparent; }
.video-card h3 { font-size: 14px; margin-top: 12px; line-height: 1.6; }
.video-card h3 a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* 單支影片頁：直式影片左右排（影片在左、文字在右），橫式影片上下排 */
.video-layout { display: grid; gap: 40px; padding-bottom: 24px; }
.video-layout.portrait { grid-template-columns: minmax(0, 380px) minmax(0, 1fr); align-items: start; }
.video-layout.landscape { grid-template-columns: minmax(0, 1fr); max-width: 900px; }
.video-stage { position: sticky; top: 100px; }
.video-layout.landscape .video-stage { position: static; }
.player { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--media-bg); width: 100%; }
.player.portrait { aspect-ratio: 9 / 16; }
.player.landscape { aspect-ratio: 16 / 9; }
/* Instagram 的嵌入框自帶帳號列與留言區，比影片本身高 */
.player.instagram { aspect-ratio: auto; height: 760px; background: var(--surface); border: 1px solid var(--line); }
.player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt-facade { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; background: var(--media-bg); cursor: pointer; }
.yt-facade img { width: 100%; height: 100%; object-fit: cover; opacity: .92; transition: opacity .2s ease; }
.yt-facade:hover img { opacity: 1; }
.yt-facade .play { width: 72px; height: 72px; margin: -36px 0 0 -36px; background: rgba(var(--ink-rgb), .72); }
.yt-facade .play::after { left: 30px; top: 23px; border-left-width: 19px; border-top-width: 13px; border-bottom-width: 13px; }
.video-source { margin-top: 12px; font-size: 13px; color: var(--muted); text-align: center; }
.video-source a:hover { color: var(--ink); text-decoration: underline; }
.video-text h2 { font-size: 22px; }
.video-summary { margin-top: 12px; font-size: 18px; line-height: 1.9; color: var(--ink-soft); }
.video-text .prose { margin-top: 32px; }
.video-text .prose h2:first-child { margin-top: 0; }
.video-page .page-head { padding-bottom: 32px; }

/* 關於（深色帶） */
.about-band { margin: 96px 14px 0; border-radius: var(--radius-lg); color: var(--on-dark); background: var(--grad-dark); }
.about-band-inner { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 32px 40px; padding-top: 72px; padding-bottom: 72px; }
.about-band .eyebrow { color: rgba(var(--on-dark-rgb), .7); padding-top: 10px; }
.about-band h2 { font-size: clamp(22px, 2.6vw, 30px); font-weight: 500; line-height: 1.6; }
.about-band p { margin: 18px 0 22px; font-size: 14px; color: rgba(var(--on-dark-rgb), .82); max-width: 46em; }
.stat-boxes { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.stat-boxes li { border: 1px solid rgba(var(--on-dark-rgb), .16); background: rgba(var(--on-dark-rgb), .05); border-radius: var(--radius-sm); padding: 20px 22px; }
.stat-boxes strong { display: block; font-weight: 400; font-size: 34px; line-height: 1.2; }
.stat-boxes span { font-size: 12px; color: rgba(var(--on-dark-rgb), .75); letter-spacing: .04em; }
.stat-boxes.on-light li { border-color: var(--line); background: var(--soft); }
.stat-boxes.on-light span { color: var(--muted); }

/* 結尾 CTA */
.closing { text-align: center; padding: 104px 0 96px; }
.closing h2 { font-size: clamp(26px, 3.4vw, 36px); }
.closing p { color: var(--muted); margin: 14px 0 28px; font-size: 15px; }

/* ---------- 內頁共用 ---------- */
.page-head { padding-top: 140px; padding-bottom: 28px; }
.page-head h1 { font-family: var(--font-heading); font-size: clamp(30px, 4.4vw, 46px); margin-top: 14px; }
.page-lead { margin-top: 14px; color: var(--ink-soft); max-width: 40em; font-size: 16px; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line); }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.crumbs li[aria-current] { color: var(--ink-soft); max-width: 24em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.pills a { padding: 8px 18px; border-radius: var(--radius-pill); border: 1px solid var(--line); font-size: 14px; }
.pills a:hover { border-color: var(--ink); }
.pills a[aria-current] { background: var(--ink); border-color: var(--ink); color: var(--on-dark); }
.pager { display: flex; justify-content: space-between; align-items: center; margin-top: 48px; font-size: 14px; color: var(--muted); }
.not-found { padding-bottom: 120px; }
.not-found p + p { margin-top: 28px; }

/* ---------- 文章頁 ---------- */
.post-head { padding-top: 140px; padding-bottom: 28px; }
.post-head .card-cat { margin-top: 22px; }
.post-head h1 { font-family: var(--font-heading); font-size: clamp(28px, 4.2vw, 42px); line-height: 1.4; }
.post-excerpt { margin-top: 16px; font-size: 17px; color: var(--ink-soft); }
.post-meta { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13px; color: var(--muted); }
.post-meta a { color: var(--ink); font-weight: 500; border-bottom: 1px solid var(--line); }
.post-cover { margin-bottom: 36px; }
.post-cover img { width: 100%; border-radius: var(--radius); aspect-ratio: 16 / 9; object-fit: cover; }
.toc { background: var(--soft); border-radius: var(--radius-sm); padding: 20px 24px; margin-bottom: 36px; }
.toc-title { font-size: 13px; letter-spacing: .1em; color: var(--muted); margin-bottom: 8px; }
.toc ol { list-style: decimal; padding-left: 1.3em; font-size: 15px; }
.toc li { padding: 3px 0; }
.toc a:hover { text-decoration: underline; }

.prose { font-size: 17px; line-height: 1.95; color: var(--prose); overflow-wrap: break-word; }
.prose > * + * { margin-top: 1.25em; }
.prose h2 { font-size: 25px; margin-top: 2.2em; padding-top: .2em; }
.prose h3 { font-size: 20px; margin-top: 1.8em; }
.prose a { text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--accent); text-decoration-thickness: 2px; }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li + li { margin-top: .4em; }
.prose blockquote { margin: 1.6em 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--accent); color: var(--ink-soft); }
.prose img { border-radius: var(--radius-sm); margin: 1.8em auto; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2.4em 0; }
.prose code { background: var(--soft); padding: 2px 6px; border-radius: 4px; font-size: .9em; }
.prose pre { background: var(--ink); color: var(--on-dark); padding: 18px; border-radius: var(--radius-sm); overflow-x: auto; }
.prose pre code { background: none; padding: 0; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; }
.prose th { background: var(--soft); }
.prose iframe { max-width: 100%; border: 0; border-radius: var(--radius-sm); }

.faq { margin-top: 56px; padding-top: 36px; border-top: 1px solid var(--line); }
.faq > h2 { font-size: 25px; margin-bottom: 8px; }
.faq-item { padding: 22px 0; border-bottom: 1px solid var(--line); }
.faq-item h3 { font-size: 18px; }
.faq-item p { margin-top: 10px; color: var(--ink-soft); font-size: 16px; line-height: 1.9; }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px 14px; margin-top: 36px; font-size: 14px; color: var(--muted); }
.tag-list a:hover { color: var(--ink); }
.author-box { margin-top: 40px; padding: 22px 24px; border-radius: var(--radius-sm); background: var(--soft); font-size: 14px; color: var(--ink-soft); }
.author-box p:first-child { color: var(--ink); font-size: 15px; line-height: 1.85; }
.author-updated { margin-top: 8px; font-size: 13px; color: var(--muted); }
.disclaimer { margin-top: 20px; font-size: 13px; color: var(--muted); }
.post-cta { margin: 48px 0 0; padding: 40px 32px; border-radius: var(--radius); background: var(--grad); color: var(--on-dark); text-align: center; }
.post-cta h2 { font-size: 24px; }
.post-cta p { margin: 10px 0 22px; font-size: 15px; }

/* ---------- 媒體報導 ---------- */
.press-list { padding-bottom: 12px; }
.press-item { padding: 30px 0; border-top: 1px solid var(--line); }
.press-item:first-child { border-top: 0; padding-top: 8px; }
.press-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 13px; color: var(--muted); letter-spacing: .04em; }
.press-outlets { display: inline-flex; flex-wrap: wrap; gap: 4px 0; color: var(--ink-soft); font-weight: 500; }
.press-outlets span + span::before { content: "·"; margin: 0 8px; color: var(--muted); font-weight: 400; }
.press-item h2 { font-size: 21px; line-height: 1.55; margin-top: 8px; }
.press-item h2 a:hover { text-decoration: underline; text-underline-offset: 4px; }
.press-summary { margin-top: 12px; color: var(--ink-soft); font-size: 16px; line-height: 1.9; }
.press-links { margin-top: 14px; font-size: 13px; color: var(--muted); display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.press-links a { padding: 5px 14px; border: 1px solid var(--line); border-radius: var(--radius-pill); color: var(--ink); white-space: nowrap; }
.press-links a:hover { border-color: var(--ink); }
.press-list.compact { margin-top: 8px; }
.press-list.compact .press-item { padding: 22px 0; }
.press-list.compact .press-item h2 { font-size: 18px; }
.press-list.compact .press-summary { font-size: 15px; }
.featured .more-link { margin-left: auto; }

/* ---------- About ---------- */
.about-body { padding-bottom: 20px; }
.about-photo { width: 100%; border-radius: var(--radius); margin-bottom: 28px; background: var(--photo-bg); }
.about-body .stat-boxes { margin-bottom: 20px; }
.about-body .stat-boxes strong { font-size: 28px; }
.media-list { display: flex; flex-wrap: wrap; gap: 10px 24px; list-style: none !important; padding: 0 !important; font-weight: 500; }
/* 官方登記（證書圖＋說明） */
.cred-intro { color: var(--ink-soft); font-size: 15px; margin-bottom: 20px; }
.credential { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 28px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); }
.credential + .credential { margin-top: 16px; }
.cred-image { display: block; align-self: start; text-align: center; font-size: 12px; color: var(--muted); }
.cred-image img { width: 100%; border: 1px solid var(--line); border-radius: 8px; margin-bottom: 8px; transition: box-shadow .2s ease; }
.cred-image:hover img { box-shadow: 0 8px 24px rgba(var(--ink-rgb), .14); }
.cred-text h3 { font-size: 19px; }
.cred-text dl { margin: 14px 0 6px; font-size: 14px; }
.cred-text dl div { display: grid; grid-template-columns: 7em minmax(0, 1fr); gap: 12px; padding: 7px 0; border-top: 1px solid var(--line); }
.cred-text dt { color: var(--muted); }
.cred-text dd { margin: 0; color: var(--ink); overflow-wrap: anywhere; }
.cred-text p { margin-top: 12px; font-size: 15px; line-height: 1.85; color: var(--ink-soft); }
.cred-text p strong { color: var(--ink); }
@media (max-width: 640px) {
  .credential { grid-template-columns: minmax(0, 1fr); padding: 18px; gap: 18px; }
  .cred-image { max-width: 240px; margin: 0 auto; }
  .cred-text dl div { grid-template-columns: 6em minmax(0, 1fr); }
}
.contact-box { margin-top: 48px; padding: 32px; border-radius: var(--radius); background: var(--soft); }
.contact-box h2 { font-size: 22px; }
.contact-box > p { margin-top: 8px; color: var(--ink-soft); }
.contact-box .hero-actions { margin-top: 20px; align-items: center; }
.contact-box .empty { padding: 0; }

/* ---------- 頁尾 ---------- */
.site-footer { border-top: 1px solid var(--line); padding-top: 64px; overflow: hidden; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 2.4fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.footer-brand { font-weight: 700; letter-spacing: .14em; font-size: 17px; }
.footer-blurb { margin-top: 12px; font-size: 13px; color: var(--muted); max-width: 22em; }
.footer-h { font-size: 12px; color: var(--muted); letter-spacing: .1em; margin-bottom: 12px; }
.site-footer li { font-size: 14px; padding: 4px 0; }
.site-footer li a:hover { text-decoration: underline; }
.footer-legal { margin-top: 56px; font-size: 12px; color: var(--muted); }
.footer-legal a { text-decoration: underline; text-underline-offset: 3px; }
.footer-legal a:hover { color: var(--ink); }
.footer-wordmark { margin-top: 12px; text-align: center; font-weight: 700; letter-spacing: .04em; line-height: .86; font-size: clamp(96px, 24vw, 340px); background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; user-select: none; transform: translateY(12%); }
.sticky-cta { display: none; }

/* ---------- 選單放不下時收成漢堡 ---------- */
@media (max-width: 1180px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: block; margin-left: auto; }
}

/* ---------- 平板 ---------- */
@media (max-width: 980px) {
  .check-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-inner, .hero:not(.has-photo) .hero-inner { grid-template-columns: minmax(0, 1fr) auto; }
  .hero-photo { grid-column: 1 / 2; grid-row: 2; height: 400px; justify-self: start; }
  .hero-stats { grid-row: 2; }
  .hero:not(.has-photo) .hero-stats { grid-row: auto; }
  .video-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .about-band-inner { grid-template-columns: minmax(0, 1fr); }
  .video-layout.portrait { grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 28px; }
  .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
}

/* ---------- 手機 ---------- */
@media (max-width: 640px) {
  body { padding-bottom: 84px; }   /* 留位置給底部固定的 LINE 按鈕 */
  .wrap, .wrap-narrow { padding: 0 18px; }
  .site-header { padding: 10px 10px 0; }
  .nav-pill { padding: 8px 8px 8px 20px; }
  .wordmark span { display: none; }
  .hero { margin: 0; border-radius: 0 0 24px 24px; }
  .hero-inner, .hero:not(.has-photo) .hero-inner { grid-template-columns: minmax(0, 1fr); min-height: 0; padding-top: 112px; padding-bottom: 40px; gap: 28px; }
  .hero .eyebrow { font-size: 11px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; padding: 16px; }
  .hero-lead { margin-top: 28px; }
  .hero-photo { grid-column: auto; grid-row: auto; order: 3; height: auto; width: 100%; max-width: 360px; justify-self: center; margin: 0 auto -40px; }
  .hero-stats { order: 2; }
  .hero-stats { grid-row: auto; flex-direction: row; flex-wrap: wrap; text-align: left; gap: 18px 28px; }
  .hero-stats li { min-width: 40%; }
  .section { padding-top: 60px; }
  .check-row { grid-template-columns: minmax(0, 1fr); }
  .check-row a { flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: 0 14px; padding: 18px 20px; }
  .check-row strong { margin-top: 0; }
  .check-row span { flex-basis: 100%; }
  .worry-row { grid-template-columns: minmax(0, 1fr); }
  .worry-row a { padding: 18px 20px; font-size: 16px; }
  .series-card { padding: 34px 24px; }
  .topic-list strong { font-size: 17.5px; }
  .stat-boxes { grid-template-columns: minmax(0, 1fr); }
  .stat-boxes li { padding: 16px 20px; }
  .video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .press-item h2 { font-size: 19px; }
  .featured .more-link { margin-left: 0; }
  .video-layout.portrait { grid-template-columns: minmax(0, 1fr); }
  .video-stage { position: static; max-width: 360px; margin: 0 auto; width: 100%; }
  .player.instagram { height: 680px; }
  .about-band { margin: 64px 8px 0; border-radius: 22px; }
  .about-band-inner { padding-top: 44px; padding-bottom: 44px; gap: 16px; }
  .page-head, .post-head { padding-top: 108px; }
  .prose { font-size: 16.5px; }
  .post-cta { padding: 32px 20px; }
  .closing { padding: 72px 0 64px; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sticky-cta { display: flex; position: fixed; left: 14px; right: 14px; bottom: 14px; z-index: 40; padding: 17px; font-size: 16px; box-shadow: 0 10px 30px rgba(var(--ink-rgb), .3); }
}
