:root {
  --ink: #1c1d21;             /* 深炭黑 */
  --ink-soft: #3e4046;
  --muted: #8c7e6c;           /* 復古灰褐 */
  --paper: #f5f1e6;           /* 復古棉紙色 */
  --paper-card: #fffdf9;      /* 厚實象牙白卡 */
  --line: #d3c9b3;            /* 舊化線條色 */
  --brass: #8c6f4c;           /* 黃銅金屬 */
  --brass-light: #c1aa87;     /* 亮黃銅 */
  --brass-dark: #5e462d;      /* 銹黃銅 */
  --gold-foil: linear-gradient(135deg, #a88a5e 0%, #d8c29d 50%, #8a6c43 100%); /* 黃銅金屬漸層 */
  --ok: #2d6a4f;
  --maxw: 1120px;
  --serif: "Playfair Display", "Songti TC", "Noto Serif TC", Georgia, serif;
  --sans: "Montserrat", "PingFang TC", "Helvetica Neue", Arial, sans-serif;
}

/* 實體擬真：微細棉麻織紋背景 */
body {
  background-color: var(--paper);
  background-image: 
    linear-gradient(rgba(255,255,255,0.4) 50%, transparent 50%),
    linear-gradient(90deg, rgba(255,255,255,0.4) 50%, transparent 50%);
  background-size: 4px 4px;
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }

/* 頂部導覽：實體金屬下邊界 */
header.site {
  background: rgba(245, 241, 230, 0.9);
  backdrop-filter: blur(8px);
  position: sticky; top: 0; z-index: 100;
  border-bottom: 2px solid var(--line);
  box-shadow: 0 1px 0 var(--paper-card), 0 4px 20px rgba(0,0,0,0.03);
}
header.site .wrap {
  display: flex; align-items: center; justify-content: space-between; height: 72px;
}
.brand {
  font-family: var(--serif); font-size: 24px; font-weight: 700; letter-spacing: 1px;
  display: flex; align-items: center; gap: 8px;
}
.brand span {
  background: var(--gold-foil);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
nav.site a {
  font-size: 14px; font-weight: 600; letter-spacing: 1px; color: var(--ink-soft);
  margin-left: 28px; position: relative; padding: 6px 0; transition: color 0.2s;
}
nav.site a::after {
  content: ""; position: absolute; bottom: 0; left: 0; width: 0; height: 2px;
  background: var(--gold-foil); transition: width 0.2s;
}
nav.site a:hover { color: var(--brass-dark); }
nav.site a:hover::after { width: 100%; }

/* 精緻實體分隔線 */
.divider {
  display: flex; align-items: center; justify-content: center; margin: 48px auto; max-width: var(--maxw); padding: 0 32px;
}
.divider::before, .divider::after {
  content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--line), transparent);
}
.divider span {
  width: 8px; height: 8px; transform: rotate(45deg); background: var(--brass); margin: 0 16px;
  box-shadow: 0 0 0 3px var(--paper), 0 0 0 4px var(--line);
}

/* Hero 區：精品排版與黃銅飾條 */
.hero { padding: 96px 0 80px; position: relative; text-align: center; }
.hero::before {
  content: ""; position: absolute; top: 24px; left: 50%; transform: translateX(-50%);
  width: 60px; height: 1px; background: var(--brass);
}
.eyebrow {
  font-size: 13px; font-weight: 700; letter-spacing: 4px; text-transform: uppercase;
  color: var(--brass); margin-bottom: 24px;
}
.hero h1 {
  font-family: var(--serif); font-weight: 800; line-height: 1.2;
  font-size: clamp(36px, 6.5vw, 64px); color: var(--ink); letter-spacing: -0.5px;
  max-width: 900px; margin: 0 auto;
}
.hero h1 .sub {
  display: block; font-family: var(--sans); font-size: clamp(16px, 2.5vw, 20px);
  font-weight: 400; color: var(--ink-soft); letter-spacing: 1px; margin-top: 20px; line-height: 1.6;
}
.lede {
  margin: 32px auto 0; max-width: 680px; color: var(--ink-soft); font-size: 17px; line-height: 1.8;
}
.cta-row { margin-top: 40px; display: flex; gap: 16px; justify-content: center; }

