/* =========================================================
   JBK INTERNATIONAL — REFINED.CSS
   A "quiet luxury" polish layer applied site-wide.
   Loaded after style.css + shop.css, so it can refine them.
   ========================================================= */

/* ---------- Smoother type rendering & refined headings ---------- */
.display,
.section-title,
.pd-info__title,
.auth__title,
.newsletter__title,
.cat-card__title,
.article__title {
  text-wrap: balance;
  font-feature-settings: "kern" 1, "liga" 1, "calt" 1;
}
.card__price,
.pd-info__price-now,
.meta-num,
.cart-summary__row strong {
  font-feature-settings: "tnum" 1; /* tabular figures align prices neatly */
  font-variant-numeric: tabular-nums;
}

/* ---------- Film-grain texture (premium print heritage) ---------- */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
  opacity: 0.035;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Custom scrollbar ---------- */
* { scrollbar-width: thin; scrollbar-color: var(--gold) var(--linen); }
*::-webkit-scrollbar { width: 11px; height: 11px; }
*::-webkit-scrollbar-track { background: var(--cream); }
*::-webkit-scrollbar-thumb {
  background: linear-gradient(var(--gold), var(--bronze));
  border: 3px solid var(--cream);
  border-radius: 999px;
}
*::-webkit-scrollbar-thumb:hover { background: var(--bronze); }

/* ---------- Scroll progress bar ---------- */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0%;
  z-index: 60;
  background: linear-gradient(90deg, var(--bronze), var(--gold), var(--champagne));
  box-shadow: 0 0 12px rgba(184,153,104,0.6);
  transition: width 90ms linear;
  pointer-events: none;
}

/* ---------- Refined reveal: blur-up + lift, elegant easing ---------- */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  filter: blur(6px);
  transition:
    opacity 900ms cubic-bezier(.16,1,.3,1),
    transform 900ms cubic-bezier(.16,1,.3,1),
    filter 900ms cubic-bezier(.16,1,.3,1);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
  filter: blur(0);
}

/* Stagger cards within a revealed grid */
.product-grid.is-visible .card,
.category-grid.is-visible .cat-card,
.journal-list.is-visible .article {
  animation: jbkFadeUp 800ms cubic-bezier(.16,1,.3,1) backwards;
}
.product-grid.is-visible .card:nth-child(1) { animation-delay: 60ms; }
.product-grid.is-visible .card:nth-child(2) { animation-delay: 150ms; }
.product-grid.is-visible .card:nth-child(3) { animation-delay: 240ms; }
.product-grid.is-visible .card:nth-child(4) { animation-delay: 330ms; }
.product-grid.is-visible .card:nth-child(n+5) { animation-delay: 400ms; }
@keyframes jbkFadeUp {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: none; }
}

/* ---------- Hero entrance (after load) ---------- */
.hero__copy > * { opacity: 0; transform: translateY(22px); }
body.is-loaded .hero__copy > * {
  animation: jbkHeroIn 1s cubic-bezier(.16,1,.3,1) forwards;
}
body.is-loaded .hero__copy > *:nth-child(1) { animation-delay: .10s; }
body.is-loaded .hero__copy > *:nth-child(2) { animation-delay: .22s; }
body.is-loaded .hero__copy > *:nth-child(3) { animation-delay: .34s; }
body.is-loaded .hero__copy > *:nth-child(4) { animation-delay: .46s; }
body.is-loaded .hero__copy > *:nth-child(5) { animation-delay: .58s; }
@keyframes jbkHeroIn { to { opacity: 1; transform: none; } }

body.is-loaded .hero__visual {
  animation: jbkHeroImg 1.4s cubic-bezier(.16,1,.3,1) .2s backwards;
}
@keyframes jbkHeroImg {
  from { opacity: 0; transform: translateY(30px) scale(.98); }
  to   { opacity: 1; transform: none; }
}

/* ---------- Buttons: light sweep + spring ---------- */
.btn--primary { position: relative; overflow: hidden; }
.btn--primary::before {
  content: "";
  position: absolute;
  top: 0; left: -120%;
  width: 60%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.28), transparent);
  transform: skewX(-18deg);
  transition: left 700ms cubic-bezier(.16,1,.3,1);
  pointer-events: none;
}
.btn--primary:hover::before { left: 140%; }

.btn { transition: background var(--t-med) var(--ease), color var(--t-med) var(--ease),
                   border-color var(--t-med) var(--ease), transform 400ms cubic-bezier(.34,1.56,.64,1),
                   box-shadow var(--t-med) var(--ease); }
.btn--primary:hover { box-shadow: 0 16px 30px -14px rgba(184,153,104,0.7); }

/* ---------- Product card: lift + soft shadow + image polish ---------- */
.card { transition: transform 600ms cubic-bezier(.16,1,.3,1); }
.card__media {
  transition: box-shadow 600ms cubic-bezier(.16,1,.3,1);
  will-change: transform;
}
.card:hover { transform: translateY(-8px); }
.card:hover .card__media {
  box-shadow: 0 30px 50px -24px rgba(10,10,10,0.32);
}
.card__img { transition: transform 1200ms cubic-bezier(.16,1,.3,1), filter 600ms var(--ease); }
.card:hover .card__img { transform: scale(1.07); filter: saturate(1.06) brightness(1.02); }
.card__title a { background-image: linear-gradient(var(--gold), var(--gold));
  background-size: 0% 1px; background-position: 0 100%; background-repeat: no-repeat;
  transition: background-size 400ms var(--ease); padding-bottom: 2px; }
.card__title a:hover { background-size: 100% 1px; color: var(--ink); }

/* ---------- Category card: deeper cinematic hover ---------- */
.cat-card__title,
.cat-card__desc,
.cat-card__cta,
.cat-card__num { transition: transform 700ms cubic-bezier(.16,1,.3,1); }
.cat-card:hover .cat-card__content > * { transform: translateY(-6px); }
.cat-card:hover .cat-card__content .cat-card__num { transform: translateY(-10px); }

/* ---------- Editorial images subtle reveal ---------- */
.article__img, .cat-card { overflow: hidden; }
.article:hover .article__img::after { transform: scale(1.06); }

/* ---------- Refined focus-visible (accessibility + elegance) ---------- */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 1px;
}

/* ---------- Back-to-top hexagon ---------- */
.to-top {
  position: fixed;
  right: 28px; bottom: 86px;
  z-index: 70;
  width: 52px; height: 52px;
  display: grid; place-items: center;
  color: var(--ink);
  background: none;
  border: 0;
  cursor: pointer;
  opacity: 0;
  transform: translateY(20px) scale(.9);
  transition: opacity 500ms var(--ease), transform 500ms cubic-bezier(.34,1.56,.64,1);
  pointer-events: none;
}
.to-top.is-show { opacity: 1; transform: none; pointer-events: auto; }
.to-top__hex {
  position: absolute; inset: 0;
  color: var(--cream);
  filter: drop-shadow(0 10px 18px rgba(10,10,10,0.22));
  transition: transform 700ms var(--ease), color 300ms var(--ease);
}
.to-top:hover .to-top__hex { transform: rotate(60deg); color: var(--gold); }
.to-top__arrow {
  position: relative; z-index: 1;
  font-size: 18px; line-height: 1;
  transition: transform 300ms var(--ease);
}
.to-top:hover .to-top__arrow { transform: translateY(-3px); color: var(--ink); }

