/* ==========================================================================
   Peptide Manufacturing Co. — Global Stylesheet
   Design system: variables, base, layout, components
   ========================================================================== */

/* ---------- Design tokens ---------- */
:root {
  /* Brand palette */
  --c-primary: #0e5c56;
  --c-primary-dark: #0a443f;
  --c-primary-light: #14746c;
  --c-accent: #17a398;
  --c-accent-soft: #e6f4f2;

  /* Neutrals */
  --c-ink: #0d1b1e;
  --c-body: #4a5a5e;
  --c-muted: #7b8a8e;
  --c-line: #e3eaea;
  --c-surface: #ffffff;
  --c-surface-alt: #f6fafa;
  --c-surface-deep: #0b2b2a;

  /* Feedback */
  --c-success: #1a9c6a;
  --c-warn: #c9801a;

  /* Typography */
  --font-sans: "Inter", "Segoe UI", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-mono: "SFMono-Regular", "JetBrains Mono", Consolas, monospace;

  /* Spacing scale */
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 24px;
  --sp-6: 32px;
  --sp-7: 48px;
  --sp-8: 64px;
  --sp-9: 96px;
  --sp-10: 128px;

  /* Layout */
  --container: 1200px;
  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-pill: 999px;

  /* Elevation */
  --shadow-xs: 0 1px 2px rgba(13, 27, 30, .06);
  --shadow-sm: 0 2px 8px rgba(13, 27, 30, .06);
  --shadow: 0 10px 30px rgba(13, 27, 30, .08);
  --shadow-lg: 0 24px 60px rgba(13, 27, 30, .12);

  /* Motion */
  --ease: cubic-bezier(.22, .61, .36, 1);
  --dur: .35s;

  --header-h: 74px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--c-body);
  background: var(--c-surface);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg, video { max-width: 100%; display: block; }
img { height: auto; }

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 var(--sp-4);
  color: var(--c-ink);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.45rem); }
h4 { font-size: 1.1rem; }

p { margin: 0 0 var(--sp-4); }
p:last-child { margin-bottom: 0; }

a { color: var(--c-primary); text-decoration: none; transition: color var(--dur) var(--ease); }
a:hover { color: var(--c-accent); }

ul, ol { margin: 0 0 var(--sp-4); padding-left: 1.25rem; }
li { margin-bottom: var(--sp-2); }

strong { color: var(--c-ink); font-weight: 600; }

hr { border: 0; border-top: 1px solid var(--c-line); margin: var(--sp-7) 0; }

