﻿:root {
  color-scheme: light;
  --green: #69b42d;
  --green-deep: #245d2d;
  --blue: #1e5bff;
  --blue-soft: #b8e3ff;
  --mint: #c0dda1;
  --amber: #d9b45f;
  --paper: #ffffff;
  --ink: #121212;
  --muted: #727272;
  --dark: #050605;
  --line: rgba(0, 0, 0, 0.12);
  --header: 150px;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
}

body {
  color: var(--ink);
  background: #fff;
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", Arial, sans-serif;
  letter-spacing: 0;
}

body.menu-open,
body.is-animating {
  cursor: default;
}

button,
a {
  font: inherit;
}

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

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

button {
  cursor: pointer;
}

.site-header {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 60;
  display: grid;
  grid-template-columns: 1fr 180px 1fr;
  align-items: center;
  width: 100%;
  height: var(--header);
  padding: 0 52px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.14);
  transition: height 520ms ease, background 520ms ease, box-shadow 520ms ease;
}

.site-header.is-compact {
  height: 100px;
}

.nav-cluster {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 44px;
  font-size: 17px;
  color: #111;
}

.nav-cluster a {
  position: relative;
  padding: 8px 0;
  white-space: nowrap;
}

.nav-cluster a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 3px;
  background: var(--green);
  transition: width 240ms ease;
}

.nav-cluster a:hover::after,
.nav-cluster a.is-current::after {
  width: 100%;
}

.brand {
  justify-self: center;
  display: grid;
  place-items: center;
  width: 180px;
  height: 70px;
  color: #111;
}

.brand strong {
  font-size: 30px;
  line-height: 1;
  font-weight: 900;
}

.brand span {
  margin-top: 7px;
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
}

.menu-button {
  display: none;
  justify-self: end;
  width: 46px;
  height: 46px;
  border: 0;
  background: transparent;
}

.menu-button span {
  display: block;
  width: 28px;
  height: 2px;
  margin: 6px auto;
  background: #111;
  transition: transform 220ms ease, opacity 220ms ease;
}

body.menu-open .menu-button span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

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

body.menu-open .menu-button span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  top: 74px;
  right: 18px;
  z-index: 70;
  display: none;
  min-width: 220px;
  padding: 10px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.18);
}

.mobile-menu a {
  display: block;
  padding: 14px 16px;
  border-bottom: 1px solid #ececec;
  color: #111;
  font-weight: 700;
}

body.menu-open .mobile-menu {
  display: block;
}

.stage {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.panel {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #fff;
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
  transition: transform 900ms cubic-bezier(0.7, 0, 0.2, 1), opacity 900ms ease;
}

.panel.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  z-index: 2;
}

.panel.is-before {
  transform: translateY(-100%);
}

.label {
  margin: 0 0 18px;
  color: var(--green);
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-panel {
  background: #000;
}

.hero-carousel,
.hero-frame {
  position: absolute;
  inset: 0;
}

.hero-frame {
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 900ms ease, transform 6200ms ease;
}

.hero-frame.is-current {
  opacity: 1;
  transform: scale(1);
}

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

.hero-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0.12) 55%, rgba(0, 0, 0, 0.58)), linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.48));
}

.frame-abstract {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.75), rgba(21, 48, 28, 0.5)),
    repeating-linear-gradient(90deg, rgba(105, 180, 45, 0.2) 0 1px, transparent 1px 120px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.12) 0 1px, transparent 1px 120px),
    #0a0e08;
}

.abstract-lines {
  position: absolute;
  inset: 22% 10%;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.abstract-lines::before,
.abstract-lines::after {
  content: "";
  position: absolute;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--green), transparent);
  animation: scan 4s ease-in-out infinite;
}

.abstract-lines::before {
  left: 5%;
  top: 30%;
  width: 68%;
}

.abstract-lines::after {
  right: 5%;
  bottom: 24%;
  width: 54%;
  animation-delay: 900ms;
}

.heart-mark {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 3;
  display: grid;
  width: 180px;
  height: 180px;
  place-items: center;
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.32);
  border: 2px solid rgba(255, 255, 255, 0.3);
  font-size: 70px;
  font-weight: 900;
  transform: translate(-50%, -50%) scale(0.2);
  opacity: 0;
}

.hero-panel.is-active .heart-mark {
  animation: heartZoom 680ms ease-out forwards;
}

.hero-copy {
  position: absolute;
  left: 7%;
  bottom: 14%;
  z-index: 5;
  max-width: 760px;
  color: #fff;
  opacity: 0;
  transform: translateY(80px);
}

.hero-panel.is-active .hero-copy {
  animation: riseText 900ms ease forwards 520ms;
}

.hero-copy h1 {
  margin: 0;
  font-size: 72px;
  line-height: 1.08;
  font-weight: 900;
}

