:root {
  --ink: #111512;
  --muted: #667069;
  --paper: #f7f8f2;
  --mist: #e9eee6;
  --field: #1f3f2d;
  --field-2: #0d2419;
  --grape: #27132d;
  --accent: #b9ff54;
  --line: rgba(17, 21, 18, 0.13);
  --white: #ffffff;
  --radius: 8px;
  --shadow: 0 24px 70px rgba(20, 38, 25, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family:
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei",
    sans-serif;
  line-height: 1.6;
}

body.no-scroll {
  overflow: hidden;
}

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

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

button {
  font: inherit;
}

.site-grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 20;
  opacity: 0.055;
  background-image:
    linear-gradient(90deg, rgba(0, 0, 0, 0.42) 1px, transparent 1px),
    linear-gradient(0deg, rgba(0, 0, 0, 0.25) 1px, transparent 1px);
  background-size: 37px 37px, 53px 53px;
  mix-blend-mode: multiply;
}

.site-header {
  position: fixed;
  top: 18px;
  left: 50%;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1180px, calc(100% - 32px));
  padding: 10px 10px 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(14, 24, 17, 0.54);
  color: var(--white);
  backdrop-filter: blur(18px);
  transform: translateX(-50%);
  transition:
    background 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease;
}

.site-header.is-scrolled {
  border-color: rgba(17, 21, 18, 0.08);
  background: rgba(247, 248, 242, 0.88);
  color: var(--ink);
  box-shadow: 0 14px 44px rgba(15, 25, 16, 0.12);
}

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

.brand-mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
  color: #0d170e;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
}

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

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

.brand small {
  margin-top: 2px;
  color: currentColor;
  font-size: 11px;
  opacity: 0.72;
}

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

.site-nav a {
  border-radius: 999px;
  padding: 9px 13px;
  font-size: 13px;
  opacity: 0.86;
  transition:
    background 180ms ease,
    color 180ms ease,
    opacity 180ms ease;
}

.site-nav a:hover,
.site-nav a.is-active {
  background: rgba(255, 255, 255, 0.14);
  opacity: 1;
}

.site-header.is-scrolled .site-nav a:hover,
.site-header.is-scrolled .site-nav a.is-active {
  background: rgba(17, 21, 18, 0.07);
}

.site-nav .nav-contact {
  border: 1px solid rgba(185, 255, 84, 0.45);
  font-weight: 800;
  opacity: 1;
}

.site-nav .nav-contact.is-active {
  background: var(--accent);
  color: #0d170e;
}

.site-header.is-scrolled .site-nav .nav-contact.is-active {
  background: var(--accent);
  color: #0d170e;
}

.hero {
  position: relative;
  min-height: 100dvh;
  overflow: hidden;
  background: #07100b;
  color: var(--white);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(4, 12, 8, 0.92), rgba(4, 12, 8, 0.44) 48%, rgba(4, 12, 8, 0.2)),
    linear-gradient(0deg, rgba(4, 12, 8, 0.9), transparent 42%),
    url("./assets/hero-aerial.webp") center / cover;
  transform: translateY(calc(var(--scroll, 0) * 0.08px)) scale(1.05);
  transform-origin: center;
}

.hero::after {
  content: "";
  position: absolute;
  right: 7vw;
  bottom: -120px;
  width: min(520px, 62vw);
  height: min(520px, 62vw);
  border: 1px solid rgba(185, 255, 84, 0.25);
  border-radius: 50%;
  opacity: 0.68;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  align-items: end;
  gap: 44px;
  width: min(1180px, calc(100% - 40px));
  min-height: 100dvh;
  margin: 0 auto;
  padding: 150px 0 72px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.section-kicker {
  color: var(--field);
}

.hero h1,
.section-heading h2,
.farm-copy h2,
.story-header h2,
.experience-copy h2,
.contact-copy h2 {
  margin: 0;
  letter-spacing: 0;
  line-height: 1.02;
}

.hero h1 {
  max-width: 780px;
  font-size: clamp(48px, 8.3vw, 112px);
  font-weight: 900;
}

.hero-lede {
  max-width: 660px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(16px, 1.6vw, 20px);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0 22px;
  font-size: 14px;
  font-weight: 850;
  transition:
    transform 180ms ease,
    background 180ms ease,
    border-color 180ms ease;
}

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

.button.primary {
  background: var(--accent);
  color: #0d170e;
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

.button.secondary.light {
  border-color: rgba(17, 21, 18, 0.22);
  color: var(--ink);
}

.hero-panel {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  padding: 22px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px);
}

.hero-panel span {
  color: rgba(255, 255, 255, 0.64);
  font-size: 12px;
}

.hero-panel strong {
  display: block;
  margin: 8px 0 10px;
  font-size: 28px;
  line-height: 1.15;
}

.hero-panel p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

.intro-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.intro-item {
  min-height: 168px;
  padding: 34px clamp(18px, 4vw, 56px);
  border-right: 1px solid var(--line);
}

.intro-item:last-child {
  border-right: 0;
}

.intro-item span {
  display: block;
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 13px;
}

.intro-item strong {
  display: block;
  color: var(--field);
  font-size: clamp(40px, 5vw, 72px);
  line-height: 0.92;
}

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

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.55fr);
  gap: 44px;
  align-items: end;
  margin-bottom: 44px;
}

