/* ============================================================
   Project HERO 雙語公益故事書 — 溫潤紙感繪本 × 一道光
   零依賴靜態樣式表。淺/深色雙票皆通過 WCAG AA。
   ============================================================ */

/* ---------- Design tokens：淺色（預設）v1.15 柔和大地：暖白底＋鼠尾草綠＋陶土色＋沙黃（L 2026-10-13 從三案選 C） ---------- */
:root {
  --bg: #F6F3EC;
  --surface: #FFFFFF;
  --surface-2: #EFEADF;
  --ink: #33302B;
  --ink-soft: #665F56;
  --primary: #46705A;          /* 鼠尾草綠：白字 5.6:1、on bg 5.1:1 */
  --primary-soft: #E3EBDD;
  --pill-ink: #3A5E48;          /* on primary-soft 6.0:1 */
  --accent: #A0503A;            /* 陶土色：on 白 5.7:1 */
  --accent-2: #C1694F;          /* 淺陶土，僅點綴 */
  --highlight: #E8C872;         /* 沙黃（呼應 LOGO 星星） */
  --line: #E2DACB;
  --nav-h: 66px;

  --shadow-card: 0 10px 30px rgba(51, 48, 43, .06);
  --shadow-card-h: 0 18px 44px rgba(51, 48, 43, .12);
  --shadow-cta: 0 8px 20px color-mix(in srgb, var(--primary) 28%, transparent);

  --radius: 18px;
  --radius-sm: 12px;
  --maxw: 1120px;
  --section-gap: clamp(4rem, 9vw, 7rem);

  --font-display: "Fraunces", "Noto Serif TC", Georgia, serif;
  --font-serif: "Noto Serif TC", "Songti TC", serif;
  --font-body: "Noto Sans TC", -apple-system, "PingFang TC", "Microsoft JhengHei", sans-serif;
  --font-round: "Baloo 2", "Noto Sans TC", sans-serif;

  --paper-opacity: .05;
  color-scheme: light;
}

/* ---------- Design tokens：深色 ---------- */
:root[data-theme="dark"] {
  --bg: #1E211D;
  --surface: #272B26;
  --surface-2: #30352F;
  --ink: #EEEAE2;
  --ink-soft: #B9B4AA;
  --primary: #9CC3A6;           /* 淺鼠尾草綠；深字 8.3:1 */
  --primary-soft: #34463A;
  --pill-ink: #BFDCC7;          /* on primary-soft 6.9:1 */
  --accent: #E59A80;
  --accent-2: #E08A6E;
  --highlight: #E8CD82;
  --line: #3B4139;
  --shadow-card: 0 12px 34px rgba(0, 0, 0, .35);
  --shadow-card-h: 0 20px 50px rgba(0, 0, 0, .5);
  --shadow-cta: 0 8px 22px color-mix(in srgb, var(--primary) 34%, transparent);
  --paper-opacity: .035;
  color-scheme: dark;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #1E211D; --surface: #272B26; --surface-2: #30352F;
    --ink: #EEEAE2; --ink-soft: #B9B4AA; --primary: #9CC3A6; --primary-soft: #34463A;
    --pill-ink: #BFDCC7;
    --accent: #E59A80; --accent-2: #E08A6E; --highlight: #E8CD82; --line: #3B4139;
    --shadow-card: 0 12px 34px rgba(0, 0, 0, .35);
    --shadow-card-h: 0 20px 50px rgba(0, 0, 0, .5);
    --shadow-cta: 0 8px 22px color-mix(in srgb, var(--primary) 34%, transparent);
    --paper-opacity: .035; color-scheme: dark;
  }
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.85;
  color: var(--ink);
  background: var(--bg);
  hanging-punctuation: allow-end;
  transition: background-color .35s ease, color .35s ease;
  overflow-x: hidden;
}
:lang(en) { line-height: 1.7; }
img, svg { max-width: 100%; }
a { color: var(--accent); text-underline-offset: .18em; text-decoration-thickness: 1.5px; }
a:not([class]):hover { color: var(--primary); }
h1, h2, h3 { font-family: var(--font-serif); font-weight: 700; line-height: 1.18; color: var(--ink); margin: 0; letter-spacing: .015em; }
p { margin: 0 0 1.1em; }
::selection { background: color-mix(in srgb, var(--highlight) 55%, transparent); color: var(--ink); }

/* 紙張纖維紋理（鋪滿整頁、純 SVG 濾鏡，不擋互動） */
body::before {
  content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: var(--paper-opacity);
  mix-blend-mode: multiply;
}
:root[data-theme="dark"] body::before { mix-blend-mode: screen; }

/* ---------- Layout helpers ---------- */
.wrap { width: min(100% - 2.5rem, var(--maxw)); margin-inline: auto; }
.section { position: relative; z-index: 1; padding-block: var(--section-gap); }
.section-head { max-width: 46rem; margin: 0 auto clamp(2rem, 4vw, 3rem); text-align: center; }
.section-head.left { text-align: left; margin-inline: 0; }
.eyebrow {
  font-family: var(--font-display); font-style: italic; font-weight: 500;
  font-size: 1.05rem; color: var(--ink-soft); margin: 0 0 .4rem; letter-spacing: .01em;
}
.section-title { font-size: clamp(1.8rem, 4vw, 2.6rem); position: relative; display: inline-block; text-wrap: balance; }
.section-title::after {
  content: ""; display: block; width: 56px; height: 5px; margin: .7rem auto 0;
  border-radius: 8px 14px 6px 12px; background: var(--primary);
}
.section-head.left .section-title::after { margin-inline: 0; }
.section.alt-accent .section-title::after { background: var(--accent); }
.section.alt-accent2 .section-title::after { background: var(--accent-2); }
.lead { font-size: 1.12rem; color: var(--ink-soft); max-width: 44rem; margin-inline: auto; text-wrap: pretty; }

/* ---------- Skip link ---------- */
.skip {
  position: absolute; left: 50%; transform: translateX(-50%) translateY(-150%);
  top: .5rem; z-index: 200; background: var(--primary); color: #fff;
  padding: .6rem 1.1rem; border-radius: 999px; font-weight: 700; transition: transform .2s;
}
.skip:focus { transform: translateX(-50%) translateY(0); color: #fff; }

/* ---------- Language span mechanism ---------- */
.le { display: none; }
:root[data-lang="en"] .lz { display: none; }
:root[data-lang="en"] .le { display: inline; }

/* ---------- Keyboard focus (WCAG 2.4.7) ---------- */
a:focus-visible,
button:focus-visible,
.btn:focus-visible,
.seg button:focus-visible,
.icon-btn:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}
:root[data-theme="dark"] a:focus-visible,
:root[data-theme="dark"] button:focus-visible { outline-color: var(--highlight); }

/* ---------- Fine-tuning & bilingual type ---------- */
.btn-ico { width: 18px; height: 18px; flex: none; }
.section.tint { background: color-mix(in srgb, var(--surface) 55%, var(--bg)); }
.quote .lz { font-family: var(--font-serif); font-style: normal; font-weight: 600; }
.quote .le { font-family: var(--font-display); font-style: italic; font-weight: 500; }
.quote cite .lz { font-family: var(--font-body); }
.quote cite .le { font-family: var(--font-display); font-style: italic; }
.openbook .book-left .big-quote .lz { font-family: var(--font-serif); font-style: normal; font-weight: 700; }
.openbook .book-left .big-quote .le { font-family: var(--font-display); font-style: italic; }
.a-quote .lz { font-family: var(--font-serif); font-style: normal; font-weight: 600; }
.a-quote .le { font-family: var(--font-display); font-style: italic; }
.join-quote .lz { font-family: var(--font-serif); font-style: normal; }
.join-quote .le { font-family: var(--font-display); font-style: italic; }
.hero-headline .lz { font-family: var(--font-serif); }

/* about 大引言出處 */
.openbook .book-left .big-quote-attrib { font-family: var(--font-display); font-style: italic; color: var(--ink-soft); font-size: 1rem; margin: .6rem 0 0; }
.openbook .book-left .big-quote-attrib .lz { font-family: var(--font-serif); font-style: normal; }
/* submission 細則備註與結尾金句 */
.fine-note { font-size: .9rem; line-height: 1.7; color: var(--ink-soft); margin: .7rem 0 0; }
.fine-note.center { text-align: center; max-width: 46rem; margin-inline: auto; }
.submit-closing { font-family: var(--font-serif); font-weight: 600; font-size: clamp(1.1rem, 2.4vw, 1.35rem); color: var(--ink); text-align: center; max-width: 44rem; margin: 1.6rem auto .4rem; line-height: 1.6; }
.submit-closing .le { font-family: var(--font-display); }
/* join 海獅吉祥物與延伸 */
.join-mascot { display: block; width: clamp(110px, 18vw, 152px); height: auto; margin: 0 auto 1rem; filter: drop-shadow(0 10px 18px rgba(51, 48, 43, .16)); }
.lead-sm { font-size: 1.02rem; margin-top: -.4rem; }
.join-report { margin: 0 0 1.4rem; }
.join-report a { display: inline-flex; align-items: center; gap: .4rem; color: var(--accent); text-decoration: none; font-weight: 600; font-size: .95rem; }
.join-report a:hover { color: var(--primary); }
/* 宣傳短片內嵌（直式 Short 9:16 / 一般 16:9） */
.promo-video { max-width: 320px; margin: 1.6rem auto 0; text-align: center; }
.promo-video .video-frame { position: relative; width: 100%; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 16px 40px rgba(51, 48, 43, .18); background: #000; }
.promo-video .video-frame::before { content: ""; display: block; padding-top: 56.25%; }
.promo-video .video-frame.short::before { padding-top: 177.78%; }
.promo-video .video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.promo-video .video-cap { margin-top: .75rem; font-size: .92rem; line-height: 1.6; color: var(--ink-soft); }
/* 公益大使「更多鬱兔」 */
.a-more { display: inline-flex; align-items: center; gap: .35rem; margin-top: 1rem; color: var(--accent); text-decoration: none; font-weight: 600; }
.a-more:hover { color: var(--primary); }

/* ============================================================
   Navbar
   ============================================================ */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--nav-h);
  display: flex; align-items: center; transition: height .3s ease, background-color .3s ease, box-shadow .3s ease, border-color .3s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  --nav-h: 56px;
  height: var(--nav-h);
  background: color-mix(in srgb, var(--surface) 82%, transparent);
  backdrop-filter: blur(10px) saturate(1.05);
  -webkit-backdrop-filter: blur(10px) saturate(1.05);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 6px 20px rgba(51, 48, 43, .08);
}
.nav .wrap { display: flex; align-items: center; gap: 1rem; width: min(100% - 2rem, var(--maxw)); }
.brand { display: inline-flex; align-items: center; text-decoration: none; flex: none; }
.brand-logo { height: 46px; width: auto; display: block; transition: height .3s ease; }
.nav.scrolled .brand-logo { height: 38px; }
/* 吉祥物（海獅）導覽圖——圓形裁切，不需底板 */
.brand-mascot { width: 46px; height: 46px; border-radius: 50%; object-fit: cover;
  filter: drop-shadow(0 2px 6px rgba(51, 48, 43, .18)); flex: none; }
.nav.scrolled .brand-mascot { width: 38px; height: 38px; }
/* 品牌名稱（吉祥物旁的站名文字） */
.brand-name { margin-left: .6rem; font-family: var(--font-display); font-weight: 600; font-size: 1.16rem;
  letter-spacing: .012em; color: var(--ink); line-height: 1; white-space: nowrap; transition: font-size .3s ease; }
.nav.scrolled .brand-name { font-size: 1.04rem; }
/* 深淺色都用藍色版 LOGO（logo-藍色版.jpg）；深色模式加淺色底板維持可讀；吉祥物不加底板 */
:root[data-theme="dark"] .brand-logo:not(.brand-mascot),
:root[data-theme="dark"] .footer-logo { background: #FFFFFF; padding: 4px 9px; border-radius: 11px; box-shadow: 0 2px 10px rgba(0, 0, 0, .3); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .brand-logo:not(.brand-mascot),
  :root:not([data-theme="light"]) .footer-logo { background: #FFFFFF; padding: 4px 9px; border-radius: 11px; box-shadow: 0 2px 10px rgba(0, 0, 0, .3); }
}
.nav-links { display: flex; align-items: center; gap: .2rem; margin-left: auto; }
.nav-links a {
  position: relative; color: var(--ink-soft); text-decoration: none; font-size: .96rem;
  font-weight: 500; padding: .45rem .7rem; border-radius: 8px;
}
.nav-links a::after {
  content: ""; position: absolute; left: .7rem; right: .7rem; bottom: .26rem; height: 3px;
  background: var(--highlight); border-radius: 8px 14px 6px; transform: scaleX(0); transform-origin: left;
  transition: transform .28s ease;
}
.nav-links a:hover, .nav-links a:focus-visible { color: var(--ink); }
.nav-links a:hover::after, .nav-links a:focus-visible::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-links a.active { color: var(--ink); }

.nav-tools { display: flex; align-items: center; gap: .5rem; }
.seg {
  display: inline-flex; align-items: center; background: var(--surface-2);
  border: 1px solid var(--line); border-radius: 999px; padding: 2px;
}
.seg button {
  font: 600 .85rem/1 var(--font-body); border: 0; background: transparent; color: var(--ink-soft);
  padding: .34rem .62rem; border-radius: 999px; cursor: pointer; min-width: 38px; transition: background-color .2s, color .2s;
}
.seg button[aria-pressed="true"] { background: var(--primary); color: #fff; }
:root[data-theme="dark"] .seg button[aria-pressed="true"] { color: #1E211D; }

.icon-btn {
  display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 999px;
  background: var(--surface-2); border: 1px solid var(--line); color: var(--ink); cursor: pointer; transition: transform .2s, background-color .2s;
}
.icon-btn:hover { transform: translateY(-1px); }
.icon-btn svg { width: 20px; height: 20px; }
:root[data-theme="dark"] .moon { display: none; }
:root:not([data-theme="dark"]) .sun { display: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .moon { display: none; } :root:not([data-theme="light"]) .sun { display: inline; } }

.btn {
  display: inline-flex; align-items: center; gap: .5rem; font: 700 1rem/1 var(--font-body);
  text-decoration: none; cursor: pointer; border: 0; border-radius: 999px;
  padding: .72rem 1.5rem; transition: transform .2s ease, box-shadow .25s ease, background-color .2s;
  position: relative; overflow: hidden;
}
.btn-primary { background: var(--primary); color: #fff; box-shadow: var(--shadow-cta); }
:root[data-theme="dark"] .btn-primary { color: #1E211D; }
.btn-primary::before {
  content: ""; position: absolute; inset: 0; transform: translateX(-120%);
  background: linear-gradient(100deg, transparent, color-mix(in srgb, var(--highlight) 60%, transparent), transparent);
  transition: transform .6s ease;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 28px color-mix(in srgb, var(--primary) 38%, transparent); color: #fff; }
:root[data-theme="dark"] .btn-primary:hover { color: #1E211D; }
.btn-primary:hover::before { transform: translateX(120%); }
.btn-primary:active { transform: scale(.98); }
.btn-ghost { background: transparent; color: var(--primary); border: 1.5px solid var(--primary); }
.btn-ghost:hover { background: var(--primary-soft); color: var(--primary); transform: translateY(-2px); }
.btn-sm { padding: .5rem 1.05rem; font-size: .92rem; }
.nav .btn { flex: none; }

/* hamburger */
.hamburger { display: none; }

/* ============================================================
   Hero
   ============================================================ */
.hero { position: relative; z-index: 1; padding-top: clamp(7rem, 14vh, 10rem); padding-bottom: clamp(3rem, 6vw, 5rem); overflow: hidden; }
.hero-glow {
  position: absolute; left: 50%; top: 34%; width: min(120vw, 1100px); aspect-ratio: 1; transform: translate(-50%, -50%);
  background: radial-gradient(circle at center, color-mix(in srgb, var(--highlight) 42%, transparent) 0%, transparent 60%);
  pointer-events: none; z-index: -1; animation: breathe 8s ease-in-out infinite;
}
:root[data-theme="dark"] .hero-glow { mix-blend-mode: screen; background: radial-gradient(circle at center, color-mix(in srgb, var(--highlight) 30%, transparent) 0%, transparent 62%); }
@keyframes breathe { 0%, 100% { opacity: .8; transform: translate(-50%, -50%) scale(1); } 50% { opacity: 1; transform: translate(-50%, -50%) scale(1.05); } }
.hero-inner { text-align: center; max-width: 52rem; margin-inline: auto; }
.hero-poster { margin: 0 auto 1.9rem; max-width: min(640px, 94%); }
.cover-img {
  display: block; width: 100%; height: auto; border-radius: 16px; background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: 0 22px 54px rgba(51, 48, 43, .2), 0 4px 12px rgba(51, 48, 43, .08);
  transform: rotate(-1deg); transition: transform .4s ease, box-shadow .4s ease;
}
.cover-img:hover { transform: rotate(0deg) translateY(-3px); box-shadow: 0 28px 64px rgba(51, 48, 43, .26); }
.hero-eyebrow {
  display: inline-block; font-family: var(--font-display); font-style: italic; font-weight: 500;
  color: var(--primary); font-size: clamp(1rem, 2.4vw, 1.18rem); margin-bottom: .9rem; letter-spacing: .01em;
}
.hero-headline { font-family: var(--font-serif); font-weight: 700; font-size: clamp(2.4rem, 6.4vw, 4.2rem); line-height: 1.14; letter-spacing: .02em; margin: 0 0 .2rem; }
.hero-headline .en-title { font-family: var(--font-display); font-style: italic; font-weight: 500; }
.hero-sub { font-size: clamp(1.05rem, 2.4vw, 1.3rem); color: var(--ink-soft); max-width: 38rem; margin: 1.1rem auto 1.8rem; line-height: 1.7; }
.hero-cta { display: flex; gap: .9rem; justify-content: center; flex-wrap: wrap; }

.hero-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; max-width: 60rem; margin: clamp(2.6rem, 5vw, 4rem) auto 0; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem .8rem; text-align: center; box-shadow: var(--shadow-card); }
.stat .num { font-family: var(--font-round); font-weight: 700; font-size: clamp(1.4rem, 3vw, 1.9rem); color: var(--primary); line-height: 1.1; }
.stat .label { font-size: .9rem; color: var(--ink-soft); margin-top: .25rem; }

.scroll-cue { display: flex; justify-content: center; margin-top: 2.4rem; color: var(--ink-soft); }
.scroll-cue svg { width: 26px; height: 26px; animation: bob 2.2s ease-in-out infinite; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(6px); } }

/* ============================================================
   Generic content blocks
   ============================================================ */
.prose { max-width: 40rem; }
.prose p { color: var(--ink); text-wrap: pretty; }
:lang(en).prose, .prose :lang(en) { max-width: 64ch; }

.quote {
  position: relative; margin: 1.6rem 0; padding: 1.2rem 1.4rem 1.2rem 1.7rem;
  border-left: 4px solid var(--highlight); background: color-mix(in srgb, var(--highlight) 9%, transparent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.quote p { font-family: var(--font-serif); font-size: 1.2rem; color: var(--ink); margin: 0; font-weight: 600; }
.quote cite { display: block; margin-top: .5rem; font-style: normal; font-size: .92rem; color: var(--ink-soft); font-family: var(--font-display); }

.callout {
  display: flex; align-items: center; gap: .7rem; margin: 1.4rem 0;
  font-family: var(--font-serif); font-weight: 700; font-size: clamp(1.15rem, 2.6vw, 1.5rem);
  color: var(--primary); justify-content: center; text-align: center;
}
.callout .ico { width: 28px; height: 28px; flex: none; color: var(--accent); }

.signature { font-family: var(--font-display); font-style: italic; color: var(--ink-soft); text-align: right; margin-top: 1.2rem; }

/* about: open-book layout */
.openbook { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.openbook .book-left {
  position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2rem 1.8rem; box-shadow: var(--shadow-card); align-self: start;
}
.openbook .book-left .big-quote { font-family: var(--font-display); font-style: italic; font-size: clamp(1.5rem, 3.4vw, 2.1rem); color: var(--primary); line-height: 1.35; }
.openbook .book-left .big-quote-zh { font-family: var(--font-serif); font-weight: 700; }
.openbook .book-left .pen { width: 56px; height: 56px; color: var(--accent); margin-bottom: 1rem; }

/* mission pillars */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.pillar { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem 1.5rem; text-align: center; box-shadow: var(--shadow-card); transition: transform .3s ease, box-shadow .3s ease; }
.pillar:hover { transform: translateY(-4px) rotate(-.4deg); box-shadow: var(--shadow-card-h); }
.pillar .p-ico { width: 56px; height: 56px; margin: 0 auto .9rem; color: var(--primary); }
.pillar h3 { font-size: 1.35rem; margin-bottom: .4rem; }
.pillar p { font-size: .98rem; color: var(--ink-soft); margin: 0; }

/* ============================================================
   Submission
   ============================================================ */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin: 1.5rem 0 2.6rem; counter-reset: step; }
.step { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem 1.2rem 1.3rem; text-align: center; box-shadow: var(--shadow-card); }
.step .n { display: grid; place-items: center; width: 44px; height: 44px; margin: 0 auto .7rem; border-radius: 999px; background: var(--primary-soft); color: var(--primary); font-family: var(--font-round); font-weight: 700; font-size: 1.3rem; }
.step:nth-child(even) .n { background: color-mix(in srgb, var(--accent) 18%, transparent); color: var(--accent); }
.step h4 { font-family: var(--font-serif); font-size: 1.1rem; margin: 0 0 .35rem; color: var(--ink); }
.step p { font-size: .92rem; color: var(--ink-soft); margin: 0; }
.step::after {
  content: ""; position: absolute; right: -.65rem; top: 2.1rem; width: 1.3rem; height: 2px;
  background: repeating-linear-gradient(90deg, var(--primary) 0 5px, transparent 5px 9px);
}
.step:last-child::after { display: none; }

.specs-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin-bottom: 1.6rem; }
.spec-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem 1.4rem; box-shadow: var(--shadow-card); transition: transform .3s ease, box-shadow .3s ease; }
.spec-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-card-h); }
.spec-card .tag { display: inline-block; font-family: var(--font-round); font-weight: 600; font-size: .8rem; color: var(--pill-ink); background: var(--primary-soft); padding: .2rem .7rem; border-radius: 999px; margin-bottom: .6rem; }
.spec-card p { margin: 0; color: var(--ink); font-size: 1rem; }

.info-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; margin-bottom: 1.6rem; }
.info-block h4 { font-family: var(--font-serif); font-size: 1.15rem; margin: 0 0 .7rem; display: flex; align-items: center; gap: .5rem; }
.info-block h4 .ico { width: 22px; height: 22px; color: var(--accent); }
.ph-list { list-style: none; margin: 0; padding: 0; }
.ph-list li { position: relative; padding-left: 1.5rem; margin-bottom: .55rem; color: var(--ink); }
.ph-list li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: var(--highlight); }

.deadline-banner {
  display: flex; align-items: center; gap: .7rem; justify-content: center; text-align: center;
  background: var(--primary-soft); color: var(--ink); border: 1px dashed color-mix(in srgb, var(--primary) 55%, transparent);
  border-radius: var(--radius); padding: 1rem 1.4rem; font-weight: 600; font-family: var(--font-serif); margin-bottom: 1.6rem;
}
.deadline-banner .ico { width: 24px; height: 24px; color: var(--primary); flex: none; }

.submit-actions { display: flex; gap: .9rem; justify-content: center; flex-wrap: wrap; margin-top: 1.8rem; }

/* ============================================================
   Ambassador
   ============================================================ */
.ambassador-card {
  display: grid; grid-template-columns: 200px 1fr; gap: clamp(1.4rem, 3vw, 2.6rem); align-items: center;
  background: var(--surface); border: 1px solid var(--line); border-radius: calc(var(--radius) + 6px);
  padding: clamp(1.6rem, 3vw, 2.6rem); box-shadow: var(--shadow-card); max-width: 60rem; margin-inline: auto; position: relative; overflow: hidden;
}
.ambassador-card .portrait {
  width: 200px; height: 200px; flex: none; justify-self: center;
  object-fit: cover; border-radius: 50%; border: 4px solid var(--surface);
  box-shadow: 0 0 0 3px var(--primary-soft), 0 14px 30px rgba(51, 48, 43, .16);
}
.ambassador-card .a-title { font-family: var(--font-serif); font-size: clamp(1.3rem, 2.6vw, 1.6rem); color: var(--ink); margin: 0 0 .8rem; }
.ambassador-card .a-bio { color: var(--ink-soft); font-size: 1rem; margin-bottom: 1rem; }
.a-highlights { list-style: none; margin: 0 0 1.1rem; padding: 0; display: grid; gap: .4rem; }
.a-highlights li { position: relative; padding-left: 1.4rem; font-size: .95rem; color: var(--ink); }
.a-highlights li::before { content: "✦"; position: absolute; left: 0; color: var(--highlight); }
.a-quote { font-family: var(--font-display); font-style: italic; color: var(--primary); border-left: 3px solid var(--highlight); padding-left: 1rem; font-size: 1.05rem; }
.a-quote .lz { font-family: var(--font-serif); font-style: normal; font-weight: 600; }

/* ============================================================
   Team
   ============================================================ */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; max-width: 64rem; margin-inline: auto; }
