/* 負隅文化官網 main.css — 共用樣式
   色系沿襲既有負隅文化品牌：暖米白 + 墨黑 + 鐵鏽紅 + 鼠尾草綠 + 古金 */

:root {
  --ink: #1a1208;
  --paper: #f5f0e8;
  --sand: #e8dfc8;
  --rust: #c4541a;
  --rust-light: #e8763a;
  --sage: #5a7a5e;
  --gold: #c9a84c;
  --muted: #8a7d6a;
  --line: rgba(26, 18, 8, 0.1);
  --nav-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Noto Sans TC', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.7;
  overflow-x: hidden;
}
a { color: var(--rust); text-decoration: none; transition: color .2s; }
a:hover { color: var(--rust-light); }
img { max-width: 100%; height: auto; display: block; }

/* ── NAV ── */
.nav {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 48px;
  background: rgba(245, 240, 232, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-logo {
  font-family: 'Noto Serif TC', serif;
  font-weight: 900; font-size: 1.15rem; letter-spacing: .08em;
  color: var(--ink);
  display: flex; align-items: center; gap: 12px;
}
.nav-logo img { width: 32px; height: 32px; border-radius: 4px; }
.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; }
.nav-links a {
  font-size: .875rem; font-weight: 500; letter-spacing: .05em;
  color: var(--ink); position: relative; padding-bottom: 2px;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 0; height: 1.5px; background: var(--rust); transition: width .3s;
}
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-links a:hover { color: var(--ink); }
.nav-links a.lang-switch {
  border: 1px solid var(--ink);
  padding: 4px 10px;
  font-size: .72rem;
  letter-spacing: .12em;
  margin-left: 8px;
  transition: background .2s, color .2s;
}
.nav-links a.lang-switch::after { display: none; }
.nav-links a.lang-switch:hover { background: var(--ink); color: var(--paper); }

/* hamburger（mobile） */
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 4px; background: none; border: none;
}
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--ink); transition: all .3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none; position: fixed; top: var(--nav-h); left: 0; right: 0;
  background: rgba(245, 240, 232, 0.97); backdrop-filter: blur(12px);
  padding: 24px; z-index: 99;
  border-bottom: 1px solid var(--line);
  flex-direction: column;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-size: 1rem; font-weight: 500; letter-spacing: .05em;
  color: var(--ink);
  padding: 14px 0; border-bottom: 1px solid var(--line);
}

/* ── PAGE COMMON ── */
main { padding-top: var(--nav-h); min-height: calc(100vh - var(--nav-h)); }

.container { max-width: 1180px; margin: 0 auto; padding: 0 48px; }
.container-narrow { max-width: 760px; margin: 0 auto; padding: 0 48px; }

section { padding: 80px 0; }

.section-tag {
  font-size: .72rem; font-weight: 500; letter-spacing: .18em;
  color: var(--rust); text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px;
}
.section-tag::before { content: ''; width: 24px; height: 1.5px; background: var(--rust); }
.section-h2 {
  font-family: 'Noto Serif TC', serif;
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  font-weight: 900; line-height: 1.2; margin-bottom: 18px;
}
.section-lead { font-size: 1rem; color: var(--muted); line-height: 1.9; max-width: 580px; }

/* ── PAGE HEADER（內頁通用） ── */
.page-header {
  background: var(--ink); color: var(--paper);
  padding: 96px 0 80px;
  border-bottom: 1px solid rgba(245, 240, 232, .08);
}
.page-header .breadcrumb {
  font-size: .72rem; letter-spacing: .15em; text-transform: uppercase;
  color: rgba(245, 240, 232, .5); margin-bottom: 18px;
}
.page-header .breadcrumb a { color: rgba(245, 240, 232, .5); }
.page-header .breadcrumb a:hover { color: var(--rust-light); }
.page-header h1 {
  font-family: 'Noto Serif TC', serif;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 900; line-height: 1.15; color: var(--paper);
  margin-bottom: 16px; max-width: 800px;
}
.page-header .subtitle {
  font-size: 1.05rem; line-height: 1.8;
  color: rgba(245, 240, 232, .65); max-width: 640px;
}

