/* Industrial edition: engineering grids, graphite surfaces, technical labels.
   Layout and accessibility foundations remain in styles.css. */
:root {
  --bg: #f4f6f8;
  --text: #162a3b;
  --blue: #0967d2;
  --deep: #081b2c;
  --line: #d3dde5;
  --accent: #66d7ef;
  --stage: #eaf0f4;
  --stage-grid: #849db812;
  --dark-line: #8aaac42b;
  --section-gap: clamp(52px, 6vw, 88px);
  --technical-font: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}
body { background-image: none; }
/* Keep the canvas above the hero backdrop but below text, photos and drawings. */
main { z-index: auto; }
main > section, .hero { position: relative; z-index: 1; }
.brand img { filter: brightness(1.3); }
.particle-canvas { z-index: 0; mix-blend-mode: normal; opacity: .82; }
.site-header, .site-header.is-scrolled, .site-header.has-open-menu {
  background: #081927f5; border-color: #91b8cf24; color: #eef5fa;
}
.site-header { min-height: 88px; }
.brand { gap: 11px; }
.brand span { font-size: 22px; letter-spacing: .4px; }
.brand small { display: block; margin-top: 6px; color: #9bb6c8; font: 10px var(--technical-font); letter-spacing: 1.8px; }
.main-nav a { color: #b7cad8; font-size: 14px; }
.main-nav a:hover, .main-nav a.active { color: white; }
.main-nav a.active::after { background: var(--accent); }
.main-nav a:last-child { color: #d4edf9; border: 1px solid #7598b253; background: #142e43; border-radius: 2px; }
.main-nav a:last-child:hover { background: #195077; }
.nav-menu summary { color: #c0d7e6; border-color: #64859c66; border-radius: 2px; }
.nav-menu-panel { background: #102a3d; border-color: #355063; color: #dbe8f0; border-radius: 2px; }
.nav-menu-panel a { border-radius: 2px; }
.nav-menu-panel a:hover, .nav-menu-panel a.active { background: #1a3d54; color: #a0e7f4; }
.eyebrow { font-family: var(--technical-font); font-size: 11px; font-weight: 500; letter-spacing: 1.3px; }
.section-heading h2 { font-weight: 650; letter-spacing: -.8px; text-wrap: balance; }
.section-description { max-width: 360px; text-wrap: balance; }
.button { border-radius: 2px; }

/* Dark hero: the engineering and application context is visible immediately. */
.hero-band {
  position: relative;
  background-color: #091d2d;
  background-image: linear-gradient(#8caac608 1px,transparent 1px),linear-gradient(90deg,#8caac608 1px,transparent 1px),linear-gradient(115deg,#0a1d2e 5%,#0c2437 70%,#102c40);
  background-size: 56px 56px,56px 56px,auto;
  color: #eaf3fa;
}
.hero-band::before { content: ""; position: absolute; top: 0; bottom: 0; left: var(--gutter); width: 1px; background: #85bed210; pointer-events: none; }
.hero { position: relative; grid-template-columns: 1fr 1.04fr; padding-top: clamp(44px,4.2vw,64px); padding-bottom: 0; row-gap: 40px; }
.hero-copy { padding: 10px 0 14px; }
.hero-copy::before { display: none; }
.hero .eyebrow { color: #88d7eb; margin-bottom: 28px; font-size: 12px; }
.status-dot { border-radius: 0; width: 5px; height: 5px; background: #73dbe8; box-shadow: 0 0 12px #73dbe848; }
.hero-overline { color: #a0b7c7; font: 11px var(--technical-font); letter-spacing: 1.6px; margin-bottom: 20px; }
.hero h1 { font-size: clamp(38px,4vw,58px); line-height: 1.35; letter-spacing: -1.6px; font-weight: 650; }
.hero h1 span { color: #79dbef; }
.hero-subtitle { color: #d0dfe8; font-size: 15px; font-weight: 500; line-height: 1.8; margin-top: 22px; }
.hero .lead { color: #acc0cf; font-size: 14px; max-width: 480px; line-height: 1.95; }
.hero .company-highlight { color: #c4d3df; }
.hero-actions { margin-top: 30px; }
.hero .button-primary { color: #fff; background: #086cd9; border: 1px solid #3884d5; }
.hero .button-primary:hover { background: #1985ed; }
.hero .button-text { color: #c0d2df; }
.hero .button-text:hover { color: #80e0ef; }
.visual-heading { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; font: 11px var(--technical-font); letter-spacing: 1px; color: #abc3d3; }
.visual-heading > span:last-child { display: flex; align-items: center; gap: 10px; font-family: inherit; }
.visual-heading i { display: inline-block; width: 5px; height: 5px; border: 1px solid #9eb5c6; }
.scenario-frame { border-radius: 2px; border: 1px solid #4e6d816e; }
.scenario-track img { aspect-ratio: 1.62; }
.scenario-frame::before { content: ""; position: absolute; z-index: 3; inset: 10px; border: 1px solid #ffffff24; pointer-events: none; }
.scenario-label { top: 22px; left: 22px; border-radius: 0; font-size: 10px; background: #082235cc; border-color: #93c4df44; }
.scenario-controls { bottom: 22px; }
.scenario-btn { width: 40px; height: 40px; border-radius: 2px; background: #0b223779; }
.scenario-carousel figcaption { color: #abc3d3; font-size: 10px; line-height: 1.6; letter-spacing: .35px; }
.component-strip { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 18px; }
.component-strip a { min-width: 0; display: flex; align-items: center; padding: 10px; gap: 12px; border: 1px solid #4561759c; background: #163145a6; transition: background 200ms, border-color 200ms; }
.component-strip a + a { border-left: 1px solid #4561757a; }
.component-strip a:hover, .component-strip a:focus-visible { background: #24465c; border-color: #75b3d0; }
.component-media { flex: 0 0 64px; width: 64px; height: 64px; isolation: isolate; overflow: hidden; border: 1px solid var(--line); border-radius: 2px; }
.component-strip img { width: 100%; height: 100%; padding: 8px; object-fit: contain; mix-blend-mode: multiply; transition: transform 250ms var(--ease); }
.component-strip a:hover img { transform: scale(1.05); }
.component-strip span { min-width: 0; font-size: 13px; color: #e6f0f6; line-height: 1.5; }
.component-strip small { display: block; margin-bottom: 5px; color: #a0bbcd; font: 10px/1.5 var(--technical-font); letter-spacing: .1px; overflow-wrap: anywhere; }
.component-strip b { margin-left: auto; color: #77bcd2; font-size: 17px; font-weight: 400; }
.capability-row { border-color: var(--dark-line); padding-block: 26px; position: relative; }
.capability-row > div + div { border-left: 1px solid var(--dark-line); padding-left: 28px; }
.capability-row::before { content: ""; position: absolute; top: -1px; left: 0; width: 64px; height: 2px; background: #68cce2; }
.capability-number { color: #70d2e7; font-size: 11px; }
.capability-row strong { color: #deebf4; font-size: 14px; font-weight: 550; }
.capability-row div div > span { color: #a0b9ca; font-size: 12px; line-height: 1.6; }
.hero-scroll { color: #8faaba; }
.hero-scroll span { border-color: #486172; border-radius: 2px; color: #bbd2e0; }
.hero-scroll:hover { color: #76dcef; }

/* Technical product plates: numbering is category order, not a model number. */
.products-heading { padding-top: var(--section-gap); }
.product-entry-grid { gap: 20px; padding-bottom: 36px; counter-reset: product-entry; }
.entry-card { display: flex; flex-direction: column; counter-increment: product-entry; border-radius: 2px; background: #fff; }
.entry-media { height: auto; aspect-ratio: 1.4; flex-shrink: 0; border-bottom: 1px solid var(--line); isolation: isolate; }
.entry-media::after { content: "0" counter(product-entry) " /"; top: 14px; left: 16px; right: auto; color: #718c9e; font: 10px var(--technical-font); letter-spacing: 1px; }
.entry-media::before { content: ""; position: absolute; bottom: 14px; right: 14px; width: 22px; height: 22px; border-right: 1px solid #7c9eb5; border-bottom: 1px solid #7c9eb5; }
.entry-media img { padding: 30px; }
.entry-content { display: flex; flex-direction: column; flex: 1; padding: 24px; }
.entry-content .card-kicker { min-height: 30px; margin-bottom: 10px; color: #506f84; font: 10px/1.5 var(--technical-font); letter-spacing: .4px; }
.entry-card h3 { font-size: 22px; font-weight: 650; letter-spacing: -.4px; }
.entry-card p:not(.card-kicker) { min-height: 0; margin-bottom: 22px; font-size: 14px; line-height: 1.85; }
.entry-card a { margin-top: auto; font-family: inherit; font-size: 13px; }
.entry-card:hover { border-color: #4e92c2; box-shadow: 0 12px 30px #0a345c0b; transform: translateY(-4px); }
.entry-card:hover .entry-media { background-color: #e1edf5; }
.rail-heading { padding-top: 24px; border-top: 1px solid var(--line); }
.rail-heading .eyebrow { font-size: 11px; color: #4e6b80; letter-spacing: 1px; }
.rail-heading > span { font-size: 12px; }
.auto-rail { background: #edf2f5; }
.carousel-btn { width: 44px; height: 44px; border-radius: 2px; background: #102d43; color: #e6f4fc; border-color: #42647d; font-size: 22px; box-shadow: 0 3px 10px #102b4220; }
.carousel-btn:hover { background: #0967d2; border-color: #0967d2; }
.showcase-band .auto-rail { mask-image: linear-gradient(90deg,transparent,#000 28px,#000 calc(100% - 28px),transparent); }

/* Three process diagrams are abstract symbols, not machinery specifications. */
.manufacturing-band { background: #0c2233; z-index: auto; margin-bottom: 0; }
.manufacturing-band::after { background-image: linear-gradient(#ffffff06 1px,transparent 1px),linear-gradient(90deg,#ffffff06 1px,transparent 1px); background-size: 40px 40px; }
.process-section { padding-block: var(--section-gap); }
.process-section .eyebrow { color: #71cfe5; }
.process-section .section-description { color: #abc0cf; }
.process-grid article { position: relative; display: grid; grid-template-columns: 1fr 84px; grid-template-rows: 76px auto auto 1fr; column-gap: 16px; padding-top: 28px; }
.process-grid article > span { grid-column: 1; grid-row: 1; margin: 4px 0 0; color: #83c8e0; font: 12px var(--technical-font); }
.process-diagram { display: block; grid-column: 2; grid-row: 1; align-self: start; width: 76px; height: 76px; margin: -10px 0 0; color: #81a8c4; stroke: currentColor; stroke-width: 1.2; }
.process-diagram .accent { stroke: #74d9ec; stroke-width: 1.8; }
.process-grid h3, .process-type, .process-grid p { grid-column: 1 / -1; }
.process-type { margin-top: 12px; color: #77b5cc; font: 11px var(--technical-font); letter-spacing: .5px; }
.process-grid p { color: #b0c3d0; margin-top: 18px; font-size: 14px; }

/* Contact information uses the same aligned, open layout as the catalog. */
.contact-section { display: grid; grid-template-columns: 1fr 1fr; column-gap: 7%; row-gap: 32px; padding-top: var(--section-gap); border-top: 0; }
.contact-section .section-heading { margin-bottom: 0; }
.contact-section .section-heading h2 { font-size: clamp(28px,3vw,40px); }
.contact-intro { align-self: end; max-width: 430px; margin: 0 0 4px; font-size: 15px; }
.contact-details, .contact-media-grid { grid-column: 1 / -1; }
.contact-details { background: transparent; margin: 0; padding-block: 30px; }
.contact-detail > span { font-family: var(--technical-font); }
.contact-detail a[href^="tel:"] { color: #125b94; font-family: var(--technical-font); }
.contact-detail > span, .contact-detail small { font-size: 12px; }
.contact-media-card { border-radius: 2px; padding: 10px; }
.site-footer > * { position: relative; z-index: 1; }
.site-footer { z-index: auto; background: #081b2a; border-color: #2e475a; padding-block: 42px 72px; }
.site-footer strong { color: #cadbe5; font-size: 14px; }
.site-footer span, .site-footer a { color: #a5bdce; font-size: 12px; }
.site-footer .footer-copyright { color: #7390a3; }
.site-footer a:hover { color: #72d8ed; }

/* Inner pages share the materials, rules and engineering grid. */
.page-hero { position: relative; display: grid; grid-template-columns: 1fr 1fr; column-gap: 7%; row-gap: 14px; border-bottom: 1px solid var(--line); margin-bottom: 24px; padding-block: 38px 44px; }
.page-hero .breadcrumbs { grid-column: 1 / -1; margin-bottom: 18px; }
.page-hero .eyebrow { grid-column: 1; grid-row: 2; margin-bottom: 0; }
.page-hero h1 { grid-column: 1; grid-row: 3 / 5; align-self: start; font-size: clamp(32px,3.4vw,48px); line-height: 1.4; letter-spacing: -1px; text-wrap: balance; }
.page-hero p:not(.eyebrow) { grid-column: 2; grid-row: 2 / 4; margin: 0; padding-left: 28px; border-left: 1px solid var(--line); }
.page-hero .text-link { grid-column: 2; grid-row: 4; justify-self: start; margin: 0 0 0 28px; }
.page-hero::after { content: ""; position: absolute; bottom: -1px; left: var(--gutter); height: 2px; width: 60px; background: #226a9f; }
.page-showcase { padding-bottom: 48px; }
.category-section { padding-bottom: var(--section-gap); }
.product-grid { gap: 20px; }
.product-card { display: flex; flex-direction: column; border-radius: 2px; background: #fff; }
.product-media, .product-card > img { flex-shrink: 0; border-bottom: 1px solid var(--line); }
.product-card h3 { font-size: 18px; }
.product-card p { margin-bottom: 20px; font-size: 13px; }
.product-card > span { align-self: start; margin-top: auto; font-size: 11px; }
/* Shared product stage for homepage gallery, inner-page carousels and catalog. */
.entry-media,
.product-media,
.product-card > img,
.component-media,
.showcase-band .rail-item {
  background-color: var(--stage);
  background-image: linear-gradient(var(--stage-grid) 1px,transparent 1px),linear-gradient(90deg,var(--stage-grid) 1px,transparent 1px);
  background-size: 24px 24px;
}
.showcase-band .auto-rail { background: transparent; border: 0; }
.showcase-band .rail-track { padding-block: 24px; }
.showcase-band .rail-item {
  isolation: isolate;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 2px;
  transform: translateY(var(--rail-lift,0px)) scale(var(--rail-scale,1));
}
.showcase-band .rail-item img {
  aspect-ratio: 1.28;
  padding: 20px;
  transform: none;
  mix-blend-mode: multiply;
}
@media (max-width: 600px) {
  .showcase-band .rail-item img { padding: 12px; }
}
.product-card > span { border-radius: 1px; border-left: 2px solid #8baac0; }

@media (max-width: 1100px) {
  .hero { column-gap: 4%; padding-top: 44px; }
  .hero h1 { font-size: 40px; letter-spacing: -1.2px; }
  .hero-subtitle { font-size: 14px; }
  .component-strip { gap: 10px; }
  .component-strip a { padding: 9px; gap: 8px; }
  .component-media { width: 52px; height: 52px; flex-basis: 52px; }
  .component-strip b { display: none; }
  .product-entry-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .product-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .entry-media { aspect-ratio: 1.7; }
  .entry-content { padding: 24px; }
  .entry-card h3 { font-size: 23px; }
  .entry-card p:not(.card-kicker) { min-height: 0; font-size: 14px; }
  .contact-details { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; gap: 32px; }
  .hero-copy { padding: 0; }
  .hero h1 { font-size: clamp(38px,5.8vw,52px); }
  .hero .eyebrow { margin-bottom: 24px; }
  .hero .lead { max-width: 580px; }
  .hero-actions { flex-direction: row; align-items: center; gap: 20px; }
  .scenario-track img { aspect-ratio: 1.9; }
  .scenario-carousel figcaption span:last-child { display: inline; }
  .component-strip a { padding: 12px; gap: 14px; }
  .component-media { width: 58px; height: 58px; flex-basis: 58px; }
  .component-strip b { display: block; }
  .capability-row { grid-template-columns: repeat(3,1fr); gap: 16px; }
  .capability-row > div { gap: 10px; }
  .capability-row > div + div { padding-left: 18px; }
  .hero-scroll { display: none; }
  .section-heading { align-items: start; }
  .section-description { max-width: 280px; }
  .process-grid article { padding-right: 20px; grid-template-columns: 1fr 64px; column-gap: 10px; }
  .process-grid article + article { padding-left: 20px; }
  .process-diagram { width: 64px; height: 64px; }
}
@media (max-width: 860px) {
  .site-header { min-height: 76px; }
  .brand span { font-size: 20px; }
  .brand small { font-size: 10px; }
  .product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .entry-content .card-kicker { min-height: 30px; }
  .entry-media { height: auto; }
  .page-hero { display: block; padding-top: 30px; }
  .page-hero .breadcrumbs { margin-bottom: 28px; }
  .page-hero .eyebrow { margin-bottom: 16px; }
  .page-hero h1 { max-width: 700px; font-size: 40px; }
  .page-hero p:not(.eyebrow) { border-left: 0; padding-left: 0; margin-top: 20px; }
  .page-hero .text-link { margin: 16px 0 0; }
}
@media (max-width: 600px) {
  .site-header { min-height: 74px; }
  .brand span { font-size: 18px; }
  .brand small { font-size: 9px; letter-spacing: 1.2px; margin-top: 5px; }
  .hero { padding-top: 36px; padding-bottom: 0; gap: 32px; }
  .hero .eyebrow { font-size: 11px; }
  .hero-overline { font-size: 10px; letter-spacing: 1px; margin-bottom: 18px; }
  .hero h1 { font-size: clamp(30px,8.9vw,43px); letter-spacing: -.9px; line-height: 1.4; }
  .hero-subtitle { font-size: 14px; margin-top: 22px; letter-spacing: 0; }
  .hero .lead { font-size: 14px; margin-top: 16px; }
  .hero-actions { margin-top: 26px; gap: 14px; }
  .visual-heading { font-size: 10px; letter-spacing: .6px; }
  .scenario-track img { aspect-ratio: 1.55; }
  .scenario-label { top: 18px; left: 18px; padding: 7px 10px; }
  .scenario-controls { inset-inline: 20px; bottom: 18px; }
  .scenario-carousel figcaption { flex-wrap: wrap; gap: 4px 12px; font-size: 10px; letter-spacing: 0; }
  .component-strip { gap: 10px; margin-top: 16px; }
  .component-strip a { gap: 10px; padding: 10px 8px; }
  .component-media { width: 44px; height: 44px; flex-basis: 44px; }
  .component-strip img { padding: 6px; }
  .component-strip span { font-size: 12px; }
  .component-strip small { font-size: 10px; letter-spacing: 0; line-height: 1.4; }
  .component-strip b { display: none; }
  .capability-row { gap: 12px; padding-block: 24px; }
  .capability-row > div + div { padding-left: 12px; }
  .capability-row strong { font-size: 13px; line-height: 1.5; }
  .capability-row div div > span { font-size: 10px; }
  .section-heading { display: block; margin-bottom: 26px; }
  .section-heading h2 { font-size: clamp(24px,7.2vw,28px); letter-spacing: -.6px; }
  .section-description { max-width: none; font-size: 14px; }
  .product-entry-grid { grid-template-columns: 1fr; gap: 16px; padding-bottom: 30px; }
  .entry-card { display: grid; grid-template-columns: 36% minmax(0,1fr); }
  .entry-content { padding: 20px 16px; }
  .entry-content .card-kicker { min-height: 0; font-size: 10px; letter-spacing: .25px; }
  .entry-card h3 { font-size: 20px; }
  .entry-card p:not(.card-kicker) { font-size: 13px; margin-bottom: 18px; }
  .entry-media { height: 100%; min-height: 0; aspect-ratio: auto; border-bottom: 0; border-right: 1px solid var(--line); }
  .entry-media img { padding: 14px; }
  .entry-media::after { left: 12px; top: 12px; font-size: 10px; }
  .entry-media::before { width: 14px; height: 14px; right: 10px; bottom: 10px; }
  .rail-heading { flex-wrap: wrap; gap: 6px 16px; padding-top: 20px; }
  .rail-heading .eyebrow { font-size: 10px; letter-spacing: .5px; }
  .rail-heading > span { font-size: 11px; }
  .showcase-band .rail-track { padding-block: 20px; }
  .process-grid article, .process-grid article + article { grid-template-columns: 1fr 72px; grid-template-rows: 30px auto auto auto; padding: 26px 0; min-height: 0; }
  .process-grid article:last-child { padding-bottom: 0; }
  .process-grid article > span { margin: 0; }
  .process-diagram { width: 72px; height: 72px; grid-row: 1 / 4; margin: 0; align-self: center; }
  .process-grid h3 { grid-column: 1; grid-row: 2; }
  .process-type { grid-column: 1; grid-row: 3; font-size: 11px; }
  .process-grid p { grid-row: 4; margin-top: 18px; font-size: 14px; }
  .contact-section { grid-template-columns: 1fr; gap: 24px; }
  .contact-intro { font-size: 14px; margin: 0; }
  .contact-details { grid-template-columns: 1fr; gap: 22px; padding-block: 26px; }
  .contact-detail + .contact-detail { padding-top: 20px; border-top: 1px solid var(--line); }
  .contact-media-card { padding: 6px; }
  .page-hero h1 { font-size: 32px; }
  .page-hero { padding-bottom: 28px; margin-bottom: 16px; }
  .page-showcase { padding-bottom: 36px; }
  .product-grid { grid-template-columns: 1fr; gap: 14px; }
  .product-card { display: grid; }
  .product-card .product-media, .product-card > img { border-bottom: 0; border-right: 1px solid var(--line); }
  .product-card h3 { font-size: 17px; }
  .product-card p { margin-bottom: 0; font-size: 13px; }
  .product-card > span { margin: 16px 0 18px; align-self: end; }
}
@media (max-width: 380px) {
  .component-strip { grid-template-columns: 1fr; }
  .component-strip a { padding: 10px 12px; gap: 14px; }
  .component-strip b { display: block; }
  .component-strip small { overflow-wrap: normal; }
}
@media (prefers-reduced-motion: reduce) {
  .entry-card:hover, .entry-card:hover .entry-media img,
  .component-strip a:hover img { transform: none; }
}
html[data-motion="off"] .entry-card:hover,
html[data-motion="off"] .entry-card:hover .entry-media img,
html[data-motion="off"] .product-card:hover,
html[data-motion="off"] .product-card:hover img,
html[data-motion="off"] .button-primary:hover,
html[data-motion="off"] .component-strip a:hover img { transform: none; }
