/* ============================================================
   NuVida Biosciences — Design System
   Brand: #4C8598 (teal) · #1B203E (navy)
   Display: Newsreader · Body: Poppins · Utility: JetBrains Mono
   Signature: the brand bloom mark, rendered large on dark panels
   and in the hero.
   ============================================================ */

/* ---- Google Fonts ---- */
@import url('https://fonts.googleapis.com/css2?family=Newsreader:ital,opsz,wght@0,6..72,300..600;1,6..72,300..600&family=Poppins:ital,wght@0,300;0,400;0,500;0,600;1,400&family=JetBrains+Mono:wght@400;500;600&display=swap');

/* ---- Design Tokens ---- */
:root {
  --primary:         #4C8598;
  --primary-dark:    #3a6b79;
  --primary-light:   #73ACBF;
  --primary-xlight:  #e8f4f8;
  --primary-xxlight: #f0f7fa;

  --navy:            #1B203E;
  --navy-dark:       #121A2F;
  --navy-mid:        #2d3560;

  --ink:             #10141f;
  --text:            #1f2937;
  --text-secondary:  #4b5563;
  --text-muted:      #8a93a3;
  --text-light:      #d1d5db;

  --white:           #ffffff;
  --bg:              #fcfbf8;
  --bg-light:        #f6f5f1;
  --bg-section:      #f0f7fa;
  --bg-dark:         #1B203E;

  --border:          #e4e2db;
  --border-light:    #edece6;

  --font-heading:    'Newsreader', Georgia, serif;
  --font-body:       'Poppins', system-ui, sans-serif;
  --font-mono:       'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --shadow-xs:  0 1px 2px rgba(16,20,31,0.05);
  --shadow-sm:  0 2px 8px rgba(16,20,31,0.06);
  --shadow-md:  0 4px 20px rgba(16,20,31,0.08);
  --shadow-lg:  0 8px 40px rgba(16,20,31,0.1);
  --shadow-xl:  0 20px 60px rgba(16,20,31,0.12);
  --shadow-teal: 0 8px 32px rgba(76,133,152,0.25);

  --radius-sm:  4px;
  --radius-md:  8px;
  --radius-lg:  14px;
  --radius-xl:  24px;
  --radius-full: 9999px;
  --radius-btn: 3px;

  --transition: 0.25s ease;
  --transition-fast: 0.15s ease;
  --transition-slow: 0.4s ease;

  --nav-height: 76px;
  --container: 1180px;
  --gutter: 1.5rem;

  --status-approved:     #1f7a5c;
  --status-approved-bg:  #e7f5ef;
  --status-pending:      #b6740a;
  --status-pending-bg:   #fdf1e0;
  --status-denied:       #c0362c;
  --status-denied-bg:    #fbe9e7;

}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: color var(--transition-fast); }
a:hover { color: var(--primary-dark); }
ul, ol { list-style: none; }
input, textarea, select, button { font-family: inherit; font-size: inherit; }
button { cursor: pointer; border: none; background: none; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }

/* ---- Container ---- */
.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: 820px; }
.container--wide   { max-width: 1320px; }

/* ============================================================
   BRAND SIGNATURE — the bloom, rendered large on dark panels
   ============================================================ */
.dark-panel,
.page-header,
.cta-banner,
.hero__portfolio,
.atlascd-panel__visual,
.contact-info-card {
  position: relative;
  overflow: hidden;
}
.dark-panel::before,
.page-header::before,
.cta-banner::before,
.hero__portfolio::before,
.atlascd-panel__visual::before,
.contact-info-card::before {
  content: '';
  position: absolute;
  top: -22%; right: -16%;
  width: 75%;
  aspect-ratio: 1;
  max-width: 460px;
  background: url('../images/nv-icon-light.png') no-repeat center / contain;
  opacity: 0.16;
  pointer-events: none;
  z-index: 0;
}
.dark-panel > *,
.hero__portfolio > *,
.atlascd-panel__visual > *,
.contact-info-card > * {
  position: relative;
  z-index: 1;
}

