:root {
  --bg: #f5f8fb;
  --panel: #ffffff;
  --ink: #14233b;
  --muted: #5d6d83;
  --line: #d8e1eb;
  --teal: #00a7c8;
  --teal-dark: #006f9f;
  --amber: #4c9a2a;
  --graphite: #0f2747;
  --blue: #1d58a7;
  --shadow: 0 18px 48px rgba(15, 39, 71, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: "Segoe UI", "Noto Sans TC", "Microsoft JhengHei", Arial, sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 10;
  padding: 10px 14px;
  background: var(--ink);
  color: #fff;
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  background:
    linear-gradient(90deg, rgba(17, 58, 125, 0.98) 0%, rgba(18, 104, 175, 0.98) 56%, rgba(0, 157, 210, 0.98) 100%),
    var(--blue);
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 8px 28px rgba(15, 39, 71, 0.18);
}

.header-inner {
  min-height: 92px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 330px;
}

.brand-mark {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 136px;
  min-height: 58px;
  color: #fff;
  font-weight: 800;
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  text-shadow: 0 3px 14px rgba(0, 0, 0, 0.24);
}

.word-logo-main {
  display: block;
  font-size: 2.18rem;
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: 0.02em;
}

.word-logo-sub {
  display: block;
  margin-top: 7px;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1;
  color: rgba(255, 255, 255, 0.86);
  white-space: nowrap;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  color: #fff;
}

.brand small {
  color: rgba(255, 255, 255, 0.82);
}

.site-nav {
  display: flex;
  justify-content: center;
  flex: 1;
  gap: 4px;
}

.site-nav a,
.culture-switch a {
  padding: 10px 12px;
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.92);
  font-weight: 700;
}

.site-nav a.active,
.site-nav a:hover,
.culture-switch a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
}

.culture-switch {
  position: relative;
  flex: 0 0 auto;
  font-size: 0.92rem;
}

.culture-switch summary {
  list-style: none;
  cursor: pointer;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 6px;
  color: #fff;
  font-weight: 700;
  white-space: nowrap;
}

.culture-switch summary::-webkit-details-marker { display: none; }
.culture-switch summary::after { content: " ▾"; }
.culture-switch[open] summary,
.culture-switch summary:hover { background: rgba(255, 255, 255, 0.16); }
.culture-switch summary:focus-visible,
.culture-options a:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }

.culture-options {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 144px;
  padding: 6px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.culture-options a {
  display: block;
  color: var(--ink);
  border-radius: 4px;
  padding: 8px 10px;
}

.culture-options a:hover,
.culture-options a[aria-current="page"] { background: #eaf3fb; color: var(--blue); }

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.08);
  border-radius: 6px;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: #fff;
}

.hero {
  padding: 74px 0 58px;
  background: linear-gradient(180deg, #eaf3fb 0%, #f5f8fb 100%);
}

.hero-grid,
.split,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
  gap: 42px;
  align-items: center;
}

.hero-copy h1,
.page-hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  line-height: 1.08;
}

.hero-copy p,
.page-hero p {
  max-width: 720px;
  color: var(--muted);
  font-size: 1.08rem;
}

.hero-image,
.feature-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.eyebrow,
.tag {
  margin: 0 0 10px;
  color: var(--amber);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-actions,
.filter-bar,
.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.detail-panel,
.article-content {
  padding: 28px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 28px rgba(15, 39, 71, 0.07);
}

.product-tools {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.product-search {
  display: flex;
  align-items: end;
  gap: 12px;
  width: min(720px, 100%);
}

.product-search label {
  display: grid;
  flex: 1;
  gap: 6px;
  color: var(--muted);
  font-weight: 700;
}

.product-search input {
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font: inherit;
}

.result-count {
  margin: 0;
  color: var(--muted);
  white-space: nowrap;
}

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

.button,
.filter-bar a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-weight: 700;
}

.button.primary {
  color: #fff;
  background: var(--blue);
  border-color: var(--blue);
}

.button.secondary,
.filter-bar a.active {
  color: var(--teal-dark);
  background: #e6f8fc;
  border-color: #a7ddea;
}

.section {
  padding: 70px 0;
}

.section-heading {
  margin-bottom: 22px;
}

.section-heading h2,
.page-hero h1,
.locations h2 {
  margin-top: 0;
}

.band {
  background: #fff;
  border-block: 1px solid var(--line);
}

.page-hero {
  padding: 70px 0;
  background: #eaf3fb;
}

.page-hero.compact {
  padding: 52px 0;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.product-card,
.capability-list article,
.locations article,
.news-list article,
.timeline article,
.contact-form,
.application-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 28px rgba(15, 39, 71, 0.07);
}

.application-section {
  background: linear-gradient(180deg, #ffffff 0%, #f2f7fb 100%);
}

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

.application-card {
  min-height: 390px;
  padding: 0;
  overflow: hidden;
  border-top: 4px solid var(--teal);
}

.application-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #dfeaf4;
}

.application-card > div {
  padding: 22px 24px 24px;
}

.application-card span {
  display: block;
  margin-bottom: 14px;
  color: var(--blue);
  font-size: 1.15rem;
  font-weight: 800;
}

.application-card small {
  display: block;
  margin-top: 18px;
  color: var(--muted);
  font-weight: 700;
}

.product-card {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  min-height: 250px;
  overflow: hidden;
}

.product-card.large {
  grid-template-columns: 240px minmax(0, 1fr);
}

.product-card img {
  width: 100%;
  height: 100%;
  min-height: 250px;
  object-fit: cover;
}

.product-card > div {
  padding: 22px;
}

.product-family-section {
  background: #fff;
}

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

.product-family-card {
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 28px rgba(15, 39, 71, 0.08);
}

.product-family-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #dfeaf4;
}

