@font-face {
  font-family: "Helvetica W01 Bold";
  src: url("./assets/fonts/helvetica-w01-bold.woff2") format("woff2");
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Avenir LT W01 35 Light";
  src: url("./assets/fonts/avenir-lt-w01_35-light1475496.woff2") format("woff2");
  font-style: normal;
  font-display: swap;
}


@font-face {
  font-family: "futura-lt-w01-book";
  src: url("./assets/fonts/futura-lt-w01-book.woff2") format("woff2");
  font-style: normal;
  font-display: swap;
}


:root {
  --bg-main: #69822c;
  --bg-dark: #3a4d17;
  --bg-soft: #eef5dc;
  --bg-strip: #bada55;
  --text-main: #f7f8ee;
  --text-deep: #45611f;
  --bg-gradient:radial-gradient(circle at 94.35384114583333% 89.61588541666666%, #69812C 0%, 20%, rgba(105,129,44,0) 40%), radial-gradient(circle at 25.833333333333336% 90.83333333333333%, rgba(223,255,136,0.99) 0%, 25%, rgba(223,255,136,0) 50%), radial-gradient(circle at 25% 20%, #212C06 0%, 34.86%, rgba(33,44,6,0) 83%), radial-gradient(circle at 93.6865234375% 11.42578125%, #69812C 0%, 42%, rgba(105,129,44,0) 70%), radial-gradient(circle at 48.9013671875% 49.521484375%, #212C06 0%, 100%, rgba(33,44,6,0) 100%);
  --line: #c7e25a;
  --card: rgb(255 255 255 / 10%);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  background: var(--bg-main);
  color: var(--text-main);
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  
}


body.lang-zh [data-lang="en"] {
  display: none !important;
}

body.lang-en [data-lang="zh"] {
  display: none !important;
}


/* english style start*/
.english-navbar {
   font-family: "futura-lt-w01-book", sans-serif;
   font-size: 25px;
   letter-spacing: 0.01em;
   line-height: 1.6em;
  text-align: justify;
}
.english-text {
  font-family: "Avenir LT W01 35 Light", avenir-lt-w01_35-light1475496, avenir-lt-w05_35-light, sans-serif;
  letter-spacing: 0.01em;
  font-size: 15px;
  line-height: 1.6em;
  text-align: justify;
  font-weight: 300;
}

.preface-text .english-text,
.preface-copy .english-text {
  font-family: "Avenir LT W01 35 Light", sans-serif;
  letter-spacing: 0.01em;
  font-size: 15px;
  line-height: 1.6em;
  text-align: justify;
  font-weight: 300;
}

.hero h1 .english-hero-title {
  font-family: "Helvetica W01 Bold", Helvetica, Arial, sans-serif;
  
  display: inline-block;
  font-size: 50px;
  line-height: 1.2em;
  font-weight: 700;
  text-align: left;
}

.hero-subtitle .english-hero-subtitle {
  font-family: "Helvetica W01 Bold", Helvetica, Arial, sans-serif;
  display: inline-block;
  font-size: 30px;
  line-height: 1.2em;
  font-weight: 500;
  text-align: left;
  
}

.section-title .english-section-heading {
  font-family: "Avenir LT W01 35 Light", avenir-lt-w01_35-light1475496, avenir-lt-w05_35-light, sans-serif;
  font-size:50px;
  display: inline-block;
  font-weight: bold;
  letter-spacing: 0.15em;
}

.unit-disc h3 .english-unit-title {
  display: inline-block;
  font-family: "Helvetica W01 Bold", helvetica-w01-bold, helvetica-w02-bold, helvetica-lt-w10-bold, sans-serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2em;
}

/* english style end */

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

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

.top-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 50;
  background: rgb(190 201 173 / 50%);
  border-top: 3px solid #91a17a;
  box-shadow: 0 6px 14px rgb(33 44 6 / 10%);
}

.nav-spacer {
  height: 60px;
  background: #bec9ad;
}

