/* ==========================================================================
   NovaMiz Healthcare — Flagship Healthcare-Tech Design System (v3 Redesign)
   Brand: novamizhealthcare.com | "ADVANCING HEALTHCARE. DELIVERING TRUST."
   Architecture:
   - Two-tier design tokens (#073B3A, #087F79, #20BFAF, #E8F6F3, #F8FCFB, #FFFFFF, #526B6A, #DCEAE7)
   - Zero Lenis/CSS smooth-scroll collision (deterministic JS scrollTo + native CSS scroll-margin-top)
   - +19% Prominent Proportional Brand Logo (46px mobile / 50px desktop)
   - Sliding Active Navigation Pill + Tactile Header CTA
   - High-Contrast Deep Midnight-Teal 3D Hero Studio Capsule on Airy Light Canvas
   - Interactive Category Filter Bar + Sculptural 16-Category Cards
   - Editorial Healthcare-Tech Bento About Section + Balanced Zero-Gap Contact Command Card
   - Clean Two-Column Footer + Visibly Red-Heart Yafi Credit
   - Strict CSP Compatibility (Zero Inline Scripts or Inline Styles Required)
   ========================================================================== */

/* 1. Design Token System */
:root {
  /* Tier 1 — Brand Palette Primitives */
  --nm-midnight-teal: #073B3A;
  --nm-midnight-deep: #042524;
  --nm-primary-teal: #087F79;
  --nm-teal-strong: #066661;
  --nm-bright-turquoise: #20BFAF;
  --nm-soft-mint: #E8F6F3;
  --nm-mint-mid: #D3EDE8;
  --nm-ice-white: #F8FCFB;
  --nm-white: #FFFFFF;
  --nm-slate: #4A6463;
  --nm-slate-muted: #526B6A;
  --nm-border: #DCEAE7;
  --nm-heart-red: #E11D48;

  /* Tier 2 — Semantic Tokens */
  --surface-page: var(--nm-ice-white);
  --surface-card: rgba(255, 255, 255, 0.90);
  --surface-card-solid: #FFFFFF;
  --surface-dark-studio: #073B3A;
  --surface-header: rgba(255, 255, 255, 0.84);

  --text-primary: var(--nm-midnight-teal);
  --text-body: var(--nm-slate);
  --text-muted: var(--nm-slate-muted);
  --text-inverse: var(--nm-white);

  --border-subtle: var(--nm-border);
  --border-accent: rgba(8, 127, 121, 0.36);
  --focus-ring: var(--nm-primary-teal);

  /* Elevation & Radii */
  --shadow-xs: 0 2px 10px rgba(7, 59, 58, 0.04);
  --shadow-sm: 0 8px 24px rgba(7, 59, 58, 0.06);
  --shadow-md: 0 18px 42px rgba(7, 59, 58, 0.09);
  --shadow-lg: 0 26px 60px rgba(7, 59, 58, 0.13);
  --shadow-studio: 0 24px 56px rgba(4, 37, 36, 0.22);
  --shadow-cta: 0 10px 26px rgba(8, 127, 121, 0.24);

  --radius-xs: 8px;
  --radius-sm: 11px;
  --radius-md: 15px;
  --radius-lg: 20px;
  --radius-xl: 26px;
  --radius-pill: 999px;

  --font-display: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --container-max: 1340px;
  --nav-height: 72px;
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-standard: cubic-bezier(0.22, 1, 0.36, 1);
}

@media (min-width: 768px) {
  :root {
    --nav-height: 80px;
  }
}

/* 2. Base Reset & Deterministic Scroll Hygiene */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  /* Native scroll-behavior kept auto so JS window.scrollTo({ behavior: 'smooth' })
     never collides or double-interpolates; scroll-padding-top protects direct #hash opens! */
  scroll-behavior: auto;
  scroll-padding-top: calc(var(--nav-height) + 12px);
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 0.98rem;
  line-height: 1.62;
  color: var(--text-primary);
  background-color: var(--nm-ice-white);
  background-image:
    radial-gradient(ellipse 72% 42% at 84% 8%, rgba(232, 246, 243, 0.9) 0%, transparent 72%),
    radial-gradient(ellipse 60% 45% at 10% 48%, rgba(232, 246, 243, 0.6) 0%, transparent 70%),
    linear-gradient(180deg, #FFFFFF 0%, #F8FCFB 52%, #F2F9F7 100%);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  position: relative;
}

body.is-loading {
  overflow: hidden;
}

