/* ==========================================================================
   VIVON — Industrial Building Envelope Systems
   Design system & site styles
   --------------------------------------------------------------------------
   Structure
   01. Tokens
   02. Base & typography
   03. Layout utilities
   04. Buttons, links, tags
   05. Header & navigation
   06. Hero
   07. Section furniture
   08. Home: product index, schematic, capabilities, projects, process, FAQ, CTA
   09. Product detail pages
   10. Solutions page
   11. Projects page
   12. About page
   13. Contact page & forms
   14. Footer
   15. Motion & accessibility
   16. Responsive
   ========================================================================== */

/* 01. Tokens --------------------------------------------------------------- */
:root {
  --ink: #071326;
  --ink-2: #0c1c33;
  --ink-3: #142844;
  --blue: #0a2bd6;
  --blue-deep: #0020ae;
  --blue-soft: #eef1ff;
  --blue-line: #c9d2ff;
  --paper: #ffffff;
  --mist: #f4f6fa;
  --mist-2: #e9edf4;
  --line: #dde4ee;
  --text: #1a2637;
  --muted: #5d6c82;
  --muted-2: #8290a5;
  --white: #ffffff;

  --font-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;

  --container: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
  --section-y: clamp(72px, 9vw, 118px);
  --header-h: 76px;

  --radius-sm: 4px;
  --radius: 8px;
  --radius-lg: 14px;

  --shadow-sm: 0 1px 2px rgba(7, 19, 38, 0.05);
  --shadow-md: 0 18px 40px -22px rgba(7, 19, 38, 0.35);
  --shadow-lg: 0 40px 90px -50px rgba(7, 19, 38, 0.55);

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

/* 02. Base & typography ---------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

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

[id] { scroll-margin-top: calc(var(--header-h) + 64px); }

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  overflow-x: clip;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.nav-open { overflow: hidden; }

img, svg { display: block; max-width: 100%; }
img { height: auto; }
[hidden] { display: none !important; }

h1, h2, h3, h4, h5 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.08;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.5rem, 5vw, 4.35rem); }
h2 { font-size: clamp(1.95rem, 3.5vw, 3.05rem); }
h3 { font-size: clamp(1.2rem, 1.7vw, 1.55rem); letter-spacing: -0.02em; }
h4 { font-size: 1.06rem; letter-spacing: -0.01em; }

p { margin: 0; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }

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

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 200;
  background: var(--ink);
  color: #fff;
  padding: 12px 18px;
  font-size: 14px;
  border-radius: var(--radius-sm);
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 12px; }

/* 03. Layout utilities ----------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.container--wide { max-width: 1440px; }
.container--narrow { max-width: 980px; }

.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(52px, 6vw, 78px); }
.section--mist { background: var(--mist); }
.section--ink { background: var(--ink); color: #c9d3e1; }
.section--line { border-top: 1px solid var(--line); }

.grid { display: grid; gap: clamp(24px, 3vw, 40px); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.lead {
  font-size: clamp(1.05rem, 1.35vw, 1.22rem);
  line-height: 1.6;
  color: var(--muted);
  max-width: 62ch;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.69rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue);
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: currentColor;
}
.eyebrow--light { color: #8fa6ff; }
.eyebrow--muted { color: var(--muted-2); }

.index-num {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  color: var(--muted-2);
}

/* 04. Buttons, links, tags ------------------------------------------------- */
.btn {
  --btn-bg: var(--blue);
  --btn-fg: #fff;
  --btn-bd: var(--blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 24px;
  border: 1px solid var(--btn-bd);
  border-radius: var(--radius-sm);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1;
  cursor: pointer;
  transition: background 0.22s var(--ease), color 0.22s var(--ease),
    border-color 0.22s var(--ease), transform 0.22s var(--ease);
}
.btn svg { flex: none; transition: transform 0.22s var(--ease); }
.btn:hover { background: var(--blue-deep); border-color: var(--blue-deep); transform: translateY(-1px); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: translateY(0); }

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

.btn--white {
  --btn-bg: #fff;
  --btn-fg: var(--ink);
  --btn-bd: #fff;
}
.btn--white:hover { --btn-bg: var(--blue-soft); --btn-fg: var(--blue-deep); --btn-bd: var(--blue-soft); }

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

.btn--sm { min-height: 42px; padding: 0 18px; font-size: 0.82rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--blue);
  letter-spacing: 0.01em;
}
.link-arrow svg { transition: transform 0.22s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }
.link-arrow--light { color: #a9b8ff; }

.tag {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 100px;
  background: #fff;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}
.tag--blue { border-color: var(--blue-line); background: var(--blue-soft); color: var(--blue-deep); }
.tag--ink { border-color: rgba(255, 255, 255, 0.18); background: rgba(255, 255, 255, 0.06); color: #dce4f0; }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; }

/* 05. Header & navigation -------------------------------------------------- */
.utility-bar {
  background: var(--ink);
  color: #9fadc2;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.utility-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 34px;
}
.utility-bar a { color: #d5deea; transition: color 0.2s; }
.utility-bar a:hover { color: #fff; }
.utility-bar__meta { display: flex; align-items: center; gap: 18px; }
.utility-bar__meta span { display: inline-flex; align-items: center; gap: 6px; }
.utility-bar__dot { width: 6px; height: 6px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.15); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.25s var(--ease);
}
.site-header.is-scrolled { box-shadow: 0 10px 30px -18px rgba(7, 19, 38, 0.45); }

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: var(--header-h);
}

.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { width: 108px; height: auto; }
.brand__divider {
  width: 1px;
  height: 26px;
  margin-left: 16px;
  margin-right: 16px;
  background: var(--line);
}
.brand__tag {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  line-height: 1.4;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.site-nav { margin-left: auto; }
.site-nav__list { display: flex; align-items: center; gap: 4px; }
.site-nav__item { position: relative; }
.site-nav__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 13px;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 500;
  color: #2c3a4e;
  transition: color 0.2s, background 0.2s;
}
.site-nav__link:hover { color: var(--blue); background: var(--mist); }
.site-nav__link.is-active { color: var(--blue); }
.site-nav__link.is-active::after {
  content: "";
  position: absolute;
  left: 13px;
  right: 13px;
  bottom: 2px;
  height: 2px;
  background: var(--blue);
}
.site-nav__link svg { opacity: 0.55; }

.dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  width: 328px;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.18s var(--ease), transform 0.18s var(--ease), visibility 0.18s;
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown__link {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 11px 12px;
  border-radius: 6px;
  transition: background 0.18s;
}
.dropdown__link:hover { background: var(--mist); }
.dropdown__icon {
  flex: none;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--blue);
  background: #fff;
}
.dropdown__name { display: block; font-size: 0.84rem; font-weight: 600; color: var(--ink); }
.dropdown__desc { display: block; font-size: 0.73rem; color: var(--muted-2); line-height: 1.4; margin-top: 2px; }

.header-actions { display: flex; align-items: center; gap: 10px; flex: none; }
.header-actions .btn { min-height: 44px; padding-inline: 18px; font-size: 0.8rem; }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  cursor: pointer;
  padding: 0;
  position: relative;
}
.nav-toggle span {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.25s var(--ease), opacity 0.2s;
}
.nav-toggle span:nth-child(1) { top: 16px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 26px; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

/* 06. Hero ---------------------------------------------------------------- */
.hero {
  position: relative;
  padding-top: clamp(48px, 6vw, 82px);
  padding-bottom: clamp(48px, 6vw, 76px);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(10, 43, 214, 0.055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(10, 43, 214, 0.055) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 80% 20%, #000 0%, transparent 72%);
  mask-image: radial-gradient(ellipse 70% 70% at 80% 20%, #000 0%, transparent 72%);
  pointer-events: none;
}
.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: clamp(32px, 4.5vw, 64px);
  align-items: center;
}
.hero__copy { max-width: 620px; }
.hero h1 { margin-top: 22px; }
.hero h1 .accent { color: var(--blue); }
.hero__lead {
  margin-top: 22px;
  font-size: clamp(1rem, 1.25vw, 1.12rem);
  line-height: 1.7;
  color: var(--muted);
  max-width: 56ch;
}
.hero__actions { margin-top: 30px; }
.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-top: 38px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}
.hero__meta-item {
  padding-right: 24px;
  margin-right: 24px;
  border-right: 1px solid var(--line);
}
.hero__meta-item:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.hero__meta dt {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.hero__meta dd {
  margin: 4px 0 0;
  font-family: var(--font-display);
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.hero__visual { position: relative; }
.hero__frame {
  position: relative;
  aspect-ratio: 4 / 3.5;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--ink-3);
  box-shadow: var(--shadow-lg);
}
.hero__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 70%;
}
.hero__frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 19, 38, 0) 45%, rgba(7, 19, 38, 0.55) 100%);
  pointer-events: none;
}
.hero__badge {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 11px;
  background: rgba(7, 19, 38, 0.72);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 3px;
  color: #dfe7f4;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.hero__badge i { width: 6px; height: 6px; border-radius: 50%; background: #6ea0ff; }
.hero__caption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 16px;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  color: #eef3fb;
  font-family: var(--font-mono);
  font-size: 0.63rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.hero__caption span:last-child { color: #aab9cd; text-align: right; }

.hero__corner {
  position: absolute;
  width: 22px;
  height: 22px;
  border-color: var(--blue);
  border-style: solid;
  z-index: 3;
  pointer-events: none;
}
.hero__corner--tl { top: -7px; left: -7px; border-width: 2px 0 0 2px; }
.hero__corner--br { bottom: -7px; right: -7px; border-width: 0 2px 2px 0; }

.hero__vertical {
  position: absolute;
  right: -34px;
  top: 50%;
  transform: rotate(90deg) translateX(50%);
  transform-origin: right center;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted-2);
  white-space: nowrap;
}

/* 07. Section furniture ---------------------------------------------------- */
.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 28px;
  margin-bottom: clamp(36px, 4.5vw, 58px);
}
.section-head h2 { margin-top: 14px; max-width: 16ch; }
.section-head__aside { max-width: 400px; padding-bottom: 4px; }
.section-head__aside p { color: var(--muted); font-size: 0.95rem; }
.section-head__aside .link-arrow { margin-top: 14px; }
.section-head--stack { grid-template-columns: 1fr; }
.section-head--stack h2 { max-width: 24ch; }

