:root {
  --ink: #17202a;
  --muted: #5d6874;
  --line: #d9e0e7;
  --line-dark: #b9c4cf;
  --paper: #ffffff;
  --panel: #f5f7f9;
  --panel-2: #eef2f5;
  --blue: #0b5f9f;
  --blue-dark: #084a7b;
  --blue-soft: #e9f2f8;
  --max: 1180px;
  --shadow: 0 10px 30px rgba(12, 32, 49, .08);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.55;
}
img, video { max-width: 100%; }
a { color: var(--blue-dark); text-underline-offset: 2px; }
a:hover { color: var(--blue); }
button, input, textarea, select { font: inherit; }
.wrap { width: min(calc(100% - 36px), var(--max)); margin: 0 auto; }

.skip-link {
  position: absolute; left: -9999px; top: auto;
}
.skip-link:focus {
  left: 16px; top: 10px; z-index: 1000;
  background: #fff; padding: 8px 12px; border: 2px solid var(--blue);
}

.site-header {
  border-top: 5px solid var(--blue);
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.header-main {
  min-height: 118px;
  display: flex; align-items: center; justify-content: space-between; gap: 30px;
}
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand img { width: 315px; height: auto; display: block; }
.header-contact {
  text-align: right; font-size: .92rem; color: var(--muted);
}
.header-contact strong { display:block; color:var(--ink); font-size:1.08rem; margin-top:2px; }
.header-contact a { font-weight: 700; text-decoration: none; }

.navbar { border-top: 1px solid var(--line); background: #f9fafb; }
.nav-inner { display:flex; align-items:center; justify-content:space-between; min-height:52px; }
.nav-links { display:flex; align-items:stretch; gap:0; margin:0; padding:0; list-style:none; }
.nav-links a {
  display:block; padding:15px 18px 14px; color:var(--ink); text-decoration:none;
  text-transform:uppercase; letter-spacing:.055em; font-size:.78rem; font-weight:700;
  border-left:1px solid transparent; border-right:1px solid transparent;
}
.nav-links a:hover, .nav-links a[aria-current="page"] {
  color:var(--blue-dark); background:#fff; border-color:var(--line);
}
.nav-toggle {
  display:none; border:1px solid var(--line-dark); background:#fff; padding:9px 12px; cursor:pointer;
}

.page-intro {
  border-bottom:1px solid var(--line);
  background: linear-gradient(180deg, #fff 0%, #f6f8fa 100%);
}
.page-intro .wrap {
  padding-top: 34px; padding-bottom: 34px;
}
.kicker {
  color:var(--blue-dark); text-transform:uppercase; letter-spacing:.12em;
  font-size:.73rem; font-weight:800; margin:0 0 8px;
}
h1, h2, h3 { line-height:1.16; margin-top:0; }
h1 { font-size: clamp(2rem, 4vw, 3.25rem); letter-spacing:-.035em; margin-bottom:14px; }
h2 { font-size: clamp(1.45rem, 2.2vw, 2rem); letter-spacing:-.02em; margin-bottom:14px; }
h3 { font-size: 1.05rem; margin-bottom:8px; }
.lead { max-width: 800px; color:var(--muted); font-size:1.08rem; margin:0; }

.hero-compact {
  display:grid; grid-template-columns: 1.25fr .75fr; gap:48px; align-items:start;
}
.hero-actions { display:flex; flex-wrap:wrap; gap:10px; margin-top:22px; }
.btn {
  display:inline-flex; align-items:center; justify-content:center;
  min-height:42px; padding:10px 16px; border:1px solid var(--blue-dark);
  text-decoration:none; font-weight:700; font-size:.92rem;
}
.btn-primary { background:var(--blue-dark); color:#fff; }
.btn-primary:hover { background:var(--blue); color:#fff; }
.btn-secondary { background:#fff; color:var(--blue-dark); }
.contact-panel {
  border-left:4px solid var(--blue); background:#fff; box-shadow:var(--shadow); padding:22px 24px;
}
.contact-panel .label { display:block; text-transform:uppercase; letter-spacing:.08em; font-size:.72rem; color:var(--muted); }
.contact-panel .phone { display:block; font-size:1.35rem; font-weight:800; text-decoration:none; margin:3px 0 14px; }

.section { padding:54px 0; }
.section.tight { padding:38px 0; }
.section.alt { background:var(--panel); border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.section-head {
  display:flex; align-items:end; justify-content:space-between; gap:24px; margin-bottom:22px;
}
.section-head p { margin:0; color:var(--muted); max-width:620px; }

.family-grid { display:grid; grid-template-columns:repeat(4, 1fr); border-top:1px solid var(--line); border-left:1px solid var(--line); }
.family-card {
  min-height:190px; padding:22px; border-right:1px solid var(--line); border-bottom:1px solid var(--line);
  text-decoration:none; color:inherit; background:#fff;
}
.family-card:hover { background:var(--blue-soft); }
.family-card .num { display:block; color:var(--blue); font-size:.75rem; font-weight:800; letter-spacing:.1em; margin-bottom:18px; }
.family-card p { color:var(--muted); margin:0; font-size:.93rem; }
.family-card h3 { font-size:1.12rem; }

.product-grid { display:grid; grid-template-columns:repeat(3, minmax(0,1fr)); gap:18px; }
.product-card {
  border:1px solid var(--line); background:#fff; display:flex; flex-direction:column; min-height:100%;
}
.product-card .media {
  aspect-ratio: 16 / 9; background:#e8edf1; border-bottom:1px solid var(--line); overflow:hidden;
}
.product-card video, .product-card img { width:100%; height:100%; object-fit:cover; display:block; }
.product-card .body { padding:18px; display:flex; flex-direction:column; flex:1; }
.product-card p { color:var(--muted); margin:0 0 16px; }
.product-card .more { margin-top:auto; font-weight:700; text-decoration:none; }

.video-grid { display:grid; grid-template-columns:repeat(2, minmax(0,1fr)); gap:22px; }
.video-card { border:1px solid var(--line); background:#fff; }
.video-card video { display:block; width:100%; aspect-ratio:16/9; background:#111; object-fit:contain; }
.video-card .video-body { padding:14px 16px 16px; }
.video-card h3 { margin-bottom:4px; }
.video-card p { margin:0; color:var(--muted); font-size:.9rem; }
.media-error {
  display:none; border-top:1px solid #e4c8c8; background:#fff3f3; color:#7b2323; padding:10px 14px; font-size:.85rem;
}
.video-card.is-error .media-error { display:block; }

.photo-feature {
  display:grid; grid-template-columns:minmax(0, 1fr) minmax(280px, .72fr); gap:28px; align-items:center;
  border:1px solid var(--line); background:#fff;
}
.photo-feature img { width:100%; height:100%; min-height:300px; object-fit:cover; background:#eef2f5; display:block; }
.photo-copy { padding:28px 30px 28px 0; }
.photo-copy p { color:var(--muted); }

.detail-layout { display:grid; grid-template-columns:minmax(0, 1fr) 300px; gap:44px; align-items:start; }
.detail-aside { border-left:1px solid var(--line); padding-left:24px; }
.detail-aside dl { margin:0; }
.detail-aside dt { text-transform:uppercase; letter-spacing:.075em; font-size:.69rem; color:var(--muted); font-weight:800; margin-top:15px; }
.detail-aside dd { margin:4px 0 0; }
.detail-aside a { font-weight:700; }

.rule-list { border-top:1px solid var(--line); margin:18px 0 0; padding:0; list-style:none; }
.rule-list li { padding:12px 0; border-bottom:1px solid var(--line); }

.support-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
.support-box { border-top:3px solid var(--blue); padding:18px 0 0; }
.support-box p { color:var(--muted); }

.notice {
  border:1px solid var(--line); border-left:4px solid var(--blue); background:var(--blue-soft); padding:14px 16px;
  color:#31414f; font-size:.92rem; margin:20px 0;
}

.contact-grid { display:grid; grid-template-columns:1fr 1fr; gap:32px; }
.contact-card { border:1px solid var(--line); background:#fff; padding:26px; }
.contact-card .big-phone { font-size:1.55rem; font-weight:800; text-decoration:none; }
.small { font-size:.88rem; color:var(--muted); }

.site-footer {
  margin-top: 54px; border-top:1px solid var(--line); background:#17212a; color:#dce4ea;
}
.footer-grid {
  display:grid; grid-template-columns:1.2fr .8fr .8fr; gap:42px; padding:40px 0;
}
.site-footer a { color:#fff; }
.site-footer p { color:#b9c4cc; margin:8px 0; }
.footer-title { color:#fff; text-transform:uppercase; letter-spacing:.08em; font-size:.72rem; font-weight:800; }
.footer-bottom { border-top:1px solid #33404a; color:#aab6bf; padding:16px 0; font-size:.82rem; }

@media (max-width: 960px) {
  .family-grid { grid-template-columns:repeat(2,1fr); }
  .product-grid { grid-template-columns:repeat(2,1fr); }
  .hero-compact, .detail-layout, .photo-feature { grid-template-columns:1fr; }
  .detail-aside { border-left:0; border-top:1px solid var(--line); padding:22px 0 0; }
  .photo-copy { padding:0 24px 24px; }
}
@media (max-width: 720px) {
  .wrap { width:min(calc(100% - 26px), var(--max)); }
  .header-main { min-height:98px; }
  .brand img { width:250px; }
  .header-contact { display:none; }
  .nav-inner { min-height:48px; position:relative; }
  .nav-toggle { display:inline-block; margin:7px 0; }
  .nav-links {
    display:none; position:absolute; left:0; right:0; top:48px; z-index:20;
    background:#fff; border:1px solid var(--line); box-shadow:var(--shadow); flex-direction:column;
  }
  .nav-links.is-open { display:flex; }
  .nav-links a { border:0; border-bottom:1px solid var(--line); padding:13px 15px; }
  .family-grid, .product-grid, .video-grid, .support-grid, .contact-grid, .footer-grid { grid-template-columns:1fr; }
  .family-grid { border-right:1px solid var(--line); }
  .section { padding:40px 0; }
  .section-head { display:block; }
  .section-head p { margin-top:8px; }
  h1 { font-size:2.15rem; }
}


/* Homepage machine photograph */
.hero-with-machine {
  grid-template-columns: minmax(0, 1.1fr) minmax(330px, .9fr);
  align-items: center;
}
.hero-machine {
  margin: -16px 0 -24px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-width: 0;
}
.hero-machine img {
  display: block;
  width: 100%;
  max-width: 470px;
  max-height: 440px;
  object-fit: contain;
  object-position: center;
}
@media (max-width: 960px) {
  .hero-with-machine {
    grid-template-columns: 1fr;
  }
  .hero-machine {
    justify-content: center;
    margin: 8px 0 -12px;
  }
  .hero-machine img {
    max-width: 520px;
    max-height: 390px;
  }
}
@media (max-width: 720px) {
  .hero-machine img {
    max-height: 330px;
  }
}