img,
picture,
svg,
canvas {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

:focus-visible {
  outline: 2.5px solid var(--focus-ring);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: fixed;
  top: -120px;
  left: 16px;
  z-index: 10050;
  padding: 10px 18px;
  background: var(--nm-midnight-teal);
  color: var(--nm-white);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.88rem;
  border-radius: var(--radius-sm);
  transition: top 0.2s var(--ease-standard);
}

.skip-link:focus {
  top: 12px;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: clamp(16px, 3.8vw, 40px);
}

section[id] {
  scroll-margin-top: calc(var(--nav-height) + 12px);
}

/* ==========================================================================
   3. PERSISTENT WEBSITE-WIDE PARTICLE ENVIRONMENT
   ========================================================================== */
#living-orb-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.page-shell {
  position: relative;
  z-index: 2;
  background: transparent;
}

/* ==========================================================================
   4. ARCHITECTURAL SECTION DIVIDERS (Compact Continuous Flow)
   ========================================================================== */
.section-divider {
  position: relative;
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: clamp(16px, 3.8vw, 40px);
  height: 1px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}

.section-divider__line {
  width: 100%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--nm-border) 15%,
    rgba(8, 127, 121, 0.30) 50%,
    var(--nm-border) 85%,
    transparent 100%
  );
  transform-origin: center;
}

.section-divider__node {
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--nm-bright-turquoise);
  box-shadow: 0 0 0 4px rgba(32, 191, 175, 0.16);
}

/* ==========================================================================
   5. CINEMATIC PULSE REVEAL PRELOADER
   ========================================================================== */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background:
    radial-gradient(circle at 50% 44%, rgba(32, 191, 175, 0.12) 0%, rgba(232, 246, 243, 0.68) 38%, #FFFFFF 76%),
    #FFFFFF;
  overflow: hidden;
  transition: opacity 0.5s var(--ease-out-expo), visibility 0.5s var(--ease-out-expo);
}

.preloader.is-complete {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader.is-hidden {
  display: none;
}

.preloader__ambient {
  position: absolute;
  width: min(500px, 88vw);
  height: min(500px, 88vw);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(8, 127, 121, 0.10) 0%, rgba(232, 246, 243, 0.25) 48%, transparent 72%);
  pointer-events: none;
}

.preloader__rings {
  position: absolute;
  width: 210px;
  height: 210px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.preloader__ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(8, 127, 121, 0.18);
  opacity: 0;
  transform: scale(0.72);
}

.preloader__particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.preloader__dot {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--nm-bright-turquoise);
  opacity: 0.3;
}

.preloader__dot:nth-child(1) { top: 24%; left: 22%; }
.preloader__dot:nth-child(2) { top: 29%; right: 24%; width: 4px; height: 4px; background: var(--nm-primary-teal); }
.preloader__dot:nth-child(3) { bottom: 27%; left: 26%; width: 4px; height: 4px; }
.preloader__dot:nth-child(4) { bottom: 24%; right: 23%; background: var(--nm-primary-teal); }
.preloader__dot:nth-child(5) { top: 48%; left: 16%; width: 3px; height: 3px; }
.preloader__dot:nth-child(6) { top: 45%; right: 17%; width: 3px; height: 3px; }

.preloader__stage {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 420px;
  width: 100%;
}

.preloader__symbol-wrap {
  position: relative;
  width: 112px;
  height: 112px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}

.preloader__svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.preloader__cross-group,
.preloader__orbit-group,
.preloader__ecg-dot,
.preloader__ecg-line {
  opacity: 0;
}

.preloader__sweep {
  position: absolute;
  inset: -12px;
  background: linear-gradient(112deg, transparent 32%, rgba(255, 255, 255, 0.72) 50%, transparent 68%);
  transform: translateX(-140%);
  pointer-events: none;
  mix-blend-mode: soft-light;
}

.preloader__wordmark {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 5vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.028em;
  line-height: 1.1;
  color: var(--nm-midnight-teal);
  opacity: 0;
  transform: translateY(10px);
}

.preloader__wordmark span {
  color: var(--nm-primary-teal);
}

.preloader__subtitle {
  margin-top: 5px;
  font-family: var(--font-display);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.36em;
  text-indent: 0.36em;
  color: var(--nm-teal-strong);
  opacity: 0;
  transform: translateY(6px);
}

.preloader__tagline {
  margin-top: 16px;
  font-family: var(--font-sans);
  font-size: 0.71rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  opacity: 0;
}

.preloader__progress-track {
  margin-top: 14px;
  width: min(196px, 66vw);
  height: 2.5px;
  border-radius: var(--radius-pill);
  background: rgba(8, 127, 121, 0.12);
  overflow: hidden;
  opacity: 0;
}

