/* ============================================================
   觀時定局門 — 共用設計系統
   參考 logo 黑金配色,風格:沉穩、乾淨、有質感
   ============================================================ */

:root {
  /* 主色 — 深墨 / 米紙 / 金 */
  --ink:        #0d0c0a;          /* 近黑 — logo 圓盤底色 */
  --ink-soft:   #1a1814;
  --ink-2:      #2a2520;
  --ink-3:      #3a342c;
  --ink-mute:   #6b6256;

  --paper:      #f6f1e6;          /* 暖米白 */
  --paper-soft: #ece6d5;
  --paper-warm: #faf6ec;

  --gold:       #c9a961;          /* 主金色 — 比對 logo */
  --gold-soft:  #d9bd80;
  --gold-deep:  #8a7339;
  --gold-dim:   rgba(201, 169, 97, 0.18);

  --line-dark:  rgba(201, 169, 97, 0.16);
  --line-light: rgba(26, 22, 18, 0.10);

  /* 字體 */
  --serif:  "Noto Serif TC", "Songti TC", "STSongti-TC-Regular", "STSong", "PMingLiU", serif;
  --sans:   "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", -apple-system, system-ui, sans-serif;
  --display: "Cormorant Garamond", "Noto Serif TC", serif;  /* 西文 L 字 / 點綴 */
  --mono:   "JetBrains Mono", ui-monospace, "Courier New", monospace;

  /* 容器 */
  --container: 1280px;
  --pad-x: 56px;

  /* 過渡 */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

@media (max-width: 768px) {
  :root {
    --pad-x: 24px;
  }
}

/* ============================================================
   Reset
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "palt" 1;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; background: none; border: none; padding: 0; color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, h5, p { margin: 0; }
::selection { background: var(--gold); color: var(--ink); }

/* ============================================================
   全域佈局
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

.section {
  padding: clamp(80px, 12vw, 160px) 0;
}

/* ============================================================
   字體尺度
   ============================================================ */
.t-display {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(26px, 6.2vw, 84px);
  letter-spacing: 0.04em;
  line-height: 1.12;
  white-space: nowrap;
}
.t-h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(24px, 4.4vw, 56px);
  letter-spacing: 0.04em;
  line-height: 1.2;
  white-space: nowrap;
}
.t-h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(26px, 3vw, 38px);
  letter-spacing: 0.04em;
  line-height: 1.3;
}
.t-h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(20px, 2vw, 24px);
  letter-spacing: 0.06em;
  line-height: 1.4;
}
.t-lead {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.85;
  letter-spacing: 0.03em;
}
.t-body {
  font-size: 17px;
  line-height: 1.9;
  color: var(--ink-mute);
}
.t-eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-deep);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.t-eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
}
.t-eyebrow.is-center::before { display: none; }
.t-eyebrow.is-center::after { display: none; }
.t-eyebrow.dual::before,
.t-eyebrow.dual::after {
  content: "";
  width: 24px;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
}

.t-mono {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--ink-mute);
  text-transform: uppercase;
}

/* 西文點綴 */
.t-display-en {
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0.02em;
}

/* 直書 */
.t-vertical {
  writing-mode: vertical-rl;
  text-orientation: upright;
  font-family: var(--serif);
}

/* ============================================================
   主題:深色區塊
   ============================================================ */
.theme-dark {
  background: var(--ink);
  color: var(--paper);
}
.theme-dark .t-body { color: rgba(246, 241, 230, 0.72); }
.theme-dark .t-eyebrow { color: var(--gold); }
.theme-dark .t-mono { color: rgba(246, 241, 230, 0.55); }

/* 紙紋背景(極淡)— 給淺色區塊一點質感 */
.theme-paper {
  background: var(--paper);
  position: relative;
}
.theme-paper-warm {
  background: var(--paper-warm);
}

/* ============================================================
   按鈕
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 32px;
  font-family: var(--sans);
  font-size: 14px;
  letter-spacing: 0.12em;
  font-weight: 500;
  background: var(--ink);
  color: var(--paper);
  border: 1px solid var(--ink);
  transition: all 280ms var(--ease);
  cursor: pointer;
  white-space: nowrap;
}
.btn:hover {
  background: var(--gold-deep);
  border-color: var(--gold-deep);
  color: var(--paper);
}
.btn .arrow {
  display: inline-block;
  transition: transform 280ms var(--ease);
}
.btn:hover .arrow { transform: translateX(4px); }

.btn-gold {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
}
.btn-gold:hover {
  background: var(--gold-soft);
  border-color: var(--gold-soft);
  color: var(--ink);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
}
.btn-ghost:hover {
  background: var(--ink);
  color: var(--paper);
}

.theme-dark .btn-ghost {
  color: var(--paper);
  border-color: rgba(246, 241, 230, 0.32);
}
.theme-dark .btn-ghost:hover {
  background: var(--gold);
  color: var(--ink);
  border-color: var(--gold);
}

/* ============================================================
   微元件
   ============================================================ */

/* 細金線分隔 */
.divider-gold {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--gold);
}
.divider-gold::before,
.divider-gold::after {
  content: "";
  flex: 1;
  height: 1px;
  background: currentColor;
  opacity: 0.45;
}
.divider-gold .dot {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: currentColor;
}

/* 中式裝飾鈕 — 簡易菱形 */
.diamond {
  width: 6px; height: 6px;
  background: var(--gold);
  transform: rotate(45deg);
  display: inline-block;
}

