:root {
  --ink: #14202b;
  --muted: #5e6b76;
  --line: #dbe3ea;
  --surface: #ffffff;
  --soft: #f4f7f9;
  --accent: #0c7c86;
  --accent-strong: #075761;
  --signal: #47a8bd;
  --max: 1180px;
  --radius: 8px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, "Helvetica Neue", sans-serif;
  color: var(--ink);
  background: var(--surface);
  line-height: 1.6;
}

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

.container {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
}

.site-header .container {
  width: min(100% - 32px, 1320px);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #ffffff;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(20, 32, 43, 0.04);
  transition: box-shadow 180ms ease, border-color 180ms ease;
}

.site-header.is-scrolled {
  box-shadow: 0 10px 28px rgba(20, 32, 43, 0.1);
}

.nav {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  min-width: 0;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 76px;
  min-height: 38px;
  color: #151f7a;
  font-size: 1.72rem;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
}

.brand-logo {
  width: min(520px, 48vw);
  max-height: 52px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.92rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--muted);
  transition: color 160ms ease;
}

.nav-links a:hover {
  color: var(--accent-strong);
}

.nav-item {
  position: relative;
}

.menu-link {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 10px;
}

.has-dropdown > .menu-link::after {
  width: 0;
  height: 0;
  margin-left: 6px;
  border-top: 4px solid currentColor;
  border-right: 4px solid transparent;
  border-left: 4px solid transparent;
  content: "";
}

.dropdown-panel {
  position: absolute;
  top: calc(100% - 2px);
  left: 0;
  z-index: 30;
  display: grid;
  min-width: 260px;
  max-width: min(820px, calc(100vw - 32px));
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 18px 45px rgba(20, 32, 43, 0.14);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
  visibility: hidden;
}

.wide-dropdown .dropdown-panel {
  right: 0;
  left: auto;
  width: 760px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 18px;
}

.nav-item:hover .dropdown-panel,
.nav-item:focus-within .dropdown-panel {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  visibility: visible;
}

.dropdown-group {
  min-width: 0;
  padding: 6px;
}

.dropdown-title {
  display: block;
  color: var(--ink);
  font-weight: 700;
  line-height: 1.3;
}

.dropdown-sub {
  display: grid;
  gap: 4px;
  margin-top: 8px;
}

.dropdown-sub a {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.3;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(9, 22, 32, 0.94), rgba(9, 47, 58, 0.78)),
    url("/assets/brand/corpimg.png") center 28% / cover no-repeat;
  color: #fff;
}

.hero-grid {
  min-height: 360px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.72fr);
  gap: 48px;
  align-items: center;
  padding: 36px 0;
}

.eyebrow {
  margin: 0 0 14px;
  color: #9fdae3;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  font-weight: 700;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  max-width: 760px;
  font-size: 2.55rem;
  line-height: 1.06;
  letter-spacing: 0;
}

.hero p {
  max-width: 660px;
  color: #d9e9ec;
  font-size: 1rem;
}

.hero-company {
  margin-bottom: 12px;
  color: #ffffff;
  font-size: 1.18rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
}

.button.primary {
  background: #ffffff;
  color: var(--accent-strong);
}

.card .button.primary,
.page-hero + section .button.primary {
  background: var(--accent-strong);
  color: #ffffff;
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.4);
  color: #ffffff;
}

.hero-visual {
  display: grid;
  gap: 18px;
  min-width: 0;
}

.hero-visual-frame {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.28);
}

.hero-visual-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transform: scale(1.015);
  transition: opacity 700ms ease, transform 900ms ease;
}

.hero-visual-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.hero-visual-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-visual-slide figcaption {
  position: absolute;
  left: 18px;
  bottom: 18px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background: rgba(8, 20, 28, 0.72);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 700;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.hero-panel {
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  padding: 26px;
}

.hero-panel .metric {
  padding: 18px 0;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 0;
  background: transparent;
}

.hero-panel .metric:last-child {
  border-bottom: 0;
}

.metric {
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.07);
}

.metric:last-child {
  border-bottom: 0;
}

.metric strong {
  display: block;
  font-size: 1.65rem;
}

.metric span {
  color: #d9e9ec;
}

section {
  padding: 76px 0;
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  align-items: end;
  margin-bottom: 30px;
}

.section-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.section-head h2 {
  margin-bottom: 8px;
  font-size: 2.35rem;
  line-height: 1.12;
}

.section-head p {
  max-width: 650px;
  color: var(--muted);
}

