/* ========================================
   糀澄水晶 Huacheng Crystal
   Palette: cream + rose gold
   ======================================== */

:root {
  --cream: #FAF5EC;
  --cream-2: #F3EADB;
  --paper: #FFFDF9;
  --ink: #3D2E20;
  --ink-soft: #6B5946;
  --ink-mute: #9C8B76;
  --rose: #C9A77E;
  --rose-deep: #A88862;
  --rose-light: #E8D5B7;
  --rose-glow: rgba(201, 167, 126, 0.25);
  --line: rgba(61, 46, 32, 0.12);
  --shadow-sm: 0 4px 20px rgba(168, 136, 98, 0.08);
  --shadow-md: 0 12px 40px rgba(168, 136, 98, 0.15);
  --shadow-lg: 0 24px 60px rgba(168, 136, 98, 0.2);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Noto Sans TC', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 300;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a { color: inherit; text-decoration: none; transition: color .25s ease, opacity .25s ease; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ---------- Headings ---------- */
h1, h2, h3, h4, h5 {
  font-family: 'Noto Serif TC', serif;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: 0.02em;
}

.section-eyebrow {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 18px;
  color: var(--rose-deep);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.section-eyebrow.center { text-align: center; }

.section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 500;
  margin-bottom: 18px;
  letter-spacing: 0.05em;
}
.section-title.center { text-align: center; }

.section-desc {
  color: var(--ink-soft);
  max-width: 560px;
  margin: 0 auto 56px;
  text-align: center;
  font-size: 15px;
}

/* ---------- Promo bar ---------- */
.promo-bar {
  background: linear-gradient(90deg, var(--rose-deep), var(--rose), var(--rose-deep));
  color: #fff;
  text-align: center;
  font-size: 13px;
  letter-spacing: 0.1em;
  padding: 10px 16px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 245, 236, 0.85);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, background .3s ease;
}
.site-header.scrolled {
  border-bottom-color: var(--line);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
}

.brand {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}
.brand-zh {
  font-family: 'Noto Serif TC', serif;
  font-weight: 500;
  font-size: 22px;
  letter-spacing: 0.18em;
  color: var(--ink);
}
.brand-en {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 12px;
  letter-spacing: 0.25em;
  color: var(--rose-deep);
  margin-top: 2px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav a {
  font-size: 14px;
  letter-spacing: 0.12em;
  color: var(--ink);
  position: relative;
}
.nav a::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -6px;
  width: 0;
  height: 1px;
  background: var(--rose-deep);
  transition: width .3s ease, left .3s ease;
}
.nav a:hover { color: var(--rose-deep); }
.nav a:hover::after { width: 100%; left: 0; }

.nav-cta {
  background: var(--ink);
  color: #fff !important;
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 13px;
}
.nav-cta::after { display: none; }
.nav-cta:hover {
  background: var(--rose-deep);
  color: #fff !important;
}

