/* v3 refinement layer — tokens: radius 24/16, 8px rhythm, fixed type scale */
:root{--r-out:24px;--r-in:16px}

/* ---------- type ---------- */
body{font-size:17px;line-height:1.8}
h1,.arthead h1{font-size:clamp(38px,4.4vw,56px);line-height:1.08;letter-spacing:-.025em;text-wrap:balance}
.hero h1{font-size:clamp(34px,3.9vw,50px);line-height:1.14;letter-spacing:-.02em;text-wrap:balance}
h2,.sechead h2,.artwrap h2{font-size:clamp(27px,3vw,38px);line-height:1.2;letter-spacing:-.02em}
h3,.card h3,.gcard h3,.row h3,.artwrap h3{font-size:clamp(18px,1.55vw,22px);line-height:1.45}
.lead,.hero .lead,.arthead .lead{font-size:19px;line-height:1.65}
p,li{max-width:44em}
.small,.herofig figcaption,.artmeta,.gcard p,.card p,.row p,.stat span{font-size:13.5px;line-height:1.6}
.eyebrow,.tl .no,.card .no,.gcard .k{font-size:12px;letter-spacing:.14em}
.stat b,.price,.num{font-variant-numeric:tabular-nums}
.stat b{font-size:clamp(30px,2.6vw,38px);line-height:1.1}

/* ---------- rhythm ---------- */
.sec,.cta{padding:96px 0}
.sechead{margin-bottom:48px}
.herogrid{gap:56px}
.hero{padding:72px 0 64px}

/* ---------- surfaces ---------- */
.herofig img,.gallery img{border-radius:var(--r-out)}
.herofig figcaption{margin-top:12px}

.card,.gcard,.mcard,.toc,details{background:#fff;border:1px solid var(--line);border-radius:var(--r-out)}
.card,.gcard,.mcard{padding:24px}
.card h3,.gcard h3{margin:8px 0 8px}

/* cards grid: 24 gap, no hairline trick */
.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;background:none;border:0}
.gcards{gap:24px}
.gcard{border-top:0;padding-top:0;transition:border-color .15s ease,transform .15s ease,box-shadow .15s ease}
.gcard:hover{border-color:var(--navy);transform:translateY(-2px);box-shadow:0 8px 24px rgba(8,47,104,.08)}