.preloader__progress-bar {
  width: 100%;
  height: 100%;
  border-radius: var(--radius-pill);
  background: linear-gradient(90deg, var(--nm-primary-teal), var(--nm-bright-turquoise));
  transform-origin: left center;
  transform: scaleX(0.08);
}

/* ==========================================================================
   6. REDESIGNED STICKY NAVBAR & +19% PROMINENT BRAND LOGO
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 120;
  height: var(--nav-height);
  background: var(--surface-header);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(220, 234, 231, 0.75);
  transition: background-color 0.25s var(--ease-standard), box-shadow 0.25s var(--ease-standard), border-color 0.25s var(--ease-standard);
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.94);
  border-bottom-color: var(--nm-border);
  box-shadow: 0 6px 24px rgba(7, 59, 58, 0.06);
}

.nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  padding-block: 4px;
  transition: transform 0.24s var(--ease-out-expo);
}

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

/* +18-20% Larger Prominent Brand Logo with Exact Preserved Proportions */
.brand-link__logo {
  height: 46px;
  width: auto;
}

@media (min-width: 768px) {
  .brand-link__logo {
    height: 50px;
  }
}

.nav-dock {
  position: relative;
  display: none;
  align-items: center;
  padding: 5px;
  border-radius: var(--radius-pill);
  background: rgba(232, 246, 243, 0.65);
  border: 1px solid var(--nm-border);
  box-shadow: inset 0 1px 2px rgba(7, 59, 58, 0.03);
}

.nav-links {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-active-pill {
  position: absolute;
  top: 5px;
  bottom: 5px;
  left: 5px;
  width: 76px;
  border-radius: var(--radius-pill);
  background: var(--nm-white);
  border: 1px solid rgba(8, 127, 121, 0.14);
  box-shadow: 0 3px 10px rgba(7, 59, 58, 0.08);
  z-index: 1;
  pointer-events: none;
  transition: transform 0.34s var(--ease-out-expo), width 0.34s var(--ease-out-expo), opacity 0.2s ease;
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 20px;
  font-family: var(--font-display);
  font-size: 0.91rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text-body);
  border-radius: var(--radius-pill);
  transition: color 0.22s var(--ease-standard);
}

.nav-link:hover {
  color: var(--nm-midnight-teal);
}

.nav-link.is-active {
  color: var(--nm-primary-teal);
  font-weight: 700;
}

/* Fallback active styling when sliding JS pill hasn't initialized */
.nav-dock:not(.has-pill) .nav-link.is-active {
  background: var(--nm-white);
  box-shadow: 0 2px 8px rgba(7, 59, 58, 0.07);
}

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

.nav-cta-desktop {
  display: none !important;
}

.nav-cta-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4ADE80;
  box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.24);
  flex-shrink: 0;
}

@media (min-width: 920px) {
  .nav-dock {
    display: inline-flex;
  }
  .nav-cta-desktop {
    display: inline-flex !important;
  }
  .menu-toggle {
    display: none !important;
  }
}

.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--nm-border);
  background: var(--nm-white);
  color: var(--nm-midnight-teal);
  transition: border-color 0.2s var(--ease-standard), background-color 0.2s var(--ease-standard);
}

.menu-toggle:hover {
  background: var(--nm-soft-mint);
  border-color: var(--nm-primary-teal);
}

.menu-toggle__bars {
  width: 20px;
  height: 14px;
  position: relative;
  display: block;
}

.menu-toggle__bars span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.28s var(--ease-out-expo), opacity 0.2s ease, top 0.28s var(--ease-out-expo);
}

.menu-toggle__bars span:nth-child(1) { top: 0; }
.menu-toggle__bars span:nth-child(2) { top: 6px; }
.menu-toggle__bars span:nth-child(3) { top: 12px; }

.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:nth-child(1) {
  top: 6px;
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:nth-child(3) {
  top: 6px;
  transform: rotate(-45deg);
}

/* Mobile Navigation Drawer */
.mobile-drawer {
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  z-index: 115;
  max-height: calc(100dvh - var(--nav-height));
  overflow-y: auto;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--nm-border);
  box-shadow: var(--shadow-lg);
  padding: 16px clamp(16px, 5vw, 32px) 22px;
  transform: translateY(-10px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: transform 0.28s var(--ease-out-expo), opacity 0.22s ease, visibility 0.22s ease;
}

.mobile-drawer.is-open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mobile-drawer__list {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
  display: grid;
  gap: 6px;
}

.mobile-drawer__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-radius: 12px;
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--nm-midnight-teal);
  background: var(--nm-ice-white);
  border: 1px solid var(--nm-border);
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.mobile-drawer__link:hover,
.mobile-drawer__link.is-active {
  background: var(--nm-soft-mint);
  border-color: rgba(8, 127, 121, 0.3);
  color: var(--nm-teal-strong);
}