/* Visible focus for a11y */
:focus-visible {
  outline: 3px solid var(--c-accent);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection { background: var(--c-accent); color: #fff; }

/* ---------- Accessibility helpers ---------- */
.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -100px; left: 16px;
  z-index: 999;
  background: var(--c-primary);
  color: #fff;
  padding: 12px 20px;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  font-weight: 600;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 0; color: #fff; }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--sp-5);
}
.container--narrow { max-width: 820px; }
.container--wide { max-width: 1400px; }

.section { padding: clamp(56px, 8vw, var(--sp-9)) 0; }
.section--tight { padding: clamp(40px, 5vw, var(--sp-7)) 0; }
.section--alt { background: var(--c-surface-alt); }
.section--deep { background: var(--c-surface-deep); color: rgba(255,255,255,.78); }
.section--deep h2, .section--deep h3, .section--deep h4 { color: #fff; }

.section-head {
  max-width: 720px;
  margin-bottom: var(--sp-7);
}
.section-head--center { margin-inline: auto; text-align: center; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: var(--sp-3);
}
.eyebrow::before {
  content: "";
  width: 24px; height: 2px;
  background: currentColor;
  border-radius: 2px;
}
.section-head--center .eyebrow::before { display: none; }

.lead { font-size: 1.075rem; color: var(--c-body); }

.grid { display: grid; gap: var(--sp-5); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: 13px 26px;
  font: inherit;
  font-size: .95rem;
  font-weight: 600;
  line-height: 1;
  border: 1.5px solid transparent;
  border-radius: var(--radius-pill);
  cursor: pointer;
  text-align: center;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease),
              border-color var(--dur) var(--ease), transform .15s var(--ease), box-shadow var(--dur) var(--ease);
}
.btn:active { transform: translateY(1px); }

.btn--primary { background: var(--c-primary); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--c-primary-light); color: #fff; box-shadow: var(--shadow); }

.btn--accent { background: var(--c-accent); color: #fff; }
.btn--accent:hover { background: var(--c-primary-light); color: #fff; }

.btn--ghost { background: transparent; color: var(--c-primary); border-color: var(--c-line); }
.btn--ghost:hover { border-color: var(--c-primary); color: var(--c-primary); background: var(--c-accent-soft); }

.btn--light { background: #fff; color: var(--c-primary); }
.btn--light:hover { background: var(--c-accent-soft); color: var(--c-primary-dark); }

.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.btn--outline-light:hover { background: rgba(255,255,255,.12); color: #fff; border-color: #fff; }

.btn--sm { padding: 9px 18px; font-size: .875rem; }
.btn--lg { padding: 16px 32px; font-size: 1rem; }
.btn--block { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: var(--sp-3); }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: var(--c-primary);
}
.text-link svg { transition: transform var(--dur) var(--ease); }
.text-link:hover svg { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.site-header.is-stuck { border-bottom-color: var(--c-line); box-shadow: var(--shadow-xs); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-5);
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  color: var(--c-ink);
  flex: none;
}
.brand:hover { color: var(--c-ink); }
.brand__logo {
  display: block;
  height: 44px;
  width: auto;
  flex: none;
}
/* header variation: keep the DNA mark aligned with nav text */
.site-header .brand__logo { height: 42px; }
/* footer variation: logo sits on a white rounded card so the
   full-colour mark stays 100% faithful on the dark background */
.brand__logo--card {
  height: 64px;
  width: auto;
  border-radius: 14px;
  box-shadow: 0 4px 18px rgba(0,0,0,.22);
}
/* legacy text mark (kept as fallback) */
.brand__mark {
  width: 38px; height: 38px;
  flex: none;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--c-primary) 0%, var(--c-accent) 100%);
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 800;
  font-size: .95rem;
}
.brand__text small {
  display: block;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--c-muted);
}
@media (max-width: 520px) {
  .brand__logo, .site-header .brand__logo { height: 34px; }
  .brand__logo--card { height: 46px; }
}

.nav { display: flex; align-items: center; gap: var(--sp-1); }
.nav a {
  padding: 10px 14px;
  font-size: .92rem;
  font-weight: 600;
  color: var(--c-body);
  border-radius: var(--radius-sm);
}
.nav a:hover { color: var(--c-primary); background: var(--c-accent-soft); }
.nav a.is-active { color: var(--c-primary); }

.header-actions { display: flex; align-items: center; gap: var(--sp-3); }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--c-line);
  background: #fff;
  border-radius: var(--radius-sm);
  cursor: pointer;
  padding: 0;
  place-items: center;
}
.nav-toggle span {
  display: block;
  width: 20px; height: 2px;
  background: var(--c-ink);
  border-radius: 2px;
  position: relative;
  transition: background .2s var(--ease);
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute; left: 0;
  width: 20px; height: 2px;
  background: var(--c-ink);
  border-radius: 2px;
  transition: transform var(--dur) var(--ease);
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
/* Photo background + dark teal gradient overlay (text stays readable) */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(72px, 10vw, 140px) 0 clamp(56px, 7vw, 100px);
  background-color: var(--c-surface-deep);
  background-image:
    linear-gradient(105deg, rgba(6,32,31,.94) 0%, rgba(8,44,42,.86) 38%, rgba(12,64,60,.62) 68%, rgba(18,86,80,.48) 100%),
    url("../img/bg/facility.jpg");
  background-size: cover, cover;
  background-position: center, center 42%;
  background-repeat: no-repeat, no-repeat;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.09) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.5), transparent 68%);
  pointer-events: none;
}
.hero__inner { position: relative; z-index: 1; max-width: 880px; }