/* 數字標記 */
.numtag {
  font-family: var(--display);
  font-style: italic;
  font-size: 14px;
  letter-spacing: 0.05em;
  color: var(--gold-deep);
}

/* ============================================================
   Nav (system-injected, but base styles here)
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(13, 12, 10, 0);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  transition: background 280ms var(--ease), border-color 280ms var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(246, 241, 230, 0.92);
  border-bottom-color: var(--line-light);
}
.site-header.is-scrolled.on-dark {
  background: rgba(13, 12, 10, 0.85);
  border-bottom-color: var(--line-dark);
}
.site-header .nav-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 116px;
  gap: 40px;
}
.site-header .nav-inner.nav-left-layout {
  grid-template-columns: auto 1fr auto;
}

.site-header .brand-stacked {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-self: center;
  height: 100%;
  padding: 12px 0;
}
.site-header.nav-layout-left .brand-stacked {
  align-items: flex-start;
  justify-self: start;
}
.site-header .brand-stacked img {
  height: 100%;
  max-height: 88px;
  width: auto;
  transition: filter 280ms var(--ease);
  display: block;
}
.site-header.nav-layout-left .brand-stacked img { max-height: 64px; }
.site-header .brand-stacked .brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
  align-items: center;
  gap: 2px;
}
.site-header.nav-layout-left .brand-stacked .brand-text {
  align-items: flex-start;
}
.site-header .brand-stacked .brand-zh {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.36em;
  padding-left: 0.36em;
  color: var(--ink);
}
.site-header.nav-layout-left .brand-stacked .brand-zh {
  font-size: 13px;
  padding-left: 0;
}
.site-header .brand-stacked .brand-en {
  font-family: var(--display);
  font-style: italic;
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--gold-deep);
}

.site-header .nav-links {
  display: flex;
  gap: 36px;
  align-items: center;
}
.site-header .nav-links.nav-left  { justify-content: flex-end; }
.site-header .nav-links.nav-right { justify-content: flex-start; }
.site-header .nav-links.nav-all-right { justify-content: flex-end; }
.site-header .nav-links a {
  font-size: 13.5px;
  letter-spacing: 0.14em;
  color: var(--ink-soft);
  position: relative;
  padding: 6px 0;
  transition: color 220ms var(--ease);
}
.site-header .nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 320ms var(--ease);
}
.site-header .nav-links a:hover { color: var(--ink); }
.site-header .nav-links a:hover::after { transform: scaleX(1); }
.site-header .nav-cta {
  font-size: 13px;
}

/* Dark hero variant — top of page is dark, use dark-variant logo (cream brush) */
.site-header.on-dark .brand-stacked img {
  filter: none;
}
.site-header.on-dark .nav-links a { color: rgba(246, 241, 230, 0.78); }
.site-header.on-dark .nav-links a:hover { color: var(--paper); }
.site-header.on-dark .nav-cta {
  border-color: rgba(246, 241, 230, 0.32);
  color: var(--paper);
  background: transparent;
}
.site-header.on-dark .nav-cta:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
}

/* Mobile nav */
.nav-toggle {
  display: none;
  width: 32px; height: 32px;
  align-items: center;
  justify-content: center;
  position: relative;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--ink);
  position: relative;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 1px;
  background: currentColor;
}
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }
.site-header.on-dark .nav-toggle span,
.site-header.on-dark .nav-toggle span::before,
.site-header.on-dark .nav-toggle span::after {
  background: var(--paper);
}

@media (max-width: 1024px) {
  .site-header .nav-inner,
  .site-header .nav-inner.nav-left-layout {
    height: 72px;
    grid-template-columns: 1fr;
    gap: 0;
  }
  .site-header .brand-stacked {
    flex-direction: row;
    align-items: center;
    justify-self: start;
    gap: 12px;
    text-align: left;
  }
  .site-header .brand-stacked img { height: 38px; }
  .site-header .brand-stacked .brand-text { align-items: flex-start; gap: 2px; }
  .site-header .brand-stacked .brand-zh { font-size: 14px; letter-spacing: 0.22em; padding-left: 0; }
  .site-header .brand-stacked .brand-en { font-size: 9px; }
  .site-header .nav-links { display: none; }
  .nav-toggle {
    display: inline-flex;
    position: absolute;
    right: var(--pad-x);
    top: 36px;
    transform: translateY(-50%);
    z-index: 5;
  }

  /* === 展開時:整個 site-header 從固定高度撐開為自然高度,左右兩段 nav 依序排列 === */
  .site-header.is-open {
    background: var(--paper);
    border-bottom: 1px solid var(--line-light);
    height: auto;
    bottom: auto;
  }
  .site-header.is-open.on-dark {
    background: var(--ink);
    border-bottom-color: var(--line-dark);
  }
  .site-header.is-open .nav-inner,
  .site-header.is-open .nav-inner.nav-left-layout {
    height: auto;
    grid-auto-rows: auto;
    grid-template-rows: 72px auto auto;
    padding-bottom: 28px;
  }
  .site-header.is-open .nav-links,
  .site-header.is-open .nav-links.nav-left,
  .site-header.is-open .nav-links.nav-right,
  .site-header.is-open .nav-links.nav-all-right {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    position: static;       /* 取消 absolute 重疊 */
    width: 100%;
    background: transparent;
    padding: 8px 0 0;
    gap: 18px;
    border: none;
  }
  .site-header.is-open .nav-links.nav-left {
    padding-top: 20px;
    border-top: 1px solid var(--line-light);
    margin-top: 8px;
  }
  /* Round 23 v17:mobile drawer grid-row 明確指定(brand → nav-left → nav-right) */
  .site-header.is-open .brand-stacked { grid-row: 1; }
  .site-header.is-open .nav-links.nav-left { grid-row: 2; }
  .site-header.is-open .nav-links.nav-right { grid-row: 3; }
  .site-header.is-open .nav-links.nav-all-right { grid-row: 2; }
  .site-header.is-open.on-dark .nav-links.nav-left {
    border-top-color: var(--line-dark);
  }
  .site-header.is-open .nav-links a {
    font-size: 16px;
    letter-spacing: 0.2em;
    padding: 8px 0;
  }
}

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  background: var(--ink);
  color: rgba(246, 241, 230, 0.72);
  padding: 80px 0 32px;
  position: relative;
  margin-top: auto;
}
.site-footer .footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.site-footer .footer-brand img {
  height: 56px;
  margin-bottom: 20px;
}
.site-footer .footer-brand .desc {
  font-size: 14px;
  line-height: 1.85;
  max-width: 320px;
  color: rgba(246, 241, 230, 0.68);
}
.site-footer .footer-col h4 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.24em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 20px;
  font-weight: 400;
}
.site-footer .footer-col ul li {
  margin-bottom: 12px;
}
.site-footer .footer-col a,
.site-footer .footer-col span {
  font-size: 14px;
  color: rgba(246, 241, 230, 0.7);
  transition: color 220ms var(--ease);
}
.site-footer .footer-col a:hover { color: var(--gold); }
.site-footer .social {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}
.site-footer .social a {
  width: 36px; height: 36px;
  border: 1px solid rgba(246, 241, 230, 0.22);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 220ms var(--ease);
}
.site-footer .social a:hover {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--ink);
}
.site-footer .copyright {
  margin-top: 64px;
  padding-top: 24px;
  border-top: 1px solid rgba(246, 241, 230, 0.12);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: rgba(246, 241, 230, 0.45);
  text-transform: uppercase;
  flex-wrap: wrap;
}