.mobile-drawer__meta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid var(--nm-border);
}

.mobile-drawer__region {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
}

/* ==========================================================================
   7. BUTTON SYSTEM
   ========================================================================== */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 11px 22px;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.2;
  white-space: nowrap;
  transition:
    transform 0.24s var(--ease-out-expo),
    box-shadow 0.24s var(--ease-out-expo),
    background-color 0.22s ease,
    border-color 0.22s ease,
    color 0.22s ease;
}

.btn svg {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  transition: transform 0.24s var(--ease-out-expo);
}

.btn--primary {
  background: linear-gradient(135deg, var(--nm-midnight-teal) 0%, var(--nm-primary-teal) 100%);
  color: var(--nm-white);
  box-shadow: var(--shadow-cta);
  border: 1px solid rgba(32, 191, 175, 0.22);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(7, 59, 58, 0.28);
}

.btn--primary:hover svg {
  transform: translateX(3px);
}

.btn--secondary {
  background: rgba(255, 255, 255, 0.94);
  color: var(--nm-midnight-teal);
  border: 1px solid var(--nm-border);
  box-shadow: var(--shadow-xs);
}

.btn--secondary:hover {
  background: var(--nm-soft-mint);
  border-color: var(--nm-primary-teal);
  color: var(--nm-primary-teal);
  transform: translateY(-2px);
}

.btn--sm {
  min-height: 42px;
  padding: 9px 18px;
  font-size: 0.86rem;
}

/* ==========================================================================
   8. HERO SECTION — EDITORIAL AUTHORITY + HIGH-CONTRAST 3D STUDIO CAPSULE
   ========================================================================== */
.hero {
  position: relative;
  padding-top: 18px;
  padding-bottom: 30px;
  background: transparent;
}

@media (min-width: 768px) {
  .hero {
    padding-top: 24px;
    padding-bottom: 38px;
  }
}

@media (min-width: 1024px) {
  .hero {
    padding-top: 28px;
    padding-bottom: 44px;
  }
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: center;
}

@media (min-width: 1024px) {
  .hero__grid {
    grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
    gap: 42px;
  }
}

.hero__content {
  max-width: 630px;
}

.eyebrow-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 13px;
  border-radius: var(--radius-pill);
  background: rgba(232, 246, 243, 0.85);
  border: 1px solid var(--nm-border);
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--nm-teal-strong);
  margin-bottom: 14px;
}

@media (max-width: 430px) {
  .eyebrow-chip {
    font-size: 0.64rem;
    letter-spacing: 0.085em;
    padding: 5px 11px;
  }
}

.eyebrow-chip__bar {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--nm-bright-turquoise);
}

.eyebrow-label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-display);
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--nm-teal-strong);
  margin-bottom: 10px;
}

.eyebrow-label::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--nm-primary-teal), var(--nm-bright-turquoise));
}

.hero__title {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-size: clamp(2.05rem, 4.7vw, 3.6rem);
  font-weight: 800;
  line-height: 1.07;
  letter-spacing: -0.034em;
  color: var(--nm-midnight-teal);
}

.hero__title-accent {
  color: var(--nm-primary-teal);
  display: block;
}

.hero__description {
  margin: 0 0 22px;
  font-size: clamp(0.95rem, 1.3vw, 1.07rem);
  line-height: 1.64;
  color: var(--text-body);
  max-width: 55ch;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

@media (max-width: 480px) {
  .hero__actions {
    flex-direction: column;
  }
  .hero__actions .btn {
    width: 100%;
  }
}

/* Structured 3-Tile Hero Credibility Strip */
.hero__metrics-bar {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

@media (min-width: 560px) {
  .hero__metrics-bar {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.hero__metric-tile {
  padding: 11px 14px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--nm-border);
  box-shadow: var(--shadow-xs);
}

.hero__metric-val {
  font-family: var(--font-display);
  font-size: 0.96rem;
  font-weight: 800;
  color: var(--nm-midnight-teal);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.hero__metric-val span {
  color: var(--nm-primary-teal);
}

.hero__metric-lbl {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 2px;
  line-height: 1.3;
}

/* Jewel-Box Deep Midnight-Teal 3D Studio Viewport */
.hero__visual-wrap {
  position: relative;
  width: 100%;
  max-width: 590px;
  margin-inline: auto;
}

.hero__stage {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 50% 46%, #0D5E5A 0%, #073B3A 58%, #042221 100%);
  border: 1px solid rgba(32, 191, 175, 0.28);
  box-shadow: var(--shadow-studio);
  overflow: hidden;
  isolation: isolate;
  cursor: grab;
}

.hero__stage:active {
  cursor: grabbing;
}

/* Subtle precision medical-tech radial halo inside dark 3D stage */
.hero__stage::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 78% 22%, rgba(32, 191, 175, 0.16) 0%, transparent 45%),
    radial-gradient(circle at 22% 78%, rgba(8, 127, 121, 0.22) 0%, transparent 50%);
  z-index: 1;
  pointer-events: none;
}

.hero__fallback-picture,
.hero__fallback-img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.4s var(--ease-standard);
}

.hero__stage.has-live-3d .hero__fallback-img {
  opacity: 0;
  pointer-events: none;
}

.hero__webgl-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  opacity: 0;
  transition: opacity 0.45s var(--ease-standard);
  touch-action: pan-y;
}