/* Light text on the photographic hero */
.hero h1 { color: #fff; margin-bottom: var(--sp-5); }
.hero h1 em { font-style: normal; color: #7fe3d8; }
.hero__lead { color: rgba(255,255,255,.86); font-size: clamp(1.05rem, 1.6vw, 1.22rem); max-width: 660px; margin-bottom: var(--sp-6); }
.hero .eyebrow { color: #7fe3d8; }
.hero .btn--ghost { color: #fff; border-color: rgba(255,255,255,.45); background: rgba(255,255,255,.06); }
.hero .btn--ghost:hover { color: #fff; border-color: #fff; background: rgba(255,255,255,.16); }

.hero-badges { display: flex; flex-wrap: wrap; gap: var(--sp-2); margin-top: var(--sp-6); }
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  font-size: .8rem;
  font-weight: 600;
  color: var(--c-primary-dark);
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-xs);
}
.badge svg { color: var(--c-accent); }

/* Glass badges when sitting on the photo */
.hero .badge {
  color: #fff;
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.28);
  backdrop-filter: blur(6px);
}
.hero .badge svg { color: #7fe3d8; }

/* ---------- Stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-4);
  margin-top: var(--sp-8);
  padding: var(--sp-6);
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  position: relative;
  z-index: 1;
}
/* Glass variant when sitting on the photographic hero */
.hero .stats {
  background: rgba(255,255,255,.10);
  border-color: rgba(255,255,255,.22);
  backdrop-filter: blur(12px) saturate(150%);
  box-shadow: 0 24px 60px rgba(0,0,0,.28);
}
.hero .stat { border-right-color: rgba(255,255,255,.18); }
.hero .stat__num { color: #fff; }
.hero .stat__label { color: rgba(255,255,255,.72); }

.stat { text-align: center; padding: var(--sp-2) var(--sp-3); border-right: 1px solid var(--c-line); }
.stat:last-child { border-right: 0; }
.stat__num {
  font-size: clamp(1.7rem, 3.2vw, 2.3rem);
  font-weight: 800;
  color: var(--c-primary);
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.stat__label { font-size: .82rem; color: var(--c-muted); font-weight: 500; margin-top: 4px; }

/* ---------- Cards ---------- */
.card {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: var(--sp-5);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.card--hover:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(23,163,152,.4);
}
.card h3 { margin-bottom: var(--sp-2); }
.card p { font-size: .95rem; color: var(--c-body); margin-bottom: 0; }

.card__icon {
  width: 48px; height: 48px;
  border-radius: var(--radius-sm);
  background: var(--c-accent-soft);
  color: var(--c-primary);
  display: grid;
  place-items: center;
  margin-bottom: var(--sp-4);
}

.card-list { margin: var(--sp-4) 0 0; padding: 0; list-style: none; }
.card-list li {
  position: relative;
  padding-left: 26px;
  font-size: .93rem;
  margin-bottom: 10px;
}
.card-list li::before {
  content: "";
  position: absolute;
  left: 0; top: .58em;
  width: 14px; height: 8px;
  border-left: 2px solid var(--c-accent);
  border-bottom: 2px solid var(--c-accent);
  transform: rotate(-45deg) scale(.9);
  transform-origin: left center;
}

/* Feature card with number */
.numcard { position: relative; padding-top: var(--sp-6); }
.numcard__no {
  font-family: var(--font-mono);
  font-size: .8rem;
  font-weight: 700;
  color: var(--c-accent);
  letter-spacing: .08em;
}

/* ---------- Process steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-5); counter-reset: step; }
.step { position: relative; }
.step__no {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--c-primary);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: var(--sp-4);
}
.step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 22px; left: 56px; right: -20px;
  height: 2px;
  background: linear-gradient(90deg, var(--c-line), transparent);
}
.step h3 { font-size: 1.08rem; margin-bottom: 6px; }
.step p { font-size: .92rem; margin: 0; }

/* ---------- Product grid ---------- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-4);
  justify-content: space-between;
  margin-bottom: var(--sp-6);
  padding: var(--sp-4) var(--sp-5);
  background: var(--c-surface-alt);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
}
.chips { display: flex; flex-wrap: wrap; gap: var(--sp-2); }
.chip {
  padding: 8px 16px;
  font: inherit;
  font-size: .85rem;
  font-weight: 600;
  color: var(--c-body);
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all var(--dur) var(--ease);
}
.chip:hover { border-color: var(--c-primary); color: var(--c-primary); }
.chip.is-active { background: var(--c-primary); border-color: var(--c-primary); color: #fff; }

.search-box { position: relative; flex: 1; min-width: 220px; max-width: 320px; }
.search-box input {
  width: 100%;
  padding: 11px 16px 11px 42px;
  font: inherit;
  font-size: .92rem;
  color: var(--c-ink);
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-pill);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.search-box input:focus {
  outline: none;
  border-color: var(--c-accent);
  box-shadow: 0 0 0 3px rgba(23,163,152,.15);
}
.search-box svg { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: var(--c-muted); }

.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-5); }

.product-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(23,163,152,.45);
}
.product-card__thumb {
  position: relative;
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  background: linear-gradient(150deg, #eef7f6 0%, #f8fcfb 100%);
  border-bottom: 1px solid var(--c-line);
  overflow: hidden;
}
.product-card__thumb svg { width: 72px; height: 72px; opacity: .9; }
.product-card__thumb::after {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(14,92,86,.09) 1px, transparent 1px);
  background-size: 18px 18px;
  opacity: .7;
}

/* Photo variant: real product image fills the tile */
.product-card__thumb--photo { background: #eef6f5; }
.product-card__thumb--photo::after { content: none; }
.product-card__thumb--photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease);
}
.product-card:hover .product-card__thumb--photo img { transform: scale(1.05); }

/* Detail-page photo panel */
.split__media--photo { padding: 0; background: #eef6f5; }
.split__media--photo img {
  width: 100%;
  height: 100%;
  max-width: none;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: inherit;
}
.product-card__body { padding: var(--sp-4) var(--sp-5) var(--sp-5); display: flex; flex-direction: column; flex: 1; }
.product-card__cat {
  align-self: flex-start;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--c-primary);
  background: var(--c-accent-soft);
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  margin-bottom: var(--sp-3);
}
.product-card h3 { font-size: 1.05rem; margin-bottom: 6px; }
.product-card p { font-size: .87rem; color: var(--c-muted); margin-bottom: var(--sp-4); flex: 1; }

.spec-row {
  display: flex; gap: var(--sp-3);
  margin-bottom: var(--sp-4);
  font-size: .78rem;
  color: var(--c-body);
}
.spec-row span { display: inline-flex; align-items: center; gap: 4px; }
.spec-row b { color: var(--c-ink); font-weight: 600; }

.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: var(--sp-8) var(--sp-5);
  color: var(--c-muted);
}

.result-count { font-size: .88rem; color: var(--c-muted); }

/* ---------- Certifications ---------- */
.cert-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--sp-4);
}
.cert {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-width: 148px;
  padding: var(--sp-5) var(--sp-4);
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  font-size: .84rem;
  font-weight: 600;
  color: var(--c-ink);
  text-align: center;
}
.cert svg { color: var(--c-primary); }

/* ---------- Testimonials ---------- */
.quote-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-5); }
.quote {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: var(--sp-5);
}
.quote__stars { color: #e0a416; margin-bottom: var(--sp-3); letter-spacing: 2px; }
.quote blockquote {
  margin: 0 0 var(--sp-5);
  font-size: .96rem;
  color: var(--c-body);
  flex: 1;
}
.quote__who { display: flex; align-items: center; gap: var(--sp-3); }
.avatar {
  width: 42px; height: 42px;
  flex: none;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--c-primary), var(--c-accent));
  color: #fff;
  display: grid;
  place-items: center;
  font-size: .82rem;
  font-weight: 700;
}
.quote__name { font-size: .9rem; font-weight: 700; color: var(--c-ink); line-height: 1.3; }
.quote__role { font-size: .78rem; color: var(--c-muted); }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin-inline: auto; }
.faq-item {
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  background: #fff;
  margin-bottom: var(--sp-3);
  overflow: hidden;
}
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  padding: var(--sp-4) var(--sp-5);
  font-weight: 600;
  color: var(--c-ink);
  cursor: pointer;
  list-style: none;
  font-size: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "";
  flex: none;
  width: 10px; height: 10px;
  border-right: 2px solid var(--c-primary);
  border-bottom: 2px solid var(--c-primary);
  transform: rotate(45deg);
  transition: transform var(--dur) var(--ease);
  margin-top: -4px;
}
.faq-item[open] summary { color: var(--c-primary); }
.faq-item[open] summary::after { transform: rotate(-135deg); margin-top: 4px; }
.faq-item__body { padding: 0 var(--sp-5) var(--sp-5); font-size: .95rem; }

