/* =====================================================
   台南市幸福方舟協會 — 全站樣式 v2
   風格：大膽編輯感、全出血影像、強層次排版
   ===================================================== */

@font-face {
  font-family: 'JF Open Huninn';
  src: url('../fonts/jf-openhuninn.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

:root {
  --stone:      #D1D1C7;
  --brick:      #A0483E;
  --gold:       #C5A059;
  --ink:        #1A1410;
  --ash:        #5C5247;
  --cream:      #F4EFE6;
  --warm-white: #FAFAF6;
  --brick-dark: #7A3530;
  --gold-light: #D4B577;
  --stone-mid:  #B5B5AA;
  --font: 'JF Open Huninn', 'Noto Sans TC', sans-serif;
  --nav-h: 72px;
  --max-w: 1280px;
  --r: 4px;
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--warm-white);
  color: var(--ink);
  line-height: 1.75;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

body::after {
  content: '';
  position: fixed; inset: 0;
  pointer-events: none; z-index: 9999;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.88' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23g)' opacity='0.45'/%3E%3C/svg%3E");
  opacity: 0.035;
  mix-blend-mode: multiply;
}

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 32px; }
.container--narrow { max-width: 860px; margin: 0 auto; padding: 0 32px; }

.img-film { filter: saturate(0.75) contrast(1.06) brightness(0.94); transition: filter 0.5s var(--ease); }
.img-film:hover { filter: saturate(0.88) contrast(1.05) brightness(0.97); }

.film-grain { position: relative; }
.film-grain::after {
  content: '';
  position: absolute; inset: 0; z-index: 2;
  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.90' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  opacity: 0.07; mix-blend-mode: overlay; pointer-events: none;
}

/* ── Nav ── */
.nav { position: fixed; top: 0; left: 0; right: 0; height: var(--nav-h); z-index: 1000; transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease); }
.nav--transparent { background: transparent; }
.nav--solid { background: rgba(26,20,16,0.97); backdrop-filter: blur(16px); box-shadow: 0 1px 0 rgba(255,255,255,0.06); }
.nav__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.nav__logo { display: flex; align-items: center; gap: 12px; color: white; }
.nav__logo-mark { width: 40px; height: 40px; background: var(--brick); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; flex-shrink: 0; transition: background 0.25s; }
.nav__logo:hover .nav__logo-mark { background: var(--brick-dark); }
.nav__logo-name { font-size: 0.98rem; line-height: 1.25; color: rgba(255,255,255,0.92); }
.nav__logo-sub  { font-size: 0.65rem; color: rgba(255,255,255,0.42); letter-spacing: 0.1em; display: block; }
.nav__links { display: flex; align-items: center; gap: 2px; }
.nav__links a { padding: 7px 16px; font-size: 0.9rem; color: rgba(255,255,255,0.72); border-radius: var(--r); transition: color 0.22s, background 0.22s; position: relative; }
.nav__links a:hover, .nav__links a.active { color: rgba(255,255,255,0.98); }
.nav__links a.active::after { content: ''; position: absolute; bottom: 2px; left: 16px; right: 16px; height: 2px; background: var(--gold); border-radius: 1px; }
.nav__cta { background: var(--brick) !important; color: white !important; padding: 8px 20px !important; margin-left: 8px; }
.nav__cta:hover { background: var(--brick-dark) !important; }
.nav__cta::after { display: none !important; }
.nav__toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.nav__toggle span { width: 24px; height: 2px; background: white; border-radius: 2px; display: block; transition: all 0.28s var(--ease); }