.hero__stage.has-live-3d .hero__webgl-canvas {
  opacity: 1;
}

.hero__stage-pill {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: rgba(4, 37, 36, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(32, 191, 175, 0.34);
  font-family: var(--font-display);
  font-size: 0.69rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #E8F6F3;
  pointer-events: none;
}

.hero__stage-pill-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--nm-bright-turquoise);
  box-shadow: 0 0 8px var(--nm-bright-turquoise);
}

.hero__floating-card {
  position: absolute;
  z-index: 3;
  bottom: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 14px;
  background: rgba(4, 37, 36, 0.76);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(32, 191, 175, 0.28);
  color: var(--nm-white);
  font-size: 0.78rem;
  pointer-events: none;
}

@media (min-width: 560px) {
  .hero__floating-card {
    right: auto;
    max-width: 350px;
    bottom: 15px;
    left: 15px;
  }
}

.hero__floating-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.hero__floating-badge img {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.hero__floating-title {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--nm-white);
  line-height: 1.22;
}

.hero__floating-sub {
  color: rgba(232, 246, 243, 0.8);
  font-size: 0.72rem;
}

/* ==========================================================================
   9. COMPACT SECTION HEADERS
   ========================================================================== */
.section-header {
  max-width: 700px;
  margin-bottom: 22px;
}

@media (min-width: 768px) {
  .section-header {
    margin-bottom: 26px;
  }
}

@media (min-width: 1024px) {
  .section-header {
    margin-bottom: 30px;
  }
}

.section-header--center {
  margin-inline: auto;
  text-align: center;
}

.section-header--center .eyebrow-label {
  justify-content: center;
}

.section-title {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: clamp(1.68rem, 3.2vw, 2.5rem);
  font-weight: 800;
  line-height: 1.13;
  letter-spacing: -0.028em;
  color: var(--nm-midnight-teal);
}

.section-description {
  margin: 0;
  font-size: clamp(0.93rem, 1.15vw, 1.02rem);
  line-height: 1.62;
  color: var(--text-body);
}

/* ==========================================================================
   10. PRODUCTS — INTERACTIVE FILTER BAR & 16 HEALTHCARE CATEGORY CARDS
   ========================================================================== */
.categories-section {
  position: relative;
  padding-block: 30px;
  background: linear-gradient(
    180deg,
    rgba(232, 246, 243, 0.24) 0%,
    rgba(255, 255, 255, 0.16) 50%,
    rgba(232, 246, 243, 0.22) 100%
  );
}

@media (min-width: 768px) {
  .categories-section {
    padding-block: 38px;
  }
}

@media (min-width: 1024px) {
  .categories-section {
    padding-block: 46px;
  }
}

/* Interactive Category Filter Tabs */
.category-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 24px;
}

.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 15px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--nm-border);
  font-family: var(--font-display);
  font-size: 0.81rem;
  font-weight: 600;
  color: var(--text-body);
  box-shadow: var(--shadow-xs);
  transition: background-color 0.22s ease, color 0.22s ease, border-color 0.22s ease, transform 0.22s var(--ease-out-expo);
}

.filter-chip:hover {
  border-color: var(--nm-primary-teal);
  color: var(--nm-midnight-teal);
  transform: translateY(-1px);
}

.filter-chip.is-active {
  background: var(--nm-midnight-teal);
  border-color: var(--nm-midnight-teal);
  color: var(--nm-white);
}

.filter-chip__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 18px;
  padding-inline: 5px;
  border-radius: var(--radius-pill);
  font-size: 0.7rem;
  font-weight: 700;
  background: var(--nm-soft-mint);
  color: var(--nm-teal-strong);
}

