:root {
  --ink: #10242f;
  --ink-soft: #415661;
  --navy: #0c2633;
  --navy-deep: #071a23;
  --green: #159766;
  --green-dark: #08784f;
  --green-soft: #e5f5ee;
  --blue: #1679a7;
  --blue-soft: #eaf4f8;
  --amber: #f0ad32;
  --paper: #f4f7f8;
  --surface: #ffffff;
  --line: #d8e1e5;
  --line-dark: #bac8cf;
  --danger: #b3261e;
  --success: #11734b;
  --shadow-sm: 0 8px 24px rgba(7, 26, 35, 0.08);
  --shadow-md: 0 18px 54px rgba(7, 26, 35, 0.14);
  --radius-sm: 0.55rem;
  --radius: 1rem;
  --radius-lg: 1.5rem;
  --content: 76rem;
  --narrow: 52rem;
  --header-height: 4.75rem;
  --focus: 0 0 0 3px rgba(21, 151, 102, 0.32);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 1.5rem);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

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

img {
  height: auto;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: var(--green-dark);
  text-underline-offset: 0.18em;
  text-decoration-thickness: 0.08em;
}

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

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: none;
  box-shadow: var(--focus);
}

p,
ul,
ol,
dl,
blockquote,
figure,
table {
  margin-top: 0;
}

p:last-child,
ul:last-child,
ol:last-child {
  margin-bottom: 0;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 0.75rem;
  color: var(--navy);
  font-weight: 760;
  line-height: 1.12;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.55rem, 7vw, 5.25rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.35rem);
}

h3 {
  font-size: clamp(1.3rem, 2.2vw, 1.75rem);
}

h4 {
  font-size: 1.06rem;
  letter-spacing: -0.01em;
}

strong {
  font-weight: 760;
}

::selection {
  color: #fff;
  background: var(--green-dark);
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 1000;
  padding: 0.65rem 1rem;
  color: #fff;
  background: var(--navy-deep);
  border-radius: var(--radius-sm);
  transform: translateY(-180%);
  transition: transform 0.2s ease;
}

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

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

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

.section {
  padding-block: clamp(4rem, 8vw, 7rem);
}

.section--tight {
  padding-block: clamp(2.75rem, 5vw, 4.5rem);
}

.section--paper {
  background: var(--paper);
}

.section--navy {
  color: #dfecef;
  background:
    radial-gradient(circle at 85% 15%, rgba(21, 151, 102, 0.22), transparent 32rem),
    linear-gradient(145deg, var(--navy-deep), var(--navy));
}

.section--navy h2,
.section--navy h3,
.section--navy h4 {
  color: #fff;
}

.section--green {
  color: #edf9f4;
  background: linear-gradient(135deg, var(--green-dark), var(--green));
}

.section--green h2,
.section--green h3 {
  color: #fff;
}

