/*
  Sachet Filling Machines — customer-first responsive design
  One component layer only. No stacked legacy overrides.
*/

:root {
  --navy-950: #03121d;
  --navy-900: #041824;
  --navy-850: #062234;
  --navy-800: #083149;
  --blue-700: #00689f;
  --blue-600: #0083bd;
  --cyan-500: #16c1cf;
  --amber-500: #ffb51f;
  --amber-300: #ffd56f;
  --ink-900: #0a2436;
  --ink-700: #29495d;
  --ink-600: #456274;
  --paper: #ffffff;
  --mist-50: #f7fafb;
  --mist-100: #eff5f7;
  --mist-200: #e2edf1;
  --line: #c8d9e1;
  --success: #0b735e;
  --danger: #a83232;
  --radius-xs: .45rem;
  --radius-sm: .7rem;
  --radius: 1.05rem;
  --radius-lg: 1.55rem;
  --shadow-xs: 0 5px 16px rgba(3, 18, 29, .055);
  --shadow-sm: 0 12px 32px rgba(3, 18, 29, .08);
  --shadow: 0 24px 64px rgba(3, 18, 29, .14);
  --max: 76rem;
  --narrow: 53rem;
  --topbar-h: 2.6rem;
  --header-h: 5.2rem;
  --section-y: clamp(2.8rem, 4.7vw, 4.65rem);
  --font: "Aptos", "Segoe UI", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  color-scheme: light;
  background: var(--paper);
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1.2rem);
  text-size-adjust: 100%;
}

body {
  min-width: 20rem;
  margin: 0;
  color: var(--ink-900);
  background: var(--paper);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open { overflow: hidden; }

img,
svg,
video,
iframe {
  display: block;
  max-width: 100%;
}

img { height: auto; }

a {
  color: var(--blue-700);
  text-decoration-thickness: .08em;
  text-underline-offset: .18em;
}

a:hover { color: var(--navy-900); }

button,
input,
select,
textarea { font: inherit; }

button { cursor: pointer; }

:focus-visible {
  outline: .2rem solid var(--amber-500);
  outline-offset: .18rem;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 .78rem;
  color: var(--navy-900);
  font-weight: 820;
  line-height: 1.12;
  letter-spacing: -.033em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.25rem, 5vw, 4.5rem); }
h2 { font-size: clamp(1.72rem, 3vw, 2.7rem); }
h3 { font-size: clamp(1.15rem, 1.8vw, 1.42rem); }
h4 { font-size: 1.06rem; }

p { margin: 0 0 1rem; }
ul,
ol { margin: 0 0 1.15rem; }
address { font-style: normal; }
table { border-collapse: collapse; }

.container {
  width: min(calc(100% - 2.2rem), var(--max));
  margin-inline: auto;
}

.narrow {
  width: min(calc(100% - 2.2rem), var(--narrow));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 10000;
  top: .55rem;
  left: .55rem;
  padding: .7rem 1rem;
  color: #fff;
  background: var(--navy-950);
  border-radius: var(--radius-xs);
  transform: translateY(-160%);
}

.skip-link:focus { transform: translateY(0); }

/* Header */
.topbar {
  position: relative;
  z-index: 1100;
  color: #e4f0f5;
  background: var(--navy-950);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  font-size: .86rem;
}

.topbar::before {
  position: absolute;
  inset: 0 0 auto;
  height: .18rem;
  background: linear-gradient(90deg, var(--amber-500), var(--cyan-500), var(--blue-600));
  content: "";
}

.topbar-inner {
  display: flex;
  min-height: var(--topbar-h);
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.topbar-message {
  color: #e7f1f5;
  font-weight: 720;
}

.topbar-links {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 1.15rem;
}

.topbar a {
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}

.topbar a:hover { color: var(--amber-300); }

.site-header {
  position: sticky;
  z-index: 1050;
  top: 0;
  background: rgba(255, 255, 255, .97);
  border-bottom: 1px solid rgba(184, 207, 217, .88);
  box-shadow: 0 7px 25px rgba(3, 18, 29, .07);
  backdrop-filter: blur(14px);
}

.navbar {
  display: flex;
  min-height: var(--header-h);
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.brand {
  display: inline-flex;
  min-width: 17.2rem;
  align-items: center;
  gap: .78rem;
  color: var(--navy-900);
  text-decoration: none;
}

.brand:hover { color: var(--navy-900); }

.brand-symbol,
.footer-brand-symbol {
  position: relative;
  display: grid;
  width: 3.25rem;
  aspect-ratio: 1;
  flex: 0 0 auto;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 18%, rgba(255, 255, 255, .32), transparent 26%),
    linear-gradient(145deg, var(--blue-600), var(--navy-850) 72%);
  border: 1px solid rgba(3, 18, 29, .12);
  border-radius: .95rem;
  box-shadow: 0 10px 23px rgba(0, 104, 159, .22), inset 0 1px 0 rgba(255, 255, 255, .3);
}

.brand-symbol::before,
.footer-brand-symbol::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: .27rem;
  background: linear-gradient(var(--amber-500), var(--cyan-500));
  content: "";
}

.brand-symbol svg,
.footer-brand-symbol svg { width: 2.5rem; }

.logo-sachet {
  fill: rgba(255, 255, 255, .07);
  stroke: #fff;
  stroke-width: 2.55;
  stroke-linejoin: round;
}

.logo-seal,
.logo-nozzle,
.logo-flow {
  fill: none;
  stroke: #fff;
  stroke-width: 2.35;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.logo-nozzle { fill: rgba(255, 255, 255, .11); }
.logo-flow { stroke: var(--amber-300); stroke-width: 3; }
.logo-drop { fill: var(--amber-500); stroke: #fff; stroke-width: 1.4; }

.brand-wordmark {
  display: grid;
  line-height: 1;
}

.brand-line-one {
  color: var(--blue-700);
  font-size: 1.06rem;
  font-weight: 950;
  letter-spacing: .08em;
}

.brand-line-two {
  margin-top: .16rem;
  color: var(--navy-900);
  font-size: .82rem;
  font-weight: 900;
  letter-spacing: .075em;
}

.brand-line-three {
  margin-top: .32rem;
  color: var(--ink-600);
  font-size: .58rem;
  font-weight: 850;
  letter-spacing: .18em;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: .08rem;
}

.site-nav a {
  position: relative;
  padding: .7rem .66rem;
  color: #17384d;
  border-radius: .55rem;
  font-size: .89rem;
  font-weight: 780;
  text-decoration: none;
}

.site-nav a::after {
  position: absolute;
  right: .7rem;
  bottom: .3rem;
  left: .7rem;
  height: .13rem;
  background: linear-gradient(90deg, var(--blue-600), var(--cyan-500));
  border-radius: 999px;
  content: "";
  opacity: 0;
  transform: scaleX(.4);
  transition: opacity .18s ease, transform .18s ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--blue-700);
  background: #edf7fa;
}

.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after {
  opacity: 1;
  transform: scaleX(1);
}

.site-nav .nav-cta {
  margin-left: .42rem;
  padding: .72rem 1rem;
  color: var(--navy-950);
  background: var(--amber-500);
  border: 1px solid #e99d00;
  box-shadow: 0 9px 22px rgba(255, 181, 31, .22);
}

.site-nav .nav-cta::after { display: none; }

.site-nav .nav-cta:hover {
  color: var(--navy-950);
  background: var(--amber-300);
}

.menu-toggle {
  display: none;
  min-height: 2.75rem;
  padding: .62rem .82rem;
  color: var(--navy-900);
  background: var(--mist-50);
  border: 1px solid #adc5d0;
  border-radius: .58rem;
  font-weight: 850;
}

main { min-height: 0; }

/* Homepage full-video hero */
.video-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  min-height: calc(100svh - var(--topbar-h) - var(--header-h) - 2px);
  overflow: hidden;
  align-content: center;
  padding: clamp(2rem, 4.4vh, 3.5rem) 0 1.2rem;
  color: #fff;
  background: linear-gradient(125deg, var(--navy-950), var(--navy-800));
}

.hero-video-layer,
.hero-video-overlay {
  position: absolute;
  z-index: -3;
  inset: 0;
  overflow: hidden;
}

