:root {
  --bg: #fff8f7;
  --surface: rgba(255, 252, 251, 0.92);
  --surface-soft: rgba(249, 239, 242, 0.82);
  --line: rgba(104, 74, 86, 0.12);
  --line-strong: rgba(104, 74, 86, 0.22);
  --text: #433340;
  --muted: #766270;
  --accent: #cb7d90;
  --accent-deep: #a95a70;
  --berry: #8e5f73;
  --shadow: 0 24px 60px rgba(120, 88, 102, 0.12);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --content-width: min(1160px, calc(100vw - 32px));
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: "Microsoft JhengHei", "Microsoft JhengHei UI", "PingFang TC", sans-serif;
  line-height: 1.6;
  background:
    radial-gradient(circle at top left, rgba(210, 154, 170, 0.16), transparent 30%),
    radial-gradient(circle at 92% 12%, rgba(246, 216, 194, 0.18), transparent 24%),
    linear-gradient(180deg, #fffdfc 0%, #fff8f8 45%, #fff5f5 100%);
}

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

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

button,
.button {
  font: inherit;
}

[id] {
  scroll-margin-top: 28px;
}

.ambient {
  position: fixed;
  width: 28rem;
  height: 28rem;
  border-radius: 50%;
  filter: blur(88px);
  opacity: 0.32;
  pointer-events: none;
  z-index: 0;
}

.ambient-rose {
  top: -8rem;
  left: -8rem;
  background: rgba(224, 163, 179, 0.52);
}

.ambient-apricot {
  right: -8rem;
  bottom: 18%;
  background: rgba(243, 210, 182, 0.42);
}

.site-header,
.section-shell,
.site-footer {
  position: relative;
  z-index: 1;
}

.site-header {
  width: var(--content-width);
  margin: 16px auto 0;
  padding: 10px 18px 10px 22px;
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(255, 252, 251, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 999px;
  box-shadow: 0 14px 34px rgba(135, 96, 110, 0.1);
}

.brand {
  display: flex;
  align-items: center;
  margin-right: auto;
}

.brand-logo {
  width: min(270px, 100%);
  max-height: 54px;
  height: auto;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 14px;
}

.site-nav a {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--text);
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.82rem 1.18rem;
  font-weight: 800;
  white-space: nowrap;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.header-cta {
  flex-shrink: 0;
  writing-mode: horizontal-tb;
}

.header-cta,
.button-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  box-shadow: 0 14px 28px rgba(169, 90, 112, 0.22);
}

.button-secondary {
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.76);
}

.header-cta:hover,
.button:hover {
  transform: translateY(-2px);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.8);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
}

.nav-toggle span {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--text);
}

.section-shell {
  width: var(--content-width);
  margin: 0 auto;
}

.hero {
  padding: 36px 0 24px;
  display: grid;
  grid-template-columns: minmax(360px, 0.8fr) minmax(520px, 1.2fr);
  gap: 12px;
  align-items: center;
}

.hero-copy {
  max-width: 34rem;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent-deep);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2 {
  margin: 0;
  letter-spacing: -0.03em;
  line-height: 1.16;
}

.hero h1 {
  font-size: clamp(2rem, 3.55vw, 3.2rem);
  line-height: 1.08;
  max-width: 12ch;
}

.hero-lead,
.section-note,
.overview-card p,
.partner-card p,
.qr-card p,
.product-card p,
.event-copy p,
.news-card p,
.contact-block p,
.footer-note {
  color: var(--muted);
}

.hero-lead {
  margin: 18px 0 0;
  max-width: 33ch;
  font-size: 0.98rem;
}

.hero-actions {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-figure,
.info-card,
.product-card,
.event-card,
.news-card,
.contact-card,
.trust-band div {
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow);
}

.hero-figure {
  margin: 0;
  overflow: hidden;
  border-radius: 34px;
  padding: 14px 14px 0;
  background: linear-gradient(180deg, rgba(251, 246, 247, 0.98), rgba(242, 229, 235, 0.92));
}

.hero-figure img {
  width: 100%;
  height: auto;
  background: linear-gradient(180deg, rgba(226, 213, 233, 0.7), rgba(225, 217, 239, 0.54));
  border-radius: 24px 24px 0 0;
}

.trust-band {
  padding-bottom: 22px;
}

.trust-band div {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  padding: 14px 18px;
  border-radius: 999px;
  background: rgba(255, 252, 251, 0.66);
}

.trust-band a {
  padding: 0.7rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--line);
  color: var(--muted);
  font-weight: 700;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease;
}

.trust-band a:hover {
  transform: translateY(-1px);
  border-color: rgba(203, 125, 144, 0.28);
  color: var(--accent-deep);
}

.overview-section,
.product-section,
.media-section,
.highlight-section,
.contact-section {
  padding: 26px 0 0;
}

.section-heading {
  margin-bottom: 18px;
}

.section-heading h2 {
  font-size: clamp(1.75rem, 3vw, 2.45rem);
  max-width: 13ch;
}

.split {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
}

.section-note {
  max-width: 34ch;
  margin: 0;
  font-size: 0.94rem;
}

.overview-grid {
  display: grid;
  grid-template-columns: 1fr 0.8fr 0.85fr;
  gap: 18px;
}

.info-card,
.product-card,
.news-card,
.contact-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(250, 243, 244, 0.9));
  border-radius: var(--radius-xl);
}