.hero-copy > p:last-child {
  max-width: 660px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 22px;
  line-height: 1.9;
}

.hero-pagination {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 44px;
  z-index: 8;
  display: flex;
  justify-content: center;
  gap: 12px;
}

.hero-pagination button {
  width: 12px;
  height: 12px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.88);
}

.hero-pagination button.is-current {
  background: var(--green);
}

.split-panel {
  display: grid;
  grid-template-columns: 50% 50%;
  padding-top: var(--header);
}

.split-panel.reverse .split-media {
  grid-column: 2;
}

.split-panel.reverse .split-content {
  grid-column: 1;
  grid-row: 1;
}

.split-media {
  position: relative;
  height: 100%;
  overflow: hidden;
  opacity: 0;
  width: 100%;
}

.split-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.96) contrast(1.04);
}

.color-block {
  position: absolute;
  inset: 0;
  opacity: 0.74;
  transform: translateX(-100%);
}

.reverse .color-block {
  transform: translateX(100%);
}

.blue .color-block {
  background: var(--blue-soft);
}

.green .color-block {
  background: var(--mint);
}

.amber .color-block {
  background: #ead29a;
}

.letter-layer {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.64);
  font-size: 118px;
  font-weight: 900;
  opacity: 0;
  transform: translateY(24px);
}

.split-content {
  display: grid;
  grid-template-rows: 60% 40%;
  min-height: 0;
  background: #fff;
}

.split-text {
  align-self: center;
  max-width: 580px;
  padding-left: 15%;
  padding-right: 10%;
  opacity: 0;
  transform: translateY(100%);
}

.reverse .split-text {
  padding-left: 13%;
}

.split-text h2 {
  margin: 0;
  color: #111;
  font-size: 46px;
  line-height: 1.22;
  font-weight: 900;
}

.split-text > p:last-child {
  margin: 22px 0 0;
  color: #777;
  font-size: 20px;
  line-height: 1.85;
}

.blue-text {
  color: var(--blue);
}

.green-text {
  color: var(--green);
}

.amber-text {
  color: #a77f22;
}

.bottom-image {
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(100%);
}

.operations-card {
  display: grid;
  align-content: center;
  padding-left: 15%;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(30, 91, 255, 0.92), rgba(3, 28, 82, 0.92)),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.14) 0 1px, transparent 1px 64px),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.08) 0 1px, transparent 1px 64px),
    #06143d;
}

.operations-card span,
.operations-card strong {
  display: block;
}

.operations-card span {
  font-size: 18px;
  text-transform: uppercase;
}

.operations-card strong {
  margin-top: 18px;
  font-size: 28px;
}

.data-board {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: stretch;
  color: #fff;
  background: #111;
}

.data-board div {
  display: grid;
  align-content: center;
  justify-items: center;
  border-left: 1px solid rgba(255, 255, 255, 0.15);
}

.data-board span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 16px;
}

.data-board b {
  margin-top: 16px;
  color: var(--green);
  font-size: 46px;
}

.scenario-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  opacity: 0;
  transform: translateY(100%);
}

.scenario-grid span {
  display: grid;
  place-items: center;
  color: #fff;
  background: #202020;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 30px;
  font-weight: 900;
}

.panel.is-active .split-media {
  animation: leftBg 1200ms ease forwards;
}

.panel.is-active .letter-layer {
  animation: fadeLayer 820ms ease forwards 850ms;
}

.panel.is-active .color-block {
  animation: leftColor 780ms ease forwards 1450ms;
}

.panel.reverse.is-active .color-block {
  animation-name: rightColor;
}

.panel.is-active .split-text {
  animation: rightText 1250ms ease forwards 720ms;
}

.panel.is-active .bottom-image,
.panel.is-active .scenario-grid {
  animation: rightImage 820ms ease forwards 1450ms;
}

.banner-panel {
  display: grid;
  place-items: center;
  background: #050605;
}

.banner-image {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(18%);
}

.banner-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.58) saturate(0.96);
}

.banner-copy {
  position: relative;
  z-index: 2;
  max-width: 860px;
  text-align: center;
  color: #fff;
  opacity: 0;
  transform: translateY(80px);
}

.banner-copy h2 {
  margin: 0;
  font-size: 80px;
  line-height: 1.05;
  font-weight: 900;
}

.banner-copy p:last-child {
  margin: 28px auto 0;
  max-width: 680px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 21px;
  line-height: 1.9;
}

.banner-panel.is-active .banner-image {
  animation: slideInUp 900ms ease forwards;
}

.banner-panel.is-active .banner-copy {
  animation: riseText 860ms ease forwards 420ms;
}

