/* =========================================================
   Vita Durare — Redesign · Design Tokens & Globals
   ========================================================= */

:root {
  /* Surfaces & ink */
  --bg: oklch(99% 0.004 240);
  --bg-soft: oklch(97% 0.008 230);
  --bg-tint: oklch(95% 0.012 220);
  --surface: #ffffff;
  --border: oklch(91% 0.012 240);
  --border-strong: oklch(85% 0.015 240);

  --ink: oklch(18% 0.03 265);
  --ink-2: oklch(30% 0.025 265);
  --muted: oklch(50% 0.02 260);
  --muted-2: oklch(62% 0.018 260);

  /* Brand */
  --navy: oklch(22% 0.045 270);
  --navy-2: oklch(28% 0.05 268);
  --navy-deep: oklch(16% 0.05 270);
  --navy-ink: oklch(12% 0.04 270);

  --teal: oklch(70% 0.115 185);
  --teal-strong: oklch(60% 0.13 180);
  --teal-deep: oklch(45% 0.11 180);
  --green: oklch(60% 0.13 158);

  /* Effects */
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04), 0 1px 1px rgba(15, 23, 42, 0.03);
  --shadow-md: 0 4px 16px -4px rgba(15, 23, 42, 0.08), 0 2px 4px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 24px 48px -16px rgba(15, 23, 42, 0.12), 0 8px 16px -8px rgba(15, 23, 42, 0.06);
  --shadow-navy: 0 24px 56px -16px rgba(28, 28, 64, 0.35);

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 22px;
  --radius-xl: 28px;

  /* Type scale */
  --font-sans: "Roboto", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --font-serif: "Instrument Serif", "Newsreader", Georgia, "Times New Roman", serif;
  --font-mono: "Roboto", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

sup.tm, .tm {
  font-size: 0.55em;
  vertical-align: super;
  line-height: 0;
  font-weight: 400;
  margin-left: 0.05em;
}

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

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  max-width: 100%;
  position: relative;
}

#root,
.page-shell,
.page-fade {
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
img, svg { display: block; max-width: 100%; }
::selection { background: var(--teal); color: var(--navy-ink); }

h1, h2, h3, h4 {
  margin: 0;
  letter-spacing: -0.02em;
  font-weight: 500;
  color: var(--ink);
  text-wrap: balance;
}
h1 { font-size: clamp(34px, 5.2vw, 72px); line-height: 1.04; letter-spacing: -0.035em; font-weight: 700; }
h2 { font-size: clamp(27px, 3.5vw, 48px); line-height: 1.06; letter-spacing: -0.03em; font-weight: 700; }
h3 { font-size: clamp(19px, 1.7vw, 24px); line-height: 1.2; letter-spacing: -0.018em; font-weight: 600; }
h4 { font-size: 15px; line-height: 1.3; font-weight: 600; }
p  { margin: 0; color: var(--ink-2); }

.serif { font-family: var(--font-serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }
.mono  { font-family: var(--font-mono); font-weight: 400; }

/* =========================================================
   Layout
   ========================================================= */

.container {
  width: 100%;
  max-width: 1280px;
  min-width: 0;
  margin: 0 auto;
  padding: 0 32px;
}

.section {
  padding: clamp(64px, 9vw, 128px) 0;
  position: relative;
}

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

.grid { display: grid; gap: 16px; align-items: stretch; }
.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)); }

/* Equal-height cards — fill grid cell so bottoms align */
.grid > .reveal {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 100%;
  align-self: stretch;
}

.grid > .reveal > * {
  flex: 1 1 auto;
  width: 100%;
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

.grid .card,
.grid .card-flush,
.grid .card.hoverable,
.grid .card-flush.hoverable {
  display: flex;
  flex-direction: column;
}

.grid .product-card {
  display: grid !important;
  grid-template-rows: auto 1fr;
  grid-template-columns: minmax(0, 1fr);
  min-height: 100%;
}

.grid .card-flush > .avatar,
.grid .card-flush > div:first-child,
.grid .card > div:first-child {
  flex-shrink: 0;
}

.grid .card-flush > div:last-child:not(:only-child),
.grid .product-card > div:last-child {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.grid .card-flush > div:last-child > div:has(.btn),
.grid .product-card > div:last-child > div:last-child {
  margin-top: auto;
}

/* =========================================================
   KPI / Metrics — premium stats
   ========================================================= */

.kpi-section {
  position: relative;
  overflow: hidden;
  padding: clamp(72px, 9vw, 112px) 0;
  background:
    radial-gradient(ellipse 90% 55% at 50% -15%, color-mix(in oklch, var(--teal) 9%, transparent), transparent 58%),
    radial-gradient(ellipse 45% 35% at 100% 100%, color-mix(in oklch, var(--teal) 6%, transparent), transparent),
    linear-gradient(180deg, oklch(99.2% 0.003 240) 0%, var(--bg-soft) 100%);
}

.kpi-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at center, color-mix(in oklch, var(--border) 35%, transparent) 0.6px, transparent 0.6px);
  background-size: 28px 28px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.35), transparent 85%);
  pointer-events: none;
}

.kpi-section .container {
  position: relative;
  z-index: 1;
}

.kpi-header {
  margin-bottom: clamp(40px, 5vw, 56px);
}

.kpi-heading {
  margin-top: 14px;
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 480;
  letter-spacing: -0.03em;
  line-height: 1.12;
  color: var(--ink);
}

@media (min-width: 768px) {
  .kpi-heading {
    white-space: nowrap;
  }
}

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

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

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

.kpi-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(28px, 3vw, 34px) clamp(24px, 2.5vw, 28px) clamp(26px, 2.8vw, 32px);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(24px) saturate(1.35);
  -webkit-backdrop-filter: blur(24px) saturate(1.35);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow:
    0 0 0 1px color-mix(in oklch, var(--border) 45%, transparent),
    0 1px 2px rgba(15, 23, 42, 0.02),
    0 4px 12px rgba(15, 23, 42, 0.03),
    0 20px 40px -20px rgba(15, 23, 42, 0.07);
  transition:
    transform 420ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 420ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 420ms,
    background 420ms;
  isolation: isolate;
  overflow: hidden;
}

.kpi-card-glow {
  position: absolute;
  inset: -30% -10% auto;
  height: 140px;
  background: radial-gradient(ellipse 80% 100% at 20% 0%, color-mix(in oklch, var(--teal) 22%, transparent), transparent 68%);
  opacity: 0;
  transition: opacity 420ms ease;
  pointer-events: none;
  z-index: 0;
}

.kpi-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    155deg,
    rgba(255, 255, 255, 0.55) 0%,
    transparent 42%,
    color-mix(in oklch, var(--teal) 4%, transparent) 100%
  );
  pointer-events: none;
  z-index: 0;
}

.kpi-card > *:not(.kpi-card-glow) {
  position: relative;
  z-index: 1;
}

.kpi-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.88);
  border-color: color-mix(in oklch, var(--teal) 18%, white);
  box-shadow:
    0 0 0 1px color-mix(in oklch, var(--teal) 10%, var(--border)),
    0 2px 4px rgba(15, 23, 42, 0.02),
    0 16px 36px -12px rgba(15, 23, 42, 0.09),
    0 40px 80px -24px color-mix(in oklch, var(--teal-deep) 14%, transparent);
}

.kpi-card:hover .kpi-card-glow {
  opacity: 1;
}

.kpi-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--teal-deep);
  background:
    linear-gradient(145deg,
      color-mix(in oklch, var(--teal) 14%, white),
      color-mix(in oklch, var(--teal) 6%, white));
  border: 1px solid color-mix(in oklch, var(--teal) 18%, white);
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.85);
  margin-bottom: 22px;
  transition:
    transform 420ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

.kpi-card:hover .kpi-icon {
  transform: scale(1.06);
  box-shadow:
    0 8px 24px -8px color-mix(in oklch, var(--teal) 40%, transparent),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.kpi-icon svg {
  width: 22px;
  height: 22px;
}

.kpi-value {
  font-family: var(--font-sans);
  font-size: clamp(28px, 2.5vw, 34px);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.02;
  color: var(--ink);
}

.kpi-rule {
  width: 32px;
  height: 2px;
  margin: 16px 0 18px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--teal-deep), color-mix(in oklch, var(--teal) 70%, var(--teal-deep)));
  transition: width 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

