*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --cream:     #f5f1e8;
  --cream-2:   #ede7d8;
  --paper:     #faf7ef;
  --ink:       #1a1814;
  --ink-soft:  #4a4640;
  --ink-mute:  #8a8378;
  --rule:      #d6cfbf;
  --accent:    #8b3a1f;

  --serif:     'Fraunces', Georgia, 'Times New Roman', serif;
  --display: 'Libre Caslon Display', Georgia, serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.5;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01", "ss02";
}

/* paper grain */
body::before {
  content:'';
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3CfeColorMatrix values='0 0 0 0 0.1 0 0 0 0 0.09 0 0 0 0 0.08 0 0 0 0 0.5 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.35'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 1;
  opacity: 0.45;
  mix-blend-mode: multiply;
}
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8'%3E%3Ccircle cx='2' cy='2' r='1.2' fill='rgba(60%2C45%2C30%2C0.07)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  pointer-events: none;
  z-index: 1;
  mix-blend-mode: multiply;
}

/* ═══════════════ NAV ═══════════════ */
/* ═══════════════ HERO ═══════════════ */
#home-page { position: relative; z-index: 2; }

#hero {
  min-height: 100vh;
  padding: 160px 44px 100px;
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

.hero-headline {
  font-family: var(--display);
  font-size: clamp(4rem, 12vw, 10rem);
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: -0.035em;
  color: var(--ink);
  margin-bottom: 48px;
  opacity: 0;
  animation: rise 1s ease forwards 0.3s;
}
.hero-headline i {
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
}

.hero-deck {
  font-size: clamp(1.25rem, 2.2vw, 1.7rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.45;
  color: var(--ink-soft);
  max-width: 620px;
  margin-bottom: 56px;
  opacity: 0;
  animation: rise 1s ease forwards 0.5s;
}

.hero-trust {
  margin-top: 64px;
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
  opacity: 0;
  animation: rise 1s ease forwards 0.9s;
}
.trust-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.trust-num {
  font-size: 2.4rem;
  font-weight: 500;
  line-height: 1;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.trust-num i {
  font-style: italic;
  color: var(--accent);
  font-weight: 400;
}
.trust-label {
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 500;
}
.trust-headline {
  font-size: 2rem;
  font-weight: 400;
  font-style: italic;
  line-height: 1;
  color: var(--accent);
  letter-spacing: -0.02em;
}

/* ═══════════════ MANIFESTO ═══════════════ */
#manifesto {
  padding: 140px 44px 140px;
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
  border-top: 1px solid var(--rule);
}

.manifesto-eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 44px;
  font-weight: 600;
}

.manifesto-quote {
  font-size: clamp(1.8rem, 4.2vw, 3.2rem);
  font-weight: 400;
  line-height: 1.25;
  font-style: italic;
  color: var(--ink);
  letter-spacing: -0.015em;
}
.manifesto-quote::before { content: '"'; color: var(--accent); margin-right: 4px; }
.manifesto-quote::after  { content: '"'; color: var(--accent); margin-left: 4px; }

.manifesto-author {
  margin-top: 48px;
  font-size: 0.78rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 500;
}
.manifesto-author strong { color: var(--ink); font-weight: 700; letter-spacing: 0.18em; }

/* ═══════════════ COLLECTIONS ═══════════════ */
#collections {
  padding: 60px 44px 160px;
  max-width: 1280px;
  margin: 0 auto;
}

.collections-list { display: flex; flex-direction: column; }

.collection-row {
  display: grid;
  grid-template-columns: 100px 1fr auto;
  gap: 48px;
  align-items: center;
  padding: 56px 0;
  border-bottom: 1px solid var(--rule);
  cursor: pointer;
  position: relative;
  transition: padding 0.45s ease;
}
.collection-row:first-child { border-top: 1px solid var(--rule); }

.collection-row:hover { padding-left: 24px; }
.collection-row:hover .col-arrow { transform: translateX(10px); }
.collection-row:hover .col-title { color: var(--accent); }

.col-index {
  font-size: 1.05rem;
  font-style: italic;
  color: var(--ink-mute);
  font-weight: 400;
  letter-spacing: 0.04em;
}