/* ── HERO（首頁專屬、蜜思塔羅儀式感 + 宇宙星空）── */
.hero {
  height: calc(100vh - var(--nav-h));
  min-height: 560px;
  background: #0a0420;
  position: relative; overflow: hidden;
  display: flex; align-items: center;
}
/* canvas 背景：250 顆星呼吸 + 78 張卡 Bezier 軌跡 3D 透視 */
.hero-canvas {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  display: block;
}



/* 中央蜜思塔羅主標：opacity 由 JS 控（intro 4-5.5s fade in、跟蜜思塔羅 app 同步）
   CSS 只負責定位 + 持續呼吸（scale/translateY 微浮 + drop-shadow 呼吸） */
.hero-intro-title {
  position: absolute; left: 50%; top: 32%;
  width: clamp(300px, 48vw, 720px);
  z-index: 2;
  opacity: 0;
  pointer-events: none;
  animation: introBreathe 6s ease-in-out infinite;
}
@keyframes introBreathe {
  0%, 100% {
    transform: translate(-50%, -50%) scale(1) translateY(0);
    filter: drop-shadow(0 0 24px rgba(212, 180, 120, .35)) drop-shadow(0 4px 32px rgba(0, 0, 0, .55));
  }
  50% {
    transform: translate(-50%, -50%) scale(1.015) translateY(-6px);
    filter: drop-shadow(0 0 36px rgba(232, 200, 140, .55)) drop-shadow(0 4px 32px rgba(0, 0, 0, .55));
  }
}