.hero-video-layer { background: linear-gradient(135deg, #041824, #083149); }

.hero-background-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: cover;
  object-position: center center;
  border: 0;
  filter: saturate(1.08) contrast(1.05);
  pointer-events: none;
  transform: scale(1.025);
  transform-origin: center;
}

.hero-video-overlay {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(3, 18, 29, .96) 0%, rgba(3, 18, 29, .86) 42%, rgba(3, 18, 29, .48) 72%, rgba(3, 18, 29, .62) 100%),
    linear-gradient(180deg, rgba(3, 18, 29, .28) 0%, rgba(3, 18, 29, .08) 55%, rgba(3, 18, 29, .82) 100%);
}

.video-hero::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 3.4rem 3.4rem;
  content: "";
  mask-image: linear-gradient(to right, #000 0%, rgba(0, 0, 0, .72) 52%, transparent 92%);
  pointer-events: none;
}

.hero-stage {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(18rem, .62fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
}

.hero-main-copy {
  position: relative;
  z-index: 1;
  max-width: 50rem;
}

.video-hero .eyebrow { color: var(--amber-300); }

.video-hero h1 {
  max-width: 13.7ch;
  color: #fff;
  font-size: clamp(2.55rem, 5.5vw, 5rem);
  text-shadow: 0 3px 28px rgba(0, 0, 0, .3);
}

.hero-lead {
  max-width: 47rem;
  color: #e2eef3;
  font-size: clamp(1.04rem, 1.75vw, 1.25rem);
  line-height: 1.58;
  text-shadow: 0 2px 18px rgba(0, 0, 0, .34);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .72rem;
  margin-top: 1.35rem;
}

.btn {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  gap: .48rem;
  padding: .76rem 1.15rem;
  color: var(--navy-950);
  background: #fff;
  border: 1px solid transparent;
  border-radius: .72rem;
  font-size: .91rem;
  font-weight: 880;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: transform .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.btn:hover { transform: translateY(-1px); }

.btn-accent {
  color: var(--navy-950);
  background: var(--amber-500);
  border-color: #e99c00;
  box-shadow: 0 12px 28px rgba(255, 181, 31, .23);
}

.btn-accent:hover { color: var(--navy-950); background: var(--amber-300); }

.btn-primary {
  color: #fff;
  background: var(--blue-700);
  border-color: var(--blue-700);
}

.btn-primary:hover { color: #fff; background: var(--navy-850); }

.btn-outline {
  color: var(--navy-900);
  background: #fff;
  border-color: #92afbd;
}

.btn-outline:hover { color: #fff; background: var(--blue-700); border-color: var(--blue-700); }

.btn-glass,
.btn-ghost {
  color: #fff;
  background: rgba(255, 255, 255, .11);
  border-color: rgba(255, 255, 255, .58);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1);
  backdrop-filter: blur(8px);
}

.btn-glass:hover,
.btn-ghost:hover {
  color: var(--navy-950);
  background: #fff;
  border-color: #fff;
}

.page-hero .btn-outline,
.cta-panel .btn-outline {
  color: var(--navy-950);
  background: #fff;
  border-color: #fff;
}

.page-hero .btn-outline:hover,
.cta-panel .btn-outline:hover {
  color: #fff;
  background: var(--blue-700);
  border-color: var(--blue-700);
}

.hero-value-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .55rem;
  max-width: 47rem;
  padding: 0;
  margin: 1.45rem 0 0;
  list-style: none;
}

.hero-value-points li {
  position: relative;
  min-width: 0;
  padding: .78rem .78rem .78rem 1rem;
  color: #fff;
  background: rgba(4, 24, 36, .55);
  border: 1px solid rgba(255, 255, 255, .17);
  border-radius: .72rem;
  box-shadow: inset .2rem 0 0 var(--cyan-500);
  backdrop-filter: blur(7px);
}

.hero-value-points li:nth-child(2) { box-shadow: inset .2rem 0 0 var(--amber-500); }
.hero-value-points li:nth-child(3) { box-shadow: inset .2rem 0 0 #fff; }

.hero-value-points strong,
.hero-value-points span { display: block; }
.hero-value-points strong { font-size: .86rem; line-height: 1.25; }
.hero-value-points span { margin-top: .15rem; color: #cfe1e9; font-size: .71rem; line-height: 1.35; }

.hero-brief {
  position: relative;
  overflow: hidden;
  padding: clamp(1.25rem, 2.4vw, 1.7rem);
  color: #e7f1f5;
  background: rgba(4, 24, 36, .76);
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 1.25rem;
  box-shadow: 0 28px 72px rgba(0, 0, 0, .28), inset 0 1px 0 rgba(255, 255, 255, .12);
  backdrop-filter: blur(14px);
}

.hero-brief::before {
  position: absolute;
  inset: 0 0 auto;
  height: .28rem;
  background: linear-gradient(90deg, var(--amber-500), var(--cyan-500));
  content: "";
}

.hero-brief-kicker {
  margin-bottom: .5rem;
  color: var(--amber-300);
  font-size: .71rem;
  font-weight: 900;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.hero-brief h2 {
  max-width: 14ch;
  color: #fff;
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
}

.hero-brief-list {
  display: grid;
  gap: .68rem;
  padding: 0;
  margin: 1rem 0 1.15rem;
  list-style: none;
}

.hero-brief-list li {
  display: flex;
  align-items: flex-start;
  gap: .72rem;
}

.hero-brief-list li > span {
  display: grid;
  width: 2rem;
  aspect-ratio: 1;
  flex: 0 0 auto;
  place-items: center;
  color: var(--navy-950);
  background: var(--amber-500);
  border-radius: .55rem;
  font-size: .66rem;
  font-weight: 950;
}

.hero-brief-list strong,
.hero-brief-list small { display: block; }
.hero-brief-list strong { color: #fff; font-size: .86rem; line-height: 1.25; }
.hero-brief-list small { margin-top: .12rem; color: #c8dce5; font-size: .72rem; line-height: 1.35; }

.hero-brief-link {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  color: #fff;
  font-size: .84rem;
  font-weight: 850;
  text-decoration: none;
}

.hero-brief-link:hover { color: var(--amber-300); }

.hero-video-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: clamp(1rem, 2.3vh, 1.6rem);
  color: #d4e5ec;
  font-size: .73rem;
}

.hero-video-caption,
.hero-video-controls {
  display: flex;
  align-items: center;
  gap: .72rem;
}

.video-status-dot {
  width: .58rem;
  aspect-ratio: 1;
  background: var(--cyan-500);
  border: 2px solid rgba(255, 255, 255, .85);
  border-radius: 50%;
  box-shadow: 0 0 0 .24rem rgba(22, 193, 207, .18);
}

.video-toggle {
  padding: .4rem .64rem;
  color: #fff;
  background: rgba(4, 24, 36, .65);
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: .5rem;
  font-size: .7rem;
  font-weight: 800;
  backdrop-filter: blur(7px);
}

.video-toggle:hover { background: rgba(255, 255, 255, .15); }

.hero-video-controls a {
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}

.hero-video-controls a:hover { color: var(--amber-300); }

.video-hero[data-video-state="paused"] .video-status-dot,
.video-hero[data-video-state="reduced"] .video-status-dot { background: var(--amber-500); }

/* Standard page and machine heroes */
.page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(2.55rem, 5vw, 4.75rem) 0;
  color: #fff;
  background:
    radial-gradient(circle at 88% 12%, rgba(22, 193, 207, .27), transparent 23rem),
    radial-gradient(circle at 12% 110%, rgba(0, 104, 159, .35), transparent 29rem),
    linear-gradient(128deg, var(--navy-950), var(--navy-800) 66%, #07566b);
}

.page-hero::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 3.1rem 3.1rem;
  content: "";
  mask-image: linear-gradient(to right, rgba(0, 0, 0, .75), transparent 82%);
}

.page-hero::after {
  position: absolute;
  z-index: -1;
  right: -10rem;
  bottom: -17rem;
  width: 35rem;
  height: 35rem;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 50%;
  box-shadow: 0 0 0 4rem rgba(255, 255, 255, .022), 0 0 0 9rem rgba(255, 255, 255, .016);
  content: "";
}

.page-hero > .container { position: relative; z-index: 1; }
.page-hero h1,
.page-hero h2,
.page-hero h3 { color: #fff; }
.page-hero h1 { max-width: 17ch; }
.page-hero .lead { max-width: 54rem; color: #dcebf1; }
.page-hero .eyebrow { color: var(--amber-300); }

.machine-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(20rem, .82fr);
  grid-template-areas:
    "copy image"
    "decision image";
  align-items: center;
  column-gap: clamp(2rem, 5vw, 4.75rem);
  row-gap: 1rem;
}

.machine-copy { grid-area: copy; align-self: end; }
.machine-decision { grid-area: decision; align-self: start; }
.machine-decision .quick-specs { margin-top: 0; }
.machine-decision .actions { margin-top: 1rem; }
.machine-hero > .machine-image-frame { grid-area: image; }

.breadcrumbs {
  margin-bottom: 1.1rem;
  font-size: .82rem;
  font-weight: 760;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem .58rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.breadcrumbs li {
  display: inline-flex;
  align-items: center;
  gap: .58rem;
}

.breadcrumbs li:not(:last-child)::after { color: #8fabb9; content: "/"; }
.breadcrumbs a { color: inherit; opacity: .82; text-decoration: none; }
.page-hero .breadcrumbs { color: #e5f1f5; }
.page-hero .breadcrumbs a:hover { color: var(--amber-300); opacity: 1; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: .55rem;
  margin: 0 0 .65rem;
  color: var(--blue-700);
  font-size: .74rem;
  font-weight: 930;
  letter-spacing: .155em;
  line-height: 1.35;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 1.65rem;
  height: .18rem;
  flex: 0 0 auto;
  background: linear-gradient(90deg, var(--amber-500), var(--cyan-500));
  border-radius: 999px;
  content: "";
}

.page-hero .eyebrow::before,
.section-dark .eyebrow::before,
.cta-panel .eyebrow::before,
.video-hero .eyebrow::before { background: linear-gradient(90deg, var(--amber-500), #fff); }

.lead {
  color: var(--ink-700);
  font-size: clamp(1.04rem, 1.7vw, 1.22rem);
  line-height: 1.58;
}

.model-label {
  display: inline-flex;
  padding: .38rem .62rem;
  margin-bottom: .9rem;
  color: var(--navy-950);
  background: var(--amber-500);
  border-radius: .42rem;
  font-size: .72rem;
  font-weight: 930;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.quick-specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .62rem;
  margin-top: 1.15rem;
}

.quick-spec {
  padding: .76rem .86rem;
  color: #eaf4f7;
  background: rgba(255, 255, 255, .09);
  border: 1px solid rgba(255, 255, 255, .19);
  border-radius: .7rem;
  backdrop-filter: blur(7px);
}

.quick-spec strong,
.quick-spec span { display: block; }
.quick-spec strong { color: #fff; font-size: .94rem; line-height: 1.2; }
.quick-spec span { margin-top: .13rem; color: #cfe1e8; font-size: .75rem; }

.hero-image-frame,
.machine-image-frame {
  position: relative;
  display: grid;
  min-height: 0;
  overflow: hidden;
  place-items: center;
  background:
    radial-gradient(circle at 83% 16%, rgba(22, 193, 207, .12), transparent 12rem),
    #fff;
  border: 1px solid rgba(255, 255, 255, .52);
  border-radius: var(--radius-lg);
  box-shadow: 0 28px 76px rgba(0, 0, 0, .28);
}

.hero-image-frame img,
.machine-image-frame img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 35rem;
  padding: clamp(.7rem, 2vw, 1.2rem);
  object-fit: contain;
  object-position: center top;
  background: #fff;
}

.hero-badge {
  position: absolute;
  right: .8rem;
  bottom: .8rem;
  max-width: 14rem;
  padding: .88rem 1rem;
  color: var(--navy-950);
  background: var(--amber-500);
  border: .22rem solid rgba(255, 255, 255, .9);
  border-radius: .85rem;
  box-shadow: var(--shadow);
}

.hero-badge strong,
.hero-badge span { display: block; }
.hero-badge strong { font-size: .98rem; line-height: 1.2; }
.hero-badge span { margin-top: .2rem; font-size: .76rem; font-weight: 650; }

/* Sections */
.section { padding: var(--section-y) 0; }
.section-sm { padding: clamp(1.9rem, 3.3vw, 3.05rem) 0; }
.section .section { padding: 0; }
.section + .section { border-top: 1px solid rgba(200, 217, 225, .52); }
.section-mist { color: var(--ink-900); background: var(--mist-100); }
.section-mist + .section-mist { padding-top: 0; border-top: 0; }

.section-dark {
  color: #dceaf0;
  background:
    radial-gradient(circle at 88% 8%, rgba(22, 193, 207, .14), transparent 22rem),
    linear-gradient(135deg, var(--navy-950), #082d42);
}

.section-dark h2,
.section-dark h3 { color: #fff; }
.section-dark p,
.section-dark li { color: #d7e7ed; }
.section-dark .lead { color: #cfe0e7; }

.section-heading {
  display: flex;
  max-width: none;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: clamp(1.4rem, 2.5vw, 2rem);
}

.section-heading > div { max-width: 53rem; }
.section-heading .lead { margin-bottom: 0; }

.grid-2,
.grid-3,
.grid-4 {
  display: grid;
  gap: 1.15rem;
}

.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.align-center { align-items: center; }

.card {
  position: relative;
  display: flex;
  min-width: 0;
  overflow: hidden;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.card::before {
  position: absolute;
  z-index: 3;
  inset: 0 0 auto;
  height: .24rem;
  background: linear-gradient(90deg, var(--blue-600), var(--cyan-500), var(--amber-500));
  content: "";
}

.card:hover {
  border-color: #8eb7c8;
  box-shadow: 0 20px 48px rgba(3, 18, 29, .13);
  transform: translateY(-3px);
}

.card-media {
  position: relative;
  display: grid;
  height: clamp(18.5rem, 23vw, 21rem);
  min-height: 0;
  overflow: hidden;
  flex: 0 0 clamp(18.5rem, 23vw, 21rem);
  padding: clamp(.8rem, 1.25vw, 1.1rem);
  place-items: center;
  background:
    radial-gradient(circle at 82% 15%, rgba(22, 193, 207, .13), transparent 9rem),
    linear-gradient(145deg, #edf4f6, #fff);
  border-bottom: 1px solid var(--line);
}

.card-media img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  min-width: 0;
  min-height: 0;
  padding: 0;
  object-fit: contain;
  object-position: center center;
  background: transparent;
}

.card-tag {
  position: absolute;
  z-index: 2;
  top: .82rem;
  left: .82rem;
  padding: .34rem .56rem;
  color: #fff;
  background: rgba(3, 18, 29, .93);
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: .42rem;
  font-size: .69rem;
  font-weight: 870;
  letter-spacing: .04em;
}

.card-body {
  display: flex;
  height: auto;
  flex: 1 1 auto;
  flex-direction: column;
  padding: 1.15rem;
}

.card-body h3 { margin-bottom: .55rem; }
.card-body h3 a { color: var(--navy-900); text-decoration: none; }
.card-body h3 a:hover { color: var(--blue-700); }
.card-body p { color: var(--ink-600); }

.card-link {
  display: inline-flex;
  align-items: center;
  margin-top: auto;
  padding-top: .62rem;
  color: var(--blue-700);
  font-weight: 860;
  text-decoration: none;
}

.card-link::after {
  margin-left: .42rem;
  content: "→";
  transition: transform .18s ease;
}

.card-link:hover::after { transform: translateX(.2rem); }

.spec-chips {
  display: flex;
  flex-wrap: wrap;
  gap: .38rem;
  margin: .05rem 0 .9rem;
}

.spec-chip {
  padding: .25rem .46rem;
  color: var(--ink-700);
  background: #edf5f8;
  border: 1px solid #d5e5eb;
  border-radius: 999px;
  font-size: .7rem;
  font-weight: 760;
}

.icon-card {
  position: relative;
  min-width: 0;
  padding: 1.35rem;
  color: var(--ink-900);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-xs);
}

.icon-card::after {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: .52rem;
  aspect-ratio: 1;
  background: var(--amber-500);
  border-radius: 50%;
  box-shadow: 0 0 0 .28rem rgba(255, 181, 31, .14);
  content: "";
}

.icon-card h3 a { color: var(--navy-900); text-decoration: none; }
.icon-card h3 a:hover { color: var(--blue-700); }
.icon-card p:last-child { margin-bottom: 0; }

.icon {
  display: grid;
  width: 2.65rem;
  aspect-ratio: 1;
  margin-bottom: .85rem;
  place-items: center;
  color: #fff;
  background: linear-gradient(145deg, var(--blue-600), var(--navy-800));
  border-radius: .72rem;
  box-shadow: 0 9px 22px rgba(0, 104, 159, .2);
  font-weight: 920;
}

.section-dark .icon-card {
  color: #dceaf0;
  background: rgba(255, 255, 255, .075);
  border-color: rgba(255, 255, 255, .16);
  box-shadow: none;
  backdrop-filter: blur(7px);
}

.section-dark .icon-card h3 { color: #fff; }
.section-dark .icon-card p { color: #d4e5eb; }
.section-dark .icon-card .icon { color: var(--navy-950); background: var(--amber-500); }

.metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.metric {
  position: relative;
  min-width: 0;
  padding: 1.22rem 1.25rem;
  background: #fff;
  border-right: 1px solid var(--line);
}

.metric:last-child { border-right: 0; }

.metric::before {
  position: absolute;
  inset: 0 0 auto;
  height: .22rem;
  background: linear-gradient(90deg, var(--blue-600), var(--cyan-500));
  content: "";
}

.metric:nth-child(even)::before { background: linear-gradient(90deg, var(--cyan-500), var(--amber-500)); }
.metric strong,
.metric span { display: block; }
.metric strong { margin-bottom: .25rem; color: var(--navy-900); font-size: 1rem; line-height: 1.2; }
.metric span { color: var(--ink-600); font-size: .8rem; font-weight: 680; line-height: 1.4; }

.check-list {
  display: grid;
  gap: .64rem;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 1.65rem;
}

.check-list li::before {
  position: absolute;
  top: .18rem;
  left: 0;
  display: grid;
  width: 1.16rem;
  height: 1.16rem;
  place-items: center;
  color: #fff;
  background: var(--success);
  border-radius: 50%;
  content: "✓";
  font-size: .67rem;
  font-weight: 950;
  line-height: 1;
}

.spec-table {
  width: 100%;
  overflow: hidden;
  border: 1px solid #bfd3dc;
  border-radius: .78rem;
  box-shadow: var(--shadow-xs);
}

.spec-table th,
.spec-table td {
  padding: .76rem .86rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  text-align: left;
}

.spec-table th {
  width: 41%;
  color: var(--navy-900);
  background: #eaf3f7;
  font-size: .84rem;
}

.spec-table td { color: var(--ink-700); background: #fff; }
.spec-table tr:last-child th,
.spec-table tr:last-child td { border-bottom: 0; }
.table-responsive { overflow-x: auto; }

.notice {
  padding: 1rem 1.1rem;
  color: #3b3927;
  background: #fff8df;
  border: 1px solid #e9cc79;
  border-left: .3rem solid var(--amber-500);
  border-radius: .65rem;
}

.notice strong { color: var(--navy-900); }

.source-note {
  padding: .82rem .95rem;
  color: #405a6a;
  background: #eef5f7;
  border: 1px solid #ccdee6;
  border-radius: .62rem;
  font-size: .82rem;
}

.source-note strong { color: var(--navy-900); }

.faq-list { display: grid; gap: .6rem; }

.faq {
  overflow: clip;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: .78rem;
  box-shadow: 0 5px 16px rgba(3, 18, 29, .045);
}

.faq summary {
  position: relative;
  padding: .98rem 3rem .98rem 1.05rem;
  color: var(--navy-900);
  background: #fff;
  font-weight: 840;
  list-style: none;
  cursor: pointer;
}

.faq summary:hover { background: var(--mist-50); }
.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  position: absolute;
  top: 50%;
  right: 1rem;
  display: grid;
  width: 1.5rem;
  aspect-ratio: 1;
  place-items: center;
  color: var(--blue-700);
  border: 1px solid var(--line);
  border-radius: 50%;
  content: "+";
  font-size: 1rem;
  transform: translateY(-50%);
}

.faq[open] summary::after { content: "−"; }

.faq-answer {
  padding: 0 1.05rem 1rem;
  color: var(--ink-600);
}

.faq-answer p:last-child { margin-bottom: 0; }

.cta-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(1.55rem, 3.3vw, 2.65rem);
  color: #e1edf2;
  background:
    radial-gradient(circle at 92% 8%, rgba(22, 193, 207, .3), transparent 18rem),
    radial-gradient(circle at 8% 110%, rgba(0, 104, 159, .38), transparent 24rem),
    linear-gradient(125deg, var(--navy-950), #074a64);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.cta-panel::after {
  position: absolute;
  right: -4rem;
  bottom: -5rem;
  width: 13rem;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 50%;
  box-shadow: 0 0 0 2.5rem rgba(255, 255, 255, .025), 0 0 0 5rem rgba(255, 255, 255, .018);
  content: "";
  pointer-events: none;
}

.cta-panel h2 { max-width: 49rem; color: #fff; }
.cta-panel p:not(.eyebrow) { max-width: 49rem; color: #dbe9ef; }
.cta-panel .eyebrow { color: var(--amber-300); }

.network-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .68rem;
}

.network-link {
  position: relative;
  display: block;
  min-height: 100%;
  padding: .92rem .96rem .92rem 1.12rem;
  color: var(--ink-900);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: .7rem;
  box-shadow: var(--shadow-xs);
  text-decoration: none;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.network-link::before {
  position: absolute;
  top: .74rem;
  bottom: .74rem;
  left: 0;
  width: .22rem;
  background: linear-gradient(var(--blue-600), var(--cyan-500));
  border-radius: 0 999px 999px 0;
  content: "";
}

.network-link:hover {
  color: var(--blue-700);
  border-color: #8fb8ca;
  box-shadow: 0 12px 28px rgba(3, 18, 29, .09);
  transform: translateY(-1px);
}

.network-link strong,
.network-link span { display: block; }
.network-link span { margin-top: .16rem; color: var(--ink-600); font-size: .8rem; }

.video-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.15rem;
}

.video-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.video-card > a {
  position: relative;
  display: grid;
  min-height: 12rem;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  place-items: center;
  background: linear-gradient(145deg, #eaf2f5, #fff);
}

.video-card img {
  display: block;
  width: 100%;
  height: 100%;
  padding: .5rem;
  object-fit: contain;
  object-position: center top;
  background: #fff;
}

.video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 3.45rem;
  aspect-ratio: 1;
  place-items: center;
  color: #fff;
  background: rgba(3, 18, 29, .91);
  border: 2px solid rgba(255, 255, 255, .9);
  border-radius: 50%;
  box-shadow: 0 9px 28px rgba(0, 0, 0, .25);
  font-size: 1.08rem;
  transform: translate(-50%, -50%);
}

.video-card-body { padding: 1.08rem; }
.video-card-body p { color: var(--ink-600); font-size: .88rem; }
.video-card-body p:last-child { margin-bottom: 0; }

/* Long-form content */
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 17rem;
  align-items: start;
  gap: clamp(1.8rem, 4.5vw, 4rem);
}

.prose {
  min-width: 0;
  color: #223f52;
  font-size: 1.02rem;
  line-height: 1.7;
}

.prose > :first-child { margin-top: 0; }
.prose h2 { margin-top: 2.1rem; padding-top: .15rem; }
.prose h3 { margin-top: 1.55rem; }
.prose p,
.prose ul,
.prose ol { max-width: 49rem; }

.prose img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 41rem;
  padding: .72rem;
  margin: 1.35rem 0;
  object-fit: contain;
  object-position: center top;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.prose blockquote {
  max-width: 49rem;
  padding: .95rem 1.15rem;
  margin: 1.3rem 0;
  color: var(--ink-700);
  background: var(--mist-100);
  border-left: .3rem solid var(--blue-600);
}

.prose .spec-table { max-width: 52rem; margin: 1.35rem 0; font-size: .92rem; }

.toc {
  position: sticky;
  top: calc(var(--header-h) + 1rem);
  padding: 1.08rem;
  background: #edf5f8;
  border: 1px solid #c6d9e2;
  border-radius: .75rem;
}

.toc h2 {
  margin-bottom: .68rem;
  font-size: .82rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.toc ol {
  display: grid;
  gap: .48rem;
  padding-left: 1.05rem;
  margin: 0;
  font-size: .81rem;
}

.toc a { color: var(--ink-700); text-decoration: none; }
.toc a:hover { color: var(--blue-700); }

/* Contact and forms */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(18rem, .75fr);
  align-items: start;
  gap: 1.6rem;
}

.contact-card,
.form-panel {
  padding: clamp(1.25rem, 2.7vw, 1.85rem);
  color: var(--ink-900);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.contact-card + .contact-card { margin-top: .9rem; }

.contact-list {
  display: grid;
  gap: .65rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.contact-list a { font-weight: 820; }

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .9rem;
}

.field { display: grid; gap: .32rem; }
.field-full { grid-column: 1 / -1; }

.field label {
  color: var(--navy-900);
  font-size: .84rem;
  font-weight: 820;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: .72rem .78rem;
  color: var(--ink-900);
  background: #fff;
  border: 1px solid #9fb8c5;
  border-radius: .54rem;
}

.field textarea { min-height: 9rem; resize: vertical; }
.field small,
.form-note { color: var(--ink-600); }

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--blue-600);
  box-shadow: 0 0 0 .2rem rgba(0, 131, 189, .13);
  outline: none;
}

.required { color: var(--danger); }

.honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(1px, 1px, 1px, 1px) !important;
  white-space: nowrap !important;
}

.form-note { font-size: .8rem; }
.address { line-height: 1.65; }

.logo-panel {
  display: grid;
  min-height: 10rem;
  place-items: center;
  padding: 1.35rem;
  background: linear-gradient(145deg, #eef5f7, #fff);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.logo-panel img {
  display: block;
  width: min(100%, 30rem);
  max-height: 9rem;
  object-fit: contain;
  object-position: center;
}

.sitemap-columns { columns: 3 15rem; column-gap: 2.7rem; }
.sitemap-group { break-inside: avoid; margin-bottom: 1.55rem; }
.sitemap-group h2 { font-size: 1.2rem; }
.sitemap-group ul { padding-left: 1.15rem; }

.pagination-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .9rem;
  padding-top: 1.6rem;
  margin-top: 2.2rem;
  border-top: 1px solid var(--line);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: .32rem;
  padding: .33rem .55rem;
  color: var(--ink-700);
  background: var(--mist-100);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 810;
}

.muted { color: var(--ink-600) !important; }
.small { font-size: .82rem; }
.align-center-text { text-align: center; }

/* Footer */
.site-footer {
  padding: 3.2rem 0 1.25rem;
  color: #c5d8e1;
  background:
    radial-gradient(circle at 86% 0, rgba(22, 193, 207, .1), transparent 24rem),
    var(--navy-950);
  border-top: .26rem solid var(--amber-500);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr repeat(3, 1fr);
  gap: 1.8rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: .72rem;
  margin-bottom: .78rem;
  color: #fff;
}

.footer-brand-symbol {
  width: 2.85rem;
  border-color: rgba(255, 255, 255, .15);
  box-shadow: none;
}

.footer-brand-symbol svg { width: 2.15rem; }
.footer-brand > span:last-child { display: grid; line-height: 1.15; }
.footer-brand strong { color: #fff; font-size: 1rem; }
.footer-brand small { margin-top: .2rem; color: #9fc2d0; font-size: .66rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }

.site-footer p,
.site-footer address { color: #c5d8e1; }

.site-footer h2 {
  color: #fff;
  font-size: .8rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.site-footer ul {
  display: grid;
  gap: .4rem;
  padding: 0;
  list-style: none;
}

.site-footer a { color: #e0edf2; text-decoration: none; }
.site-footer a:hover { color: var(--amber-300); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.4rem;
  padding-top: 1.15rem;
  margin-top: 2.2rem;
  border-top: 1px solid rgba(255, 255, 255, .13);
  font-size: .78rem;
}

.footer-bottom nav { display: flex; gap: .9rem; }

.mobile-customer-bar { display: none; }

/* Responsive */
@media (max-width: 70rem) {
  .topbar-message { display: none; }
  .topbar-inner { justify-content: flex-end; }
  .brand { min-width: 0; }
  .menu-toggle { display: inline-flex; }

  .site-nav {
    position: fixed;
    z-index: 1100;
    top: calc(var(--topbar-h) + var(--header-h));
    right: 0;
    left: 0;
    display: none;
    max-height: calc(100vh - var(--topbar-h) - var(--header-h));
    overflow-y: auto;
    flex-direction: column;
    align-items: stretch;
    padding: .9rem max(1.05rem, calc((100% - var(--max)) / 2));
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

  .site-nav[data-open="true"] { display: flex; }
  .site-nav a { padding: .78rem .95rem; }
  .site-nav a::after { display: none; }
  .site-nav .nav-cta { margin: .25rem 0 0; text-align: center; }

  .hero-stage { grid-template-columns: minmax(0, 1fr) minmax(17rem, .54fr); gap: 2rem; }
  .video-hero h1 { font-size: clamp(2.45rem, 6.3vw, 4.4rem); }
  .hero-brief { padding: 1.2rem; }
  .hero-brief-list { gap: .55rem; }

  .machine-hero {
    grid-template-columns: 1fr;
    grid-template-areas: "copy" "image" "decision";
    gap: 1.35rem;
  }
  .machine-image-frame { width: min(100%, 45rem); }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .metric:nth-child(2) { border-right: 0; }
  .metric:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .network-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .article-layout { grid-template-columns: 1fr; }
  .toc { position: static; order: -1; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 54rem) {
  .video-hero {
    min-height: calc(100svh - var(--topbar-h) - var(--header-h) - 2px);
    align-content: center;
  }

  .hero-stage { grid-template-columns: 1fr; }
  .hero-main-copy { max-width: 44rem; }
  .hero-brief { display: none; }
  .video-hero h1 { max-width: 14ch; }
  .hero-video-overlay {
    background:
      linear-gradient(90deg, rgba(3, 18, 29, .96), rgba(3, 18, 29, .72)),
      linear-gradient(180deg, rgba(3, 18, 29, .35), rgba(3, 18, 29, .8));
  }
  .hero-background-video { transform: scale(1.035); }
}

@media (max-width: 44rem) {
  :root {
    --header-h: 4.6rem;
    --section-y: 2.55rem;
  }

  body { font-size: .97rem; padding-bottom: 4.1rem; }
  .container,
  .narrow { width: min(calc(100% - 1.3rem), var(--max)); }
  .topbar-links { width: 100%; justify-content: space-between; gap: .45rem; }
  .topbar a { font-size: .76rem; }

  .brand-symbol { width: 2.72rem; border-radius: .78rem; }
  .brand-symbol svg { width: 2.08rem; }
  .brand-line-one { font-size: .9rem; }
  .brand-line-two { font-size: .68rem; letter-spacing: .06em; }
  .brand-line-three { display: none; }

  h1 { max-width: none; font-size: clamp(2.05rem, 10.7vw, 3.2rem); }
  h2 { font-size: clamp(1.6rem, 8vw, 2.25rem); }

  .video-hero {
    min-height: calc(100svh - var(--topbar-h) - var(--header-h) - 2px);
    padding: 1.65rem 0 .85rem;
  }

  .video-hero h1 { max-width: none; font-size: clamp(2.15rem, 10.5vw, 3.35rem); }
  .hero-lead { font-size: 1rem; line-height: 1.52; }
  .hero-actions { margin-top: 1.05rem; }
  .hero-actions .btn { width: 100%; }
  .hero-value-points { grid-template-columns: 1fr; gap: .38rem; margin-top: .9rem; }
  .hero-value-points li { padding: .58rem .66rem .58rem .84rem; }
  .hero-value-points span { display: none; }
  .hero-value-points strong { font-size: .79rem; }
  .hero-video-footer { align-items: flex-start; flex-direction: column; gap: .55rem; padding-top: .8rem; }
  .hero-video-caption { display: none; }
  .hero-video-controls { width: 100%; justify-content: space-between; }
  .hero-video-controls a { font-size: .7rem; }

  .page-hero { padding: 2.25rem 0; }
  .page-hero h1 { max-width: none; }
  .machine-hero { gap: 1.05rem; }
  .machine-copy .breadcrumbs { margin-bottom: .8rem; }
  .machine-copy .model-label { margin-bottom: .68rem; }
  .machine-copy .lead { margin-bottom: 0; }
  .machine-hero > .machine-image-frame { max-height: 23rem; }
  .machine-hero > .machine-image-frame img { max-height: 23rem; padding: .55rem; }
  .machine-decision .quick-specs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .machine-decision .actions { margin-top: .85rem; }
  .machine-decision .actions .btn { flex: 1 1 12rem; }
  .quick-specs,
  .grid-2,
  .grid-3,
  .grid-4,
  .video-grid,
  .network-grid,
  .contact-grid,
  .form-grid { grid-template-columns: 1fr; }
  .field-full { grid-column: auto; }
  .machine-decision .quick-specs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section-heading { align-items: start; flex-direction: column; gap: .9rem; }
  .metrics { grid-template-columns: 1fr; }
  .metric,
  .metric:nth-child(n) { border-right: 0; border-bottom: 1px solid var(--line); }
  .metric:last-child { border-bottom: 0; }
  .card-media { height: 17.5rem; flex-basis: 17.5rem; padding: .72rem; }
  .spec-table { display: block; overflow-x: auto; }
  .spec-table th,
  .spec-table td { min-width: 10rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.65rem; }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
  .sitemap-columns { columns: 1; }

  .mobile-customer-bar {
    position: fixed;
    z-index: 1200;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    grid-template-columns: .86fr 1.14fr;
    gap: .5rem;
    padding: .55rem .65rem calc(.55rem + env(safe-area-inset-bottom));
    background: rgba(3, 18, 29, .97);
    border-top: 1px solid rgba(255, 255, 255, .15);
    box-shadow: 0 -8px 28px rgba(3, 18, 29, .22);
    backdrop-filter: blur(12px);
  }

  .mobile-customer-bar a {
    display: flex;
    min-height: 2.75rem;
    align-items: center;
    justify-content: center;
    padding: .58rem .7rem;
    border-radius: .58rem;
    font-size: .76rem;
    font-weight: 880;
    text-align: center;
    text-decoration: none;
  }

  .mobile-call { color: #fff; border: 1px solid rgba(255, 255, 255, .42); }
  .mobile-quote { color: var(--navy-950); background: var(--amber-500); border: 1px solid #e99d00; }
}

@media (max-width: 24rem) {
  .brand-line-two { font-size: .62rem; }
  .topbar a { font-size: .7rem; }
  .hero-video-controls a { display: none; }
}

/* Keep the video hero within shorter laptop and phone viewports. */
@media (max-height: 53.125rem) and (min-width: 54.01rem) {
  .video-hero { padding: 1.05rem 0 .65rem; }
  .video-hero h1 {
    margin-bottom: .5rem;
    font-size: clamp(2.45rem, 4.6vw, 4.05rem);
  }
  .hero-lead {
    margin-bottom: .55rem;
    font-size: 1.02rem;
    line-height: 1.45;
  }
  .hero-actions { margin-top: .78rem; }
  .hero-value-points { margin-top: .78rem; }
  .hero-value-points li { padding: .55rem .65rem .55rem .82rem; }
  .hero-value-points span { display: none; }
  .hero-brief { padding: .95rem 1.05rem; }
  .hero-brief-kicker { margin-bottom: .25rem; }
  .hero-brief h2 { margin-bottom: .42rem; font-size: 1.45rem; }
  .hero-brief-list { gap: .38rem; margin: .52rem 0 .68rem; }
  .hero-brief-list small { font-size: .66rem; }
  .hero-video-footer { padding-top: .38rem; }
}

@media (max-height: 47.5rem) and (max-width: 54rem) {
  .video-hero { padding: .8rem 0 .42rem; }
  .video-hero .eyebrow { margin-bottom: .4rem; font-size: .68rem; }
  .video-hero h1 {
    margin-bottom: .42rem;
    font-size: clamp(1.95rem, 9.2vw, 2.7rem);
    line-height: 1.03;
  }
  .hero-lead {
    margin-bottom: .4rem;
    font-size: .92rem;
    line-height: 1.38;
  }
  .hero-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .45rem;
    margin-top: .68rem;
  }
  .hero-actions .btn {
    width: auto;
    min-height: 3.2rem;
    padding: .5rem .48rem;
    font-size: .75rem;
  }
  .hero-value-points,
  .hero-video-footer { display: none; }
}

@media (max-height: 38rem) and (max-width: 44rem) {
  .hero-actions { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
  .hero-background-video { display: none; }
}


/* Viewport-locked hero: the video fills the complete hero and the hero plus site chrome fits one screen. */
:root {
  --hero-css-height: calc(100vh - var(--topbar-h) - var(--header-h));
  --hero-css-height: calc(100svh - var(--topbar-h) - var(--header-h));
  --hero-css-height: calc(100dvh - var(--topbar-h) - var(--header-h));
}

.video-hero {
  height: var(--hero-measured-height, var(--hero-css-height));
  min-height: 0;
  max-height: var(--hero-measured-height, var(--hero-css-height));
  grid-template-rows: minmax(0, 1fr) auto;
  align-content: stretch;
}

.video-hero .hero-stage {
  min-height: 0;
  align-self: center;
}

.video-hero .hero-video-footer { align-self: end; }

.hero-video-layer { inset: -2px; }

.hero-background-video {
  inset: 0;
  width: 100%;
  height: 100%;
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
  transform: none;
}

@media (max-width: 54rem) {
  .hero-background-video {
    object-position: 50% 50%;
    transform: none;
  }
}

@media (max-width: 44rem) {
  .hero-background-video { object-position: 50% 50%; }
}

@media print {
  .topbar,
  .site-header,
  .site-footer,
  .actions,
  .toc,
  .mobile-customer-bar,
  .hero-video-controls { display: none !important; }
  body { padding: 0; color: #000; font-size: 11pt; }
  .video-hero,
  .page-hero { height: auto; min-height: 0; max-height: none; padding: 1rem 0; color: #000; background: #fff; }
  .video-hero h1,
  .page-hero h1,
  .page-hero h2,
  .page-hero h3,
  .video-hero .hero-lead,
  .page-hero .lead { color: #000; text-shadow: none; }
  .hero-video-layer,
  .hero-video-overlay,
  .video-hero::before,
  .page-hero::before,
  .page-hero::after { display: none; }
  a { color: #000; text-decoration: none; }
  .section { padding: 1.1rem 0; }
  .card,
  .icon-card,
  .spec-table { break-inside: avoid; box-shadow: none; }
}

/* 2026 customer-first brand, contrast, conversion and secure-form refinements */
:root {
  --section-y: clamp(2.45rem, 4vw, 3.9rem);
  --ink-700: #234558;
  --ink-600: #3a596b;
}

/* Dedicated horizontal brand artwork */
.brand {
  width: clamp(18.5rem, 27vw, 24.5rem);
  min-width: min(24.5rem, 32vw);
  gap: 0;
}

.brand-logo {
  width: 100%;
  height: auto;
  max-height: 4.35rem;
  object-fit: contain;
  object-position: left center;
}

.footer-brand { display: block; margin-bottom: 1rem; }
.footer-brand-link { display: inline-block; width: min(100%, 20rem); }
.footer-brand-logo {
  width: 100%;
  height: auto;
  max-height: 4.4rem;
  object-fit: contain;
  object-position: left center;
}

/* Video and page-hero text remains legible over every frame/background */
.hero-video-overlay {
  background:
    linear-gradient(90deg, rgba(3, 18, 29, .97) 0%, rgba(3, 18, 29, .90) 46%, rgba(3, 18, 29, .58) 76%, rgba(3, 18, 29, .72) 100%),
    linear-gradient(180deg, rgba(3, 18, 29, .42) 0%, rgba(3, 18, 29, .16) 48%, rgba(3, 18, 29, .90) 100%);
}

.hero-main-copy {
  max-width: 51rem;
  padding: clamp(1rem, 2.2vw, 1.45rem);
  background: linear-gradient(135deg, rgba(3, 18, 29, .88), rgba(4, 35, 51, .70));
  border: 1px solid rgba(255, 255, 255, .22);
  border-left: .27rem solid var(--cyan-500);
  border-radius: 1rem;
  box-shadow: 0 22px 58px rgba(0, 0, 0, .30), inset 0 1px 0 rgba(255, 255, 255, .10);
  backdrop-filter: blur(12px);
}

.video-hero h1,
.page-hero h1,
.page-hero h2,
.page-hero h3 {
  color: #fff;
  text-shadow: 0 3px 22px rgba(0, 0, 0, .62);
}

.video-hero .hero-lead,
.page-hero .lead {
  color: #f0f7f9;
  text-shadow: 0 2px 16px rgba(0, 0, 0, .72);
}

.video-hero .eyebrow,
.page-hero .eyebrow,
.section-dark .eyebrow,
.cta-panel .eyebrow { color: #ffe49a; }

.hero-value-points li,
.hero-brief {
  background: rgba(3, 18, 29, .86);
  border-color: rgba(255, 255, 255, .28);
}

.hero-value-points span,
.hero-brief-list small,
.hero-video-footer { color: #e4f0f4; }

.page-hero {
  padding: clamp(2.3rem, 4.3vw, 3.85rem) 0;
  background:
    radial-gradient(circle at 88% 12%, rgba(22, 193, 207, .24), transparent 23rem),
    radial-gradient(circle at 12% 110%, rgba(0, 104, 159, .31), transparent 29rem),
    linear-gradient(128deg, #02111b, #06334b 66%, #06485d);
}

.page-hero .breadcrumbs { color: #f1f7f9; }
.page-hero .breadcrumbs a { color: #f1f7f9; opacity: .92; }

/* Explicit contrast for dark and coloured sections */
.section-dark a:not(.btn),
.cta-panel a:not(.btn) {
  color: #ffd56f;
  font-weight: 760;
}

.section-dark a:not(.btn):hover,
.cta-panel a:not(.btn):hover { color: #fff; }

.section-dark .icon-card {
  background: rgba(255, 255, 255, .095);
  border-color: rgba(255, 255, 255, .24);
}

.section-dark .icon-card h3,
.section-dark .icon-card h3 a { color: #fff; }
.section-dark .icon-card p,
.section-dark .icon-card li { color: #e7f1f4; }

.cta-panel {
  background:
    radial-gradient(circle at 92% 8%, rgba(22, 193, 207, .26), transparent 18rem),
    radial-gradient(circle at 8% 110%, rgba(0, 104, 159, .34), transparent 24rem),
    linear-gradient(125deg, #02111b, #064c65);
}
.cta-panel p:not(.eyebrow) { color: #edf6f8; }

/* Stronger body, card, table and form readability */
.card-body p,
.video-card-body p,
.network-link span,
.faq-answer,
.prose,
.spec-table td,
.field small,
.form-note { color: #365568; }

.card,
.icon-card,
.contact-card,
.form-panel,
.faq,
.video-card,
.network-link { border-color: #b8ced8; }

.card-body h3 a,
.icon-card h3,
.icon-card h3 a,
.contact-card h2,
.contact-card h3,
.form-panel h2 { color: #031b2a; }

.card-link { color: #005d8f; }
.card-link:hover { color: #031b2a; }

.source-note {
  color: #294b5e;
  background: #eef6f8;
  border-color: #bcd4de;
  border-left: .28rem solid var(--cyan-500);
}
.source-note a { color: #005d8f; font-weight: 800; }

.field input,
.field select,
.field textarea {
  color: #071f2f;
  background: #fff;
  border-color: #7d9ca9;
}

.field input::placeholder,
.field textarea::placeholder { color: #617987; opacity: 1; }

.field input:disabled,
.field select:disabled,
.field textarea:disabled,
button:disabled {
  cursor: not-allowed;
  opacity: .72;
}

.notice[data-kind="error"] {
  color: #681d1d;
  background: #fff1f1;
  border-color: #dca5a5;
  border-left-color: var(--danger);
}

.notice[data-kind="info"] {
  color: #173d52;
  background: #edf7fb;
  border-color: #afd2df;
  border-left-color: var(--blue-600);
}

.form-noscript { margin-bottom: 1rem; }
.logo-panel { background: linear-gradient(145deg, #eaf3f6, #fff); }
.logo-panel img { width: min(100%, 35rem); max-height: 8rem; }

/* Compact spacing preserves rhythm without oversized blank areas */
.section-heading { margin-bottom: clamp(1.2rem, 2.1vw, 1.75rem); }
.prose h2 { margin-top: 1.75rem; }
.prose h3 { margin-top: 1.35rem; }
.footer-bottom { margin-top: 1.65rem; }

@media (max-width: 70rem) {
  .brand { width: min(22rem, calc(100vw - 8.5rem)); min-width: 0; }
  .brand-logo { max-height: 4rem; }
}

@media (max-width: 54rem) {
  .hero-main-copy { max-width: 46rem; }
  .hero-video-overlay {
    background:
      linear-gradient(90deg, rgba(3, 18, 29, .97), rgba(3, 18, 29, .83)),
      linear-gradient(180deg, rgba(3, 18, 29, .43), rgba(3, 18, 29, .90));
  }
}

@media (max-width: 44rem) {
  .brand { width: min(16.7rem, calc(100vw - 7.2rem)); }
  .brand-logo { max-height: 3.55rem; }
  .hero-main-copy {
    padding: .85rem .88rem;
    border-left-width: .2rem;
    border-radius: .82rem;
  }
  .page-hero { padding: 2rem 0; }
  .footer-brand-link { width: min(100%, 18.5rem); }
}

@media (max-width: 24rem) {
  .brand { width: min(14.7rem, calc(100vw - 6.6rem)); }
}

@media (max-height: 53.125rem) and (min-width: 54.01rem) {
  .hero-main-copy { padding: .8rem 1rem; }
}

@media (max-height: 47.5rem) and (max-width: 54rem) {
  .hero-main-copy { padding: .62rem .72rem; }
}

@media print {
  .hero-main-copy { padding: 0; background: transparent; border: 0; box-shadow: none; }
}

/* 2026-08 customer-focused logo, cleaner video hero and shorter enquiry form */
.brand {
  width: clamp(17.25rem, 23vw, 22rem);
  min-width: min(22rem, 28vw);
}

.brand-logo { max-height: 3.95rem; }
.footer-brand-link { width: min(100%, 21.5rem); }
.footer-brand-logo { max-height: 4.25rem; }

.video-hero-clean {
  padding: clamp(1.35rem, 3.1vh, 2.35rem) 0 .75rem;
}

.video-hero-clean::before {
  opacity: .42;
  mask-image: linear-gradient(to right, #000 0%, rgba(0, 0, 0, .36) 45%, transparent 72%);
}

.video-hero-clean .hero-video-overlay {
  background:
    linear-gradient(90deg, rgba(3, 18, 29, .93) 0%, rgba(3, 18, 29, .80) 35%, rgba(3, 18, 29, .34) 61%, rgba(3, 18, 29, .08) 80%, rgba(3, 18, 29, .18) 100%),
    linear-gradient(180deg, rgba(3, 18, 29, .22) 0%, rgba(3, 18, 29, .05) 54%, rgba(3, 18, 29, .62) 100%);
}

.video-hero-clean .hero-stage {
  grid-template-columns: minmax(0, 40rem) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 4rem);
}

.video-hero-clean .hero-main-copy {
  width: 100%;
  max-width: 39.5rem;
  padding: clamp(1.15rem, 2.1vw, 1.55rem);
  background: linear-gradient(135deg, rgba(3, 18, 29, .76), rgba(4, 35, 51, .48));
  border: 1px solid rgba(255, 255, 255, .18);
  border-left: .24rem solid var(--cyan-500);
  border-radius: 1rem;
  box-shadow: 0 20px 52px rgba(0, 0, 0, .22), inset 0 1px 0 rgba(255, 255, 255, .08);
  backdrop-filter: blur(7px);
}

.video-hero-clean .eyebrow {
  margin-bottom: .62rem;
  font-size: .72rem;
  letter-spacing: .12em;
}

.video-hero-clean h1 {
  max-width: 11.5ch;
  margin-bottom: .75rem;
  font-size: clamp(2.65rem, 4.75vw, 4.55rem);
  line-height: 1.01;
}

.video-hero-clean .hero-lead {
  max-width: 35rem;
  margin-bottom: 0;
  font-size: clamp(1rem, 1.45vw, 1.16rem);
  line-height: 1.52;
}

.video-hero-clean .hero-actions {
  gap: .65rem;
  margin-top: 1.15rem;
}

.btn-phone {
  color: #fff;
  background: rgba(3, 18, 29, .48);
  border-color: rgba(255, 255, 255, .62);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
  backdrop-filter: blur(7px);
}

.btn-phone:hover {
  color: var(--navy-950);
  background: #fff;
  border-color: #fff;
}

.btn-phone-icon {
  font-size: 1.05rem;
  line-height: 1;
}

.hero-reassurance {
  margin: .82rem 0 0;
  color: #e8f2f5;
  font-size: .8rem;
  font-weight: 700;
  text-shadow: 0 2px 14px rgba(0, 0, 0, .68);
}

.hero-video-footer-clean {
  justify-content: flex-end;
  padding-top: .35rem;
}

.hero-video-footer-clean .hero-video-controls { margin-left: auto; }
.hero-video-footer-clean .video-toggle {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .42rem .62rem;
  background: rgba(3, 18, 29, .48);
  border-color: rgba(255, 255, 255, .25);
  font-size: .68rem;
}

.video-toggle-icon {
  width: .45rem;
  aspect-ratio: 1;
  background: var(--cyan-500);
  border: 1px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 .18rem rgba(22, 193, 207, .16);
}

.video-hero[data-video-state="paused"] .video-toggle-icon,
.video-hero[data-video-state="reduced"] .video-toggle-icon { background: var(--amber-500); }

.form-panel-simple h2 { margin-bottom: .45rem; }
.form-intro {
  max-width: 43rem;
  margin: 0 0 1.2rem;
  color: var(--ink-700);
}

.form-grid-simple { gap: .85rem 1rem; }
.form-grid-simple .field textarea {
  min-height: 8.5rem;
  line-height: 1.5;
}

.optional-label {
  margin-left: .25rem;
  color: var(--ink-600);
  font-size: .72rem;
  font-weight: 650;
}

.consent-field {
  padding: .85rem .95rem;
  background: var(--mist-50);
  border: 1px solid var(--line);
  border-radius: .65rem;
}

.consent-field > label {
  display: flex;
  align-items: flex-start;
  gap: .55rem;
  line-height: 1.42;
}

.consent-field input[type="checkbox"] {
  width: 1.05rem;
  height: 1.05rem;
  flex: 0 0 auto;
  margin-top: .14rem;
  accent-color: var(--blue-700);
}

.form-submit-row .btn {
  width: 100%;
  min-height: 3.25rem;
  font-size: .95rem;
}

.form-submit-row .form-note {
  margin: .2rem 0 0;
  text-align: center;
}

.contact-direct-card {
  overflow: hidden;
  background:
    radial-gradient(circle at 100% 0, rgba(22, 193, 207, .22), transparent 13rem),
    linear-gradient(145deg, #041824, #07506f);
  border-color: rgba(255, 255, 255, .16);
}

.contact-direct-card .eyebrow,
.contact-direct-card h2,
.contact-direct-card p { color: #fff; }
.contact-direct-card p { color: #dcecf1; }
.contact-phone-button {
  width: 100%;
  min-height: 3.2rem;
  margin-top: .35rem;
  font-size: 1.05rem;
}
.contact-email-link {
  display: block;
  margin-top: .85rem;
  color: #ffd56f;
  font-weight: 820;
  text-align: center;
}
.contact-email-link:hover { color: #fff; }
.contact-help-card p { margin-bottom: .7rem; }

@media (max-width: 70rem) {
  .brand { width: min(20.5rem, calc(100vw - 8.5rem)); min-width: 0; }
  .brand-logo { max-height: 3.75rem; }
  .video-hero-clean .hero-stage { grid-template-columns: minmax(0, 38rem) 1fr; }
}

@media (max-width: 54rem) {
  .video-hero-clean .hero-stage { grid-template-columns: 1fr; }
  .video-hero-clean .hero-main-copy { max-width: 38rem; }
  .video-hero-clean .hero-video-overlay {
    background:
      linear-gradient(90deg, rgba(3, 18, 29, .92), rgba(3, 18, 29, .55)),
      linear-gradient(180deg, rgba(3, 18, 29, .16), rgba(3, 18, 29, .72));
  }
}

@media (max-width: 44rem) {
  .brand { width: min(16.25rem, calc(100vw - 7rem)); }
  .brand-logo { max-height: 3.45rem; }

  .video-hero-clean { padding: 1rem 0 .55rem; }
  .video-hero-clean .hero-stage { align-items: center; }
  .video-hero-clean .hero-main-copy {
    max-width: none;
    padding: .9rem .92rem;
    background: linear-gradient(135deg, rgba(3, 18, 29, .80), rgba(4, 35, 51, .56));
    border-left-width: .18rem;
    border-radius: .82rem;
    backdrop-filter: blur(5px);
  }
  .video-hero-clean .eyebrow {
    margin-bottom: .45rem;
    font-size: .65rem;
    line-height: 1.35;
  }
  .video-hero-clean h1 {
    max-width: 12ch;
    margin-bottom: .55rem;
    font-size: clamp(2.05rem, 10.2vw, 2.75rem);
    line-height: 1.02;
  }
  .video-hero-clean .hero-lead {
    font-size: .94rem;
    line-height: 1.43;
  }
  .video-hero-clean .hero-actions {
    gap: .48rem;
    margin-top: .82rem;
  }
  .video-hero-clean .hero-actions .btn {
    width: 100%;
    min-height: 3rem;
    padding: .62rem .75rem;
    font-size: .82rem;
  }
  .hero-reassurance {
    margin-top: .58rem;
    font-size: .72rem;
  }
  .hero-video-footer-clean {
    align-items: flex-end;
    padding-top: .22rem;
  }
  .hero-video-footer-clean .hero-video-controls {
    width: auto;
    margin-left: auto;
  }
  .hero-video-footer-clean .video-toggle { font-size: .64rem; }

  .contact-enquiry-section { padding-top: 1.8rem; }
  .form-panel-simple,
  .contact-aside-simple .contact-card { padding: 1.15rem; }
  .form-grid-simple { grid-template-columns: 1fr; }
  .form-grid-simple .field-full { grid-column: auto; }
  .form-grid-simple .field textarea { min-height: 9rem; }
}

@media (max-height: 47.5rem) and (max-width: 54rem) {
  .video-hero-clean .hero-main-copy { padding: .66rem .76rem; }
  .video-hero-clean .eyebrow { margin-bottom: .3rem; }
  .video-hero-clean h1 { margin-bottom: .36rem; }
  .video-hero-clean .hero-lead { font-size: .88rem; line-height: 1.34; }
  .video-hero-clean .hero-actions { margin-top: .58rem; }
  .video-hero-clean .hero-actions .btn { min-height: 2.85rem; }
  .video-hero-clean .hero-reassurance { display: none; }
}

@media (max-height: 38rem) and (max-width: 44rem) {
  .video-hero-clean .hero-actions { display: grid; }
  .video-hero-clean .hero-lead { display: none; }
}

@media print {
  .video-hero-clean .hero-main-copy {
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
  }
  .contact-direct-card { color: #000; background: #fff; }
  .contact-direct-card .eyebrow,
  .contact-direct-card h2,
  .contact-direct-card p,
  .contact-direct-card a { color: #000; }
}
