/* =========================================================
   GKS Healthsol LLP — site styles
   Calm, clinical system: cream canvas, deep navy, sky accent,
   condensed serif headlines over full-bleed photography.
   ========================================================= */

:root {
  --cream: #fdf8ee;
  --cream-2: #f6f0e3;
  --cream-3: #fff3e6;
  --navy: #0b1b3a;
  --navy-2: #0f2a5c;
  --blue: #045392;           /* GKS brand blue */
  --sky: #a6d6e5;
  --sky-2: #cfe9f1;
  --ink: #0b1b3a;
  --ink-soft: #4f5569;
  --ink-mute: #7b8092;
  --line: #ddd5c5;
  --line-dark: rgba(255, 255, 255, .14);
  --white: #fff;

  --font-head: "Plus Jakarta Sans", "Onest", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Onest", system-ui, -apple-system, "Segoe UI", sans-serif;

  --r-xs: 10px;
  --r-sm: 14px;
  --r-md: 18px;
  --r-lg: 28px;
  --r-xl: 44px;
  --pill: 999px;

  --container: 1320px;
  --gutter: 30px;
  --section: clamp(80px, 11vw, 150px);

  --shadow-soft: 0 1px 2px rgba(11, 27, 58, .04), 0 12px 32px -12px rgba(11, 27, 58, .16);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: 0.01em;
  color: inherit;
}
p { margin: 0; }
[id] { scroll-margin-top: 150px; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  padding: 12px 18px; border-radius: var(--pill); background: var(--navy); color: var(--cream);
  font-weight: 500; transition: top .2s;
}
.skip-link:focus { top: 12px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ---------- Layout ---------- */
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.container-sm { max-width: calc(1060px + var(--gutter) * 2); }
.container-xs { max-width: calc(760px + var(--gutter) * 2); }
.section { padding: var(--section) 0; }
.section-top { padding-top: var(--section); }
.section-bottom { padding-bottom: var(--section); }
.center { text-align: center; }

/* ---------- Type scale ---------- */
.h1 { font-size: clamp(2.34rem, 6.12vw, 5.4rem); line-height: 1.04; letter-spacing: 0.01em; }
.h2 { font-size: clamp(1.89rem, 3.96vw, 3.15rem); letter-spacing: 0.01em; }
.h3 { font-size: clamp(1.57rem, 2.79vw, 2.43rem); }
.h4 { font-size: clamp(1.26rem, 1.98vw, 1.71rem); }
.h5 { font-size: 1.26rem; line-height: 1.2; }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.25rem); color: var(--ink-soft); line-height: 1.55; }
.muted { color: var(--ink-soft); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .8rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
  color: var(--blue);
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: currentColor; }
.on-dark .eyebrow, .eyebrow.light { color: var(--sky); }
.section-head { max-width: 760px; margin: 0 auto 64px; text-align: center; }
.section-head .eyebrow { margin-bottom: 18px; }
.section-head .lead { margin-top: 20px; }
.section-head.left { margin-left: 0; text-align: left; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 24px;
  border-radius: var(--pill); border: 1px solid transparent;
  font-size: 15px; font-weight: 500; line-height: 1; white-space: nowrap;
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn svg { width: 16px; height: 16px; flex: none; transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-sky { background: var(--sky); color: var(--navy); }
.btn-sky:hover { background: var(--sky-2); }
.btn-navy { background: var(--navy); color: var(--cream); }
.btn-navy:hover { background: var(--navy-2); }
.btn-ghost { border-color: rgba(11, 27, 58, .2); color: var(--navy); background: transparent; }
.btn-ghost:hover { border-color: var(--navy); }
.btn-ghost-light { border-color: rgba(255, 255, 255, .28); color: var(--cream); background: rgba(255, 255, 255, .04); backdrop-filter: blur(6px); }
.btn-ghost-light:hover { border-color: var(--cream); background: rgba(255, 255, 255, .1); }
.btn-dark-glass { background: rgba(5, 14, 32, .55); color: var(--cream); backdrop-filter: blur(8px); }
.btn-dark-glass:hover { background: rgba(5, 14, 32, .8); }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: 14px; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; color: var(--navy); border-bottom: 1px solid currentColor; padding-bottom: 3px; }
.link-arrow svg { width: 14px; height: 14px; transition: transform .3s var(--ease); }
.link-arrow:hover svg { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(253, 248, 238, .86);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  transition: box-shadow .3s var(--ease);
}
.site-header.scrolled { box-shadow: 0 1px 0 rgba(11, 27, 58, .08); }
.nav { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 84px; gap: 24px; }
.brand { display: inline-flex; align-items: center; }
.brand img { height: 46px; width: auto; }
.nav-links { display: flex; gap: 6px; }
.nav-links a {
  position: relative; padding: 10px 14px; border-radius: var(--pill);
  font-size: 15px; color: var(--ink); transition: background-color .25s var(--ease);
}
.nav-links a:hover { background: var(--cream-2); }
.nav-links a[aria-current="page"] { background: var(--cream-2); }
.nav-actions { display: flex; align-items: center; justify-content: flex-end; gap: 18px; }
.nav-phone { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 500; white-space: nowrap; }
.nav-phone svg { width: 16px; height: 16px; color: var(--blue); }
.nav-toggle {
  display: none; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid rgba(11, 27, 58, .15); background: transparent;
  align-items: center; justify-content: center;
}
.nav-toggle span { position: relative; width: 18px; height: 1.5px; background: var(--navy); transition: background .2s; }
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 1.5px; background: var(--navy);
  transition: transform .3s var(--ease);
}
.nav-toggle span::before { transform: translateY(-6px); }
.nav-toggle span::after { transform: translateY(6px); }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: rotate(45deg); }
.nav-open .nav-toggle span::after { transform: rotate(-45deg); }

.mobile-menu {
  display: none; position: fixed; inset: 84px 0 0 0; z-index: 49;
  background: var(--cream); padding: 24px 16px 40px; overflow-y: auto;
}
.mobile-menu a.m-link, .mobile-menu summary.m-link {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 4px; border-bottom: 1px solid var(--line);
  font-family: var(--font-head); font-weight: 600; font-size: 1.7rem;
}
.mobile-menu .m-actions { display: grid; gap: 12px; margin-top: 28px; }
.nav-open .mobile-menu { display: block; }
.nav-open { overflow: hidden; }

