:root {
  --ink: #122019;
  --ink-soft: #3a4f44;
  --brand: #0e3d2c;
  --leaf: #2f7a4f;
  --leaf-deep: #1a5536;
  --mist: #e7f0ea;
  --paper: #f5f8f6;
  --cold: #1f5368;
  --cold-deep: #143848;
  --ice: #d9e8ef;
  --line: rgba(18, 32, 25, 0.12);
  --white: #ffffff;
  --max: 1120px;
  --font-display: "Noto Serif SC", "Songti SC", serif;
  --font-body: "Sora", "Noto Sans SC", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

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

button {
  font: inherit;
  border: 0;
  background: none;
  cursor: pointer;
}

.wrap {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: background 0.35s ease, backdrop-filter 0.35s ease, box-shadow 0.35s ease;
}

.site-header.is-solid {
  background: rgba(245, 248, 246, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 8px 24px rgba(18, 32, 25, 0.06);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 4.25rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.04em;
  font-size: 1.2rem;
  color: var(--white);
  transition: color 0.3s ease;
}

.site-header.is-solid .brand,
.site-header.theme-light .brand {
  color: var(--brand);
}

.brand img {
  width: 28px;
  height: 28px;
  border-radius: 4px;
  background: #0a1630;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav a {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  transition: color 0.25s ease, opacity 0.25s ease;
}

.site-header.is-solid .nav a,
.site-header.theme-light .nav a {
  color: var(--ink-soft);
}

.nav a:hover,
.nav a.is-active {
  color: var(--white);
}

.site-header.is-solid .nav a:hover,
.site-header.is-solid .nav a.is-active,
.site-header.theme-light .nav a:hover,
.site-header.theme-light .nav a.is-active {
  color: var(--leaf);
}

.nav-cta {
  padding: 0.55rem 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: var(--white) !important;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.site-header.is-solid .nav-cta,
.site-header.theme-light .nav-cta {
  border-color: var(--leaf);
  color: var(--leaf) !important;
}

.nav-cta:hover {
  background: var(--white);
  color: var(--brand) !important;
  border-color: var(--white);
}

.site-header.is-solid .nav-cta:hover,
.site-header.theme-light .nav-cta:hover {
  background: var(--leaf);
  color: var(--white) !important;
  border-color: var(--leaf);
}

.nav-system {
  margin-left: 0.25rem;
  padding: 0.55rem 1.15rem;
  background: var(--leaf);
  border: 1px solid var(--leaf);
  color: var(--white) !important;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
}

.site-header:not(.is-solid):not(.theme-light) .nav-system {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.55);
}

.nav-system:hover {
  background: var(--leaf-deep);
  border-color: var(--leaf-deep);
  color: var(--white) !important;
}

.site-header:not(.is-solid):not(.theme-light) .nav-system:hover {
  background: var(--white);
  border-color: var(--white);
  color: var(--brand) !important;
}

.menu-toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  position: relative;
}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0.5rem;
  right: 0.5rem;
  height: 2px;
  background: currentColor;
  transition: transform 0.25s ease, top 0.25s ease, opacity 0.25s ease;
}

.menu-toggle {
  color: var(--white);
}

.site-header.is-solid .menu-toggle,
.site-header.theme-light .menu-toggle {
  color: var(--brand);
}

.menu-toggle span {
  top: 50%;
  transform: translateY(-50%);
}

.menu-toggle span::before {
  top: -7px;
}

.menu-toggle span::after {
  top: 7px;
}

.menu-toggle.is-open span {
  background: transparent;
}

.menu-toggle.is-open span::before {
  top: 0;
  transform: rotate(45deg);
}

.menu-toggle.is-open span::after {
  top: 0;
  transform: rotate(-45deg);
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__media img,
.hero__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  animation: heroDrift 18s ease-in-out infinite alternate;
}

.hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 28, 20, 0.35) 0%, rgba(8, 28, 20, 0.2) 35%, rgba(8, 28, 20, 0.78) 100%),
    linear-gradient(90deg, rgba(8, 28, 20, 0.55) 0%, rgba(8, 28, 20, 0.15) 55%, transparent 100%);
}

.hero__content {
  position: relative;
  z-index: 1;
  padding: 7rem 0 5.5rem;
}

.hero__brand {
  margin: 0 0 1.1rem;
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 5.4rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.05;
  opacity: 0;
  transform: translateY(28px);
  animation: riseIn 0.9s ease 0.15s forwards;
}

.hero__title {
  margin: 0 0 0.85rem;
  max-width: 14ch;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3.4vw, 2.35rem);
  font-weight: 600;
  line-height: 1.25;
  opacity: 0;
  transform: translateY(28px);
  animation: riseIn 0.9s ease 0.32s forwards;
}