/* ── Hero ── */
.hero { position: relative; height: 100vh; min-height: 620px; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.6) contrast(1.08) brightness(0.68); transform: scale(1.04); transition: transform 7s var(--ease); }
.hero:hover .hero__bg img { transform: scale(1.0); }
.hero__bg::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(to bottom, rgba(26,20,16,0.15) 0%, rgba(26,20,16,0.02) 30%, rgba(26,20,16,0.7) 75%, rgba(26,20,16,0.94) 100%); }
.hero__bg::after { content: ''; position: absolute; inset: 0; z-index: 2; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='250' height='250'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.86' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='250' height='250' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E"); opacity: 0.07; mix-blend-mode: overlay; pointer-events: none; }
.hero__content { position: relative; z-index: 3; padding: 0 0 80px; }
.hero__kicker { display: inline-flex; align-items: center; gap: 10px; font-size: 0.72rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 22px; }
.hero__kicker::before { content: ''; width: 32px; height: 1px; background: var(--gold-light); }
.hero__title { font-size: clamp(2.8rem, 7vw, 6rem); color: white; line-height: 1.1; letter-spacing: -0.01em; margin-bottom: 28px; font-weight: normal; max-width: 800px; }
.hero__title strong { color: var(--gold-light); font-weight: normal; display: block; }
.hero__desc { font-size: 1.05rem; color: rgba(255,255,255,0.7); max-width: 460px; line-height: 1.85; margin-bottom: 40px; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__scroll { position: absolute; bottom: 28px; right: 32px; z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 6px; color: rgba(255,255,255,0.35); font-size: 0.65rem; letter-spacing: 0.2em; text-transform: uppercase; writing-mode: vertical-rl; }
.hero__scroll::before { content: ''; width: 1px; height: 48px; background: linear-gradient(to bottom, rgba(255,255,255,0.5), rgba(255,255,255,0)); animation: scrollLine 2s ease-in-out infinite; }
@keyframes scrollLine { 0%{transform:scaleY(0);transform-origin:top} 50%{transform:scaleY(1);transform-origin:top} 51%{transform:scaleY(1);transform-origin:bottom} 100%{transform:scaleY(0);transform-origin:bottom} }

/* ── Buttons ── */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 32px; font-family: var(--font); font-size: 0.92rem; border-radius: var(--r); cursor: pointer; border: 1.5px solid transparent; transition: all 0.26s var(--ease); letter-spacing: 0.03em; line-height: 1; }
.btn-sm { padding: 10px 22px; font-size: 0.84rem; }
.btn--brick { background: var(--brick); color: white; border-color: var(--brick); }
.btn--brick:hover { background: var(--brick-dark); border-color: var(--brick-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(160,72,62,0.38); }
.btn--outline-w { background: transparent; color: white; border-color: rgba(255,255,255,0.55); }
.btn--outline-w:hover { border-color: white; background: rgba(255,255,255,0.1); transform: translateY(-2px); }
.btn--outline-b { background: transparent; color: var(--brick); border-color: var(--brick); }
.btn--outline-b:hover { background: var(--brick); color: white; transform: translateY(-2px); }
.btn--gold { background: var(--gold); color: white; border-color: var(--gold); }
.btn--gold:hover { background: #b08c48; border-color: #b08c48; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(197,160,89,0.36); }
.btn--white { background: white; color: var(--brick); border-color: white; }
.btn--white:hover { background: var(--cream); border-color: var(--cream); transform: translateY(-2px); }

/* ── 排版 ── */
.label { display: inline-flex; align-items: center; gap: 8px; font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.label::before { content: ''; width: 24px; height: 2px; background: var(--gold); border-radius: 1px; }
.label--w { color: rgba(255,255,255,0.55); }
.label--w::before { background: rgba(255,255,255,0.4); }

.display-title { font-size: clamp(2rem, 4.5vw, 3.4rem); color: var(--ink); line-height: 1.18; font-weight: normal; letter-spacing: -0.01em; }
.display-title em { color: var(--brick); font-style: normal; }
.display-title--w { color: white; }

.rule { width: 48px; height: 3px; background: var(--gold); border-radius: 2px; margin: 20px 0 32px; }
.rule--center { margin-left: auto; margin-right: auto; }

/* ── 統計帶 ── */
.stat-band { background: var(--ink); padding: 56px 0; }
.stat-band__grid { display: grid; grid-template-columns: repeat(4,1fr); }
.stat-item { padding: 0 40px; border-right: 1px solid rgba(255,255,255,0.08); text-align: center; }
.stat-item:first-child { padding-left: 0; text-align: left; }
.stat-item:last-child  { border-right: none; padding-right: 0; text-align: right; }
.stat-item__num { font-size: clamp(2.4rem,4vw,3.8rem); color: var(--gold-light); line-height: 1; margin-bottom: 10px; letter-spacing: -0.02em; }
.stat-item__num sup { font-size: 0.45em; vertical-align: super; }
.stat-item__label { font-size: 0.8rem; color: rgba(255,255,255,0.42); letter-spacing: 0.06em; }

/* ── 服務大版型 ── */
.svc-mosaic { margin-top: 56px; }
.svc-row { display: grid; gap: 3px; margin-bottom: 3px; }
.svc-row--1 { grid-template-columns: 1.15fr 0.85fr; }
.svc-row--2 { grid-template-columns: 1fr 1fr 1fr; }

.svc-card { position: relative; overflow: hidden; cursor: pointer; }
.svc-card__img { overflow: hidden; }
.svc-card--lg .svc-card__img { height: 520px; }
.svc-card--md .svc-card__img { height: 520px; }
.svc-card--sm .svc-card__img { height: 280px; }
.svc-card__img img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.68) contrast(1.08) brightness(0.72); transition: filter 0.55s var(--ease), transform 0.55s var(--ease); }
.svc-card:hover .svc-card__img img { filter: saturate(0.82) contrast(1.05) brightness(0.82); transform: scale(1.05); }
.svc-card__overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(26,20,16,0.9) 0%, rgba(26,20,16,0.08) 55%); transition: background 0.45s; }
.svc-card:hover .svc-card__overlay { background: linear-gradient(to top, rgba(26,20,16,0.95) 0%, rgba(26,20,16,0.14) 55%); }
.svc-card__grain { position: absolute; inset: 0; z-index: 2; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.92' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E"); opacity: 0.06; mix-blend-mode: overlay; pointer-events: none; }
.svc-card__body { position: absolute; bottom: 0; left: 0; right: 0; padding: 32px; z-index: 3; }
.svc-card--lg .svc-card__body { padding: 44px; }
.svc-card__icon { font-size: 1.5rem; margin-bottom: 8px; display: block; }
.svc-card__tag { display: inline-block; font-size: 0.67rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 6px; }
.svc-card__title { font-size: 1.3rem; color: white; font-weight: normal; line-height: 1.3; margin-bottom: 8px; transition: color 0.25s; }
.svc-card--lg .svc-card__title { font-size: 1.75rem; }
.svc-card--sm .svc-card__title { font-size: 1.05rem; }
.svc-card:hover .svc-card__title { color: var(--gold-light); }
.svc-card__desc { font-size: 0.85rem; color: rgba(255,255,255,0.62); line-height: 1.72; margin-top: 6px; max-height: 0; overflow: hidden; opacity: 0; transition: max-height 0.45s var(--ease), opacity 0.3s; }
.svc-card--lg .svc-card__desc { max-height: 120px; opacity: 1; }
.svc-card:hover .svc-card__desc { max-height: 100px; opacity: 1; }
.svc-arrow { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-size: 0.82rem; color: var(--gold-light); opacity: 0; transform: translateY(8px); transition: all 0.3s var(--ease); }
.svc-card--lg .svc-arrow, .svc-card:hover .svc-arrow { opacity: 1; transform: translateY(0); }

/* ── 消息編輯排版 ── */
.news-editorial { margin-top: 52px; }
.news-editorial__main { display: grid; grid-template-columns: 1.35fr 1fr; gap: 24px; margin-bottom: 24px; }
.news-editorial__row  { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }

/* Hero news card */
.nhc { background: white; border-radius: var(--r); overflow: hidden; border: 1px solid rgba(209,209,199,0.45); cursor: pointer; transition: box-shadow 0.3s var(--ease), transform 0.3s var(--ease); }
.nhc:hover { transform: translateY(-5px); box-shadow: 0 20px 52px rgba(26,20,16,0.12); }
.nhc__img { overflow: hidden; }
.nhc--featured .nhc__img { height: 320px; }
.nhc--secondary .nhc__img { height: 220px; }
.nhc__img img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.76) contrast(1.04) brightness(0.93); transition: transform 0.5s var(--ease), filter 0.4s; }
.nhc:hover .nhc__img img { transform: scale(1.05); filter: saturate(0.86) contrast(1.03) brightness(0.96); }
.nhc__body { padding: 24px; }
.nhc__tag { display: inline-block; padding: 2px 10px; background: rgba(160,72,62,0.1); color: var(--brick); font-size: 0.7rem; letter-spacing: 0.08em; border-radius: 2px; margin-bottom: 10px; }
.nhc__title { font-size: 1.1rem; color: var(--ink); font-weight: normal; line-height: 1.48; margin-bottom: 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; transition: color 0.22s; }
.nhc--featured .nhc__title { font-size: 1.3rem; -webkit-line-clamp: 3; }
.nhc:hover .nhc__title { color: var(--brick); }
.nhc__excerpt { font-size: 0.85rem; color: var(--ash); line-height: 1.78; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 12px; }
.nhc--featured .nhc__excerpt { -webkit-line-clamp: 3; }
.nhc__meta { display: flex; justify-content: space-between; font-size: 0.76rem; color: var(--stone-mid); }