/* ---------- Hero ---------- */
.hero-wrap { padding: 0 12px; }
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: calc(100vh - 96px); min-height: calc(100svh - 96px);
  border-radius: var(--r-xl);
  background: var(--navy);
  color: var(--cream);
  display: flex; flex-direction: column; justify-content: center;
  padding: 120px 0 200px;
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img, .hero-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(.35) contrast(1.05); transform: scale(1.06); }
.hero-media video { opacity: 0; transition: opacity 1.4s var(--ease); }
.hero-media video.is-playing { opacity: 1; }
.video-toggle {
  position: absolute; right: 22px; bottom: 22px; z-index: 3;
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid rgba(255, 255, 255, .25); background: rgba(8, 18, 40, .45); color: var(--cream);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transition: background .25s, border-color .25s;
}
.video-toggle:hover { background: rgba(8, 18, 40, .75); border-color: rgba(255, 255, 255, .5); }
.video-toggle svg { width: 16px; height: 16px; }
.video-toggle .i-play, .video-toggle.is-paused .i-pause { display: none; }
.video-toggle.is-paused .i-play { display: block; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(120% 70% at 50% 0%, rgba(11, 27, 58, .55) 0%, rgba(11, 27, 58, .92) 60%),
    linear-gradient(180deg, rgba(11, 27, 58, .85) 0%, rgba(11, 27, 58, .6) 45%, rgba(4, 83, 146, .55) 100%);
}
.hero-inner { text-align: center; max-width: 1100px; margin: 0 auto; }
.badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px; border-radius: var(--pill);
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14);
  font-size: 13px; font-weight: 500; letter-spacing: .01em; color: var(--cream);
  backdrop-filter: blur(8px); white-space: nowrap;
}
.badge .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--sky); }
.hero h1 { margin: 28px auto 26px; max-width: 16ch; }
.hero h1 em { font-style: italic; color: var(--sky); }
.hero .lead { color: rgba(253, 248, 238, .78); max-width: 600px; margin: 0 auto; }
.hero-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 36px; }
.hero-checks { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 30px; margin-top: 44px; font-size: 15px; color: rgba(253, 248, 238, .85); }
.hero-checks li { display: inline-flex; align-items: center; gap: 10px; }
.check {
  flex: none; width: 20px; height: 20px; border-radius: 50%;
  display: inline-grid; place-items: center; background: var(--sky); color: var(--navy);
}
.check svg { width: 11px; height: 11px; }