/* 實體擬真按鈕（具厚度與陰影） */
.btn {
  display: inline-block; font-size: 14px; font-weight: 700; letter-spacing: 2px;
  padding: 14px 32px; border-radius: 3px; cursor: pointer; text-transform: uppercase;
  transition: all 0.2s cubic-bezier(0.165, 0.84, 0.44, 1);
  box-shadow: 
    0 2px 4px rgba(0,0,0,0.08), 
    inset 0 1px 0 rgba(255,255,255,0.2);
}
.btn.primary {
  background: var(--ink); color: var(--paper); border: 1px solid var(--ink);
}
.btn.primary:hover {
  background: var(--brass-dark); border-color: var(--brass-dark);
  transform: translateY(-2px); box-shadow: 0 6px 15px rgba(94, 70, 45, 0.2);
}
.btn.brass {
  background: var(--gold-foil); color: #fff; border: 1px solid var(--brass-dark);
}
.btn.brass:hover {
  transform: translateY(-2px); box-shadow: 0 6px 18px rgba(140, 111, 76, 0.3);
}
.btn.ghost {
  background: var(--paper-card); color: var(--ink); border: 2px solid var(--line);
}
.btn.ghost:hover {
  background: var(--paper); border-color: var(--ink); transform: translateY(-2px);
}

/* 區段樣式 */
section.block { padding: 80px 0; }
.sec-head { text-align: center; margin-bottom: 56px; }
.sec-head .k { font-size: 12px; font-weight: 700; letter-spacing: 4px; color: var(--brass); text-transform: uppercase; }
.sec-head h2 { font-family: var(--serif); font-weight: 700; font-size: clamp(28px, 4vw, 40px); margin-top: 12px; }
.sec-head p { margin: 16px auto 0; color: var(--ink-soft); max-width: 600px; font-size: 15.5px; }

/* 實體擬真：雙層實線與無間隙對稱步驟（Symmetrical Box Grid, No Gaps） */
.steps-container {
  border: 3px double var(--line); background: var(--paper-card);
  box-shadow: 0 12px 36px rgba(140, 111, 76, 0.06);
}
.steps {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 0;
}
@media(max-width: 960px) {
  .steps { grid-template-columns: 1fr; }
}
.step {
  padding: 40px 28px; border-right: 1px solid var(--line);
  display: flex; flex-direction: column; position: relative; transition: background 0.3s;
}
.step:last-child { border-right: none; }
@media(max-width: 960px) {
  .step { border-right: none; border-bottom: 1px solid var(--line); }
  .step:last-child { border-bottom: none; }
}
.step:hover { background: #faf8f3; }

/* 步驟數字：黃銅金屬圓形銘牌 */
.step-header {
  display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px;
}
.step-badge {
  font-family: var(--serif); font-size: 15px; font-weight: 700; color: #fff;
  background: var(--gold-foil); width: 34px; height: 34px;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--brass-dark);
  box-shadow: inset 0 1px 3px rgba(255,255,255,0.4), 0 3px 6px rgba(0,0,0,0.1);
}
.step-icon { font-size: 20px; }

.step h3 {
  font-family: var(--serif); font-size: 19px; font-weight: 700; margin-bottom: 12px; color: var(--ink);
}
.step p { font-size: 14.5px; color: var(--ink-soft); line-height: 1.7; flex-grow: 1; }

.step .tip {
  margin-top: 18px; font-size: 13px; color: var(--ok); font-weight: 600;
  border-top: 1px dashed var(--line); padding-top: 12px; display: flex; align-items: center; gap: 4px;
}

/* 實體卡牌堆疊感（Card Stack Aesthetic） */
.cats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px;
}
@media(max-width: 900px) {
  .cats { grid-template-columns: repeat(2, 1fr); }
}
@media(max-width: 560px) {
  .cats { grid-template-columns: 1fr; }
}
.cat-stack-wrapper {
  position: relative; padding-bottom: 8px; /* 預留卡片堆疊陰影空間 */
}
.cat {
  background: var(--paper-card); border: 1px solid var(--line); padding: 36px 28px;
  display: flex; flex-direction: column; height: 100%; position: relative; z-index: 2;
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  box-shadow: 
    0 4px 12px rgba(140, 111, 76, 0.05),
    0 1px 0 rgba(255,255,255,0.8) inset;
}
/* 模擬卡牌在下方堆疊的立體層次 */
.cat-stack-wrapper::before {
  content: ""; position: absolute; top: 4px; left: 4px; right: 4px; bottom: 4px;
  background: var(--paper-card); border: 1px solid var(--line); z-index: 1;
  transition: transform 0.3s;
}
.cat-stack-wrapper::after {
  content: ""; position: absolute; top: 8px; left: 8px; right: 8px; bottom: 0;
  background: #faf6ec; border: 1px solid var(--line); z-index: 0;
  transition: transform 0.3s;
}
.cat-stack-wrapper:hover .cat {
  transform: translate(-3px, -3px);
  border-color: var(--brass);
  box-shadow: 
    6px 6px 20px rgba(140, 111, 76, 0.15),
    0 1px 0 rgba(255,255,255,0.8) inset;
}
.cat-stack-wrapper:hover::before {
  transform: translate(-1.5px, -1.5px);
}