/* hero-inner：絕對定位置底、配合主標下方、不再用 padding 推 */
.hero-inner {
  position: absolute; left: 0; right: 0; bottom: 8vh;
  z-index: 3;
  max-width: 720px; margin: 0 auto; padding: 0 48px;
  width: 100%;
  text-align: center;
  /* 配合蜜思塔羅 intro 節奏：第 6.5s 開始 fade in（intro_title 5.5s 完）*/
  opacity: 0;
  animation: heroMsgFadeIn 2s cubic-bezier(.2, .8, .25, 1) 6.5s forwards;
}
@keyframes heroMsgFadeIn {
  0%   { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}
@media (max-width: 880px) {
  .hero-intro-title { top: 32%; width: 86vw; }
  .hero-inner { bottom: 5vh; padding: 0 24px; }
}
.hero-tag {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: .68rem; font-weight: 500; letter-spacing: .32em;
  color: rgba(255, 217, 122, .85); text-transform: uppercase; margin-bottom: 22px;
}
.hero-tag::before, .hero-tag::after {
  content: ''; width: 28px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 217, 122, .8), transparent);
}
.hero-tag::after { background: linear-gradient(90deg, rgba(255, 217, 122, .8), transparent); }
.hero-tag::before { background: linear-gradient(90deg, transparent, rgba(255, 217, 122, .8)); }
.hero h1 {
  font-family: 'Noto Serif TC', serif;
  font-size: clamp(1.4rem, 3vw, 2.3rem);
  font-weight: 700; line-height: 1.4; letter-spacing: .12em;
  color: rgba(255, 245, 216, .92);
  margin-bottom: 20px;
  white-space: nowrap;
  text-shadow:
    0 0 20px rgba(255, 217, 122, .35),
    0 0 40px rgba(212, 180, 120, .25),
    0 2px 8px rgba(0, 0, 0, .8);
}
@media (max-width: 480px) {
  .hero h1 { font-size: 1.15rem; letter-spacing: .08em; }
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(120deg, #ffd97a 20%, #fff5d8 50%, #d4b478 80%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 16px rgba(255, 217, 122, .5));
}
.hero .lead {
  font-size: .95rem; line-height: 2;
  color: rgba(245, 240, 232, .60);
  letter-spacing: .04em;
  margin: 0 auto 32px;
  max-width: 560px;
}
.hero-btns {
  display: flex; gap: 12px; flex-wrap: wrap; justify-content: center;
}
/* hero CTA 改金色雅緻按鈕、跟蜜思塔羅 hint 同色系 */
.hero-btns .btn-primary {
  background: linear-gradient(135deg, rgba(255, 217, 122, .15), rgba(212, 180, 120, .08));
  color: rgba(255, 245, 216, .95);
  border: 1px solid rgba(255, 217, 122, .55);
  backdrop-filter: blur(4px);
  letter-spacing: .15em; font-weight: 500; padding: 13px 30px;
}
.hero-btns .btn-primary:hover {
  background: linear-gradient(135deg, rgba(255, 217, 122, .28), rgba(212, 180, 120, .18));
  border-color: rgba(255, 217, 122, .85);
  color: #fff5d8;
  box-shadow: 0 0 24px rgba(255, 217, 122, .25);
  transform: translateY(-1px);
}
.hero-btns .btn-ghost-light {
  border-color: rgba(255, 245, 216, .25); color: rgba(255, 245, 216, .82);
  letter-spacing: .15em; padding: 12px 30px;
}
.hero-btns .btn-ghost-light:hover {
  border-color: rgba(255, 217, 122, .55); background: rgba(255, 217, 122, .08); color: #fff5d8;
}

/* ── BUTTONS ── */
.btn {
  display: inline-block; padding: 14px 32px; border-radius: 2px;
  font-size: .9rem; font-weight: 500; letter-spacing: .06em;
  text-decoration: none; transition: all .2s; cursor: pointer; border: 1.5px solid transparent;
}
.btn-primary { background: var(--rust); color: var(--paper); }
.btn-primary:hover { background: var(--rust-light); color: var(--paper); transform: translateY(-1px); }
.btn-ghost-light {
  border-color: rgba(245, 240, 232, .35); color: var(--paper);
  background: transparent;
}
.btn-ghost-light:hover { border-color: var(--paper); background: rgba(245, 240, 232, .08); color: var(--paper); }
.btn-ghost-dark {
  border-color: rgba(26, 18, 8, .25); color: var(--ink);
  background: transparent;
}
.btn-ghost-dark:hover { border-color: var(--rust); color: var(--rust); }

/* ── 雙產品 SHOWCASE（首頁主打、左右分割版面） ── */
.product-showcase {
  position: relative;
  overflow: hidden;
  padding: 120px 0;
}
.showcase-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 64px;
}
.showcase-grid.reverse { direction: rtl; }
.showcase-grid.reverse > * { direction: ltr; }
.showcase-visual {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: 4px;
  overflow: hidden;
}
.showcase-text .stag {
  font-size: .68rem; letter-spacing: .32em; text-transform: uppercase;
  margin-bottom: 18px; display: inline-flex; align-items: center; gap: 12px;
}
.showcase-text .stag::before { content: ''; width: 32px; height: 1px; }
.showcase-text h2 {
  font-family: 'Noto Serif TC', serif;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 900; line-height: 1.15; margin-bottom: 22px;
}
.showcase-text h2 em {
  font-style: normal;
  background: linear-gradient(120deg, #c4541a, #c9a84c);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.showcase-text .stagline {
  font-family: 'Noto Serif TC', serif;
  font-size: 1.2rem; line-height: 1.7; margin-bottom: 18px;
  font-style: italic;
}
.showcase-text .sdesc {
  font-size: .98rem; line-height: 2; color: var(--muted); margin-bottom: 28px;
}
.showcase-text .sfeats {
  list-style: none; padding: 0; margin: 0 0 36px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px;
}
.showcase-text .sfeats li {
  font-size: .85rem; line-height: 1.7;
  padding-left: 16px; position: relative;
}
.showcase-text .sfeats li::before {
  content: '';
  position: absolute; left: 0; top: 12px;
  width: 6px; height: 1px; background: currentColor; opacity: .6;
}
.showcase-text .sbtns { display: flex; gap: 12px; flex-wrap: wrap; }

/* ── 蜜思塔羅 SHOWCASE — 暗紫夜空 ── */
.showcase-misstarot {
  background:
    radial-gradient(ellipse 60% 50% at 70% 30%, rgba(140, 100, 200, .15), transparent 60%),
    radial-gradient(ellipse 60% 50% at 20% 70%, rgba(196, 84, 26, .12), transparent 60%),
    linear-gradient(180deg, #0a0420 0%, #15063a 50%, #0a0420 100%);
  color: rgba(245, 240, 232, .9);
}
.showcase-misstarot .showcase-text .stag { color: #ffd97a; }
.showcase-misstarot .showcase-text .stag::before { background: linear-gradient(90deg, transparent, rgba(255, 217, 122, .8)); }
.showcase-misstarot .showcase-text h2 { color: rgba(255, 245, 216, .95); text-shadow: 0 0 24px rgba(255, 217, 122, .15); }
.showcase-misstarot .showcase-text h2 em {
  background: linear-gradient(120deg, #ffd97a 20%, #fff5d8 50%, #d4b478 80%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.showcase-misstarot .showcase-text .stagline { color: rgba(255, 217, 122, .85); }
.showcase-misstarot .showcase-text .sdesc { color: rgba(245, 240, 232, .65); }
.showcase-misstarot .showcase-text .sfeats li { color: rgba(245, 240, 232, .82); }
.showcase-misstarot .showcase-text .sfeats li::before { background: rgba(255, 217, 122, .7); opacity: 1; }
.showcase-misstarot .btn-primary {
  background: linear-gradient(135deg, rgba(255, 217, 122, .15), rgba(212, 180, 120, .08));
  color: rgba(255, 245, 216, .95);
  border: 1px solid rgba(255, 217, 122, .55);
}
.showcase-misstarot .btn-primary:hover {
  background: linear-gradient(135deg, rgba(255, 217, 122, .28), rgba(212, 180, 120, .18));
  color: #fff5d8; border-color: rgba(255, 217, 122, .85);
  box-shadow: 0 0 24px rgba(255, 217, 122, .25);
}
.showcase-misstarot .btn-ghost-light {
  border-color: rgba(255, 245, 216, .25); color: rgba(255, 245, 216, .82);
}
.showcase-misstarot .btn-ghost-light:hover {
  border-color: rgba(255, 217, 122, .55); background: rgba(255, 217, 122, .08); color: #fff5d8;
}
/* 蜜思塔羅視覺：3 張卡疊放 */
.showcase-misstarot .showcase-visual {
  background: radial-gradient(ellipse at 50% 40%, #2a1858, #0a0420 70%);
  display: flex; align-items: center; justify-content: center;
}
.showcase-misstarot .showcase-visual::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(1.2px 1.2px at 18% 22%, #fff5d8, transparent 60%),
    radial-gradient(1px 1px at 32% 58%, #ffe9b8, transparent 60%),
    radial-gradient(1.4px 1.4px at 47% 18%, #fff, transparent 60%),
    radial-gradient(1px 1px at 65% 71%, #d4b478, transparent 60%),
    radial-gradient(1.2px 1.2px at 78% 32%, #fff5d8, transparent 60%),
    radial-gradient(1px 1px at 88% 81%, #fff, transparent 60%),
    radial-gradient(0.8px 0.8px at 12% 78%, #ffe9b8, transparent 60%),
    radial-gradient(0.8px 0.8px at 56% 88%, #fff, transparent 60%);
  animation: starsTwinkleSlow 5s ease-in-out infinite alternate;
  opacity: .85;
}
@keyframes starsTwinkleSlow { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }
.showcase-cards-stack {
  position: relative; width: 70%; height: 80%;
  display: flex; align-items: center; justify-content: center;
}
.showcase-cards-stack .scard {
  position: absolute; width: 50%; aspect-ratio: 5/8;
  border-radius: 6px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, .55), 0 0 30px rgba(255, 217, 122, .15);
  border: 1px solid rgba(212, 180, 120, .4);
  background-size: cover; background-position: center;
  transition: transform .6s cubic-bezier(.2, .8, .25, 1);
}
.showcase-cards-stack .scard.s1 { transform: rotate(-12deg) translateX(-22%) translateY(8%); z-index: 1; }
.showcase-cards-stack .scard.s2 { transform: rotate(0) translateY(-4%); z-index: 2; }
.showcase-cards-stack .scard.s3 { transform: rotate(12deg) translateX(22%) translateY(8%); z-index: 1; }
.showcase-misstarot .showcase-visual:hover .scard.s1 { transform: rotate(-18deg) translateX(-32%) translateY(4%); }
.showcase-misstarot .showcase-visual:hover .scard.s3 { transform: rotate(18deg) translateX(32%) translateY(4%); }

/* ── 人生格子 SHOWCASE — 米白極簡 ── */
.showcase-lifegrid {
  background: linear-gradient(180deg, #fbf8f0 0%, #f5f0e8 50%, #ede4d2 100%);
  color: var(--ink);
}
.showcase-lifegrid .showcase-text .stag { color: var(--ink); }
.showcase-lifegrid .showcase-text .stag::before { background: linear-gradient(90deg, transparent, var(--ink)); }
.showcase-lifegrid .showcase-text h2 em {
  background: linear-gradient(120deg, var(--ink), var(--rust));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.showcase-lifegrid .showcase-text .stagline { color: var(--ink); }
.showcase-lifegrid .showcase-text .sdesc { color: rgba(26, 18, 8, .65); }
.showcase-lifegrid .showcase-visual {
  background: var(--ink);
  padding: 32px; aspect-ratio: 4/5;
  display: flex; align-items: center; justify-content: center;
}
/* 人生格子 mini 矩陣 */
.lifegrid-mini {
  display: grid;
  grid-template-columns: repeat(26, 1fr);
  gap: 2px;
  width: 100%; height: 100%;
}
.lifegrid-mini > div {
  aspect-ratio: 1;
  border-radius: 1px;
  background: rgba(245, 240, 232, .06);
}
.lifegrid-mini > div.lived { background: rgba(245, 240, 232, .55); }
.lifegrid-mini > div.now {
  background: linear-gradient(135deg, #c4541a, #c9a84c);
  box-shadow: 0 0 12px rgba(196, 84, 26, .9);
  animation: lifegridPulse 2s ease-in-out infinite;
}
@keyframes lifegridPulse {
  0%, 100% { box-shadow: 0 0 8px rgba(196, 84, 26, .7); transform: scale(1); }
  50%      { box-shadow: 0 0 18px rgba(196, 84, 26, 1); transform: scale(1.15); }
}
.lifegrid-stat-overlay {
  position: absolute; bottom: 24px; left: 24px;
  font-family: 'DM Serif Display', 'Noto Serif TC', serif;
  color: rgba(245, 240, 232, .92);
  pointer-events: none;
}
.lifegrid-stat-overlay .num {
  font-size: 2.4rem; line-height: 1; letter-spacing: -.02em;
}
.lifegrid-stat-overlay .lab {
  font-size: .72rem; letter-spacing: .18em; text-transform: uppercase;
  color: rgba(245, 240, 232, .55); margin-top: 4px;
}

@media (max-width: 880px) {
  .product-showcase { padding: 64px 0; }
  .showcase-grid { grid-template-columns: 1fr; gap: 36px; padding: 0 24px; }
  .showcase-grid.reverse { direction: ltr; }
  .showcase-text .sfeats { grid-template-columns: 1fr; }
  .showcase-visual { aspect-ratio: 16/12; max-width: 480px; margin: 0 auto; width: 100%; }
}

/* ── BELIEF QUOTE 段（升級版） ── */
.belief {
  padding: 140px 0;
  background: var(--ink);
  color: var(--paper);
  position: relative; overflow: hidden;
}
.belief::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(196, 84, 26, .08), transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(201, 168, 76, .08), transparent 50%);
}
.belief-inner {
  position: relative; z-index: 1;
  max-width: 920px; margin: 0 auto;
  padding: 0 48px;
  text-align: center;
}
.belief-quote-mark {
  font-family: 'DM Serif Display', serif;
  font-size: 6rem; line-height: 1;
  color: rgba(212, 180, 120, .35);
  margin-bottom: -16px;
}
.belief-quote {
  font-family: 'Noto Serif TC', serif;
  font-size: clamp(1.5rem, 3.2vw, 2.4rem);
  font-weight: 700; line-height: 1.7; letter-spacing: .04em;
  margin-bottom: 32px;
}
.belief-quote em {
  font-style: normal;
  background: linear-gradient(120deg, #ffd97a, #d4b478);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.belief-cite {
  font-size: .72rem; letter-spacing: .32em; text-transform: uppercase;
  color: rgba(212, 180, 120, .8);
  display: inline-flex; align-items: center; gap: 12px;
}
.belief-cite::before, .belief-cite::after {
  content: ''; width: 32px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212, 180, 120, .8));
}
.belief-cite::after { background: linear-gradient(90deg, rgba(212, 180, 120, .8), transparent); }

/* ── PRODUCT GRID（首頁產品三宮格） ── */
.product-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.product-card {
  background: var(--paper); padding: 40px 32px;
  border: 1px solid var(--line); border-radius: 2px;
  transition: all .25s; position: relative; overflow: hidden;
  display: flex; flex-direction: column;
}
.product-card:hover { border-color: var(--rust); transform: translateY(-4px); box-shadow: 0 12px 32px rgba(26, 18, 8, .08); }
.product-card .ptag {
  font-size: .68rem; font-weight: 500; letter-spacing: .18em;
  color: var(--rust); text-transform: uppercase; margin-bottom: 14px;
}
.product-card h3 {
  font-family: 'Noto Serif TC', serif;
  font-size: 1.5rem; font-weight: 900; margin-bottom: 12px;
}
.product-card .pdesc {
  font-size: .9rem; color: var(--muted); line-height: 1.85;
  flex-grow: 1; margin-bottom: 22px;
}
.product-card .plink {
  font-size: .82rem; font-weight: 500; letter-spacing: .08em;
  color: var(--rust); text-transform: uppercase;
}
.product-card .plink::after { content: ' →'; transition: transform .2s; display: inline-block; }
.product-card:hover .plink::after { transform: translateX(4px); }

.product-card.placeholder { opacity: .55; }
.product-card.placeholder:hover { transform: none; box-shadow: none; border-color: var(--line); }

/* ── ABOUT / GENERIC SECTIONS ── */
.about-section { background: var(--sand); }
.about-grid {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center;
}
.about-grid p {
  font-size: 1rem; color: var(--ink); line-height: 1.95; margin-bottom: 18px;
}

.feature-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px; margin-top: 40px;
}
.feature {
  padding: 24px; border-left: 2px solid var(--rust);
  background: rgba(196, 84, 26, .04);
}
.feature h4 {
  font-family: 'Noto Serif TC', serif;
  font-size: 1rem; font-weight: 700; margin-bottom: 8px;
}
.feature p { font-size: .85rem; color: var(--muted); line-height: 1.8; }

/* ── PRODUCT DETAIL（產品介紹頁） ── */
.product-hero {
  background: var(--ink); color: var(--paper);
  padding: 120px 0 80px;
}
.product-hero .container {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
}
.product-hero .product-tag {
  font-size: .72rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--rust-light); margin-bottom: 18px;
}
.product-hero h1 {
  font-family: 'Noto Serif TC', serif;
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 900; line-height: 1.1;
  color: var(--paper); margin-bottom: 18px;
}
.product-hero .product-tagline {
  font-size: 1.2rem; color: rgba(245, 240, 232, .72);
  margin-bottom: 36px;
}
.product-hero .product-actions {
  display: flex; gap: 12px; flex-wrap: wrap;
}
.product-hero .visual {
  aspect-ratio: 4/5;
  background: linear-gradient(135deg, var(--rust) 0%, var(--gold) 100%);
  border-radius: 4px; opacity: .85;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Noto Serif TC', serif;
  font-size: 6rem; font-weight: 900; color: var(--paper);
}

.product-features { padding: 80px 0; }
.product-features-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px; margin-top: 48px;
}
.pf-item {
  padding: 28px;
  border: 1px solid var(--line); border-radius: 2px;
  transition: border-color .2s;
}
.pf-item:hover { border-color: var(--rust); }
.pf-item .num {
  font-family: 'DM Serif Display', serif;
  font-size: 2.5rem; color: rgba(196, 84, 26, .25);
  line-height: 1; margin-bottom: 12px;
}
.pf-item h3 {
  font-family: 'Noto Serif TC', serif;
  font-size: 1.1rem; font-weight: 700; margin-bottom: 10px;
}
.pf-item p { font-size: .88rem; color: var(--muted); line-height: 1.85; }

/* ── LEGAL / PROSE PAGE ── */
.prose {
  padding: 64px 0 120px;
}
.prose h2 {
  font-family: 'Noto Serif TC', serif;
  font-size: 1.6rem; font-weight: 900;
  margin-top: 48px; margin-bottom: 16px;
  padding-bottom: 12px; border-bottom: 1px solid var(--line);
}
.prose h2:first-child { margin-top: 0; }
.prose h3 {
  font-family: 'Noto Serif TC', serif;
  font-size: 1.15rem; font-weight: 700;
  margin-top: 28px; margin-bottom: 12px;
}
.prose p { margin-bottom: 16px; line-height: 1.9; color: #2a1d10; }
.prose ul, .prose ol {
  margin: 16px 0 20px 24px;
  line-height: 1.9; color: #2a1d10;
}
.prose li { margin-bottom: 8px; }
.prose strong { color: var(--ink); font-weight: 700; }
.prose code {
  background: var(--sand); padding: 2px 6px; border-radius: 2px;
  font-size: .88em; font-family: 'SF Mono', Menlo, monospace;
}
.prose blockquote {
  border-left: 3px solid var(--rust);
  padding: 8px 20px; margin: 20px 0;
  background: rgba(196, 84, 26, .05);
  font-size: .92em; color: var(--muted);
}
.prose .meta {
  font-size: .85rem; color: var(--muted);
  padding: 12px 16px; background: var(--sand);
  margin-bottom: 32px; border-radius: 2px;
}
.prose .toc {
  background: var(--sand); padding: 24px;
  border-radius: 2px; margin-bottom: 36px;
}
.prose .toc h3 { margin-top: 0; font-size: 1rem; }
.prose .toc ul { margin: 8px 0 0 18px; }
.prose .toc li { margin-bottom: 4px; font-size: .9rem; }

/* ── FAQ（support 用） ── */
.faq { margin-top: 32px; }
.faq-cat {
  font-size: .72rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--rust); margin-top: 36px; margin-bottom: 16px;
}
.faq details {
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}
.faq details summary {
  cursor: pointer; font-weight: 500; font-size: .98rem;
  list-style: none; position: relative; padding-right: 32px;
}
.faq details summary::-webkit-details-marker { display: none; }
.faq details summary::after {
  content: '+'; position: absolute; right: 0; top: 0;
  font-size: 1.5rem; color: var(--rust); font-weight: 300;
  transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p {
  margin-top: 14px; line-height: 1.9; color: var(--muted); font-size: .9rem;
}

/* ── CONTACT FORM ── */
.contact-grid {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; margin-top: 32px;
}
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
label { font-size: .78rem; font-weight: 500; letter-spacing: .06em; color: var(--ink); }
input, textarea, select {
  background: transparent; border: 1.5px solid rgba(26, 18, 8, .18);
  border-radius: 2px; padding: 12px 16px;
  font-family: 'Noto Sans TC', sans-serif; font-size: .9rem; color: var(--ink);
  outline: none; transition: border-color .2s; width: 100%;
}
input:focus, textarea:focus, select:focus { border-color: var(--rust); }
textarea { resize: vertical; min-height: 140px; }

.contact-info-list { display: flex; flex-direction: column; gap: 22px; }
.ci-item { display: flex; gap: 16px; align-items: flex-start; }
.ci-icon {
  width: 38px; height: 38px; border-radius: 2px;
  background: rgba(196, 84, 26, .1);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-size: 1rem;
}
.ci-label { font-size: .72rem; color: var(--muted); margin-bottom: 4px; letter-spacing: .08em; text-transform: uppercase; }
.ci-val { font-size: .92rem; font-weight: 500; }
.ci-val a { color: var(--ink); }
.ci-val a:hover { color: var(--rust); }

/* ── FOOTER ── */
footer {
  background: var(--ink); color: var(--paper);
  padding: 64px 0 32px;
  border-top: 4px solid var(--rust);
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px;
  margin-bottom: 48px;
}
.footer-brand h4 {
  font-family: 'Noto Serif TC', serif;
  font-size: 1.15rem; font-weight: 900; margin-bottom: 12px;
  color: var(--paper);
}
.footer-brand p { font-size: .85rem; color: rgba(245, 240, 232, .55); line-height: 1.85; max-width: 360px; }
.footer-col h5 {
  font-size: .72rem; letter-spacing: .15em; text-transform: uppercase;
  color: rgba(245, 240, 232, .45);
  margin-bottom: 18px; font-weight: 500;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { font-size: .88rem; color: rgba(245, 240, 232, .8); }
.footer-col a:hover { color: var(--rust-light); }

.footer-bottom {
  border-top: 1px solid rgba(245, 240, 232, .1);
  padding-top: 28px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 16px;
  font-size: .8rem; color: rgba(245, 240, 232, .45);
}
.footer-bottom .legal-links { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-bottom a { color: rgba(245, 240, 232, .55); }
.footer-bottom a:hover { color: var(--rust-light); }

/* ── COOKIE BANNER ── */
.cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 200;
  background: var(--ink); color: var(--paper);
  padding: 18px 24px;
  display: none; align-items: center; gap: 24px;
  box-shadow: 0 -4px 24px rgba(0, 0, 0, .15);
}
.cookie-banner.show { display: flex; }
.cookie-banner p {
  flex: 1; font-size: .85rem; line-height: 1.7;
  color: rgba(245, 240, 232, .85);
}
.cookie-banner p a { color: var(--rust-light); text-decoration: underline; }
.cookie-banner-actions { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-banner button {
  font-family: inherit; cursor: pointer; border: 0;
  padding: 10px 20px; border-radius: 2px;
  font-size: .82rem; font-weight: 500; letter-spacing: .04em;
}
.cookie-accept { background: var(--rust); color: var(--paper); }
.cookie-decline { background: transparent; color: var(--paper); border: 1px solid rgba(245, 240, 232, .35) !important; }

/* ── RESPONSIVE ── */
@media (max-width: 880px) {
  .nav { padding: 0 24px; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .container, .container-narrow { padding: 0 24px; }
  section { padding: 56px 0; }
  .hero-inner { padding: 64px 24px; }
  .about-grid,
  .product-hero .container,
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .form-row { grid-template-columns: 1fr; }
  .product-hero { padding: 80px 0 48px; }
  .product-hero .visual { aspect-ratio: 1; font-size: 4rem; }
  .cookie-banner { flex-direction: column; align-items: flex-start; gap: 14px; padding: 18px 20px; }
  .cookie-banner-actions { width: 100%; }
  .cookie-banner button { flex: 1; }
}
@media (max-width: 540px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
