:root {
  --ink: #1f2820;
  --muted: #667164;
  --paper: #fbfaf4;
  --cream: #f3ecd8;
  --rice: #fffdf6;
  --field: #627447;
  --leaf: #2f5c45;
  --clay: #a65f3b;
  --line: rgba(31, 40, 32, 0.14);
  --shadow: 0 22px 70px rgba(34, 48, 31, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", Arial, sans-serif;
  line-height: 1.7;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 74px;
  padding: 12px clamp(18px, 5vw, 64px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.52);
  background: rgba(251, 250, 244, 0.91);
  backdrop-filter: blur(18px);
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: #fff;
  background: var(--leaf);
  font-weight: 800;
  box-shadow: 0 8px 24px rgba(47, 92, 69, 0.22);
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 16px;
  line-height: 1.25;
}

.brand small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #314032;
  font-size: 14px;
}

.site-nav a {
  padding: 8px 12px;
  border-radius: 999px;
}

.site-nav a:hover {
  background: rgba(98, 116, 71, 0.11);
}

.hero {
  position: relative;
  min-height: calc(100vh - 74px);
  max-height: 780px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #1b2219;
}

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(24, 32, 23, 0.82) 0%, rgba(24, 32, 23, 0.58) 41%, rgba(24, 32, 23, 0.12) 100%),
    linear-gradient(0deg, rgba(24, 32, 23, 0.38), rgba(24, 32, 23, 0.1));
}

.hero-content {
  position: relative;
  width: min(780px, calc(100% - 36px));
  margin-left: clamp(18px, 7vw, 92px);
  padding: 86px 0 132px;
  color: #fff;
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: #d9b074;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  max-width: 680px;
  font-size: clamp(44px, 7vw, 84px);
  line-height: 1.03;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 620px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(17px, 2vw, 22px);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  white-space: nowrap;
}

.button.primary {
  color: #172017;
  background: #f7d99e;
}

.button.secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.52);
  background: rgba(255, 255, 255, 0.08);
}

.quick-info {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.4fr 0.72fr 0.86fr 1.12fr;
  gap: 0;
  width: min(1180px, calc(100% - 36px));
  margin: -58px auto 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 8px;
  background: rgba(255, 253, 246, 0.94);
  box-shadow: 0 18px 56px rgba(34, 48, 31, 0.14);
  backdrop-filter: blur(14px);
}

.quick-info div {
  min-height: 104px;
  padding: 22px 26px;
  background: transparent;
  border-right: 1px solid rgba(31, 40, 32, 0.12);
}

.quick-info div:last-child {
  border-right: 0;
}

.quick-info span {
  display: block;
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 13px;
}

.quick-info strong {
  display: block;
  font-size: clamp(17px, 1.55vw, 22px);
  line-height: 1.28;
  word-break: keep-all;
}

.section {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 88px 0;
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(240px, 0.9fr) minmax(280px, 1.4fr);
  gap: clamp(32px, 6vw, 78px);
  align-items: start;
}

h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.15;
  letter-spacing: 0;
}

.intro-copy p,
.section-heading p,
.craft-content p,
.contact-panel p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

.intro-copy p + p {
  margin-top: 16px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 32px;
}

.section-heading p {
  max-width: 500px;
}

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

.product-card {
  min-height: 430px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--rice);
}

.featured-product {
  color: #fff;
  border-color: transparent;
  background:
    linear-gradient(145deg, rgba(47, 92, 69, 0.98), rgba(91, 111, 68, 0.98)),
    var(--leaf);
}

.product-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 22px;
  border-radius: 50%;
  color: #fff;
  background: var(--clay);
  font-weight: 800;
}

.featured-product .product-icon {
  color: #203320;
  background: #f5d28d;
}

.product-card h3 {
  margin: 0 0 14px;
  font-size: 24px;
  line-height: 1.25;
}