.section-foot {
  margin-top: clamp(32px, 4vw, 48px);
  display: flex;
  justify-content: center;
}

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

/* 08. Home components ------------------------------------------------------ */
/* Product index */
.product-index {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(36px, 5vw, 72px);
  align-items: start;
}
.product-index__intro { position: sticky; top: calc(var(--header-h) + 28px); }
.product-index__intro h2 { margin-top: 14px; max-width: 12ch; }
.product-index__intro p { margin-top: 20px; color: var(--muted); max-width: 42ch; }
.product-index__intro .btn { margin-top: 28px; }
.product-index__note {
  margin-top: 30px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 0.8rem;
  color: var(--muted-2);
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.product-index__note svg { flex: none; margin-top: 2px; color: var(--blue); }

.product-list { border-top: 1px solid var(--line); }
.product-row {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 132px 22px;
  gap: 18px;
  align-items: center;
  padding: 18px 10px 18px 2px;
  border-bottom: 1px solid var(--line);
  transition: background 0.22s var(--ease), padding 0.22s var(--ease);
}
.product-row:hover { background: var(--mist); padding-left: 12px; }
.product-row__num {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--muted-2);
  letter-spacing: 0.08em;
}
.product-row__title {
  display: block;
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.product-row__desc {
  display: block;
  margin-top: 4px;
  font-size: 0.79rem;
  line-height: 1.5;
  color: var(--muted);
}
.product-row__thumb {
  width: 132px;
  height: 76px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--mist-2);
}
.product-row__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.product-row:hover .product-row__thumb img { transform: scale(1.06); }
.product-row__arrow { color: var(--muted-2); transition: color 0.2s, transform 0.2s var(--ease); }
.product-row:hover .product-row__arrow { color: var(--blue); transform: translateX(3px); }