/* floating "made simpler" card overlapping the hero */
.float-card {
  position: relative; z-index: 2;
  width: min(880px, calc(100% - 32px));
  margin: -112px auto 0;
  background: var(--white); border-radius: var(--r-lg);
  box-shadow: var(--shadow-soft);
  padding: 26px 28px;
  display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center;
}
.float-card h2 { font-size: 1.26rem; max-width: 12ch; line-height: 1.05; }
.float-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.float-step {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px; border-radius: var(--r-sm); background: var(--cream);
  font-weight: 500; font-size: 15px;
}
.float-step .ic {
  flex: none; width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center; background: var(--navy); color: var(--sky);
}
.float-step .ic svg { width: 18px; height: 18px; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.stat { padding: 40px 28px 0 0; }
.stat + .stat { padding-left: 28px; border-left: 1px solid var(--line); }
.stat .num { font-family: var(--font-head); font-weight: 600; font-size: clamp(2.34rem, 4.14vw, 3.6rem); line-height: 1; letter-spacing: 0.01em; color: var(--navy); }
.stat .num sup { font-size: .45em; vertical-align: top; position: relative; top: .3em; margin-left: 2px; color: var(--blue); }
.stat p { margin-top: 14px; color: var(--ink-soft); max-width: 24ch; }

/* ---------- Service cards ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.svc-card {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: 520px; border-radius: var(--r-lg);
  background: var(--navy); color: var(--cream);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 30px;
}
.svc-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .9s var(--ease); }
.svc-card::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(11, 27, 58, 0) 25%, rgba(11, 27, 58, .55) 55%, rgba(11, 27, 58, .95) 100%);
}
.svc-card:hover img { transform: scale(1.05); }
.svc-card .tag {
  position: absolute; top: 24px; left: 24px;
  padding: 6px 12px; border-radius: var(--pill);
  background: rgba(253, 248, 238, .92); color: var(--navy); font-size: 12px; font-weight: 500;
  letter-spacing: .06em; text-transform: uppercase;
}
.svc-card h3 { font-size: 1.8rem; }
.svc-card p { margin-top: 12px; color: rgba(253, 248, 238, .78); max-width: 34ch; }
.svc-card .more {
  margin-top: 22px; display: inline-flex; align-items: center; gap: 10px; font-weight: 500; font-size: 15px;
}
.svc-card .more span {
  width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  background: var(--sky); color: var(--navy); transition: transform .3s var(--ease);
}
.svc-card:hover .more span { transform: translateX(4px); }
.svc-card .more svg { width: 14px; height: 14px; }
.svc-note { margin-top: 34px; text-align: center; color: var(--ink-soft); }
.svc-note a { color: var(--navy); font-weight: 500; border-bottom: 1px solid currentColor; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 22px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 16px; border-radius: var(--pill);
  border: 1px solid var(--line); background: var(--white);
  font-size: 14px; font-weight: 500;
}
.chip svg { width: 15px; height: 15px; color: var(--blue); }

/* ---------- Dark panel w/ numbered steps ---------- */
.panel-wrap { padding: 0 12px; }
.panel {
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: var(--r-xl); background: var(--navy); color: var(--cream);
  padding: var(--section) 0;
}
.panel-media { position: absolute; inset: 0; z-index: -2; }
.panel-media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.4); }
.panel::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(11, 27, 58, .94) 0%, rgba(11, 27, 58, .78) 50%, rgba(11, 27, 58, .94) 100%);
}
.panel .section-head .lead { color: rgba(253, 248, 238, .72); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.step {
  padding: 34px 30px 36px; border-radius: var(--r-lg);
  background: rgba(8, 18, 40, .55); border: 1px solid var(--line-dark);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.step .n {
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; background: var(--sky); color: var(--navy);
  font-size: 13px; font-weight: 600;
}
.step h3 { margin-top: 56px; font-size: 1.48rem; }
.step p { margin-top: 12px; color: rgba(253, 248, 238, .72); }
.step ul { margin-top: 18px; display: grid; gap: 8px; font-size: 14px; color: rgba(253, 248, 238, .85); }
.step li { display: flex; gap: 10px; align-items: flex-start; }
.step li::before { content: ""; flex: none; width: 5px; height: 5px; margin-top: 8px; border-radius: 50%; background: var(--sky); }

/* ---------- Split feature w/ mock card ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.split .h2 + .lead { margin-top: 22px; }
.ticks { display: grid; gap: 14px; margin-top: 30px; }
.ticks li { display: flex; gap: 14px; align-items: flex-start; font-size: 1.05rem; }
.ticks .check { margin-top: 2px; }
.split .btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

.visual {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  background: var(--cream-2); min-height: 600px;
  display: flex; align-items: flex-end; justify-content: center; padding: 28px;
}
.visual > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.visual.product { background: var(--cream-3); align-items: flex-end; }
.visual.product > img { inset: 0 0 auto 0; height: 56%; object-fit: contain; padding: 36px 36px 0; mix-blend-mode: multiply; }
.visual.product::after { display: none; }
.visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 27, 58, 0) 40%, rgba(11, 27, 58, .45)); }
.spec-card {
  position: relative; z-index: 1; width: min(420px, 100%);
  background: rgba(255, 255, 255, .94); backdrop-filter: blur(12px);
  border-radius: var(--r-md); padding: 22px; box-shadow: var(--shadow-soft);
}
.spec-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.spec-head .t { font-weight: 600; font-size: 15px; }
.spec-head .s { font-size: 12px; color: var(--ink-mute); }
.pill-ok { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: var(--pill); background: var(--sky-2); color: var(--navy); font-size: 12px; font-weight: 600; white-space: nowrap; }
.pill-ok::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }
.spec-rows { display: grid; }
.spec-row { display: grid; grid-template-columns: 96px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.spec-row:last-child { border-bottom: 0; }
.spec-row dt { color: var(--ink-mute); }
.spec-row dd { margin: 0; font-weight: 500; }
.spec-foot { display: flex; justify-content: space-between; align-items: end; margin-top: 6px; padding-top: 14px; border-top: 1px solid var(--line); }
.spec-foot .lab { font-size: 12px; color: var(--ink-mute); }
.spec-foot .big { font-family: var(--font-head); font-weight: 600; font-size: 1.8rem; line-height: 1; color: var(--navy); }

/* ---------- Programmes (for doctors equivalent) ---------- */
.prog { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.prog-list { display: grid; gap: 14px; }
.prog-item {
  display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: start;
  padding: 26px; border-radius: var(--r-md); background: var(--white); border: 1px solid var(--line);
  transition: border-color .3s var(--ease), transform .3s var(--ease);
}
.prog-item:hover { border-color: var(--navy); transform: translateY(-2px); }
.prog-item .ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--navy); color: var(--sky); }
.prog-item .ic svg { width: 22px; height: 22px; }
.prog-item h3 { font-size: 1.22rem; }
.prog-item p { margin-top: 6px; color: var(--ink-soft); }
.clients { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.clients span { padding: 8px 14px; border-radius: var(--pill); background: var(--cream-2); font-size: 14px; }

/* ---------- Project carousel ---------- */
.carousel-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 48px; }
.carousel-ctrl { display: flex; gap: 10px; }
.round-btn {
  width: 52px; height: 52px; border-radius: 50%;
  border: 1px solid rgba(11, 27, 58, .2); background: transparent;
  display: grid; place-items: center; transition: background .25s, border-color .25s, color .25s;
}
.round-btn:hover { background: var(--navy); color: var(--cream); border-color: var(--navy); }
.round-btn svg { width: 18px; height: 18px; }
.track {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(340px, 400px); gap: 20px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: var(--gutter);
  padding: 4px var(--gutter) 10px; margin: 0 calc(var(--gutter) * -1);
  scrollbar-width: none;
}
.track::-webkit-scrollbar { display: none; }
.proj {
  scroll-snap-align: start;
  display: flex; flex-direction: column;
  border-radius: var(--r-lg); overflow: hidden; background: var(--white); border: 1px solid var(--line);
}
.proj .ph { aspect-ratio: 4 / 3; overflow: hidden; background: var(--cream-2); }
.proj .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.proj:hover .ph img { transform: scale(1.05); }
.proj .bd { padding: 24px 24px 28px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.proj .meta { display: flex; flex-wrap: wrap; gap: 8px; }
.proj .meta span { font-size: 12px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; color: var(--blue); }
.proj .meta span + span::before { content: "·"; margin-right: 8px; color: var(--ink-mute); }
.proj h3 { font-size: 1.17rem; line-height: 1.2; }
.proj p { color: var(--ink-soft); font-size: 15px; }
.proj .figure { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); display: flex; align-items: baseline; gap: 10px; }
.proj .figure b { font-family: var(--font-head); font-weight: 600; font-size: 1.57rem; line-height: 1; color: var(--navy); }
.proj .figure small { color: var(--ink-soft); font-size: 13px; }

/* ---------- Quote band ---------- */
.quote { max-width: 980px; margin: 0 auto; text-align: center; }
.quote blockquote { margin: 0; font-family: var(--font-head); font-weight: 500; font-size: clamp(1.44rem, 2.7vw, 2.25rem); line-height: 1.22; letter-spacing: 0.01em; }
.quote cite { display: block; margin-top: 26px; font-style: normal; color: var(--ink-soft); font-size: 15px; }

/* ---------- Partner marquee ---------- */
.marquee { position: relative; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 20px; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.logo-tile {
  flex: none; width: 220px; height: 110px; border-radius: var(--r-md);
  background: var(--white); border: 1px solid var(--line);
  display: grid; place-items: center; padding: 22px 30px;
}
.logo-tile img { max-height: 46px; max-width: 100%; width: auto; object-fit: contain; filter: grayscale(1); opacity: .75; transition: filter .3s, opacity .3s; }
.logo-tile:hover img { filter: none; opacity: 1; }
@keyframes marquee { to { transform: translateX(calc(-50% - 10px)); } }

/* ---------- Accordion ---------- */
.acc-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.acc-aside { position: sticky; top: 120px; }
.acc-aside .visual { min-height: 420px; margin-top: 36px; }
.acc { border-top: 1px solid var(--line); }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-btn {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 28px 0; background: none; border: 0; text-align: left;
  font-family: var(--font-head); font-weight: 600; font-size: clamp(1.17rem, 1.71vw, 1.53rem); line-height: 1.2; color: var(--navy);
}
.acc-btn .n { font-family: var(--font-body); font-size: 13px; color: var(--ink-mute); margin-right: 18px; min-width: 22px; }
.acc-btn .plus {
  flex: none; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(11, 27, 58, .18);
  position: relative; transition: background .3s, border-color .3s, transform .4s var(--ease);
}
.acc-btn .plus::before, .acc-btn .plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.5px; background: var(--navy); transform: translate(-50%, -50%); transition: background .3s; }
.acc-btn .plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.acc-item.open .plus { background: var(--navy); border-color: var(--navy); transform: rotate(45deg); }
.acc-item.open .plus::before, .acc-item.open .plus::after { background: var(--cream); }
.acc-btn > span:first-child { display: flex; align-items: baseline; }
.acc-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.acc-panel > div { overflow: hidden; }
.acc-panel p { padding: 0 64px 28px 40px; color: var(--ink-soft); font-size: 1.05rem; }
.acc-item.open .acc-panel { grid-template-rows: 1fr; }

/* ---------- CTA + footer ---------- */
.footer-wrap { padding: 0 12px 12px; }
.footer {
  border-radius: var(--r-xl); background: var(--navy); color: var(--cream); overflow: hidden; position: relative; isolation: isolate;
}
.footer::before {
  content: ""; position: absolute; z-index: -1; width: 900px; height: 900px; right: -300px; top: -420px;
  background: radial-gradient(circle, rgba(4, 83, 146, .55), transparent 62%);
}
.cta { padding: clamp(80px, 10vw, 130px) 0 clamp(60px, 8vw, 100px); text-align: center; border-bottom: 1px solid var(--line-dark); }
.cta .h1 { font-size: clamp(2.52rem, 6.3vw, 5.4rem); max-width: 14ch; margin: 20px auto 0; }
.cta .lead { color: rgba(253, 248, 238, .72); max-width: 560px; margin: 22px auto 0; }
.cta-contacts { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 40px; }
.foot { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding: 70px 0 56px; }
.foot .brand img { height: 52px; }
.foot p { color: rgba(253, 248, 238, .64); margin-top: 20px; max-width: 34ch; font-size: 15px; }
.foot .foot-h { margin-top: 0; max-width: none; font-family: var(--font-body); font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--sky); margin-bottom: 18px; }
.foot ul { display: grid; gap: 10px; font-size: 15px; }
.foot ul a { color: rgba(253, 248, 238, .82); transition: color .2s; }
.foot ul a:hover { color: var(--white); }
.foot ul .foot-addr { color: rgba(253, 248, 238, .64); font-size: 14px; line-height: 1.5; max-width: 26ch; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding: 26px 0 32px; border-top: 1px solid var(--line-dark); font-size: 14px; color: rgba(253, 248, 238, .55); }
.foot-bottom a:hover { color: var(--cream); }

/* ---------- Inner page hero ---------- */
.page-hero-wrap { padding: 0 12px; }
.page-hero {
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: var(--r-xl); background: var(--navy); color: var(--cream);
  padding: clamp(90px, 12vw, 160px) 0 clamp(80px, 10vw, 130px);
  text-align: center;
}
.page-hero .hero-media img { filter: grayscale(.4); }
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(11, 27, 58, .9), rgba(11, 27, 58, .78) 60%, rgba(4, 83, 146, .7));
}
.page-hero h1 { font-size: clamp(2.7rem, 6.3vw, 5.4rem); max-width: 16ch; margin: 22px auto 0; }
.page-hero .lead { color: rgba(253, 248, 238, .76); max-width: 640px; margin: 22px auto 0; }
.crumbs { display: inline-flex; gap: 8px; font-size: 14px; color: rgba(253, 248, 238, .6); }
.crumbs a:hover { color: var(--cream); }