.kpi-card:hover .kpi-rule {
  width: 44px;
}

.kpi-label {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: color-mix(in oklch, var(--muted) 92%, var(--teal-deep));
  line-height: 1.55;
  max-width: 20ch;
}

@media (max-width: 900px) {
  .kpi-grid:not(.kpi-grid--2):not(.kpi-grid--3) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .kpi-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .kpi-section {
    padding: 56px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .kpi-card,
  .kpi-icon,
  .kpi-rule {
    transition: none;
  }

  .kpi-card:hover {
    transform: none;
  }
}

@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .container { padding: 0 20px; }
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal-deep);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.eyebrow::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--teal-strong);
  box-shadow: 0 0 0 4px color-mix(in oklch, var(--teal) 25%, transparent);
}
.eyebrow.on-dark { color: oklch(82% 0.08 185); }

.lead {
  font-size: clamp(17px, 1.4vw, 19px);
  line-height: 1.55;
  color: var(--muted);
  text-wrap: pretty;
  max-width: 60ch;
}

.about-story h2,
.about-story .lead,
.about-story-body {
  max-width: none;
  width: 100%;
}

.about-story h2 {
  text-wrap: pretty;
}

.about-story-body {
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-2);
  text-wrap: pretty;
}

/* =========================================================
   Buttons
   ========================================================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.005em;
  border: 1px solid transparent;
  transition: transform 220ms cubic-bezier(.2,.7,.2,1), background 200ms, color 200ms, border-color 200ms, box-shadow 200ms;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: linear-gradient(135deg, var(--teal-deep), var(--green));
  color: #fff;
  box-shadow: 0 8px 20px -10px color-mix(in oklch, var(--teal-deep) 60%, transparent);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, 0.18) 50%, transparent 62%);
  transform: translateX(-130%);
  transition: transform 650ms cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}
.btn-primary:hover::after {
  transform: translateX(130%);
}
.btn-primary:hover { box-shadow: 0 14px 28px -12px color-mix(in oklch, var(--teal-deep) 70%, transparent); }

.btn-dark {
  background: var(--navy-ink);
  color: #fff;
}
.btn-dark:hover { background: #000; }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--border-strong);
}
.btn-ghost:hover { border-color: var(--ink); background: var(--bg-soft); }

.btn-ghost-on-dark {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.25);
}
.btn-ghost-on-dark:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.5); }

.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--teal-deep);
  font-weight: 500;
  font-size: 14px;
  transition: gap 200ms;
}
.btn-link:hover { gap: 10px; }
.btn-link svg { transition: transform 200ms; }
.btn-link:hover svg { transform: translateX(2px); }

/* =========================================================
   Cards
   ========================================================= */

.eng-feature-cards {
  gap: 36px;
}

.eng-feature-cards .card.card-bare {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
}

.eng-feature-cards .card.card-bare:hover,
.eng-feature-cards .card.card-bare.hoverable:hover {
  transform: none;
  box-shadow: none;
  border-color: transparent;
}

.eng-feature-cards h3 {
  margin-top: 10px;
  max-width: none;
  width: 100%;
  font-size: clamp(20px, 1.8vw, 24px);
  line-height: 1.25;
  text-wrap: pretty;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition:
    transform 420ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 420ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 320ms;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: color-mix(in oklch, var(--teal) 12%, var(--border));
}
.card.hoverable:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-strong);
}

.card-flush {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition:
    transform 420ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 420ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 320ms;
}
.card-flush:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: color-mix(in oklch, var(--teal) 12%, var(--border));
}
.card-flush.hoverable:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-strong);
}
.card-flush img,
.card img {
  transition: transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}
.card-flush:hover img,
.card.hoverable:hover img {
  transform: scale(1.04);
}

.tag {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  width: fit-content;
  max-width: 100%;
  gap: 6px;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-2);
  font-family: var(--font-mono);
  letter-spacing: 0.02em;
}
.tag.teal {
  background: color-mix(in oklch, var(--teal) 15%, white);
  border-color: color-mix(in oklch, var(--teal) 30%, white);
  color: var(--teal-deep);
}
.hero-dark .tag.teal {
  background: color-mix(in oklch, var(--teal) 22%, transparent);
  border-color: color-mix(in oklch, var(--teal) 55%, transparent);
  color: oklch(86% 0.09 185);
  box-shadow: 0 0 0 1px color-mix(in oklch, var(--teal) 12%, transparent) inset;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* =========================================================
   Placeholder imagery
   ========================================================= */

.placeholder {
  background:
    repeating-linear-gradient(
      135deg,
      color-mix(in oklch, var(--navy) 8%, white) 0 12px,
      color-mix(in oklch, var(--navy) 4%, white) 12px 24px
    ),
    var(--bg-tint);
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
  isolation: isolate;
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: flex;
  align-items: end;
  justify-content: start;
  padding: 16px;
  aspect-ratio: 4 / 3;
}
.placeholder.tall { aspect-ratio: 3 / 4; }
.placeholder.wide { aspect-ratio: 16 / 9; }
.placeholder.square { aspect-ratio: 1 / 1; }
.placeholder.full { aspect-ratio: auto; height: 100%; }

.placeholder.dark {
  background:
    repeating-linear-gradient(
      135deg,
      rgba(255,255,255,0.04) 0 12px,
      rgba(255,255,255,0.01) 12px 24px
    ),
    var(--navy-deep);
  color: rgba(255,255,255,0.55);
}
.placeholder.teal {
  background:
    repeating-linear-gradient(
      135deg,
      color-mix(in oklch, var(--teal) 25%, white) 0 12px,
      color-mix(in oklch, var(--teal) 10%, white) 12px 24px
    );
  color: var(--teal-deep);
}

.placeholder-label {
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  padding: 6px 10px;
  border-radius: 8px;
  color: var(--muted);
}
.placeholder.dark .placeholder-label {
  background: rgba(0,0,0,0.4);
  border-color: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.7);
}

/* Avatar placeholder */
.avatar {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 50% 35%, color-mix(in oklch, var(--navy) 35%, white) 0 18%, transparent 30%),
    radial-gradient(circle at 50% 90%, color-mix(in oklch, var(--navy) 30%, white) 0 30%, transparent 50%),
    linear-gradient(180deg, color-mix(in oklch, var(--teal) 10%, white) 0%, var(--bg-soft) 100%);
  position: relative;
  overflow: hidden;
}
.avatar::after {
  content: attr(data-initials);
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 56px;
  color: rgba(255,255,255,0.85);
  font-style: italic;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 6px rgba(0,0,0,0.18);
}
.avatar.compact::after { font-size: 36px; }

/* =========================================================
   Nav
   ========================================================= */

.nav-wrap {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 14px 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: saturate(180%) blur(28px);
  -webkit-backdrop-filter: saturate(180%) blur(28px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04), 0 8px 24px -16px rgba(0, 0, 0, 0.35);
  transition: padding 280ms cubic-bezier(0.22, 1, 0.36, 1),
              background 280ms cubic-bezier(0.22, 1, 0.36, 1),
              backdrop-filter 280ms cubic-bezier(0.22, 1, 0.36, 1),
              border-color 280ms,
              box-shadow 280ms;
  color: #fff;
}
.nav-wrap.scrolled {
  background: rgba(0, 0, 0, 0.62);
  backdrop-filter: saturate(180%) blur(42px);
  -webkit-backdrop-filter: saturate(180%) blur(42px);
  padding: 10px 0;
  border-bottom-color: rgba(255, 255, 255, 0.10);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06), 0 16px 36px -20px rgba(0, 0, 0, 0.5);
}
.nav-wrap .nav-logo { color: #fff; }
.nav-wrap .nav-logo-text { color: #fff; }
.nav-wrap .nav-logo-text small { color: rgba(255, 255, 255, 0.55); }
.nav-wrap .nav-links a {
  color: rgba(255, 255, 255, 0.75);
}
.nav-wrap .nav-links a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}
.nav-wrap .nav-links a.active {
  color: oklch(82% 0.1 185);
}
.nav-wrap .nav-links a.active::after {
  background: oklch(82% 0.1 185);
}
.nav-wrap .nav-burger {
  border-color: rgba(255, 255, 255, 0.18);
  color: #fff;
  background: transparent;
}
.nav-wrap .nav-burger:hover {
  background: rgba(255, 255, 255, 0.08);
}
.nav-logo-img {
  height: 64px;
  width: auto;
  display: block;
}
@media (max-width: 600px) {
  .nav-logo-img { height: 48px; }
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
}
.nav-logo-mark {
  width: 36px; height: 36px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--teal-deep), var(--navy));
  color: #fff;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 20px;
  letter-spacing: -0.04em;
  font-weight: 500;
}
.nav-logo-text {
  font-weight: 500;
  letter-spacing: -0.01em;
  font-size: 16px;
}
.nav-logo-text small {
  display: block;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.18em;
  color: var(--muted);
  text-transform: uppercase;
  font-weight: 400;
  margin-top: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  display: inline-block;
  padding: 8px 14px;
  font-size: 14px;
  color: var(--ink-2);
  border-radius: 10px;
  transition: color 180ms, background 180ms;
  position: relative;
}
.nav-links a:hover { color: var(--ink); background: var(--bg-soft); }
.nav-links a.active {
  color: var(--teal-deep);
}
.nav-links a.active::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px; height: 4px;
  background: var(--teal-strong);
  border-radius: 50%;
}

