:root {
  --sand: #f4f1ec;
  --paper: #fffdfa;
  --ink: #1f2022;
  --muted: #6f685f;
  --teal: #1f6d6b;
  --gold: #cba66a;
  --line: rgba(31, 32, 34, .13);
  --shadow: 0 22px 60px rgba(31, 32, 34, .08);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 116px; }
body { margin: 0; overflow-x: hidden; background: var(--sand); color: var(--ink); font-family: "Noto Sans TC", "DM Sans", sans-serif; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; }
[hidden] { display: none !important; }
.zh-block { display: block; }
.en-block { display: none; }
span.zh-block { display: inline; }
body.lang-en .zh-block { display: none !important; }
body.lang-en .en-block { display: block !important; }
body.lang-en span.en-block { display: inline !important; }
.skip-link { position: fixed; top: -60px; left: 1rem; z-index: 999; padding: .75rem 1rem; background: var(--ink); color: white; }
.skip-link:focus { top: 1rem; }
.site-header { position: fixed; inset: 0 0 auto; z-index: 100; height: 115px; background: var(--sand); border-bottom: 1px solid var(--line); }
.site-header-inner { max-width: 1480px; height: 100%; margin: 0 auto; padding: 0 40px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand-logo { width: 290px; max-width: 31vw; height: auto; }
.header-side { display: grid; justify-items: end; gap: 18px; }
.lang-switch { display: flex; align-items: center; gap: 10px; font: 500 11px/1 "DM Sans", sans-serif; letter-spacing: .12em; }
.lang-switch button { border: 0; padding: 4px; background: none; color: var(--muted); cursor: pointer; }
.main-nav { display: flex; align-items: center; gap: 24px; }
.main-nav a { text-decoration: none; font: 600 11px/1 "DM Sans", sans-serif; letter-spacing: .13em; text-transform: uppercase; white-space: nowrap; }
.main-nav .nav-cta { border-radius: 999px; padding: 12px 20px; background: var(--ink); color: white; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; }
.nav-toggle span { display: block; width: 24px; height: 2px; margin: 5px auto; background: var(--ink); }
.mobile-nav { position: fixed; inset: 0; z-index: 150; display: none; align-content: center; gap: 10px; padding: 90px 28px; background: rgba(31, 32, 34, .98); }
.mobile-nav.open { display: grid; }
.mobile-nav a { padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.12); color: white; text-decoration: none; }
.mobile-nav .mobile-close { position: absolute; top: 24px; right: 24px; width: 44px; height: 44px; border: 0; background: none; color: white; font-size: 28px; }
main { padding-top: 115px; }
.shell { width: min(1240px, calc(100% - 48px)); margin-inline: auto; }
.section { padding: 92px 0; scroll-margin-top: 112px; }
.section.alt { background: var(--paper); }
.section.dark { background: var(--ink); color: white; }
.eyebrow { margin: 0 0 16px; color: var(--teal); font: 700 11px/1.3 "DM Sans", sans-serif; letter-spacing: .2em; text-transform: uppercase; }
.dark .eyebrow { color: var(--gold); }
h1, h2, h3 { margin-top: 0; font-family: "Noto Serif TC", "Cormorant Garamond", serif; font-weight: 500; }
h1 { font-size: clamp(40px, 6vw, 78px); line-height: 1.08; letter-spacing: -.04em; }
h2 { font-size: clamp(31px, 4vw, 52px); line-height: 1.18; letter-spacing: -.03em; }
h3 { font-size: 22px; line-height: 1.35; }
p { line-height: 1.85; }
.lead, .answer-first { max-width: 820px; color: var(--muted); font-size: 18px; }
.dark .lead, .dark .answer-first { color: rgba(255,255,255,.72); }
.hero { position: relative; min-height: calc(100vh - 115px); display: grid; align-items: end; color: white; background: var(--ink); isolation: isolate; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10,12,13,.86) 0%, rgba(10,12,13,.57) 48%, rgba(10,12,13,.18) 100%); }
.hero-bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.hero-content { padding: 96px 0 72px; }
.hero .eyebrow { color: #ead8ba; }
.hero-copy { max-width: 830px; }
.hero-sub { max-width: 700px; color: rgba(255,255,255,.84); font-size: 20px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0; }
.chip { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 15px; border: 1px solid rgba(255,255,255,.28); border-radius: 999px; background: rgba(20,22,24,.34); color: white; text-decoration: none; font-size: 13px; backdrop-filter: blur(8px); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 20px; border: 1px solid var(--ink); border-radius: 999px; background: var(--ink); color: white; text-decoration: none; font-weight: 700; }
.btn.secondary { background: transparent; color: var(--ink); }
.dark .btn { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.dark .btn.secondary, .hero .btn.secondary { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.46); color: white; }
.hero .btn { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.grid-2, .grid-3, .grid-4 { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { min-width: 0; padding: 28px; border: 1px solid var(--line); border-radius: 24px; background: var(--paper); box-shadow: var(--shadow); }
.dark .card { border-color: rgba(255,255,255,.13); background: #292b2e; }
.media-card { overflow: hidden; padding: 0; }
.media-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.media-card .card-body { padding: 24px; }
.meta { color: var(--muted); font-size: 13px; }
.dark .meta { color: rgba(255,255,255,.64); }
.fact { color: var(--teal); font: 600 clamp(24px, 3vw, 42px)/1.2 "Noto Serif TC", serif; }
.dark .fact { color: var(--gold); }
.structure { display: grid; gap: 8px; margin: 28px 0; }
.layer { padding: 16px 18px; border-left: 5px solid var(--teal); border-radius: 8px; background: var(--paper); box-shadow: 0 6px 18px rgba(31,32,34,.06); }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: 18px; background: var(--paper); }
table { width: 100%; min-width: 760px; border-collapse: collapse; }
caption { padding: 18px; text-align: left; font-weight: 700; }
th, td { padding: 15px 16px; border-top: 1px solid var(--line); text-align: left; vertical-align: top; line-height: 1.65; }
th { background: #e9e3d9; font-size: 12px; letter-spacing: .05em; }
.comparison { position: relative; overflow: hidden; aspect-ratio: 16/10; border-radius: 24px; }
.comparison img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.comparison-before { width: 50%; overflow: hidden; }
.comparison-before img { width: 200%; max-width: none; }
.comparison-line { position: absolute; inset: 0 auto 0 50%; width: 2px; background: white; box-shadow: 0 0 16px rgba(0,0,0,.35); }
.comparison input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; }
.report-groups { display: grid; gap: 54px; }
.report-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; }
.report-card { display: grid; grid-template-rows: auto auto auto 1fr auto; gap: 12px; padding: 20px; border: 1px solid rgba(255,255,255,.12); border-radius: 20px; background: #292b2e; }
.report-thumb { width: 100%; aspect-ratio: 4/3; object-fit: contain; border-radius: 12px; background: white; }
.report-card h3 { margin: 0; color: white; font-size: 19px; }
.report-result { color: var(--gold); font: 600 25px/1.25 "Noto Serif TC", serif; overflow-wrap: anywhere; }
.report-card p { margin: 0; color: rgba(255,255,255,.68); font-size: 13px; }
.report-links { display: flex; flex-wrap: wrap; gap: 10px; }
.report-links a { color: white; text-underline-offset: 4px; font-size: 12px; }
.note { margin-top: 20px; padding: 18px 20px; border-left: 4px solid var(--gold); background: rgba(203,166,106,.11); line-height: 1.75; }
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; padding: 0; list-style: none; }
.steps li { counter-increment: step; min-height: 170px; padding: 22px; border: 1px solid var(--line); border-radius: 18px; background: var(--paper); line-height: 1.7; }
.steps li::before { content: counter(step, decimal-leading-zero); display: block; margin-bottom: 18px; color: var(--teal); font: 700 12px/1 "DM Sans",sans-serif; letter-spacing: .15em; }
.limits { columns: 2; column-gap: 40px; padding-left: 22px; }
.limits li { break-inside: avoid; margin: 0 0 14px; line-height: 1.75; }
.gallery { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.gallery figure { margin: 0; overflow: hidden; border-radius: 18px; background: var(--paper); border: 1px solid var(--line); }
.gallery img { display: block; width: 100%; height: auto; aspect-ratio: 4/3; object-fit: cover; }
.gallery figcaption { padding: 12px 14px; color: var(--muted); font-size: 12px; line-height: 1.6; }
.faq-list { display: grid; gap: 12px; }
.faq-list details { padding: 20px 22px; border: 1px solid var(--line); border-radius: 16px; background: var(--paper); }
.faq-list summary { cursor: pointer; font-weight: 700; line-height: 1.5; }
.faq-list p { margin-bottom: 0; color: var(--muted); }
.category-nav { position: sticky; top: 115px; z-index: 40; overflow-x: auto; display: flex; gap: 8px; padding: 12px max(24px, calc((100vw - 1240px)/2)); background: rgba(244,241,236,.96); border-block: 1px solid var(--line); backdrop-filter: blur(14px); }
.category-nav a, .filter-btn { flex: 0 0 auto; padding: 9px 13px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); color: var(--ink); text-decoration: none; font-size: 12px; cursor: pointer; }
.app-section { scroll-margin-top: 168px; }
.app-head { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 26px; }
.app-head p { max-width: 740px; color: var(--muted); }
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 40px; }
.report-row { display: grid; grid-template-columns: 150px 1fr auto; gap: 22px; align-items: center; padding: 20px; border-top: 1px solid var(--line); }
.report-row[hidden] { display: none !important; }
.report-row img { width: 150px; height: 112px; object-fit: contain; background: white; border: 1px solid var(--line); }
.report-row h3 { margin: 0 0 8px; font-size: 20px; }
.report-row p { margin: 3px 0; color: var(--muted); font-size: 13px; }
.report-row .btn { white-space: nowrap; }
.site-footer { padding: 68px 0 28px; background: #141517; color: rgba(255,255,255,.72); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 36px; }
.site-footer h2, .site-footer h3 { color: white; font-size: 16px; }
.site-footer ul { padding: 0; list-style: none; }
.site-footer li { margin: 9px 0; }
.site-footer a { color: rgba(255,255,255,.7); text-underline-offset: 4px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); font-size: 12px; }
@media (max-width: 980px) {
  .main-nav { display: none; }
  .nav-toggle { display: block; }
  .grid-4, .report-grid, .steps { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .grid-3, .gallery { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .footer-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 640px) {
  html { scroll-padding-top: 84px; }
  .site-header { height: 84px; }
  .site-header-inner { padding: 0 16px; gap: 10px; }
  .brand-logo { width: min(190px,49vw); max-width: none; }
  .header-side { display: flex; flex: 0 0 auto; align-items: center; gap: 4px; }
  .lang-switch { gap: 2px; font-size: 9px; letter-spacing: 0; }
  .lang-switch button { padding: 3px 2px; }
  .nav-toggle { width: 36px; height: 44px; }
  main { padding-top: 84px; }
  .shell { width: min(100% - 32px, 1240px); }
  .section { padding: 64px 0; }
  .hero { min-height: 720px; }
  .hero::after { background: linear-gradient(0deg, rgba(10,12,13,.91) 0%, rgba(10,12,13,.42) 100%); }
  .hero-content { padding: 62px 0 46px; }
  .grid-2, .grid-3, .grid-4, .report-grid, .steps, .gallery, .footer-grid { grid-template-columns: 1fr; }
  .limits { columns: 1; }
  .category-nav { top: 84px; padding-inline: 16px; }
  .app-section { scroll-margin-top: 140px; }
  .app-head { display: block; }
  .report-row { grid-template-columns: 84px 1fr; gap: 14px; }
  .report-row img { width: 84px; height: 112px; }
  .report-row .btn { grid-column: 1 / -1; }
  .footer-bottom { display: grid; }
  table { min-width: 690px; }
}

/* GBRC 書面同意前若需下架，取消下行註解：同時須調整頁首「20 份」與「纖維板 5 份」的數字 */
/* [data-hold="gbrc-consent"] { display: none !important; } */
