@font-face {
  font-family: "Artify Sans";
  src: url("./assets/fonts/Roboto-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Artify Sans";
  src: url("./assets/fonts/Roboto-Medium.ttf") format("truetype");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Artify Sans";
  src: url("./assets/fonts/Roboto-Bold.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Material Icons";
  src: url("./assets/fonts/MaterialIcons-Regular.otf") format("opentype");
  font-style: normal;
  font-weight: 400;
  font-display: block;
}

:root {
  --white: #ffffff;
  --mint-25: #fbfefd;
  --mint-50: #f4fbf7;
  --mint-100: #e9f7ef;
  --green: #159451;
  --green-bright: #21ad62;
  --green-dark: #0c6f3c;
  --ink: #102029;
  --muted: #647078;
  --line: #e2ebe6;
  --blue: #5c9ee8;
  --max-width: 1440px;
  --page-pad: 72px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Artify Sans", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { text-wrap: pretty; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.page-shell { width: min(100%, var(--max-width)); margin-inline: auto; padding-inline: var(--page-pad); }

.material-icon {
  font-family: "Material Icons";
  font-weight: normal;
  font-style: normal;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-feature-settings: "liga";
  -webkit-font-smoothing: antialiased;
}

.site-header {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto;
  height: 88px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding-inline: max(var(--page-pad), calc((100vw - var(--max-width)) / 2 + var(--page-pad)));
  border-bottom: 1px solid transparent;
  transition: height 240ms ease, background 240ms ease, border-color 240ms ease;
}
.site-header.scrolled { height: 70px; background: rgba(255, 255, 255, 0.88); border-color: var(--line); backdrop-filter: blur(18px); }
.wordmark { justify-self: start; font-size: 23px; font-weight: 700; letter-spacing: -0.04em; }
.site-nav { display: flex; gap: 58px; align-items: center; font-size: 13px; }
.site-nav a { position: relative; padding: 10px 0; }
.site-nav a::after { content: ""; position: absolute; inset: auto 0 3px; height: 1px; background: var(--green); transform: scaleX(0); transform-origin: right; transition: transform 200ms ease; }
.site-nav a:hover::after, .site-nav a:focus-visible::after { transform: scaleX(1); transform-origin: left; }
.language-switch { justify-self: end; display: flex; gap: 10px; align-items: center; font-size: 12px; }
.language-switch button { position: relative; padding: 8px 2px; border: 0; color: var(--muted); background: transparent; cursor: pointer; }
.language-switch button[aria-pressed="true"] { color: var(--green-dark); font-weight: 700; }
.language-switch button[aria-pressed="true"]::after { content: ""; position: absolute; inset: auto 0 2px; height: 2px; background: var(--green-bright); }
.menu-button { display: none; }

.hero { position: relative; min-height: 870px; display: flex; align-items: center; padding-top: 110px; overflow: hidden; }
.hero-copy { position: relative; z-index: 2; width: 43%; padding-bottom: 22px; }
.hero h1 { margin: 0; font-size: clamp(70px, 6.3vw, 104px); line-height: 0.94; letter-spacing: -0.066em; font-weight: 700; }
.hero-copy p { max-width: 445px; margin: 38px 0 43px; color: var(--muted); font-size: 15px; line-height: 1.8; }
.primary-button { min-width: 236px; min-height: 58px; display: inline-flex; align-items: center; justify-content: center; padding: 0 28px; border-radius: 7px; color: #fff; background: var(--green); box-shadow: 0 12px 30px rgba(18, 147, 80, 0.16); font-size: 13px; font-weight: 500; transition: transform 220ms ease, background 220ms ease, box-shadow 220ms ease; }
.primary-button:hover, .primary-button:focus-visible { background: var(--green-dark); transform: translateY(-3px); box-shadow: 0 17px 34px rgba(18, 147, 80, 0.22); }
.primary-button.compact { min-width: 116px; min-height: 48px; }
.hero-visual { position: absolute; z-index: 0; top: 88px; bottom: 0; left: calc(50% - 50vw); width: calc(100vw + 96px); pointer-events: none; background: var(--white); }
.hero-visual img { width: 100%; height: 100%; object-fit: cover; object-position: center; filter: saturate(0.92); }
html[lang="zh-CN"] .hero h1 { font-size: clamp(64px, 5.6vw, 88px); white-space: nowrap; }
.motion-stage { will-change: transform; }

.about { position: relative; min-height: 610px; display: flex; align-items: center; padding-top: 66px; padding-bottom: 66px; background: var(--mint-50); box-shadow: 0 0 0 100vmax var(--mint-50); clip-path: inset(0 -100vmax); overflow: hidden; }
.kicker { margin: 0 0 28px; color: var(--green-dark); font-size: 10px; font-weight: 700; letter-spacing: 0.19em; }
.about h2, .directions h2, .philosophy h2 { margin: 0; font-size: clamp(42px, 4vw, 62px); line-height: 1.07; letter-spacing: -0.055em; }
.about-copy { position: relative; z-index: 2; width: 43%; }
.about-copy > p:not(.kicker) { max-width: 460px; margin: 30px 0 0; color: var(--muted); font-size: 14px; line-height: 1.82; }
.text-link { display: inline-flex; gap: 20px; align-items: center; margin-top: 49px; color: var(--green-dark); font-size: 13px; border-bottom: 1px solid currentColor; padding-bottom: 4px; }
.text-link span:last-child { border-bottom: 0; font-size: 19px; transition: transform 180ms ease; }
.text-link:hover span:last-child { transform: translateX(5px); }
.about-visual { position: absolute; z-index: 0; top: 0; bottom: 0; left: calc(50% - 50vw); width: calc(100vw + 96px); background: var(--mint-50); }
.about-visual img { width: 100%; height: 100%; object-fit: cover; object-position: center; border-radius: 0; }

.directions { padding-top: 112px; padding-bottom: 118px; }
.directions-heading { display: block; margin-bottom: 64px; }
.directions-heading h2 { white-space: nowrap; }
.directions-heading > p { max-width: 620px; margin: 24px 0 0; color: var(--muted); font-size: 14px; line-height: 1.75; }
.direction-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.direction-card { overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: var(--white); transition: transform 260ms ease, box-shadow 260ms ease, border-color 260ms ease; }
.direction-card:hover { transform: translateY(-8px); border-color: #cfe5d8; box-shadow: 0 24px 60px rgba(17, 82, 48, 0.10); }
.card-media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--mint-50); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms cubic-bezier(.2,.75,.25,1); }
.direction-card:hover .card-media img { transform: scale(1.045) rotate(-0.8deg); }
.card-copy { min-height: 166px; padding: 28px 26px 31px; }
.card-copy h3 { margin: 0; font-size: 20px; line-height: 1.25; letter-spacing: -0.035em; }
.card-copy p { margin: 18px 0 0; color: var(--muted); font-size: 13px; line-height: 1.7; }

.philosophy { position: relative; overflow: hidden; background: var(--mint-50); }
.philosophy-inner { min-height: 520px; display: grid; grid-template-columns: 0.9fr 1.1fr; align-items: center; gap: 76px; padding-top: 72px; padding-bottom: 72px; }
.philosophy-intro { position: relative; z-index: 1; padding-right: 55px; border-right: 1px solid var(--line); }
.philosophy-intro > p:not(.kicker) { max-width: 460px; margin: 28px 0 0; color: var(--muted); font-size: 14px; line-height: 1.8; }
.value-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px 52px; }
.value-item { display: grid; grid-template-columns: 40px 1fr; gap: 17px; }
.value-mark { color: var(--green); font-size: 30px; }
.value-item h3 { margin: 2px 0 10px; color: var(--green-dark); font-size: 16px; font-weight: 500; }
.value-item p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.7; }

.site-footer { min-height: 92px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
.site-footer .wordmark { font-size: 17px; }
.site-footer p { margin: 0; color: var(--muted); font-size: 11px; }
.site-footer p:last-child { justify-self: end; }
.footer-email { color: var(--green-dark); font-size: 12px; border-bottom: 1px solid currentColor; padding-bottom: 4px; }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity 760ms ease, transform 760ms cubic-bezier(.2,.75,.25,1); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.direction-card:nth-child(2) { transition-delay: 90ms; }
.direction-card:nth-child(3) { transition-delay: 180ms; }
.value-item:nth-child(2), .value-item:nth-child(4) { transition-delay: 90ms; }

@media (min-width: 1441px) {
  .hero-visual img,
  .about-visual img {
    position: absolute;
    top: 0;
    right: calc((100vw - var(--max-width)) / 2 + 96px);
    bottom: 0;
    left: auto;
    width: auto;
    max-width: none;
    height: 100%;
    margin: 0;
    object-fit: contain;
    object-position: right center;
  }
}

@media (max-width: 1050px) {
  :root { --page-pad: 34px; }
  .site-header { height: 74px; grid-template-columns: 1fr auto auto; gap: 20px; }
  .menu-button { z-index: 3; grid-column: 3; grid-row: 1; display: block; width: 38px; height: 38px; padding: 8px 6px; border: 0; background: transparent; cursor: pointer; }
  .menu-button span:not(.sr-only) { display: block; width: 25px; height: 1px; margin: 7px 0; background: var(--ink); transition: transform 220ms ease; }
  .menu-button[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-button[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }
  .site-nav { position: fixed; inset: 0; z-index: 2; flex-direction: column; justify-content: center; gap: 28px; background: rgba(255,255,255,.98); font-size: 28px; transform: translateY(-100%); transition: transform 330ms ease; }
  .site-nav.open { transform: translateY(0); }
  .language-switch { z-index: 3; grid-column: 2; grid-row: 1; }
  .hero { min-height: 760px; }
  .hero-copy { width: 47%; }
  .hero-visual { top: 74px; right: -90px; bottom: 0; left: -20px; width: auto; }
  .about-copy { width: 47%; }
  .direction-grid { gap: 16px; }
  .card-copy { min-height: 185px; padding-inline: 21px; }
  .philosophy-inner { gap: 40px; }
  .value-grid { gap: 34px 25px; }
}

@media (max-width: 760px) {
  :root { --page-pad: 20px; }
  .wordmark { font-size: 18px; }
  .language-switch { gap: 6px; font-size: 11px; }
  .hero { min-height: 660px; align-items: center; padding-top: 108px; padding-bottom: 70px; }
  .hero-copy { width: 78%; }
  .hero h1 { font-size: clamp(60px, 17vw, 82px); }
  html[lang="zh-CN"] .hero h1 { font-size: clamp(50px, 13vw, 64px); }
  .hero-copy p { margin: 28px 0 31px; font-size: 14px; }
  .hero-visual { top: 72px; right: -52%; bottom: 0; left: 38%; width: auto; opacity: 0.62; }
  .hero-visual img { object-position: 62% center; }
  .primary-button { min-width: 220px; }
  .about { min-height: 640px; align-items: center; padding-top: 72px; padding-bottom: 72px; }
  .about-copy { width: 82%; }
  .about h2, .directions h2, .philosophy h2 { font-size: 43px; }
  .about-visual { top: 0; right: -48%; bottom: 0; left: 42%; width: auto; height: auto; opacity: 0.38; }
  .about-visual img { object-position: 64% center; }
  .directions { padding-top: 82px; padding-bottom: 84px; }
  .directions-heading { margin-bottom: 46px; }
  .directions-heading h2 { white-space: normal; }
  .direction-grid { grid-template-columns: 1fr; gap: 24px; }
  .card-copy { min-height: 0; }
  .philosophy-inner { grid-template-columns: 1fr; gap: 60px; padding-top: 80px; padding-bottom: 82px; }
  .philosophy-intro { padding-right: 0; padding-bottom: 55px; border-right: 0; border-bottom: 1px solid var(--line); }
  .value-grid { grid-template-columns: 1fr; gap: 36px; }
  .site-footer { grid-template-columns: 1fr; gap: 18px; padding-top: 32px; padding-bottom: 32px; }
  .site-footer p:last-child { justify-self: start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .motion-stage { transform: none !important; }
}