.nav-item-dropdown {
  position: relative;
}
.nav-item-dropdown > a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.nav-chevron {
  opacity: 0.65;
  transition: transform 180ms ease, opacity 180ms ease;
}
.nav-item-dropdown:hover .nav-chevron,
.nav-item-dropdown > a[aria-expanded="true"] .nav-chevron {
  transform: rotate(180deg);
  opacity: 1;
}
.nav-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 220px;
  margin: 0;
  padding: 6px;
  list-style: none;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease, visibility 0s linear 180ms;
  z-index: 80;
}
.nav-dropdown.open,
.nav-item-dropdown:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
  transition: opacity 180ms ease, transform 180ms ease, visibility 0s;
}
.nav-dropdown a {
  display: block;
  padding: 10px 12px;
  font-size: 14px;
  color: var(--ink-2);
  border-radius: 8px;
  white-space: nowrap;
  transition: color 180ms, background 180ms;
}
.nav-dropdown a:hover {
  color: var(--ink);
  background: var(--bg-soft);
}
.nav-wrap .nav-dropdown {
  background: rgba(12, 16, 28, 0.96);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 18px 40px -16px rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.nav-wrap .nav-dropdown a {
  color: rgba(255, 255, 255, 0.78);
}
.nav-wrap .nav-dropdown a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.mobile-nav-group {
  border-bottom: 1px solid var(--border);
}
.mobile-nav-parent {
  width: 100%;
  font-size: 22px;
  padding: 14px 0;
  border: 0;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--ink);
  cursor: pointer;
  font-family: var(--font-sans);
  text-align: left;
}
.mobile-nav-parent svg {
  transition: transform 200ms ease;
}
.mobile-nav-parent.open svg {
  transform: rotate(180deg);
}
.mobile-nav-submenu {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 0 0 12px 12px;
}
.mobile-nav-submenu a {
  font-size: 17px;
  padding: 10px 0;
  color: var(--ink-2);
  border-bottom: none;
  display: block;
}
.mobile-nav-submenu a:hover {
  color: var(--teal-deep);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-cta .btn {
  padding: 9px 16px;
  font-size: 13px;
}
.nav-cta .btn svg { width: 12px; height: 12px; }

.nav-burger {
  display: none;
  background: transparent;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  padding: 9px;
  color: var(--ink);
}

/* Responsive nav:
   ≤1200px → hide the "Schedule a Wet Lab" CTA (menu links still visible)
   ≤810px  → hide menu links + CTA, show hamburger
*/
@media (max-width: 1200px) {
  .nav-cta .desktop-only { display: none !important; }
}
@media (min-width: 811px) {
  .nav-burger { display: none !important; }
}
@media (max-width: 810px) {
  .nav-links { display: none !important; }
  .nav-burger { display: inline-flex !important; }
}

.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 60;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  overflow-y: auto;
  visibility: hidden;
  opacity: 0;
  transform: translateY(-12px);
  transition: transform 280ms cubic-bezier(.2,.7,.2,1), opacity 220ms, visibility 0s linear 280ms;
}
.mobile-menu.open {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
  transition: transform 280ms cubic-bezier(.2,.7,.2,1), opacity 220ms, visibility 0s;
}
.mobile-menu a {
  font-size: 22px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--ink);
}
.mobile-menu a.active { color: var(--teal-deep); }
.mobile-menu a.btn-primary {
  color: #fff;
  padding: 14px 28px;
  border-bottom: none;
  font-size: 15px;
  font-weight: 500;
  justify-content: center;
  margin-top: 24px;
  align-self: flex-start;
}
.mobile-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}
.mobile-menu-head .nav-logo-img {
  height: 56px;
  width: auto;
}
.mobile-close {
  background: transparent;
  border: 1px solid var(--border-strong);
  padding: 9px;
  border-radius: 10px;
  color: var(--ink);
  cursor: pointer;
  flex-shrink: 0;
}

/* =========================================================
   Footer
   ========================================================= */

.footer {
  background: var(--navy-deep);
  color: rgba(255,255,255,0.7);
  padding: 96px 0 32px;
  position: relative;
  overflow: hidden;
}
.footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 800px 400px at 100% 0%, color-mix(in oklch, var(--teal) 25%, transparent) 0%, transparent 60%),
    radial-gradient(ellipse 600px 300px at 0% 100%, color-mix(in oklch, var(--navy-2) 60%, transparent) 0%, transparent 60%);
  opacity: 0.4;
  pointer-events: none;
}
.footer .container { position: relative; }

.footer h4 {
  color: #fff;
  font-size: 13px;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
  margin-bottom: 18px;
  opacity: 0.6;
}
.footer a {
  color: rgba(255,255,255,0.7);
  font-size: 14px;
  display: block;
  padding: 6px 0;
  transition: color 180ms;
}
.footer a:hover { color: #fff; }

.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  flex-wrap: wrap;
}

.footer-brand {
  flex: 0 1 360px;
  max-width: 100%;
}

.footer-nav {
  display: flex;
  align-items: flex-start;
  gap: 88px;
  margin-left: auto;
  flex-shrink: 0;
}

@media (max-width: 900px) {
  .footer-grid {
    flex-direction: column;
    gap: 40px;
  }
  .footer-nav {
    margin-left: 0;
    width: 100%;
    flex-wrap: wrap;
    gap: 76px 88px;
  }
}
@media (max-width: 560px) {
  .footer-nav {
    flex-direction: column;
    gap: 76px;
  }
}

.footer-brand-blurb {
  font-size: 14px;
  line-height: 1.6;
  margin-top: 16px;
  max-width: 38ch;
}

.footer-locations {
  display: flex;
  flex-wrap: wrap;
  gap: 32px 48px;
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
@media (max-width: 700px) {
  .footer-locations { flex-direction: column; gap: 24px; }
}
.footer-loc-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.footer-loc address {
  font-style: normal;
  color: rgba(255,255,255,0.75);
  font-size: 14px;
  line-height: 1.6;
}

.footer-bottom {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  font-family: var(--font-mono);
}

.social-row {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}
.social-row a {
  width: 36px; height: 36px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 10px;
  padding: 0;
  color: rgba(255,255,255,0.7);
  transition: background 220ms, border-color 220ms, color 220ms, transform 220ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 220ms;
}
.social-row a:hover {
  color: #fff;
  transform: translateY(-2px);
}

.social-row a.social-link--linkedin:hover {
  background: #0a66c2;
  border-color: transparent;
  box-shadow: 0 10px 24px -10px rgba(10, 102, 194, 0.55),
              0 0 0 4px rgba(10, 102, 194, 0.18);
}

.social-row a.social-link--facebook:hover {
  background: #1877f2;
  border-color: transparent;
  box-shadow: 0 10px 24px -10px rgba(24, 119, 242, 0.55),
              0 0 0 4px rgba(24, 119, 242, 0.18);
}

.social-row a.social-link--instagram:hover {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  border-color: transparent;
  box-shadow: 0 10px 24px -10px rgba(220, 39, 67, 0.5),
              0 0 0 4px rgba(220, 39, 67, 0.16);
}

.social-fixed {
  position: fixed;
  z-index: 40;
  pointer-events: none;
  left: clamp(16px, calc((100vw - 1280px) / 2 - 52px), 40px);
  top: 50%;
  bottom: auto;
  transform: translateY(-50%);
}

@media (max-width: 1383px) {
  .social-fixed {
    left: clamp(16px, 2vw, 28px);
    top: auto;
    bottom: clamp(24px, 4vh, 40px);
    transform: none;
  }
}

.social-fixed-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  pointer-events: auto;
}

