/* ==========================================================================
   Embrace Medical — site styles
   Design tokens follow the printed catalogue (navy / blue / tint greys).
   ========================================================================== */

:root {
  --navy: #0a2540;
  --navy-soft: #12365b;
  --blue: #1560a8;
  --blue-light: #3e86c9;
  --ink: #14202b;
  --muted: #5b6d7e;
  --faint: #8b9aa8;
  --line: #dde5ed;
  --line-soft: #e9eff5;
  --tint: #f5f8fb;
  --white: #fff;

  --max: 1180px;
  --gutter: clamp(20px, 4vw, 40px);
  --radius: 3px;

  --font: "Inter", "Avenir Next", "Helvetica Neue", Helvetica, Arial, sans-serif;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16.5px;
  line-height: 1.72;
  color: var(--muted);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: var(--blue);
  text-decoration: none;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  color: var(--navy);
  font-weight: 600;
  letter-spacing: -0.018em;
  line-height: 1.14;
}

p {
  margin: 0;
}

::selection {
  background: #cfe2f4;
  color: var(--navy);
}

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

/* ---------- layout helpers ---------- */

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section {
  padding: clamp(64px, 8vw, 104px) 0;
}

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

.section--tight {
  padding: clamp(48px, 5vw, 64px) 0;
}

.rule {
  height: 1px;
  background: var(--line);
  border: 0;
  margin: 0;
}

/* ---------- type ---------- */

.eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--blue);
  margin: 0 0 16px;
}

.eyebrow--light {
  color: #7fb3e0;
}

.h-xl {
  font-size: clamp(2.1rem, 4.2vw, 3.35rem);
  letter-spacing: -0.022em;
  line-height: 1.06;
}

.h-l {
  font-size: clamp(1.72rem, 2.9vw, 2.5rem);
}

.h-m {
  font-size: clamp(1.3rem, 1.7vw, 1.55rem);
  line-height: 1.24;
}

.h-s {
  font-size: 1.06rem;
  line-height: 1.34;
  letter-spacing: -0.01em;
}

.lede {
  font-size: clamp(1.02rem, 1.2vw, 1.12rem);
  line-height: 1.66;
  color: var(--muted);
  max-width: 62ch;
}

.small {
  font-size: 0.855rem;
  line-height: 1.7;
  color: var(--faint);
}

.section-head {
  max-width: 68ch;
  margin-bottom: clamp(32px, 4vw, 52px);
}

.section-head .h-l + .lede {
  margin-top: 18px;
}

/* ---------- buttons ---------- */

.btn {
  --btn-bg: var(--navy);
  --btn-fg: #fff;
  --btn-bd: var(--navy);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 22px;
  border: 1px solid var(--btn-bd);
  border-radius: var(--radius);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease),
    border-color 0.2s var(--ease), transform 0.2s var(--ease);
}

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

.btn svg {
  width: 15px;
  height: 15px;
  flex: none;
}

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--navy);
  --btn-bd: #c8d5e0;
}

.btn--ghost:hover {
  --btn-bd: var(--navy);
  --btn-bg: var(--navy);
  --btn-fg: #fff;
}

.btn--light {
  --btn-bg: #fff;
  --btn-fg: var(--navy);
  --btn-bd: #fff;
}

.btn--outline-light {
  --btn-bg: transparent;
  --btn-fg: #fff;
  --btn-bd: rgba(255, 255, 255, 0.34);
}

.btn--outline-light:hover {
  --btn-bd: #fff;
  --btn-bg: rgba(255, 255, 255, 0.08);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--blue);
}

.text-link svg {
  width: 14px;
  height: 14px;
  transition: transform 0.2s var(--ease);
}

.text-link:hover svg {
  transform: translateX(3px);
}

/* ---------- header ---------- */

.hdr {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line-soft);
  transition: box-shadow 0.25s var(--ease);
}

.hdr.is-scrolled {
  box-shadow: 0 1px 0 rgba(10, 37, 64, 0.06), 0 10px 26px -20px rgba(10, 37, 64, 0.45);
}

.hdr__in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 74px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--navy);
}

.brand__mark {
  width: 34px;
  height: 34px;
  flex: none;
}

.brand__txt {
  display: block;
  line-height: 1.15;
}

