:root {
  --bg: #07090c;
  --paper: #f4f7f8;
  --ink: #12171c;
  --white: #f4f7f8;
  --muted: #93a0ab;
  --muted-ink: #52606b;
  --line: rgba(255, 255, 255, 0.14);
  --cyan: #12b6c8;
  --blue: #1a9adf;
  --header: 72px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--white);
  font-family: "Segoe UI", "PingFang HK", "Hiragino Sans", "Noto Sans TC", sans-serif;
  font-size: 16px;
  line-height: 1.5;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input { font: inherit; }

.progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 2px;
  transform-origin: 0 50%;
  transform: scaleX(0);
  background: linear-gradient(90deg, var(--cyan), var(--blue));
  z-index: 40;
}

header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 30;
  min-height: var(--header);
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 14px 28px;
  background: rgba(7, 9, 12, 0.62);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 750;
  letter-spacing: -0.04em;
  font-size: 18px;
}
.brand img { height: 58px; width: auto; display: block; }
.main-nav { display: flex; gap: 18px; margin-left: 12px; }
.main-nav a, .langs a {
  text-decoration: none;
  font-size: 13px;
  font-weight: 650;
  color: rgba(244, 247, 248, 0.78);
}
.main-nav a:hover, .langs a:hover { color: white; }
.langs { margin-left: auto; display: flex; gap: 12px; }
.langs a.on { color: white; box-shadow: inset 0 -1px 0 white; }

.dots {
  position: fixed;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 25;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.dots a {
  width: 8px; height: 8px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.7);
  background: transparent;
}
.dots a.on { background: white; }

.snap { position: relative; min-height: 100vh; }
.brandpage {
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  min-height: 100dvh;
  padding: 10vh 6vw;
}
.brandpage img {
  width: min(1100px, 86vw);
  max-height: 58vh;
  height: auto;
  object-fit: contain;
}
body.at-brand header,
body.at-brand .dots,
body.at-brand .progress {
  opacity: 0;
  visibility: hidden;
}
header, .dots, .progress { transition: opacity 0.35s ease; }
.hero, .tech, .contact { display: flex; align-items: flex-start; }
.hero { align-items: flex-start; }
.bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 9, 12, 0.88) 0%, rgba(7, 9, 12, 0.62) 46%, rgba(7, 9, 12, 0.28) 100%),
    linear-gradient(to top, rgba(7, 9, 12, 0.55), transparent 40%);
}
.tech .veil {
  background: linear-gradient(90deg, rgba(7, 10, 16, 0.88) 0%, rgba(7, 10, 16, 0.5) 70%);
}
.contact .veil { background: linear-gradient(90deg, rgba(7, 9, 12, 0.82) 0%, rgba(7, 9, 12, 0.55) 42%, rgba(7, 9, 12, 0.28) 100%); }

.copy, .hero-copy, .contact-copy {
  position: relative;
  z-index: 1;
  width: min(680px, calc(100% - 64px));
  margin: 0;
  padding: calc(var(--header) + 36px) 0 72px 7vw;
}
.hero-copy { padding-top: calc(var(--header) + 28px); padding-bottom: 72px; }
.kicker {
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cyan);
}
h1, h2 {
  margin: 0 0 16px;
  font-weight: 750;
  letter-spacing: -0.045em;
  line-height: 1.12;
}
h1 { font-size: clamp(34px, 4.6vw, 64px); }
h2 { font-size: clamp(36px, 4.6vw, 64px); }
.lede, .copy p, .contact-copy p { font-size: 18px; line-height: 1.55; color: rgba(244, 247, 248, 0.86); }
.light .lede, .light p { color: var(--muted-ink); }
.hero-mark {
  height: 72px;
  width: auto;
  margin-top: 28px;
}
.btn {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 750;
  font-size: 14px;
  background: white;
  color: #0c1116;
}
.btn.ghost {
  background: transparent;
  color: white;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.45);
}
.scrollhint {
  position: absolute;
  z-index: 1;
  left: 7vw;
  bottom: 28px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.7);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
  background: #0c1218;
}
.split.light { background: var(--paper); color: var(--ink); }
.split .copy { width: auto; min-width: 0; padding: calc(var(--header) + 48px) 48px 64px 7vw; align-self: center; }
.photo { position: relative; min-height: 100vh; min-width: 0; overflow: hidden; }
.photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.iso {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 18px 0 0;
}
.iso img {
  display: block;
  height: 96px;
  width: auto;
  background: #fff;
  border-radius: 8px;
}
.iso b { display: block; font-size: 14px; letter-spacing: 0.04em; line-height: 1.1; }
.iso span { display: block; margin-top: 2px; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(244, 247, 248, 0.62); }
.light .iso b { color: var(--ink); }
.light .iso span { color: var(--muted-ink); }

