:root {
  --green-dark: #2f4a2f;
  --green-main: #5e7f3a;
  --green-light: #a8b985;
  --green-deep: var(--green-dark);
  --green: var(--green-main);
  --green-soft: #f7f7f3;
  --paper: #faf8f1;
  --warm: #fffdf8;
  --wood: #caa973;
  --brown: #7a5a3a;
  --tea: var(--brown);
  --gold: #b9975b;
  --red: #c98178;
  --cream: #faf8f1;
  --gray-light: #f7f7f3;
  --ink: #20352b;
  --muted: #69766d;
  --text-readable: #4f564c;
  --font-sans: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Source Han Sans SC", "Helvetica Neue", Arial, sans-serif;
  --font-serif-display: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "SimSun", serif;
  --line: rgba(122, 90, 58, 0.12);
  --shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
  --shadow-hover: 0 18px 40px rgba(0, 0, 0, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

img {
  display: block;
  max-width: 100%;
  user-select: none;
  -webkit-user-drag: none;
}

.hero-slide,
.featured-card,
.product-image,
.tea-image,
.scene-banner {
  user-select: none;
  -webkit-user-drag: none;
}

button,
input {
  font: inherit;
}

.section-anchor {
  scroll-margin-top: 92px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 250, 241, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

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

.brand.logo-only {
  display: flex;
  align-items: center;
  min-width: 132px;
}

.brand.logo-only img {
  width: 112px;
  height: 52px;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  color: var(--green-deep);
  font-size: 15px;
}

.site-nav a {
  position: relative;
  white-space: nowrap;
}

.site-nav a::after {
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0;
  height: 1px;
  background: var(--red);
  content: "";
  transition: width 0.2s ease;
}

.site-nav a:hover::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--warm);
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 1px;
  margin: 5px auto;
  background: var(--green-deep);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 0.92fr;
  min-height: 720px;
  overflow: hidden;
  background: var(--green-deep);
}

.hero::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(47, 74, 47, 0.82), rgba(250, 248, 241, 0.34)),
    radial-gradient(circle at 18% 22%, rgba(185, 151, 91, 0.18), transparent 28%);
  content: "";
}

.hero-copy {
  position: relative;
  z-index: 1;
  align-self: center;
  width: min(660px, calc(100% - 52px));
  margin-left: max(26px, calc((100vw - 1200px) / 2));
  padding: 94px 0;
  color: var(--warm);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--red);
  font-family: var(--font-sans);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero .eyebrow,
.constitution .eyebrow {
  color: #e5c77a;
}

.hero h1 {
  max-width: 640px;
  margin: 0 0 24px;
  font-size: clamp(52px, 7vw, 96px);
  font-weight: 600;
  line-height: 1.05;
}

.hero h1.hero-title-compact {
  max-width: 920px;
  font-size: clamp(42px, 5vw, 68px);
  line-height: 1.12;
  white-space: nowrap;
}

.hero-desc {
  max-width: 560px;
  margin: 0;
  color: rgba(255, 250, 241, 0.84);
  font-size: 18px;
}

.hero-actions,
.footer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  border: 1px solid var(--green-deep);
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.btn.primary {
  border-color: var(--gold);
  background: var(--gold);
  color: #fff;
}

.btn.ghost {
  background: rgba(255, 250, 241, 0.08);
  color: var(--warm);
  border-color: rgba(255, 250, 241, 0.36);
}

.btn.light {
  color: var(--warm);
}

.hero-gallery {
  position: relative;
  z-index: 1;
  min-height: 720px;
}

.gallery-main {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.86;
}

.gallery-card {
  position: absolute;
  right: 10%;
  padding: 18px 24px;
  border: 1px solid rgba(255, 250, 241, 0.4);
  border-radius: 8px;
  background: rgba(255, 250, 241, 0.82);
  color: var(--green-deep);
  box-shadow: var(--shadow);
}

.gallery-card.herb {
  top: 20%;
}

.gallery-card.gift {
  right: 22%;
  bottom: 18%;
}