.col-content { display: flex; flex-direction: column; gap: 14px; }

.col-title {
  font-family: var(--display);
  font-size: clamp(2.4rem, 5.5vw, 4.6rem);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.028em;
  transition: color 0.4s;
}

.col-blurb {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  font-style: italic;
  font-weight: 400;
  color: var(--ink-soft);
  max-width: 540px;
  line-height: 1.55;
  margin-top: 6px;
}

.col-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 18px;
}

.col-count {
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 500;
}

.col-arrow {
  font-size: 2.4rem;
  font-weight: 400;
  color: var(--ink);
  transition: transform 0.4s, color 0.4s;
  line-height: 1;
}
.collection-row:hover .col-arrow { color: var(--accent); }

/* ═══════════════ EDITORIAL FOOTER ═══════════════ */
#colophon {
  background: var(--ink);
  color: var(--cream);
  padding: 110px 44px 64px;
  position: relative;
  z-index: 2;
}
.colophon-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}
.col-left h3 {
  font-weight: 400;
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-style: italic;
  line-height: 1.15;
  margin-bottom: 28px;
  letter-spacing: -0.02em;
}
.col-left p {
  font-size: 1.02rem;
  color: rgba(245,241,232,0.7);
  max-width: 420px;
  line-height: 1.7;
}
.col-right-foot {
  display: flex;
  flex-direction: column;
  gap: 22px;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
}
.col-right-foot span {
  color: rgba(245,241,232,0.5);
  display: block;
  margin-bottom: 8px;
}
.col-right-foot strong { font-weight: 600; letter-spacing: 0.15em; }

.col-right-foot a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid rgba(245,241,232,0.4);
  padding-bottom: 2px;
  transition: border-color 0.3s, color 0.3s;
}
.col-right-foot a:hover {
  color: #fff;
  border-color: #fff;
}

.colophon-rule {
  max-width: 1200px;
  margin: 80px auto 0;
  border-top: 1px solid rgba(245,241,232,0.15);
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  font-size: 0.68rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(245,241,232,0.4);
  font-weight: 500;
}

/* ═══════════════ PRODUCT PAGE ═══════════════ */
#product-page {
  display: none;
  min-height: 100vh;
  position: relative;
  z-index: 2;
}

.page-inner {
  padding: 150px 44px 100px;
  max-width: 1280px;
  margin: 0 auto;
}

.back-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 72px;
}

.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 0.76rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--ink-soft);
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--serif);
  font-weight: 500;
  transition: color 0.3s;
  padding: 0;
}
.back-btn:hover { color: var(--accent); }
.back-btn svg { transition: transform 0.3s; }
.back-btn:hover svg { transform: translateX(-6px); }

.section-tag {
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 500;
}

.page-intro {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 100px;
  margin-bottom: 120px;
  align-items: end;
}

.page-chapter {
  font-size: 0.85rem;
  font-style: italic;
  color: var(--accent);
  margin-bottom: 24px;
  letter-spacing: 0.04em;
  font-weight: 500;
}

.page-title {
  font-size: clamp(3.5rem, 9vw, 7rem);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -0.035em;
  margin-bottom: 36px;
}
.page-title i { font-style: italic; color: var(--accent); font-weight: 400; }

.page-dek {
  font-size: clamp(1.2rem, 1.8vw, 1.45rem);
  font-style: italic;
  line-height: 1.5;
  color: var(--ink-soft);
  max-width: 520px;
  font-weight: 400;
}

.page-aside {
  border-left: 1px solid var(--rule);
  padding: 6px 0 6px 32px;
}
.page-aside-label {
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
  font-weight: 600;
}
.page-aside-text {
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--ink-soft);
  font-style: italic;
  font-weight: 400;
}

/* product list — editorial row style */
.products-list {
  display: grid;
  grid-template-columns: 1fr;
}

.product-row {
  display: grid;
  grid-template-columns: 140px 1fr auto;
  align-items: center;
  gap: 36px;
  padding: 28px 0;
  border-bottom: 1px solid var(--rule);
  transition: padding 0.4s ease, background 0.4s ease;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  position: relative;
}