/* Atlas|CD ordering panel (homepage) */
.atlascd-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}
.atlascd-panel__visual {
  background: var(--navy);
  padding: 2.25rem 2.5rem;
}
.atlascd-panel__brand {
  font-family: var(--font-heading);
  font-size: 1.375rem;
  font-weight: 500;
  color: var(--white);
  letter-spacing: -0.01em;
  margin-bottom: 0.2rem;
}
.atlascd-panel__sub {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 1.75rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.atlascd-feature {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  padding: 0.75rem 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.875rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.5;
}
.atlascd-feature:last-child { padding-bottom: 0; }

@media (max-width: 768px) {
  .atlascd-panel { grid-template-columns: 1fr; gap: 2rem; }
}

/* Brand positioning line — "Compliance · Technology · Transparency" */
.brand-tagline {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
}
.brand-tagline--on-dark { color: var(--primary-light); }

/* ============================================================
   STATUS PILLS — approved / pending / denied badges
   ============================================================ */
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
}
.status-pill::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: currentColor;
  flex-shrink: 0;
}
.status-pill--approved { background: var(--status-approved-bg); color: var(--status-approved); }
.status-pill--pending  { background: var(--status-pending-bg);  color: var(--status-pending); }
.status-pill--denied   { background: var(--status-denied-bg);   color: var(--status-denied); }

/* ============================================================
   NUMBERED STEP GROUPS — Atlas|CD's real operational sequence
   ============================================================ */
.step-groups {
  display: flex;
  flex-direction: column;
  gap: 2.75rem;
}
.step-group__label {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 1.25rem;
}
.step-group__num {
  font-family: var(--font-mono);
  color: var(--primary);
  font-weight: 500;
  letter-spacing: 0;
}
.step-group__label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}
.step-list {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}
.step-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.step-item__num {
  flex-shrink: 0;
  width: 24px;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-muted);
  padding-top: 0.15rem;
}
.step-item__text {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.6;
  padding-top: 0.2rem;
}
.step-item__text strong { color: var(--navy); font-weight: 600; }
.step-item__pills {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 0.6rem;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-height);
  background: rgba(252,251,248,0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  transition: box-shadow var(--transition);
}
.site-nav.scrolled { box-shadow: var(--shadow-sm); }
.site-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 2rem;
}
.site-nav__logo { display: flex; align-items: center; flex-shrink: 0; }
.site-nav__logo img { height: 40px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex: 1;
  justify-content: flex-end;
}
.nav-links li { position: relative; }
.nav-links a {
  display: block;
  padding: 0.5rem 0.85rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  white-space: nowrap;
  transition: color var(--transition-fast);
}
.nav-links a:hover,
.nav-links li.active > a {
  color: var(--primary);
}
.nav-links li.active > a { font-weight: 600; }

/* Dropdown — no chevron ornament, just a clean reveal */
.nav-dropdown { position: relative; }
.nav-dropdown__menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  min-width: 220px;
  padding: 8px 0.5rem 0.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(-6px);
  transition: opacity var(--transition-fast), transform var(--transition-fast), visibility var(--transition-fast);
  pointer-events: none;
}
.nav-dropdown:hover .nav-dropdown__menu,
.nav-dropdown:focus-within .nav-dropdown__menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}
.nav-dropdown__menu a {
  padding: 0.55rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  color: var(--text-secondary);
  display: block;
}
.nav-dropdown__menu a:hover { background: var(--primary-xxlight); color: var(--primary); }
.nav-dropdown__menu .divider {
  border-top: 1px solid var(--border-light);
  margin: 0.35rem 0;
}

