/*
   Automatic Packaging Lines — consolidated site-v10
   Clean industrial design, responsive navigation and a local hero video.
*/

:root {
  --ink: #173242;
  --ink-strong: #071f2d;
  --muted: #5a6f7b;
  --navy: #072638;
  --navy-deep: #041b29;
  --teal: #0a8296;
  --teal-dark: #076a7b;
  --teal-soft: #e9f5f7;
  --orange: #f28a2c;
  --orange-dark: #d66a12;
  --orange-soft: #fff3e8;
  --surface: #ffffff;
  --surface-alt: #f5f8f9;
  --surface-muted: #edf2f4;
  --line: #d9e3e7;
  --line-strong: #c4d3d9;
  --white: #ffffff;
  --success: #15734a;
  --danger: #9d3030;
  --shadow-sm: 0 8px 24px rgba(5, 35, 52, 0.07);
  --shadow-md: 0 18px 46px rgba(5, 35, 52, 0.12);
  --shadow-lg: 0 28px 72px rgba(2, 24, 37, 0.22);
  --radius-sm: 9px;
  --radius: 14px;
  --radius-lg: 20px;
  --shell: 1280px;
  --site-header-height: 104px;
  --transition: 180ms ease;
}

*, *::before, *::after { box-sizing: border-box; }
html {
  overflow-x: clip;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--site-header-height) + 18px);
}
body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--surface);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.62;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
button, input, textarea, select { font: inherit; }
button { color: inherit; }
address { font-style: normal; }
main { display: block; }
[hidden] { display: none !important; }

h1, h2, h3, h4 {
  margin: 0 0 0.58em;
  color: var(--ink-strong);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.55rem, 4.5vw, 4.75rem); }
h2 { font-size: clamp(1.9rem, 3vw, 3.15rem); }
h3 { font-size: clamp(1.18rem, 1.45vw, 1.48rem); letter-spacing: -0.022em; }
h4 { font-size: 1.06rem; letter-spacing: -0.01em; }
p { margin: 0 0 1.02em; }
ul, ol { margin: 0 0 1.3em; }
::selection { color: var(--white); background: var(--teal); }

:focus-visible {
  outline: 3px solid rgba(242, 138, 44, 0.78);
  outline-offset: 3px;
}

.shell {
  width: min(var(--shell), calc(100% - 44px));
  margin-inline: auto;
}
.shell--narrow { width: min(900px, calc(100% - 44px)); }

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.skip-link {
  position: fixed;
  z-index: 1000;
  top: 10px;
  left: 12px;
  padding: 10px 16px;
  color: var(--white);
  background: var(--navy);
  border-radius: 8px;
  transform: translateY(-160%);
  transition: transform var(--transition);
}
.skip-link:focus { transform: translateY(0); }

/* Buttons and text links */
.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 19px;
  color: var(--white);
  background: var(--teal);
  border: 1px solid var(--teal);
  border-radius: 9px;
  box-shadow: 0 8px 20px rgba(10, 130, 150, 0.18);
  font-size: 0.94rem;
  font-weight: 780;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: color var(--transition), background var(--transition), border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.button:hover {
  color: var(--white);
  background: var(--teal-dark);
  border-color: var(--teal-dark);
  box-shadow: 0 11px 26px rgba(7, 106, 123, 0.22);
  transform: translateY(-1px);
}
.button--accent {
  color: var(--ink-strong);
  background: var(--orange);
  border-color: var(--orange);
  box-shadow: 0 9px 22px rgba(242, 138, 44, 0.22);
}
.button--accent:hover {
  color: var(--ink-strong);
  background: #ff9b43;
  border-color: #ff9b43;
  box-shadow: 0 12px 28px rgba(242, 138, 44, 0.28);
}
.button--secondary {
  color: var(--ink);
  background: var(--white);
  border-color: var(--line-strong);
  box-shadow: none;
}
.button--secondary:hover {
  color: var(--teal-dark);
  background: var(--teal-soft);
  border-color: #99c8d0;
  box-shadow: none;
}
.button--light {
  color: var(--ink-strong);
  background: var(--white);
  border-color: var(--white);
  box-shadow: none;
}
.button--light:hover { color: var(--ink-strong); background: #edf7f8; border-color: #edf7f8; box-shadow: none; }
.button--ghost-light {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: none;
}
.button--ghost-light:hover { color: var(--white); background: rgba(255, 255, 255, 0.16); border-color: var(--white); box-shadow: none; }
.button--small { min-height: 38px; padding: 8px 14px; font-size: 0.84rem; }
.button-row { display: flex; flex-wrap: wrap; align-items: center; gap: 11px; margin-top: 24px; }
.button-row--centre { justify-content: center; }
.text-link {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--teal-dark);
  font-weight: 780;
  text-decoration: none;
}
.text-link span { transition: transform var(--transition); }
.text-link:hover { color: var(--orange-dark); }
.text-link:hover span { transform: translateX(3px); }

