:root {
  color-scheme: light;
  --ink: #152523;
  --muted: #49605a;
  --border: #dce7e3;
  --paper: #fff;
  --accent: #086b60;
  --accent-hover: #074d46;
  --pale: #edf5f1;
  font-family: "Segoe UI Variable", "Segoe UI", "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
  background: var(--paper);
  color: var(--ink);
}
*, *::before, *::after { box-sizing: border-box }
html { scroll-padding-top: 94px; scroll-behavior: smooth }
body { margin: 0; line-height: 1.55 }
h1, h2, h3, h4, p { margin: 0 }
a { color: inherit; text-decoration: none }
img { display: block; max-width: 100% }
button, input { font: inherit }
button, summary { cursor: pointer }
[hidden] { display: none !important }
:focus-visible { outline: 3px solid #168775; outline-offset: 4px }
.frame { width: min(1240px, calc(100% - 104px)); margin-inline: auto }
.content-section { padding-block: clamp(58px, 7vw, 110px) }

.site-header { position: sticky; top: 0; z-index: 2; background: #fffffff3; backdrop-filter: blur(14px); border-bottom: 1px solid var(--border) }
.header-inner { display: flex; min-height: 74px; justify-content: space-between; align-items: center; gap: 20px }
.brand { display: inline-flex; align-items: center; gap: 11px; line-height: 1.15; flex-shrink: 0 }
.brand img { object-fit: contain; border-radius: 5px }
.brand > span { font-size: 1rem; font-weight: 780; letter-spacing: .12em }
.brand small { display: block; margin-top: 4px; color: var(--muted); font-size: .68rem; font-weight: 530; letter-spacing: 0 }
nav { display: flex; align-items: center; gap: clamp(13px, 1.45vw, 24px); font-size: .91rem; font-weight: 630 }
nav a { padding-block: 9px }
nav a:hover, .site-footer a:hover { color: var(--accent); text-decoration: underline; text-underline-offset: .25em }
nav .project-nav { color: var(--accent); font-weight: 745 }
nav .contact-nav { border: 1px solid var(--border); border-radius: 50px; padding-inline: 15px }
nav .contact-nav:hover { text-decoration: none; background: var(--pale) }
.languages { display: flex; align-items: center; gap: 2px }
.languages button { border: 0; border-radius: 6px; min-height: 34px; padding: 3px 7px; background: transparent; color: var(--muted); font-size: .78rem; white-space: nowrap }
.languages button.active, .languages button:hover { color: var(--accent-hover); background: var(--pale) }

.hero { background: #fff }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr); align-items: center; gap: clamp(33px, 5.5vw, 86px); padding-block: clamp(55px, 5.75vw, 94px) }
.eyebrow { color: var(--accent); font-weight: 750; font-size: .86rem; margin-bottom: 14px }
.hero h1, .project-copy h2 { white-space: pre-line }
h1 { font-size: clamp(2.5rem, 5.4vw, 4.75rem); font-weight: 765; line-height: 1.08; letter-spacing: -.045em }
:lang(zh) h1 { letter-spacing: -.055em }
:lang(en) h1, :lang(vi) h1, :lang(ko) h1 { font-size: clamp(2.3rem, 4vw, 3.95rem) }
h2 { font-size: clamp(1.9rem, 3.35vw, 3.15rem); font-weight: 745; line-height: 1.16; letter-spacing: -.037em }
.hero-summary { max-width: 32rem; margin-top: 23px; color: var(--muted); font-size: clamp(1.01rem, 1.42vw, 1.23rem); line-height: 1.73 }
.hero-visual { margin: 0 13px 13px 0; border-radius: 22px; background: var(--pale); box-shadow: 13px 13px 0 #e7f0ec }
.hero-image, .project-photo { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; background: #dce9e3 }
.hero-image { border-radius: inherit }
.actions { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 29px }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 12px; width: fit-content; min-height: 46px; padding: 9px 18px; border-radius: 50px; border: 1px solid transparent; font-weight: 690; line-height: 1.35; text-align: center }
.button.primary { color: #fff; background: var(--accent) }
.button.primary:hover { background: var(--accent-hover) }
.button.hero-secondary, .button.secondary { color: var(--accent-hover); border-color: #b0cec2; background: #fff }
.button.hero-secondary:hover, .button.secondary:hover { background: #e2f2ec }

.jump-band { background: #edf5f3; border-block: 1px solid var(--border) }
.jump-links { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: stretch; margin-block: 0; padding: 0; list-style: none }
.jump-links li { min-width: 0; position: relative; display: flex }
.jump-links li + li::before { content: ""; position: absolute; left: 0; top: 50%; width: 5px; height: 5px; background: #549887; transform: translate(-50%,-50%) rotate(45deg) }
.jump-links a { display: grid; place-items: center; width: 100%; min-height: 58px; padding: 8px 12px; color: var(--accent-hover); font-size: .85rem; font-weight: 695; text-align: center }
.jump-links a:hover { text-decoration: underline; text-underline-offset: .28em }

.section-heading { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); align-items: end; gap: 18px 44px; margin-bottom: clamp(25px, 3.4vw, 44px) }
.section-heading > p, .content-section > p { color: var(--muted); max-width: 39rem }
.platform-section .section-heading { display: block; max-width: 42rem }
.platform-section .section-heading::before, .questions-section h2::before, .contact-section h2::before { content: ""; display: block; width: 43px; height: 2px; margin-bottom: 19px; background: #58a699 }
.platform-section .section-heading p { margin-top: 13px }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 2.4vw, 28px) }
.feature-card { min-width: 0; overflow: hidden; background: #fff; border: 1px solid var(--border); border-radius: 17px }
.feature-card:hover { border-color: #8cb9aa; box-shadow: 0 10px 28px #21443913 }
.feature-photo { aspect-ratio: 1.57; background-color: #dce9e3; background-image: url('/platform-overview.webp?v=20261120-studio'); background-repeat: no-repeat; background-size: 300% auto }
.factory-photo { background-position: left 47% }
.tools-photo { background-position: center 46% }
.access-photo { background-position: right 49% }
.feature-copy { position: relative; padding: 23px 60px 29px 23px }
.feature-copy h3 { margin-bottom: 6px; font-size: clamp(1.12rem, 1.75vw, 1.45rem); line-height: 1.24 }
.feature-copy p, .project-process p, .solution-grid p, .roadmap-grid p, .download-grid p, .contact-band p { color: var(--muted) }
.card-arrow { position: absolute; top: 20px; right: 19px; display: grid; place-items: center; width: 31px; height: 31px; border-radius: 50%; color: var(--accent); background: var(--pale); font-size: 1.18rem }

.project-section { padding-block: clamp(48px, 7vw, 100px); background: #f4f8f6; border-block: 1px solid var(--border) }
.project-spotlight { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); align-items: center; gap: clamp(30px, 7vw, 103px) }
.project-photo { border-radius: 23px; aspect-ratio: 1.36 }
.project-topics { display: flex; flex-wrap: wrap; gap: 8px 15px; list-style: none; padding: 0; margin: 20px 0 0; color: var(--muted); font-size: .94rem }
.project-topics li { display: inline-flex; align-items: baseline; gap: 7px }
.project-topics li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: #378e7d; align-self: center; flex: none }
.project-copy .button { margin-top: 22px }
.preview-note { color: var(--muted); margin-top: 10px; font-size: .87rem }
.project-process { margin-top: clamp(39px, 6vw, 76px); border-top: 1px solid #c9dfd5; padding-top: clamp(24px, 3vw, 36px) }
.project-process h3 { font-size: clamp(1.25rem, 2vw, 1.65rem) }
.project-process ol { counter-reset: project-step; list-style: none; margin: 21px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(17px, 3.5vw, 48px) }
.project-process li { counter-increment: project-step; position: relative; padding-left: 45px; min-width: 0 }
.project-process li::before { content: counter(project-step); position: absolute; top: 0; left: 0; display: grid; place-items: center; width: 32px; height: 32px; color: var(--accent); border: 1px solid #c1dcd2; background: #f9fdfb; border-radius: 50%; font-weight: 710 }
.project-process p { margin-top: 5px; font-size: .93rem }

.software-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: clamp(25px, 6vw, 82px) }
.software-grid section { border-top: 2px solid #78b4a4; padding-top: 16px }
.software-grid h3 { font-size: 1.42rem; padding-bottom: 14px }
.software-grid article { min-width: 0; display: grid; grid-template-columns: 102px minmax(0, 1fr); align-items: baseline; column-gap: 13px; padding-block: 13px; border-top: 1px solid var(--border) }
.tool-label { color: var(--accent); font-size: .7rem; font-weight: 760; letter-spacing: .05em; overflow-wrap: anywhere }
.software-grid h4 { font-size: 1rem }
.software-grid p { grid-column: 2; color: var(--muted); margin-top: 4px; font-size: .9rem }

.solution-band { background: #f7faf9; border-block: 1px solid var(--border) }
.solution-band .content-section { padding-block: clamp(40px, 5vw, 72px) }
.solution-grid, .roadmap-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px }
.solution-grid article { border-top: 1px solid #aacec2; padding-top: 18px }
.solution-grid h3, .roadmap-grid h3 { font-size: 1.12rem; margin-bottom: 6px }
.solution-grid p, .roadmap-grid p { font-size: .92rem }
#roadmap { padding-block: 18px }
details { background: #fff; border: 1px solid var(--border); border-radius: 9px; padding: 13px 17px }
summary { font-weight: 690 }
details ol { margin-bottom: 0; color: var(--muted) }
.roadmap h2 { font-size: 1.4rem; margin-top: 18px }
.roadmap > p { margin-top: 8px; color: var(--muted) }
.roadmap-grid { margin-top: 18px }

.download-band { background: #f2f7f5; border-block: 1px solid var(--border) }
.download-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 2.1vw, 24px) }
.download-grid article { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: clamp(17px, 2.35vw, 31px); background: white; border: 1px solid var(--border); border-radius: 18px; min-width: 0 }
.download-grid h3 { font-size: 1.19rem }
.download-grid a { margin-top: auto }
.download-grid p { font-size: .93rem }
.download-qr { width: 67px; height: 67px; object-fit: contain }
.download-band details { margin-top: 20px; border-radius: 12px }

#mobile-download { padding-block: clamp(42px, 5vw, 75px) }
.mobile-scope { border-left: 3px solid #387d70; background: var(--pale); border-radius: 0 7px 7px 0; padding: 11px 14px; margin-bottom: 12px }
#mobile-download > p:not(.mobile-scope) { margin-bottom: 3px }
.company-entry-form { margin-top: 20px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px }
.company-entry-form input { width: min(100%, 280px); min-width: 0; border: 1px solid #8fae9f; border-radius: 7px; padding: 9px 12px; min-height: 46px; color: var(--ink); background: white }
.company-entry-form button { border: 1px solid transparent; border-radius: 7px; padding: 8px 15px; min-height: 46px; font-weight: 700; color: #fff; background: var(--accent) }
.company-entry-form button:disabled { opacity: .68; cursor: wait }
#mobile-download > a.primary { display: inline-flex; margin-top: 7px; background: var(--accent); color: white; padding: 8px 13px; border-radius: 6px }
#mobile-download > img { margin-top: 10px }

.questions-section { display: grid; grid-template-columns: minmax(0, .65fr) minmax(0, 1.35fr); gap: 26px 64px; padding-block: clamp(43px, 6vw, 82px); border-top: 1px solid var(--border) }
.question-list { border-top: 1px solid var(--border) }
.question-list details { padding: 0; border: 0; border-radius: 0; border-bottom: 1px solid var(--border) }
.question-list summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 54px; padding-block: 13px; list-style: none }
.question-list summary::-webkit-details-marker { display: none }
.question-list summary::after { content: ""; width: 8px; height: 8px; flex: none; margin-right: 4px; border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(45deg) }
.question-list details[open] summary::after { transform: rotate(225deg) }
.question-list p { color: var(--muted); padding: 0 24px 16px 0 }
.contact-band { background: #eaf4f0; border: 1px solid #d2e6df; border-radius: 24px; margin-block: 0 clamp(36px, 5vw, 66px) }
.contact-section { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .73fr); gap: 38px; align-items: center; padding: clamp(24px, 5vw, 66px) }
.contact-section h2 { margin-bottom: 13px }
.contact-section .button { margin-top: 18px }
.contact-box { display: flex; gap: 14px; justify-content: space-between; align-items: center; background: #fafffd; border: 1px solid #d0e6dd; padding: 19px; border-radius: 16px }
.contact-box p { margin-top: 5px }
.contact-qr { flex-shrink: 0 }
.contact-qr img { width: clamp(84px, 10vw, 110px); height: auto; border-radius: 4px }
.site-footer { background: #f8faf9; border-top: 1px solid var(--border); color: var(--muted); font-size: .84rem }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 9px 18px; padding-block: 22px }

.hero { position: relative; isolation: isolate; overflow: hidden }
.hero::before {
  content: ""; position: absolute; z-index: -1; inset: 0 0 0 42%; pointer-events: none;
  background-image: linear-gradient(#18675c0c 1px, transparent 1px), linear-gradient(90deg, #18675c0c 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to left, #000, transparent 94%);
}

@media (prefers-reduced-motion: no-preference) {
  .hero::before { animation: grid-arrive 1.25s ease-out both }
  .hero-copy { animation: appear 560ms cubic-bezier(.2,.68,.25,1) both }
  .hero-visual { animation: appear 720ms cubic-bezier(.2,.68,.25,1) 80ms both }
  .reveal-in-view { animation: appear 620ms cubic-bezier(.2,.68,.25,1) var(--reveal-delay, 0ms) both }
  .feature-card:nth-child(2), .project-copy { --reveal-delay: 85ms }
  .feature-card:nth-child(3) { --reveal-delay: 165ms }
  @keyframes appear {
    from { opacity: .55; translate: 0 1rem }
    to { opacity: 1; translate: 0 0 }
  }
  @keyframes grid-arrive {
    from { opacity: 0; background-position: 26px 16px }
    to { opacity: 1; background-position: 0 0 }
  }
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .feature-card { transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease }
  .feature-card:hover { transform: translateY(-4px) }
  .card-arrow, .project-copy .button > span:last-child { transition: transform 200ms ease }
  .feature-card:hover .card-arrow, .project-copy .button:hover > span:last-child { transform: translate(3px,-3px) }
}

@media (max-width: 1220px) {
  .brand small { display: none }
}
@media (max-width: 1000px) {
  .site-header { position: static }
  html { scroll-padding-top: 24px }
  .frame { width: calc(100% - 64px) }
  .header-inner { flex-wrap: wrap; gap: 6px; padding-block: 10px }
  nav { order: 3; width: 100%; flex-wrap: wrap; gap: 0 18px; border-top: 1px solid var(--border); padding-top: 5px }
}
@media (max-width: 740px) {
  .frame { width: calc(100% - 40px) }
  .hero-inner, .project-spotlight, .section-heading, .software-grid, .contact-section, .questions-section { grid-template-columns: 1fr }
  .section-heading { gap: 10px; margin-bottom: 20px }
  .hero-inner { gap: 27px }
  .hero-image, .project-photo { aspect-ratio: 1.45 }
  .feature-copy { padding-inline: 13px 42px }
  .card-arrow { width: 25px; height: 25px; right: 11px }
  .project-spotlight { gap: 26px }
  .project-process ol { grid-template-columns: 1fr; gap: 19px }
  .software-grid { gap: 23px }
  .jump-links a { padding-inline: 7px }
}
@media (max-width: 560px) {
  .frame { width: calc(100% - 32px) }
  .brand { gap: 7px }
  .brand img { width: 43px; height: 29px }
  .brand > span { font-size: .9rem }
  .languages button { padding-inline: 5px; font-size: .72rem }
  nav { gap: 3px 12px; font-size: .81rem }
  :lang(zh) nav { gap: 3px 9px; font-size: .77rem }
  nav a { padding-block: 5px }
  nav .contact-nav { padding-inline: 8px }
  .hero-inner { padding-block: 34px 35px }
  .hero-visual { border-radius: 16px; margin: 0 8px 8px 0; box-shadow: 8px 8px 0 #e7f0ec }
  h1, :lang(en) h1, :lang(vi) h1, :lang(ko) h1 { font-size: clamp(2rem, 8.65vw, 3.25rem) }
  .hero-summary { margin-top: 15px }
  .actions { margin-top: 18px }
  .button { padding-inline: 12px }
  .feature-grid, .solution-grid, .roadmap-grid, .download-grid { grid-template-columns: 1fr }
  .jump-links { grid-template-columns: repeat(2, minmax(0, 1fr)) }
  .jump-links li:nth-child(3)::before { display: none }
  .jump-links li:nth-child(n+3) { border-top: 1px solid var(--border) }
  .jump-links a { min-height: 42px }
  .feature-photo { aspect-ratio: 1.78 }
  .feature-copy { padding: 16px 51px 19px 17px }
  .card-arrow { right: 15px; top: 16px }
  .software-grid article { grid-template-columns: 74px minmax(0, 1fr); column-gap: 9px }
  .contact-section { gap: 22px }
  .contact-box { padding: 13px }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto }
}

#engineering-hall{max-width:1440px;margin:auto;padding:24px clamp(16px,4vw,60px);scroll-margin-top:80px}#engineering-hall h2{font-size:clamp(20px,2vw,28px)}
.hall-columns{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:18px 0}
.hall-column{min-width:0;background:white;border:1px solid #d8e4e5;border-top:4px solid #2563eb;border-radius:12px;padding:18px}
.hall-column:nth-child(2){border-top-color:#0f766e}.hall-column:nth-child(3){border-top-color:#7250ae}
.hall-column h2{margin:0 0 12px}.hall-window{height:clamp(320px,62vh,800px);overflow:hidden}
.hall-track{animation:hall-drift 1500s linear infinite}.hall-window:hover .hall-track,.hall-window:focus .hall-track{animation-play-state:paused}
.hall-window article{padding:12px 0;border-top:1px solid #dae3e8}.hall-window small{display:block;color:#576976}.hall-window p{margin:4px 0 0}
@keyframes hall-drift{to{transform:translateY(-50%)}}
@media(max-width:750px){.hall-columns{grid-template-columns:1fr}.hall-window{height:320px}}
@media(prefers-reduced-motion:reduce){.hall-track{animation:none}.hall-window{overflow:auto}.hall-track>[aria-hidden]{display:none}}