/* ---------- Blog ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-5); }
.post {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.post:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.post__thumb {
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
  background: linear-gradient(140deg, #dcefed 0%, #f2faf8 100%);
  border-bottom: 1px solid var(--c-line);
}
.post__thumb svg { width: 56px; height: 56px; color: var(--c-primary); opacity: .7; }
.post__body { padding: var(--sp-5); display: flex; flex-direction: column; flex: 1; }
.post__meta { font-size: .78rem; color: var(--c-muted); margin-bottom: var(--sp-2); display: flex; gap: var(--sp-3); }
.post__meta .tag { color: var(--c-primary); font-weight: 700; }
.post h3 { font-size: 1.08rem; margin-bottom: var(--sp-3); }
.post h3 a { color: var(--c-ink); }
.post h3 a:hover { color: var(--c-primary); }
.post p { font-size: .9rem; color: var(--c-muted); flex: 1; margin-bottom: var(--sp-4); }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  background-color: var(--c-surface-deep);
  background-image:
    linear-gradient(135deg, rgba(6,32,31,.95) 0%, rgba(10,58,55,.88) 48%, rgba(14,92,86,.72) 100%),
    url("../img/bg/lab-2.jpg");
  background-size: cover, cover;
  background-position: center, center 55%;
  background-repeat: no-repeat, no-repeat;
  color: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(40px, 6vw, 72px);
  text-align: center;
}
.cta-band::after {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.14) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: .6;
  pointer-events: none;
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.85); max-width: 560px; margin-inline: auto; }
.cta-band .btn-row { justify-content: center; margin-top: var(--sp-6); }

/* Alternate photo for the second CTA on a page (optional pairing) */
.cta-band--lab {
  background-image:
    linear-gradient(135deg, rgba(6,32,31,.95) 0%, rgba(10,58,55,.88) 48%, rgba(14,92,86,.72) 100%),
    url("../img/bg/about-2.jpg");
}