.hero__lead {
  margin: 0 0 2rem;
  max-width: 28rem;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.88);
  opacity: 0;
  transform: translateY(28px);
  animation: riseIn 0.9s ease 0.48s forwards;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  opacity: 0;
  transform: translateY(28px);
  animation: riseIn 0.9s ease 0.64s forwards;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.9rem;
  padding: 0.7rem 1.35rem;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

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

.btn-primary {
  background: var(--leaf);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--leaf-deep);
}

.btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.55);
  color: var(--white);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--white);
}

.btn-cold {
  background: var(--cold);
  color: var(--white);
}

.btn-cold:hover {
  background: var(--cold-deep);
}

/* Sections */
.section {
  padding: 5.5rem 0;
}

.section-head {
  max-width: 36rem;
  margin-bottom: 2.75rem;
}

.section-eyebrow {
  margin: 0 0 0.65rem;
  color: var(--leaf);
  font-size: 0.85rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section-title {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  line-height: 1.2;
  font-weight: 700;
}

.section-desc {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

/* Pillars — split planes, not cards */
.pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 34rem;
}

.pillar {
  position: relative;
  overflow: hidden;
  min-height: 28rem;
  color: var(--white);
  display: flex;
  align-items: flex-end;
}

.pillar__media {
  position: absolute;
  inset: 0;
}

.pillar__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s ease;
}

.pillar:hover .pillar__media img {
  transform: scale(1.05);
}

.pillar__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 30, 22, 0.15), rgba(10, 30, 22, 0.82));
}

.pillar--cold .pillar__media img {
  filter: saturate(0.55) hue-rotate(160deg) brightness(0.92);
}

.pillar--cold .pillar__shade {
  background:
    linear-gradient(180deg, rgba(12, 34, 46, 0.25), rgba(12, 34, 46, 0.88)),
    linear-gradient(120deg, rgba(31, 83, 104, 0.35), transparent 55%);
}

.pillar__body {
  position: relative;
  z-index: 1;
  padding: 2.5rem;
  max-width: 28rem;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.pillar.is-in .pillar__body {
  opacity: 1;
  transform: none;
}

.pillar__label {
  margin: 0 0 0.55rem;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.8;
}

.pillar__title {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 2.6vw, 2.2rem);
  line-height: 1.2;
}

.pillar__text {
  margin: 0 0 1.4rem;
  color: rgba(255, 255, 255, 0.88);
}

/* Metrics */
.metrics {
  background: var(--white);
}

.metric-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

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

.metric-grid li {
  padding: 1.35rem 1.2rem;
  border-top: 2px solid var(--leaf);
  background:
    linear-gradient(180deg, rgba(47, 122, 79, 0.06), transparent 70%),
    var(--paper);
}

.metrics--cold .section-eyebrow {
  color: var(--cold);
}

.metrics--cold .metric-grid li {
  border-top-color: var(--cold);
  background:
    linear-gradient(180deg, rgba(31, 83, 104, 0.08), transparent 70%),
    var(--paper);
}

.scene--cold .scene__label {
  color: var(--cold);
}

.metric-grid h3 {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
}

.metric-grid p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

/* Agriculture scenes */
.scenes {
  padding-top: 2rem;
}

.scenes .section-head {
  margin-inline: auto;
  width: min(100% - 2.5rem, var(--max));
}

.scene {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 0;
  min-height: 26rem;
  margin-bottom: 1.5rem;
  width: min(100%, calc(var(--max) + 4rem));
  margin-inline: auto;
}

.scene--flip .scene__media {
  order: 2;
}

.scene__media {
  overflow: hidden;
  min-height: 22rem;
}

.scene__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s ease;
}

.scene:hover .scene__media img {
  transform: scale(1.04);
}

.scene__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2.5rem 2.75rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 0;
}

.scene--flip .scene__copy {
  border-left: 1px solid var(--line);
  border-right: 0;
}

.scene__label {
  margin: 0 0 0.65rem;
  color: var(--leaf);
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.scene__copy h3 {
  margin: 0 0 0.9rem;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 2.4vw, 2rem);
}

.scene__copy > p {
  margin: 0 0 1.1rem;
  color: var(--ink-soft);
  line-height: 1.7;
}

.scene__copy ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--ink-soft);
}