.social-fixed-row a {
  width: 40px;
  height: 40px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  padding: 0;
  color: rgba(255, 255, 255, 0.82);
  background: color-mix(in oklch, var(--navy-deep) 72%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 10px 28px -16px rgba(0, 0, 0, 0.45);
  transition: background 220ms, border-color 220ms, color 220ms, transform 220ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 220ms;
}

.social-fixed-row a:hover {
  color: #fff;
  transform: translateY(-2px);
}

.social-fixed-row a.social-link--linkedin:hover {
  background: #0a66c2;
  border-color: transparent;
  box-shadow:
    0 12px 28px -12px rgba(10, 102, 194, 0.55),
    0 0 0 4px rgba(10, 102, 194, 0.18);
}

.social-fixed-row a.social-link--facebook:hover {
  background: #1877f2;
  border-color: transparent;
  box-shadow:
    0 12px 28px -12px rgba(24, 119, 242, 0.55),
    0 0 0 4px rgba(24, 119, 242, 0.18);
}

.social-fixed-row a.social-link--instagram:hover {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  border-color: transparent;
  box-shadow:
    0 12px 28px -12px rgba(220, 39, 67, 0.5),
    0 0 0 4px rgba(220, 39, 67, 0.16);
}

@media (max-width: 900px) {
  .social-fixed {
    display: none;
  }
}

/* =========================================================
   Hero blocks
   ========================================================= */

/* Blog, contact — clear space below fixed nav */
.page-intro {
  padding-top: clamp(96px, 12vw, 140px);
}

.hero {
  position: relative;
  padding: clamp(96px, 12vw, 140px) 0 clamp(48px, 7vw, 96px);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: center;
  min-width: 0;
}
.hero-grid > * {
  min-width: 0;
}
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
}
.hero h1 {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.02em;
}
.hero h1 .serif { font-family: var(--font-serif); font-weight: 400; }
.hero .lead { font-size: clamp(15px, 1.1vw, 17px); }
.hero h1 .serif { color: var(--teal-deep); }

.hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.hero-meta {
  margin-top: 32px;
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--muted);
  text-transform: uppercase;
}
.hero-meta span strong {
  display: block;
  font-family: var(--font-sans);
  font-size: 28px;
  font-weight: 480;
  color: var(--ink);
  letter-spacing: -0.02em;
  text-transform: none;
  margin-top: 4px;
}

.hero-dark {
  background: var(--navy-deep);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.cursor-glow {
  --mx: 50%;
  --my: 30%;
}
.cursor-glow::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle 420px at var(--mx) var(--my),
    color-mix(in oklch, var(--teal) 35%, transparent) 0%,
    color-mix(in oklch, var(--teal) 15%, transparent) 25%,
    transparent 70%);
  pointer-events: none;
  z-index: 1;
  mix-blend-mode: screen;
  transition: opacity 300ms;
  opacity: 0.85;
}
.cursor-glow > * { position: relative; z-index: 2; }
.hero-dark::before,
.hero-dark::after,
.hero-dark .orb {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
  will-change: transform;
}
.hero-dark::before {
  top: -180px; right: -120px;
  width: 640px; height: 640px;
  background: radial-gradient(circle, color-mix(in oklch, var(--teal) 70%, transparent) 0%, transparent 70%);
  opacity: 0.55;
  animation: orbFloatA 18s ease-in-out infinite;
}
.hero-dark::after {
  bottom: -200px; left: -120px;
  width: 520px; height: 520px;
  background: radial-gradient(circle, oklch(55% 0.18 295 / 0.7) 0%, transparent 70%);
  opacity: 0.55;
  animation: orbFloatB 22s ease-in-out infinite;
}
.hero-dark .orb-blue {
  top: 35%; left: 30%;
  width: 380px; height: 380px;
  background: radial-gradient(circle, oklch(55% 0.18 250 / 0.7) 0%, transparent 70%);
  opacity: 0.5;
  animation: orbFloatC 26s ease-in-out infinite;
}
.hero-dark .orb-purple-sm {
  top: 60%; right: 25%;
  width: 220px; height: 220px;
  background: radial-gradient(circle, oklch(60% 0.2 320 / 0.8) 0%, transparent 70%);
  opacity: 0.5;
  animation: orbFloatD 14s ease-in-out infinite;
}
.hero-dark .orb-teal-sm {
  top: 15%; left: 45%;
  width: 180px; height: 180px;
  background: radial-gradient(circle, color-mix(in oklch, var(--teal) 80%, transparent) 0%, transparent 70%);
  opacity: 0.45;
  animation: orbFloatE 16s ease-in-out infinite;
}
.hero-dark > * { position: relative; z-index: 1; }

@keyframes orbFloatA {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%      { transform: translate(-60px, 40px) scale(1.15); }
  66%      { transform: translate(40px, -30px) scale(0.9); }
}
@keyframes orbFloatB {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(80px, -50px) scale(1.2); }
}
@keyframes orbFloatC {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25%      { transform: translate(-50px, -40px) scale(0.85); }
  75%      { transform: translate(60px, 30px) scale(1.1); }
}
@keyframes orbFloatD {
  0%, 100% { transform: translate(0, 0) scale(1); }
  40%      { transform: translate(-40px, 50px) scale(1.3); }
  80%      { transform: translate(30px, -20px) scale(0.8); }
}
@keyframes orbFloatE {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(-30px, 30px) scale(1.25); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-dark::before, .hero-dark::after, .hero-dark .orb { animation: none; }
}
.hero-dark h1, .hero-dark h2, .hero-dark h3 { color: #fff; }
.hero-dark p, .hero-dark .lead { color: rgba(255,255,255,0.75); }

/* About page — full-bleed hero background */
.hero-about {
  min-height: clamp(420px, 52vh, 580px);
  display: flex;
  align-items: center;
}

.hero-about::before,
.hero-about::after {
  display: none;
}

.hero-about .hero-about-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
}

.hero-about-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% center;
  display: block;
}

.hero-about-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    color-mix(in oklch, var(--navy-deep) 94%, transparent) 0%,
    color-mix(in oklch, var(--navy-deep) 82%, transparent) 38%,
    color-mix(in oklch, var(--navy-deep) 45%, transparent) 62%,
    color-mix(in oklch, var(--navy-deep) 18%, transparent) 100%
  );
}

.hero-about > .container {
  position: relative;
  z-index: 2;
  width: 100%;
}

/* Products page — banner bg behind hero product image */
.hero.hero-products {
  position: relative;
  overflow: hidden;
  max-width: 100%;
  min-height: clamp(540px, 72vh, 720px);
}

.hero.hero-products .hero-grid {
  align-items: start;
}

.hero.hero-products .hero-actions .btn {
  transform: none;
  box-shadow: none;
}

.hero.hero-products .hero-actions .btn:hover,
.hero.hero-products .hero-actions .btn:focus-visible {
  transform: none;
}

.hero.hero-products .hero-actions .btn.btn-primary {
  box-shadow: 0 8px 20px -10px color-mix(in oklch, var(--teal-deep) 60%, transparent);
}

.hero.hero-products .hero-actions .btn.btn-primary:hover,
.hero.hero-products .hero-actions .btn.btn-primary:focus-visible {
  box-shadow: 0 8px 20px -10px color-mix(in oklch, var(--teal-deep) 60%, transparent);
}

.hero-products::before,
.hero-products::after {
  display: none;
}

.hero-products .hero-products-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
}

.hero-products-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 85% center;
  display: block;
  transform: scale(1.08);
  will-change: transform;
}

.hero-dark > .container {
  will-change: transform;
}

.hero-products-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    color-mix(in oklch, var(--navy-deep) 92%, transparent) 0%,
    color-mix(in oklch, var(--navy-deep) 78%, transparent) 42%,
    color-mix(in oklch, var(--navy-deep) 35%, transparent) 68%,
    color-mix(in oklch, var(--navy-deep) 12%, transparent) 100%
  );
}

.hero-products > .container {
  position: relative;
  z-index: 2;
  width: 100%;
}