.filter-chip.is-active .filter-chip__count {
  background: rgba(32, 191, 175, 0.25);
  color: #D9FFF9;
}

.categories-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

@media (min-width: 360px) {
  .categories-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
}

@media (min-width: 640px) {
  .categories-grid {
    gap: 18px;
  }
}

@media (min-width: 880px) {
  .categories-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
  }
}

@media (min-width: 1200px) {
  .categories-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
  }
}

.category-card {
  --pointer-x: 50%;
  --pointer-y: 50%;
  --art-shift-x: 0px;
  --art-shift-y: 0px;
  --art-rot: 0deg;
  --card-rx: 0deg;
  --card-ry: 0deg;

  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface-card);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid var(--nm-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  transition:
    transform 0.34s var(--ease-out-expo),
    box-shadow 0.34s var(--ease-out-expo),
    border-color 0.26s ease,
    background-color 0.26s ease;
}

.category-card.is-filtered-out {
  display: none;
}

.category-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--nm-primary-teal), var(--nm-bright-turquoise));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.36s var(--ease-out-expo);
  z-index: 3;
}

.category-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    320px circle at var(--pointer-x) var(--pointer-y),
    rgba(32, 191, 175, 0.11),
    transparent 65%
  );
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 0;
}

.category-card__media {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 4 / 3;
  background: linear-gradient(160deg, #FFFFFF 0%, #E8F6F3 100%);
  overflow: hidden;
  border-bottom: 1px solid rgba(220, 234, 231, 0.85);
}

.category-card__number {
  position: absolute;
  top: 9px;
  left: 9px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 30px;
  height: 24px;
  padding-inline: 8px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--nm-border);
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
  color: var(--nm-midnight-teal);
  transition: background-color 0.24s ease, color 0.24s ease, border-color 0.24s ease;
}

.category-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate3d(var(--art-shift-x), var(--art-shift-y), 0) rotate(var(--art-rot)) scale(1.01);
  transition: transform 0.4s var(--ease-out-expo);
}

.category-card__body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  padding: 13px;
}

@media (min-width: 640px) {
  .category-card__body {
    padding: 16px 18px 18px;
  }
  .category-card__number {
    top: 11px;
    left: 11px;
    min-width: 34px;
    height: 26px;
    font-size: 0.73rem;
  }
}

.category-card__title {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: clamp(0.9rem, 1.2vw, 1.04rem);
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: -0.015em;
  color: var(--nm-midnight-teal);
}

.category-card__desc {
  margin: 0 0 14px;
  font-size: clamp(0.78rem, 0.95vw, 0.855rem);
  line-height: 1.54;
  color: var(--text-muted);
  flex: 1 1 auto;
  transition: color 0.22s ease;
}

.category-card__cta {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  width: 100%;
  min-height: 39px;
  padding: 8px 12px;
  border-radius: 10px;
  background: var(--nm-soft-mint);
  border: 1px solid rgba(8, 127, 121, 0.16);
  font-family: var(--font-display);
  font-size: clamp(0.75rem, 0.9vw, 0.83rem);
  font-weight: 700;
  color: var(--nm-midnight-teal);
  transition:
    background-color 0.24s var(--ease-standard),
    color 0.24s var(--ease-standard),
    border-color 0.24s var(--ease-standard),
    box-shadow 0.24s var(--ease-out-expo);
}

@media (min-width: 640px) {
  .category-card__cta {
    min-height: 42px;
    padding: 9px 14px;
  }
}

.category-card__cta svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  transition: transform 0.24s var(--ease-out-expo);
}

@media (hover: hover) and (pointer: fine) {
  .category-card:hover {
    transform: perspective(900px) translateY(-5px) rotateX(var(--card-rx)) rotateY(var(--card-ry));
    border-color: var(--border-accent);
    box-shadow: var(--shadow-md);
    background: var(--surface-card-solid);
  }

  .category-card:hover::before {
    opacity: 1;
  }

  .category-card:hover::after {
    transform: scaleX(1);
  }

  .category-card:hover .category-card__number {
    background-color: var(--nm-primary-teal);
    border-color: var(--nm-primary-teal);
    color: var(--nm-white);
  }

  .category-card:hover .category-card__img {
    transform: translate3d(var(--art-shift-x), var(--art-shift-y), 0) rotate(var(--art-rot)) scale(1.06);
  }

  .category-card:hover .category-card__desc {
    color: var(--text-body);
  }

  .category-card:hover .category-card__cta {
    background-color: var(--nm-midnight-teal);
    border-color: var(--nm-midnight-teal);
    color: var(--nm-white);
    box-shadow: 0 8px 18px rgba(7, 59, 58, 0.20);
  }

  .category-card:hover .category-card__cta svg {
    transform: translate(2px, -2px);
  }
}

