/* Self-hosted subsets (scripts/optimize.py fonts): Noto Sans TC variable 100–900, Barlow Condensed for figures/labels.
   Characters outside the subset (e.g. typed by visitors) fall back to the system font. SIL Open Font License, see fonts/OFL.txt */
@font-face { font-family: 'Noto Sans TC'; src: url('fonts/noto-sans-tc.woff2?v=fd9f13a0') format('woff2'); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Barlow Condensed'; src: url('fonts/barlow-condensed-500.woff2?v=fd9f13a0') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Barlow Condensed'; src: url('fonts/barlow-condensed-600.woff2?v=fd9f13a0') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }

/* 金和鑫鋼鐵 — site styles */

:root {
  color-scheme: light;
  --ink: #0e1b2c;
  --ink-2: #33414f;
  --muted: #5d6b7a;
  --line: #dbe2e9;
  --line-strong: #c2ccd6;
  --bg: #ffffff;
  --bg-alt: #f2f5f8;
  --blue: #1c75bc;
  --blue-600: #155f9b;
  --blue-50: #eaf3fb;
  --navy: #0a1220;
  --navy-2: #12263d;
  --line-green: #06c755;
  --accent: #3d9be9; /* light brand blue for small accents on dark backgrounds */
  --danger: #c6372a;
  --success: #1d7d46;

  --shape-bg: #f6f9fc;
  --shape-fill: #e4eff9;
  --shape-hatch: rgba(28, 117, 188, 0.38);
  --shape-stroke: #1c75bc;
  --shape-dim: #7d91a6;
  --shape-top: #e4eff9;
  --shape-left: #c2dbf0;
  --shape-right: #93bde2;
  --shape-cut: #0e1b2c;

  --font: 'Noto Sans TC', 'PingFang TC', 'Microsoft JhengHei', system-ui, sans-serif;
  --font-label: 'Barlow Condensed', 'Noto Sans TC', system-ui, sans-serif;
  --radius: 10px;
  --header-h: 64px;
  --gutter: 16px;
  --shadow: 0 1px 2px rgba(14, 27, 44, 0.06), 0 8px 24px rgba(14, 27, 44, 0.08);
  --grid-lines: linear-gradient(rgba(28, 117, 188, 0.07) 1px, transparent 1px), linear-gradient(90deg, rgba(28, 117, 188, 0.07) 1px, transparent 1px);
}

@media (min-width: 768px) {
  :root { --gutter: 24px; }
}
@media (min-width: 1024px) {
  :root { --header-h: 76px; }
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; touch-action: manipulation; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
picture { display: contents; } /* <picture> only picks the file; the <img> inside is laid out as before */
img { height: auto; }
/* Grid tracks must be allowed to shrink below an image's natural width:
   with plain 1fr, iOS Safari sizes the column to the photo (e.g. 1536px) and zooms the whole page out. */
.card-grid, .service-grid, .footer-grid, .split, .product-grid-2, .range-grid, .related-service, .equip-rows, .equip-row,
.inquiry-grid, .contact-grid, .inquiry-form, .field-row, .field { grid-template-columns: minmax(0, 1fr); }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--blue-600); }
h1, h2, h3 { color: var(--ink); line-height: 1.3; letter-spacing: 0.02em; margin: 0 0 0.6em; font-weight: 900; }
h1 { font-size: clamp(1.9rem, 1.35rem + 2.4vw, 3.1rem); }
h2 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.15rem); }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
address { font-style: normal; }
table { border-collapse: collapse; width: 100%; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 8px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 4px; }
.skip-link:focus { top: 8px; color: #fff; }

.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 880px; }
.clause { display: inline-block; }
.icon { width: 1.15em; height: 1.15em; flex: none; }