/* sub-nav pills for solutions page */
.subnav { position: sticky; top: 84px; z-index: 20; background: rgba(253, 248, 238, .9); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.subnav .container { display: flex; gap: 8px; overflow-x: auto; padding-top: 12px; padding-bottom: 12px; scrollbar-width: none; }
.subnav a { flex: none; padding: 9px 16px; border-radius: var(--pill); font-size: 14px; font-weight: 500; border: 1px solid var(--line); background: var(--white); transition: background .2s, color .2s, border-color .2s; }
.subnav a:hover, .subnav a.active { background: var(--navy); color: var(--cream); border-color: var(--navy); }

/* product grid */
.prod-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.prod {
  display: flex; flex-direction: column; border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); overflow: hidden;
}
.prod .ph { aspect-ratio: 1 / 1; background: var(--cream-3); display: grid; place-items: center; padding: 24px; }
.prod .ph img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.prod .bd { padding: 22px 24px 26px; display: grid; gap: 8px; }
.prod .model { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); }
.prod h3 { font-size: 1.22rem; line-height: 1.18; }
.prod ul { margin-top: 8px; display: grid; gap: 8px; font-size: 14.5px; color: var(--ink-soft); }
.prod li { display: flex; gap: 10px; }
.prod li::before { content: ""; flex: none; width: 5px; height: 5px; margin-top: 9px; border-radius: 50%; background: var(--blue); }

.info-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.info-card { padding: 34px; border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); }
.info-card .ic { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--navy); color: var(--sky); margin-bottom: 40px; }
.info-card .ic svg { width: 24px; height: 24px; }
.info-card h3 { font-size: 1.48rem; }
.info-card p { margin-top: 12px; color: var(--ink-soft); }
.info-card ul { margin-top: 16px; display: grid; gap: 8px; color: var(--ink); }
.info-card li { display: flex; gap: 10px; align-items: center; }
.info-card li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); flex: none; }
.info-card.wide { grid-column: 1 / -1; }
.info-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }

.callout {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  border-radius: var(--r-lg); background: var(--navy); color: var(--cream); overflow: hidden;
}
.callout > div { padding: 40px 34px; }
.callout > div + div { border-left: 1px solid var(--line-dark); }
.callout .num { font-family: var(--font-head); font-weight: 600; font-size: clamp(2.34rem, 3.87vw, 3.42rem); line-height: 1; color: var(--sky); }
.callout p { margin-top: 12px; color: rgba(253, 248, 238, .76); }

/* timeline */
.timeline { position: relative; display: grid; gap: 0; }
.timeline::before { content: ""; position: absolute; left: 180px; top: 8px; bottom: 8px; width: 1px; background: var(--line); }
.tl { display: grid; grid-template-columns: 180px 1fr; gap: 48px; padding: 26px 0; position: relative; }
.tl::before { content: ""; position: absolute; left: 175px; top: 36px; width: 11px; height: 11px; border-radius: 50%; background: var(--cream); border: 2px solid var(--blue); }
.tl .when { font-size: 14px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--blue); padding-top: 6px; }
.tl h3 { font-size: 1.26rem; line-height: 1.2; }
.tl p { margin-top: 6px; color: var(--ink-soft); }

/* project list (projects page) */
.proj-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 44px; }
.filters button { padding: 10px 18px; border-radius: var(--pill); border: 1px solid var(--line); background: var(--white); font-size: 14px; font-weight: 500; transition: background .2s, color .2s, border-color .2s; }
.filters button[aria-pressed="true"], .filters button:hover { background: var(--navy); color: var(--cream); border-color: var(--navy); }
.proj.is-hidden { display: none; }

/* contact */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.contact-cards { display: grid; gap: 14px; margin-top: 36px; }
.c-card { display: flex; gap: 18px; align-items: center; padding: 22px; border-radius: var(--r-md); background: var(--white); border: 1px solid var(--line); transition: border-color .3s; }
.c-card:hover { border-color: var(--navy); }
.c-card .ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--navy); color: var(--sky); flex: none; }
.c-card .ic svg { width: 20px; height: 20px; }
.c-card small { display: block; font-size: 13px; color: var(--ink-mute); }
.c-card b { font-weight: 500; font-size: 1.05rem; }
.form { padding: clamp(26px, 4vw, 44px); border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); }
.form h2 { font-size: 1.8rem; }
.form > p { margin-top: 10px; color: var(--ink-soft); }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 30px; }
.field { display: grid; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 500; }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; border-radius: var(--r-xs);
  border: 1px solid var(--line); background: var(--cream);
  font: inherit; font-size: 15px; color: var(--ink);
  transition: border-color .2s, background .2s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); background: var(--white); }
.form .btn { margin-top: 24px; }
.form-prefill { margin-top: 18px; padding: 12px 16px; border-radius: var(--r-xs); background: var(--sky-2); color: var(--navy); font-weight: 500; font-size: 14px; }
.form-note { margin-top: 14px; font-size: 13px; color: var(--ink-mute); }
.form-status { margin-top: 14px; font-size: 14px; font-weight: 500; color: var(--blue); }

/* ---------- Above-the-fold entrance (motion only, keeps LCP visible) ---------- */
.rise { animation: rise 1s var(--ease) both; }
.rise[data-delay="1"] { animation-delay: .08s; }
.rise[data-delay="2"] { animation-delay: .16s; }
.rise[data-delay="3"] { animation-delay: .24s; }
@keyframes rise { from { transform: translateY(18px); } to { transform: none; } }