.brand__txt b {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.17em;
  color: var(--navy);
}

.brand__txt span {
  display: block;
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--faint);
  margin-top: 3px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav a {
  padding: 9px 14px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 500;
  color: #33475a;
  transition: background 0.18s var(--ease), color 0.18s var(--ease);
}

.nav a:hover {
  color: var(--navy);
  background: var(--tint);
}

.nav a[aria-current="page"] {
  color: var(--navy);
  font-weight: 600;
}

.hdr__cta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hdr__tel {
  font-size: 0.86rem;
  color: var(--muted);
  padding-right: 6px;
  white-space: nowrap;
}

.burger {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: var(--radius);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.burger span,
.burger span::before,
.burger span::after {
  content: "";
  display: block;
  width: 17px;
  height: 1.5px;
  background: var(--navy);
  position: relative;
  transition: transform 0.22s var(--ease), opacity 0.2s var(--ease);
}

.burger span::before {
  position: absolute;
  top: -5px;
}

.burger span::after {
  position: absolute;
  top: 5px;
}

body.nav-open .burger span {
  background: transparent;
}

body.nav-open .burger span::before {
  transform: translateY(5px) rotate(45deg);
}

body.nav-open .burger span::after {
  transform: translateY(-5px) rotate(-45deg);
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  background: var(--navy);
  color: rgba(255, 255, 255, 0.78);
  overflow: hidden;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: radial-gradient(115% 75% at 88% 4%, rgba(62, 134, 201, 0.34) 0%, rgba(62, 134, 201, 0) 58%),
    radial-gradient(85% 65% at 2% 100%, rgba(21, 96, 168, 0.3) 0%, rgba(21, 96, 168, 0) 62%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: linear-gradient(to right, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, #000 0%, #000 72%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 72%, transparent 100%);
}

.hero__in {
  display: grid;
  grid-template-columns: 1fr 1.02fr;
  gap: clamp(32px, 4vw, 52px);
  align-items: center;
  padding: clamp(52px, 6vw, 84px) 0 clamp(36px, 4vw, 48px);
}

.hero h1 {
  color: #fff;
}

.hero__sub {
  margin-top: 22px;
  font-size: clamp(1rem, 1.2vw, 1.1rem);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.68);
  max-width: 46ch;
}

.hero__actions {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero__media {
  position: relative;
  width: 100%;
  max-width: 560px;
  margin-left: auto;
  aspect-ratio: 1 / 1;
}

.hero__media img {
  position: absolute;
  height: auto;
  filter: drop-shadow(0 28px 42px rgba(0, 0, 0, 0.42));
}

.hero__media .p-main {
  width: 78%;
  right: 0;
  top: 4%;
}

.hero__media .p-side {
  width: 31%;
  left: 2%;
  bottom: 8%;
}

.hero__bar {
  position: relative;
  z-index: 2;
}

.hero__bar {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 26px 0 30px;
}

.hero__bar div {
  padding-left: 22px;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.hero__bar div:first-child {
  padding-left: 0;
  border-left: 0;
}

.hero__bar b {
  display: block;
  color: #fff;
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.hero__bar span {
  display: block;
  margin-top: 7px;
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

/* ---------- page header (inner pages) ---------- */

.pagehead {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.7);
  position: relative;
  overflow: hidden;
}

.pagehead::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(90% 90% at 100% 0%, rgba(62, 134, 201, 0.3) 0%, rgba(62, 134, 201, 0) 60%);
}

.pagehead__in {
  position: relative;
  z-index: 1;
  padding-top: clamp(44px, 6vw, 76px);
  padding-bottom: clamp(40px, 5vw, 62px);
}

.pagehead h1 {
  color: #fff;
  margin-top: 4px;
}

.pagehead p {
  margin-top: 18px;
  max-width: 64ch;
  color: rgba(255, 255, 255, 0.66);
}

.crumbs {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}

.crumbs a {
  color: rgba(255, 255, 255, 0.55);
}

.crumbs a:hover {
  color: #fff;
}

/* ---------- product cards (home) ---------- */

.cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 2.4vw, 28px);
}

.card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease),
    transform 0.25s var(--ease);
}

.card:hover {
  border-color: #b9cbdb;
  transform: translateY(-3px);
  box-shadow: 0 24px 44px -32px rgba(10, 37, 64, 0.5);
}