/* ---------- Page hero (inner pages) ---------- */
/* Light photo panel with a soft white wash so dark headings stay readable */
.page-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--c-line);
  padding: clamp(56px, 7vw, 96px) 0;
  background-color: var(--c-surface-alt);
  background-image:
    linear-gradient(100deg, rgba(255,255,255,.97) 0%, rgba(255,255,255,.93) 45%, rgba(238,248,246,.82) 100%),
    url("../img/bg/about-3.jpg");
  background-size: cover, cover;
  background-position: center, center 30%;
  background-repeat: no-repeat, no-repeat;
}
.page-hero h1 { margin-bottom: var(--sp-4); }
.page-hero .lead { max-width: 700px; }

/* Variant: dark photo hero for pages that want more presence */
.page-hero--photo {
  border-bottom: 0;
  background-image:
    linear-gradient(105deg, rgba(6,32,31,.94) 0%, rgba(8,44,42,.85) 40%, rgba(12,64,60,.60) 100%),
    url("../img/bg/lab-1.jpg");
}
.page-hero--photo h1,
.page-hero--photo .lead { color: #fff; }
.page-hero--photo .lead { color: rgba(255,255,255,.86); }
.page-hero--photo .eyebrow { color: #7fe3d8; }
.page-hero--photo .breadcrumb,
.page-hero--photo .breadcrumb a { color: rgba(255,255,255,.68); }
.page-hero--photo .breadcrumb a:hover { color: #fff; }

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: .82rem;
  color: var(--c-muted);
  margin-bottom: var(--sp-4);
}
.breadcrumb a { color: var(--c-muted); }
.breadcrumb a:hover { color: var(--c-primary); }
.breadcrumb span[aria-hidden] { opacity: .5; }

/* ---------- Content typography (article / detail) ---------- */
.prose { font-size: 1.02rem; }
.prose h2 { margin-top: var(--sp-7); font-size: 1.6rem; }
.prose h3 { margin-top: var(--sp-6); font-size: 1.2rem; }
.prose ul, .prose ol { padding-left: 1.4rem; }
.prose li { margin-bottom: 10px; }
.prose img { border-radius: var(--radius); margin: var(--sp-5) 0; }

.callout {
  padding: var(--sp-5);
  background: var(--c-accent-soft);
  border-left: 4px solid var(--c-accent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: var(--sp-5) 0;
  font-size: .95rem;
}
.callout strong { display: block; margin-bottom: 6px; color: var(--c-primary-dark); }

/* ---------- Two-column feature ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.split--reverse .split__media { order: 2; }

.split__media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(150deg, #e8f5f3 0%, #f8fcfb 100%);
  border: 1px solid var(--c-line);
  min-height: 320px;
  display: grid;
  place-items: center;
  padding: var(--sp-6);
}
.split__media svg { width: 100%; max-width: 380px; height: auto; }

/* Photo-fill variant of the media panel */
.split__media--fill {
  padding: 0;
  position: relative;
  min-height: 400px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border: 0;
}
.split__media--fill::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(6,32,31,.55) 100%);
}
.split__media--fill figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 1;
  padding: var(--sp-5);
  color: #fff;
  font-size: .88rem;
  font-weight: 600;
  line-height: 1.5;
}
.split__media--fill figcaption span {
  display: block;
  font-weight: 400;
  font-size: .8rem;
  color: rgba(255,255,255,.78);
  margin-top: 2px;
}