.products-hero-visual {
  position: relative;
  height: min(46vh, 460px);
  min-height: min(46vh, 460px);
  overflow: hidden;
  max-width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.products-hero-visual .product-stage {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1400px;
  padding: clamp(20px, 3vw, 36px) 12px;
  overflow: hidden;
  max-width: 100%;
  z-index: 1;
}

.products-hero-visual .tilt-3d {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.products-hero-img-stack {
  display: grid;
  place-items: center;
  width: min(100%, 320px);
  height: min(46vh, 460px);
  flex-shrink: 0;
}

.products-hero-img {
  grid-area: 1 / 1;
  width: auto;
  height: auto;
  max-width: min(100%, 320px);
  max-height: min(46vh, 460px);
  object-fit: contain;
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.45));
  opacity: 0;
  transition: opacity 280ms ease;
  pointer-events: none;
  will-change: opacity;
}

.products-hero-img.is-active {
  opacity: 1;
  z-index: 1;
}

/* Products page — compact catalog grid */
.product-catalog-section {
  padding: clamp(40px, 5vw, 64px) 0 clamp(48px, 6vw, 80px);
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.product-seo-heading {
  font-size: clamp(22px, 2.5vw, 32px);
  line-height: 1.15;
  max-width: 24ch;
}

.product-seo-intro {
  margin-top: 16px;
  max-width: 68ch;
  font-size: clamp(15px, 1.05vw, 17px);
}

.product-catalog-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 32px;
}
  align-items: stretch;
}

.product-catalog-grid > .reveal {
  display: flex;
  height: 100%;
  min-height: 100%;
}

.product-catalog-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition:
    transform 220ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 220ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 220ms ease;
}

.product-catalog-card:hover {
  transform: translateY(-3px);
  border-color: color-mix(in oklch, var(--teal) 35%, var(--border));
  box-shadow:
    0 14px 32px -12px color-mix(in oklch, var(--navy) 18%, transparent),
    0 0 0 1px color-mix(in oklch, var(--teal) 10%, transparent);
}

.product-catalog-card:focus-visible {
  outline: 2px solid var(--teal-deep);
  outline-offset: 2px;
}

.product-catalog-card-media {
  aspect-ratio: 1 / 1;
  background: #f5f7fa;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 3vw, 24px);
  overflow: hidden;
}

.product-catalog-card-media img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
  transition: transform 280ms cubic-bezier(0.22, 1, 0.36, 1);
}

.product-catalog-card:hover .product-catalog-card-media img {
  transform: scale(1.03);
}

.product-catalog-card-name {
  padding: 14px 12px 16px;
  text-align: center;
  border-top: 1px solid var(--border);
  background: var(--surface);
  font-size: 13px;
  line-height: 1.3;
}

.product-catalog-card-name .tm {
  font-size: 0.72em;
}

@media (max-width: 1024px) {
  .product-catalog-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .product-catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .product-catalog-card-name {
    padding: 12px 10px 14px;
    font-size: 12px;
  }
}

/* =========================================================
   Utility: scroll reveal
   ========================================================= */

/* =========================================================
   Cinematic motion
   ========================================================= */

.reveal {
  opacity: 0;
  will-change: transform, opacity;
  transition:
    opacity 1100ms cubic-bezier(0.25, 0.46, 0.45, 0.94),
    transform 1100ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transition-delay: var(--rd, 0ms);
}
.reveal-rise   { transform: translateY(40px); }
.reveal-fade   { transform: translateY(24px); }
.reveal-scale  { transform: translateY(32px) scale(0.97); }
.reveal-left   { transform: translateX(-36px); }
.reveal-right  { transform: translateX(36px); }

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

/* Auto scroll reveal — cards, grids, footer (Amoja-style fade-up) */
.scroll-reveal {
  opacity: 0;
  transform: translateY(36px);
  transition:
    opacity 1000ms cubic-bezier(0.25, 0.46, 0.45, 0.94),
    transform 1000ms cubic-bezier(0.25, 0.46, 0.45, 0.94),
    box-shadow 1000ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transition-delay: var(--sr-delay, 0ms);
  will-change: opacity, transform;
}

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

.scroll-reveal:not(.scroll-reveal-in) > div[style*="aspectRatio"] img,
.scroll-reveal:not(.scroll-reveal-in) > div[style*="aspect-ratio"] img,
.scroll-reveal:not(.scroll-reveal-in) .product-catalog-card-media img {
  transform: scale(1.05);
}

.scroll-reveal.scroll-reveal-in > div[style*="aspectRatio"] img,
.scroll-reveal.scroll-reveal-in > div[style*="aspect-ratio"] img,
.scroll-reveal.scroll-reveal-in .product-catalog-card-media img {
  transform: scale(1);
}

.scroll-reveal img {
  transition: transform 1200ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transition-delay: var(--sr-delay, 0ms);
}

/* Auto-stagger siblings inside grids */
.grid > .reveal:nth-child(2) { transition-delay: calc(var(--rd, 0ms) + 70ms); }
.grid > .reveal:nth-child(3) { transition-delay: calc(var(--rd, 0ms) + 140ms); }
.grid > .reveal:nth-child(4) { transition-delay: calc(var(--rd, 0ms) + 210ms); }
.grid > .reveal:nth-child(5) { transition-delay: calc(var(--rd, 0ms) + 280ms); }
.grid > .reveal:nth-child(6) { transition-delay: calc(var(--rd, 0ms) + 350ms); }
.grid > .reveal:nth-child(7) { transition-delay: calc(var(--rd, 0ms) + 420ms); }
.grid > .reveal:nth-child(8) { transition-delay: calc(var(--rd, 0ms) + 490ms); }

.reveal.in .eyebrow::before {
  animation: eyebrowPop 680ms cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: calc(var(--rd, 0ms) + 120ms);
}
@keyframes eyebrowPop {
  from { transform: scale(0); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}

/* Ambient motion — footer, trust bar, etc. */
.motion-fade {
  opacity: 0;
  transform: translate3d(0, 20px, 0);
  transition:
    opacity 900ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 900ms cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--md, 0ms);
}
.motion-fade.motion-in {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

/* Route change shell */
.page-shell {
  animation: pageShellIn 680ms cubic-bezier(0.22, 1, 0.36, 1) both;
}
@keyframes pageShellIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* Tilt3D — apply on a child wrapper inside a perspective parent */
.tilt-3d {
  display: block;
  transform-style: preserve-3d;
  transform:
    perspective(1200px)
    rotateX(var(--rx, 0deg))
    rotateY(var(--ry, 0deg))
    scale(var(--tscale, 1));
  transition: transform 240ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

/* Hero product — idle float + cursor-driven drop shadow */
.hero-product {
  position: relative;
  width: 100%;
  height: 100%;
}
.hero-product .product-stage {
  position: absolute; inset: 0;
  perspective: 1400px;
  display: flex; align-items: center; justify-content: center;
}
.hero-product img {
  position: relative;
  display: block;
  max-width: 100%;
  max-height: min(82vh, 720px);
  height: auto;
  width: auto;
  object-fit: contain;
  animation: heroFloat 8.5s ease-in-out infinite;
  transition: filter 600ms cubic-bezier(0.22, 1, 0.36, 1);
  filter:
    drop-shadow(calc(var(--sx, 0px) * 0.6) calc(var(--sy, 0px) * 0.6 + 30px) 60px rgba(0,0,0,0.55))
    drop-shadow(calc(var(--sx, 0px) * 0.3) calc(var(--sy, 0px) * 0.3 + 10px) 20px rgba(0,0,0,0.25));
}

/* Home hero — banner bg + product image */
.hero-home {
  padding-top: clamp(88px, 10vw, 120px);
  padding-bottom: clamp(56px, 8vw, 96px);
  position: relative;
  overflow: hidden;
}

.hero-home::before,
.hero-home::after,
.hero-home .orb {
  display: none;
}

.hero-home .hero-home-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
}

.hero-home-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% center;
  display: block;
  transform: scale(1.08);
  will-change: transform;
}

.hero-home-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    color-mix(in oklch, var(--navy-deep) 90%, transparent) 0%,
    color-mix(in oklch, var(--navy-deep) 72%, transparent) 40%,
    color-mix(in oklch, var(--navy-deep) 28%, transparent) 62%,
    color-mix(in oklch, var(--navy-deep) 8%, transparent) 100%
  );
}

.hero-home > .container {
  position: relative;
  z-index: 2;
  width: 100%;
  will-change: transform;
}

