:root {
  --bg: #f4efe7;
  --bg-deep: #e7dbc9;
  --surface: rgba(255, 252, 247, 0.84);
  --surface-strong: #fffaf2;
  --ink: #1e1b18;
  --muted: #64584d;
  --line: rgba(30, 27, 24, 0.12);
  --accent: #9c2f1f;
  --accent-deep: #6f1d13;
  --gold: #b98a3b;
  --shadow: 0 28px 80px rgba(57, 37, 21, 0.12);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(185, 138, 59, 0.18), transparent 30%),
    radial-gradient(circle at right 20%, rgba(156, 47, 31, 0.16), transparent 24%),
    linear-gradient(180deg, #fbf6ee 0%, #f4efe7 45%, #efe4d4 100%);
  font-family: "Source Han Sans SC", "PingFang SC", "Helvetica Neue", sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(30, 27, 24, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 27, 24, 0.03) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.55), transparent 90%);
}

.page-shell {
  width: min(1180px, calc(100vw - 40px));
  margin: 0 auto;
  padding: 124px 0 0;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  width: 100%;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 251, 245, 0.84);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1180px, calc(100vw - 40px));
  margin: 0 auto;
  gap: 18px;
}

.header-brand {
  color: var(--ink);
  text-decoration: none;
  font-family: "Source Han Serif SC", "Songti SC", "Times New Roman", serif;
  font-size: 1.3rem;
  font-weight: 700;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.header-nav a {
  color: #40372f;
  text-decoration: none;
  font-weight: 600;
}

.lang-switch {
  position: relative;
}

.lang-toggle {
  padding: 10px 14px;
  border: 1px solid rgba(30, 27, 24, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.74);
  font: inherit;
  cursor: pointer;
}

.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  display: grid;
  min-width: 160px;
  padding: 8px;
  border: 1px solid rgba(30, 27, 24, 0.12);
  border-radius: 14px;
  background: #fffdf9;
  box-shadow: 0 18px 40px rgba(30, 27, 24, 0.12);
  z-index: 20;
}

[hidden] {
  display: none !important;
}

.lang-menu button {
  padding: 10px 12px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  text-align: left;
  font: inherit;
  cursor: pointer;
}

.lang-menu button:hover {
  background: rgba(156, 47, 31, 0.08);
}

.hero {
  padding: 20px 0 8px;
}

.hero-copy {
  border: 1px solid var(--line);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
}

.hero-copy {
  position: relative;
  overflow: hidden;
  padding: 40px 42px;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(145deg, rgba(255, 251, 245, 0.94), rgba(244, 232, 214, 0.76)),
    var(--surface);
}

.hero-copy::after {
  content: "";
  position: absolute;
  right: -50px;
  bottom: -60px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(156, 47, 31, 0.22), transparent 68%);
}

.eyebrow {
  margin: 0 0 16px;
  font-size: 12px;
  letter-spacing: 0.28em;
  color: var(--accent);
}

.hero h1,
.section-heading h2 {
  margin: 0;
  font-family: "Source Han Serif SC", "Songti SC", "Times New Roman", serif;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.hero h1 {
  max-width: none;
  font-size: clamp(2.9rem, 6vw, 5.6rem);
  line-height: 0.95;
}

.hero-cn {
  margin: 18px 0 0;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: var(--muted);
}

.hero-summary {
  max-width: 760px;
  margin: 20px 0 0;
  font-size: 1.06rem;
  line-height: 1.85;
  color: #352e28;
}

.hero-overview {
  max-width: 780px;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid rgba(30, 27, 24, 0.1);
}

.hero-overview h2 {
  margin: 0 0 14px;
  font-size: 1.35rem;
  font-family: "Source Han Serif SC", "Songti SC", "Times New Roman", serif;
}

.hero-overview p {
  margin: 0 0 12px;
  line-height: 1.85;
  color: #3f372f;
}

.hero-overview p:last-child {
  margin-bottom: 0;
}

.products-main {
  padding-top: 34px;
}

.products-section {
  display: grid;
  gap: 22px;
}

.section-intro {
  max-width: 760px;
}

.section-intro h2 {
  margin: 0;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-family: "Source Han Serif SC", "Songti SC", "Times New Roman", serif;
}

.section-summary {
  margin: 16px 0 0;
  line-height: 1.85;
  color: #3f372f;
}

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

.product-card {
  grid-column: span 4;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 320px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background:
    linear-gradient(180deg, rgba(255, 252, 247, 0.94), rgba(242, 231, 215, 0.9));
  box-shadow: var(--shadow);
}

.product-card-featured {
  grid-column: span 8;
  background:
    linear-gradient(135deg, rgba(18, 60, 114, 0.92), rgba(31, 112, 136, 0.9)),
    #13325e;
  color: #f8fbff;
}

.product-card-wide {
  grid-column: span 12;
  min-height: 260px;
  background:
    linear-gradient(135deg, rgba(8, 17, 20, 0.96), rgba(13, 83, 101, 0.9)),
    #081114;
  color: #f7fcff;
}

.product-media {
  margin: -8px -8px 18px;
  overflow: hidden;
  border-radius: 16px;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.24);
}