@media (max-width: 900px) {
  .site-footer { padding-top: 56px; }
  .site-footer .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
  .site-footer .footer-brand { grid-column: 1 / -1; }
  .site-footer .copyright { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 540px) {
  .site-footer .footer-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   Reveal animation
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 900ms var(--ease), transform 900ms var(--ease);
}
.reveal.is-in {
  opacity: 1;
  transform: none;
}

/* Slight stagger helpers */
.reveal[data-delay="100"] { transition-delay: 100ms; }
.reveal[data-delay="200"] { transition-delay: 200ms; }
.reveal[data-delay="300"] { transition-delay: 300ms; }
.reveal[data-delay="400"] { transition-delay: 400ms; }
.reveal[data-delay="500"] { transition-delay: 500ms; }

/* ============================================================
   Hero – starfield/gold-dust decoration (CSS only)
   ============================================================ */
.starfield {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(1.5px 1.5px at 12% 18%, rgba(201, 169, 97, 0.55), transparent 60%),
    radial-gradient(1px 1px at 78% 32%, rgba(201, 169, 97, 0.4), transparent 60%),
    radial-gradient(1.5px 1.5px at 42% 78%, rgba(201, 169, 97, 0.5), transparent 60%),
    radial-gradient(1px 1px at 88% 64%, rgba(201, 169, 97, 0.35), transparent 60%),
    radial-gradient(2px 2px at 22% 52%, rgba(201, 169, 97, 0.3), transparent 60%),
    radial-gradient(1px 1px at 64% 88%, rgba(201, 169, 97, 0.4), transparent 60%),
    radial-gradient(1.5px 1.5px at 6% 78%, rgba(201, 169, 97, 0.3), transparent 60%),
    radial-gradient(1px 1px at 94% 12%, rgba(201, 169, 97, 0.4), transparent 60%);
}

.hero-glow {
  position: absolute;
  width: 720px; height: 720px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 169, 97, 0.12) 0%, transparent 60%);
  pointer-events: none;
  filter: blur(20px);
}

/* ============================================================
   Card primitives
   ============================================================ */
.card {
  background: var(--paper-warm);
  border: 1px solid var(--line-light);
  padding: 40px 36px;
  transition: all 320ms var(--ease);
  position: relative;
}
.card:hover {
  transform: translateY(-3px);
  border-color: var(--gold);
  box-shadow: 0 24px 60px -30px rgba(13, 12, 10, 0.25);
}

.theme-dark .card {
  background: var(--ink-soft);
  border-color: var(--line-dark);
}
.theme-dark .card:hover {
  border-color: var(--gold);
  box-shadow: 0 24px 60px -30px rgba(0, 0, 0, 0.8);
}

/* ============================================================
   Forms
   ============================================================ */
input, textarea, select {
  font: inherit;
  color: inherit;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line-light);
  padding: 14px 0;
  width: 100%;
  outline: none;
  transition: border-color 220ms var(--ease);
  border-radius: 0;
}
.theme-dark input,
.theme-dark textarea,
.theme-dark select {
  border-bottom-color: rgba(246, 241, 230, 0.22);
  color: var(--paper);
}
input:focus, textarea:focus, select:focus { border-color: var(--gold); }
textarea { resize: vertical; min-height: 120px; }
label.field {
  display: block;
}
label.field > .label {
  display: block;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 4px;
}
.theme-dark label.field > .label { color: var(--gold); }

/* ============================================================
   Footer — 雙版型 + social + floating CTA
   ============================================================ */
