:root {
  --navy: #062a3a;
  --blue: #2563eb;
  --cyan: #38bdf8;
  --silver: #eaf0f5;
  --white: #fff;
  --ink: #091d29;
  --muted: #647582;
  --line: #cbd8df;
  --max: 1540px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: #f7fafc;
  color: var(--ink);
  font-family: "Noto Sans TC", Arial, sans-serif;
  overflow-x: hidden;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  display: block;
  max-width: 100%;
}
.skip {
  position: fixed;
  left: 16px;
  top: -100px;
  background: #fff;
  padding: 12px;
  z-index: 100;
}
.skip:focus {
  top: 16px;
}
.topline {
  height: 34px;
  background: var(--navy);
  color: #93b6c6;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 max(3.5vw, calc((100vw - var(--max)) / 2));
  font: 500 10px "Roboto Mono";
  letter-spacing: 0.15em;
}
.header {
  height: 94px;
  display: flex;
  align-items: center;
  padding: 0 max(3.5vw, calc((100vw - var(--max)) / 2));
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  background: rgba(247, 250, 252, 0.95);
  backdrop-filter: blur(18px);
  z-index: 20;
}
.brand img {
  width: 125px;
}
.header nav {
  display: flex;
  gap: clamp(14px, 1.7vw, 28px);
  margin-left: auto;
  font-size: 13px;
  font-weight: 700;
}
.header nav a {
  position: relative;
}
.header nav a:after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -8px;
  height: 2px;
  background: var(--blue);
  transition: 0.25s;
}
.header nav a:hover:after {
  right: 0;
}
.languages {
  display: flex;
  gap: 6px;
  margin-left: 25px;
  padding-left: 20px;
  border-left: 1px solid var(--line);
}
.languages a,
.footer-langs a {
  font: 600 10px "Roboto Mono";
  color: #77909d;
  padding: 5px;
}
.languages a[aria-current="page"] {
  color: var(--blue);
  background: #e2ecff;
}
.quote,
.primary {
  margin-left: 24px;
  background: var(--blue);
  color: #fff;
  padding: 15px 20px;
  font-size: 13px;
  font-weight: 800;
  display: inline-flex;
  gap: 28px;
  align-items: center;
  border: 0;
}
.quote:hover,
.primary:hover {
  background: #164ac0;
}
.menu {
  display: none;
}
.hero {
  min-height: 720px;
  max-width: var(--max);
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 6.5vw 3.5vw 4vw;
  gap: 5vw;
}
.hero-copy,
.hero-visual,
.section-head > * {
  min-width: 0;
}
.eyebrow {
  font: 600 11px "Roboto Mono";
  letter-spacing: 0.18em;
  margin: 0 0 28px;
  color: var(--blue);
  text-transform: uppercase;
}
.hero h1,
.section h2,
.contact h2 {
  font-size: clamp(47px, 5.5vw, 88px);
  line-height: 1.02;
  letter-spacing: -0.055em;
  margin: 0;
  font-weight: 900;
  overflow-wrap: anywhere;
}
.hero h1 em,
.section h2 em,
.contact h2 em {
  font-style: normal;
  color: #678292;
}
.lead {
  max-width: 620px;
  color: #526c79;
  font-size: 17px;
  line-height: 1.85;
  margin: 36px 0;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 28px;
}
.hero-actions .primary {
  margin-left: 0;
}
.textlink {
  font-weight: 700;
  font-size: 13px;
  border-bottom: 1px solid var(--blue);
  padding-bottom: 4px;
}
.hero-visual {
  position: relative;
  min-height: 520px;
  background: linear-gradient(145deg, #0a4059, #061e2a);
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(6, 42, 58, 0.2);
}
.hero-visual:after {
  content: "";
  position: absolute;
  inset: 10%;
  background: radial-gradient(
    circle,
    rgba(56, 189, 248, 0.28),
    transparent 55%
  );
}
.hero-visual > img {
  position: absolute;
  z-index: 3;
  width: min(92%, 720px);
  max-width: 92%;
  height: auto;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -48%);
  padding: 28px 0;
  background: #fff;
  cursor: zoom-in;
  mix-blend-mode: multiply;
  filter: contrast(1.32) brightness(0.92)
    drop-shadow(0 28px 35px rgba(0, 0, 0, 0.35));
}
.blueprint {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(56, 189, 248, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56, 189, 248, 0.1) 1px, transparent 1px);
  background-size: 32px 32px;
}
.blueprint:before,
.blueprint:after,
.blueprint i {
  content: "";
  position: absolute;
  background: var(--cyan);
  opacity: 0.65;
}
.blueprint:before {
  height: 1px;
  width: 72%;
  left: 14%;
  top: 23%;
}
.blueprint:after {
  width: 1px;
  height: 62%;
  left: 18%;
  top: 18%;
}
.blueprint i {
  height: 1px;
  width: 64%;
  right: 12%;
  bottom: 25%;
}
.measure {
  position: absolute;
  color: #85dcff;
  font: 500 9px "Roboto Mono";
  letter-spacing: 0.12em;
}
.m1 {
  top: 20%;
  left: 45%;
}
.m2 {
  top: 47%;
  left: 14%;
  transform: rotate(-90deg);
}
.hero-tag {
  position: absolute;
  z-index: 5;
  right: 0;
  bottom: 0;
  background: var(--cyan);
  color: var(--navy);
  padding: 20px;
  display: flex;
  gap: 28px;
  min-width: 260px;
}
.hero-tag span,
.service > span {
  font: 600 10px "Roboto Mono";
}
.hero-tag strong {
  font: 700 11px "Roboto Mono";
  line-height: 1.5;
}
.hero-index {
  position: absolute;
  z-index: 2;
  left: 24px;
  bottom: 18px;
  color: #4a91aa;
  font: 600 11px "Roboto Mono";
  letter-spacing: 0.2em;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: var(--max);
  margin: auto;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 28px 3.5vw;
}
.metrics div {
  border-right: 1px solid var(--line);
  padding: 0 30px;
}
.metrics div:first-child {
  padding-left: 0;
}
.metrics div:last-child {
  border: 0;
}
.metrics strong {
  display: block;
  color: var(--navy);
  font: 700 24px "Roboto Mono";
  letter-spacing: -0.05em;
}
.metrics span {
  font-size: 12px;
  color: var(--muted);
}
.section {
  padding: 8vw max(3.5vw, calc((100vw - var(--max)) / 2));
}
.section-head {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  align-items: end;
  margin-bottom: 5vw;
}
.section-head h2,
.about h2 {
  font-size: clamp(42px, 5vw, 72px);
}
.section-head > p {
  max-width: 530px;
  color: var(--muted);
  line-height: 1.85;
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 2px solid var(--navy);
}
.service {
  min-height: 345px;
  border-right: 1px solid var(--line);
  padding: 28px;
  margin: 0;
  display: flex;
  flex-direction: column;
  transition: 0.3s;
}
.service:first-child {
  padding-left: 0;
}
.service:last-child {
  border: 0;
}
.service:hover {
  background: var(--silver);
  transform: translateY(-5px);
}
.service-icon {
  width: 42px;
  height: 42px;
  margin-top: 35px;
  border: 1px solid #8eafbe;
  background: linear-gradient(
    135deg,
    transparent 48%,
    var(--cyan) 49%,
    var(--cyan) 52%,
    transparent 53%
  );
}
.service h3 {
  font-size: 25px;
  margin: 30px 0 12px;
}
.service p {
  color: var(--muted);
  line-height: 1.7;
  font-size: 14px;
}
.service b {
  font: 600 9px "Roboto Mono";
  letter-spacing: 0.12em;
  margin-top: auto;
  color: var(--blue);
}
.dark {
  background: var(--navy);
  color: #fff;
}
.cyan {
  color: var(--cyan);
}
.dark .section-head > p {
  color: #a7c0cb;
}
.dark h2 em {
  color: #8eb5c5;
}
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid #2b5365;
}
.steps li {
  display: grid;
  grid-template-columns: 80px 1fr 1fr;
  padding: 30px 0;
  border-bottom: 1px solid #2b5365;
  align-items: center;
}
.steps b {
  font: 600 11px "Roboto Mono";
  color: var(--cyan);
}
.steps span {
  font-size: 22px;
  font-weight: 700;
}
.steps p {
  color: #a7c0cb;
  margin: 0;
}
.equipment {
  background: #fff;
}
.equipment-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 16px;
}
.equipment figure {
  margin: 0;
  background: var(--silver);
  overflow: hidden;
}
.equipment figure img {
  width: 100%;
  height: 410px;
  object-fit: contain;
  padding: 18px;
  background: #fff;
  cursor: zoom-in;
  filter: saturate(0.7) contrast(1.05);
  transition: 0.5s;
}
.equipment figure:hover img {
  filter: none;
  transform: scale(1.025);
}
.equipment figcaption {
  display: flex;
  justify-content: space-between;
  background: var(--navy);
  color: #fff;
  padding: 16px;
  font-size: 12px;
}
.equipment figcaption b {
  color: var(--cyan);
  font: 500 10px "Roboto Mono";
}
.products {
  background: var(--silver);
}
.gallery {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}
.gallery figure {
  margin: 0;
  background: #fff;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid #d7e2e8;
}
.gallery img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 10px;
  cursor: zoom-in;
  transition: 0.4s;
}
.gallery figure:hover img {
  transform: scale(1.06);
}
.gallery figure:nth-child(n + 16) {
  display: none;
}
.gallery.expanded figure {
  display: block;
}
.gallery-more {
  margin: 40px auto 0;
  cursor: pointer;
}
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  place-items: center;
  padding: 72px;
  background: rgba(2, 21, 30, 0.94);
}
.lightbox.open {
  display: grid;
}
.lightbox-stage {
  width: min(1100px, 88vw);
  height: min(760px, 78vh);
  display: grid;
  place-items: center;
  padding: 24px;
  background: #fff;
}
.lightbox img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.lightbox button {
  position: absolute;
  width: 48px;
  height: 48px;
  border: 1px solid #5f7f8e;
  background: var(--navy);
  color: #fff;
  cursor: pointer;
  font-size: 24px;
}
.lightbox-close {
  top: 18px;
  right: 22px;
}
.lightbox-prev {
  left: 22px;
  top: 50%;
}
.lightbox-next {
  right: 22px;
  top: 50%;
}
.lightbox-count {
  position: absolute;
  bottom: 20px;
  color: #fff;
  font: 600 11px "Roboto Mono";
  letter-spacing: 0.12em;
}
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8vw;
  align-items: center;
}
.about-image {
  position: relative;
}
.about-image:before {
  content: "";
  position: absolute;
  inset: -12px 12px 12px -12px;
  border: 1px solid var(--cyan);
}
.about-image img {
  position: relative;
  width: 100%;
  min-height: 560px;
  object-fit: cover;
  filter: saturate(0.72);
}
.about-image span {
  position: absolute;
  left: 0;
  bottom: 0;
  background: var(--blue);
  color: #fff;
  padding: 18px 25px;
  font: 600 11px "Roboto Mono";
}
.about-copy p:not(.eyebrow) {
  line-height: 1.9;
  color: var(--muted);
  font-size: 16px;
}
.contact {
  background: #041e2a;
  color: #fff;
  text-align: center;
}
.contact .eyebrow {
  color: var(--cyan);
}
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid #2b5365;
  border-bottom: 1px solid #2b5365;
  margin: 5vw 0 3vw;
  text-align: left;
}
.contact-grid div {
  padding: 28px;
  border-right: 1px solid #2b5365;
}
.contact-grid div:last-child {
  border: 0;
}
.contact-grid p {
  color: #84a5b4;
  font-size: 11px;
}
.contact-grid strong {
  font-size: 16px;
}
.light {
  margin: 0;
  background: var(--cyan);
  color: var(--navy);
}
footer {
  background: #02151e;
  color: #fff;
  padding: 5vw max(3.5vw, calc((100vw - var(--max)) / 2));
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 30px;
}
footer .brand img {
  filter: brightness(0) invert(1);
}
footer div {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 12px;
  color: #8eabb8;
}
footer div p {
  color: #fff;
  font-weight: 700;
}
.footer-langs {
  flex-direction: row;
  flex-wrap: wrap;
  align-content: start;
}
.footer-langs a[aria-current="page"] {
  color: var(--cyan);
}
footer small {
  color: #5f7f8e;
  line-height: 1.8;
  align-self: end;
}
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: 0.7s ease;
}
.reveal.on {
  opacity: 1;
  transform: none;
}
a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 4px;
}
@media (max-width: 1120px) {
  .header nav {
    display: none;
  }
  .menu {
    display: flex;
    margin-left: auto;
    border: 0;
    background: none;
    align-items: center;
    gap: 10px;
    font: 700 11px "Roboto Mono";
  }
  .menu i {
    width: 20px;
    height: 1px;
    background: var(--navy);
  }
  .header.open nav {
    display: flex;
    position: absolute;
    top: 94px;
    left: 0;
    right: 0;
    background: #fff;
    padding: 24px;
    flex-direction: column;
    border-bottom: 1px solid var(--line);
  }
  .languages {
    margin-left: 14px;
    padding-left: 12px;
  }
  .quote {
    display: none;
  }
  .hero {
    grid-template-columns: 1fr;
    padding-top: 60px;
  }
  .hero-visual {
    min-height: 470px;
  }
  .section-head,
  .about {
    grid-template-columns: 1fr;
  }
  .section-head > p {
    margin-top: 25px;
  }
  .service-grid {
    grid-template-columns: 1fr 1fr;
  }
  .equipment-grid {
    grid-template-columns: 1fr;
  }
  .equipment figure img {
    height: 450px;
  }
  .gallery {
    grid-template-columns: repeat(3, 1fr);
  }
  footer {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 680px) {
  .topline {
    padding: 0 18px;
  }
  .header {
    height: auto;
    min-height: 82px;
    padding: 12px 18px;
    flex-wrap: wrap;
  }
  .brand img {
    width: 105px;
  }
  .languages {
    order: 5;
    width: 100%;
    margin: 10px 0 0;
    padding: 9px 0 0;
    border-left: 0;
    border-top: 1px solid var(--line);
    justify-content: flex-start;
  }
  .languages a {
    font-size: 10px;
    flex: 1;
    text-align: center;
  }
  .header.open nav {
    top: 124px;
  }
  .hero {
    min-height: 0;
    padding: 54px 20px 28px;
  }
  .hero h1 {
    font-size: clamp(40px, 12vw, 48px);
  }
  .lead {
    font-size: 15px;
  }
  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
  }
  .hero-visual {
    min-height: 340px;
  }
  .hero-tag {
    min-width: 220px;
    padding: 15px;
  }
  .metrics {
    grid-template-columns: 1fr 1fr;
    padding: 24px 20px;
    gap: 22px;
  }
  .metrics div {
    padding: 0;
    border: 0;
  }
  .section {
    padding: 78px 20px;
  }
  .service-grid {
    grid-template-columns: 1fr;
  }
  .service {
    min-height: 270px;
    padding: 25px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .steps li {
    grid-template-columns: 45px 1fr;
  }
  .steps p {
    grid-column: 2;
    margin-top: 8px;
  }
  .equipment figure img {
    height: 310px;
  }
  .lightbox {
    padding: 62px 12px;
  }
  .lightbox-stage {
    width: 100%;
    height: 70vh;
    padding: 10px;
  }
  .lightbox-prev {
    left: 12px;
  }
  .lightbox-next {
    right: 12px;
  }
  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-image img {
    min-height: 380px;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .contact-grid div {
    border-right: 0;
    border-bottom: 1px solid #2b5365;
  }
  footer {
    grid-template-columns: 1fr;
    padding: 70px 20px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .hero-visual > img,
  .equipment figure img,
  .gallery img {
    transition: none;
  }
}
