/* ===== Tachu Elementary School 大竹國小（彰化市）— shared site styles =====
   Type system from yangming-jhs (Playfair Display + Inter, 20/23px).
   Colour-only build (NO banner photos): animated colour-gradient heroes +
   Ru-Yi signature colourful cards (per-card hue, corner glow, coloured
   shadow + lift). Heritage bamboo-jade + bronze base; cards cycle a
   6-hue palette. A century-old school (est. 1916) at the foot of Bagua Mt.
   ===================================================================== */
:root{
  --gold:#bd8a35;--gold-deep:#7d5a14;--gold-soft:#f6edd7;
  --green:#1f7a64;--green-deep:#114c3d;--green-soft:#dcefe8;
  --ink:#1e2a26;--ink-soft:#566b64;--line:#e3ece9;--cream:#f2faf6;
  --shadow:0 14px 38px -16px rgba(17,76,61,.30);
  --shadow-sm:0 6px 16px -6px rgba(17,76,61,.16);
  --max:1080px;
}
*{box-sizing:border-box;margin:0;padding:0;-webkit-tap-highlight-color:transparent;}
html{scroll-behavior:smooth;}
body{background:#fff;color:var(--ink);font-family:'Inter','PingFang TC','Apple LiGothic Medium','Microsoft JhengHei',sans-serif;font-size:20px;line-height:1.65;-webkit-font-smoothing:antialiased;}
@media(min-width:720px){body{font-size:23px;}}
img{max-width:100%;display:block;}
a{color:var(--green-deep);text-decoration:none;transition:color .2s;}
a:hover{color:var(--gold-deep);}
.wrap{max-width:var(--max);margin:0 auto;padding:0 24px;}
.serif{font-family:'Playfair Display','PingFang TC',serif;}

/* ===== Topbar ===== */
.tb{background:rgba(255,255,255,.94);border-bottom:1px solid var(--line);padding:11px 0;position:sticky;top:0;z-index:50;backdrop-filter:blur(8px);}
.tb__inner{max-width:var(--max);margin:0 auto;padding:0 24px;display:flex;align-items:center;justify-content:space-between;gap:18px;}
.tb__brand{display:flex;align-items:center;gap:12px;text-decoration:none;}
.tb__logo{width:44px;height:44px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:24px;background:linear-gradient(135deg,var(--green),var(--green-deep));box-shadow:0 4px 10px -2px rgba(17,76,61,.30);flex-shrink:0;}
.tb__name{font-family:'Playfair Display','PingFang TC',serif;font-size:18px;font-weight:700;color:var(--green-deep);line-height:1.1;}
.tb__name small{display:block;font-family:'PingFang TC',sans-serif;font-size:12px;font-weight:500;color:var(--ink-soft);margin-top:3px;letter-spacing:.04em;}
.tb__nav{display:flex;gap:20px;flex-wrap:wrap;justify-content:flex-end;}
.tb__nav a{color:var(--ink);font-size:15px;font-weight:500;letter-spacing:.04em;}
.tb__nav a:hover{color:var(--green);}
.tb__nav a.is-active{color:var(--green);font-weight:700;}
@media(max-width:640px){.tb__inner{flex-direction:column;align-items:flex-start;gap:10px;}.tb__nav{gap:14px;justify-content:flex-start;}.tb__nav a{font-size:14px;}}

/* ===== Colour hero (animated, NO photo) ============================
   Per page set --b1/--b2/--b3 (top→mid→bottom). White wave blends into
   the white page below; two drifting white orbs + a sweeping flow-light
   give it life; headline content rises in with a stagger.            */
.chero{position:relative;overflow:hidden;min-height:300px;display:flex;align-items:flex-end;color:#fff;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 90' preserveAspectRatio='none'%3E%3Cpath fill='%23ffffff' d='M0,58 C220,92 470,18 720,40 C970,62 1230,96 1440,52 L1440,90 L0,90 Z'/%3E%3C/svg%3E") bottom/100% 88px no-repeat,
    linear-gradient(165deg,var(--b1,#2f8f74),var(--b2,#1f6f59) 54%,var(--b3,#123f31));}
@media(min-width:720px){.chero{min-height:392px;}}
.chero::before,.chero::after{content:"";position:absolute;border-radius:50%;filter:blur(38px);pointer-events:none;z-index:0;background:radial-gradient(circle at 35% 35%,rgba(255,255,255,.82),transparent 70%);}
.chero::before{width:320px;height:320px;left:-70px;top:-90px;opacity:.5;animation:heroOrb 15s ease-in-out infinite,heroGlow 7s ease-in-out infinite;}
.chero::after{width:240px;height:240px;right:7%;bottom:-30px;opacity:.4;animation:heroOrb 19s ease-in-out infinite reverse,heroGlow 9s ease-in-out infinite;}
.chero__fx{position:absolute;inset:0;z-index:0;pointer-events:none;background:linear-gradient(115deg,transparent 32%,rgba(255,255,255,.18) 50%,transparent 68%);background-size:240% 100%;animation:heroSweep 6.5s linear infinite;}
.chero__inner{position:relative;z-index:1;max-width:var(--max);margin:0 auto;width:100%;padding:0 24px 58px;}
.chero__inner>*{opacity:0;transform:translateY(22px);animation:bandUp .9s cubic-bezier(.2,.7,.2,1) forwards;}
.chero__inner h1{animation-delay:.12s;}
.chero__inner .h1-zh{animation-delay:.26s;}
.chero .eyebrow{display:inline-block;font-size:12px;letter-spacing:.3em;text-transform:uppercase;font-weight:700;color:#fff;background:rgba(0,0,0,.18);border:1px solid rgba(255,255,255,.45);border-radius:99px;padding:5px 14px;margin-bottom:12px;}
.chero h1{font-family:'Playfair Display','PingFang TC',serif;font-size:clamp(34px,6vw,58px);font-weight:800;line-height:1.05;text-shadow:0 2px 16px rgba(0,0,0,.28);}
.chero .h1-zh{font-family:'PingFang TC',sans-serif;font-size:clamp(17px,2.2vw,23px);font-weight:600;margin-top:8px;color:rgba(255,255,255,.94);text-shadow:0 2px 12px rgba(0,0,0,.3);}
.scrollcue{position:absolute;left:50%;bottom:12px;transform:translateX(-50%);z-index:2;color:#fff;font-size:26px;opacity:.85;animation:bob 1.8s ease-in-out infinite;text-shadow:0 2px 8px rgba(0,0,0,.4);}
@keyframes heroOrb{0%,100%{transform:translate(0,0) scale(1);}50%{transform:translate(34px,-26px) scale(1.18);}}
@keyframes heroGlow{0%,100%{opacity:.36;}50%{opacity:.6;}}
@keyframes heroSweep{0%{background-position:130% 0;}100%{background-position:-130% 0;}}
@keyframes bandUp{to{opacity:1;transform:none;}}
@keyframes bob{0%,100%{transform:translate(-50%,0);}50%{transform:translate(-50%,8px);}}
@media(prefers-reduced-motion:reduce){.chero::before,.chero::after,.chero__fx,.scrollcue{animation:none;}.chero__inner>*{animation:none;opacity:1;transform:none;}}

/* ===== Sections ===== */
section{padding:52px 0;border-bottom:1px solid var(--line);}
@media(min-width:720px){section{padding:76px 0;}}
section:last-of-type{border-bottom:none;}
.sec__no{font-family:'Playfair Display',serif;color:var(--gold-deep);font-size:21px;font-weight:700;letter-spacing:5px;}
@media(min-width:720px){.sec__no{font-size:24px;}}
.sec__title{font-family:'Playfair Display',serif;font-size:40px;font-weight:700;color:var(--green-deep);line-height:1.15;margin-top:6px;letter-spacing:.5px;}
@media(min-width:720px){.sec__title{font-size:56px;}}
.sec__title-zh{font-size:20px;color:var(--ink-soft);font-weight:500;margin-top:10px;letter-spacing:1px;}
@media(min-width:720px){.sec__title-zh{font-size:24px;}}
.sec__rule{width:92px;height:6px;background:var(--gold);border-radius:3px;margin:20px 0 34px;}

/* ===== lead / body / quote ===== */
.lead{font-family:'Playfair Display',serif;font-size:28px;font-weight:700;color:var(--green-deep);line-height:1.4;}
@media(min-width:720px){.lead{font-size:34px;}}
.lead-zh{margin-top:14px;font-size:19px;color:var(--ink-soft);font-weight:500;line-height:1.65;}
@media(min-width:720px){.lead-zh{font-size:22px;}}
.body p{margin-top:16px;font-size:20px;line-height:1.78;}
@media(min-width:720px){.body p{font-size:22px;}}
.body .zh{color:var(--ink-soft);font-size:18px;line-height:1.7;}
@media(min-width:720px){.body .zh{font-size:20px;}}
.body strong{color:var(--green-deep);font-weight:700;}
.quote{margin-top:32px;background:var(--gold-soft);border-left:6px solid var(--gold);padding:24px 28px;border-radius:0 12px 12px 0;}
.quote__text{font-family:'Playfair Display',serif;font-size:25px;font-weight:700;color:var(--green-deep);line-height:1.4;font-style:italic;}
@media(min-width:720px){.quote__text{font-size:30px;}}
.quote__zh{font-size:17px;color:var(--ink-soft);margin-top:10px;line-height:1.6;}
@media(min-width:720px){.quote__zh{font-size:20px;}}

/* ===== SIGNATURE COLOURFUL CARDS (Ru-Yi house style, self-contained) =====
   Card classes used on this site: .lcard .pillar .nstory .ocard .feature
   .topic .office .factcard .wcard — each carries a cycling --accent hue.   */
.lcard,.pillar,.nstory,.ocard,.feature,.topic,.office,.factcard,.wcard{position:relative,box-shadow .28s ease,border-color .28s ease;}
:where(.lcard,.pillar,.nstory,.ocard,.feature,.topic,.office,.factcard,.wcard):nth-child(6n+1){--accent:#c8922f;}
:where(.lcard,.pillar,.nstory,.ocard,.feature,.topic,.office,.factcard,.wcard):nth-child(6n+2){--accent:#0c8599;}
:where(.lcard,.pillar,.nstory,.ocard,.feature,.topic,.office,.factcard,.wcard):nth-child(6n+3){--accent:#7048e8;}
:where(.lcard,.pillar,.nstory,.ocard,.feature,.topic,.office,.factcard,.wcard):nth-child(6n+4){--accent:#2f9e44;}
:where(.lcard,.pillar,.nstory,.ocard,.feature,.topic,.office,.factcard,.wcard):nth-child(6n+5){--accent:#d6336c;}
:where(.lcard,.pillar,.nstory,.ocard,.feature,.topic,.office,.factcard,.wcard):nth-child(6n+6){--accent:#e8590c;}
/* corner colour-circle, grows + brightens on hover */
.lcard::after,.pillar::after,.nstory::after,.ocard::after,.feature::after,.topic::after,.office::after,.factcard::after,.wcard::after{
  content:"";position:absolute;right:-55px;top:-55px;width:160px;height:160px;border-radius:50%;
  background:radial-gradient(circle at 32% 32%,var(--accent,#1f6e6e),transparent 70%);
  opacity:.09;pointer-events:none;z-index:0;transition:opacity .35s ease,transform .6s cubic-bezier(.22,.61,.36,1);}
.lcard>*,.pillar>*,.nstory>*,.ocard>*,.feature>*,.topic>*,.office>*,.factcard>*,.wcard>*{position:relative;z-index:1;}
/* hover: lift + accent-COLOURED glow + brighten circle */
.lcard:hover,.pillar:hover,.nstory:hover,.ocard:hover,.feature:hover,.topic:hover,.office:hover,.factcard:hover,.wcard:hover{
  transform:translateY(-8px);border-color:var(--accent);
  box-shadow:0 26px 52px -18px var(--accent),0 8px 18px rgba(20,24,31,.08);}
.lcard:hover::after,.pillar:hover::after,.nstory:hover::after,.ocard:hover::after,.feature:hover::after,.topic:hover::after,.office:hover::after,.factcard:hover::after,.wcard:hover::after{opacity:.2;transform:scale(1.35);}
@media(prefers-reduced-motion:reduce){
  .lcard,.pillar,.nstory,.ocard,.feature,.topic,.office,.factcard,.wcard{transition:none;}
  .lcard:hover,.pillar:hover,.nstory:hover,.ocard:hover,.feature:hover,.topic:hover,.office:hover,.factcard:hover,.wcard:hover{transform:none;}
  .lcard:hover::after,.pillar:hover::after,.nstory:hover::after,.ocard:hover::after,.feature:hover::after,.topic:hover::after,.office:hover::after,.factcard:hover::after,.wcard:hover::after{transform:none;}
}

/* ===== Explore cards (home) — colour cover + emoji ===== */
.cards{display:grid;grid-template-columns:1fr;gap:24px;}
@media(min-width:680px){.cards{grid-template-columns:repeat(2,1fr);}}
@media(min-width:980px){.cards.three{grid-template-columns:repeat(3,1fr);}}
.lcard{display:flex;flex-direction:column;background:#fff;border:1px solid var(--line);border-top:8px solid var(--accent,var(--gold));border-radius:20px;overflow:hidden;box-shadow:var(--shadow-sm);color:inherit;}
.lcard .cover{aspect-ratio:16/9;display:flex;align-items:center;justify-content:center;font-size:58px;color:#fff;background:linear-gradient(135deg,var(--accent,var(--green)),rgba(0,0,0,.16));}
.lcard .body{padding:22px 24px 26px;}
.lcard h3{font-family:'Playfair Display',serif;font-size:26px;color:var(--green-deep);font-weight:700;line-height:1.15;}
.lcard .zh{font-family:'PingFang TC',sans-serif;font-size:18px;color:var(--ink);font-weight:600;margin-top:5px;}
.lcard .meta{margin-top:12px;font-size:14px;font-weight:700;letter-spacing:.08em;color:var(--accent,var(--gold-deep));text-transform:uppercase;}

/* ===== Pillars (home) ===== */
.pillars{display:grid;grid-template-columns:1fr;gap:22px;}
@media(min-width:720px){.pillars{grid-template-columns:1fr 1fr;gap:26px;}}
.pillar{background:#fff;border:1px solid var(--line);border-top:8px solid var(--accent,var(--gold));border-radius:20px;padding:30px 28px;box-shadow:var(--shadow-sm);}
.pillar__icon{font-size:52px;line-height:1;margin-bottom:10px;}
.pillar__t{font-family:'Playfair Display',serif;font-size:27px;font-weight:700;color:var(--green-deep);line-height:1.15;}
.pillar__zh{font-family:'PingFang TC',sans-serif;font-size:19px;color:var(--ink);font-weight:600;margin-top:4px;}
.pillar__b{font-size:18px;color:var(--ink-soft);margin-top:12px;line-height:1.65;}

/* ===== Spotlight band (home) ===== */
.spotlight{background:linear-gradient(135deg,var(--gold-soft) 0%,var(--green-soft) 100%);border:2px solid var(--gold);border-radius:24px;padding:44px 30px;text-align:center;box-shadow:var(--shadow);}
@media(min-width:720px){.spotlight{padding:60px 48px;}}
.spotlight__t{font-family:'Playfair Display',serif;font-size:26px;font-weight:700;color:var(--green-deep);}
@media(min-width:720px){.spotlight__t{font-size:34px;}}
.spotlight__zh{font-size:19px;color:var(--ink);font-weight:600;margin-top:6px;}
.spotlight__b{font-size:18px;color:var(--ink-soft);max-width:680px;margin:14px auto 0;line-height:1.7;}

/* ===== News stories (colour cards, self-contained, no images) ===== */
.news-grid{display:grid;grid-template-columns:1fr;gap:28px;}
@media(min-width:880px){.news-grid{grid-template-columns:1fr 1fr;gap:32px;}}
.nstory{background:#fff;border:1px solid var(--line);border-top:8px solid var(--accent,var(--gold));border-radius:20px;padding:28px 30px 30px;box-shadow:var(--shadow-sm);display:flex;flex-direction:column;}
.nstory__tag{font-family:'Playfair Display',serif;color:var(--accent,var(--green));font-size:14px;font-weight:700;letter-spacing:2px;text-transform:uppercase;margin-bottom:8px;}
.nstory h3{font-family:'Playfair Display',serif;font-size:25px;font-weight:700;color:var(--green-deep);line-height:1.2;}
.nstory h3 .zh{display:block;font-family:'PingFang TC',sans-serif;font-size:18px;color:var(--ink);font-weight:600;margin-top:6px;line-height:1.4;}
.nstory__date{font-size:14px;color:var(--ink-soft);letter-spacing:.5px;margin-top:12px;font-weight:600;}
.nstory__hook{font-size:18px;color:var(--ink);margin-top:14px;line-height:1.65;}
.nstory__hook-zh{font-size:16px;color:var(--ink-soft);margin-top:12px;padding-top:12px;border-top:1px dashed var(--line);line-height:1.7;}

/* ===== Official-site mini honor cards ===== */
.ofeed{display:grid;grid-template-columns:1fr;gap:14px;}
@media(min-width:720px){.ofeed{grid-template-columns:1fr 1fr;}}
.ocard{background:#fff;border:1px solid var(--line);border-left:6px solid var(--accent,var(--gold));border-radius:14px;padding:20px 22px;box-shadow:var(--shadow-sm);}
.ocard .tag{font:700 13px/1 'Inter';letter-spacing:.1em;text-transform:uppercase;color:var(--accent,var(--gold-deep));}
.ocard h3{font-family:'Playfair Display',serif;font-size:21px;color:var(--green-deep);font-weight:700;margin-top:8px;line-height:1.25;}
.ocard h3 .zh{display:block;font-family:'PingFang TC',sans-serif;font-size:16px;color:var(--ink);font-weight:600;margin-top:3px;}
.ocard .date{font-size:14px;color:var(--ink-soft);margin-top:8px;}

/* ===== Fact cards (principal "at a glance") ===== */
.facts{display:grid;grid-template-columns:1fr;gap:18px;}
@media(min-width:680px){.facts{grid-template-columns:repeat(3,1fr);}}
.factcard{background:#fff;border:1px solid var(--line);border-left:6px solid var(--accent,var(--gold));border-radius:16px;padding:24px 24px 26px;box-shadow:var(--shadow-sm);}
.factcard__k{font:700 13px/1 'Inter';letter-spacing:.12em;text-transform:uppercase;color:var(--accent,var(--gold-deep));}
.factcard__v{font-family:'Playfair Display',serif;font-size:23px;color:var(--green-deep);font-weight:700;margin-top:10px;line-height:1.2;}
.factcard__zh{font-family:'PingFang TC',sans-serif;font-size:16px;color:var(--ink-soft);margin-top:6px;line-height:1.5;}

/* ===== Classroom English / Announcements (datong pattern) ===== */
.credits{margin-top:26px;display:flex;flex-wrap:wrap;gap:14px 28px;padding:18px 24px;border-radius:12px;background:var(--gold-soft);border-left:6px solid var(--gold);max-width:820px;}
.credits.is-broadcast{background:var(--green-soft);border-left-color:var(--green);}
.credits.is-wotd{background:#ece4f4;border-left-color:#7048e8;}
.credits__cell{display:flex;flex-direction:column;}
.credits__label{font-size:12px;font-weight:700;letter-spacing:2px;text-transform:uppercase;color:var(--gold-deep);}
.credits.is-broadcast .credits__label{color:var(--green-deep);}
.credits.is-wotd .credits__label{color:#5b417d;}
.credits__value{font-size:17px;color:var(--ink);font-weight:600;margin-top:2px;}
@media(min-width:720px){.credits__label{font-size:13px;}.credits__value{font-size:19px;}}
.player{margin-top:30px;background:#fff;border:1px solid var(--line);border-radius:18px;padding:14px;box-shadow:var(--shadow);}
@media(min-width:720px){.player{padding:18px;}}
.player__ratio{position:relative;width:100%;padding-top:56.25%;border-radius:10px;overflow:hidden;background:#000;}
.player__ratio iframe{position:absolute;inset:0;width:100%;height:100%;border:0;}
.player-link{margin-top:14px;display:flex;align-items:center;gap:14px;padding:16px 22px;background:#fff;border:1.5px solid var(--line);border-radius:14px;color:var(--green-deep);transition:transform .2s,box-shadow .2s,border-color .2s;}
.player-link:hover{transform:translateY(-2px);box-shadow:var(--shadow-sm);border-color:var(--gold);color:var(--green-deep);}
.player-link__icon{flex-shrink:0;width:42px;height:30px;border-radius:6px;background:#FF0000;color:#fff;display:flex;align-items:center;justify-content:center;font-size:14px;font-weight:700;}
.player-link__text{flex:1;display:flex;flex-direction:column;gap:3px;min-width:0;}
.player-link__text strong{font-family:'Playfair Display',serif;font-size:18px;color:var(--green-deep);font-weight:700;line-height:1.3;}
.player-link__text span{font-family:'PingFang TC',sans-serif;font-size:14px;color:var(--ink-soft);line-height:1.45;}
.player-link__arrow{font-size:22px;color:var(--gold);flex-shrink:0;}
.topics{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;margin-top:32px;}
@media(min-width:720px){.topics{grid-template-columns:repeat(3,1fr);gap:16px;}}
@media(min-width:1000px){.topics{grid-template-columns:repeat(5,1fr);}}
.topic{background:#fff;border:1px solid var(--line);border-top:4px solid var(--accent,var(--gold));border-radius:12px;padding:14px 16px;box-shadow:var(--shadow-sm);}
.topic__no{font-family:'Playfair Display',serif;color:var(--accent,var(--green));font-weight:800;font-size:14px;letter-spacing:2px;}
.topic__en{margin-top:4px;font-size:15px;font-weight:700;color:var(--green-deep);line-height:1.35;}
.topic__zh{margin-top:3px;font-size:13px;color:var(--ink-soft);line-height:1.4;}
.offices{display:grid;grid-template-columns:1fr;gap:18px;margin-top:32px;}
@media(min-width:720px){.offices{grid-template-columns:1fr 1fr;gap:24px;}}
.office{background:#fff;border:1px solid var(--line);border-left:6px solid var(--accent,var(--gold));border-radius:16px;padding:24px 26px 26px;box-shadow:var(--shadow-sm);}
.office__title{font-family:'Playfair Display',serif;font-size:24px;font-weight:700;color:var(--green-deep);line-height:1.2;}
.office__title-zh{font-size:17px;color:var(--ink);font-weight:600;margin-top:6px;}
.office__list{list-style:none;margin-top:14px;}
.office__list li{padding:10px 0;border-bottom:1px dashed var(--line);font-size:16px;color:var(--ink);line-height:1.5;display:flex;gap:10px;align-items:baseline;}
.office__list li:last-child{border-bottom:none;}
.office__list .ep{flex:0 0 auto;font-family:'Playfair Display',serif;color:var(--accent,var(--green));font-weight:700;font-size:13px;letter-spacing:1.5px;}

/* big feature card (lessons intro) */
.feature{display:grid;grid-template-columns:1fr;gap:0;background:#fff;border:1px solid var(--line);border-top:8px solid var(--accent,var(--gold));border-radius:22px;overflow:hidden;box-shadow:var(--shadow-sm);color:inherit;}
@media(min-width:760px){.feature{grid-template-columns:.85fr 1fr;}}
.feature .cover{min-height:180px;display:flex;align-items:center;justify-content:center;font-size:72px;color:#fff;background:linear-gradient(135deg,var(--accent,var(--green)),rgba(0,0,0,.16));}
.feature .body{padding:30px 32px 34px;display:flex;flex-direction:column;justify-content:center;}
.feature .body h3{font-family:'Playfair Display',serif;font-size:30px;color:var(--green-deep);font-weight:700;line-height:1.12;}
.feature .body .zh{font-family:'PingFang TC',sans-serif;font-size:19px;color:var(--ink);font-weight:600;margin-top:6px;}
.feature .body p{font-size:18px;color:var(--ink-soft);margin-top:14px;line-height:1.65;}
.feature .cta{margin-top:18px;font-family:'Playfair Display',serif;color:var(--accent,var(--gold-deep));font-weight:700;font-size:18px;letter-spacing:.5px;}

/* ===== Word of the Day — colourful unit cards + word chips ===== */
.units{display:grid;grid-template-columns:1fr;gap:24px;margin-top:36px;}
@media(min-width:720px){.units{grid-template-columns:repeat(2,1fr);gap:28px;}}
@media(min-width:1040px){.units{grid-template-columns:repeat(3,1fr);}}
.wcard{background:#fff;border:1px solid var(--line);border-top:8px solid var(--accent,var(--gold));border-radius:20px;overflow:hidden;box-shadow:var(--shadow-sm);display:flex;flex-direction:column;}
.wcard__hero{height:120px;display:flex;align-items:center;justify-content:center;font-size:64px;color:#fff;background:linear-gradient(135deg,var(--accent,var(--green)),rgba(0,0,0,.18));}
.wcard__body{padding:22px 24px 26px;}
.wcard__no{font:700 13px/1 'Inter';letter-spacing:.14em;text-transform:uppercase;color:var(--accent,var(--gold-deep));}
.wcard h3{font-family:'Playfair Display',serif;font-size:24px;color:var(--green-deep);font-weight:700;margin-top:8px;line-height:1.15;}
.wcard h3 .zh{display:block;font-family:'PingFang TC',sans-serif;font-size:16px;color:var(--ink);font-weight:600;margin-top:4px;}
.wlist{list-style:none;margin-top:16px;}
.wlist li{display:flex;align-items:baseline;gap:10px;padding:9px 0;border-bottom:1px dashed var(--line);}
.wlist li:last-child{border-bottom:none;}
.wlist .w-en{font-weight:700;color:var(--green-deep);font-size:17px;line-height:1.3;}
.wlist .w-pos{font-size:12px;color:var(--ink-soft);font-style:italic;font-weight:500;}
.wlist .w-zh{font-size:14px;color:var(--ink-soft);margin-left:auto;text-align:right;white-space:nowrap;}
.say{flex:0 0 auto;width:30px;height:30px;border-radius:50%;border:1.5px solid var(--line);background:#fff;color:var(--accent,var(--green));font-size:14px;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;transition:transform .15s,background .15s,color .15s,border-color .15s;}
.say:hover{background:var(--accent,var(--green));color:#fff;border-color:var(--accent,var(--green));transform:scale(1.12);}
.say:active{transform:scale(.94);}

/* ===== Interactive CTA buttons (footer connect) ===== */
.ft-ctas{display:flex;flex-direction:column;gap:12px;margin-top:2px;}
.cta-btn{background:var(--green);color:#fff;border-radius:12px;padding:13px 18px;display:flex;align-items:center;gap:12px;box-shadow:0 6px 16px -8px rgba(0,0,0,.4);transition:transform .18s,background .18s,color .18s,box-shadow .18s;}
.cta-btn:hover{background:#fff;color:var(--green-deep);transform:translateY(-4px);box-shadow:var(--shadow);}
.cta-btn--fb{background:#1877f2;}
.cta-btn--fb:hover{background:#fff;color:#0c63d4;}
.cta-btn__ico{flex-shrink:0;width:36px;height:36px;border-radius:50%;background:rgba(255,255,255,.22);display:flex;align-items:center;justify-content:center;font-size:19px;font-weight:800;}
.cta-btn__tx{flex:1;min-width:0;}
.cta-btn__t{font-family:'Playfair Display',serif;font-size:17px;font-weight:700;line-height:1.2;}
.cta-btn__zh{font-size:13px;margin-top:3px;font-weight:600;opacity:.94;}
.cta-btn__arrow{font-size:20px;font-weight:700;flex-shrink:0;transition:transform .18s;}
.cta-btn:hover .cta-btn__arrow{transform:translate(3px,-3px);}

/* ===== Footer ===== */
.ft{background:var(--green-deep);color:rgba(255,255,255,.80);padding:44px 0 34px;}
.ft__inner{max-width:var(--max);margin:0 auto;padding:0 24px;display:grid;grid-template-columns:1fr;gap:26px;}
@media(min-width:760px){.ft__inner{grid-template-columns:1.6fr 1fr 1.1fr;gap:40px;}}
.ft__brand{display:flex;gap:14px;align-items:flex-start;}
.ft__brand .ft__logo{width:54px;height:54px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:28px;background:rgba(255,255,255,.12);flex-shrink:0;}
.ft__brand h4{font-family:'Playfair Display',serif;font-size:21px;color:#fff;font-weight:700;line-height:1.15;}
.ft__brand .zh{font-size:14px;color:rgba(255,255,255,.78);margin-top:3px;}
.ft__addr{margin-top:10px;font-size:14px;color:rgba(255,255,255,.7);line-height:1.65;}
.ft__col h5{font-family:'Playfair Display',serif;font-size:13px;font-weight:700;letter-spacing:.18em;text-transform:uppercase;color:var(--gold-soft);margin-bottom:12px;}
.ft__col ul{list-style:none;}
.ft__col li{margin-bottom:8px;font-size:15px;color:rgba(255,255,255,.85);}
.ft__col a{color:rgba(255,255,255,.85);border-bottom:1px dashed rgba(245,234,208,.5);}
.ft__col a:hover{color:var(--gold-soft);}
.ft__bottom{max-width:var(--max);margin:30px auto 0;padding:18px 24px 0;border-top:1px solid rgba(255,255,255,.16);font-size:13px;color:rgba(255,255,255,.62);text-align:center;line-height:1.7;}
.ft__bottom a{color:var(--gold-soft);border-bottom:1px dashed rgba(245,234,208,.5);}
.ft__bottom a:hover{color:#fff;}

/* ===== reveal-fx (works with inline rvl script) ===== */
.rvl{opacity:0;transform:translateY(24px);transition:opacity .6s cubic-bezier(.2,.7,.2,1),transform .6s cubic-bezier(.2,.7,.2,1);}
.rvl.in{opacity:1;transform:none;}
@media(prefers-reduced-motion:reduce){.rvl{opacity:1!important;transform:none!important;}}
/* reveal must not fight the card hover-lift (datong stagger-delay lesson) */
.lcard.rvl.in:hover,.pillar.rvl.in:hover,.nstory.rvl.in:hover,.ocard.rvl.in:hover,.feature.rvl.in:hover,.topic.rvl.in:hover,.office.rvl.in:hover,.factcard.rvl.in:hover,.wcard.rvl.in:hover{transform:translateY(-8px);transition:transform .28s cubic-bezier(.2,.7,.2,1),box-shadow .28s ease,border-color .28s ease;transition-delay:0s!important;}