.overview-card,
.partner-card,
.qr-card,
.product-card,
.news-card,
.contact-card {
  padding: 22px;
}

.overview-card h3,
.partner-card h3,
.qr-card h3,
.product-card h3,
.event-copy h3,
.news-card h3,
.contact-block h3 {
  margin: 10px 0 8px;
  line-height: 1.22;
}

.mini-link {
  display: inline-block;
  margin-top: 6px;
  color: var(--accent-deep);
  font-weight: 800;
}

.partner-card img {
  width: 100%;
  margin: 10px 0 12px;
  border-radius: 14px;
  border: 1px solid var(--line);
}

.partner-card .partner-logo {
  width: min(220px, 100%);
  margin: 12px 0 10px;
  border: 0;
  border-radius: 0;
}

.info-links {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.info-links .mini-link {
  margin-top: 0;
}

.qr-card img {
  width: min(220px, 100%);
  margin: 10px auto 12px 0;
  border-radius: 18px;
  border: 1px solid var(--line);
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}

.filter-chip {
  padding: 0.74rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.74);
  color: var(--muted);
  font-weight: 800;
  cursor: pointer;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease;
}

.filter-chip.is-active,
.filter-chip:hover {
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  border-color: transparent;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.product-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.product-media {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80%;
  min-height: 312px;
  margin: 0 auto;
  padding: 22px 18px;
  border-radius: 26px;
  border: 1px solid rgba(203, 125, 144, 0.12);
  background: linear-gradient(180deg, rgba(249, 241, 245, 0.98), rgba(242, 229, 236, 0.96));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.88),
    0 16px 34px rgba(188, 144, 158, 0.1);
}

.product-media img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 368px;
  height: auto;
}

.product-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.product-badge,
.event-label,
.news-year {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 0.34rem 0.7rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 800;
}

.product-badge,
.event-label {
  background: rgba(203, 125, 144, 0.12);
  color: var(--accent-deep);
}

.product-code {
  color: var(--berry);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

.tag-row span {
  padding: 0.4rem 0.66rem;
  border-radius: 999px;
  background: rgba(142, 95, 115, 0.08);
  color: var(--berry);
  font-size: 0.76rem;
  font-weight: 700;
}

.product-card a {
  margin-top: 2px;
  color: var(--accent-deep);
  font-weight: 800;
}

.highlight-layout {
  display: grid;
  grid-template-columns: 1fr 1fr 0.88fr;
  gap: 18px;
}

.media-card {
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(250, 243, 244, 0.9));
  border-radius: var(--radius-xl);
}

.media-card img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
}

.media-card-wide {
  grid-column: 1 / -1;
}

.media-card-contain img {
  aspect-ratio: auto;
  max-height: 420px;
  object-fit: contain;
  background: linear-gradient(180deg, rgba(255, 250, 251, 0.92), rgba(246, 236, 239, 0.92));
}

.media-card figcaption {
  padding: 16px 18px 18px;
}

.media-card strong {
  display: block;
  margin-bottom: 6px;
  line-height: 1.2;
}

.event-card {
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(250, 243, 244, 0.9));
  border-radius: var(--radius-xl);
}

.event-card img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
}

.event-copy {
  padding: 18px 18px 20px;
}

.news-stack {
  display: grid;
  gap: 16px;
}

.news-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.news-year {
  background: rgba(142, 95, 115, 0.1);
  color: var(--berry);
}

.contact-card {
  padding: 24px;
}

.contact-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.contact-actions {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.site-footer {
  width: var(--content-width);
  margin: 46px auto 24px;
  padding: 22px 0 28px;
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 0;
}

.site-footer p + p {
  margin-top: 8px;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
  transition-delay: calc(var(--reveal-delay, 0) * 100ms);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.is-hidden {
  display: none;
}

@media (max-width: 1120px) {
  .hero {
    grid-template-columns: minmax(320px, 0.82fr) minmax(0, 1.18fr);
    gap: 18px;
  }

  .hero,
  .overview-grid,
  .product-grid,
  .media-grid,
  .highlight-layout,
  .contact-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .news-stack,
  .contact-card {
    grid-column: 1 / -1;
  }

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

@media (max-width: 860px) {
  .site-header {
    flex-wrap: wrap;
    border-radius: 28px;
    padding: 14px;
  }

  .nav-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .site-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    padding: 8px 4px 0;
  }

  .site-header.is-open .site-nav {
    display: flex;
  }

  .header-cta {
    display: none;
  }

  .hero,
  .overview-grid,
  .product-grid,
  .media-grid,
  .highlight-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    gap: 18px;
    padding-top: 34px;
  }

  .media-card-wide {
    grid-column: auto;
  }

  .split {
    flex-direction: column;
    align-items: start;
  }

  .product-media {
    width: min(80%, 280px);
    min-height: 280px;
  }

  .product-media img {
    max-height: 320px;
  }

  .hero h1,
  .section-heading h2 {
    max-width: 100%;
  }
}

@media (max-width: 560px) {
  .site-header {
    width: min(100vw - 20px, 1160px);
    gap: 12px;
  }

  .brand-logo {
    width: min(230px, 100%);
    max-height: none;
  }

  .hero {
    padding-top: 30px;
  }

  .overview-card,
  .partner-card,
  .qr-card,
  .product-card,
  .news-card,
  .contact-card {
    padding: 20px;
  }

  .trust-band div {
    border-radius: 30px;
    justify-content: flex-start;
  }
}
