/*
   Automatic Packaging Lines — site-v4
   Responsive customer-facing layout with a locally hosted production-line hero video.
*/

:root {
  --ink: #0b2436;
  --ink-strong: #061927;
  --muted: #536a7a;
  --navy: #061f31;
  --navy-2: #0a3e56;
  --teal: #087b91;
  --teal-dark: #075d70;
  --teal-soft: #e8f6f8;
  --orange: #ff8b2b;
  --orange-dark: #dc6412;
  --orange-soft: #fff2e7;
  --surface: #ffffff;
  --surface-alt: #f4f8fa;
  --surface-strong: #eaf1f5;
  --line: #d7e2e8;
  --line-dark: #bed0da;
  --white: #ffffff;
  --success: #16764a;
  --danger: #a92f2f;
  --shadow-sm: 0 8px 24px rgba(5, 30, 45, 0.08);
  --shadow-md: 0 18px 48px rgba(5, 30, 45, 0.13);
  --shadow-lg: 0 28px 80px rgba(2, 20, 33, 0.24);
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shell: 1392px;
  --header-height: 109px;
  --transition: 180ms ease;
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: 124px; }
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.68;
  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.62em;
  color: var(--ink-strong);
  font-weight: 820;
  line-height: 1.08;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.55rem, 4.8vw, 5rem); }
h2 { font-size: clamp(2rem, 3.2vw, 3.5rem); }
h3 { font-size: clamp(1.2rem, 1.5vw, 1.55rem); letter-spacing: -0.022em; }
h4 { font-size: 1.05rem; letter-spacing: -0.015em; }
p { margin: 0 0 1.05em; }
ul, ol { margin: 0 0 1.35em; }
::selection { color: var(--white); background: var(--teal); }

:focus-visible {
  outline: 3px solid rgba(255, 139, 43, 0.75);
  outline-offset: 3px;
}

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

.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 links */
.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 21px;
  color: var(--white);
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  border: 1px solid transparent;
  border-radius: 11px;
  box-shadow: 0 8px 24px rgba(8, 123, 145, 0.2);
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), border-color var(--transition);
}
.button:hover {
  color: var(--white);
  background: linear-gradient(135deg, var(--teal-dark), #06495a);
  box-shadow: 0 12px 30px rgba(8, 123, 145, 0.28);
  transform: translateY(-2px);
}
.button--accent {
  color: var(--ink-strong);
  background: linear-gradient(135deg, #ff9d46, var(--orange));
  box-shadow: 0 10px 30px rgba(255, 139, 43, 0.27);
}
.button--accent:hover {
  color: var(--ink-strong);
  background: linear-gradient(135deg, #ffad64, #f37a1d);
  box-shadow: 0 14px 34px rgba(255, 139, 43, 0.34);
}
.button--secondary {
  color: var(--ink);
  background: var(--white);
  border-color: var(--line-dark);
  box-shadow: none;
}
.button--secondary:hover {
  color: var(--teal-dark);
  background: var(--teal-soft);
  border-color: #8fc4cf;
  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: #eaf6f8; }
.button--ghost-light {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.48);
  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: 40px; padding: 9px 15px; border-radius: 9px; font-size: 0.85rem; }
.button-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 26px; }
.button-row--centre { justify-content: center; }
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--teal-dark);
  font-weight: 800;
  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.98);
  border-bottom: 1px solid rgba(190, 208, 218, 0.72);
  box-shadow: 0 4px 18px rgba(4, 27, 42, 0.06);
}
.topbar {
  min-height: 32px;
  color: #e9f5f8;
  background: var(--navy);
  border-bottom: 2px solid var(--orange);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}