.about-panel {
  display: grid;
  place-items: center;
  padding-top: var(--header);
  background:
    linear-gradient(90deg, rgba(105, 180, 45, 0.08) 1px, transparent 1px),
    #fff;
  background-size: 120px 100%;
}

.about-inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 38px 54px;
  align-items: center;
  width: min(1180px, calc(100% - 80px));
  opacity: 0;
  transform: translateY(80px);
}

.about-copy-block {
  min-width: 0;
}

.about-photo {
  position: relative;
  min-height: 340px;
  overflow: hidden;
  border-radius: 8px;
}

.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.96) contrast(1.04);
}

.about-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(105, 180, 45, 0.2), transparent 58%);
}

.about-panel.is-active .about-inner {
  animation: riseText 900ms ease forwards 360ms;
}

.about-copy-block h2 {
  margin: 0;
  font-size: 72px;
  line-height: 1.1;
  font-weight: 900;
}

.about-copy-block > p {
  max-width: 860px;
  margin: 28px 0 0;
  color: #666;
  font-size: 22px;
  line-height: 1.9;
}

.about-list {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 58px;
}

.about-list article {
  min-height: 220px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.about-list span {
  color: var(--green);
  font-weight: 900;
}

.about-list strong {
  display: block;
  margin-top: 34px;
  color: #111;
  font-size: 28px;
}

.about-list p {
  margin: 16px 0 0;
  color: #777;
  line-height: 1.8;
}

.contact-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  background: #050605;
  color: #fff;
}

.contact-visual {
  position: relative;
  width: 100%;
  height: 100%;
  background:
    linear-gradient(135deg, rgba(105, 180, 45, 0.18), transparent),
    url("assets/contact-consulting.png") center / cover;
  filter: brightness(0.72);
  opacity: 0;
}

.contact-visual span {
  position: absolute;
  left: 12%;
  width: 64%;
  height: 1px;
  background: linear-gradient(90deg, transparent, #fff, transparent);
  animation: scan 3.8s ease-in-out infinite;
}

.contact-visual span:nth-child(1) {
  top: 30%;
}

.contact-visual span:nth-child(2) {
  top: 52%;
  animation-delay: 700ms;
}

.contact-visual span:nth-child(3) {
  top: 74%;
  animation-delay: 1400ms;
}

.contact-copy {
  max-width: 620px;
  padding: 0 10%;
  opacity: 0;
  transform: translateY(80px);
}

.contact-copy h2 {
  margin: 0;
  font-size: 60px;
  line-height: 1.16;
  font-weight: 900;
}

.contact-copy p:last-of-type {
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 20px;
  line-height: 1.9;
}

.contact-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  margin-top: 42px;
  padding: 0 28px;
  border-radius: 8px;
  color: #111;
  background: #fff;
  font-weight: 900;
}

.contact-panel.is-active .contact-visual {
  animation: leftBg 900ms ease forwards;
}

.contact-panel.is-active .contact-copy {
  animation: riseText 900ms ease forwards 520ms;
}

.side-pagination {
  position: fixed;
  right: 28px;
  top: 50%;
  z-index: 50;
  display: grid;
  gap: 10px;
  transform: translateY(-50%);
}

.side-pagination button {
  width: 42px;
  height: 28px;
  border: 0;
  border-radius: 0;
  color: rgba(255, 255, 255, 0.58);
  background: rgba(0, 0, 0, 0.18);
  font-size: 12px;
  font-weight: 900;
}

body.light-panel .side-pagination button {
  color: rgba(0, 0, 0, 0.44);
  background: rgba(0, 0, 0, 0.06);
}

.side-pagination button.is-current {
  color: #fff;
  background: var(--green);
}

.scroll-hint {
  position: fixed;
  left: 38px;
  bottom: 34px;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
  font-weight: 900;
}

body.light-panel .scroll-hint {
  color: rgba(0, 0, 0, 0.5);
}

.scroll-hint span {
  width: 54px;
  height: 1px;
  background: currentColor;
  animation: hintLine 1.8s ease-in-out infinite;
}

@keyframes heartZoom {
  0% {
    opacity: 0.8;
    transform: translate(-50%, -50%) scale(0.2);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(5.2);
  }
}