.card__media {
  position: relative;
  aspect-ratio: 16 / 11;
  background: linear-gradient(165deg, #f4f8fc 0%, #e9f0f7 100%);
  border-bottom: 1px solid var(--line-soft);
  overflow: hidden;
}

.card__media img {
  width: 100%;
  height: 100%;
  padding: 42px 42px 30px;
  object-fit: contain;
  filter: drop-shadow(0 16px 22px rgba(10, 37, 64, 0.16));
  transition: transform 0.45s var(--ease);
}

.card:hover .card__media img {
  transform: scale(1.03);
}

.card__media--pair {
  grid-auto-flow: column;
  gap: 8px;
  padding: 26px 20px;
}

.card__body {
  padding: 24px 26px 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card__body .h-m {
  font-size: 1.22rem;
}

.card__body p {
  margin-top: 10px;
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--muted);
}

.card__body .text-link {
  margin-top: 18px;
}

.card__meta {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 10px;
}

/* ---------- feature grid ---------- */

.features {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.feature {
  background: #fff;
  padding: 30px 26px 34px;
}

.feature svg {
  width: 26px;
  height: 26px;
  color: var(--blue);
  stroke-width: 1.4;
}

.feature h3 {
  margin-top: 20px;
  font-size: 1rem;
}

.feature p {
  margin-top: 9px;
  font-size: 0.875rem;
  line-height: 1.62;
  color: var(--muted);
}

/* ---------- split content ---------- */

.split {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.split--top {
  align-items: start;
}

.prose p + p {
  margin-top: 18px;
}

.prose h2 + p {
  margin-top: 20px;
}

/* stats block */

.stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.stats div {
  padding: 26px 22px 24px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.stats b {
  display: block;
  font-size: clamp(1.6rem, 2.4vw, 2.05rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--navy);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.stats b em {
  font-style: normal;
  font-size: 0.62em;
}

.stats span {
  display: block;
  margin-top: 10px;
  font-size: 10.5px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.55;
}

/* ---------- image band ---------- */

.band-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(14px, 1.8vw, 20px);
}

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

.shot {
  position: relative;
  margin: 0;
  background: linear-gradient(165deg, #f4f8fc 0%, #e9f0f7 100%);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.shot img {
  width: 100%;
  height: 100%;
  padding: 30px 30px 44px;
  object-fit: contain;
  filter: drop-shadow(0 14px 20px rgba(10, 37, 64, 0.15));
}

.shot figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 14px;
  text-align: center;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #8496a6;
}

/* ---------- spec table ---------- */

.table-wrap {
  margin-top: 26px;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

table.specs {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}

table.specs caption {
  caption-side: top;
  text-align: left;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--navy);
  padding-bottom: 14px;
}

.table-wrap table.specs th:nth-child(1) {
  width: 22%;
}

.table-wrap table.specs th:nth-child(2) {
  width: 44%;
}

.table-wrap table.specs th:nth-child(3),
.table-wrap table.specs th:nth-child(4) {
  width: 17%;
}

table.specs th {
  text-align: left;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--faint);
  padding: 0 0 12px;
  border-bottom: 1.5px solid var(--navy);
  white-space: nowrap;
}

table.specs td {
  padding: 15px 0;
  font-size: 0.9rem;
  color: #33465a;
  border-bottom: 1px solid var(--line-soft);
  vertical-align: top;
}

table.specs td:first-child {
  font-weight: 600;
  color: var(--blue);
  letter-spacing: 0.03em;
  white-space: nowrap;
  padding-right: 18px;
}

table.specs .r {
  text-align: right;
  white-space: nowrap;
  padding-left: 18px;
}

/* ---------- credentials ---------- */

.creds {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.cred {
  background: #fff;
  padding: 26px 12px 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}

.cred img {
  height: 34px;
  width: auto;
  opacity: 0.92;
}

.cred span {
  font-size: 10px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.4;
}

/* ---------- quote / callout ---------- */

.quote {
  border-left: 2px solid var(--blue);
  padding: 4px 0 4px 26px;
}

.quote p {
  font-size: clamp(1.05rem, 1.5vw, 1.28rem);
  line-height: 1.56;
  color: var(--navy);
  font-weight: 500;
}

.quote cite {
  display: block;
  margin-top: 16px;
  font-style: normal;
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--faint);
}

/* ---------- CTA band ---------- */

.cta {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.7);
  position: relative;
  overflow: hidden;
}

.cta::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(80% 120% at 92% 10%, rgba(62, 134, 201, 0.28) 0%, rgba(62, 134, 201, 0) 62%);
}

.cta__in {
  position: relative;
  z-index: 1;
  padding: clamp(52px, 6vw, 74px) 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.cta h2 {
  color: #fff;
  max-width: 22ch;
}

.cta p {
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.6);
  max-width: 48ch;
}

.cta__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ---------- footer ---------- */

.ftr {
  background: #08203a;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.88rem;
}

.ftr__in {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.1fr;
  gap: clamp(28px, 4vw, 56px);
  padding: clamp(48px, 5vw, 68px) 0 clamp(36px, 4vw, 48px);
}

.ftr .brand__txt b {
  color: #fff;
}

.ftr__brand p {
  margin-top: 18px;
  max-width: 34ch;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.86rem;
}

.ftr h4 {
  color: rgba(255, 255, 255, 0.9);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.ftr ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 11px;
}

.ftr a {
  color: rgba(255, 255, 255, 0.55);
  transition: color 0.18s var(--ease);
}

.ftr a:hover {
  color: #fff;
}

.ftr__legal {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 0 26px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 11.5px;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.34);
}