.hero-home.cursor-glow::after {
  z-index: 1;
}
.hero-home .hero-grid {
  align-items: stretch;
}
.hero-home .hero-grid > .reveal-scale {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
}
.hero-home .hero-product {
  width: 100%;
  height: 100%;
  min-height: 0;
  margin-top: 0;
  overflow: hidden;
  max-width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-home .hero-product .product-stage {
  position: relative;
  inset: auto;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  min-height: 0;
}
.hero-home .hero-product img {
  width: auto;
  max-width: min(380px, 100%);
  height: auto;
  max-height: min(64vh, 576px, 100%);
  object-fit: contain;
  object-position: center center;
  transform-origin: center center;
  animation: heroFloatHome 8.5s ease-in-out infinite;
}
@keyframes heroFloatHome {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50%      { transform: translate3d(0, 8px, 0); }
}
@keyframes heroFloatTop {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50%      { transform: translate3d(0, 12px, 0); }
}
@keyframes heroFloat {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50%      { transform: translate3d(0, -14px, 0); }
}

/* Ambient floor glow under the product, shifts with cursor */
.hero-product::after {
  content: "";
  position: absolute;
  left: 50%; bottom: 6%;
  width: 70%; height: 60px;
  transform: translate3d(calc(-50% + var(--sx, 0px) * 0.7), 0, 0);
  background: radial-gradient(ellipse at center,
    color-mix(in oklch, var(--teal) 45%, transparent) 0%,
    color-mix(in oklch, var(--teal) 18%, transparent) 35%,
    transparent 70%);
  filter: blur(28px);
  opacity: 0.55;
  pointer-events: none;
  transition: transform 400ms cubic-bezier(0.22, 1, 0.36, 1), opacity 600ms;
  z-index: 0;
}

/* Subtle scroll parallax helper baseline */
.parallax { will-change: transform; }

/* Section enter feels heavier and slower */
.section, .section-tight {
  transition: padding 400ms cubic-bezier(0.22, 1, 0.36, 1);
}

/* Cards lift more smoothly with depth shadows */
.card.hoverable,
.card-flush.hoverable {
  transition:
    transform 520ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 520ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 520ms cubic-bezier(0.22, 1, 0.36, 1);
}
.card.hoverable:hover,
.card-flush.hoverable:hover {
  transform: translate3d(0, -6px, 0);
  box-shadow:
    0 32px 60px -24px rgba(15, 23, 42, 0.16),
    0 12px 24px -12px rgba(15, 23, 42, 0.08);
}

/* Soft glow ring on focused/hovered primary buttons */
.btn-primary {
  transition:
    transform 280ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 380ms cubic-bezier(0.22, 1, 0.36, 1),
    background 280ms;
}
.btn-primary:hover {
  transform: translate3d(0, -2px, 0);
  box-shadow:
    0 18px 36px -14px color-mix(in oklch, var(--teal-deep) 70%, transparent),
    0 0 0 6px color-mix(in oklch, var(--teal) 12%, transparent);
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .scroll-reveal { opacity: 1; transform: none; transition: none; }
  .scroll-reveal img { transform: none; transition: none; }
  .motion-fade { opacity: 1; transform: none; transition: none; }
  .page-shell, .page-fade { animation: none; }
  .hero-product img { animation: none; }
  .hero-home .hero-product img { animation: none; }
  @keyframes heroFloatHome {
    0%, 100% { transform: none; }
    50%      { transform: none; }
  }
  .btn-primary::after { display: none; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

.advisor-read-btn {
  cursor: pointer;
  transition: transform 280ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 280ms, background 200ms, border-color 200ms, gap 240ms;
  gap: 6px;
}
.advisor-read-btn:hover {
  transform: translate3d(0, -1px, 0);
  border-color: var(--teal-deep);
  color: var(--teal-deep);
  background: color-mix(in oklch, var(--teal) 8%, white);
  box-shadow: 0 8px 22px -10px color-mix(in oklch, var(--teal) 45%, transparent),
              0 0 0 4px color-mix(in oklch, var(--teal) 12%, transparent);
  gap: 10px;
}
.advisor-read-btn svg { transition: transform 280ms cubic-bezier(0.22, 1, 0.36, 1); }
.advisor-read-btn:hover svg { transform: translateX(2px); }

/* Bio collapse/expand — clamp to ~4 lines then animate to full */
.advisor-bio {
  position: relative;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  max-height: 6.5em;
  transition: max-height 700ms cubic-bezier(0.22, 1, 0.36, 1);
}
.advisor-bio.expanded {
  -webkit-line-clamp: unset;
  max-height: 200em;
}
.advisor-bio:not(.expanded)::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 2em;
  background: linear-gradient(to bottom, transparent, var(--surface));
  pointer-events: none;
}

.advisor-card {
  transition: transform 320ms cubic-bezier(0.22, 1, 0.36, 1);
  padding: 0;
  overflow: hidden;
}

.advisor-grid {
  gap: 14px;
}

.advisor-card-inner {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 18px;
  height: 100%;
}

.advisor-card-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  text-align: left;
  gap: 2px;
}

.advisor-card-body h3 {
  margin-top: 6px;
  font-size: clamp(17px, 1.35vw, 19px);
  line-height: 1.22;
}

.advisor-card-body .serif {
  margin-top: 2px;
  font-size: 14px;
  line-height: 1.35;
  color: var(--muted);
}

.advisor-card-role {
  font-size: 10.5px;
  color: var(--teal-deep);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.advisor-card-institute {
  margin-top: 4px;
  font-size: 11.5px;
  line-height: 1.4;
  color: var(--muted-2);
}

.advisor-card-photo {
  width: 72px;
  height: 72px;
  margin: 0;
  flex-shrink: 0;
  border-radius: 50%;
  overflow: hidden;
  background: #e4e7ec;
}

.advisor-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--advisor-photo-pos, center 32%);
  border-radius: 50%;
  display: block;
}

/* Top scroll progress (Apple-style hairline) */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--teal-strong), var(--green));
  transform-origin: left center;
  transform: scaleX(0);
  z-index: 60;
  pointer-events: none;
  box-shadow: 0 0 12px color-mix(in oklch, var(--teal) 50%, transparent);
  transition: transform 140ms cubic-bezier(0.22, 1, 0.36, 1);
}

/* Page transition */
.page-fade {
  animation: pageIn 640ms cubic-bezier(0.22, 1, 0.36, 1) both;
}
@keyframes pageIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes ifuFade {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes ifuPop {
  from { opacity: 0; transform: translateY(12px) scale(0.985); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes ifuSpin {
  to { transform: rotate(360deg); }
}

/* =========================================================
   Misc
   ========================================================= */

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

.feature-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}
.feature-row:last-child { border-bottom: 0; }
.feature-row .num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--muted-2);
  padding-top: 3px;
}

.check {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: color-mix(in oklch, var(--teal) 30%, white);
  color: var(--teal-deep);
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
}
.check svg { width: 10px; height: 10px; }

/* Trust bar — KPI card links above footer */
.trustbar-section {
  position: relative;
  overflow: hidden;
  padding: clamp(40px, 5vw, 56px) 0;
  border-top: 1px solid var(--border);
  background:
    radial-gradient(ellipse 90% 55% at 50% -15%, color-mix(in oklch, var(--teal) 9%, transparent), transparent 58%),
    linear-gradient(180deg, oklch(99.2% 0.003 240) 0%, var(--bg-soft) 100%);
}

.trustbar-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at center, color-mix(in oklch, var(--border) 35%, transparent) 0.6px, transparent 0.6px);
  background-size: 28px 28px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.35), transparent 85%);
  pointer-events: none;
}

.trustbar-section .container {
  position: relative;
  z-index: 1;
}

.trustbar-kpi-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(14px, 1.5vw, 18px);
}