.nav-cta {
  background: var(--navy) !important;
  color: var(--white) !important;
  border-radius: var(--radius-btn) !important;
  padding: 0.55rem 1.25rem !important;
  font-weight: 600 !important;
  font-size: 0.85rem !important;
  margin-left: 0.75rem;
  transition: background var(--transition) !important;
}
.nav-cta:hover {
  background: var(--ink) !important;
  color: var(--white) !important;
}

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
}
.nav-hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--navy);
  transition: transform var(--transition), opacity var(--transition);
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav drawer */
.nav-mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0; right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  z-index: 999;
  padding: 1rem 1.5rem 1.5rem;
  max-height: calc(100vh - var(--nav-height));
  overflow-y: auto;
}
.nav-mobile-menu.open { display: block; }
.nav-mobile-menu a {
  display: block;
  padding: 0.65rem 0;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text);
  border-bottom: 1px solid var(--border-light);
}
.nav-mobile-menu a:last-child { border-bottom: none; }
.nav-mobile-menu a:hover { color: var(--primary); }
.nav-mobile-menu .mobile-section-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 1rem 0 0.25rem;
  border-bottom: none;
}
.nav-mobile-menu .mobile-sub a {
  padding-left: 1rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

/* ============================================================
   PAGE LAYOUT OFFSET
   ============================================================ */
.page-body { padding-top: var(--nav-height); }

/* ============================================================
   HERO — the thesis: restoration, rendered as bloom + type
   ============================================================ */
.hero {
  position: relative;
  padding: 6.5rem 0 5rem;
  overflow: hidden;
  background: linear-gradient(160deg, var(--navy-dark) 0%, var(--navy) 55%, var(--navy-mid) 100%);
}
.hero__bloom {
  position: absolute;
  top: -14%;
  right: -6%;
  width: 40vw;
  max-width: 480px;
  aspect-ratio: 1;
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
}
.hero__bloom img { width: 100%; height: 100%; display: block; object-fit: contain; }
.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.hero__headline {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5.6vw, 4.5rem);
  font-weight: 400;
  color: var(--white);
  line-height: 1.04;
  letter-spacing: -0.015em;
  margin-bottom: 1.5rem;
}
.hero__headline em {
  font-style: italic;
  font-weight: 300;
  color: var(--primary-light);
}
.hero__text {
  font-size: 1.125rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.7;
  max-width: 500px;
  margin-bottom: 2.25rem;
}
.hero__actions {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}
.hero .btn-link {
  color: var(--white);
  border-color: rgba(255,255,255,0.3);
}
.hero .btn-link:hover { color: var(--primary-light); border-color: var(--primary-light); }
.hero__ledger {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: rgba(255,255,255,0.45);
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255,255,255,0.15);
  max-width: 640px;
}
.hero__ledger .sep { opacity: 0.5; }

/* Lead-gen form card */
.hero__form-card {
  background: var(--white);
  padding: 2.25rem;
  box-shadow: var(--shadow-xl);
}
.hero__form-title {
  font-family: var(--font-heading);
  font-size: 1.625rem;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 0.5rem;
}
.hero__form-sub {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.75rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  border-radius: var(--radius-btn);
  transition: background var(--transition), color var(--transition), border-color var(--transition);
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
}
.btn svg { width: 15px; height: 15px; flex-shrink: 0; transition: transform var(--transition-fast); }
.btn:hover svg { transform: translateX(3px); }

.btn--primary {
  background: var(--ink);
  color: var(--white);
  border: 1px solid var(--ink);
}
.btn--primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: var(--white);
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--border);
}
.btn--ghost:hover {
  background: var(--bg-light);
  border-color: var(--text-muted);
}

.btn--navy {
  background: var(--navy);
  color: var(--white);
  border: 1px solid var(--navy);
}
.btn--navy:hover {
  background: var(--navy-dark);
  border-color: var(--navy-dark);
  color: var(--white);
}

.btn--white {
  background: var(--white);
  color: var(--ink);
  border: 1px solid rgba(255,255,255,0.3);
}
.btn--white:hover {
  background: var(--primary-xxlight);
  color: var(--primary-dark);
}