/* ---------- type helpers ---------- */
.eyebrow {
  display: flex; align-items: center; flex-wrap: wrap; gap: 0 0.75em;
  margin: 0 0 14px; font-size: 0.9rem; font-weight: 700; color: var(--blue); letter-spacing: 0.08em;
}
.eyebrow > span { font-family: var(--font-label); font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; }
.eyebrow-light { color: #8cc3ef; }
.lead { font-size: clamp(1.02rem, 0.98rem + 0.25vw, 1.15rem); color: var(--ink-2); max-width: 44em; }
.h-section { font-size: clamp(1.3rem, 1.15rem + 0.6vw, 1.65rem); margin-bottom: 20px; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-weight: 700; text-decoration: none; color: var(--blue); }
.link-arrow .icon { transition: transform 0.2s; }
a:hover .link-arrow .icon, .link-arrow:hover .icon { transform: translateX(4px); }
.note { font-size: 0.9rem; color: var(--muted); border-left: 3px solid var(--line-strong); padding-left: 12px; margin-top: 20px; }
.note a { display: inline-block; padding: 10px 0; margin: -10px 0; }

.check-list { display: grid; gap: 10px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; }
.check-list .icon { color: var(--blue); margin-top: 0.35em; }
.check-list-lg li { font-size: 1.05rem; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 10px 20px; border-radius: 8px; border: 2px solid transparent;
  font: inherit; font-weight: 700; font-size: 1rem; line-height: 1.2; text-decoration: none; cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s, transform 0.2s;
}
.btn .icon { width: 1.1em; height: 1.1em; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-600); color: #fff; }
.btn-outline { background: #fff; color: var(--ink); border-color: var(--line-strong); }
.btn-outline:hover { border-color: var(--blue); color: var(--blue); }
.btn-line { background: var(--line-green); color: #fff; }
.btn-line:hover { background: #05a948; color: #fff; }
.btn-ghost { background: rgba(255, 255, 255, 0.04); color: #fff; border-color: rgba(255, 255, 255, 0.38); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.12); border-color: #fff; color: #fff; }
.btn-white { background: #fff; color: var(--blue-600); }
.btn-white:hover { background: var(--blue-50); color: var(--blue-600); }
.btn-sm { min-height: 40px; padding: 6px 14px; font-size: 0.95rem; }
.btn-lg { min-height: 54px; padding: 12px 26px; font-size: 1.05rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); transition: box-shadow 0.2s;
}
.site-header.is-scrolled { box-shadow: 0 4px 20px rgba(14, 27, 44, 0.08); }
/* backdrop-filter would make the header the containing block of the fixed mobile menu */
.site-header.nav-open { backdrop-filter: none; background: #fff; }
.header-inner { position: relative; display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); flex: none; }
.brand-logo { height: 50px; width: auto; }
.brand-text { display: grid; line-height: 1.2; }
.brand-name { font-size: 1.45rem; font-weight: 900; letter-spacing: 0.06em; color: var(--ink); }
.brand-tag { font-size: 0.75rem; color: var(--muted); letter-spacing: 0.06em; }
.brand-invert .brand-name { color: var(--ink); font-size: 1.3rem; }
.brand-invert .brand-tag { color: var(--muted); }
.brand-invert .brand-logo { height: 52px; }

.nav-toggle {
  display: inline-grid; place-items: center; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: var(--radius);
  background: #fff; cursor: pointer; padding: 0;
}
.nav-toggle .bars, .nav-toggle .bars::before, .nav-toggle .bars::after {
  display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform 0.2s, background-color 0.2s; position: relative;
}
.nav-toggle .bars::before, .nav-toggle .bars::after { content: ''; position: absolute; left: 0; }
.nav-toggle .bars::before { top: -6px; }
.nav-toggle .bars::after { top: 6px; }
.nav-open .nav-toggle .bars { background: transparent; }
.nav-open .nav-toggle .bars::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle .bars::after { transform: translateY(-6px) rotate(-45deg); }

.site-nav { display: none; }
.nav-open .site-nav {
  display: flex; flex-direction: column; gap: 24px; position: fixed; inset: var(--header-h) 0 0 0; background: #fff;
  padding: 16px var(--gutter) 96px; overflow-y: auto; border-top: 1px solid var(--line);
}
.nav-list { display: grid; }
.nav-link {
  display: flex; align-items: center; min-height: 56px; padding: 0 4px; font-size: 1.1rem; font-weight: 700; color: var(--ink);
  text-decoration: none; border-bottom: 1px solid var(--line);
}
.nav-link[aria-current='page'] { color: var(--blue); }
.nav-actions { display: grid; gap: 10px; }
.nav-actions .btn { min-height: 50px; }
.mega { display: none; }

@media (min-width: 1024px) {
  .nav-toggle { display: none; }
  .site-nav, .nav-open .site-nav {
    display: flex; flex-direction: row; align-items: center; gap: 20px; position: static; padding: 0; overflow: visible; border: 0; background: none;
  }
  .nav-list { display: flex; height: var(--header-h); }
  .nav-item { display: flex; }
  .nav-item.is-processing { position: relative; }
  .nav-link { min-height: 0; padding: 0 14px; font-size: 1rem; border: 0; position: relative; }
  .nav-link::after {
    content: ''; position: absolute; left: 14px; right: 14px; bottom: 0; height: 3px; background: var(--blue);
    transform: scaleX(0); transition: transform 0.2s;
  }
  .nav-link:hover { color: var(--blue); }
  .nav-link[aria-current='page']::after, .nav-item:hover > .nav-link::after { transform: scaleX(1); }
  .nav-actions { display: flex; gap: 8px; }
  .nav-actions .btn { min-height: 40px; }
  .nav-line { display: none; }

  .mega {
    display: block; position: absolute; top: 100%; left: var(--gutter); right: var(--gutter); background: #fff;
    border: 1px solid var(--line); border-top: 3px solid var(--blue); border-radius: 0 0 var(--radius) var(--radius);
    box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(6px);
    transition: opacity 0.18s, transform 0.18s, visibility 0.18s;
  }
  .has-mega:hover > .mega, .has-mega:focus-within > .mega { opacity: 1; visibility: visible; transform: none; }
  .mega-inner { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; padding: 24px 28px; }
  .mega-cat { display: block; font-weight: 900; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); padding-bottom: 8px; margin-bottom: 8px; }
  .mega-cat:hover { color: var(--blue); }
  .mega-col ul { display: grid; gap: 2px; }
  .mega-products .mega-col:last-child ul { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 12px; }
  .mega a:not(.mega-cat) { color: var(--ink-2); text-decoration: none; font-size: 0.95rem; display: block; padding: 3px 0; }
  .mega a:not(.mega-cat):hover { color: var(--blue); }
  .mega-small { left: 0; right: auto; width: 220px; }
  .mega-small .mega-inner { display: block; padding: 12px 18px; }
}
@media (min-width: 1200px) {
  .nav-line { display: inline-flex; }
  .site-header .brand-logo { height: 60px; }
  .site-header .brand-name { font-size: 1.75rem; }
}
@media (max-width: 420px) {
  .brand-tag { display: none; }
}

/* ---------- sections ---------- */
.section { padding-block: 64px; }
.section-tight { padding-block: 40px; }
.section-alt { background: var(--bg-alt); }
@media (max-width: 599px) {
  .section { padding-block: 52px; }
  .section-title { margin-bottom: 24px; }
}
@media (min-width: 768px) {
  .section { padding-block: 96px; }
  .section-tight { padding-block: 56px; }
}

/* ---------- home hero ---------- */
.hero {
  position: relative; overflow: hidden; color: rgba(255, 255, 255, 0.9);
  background:
    radial-gradient(ellipse 60% 75% at 85% 25%, rgba(255, 255, 255, 0.22), transparent 70%),
    radial-gradient(ellipse 45% 60% at 0% 100%, rgba(10, 60, 110, 0.14), transparent 70%),
    linear-gradient(135deg, #1a64aa 0%, #2172bb 50%, #2a82cc 100%);
}
.hero::after {
  /* faint diagonal light rays */
  content: ''; position: absolute; inset: -20%; pointer-events: none;
  background: repeating-linear-gradient(118deg, transparent 0 58px, rgba(255, 255, 255, 0.08) 58px 59px);
  -webkit-mask-image: radial-gradient(ellipse 50% 55% at 72% 42%, #000, transparent 75%); mask-image: radial-gradient(ellipse 50% 55% at 72% 42%, #000, transparent 75%);
}
.hero-bg { position: absolute; z-index: 0; pointer-events: none; top: 20px; right: 4vw; width: 52vw; opacity: 0.22; transform: translateY(var(--parallax, 0px)); will-change: transform; }
.hero-bg svg { display: block; width: 100%; height: auto; }
.hero-inner { position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: center; min-height: clamp(480px, 78svh, 640px); padding-block: 56px 72px; }
.hero-pill {
  align-self: flex-start; margin: 0 0 26px; padding: 6px 16px; border: 1px solid rgba(255, 255, 255, 0.45); border-radius: 999px;
  background: rgba(255, 255, 255, 0.14); color: #fff; font-size: 0.85rem; font-weight: 700; letter-spacing: 0.14em;
}
.hero-title { margin: 0 0 24px; color: #fff; font-size: clamp(2.2rem, 1.3rem + 4vw, 4.5rem); font-weight: 900; line-height: 1.2; letter-spacing: 0.02em; }
.hero-brand { display: block; margin-bottom: 12px; font-size: clamp(1.05rem, 0.9rem + 0.7vw, 1.45rem); font-weight: 900; letter-spacing: 0.14em; color: #d4ebff; }
.hero-line { display: block; overflow: hidden; padding-bottom: 0.04em; }
.hero-line > span { display: inline-block; }
@media (max-width: 599px) {
  /* keep the first clause on one line on phones; the blue statement stays large */
  .hero-line:not(.hero-line-accent) { font-size: 0.68em; letter-spacing: 0.04em; }
}
.hero-line-accent > span { background: linear-gradient(90deg, #ffffff 0%, #d4ebff 60%, #b7dcfb 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-lead { max-width: 34em; margin-bottom: 36px; font-size: clamp(1rem, 0.95rem + 0.3vw, 1.15rem); color: rgba(255, 255, 255, 0.9); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (min-width: 600px) and (max-width: 959px) {
  .hero-bg { right: 4vw; width: 46vw; top: 40px; opacity: 0.3; }
}
@media (min-width: 960px) {
  .hero-inner { min-height: clamp(560px, calc(100svh - var(--header-h)), 760px); padding-block: 64px 80px; }
  .hero-bg { top: 50%; right: 2%; width: min(44vw, 620px); opacity: 0.75; transform: translateY(calc(-50% + var(--parallax, 0px))); }
}

/* engineering drawing (hero) */
.hb { overflow: visible; }
.hb .hb-hatch { stroke: rgba(255, 255, 255, 0.16); stroke-width: 1.2; }
.hb .hb-arrowhead { fill: none; stroke: rgba(255, 255, 255, 0.55); stroke-width: 1.2; }
.hb .hb-fill { fill: url(#hb-hatch); }
.hb .hb-out { fill: none; stroke: rgba(255, 255, 255, 0.85); stroke-width: 1.8; stroke-linejoin: round; }
.hb .hb-dim line, .hb .hb-dim path { fill: none; stroke: rgba(255, 255, 255, 0.45); stroke-width: 1; }
.hb .hb-ctr line { stroke: rgba(255, 255, 255, 0.35); stroke-width: 1; stroke-dasharray: 16 4 3 4; }
.hb .hb-txt text { fill: rgba(255, 255, 255, 0.7); font-family: var(--font-label); font-size: 17px; font-weight: 600; letter-spacing: 0.04em; }

/* ---------- stats ---------- */
.stats { background: var(--bg-alt); padding-block: 48px; }
.stats-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
@media (min-width: 900px) { .stats { padding-block: 64px; } .stats-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; } }
.stats-grid-3 { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .stats-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 900px) { .stats-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.stat-card { display: flex; flex-direction: column; align-items: center; padding: 24px 12px; text-align: center; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.stat-icon { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 12px; border-radius: 10px; background: var(--blue-50); color: var(--blue); }
.stat-icon .icon { width: 22px; height: 22px; }
.stat-num { font-family: var(--font-label); font-size: clamp(2rem, 1.6rem + 1.4vw, 2.8rem); font-weight: 600; line-height: 1.05; color: var(--ink); }
.stat-num.is-text { font-family: var(--font); font-weight: 900; font-size: clamp(1.7rem, 1.4rem + 1.1vw, 2.3rem); line-height: 1.2; }
.stat-label { margin-top: 6px; font-size: 0.9rem; color: var(--muted); }
@media (max-width: 599px) {
  .stats { padding-block: 28px; }
  .stats-grid { gap: 10px; }
  .stat-card { padding: 16px 8px 14px; }
  .stat-icon { width: 36px; height: 36px; margin-bottom: 8px; }
  .stat-icon .icon { width: 19px; height: 19px; }
  .stat-label { margin-top: 4px; font-size: 0.85rem; line-height: 1.5; }
  .stats-grid-3 .stat-card { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-areas: 'icon num' 'icon label'; column-gap: 14px; align-items: center; text-align: left; padding: 14px 16px; }
  .stats-grid-3 .stat-icon { grid-area: icon; margin: 0; }
  .stats-grid-3 .stat-num { grid-area: num; }
  .stats-grid-3 .stat-label { grid-area: label; margin: 0; }
}

/* ---------- section title (home) ---------- */
.section-title { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 32px; margin-bottom: 32px; }
.section-title h2 { margin: 0; }
.section-sub { margin: 10px 0 0; max-width: 40em; color: var(--muted); }
.more-link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-weight: 700; color: var(--ink); text-decoration: none; }
.more-link:hover { color: var(--blue); }

/* ---------- cards (home) ---------- */
.card-grid { display: grid; gap: 20px; }
@media (min-width: 560px) { .card-grid-4 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
@media (min-width: 1024px) { .card-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 768px) { .card-grid-2 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; } }
.card {
  display: flex; flex-direction: column; height: 100%; background: #fff; border: 1px solid var(--line); border-radius: 12px;
  overflow: hidden; text-decoration: none; color: inherit; transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.card:hover { transform: translateY(-4px); border-color: transparent; box-shadow: 0 16px 40px rgba(10, 20, 35, 0.1); color: inherit; }
/* Media frames: the frame's aspect-ratio sets its size and the image is laid over it,
   so a large photo can never push the frame (and the page) wider than the screen. */
.card-media, .pc-visual { position: relative; aspect-ratio: 4 / 3; }
.pc-visual { aspect-ratio: 3 / 2; } /* matches the 3:2 product illustrations and drawings */
.card-media { margin: 12px 12px 0; overflow: hidden; border-radius: 8px; background: #f3f6f9; }
.card-media img, .pc-visual img, .pc-visual > svg { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; }
.card-media img { object-fit: cover; }
.card-media.is-small img { inset: 0; margin: auto; width: auto; height: auto; max-width: 100%; max-height: 100%; }
@supports not (aspect-ratio: 1) {
  .card-media::before, .pc-visual::before { content: ''; display: block; padding-top: 75%; }
  .pc-visual::before { padding-top: 66.67%; }
  .card-wide .card-media::before { padding-top: 56.25%; }
}
.card-wide .card-media { aspect-ratio: 16 / 9; }
@media (max-width: 559px) {
  .card-media { aspect-ratio: 16 / 9; }
  .card-row { flex-direction: row; }
  .card-row .card-media { flex: none; width: 36%; min-height: 128px; aspect-ratio: auto; margin: 10px 0 10px 10px; }
  .card-row .card-body { min-width: 0; padding: 14px 14px 14px 16px; }
  .card-row .card-body h3 { font-size: 1.1rem; margin-bottom: 4px; }
  .card-row .card-body p { font-size: 0.85rem; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .card-row .card-meta { padding-top: 8px; }
  .card-grid { gap: 12px; }
}
.card-body { display: flex; flex-direction: column; flex: 1; padding: 18px 18px 22px; }
.card-body h3 { margin: 0 0 8px; font-size: 1.2rem; font-weight: 900; }
.card:hover h3 { color: var(--blue); }
.card-body p { margin: 0; font-size: 0.93rem; color: var(--muted); }
.card-meta { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 16px; font-size: 0.88rem; font-weight: 700; color: var(--blue); }

/* ---------- services ---------- */
.service-grid { display: grid; gap: 24px; }
@media (min-width: 860px) { .service-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.service-card {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden;
  text-decoration: none; color: var(--ink-2); transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.service-card:hover { transform: translateY(-4px); border-color: transparent; box-shadow: 0 16px 40px rgba(10, 20, 35, 0.1); color: var(--ink-2); }
.service-card:hover h2 { color: var(--blue); }
.service-drawing, .related-drawing, .drawing-panel, .pv-drawing {
  background-color: var(--shape-bg); background-image: var(--grid-lines); background-size: 20px 20px;
}
.service-drawing { margin: 12px 12px 0; padding: 12px 40px; border-radius: 8px; }
.service-drawing .shape { max-height: 200px; margin-inline: auto; }
.service-body { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 26px; }
.service-num { font-family: var(--font-label); font-size: 1rem; font-weight: 600; letter-spacing: 0.16em; color: var(--blue); margin: 0 0 4px; }
.service-body h2, .service-body h3 { font-size: 1.35rem; font-weight: 900; }
.service-body > p { color: var(--muted); }
.service-body ul { display: grid; gap: 6px; margin-bottom: 20px; }
.service-body li { position: relative; padding-left: 18px; }
.service-body li::before { content: ''; position: absolute; left: 0; top: 0.72em; width: 7px; height: 7px; border-radius: 2px; background: var(--blue); }
.service-body .link-arrow { margin-top: auto; }

.equip-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; margin-top: 40px; }
@media (min-width: 960px) { .equip-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; } }
.equip-media { overflow: hidden; border-radius: 10px; }
.equip-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.equip figcaption { margin-top: 8px; font-size: 0.92rem; font-weight: 700; color: var(--ink); }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden; color: #d6e6f5; padding-block: 72px;
  background: radial-gradient(ellipse 70% 120% at 85% 0%, rgba(108, 184, 245, 0.35), transparent 60%), linear-gradient(120deg, #0a2542 0%, #155f9b 60%, #1c75bc 100%);
}
.cta-inner { position: relative; text-align: center; }
.cta-inner h2 { color: #fff; margin-bottom: 12px; }
.cta-inner > p { max-width: 36em; margin: 0 auto; }
.cta-buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 30px 0 18px; }
.cta-hours { margin: 0; font-size: 0.9rem; color: #a9c8e6; }
@media (min-width: 960px) { .cta-band { padding-block: 96px; } }

/* ---------- footer ---------- */
.site-footer { background: #f3f6f9; color: var(--ink-2); font-size: 0.93rem; padding-top: 64px; border-top: 1px solid var(--line); }
.site-footer a { color: var(--ink-2); text-decoration: none; }
.site-footer a:hover { color: var(--blue); text-decoration: underline; }
.footer-grid { display: grid; gap: 36px; padding-bottom: 48px; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.8fr) minmax(0, 0.8fr) minmax(0, 1.4fr); gap: 48px; } }
.footer-brand p { margin-top: 18px; max-width: 30em; }
.footer-h { color: var(--ink); font-weight: 900; margin-bottom: 14px; letter-spacing: 0.06em; }
.footer-col ul { display: grid; gap: 8px; }
.footer-contact address { display: grid; gap: 8px; }
.footer-contact p { display: flex; gap: 10px; margin: 0; }
.footer-contact .icon { margin-top: 0.3em; color: var(--blue); }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; border-top: 1px solid var(--line); padding-block: 20px; font-size: 0.85rem; color: var(--muted); }
.footer-bottom p { margin: 0; }

@media (max-width: 767px) {
  /* larger, better-spaced tap targets */
  .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px 20px; }
  .footer-brand, .footer-contact { grid-column: 1 / -1; }
  .footer-contact p { align-items: center; }
  .footer-contact .icon { flex: none; margin-top: 0; }
  .footer-col ul { gap: 0; }
  .footer-col li a { display: block; padding: 11px 0; }
  .footer-contact address { gap: 2px; }
  .footer-contact a { display: inline-block; padding: 9px 0; }
  .footer-bottom a { display: inline-block; padding: 10px 0; }
  .breadcrumb a { display: inline-block; padding: 12px 0; margin: -12px 0; }
  .breadcrumb { padding-block: 14px 4px; }
}

/* ---------- mobile quick bar ---------- */
.mobile-bar { display: none; }
@media (max-width: 767px) {
  body { padding-bottom: 64px; }
  .mobile-bar {
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -4px 16px rgba(14, 27, 44, 0.08); padding-bottom: env(safe-area-inset-bottom);
  }
  .mobile-bar a {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 64px;
    font-size: 0.8rem; font-weight: 700; color: var(--ink); text-decoration: none;
  }
  .mobile-bar a:first-child { background: var(--blue); color: #fff; }
  .mobile-bar a:nth-child(2) { color: var(--line-green); }
  .mobile-bar .icon { width: 22px; height: 22px; }
}

/* ---------- floating LINE ---------- */
.float-line { position: fixed; right: 32px; bottom: 116px; z-index: 56; }
.float-line-btn {
  position: relative; display: flex; align-items: center; height: 56px; min-width: 56px; padding: 0 0 0 4px; border-radius: 999px;
  background: var(--line-green); color: #fff; text-decoration: none; box-shadow: 0 10px 24px rgba(6, 199, 85, 0.35);
  transition: padding 0.25s, background-color 0.2s;
}
.float-line-btn::before {
  /* soft ripple that invites a click */
  content: ''; position: absolute; inset: 0; border-radius: inherit; border: 2px solid var(--line-green); pointer-events: none;
}
.float-line-logo { flex: none; width: 48px; height: 48px; }
.float-line-logo path { fill: #fff; }
.float-line-logo text { fill: var(--line-green); font-family: Arial, Helvetica, sans-serif; font-size: 5.1px; font-weight: 900; letter-spacing: -0.1px; }
.float-line-text { max-width: 0; overflow: hidden; white-space: nowrap; font-weight: 700; font-size: 0.95rem; transition: max-width 0.3s, padding 0.3s; }
.float-line-btn:hover, .float-line-btn:focus-visible { background: #05b04b; color: #fff; }
.float-line-btn:hover .float-line-text, .float-line-btn:focus-visible .float-line-text { max-width: 6em; padding-right: 20px; }
.float-line-card {
  position: absolute; right: 0; bottom: calc(100% + 12px); width: 168px; padding: 12px; border-radius: 12px; background: #fff;
  box-shadow: 0 16px 40px rgba(10, 20, 35, 0.18); text-align: center; opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
}
.float-line-card img { width: 140px; height: 140px; margin: 0 auto; }
.float-line-card p { margin: 6px 0 0; font-size: 0.82rem; line-height: 1.5; color: var(--muted); }
.float-line-card strong { color: var(--ink); }
@media (hover: hover) and (min-width: 768px) {
  .float-line:hover .float-line-card, .float-line-btn:focus-visible + .float-line-card { opacity: 1; visibility: visible; transform: none; }
}

/* ---------- back to top (scroll-progress ring) ---------- */
.go-top {
  position: fixed; right: 32px; bottom: 44px; z-index: 55; display: grid; place-items: center; width: 56px; height: 56px; padding: 0;
  border: 0; border-radius: 50%; background: radial-gradient(circle at 30% 25%, #1d3654, #0a1220 70%); color: #fff; cursor: pointer;
  box-shadow: 0 10px 24px rgba(10, 18, 32, 0.35); opacity: 0; visibility: hidden; transform: translateY(12px) scale(0.9);
  transition: opacity 0.25s, transform 0.25s, visibility 0.25s, box-shadow 0.25s;
}
.go-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.site-header.nav-open ~ .go-top, .site-header.nav-open ~ .float-line { display: none; }
.go-top-ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.go-top-track { fill: none; stroke: rgba(255, 255, 255, 0.14); stroke-width: 3; }
.go-top-bar { fill: none; stroke: var(--accent); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset 0.15s linear; }
.go-top-inner { position: relative; display: grid; justify-items: center; line-height: 1; }
.go-top-inner .icon { width: 18px; height: 18px; transition: transform 0.25s; }
.go-top-label { margin-top: 2px; font-size: 0.62rem; font-weight: 700; letter-spacing: 0.08em; }
.go-top:hover { box-shadow: 0 12px 28px rgba(28, 117, 188, 0.45); }
.go-top:hover .go-top-bar { stroke: #8cc3ef; }
.go-top:hover .go-top-inner .icon { transform: translateY(-3px); }
@media (max-width: 767px) {
  /* stack above the fixed call / LINE / inquiry bar */
  .go-top { right: 18px; bottom: calc(64px + 22px + env(safe-area-inset-bottom)); width: 50px; height: 50px; }
  /* phones already have LINE in the bottom bar; the floating button is for tablets and desktops */
  .float-line { display: none; }
}

/* ---------- breadcrumb & page hero ---------- */
.breadcrumb { padding-top: 18px; font-size: 0.85rem; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 4px; color: var(--muted); }
.breadcrumb li + li::before { content: '/'; margin-right: 4px; color: var(--line-strong); }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--blue); text-decoration: underline; }
.page-hero {
  position: relative; overflow: hidden; padding-block: 0 52px; color: rgba(255, 255, 255, 0.9);
  background:
    radial-gradient(ellipse 60% 75% at 85% 25%, rgba(255, 255, 255, 0.22), transparent 70%),
    radial-gradient(ellipse 45% 60% at 0% 100%, rgba(10, 60, 110, 0.14), transparent 70%),
    linear-gradient(135deg, #1a64aa 0%, #2172bb 50%, #2a82cc 100%);
}
.page-hero::after {
  content: ''; position: absolute; inset: -20%; pointer-events: none;
  background: repeating-linear-gradient(118deg, transparent 0 58px, rgba(255, 255, 255, 0.07) 58px 59px);
  -webkit-mask-image: radial-gradient(ellipse 45% 70% at 82% 30%, #000, transparent 75%); mask-image: radial-gradient(ellipse 45% 70% at 82% 30%, #000, transparent 75%);
}
.page-hero > * { position: relative; z-index: 1; }
.page-hero .breadcrumb ol, .page-hero .breadcrumb a { color: rgba(255, 255, 255, 0.78); }
.page-hero .breadcrumb li + li::before { color: rgba(255, 255, 255, 0.4); }
.page-hero .breadcrumb a:hover { color: #fff; }
.page-hero .breadcrumb [aria-current] { color: #fff; }
.page-hero .eyebrow { color: #d4ebff; }
.page-hero h1 { color: #fff; }
.page-hero .lead { color: rgba(255, 255, 255, 0.9); }
.page-hero .btn-primary { background: #fff; color: var(--blue-600); }
.page-hero .btn-primary:hover { background: var(--blue-50); color: var(--blue-600); }
.page-hero-body { padding-top: 32px; }
.page-hero .btn-row { margin-bottom: 0; }
.page-hero .lead { margin-bottom: 0; }
@media (min-width: 768px) {
  .page-hero { padding-bottom: 72px; }
  .page-hero-body { padding-top: 48px; }
}
.page-404 { padding-block: 96px; }
.page-404 .page-hero-body { padding-top: 0; }

/* ---------- about ---------- */
.split { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; } }
.prose h2 { font-size: 1.5rem; margin-top: 1.4em; }
.prose h2:first-child { margin-top: 0; }
.framed-photo { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 10px; }
.framed-photo img { width: 100%; border-radius: 3px; }
.framed-photo figcaption, .pv-caption { font-size: 0.85rem; color: var(--muted); margin: 8px 4px 0; text-align: center; }
.info-table th, .info-table td { text-align: left; padding: 14px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.info-table th { width: 8.5em; color: var(--muted); font-weight: 500; white-space: nowrap; }
.info-table td { color: var(--ink); font-weight: 500; }
.section-alt .info-table { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.info-table td { overflow-wrap: anywhere; }
.info-table a { display: inline-block; padding: 9px 0; margin: -9px 0; }
@media (max-width: 520px) {
  /* label above value so long values (e-mail, address) never push the page wider */
  .info-table:not(.review-table) th, .info-table:not(.review-table) td { display: block; width: auto; }
  .info-table:not(.review-table) th { padding-bottom: 0; border-bottom: 0; white-space: normal; font-size: 0.88rem; }
  .info-table:not(.review-table) td { padding-top: 4px; }
}

/* ---------- product categories ---------- */
.cat-switch { margin-bottom: 36px; }
.cat-switch ul { display: flex; flex-wrap: wrap; gap: 8px; }
.cat-switch a {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 18px; border: 1px solid var(--line); border-radius: 999px;
  background: #fff; color: var(--ink-2); font-weight: 700; text-decoration: none; transition: border-color 0.2s, color 0.2s, background-color 0.2s;
}
.cat-switch a span { font-size: 0.75rem; color: var(--muted); }
.cat-switch a:hover { border-color: var(--blue); color: var(--blue); }
.cat-switch a[aria-current='page'] { background: var(--blue); border-color: var(--blue); color: #fff; }
.cat-switch a[aria-current='page'] span { color: rgba(255, 255, 255, 0.8); }
.product-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
@media (max-width: 519px) {
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .pc-visual { margin: 8px 8px 0; border-radius: 6px; }
  .pc-body { padding: 10px 12px 14px; }
  .pc-title { font-size: 1rem; line-height: 1.4; }
  .pc-caption { font-size: 0.7rem; }
  .pc-meta { font-size: 0.8rem; line-height: 1.5; }
}
@media (min-width: 520px) { .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; } }
@media (min-width: 900px) { .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; } }
.product-card {
  display: flex; flex-direction: column; height: 100%; background: #fff; border: 1px solid var(--line); border-radius: 12px;
  overflow: hidden; text-decoration: none; color: inherit; transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}
.product-card:hover { border-color: transparent; transform: translateY(-4px); box-shadow: 0 16px 40px rgba(10, 20, 35, 0.1); color: inherit; }
.pc-visual { margin: 12px 12px 0; border-radius: 8px; overflow: hidden; background-color: var(--shape-bg); background-image: var(--grid-lines); background-size: 16px 16px; }
.pc-visual > svg { inset: 6px; width: calc(100% - 12px); height: calc(100% - 12px); }
.pc-visual.is-illustration { background: #f3f5f7; }
.pc-visual.is-illustration img { object-fit: contain; }
.pc-body { padding: 16px 18px 20px; }
.pc-title { font-size: 1.15rem; margin: 0 0 4px; }
.product-card:hover .pc-title { color: var(--blue); }
.pc-caption { font-size: 0.75rem; color: var(--muted); margin: 0 0 4px; }
.pc-meta { font-size: 0.9rem; color: var(--muted); margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------- schematic drawings ---------- */
.ks-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.ks-defs .h-bg { fill: var(--shape-fill); }
.ks-defs .h-ln { stroke: var(--shape-hatch); stroke-width: 1.4; }
.ks-defs .arrow { fill: none; stroke: var(--shape-dim); stroke-width: 1.2; }
.shape { width: 100%; height: 100%; }
.pv-drawing .shape, .service-drawing .shape, .related-drawing .shape { height: auto; }
.shape .sec { fill: url(#ks-hatch); stroke: var(--shape-stroke); stroke-width: 2.2; stroke-linejoin: round; }
.shape .pl-left, .shape .pl-right, .shape .pl-top { stroke: var(--shape-stroke); stroke-width: 1.6; stroke-linejoin: round; }
.shape .pl-left { fill: var(--shape-left); }
.shape .pl-right { fill: var(--shape-right); }
.shape .pl-top { fill: var(--shape-top); }
.shape .tread line { stroke: var(--shape-stroke); stroke-width: 2.4; stroke-linecap: round; }
.shape .mesh-bg { fill: var(--shape-fill); }
.shape .mesh { fill: none; stroke: var(--shape-stroke); stroke-width: 3.2; stroke-linejoin: round; }
.shape .frame { fill: none; stroke: var(--shape-dim); stroke-width: 1; stroke-dasharray: 4 4; }
.shape .hw-text { fill: var(--shape-right); font-family: var(--font); font-weight: 900; }
.shape .edge { stroke: var(--shape-stroke); stroke-width: 1.2; }
.shape .cut { stroke: var(--shape-cut); stroke-width: 1.6; stroke-dasharray: 7 5; }
.shape .arc { fill: none; stroke: var(--shape-dim); stroke-width: 1.2; }
.shape .hole { fill: var(--shape-bg); stroke: var(--shape-stroke); stroke-width: 1.8; }
.shape .dim line { stroke: var(--shape-dim); stroke-width: 1; }
.shape .dim text, .shape .dim-text { font-family: var(--font-label); font-size: 13px; font-weight: 600; fill: var(--shape-dim); }
.shape .on-line { paint-order: stroke; stroke: var(--shape-bg); stroke-width: 7px; stroke-linejoin: round; }
.shape .center line { stroke: var(--shape-dim); stroke-width: 0.8; stroke-dasharray: 9 3 2 3; }

/* ---------- product detail ---------- */
.product-hero { padding-block: 24px 40px; }
@media (min-width: 960px) { .product-hero { padding-bottom: 64px; } }
.product-grid-2 { display: grid; gap: 32px; align-items: start; }
@media (min-width: 960px) { .product-grid-2 { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 56px; } }
.product-visual { position: relative; }
@media (min-width: 960px) { .product-visual { position: sticky; top: calc(var(--header-h) + 24px); } }
.pv-photo { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; }
.pv-photo img { width: 100%; border-radius: 3px; }
.pv-illustration { background: #f3f5f7; }
.pv-illustration img { aspect-ratio: 3 / 2; object-fit: contain; }
.pv-drawing { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 24px 16px; }
.pv-drawing .shape { aspect-ratio: 3 / 2; }
.pv-thumb { display: flex; align-items: center; gap: 12px; margin-top: 12px; padding: 8px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.pv-thumb img { width: 88px; height: 88px; object-fit: cover; border-radius: 3px; }
.pv-thumb figcaption { font-size: 0.85rem; color: var(--muted); }
.product-info h1 { margin-bottom: 14px; }
.spec-list { margin: 24px 0 0; border-top: 1px solid var(--line); }
.spec-list div { display: grid; grid-template-columns: 5.5em minmax(0, 1fr); gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.spec-list dt { color: var(--muted); }
.spec-list dd { margin: 0; color: var(--ink); font-weight: 700; }
.product-info .check-list { margin-top: 20px; }
.spec-h { font-size: 1rem; font-weight: 700; color: var(--ink); margin: 28px 0 0; }
.spec-h-first { margin-top: 0; font-size: 1.15rem; font-weight: 900; }
.spec-h + .spec-list { margin-top: 10px; }
.spec-list-wide div { grid-template-columns: 7em minmax(0, 1fr); }
.equip-row .spec-list { margin-top: 16px; }
.range-grid { display: grid; gap: 20px; }
@media (min-width: 860px) { .range-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.data-table { background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--blue); border-radius: var(--radius); }
.data-table caption { text-align: left; font-weight: 900; color: var(--ink); font-size: 1.1rem; padding-bottom: 10px; }
.data-table th, .data-table td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: top; font-size: 0.95rem; }
.data-table tr:last-child th, .data-table tr:last-child td { border-bottom: 0; }
.data-table th { color: var(--muted); font-weight: 500; width: 1%; white-space: nowrap; }
.data-table td { color: var(--ink); font-weight: 700; overflow-wrap: break-word; }

.related-service {
  display: grid; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--ink-2);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.related-service:hover { border-color: var(--blue); box-shadow: var(--shadow); color: var(--ink-2); }
.related-service > div:last-child { padding: 28px; }
.related-service h2 { font-size: 1.4rem; }
.related-drawing { padding: 16px 32px; display: grid; place-items: center; }
.related-drawing .shape { max-width: 280px; }
@media (min-width: 768px) {
  .related-service { grid-template-columns: 320px minmax(0, 1fr); }
}

/* ---------- service pages ---------- */
.equip-rows { display: grid; gap: 56px; }
.equip-row { display: grid; gap: 28px; align-items: center; }
@media (min-width: 860px) {
  .equip-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; }
  .equip-row:nth-child(even) .framed-photo { order: 2; }
}
.equip-row .framed-photo img { aspect-ratio: 16 / 10; object-fit: cover; }
.equip-name { color: var(--blue); font-weight: 700; margin-bottom: 8px; }
.drawing-panel { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.equip-title { font-size: clamp(1.3rem, 1.15rem + 0.6vw, 1.65rem); margin-bottom: 8px; }
.equip-group {
  display: flex; align-items: center; gap: 12px; margin: 40px 0 20px;
  font-weight: 700; color: var(--ink); letter-spacing: 0.08em;
}
.equip-group::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.equip-group + .equip-grid { margin-top: 0; }
/* maker photos have a white background: show the whole machine instead of cropping */
.equip-feature .framed-photo img { aspect-ratio: auto; object-fit: contain; }
.equip-feature .framed-photo { box-shadow: var(--shadow); }

/* ---------- DCM1000 feature (home) ---------- */
.machine-feature {
  position: relative; overflow: hidden; isolation: isolate;
  padding-block: 64px 72px; border-top: 1px solid var(--line);
  background:
    radial-gradient(55% 65% at 80% 40%, rgba(61, 155, 233, 0.2), transparent 70%),
    linear-gradient(180deg, #eef5fc 0%, #f8fbfe 55%, #fff 100%);
}
.machine-feature::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background-image: var(--grid-lines); background-size: 32px 32px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 90%); mask-image: linear-gradient(180deg, #000 0%, transparent 90%);
}
.machine-watermark {
  position: absolute; z-index: -1; left: -0.04em; bottom: -0.2em;
  font-family: var(--font-label); font-weight: 600; font-size: clamp(6.5rem, 24vw, 19rem); line-height: 1; letter-spacing: 0.01em;
  color: transparent; -webkit-text-stroke: 1.5px rgba(28, 117, 188, 0.14); white-space: nowrap; pointer-events: none; user-select: none;
}
.machine-grid { display: grid; gap: 40px; align-items: center; }
.machine-title { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 6px 16px; margin: 0 0 18px; }
.machine-model {
  font-family: var(--font-label); font-weight: 600; font-size: clamp(3.6rem, 2.2rem + 6vw, 6.4rem); line-height: 0.85; letter-spacing: 0.01em;
  color: var(--blue); background: linear-gradient(120deg, var(--blue-600) 10%, var(--blue) 45%, var(--accent) 95%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.machine-maker {
  font-size: clamp(1.15rem, 1rem + 0.6vw, 1.5rem); font-weight: 700; color: var(--ink); line-height: 1.2;
  padding-left: 14px; border-left: 3px solid var(--blue); margin-bottom: 0.15em;
}
.machine-tagline { font-size: clamp(1.15rem, 1.05rem + 0.5vw, 1.4rem); font-weight: 700; color: var(--ink-2); line-height: 1.6; margin: 0 0 28px; text-wrap: balance; }
.machine-tagline > span { display: inline-block; } /* break only between clauses */
.machine-points { list-style: none; margin: 0 0 32px; padding: 0; display: grid; gap: 10px; }
.machine-points li {
  display: flex; align-items: center; gap: 14px; padding: 14px 16px;
  background: rgba(255, 255, 255, 0.88); border: 1px solid var(--line); border-radius: var(--radius);
}
.mp-icon {
  flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 10px;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-600) 100%); color: #fff; box-shadow: 0 6px 16px -4px rgba(28, 117, 188, 0.5);
}
.machine-points b { display: block; font-size: 1.08rem; color: var(--ink); line-height: 1.4; }
.machine-points li > span:last-child { font-size: 0.9rem; color: var(--muted); line-height: 1.5; }
.machine-points li > span:last-child > span { display: inline-block; } /* wrap only after 、 or ・ */
.machine-photo { position: relative; margin: 0; }
.machine-frame {
  position: relative; background: #fff; border-radius: 16px; padding: 12px; overflow: hidden;
  box-shadow: 0 2px 4px rgba(14, 27, 44, 0.04), 0 28px 60px -16px rgba(14, 57, 104, 0.32);
}
.machine-frame::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, var(--blue-600), var(--accent)); }
.machine-frame img { width: 100%; }
.machine-badge {
  position: relative; z-index: 1; display: grid; grid-template-areas: 'label num' 'unit num'; align-items: center; justify-content: center; column-gap: 16px;
  margin: -22px 20px 0; padding: 10px 20px; border-radius: 12px; color: #fff;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-600) 100%); box-shadow: 0 16px 32px -12px rgba(21, 95, 155, 0.6);
}
.machine-badge span { font-size: 0.85rem; color: rgba(255, 255, 255, 0.85); line-height: 1.4; }
.machine-badge span:first-child { grid-area: label; font-weight: 700; color: #fff; }
.machine-badge span:last-child { grid-area: unit; }
.machine-badge b { grid-area: num; font-family: var(--font-label); font-size: 1.9rem; font-weight: 600; line-height: 1.1; letter-spacing: 0.02em; }
.machine-photo figcaption { font-size: 0.8rem; color: var(--muted); text-align: right; margin: 10px 4px 0; }
@media (min-width: 600px) {
  .machine-points { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .machine-points li { flex-direction: column; align-items: flex-start; gap: 12px; padding: 16px; }
}
@media (max-width: 959px) {
  .machine-grid { gap: 0; }
  .machine-copy { display: contents; }
  .machine-copy > .eyebrow { order: 1; }
  .machine-title { order: 2; }
  .machine-tagline { order: 3; margin-bottom: 24px; }
  .machine-photo { order: 4; margin-bottom: 24px; width: 100%; max-width: 620px; justify-self: center; }
  .machine-points { order: 5; margin-bottom: 4px; }
  .machine-copy > .btn-row { order: 6; }
}
@media (max-width: 599px) {
  .machine-feature { padding-block: 48px 56px; }
  .machine-points { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .machine-points li { flex-direction: column; justify-content: flex-start; gap: 8px; padding: 14px 6px 12px; text-align: center; }
  .mp-icon { width: 40px; height: 40px; }
  .machine-points b { font-size: 1rem; }
  .machine-points li > span:last-child { font-size: 0.78rem; line-height: 1.45; }
  .machine-copy > .btn-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
  .machine-copy > .btn-row .btn { padding-inline: 12px; }
}
@media (min-width: 960px) {
  .machine-feature { padding-block: 104px 112px; }
  .machine-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 56px; }
  .machine-frame { padding: 20px; }
  .machine-badge { position: absolute; right: -16px; top: -24px; margin: 0; grid-template-areas: 'label' 'num' 'unit'; justify-content: start; padding: 14px 20px; }
  .machine-badge span:first-child { font-weight: 400; color: rgba(255, 255, 255, 0.85); }
  .machine-badge b { font-size: 2.2rem; }
}

/* ---------- contact ---------- */
.product-inquiry { border-top: 1px solid var(--line); }
.inquiry-grid { display: grid; gap: 32px; align-items: start; }
@media (min-width: 1000px) { .inquiry-grid { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 56px; } }
.inquiry-aside h2 { margin-bottom: 12px; }
.inquiry-aside > p { color: var(--muted); margin-bottom: 24px; }
@media (min-width: 1000px) { .inquiry-aside { position: sticky; top: calc(var(--header-h) + 24px); } }
.contact-grid { display: grid; gap: 48px; align-items: start; }
@media (min-width: 1000px) { .contact-grid { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.2fr); gap: 56px; } }
.method-list { display: grid; gap: 10px; }
.method {
  display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 14px; align-items: center; padding: 12px 16px; border: 1px solid var(--line);
  border-radius: var(--radius); background: #fff; text-decoration: none; color: var(--ink);
}
a.method { transition: border-color 0.2s; }
a.method:hover { border-color: var(--blue); color: var(--ink); }
.method .icon { grid-row: 1 / 3; width: 44px; height: 44px; padding: 11px; border-radius: 50%; background: var(--blue-50); color: var(--blue); }
.method-label { font-size: 0.82rem; color: var(--muted); }
.method-value { font-weight: 700; font-size: 1.05rem; overflow-wrap: anywhere; }
a[href^='tel:'].method .method-value { font-family: var(--font-label); font-size: 1.45rem; font-weight: 600; letter-spacing: 0.04em; }
.line-qr { display: flex; align-items: center; gap: 16px; margin-top: 20px; padding: 14px; border: 1px dashed var(--line-strong); border-radius: var(--radius); }
@media (max-width: 767px) { .line-qr { display: none; } /* a phone cannot scan its own screen */ }
.line-qr img { width: 120px; height: 120px; }
.line-qr figcaption { font-size: 0.92rem; color: var(--muted); }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 24px; box-shadow: var(--shadow); }
@media (min-width: 768px) { .form-card { padding: 36px; } }
.form-intro { color: var(--muted); }
.req { color: var(--danger); }
.inquiry-form { display: grid; gap: 18px; position: relative; }
.field-row { display: grid; gap: 18px; }
@media (min-width: 640px) { .field-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.field { display: grid; gap: 6px; }
.field > span { font-size: 0.93rem; font-weight: 700; color: var(--ink); }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: #fff; border: 1px solid var(--line-strong); border-radius: 4px;
  padding: 11px 14px; transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(28, 117, 188, 0.2); }
.field input::placeholder, .field textarea::placeholder { color: #9aa7b4; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
/* multi-select item picker */
.item-picker { margin: 0; padding: 12px 16px 16px; min-width: 0; border: 1px solid var(--line-strong); border-radius: 8px; }
.item-picker legend { padding: 0 6px; font-size: 0.93rem; font-weight: 700; color: var(--ink); }
.picker-summary { margin: 0 0 6px; font-size: 0.88rem; color: var(--muted); }
.picker-group { border-top: 1px solid var(--line); }
.picker-group summary {
  display: flex; align-items: center; gap: 10px; min-height: 46px; cursor: pointer; list-style: none;
  font-weight: 700; color: var(--ink);
}
.picker-group summary::-webkit-details-marker { display: none; }
.picker-group summary::after { content: '+'; margin-left: auto; font-size: 1.2rem; font-weight: 400; color: var(--muted); }
.picker-group[open] summary::after { content: '−'; }
.picker-group summary:hover { color: var(--blue); }
.picker-count { font-size: 0.78rem; font-weight: 700; color: var(--blue); }
.picker-count:empty { display: none; }
.picker-options { display: flex; flex-wrap: wrap; gap: 8px; padding: 2px 0 14px; }
.pick { position: relative; }
.pick input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pick span {
  display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 7px 14px; border: 1px solid var(--line-strong);
  border-radius: 999px; background: #fff; font-size: 0.92rem; color: var(--ink-2); cursor: pointer; transition: border-color 0.15s, background-color 0.15s;
}
.pick span::before {
  content: ''; flex: none; width: 16px; height: 16px; border: 1.5px solid var(--line-strong); border-radius: 4px; background: #fff;
  font-size: 12px; font-weight: 900; line-height: 13px; text-align: center; color: #fff;
}
.pick span:hover { border-color: var(--blue); }
.pick input:checked + span { border-color: var(--blue); background: var(--blue-50); color: var(--blue-600); font-weight: 700; }
.pick input:checked + span::before { content: '✓'; border-color: var(--blue); background: var(--blue); }
.pick input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.picker-other { margin-top: 12px; padding-top: 14px; border-top: 1px solid var(--line); }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.form-note { font-size: 0.85rem; color: var(--muted); margin: 0; }
.form-status { margin: 0; font-weight: 700; }
.form-status:empty { display: none; }
.form-status.is-success { color: var(--success); }
.form-status.is-error { color: var(--danger); }
.form-privacy { margin: 0; padding-top: 14px; border-top: 1px solid var(--line); font-size: 0.82rem; line-height: 1.7; color: var(--muted); }
.form-recaptcha { padding-top: 0; border-top: 0; }
/* the v3 badge would sit under the floating LINE / back-to-top buttons; the notice above replaces it (allowed by Google) */
.grecaptcha-badge { visibility: hidden; }
.g-recaptcha { min-height: 78px; }
/* ---------- FAQ (contact) ---------- */
.faq-list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; max-width: 880px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.faq-item summary { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 14px 18px; cursor: pointer; list-style: none; font-weight: 700; color: var(--ink); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before { content: 'Q'; flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--blue-50); color: var(--blue); font-family: Arial, Helvetica, sans-serif; font-size: 0.85rem; font-weight: 900; }
.faq-item summary::after { content: '+'; flex: none; margin-left: auto; font-size: 1.3rem; font-weight: 400; color: var(--muted); }
.faq-item[open] summary::after { content: '−'; }
.faq-item summary:hover { color: var(--blue); }
.faq-a { padding: 0 18px 16px 56px; color: var(--ink-2); }
.faq-a p { margin: 0; }
.faq-a .faq-links { display: flex; flex-wrap: wrap; gap: 0 20px; margin-top: 4px; }
@media (max-width: 559px) { .faq-a { padding-left: 18px; } }
.map-section iframe { display: block; width: 100%; height: 380px; border: 0; filter: grayscale(0.25); }

/* ---------- review mode ---------- */
.review-banner { background: #fff4cc; border-bottom: 1px solid #e8c547; color: #5c4400; font-size: 0.88rem; text-align: center; padding: 8px var(--gutter); }
.review-banner a { margin-left: 8px; font-weight: 700; color: #5c4400; }
.review-panel { margin-top: 16px; }
.review-panel > summary, .review-panel > ul { background: #fffaf0; border: 1px dashed #d4a514; }
.review-panel > summary { cursor: pointer; padding: 10px 16px; border-radius: var(--radius); font-weight: 700; color: #5c4400; }
.review-panel[open] > summary { border-radius: var(--radius) var(--radius) 0 0; }
.review-panel > summary span { font-weight: 400; font-size: 0.85rem; margin-left: 12px; color: #806010; }
.review-panel > ul { list-style: disc; padding: 12px 16px 12px 36px; border-top: 0; border-radius: 0 0 var(--radius) var(--radius); font-size: 0.9rem; color: #5c4400; }
.review-badge {
  display: inline-block; margin-left: 8px; padding: 1px 9px; border-radius: 999px; background: #ffe9a8; border: 1px solid #e3c25a;
  color: #6b4e00; font-size: 0.74rem; font-weight: 700; line-height: 1.6; vertical-align: middle; letter-spacing: 0;
}
.pc-body .review-badge { margin: 6px 6px 0 0; }
.pending { margin-block: 8px 48px; }
.pending > * { max-width: 880px; }
.pending-head { margin-bottom: 12px; }
.pending-head h2 { font-size: 1.25rem; margin: 8px 0 4px; }
.pending-head p { color: #806010; font-size: 0.9rem; margin: 0; }
.pending .review-badge { margin-left: 0; }
.spec-table { margin-top: 12px; background: #fffcf2; border: 2px dashed #e3c25a; }
.spec-table caption { text-align: left; font-weight: 700; padding: 8px 0; color: var(--ink); }
.spec-table th, .spec-table td { text-align: left; padding: 10px 14px; border-bottom: 1px solid #f0dfa8; }
.spec-table th { width: 9em; color: var(--muted); font-weight: 500; }
/* size table written as data (e.g. H-beam) */
.size-data-wrap { max-width: 880px; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.size-data { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.size-data th, .size-data td { padding: 10px 16px; border-bottom: 1px solid var(--line); text-align: right; white-space: nowrap; font-size: 0.95rem; }
.size-data thead th { background: var(--blue-50); color: var(--ink); font-weight: 700; white-space: normal; vertical-align: bottom; line-height: 1.4; }
.size-data thead th span { display: block; font-size: 0.8rem; font-weight: 500; color: var(--muted); }
.size-data th:first-child { text-align: left; }
.size-data tbody th { color: var(--ink); font-weight: 700; }
.size-data td { color: var(--ink-2); }
.size-data tbody tr:nth-child(even) { background: #f7f9fb; }
.size-data tbody tr:last-child th, .size-data tbody tr:last-child td { border-bottom: 0; }
.size-data-note { max-width: 880px; margin: 10px 4px 0; font-size: 0.88rem; color: var(--muted); }
@media (max-width: 559px) {
  .size-data th, .size-data td { padding: 9px 6px; font-size: 0.88rem; }
  .size-data th:first-child { padding-left: 12px; }
  .size-data th:last-child, .size-data td:last-child { padding-right: 12px; }
  .size-data thead th { font-size: 0.8rem; word-break: keep-all; } /* 「腹板厚度」不在詞中間斷行 */
}
.size-table { max-width: 880px; border: 1px solid var(--line); border-radius: var(--radius); padding: 10px; background: #fff; }
.size-table img { width: 100%; }
.size-table figcaption { font-size: 0.88rem; color: var(--muted); margin: 8px 4px 0; }
.review-table td ul { list-style: disc; padding-left: 18px; font-size: 0.88rem; font-weight: 400; color: var(--ink-2); }
.review-table th a { font-weight: 700; }
.chip-list { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; }
.chip-list li { background: var(--bg-alt); border: 1px solid var(--line); border-radius: 999px; padding: 4px 14px; font-size: 0.9rem; }
.review-table { margin-bottom: 40px; }

/* ---------- motion ---------- */
@keyframes ks-rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes ks-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes ks-pop { from { opacity: 0; transform: translateY(10px) scale(0.94); } to { opacity: 1; transform: none; } }
@keyframes ks-draw { from { stroke-dashoffset: 1; fill-opacity: 0; } 55% { fill-opacity: 0; } to { stroke-dashoffset: 0; fill-opacity: 1; } }
@keyframes ks-menu { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
@keyframes ks-line { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes ks-ripple { 0% { transform: scale(1); opacity: 0.55; } 70%, 100% { transform: scale(1.45); opacity: 0; } }
@keyframes ks-nudge-up { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
@keyframes ks-grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes ks-mask-up { from { transform: translateY(105%); } to { transform: none; } }

@media (prefers-reduced-motion: no-preference) {
  /* page load: headers rise in one after another */
  .page-hero-body > *, .product-info > * { animation: ks-rise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  .page-hero-body > :nth-child(2), .product-info > :nth-child(2) { animation-delay: 0.08s; }
  .page-hero-body > :nth-child(3), .product-info > :nth-child(3) { animation-delay: 0.16s; }
  .page-hero-body > :nth-child(4), .product-info > :nth-child(4) { animation-delay: 0.24s; }
  .product-info > :nth-child(n + 5) { animation-delay: 0.32s; }
  .product-visual { animation: ks-fade 0.9s ease 0.1s both; }
  .pv-drawing .sec { stroke-dasharray: 1; animation: ks-draw 1.4s ease 0.4s both; }

  /* home hero: background drawing is drafted while the headline rises line by line */
  .hb .hb-out { stroke-dasharray: 1; animation: ks-line 2.4s cubic-bezier(0.45, 0, 0.2, 1) 0.15s both; }
  .hb .hb-fill { animation: ks-fade 1.2s ease 1.6s both; }
  .hb .hb-ctr { animation: ks-fade 1s ease 0.1s both; }
  .hb .hb-dim, .hb .hb-txt { animation: ks-fade 1s ease 1.4s both; }
  .hero-pill { animation: ks-rise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) 0.05s both; }
  .hero-brand { animation: ks-rise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) 0.1s both; }
  .hero-line > span { animation: ks-mask-up 1s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
  .hero-line > span { animation-delay: 0.15s; }
  .hero-line-accent > span { animation-delay: 0.3s; }
  .hero-lead { animation: ks-rise 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) 0.55s both; }
  .hero-actions { animation: ks-rise 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) 0.7s both; }

  /* scroll reveal: main.js adds .reveal only to elements that start below the fold */
  .reveal {
    opacity: 0; transform: translateY(24px);
    transition: opacity 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) var(--reveal-delay, 0s), transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) var(--reveal-delay, 0s);
  }
  .reveal.is-in { opacity: 1; transform: none; }
  .reveal .shape .sec {
    stroke-dasharray: 1; stroke-dashoffset: 1; fill-opacity: 0;
    transition: stroke-dashoffset 1.2s ease calc(var(--reveal-delay, 0s) + 0.2s), fill-opacity 0.6s ease calc(var(--reveal-delay, 0s) + 0.9s);
  }
  .reveal.is-in .shape .sec { stroke-dashoffset: 0; fill-opacity: 1; }
  /* DCM1000: the photo rises in, then the size badge follows */
  .machine-photo.reveal { transform: translateY(32px) scale(0.97); }
  .machine-photo.reveal.is-in { transform: none; }
  .machine-photo.reveal .machine-badge { opacity: 0; transform: translateY(12px); transition: opacity 0.6s ease 0.45s, transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1) 0.45s; }
  .machine-photo.reveal.is-in .machine-badge { opacity: 1; transform: none; }

  /* floating LINE ripple, back-to-top arrow nudge */
  .float-line-btn::before { animation: ks-ripple 2.6s ease-out infinite; }
  .float-line-btn:hover::before { animation: none; opacity: 0; }
  .go-top:hover .go-top-inner .icon { animation: ks-nudge-up 0.9s ease-in-out infinite; }

  /* hover details */
  .card-media img, .equip-media img { transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1); }
  .card:hover .card-media img, .equip:hover .equip-media img { transform: scale(1.05); }
  .btn .icon-arrow { transition: transform 0.2s; }
  .btn:hover .icon-arrow { transform: translateX(4px); }
  a.method { transition: background-color 0.2s, border-color 0.2s, transform 0.2s; }
  a.method:hover { transform: translateY(-2px); }
}
@media (prefers-reduced-motion: no-preference) and (max-width: 1023px) {
  .nav-open .site-nav { animation: ks-menu 0.22s ease both; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
@media print {
  .reveal { opacity: 1 !important; transform: none !important; }
  .site-header, .mobile-bar, .go-top, .float-line { display: none !important; }
}

/* ---------- touch screens ---------- */
/* :hover sticks after a tap and fires while a finger scrolls over cards, which made
   cards lift and photos zoom in and out on phones. Keep hover motion for mouse users only. */
@media (hover: none), (pointer: coarse) {
  .card:hover, .product-card:hover, .service-card:hover { transform: none; box-shadow: none; border-color: var(--line); }
  .card:hover .card-media img, .equip:hover .equip-media img { transform: none; }
  a.method:hover, .cta-tile:hover { transform: none; }
  .btn:hover .icon-arrow, a:hover .link-arrow .icon, .link-arrow:hover .icon { transform: none; }
  .go-top:hover .go-top-inner .icon { animation: none; transform: none; }
  .float-line-btn:hover .float-line-text { max-width: 0; padding-right: 0; }
  .card:active, .product-card:active, .service-card:active { opacity: 0.85; }
}