body[data-nav-theme="light"] .site-footer {
  background: var(--paper);
  color: var(--ink);
  border-top: 1px solid var(--line-light);
}
body[data-nav-theme="light"] .site-footer .footer-col h4 { color: var(--gold-deep); }
body[data-nav-theme="light"] .site-footer .footer-col a,
body[data-nav-theme="light"] .site-footer .footer-col span,
body[data-nav-theme="light"] .site-footer .footer-brand .desc { color: var(--ink-mute); }
body[data-nav-theme="light"] .site-footer .footer-col a:hover { color: var(--gold-deep); }
body[data-nav-theme="light"] .site-footer .copyright {
  color: var(--ink-mute);
  border-top-color: var(--line-light);
}
body[data-nav-theme="light"] .site-footer .social a {
  border-color: var(--line-light);
  color: var(--ink-mute);
}
body[data-nav-theme="light"] .site-footer .social a:hover {
  border-color: var(--gold-deep);
  background: var(--gold-deep);
  color: var(--paper);
}
.site-footer .footer-co {
  display: grid;
  gap: 12px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(246,241,230,0.12);
}
body[data-nav-theme="light"] .site-footer .footer-co { border-top-color: var(--line-light); }
.site-footer .footer-co .co-line {
  display: flex;
  gap: 12px;
  align-items: baseline;
  font-size: 13.5px;
  letter-spacing: 0.04em;
}
.site-footer .footer-co .co-line .lbl {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.24em;
  color: var(--gold);
  text-transform: uppercase;
  min-width: 56px;
}
body[data-nav-theme="light"] .site-footer .footer-co .co-line .lbl { color: var(--gold-deep); }
.site-footer .footer-co .co-line .val {
  color: rgba(246,241,230,0.78);
  font-family: var(--serif);
}
body[data-nav-theme="light"] .site-footer .footer-co .co-line .val { color: var(--ink); }

/* ============================================================
   Floating quick-contact button (右下)
   ============================================================ */
.quick-contact {
  position: fixed;
  right: 24px; bottom: 24px;
  z-index: 90;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}
.quick-contact .qc-fab {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  box-shadow: 0 16px 40px -16px rgba(13,12,10,0.6),
              0 4px 12px -4px rgba(201,169,97,0.5);
  transition: all 260ms var(--ease);
  position: relative;
}
.quick-contact .qc-fab:hover {
  background: var(--gold-soft);
  transform: translateY(-2px);
}
.quick-contact .qc-fab svg { width: 24px; height: 24px; }
.quick-contact .qc-fab::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  opacity: 0;
  animation: qc-pulse 2.4s ease-out infinite;
}
@keyframes qc-pulse {
  0%   { opacity: 0.7; transform: scale(1); }
  100% { opacity: 0;   transform: scale(1.35); }
}
.quick-contact .qc-menu {
  display: none;
  flex-direction: column;
  gap: 10px;
  background: var(--ink);
  color: var(--paper);
  padding: 16px;
  border: 1px solid var(--line-dark);
  box-shadow: 0 24px 60px -20px rgba(0,0,0,0.5);
  min-width: 220px;
  margin-bottom: 4px;
}
.quick-contact.is-open .qc-menu { display: flex; }
.quick-contact .qc-menu .qc-head {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.24em;
  color: var(--gold);
  text-transform: uppercase;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line-dark);
  margin-bottom: 4px;
}
.quick-contact .qc-menu a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  color: var(--paper);
  font-size: 13.5px;
  letter-spacing: 0.04em;
  transition: all 220ms var(--ease);
  border: 1px solid transparent;
}
.quick-contact .qc-menu a:hover {
  background: var(--ink-soft);
  border-color: var(--line-dark);
  color: var(--gold);
}
.quick-contact .qc-menu a .qcicon {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--ink-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  flex-shrink: 0;
}
.quick-contact .qc-menu a .qcicon svg { width: 14px; height: 14px; }
@media (max-width: 540px) {
  .quick-contact { right: 16px; bottom: 16px; }
  .quick-contact .qc-fab { width: 56px; height: 56px; }
  .quick-contact .qc-fab svg { width: 22px; height: 22px; }
}
.nav-layout-switcher {
  position: fixed;
  right: 20px; bottom: 20px;
  z-index: 200;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px 10px 18px;
  background: rgba(13,12,10,0.92);
  color: var(--paper);
  border: 1px solid var(--line-dark);
  border-radius: 14px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  backdrop-filter: blur(8px);
  box-shadow: 0 24px 60px -30px rgba(0,0,0,0.6);
}
.nav-layout-switcher .lbl {
  color: var(--gold);
  font-size: 10px;
  letter-spacing: 0.2em;
  padding-right: 4px;
  writing-mode: vertical-rl;
  text-orientation: upright;
  letter-spacing: 0.12em;
}
.nav-layout-switcher .sw-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}
.nav-layout-switcher button {
  padding: 8px 12px;
  border-radius: 8px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  color: rgba(246,241,230,0.72);
  border: 1px solid rgba(246,241,230,0.18);
  transition: all 220ms var(--ease);
  cursor: pointer;
  background: transparent;
  white-space: nowrap;
}
.nav-layout-switcher button:hover {
  color: var(--paper);
  border-color: rgba(246,241,230,0.4);
}
.nav-layout-switcher button.is-on {
  background: var(--gold);
  color: var(--ink);
  border-color: var(--gold);
}
@media (max-width: 540px) {
  .nav-layout-switcher { right: 12px; bottom: 12px; padding: 6px 8px; gap: 6px; }
  .nav-layout-switcher .lbl { display: none; }
  .nav-layout-switcher button { padding: 6px 8px; font-size: 10px; }
}