/* ---------- Reveal on scroll ---------- */
.reveal { transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .marquee-track, .rise { animation: none; }
  * { transition-duration: .01ms !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav { grid-template-columns: auto 1fr auto; }
  .nav-links, .nav-phone { display: none; }
  .nav-toggle { display: inline-flex; }
  .svc-grid, .prod-grid, .proj-grid { grid-template-columns: repeat(2, 1fr); }
  .svc-grid .svc-card:last-child { grid-column: 1 / -1; min-height: 420px; }
  .foot { grid-template-columns: 1fr 1fr; }
  .foot > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  :root { --gutter: 22px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { padding-left: 0; border-left: 0; }
  .stat { padding-bottom: 32px; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .steps { grid-template-columns: 1fr; }
  .step h3 { margin-top: 28px; }
  .split, .prog, .acc-layout, .contact-grid { grid-template-columns: 1fr; }
  .acc-aside { position: static; }
  .visual { min-height: 480px; }
  .visual.product { display: block; min-height: 0; padding: 20px; }
  .visual.product > img { position: static; width: 100%; height: 260px; padding: 0; margin-bottom: 16px; }
  .visual.product .spec-card { width: 100%; }
  .float-card { grid-template-columns: 1fr; gap: 16px; }
  .float-card h2 { max-width: none; }
  .callout { grid-template-columns: 1fr; }
  .callout > div + div { border-left: 0; border-top: 1px solid var(--line-dark); }
  .info-grid, .info-grid.cols-3 { grid-template-columns: 1fr; }
  .timeline::before { left: 5px; }
  .tl { grid-template-columns: 1fr; gap: 6px; padding-left: 34px; }
  .tl::before { left: 0; top: 32px; }
}
@media (max-width: 640px) {
  :root { --gutter: 16px; --r-xl: 28px; --r-lg: 22px; }
  .nav { height: 72px; }
  .brand img { height: 38px; }
  .mobile-menu { inset: 72px 0 0 0; }
  .subnav { top: 72px; }
  .nav-actions .btn { display: none; }
  .hero-wrap, .panel-wrap, .page-hero-wrap { padding: 0 8px; }
  .footer-wrap { padding: 0 8px 8px; }
  .hero { padding: 90px 0 170px; min-height: auto; }
  .video-toggle { right: 14px; top: 14px; bottom: auto; width: 38px; height: 38px; }
  .badge { font-size: 12px; padding: 7px 12px; gap: 8px; }
  .badge .hide-sm, .badge .hide-sm + .dot { display: none; }
  .hero-checks { flex-direction: column; align-items: center; gap: 12px; }
  .hero-ctas .btn { width: 100%; }
  .float-steps { grid-template-columns: 1fr; }
  .float-card { padding: 20px; }
  .stats { grid-template-columns: 1fr; }
  .stat, .stat + .stat { padding: 28px 0; border-left: 0; }
  .stat + .stat { border-top: 1px solid var(--line); }
  .svc-grid, .prod-grid, .proj-grid { grid-template-columns: 1fr; }
  .svc-grid .svc-card:last-child { grid-column: auto; }
  .svc-card { min-height: 440px; padding: 24px; }
  .track { grid-auto-columns: 85%; }
  .carousel-head { flex-direction: column; align-items: flex-start; }
  .acc-panel p { padding: 0 0 24px 40px; }
  .foot { grid-template-columns: 1fr; gap: 32px; }
  .fields { grid-template-columns: 1fr; }
  .spec-row { grid-template-columns: 84px 1fr; }
  .info-card { padding: 26px; }
  .info-card .ic { margin-bottom: 26px; }
  .logo-tile { width: 170px; height: 90px; }
  .section-head { margin-bottom: 44px; }
}

/* =========================================================
   Quote popup (shared) — modern form
   ========================================================= */
.modal-open { overflow: hidden; }
.qd {
  width: min(720px, calc(100vw - 32px)); max-width: none; max-height: min(92vh, 920px); height: auto;
  padding: 0; border: 0; border-radius: 28px; background: #fff; color: var(--ink); overflow: hidden;
  box-shadow: 0 50px 120px -30px rgba(11, 27, 58, .65), 0 0 0 1px rgba(11, 27, 58, .04);
}
.qd[open] { display: flex; flex-direction: column; animation: qd-in .45s var(--ease); }
.qd::backdrop { background: rgba(8, 18, 40, .55); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); animation: qd-fade .3s ease; }
@keyframes qd-in { from { opacity: 0; transform: translateY(24px) scale(.98); } }
@keyframes qd-fade { from { opacity: 0; } }

.qd-head {
  position: relative; flex: none; padding: 26px 76px 24px 28px; color: var(--cream);
  background: radial-gradient(120% 140% at 100% 0%, rgba(166, 214, 229, .28), transparent 55%), linear-gradient(135deg, #0b1b3a 0%, #0f2a5c 60%, #045392 130%);
}
.qd-head-in { display: flex; gap: 18px; align-items: center; }
.qd-thumb { position: relative; flex: none; width: 96px; height: 72px; border-radius: 16px; background: radial-gradient(80% 80% at 50% 40%, #fff, #efe6d4); display: none; place-items: center; overflow: hidden; box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .45); }
.qd.has-product .qd-thumb { display: grid; }
.qd-thumb img { width: 100%; height: 100%; object-fit: contain; padding: 6px; mix-blend-mode: multiply; }
.qd-thumb img[hidden] + .qd-thumb-ic { display: grid; }
.qd-thumb-ic { display: none; place-items: center; color: var(--blue); position: absolute; inset: 0; }
.qd-thumb-ic svg { width: 30px; height: 30px; }
.qd-kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 11.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--sky); }
.qd-kicker::before { content: ""; width: 18px; height: 1px; background: currentColor; }
.qd-title { margin-top: 6px; font-size: clamp(1.7rem, 3.2vw, 2.2rem); line-height: 1.05; color: #fff; }
.qd-sub { margin-top: 6px; font-size: 14px; color: rgba(253, 248, 238, .72); }
.qd-x { position: absolute; top: 18px; right: 18px; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .08); color: #fff; transition: background .2s, transform .3s var(--ease); }
.qd-x:hover { background: rgba(255, 255, 255, .18); transform: rotate(90deg); }
.qd-x svg { width: 16px; height: 16px; }

.qd-form { display: flex; flex-direction: column; min-height: 0; flex: 1; }
.qd-form[hidden] { display: none; }
.qd-body { overflow-y: auto; overscroll-behavior: contain; padding: 8px 28px 20px; }
.qd-sec { padding: 22px 0 6px; }
.qd-sec + .qd-sec { border-top: 1px solid #efe9de; }
.qd-sec[hidden] { display: none; }
.qd-h { display: flex; align-items: center; gap: 10px; font-family: var(--font-body); font-size: 15px; font-weight: 600; letter-spacing: 0; color: var(--navy); margin-bottom: 14px; }
.qd-h span { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: var(--sky); font-size: 12px; }
.qd-lab { display: block; margin: 16px 0 8px; font-size: 13px; font-weight: 500; color: var(--ink-soft); }
.qd-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.qd-grid.one { grid-template-columns: 1fr; margin-top: 12px; }

/* floating-label fields */
.ff { position: relative; }
.ff-full { grid-column: 1 / -1; }
.ff input, .ff textarea, .ff select {
  width: 100%; padding: 24px 16px 9px; border: 1.5px solid #e6e0d4; border-radius: 14px; background: #fcfaf6;
  font: inherit; font-size: 15px; color: var(--ink); outline: none; appearance: none; -webkit-appearance: none;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.ff textarea { resize: vertical; min-height: 96px; line-height: 1.45; }
.ff select { padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234f5569' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 16px; cursor: pointer; }
.ff label { position: absolute; left: 17px; top: 16px; font-size: 15px; color: var(--ink-mute); pointer-events: none; transform-origin: left top; transition: transform .18s var(--ease), color .18s, top .18s; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: calc(100% - 34px); }
.ff input:hover, .ff textarea:hover, .ff select:hover { border-color: #d6cdbb; }
.ff input:focus, .ff textarea:focus, .ff select:focus { border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(4, 83, 146, .12); }
.ff input:focus + label, .ff input:not(:placeholder-shown) + label,
.ff textarea:focus + label, .ff textarea:not(:placeholder-shown) + label,
.ff select + label { top: 8px; transform: scale(.78); color: var(--blue); font-weight: 600; letter-spacing: .01em; }
.ff [aria-invalid] { border-color: #d64545 !important; background: #fff7f7; box-shadow: 0 0 0 4px rgba(214, 69, 69, .1); }
.ff [aria-invalid] + label { color: #c23a3a; }
.ff-err { position: absolute; right: 14px; top: 17px; font-size: 12px; font-weight: 600; color: #c23a3a; opacity: 0; transition: opacity .2s; }
.ff [aria-invalid] ~ .ff-err { opacity: 1; }

/* chips */
.qd-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.qd-chip { position: relative; cursor: pointer; }
.qd-chip input { position: absolute; opacity: 0; pointer-events: none; }
.qd-chip span {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: var(--pill);
  border: 1.5px solid #e6e0d4; background: #fcfaf6; font-size: 14px; font-weight: 500; color: var(--ink);
  transition: border-color .2s, background .2s, color .2s, transform .15s;
}
.qd-chip span i { width: 18px; height: 18px; border-radius: 6px; border: 1.5px solid #cfc6b5; display: grid; place-items: center; color: transparent; transition: background .2s, border-color .2s, color .2s; }
.qd-chip span i svg { width: 11px; height: 11px; }
.qd-chip:hover span { border-color: var(--navy); }
.qd-chip input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }
.qd-chip input:checked + span i { background: var(--sky); border-color: var(--sky); color: var(--navy); }
.qd-chip input:focus-visible + span { box-shadow: 0 0 0 4px rgba(4, 83, 146, .2); }
.qd-chip:active span { transform: scale(.97); }
.qd-seg { display: grid; grid-template-columns: repeat(4, 1fr); padding: 4px; gap: 4px; border-radius: 16px; background: #f4efe5; }
.qd-seg .qd-chip span { width: 100%; justify-content: center; border: 0; background: transparent; border-radius: 12px; padding: 10px 8px; font-size: 13.5px; text-align: center; color: var(--ink-soft); }
.qd-seg .qd-chip input:checked + span { background: #fff; color: var(--navy); box-shadow: 0 4px 12px -6px rgba(11, 27, 58, .35); }

/* quantity stepper */
.qd-qty .qd-lab { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.stepper { display: grid; grid-template-columns: 52px 1fr 52px; height: 100%; min-height: 56px; border: 1.5px solid #e6e0d4; border-radius: 14px; background: #fcfaf6; overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.stepper:focus-within { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(4, 83, 146, .12); background: #fff; }
.stepper button { border: 0; background: transparent; font-size: 22px; line-height: 1; color: var(--navy); transition: background .2s; }
.stepper button:hover { background: var(--sky-2); }
.stepper input { width: 100%; border: 0; background: transparent; text-align: center; font: inherit; font-size: 17px; font-weight: 600; color: var(--navy); outline: none; -moz-appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qd-qty::before { content: "Quantity"; display: block; position: absolute; left: 50%; top: 8px; transform: translateX(-50%) scale(.78); transform-origin: center top; font-size: 15px; font-weight: 600; color: var(--blue); pointer-events: none; z-index: 1; }
.qd-qty { position: relative; }
.qd-qty .stepper input { padding-top: 12px; }

/* sticky footer */
.qd-foot { flex: none; padding: 14px 28px 18px; border-top: 1px solid #efe9de; background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px); }
.qd-status { font-size: 13.5px; font-weight: 500; color: #c23a3a; min-height: 0; }
.qd-status:empty { display: none; }
.qd-status:not(:empty) { margin-bottom: 10px; }
.qd-foot-row { display: flex; gap: 10px; align-items: stretch; }
.qd-submit {
  flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 24px;
  border: 0; border-radius: 16px; font-size: 16px; font-weight: 600; color: #fff;
  background: linear-gradient(135deg, #0b1b3a, #0f2a5c 55%, #045392);
  box-shadow: 0 12px 24px -12px rgba(4, 83, 146, .7); transition: transform .2s var(--ease), box-shadow .2s, filter .2s;
}
.qd-submit svg { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.qd-submit:hover { transform: translateY(-1px); box-shadow: 0 16px 30px -12px rgba(4, 83, 146, .8); filter: brightness(1.08); }
.qd-submit:hover svg { transform: translateX(3px); }
.qd-submit:disabled { opacity: .6; cursor: progress; }
.qd-submit.small { flex: none; min-height: 46px; font-size: 15px; padding: 0 22px; border-radius: 14px; }
.qd-call { flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 0 18px; border-radius: 16px; border: 1.5px solid #e6e0d4; font-weight: 600; font-size: 14.5px; color: var(--navy); transition: border-color .2s, background .2s; }
.qd-call:hover { border-color: var(--navy); background: var(--cream); }
.qd-call svg { width: 17px; height: 17px; color: var(--blue); }
.qd-trust { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 10px; font-size: 12.5px; color: var(--ink-mute); }
.qd-trust svg { width: 13px; height: 13px; }

/* success */
.qd-done { padding: 44px 32px 36px; text-align: center; overflow-y: auto; }
.qd-done[hidden] { display: none; }
.qd-tick { width: 76px; height: 76px; margin: 0 auto 20px; border-radius: 50%; display: grid; place-items: center; background: var(--sky-2); color: var(--navy); animation: qd-pop .6s var(--ease) both; box-shadow: 0 0 0 10px rgba(166, 214, 229, .3); }
.qd-tick svg { width: 34px; height: 34px; stroke-dasharray: 30; stroke-dashoffset: 30; animation: qd-draw .5s .25s ease forwards; }
@keyframes qd-pop { from { transform: scale(.4); opacity: 0; } }
@keyframes qd-draw { to { stroke-dashoffset: 0; } }
.qd-done h3 { font-size: 1.53rem; color: var(--navy); }
.qd-done p { max-width: 46ch; margin: 10px auto 0; color: var(--ink-soft); }
.qd-small { font-size: 14px; }
.qd-small a { color: var(--blue); }
.qd-done-actions { display: flex; justify-content: center; gap: 10px; margin-top: 26px; flex-wrap: wrap; }
.qd-ghost { min-height: 46px; padding: 0 20px; border-radius: 14px; border: 1.5px solid #e6e0d4; background: #fff; font-weight: 500; color: var(--navy); transition: border-color .2s; }
.qd-ghost:hover { border-color: var(--navy); }

@media (max-width: 640px) {
  .qd { width: 100vw; max-height: 100dvh; height: 100dvh; border-radius: 0; margin: 0; }
  .qd-head { padding: 20px 66px 20px 16px; }
  .qd-thumb { width: 72px; height: 56px; border-radius: 12px; }
  .qd-x { top: 14px; right: 14px; }
  .qd-body { padding: 4px 16px 16px; }
  .qd-grid { grid-template-columns: 1fr; }
  .qd-seg { grid-template-columns: 1fr 1fr; }
  .qd-foot { padding: 12px 16px calc(14px + env(safe-area-inset-bottom)); }
  .qd-call span { display: none; }
  .qd-call { padding: 0 16px; }
}

/* =========================================================
   Floating dock: Call us + Get a quote
   ========================================================= */
.dock {
  position: fixed; right: 22px; bottom: 22px; z-index: 45; display: flex; align-items: center; gap: 6px;
  padding: 6px; border-radius: var(--pill); background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px);
  box-shadow: 0 18px 44px -16px rgba(11, 27, 58, .45), 0 0 0 1px rgba(11, 27, 58, .06);
  transform: translateY(140%); opacity: 0; pointer-events: none;
  transition: transform .5s var(--ease), opacity .4s var(--ease);
}
.dock.show { transform: none; opacity: 1; pointer-events: auto; }
.dock a { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; border-radius: var(--pill); font-weight: 600; font-size: 15px; white-space: nowrap; transition: background .25s, color .25s, transform .2s var(--ease); }
.dock a:active { transform: scale(.97); }
.dock-ic { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; flex: none; }
.dock-ic svg { width: 18px; height: 18px; }
.dock-call { padding: 0 18px 0 6px; color: var(--navy); }
.dock-call .dock-ic { background: var(--sky-2); color: var(--navy); }
.dock-call:hover { background: var(--cream); }
.dock-t { display: grid; line-height: 1.1; }
.dock-t small { font-size: 11px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-mute); }
.dock-quote { padding: 0 22px 0 6px; color: #fff; background: linear-gradient(135deg, #0b1b3a, #0f2a5c 55%, #045392); box-shadow: 0 10px 22px -10px rgba(4, 83, 146, .8); }
.dock-quote .dock-ic { background: rgba(255, 255, 255, .14); color: var(--sky); }
.dock-quote:hover { filter: brightness(1.1); }
.dock-quote .dock-ic { animation: dock-nudge 6s ease-in-out 3s infinite; }
@keyframes dock-nudge { 0%, 92%, 100% { transform: none; } 94% { transform: rotate(-12deg); } 96% { transform: rotate(10deg); } 98% { transform: rotate(-6deg); } }
@media (max-width: 640px) {
  .dock { left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); padding: 5px; border-radius: 20px; display: grid; grid-template-columns: 1fr 1.25fr; }
  .dock a { justify-content: center; min-height: 50px; border-radius: 16px; font-size: 14.5px; padding: 0 12px; }
  .dock-call { padding: 0 10px; }
  .dock-t small { display: none; }
  .dock-ic { width: 32px; height: 32px; }
  html.has-dock body { padding-bottom: 84px; }
}
@media (prefers-reduced-motion: reduce) {
  .dock-quote .dock-ic, .qd[open], .qd-tick, .qd-tick svg { animation: none; }
  .qd-tick svg { stroke-dashoffset: 0; }
}

/* ---------- Products mega menu ---------- */
.nav-mega { position: relative; display: inline-flex; align-items: center; }
.nav-mega > a { padding-right: 30px !important; }
.mega-btn { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 24px; height: 24px; display: grid; place-items: center; border: 0; background: none; padding: 0; border-radius: 50%; color: var(--ink-soft); }
.mega-btn:hover { color: var(--navy); }
.mega-chev { width: 14px; height: 14px; transition: transform .3s var(--ease); }
.mega-open-state .mega-btn .mega-chev, .mega-btn[aria-expanded="true"] .mega-chev { transform: rotate(180deg); }
.mega {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--cream); border-top: 1px solid var(--line);
  box-shadow: 0 30px 60px -20px rgba(11, 27, 58, .28);
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .25s var(--ease), transform .3s var(--ease), visibility 0s linear .3s;
}
.mega.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .25s var(--ease), transform .3s var(--ease), visibility 0s; }
.mega-in { display: grid; grid-template-columns: 270px 1fr 320px; gap: 28px; padding-top: 26px; padding-bottom: 28px; max-height: calc(100vh - 100px); }
.mega-cats { display: flex; flex-direction: column; gap: 4px; }
.mega-cat { display: flex; align-items: center; gap: 12px; width: 100%; padding: 11px 12px; border: 0; border-radius: 14px; background: none; text-align: left; transition: background .2s; }
.mega-cat:hover, .mega-cat.is-on { background: var(--cream-2); }
.mega-ic { flex: none; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 10px; background: var(--white); color: var(--blue); box-shadow: 0 1px 0 var(--line); }
.mega-ic svg { width: 19px; height: 19px; }
.mega-cat.is-on .mega-ic { background: var(--navy); color: var(--sky); }
.mega-cat-t { flex: 1; display: grid; gap: 1px; min-width: 0; }
.mega-cat-t b { font-family: var(--font-head); font-weight: 600; font-size: 14.5px; letter-spacing: 0.01em; color: var(--navy); }
.mega-cat-t small { font-size: 12px; line-height: 1.35; color: var(--ink-mute); }
.mega-n { font-size: 12px; font-weight: 600; color: var(--ink-soft); background: var(--white); border-radius: var(--pill); padding: 2px 8px; }
.mega-all { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; padding: 14px 12px 4px; font-size: 14px; font-weight: 600; color: var(--blue); }
.mega-all svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.mega-all:hover svg { transform: translateX(4px); }
.mega-grid { min-width: 0; overflow-y: auto; padding-right: 4px; }
.mega-group { display: none; }
.mega-group.is-on { display: block; animation: megaIn .35s var(--ease); }
@keyframes megaIn { from { opacity: 0; transform: translateY(6px); } }
.mega-gh { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); margin-bottom: 12px; }
.mega-gh span { color: var(--ink-mute); letter-spacing: .04em; text-transform: none; font-weight: 500; }
.mega-items { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
.mega-item { display: flex; align-items: center; gap: 10px; padding: 8px 10px 8px 8px; border-radius: 16px; background: var(--white); border: 1px solid transparent; transition: border-color .2s, transform .25s var(--ease), box-shadow .25s; }
.mega-item:hover, .mega-item.is-active, .mega-item:focus-visible { border-color: var(--sky); box-shadow: 0 10px 24px -14px rgba(4, 83, 146, .45); transform: translateY(-1px); }
.mega-thumb { flex: none; width: 66px; height: 54px; border-radius: 11px; background: radial-gradient(ellipse at 50% 70%, #fff 0%, var(--cream-2) 100%); overflow: hidden; position: relative; }
.mega-thumb img { width: 100%; height: 100%; object-fit: contain; }
.mega-thumb .spin { position: absolute; inset: 0; background-repeat: no-repeat; background-size: 2400% 100%; }
.mega-txt { display: grid; gap: 2px; min-width: 0; }
.mega-txt b { font-size: 13.5px; font-weight: 600; line-height: 1.25; color: var(--navy); }
.mega-txt small { font-size: 11.5px; line-height: 1.3; color: var(--ink-mute); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mega-preview { display: flex; flex-direction: column; padding: 16px; border-radius: 22px; background: var(--white); border: 1px solid var(--line); min-width: 0; }
.mega-stage { position: relative; aspect-ratio: 11 / 9; border-radius: 16px; background: radial-gradient(ellipse at 50% 62%, #fff 0%, #f3ecdf 78%); cursor: grab; touch-action: none; overflow: hidden; }
.mega-stage:active { cursor: grabbing; }
.mega-spin { position: absolute; inset: 0; background-repeat: no-repeat; background-size: 2400% 100%; }
.mega-stage.is-loading .mega-spin { opacity: .4; }
.mega-hint { position: absolute; left: 10px; bottom: 10px; display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: var(--pill); background: rgba(255, 255, 255, .85); font-size: 11.5px; font-weight: 500; color: var(--ink-soft); pointer-events: none; }
.mega-hint svg { width: 13px; height: 13px; color: var(--blue); }
.mega-badge { margin-top: 14px; align-self: flex-start; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); background: var(--sky-2); padding: 4px 10px; border-radius: var(--pill); }
.mega-name { margin-top: 10px; font-family: var(--font-head); font-weight: 600; font-size: 1.12rem; line-height: 1.2; letter-spacing: 0.01em; color: var(--navy); }
.mega-model { margin-top: 2px; font-size: 13px; color: var(--ink-mute); }
.mega-desc { margin-top: 8px; font-size: 13.5px; line-height: 1.5; color: var(--ink-soft); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.mega-btns { display: flex; gap: 8px; margin-top: auto; padding-top: 14px; }
.mega-btns .btn { flex: 1; justify-content: center; }
@media (max-width: 1280px) { .mega-in { grid-template-columns: 240px 1fr 280px; gap: 20px; } }
@media (max-width: 1100px) { .mega { display: none; } .mega-btn { display: none; } .nav-mega > a { padding-right: 14px !important; } }

/* mobile menu: products accordion */
.m-sub { border-bottom: 1px solid var(--line); }
.m-sub summary { list-style: none; cursor: pointer; border-bottom: 0 !important; }
.m-sub summary::-webkit-details-marker { display: none; }
.m-sub summary .mega-chev { width: 22px; height: 22px; color: var(--ink-soft); }
.m-sub[open] summary .mega-chev { transform: rotate(180deg); }
.mobile-menu .m-sub summary.m-link { display: flex; }
.m-sub-in { display: grid; padding: 0 4px 18px; }
.m-sub-in a { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; padding: 9px 0; font-size: 15px; font-weight: 500; color: var(--navy); }
.m-sub-in a small { font-size: 12px; color: var(--ink-mute); }
.m-sub-h { margin-top: 14px; font-size: 11.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); }
.m-sub-all { margin-top: 4px; font-weight: 600 !important; color: var(--blue) !important; align-items: center !important; }
.m-sub-all svg { width: 16px; height: 16px; }

/* ---------- "last mile" interactive colour ---------- */
.hero h1 em.lm {
  --mx: 50%; --my: 50%;
  position: relative; display: inline-block; padding: 0 .06em .08em 0;
  font-style: italic; color: var(--sky);
  background-image:
    radial-gradient(circle at var(--mx) var(--my), #ffd27a 0%, #ff9f6e 16%, transparent 38%),
    linear-gradient(100deg, #7fd3ea 0%, #a6e3d4 22%, #e7f6ff 40%, #8ec5ff 58%, #6fe0c2 78%, #7fd3ea 100%);
  background-size: 100% 100%, 220% 100%;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  animation: lmFlow 7s linear infinite;
  cursor: default;
}
.hero h1 em.lm::after {
  content: ""; position: absolute; left: .04em; right: .18em; bottom: -.04em; height: 3px; border-radius: 3px;
  background: repeating-linear-gradient(90deg, rgba(166, 214, 229, .75) 0 10px, transparent 10px 18px);
  background-size: 18px 100%;
  animation: lmRoute 1.2s linear infinite;
}
.hero h1 em.lm .lm-dot {
  position: absolute; bottom: calc(-.04em - 4px); left: 0; width: 11px; height: 11px; border-radius: 50%;
  background: #ffd27a; box-shadow: 0 0 0 4px rgba(255, 210, 122, .25), 0 0 18px rgba(255, 190, 110, .8);
  animation: lmDot 4.2s cubic-bezier(.45, 0, .2, 1) infinite;
}
.hero h1 em.lm:hover { animation-duration: 2.4s; }
.hero h1 em.lm:hover .lm-dot { animation-duration: 1.8s; }
@keyframes lmFlow { to { background-position: 0 0, -220% 0; } }
@keyframes lmRoute { to { background-position: 18px 0; } }
@keyframes lmDot { 0% { left: 0; opacity: 0; } 8% { opacity: 1; } 85% { opacity: 1; } 100% { left: calc(100% - .2em); opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .hero h1 em.lm, .hero h1 em.lm::after { animation: none; }
  .hero h1 em.lm .lm-dot { display: none; }
  .mega, .mega-group.is-on { transition: none; animation: none; }
}

/* Catalogue button in the dock: always visible bottom-right; Call / Quote join it after scrolling */
.dock-cat { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 18px 0 6px; border: 0; border-radius: var(--pill); background: none; font: inherit; font-weight: 600; font-size: 15px; color: var(--navy); white-space: nowrap; cursor: pointer; transition: background .25s, transform .2s var(--ease); }
.dock-cat:hover { background: var(--cream); }
.dock-cat:active { transform: scale(.97); }
.dock-cat .dock-ic { background: linear-gradient(135deg, #ffd27a, #ff9f6e); color: var(--navy); box-shadow: 0 6px 14px -6px rgba(255, 159, 110, .9); }
.dock.has-cat { transform: none; opacity: 1; pointer-events: auto; }
.dock.has-cat:not(.show) > :not(.dock-cat) { display: none; }
.dock.has-cat.at-foot { transform: translateY(140%); opacity: 0; pointer-events: none; }
html.cat-loading .dock-cat .dock-ic { animation: catSpin 1s linear infinite; }
@keyframes catSpin { to { transform: rotate(360deg); } }
@media (max-width: 640px) {
  .dock.has-cat:not(.show) { left: auto; display: flex; border-radius: var(--pill); }
  .dock.has-cat.show { grid-template-columns: auto 1fr 1.25fr; }
  .dock.has-cat.show .dock-cat { padding: 0 6px; }
  .dock.has-cat.show .dock-cat-t { display: none; }
  .dock-cat { min-height: 50px; border-radius: 16px; font-size: 14.5px; }
}
.mega-catbtn { display: flex; align-items: center; gap: 12px; margin-top: 8px; padding: 12px; border-radius: 16px; background: linear-gradient(135deg, #0b1b3a, #0f2a5c 60%, #045392); color: var(--cream); transition: transform .25s var(--ease), box-shadow .25s; }
.mega-catbtn:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -16px rgba(4, 83, 146, .9); }
.mega-catbtn > svg { flex: none; width: 34px; height: 34px; padding: 8px; border-radius: 10px; background: linear-gradient(135deg, #ffd27a, #ff9f6e); color: var(--navy); }
.mega-catbtn span { display: grid; gap: 1px; }
.mega-catbtn b { font-size: 14px; font-weight: 600; }
.mega-catbtn small { font-size: 12px; color: rgba(253, 248, 238, .7); }
.mega-cats .mega-all { margin-top: auto; }
.hero-cat { margin-top: 26px; }
.hero-cat .btn svg { width: 18px; height: 18px; }

/* ---------- Scroll motion (tagged by js/main.js) ---------- */
.js .sm { transition: opacity .9s var(--ease), transform 1.05s cubic-bezier(.2, .75, .25, 1), clip-path 1.2s cubic-bezier(.2, .75, .25, 1); transition-delay: var(--sm-d, 0ms); }
.js .sm:not(.in) { will-change: transform, opacity; }
.js .sm-up:not(.in) { opacity: 0; transform: translateY(34px); }
.js .sm-left:not(.in) { opacity: 0; transform: translateX(-56px); }
.js .sm-right:not(.in) { opacity: 0; transform: translateX(56px); }
.js .sm-card:not(.in) { opacity: 0; transform: translateY(46px) scale(.96); }
.js .sm-img:not(.in) { opacity: .2; clip-path: inset(16% 8% 16% 8% round 28px); transform: scale(1.06); }
.js .sm-img.in:not(.sm-done) { clip-path: inset(0% 0% 0% 0% round 0px); }
.js .sm-grow:not(.in) { opacity: .5; transform: scale(.93) translateY(30px); }
.js .sm-grow { transition-duration: 1.1s, 1.3s; }
/* headings: each word rises out of its own line mask */
.sw { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .14em; margin-bottom: -.14em; }
.sw-i { display: inline-block; transition: transform 1s cubic-bezier(.2, .75, .25, 1), opacity .8s var(--ease); transition-delay: calc(var(--sm-d, 0ms) + var(--w, 0ms)); }
.js .sm-words:not(.in) .sw-i { transform: translateY(108%); opacity: 0; }
/* parallax photos */
.hero-media img, .hero-media video, .panel-media img { transform: translate3d(0, var(--py, 0px), 0) scale(1.14); will-change: transform; }
/* reading progress */
.scroll-prog { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: linear-gradient(90deg, var(--blue), var(--sky), #8ee0c9); transform: scaleX(0); transform-origin: left; pointer-events: none; }
@media (prefers-reduced-motion: reduce) {
  .js .sm, .sw-i { transition: none !important; opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .hero-media img, .hero-media video, .panel-media img { transform: scale(1.06); }
  .scroll-prog { display: none; }
}