.btn--sm { padding: 0.55rem 1.25rem; font-size: 0.8125rem; }
.btn--lg { padding: 0.95rem 2.25rem; font-size: 0.9375rem; }

.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--ink);
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.15rem;
  transition: border-color var(--transition-fast), color var(--transition-fast);
}
.btn-link svg { width: 14px; height: 14px; transition: transform var(--transition-fast); }
.btn-link:hover { color: var(--primary-dark); border-color: var(--primary-dark); }
.btn-link:hover svg { transform: translateX(3px); }

/* ============================================================
   SECTION BASE
   ============================================================ */
.section {
  padding: 6rem 0;
}
.section--sm { padding: 3.5rem 0; }
.section--lg { padding: 8rem 0; }
.section--light { background: var(--bg-light); }
.section--teal-light { background: var(--bg-section); }
.section--ice { background: #DCF0F3; }

/* Dermatology feature strip (homepage) */
.dermatology-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  flex-wrap: wrap;
}
.dermatology-strip > div:first-child { flex: 1; min-width: 280px; }
.section--dark {
  background: var(--navy);
  color: var(--white);
}
.section--dark .section-title { color: var(--white); }
.section--dark .section-subtitle { color: rgba(255,255,255,0.75); }

.section-header { max-width: 640px; margin-bottom: 3.5rem; }
.section-header--center { max-width: 640px; margin-inline: auto; text-align: center; }

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.6vw, 2.875rem);
  font-weight: 500;
  color: var(--ink);
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin-bottom: 1rem;
}
.section-subtitle {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  line-height: 1.75;
}
.section-header--center .section-subtitle { margin-inline: auto; }

/* ============================================================
   EDITORIAL LIST — replaces boxed icon-cards (pillars, values)
   ============================================================ */
.edit-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
.edit-list__item {
  padding: 1.75rem 2rem 0 0;
  border-top: 1px solid var(--ink);
}
.edit-list__item:nth-child(3n) { padding-right: 0; }
.edit-list__num {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--primary);
  margin-bottom: 1rem;
}
.edit-list__title {
  font-family: var(--font-heading);
  font-size: 1.375rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 0.75rem;
  line-height: 1.25;
}
.edit-list__text {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Legacy alias so any un-migrated markup still renders reasonably */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.pillar { padding: 1.75rem 2rem 0 0; border-top: 1px solid var(--ink); }
.pillar__icon { display: none; }
.pillar__title {
  font-family: var(--font-heading);
  font-size: 1.375rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 0.75rem;
  line-height: 1.25;
}
.pillar__text {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ============================================================
   PRODUCT CARDS
   ============================================================ */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.products-grid--4 { grid-template-columns: repeat(4, 1fr); }

.product-card {
  display: flex;
  flex-direction: column;
  background: var(--bg);
  border: 1px solid var(--border);
  text-decoration: none;
}
.product-card__image-wrap {
  position: relative;
  padding: 2.25rem;
  background: linear-gradient(160deg, var(--primary-xxlight) 0%, var(--bg) 70%);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  overflow: hidden;
}
.product-card__image {
  max-height: 160px;
  width: auto;
  object-fit: contain;
  transition: transform var(--transition-slow);
}
.product-card:hover .product-card__image { transform: scale(1.05); }
.product-card__body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.product-card__tag {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--text-muted);
  margin-bottom: 0.6rem;
  display: block;
}
.product-card__name {
  font-family: var(--font-heading);
  font-size: 1.1875rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}
.product-card__desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex: 1;
}
.product-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  margin-top: auto;
}
.product-card__supplier {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--text-muted);
}
.product-card__link {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 0.3rem;
  border-bottom: 1px solid transparent;
}
.product-card__link svg { width: 14px; height: 14px; transition: transform var(--transition-fast); }
.product-card:hover .product-card__link { border-color: var(--ink); }
.product-card:hover .product-card__link svg { transform: translateX(3px); }

/* ============================================================
   PRODUCT DETAIL PAGE
   ============================================================ */