/* ============================================================
   Image placeholder (striped + mono caption)
   ============================================================ */
.imgph {
  position: relative;
  background:
    radial-gradient(120% 80% at 20% 0%, rgba(201,169,97,0.18) 0%, transparent 55%),
    radial-gradient(120% 80% at 100% 100%, rgba(201,169,97,0.10) 0%, transparent 60%),
    linear-gradient(135deg, var(--paper-warm) 0%, var(--paper-soft) 100%);
  border: 1px solid var(--line-light);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: var(--ink-mute);
}
.imgph::before {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px dashed rgba(26,22,18,0.16);
  pointer-events: none;
}
.imgph .imgph-label {
  position: relative;
  z-index: 1;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-mute);
  background: rgba(246,241,230,0.86);
  padding: 6px 12px;
  border: 1px solid var(--line-light);
}
.imgph-tall  { aspect-ratio: 3/4; }
.imgph-wide  { aspect-ratio: 16/9; }
.imgph-square{ aspect-ratio: 1/1; }
.imgph-hero  { aspect-ratio: 21/9; min-height: 360px; }

.theme-dark .imgph {
  background:
    radial-gradient(120% 80% at 20% 0%, rgba(201,169,97,0.16) 0%, transparent 55%),
    radial-gradient(120% 80% at 100% 100%, rgba(201,169,97,0.10) 0%, transparent 60%),
    linear-gradient(135deg, #1a1814 0%, #0d0c0a 100%);
  border-color: var(--line-dark);
  color: rgba(246,241,230,0.6);
}
.theme-dark .imgph::before { border-color: rgba(246,241,230,0.18); }
.theme-dark .imgph .imgph-label {
  background: rgba(13,12,10,0.7);
  color: rgba(246,241,230,0.7);
  border-color: var(--line-dark);
}

/* ============================================================
   Hero variants:
   - body.hero-mode-a → 動態單視覺(Ken Burns)
   - body.hero-mode-b → 雙主視覺分割
   隱藏不符合的 hero
   ============================================================ */
body.hero-mode-a .hero-split { display: none; }
body.hero-mode-b .hero-emblem,
body.hero-mode-b .hero-carousel { display: none; }
body:not(.hero-mode-a):not(.hero-mode-b) .hero-split { display: none; }

/* ============================================================
   全頁面 dark theme overrides — 所有內頁 hero 跟著翻黑
   ============================================================ */
body[data-nav-theme="dark"] {
  background: var(--ink);
  color: var(--paper);
}
body[data-nav-theme="dark"] .about-hero,
body[data-nav-theme="dark"] .svc-hero,
body[data-nav-theme="dark"] .news-hero,
body[data-nav-theme="dark"] .blog-hero,
body[data-nav-theme="dark"] .faq-hero,
body[data-nav-theme="dark"] .ct-hero,
body[data-nav-theme="dark"] .qa-hero {
  background: var(--ink);
  color: var(--paper);
  border-bottom-color: var(--line-dark);
}
body[data-nav-theme="dark"] .about-hero h1,
body[data-nav-theme="dark"] .svc-hero h1,
body[data-nav-theme="dark"] .news-hero h1,
body[data-nav-theme="dark"] .blog-hero h1,
body[data-nav-theme="dark"] .faq-hero h1,
body[data-nav-theme="dark"] .ct-hero h1,
body[data-nav-theme="dark"] .qa-hero h1 { color: var(--paper); }
body[data-nav-theme="dark"] .about-hero h1 .en,
body[data-nav-theme="dark"] .svc-hero h1 .en,
body[data-nav-theme="dark"] .news-hero h1 .en,
body[data-nav-theme="dark"] .blog-hero h1 .en,
body[data-nav-theme="dark"] .faq-hero h1 .en,
body[data-nav-theme="dark"] .ct-hero h1 .en,
body[data-nav-theme="dark"] .qa-hero h1 .en { color: var(--gold); }
body[data-nav-theme="dark"] .about-hero .eyebrow,
body[data-nav-theme="dark"] .svc-hero .eyebrow,
body[data-nav-theme="dark"] .news-hero .eyebrow,
body[data-nav-theme="dark"] .blog-hero .eyebrow,
body[data-nav-theme="dark"] .faq-hero .eyebrow,
body[data-nav-theme="dark"] .ct-hero .eyebrow,
body[data-nav-theme="dark"] .qa-hero .eyebrow { color: var(--gold); }
body[data-nav-theme="dark"] .about-hero .sub,
body[data-nav-theme="dark"] .svc-hero .sub,
body[data-nav-theme="dark"] .news-hero .sub,
body[data-nav-theme="dark"] .blog-hero .sub,
body[data-nav-theme="dark"] .faq-hero .sub,
body[data-nav-theme="dark"] .ct-hero .sub,
body[data-nav-theme="dark"] .qa-hero .sub { color: rgba(246,241,230,0.78); }
body[data-nav-theme="dark"] .cn-deco { color: rgba(201,169,97,0.08); }
body[data-nav-theme="dark"] .about-hero .meta .m,
body[data-nav-theme="dark"] .news-cats,
body[data-nav-theme="dark"] .blog-cats { border-color: var(--line-dark); background: var(--ink); }
body[data-nav-theme="dark"] .news-cats .pill,
body[data-nav-theme="dark"] .blog-cats .pill { background: var(--ink-soft); color: rgba(246,241,230,0.8); border-color: var(--line-dark); }
body[data-nav-theme="dark"] .news-cats .pill.is-on,
body[data-nav-theme="dark"] .blog-cats .pill.is-on { background: var(--gold); color: var(--ink); border-color: var(--gold); }

/* ============================================================
   Hero — A 版 圖騰動態主視覺
   ============================================================ */
.hero-emblem {
  position: relative;
  width: 100%;
  min-height: 100vh;
  padding: clamp(140px, 18vh, 200px) 0 80px;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(201,169,97,0.10) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 100%, rgba(201,169,97,0.06) 0%, transparent 55%),
    linear-gradient(180deg, #0d0c0a 0%, #15120e 50%, #0d0c0a 100%);
  color: var(--paper);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
body[data-nav-theme="light"] .hero-emblem {
  background:
    radial-gradient(ellipse at 50% 0%, rgba(201,169,97,0.20) 0%, transparent 55%),
    radial-gradient(ellipse at 50% 100%, rgba(201,169,97,0.12) 0%, transparent 60%),
    linear-gradient(180deg, var(--paper-warm) 0%, var(--paper) 50%, var(--paper-soft) 100%);
  color: var(--ink);
}

.hero-emblem .he-stage {
  position: relative;
  width: clamp(320px, 42vw, 520px);
  height: clamp(320px, 42vw, 520px);
  margin: 0 auto 56px;
  display: grid;
  place-items: center;
}

/* pulsing glow */
.hero-emblem .he-glow {
  position: absolute;
  inset: -8%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,169,97,0.35) 0%, rgba(201,169,97,0.10) 38%, transparent 70%);
  filter: blur(20px);
  animation: emblem-pulse 6s ease-in-out infinite;
}
@keyframes emblem-pulse {
  0%, 100% { opacity: 0.75; transform: scale(1); }
  50%      { opacity: 1;    transform: scale(1.08); }
}