/* Trust strip */
.trust-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.trust-strip__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.trust-item {
  padding: 26px 26px 26px 0;
  border-right: 1px solid var(--line);
}
.trust-item:last-child { border-right: 0; }
.trust-item:not(:first-child) { padding-left: 26px; }
.trust-item__value {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2vw, 1.9rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1;
}
.trust-item__value span { color: var(--blue); }
.trust-item__label {
  margin-top: 7px;
  font-family: var(--font-mono);
  font-size: 0.63rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-2);
}

/* System schematic */
.system-section { position: relative; overflow: hidden; }
.system-section::before {
  content: "";
  position: absolute;
  inset: 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(ellipse 60% 75% at 60% 45%, #000, transparent 75%);
  mask-image: radial-gradient(ellipse 60% 75% at 60% 45%, #000, transparent 75%);
  pointer-events: none;
}
.system-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(36px, 5vw, 70px);
  align-items: center;
}
.system-copy h2 { color: #fff; margin-top: 14px; max-width: 13ch; }
.system-copy p { margin-top: 20px; max-width: 42ch; color: #a9b7ca; }
.system-legend { margin-top: 30px; border-top: 1px solid rgba(255, 255, 255, 0.12); }
.system-legend__item {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 11px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}
.system-legend__key {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: #7f94b3;
  letter-spacing: 0.1em;
  width: 26px;
  flex: none;
}
.system-legend__name { font-size: 0.84rem; font-weight: 500; color: #e6edf7; }
.system-legend__desc { margin-left: auto; font-size: 0.72rem; color: #8496ae; text-align: right; }

.schematic { position: relative; }
.schematic svg { width: 100%; height: auto; }
.schematic__caption {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #7d90aa;
}

/* Capability grid */
.cap-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.cap-item {
  padding: clamp(24px, 3vw, 36px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
  transition: background 0.25s var(--ease);
}
.cap-item:hover { background: var(--mist); }
.cap-item__num {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  color: var(--blue);
  letter-spacing: 0.1em;
}
.cap-item h3 { margin-top: 34px; font-size: 1.12rem; }
.cap-item p { margin-top: 10px; font-size: 0.86rem; color: var(--muted); line-height: 1.62; }
.cap-item__list { margin-top: 18px; display: grid; gap: 7px; }
.cap-item__list li {
  position: relative;
  padding-left: 14px;
  font-size: 0.78rem;
  color: #45546a;
}
.cap-item__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 4px;
  height: 4px;
  background: var(--blue);
}

/* Projects */
.project-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.project-card {
  position: relative;
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--ink);
  isolation: isolate;
}
.project-card__media { position: relative; aspect-ratio: 4 / 3.1; overflow: hidden; }
.project-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease), opacity 0.4s;
  opacity: 0.92;
}
.project-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(7, 19, 38, 0.02) 32%, rgba(7, 19, 38, 0.86) 100%);
  pointer-events: none;
}
.project-card:hover .project-card__media img { transform: scale(1.04); opacity: 1; }
.project-card__body {
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 22px;
  color: #fff;
}
.project-card__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #b9c7da;
}
.project-card__meta i { width: 4px; height: 4px; border-radius: 50%; background: #7ea1ff; }
.project-card h3 { margin-top: 9px; color: #fff; font-size: 1.18rem; }
.project-card__scope { margin-top: 6px; font-size: 0.78rem; color: #b6c4d8; }
.project-card__arrow {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  color: #fff;
  background: rgba(7, 19, 38, 0.25);
  backdrop-filter: blur(6px);
  transition: background 0.2s, transform 0.2s var(--ease);
}
.project-card:hover .project-card__arrow { background: var(--blue); border-color: var(--blue); transform: rotate(-45deg); }

/* Process */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
}
.process-step {
  padding: 26px 26px 26px 0;
  border-right: 1px solid var(--line);
  position: relative;
}
.process-step:last-child { border-right: 0; }
.process-step:not(:first-child) { padding-left: 26px; }
.process-step__num {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  color: var(--blue);
  background: #fff;
}
.process-step h3 { margin-top: 20px; font-size: 1rem; }
.process-step p { margin-top: 8px; font-size: 0.8rem; color: var(--muted); line-height: 1.6; }

/* FAQ */
.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(36px, 5vw, 72px);
  align-items: start;
}
.faq-intro { position: sticky; top: calc(var(--header-h) + 28px); }
.faq-intro h2 { margin-top: 14px; max-width: 11ch; }
.faq-intro p { margin-top: 20px; color: var(--muted); max-width: 36ch; }
.faq-intro__box {
  margin-top: 28px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
.faq-intro__box h3 { font-size: 0.95rem; }
.faq-intro__box p { margin-top: 6px; font-size: 0.8rem; color: var(--muted); max-width: none; }
.faq-intro__box .link-arrow { margin-top: 12px; font-size: 0.8rem; }

.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 2px;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
  transition: color 0.2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--blue); }
.faq-item__icon {
  flex: none;
  width: 24px;
  height: 24px;
  position: relative;
  margin-top: 1px;
}
.faq-item__icon::before,
.faq-item__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 1.5px;
  background: var(--ink);
  transform: translate(-50%, -50%);
  transition: transform 0.25s var(--ease), background 0.2s;
}
.faq-item__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item[open] .faq-item__icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-item[open] .faq-item__icon::before,
.faq-item[open] .faq-item__icon::after { background: var(--blue); }
.faq-item__answer { padding: 0 44px 22px 2px; }
.faq-item__answer p { font-size: 0.9rem; color: var(--muted); line-height: 1.7; }
.faq-item__answer p + p { margin-top: 10px; }