.topbar__inner {
  min-height: 32px;
  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: #ffd1ab; }
.header-main {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.site-logo {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 14px;
  min-width: 0;
  text-decoration: none;
}
.site-logo__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(180px, 15vw, 230px);
  min-height: 42px;
}
.site-logo__image { width: 100%; height: auto; object-fit: contain; }
.site-logo__descriptor {
  display: grid;
  gap: 1px;
  padding-left: 14px;
  color: #294354;
  border-left: 1px solid var(--line-dark);
  font-size: 0.69rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  line-height: 1.18;
  text-transform: uppercase;
}
.site-logo__descriptor strong { color: #0b2c61; font-size: 0.75rem; }
.menu-toggle {
  display: none;
  width: 46px;
  height: 44px;
  padding: 10px;
  background: var(--surface-alt);
  border: 1px solid var(--line);
  border-radius: 10px;
  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: 3px;
  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: 7px;
  padding: 10px 12px;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-radius: 9px;
  font-size: 0.88rem;
  font-weight: 800;
  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% + 10px);
  left: 50%;
  display: grid;
  width: min(500px, 80vw);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 5px;
  margin: 0;
  padding: 12px;
  visibility: hidden;
  opacity: 0;
  background: rgba(255, 255, 255, 0.99);
  border: 1px solid var(--line);
  border-radius: 15px;
  box-shadow: var(--shadow-md);
  list-style: none;
  transform: translate(-50%, 8px);
  transition: opacity var(--transition), visibility var(--transition), transform var(--transition);
}
.nav-dropdown::before {
  position: absolute;
  top: -7px;
  left: 50%;
  width: 13px;
  height: 13px;
  background: var(--white);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  content: "";
  transform: translateX(-50%) rotate(45deg);
}
.nav-dropdown a {
  min-height: 0;
  justify-content: flex-start;
  padding: 11px 12px;
  color: #294354;
  border-radius: 9px;
  font-size: 0.84rem;
  line-height: 1.28;
  white-space: normal;
}
.nav-dropdown a:hover { 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: 44px;
  margin-left: 9px;
  padding-inline: 17px;
  color: var(--ink-strong);
  background: linear-gradient(135deg, #ffa24f, var(--orange));
  box-shadow: 0 8px 22px rgba(255, 139, 43, 0.22);
}
.primary-nav .nav-contact:hover { color: var(--ink-strong); background: linear-gradient(135deg, #ffb36e, #f77d1d); }
.primary-nav a.is-current,
.nav-dropdown a[aria-current="page"] { color: var(--teal-dark); background: var(--teal-soft); }

/* Breadcrumbs */
.breadcrumbs {
  color: #5f7483;
  background: var(--surface-alt);
  border-bottom: 1px solid var(--line);
  font-size: 0.82rem;
}
.breadcrumbs ol {
  width: min(var(--shell), calc(100% - 48px));
  min-height: 42px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 auto;
  padding: 8px 0;
  list-style: none;
}
.breadcrumbs li + li::before { margin-right: 8px; color: #93a8b4; content: "/"; }
.breadcrumbs a { color: var(--teal-dark); text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }

/* Home hero — video background */
.hero { position: relative; overflow: hidden; }
.hero--home {
  min-height: clamp(590px, calc(100svh - var(--header-height)), 820px);
  display: grid;
  align-items: center;
  color: var(--white);
  background: linear-gradient(120deg, #031724, #075b73);
  isolation: isolate;
}
.hero-background-video,
.hero-video-overlay { position: absolute; inset: 0; }
.hero-background-video { z-index: -3; overflow: hidden; background: linear-gradient(120deg, #031724, #075b73); }
.hero-background-video iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 56.25vw;
  min-width: 177.78vh;
  min-height: 100%;
  max-width: none;
  border: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(1.035);
}
.hero-background-video.is-disabled iframe { display: none; }
.hero-video-overlay {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(2, 18, 29, 0.96) 0%, rgba(2, 22, 35, 0.88) 42%, rgba(3, 35, 50, 0.5) 72%, rgba(3, 39, 54, 0.38) 100%),
    linear-gradient(0deg, rgba(3, 18, 28, 0.65) 0%, rgba(3, 18, 28, 0.08) 45%, rgba(3, 18, 28, 0.28) 100%);
}
.hero--home::after {
  position: absolute;
  z-index: -1;
  right: -120px;
  bottom: -160px;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(255, 139, 43, 0.3), rgba(255, 139, 43, 0) 68%);
  content: "";
}
.hero--home__inner {
  width: min(var(--shell), calc(100% - 48px));
  min-height: inherit;
  display: flex;
  align-items: center;
  margin-inline: auto;
  padding-block: clamp(58px, 8vh, 92px);
}
.hero--home__copy { max-width: 810px; }
.hero--home h1 {
  max-width: 13.5ch;
  margin-bottom: 22px;
  color: var(--white);
  font-size: clamp(3rem, 4.6vw, 5rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
  text-shadow: 0 8px 34px rgba(0, 0, 0, 0.34);
}
.hero--home .lede {
  max-width: 680px;
  margin-bottom: 0;
  color: #eaf5f8;
  font-size: clamp(1.06rem, 1.45vw, 1.28rem);
  line-height: 1.58;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.34);
}
.hero--home .button-row { margin-top: 30px; }
.hero--home .hero-points { max-width: 760px; margin-top: 28px; }
.hero-video-credit {
  position: absolute;
  z-index: 2;
  right: 24px;
  bottom: 20px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 10px;
  color: rgba(255, 255, 255, 0.86);
  background: rgba(3, 24, 36, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  font-size: 0.72rem;
  font-weight: 700;
  text-decoration: none;
  backdrop-filter: blur(8px);
}
.hero-video-credit:hover { color: var(--white); background: rgba(3, 24, 36, 0.78); }

.eyebrow {
  margin: 0 0 13px;
  color: var(--teal-dark);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.16em;
  line-height: 1.3;
  text-transform: uppercase;
}
.eyebrow--light,
.section--dark .eyebrow { color: #82e5f2; }
.lede {
  max-width: 760px;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.45vw, 1.25rem);
  line-height: 1.62;
}
.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 20px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}
.hero-points li { position: relative; padding-left: 21px; color: #294354; font-size: 0.91rem; font-weight: 700; }
.hero-points li::before {
  position: absolute;
  top: 0.52em;
  left: 0;
  width: 10px;
  height: 10px;
  background: var(--orange);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(255, 139, 43, 0.14);
  content: "";
}
.hero-points--light li { color: #ecf7f9; }
.hero-points--light li::before { box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.12); }

/* Standard inner-page hero */
.hero--standard {
  padding: clamp(52px, 6vw, 84px) 0;
  background:
    radial-gradient(circle at 82% 20%, rgba(8, 123, 145, 0.12), transparent 34%),
    linear-gradient(180deg, #f8fbfc, #eef4f7);
  border-bottom: 1px solid var(--line);
}
.hero--standard.hero--compact { padding-block: clamp(42px, 5vw, 64px); }
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.82fr);
  gap: clamp(44px, 6vw, 92px);
  align-items: center;
}
.hero__copy { max-width: 790px; }
.hero__copy h1 { font-size: clamp(2.55rem, 4.2vw, 4.65rem); }
.hero__media {
  position: relative;
  min-height: 360px;
  display: grid;
  place-items: center;
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.hero__media::before {
  position: absolute;
  z-index: -1;
  right: -15px;
  bottom: -15px;
  width: 44%;
  height: 44%;
  background: var(--orange);
  border-radius: 0 0 var(--radius-lg) 0;
  content: "";
}
.hero__image { width: 100%; height: 330px; object-fit: contain; object-position: center; }
.hero__badge {
  position: absolute;
  right: -12px;
  bottom: 24px;
  display: grid;
  gap: 2px;
  max-width: 180px;
  padding: 15px 18px;
  color: var(--white);
  background: var(--navy);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
}
.hero__badge strong { color: var(--white); font-size: 1.25rem; line-height: 1; }
.hero__badge span { color: #cde2e9; font-size: 0.76rem; line-height: 1.3; }

/* Proof strip */
.proof-strip {
  position: relative;
  color: var(--white);
  background: var(--navy);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.proof-strip--raised { box-shadow: 0 12px 34px rgba(3, 24, 36, 0.12); }
.proof-strip__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.proof-strip__grid > div {
  min-height: 106px;
  display: grid;
  align-content: center;
  gap: 5px;
  padding: 21px 34px;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}
.proof-strip__grid > div:first-child { padding-left: 0; }
.proof-strip__grid > div:last-child { padding-right: 0; border-right: 0; }
.proof-strip strong { color: var(--white); font-size: 1.02rem; line-height: 1.25; }
.proof-strip span { color: #c9dce4; font-size: 0.84rem; line-height: 1.45; }

/* Sections and content layouts */
.section { padding: clamp(58px, 6.5vw, 90px) 0; }
.section + .section { border-top: 1px solid rgba(215, 226, 232, 0.62); }
.section--soft { background: var(--surface-alt); }
.section--video { background: linear-gradient(180deg, #f7fbfc, #eef6f8); }
.section--dark {
  color: #dcecf1;
  background:
    radial-gradient(circle at 85% 15%, rgba(16, 132, 155, 0.25), transparent 32%),
    linear-gradient(135deg, #061c2c, #0a3b51);
  border-top: 0 !important;
}
.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: #d6e7ed; }
.section--dark a:not(.button) { color: #9be7ef; }
.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.62fr);
  gap: clamp(30px, 5vw, 76px);
  align-items: end;
  margin-bottom: 34px;
}
.section-heading h2 { margin-bottom: 0; }
.section-heading > p,
.section-heading p:last-child,
.section-intro { max-width: 760px; color: var(--muted); font-size: 1.04rem; }
.section-intro { margin: -2px 0 32px; }
.section-action { margin: 32px 0 0; text-align: center; }

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(42px, 7vw, 100px);
  align-items: center;
}
.split--reverse { grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); }
.split--reverse > :first-child { order: 2; }
.split--reverse > :last-child { order: 1; }
.planning-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(42px, 7vw, 100px);
  align-items: center;
}
.image-frame,
.planning-grid > div:first-child {
  position: relative;
  min-height: 390px;
  display: grid;
  place-items: center;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.image-frame::before {
  position: absolute;
  z-index: -1;
  top: -15px;
  left: -15px;
  width: 44%;
  height: 44%;
  background: var(--teal);
  border-radius: var(--radius-lg) 0 0 0;
  content: "";
  opacity: 0.18;
}
.image-frame__image,
.planning-image { width: 100%; height: 350px; object-fit: contain; object-position: center; }
.section--dark .image-frame { background: rgba(255, 255, 255, 0.98); border-color: rgba(255, 255, 255, 0.18); }

.info-panel {
  padding: clamp(24px, 3vw, 36px);
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 4px solid var(--orange);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.info-panel h2 { font-size: 1.55rem; }
.info-panel ul { padding-left: 20px; }
.info-panel li { margin-bottom: 7px; }

/* Cards */
.card-grid { display: grid; gap: 20px; }
.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(5, 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: 0 8px 24px rgba(5, 30, 45, 0.055);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.card:hover { border-color: #b6d4dc; box-shadow: var(--shadow-sm); transform: translateY(-4px); }
.card__image {
  width: 100%;
  height: 238px;
  padding: 16px;
  background: linear-gradient(180deg, #ffffff, #f3f7f9);
  border-bottom: 1px solid var(--line);
  object-fit: contain;
  object-position: center;
}
.card__body { display: flex; min-height: 218px; flex-direction: column; padding: 25px; }
.card__body h3 { margin-bottom: 12px; }
.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 { position: relative; z-index: 2; margin-top: auto; align-self: flex-start; }
.feature-card { height: 100%; }
.icon-card,
.link-card { min-height: 240px; padding: 27px; }
.icon-card { border-top: 4px solid var(--teal); }
.link-card { border-top: 4px solid var(--orange); }
.card-number {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--teal-dark);
  background: var(--teal-soft);
  border-radius: 11px;
  font-weight: 900;
}

.check-list { margin: 25px 0; padding: 0; list-style: none; }
.check-list li { position: relative; margin-bottom: 12px; padding-left: 30px; color: #294354; }
.check-list li::before {
  position: absolute;
  top: 0.25em;
  left: 0;
  display: grid;
  width: 19px;
  height: 19px;
  place-items: center;
  color: var(--white);
  background: var(--teal);
  border-radius: 50%;
  content: "✓";
  font-size: 0.72rem;
  font-weight: 900;
}
.check-list--light li { color: #e2eef2; }
.check-list--light li::before { color: var(--ink-strong); background: #87e1eb; }

/* Processes, outcomes and formulas */
.process-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
}
.process-list li {
  position: relative;
  min-width: 0;
  padding: 26px 22px;
  background: rgba(255, 255, 255, 0.075);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius);
}
.process-list li > span {
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  margin-bottom: 19px;
  color: var(--ink-strong);
  background: var(--orange);
  border-radius: 50%;
  font-weight: 900;
}
.process-list h3 { margin-bottom: 9px; }
.process-list p { margin: 0; color: #cfe1e7; font-size: 0.91rem; }
.home-process { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin: 32px 0 0; padding: 0; list-style: none; }
.home-process li { position: relative; padding: 25px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.home-process span { display: block; margin-bottom: 10px; color: var(--orange-dark); font-weight: 900; }
.home-process p { color: var(--muted); margin: 0; }
.outcomes-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.outcome { padding: 27px; background: var(--surface-alt); border: 1px solid var(--line); border-radius: var(--radius); }
.outcome p { margin: 0; color: var(--muted); }
.formula { display: flex; flex-wrap: wrap; align-items: stretch; gap: 12px; margin: 26px 0; }
.formula span,
.formula strong { display: flex; align-items: center; justify-content: center; padding: 16px 20px; background: var(--surface-alt); border: 1px solid var(--line); border-radius: 10px; }
.formula strong { color: var(--white); background: var(--teal-dark); border-color: var(--teal-dark); }

/* FAQ */
.faq-list { display: grid; gap: 12px; margin-top: 30px; }
.faq-item { overflow: hidden; background: var(--white); border: 1px solid var(--line); border-radius: 13px; }
.faq-item summary {
  position: relative;
  padding: 20px 58px 20px 22px;
  color: var(--ink-strong);
  font-weight: 820;
  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: 20px;
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  color: var(--teal-dark);
  background: var(--teal-soft);
  border-radius: 50%;
  content: "+";
  font-size: 1.25rem;
  transform: translateY(-50%);
}
.faq-item[open] summary::after { content: "−"; }
.faq-item[open] summary { border-bottom: 1px solid var(--line); }
.faq-answer { padding: 20px 22px 22px; color: var(--muted); }
.faq-answer p:last-child { margin-bottom: 0; }

/* Video cards and modal */
.video-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.video-list { display: grid; gap: 26px; }
.video-card {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.video-card__media { position: relative; min-height: 260px; display: grid; place-items: center; overflow: hidden; background: #eef3f5; border-bottom: 1px solid var(--line); }
.video-card__image { width: 100%; height: 260px; padding: 14px; object-fit: contain; object-position: center; transition: transform 280ms ease; }
.video-card:hover .video-card__image { transform: scale(1.025); }
.video-play {
  position: absolute;
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  color: var(--white);
  background: rgba(6, 96, 116, 0.94);
  border: 3px solid var(--white);
  border-radius: 50%;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.28);
  cursor: pointer;
  transition: transform var(--transition), background var(--transition);
}
.video-play:hover { background: var(--orange-dark); transform: scale(1.06); }
.video-card__body { padding: 25px; }
.video-card__body p { color: var(--muted); }
.video-card--large { display: grid; grid-template-columns: minmax(360px, 0.95fr) minmax(0, 1.05fr); }
.video-card--large .video-card__media { min-height: 360px; border-right: 1px solid var(--line); border-bottom: 0; }
.video-card--large .video-card__image { height: 360px; }
.video-card--large .video-card__body { align-self: center; padding: 38px; }
.source-path { display: block; margin-top: 18px; padding: 9px 11px; overflow-wrap: anywhere; color: #4f6575; background: var(--surface-alt); border: 1px solid var(--line); border-radius: 8px; font-size: 0.72rem; }
.video-dialog { width: min(960px, calc(100% - 28px)); max-height: 92vh; padding: 0; color: var(--ink); background: var(--white); border: 0; border-radius: 16px; box-shadow: var(--shadow-lg); }
.video-dialog::backdrop { background: rgba(2, 15, 24, 0.82); backdrop-filter: blur(5px); }
.video-dialog__head { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 15px 20px; border-bottom: 1px solid var(--line); }
.video-dialog__head h2 { margin: 0; font-size: 1.35rem; }
.video-dialog__head button { width: 40px; height: 40px; color: var(--ink); background: var(--surface-alt); border: 1px solid var(--line); border-radius: 50%; font-size: 1.5rem; line-height: 1; cursor: pointer; }
.video-dialog__frame { aspect-ratio: 16 / 9; background: #000; }
.video-dialog__frame iframe { width: 100%; height: 100%; border: 0; }
.video-dialog > p { margin: 0; padding: 12px 20px 17px; font-size: 0.82rem; }

/* Calls to action and contact */
.cta-band { padding: clamp(50px, 6vw, 78px) 0; color: var(--white); background: linear-gradient(120deg, var(--teal-dark), var(--teal)); }
.cta-band__inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 44px; align-items: center; }
.cta-band h2 { margin-bottom: 10px; color: var(--white); }
.cta-band p:last-child { margin-bottom: 0; color: #e2f3f6; }
.contact-panel { padding: clamp(58px, 7vw, 88px) 0; color: var(--white); background: linear-gradient(120deg, #061d2c, #0b536c); }
.contact-panel h2 { color: var(--white); }
.contact-panel p { color: #d5e8ee; }
.contact-panel__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 0.46fr); gap: clamp(42px, 7vw, 92px); align-items: center; }
.contact-panel address { padding: 28px; color: #e7f1f5; background: rgba(255, 255, 255, 0.075); border: 1px solid rgba(255, 255, 255, 0.15); border-radius: var(--radius); }
.contact-panel address a { color: var(--white); }
.contact-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(38px, 6vw, 78px); align-items: start; }
.contact-sidebar { display: grid; gap: 18px; }
.contact-form { margin-top: 28px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.form-field { margin-bottom: 17px; }
.form-field label { display: block; margin-bottom: 7px; color: var(--ink); font-size: 0.88rem; font-weight: 800; }
.form-field input,
.form-field textarea,
.form-field select { width: 100%; color: var(--ink); background: var(--white); border: 1px solid #acc1cd; border-radius: 9px; outline: 0; }
.form-field input,
.form-field select { min-height: 48px; 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(8, 123, 145, 0.13); }
.form-field--trap { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.form-note { color: var(--muted); font-size: 0.83rem; }
.consent { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: start; margin: 18px 0; color: var(--muted); font-size: 0.88rem; }
.consent input { margin-top: 5px; }
.notice { margin-bottom: 24px; padding: 15px 17px; border: 1px solid; border-radius: 10px; font-weight: 700; }
.notice--error { color: #7f2020; background: #fff0f0; border-color: #e7b7b7; }
.notice--success { color: #105c39; background: #ebf8f1; border-color: #a9d7bf; }

/* Articles, legal pages and sitemap */
.article-shell { padding-block: clamp(52px, 6vw, 84px); }
.article-intro { max-width: 900px; margin-bottom: 34px; }
.article-intro p { color: var(--muted); font-size: 1.08rem; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 285px; gap: clamp(40px, 6vw, 78px); align-items: start; }
.article-content { min-width: 0; }
.article-content > section,
.legal-content > section { margin-bottom: 44px; scroll-margin-top: 132px; }
.article-content h2 { margin-top: 0; font-size: clamp(1.75rem, 2.5vw, 2.55rem); }
.article-content h3 { margin-top: 28px; }
.article-content p,
.article-content li { color: #334d5e; }
.article-list { padding-left: 22px; }
.article-list li { margin-bottom: 8px; }
.article-list--numbered { counter-reset: article-step; padding: 0; list-style: none; }
.article-list--numbered li { position: relative; margin-bottom: 18px; padding: 18px 20px 18px 58px; background: var(--surface-alt); border: 1px solid var(--line); border-radius: 12px; counter-increment: article-step; }
.article-list--numbered li::before { position: absolute; top: 16px; left: 17px; display: grid; width: 30px; height: 30px; place-items: center; color: var(--white); background: var(--teal); border-radius: 50%; content: counter(article-step); font-weight: 900; }
.article-meta { display: flex; flex-wrap: wrap; gap: 9px 22px; margin-bottom: 28px; color: var(--muted); font-size: 0.84rem; }
.article-summary { padding: 24px; background: var(--teal-soft); border-left: 4px solid var(--teal); border-radius: 0 12px 12px 0; }
.article-callout { margin: 30px 0; padding: 24px; background: var(--orange-soft); border: 1px solid #f5c9a4; border-radius: 12px; }
.article-callout p:last-child { margin-bottom: 0; }
.article-callout strong { color: var(--orange-dark); }
.article-toc { position: sticky; top: 130px; }
.article-toc__inner { padding: 22px; background: var(--surface-alt); border: 1px solid var(--line); border-radius: 13px; }
.article-toc h2 { margin-bottom: 14px; font-size: 1.08rem; }
.article-toc ol { margin: 0 0 19px; padding-left: 20px; }
.article-toc li { margin-bottom: 7px; color: var(--muted); font-size: 0.84rem; }
.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) 310px; gap: clamp(42px, 6vw, 78px); align-items: start; }
.legal-contact { position: sticky; top: 130px; }
.table-wrap { max-width: 100%; overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 13px 15px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th { color: var(--ink-strong); background: var(--surface-alt); font-size: 0.86rem; }
tr:last-child td { border-bottom: 0; }
.sitemap-layout { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.sitemap-group { padding: 25px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.sitemap-group h2 { margin-bottom: 16px; font-size: 1.55rem; }
.sitemap-group ul { margin: 0; padding: 0; list-style: none; }
.sitemap-group li { padding: 12px 0; border-top: 1px solid var(--line); }
.sitemap-group li:first-child { border-top: 0; }
.sitemap-group a { color: var(--teal-dark); font-weight: 800; text-decoration: none; }
.sitemap-group span { display: block; margin-top: 4px; color: var(--muted); font-size: 0.83rem; line-height: 1.45; }

/* Printable project brief */
.project-brief { width: min(1020px, calc(100% - 48px)); margin: 0 auto; padding: 50px 0 80px; }
.brief-section { margin-bottom: 28px; padding: 24px; border: 1px solid var(--line); border-radius: 13px; }
.brief-section h3 { padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.brief-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.brief-grid label { display: grid; gap: 6px; color: var(--ink); font-weight: 800; }
.brief-grid label span { min-height: 38px; border-bottom: 1px solid #8ea6b5; }
.brief-checks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px 18px; }
.brief-prompt { color: var(--muted); font-style: italic; }
.brief-table { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.brief-table > div { display: grid; grid-template-columns: 1fr 1fr; }
.brief-table > div > * { padding: 12px; 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: 800; }
.write-lines { min-height: 84px; background: repeating-linear-gradient(transparent 0, transparent 27px, #c2d0d7 28px); }
.brief-footer { margin-top: 26px; color: var(--muted); font-size: 0.84rem; }

/* Footer */
.site-footer { color: #cfdee5; background: #041725; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.7fr 0.9fr 0.7fr;
  gap: clamp(28px, 5vw, 70px);
  padding-block: 52px 42px;
}
.site-footer h2 { margin-bottom: 15px; color: var(--white); font-size: 0.98rem; letter-spacing: 0; }
.site-footer ul { margin: 0; padding: 0; list-style: none; }
.site-footer li { margin-bottom: 8px; }
.site-footer a,
.footer-button { color: #cfdee5; background: none; border: 0; padding: 0; font-size: 0.87rem; text-decoration: none; cursor: pointer; }
.site-footer a:hover,
.footer-button:hover { color: var(--white); text-decoration: underline; }
.site-footer address { color: #cfdee5; font-size: 0.88rem; line-height: 1.7; }
.footer-brand > a { display: inline-flex; text-decoration: none; }
.footer-logo-lockup { display: grid; gap: 11px; }
.footer-logo__mark { display: inline-flex; width: 210px; padding: 9px 12px; background: var(--white); border-radius: 10px; }
.footer-logo { width: 100%; height: auto; object-fit: contain; }
.footer-logo__descriptor { color: #8adce7; font-size: 0.72rem; font-weight: 850; letter-spacing: 0.14em; text-transform: uppercase; }
.footer-brand p { max-width: 380px; margin: 17px 0 0; color: #abc0cb; font-size: 0.88rem; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-block: 18px 24px; border-top: 1px solid rgba(255, 255, 255, 0.1); }
.footer-bottom p { margin: 0; color: #91a9b5; font-size: 0.76rem; }

/* Compact privacy / video choice bar */
.cookie-panel {
  position: fixed;
  z-index: 500;
  right: 18px;
  bottom: 18px;
  left: 18px;
  width: min(1320px, calc(100% - 36px));
  min-height: 60px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  margin-inline: auto;
  padding: 9px 10px 9px 16px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.985);
  border: 1px solid #c7d7df;
  border-top: 3px solid var(--orange);
  border-radius: 14px;
  box-shadow: 0 18px 60px rgba(3, 24, 36, 0.26);
  backdrop-filter: blur(14px);
}
.cookie-panel:not([hidden]) { animation: privacy-in 260ms ease both; }
.cookie-panel__copy { min-width: 0; }
.cookie-panel h2 { display: inline; margin: 0 8px 0 0; font-size: 0.92rem; letter-spacing: -0.01em; }
.cookie-panel p { display: inline; margin: 0; color: var(--muted); font-size: 0.78rem; line-height: 1.45; }
.cookie-panel p a { color: var(--teal-dark); font-weight: 800; }
.cookie-panel .button-row,
.cookie-panel__actions { flex-wrap: nowrap; margin: 0; }
.cookie-panel__actions { display: flex; align-items: center; gap: 8px; }
@keyframes privacy-in { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }

/* Responsive navigation and layout */
@media (max-width: 1260px) {
  :root { --shell: 1160px; }
  .site-logo__mark { width: 185px; }
  .site-logo__descriptor { display: none; }
  .primary-nav a,
  .nav-group__button { padding-inline: 9px; font-size: 0.83rem; }
  .primary-nav .nav-contact { margin-left: 5px; padding-inline: 13px; }
  .card-grid--5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 1080px) {
  :root { --header-height: 109px; }
  .menu-toggle { display: block; flex: 0 0 auto; }
  .primary-nav {
    position: fixed;
    z-index: 210;
    top: var(--header-height);
    right: 0;
    bottom: 0;
    display: none;
    width: min(430px, 100%);
    padding: 18px 22px 36px;
    overflow-y: auto;
    background: var(--white);
    border-left: 1px solid var(--line);
    box-shadow: -20px 30px 60px rgba(3, 24, 36, 0.18);
  }
  .primary-nav.is-open { display: block; animation: menu-in 200ms ease both; }
  body.menu-open::before {
    position: fixed;
    z-index: 190;
    inset: var(--header-height) 0 0;
    background: rgba(3, 22, 34, 0.42);
    content: "";
    backdrop-filter: blur(2px);
  }
  @keyframes menu-in { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: translateX(0); } }
  .primary-nav > ul { display: grid; align-items: stretch; gap: 5px; }
  .primary-nav li { width: 100%; }
  .primary-nav a,
  .nav-group__button { width: 100%; justify-content: space-between; min-height: 48px; padding: 12px 13px; font-size: 0.94rem; }
  .primary-nav .nav-contact { justify-content: center; margin: 10px 0 0; }
  .nav-dropdown {
    position: static;
    width: 100%;
    grid-template-columns: 1fr;
    gap: 2px;
    margin: 0;
    padding: 0 0 0 12px;
    visibility: visible;
    opacity: 1;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    transform: none;
    max-height: 0;
    overflow: hidden;
    transition: max-height 260ms ease, padding 260ms ease;
  }
  .nav-dropdown::before { display: none; }
  .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: 5px 8px; transform: none; }
  .nav-dropdown a { min-height: 42px; font-size: 0.86rem; }
  .hero--home h1 { font-size: clamp(3rem, 7vw, 5.2rem); }
  .hero__grid,
  .split,
  .split--reverse,
  .planning-grid { grid-template-columns: 1fr 1fr; gap: 44px; }
  .process-list { 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) 250px; gap: 40px; }
  .footer-grid { grid-template-columns: 1.25fr 0.7fr 0.95fr; }
  .footer-grid > :last-child { grid-column: 2 / 4; }
}

@media (max-width: 860px) {
  :root { --header-height: 99px; }
  .topbar { min-height: 28px; }
  .topbar__inner { min-height: 28px; }
  .topbar__inner > span { display: none; }
  .topbar__inner > div { width: 100%; justify-content: space-between; gap: 12px; }
  .header-main { min-height: 68px; }
  .site-logo__mark { width: 192px; }
  .primary-nav { top: var(--header-height); }
  .hero--home { min-height: clamp(600px, calc(100svh - var(--header-height)), 760px); }
  .hero--home__inner { padding-block: 58px 76px; }
  .hero-video-overlay { background: linear-gradient(90deg, rgba(2, 18, 29, 0.94), rgba(2, 28, 40, 0.68)); }
  .hero--home__copy { max-width: 720px; }
  .hero--home h1 { max-width: 12.5ch; font-size: clamp(2.8rem, 8.2vw, 4.8rem); }
  .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: 330px; }
  .hero__image { height: 290px; }
  .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: 16px 0; border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
  .proof-strip__grid > div:last-child { border-bottom: 0; }
  .section-heading { grid-template-columns: 1fr; gap: 12px; }
  .card-grid--3,
  .card-grid--5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .video-grid { grid-template-columns: 1fr; }
  .video-card--large { grid-template-columns: 1fr; }
  .video-card--large .video-card__media { border-right: 0; border-bottom: 1px solid var(--line); }
  .process-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .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: 22px; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid > :last-child { grid-column: auto; }
  .cookie-panel { grid-template-columns: 1fr; gap: 11px; padding: 14px 16px; }
  .cookie-panel__actions { justify-content: flex-start; }
}

@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.25rem, 11vw, 3.35rem); }
  h2 { font-size: clamp(1.8rem, 8.2vw, 2.55rem); }
  .topbar { font-size: 0.71rem; }
  .topbar__inner > div { gap: 8px; }
  .site-logo__mark { width: min(180px, 58vw); }
  .header-main { gap: 14px; }
  .primary-nav { width: 100%; padding-inline: 15px; }
  .hero--home {
    min-height: calc(100svh - var(--header-height));
    max-height: none;
    align-items: end;
  }
  .hero-background-video iframe { min-width: 190vh; transform: translate(-50%, -50%) scale(1.08); }
  .hero-video-overlay { background: linear-gradient(0deg, rgba(2, 18, 29, 0.97) 0%, rgba(2, 22, 34, 0.89) 56%, rgba(2, 32, 45, 0.58) 100%); }
  .hero--home__inner { align-items: end; padding-block: 32px 112px; }
  .hero--home h1 { max-width: 12ch; margin-bottom: 16px; font-size: clamp(2.35rem, 11.7vw, 3.35rem); line-height: 0.99; }
  .hero--home .lede { font-size: 1rem; line-height: 1.5; }
  .hero--home .button-row { margin-top: 22px; }
  .hero--home .button-row .button { width: 100%; }
  .hero--home .hero-points { display: none; }
  .hero-video-credit { right: 14px; bottom: 10px; display: none; }
  .hero--standard { padding-block: 42px; }
  .hero__media { min-height: 270px; padding: 18px; }
  .hero__image { height: 235px; }
  .hero__badge { right: 10px; bottom: 10px; }
  .section { padding-block: 52px; }
  .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: 220px; }
  .card__body { min-height: 0; }
  .image-frame,
  .planning-grid > div:first-child { min-height: 285px; padding: 16px; }
  .image-frame__image,
  .planning-image { height: 250px; }
  .button-row { align-items: stretch; }
  .button-row .button { flex: 1 1 100%; }
  .video-card__media,
  .video-card__image { min-height: 230px; height: 230px; }
  .video-card--large .video-card__media,
  .video-card--large .video-card__image { min-height: 250px; height: 250px; }
  .contact-panel address { padding: 22px; }
  .footer-bottom { display: grid; }
  .cookie-panel {
    right: 10px;
    bottom: 8px;
    left: 10px;
    width: calc(100% - 20px);
    gap: 7px;
    padding: 8px 10px;
    border-radius: 11px;
  }
  .cookie-panel__copy { line-height: 1.18; }
  .cookie-panel h2,
  .cookie-panel p { display: inline; }
  .cookie-panel h2 { margin: 0 6px 0 0; font-size: 0.83rem; }
  .cookie-panel p { font-size: 0.72rem; line-height: 1.25; }
  .cookie-panel__message { display: none; }
  .cookie-panel__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
  .cookie-panel__actions .button { min-height: 36px; padding: 7px 8px; border-radius: 8px; font-size: 0.73rem; }
  .brief-table > div { grid-template-columns: 1fr; }
  .brief-table > div > * { border-right: 0; }
}

@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 iframe { display: none; }
}

@media print {
  .site-header,
  .breadcrumbs,
  .site-footer,
  .cookie-panel,
  .button-row,
  .article-toc,
  .cta-band { 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; }
}

/* --------------------------------------------------------------------------
   Automatic Packaging Lines — v4 visual system
   Local hero video, stronger colour rhythm, cleaner navigation and imagery.
   -------------------------------------------------------------------------- */

:root {
  --ink: #0a263a;
  --ink-strong: #031b2b;
  --muted: #4d6678;
  --navy: #041d31;
  --navy-2: #073f5d;
  --teal: #009bb0;
  --teal-dark: #006f82;
  --cyan: #46d8e8;
  --blue: #315bd6;
  --purple: #6d5bd6;
  --lime: #a8d84f;
  --orange: #ff8a2a;
  --orange-dark: #d95c0c;
  --orange-soft: #fff0e3;
  --teal-soft: #e4f8fa;
  --surface-alt: #f3f8fb;
  --surface-strong: #e8f1f6;
  --line: #d1e0e8;
  --line-dark: #afc7d2;
  --shadow-sm: 0 10px 28px rgba(4, 35, 53, 0.09);
  --shadow-md: 0 20px 54px rgba(4, 35, 53, 0.15);
  --shadow-lg: 0 34px 90px rgba(2, 23, 38, 0.26);
  --radius: 18px;
  --radius-lg: 26px;
  --header-height: 110px;
}

body {
  background:
    radial-gradient(circle at 5% 12%, rgba(70, 216, 232, 0.06), transparent 22rem),
    radial-gradient(circle at 96% 42%, rgba(255, 138, 42, 0.05), transparent 28rem),
    #ffffff;
}

h1, h2, h3, h4 { text-wrap: pretty; }

.button {
  border-radius: 12px;
  background: linear-gradient(135deg, #00a7bb, #08758a 78%);
  box-shadow: 0 10px 26px rgba(0, 144, 164, 0.22);
}
.button:hover {
  background: linear-gradient(135deg, #008da3, #055d72 78%);
  box-shadow: 0 16px 34px rgba(0, 132, 151, 0.29);
}
.button--accent {
  background: linear-gradient(135deg, #ffb15e, #ff8626 70%);
  box-shadow: 0 12px 30px rgba(255, 129, 30, 0.31);
}
.button--accent:hover {
  background: linear-gradient(135deg, #ffc078, #f47616 72%);
  box-shadow: 0 17px 38px rgba(255, 119, 18, 0.38);
}
.button--secondary {
  background: rgba(255, 255, 255, 0.94);
  border-color: #b9d0da;
}

/* Header and menu */
.site-header {
  background: rgba(255, 255, 255, 0.975);
  border-bottom-color: rgba(150, 181, 195, 0.72);
  box-shadow: 0 8px 28px rgba(3, 29, 45, 0.09);
  backdrop-filter: blur(15px);
}
.topbar {
  color: #eefbfc;
  background: linear-gradient(90deg, #041d31 0%, #075069 58%, #0a6574 100%);
  border-bottom: 2px solid transparent;
  border-image: linear-gradient(90deg, var(--orange), #ffd05f, var(--cyan)) 1;
}
.topbar__inner > span::before {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 9px;
  background: var(--lime);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(168, 216, 79, 0.14);
  content: "";
}
.header-main { min-height: 76px; gap: 24px; }
.site-logo { gap: 13px; }
.site-logo__mark {
  width: clamp(184px, 15vw, 228px);
  min-height: 44px;
  padding: 3px 0;
}
.site-logo__descriptor {
  padding-left: 14px;
  color: #315367;
  border-left: 2px solid #d6e4ea;
  letter-spacing: 0.14em;
}
.site-logo__descriptor strong { color: #154a76; }

@media (min-width: 1081px) {
  .primary-nav > ul {
    gap: 2px;
    padding: 5px;
    background: linear-gradient(180deg, #f8fbfc, #edf4f7);
    border: 1px solid #d4e2e8;
    border-radius: 15px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
  }
  .primary-nav a,
  .nav-group__button {
    min-height: 40px;
    padding: 9px 12px;
    border-radius: 10px;
    transition: color var(--transition), background var(--transition), box-shadow var(--transition), transform var(--transition);
  }
  .primary-nav > ul > li:not(:last-child) > a:hover,
  .primary-nav > ul > li:not(:last-child) > .nav-group__button:hover,
  .nav-group.is-open > .nav-group__button {
    color: #005f73;
    background: linear-gradient(135deg, #def7fa, #eef7ff);
    box-shadow: 0 5px 14px rgba(7, 96, 116, 0.09);
  }
  .nav-group__button > span {
    color: var(--teal-dark);
    font-size: 0.95rem;
    transition: transform var(--transition);
  }
  .nav-group.is-open > .nav-group__button > span { transform: rotate(180deg); }
  .nav-dropdown {
    padding: 13px;
    border: 1px solid #cbdde5;
    border-top: 4px solid var(--teal);
    border-radius: 14px;
    box-shadow: 0 26px 58px rgba(3, 30, 47, 0.2);
  }
  .nav-dropdown::after {
    position: absolute;
    top: -4px;
    right: 18px;
    left: 18px;
    height: 4px;
    background: linear-gradient(90deg, var(--teal), var(--cyan), var(--orange));
    content: "";
  }
  .nav-dropdown a {
    border-left: 3px solid transparent;
  }
  .nav-dropdown a:hover,
  .nav-dropdown a[aria-current="page"] {
    color: #054d61;
    background: linear-gradient(90deg, #e5f8fa, #f5fbfc);
    border-left-color: var(--orange);
  }
  .primary-nav .nav-contact {
    min-height: 42px;
    margin-left: 6px;
    padding-inline: 17px;
    color: #071f2f;
    background: linear-gradient(135deg, #ffb45e, #ff8424);
    box-shadow: 0 8px 22px rgba(255, 126, 30, 0.25);
  }
  .primary-nav .nav-contact:hover {
    color: #071f2f;
    background: linear-gradient(135deg, #ffc879, #f46e11);
    transform: translateY(-1px);
  }
}

/* Local production-line hero */
.hero--home {
  height: calc(100svh - var(--header-height));
  min-height: 620px;
  max-height: 850px;
  background: #041827;
}
.hero-background-video {
  background:
    linear-gradient(135deg, rgba(6, 74, 96, 0.32), rgba(4, 22, 36, 0.18)),
    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 48%;
  filter: saturate(1.18) contrast(1.07) brightness(0.88);
  transform: scale(1.025);
}
.hero-video-overlay {
  background:
    linear-gradient(90deg, rgba(2, 16, 27, 0.97) 0%, rgba(3, 24, 39, 0.91) 37%, rgba(3, 37, 53, 0.63) 66%, rgba(4, 37, 50, 0.42) 100%),
    linear-gradient(0deg, rgba(2, 17, 28, 0.82) 0%, rgba(2, 20, 31, 0.08) 52%, rgba(2, 20, 31, 0.36) 100%);
}
.hero--home::before {
  position: absolute;
  z-index: -1;
  top: -170px;
  right: 7%;
  width: 470px;
  height: 470px;
  background: radial-gradient(circle, rgba(70, 216, 232, 0.26), rgba(70, 216, 232, 0) 68%);
  content: "";
  pointer-events: none;
}
.hero--home::after {
  right: -90px;
  bottom: -190px;
  width: 560px;
  height: 560px;
  background: radial-gradient(circle, rgba(255, 138, 42, 0.34), rgba(255, 138, 42, 0) 69%);
}
.hero--home__inner {
  min-height: 100%;
  padding-block: clamp(42px, 6vh, 66px);
}
.hero--home__copy { max-width: 880px; }
.hero--home .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  padding: 8px 13px;
  color: #c9fbff;
  background: rgba(6, 99, 117, 0.36);
  border: 1px solid rgba(112, 230, 239, 0.32);
  border-radius: 999px;
  letter-spacing: 0.15em;
  backdrop-filter: blur(8px);
}
.hero--home .eyebrow::before {
  width: 8px;
  height: 8px;
  background: var(--orange);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(255, 138, 42, 0.17);
  content: "";
}
.hero--home h1 {
  max-width: 15ch;
  margin-bottom: 20px;
  font-size: clamp(3.45rem, 5.25vw, 5.65rem);
  line-height: 0.96;
  letter-spacing: -0.06em;
  text-shadow: 0 12px 38px rgba(0, 0, 0, 0.42);
}
.hero--home h1 span {
  display: block;
  color: #ffae5b;
  text-shadow: 0 10px 36px rgba(0, 0, 0, 0.48), 0 0 34px rgba(255, 138, 42, 0.13);
}
.hero--home .lede {
  max-width: 730px;
  color: #eef9fb;
  font-size: clamp(1.05rem, 1.28vw, 1.2rem);
  line-height: 1.55;
}
.hero--home .button-row { margin-top: 24px; }
.hero--home .hero-points {
  max-width: none;
  gap: 9px;
  margin-top: 22px;
}
.hero--home .hero-points li {
  padding: 8px 12px 8px 31px;
  color: #effbfc;
  background: rgba(2, 28, 43, 0.58);
  border: 1px solid rgba(164, 224, 232, 0.24);
  border-radius: 999px;
  font-size: 0.82rem;
  backdrop-filter: blur(8px);
}
.hero--home .hero-points li::before {
  top: 50%;
  left: 12px;
  width: 8px;
  height: 8px;
  transform: translateY(-50%);
}
.hero-video-toggle {
  position: absolute;
  z-index: 4;
  right: 24px;
  bottom: 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 8px 12px;
  color: #f4fbfc;
  background: rgba(2, 22, 34, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.27);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 800;
  cursor: pointer;
  backdrop-filter: blur(10px);
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
}
.hero-video-toggle:hover {
  background: rgba(3, 50, 66, 0.86);
  border-color: rgba(95, 226, 237, 0.52);
  transform: translateY(-1px);
}
.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; }

/* Stronger section rhythm and colour */
.section {
  position: relative;
  padding-block: clamp(62px, 6.6vw, 92px);
  background:
    radial-gradient(circle at 92% 8%, rgba(70, 216, 232, 0.055), transparent 18rem),
    #ffffff;
}
.section--soft {
  background:
    radial-gradient(circle at 5% 5%, rgba(70, 216, 232, 0.15), transparent 22rem),
    radial-gradient(circle at 96% 92%, rgba(255, 138, 42, 0.11), transparent 25rem),
    linear-gradient(135deg, #f5fbfc 0%, #f7f8ff 52%, #fff9f3 100%);
  border-block: 1px solid #deebf0;
}
.section--dark {
  color: #eaf7fa;
  background:
    radial-gradient(circle at 14% 12%, rgba(70, 216, 232, 0.2), transparent 24rem),
    radial-gradient(circle at 88% 88%, rgba(255, 138, 42, 0.18), transparent 26rem),
    linear-gradient(135deg, #031826 0%, #07364d 55%, #064c5a 100%);
}
.section--dark h2,
.section--dark h3,
.section--dark p { color: #f4fbfc; }
.section--video {
  background:
    radial-gradient(circle at 8% 18%, rgba(49, 91, 214, 0.13), transparent 23rem),
    radial-gradient(circle at 92% 82%, rgba(255, 138, 42, 0.12), transparent 23rem),
    linear-gradient(145deg, #f4f8ff, #effbfc 55%, #fff7ef);
  border-block: 1px solid #d8e7ee;
}
.section-heading {
  align-items: end;
  margin-bottom: 34px;
}
.section-heading > p,
.section-intro { color: #536b7b; }
.eyebrow {
  color: #007f94;
  letter-spacing: 0.17em;
}

/* Proof points */
.proof-strip {
  background: linear-gradient(100deg, #041d31 0%, #07536a 58%, #087b83 100%);
  border: 0;
}
.proof-strip::before {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 138, 42, 0.12), transparent 36%, rgba(70, 216, 232, 0.12));
  content: "";
  pointer-events: none;
}
.proof-strip__grid > div { position: relative; }
.proof-strip__grid > div::before {
  position: absolute;
  top: 50%;
  left: 14px;
  width: 9px;
  height: 42px;
  background: linear-gradient(180deg, var(--orange), #ffd35b);
  border-radius: 999px;
  content: "";
  transform: translateY(-50%);
}
.proof-strip__grid > div:nth-child(2)::before { background: linear-gradient(180deg, var(--cyan), #58a7ff); }
.proof-strip__grid > div:nth-child(3)::before { background: linear-gradient(180deg, var(--lime), var(--cyan)); }
.proof-strip__grid > div { padding-left: 38px; }
.proof-strip__grid > div:first-child { padding-left: 24px; }
.proof-strip__grid > div:first-child::before { left: 0; }

/* Cards and image presentation */
.card,
.video-card,
.info-panel,
.faq-item,
.article-callout,
.brief-section,
.sitemap-group {
  border-color: #cddfe7;
  border-radius: 20px;
  box-shadow: 0 14px 38px rgba(4, 36, 54, 0.09);
}
.card {
  position: relative;
  overflow: clip;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdfe 100%);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}
.card::before {
  position: absolute;
  z-index: 2;
  top: 0;
  right: 0;
  left: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--teal), var(--cyan), var(--orange));
  content: "";
}
.card-grid > .card:nth-child(3n + 2)::before { background: linear-gradient(90deg, var(--blue), var(--purple), var(--orange)); }
.card-grid > .card:nth-child(3n + 3)::before { background: linear-gradient(90deg, var(--orange), #ffd35a, var(--lime)); }
.card:hover {
  border-color: #9fc8d4;
  box-shadow: 0 24px 58px rgba(4, 38, 58, 0.16);
  transform: translateY(-6px);
}
.card__body { padding: 27px; }
.card__body h3 a { text-decoration: none; }
.card__body h3 a:hover { color: var(--teal-dark); }
.card__image {
  height: 255px;
  padding: 22px;
  object-fit: contain;
  object-position: center;
  background:
    radial-gradient(circle at 50% 46%, rgba(255, 255, 255, 0.98) 0 38%, rgba(226, 247, 249, 0.78) 70%, rgba(207, 232, 239, 0.72) 100%);
  border-bottom: 1px solid #d4e5eb;
  filter: drop-shadow(0 15px 15px rgba(3, 35, 52, 0.14));
}
.card-grid > .card:nth-child(3n + 2) .card__image {
  background: radial-gradient(circle at 50% 46%, #fff 0 38%, #eef0ff 70%, #dde5fa 100%);
}
.card-grid > .card:nth-child(3n + 3) .card__image {
  background: radial-gradient(circle at 50% 46%, #fff 0 38%, #fff2e6 70%, #f8e1cd 100%);
}
.icon-card { padding-top: 30px; }
.card-number {
  color: #ffffff;
  background: linear-gradient(135deg, var(--teal), var(--blue));
  box-shadow: 0 9px 20px rgba(0, 134, 158, 0.2);
}
.card-grid > .icon-card:nth-child(4n + 2) .card-number { background: linear-gradient(135deg, var(--blue), var(--purple)); }
.card-grid > .icon-card:nth-child(4n + 3) .card-number { background: linear-gradient(135deg, var(--orange), #e85757); }
.card-grid > .icon-card:nth-child(4n + 4) .card-number { color: #17310c; background: linear-gradient(135deg, var(--lime), #50c9a9); }

/* Standard page heroes and prominent imagery */
.hero--standard {
  background:
    radial-gradient(circle at 12% 5%, rgba(70, 216, 232, 0.13), transparent 22rem),
    radial-gradient(circle at 94% 92%, rgba(255, 138, 42, 0.11), transparent 23rem),
    linear-gradient(135deg, #f8fcfd 0%, #f3f6ff 54%, #fff8f1 100%);
}
.hero__media,
.image-frame,
.planning-grid > div:first-child {
  background:
    linear-gradient(#ffffff, #ffffff) padding-box,
    linear-gradient(135deg, var(--cyan), var(--blue) 48%, var(--orange)) border-box;
  border: 3px solid transparent;
  border-radius: 26px;
  box-shadow: 0 24px 60px rgba(4, 35, 53, 0.18);
}
.hero__media::before {
  right: -12px;
  bottom: -12px;
  background: linear-gradient(135deg, #ffab54, var(--orange));
  opacity: 0.92;
}
.hero__image,
.image-frame__image,
.planning-image {
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 18px 18px rgba(3, 31, 47, 0.16));
}
.hero__badge {
  background: linear-gradient(135deg, #05243a, #08748a);
  border-color: rgba(112, 230, 239, 0.28);
}

.video-card {
  overflow: clip;
  background: #ffffff;
  transition: transform 220ms ease, box-shadow 220ms ease;
}
.video-card:hover { box-shadow: 0 24px 58px rgba(4, 38, 58, 0.16); transform: translateY(-5px); }
.video-card__media {
  background:
    radial-gradient(circle at 50% 48%, #ffffff 0 40%, #e8f7fa 72%, #dbeaf0 100%);
  border-bottom-color: #cfe0e7;
}
.video-card__image {
  padding: 20px;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 16px 16px rgba(3, 35, 52, 0.15));
}
.video-play {
  background: linear-gradient(135deg, #ffac55, var(--orange));
  border: 4px solid rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 32px rgba(4, 29, 45, 0.28);
}

/* Process, outcomes, notices and FAQs */
.process-list > *,
.outcome,
.link-card {
  border-color: #cbdde5;
  box-shadow: 0 12px 34px rgba(4, 35, 53, 0.08);
}
.process-list > * { position: relative; overflow: hidden; }
.process-list > *::after {
  position: absolute;
  right: -28px;
  bottom: -28px;
  width: 90px;
  height: 90px;
  background: radial-gradient(circle, rgba(70, 216, 232, 0.17), transparent 69%);
  content: "";
}
.outcome {
  border-left: 5px solid var(--teal);
  background: linear-gradient(135deg, #ffffff, #f5fbfc);
}
.outcomes-grid > .outcome:nth-child(3n + 2) { border-left-color: var(--orange); background: linear-gradient(135deg, #ffffff, #fff7ef); }
.outcomes-grid > .outcome:nth-child(3n + 3) { border-left-color: var(--purple); background: linear-gradient(135deg, #ffffff, #f6f4ff); }
.faq-item {
  overflow: hidden;
  background: rgba(255, 255, 255, 0.92);
}
.faq-item[open] {
  border-color: #8fcbd6;
  box-shadow: 0 18px 42px rgba(4, 41, 59, 0.12);
}
.faq-item summary::after { color: var(--orange-dark); }
.notice {
  border-left: 5px solid var(--teal);
  background: linear-gradient(90deg, #e8f8fa, #f8fcfd);
}

/* Calls to action and footer */
.cta-band,
.contact-panel {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 15%, rgba(70, 216, 232, 0.25), transparent 24rem),
    radial-gradient(circle at 90% 82%, rgba(255, 138, 42, 0.26), transparent 26rem),
    linear-gradient(120deg, #041d31 0%, #07516b 56%, #087a7c 100%);
}
.cta-band::before,
.contact-panel::before {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(120deg, rgba(255, 255, 255, 0.025) 0 2px, transparent 2px 22px);
  content: "";
  pointer-events: none;
}
.contact-panel address {
  background: rgba(255, 255, 255, 0.11);
  border: 1px solid rgba(255, 255, 255, 0.24);
  box-shadow: 0 18px 42px rgba(1, 20, 31, 0.18);
  backdrop-filter: blur(10px);
}
.site-footer {
  background:
    radial-gradient(circle at 8% 15%, rgba(70, 216, 232, 0.13), transparent 22rem),
    linear-gradient(135deg, #02131f, #052b40 62%, #064654);
  border-top: 4px solid transparent;
  border-image: linear-gradient(90deg, var(--orange), var(--cyan), var(--lime)) 1;
}
.site-footer h2 { color: #8eeaf1; }
.site-footer a:hover { color: #ffbd78; }

/* Forms */
.form-field input,
.form-field textarea,
.form-field select {
  border-color: #bcd1dc;
  border-radius: 11px;
  background: #fbfdfe;
}
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(0, 155, 176, 0.13);
}

/* Responsive refinements */
@media (max-width: 1260px) and (min-width: 1081px) {
  .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 { padding-inline: 12px; }
}

@media (max-width: 1080px) {
  :root { --header-height: 108px; }
  .menu-toggle {
    background: linear-gradient(135deg, #e8f8fa, #f4f6ff);
    border-color: #bdd3dc;
    box-shadow: 0 7px 18px rgba(4, 35, 53, 0.1);
  }
  .primary-nav {
    background:
      radial-gradient(circle at 100% 0, rgba(70, 216, 232, 0.16), transparent 18rem),
      linear-gradient(180deg, #ffffff, #f5f9fb);
    border-left-color: #bfd3dc;
  }
  .primary-nav > ul { gap: 7px; }
  .primary-nav a,
  .nav-group__button {
    border: 1px solid transparent;
    border-radius: 11px;
  }
  .primary-nav a:hover,
  .nav-group__button:hover,
  .nav-group.is-open > .nav-group__button {
    color: #006f82;
    background: #e6f7f9;
    border-color: #c3e2e8;
  }
  .nav-dropdown a { background: rgba(255, 255, 255, 0.78); }
  .primary-nav .nav-contact {
    color: #081f2c;
    background: linear-gradient(135deg, #ffb25f, #ff8424);
  }
  .hero--home h1 { font-size: clamp(3.15rem, 7.4vw, 5.15rem); }
}

@media (max-width: 860px) {
  :root { --header-height: 99px; }
  .hero--home {
    height: calc(100svh - var(--header-height));
    min-height: 570px;
    max-height: 760px;
  }
  .hero--home__inner { padding-block: 42px 74px; }
  .hero--home h1 {
    max-width: 13ch;
    font-size: clamp(2.85rem, 8.7vw, 4.6rem);
  }
  .hero-video-overlay {
    background:
      linear-gradient(90deg, rgba(2, 16, 27, 0.96), rgba(2, 26, 40, 0.78)),
      linear-gradient(0deg, rgba(2, 17, 28, 0.8), transparent 60%);
  }
  .proof-strip__grid > div { padding-left: 34px; }
  .proof-strip__grid > div:first-child { padding-left: 34px; }
  .proof-strip__grid > div:first-child::before { left: 14px; }
}

@media (max-width: 620px) {
  .hero--home {
    height: auto;
    min-height: calc(100svh - var(--header-height));
    max-height: none;
  }
  .hero-background-video video {
    object-position: 58% center;
    transform: scale(1.04);
  }
  .hero-video-overlay {
    background:
      linear-gradient(0deg, rgba(2, 15, 25, 0.98) 0%, rgba(2, 20, 32, 0.91) 58%, rgba(3, 38, 52, 0.58) 100%),
      linear-gradient(90deg, rgba(2, 15, 25, 0.7), rgba(2, 15, 25, 0.25));
  }
  .hero--home__inner {
    align-items: end;
    padding-block: 34px 94px;
  }
  .hero--home .eyebrow {
    padding: 7px 10px;
    font-size: 0.68rem;
  }
  .hero--home h1 {
    max-width: 12.5ch;
    margin-bottom: 15px;
    font-size: clamp(2.45rem, 11.5vw, 3.35rem);
  }
  .hero--home .lede { font-size: 0.98rem; line-height: 1.48; }
  .hero--home .button-row { margin-top: 19px; }
  .hero-video-toggle {
    right: 12px;
    bottom: 11px;
    width: 40px;
    min-height: 40px;
    justify-content: center;
    padding: 8px;
  }
  .hero-video-toggle [data-hero-video-label] { display: none; }
  .section { padding-block: 56px; }
  .card__image { height: 225px; padding: 17px; }
  .hero__media,
  .image-frame,
  .planning-grid > div:first-child { border-width: 2px; }
  .proof-strip__grid > div,
  .proof-strip__grid > div:first-child,
  .proof-strip__grid > div:last-child {
    padding: 15px 15px 15px 34px;
  }
  .proof-strip__grid > div::before,
  .proof-strip__grid > div:first-child::before { left: 13px; height: 34px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-background-video video { display: none; }
  .hero-video-toggle { display: none; }
  .card:hover,
  .video-card:hover { transform: none; }
}

@media print {
  .hero-background-video video,
  .hero-video-toggle { display: none !important; }
  .section,
  .hero--standard,
  .site-footer { background: #fff !important; }
}

/* Mobile navigation must remain viewport-sized. A backdrop filter on the sticky
   header creates a containing block for fixed children in Chromium, which can
   collapse the open menu to the height of a single row. */
@media (max-width: 1080px) {
  .site-header { backdrop-filter: none; }
  .primary-nav {
    height: calc(100dvh - var(--header-height));
    max-height: calc(100dvh - var(--header-height));
    overscroll-behavior: contain;
  }
  .primary-nav.is-open {
    border-top: 4px solid transparent;
    border-image: linear-gradient(90deg, var(--orange), var(--cyan), var(--lime)) 1;
  }
}