/* orbit rings */
.hero-emblem .he-orbit {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(201,169,97,0.22);
  inset: 0;
  pointer-events: none;
}
.hero-emblem .he-orbit.o1 { inset: -8%;  border-color: rgba(201,169,97,0.30); }
.hero-emblem .he-orbit.o2 { inset: -18%; border-color: rgba(201,169,97,0.18); border-style: dashed; }
.hero-emblem .he-orbit.o3 { inset: -32%; border-color: rgba(201,169,97,0.12); }
.hero-emblem .he-orbit.o4 {
  inset: -28%;
  border-color: transparent;
  border-top: 1px solid rgba(201,169,97,0.5);
  border-right: 1px solid rgba(201,169,97,0.18);
  animation: emblem-spin 30s linear infinite;
}
.hero-emblem .he-orbit.o5 {
  inset: -42%;
  border-color: transparent;
  border-bottom: 1px solid rgba(201,169,97,0.4);
  border-left:  1px solid rgba(201,169,97,0.15);
  animation: emblem-spin 50s linear infinite reverse;
}
@keyframes emblem-spin {
  to { transform: rotate(360deg); }
}

/* orbiting golden particles */
.hero-emblem .he-particles {
  position: absolute;
  inset: 0;
  animation: emblem-spin 80s linear infinite;
}
.hero-emblem .he-particles span {
  position: absolute;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 12px rgba(201,169,97,0.7), 0 0 4px var(--gold);
}
.hero-emblem .he-particles span:nth-child(1) { top: -8%;  left: 50%; }
.hero-emblem .he-particles span:nth-child(2) { top: 50%;  left: -8%; }
.hero-emblem .he-particles span:nth-child(3) { bottom: -8%; left: 50%; }
.hero-emblem .he-particles span:nth-child(4) { top: 50%;  right: -8%; }
.hero-emblem .he-particles span:nth-child(5) { top: 10%;  right: 8%; opacity: 0.6; }
.hero-emblem .he-particles span:nth-child(6) { bottom: 12%; left: 8%; opacity: 0.5; }

.hero-emblem .he-particles-2 {
  position: absolute;
  inset: -18%;
  animation: emblem-spin 120s linear infinite reverse;
}
.hero-emblem .he-particles-2 span {
  position: absolute;
  width: 3px; height: 3px;
  border-radius: 50%;
  background: var(--gold-soft);
  box-shadow: 0 0 8px rgba(201,169,97,0.5);
  opacity: 0.7;
}
.hero-emblem .he-particles-2 span:nth-child(1) { top: 18%;  left: 6%; }
.hero-emblem .he-particles-2 span:nth-child(2) { top: 8%;   right: 14%; }
.hero-emblem .he-particles-2 span:nth-child(3) { bottom: 20%; right: 4%; }
.hero-emblem .he-particles-2 span:nth-child(4) { bottom: 8%; left: 18%; }

