/* gurudev.tw — 古儒吉中文台灣網站
   氣質參考 gurudev.artofliving.org：大量留白、暖色、大照片、襯線標題 */

:root {
  --navy: #31364e;          /* 標題、深色區 */
  --ink: #4a4a4a;           /* 內文 */
  --muted: #8a8580;
  --sun: #f7c948;           /* 暖黃 */
  --saffron: #ff865b;       /* 橘（主要按鈕） */
  --grad: linear-gradient(90deg, #f9c74f 0%, #ff865b 100%);
  --cream: #fbf6ef;         /* 暖色底 */
  --peach: #fdeee3;
  --line: #ece5dc;
  --white: #ffffff;
  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(49, 54, 78, .08);
  --wrap: 1180px;
  --serif: "Noto Serif TC", "Songti TC", serif;
  --sans: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.85;
  letter-spacing: .02em;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 {
  font-family: var(--serif);
  color: var(--navy);
  font-weight: 600;
  line-height: 1.35;
  margin: 0 0 .6em;
  letter-spacing: .04em;
}
h1 { font-size: clamp(2rem, 6vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); }
h3 { font-size: clamp(1.15rem, 2.4vw, 1.4rem); }
p { margin: 0 0 1.1em; }
[id] { scroll-margin-top: 90px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 780px; }
.section { padding: clamp(56px, 9vw, 112px) 0; }
.section--cream { background: var(--cream); }
.section--navy { background: var(--navy); color: #e9e6f0; }
.section--navy h2, .section--navy h3 { color: #fff; }
.eyebrow {
  display: inline-block;
  font-family: var(--sans);
  font-size: .82rem;
  letter-spacing: .25em;
  color: var(--saffron);
  margin-bottom: .8em;
}
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 36px; }
.section-head h2 { margin: 0; }
.lead { font-size: 1.12rem; color: #5b5752; }
.center { text-align: center; }

/* ---------- 按鈕 ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5em;
  padding: .75em 1.8em;
  border-radius: 999px;
  font-size: .98rem; font-weight: 500;
  text-decoration: none;
  border: 1.5px solid transparent;
  transition: transform .2s, box-shadow .2s, background .2s;
  cursor: pointer;
  justify-content: center;
}
.btn--primary { background: var(--grad); color: #fff; box-shadow: 0 6px 18px rgba(255, 134, 91, .3); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(255, 134, 91, .4); }
.btn--ghost { border-color: var(--saffron); color: var(--saffron); background: transparent; }
.btn--ghost:hover { background: var(--saffron); color: #fff; }
.btn--light { border-color: rgba(255,255,255,.8); color: #fff; }
.btn--light:hover { background: #fff; color: var(--navy); }
.link-arrow { color: var(--saffron); text-decoration: none; font-weight: 500; }
.link-arrow::after { content: " →"; }

/* ---------- 佔位 ---------- */
.ph {
  background:
    radial-gradient(circle at 30% 30%, rgba(255,255,255,.55), transparent 60%),
    linear-gradient(135deg, #f6dcc4 0%, #efc6a6 45%, #d9a98b 100%);
  color: rgba(49, 54, 78, .55);
  display: flex; align-items: center; justify-content: center;
  font-size: .85rem; letter-spacing: .15em;
  text-align: center;
  min-height: 160px;
  overflow: hidden;
}
.ph-text {
  border: 1.5px dashed #e3c7ad;
  background: #fffaf4;
  color: #b0896a;
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  font-size: .92rem;
  margin: 0 0 1.2em;
}
.ph-text::before { content: "✎ 內容待填｜"; font-weight: 600; }

/* ---------- 頁首 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.96);
  backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); }
.brand img { width: 40px; height: 40px; }
.brand-mark {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--grad); flex: none;
  box-shadow: inset 0 -6px 0 rgba(255,255,255,.35);
}
.brand-text { font-family: var(--serif); font-weight: 600; font-size: 1.12rem; line-height: 1.2; letter-spacing: .08em; }
.brand-text small { display: block; font-family: var(--sans); font-weight: 400; font-size: .68rem; letter-spacing: .12em; color: var(--muted); }

.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; align-items: center; }
.nav a {
  display: block; padding: 8px 12px; border-radius: 999px;
  text-decoration: none; font-size: .95rem; color: var(--navy);
  white-space: nowrap;
}
.nav a:hover { color: var(--saffron); }
.nav a[aria-current="page"] { color: var(--saffron); font-weight: 600; }
.nav .nav-cta a { background: var(--grad); color: #fff; padding: 8px 18px; margin-left: 6px; }
.nav .nav-cta a:hover, .nav .nav-cta a[aria-current="page"] { color: #fff; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer;
  border-radius: 10px; position: relative;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  position: absolute; left: 11px; width: 22px; height: 2px; background: var(--navy);
  content: ""; transition: transform .25s, opacity .25s;
}
.nav-toggle span { top: 21px; }
.nav-toggle span::before { top: -7px; left: 0; }
.nav-toggle span::after { top: 7px; left: 0; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1200px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: 72px 0 auto 0;
    background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    max-height: 0; overflow: hidden; transition: max-height .3s ease;
  }
  .nav-open .nav { max-height: calc(100vh - 72px); overflow-y: auto; }
  .nav ul { flex-direction: column; align-items: stretch; padding: 8px 20px 24px; gap: 0; }
  .nav a { padding: 14px 4px; border-radius: 0; border-bottom: 1px solid var(--line); font-size: 1.02rem; }
  .nav .nav-cta a { margin: 16px 0 0; text-align: center; border-radius: 999px; border: 0; }
}

/* ---------- 首頁主視覺 ---------- */
.hero {
  position: relative;
  min-height: clamp(520px, 88vh, 860px);
  display: flex; align-items: flex-end;
  color: #fff;
  background: #2a2420;
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; }
.hero-media img, .hero-media .ph { width: 100%; height: 100%; object-fit: cover; min-height: 100%; }
.hero-media .ph { background: linear-gradient(120deg, #3b2f2a 0%, #7a4f38 55%, #c98a5e 100%); color: rgba(255,255,255,.4); }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,16,14,0) 30%, rgba(20,16,14,.72) 100%);
}
.hero-body { position: relative; z-index: 1; padding-bottom: clamp(48px, 9vw, 110px); }
.hero h1 { color: #fff; font-size: clamp(2.2rem, 7vw, 4.4rem); margin-bottom: .3em; }
.hero-sub { font-size: clamp(1.05rem, 2.4vw, 1.35rem); max-width: 36em; opacity: .95; margin-bottom: 1.6em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- 12/9 預告條 ---------- */
.visit-bar { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.visit-bar::before {
  content: ""; position: absolute; right: -120px; top: -160px; width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(249,199,79,.35), transparent 70%);
}
.visit-bar .wrap { position: relative; display: grid; grid-template-columns: 1.2fr auto auto; gap: 28px; align-items: center; padding-top: 34px; padding-bottom: 34px; }
.visit-date { font-family: var(--serif); font-size: clamp(1.4rem, 3.4vw, 2rem); color: var(--sun); line-height: 1.2; }
.visit-title { font-family: var(--serif); font-size: clamp(1.1rem, 2.6vw, 1.45rem); margin: 4px 0 2px; }
.visit-note { font-size: .92rem; opacity: .8; margin: 0; }
.countdown { display: flex; gap: 10px; }
.countdown div {
  min-width: 66px; text-align: center;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15);
  border-radius: 12px; padding: 8px 6px;
}
.countdown b { display: block; font-family: var(--serif); font-size: 1.8rem; line-height: 1.1; color: #fff; font-variant-numeric: tabular-nums; }
.countdown small { font-size: .72rem; letter-spacing: .15em; opacity: .75; }
@media (max-width: 860px) {
  .visit-bar .wrap { grid-template-columns: 1fr; gap: 18px; }
}

/* ---------- 數字牆 ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat {
  text-align: center; padding: 26px 12px;
  border-radius: var(--radius); background: #fff; box-shadow: var(--shadow);
}
.stat b {
  display: block; font-family: var(--serif); font-weight: 700;
  font-size: clamp(1.9rem, 4.4vw, 2.8rem); line-height: 1.15;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat span { font-size: .92rem; color: var(--muted); }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); gap: 12px; } }

/* ---------- 圖文兩欄 ---------- */
.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 6vw, 80px); align-items: center; }
.split--rev > :first-child { order: 2; }
.split-media .ph, .split-media img { border-radius: var(--radius); aspect-ratio: 4 / 5; width: 100%; object-fit: cover; }
.quote-mark { font-family: var(--serif); font-size: 1.3rem; color: var(--navy); border-left: 3px solid var(--saffron); padding-left: 18px; margin: 0 0 1.4em; line-height: 1.7; }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .split--rev > :first-child { order: 0; }
  .split-media .ph, .split-media img { aspect-ratio: 4 / 3; }
}

/* ---------- 卡片 ---------- */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
.cards--2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); display: flex; flex-direction: column;
  text-decoration: none; color: inherit;
  transition: transform .25s, box-shadow .25s;
}
a.card:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(49,54,78,.12); }
.card-media .ph, .card-media img { aspect-ratio: 4 / 3; width: 100%; object-fit: cover; min-height: 0; }
.card-body { padding: 22px 22px 26px; flex: 1; display: flex; flex-direction: column; }
.card-body h3 { margin-bottom: .4em; }
.card-body p { font-size: .95rem; color: #6a655f; flex: 1; }
@media (max-width: 1000px) { .cards { grid-template-columns: repeat(2, 1fr); } .cards--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .cards, .cards--3, .cards--2 { grid-template-columns: 1fr; } }

/* ---------- 榮譽亮點 ---------- */
.honor-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.honor {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; background: #fff;
}
.honor .year { font-family: var(--serif); color: var(--saffron); font-size: 1.1rem; }
.honor h3 { margin: .3em 0 .4em; font-size: 1.12rem; }
.honor p { font-size: .92rem; color: #6a655f; margin: 0; }
@media (max-width: 860px) { .honor-list { grid-template-columns: 1fr; } }

/* ---------- 語錄 ---------- */
.quote-band { text-align: center; }
.quote-band blockquote {
  margin: 0 auto; max-width: 820px;
  font-family: var(--serif); font-size: clamp(1.35rem, 3.4vw, 2rem); line-height: 1.7; color: var(--navy);
}
.quote-band cite { display: block; margin-top: 1.2em; font-style: normal; color: var(--muted); letter-spacing: .2em; font-size: .9rem; }
.quote-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.quote-grid .ph, .quote-grid img { aspect-ratio: 1; border-radius: var(--radius-sm); width: 100%; object-fit: cover; min-height: 0; }
@media (max-width: 860px) { .quote-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; } }
.chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 32px; }
.chip { border: 1px solid var(--line); border-radius: 999px; padding: 6px 16px; font-size: .9rem; background: #fff; color: var(--navy); }
.chip.is-active { background: var(--navy); color: #fff; border-color: var(--navy); }

/* ---------- 台灣入口 ---------- */
.tw-entry { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.tw-entry a {
  display: block; text-decoration: none; color: #fff;
  border-radius: var(--radius); padding: clamp(28px, 5vw, 44px);
  background: linear-gradient(135deg, #3a3f5c, #31364e);
  position: relative; overflow: hidden; min-height: 210px;
}
.tw-entry a:nth-child(2) { background: linear-gradient(135deg, #ff9a6b, #f2a44d); }
.tw-entry h3 { color: #fff; font-size: 1.5rem; }
.tw-entry p { opacity: .9; }
.tw-entry .link-arrow { color: #fff; }
@media (max-width: 700px) { .tw-entry { grid-template-columns: 1fr; } }

/* ---------- 內頁主視覺 ---------- */
.page-hero {
  position: relative; min-height: clamp(320px, 52vh, 520px);
  display: flex; align-items: center; justify-content: center; text-align: center;
  color: #fff; overflow: hidden; background: #3b2f2a;
}
.page-hero .hero-media .ph { background: linear-gradient(120deg, #4a3a33 0%, #8a5b40 60%, #d69a6a 100%); }
.page-hero::after { content: ""; position: absolute; inset: 0; background: rgba(20,16,14,.42); }
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; font-size: clamp(2.4rem, 8vw, 5rem); margin-bottom: .15em; }
.page-hero p { font-size: 1.1rem; opacity: .95; margin: 0; }

/* 生平頁：主視覺下的三格 */
.tabs-strip {
  position: relative; z-index: 2; margin-top: -48px;
  display: grid; grid-template-columns: repeat(3, 1fr);
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
}
.tabs-strip a { padding: 22px 12px; text-align: center; text-decoration: none; font-family: var(--serif); color: var(--navy); font-size: 1.08rem; line-height: 1.4; }
.tabs-strip a + a { border-left: 1px solid var(--line); }
.tabs-strip a:hover { color: var(--saffron); }
@media (max-width: 600px) { .tabs-strip { grid-template-columns: 1fr; } .tabs-strip a + a { border-left: 0; border-top: 1px solid var(--line); } }

/* 側欄＋正文 */
.with-aside { display: grid; grid-template-columns: 300px 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.aside-card { position: sticky; top: 96px; background: var(--peach); border-radius: 22px; overflow: hidden; }
.aside-card .ph { aspect-ratio: 1; min-height: 0; }
.aside-card ul { list-style: none; margin: 0; padding: 10px 22px 18px; background: #fff; }
.aside-card li a { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--navy); font-size: .96rem; }
.aside-card li:last-child a { border-bottom: 0; }
.aside-card li a::after { content: "↗"; float: right; color: var(--saffron); }
.prose h2 { margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }
.prose .sub { color: var(--saffron); letter-spacing: .1em; font-size: .95rem; margin-top: -.6em; }
.prose figure { margin: 0 0 1.4em; }
.prose figure .ph, .prose figure img { border-radius: var(--radius); aspect-ratio: 16 / 9; width: 100%; object-fit: cover; }
@media (max-width: 900px) { .with-aside { grid-template-columns: 1fr; } .aside-card { position: static; } }

/* 榮譽頁證書格 */
.cert-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.cert { background: #fff; border-radius: var(--radius-sm); box-shadow: var(--shadow); overflow: hidden; }
.cert .ph { aspect-ratio: 3 / 4; min-height: 0; }
.cert p { padding: 12px 14px; margin: 0; font-size: .88rem; color: var(--navy); line-height: 1.5; }
.count-badge { display: inline-block; background: var(--peach); color: var(--saffron); border-radius: 999px; padding: 2px 12px; font-size: .85rem; margin-left: 8px; vertical-align: middle; font-family: var(--sans); }
@media (max-width: 900px) { .cert-grid { grid-template-columns: repeat(2, 1fr); } }

/* 12/9 頁 */
.visit-hero-date { font-family: var(--serif); color: var(--sun); font-size: clamp(1.3rem, 3vw, 1.8rem); letter-spacing: .1em; margin-bottom: .4em; }
.page-hero .countdown { justify-content: center; margin-top: 28px; }
.timeline { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--line); }
.timeline li { position: relative; padding: 0 0 28px 28px; }
.timeline li::before { content: ""; position: absolute; left: -8px; top: 8px; width: 14px; height: 14px; border-radius: 50%; background: var(--grad); }
.timeline time { font-family: var(--serif); color: var(--saffron); font-size: 1.05rem; }
.faq details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.faq summary { cursor: pointer; font-family: var(--serif); color: var(--navy); font-size: 1.08rem; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "＋"; float: right; color: var(--saffron); }
.faq details[open] summary::after { content: "－"; }
.faq details p { margin: 12px 0 0; }

/* 404 */
.notfound { min-height: 60vh; display: flex; align-items: center; text-align: center; }
.notfound .big { font-family: var(--serif); font-size: clamp(4rem, 16vw, 8rem); line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- 頁尾 ---------- */
.site-footer { background: #26293b; color: #c9c7d3; font-size: .93rem; }
.site-footer a { text-decoration: none; color: #c9c7d3; }
.site-footer a:hover { color: var(--sun); }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; padding: 64px 0 40px; }
.footer-top h4 { color: #fff; font-size: 1rem; letter-spacing: .15em; margin-bottom: 1em; }
.footer-top ul { list-style: none; margin: 0; padding: 0; }
.footer-top li { margin-bottom: .55em; }
.footer-brand .brand { color: #fff; margin-bottom: 14px; }
.footer-brand .brand-text small { color: #a5a3b3; }
.social { display: flex; gap: 10px; margin-top: 18px; }
.social a {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,.2);
}
.social svg { width: 18px; height: 18px; fill: currentColor; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 20px 0 28px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: .84rem; color: #9896a6; }
@media (max-width: 760px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

/* 無障礙 */
.skip { position: absolute; left: -999px; top: 0; background: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 10px; top: 10px; }
:focus-visible { outline: 2px solid var(--saffron); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* ===== 第一版內容用樣式 ===== */
.hero-media img { object-position: 50% 30%; }
.page-hero .hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero h1 { text-shadow: 0 2px 18px rgba(0,0,0,.35); }
.hero-sub, .page-hero p { text-shadow: 0 1px 10px rgba(0,0,0,.35); }
.source-note { font-size: .82rem; color: var(--muted); margin-top: 18px; }
.section--navy .source-note { color: #a5a3b3; }
.hero-name { font-size: .95rem; letter-spacing: .12em; opacity: .9; margin-bottom: .6em; }

/* 12/9 頁主視覺：深色底＋小幅肖像（原圖只有 560px，不做滿版） */
.visit-hero { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.visit-hero::before { content: ""; position: absolute; left: -160px; bottom: -200px; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(249,199,79,.28), transparent 70%); }
.visit-hero .wrap { position: relative; display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(28px, 6vw, 72px); align-items: center; padding-top: clamp(48px, 8vw, 96px); padding-bottom: clamp(48px, 8vw, 96px); }
.visit-hero h1 { color: #fff; font-size: clamp(2.2rem, 6vw, 3.8rem); }
.visit-hero .lead { color: #f3eee8; font-size: clamp(1.08rem, 2.4vw, 1.3rem); }
.visit-hero .countdown { margin-top: 26px; flex-wrap: wrap; }
.visit-hero-photo img { width: 100%; max-width: 420px; aspect-ratio: 1; object-fit: cover; border-radius: 50%; margin-left: auto; border: 6px solid rgba(255,255,255,.12); }
@media (max-width: 860px) {
  .visit-hero .wrap { grid-template-columns: 1fr; }
  .visit-hero-photo { order: -1; }
  .visit-hero-photo img { max-width: 220px; margin: 0 auto; }
}
.follow-list { list-style: none; padding: 0; margin: 0 0 1.2em; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.follow-list a { display: block; padding: 14px 18px; border: 1px solid var(--line); border-radius: var(--radius-sm); text-decoration: none; color: var(--navy); background: #fff; }
.follow-list a:hover { border-color: var(--saffron); color: var(--saffron); }
.follow-list small { display: block; color: var(--muted); font-size: .8rem; }
@media (max-width: 600px) { .follow-list { grid-template-columns: 1fr; } }
.notice { background: var(--peach); border-radius: var(--radius-sm); padding: 14px 18px; font-size: .95rem; }

/* 文章內表格、引言、清單 */
.prose h3 { margin-top: 1.6em; }
.prose ul { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .35em; }
.prose blockquote, blockquote.pull {
  margin: 1.4em 0; padding: 18px 22px; border-left: 3px solid var(--saffron);
  background: var(--cream); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-family: var(--serif); color: var(--navy); line-height: 1.8;
}
.table-wrap { overflow-x: auto; margin: 0 0 1.6em; -webkit-overflow-scrolling: touch; }
table.data { width: 100%; border-collapse: collapse; font-size: .95rem; }
table.data th, table.data td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.data th { font-family: var(--serif); color: var(--navy); background: var(--cream); white-space: nowrap; }
table.data td:first-child { white-space: nowrap; color: var(--saffron); font-family: var(--serif); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 1.2em; padding: 0; list-style: none; }
.tags li { border: 1px solid var(--line); border-radius: 999px; padding: 3px 12px; font-size: .88rem; background: #fff; color: var(--navy); margin: 0; }
.mini-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 0 0 1.4em; }
.mini-gallery figure { margin: 0; }
.mini-gallery img { aspect-ratio: 1; object-fit: cover; border-radius: var(--radius-sm); width: 100%; }
.mini-gallery figcaption { font-size: .8rem; color: var(--muted); text-align: center; margin-top: 6px; }
.work-block { padding: clamp(48px, 7vw, 88px) 0; }
.work-block:nth-of-type(even) { background: var(--cream); }
.work-block .lead-img img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); margin-bottom: 28px; }
.anchor-nav { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.anchor-nav a { border: 1px solid var(--line); border-radius: 999px; padding: 8px 18px; text-decoration: none; color: var(--navy); background: #fff; }
.anchor-nav a:hover { border-color: var(--saffron); color: var(--saffron); }

/* 榮譽卡片 */
.cert .media img { aspect-ratio: 1; object-fit: cover; width: 100%; }
.cert p small { display: block; color: var(--muted); }
.cert-grid--5 { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 1000px) { .cert-grid--5 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .cert-grid--5 { grid-template-columns: repeat(2, 1fr); } }
.honor-list--img .honor { padding: 0; overflow: hidden; }
.honor-list--img .honor img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.honor-list--img .honor .in { padding: 22px 24px 26px; }

/* 語錄卡 */
.quote-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.quote-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; margin: 0; display: flex; flex-direction: column; }
.quote-card img { aspect-ratio: 1; object-fit: cover; width: 100%; }
.quote-card figcaption { padding: 20px 22px 24px; }
.quote-card .qn { font-size: .8rem; letter-spacing: .2em; color: var(--saffron); }
.quote-card h3 { margin: .2em 0 .5em; font-size: 1.15rem; }
.quote-card .zh { font-family: var(--serif); color: var(--navy); font-size: 1.02rem; line-height: 1.8; margin-bottom: .8em; }
.quote-card .en { font-size: .88rem; color: var(--muted); line-height: 1.65; margin: 0; letter-spacing: 0; }
@media (max-width: 1000px) { .quote-cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .quote-cards { grid-template-columns: 1fr; } }
.home-quote { display: grid; grid-template-columns: 340px 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; text-align: left; }
.home-quote img { border-radius: var(--radius); box-shadow: var(--shadow); }
.home-quote blockquote { margin: 0; max-width: none; }
@media (max-width: 760px) { .home-quote { grid-template-columns: 1fr; text-align: center; } .home-quote img { max-width: 260px; margin: 0 auto; } }

/* 台灣頁 */
.info-list { list-style: none; padding: 0; margin: 0 0 1.4em; }
.info-list li { padding: 10px 0; border-bottom: 1px solid var(--line); }
.info-list b { display: inline-block; min-width: 6em; color: var(--navy); font-weight: 500; }
.cta-block { text-align: center; padding: clamp(32px, 6vw, 56px); background: var(--grad); border-radius: var(--radius); color: #fff; }
.cta-block h2 { color: #fff; }
.cta-block .btn { background: #fff; color: var(--saffron); }

/* 頁尾四欄 */
.footer-top { grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr 1fr; gap: 28px; }
.footer-note { font-size: .8rem; color: #9896a6; margin-top: 4px; }
@media (max-width: 1000px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

@media (max-width: 600px) {
  table.data thead { display: none; }
  table.data tr { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); }
  table.data td { display: block; border: 0; padding: 2px 0; }
  table.data td:first-child { font-size: 1.05rem; }
}

/* 首頁主視覺：手機＝底部深色漸層；桌機＝左側霧色底＋人像靠右淡入 */
.hero .eyebrow { color: #ffd27a; }
.hero::after { background: linear-gradient(180deg, rgba(20,16,14,0) 22%, rgba(20,16,14,.55) 52%, rgba(20,16,14,.85) 100%); }
@media (min-width: 900px) {
  .hero--home { background: #efe3d6; color: var(--navy); align-items: center; }
  .hero--home::after { display: none; }
  .hero--home .hero-media { left: 34%; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 28%); mask-image: linear-gradient(90deg, transparent 0, #000 28%); }
  .hero--home .hero-media img { object-position: 40% 30%; }
  .hero--home .hero-body { padding-bottom: 0; }
  .hero--home h1 { color: var(--navy); text-shadow: none; }
  .hero--home .hero-sub { color: #4f4a45; text-shadow: none; max-width: 30em; }
  .hero--home .eyebrow { color: var(--saffron); }
  .hero--home .btn--light { border-color: var(--navy); color: var(--navy); }
  .hero--home .btn--light:hover { background: var(--navy); color: #fff; }
  .hero--home .hero-body > * { max-width: 560px; }
}
.prose .eyebrow + h2 { margin-top: 0; }
/* 生平頁：人臉留在上方，標題壓在下緣 */
.page-hero--bottom { align-items: flex-end; min-height: clamp(420px, 70vh, 640px); padding-bottom: 88px; }
.page-hero--bottom .hero-media img { object-position: 50% 18%; }
.page-hero--bottom::after { background: linear-gradient(180deg, rgba(20,16,14,0) 35%, rgba(20,16,14,.7) 100%); }
.prose ul.tags { padding-left: 0; }
.page-hero::after { background: rgba(20,16,14,.52); }
.page-hero--bottom::after { background: linear-gradient(180deg, rgba(20,16,14,.05) 30%, rgba(20,16,14,.75) 100%); }
.visit-hero .btn { margin-top: 24px; }
.prose .mini-gallery img { aspect-ratio: 1; }

/* 天數倒數（不顯示時分秒） */
.daysleft { margin: 0; font-family: var(--serif); font-size: 1.15rem; color: #fff; white-space: nowrap; }
.daysleft b { font-size: 2.6rem; color: var(--sun); margin: 0 .15em; font-variant-numeric: tabular-nums; vertical-align: -0.12em; }
.visit-hero .daysleft { margin-top: 22px; }
/* 全名不斷在詞中間 */
.nw { white-space: nowrap; display: inline-block; }
@media (max-width: 480px) { .page-hero--bottom h1 { font-size: 1.9rem; } }

/* 首頁主視覺：滿版背景影片（上下黑邊用放大裁掉）＋深色漸層讓白字可讀 */
.hero--video { background: #1a1512 url(/assets/video/hero-poster.jpg) center / cover no-repeat; }
.hero--video .hero-media { overflow: hidden; }
.hero-video { position: absolute; left: 0; top: -10%; width: 100%; height: 120%; object-fit: cover; } /* 上下各多 10% 被裁掉，吃掉影片黑邊 */
.hero--video::after {
  background:
    linear-gradient(90deg, rgba(14,11,9,.72) 0%, rgba(14,11,9,.45) 45%, rgba(14,11,9,.1) 75%),
    linear-gradient(180deg, rgba(14,11,9,.25) 0%, rgba(14,11,9,0) 30%, rgba(14,11,9,.6) 100%);
}
.hero--video .hero-body > * { max-width: 780px; }
.hero--video .hero-sub { max-width: 620px; }
@media (max-width: 760px) {
  .hero--video::after { background: linear-gradient(180deg, rgba(14,11,9,.2) 0%, rgba(14,11,9,.45) 40%, rgba(14,11,9,.85) 100%); }
}
@media (max-width: 760px) { .hero-video { object-position: 70% 50%; } .hero--video { background-position: 70% 50%; } }
@media (prefers-reduced-motion: reduce) { .hero-video { display: none; } }

/* 2026-10-24 生活的藝術新版 logo 取代原圓形字標 */
.brand .brand-logo { width: auto; height: 50px; display: block; }
.brand .brand-logo + .brand-text { padding-left: 12px; border-left: 1px solid rgba(0,0,0,.15); }
.footer-brand .brand .brand-logo + .brand-text { border-left-color: rgba(255,255,255,.25); }
@media (max-width: 760px) { .brand .brand-logo { height: 40px; } .brand .brand-logo + .brand-text { padding-left: 10px; } }
.footer-brand .brand .brand-text { display: none; }
.footer-brand .brand .brand-logo { height: 64px; }
.brand-text small { margin-top: 6px; }

/* 台灣頁：聯絡與追蹤（緊湊版） */
.contact-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 8px 40px; margin: 8px 0 36px; }
.contact-col { margin: 0; }
.contact-row { display: grid; grid-template-columns: 5.5em 1fr; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); line-height: 1.6; }
.contact-row dt { color: var(--muted); font-size: .88rem; padding-top: .1em; }
.contact-row dd { margin: 0; color: var(--navy); overflow-wrap: anywhere; }
.contact-row a { color: var(--navy); text-decoration-color: rgba(255,134,91,.5); text-underline-offset: 3px; }
@media (max-width: 760px) { .contact-grid { grid-template-columns: 1fr; gap: 0; } }
@media (max-width: 380px) { .contact-row { grid-template-columns: 1fr; gap: 0; } }

.icon-groups { display: flex; flex-wrap: wrap; gap: 28px 56px; }
.icon-group h3 { font-size: .95rem; letter-spacing: .1em; color: var(--muted); font-family: var(--sans); font-weight: 500; margin-bottom: 14px; }
.icon-row { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 18px 20px; }
.icon-btn { display: flex; flex-direction: column; align-items: center; gap: 8px; text-decoration: none; color: var(--navy); width: 72px; }
.icon-btn__circle {
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: #fff; border: 1px solid var(--line); color: var(--navy);
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.icon-btn svg { width: 24px; height: 24px; fill: currentColor; }
.icon-btn--event svg { fill: none; }
.icon-btn__label { font-size: .78rem; line-height: 1.3; text-align: center; }
.icon-btn:hover .icon-btn__circle, .icon-btn:focus-visible .icon-btn__circle { color: #fff; transform: translateY(-2px); border-color: transparent; }
.icon-btn--event:hover .icon-btn__circle, .icon-btn--event:focus-visible .icon-btn__circle { background: var(--saffron); }
.icon-btn--event:hover svg path[fill="currentColor"] { fill: #fff; }
.icon-btn--line:hover .icon-btn__circle, .icon-btn--line:focus-visible .icon-btn__circle { background: #06c755; }
.icon-btn--fb:hover .icon-btn__circle, .icon-btn--fb:focus-visible .icon-btn__circle { background: #1877f2; }
.icon-btn--ig:hover .icon-btn__circle, .icon-btn--ig:focus-visible .icon-btn__circle { background: linear-gradient(45deg, #f58529, #dd2a7b 50%, #8134af); }
.icon-btn--yt:hover .icon-btn__circle, .icon-btn--yt:focus-visible .icon-btn__circle { background: #ff0000; }
.contact-wrap { max-width: 1000px; }
@media (max-width: 600px) {
  .icon-groups { gap: 24px; }
  .icon-row { gap: 14px 7px; }
  .icon-btn { width: 56px; gap: 6px; }
  .icon-btn__circle { width: 48px; height: 48px; }
  .icon-btn svg { width: 22px; height: 22px; }
  .icon-btn__label { font-size: .72rem; }
}

/* 首頁 12/9 倒數條：從影片漸層溶入（不再一刀切）。
   做法：倒數條往上蓋住 hero 底部 --bar-fade 高度，用 mask 讓上緣透明 → 實色。
   配色＝B 深夜藍（LuLu 10/24 定案）。若改 A 炭灰：--bar-fill: #2b2b2e; 並加 .visit-bar::before { display: none; } */
.visit-bar {
  --bar-fade: 150px;
  --bar-fill: #2e3150;
  --bar-date: var(--sun);
  margin-top: calc(-1 * var(--bar-fade));
  padding-top: var(--bar-fade);
  background: var(--bar-fill);
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 var(--bar-fade));
          mask-image: linear-gradient(180deg, transparent 0, #000 var(--bar-fade));
}
.visit-bar::before { top: calc(var(--bar-fade) - 160px); }
.visit-bar .visit-date { color: var(--bar-date); }
.hero--video .hero-body { padding-bottom: calc(clamp(48px, 9vw, 110px) + 40px); }
@media (max-width: 760px) { .visit-bar { --bar-fade: 120px; } }


/* 台灣頁頁頂 banner：2026 國際瑜珈日大合照，對齊照片頂端；標題＋副標疊在上方看台＋氣球區，上→下深色漸層。 */
.tw-banner { position: relative; overflow: hidden; height: min(70vh, 720px); min-height: 460px; background: #1d2a4a; }
.tw-banner-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.tw-banner::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 40%; background: linear-gradient(180deg, rgba(14,20,40,.68) 0%, rgba(14,20,40,.45) 55%, rgba(14,20,40,0) 100%); pointer-events: none; }
.tw-banner-text { position: relative; z-index: 1; padding-top: clamp(28px, 4.5vw, 56px); text-align: center; color: #fff; }
.tw-banner-text h1 { color: #fff; font-size: clamp(2.4rem, 4.6vw, 3.8rem); margin: 0 0 .2em; text-shadow: 0 2px 14px rgba(0,0,0,.45); text-wrap: balance; }
.tw-banner-sub { margin: 0; font-size: clamp(1.02rem, 1.6vw, 1.25rem); text-shadow: 0 1px 10px rgba(0,0,0,.55); }
@media (max-width: 760px) {
  .tw-banner { height: 112vw; min-height: 0; max-height: 75vh; }
  .tw-banner::after { height: 36%; }
  .tw-banner-text { padding-top: 22px; }
  .tw-banner-text h1 { font-size: clamp(1.7rem, 8vw, 2.2rem); line-height: 1.25; }
}


/* 語言切換（中文 / EN） */
.site-header .brand { margin-right: auto; }
.site-header .nav { order: 2; }
.lang-switch {
  order: 3; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 44px; height: 34px; padding: 0 12px; margin-left: 10px;
  border: 1px solid var(--line); border-radius: 999px;
  font-size: .85rem; font-weight: 500; letter-spacing: .06em;
  color: var(--navy); text-decoration: none; background: #fff;
}
.lang-switch:hover { border-color: var(--saffron); color: var(--saffron); }
.nav-toggle { order: 4; }
@media (max-width: 1200px) { .lang-switch { margin-left: 0; margin-right: 4px; } }
/* 英文頁：外連按鈕樣式（Free Introductory Sessions） */
.nav .nav-ext a { border: 1.5px solid var(--saffron); color: var(--saffron); padding: 7px 16px; margin-left: 4px; }
.nav .nav-ext a:hover { background: var(--saffron); color: #fff; }
@media (max-width: 1200px) { .nav .nav-ext a { margin: 12px 0 0; text-align: center; border-radius: 999px; } }
/* 停用狀態按鈕（Tickets — coming soon） */
.btn--disabled { background: rgba(255,255,255,.14); color: rgba(255,255,255,.75); border: 1.5px dashed rgba(255,255,255,.45); cursor: default; box-shadow: none; }
.btn--disabled:hover { transform: none; }
.section .btn--disabled, .section--cream .btn--disabled { background: #f1ece6; color: #8a8580; border-color: #d8cfc5; }
/* 英文頁字距 */
body.lang-en { letter-spacing: 0; }
body.lang-en h1, body.lang-en h2, body.lang-en h3 { letter-spacing: .01em; }
body.lang-en .hero h1 { font-size: clamp(2rem, 5.2vw, 3.6rem); }
.contact-grid--en .contact-row { grid-template-columns: 7.5em 1fr; }
/* 英文頁首：站名不換行；中寬螢幕只留 logo 讓選單放得下；手機縮字 */
.brand-text { white-space: nowrap; }
@media (min-width: 1201px) and (max-width: 1340px) { body.lang-en .site-header .brand-text { display: none; } }
@media (max-width: 480px) {
  body.lang-en .site-header .brand-text { font-size: .98rem; letter-spacing: .02em; }
  body.lang-en .site-header .brand-text small { display: none; }
  .site-header .brand { gap: 8px; }
  .site-header .brand .brand-logo + .brand-text { padding-left: 8px; }
  .lang-switch { min-width: 40px; padding: 0 10px; }
}
body.lang-en .nav a { padding-left: 9px; padding-right: 9px; font-size: .93rem; }
.site-header .brand, .lang-switch, .nav-toggle { flex-shrink: 0; }
@media (max-width: 480px) {
  .site-header .wrap { gap: 6px; }
  body.lang-en .site-header .brand-text { font-size: .86rem; }
  .lang-switch { margin: 0; }
}
body.lang-en .site-header .wrap { max-width: 1320px; }
/* LuLu 10/24：標題壓到臉沒關係 → 手機副標也留在圖上，不另開色帶 */
@media (max-width: 760px) {
  .tw-banner-sub { display: block; font-size: .92rem; line-height: 1.6; padding: 0 4px; text-wrap: balance; }
  .tw-banner::after { height: 50%; background: linear-gradient(180deg, rgba(14,20,40,.7) 0%, rgba(14,20,40,.45) 55%, rgba(14,20,40,0) 100%); }
}
@media (min-width: 761px) {
  .tw-banner::after { height: 52%; background: linear-gradient(180deg, rgba(14,20,40,.68) 0%, rgba(14,20,40,.5) 45%, rgba(14,20,40,0) 100%); }
}
@media (max-width: 760px) {
  .tw-banner::after { height: 62%; background: linear-gradient(180deg, rgba(14,20,40,.72) 0%, rgba(14,20,40,.55) 60%, rgba(14,20,40,0) 100%); }
}

/* 2026-10-24 LuLu：台灣頁 banner 以人為主、不留背板字；標題垂直置中 */
.tw-banner { display: flex; align-items: center; justify-content: center; height: clamp(420px, 56vh, 580px); min-height: 0; max-height: none; }
.tw-banner-img { inset: auto 0 0 0; height: 100%; object-position: 50% 96%; }
.tw-banner::after, .tw-banner::after { top: 0; bottom: 0; height: 100%; background: radial-gradient(ellipse at center, rgba(14,20,40,.58) 0%, rgba(14,20,40,.38) 55%, rgba(14,20,40,.22) 100%); }
.tw-banner-text { padding-top: 0; }
@media (min-width: 761px) { .tw-banner-img { height: 135%; } }
@media (max-width: 760px) {
  .tw-banner { height: 100vw; max-height: 70vh; }
  .tw-banner-img { height: 165%; object-position: 50% 100%; }
  .tw-banner::after { height: 100%; background: rgba(14,20,40,.45); }
  .tw-banner-text { padding-top: 0; }
}
@media (max-width: 760px) {
  .tw-banner-img { height: 200%; object-position: 50% 100%; }
  .tw-banner-sub { font-size: .9rem; padding: 0 16px; }
}