/* ---------- products page ---------- */

.prod-layout {
  display: grid;
  grid-template-columns: 208px minmax(0, 1fr);
  gap: clamp(32px, 4vw, 64px);
  align-items: start;
}

.prod-layout > * {
  min-width: 0;
}

.side {
  position: sticky;
  max-width: 100%;
  top: 104px;
  border-top: 1.5px solid var(--navy);
  padding-top: 16px;
}

.side p {
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 14px;
}

.side ol {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: s;
}

.side li {
  counter-increment: s;
}

.side a {
  display: flex;
  gap: 12px;
  padding: 11px 0;
  font-size: 0.9rem;
  color: var(--muted);
  border-bottom: 1px solid var(--line-soft);
  transition: color 0.18s var(--ease);
}

.side a::before {
  content: "0" counter(s);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  color: var(--faint);
  padding-top: 2px;
}

.side a:hover,
.side a.is-active {
  color: var(--navy);
  font-weight: 600;
}

.prod-section {
  padding-bottom: clamp(48px, 6vw, 76px);
  margin-bottom: clamp(48px, 6vw, 76px);
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 100px;
}

.prod-section:last-child {
  border-bottom: 0;
  margin-bottom: 0;
}

.prod-section__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}

.prod-section__head .h-l {
  font-size: clamp(1.5rem, 2.3vw, 1.95rem);
}

.prod-section__head .tag {
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--faint);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 20px;
}

.chip {
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
  border: 1px solid var(--line);
  background: #fff;
  padding: 6px 10px;
  border-radius: 2px;
}

.subgroup {
  margin-top: 34px;
}

.subgroup__head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 16px;
}

.subgroup__head h3 {
  font-size: 1.02rem;
}

.subgroup__head span {
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--faint);
}

/* ---------- contact ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

.contact-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.contact-card__top {
  background: var(--navy);
  color: #fff;
  padding: 28px 30px;
}

.contact-card__top .name {
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.contact-card__top .role {
  margin-top: 6px;
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

.contact-card__rows {
  padding: 6px 30px 22px;
}

.crow {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line-soft);
}

.crow:last-child {
  border-bottom: 0;
}

.crow .k {
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--faint);
}

.crow .v {
  font-size: 0.94rem;
  color: var(--navy);
  font-weight: 500;
  text-align: right;
  word-break: break-word;
}

.checklist {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.checklist li {
  display: flex;
  gap: 12px;
  font-size: 0.93rem;
  line-height: 1.6;
  color: var(--muted);
}

.checklist svg {
  width: 17px;
  height: 17px;
  flex: none;
  color: var(--blue);
  margin-top: 3px;
}

/* ---------- misc ---------- */

.js .reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.js .reveal.is-in {
  opacity: 1;
  transform: none;
}

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

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .btn:hover,
  .card:hover {
    transform: none;
  }
}