.member { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem 1.3rem; text-align: center; box-shadow: var(--shadow-card); transition: transform .3s ease, box-shadow .3s ease; }
.member:hover { transform: translateY(-4px) rotate(.3deg); box-shadow: var(--shadow-card-h); }
.member .avatar { width: 72px; height: 72px; margin: 0 auto .9rem; display: grid; place-items: center; border-radius: 999px; background: var(--primary-soft); color: var(--primary); }
.member:nth-child(3n+2) .avatar { background: color-mix(in srgb, var(--accent) 16%, transparent); color: var(--accent); }
.member:nth-child(3n) .avatar { background: color-mix(in srgb, var(--accent-2) 16%, transparent); color: var(--accent-2); }
.member .avatar svg { width: 36px; height: 36px; }
.member .avatar-img { width: 96px; height: 96px; margin: 0 auto .9rem; display: block; object-fit: cover; border-radius: 50%; background: var(--primary-soft); border: 3px solid var(--surface); box-shadow: 0 0 0 3px var(--primary-soft), 0 8px 18px rgba(51, 48, 43, .14); }
.member:nth-child(3n+2) .avatar-img { box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 26%, transparent), 0 8px 18px rgba(51, 48, 43, .14); }
.member:nth-child(3n) .avatar-img { box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent-2) 26%, transparent), 0 8px 18px rgba(51, 48, 43, .14); }
.member { display: flex; flex-direction: column; align-items: center; }
.member .m-namewrap { margin-bottom: .15rem; }
.member .m-name { display: block; font-family: var(--font-serif); font-weight: 700; font-size: 1.2rem; color: var(--ink); }
.member .m-sub { display: block; font-size: .85rem; color: var(--ink-soft); font-family: var(--font-display); font-style: italic; }
.member .m-role { margin-top: .3rem; display: block; font-family: var(--font-round); font-weight: 700; font-size: .92rem; line-height: 1.45; color: var(--pill-ink); }
.member .m-stats { width: 100%; margin-top: .95rem; padding-top: .95rem; border-top: 1px dashed var(--line); display: flex; flex-direction: column; align-items: center; gap: .4rem; }
.member .m-skill { display: inline-flex; align-items: center; gap: .45rem; flex-wrap: wrap; justify-content: center; }
.member .m-skill-k { font-size: .68rem; letter-spacing: .12em; color: var(--ink-soft); background: var(--surface-2); border: 1px solid var(--line); padding: .12rem .5rem; border-radius: 999px; }
.member .m-skill-v { font-family: var(--font-round); font-weight: 700; font-size: 1.02rem; color: var(--accent); }
.member:nth-child(3n) .m-skill-v { color: var(--accent-2); }
.member .m-effect { font-size: .9rem; line-height: 1.6; color: var(--ink-soft); font-style: italic; margin: 0; max-width: 22rem; }
.member .m-base { display: inline-flex; align-items: center; gap: .35rem; margin-top: auto; padding-top: .9rem; font-size: .86rem; color: var(--accent); text-decoration: none; font-weight: 600; }
.member .m-base:hover { color: var(--primary); }
.member .m-base-ico { width: 14px; height: 14px; flex: none; }
/* 固定高度讓六張卡片各列對齊 */
.member .m-role { min-height: 2.7em; display: flex; align-items: center; justify-content: center; }
.member .m-effect { min-height: 2.9em; display: flex; align-items: center; justify-content: center; }

/* ============================================================
   分頁（client-side 切換）
   ============================================================ */
.page { display: none; }
.page.active { display: block; animation: pageIn .4s ease both; }
@keyframes pageIn { from { opacity: 0; } to { opacity: 1; } }
.page > .section:first-child { padding-top: calc(var(--nav-h) + clamp(1.6rem, 4vw, 3.2rem)); }
@media (prefers-reduced-motion: reduce) { .page.active { animation: none; } }

/* ============================================================
   手風琴（透明與 AI 折疊）
   ============================================================ */
.trust-accordion { max-width: 56rem; margin-inline: auto; display: grid; gap: 1rem; }
.accordion-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-card); overflow: hidden; }
.accordion-summary { display: flex; align-items: center; gap: .7rem; padding: 1.2rem 1.5rem; cursor: pointer; list-style: none; font-family: var(--font-serif); font-weight: 700; font-size: clamp(1.05rem, 2.4vw, 1.25rem); color: var(--ink); }
.accordion-summary::-webkit-details-marker { display: none; }
.accordion-summary:hover { color: var(--primary); }
.accordion-summary .ico { width: 26px; height: 26px; color: var(--accent); flex: none; }
.accordion-item:nth-child(2) .accordion-summary .ico { color: var(--accent-2); }
.accordion-summary .acc-chevron { margin-left: auto; color: var(--ink-soft); display: inline-flex; transition: transform .25s ease; }
.accordion-summary .acc-chevron svg { width: 22px; height: 22px; }
.accordion-item[open] .accordion-summary .acc-chevron { transform: rotate(180deg); }
.accordion-item[open] .accordion-summary { color: var(--primary); }
.accordion-body { padding: 0 1.5rem 1.4rem; }
.accordion-body p { color: var(--ink-soft); margin: 0 0 .9rem; line-height: 1.85; }
.accordion-body p:last-child { margin-bottom: 0; }

/* ============================================================
   Transparency & AI
   ============================================================ */
.trust-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; max-width: 62rem; margin-inline: auto; }
.trust-card { background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: var(--radius); padding: 1.8rem 1.7rem; box-shadow: var(--shadow-card); }
.trust-card:nth-child(2) { border-left-color: var(--accent-2); }
.trust-card .t-head { display: flex; align-items: center; gap: .6rem; margin-bottom: .8rem; }
.trust-card .t-head .ico { width: 28px; height: 28px; color: var(--accent); flex: none; }
.trust-card:nth-child(2) .t-head .ico { color: var(--accent-2); }
.trust-card h3 { font-size: 1.25rem; }
.trust-card p { color: var(--ink-soft); margin: 0; }

/* ============================================================
   Join / CTA
   ============================================================ */
.join { position: relative; overflow: hidden; }
.join-card {
  position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: calc(var(--radius) + 10px);
  padding: clamp(2.2rem, 5vw, 3.6rem); text-align: center; box-shadow: var(--shadow-card); max-width: 56rem; margin-inline: auto; overflow: hidden;
}
.join-card .join-glow { position: absolute; left: 50%; top: -30%; width: 80%; aspect-ratio: 1; transform: translateX(-50%); background: radial-gradient(circle, color-mix(in srgb, var(--highlight) 30%, transparent), transparent 60%); pointer-events: none; }
.join-card .lead { margin-bottom: 1.6rem; }
.join-ways { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; max-width: 40rem; margin: 0 auto 2rem; text-align: left; }
.join-way { display: flex; align-items: center; gap: .7rem; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: .9rem 1.1rem; }
.join-way .ico { width: 26px; height: 26px; color: var(--primary); flex: none; }
.join-way span { font-size: .98rem; }
.join-quote { font-family: var(--font-display); font-style: italic; color: var(--ink-soft); font-size: 1.1rem; margin-top: 1.6rem; }
.join-quote .lz { font-family: var(--font-serif); font-style: normal; }

/* ============================================================
   Footer
   ============================================================ */
.footer { position: relative; z-index: 1; border-top: 1px solid var(--line); padding-block: clamp(2.5rem, 5vw, 3.5rem) 1.5rem; background: var(--surface-2); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1.2fr 1fr; gap: 2.4rem; align-items: start; }
.footer-brand { display: inline-block; }
.footer-logo { width: clamp(150px, 23vw, 196px); height: auto; display: block; margin-bottom: 1rem; }
.footer-tag { color: var(--ink-soft); max-width: 26rem; font-size: .95rem; line-height: 1.85; }
.footer h4 { font-family: var(--font-serif); font-size: 1.02rem; margin: .2rem 0 1.1rem; color: var(--ink); position: relative; padding-bottom: .5rem; }
.footer h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 28px; height: 3px; border-radius: 6px; background: var(--primary); }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .6rem 1.2rem; }
.footer-links a { display: inline-flex; align-items: center; gap: .3rem; color: var(--ink-soft); text-decoration: none; font-size: .95rem; transition: color .2s; }
.footer-links a:hover { color: var(--primary); }
.footer-col .btn { margin-bottom: 1.2rem; }
.future-prose { max-width: 46rem; margin-inline: auto; text-align: center; }
.social { display: flex; gap: .6rem; flex-wrap: wrap; }
.social a { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--ink); transition: transform .2s, color .2s, border-color .2s; }
.social a:hover { transform: translateY(-2px); color: var(--primary); border-color: var(--primary); }
.social a svg { width: 20px; height: 20px; }
.footer-contact { font-size: .92rem; color: var(--ink-soft); margin-top: .8rem; }
.footer-contact a { color: var(--accent); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; margin-top: 2.2rem; padding-top: 1.3rem; border-top: 1px solid var(--line); font-size: .86rem; color: var(--ink-soft); }
.footer-bottom .ver { font-family: var(--font-round); }
.footer-rule { height: 2px; margin-top: 1.2rem; background: linear-gradient(90deg, transparent, var(--highlight), transparent); opacity: .6; }

/* ============================================================
   Reveal animation
   ============================================================ */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.22,.61,.36,1), transform .7s cubic-bezier(.22,.61,.36,1); }
.reveal.in { opacity: 1; transform: none; }
.stagger > * { opacity: 0; transform: translateY(18px); transition: opacity .6s cubic-bezier(.22,.61,.36,1), transform .6s cubic-bezier(.22,.61,.36,1); }
.stagger.in > * { opacity: 1; transform: none; }
.stagger.in > *:nth-child(2) { transition-delay: .08s; }
.stagger.in > *:nth-child(3) { transition-delay: .16s; }
.stagger.in > *:nth-child(4) { transition-delay: .24s; }
.stagger.in > *:nth-child(5) { transition-delay: .32s; }
.stagger.in > *:nth-child(6) { transition-delay: .4s; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .stagger > * { opacity: 1 !important; transform: none !important; transition: none !important; }
  .hero-glow, .scroll-cue svg, .btn-primary::before { animation: none !important; }
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 900px) {
  .openbook { grid-template-columns: 1fr; }
  .info-cols, .trust-grid, .specs-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .ambassador-card { grid-template-columns: 1fr; text-align: center; }
  .ambassador-card .portrait { margin-bottom: .5rem; }
  .a-quote, .a-highlights li { text-align: left; }

}

@media (max-width: 720px) {
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .pillars, .steps { grid-template-columns: 1fr; }
  .step::after { display: none; }
  .join-ways { grid-template-columns: 1fr; }
  .brand-name { font-size: 1.02rem; }
}

@media (max-width: 480px) {
  .team-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-cta .btn, .submit-actions .btn { width: 100%; justify-content: center; }
  .brand-logo { height: 38px; }
  .brand-name { font-size: .95rem; margin-left: .45rem; }
}

/* ============================================================
   肯亞志工（v1.8.0）：物資照片、明信片、友站、燈箱
   ============================================================ */
