:root {
  --orange: #ff6a00;
  --orange-soft: #ff8f4a;
  --orange-pale: #fff0e7;
  --ivory: #fffaf4;
  --sand: #f6efe6;
  --coffee: #8e7d70;
  --coffee-dark: #42372f;
  --gray: #766d66;
  --line: #eadfd4;
  --white: #ffffff;
  --shadow: 0 20px 60px rgba(90, 63, 42, 0.08);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--coffee-dark);
  background: var(--ivory);
  font-family: "Source Han Sans SC", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: 0;
}

body.nav-open {
  overflow: hidden;
}

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

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

p {
  margin: 0;
  color: var(--gray);
}

h1,
h2,
h3,
h4 {
  margin: 0;
  color: var(--coffee-dark);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: 0;
}

button,
input,
textarea,
select {
  font: inherit;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: 96px;
  background: rgba(255, 250, 244, 0.9);
  border-bottom: 1px solid rgba(234, 223, 212, 0.7);
  backdrop-filter: blur(18px);
}

.nav-shell {
  width: min(var(--max), calc(100% - 40px));
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: auto;
}

.brand-mark {
  width: 150px;
  height: 105px;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.brand span {
  display: flex;
  align-items: center;
}

.brand-wordmark {
  width: 116px;
  height: 50px;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 14px;
  color: var(--coffee);
}

.site-nav a {
  position: relative;
  padding: 8px 0;
  transition: color 0.2s ease;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--orange);
}

.site-nav a:hover::after,
.site-nav a.active::after {
  transform: scaleX(1);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.wechat-link,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid var(--orange);
  border-radius: 999px;
  background: var(--orange);
  color: var(--white);
  font-size: 14px;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.wechat-link:hover,
.btn:hover {
  transform: translateY(-1px);
  background: #e85f00;
}

.btn.secondary {
  background: transparent;
  color: var(--orange);
}

.btn.secondary:hover {
  background: var(--orange-pale);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  color: var(--coffee-dark);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 1px;
  margin: 5px auto;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-open .menu-toggle span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.nav-open .menu-toggle span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

main {
  padding-top: 96px;
}

.container {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.section {
  padding: 96px 0;
}

.section.soft {
  background: var(--sand);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(280px, 0.52fr);
  gap: 48px;
  align-items: end;
  margin-bottom: 44px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  color: var(--orange);
  font-size: 13px;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 30px;
  height: 1px;
  background: var(--orange);
}

.section-title {
  font-size: clamp(30px, 4vw, 52px);
}

.section-copy {
  max-width: 620px;
  color: var(--gray);
}

.hero {
  position: relative;
  min-height: calc(100vh - 96px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--coffee-dark);
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(38, 28, 22, 0.52), rgba(38, 28, 22, 0.14) 50%, rgba(255, 250, 244, 0.08));
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(720px, calc(100% - 40px));
  margin-left: max(20px, calc((100% - var(--max)) / 2));
  padding: 90px 0;
  color: var(--white);
}

.hero .eyebrow,
.hero h1,
.hero p {
  color: var(--white);
}

.hero h1 {
  max-width: 650px;
  font-size: clamp(42px, 7vw, 86px);
  font-weight: 500;
}

.hero p {
  max-width: 520px;
  margin: 24px 0 34px;
  color: rgba(255, 255, 255, 0.82);
}

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

.scroll-note {
  position: absolute;
  z-index: 2;
  left: max(20px, calc((100% - var(--max)) / 2));
  bottom: 26px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 13px;
}

.page-hero {
  padding: 112px 0 78px;
  background: linear-gradient(135deg, var(--ivory), var(--sand));
  border-bottom: 1px solid var(--line);
}

.page-hero .container {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(260px, 0.5fr);
  gap: 56px;
  align-items: center;
}

.page-hero h1 {
  font-size: clamp(36px, 5vw, 64px);
}

.page-hero p {
  max-width: 720px;
  margin-top: 22px;
}

.hero-card-img {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero-card-img img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.intro-grid,
.two-col,
.story-layout,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 0.6fr);
  gap: 56px;
  align-items: center;
}

.intro-mark {
  position: relative;
  padding: 48px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.intro-mark img {
  width: min(360px, 100%);
  margin: 0 auto;
}

.lead {
  font-size: clamp(22px, 3vw, 34px);
  color: var(--coffee-dark);
  line-height: 1.5;
}

.muted {
  color: var(--gray);
}

.entry-grid,
.value-grid,
.product-grid,
.article-grid,
.gallery-grid,
.info-grid {
  display: grid;
  gap: 22px;
}

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

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

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

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

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

.card {
  position: relative;
  overflow: hidden;
  min-height: 100%;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 40px rgba(90, 63, 42, 0.04);
}

.card h3 {
  margin-bottom: 12px;
  font-size: 22px;
}

.card .num,
.meta {
  color: var(--orange);
  font-size: 13px;
}

.entry-card {
  min-height: 360px;
  display: flex;
  align-items: flex-end;
  padding: 34px;
  color: var(--white);
}

.entry-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.entry-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(38, 28, 22, 0.06), rgba(38, 28, 22, 0.58));
}

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

.entry-card div {
  position: relative;
  z-index: 2;
}

.entry-card h3,
.entry-card p {
  color: var(--white);
}