/* CTA band */
.cta-band { position: relative; overflow: hidden; background: var(--blue); color: #fff; }
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.09) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.09) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 75% 100% at 85% 50%, #000, transparent 70%);
  mask-image: radial-gradient(ellipse 75% 100% at 85% 50%, #000, transparent 70%);
  pointer-events: none;
}
.cta-band__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) auto;
  align-items: center;
  gap: 36px;
  padding-block: clamp(52px, 6vw, 74px);
}
.cta-band h2 { color: #fff; max-width: 20ch; }
.cta-band p { margin-top: 14px; max-width: 52ch; color: #d6ddff; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-band__meta {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-family: var(--font-mono);
  font-size: 0.63rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #b9c4ff;
}
.cta-band__meta span { display: inline-flex; align-items: center; gap: 7px; }
.cta-band__meta i { width: 5px; height: 5px; border-radius: 50%; background: #9fb0ff; }

/* 09. Product detail pages ------------------------------------------------- */
.breadcrumbs {
  padding-block: 16px;
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.breadcrumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.breadcrumbs li { display: inline-flex; align-items: center; gap: 8px; font-size: 0.73rem; color: var(--muted-2); }
.breadcrumbs li + li::before { content: "/"; color: #c4cdd9; }
.breadcrumbs a { color: var(--muted); transition: color 0.2s; }
.breadcrumbs a:hover { color: var(--blue); }
.breadcrumbs [aria-current="page"] { color: var(--ink); }

.page-hero { padding-block: clamp(44px, 5.5vw, 70px); border-bottom: 1px solid var(--line); }
.page-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: clamp(32px, 4.5vw, 60px);
  align-items: center;
}
.page-hero h1 { margin-top: 18px; font-size: clamp(2.2rem, 4.2vw, 3.7rem); }
.page-hero__lead { margin-top: 18px; font-size: 1.05rem; line-height: 1.7; color: var(--muted); max-width: 56ch; }
.page-hero__media {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--mist-2);
  box-shadow: var(--shadow-md);
}
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__facts {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}
.page-hero__fact { padding: 14px 16px 0 0; }
.page-hero__fact dt {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.page-hero__fact dd {
  margin: 4px 0 0;
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
}

.anchor-bar {
  position: sticky;
  top: var(--header-h);
  z-index: 40;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.anchor-bar__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.anchor-nav { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.anchor-nav::-webkit-scrollbar { display: none; }
.anchor-nav a {
  display: inline-block;
  padding: 15px 14px;
  font-size: 0.76rem;
  font-weight: 500;
  color: var(--muted);
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  transition: color 0.2s, border-color 0.2s;
}
.anchor-nav a:hover { color: var(--blue); border-color: var(--blue); }
.anchor-bar .btn { min-height: 38px; padding-inline: 16px; font-size: 0.76rem; }

.product-body { padding-block: clamp(52px, 6vw, 82px); }
.product-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: clamp(36px, 5vw, 72px);
  align-items: start;
}
.prose h2 { font-size: clamp(1.7rem, 2.5vw, 2.3rem); margin-top: 0; }
.prose h3 { margin-top: 38px; }
.prose p { margin-top: 14px; color: #40506a; line-height: 1.75; }
.prose p:first-of-type { margin-top: 0; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose ul { margin-top: 16px; display: grid; gap: 9px; }
.prose ul li { position: relative; padding-left: 20px; color: #40506a; font-size: 0.93rem; }
.prose ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.66em;
  width: 6px;
  height: 6px;
  border: 1px solid var(--blue);
}
.prose .lead { color: var(--muted); margin-bottom: 26px; }

.answer-box {
  margin-top: 26px;
  padding: 20px 22px;
  background: var(--blue-soft);
  border-left: 3px solid var(--blue);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.answer-box__label {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-deep);
}
.answer-box p { margin-top: 6px; font-size: 0.9rem; color: #293a63; line-height: 1.65; }

.spec-table { width: 100%; border-collapse: collapse; margin-top: 22px; font-size: 0.86rem; }
.spec-table caption {
  text-align: left;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-2);
  padding-bottom: 10px;
}
.spec-table th, .spec-table td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.spec-table th {
  width: 34%;
  font-weight: 500;
  color: var(--muted);
  background: var(--mist);
  font-size: 0.8rem;
}
.spec-table td { color: var(--ink); font-weight: 500; }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }

.side-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.side-card + .side-card { margin-top: 18px; }
.side-card h3 { font-size: 1.02rem; }
.side-card p { margin-top: 8px; font-size: 0.82rem; color: var(--muted); line-height: 1.6; }
.side-card__list { margin-top: 16px; border-top: 1px solid var(--line); }
.side-card__list li {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.78rem;
}
.side-card__list span:first-child { color: var(--muted-2); }
.side-card__list span:last-child { color: var(--ink); font-weight: 500; text-align: right; }
.side-card .btn { width: 100%; margin-top: 18px; }
.side-card__note { margin-top: 12px; font-size: 0.71rem; color: var(--muted-2); line-height: 1.5; }

.application-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}
.application-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  color: #3d4c63;
  background: #fff;
}
.application-item svg { color: var(--blue); flex: none; }

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

/* Product catalogue */
.catalogue-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.catalogue-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  transition: box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
}
.catalogue-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.catalogue-card__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--mist); }
.catalogue-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.catalogue-card:hover .catalogue-card__media img { transform: scale(1.04); }
.catalogue-card__num {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  padding: 5px 9px;
  background: rgba(7, 19, 38, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 3px;
  color: #dfe8f6;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
}
.catalogue-card__body { display: flex; flex-direction: column; flex: 1; padding: 22px; }
.catalogue-card__body h3 { font-size: 1.18rem; }
.catalogue-card__body p { margin-top: 8px; font-size: 0.85rem; color: var(--muted); line-height: 1.6; }
.catalogue-card__tags { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 6px; }
.catalogue-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: auto;
  padding-top: 18px;
}

.related-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  transition: box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}
.related-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.related-card__media { aspect-ratio: 16 / 9; overflow: hidden; background: var(--mist); }
.related-card__media img { width: 100%; height: 100%; object-fit: cover; }
.related-card__body { padding: 16px 18px 18px; }
.related-card__body h3 { font-size: 0.98rem; }
.related-card__body p { margin-top: 5px; font-size: 0.76rem; color: var(--muted); line-height: 1.5; }
.related-card__body .link-arrow { margin-top: 12px; font-size: 0.76rem; }

