/* Leckpreufung Systems — site styles
   Palette: deep process navy + helium D3-line yellow (587.6 nm) as the one accent. */
:root {
  --navy: #0d2f3d;
  --navy-2: #134457;
  --ink: #17232b;
  --steel: #556773;
  --line: #d3dce2;
  --mist: #eef3f6;
  --paper: #ffffff;
  --he: #f2c230;          /* helium D3 emission yellow */
  --he-soft: #fbefc4;
  --ok: #2f7d5b;
  --radius-s: 4px;
  --radius-m: 10px;
  --wrap: 1180px;
  --font: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
*,*::before,*::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { animation: none !important; transition: none !important; } }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--paper); font-variation-settings: "wdth" 100; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy-2); text-underline-offset: 3px; }
a:hover { color: var(--navy); }
:focus-visible { outline: 3px solid var(--he); outline-offset: 2px; border-radius: 2px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--he); color: var(--ink); padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }

/* Type scale (1.25) */
h1,h2,h3,h4 { line-height: 1.15; margin: 0 0 .5em; color: var(--navy); font-weight: 700; }
h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); font-variation-settings: "wdth" 112; letter-spacing: -.01em; }
h2 { font-size: clamp(1.55rem, 2.8vw, 2.2rem); font-variation-settings: "wdth" 108; }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.05rem; }
p { margin: 0 0 1em; max-width: 70ch; }
.lead { font-size: 1.15rem; color: var(--steel); max-width: 62ch; }
.small { font-size: .9rem; color: var(--steel); }