.vertical-seal {
  position: absolute;
  right: 34px;
  top: 50%;
  z-index: 2;
  padding: 18px 10px;
  transform: translateY(-50%);
  border: 1px solid rgba(255, 250, 241, 0.42);
  color: rgba(255, 250, 241, 0.9);
  font-size: 18px;
  line-height: 1.8;
  writing-mode: vertical-rl;
}

section:not(.hero) {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
  padding: 92px 0;
}

.section-heading {
  max-width: 790px;
  margin-bottom: 34px;
}

.section-heading h2,
.custom h2 {
  margin: 0;
  color: var(--green-deep);
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 600;
  line-height: 1.25;
}

.section-heading p:last-child {
  margin: 14px 0 0;
  color: var(--muted);
}

.split-intro {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 52px;
  align-items: end;
}

.lead {
  margin: 0 0 34px;
  color: var(--tea);
  font-size: 18px;
}

.data-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 22px;
}

.data-grid article {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 250, 241, 0.82);
}

.data-grid strong {
  display: block;
  color: var(--red);
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1;
}

.data-grid span {
  display: block;
  margin-top: 10px;
  color: var(--green-deep);
}

.idea-grid,
.system-grid,
.featured-grid,
.scene-grid,
.custom-cards {
  display: grid;
  gap: 18px;
}

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

.idea-grid article,
.system-card,
.featured-card,
.scene-grid article,
.custom-cards article,
.product-card,
.constitution-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 250, 241, 0.88);
  box-shadow: var(--shadow);
}

.idea-grid article {
  padding: 28px;
}

.idea-grid span {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--green-deep);
  font-size: 22px;
  font-weight: 600;
}

.idea-grid p,
.scene-grid p,
.custom p,
.featured-card p,
.system-card p {
  margin: 0;
  color: var(--muted);
}

.product-system {
  width: 100%;
  max-width: none;
  padding-right: max(20px, calc((100vw - 1200px) / 2));
  padding-left: max(20px, calc((100vw - 1200px) / 2));
  background: linear-gradient(180deg, #ffffff, var(--cream));
}

.system-grid {
  grid-template-columns: repeat(5, 1fr);
}

.system-card {
  display: flex;
  min-height: 240px;
  padding: 24px;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.system-card:hover,
.featured-card:hover,
.product-card:hover {
  transform: translateY(-5px);
  border-color: rgba(179, 66, 50, 0.42);
  box-shadow: var(--shadow-hover);
}

.system-card h3,
.featured-card h3,
.scene-grid h3,
.custom-cards h3 {
  margin: 0 0 10px;
  color: var(--green-deep);
  font-size: 24px;
}

.system-card strong {
  color: var(--red);
  font-size: 28px;
}

.featured-grid {
  grid-template-columns: 1.15fr 0.85fr 0.85fr;
}

.featured-card {
  position: relative;
  overflow: hidden;
  min-height: 360px;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.featured-card:first-child {
  grid-row: span 2;
}

.featured-card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  background: var(--green-soft);
}

.featured-card:first-child img {
  height: 430px;
}

.featured-body {
  padding: 24px;
}

.featured-body .mini-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.with-count {
  display: flex;
  align-items: end;
  justify-content: space-between;
  max-width: none;
  gap: 24px;
}

.count-text {
  margin: 0 0 8px;
  color: var(--muted);
}

.count-text strong {
  color: var(--red);
  font-size: 28px;
}

.filter-panel {
  display: grid;
  gap: 18px;
  margin-bottom: 28px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 250, 241, 0.8);
}

.filter-row,
.search-box {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 16px;
  align-items: start;
}

.filter-row > span,
.search-box span {
  color: var(--green-deep);
  font-weight: 600;
}

.chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip {
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--warm);
  color: var(--green-deep);
  cursor: pointer;
}

.chip.active {
  border-color: var(--green-deep);
  background: var(--green-deep);
  color: var(--warm);
}

.search-box {
  align-items: center;
}