.product-family-card > div {
  padding: 22px;
}

.product-family-card span {
  display: block;
  color: var(--blue);
  font-size: 1.12rem;
  font-weight: 900;
}

.product-family-card p {
  min-height: 3.2em;
  color: var(--muted);
}

.product-family-card small {
  display: block;
  margin-bottom: 14px;
  color: var(--teal-dark);
  font-weight: 800;
}

.product-family-card a,
.catalog-table a {
  color: var(--blue);
  font-weight: 800;
}

.catalog-filter {
  margin-bottom: 18px;
}

/* 分類連結的錨點停在固定頁首下方，讓結果數量與篩選列直接可見。 */
#catalog-results { scroll-margin-top: 92px; }

.catalog-guide {
  background: #eef5f9;
  padding: 32px 0;
}

.catalog-guide-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.catalog-guide h2 { margin: 6px 0 10px; }
.catalog-guide p:last-child { max-width: 760px; margin: 0; color: var(--muted); line-height: 1.7; }
.catalog-guide .button { flex: 0 0 auto; }

@media (max-width: 720px) {
  .catalog-guide-inner { flex-direction: column; align-items: flex-start; }
}

.catalog-table-wrap {
  overflow-x: auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 28px rgba(15, 39, 71, 0.08);
}

.catalog-table {
  width: 100%;
  min-width: 1060px;
  border-collapse: collapse;
}

.catalog-table th,
.catalog-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: middle;
}

.catalog-table th {
  color: var(--graphite);
  background: #eef5fb;
  font-size: 0.84rem;
  text-transform: uppercase;
}

.catalog-table td {
  color: var(--ink);
}

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

.catalog-table img {
  width: 96px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 6px;
}

.catalog-table strong,
.catalog-table span {
  display: block;
}

.catalog-table span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.82rem;
}

dl {
  display: grid;
  gap: 10px;
  margin: 18px 0;
}

dl div {
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr);
  gap: 12px;
}

dt {
  color: var(--muted);
  font-weight: 700;
}

dd {
  margin: 0;
}

.capability-list {
  display: grid;
  gap: 16px;
}

.capability-list article {
  padding: 22px;
}

.capability-list.detail article {
  padding: 28px;
}

.news-list {
  display: grid;
  gap: 16px;
}

.news-list article {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 20px;
  padding: 24px;
}

.news-list article.has-image {
  grid-template-columns: 130px minmax(0, 1fr) minmax(220px, 320px);
  align-items: start;
}

.news-list time {
  color: var(--teal-dark);
  font-weight: 800;
}

.news-list-image,
.news-detail-image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 6px;
}

.news-list-image {
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.news-list-photo {
  overflow: hidden;
  border-radius: 6px;
}

.news-detail-image {
  max-width: 900px;
  margin-bottom: 28px;
}

.news-list-image[src*="embedded-world-2024"] {
  object-fit: contain;
  background: #eaf3fb;
}

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

.news-gallery figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.news-gallery img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: top;
}

.news-gallery figcaption {
  padding: 14px;
  color: var(--blue);
  font-weight: 700;
}

@media (max-width: 780px) {
  .news-gallery { grid-template-columns: 1fr; }
  .news-gallery img { aspect-ratio: auto; }
}

.timeline {
  display: grid;
  gap: 14px;
}

.timeline article {
  padding: 24px;
}

.timeline span {
  color: var(--blue);
  font-weight: 900;
}

.about-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: clamp(32px, 6vw, 76px);
  align-items: center;
}

.about-statement h2 {
  margin: 8px 0 20px;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.15;
}