.entry-card p {
  max-width: 420px;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.82);
}

.mini-link {
  display: inline-flex;
  color: var(--orange);
  font-size: 14px;
  border-bottom: 1px solid currentColor;
}

.image-card {
  padding: 0;
}

.image-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.image-card .card-body {
  padding: 24px;
}

.product-card {
  padding: 0;
}

.product-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: var(--sand);
}

.product-card .card-body {
  padding: 20px;
}

.product-card h3 {
  font-size: 18px;
}

.tag-list,
.category-tabs,
.activity-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag,
.category-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  color: var(--coffee);
  font-size: 13px;
}

.category-tab {
  cursor: pointer;
}

.category-tab.active,
.category-tab:hover {
  border-color: var(--orange);
  color: var(--orange);
  background: var(--orange-pale);
}

.detail-panel {
  display: grid;
  grid-template-columns: minmax(280px, 0.48fr) minmax(0, 0.72fr);
  gap: 46px;
  align-items: center;
  padding: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.detail-panel img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 8px;
}

.detail-list {
  display: grid;
  gap: 14px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.detail-list li {
  padding-left: 18px;
  border-left: 2px solid var(--orange);
  color: var(--gray);
}

.timeline {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr);
  gap: 18px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.timeline-item strong {
  color: var(--orange);
  font-weight: 500;
}

.article-item {
  display: grid;
  gap: 12px;
}

.article-item time {
  color: var(--orange);
  font-size: 13px;
}

.article-detail {
  max-width: 820px;
  margin: 0 auto;
  padding: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.article-detail h2 {
  margin-bottom: 20px;
}

.article-detail p + p {
  margin-top: 18px;
}

.form {
  display: grid;
  gap: 16px;
}

.field {
  display: grid;
  gap: 8px;
}

.field label {
  color: var(--coffee-dark);
  font-size: 14px;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--ivory);
  color: var(--coffee-dark);
  padding: 13px 14px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field textarea {
  min-height: 142px;
  resize: vertical;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 4px rgba(255, 106, 0, 0.08);
}

.form-note {
  min-height: 24px;
  color: var(--orange);
  font-size: 14px;
}

.site-footer {
  padding: 62px 0 28px;
  background: #2f2823;
  color: rgba(255, 255, 255, 0.72);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) repeat(3, minmax(160px, 1fr));
  gap: 34px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.footer-logo img {
  width: 54px;
  height: 38px;
  object-fit: contain;
  border-radius: 4px;
  background: var(--white);
}

.footer-logo strong {
  color: var(--white);
  font-size: 22px;
  font-weight: 500;
}

.site-footer h3 {
  margin-bottom: 14px;
  color: var(--white);
  font-size: 16px;
}

.site-footer p,
.site-footer a {
  color: rgba(255, 255, 255, 0.68);
  font-size: 14px;
}

.site-footer a {
  display: block;
  margin-bottom: 8px;
}

.copyright {
  margin-top: 42px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
}

.copyright .beian-link {
  display: inline;
  margin-bottom: 0;
}

.copyright .beian-link:hover {
  color: var(--white);
}

@media (max-width: 1024px) {
  .site-nav {
    position: fixed;
    top: 96px;
    left: 0;
    right: 0;
    display: grid;
    gap: 0;
    padding: 18px 24px 28px;
    background: rgba(255, 250, 244, 0.98);
    border-bottom: 1px solid var(--line);
    transform: translateY(-120%);
    transition: transform 0.25s ease;
  }

  .nav-open .site-nav {
    transform: translateY(0);
  }

  .site-nav a {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
  }

  .menu-toggle {
    display: block;
  }

  .wechat-link {
    display: none;
  }

  .section-head,
  .page-hero .container,
  .intro-grid,
  .two-col,
  .story-layout,
  .contact-grid,
  .detail-panel {
    grid-template-columns: 1fr;
  }

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

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

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

@media (max-width: 720px) {
  body {
    font-size: 15px;
  }

  .site-header {
    height: 80px;
  }

  .nav-shell,
  .container {
    width: min(100% - 28px, var(--max));
  }

  main {
    padding-top: 80px;
  }

  .site-nav {
    top: 80px;
  }

  .brand {
    min-width: auto;
    gap: 10px;
  }

  .brand-mark {
    width: 120px;
    height: 85px;
  }

  .brand-wordmark {
    width: 92px;
    height: 40px;
  }

  .section {
    padding: 68px 0;
  }

  .hero {
    min-height: calc(100vh - 80px);
  }

  .hero-content {
    width: calc(100% - 28px);
    margin: 0 auto;
    padding: 72px 0 96px;
  }

  .hero::after {
    background: linear-gradient(180deg, rgba(38, 28, 22, 0.28), rgba(38, 28, 22, 0.66));
  }

  .scroll-note {
    left: 14px;
  }

  .page-hero {
    padding: 76px 0 56px;
  }

  .entry-grid,
  .value-grid,
  .product-grid,
  .article-grid,
  .gallery-grid,
  .info-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .entry-card {
    min-height: 300px;
  }

  .card,
  .detail-panel,
  .article-detail,
  .intro-mark {
    padding: 24px;
  }

  .timeline-item {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .copyright {
    display: grid;
  }
}