.search-box input {
  width: 100%;
  min-height: 46px;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: 8px;
  outline: none;
  background: var(--warm);
  color: var(--ink);
}

.search-box input:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(82, 120, 90, 0.12);
}

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

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

.product-image {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--green-soft);
}

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

.product-body {
  padding: 20px;
}

.meta-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.tag,
.stamp {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 9px;
  border-radius: 6px;
  font-size: 12px;
}

.tag {
  background: var(--green-soft);
  color: var(--green-deep);
}

.stamp {
  background: var(--red);
  color: #fff;
}

.scene-tag {
  background: rgba(195, 155, 80, 0.14);
  color: var(--tea);
}

.product-card h3 {
  margin: 0 0 14px;
  color: var(--green-deep);
  font-size: 23px;
  line-height: 1.3;
}

.info-list {
  display: grid;
  gap: 10px;
  margin: 0 0 14px;
}

.info-list p {
  margin: 0;
  color: var(--muted);
}

.info-list b {
  color: var(--tea);
  font-weight: 600;
}

.intro {
  margin: 0;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--ink);
}

.empty-state {
  padding: 42px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  color: var(--muted);
  text-align: center;
}

.constitution {
  width: 100%;
  max-width: none;
  padding-right: max(20px, calc((100vw - 1200px) / 2));
  padding-left: max(20px, calc((100vw - 1200px) / 2));
  background: var(--green-deep);
}

.constitution .section-heading h2,
.constitution .section-heading p {
  color: var(--warm);
}

.constitution-grid {
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  gap: 12px;
}

.constitution-card {
  padding: 18px 14px;
  background: rgba(255, 250, 241, 0.94);
  box-shadow: none;
}

.constitution-card strong {
  display: block;
  color: var(--green-deep);
}

.constitution-card span {
  display: inline-block;
  margin-top: 8px;
  color: var(--red);
  font-size: 14px;
}

.scene-grid {
  grid-template-columns: repeat(4, 1fr);
}

.scene-grid article {
  padding: 30px;
}

.scene-grid h3,
.custom-cards h3 {
  margin-top: 16px;
}

.custom {
  width: 100%;
  max-width: none;
  padding-right: max(20px, calc((100vw - 1200px) / 2));
  padding-left: max(20px, calc((100vw - 1200px) / 2));
  background: linear-gradient(135deg, var(--warm), #efe0c8);
}

.custom-inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 44px;
  align-items: center;
}

.custom h2 {
  margin-bottom: 18px;
}

.custom-cards {
  grid-template-columns: repeat(2, 1fr);
}

.custom-cards article {
  padding: 28px;
}

.site-footer {
  padding: 58px max(20px, calc((100vw - 1200px) / 2));
  background: var(--green-deep);
  color: var(--warm);
}

.site-footer h2 {
  margin: 0 0 8px;
  font-size: clamp(28px, 4vw, 42px);
}

.site-footer p {
  margin: 0;
  color: rgba(255, 250, 241, 0.78);
}

.disclaimer {
  max-width: 960px;
  margin-top: 34px !important;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 250, 241, 0.2);
  font-size: 14px;
}

