@font-face {
  font-family: "Huatai Display";
  src: url("assets/fonts/smiley-sans-display.woff2") format("woff2");
  font-display: swap;
  font-weight: 400 800;
}

:root {
  --paper: #f4f0e7;
  --paper-bright: #fbfaf6;
  --paper-deep: #e7e0d2;
  --ink: #17211e;
  --ink-soft: #4f5d58;
  --green: #173f35;
  --green-dark: #0f2f27;
  --green-soft: #dce7df;
  --copper: #9a5738;
  --line: rgba(23, 33, 30, .18);
  --shadow: 0 18px 50px rgba(23, 33, 30, .14);
  --gutter: clamp(22px, 4.4vw, 72px);
  --display: "Huatai Display", "Microsoft YaHei", sans-serif;
  --body: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--paper); }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.75;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img { display: block; width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .26em; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
::selection { background: var(--green); color: var(--paper-bright); }
:focus-visible { outline: 3px solid #ba6f49; outline-offset: 4px; }

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 120;
  transform: translateY(-160%);
  padding: 10px 16px;
  background: var(--ink);
  color: white;
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  min-height: 78px;
  display: grid;
  grid-template-columns: minmax(300px, 1fr) auto auto;
  align-items: center;
  gap: 34px;
  padding: 0 var(--gutter);
  background: rgba(244, 240, 231, .94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px) saturate(120%);
}
.brand { min-height: 44px; display: inline-flex; align-items: center; gap: 12px; text-decoration: none; width: fit-content; }
.brand-mark { width: 42px; height: 36px; fill: var(--green); overflow: visible; }
.brand-mark path:last-child { fill: var(--copper); }
.brand-name { font-family: var(--display); font-size: 20px; letter-spacing: .01em; }
.desktop-nav { display: flex; gap: clamp(20px, 2.7vw, 46px); align-items: center; }
.desktop-nav a { position: relative; padding: 25px 0 21px; text-decoration: none; font-size: 14px; color: var(--ink-soft); }
.desktop-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 17px; height: 1px; background: var(--green); transition: right .25s ease; }
.desktop-nav a:hover::after, .desktop-nav a:focus-visible::after { right: 0; }
.header-action {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  color: #fff;
  background: var(--green);
  text-decoration: none;
  border-radius: 8px 8px 22px 8px;
}
.header-action:hover { background: var(--green-dark); }
.menu-toggle { display: none; }

.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: none;
  padding: 22px;
  color: var(--paper-bright);
  background: var(--green-dark);
}
.mobile-nav.is-open { display: flex; flex-direction: column; }
.mobile-nav-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 28px; border-bottom: 1px solid rgba(255,255,255,.18); }
.menu-close {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: white;
  background: transparent;
  border: 1px solid rgba(255,255,255,.42);
  border-radius: 50%;
}
.menu-close svg { width: 24px; stroke: currentColor; stroke-width: 1.5; fill: none; }
.mobile-nav nav { display: grid; margin-top: 28px; }
.mobile-nav nav a { min-height: 66px; display: flex; align-items: center; font-family: var(--display); font-size: clamp(30px, 8vw, 48px); text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.18); }
.mobile-nav > p { margin-top: auto; color: rgba(255,255,255,.64); letter-spacing: .08em; }