/* ---------- Hero glow refinement ---------- */
.hero { isolation: isolate; }
.hero::before {
  content: "";
  position: absolute;
  z-index: 0;
  width: 60vw; height: 60vw;
  max-width: 760px; max-height: 760px;
  right: -12%; top: -18%;
  background: radial-gradient(circle, rgba(184,153,104,0.16), transparent 62%);
  pointer-events: none;
  filter: blur(8px);
}

/* ---------- Elegant section rhythm ---------- */
.story-strip .pull-quote { letter-spacing: 0.005em; }
.eyebrow { transition: letter-spacing 600ms var(--ease); }

/* ---------- Marquee easing (seamless) ---------- */
.marquee__track { will-change: transform; }

/* ---------- Image base smoothing ---------- */
img { image-rendering: -webkit-optimize-contrast; }

/* ---------- Respect reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .reveal, .hero__copy > *, .hero__visual,
  .product-grid.is-visible .card,
  .category-grid.is-visible .cat-card { animation: none !important; transition: none !important; opacity: 1 !important; transform: none !important; filter: none !important; }
  .btn--primary::before { display: none; }
  .scroll-progress { display: none; }
}

/* =========================================================
   首頁改版（2026-08-07）
   1. hero 右側：抽獎轉盤 → 真實主打商品
   2. 新增「選品準則」信任帶
   3. 分類區改為「頂層卡片 + 子分類連結」
   4. 轉盤移出首屏，改為獨立區塊
   ========================================================= */

/* ---------- Hero 主打商品 ---------- */
.hero__feature {
  margin: 0;
  position: relative;
}
.hero__feature-media {
  display: block;
  aspect-ratio: 4 / 5;
  background: var(--linen);
  border: 1px solid rgba(10,10,10,0.07);
  overflow: hidden;
  position: relative;
}
.hero__feature-img {
  position: absolute;
  inset: 0;
  transition: transform var(--t-slow) var(--ease);
}
.hero__feature-media:hover .hero__feature-img { transform: scale(1.04); }

.hero__feature-cap { margin-top: 22px; }
.hero__feature-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 10px;
  font-size: 12px;
  letter-spacing: 0.32em;
  font-weight: 600;
  color: var(--gold-ink);
}
.hero__feature-title {
  font-family: var(--ff-display);
  font-size: clamp(1.15rem, 1.7vw, 1.5rem);
  font-weight: 600;
  line-height: 1.45;
  margin: 0 0 6px;
}
.hero__feature-title a { color: var(--ink); }
.hero__feature-title a:hover { color: var(--gold-ink); }
.hero__feature-cat {
  margin: 0 0 10px;
  font-size: 13px;
  letter-spacing: 0.18em;
  color: var(--stone);
}
.hero__feature-price { font-size: 1.05rem; }

@media (max-width: 900px) {
  .hero__feature-media { aspect-ratio: 3 / 2; }
}

/* ---------- 選品準則（信任帶）---------- */
.curation {
  padding: 84px 0;
  background: var(--linen);
  border-top: 1px solid rgba(10,10,10,0.06);
  border-bottom: 1px solid rgba(10,10,10,0.06);
}
.curation__head { margin-bottom: 48px; }
.curation__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}
.curation__item { position: relative; padding-top: 22px; }
.curation__item::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 34px; height: 2px;
  background: var(--gold-ink);
}
.curation__num {
  display: block;
  font-family: var(--ff-display);
  font-size: 13px;
  letter-spacing: 0.3em;
  font-weight: 600;
  color: var(--gold-ink);
  margin-bottom: 12px;
}
.curation__item-title {
  font-family: var(--ff-display);
  font-size: clamp(1.25rem, 1.9vw, 1.55rem);
  font-weight: 600;
  margin: 0 0 10px;
  color: var(--ink);
}
.curation__item-desc {
  margin: 0;
  font-size: 0.97rem;
  line-height: 1.85;
  color: var(--graphite);
}
@media (max-width: 860px) {
  .curation { padding: 64px 0; }
  .curation__list { grid-template-columns: 1fr; gap: 34px; }
}

/* ---------- 轉盤區塊（自 hero 移下來）---------- */
.wheel-section {
  padding: 90px 0;
  background: var(--cream);
  border-top: 1px solid rgba(10,10,10,0.07);
}
.wheel-section__inner {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 60px;
  align-items: center;
}
.wheel-section__desc {
  margin: 18px 0 0;
  max-width: 42ch;
  font-size: 1rem;
  line-height: 1.9;
  color: var(--graphite);
}
.wheel-section__visual { position: relative; }
@media (max-width: 900px) {
  .wheel-section { padding: 64px 0; }
  .wheel-section__inner { grid-template-columns: 1fr; gap: 40px; }
}

/* .eyebrow--gold 原本設計給深底的 story-strip 使用（--gold 在深底 7.35:1）。
   轉盤區塊是米底，需改用深金版本，否則只有 2.58:1。 */
.wheel-section .eyebrow--gold { color: var(--gold-ink); }

/* =========================================================
   大類（Collections）— 兩層導覽
   首頁大類卡片 → /collection/<slug> → 產品分類 → /selection?cat=
   ---------------------------------------------------------
   遮罩策略：文字全部集中在卡片下緣，因此只在下緣加深，
   上半部保持照片清晰。既讓照片看得見，也讓文字達到 AA。
   （下緣 alpha 0.88，即使底圖純白，白字仍有約 14:1）
   ========================================================= */

.collections { padding: 96px 0 104px; }

.collection-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 18px;
}
/* 恰好 5 個大類時採用「上 2 大 + 下 3 小」的編排，版面不會留空格 */
.collection-grid--5 { grid-template-columns: repeat(6, 1fr); }
.collection-grid--5 > .col-card:nth-child(-n+2) { grid-column: span 3; aspect-ratio: 16 / 10; }
.collection-grid--5 > .col-card:nth-child(n+3)  { grid-column: span 2; aspect-ratio: 3 / 4; }

.col-card {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: var(--carbon);
  border-radius: var(--radius);
  isolation: isolate;
}
.col-card__media { position: absolute; inset: 0; display: block; }
.col-card__img {
  position: absolute;
  inset: 0;
  display: block;
  background-size: cover;
  background-position: center;
  transform: scale(1.01);
  transition: transform 900ms var(--ease), filter 600ms var(--ease);
  filter: saturate(0.88) contrast(1.02);
}
.col-card__img--empty {
  background: linear-gradient(150deg, var(--espresso), var(--carbon) 70%);
}
.col-card:hover .col-card__img { transform: scale(1.06); filter: saturate(1) contrast(1.04); }