.top-nav-inner {
  width: 980px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  height: 57px;
  padding-left: 0;
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  position: absolute;
  left: 24px;
  top: 50%;
  transform: translateY(-50%);
  height: 38px;
  padding: 0 12px;
  border-radius: 999px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.nav-logo img {
  width: 180px;
  height: auto;
}

.nav-logo:hover {
  background: rgb(244 255 215 / 74%);
  border-color: rgb(69 97 31 / 58%);
  box-shadow: 0 5px 14px rgb(33 44 6 / 22%);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 100px;
  padding-left: 0;
  margin-left: 0;
  font-size: 25px;
  font-weight: 700;
  color: #45611f;
}

.nav-dropdown {
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
}

.nav-trigger {
  display: inline-flex;
  align-items: center;
  height: 100%;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% - 1px);
  left: 50%;
  z-index: 80;
  display: flex;
  flex-direction: column;
  gap: 0;
  min-width: 160px;
  padding: 6px 0;
  background: #f4ffd4;
  border: 1px solid #a8b879;
  box-shadow: 0 4px 12px rgb(0 0 0 / 16%);
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(-6px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.dropdown-menu a {
  display: block;
  padding: 4px 18px;
  color: #49611f;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.35;
  white-space: nowrap;
}

.dropdown-menu a:hover {
  background: rgb(105 130 44 / 10%);
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.lang-switch {
  display: flex;
  margin-left: auto;
}

.lang-item {
  width: 100px;
  border: none;
  font-family: "futura-lt-w01-book", sans-serif;
  font-size: 25px;
  font-weight: 700;
  line-height: 1.6em;
  letter-spacing: 0.01em;
  text-align: center;
  background: #b5d167;
  color: #111;
}

.lang-item.is-active {
  background: #f4ffd7;
}

.lang-item:hover {
  background: #69812c;
  color: #959595;
}

.en-copy {
  font-family: Helvetica, Arial, sans-serif;
  letter-spacing: 0.01em;
}

.top-nav .main-nav > a > [data-lang="en"],
.top-nav .nav-trigger > [data-lang="en"] {
  font-family: "futura-lt-w01-book", sans-serif;
  font-size: 25px;
  line-height: 1.6em;
  letter-spacing: 0.01em;
  text-align: justify;
}

.top-nav .dropdown-menu [data-lang="en"] {
  font-family: "Avenir LT W01 35 Light", avenir-lt-w01_35-light1475496, avenir-lt-w05_35-light, sans-serif;
  font-size: 23px;
  line-height: 1.08em;
  letter-spacing: 0.01em;
  text-align: justify;
}

.hero {
  position: relative;
  overflow: hidden;
  height: 630px;
  padding: 78px 0 64px;
  background: var(--bg-gradient);
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 50%;
  width: 976px;
  height: 453px;
  transform: translateX(-50%);
  background: url("./assets/images/home/clean peas bg.png") center center / 976px 453px no-repeat;
}

.hero-vignette {
  position: absolute;
  inset: 0;
  background: transparent;
  pointer-events: none;
}


/* 左上角固定 */
.hero-vignette .pea {
    position: absolute;
    left: 215px;
    top: 65px;
    width: 155px;
    height: auto;
    display: block;
    opacity: 0.95;
    transform: rotate(
125deg);
    animation: float-up-rotated-125 0.9s cubic-bezier(0.22, 0.8, 0.3, 1) both;
}


/* 左下角淡入-带叶豌豆-小 */

.hero-vignette .leaf-animate {
    position: absolute;
    left: 204px;
    top: 424px;
    width: 201px;
    height: auto;
    display: block;
    opacity: 0.95;
    transform: rotate(180deg);
    animation: slide-in-left-rotated-180 0.95s cubic-bezier(0.2, 0.8, 0.25, 1) both;
}

/* 右上角固定 */
.hero-vignette .pea2 {
    position: absolute;
    right: 38px;
    top: 40px;
    width: 197px;
    height: auto;
    display: block;
    opacity: 0.95;
    transform: rotate(
89deg);
}

/* 右下角淡入-带叶豌豆-大 */
.hero-vignette .leaf {
    position: absolute;
    right: 38px;
    top: 288px;
    width: 420px;
    height: auto;
    display: block;
    opacity: 0.95;
    transform: rotate(1deg);
    animation: slide-in-right-tilted 0.95s cubic-bezier(0.2, 0.8, 0.25, 1) both;
}

.hero-content {
  position: relative;
  width: 980px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 0px;
}

.hero-copy {
  width: min(100%, 720px);
  color: #fff;
}

.hero h1 {
  margin: 110px 0 0;
  font-size: 70px;
  line-height: 1.45;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-shadow: 0 8px 24px rgb(0 0 0 / 8%);
}

.hero-subtitle {
  margin: 44px 0 0;
  font-size: 37px;
  line-height: 1.45;
  font-weight: 300;
  letter-spacing: 0.05em;
}

.hero-partners {
  margin-top: 60px;
  display: flex;
  flex-wrap: nowrap;
  gap: 40px;
  align-items: center;
}

.hero-partners img {
  width: auto;
  object-fit: contain;
  filter: saturate(0.92);
}

.hero-partners img:nth-child(1) {
  width: 163px;
  height: 32px;
}

.hero-partners img:nth-child(2) {
  width: 164px;
  height: auto;
}

.hero-partners img:nth-child(3) {
  width: 92px;
  height: 53px;
}

.hero-portrait {
  flex: 0 0 auto;
  margin: 0;
  width: 369px;
  height: 369px;
  border-radius: 50%;
  border: 0;
  overflow: hidden;
  box-shadow: 0 20px 42px rgb(0 0 0 / 12%);
}

.hero-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.preface,
.preface-support,
.genome {
  width: min(92vw, 1480px);
  margin: 0 auto;
  padding: 28px 0 34px;
}

.units {
  width: min(92vw, 1600px);
  margin: 0 auto;
  padding: 28px 0 34px;
}



.section-title {
  display: flex;
  flex-direction: column;
  gap: 0;
  align-items: center;
  margin: 0 auto 30px;
  width: 980px;
}

.section-title > span {
  width: 100%;
  height: 40px;
  background: var(--bg-strip);
}

.section-title h2 {
  margin: 0;
  color: #f4f9e8;
  font-size: 38px;
  font-weight: 700;
  text-align: center;
  letter-spacing: 1rem;
  background: transparent;
  transform: translateY(-30px);
}

body.lang-en #preface .section-title h2 {
  transform: translateY(-33px);
}

body.lang-en #units .section-title h2 {
  transform: translateY(-47px);
}

body.lang-en .genome .section-title h2 {
  transform: translateY(-43px);
}

body.lang-en .related-info .section-title h2 {
  transform: translateY(-45px);
}

.section-title h2 > span {
  display: inline;
  width: auto;
  height: auto;
  background: transparent;
}

.preface {
  padding-top: 38px;
  padding-bottom: 16px;
  width:980px;
}

.preface-text {
  width: 100%;
  margin: 0 auto;
  padding: 0 35px;
  font-weight: 400;
}

.preface-text p {
  margin: 0 0 20px;
  font-size: 14px;
  line-height: 2.1;
  text-align: justify;
  text-indent: 2em;
  color:#ffffff;
}

.preface-support {
  width: 100%;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 0;
  background: #ffffff;
}

.preface-grid {
  width: max-content;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 872.5px 872.5px;
  gap: 0;
  align-items: stretch;
}

.preface-statue {
  position: relative;
  margin: 0;
  width: 872.5px;
  height: 906px;
  background: #ffffff;
}

.preface-statue img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.preface-statue-caption {
  position: absolute;
  top: 10px;
  left: 50%;
  z-index: 2;
  margin: 0;
  color: #fff;
  font-size: 10px;
  line-height: 1.3;
  font-weight: 400;
  letter-spacing: 0;
  text-align: center;
  transform: translateX(-50%);
  pointer-events: none;
}

body.lang-en .preface-statue-caption {
  font-size: 6px;
}

.preface-copy {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  width: 872.5px;
  min-height: 906px;
  background: rgb(245,255,247);
  color: #4C5F19;
  font-weight: 400;
  padding-top: 40px;
  padding-bottom: 0;
  padding-left: 100px;
  padding-right: 100px;
}

.preface-copy p {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.7em;
  text-align: justify;
  font-family: "Avenir LT W01 35 Light", sans-serif;
}

.preface-points {
  margin: 18px 0 0;
  padding-left: 20px;
  color: #69812c;
  font-size: 14px;
  line-height: 2;
}

.unit-list {
  width: max-content;
  max-width: 100%;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 18px;
}

.unit-card {
  display: block;
  text-align: center;
  flex: 0 0 auto;
  transform-origin: center center;
  will-change: transform;
  transition: transform 360ms cubic-bezier(0.22, 1, 0.36, 1);
}

.unit-card:hover {
  transform: translateY(-8px) scale(1.075);
}

.unit-disc {
  width: 290px;
  height: 290px;
  margin: 0 auto 14px;
  padding: 0;
  border-radius: 50%;
  background: transparent;
  box-shadow: 0 8px 24px rgb(0 0 0 / 32%);
  transition: box-shadow 360ms cubic-bezier(0.22, 1, 0.36, 1);
}

.unit-disc-art {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  display: grid;
  place-items: center;
}

.unit-disc-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgb(245 255 247 / 76%), rgb(245 255 247 / 62%));
  pointer-events: none;
  transition: opacity 360ms cubic-bezier(0.22, 1, 0.36, 1);
}