/* ── CTA 全寬 ── */
.cta-full { position: relative; overflow: hidden; padding: 96px 0; background: var(--brick); }
.cta-full::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 70% 90% at 85% 50%, rgba(197,160,89,0.22) 0%, transparent 60%); }
.cta-full::after { content: ''; position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80'%3E%3Ccircle cx='40' cy='40' r='38' fill='none' stroke='rgba(255,255,255,0.03)' stroke-width='1'/%3E%3C/svg%3E") repeat; background-size: 80px 80px; }
.cta-full__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 48px; }
.cta-full__title { font-size: clamp(1.7rem,3.2vw,2.6rem); color: white; font-weight: normal; line-height: 1.25; }
.cta-full__sub { font-size: 0.95rem; color: rgba(255,255,255,0.68); margin-top: 10px; }
.cta-full__btns { display: flex; gap: 12px; flex-shrink: 0; flex-wrap: wrap; }

/* ── 關於 ── */
.about-hero-img { position: relative; width: 100%; height: 560px; overflow: hidden; }
.about-hero-img img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.7) contrast(1.06) brightness(0.75); }
.about-hero-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to bottom, transparent 40%, rgba(26,20,16,0.65) 100%); }

.about-split { padding: 100px 0; }
.about-split__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-img-stack { position: relative; }
.about-img-stack__main { position: relative; border-radius: var(--r); overflow: hidden; z-index: 1; box-shadow: 0 24px 64px rgba(26,20,16,0.18); }
.about-img-stack__main img { width: 100%; height: 440px; object-fit: cover; filter: saturate(0.72) contrast(1.06) brightness(0.9); }
.about-img-stack__deco { position: absolute; top: -18px; right: -18px; width: 55%; aspect-ratio: 1/1; border: 2px solid rgba(197,160,89,0.28); border-radius: var(--r); z-index: 0; }
.about-img-stack__badge { position: absolute; bottom: -18px; right: -18px; background: var(--brick); color: white; padding: 18px 22px; border-radius: var(--r); z-index: 2; text-align: center; box-shadow: 0 8px 28px rgba(160,72,62,0.35); }
.about-img-stack__badge .num { font-size: 2rem; line-height: 1; }
.about-img-stack__badge .txt { font-size: 0.75rem; color: rgba(255,255,255,0.75); margin-top: 4px; }