.section-heading {
  display: grid;
  gap: 0.75rem;
  max-width: 52rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.section-heading--center {
  margin-inline: auto;
  text-align: center;
}

.section-heading p {
  max-width: 46rem;
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.1rem;
}

.section--navy .section-heading p,
.section--green .section-heading p {
  color: inherit;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.85rem;
  color: var(--green-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  line-height: 1.2;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 1.9rem;
  height: 0.14rem;
  content: "";
  background: currentColor;
  border-radius: 10rem;
}

.section--navy .eyebrow,
.section--green .eyebrow,
.hero .eyebrow {
  color: #7fe0b6;
}

.lead {
  color: var(--ink-soft);
  font-size: clamp(1.08rem, 2vw, 1.3rem);
  line-height: 1.65;
}

.muted {
  color: var(--ink-soft);
}

.small {
  font-size: 0.9rem;
}

.kicker {
  font-size: 1.12rem;
  font-weight: 700;
}

.visually-hidden {
  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;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.button {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.77rem 1.15rem;
  color: #fff;
  background: var(--green);
  border: 1px solid var(--green);
  border-radius: 0.7rem;
  font-weight: 760;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.16s ease, background 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}

.button:hover {
  color: #fff;
  background: var(--green-dark);
  border-color: var(--green-dark);
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
}

.button--secondary {
  color: var(--navy);
  background: #fff;
  border-color: #fff;
}

.button--secondary:hover {
  color: var(--navy);
  background: #eef4f5;
  border-color: #eef4f5;
}

.button--outline {
  color: var(--navy);
  background: transparent;
  border-color: var(--line-dark);
}

.button--outline:hover {
  color: var(--navy);
  background: var(--paper);
  border-color: var(--navy);
}

.button--light-outline {
  color: #fff;
  background: transparent;
  border-color: rgba(255, 255, 255, 0.55);
}

.button--light-outline:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
}

.button--small {
  min-height: 2.55rem;
  padding: 0.62rem 0.9rem;
  font-size: 0.9rem;
}

.icon-arrow::after {
  content: "→";
  font-size: 1.1em;
}

.site-topbar {
  color: #dce9ed;
  background: var(--navy-deep);
  font-size: 0.83rem;
}

.topbar-inner {
  display: flex;
  min-height: 2.35rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.topbar-contact,
.topbar-note {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.site-topbar a {
  color: #fff;
  text-decoration: none;
}

.site-topbar a:hover {
  text-decoration: underline;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid rgba(216, 225, 229, 0.9);
  backdrop-filter: blur(12px);
}

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

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

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

.brand-mark {
  position: relative;
  width: 2.55rem;
  height: 2.55rem;
  flex: 0 0 auto;
  background: conic-gradient(from 0deg, var(--green), var(--blue), var(--green));
  border-radius: 50%;
  box-shadow: inset 0 0 0 0.3rem #fff, 0 0 0 1px rgba(12, 38, 51, 0.1);
}

.brand-mark::before,
.brand-mark::after {
  position: absolute;
  inset: 0.7rem;
  content: "";
  background: #fff;
  border-radius: 0.15rem;
  transform: rotate(45deg);
}

.brand-mark::after {
  inset: 1.05rem;
  background: var(--navy);
}

.brand-copy {
  display: grid;
  gap: 0.04rem;
  line-height: 1;
}

.brand-copy strong {
  font-size: 0.94rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-copy span {
  color: var(--ink-soft);
  font-size: 0.74rem;
  letter-spacing: 0.04em;
}

.nav-toggle {
  display: none;
  width: 2.8rem;
  height: 2.8rem;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: var(--navy);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 0.65rem;
  cursor: pointer;
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 1.25rem;
  height: 2px;
  content: "";
  background: currentColor;
  border-radius: 10rem;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle-bars {
  position: relative;
}

.nav-toggle-bars::before {
  position: absolute;
  top: -0.42rem;
}

.nav-toggle-bars::after {
  position: absolute;
  top: 0.42rem;
}

.nav-open .nav-toggle-bars {
  background: transparent;
}

.nav-open .nav-toggle-bars::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-open .nav-toggle-bars::after {
  top: 0;
  transform: rotate(-45deg);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.main-nav a {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  padding: 0.65rem 0.68rem;
  color: var(--ink);
  border-radius: 0.55rem;
  font-size: 0.91rem;
  font-weight: 680;
  text-decoration: none;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: var(--green-dark);
  background: var(--green-soft);
}

.main-nav .nav-cta {
  margin-left: 0.45rem;
  padding-inline: 0.95rem;
  color: #fff;
  background: var(--green);
}

.main-nav .nav-cta:hover,
.main-nav .nav-cta[aria-current="page"] {
  color: #fff;
  background: var(--green-dark);
}

.breadcrumbs {
  padding-block: 0.9rem;
  color: var(--ink-soft);
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  font-size: 0.86rem;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
  padding: 0;
  margin: 0;
  list-style: none;
}

.breadcrumbs li:not(:last-child)::after {
  margin-left: 0.4rem;
  color: #8aa0aa;
  content: "/";
}

.breadcrumbs a {
  color: var(--ink-soft);
  text-decoration: none;
}

.breadcrumbs a:hover {
  color: var(--green-dark);
  text-decoration: underline;
}

.hero {
  position: relative;
  min-height: min(48rem, calc(100vh - 5rem));
  display: grid;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background: var(--navy-deep);
}

.hero-media,
.hero-media::after,
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media::after {
  z-index: 1;
  content: "";
  background:
    linear-gradient(90deg, rgba(3, 17, 24, 0.96) 0%, rgba(3, 17, 24, 0.78) 45%, rgba(3, 17, 24, 0.32) 100%),
    linear-gradient(0deg, rgba(3, 17, 24, 0.62), transparent 55%);
}

.hero-video {
  object-fit: cover;
  opacity: 0.82;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 52rem;
  padding-block: clamp(5rem, 11vw, 9rem);
}

.hero h1 {
  color: #fff;
  max-width: 16ch;
  margin-bottom: 1.2rem;
}

.hero .lead {
  max-width: 43rem;
  margin-bottom: 1.7rem;
  color: #dbe8ec;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1.2rem;
  padding: 0;
  margin: 1.8rem 0 0;
  list-style: none;
  color: #eaf5f1;
  font-size: 0.92rem;
  font-weight: 650;
}

.hero-points li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.hero-points li::before {
  width: 0.55rem;
  height: 0.55rem;
  content: "";
  background: #7fe0b6;
  border-radius: 50%;
  box-shadow: 0 0 0 0.24rem rgba(127, 224, 182, 0.16);
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(4rem, 8vw, 7rem);
  background:
    radial-gradient(circle at 85% 20%, rgba(21, 151, 102, 0.16), transparent 26rem),
    linear-gradient(150deg, #f8fbfb, #edf4f5);
  border-bottom: 1px solid var(--line);
}

.page-hero::before {
  position: absolute;
  top: -10rem;
  right: -10rem;
  width: 28rem;
  height: 28rem;
  content: "";
  border: 1px solid rgba(21, 151, 102, 0.18);
  border-radius: 50%;
  box-shadow: 0 0 0 4rem rgba(21, 151, 102, 0.04), 0 0 0 8rem rgba(22, 121, 167, 0.035);
}

.page-hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(20rem, 0.92fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.page-hero h1 {
  max-width: 14ch;
  margin-bottom: 1rem;
}

.page-hero .lead {
  max-width: 43rem;
}

.page-hero-card {
  position: relative;
  padding: clamp(1rem, 2vw, 1.4rem);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.page-hero-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  background: #fff;
  border-radius: var(--radius);
}

.media-note {
  margin-top: 0.75rem;
  color: var(--ink-soft);
  font-size: 0.78rem;
}

.trust-strip {
  color: #eaf3f5;
  background: var(--navy);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  min-height: 7rem;
  align-items: stretch;
}

.trust-item {
  display: grid;
  align-content: center;
  gap: 0.2rem;
  padding: 1.25rem 1.4rem;
  border-left: 1px solid rgba(255, 255, 255, 0.11);
}

.trust-item:last-child {
  border-right: 1px solid rgba(255, 255, 255, 0.11);
}

.trust-item strong {
  color: #fff;
  font-size: 1.22rem;
}

.trust-item span {
  color: #bdd0d6;
  font-size: 0.86rem;
}

.grid-2,
.grid-3,
.grid-4 {
  display: grid;
  gap: clamp(1rem, 2vw, 1.5rem);
}

.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));
}

.card {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: clamp(1.25rem, 2.5vw, 1.7rem);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 1px 0 rgba(7, 26, 35, 0.02);
}

.card--lift {
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.card--lift:hover {
  border-color: rgba(21, 151, 102, 0.5);
  box-shadow: var(--shadow-sm);
  transform: translateY(-3px);
}

.card h3 {
  margin-bottom: 0.55rem;
}

.card p {
  color: var(--ink-soft);
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: auto;
  padding-top: 0.8rem;
  font-weight: 760;
  text-decoration: none;
}

.card-link::after {
  content: "→";
}

.icon-tile {
  width: 2.7rem;
  height: 2.7rem;
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  color: var(--green-dark);
  background: var(--green-soft);
  border-radius: 0.75rem;
  font-weight: 850;
}

.machine-card {
  overflow: hidden;
  padding: 0;
}

.machine-card-media {
  position: relative;
  display: grid;
  min-height: 18rem;
  place-items: center;
  padding: 1.2rem;
  background: linear-gradient(145deg, #fff, #f2f6f7);
  border-bottom: 1px solid var(--line);
}

.machine-card-media img {
  width: 100%;
  height: 18rem;
  object-fit: contain;
}

.machine-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: clamp(1.25rem, 2.5vw, 1.8rem);
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 0.85rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.34rem 0.58rem;
  color: var(--green-dark);
  background: var(--green-soft);
  border: 1px solid rgba(21, 151, 102, 0.18);
  border-radius: 99rem;
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.1;
  text-transform: uppercase;
}

.badge--blue {
  color: #0d668f;
  background: var(--blue-soft);
  border-color: rgba(22, 121, 167, 0.17);
}

.badge--dark {
  color: #fff;
  background: var(--navy);
  border-color: var(--navy);
}

.feature-list,
.check-list,
.link-list {
  padding: 0;
  list-style: none;
}

.feature-list li,
.check-list li {
  position: relative;
  padding-left: 1.55rem;
  margin-bottom: 0.55rem;
}

.feature-list li::before,
.check-list li::before {
  position: absolute;
  top: 0.62em;
  left: 0.15rem;
  width: 0.5rem;
  height: 0.5rem;
  content: "";
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 0 0.2rem var(--green-soft);
}

.link-list li {
  padding-block: 0.45rem;
  border-bottom: 1px solid var(--line);
}

.link-list li:last-child {
  border-bottom: 0;
}

.link-list a {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-weight: 700;
  text-decoration: none;
}

.link-list a::after {
  content: "→";
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(20rem, 0.88fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.split--reverse > :first-child {
  order: 2;
}

.split--reverse > :last-child {
  order: 1;
}

.media-frame {
  position: relative;
  overflow: hidden;
  padding: 1rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.media-frame img,
.media-frame video {
  width: 100%;
  background: #fff;
  border-radius: var(--radius);
}

.media-frame img {
  aspect-ratio: 4 / 3;
  object-fit: contain;
}

.media-frame video {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  margin-top: 1.5rem;
}

.stat {
  padding: 1rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 0.8rem;
}

.stat strong {
  display: block;
  color: var(--navy);
  font-size: 1.25rem;
}

.stat span {
  color: var(--ink-soft);
  font-size: 0.82rem;
}

.callout {
  padding: clamp(1.25rem, 3vw, 2rem);
  background: var(--green-soft);
  border: 1px solid rgba(21, 151, 102, 0.24);
  border-left: 0.35rem solid var(--green);
  border-radius: var(--radius);
}

.callout--blue {
  background: var(--blue-soft);
  border-color: rgba(22, 121, 167, 0.22);
  border-left-color: var(--blue);
}

.callout--warning {
  background: #fff7e6;
  border-color: rgba(240, 173, 50, 0.35);
  border-left-color: var(--amber);
}

.callout h2,
.callout h3 {
  font-size: clamp(1.25rem, 2.5vw, 1.7rem);
}

.table-wrap {
  overflow-x: auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 1px 0 rgba(7, 26, 35, 0.02);
}

.spec-table {
  width: 100%;
  min-width: 42rem;
  margin: 0;
  border-collapse: collapse;
  font-size: 0.94rem;
}

.spec-table caption {
  padding: 1rem 1.1rem;
  color: var(--navy);
  font-size: 1.05rem;
  font-weight: 760;
  text-align: left;
}

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

.spec-table th {
  width: 34%;
  color: var(--navy);
  background: #f7fafb;
  font-weight: 740;
}

.spec-table thead th {
  width: auto;
  color: #fff;
  background: var(--navy);
}

.spec-table tbody tr:hover td,
.spec-table tbody tr:hover th {
  background: #f5faf8;
}

.prose {
  max-width: 48rem;
}

.prose > * + * {
  margin-top: 1.15rem;
}

.prose h2,
.prose h3 {
  margin-top: 2.2rem;
}

.prose h2:first-child,
.prose h3:first-child {
  margin-top: 0;
}

.prose ul,
.prose ol {
  padding-left: 1.35rem;
}

.prose li + li {
  margin-top: 0.42rem;
}

.prose blockquote {
  padding: 1.2rem 1.4rem;
  color: var(--navy);
  background: var(--paper);
  border-left: 0.3rem solid var(--green);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-weight: 650;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 19rem;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}

.article-sidebar {
  position: sticky;
  top: calc(var(--header-height) + 1.5rem);
  display: grid;
  gap: 1rem;
}

.sidebar-card {
  padding: 1.15rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.sidebar-card h2,
.sidebar-card h3 {
  font-size: 1.1rem;
}

.toc {
  padding: 0;
  margin: 0;
  list-style: none;
}

.toc li + li {
  margin-top: 0.45rem;
}

.toc a {
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-weight: 650;
  text-decoration: none;
}

.toc a:hover {
  color: var(--green-dark);
  text-decoration: underline;
}

.steps {
  display: grid;
  gap: 1rem;
  counter-reset: step;
}

.step {
  position: relative;
  min-height: 5.5rem;
  padding: 1.2rem 1.2rem 1.2rem 4.5rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  counter-increment: step;
}

.step::before {
  position: absolute;
  top: 1.15rem;
  left: 1.15rem;
  width: 2.35rem;
  height: 2.35rem;
  display: grid;
  place-items: center;
  color: #fff;
  content: counter(step);
  background: var(--green);
  border-radius: 50%;
  font-weight: 800;
}

.step h3 {
  margin-bottom: 0.35rem;
  font-size: 1.15rem;
}

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

.gallery figure {
  overflow: hidden;
  margin: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.gallery img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: #fff;
}

.gallery figcaption {
  padding: 0.75rem 0.9rem;
  color: var(--ink-soft);
  border-top: 1px solid var(--line);
  font-size: 0.82rem;
}

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

.faq-list details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 0.8rem;
}

.faq-list summary {
  position: relative;
  padding: 1.05rem 3rem 1.05rem 1.1rem;
  color: var(--navy);
  font-weight: 760;
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  position: absolute;
  top: 50%;
  right: 1.1rem;
  width: 1.5rem;
  height: 1.5rem;
  display: grid;
  place-items: center;
  color: var(--green-dark);
  content: "+";
  background: var(--green-soft);
  border-radius: 50%;
  transform: translateY(-50%);
}

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

.faq-answer {
  padding: 0 1.1rem 1.1rem;
  color: var(--ink-soft);
}

.quote-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  padding: clamp(1.4rem, 4vw, 3rem);
  color: #eaf4f6;
  background:
    radial-gradient(circle at 0% 100%, rgba(21, 151, 102, 0.32), transparent 28rem),
    var(--navy);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.quote-panel h2,
.quote-panel h3 {
  color: #fff;
}

.quote-panel .lead,
.quote-panel p {
  color: #cbdce1;
}

.quote-contact {
  display: grid;
  gap: 0.6rem;
  margin-top: 1.4rem;
}

.quote-contact a {
  color: #fff;
  font-weight: 760;
  text-decoration: none;
}

.quote-contact a:hover {
  text-decoration: underline;
}

.form-card {
  padding: clamp(1.1rem, 3vw, 1.7rem);
  color: var(--ink);
  background: #fff;
  border-radius: var(--radius);
}

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

.form-field {
  display: grid;
  gap: 0.35rem;
}

.form-field--full {
  grid-column: 1 / -1;
}

.form-field label {
  color: var(--navy);
  font-size: 0.84rem;
  font-weight: 740;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-height: 2.9rem;
  padding: 0.7rem 0.78rem;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line-dark);
  border-radius: 0.55rem;
}

.form-field textarea {
  min-height: 8.5rem;
  resize: vertical;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: #7f929b;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin-top: 1rem;
}

.form-status {
  min-height: 1.5rem;
  margin-top: 0.75rem;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.form-status[data-state="success"] {
  color: var(--success);
  font-weight: 700;
}

.form-status[data-state="error"] {
  color: var(--danger);
  font-weight: 700;
}

.honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(1.5rem, 5vw, 4rem);
}

.contact-card {
  padding: 1.3rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

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

.contact-card a {
  font-weight: 740;
  text-decoration: none;
}

.network-groups {
  display: grid;
  gap: 1.25rem;
}

.network-group {
  padding: clamp(1.1rem, 3vw, 1.7rem);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.network-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem 1rem;
  padding: 0;
  margin: 1rem 0 0;
  list-style: none;
}

.network-links a {
  display: block;
  padding: 0.55rem 0.65rem;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid transparent;
  border-radius: 0.5rem;
  font-size: 0.88rem;
  font-weight: 650;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.network-links a:hover {
  color: var(--green-dark);
  background: var(--green-soft);
  border-color: rgba(21, 151, 102, 0.22);
}

.site-cta {
  padding-block: 2rem;
  color: #fff;
  background: var(--green-dark);
}

.site-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.site-cta h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.4rem, 3vw, 2rem);
}

.site-cta p {
  margin: 0.35rem 0 0;
  color: #d8f2e7;
}

.site-footer {
  color: #c7d7dc;
  background: var(--navy-deep);
}

.footer-main {
  display: grid;
  grid-template-columns: 1.35fr 0.8fr 0.8fr 1fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  padding-block: clamp(3rem, 6vw, 5rem);
}

.footer-brand img {
  width: 9.5rem;
  max-height: 3rem;
  object-fit: contain;
  object-position: left center;
  margin-bottom: 1rem;
}

.footer-brand p {
  max-width: 24rem;
}

.site-footer h2,
.site-footer h3 {
  margin-bottom: 0.9rem;
  color: #fff;
  font-size: 1rem;
  letter-spacing: 0.01em;
}

.footer-links {
  padding: 0;
  margin: 0;
  list-style: none;
}

.footer-links li + li {
  margin-top: 0.48rem;
}

.footer-links a {
  color: #c7d7dc;
  text-decoration: none;
}

.footer-links a:hover {
  color: #fff;
  text-decoration: underline;
}

.footer-contact {
  font-style: normal;
}

.footer-contact a {
  color: #fff;
  text-decoration: none;
}

.footer-contact a:hover {
  text-decoration: underline;
}

.footer-bottom {
  display: flex;
  min-height: 4.1rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.82rem;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.footer-legal a {
  color: #c7d7dc;
  text-decoration: none;
}

.footer-legal a:hover {
  color: #fff;
  text-decoration: underline;
}

.back-to-top {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 70;
  width: 2.8rem;
  height: 2.8rem;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--navy);
  border: 0;
  border-radius: 50%;
  box-shadow: var(--shadow-sm);
  opacity: 0;
  pointer-events: none;
  transform: translateY(0.5rem);
  transition: opacity 0.18s ease, transform 0.18s ease;
  cursor: pointer;
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.error-page {
  min-height: 62vh;
  display: grid;
  place-items: center;
  padding-block: 5rem;
  text-align: center;
}

.error-code {
  color: var(--green);
  font-size: clamp(5rem, 20vw, 10rem);
  font-weight: 850;
  letter-spacing: -0.08em;
  line-height: 0.85;
}

.source-note {
  padding: 0.75rem 0.9rem;
  color: var(--ink-soft);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
}

@media (max-width: 72rem) {
  .main-nav a {
    padding-inline: 0.52rem;
    font-size: 0.86rem;
  }

  .footer-main {
    grid-template-columns: 1.25fr 1fr 1fr;
  }

  .footer-main > :last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 62rem) {
  :root {
    --header-height: 4.25rem;
  }

  .topbar-note {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .main-nav {
    position: fixed;
    top: calc(2.35rem + var(--header-height));
    right: 0;
    bottom: 0;
    left: 0;
    display: none;
    align-content: start;
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
    padding: 1rem;
    overflow-y: auto;
    background: #fff;
    border-top: 1px solid var(--line);
  }

  .nav-open .main-nav {
    display: flex;
  }

  .main-nav a {
    min-height: 3.2rem;
    padding-inline: 0.9rem;
    font-size: 1rem;
  }

  .main-nav .nav-cta {
    margin: 0.5rem 0 0;
  }

  .page-hero-grid,
  .split,
  .quote-panel,
  .contact-grid,
  .article-layout {
    grid-template-columns: 1fr;
  }

  .split--reverse > :first-child,
  .split--reverse > :last-child {
    order: initial;
  }

  .article-sidebar {
    position: static;
    order: -1;
  }

  .article-sidebar .sidebar-card:not(:first-child) {
    display: none;
  }

  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-item:nth-child(2) {
    border-right: 1px solid rgba(255, 255, 255, 0.11);
  }

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

  .gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .network-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-main {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-main > :last-child {
    grid-column: auto;
  }
}

@media (max-width: 46rem) {
  .container,
  .container--narrow {
    width: min(calc(100% - 1.25rem), var(--content));
  }

  .site-topbar {
    font-size: 0.78rem;
  }

  .topbar-contact {
    width: 100%;
    justify-content: space-between;
    gap: 0.5rem;
  }

  .brand-copy strong {
    font-size: 0.82rem;
  }

  .brand-copy span {
    font-size: 0.68rem;
  }

  .brand {
    min-width: 0;
  }

  .brand-mark {
    width: 2.25rem;
    height: 2.25rem;
  }

  .main-nav {
    top: calc(2.35rem + var(--header-height));
  }

  .hero {
    min-height: 43rem;
  }

  .hero-media::after {
    background: linear-gradient(90deg, rgba(3, 17, 24, 0.94), rgba(3, 17, 24, 0.72));
  }

  .hero-video {
    object-position: 74% center;
  }

  .hero-media {
    background-position: 74% center;
  }

  .hero h1 {
    font-size: clamp(2.45rem, 13vw, 4rem);
  }

  .button-row .button {
    width: 100%;
  }

  .trust-grid,
  .grid-2,
  .grid-3,
  .grid-4,
  .stat-grid,
  .gallery,
  .form-grid,
  .network-links,
  .footer-main {
    grid-template-columns: 1fr;
  }

  .trust-item,
  .trust-item:nth-child(2),
  .trust-item:last-child {
    border-right: 1px solid rgba(255, 255, 255, 0.11);
    border-bottom: 1px solid rgba(255, 255, 255, 0.11);
  }

  .trust-item:last-child {
    border-bottom: 0;
  }

  .machine-card-media,
  .machine-card-media img {
    min-height: 14rem;
    height: 14rem;
  }

  .quote-panel {
    padding: 1rem;
    border-radius: var(--radius);
  }

  .form-card {
    padding: 1rem;
  }

  .site-cta-inner,
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-cta .button {
    width: 100%;
  }

  .page-hero-card {
    padding: 0.75rem;
  }

  .article-sidebar {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .hero-video {
    display: none;
  }

  .hero-media {
    background: #0c2633 url("../images/flow-wrapper-hero-poster.jpg") 68% center / cover no-repeat;
  }
}

@media print {
  .site-topbar,
  .site-header,
  .breadcrumbs,
  .site-cta,
  .site-footer,
  .back-to-top,
  .button,
  .article-sidebar,
  .quote-panel {
    display: none !important;
  }

  body {
    color: #000;
    background: #fff;
    font-size: 11pt;
  }

  .section,
  .page-hero {
    padding-block: 1rem;
  }

  .container,
  .container--narrow {
    width: 100%;
  }

  a {
    color: #000;
    text-decoration: none;
  }

  a[href^="http"]::after {
    content: " (" attr(href) ")";
    font-size: 8pt;
  }

  .card,
  .table-wrap,
  .callout {
    break-inside: avoid;
    box-shadow: none;
  }
}

/* Single-column page hero used on legal and utility pages. */
.page-hero-grid--single {
  grid-template-columns: minmax(0, 52rem);
}

.network-current {
  display: block;
  padding: 0.55rem 0.65rem;
  color: var(--green-dark);
  background: var(--green-soft);
  border: 1px solid rgba(21, 151, 102, 0.22);
  border-radius: 0.5rem;
  font-size: 0.88rem;
  font-weight: 760;
}

/* ==========================================================
   Customer-focused visual refinement
   ========================================================== */
:root {
  --ink: #102b38;
  --ink-soft: #425d69;
  --navy: #0a2a38;
  --navy-deep: #051c27;
  --green: #0d865b;
  --green-dark: #087a53;
  --blue: #0d79a8;
  --paper: #f2f7f8;
  --surface-soft: #f8fbfc;
  --shadow-sm: 0 10px 28px rgba(5, 28, 39, 0.09);
  --shadow-md: 0 22px 60px rgba(5, 28, 39, 0.16);
  --header-height: 5rem;
}
body { background: radial-gradient(circle at 100% 18%, rgba(13,121,168,.035), transparent 28rem), #fff; }
h1 { font-size: clamp(2.45rem, 5.4vw, 4.45rem); }
h2 { font-size: clamp(1.9rem, 3.8vw, 3rem); }
h3 { font-size: clamp(1.22rem, 2vw, 1.62rem); }
.section { padding-block: clamp(3rem, 5.6vw, 5rem); }
.section--tight { padding-block: clamp(2.15rem, 3.8vw, 3.4rem); }
.section-heading { margin-bottom: clamp(1.65rem, 3vw, 2.4rem); }
.section-heading p { color: #3f5965; }
.site-topbar { background: linear-gradient(90deg, var(--navy-deep), #0a3343); }
.topbar-note { color: #cce0e5; }
.topbar-contact a { font-weight: 720; }
.site-header { box-shadow: 0 4px 18px rgba(5,28,39,.05); }
.brand { min-width: 18rem; max-width: 20rem; }
.brand-logo { width: 100%; height: auto; }
.main-nav a { position: relative; }
.main-nav a:not(.nav-cta)::after { position:absolute; right:.68rem; bottom:.42rem; left:.68rem; height:2px; content:""; background:var(--green); border-radius:99rem; opacity:0; transform:scaleX(.3); transition:opacity .18s ease,transform .18s ease; }
.main-nav a:not(.nav-cta):hover::after,.main-nav a:not(.nav-cta)[aria-current="page"]::after { opacity:1; transform:scaleX(1); }
.button { min-height:3.1rem; padding-inline:1.25rem; border-radius:.72rem; box-shadow:0 8px 22px rgba(13,134,91,.17); }
.button--light-outline,.button--outline,.button--secondary { box-shadow:none; }

/* Homepage hero */
.hero { min-height:39rem; isolation:isolate; background:radial-gradient(circle at 82% 35%,rgba(25,176,125,.18),transparent 25rem),linear-gradient(145deg,#041923,#0b3544); }
.hero-media { z-index:-2; background:#0c2633 url("../images/flow-wrapper-hero-poster.jpg") 68% center / cover no-repeat; }
.hero-media::after { z-index:1; background:linear-gradient(90deg,rgba(3,20,28,.96) 0%,rgba(3,20,28,.84) 45%,rgba(3,20,28,.43) 78%,rgba(3,20,28,.35) 100%),linear-gradient(0deg,rgba(3,20,28,.76),transparent 62%); }
.hero-video { object-fit:cover; object-position:68% center; filter:saturate(.92) contrast(1.08); opacity:.78; }
.hero-layout { position:relative; z-index:2; display:grid; grid-template-columns:minmax(0,1fr); align-items:center; padding-block:clamp(4rem,7vw,6rem); }
.hero-content { max-width:56rem; padding:0; }
.hero h1 { max-width:13ch; margin-bottom:1rem; text-shadow:0 4px 24px rgba(0,0,0,.42); }
.hero .lead { max-width:47rem; margin-bottom:1.5rem; color:#eef6f8; text-shadow:0 2px 14px rgba(0,0,0,.48); }
.hero-points { margin-top:1.45rem; }
/* The former right-hand hero showcase was removed so the video remains the sole hero visual. */

/* Page heroes and machinery images */
.page-hero { padding-block:clamp(3rem,5vw,4.75rem); background:linear-gradient(90deg,rgba(255,255,255,.74),rgba(255,255,255,.1)),radial-gradient(circle at 86% 16%,rgba(13,134,91,.22),transparent 24rem),linear-gradient(145deg,#f7fbfb,#eaf3f5); }
.page-hero-grid { grid-template-columns:minmax(0,1.1fr) minmax(18rem,.76fr); gap:clamp(1.75rem,4.5vw,4rem); }
.page-hero h1 { max-width:17ch; margin-bottom:.85rem; }
.page-hero .lead { color:#3c5966; }
.page-hero-card { min-height:clamp(17rem,26vw,23rem); display:grid; place-items:center; padding:1rem; overflow:hidden; background:#fff url("../images/flowwrap-process.svg") center / 88% auto no-repeat; border-top:.35rem solid var(--green); }
.page-hero-card img { width:100%; height:clamp(15rem,24vw,21rem); min-height:0; aspect-ratio:auto; object-fit:contain; object-position:center center; background:rgba(255,255,255,.96); }
.media-label { position:absolute; top:.75rem; left:.75rem; z-index:2; padding:.38rem .58rem; color:#fff; background:rgba(5,28,39,.9); border-radius:99rem; font-size:.68rem; font-weight:820; letter-spacing:.06em; text-transform:uppercase; }
.trust-grid { min-height:6.2rem; }
.trust-item { padding:1rem 1.25rem; }
.card { overflow:hidden; box-shadow:0 10px 30px rgba(5,28,39,.055); }
.card::before { position:absolute; top:0; right:0; left:0; height:.24rem; content:""; background:linear-gradient(90deg,var(--green),var(--blue)); opacity:.8; }
.machine-card::before { z-index:3; }
.section--navy .card,.section--green .card { color:var(--ink); background:#fff; }
.section--navy .card h3,.section--navy .card h4,.section--green .card h3,.section--green .card h4 { color:var(--navy); }
.section--navy .card p,.section--green .card p { color:#405a65; }
.section--navy .card-link,.section--green .card-link { color:var(--green-dark); }
.machine-card-media { min-height:16rem; padding:1rem; background:#fff url("../images/flowwrap-process.svg") center / 82% auto no-repeat; }
.machine-card-media img { height:16rem; object-fit:contain; object-position:center center; background:rgba(255,255,255,.96); }
.media-frame { background:#fff url("../images/flowwrap-process.svg") center / 88% auto no-repeat; }
.media-frame img { width:100%; height:clamp(15rem,25vw,23rem); min-height:15rem; max-height:29rem; aspect-ratio:auto; object-fit:contain; object-position:center center; background:rgba(255,255,255,.97); }
.media-frame video { object-fit:contain; object-position:center center; background:var(--navy-deep); }
.gallery img { height:15rem; aspect-ratio:auto; object-fit:contain; object-position:center center; }
.media-caption { padding:.8rem .25rem .05rem; color:#4a626d; font-size:.86rem; line-height:1.5; }
.media-panel.media-unavailable > img,.media-panel.media-unavailable > video { display:none; }
.media-panel.media-unavailable { min-height:13rem; background:#fff url("../images/flowwrap-process.svg") center / 88% auto no-repeat; }
.project-note { padding:.9rem 1rem; margin-top:1rem; color:#284854; background:#eaf6f2; border:1px solid #c8e5da; border-left:.3rem solid var(--green); border-radius:.7rem; font-size:.88rem; }
.split,.page-hero-grid,.quote-panel,.contact-grid { gap:clamp(1.7rem,4.2vw,3.7rem); }
.prose h2,.prose h3 { margin-top:1.8rem; }
.quote-panel { padding:clamp(1.3rem,3.4vw,2.4rem); }
.network-group { box-shadow:0 8px 24px rgba(5,28,39,.05); }
.site-cta { background:radial-gradient(circle at 90% 0,rgba(255,255,255,.12),transparent 18rem),linear-gradient(115deg,#076e4b,#0a7654); }
.site-cta p { color:#fff; }
.footer-main { padding-block:clamp(2.5rem,4.6vw,4rem); }
.footer-brand img { width:min(100%,19rem); max-height:none; margin-bottom:.8rem; }
.section--navy a:not(.button):not(.card-link) { color:#9ce8c8; }
.section--navy a:not(.button):not(.card-link):hover { color:#fff; }
.section--navy .lead,.section--navy .split > div > p,.section--navy .split > div li,.section--navy .section-heading p { color:#dcebef; }
.section--green p,.section--green li,.section--green .lead,.section--green .split > div > p,.section--green .split > div li,.section--green .section-heading p { color:#fff; }

@media (max-width:72rem) { .brand{min-width:15.5rem;max-width:16.5rem} }
@media (max-width:62rem) { :root{--header-height:4.5rem}.brand{min-width:0;width:16.25rem}.main-nav a:not(.nav-cta)::after{display:none}.hero-content{max-width:48rem}.page-hero-grid{grid-template-columns:minmax(0,1fr) minmax(16rem,.7fr)} }
@media (max-width:46rem) {
  :root{--header-height:4.1rem}.topbar-contact a{font-size:.74rem}.brand{width:13rem}.header-inner{gap:.5rem}.hero{min-height:auto}.hero-layout{padding-block:3.2rem}.hero h1{font-size:clamp(2.35rem,11.5vw,3.45rem)}.hero .lead{font-size:1.05rem;line-height:1.55}.page-hero{padding-block:2.6rem}.page-hero-grid{grid-template-columns:1fr;gap:1.35rem}.page-hero h1{font-size:clamp(2.15rem,10.5vw,3.2rem)}.page-hero-card{min-height:12.5rem;padding:.7rem}.page-hero-card img{height:12rem}.media-label{top:.55rem;left:.55rem;font-size:.6rem}.section{padding-block:2.7rem}.section--tight{padding-block:2rem}.machine-card-media,.machine-card-media img{min-height:12.5rem;height:12.5rem}.media-frame img{height:12.5rem;min-height:12.5rem}.gallery img{height:12rem}.footer-main{padding-block:2.4rem}
}

/* --------------------------------------------------------------------------
   Refined brand and high-visibility homepage video
   -------------------------------------------------------------------------- */
.brand {
  width: 20.25rem;
  min-width: 20.25rem;
  max-width: 20.25rem;
}

.brand-logo {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 3px 7px rgba(5, 28, 39, 0.10));
}

.footer-brand img {
  width: min(100%, 20.5rem);
}

.page-index .hero {
  min-height: clamp(31rem, 36vw, 35rem);
  isolation: isolate;
  background: #061923;
}

.page-index .hero-media {
  isolation: isolate;
  overflow: hidden;
  background-color: #061923;
  background-image: url("../images/flow-wrapper-hero-poster.jpg");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
}

/* A soft duplicate fills the spare area created by the very wide source video. */
.page-index .hero-media::before {
  position: absolute;
  inset: -2rem;
  z-index: 0;
  content: "";
  background: #061923 url("../images/flow-wrapper-hero-poster.jpg") center center / cover no-repeat;
  filter: blur(22px) saturate(1.02) brightness(0.72);
  opacity: 0.78;
  transform: scale(1.08);
}

/* Keep all four edges of the supplied video visible and lift its brightness. */
.page-index .hero-video {
  z-index: 1;
  object-fit: contain;
  object-position: center center;
  background: transparent;
  filter: brightness(1.12) saturate(1.10) contrast(1.04);
  opacity: 1;
}

/* Darken only the copy area; leave the working machine clear on the right. */
.page-index .hero-media::after {
  z-index: 2;
  background:
    linear-gradient(90deg,
      rgba(3, 20, 28, 0.94) 0%,
      rgba(3, 20, 28, 0.84) 28%,
      rgba(3, 20, 28, 0.56) 47%,
      rgba(3, 20, 28, 0.16) 68%,
      rgba(3, 20, 28, 0.00) 100%),
    linear-gradient(180deg,
      rgba(3, 20, 28, 0.06) 0%,
      transparent 52%,
      rgba(3, 20, 28, 0.18) 100%);
}

.page-index .hero-layout {
  padding-block: clamp(3.25rem, 5vw, 4.7rem);
}

.page-index .hero-content {
  max-width: 46rem;
}

.page-index .hero h1 {
  max-width: 12.5ch;
  font-size: clamp(3rem, 4.9vw, 4.25rem);
  text-shadow: 0 4px 26px rgba(0, 0, 0, 0.58);
}

.page-index .hero .lead {
  max-width: 42rem;
  color: #f1f8fa;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.68);
}

.page-index .hero .eyebrow,
.page-index .hero-points,
.page-index .hero .button-row {
  filter: drop-shadow(0 2px 9px rgba(0, 0, 0, 0.45));
}

@media (max-width: 72rem) {
  .brand {
    width: 16.75rem;
    min-width: 16.75rem;
    max-width: 16.75rem;
  }

  .page-index .hero-media::after {
    background:
      linear-gradient(90deg,
        rgba(3, 20, 28, 0.95) 0%,
        rgba(3, 20, 28, 0.84) 36%,
        rgba(3, 20, 28, 0.45) 67%,
        rgba(3, 20, 28, 0.04) 100%),
      linear-gradient(180deg, rgba(3, 20, 28, 0.04), rgba(3, 20, 28, 0.20));
  }
}

@media (max-width: 62rem) {
  .brand {
    width: 16.25rem;
    min-width: 16.25rem;
    max-width: 16.25rem;
  }

  .page-index .hero-content {
    max-width: 41rem;
  }
}

@media (max-width: 46rem) {
  .brand {
    width: 13.6rem;
    min-width: 13.6rem;
    max-width: 13.6rem;
  }

  .page-index .hero {
    min-height: auto;
  }

  .page-index .hero-media,
  .page-index .hero-video {
    background-position: center top;
    object-position: center top;
  }

  .page-index .hero-media::before {
    filter: blur(18px) saturate(1.02) brightness(0.68);
    opacity: 0.78;
  }

  .page-index .hero-media::after {
    background:
      linear-gradient(180deg,
        rgba(3, 20, 28, 0.04) 0%,
        rgba(3, 20, 28, 0.24) 16%,
        rgba(3, 20, 28, 0.84) 34%,
        rgba(3, 20, 28, 0.97) 61%,
        rgba(3, 20, 28, 0.99) 100%);
  }

  .page-index .hero-layout {
    padding-top: clamp(7.6rem, 31vw, 9.1rem);
    padding-bottom: 3rem;
  }

  .page-index .hero h1 {
    max-width: 12ch;
    font-size: clamp(2.35rem, 11.4vw, 3.4rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-index .hero-media {
    background-size: contain;
    background-position: center center;
  }
}

/* --------------------------------------------------------------------------
   Full-bleed stretched homepage video
   -------------------------------------------------------------------------- */
/*
   The supplied source is an unusually wide 1280 × 266 clip. The site owner
   requested that it stretch to the complete hero box instead of leaving spare
   space above and below. Width and height therefore follow the hero exactly.
*/
.page-index .hero-media {
  background-position: center center;
  background-size: 100% 100%;
}

.page-index .hero-media::before {
  display: none;
}

.page-index .hero-video {
  width: 100%;
  height: 100%;
  object-fit: fill;
  object-position: center center;
}

@media (max-width: 46rem) {
  .page-index .hero-media,
  .page-index .hero-video {
    background-position: center center;
    object-position: center center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-index .hero-media {
    background-position: center center;
    background-size: 100% 100%;
  }
}