/* emblem image */
.hero-emblem .he-mark {
  position: relative;
  width: 78%; height: 78%;
  background-image: url('assets/emblem-only.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  animation: emblem-rotate 90s linear infinite;
  filter: drop-shadow(0 0 24px rgba(201,169,97,0.5));
}
@keyframes emblem-rotate {
  to { transform: rotate(360deg); }
}

/* Chinese corner deco */
.hero-emblem .he-cn {
  position: absolute;
  font-family: var(--serif);
  font-weight: 400;
  color: rgba(201,169,97,0.18);
  font-size: clamp(80px, 14vw, 200px);
  letter-spacing: 0.2em;
  line-height: 1;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}
.hero-emblem .he-cn.tl { top: 14%; left: 5%; writing-mode: vertical-rl; }
.hero-emblem .he-cn.br { bottom: 14%; right: 5%; writing-mode: vertical-rl; }
body[data-nav-theme="light"] .hero-emblem .he-cn { color: rgba(138,115,57,0.16); }

/* content below stage */
.hero-emblem .he-content {
  position: relative;
  z-index: 2;
  max-width: 880px;
  padding: 0 var(--pad-x);
}
.hero-emblem .he-eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
  opacity: 0;
  animation: hero-fade-up 900ms var(--ease) 200ms forwards;
}
body[data-nav-theme="light"] .hero-emblem .he-eyebrow { color: var(--gold-deep); }
.hero-emblem .he-eyebrow::before,
.hero-emblem .he-eyebrow::after {
  content: ""; width: 36px; height: 1px; background: currentColor; opacity: 0.7;
}
.hero-emblem .he-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(24px, 6.4vw, 76px);
  letter-spacing: 0.12em;
  line-height: 1.22;
  white-space: nowrap;
  margin-bottom: 28px;
  opacity: 0;
  animation: hero-fade-up 1000ms var(--ease) 500ms forwards;
}
.hero-emblem .he-divider {
  width: 1px; height: 44px;
  background: var(--gold);
  margin: 0 auto 24px;
  opacity: 0;
  animation: hero-line-grow 800ms var(--ease) 900ms forwards;
  transform-origin: top;
}
.hero-emblem .he-sub {
  font-family: var(--serif);
  font-size: clamp(15px, 1.4vw, 19px);
  line-height: 2;
  letter-spacing: 0.06em;
  color: rgba(246,241,230,0.85);
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto; margin-right: auto;
  opacity: 0;
  animation: hero-fade-up 1000ms var(--ease) 1100ms forwards;
}
body[data-nav-theme="light"] .hero-emblem .he-sub { color: var(--ink-mute); }
.hero-emblem .he-cta {
  display: inline-flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  opacity: 0;
  animation: hero-fade-up 1000ms var(--ease) 1400ms forwards;
}