.about-statement p:last-child { color: var(--muted); font-size: 1.08rem; }
.about-capabilities { background: #0f3150; color: #fff; }
.about-capabilities .eyebrow { color: #7dd3fc; }

.about-card-grid,
.value-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.about-card-grid article,
.value-grid article {
  padding: 28px;
  border-radius: 16px;
}

.about-card-grid article { background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.16); }
.about-card-grid span { color: #7dd3fc; font-weight: 900; }
.about-card-grid h3, .value-grid h3 { margin: 18px 0 10px; font-size: 1.35rem; }
.about-card-grid p { color: #d5e8f5; }
.value-grid article { background: var(--panel); border: 1px solid var(--line); }
.value-grid h3 { color: var(--blue); }
.process-section { background: #eaf3fb; }

.process-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding: 0;
  list-style: none;
}

.process-list li { padding: 22px; background: #fff; border-top: 4px solid var(--blue); }
.process-list span { display: block; margin-bottom: 14px; color: var(--blue); font-weight: 900; }

.company-facts-band { padding: 38px 0; color: #fff; background: var(--graphite); }
.company-facts-band .eyebrow { color: #7dd3fc; }
.company-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.company-facts article { display: grid; gap: 4px; padding-left: 18px; border-left: 3px solid var(--teal); }
.company-facts strong { font-size: clamp(1.7rem, 3vw, 2.5rem); }
.company-facts span { color: #c8d7e5; }

.facility-section { background: #fff; }
.facility-section .section-heading p:last-child { max-width: 820px; color: var(--muted); }
.facility-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.facility-grid article { overflow: hidden; background: var(--panel); border: 1px solid var(--line); border-radius: 8px; box-shadow: var(--shadow); }
.facility-grid img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.facility-grid article:first-child img { object-position: center 42%; }
.facility-grid article > div { padding: 24px; }
.facility-grid span { color: var(--teal-dark); font-weight: 900; }
.facility-grid h3 { margin: 6px 0 10px; font-size: 1.4rem; }
.facility-grid p { color: var(--muted); }

.history-section { background: #eaf3fb; }
.history-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.history-grid article { padding: 24px; background: #fff; border-top: 4px solid var(--blue); }
.history-grid strong { color: var(--blue); font-size: 1.45rem; }
.history-grid p { color: var(--muted); }

.technology-intro-section { color: #fff; background: var(--graphite); }
.technology-intro { display: grid; grid-template-columns: 1.2fr 0.8fr; align-items: center; gap: 48px; }
.technology-intro h2 { margin: 4px 0 16px; font-size: clamp(2rem, 3vw, 2.7rem); }
.technology-intro p:last-child { color: #c8d7e5; }
.technology-team-list { display: flex; flex-wrap: wrap; gap: 10px; }
.technology-team-list span { padding: 10px 16px; border: 1px solid rgba(255,255,255,.26); border-radius: 999px; font-weight: 800; }
.technology-card-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.technology-card { overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 8px 28px rgba(15,39,71,.08); }
.technology-card img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; background: #eaf3fb; }
.technology-card > div { padding: 26px; }
.technology-card h2 { margin: 0 0 10px; font-size: 1.45rem; }
.technology-card p { color: var(--muted); }
.technology-card li { margin-bottom: 6px; }
.technology-process-section { background: #eaf3fb; }
.technology-process-section .section-heading p:last-child { max-width: 860px; color: var(--muted); }
.process-flow { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 2px; }
.process-flow span { padding: 22px 12px; color: #fff; background: var(--blue); text-align: center; font-weight: 800; }
.process-flow span:nth-child(even) { background: var(--teal-dark); }
.quality-system-section { color: #fff; background: var(--graphite); }
.quality-system { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 42px; }
.quality-system h2 { margin-top: 0; }
.quality-system p { color: #c8d7e5; }
.quality-standards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.quality-standards strong { padding: 22px 12px; color: var(--graphite); background: #fff; text-align: center; }

.locations,
.contact-form {
  align-self: start;
}

.locations article {
  padding: 20px;
  margin-bottom: 14px;
}

.locations-hero {
  position: relative;
  min-height: clamp(430px, 54vw, 620px);
  display: grid;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background: #061d45;
}

.locations-hero::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(4, 24, 59, 0.98) 0%, rgba(4, 24, 59, 0.82) 32%, rgba(4, 24, 59, 0.08) 72%);
}

.locations-hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.locations-hero-content {
  position: relative;
  z-index: 1;
}

.locations-hero-content h1 {
  max-width: 650px;
  margin: 6px 0 18px;
  font-size: clamp(2.4rem, 5vw, 4.6rem);
  line-height: 1.08;
}

.locations-hero-content p:last-child {
  max-width: 620px;
  color: #d9eaf8;
  font-size: 1.08rem;
}

.global-location-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.global-location-card {
  position: relative;
  min-height: 330px;
  padding: 30px;
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--line);
  border-top: 4px solid var(--teal);
  border-radius: 8px;
  box-shadow: 0 8px 28px rgba(15, 39, 71, 0.07);
}

.location-card-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.location-code {
  color: var(--teal-dark);
  font-weight: 900;
  letter-spacing: 0.12em;
}

.location-status {
  padding: 5px 10px;
  color: #17643b;
  background: #e5f5ec;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 800;
}

.location-status.planned {
  color: #74540a;
  background: #fff4d6;
}

.location-country {
  margin: 26px 0 0;
  color: var(--muted);
  font-weight: 700;
}

.global-location-card h2 {
  margin: 2px 0 0;
  color: var(--blue);
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.1;
}

.global-location-card h3 {
  margin: 14px 0 8px;
  font-size: 1.05rem;
}

.global-location-card > p:last-of-type {
  color: var(--muted);
}

.location-meta {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.location-meta div {
  grid-template-columns: 110px 1fr;
}

.location-meta dd {
  color: var(--ink);
  font-size: 1.15rem;
  font-weight: 900;
}

.locations-cta-section {
  color: #fff;
  background: var(--graphite);
}

.locations-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.locations-cta h2 {
  margin: 0;
}

.locations-cta p {
  margin-bottom: 0;
  color: #c8d7e5;
}

.locations-cta .button.primary {
  flex: 0 0 auto;
  background: var(--teal-dark);
  border-color: var(--teal-dark);
}

.contact-form {
  display: grid;
  gap: 10px;
  padding: 26px;
}

.contact-mail-note {
  margin: 0 0 8px;
  padding: 12px 14px;
  color: var(--ink);
  background: #eaf3fb;
  border-left: 3px solid var(--blue);
  overflow-wrap: anywhere;
}

.contact-form label {
  display: grid;
  gap: 6px;
  font-weight: 700;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font: inherit;
}

.contact-form span {
  color: #a23232;
  min-height: 1.2em;
}

.success {
  margin: 0 0 10px;
  padding: 12px 14px;
  color: #114a2d;
  background: #e5f5ec;
  border: 1px solid #bfe3ce;
  border-radius: 6px;
}

.site-footer {
  padding: 34px 0;
  color: #d9e1e8;
  background: var(--graphite);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 28px;
}

.footer-links {
  display: grid;
  gap: 8px;
}

.analytics-notice {
  font-size: .82rem;
  line-height: 1.5;
  opacity: .8;
}

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

@media (max-width: 980px) {
  .news-list article.has-image {
    grid-template-columns: 100px minmax(0, 1fr);
  }

  .news-list-photo {
    grid-column: 2;
    max-width: 320px;
  }
  .header-inner {
    flex-wrap: wrap;
  }

  .nav-toggle {
    display: block;
    margin-left: auto;
  }

  .site-nav {
    display: none;
    order: 4;
    flex-basis: 100%;
    flex-direction: column;
    padding-bottom: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.22);
  }

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

  .hero-grid,
  .split,
  .about-intro,
  .contact-grid,
  .footer-grid,
  .application-grid,
  .product-family-grid,
  .global-location-grid,
  .company-facts,
  .facility-grid,
  .history-grid,
  .technology-intro,
  .technology-card-grid,
  .quality-system {
    grid-template-columns: 1fr;
  }

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

  .culture-switch {
    margin-left: auto;
  }
}

@media (max-width: 680px) {
  .shell {
    width: min(100% - 24px, 1180px);
  }

  .hero,
  .section,
  .page-hero {
    padding: 42px 0;
  }

  .brand {
    min-width: 0;
  }

  .brand-mark {
    width: 112px;
    min-height: 48px;
  }

  .word-logo-main {
    font-size: 1.8rem;
  }

  .word-logo-sub {
    font-size: 0.62rem;
  }

  .brand strong {
    font-size: 0.92rem;
  }

  .brand small {
    display: none;
  }

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

  .about-card-grid,
  .value-grid,
  .process-list {
    grid-template-columns: 1fr;
  }

  .product-card,
  .product-card.large,
  .news-list article {
    grid-template-columns: 1fr;
  }

  .news-list article.has-image {
    grid-template-columns: 1fr;
  }

  .news-list-photo {
    grid-column: 1;
  }

  .product-card img {
    min-height: auto;
    aspect-ratio: 16 / 9;
  }

  dl div {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .product-tools,
  .product-search {
    align-items: stretch;
    flex-direction: column;
  }

  .locations-hero {
    min-height: 500px;
  }

  .locations-hero::after {
    background: linear-gradient(180deg, rgba(4, 24, 59, 0.94) 0%, rgba(4, 24, 59, 0.76) 60%, rgba(4, 24, 59, 0.3) 100%);
  }

  .locations-hero > img {
    object-position: 66% center;
  }

  .locations-cta {
    align-items: stretch;
    flex-direction: column;
  }

  .process-flow,
  .quality-standards { grid-template-columns: 1fr; }
}
