:root {
  --cream: #fbf7ef;
  --paper: #fffdf8;
  --ink: #2f2a24;
  --muted: #6f665d;
  --moss: #6f7f59;
  --sage: #a8b493;
  --clay: #b46f52;
  --blue: #42546a;
  --line: rgba(47, 42, 36, 0.14);
  --shadow: 0 18px 48px rgba(47, 42, 36, 0.12);
  --serif: "Noto Serif TC", "Source Han Serif TC", "Songti TC", serif;
  --sans: "Noto Sans TC", "Microsoft JhengHei", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.7;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  background: var(--ink);
  color: #fff;
  padding: 0.65rem 0.9rem;
  border-radius: 8px;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 247, 239, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.header-inner {
  width: min(1200px, calc(100% - 32px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem;
}

.logo img {
  width: auto;
  height: 44px;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 0.22rem;
  font-size: 0.82rem;
  color: var(--muted);
}

.desktop-nav > a,
.nav-trigger {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0.48rem 0.68rem;
  border-radius: 999px;
  line-height: 1;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.desktop-nav a:hover,
.desktop-nav a.cur,
.nav-trigger.cur {
  background: rgba(111, 127, 89, 0.11);
  color: var(--moss);
  font-weight: 500;
}

.nav-item {
  position: relative;
}

.dropdown {
  position: absolute;
  top: calc(100% + 0.35rem);
  left: 50%;
  width: 210px;
  transform: translateX(-50%) translateY(10px);
  opacity: 0;
  visibility: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 16px 36px rgba(47, 42, 36, 0.1);
  padding: 0.5rem;
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
  pointer-events: none;
}

.nav-item:hover .dropdown,
.nav-item:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.dropdown a {
  display: block;
  padding: 0.66rem 0.82rem;
  border-radius: 10px;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.35;
  text-align: left;
}

.dropdown a:hover {
  background: rgba(111, 127, 89, 0.1);
  color: var(--moss);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.icon-btn {
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  display: inline-grid;
  place-items: center;
  cursor: pointer;
}

.icon-btn svg {
  width: 20px;
  height: 20px;
}

.hamburger {
  display: none;
}

.mobile-nav {
  display: none;
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.mobile-nav.open {
  display: grid;
}

.mobile-nav a {
  padding: 0.9rem 1.5rem;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.collection-hero {
  position: relative;
  min-height: clamp(430px, 72vh, 650px);
  display: grid;
  align-items: end;
  overflow: hidden;
  background-image:
    linear-gradient(90deg, rgba(27, 25, 22, 0.74), rgba(27, 25, 22, 0.42) 48%, rgba(27, 25, 22, 0.08)),
    var(--hero-image);
  background-size: cover;
  background-position: var(--hero-position, center);
  color: #fff;
}

.collection-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  background: linear-gradient(180deg, rgba(251, 247, 239, 0), var(--cream));
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 6.5rem 0 5rem;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1.4rem;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.9rem;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.86);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.9rem;
  color: #f4dcc9;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: currentColor;
}

h1 {
  max-width: 720px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.25rem, 6vw, 5.25rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 630px;
  margin: 1.25rem 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1rem, 1.6vw, 1.18rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.65rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.72rem 1.05rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  font-weight: 700;
}

.btn.secondary {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.section {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 4.4rem 0;
}

.section.compact {
  padding-top: 2.2rem;
}

.section.source-section {
  padding-top: 0;
  padding-bottom: 1.4rem;
}

.source-note {
  display: grid;
  gap: 0.35rem;
  max-width: 880px;
  padding: 1rem 1.15rem;
  border: 1px solid rgba(111, 127, 89, 0.22);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.82);
  color: var(--muted);
  font-size: 0.92rem;
}

.source-label {
  margin: 0;
  color: var(--moss);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.source-note p:last-child {
  margin: 0;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(260px, 0.42fr);
  gap: 2rem;
  align-items: end;
  margin-bottom: 1.8rem;
}

.section-kicker {
  margin: 0 0 0.45rem;
  color: var(--clay);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.72rem, 3vw, 2.7rem);
  line-height: 1.2;
  letter-spacing: 0;
}

.section-note {
  margin: 0;
  color: var(--muted);
}

.switcher {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.switcher a {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.55rem 0.75rem;
  color: var(--muted);
  background: var(--paper);
}

.switcher a[aria-current="page"] {
  color: #fff;
  background: var(--blue);
  border-color: var(--blue);
}

.use-grid,
.product-grid,
.article-grid {
  display: grid;
  gap: 1rem;
}

.use-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.use-card,
.product-card,
.article-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 10px 28px rgba(47, 42, 36, 0.07);
}

.use-card {
  padding: 1.25rem;
}

.use-card h3,
.product-card h3,
.article-card h3 {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.42;
}

.use-card p,
.product-card p,
.article-card p {
  margin: 0.55rem 0 0;
  color: var(--muted);
  font-size: 0.93rem;
}

.use-tag {
  display: inline-flex;
  margin-bottom: 0.8rem;
  color: var(--moss);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.product-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.product-card {
  overflow: hidden;
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.product-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.product-photo {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #eee7dc;
}

.product-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-body {
  padding: 1rem;
}

.product-meta {
  color: var(--clay);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  margin-bottom: 0.35rem;
}

.product-link {
  display: inline-flex;
  margin-top: 0.85rem;
  color: var(--moss);
  font-size: 0.9rem;
  font-weight: 700;
}

.guide-band {
  background: #e9eee5;
  border-block: 1px solid rgba(111, 127, 89, 0.24);
}

.guide-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: rgba(47, 42, 36, 0.12);
  border: 1px solid rgba(47, 42, 36, 0.12);
  border-radius: 8px;
  overflow: hidden;
}

.guide-item {
  background: var(--paper);
  padding: 1.15rem;
}

.guide-item strong {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--blue);
}

.guide-item span {
  color: var(--muted);
  font-size: 0.92rem;
}

.article-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.article-card {
  padding: 1.15rem;
}

.article-label {
  display: inline-flex;
  margin-bottom: 0.65rem;
  color: var(--clay);
  font-size: 0.78rem;
  font-weight: 800;
}

.answer-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 1rem;
  align-items: start;
}

.answer-panel,
.faq-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 10px 28px rgba(47, 42, 36, 0.07);
}

.answer-panel {
  padding: 1.35rem;
}

.answer-panel h3,
.faq-item h3 {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.45;
}

.answer-panel p,
.faq-item p {
  margin: 0.55rem 0 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.answer-list {
  display: grid;
  gap: 0.75rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.answer-list li {
  padding-left: 1rem;
  border-left: 3px solid rgba(111, 127, 89, 0.28);
  color: var(--muted);
}

.answer-list strong {
  color: var(--ink);
}

.faq-panel {
  overflow: hidden;
}

.faq-item {
  padding: 1.15rem;
}

.faq-item + .faq-item {
  border-top: 1px solid var(--line);
}

.line-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.5rem;
  align-items: center;
  padding: 1.5rem;
  border: 1px solid rgba(180, 111, 82, 0.28);
  border-radius: 8px;
  background: #fff6ed;
}

.line-cta p {
  margin: 0.35rem 0 0;
  color: var(--muted);
}

.site-footer {
  background: #2f2a24;
  color: rgba(255, 255, 255, 0.76);
  padding: 3.2rem 0 1.3rem;
}

.footer-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 1fr);
  gap: 2rem;
  padding-bottom: 2.2rem;
}

.footer-brand {
  color: #fff;
  font-family: var(--serif);
  font-size: 1.18rem;
}

.footer-tag {
  margin-top: 0.35rem;
  color: #e8cbb7;
  font-size: 0.82rem;
}

.footer-inner p {
  margin: 0.8rem 0 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.92rem;
}

.footer-col h2 {
  margin: 0 0 0.8rem;
  color: #fff;
  font-family: var(--sans);
  font-size: 0.9rem;
  letter-spacing: 0.03em;
}

.footer-col ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.45rem;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.9rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.78rem;
}

@media (max-width: 980px) {
  .desktop-nav {
    display: none;
  }

  .hamburger {
    display: inline-grid;
  }

  .section-head,
  .line-cta {
    grid-template-columns: 1fr;
  }

  .use-grid,
  .product-grid,
  .article-grid,
  .answer-grid,
  .guide-list,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .collection-hero {
    min-height: 68vh;
    background-image:
      linear-gradient(180deg, rgba(27, 25, 22, 0.68), rgba(27, 25, 22, 0.36) 50%, rgba(27, 25, 22, 0.18)),
      var(--hero-image);
  }

  .hero-content {
    padding: 4.2rem 0 4rem;
  }

  .hero-actions,
  .switcher {
    flex-direction: column;
  }

  .btn,
  .switcher a {
    width: 100%;
  }

  .section {
    padding: 3rem 0;
  }

  .use-grid,
  .product-grid,
  .article-grid,
  .answer-grid,
  .guide-list,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
  }
}
