:root {
  color-scheme: light;
  --ink: #152735;
  --muted: #475967;
  --accent: #005b63;
  --line: #d4e0e2;
  --ground: #f2f7f7;
  --paper: #fff;
  --dark: #0c2531;
  --mint: #b7efe4;
  font-family: system-ui, "PingFang TC", "Microsoft JhengHei", sans-serif;
  line-height: 1.75;
  color: var(--ink);
  background: var(--ground);
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: var(--accent); text-underline-offset: .22em; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible, main:focus-visible {
  outline: 3px solid #005b63;
  outline-offset: 3px;
  box-shadow: 0 0 0 3px white;
}
.hero a:focus-visible, .site-footer a:focus-visible { outline-color: var(--mint); box-shadow: 0 0 0 3px var(--dark); }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4 { line-height: 1.28; overflow-wrap: anywhere; }
h1 { font-size: clamp(2.15rem, 6vw, 4rem); margin: 0; }
h2 { font-size: clamp(1.45rem, 3vw, 2.2rem); margin: 0 0 .85rem; }
h3 { font-size: clamp(1.12rem, 2.25vw, 1.35rem); margin: 0 0 .55rem; }
p { margin: 0 0 1rem; }
.wrap { width: min(1180px, calc(100% - 3rem)); margin-inline: auto; }
.skip { position: absolute; z-index: 2; top: .75rem; left: .75rem; transform: translateY(-200%); background: white; padding: .55rem 1rem; }
.skip:focus { transform: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.site-header { background: var(--paper); border-bottom: 1px solid var(--line); }
.masthead { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 5.5rem; padding-block: .75rem; }
.brand { display: inline-flex; align-items: center; text-decoration: none; color: var(--ink); gap: .65rem; line-height: 1.2; }
.brand img { width: 2.8rem; height: 2.8rem; object-fit: contain; }
.brand strong { font-size: 1.18rem; }
.brand small { display: block; color: var(--muted); font-size: .8125rem; letter-spacing: .15em; margin-top: .2rem; }
.nav, .actions, .footer-content nav { display: flex; flex-wrap: wrap; gap: .45rem; }
.nav a, .footer-content nav a { display: inline-flex; align-items: center; min-height: 44px; padding: .35rem .65rem; }
.nav a { border-radius: .4rem; color: var(--ink); font-weight: 650; text-decoration: none; }
.nav a:hover, .nav a[aria-current], .nav .related { background: #e1f1ef; color: var(--accent); text-decoration: underline; }
main { padding-block: 1.4rem 4rem; min-height: 66vh; }
.hero { display: grid; grid-template-columns: 1.1fr 1fr; align-items: stretch; background: var(--dark); color: white; border-radius: 1.15rem; }
.hero-content { padding: clamp(1.4rem, 4.7vw, 4rem); }
.company-name { color: var(--mint); font-weight: 700; letter-spacing: .05em; margin-bottom: .8rem; }
.hero h1 { font-size: clamp(2rem, 4.65vw, 4.05rem); }
.hero .lead { font-size: clamp(1rem, 2vw, 1.15rem); color: #e2eef0; margin: 1rem 0 1.5rem; max-width: 34rem; }
.hero-image { overflow: hidden; min-width: 0; display: grid; align-items: center; background: #080b0e; border-radius: 0 1.15rem 1.15rem 0; }
.hero-image img { width: 100%; height: 100%; object-fit: cover; }
.button { display: inline-flex; align-items: center; min-height: 44px; padding: .48rem .9rem; border: 1px solid #97b8ba; border-radius: .4rem; background: var(--paper); font-weight: 700; text-decoration: none; }
.button:hover { text-decoration: underline; }
.button.primary { color: #0b3337; background: var(--mint); border-color: var(--mint); }
.button.secondary { color: white; background: var(--dark); border-color: #a5c8cc; }
.section { margin-top: clamp(2rem, 5vw, 4rem); }
.section-heading { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .2rem 1rem; margin-bottom: .85rem; border-bottom: 1px solid var(--line); }
.section-heading a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.card { min-width: 0; border-radius: .75rem; border: 1px solid var(--line); background: var(--paper); }
.card-text { padding: clamp(1rem, 2vw, 1.45rem); }
.card-text > :last-child { margin-bottom: 0; }
.card h3 a { display: inline-block; padding-block: .18rem; }
.product { position: relative; height: 100%; }
.product h3 a::after { position: absolute; inset: 0; content: ""; border-radius: .75rem; }
.product:focus-within { outline: 3px solid var(--accent); outline-offset: 3px; }
.product h3 { color: var(--accent); text-decoration: underline; text-underline-offset: .22em; }
.product:hover h3 a { text-decoration-thickness: 2px; }
.product img { width: 100%; aspect-ratio: 16/9; object-fit: contain; border-radius: .75rem .75rem 0 0; }
.product-copy { padding: 1rem 1.25rem 1.15rem; border-top: 1px solid var(--line); }
.product p { margin: 0; }
.product p + p { color: var(--muted); margin-top: .35rem; }
.meta { color: var(--muted); display: flex; flex-wrap: wrap; gap: .15rem .85rem; font-size: .9rem; margin-bottom: .6rem; }
.breadcrumbs { font-size: .9rem; color: var(--muted); }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: .25rem .65rem; list-style: none; padding: 0; margin: 0; }
.breadcrumbs li + li { border-inline-start: 1px solid #82989b; padding-inline-start: .65rem; }
.page-heading { padding-block: clamp(1.3rem, 4vw, 2.7rem); max-width: 57rem; }
.page-heading p { margin: .75rem 0 0; color: var(--muted); font-size: clamp(1rem, 2vw, 1.2rem); }
.reading { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.panel, .prose, .rich { border: 1px solid var(--line); border-radius: .75rem; background: var(--paper); padding: clamp(1rem, 3vw, 2.1rem); overflow-wrap: anywhere; }
.panel h2 { font-size: clamp(1.35rem, 2.5vw, 1.65rem); }
.panel h2:not(:first-child), .prose h2:not(:first-child), .rich h2:not(:first-child) { margin-top: 1.35em; }
.panel > :last-child { margin-bottom: 0; }
.panel li + li { margin-top: .5rem; }
.prose { max-width: 53rem; }
.prose figure, .rich figure { margin: 1.2rem 0; }
.prose img, .rich img { max-height: 42rem; object-fit: contain; }
.rich .columns { display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; align-items: start; }
.rich .column { flex: 1 1 16rem; min-width: 0; }
.rich .cover img { width: 100%; max-height: 30rem; object-fit: contain; }
.rich [id] { scroll-margin-top: 1.2rem; }
.panel:target, .rich [id]:target { outline: 2px solid var(--accent); outline-offset: .3rem; }
blockquote, .callout { margin: 0 0 1.2rem; padding: .8rem 1rem; border-inline-start: 4px solid var(--accent); background: var(--ground); }
blockquote > :last-child, .callout > :last-child { margin-bottom: 0; }
table { border-collapse: collapse; width: 100%; }
td, th { padding: .4rem; border: 1px solid var(--line); }
dt { font-weight: 700; }
dd { margin: 0 0 .8rem; }
.toc { margin-bottom: 1rem; }
.news-group:first-of-type { margin-top: 0; }
.site-footer { background: var(--dark); color: white; }
.footer-content { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; justify-content: space-between; align-items: center; padding-block: 1.5rem; }
.footer-content p { margin: 0; font-weight: 700; }
.footer-content small { display: block; margin-top: .15rem; color: #e2eef0; font-weight: 400; }
.footer-content nav a { color: var(--mint); }
@media (max-width: 920px) {
  .masthead { align-items: flex-start; flex-direction: column; gap: .4rem; }
}
@media (max-width: 720px) {
  .wrap { width: calc(100% - 1.5rem); }
  .nav { gap: .15rem; }
  .nav a { padding-inline: .45rem; }
  .grid, .reading, .hero { grid-template-columns: minmax(0, 1fr); }
  .hero-image { border-radius: 0 0 1.15rem 1.15rem; }
  .hero-image img { height: auto; max-height: 16rem; object-fit: contain; }
}
@media (forced-colors: active) {
  a:focus-visible, main:focus-visible { outline-color: Highlight; }
  .hero a:focus-visible, .site-footer a:focus-visible { outline-color: Highlight; }
  .nav a[aria-current] { border: 1px solid currentColor; }
}

.engineering-heading {
  margin-block: 1rem 1.4rem;
  max-width: none;
  padding: clamp(1.4rem, 4vw, 3rem);
  border-radius: .9rem;
  background: var(--dark);
  color: var(--paper);
}
.engineering-heading p { max-width: 44rem; color: #e2eef0; }
.engineering-heading .engineering-subtitle { color: var(--mint); font-weight: 700; }
.engineering-heading .actions { margin-top: 1.15rem; }
.engineering-heading a:focus-visible { outline-color: var(--mint); box-shadow: 0 0 0 3px var(--dark); }
.engineering-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; padding-inline-start: 1.4rem; }
.engineering-steps li::marker { color: var(--accent); font-weight: 700; }
.engineering-steps li { margin-inline-start: .5rem; }
.engineering-cta { background: #e1f1ef; }
@media (max-width: 720px) {
  .engineering-steps { grid-template-columns: minmax(0, 1fr); gap: .65rem; }
}

.home-headline { margin-top: 1.25rem; }
.home-headline a + a { margin-top: .55rem; }
.home-headline a {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .55rem 1rem;
  min-height: 4.25rem;
  padding: .85rem clamp(.85rem, 2vw, 1.35rem);
  border: 2px solid #a83a27;
  border-radius: .75rem;
  background: #fff0e7;
  color: #651c12;
  text-decoration: none;
}
.home-headline a:hover { background: #ffe2d4; }
.home-headline a:focus-visible { outline-color: #651c12; }
.home-headline-label {
  padding: .22rem .65rem;
  border-radius: .3rem;
  background: #8e281c;
  color: #fff;
  font-size: .9rem;
  font-weight: 700;
}
.home-headline-title {
  flex: 1 1 16rem;
  min-width: 0;
  overflow-wrap: anywhere;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  line-height: 1.45;
}
.home-headline-action {
  text-decoration: underline;
  text-underline-offset: .22em;
  font-weight: 700;
}
.home-headline a:hover .home-headline-title {
  text-decoration: underline;
  text-underline-offset: .22em;
}
@media (forced-colors: active) {
  .home-headline a:focus-visible { outline-color: Highlight; }
}

.service-visual {
  margin: 1.1rem 0 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: .65rem;
  background: var(--paper);
}
.service-visual img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
.service-visual figcaption {
  padding: .45rem .7rem;
  color: var(--muted);
  font-size: .875rem;
  line-height: 1.55;
}
main > .service-visual {
  max-width: 56rem;
  margin: 0 0 1.75rem;
}

.service-visual > a { display: block; }
.service-visual > a:focus-visible {
  position: relative;
  outline-offset: -4px;
}

.article-video {
  margin: 1.5rem 0 2rem;
  padding: clamp(.85rem, 3vw, 1.5rem);
  border: 1px solid #97b8ba;
  border-inline-start: 4px solid var(--accent);
  border-radius: .75rem;
  background: var(--ground);
}
.article-video h2 { font-size: clamp(1.25rem, 3vw, 1.8rem); }
.article-video iframe {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: .45rem;
  background: var(--dark);
}
.article-video iframe:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.article-video-link { margin: .75rem 0 0; }

.article-video--classic iframe { aspect-ratio: 4 / 3; }