.about-values { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 28px; }
.av-item { display: flex; gap: 10px; padding: 14px; background: var(--cream); border-radius: var(--r); border: 1px solid rgba(209,209,199,0.6); align-items: flex-start; font-size: 0.87rem; color: var(--ash); transition: border-color 0.25s, box-shadow 0.25s; }
.av-item:hover { border-color: rgba(197,160,89,0.5); box-shadow: 0 4px 14px rgba(26,20,16,0.06); }
.av-item__icon { width: 30px; height: 30px; border-radius: 6px; background: rgba(197,160,89,0.14); display: flex; align-items: center; justify-content: center; font-size: 0.95rem; flex-shrink: 0; }

/* ── 頁面 Banner ── */
.page-banner { position: relative; padding: calc(var(--nav-h) + 68px) 0 76px; background: var(--ink); overflow: hidden; }
.page-banner__bg { position: absolute; inset: 0; }
.page-banner__bg img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.5) contrast(1.1) brightness(0.38); }
.page-banner__bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(26,20,16,0.72) 0%, rgba(160,72,62,0.28) 100%); }
.page-banner__content { position: relative; z-index: 1; }
.page-banner__breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 0.74rem; color: rgba(255,255,255,0.4); margin-bottom: 20px; }
.page-banner__breadcrumb a:hover { color: var(--gold-light); }
.page-banner__title { font-size: clamp(2rem,5vw,3.8rem); color: white; font-weight: normal; line-height: 1.15; margin-bottom: 16px; }
.page-banner__desc { font-size: 1rem; color: rgba(255,255,255,0.62); max-width: 540px; line-height: 1.85; }