.product-detail { padding: 3.5rem 0 5rem; }
.product-detail__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}
.product-detail__image-wrap {
  position: sticky;
  top: calc(var(--nav-height) + 2rem);
  background: linear-gradient(160deg, var(--primary-xxlight) 0%, var(--bg) 70%);
  padding: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 380px;
  border: 1px solid var(--border);
}
.product-detail__image {
  max-height: 280px;
  width: auto;
  object-fit: contain;
}
.product-detail__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.02em;
  color: var(--primary-dark);
  margin-bottom: 1rem;
}
.product-detail__name {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 500;
  color: var(--ink);
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin-bottom: 0.6rem;
}
.product-detail__type {
  font-size: 1.0625rem;
  font-weight: 500;
  color: var(--primary-dark);
  margin-bottom: 1.5rem;
}
.product-detail__desc {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 1.75rem;
}
.product-detail__supplier-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 2rem;
}
.product-detail__supplier-label {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.product-detail__supplier-name {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--navy);
}
.product-detail__actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.product-detail__info-box {
  padding: 1.5rem 0 0;
  border-top: 1px solid var(--border);
}
.product-detail__info-box p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 0.25rem;
}
.product-detail__info-box p:last-child { margin-bottom: 0; }

/* Related products */
.related-products { padding: 4rem 0 5rem; background: var(--bg-light); }

/* ============================================================
   BREADCRUMB
   ============================================================ */
.breadcrumb-bar {
  padding: 1.25rem 0;
  background: var(--bg-light);
  border-bottom: 1px solid var(--border-light);
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
}
.breadcrumb a {
  color: var(--text-secondary);
  font-weight: 500;
  transition: color var(--transition-fast);
}
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb__sep { color: var(--text-light); font-size: 0.75rem; }
.breadcrumb__current { color: var(--primary-dark); font-weight: 600; }

/* ============================================================
   PAGE HEADER BANNER
   ============================================================ */
.page-header {
  padding: 4.5rem 0 3.5rem;
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 55%, var(--navy-mid) 100%);
}
.page-header .container { position: relative; z-index: 1; }
.page-header__title {
  font-family: var(--font-heading);
  font-size: clamp(2.25rem, 4.5vw, 3.5rem);
  font-weight: 500;
  color: var(--white);
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin-bottom: 0.85rem;
}
.page-header__subtitle {
  font-size: 1.0625rem;
  color: rgba(255,255,255,0.75);
  max-width: 600px;
  line-height: 1.7;
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  padding: 5rem 0;
}
.about-intro__content { }
.about-intro__visual {
  position: relative;
}
.about-intro__visual-card {
  background: var(--bg-light);
  padding: 3rem 2.5rem;
  border-left: 2px solid var(--primary);
}
.about-values {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  margin-top: 3rem;
}
.value-card {
  padding: 1.75rem 2rem 1.75rem 0;
  border-top: 1px solid var(--ink);
}
.value-card:nth-child(2n) { padding-left: 2rem; padding-right: 0; }
.value-card__icon { display: none; }
.value-card__title {
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 0.5rem;
}
.value-card__text {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ============================================================
   CERTIFICATIONS PAGE
   ============================================================ */
.cert-card {
  padding: 2.25rem 0;
  border-top: 2px solid var(--ink);
  margin-bottom: 0;
}
.cert-card__title {
  font-family: var(--font-heading);
  font-size: 1.375rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 0.35rem;
}
.cert-card__sub {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--primary-dark);
  margin-bottom: 1rem;
}
.cert-card__text {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.7;
}
.qm-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-top: 1.5rem;
}
.qm-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.5;
}
.qm-list li::before {
  content: '';
  width: 5px; height: 5px;
  background: var(--primary);
  margin-top: 0.5em;
  flex-shrink: 0;
}

/* ============================================================
   SERVICE AREAS
   ============================================================ */