/* ---------- Photo band: full-width image strip with overlay text ---------- */
.photo-band {
  position: relative;
  overflow: hidden;
  padding: clamp(72px, 11vw, 150px) 0;
  background-color: var(--c-surface-deep);
  background-image:
    linear-gradient(180deg, rgba(6,32,31,.88) 0%, rgba(8,44,42,.72) 50%, rgba(6,32,31,.90) 100%),
    url("../img/bg/about-1.jpg");
  background-size: cover, cover;
  background-position: center, center;
  background-repeat: no-repeat, no-repeat;
  background-attachment: scroll, scroll;
  color: #fff;
  text-align: center;
}
.photo-band > .container { position: relative; z-index: 1; }
.photo-band h2 { color: #fff; }
.photo-band p { color: rgba(255,255,255,.84); max-width: 680px; margin-inline: auto; }
.photo-band .eyebrow { color: #7fe3d8; }
.photo-band .btn-row { justify-content: center; margin-top: var(--sp-6); }

/* Numbered stats laid over a photo band */
.photo-band .stats {
  margin-top: var(--sp-7);
  background: rgba(255,255,255,.10);
  border-color: rgba(255,255,255,.22);
  backdrop-filter: blur(12px) saturate(150%);
  box-shadow: none;
}
.photo-band .stat { border-right-color: rgba(255,255,255,.18); }
.photo-band .stat__num { color: #fff; }
.photo-band .stat__label { color: rgba(255,255,255,.72); }

/* ---------- Timeline ---------- */
.timeline { position: relative; margin-top: var(--sp-6); }
.timeline::before {
  content: "";
  position: absolute;
  left: 7px; top: 6px; bottom: 6px;
  width: 2px;
  background: var(--c-line);
}
.tl-item { position: relative; padding-left: 40px; padding-bottom: var(--sp-6); }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: "";
  position: absolute;
  left: 0; top: 6px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--c-accent);
}
.tl-item__year {
  font-family: var(--font-mono);
  font-size: .8rem;
  font-weight: 700;
  color: var(--c-accent);
  letter-spacing: .06em;
}
.tl-item h3 { font-size: 1.08rem; margin: 4px 0 4px; }
.tl-item p { font-size: .92rem; margin: 0; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 5vw, 56px); align-items: start; }

/* Photo panel shown beside the contact form */
.inq-media {
  position: relative;
  overflow: hidden;
  min-height: 400px;
  border-radius: var(--radius-lg);
  background-color: var(--c-surface-deep);
  background-image:
    linear-gradient(150deg, rgba(6,32,31,.82), rgba(14,92,86,.48)),
    url("../img/bg/about-2.jpg");
  background-size: cover, cover;
  background-position: center, center;
  display: flex;
  align-items: flex-end;
  padding: var(--sp-6);
  color: #fff;
  margin-bottom: var(--sp-5);
}
.inq-media > div { position: relative; z-index: 1; }
.inq-media h3 { color: #fff; font-size: 1.15rem; margin-bottom: var(--sp-2); }
.inq-media p { color: rgba(255,255,255,.84); font-size: .9rem; margin: 0; }

.contact-card {
  display: flex;
  gap: var(--sp-4);
  padding: var(--sp-5);
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  margin-bottom: var(--sp-4);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.contact-card:hover { border-color: rgba(23,163,152,.45); box-shadow: var(--shadow-sm); }
.contact-card__icon {
  flex: none;
  width: 46px; height: 46px;
  border-radius: var(--radius-sm);
  background: var(--c-accent-soft);
  color: var(--c-primary);
  display: grid;
  place-items: center;
}
.contact-card__label { font-size: .78rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--c-muted); }
.contact-card__value { font-size: 1.02rem; font-weight: 600; color: var(--c-ink); word-break: break-word; }
.contact-card a.contact-card__value:hover { color: var(--c-primary); }

/* Forms */
.form-panel {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 40px);
  box-shadow: var(--shadow);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-4); }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: var(--sp-4); }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .86rem; font-weight: 600; color: var(--c-ink); }