/* Header and navigation */
.site-header {
  position: sticky;
  z-index: 200;
  top: 0;
  background: rgba(255, 255, 255, 0.985);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 5px 18px rgba(4, 29, 43, 0.06);
}
.topbar {
  min-height: 31px;
  color: #dce9ed;
  background: var(--navy-deep);
  border-bottom: 2px solid var(--orange);
  font-size: 0.77rem;
  font-weight: 700;
  letter-spacing: 0.005em;
}
.topbar__inner {
  min-height: 31px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.topbar__inner > span { white-space: nowrap; }
.topbar__inner > div { display: flex; align-items: center; gap: 24px; }
.topbar a { color: var(--white); text-decoration: none; }
.topbar a:hover { color: #ffd2ac; }
.header-main {
  min-height: 71px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.site-logo {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 13px;
  min-width: 0;
  text-decoration: none;
}
.site-logo__mark {
  display: inline-flex;
  width: clamp(180px, 14vw, 216px);
  min-height: 40px;
  align-items: center;
  justify-content: center;
}
.site-logo__image { width: 100%; height: auto; object-fit: contain; }
.site-logo__descriptor {
  display: grid;
  gap: 1px;
  padding-left: 13px;
  color: #4a6270;
  border-left: 1px solid var(--line-strong);
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  line-height: 1.18;
  text-transform: uppercase;
}
.site-logo__descriptor strong { color: #173f70; font-size: 0.72rem; }
.menu-toggle {
  display: none;
  width: 44px;
  height: 42px;
  padding: 9px;
  background: var(--surface-alt);
  border: 1px solid var(--line);
  border-radius: 9px;
  cursor: pointer;
}
.menu-toggle span:not(.sr-only) {
  display: block;
  width: 22px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.primary-nav { margin-left: auto; }
.primary-nav > ul {
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.primary-nav li { position: relative; }
.primary-nav a,
.nav-group__button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 11px;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-radius: 8px;
  font-size: 0.87rem;
  font-weight: 760;
  line-height: 1.15;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: color var(--transition), background var(--transition);
}
.primary-nav a:hover,
.nav-group__button:hover,
.nav-group.is-open > .nav-group__button {
  color: var(--teal-dark);
  background: var(--teal-soft);
}
.nav-group__button > span {
  width: 7px;
  height: 7px;
  overflow: hidden;
  color: inherit;
  font-size: 0;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform var(--transition);
}
.nav-group.is-open > .nav-group__button > span,
.nav-group:hover > .nav-group__button > span,
.nav-group:focus-within > .nav-group__button > span { transform: translateY(2px) rotate(225deg); }
.nav-dropdown {
  position: absolute;
  z-index: 220;
  top: calc(100% + 9px);
  left: 50%;
  display: grid;
  width: min(480px, 82vw);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
  margin: 0;
  padding: 11px;
  visibility: hidden;
  opacity: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--teal);
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  list-style: none;
  transform: translate(-50%, 7px);
  transition: opacity var(--transition), visibility var(--transition), transform var(--transition);
}
.nav-dropdown a {
  min-height: 0;
  justify-content: flex-start;
  padding: 10px 11px;
  color: #36505f;
  border-radius: 7px;
  font-size: 0.83rem;
  line-height: 1.3;
  white-space: normal;
}
.nav-dropdown a:hover,
.nav-dropdown a[aria-current="page"] { color: var(--ink-strong); background: var(--surface-alt); }
.nav-group:hover > .nav-dropdown,
.nav-group:focus-within > .nav-dropdown,
.nav-group.is-open > .nav-dropdown {
  visibility: visible;
  opacity: 1;
  transform: translate(-50%, 0);
}
.primary-nav .nav-contact {
  min-height: 43px;
  margin-left: 8px;
  padding-inline: 17px;
  color: var(--ink-strong);
  background: var(--orange);
  box-shadow: 0 7px 18px rgba(242, 138, 44, 0.2);
}
.primary-nav .nav-contact:hover { color: var(--ink-strong); background: #ff9b43; }
.primary-nav a.is-current,
.nav-dropdown a[aria-current="page"] { color: var(--teal-dark); background: var(--teal-soft); }

/* Breadcrumbs */
.breadcrumbs {
  color: #667b87;
  background: #f8fafb;
  border-bottom: 1px solid var(--line);
  font-size: 0.81rem;
}
.breadcrumbs ol {
  width: min(var(--shell), calc(100% - 44px));
  min-height: 40px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 auto;
  padding: 7px 0;
  list-style: none;
}
.breadcrumbs li + li::before { margin-right: 8px; color: #9aabb3; content: "/"; }
.breadcrumbs a { color: var(--teal-dark); text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }

/* Homepage hero with local video */
.hero { position: relative; overflow: hidden; }
.hero--home {
  height: clamp(520px, calc(100svh - var(--site-header-height)), 760px);
  min-height: 0;
  display: grid;
  align-items: center;
  color: var(--white);
  background: var(--navy-deep);
  isolation: isolate;
}
.hero-background-video,
.hero-video-overlay { position: absolute; inset: 0; }
.hero-background-video {
  z-index: -3;
  overflow: hidden;
  background: url("../video/automatic-packaging-line-hero-poster.webp") center / cover no-repeat;
}
.hero-background-video video {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center center;
  filter: saturate(1.04) contrast(1.04) brightness(0.78);
  transform: scale(1.01);
}
.hero-video-overlay {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(3, 20, 31, 0.96) 0%, rgba(4, 27, 41, 0.9) 38%, rgba(5, 37, 51, 0.59) 68%, rgba(5, 37, 51, 0.28) 100%),
    linear-gradient(0deg, rgba(2, 17, 27, 0.58), rgba(2, 17, 27, 0.06) 60%);
}
.hero--home__inner {
  width: min(var(--shell), calc(100% - 44px));
  height: 100%;
  display: flex;
  align-items: center;
  margin-inline: auto;
  padding-block: clamp(32px, 5vh, 54px);
}
.hero--home__copy { width: min(100%, 730px); }
.hero--home .eyebrow {
  margin-bottom: 13px;
  color: #9ee4ed;
}
.hero--home h1 {
  max-width: 17ch;
  margin-bottom: 18px;
  color: var(--white);
  font-size: clamp(3rem, 5vw, 5.05rem);
  line-height: 0.98;
  letter-spacing: -0.052em;
  text-shadow: 0 7px 26px rgba(0, 0, 0, 0.32);
}
.hero--home h1 span { color: #ffad61; }
.hero--home .lede {
  max-width: 690px;
  margin-bottom: 0;
  color: #edf6f8;
  font-size: clamp(1.02rem, 1.3vw, 1.18rem);
  line-height: 1.53;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.24);
}
.hero--home .button-row { margin-top: 24px; }
.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}
.hero-points li {
  position: relative;
  padding-left: 20px;
  color: #36505f;
  font-size: 0.88rem;
  font-weight: 700;
}
.hero-points li::before {
  position: absolute;
  top: 0.42em;
  left: 0;
  width: 10px;
  height: 6px;
  border-bottom: 2px solid var(--orange);
  border-left: 2px solid var(--orange);
  content: "";
  transform: rotate(-45deg);
}
.hero-points--light li { color: #eaf5f7; }
.hero-video-toggle {
  position: absolute;
  z-index: 4;
  right: clamp(12px, 2vw, 26px);
  bottom: clamp(11px, 1.6vh, 18px);
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  gap: 8px;
  padding: 7px 11px;
  color: #f1f7f8;
  background: rgba(3, 24, 36, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 760;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: background var(--transition), border-color var(--transition);
}
.hero-video-toggle:hover { background: rgba(5, 55, 70, 0.84); border-color: rgba(255, 255, 255, 0.55); }
.hero-video-toggle__icon { position: relative; width: 13px; height: 13px; }
.hero-video-toggle__icon::before,
.hero-video-toggle__icon::after {
  position: absolute;
  top: 1px;
  width: 4px;
  height: 11px;
  background: currentColor;
  border-radius: 1px;
  content: "";
}
.hero-video-toggle__icon::before { left: 1px; }
.hero-video-toggle__icon::after { right: 1px; }
.hero-video-toggle.is-paused .hero-video-toggle__icon::before {
  top: 0;
  left: 2px;
  width: 0;
  height: 0;
  background: transparent;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 11px solid currentColor;
  border-radius: 0;
}
.hero-video-toggle.is-paused .hero-video-toggle__icon::after { display: none; }
.hero-video-fallback .hero-video-toggle { display: none; }

.eyebrow {
  margin: 0 0 12px;
  color: var(--teal-dark);
  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: 0.16em;
  line-height: 1.3;
  text-transform: uppercase;
}
.eyebrow--light,
.section--dark .eyebrow { color: #93e1ea; }
.lede {
  max-width: 760px;
  color: var(--muted);
  font-size: clamp(1.04rem, 1.35vw, 1.2rem);
  line-height: 1.6;
}

/* Standard inner-page hero */
.hero--standard {
  padding: clamp(52px, 5.5vw, 76px) 0;
  background: var(--surface-alt);
  border-bottom: 1px solid var(--line);
}
.hero--standard.hero--compact { padding-block: clamp(42px, 4.5vw, 58px); }
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.82fr);
  gap: clamp(40px, 5.5vw, 74px);
  align-items: center;
}
.hero__copy { max-width: 760px; }
.hero__copy h1 { font-size: clamp(2.45rem, 4vw, 4.25rem); }
.hero__media {
  position: relative;
  min-height: 340px;
  display: grid;
  place-items: center;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 4px solid var(--teal);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.hero__image { width: 100%; height: 305px; object-fit: contain; object-position: center; }
.hero__badge {
  position: absolute;
  right: 16px;
  bottom: 16px;
  display: grid;
  gap: 2px;
  max-width: 170px;
  padding: 13px 15px;
  color: var(--white);
  background: rgba(7, 38, 56, 0.94);
  border-radius: 9px;
  box-shadow: var(--shadow-sm);
}
.hero__badge strong { color: var(--white); font-size: 1.16rem; line-height: 1; }
.hero__badge span { color: #d1e2e7; font-size: 0.73rem; line-height: 1.3; }

/* Proof strip */
.proof-strip {
  color: var(--ink);
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.proof-strip--raised { box-shadow: 0 8px 24px rgba(4, 29, 43, 0.05); }
.proof-strip__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.proof-strip__grid > div {
  position: relative;
  min-height: 100px;
  display: grid;
  align-content: center;
  gap: 4px;
  padding: 22px 30px 22px 48px;
  border-right: 1px solid var(--line);
}
.proof-strip__grid > div::before {
  position: absolute;
  top: 50%;
  left: 24px;
  width: 10px;
  height: 10px;
  background: var(--teal);
  border-radius: 50%;
  box-shadow: 0 0 0 5px var(--teal-soft);
  content: "";
  transform: translateY(-50%);
}
.proof-strip__grid > div:first-child { padding-left: 26px; }
.proof-strip__grid > div:first-child::before { left: 2px; }
.proof-strip__grid > div:last-child { border-right: 0; }
.proof-strip strong { color: var(--ink-strong); font-size: 1rem; line-height: 1.25; }
.proof-strip span { color: var(--muted); font-size: 0.83rem; line-height: 1.42; }

/* Sections and layout */
.section { padding: clamp(58px, 6vw, 82px) 0; }
.section--soft { background: var(--surface-alt); }
.section--dark { color: #dcebee; background: var(--navy); }
.section--dark h2,
.section--dark h3,
.section--dark strong { color: var(--white); }
.section--dark p,
.section--dark li,
.section--dark .section-intro,
.section--dark .lede { color: #d4e4e9; }
.section--dark a:not(.button) { color: #9fe2ea; }
.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.66fr);
  gap: clamp(28px, 4.5vw, 60px);
  align-items: end;
  margin-bottom: 30px;
}
.section-heading h2 { margin-bottom: 0; }
.section-heading > p,
.section-heading p:last-child,
.section-intro { max-width: 740px; color: var(--muted); font-size: 1.02rem; }
.section-intro { margin: -1px 0 30px; }
.section-action { margin-top: 30px; text-align: center; }

.split,
.planning-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(38px, 6vw, 82px);
  align-items: center;
}
.split--reverse { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); }
.split--reverse > :first-child { order: 2; }
.split--reverse > :last-child { order: 1; }
.image-frame,
.planning-grid > div:first-child {
  position: relative;
  min-height: 360px;
  display: grid;
  place-items: center;
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 4px solid var(--teal);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.image-frame__image,
.planning-image { width: 100%; height: 320px; object-fit: contain; object-position: center; }
.section--dark .image-frame { border-color: rgba(255, 255, 255, 0.18); }

.info-panel {
  padding: clamp(23px, 2.8vw, 32px);
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--orange);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.info-panel h2 { font-size: 1.48rem; }
.info-panel ul { padding-left: 20px; }
.info-panel li { margin-bottom: 6px; }

/* Cards */
.card-grid { display: grid; gap: 19px; }
.card-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card-grid--5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.card:hover { border-color: #b1cbd3; box-shadow: var(--shadow-md); transform: translateY(-3px); }
.card__image {
  width: 100%;
  height: 230px;
  padding: 18px;
  background: #f4f7f8;
  border-bottom: 1px solid var(--line);
  object-fit: contain;
  object-position: center;
}
.card__body { display: flex; min-height: 198px; flex-direction: column; padding: 23px; }
.card__body h3 { margin-bottom: 10px; }
.card h3 a { color: var(--ink-strong); text-decoration: none; }
.card h3 a::after { position: absolute; inset: 0; content: ""; }
.card__body p,
.icon-card p,
.link-card p { color: var(--muted); }
.card__body .text-link,
.feature-card .text-link,
.link-card .text-link { margin-top: auto; align-self: flex-start; }
.feature-card { height: 100%; }
.card--text {
  border-top: 3px solid var(--teal);
  box-shadow: none;
}
.card--text:hover { box-shadow: var(--shadow-sm); }
.card--text .card__body { min-height: 190px; }
.icon-card,
.link-card { min-height: 224px; padding: 24px; }
.icon-card { border-top: 3px solid var(--teal); box-shadow: none; }
.link-card { border-top: 3px solid var(--orange); box-shadow: none; }
.card-number {
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--white);
  background: var(--teal);
  border-radius: 50%;
  font-size: 0.82rem;
  font-weight: 850;
}

.check-list { margin: 23px 0; padding: 0; list-style: none; }
.check-list li { position: relative; margin-bottom: 10px; padding-left: 28px; color: #36505f; }
.check-list li::before {
  position: absolute;
  top: 0.28em;
  left: 0;
  display: grid;
  width: 18px;
  height: 18px;
  place-items: center;
  color: var(--white);
  background: var(--teal);
  border-radius: 50%;
  content: "✓";
  font-size: 0.68rem;
  font-weight: 900;
}
.check-list--light li { color: #e2eef1; }
.check-list--light li::before { color: var(--ink-strong); background: #8edce6; }

/* Processes and outcomes */
.process-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}
.process-list li {
  min-width: 0;
  padding: 23px 20px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
}
.process-list li > span {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  margin-bottom: 17px;
  color: var(--ink-strong);
  background: var(--orange);
  border-radius: 50%;
  font-size: 0.85rem;
  font-weight: 900;
}
.process-list h3 { margin-bottom: 8px; }
.process-list p { margin: 0; color: #cfe0e5; font-size: 0.89rem; }
.home-process {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 15px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}
.home-process li {
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--teal);
  border-radius: var(--radius);
}
.home-process span { display: block; margin-bottom: 9px; color: var(--orange-dark); font-size: 0.82rem; font-weight: 850; letter-spacing: 0.08em; }
.home-process p { margin: 0; color: var(--muted); font-size: 0.9rem; }
.outcomes-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.outcome {
  padding: 24px;
  background: var(--surface-alt);
  border: 1px solid var(--line);
  border-left: 4px solid var(--teal);
  border-radius: var(--radius);
}
.outcome p { margin: 0; color: var(--muted); }
.formula { display: flex; flex-wrap: wrap; align-items: stretch; gap: 11px; margin: 24px 0; }
.formula span,
.formula strong { display: flex; align-items: center; justify-content: center; padding: 15px 18px; background: var(--surface-alt); border: 1px solid var(--line); border-radius: 9px; }
.formula strong { color: var(--white); background: var(--teal-dark); border-color: var(--teal-dark); }

/* FAQs */
.faq-list { display: grid; gap: 11px; margin-top: 28px; }
.faq-item { overflow: hidden; background: var(--white); border: 1px solid var(--line); border-radius: 11px; }
.faq-item summary {
  position: relative;
  padding: 18px 54px 18px 20px;
  color: var(--ink-strong);
  font-weight: 780;
  line-height: 1.35;
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  position: absolute;
  top: 50%;
  right: 18px;
  display: grid;
  width: 27px;
  height: 27px;
  place-items: center;
  color: var(--teal-dark);
  background: var(--teal-soft);
  border-radius: 50%;
  content: "+";
  font-size: 1.18rem;
  transform: translateY(-50%);
}
.faq-item[open] summary::after { content: "−"; }
.faq-item[open] summary { border-bottom: 1px solid var(--line); }
.faq-answer { padding: 18px 20px 20px; color: var(--muted); }
.faq-answer p:last-child { margin-bottom: 0; }

/* Calls to action and contact */
.cta-band { padding: clamp(48px, 5.5vw, 68px) 0; color: var(--white); background: var(--navy); }
.cta-band__inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 38px; align-items: center; }
.cta-band h2 { margin-bottom: 9px; color: var(--white); }
.cta-band p:last-child { margin-bottom: 0; color: #d9e8ec; }
.contact-panel { padding: clamp(56px, 6vw, 76px) 0; color: var(--white); background: #0a4356; }
.contact-panel h2 { color: var(--white); }
.contact-panel p { color: #d9e9ed; }
.contact-panel__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(270px, 0.43fr); gap: clamp(38px, 6vw, 72px); align-items: center; }
.contact-panel address { padding: 25px; color: #e8f2f4; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.18); border-radius: var(--radius); }
.contact-panel address a { color: var(--white); }
.contact-layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: clamp(36px, 5.5vw, 68px); align-items: start; }
.contact-sidebar { display: grid; gap: 17px; }
.contact-form { margin-top: 26px; padding: clamp(22px, 3vw, 32px); background: var(--surface-alt); border: 1px solid var(--line); border-radius: var(--radius); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
.form-field { margin-bottom: 16px; }
.form-field label { display: block; margin-bottom: 6px; color: var(--ink); font-size: 0.87rem; font-weight: 780; }
.form-field input,
.form-field textarea,
.form-field select { width: 100%; color: var(--ink); background: var(--white); border: 1px solid #afc1ca; border-radius: 8px; outline: 0; }
.form-field input,
.form-field select { min-height: 47px; padding: 10px 12px; }
.form-field textarea { padding: 12px; resize: vertical; }
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus { border-color: var(--teal); box-shadow: 0 0 0 4px rgba(10, 130, 150, 0.12); }
.form-field--trap { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.form-note { margin-top: 14px; color: var(--muted); font-size: 0.82rem; }
.consent { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: start; margin: 17px 0; color: var(--muted); font-size: 0.87rem; }
.consent input { margin-top: 5px; }
.notice { margin-bottom: 22px; padding: 14px 16px; border: 1px solid; border-left-width: 4px; border-radius: 9px; font-weight: 700; }
.notice--error { color: #7c2424; background: #fff2f2; border-color: #e2b4b4; }
.notice--success { color: #105c3a; background: #edf8f2; border-color: #abd4bd; }

/* Articles, legal pages and sitemap */
.article-shell { padding-block: clamp(50px, 5.5vw, 76px); }
.article-intro { max-width: 880px; margin-bottom: 32px; }
.article-intro p { color: var(--muted); font-size: 1.06rem; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 278px; gap: clamp(38px, 5.5vw, 68px); align-items: start; }
.article-content { min-width: 0; }
.article-content > section,
.legal-content > section { margin-bottom: 40px; scroll-margin-top: calc(var(--site-header-height) + 18px); }
.article-content h2 { margin-top: 0; font-size: clamp(1.7rem, 2.4vw, 2.4rem); }
.article-content h3 { margin-top: 25px; }
.article-content p,
.article-content li { color: #3d5665; }
.article-list { padding-left: 21px; }
.article-list li { margin-bottom: 7px; }
.article-list--numbered { counter-reset: article-step; padding: 0; list-style: none; }
.article-list--numbered li { position: relative; margin-bottom: 16px; padding: 17px 19px 17px 55px; background: var(--surface-alt); border: 1px solid var(--line); border-radius: 10px; counter-increment: article-step; }
.article-list--numbered li::before { position: absolute; top: 15px; left: 16px; display: grid; width: 29px; height: 29px; place-items: center; color: var(--white); background: var(--teal); border-radius: 50%; content: counter(article-step); font-size: 0.8rem; font-weight: 850; }
.article-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-bottom: 26px; color: var(--muted); font-size: 0.82rem; }
.article-summary { padding: 22px; background: var(--teal-soft); border-left: 4px solid var(--teal); border-radius: 0 10px 10px 0; }
.article-callout { margin: 28px 0; padding: 22px; background: var(--orange-soft); border: 1px solid #f0c7a4; border-radius: 10px; }
.article-callout p:last-child { margin-bottom: 0; }
.article-callout strong { color: var(--orange-dark); }
.article-toc { position: sticky; top: calc(var(--site-header-height) + 18px); }
.article-toc__inner { padding: 20px; background: var(--surface-alt); border: 1px solid var(--line); border-radius: 11px; }
.article-toc h2 { margin-bottom: 13px; font-size: 1.04rem; }
.article-toc ol { margin: 0 0 17px; padding-left: 19px; }
.article-toc li { margin-bottom: 6px; color: var(--muted); font-size: 0.82rem; }
.article-toc a { color: var(--teal-dark); text-decoration: none; }
.article-toc a:hover { text-decoration: underline; }
.article-toc .button { width: 100%; }
.legal-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(40px, 5.5vw, 68px); align-items: start; }
.legal-contact { position: sticky; top: calc(var(--site-header-height) + 18px); }
.table-wrap { max-width: 100%; overflow-x: auto; border: 1px solid var(--line); border-radius: 10px; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th { color: var(--ink-strong); background: var(--surface-alt); font-size: 0.84rem; }
tr:last-child td { border-bottom: 0; }
.sitemap-layout { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.sitemap-group { padding: 23px; background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--teal); border-radius: var(--radius); }
.sitemap-group h2 { margin-bottom: 14px; font-size: 1.45rem; }
.sitemap-group ul { margin: 0; padding: 0; list-style: none; }
.sitemap-group li { padding: 11px 0; border-top: 1px solid var(--line); }
.sitemap-group li:first-child { border-top: 0; }
.sitemap-group a { color: var(--teal-dark); font-weight: 760; text-decoration: none; }
.sitemap-group span { display: block; margin-top: 3px; color: var(--muted); font-size: 0.81rem; line-height: 1.42; }

/* Printable project brief */
.project-brief { width: min(1000px, calc(100% - 44px)); margin: 0 auto; padding: 48px 0 76px; }
.brief-section { margin-bottom: 25px; padding: 22px; border: 1px solid var(--line); border-radius: 11px; }
.brief-section h3 { padding-bottom: 11px; border-bottom: 1px solid var(--line); }
.brief-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
.brief-grid label { display: grid; gap: 6px; color: var(--ink); font-weight: 780; }
.brief-grid label span { min-height: 36px; border-bottom: 1px solid #8ea4af; }
.brief-checks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px 16px; }
.brief-prompt { color: var(--muted); font-style: italic; }
.brief-table { overflow: hidden; border: 1px solid var(--line); border-radius: 9px; }
.brief-table > div { display: grid; grid-template-columns: 1fr 1fr; }
.brief-table > div > * { padding: 11px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.brief-table > div > *:last-child { border-right: 0; }
.brief-table > div:last-child > * { border-bottom: 0; }
.brief-table > div:first-child { color: var(--ink-strong); background: var(--surface-alt); font-weight: 780; }
.write-lines { min-height: 82px; background: repeating-linear-gradient(transparent 0, transparent 26px, #c3d0d6 27px); }
.brief-footer { margin-top: 24px; color: var(--muted); font-size: 0.82rem; }

/* Footer */
.site-footer { color: #cbdbe1; background: var(--navy-deep); border-top: 3px solid var(--teal); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.7fr 0.95fr 0.7fr;
  gap: clamp(26px, 4.5vw, 58px);
  padding-block: 48px 38px;
}
.site-footer h2 { margin-bottom: 14px; color: var(--white); font-size: 0.96rem; letter-spacing: 0; }
.site-footer ul { margin: 0; padding: 0; list-style: none; }
.site-footer li { margin-bottom: 7px; }
.site-footer a,
.footer-button { color: #cbdbe1; background: none; border: 0; padding: 0; font-size: 0.85rem; text-decoration: none; cursor: pointer; }
.site-footer a:hover,
.footer-button:hover { color: var(--white); text-decoration: underline; }
.site-footer address { color: #cbdbe1; font-size: 0.86rem; line-height: 1.68; }
.footer-brand > a { display: inline-flex; text-decoration: none; }
.footer-logo-lockup { display: grid; gap: 10px; }
.footer-logo__mark { display: inline-flex; width: 205px; padding: 8px 11px; background: var(--white); border-radius: 8px; }
.footer-logo { width: 100%; height: auto; object-fit: contain; }
.footer-logo__descriptor { color: #88d8e1; font-size: 0.7rem; font-weight: 820; letter-spacing: 0.13em; text-transform: uppercase; }
.footer-brand p { max-width: 360px; margin: 15px 0 0; color: #a9bec7; font-size: 0.86rem; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-block: 17px 22px; border-top: 1px solid rgba(255, 255, 255, 0.1); }
.footer-bottom p { margin: 0; color: #91a8b2; font-size: 0.74rem; }

/* Responsive navigation and layout */
@media (max-width: 1240px) {
  .site-logo__mark { width: 184px; }
  .site-logo__descriptor { display: none; }
  .primary-nav a,
  .nav-group__button { padding-inline: 9px; font-size: 0.82rem; }
  .primary-nav .nav-contact { margin-left: 5px; padding-inline: 13px; }
}

@media (max-width: 1080px) {
  .menu-toggle { display: block; flex: 0 0 auto; }
  .primary-nav {
    position: fixed;
    z-index: 210;
    top: var(--site-header-height);
    right: 0;
    bottom: 0;
    display: none;
    width: min(420px, 100%);
    height: calc(100dvh - var(--site-header-height));
    max-height: calc(100dvh - var(--site-header-height));
    padding: 17px 20px 34px;
    overflow-y: auto;
    background: var(--white);
    border-left: 1px solid var(--line);
    box-shadow: -18px 28px 58px rgba(3, 24, 36, 0.18);
    overscroll-behavior: contain;
  }
  .primary-nav.is-open { display: block; animation: menu-in 190ms ease both; }
  body.menu-open::before {
    position: fixed;
    z-index: 190;
    inset: var(--site-header-height) 0 0;
    background: rgba(3, 22, 34, 0.42);
    content: "";
  }
  @keyframes menu-in { from { opacity: 0; transform: translateX(20px); } to { opacity: 1; transform: translateX(0); } }
  .primary-nav > ul { display: grid; align-items: stretch; gap: 4px; }
  .primary-nav li { width: 100%; }
  .primary-nav a,
  .nav-group__button { width: 100%; min-height: 47px; justify-content: space-between; padding: 11px 12px; font-size: 0.92rem; }
  .primary-nav .nav-contact { justify-content: center; margin: 9px 0 0; }
  .nav-dropdown {
    position: static;
    width: 100%;
    grid-template-columns: 1fr;
    gap: 2px;
    margin: 0;
    padding: 0 0 0 11px;
    visibility: visible;
    opacity: 1;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    transform: none;
    max-height: 0;
    overflow: hidden;
    transition: max-height 240ms ease, padding 240ms ease;
  }
  .nav-group:hover > .nav-dropdown,
  .nav-group:focus-within > .nav-dropdown { max-height: 0; padding-block: 0; transform: none; }
  .nav-group.is-open > .nav-dropdown { max-height: 620px; padding-block: 4px 7px; transform: none; }
  .nav-dropdown a { min-height: 40px; font-size: 0.85rem; }
  .hero__grid,
  .split,
  .split--reverse,
  .planning-grid { grid-template-columns: 1fr 1fr; gap: 38px; }
  .process-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .home-process { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .card-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .article-layout { grid-template-columns: minmax(0, 1fr) 245px; gap: 36px; }
  .footer-grid { grid-template-columns: 1.25fr 0.7fr 0.95fr; }
  .footer-grid > :last-child { grid-column: 2 / 4; }
}

@media (max-width: 860px) {
  .topbar__inner > span { display: none; }
  .topbar__inner > div { width: 100%; justify-content: space-between; gap: 12px; }
  .header-main { min-height: 67px; }
  .site-logo__mark { width: 190px; }
  .hero--home { height: calc(100svh - var(--site-header-height)); min-height: 560px; max-height: 740px; }
  .hero--home__inner { padding-block: 36px 66px; }
  .hero--home h1 { max-width: 13.5ch; font-size: clamp(2.8rem, 8vw, 4.35rem); }
  .hero-video-overlay {
    background:
      linear-gradient(90deg, rgba(3, 20, 31, 0.96), rgba(4, 31, 45, 0.73)),
      linear-gradient(0deg, rgba(2, 17, 27, 0.64), rgba(2, 17, 27, 0.04) 65%);
  }
  .hero__grid,
  .split,
  .split--reverse,
  .planning-grid,
  .contact-panel__grid,
  .contact-layout,
  .legal-layout,
  .article-layout { grid-template-columns: 1fr; }
  .split--reverse > :first-child,
  .split--reverse > :last-child { order: initial; }
  .hero__media { min-height: 320px; }
  .hero__image { height: 280px; }
  .proof-strip__grid { grid-template-columns: 1fr; }
  .proof-strip__grid > div,
  .proof-strip__grid > div:first-child,
  .proof-strip__grid > div:last-child { min-height: 0; padding: 15px 0 15px 32px; border-right: 0; border-bottom: 1px solid var(--line); }
  .proof-strip__grid > div:last-child { border-bottom: 0; }
  .proof-strip__grid > div::before,
  .proof-strip__grid > div:first-child::before { left: 4px; }
  .section-heading { grid-template-columns: 1fr; gap: 10px; }
  .card-grid--3,
  .card-grid--5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process-list,
  .home-process { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .outcomes-grid { grid-template-columns: 1fr; }
  .article-toc,
  .legal-contact { position: static; }
  .article-toc { order: -1; }
  .sitemap-layout { grid-template-columns: 1fr; }
  .cta-band__inner { grid-template-columns: 1fr; gap: 20px; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid > :last-child { grid-column: auto; }
}

@media (max-width: 620px) {
  .shell,
  .shell--narrow,
  .hero--home__inner,
  .breadcrumbs ol,
  .project-brief { width: min(100% - 30px, var(--shell)); }
  h1 { font-size: clamp(2.2rem, 10.5vw, 3.2rem); }
  h2 { font-size: clamp(1.75rem, 7.8vw, 2.42rem); }
  .topbar { min-height: 28px; font-size: 0.7rem; }
  .topbar__inner { min-height: 28px; }
  .topbar__inner > div { gap: 8px; }
  .header-main { min-height: 63px; gap: 12px; }
  .site-logo__mark { width: min(178px, 58vw); }
  .primary-nav { width: 100%; padding-inline: 14px; }
  .hero--home { height: calc(100svh - var(--site-header-height)); min-height: 540px; max-height: none; align-items: end; }
  .hero-background-video video { object-position: 58% center; transform: scale(1.02); }
  .hero-video-overlay {
    background:
      linear-gradient(0deg, rgba(2, 16, 26, 0.98) 0%, rgba(3, 22, 34, 0.9) 60%, rgba(4, 38, 51, 0.54) 100%),
      linear-gradient(90deg, rgba(3, 20, 31, 0.72), rgba(3, 20, 31, 0.18));
  }
  .hero--home__inner { align-items: end; padding-block: 28px 62px; }
  .hero--home .eyebrow { margin-bottom: 9px; font-size: 0.66rem; }
  .hero--home h1 { max-width: 12.5ch; margin-bottom: 14px; font-size: clamp(2.35rem, 11vw, 3.15rem); line-height: 0.99; }
  .hero--home .lede { font-size: 0.95rem; line-height: 1.46; }
  .hero--home .button-row { margin-top: 18px; }
  .hero--home .button-row .button { width: 100%; }
  .hero--home .hero-points { display: none; }
  .hero-video-toggle { right: 11px; bottom: 10px; width: 38px; min-height: 38px; justify-content: center; padding: 7px; }
  .hero-video-toggle [data-hero-video-label] { display: none; }
  .hero--standard { padding-block: 40px; }
  .hero__media { min-height: 265px; padding: 16px; }
  .hero__image { height: 230px; }
  .hero__badge { right: 9px; bottom: 9px; }
  .section { padding-block: 50px; }
  .card-grid--3,
  .card-grid--4,
  .card-grid--5,
  .process-list,
  .home-process,
  .footer-grid,
  .form-grid,
  .brief-grid,
  .brief-checks { grid-template-columns: 1fr; }
  .card__image { height: 210px; }
  .card__body { min-height: 0; }
  .card--text .card__body { min-height: 0; }
  .image-frame,
  .planning-grid > div:first-child { min-height: 275px; padding: 15px; }
  .image-frame__image,
  .planning-image { height: 240px; }
  .button-row { align-items: stretch; }
  .button-row .button { flex: 1 1 100%; }
  .contact-panel address { padding: 20px; }
  .contact-form { padding: 18px; }
  .footer-bottom { display: grid; }
  .brief-table > div { grid-template-columns: 1fr; }
  .brief-table > div > * { border-right: 0; }
}

@media (min-width: 861px) and (max-height: 720px) {
  .hero--home { min-height: 460px; }
  .hero--home__inner { padding-block: 20px 30px; }
  .hero--home .eyebrow { margin-bottom: 8px; }
  .hero--home h1 { max-width: 16ch; margin-bottom: 11px; font-size: clamp(2.65rem, 4.1vw, 3.75rem); }
  .hero--home .lede { font-size: 0.96rem; line-height: 1.42; }
  .hero--home .button-row { margin-top: 14px; }
  .hero--home .hero-points { margin-top: 12px; }
  .hero--home .hero-points li { font-size: 0.78rem; }
}

@media (min-width: 861px) and (max-height: 610px) {
  .hero--home .hero-points { display: none; }
}

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

@media print {
  .site-header,
  .breadcrumbs,
  .site-footer,
  .button-row,
  .article-toc,
  .cta-band,
  .hero-background-video video,
  .hero-video-toggle { display: none !important; }
  body { color: #000; background: #fff; font-size: 11pt; }
  .section,
  .article-shell,
  .project-brief { padding: 0; }
  .shell,
  .shell--narrow,
  .project-brief { width: 100%; }
  .card,
  .brief-section,
  .info-panel { break-inside: avoid; box-shadow: none; }
  a { color: #000; text-decoration: none; }
}

/* ========================================================================== 
   V9: cleaner professional presentation and non-cropping machinery cards
   ========================================================================== */

/* Quieter, more consistent design tokens */
:root {
  --ink: #203946;
  --ink-strong: #071f2d;
  --muted: #5d707a;
  --navy: #082a3c;
  --navy-deep: #041c2a;
  --teal: #087f91;
  --teal-dark: #066979;
  --teal-soft: #edf7f8;
  --orange: #f28b30;
  --orange-dark: #c96312;
  --surface-alt: #f6f8f9;
  --surface-muted: #eef3f5;
  --line: #dbe4e8;
  --line-strong: #c7d4da;
  --shadow-sm: 0 7px 22px rgba(5, 35, 52, 0.065);
  --shadow-md: 0 16px 40px rgba(5, 35, 52, 0.105);
  --shadow-lg: 0 26px 64px rgba(2, 24, 37, 0.2);
  --radius: 12px;
  --radius-lg: 17px;
  --shell: 1320px;
}

body { color: var(--ink); }
h1, h2, h3, h4 { letter-spacing: -0.03em; }
h2 { font-size: clamp(1.95rem, 2.75vw, 2.95rem); }
h3 { font-size: clamp(1.16rem, 1.32vw, 1.38rem); }
.shell { width: min(var(--shell), calc(100% - 48px)); }

/* Header: less visual noise and more precise alignment */
.site-header {
  border-bottom-color: #d7e1e5;
  box-shadow: 0 3px 14px rgba(4, 29, 43, 0.055);
}
.topbar { border-bottom-width: 1px; }
.header-main { min-height: 73px; gap: 28px; }
.primary-nav > ul { gap: 4px; }
.primary-nav a,
.nav-group__button {
  padding-inline: 12px;
  border-radius: 7px;
  font-weight: 730;
}
.primary-nav a:hover,
.nav-group__button:hover,
.nav-group.is-open > .nav-group__button {
  color: var(--teal-dark);
  background: #f1f7f8;
}
.nav-dropdown {
  padding: 12px;
  border-top-width: 2px;
  border-radius: 10px;
  box-shadow: 0 17px 42px rgba(4, 29, 43, 0.13);
}
.primary-nav .nav-contact {
  min-height: 42px;
  border-radius: 8px;
  box-shadow: none;
}
.primary-nav .nav-contact:hover { box-shadow: 0 7px 18px rgba(242, 139, 48, 0.18); }

/* Buttons */
.button {
  border-radius: 8px;
  box-shadow: none;
  font-weight: 750;
}
.button:hover { box-shadow: 0 8px 20px rgba(7, 106, 123, 0.17); }
.button--accent,
.button--accent:hover { box-shadow: none; }

/* Hero: clear focal point without extra decoration */
.hero-video-overlay {
  background:
    linear-gradient(90deg, rgba(3, 20, 31, 0.965) 0%, rgba(4, 27, 41, 0.91) 39%, rgba(5, 37, 51, 0.55) 70%, rgba(5, 37, 51, 0.22) 100%),
    linear-gradient(0deg, rgba(2, 17, 27, 0.55), rgba(2, 17, 27, 0.03) 62%);
}
.hero--home__copy { width: min(100%, 710px); }
.hero--home h1 {
  max-width: 15.5ch;
  letter-spacing: -0.048em;
  text-shadow: 0 6px 22px rgba(0, 0, 0, 0.28);
}
.hero-video-toggle {
  background: rgba(3, 24, 36, 0.76);
  border-color: rgba(255, 255, 255, 0.36);
  box-shadow: 0 5px 16px rgba(0, 0, 0, 0.14);
}

/* Section rhythm and headings */
.section { padding: clamp(62px, 5.6vw, 82px) 0; }
.section--soft { background: #f6f8f9; }
.section-heading {
  align-items: start;
  gap: clamp(34px, 5vw, 72px);
  margin-bottom: 34px;
}
.section-heading h2 { max-width: 19ch; }
.section-heading > p,
.section-heading p:last-child,
.section-intro {
  max-width: 660px;
  color: #5b6f7a;
  line-height: 1.62;
}
.eyebrow { letter-spacing: 0.14em; }
.proof-strip--raised { box-shadow: 0 5px 18px rgba(4, 29, 43, 0.04); }

/* Core cards: restrained borders, consistent spacing and alignment */
.card-grid { gap: 22px; }
.card {
  border-color: #d8e2e6;
  border-radius: 15px;
  box-shadow: 0 7px 24px rgba(5, 35, 52, 0.06);
}
.card:hover {
  border-color: #b9ccd3;
  box-shadow: 0 15px 36px rgba(5, 35, 52, 0.1);
  transform: translateY(-2px);
}
.card__body {
  min-height: 212px;
  padding: 25px 26px 24px;
}
.card__body h3 { margin-bottom: 11px; }
.card__body p { line-height: 1.58; }
.card--text,
.icon-card,
.link-card { border-top-width: 1px; }
.icon-card,
.link-card { min-height: 218px; }
.home-process li,
.outcome,
.info-panel,
.sitemap-group,
.faq-item,
.contact-form,
.article-toc__inner {
  border-color: #d8e2e6;
  box-shadow: 0 5px 18px rgba(5, 35, 52, 0.045);
}
.home-process li { border-top-width: 1px; }

/*
   Solution-card media: every source image is shown in full.
   The image element fills the complete stage with a white background, so very
   wide source canvases blend into the card instead of producing a grey band.
   No zoom, cover crop, blur backdrop or mix-blend treatment is used.
*/
.card__media {
  position: relative;
  display: grid;
  height: clamp(230px, 18vw, 275px);
  place-items: center;
  overflow: hidden;
  background: #ffffff;
  border-bottom: 1px solid #e0e7ea;
}
.card__media::before,
.card__media::after { display: none; content: none; }
.card__media .card__image,
.card__media--wide .card__image,
.card__media--photo .card__image {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  max-width: none;
  padding: 0;
  background: #ffffff;
  border: 0;
  object-fit: contain;
  object-position: center center;
  mix-blend-mode: normal;
  filter: none;
  transform: none;
  transition: none;
}
.card:hover .card__media .card__image,
.card:hover .card__media--wide .card__image,
.card:hover .card__media--photo .card__image {
  filter: none;
  transform: none;
}
.feature-card { background: #fff; }
.feature-card .text-link { padding-top: 8px; }

/* Inner-page machinery imagery */
.hero__media,
.image-frame,
.planning-grid > div:first-child {
  background: #fff;
  border-color: #d8e2e6;
  border-top-width: 1px;
  box-shadow: 0 8px 26px rgba(5, 35, 52, 0.065);
}
.hero__image,
.image-frame__image,
.planning-image {
  background: #fff;
  object-fit: contain;
  object-position: center;
}

/* Processes, FAQs and conversion areas */
.home-process { gap: 17px; }
.home-process li { border-radius: 12px; }
.faq-list { gap: 10px; }
.faq-item { border-radius: 10px; }
.faq-item summary { padding-block: 17px; }
.contact-panel {
  background: #083b4c;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.contact-panel address {
  background: rgba(255, 255, 255, 0.075);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: none;
}
.cta-band { background: #082a3c; }

/* Footer */
.site-footer { background: #041c2a; }
.footer-logo__mark { border-radius: 7px; }

@media (max-width: 1240px) {
  .primary-nav a,
  .nav-group__button { padding-inline: 9px; }
}

@media (max-width: 860px) {
  .section-heading { gap: 12px; }
  .section-heading h2 { max-width: 24ch; }
  .card__media { height: clamp(225px, 31vw, 270px); }
}

@media (max-width: 620px) {
  .shell,
  .shell--narrow,
  .hero--home__inner,
  .breadcrumbs ol,
  .project-brief { width: min(100% - 30px, var(--shell)); }
  .section { padding-block: 48px; }
  .section-heading { margin-bottom: 25px; }
  .card-grid { gap: 17px; }
  .card__media { height: clamp(220px, 67vw, 285px); }
  .card__body { min-height: 0; padding: 22px 22px 21px; }
  .card:hover { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .card:hover { transform: none; }
}

/* ========================================================================== 
   V10: customer-first presentation, stronger contrast and refined branding
   ========================================================================== */

:root {
  --ink: #173543;
  --ink-strong: #061f2d;
  --muted: #435f6c;
  --navy: #062d41;
  --navy-deep: #031d2b;
  --teal: #087f91;
  --teal-dark: #055f70;
  --orange: #f28a2c;
  --orange-dark: #b95308;
  --surface-alt: #f4f7f8;
  --line: #d3dfe4;
  --line-strong: #b9cbd2;
}

body { color: var(--ink); }
main p,
main li { color: #385564; }
main strong { color: var(--ink-strong); }
.lede,
.section-intro,
.section-heading > p,
.section-heading p:last-child { color: #3e5b69; }
.text-link { color: #056477; }
.text-link:hover { color: #a84500; }
.breadcrumbs { color: #4a626e; }
.breadcrumbs a { color: #055f70; font-weight: 700; }

/* One clear brand lock-up instead of separate elements competing for attention. */
.header-main { min-height: 80px; }
.site-logo { min-width: 0; }
.site-logo__mark {
  width: clamp(330px, 31vw, 445px);
  min-height: 52px;
  align-items: center;
}
.site-logo__image {
  width: 100%;
  height: auto;
  max-height: 68px;
  object-fit: contain;
  object-position: left center;
}
.site-logo__descriptor { display: none; }
.site-logo:focus-visible { border-radius: 8px; }
.footer-logo__mark {
  width: min(320px, 100%);
  padding: 9px 12px;
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 9px;
}
.footer-logo__descriptor { display: none; }

/* Hero copy remains readable over every frame of the production-line video. */
.hero-video-overlay {
  background:
    linear-gradient(90deg, rgba(2, 18, 28, 0.92) 0%, rgba(3, 29, 43, 0.8) 47%, rgba(4, 38, 52, 0.42) 78%, rgba(4, 38, 52, 0.22) 100%),
    linear-gradient(0deg, rgba(2, 17, 27, 0.68), rgba(2, 17, 27, 0.06) 66%);
}
.hero--home__copy {
  width: min(100%, 735px);
  padding: clamp(24px, 3vw, 36px) clamp(24px, 3.2vw, 40px);
  background: linear-gradient(135deg, rgba(2, 24, 37, 0.9), rgba(4, 42, 56, 0.78));
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-left: 4px solid var(--orange);
  border-radius: 16px;
  box-shadow: 0 22px 56px rgba(0, 0, 0, 0.28);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.hero--home .eyebrow { color: #b8f4fb; text-shadow: 0 1px 8px rgba(0, 0, 0, 0.55); }
.hero--home h1 {
  max-width: 15.5ch;
  color: #fff;
  text-shadow: 0 3px 16px rgba(0, 0, 0, 0.65);
}
.hero--home h1 span { color: #ffb36f; }
.hero--home .lede,
.hero-points--light li {
  color: #fff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.58);
}
.hero-points--light li::before { border-color: #ffad61; }
.button--ghost-light {
  color: #fff;
  background: rgba(1, 21, 32, 0.58);
  border-color: rgba(255, 255, 255, 0.78);
}
.button--ghost-light:hover { background: rgba(1, 21, 32, 0.82); }
.hero-video-toggle {
  color: #fff;
  background: rgba(1, 20, 31, 0.9);
  border-color: rgba(255, 255, 255, 0.72);
}

/* Clearer section and card hierarchy. */
.section--dark { color: #f0f8fa; background: #062d41; }
.section--dark p,
.section--dark li,
.section--dark .section-intro,
.section--dark .lede { color: #eef8fa; }
.section--dark a:not(.button) { color: #b6f1f6; }
.card { background: #fff; border-color: #ccdbe1; }
.card__body p,
.card--text .card__body p { color: #3c5967; }
.card__body h3,
.card h3 a { color: #061f2d; }
.info-panel,
.home-process li,
.outcome,
.faq-item,
.sitemap-group { background: #fff; border-color: #d0dde2; }
.home-process p,
.outcome p,
.info-panel p,
.info-panel li,
.faq-answer p { color: #3c5967; }
.article-content p,
.article-content li,
.legal-content p,
.legal-content li { color: #344f5e; }
.article-intro p { color: #3a5664; }

/* Conversion areas retain strong white-on-dark contrast. */
.contact-panel { color: #fff; background: #06394b; }
.contact-panel h2,
.contact-panel strong { color: #fff; }
.contact-panel p,
.contact-panel address { color: #f2f9fa; }
.contact-panel address {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.34);
}
.contact-panel address a { color: #fff; font-weight: 750; }
.cta-band { color: #fff; background: #062d41; }
.cta-band h2,
.cta-band strong { color: #fff; }
.cta-band p,
.cta-band p:last-child { color: #eef8fa; }

/* Cleaner, more trustworthy form presentation. */
.contact-form {
  color: var(--ink);
  background: #fff;
  border-color: #c9d8de;
  box-shadow: 0 16px 42px rgba(5, 35, 52, 0.08);
}
.form-field label { color: #102f3e; }
.form-field input,
.form-field textarea,
.form-field select {
  color: #102f3e;
  background: #fff;
  border-color: #9eb3bd;
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: #637b86; opacity: 1; }
.form-field input:hover,
.form-field textarea:hover,
.form-field select:hover { border-color: #7897a4; }
.consent,
.form-note { color: #435e6b; }
.form-note {
  position: relative;
  padding: 12px 14px 12px 42px;
  background: #edf7f8;
  border: 1px solid #c7e0e4;
  border-radius: 9px;
  line-height: 1.5;
}
.form-note::before {
  position: absolute;
  top: 13px;
  left: 15px;
  width: 17px;
  height: 20px;
  border: 2px solid #087f91;
  border-radius: 9px 9px 7px 7px;
  content: "";
}
.form-note::after {
  position: absolute;
  top: 18px;
  left: 20px;
  width: 7px;
  height: 4px;
  border-bottom: 2px solid #087f91;
  border-left: 2px solid #087f91;
  content: "";
  transform: rotate(-45deg);
}
.button:disabled {
  opacity: 0.72;
  cursor: wait;
  transform: none;
}
.notice--error { color: #6e1717; background: #fff3f3; border-color: #dca9a9; }

/* Footer text must not fade into the dark background. */
.site-footer { color: #e2edf1; background: #031d2b; }
.site-footer a,
.footer-button,
.site-footer address { color: #dce9ed; }
.site-footer h2 { color: #fff; }
.footer-brand p { color: #c5d7de; }
.footer-bottom p { color: #b5cbd3; }

@media (max-width: 1240px) {
  .site-logo__mark { width: clamp(300px, 29vw, 365px); }
}

@media (max-width: 1080px) {
  .site-logo__mark { width: min(390px, 68vw); }
}

@media (max-width: 860px) {
  .hero--home__copy { padding: 25px 27px; }
  .hero--home h1 { max-width: 14ch; }
}

@media (max-width: 620px) {
  .site-logo__mark { width: min(278px, 72vw); }
  .hero--home__copy {
    padding: 20px 20px 21px;
    background: rgba(2, 24, 37, 0.91);
    border-radius: 13px;
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
  }
  .hero--home h1 { max-width: 13ch; }
  .form-note { padding-right: 12px; }
  .footer-logo__mark { width: min(300px, 100%); }
}

@media (min-width: 861px) and (max-height: 720px) {
  .hero--home__copy { padding: 19px 25px 21px; }
}

@media (prefers-contrast: more) {
  .hero-video-overlay { background: rgba(1, 16, 25, 0.78); }
  .hero--home__copy { background: #021a28; border-color: #fff; }
  .section--dark,
  .contact-panel,
  .cta-band,
  .site-footer { background: #001722; }
  .card,
  .contact-form,
  .info-panel,
  .faq-item { border-color: #708d99; }
}