.kenya .lead, #kenya .lead { max-width: 46rem; margin-inline: auto; text-align: center; }
.kenya-block { margin-top: clamp(2.4rem, 5vw, 3.6rem); }
.kenya-h3 { font-family: var(--font-serif); font-weight: 700; font-size: clamp(1.25rem, 2.8vw, 1.6rem); color: var(--ink); text-align: center; margin: 0 0 1.2rem; }
.kenya-h3 .le { font-family: var(--font-display); font-weight: 600; }
.prose.center { text-align: center; margin: 0 auto 1.4rem; max-width: 40rem; color: var(--ink-soft); }
.lb-open { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: inherit; }
.lb-open img { display: block; width: 100%; height: auto; }
.lb-open:focus-visible { outline: 3px solid var(--highlight); outline-offset: 3px; }
.postcards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; align-items: start; max-width: 68rem; margin-inline: auto; }
.postcard, .photo-card { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-card); overflow: hidden; transition: transform .25s, box-shadow .25s; }
.postcard:hover, .photo-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(51, 48, 43, .16); }
.postcard .lb-open img, .photo-card .lb-open img { aspect-ratio: 2 / 3; object-fit: contain; background: var(--surface-2); }
.photo-card .lb-open img { aspect-ratio: 4 / 3; object-fit: cover; }
.postcard figcaption, .photo-card figcaption { padding: .85rem 1rem 1rem; display: flex; flex-direction: column; gap: .3rem; }
.postcard figcaption strong, .photo-card figcaption strong { font-family: var(--font-serif); font-size: 1rem; line-height: 1.45; color: var(--ink); }
.fig-desc { font-size: .88rem; line-height: 1.6; color: var(--ink-soft); }
.kenya-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; max-width: 68rem; margin-inline: auto; }
.friend-links { display: grid; gap: 1rem; max-width: 40rem; margin-inline: auto; }
.friend-card { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.1rem 1.4rem; background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: var(--radius); box-shadow: var(--shadow-card); text-decoration: none; color: var(--ink); transition: transform .2s, border-color .2s; }
.friend-card:hover { transform: translateY(-2px); border-left-color: var(--primary); }
.friend-card .friend-text { display: flex; flex-direction: column; gap: .25rem; }
.friend-card strong { font-family: var(--font-serif); font-size: 1.05rem; }
.friend-card .btn-ico { width: 20px; height: 20px; flex: none; color: var(--primary); }
.footer-friends { margin: .8rem 0 0; font-size: .9rem; color: var(--ink-soft); }
.footer-friends a { color: var(--accent); text-decoration: none; }
.footer-friends a:hover { color: var(--primary); text-decoration: underline; }
.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; overflow: hidden; }
.lightbox[open] { display: flex; align-items: center; justify-content: center; }
.lightbox::backdrop { background: rgba(8, 18, 22, .88); }
.lightbox figure { margin: 0; max-width: min(92vw, 1100px); text-align: center; pointer-events: none; }
.lightbox img { max-width: 100%; max-height: 82vh; width: auto; height: auto; border-radius: 10px; box-shadow: 0 20px 60px rgba(0, 0, 0, .5); pointer-events: auto; }
.lb-cap { color: #EAF4F6; margin: .8rem auto 0; font-size: .95rem; line-height: 1.6; max-width: 40rem; padding-inline: 1rem; }
.lb-btn { position: fixed; z-index: 2; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .35); background: rgba(255, 255, 255, .12); color: #fff; font-size: 1.8rem; line-height: 1; cursor: pointer; display: grid; place-items: center; }
.lb-btn:hover { background: rgba(255, 255, 255, .25); }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 16px; top: 50%; transform: translateY(-50%); }
.lb-btn[hidden] { display: none; }
@media (max-width: 900px) {
  .postcards { grid-template-columns: repeat(2, 1fr); }
  .kenya-photos { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .postcards { gap: .8rem; }
  .kenya-photos { grid-template-columns: 1fr; }
  .postcard figcaption { padding: .7rem .75rem .8rem; }
  .lb-prev, .lb-next { top: auto; bottom: 16px; transform: none; }
}

/* ============================================================
   v1.8.0 公益感改版：減少裝飾、讓照片說話
   ============================================================ */
/* 紙紋與光暈降到幾乎看不見，畫面更乾淨 */
:root, :root[data-theme="dark"] { --paper-opacity: 0; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --paper-opacity: 0; } }
.hero-glow { opacity: .45; animation: none; }

/* 徵稿狀態膠囊（hero） */
.status-pill { display: inline-flex; align-items: center; gap: .5rem; margin: .2rem auto 1rem; padding: .38rem .95rem; border-radius: 999px; background: color-mix(in srgb, var(--highlight) 22%, var(--surface)); border: 1px solid color-mix(in srgb, var(--highlight) 60%, var(--line)); color: var(--ink); font-size: .9rem; font-weight: 600; text-decoration: none; }
.status-pill:hover { border-color: var(--accent-2); }
.status-pill .dot, .rs-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent-2); box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent-2) 55%, transparent); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent-2) 55%, transparent); } 70% { box-shadow: 0 0 0 8px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
@media (prefers-reduced-motion: reduce) { .status-pill .dot, .rs-badge .dot { animation: none; } }

/* 審核中狀態卡 */
.review-status { max-width: 46rem; margin: 0 auto clamp(2rem, 4vw, 3rem); padding: clamp(1.4rem, 3.5vw, 2.2rem); background: var(--surface); border: 1px solid var(--line); border-top: 5px solid var(--accent); border-radius: var(--radius); box-shadow: var(--shadow-card); text-align: center; }
.rs-badge { display: inline-flex; align-items: center; gap: .45rem; padding: .25rem .8rem; border-radius: 999px; background: var(--primary-soft); color: var(--pill-ink); font-size: .85rem; font-weight: 700; }
.rs-title { font-family: var(--font-serif); font-size: clamp(1.3rem, 3vw, 1.65rem); margin: .8rem 0 .5rem; color: var(--ink); }
.rs-title .le { font-family: var(--font-display); font-weight: 600; }
.rs-text { color: var(--ink-soft); line-height: 1.8; margin: 0 auto 1.4rem; max-width: 36rem; }
.rs-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: .4rem; counter-reset: rs; }
.rs-steps li { position: relative; padding-top: 2.1rem; display: flex; flex-direction: column; gap: .15rem; font-weight: 700; font-size: .95rem; color: var(--ink-soft); }
.rs-steps li small { font-weight: 400; font-size: .78rem; }
.rs-steps li::before { counter-increment: rs; content: counter(rs); position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 1.6rem; height: 1.6rem; border-radius: 50%; display: grid; place-items: center; font-size: .8rem; background: var(--surface-2); border: 2px solid var(--line); color: var(--ink-soft); z-index: 1; }
.rs-steps li::after { content: ""; position: absolute; top: .8rem; left: -50%; width: 100%; height: 2px; background: var(--line); }
.rs-steps li:first-child::after { display: none; }
.rs-steps li.done::before { content: "✓"; background: var(--accent); border-color: var(--accent); color: #fff; }
.rs-steps li.done, .rs-steps li.now { color: var(--ink); }
.rs-steps li.now::before { background: var(--highlight); border-color: var(--accent-2); color: #33302B; }
.rs-steps li.done + li::after, .rs-steps li.now::after { background: var(--accent); }

/* 已截止的徵稿細則收合 */
.rules-fold { max-width: 56rem; margin: 2rem auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-card); overflow: hidden; }
.rules-summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.1rem 1.5rem; cursor: pointer; list-style: none; font-family: var(--font-serif); font-weight: 700; font-size: 1.08rem; color: var(--ink); }
.rules-summary::-webkit-details-marker { display: none; }
.rules-summary .acc-ico { width: 22px; height: 22px; color: var(--ink-soft); transition: transform .25s; flex: none; }
.rules-fold[open] .rules-summary .acc-ico { transform: rotate(180deg); }
.rules-body { padding: 0 clamp(1rem, 3vw, 1.8rem) 1.6rem; border-top: 1px dashed var(--line); }
.rules-body > * { margin-top: 1.4rem; }

/* 照片帶 */
.band-section { padding-block: clamp(1rem, 3vw, 2rem) clamp(2.4rem, 5vw, 3.6rem); }
.photo-band { display: grid; grid-template-columns: 1.15fr .85fr 1.15fr; gap: .8rem; height: clamp(220px, 34vw, 380px); }
.pb-item { position: relative; margin: 0; overflow: hidden; border-radius: var(--radius); background: var(--surface-2); }
.pb-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s ease; }
.pb-item:hover img { transform: scale(1.04); }
.pb-item figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.6rem .9rem .7rem; color: #fff; font-size: .88rem; font-weight: 600; background: linear-gradient(transparent, rgba(30, 28, 24, .72)); }
.photo-band-wrap { display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.photo-band-wrap .photo-band { width: 100%; }
.photo-band-link .btn-ico { width: 18px; height: 18px; }
.kenya-band { margin-top: clamp(1.6rem, 4vw, 2.6rem); }

/* 使命頁大圖 */
.wide-photo { margin: 0 auto clamp(2rem, 4vw, 3rem); max-width: 64rem; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-card-h); }
.wide-photo img { display: block; width: 100%; height: clamp(200px, 36vw, 420px); object-fit: cover; }

/* 「一百萬個人捐一塊」宣言 */
.manifesto { margin: clamp(2rem, 5vw, 3.2rem) auto; padding: clamp(1.6rem, 4vw, 2.6rem) clamp(1.2rem, 4vw, 2.4rem); max-width: 42rem; border-radius: var(--radius); background: linear-gradient(160deg, color-mix(in srgb, var(--highlight) 18%, var(--surface)), var(--surface)); border: 1px solid color-mix(in srgb, var(--highlight) 45%, var(--line)); text-align: center; }
.manifesto p { margin: .35rem 0; font-family: var(--font-serif); color: var(--ink); line-height: 1.7; }
.manifesto .mf-lead { font-size: clamp(1.25rem, 3.2vw, 1.6rem); font-weight: 700; color: var(--primary); margin-bottom: .9rem; }
.manifesto .mf-line { font-size: 1.08rem; }
.manifesto .le { font-family: var(--font-display); font-style: italic; }
.manifesto cite { display: block; margin-top: 1rem; font-style: normal; font-size: .9rem; color: var(--ink-soft); }

@media (max-width: 720px) {
  .photo-band { grid-template-columns: 1fr 1fr; height: auto; }
  .photo-band .pb-item { aspect-ratio: 4 / 3; }
  .photo-band .pb-item:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
  .rs-steps li { font-size: .82rem; }
}
.join-report .m-base-ico { width: 18px; height: 18px; flex: none; }
.promo-video.kenya-video { max-width: 52rem; margin-top: clamp(1.8rem, 4vw, 2.8rem); }

/* ============================================================
   v1.9.0 特效（參考肯亞志工活動手冊）：系統減少動態時全部關閉
   ============================================================ */
@keyframes kb { from { transform: scale(1.02); } to { transform: scale(1.12); } }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes drift { 0% { transform: translate3d(0, 0, 0); opacity: 0; } 15% { opacity: .8; } 100% { transform: translate3d(18px, -70vh, 0); opacity: 0; } }

/* 標題依序浮現 */
.hero-inner > * { animation: rise .9s cubic-bezier(.2,.7,.2,1) both; }
.hero-inner > :nth-child(2) { animation-delay: .12s; }
.hero-inner > :nth-child(3) { animation-delay: .22s; }
.hero-inner > :nth-child(4) { animation-delay: .32s; }
.hero-inner > :nth-child(5) { animation-delay: .42s; }
.hero-inner > :nth-child(6) { animation-delay: .52s; }
.hero-inner > :nth-child(7) { animation-delay: .62s; }

/* 光點緩緩飄升 */
.motes { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.motes span { position: absolute; bottom: -20px; width: var(--z); height: var(--z); border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--highlight) 95%, transparent), transparent 70%);
  animation: drift var(--s) linear var(--d) infinite; }

/* 照片緩慢推近（Ken Burns） */
.pb-item img, .wide-photo img { animation: kb 16s ease-out both alternate infinite; }
.pb-item:nth-child(2) img { animation-delay: -5s; }
.pb-item:nth-child(3) img { animation-delay: -10s; }
.pb-item:hover img { transform: none; }

/* 卡片 hover 光澤 */
.postcard, .photo-card { position: relative; }
.postcard::after, .photo-card::after { content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  background: linear-gradient(115deg, transparent 35%, rgba(255,255,255,.35) 50%, transparent 65%);
  transform: translateX(-120%); transition: transform .8s ease; }
.postcard:hover::after, .photo-card:hover::after { transform: translateX(120%); }

/* 友站大按鈕 */
.friend-btn { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.2rem; border-radius: 999px; text-decoration: none; color: #fff;
  background: linear-gradient(120deg, var(--primary), var(--accent)); box-shadow: var(--shadow-cta); transition: transform .25s, box-shadow .25s; }
.friend-btn:hover { transform: translateY(-3px); box-shadow: 0 14px 30px color-mix(in srgb, var(--primary) 35%, transparent); }
.friend-btn .fb-ico { flex: none; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.18); border: 2px solid rgba(255,255,255,.5); }
.friend-btn .fb-ico svg { width: 28px; height: 28px; }
.friend-btn .friend-text { display: flex; flex-direction: column; gap: .2rem; flex: 1; min-width: 0; }
.friend-btn strong { font-family: var(--font-serif); font-size: 1.05rem; line-height: 1.4; }
.friend-btn .fig-desc { color: rgba(255,255,255,.88); }
.friend-btn .fb-go { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--primary); transition: transform .25s; }
.friend-btn:hover .fb-go { transform: rotate(-8deg) scale(1.08); }
.friend-btn .fb-go svg { width: 20px; height: 20px; }
:root[data-theme="dark"] .friend-btn, :root[data-theme="dark"] .friend-btn .fig-desc { color: #1E211D; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .friend-btn, :root:not([data-theme="light"]) .friend-btn .fig-desc { color: #1E211D; } }
:root[data-theme="dark"] .friend-btn .fb-ico { background: rgba(30,33,29,.12); border-color: rgba(30,33,29,.35); }
.footer-friend-btn { display: inline-flex; align-items: center; gap: .45rem; margin-top: .4rem; padding: .45rem .9rem; border-radius: 999px; border: 1.5px solid var(--accent); color: var(--accent) !important; font-weight: 600; text-decoration: none !important; }
.footer-friend-btn:hover { background: var(--accent); color: #fff !important; }
.footer-friend-btn .ff-ico { width: 16px; height: 16px; }
.footer-friends { display: flex; flex-direction: column; align-items: flex-start; gap: .2rem; }

/* 大使頁短片 */
#ambassador .promo-video { margin-top: clamp(2rem, 4vw, 3rem); }

@media (prefers-reduced-motion: reduce) {
  .hero-inner > *, .motes span, .pb-item img, .wide-photo img { animation: none !important; }
  .motes { display: none; }
}
@media (max-width: 480px) {
  .friend-btn { border-radius: var(--radius); padding: .9rem; gap: .75rem; }
  .friend-btn .fb-ico { width: 44px; height: 44px; }
}
.kenya-photos.supplies-grid { grid-template-columns: repeat(2, 1fr); max-width: 52rem; }
.supplies-grid .photo-card .lb-open img { aspect-ratio: 1 / 1; }
@media (max-width: 480px) { .kenya-photos.supplies-grid { grid-template-columns: 1fr; } }

/* v1.10.0 專案卡片＋選單分隔 */
.nav-sep { width: 1px; height: 1.1rem; background: var(--line); align-self: center; margin-inline: .2rem; }
@media (max-width: 1180px) { .nav-sep { width: 100%; height: 1px; margin: .4rem 0; } }
.project-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.4rem; max-width: 64rem; margin-inline: auto; }
.project-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-card); text-decoration: none; color: var(--ink); transition: transform .3s, box-shadow .3s; }
.project-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-card-h); }
.pc-img { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--surface-2); }
.pc-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .7s ease; }
.project-card:hover .pc-img img { transform: scale(1.06); }
.pc-tag { position: absolute; left: .9rem; top: .9rem; padding: .25rem .75rem; border-radius: 999px; background: rgba(255,255,255,.92); color: #33302B; font-size: .8rem; font-weight: 700; }
.pc-body { padding: 1.2rem 1.4rem 1.4rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.pc-body h3 { margin: 0; font-family: var(--font-serif); font-size: 1.3rem; }
.pc-body h3 .le { font-family: var(--font-display); font-weight: 600; }
.pc-body p { margin: 0; color: var(--ink-soft); line-height: 1.7; }
.pc-go { margin-top: auto; padding-top: .5rem; display: inline-flex; align-items: center; gap: .4rem; color: var(--primary); font-weight: 700; }
.pc-go .btn-ico { width: 18px; height: 18px; transition: transform .25s; }
.project-card:hover .pc-go .btn-ico { transform: translateX(4px); }
@media (max-width: 720px) { .project-grid { grid-template-columns: 1fr; } }

/* v1.10.0 選單項目變多：1180px 以下收成漢堡選單 */
.nav-links a { white-space: nowrap; }
@media (max-width: 1180px) {
  /* 導覽列收為漢堡模式（與版面斷點一致，避免 721–900px 擁擠） */
  .nav-links {
    position: fixed; inset: var(--nav-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--surface); border-bottom: 1px solid var(--line); padding: .6rem 1rem 1rem;
    box-shadow: 0 16px 30px rgba(51, 48, 43, .14); transform: translateY(-12px); opacity: 0; visibility: hidden;
    pointer-events: none; transition: opacity .25s, transform .25s, visibility .25s;
  }
  .nav-links.open { transform: none; opacity: 1; visibility: visible; pointer-events: auto; }
  .nav-links a { padding: .8rem .6rem; border-radius: 10px; }
  .nav-links a::after { display: none; }
  .nav-links a:hover { background: var(--surface-2); }
  .nav .nav-cta { display: none; }
  .hamburger { display: inline-grid; }
}

/* v1.10.0 精簡頁尾 */
.footer-simple { display: flex; flex-direction: column; align-items: center; gap: .9rem; text-align: center; padding-bottom: 1.6rem; }
.footer-simple .footer-logo { width: 150px; height: auto; }
.footer-tagline { margin: 0; font-family: var(--font-serif); font-size: 1.05rem; color: var(--ink); }
.footer-tagline .le { font-family: var(--font-display); font-style: italic; }
.footer-actions { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: .8rem 1.2rem; }
.footer-actions .footer-friend-btn { margin-top: 0; }
.footer-bottom { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: .4rem 1.2rem; text-align: center; }
.footer-mail { color: var(--ink-soft); text-decoration: none; font-size: .88rem; }
.footer-mail:hover { color: var(--primary); }

/* 緣起頁長頸鹿照 */
.about-photo { margin: 0 0 1.6rem; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-card-h); position: relative; }
.about-photo img { display: block; width: 100%; height: auto; aspect-ratio: 1557 / 1600; object-fit: cover; }
.about-photo figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.8rem .9rem .7rem; font-size: .82rem; font-weight: 600; color: #fff; background: linear-gradient(transparent, rgba(30, 28, 24, .7)); }
@media (max-width: 900px) { .about-photo { max-width: 26rem; margin-inline: auto; } }

/* v1.10.3 首頁：狀態標籤單獨一行置中，不再擠在副標旁 */
.hero-inner .status-pill { display: flex; width: fit-content; margin: 0 auto .9rem; }
.hero-inner .hero-eyebrow { display: block; }
.h1-seg { display: inline-block; }

/* v1.11.0 緣起頁排版：左欄固定、正文好讀 */
#about .openbook { grid-template-columns: minmax(280px, .8fr) 1.2fr; gap: clamp(2rem, 5vw, 4.5rem); }
@media (min-width: 901px) {
  #about .openbook .book-left { position: sticky; top: calc(var(--nav-h) + 1.5rem); }
}
#about .openbook .book-left { padding: 1.2rem 1.2rem 1.8rem; }
#about .about-photo { margin: 0 0 1.4rem; }
#about .openbook .book-left .pen { width: 40px; height: 40px; margin: 0 .6rem .6rem; }
#about .openbook .book-left .big-quote, #about .openbook .book-left .big-quote-attrib { padding-inline: .6rem; }
.about-prose { max-width: 38rem; }
.about-prose p { font-size: 1.08rem; line-height: 2; margin: 0 0 1.35em; color: var(--ink-soft); text-align: left; }
.about-prose .about-lead { font-size: 1.22rem; line-height: 1.9; color: var(--ink); font-weight: 500; padding-left: 1rem; border-left: 4px solid var(--highlight); }
.about-prose .callout { margin: 2.4rem 0; padding: 0; background: none; border: 0; box-shadow: none; text-align: center; display: block; }
.about-prose .callout span { font-family: var(--font-serif); font-size: clamp(1.25rem, 2.8vw, 1.6rem); font-weight: 700; color: var(--primary); line-height: 1.6;
  background: linear-gradient(transparent 62%, color-mix(in srgb, var(--highlight) 45%, transparent) 62%); padding: 0 .2em; }
.about-prose .about-close { margin-top: 2.4rem; padding-top: 1.6rem; border-top: 1px dashed var(--line); text-align: center; font-family: var(--font-serif); font-size: 1.2rem; color: var(--ink); font-weight: 600; }
@media (max-width: 900px) {
  #about .openbook { grid-template-columns: 1fr; }
  .about-prose { margin-inline: auto; }
  .about-prose p { font-size: 1.02rem; }
}

/* v1.12.0 使命頁：活潑可愛的動畫（減少動態時關閉） */
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(-4deg); } 50% { transform: translateY(-10px) rotate(4deg); } }
@keyframes twinkle { 0%, 100% { opacity: .15; transform: scale(.6) rotate(0); } 50% { opacity: 1; transform: scale(1.15) rotate(20deg); } }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes wiggle { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-12deg); } 75% { transform: rotate(12deg); } }
@keyframes heartPop { 0% { transform: scale(0); } 70% { transform: scale(1.3); } 100% { transform: scale(1); } }