/* ── 服務詳情 ── */
.service-block { padding: 80px 0; border-bottom: 1px solid rgba(209,209,199,0.5); }
.service-block:last-child { border-bottom: none; }
.service-block__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.service-block__grid.reverse { direction: rtl; }
.service-block__grid.reverse > * { direction: ltr; }
.service-block__img { position: relative; border-radius: var(--r); overflow: hidden; box-shadow: 0 16px 48px rgba(26,20,16,0.14); }
.service-block__img img { width: 100%; height: 340px; object-fit: cover; filter: saturate(0.74) contrast(1.05) brightness(0.9); }
.service-block__num { position: absolute; top: 20px; right: 20px; font-size: 6rem; color: rgba(255,255,255,0.1); line-height: 1; font-weight: normal; z-index: 1; }
.service-block__title { font-size: 1.7rem; color: var(--ink); font-weight: normal; margin-bottom: 14px; line-height: 1.3; }
.service-block__desc { color: var(--ash); font-size: 0.93rem; line-height: 2; margin-bottom: 22px; }
.sf-list { display: flex; flex-direction: column; gap: 9px; margin-bottom: 26px; }
.sf-item { display: flex; align-items: center; gap: 10px; font-size: 0.88rem; color: var(--ash); }
.sf-item::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); flex-shrink: 0; }

/* ── 消息頁 ── */
.news-page-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; margin-top: 40px; }
.nc { background: var(--warm-white); border-radius: var(--r); overflow: hidden; border: 1px solid rgba(209,209,199,0.5); transition: all 0.3s var(--ease); cursor: pointer; }
.nc:hover { transform: translateY(-6px); box-shadow: 0 16px 48px rgba(26,20,16,0.12); border-color: rgba(197,160,89,0.35); }
.nc__img { aspect-ratio: 16/9; overflow: hidden; }
.nc__img img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.76) contrast(1.04) brightness(0.93); transition: transform 0.5s var(--ease), filter 0.4s; }
.nc:hover .nc__img img { transform: scale(1.06); filter: saturate(0.86) contrast(1.03) brightness(0.97); }
.nc__body { padding: 22px; }
.nc__tag { display: inline-block; padding: 2px 10px; background: rgba(160,72,62,0.1); color: var(--brick); font-size: 0.7rem; letter-spacing: 0.08em; border-radius: 2px; margin-bottom: 10px; }
.nc__title { font-size: 1rem; color: var(--ink); font-weight: normal; line-height: 1.5; margin-bottom: 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; transition: color 0.22s; }
.nc:hover .nc__title { color: var(--brick); }
.nc__excerpt { font-size: 0.85rem; color: var(--ash); line-height: 1.75; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 14px; }
.nc__meta { display: flex; justify-content: space-between; font-size: 0.76rem; color: var(--stone-mid); }

