:root {
  --font-sans: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
  --font-serif: "Noto Serif TC", serif;
  --ink: #13202f;
  --ink-2: #24364a;
  --muted: #566577;
  --line: #dae3ed;
  --bg: #f4f7fb;
  --card: #ffffff;
  --brand: #00438c;
  --brand-dark: #00336b;
  --accent-light: #5ccbf7;
  --accent: #00a0e6;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(0, 51, 107, 0.09);
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.75;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
.container { width: min(var(--max), 100% - 32px); margin-inline: auto; }

html:lang(en) {
  --font-sans: "Noto Sans", "Helvetica Neue", Arial, sans-serif;
  --font-serif: "Noto Serif", Georgia, serif;
}
html:lang(ja) {
  --font-sans: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
  --font-serif: "Noto Serif JP", serif;
}
html:lang(en) body { letter-spacing: 0; line-height: 1.65; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; gap: 16px; height: 68px; }
.nav .brand { margin-right: auto; }
.lang-switch {
  display: flex; align-items: center; gap: 2px; padding: 3px; border: 1px solid var(--line); border-radius: 999px; flex: none;
}
.lang-switch svg { width: 16px; height: 16px; color: var(--muted); margin: 0 4px 0 6px; }
.lang-switch a {
  font-size: 13px; padding: 4px 10px; border-radius: 999px; color: var(--ink-2); line-height: 1.4; white-space: nowrap;
  transition: background 0.2s, color 0.2s;
}
.lang-switch a:hover { color: var(--brand); background: #e8f1fb; }
.lang-switch a.active { background: var(--brand); color: #fff; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.brand img { height: 50px; width: auto; }
.nav-links { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  padding: 8px 14px; border-radius: 8px; font-size: 15px; color: var(--ink-2); white-space: nowrap; display: block;
  transition: background 0.2s, color 0.2s;
}
.nav-links a:hover { background: #e8f1fb; color: var(--brand-dark); }
.nav-cta { background: var(--brand); color: #fff !important; }
.nav-cta:hover { background: var(--brand-dark) !important; }
.nav-toggle {
  display: none; background: none; border: 0; padding: 8px; cursor: pointer; flex: none;
}
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; transition: 0.25s; }

/* ---------- Hero (industry slideshow) ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff; background: #002a5c;
  min-height: min(760px, calc(100vh - 68px)); display: flex; flex-direction: column;
}
.hero-slides { position: absolute; inset: 0; }
.hero-slide {
  position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity 1.2s ease;
}
.hero-slide.is-active { opacity: 1; }
.hero-slide img {
  width: 100%; height: 100%; object-fit: cover; object-position: 70% center;
  transform: scale(1.04); transition: transform 7s ease-out;
}
.hero-slide.is-active img { transform: scale(1.12); }
.hero-meta {
  position: absolute; right: 16px; bottom: 76px; z-index: 2; display: flex; align-items: center; gap: 12px;
}
.hero-credit {
  display: none; font-size: 11px; line-height: 1.4; color: rgba(255, 255, 255, 0.75); text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
}
.hero-credit.is-active { display: block; }
.hero-credit:hover { color: #fff; text-decoration: underline; }
.hero-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 30, 66, 0.92) 0%, rgba(0, 42, 92, 0.72) 38%, rgba(0, 42, 92, 0.15) 70%, rgba(0, 42, 92, 0) 100%),
    linear-gradient(0deg, rgba(0, 25, 55, 0.75) 0%, rgba(0, 25, 55, 0) 35%);
}
.hero-inner { position: relative; flex: 1; display: flex; align-items: center; padding: 88px 0 48px; }
.hero-copy { max-width: 720px; }
.hero-pause {
  width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.3); background: rgba(255, 255, 255, 0.08);
  cursor: pointer; display: grid; place-items: center; flex: none;
}
.hero-pause span { width: 10px; height: 12px; border-left: 3px solid #fff; border-right: 3px solid #fff; }
.hero.paused .hero-pause span {
  width: 0; height: 0; border-style: solid; border-width: 7px 0 7px 11px; border-color: transparent transparent transparent #fff; margin-left: 3px;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; letter-spacing: 0.18em; color: var(--accent-light); font-weight: 600;
}
.eyebrow::before { content: ""; width: 24px; height: 2px; background: currentColor; }
.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(34px, 5vw, 56px); line-height: 1.25; margin: 16px 0 20px; font-weight: 700;
}
.hero h1 em { font-style: normal; background: linear-gradient(90deg, #ffffff, var(--accent-light)); -webkit-background-clip: text; background-clip: text; color: transparent; }
html:lang(ja) .hero h1, html:lang(ja) .section-head h2 { word-break: keep-all; overflow-wrap: anywhere; }
.hero p { font-size: 17px; color: #d4e3f2; max-width: 34em; margin: 0 0 32px; }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px; border-radius: 999px; font-weight: 600; font-size: 15px;
  transition: transform 0.2s, background 0.2s, box-shadow 0.2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 8px 24px rgba(0, 67, 140, 0.4); }
.btn-primary:hover { background: var(--brand-dark); }
.hero .btn-primary { background: #fff; color: var(--brand); box-shadow: 0 8px 24px rgba(0, 20, 50, 0.3); }
.hero .btn-primary:hover { background: #e3f5fd; }
.btn-ghost { border: 1px solid rgba(255, 255, 255, 0.35); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.08); }

.hero-stats {
  position: relative; margin-top: -56px; z-index: 2;
}
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow);
}
.stat { padding: 28px 24px; text-align: center; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat b { display: block; font-size: 28px; color: var(--brand); font-weight: 700; }
.stat span { font-size: 14px; color: var(--muted); }

/* ---------- Sections ---------- */
section { padding: 96px 0; }
.section-head { max-width: 680px; margin-bottom: 48px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head h2 {
  font-family: var(--font-serif); font-size: clamp(28px, 3.6vw, 40px); line-height: 1.3; margin: 12px 0 14px;
}
.section-head p { color: var(--muted); margin: 0; font-size: 16px; }
.eyebrow.dark { color: var(--brand); }

/* About */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.about-copy p { color: var(--ink-2); margin: 0 0 16px; }
.timeline { list-style: none; padding: 0; margin: 28px 0 0; border-left: 2px solid var(--line); }
.timeline li { position: relative; padding: 0 0 18px 24px; }
.timeline li::before {
  content: ""; position: absolute; left: -7px; top: 8px; width: 12px; height: 12px; border-radius: 50%;
  background: var(--card); border: 3px solid var(--brand);
}
.timeline b { color: var(--brand-dark); margin-right: 8px; }
.about-visual {
  position: relative; border-radius: 20px; overflow: hidden; min-height: 420px;
  background: linear-gradient(135deg, #00438c, #002a5c);
  display: grid; place-items: center; padding: 32px;
}
.about-visual .spectrum { width: 100%; }
.about-badge {
  position: absolute; left: 24px; bottom: 24px; right: 24px;
  background: rgba(255, 255, 255, 0.96); border-radius: 12px; padding: 16px 20px;
  display: flex; gap: 14px; align-items: center;
}
.about-badge b { font-size: 26px; color: var(--brand); }
.about-badge span { font-size: 14px; color: var(--muted); line-height: 1.5; }

/* Products */
.products { background: var(--card); }
.filter-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.chip {
  border: 1px solid var(--line); background: var(--bg); padding: 8px 16px; border-radius: 999px;
  font: inherit; font-size: 14px; cursor: pointer; color: var(--ink-2); transition: 0.2s;
}
.chip:hover { border-color: var(--brand); color: var(--brand-dark); }
.chip.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.product-card {
  position: relative; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
  display: flex; flex-direction: column;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; background: #fff; }
.product-card.hidden { display: none; }
.p-icon {
  width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 18px;
  background: linear-gradient(135deg, #e2eefa, #e3f5fd); color: var(--brand-dark);
}
.p-icon svg { width: 28px; height: 28px; }
.product-card h3 { margin: 0 0 4px; font-size: 19px; }
.product-card .en { font-size: 12px; letter-spacing: 0.12em; color: var(--muted); text-transform: uppercase; margin-bottom: 10px; }
.product-card p { margin: 0 0 16px; color: var(--muted); font-size: 15px; flex: 1; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tags span, .tags a { font-size: 12px; padding: 3px 10px; border-radius: 6px; background: #e6eef6; color: var(--ink-2); }
.tags a { text-decoration: none; transition: background 0.2s, color 0.2s; }
.tags a:hover { background: var(--brand); color: #fff; }

/* Industries */
.industries { background: linear-gradient(180deg, var(--bg), #e9f1f9); }
.industry-catalog { --cols: 3; --gap: 18px; display: flex; flex-wrap: wrap; justify-content: center; gap: var(--gap); }
.industry-catalog > .industry-card { width: calc((100% - (var(--cols) - 1) * var(--gap)) / var(--cols)); }
@media (max-width: 980px) { .industry-catalog { --cols: 2; } }
@media (max-width: 560px) { .industry-catalog { --cols: 1; } }
.industry-card {
  display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 20px 18px; transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.industry-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #b9cfe6; }
.ind-icon {
  width: 50px; height: 50px; border-radius: 12px; display: grid; place-items: center;
  background: linear-gradient(135deg, #e2eefa, #e3f5fd); color: var(--brand);
}
.ind-icon svg { width: 28px; height: 28px; }
.industry-card h3 { margin: 14px 0 2px; font-size: 18px; }
.ind-tag { font-size: 12px; font-weight: 600; letter-spacing: 0.06em; color: #0072a8; }
.industry-card p { margin: 8px 0 0; font-size: 14px; line-height: 1.7; color: var(--muted); flex: 1; }
.ind-products { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 6px; }
.ind-label { width: 100%; font-size: 11px; letter-spacing: 0.08em; color: var(--muted); }
.ind-products a {
  font-size: 12px; padding: 3px 9px; border-radius: 6px; background: #e6eef6; color: var(--ink-2);
  transition: background 0.2s, color 0.2s;
}
.ind-products a:hover, .ind-products a:focus-visible { background: var(--brand); color: #fff; }
.product-card.flash { animation: card-flash 1.6s ease; }
@keyframes card-flash {
  0%, 100% { box-shadow: none; border-color: var(--line); }
  20%, 60% { box-shadow: 0 0 0 3px var(--accent), var(--shadow); border-color: transparent; background: #fff; }
}

/* Talk to an engineer */
.engineer { background: var(--card); }
.engineer-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 48px; align-items: start; }
.engineer-grid > *, .newsletter-inner > * { min-width: 0; }
.engineer-intro h2 { overflow-wrap: break-word; }
.engineer-intro h2 { font-family: var(--font-serif); font-size: clamp(26px, 3.2vw, 38px); line-height: 1.3; margin: 12px 0 14px; }
html:lang(ja) .engineer-intro h2 { word-break: keep-all; overflow-wrap: anywhere; }
.engineer-lead { color: var(--muted); margin: 0 0 28px; }
.engineer-intro h3 { font-size: 16px; margin: 0 0 14px; }
.help-list { list-style: none; margin: 0 0 28px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; }
.help-list li { display: flex; gap: 12px; align-items: flex-start; }
.help-list .p-icon { width: 42px; height: 42px; margin: 0; flex: none; border-radius: 10px; }
.help-list .p-icon svg { width: 22px; height: 22px; }
.help-list b { display: block; font-size: 15px; }
.help-list p { margin: 2px 0 0; font-size: 13px; color: var(--muted); line-height: 1.6; }
.engineer-form { background: var(--bg); border: 1px solid var(--line); box-shadow: none; }
.engineer-form h3 { margin: 0 0 18px; font-size: 20px; color: var(--brand); }
.engineer-form textarea { min-height: 110px; }
.field-note { margin-top: 6px; font-size: 12px; color: var(--muted); }

/* Newsletter */
.newsletter {
  padding: 64px 0; color: #fff;
  background:
    radial-gradient(700px 300px at 0% 100%, rgba(0, 160, 230, 0.3), transparent 60%),
    linear-gradient(120deg, #00438c, #002a5c);
}
.newsletter-inner { display: grid; grid-template-columns: 1fr 1.15fr; gap: 48px; align-items: center; }
.newsletter-copy h2 { font-family: var(--font-serif); font-size: clamp(24px, 3vw, 34px); margin: 12px 0 10px; }
.newsletter-copy p { margin: 0; color: #c6d8ea; }
.nl-row { display: flex; gap: 10px; }
.nl-row input {
  flex: 1; min-width: 0; font: inherit; font-size: 16px; padding: 13px 18px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.3); background: rgba(255, 255, 255, 0.95); color: var(--ink);
}
.nl-row input:focus { outline: 3px solid rgba(92, 203, 247, 0.6); outline-offset: 1px; }
.newsletter .btn-primary { background: #fff; color: var(--brand); border: 0; cursor: pointer; font: inherit; font-weight: 700; }
.newsletter .btn-primary:hover { background: #e3f5fd; }
.newsletter .btn-primary:disabled { opacity: 0.6; cursor: wait; }
.nl-consent { margin-top: 14px; font-size: 13px; color: #c6d8ea; line-height: 1.6; }
.nl-status { margin: 12px 0 0; font-size: 14px; font-weight: 600; min-height: 1.4em; }
.nl-status[data-kind="success"] { color: #9ff0c8; }
.nl-status[data-kind="error"] { color: #ffc2b3; }
.nl-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
@media (max-width: 980px) {
  .engineer-grid, .newsletter-inner { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 560px) {
  .help-list { grid-template-columns: 1fr; }
  .nl-row { flex-direction: column; }
  .nl-row .btn { justify-content: center; }
}

/* Quality */
.quality { background: linear-gradient(160deg, #002a5c, #00396f); color: #fff; }
.quality .section-head p { color: #b6cae0; }
.cert-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cert {
  border: 1px solid rgba(255, 255, 255, 0.12); border-radius: var(--radius); padding: 32px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0));
}
.cert b { display: block; font-size: 26px; font-weight: 700; color: var(--accent-light); margin-bottom: 6px; }
.cert h3 { margin: 0 0 10px; font-size: 18px; }
.cert p { margin: 0; color: #b6cae0; font-size: 15px; }
.cert { display: flex; flex-direction: column; }
.cert p { flex: 1; }
.cert-doc { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, 0.14); color: var(--accent-light); font-size: 14px; font-weight: 600; text-decoration: none; }
.cert-doc svg { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; }
.cert-doc:hover { color: #fff; }
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 56px; counter-reset: step; }
.step { position: relative; padding: 0 20px 0 0; }
.step::before {
  counter-increment: step; content: "0" counter(step);
  display: block; font-size: 14px; color: var(--accent-light); font-weight: 700; letter-spacing: 0.1em; margin-bottom: 8px;
}
.step::after { content: ""; position: absolute; top: 10px; left: 40px; right: 12px; height: 1px; background: rgba(255, 255, 255, 0.15); }
.step:last-child::after { display: none; }
.step h4 { margin: 0 0 6px; font-size: 17px; }
.step p { margin: 0; color: #b6cae0; font-size: 14px; }


/* Contact */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 40px; }
.contact-info { background: var(--card); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); }
.contact-item { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.contact-item:last-child { border-bottom: 0; }
.contact-item svg { width: 22px; height: 22px; color: var(--brand); flex: none; margin-top: 4px; }
.contact-item h4 { margin: 0; font-size: 13px; color: var(--muted); font-weight: 500; }
.contact-item p, .contact-item a { margin: 0; font-size: 16px; font-weight: 500; word-break: break-word; }
.contact-item a:hover { color: var(--brand-dark); }
.form { background: var(--card); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; margin-bottom: 16px; }
.field label { font-size: 14px; font-weight: 500; margin-bottom: 6px; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 15px; padding: 11px 14px; border: 1px solid var(--line); border-radius: 10px;
  background: var(--bg); color: var(--ink); transition: border-color 0.2s, box-shadow 0.2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(0, 67, 140, 0.15); background: #fff;
}
.field textarea { min-height: 120px; resize: vertical; }
.form .btn { border: 0; cursor: pointer; width: 100%; justify-content: center; }
.form-note { font-size: 13px; color: var(--muted); margin: 12px 0 0; text-align: center; }

/* Footer */
.site-footer { background: #001d3d; color: #a9c0d8; padding: 56px 0 28px; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer-logo { display: inline-block; background: #fff; border-radius: 10px; padding: 8px 12px; margin-bottom: 14px; }
.footer-logo img { height: 40px; width: auto; }
.site-footer h4 { color: #fff; margin: 0 0 14px; font-size: 15px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a:hover { color: #fff; }
.footer-bottom {
  margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: 13px;
}

/* Back to top */
.to-top {
  position: fixed; right: 20px; bottom: 20px; width: 46px; height: 46px; border-radius: 50%;
  background: var(--brand); color: #fff; display: grid; place-items: center; border: 0; cursor: pointer;
  box-shadow: 0 8px 20px rgba(0, 67, 140, 0.4); opacity: 0; pointer-events: none; transition: 0.3s; z-index: 40;
}
.to-top.show { opacity: 1; pointer-events: auto; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .hero-slide, .hero-slide img { transition: none; transform: none !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1200px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 8px 16px 16px;
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { display: block; padding: 12px; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}
@media (max-width: 980px) {
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .product-grid, .cert-grid { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(2, 1fr); row-gap: 28px; }
  .step::after { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  /* phones: image band on top, industry tabs, then copy */
  .hero { min-height: 0; padding: 0; background: linear-gradient(180deg, #002a5c, #00438c); }
  .hero-slides { position: relative; height: 62vw; max-height: 360px; flex: none; overflow: hidden; }
  .hero-slide img { object-position: 72% center; }
  .hero-shade { bottom: auto; height: 62vw; max-height: 360px; background: linear-gradient(180deg, rgba(0, 42, 92, 0) 55%, #002a5c 100%); }
  .hero-meta { top: calc(min(62vw, 360px) - 46px); bottom: auto; right: 12px; }
  .hero-inner { order: 2; padding: 28px 0 88px; }
  .hero h1 { font-size: clamp(26px, 7vw, 34px); }
  .eyebrow { letter-spacing: 0.1em; font-size: 12px; }
  .lang-switch svg { display: none; }
  .lang-switch a { padding: 4px 8px; font-size: 12px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  section { padding: 72px 0; }
}
@media (max-width: 560px) {
  .brand img { height: 38px; }
  .product-grid, .cert-grid, .form-row, .footer-grid { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr; }
}

/* 404 */
.hero.nf { min-height: 100vh; justify-content: center; text-align: center; background: linear-gradient(160deg, #002a5c, #00438c); }
.nf-logo { height: 48px; width: auto; margin: 0 auto 24px; background: #fff; border-radius: 10px; padding: 6px 10px; box-sizing: content-box; }
.nf-block { margin: 18px 0 30px; }
.nf-block h1 { margin: 6px 0; font-size: clamp(24px, 4vw, 36px); }
.nf-block p { margin: 0 auto 14px; color: #d4e3f2; }

/* ======================================================================
   About page
   ====================================================================== */
.nav-links a.current { color: var(--brand); font-weight: 700; }
.about-more { margin-top: 28px; }

.page-hero {
  position: relative; overflow: hidden; color: #fff; padding: 64px 0 80px;
  background:
    radial-gradient(900px 400px at 90% 0%, rgba(0, 160, 230, 0.35), transparent 60%),
    linear-gradient(160deg, #002a5c 0%, #00438c 100%);
}
.page-hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.08;
  background-image: linear-gradient(rgba(255, 255, 255, 0.6) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.6) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(90deg, transparent, #000 70%);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { font-family: var(--font-serif); font-size: clamp(30px, 4.6vw, 52px); line-height: 1.25; margin: 14px 0 16px; }
.page-hero p { color: #d4e3f2; max-width: 40em; margin: 0; font-size: 17px; }
html:lang(ja) .page-hero h1 { word-break: keep-all; overflow-wrap: anywhere; }
.breadcrumb { display: flex; gap: 8px; font-size: 13px; color: #a9c0d8; margin-bottom: 28px; }
.breadcrumb a:hover { color: #fff; text-decoration: underline; }

.fact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fact {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px;
  box-shadow: var(--shadow);
}
.fact b { display: block; font-size: 30px; color: var(--brand); line-height: 1.2; margin-bottom: 6px; }
.fact span { color: var(--muted); font-size: 14px; }

/* ---------- History pipeline (vertical) ---------- */
.history {
  color: #fff; overflow: hidden;
  background:
    radial-gradient(800px 400px at 10% 100%, rgba(0, 160, 230, 0.18), transparent 60%),
    linear-gradient(160deg, #002a5c, #00396f);
}
.history .section-head p { color: #b6cae0; }
.pipeline { --node: 66px; --gap: 52px; position: relative; max-width: 1040px; margin: 8px auto 0; }
.pipe-track {
  position: absolute; top: 0; bottom: 40px; left: 50%; width: 30px; margin-left: -15px; border-radius: 15px;
  background: linear-gradient(90deg, #eef4fa 0%, #b7c7d8 35%, #7f95ae 70%, #5b7290 100%);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}
.pipe-track::before { content: ""; position: absolute; inset: 7px; border-radius: 8px; background: #061a33; box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.6); }
.pipe-fluid {
  position: absolute; inset: 7px; border-radius: 8px; transform-origin: center top; transform: scaleY(var(--fill, 0));
  background:
    repeating-linear-gradient(205deg, rgba(255, 255, 255, 0.3) 0 10px, rgba(255, 255, 255, 0) 10px 26px),
    linear-gradient(180deg, #00a0e6, #5ccbf7);
  background-size: 100% 52px, 100% 100%;
  box-shadow: 0 0 14px rgba(92, 203, 247, 0.8);
  transition: transform 0.15s linear;
  animation: pipe-flow 1.2s linear infinite;
}
@keyframes pipe-flow { to { background-position: 0 52px, 0 0; } }
.pipe-list { position: relative; list-style: none; margin: 0; padding: 0; }

.pipe-phase { position: relative; z-index: 2; text-align: center; margin: 44px 0 26px; }
.pipe-phase:first-child { margin-top: 0; }
.pipe-phase span {
  display: inline-flex; flex-direction: column; align-items: center; gap: 2px;
  background: #002a5c; border: 2px solid var(--accent-light); border-radius: 14px; padding: 8px 22px;
  font-weight: 700; font-size: 17px; box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}
.pipe-phase b { font-size: 12px; letter-spacing: 0.12em; color: var(--accent-light); }

.pipe-stage { position: relative; display: flex; min-height: var(--node); margin-bottom: 18px; }
.pipe-right { justify-content: flex-end; }
.pipe-node {
  position: absolute; left: 50%; top: 0; z-index: 2; width: var(--node); height: var(--node); margin-left: calc(var(--node) / -2);
  border-radius: 50%; display: grid; place-items: center;
  background: radial-gradient(circle at 35% 30%, #ffffff, #c9d6e3 45%, #7f95ae 100%);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}
.pipe-node span {
  width: calc(var(--node) - 16px); height: calc(var(--node) - 16px); border-radius: 50%;
  display: grid; place-items: center; font-weight: 700; font-size: 14px; font-variant-numeric: tabular-nums;
  background: #062448; color: #8ea3ba; border: 2px solid #3d5270;
  transition: background 0.4s, color 0.4s, box-shadow 0.4s, border-color 0.4s;
}
.pipe-stage.lit .pipe-node span { background: var(--accent); color: #fff; border-color: #bfeaff; box-shadow: 0 0 18px rgba(92, 203, 247, 0.9); }
.pipe-card {
  position: relative; width: calc(50% - var(--node) / 2 - var(--gap));
  background: #fff; color: var(--ink); border-radius: 12px; padding: 14px 20px 16px;
  box-shadow: 0 12px 30px rgba(0, 10, 30, 0.35);
  opacity: 0.55; transition: opacity 0.5s, transform 0.5s;
}
.pipe-left .pipe-card { transform: translateX(-14px); }
.pipe-right .pipe-card { transform: translateX(14px); }
.pipe-stage.lit .pipe-card { opacity: 1; transform: none; }
.pipe-card::after { content: ""; position: absolute; top: calc(var(--node) / 2 - 1px); width: var(--gap); height: 2px; background: rgba(191, 234, 255, 0.7); }
.pipe-left .pipe-card::after { left: 100%; }
.pipe-right .pipe-card::after { right: 100%; }
.pipe-year { margin: 0 0 4px; font-size: 13px; letter-spacing: 0.08em; color: var(--brand); }
.pipe-card p { margin: 0; font-size: 15px; line-height: 1.65; color: var(--ink-2); }
.pipe-card ul { margin: 0; padding-left: 18px; font-size: 15px; line-height: 1.65; color: var(--ink-2); }
.pipe-card li + li { margin-top: 2px; }
.pipe-card li::marker { color: var(--accent); }
.pipe-outlet { position: relative; text-align: center; padding-top: 6px; font-size: 13px; color: var(--accent-light); font-weight: 600; letter-spacing: 0.08em; }
.pipe-outlet span::after { content: " ↓"; }

/* ======================================================================
   Service pages (calibration / custom engineering)
   ====================================================================== */
.page-hero-cta { margin-top: 28px; }
.page-hero .btn-primary { background: #fff; color: var(--brand); }
.page-hero .btn-primary:hover { background: #e3f5fd; }
.svc-items { background: var(--card); }
.svc-items + .svc-items { background: var(--bg); }
.svc-grid { display: grid; gap: 20px; }
.svc-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.svc-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.svc-card {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px;
  transition: transform 0.25s, box-shadow 0.25s, background 0.25s;
}
.svc-items + .svc-items .svc-card { background: var(--card); }
.svc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); background: #fff; }
.svc-card .p-icon, .svc-card .ind-icon { margin-bottom: 16px; }
.svc-card h3 { margin: 0 0 8px; font-size: 18px; }
.svc-card p { margin: 0; color: var(--muted); font-size: 15px; }
.svc-card .tags { margin-top: 4px; }
.facility-no { display: block; font-size: 28px; font-weight: 700; color: #c7d6e6; line-height: 1; margin-bottom: 12px; }
.svc-why {
  color: #fff;
  background: radial-gradient(800px 380px at 90% 0%, rgba(0, 160, 230, 0.25), transparent 60%), linear-gradient(160deg, #002a5c, #00396f);
}
.why-card { border: 1px solid rgba(255, 255, 255, 0.14); border-radius: var(--radius); padding: 26px 24px; background: rgba(255, 255, 255, 0.04); }
.why-card span { font-size: 13px; font-weight: 700; color: var(--accent-light); letter-spacing: 0.1em; }
.why-card h3 { margin: 8px 0 8px; font-size: 18px; }
.why-card p { margin: 0; color: #b6cae0; font-size: 15px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; counter-reset: s; }
.steps li { position: relative; counter-increment: s; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 18px 20px; }
.steps li::before {
  content: counter(s); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: var(--brand); color: #fff; font-weight: 700; margin-bottom: 12px;
}
.steps li:not(:last-child)::after {
  content: ""; position: absolute; top: 38px; right: -14px; width: 12px; height: 12px; z-index: 1;
  border-top: 2px solid var(--accent); border-right: 2px solid var(--accent); transform: rotate(45deg);
}
.steps h3 { margin: 0 0 6px; font-size: 16px; }
.steps p { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.6; }
.svc-report { background: var(--card); }
.report-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 40px; align-items: start; }
.report-card { background: linear-gradient(160deg, #002a5c, #00438c); color: #fff; border-radius: 20px; padding: 32px; }
.report-card h2 { font-family: var(--font-serif); margin: 0 0 18px; font-size: clamp(22px, 2.4vw, 28px); }
.check-list { list-style: none; margin: 0; padding: 0; }
.check-list li { position: relative; padding: 10px 0 10px 32px; border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
.check-list li:last-child { border-bottom: 0; }
.check-list li::before {
  content: ""; position: absolute; left: 4px; top: 15px; width: 12px; height: 7px;
  border-left: 2px solid var(--accent-light); border-bottom: 2px solid var(--accent-light); transform: rotate(-45deg);
}
.faq h2 { font-family: var(--font-serif); margin: 10px 0 16px; font-size: clamp(22px, 2.4vw, 28px); }
.faq details { border: 1px solid var(--line); border-radius: 12px; background: var(--bg); margin-bottom: 10px; }
.faq summary { cursor: pointer; padding: 16px 48px 16px 20px; font-weight: 600; position: relative; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%);
  font-size: 22px; color: var(--brand); font-weight: 400;
}
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0; padding: 0 20px 18px; color: var(--muted); font-size: 15px; }
.cert-timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.cert-timeline li {
  display: grid; grid-template-columns: auto 1fr; column-gap: 12px; row-gap: 4px; align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 12px; padding: 16px 18px; background: rgba(255, 255, 255, 0.04);
}
.cert-timeline b { font-size: 20px; color: #fff; }
.cert-tag { justify-self: start; font-size: 12px; font-weight: 700; padding: 2px 10px; border-radius: 999px; background: var(--accent); color: #fff; }
.cert-timeline p { grid-column: 1 / -1; margin: 0; color: #c6d8ea; font-size: 14px; }
.home-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.quality .home-links .btn-primary { background: #fff; color: var(--brand); }
.quality .home-links .btn-ghost { border-color: rgba(255, 255, 255, 0.4); }
.text-link { display: inline-block; margin-top: 18px; font-weight: 600; color: var(--brand); }
.text-link:hover { text-decoration: underline; }
@media (max-width: 1100px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
  .steps li:nth-child(3)::after { display: none; }
}
@media (max-width: 980px) {
  .svc-grid.cols-4, .svc-grid.cols-3, .cert-timeline { grid-template-columns: repeat(2, 1fr); }
  .report-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .svc-grid.cols-4, .svc-grid.cols-3, .cert-timeline, .steps { grid-template-columns: 1fr; }
  .steps li::after { display: none; }
  .report-card { padding: 24px 20px; }
}

/* ======================================================================
   Calibration page
   ====================================================================== */
.cal-hero { position: relative; overflow: hidden; color: #fff; background: #0b2a4f; min-height: 560px; display: flex; align-items: center; }
.cal-hero-media { position: absolute; top: 0; right: 0; bottom: 0; width: 56%; }
.cal-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.cal-hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #0b2a4f 0%, rgba(11, 42, 79, 0.55) 30%, rgba(11, 42, 79, 0) 65%); }
.cal-hero-inner { position: relative; z-index: 1; padding-top: 56px; padding-bottom: 64px; }
.cal-hero-inner > *:not(.breadcrumb) { max-width: 560px; }
.cal-hero h1 { font-family: var(--font-serif); font-size: clamp(32px, 4.4vw, 52px); line-height: 1.2; margin: 14px 0 16px; }
.cal-hero p { color: #d4e3f2; margin: 0 0 10px; }
.cal-hero .cal-lead { font-size: 18px; color: #fff; font-weight: 600; }
.cal-hero .btn-row { margin-top: 26px; }
.cal-hero .btn-primary, .cal-cta .btn-primary { background: #fff; color: var(--brand); }
.cal-hero .btn-primary:hover, .cal-cta .btn-primary:hover { background: #e3f5fd; }
.cal-badges { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.cal-badges li { font-size: 13px; font-weight: 600; padding: 5px 12px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.3); background: rgba(255, 255, 255, 0.08); }

.cal-why { background: var(--card); }
.cal-why-grid { display: grid; grid-template-columns: 0.9fr 1.3fr; gap: 56px; align-items: start; }
.cal-why h2, .cal-standards h2, .cal-sample h2 { font-family: var(--font-serif); font-size: clamp(26px, 3.2vw, 38px); line-height: 1.3; margin: 12px 0 14px; }
.cal-why p { color: var(--muted); }
.cal-why .cal-why-intro { color: var(--ink); font-weight: 600; }
.feature-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px 28px; }
.feature-grid svg { width: 34px; height: 34px; color: var(--brand); }
.feature-grid h3 { margin: 12px 0 6px; font-size: 16px; }
.feature-grid p { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.6; }

.cal-services { background: var(--bg); }
.cal-service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cal-service { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform 0.25s, box-shadow 0.25s; }
.cal-service:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.cal-service-img { aspect-ratio: 3 / 2; background: #e6eef6; overflow: hidden; }
.cal-service-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.cal-service:hover .cal-service-img img { transform: scale(1.04); }
.cal-service-body { padding: 20px 22px 22px; }
.cal-service-body h3 { margin: 0 0 6px; font-size: 18px; }
.cal-service-body p { margin: 0 0 12px; font-size: 14px; color: var(--muted); }

.cal-capability { background: var(--card); }
.cap-block { margin-top: 40px; }
.cap-block:first-of-type { margin-top: 8px; }
.cap-block + .cap-block { padding-top: 40px; border-top: 1px dashed var(--line); }
.cap-block-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.cap-block-head h3 { margin: 0; font-size: 22px; }
.cap-badge { font-size: 13px; font-weight: 700; padding: 4px 12px; border-radius: 999px; background: var(--brand); color: #fff; }
.cap-badge.iecq { background: var(--accent); }
.cap-cert { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin: 0 0 16px; padding: 14px 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); }
.cap-cert ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.cap-cert li::before { content: "✓ "; color: var(--accent); }
.cap-block-lead { margin: 8px 0 16px; color: var(--muted); }
.cap-table tbody th small { display: block; font-size: 12px; font-weight: 400; color: var(--muted); margin-top: 2px; line-height: 1.5; }
.cap-table-wrap { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: 0 6px 20px rgba(0, 51, 107, 0.06); }
.cap-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.cap-table thead th { background: var(--brand); color: #fff; font-weight: 600; text-align: left; padding: 14px 20px; }
.cap-table tbody th, .cap-table td { padding: 12px 20px; border-top: 1px solid var(--line); text-align: left; font-weight: 500; }
.cap-table tbody tr:nth-child(even) { background: var(--bg); }
.cap-table tbody tr:hover { background: #eaf4fc; }
.cap-range { white-space: nowrap; font-variant-numeric: tabular-nums; font-weight: 700; color: var(--brand); }
.cap-table th:first-child { width: 30%; }
.cap-table th:nth-child(2) { width: 22%; }
.cap-scale { position: relative; height: 1.4em; font-size: 12px; font-weight: 500; opacity: 0.9; }
.cap-scale span { position: absolute; top: 0; white-space: nowrap; }
.cap-scale .mid { transform: translateX(-50%); }
.cap-bar { position: relative; height: 10px; border-radius: 5px; background: #e2eaf3; }
.cap-bar i { position: absolute; top: 0; bottom: 0; border-radius: 5px; background: linear-gradient(90deg, #00a0e6, #00438c); }
.cap-bar b { position: absolute; top: -4px; bottom: -4px; width: 2px; background: #9fb2c7; }
.cap-onsite { display: inline-block; font-size: 11px; font-weight: 700; padding: 1px 8px; border-radius: 999px; background: #fff4e0; color: #b26b00; vertical-align: 2px; }
.cap-note { margin: 14px 0 0; font-size: 13px; color: var(--muted); }
@media (max-width: 760px) {
  .cap-table thead th:nth-child(3), .cap-table td:nth-child(3) { display: none; }
  .cap-table th:first-child { width: auto; }
  .cap-table tbody th, .cap-table td, .cap-table thead th { padding: 11px 14px; }
  .cap-table { font-size: 14px; }
}
.btn-ghost-dark { border: 1px solid var(--brand); color: var(--brand); background: #fff; }
.btn-ghost-dark:hover { background: var(--brand); color: #fff; }
.btn-ghost-dark svg { width: 18px; height: 18px; }
  list-style: none; cursor: pointer; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px;
  padding: 16px 52px 16px 20px; position: relative;
}
@media (max-width: 560px) {
}
.cal-choose { background: var(--bg); }
.choose-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.choose-card {
  display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 32px;
  border-top: 5px solid var(--brand); transition: transform 0.25s, box-shadow 0.25s;
}
.choose-card.iecq { border-top-color: var(--accent); }
.choose-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.choose-top { display: flex; justify-content: space-between; align-items: center; }
.choose-top svg { width: 40px; height: 40px; color: var(--brand); }
.choose-card h3 { margin: 16px 0 6px; font-size: 24px; font-family: var(--font-serif); }
.choose-card > p { margin: 0 0 14px; color: var(--muted); }
.check-list.dark li { border-bottom-color: var(--line); color: var(--ink-2); padding: 8px 0 8px 30px; font-size: 15px; }
.check-list.dark li::before { border-color: var(--accent); top: 13px; }
.choose-cta { margin-top: auto; padding-top: 18px; font-weight: 700; color: var(--brand); }
.cap-h2 { margin: 0; font-size: clamp(24px, 3vw, 32px); font-family: var(--font-serif); }
.why-icon { width: 34px; height: 34px; color: var(--accent-light); margin-bottom: 4px; }
.cal-onsite { background: var(--card); }
/* Medical / research section (TAF page): grey so it reads apart from the white on-site section after it. */
.cal-medical { background: var(--bg); }
.cal-medical .onsite-list { grid-template-columns: 1fr; }
html:lang(ja) .cal-medical h2 { word-break: keep-all; }
.onsite-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.cal-onsite h2 { font-family: var(--font-serif); font-size: clamp(26px, 3.2vw, 36px); margin: 12px 0 14px; line-height: 1.3; }
.cal-onsite p { color: var(--muted); }
.onsite-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.onsite-list li {
  padding: 18px 18px 18px 52px; border-radius: 14px; background: var(--bg); border: 1px solid var(--line); font-weight: 600; position: relative;
}
.onsite-list small { display: block; font-weight: 500; font-size: 13px; color: var(--muted); white-space: nowrap; margin-top: 2px; }
.onsite-list li::before {
  content: ""; position: absolute; left: 18px; top: 50%; width: 20px; height: 20px; margin-top: -10px; border-radius: 50%;
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 14px no-repeat;
}
@media (max-width: 980px) {
  .choose-grid, .onsite-grid { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 560px) {
  .choose-card { padding: 24px 20px; }
  .onsite-list { grid-template-columns: 1fr; }
}
.cal-process { background: var(--card); }
.cal-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; }
.cal-steps li { position: relative; text-align: center; padding: 0 6px; }
.cal-steps li:not(:last-child)::after { content: "→"; position: absolute; right: -20px; top: 44px; font-size: 22px; color: #9fb2c7; }
.cal-step-no { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--brand); color: #fff; font-size: 13px; font-weight: 700; }
.cal-steps svg { display: block; width: 40px; height: 40px; margin: 14px auto 10px; color: var(--brand); }
.cal-steps h3 { margin: 0 0 6px; font-size: 16px; }
.cal-steps p { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.6; }

.cal-request { padding: 0; background: var(--card); }
.cal-request-grid { display: grid; grid-template-columns: 0.75fr 1.6fr; }
.cal-request-side {
  color: #fff; padding: 64px 48px; display: flex; align-items: center;
  background: linear-gradient(180deg, rgba(11, 42, 79, 0.88), rgba(11, 42, 79, 0.94)), var(--bg) center / cover no-repeat, #0b2a4f;
}
.cal-request-side h2 { font-family: var(--font-serif); font-size: clamp(26px, 3vw, 36px); line-height: 1.3; margin: 12px 0 14px; }
.cal-request-side p { color: #d4e3f2; margin: 0; }
.cal-form { padding: 48px 56px; max-width: 980px; }
.cal-form fieldset { border: 0; padding: 0; margin: 0 0 8px; min-width: 0; }
.cal-form legend { font-weight: 700; font-size: 17px; color: var(--brand); margin-bottom: 14px; padding: 0; }
.cal-form-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; margin-top: 14px; }
.cal-form .field label, .field-label { font-size: 14px; font-weight: 500; margin-bottom: 6px; display: block; }
.req { color: #d94848; font-style: normal; }
.range-row { display: grid; grid-template-columns: 1fr auto 1fr 84px; gap: 8px; align-items: center; }
.range-row input, .range-row select { min-width: 0; }
.upload {
  display: flex; gap: 14px; align-items: center; padding: 14px 16px; border: 2px dashed #c7d6e6; border-radius: 12px; cursor: pointer;
  background: var(--bg); transition: border-color 0.2s, background 0.2s;
}
.upload:hover, .upload:has(+ input:focus-visible) { border-color: var(--accent); background: #f1f8fd; }
.upload svg { width: 30px; height: 30px; color: var(--brand); flex: none; }
.upload b { display: block; color: var(--brand); }
.upload small { display: block; font-size: 12px; color: var(--muted); line-height: 1.5; }
.upload-list { list-style: none; margin: 8px 0 0; padding: 0; font-size: 13px; color: var(--ink-2); }
.upload-list li { padding: 4px 0; }
.cal-submit { border: 0; cursor: pointer; font: inherit; font-weight: 700; margin-top: 8px; }
.cal-submit:disabled { opacity: 0.6; cursor: wait; }
.cal-status { margin: 14px 0 0; font-weight: 600; min-height: 1.4em; }
.cal-status[data-kind="success"] { color: #1a7f4b; }
.cal-status[data-kind="error"] { color: #c0392b; }

.cal-standards { background: var(--bg); }
.cal-standards-grid { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 56px; align-items: center; }
.cal-standards p { color: var(--muted); }
.std-list { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.std-list li { border-left: 1px solid var(--line); padding-left: 16px; }
.std-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 2px solid #c7d6e6; color: var(--brand); background: #fff; }
.std-icon svg { width: 24px; height: 24px; }
.std-list h3 { margin: 12px 0 6px; font-size: 15px; }
.std-list p { margin: 0; font-size: 13px; line-height: 1.6; }
.cal-cert-visual img { width: 100%; max-width: 360px; display: block; margin: 0 auto; border-radius: 6px; box-shadow: 0 24px 50px rgba(0, 30, 66, 0.25); transform: rotate(3deg); }

.cal-sample { background: var(--card); }
.cal-sample-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.cal-sample p { color: var(--muted); }
.sample-card { display: grid; grid-template-columns: 150px 1fr; gap: 24px; align-items: start; margin-top: 20px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); }
.sample-card img { width: 100%; border: 1px solid var(--line); border-radius: 4px; background: #fff; }
.sample-label { display: inline-block; font-size: 12px; font-weight: 600; color: #b26b00; background: #fff4e0; border-radius: 6px; padding: 2px 8px; margin-bottom: 8px; }
.sample-card dl { margin: 0; font-size: 14px; }
.sample-card dl div { display: grid; grid-template-columns: 110px 1fr; gap: 8px; padding: 5px 0; border-bottom: 1px dashed var(--line); }
.sample-card dt { color: var(--muted); }
.sample-card dd { margin: 0; font-weight: 500; }

.cal-cta {
  color: #fff; padding: 72px 0;
  background: linear-gradient(90deg, rgba(0, 30, 66, 0.95), rgba(0, 42, 92, 0.8)), var(--bg) center / cover no-repeat, #002a5c;
}
.cal-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cal-cta h2 { font-family: var(--font-serif); margin: 0 0 6px; font-size: clamp(22px, 2.8vw, 32px); }
.cal-cta p { margin: 0; color: #d4e3f2; }

@media (max-width: 1100px) {
  .cal-request-grid { grid-template-columns: 1fr; }
  .cal-request-side { padding: 48px 32px; }
  .cal-form { padding: 40px 32px; }
  .std-list { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 980px) {
  .cal-why-grid, .cal-standards-grid, .cal-sample-grid { grid-template-columns: 1fr; gap: 36px; }
  .cal-service-grid { grid-template-columns: repeat(2, 1fr); }
  .cal-steps { grid-template-columns: repeat(3, 1fr); row-gap: 32px; }
  .cal-steps li:nth-child(3)::after { display: none; }
}
@media (max-width: 760px) {
  .cal-hero { flex-direction: column; align-items: stretch; min-height: 0; padding: 0; }
  .cal-hero-media { position: relative; width: 100%; height: 56vw; max-height: 340px; }
  .cal-hero-media::after { background: linear-gradient(180deg, rgba(11, 42, 79, 0) 50%, #0b2a4f 100%); }
  .cal-hero-inner { padding-top: 24px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); gap: 24px 18px; }
  .cal-form-cols { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .cal-service-grid, .cal-steps, .std-list { grid-template-columns: 1fr; }
  .cal-steps li::after { display: none; }
  .cal-form { padding: 32px 18px; }
  .cal-request-side { padding: 40px 18px; }
  .sample-card { grid-template-columns: 1fr; }
  .sample-card img { max-width: 160px; }
  .range-row { grid-template-columns: 1fr auto 1fr; }
  .range-row select { grid-column: 1 / -1; }
}

/* Profile table */
.profile { background: var(--card); }
.profile-table { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.profile-table table { width: 100%; border-collapse: collapse; }
.profile-table th, .profile-table td { text-align: left; padding: 16px 24px; border-bottom: 1px solid var(--line); vertical-align: top; }
.profile-table tr:last-child th, .profile-table tr:last-child td { border-bottom: 0; }
.profile-table th { width: 200px; background: var(--bg); color: var(--ink-2); font-weight: 600; font-size: 15px; }
.profile-table td { font-size: 15px; }
.profile-table td a { color: var(--brand); }
.profile-table td a:hover { text-decoration: underline; }

/* Values */
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.value-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.value-card h3 { margin: 0 0 8px; font-size: 22px; color: var(--brand); }
.value-card p { margin: 0; color: var(--muted); }

/* CTA */
.cta-band { padding-top: 0; background: var(--card); }
.values + .cta-band { background: transparent; }
/* After the light-grey product sections the banner keeps the grey page background, so it does not sit on a seam. */
.prod-list + .cta-band, .dl-section + .cta-band, .prod-others + .cta-band { background: transparent; }
.cta-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  background: linear-gradient(135deg, #00438c, #002a5c); color: #fff; border-radius: 20px; padding: 40px 48px;
}
.cta-inner h2 { margin: 0 0 6px; font-family: var(--font-serif); font-size: clamp(22px, 2.6vw, 30px); }
.cta-inner p { margin: 0; color: #d4e3f2; }
.cta-inner .btn-primary { background: #fff; color: var(--brand); }
.cta-inner .btn-primary:hover { background: #e3f5fd; }

@media (prefers-reduced-motion: reduce) {
  .pipe-fluid, .pipe-node span, .pipe-card { transition: none !important; animation: none; }
}
/* Pipeline: pipe on the left on phones */
@media (max-width: 760px) {
  .pipeline { --node: 54px; --gap: 18px; }
  .pipe-track { left: 12px; margin-left: 0; }
  .pipe-node { left: 27px; }
  .pipe-stage, .pipe-right { justify-content: flex-start; }
  .pipe-card, .pipe-left .pipe-card, .pipe-right .pipe-card { width: auto; flex: 1; margin-left: calc(27px + var(--node) / 2 + var(--gap)); transform: translateX(10px); }
  .pipe-stage.lit .pipe-card { transform: none; }
  .pipe-left .pipe-card::after, .pipe-right .pipe-card::after { left: auto; right: 100%; }
  .pipe-phase { text-align: left; margin-left: 0; }
  .pipe-phase span { align-items: flex-start; padding: 8px 16px; font-size: 16px; }
  .pipe-node span { font-size: 12px; }
  .pipe-outlet { text-align: left; padding-left: 4px; }
  .pipe-card p, .pipe-card ul { font-size: 14px; }
}

/* Vertical pipeline on narrower screens */
@media (max-width: 980px) {
  .fact-grid { grid-template-columns: 1fr 1fr; }
  .value-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .page-hero { padding: 40px 0 56px; }
  .fact { padding: 20px 16px; }
  .fact b { font-size: 24px; }
  .profile-table th, .profile-table td { display: block; width: auto; padding: 10px 16px; }
  .profile-table th { border-bottom: 0; padding-bottom: 2px; background: transparent; color: var(--muted); font-size: 13px; }
  .cta-inner { padding: 28px 22px; }
}

/* Catalog download + offices */
.home-links.center { justify-content: center; }
.offices { margin-top: 56px; }
.offices-head { margin-bottom: 20px; }
.offices-head h3 { margin: 6px 0 0; font-size: 22px; }
.office-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.office { border: 1px solid var(--line); border-radius: 12px; padding: 18px; background: #fff; min-width: 0; }
.office-hq { border-color: var(--accent); box-shadow: inset 0 3px 0 var(--accent); }
.office h4 { margin: 0 0 8px; font-size: 16px; color: var(--brand); }
.office p { margin: 0; font-size: 13.5px; color: var(--muted); line-height: 1.6; overflow-wrap: anywhere; }
.office .office-tel { margin-top: 10px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.office-tel span { display: inline-block; min-width: 2.6em; color: var(--muted); }
.offices-more { margin: 14px 0 0; font-size: 14px; color: var(--muted); }
@media (max-width: 1100px) { .office-list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) { .office-list { grid-template-columns: 1fr; } }

/* Product family → catalog page link */
.product-link { margin-top: 16px; font-size: 14px; font-weight: 600; color: var(--brand); }
.product-link:hover { color: var(--accent); }

/* Home: new products */
.new-products { background: #fff; }
.new-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.new-card { position: relative; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; transition: transform 0.25s, box-shadow 0.25s; }
.new-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.new-card figure { margin: 0; aspect-ratio: 4 / 3; display: grid; place-items: center; background: #fff; border-bottom: 1px solid var(--line); padding: 14px; }
.new-card img { max-width: 100%; max-height: 100%; object-fit: contain; }
.new-card h3 { margin: 0; padding: 14px 16px 18px; font-size: 15.5px; line-height: 1.5; }
.new-badge { position: absolute; top: 12px; left: 12px; font-size: 11px; font-weight: 700; letter-spacing: 0.1em; color: #fff; background: var(--accent); padding: 2px 8px; border-radius: 6px; }
@media (max-width: 980px) { .new-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Product catalog hub */
.prod-hub, .prod-items { padding: 64px 0; }
.cat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.cat-grid.small { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.cat-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s; }
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.cat-card figure { margin: 0; aspect-ratio: 16 / 10; display: grid; place-items: center; padding: 16px; border-bottom: 1px solid var(--line); background: #fff; }
.cat-card img { max-width: 100%; max-height: 100%; object-fit: contain; }
.cat-body { display: flex; flex-direction: column; flex: 1; padding: 18px 20px 20px; }
.cat-sub { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.cat-body h3 { margin: 4px 0 8px; font-size: 19px; line-height: 1.4; }
.cat-body p { margin: 0 0 12px; font-size: 14.5px; color: var(--muted); flex: 1; }
.cat-meta { font-size: 12.5px; color: var(--muted); margin-bottom: 10px; }
.cat-link { font-size: 14px; font-weight: 600; color: var(--brand); margin-top: auto; }
.cat-card.small figure { aspect-ratio: 16 / 9; padding: 10px; }
.cat-card.small .cat-body { padding: 12px 14px 14px; }
.cat-card.small h3 { font-size: 15.5px; margin-bottom: 6px; }
@media (max-width: 980px) { .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .cat-grid.small { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) { .cat-grid { grid-template-columns: 1fr; } .cat-grid.small { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Category navigation strip */
.cat-nav { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 72px; z-index: 5; }
.cat-nav .container { display: flex; gap: 6px; overflow-x: auto; padding-top: 10px; padding-bottom: 10px; scrollbar-width: thin; }
.cat-nav a { flex: none; font-size: 13.5px; padding: 6px 12px; border-radius: 999px; color: var(--ink-2); border: 1px solid transparent; white-space: nowrap; }
.cat-nav a:hover { border-color: var(--line); }
.cat-nav a.current { background: var(--brand); color: #fff; }

/* Category page items */
.prod-item { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px; align-items: start; padding: 40px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 140px; }
.prod-item:first-child { padding-top: 0; }
.prod-item.no-img { grid-template-columns: minmax(0, 1fr); }
.prod-item.no-img .prod-body { max-width: 860px; }
.prod-gallery { display: grid; gap: 10px; grid-template-columns: repeat(3, minmax(0, 1fr)); position: sticky; top: 150px; }
.prod-gallery figure { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 12px; display: grid; place-items: center; padding: 10px; aspect-ratio: 1; }
.prod-gallery figure.main { grid-column: 1 / -1; aspect-ratio: 4 / 3; padding: 20px; }
.prod-gallery img { max-width: 100%; max-height: 100%; object-fit: contain; }
.prod-body h2 { font-family: var(--font-serif); font-size: clamp(22px, 2.6vw, 30px); line-height: 1.35; margin: 0 0 12px; color: var(--brand-dark); }
.prod-body > p { margin: 0 0 16px; color: var(--ink-2); }
.prod-points { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 6px; }
.prod-points li { position: relative; padding-left: 22px; font-size: 15px; }
.prod-points li::before { content: ""; position: absolute; left: 4px; top: 0.7em; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.prod-specs { margin: 0 0 20px; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff; }
.prod-specs div { display: grid; grid-template-columns: minmax(120px, 34%) 1fr; border-top: 1px solid var(--line); }
.prod-specs div:first-child { border-top: 0; }
.prod-specs div:nth-child(even) { background: var(--bg); }
.prod-specs dt { padding: 9px 14px; font-size: 13.5px; font-weight: 600; color: var(--muted); }
.prod-specs dd { margin: 0; padding: 9px 14px; font-size: 14.5px; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.prod-inquire { display: inline-block; font-weight: 600; color: var(--brand); }
.prod-inquire:hover { color: var(--accent); }
.prod-steps-title { font-size: 17px; margin: 8px 0 12px; }
.steps.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-bottom: 20px; }
.prod-item .item-table { grid-column: 1 / -1; }
/* The sticky gallery would slide over a full-width table below it, so items with a table keep it in place. */
.prod-item:has(.item-table) .prod-gallery { position: static; }
@media (max-width: 980px) {
  .prod-item { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .prod-gallery { position: static; max-width: 560px; }
  .steps.cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps.cols-4 li::after { display: none; }
}

/* Model / data tables */
.prod-tables { padding: 64px 0; background: #fff; }
.prod-others { padding: 64px 0; }
.data-table { margin-top: 28px; }
.data-table h3 { font-size: 18px; margin: 0 0 10px; color: var(--brand-dark); }
.data-table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.data-table table { width: 100%; border-collapse: collapse; font-size: 14px; font-variant-numeric: tabular-nums; }
.data-table thead th { background: var(--brand); color: #fff; font-weight: 600; text-align: left; padding: 10px 14px; white-space: nowrap; }
.data-table tbody th, .data-table td { padding: 9px 14px; border-top: 1px solid var(--line); text-align: left; vertical-align: top; }
.data-table tbody th { font-weight: 700; color: var(--brand-dark); white-space: nowrap; }
.data-table tbody tr:nth-child(even) { background: var(--bg); }
.data-note { margin: 8px 0 0; font-size: 13px; color: var(--muted); }
.grade { display: inline-block; min-width: 2.2em; text-align: center; padding: 0 6px; border-radius: 6px; font-size: 12.5px; font-weight: 600; }
.grade-E { background: #dff3e7; color: #17663a; }
.grade-G { background: #e3f0fb; color: #0b4f8a; }
.grade-F { background: #fff4e0; color: #8a5a00; }
.grade-P { background: #fde8e8; color: #9b2222; }
.tables-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; align-items: start; }
.tables-grid .data-table.wide { grid-column: 1 / -1; }
@media (max-width: 760px) { .tables-grid { grid-template-columns: minmax(0, 1fr); } }
/* Fixed-ratio photo boxes: the image fits inside, so cards line up */
.new-card figure, .cat-card figure, .prod-gallery figure { display: block; overflow: hidden; }
.new-card img, .cat-card img, .prod-gallery img { display: block; width: 100%; height: 100%; max-width: none; max-height: none; object-fit: contain; }

/* About page banner with a factory photo */
.page-hero-photo { padding: 120px 0 132px; background: #002a5c; }
.page-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 35%; }
.page-hero-photo::after {
  opacity: 1; mask-image: none; background-size: auto;
  background-image: linear-gradient(90deg, rgba(0, 30, 66, 0.94) 0%, rgba(0, 42, 92, 0.82) 38%, rgba(0, 42, 92, 0.25) 68%, rgba(0, 42, 92, 0.05) 100%);
}
@media (max-width: 760px) {
  .page-hero-photo { padding: 56px 0 64px; }
  .page-hero-img { object-position: 80% 30%; }
  .page-hero-photo::after { background-image: linear-gradient(180deg, rgba(0, 30, 66, 0.55) 0%, rgba(0, 30, 66, 0.88) 60%, rgba(0, 30, 66, 0.95) 100%); }
}
/* Real product photos fill their frame instead of sitting on white */
.prod-gallery figure.photo, .cat-card figure.photo { padding: 0; }
.prod-gallery figure.photo img, .cat-card figure.photo img { object-fit: cover; }
.page-hero-photo .page-hero-img[src*="/custom/"] { object-position: 60% 40%; }
.cert-timeline .cert-doc { grid-column: 1 / -1; margin-top: 6px; padding-top: 10px; }
.cert-timeline li { align-content: start; }
/* Header: never squeeze the logo or wrap menu labels; Japanese labels are longer, so tighten them a little */
.nav .brand, .nav-links { flex: none; }
@media (min-width: 1201px) { html:lang(ja) .site-header:not(.compact) .nav-links a { padding: 8px 10px; font-size: 14.5px; } }
/* Fallback set by main.js when the menu still doesn't fit (e.g. wider system fonts): use the hamburger menu */
.site-header.compact .nav-toggle { display: block; }
.site-header.compact .nav-links {
  position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; gap: 0;
  background: #fff; border-bottom: 1px solid var(--line); padding: 8px 16px 16px; display: none;
}
.site-header.compact .nav-links.open { display: flex; }
.site-header.compact .nav-links a { display: block; padding: 12px; }
.site-header.compact .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-header.compact .nav-toggle.open span:nth-child(2) { opacity: 0; }
.site-header.compact .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Certificate viewer overlay */
html.modal-open { overflow: hidden; }
.cert-modal {
  width: min(920px, calc(100vw - 32px)); max-height: calc(100vh - 48px); padding: 0; border: 0; border-radius: 16px;
  background: #fff; box-shadow: 0 30px 80px rgba(0, 20, 50, 0.45); overflow: hidden; color: var(--ink);
}
.cert-modal[open] { display: flex; flex-direction: column; animation: cert-in 0.2s ease-out; }
.cert-modal::backdrop { background: rgba(0, 22, 48, 0.72); backdrop-filter: blur(2px); }
@keyframes cert-in { from { opacity: 0; transform: translateY(12px) scale(0.98); } to { opacity: 1; transform: none; } }
.cert-modal-bar { display: flex; align-items: center; gap: 12px; padding: 12px 12px 12px 20px; border-bottom: 1px solid var(--line); background: #fff; flex: none; }
.cert-modal-bar h2 { flex: 1; margin: 0; font-size: 16px; line-height: 1.4; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cert-modal-pdf { flex: none; font-size: 14px; font-weight: 600; color: var(--brand); padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; }
.cert-modal-pdf:hover { background: #e8f1fb; }
.cert-modal-close { flex: none; width: 38px; height: 38px; border: 0; border-radius: 50%; background: var(--bg); font-size: 24px; line-height: 1; cursor: pointer; color: var(--ink-2); }
.cert-modal-close:hover { background: #e2eaf3; }
.cert-modal-body { overflow-y: auto; padding: 20px; background: #e9eef4; display: grid; gap: 16px; justify-items: center; overscroll-behavior: contain; }
.cert-modal-body img { display: block; width: 100%; max-width: 800px; height: auto; background: #fff; box-shadow: 0 6px 20px rgba(0, 30, 70, 0.15); }
@media (max-width: 560px) {
  .cert-modal { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; border-radius: 0; margin: 0; }
  .cert-modal-body { padding: 10px; gap: 10px; }
  .cert-modal-bar h2 { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) { .cert-modal[open] { animation: none; } }

/* Authorized brands */
.brands-section { background: #fff; }
.brand-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.brand-card {
  position: relative; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 30px 26px; background: linear-gradient(180deg, #fff, var(--bg)); overflow: hidden;
}
.brand-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: linear-gradient(90deg, var(--brand), var(--accent)); }
.brand-top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.brand-mark { font-size: 34px; font-weight: 800; letter-spacing: 0.06em; color: var(--brand-dark); line-height: 1.1; }
.brand-origin { font-size: 13px; color: var(--muted); padding: 3px 10px; border: 1px solid var(--line); border-radius: 999px; background: #fff; }
.brand-card h3 { margin: 14px 0 8px; font-size: 18px; color: var(--accent); }
.brand-card > p { margin: 0 0 16px; color: var(--ink-2); font-size: 15px; }
.brand-points { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 6px; flex: 1; }
.brand-points li { position: relative; padding-left: 22px; font-size: 14.5px; color: var(--ink-2); }
.brand-points li::before { content: ""; position: absolute; left: 4px; top: 0.72em; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.brand-actions { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 760px) { .brand-grid { grid-template-columns: minmax(0, 1fr); } .brand-card { padding: 26px 20px 22px; } }

/* Full product list on category pages */
.prod-list { padding: 64px 0; background: var(--bg); }
.prod-items + .prod-tables + .prod-list, .prod-tables + .prod-list { background: var(--bg); }
.pl-groups { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 28px; }
.pl-groups a { font-size: 13.5px; padding: 6px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--ink-2); }
.pl-groups a span { color: var(--muted); font-size: 12px; margin-left: 2px; }
.pl-groups a:hover { border-color: var(--brand); color: var(--brand); }
.pl-group { margin-top: 32px; scroll-margin-top: 150px; }
.pl-group h3 { font-size: 18px; margin: 0 0 14px; color: var(--brand-dark); padding-left: 12px; border-left: 4px solid var(--accent); }
.pl-group h3.pl-group-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; }
.pl-group-head a { font-size: 14px; font-weight: 500; color: var(--brand); text-decoration: none; }
.pl-group-head a:hover { text-decoration: underline; }
.pl-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.pl-item { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px 14px; min-width: 0; scroll-margin-top: 150px; }
.pl-item figure { margin: -16px -18px 12px; aspect-ratio: 4 / 3; border-bottom: 1px solid var(--line); border-radius: 12px 12px 0 0; overflow: hidden; background: #fff; }
.pl-item figure img { width: 100%; height: 100%; object-fit: contain; display: block; }
.pl-item figure > a { display: block; width: 100%; height: 100%; }
.pl-item h4 { margin: 0 0 8px; font-size: 15.5px; line-height: 1.45; color: var(--ink); overflow-wrap: anywhere; }
.pl-specs { margin: 0; display: grid; gap: 4px; font-size: 13px; line-height: 1.55; }
.pl-specs div { display: grid; grid-template-columns: minmax(70px, 38%) 1fr; gap: 8px; }
.pl-specs div.pl-note { grid-template-columns: 1fr; }
.pl-specs dt { color: var(--muted); font-weight: 600; overflow-wrap: anywhere; }
.pl-specs dd { margin: 0; color: var(--ink-2); overflow-wrap: anywhere; }
.pl-more { margin-top: 6px; font-size: 13px; }
.pl-more summary { cursor: pointer; color: var(--brand); font-weight: 600; margin-bottom: 6px; }
.pl-ask { margin-top: auto; padding-top: 10px; font-size: 13.5px; font-weight: 600; color: var(--brand); align-self: flex-start; }
.pl-ask:hover { color: var(--accent); }
@media (max-width: 980px) { .pl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .pl-grid { grid-template-columns: minmax(0, 1fr); } }

/* Category cards without a catalog photo */
.cat-card figure.icon { display: grid; place-items: center; background: linear-gradient(135deg, #e2eefa, #e3f5fd); color: var(--brand); }
.cat-card figure.icon svg { width: 56px; height: 56px; }
.cat-card.small figure.icon svg { width: 40px; height: 40px; }

/* Site search */
.search-btn {
  flex: none; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--ink-2);
  display: grid; place-items: center; cursor: pointer; transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.search-btn svg { width: 18px; height: 18px; }
.search-btn:hover { background: #e8f1fb; color: var(--brand); border-color: #c9dbee; }
.search-modal {
  width: min(720px, calc(100vw - 32px)); max-height: min(78vh, 720px); margin: 10vh auto auto; padding: 0; border: 0; border-radius: 16px;
  background: #fff; color: var(--ink); box-shadow: 0 30px 80px rgba(0, 20, 50, 0.45); overflow: hidden;
}
.search-modal[open] { display: flex; flex-direction: column; animation: cert-in 0.18s ease-out; }
.search-modal::backdrop { background: rgba(0, 22, 48, 0.6); backdrop-filter: blur(2px); }
.search-bar { display: flex; align-items: center; gap: 12px; padding: 14px 16px 14px 20px; border-bottom: 1px solid var(--line); flex: none; }
.search-bar > svg { width: 20px; height: 20px; color: var(--muted); flex: none; }
.search-bar input { flex: 1; min-width: 0; border: 0; outline: 0; font: inherit; font-size: 17px; color: var(--ink); background: none; padding: 6px 0; }
.search-bar input::-webkit-search-cancel-button { cursor: pointer; }
.search-close { flex: none; font: inherit; font-size: 12px; color: var(--muted); background: var(--bg); border: 1px solid var(--line); border-radius: 6px; padding: 3px 8px; cursor: pointer; }
.search-status { margin: 0; padding: 12px 20px 4px; font-size: 13px; color: var(--muted); flex: none; }
.search-results { list-style: none; margin: 0; padding: 4px 10px 12px; overflow-y: auto; overscroll-behavior: contain; }
.search-results a { display: grid; gap: 2px; padding: 10px 12px; border-radius: 10px; color: var(--ink); }
.search-results a:hover, .search-results a.active { background: #eaf3fc; }
.sr-title { font-weight: 700; font-size: 15px; line-height: 1.45; }
.sr-ctx { font-size: 12px; color: var(--accent); }
.sr-text { font-size: 13px; color: var(--muted); line-height: 1.55; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.search-results mark { background: #fff1b8; color: inherit; padding: 0 1px; border-radius: 2px; }
@media (max-width: 560px) {
  .search-modal { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; border-radius: 0; }
  .search-btn { width: 36px; height: 36px; }
}

/* Phone header: logo + search + language + menu must fit a 320–390 px screen */
.lang-switch .l-short { display: none; }
@media (max-width: 560px) {
  .nav { gap: 8px; }
  .brand img { height: 30px; }
  .lang-switch { padding: 2px; }
  .lang-switch a { padding: 4px 9px; }
  .lang-switch .l-full { display: none; }
  .lang-switch .l-short { display: inline; }
  .nav-toggle { padding: 6px; }
}
@media (max-width: 380px) {
  .nav { gap: 6px; }
  .brand img { height: 25px; }
  .search-btn { width: 32px; height: 32px; }
  .search-btn svg { width: 16px; height: 16px; }
  .lang-switch a { padding: 3px 7px; font-size: 12px; }
  .nav-toggle { padding: 4px; }
}
/* Let the contact columns shrink on very narrow phones (long addresses, e-mail and select options) */
.contact-grid > *, .form .field, .form-row > * { min-width: 0; }
.contact-item p, .contact-item a { overflow-wrap: anywhere; }
.form select, .form input, .form textarea { max-width: 100%; }
.search-results a { grid-template-columns: minmax(0, 1fr); }
.search-results a > * { min-width: 0; overflow-wrap: anywhere; }
.search-modal > * { min-width: 0; }

/* Brand product rows (INOR): photo + summary + detail link */
.brand-about { padding-bottom: 24px; }
.br-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.br-item { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 18px; align-items: start; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px; scroll-margin-top: 150px; transition: box-shadow 0.2s, border-color 0.2s; }
.br-item:hover { box-shadow: var(--shadow); border-color: #c9dbee; }
.br-photo { display: grid; place-items: center; aspect-ratio: 1; border-radius: 10px; background: #fff; border: 1px solid var(--line); overflow: hidden; }
.br-photo img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }
.br-nophoto { display: grid; place-items: center; align-content: center; gap: 4px; width: 100%; height: 100%; background: linear-gradient(135deg, #eef4fb, #e3f0fa); color: #8aa3bd; text-align: center; }
.br-nophoto b { font-size: 22px; letter-spacing: 0.08em; color: #6f8fb0; }
.br-nophoto small { font-size: 12px; }
.br-nophoto.big b { font-size: 44px; }
.br-nophoto.big small { font-size: 14px; }
.br-body { min-width: 0; display: flex; flex-direction: column; height: 100%; }
.br-body h4 { margin: 2px 0 6px; font-size: 17px; line-height: 1.4; }
.br-body h4 a { color: var(--brand-dark); }
.br-body h4 a:hover { color: var(--accent); }
.br-body p { margin: 0 0 10px; font-size: 14px; line-height: 1.65; color: var(--muted); overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.br-more { margin-top: auto; font-size: 14px; font-weight: 600; color: var(--brand); }
.br-more:hover { color: var(--accent); }
@media (max-width: 980px) { .br-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 480px) { .br-item { grid-template-columns: 96px minmax(0, 1fr); gap: 12px; } .br-nophoto b { font-size: 16px; } .br-nophoto small { font-size: 10px; } }

/* Product detail page */
.pd-head { padding: 28px 0 48px; background: linear-gradient(180deg, #fff, var(--bg)); }
.pd-crumb { color: var(--muted); flex-wrap: wrap; margin-bottom: 24px; }
.pd-crumb a { color: var(--brand); }
.pd-crumb a:hover { color: var(--accent); }
.pd-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px; align-items: start; }
.pd-photo { margin: 0; aspect-ratio: 1; background: #fff; border: 1px solid var(--line); border-radius: 16px; display: grid; place-items: center; overflow: hidden; }
.pd-photo img { width: 100%; height: 100%; object-fit: contain; padding: 24px; }
.pd-group { display: inline-block; font-size: 13px; font-weight: 600; color: var(--accent); margin-bottom: 6px; }
.pd-body h1 { font-family: var(--font-serif); font-size: clamp(26px, 3.4vw, 40px); line-height: 1.25; margin: 0 0 16px; color: var(--brand-dark); overflow-wrap: anywhere; }
.pd-desc { color: var(--ink-2); font-size: 16px; line-height: 1.8; margin: 0 0 22px; }
.pd-desc p { margin: 0 0 10px; }
.pd-specs, .pd-related { padding: 48px 0; }
.pd-specs h2, .pd-related h2 { font-size: 22px; margin: 0 0 16px; color: var(--brand-dark); }
.pd-specs .prod-specs { max-width: 900px; }
.pd-related { background: #fff; }
.pd-specs + .pd-images { padding-top: 0; }
.pd-image-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; max-width: 1000px; }
.pd-image-grid figure { margin: 0; }
.pd-image-grid a { display: block; background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.pd-image-grid img { display: block; width: 100%; height: auto; }
.pd-image-grid a:hover { border-color: var(--accent); }
.pd-image-grid figcaption { margin-top: 8px; font-size: 14px; color: var(--muted); text-align: center; }
@media (max-width: 640px) { .pd-image-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 860px) { .pd-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; } .pd-photo { max-width: 420px; } }

/* INOR comparison tables */
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ser-block { margin: 0 0 32px; }
.ser-title { margin: 0 0 4px; font-size: 17px; color: var(--ink); }
.ser-lead { margin: 0 0 12px; font-size: 14px; color: var(--muted); max-width: 60em; }
.ser-scroll { position: relative; overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.ser-table { width: 100%; border-collapse: collapse; font-size: 14px; font-variant-numeric: tabular-nums; }
.ser-table thead th { background: var(--brand); color: #fff; font-weight: 600; text-align: left; padding: 10px 12px; white-space: nowrap; }
.ser-table td, .ser-table tbody th { padding: 10px 12px; border-top: 1px solid var(--line); text-align: left; vertical-align: middle; }
.ser-table tbody tr:nth-child(even) { background: var(--bg); }
.ser-table tbody tr:hover { background: #eaf4fc; }
.ser-table tbody tr.is-current { background: #fff6d6; }
.ser-photo-col { width: 92px; }
.ser-photo { width: 92px; padding: 6px 10px !important; }
.ser-photo a { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 8px; overflow: hidden; background: #fff; border: 1px solid var(--line); }
.ser-photo img { width: 100%; height: 100%; object-fit: contain; padding: 3px; }
.ser-photo .br-nophoto b { font-size: 12px; }
.ser-photo .br-nophoto small { display: none; }
.ser-model { font-weight: 700; white-space: nowrap; }
.ser-model a { color: var(--brand-dark); }
.ser-model a:hover, .ser-link a:hover { color: var(--accent); }
.ser-link { white-space: nowrap; }
.ser-link a { font-weight: 600; color: var(--brand); }
.ser-table td { min-width: 110px; }
.br-nophoto.icon svg { width: 34px; height: 34px; color: #7d9bbb; }
.ser-photo .br-nophoto.icon svg { width: 26px; height: 26px; }
.pl-item h4 a { color: inherit; }
.pl-item h4 a:hover { color: var(--accent); }
/* Product blocks in a category list (RTD), as on the 新產品 page */
.pl-group .prod-items { padding: 0; }
.pl-group .prod-items .prod-item:first-child { padding-top: 8px; }
.pl-group .prod-body p + p { margin-top: -6px; }
.pl-group .prod-items .prod-item:last-child { border-bottom: 0; }
.prod-item h2 a { color: inherit; }
.prod-item h2 a:hover { color: var(--accent); }
.prod-gallery figure.main > a { display: block; width: 100%; height: 100%; }
.prod-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; }
.prod-actions .prod-inquire, .prod-actions .pd-pdf { margin-top: 0; }
.pd-tech + .pd-specs { padding-top: 0; }
@media (max-width: 560px) {
  .ser-photo-col, .ser-photo { width: 64px; padding: 6px !important; }
  .ser-photo a { width: 52px; height: 52px; }
  .ser-model { white-space: normal; min-width: 120px; }
  .ser-table { font-size: 13px; }
  .ser-table td { min-width: 96px; }
}

/* Brand PDF download */
.pd-pdf .pdf-ico { flex: none; margin-right: 8px; }
.btn .pdf-ico { flex: none; margin-right: -2px; }
.pd-pdf { display: inline-flex; align-items: center; margin-top: 16px; font-weight: 600; color: var(--brand); }
.pd-pdf:hover { color: var(--accent); }

/* Amazon buy links (products with a link set in the admin panel) */
.pl-actions { margin-top: auto; padding-top: 10px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; }
.pl-actions .pl-ask { margin-top: 0; padding-top: 0; }
.pl-buy, .ser-buy { font-size: 13px; font-weight: 700; color: #b35c00; white-space: nowrap; }
.pl-buy:hover, .ser-buy:hover { color: #8a4600; text-decoration: underline; }
.ser-buy { display: block; margin-top: 4px; }
.btn-buy { background: #ff9900; border-color: #ff9900; color: #111; }
.btn-buy:hover { background: #f08804; border-color: #f08804; color: #111; }

/* Contact details without the form: one row of four on wide screens */
.contact-grid:has(> .contact-strip:only-child) { grid-template-columns: 1fr; }
.contact-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 28px; }
.contact-strip .contact-item { border-bottom: 0; }
@media (max-width: 960px) { .contact-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .contact-strip { grid-template-columns: 1fr; } .contact-strip .contact-item { border-bottom: 1px solid var(--line); } .contact-strip .contact-item:last-child { border-bottom: 0; } }

/* 新產品 card for a product without a photo */
.new-nophoto { display: block; width: 100%; height: 100%; min-height: 140px; background: linear-gradient(135deg, #eef3f9, #dfe8f3); }

/* Quality cards: as many columns as cards (edited in the admin panel), up to four per row on wide screens */
@media (min-width: 1101px) {
  .cert-grid:has(> .cert:nth-child(4)) { grid-template-columns: repeat(4, 1fr); }
  .cert-grid:has(> .cert:nth-child(2):last-child) { grid-template-columns: repeat(2, 1fr); }
}

/* Downloadable PDFs (admin panel 型錄下載) */
.dl-section { padding: 64px 0; }
.dl-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.dl-item { display: flex; align-items: center; gap: 18px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 22px; }
.dl-icon { flex: none; width: 52px; height: 64px; border-radius: 8px; background: #c0392b; color: #fff; font: 700 13px/64px sans-serif; text-align: center; letter-spacing: .04em; box-shadow: inset 0 -14px 0 rgba(0,0,0,.12); }
.dl-body { flex: 1; min-width: 0; }
.dl-body h3 { margin: 0 0 4px; font-size: 17px; }
.dl-body p { margin: 0 0 4px; color: var(--ink-2); font-size: 14px; }
.dl-body small { color: var(--muted); font-size: 12.5px; }
.dl-body small a { color: var(--brand); font-weight: 600; }
.dl-btn { flex: none; display: inline-flex; align-items: center; gap: 6px; }
@media (max-width: 640px) { .dl-item { flex-wrap: wrap; } .dl-btn { width: 100%; justify-content: center; } }

/* Contact and Talk to an engineer combined: section heading on top, engineer intro + contact details beside the form */
.contact-combined .section-head { margin-bottom: 40px; }
#engineer { scroll-margin-top: 90px; }
.engineer-intro .eng-title { font-family: var(--font-serif); font-size: clamp(22px, 2.4vw, 28px); line-height: 1.35; margin: 10px 0 12px; overflow-wrap: break-word; }
html:lang(ja) .engineer-intro .eng-title { word-break: keep-all; overflow-wrap: anywhere; }
.contact-combined .contact-info { margin: 0 0 18px; padding: 8px 24px; background: var(--bg); box-shadow: none; border: 1px solid var(--line); }
.contact-combined .contact-item p, .contact-combined .contact-item a { font-size: 15px; }

/* Standalone brand page hero (OMEGA): introduction and photo beside each other, product list right below */
.hero-brand { padding: 44px 0 48px; }
.hero-brand-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: 48px; align-items: center; }
.hero-brand h1 { margin-bottom: 12px; }
.hero-brand-points { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.hero-brand-points li { padding: 6px 14px; border-radius: 999px; background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.22); color: #e6f0fa; font-size: 14px; }
.hero-brand .page-hero-cta { margin-top: 24px; }
.hero-brand-logo { justify-self: end; width: min(100%, 360px); aspect-ratio: 16 / 9; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; background: #fff; border-radius: var(--radius); padding: 28px 36px; box-shadow: 0 18px 40px rgba(0, 20, 50, 0.35); }
.hero-brand-logo img { display: block; max-width: 100%; max-height: 120px; object-fit: contain; }
.hero-brand-grid.no-logo { grid-template-columns: 1fr; }
/* The list follows straight on, with less space above it. */
.hero-brand + .prod-list { padding-top: 40px; }
@media (max-width: 760px) {
  .hero-brand { padding: 24px 0 28px; }
  .hero-brand-grid { grid-template-columns: 1fr; }
  /* The title already names the brand; on phones the logo card gives way so the products show sooner. */
  .hero-brand-logo { display: none; }
  .hero-brand h1 { margin: 8px 0 8px; }
  .hero-brand p { font-size: 15px; }
  /* On phones the points (which name the products listed just below) give way to the list itself. */
  .hero-brand-points { display: none; }
  .hero-brand .page-hero-cta { margin-top: 16px; }
  .hero-brand + .prod-list { padding-top: 28px; }
}

/* 工程實績 (custom page): project cards with an industry tag */
.svc-card.project h3 { font-size: 16px; line-height: 1.6; margin: 12px 0 0; font-weight: 600; }
.eng-tag { display: inline-block; padding: 2px 12px; border-radius: 999px; background: #e8f3fc; color: var(--brand); font-size: 12.5px; font-weight: 600; }