.trustbar-card {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.trustbar-card .kpi-value {
  font-size: clamp(18px, 1.5vw, 24px);
  line-height: 1.1;
}

.trustbar-card .kpi-label {
  max-width: none;
}

@media (max-width: 1100px) {
  .trustbar-kpi-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .trustbar-kpi-grid {
    grid-template-columns: 1fr;
  }
}

.regulatory-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 48px;
}
.regulatory-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.regulatory-card-head {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.regulatory-card-label {
  font-size: 11px;
  color: var(--teal-deep);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.regulatory-card-status {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.35;
}
.regulatory-card-detail {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-2);
  margin: 0;
  flex: 1;
}
.regulatory-card-link {
  font-size: 13px;
  font-weight: 500;
  color: var(--teal-deep);
  text-decoration: none;
}
.regulatory-card-link:hover {
  text-decoration: underline;
}
.corporate-entities {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.corporate-entity {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.corporate-entity-label {
  font-size: 11px;
  color: var(--teal-deep);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.corporate-entity address,
.corporate-entity p {
  font-style: normal;
  font-size: 14px;
  line-height: 1.65;
  color: var(--ink-2);
  margin: 0;
}
@media (max-width: 900px) {
  .regulatory-grid,
  .corporate-entities {
    grid-template-columns: 1fr;
  }
}

.leader-card-profile {
  position: relative;
  background: linear-gradient(180deg, color-mix(in oklch, var(--teal) 14%, white), var(--bg-soft));
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  min-height: 100%;
  border-right: 1px solid var(--border);
  text-align: center;
}

.leader-card-role {
  font-size: 10px;
  color: var(--teal-deep);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 999px;
  border: 1px solid color-mix(in oklch, var(--teal) 30%, white);
}

.leader-card-photo-wrap {
  position: relative;
  margin: 24px 0;
  width: 100%;
  display: flex;
  justify-content: center;
}

.leader-card-photo-glow {
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in oklch, var(--teal) 28%, transparent), transparent 70%);
  filter: blur(8px);
}

.leader-card-identity {
  width: 100%;
}

.leader-card-identity h3 {
  font-size: 24px;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.leader-card-sub {
  font-size: 15px;
  color: var(--muted);
  margin-top: 6px;
  line-height: 1.4;
}

.leader-card-photo {
  position: relative;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
  box-shadow: 0 12px 32px -12px rgba(15, 23, 42, 0.25);
}

@media (max-width: 880px) {
  .leader-card { grid-template-columns: 1fr !important; }
  .leader-card-profile {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }
  .leader-card-photo {
    width: 160px !important;
    height: 160px !important;
  }
}

@media (max-width: 760px) {
  .leader-row { grid-template-columns: 1fr !important; gap: 24px !important; }
  .leader-row > div { text-align: left !important; }
  .leader-row img { width: 120px !important; height: 120px !important; grid-column: 1 !important; }
}

/* Maintenance / coming soon */
/* =========================================================
   Contact page
   ========================================================= */

.contact-map {
  min-height: 340px;
  position: relative;
  overflow: hidden;
  background: var(--bg-soft);
}

.contact-map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.contact-map-label {
  position: absolute;
  bottom: 16px;
  left: 16px;
  z-index: 1;
  background: var(--surface);
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  font-size: 12px;
  font-family: var(--font-mono);
  color: var(--ink-2);
  text-decoration: none;
  box-shadow: 0 8px 24px -12px rgba(0, 0, 0, 0.18);
  transition: border-color 180ms, color 180ms, transform 180ms;
}

.contact-map-label:hover {
  color: var(--teal-deep);
  border-color: color-mix(in oklch, var(--teal) 24%, var(--border));
  transform: translateY(-1px);
}

@media (max-width: 900px) {
  .contact-grid,
  .map-grid,
  .faq-grid {
    grid-template-columns: 1fr !important;
  }

  .contact-map {
    min-height: 280px;
  }
}

/* =========================================================
   Maintenance page
   ========================================================= */

.maintenance-page {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(32px, 6vw, 64px) 24px;
  background: var(--navy-deep);
  color: #fff;
  overflow: hidden;
}

.maintenance-page-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 15% 20%, color-mix(in oklch, var(--teal) 22%, transparent), transparent 60%),
    radial-gradient(ellipse 70% 50% at 85% 75%, color-mix(in oklch, var(--teal-strong) 16%, transparent), transparent 55%),
    linear-gradient(160deg, var(--navy-deep) 0%, oklch(14% 0.05 268) 100%);
}

.maintenance-page-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}

.maintenance-page-orb-a {
  top: -120px;
  right: -80px;
  width: 420px;
  height: 420px;
  background: color-mix(in oklch, var(--teal) 28%, transparent);
  opacity: 0.5;
}

.maintenance-page-orb-b {
  bottom: -140px;
  left: -100px;
  width: 380px;
  height: 380px;
  background: color-mix(in oklch, var(--green) 20%, transparent);
  opacity: 0.35;
}

.maintenance-page-inner {
  position: relative;
  z-index: 1;
  width: min(640px, 100%);
  text-align: center;
}

.maintenance-logo {
  width: min(200px, 72vw);
  height: auto;
  margin: 0 auto 40px;
}

.maintenance-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  margin: 0 0 20px;
}

.maintenance-page h1 {
  font-family: var(--font-sans);
  font-size: clamp(32px, 5.5vw, 48px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0;
  color: #fff;
}

.maintenance-page h1 .serif {
  color: oklch(82% 0.1 185);
}

.maintenance-lead {
  margin: 24px auto 0;
  max-width: 52ch;
  font-size: clamp(16px, 2.2vw, 18px);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.78);
}

.maintenance-meta {
  margin-top: 32px;
}

.maintenance-pill {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.maintenance-contact {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.maintenance-contact-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.maintenance-email {
  font-size: 18px;
  font-weight: 500;
  color: var(--teal);
  transition: color 200ms, opacity 200ms;
}

.maintenance-email:hover {
  color: #fff;
}

.maintenance-foot {
  margin: 48px 0 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.4);
}

/* =========================================================
   Product detail pages
   ========================================================= */

.product-breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
}
.product-breadcrumbs a {
  color: rgba(255, 255, 255, 0.72);
  transition: color 180ms;
}
.product-breadcrumbs a:hover {
  color: #fff;
}
.product-breadcrumbs-sep {
  opacity: 0.45;
  font-size: 12px;
}
.product-breadcrumbs-current {
  color: oklch(82% 0.1 185);
}

.product-detail-hero {
  padding-bottom: clamp(48px, 6vw, 80px);
}
.product-detail-hero-grid {
  align-items: center;
  margin-top: 8px;
}
.product-detail-hero-visual {
  position: relative;
  min-height: min(58vh, 520px);
  height: min(58vh, 520px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}

.product-detail-hero-visual .product-stage {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1400px;
  overflow: visible;
}

.product-detail-hero-visual .tilt-3d {
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-detail-hero-img {
  width: auto;
  height: auto;
  max-width: min(100%, 320px);
  max-height: min(54vh, 500px);
  object-fit: contain;
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.45));
}

.product-detail-hero-visual--vectra .product-detail-hero-img {
  max-width: min(100%, 280px);
  max-height: min(50vh, 460px);
}

.product-detail-hero-visual--ptca .product-detail-hero-img {
  max-width: min(100%, 520px);
  max-height: min(40vh, 340px);
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.45));
}

.product-detail-hero-visual--tig {
  min-height: min(62vh, 560px);
  height: min(62vh, 560px);
}

.product-detail-hero-visual--tig .product-detail-hero-img {
  max-width: min(100%, 300px);
  max-height: min(58vh, 520px);
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.45));
}

.product-detail-split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}
@media (max-width: 900px) {
  .product-detail-split { grid-template-columns: 1fr; }
}

.product-detail-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.product-detail-list li {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  font-size: 15px;
  line-height: 1.5;
  border-bottom: 1px solid var(--border);
}
.product-detail-list li:last-child { border-bottom: none; }

.product-detail-features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 40px;
}
.product-detail-features > .reveal {
  display: flex;
  flex: 1 1 calc(33.333% - 12px);
  min-width: min(100%, 260px);
  max-width: calc(33.333% - 8px);
  height: auto;
  min-height: 0;
}
.product-detail-feature-card {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 16px 18px;
  background: var(--surface);
  border: 1px solid color-mix(in oklch, var(--border) 85%, transparent);
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.35;
  color: var(--ink);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  transition:
    border-color 220ms ease,
    box-shadow 220ms ease,
    transform 220ms cubic-bezier(0.22, 1, 0.36, 1);
}
.product-detail-feature-card:hover {
  border-color: color-mix(in oklch, var(--teal) 30%, var(--border));
  box-shadow: 0 10px 28px -18px color-mix(in oklch, var(--navy) 24%, transparent);
  transform: translateY(-2px);
}
.product-detail-feature-icon {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: color-mix(in oklch, var(--teal) 12%, white);
  border: 1px solid color-mix(in oklch, var(--teal) 24%, white);
  color: var(--teal-deep);
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
}
.product-detail-feature-icon svg {
  width: 14px;
  height: 14px;
}
.product-detail-feature-label {
  flex: 1;
  min-width: 0;
}