/* ---------- responsive ---------- */

@media (max-width: 1024px) {
  .hero__in {
    grid-template-columns: 1fr;
    padding-top: 52px;
  }

  .hero__media {
    max-width: 400px;
    margin: 8px auto 0;
  }

  .features {
    grid-template-columns: 1fr 1fr;
  }

  .split,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .split--reverse .split__media {
    order: -1;
  }

  .ftr__in {
    grid-template-columns: 1fr 1fr;
  }

  .prod-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .side {
    position: static;
    border-top: 0;
    padding-top: 0;
    display: block;
    padding-bottom: 4px;
  }

  .side p {
    display: none;
  }

  .side ol {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }

  .side a {
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 8px 14px;
    white-space: nowrap;
    font-size: 0.85rem;
  }

  .side a::before {
    display: none;
  }
}

@media (max-width: 860px) {
  .nav {
    position: fixed;
    inset: 74px 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 10px var(--gutter) 18px;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.22s var(--ease), transform 0.22s var(--ease);
    max-height: calc(100vh - 74px);
    overflow-y: auto;
  }

  body.nav-open .nav {
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }

  .nav a {
    padding: 14px 4px;
    border-bottom: 1px solid var(--line-soft);
    border-radius: 0;
    font-size: 1rem;
  }

  .burger {
    display: inline-flex;
  }

  .hdr__tel {
    display: none;
  }

  .hdr__cta .btn {
    display: none;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .creds {
    grid-template-columns: repeat(3, 1fr);
  }

  .hero__bar {
    grid-template-columns: 1fr 1fr;
    gap: 22px 0;
  }

  .hero__bar div:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }
}

@media (max-width: 620px) {
  body {
    font-size: 16px;
  }

  .features {
    grid-template-columns: 1fr;
  }

  .stats {
    grid-template-columns: 1fr 1fr;
  }

  .ftr__in {
    grid-template-columns: 1fr;
    gap: 32px;
  }

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

  .table-wrap table.specs {
    min-width: 0;
  }

  table.specs td {
    padding: 12px 0;
    font-size: 0.82rem;
  }

  table.specs th {
    font-size: 9.5px;
    letter-spacing: 0.12em;
  }

  table.specs td:first-child {
    padding-right: 10px;
  }

  table.specs .r {
    padding-left: 8px;
  }

  table.specs caption {
    font-size: 10px;
  }
}

/* ==========================================================================
   Visual layer — brand logo, photography, motion
   Appended on top of the base system; later rules win at equal specificity.
   ========================================================================== */

/* ---------- scroll progress ---------- */