/* 只加深下緣：上方 42% 幾乎不遮，讓照片真正看得見 */
.col-card__scrim {
  position: absolute;
  inset: 0;
  display: block;
  background: linear-gradient(
    180deg,
    rgba(10,10,10,0.10) 0%,
    rgba(10,10,10,0.14) 42%,
    rgba(10,10,10,0.62) 68%,
    rgba(10,10,10,0.88) 100%);
  transition: background 500ms var(--ease);
}
.col-card:hover .col-card__scrim {
  background: linear-gradient(
    180deg,
    rgba(10,10,10,0.18) 0%,
    rgba(10,10,10,0.24) 42%,
    rgba(10,10,10,0.70) 68%,
    rgba(10,10,10,0.92) 100%);
}

.col-card__num {
  position: absolute;
  top: 20px; left: 22px;
  z-index: 2;
  font-family: var(--ff-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.28em;
  color: var(--champagne);
  text-shadow: 0 1px 10px rgba(0,0,0,0.75), 0 0 24px rgba(0,0,0,0.5);
}

.col-card__body {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 2;
  display: block;
  padding: 26px 24px 24px;
}
.col-card__en {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.34em;
  color: var(--champagne);
  margin-bottom: 10px;
}
.col-card__title {
  display: block;
  font-family: var(--ff-display);
  font-size: clamp(1.45rem, 2.1vw, 1.95rem);
  font-weight: 600;
  letter-spacing: 0.05em;
  line-height: 1.25;
  color: #FFFFFF;
  margin-bottom: 10px;
}
.col-card__cats {
  display: block;
  font-size: 13px;
  line-height: 1.7;
  letter-spacing: 0.04em;
  color: #E8E3DA;
  margin-bottom: 16px;
}
.col-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.3em;
  color: #FFFFFF;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(212,188,138,0.55);
  transition: border-color var(--t-fast) var(--ease), gap var(--t-fast) var(--ease);
}
.col-card__arrow { transition: transform var(--t-med) var(--ease); }
.col-card:hover .col-card__cta { border-bottom-color: var(--champagne); gap: 16px; }
.col-card:hover .col-card__arrow { transform: translateX(4px); }

@media (max-width: 1024px) {
  .collection-grid--5 { grid-template-columns: repeat(2, 1fr); }
  .collection-grid--5 > .col-card:nth-child(-n+2),
  .collection-grid--5 > .col-card:nth-child(n+3) { grid-column: span 1; aspect-ratio: 4 / 3; }
}
@media (max-width: 600px) {
  .collections { padding: 64px 0 72px; }
  .collection-grid { grid-template-columns: 1fr; }
  .collection-grid--5 { grid-template-columns: 1fr; }
  .collection-grid--5 > .col-card { aspect-ratio: 16 / 11 !important; }
}

/* ---------- 大類頁：橫幅 ---------- */
.col-hero {
  position: relative;
  padding: 150px 0 76px;
  background-color: var(--carbon);
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.col-hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,10,10,0.82) 0%, rgba(10,10,10,0.76) 45%, rgba(10,10,10,0.90) 100%);
  /* 0.76 是以最壞情況（純白底圖）反推的下限：香檳金小字在此仍有 5.2:1 */
}
.col-hero__inner { position: relative; z-index: 1; }
.col-hero__crumb {
  font-size: 12px;
  letter-spacing: 0.22em;
  color: #CFC8BC;
  margin-bottom: 26px;
}
.col-hero__crumb a { color: #CFC8BC; border-bottom: 1px solid transparent; }
.col-hero__crumb a:hover { color: var(--champagne); border-bottom-color: var(--champagne); }
.col-hero__crumb span { margin: 0 8px; }
.col-hero__en {
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.4em;
  color: var(--champagne);
}
.col-hero__title {
  font-family: var(--ff-display);
  font-size: clamp(2.2rem, 4.6vw, 3.4rem);
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #FFFFFF;
  margin: 0 0 18px;
}
.col-hero__lead {
  max-width: 46ch;
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.95;
  color: #E8E3DA;
}
@media (max-width: 700px) {
  .col-hero { padding: 120px 0 56px; }
}

/* ---------- 大類頁：產品分類卡 ---------- */
.subcats { padding: 84px 0 96px; }
.subcat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 40px 28px;
}
.subcat { display: flex; flex-direction: column; }
.subcat__media {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  background: var(--linen);
  border: 1px solid rgba(10,10,10,0.07);
  overflow: hidden;
}
.subcat__img {
  position: absolute;
  inset: 0;
  display: block;
  /* 代表圖是真實商品照（多為去背直式），用 contain 完整呈現不裁切 */
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  background-color: #fff;
  transition: transform var(--t-slow) var(--ease);
}
.subcat__img--empty {
  background: linear-gradient(150deg, var(--linen), var(--sand));
}
.subcat__media:hover .subcat__img { transform: scale(1.05); }
.subcat__count {
  position: absolute;
  right: 12px; bottom: 12px;
  z-index: 1;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--cream);
  background: var(--ink);          /* 不用半透明，確保任何商品圖下都是 11:1 */
  padding: 5px 10px;
}
.subcat__body { padding-top: 18px; }
.subcat__title {
  font-family: var(--ff-display);
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin: 0 0 8px;
}
.subcat__title a { color: var(--ink); }
.subcat__title a:hover { color: var(--gold-ink); }
.subcat__desc {
  margin: 0 0 12px;
  font-size: 0.94rem;
  line-height: 1.8;
  color: var(--graphite);
}
.subcat__children {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 8px;
}
.subcat__children a {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--graphite);
  border: 1px solid rgba(10,10,10,0.14);
  padding: 4px 10px;
  transition: all var(--t-fast) var(--ease);
}
.subcat__children a:hover {
  color: var(--cream);
  background: var(--ink);
  border-color: var(--ink);
}
.subcat__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.28em;
  color: var(--gold-ink);
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(111,92,53,0.4);
  transition: gap var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}
.subcat__cta:hover { gap: 14px; border-bottom-color: var(--gold-ink); }

/* ---------- 大類頁：其他大類 ---------- */
.col-others {
  padding: 70px 0 90px;
  background: var(--linen);
  border-top: 1px solid rgba(10,10,10,0.06);
}
.col-others__list {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1px;
  background: rgba(10,10,10,0.1);
  border: 1px solid rgba(10,10,10,0.1);
}
.col-others__list li { background: var(--linen); }
.col-others__list a {
  display: block;
  padding: 26px 22px;
  background: var(--linen);
  transition: background var(--t-fast) var(--ease);
}
.col-others__list a:hover { background: var(--cream); }
.col-others__name {
  display: block;
  font-family: var(--ff-display);
  font-size: 1.12rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
}
.col-others__en {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.28em;
  color: var(--gold-ink);
}