.scene__copy li {
  margin-bottom: 0.35rem;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

/* Focus strip */
.focus {
  background:
    radial-gradient(900px 420px at 10% 0%, rgba(47, 122, 79, 0.12), transparent 60%),
    radial-gradient(800px 380px at 90% 100%, rgba(31, 83, 104, 0.12), transparent 55%),
    var(--paper);
}

.focus-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.focus-list li {
  border-top: 1px solid var(--line);
  padding-top: 1.35rem;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.focus-list li.is-in {
  opacity: 1;
  transform: none;
}

.focus-list h3 {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
}

.focus-list p {
  margin: 0;
  color: var(--ink-soft);
}

/* Page hero (inner) */
.page-hero {
  position: relative;
  min-height: 52vh;
  display: grid;
  align-items: end;
  color: var(--white);
  overflow: hidden;
}

.page-hero__media,
.page-hero__shade {
  position: absolute;
  inset: 0;
}

.page-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero__shade {
  background: linear-gradient(180deg, rgba(8, 28, 20, 0.25), rgba(8, 28, 20, 0.78));
}

.page-hero--cold .page-hero__shade {
  background: linear-gradient(180deg, rgba(12, 26, 34, 0.35), rgba(20, 56, 72, 0.82));
}

.page-hero__content {
  position: relative;
  z-index: 1;
  padding: 8rem 0 3.5rem;
}

.page-hero h1 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  letter-spacing: 0.04em;
}

.page-hero p {
  margin: 0;
  max-width: 34rem;
  color: rgba(255, 255, 255, 0.9);
}

/* Content blocks */
.content-block {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
}

.content-block + .content-block {
  margin-top: 4rem;
}

.content-block--flip {
  grid-template-columns: 0.95fr 1.05fr;
}

.content-block--flip .content-copy {
  order: 2;
}

.content-block--flip .content-visual {
  order: 1;
}

.content-copy h2 {
  margin: 0 0 0.9rem;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 2.8vw, 2.1rem);
}

.content-copy p {
  margin: 0 0 1rem;
  color: var(--ink-soft);
}

.content-copy ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.content-copy li {
  position: relative;
  padding: 0.55rem 0 0.55rem 1.15rem;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--line);
}

.content-copy li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.05rem;
  width: 0.45rem;
  height: 0.45rem;
  background: var(--leaf);
}

.content-visual {
  position: relative;
  min-height: 18rem;
  overflow: hidden;
  background: var(--mist);
}

.content-visual img {
  width: 100%;
  height: 100%;
  min-height: 18rem;
  object-fit: cover;
}

.band {
  background: linear-gradient(135deg, var(--brand), var(--leaf-deep) 55%, var(--cold));
  color: var(--white);
}

.band .section-title,
.band .section-desc {
  color: var(--white);
}

.band .section-desc {
  opacity: 0.88;
}

.band .section-eyebrow {
  color: rgba(255, 255, 255, 0.7);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2.5rem;
  align-items: start;
}

.contact-places {
  display: grid;
  gap: 1.75rem;
}

.contact-place h3 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--leaf);
}

.contact-place p {
  margin: 0;
  color: var(--ink-soft);
}

.contact-qr {
  text-align: center;
}

.contact-qr img {
  width: 120px;
  height: 120px;
  margin: 0 auto 0.75rem;
}

.contact-qr p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

/* Footer */
.site-footer {
  padding: 2rem 0;
  background: var(--brand);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.85rem;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.9);
}

.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  align-items: center;
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
}

.site-footer__links a {
  text-decoration: underline;
  text-underline-offset: 0.2em;
  opacity: 0.92;
}

.site-footer__links a:hover {
  opacity: 1;
  color: #fff;
}

@keyframes riseIn {
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes heroDrift {
  from {
    transform: scale(1.06) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.12) translate3d(-1.5%, -1%, 0);
  }
}

@media (max-width: 900px) {
  .pillars,
  .focus-list,
  .metric-grid,
  .metric-grid--6,
  .scene,
  .content-block,
  .content-block--flip,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .scene--flip .scene__media {
    order: initial;
  }

  .scene__copy,
  .scene--flip .scene__copy {
    border: 1px solid var(--line);
  }

  .content-block--flip .content-copy,
  .content-block--flip .content-visual {
    order: initial;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .nav {
    position: fixed;
    inset: 4.25rem 0 auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem 1.25rem 1.25rem;
    background: rgba(245, 248, 246, 0.98);
    border-bottom: 1px solid var(--line);
  }

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

  .nav a {
    color: var(--ink) !important;
    padding: 0.9rem 0;
    border-bottom: 1px solid var(--line);
  }

  .nav-cta {
    margin-top: 0.75rem;
    text-align: center;
    border-color: var(--leaf) !important;
    color: var(--leaf) !important;
  }

  .nav-system {
    margin: 0.75rem 0 0;
    text-align: center;
    color: var(--white) !important;
    border-bottom: 0 !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