.progress {
  position: fixed;
  inset: 0 auto auto 0;
  height: 2px;
  width: 0;
  z-index: 200;
  background: linear-gradient(90deg, #1560a8, #4f97d2 45%, #a9d4f2);
  box-shadow: 0 0 14px rgba(62, 134, 201, 0.6);
  pointer-events: none;
}

/* ---------- header / brand ---------- */

.hdr__in {
  height: 76px;
  transition: height 0.35s var(--ease);
}

.hdr.is-scrolled .hdr__in {
  height: 62px;
}

.brand {
  gap: 14px;
}

.brand__mark {
  width: auto;
  height: 33px;
  transition: height 0.35s var(--ease);
}

.hdr.is-scrolled .brand__mark {
  height: 27px;
}

.brand--ftr {
  display: inline-block;
}

.brand__lockup {
  width: 148px;
  height: auto;
  display: block;
}

.nav a {
  position: relative;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 3px;
  height: 1.5px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

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

/* ---------- hero motion ---------- */

.hero__aura {
  position: absolute;
  inset: -8% -6% 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.hero__aura i {
  position: absolute;
  border-radius: 50%;
  filter: blur(64px);
  opacity: 0.5;
  will-change: transform;
}

.hero__aura i:nth-child(1) {
  width: 46vw;
  height: 46vw;
  left: -12%;
  top: -18%;
  background: radial-gradient(circle, rgba(21, 96, 168, 0.85), transparent 68%);
  animation: drift 26s ease-in-out infinite alternate;
}

.hero__aura i:nth-child(2) {
  width: 38vw;
  height: 38vw;
  right: -4%;
  top: 6%;
  background: radial-gradient(circle, rgba(62, 134, 201, 0.6), transparent 66%);
  animation: drift 21s ease-in-out 1.4s infinite alternate-reverse;
}

.hero__aura i:nth-child(3) {
  width: 30vw;
  height: 30vw;
  left: 26%;
  bottom: -22%;
  background: radial-gradient(circle, rgba(36, 120, 190, 0.5), transparent 70%);
  animation: drift 30s ease-in-out 0.6s infinite alternate;
}

@keyframes drift {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(4%, 6%, 0) scale(1.14);
  }
}

.hero__copy {
  position: relative;
  z-index: 1;
}

.hero h1 .ln {
  display: block;
  overflow: hidden;
  padding-bottom: 0.06em;
}

.hero h1 .ln > span {
  display: block;
  transform: translateY(108%);
  opacity: 0;
  animation: lineUp 0.95s var(--ease) forwards;
  animation-delay: calc(var(--i, 0) * 95ms + 120ms);
}

@keyframes lineUp {
  to {
    transform: none;
    opacity: 1;
  }
}

.hero__sub,
.hero__actions {
  opacity: 0;
  animation: fadeUp 0.9s var(--ease) forwards;
}

.hero__sub {
  animation-delay: 0.52s;
}

.hero__actions {
  animation-delay: 0.64s;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.hero__media {
  isolation: isolate;
}

.hero__halo {
  position: absolute;
  inset: -10%;
  border-radius: 50%;
  background: radial-gradient(circle at 62% 46%, rgba(108, 170, 226, 0.4), rgba(108, 170, 226, 0) 62%);
  filter: blur(24px);
  animation: halo 11s ease-in-out infinite;
  pointer-events: none;
}

@keyframes halo {
  0%,
  100% {
    opacity: 0.6;
    transform: scale(0.96);
  }
  50% {
    opacity: 1;
    transform: scale(1.04);
  }
}

.hero__media .p {
  position: absolute;
  transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.3, 1);
  will-change: transform;
}

.hero__media .p-main {
  width: 78%;
  right: 0;
  top: 4%;
  transform: translate3d(calc(var(--mx, 0) * 15px), calc(var(--my, 0) * 15px), 0);
}

.hero__media .p-side {
  width: 31%;
  left: 2%;
  bottom: 8%;
  transform: translate3d(calc(var(--mx, 0) * -24px), calc(var(--my, 0) * -24px), 0);
}

.hero__media .p img {
  position: static;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 28px 42px rgba(0, 0, 0, 0.42));
}

.hero__media .p-main img {
  animation: floatA 13s ease-in-out infinite;
}

.hero__media .p-side img {
  animation: floatB 9.5s ease-in-out infinite;
}

@keyframes floatA {
  0%,
  100% {
    transform: translateY(-7px) rotate(-0.6deg);
  }
  50% {
    transform: translateY(9px) rotate(0.6deg);
  }
}

@keyframes floatB {
  0%,
  100% {
    transform: translateY(6px);
  }
  50% {
    transform: translateY(-8px);
  }
}

.hero__tick {
  position: absolute;
  width: 9px;
  height: 9px;
  opacity: 0.3;
  pointer-events: none;
}

.hero__tick::before,
.hero__tick::after {
  content: "";
  position: absolute;
  background: #fff;
}

.hero__tick::before {
  left: 0;
  right: 0;
  top: 4px;
  height: 1px;
}

.hero__tick::after {
  top: 0;
  bottom: 0;
  left: 4px;
  width: 1px;
}

.hero__tick--a {
  right: 2%;
  top: 2%;
}

.hero__tick--b {
  left: 4%;
  bottom: 3%;
}

.hero__tag {
  position: absolute;
  left: 0;
  top: -4px;
  padding-left: 10px;
  border-left: 1px solid rgba(255, 255, 255, 0.22);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  white-space: nowrap;
}

/* hero counters */

.hero__bar b {
  font-variant-numeric: tabular-nums;
}

/* ---------- marquee ---------- */

.marquee {
  position: relative;
  background: #08203a;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  overflow: hidden;
  padding: 13px 0;
}

.marquee::before,
.marquee::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 90px;
  z-index: 2;
  pointer-events: none;
}