/* =========================================================
   我們的信念（story-strip）— 照片背景版
   ---------------------------------------------------------
   照片：黑皮革理髮椅 + 黃銅梳具（Pexels License）。
   主體已用 PIL 預先裁到畫面右側約 70%，所以左側是天然的暗部，
   文字放在左側即可，不需要為了可讀性把整張照片壓黑。

   效果取自照片本身：以 PIL 取樣得到黃銅重點色 #AA9772
   （幾乎等於品牌 --gold #B89968），用它做光暈與細線，
   讓這塊的光看起來像是從照片裡的金屬反射出來的。
   ========================================================= */
.story-strip {
  position: relative;
  overflow: hidden;
  padding: 132px 0;
  background: #0A0A0A;
  isolation: isolate;
}
.story-strip__media {
  position: absolute;
  inset: 0;
  background-image: url('../img/collections/belief-elixir.jpg');
  background-size: cover;
  background-position: center right;
  /* 稍微提亮暗部並加一點暖度，讓黃銅細節在深色中浮出來 */
  filter: brightness(1.06) contrast(1.06) saturate(1.05);
  transform: scale(1.02);
}
/* 由左至右的遮罩：文字區幾乎不透光，右側主體幾乎不遮 */
.story-strip__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg,
      rgba(10,10,10,0.96) 0%,
      rgba(10,10,10,0.94) 34%,
      rgba(10,10,10,0.72) 52%,
      rgba(10,10,10,0.28) 72%,
      rgba(10,10,10,0.18) 100%),
    /* 上下各收一點，與相鄰的米色區塊接得柔和 */
    linear-gradient(180deg,
      rgba(10,10,10,0.55) 0%,
      rgba(10,10,10,0) 18%,
      rgba(10,10,10,0) 82%,
      rgba(10,10,10,0.55) 100%);
}
/* 黃銅光暈：色值 #AA9772 取樣自照片中的梳具 */
.story-strip__glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(46% 62% at 68% 48%, rgba(176,120,58,0.26) 0%, rgba(176,120,58,0.10) 42%, rgba(176,120,58,0) 72%),
    radial-gradient(38% 50% at 22% 46%, rgba(176,120,58,0.08) 0%, rgba(176,120,58,0) 70%);
  mix-blend-mode: screen;
  pointer-events: none;
}

.story-strip__inner {
  position: relative;
  z-index: 1;
  text-align: left;
  max-width: var(--container);
}
/* 文字限制在左半安全區，永遠不會壓到照片主體 */
.story-strip__inner > * { max-width: 46%; }
.story-strip .eyebrow--gold {
  color: var(--champagne);
  margin: 0 0 22px;
}
.story-strip .pull-quote {
  margin: 0 0 26px;
  padding: 0;
  border: 0;
}
.story-strip .pull-quote__em {
  display: block;
  margin: 0;
  font-family: var(--ff-display);
  font-style: italic;
  font-size: clamp(1.9rem, 3.4vw, 3rem);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.03em;
  /* 金屬質感：以照片取樣色為主，往香檳金收亮 */
  background: linear-gradient(96deg, #C7AE7E 0%, #E7D3A6 46%, #AA9772 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
/* 不支援 background-clip:text 時退回實色，確保永遠看得到字 */
@supports not ((-webkit-background-clip: text) or (background-clip: text)) {
  .story-strip .pull-quote__em { color: #E7D3A6; background: none; }
}
.story-strip__cite {
  margin: 0 0 30px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.34em;
  color: #CFC8BC;
}
.story-strip__cite::before {
  content: '';
  display: inline-block;
  width: 26px;
  height: 1px;
  margin-right: 14px;
  vertical-align: middle;
  background: rgba(212,188,138,0.75);
}
.story-strip .link-underline {
  color: #FFFFFF;
  border-bottom-color: rgba(212,188,138,0.6);
}
.story-strip .link-underline:hover {
  color: var(--champagne);
  border-bottom-color: var(--champagne);
}

@media (max-width: 1100px) {
  .story-strip__inner > * { max-width: 58%; }
  .story-strip__scrim {
    background:
      linear-gradient(90deg,
        rgba(10,10,10,0.96) 0%,
        rgba(10,10,10,0.93) 46%,
        rgba(10,10,10,0.74) 64%,
        rgba(10,10,10,0.34) 100%),
      linear-gradient(180deg, rgba(10,10,10,0.5) 0%, rgba(10,10,10,0) 20%, rgba(10,10,10,0) 80%, rgba(10,10,10,0.5) 100%);
  }
}
@media (max-width: 720px) {
  .story-strip { padding: 92px 0 88px; }
  .story-strip__inner > * { max-width: 100%; }
  .story-strip__media {
    background-image: url('../img/collections/belief-elixir-sq.jpg');
    background-position: center 38%;
  }
  /* 窄螢幕沒有左右分區的空間，改為整體壓深，文字仍在照片上但對比充足 */
  .story-strip__scrim {
    background: linear-gradient(180deg, rgba(10,10,10,0.86) 0%, rgba(10,10,10,0.90) 55%, rgba(10,10,10,0.94) 100%);
  }
}

/* =========================================================
   Hero Banner（輪播）
   ---------------------------------------------------------
   版面契約：文案永遠在左側安全區，背景圖的遮罩在該區近乎不透光，
   所以無論後台換上什麼底圖，主標／副標／引言都不會被蓋到。
   右側是商品展示框——商品照多為白底去背，放進白框反而像精品櫃。
   ========================================================= */
.hero-banner {
  position: relative;
  background: var(--ink);
  overflow: hidden;
}
.hero-banner__viewport {
  position: relative;
  display: grid;              /* 所有 slide 疊在同一格 → 高度取最高者，切換不跳動 */
}
.hero-slide {
  grid-area: 1 / 1;
  position: relative;
  opacity: 0;
  visibility: hidden;
  transition: opacity 700ms var(--ease), visibility 0s linear 700ms;
  pointer-events: none;
}
.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  transition: opacity 700ms var(--ease), visibility 0s;
  pointer-events: auto;
}
@media (prefers-reduced-motion: reduce) {
  .hero-slide { transition: none; }
}

.hero-slide__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center right;
  transform: scale(1.03);
}
.hero-slide__bg--default {
  background-image:
    radial-gradient(60% 80% at 78% 40%, rgba(170,151,114,0.18) 0%, rgba(170,151,114,0) 68%),
    linear-gradient(120deg, #0A0A0A 0%, #14120F 42%, #241E16 100%);
}
/* 左側近乎全遮、右側幾乎不遮 —— 文字安全區的技術保證 */
.hero-slide__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg,
      rgba(10,10,10,0.97) 0%,
      rgba(10,10,10,0.95) 38%,
      rgba(10,10,10,0.80) 52%,
      rgba(10,10,10,0.46) 68%,
      rgba(10,10,10,0.34) 100%),
    linear-gradient(180deg, rgba(10,10,10,0.5) 0%, rgba(10,10,10,0) 24%, rgba(10,10,10,0) 74%, rgba(10,10,10,0.6) 100%);
}