@keyframes hero-fade-up {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes hero-line-grow {
  from { opacity: 0; transform: scaleY(0); }
  to   { opacity: 1; transform: scaleY(1); }
}

@media (max-width: 768px) {
  .hero-emblem { padding: 120px 0 60px; min-height: auto; }
  .hero-emblem .he-stage { width: 70vw; height: 70vw; margin-bottom: 40px; }
  .hero-emblem .he-cn { display: none; }
}

/* ============================================================
   Hero — B 版 雙主視覺(分割)
   ============================================================ */
.hero-split {
  position: relative;
  width: 100%;
  min-height: 720px;
  height: 88vh;
  max-height: 940px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  background: var(--paper);
  overflow: hidden;
}
body[data-nav-theme="dark"] .hero-split {
  background: var(--ink);
  color: var(--paper);
}
.hero-split .hs-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 clamp(40px, 8vw, 120px);
  background: inherit;
  position: relative;
  z-index: 1;
}
.hero-split .hs-eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold-deep);
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 32px;
}
body[data-nav-theme="dark"] .hero-split .hs-eyebrow { color: var(--gold); }
.hero-split .hs-eyebrow::before {
  content: ""; width: 32px; height: 1px; background: currentColor; opacity: 0.7;
}
.hero-split .hs-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(24px, 5vw, 58px);
  letter-spacing: 0.08em;
  line-height: 1.25;
  color: var(--ink);
  white-space: nowrap;
  margin-bottom: 28px;
}
body[data-nav-theme="dark"] .hero-split .hs-title { color: var(--paper); }
.hero-split .hs-title .gold { color: var(--gold-deep); }
body[data-nav-theme="dark"] .hero-split .hs-title .gold { color: var(--gold); }
.hero-split .hs-sub {
  font-family: var(--serif);
  font-size: clamp(15px, 1.3vw, 18px);
  line-height: 2;
  letter-spacing: 0.04em;
  color: var(--ink-mute);
  margin-bottom: 36px;
  max-width: 480px;
}
body[data-nav-theme="dark"] .hero-split .hs-sub { color: rgba(246,241,230,0.78); }
.hero-split .hs-cta { display: inline-flex; gap: 14px; flex-wrap: wrap; }
.hero-split .hs-vert {
  position: absolute;
  left: clamp(20px, 3vw, 48px);
  bottom: clamp(40px, 6vw, 80px);
  writing-mode: vertical-rl;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
body[data-nav-theme="dark"] .hero-split .hs-vert { color: rgba(246,241,230,0.45); }

.hero-split .hs-imgs {
  position: relative;
  display: block;
  overflow: hidden;
}
.hero-split .hs-imgs .imgph {
  position: absolute;
  inset: 0;
  border-radius: 0;
  border: none;
  border-left: 1px solid var(--line-light);
  opacity: 0;
  transition: opacity 1400ms var(--ease);
}
.hero-split .hs-imgs .imgph.is-active { opacity: 1; }
body[data-nav-theme="dark"] .hero-split .hs-imgs .imgph { border-left-color: var(--line-dark); }
.hero-split .hs-dots {
  position: absolute;
  bottom: 28px; left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex; gap: 10px;
}
.hero-split .hs-dots button {
  width: 28px; height: 2px;
  background: rgba(26,22,18,0.32);
  cursor: pointer;
  transition: all 280ms var(--ease);
  border: none; padding: 0;
}
.hero-split .hs-dots button.is-on { background: var(--gold-deep); width: 44px; }
body[data-nav-theme="dark"] .hero-split .hs-dots button { background: rgba(246,241,230,0.32); }
body[data-nav-theme="dark"] .hero-split .hs-dots button.is-on { background: var(--gold); }
.hero-split .hs-num {
  position: absolute;
  top: 28px; right: 28px;
  font-family: var(--display);
  font-style: italic;
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--gold-deep);
  z-index: 4;
}
body[data-nav-theme="dark"] .hero-split .hs-num { color: var(--gold); }
@media (max-width: 1024px) {
  .hero-split {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    min-height: auto;
    height: auto;
  }
  .hero-split .hs-text { padding: 140px var(--pad-x) 60px; }
  .hero-split .hs-imgs {
    height: 56vh;
    min-height: 360px;
  }
  .hero-split .hs-vert { display: none; }
}
.hero-carousel {
  position: relative;
  width: 100%;
  height: 78vh;
  min-height: 560px;
  max-height: 820px;
  overflow: hidden;
  background: var(--ink);
}
.hero-carousel .hc-track {
  position: absolute;
  inset: 0;
}
.hero-carousel .hc-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1200ms var(--ease);
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-carousel .hc-slide.is-active { opacity: 1; }
.hero-carousel .hc-slide .hc-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  transition: transform 8000ms linear;
}
.hero-carousel .hc-slide.is-active .hc-bg { transform: scale(1); }
.hero-carousel .hc-slide::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(13,12,10,0.55) 0%, rgba(13,12,10,0.3) 40%, rgba(13,12,10,0.75) 100%);
  z-index: 1;
}
.hero-carousel .hc-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--paper);
  max-width: 880px;
  padding: 0 var(--pad-x);
}
.hero-carousel .hc-eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}
.hero-carousel .hc-eyebrow::before,
.hero-carousel .hc-eyebrow::after {
  content: ""; width: 24px; height: 1px; background: currentColor; opacity: 0.7;
}
.hero-carousel .hc-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(24px, 6.4vw, 76px);
  letter-spacing: 0.06em;
  line-height: 1.18;
  white-space: nowrap;
  margin-bottom: 24px;
}
.hero-carousel .hc-sub {
  font-family: var(--serif);
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 1.9;
  letter-spacing: 0.06em;
  color: rgba(246,241,230,0.82);
  margin-bottom: 36px;
}
.hero-carousel .hc-cta {
  display: inline-flex;
  gap: 12px;
}
.hero-carousel .hc-dots {
  position: absolute;
  bottom: 32px; left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 10px;
}
.hero-carousel .hc-dots button {
  width: 28px; height: 2px;
  background: rgba(246,241,230,0.32);
  cursor: pointer;
  transition: all 280ms var(--ease);
}
.hero-carousel .hc-dots button.is-on { background: var(--gold); width: 44px; }
.hero-carousel .hc-arrows {
  position: absolute;
  bottom: 28px; right: 32px;
  z-index: 3;
  display: flex; gap: 10px;
}
.hero-carousel .hc-arrows button {
  width: 40px; height: 40px;
  border: 1px solid rgba(246,241,230,0.32);
  color: var(--paper);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 220ms var(--ease);
}
.hero-carousel .hc-arrows button:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
}
.hero-carousel .hc-slide .hc-bg.is-placeholder {
  background:
    radial-gradient(ellipse at 30% 30%, rgba(201,169,97,0.22) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 70%, rgba(201,169,97,0.12) 0%, transparent 60%),
    linear-gradient(135deg, #2a2520 0%, #1a1814 45%, #0d0c0a 100%);
}
@media (max-width: 768px) {
  .hero-carousel { height: 86vh; min-height: 540px; }
  .hero-carousel .hc-arrows { right: 16px; bottom: 16px; }
  .hero-carousel .hc-dots { bottom: 76px; }
}

/* ============================================================
   Page hero (內頁 banner)
   ============================================================ */
.page-hero {
  position: relative;
  padding: calc(116px + 60px) 0 80px;
  background: var(--paper);
  border-bottom: 1px solid var(--line-light);
  overflow: hidden;
}
.page-hero.theme-dark { background: var(--ink); border-bottom-color: var(--line-dark); }
.page-hero .container { position: relative; z-index: 1; }
.page-hero .ph-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  max-width: 880px;
}
.page-hero .ph-eyebrow { color: var(--gold-deep); }
.page-hero.theme-dark .ph-eyebrow { color: var(--gold); }
.page-hero .ph-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(24px, 5.4vw, 62px);
  letter-spacing: 0.04em;
  line-height: 1.18;
  white-space: nowrap;
}
.page-hero .ph-sub {
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.95;
  color: var(--ink-mute);
  max-width: 640px;
  margin-top: 8px;
}
.page-hero .ph-cn-deco {
  position: absolute;
  top: 50%; right: 6vw;
  transform: translateY(-50%);
  font-family: var(--serif);
  font-size: clamp(140px, 18vw, 260px);
  letter-spacing: 0.2em;
  line-height: 1;
  color: rgba(201,169,97,0.08);
  pointer-events: none;
  user-select: none;
  z-index: 0;
}
@media (max-width: 768px) {
  .page-hero { padding: calc(72px + 40px) 0 60px; }
  .page-hero .ph-cn-deco { font-size: 100px; right: -10px; opacity: 0.6; }
}

/* ============================================================
   Utility
   ============================================================ */
.text-center { text-align: center; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.no-select { user-select: none; -webkit-user-select: none; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 900px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; gap: 32px; }
}