.product-related-links {
  display: grid;
  gap: 12px;
  margin-top: 28px;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}

.product-related-link {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  text-decoration: none;
  color: inherit;
  transition:
    border-color 220ms ease,
    box-shadow 220ms ease,
    transform 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

.product-related-link span {
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.45;
}

.product-related-link:hover {
  border-color: color-mix(in oklch, var(--teal) 30%, var(--border));
  box-shadow: 0 10px 28px -18px color-mix(in oklch, var(--navy) 24%, transparent);
  transform: translateY(-2px);
}

.product-spec-table-wrap {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
}
.product-spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}
.product-spec-table th,
.product-spec-table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
.product-spec-table tr:last-child th,
.product-spec-table tr:last-child td {
  border-bottom: none;
}
.product-spec-table th {
  width: 34%;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  background: var(--bg-soft);
}
.product-spec-table td {
  color: var(--ink);
  font-weight: 500;
}

.product-detail-gallery {
  gap: 20px;
}
.product-detail-gallery-item {
  overflow: hidden;
  height: 100%;
}
.product-detail-gallery-stage {
  background: #f5f7fa;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 220px;
  padding: 24px;
}
.product-detail-gallery-stage img {
  max-width: 100%;
  max-height: 240px;
  object-fit: contain;
  display: block;
}
.product-detail-gallery-item figcaption {
  padding: 14px 18px;
  font-size: 13px;
  color: var(--muted);
  border-top: 1px solid var(--border);
}

.product-detail-cta {
  border-radius: var(--radius-xl);
  background: var(--navy-deep);
  color: #fff;
  padding: clamp(36px, 5vw, 56px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}
.product-detail-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 100% 0%, color-mix(in oklch, var(--teal) 22%, transparent), transparent 55%);
  pointer-events: none;
}
.product-detail-cta > * { position: relative; z-index: 1; }
.product-detail-cta-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
@media (max-width: 700px) {
  .product-detail-cta-actions {
    width: 100%;
    flex-direction: column;
  }
  .product-detail-cta-actions .btn {
    justify-content: center;
  }
}

/* =========================================================
   Responsive — mobile & tablet polish
   ========================================================= */

.product-portfolio-panel {
  margin-top: 32px;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 0;
  overflow: hidden;
}

.product-portfolio-visual {
  background: #f5f7fa;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(280px, 42vw, 480px);
  padding: clamp(20px, 4vw, 32px);
}

.product-portfolio-visual--vectra {
  padding-bottom: clamp(12px, 2vw, 24px);
}

.product-portfolio-image {
  max-width: 100%;
  max-height: min(420px, 52vw);
  width: auto;
  height: auto;
  object-fit: contain;
}

.product-portfolio-image--vectra {
  max-height: min(400px, 48vw);
}

.product-portfolio-body {
  padding: clamp(24px, 4vw, 56px);
}

.product-portfolio-title {
  font-size: clamp(24px, 5vw, 32px);
  letter-spacing: -0.02em;
}

.product-portfolio-spec-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  gap: 16px;
}

.product-portfolio-spec-label {
  color: var(--muted);
  font-size: 14px;
  flex: 1 1 40%;
  min-width: 0;
}

.product-portfolio-spec-value {
  font-size: 14px;
  font-weight: 500;
  text-align: right;
  flex: 1 1 55%;
  min-width: 0;
}

.product-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.product-summary-table {
  min-width: 520px;
}

.product-portfolio-tabs button {
  max-width: 100%;
}

/* Nav & shell — safe areas */
.nav-wrap {
  padding-left: max(0px, env(safe-area-inset-left));
  padding-right: max(0px, env(safe-area-inset-right));
}

.mobile-menu {
  padding:
    max(24px, env(safe-area-inset-top))
    max(24px, env(safe-area-inset-right))
    max(24px, env(safe-area-inset-bottom))
    max(24px, env(safe-area-inset-left));
}

@media (max-width: 980px) {
  .hero.hero-products {
    min-height: auto;
    padding-bottom: clamp(40px, 6vw, 64px);
  }

  .hero.hero-products .hero-grid {
    gap: 32px;
  }

  .products-hero-visual {
    height: min(36vh, 320px);
    min-height: min(36vh, 320px);
    overflow: hidden;
  }

  .products-hero-img-stack {
    width: min(100%, 280px);
    height: min(36vh, 320px);
  }

  .products-hero-img {
    max-width: min(100%, 280px);
    max-height: min(36vh, 320px);
  }

  .product-portfolio-panel {
    grid-template-columns: 1fr;
  }

  .product-detail-hero-visual {
    min-height: min(42vh, 380px);
    height: min(42vh, 380px);
  }

  .product-detail-hero-img {
    max-width: min(100%, 260px);
    max-height: min(40vh, 360px);
  }

  .hero-home .hero-grid {
    align-items: stretch;
  }

  .hero-home .hero-product {
    min-height: 0;
    margin-top: 0;
    overflow: hidden;
  }

  .hero-home .hero-product .product-stage {
    position: relative;
    inset: auto;
    min-height: 0;
  }

  .hero-home .hero-product img {
    width: auto;
    max-width: min(288px, 100%);
    height: auto;
    max-height: min(41.6vh, 336px, 100%);
    object-fit: contain;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .hero {
    padding-top: clamp(80px, 14vw, 110px);
    padding-bottom: clamp(40px, 6vw, 64px);
    overflow-x: hidden;
    max-width: 100%;
  }

  .hero-actions {
    gap: 10px;
  }

  .hero-actions .btn {
    flex: 1 1 auto;
    min-width: 0;
    max-width: 100%;
  }

  .reveal-rise,
  .reveal-scale,
  .reveal-left,
  .reveal-right,
  .reveal-fade {
    filter: none !important;
  }

  .tilt-3d {
    max-width: 100%;
    overflow: hidden;
  }

  .hero:not(.hero-home) .hero-product {
    overflow: hidden;
  }

  .hero-home .hero-product {
    overflow: hidden;
  }

  .hero-product::after {
    display: none;
  }

  .hero-product img {
    filter: drop-shadow(0 18px 36px rgba(0, 0, 0, 0.45));
    animation: none;
  }

  .hero-home .hero-product img {
    animation: none;
  }

  .grid > * {
    min-width: 0;
  }

  .product-catalog-section {
    padding: clamp(32px, 5vw, 48px) 0;
  }

  .product-breadcrumbs {
    font-size: 12px;
    gap: 6px;
  }

  .product-spec-table th,
  .product-spec-table td {
    padding: 12px 14px;
    font-size: 14px;
  }

  .product-spec-table th {
    width: 38%;
  }
}

@media (max-width: 600px) {
  .container {
    padding: 0 18px;
  }

  .section {
    padding: clamp(48px, 8vw, 80px) 0;
  }

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

  .product-portfolio-tabs button {
    width: 100%;
    justify-content: flex-start;
    text-align: left;
  }

  .product-portfolio-spec-row {
    flex-direction: column;
    gap: 4px;
  }

  .product-portfolio-spec-value {
    text-align: left;
  }

  .product-spec-table th,
  .product-spec-table td {
    display: block;
    width: 100%;
  }

  .product-spec-table th {
    padding-bottom: 4px;
    border-bottom: none;
  }

  .product-spec-table td {
    padding-top: 0;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border);
  }

  .product-detail-features > .reveal {
    flex: 1 1 calc(50% - 12px);
    max-width: calc(50% - 8px);
  }

  .product-detail-feature-card {
    padding: 14px 16px;
    font-size: 14px;
  }

  .footer {
    padding: 72px 0 28px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

@media (max-width: 400px) {
  .container {
    padding: 0 14px;
  }

  .product-detail-features > .reveal {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .product-catalog-grid {
    gap: 10px;
  }

  .product-catalog-card-media {
    padding: 12px;
  }

  .product-catalog-card-name {
    padding: 10px 8px 12px;
    font-size: 11px;
  }

  .hero h1 {
    font-size: clamp(26px, 8vw, 34px);
  }
}