.categories-note {
  margin-top: 22px;
  padding: 14px 20px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.90);
  border: 1px solid var(--nm-border);
  box-shadow: var(--shadow-xs);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.87rem;
  color: var(--text-body);
}

.categories-note strong {
  color: var(--nm-midnight-teal);
}

/* ==========================================================================
   11. ABOUT US — EDITORIAL BENTO & CONTROLLED DARK-STUDIO PILLAR
   ========================================================================== */
.about-section {
  position: relative;
  padding-block: 30px;
  background: transparent;
}

@media (min-width: 768px) {
  .about-section {
    padding-block: 38px;
  }
}

@media (min-width: 1024px) {
  .about-section {
    padding-block: 46px;
  }
}

.about__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  align-items: stretch;
}

@media (min-width: 1024px) {
  .about__layout {
    grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
    gap: 28px;
  }
}

.about__story-card {
  padding: clamp(22px, 3.4vw, 36px);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.90);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--nm-border);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about__prose p {
  margin: 0 0 13px;
  font-size: clamp(0.93rem, 1.1vw, 1.0rem);
  line-height: 1.66;
  color: var(--text-body);
}

.about__prose p:first-child {
  color: var(--nm-midnight-teal);
  font-weight: 600;
  font-size: clamp(0.98rem, 1.18vw, 1.05rem);
}

.about__prose p:last-child {
  margin-bottom: 0;
}

.about__visual-panel {
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: space-between;
}

/* Controlled Deep Midnight-Teal Brand Pillar Card */
.about__emblem-card {
  position: relative;
  padding: 24px 26px;
  border-radius: var(--radius-xl);
  background: linear-gradient(145deg, #052B2A 0%, #073B3A 55%, #085A56 100%);
  border: 1px solid rgba(32, 191, 175, 0.28);
  color: var(--nm-white);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.about__emblem-card::after {
  content: '';
  position: absolute;
  right: -36px;
  bottom: -36px;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(32, 191, 175, 0.22) 0%, transparent 70%);
  pointer-events: none;
}

.about__emblem-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}

.about__emblem-icon-well {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(32, 191, 175, 0.34);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.about__emblem-icon-well img {
  width: 34px;
  height: 34px;
}

.about__emblem-tagline {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #6EE7D8;
}

.about__emblem-heading {
  margin: 3px 0 0;
  font-family: var(--font-display);
  font-size: 1.16rem;
  font-weight: 700;
  color: var(--nm-white);
}

.about__emblem-copy {
  margin: 0;
  font-size: 0.89rem;
  line-height: 1.6;
  color: rgba(232, 246, 243, 0.84);
}

.highlights-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  flex: 1 1 auto;
}

@media (min-width: 520px) {
  .highlights-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }
}

.highlight-card {
  position: relative;
  padding: 18px 20px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.90);
  border: 1px solid var(--nm-border);
  box-shadow: var(--shadow-xs);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: transform 0.28s var(--ease-out-expo), border-color 0.24s ease, box-shadow 0.28s var(--ease-out-expo);
}

.highlight-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 36px;
  height: 3px;
  border-radius: 0 0 3px 0;
  background: var(--nm-primary-teal);
  transition: width 0.3s var(--ease-out-expo);
}

.highlight-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-accent);
  box-shadow: var(--shadow-sm);
}

.highlight-card:hover::before {
  width: 100%;
}

.highlight-card__metric {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.0vw, 1.56rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.18;
  color: var(--nm-primary-teal);
  font-variant-numeric: tabular-nums;
  margin-bottom: 5px;
}

.highlight-card__label {
  margin: 0;
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.38;
  color: var(--nm-midnight-teal);
}

/* ==========================================================================
   12. CONTACT SECTION — BALANCED ZERO-GAP COMMAND SURFACE
   ========================================================================== */
.contact-section {
  position: relative;
  padding-block: 30px 38px;
  background: linear-gradient(
    180deg,
    rgba(232, 246, 243, 0.18) 0%,
    rgba(232, 246, 243, 0.38) 100%
  );
}

@media (min-width: 768px) {
  .contact-section {
    padding-block: 38px 46px;
  }
}

@media (min-width: 1024px) {
  .contact-section {
    padding-block: 46px 54px;
  }
}

.contact-card {
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--nm-border);
  box-shadow: var(--shadow-md);
  padding: clamp(22px, 3.6vw, 38px);
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: center;
}