.marquee::before {
  left: 0;
  background: linear-gradient(90deg, #08203a, transparent);
}

.marquee::after {
  right: 0;
  background: linear-gradient(270deg, #08203a, transparent);
}

.marquee__row {
  display: flex;
  width: max-content;
  animation: slide 42s linear infinite;
}

.marquee span {
  display: inline-flex;
  align-items: center;
  gap: 26px;
  padding-right: 26px;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  white-space: nowrap;
}

.marquee span::after {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #3e86c9;
  flex: none;
}

@keyframes slide {
  to {
    transform: translateX(-50%);
  }
}

.marquee:hover .marquee__row {
  animation-play-state: paused;
}

/* ---------- cards: sheen + accent ---------- */

.card__media::after {
  content: "";
  position: absolute;
  inset: -50%;
  background: linear-gradient(115deg, transparent 44%, rgba(255, 255, 255, 0.8) 50%, transparent 56%);
  opacity: 0;
  transform: translateX(-70%);
  transition: transform 1s var(--ease), opacity 0.35s var(--ease);
  pointer-events: none;
}

.card:hover .card__media::after {
  opacity: 1;
  transform: translateX(70%);
}

.card {
  position: relative;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  box-shadow: 0 0 0 0 rgba(21, 96, 168, 0);
  transition: box-shadow 0.35s var(--ease);
  pointer-events: none;
  z-index: 1;
}

.card:hover::before {
  box-shadow: 0 0 0 1px rgba(21, 96, 168, 0.35), 0 26px 50px -34px rgba(10, 37, 64, 0.55);
}

.card:hover .text-link svg {
  transform: translateX(4px);
}

/* ---------- feature + credential micro-interactions ---------- */

.feature {
  position: relative;
  transition: background 0.3s var(--ease);
}

.feature::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background: linear-gradient(90deg, #1560a8, #6fb0e0);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}

.feature:hover {
  background: #fbfdff;
}

.feature:hover::after {
  transform: scaleX(1);
}

.feature svg {
  transition: transform 0.4s var(--ease);
}

.feature:hover svg {
  transform: translateY(-2px) scale(1.06);
}

.cred img {
  transition: transform 0.35s var(--ease), opacity 0.35s var(--ease);
}

.cred:hover img {
  transform: scale(1.08);
  opacity: 1;
}

/* ---------- staggered reveals ---------- */

.js .stagger > * {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
}

.js .stagger.is-in > * {
  opacity: 1;
  transform: none;
}

.js .stagger > *:nth-child(2) {
  transition-delay: 0.07s;
}

.js .stagger > *:nth-child(3) {
  transition-delay: 0.14s;
}

.js .stagger > *:nth-child(4) {
  transition-delay: 0.21s;
}

.js .stagger > *:nth-child(5) {
  transition-delay: 0.28s;
}

.js .stagger > *:nth-child(6) {
  transition-delay: 0.35s;
}

/* ---------- section head with side note ---------- */

.split-head {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(20px, 4vw, 64px);
  align-items: end;
  max-width: none;
}

.split-head .lede {
  margin-bottom: 4px;
}

/* ---------- photo mosaic ---------- */

.mosaic {
  display: grid;
  grid-template-columns: 1.52fr 1fr;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: clamp(10px, 1.3vw, 16px);
  height: clamp(340px, 42vw, 540px);
}

.mosaic figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 2px;
  background: #0a2540;
}

.mosaic__big {
  grid-row: span 2;
}

.mosaic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.07) translate3d(0, var(--py, 0px), 0);
  transition: transform 1.2s var(--ease), filter 0.6s var(--ease);
  filter: saturate(0.94);
}

.mosaic figure:hover img {
  filter: saturate(1.05);
}

.mosaic figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 24, 44, 0) 45%, rgba(6, 24, 44, 0.82) 100%);
  pointer-events: none;
}

.mosaic figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 0 18px 15px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transform: translateY(4px);
  opacity: 0.85;
  transition: transform 0.45s var(--ease), opacity 0.45s var(--ease);
}

.mosaic figcaption b {
  color: #fff;
  font-weight: 600;
}

.mosaic figure:hover figcaption {
  transform: none;
  opacity: 1;
}