.service-areas { padding: 5rem 0; }
.service-highlight {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 4rem;
}
.service-map-placeholder {
  background: var(--bg-section);
  border: 1px solid var(--border);
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1rem;
  color: var(--text-muted);
  font-size: 0.875rem;
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-page { padding: 5rem 0; }
.contact-page__grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
}
.contact-info-card {
  padding: 2.5rem;
  background: var(--navy);
  color: var(--white);
}
.contact-info-card__title {
  font-family: var(--font-heading);
  font-size: 1.375rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}
.contact-info-card__sub {
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.65;
  margin-bottom: 2rem;
}
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.contact-item:first-of-type { padding-top: 0; border-top: none; }
.contact-item__icon { display: none; }
.contact-item__label {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 0.2rem;
}
.contact-item__value {
  font-size: 0.9375rem;
  color: var(--white);
  font-weight: 500;
  line-height: 1.5;
}
.contact-item__value a { color: var(--primary-light); }
.contact-item__value a:hover { color: var(--white); }
.contact-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.contact-social a {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}
.contact-social a:hover { background: rgba(255,255,255,0.2); }
.contact-social svg { width: 16px; height: 16px; color: var(--white); }

/* Contact form */
.contact-form-wrap {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 2.5rem;
}
.contact-form-wrap h3 {
  font-family: var(--font-heading);
  font-size: 1.375rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 0.4rem;
}
.contact-form-wrap p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  margin-bottom: 1.75rem;
}

/* Forms */
.form-group { margin-bottom: 1.25rem; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.form-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.4rem;
}
.form-control {
  display: block;
  width: 100%;
  padding: 0.7rem 1rem;
  font-size: 0.9375rem;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  -webkit-appearance: none;
}
.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(76,133,152,0.12);
  background: var(--white);
}
.form-control::placeholder { color: var(--text-muted); }
textarea.form-control { min-height: 130px; resize: vertical; }
select.form-control { cursor: pointer; }
.form-note {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
}
.form-success {
  padding: 1rem 1.25rem;
  background: #ecfdf5;
  border: 1px solid #6ee7b7;
  border-radius: var(--radius-sm);
  color: #065f46;
  font-size: 0.9375rem;
  font-weight: 500;
  display: none;
}
.form-error {
  padding: 1rem 1.25rem;
  background: #fef2f2;
  border: 1px solid #fca5a5;
  border-radius: var(--radius-sm);
  color: #991b1b;
  font-size: 0.9375rem;
  font-weight: 500;
  display: none;
}

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 50%, var(--navy-mid) 100%);
  padding: 6rem 0;
  text-align: center;
}
.cta-banner .container { position: relative; z-index: 1; }
.cta-banner__title {
  font-family: var(--font-heading);
  font-size: clamp(2.125rem, 4.2vw, 3.25rem);
  font-weight: 500;
  color: var(--white);
  margin-bottom: 1rem;
  letter-spacing: -0.015em;
}
.cta-banner__text {
  font-size: 1.0625rem;
  color: rgba(255,255,255,0.75);
  max-width: 540px;
  margin: 0 auto 2rem;
  line-height: 1.7;
}
.cta-banner__actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.8);
  padding: 5rem 0 0;
}
.site-footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 4rem;
}
.footer-brand__logo { margin-bottom: 1.25rem; }
.footer-brand__logo img { height: 34px; width: auto; filter: brightness(0) invert(1); opacity: 0.9; }
.footer-brand__tagline {
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.75;
  margin-bottom: 1.5rem;
  max-width: 280px;
}
.footer-social { display: flex; gap: 0.6rem; }
.footer-social a {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}
.footer-social a:hover { background: rgba(255,255,255,0.16); }
.footer-social svg { width: 15px; height: 15px; color: rgba(255,255,255,0.8); }