.cat .ic { font-size: 32px; margin-bottom: 16px; }
.cat h3 { font-family: var(--serif); font-size: 22px; font-weight: 700; margin-bottom: 8px; }
.cat p { font-size: 14px; color: var(--ink-soft); line-height: 1.6; flex-grow: 1; }
.cat .more {
  margin-top: 16px; font-size: 13px; font-weight: 700; letter-spacing: 1px; color: var(--brass);
  display: flex; align-items: center; gap: 4px; text-transform: uppercase;
}

/* 推薦商品卡片（精緻精品風排版） */
.picks {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
@media(max-width: 900px) {
  .picks { grid-template-columns: repeat(2, 1fr); }
}
@media(max-width: 600px) {
  .picks { grid-template-columns: 1fr; }
}
.pick {
  background: var(--paper-card); border: 1px solid var(--line); padding: 28px;
  display: flex; flex-direction: column; transition: border-color 0.2s;
}
.pick:hover { border-color: var(--brass); }
.pick .tag {
  font-size: 11px; font-weight: 700; letter-spacing: 2px; color: var(--brass); text-transform: uppercase;
  margin-bottom: 12px;
}
.pick h4 {
  font-family: var(--serif); font-size: 18px; font-weight: 700; margin-bottom: 10px;
}
.pick p { font-size: 14px; color: var(--ink-soft); line-height: 1.6; flex-grow: 1; }

/* 實體提示板 (Callout) */
.callout {
  border: 1px solid var(--line); border-left: 4px solid var(--brass);
  background: var(--paper-card); padding: 24px 28px; margin-top: 32px;
  box-shadow: 0 4px 15px rgba(140, 111, 76, 0.03); position: relative;
}
.callout b { color: var(--brass-dark); }

/* FAQ 實體摺頁卡 */
.faq { display: grid; gap: 16px; max-width: 800px; margin: 0 auto; }
.qa {
  background: var(--paper-card); border: 1px solid var(--line); padding: 24px 28px;
  transition: all 0.2s;
}
.qa:hover { border-color: var(--brass); }
.qa h4 {
  font-family: var(--serif); font-size: 17px; font-weight: 700; margin-bottom: 8px;
  display: flex; align-items: center; gap: 8px;
}
.qa h4::before {
  content: "Q"; font-family: var(--sans); font-size: 13px; font-weight: 800; color: #fff;
  background: var(--brass); width: 20px; height: 20px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
}
.qa p { font-size: 14.5px; color: var(--ink-soft); padding-left: 28px; line-height: 1.7; }

/* 頁腳 */
footer.site {
  border-top: 2px solid var(--line); padding: 48px 0; color: var(--muted); font-size: 13px;
  background: rgba(245, 241, 230, 0.5);
}
footer.site .wrap {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px;
}
footer.site a { color: var(--brass); font-weight: 600; }
footer.site a:hover { color: var(--brass-dark); }

/* 子頁文章頁面 */
.article-page { padding: 80px 0; max-width: 760px; margin: 0 auto; }
.article-page h1 {
  font-family: var(--serif); font-size: clamp(30px, 5vw, 44px); font-weight: 700; line-height: 1.3;
  color: var(--ink); margin-bottom: 12px;
}
.article-page .meta {
  font-size: 12px; font-weight: 700; letter-spacing: 2px; color: var(--brass);
  text-transform: uppercase; margin-bottom: 32px; display: flex; align-items: center; gap: 12px;
}
.article-page .meta::after {
  content: ""; flex: 1; height: 1px; background: var(--line);
}
.article-page p { margin-bottom: 24px; color: var(--ink-soft); font-size: 16px; line-height: 1.85; }
.article-page h2 {
  font-family: var(--serif); font-size: 24px; font-weight: 700; margin: 44px 0 16px;
  color: var(--ink); position: relative; padding-bottom: 8px; border-bottom: 1px solid var(--line);
}
.back {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 40px; font-size: 14px;
  font-weight: 700; letter-spacing: 1px; color: var(--brass); text-transform: uppercase;
  transition: transform 0.2s;
}
.back:hover { transform: translateX(-4px); color: var(--brass-dark); }

/* ===== 文章專用（SEO 叢集） ===== */
.breadcrumb {
  font-size: 13px; font-weight: 600; letter-spacing: 1px; color: var(--muted);
  margin-bottom: 24px; display: flex; align-items: center; gap: 8px;
}
.breadcrumb a { color: var(--brass); }
.breadcrumb a:hover { color: var(--brass-dark); }
.breadcrumb span { color: var(--line); }

.subhero { margin-bottom: 36px; }
.subhero h1 {
  font-family: var(--serif); font-size: clamp(30px, 5vw, 46px); font-weight: 800;
  line-height: 1.28; color: var(--ink); letter-spacing: -0.3px;
}
.subhero .lede { margin-top: 16px; font-size: 17px; color: var(--ink-soft); max-width: 720px; }

/* 關鍵字標籤 */
.kw-pill {
  display: inline-block; font-size: 12.5px; font-weight: 700; letter-spacing: .5px;
  color: var(--brass-dark); background: #f0e8d8; border: 1px solid var(--brass-light);
  border-radius: 100px; padding: 5px 14px; margin: 4px 8px 0 0;
}
.kw-row { margin-top: 18px; }

.article-body { border-top: 1px solid var(--line); padding-top: 12px; }
.article-body h2 {
  font-family: var(--serif); font-size: 25px; font-weight: 700; margin: 38px 0 14px;
  color: var(--ink); padding-bottom: 8px; border-bottom: 1px solid var(--line);
}
.article-body p { font-size: 16.5px; color: var(--ink-soft); line-height: 1.9; margin: 14px 0; }
.article-body ul { margin: 12px 0 12px 4px; padding: 0; list-style: none; }
.article-body li {
  font-size: 16px; color: var(--ink-soft); line-height: 1.8; padding: 7px 0 7px 26px;
  position: relative; border-bottom: 1px dashed var(--line);
}
.article-body li::before {
  content: "✓"; position: absolute; left: 0; top: 7px; color: var(--ok); font-weight: 700;
}

/* 文末 CTA 卡 */
.cta { margin: 44px 0 8px; }
.cta-inner {
  background: var(--paper-card); border: 2px solid var(--line); border-left: 4px solid var(--brass);
  padding: 30px 32px; box-shadow: 0 6px 20px rgba(140,111,76,.05);
}
.cta-inner h2 { font-family: var(--serif); font-size: 22px; font-weight: 700; margin-bottom: 8px; }
.cta-inner p { font-size: 15px; color: var(--ink-soft); margin-bottom: 18px; }

/* 延伸閱讀 */
.related { margin-top: 48px; border-top: 1px solid var(--line); padding-top: 32px; }
.related h2 { font-family: var(--serif); font-size: 22px; font-weight: 700; margin-bottom: 20px; }
.subnav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media(max-width:640px){ .subnav { grid-template-columns: 1fr; } }
.rel-card {
  background: var(--paper-card); border: 1px solid var(--line); padding: 18px 20px;
  display: flex; flex-direction: column; gap: 6px; transition: all .2s;
}
.rel-card:hover { border-color: var(--brass); transform: translateY(-2px); }
.rel-card .rt { font-size: 12px; font-weight: 700; letter-spacing: 2px; color: var(--brass); text-transform: uppercase; }
.rel-card .rh { font-family: var(--serif); font-size: 18px; font-weight: 700; color: var(--ink); }

/* 文章總覽頁網格 */
.article-index-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 36px; }
@media(max-width:640px){ .article-index-grid { grid-template-columns: 1fr; } }
.article-mini {
  background: var(--paper-card); border: 1px solid var(--line); padding: 28px 26px;
  display: flex; flex-direction: column; gap: 10px; transition: all .25s;
  box-shadow: 0 4px 12px rgba(140,111,76,.04);
}
.article-mini:hover { border-color: var(--brass); transform: translateY(-3px); box-shadow: 0 8px 22px rgba(140,111,76,.12); }
.article-mini .mk { font-size: 12px; font-weight: 700; letter-spacing: 2px; color: var(--brass); text-transform: uppercase; }
.article-mini h3 { font-family: var(--serif); font-size: 22px; font-weight: 700; color: var(--ink); }
.article-mini p { font-size: 14.5px; color: var(--ink-soft); line-height: 1.7; flex-grow: 1; }
.article-mini .more { font-size: 13px; font-weight: 700; letter-spacing: 1px; color: var(--brass); }

/* 首頁文章專欄（左右兩欄） */
.col2 { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: center; }
@media(max-width:880px){ .col2 { grid-template-columns: 1fr; gap: 24px; } }
.col2 .lead-col .sec-head { text-align: left; margin-bottom: 0; }
.mini-list { display: grid; gap: 14px; }
.mini-list a {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: var(--paper-card); border: 1px solid var(--line); padding: 18px 22px;
  transition: all .2s;
}
.mini-list a:hover { border-color: var(--brass); transform: translateX(3px); }
.mini-list .mt { font-family: var(--serif); font-size: 18px; font-weight: 700; color: var(--ink); }
.mini-list .ma { font-size: 13px; color: var(--brass); font-weight: 700; white-space: nowrap; }
.all-link { margin-top: 22px; display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 700; letter-spacing: 1px; color: var(--brass); text-transform: uppercase; }
.all-link:hover { color: var(--brass-dark); }