@media (max-width: 1120px) {
  .site-nav {
    gap: 15px;
    font-size: 14px;
  }

  .system-grid,
  .scene-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .featured-card:first-child {
    grid-row: auto;
  }

  .featured-card:first-child img {
    height: 210px;
  }

  .constitution-grid,
  .data-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 820px) {
  .header-inner {
    width: min(100% - 28px, 1200px);
  }

  .brand.logo-only img {
    width: 98px;
    height: 48px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    left: 14px;
    right: 14px;
    top: 76px;
    display: none;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--warm);
    box-shadow: var(--shadow);
    flex-direction: column;
    align-items: stretch;
  }

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

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-copy {
    width: min(100% - 40px, 660px);
    margin: 0 auto;
    padding: 76px 0 42px;
  }

  .hero-gallery {
    min-height: 360px;
  }

  .vertical-seal {
    right: 18px;
    top: 56%;
  }

  section:not(.hero),
  .product-system,
  .constitution,
  .custom {
    width: min(100% - 28px, 1200px);
    padding: 64px 0;
  }

  .product-system,
  .constitution,
  .custom {
    width: 100%;
    padding-right: 14px;
    padding-left: 14px;
  }

  .split-intro,
  .idea-grid,
  .system-grid,
  .featured-grid,
  .scene-grid,
  .custom-inner,
  .custom-cards,
  .data-grid {
    grid-template-columns: 1fr;
  }

  .with-count {
    display: block;
  }

  .filter-row,
  .search-box {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 520px) {
  .hero h1 {
    font-size: 48px;
  }

  .hero h1.hero-title-compact {
    font-size: 40px;
    white-space: normal;
  }

  .hero-actions,
  .footer-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .gallery-card {
    right: 18px;
    padding: 12px 16px;
  }

  .gallery-card.gift {
    right: auto;
    left: 18px;
  }

  .constitution-grid {
    grid-template-columns: 1fr;
  }
}

/* Updated homepage layout */
.header-inner {
  gap: 16px;
}

.site-nav {
  gap: 22px;
}

.language-select {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-width: 118px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(241, 242, 238, 0.82);
  white-space: nowrap;
}

.language-select::after {
  position: absolute;
  right: 11px;
  top: 50%;
  width: 7px;
  height: 7px;
  border-right: 1.5px solid var(--green-deep);
  border-bottom: 1.5px solid var(--green-deep);
  content: "";
  pointer-events: none;
  transform: translateY(-65%) rotate(45deg);
}

.language-select select {
  width: 100%;
  min-height: 38px;
  padding: 0 32px 0 12px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--green-deep);
  font-size: 13px;
  cursor: pointer;
  outline: none;
  appearance: none;
}

.language-select select:focus-visible {
  box-shadow: 0 0 0 3px rgba(94, 127, 58, 0.14);
}

.site-nav a::after {
  background: var(--gold);
}

.hero {
  display: block;
  min-height: 720px;
  background: var(--green);
}

.hero::before {
  content: none;
}

.hero-track,
.hero-slide {
  position: absolute;
  inset: 0;
}

.hero-slide {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.7s ease;
}

.hero-slide.active {
  opacity: 1;
  pointer-events: auto;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-slide::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(58, 84, 37, 0.78), rgba(58, 84, 37, 0.36), rgba(58, 84, 37, 0.06));
  content: "";
}

.hero-copy {
  position: absolute;
  left: max(26px, calc((100vw - 1200px) / 2));
  top: 50%;
  width: min(660px, calc(100% - 52px));
  z-index: 2;
  margin-left: 0;
  padding: 0;
  color: #fff;
  transform: translateY(-50%);
}

.hero .eyebrow {
  color: rgba(255, 255, 255, 0.86);
}

.hero-desc {
  color: rgba(255, 255, 255, 0.9);
}

.btn:hover {
  box-shadow: var(--shadow-hover);
}

.btn.primary {
  border-color: var(--green);
  background: var(--green);
  color: #fff;
}

.btn.ghost {
  background: rgba(241, 242, 238, 0.92);
  color: var(--green-deep);
  border-color: rgba(241, 242, 238, 0.98);
}

.hero-dots {
  position: absolute;
  left: max(26px, calc((100vw - 1200px) / 2));
  bottom: 46px;
  z-index: 3;
  display: flex;
  gap: 10px;
}

.hero-dots button {
  width: 34px;
  height: 4px;
  padding: 0;
  border: 0;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.42);
  cursor: pointer;
}

.hero-dots button.active {
  background: #fff;
}

.data-grid strong,
.count-text strong,
.system-card strong {
  color: var(--green);
}

.system-card {
  min-height: 190px;
  justify-content: flex-start;
}

.system-card:hover,
.featured-card:hover,
.product-card:hover {
  border-color: rgba(111, 145, 66, 0.42);
  box-shadow: var(--shadow-hover);
}

.featured-grid {
  grid-template-columns: repeat(4, 1fr);
}