.hero-slide__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 56px;
  align-items: center;
  padding-top: 168px;
  padding-bottom: 76px;
  min-height: 640px;
}

/* ---------- 左：文案 ---------- */
.hero-slide__copy { max-width: 34rem; }
.hero-slide__eyebrow {
  margin: 0 0 22px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.38em;
  color: var(--champagne);
}
.hero-slide__title {
  margin: 0 0 26px;
  font-family: var(--ff-display);
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  font-weight: 600;
  line-height: 1.22;
  letter-spacing: 0.02em;
  color: #FFFFFF;
}
.hero-slide__title .italic {
  font-style: italic;
  background: linear-gradient(96deg, #C7AE7E 0%, #E7D3A6 48%, #AA9772 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
@supports not ((-webkit-background-clip: text) or (background-clip: text)) {
  .hero-slide__title .italic { color: #E7D3A6; background: none; }
}
.hero-slide__sub {
  margin: 0 0 34px;
  font-size: 1.02rem;
  line-height: 2;
  color: #E8E3DA;
  max-width: 34ch;
}
.hero-slide__cta { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
/* 深底上的按鈕：主按鈕反白，次按鈕改為淺色文字 */
.hero-slide__cta .btn--primary {
  background: var(--cream);
  color: var(--ink);
  border-color: var(--cream);
}
.hero-slide__cta .btn--primary:hover { background: var(--champagne); border-color: var(--champagne); color: var(--ink); }
.hero-slide__cta .btn--text { color: #FFFFFF; }
.hero-slide__cta .btn--text .btn__line { background: rgba(212,188,138,0.7); }
.hero-slide__cta .btn--text:hover { color: var(--champagne); }

/* ---------- 右：商品展示框 ---------- */
.hero-slide__product { justify-self: end; width: min(430px, 100%); }
.hero-slide__frame {
  display: block;
  position: relative;
  aspect-ratio: 1 / 1;
  background: #FFFFFF;
  padding: 20px;
  box-shadow: 0 40px 90px -30px rgba(0,0,0,0.85);
  overflow: hidden;
}
.hero-slide__frame::after {
  /* 內縮的細金線，像展示櫃的邊 */
  content: '';
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(184,153,104,0.35);
  pointer-events: none;
}
.hero-slide__shot {
  display: block;
  width: 100%; height: 100%;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  transition: transform var(--t-slow) var(--ease);
}
.hero-slide__shot--empty { background: linear-gradient(150deg, var(--linen), var(--sand)); }
.hero-slide__frame:hover .hero-slide__shot { transform: scale(1.05); }

.hero-slide__meta { margin-top: 22px; }
.hero-slide__tag {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.34em;
  color: var(--champagne);
}
.hero-slide__rule { display: block; width: 30px; height: 1px; background: rgba(212,188,138,0.8); }
.hero-slide__pname {
  margin: 0 0 6px;
  font-family: var(--ff-display);
  font-size: 1.12rem;
  font-weight: 600;
  line-height: 1.5;
}
.hero-slide__pname a { color: #FFFFFF; }
.hero-slide__pname a:hover { color: var(--champagne); }
.hero-slide__pcat {
  margin: 0 0 8px;
  font-size: 12px;
  letter-spacing: 0.16em;
  color: #CFC8BC;
}
/* Hero 不顯示金額，改為導向商品頁的連結 */
.hero-slide__plink {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.3em;
  color: #FFFFFF;
  padding-bottom: 5px;
  border-bottom: 1px solid rgba(212,188,138,0.55);
  transition: gap var(--t-fast) var(--ease), color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}
.hero-slide__plink:hover { gap: 16px; color: var(--champagne); border-bottom-color: var(--champagne); }

/* ---------- 控制列 ---------- */
.hero-banner__controls {
  position: absolute;
  left: 0; right: 0;
  bottom: 118px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 18px;
}
.hero-banner__arrow {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  background: transparent;
  border: 1px solid rgba(232,227,218,0.35);
  color: #FFFFFF;
  font-size: 15px;
  cursor: pointer;
  transition: all var(--t-fast) var(--ease);
}
.hero-banner__arrow:hover { background: var(--cream); color: var(--ink); border-color: var(--cream); }
.hero-banner__arrow:focus-visible { outline: 2px solid var(--champagne); outline-offset: 3px; }
.hero-banner__dots { display: flex; align-items: center; gap: 10px; }
.hero-banner__dot {
  width: 30px; height: 20px;
  padding: 0;
  display: grid; place-items: center;
  background: none; border: 0; cursor: pointer;
}
.hero-banner__dot span {
  display: block;
  width: 26px; height: 2px;
  background: rgba(232,227,218,0.4);
  transition: background var(--t-fast) var(--ease);
}
.hero-banner__dot.is-active span { background: var(--champagne); }
.hero-banner__dot:focus-visible { outline: 2px solid var(--champagne); outline-offset: 2px; }

/* ---------- 底部數字帶 ---------- */
.hero-banner__stats {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 40px;
  padding-top: 26px;
  padding-bottom: 34px;
  border-top: 1px solid rgba(232,227,218,0.14);
}
.hero-banner__stats .meta-num { color: #FFFFFF; }
.hero-banner__stats .meta-label { color: #CFC8BC; }
.hero-banner__stats .meta-divider { width: 1px; height: 26px; background: rgba(232,227,218,0.2); }

@media (max-width: 1000px) {
  .hero-slide__inner {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-top: 140px;
    padding-bottom: 60px;
    min-height: 0;
  }
  .hero-slide__product { justify-self: start; width: min(340px, 100%); }
  .hero-slide__scrim {
    background:
      linear-gradient(180deg, rgba(10,10,10,0.92) 0%, rgba(10,10,10,0.88) 46%, rgba(10,10,10,0.94) 100%);
  }
  .hero-banner__controls { position: static; padding-top: 8px; padding-bottom: 8px; }
}
@media (max-width: 560px) {
  .hero-banner__stats { gap: 20px; flex-wrap: wrap; }
  .hero-slide__cta { gap: 18px; }
}

/* =========================================================
   商品卡修正（2026-08-07）
   1. hover 底線在兩行標題時會畫在第一行下方，看起來像文字跑出框外
   2. 標題與描述長度不受限 → 同一列卡片的價格位置差到 140px
   3. 價格列未對齊 → 整排看起來參差不齊
   ========================================================= */

/* ---- 1. 用真正的 text-decoration 取代漸層背景底線 ----
   漸層背景是以「行片段」為單位繪製的，兩行標題時第一行下方就會出現一條線。
   text-decoration 天生支援多行，每一行都會正確加底線。 */
.card__title a {
  background-image: none;
  padding-bottom: 0;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
  transition: text-decoration-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.card__title a:hover {
  text-decoration-color: var(--gold-ink);
  color: var(--ink);
}

/* ---- 2. 標題與描述限制行數 ----
   商品名稱長短差異極大（有的 8 字、有的 30 字），不設上限的話
   每張卡高度都不同。標題 2 行、描述 2 行，其餘以省略號收尾。 */
.card__title,
.card__desc {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  overflow-wrap: anywhere;      /* 長型號如 NO.25 不會撐破卡片 */
}
.card__title { -webkit-line-clamp: 2; min-height: calc(1.45em * 2); line-height: 1.45; }
.card__desc  { -webkit-line-clamp: 2; min-height: calc(1.65em * 2); }

/* ---- 3. 價格列推到底部，整排對齊 ---- */
.card { height: 100%; }
.card__body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}
.card__foot { margin-top: auto; }

/* 手機單欄時不需要為了對齊而留白 */
@media (max-width: 480px) {
  .card__title,
  .card__desc { min-height: 0; }
}

/* =========================================================
   品牌故事頁（2026-08-07 重排）
   ---------------------------------------------------------
   原本整頁只有「置中大標 + 一整塊 <br> 串起來的裸文字」，
   沒有任何視覺層級，開頭三行還與頁首重複。
   改為四段節奏：頁首 → 敘事長文 → 承諾（設計過的區塊）→ 結語 + CTA。
   ========================================================= */

/* ---------- 頁首 ---------- */
.brand-hero { padding: 132px 0 0; }
.brand-hero__sub { margin: 0 0 44px; }
/* 收尾的一條短金線，替代原本直接接內文的斷裂感 */
.brand-hero__rule {
  display: block;
  width: 44px; height: 2px;
  margin: 0 auto 8px;
  background: var(--gold-ink);
}

/* ---------- 敘事長文 ---------- */
.brand-body { padding: 64px 0 0; }

/* 段落之一拉出來當轉折句：比內文大、金色、置中 */
.prose__statement {
  margin: 44px 0 52px !important;
  font-family: var(--ff-display);
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: 0.03em;
  color: var(--gold-ink);
  text-align: center;
  text-wrap: balance;
}
/* 引言前的「我們相信：」— 小字、不搶戲 */
.prose__quote-lead {
  margin: 40px 0 -6px !important;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.26em;
  color: var(--stone);
}

/* ---------- 我們的承諾 ---------- */
.brand-promise {
  margin-top: 96px;
  padding: 88px 0 92px;
  background: var(--linen);
  border-top: 1px solid rgba(10,10,10,0.06);
  border-bottom: 1px solid rgba(10,10,10,0.06);
}
.brand-promise__title {
  max-width: var(--measure-box);
  margin: 0 auto 52px;
  font-family: var(--ff-display);
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--ink);
  text-align: center;
}
.brand-promise__list {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 46px;
}
.brand-promise__item { position: relative; padding-top: 24px; }
.brand-promise__item::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 34px; height: 2px;
  background: var(--gold-ink);
}
.brand-promise__num {
  display: block;
  margin-bottom: 12px;
  font-family: var(--ff-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.3em;
  color: var(--gold-ink);
}
.brand-promise__item-title {
  margin: 0 0 12px;
  font-family: var(--ff-display);
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: 0.02em;
  color: var(--ink);
  text-wrap: balance;
}
.brand-promise__item-desc {
  margin: 0;
  font-size: 0.97rem;
  line-height: 1.9;
  color: var(--graphite);
}

/* ---------- 結語 + CTA ---------- */
.brand-close { padding: 96px 0 132px; background: var(--cream); }
.brand-close__inner { max-width: var(--measure-box); text-align: center; }
.brand-close__line {
  margin: 0 0 44px;
  font-family: var(--ff-display);
  font-style: italic;
  font-size: clamp(1.5rem, 3.2vw, 2.2rem);
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: 0.03em;
  color: var(--ink);
  text-wrap: balance;
}

@media (max-width: 860px) {
  .brand-hero { padding: 96px 0 0; }
  .brand-body { padding: 48px 0 0; }
  .brand-promise { margin-top: 68px; padding: 64px 0 68px; }
  .brand-promise__list { grid-template-columns: 1fr; gap: 34px; }
  .brand-promise__title { margin-bottom: 38px; }
  .brand-close { padding: 68px 0 92px; }
}

/* =========================================================
   頁尾重新設計（2026-08-07）
   ---------------------------------------------------------
   原本是米底、兩欄稀疏連結、右側一大片空白，讀起來像沒收尾。
   改為深墨底：全站以米色為主，頁尾用品牌主色作結，形成明確的結束感；
   金色在 --ink 上是 7.35:1（在 --cream 上只有 2.58:1），到這裡才用得上。
   空出來的第四欄改放「嚴選」大類連結——填滿版面，同時是真正有用的導覽。
   ========================================================= */
.site-footer {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: var(--sand);
  padding: 104px 0 0;
  border-top: 0;
}
/* 六角標誌淡浮水印——品牌簽名，不搶文字 */
.footer-watermark {
  position: absolute;
  right: -110px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  opacity: 0.045;
  filter: brightness(0) invert(1);
}
.footer-watermark img { width: 520px; max-width: none; }
.footer-inner { position: relative; z-index: 1; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 56px 40px;
  padding-bottom: 72px;
}

/* ---------- 品牌欄 ---------- */
.footer-col--brand { min-width: 0; }
.brand--footer { display: inline-block; margin-bottom: 34px; }
/* logo 是黑色去背 PNG；先壓成純黑再反相 → 保證是乾淨的白，不受原始色偏影響 */
.brand--footer .jbk-logo {
  filter: brightness(0) invert(1);
  opacity: 0.94;
  transition: opacity var(--t-fast) var(--ease);
}
.brand--footer:hover .jbk-logo { opacity: 1; }

.footer-tag {
  margin: 0 0 34px;
  font-family: var(--ff-display);
  font-style: italic;
  font-size: clamp(1.4rem, 2.2vw, 1.85rem);
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: 0.04em;
  background: linear-gradient(96deg, #C7AE7E 0%, #E7D3A6 46%, #AA9772 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
@supports not ((-webkit-background-clip: text) or (background-clip: text)) {
  .footer-tag { color: #E7D3A6; background: none; }
}

.footer-addr {
  font-style: normal;
  display: grid;
  gap: 12px;
  font-size: 0.95rem;
  line-height: 1.8;
  color: #CFC8BC;
}
.footer-addr__line { display: block; padding-bottom: 8px; }
.footer-addr__row { display: flex; gap: 16px; align-items: baseline; }
.footer-addr__k {
  flex: none;
  min-width: 2.6em;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.24em;
  color: var(--champagne);
}
.footer-addr a {
  color: #E8E3DA;
  border-bottom: 1px solid transparent;
  transition: color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}
.footer-addr a:hover { color: var(--champagne); border-bottom-color: var(--champagne); }

.footer-figure { margin: 30px 0 0; }
.footer-figure img {
  width: 100%;
  border: 1px solid rgba(212,188,138,0.22);
  filter: saturate(0.9) brightness(0.92);
}

/* ---------- 連結欄 ---------- */
.footer-col h4 {
  margin: 4px 0 26px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.35em;
  color: var(--champagne);
  position: relative;
  padding-bottom: 14px;
}
.footer-col h4::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 26px; height: 1px;
  background: rgba(212,188,138,0.55);
}
.footer-col ul li { margin-bottom: 14px; }
.footer-col ul a {
  font-size: 0.95rem;
  color: #CFC8BC;
  position: relative;
  padding-bottom: 2px;
  transition: color var(--t-fast) var(--ease);
}
/* 細金底線由左向右展開 */
.footer-col ul a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--champagne);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-med) var(--ease);
}
.footer-col ul a:hover { color: #FFFFFF; }
.footer-col ul a:hover::after { transform: scaleX(1); }

/* ---------- 底部列 ---------- */
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding: 26px 0 30px;
  border-top: 1px solid rgba(212,188,138,0.16);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: #A79F93;
}
.footer-bottom p { margin: 0; }
.footer-legal {
  display: flex;
  gap: 26px;
  margin: 0; padding: 0;
  list-style: none;
}
.footer-legal a { color: #A79F93; }
.footer-legal a:hover { color: var(--champagne); }
.footer-domain {
  font-family: var(--ff-display);
  font-weight: 600;
  letter-spacing: 0.32em;
  color: var(--champagne) !important;
}

@media (max-width: 1000px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 48px 32px; }
  .footer-col--brand { grid-column: 1 / -1; }
  .footer-watermark { right: -180px; opacity: 0.035; }
}
@media (max-width: 560px) {
  .site-footer { padding-top: 72px; }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; padding-bottom: 48px; }
  .footer-bottom { justify-content: flex-start; gap: 14px; }
  .footer-watermark { display: none; }
}

/* .eyebrow--gold 是給深底用的（--gold 在 --ink 上 7.35:1）。
   品牌頁首是米底，需改用深金版本，否則只有 2.58:1。 */
.brand-hero .eyebrow--gold { color: var(--gold-ink); }

/* =========================================================
   手機抽屜選單修正（2026-08-07）
   原本 .drawer 用寫死的 inset-top: 132px，但頁首含 edition bar 後
   實際約 170px，第一個項目「嚴選商品」被壓在頁首下方切掉。
   改用 JS 量測的 --header-h，並補上捲動與安全區處理。
   ========================================================= */
.drawer {
  inset: var(--header-h, 132px) 0 0 0;
  padding: 32px 24px calc(32px + env(safe-area-inset-bottom, 0px));
  overflow-y: auto;                 /* 項目多或螢幕矮時可捲動，不會被截斷 */
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}
/* 項目不多時，原本的 space-between 會在中間留一大片空白；
   改為內容靠上、頁尾標語用 margin-top:auto 推到底。 */
.drawer { justify-content: flex-start; }
.drawer__nav { gap: 4px; }
.drawer__nav a {
  font-size: clamp(1.5rem, 6vw, 2rem);
  padding: 18px 0;
  border-bottom: 1px solid rgba(10,10,10,0.08);
}
.drawer__nav a:first-child { padding-top: 4px; }
.drawer__foot { margin-top: auto; padding-top: 40px; }

/* 窄螢幕的品牌副標原本會斷成兩行（「國際 · 髮 / 品 策 展」），
   縮小字距讓它保持一行。 */
@media (max-width: 520px) {
  .brand__word-sub { letter-spacing: 0.18em; white-space: nowrap; font-size: 11px; }
}

/* Hero 版面調整（2026-08-07）：原本 1.02fr / 0.98fr 且文案 max-width 34rem，
   造成文案結束後到商品框之間空了約 380px。收窄右欄、加寬商品框、縮小間距。 */
@media (min-width: 1001px) {
  .hero-slide__inner { grid-template-columns: 1fr 0.72fr; gap: 40px; }
  .hero-slide__copy  { max-width: 40rem; }
  .hero-slide__product { width: min(390px, 100%); }
}

/* =========================================================
   Hero 單欄化（2026-08-07）— 移除右側商品框
   首屏是品牌的第一句話，不該由單一 SKU 承擔；商品在下方
   「本月推薦」有更好的舞台。拿掉之後照片能整片呼吸，
   標語也拿得回應有的份量。
   ========================================================= */
@media (min-width: 1001px) {
  .hero-slide__inner { grid-template-columns: 1fr; gap: 0; min-height: 660px; }
  .hero-slide__copy  { max-width: 46rem; }
}
.hero-slide__title {
  font-size: clamp(2.7rem, 6vw, 5rem);
  /* 1.18 在 80px 的字級下等於 94px 行距，兩行會各自成立、讀不成一句話。
     大標的行距本來就該比正文緊——字級越大，需要的相對行距越小。 */
  line-height: 1.06;
  letter-spacing: 0.01em;
  margin-bottom: 32px;
}
/* 主標與強調字之間留一點呼吸，但不到斷開的程度 */
.hero-slide__title .italic { display: inline-block; margin-top: 0.1em; }
/* 斜體強調字末尾的字距會讓句號看起來被推開，補回來 */
.hero-slide__title .italic { margin-right: -0.06em; }
.hero-slide__sub {
  font-size: clamp(1rem, 1.35vw, 1.12rem);
  line-height: 2.05;
  /* 不能用 ch —— ch 是「0」的字寬，拉丁字母約半個 em，中文字卻是整個 em，
     所以 30ch 實際只有約 15 個中文字，會把「買什麼」從中間斷開。
     中文正文一行 20–24 字最好讀，直接用 em 指定。 */
  max-width: 23em;
  /* 中文沒有空格，瀏覽器預設可在「任意字元」之間換行，於是會出現
     「買什／麼」「信／任誰」這種把詞拆開的斷行。
     word-break: keep-all 讓中文只在標點處斷行 —— 這段文字有逗號與引號，
     斷點就會落在語意邊界上。line-break: strict 再確保標點不落行首。 */
  word-break: keep-all;
  line-break: strict;
  text-wrap: pretty;
  margin-bottom: 40px;
}
/* 沒有商品框之後，右側全部留給照片：遮罩的漸層往左收，
   文案區（左 42%）仍維持 0.95 以上，可讀性不變。 */
.hero-slide__scrim {
  background:
    linear-gradient(90deg,
      rgba(10,10,10,0.96) 0%,
      rgba(10,10,10,0.93) 34%,
      rgba(10,10,10,0.72) 50%,
      rgba(10,10,10,0.34) 72%,
      rgba(10,10,10,0.20) 100%),
    linear-gradient(180deg, rgba(10,10,10,0.5) 0%, rgba(10,10,10,0) 24%, rgba(10,10,10,0) 74%, rgba(10,10,10,0.62) 100%);
}
@media (max-width: 1000px) {
  .hero-slide__sub { max-width: 34ch; }
  .hero-slide__scrim {
    background: linear-gradient(180deg, rgba(10,10,10,0.90) 0%, rgba(10,10,10,0.87) 46%, rgba(10,10,10,0.94) 100%);
  }
}

/* =========================================================
   移除跑馬燈後的版面調整（2026-08-07）
   原本 hero（深墨）→ 跑馬燈（深墨窄帶）→ 選品準則（米色）
   是三段式過渡；拿掉中間那條之後，深色直接切到米色，
   轉折太硬。加一條金色細線當收邊，並補回被吃掉的垂直節奏。
   ========================================================= */
.hero-banner { border-bottom: 1px solid rgba(212,188,138,0.22); }
.curation {
  padding-top: 104px;              /* 原 84px — 補回跑馬燈原本佔的視覺呼吸 */
  position: relative;
}
/* 米色區塊頂端的短金線，接住上方深色的結束 */
.curation::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 56px; height: 2px;
  background: var(--gold-ink);
}
@media (max-width: 860px) {
  .curation { padding-top: 76px; }
}

/* Slide 底部原本只壓到 0.62，照片左側的淺灰牆透得出來，
   與下方純 #0A0A0A 的數字帶之間切出一條可見的橫線。
   把底部收到全黑，讓照片無縫融進墨色。 */
.hero-slide__scrim {
  background:
    linear-gradient(90deg,
      rgba(10,10,10,0.96) 0%,
      rgba(10,10,10,0.93) 34%,
      rgba(10,10,10,0.72) 50%,
      rgba(10,10,10,0.34) 72%,
      rgba(10,10,10,0.20) 100%),
    linear-gradient(180deg,
      rgba(10,10,10,0.50) 0%,
      rgba(10,10,10,0)    24%,
      rgba(10,10,10,0)    68%,
      rgba(10,10,10,0.55) 88%,
      rgba(10,10,10,1)    100%);
}
@media (max-width: 1000px) {
  .hero-slide__scrim {
    background: linear-gradient(180deg,
      rgba(10,10,10,0.90) 0%, rgba(10,10,10,0.87) 46%,
      rgba(10,10,10,0.94) 88%, rgba(10,10,10,1) 100%);
  }
}

/* .hero-slide__bg 有 transform: scale(1.03)，放大後上下各溢出約 10px，
   而遮罩只有 slide 的高度 → 底部露出一條沒被遮罩蓋到的原始照片。
   這才是那條亮線的真正成因（不是漸層深淺）。 */
.hero-slide { overflow: hidden; }

/* =========================================================
   商品卡：移除所有特效與動畫（2026-08-07）
   ---------------------------------------------------------
   原本有卡片上浮、圖片縮放、飽和度提升、陰影浮現等效果。
   全部拿掉，商品卡回歸靜態，讓商品照片本身說話。
   範圍只限商品卡 .card，不影響分類卡與大類卡。
   ========================================================= */
.card,
.card__media,
.card__img,
.card__actions {
  transition: none !important;
}
.card:hover                { transform: none !important; }
.card:hover .card__media   { box-shadow: none !important; }
.card:hover .card__img,
.card__img                 { transform: none !important; filter: none !important; }

/* 「加入購物袋」原本靠 hover 滑上來（transform: translateY）。
   拿掉動畫後改為常駐顯示——觸控裝置本來就沒有 hover，
   在手機上那顆按鈕等於按不到，這樣同時修掉那個問題。 */
.card__actions { transform: none !important; }

/* =========================================================
   聯繫我們（/contact）
   左：聯絡資訊（米色卡）／右：表單／下：全寬地圖
   ========================================================= */
.contact-hero { padding: 132px 0 56px; background: var(--cream); text-align: center; }
.contact-hero__inner { max-width: var(--measure-box); }
.contact-hero .display { margin: 18px 0 26px; font-size: clamp(2.2rem, 4.6vw, 3.4rem); }
.contact-hero__sub { margin: 0; color: var(--graphite); font-size: 1.02rem; line-height: 2; }

.contact-body { padding: 24px 0 96px; background: var(--cream); }
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: start;
}

/* ---------- 聯絡資訊 ---------- */
.contact-info {
  background: var(--linen);
  border: 1px solid rgba(10,10,10,0.07);
  padding: 38px 34px;
}
.contact-info__title {
  margin: 0 0 30px;
  font-family: var(--ff-display);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--ink);
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(10,10,10,0.1);
}
.contact-info__item { margin-bottom: 26px; }
.contact-info__k {
  display: block;
  margin-bottom: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.28em;
  color: var(--gold-ink);
}
.contact-info__v {
  margin: 0;
  font-size: 0.97rem;
  line-height: 1.9;
  color: var(--graphite);
}
.contact-info__v a { color: var(--ink); border-bottom: 1px solid rgba(10,10,10,0.2); }
.contact-info__v a:hover { color: var(--gold-ink); border-bottom-color: var(--gold-ink); }
.contact-info__map-link {
  display: inline-block;
  margin-top: 8px;
  font-size: 12px;
  letter-spacing: 0.12em;
  border: 0 !important;
  color: var(--gold-ink) !important;
}
.contact-info__social {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 8px;
  padding-top: 22px;
  border-top: 1px solid rgba(10,10,10,0.1);
}
.contact-info__social a {
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--graphite);
  border: 1px solid rgba(10,10,10,0.15);
  padding: 6px 12px;
  transition: all var(--t-fast) var(--ease);
}
.contact-info__social a:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); }