.menu-btn {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  width: 36px;
  height: 30px;
  position: relative;
}
.menu-btn span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--ink);
  margin: 5px auto;
  transition: transform .3s ease, opacity .3s ease;
}
.menu-btn.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn.open span:nth-child(2) { opacity: 0; }
.menu-btn.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 120px 0 80px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
  animation: float 18s ease-in-out infinite;
}
.orb-1 {
  width: 480px; height: 480px;
  background: radial-gradient(circle, var(--rose-light), transparent 70%);
  top: -120px; left: -80px;
}
.orb-2 {
  width: 520px; height: 520px;
  background: radial-gradient(circle, #F8E1E7, transparent 70%);
  bottom: -160px; right: -100px;
  animation-delay: -6s;
}
.orb-3 {
  width: 360px; height: 360px;
  background: radial-gradient(circle, #E5D6F0, transparent 70%);
  top: 40%; left: 45%;
  animation-delay: -12s;
}
@keyframes float {
  0%, 100% { transform: translate(0,0) scale(1); }
  50%       { transform: translate(40px,-40px) scale(1.08); }
}

.hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
}

.eyebrow {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 20px;
  color: var(--rose-deep);
  letter-spacing: 0.2em;
  margin-bottom: 24px;
}

.hero-title {
  font-family: 'Noto Serif TC', serif;
  font-weight: 500;
  font-size: clamp(30px, 5.8vw, 64px);
  letter-spacing: 0.08em;
  line-height: 1.3;
  margin-bottom: 36px;
}
.hero-title .dot { color: var(--rose); margin: 0 4px; }

.hero-sub {
  font-size: 16px;
  color: var(--ink-soft);
  line-height: 2;
  margin: 0 auto 48px;
  max-width: 560px;
}
.hero-sub em { color: var(--rose-deep); font-style: normal; font-weight: 500; }

.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 16px 36px;
  font-size: 14px;
  letter-spacing: 0.18em;
  border-radius: 999px;
  transition: all .3s ease;
  cursor: pointer;
  border: 1px solid transparent;
}
.btn-primary {
  background: var(--ink);
  color: #fff;
}
.btn-primary:hover {
  background: var(--rose-deep);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(168, 136, 98, 0.35);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-ghost:hover {
  background: var(--ink);
  color: #fff;
}

.scroll-hint {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  text-align: center;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  letter-spacing: 0.3em;
  color: var(--rose-deep);
  font-size: 12px;
}
.scroll-hint .line {
  width: 1px;
  height: 36px;
  background: var(--rose-deep);
  margin: 10px auto 0;
  animation: lineGrow 2s ease-in-out infinite;
  transform-origin: top;
}
@keyframes lineGrow {
  0%, 100% { transform: scaleY(0.3); opacity: 0.4; }
  50%       { transform: scaleY(1); opacity: 1; }
}

/* ---------- Story ---------- */
.story {
  padding: 120px 0;
  background: var(--paper);
  position: relative;
}

.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.story-visual {
  position: relative;
  height: 480px;
}
.visual-card {
  position: absolute;
  border-radius: 6px;
  box-shadow: var(--shadow-md);
}
.v-rose {
  width: 60%; height: 60%;
  top: 0; left: 0;
  background:
    radial-gradient(circle at 30% 30%, #FBE3E6 0%, #F4C2C8 50%, #E5A4AB 100%);
}
.v-amethyst {
  width: 55%; height: 55%;
  bottom: 0; right: 0;
  background:
    radial-gradient(circle at 70% 30%, #E8D5F0 0%, #C9B0DC 50%, #9F84BD 100%);
}
.v-citrine {
  width: 35%; height: 35%;
  top: 18%; right: 18%;
  background:
    radial-gradient(circle at 50% 30%, #FFF1C2 0%, #F4D88C 50%, #D4A574 100%);
  z-index: 1;
}

.story-text p { color: var(--ink-soft); margin-bottom: 18px; font-size: 15px; }
.story-tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 14px 24px;
  margin-top: 28px;
}
.story-tags li {
  color: var(--rose-deep);
  font-size: 14px;
  letter-spacing: 0.1em;
}

/* ---------- Products ---------- */
.products {
  padding: 120px 0;
  background: var(--cream);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 64px;
}

.card {
  background: var(--paper);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .4s ease, box-shadow .4s ease;
  display: block;
}
.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}
.card:hover .card-img { transform: scale(1.04); }
.card:hover .buy { color: var(--rose-deep); letter-spacing: 0.2em; }

.card-img {
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .6s ease;
  position: relative;
  overflow: hidden;
}
.card-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(255,255,255,0.2));
}
.img-emoji {
  font-size: 64px;
  filter: drop-shadow(0 6px 16px rgba(0,0,0,0.15));
  position: relative;
  z-index: 1;
}