@keyframes riseText {
  0% {
    opacity: 0;
    transform: translateY(80px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes leftBg {
  0% {
    width: 100%;
    opacity: 0;
  }
  100% {
    width: 100%;
    opacity: 1;
  }
}

@keyframes fadeLayer {
  0% {
    opacity: 0;
    transform: translateY(24px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes leftColor {
  0% {
    opacity: 0.74;
    transform: translateX(-100%);
  }
  100% {
    opacity: 0.74;
    transform: translateX(0);
  }
}

@keyframes rightColor {
  0% {
    opacity: 0.74;
    transform: translateX(100%);
  }
  100% {
    opacity: 0.74;
    transform: translateX(0);
  }
}

@keyframes rightText {
  0% {
    opacity: 0;
    transform: translateY(100%);
  }
  55% {
    opacity: 1;
    transform: translateY(38%);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes rightImage {
  0% {
    opacity: 0;
    transform: translateY(100%);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInUp {
  0% {
    opacity: 0;
    transform: translateY(18%);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scan {
  0%, 100% {
    opacity: 0.25;
    transform: translateX(-10%);
  }
  50% {
    opacity: 0.85;
    transform: translateX(16%);
  }
}

@keyframes hintLine {
  0%, 100% {
    transform: scaleX(0.55);
    transform-origin: left;
  }
  50% {
    transform: scaleX(1);
    transform-origin: left;
  }
}

@media (max-width: 1260px) {
  .site-header {
    grid-template-columns: 1fr 150px 1fr;
    padding: 0 24px;
  }

  .nav-cluster {
    gap: 24px;
    font-size: 15px;
  }

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

  .hero-copy h1 {
    font-size: 58px;
  }

  .split-text h2 {
    font-size: 38px;
  }
}

@media (max-width: 920px) {
  :root {
    --header: 74px;
  }

  html,
  body {
    overflow: auto;
  }

  body {
    background: #fff;
  }

  .site-header,
  .site-header.is-compact {
    grid-template-columns: 1fr auto;
    height: 74px;
    padding: 0 20px;
  }

  .nav-cluster {
    display: none;
  }

  .brand {
    justify-self: start;
    width: auto;
    height: auto;
  }

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

  .brand span {
    font-size: 10px;
  }

  .menu-button {
    display: block;
  }

  .stage {
    height: auto;
    overflow: visible;
  }

  .panel,
  .panel.is-active,
  .panel.is-before {
    position: relative;
    min-height: 100svh;
    height: auto;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .hero-panel {
    min-height: 760px;
  }

  .hero-copy {
    left: 24px;
    right: 24px;
    bottom: 92px;
    max-width: none;
    opacity: 1;
    transform: none;
    animation: none !important;
  }

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

  .hero-copy > p:last-child {
    font-size: 17px;
  }

  .split-panel,
  .split-panel.reverse {
    display: grid;
    grid-template-columns: 1fr;
    padding-top: 74px;
  }

  .split-panel.reverse .split-media,
  .split-panel.reverse .split-content {
    grid-column: auto;
    grid-row: auto;
  }

  .split-media {
    height: 44svh;
    min-height: 320px;
    opacity: 1;
  }

  .letter-layer {
    font-size: 70px;
    opacity: 1;
  }

  .color-block,
  .reverse .color-block {
    transform: none;
  }

  .split-content {
    grid-template-rows: auto auto;
  }

  .split-text {
    padding: 48px 24px;
    opacity: 1;
    transform: none;
  }

  .split-text h2 {
    font-size: 32px;
  }

  .split-text > p:last-child {
    font-size: 17px;
  }

  .bottom-image,
  .scenario-grid {
    min-height: 230px;
    opacity: 1;
    transform: none;
  }

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

  .banner-panel {
    min-height: 620px;
  }

  .banner-copy {
    padding: 0 24px;
    opacity: 1;
    transform: none;
  }

  .banner-copy h2 {
    font-size: 48px;
  }

  .about-panel {
    padding: 120px 0 60px;
  }

  .about-inner {
    width: calc(100% - 48px);
    opacity: 1;
    transform: none;
  }

  .about-inner {
    grid-template-columns: 1fr;
  }

  .about-photo {
    min-height: 260px;
  }

  .about-copy-block h2 {
    font-size: 42px;
  }

  .about-copy-block > p {
    font-size: 17px;
  }

  .about-list {
    grid-template-columns: 1fr;
  }

  .contact-panel {
    grid-template-columns: 1fr;
    padding-top: 74px;
  }

  .contact-visual {
    min-height: 330px;
    opacity: 1;
  }

  .contact-copy {
    padding: 48px 24px 70px;
    opacity: 1;
    transform: none;
  }

  .contact-copy h2 {
    font-size: 38px;
  }

  .side-pagination,
  .scroll-hint {
    display: none;
  }
}

@media (max-width: 560px) {
  .mobile-menu {
    left: 18px;
    right: 18px;
  }

  .hero-panel {
    min-height: 700px;
  }

  .hero-copy h1 {
    font-size: 34px;
  }

  .hero-copy > p:last-child {
    font-size: 16px;
  }

  .split-text h2,
  .contact-copy h2 {
    font-size: 30px;
  }

  .banner-copy h2 {
    font-size: 38px;
  }

  .operations-card {
    padding: 28px;
  }

  .operations-card strong {
    font-size: 22px;
  }

  .data-board b {
    font-size: 32px;
  }
}

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