main { overflow: hidden; }
.hero {
  position: relative;
  min-height: min(790px, calc(100vh - 78px));
  display: grid;
  grid-template-columns: minmax(390px, .9fr) minmax(520px, 1.35fr);
  align-items: stretch;
  padding: 0 var(--gutter) 92px;
  isolation: isolate;
}
.hero-copy { align-self: center; position: relative; z-index: 3; max-width: 650px; padding: 72px 0 48px; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--display); font-weight: 650; letter-spacing: -.02em; }
h1 { margin-bottom: 28px; font-size: clamp(56px, 6.25vw, 96px); line-height: .99; text-wrap: balance; }
.hero-note { max-width: 570px; margin-bottom: 32px; color: var(--ink-soft); font-size: clamp(17px, 1.35vw, 21px); line-height: 1.75; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--green);
  border-radius: 7px 7px 23px 7px;
  padding: 0 24px;
  cursor: pointer;
  text-decoration: none;
  font-weight: 700;
  transition: transform .22s ease, background-color .22s ease, color .22s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { color: #fff; background: var(--green); }
.button-primary:hover { background: var(--green-dark); }
.button-secondary { color: var(--green-dark); background: transparent; }
.button-secondary:hover { color: #fff; background: var(--green); }
.button:disabled { cursor: not-allowed; opacity: .55; transform: none; }
.hero-meta { margin: 44px 0 0; color: var(--copper); font-size: 13px; font-weight: 700; letter-spacing: .12em; }
.hero-visual { position: relative; z-index: 1; min-width: 0; margin: 0 calc(var(--gutter) * -1) 0 -40px; overflow: hidden; }
.hero-visual picture, .hero-visual img { height: 100%; }
.hero-visual img { object-fit: cover; object-position: 62% center; filter: saturate(.88) contrast(1.02); }
.hero-visual figcaption { position: absolute; z-index: 2; right: var(--gutter); bottom: 34px; max-width: 300px; color: var(--paper-bright); background: rgba(23,63,53,.92); padding: 14px 18px; font-size: 13px; line-height: 1.55; border-radius: 5px 5px 20px 5px; }
.hero-arc { position: absolute; z-index: 2; left: 0; right: 0; bottom: 8px; width: 100%; height: 220px; pointer-events: none; }
.hero-arc path { fill: none; stroke: rgba(23,63,53,.82); stroke-width: 2; vector-effect: non-scaling-stroke; }
.is-ready .hero-arc path { stroke-dasharray: 1900; stroke-dashoffset: 1900; animation: draw-arc 1.4s cubic-bezier(.16,1,.3,1) .1s forwards; }
@keyframes draw-arc { to { stroke-dashoffset: 0; } }

.route { position: relative; z-index: 4; margin-top: -80px; padding: 0 var(--gutter) 82px; }
.route-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: 0; padding: 0; list-style: none; }
.route-list li { position: relative; min-height: 118px; padding: 30px clamp(18px,2.4vw,42px) 20px; border-top: 1px solid var(--green); }
.route-list li + li { border-left: 1px solid var(--line); }
.route-dot { position: absolute; top: -7px; left: clamp(18px,2.4vw,42px); width: 13px; height: 13px; background: var(--paper); border: 3px solid var(--green); border-radius: 50%; box-shadow: 0 0 0 5px var(--paper); }
.route-list strong, .route-list span:last-child { display: block; }
.route-list strong { font-family: var(--display); font-size: 20px; }
.route-list span:last-child { color: var(--ink-soft); font-size: 13px; }

.intro { min-height: 430px; display: grid; grid-template-columns: 1fr minmax(180px, 290px); gap: 8vw; align-items: end; padding: 100px var(--gutter); color: var(--paper-bright); background: var(--green-dark); }
.section-heading { max-width: 1020px; }
.section-heading h2 { max-width: 980px; margin-bottom: 34px; font-size: clamp(42px, 5.4vw, 82px); line-height: 1.05; }
.section-heading p { max-width: 700px; margin-bottom: 0; color: rgba(255,255,255,.72); font-size: 18px; }
.section-meta { justify-self: end; margin-bottom: 8px; color: #c98a67; letter-spacing: .14em; font-weight: 700; }

.material-stream { background: var(--paper-bright); }
.stream-heading { display: flex; align-items: end; justify-content: space-between; gap: 32px; padding: 112px var(--gutter) 54px; border-bottom: 1px solid var(--line); }
.stream-heading h2 { margin-bottom: 0; font-size: clamp(48px, 6vw, 88px); line-height: 1; }
.stream-heading p { max-width: 520px; margin-bottom: 6px; color: var(--ink-soft); }
.stream-row { display: grid; grid-template-columns: 1.1fr .9fr; min-height: 470px; border-bottom: 1px solid var(--line); }
.stream-row > figure { min-width: 0; margin: 0; overflow: hidden; }
.stream-row > figure picture, .stream-row > figure img { height: 100%; }
.stream-row > figure img { object-fit: cover; transition: transform .7s cubic-bezier(.16,1,.3,1); }
.stream-row:hover figure img { transform: scale(1.025); }
.stream-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(54px, 7vw, 112px) var(--gutter); background: var(--paper); }
.stream-copy h3 { margin-bottom: 10px; font-size: clamp(36px, 4vw, 64px); line-height: 1.06; }
.stream-code { order: 3; margin: 34px 0 0; color: var(--copper); font-size: 13px; font-weight: 700; letter-spacing: .08em; }
.stream-copy > p:last-child { max-width: 540px; margin-bottom: 0; color: var(--ink-soft); font-size: 17px; }
.stream-row-image-first { grid-template-columns: .95fr 1.05fr; }

.manufacturing { display: grid; grid-template-columns: .82fr 1.18fr; min-height: 760px; background: var(--paper-deep); }
.manufacturing-copy { align-self: center; padding: 110px var(--gutter); }
.manufacturing-copy h2 { margin-bottom: 22px; font-size: clamp(46px, 5.2vw, 78px); line-height: 1.05; }
.manufacturing-meta, .project-meta, .green-meta { color: var(--copper); font-size: 13px; font-weight: 700; letter-spacing: .12em; }
.manufacturing-copy > p:not(.manufacturing-meta) { max-width: 600px; color: var(--ink-soft); font-size: 17px; }
.fact-lines { margin: 52px 0 0; border-top: 1px solid var(--line); }
.fact-lines div { display: grid; grid-template-columns: minmax(110px,.45fr) 1.55fr; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.fact-lines dt { color: var(--ink-soft); font-size: 13px; }
.fact-lines dd { margin: 0; font-weight: 700; }
.manufacturing-image { position: relative; margin: 0; overflow: hidden; }
.manufacturing-image picture, .manufacturing-image img { height: 100%; }
.manufacturing-image img { object-fit: cover; }
.manufacturing-image figcaption { position: absolute; left: 28px; right: 28px; bottom: 24px; padding: 14px 18px; color: white; background: rgba(15,47,39,.9); font-size: 13px; }

.project-band { display: grid; grid-template-columns: .95fr 1.05fr; min-height: 640px; color: var(--paper-bright); background: #32251f; }
.project-band figure { margin: 0; min-width: 0; overflow: hidden; }
.project-band picture, .project-band img { height: 100%; }
.project-band img { object-fit: cover; object-position: center; }
.project-copy { align-self: center; padding: 110px var(--gutter); }
.project-copy h2 { margin-bottom: 22px; font-size: clamp(44px, 5vw, 76px); line-height: 1.04; }
.project-copy p:not(.project-meta) { max-width: 650px; color: rgba(255,255,255,.72); }
.project-copy a { min-height: 44px; display: inline-flex; align-items: center; margin-top: 22px; padding: 8px 0; color: #e8a882; font-weight: 700; }
.project-copy a:hover { color: #ffd2b7; }

.green { display: grid; grid-template-columns: 1fr minmax(460px, .9fr); min-height: 720px; align-items: stretch; background: var(--green); color: var(--paper-bright); }
.green-copy { align-self: center; padding: 110px var(--gutter); }
.green-copy h2 { margin-bottom: 22px; font-size: clamp(44px, 5vw, 76px); line-height: 1.05; }
.green-copy > p:not(.green-meta) { max-width: 700px; color: rgba(255,255,255,.72); }
.green ul { margin: 42px 0 0; padding: 0; list-style: none; border-top: 1px solid rgba(255,255,255,.22); }
.green li { padding: 15px 0; border-bottom: 1px solid rgba(255,255,255,.22); }
.green figure { margin: 0; min-width: 0; overflow: hidden; }
.green picture, .green img { height: 100%; }
.green img { object-fit: cover; }

.contact { position: relative; display: grid; grid-template-columns: minmax(260px,.45fr) minmax(600px,1fr); background: var(--paper-bright); }
.contact::before { content: ""; align-self: stretch; min-height: 100%; background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 520 900'%3E%3Cpath d='M-90 760C80 260 330 670 610 120' fill='none' stroke='%23f4f0e7' stroke-opacity='.7' stroke-width='2'/%3E%3Cpath d='M-80 800C120 350 310 720 620 170' fill='none' stroke='%23b8734d' stroke-opacity='.9' stroke-width='2'/%3E%3C/svg%3E") center/cover no-repeat; }
.contact-copy { padding: 110px var(--gutter); }
.contact-copy h2 { margin-bottom: 22px; font-size: clamp(46px, 5vw, 78px); line-height: 1.04; }
.contact-copy > p { max-width: 680px; color: var(--ink-soft); }
form { max-width: 850px; margin-top: 50px; }
.field-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
label { display: grid; gap: 8px; margin-bottom: 20px; color: var(--ink-soft); font-size: 13px; font-weight: 700; }
input, select, textarea { width: 100%; border: 0; border-bottom: 1px solid rgba(23,33,30,.42); border-radius: 0; padding: 12px 0; color: var(--ink); background: transparent; }
textarea { resize: vertical; min-height: 120px; border: 1px solid rgba(23,33,30,.32); padding: 14px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--copper); box-shadow: 0 2px 0 var(--copper); }
textarea:focus { box-shadow: 0 0 0 2px var(--copper); }
input:disabled, select:disabled, textarea:disabled { opacity: .58; }
.form-status, .form-noscript { min-height: 30px; margin: 20px 0 0; color: #7d3219; font-weight: 700; }

.site-footer { display: grid; grid-template-columns: 1.2fr .8fr 1fr; gap: 36px; align-items: start; padding: 72px var(--gutter) 26px; color: rgba(255,255,255,.72); background: #101a17; }
.footer-brand { display: flex; align-items: center; gap: 12px; color: #fff; }
.site-footer .brand-mark { fill: #e8e3da; }
.site-footer > p { margin: 6px 0 0; }
.site-footer nav { display: flex; justify-content: flex-end; gap: 22px; }
.site-footer nav a { min-height: 44px; display: inline-flex; align-items: center; padding: 8px 0; }
.site-footer nav a:hover { color: white; }
.footer-bottom { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 20px; margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.16); font-size: 13px; }

@media (max-width: 1100px) {
  .site-header { grid-template-columns: 1fr auto auto; gap: 18px; }
  .desktop-nav { display: none; }
  .menu-toggle { width: 48px; height: 48px; display: grid; place-content: center; gap: 7px; padding: 0; border: 1px solid var(--line); border-radius: 50%; color: var(--ink); background: transparent; }
  .menu-toggle span { width: 21px; height: 1px; background: currentColor; }
  .hero { grid-template-columns: minmax(350px,.85fr) minmax(400px,1.15fr); }
  .hero-visual { margin-left: -80px; }
  .contact { grid-template-columns: 220px 1fr; }
}

@media (max-width: 800px) {
  :root { --gutter: 22px; }
  .site-header { min-height: 70px; grid-template-columns: 1fr auto; }
  .brand-name { font-size: 17px; }
  .brand-mark { width: 34px; }
  .header-action { display: none; }
  .hero { min-height: auto; display: block; padding: 0 0 64px; }
  .hero-copy { padding: 62px var(--gutter) 42px; }
  h1 { font-size: clamp(52px, 15vw, 76px); line-height: 1.01; }
  .hero-note { max-width: 34rem; font-size: 17px; }
  .hero-actions { display: grid; grid-template-columns: 1fr; }
  .button { width: 100%; min-height: 52px; }
  .hero-meta { margin-top: 30px; }
  .hero-visual { min-height: 390px; margin: 0; }
  .hero-visual figcaption { right: 18px; left: 18px; bottom: 18px; max-width: none; }
  .hero-arc { bottom: 8px; height: 130px; }
  .route { margin-top: 0; padding: 0 var(--gutter) 64px; }
  .route-list { grid-template-columns: 1fr; }
  .route-list li { min-height: 92px; padding: 22px 0 20px 32px; border-top: 0; border-left: 1px solid var(--green); }
  .route-list li + li { border-left: 1px solid var(--green); }
  .route-dot { top: 26px; left: -7px; }
  .intro { min-height: auto; display: flex; flex-direction: column; align-items: flex-start; gap: 24px; padding: 78px var(--gutter); }
  .section-heading h2 { font-size: clamp(40px, 11.5vw, 58px); }
  .section-heading p { font-size: 16px; }
  .section-meta { order: 2; align-self: flex-start; }
  .stream-heading { display: block; padding: 78px var(--gutter) 38px; }
  .stream-heading h2 { margin-bottom: 22px; }
  .stream-row, .stream-row-image-first { display: flex; flex-direction: column; min-height: 0; }
  .stream-row-image-first figure { order: 2; }
  .stream-copy { order: 1; padding: 58px var(--gutter); }
  .stream-copy h3 { font-size: clamp(38px, 11vw, 54px); }
  .stream-copy > p:last-child { font-size: 16px; }
  .stream-row figure { height: 320px; }
  .manufacturing { display: flex; flex-direction: column; min-height: 0; }
  .manufacturing-copy { padding: 78px var(--gutter); }
  .manufacturing-image { height: 430px; }
  .fact-lines div { grid-template-columns: 1fr; gap: 3px; }
  .project-band { display: flex; flex-direction: column; min-height: 0; }
  .project-band figure { height: 390px; }
  .project-copy { padding: 78px var(--gutter); }
  .green { display: flex; flex-direction: column; min-height: 0; }
  .green-copy { padding: 78px var(--gutter); }
  .green figure { height: 430px; }
  .contact { display: block; }
  .contact::before { display: block; min-height: 180px; }
  .contact-copy { padding: 78px var(--gutter); }
  .field-pair { grid-template-columns: 1fr; gap: 0; }
  .site-footer { grid-template-columns: 1fr; padding-top: 58px; }
  .site-footer nav { justify-content: flex-start; flex-wrap: wrap; }
  .footer-bottom { display: grid; margin-top: 10px; }
}

@media (max-width: 390px) {
  .brand-name { max-width: 210px; font-size: 15px; }
  .hero-visual { min-height: 330px; }
  .stream-row figure { height: 280px; }
  .manufacturing-image, .project-band figure, .green figure { height: 340px; }
}

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