.unit-disc-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.5) brightness(1.02);
  transition: transform 360ms cubic-bezier(0.22, 1, 0.36, 1), filter 360ms cubic-bezier(0.22, 1, 0.36, 1);
}

.unit-disc-number {
  position: absolute;
  top: 52px;
  left: 50%;
  z-index: 2;
  transform: translateX(-50%);
  display: block;
  text-align: center;
  color: #000000;
  font-size: 52px;
  font-weight: 700;
  line-height: 1;
  text-shadow:
    3px 3px 0 rgb(255 255 255 / 75%),
    6px 6px 0 rgb(0 0 0 / 24%);
  font-family: "Helvetica W01 Bold", Helvetica, Arial, sans-serif;
}

.unit-disc-art--placeholder {
  background:
    radial-gradient(circle at 30% 30%, rgb(255 255 255 / 75%), rgb(255 255 255 / 18) 38%, transparent 40%),
    radial-gradient(circle at 68% 72%, rgb(122 153 54 / 40%), transparent 34%),
    linear-gradient(145deg, #edf4d9, #c7d88e);
}

.unit-disc-art h3 {
  position: absolute;
  top: 138px;
  left: 50%;
  width: calc(100% - 56px);
  z-index: 2;
  transform: translateX(-50%);
  margin: 0;
  font-size: 30px;
  color: #69812c;
  font-weight: 700;
  line-height: 1.12;
  text-align: center;
  transition: transform 360ms cubic-bezier(0.22, 1, 0.36, 1), color 360ms cubic-bezier(0.22, 1, 0.36, 1);
}

.unit-card:hover .unit-disc {
  box-shadow: 0 20px 42px rgb(0 0 0 / 42%);
}

.unit-card:hover .unit-disc-art::after {
  opacity: 0.82;
}

.unit-card:hover .unit-disc-art img {
  transform: scale(1.06);
}

.unit-card:hover .unit-disc-art h3 {
  transform: translateX(-50%) scale(1.02);
}

.genome-visual {
  width: 642px;
  margin: 0 auto 24px;
}

.genome-visual img {
  width: 642px;
  height: 361px;
  object-fit: cover;
}

.genome-link {
  margin: 0 0 24px;
  text-align: center;
  font-size: 14px;
  line-height: 1.8;
  font-weight: 300;
}

.genome-link a {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.genome-copy {
  position: relative;
  width: 850px;
  margin: 0 auto;
  padding: 6px 8px 0;
  font-weight: 400;
}

.genome-copy::before,
.genome-copy::after {
  content: "“";
  position: absolute;
  color: rgb(255 255 255 / 28%);
  font-size: 550px;
  line-height: 1;
  font-family: Georgia, serif;
}

.genome-copy::before {
  left: -18px;
  top: -34px;
}

.genome-copy::after {
  right: -14px;
  bottom: -90px;
  transform: rotate(180deg);
}

.genome-copy p {
  margin: 0 0 18px;
  font-size: 14px;
  line-height: 2.1;
  text-align: justify;
  text-indent: 2em;
  color: #ffffff;
  font-family: "Avenir LT W01 35 Light", sans-serif;
}

.related-info {
  width: min(92vw, 1480px);
  margin: 0 auto;
  padding: 22px 0 40px;
}

.related-grid {
  width: min(100%, 680px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 180px;
  row-gap: 40px;
  align-items: start;
}

.related-col {
  min-width: 0;
}

.related-group {
  margin: 0 0 34px;
}

.related-group:last-child {
  margin-bottom: 0;
}

.related-group h3 {
  margin: 0 0 32px;
  color: #eefb6a;
  font-size: 16px;
  line-height: 1.4;
  font-weight: 700;
}

.related-person {
  margin: 0 0 38px;
}

.related-person:last-child {
  margin-bottom: 0;
}

.related-name,
.related-role {
  margin: 0;
  color: #ffffff;
  font-size: 16px;
  line-height: 1.45;
}

.related-name {
  margin-bottom: 6px;
}

.related-role + .related-role {
  margin-top: 2px;
}

body.lang-en .related-grid [data-lang="en"] {
  font-family: "Avenir LT W01 35 Light", avenir-lt-w01_35-light1475496, avenir-lt-w05_35-light, sans-serif;
  font-size: 16px;
  line-height: 1.4em;
}

.scroll-dot {
  position: fixed;
  right: clamp(16px, 3vw, 64px);
  bottom: clamp(16px, 2.2vw, 30px);
  width: 47px;
  height: 47px;
  border-radius: 50%;
  background: rgb(69 97 31 / 72%);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 120;
  box-shadow: 0 6px 16px rgb(33 44 6 / 22%);
}

.scroll-fixed {
  position: fixed;
}

.scroll-dot::before {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  border-left: 3.5px solid #f4ffd7;
  border-top: 3.5px solid #f4ffd7;
  left: 50%;
  top: 60%;
  transform: translate(-50%, -50%) rotate(45deg);
}

.site-footer {
  margin-top: 80px;
  height: 80px;
  background: #000;
  display: grid;
  place-items: center;
  padding: 0 24px;
}

.site-footer p {
  margin: 0;
  color: #fff;
  text-align: center;
  font-size: 14px;
  line-height: 1.4;
  font-family: "Avenir LT W01 35 Light", avenir-lt-w01_35-light1475496, avenir-lt-w05_35-light, sans-serif;
}

.site-footer strong {
  font-weight: 700;
}

.site-footer a {
  cursor: pointer;
}

@media (min-width: 1101px) and (max-width: 1600px) {
  .preface-grid {
    grid-template-columns: 588px 588px;
  }

  .preface-statue,
  .preface-copy {
    width: 588px;
  }
}

@media (max-width: 1100px) {
  .preface-grid {
    width: min(92vw, 980px);
    grid-template-columns: 1fr;
  }

  .preface-statue,
  .preface-copy {
    width: 100%;
    min-height: auto;
    height: auto;
  }

  .unit-list {
    width: 100%;
    gap: 24px;
  }

  .unit-disc {
    width: min(100%, 290px);
    height: min(100vw, 290px);
    aspect-ratio: 1;
  }
}

@media (max-width: 760px) {
  .preface-copy {
    padding: 22px 18px;
  }

  .unit-list {
    width: 100%;
    gap: 20px;
  }
}

@media (max-width: 520px) {
  .unit-list {
    width: 100%;
    gap: 16px;
  }
}

@keyframes slide-in-right-tilted {
  from {
    opacity: 0;
    transform: translateX(180px) rotate(1deg);
  }
  to {
    opacity: 1;
    transform: translateX(0) rotate(1deg);
  }
}

@keyframes slide-in-right-rotated-180 {
  from {
    opacity: 0;
    transform: translateX(180px) rotate(180deg);
  }
  to {
    opacity: 1;
    transform: translateX(0) rotate(180deg);
  }
}

@keyframes slide-in-left-rotated-180 {
  from {
    opacity: 0;
    transform: translateX(-180px) rotate(180deg);
  }
  to {
    opacity: 1;
    transform: translateX(0) rotate(180deg);
  }
}

@keyframes fade-drop-in-rotated {
  from {
    opacity: 0;
    transform: translateY(-48px) rotate(144deg);
  }
  to {
    opacity: 1;
    transform: translateY(0) rotate(144deg);
  }
}

@keyframes float-up-rotated-125 {
  from {
    opacity: 0;
    transform: translateY(72px) rotate(125deg);
  }
  to {
    opacity: 1;
    transform: translateY(0) rotate(125deg);
  }
}