.grid {
  display: grid;
  gap: 18px;
}

.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 24px;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.card:hover {
  transform: translateY(-3px);
  border-color: #c7d8df;
  box-shadow: 0 16px 36px rgba(20, 32, 43, 0.1);
}

.card h3 {
  margin-bottom: 10px;
  font-size: 1.15rem;
}

.card p {
  color: var(--muted);
}

.band {
  background: var(--soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.product-card {
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
}

.product-card .product-media img {
  transition: transform 220ms ease;
}

.product-card:hover .product-media img {
  transform: scale(1.06);
}

.carousel {
  position: relative;
  min-width: 0;
}

.carousel-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(280px, 360px);
  gap: 18px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 4px 2px 18px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}

.carousel-track > * {
  scroll-snap-align: start;
}

.carousel-control {
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  transition: border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.carousel-control:hover {
  border-color: var(--accent);
  color: var(--accent-strong);
  transform: translateY(-1px);
}

.home-product-grid {
  grid-auto-columns: minmax(250px, 300px);
}

.product-carousel {
  padding: 0 28px;
}

.carousel-edge {
  position: absolute;
  top: 4px;
  bottom: 18px;
  z-index: 3;
  width: 54px;
  opacity: 0;
  pointer-events: auto;
  transition: opacity 160ms ease;
}

.carousel-edge.left {
  left: 0;
  background: linear-gradient(90deg, rgba(244, 247, 249, 0.96), rgba(244, 247, 249, 0));
}

.carousel-edge.right {
  right: 0;
  background: linear-gradient(270deg, rgba(244, 247, 249, 0.96), rgba(244, 247, 249, 0));
}

.product-carousel:hover .carousel-edge {
  opacity: 1;
}

.application-strip {
  display: grid;
  gap: 14px;
}

.article-card {
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
}

.article-card > .tag,
.article-card h3,
.article-card p {
  margin-right: 20px;
  margin-left: 20px;
}

.article-card > .tag {
  margin-top: 18px;
}

.article-card p {
  margin-bottom: 22px;
}

.article-media {
  aspect-ratio: 16 / 9;
  background: #eef4f6;
}

.article-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-media {
  aspect-ratio: 4 / 3;
  background: #eef4f6;
  display: grid;
  place-items: center;
}

.product-gallery {
  position: sticky;
  top: 88px;
  display: grid;
  gap: 14px;
  min-width: 0;
  max-width: 100%;
}

.product-gallery .product-media {
  width: 100%;
  min-height: 260px;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 30px rgba(20, 32, 43, 0.06);
}

.product-gallery .product-media img,
.product-detail > .product-media img {
  width: 100%;
  height: 100%;
  min-width: 0;
  max-height: 420px;
  object-fit: contain;
  padding: 18px;
}

.product-gallery .product-media.small {
  aspect-ratio: 16 / 9;
}

.product-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 18px;
}

.product-body {
  padding: 20px;
}

.tag {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--accent-strong);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(320px, 1.12fr);
  gap: 48px;
  align-items: start;
  min-width: 0;
}

.split > * {
  min-width: 0;
}

.product-detail {
  grid-template-columns: minmax(230px, 0.54fr) minmax(0, 1.46fr);
  gap: 36px;
}

.product-detail-shell {
  display: grid;
  gap: 30px;
  min-width: 0;
}

.product-detail .prose,
.product-detail-shell > .prose {
  max-width: none;
}

.fact-list {
  display: grid;
  gap: 12px;
  margin: 0;
}

.fact-list div {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.fact-list dt {
  color: var(--muted);
}

.fact-list dd {
  margin: 0;
}

.site-footer {
  padding: 46px 0;
  color: #b8c7cf;
  background: #101b24;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
}

.site-footer a {
  color: #dceff2;
}

.page-hero {
  padding: 48px 0;
  background:
    linear-gradient(90deg, rgba(244, 247, 249, 0.96), rgba(244, 247, 249, 0.84)),
    url("/assets/brand/corpimg.png") center 28% / cover no-repeat;
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  color: var(--ink);
  font-size: 2.8rem;
}

.breadcrumbs {
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 0.9rem;
}

.prose {
  max-width: 780px;
  min-width: 0;
}

.prose p,
.prose li {
  color: var(--muted);
  overflow-wrap: anywhere;
}

.list-clean {
  margin: 0;
  padding: 0;
  list-style: none;
}

.list-clean li {
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}

.brand-banner {
  width: min(100%, 720px);
  margin: 0 0 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.cert-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.cert-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 18px;
}

.cert-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  background: #fff;
}