/* Each product gets a unique gradient */
.p-tree    { background: radial-gradient(circle at 40% 40%, #DCEAD3, #A8C99A 80%); }
.p-phone   { background: radial-gradient(circle at 40% 40%, #F4DCC8, #D9A983 80%); }
.p-bowl    { background: radial-gradient(circle at 40% 40%, #F7F2EA, #DCD0BD 80%); }
.p-ghost   { background: radial-gradient(circle at 40% 40%, #C9DFC5, #6B9A6D 80%); }
.p-five    { background: radial-gradient(circle at 40% 40%, #F0E0EB, #C9A3C4 80%); }
.p-pyramid { background: radial-gradient(circle at 40% 40%, #4D4040, #1B1414 85%); }

.card-body { padding: 24px 26px 28px; }

.tag {
  display: inline-block;
  font-size: 11px;
  color: var(--rose-deep);
  letter-spacing: 0.2em;
  margin-bottom: 10px;
}
.card h3 {
  font-size: 19px;
  margin-bottom: 8px;
  letter-spacing: 0.06em;
}
.card .desc {
  color: var(--ink-mute);
  font-size: 13.5px;
  line-height: 1.7;
  min-height: 46px;
  margin-bottom: 18px;
}
.card-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  color: var(--ink);
  letter-spacing: 0.05em;
}
.buy {
  font-size: 12px;
  color: var(--ink-soft);
  letter-spacing: 0.16em;
  transition: all .3s ease;
}

.all-products { text-align: center; }

/* ---------- Features ---------- */
.features {
  background: var(--paper);
  padding: 100px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px;
  text-align: center;
}
.feature-icon {
  font-size: 28px;
  color: var(--rose-deep);
  margin-bottom: 16px;
}
.feature h4 {
  font-size: 17px;
  letter-spacing: 0.1em;
  margin-bottom: 10px;
}
.feature p {
  color: var(--ink-mute);
  font-size: 13.5px;
  line-height: 1.9;
}

/* ---------- Guide ---------- */
.guide { padding: 120px 0; background: var(--cream); }
.guide-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 8px;
}
.guide-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 32px 32px;
  transition: transform .3s ease, border-color .3s ease;
}
.guide-card:hover { transform: translateY(-4px); border-color: var(--rose-light); }
.guide-card h4 {
  font-size: 18px;
  margin-bottom: 12px;
  color: var(--rose-deep);
  letter-spacing: 0.08em;
}
.guide-card p { color: var(--ink-soft); font-size: 14.5px; }
.guide-card strong { color: var(--ink); font-weight: 500; }

/* ---------- Contact ---------- */
.contact {
  padding: 140px 0;
  background:
    radial-gradient(circle at 20% 30%, var(--rose-light), transparent 50%),
    radial-gradient(circle at 80% 70%, #F8E1E7, transparent 50%),
    var(--cream);
  text-align: center;
}
.contact h2 {
  font-size: clamp(26px, 4vw, 40px);
  margin-bottom: 24px;
  line-height: 1.5;
  letter-spacing: 0.06em;
}
.contact p {
  color: var(--ink-soft);
  font-size: 15px;
  margin-bottom: 40px;
}
.contact-cta {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: #E8DDD0;
  padding: 72px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}
.footer-grid h5 {
  font-size: 13px;
  letter-spacing: 0.2em;
  color: var(--rose-light);
  margin-bottom: 16px;
  font-weight: 500;
}
.footer-grid a {
  display: block;
  font-size: 14px;
  color: #C8BBA9;
  margin-bottom: 10px;
}
.footer-grid a:hover { color: #fff; }
.brand-footer .brand-zh { color: #fff; }
.brand-footer .brand-en { color: var(--rose-light); }
.footer-tag {
  margin-top: 14px;
  font-size: 13px;
  color: #B0A18C;
  letter-spacing: 0.08em;
}
.footer-bottom {
  text-align: center;
  font-size: 12px;
  color: #807260;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.08);
  letter-spacing: 0.1em;
}

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s ease, transform .9s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); gap: 36px; }
  .story-grid { grid-template-columns: 1fr; gap: 56px; }
  .story-visual { height: 380px; max-width: 480px; margin: 0 auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 640px) {
  .container { padding: 0 22px; }

  .menu-btn { display: block; }
  .nav {
    position: fixed;
    top: 0; right: 0;
    width: 80%; height: 100vh;
    background: var(--cream);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 40px;
    transform: translateX(100%);
    transition: transform .4s ease;
    box-shadow: -20px 0 40px rgba(0,0,0,0.08);
  }
  .nav.open { transform: translateX(0); }
  .nav a { font-size: 16px; }

  .product-grid { grid-template-columns: 1fr; gap: 24px; }
  .guide-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }

  .hero { min-height: 88vh; padding: 80px 0 60px; }
  .hero-sub br { display: none; }

  .story, .products, .guide, .contact { padding: 80px 0; }
  .features { padding: 64px 0; }
}