/* ---------- 表單 ---------- */
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.contact-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
/* 蜜罐：以視覺方式徹底隱藏，但仍在 DOM 內讓機器人填 */
.contact-form__hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  overflow: hidden;
}
.contact-form .field { display: flex; flex-direction: column; gap: 8px; }
.contact-form .field > span {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.24em;
  color: var(--graphite);
}
.contact-form .field > span em { color: var(--error); font-style: normal; }
.contact-form input,
.contact-form textarea {
  font-family: var(--ff-body);
  font-size: 1rem;
  color: var(--ink);
  background: #fff;
  border: 1px solid rgba(10,10,10,0.15);
  border-radius: var(--radius);
  padding: 14px 16px;
  transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--gold-ink);
  box-shadow: 0 0 0 3px rgba(111,92,53,0.12);
}
.contact-form textarea { resize: vertical; line-height: 1.8; }
.contact-form__note {
  margin: 0;
  font-size: 12px;
  line-height: 1.9;
  color: var(--stone);
}
.contact-form__note a { color: var(--gold-ink); border-bottom: 1px solid rgba(111,92,53,0.4); }
.contact-form .btn--primary { align-self: flex-start; }

/* ---------- 地圖 ---------- */
.contact-map { line-height: 0; background: var(--linen); }
.contact-map iframe {
  width: 100%;
  height: 420px;
  border: 0;
  display: block;
  /* 降飽和讓地圖與品牌調性一致，不搶眼 */
  filter: saturate(0.72) contrast(1.02);
}

@media (max-width: 900px) {
  .contact-hero { padding: 96px 0 40px; }
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .contact-form__row { grid-template-columns: 1fr; }
  .contact-map iframe { height: 320px; }
}