.rail {
  height: 2px;
  margin: 28px 0 18px;
  background: rgba(255, 255, 255, 0.16);
  position: relative;
}
.rail i {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 0;
  background: linear-gradient(90deg, var(--cyan), var(--blue));
}
.split.light .rail { background: rgba(12, 18, 24, 0.12); }
.inview .rail i { width: 100%; transition: width 1.5s cubic-bezier(.2, .7, .2, 1); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.steps span { display: block; color: var(--cyan); font-size: 12px; font-weight: 750; letter-spacing: 0.12em; }
.steps b { display: block; margin: 6px 0 4px; font-size: 18px; }
.steps p { margin: 0; font-size: 14px !important; }

.tech { background: #07090c; align-items: center; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 28px; }
.chips span {
  border: 1px solid rgba(18, 23, 28, 0.16);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 700;
}
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 0; }
.facts div { border-top: 1px solid rgba(18, 23, 28, 0.16); padding-top: 12px; }
.facts strong { display: block; font-size: clamp(28px, 3vw, 40px); letter-spacing: -0.04em; }
.facts span { color: var(--muted-ink); font-size: 14px; }

.about {
  background: var(--paper);
  color: var(--ink);
}
.about-in {
  width: min(1100px, calc(100% - 12vw));
  margin: 0 auto;
  padding: calc(var(--header) + 48px) 0 72px;
}
.about h2 { max-width: 14em; }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 48px;
  margin-top: 12px;
}
.about h3 {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #0e8fa0;
}
.about p, .about li {
  margin: 0 0 10px;
  color: var(--muted-ink);
  font-size: 15px;
  line-height: 1.55;
}
.about ul { margin: 8px 0 0; padding-left: 18px; }
.light .svc { color: var(--ink); }
.svc { margin: 8px 0 16px; padding-left: 18px; }
.svc li { margin: 0 0 6px; font-size: 16px; line-height: 1.45; }
.mail {
  color: #fff;
  font-size: 20px;
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1.2;
  text-decoration: none;
}
.contact {
  flex-direction: column;
  justify-content: space-between;
  height: 100vh;
  max-height: 100vh;
  overflow: hidden;
}
.contact-copy { flex: 1 1 auto; padding-bottom: 24px; }
footer {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  width: 100%;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  gap: 36px;
  margin-top: auto;
  padding: 18px 7vw 32px;
  background: linear-gradient(to top, rgba(7, 9, 12, 0.28), transparent 70%);
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}
footer .f-logo { height: 72px; width: auto; margin: 0; flex: 0 0 auto; }
footer .f-items {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}
footer .f-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 36px; }
footer .f-item {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  column-gap: 10px;
  align-items: center;
  color: rgba(255, 255, 255, 0.92);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: 0.01em;
  text-decoration: none;
}
footer .f-item img { width: 28px; height: 28px; margin: 0; object-fit: contain; }
footer .f-item span { padding-top: 0; }
footer a.f-item:hover { color: #fff; }

@media (max-width: 860px) {
  :root { --header: 108px; }
  header { flex-wrap: wrap; padding: 10px 16px; gap: 8px 14px; }
  .brand img { height: 36px; }
  .main-nav { order: 3; width: 100%; margin: 0; gap: 14px; overflow: auto; }
  .main-nav a, .langs a { white-space: nowrap; }
  .copy, .hero-copy, .contact-copy, .split .copy { width: auto; padding-left: 20px; padding-right: 20px; }
  .contact { height: auto; max-height: none; min-height: 100vh; overflow: visible; }
  .hero-copy { padding-top: calc(var(--header) + 16px); }
  .brandpage { padding: 12vh 20px; }
  .brandpage img { width: 92vw; max-height: 34vh; }
  .split { grid-template-columns: 1fr; }
  .photo { min-height: 42vh; }
  .steps, .facts, .about-grid { grid-template-columns: 1fr; }
  .dots { display: none; }
  h1 { font-size: 32px; }
  h2 { font-size: 28px; }
  .lede, .copy p, .contact-copy p { font-size: 16px; }
  footer { flex-direction: column; align-items: flex-start; gap: 16px; padding: 16px 20px 28px; }
  footer .f-items { width: 100%; }
  footer .f-row { flex-direction: column; align-items: flex-start; gap: 12px; }
}
@media (min-width: 861px) and (max-width: 1180px) {
  h1 { font-size: clamp(32px, 4.2vw, 48px); }
  h2 { font-size: clamp(28px, 3.6vw, 42px); }
  .brandpage img { width: min(760px, 80vw); max-height: 42vh; }
  .split .copy { padding-right: 28px; padding-left: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .bg, .rail i { transition: none !important; animation: none !important; }
}