/* stats as cards */
.stats{border-bottom:0;padding:0}
.stats .shell{grid-template-columns:repeat(3,1fr);gap:24px;padding-top:0;padding-bottom:0}
.stat{background:#fff;border:1px solid var(--line);border-radius:var(--r-out);padding:24px}
.stat:first-child{border:1px solid var(--line);padding:24px}

/* quotes as cards */
.quotes{gap:16px;margin-top:0}
.quotes li{border:1px solid var(--line);border-radius:var(--r-in);background:#fff;padding:20px 24px;font-size:18px;line-height:1.6}
.quotes li span{margin-top:8px}

/* buttons */
.btn{height:48px;padding:0 26px;border-radius:var(--r-in);font-size:15px}
.navcta{height:40px;border-radius:12px}

/* table surface */
.tablewrap{border:1px solid var(--line);border-radius:var(--r-in);overflow:hidden}
.artwrap table{margin:0}
.artwrap th{padding:14px 16px;font-size:13.5px;letter-spacing:.02em}
.artwrap td{padding:14px 16px;font-size:14.5px;line-height:1.65}
.artwrap tr:nth-child(even) td{background:#FAFBF7}

/* blockquote / pull */
.artwrap blockquote{border:1px solid var(--line);border-left:3px solid var(--red);border-radius:var(--r-in);padding:24px}

/* toc */
.toc{padding:24px;background:var(--paper);border-left:1px solid var(--line)}
.toc a{padding:8px 0}
.toc b{margin-bottom:12px}

/* faq rows */
details{padding:24px;margin-bottom:16px}
details summary{font-size:17px}
details p{margin-top:16px}

/* cta band as rounded block */
.cta{background:none;padding:0 24px 96px}
.cta .shell{background:var(--navy);border-radius:var(--r-out);padding:64px 56px;max-width:1180px}
.cta h2{color:#fff}
.cta p{color:#C9D6E6}

/* footer */
footer{padding:72px 0 56px}
.fgrid{gap:48px}
.legal{margin-top:56px;padding-top:24px}

/* mobile */
@media (max-width:900px){
  .sec,.cta{padding:64px 0}
  .cta{padding:0 16px 64px}
  .cta .shell{padding:40px 24px}
  .hero{padding:56px 0}
  .herogrid{gap:32px}
  .cards,.gcards,.stats .shell{grid-template-columns:1fr;gap:16px}
  .stat:first-child{padding:24px}
  .card,.gcard,.mcard,.toc,details{padding:20px}
  h1,.hero h1,.arthead h1{font-size:34px;letter-spacing:-.02em}
  h2,.sechead h2{font-size:25px}
  .lead,.hero .lead{font-size:17px}
  .herofig img{border-radius:20px}
}

/* nav: order on small screens */
@media (max-width:900px){
  .navin{gap:12px}
  .logo{order:1}
  .navcta{order:2;margin-left:auto}
  .navburger{order:3;margin:0;width:40px;height:40px}
  .navlinks{order:4}
  .navtoggle:checked~.navlinks{top:calc(100% + 0px)}
}

/* end-of-page photo */
.endpic{max-width:1180px;margin:0 auto;padding:56px 24px 8px}
.endpic figure{margin:0}
.endpic img{width:100%;height:clamp(300px,30vw,420px);object-fit:cover;object-position:50% 45%;border-radius:var(--r-out);display:block}
.endpic figcaption{margin-top:12px;font-size:13.5px;color:var(--muted);line-height:1.6}
.band img{object-position:50% 50%}
@media (max-width:900px){.endpic{padding:0 0 64px}.endpic img{height:240px}}

/* gallery crop tuning */
.gallery figure:nth-child(1) img{object-position:42% 42%}
.gallery figure:nth-child(2) img{object-position:50% 72%}
.gallery figure:nth-child(3) img{object-position:64% 40%}

/* type unification: headings sans, same as v2 pages */
h1,h2,h3,h4,.hero h1,.hero .hero-h2,.arthead h1,.ask,.artwrap h2,.artwrap h3{
  font-family:"Noto Sans CJK HK","Noto Sans TC","PingFang HK","Microsoft JhengHei",system-ui,-apple-system,sans-serif}

.endpic figcaption{margin-bottom:0}
p.byline,.byline{margin-top:28px}
.endpic img[src*="life-lake"]{object-position:50% 62%}

/* uniform rhythm + single h1 scale */
h1,h1 *, .arthead h1,.hero h1,.wrap h1,.legal h1{font-size:clamp(34px,3.9vw,50px)!important;line-height:1.14;text-wrap:balance}
section{padding:40px 0!important}
section.hero,section.hero.first{padding:56px 0 32px!important}
section.band,section.endpic,section.noprint,section.nf{padding:0!important}
.endpic{max-width:1180px;margin:0 auto;padding:56px 24px 8px}
@media (max-width:900px){
  section{padding:28px 0!important}
  section.hero,section.hero.first{padding:56px 0 48px}
  section.band,section.endpic,section.noprint,section.nf{padding:0}
  .endpic{padding:40px 20px 8px}
}

/* legacy box radius — bring old components into the same system */
.case,.cmp{border-radius:var(--r-out)!important;overflow:hidden}
.ask3,.qi,.say,.srcbox,.warnbox,.transbox,.ask,.pull,.bx,.who,.row,.col,.c,details,.mcard,.gcard{
  border-radius:var(--r-in)!important}
.fig,.figure,figure img{border-radius:var(--r-in)}

/* legal / long-form rhythm */
.legal h2,.wrap>div>h2{margin-top:56px}
.legal h2:first-child,.wrap>div>h2:first-child{margin-top:0}

/* footer rhythm */
footer{padding-top:48px}
@media (max-width:900px){footer{padding-top:40px}}

/* ── 品牌字統一：所有頁面頂部與首頁一致（2026-11-06） ── */
a.logo{
  display:flex;align-items:center;gap:10px;
  font-size:15px;font-weight:600;letter-spacing:.02em;
  color:#1B2740;text-decoration:none;white-space:nowrap;
  padding:0;height:auto;
}
a.logo img{width:22px;height:22px;object-fit:contain;flex:0 0 auto}
@media(max-width:520px){
  a.logo{font-size:15px;font-weight:600;letter-spacing:.02em;padding:0}
}