.featured-card:first-child {
  grid-row: auto;
}

.featured-card:first-child img,
.featured-card img {
  height: 230px;
}

.chip.active {
  border-color: var(--green);
  background: var(--green);
}

.stamp {
  background: rgba(201, 129, 120, 0.18);
  color: #8f5148;
}

.scene-tag {
  background: rgba(183, 147, 93, 0.15);
  color: var(--tea);
}

.formula-line {
  color: var(--text-readable);
}

.formula-line summary {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  cursor: pointer;
  list-style: none;
}

.formula-line summary::-webkit-details-marker {
  display: none;
}

.formula-line summary span {
  color: var(--green-main);
  font-size: 13px;
  font-weight: 600;
}

.formula-line[open] summary span {
  color: var(--brown);
  font-size: 0;
}

.formula-line[open] summary span::after {
  content: "收起";
  font-size: 13px;
}

.formula-line p {
  margin: 8px 0 0;
  color: var(--text-readable);
  font-size: 15px;
  line-height: 1.82;
}

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

.custom-cards {
  grid-template-columns: 1fr;
}

.site-footer {
  background: var(--green-deep);
}

@media (max-width: 1120px) {
  .language-select {
    order: 3;
    margin-left: auto;
  }

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

@media (max-width: 820px) {
  .language-select {
    position: absolute;
    right: 64px;
    top: 18px;
  }

  .site-nav {
    top: 76px;
  }

  .hero {
    min-height: 620px;
  }

  .hero-copy {
    left: 20px;
    width: calc(100% - 40px);
    margin: 0;
    padding: 0;
  }

  .hero-dots {
    left: 20px;
    bottom: 28px;
  }

  .featured-grid,
  .scene-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .language-select {
    display: none;
  }
}

/* Final color-system refinement: white space, neutral shadows, herbal green accents. */
.site-header {
  background: rgba(255, 255, 255, 0.92);
  border-bottom-color: var(--line);
}

.eyebrow {
  color: var(--brown);
  font-size: 12px;
  letter-spacing: 0;
}

.section-heading h2,
.custom h2,
.system-card h3,
.featured-card h3,
.scene-grid h3,
.custom-cards h3,
.product-card h3,
.idea-grid span {
  color: var(--green-dark);
}

section:not(.hero) {
  background: transparent;
}

.brand-idea,
.featured,
.experience,
.products {
  background: transparent;
}

.product-system,
.custom {
  background: linear-gradient(180deg, #ffffff 0%, var(--cream) 100%);
}

.idea-grid article,
.data-grid article,
.system-card,
.featured-card,
.scene-grid article,
.custom-cards article,
.product-card,
.filter-panel {
  border: 1px solid var(--line);
  background: #ffffff;
  box-shadow: var(--shadow);
}

.idea-grid article:hover,
.data-grid article:hover,
.system-card:hover,
.featured-card:hover,
.scene-grid article:hover,
.custom-cards article:hover,
.product-card:hover {
  border-color: rgba(185, 151, 91, 0.26);
  box-shadow: var(--shadow-hover);
}

.data-grid strong,
.count-text strong,
.system-card strong {
  color: var(--green-main);
}

.lead,
.info-list b {
  color: var(--brown);
}

.btn:hover {
  box-shadow: var(--shadow-hover);
}

.btn.primary {
  border-color: var(--green-main);
  background: var(--green-main);
  color: #fff;
}

.btn.primary:hover {
  background: var(--green-dark);
}

.btn.ghost {
  background: rgba(250, 248, 241, 0.94);
  color: var(--green-dark);
  border-color: rgba(185, 151, 91, 0.28);
}

.btn.light {
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.site-nav a::after {
  background: var(--gold);
}

.language-select {
  background: #ffffff;
  border-color: var(--line);
}

.chip.active {
  background: var(--green-main);
  border-color: var(--green-main);
  color: #fff;
}

.chip,
.search-box input {
  border-color: var(--line);
  background: #ffffff;
}

.tag {
  background: rgba(168, 185, 133, 0.18);
  color: var(--green-dark);
}

.stamp {
  background: rgba(201, 129, 120, 0.14);
  color: #8e5a52;
}

.scene-tag {
  background: rgba(185, 151, 91, 0.14);
  color: var(--brown);
}

.product-image,
.featured-card img {
  background: var(--gray-light);
}

.hero-slide::after {
  background:
    linear-gradient(90deg, rgba(47, 74, 47, 0.82) 0%, rgba(47, 74, 47, 0.55) 34%, rgba(250, 248, 241, 0.22) 68%, rgba(250, 248, 241, 0.06) 100%);
}

.hero-dots button.active {
  background: var(--gold);
}

.empty-state {
  border-color: rgba(122, 90, 58, 0.18);
  background: #ffffff;
}

.site-footer {
  background: var(--green-dark);
}

.hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  cursor: pointer;
  font-size: 34px;
  line-height: 1;
  transform: translateY(-50%);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.hero-arrow:hover {
  border-color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.28);
  transform: translateY(-50%) scale(1.04);
}

.hero-prev {
  left: 28px;
}

.hero-next {
  right: 28px;
}

@media (max-width: 820px) {
  .hero-arrow {
    width: 38px;
    height: 38px;
    font-size: 28px;
  }

  .hero-prev {
    left: 14px;
  }

  .hero-next {
    right: 14px;
  }
}

/* Typography refinement: modern sans body with restrained oriental display titles. */
body,
.site-nav,
.language-select,
.btn,
.chip,
.filter-panel,
.search-box,
.product-card,
.product-body,
.info-list,
.intro,
input,
button {
  font-family: var(--font-sans);
}

.hero h1,
.section-heading h2,
.custom h2,
.site-footer h2 {
  font-family: var(--font-serif-display);
  font-weight: 600;
}

.eyebrow {
  color: var(--brown);
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1.4;
}

.hero .eyebrow {
  color: rgba(255, 255, 255, 0.86);
}

.section-heading p:last-child,
.lead,
.idea-grid p,
.scene-grid p,
.custom p,
.featured-card p,
.system-card p,
.site-footer p {
  font-family: var(--font-sans);
  line-height: 1.82;
}

.section-heading p:last-child,
.idea-grid p,
.scene-grid p,
.custom p,
.featured-card p,
.system-card p {
  color: var(--text-readable);
}

.lead {
  color: #5e625a;
  font-size: 16px;
}

.product-card h3 {
  font-family: var(--font-sans);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.35;
}

.product-body,
.info-list p,
.intro {
  color: var(--text-readable);
  font-size: 15px;
  line-height: 1.82;
}

.info-list b,
.formula-line b {
  color: #5e625a;
  font-weight: 600;
}

.tag,
.stamp,
.count-text,
.filter-row > span,
.search-box span,
.search-box input {
  font-family: var(--font-sans);
}

.idea-grid article {
  border-color: rgba(168, 185, 133, 0.36);
  background:
    linear-gradient(135deg, #a8b985, #8fa66b);
  box-shadow: 0 10px 24px rgba(94, 127, 58, 0.12);
}

.idea-grid article:nth-child(2) {
  border-color: rgba(168, 185, 133, 0.36);
  background:
    linear-gradient(135deg, #9fb47a, #819960);
}

.idea-grid article:nth-child(3) {
  border-color: rgba(168, 185, 133, 0.36);
  background:
    linear-gradient(135deg, #b1bf8e, #91a56d);
}

.idea-grid article span,
.idea-grid article p {
  color: #fff;
}

.idea-grid article:hover {
  border-color: rgba(255, 255, 255, 0.48);
  box-shadow: 0 14px 30px rgba(94, 127, 58, 0.16);
}

.scene-banner {
  position: relative;
  width: 100%;
  max-width: none;
  min-height: 560px;
  margin: 0 auto 40px;
  padding: 96px max(32px, calc((100vw - 1120px) / 2));
  overflow: hidden;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  color: #fff;
}

.experience.scene-banner {
  margin-top: 44px;
}

.custom.scene-banner {
  margin-bottom: 56px;
}

.experience.scene-banner {
  background-image:
    linear-gradient(90deg, rgba(47, 74, 47, 0.86), rgba(47, 74, 47, 0.48), rgba(47, 74, 47, 0.12)),
    url("../images/common/experience-banner.jpg");
}

.custom.scene-banner {
  background-image:
    linear-gradient(90deg, rgba(47, 74, 47, 0.84), rgba(47, 74, 47, 0.46), rgba(47, 74, 47, 0.1)),
    url("../images/common/custom-banner.jpg");
}

.scene-banner .section-heading,
.scene-banner .custom-inner {
  position: relative;
  z-index: 1;
  max-width: 820px;
  margin-left: clamp(20px, 4vw, 72px);
}

.experience .eyebrow,
.custom .eyebrow {
  color: rgba(255, 255, 255, 0.82);
}

.experience .section-heading h2,
.custom h2 {
  color: #fff;
}

.experience .section-heading {
  margin-bottom: 28px;
}

.scene-grid {
  position: relative;
  z-index: 1;
  max-width: 980px;
  margin-left: clamp(20px, 4vw, 72px);
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.scene-grid article,
.custom-cards article {
  border-color: rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.14);
  box-shadow: none;
  backdrop-filter: blur(10px);
}

.scene-grid h3,
.scene-grid p,
.custom-cards h3,
.custom-cards p,
.custom p {
  color: #fff;
}

.custom-inner {
  grid-template-columns: 1fr;
  gap: 28px;
}

.custom-cards {
  max-width: 820px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 820px) {
  .scene-banner {
    min-height: 560px;
    margin-bottom: 28px;
    padding: 72px 20px;
  }

  .experience.scene-banner {
    margin-top: 28px;
  }

  .custom.scene-banner {
    margin-bottom: 40px;
  }

  .scene-banner .section-heading,
  .scene-banner .custom-inner,
  .scene-grid {
    margin-left: 0;
  }

  .scene-grid {
    grid-template-columns: 1fr;
  }

  .custom-cards {
    grid-template-columns: 1fr;
  }
}

.contact-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(32, 53, 43, 0.48);
  backdrop-filter: blur(6px);
}

.contact-modal[hidden] {
  display: none;
}

.contact-dialog {
  position: relative;
  width: min(420px, 100%);
  padding: 34px 32px;
  border: 1px solid rgba(185, 151, 91, 0.24);
  border-radius: 8px;
  background: #fffdf8;
  color: var(--green-dark);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
  text-align: center;
}

.contact-dialog h2 {
  margin: 0 0 14px;
  font-family: var(--font-serif-display);
  font-size: 30px;
  font-weight: 600;
}

.contact-dialog p {
  margin: 0;
  color: var(--text-readable);
  font-size: 17px;
  line-height: 1.8;
}

.contact-dialog strong {
  color: var(--green-main);
  font-size: 20px;
  font-weight: 700;
}

.contact-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: rgba(168, 185, 133, 0.16);
  color: var(--green-dark);
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
}

.constitution-tea {
  position: relative;
  width: 100vw;
  max-width: none;
  margin-right: calc(50% - 50vw);
  margin-left: calc(50% - 50vw);
  padding-right: max(20px, calc((100vw - 1200px) / 2));
  padding-left: max(20px, calc((100vw - 1200px) / 2));
  overflow: hidden;
  border-top: 1px solid rgba(185, 151, 91, 0.08);
  border-bottom: 1px solid rgba(185, 151, 91, 0.08);
  background:
    radial-gradient(circle at 12% 18%, rgba(168, 185, 133, 0.18), transparent 28%),
    linear-gradient(180deg, #fffdf8 0%, #faf8f1 100%);
}

.constitution-tea::before {
  position: absolute;
  inset: 0;
  background-image: url("../images/common/pattern.png");
  background-size: 360px auto;
  content: "";
  opacity: 0.035;
  pointer-events: none;
}

.constitution-heading {
  position: relative;
  z-index: 1;
}

.constitution-carousel {
  position: relative;
  z-index: 1;
}

.constitution-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding: 10px 4px 24px;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.constitution-track::-webkit-scrollbar {
  display: none;
}

.tea-card {
  flex: 0 0 calc((100% - 60px) / 4);
  overflow: hidden;
  border: 1px solid rgba(185, 151, 91, 0.16);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 18px 42px rgba(58, 43, 28, 0.08);
  scroll-snap-align: start;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.tea-card:hover {
  border-color: rgba(185, 151, 91, 0.3);
  box-shadow: 0 24px 52px rgba(58, 43, 28, 0.12);
  transform: translateY(-6px);
}

.tea-image {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--gray-light);
}

.tea-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.tea-card:hover .tea-image img {
  transform: scale(1.035);
}

.tea-body {
  padding: 22px;
}

.tea-constitution {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  margin-bottom: 12px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(168, 185, 133, 0.2);
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 600;
}

.tea-card h3 {
  margin: 0 0 12px;
  color: var(--green-dark);
  font-family: var(--font-sans);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.32;
}

.tea-target,
.tea-formula,
.tea-intro {
  margin: 0 0 10px;
  color: var(--text-readable);
  font-size: 15px;
  line-height: 1.75;
}

.tea-target b,
.tea-formula b {
  color: var(--brown);
  font-weight: 600;
}

.tea-intro {
  display: -webkit-box;
  overflow: hidden;
  min-height: 78px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.tea-detail-button {
  min-height: 38px;
  margin-top: 6px;
  padding: 0 16px;
  border: 1px solid rgba(185, 151, 91, 0.34);
  border-radius: 8px;
  background: #fffdf8;
  color: var(--green-dark);
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
}

.tea-detail-button:hover {
  border-color: var(--gold);
  color: var(--brown);
}

.constitution-arrow {
  position: absolute;
  top: 42%;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(185, 151, 91, 0.24);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--green-dark);
  cursor: pointer;
  font-size: 30px;
  line-height: 1;
  box-shadow: 0 14px 32px rgba(58, 43, 28, 0.12);
  transform: translateY(-50%);
}

.constitution-prev {
  left: -18px;
}

.constitution-next {
  right: -18px;
}

.constitution-dots {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 4px;
}

.constitution-dots button {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(122, 90, 58, 0.22);
  cursor: pointer;
}

.constitution-dots button.active {
  width: 28px;
  background: var(--gold);
}

.tea-modal {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(32, 53, 43, 0.48);
  backdrop-filter: blur(6px);
}

.tea-modal[hidden] {
  display: none;
}

.tea-dialog {
  position: relative;
  width: min(620px, 100%);
  max-height: min(78vh, 680px);
  overflow: auto;
  padding: 34px;
  border: 1px solid rgba(185, 151, 91, 0.22);
  border-radius: 12px;
  background: #fff;
  color: var(--green-dark);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
}

.tea-dialog h2 {
  margin: 0 0 18px;
  color: var(--green-dark);
  font-family: var(--font-serif-display);
  font-size: 34px;
  font-weight: 600;
}

.tea-detail-list {
  display: grid;
  gap: 12px;
}

.tea-detail-list p {
  margin: 0;
  color: var(--text-readable);
  font-size: 15px;
  line-height: 1.82;
}

.tea-detail-list b {
  color: var(--brown);
}

.tea-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: rgba(168, 185, 133, 0.16);
  color: var(--green-dark);
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
}

@media (max-width: 1120px) {
  .tea-card {
    flex-basis: calc((100% - 40px) / 3);
  }
}

@media (max-width: 820px) {
  .tea-card {
    flex-basis: calc((100% - 20px) / 2);
  }

  .constitution-arrow {
    display: none;
  }
}

@media (max-width: 520px) {
  .tea-card {
    flex-basis: 84%;
  }

  .tea-dialog {
    padding: 30px 22px;
  }
}