/* 10. Solutions page ------------------------------------------------------- */
.solution-list { display: grid; gap: clamp(40px, 5vw, 64px); }
.solution-block {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 4.5vw, 60px);
  align-items: center;
}
.solution-block:nth-child(even) .solution-block__media { order: 2; }
.solution-block__media {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--mist);
}
.solution-block__media img { width: 100%; height: 100%; object-fit: cover; }
.solution-block__index {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  color: var(--blue);
}
.solution-block h2 { margin-top: 12px; font-size: clamp(1.6rem, 2.5vw, 2.2rem); }
.solution-block p { margin-top: 14px; color: var(--muted); font-size: 0.93rem; max-width: 52ch; }
.solution-block__systems { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 7px; }
.solution-block__link { margin-top: 20px; }

.matrix-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.matrix { width: 100%; border-collapse: collapse; min-width: 720px; font-size: 0.82rem; }
.matrix th, .matrix td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); }
.matrix thead th {
  background: var(--ink);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
}
.matrix tbody th { font-weight: 600; color: var(--ink); background: var(--mist); width: 24%; }
.matrix td { color: var(--muted); }
.matrix tr:last-child th, .matrix tr:last-child td { border-bottom: 0; }

/* 11. Projects page ------------------------------------------------------- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 34px;
}
.filter-btn {
  padding: 9px 15px;
  border: 1px solid var(--line);
  border-radius: 100px;
  background: #fff;
  font-size: 0.76rem;
  font-weight: 500;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.2s var(--ease);
}
.filter-btn:hover { border-color: #b9c6d8; color: var(--ink); }
.filter-btn.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }

.project-grid--wide { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.project-grid--wide .project-card__media { aspect-ratio: 16 / 10; }
.project-card__details {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 24px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}
.project-card__detail { font-size: 0.7rem; color: #c2cfdf; }
.project-card__detail span {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.55rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #8fa2ba;
  margin-bottom: 2px;
}

.outcome-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.outcome-item {
  padding: clamp(22px, 3vw, 32px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.outcome-item__value {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--blue);
  line-height: 1;
}
.outcome-item__label { margin-top: 8px; font-size: 0.8rem; color: var(--muted); }

/* 12. About page ---------------------------------------------------------- */
.about-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.about-intro h2 { margin-top: 14px; max-width: 15ch; }
.about-intro__body p { color: var(--muted); font-size: 0.98rem; line-height: 1.75; }
.about-intro__body p + p { margin-top: 16px; }
.about-intro__body .btn { margin-top: 26px; }

.about-media {
  margin-top: clamp(40px, 5vw, 64px);
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 21 / 9;
  background: var(--mist);
}
.about-media img { width: 100%; height: 100%; object-fit: cover; }