.footer-widget__title {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 1.25rem;
}
.footer-links li { margin-bottom: 0.6rem; }
.footer-links a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  transition: color var(--transition-fast);
}
.footer-links a:hover { color: var(--primary-light); }
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
}
.footer-contact-item svg { display: none; }
.footer-contact-item a { color: rgba(255,255,255,0.7); }
.footer-contact-item a:hover { color: var(--primary-light); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1.5rem 0;
}
.footer-bottom__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-copyright {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.4);
}
.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}
.footer-bottom-links a {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.4);
}
.footer-bottom-links a:hover { color: var(--primary-light); }

/* ============================================================
   404 PAGE
   ============================================================ */
.page-404 {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 0;
}
.page-404__code {
  font-family: var(--font-heading);
  font-size: 8rem;
  font-weight: 500;
  color: var(--primary-xlight);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.page-404__title {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 0.75rem;
}
.page-404__text {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  max-width: 440px;
  margin-inline: auto;
}

/* ============================================================
   SKIP NAVIGATION (accessibility)
   ============================================================ */
.skip-link {
  position: absolute;
  top: -120%;
  left: 1rem;
  background: var(--navy);
  color: var(--white);
  padding: 0.5rem 1.25rem;
  z-index: 10000;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: top 0.15s;
}
.skip-link:focus { top: 0; }

/* ============================================================
   INLINE SVG ICONS
   ============================================================ */
.icon { display: inline-block; vertical-align: middle; }

/* Eyebrows are retired brand-wide — this class is intentionally hidden */
.section-eyebrow,
.hero__eyebrow,
.page-header__eyebrow,
.cta-banner__eyebrow {
  display: none;
}

/* ============================================================
   UTILITIES
   ============================================================ */
.text-center  { text-align: center; }
.text-primary { color: var(--primary); }
.text-navy    { color: var(--navy); }
.text-muted   { color: var(--text-muted); }
.text-sm      { font-size: 0.875rem; }
.text-lg      { font-size: 1.125rem; }
.font-heading { font-family: var(--font-heading); }
.font-mono    { font-family: var(--font-mono); }
.font-bold    { font-weight: 700; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-12 { margin-bottom: 3rem; }
.flex     { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.divider {
  border: none;
  border-top: 1px solid var(--border-light);
  margin: 2.5rem 0;
}
.tag {
  display: inline-block;
  padding: 0.25rem 0.7rem;
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  background: var(--primary-xxlight);
  color: var(--primary-dark);
}

/* ============================================================
   TYPE WEIGHT — Newsreader reads best a touch heavier than body
   ============================================================ */
.hero__headline,
.section-title,
.edit-list__title,
.pillar__title,
.value-card__title,
.product-card__name,
.product-detail__name,
.cert-card__title,
.page-header__title,
.cta-banner__title,
.contact-info-card__title,
.contact-form-wrap h3,
.page-404__title,
.page-404__code,
.atlascd-panel__brand {
  font-weight: 500;
}
.hero__headline em { font-weight: 400; }

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.animate-fade-in { animation: fadeIn 0.5s ease both; }
.animate-fade-up { animation: fadeInUp 0.5s ease both; }
.animate-delay-1 { animation-delay: 0.1s; }
.animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.3s; }

/* Reveal on scroll
   Only applied after JS marks <html class="js"> — content stays visible without JS. */
html.js .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s cubic-bezier(0.16,1,0.3,1), transform 0.5s cubic-bezier(0.16,1,0.3,1);
}
html.js .reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}
html.js .reveal-stagger .reveal:nth-child(1) { transition-delay: 0.05s; }
html.js .reveal-stagger .reveal:nth-child(2) { transition-delay: 0.1s; }
html.js .reveal-stagger .reveal:nth-child(3) { transition-delay: 0.15s; }
html.js .reveal-stagger .reveal:nth-child(4) { transition-delay: 0.2s; }
html.js .reveal-stagger .reveal:nth-child(5) { transition-delay: 0.25s; }
html.js .reveal-stagger .reveal:nth-child(6) { transition-delay: 0.3s; }