.section-heading h2,
.farm-copy h2,
.story-header h2,
.experience-copy h2,
.contact-copy h2 {
  font-size: clamp(34px, 5.6vw, 72px);
  font-weight: 900;
}

.section-heading p,
.farm-copy p,
.experience-copy p,
.contact-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

.product-layout {
  display: grid;
  grid-template-columns: 1.35fr 0.8fr 0.8fr;
  gap: 18px;
}

.product-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 10px 28px rgba(18, 28, 18, 0.06);
}

.product-card img {
  height: 300px;
  object-fit: cover;
  transition: transform 600ms ease;
}

.product-card:hover img {
  transform: scale(1.045);
}

.product-card h3 {
  margin: 20px 22px 8px;
  font-size: 24px;
  line-height: 1.15;
}

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

.product-card.feature {
  display: grid;
  grid-template-columns: 0.9fr 0.8fr;
  min-height: 440px;
  background: var(--grape);
  color: var(--white);
}

.product-card.feature img {
  height: 100%;
}

.product-card.feature div {
  align-self: end;
  padding: 28px;
}

.product-card.feature span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.product-card.feature h3,
.product-card.feature p {
  margin-left: 0;
  margin-right: 0;
}

.product-card.feature p {
  color: rgba(255, 255, 255, 0.76);
}

.farm {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(340px, 0.72fr);
  gap: 52px;
  align-items: center;
}

.farm-image {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.farm-image img {
  aspect-ratio: 1.05 / 1;
  height: 100%;
  object-fit: cover;
}

.farm-copy .eyebrow {
  color: var(--field);
}

.farm-copy p {
  margin-top: 24px;
}

.farm-list {
  display: grid;
  gap: 0;
  margin-top: 34px;
  border-top: 1px solid var(--line);
}

.farm-list div {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.farm-list strong {
  color: var(--field);
}

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

.story {
  width: 100%;
  padding: 120px max(20px, calc((100vw - 1180px) / 2));
  background: var(--field-2);
  color: var(--white);
}

.story-header {
  width: min(840px, 100%);
  margin-bottom: 56px;
}

.story-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.16);
}

.story-block {
  min-height: 420px;
  padding: clamp(24px, 4vw, 38px);
  background: var(--field-2);
}

.story-block span {
  color: var(--accent);
  font-size: 13px;
  font-weight: 900;
}

.story-block h3 {
  margin: 92px 0 18px;
  font-size: 28px;
  line-height: 1.1;
}

.story-block p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

.experience {
  display: grid;
  grid-template-columns: minmax(0, 0.76fr) minmax(360px, 0.9fr);
  gap: 56px;
  align-items: center;
  padding: 120px max(20px, calc((100vw - 1180px) / 2));
  overflow: hidden;
  background:
    linear-gradient(90deg, var(--mist) 0 58%, transparent 58%),
    var(--paper);
}

.experience-copy .eyebrow {
  color: var(--field);
}

.experience-copy p {
  margin: 24px 0 30px;
}

.experience-stack {
  position: relative;
  min-height: 620px;
}

.experience-stack img {
  position: absolute;
  width: min(78%, 540px);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  object-fit: cover;
}

.stack-one {
  top: 0;
  right: 0;
  aspect-ratio: 0.86 / 1;
}

.stack-two {
  left: 0;
  bottom: 0;
  aspect-ratio: 1.18 / 1;
  border: 12px solid var(--paper);
}

.gallery .section-heading {
  grid-template-columns: 0.45fr 1fr;
  align-items: start;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 250px;
  gap: 12px;
}

.gallery-item {
  cursor: zoom-in;
  overflow: hidden;
  border: 0;
  border-radius: var(--radius);
  padding: 0;
  background: #dfe7dc;
}