@media (min-width: 980px) {
  .contact-card {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 36px;
  }
}

.contact__cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

@media (max-width: 520px) {
  .contact__cta-group {
    flex-direction: column;
  }
  .contact__cta-group .btn {
    width: 100%;
  }
}

/* Balanced 2x2 Contact Tile Grid eliminating excess vertical height & blank space */
.contact__details {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

@media (min-width: 580px) {
  .contact__details {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
}

.contact-detail-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 16px 18px;
  border-radius: var(--radius-md);
  background: var(--nm-ice-white);
  border: 1px solid var(--nm-border);
  transition: border-color 0.24s ease, transform 0.24s var(--ease-out-expo), background-color 0.24s ease, box-shadow 0.24s ease;
}

.contact-detail-item:hover {
  background: var(--nm-white);
  border-color: var(--border-accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-xs);
}

.contact-detail-item__icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--nm-soft-mint);
  color: var(--nm-primary-teal);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-detail-item__icon svg {
  width: 18px;
  height: 18px;
}

.contact-detail-item__label {
  font-size: 0.71rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 2px;
}

.contact-detail-item__value {
  font-family: var(--font-display);
  font-size: 0.91rem;
  font-weight: 700;
  color: var(--nm-midnight-teal);
  word-break: break-word;
}

a.contact-detail-item__value:hover {
  color: var(--nm-primary-teal);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ==========================================================================
   13. MINIMAL BRANDED FOOTER + RED-HEART DESIGNED & DEVELOPED CREDIT
   ========================================================================== */
.site-footer {
  position: relative;
  background: rgba(244, 250, 249, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid var(--nm-border);
  color: var(--nm-midnight-teal);
  padding-top: clamp(30px, 3.8vw, 42px);
  padding-bottom: 22px;
}

.footer__top {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--nm-border);
}

.footer__brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 580px;
}

.footer__brand-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  transition: transform 0.24s var(--ease-out-expo);
}

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

.footer__logo {
  height: 54px;
  width: auto;
}

@media (min-width: 768px) {
  .footer__logo {
    height: 60px;
  }
}

.footer__tagline {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--nm-teal-strong);
}

.footer__summary {
  margin: 0;
  font-size: 0.89rem;
  line-height: 1.62;
  color: var(--text-body);
}

.footer__bottom {
  padding-top: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer__bottom--subpage {
  padding-top: 0;
}

@media (min-width: 860px) {
  .footer__bottom {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    gap: 16px;
  }
}

.footer__meta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 20px;
}

@media (min-width: 860px) {
  .footer__meta-group {
    justify-content: flex-start;
  }
}

.footer__legal {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.footer__legal a {
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.footer__legal a:hover {
  color: var(--nm-primary-teal);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer__dev-credit {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
}

.footer__dev-heart {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--nm-heart-red);
  line-height: 1;
}

.footer__dev-heart svg {
  width: 13px;
  height: 13px;
  fill: var(--nm-heart-red);
}

.footer__dev-name {
  color: var(--nm-midnight-teal);
  font-weight: 600;
}

/* ==========================================================================
   14. SUPPORTING LEGAL & 404 PAGES (CSP-Clean Classes — Zero Inline Styles)
   ========================================================================== */
.subpage-main {
  padding-block: clamp(32px, 5vw, 56px);
  min-height: calc(100vh - var(--nav-height) - 180px);
}

.legal-article {
  max-width: 800px;
  margin-inline: auto;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--nm-border);
  border-radius: var(--radius-xl);
  padding: clamp(24px, 4.5vw, 46px);
  box-shadow: var(--shadow-sm);
}

.legal-article--centered {
  text-align: center;
}

.legal-article__icon {
  margin: 0 auto 16px;
}

.legal-article__eyebrow-center {
  justify-content: center;
}

.legal-article__lead-center {
  max-width: 52ch;
  margin: 0 auto 24px;
}

.legal-article__actions-center {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.legal-article h1 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.2vw, 2.25rem);
  letter-spacing: -0.025em;
  color: var(--nm-midnight-teal);
}

.legal-article h2 {
  margin: 22px 0 8px;
  font-family: var(--font-display);
  font-size: 1.14rem;
  color: var(--nm-midnight-teal);
}

.legal-article p,
.legal-article li {
  color: var(--text-body);
  font-size: 0.95rem;
}

/* ==========================================================================
   15. REDUCED MOTION COMPLIANCE
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .category-card:hover,
  .btn:hover,
  .highlight-card:hover,
  .contact-detail-item:hover {
    transform: none !important;
  }
}