/* Header */
.top { background: var(--navy); color: #cfe0e8; font-size: .88rem; }
.top .wrap { max-width: 1320px; display: flex; gap: 20px; justify-content: flex-end; padding-top: 6px; padding-bottom: 6px; flex-wrap: wrap; }
.top a { color: #fff; text-decoration: none; }
header.site { background: var(--paper); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
header.site .wrap { max-width: 1320px; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.brand { display: flex; flex: none; align-items: center; white-space: nowrap; gap: 8px; text-decoration: none; color: var(--navy); }
.brand svg { width: 40px; height: 40px; flex: none; }
.brand b { display: block; font-size: 1.12rem; font-variation-settings: "wdth" 115; letter-spacing: .01em; line-height: 1.1; }
.brand > span { color: inherit; }
.brand span span { display: block; font-size: .78rem; color: var(--steel); }
footer.site .brand span span { color: #a9c3cf; }
nav.main ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; align-items: center; }
nav.main a { display: block; white-space: nowrap; padding: 10px 9px; text-decoration: none; color: var(--ink); font-size: .95rem; border-radius: var(--radius-s); }
nav.main a:hover, nav.main a[aria-current="page"] { background: var(--mist); color: var(--navy); }
nav.main a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--he); }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: var(--radius-s); font-weight: 600; text-decoration: none; border: 2px solid transparent; cursor: pointer; font: inherit; font-weight: 600; line-height: 1.2; }
.btn-he { background: var(--he); color: var(--ink); }
.btn-he:hover { background: #e6b41d; color: var(--ink); }
.btn-ghost { border-color: currentColor; color: var(--navy); background: transparent; }
.btn-ghost.light { color: #fff; }
nav.main .btn { padding: 10px 16px; margin-left: 6px; }
.menu-toggle { display: none; }

/* Mid-size laptops (e.g. 1280 px at 150% Windows scaling): keep the full menu, just tighter */
@media (max-width: 1360px) and (min-width: 1170px) {
  header.site .wrap { gap: 10px; }
  .logo-img { height: 44px; }
  .brand b { font-size: 1.02rem; }
  nav.main a { padding: 10px 6px; font-size: .9rem; }
  nav.main ul { gap: 2px; }
  nav.main .btn { padding: 9px 12px; margin-left: 4px; }
}
@media (max-width: 1169px) {
  nav.main { position: relative; }
  .menu-toggle { display: inline-flex; background: var(--mist); border: 1px solid var(--line); border-radius: var(--radius-s); padding: 10px 14px; font: inherit; color: var(--navy); cursor: pointer; }
  nav.main ul { display: none; position: absolute; right: 0; top: 52px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-m); flex-direction: column; align-items: stretch; width: min(86vw, 320px); padding: 8px; box-shadow: 0 12px 30px rgba(13,47,61,.15); }
  nav.main.open ul { display: flex; }
  nav.main .btn { margin: 6px 0 0; justify-content: center; }
}

/* Hero */
.hero { background: var(--navy); color: #e3eef3; position: relative; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: start; padding-top: 22px; padding-bottom: 48px; }
.hero h1 { color: #fff; font-size: clamp(1.5rem, 2.6vw, 2.05rem); line-height: 1.2; margin-bottom: .45em; }
.hero .lead { color: #bcd3dd; }
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.hero-figure { background: #0a2632; border: 1px solid #1d5468; border-radius: var(--radius-m); padding: 18px; }
.hero-figure figcaption { font-size: .85rem; color: #8fb2c1; margin-top: 10px; }
.hero ul.facts { list-style: none; padding: 0; margin: 30px 0 0; display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: .95rem; color: #cfe0e8; }
.hero ul.facts li::before { content: ""; display: inline-block; width: 8px; height: 8px; background: var(--he); border-radius: 50%; margin-right: 8px; vertical-align: 1px; }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; padding-top: 18px; padding-bottom: 40px; } }

/* Page header (inner pages) */
.page-head { background: var(--mist); border-bottom: 1px solid var(--line); }
.page-head .wrap { padding-top: 40px; padding-bottom: 36px; }
.crumbs { font-size: .88rem; color: var(--steel); margin-bottom: 14px; }
.crumbs a { color: var(--steel); }
.crumbs span[aria-hidden] { margin: 0 6px; }

/* Sections */
section.band { padding: 64px 0; }
section.band.tint { background: var(--mist); }
section.band.dark { background: var(--navy); color: #dbe8ee; }
section.band.dark h2, section.band.dark h3 { color: #fff; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.split.wide-left { grid-template-columns: 1.3fr .7fr; }
@media (max-width: 860px) { .split, .split.wide-left { grid-template-columns: 1fr; gap: 28px; } }

/* Application index — the signature element: a numbered list of machines would be wrong, so each row is a test-cell "plate" */
.apps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 2px solid var(--navy); margin-top: 28px; }
.app { padding: 24px 22px 26px; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); text-decoration: none; color: var(--ink); display: flex; flex-direction: column; gap: 8px; background: #fff; }
.app:hover { background: var(--he-soft); color: var(--ink); }
@media (max-width: 1100px) { .apps { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 860px) { .apps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .apps { grid-template-columns: 1fr; } }
.app .model { font-size: .82rem; font-weight: 600; color: var(--steel); }
.app h3 { margin: 0; }
.app p { margin: 0; font-size: .97rem; color: #33434d; }
.app .go { margin-top: auto; padding-top: 8px; font-weight: 600; color: var(--navy-2); text-decoration: underline; text-underline-offset: 3px; }

/* Method strip */
.methods { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 28px; }
.methods div { border-left: 3px solid var(--he); padding-left: 16px; }
.methods h3 { font-size: 1.08rem; margin-bottom: 6px; }
.methods p { font-size: .96rem; margin: 0; }
section.dark .methods p { color: #bcd3dd; }
@media (max-width: 900px) { .methods { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .methods { grid-template-columns: 1fr; } }

/* Spec table */
table.spec { width: 100%; border-collapse: collapse; margin: 8px 0 24px; font-size: .97rem; }
table.spec th, table.spec td { text-align: left; padding: 11px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.spec th { width: 42%; color: var(--steel); font-weight: 600; background: var(--mist); }
.tbc { background: var(--he-soft); border: 1px dashed #c9a21f; padding: 1px 6px; border-radius: 3px; font-size: .9em; color: #6b5508; white-space: normal; }

/* Photo placeholders — replace with real photos */
.ph { position: relative; border-radius: var(--radius-m); overflow: hidden; background:
  linear-gradient(#ffffff0f 1px, transparent 1px) 0 0/22px 22px,
  linear-gradient(90deg, #ffffff0f 1px, transparent 1px) 0 0/22px 22px,
  var(--navy-2); color: #cfe0e8; aspect-ratio: 4/3; display: flex; align-items: flex-end; }
.ph.wide { aspect-ratio: 16/9; }
.ph svg { position: absolute; inset: 12% 14% 26%; width: 72%; height: 62%; opacity: .55; }
.ph span { position: relative; display: block; width: 100%; padding: 10px 14px; background: #0a2632d9; font-size: .85rem; }
.ph span b { color: var(--he); font-weight: 600; }
figure { margin: 0; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 20px; }
@media (max-width: 760px) { .gallery { grid-template-columns: 1fr 1fr; } }

/* Lists */
ul.ticks { list-style: none; padding: 0; margin: 0 0 1em; }
ul.ticks li { padding-left: 26px; position: relative; margin-bottom: 8px; }
ul.ticks li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 12px; height: 6px; border-left: 2.5px solid var(--ok); border-bottom: 2.5px solid var(--ok); transform: rotate(-45deg); }
ol.steps { padding-left: 1.3em; }
ol.steps li { margin-bottom: 10px; padding-left: 4px; }
ol.steps li::marker { font-weight: 700; color: var(--navy); }

/* Industries row */
.inds { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; padding: 0; list-style: none; }
.inds li { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; font-size: .94rem; }
section.dark .inds li { background: transparent; border-color: #2c6378; color: #e3eef3; }

/* FAQ */
details.faq { border-bottom: 1px solid var(--line); padding: 4px 0; }
details.faq summary { cursor: pointer; font-weight: 600; padding: 14px 30px 14px 0; list-style: none; position: relative; color: var(--navy); }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: "+"; position: absolute; right: 4px; top: 10px; font-size: 1.4rem; font-weight: 400; color: var(--steel); }
details.faq[open] summary::after { content: "–"; }
details.faq p { margin: 0 0 16px; }

/* Case study cards */
.cases { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; margin-top: 24px; }
.case { border: 1px solid var(--line); border-radius: var(--radius-m); padding: 22px; background: #fff; }
.case dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; margin: 12px 0 0; font-size: .95rem; }
.case dt { color: var(--steel); }
.case dd { margin: 0; }

/* CTA band */
.cta { background: var(--he); color: var(--ink); }
.cta .wrap { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-top: 40px; padding-bottom: 40px; flex-wrap: wrap; }
.cta h2 { color: var(--ink); margin: 0 0 4px; }
.cta p { margin: 0; }
.cta .btn { background: var(--navy); color: #fff; }
.cta .btn:hover { background: var(--navy-2); color: #fff; }

/* Form */
form.enq { display: grid; gap: 14px; }
form.enq .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 600px) { form.enq .row { grid-template-columns: 1fr; } }
form.enq label { display: grid; gap: 5px; font-weight: 600; font-size: .93rem; color: var(--navy); }
form.enq input, form.enq select, form.enq textarea { font: inherit; font-weight: 400; padding: 11px 12px; border: 1px solid #b7c5ce; border-radius: var(--radius-s); background: #fff; color: var(--ink); width: 100%; }
form.enq textarea { min-height: 120px; resize: vertical; }
form.enq .note { font-size: .86rem; color: var(--steel); margin: 0; }
.form-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-m); padding: 26px; }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.contact-list strong { display: block; color: var(--navy); }
.map { border: 0; width: 100%; aspect-ratio: 4/3; border-radius: var(--radius-m); margin-top: 18px; }

/* Article */
article.prose h2 { margin-top: 1.6em; }
article.prose { max-width: 760px; }
.toc { background: var(--mist); border-radius: var(--radius-m); padding: 18px 22px; margin: 0 0 28px; }
.toc ul { margin: 6px 0 0; padding-left: 1.1em; }

/* Footer */
footer.site { background: #0a2632; color: #a9c3cf; padding: 52px 0 24px; font-size: .94rem; }
footer.site .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; }
footer.site h4 { color: #fff; margin-bottom: 12px; }
footer.site a { color: #dbe8ee; text-decoration: none; }
footer.site a:hover { text-decoration: underline; color: #fff; }
footer.site ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 7px; }
footer.site .legal { border-top: 1px solid #1d4a5b; margin-top: 36px; padding-top: 18px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
@media (max-width: 860px) { footer.site .cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { footer.site .cols { grid-template-columns: 1fr; } }

/* WhatsApp float */
.wa { position: fixed; right: 18px; bottom: 18px; z-index: 60; background: #1f9d55; color: #fff; border-radius: 999px; padding: 12px 18px 12px 14px; display: flex; gap: 8px; align-items: center; text-decoration: none; font-weight: 600; box-shadow: 0 6px 18px rgba(0,0,0,.22); }
.wa:hover { background: #17824a; color: #fff; }
.wa svg { width: 22px; height: 22px; }
@media (max-width: 520px) { .wa span { display: none; } .wa { padding: 13px; } }

/* Supplied photos */
.photo { margin: 0; border-radius: var(--radius-m); overflow: hidden; background: var(--mist); aspect-ratio: 4/3; max-width: 100%; }
.photo.wide { aspect-ratio: 16/9; }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo.contain { background: #fff; }
.photo.contain img { object-fit: contain; padding: 4%; }
.logo-img { width: auto; height: 50px; flex: none; }
footer.site .logo-img { height: 72px; background: #fff; border-radius: 8px; padding: 6px; }
.app .ph, .app .photo { border-radius: var(--radius-s); margin-bottom: 6px; }
.app .ph span { font-size: .78rem; padding: 7px 10px; }

/* Hero slideshow */
.slides { position: relative; min-width: 0; }
.slide-track { list-style: none; margin: 0; padding: 0; }
.slide .ph, .slide .photo { border: 1px solid #1d5468; }
.slide-cap { margin: 12px 0 0; color: #cfe0e8; font-size: .95rem; }
.slide-ctrl { display: flex; align-items: center; gap: 10px; margin-top: 14px; }
.slide-ctrl button { font: inherit; cursor: pointer; border: 1px solid #2c6378; background: transparent; color: #fff; border-radius: var(--radius-s); min-width: 40px; height: 40px; padding: 0 12px; font-size: 1rem; }
.slide-ctrl .prev, .slide-ctrl .next { font-size: 1.5rem; line-height: 1; }
.slide-ctrl button:hover { background: #134457; }
.slide-ctrl .pause { font-size: .85rem; margin-left: auto; }
.dots { display: flex; gap: 8px; }
.slide-ctrl .dot { min-width: 0; width: 12px; height: 12px; padding: 0; border-radius: 50%; background: #2c6378; border: 0; }
.slide-ctrl .dot[aria-current="true"] { background: var(--he); }

/* Enquiry requirements table */
.enq-table-wrap { overflow-x: auto; }
table.enq-table { width: 100%; border-collapse: collapse; font-size: .93rem; }
table.enq-table caption { text-align: left; font-weight: 700; color: var(--navy); padding-bottom: 6px; }
table.enq-table th, table.enq-table td { border: 1px solid var(--line); padding: 8px 10px; vertical-align: middle; }
table.enq-table th { background: var(--mist); text-align: left; font-weight: 600; color: var(--navy); width: 46%; }
table.enq-table th label { display: inline; font-size: inherit; }
form.enq table.enq-table input { padding: 8px 9px; }
.dims { display: flex; align-items: center; gap: 6px; }
.dims input { min-width: 0; }
.yn { display: flex; gap: 18px; }
form.enq .yn label { display: inline-flex; align-items: center; gap: 6px; font-weight: 400; color: var(--ink); }
form.enq .yn input { width: auto; }
@media (max-width: 480px) { table.enq-table th, table.enq-table td { display: block; width: 100%; } table.enq-table td { border-top: 0; } }

/* Customer logo board */
.clients-title { margin-top: 36px; }
.clients { margin: 12px 0 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-m); padding: 10px; overflow-x: auto; }
.clients img { width: 100%; min-width: 640px; height: auto; }

/* Slides: wider frame, machine photos fill it (white margins trimmed at build) */
.slide .photo { aspect-ratio: 16/10; }
.slide .photo.contain img { padding: 1.5%; }

/* Slideshow motion: soft fade in, then a slow zoom (alternating in / out) while the slide shows.
   Turned off automatically for visitors who set "reduce motion" on their device. */
@keyframes slide-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes zoom-in-slow { from { transform: scale(1); } to { transform: scale(1.2); } }
@keyframes zoom-out-slow { from { transform: scale(1.2); } to { transform: scale(1); } }
.slide .photo img, .slide .ph svg { transform-origin: 50% 50%; will-change: transform; }
.slide:not([hidden]) .photo, .slide:not([hidden]) .ph { animation: slide-fade .7s ease-out both; }
.slide:not([hidden]) .photo img { animation: zoom-in-slow 6s ease-out both; }
.slide:nth-child(even):not([hidden]) .photo img { animation-name: zoom-out-slow; }

/* Hero intro paragraphs */
.hero .lead + .lead { margin-top: -.25em; }

/* Even line breaks in headings (avoids a single word on the last line) */
h1, h2, h3 { text-wrap: balance; }

/* Enquiry form: file attachments */
form.enq .attach { display: grid; gap: 6px; }
form.enq .attach > label { font-weight: 600; font-size: .93rem; color: var(--navy); }
form.enq input[type="file"] { padding: 10px; border: 1px dashed #9fb3bf; background: var(--mist); cursor: pointer; font-size: .93rem; }
form.enq input[type="file"]::file-selector-button { font: inherit; font-weight: 600; margin-right: 12px; padding: 8px 14px; border: 0; border-radius: var(--radius-s); background: var(--navy); color: #fff; cursor: pointer; }
form.enq input[type="file"]:hover::file-selector-button { background: var(--navy-2); }
form.enq .hint { margin: 0; font-size: .86rem; color: var(--steel); }
form.enq .file-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; font-size: .9rem; }
form.enq .file-list li { padding: 6px 10px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-s); overflow-wrap: anywhere; }
form.enq .file-list li.file-err { border-color: #c0392b; color: #a3271b; background: #fdf0ee; }

/* Job dimension boxes: keep L / W / H readable in the narrow home-page form */
form.enq table.enq-table .dims input { padding: 8px 4px; text-align: center; }

/* Job dimensions: choose box (L × W × H) or round (Dia × L) */
form.enq .dim-mode { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-bottom: 8px; }
form.enq .dim-mode label { display: inline-flex; align-items: center; gap: 5px; font-weight: 400; font-size: .88rem; color: var(--ink); white-space: nowrap; }
form.enq .dim-mode input { width: auto; }
form.enq .dims[hidden] { display: none; }

/* Home page banner with the headline laid over it */
.top-banner { position: relative; background: var(--navy); overflow: hidden; }
.top-banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.top-banner::before { content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(13,47,61,.92) 0%, rgba(13,47,61,.78) 38%, rgba(13,47,61,.25) 70%, rgba(13,47,61,0) 100%); }
.top-banner::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 34%; z-index: 1;
  background: linear-gradient(180deg, rgba(13,47,61,0), rgba(13,47,61,.85)); }
.top-banner .wrap { position: relative; z-index: 2; min-height: clamp(150px, 15vw, 210px); display: flex; align-items: center; padding-top: 22px; padding-bottom: 22px; }
.top-banner h1 { color: #fff; margin: 0; max-width: 18em; font-size: clamp(1.5rem, 2.6vw, 2.05rem); line-height: 1.2; text-shadow: 0 1px 12px rgba(0,0,0,.35); }
@media (max-width: 700px) { .top-banner::before { background: rgba(13,47,61,.72); } }

/* Photo banner across the top of an inner page */
.page-banner { background: var(--navy); line-height: 0; }
.page-banner img { width: 100%; height: clamp(190px, 27vw, 400px); object-fit: cover; object-position: 50% 50%; }
.page-banner + .page-head .wrap { padding-top: 24px; }

/* Embedded machine videos */
.video { position: relative; aspect-ratio: 16/9; max-width: 100%; background: #000; border-radius: var(--radius-m); overflow: hidden; margin-bottom: 8px; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Inner page headlines: same size as the Home page headline */
.page-head h1 { font-size: clamp(1.5rem, 2.6vw, 2.05rem); line-height: 1.2; margin-bottom: .4em; }
.page-head .wrap { padding-bottom: 28px; }

/* Video thumbnail with play button (YouTube player loads on click) */
.video a.yt { position: absolute; inset: 0; display: block; }
.video a.yt img { width: 100%; height: 100%; object-fit: cover; }
.yt-play { position: absolute; left: 50%; top: 50%; width: 68px; height: 48px; margin: -24px 0 0 -34px; border-radius: 12px; background: rgba(23,35,43,.82); transition: background .15s; }
.yt-play::after { content: ""; position: absolute; left: 27px; top: 14px; border-style: solid; border-width: 10px 0 10px 17px; border-color: transparent transparent transparent #fff; }
.video a.yt:hover .yt-play, .video a.yt:focus-visible .yt-play { background: #e62117; }

/* Spec table on its own (pages without Downloads / Video) */
.spec-only { max-width: 820px; }

/* Slow zoom in and out (to 20%) on selected machine pictures; off for "reduce motion" users */
@keyframes zoom-loop { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.2); } }
.photo.zoom-loop img { transform-origin: 50% 50%; animation: zoom-loop 12s ease-in-out infinite; }

/* Product photos on a black backdrop */
.photo.contain.dark { background: #000; }

/* Gallery magnifier (zoom follows the mouse) */
.gallery .photo { cursor: zoom-in; }
.gallery .photo img { transition: transform .25s ease-out; }
.gallery .photo.zooming { cursor: crosshair; }
.gallery .photo.zooming img { transform: scale(2.2); }
@media (prefers-reduced-motion: reduce) { .gallery .photo img { transition: none !important; } }

.project-runs { align-items: center; }
.project-runs .photo img { object-position: 45% 50%; }

/* helium consumption calculator */
.lead-sm { max-width: 760px; color: var(--steel); margin-top: 0; }
.calc-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 28px; align-items: start; margin-top: 18px; }
@media (max-width: 900px) { .calc-grid { grid-template-columns: 1fr; } }
form.calc { display: grid; gap: 14px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius-m); background: #fff; }
form.calc .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 600px) { form.calc .row { grid-template-columns: 1fr; } }
form.calc label { display: grid; gap: 5px; font-weight: 600; font-size: .93rem; color: var(--navy); }
form.calc input[type=number], form.calc select { font: inherit; font-weight: 400; padding: 11px 12px; border: 1px solid #b7c5ce; border-radius: var(--radius-s); background: #fff; color: var(--ink); width: 100%; }
form.calc fieldset.yn { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: center; }
form.calc fieldset.yn legend { width: 100%; font-weight: 600; font-size: .93rem; color: var(--navy); padding: 0; margin-bottom: 6px; }
form.calc fieldset.yn label { display: inline-flex; align-items: center; gap: 6px; font-weight: 400; color: var(--ink); }
form.calc fieldset.yn input { width: 18px; height: 18px; accent-color: var(--navy); }
.calc-out { padding: 24px; border-radius: var(--radius-m); background: var(--navy); color: #fff; }
.calc-out .calc-label { margin: 0; font-size: .9rem; color: #c9dbe3; text-transform: uppercase; letter-spacing: .04em; }
.calc-out .calc-big { margin: 6px 0 4px; font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; line-height: 1.1; color: var(--he, #f2c230); font-variant-numeric: tabular-nums; }
.calc-out .calc-big small { font-size: 1.1rem; font-weight: 600; color: #fff; }
.calc-out .calc-cost { margin: 0 0 6px; font-size: 1.1rem; font-weight: 700; }
.calc-cmp { margin: 16px 0 0; display: grid; gap: 10px; border-top: 1px solid rgba(255,255,255,.2); padding-top: 14px; }
.calc-cmp div { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.calc-cmp dt { color: #c9dbe3; font-size: .93rem; }
.calc-cmp dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; }
.calc-out .calc-note { margin: 16px 0 0; font-size: .82rem; color: #c9dbe3; }
.calc-out .calc-note a { color: #fff; }
.tall-photo { display: flex; justify-content: center; align-items: center; }
.tall-photo .photo, .tall-photo .photo.contain { aspect-ratio: 3/4; width: min(100%, 420px); background: none; }
.tall-photo .photo img { object-fit: cover; }
.tall-photo .photo.contain { background: #fff; }
.tall-photo .photo.contain img { object-fit: contain; }

/* page-head action button (top right) */
.page-head .head-action { display: flex; justify-content: flex-end; margin-bottom: 12px; }
@media (min-width: 900px) {
  .page-head.has-action .wrap { position: relative; }
  .page-head .head-action { position: absolute; top: 34px; right: 24px; margin: 0; }
  .page-head.has-action h1, .page-head.has-action .lead { max-width: calc(100% - 330px); }
}
@media (max-width: 899px) { .page-head .head-action { justify-content: flex-start; order: 9; margin: 14px 0 0; } .page-head.has-action .wrap { display: flex; flex-direction: column; } }
.btn-calc { background: var(--navy); color: #fff; box-shadow: 0 2px 0 rgba(0,0,0,.08); }
.btn-calc:hover { background: var(--navy-2); color: #fff; }
.btn-calc svg { color: var(--he); flex: none; }
#helium-calculator { scroll-margin-top: 84px; }
#helium-calculator.flash .calc-out, #helium-calculator.flash form.calc { animation: calc-flash 1.6s ease-out; }
@keyframes calc-flash { 0%,30% { box-shadow: 0 0 0 4px var(--he); } 100% { box-shadow: 0 0 0 0 transparent; } }