.field label .req { color: #c0392b; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 12px 14px;
  font: inherit;
  font-size: .94rem;
  color: var(--c-ink);
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-sm);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.field textarea { resize: vertical; min-height: 128px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--c-accent);
  box-shadow: 0 0 0 3px rgba(23,163,152,.15);
}
.field__hint { font-size: .78rem; color: var(--c-muted); }

.form-note { font-size: .82rem; color: var(--c-muted); margin-top: var(--sp-3); }

.form-success {
  display: none;
  padding: var(--sp-4) var(--sp-5);
  background: #e8f8f1;
  border: 1px solid #a8e0c8;
  border-radius: var(--radius-sm);
  color: #106444;
  font-size: .92rem;
  margin-bottom: var(--sp-4);
}
.form-success.is-visible { display: block; }

/* ---------- Footer ---------- */
.site-footer {
  position: relative;
  background-color: var(--c-surface-deep);
  background-image:
    linear-gradient(180deg, rgba(5,26,25,.97) 0%, rgba(7,36,34,.96) 100%),
    url("../img/bg/lab-safety.jpg");
  background-size: cover, cover;
  background-position: center, center 30%;
  background-repeat: no-repeat, no-repeat;
  color: rgba(255,255,255,.72);
  padding: var(--sp-8) 0 var(--sp-5);
  font-size: .92rem;
}
.site-footer > .container { position: relative; z-index: 1; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: var(--sp-6);
  padding-bottom: var(--sp-7);
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.site-footer .brand { color: #fff; }
.site-footer .brand:hover { color: #fff; }
.site-footer .brand__text small { color: rgba(255,255,255,.55); }
.site-footer h3 {
  color: #fff;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: var(--sp-4);
}
.site-footer p { color: rgba(255,255,255,.66); }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: rgba(255,255,255,.72); }
.footer-links a:hover { color: #fff; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--sp-4);
  padding-top: var(--sp-5);
  font-size: .84rem;
  color: rgba(255,255,255,.5);
}
.footer-bottom a { color: rgba(255,255,255,.6); }

.footer-contact { list-style: none; margin: 0; padding: 0; }
.footer-contact li { display: flex; gap: 10px; margin-bottom: 12px; color: rgba(255,255,255,.72); }
.footer-contact svg { flex: none; margin-top: 4px; color: var(--c-accent); }

/* Disclaimer strip */
.disclaimer {
  background: rgba(255,255,255,.06);
  border-radius: var(--radius-sm);
  padding: var(--sp-4);
  margin-top: var(--sp-5);
  font-size: .78rem;
  line-height: 1.6;
  color: rgba(255,255,255,.55);
}

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--sp-6); }
}

@media (max-width: 900px) {
  .nav { display: none; }
  .nav-toggle { display: grid; }

  /* Photographic heroes: bias the crop so the subject stays visible on tall screens */
  .hero { background-position: center, center 35%; }
  .page-hero { background-position: center, center 25%; }
  .photo-band { background-position: center, center; }
  .split__media--fill { min-height: 300px; }
  .inq-media { min-height: 300px; }

  /* Mobile drawer */
  .nav.is-open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: #fff;
    border-bottom: 1px solid var(--c-line);
    box-shadow: var(--shadow);
    padding: var(--sp-4) var(--sp-5) var(--sp-5);
  }
  .nav.is-open a { padding: 13px 12px; border-radius: var(--radius-sm); font-size: 1rem; }
  .header-actions .btn--header { display: none; }

  .grid--3, .grid--4, .steps, .quote-grid, .post-grid, .product-grid { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
  .contact-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat { border-right: 0; border-bottom: 1px solid var(--c-line); padding-bottom: var(--sp-4); }
  .stat:nth-last-child(-n+2) { border-bottom: 0; }
  .step::after { display: none; }
}

@media (max-width: 620px) {
  .grid--2, .grid--3, .grid--4, .steps, .quote-grid, .post-grid, .product-grid, .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .stat { border-bottom: 1px solid var(--c-line); }
  .stat:last-child { border-bottom: 0; }
  .filter-bar { flex-direction: column; align-items: stretch; }
  .search-box { max-width: none; }
  .btn-row .btn { flex: 1 1 auto; }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .site-footer, .cta-band, .filter-bar { display: none; }
  body { color: #000; }
  a { color: #000; }
}