.filter-bar { display: flex; gap: 8px; flex-wrap: wrap; }
.filter-pill { padding: 6px 18px; border: 1px solid rgba(209,209,199,0.8); border-radius: 30px; font-family: var(--font); font-size: 0.83rem; color: var(--ash); background: transparent; cursor: pointer; transition: all 0.22s; }
.filter-pill:hover { border-color: var(--brick); color: var(--brick); }
.filter-pill.active { background: var(--brick); border-color: var(--brick); color: white; }

/* ── 任務卡 ── */
.mission-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: 52px; }
.mc { background: var(--warm-white); border-radius: var(--r); padding: 32px; border: 1px solid rgba(209,209,199,0.5); border-top: 3px solid var(--gold); transition: all 0.28s var(--ease); }
.mc:hover { transform: translateY(-5px); box-shadow: 0 16px 48px rgba(26,20,16,0.1); border-top-color: var(--brick); }
.mc__icon { font-size: 1.8rem; margin-bottom: 16px; }
.mc__title { font-size: 1.05rem; color: var(--ink); font-weight: normal; margin-bottom: 10px; }
.mc__desc  { font-size: 0.87rem; color: var(--ash); line-height: 1.85; }

/* ── 會員表 ── */
.membership-table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
.membership-table th { background: var(--ink); color: rgba(255,255,255,0.72); padding: 14px 20px; font-weight: normal; font-size: 0.8rem; text-align: left; }
.membership-table td { padding: 14px 20px; border-bottom: 1px solid rgba(209,209,199,0.6); color: var(--ash); }
.membership-table tr:hover td { background: rgba(242,237,227,0.5); }
.membership-table tr:last-child td { border-bottom: none; }

/* ── 捐款 ── */
.donate-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.donate-box { background: var(--warm-white); border-radius: var(--r); border: 1px solid rgba(209,209,199,0.7); overflow: hidden; }
.donate-box__head { background: var(--ink); padding: 22px 28px; display: flex; align-items: center; gap: 10px; }
.donate-box__head h3 { color: var(--gold-light); font-size: 1rem; font-weight: normal; }
.d-row { display: flex; justify-content: space-between; align-items: center; padding: 14px 28px; border-bottom: 1px solid rgba(209,209,199,0.6); font-size: 0.9rem; }
.d-row:last-child { border-bottom: none; }
.d-row .lbl { color: var(--ash); }
.d-row .val { color: var(--ink); }

.impact-band { background: var(--ink); padding: 56px 0; }
.impact-band__grid { display: grid; grid-template-columns: repeat(4,1fr); text-align: center; }
.impact-band__item { padding: 0 32px; border-right: 1px solid rgba(255,255,255,0.08); }
.impact-band__item:last-child { border-right: none; }
.impact-band__num { font-size: 2.4rem; color: var(--gold-light); line-height: 1; margin-bottom: 8px; }
.impact-band__lbl { font-size: 0.78rem; color: rgba(255,255,255,0.4); letter-spacing: 0.06em; }

.cf-group { display: flex; flex-direction: column; gap: 5px; margin-bottom: 14px; }
.cf-group label { font-size: 0.82rem; color: var(--ash); }
.cf-group input, .cf-group textarea, .cf-group select { padding: 12px 14px; border: 1px solid rgba(209,209,199,0.9); border-radius: var(--r); font-family: var(--font); font-size: 0.9rem; color: var(--ink); background: white; outline: none; transition: border-color 0.22s; }
.cf-group input:focus, .cf-group textarea:focus, .cf-group select:focus { border-color: var(--gold); }
.cf-group textarea { resize: vertical; min-height: 110px; }