.mosaic__note {
  margin-top: 14px;
  font-size: 11px;
  letter-spacing: 0.04em;
  color: #9aa9b6;
}

/* ---------- photo band (about) ---------- */

.photoband {
  position: relative;
  height: clamp(320px, 36vw, 470px);
  overflow: hidden;
  background: #08203a;
  isolation: isolate;
}

.photoband > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  animation: bandZoom 24s ease-in-out infinite alternate;
}

@keyframes bandZoom {
  from {
    transform: scale(1.02) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.08) translate3d(0, -1.5%, 0);
  }
}

.photoband::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 32, 58, 0.05) 0%, rgba(8, 32, 58, 0.42) 48%, rgba(8, 32, 58, 0.9) 82%, rgba(8, 32, 58, 0.98) 100%);
}

.photoband__in {
  position: absolute;
  left: 0;
  right: 0;
  bottom: clamp(26px, 3.4vw, 46px);
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  flex-wrap: wrap;
}

.photoband__cap {
  max-width: 54ch;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.94rem;
  line-height: 1.72;
}

.photoband__cap span {
  display: block;
  margin-bottom: 11px;
  color: #fff;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.photoband__stats {
  display: flex;
  gap: clamp(24px, 3vw, 44px);
  margin: 0;
}

.photoband__stats dt {
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.photoband__stats dd {
  margin: 7px 0 0;
  color: #fff;
  font-size: 1.12rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

/* ---------- product shots ---------- */

.shot {
  background: linear-gradient(165deg, #f6f9fc 0%, #eaf1f8 100%);
  transition: box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}

.shot img {
  transition: transform 0.6s var(--ease);
}

.shot:hover {
  border-color: #cddcea;
  box-shadow: 0 20px 34px -30px rgba(10, 37, 64, 0.6);
}

.shot:hover img {
  transform: translateY(-4px) scale(1.02);
}

table.specs tbody tr {
  transition: background 0.18s var(--ease);
}

table.specs tbody tr:hover {
  background: #f7fafd;
}

/* ---------- CTA + footer watermarks ---------- */

.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: linear-gradient(to right, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(90% 140% at 12% 0%, #000 0%, transparent 72%);
  mask-image: radial-gradient(90% 140% at 12% 0%, #000 0%, transparent 72%);
  pointer-events: none;
}

.cta__in {
  z-index: 1;
}

.ftr {
  position: relative;
  overflow: hidden;
}



/* ---------- contact card logo ---------- */

.contact-card__logo {
  width: 116px;
  height: auto;
  margin-bottom: 24px;
  opacity: 0.96;
}

/* ---------- motion preferences ---------- */

@media (prefers-reduced-motion: reduce) {
  .hero__aura i,
  .hero__halo,
  .hero__media .p img,
  .photoband > img,
  .marquee__row,
  .hero h1 .ln > span,
  .hero__sub,
  .hero__actions {
    animation: none !important;
  }

  .hero h1 .ln > span,
  .hero__sub,
  .hero__actions {
    opacity: 1;
    transform: none;
  }

  .js .stagger > * {
    opacity: 1;
    transform: none;
  }
}

/* ---------- responsive additions ---------- */

@media (max-width: 1024px) {
  .split-head {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 18px;
  }

  .mosaic {
    height: clamp(300px, 56vw, 460px);
  }
}

@media (max-width: 860px) {
  .nav a::after {
    display: none;
  }

  .brand__mark {
    height: 29px;
  }

  .brand__txt b {
    font-size: 11.5px;
  }
}

@media (max-width: 620px) {
  .hero__media {
    max-width: 330px;
  }

  .hero__in {
    padding-bottom: 18px;
  }

  .mosaic {
    grid-template-columns: 1fr;
    grid-template-rows: 1.35fr 1fr 1fr;
    height: auto;
  }

  .mosaic__big {
    grid-row: auto;
    aspect-ratio: 4 / 3;
  }

  .mosaic figure:not(.mosaic__big) {
    aspect-ratio: 16 / 9;
  }

  .photoband {
    height: auto;
    aspect-ratio: 4 / 5;
  }

  .photoband__in {
    position: absolute;
    gap: 18px;
  }

  .photoband__stats {
    gap: 22px;
  }

  .hero__tag {
    display: none;
  }

}