.product-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-kicker {
  margin: 0 0 12px;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

.product-card-featured .product-kicker,
.product-card-wide .product-kicker {
  color: rgba(255, 244, 214, 0.82);
}

.product-card h3 {
  margin: 0;
  font-size: 1.6rem;
  font-family: "Source Han Serif SC", "Songti SC", "Times New Roman", serif;
}

.product-text {
  margin: 18px 0 0;
  line-height: 1.85;
  color: #413930;
}

.product-card-featured .product-text,
.product-card-wide .product-text {
  color: rgba(248, 251, 255, 0.86);
}

.product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.product-tags li {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(156, 47, 31, 0.08);
  color: #4c4035;
  font-size: 0.92rem;
}

.product-card-featured .product-tags li,
.product-card-wide .product-tags li {
  background: rgba(255, 255, 255, 0.12);
  color: #f7fbff;
}

.product-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  margin-top: 24px;
  padding: 12px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  transition: transform 180ms ease, background-color 180ms ease;
}

.product-link:hover {
  transform: translateY(-2px);
}

.product-card-featured .product-link,
.product-card-wide .product-link {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

.site-footer {
  position: relative;
  left: 50%;
  width: 100vw;
  margin-left: -50vw;
  margin-top: 42px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(255, 250, 243, 0.94), rgba(239, 227, 210, 0.88));
  box-shadow: var(--shadow);
}

.footer-grid {
  display: grid;
  width: min(1180px, calc(100vw - 40px));
  margin: 0 auto;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.footer-column h2 {
  margin: 0 0 12px;
  font-size: 1.3rem;
  font-family: "Source Han Serif SC", "Songti SC", "Times New Roman", serif;
}

.footer-column p,
.footer-links li,
.footer-links a {
  color: #40372f;
  line-height: 1.8;
}

.footer-kicker {
  margin: 0 0 12px;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

.footer-links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links li + li {
  margin-top: 8px;
}

.footer-links a {
  text-decoration: none;
}

.footer-subscribe {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.footer-subscribe input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid rgba(30, 27, 24, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.74);
  font: inherit;
}

.footer-subscribe button {
  padding: 12px 16px;
  border: 0;
  border-radius: 12px;
  color: #fffaf4;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 168px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 180ms ease, background-color 180ms ease, color 180ms ease;
}

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

.button-primary {
  color: #fffaf4;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
}

.hero-summary {
  font-size: 1.15rem;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 560ms ease, transform 560ms ease;
}

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

@media (max-width: 980px) {
  .page-shell {
    width: min(100vw - 24px, 1180px);
    padding-top: 150px;
    padding-bottom: 0;
  }

  .hero {
    min-height: auto;
  }

  .hero-copy {
    padding: 30px 22px;
  }

  .product-card,
  .product-card-featured,
  .product-card-wide {
    grid-column: span 12;
    min-height: auto;
  }

  .footer-grid {
    width: min(100vw - 24px, 1180px);
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .header-inner {
    width: min(100vw - 24px, 1180px);
    flex-wrap: wrap;
  }
}

@media (max-width: 640px) {
  .header-nav {
    width: 100%;
    justify-content: space-between;
  }

  .lang-switch,
  .lang-toggle {
    width: 100%;
  }

  .site-header {
    padding: 14px 0;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .hero h1 {
    max-width: none;
  }
}