.principle-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.principle {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
.principle__num {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  color: var(--blue);
  letter-spacing: 0.1em;
}
.principle h3 { margin-top: 26px; font-size: 1.08rem; }
.principle p { margin-top: 9px; font-size: 0.84rem; color: var(--muted); line-height: 1.65; }

.partner-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.partner-card {
  padding: 26px;
  background: var(--mist);
  border-radius: var(--radius);
}
.partner-card h3 { font-size: 1rem; }
.partner-card p { margin-top: 8px; font-size: 0.82rem; color: var(--muted); line-height: 1.6; }
.partner-card ul { margin-top: 16px; display: grid; gap: 6px; }
.partner-card li { position: relative; padding-left: 13px; font-size: 0.78rem; color: #46566d; }
.partner-card li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 4px; height: 4px; background: var(--blue); }

/* 13. Contact page & forms ------------------------------------------------ */
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(36px, 5vw, 72px);
  align-items: start;
}
.contact-info h2 { margin-top: 14px; max-width: 13ch; }
.contact-info > p { margin-top: 18px; color: var(--muted); max-width: 42ch; }
.contact-channels { margin-top: 30px; border-top: 1px solid var(--line); }
.contact-channel {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.contact-channel__icon {
  flex: none;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--blue);
  background: #fff;
}
.contact-channel__label {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.contact-channel__value { display: block; margin-top: 3px; font-size: 0.9rem; font-weight: 500; color: var(--ink); }
.contact-channel__value:hover { color: var(--blue); }
.contact-channel__note { margin-top: 2px; font-size: 0.74rem; color: var(--muted-2); }

.form-panel {
  padding: clamp(24px, 3.5vw, 38px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-md);
}
.form-panel h2 { font-size: clamp(1.4rem, 2vw, 1.8rem); }
.form-panel > p { margin-top: 8px; font-size: 0.84rem; color: var(--muted); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 24px; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field--full { grid-column: 1 / -1; }
.form-field label { font-size: 0.74rem; font-weight: 500; color: #3d4c63; }
.form-field label span { color: var(--blue); }
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 13px;
  border: 1px solid #cfd8e5;
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 0.85rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-field textarea { min-height: 116px; resize: vertical; }
.form-field input::placeholder,
.form-field textarea::placeholder { color: #a4b0c1; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(10, 43, 214, 0.1);
}
.form-field input:user-invalid,
.form-field textarea:user-invalid { border-color: #c0392b; }
.form-consent {
  grid-column: 1 / -1;
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 0.72rem;
  color: var(--muted-2);
  line-height: 1.5;
}
.form-consent input { width: 15px; height: 15px; margin-top: 2px; flex: none; accent-color: var(--blue); }
.form-submit { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.form-submit .btn { min-height: 48px; }
.form-note { font-size: 0.7rem; color: var(--muted-2); max-width: 32ch; }
.form-status {
  grid-column: 1 / -1;
  display: none;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  line-height: 1.5;
}
.form-status.is-visible { display: block; }
.form-status--ok { background: #eefaf2; border: 1px solid #bfe8cc; color: #1d6b39; }
.form-status--error { background: #fdf0ef; border: 1px solid #f0c6c2; color: #8e2f25; }

.contact-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 26px;
}
.contact-fact { padding-top: 14px; border-top: 1px solid var(--line); }
.contact-fact dt { font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted-2); }
.contact-fact dd { margin: 4px 0 0; font-size: 0.8rem; font-weight: 500; color: var(--ink); }

/* 14. Footer -------------------------------------------------------------- */
.site-footer { background: var(--ink); color: #93a4bb; }
.footer-main {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(4, minmax(0, 1fr));
  gap: 36px;
  padding-block: clamp(52px, 6vw, 76px);
}
.footer-brand img { width: 118px; height: auto; }
.footer-brand p { margin-top: 18px; font-size: 0.82rem; line-height: 1.7; max-width: 32ch; color: #94a5bd; }
.footer-badges { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 6px; }
.footer-badges .tag { background: rgba(255, 255, 255, 0.04); border-color: rgba(255, 255, 255, 0.14); color: #b8c5d7; }
.footer-col h3 {
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.footer-col ul { margin-top: 16px; display: grid; gap: 9px; }
.footer-col a { font-size: 0.8rem; color: #9aacc3; transition: color 0.2s; }
.footer-col a:hover { color: #fff; }
.footer-col address { margin-top: 16px; font-style: normal; font-size: 0.8rem; line-height: 1.7; color: #9aacc3; }
.footer-col address a { display: block; margin-top: 3px; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-block: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  font-size: 0.7rem;
  color: #7f92aa;
}
.footer-bottom__links { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-bottom a:hover { color: #fff; }

/* 15. Motion & accessibility --------------------------------------------- */
.reveal-pending { opacity: 0; transform: translateY(16px); }
.reveal-pending.is-revealed {
  opacity: 1;
  transform: none;
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal-pending { opacity: 1; transform: none; }
}

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

/* 16. Responsive ---------------------------------------------------------- */
@media (max-width: 1180px) {
  .brand__tag, .brand__divider { display: none; }
  .site-nav__link { padding-inline: 9px; font-size: 0.78rem; }
  .hero__vertical { display: none; }
  .product-row { grid-template-columns: 38px minmax(0, 1fr) 112px 20px; }
  .product-row__thumb { width: 112px; height: 68px; }
}

@media (max-width: 1024px) {
  /* backdrop-filter would make the header the containing block for the fixed nav */
  .site-header { backdrop-filter: none; }
  .utility-bar__meta span:nth-child(2) { display: none; }
  .nav-toggle { display: block; }
  .header-actions .btn { display: none; }
  .site-nav {
    position: fixed;
    top: calc(var(--header-h) + 34px);
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 90;
    margin: 0;
    padding: 18px var(--gutter) 40px;
    background: #fff;
    border-top: 1px solid var(--line);
    overflow-y: auto;
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 0.32s var(--ease), visibility 0.32s;
  }
  .nav-open .site-nav { transform: none; visibility: visible; }
  .site-nav__list { display: block; }
  .site-nav__item { border-bottom: 1px solid var(--line); }
  .site-nav__link { display: flex; justify-content: space-between; padding: 16px 4px; font-size: 0.98rem; }
  .site-nav__link.is-active::after { display: none; }
  .dropdown {
    position: static;
    width: 100%;
    padding: 0 0 12px;
    border: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
  }
  .has-dropdown.is-open .dropdown { display: block; }
  .has-dropdown.is-open > .site-nav__link svg { transform: rotate(180deg); }
  .dropdown__link { padding: 10px 12px; background: var(--mist); margin-bottom: 6px; }
  .header-actions { margin-left: auto; }
  .hero__grid { grid-template-columns: 1fr; gap: 36px; }
  .hero__copy { max-width: none; }
  .hero__frame { aspect-ratio: 16 / 9.5; }
  .product-index { grid-template-columns: 1fr; }
  .product-index__intro { position: static; }
  .product-index__intro h2 { max-width: none; }
  .system-grid { grid-template-columns: 1fr; }
  .section-head { grid-template-columns: 1fr; align-items: start; }
  .section-head h2 { max-width: 22ch; }
  .faq-layout { grid-template-columns: 1fr; }
  .faq-intro { position: static; }
  .faq-intro h2 { max-width: none; }
  .product-layout { grid-template-columns: 1fr; }
  .product-side { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
  .side-card + .side-card { margin-top: 0; }
  .solution-block { grid-template-columns: 1fr; }
  .solution-block:nth-child(even) .solution-block__media { order: 0; }
  .about-intro { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
  .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .project-grid--wide { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
  .trust-strip__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust-item { border-bottom: 1px solid var(--line); }
  .trust-item:nth-child(2) { border-right: 0; }
  .trust-item:nth-child(3), .trust-item:nth-child(4) { border-bottom: 0; }
  .trust-item:nth-child(3) { padding-left: 0; }
  .trust-item:nth-child(2) { padding-left: 26px; }
  .cap-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process-step { border-bottom: 1px solid var(--line); }
  .process-step:nth-child(2) { border-right: 0; }
  .process-step:nth-child(3), .process-step:nth-child(4) { border-bottom: 0; }
  .process-step:nth-child(3) { padding-left: 0; }
  .cta-band__inner { grid-template-columns: 1fr; }
  .page-hero__grid { grid-template-columns: 1fr; }
  .page-hero__media { order: -1; aspect-ratio: 16 / 9; }
  .anchor-bar__inner .btn { display: none; }
  .related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .catalogue-grid { grid-template-columns: 1fr; }
  .principle-grid, .partner-grid { grid-template-columns: 1fr; }
  .outcome-band { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .project-grid--wide { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .contact-facts { grid-template-columns: 1fr; }
  .product-side { grid-template-columns: 1fr; }
  .application-grid { grid-template-columns: 1fr; }
  .page-hero__facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  :root { --header-h: 66px; }
  .utility-bar { display: none; }
  .site-nav { top: var(--header-h); }
  .utility-bar__inner { justify-content: center; }
  .utility-bar__meta { display: none; }
  .brand img { width: 94px; }
  .hero { padding-top: 36px; }
  .hero h1 { font-size: clamp(2.1rem, 9vw, 2.8rem); }
  .hero__meta { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 0; }
  .hero__meta-item { border-right: 0; padding-right: 0; margin-right: 0; }
  .hero__meta-item:nth-child(odd) { border-right: 1px solid var(--line); }
  .hero__meta-item:nth-child(even) { padding-left: 18px; }
  .hero__frame { aspect-ratio: 4 / 3.4; }
  .hero__caption { flex-direction: column; align-items: flex-start; gap: 3px; }
  .hero__caption span:last-child { text-align: left; }
  .btn { width: 100%; }
  .btn-row .btn { width: 100%; }
  .hero__actions .btn-row { display: grid; }
  .trust-strip__grid { grid-template-columns: 1fr; }
  .trust-item, .trust-item:not(:first-child) {
    padding: 18px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .trust-item:last-child { border-bottom: 0; }
  .product-row { grid-template-columns: 32px minmax(0, 1fr) 18px; }
  .product-row__thumb { display: none; }
  .product-row__desc { font-size: 0.76rem; }
  .cap-grid { grid-template-columns: 1fr; }
  .project-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .process-step, .process-step:not(:first-child) {
    padding: 20px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .process-step:last-child { border-bottom: 0; }
  .cta-band__actions { display: grid; }
  .page-hero { padding-block: 32px; }
  .page-hero__facts { grid-template-columns: 1fr; gap: 10px; }
  .page-hero__fact { padding: 10px 0 0; border-top: 1px solid var(--line); }
  .page-hero__fact:first-child { border-top: 0; }
  .anchor-bar { top: var(--header-h); }
  .anchor-nav a { padding: 13px 11px; font-size: 0.72rem; }
  .related-grid { grid-template-columns: 1fr; }
  .outcome-band { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
  .form-panel { padding: 22px 18px; }
  .form-submit .btn { width: 100%; }
  .project-card__body { padding: 18px; }
  .project-card__details { gap: 10px 18px; }
}

/* 17. News & insights ------------------------------------------------------ */
.section--ruled { border-top: 1px solid var(--line); }

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.news-card {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  color: inherit;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}
.news-card:hover {
  transform: translateY(-3px);
  border-color: var(--blue-line);
  box-shadow: var(--shadow-md);
}
.news-card__media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--mist-2);
}
.news-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.news-card:hover .news-card__media img { transform: scale(1.04); }
.news-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 12px;
  padding: 22px 22px 24px;
}
.news-card h3 {
  font-size: 1.06rem;
  line-height: 1.35;
  letter-spacing: -0.01em;
}
.news-card p {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.65;
}
.news-card__more {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: auto;
  padding-top: 8px;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
}
.news-card__more svg { transition: transform 0.3s var(--ease); }
.news-card:hover .news-card__more svg { transform: translateX(4px); }

.news-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.news-meta__cat { color: var(--blue); }
.news-meta time { display: inline-flex; align-items: center; gap: 12px; }
.news-meta time::before {
  content: "";
  width: 14px;
  height: 1px;
  background: var(--line);
}

/* Article page */
.article-hero { padding-block: clamp(36px, 4.5vw, 56px) 0; }
.article-hero h1 {
  margin-top: 18px;
  font-size: clamp(2rem, 3.9vw, 3.3rem);
  max-width: 26ch;
}
.article-hero__lead {
  margin-top: 18px;
  max-width: 62ch;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.72;
}
.article-hero__media {
  margin: clamp(28px, 4vw, 44px) 0 0;
  aspect-ratio: 16 / 7.6;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--mist-2);
}
.article-hero__media img { width: 100%; height: 100%; object-fit: cover; }

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: clamp(36px, 5vw, 72px);
  padding-block: clamp(40px, 5vw, 64px);
  align-items: start;
}
.article-body { max-width: 68ch; }
.article-body p {
  color: var(--text);
  font-size: 1.02rem;
  line-height: 1.82;
}
.article-body p + p { margin-top: 1em; }
.article-body ul + p { margin-top: 1.15em; }
.article-body__intro {
  font-size: 1.12rem !important;
  color: var(--ink) !important;
}
.article-body h2 {
  margin-top: 2.2em;
  margin-bottom: 0.6em;
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  letter-spacing: -0.015em;
}
.article-body ul {
  margin-top: 0.9em;
  padding-left: 0;
  list-style: none;
}
.article-body li {
  position: relative;
  padding-left: 1.15em;
  margin-top: 0.5em;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.7;
}
.article-body li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 8px;
  height: 1px;
  background: var(--blue);
}
.article-takeaways {
  margin-top: 2.4em;
  padding: 26px 28px;
  background: var(--mist);
  border-left: 2px solid var(--blue);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.article-takeaways h2 { margin-top: 0; }
.article-takeaways li::before { background: var(--blue); }
.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 2.4em;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  list-style: none;
}
.article-tags li {
  margin: 0;
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.article-tags li::before { display: none; }

.article-aside {
  position: sticky;
  top: calc(var(--header-h) + 32px);
  display: grid;
  gap: 18px;
}
.article-aside__card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}
.article-aside__card h2 { font-size: 1.1rem; margin-top: 12px; }
.article-aside__card p { margin-top: 10px; color: var(--muted); font-size: 0.88rem; line-height: 1.65; }
.article-aside__card .btn { margin-top: 18px; }
.article-aside__card--mist { background: var(--mist); }
.aside-links { margin-top: 14px; list-style: none; }
.aside-links li + li { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.aside-links a { font-size: 0.9rem; line-height: 1.45; color: var(--ink); }
.aside-links a:hover { color: var(--blue); }

/* News listing page */
.news-list { padding-block: clamp(48px, 6vw, 84px); }

@media (max-width: 1024px) {
  .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .article-layout { grid-template-columns: minmax(0, 1fr); }
  .article-aside {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .article-aside__card .btn { width: 100%; }
}

@media (max-width: 640px) {
  .news-grid { grid-template-columns: 1fr; }
  .article-hero h1 { font-size: clamp(1.8rem, 8vw, 2.4rem); }
  .article-hero__media { aspect-ratio: 4 / 3; }
  .article-layout { padding-block: 32px; }
  .article-aside { grid-template-columns: 1fr; }
  .article-body p { font-size: 0.98rem; }
  .article-takeaways { padding: 20px; }
}

/* 18. Homepage hero carousel ----------------------------------------------- */
.hero--carousel {
  position: relative;
  display: flex;
  align-items: stretch;
  min-height: clamp(660px, 86vh, 860px);
  padding: 0;
  border-bottom: 0;
  background: var(--ink);
  overflow: hidden;
}
.hero--carousel::before { display: none; }

.hero-slides { position: absolute; inset: 0; z-index: 0; }
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.1s var(--ease);
}
.hero-slide.is-active { opacity: 1; }
.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.045);
  transition: transform 7s linear;
}
.hero-slide.is-active img { transform: scale(1); }

.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(5, 14, 29, 0.94) 0%, rgba(5, 14, 29, 0.84) 36%, rgba(5, 14, 29, 0.48) 68%, rgba(5, 14, 29, 0.34) 100%),
    linear-gradient(180deg, rgba(5, 14, 29, 0.42) 0%, rgba(5, 14, 29, 0) 34%, rgba(5, 14, 29, 0.72) 100%);
}

.hero-carousel__inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: inherit;
  padding-top: clamp(56px, 8vh, 92px);
  padding-bottom: clamp(24px, 4vh, 36px);
}
.hero-carousel__copy {
  max-width: 800px;
  margin-block: auto;
  padding-bottom: clamp(28px, 4vh, 44px);
}
.hero--carousel .eyebrow { color: #b7c6df; }
.hero--carousel h1 {
  margin-top: 20px;
  max-width: 18ch;
  color: #fff;
  font-size: clamp(2.5rem, 5.1vw, 4.3rem);
  line-height: 1.04;
}
.hero--carousel h1 .accent { color: #9db8ff; }
.hero--carousel .hero__lead {
  max-width: 58ch;
  margin-top: 22px;
  color: #c8d4e6;
}
.hero--carousel .btn--ghost {
  color: #eaf0fb;
  border-color: rgba(255, 255, 255, 0.32);
}
.hero--carousel .btn--ghost:hover {
  background: #fff;
  border-color: #fff;
  color: var(--ink);
}
.hero--carousel .hero__meta {
  margin-top: 36px;
  border-top-color: rgba(255, 255, 255, 0.18);
}
.hero--carousel .hero__meta-item { border-right-color: rgba(255, 255, 255, 0.16); }
.hero--carousel .hero__meta dt { color: #93a5c0; }
.hero--carousel .hero__meta dd { color: #fff; }

.hero-carousel__footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}
.hero-slide-nav { display: flex; gap: 26px; }
.hero-slide-nav__item {
  min-width: 118px;
  padding: 0;
  border: 0;
  background: none;
  color: rgba(232, 240, 252, 0.52);
  text-align: left;
  cursor: pointer;
  transition: color 0.25s var(--ease);
}
.hero-slide-nav__item:hover,
.hero-slide-nav__item.is-active { color: #fff; }
.hero-slide-nav__item:focus-visible {
  outline: 2px solid #9db8ff;
  outline-offset: 5px;
}
.hero-slide-nav__bar {
  position: relative;
  display: block;
  height: 1px;
  margin-bottom: 12px;
  background: rgba(255, 255, 255, 0.22);
  overflow: hidden;
}
.hero-slide-nav__item.is-active .hero-slide-nav__bar::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #fff;
  transform-origin: left center;
  animation: heroSlideProgress 7000ms linear forwards;
}
.hero--carousel.is-paused .hero-slide-nav__item.is-active .hero-slide-nav__bar::after {
  animation-play-state: paused;
}
@keyframes heroSlideProgress {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}
.hero-slide-nav__num {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
}
.hero-slide-nav__label {
  display: block;
  margin-top: 4px;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}

.hero-carousel__meta {
  display: flex;
  align-items: center;
  gap: 22px;
  color: rgba(232, 240, 252, 0.72);
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}
.hero-slide-count b { color: #fff; font-weight: 600; }
.hero-slide-count span { color: rgba(232, 240, 252, 0.45); }
.hero-slide-arrows { display: flex; gap: 8px; }
.hero-arrow {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 2px;
  background: transparent;
  color: #fff;
  cursor: pointer;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease);
}
.hero-arrow:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.55);
}
.hero-arrow:focus-visible { outline: 2px solid #9db8ff; outline-offset: 2px; }

@media (max-width: 1180px) {
  .hero-carousel__meta [data-hero-caption] { display: none; }
}

@media (max-width: 820px) {
  .hero--carousel { min-height: clamp(620px, 90svh, 780px); }
  .hero--carousel h1 { font-size: clamp(2.05rem, 7.4vw, 2.9rem); max-width: 20ch; }
  .hero-carousel__footer { flex-direction: column; align-items: flex-start; gap: 16px; }
  .hero-slide-nav { width: 100%; gap: 14px; }
  .hero-slide-nav__item { flex: 1; min-width: 0; }
  .hero-slide-nav__label { display: none; }
  .hero-carousel__meta { width: 100%; justify-content: space-between; gap: 12px; }
  .hero-carousel__meta [data-hero-caption] { display: none; }
}

@media (max-width: 640px) {
  .hero-carousel__copy { padding-bottom: 16px; }
  .hero--carousel .hero__lead { margin-top: 18px; font-size: 0.96rem; }
  .hero--carousel .hero__actions { margin-top: 24px; }
  .hero--carousel .hero__actions .btn { flex: 1 1 100%; justify-content: center; }
  .hero--carousel .hero__meta { display: block; margin-top: 24px; gap: 0; }
  .hero--carousel .hero__meta-item {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    padding: 9px 0;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }
  .hero--carousel .hero__meta-item:last-child { border-bottom: 0; padding-bottom: 0; }
  .hero--carousel .hero__meta dd { margin-top: 0; font-size: 0.86rem; text-align: right; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide,
  .hero-slide img,
  .hero-slide.is-active img { transition: none; transform: none; }
  .hero-slide-nav__item.is-active .hero-slide-nav__bar::after { animation: none; }
}