.products-list { border-top: 1px solid var(--rule); }

.product-row:hover {
  padding-left: 20px;
}
.product-row:hover .prod-name { color: var(--accent); }
.product-row:hover .prod-image { transform: scale(1.04); }
.product-row:hover .prod-cta {
  color: var(--cream);
  background: var(--ink);
  border-color: var(--ink);
}
.product-row:hover .prod-cta svg { transform: translate(4px, -4px); }

.prod-image-wrap {
  width: 140px;
  height: 140px;
  overflow: hidden;
  background: var(--cream-2);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--rule);
}
.prod-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  display: block;
}
.prod-image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-style: italic;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 500;
  text-align: center;
  padding: 0 8px;
}

/* ★ NEW: 產品文字區塊 (包名稱 + why) */
.prod-text {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.prod-name {
  font-size: clamp(1.35rem, 2.3vw, 1.9rem);
  font-weight: 400;
  line-height: 1.22;
  letter-spacing: -0.012em;
  transition: color 0.35s;
}

/* ★ NEW: Why he'll like it 灰色斜體小字 */
.prod-why {
  font-size: 0.92rem;
  font-style: italic;
  font-weight: 400;
  color: var(--ink-mute);
  line-height: 1.5;
  max-width: 480px;
}

.prod-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding: 14px 22px;
  border: 1px solid var(--rule);
  font-weight: 600;
  transition: color 0.3s, background 0.3s, border-color 0.3s;
  white-space: nowrap;
  background: transparent;
}
.prod-cta svg { transition: transform 0.3s; }

/* Inline review link on product rows */
.prod-review-link {
  display: inline-block; font-size: 0.76rem; font-weight: 600;
  letter-spacing: 0.08em; color: var(--accent); text-decoration: none;
  margin-top: 4px; transition: opacity 0.25s;
}
.prod-review-link:hover { opacity: 0.7; }

/* Editor's Pick quick-pick banner */
.quick-pick {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  padding: 14px 24px; background: var(--paper);
  border: 1px solid var(--rule); border-left: 3px solid var(--accent);
  margin-bottom: 8px;
}
.quick-pick-label {
  font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--ink-mute); font-weight: 600; white-space: nowrap;
}
.quick-pick-name {
  font-size: 0.92rem; font-weight: 600; font-style: italic;
  color: var(--accent); text-decoration: none; transition: color 0.3s;
}
.quick-pick-name:hover { color: var(--ink); }

/* Price tag under product name */
.prod-price {
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.05em;
  color: var(--ink-soft); margin-top: 2px;
}

/* Editor's Pick row — no background change, just subtle left border */
.is-editors-pick { border-left: 3px solid var(--accent); padding-left: 16px; }

/* Editor's Pick badge inside CTA button */
.ep-badge {
  display: inline-block; font-size: 0.56rem; letter-spacing: 0.1em;
  text-transform: uppercase; font-weight: 700;
  color: var(--accent); border: 1px solid var(--accent);
  padding: 2px 6px; white-space: nowrap;
}

/* keep exploring section */
.keep-going {
  margin-top: 120px;
  padding-top: 48px;
  border-top: 1px solid var(--rule);
  text-align: center;
}
.keep-going-eyebrow {
  font-style: italic;
  color: var(--ink-mute);
  font-size: 1.1rem;
  margin-bottom: 28px;
}
.keep-going-links {
  display: flex;
  gap: 36px;
  justify-content: center;
  flex-wrap: wrap;
}
.keep-going-link {
  font-size: 1.4rem;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--ink-mute);
  padding-bottom: 4px;
  transition: color 0.3s, border-color 0.3s;
  cursor: pointer;
  font-weight: 400;
}
.keep-going-link:hover {
  color: var(--accent);
  border-color: var(--accent);
}

/* ═══════════════ LOADING ═══════════════ */
.loading-screen {
  position: fixed;
  inset: 0;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  font-style: italic;
  color: var(--ink-mute);
  font-size: 1.1rem;
  transition: opacity 0.5s;
}
.loading-screen.fade { opacity: 0; pointer-events: none; }

