/* ============================================================
   香港咖啡培訓及服務公益協會 — Revamp stylesheet
   Palette & type derived from the Claude Design "Coffee Hero".
   ============================================================ */

:root {
  /* colour */
  --espresso:   #1c100a;
  --espresso-2: #140b06;
  --espresso-3: #2a1a10;
  --cream:      #f6f1e7;
  --cream-2:    #f4eee2;
  --cream-3:    #efe6d4;
  --paper:      #fbf8f1;
  --green:      #009040;
  --green-d:    #057a38;
  --green-deep: #04692f; /* AA-contrast green for text on light-green fills */
  --green-a:    #0aa14a;
  --green-b:    #017a36;
  --mint:       #7ee0a3;
  --mint-2:     #62c890;
  --ink:        #2c1d12;
  --ink-2:      #5b4a3a;
  --ink-3:      #806b54;
  --line:       #e4d8c2;
  --gold:       #d8b478;

  /* type */
  --serif: 'Noto Serif TC', 'Songti TC', serif;
  --sans:  'Noto Sans TC', -apple-system, BlinkMacSystemFont, 'PingFang HK', sans-serif;
  --ital:  'Newsreader', Georgia, serif;
  --latin: 'Plus Jakarta Sans', var(--sans);

  /* layout */
  --maxw: 1200px;
  --pad: clamp(20px, 5vw, 56px);
  --radius: 18px;
  --shadow-sm: 0 6px 18px rgba(40,29,18,.08);
  --shadow-md: 0 18px 44px rgba(40,29,18,.14);
  --shadow-lg: 0 28px 70px rgba(20,12,6,.30);
  --ease: cubic-bezier(.2,.7,.2,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1,h2,h3,h4 { margin: 0; font-weight: 700; letter-spacing: .01em; }
::selection { background: var(--green); color: #fff; }

/* keyboard focus visibility (WCAG 2.4.7) — green on light areas, mint on dark areas */
:focus-visible { outline: 3px solid var(--green-d); outline-offset: 3px; border-radius: 5px; }
.site-header :focus-visible, .hero :focus-visible, .mobile-menu :focus-visible,
.mission :focus-visible, .courses :focus-visible, .cta-band :focus-visible,
.site-footer :focus-visible { outline-color: var(--mint); }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-inline: var(--pad); }

/* ---------- shared bits ---------- */
.kicker {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--latin); font-size: 12.5px; font-weight: 700;
  letter-spacing: .22em; text-transform: uppercase; color: var(--green-d);
}
.kicker::before { content:""; width: 24px; height: 2px; background: var(--green); border-radius: 2px; }
.kicker-light { color: var(--mint); }
.kicker-light::before { background: var(--mint); }

.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-title {
  font-family: var(--serif); font-weight: 700;
  font-size: clamp(28px, 4vw, 46px); line-height: 1.18; color: var(--ink);
  margin-top: 16px; text-wrap: balance;
}
.section-sub { margin-top: 16px; font-size: clamp(15px,1.4vw,18px); color: var(--ink-2); max-width: 56ch; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--sans); font-weight: 700; font-size: 15.5px;
  padding: 15px 28px; border-radius: 999px; text-decoration: none;
  border: 1.6px solid transparent; cursor: pointer; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s;
  white-space: nowrap;
}
.btn .btn-sub { font-weight: 500; font-size: 12.5px; opacity: .8; }
.btn svg { transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn-primary { background: var(--green-d); color: #fff; box-shadow: 0 12px 28px rgba(0,144,64,.34); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(0,144,64,.42); background: #046b31; }
.btn-on-light { box-shadow: 0 10px 24px rgba(0,144,64,.22); }
.btn-ghost { background: rgba(246,241,231,.10); color: var(--cream); border-color: rgba(246,241,231,.5); backdrop-filter: blur(4px); }
.btn-ghost:hover { background: rgba(246,241,231,.2); transform: translateY(-2px); }
.btn-cream { background: var(--cream); color: var(--espresso); box-shadow: var(--shadow-md); }
.btn-cream:hover { transform: translateY(-2px); }
.btn-outline-cream { background: transparent; color: var(--cream); border-color: rgba(246,241,231,.55); }
.btn-outline-cream:hover { background: rgba(246,241,231,.12); }
.btn-block { width: 100%; justify-content: center; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background .35s var(--ease), box-shadow .35s var(--ease), padding .35s var(--ease);
  padding: 8px 0;
}
.site-header.scrolled,
.site-header--solid {
  background: rgba(20,11,6,.82);
  backdrop-filter: blur(14px) saturate(1.1);
  box-shadow: 0 10px 30px rgba(12,7,3,.35);
}
.header-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 14px var(--pad);
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.brand { display: flex; align-items: center; gap: 13px; text-decoration: none; }
.brand-mark { height: 46px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-zh { font-family: var(--serif); font-weight: 700; font-size: 16px; color: var(--cream); letter-spacing: .04em; white-space: nowrap; }
.brand-en { font-family: var(--latin); font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: rgba(246,241,231,.62); white-space: nowrap; }

.nav { display: flex; align-items: center; gap: 32px; }
.nav a {
  font-size: 15px; font-weight: 500; color: rgba(246,241,231,.9); text-decoration: none;
  letter-spacing: .02em; position: relative; padding: 4px 0; white-space: nowrap;
}
/* English labels run longer than the Chinese ones — tighten the gap a touch */
html[lang="en"] .nav { gap: 26px; }
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px;
  background: var(--mint); border-radius: 2px; transition: width .3s var(--ease);
}
.nav a:hover { color: #fff; }
.nav a:hover::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 14px; }
.btn-login {
  font-size: 14px; font-weight: 700; color: var(--espresso); background: var(--cream);
  padding: 10px 19px; border-radius: 999px; text-decoration: none; transition: transform .25s var(--ease), background .25s;
}
.btn-login:hover { transform: translateY(-1px); background: #fff; }

.nav-toggle { display: none; width: 44px; height: 44px; border: none; background: transparent; cursor: pointer; padding: 10px; }
.nav-toggle span { display: block; height: 2px; background: var(--cream); border-radius: 2px; margin: 4px 0; transition: transform .3s var(--ease), opacity .3s; }
body.menu-open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
body.menu-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.menu-open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 45; background: rgba(20,11,6,.97);
  backdrop-filter: blur(10px); display: flex; align-items: flex-start; justify-content: center;
  padding: clamp(76px, 13vh, 130px) 20px 32px; overflow-y: auto;
  opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility .35s;
}
body.menu-open .mobile-menu { opacity: 1; visibility: visible; }
.mobile-menu nav { display: flex; flex-direction: column; gap: 8px; text-align: center; }
.mobile-menu a { font-family: var(--serif); font-size: 26px; font-weight: 600; color: var(--cream); text-decoration: none; padding: 10px; }
.mobile-menu a:hover { color: var(--mint); }
.mobile-menu .mm-cta { margin-top: 16px; color: var(--mint); font-family: var(--sans); font-size: 18px; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; width: 100%; height: 100vh; height: 100svh; min-height: 600px; max-height: 1000px;
  overflow: hidden; background: var(--espresso);
}
@media (max-height: 560px), (orientation: landscape) and (max-height: 600px) {
  .hero { height: auto; min-height: 460px; }
}
.hero-stack { position: absolute; inset: 0; z-index: 0; }
.hero-slide {
  position: absolute; inset: 0; background-size: cover; background-position: 58% center;
  opacity: 0; transform: scale(1.04); transition: opacity 1.4s ease-in-out;
  will-change: opacity, transform;
}
.hero-slide:first-child { opacity: 1; }              /* no-JS: first slide visible (also the LCP frame) */
.js .hero-slide:not(.is-active) { opacity: 0; }      /* with JS: only the active slide shows */
.hero-slide.is-active { opacity: 1; z-index: 1; animation: kenburns 7.2s ease-out forwards; }
@keyframes kenburns { from { transform: scale(1.02); } to { transform: scale(1.14); } }

.hero-overlay { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.hero-overlay-1 { background: linear-gradient(100deg, rgba(20,11,6,.92) 0%, rgba(20,11,6,.70) 38%, rgba(20,11,6,.36) 72%, rgba(20,11,6,.48) 100%); }
.hero-overlay-2 { background: linear-gradient(0deg, rgba(0,144,64,.22) 0%, rgba(20,11,6,0) 36%); }
.hero-vignette  { box-shadow: inset 0 0 240px 50px rgba(12,7,3,.55); }

.hero-content {
  position: absolute; z-index: 3; left: var(--pad); right: var(--pad); top: 0; bottom: 0;
  display: flex; flex-direction: column; justify-content: center; max-width: 760px;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 9px; align-self: flex-start;
  font-family: var(--latin); font-size: 13px; font-weight: 700; letter-spacing: .18em;
  text-transform: uppercase; color: var(--mint);
}
.eyebrow-line { display: inline-block; width: 26px; height: 2px; background: var(--green); }
.hero-title {
  font-family: var(--serif); font-weight: 900; font-size: clamp(46px, 6.6vw, 104px);
  line-height: 1.04; color: var(--cream); letter-spacing: .02em; margin-top: 22px;
  text-shadow: 0 2px 34px rgba(0,0,0,.4);
}
.hero-subtitle { font-family: var(--ital); font-style: italic; font-weight: 500; font-size: clamp(22px, 2.6vw, 38px); color: var(--mint); margin-top: 18px; }
.hero-desc { font-size: clamp(15px, 1.4vw, 19px); line-height: 1.78; color: rgba(246,241,231,.86); max-width: 540px; margin-top: 24px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 38px; }

.hero-dots { position: absolute; z-index: 3; left: var(--pad); bottom: 38px; display: flex; align-items: center; gap: 11px; }
.hero-dots button { position: relative; width: 9px; height: 9px; padding: 0; border: none; border-radius: 999px; background: rgba(246,241,231,.45); cursor: pointer; transition: width .5s var(--ease), background .4s; }
.hero-dots button::before { content: ""; position: absolute; inset: -16px; } /* 41px hit target */
.hero-dots button.is-active { width: 30px; background: var(--green); }
.hero-counter { margin-left: 8px; font-family: var(--latin); font-size: 12.5px; letter-spacing: .1em; color: rgba(246,241,231,.6); font-variant-numeric: tabular-nums; }

.hero-scroll { position: absolute; z-index: 3; right: var(--pad); bottom: 36px; display: flex; flex-direction: column; align-items: center; gap: 10px; color: rgba(246,241,231,.6); }
.hero-scroll span { writing-mode: vertical-rl; font-family: var(--latin); font-size: 11px; letter-spacing: .3em; text-transform: uppercase; }
.hero-scroll svg { animation: scrollcue 1.8s ease-in-out infinite; }
@keyframes scrollcue { 0%,100% { transform: translateY(0); opacity: .9; } 50% { transform: translateY(8px); opacity: .4; } }

/* ============================================================
   MISSION
   ============================================================ */
.mission { background: var(--espresso); color: var(--cream); padding: clamp(60px, 9vw, 120px) 0; position: relative; }
.mission::after { content:""; position: absolute; inset: 0; background: radial-gradient(120% 100% at 50% 0%, rgba(0,144,64,.16), transparent 60%); pointer-events: none; }
.mission-inner { position: relative; text-align: center; max-width: 820px; margin: 0 auto; }
.mission-kicker { font-family: var(--latin); font-size: 12.5px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--mint); }
.mission-title { font-family: var(--serif); font-weight: 700; font-size: clamp(30px, 5vw, 58px); line-height: 1.2; margin-top: 18px; color: var(--cream); }
.mission-lead { font-size: clamp(16px, 1.7vw, 21px); line-height: 1.85; color: rgba(246,241,231,.82); margin-top: 22px; }

/* ============================================================
   PILLARS
   ============================================================ */
.pillars { background: var(--cream); padding: clamp(64px, 9vw, 120px) 0; }
.pillar-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.pillar-card { background: var(--paper); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--line); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.pillar-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.pillar-media { aspect-ratio: 4/3; overflow: hidden; }
.pillar-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.pillar-card:hover .pillar-media img { transform: scale(1.06); }
.pillar-body { padding: 26px 26px 30px; position: relative; }
.pillar-no { font-family: var(--latin); font-weight: 700; font-size: 13px; letter-spacing: .1em; color: var(--green-d); }
.pillar-body h3 { font-family: var(--serif); font-size: 23px; margin: 8px 0 10px; color: var(--ink); }
.pillar-body p { font-size: 15px; color: var(--ink-2); line-height: 1.75; }

/* ============================================================
   ABOUT
   ============================================================ */
.about { background: var(--cream-2); padding: clamp(64px, 9vw, 120px) 0; }
.about-inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.about-media { position: relative; }
.about-media img { width: 100%; height: auto; border-radius: var(--radius); box-shadow: var(--shadow-md); aspect-ratio: 4/5; object-fit: cover; }
.about-badge { position: absolute; right: -14px; bottom: -18px; background: var(--green); color: #fff; padding: 18px 24px; border-radius: 16px; box-shadow: var(--shadow-md); text-align: center; }
.about-badge-num { display: block; font-family: var(--serif); font-weight: 700; font-size: 30px; line-height: 1; }
.about-badge-label { display: block; font-size: 12px; margin-top: 6px; opacity: .9; }
.about-text p { font-size: 16.5px; color: var(--ink-2); line-height: 1.85; margin-top: 18px; }
.about-list { list-style: none; padding: 0; margin: 24px 0 30px; display: grid; gap: 12px; }
.about-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; color: var(--ink); }
.about-list .tick { flex: none; width: 24px; height: 24px; border-radius: 50%; background: rgba(0,144,64,.12); color: var(--green-d); display: grid; place-items: center; font-size: 13px; font-weight: 700; }

/* ============================================================
   PROJECTS
   ============================================================ */
.projects { background: var(--cream); padding: clamp(64px, 9vw, 120px) 0; }
.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.project-card { background: var(--paper); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.project-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.project-media { aspect-ratio: 16/11; overflow: hidden; }
.project-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.project-card:hover .project-media img { transform: scale(1.07); }
.project-body { padding: 24px 24px 28px; }
.project-no { font-family: var(--serif); font-weight: 700; font-size: 30px; color: rgba(0,144,64,.28); line-height: 1; }
.project-body h3 { font-family: var(--serif); font-size: 20px; margin: 6px 0 10px; color: var(--ink); line-height: 1.4; }
.project-body p { font-size: 14.5px; color: var(--ink-2); line-height: 1.72; }

/* ============================================================
   COURSES
   ============================================================ */
.courses { background: var(--espresso); color: var(--cream); padding: clamp(64px, 9vw, 120px) 0; }
.courses .section-title { color: var(--cream); }
.courses .section-sub { color: rgba(246,241,231,.74); }
.courses .kicker { color: var(--mint); }
.courses .kicker::before { background: var(--mint); }
.course-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.course-card { background: rgba(246,241,231,.04); border: 1px solid rgba(246,241,231,.12); border-radius: var(--radius); overflow: hidden; transition: transform .35s var(--ease), border-color .35s, background .35s; }
.course-card:hover { transform: translateY(-6px); border-color: rgba(126,224,163,.5); background: rgba(246,241,231,.07); }
.course-media { aspect-ratio: 4/3; overflow: hidden; }
.course-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.course-card:hover .course-media img { transform: scale(1.06); }
.course-body { padding: 24px 26px 26px; }
.course-body h3 { font-family: var(--serif); font-size: 22px; color: var(--cream); }
.course-body h3 span { display: block; font-family: var(--ital); font-style: italic; font-weight: 400; font-size: 16px; color: var(--mint); margin-top: 4px; }
.course-levels { display: flex; gap: 8px; margin: 16px 0 20px; }
.course-levels span { font-size: 12.5px; padding: 5px 12px; border-radius: 999px; background: rgba(126,224,163,.14); color: var(--mint); font-weight: 500; }
.course-foot { display: flex; align-items: center; justify-content: space-between; padding-top: 16px; border-top: 1px solid rgba(246,241,231,.12); }
.course-price { font-family: var(--serif); font-weight: 700; font-size: 17px; color: var(--cream); }
.course-link { display: inline-block; padding: 8px 0; color: var(--green-d); font-weight: 600; font-size: 14.5px; text-decoration: none; transition: opacity .25s; }
.courses .course-link { color: var(--mint); }
.course-link:hover { opacity: .7; }

/* ============================================================
   NEWS
   ============================================================ */
.news { background: var(--cream-2); padding: clamp(64px, 9vw, 120px) 0; }
.news-feature { display: grid; grid-template-columns: 1.1fr 1fr; gap: 0; background: var(--paper); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); border: 1px solid var(--line); }
.news-feature + .news-feature { margin-top: clamp(22px, 3vw, 40px); }

/* ---------- news article (detail page) ---------- */
.article { padding: clamp(122px, 15vw, 172px) 0 clamp(64px, 9vw, 110px); background: var(--cream); }
.article > .container { max-width: 840px; }
.article-back { display: flex; width: max-content; align-items: center; gap: 7px; font-family: var(--latin); font-size: 14px; font-weight: 600; color: var(--green-d); text-decoration: none; margin-bottom: 24px; transition: gap .2s var(--ease), color .2s; }
.article-back:hover { color: var(--green); gap: 11px; }
.article .kicker { display: inline-block; }
.article-title { font-family: var(--serif); font-size: clamp(28px, 4.4vw, 46px); line-height: 1.22; color: var(--ink); margin: 14px 0 14px; text-wrap: balance; }
.article-date { display: block; font-family: var(--latin); font-size: 14px; font-weight: 600; letter-spacing: .06em; color: var(--ink-3); }
.article-figure { margin: clamp(30px, 4vw, 46px) 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); border: 1px solid var(--line); }
.article-figure img { width: 100%; height: auto; display: block; }
.article-body p { font-size: 16.5px; line-height: 1.95; color: var(--ink-2); margin: 0 0 22px; }
.article-body h2 { font-family: var(--serif); font-size: clamp(20px, 2.6vw, 27px); color: var(--ink); margin: 38px 0 14px; }
.article-body strong { color: var(--ink); }
.article-back--bottom { margin: 42px 0 0; }
.news-media { overflow: hidden; }
.news-media img { width: 100%; height: 100%; object-fit: cover; min-height: 320px; transition: transform .8s var(--ease); }
.news-feature:hover .news-media img { transform: scale(1.05); }
.news-body { padding: clamp(28px, 4vw, 48px); display: flex; flex-direction: column; justify-content: center; }
.news-date { font-family: var(--latin); font-size: 13px; font-weight: 600; letter-spacing: .08em; color: var(--green-d); }
.news-body h3 { font-family: var(--serif); font-size: clamp(20px, 2.4vw, 28px); margin: 12px 0 16px; color: var(--ink); line-height: 1.4; }
.news-body p { font-size: 15.5px; color: var(--ink-2); line-height: 1.8; margin: 0 0 22px; }

/* ============================================================
   PARTNERS
   ============================================================ */
.partners { background: var(--cream); padding: clamp(64px, 9vw, 110px) 0; }
.partner-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; }
.partner-tile { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; aspect-ratio: 3/2; display: grid; place-items: center; padding: 18px; transition: transform .3s var(--ease), box-shadow .3s; }
.partner-tile img { max-height: 64px; max-width: 100%; object-fit: contain; filter: grayscale(1); opacity: .62; transition: filter .35s, opacity .35s; }
.partner-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.partner-tile:hover img { filter: grayscale(0); opacity: 1; }

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band { position: relative; background: linear-gradient(140deg, #07853c, #015f2b); color: #fff; padding: clamp(56px, 8vw, 100px) 0; overflow: hidden; }
.cta-band::before { content:""; position: absolute; right: -80px; top: 50%; transform: translateY(-50%); width: 440px; height: 440px; border: 1.5px solid rgba(255,255,255,.18); border-radius: 50%; }
.cta-band::after { content:""; position: absolute; right: 30px; top: 50%; transform: translateY(-50%); width: 300px; height: 300px; border: 1.5px solid rgba(255,255,255,.14); border-radius: 50%; }
.cta-inner { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.cta-text h2 { font-family: var(--serif); font-size: clamp(26px, 3.6vw, 44px); line-height: 1.22; margin: 14px 0 14px; }
.cta-text p { font-size: clamp(15px,1.5vw,18px); color: #fff; max-width: 46ch; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ============================================================
   DONATE  (the primary conversion section)
   ============================================================ */
.btn-donate {
  font-size: 14px; font-weight: 700; color: #fff; background: var(--green);
  padding: 10px 20px; border-radius: 999px; text-decoration: none;
  box-shadow: 0 8px 20px rgba(0,144,64,.35); transition: transform .25s var(--ease), background .25s;
}
.btn-donate:hover { transform: translateY(-1px); background: var(--green-a); }
.site-header.scrolled .btn-donate { box-shadow: 0 8px 20px rgba(0,144,64,.45); }

.donate { position: relative; background: radial-gradient(120% 130% at 80% 10%, #2a1810 0%, #1c100a 55%, #140b06 100%); color: var(--cream); padding: clamp(64px, 9vw, 120px) 0; overflow: hidden; }
.donate::before { content:""; position:absolute; left:-10%; bottom:-30%; width:60%; height:120%; background: radial-gradient(closest-side, rgba(0,144,64,.20), transparent 70%); pointer-events:none; }
.donate-inner { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 5vw, 72px); align-items: center; }
.donate-story h2 { font-family: var(--serif); font-weight: 700; font-size: clamp(30px, 4vw, 50px); line-height: 1.16; color: var(--cream); margin: 18px 0 0; text-wrap: balance; }
.donate-lead { font-size: clamp(16px,1.5vw,18.5px); line-height: 1.85; color: rgba(246,241,231,.82); margin: 20px 0 26px; max-width: 50ch; }
.donate-uses { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 14px; }
.donate-uses li { display: flex; gap: 14px; align-items: center; }
.donate-uses .du-ic { flex: none; width: 44px; height: 44px; border-radius: 12px; background: rgba(126,224,163,.12); display: grid; place-items: center; font-size: 20px; }
.donate-uses strong { display: block; font-family: var(--serif); font-size: 16px; color: var(--cream); }
.donate-uses span span, .donate-uses div span { font-size: 13.5px; color: rgba(246,241,231,.66); }
.donate-trust { display: grid; gap: 12px; border-top: 1px solid rgba(246,241,231,.12); padding-top: 24px; }
.dt-item { display: flex; gap: 12px; align-items: flex-start; }
.dt-item .dt-ic { flex: none; font-size: 18px; line-height: 1.4; }
.dt-item strong { display: block; font-size: 14.5px; color: var(--mint); font-weight: 700; }
.dt-item div span { font-size: 13px; color: rgba(246,241,231,.7); line-height: 1.6; }

.donate-card { background: var(--paper); color: var(--ink); border-radius: 22px; padding: clamp(24px, 3vw, 36px); box-shadow: var(--shadow-lg); }
.dc-head h3 { font-family: var(--serif); font-size: 24px; color: var(--ink); }
.dc-head p { font-size: 14.5px; color: var(--ink-2); margin: 6px 0 0; }
.dc-toggle { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; background: var(--cream-3); border-radius: 999px; padding: 5px; margin: 22px 0 20px; }
.dc-tab { border: none; background: transparent; border-radius: 999px; padding: 12px 8px; font-family: var(--sans); font-weight: 700; font-size: 15px; color: var(--ink-2); cursor: pointer; transition: background .25s, color .25s, box-shadow .25s; }
.dc-tab small { display: block; font-weight: 500; font-size: 11px; color: var(--green-d); margin-top: 2px; }
.dc-tab.is-active { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
.dc-amounts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.dc-amount { text-align: left; border: 1.6px solid var(--line); background: #fff; border-radius: 14px; padding: 14px 16px; cursor: pointer; transition: border-color .2s, background .2s, transform .2s; }
.dc-amount:hover { transform: translateY(-2px); border-color: var(--green); }
.dc-amount.is-active { border-color: var(--green); background: rgba(0,144,64,.06); box-shadow: 0 0 0 3px rgba(0,144,64,.12); }
.dc-amount .dca-amt { display: block; font-family: var(--serif); font-weight: 700; font-size: 22px; color: var(--ink); }
.dc-amount .dca-cap { display: block; font-size: 11.5px; color: var(--ink-3); margin-top: 3px; line-height: 1.4; }
.dc-custom { display: flex; flex-direction: column; gap: 8px; margin-top: 14px; font-size: 13px; font-weight: 600; color: var(--ink); }
.dc-custom input { font-family: var(--sans); font-size: 15px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 11px; background: #fff; }
.dc-custom input:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 4px rgba(0,144,64,.12); }
.dc-impact { min-height: 22px; margin: 14px 0 6px; font-size: 13.5px; color: var(--green-deep); font-weight: 600; line-height: 1.5; }
.dc-impact:not(:empty) { background: rgba(0,144,64,.07); border: 1px solid rgba(0,144,64,.16); border-radius: 10px; padding: 10px 13px; }
.dc-impact strong { color: var(--green-deep); font-weight: 800; }
.dc-methods { margin: 8px 0 18px; }
.dcm-label { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.dcm-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.dcm-chip { font-size: 12.5px; font-weight: 600; color: var(--ink-2); background: var(--cream-2); border: 1px solid var(--line); border-radius: 8px; padding: 7px 11px; }
.dc-steps { list-style: none; display: flex; gap: 4px; margin: 2px 0 18px; padding: 14px 0 0; }
.dc-steps li { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; position: relative; }
.dc-steps .ds-n { width: 26px; height: 26px; flex: none; border-radius: 999px; background: var(--green); color: #fff; font-family: var(--latin); font-size: 12.5px; font-weight: 700; display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 6px rgba(0,144,64,.28); }
.dc-steps .ds-t { font-size: 11.5px; font-weight: 600; color: var(--ink-2); line-height: 1.35; max-width: 12ch; }
.dc-steps li:not(:last-child)::after { content: ""; position: absolute; top: 13px; left: calc(50% + 19px); right: calc(-50% + 19px); height: 2px; background: var(--line); border-radius: 2px; }
.dc-fps { background: var(--cream-2); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; margin: 6px 0 16px; }
.dc-fps-head { display: flex; align-items: center; gap: 10px; font-size: 12.5px; color: var(--ink-3); font-weight: 600; margin-bottom: 12px; }
.fps-tag { font-size: 12.5px; font-weight: 700; color: #fff; background: var(--green-d); border-radius: 7px; padding: 4px 9px; letter-spacing: .02em; }
.dc-fps-rows { list-style: none; margin: 0; padding: 0; }
.dc-fps-rows li { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 9px 0; border-top: 1px solid var(--line); }
.dc-fps-rows li:first-child { border-top: none; }
.dc-fps-rows span { font-size: 13px; color: var(--ink-3); flex: none; }
.dc-fps-rows strong { font-family: var(--latin); font-size: 15px; color: var(--ink); text-align: right; user-select: all; }
.dc-fps-rows strong:not(.fps-ph) { font-weight: 700; }
.dc-fps-rows .dc-val { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 8px; flex: 1 1 auto; min-width: 0; }
.dc-fps-rows .dc-val strong { text-align: right; }
.dc-copy {
  flex: none; font-family: var(--latin); font-size: 11px; font-weight: 700; letter-spacing: .03em;
  color: var(--green-deep); background: rgba(0,144,64,.09); border: 1px solid rgba(0,144,64,.22);
  border-radius: 999px; padding: 4px 11px; cursor: pointer; white-space: nowrap;
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.dc-copy:hover { background: rgba(0,144,64,.15); }
.dc-copy.is-copied { color: #fff; background: var(--green); border-color: var(--green); }
.fps-ph { color: var(--ink-3); font-weight: 500; letter-spacing: 1px; }
.dc-fps-note { font-size: 12px; color: var(--ink-3); margin: 12px 0 0; line-height: 1.6; }
.dc-taxbadge { display: flex; align-items: center; justify-content: center; gap: 7px; text-align: center; font-size: 12.5px; font-weight: 600; color: var(--green-d); background: rgba(0,144,64,.08); border: 1px solid rgba(0,144,64,.18); border-radius: 10px; padding: 10px 12px; margin: 4px 0 14px; line-height: 1.4; }
.dc-submit { margin-top: 4px; }
.dc-fine { font-size: 11px; color: var(--ink-3); line-height: 1.6; margin: 14px 0 0; }
.mm-donate { color: var(--mint) !important; }
.footer-reg { font-family: var(--latin); font-size: 12px; color: rgba(246,241,231,.52); margin: 12px 0 0; line-height: 1.65; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact { background: var(--cream-2); padding: clamp(64px, 9vw, 120px) 0; }
.contact-inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(36px, 6vw, 72px); align-items: start; }
.contact-info p { font-size: 16px; color: var(--ink-2); line-height: 1.8; margin-top: 16px; }
.contact-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.contact-list li { font-size: 15.5px; color: var(--ink); }
.contact-list .ci-label { display: inline-block; min-width: 52px; font-weight: 700; color: var(--green-d); margin-right: 10px; }

.contact-form { background: var(--paper); padding: clamp(26px, 4vw, 40px); border-radius: var(--radius); box-shadow: var(--shadow-md); border: 1px solid var(--line); }
.field { display: flex; flex-direction: column; margin-bottom: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { font-size: 13.5px; font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.field input, .field textarea {
  font-family: var(--sans); font-size: 15px; color: var(--ink);
  padding: 13px 15px; border: 1.5px solid var(--line); border-radius: 11px; background: #fff;
  transition: border-color .25s, box-shadow .25s; resize: vertical;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 4px rgba(0,144,64,.12); }
.form-note { margin: 14px 0 0; font-size: 14px; min-height: 20px; color: var(--green-d); font-weight: 600; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--espresso-2); color: rgba(246,241,231,.72); padding: clamp(54px, 7vw, 84px) 0 0; }
.footer-inner { display: grid; grid-template-columns: 1.4fr 2fr; gap: 48px; padding-bottom: 50px; }
.footer-mark { height: 54px; width: auto; margin-bottom: 16px; }
.footer-name { font-family: var(--serif); font-weight: 700; font-size: 18px; color: var(--cream); margin: 0; }
.footer-en { font-family: var(--latin); font-size: 12px; letter-spacing: .06em; color: rgba(246,241,231,.5); margin: 6px 0 0; }
.footer-tag { font-family: var(--ital); font-style: italic; font-size: 16px; color: var(--mint); margin: 14px 0 0; }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer-col h4 { font-family: var(--latin); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--mint); margin-bottom: 16px; }
.footer-col a { display: block; font-size: 15px; color: rgba(246,241,231,.78); text-decoration: none; padding: 10px 0; transition: color .25s; }
.footer-col a:hover { color: var(--cream); }
.footer-bottom { border-top: 1px solid rgba(246,241,231,.1); padding: 22px 0; }
.footer-bottom-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: 13px; color: rgba(246,241,231,.5); flex-wrap: wrap; }

/* ============================================================
   REVEAL ANIMATION
   ============================================================ */
/* hidden only when JS is available, so no-JS users still see all content */
.reveal { transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal { opacity: 0; transform: translateY(26px); }
.reveal.in, .js .reveal.in { opacity: 1; transform: none; }
.hero .reveal { transition-duration: .9s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
/* English header needs the hamburger a little earlier — longer labels */
@media (max-width: 1100px) {
  html[lang="en"] .nav, html[lang="en"] .btn-login { display: none; }
  html[lang="en"] .nav-toggle { display: block; }
}
@media (max-width: 980px) {
  .nav, .btn-login { display: none; }
  .nav-toggle { display: block; }
  .pillar-grid, .project-grid, .course-grid { grid-template-columns: repeat(2, 1fr); }
  .about-inner, .contact-inner, .news-feature, .footer-inner, .donate-inner { grid-template-columns: 1fr; }
  .news-feature { }
  .about-media { max-width: 460px; margin-bottom: 36px; }
  .about-badge { right: 10px; }
  .partner-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .footer-inner { gap: 32px; }
}
@media (max-width: 640px) {
  .pillar-grid, .project-grid, .course-grid { grid-template-columns: 1fr; }
  .brand-text { display: none; }
  .hero { height: 92vh; min-height: 560px; }
  .hero-content { max-width: 100%; }
  .hero-scroll { display: none; }
  .partner-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .field-row { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: repeat(2, 1fr); }
  .cta-band::before, .cta-band::after { display: none; }
  /* comfortable thumb target for the copy buttons on mobile */
  .dc-copy { padding: 8px 15px; font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto; }
  .hero-slide.is-active { animation: none; transform: none; }
}

/* ============================================================
   VOLUNTEER PAGE
   ============================================================ */
.vsection { padding: clamp(56px, 8vw, 110px) 0; }

/* vhero */
.vhero { position: relative; min-height: 76vh; min-height: 76svh; display: flex; align-items: center; overflow: hidden; background: var(--espresso); padding: 130px 0 64px; }
.vhero-bg { position: absolute; inset: 0; background-size: cover; background-position: 60% center; transform: scale(1.05); }
.vhero-overlay { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(20,11,6,.90) 0%, rgba(20,11,6,.66) 45%, rgba(20,11,6,.40) 100%), linear-gradient(0deg, rgba(0,144,64,.20), transparent 40%); }
.vhero-content { position: relative; z-index: 2; max-width: 760px; }
.vhero-content h1 { font-family: var(--serif); font-weight: 900; font-size: clamp(36px, 5.4vw, 76px); line-height: 1.08; color: var(--cream); margin: 20px 0 0; text-shadow: 0 2px 30px rgba(0,0,0,.4); }
.vhero-sub { font-size: clamp(16px, 1.8vw, 22px); line-height: 1.7; color: rgba(246,241,231,.86); margin: 20px 0 0; }
.vhero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 32px 0 0; }
.vhero-pills { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 0; }
.vhero-pills span { font-size: 13.5px; font-weight: 600; color: var(--cream); background: rgba(246,241,231,.10); border: 1px solid rgba(246,241,231,.22); border-radius: 999px; padding: 9px 16px; backdrop-filter: blur(4px); }

/* philosophy loop */
.vphilo { background: var(--cream); }
.philo-loop { display: flex; align-items: stretch; justify-content: center; flex-wrap: wrap; gap: 14px; margin-top: 12px; }
.philo-node { flex: 1 1 160px; max-width: 200px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 18px; text-align: center; box-shadow: var(--shadow-sm); }
.philo-node .philo-ic { font-size: 30px; display: block; margin-bottom: 10px; }
.philo-node strong { display: block; font-family: var(--serif); font-size: 26px; color: var(--green-d); }
.philo-node span:not(.philo-ic) { font-size: 13.5px; color: var(--ink-2); }
.philo-arrow { align-self: center; color: var(--green); font-size: 22px; font-weight: 700; }

/* steps */
.vsteps-wrap { background: var(--cream-2); }
.vsteps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.vstep { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 24px; box-shadow: var(--shadow-sm); position: relative; }
.vstep-no { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--green); color: #fff; font-family: var(--serif); font-weight: 700; font-size: 20px; margin-bottom: 16px; }
.vstep h3 { font-family: var(--serif); font-size: 19px; color: var(--ink); margin-bottom: 8px; }
.vstep p { font-size: 14.5px; color: var(--ink-2); line-height: 1.7; }
.vstep strong { color: var(--green-d); }

/* deposit */
.vdeposit { background: radial-gradient(120% 120% at 85% 10%, #2a1810, #1c100a 60%); color: var(--cream); }
.vdeposit-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.vdeposit-text p { font-size: 16px; line-height: 1.85; color: rgba(246,241,231,.82); margin: 18px 0 0; }
.vdeposit-text strong { color: var(--mint); }
.vdeposit-points { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.vdeposit-points li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: rgba(246,241,231,.9); line-height: 1.6; }
.vdeposit-points .tick { flex: none; width: 24px; height: 24px; border-radius: 50%; background: rgba(126,224,163,.16); color: var(--mint); display: grid; place-items: center; font-size: 13px; font-weight: 700; }
.vdeposit-points strong { color: var(--cream); }
.vladder { background: var(--paper); color: var(--ink); border-radius: 20px; padding: 28px; box-shadow: var(--shadow-lg); }
.vladder-head { font-family: var(--latin); font-size: 12.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--green-d); margin-bottom: 16px; }
.vladder-list { list-style: none; counter-reset: l; margin: 0; padding: 0; }
.vladder-list li { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 16px 0; border-top: 1px dashed var(--line); }
.vladder-list li:first-child { border-top: none; }
.vl-step { font-weight: 600; color: var(--ink); font-size: 15px; }
.vl-amt { font-family: var(--serif); font-weight: 700; color: var(--green-d); font-size: 16px; text-align: right; }
.vl-amt em { display: block; font-style: normal; font-size: 11px; font-weight: 600; color: var(--green); letter-spacing: .05em; }
.vladder-note { font-size: 13px; color: var(--ink-2); line-height: 1.7; margin: 18px 0 0; }
.vladder-note strong { color: var(--green-d); }
.vdeposit-highlight { background: var(--paper); color: var(--ink); border-radius: 20px; padding: clamp(36px,5vw,52px) 32px; box-shadow: var(--shadow-lg); text-align: center; }
.vdh-amt { font-family: var(--serif); font-weight: 700; font-size: clamp(48px,7vw,76px); color: var(--green-d); line-height: 1; }
.vdh-label { font-family: var(--serif); font-size: 18px; color: var(--ink); margin-top: 10px; }
.vdh-sub { font-size: 14px; color: var(--ink-2); margin-top: 16px; line-height: 1.7; }

/* points */
.vpoints { background: var(--cream); }
.vpoints-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 26px; }
.vearn, .vtiers { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-sm); }
.vearn h3, .vtiers h3 { font-family: var(--serif); font-size: 21px; color: var(--ink); margin-bottom: 18px; }
.vearn-list { list-style: none; padding: 0; margin: 0; }
.vearn-list li { display: flex; align-items: center; gap: 12px; padding: 13px 0; border-top: 1px solid var(--line); font-size: 14.5px; color: var(--ink); }
.vearn-list li::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.vearn-list li:first-child { border-top: none; }
.bean { flex: none; font-family: var(--latin); font-weight: 700; font-size: 15px; color: var(--green-d); background: rgba(0,144,64,.08); border-radius: 8px; padding: 5px 11px; }
.bean::after { content: " 🫘"; }
.vsmall { font-size: 12.5px; color: var(--ink-3); line-height: 1.6; margin: 16px 0 0; }
.vtier-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.vtier-list li { display: flex; gap: 14px; align-items: flex-start; }
.tier-dot { flex: none; width: 22px; height: 22px; border-radius: 50%; margin-top: 2px; box-shadow: inset 0 0 0 2px rgba(0,0,0,.06); }
.t-bronze { background: #b5763e; } .t-silver { background: #b9bcc2; } .t-gold { background: #e3b341; } .t-emerald { background: #1f9d6b; }
.vtier-list strong { display: block; font-family: var(--serif); font-size: 16px; color: var(--ink); }
.vtier-list div span:not(.tier-dot) { font-size: 13.5px; color: var(--ink-2); }

/* rewards (highlight) */
.vrewards { background: var(--cream-2); }
.reward-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.reward-card { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 24px 18px 20px; text-align: center; box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s; }
.reward-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--green); }
.reward-ic { font-size: 38px; line-height: 1; margin-bottom: 14px; }
.reward-card h3 { font-size: 15px; color: var(--ink); min-height: 2.6em; display: flex; align-items: center; justify-content: center; line-height: 1.35; }
.reward-cost { margin-top: 8px; font-size: 13px; color: var(--ink-2); }
.reward-cost strong { font-family: var(--serif); font-size: 22px; color: var(--green-d); }
.reward-tier { display: inline-block; margin-top: 12px; font-size: 11px; font-weight: 700; letter-spacing: .05em; padding: 4px 10px; border-radius: 999px; }
.reward-tier.t1 { background: #f0e7d6; color: #8a6d3b; }
.reward-tier.t2 { background: #e7ddc9; color: #7a5f34; }
.reward-tier.t3 { background: rgba(0,144,64,.12); color: var(--green-d); }
.reward-tier.t4 { background: #ece2d0; color: #6b4f2a; }
.reward-tier.t5 { background: var(--green-d); color: #fff; }
.reward-grand { border-color: var(--gold); background: linear-gradient(180deg, #fffaf0, var(--paper)); box-shadow: 0 14px 34px rgba(216,180,120,.28); }
.reward-flag { position: absolute; top: 12px; right: 12px; font-size: 10px; font-weight: 700; color: #fff; background: var(--gold); border-radius: 999px; padding: 3px 9px; }

/* training */
.vtraining { background: var(--cream); }
.vtraining-inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 70px); align-items: center; }
.vtraining-media img { width: 100%; height: auto; border-radius: var(--radius); box-shadow: var(--shadow-md); aspect-ratio: 4/3; object-fit: cover; }
.vtraining-text p { font-size: 16px; color: var(--ink-2); line-height: 1.85; margin: 16px 0 0; }
.vtraining-text .btn { margin-top: 26px; }

/* faq */
.vfaq { background: var(--cream-2); }
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; margin-bottom: 12px; padding: 4px 22px; box-shadow: var(--shadow-sm); }
.faq-item summary { cursor: pointer; list-style: none; padding: 18px 28px 18px 0; font-family: var(--serif); font-weight: 600; font-size: 16.5px; color: var(--ink); position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 24px; color: var(--green); font-weight: 400; transition: transform .25s; }
.faq-item[open] summary::after { content: "−"; }
.faq-item p { margin: 0 0 20px; font-size: 14.5px; color: var(--ink-2); line-height: 1.8; }

@media (max-width: 980px) {
  .vsteps { grid-template-columns: repeat(2, 1fr); }
  .vdeposit-inner, .vpoints-grid, .vtraining-inner { grid-template-columns: 1fr; }
  .reward-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .philo-arrow { display: none; }
}
@media (max-width: 640px) {
  .vsteps { grid-template-columns: 1fr; }
  .reward-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .philo-node { max-width: none; }
  .reward-card h3 { min-height: 0; }
}

/* ============================================================
   SUB-PAGE BANNER + CHAIRMAN
   ============================================================ */
.page-hero { position: relative; padding: clamp(132px, 17vw, 172px) 0 clamp(48px, 7vw, 78px); background: var(--espresso); overflow: hidden; }
.page-hero-bg { position: absolute; inset: 0; z-index: 0; background-size: cover; background-position: center; opacity: .42; transform: scale(1.04); }
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(100deg, rgba(20,11,6,.84), rgba(20,11,6,.55) 70%), linear-gradient(0deg, rgba(0,144,64,.20), transparent 45%); }
.page-hero-inner { position: relative; z-index: 2; }
.page-hero h1 { font-family: var(--serif); font-weight: 900; font-size: clamp(32px, 5vw, 58px); color: var(--cream); margin: 16px 0 0; line-height: 1.12; text-shadow: 0 2px 26px rgba(0,0,0,.35); }
.page-hero p { font-size: clamp(15px, 1.6vw, 19px); color: rgba(246,241,231,.84); margin: 16px 0 0; max-width: 58ch; line-height: 1.7; }

.chairman { background: var(--cream-2); padding: clamp(56px, 8vw, 110px) 0; }
.chairman-inner { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(32px, 5vw, 68px); align-items: center; }
.chairman-portrait img { width: 100%; height: auto; border-radius: var(--radius); box-shadow: var(--shadow-md); aspect-ratio: 4/5; object-fit: cover; }
.chairman-quote { font-family: var(--serif); font-weight: 600; font-size: clamp(20px, 2.2vw, 28px); line-height: 1.55; color: var(--ink); margin: 18px 0 0; text-wrap: balance; }
.chairman-body p { font-size: 16px; color: var(--ink-2); line-height: 1.9; margin: 16px 0 0; }
.chairman-cred { margin-top: 22px; font-size: 13.5px; color: var(--ink-3); line-height: 1.7; padding-left: 16px; border-left: 2px solid var(--green); }
.chairman-sign { margin-top: 24px; display: flex; align-items: center; gap: 14px; }
.chairman-sign .cs-line { width: 30px; height: 2px; background: var(--green); }
.chairman-sign .cs-name { font-family: var(--serif); font-weight: 700; font-size: 18px; color: var(--ink); }
.chairman-sign .cs-title { font-size: 13.5px; color: var(--ink-3); }

/* simple landing teaser links */
.tease-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--green-d); text-decoration: none; font-size: 15px; margin-top: 18px; }
.tease-link:hover { gap: 12px; }

@media (max-width: 860px) {
  .chairman-inner { grid-template-columns: 1fr; }
  .chairman-portrait { max-width: 380px; }
}

/* donor gift — e-books */
.book-gift { background: var(--cream); padding: clamp(56px, 8vw, 110px) 0; }
.book-gift-inner { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.bg-covers { position: relative; display: flex; justify-content: center; align-items: center; min-height: 380px; }
.bg-cover { width: clamp(170px, 23vw, 240px); height: auto; border-radius: 8px; box-shadow: 0 24px 60px rgba(20,12,6,.34); }
.bg-cover-back { position: absolute; transform: rotate(8deg) translateX(82px); z-index: 1; }
.bg-cover-front { position: relative; transform: rotate(-6deg) translateX(-66px); z-index: 2; }
.bg-text p { font-size: 16px; color: var(--ink-2); line-height: 1.85; margin: 18px 0 0; }
.bg-text strong { color: var(--ink); }
.bg-text .bg-author { font-size: 13.5px; color: var(--ink-2); line-height: 1.8; margin: 18px 0 2px; padding-left: 14px; border-left: 2px solid var(--green); }
.bg-badge { display: inline-flex; align-items: center; gap: 6px; margin: 16px 0 2px; padding: 6px 13px; border-radius: 999px; background: rgba(193,124,32,.12); border: 1px solid rgba(193,124,32,.32); color: #7a4d10; font-family: var(--latin); font-size: 12.5px; font-weight: 700; letter-spacing: .02em; }
.bg-badge svg { color: #c8902a; flex: none; }
.bg-seal { position: absolute; top: 50%; left: 50%; z-index: 4; transform: translate(-22px, 58px) rotate(-8deg); width: 84px; height: 84px; border-radius: 50%; background: radial-gradient(circle at 50% 34%, #e6b44b, #bd8019); border: 2px solid rgba(255,255,255,.62); box-shadow: 0 8px 22px rgba(80,50,10,.42); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; color: #fff; text-align: center; pointer-events: none; }
.bg-seal .seal-star { width: 14px; height: 14px; opacity: .95; }
.bg-seal .seal-num { font-family: var(--latin); font-weight: 800; font-size: 17px; line-height: 1; letter-spacing: .01em; }
.bg-seal .seal-label { font-family: var(--latin); font-weight: 700; font-size: 7.5px; letter-spacing: .14em; margin-top: 2px; }
.bg-list { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.bg-list li { display: flex; gap: 14px; align-items: center; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.bg-bk { flex: none; min-width: 86px; text-align: center; font-family: var(--latin); font-weight: 700; font-size: 12.5px; color: #fff; background: var(--green-d); border-radius: 7px; padding: 7px 10px; }
.bg-list strong { display: block; font-size: 14.5px; color: var(--ink); }
.bg-list div span { font-size: 12.5px; color: var(--ink-3); }
.bg-note { font-size: 13.5px; color: var(--ink-3) !important; margin-top: 18px !important; }
.bg-text .btn { margin-top: 24px; }
.book-detail { margin-top: clamp(48px, 6vw, 76px); }
.book-detail-title { font-family: var(--serif); font-size: clamp(20px, 2.4vw, 28px); color: var(--ink); text-align: center; margin-bottom: 30px; }
.book-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.bd-card { display: flex; gap: 20px; align-items: flex-start; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); }
.bd-media { flex: none; width: 148px; aspect-ratio: 1 / 1; border-radius: 12px; overflow: hidden; }
.bd-media img { width: 100%; height: 100%; object-fit: cover; }
.bd-body { flex: 1; min-width: 0; }
.bd-tag { display: inline-block; font-family: var(--latin); font-size: 12px; font-weight: 700; letter-spacing: .04em; color: #fff; background: var(--green-d); border-radius: 7px; padding: 5px 10px; }
.bd-body h4 { font-size: 16px; color: var(--ink); margin: 12px 0 8px; line-height: 1.35; }
.bd-body p { font-size: 13.5px; color: var(--ink-2); line-height: 1.75; margin: 0; }
.bd-meta { display: block; margin-top: 12px; font-size: 12px; color: var(--ink-3); font-weight: 600; }
@media (max-width: 860px) { .book-detail-grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .bd-card { flex-direction: column; } .bd-media { width: 100%; aspect-ratio: 16 / 9; } }
@media (max-width: 860px) {
  .book-gift-inner { grid-template-columns: 1fr; }
  .bg-covers { min-height: 330px; }
}
@media (max-width: 640px) {
  .bg-seal { width: 64px; height: 64px; transform: translate(-30px, 40px) rotate(-8deg); }
  .bg-seal .seal-num { font-size: 13px; }
  .bg-seal .seal-star { width: 11px; height: 11px; }
  .bg-seal .seal-label { font-size: 6px; }
}

/* ---- mobile: stop tall feature/portrait images dominating the screen ---- */
@media (max-width: 640px) {
  /* feature photos -> shorter landscape crop */
  .about-media img,
  .vtraining-media img,
  .news-media img { aspect-ratio: 16 / 10; height: auto; min-height: 0; }
  /* card images -> a touch shorter to cut overall scroll */
  .pillar-media, .project-media, .course-media { aspect-ratio: 16 / 10; }
  /* chairman portrait -> smaller & centred (no awkward crop of his face) */
  .chairman-portrait { max-width: 250px; margin-inline: auto; }
}