.cert-card h3 {
  margin: 12px 0 0;
}

.map-image {
  width: 100%;
  margin-top: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.news-article {
  max-width: 860px;
}

.application-detail {
  display: grid;
  gap: 34px;
}

.application-case {
  display: grid;
  grid-template-columns: minmax(260px, 0.38fr) minmax(0, 1fr);
  gap: 34px;
  align-items: start;
  padding-bottom: 34px;
  border-bottom: 1px solid var(--line);
}

.application-case:last-of-type {
  border-bottom: 0;
}

.application-case-media {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #eef4f6;
}

.application-case-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  padding: 14px;
}

.legacy-table-wrap {
  width: 100%;
  max-width: 100%;
  margin: 20px 0 28px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.legacy-table {
  width: 100%;
  min-width: 0;
  border-collapse: collapse;
  font-size: 0.92rem;
  table-layout: fixed;
}

.legacy-table td {
  min-width: 0;
  padding: 12px 14px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  vertical-align: top;
  overflow-wrap: anywhere;
}

.legacy-table tr:last-child td {
  border-bottom: 0;
}

.legacy-table td:last-child {
  border-right: 0;
}

.legacy-table td:first-child {
  width: 32%;
  color: var(--ink);
  background: #f6f9fb;
  font-weight: 700;
}

.spec-table {
  display: grid;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  margin: 0 0 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.spec-table div {
  display: grid;
  grid-template-columns: minmax(132px, 0.28fr) minmax(0, 1fr);
  border-bottom: 1px solid var(--line);
}

.spec-table div:last-child {
  border-bottom: 0;
}

.spec-table dt,
.spec-table dd {
  min-width: 0;
  margin: 0;
  padding: 12px 14px;
  overflow-wrap: anywhere;
}

.spec-table dt {
  color: var(--ink);
  background: #f6f9fb;
  font-weight: 700;
}

.spec-table dd {
  color: var(--muted);
}

.spec-image-section {
  min-width: 0;
}

.spec-image-section h2 {
  margin-bottom: 14px;
  font-size: 1.75rem;
  line-height: 1.2;
}

.spec-image-grid {
  display: grid;
  gap: 18px;
  min-width: 0;
}

.spec-image-frame {
  width: 100%;
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f7fafb;
  box-shadow: 0 12px 30px rgba(20, 32, 43, 0.06);
  cursor: zoom-in;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.spec-image-frame:hover,
.spec-image-frame:focus-visible {
  border-color: #b7d1d7;
  box-shadow: 0 18px 42px rgba(20, 32, 43, 0.12);
  transform: translateY(-2px);
}

.spec-image-frame img {
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
}

.image-zoom-dialog {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(8, 18, 28, 0.76);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease, visibility 180ms ease;
  visibility: hidden;
}

.image-zoom-dialog.open {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

.image-zoom-panel {
  position: relative;
  width: min(96vw, 1240px);
  max-height: 92vh;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.36);
  transform: scale(0.98);
  transition: transform 180ms ease;
}

.image-zoom-dialog.open .image-zoom-panel {
  transform: scale(1);
}

.image-zoom-panel img {
  width: 100%;
  max-height: 84vh;
  object-fit: contain;
  background: #f7fafb;
}

.image-zoom-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.image-zoom-close:hover,
.image-zoom-close:focus-visible {
  border-color: var(--accent);
  background: #ffffff;
  transform: translateY(-1px);
}

body.zoom-open {
  overflow: hidden;
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms cubic-bezier(0.2, 0.8, 0.2, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.article-hero-image {
  width: 100%;
  margin-bottom: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #eef4f6;
  object-fit: cover;
}

.catalog-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 30px;
  align-items: start;
  min-width: 0;
}

.catalog-sidebar {
  position: sticky;
  top: 86px;
  display: grid;
  gap: 8px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  min-width: 0;
  max-width: 100%;
}

.catalog-sidebar h2 {
  margin-bottom: 8px;
  font-size: 1.15rem;
}

.sidebar-group,
.sidebar-subgroup {
  display: grid;
  gap: 4px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}

.sidebar-link,
.sidebar-subgroup a {
  padding: 7px 8px;
  border-radius: 6px;
  color: var(--muted);
  text-decoration: none;
  line-height: 1.35;
}

.sidebar-link:hover,
.sidebar-link.active,
.sidebar-subgroup a:hover {
  color: var(--accent-strong);
  background: #eef6f7;
}

.sidebar-subgroup span {
  padding: 8px 8px 2px;
  color: var(--ink);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
}

@media (max-width: 900px) {
  .nav-toggle {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
  }

  .nav-links {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 64px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 12px;
  }

  .nav-item:hover .dropdown-panel,
  .nav-item:focus-within .dropdown-panel,
  .dropdown-panel {
    position: static;
    display: grid;
    width: auto;
    min-width: 0;
    max-width: none;
    padding: 0 0 10px 18px;
    border: 0;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    visibility: visible;
  }

  .wide-dropdown .dropdown-panel {
    width: auto;
    grid-template-columns: 1fr;
  }

  .menu-link {
    width: 100%;
  }

  .hero-grid,
  .split,
  .catalog-layout,
  .application-case {
    grid-template-columns: 1fr;
  }

  .product-gallery {
    position: static;
  }

  .catalog-sidebar {
    position: static;
    display: flex;
    gap: 8px;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 12px;
    scrollbar-width: thin;
  }

  .catalog-sidebar h2 {
    flex: 0 0 auto;
    margin: 0;
    padding: 7px 4px 7px 0;
    font-size: 0.95rem;
  }

  .catalog-sidebar .sidebar-group {
    display: contents;
  }

  .catalog-sidebar .sidebar-subgroup {
    display: none;
  }

  .catalog-sidebar .sidebar-link {
    flex: 0 0 auto;
    max-width: 78vw;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .catalog-sidebar > .sidebar-link {
    flex: 0 0 auto;
  }

  .hero-grid {
    min-height: auto;
    padding: 36px 0;
  }

  .hero-visual-frame {
    min-height: 300px;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 2.2rem;
  }

  .section-head h2 {
    font-size: 2rem;
  }

  .page-hero h1 {
    font-size: 2.6rem;
  }

  .grid.three,
  .grid.four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .container {
    width: min(100% - 24px, var(--max));
  }

  .brand-mark {
    min-width: 60px;
    min-height: 34px;
    font-size: 1.42rem;
  }

  .brand-logo {
    width: min(260px, 68vw);
    max-height: 38px;
  }

  section {
    padding: 44px 0;
  }

  h1 {
    font-size: 1.76rem;
  }

  .section-head h2 {
    font-size: 1.58rem;
  }

  .page-hero h1 {
    font-size: 1.9rem;
  }

  .section-head {
    display: block;
  }

  .hero-visual-frame {
    min-height: 240px;
  }

  .hero-metrics {
    display: none;
  }

  .hero-panel {
    display: none;
  }

  .grid.three:not(.product-grid),
  .grid.four {
    grid-template-columns: 1fr;
  }

  .product-grid.grid.three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .news-grid.grid.three {
    grid-template-columns: 1fr;
  }

  .product-grid .product-media {
    aspect-ratio: 1 / 0.82;
  }

  .product-grid .product-card img {
    padding: 8px;
  }

  .product-grid .product-body {
    padding: 10px;
  }

  .product-grid .tag {
    margin-bottom: 6px;
    font-size: 0.58rem;
    line-height: 1.2;
  }

  .product-grid .product-body h3 {
    font-size: 0.84rem;
    line-height: 1.25;
  }

  .product-grid .product-body p {
    display: -webkit-box;
    overflow: hidden;
    font-size: 0.74rem;
    line-height: 1.38;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
  }

  .cert-grid {
    grid-template-columns: 1fr;
  }

  .fact-list div {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .spec-table div {
    grid-template-columns: 1fr;
  }

  .spec-table dt {
    padding-bottom: 4px;
  }

  .spec-table dd {
    padding-top: 4px;
  }

  .spec-image-section h2 {
    font-size: 1.42rem;
  }

  .spec-image-frame {
    padding: 8px;
  }

  .image-zoom-dialog {
    padding: 12px;
  }

  .image-zoom-panel {
    padding: 8px;
  }

  .legacy-table,
  .legacy-table tbody,
  .legacy-table tr,
  .legacy-table td {
    display: block;
    width: 100%;
  }

  .legacy-table td {
    border-right: 0;
  }

  .legacy-table td:first-child {
    width: 100%;
    padding-bottom: 6px;
  }

  .legacy-table td:not(:first-child) {
    padding-top: 6px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }

  .card:hover,
  .carousel-control:hover,
  .spec-image-frame:hover,
  .image-zoom-close:hover {
    transform: none;
  }

  .reveal-on-scroll {
    opacity: 1;
    transform: none;
  }
}