.mission-alive { position: relative; overflow: hidden; }
.mission-deco { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.mission-alive .wrap { position: relative; z-index: 1; }
.twinkle { position: absolute; font-size: clamp(14px, 2vw, 24px); color: var(--highlight); animation: twinkle 3.2s ease-in-out infinite; text-shadow: 0 0 12px color-mix(in srgb, var(--highlight) 60%, transparent); }
.twinkle:nth-child(even) { color: color-mix(in srgb, var(--accent) 70%, var(--highlight)); font-size: clamp(10px, 1.4vw, 16px); }

#mission .section-head { position: relative; }
.mission-mascot { position: absolute; right: max(0px, calc(50% - 21rem)); top: -1.2rem; width: clamp(64px, 9vw, 104px); height: auto; animation: bob 3.6s ease-in-out infinite; filter: drop-shadow(0 8px 14px rgba(51, 48, 43, .18)); }

.pillar .p-badge { display: grid; place-items: center; width: 84px; height: 84px; margin: 0 auto 1rem; border-radius: 28px; background: var(--primary-soft); animation: floaty 3s ease-in-out infinite; transition: border-radius .4s; }
.pillar:nth-child(2) .p-badge { background: color-mix(in srgb, var(--accent-2) 18%, var(--surface)); animation-delay: -1s; }
.pillar:nth-child(3) .p-badge { background: color-mix(in srgb, var(--accent) 18%, var(--surface)); animation-delay: -2s; }
.pillar .p-badge .p-ico { margin: 0; width: 46px; height: 46px; }
.pillar:nth-child(2) .p-ico { color: var(--accent-2); }
.pillar:nth-child(3) .p-ico { color: var(--accent); }
.pillar:hover .p-badge { border-radius: 50%; }
.pillar:hover .p-ico { animation: wiggle .6s ease-in-out; }
.pillar { border-top: 4px solid var(--primary); }
.pillar:nth-child(2) { border-top-color: var(--accent-2); }
.pillar:nth-child(3) { border-top-color: var(--accent); }
.pillar:hover { transform: translateY(-8px) rotate(-1deg); }
.pillar:nth-child(2):hover { transform: translateY(-8px) rotate(1deg); }

.callout-pop { justify-content: center; text-align: center; }
.callout-pop .pop-word { display: inline-block; opacity: 0; transform: translateY(14px) scale(.9); transition: opacity .5s ease, transform .5s cubic-bezier(.3,1.6,.5,1); }
.callout-pop.in .pop-word { opacity: 1; transform: none; }

.mf-hearts { display: flex; justify-content: center; gap: .35rem; margin-bottom: 1rem; font-size: 1.1rem; }
.mf-hearts span { color: #E2607A; display: inline-block; transform: scale(0); transition: transform .45s cubic-bezier(.3,1.6,.5,1); }
.mf-hearts span:nth-child(3n+2) { color: var(--accent-2); }
.mf-hearts span:nth-child(3n) { color: var(--primary); }
.mf-hearts.in span { transform: scale(1); }
.manifesto:hover .mf-hearts span { animation: heartPop .5s ease both; }
.manifesto:hover .mf-hearts span:nth-child(odd) { animation-delay: .08s; }

.wide-photo { transition: transform .5s ease; }
.wide-photo:hover { transform: scale(1.01) rotate(-.3deg); }

@media (prefers-reduced-motion: reduce) {
  .twinkle, .mission-mascot, .pillar .p-badge, .pillar:hover .p-ico, .manifesto:hover .mf-hearts span { animation: none !important; }
  .callout-pop .pop-word, .mf-hearts span { opacity: 1 !important; transform: none !important; }
}
@media (max-width: 720px) { .mission-mascot { right: 0; top: -2rem; } }

/* v1.13.0 參與我們：兩欄卡片＋追蹤按鈕 */
.join-card.join-grid { display: grid; grid-template-columns: 240px 1fr; gap: clamp(1.6rem, 4vw, 3rem); text-align: left; align-items: center; max-width: 60rem; margin-inline: auto; }
.join-side { display: flex; flex-direction: column; align-items: center; gap: 1.2rem; text-align: center; position: relative; }
.join-badge { width: 168px; height: 168px; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: 0 10px 30px rgba(51, 48, 43, .15), 0 0 0 8px color-mix(in srgb, var(--highlight) 30%, transparent); animation: floaty 3.4s ease-in-out infinite; }
.join-badge .join-mascot { width: 128px; margin: 0; filter: none; }
.join-side .join-quote { margin: 0; font-size: 1.02rem; line-height: 1.7; }
.join-main { position: relative; display: flex; flex-direction: column; gap: 1.1rem; }
.join-lead { margin: 0; font-size: 1.08rem; line-height: 1.9; color: var(--ink); }
.join-lead2 { margin: 0; color: var(--ink-soft); line-height: 1.8; }
.join-card .join-ways { list-style: none; padding: 0; margin: 0; grid-template-columns: 1fr; max-width: none; gap: .6rem; }
.join-card .join-way { background: transparent; border: 0; padding: 0; gap: .8rem; }
.jw-ico { flex: none; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--primary-soft); }
.join-way:nth-child(2) .jw-ico { background: color-mix(in srgb, var(--accent-2) 18%, var(--surface)); }
.jw-ico .ico { width: 20px; height: 20px; }
.join-way:nth-child(2) .jw-ico .ico { color: var(--accent-2); }
.follow-btns { display: flex; flex-wrap: wrap; gap: .7rem; }
.btn-follow { color: #fff; border: 0; box-shadow: var(--shadow-cta); }
.btn-follow .btn-ico { width: 18px; height: 18px; }
.fb-threads { background: #1C1C1E; }
.fb-ig { background: linear-gradient(45deg, #F58529, #DD2A7B 55%, #8134AF); }
.btn-follow:hover { transform: translateY(-2px); filter: brightness(1.08); }
.join-links { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.2rem; padding-top: .9rem; border-top: 1px dashed var(--line); }
.join-report-link { display: inline-flex; align-items: center; gap: .4rem; color: var(--primary); font-weight: 600; text-decoration: none; font-size: .95rem; }
.join-report-link .m-base-ico { width: 18px; height: 18px; }
.join-report-link:hover { text-decoration: underline; }
@media (max-width: 760px) {
  .join-card.join-grid { grid-template-columns: 1fr; text-align: center; }
  .join-main { align-items: center; }
  .join-card .join-way { text-align: left; }
  .follow-btns, .join-links { justify-content: center; }
}

/* 首頁追蹤區 */
.follow-section { padding-block: 0 var(--section-gap); }
.follow-card { display: flex; align-items: center; gap: clamp(1rem, 3vw, 2rem); max-width: 56rem; margin-inline: auto; padding: clamp(1.4rem, 3vw, 2rem) clamp(1.4rem, 4vw, 2.6rem); border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-card); }
.follow-mascot { flex: none; width: 84px; height: 84px; border-radius: 50%; background: #fff; padding: 6px; box-shadow: 0 6px 16px rgba(51, 48, 43, .12); animation: bob 3.6s ease-in-out infinite; }
.follow-text { flex: 1; min-width: 0; }
.follow-title { margin: 0 0 .25rem; font-family: var(--font-serif); font-size: 1.4rem; }
.follow-title .le { font-family: var(--font-display); }
.follow-text p { margin: 0; color: var(--ink-soft); }
@media (max-width: 760px) { .follow-card { flex-direction: column; text-align: center; } .follow-card .follow-btns { justify-content: center; } }
@media (prefers-reduced-motion: reduce) { .join-badge, .follow-mascot { animation: none; } }
.kenya-photos.supplies-grid { grid-template-columns: 1fr; max-width: 40rem; }
.supplies-grid .photo-card .lb-open img { aspect-ratio: 4 / 3; }
:root[data-theme="dark"] .fb-threads { box-shadow: inset 0 0 0 1px rgba(255,255,255,.28); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .fb-threads { box-shadow: inset 0 0 0 1px rgba(255,255,255,.28); } }

/* v1.14.0 故事英雄：RPG 角色卡 */
.team-grid.hero-cards { gap: 1.6rem; max-width: 70rem; }
.hero-card { padding: 0 0 1.3rem; overflow: hidden; text-align: center; align-items: stretch; --hc: var(--primary); }
.hero-card:nth-child(3n+2) { --hc: var(--accent); }
.hero-card:nth-child(3n) { --hc: var(--accent-2); }
.hero-card:hover { transform: translateY(-6px); }
.hc-top { height: 86px; position: relative; margin-bottom: 64px;
  background: radial-gradient(circle at 20% 30%, rgba(255,255,255,.35) 0 2px, transparent 3px), radial-gradient(circle at 70% 60%, rgba(255,255,255,.3) 0 1.5px, transparent 2.5px), radial-gradient(circle at 85% 20%, rgba(255,255,255,.35) 0 2px, transparent 3px),
    linear-gradient(135deg, var(--hc), color-mix(in srgb, var(--hc) 55%, var(--highlight))); }
.hc-avatar { position: absolute; left: 50%; bottom: -56px; transform: translateX(-50%); transition: transform .4s cubic-bezier(.3,1.5,.5,1); }
.hero-card:hover .hc-avatar { transform: translateX(-50%) scale(1.06) rotate(-4deg); }
.hero-card .avatar-img, .hero-card .avatar { width: 112px; height: 112px; margin: 0; border: 5px solid var(--surface); box-shadow: 0 10px 22px rgba(51, 48, 43, .18) !important; }
.hc-id { display: flex; flex-direction: column; align-items: center; gap: .15rem; padding: 0 1.2rem; }
.hero-card .m-name { font-size: 1.3rem; }
.hc-class { margin-top: .5rem; display: inline-block; padding: .22rem .8rem; border-radius: 999px; font-size: .85rem; font-weight: 700; color: var(--hc); background: color-mix(in srgb, var(--hc) 12%, var(--surface)); border: 1px solid color-mix(in srgb, var(--hc) 35%, transparent); }
.hc-stats { margin: 1.1rem 1.2rem 0; padding: .9rem 1rem; border-radius: var(--radius-sm); background: var(--surface-2); display: flex; flex-direction: column; gap: .55rem; text-align: left; flex: 1; }
.hc-row { display: grid; grid-template-columns: 3.2em 1fr; gap: .6rem; align-items: baseline; }
.hc-row dt { font-size: .75rem; font-weight: 700; letter-spacing: .1em; color: var(--ink-soft); }
.hc-row dd { margin: 0; font-size: .92rem; line-height: 1.6; color: var(--ink); }
.hc-skill { font-family: var(--font-round); font-weight: 700; font-size: 1.05rem !important; color: var(--hc) !important; }
.hc-base { margin: 1rem 1.2rem 0; display: inline-flex; align-items: center; justify-content: center; gap: .4rem; padding: .55rem 1rem; border-radius: 999px; border: 1.5px solid color-mix(in srgb, var(--hc) 45%, var(--line)); color: var(--ink); font-size: .88rem; font-weight: 600; text-decoration: none; transition: background .2s, color .2s; }
.hc-base:hover { background: var(--hc); border-color: var(--hc); color: #fff; }
.hc-base .m-base-ico { width: 15px; height: 15px; }
@media (max-width: 600px) { .team-grid.hero-cards { grid-template-columns: 1fr; max-width: 26rem; } }
/* L 主要用 Threads：Threads 實心為主，Instagram 改低調外框 */
.fb-ig { background: transparent; color: var(--ink-soft); box-shadow: inset 0 0 0 1.5px var(--line); }
.fb-ig:hover { color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink-soft); filter: none; }
.fb-threads { padding-inline: 1.4rem; }

/* v1.15.0 柔和大地：淡淡紙紋回來，呼應手作繪本感 */
:root { --paper-opacity: .04 !important; }
:root[data-theme="dark"] { --paper-opacity: .025 !important; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --paper-opacity: .025 !important; } }
/* 第三色：芥末黃，讓三種強調色分得開 */
:root { --mustard: #86651A; }
:root[data-theme="dark"] { --mustard: #D9B55E; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --mustard: #D9B55E; } }
.hero-card:nth-child(3n) { --hc: var(--mustard); }
.pillar:nth-child(3) { border-top-color: var(--mustard); }
.pillar:nth-child(3) .p-badge { background: color-mix(in srgb, var(--mustard) 16%, var(--surface)); }
.pillar:nth-child(3) .p-ico { color: var(--mustard); }
.pillar:nth-child(2) { border-top-color: var(--accent); }
.pillar:nth-child(2) .p-ico { color: var(--accent); }

/* v1.16.0 公益大使：左欄個人檔案（固定）＋右欄引言／介紹／經歷卡 */
.amb-layout { display: grid; grid-template-columns: 300px 1fr; gap: clamp(1.6rem, 4vw, 3.5rem); align-items: start; max-width: 66rem; margin-inline: auto; }
.amb-profile { display: flex; flex-direction: column; align-items: center; text-align: center; gap: .55rem; padding: 1.8rem 1.4rem 1.4rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-card); }
@media (min-width: 861px) { .amb-profile { position: sticky; top: calc(var(--nav-h) + 1.2rem); } }
.amb-portrait { padding: 6px; border-radius: 50%; background: conic-gradient(from 200deg, var(--primary), var(--highlight), var(--accent-2), var(--primary)); margin-bottom: .4rem; }
.amb-portrait .portrait { display: block; width: 168px; height: 168px; border-radius: 50%; object-fit: cover; border: 5px solid var(--surface); }
.amb-name { margin: 0; font-family: var(--font-serif); font-size: 1.6rem; font-weight: 700; color: var(--ink); display: flex; flex-direction: column; align-items: center; line-height: 1.2; }
.amb-handle { font-family: var(--font-display); font-style: italic; font-weight: 500; font-size: .95rem; color: var(--ink-soft); margin-top: .2rem; }
.amb-role { display: inline-block; padding: .22rem .85rem; border-radius: 999px; background: var(--primary-soft); color: var(--pill-ink); font-size: .85rem; font-weight: 700; }
.amb-more { margin-top: .4rem; }
.amb-more .btn-ico { width: 15px; height: 15px; }
.amb-profile .promo-video { margin: 1rem 0 0; max-width: 240px; width: 100%; }
.amb-profile .video-cap { font-size: .8rem; }
.amb-body { min-width: 0; }
.amb-quote { position: relative; margin: 0 0 2rem; padding: 1.6rem 1.6rem 1.3rem 3.6rem; border-radius: var(--radius); background: color-mix(in srgb, var(--highlight) 16%, var(--surface)); border: 1px solid color-mix(in srgb, var(--highlight) 45%, var(--line)); }
.amb-quote::before { content: "“"; position: absolute; left: 1rem; top: -.2rem; font-family: var(--font-display); font-size: 4.4rem; line-height: 1; color: var(--accent-2); }
.amb-quote p { margin: 0; font-family: var(--font-serif); font-size: clamp(1.08rem, 2.2vw, 1.25rem); line-height: 1.85; color: var(--ink); font-weight: 600; }
.amb-quote .le { font-family: var(--font-display); font-style: italic; font-weight: 500; }
.amb-quote cite { display: block; margin-top: .6rem; font-style: normal; font-size: .9rem; color: var(--ink-soft); text-align: right; }
.amb-body .a-title { font-family: var(--font-serif); font-size: 1.3rem; margin: 0 0 .9rem; color: var(--ink); }
.amb-body .a-bio { font-size: 1.04rem; line-height: 1.95; color: var(--ink-soft); margin: 0 0 1.1rem; }
.amb-highlights { list-style: none; padding: 0; margin: 1.6rem 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.amb-highlights li { display: flex; gap: .8rem; align-items: flex-start; padding: 1rem; border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--line); font-size: .94rem; line-height: 1.6; color: var(--ink); transition: transform .25s, box-shadow .25s; }
.amb-highlights li:hover { transform: translateY(-3px); box-shadow: var(--shadow-card); }
.amb-hl-ico { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--primary-soft); }
.amb-highlights li:nth-child(2) .amb-hl-ico { background: color-mix(in srgb, var(--accent) 14%, var(--surface)); }
.amb-highlights li:nth-child(3) .amb-hl-ico { background: color-mix(in srgb, var(--mustard) 16%, var(--surface)); }
.amb-highlights li:nth-child(4) .amb-hl-ico { background: color-mix(in srgb, var(--accent-2) 14%, var(--surface)); }
.amb-hl-ico .ico { width: 18px; height: 18px; color: var(--primary); }
.amb-highlights li:nth-child(2) .ico { color: var(--accent); }
.amb-highlights li:nth-child(3) .ico { color: var(--mustard); }
.amb-highlights li:nth-child(4) .ico { color: var(--accent-2); }
@media (max-width: 860px) {
  .amb-layout { grid-template-columns: 1fr; max-width: 40rem; }
  .amb-highlights { grid-template-columns: 1fr; }
}

/* v1.16.1 頁尾：一行就好 */
.footer { padding-block: 1.4rem; }
.footer-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.footer-row .footer-logo { width: 92px; height: auto; display: block; }
.footer-copy { font-size: .85rem; color: var(--ink-soft); }
.footer-row .social { display: flex; gap: .4rem; }
.social-mail { font-weight: 700; font-size: .95rem; text-decoration: none; }
@media (max-width: 560px) { .footer-row { flex-direction: column; gap: .7rem; } }

/* 首頁：單張海獅明信片 */
.home-postcard { display: flex; flex-direction: column; align-items: center; gap: 1rem; text-decoration: none; }
.home-postcard img { width: 100%; max-width: 46rem; height: auto; border-radius: var(--radius); box-shadow: var(--shadow-card-h); transform: rotate(-1.2deg); transition: transform .4s ease; background: #fff; }
.home-postcard:hover img { transform: rotate(0) scale(1.01); }

/* v1.17.0 透明與 AI：兩張承諾大卡，預設露出第一段 */
.pledge-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; max-width: 64rem; margin-inline: auto; align-items: start; }
.pledge-card { --pc: var(--primary); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-card); overflow: hidden; transition: transform .3s, box-shadow .3s; }
.pledge-card:nth-child(2) { --pc: var(--accent); }
.pledge-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-h); }
.pledge-top { height: 92px; position: relative; background:
  radial-gradient(circle at 15% 35%, rgba(255,255,255,.3) 0 2px, transparent 3px), radial-gradient(circle at 80% 25%, rgba(255,255,255,.3) 0 2px, transparent 3px),
  linear-gradient(135deg, var(--pc), color-mix(in srgb, var(--pc) 55%, var(--highlight))); }
.pledge-badge { position: absolute; left: 1.6rem; bottom: -30px; width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; background: var(--surface); box-shadow: 0 8px 18px rgba(51, 48, 43, .16); }
.pledge-badge .ico { width: 32px; height: 32px; color: var(--pc); }
.pledge-main { padding: 2.6rem 1.6rem 1.4rem; }
.pledge-tag { display: inline-block; font-size: .82rem; font-weight: 700; letter-spacing: .08em; color: var(--pc); }
.pledge-title { margin: .3rem 0 1rem; font-family: var(--font-serif); font-size: clamp(1.3rem, 2.6vw, 1.6rem); line-height: 1.4; color: var(--ink); }
.pledge-title .le { font-family: var(--font-display); font-weight: 600; }
.pledge-body p { margin: 0 0 1rem; font-size: 1rem; line-height: 1.95; color: var(--ink-soft); }
.pledge-card:not(.open) .pledge-body p:not(:first-child) { display: none; }
.pledge-card:not(.open) .pledge-body p:first-child { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.pledge-toggle { display: inline-flex; align-items: center; gap: .35rem; padding: .5rem 1rem; border-radius: 999px; border: 1.5px solid color-mix(in srgb, var(--pc) 45%, var(--line)); background: transparent; color: var(--pc); font: inherit; font-weight: 700; font-size: .9rem; cursor: pointer; transition: background .2s, color .2s; }
.pledge-toggle:hover { background: var(--pc); color: #fff; }
.pledge-toggle .pt-ico { width: 16px; height: 16px; transition: transform .25s; }
.pledge-card.open .pt-ico { transform: rotate(180deg); }
.pledge-card .pt-less, .pledge-card.open .pt-more { display: none; }
.pledge-card.open .pt-less { display: inline; }
:root[data-theme="dark"] .pledge-toggle:hover { color: #1E211D; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .pledge-toggle:hover { color: #1E211D; } }
@media (max-width: 820px) { .pledge-grid { grid-template-columns: 1fr; max-width: 40rem; } }
/* 首頁照片帶：左媽寶日（人物）、中海獅明信片、右手牽手 */
.home-band .pb-item:nth-child(1) img { object-position: center 30%; }
.home-band .pb-item:nth-child(2) img { object-position: 78% center; background: #fff; }

/* v1.18.0 正式 LOGO 放大＋專案改膠囊按鈕 */
.brand-main { height: 54px; width: auto; border-radius: 10px; }
.nav.scrolled .brand-main { height: 46px; }
@media (max-width: 480px) { .brand-main { height: 44px; } .nav.scrolled .brand-main { height: 40px; } }
.footer-row .footer-logo { width: 132px; }
.nav-links a.nav-project { display: inline-flex; align-items: center; gap: .35rem; margin-left: .3rem; padding: .42rem .95rem; border-radius: 999px; border: 1.5px solid var(--primary); color: var(--primary); font-weight: 700; }
.nav-links a.nav-project::after { display: none; }
.nav-links a.nav-project:hover { background: var(--primary-soft); color: var(--primary); }
.nav-links a.nav-project.active { background: var(--primary); color: #fff; }
:root[data-theme="dark"] .nav-links a.nav-project.active { color: #1E211D; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .nav-links a.nav-project.active { color: #1E211D; } }
.nav-project .np-ico { width: 16px; height: 16px; flex: none; }
.nav-links .nav-sep { display: none; }
@media (max-width: 1180px) {
  .nav-links .nav-sep { display: block; }
  .nav-links a.nav-project { margin: .35rem 0 0; justify-content: center; padding: .75rem 1rem; }
}
/* LOGO 更醒目：導覽列加高、白色底板 */
:root { --nav-h: 78px; }
.brand-main { height: 62px; background: #fff; padding: 4px 10px; border-radius: 14px; box-shadow: 0 2px 10px rgba(51, 48, 43, .12); }
.nav.scrolled .brand-main { height: 50px; }
@media (max-width: 480px) { :root { --nav-h: 68px; } .brand-main { height: 50px; } .nav.scrolled .brand-main { height: 46px; } }
.nav.scrolled { --nav-h: 64px; }
@media (min-width: 481px) { :root { --nav-h: 86px; } .brand-main { height: 70px; } }

/* v1.18.1 首頁一打開就看到大 LOGO */
.hero-logo { margin: 0 auto 1.6rem; display: flex; justify-content: center; }
.hero-logo img { width: clamp(220px, 32vw, 340px); height: auto; padding: 14px 26px; background: #fff; border-radius: 22px; box-shadow: 0 14px 34px rgba(51, 48, 43, .14); }
.hero { padding-top: calc(var(--nav-h) + 1.6rem); }
.hero-poster { max-width: min(520px, 90%); }
@media (max-width: 480px) { .hero-logo { margin-bottom: 1.2rem; } .hero-logo img { width: 210px; padding: 10px 18px; } }

/* v1.19.0 沙蚤服務 2×2 */
.kenya-photos.jigger-grid { grid-template-columns: repeat(2, 1fr); max-width: 52rem; }
.jigger-grid .photo-card .lb-open img { aspect-ratio: 4 / 3; }
@media (max-width: 480px) { .kenya-photos.jigger-grid { grid-template-columns: 1fr; } }

/* v1.19.1 首頁海獅動畫 */
.hero-logo-card { position: relative; display: inline-block; }
.hero-seal { position: absolute; right: -78px; bottom: -34px; width: clamp(92px, 11vw, 138px); aspect-ratio: 1; cursor: pointer; z-index: 2;
  animation: sealIn .9s cubic-bezier(.3,1.6,.5,1) .5s both; }
.hero-seal img { width: 100%; height: 100%; display: block; transform-origin: 50% 90%; animation: sealBob 3.2s ease-in-out 1.4s infinite; filter: drop-shadow(0 8px 12px rgba(51, 48, 43, .2)); }
.hero-seal.hop img { animation: sealHop .8s cubic-bezier(.3,1.4,.5,1); }
.seal-spark { position: absolute; color: var(--highlight); font-size: 16px; opacity: 0; animation: sparkTw 2.4s ease-in-out infinite; text-shadow: 0 0 8px color-mix(in srgb, var(--highlight) 70%, transparent); pointer-events: none; }
.seal-spark.s1 { left: -6%; top: 8%; animation-delay: 1.5s; }
.seal-spark.s2 { right: -4%; top: 0; font-size: 12px; animation-delay: 2.1s; }
.seal-spark.s3 { right: -10%; top: 46%; animation-delay: 2.7s; }
.seal-spark.s4 { left: 2%; top: 52%; font-size: 11px; animation-delay: 3.2s; }
.hero-seal.hop .seal-spark { animation: sparkBurst .7s ease-out; }
@keyframes sealIn { 0% { opacity: 0; transform: translate(-40px, 30px) scale(.2) rotate(-30deg); } 100% { opacity: 1; transform: none; } }
@keyframes sealBob { 0%, 100% { transform: translateY(0) rotate(-5deg); } 50% { transform: translateY(-10px) rotate(5deg); } }
@keyframes sealHop { 0% { transform: translateY(0) rotate(0) scale(1); } 35% { transform: translateY(-46px) rotate(-180deg) scale(1.08); } 70% { transform: translateY(-20px) rotate(-340deg); } 100% { transform: translateY(0) rotate(-360deg) scale(1); } }
@keyframes sparkTw { 0%, 100% { opacity: 0; transform: scale(.4); } 50% { opacity: 1; transform: scale(1.1) rotate(25deg); } }
@keyframes sparkBurst { 0% { opacity: 1; transform: scale(.6); } 100% { opacity: 0; transform: scale(2.2) translateY(-14px); } }
@media (max-width: 480px) { .hero-seal { right: -56px; bottom: -26px; width: 84px; } }
@media (prefers-reduced-motion: reduce) { .hero-seal, .hero-seal img, .seal-spark { animation: none !important; opacity: 1; } }
.hero-logo .hero-seal img { padding: 0; background: none; border-radius: 0; box-shadow: none; width: 100%; height: 100%; }

/* v1.20.0 肯亞頁：章節按鈕、編號、交錯底帶、物資主打卡 */
.kenya-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin: clamp(1.6rem, 3vw, 2.4rem) auto 0; position: sticky; top: calc(var(--nav-h) + .5rem); z-index: 5; padding: .5rem; width: fit-content; max-width: 100%; border-radius: 999px; background: color-mix(in srgb, var(--surface) 88%, transparent); backdrop-filter: blur(8px); box-shadow: var(--shadow-card); }
.kchip { border: 1px solid var(--line); background: var(--surface); color: var(--ink); padding: .4rem .9rem; border-radius: 999px; font: inherit; font-size: .88rem; font-weight: 600; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.kchip:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
:root[data-theme="dark"] .kchip:hover { color: #1E211D; }
.kenya-block { position: relative; scroll-margin-top: calc(var(--nav-h) + 4.5rem); padding-block: clamp(2.2rem, 5vw, 3.4rem); margin-top: 0; }
.kenya-block.kb-tint { background: var(--surface-2); box-shadow: 0 0 0 100vmax var(--surface-2); clip-path: inset(0 -100vmax); }
.kb-head { display: flex; flex-direction: column; align-items: center; gap: .2rem; margin-bottom: 1.4rem; }
.kb-num { font-family: var(--font-display); font-style: italic; font-weight: 600; font-size: 1rem; color: var(--accent-2); letter-spacing: .1em; }
.kb-head .kenya-h3 { margin: 0; }
.supply-feature { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(1.2rem, 3vw, 2.4rem); align-items: center; max-width: 60rem; margin-inline: auto; }
.supply-feature .supply-photo { margin: 0; }
.supply-feature .supply-photo figcaption { display: none; }
.supply-feature .supply-photo .lb-open img { aspect-ratio: 4 / 3; object-fit: cover; }
.supply-text { display: flex; flex-direction: column; align-items: flex-start; gap: .8rem; }
.supply-desc { margin: 0; font-size: 1.08rem; line-height: 1.9; color: var(--ink); }
.kenya-video { margin-top: 1.8rem !important; }
@media (max-width: 760px) {
  .supply-feature { grid-template-columns: 1fr; }
  .kenya-chips { border-radius: var(--radius); }
}
@media (max-width: 760px) {
  .kenya-chips { position: static; flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; width: 100%; border-radius: 999px; box-shadow: none; background: transparent; backdrop-filter: none; padding: .2rem 0; scrollbar-width: none; }
  .kenya-chips::-webkit-scrollbar { display: none; }
  .kchip { flex: none; font-size: .82rem; padding: .38rem .8rem; }
  .kenya-block { scroll-margin-top: calc(var(--nav-h) + 1rem); }
}
/* 首頁拿掉封面插圖後，LOGO 單獨當主視覺 */
.hero-logo-card > img { width: clamp(240px, 36vw, 420px); }
.hero { padding-top: calc(var(--nav-h) + 2.4rem); }
.hero-logo { margin-bottom: 2rem; }
/* 封面插圖移到按鈕下方 */
.hero-inner .hero-poster { margin: clamp(2.2rem, 5vw, 3.2rem) auto 0; max-width: min(620px, 94%); }

/* v1.21.0 海獅互動 */
.hero-seal { outline: none; }
.hero-seal:focus-visible .seal-lean { outline: 3px solid var(--highlight); outline-offset: 4px; border-radius: 50%; }
.seal-lean { display: block; width: 100%; height: 100%; transition: transform .35s cubic-bezier(.3,1.4,.5,1); }
.hero-seal.m-hop img { animation: sealHop .8s cubic-bezier(.3,1.4,.5,1); }
.hero-seal.m-wiggle img { animation: sealWiggle .7s ease-in-out; }
.hero-seal.m-squish img { animation: sealSquish .7s cubic-bezier(.3,1.6,.5,1); }
.hero-seal.m-toss img { animation: sealToss .7s ease-out; }
.hero-seal.m-hop .seal-spark, .hero-seal.m-toss .seal-spark { animation: sparkBurst .7s ease-out; }
@keyframes sealWiggle { 0%,100% { transform: rotate(0); } 20% { transform: rotate(-16deg); } 40% { transform: rotate(14deg); } 60% { transform: rotate(-10deg); } 80% { transform: rotate(6deg); } }
@keyframes sealSquish { 0% { transform: scale(1,1); } 30% { transform: scale(1.25,.75) translateY(10px); } 60% { transform: scale(.85,1.2) translateY(-18px); } 100% { transform: scale(1,1); } }
@keyframes sealToss { 0% { transform: rotate(0); } 30% { transform: rotate(18deg) translateY(4px); } 60% { transform: rotate(-24deg) translateY(-12px); } 100% { transform: rotate(0); } }

.seal-bubble { position: absolute; right: 70%; bottom: 92%; white-space: nowrap; padding: .45rem .8rem; border-radius: 14px 14px 4px 14px; background: var(--surface); color: var(--ink); font-size: .85rem; font-weight: 700; box-shadow: 0 8px 20px rgba(51,48,43,.16); border: 1.5px solid var(--line); opacity: 0; transform: translateY(8px) scale(.9); transform-origin: bottom right; pointer-events: none; transition: opacity .25s, transform .3s cubic-bezier(.3,1.6,.5,1); z-index: 3; }
.seal-bubble.show { opacity: 1; transform: none; }
.star-pop { position: absolute; left: 45%; top: 30%; color: var(--highlight); font-size: 18px; pointer-events: none; text-shadow: 0 0 8px color-mix(in srgb, var(--highlight) 70%, transparent); animation: starPop .9s ease-out forwards; }
.star-pop:nth-child(odd) { color: var(--accent-2); font-size: 13px; }
@keyframes starPop { 0% { opacity: 1; transform: translate(0,0) scale(.4) rotate(0); } 100% { opacity: 0; transform: translate(var(--dx), var(--dy)) scale(1.2) rotate(140deg); } }
.star-rain { position: fixed; top: -30px; z-index: 300; color: var(--highlight); pointer-events: none; text-shadow: 0 0 10px color-mix(in srgb, var(--highlight) 70%, transparent); animation-name: starFall; animation-timing-function: linear; animation-fill-mode: forwards; }
.star-rain:nth-child(3n) { color: var(--accent-2); }
.star-rain:nth-child(3n+1) { color: var(--primary); }
@keyframes starFall { 0% { transform: translateY(0) rotate(0); opacity: 1; } 100% { transform: translateY(105vh) rotate(360deg); opacity: .2; } }

/* 回到頂端的探頭海獅 */
.peek-seal { position: fixed; right: 18px; bottom: -90px; z-index: 90; width: 74px; height: 74px; padding: 0; border: 0; background: none; cursor: pointer; transition: bottom .5s cubic-bezier(.3,1.5,.5,1); }
.peek-seal img { width: 100%; height: 100%; display: block; filter: drop-shadow(0 6px 10px rgba(51,48,43,.22)); transform-origin: 50% 100%; }
.peek-seal.up { bottom: 14px; }
.peek-seal.up img { animation: peekBob 2.8s ease-in-out infinite; }
.peek-seal:hover img, .peek-seal:focus-visible img { animation: sealWiggle .7s ease-in-out; }
.peek-seal.launch img { animation: peekLaunch .9s ease-in; }
.peek-tip { position: absolute; right: 100%; top: 18px; margin-right: 6px; white-space: nowrap; padding: .3rem .65rem; border-radius: 999px; background: var(--primary); color: #fff; font-size: .78rem; font-weight: 700; opacity: 0; transform: translateX(6px); transition: opacity .2s, transform .2s; pointer-events: none; }
:root[data-theme="dark"] .peek-tip { color: #1E211D; }
.peek-seal:hover .peek-tip, .peek-seal:focus-visible .peek-tip { opacity: 1; transform: none; }
@keyframes peekBob { 0%,100% { transform: translateY(0) rotate(-4deg); } 50% { transform: translateY(-6px) rotate(4deg); } }
@keyframes peekLaunch { 0% { transform: translateY(0); } 25% { transform: translateY(8px) scale(1.1,.9); } 100% { transform: translateY(-120vh) rotate(-20deg); } }
@media (max-width: 480px) { .peek-seal { width: 60px; height: 60px; right: 12px; } .seal-bubble { right: 40%; font-size: .78rem; } }
@media (prefers-reduced-motion: reduce) {
  .hero-seal img, .peek-seal img, .star-pop, .star-rain { animation: none !important; }
  .star-rain { display: none; }
}
/* 選單左上恢復：海獅＋組織名稱（大 LOGO 只在首頁主視覺） */
:root { --nav-h: 72px; }
@media (min-width: 481px) { :root { --nav-h: 72px; } }
@media (max-width: 480px) { :root { --nav-h: 64px; } }
.brand-mascot { width: 48px; height: 48px; }
.nav.scrolled .brand-mascot { width: 40px; height: 40px; }
.brand-name { font-size: 1.22rem; color: var(--ink); }
@media (max-width: 480px) { .brand-name { font-size: 1rem; margin-left: .45rem; } .brand-mascot { width: 40px; height: 40px; } }
@media (max-width: 360px) { .brand-name { display: none; } }
.team-report { display: flex; justify-content: center; margin-top: clamp(2rem, 4vw, 3rem); }
.team-report .btn-ico { width: 18px; height: 18px; }

/* v1.22.0 國際公益書頁 */
.book-top { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.4rem, 3vw, 2.4rem); align-items: center; max-width: 68rem; margin: 0 auto; }
.book-top .review-status { margin: 0; max-width: none; }
.book-cover { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-card-h); transform: rotate(-1.5deg); transition: transform .4s; }
.book-cover:hover { transform: rotate(0); }
.book-cover img { display: block; width: 100%; height: auto; }
.rules-fold { max-width: 68rem; margin: clamp(2rem, 4vw, 3rem) auto; }
.book-after { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(1.4rem, 3vw, 2.6rem); align-items: center; max-width: 68rem; margin: clamp(2.4rem, 5vw, 3.6rem) auto 0; padding: clamp(1.4rem, 3vw, 2.2rem); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-card); }
.book-after-photo { margin: 0; border-radius: var(--radius-sm); overflow: hidden; }
.book-after-photo img { display: block; width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.book-after-title { margin: .3rem 0 .8rem; font-family: var(--font-serif); font-size: clamp(1.25rem, 2.4vw, 1.5rem); color: var(--ink); line-height: 1.45; }
.book-after-title .le { font-family: var(--font-display); font-weight: 600; }
.book-after-text .prose { text-align: left !important; max-width: none !important; margin: 0 0 1rem; color: var(--ink-soft); line-height: 1.9; }
.book-after-quote { margin: 0; padding: .9rem 1.1rem; border-left: 4px solid var(--highlight); background: color-mix(in srgb, var(--highlight) 12%, var(--surface)); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.book-after-quote p { margin: 0; font-family: var(--font-serif); font-weight: 600; color: var(--ink); line-height: 1.8; }
@media (max-width: 860px) { .book-top, .book-after { grid-template-columns: 1fr; } .book-cover { max-width: 32rem; margin-inline: auto; } }
/* 修正：選單變擠時，深淺色與語言按鈕不可被壓扁 */
.icon-btn, .seg, .nav-cta, .brand { flex-shrink: 0; }
.icon-btn { min-width: 40px; }
.nav-links { min-width: 0; }
@media (max-width: 1320px) and (min-width: 1181px) { .nav-links a { padding-inline: .5rem; font-size: .92rem; } .nav-links a.nav-project { padding-inline: .75rem; } }

/* v1.23.0 使命頁底部兩個折疊區 */
.fold-section { padding-block: clamp(.6rem, 1.5vw, 1rem); }
.page > .fold-section:last-of-type { padding-bottom: var(--section-gap); }
.mission-fold { margin: 0 auto; max-width: 64rem; }
.mf-title { display: inline-flex; align-items: center; gap: .6rem; }
.mf-ico { width: 24px; height: 24px; color: var(--accent); flex: none; }
.mission-fold .rules-body .pledge-grid { margin-top: 1.4rem; }
.mission-fold .future-prose { max-width: 46rem; margin: 1.2rem auto 0; text-align: left; }

/* v1.24.0 緣起：橫幅＋單欄閱讀＋簽名 */
.about-banner { position: relative; margin: 0 auto clamp(2.2rem, 5vw, 3.4rem); max-width: 68rem; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-card-h); }
.about-banner img { display: block; width: 100%; height: clamp(280px, 42vw, 460px); object-fit: cover; object-position: center 38%; }
.about-banner-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: clamp(3rem, 8vw, 6rem) clamp(1.2rem, 4vw, 2.6rem) clamp(1.2rem, 3vw, 2rem); background: linear-gradient(transparent, rgba(30, 28, 24, .78)); color: #fff; }
.about-banner-cap .big-quote { margin: 0; font-family: var(--font-serif); font-weight: 700; font-size: clamp(1.5rem, 3.6vw, 2.4rem); line-height: 1.35; color: #fff; text-shadow: 0 2px 12px rgba(0,0,0,.35); }
.about-banner-cap .big-quote .le { font-family: var(--font-display); font-style: italic; font-weight: 500; }
.about-banner-cap .big-quote-attrib { display: block; margin-top: .4rem; font-size: .95rem; color: rgba(255,255,255,.85); }
.about-banner-place { position: absolute; top: 1rem; right: 1rem; padding: .3rem .75rem; border-radius: 999px; background: rgba(255,255,255,.88); color: #33302B; font-size: .78rem; font-weight: 700; }
.about-single { max-width: 40rem; margin: 0 auto; }
.about-inline { margin: 2.2rem -2rem; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-card); background: var(--surface); }
.about-inline img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.about-inline figcaption { padding: .6rem 1rem; font-size: .85rem; color: var(--ink-soft); }
.about-sign { display: flex; align-items: center; gap: 1rem; max-width: 40rem; margin: 2rem auto 0; padding: 1rem 1.2rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.about-sign img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; border: 3px solid var(--primary-soft); }
.about-sign strong { display: block; font-family: var(--font-serif); font-size: 1.1rem; color: var(--ink); }
.about-sign span { font-size: .88rem; color: var(--ink-soft); }
@media (max-width: 760px) { .about-inline { margin-inline: 0; } }
.about-banner img { object-position: center 62%; }
.about-inline img { height: auto; max-height: 420px; }

/* v1.25.0 海獅對話框 */
.seal-talk { display: flex; align-items: flex-end; gap: .6rem; max-width: 40rem; margin: -.4rem auto clamp(1.4rem, 3vw, 2rem); }
.seal-talk.st-right { flex-direction: row-reverse; }
.st-seal { flex: none; width: 64px; height: 64px; padding: 0; border: 0; background: none; cursor: pointer; }
.st-seal img { width: 100%; height: 100%; display: block; transform-origin: 50% 90%; animation: sealBob 3.4s ease-in-out infinite; filter: drop-shadow(0 4px 8px rgba(51,48,43,.18)); }
.st-seal:hover img, .seal-talk.st-pop .st-seal img { animation: sealWiggle .7s ease-in-out; }
.st-bubble { position: relative; padding: .7rem 1rem; border-radius: 18px 18px 18px 6px; background: var(--surface); border: 1.5px solid var(--line); box-shadow: var(--shadow-card); font-size: .95rem; font-weight: 600; line-height: 1.6; color: var(--ink); margin-bottom: 18px; }
.st-right .st-bubble { border-radius: 18px 18px 6px 18px; }
.st-bubble::after { content: ""; position: absolute; left: -9px; bottom: 8px; width: 14px; height: 14px; background: var(--surface); border-left: 1.5px solid var(--line); border-bottom: 1.5px solid var(--line); transform: rotate(45deg) skew(10deg, 10deg); border-radius: 0 0 0 4px; }
.st-right .st-bubble::after { left: auto; right: -9px; transform: rotate(-135deg) skew(10deg, 10deg); }
.seal-talk.in .st-bubble { animation: bubbleIn .5s cubic-bezier(.3,1.6,.5,1) .25s both; }
.seal-talk.st-pop .st-bubble { animation: bubbleIn .45s cubic-bezier(.3,1.6,.5,1) both; }
@keyframes bubbleIn { 0% { opacity: 0; transform: translateY(8px) scale(.85); } 100% { opacity: 1; transform: none; } }
.follow-text .seal-talk { margin: 0 0 .6rem; }
.follow-card .follow-mascot { display: none; }
@media (max-width: 480px) { .st-seal { width: 52px; height: 52px; } .st-bubble { font-size: .88rem; } }
@media (prefers-reduced-motion: reduce) { .st-seal img, .seal-talk .st-bubble { animation: none !important; } }
@media (min-width: 481px) { .st-seal { width: 80px; height: 80px; } .st-bubble { font-size: 1rem; } }
.mission-mascot { display: none !important; }
/* 緣起開頭：直式照片＋引言並排 */
.about-banner.about-split { display: grid; grid-template-columns: minmax(0, .9fr) 1.1fr; background: var(--surface); max-width: 60rem; }
.about-split img { height: 100%; min-height: 420px; max-height: 560px; object-position: center 40%; }
.about-split .about-banner-cap { position: static; background: none; color: var(--ink); display: flex; flex-direction: column; justify-content: center; padding: clamp(1.6rem, 4vw, 3rem); }
.about-split .about-banner-cap .big-quote { color: var(--primary); text-shadow: none; font-size: clamp(1.6rem, 3.4vw, 2.3rem); }
.about-split .about-banner-cap .big-quote-attrib { color: var(--ink-soft); margin-top: .8rem; }
.about-split .about-banner-place { left: 1rem; right: auto; }
@media (max-width: 760px) {
  .about-banner.about-split { grid-template-columns: 1fr; }
  .about-split img { min-height: 0; max-height: none; aspect-ratio: 4 / 5; }
}
#theme-toggle[hidden] { display: none !important; }

/* v1.26.0 公益大使：個人橫幅卡＋介紹｜短片 */
.amb-hero { display: grid; grid-template-columns: 260px 1fr; gap: clamp(1.4rem, 4vw, 3rem); align-items: center; max-width: 66rem; margin: 0 auto clamp(2rem, 4vw, 3rem); padding: clamp(1.4rem, 3vw, 2.2rem); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-card); }
.amb-id { display: flex; flex-direction: column; align-items: center; text-align: center; gap: .55rem; }
.amb-hero .amb-quote { margin: 0; }
.amb-hero .amb-quote p { font-size: clamp(1.15rem, 2.4vw, 1.45rem); }
.amb-detail { display: grid; grid-template-columns: 1fr 280px; gap: clamp(1.4rem, 4vw, 3rem); align-items: start; max-width: 66rem; margin-inline: auto; }
.amb-side { position: sticky; top: calc(var(--nav-h) + 1.2rem); }
.amb-side .promo-video { margin: 0; max-width: none; }
@media (max-width: 860px) {
  .amb-hero, .amb-detail { grid-template-columns: 1fr; }
  .amb-side { position: static; max-width: 300px; margin-inline: auto; }
}
@media (max-width: 480px) { .amb-quote { padding: 2.4rem 1.1rem 1rem; } .amb-quote::before { left: .8rem; top: -.4rem; font-size: 3.6rem; } }

/* v1.27.0 使命頁重組 */
.mission-flow { max-width: 60rem; margin: 0 auto; }
.mission-lead { max-width: 44rem; margin: 0 auto 2rem; font-size: 1.12rem; line-height: 2; color: var(--ink); text-align: center; }
.mission-flow > .callout-pop { margin: 0 auto 2.4rem; padding: 1.6rem 1.2rem; border: 0; border-radius: var(--radius); background: var(--primary); box-shadow: var(--shadow-card); }
.mission-flow > .callout-pop .lz, .mission-flow > .callout-pop .le { color: #fff; font-family: var(--font-serif); font-size: clamp(1.3rem, 3vw, 1.8rem); font-weight: 700; letter-spacing: .04em; }
.mission-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; margin-bottom: 1rem; }
.mduo { padding: 1.5rem 1.5rem 1.3rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-card); }
.mduo-ico { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 16px; background: var(--primary-soft); margin-bottom: .8rem; }
.mduo:nth-child(2) .mduo-ico { background: color-mix(in srgb, var(--accent) 14%, var(--surface)); }
.mduo-ico .ico { width: 24px; height: 24px; color: var(--primary); }
.mduo:nth-child(2) .ico { color: var(--accent); }
.mduo h3 { margin: 0 0 .5rem; font-family: var(--font-serif); font-size: 1.2rem; }
.mduo h3 .le { font-family: var(--font-display); font-weight: 600; }
.mduo p { margin: 0; font-size: 1rem; line-height: 1.9; color: var(--ink-soft); }
.mission-quotes { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; margin: 1rem 0 2.2rem; }
.mission-quotes .quote { margin: 0; height: 100%; display: flex; flex-direction: column; justify-content: center; text-align: center; }
.mission-tail { max-width: 44rem; margin: 0 auto; text-align: center; }
.mission-tail p { margin: 0 0 1rem; line-height: 1.9; color: var(--ink-soft); }
.mission-tail .signature { color: var(--ink); }
@media (max-width: 760px) { .mission-duo, .mission-quotes { grid-template-columns: 1fr; } }

/* v1.28.0 肯亞頁：大橫幅、旅程速覽、章節按鈕不固定、影片縮小 */
.kenya-hero { position: relative; margin: 0 auto 1.4rem; max-width: 68rem; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-card-h); }
.kenya-hero img { display: block; width: 100%; height: clamp(260px, 40vw, 440px); object-fit: cover; object-position: center 35%; }
.kenya-hero figcaption { position: absolute; left: 1rem; bottom: 1rem; padding: .35rem .85rem; border-radius: 999px; background: rgba(255,255,255,.9); color: #33302B; font-size: .85rem; font-weight: 700; }
.kenya-facts { list-style: none; padding: 0; margin: 0 auto 1.8rem; max-width: 68rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: .9rem; }
.kenya-facts li { display: flex; align-items: center; gap: .8rem; padding: .9rem 1.1rem; border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--line); }
.kenya-facts .ico { width: 26px; height: 26px; color: var(--primary); flex: none; }
.kenya-facts li:nth-child(2) .ico { color: var(--accent); }
.kenya-facts li:nth-child(3) .ico { color: var(--mustard); }
.kenya-facts small { display: block; font-size: .78rem; color: var(--ink-soft); font-weight: 700; letter-spacing: .06em; }
.kenya-facts strong { display: block; font-size: 1rem; color: var(--ink); }
.kenya-lead { max-width: 46rem; margin-inline: auto; }
.kenya-chips { position: static !important; box-shadow: none; background: transparent; backdrop-filter: none; }
.kenya-video { max-width: 44rem !important; }
@media (max-width: 760px) { .kenya-facts { grid-template-columns: 1fr; } }
.kenya-hero img { object-position: center 45%; }
@media (max-width: 760px) {
  .kenya-facts { gap: 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); overflow: hidden; }
  .kenya-facts li { border: 0; border-radius: 0; padding: .7rem 1rem; }
  .kenya-facts li + li { border-top: 1px dashed var(--line); }
}

/* v1.29.0 在肯亞的日子：輪播 */
.carousel { max-width: 60rem; margin: 0 auto; }
.car-stage { position: relative; }
.car-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; border-radius: var(--radius); box-shadow: var(--shadow-card-h); background: var(--surface); scrollbar-width: none; outline: none; }
.car-track::-webkit-scrollbar { display: none; }
.car-track:focus-visible { box-shadow: 0 0 0 3px var(--highlight), var(--shadow-card-h); }
.car-slide { flex: 0 0 100%; margin: 0; scroll-snap-align: start; position: relative; }
.car-slide .lb-open { border-radius: 0; }
.car-slide img { display: block; width: 100%; height: clamp(260px, 48vw, 540px); object-fit: cover; background: var(--surface-2); }
.car-slide figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 2.4rem 1.4rem 1.1rem; background: linear-gradient(transparent, rgba(30,28,24,.78)); color: #fff; pointer-events: none; display: flex; flex-direction: column; gap: .2rem; }
.car-slide figcaption strong { font-family: var(--font-serif); font-size: 1.2rem; }
.car-slide figcaption .fig-desc { color: rgba(255,255,255,.88); font-size: .92rem; }
.car-btn { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); color: #33302B; font-size: 1.8rem; line-height: 1; cursor: pointer; box-shadow: 0 6px 16px rgba(0,0,0,.18); display: grid; place-items: center; transition: transform .2s; }
.car-btn:hover { transform: translateY(-50%) scale(1.08); }
.car-prev { left: 14px; }
.car-next { right: 14px; }
.car-foot { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: 1rem; }
.car-dots { display: flex; gap: .45rem; }
.car-dot { width: 10px; height: 10px; padding: 0; border-radius: 999px; border: 0; background: var(--line); cursor: pointer; transition: width .25s, background .25s; }
.car-dot.on { width: 26px; background: var(--primary); }
.car-count { font-size: .85rem; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
@media (max-width: 600px) { .car-btn { width: 38px; height: 38px; font-size: 1.4rem; } .car-prev { left: 8px; } .car-next { right: 8px; } .car-slide img { height: 300px; } }

/* v1.30.0 英雄旅程時間軸 */
.journey-wrap { margin-top: clamp(3.4rem, 7vw, 5rem); }
.journey { list-style: none; margin: 0 auto; padding: 0; max-width: 52rem; position: relative; }
.journey::before { content: ""; position: absolute; left: 27px; top: 10px; bottom: 10px; width: 3px; border-radius: 3px; background: linear-gradient(var(--primary), var(--primary) 70%, var(--line) 70%); }
.jn-step { position: relative; display: grid; grid-template-columns: 58px 1fr; gap: 1rem; margin-bottom: 1.4rem; align-items: start; }
.jn-node { position: relative; z-index: 1; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--primary); color: #fff; border: 4px solid var(--bg); box-shadow: 0 4px 12px rgba(51,48,43,.15); }
.jn-node .ico { width: 24px; height: 24px; }
.jn-step.big .jn-node { background: var(--accent); }
.jn-step.now .jn-node { background: var(--highlight); color: #33302B; animation: jnPulse 2s infinite; }
.jn-step.next .jn-node { background: var(--surface); color: var(--ink-soft); border: 3px dashed var(--line); }
@keyframes jnPulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--highlight) 70%, transparent); } 70% { box-shadow: 0 0 0 14px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
.jn-card { display: flex; gap: 1rem; align-items: stretch; padding: 1rem 1.2rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-card); text-decoration: none; color: var(--ink); transition: transform .25s, box-shadow .25s; }
a.jn-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-card-h); }
.jn-step.big .jn-card { padding: 0; overflow: hidden; border-color: color-mix(in srgb, var(--accent) 35%, var(--line)); }
.jn-step.big .jn-text { padding: 1.1rem 1.3rem 1.2rem; }
.jn-img { flex: 0 0 38%; min-height: 150px; }
.jn-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.jn-text { display: flex; flex-direction: column; gap: .3rem; min-width: 0; }
.jn-date { font-family: var(--font-round); font-weight: 700; font-size: .9rem; color: var(--accent-2); letter-spacing: .03em; }
.jn-step.now .jn-date { color: var(--mustard); }
.jn-step.next .jn-date { color: var(--ink-soft); }
.jn-title { margin: 0; font-family: var(--font-serif); font-size: 1.2rem; color: var(--ink); }
.jn-step.big .jn-title { font-size: 1.4rem; }
.jn-title .le { font-family: var(--font-display); font-weight: 600; }
.jn-text p { margin: 0; color: var(--ink-soft); line-height: 1.75; font-size: .96rem; }
.jn-go { margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; padding: .42rem 1rem; border: 1.5px solid var(--primary); border-radius: 999px; color: var(--primary); font-weight: 700; font-size: .92rem; transition: background .2s; }
a.jn-card:hover .jn-go { background: var(--primary-soft); }
.jn-go .btn-ico { width: 16px; height: 16px; transition: transform .25s; }
a.jn-card:hover .jn-go .btn-ico { transform: translateX(4px); }
.jn-step.next .jn-card { background: transparent; border-style: dashed; box-shadow: none; }
@media (max-width: 600px) {
  .journey::before { left: 21px; }
  .jn-step { grid-template-columns: 44px 1fr; gap: .7rem; }
  .jn-node { width: 44px; height: 44px; }
  .jn-node .ico { width: 20px; height: 20px; }
  .jn-step.big .jn-card { flex-direction: column; }
  .jn-img { flex-basis: auto; min-height: 0; aspect-ratio: 16 / 9; }
}
@media (prefers-reduced-motion: reduce) { .jn-step.now .jn-node { animation: none; } }
/* 在肯亞的日子輪播縮小 */
.carousel { max-width: 44rem; }
.car-slide img { height: clamp(220px, 34vw, 380px); }
@media (max-width: 600px) { .car-slide img { height: 240px; } }
.kenya-hero img { object-position: center 50%; }
/* 物資照縮小顯示 */
.supply-feature { grid-template-columns: minmax(0, .8fr) 1fr; max-width: 50rem; }
.project-card[href="#/kenya"] .pc-img img { object-position: center 35%; }

/* v1.30.7 公益大使引言：置中、引號在上、署名緊接 */
.amb-hero .amb-quote { position: relative; padding: 2.6rem clamp(1.2rem, 3vw, 2.4rem) 1.6rem; text-align: center; border-radius: var(--radius); background: color-mix(in srgb, var(--highlight) 14%, var(--surface)); border: 1px solid color-mix(in srgb, var(--highlight) 40%, var(--line)); }
.amb-hero .amb-quote::before { content: "“"; position: absolute; left: 50%; top: -.35rem; transform: translateX(-50%); font-size: 4.2rem; line-height: 1; color: var(--accent-2); }
.amb-hero .amb-quote p { font-size: clamp(1.12rem, 2.2vw, 1.35rem); line-height: 1.9; text-wrap: balance; max-width: 30em; margin: 0 auto; }
.amb-hero .amb-quote cite { display: flex; align-items: center; justify-content: center; gap: .6rem; margin-top: 1rem; text-align: center; font-size: .95rem; font-weight: 600; color: var(--ink-soft); }
.amb-hero .amb-quote cite::before, .amb-hero .amb-quote cite::after { content: ""; width: 28px; height: 1px; background: var(--line); }
@media (max-width: 480px) { .amb-hero .amb-quote { padding: 2.4rem 1.1rem 1.3rem; } }

/* v1.30.8 大使引言改成短詩版式（不套框） */
.amb-poem { position: relative; margin: 0; padding: .4rem 0 .4rem clamp(1.2rem, 3vw, 2rem); border-left: 3px solid var(--highlight); }
.aq-mark { position: absolute; left: clamp(1rem, 2.6vw, 1.6rem); top: -1.9rem; font-family: var(--font-display); font-size: 4.6rem; line-height: 1; color: color-mix(in srgb, var(--accent-2) 55%, transparent); }
.aq-text { margin: 0; font-family: var(--font-serif); font-weight: 600; color: var(--ink); font-size: clamp(1.2rem, 2.3vw, 1.5rem); line-height: 1.8; }
.aq-line { display: block; }
.aq-text .le { font-family: var(--font-display); font-style: italic; font-weight: 500; }
.amb-poem cite { display: block; margin-top: .9rem; font-style: normal; font-size: .95rem; font-weight: 600; color: var(--ink-soft); }
@media (max-width: 860px) { .amb-poem { margin-top: .6rem; } }
/* 物資照再縮小，畫面更銳利 */
.supply-feature { grid-template-columns: 240px 1fr; max-width: 44rem; }
@media (max-width: 760px) { .supply-feature .supply-photo { max-width: 260px; margin-inline: auto; } }
@media (max-width: 760px) { .supply-feature { grid-template-columns: 1fr; justify-items: center; text-align: center; } .supply-feature .supply-photo { width: 240px; } .supply-text { align-items: center; } }

/* v1.30.10 大使卡：收窄、置中、詩句放大 */
.amb-hero { max-width: 50rem; grid-template-columns: 220px auto; justify-content: center; gap: clamp(1.6rem, 4vw, 3.4rem); padding: clamp(1.6rem, 3vw, 2.4rem) clamp(1.4rem, 4vw, 3rem); }
.amb-portrait .portrait { width: 150px; height: 150px; }
.aq-text { font-size: clamp(1.25rem, 2.4vw, 1.6rem); line-height: 1.85; }
.amb-poem { padding-left: clamp(1.2rem, 2.6vw, 1.8rem); }
@media (max-width: 860px) { .amb-hero { grid-template-columns: 1fr; justify-items: center; } .amb-poem { justify-self: center; } }

/* v1.31.0 「一百萬個人捐一塊」重新設計 */
.mf2 { margin: clamp(2.4rem, 5vw, 3.6rem) auto; max-width: 52rem; padding: clamp(2rem, 5vw, 3.2rem) clamp(1.4rem, 5vw, 3.4rem); border-radius: calc(var(--radius) * 1.4); background: var(--primary); color: #fff; text-align: center; box-shadow: var(--shadow-card-h); position: relative; overflow: hidden; }
.mf2::before { content: ""; position: absolute; inset: auto -20% -60% -20%; height: 80%; background: radial-gradient(ellipse at center, color-mix(in srgb, var(--highlight) 30%, transparent), transparent 65%); pointer-events: none; }
.mf2-viz { display: grid; grid-template-columns: auto auto 1fr; align-items: center; gap: clamp(.8rem, 3vw, 2rem); max-width: 34rem; margin: 0 auto 1.8rem; }
.mf2-one, .mf2-many { display: flex; flex-direction: column; align-items: center; gap: .5rem; }
.mf2-viz small { font-size: .85rem; font-weight: 700; letter-spacing: .08em; color: rgba(255,255,255,.8); }
.mf2-big { width: 64px; height: 64px; border-radius: 50%; background: rgba(255,255,255,.28); border: 2px solid rgba(255,255,255,.55); }
.mf2-arrow { font-size: 1.8rem; color: var(--highlight); }
.mf2-dots { display: grid; grid-template-columns: repeat(20, 1fr); gap: 4px; width: 100%; }
.mf2-dots span { aspect-ratio: 1; border-radius: 50%; background: var(--highlight); opacity: .25; transform: scale(.4); }
.mf2.in .mf2-dots span { animation: mfDot .5s ease-out forwards; }
@keyframes mfDot { to { opacity: 1; transform: scale(1); } }
.mf2-lead { margin: 0 auto 1.4rem; max-width: 30em; font-family: var(--font-serif); font-weight: 700; font-size: clamp(1.3rem, 3vw, 1.75rem); line-height: 1.6; color: #fff; text-wrap: balance; position: relative; }
.mf2-lead .le, .mf2-line .le { font-family: var(--font-display); font-style: italic; font-weight: 500; }
.mf2-line { margin: .3rem 0; font-family: var(--font-serif); font-size: clamp(1.05rem, 2.2vw, 1.2rem); line-height: 1.8; color: rgba(255,255,255,.92); opacity: 0; transform: translateY(8px); transition: opacity .6s ease, transform .6s ease; position: relative; }
.mf2.in .mf2-line { opacity: 1; transform: none; }
.mf2-line:last-of-type { color: var(--highlight); font-weight: 700; }
.mf2 cite { display: block; margin-top: 1.4rem; font-style: normal; font-size: .95rem; color: rgba(255,255,255,.75); position: relative; }
@media (max-width: 560px) { .mf2-viz { grid-template-columns: 1fr; } .mf2-arrow { transform: rotate(90deg); } .mf2-dots { grid-template-columns: repeat(15, 1fr); } }
@media (prefers-reduced-motion: reduce) { .mf2-dots span { opacity: 1; transform: none; } .mf2-line { opacity: 1; transform: none; } .mf2.in .mf2-dots span { animation: none; } }
/* 只剩一句英雄引言：單欄置中 */
.mission-quotes { grid-template-columns: 1fr; max-width: 40rem; margin-inline: auto; }
.mission-quotes .quote p { font-size: clamp(1.2rem, 2.6vw, 1.5rem); }
@media (max-width: 560px) { .mf2-dots { grid-template-columns: repeat(20, 1fr); gap: 3px; } }

/* v1.31.3 使命導言 */
.mission-intro { display: grid; grid-template-columns: auto 1fr; gap: clamp(1.4rem, 4vw, 3rem); align-items: center; max-width: 52rem; margin: 0 auto 2.4rem; padding: clamp(1.4rem, 3vw, 2.2rem) clamp(1.4rem, 4vw, 2.6rem); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-card); }
.ml-mark { display: flex; flex-direction: column; align-items: center; line-height: 1.1; font-family: var(--font-serif); font-weight: 700; font-size: clamp(1.8rem, 4vw, 2.6rem); color: var(--primary); padding-right: clamp(1.2rem, 3vw, 2.4rem); border-right: 3px solid var(--highlight); }
.ml-x { font-family: var(--font-display); font-size: .8em; color: var(--accent-2); margin: .1em 0; }
.ml-text p { margin: 0; text-align: left; }
.ml-p1 { font-size: 1.08rem; line-height: 1.9; color: var(--ink-soft); margin-bottom: .8rem !important; }
.ml-p2 { font-family: var(--font-serif); font-weight: 600; font-size: clamp(1.15rem, 2.4vw, 1.35rem); line-height: 1.8; color: var(--ink); }
@media (max-width: 640px) {
  .mission-intro { grid-template-columns: 1fr; text-align: center; }
  .ml-mark { flex-direction: row; gap: .4rem; padding: 0 0 .9rem; border-right: 0; border-bottom: 3px solid var(--highlight); justify-self: center; }
  .ml-text p { text-align: center; }
}
/* 宣言首句深黃、一個人＝一疊百萬現金 */
.mf2-lead, .mf2-lead .lz, .mf2-lead .le { color: #F2C14E; }
.mf2-big { width: 76px; height: 76px; display: grid; place-items: center; background: rgba(255,255,255,.14); }
.mf2-big svg { width: 58px; height: 58px; }
/* 一百萬個人＝一枚枚一塊錢硬幣 */
.mf2-dots span { position: relative; display: grid; place-items: center; background: radial-gradient(circle at 35% 30%, #FBE3A1, #F2C14E 55%, #C9962B); box-shadow: inset 0 0 0 1.5px rgba(120, 82, 20, .55); container-type: inline-size; }
.mf2-dots span::after { content: "1"; font-family: var(--font-round); font-weight: 800; font-size: 58cqi; line-height: 1; color: #7A5414; }
/* 金句帶移到使命頁最上方 */
#mission .wrap > .callout-pop { max-width: 60rem; margin: 0 auto clamp(2rem, 4vw, 2.8rem); padding: 1.8rem 1.4rem; border: 0; border-radius: var(--radius); background: var(--primary); box-shadow: var(--shadow-card); }
#mission .wrap > .callout-pop .lz, #mission .wrap > .callout-pop .le { color: #fff; font-family: var(--font-serif); font-size: clamp(1.35rem, 3.2vw, 1.9rem); font-weight: 700; letter-spacing: .04em; }
.mf2-line:last-of-type, .mf2-line:last-of-type .lz, .mf2-line:last-of-type .le { color: rgba(255,255,255,.72); font-weight: 600; }
#mission .wrap > .mission-intro { margin-bottom: clamp(2rem, 4vw, 2.8rem); }

/* v1.32.0 使命金句帶：漸層流光、閃爍星星、金色光澤掃過、字一句句彈出並發光 */
#mission .wrap > .hero-band { position: relative; overflow: hidden; padding: clamp(2rem, 4vw, 2.6rem) 1.4rem; background: linear-gradient(120deg, #3E6650, var(--primary), #5B8467, var(--primary)); background-size: 300% 100%; animation: hbFlow 12s ease-in-out infinite; }
@keyframes hbFlow { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
.hero-band > span:not(.hb-deco):not(.hb-shine) { position: relative; z-index: 2; }
.hero-band .pop-word { text-shadow: 0 0 0 transparent; }
.hero-band.in .pop-word { animation: hbGlow 3.6s ease-in-out 1.6s infinite; }
.hero-band .pop-word:nth-child(2) { animation-delay: 2.4s !important; }
@keyframes hbGlow { 0%, 100% { text-shadow: 0 0 0 transparent; } 50% { text-shadow: 0 0 18px rgba(242, 193, 78, .65); } }
.hb-shine { position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(105deg, transparent 35%, rgba(255, 230, 160, .28) 50%, transparent 65%); transform: translateX(-110%); }
.hero-band.in .hb-shine { animation: hbSweep 5s ease-in-out 1.2s infinite; }
@keyframes hbSweep { 0% { transform: translateX(-110%); } 40%, 100% { transform: translateX(110%); } }
.hb-deco { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.hb-star { position: absolute; color: #F2C14E; opacity: 0; animation: hbTwinkle 3s ease-in-out infinite; text-shadow: 0 0 10px rgba(242, 193, 78, .8); }
.hb-star.s0 { left: 4%; top: 18%; font-size: 18px; animation-delay: .2s; }
.hb-star.s1 { left: 12%; bottom: 14%; font-size: 13px; animation-delay: 1.1s; }
.hb-star.s2 { left: 24%; top: 10%; font-size: 11px; animation-delay: 2s; }
.hb-star.s3 { right: 22%; top: 12%; font-size: 14px; animation-delay: .7s; }
.hb-star.s4 { right: 10%; bottom: 16%; font-size: 20px; animation-delay: 1.6s; }
.hb-star.s5 { right: 4%; top: 22%; font-size: 12px; animation-delay: 2.5s; }
.hb-star.s6 { left: 50%; bottom: 8%; font-size: 10px; animation-delay: 1.3s; }
@keyframes hbTwinkle { 0%, 100% { opacity: 0; transform: scale(.4) rotate(0); } 50% { opacity: 1; transform: scale(1.15) rotate(25deg); } }
@media (prefers-reduced-motion: reduce) { #mission .wrap > .hero-band, .hero-band .pop-word, .hb-shine, .hb-star { animation: none !important; } .hb-star { opacity: .6; } }
#mission .wrap > .pillars { margin-top: 0; margin-bottom: clamp(2.4rem, 5vw, 3.4rem); }
/* 並排卡折疊 */
.mduo { --pc: var(--primary); display: flex; flex-direction: column; align-items: flex-start; }
.mduo:nth-child(2) { --pc: var(--accent); }
.mduo:not(.open) .mduo-text { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mduo .pledge-toggle { margin-top: .9rem; }
.mduo .pt-less, .mduo.open .pt-more { display: none; }
.mduo.open .pt-less { display: inline; }
.mduo.open .pt-ico { transform: rotate(180deg); }
.mission-duo { align-items: start; }

/* v1.33.0 首頁排版收斂 */
#page-home .hero { padding-bottom: clamp(1.4rem, 3vw, 2.2rem); }
#page-home .hero-inner .hero-poster { max-width: min(520px, 90%); margin-top: clamp(1.8rem, 4vw, 2.6rem); }
#page-home .hero-stats { margin-top: clamp(1.6rem, 3vw, 2.2rem); max-width: 52rem; }
#page-home .scroll-cue { display: none; }
#page-home .band-section { padding-block: clamp(1.4rem, 3vw, 2rem) clamp(1.2rem, 3vw, 1.8rem); }
#page-home #projects { padding-top: clamp(2.4rem, 5vw, 3.6rem); padding-bottom: clamp(2rem, 4vw, 3rem); }
#page-home .follow-section { padding-top: 0; padding-bottom: clamp(3rem, 6vw, 4.4rem); }
#page-home .follow-section .seal-talk { margin: 0 auto 1rem; }
.follow-card { max-width: 46rem; justify-content: space-between; }
.follow-card .follow-mascot { display: none; }
.follow-text { text-align: left; }
@media (max-width: 760px) { .follow-text { text-align: center; } }
.book-duo { max-width: 68rem; margin: clamp(2rem, 4vw, 2.8rem) auto 0; }

/* v1.34.0 先看重點、展開看全文（按句分行） */
.card-key { margin: .3rem 0 .2rem; font-family: var(--font-serif); font-weight: 700; font-size: 1.12rem; line-height: 1.7; color: var(--ink); }
.card-key .le { font-family: var(--font-display); font-weight: 600; }
.card-full { display: none; }
.mduo.open .card-full, .pledge-card.open .card-full { display: block; margin-top: .9rem; padding-top: .9rem; border-top: 1px dashed var(--line); }
.sent-lines p { margin: 0 0 .55rem; font-size: .96rem; line-height: 1.8; color: var(--ink-soft); }
.sent-lines .lz p::before { content: ""; display: inline-block; width: 6px; height: 6px; margin: 0 .55rem .18rem 0; border-radius: 50%; background: var(--highlight); vertical-align: middle; }
.pledge-body .sent-lines + .sent-lines { margin-top: .6rem; }
/* 舊的「露兩行」規則停用 */
.mduo:not(.open) .mduo-text, .pledge-card:not(.open) .pledge-body p:first-child { display: revert; -webkit-line-clamp: unset; }
.pledge-card:not(.open) .pledge-body p:not(:first-child) { display: revert; }
/* 首頁新順序間距 */
#page-home #projects { padding-top: clamp(2.6rem, 5vw, 3.8rem); padding-bottom: clamp(1rem, 2vw, 1.4rem); }
#page-home .band-section { padding-block: clamp(1.4rem, 3vw, 2rem) clamp(2.4rem, 5vw, 3.4rem); }
#projects { scroll-margin-top: calc(var(--nav-h) + 1rem); }

/* v1.35.0 首頁故事線：兩章交錯＋虛線串連，同一底色不切塊 */
#page-home .hero { padding-bottom: clamp(2.4rem, 5vw, 3.4rem); }
#page-home #projects { padding-top: clamp(1rem, 2vw, 1.6rem); padding-bottom: clamp(1.6rem, 3vw, 2.4rem); }
.chapters { position: relative; max-width: 64rem; margin: 0 auto; display: grid; gap: clamp(2.6rem, 6vw, 4.4rem); }
.chapters::before { content: ""; position: absolute; left: 50%; top: -1.6rem; bottom: -1.6rem; border-left: 2px dashed color-mix(in srgb, var(--primary) 35%, transparent); transform: translateX(-1px); z-index: 0; }
.chapter { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.6rem, 5vw, 4rem); align-items: center; }
.chapter.ch-rev .ch-media { order: 2; }
.ch-media { display: block; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-card-h); background: var(--surface); transition: transform .4s ease; }
.ch-media:hover { transform: translateY(-4px) rotate(-.4deg); }
.ch-poster img { display: block; width: 100%; height: auto; }
.ch-collage { display: grid; grid-template-columns: 1.3fr 1fr; grid-template-rows: 1fr 1fr; gap: 6px; aspect-ratio: 4 / 3; background: var(--surface); padding: 6px; }
.ch-collage img { width: 100%; height: 100%; object-fit: cover; border-radius: calc(var(--radius) - 6px); }
.ch-collage img:first-child { grid-row: 1 / 3; }
.ch-collage img:last-child { object-position: center 20%; background: #fff; }
.ch-text { position: relative; background: var(--bg); padding: .4rem 0; display: flex; flex-direction: column; align-items: flex-start; gap: .7rem; }
.ch-num { font-family: var(--font-display); font-style: italic; font-weight: 600; font-size: 2.6rem; line-height: 1; color: color-mix(in srgb, var(--accent-2) 70%, transparent); }
.ch-tag { display: inline-flex; align-items: center; gap: .45rem; padding: .28rem .8rem; border-radius: 999px; background: color-mix(in srgb, var(--highlight) 22%, var(--surface)); border: 1px solid color-mix(in srgb, var(--highlight) 55%, var(--line)); font-size: .85rem; font-weight: 700; color: var(--ink); }
.ch-tag-alt { background: var(--primary-soft); border-color: color-mix(in srgb, var(--primary) 30%, var(--line)); color: var(--pill-ink); }
.ch-tag .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent-2); animation: pulse 2s infinite; }
.ch-title { margin: 0; font-family: var(--font-serif); font-size: clamp(1.5rem, 3vw, 2rem); color: var(--ink); }
.ch-title .le { font-family: var(--font-display); font-weight: 600; }
.ch-desc { margin: 0; font-size: 1.05rem; line-height: 1.85; color: var(--ink-soft); }
.ch-stats { list-style: none; margin: .2rem 0 .4rem; padding: 0; display: grid; grid-template-columns: repeat(4, auto); gap: .4rem 1.4rem; }
.ch-stats li { display: flex; flex-direction: column; }
.ch-stats strong { font-family: var(--font-round); font-size: 1.25rem; color: var(--primary); line-height: 1.2; }
.ch-stats span { font-size: .8rem; color: var(--ink-soft); }
@media (max-width: 820px) {
  .chapters::before { left: 22px; }
  .chapter { grid-template-columns: 1fr; padding-left: 44px; }
  .chapter.ch-rev .ch-media { order: 0; }
  .ch-stats { grid-template-columns: repeat(2, auto); }
}
@media (prefers-reduced-motion: reduce) { .ch-tag .dot { animation: none; } }
.mission-tail { margin-top: -.6rem; } .mission-tail .signature { margin-top: 0; }

/* v1.36.0 首頁行銷亮點：拍立得照片、滿版情緒大圖 */
.hero { position: relative; }
.hero-polas { position: absolute; inset: 0; pointer-events: none; z-index: 1; max-width: 80rem; margin: 0 auto; }
.pola { position: absolute; margin: 0; width: clamp(130px, 13vw, 190px); padding: 8px 8px 26px; background: #fff; border-radius: 6px; box-shadow: 0 14px 30px rgba(51,48,43,.18); pointer-events: auto; transition: transform .45s cubic-bezier(.3,1.4,.5,1), box-shadow .3s; animation: polaIn .9s cubic-bezier(.3,1.4,.5,1) both, polaFloat 6s ease-in-out 1s infinite; }
.pola img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 3px; }
.pola.p1 { left: 3%; top: 22%; --r: -8deg; animation-delay: .3s, 1.2s; }
.pola.p2 { left: 9%; top: 56%; --r: 6deg; animation-delay: .5s, 2s; }
.pola.p3 { right: 3%; top: 20%; --r: 7deg; animation-delay: .4s, 1.6s; }
.pola.p4 { right: 9%; top: 55%; --r: -5deg; animation-delay: .6s, 2.4s; }
.pola { transform: rotate(var(--r)); }
.pola:hover { transform: rotate(0) scale(1.12); box-shadow: 0 20px 40px rgba(51,48,43,.25); z-index: 3; animation-play-state: paused; }
@keyframes polaIn { from { opacity: 0; transform: translateY(30px) rotate(0) scale(.8); } to { opacity: 1; transform: rotate(var(--r)); } }
@keyframes polaFloat { 0%, 100% { transform: rotate(var(--r)) translateY(0); } 50% { transform: rotate(var(--r)) translateY(-10px); } }
.hero-inner { position: relative; z-index: 2; }
@media (max-width: 1100px) { .pola { width: 110px; padding: 6px 6px 18px; } .pola.p1 { left: 1%; } .pola.p3 { right: 1%; } .pola.p2, .pola.p4 { display: none; } }
@media (max-width: 760px) {
  .hero-polas { position: static; display: flex; justify-content: center; gap: .6rem; margin: 1.6rem auto 0; order: 9; }
  .pola { position: static; width: 74px; padding: 4px 4px 12px; display: block !important; }
  #page-home .hero { display: flex; flex-direction: column; }
}
.big-pic { position: relative; margin: clamp(2rem, 5vw, 3.4rem) 0 0; min-height: clamp(360px, 52vw, 560px); display: grid; place-items: center; overflow: hidden; }
.big-pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; transform: scale(1.05); transition: transform 8s ease-out; }
.big-pic.in img { transform: scale(1); }
.big-pic::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(30,33,29,.25), rgba(30,33,29,.72)); }
.bp-text { position: relative; z-index: 2; text-align: center; color: #fff; padding: 2rem 1.2rem; }
.bp-line { margin: 0; font-family: var(--font-serif); font-weight: 700; font-size: clamp(1.6rem, 4.2vw, 2.8rem); line-height: 1.45; text-shadow: 0 2px 18px rgba(0,0,0,.4); opacity: 0; transform: translateY(16px); transition: opacity .8s ease, transform .8s ease; }
.bp-line .le { font-family: var(--font-display); font-style: italic; font-weight: 500; }
.bp-line:nth-child(2) { color: #F2C14E; transition-delay: .35s; }
.big-pic.in .bp-line { opacity: 1; transform: none; }
.bp-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: .8rem; margin-top: 1.6rem; opacity: 0; transition: opacity .8s ease .8s; }
.big-pic.in .bp-cta { opacity: 1; }
.btn-gold { background: #F2C14E; color: #33302B; box-shadow: 0 8px 22px rgba(242,193,78,.4); }
.btn-gold:hover { background: #F5CE6B; }
.btn-ghost-light { background: rgba(255,255,255,.12); color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.6); backdrop-filter: blur(4px); }
.btn-ghost-light:hover { background: rgba(255,255,255,.22); }
#page-home .follow-section { padding-top: clamp(2.4rem, 5vw, 3.4rem); }
@media (prefers-reduced-motion: reduce) { .pola { animation: none !important; opacity: 1; } .bp-line, .bp-cta { opacity: 1 !important; transform: none !important; } .big-pic img { transition: none; } }
.pola.p1 { left: 4%; top: 16%; }
.pola.p3 { right: 4%; top: 15%; }
.pola.p2 { left: 2%; top: auto; bottom: 6%; }
.pola.p4 { right: 2%; top: auto; bottom: 7%; }
@media (min-width: 1101px) { .pola { width: clamp(120px, 11vw, 170px); } }

/* v1.37.0 LOGO 區塊吸睛：光芒、光暈、光澤、3D 傾斜、彈跳登場 */
.hero-logo-card { position: relative; display: inline-block; isolation: isolate; }
.logo-rays { position: absolute; left: 50%; top: 50%; width: 170%; aspect-ratio: 1; transform: translate(-50%, -50%); z-index: -1; pointer-events: none;
  background: repeating-conic-gradient(from 0deg, rgba(242,193,78,.16) 0deg 8deg, transparent 8deg 22deg);
  -webkit-mask: radial-gradient(circle, #000 18%, transparent 62%); mask: radial-gradient(circle, #000 18%, transparent 62%);
  animation: raysSpin 40s linear infinite; }
@keyframes raysSpin { to { transform: translate(-50%, -50%) rotate(360deg); } }
.logo-tilt { position: relative; display: block; border-radius: 22px; overflow: hidden; transition: transform .25s ease-out; transform-style: preserve-3d; animation: logoPop .9s cubic-bezier(.3,1.5,.5,1) both; }
@keyframes logoPop { 0% { opacity: 0; transform: scale(.7) translateY(20px); } 100% { opacity: 1; transform: none; } }
.hero-logo .logo-tilt img { display: block; box-shadow: 0 14px 34px rgba(51,48,43,.14), 0 0 0 0 rgba(242,193,78,.5); animation: logoGlow 3.6s ease-in-out 1s infinite; }
@keyframes logoGlow { 0%, 100% { box-shadow: 0 14px 34px rgba(51,48,43,.14), 0 0 0 0 rgba(242,193,78,0); } 50% { box-shadow: 0 18px 40px rgba(51,48,43,.16), 0 0 0 10px rgba(242,193,78,.22); } }
.logo-shine { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(105deg, transparent 38%, rgba(255,240,190,.75) 50%, transparent 62%); transform: translateX(-120%); animation: logoShine 5.5s ease-in-out 1.4s infinite; mix-blend-mode: screen; }
@keyframes logoShine { 0% { transform: translateX(-120%); } 30%, 100% { transform: translateX(120%); } }
@media (prefers-reduced-motion: reduce) { .logo-rays, .logo-tilt, .hero-logo .logo-tilt img, .logo-shine { animation: none !important; } .logo-shine { display: none; } }
.logo-rays { background: repeating-conic-gradient(from 0deg, rgba(242,193,78,.32) 0deg 7deg, transparent 7deg 20deg); width: 190%; }
.pola.p2 img { object-position: center 35%; }
.follow-title { margin: 0; }

/* ===== v1.38 手機版收斂 ===== */
h1, h2, h3, .section-title, .sec-title { text-wrap: balance; }
p, .bubble, .seal-bubble, .sb-text { text-wrap: pretty; }
.car-dot { position: relative; }
.car-dot::after { content: ""; position: absolute; inset: -14px -6px; }
@media (max-width: 640px) {
  /* 回頂端海獅縮小，少遮內容 */
  .peek-seal { width: 54px; height: 54px; right: 10px; }
  .peek-seal.up { bottom: 10px; }
  /* 三支柱改成橫向小卡：圖示在左、字在右 */
  .pillars { gap: .8rem; }
  .pillar { display: grid; grid-template-columns: 60px 1fr; column-gap: 1rem; align-items: center; text-align: left; padding: 1rem 1.1rem; border-top-width: 0; border-left: 4px solid var(--primary); }
  .pillar:nth-child(2) { border-left-color: var(--accent); }
  .pillar:nth-child(3) { border-left-color: var(--mustard); }
  .pillar .p-badge { grid-row: span 2; width: 60px; height: 60px; margin: 0; border-radius: 20px; }
  .pillar .p-badge .p-ico { width: 32px; height: 32px; }
  .pillar h3 { font-size: 1.15rem; margin: 0 0 .15rem; }
  .pillar p { font-size: .92rem; }
  .pillar:hover, .pillar:nth-child(2):hover { transform: none; }
  /* 肯亞章節按鈕：換行置中，不要左右捲被切掉 */
  .kenya-chips { flex-wrap: wrap !important; justify-content: center !important; overflow: visible !important; }
  .kchip { padding: .5rem .85rem; min-height: 40px; }
  /* 點擊目標至少 40px */
  .amb-more { min-height: 42px; padding-inline: 1.1rem; }
  .join-report-link { min-height: 44px; }
  .friend-btn strong { font-size: .98rem; }
}
@media (max-width: 640px) { .mission-tail .signature { font-size: .9rem; text-align: center; text-wrap: balance; } }

/* ===== v1.39 英雄旅程：專案線標籤 ===== */
.jn-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem .5rem; }
.jn-line { display: inline-flex; align-items: center; padding: .12rem .6rem; border-radius: 999px; font-family: var(--font-display); font-size: .74rem; font-weight: 700; letter-spacing: .06em; line-height: 1.5; white-space: nowrap; }
.jn-line-story { background: var(--primary-soft); color: var(--primary); }
.jn-line-bridge { background: color-mix(in srgb, var(--accent) 14%, var(--surface)); color: var(--accent); }
.ch-numrow { display: flex; align-items: center; gap: .7rem; }
.ch-numrow .jn-line { font-size: .78rem; }
.head-line { display: flex; justify-content: center; margin-bottom: .5rem; }
.section-head.left .head-line { justify-content: flex-start; }
.head-line .jn-line { font-size: .8rem; padding: .18rem .75rem; }
.pillar:nth-child(-n+2) h3 .lz, .pillar:nth-child(-n+2) h3 .le { font-family: var(--font-display); letter-spacing: .02em; }
@media (min-width: 641px) { #mission .pillars { grid-template-columns: repeat(2, 1fr); max-width: 46rem; margin-inline: auto; } }

/* ===== v1.40 吉祥物小海獅介紹卡 ===== */
.mascot-card { display: grid; grid-template-columns: 220px 1fr; gap: clamp(1.2rem, 3vw, 2.4rem); align-items: center; max-width: 52rem; margin: clamp(2.4rem, 5vw, 3.4rem) auto 0; padding: clamp(1.4rem, 3vw, 2rem) clamp(1.4rem, 4vw, 2.4rem); background: linear-gradient(135deg, var(--surface), color-mix(in srgb, var(--highlight) 16%, var(--surface))); border: 1px solid var(--line); border-radius: calc(var(--radius) + 6px); box-shadow: var(--shadow-card); }
.mc-pic { display: grid; place-items: center; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--highlight) 40%, transparent), transparent 70%); }
.mc-pic img { width: 82%; height: auto; animation: floaty 3.2s ease-in-out infinite; filter: drop-shadow(0 10px 14px rgba(51,48,43,.18)); }
.mc-id { display: flex; align-items: center; flex-wrap: wrap; gap: .6rem; margin-bottom: .6rem; }
.mc-name { margin: 0; font-size: 1.6rem; }
.mc-intro { margin: 0 0 1rem; color: var(--ink); line-height: 1.85; }
.mascot-card .hc-stats { margin: 0; }
@media (max-width: 640px) {
  .mascot-card { grid-template-columns: 1fr; text-align: center; }
  .mc-pic { width: 160px; height: 160px; margin: 0 auto; }
  .mc-id { justify-content: center; }
  .mascot-card .hc-stats { text-align: left; }
}
@media (prefers-reduced-motion: reduce) { .mc-pic img { animation: none; } }
.mascot-card { --hc: var(--mustard); } .mascot-card .hc-class { margin-top: 0; }
.mc-name .lz { font-family: var(--font-display); letter-spacing: .03em; }
.hero-card .hc-stats { justify-content: center; }

/* ===== v1.41.3 頁尾社群圖示：品牌色實心圓、白色標誌 ===== */
.social a { border: 0; color: #fff; overflow: hidden; box-shadow: 0 3px 8px rgba(51,48,43,.14); }
.social a:hover { color: #fff; border-color: transparent; }
.social a.s-threads { background: #000; }
.social a.s-instagram { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%); }
.social a.s-penana { background: #FCDE11; }
.social a.s-penana img { width: 100%; height: 100%; border-radius: 0; display: block; object-fit: cover; }
.social a.s-mail { background: var(--primary); }
.social a svg { width: 19px; height: 19px; }
/* ===== v1.42 照片出處標註 ===== */
.photo-credit { position: absolute; right: 8px; bottom: 6px; z-index: 2; max-width: calc(100% - 16px); font-size: .66rem; line-height: 1.3; letter-spacing: .02em; text-align: right; color: rgba(255,255,255,.92); text-shadow: 0 1px 3px rgba(0,0,0,.75); pointer-events: none; }
.pola .photo-credit { position: absolute; left: 6px; right: 6px; bottom: 6px; max-width: none; font-size: .52rem; text-align: center; color: var(--ink-soft); text-shadow: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lb-credit { display: block; margin-top: .35rem; font-size: .78rem; opacity: .75; }
.big-pic .photo-credit { right: 14px; bottom: 10px; z-index: 3; }
.polas-credit { display: none; }
.ch-collage > .photo-credit { left: 10px; right: auto; text-align: left; max-width: 45%; }
@media (max-width: 1100px) and (min-width: 761px) { .pola { padding-bottom: 28px; } .pola .photo-credit { white-space: normal; font-size: .5rem; line-height: 1.25; } }
@media (max-width: 760px) {
  .hero-polas { flex-wrap: wrap; }
  .pola .photo-credit { display: none; }
  .polas-credit { display: block; flex-basis: 100%; margin-top: .5rem; text-align: center; font-size: .7rem; color: var(--ink-soft); }
}
/* v1.42.1 出處標註淡化：拍立得像鉛筆小註、照片上的白字更輕 */
.photo-credit { font-size: .6rem; letter-spacing: .06em; color: rgba(255,255,255,.72); text-shadow: 0 1px 2px rgba(0,0,0,.45); font-weight: 400; }
.pola .photo-credit, .polas-credit { font-family: "Noto Serif TC", serif; font-weight: 500; color: #B9AF9F; letter-spacing: .14em; }
.pola .photo-credit { font-size: .5rem; bottom: 8px; }
@media (max-width: 760px) { .polas-credit { font-size: .66rem; color: #ADA393; margin-top: .65rem; } }
.pola .photo-credit { letter-spacing: .05em; left: 4px; right: 4px; text-overflow: clip; }