/* ═══════════════ ANIMATIONS ═══════════════ */
@keyframes rise {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}

.fade-in {
  opacity: 0;
  animation: rise 0.8s ease forwards;
}

/* ═══════════════ MOBILE ═══════════════ */
@media (max-width: 720px) {
  #hero { padding: 130px 22px 80px; }
  .hero-trust { gap: 32px; margin-top: 48px; }
  .trust-num { font-size: 1.9rem; }
  .trust-headline { font-size: 1.5rem; }

  #manifesto { padding: 90px 22px 90px; }

  #collections { padding: 40px 22px 110px; }

  .collection-row {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 44px 0;
  }
  .collection-row:hover { padding-left: 0; }
  .col-index { font-size: 0.9rem; }
  .col-right {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin-top: 8px;
  }
  .col-arrow { font-size: 1.8rem; }

  #colophon { padding: 80px 22px 48px; }
  .colophon-inner { grid-template-columns: 1fr; gap: 44px; }
  .colophon-rule { flex-direction: column; gap: 12px; margin-top: 56px; }

  .page-inner { padding: 120px 22px 80px; }
  .page-intro { grid-template-columns: 1fr; gap: 48px; margin-bottom: 72px; }
  .page-aside { border-left: none; border-top: 1px solid var(--rule); padding: 28px 0 0; }

  /* ★ MOBILE 優化：圖縮小，CTA 更靠近文字 */
  .product-row {
    grid-template-columns: 88px 1fr;
    grid-template-rows: auto auto;
    gap: 14px;
    padding: 20px 0;
    align-items: start;
  }
  .product-row:hover { padding-left: 0; }
  .is-editors-pick { border-left: none; padding-left: 0; }
  .prod-image-wrap {
    width: 88px; height: 88px;
    grid-row: 1 / 2;
    grid-column: 1 / 2;
  }
  .prod-text {
    grid-row: 1 / 2;
    grid-column: 2 / 3;
  }
  .prod-cta {
    grid-row: 2 / 3;
    grid-column: 1 / -1;
    justify-self: start;
    margin-top: 0;
    padding: 9px 16px;
    font-size: 0.62rem;
  }
  .prod-name { font-size: 1.05rem; }
  .prod-why { font-size: 0.82rem; }

  .keep-going { margin-top: 80px; }
  .keep-going-links { gap: 24px; }
  .keep-going-link { font-size: 1.15rem; }
}

/* ═══════════════ GIFT GUIDES (BLOG) ═══════════════ */
#guides {
  padding: 40px 44px 140px;
  max-width: 1280px;
  margin: 0 auto;
  border-top: 1px solid var(--rule);
  position: relative;
  z-index: 2;
}
.guides-eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 80px 0 28px;
  font-weight: 600;
}
.guides-title {
  font-family: var(--display);
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 56px;
}
.guides-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}
.guide-card {
  display: block;
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--rule);
  padding: 40px 36px;
  transition: padding 0.4s ease, border-color 0.4s ease, transform 0.4s ease;
  background: var(--paper);
}
.guide-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
}
.guide-card:hover .guide-card-title { color: var(--accent); }
.guide-card:hover .guide-card-link { gap: 14px; }
.guide-card-tag {
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 600;
  margin-bottom: 20px;
}
.guide-card-title {
  font-family: var(--display);
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin-bottom: 18px;
  transition: color 0.35s;
}
.guide-card-dek {
  font-size: 1.02rem;
  font-style: italic;
  color: var(--ink-soft);
  line-height: 1.55;
  margin-bottom: 28px;
}
.guide-card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.74rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink);
  font-weight: 600;
  transition: gap 0.3s;
}
@media (max-width: 720px) {
  #guides { padding: 20px 22px 110px; }
  .guides-eyebrow { margin-top: 56px; }
  .guides-title { margin-bottom: 40px; }
  .guides-list { grid-template-columns: 1fr; gap: 20px; }
  .guide-card { padding: 32px 26px; }
}
.browse-strip {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 48px 44px 20px;
}
.browse-strip a {
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-mute);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s;
}
.browse-strip a:hover {
  color: var(--accent);
}