/* Mobile menu slide-in animation */
@keyframes menuSlideDown {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.nav-mobile-menu.open {
  animation: menuSlideDown 0.18s cubic-bezier(0.16,1,0.3,1);
}

/* Semantic heading text wrap */
h1, h2, h3 { text-wrap: balance; }
p.section-subtitle, p.hero__text, p.cta-banner__text { text-wrap: pretty; }

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html.js .reveal,
  html.js .reveal.revealed {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .animate-fade-in, .animate-fade-up {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
  .nav-mobile-menu.open { animation: none; }
  .product-card, .pillar, .btn, .value-card {
    transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease !important;
  }
}

/* ============================================================
   RESPONSIVE — TABLET (≤ 1024px)
   ============================================================ */
@media (max-width: 1024px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .products-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .pillars, .edit-list { grid-template-columns: repeat(2, 1fr); }
  .pillar:nth-child(2n), .edit-list__item:nth-child(2n) { padding-right: 0; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .about-intro { gap: 3rem; }
  .service-highlight { gap: 2.5rem; }
  .product-detail__grid { gap: 3rem; }
  .qm-list { grid-template-columns: 1fr; }
  .hero__bloom { top: auto; bottom: -8%; right: -10%; width: 60vw; max-width: 380px; opacity: 0.3; }
  .hero__grid { grid-template-columns: 1fr; gap: 3rem; }
}

/* ============================================================
   RESPONSIVE — MOBILE (≤ 768px)
   ============================================================ */
@media (max-width: 768px) {
  :root { --nav-height: 64px; }

  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }

  /* Signature bloom needs breathing room this pattern can't guarantee on narrow layouts */
  .dark-panel::before,
  .page-header::before,
  .cta-banner::before,
  .contact-info-card::before {
    opacity: 0.05;
  }

  .hero { padding: 3.5rem 0 3rem; }
  .hero__bloom { width: 75vw; opacity: 0.25; }
  .hero__text { max-width: 100%; }
  .hero__ledger { gap: 0.5rem 0.65rem; }
  .hero__form-card { padding: 1.75rem; }

  .section { padding: 3.5rem 0; }
  .section--lg { padding: 4.5rem 0; }

  .section-header { margin-bottom: 2.5rem; }

  .products-grid { grid-template-columns: 1fr; }
  .products-grid--4 { grid-template-columns: 1fr; }
  .pillars, .edit-list { grid-template-columns: 1fr; }
  .pillar, .edit-list__item { padding-right: 0; }
  .value-card, .value-card:nth-child(2n) { padding-left: 0; padding-right: 0; }
  .about-values { grid-template-columns: 1fr; }

  .hero__actions { flex-direction: column; align-items: flex-start; }
  .hero__actions .btn { width: 100%; justify-content: center; }

  .product-detail__grid { grid-template-columns: 1fr; }
  .product-detail__image-wrap { position: static; min-height: 260px; }
  .product-detail__actions { flex-direction: column; }
  .product-detail__actions .btn { width: 100%; justify-content: center; }

  .about-intro { grid-template-columns: 1fr; gap: 2.5rem; }

  .contact-page__grid { grid-template-columns: 1fr; gap: 2rem; }
  .form-row { grid-template-columns: 1fr; }

  .service-highlight { grid-template-columns: 1fr; gap: 2rem; }

  .site-footer__grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom__inner { flex-direction: column; text-align: center; }

  .cta-banner { padding: 3.5rem 0; }
  .cta-banner__actions { flex-direction: column; align-items: center; }

  .page-header { padding: 2.5rem 0 2rem; }
}

/* ============================================================
   RESPONSIVE — SMALL MOBILE (≤ 480px)
   ============================================================ */
@media (max-width: 480px) {
  :root { --gutter: 1.125rem; }
  .products-grid { gap: 1rem; }
  .contact-info-card { padding: 2rem 1.5rem; }
  .contact-form-wrap { padding: 2rem 1.5rem; }
}