.product-card p {
  margin: 0;
  color: var(--muted);
}

.featured-product p {
  color: rgba(255, 255, 255, 0.82);
}

.product-card ul {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.product-card li {
  position: relative;
  padding-left: 18px;
  color: #3e4c3d;
}

.featured-product li {
  color: rgba(255, 255, 255, 0.92);
}

.product-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #c17a45;
}

.featured-product li::before {
  background: #f5d28d;
}

.craft-band {
  margin: 20px 0 0;
  padding: 98px 18px;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(34, 52, 38, 0.93), rgba(34, 52, 38, 0.76)),
    url("assets/glutinous-rice-products.png") center / cover;
}

.craft-content {
  width: min(980px, 100%);
  margin: 0 auto;
}

.craft-content h2 {
  max-width: 840px;
}

.craft-content p {
  max-width: 790px;
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.82);
}

.craft-steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(100px, 1fr));
  gap: 10px;
  margin-top: 34px;
}

.craft-steps span {
  display: grid;
  place-items: center;
  min-height: 66px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.09);
  font-weight: 800;
}

.uses {
  padding-top: 78px;
}

.use-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.use-list div {
  min-height: 150px;
  padding: 28px;
  border-right: 1px solid var(--line);
}

.use-list div:last-child {
  border-right: 0;
}

.use-list strong,
.use-list span {
  display: block;
}

.use-list strong {
  margin-bottom: 10px;
  font-size: 20px;
}

.use-list span {
  color: var(--muted);
}

.contact-section {
  padding: 18px 18px 88px;
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(280px, 1.1fr) minmax(260px, 0.9fr);
  gap: 32px;
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: clamp(28px, 5vw, 54px);
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, #263b2d, #6b7044 62%, #a65f3b);
}

.contact-panel p {
  max-width: 610px;
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.82);
}

address {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  font-style: normal;
  font-weight: 700;
}

address a {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 24px clamp(18px, 5vw, 64px);
  color: #eef1e7;
  background: #182119;
  font-size: 14px;
}

@media (max-width: 900px) {
  .site-header {
    position: relative;
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero {
    min-height: 680px;
  }

  .hero-overlay {
    background:
      linear-gradient(0deg, rgba(24, 32, 23, 0.84) 0%, rgba(24, 32, 23, 0.5) 58%, rgba(24, 32, 23, 0.12) 100%),
      linear-gradient(90deg, rgba(24, 32, 23, 0.48), rgba(24, 32, 23, 0.08));
  }

  .hero-content {
    align-self: flex-end;
    margin: 0 auto;
    padding: 240px 0 116px;
  }

  .quick-info,
  .product-grid,
  .use-list,
  .section-grid,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .section-heading {
    display: block;
  }

  .section-heading p {
    margin-top: 14px;
  }

  .quick-info {
    margin-top: -54px;
  }

  .quick-info div,
  .product-card {
    min-height: auto;
  }

  .quick-info div {
    border-right: 0;
    border-bottom: 1px solid rgba(31, 40, 32, 0.12);
  }

  .quick-info div:last-child {
    border-bottom: 0;
  }

  .craft-steps {
    grid-template-columns: repeat(2, minmax(120px, 1fr));
  }

  .use-list div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .use-list div:last-child {
    border-bottom: 0;
  }

  .site-footer {
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .brand {
    min-width: 0;
  }

  .brand strong {
    font-size: 14px;
  }

  .site-nav a {
    padding-inline: 10px;
    white-space: nowrap;
  }

  .hero {
    min-height: 650px;
  }

  .hero-content {
    padding-top: 210px;
  }

  .hero h1 {
    font-size: 42px;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }

  .quick-info div,
  .product-card,
  address {
    padding: 22px;
  }

  .section {
    padding: 66px 0;
  }

  .craft-band {
    padding: 72px 18px;
  }

  .craft-steps {
    grid-template-columns: 1fr;
  }
}