/* ── 頁尾 ── */
.footer { background: #120E0B; padding: 64px 0 0; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.1fr; gap: 48px; padding-bottom: 56px; border-bottom: 1px solid rgba(255,255,255,0.07); }
.footer__brand p { font-size: 0.85rem; color: rgba(255,255,255,0.4); line-height: 1.85; max-width: 280px; margin-top: 14px; }
.footer__col-title { font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; display: block; }
.footer__col ul { display: flex; flex-direction: column; gap: 10px; }
.footer__col ul li a { font-size: 0.85rem; color: rgba(255,255,255,0.42); transition: color 0.22s; }
.footer__col ul li a:hover { color: rgba(255,255,255,0.85); }
.footer__contact-item { display: flex; align-items: flex-start; gap: 10px; font-size: 0.85rem; color: rgba(255,255,255,0.4); margin-bottom: 12px; }
.footer__contact-item .ci { color: var(--gold); flex-shrink: 0; }
.footer__bottom { padding: 20px 0; display: flex; justify-content: space-between; align-items: center; font-size: 0.76rem; color: rgba(255,255,255,0.22); flex-wrap: wrap; gap: 10px; }
.footer__bottom a { color: rgba(255,255,255,0.32); transition: color 0.22s; }
.footer__bottom a:hover { color: var(--gold); }

/* ── 動畫 ── */
.fade-up { opacity: 0; transform: translateY(28px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.fade-up.in { opacity: 1; transform: translateY(0); }
.fade-up:nth-child(2) { transition-delay: 0.1s; }
.fade-up:nth-child(3) { transition-delay: 0.18s; }
.fade-up:nth-child(4) { transition-delay: 0.26s; }

/* ── RWD ── */
@media (max-width: 1100px) {
  .svc-row--1 { grid-template-columns: 1fr; }
  .svc-row--2 { grid-template-columns: 1fr 1fr; }
  .svc-card--lg .svc-card__img, .svc-card--md .svc-card__img { height: 380px; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .news-editorial__main { grid-template-columns: 1fr; }
  .news-editorial__row { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .stat-band__grid { grid-template-columns: 1fr 1fr; }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); padding: 24px 0; text-align: left; }
  .stat-item:last-child { border-bottom: none; }
  .cta-full__inner { grid-template-columns: 1fr; }
  .about-split__grid { grid-template-columns: 1fr; gap: 48px; }
  .service-block__grid { grid-template-columns: 1fr; }
  .service-block__grid.reverse { direction: ltr; }
  .mission-cards { grid-template-columns: 1fr 1fr; }
  .donate-layout { grid-template-columns: 1fr; }
  .impact-band__grid { grid-template-columns: 1fr 1fr; }
  .news-page-grid { grid-template-columns: 1fr 1fr; }
  .about-values { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .container, .container--narrow { padding: 0 20px; }
  .hero__title { font-size: 2.6rem; }
  .hero__desc { display: none; }
  .svc-row--2 { grid-template-columns: 1fr; }
  .nav__links { display: none; }
  .nav__toggle { display: flex; }
  .nav__links.open { display: flex; flex-direction: column; position: fixed; top: var(--nav-h); left: 0; right: 0; background: rgba(26,20,16,0.98); padding: 16px 20px; gap: 2px; border-top: 1px solid rgba(255,255,255,0.06); z-index: 999; }
  .nav__links.open a { color: rgba(255,255,255,0.72); padding: 11px 14px; }
  .nav__links.open a:hover { color: white; background: rgba(255,255,255,0.05); border-radius: var(--r); }
  .news-editorial__row { grid-template-columns: 1fr; }
  .mission-cards { grid-template-columns: 1fr; }
  .impact-band__grid { grid-template-columns: 1fr 1fr; }
  .news-page-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 24px; }
  .footer__brand p { max-width: 100%; }
}
@media (max-width: 520px) {
  .hero__title { font-size: 2rem; }
  .stat-band__grid { grid-template-columns: 1fr 1fr; }
  .impact-band__grid { grid-template-columns: 1fr 1fr; }
}

.section-pad { padding: 100px 0; }
.section-pad--sm { padding: 64px 0; }
.bg-cream { background: var(--cream); }
.text-center { text-align: center; }