.gallery-item img {
  height: 100%;
  object-fit: cover;
  transition:
    transform 520ms ease,
    filter 520ms ease;
}

.gallery-item:hover img {
  filter: saturate(1.08) contrast(1.04);
  transform: scale(1.055);
}

.gallery-item.tall {
  grid-row: span 2;
}

.gallery-item.wide {
  grid-column: span 2;
}

.contact {
  padding: 100px max(20px, calc((100vw - 1180px) / 2));
  background: #0a100d;
  color: var(--white);
}

.contact-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 0.55fr);
  gap: 52px;
  align-items: end;
}

.contact-copy p {
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.7);
}

.contact-card {
  display: grid;
  gap: 12px;
}

.contact-card a,
.wechat-card {
  display: block;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius);
  padding: 24px;
  background: rgba(255, 255, 255, 0.06);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.contact-card a:hover {
  border-color: rgba(185, 255, 84, 0.55);
  background: rgba(185, 255, 84, 0.1);
  transform: translateY(-2px);
}

.contact-card span {
  display: block;
  color: rgba(255, 255, 255, 0.58);
  font-size: 13px;
}

.contact-card strong {
  display: block;
  margin-top: 8px;
  color: var(--accent);
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.1;
  overflow-wrap: anywhere;
}

.wechat-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 188px;
  gap: 20px;
  align-items: center;
}

.wechat-card p {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 14px;
}

.wechat-card img {
  width: 188px;
  border: 8px solid var(--white);
  border-radius: var(--radius);
  background: var(--white);
  object-fit: contain;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 26px max(20px, calc((100vw - 1180px) / 2));
  background: #0a100d;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 76px 20px 30px;
  background: rgba(5, 9, 6, 0.86);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox img {
  max-width: min(1100px, 100%);
  max-height: 82dvh;
  border-radius: var(--radius);
  object-fit: contain;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.38);
}

.lightbox-close {
  position: absolute;
  top: 22px;
  right: 22px;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 720ms ease,
    transform 720ms ease;
  transition-delay: var(--delay, 0ms);
}

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 980px) {
  .site-header {
    align-items: flex-start;
    border-radius: 24px;
  }

  .site-nav {
    display: none;
  }

  .hero-inner,
  .section-heading,
  .farm,
  .experience,
  .contact-inner {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    align-items: end;
    padding-top: 130px;
  }

  .hero-panel {
    max-width: 430px;
  }

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

  .intro-item {
    border-bottom: 1px solid var(--line);
  }

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

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

  .product-card.feature img {
    height: 360px;
  }

  .story-block {
    min-height: auto;
  }

  .story-block h3 {
    margin-top: 48px;
  }

  .experience {
    background: var(--mist);
  }

  .experience-stack {
    min-height: 540px;
  }

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

@media (max-width: 640px) {
  .site-header {
    top: 10px;
    width: calc(100% - 20px);
  }

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

  .brand small {
    display: none;
  }

  .hero-inner,
  .section,
  .story,
  .experience,
  .contact {
    width: auto;
  }

  .hero-inner {
    width: calc(100% - 32px);
    gap: 22px;
    padding-bottom: 42px;
  }

  .hero h1 {
    font-size: clamp(40px, 11.8vw, 54px);
  }

  .hero-lede {
    font-size: 15px;
  }

  .hero-actions {
    width: 100%;
  }

  .button {
    flex: 1 1 150px;
  }

  .intro-strip {
    grid-template-columns: 1fr;
  }

  .intro-item {
    min-height: 118px;
    border-right: 0;
  }

  .section {
    width: calc(100% - 32px);
    padding: 76px 0;
  }

  .section-heading h2,
  .farm-copy h2,
  .story-header h2,
  .experience-copy h2,
  .contact-copy h2 {
    font-size: clamp(32px, 10vw, 46px);
  }

  .product-card img {
    height: 250px;
  }

  .product-card.feature img {
    height: 310px;
  }

  .farm-list div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .story {
    padding-top: 86px;
    padding-bottom: 86px;
  }

  .experience {
    padding-top: 86px;
    padding-bottom: 86px;
  }

  .experience-stack {
    min-height: 420px;
  }

  .experience-stack img {
    width: 82%;
  }

  .stack-two {
    border-width: 8px;
  }

  .gallery-grid {
    grid-auto-rows: 220px;
  }

  .gallery-item.wide,
  .gallery-item.tall {
    grid-column: span 1;
    grid-row: span 1;
  }

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

  .wechat-card {
    grid-template-columns: 1fr;
  }

  .wechat-card img {
    width: min(100%, 280px);
  }
}
