/* Henderson Bioanalytics — site styles
   Brand: Pantone 186C #C00020 · Pantone 417C #53534B · Metropolis */

@font-face { font-family: "Metropolis"; src: url("assets/fonts/Metropolis-Light.woff2") format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Metropolis"; src: url("assets/fonts/Metropolis-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Metropolis"; src: url("assets/fonts/Metropolis-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Metropolis"; src: url("assets/fonts/Metropolis-SemiBold.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Metropolis"; src: url("assets/fonts/Metropolis-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Metropolis"; src: url("assets/fonts/Metropolis-ExtraBold.woff2") format("woff2"); font-weight: 800; font-display: swap; }

:root {
  --red: #C00020;
  --red-deep: #8E0018;
  --grey: #53534B;
  --copper: #C48A5A;
  --copper-soft: #D9B48A;
  --bg: #131211;
  --bg-2: #1B1917;
  --bg-3: #242220;
  --line: rgba(255,255,255,0.08);
  --line-strong: rgba(255,255,255,0.16);
  --text: #F2EFE9;
  --muted: #A8A399;
  --muted-2: #7C7870;
  --max: 1200px;
  --gutter: clamp(20px, 5vw, 64px);
  --font: "Metropolis", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
[id] { scroll-margin-top: 80px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; line-height: 1.15; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--max); margin: 0 auto; padding-inline: var(--gutter); }

.eyebrow {
  font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--copper); font-weight: 600; margin-bottom: 18px;
}
.eyebrow::before { content: ""; display: inline-block; width: 28px; height: 1px; background: var(--copper); vertical-align: middle; margin-right: 12px; }
.lead { font-size: 19px; color: var(--muted); font-weight: 300; max-width: 60ch; }
.section { padding-block: clamp(72px, 10vw, 128px); }
.section + .section { border-top: 1px solid var(--line); }
.h2 { font-size: clamp(30px, 4vw, 46px); font-weight: 600; max-width: 20ch; }
.h3 { font-size: 22px; font-weight: 600; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 14px 24px; font-size: 14px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  border: 1px solid var(--line-strong); border-radius: 2px; transition: all .2s ease; cursor: pointer;
  font-family: var(--font); background: transparent; color: var(--text);
}
.btn:hover { border-color: var(--text); }
.btn-primary { background: var(--red); border-color: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-deep); border-color: var(--red-deep); }
.btn-copper { border-color: var(--copper); color: var(--copper-soft); }
.btn-copper:hover { background: var(--copper); color: #1a120b; }
.btn svg { width: 16px; height: 16px; }

/* Header */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(19,18,17,0.82); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand img { height: 30px; width: auto; }
.nav { display: flex; gap: 32px; align-items: center; }
.nav a { font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); font-weight: 500; transition: color .2s; white-space: nowrap; }
.nav a:hover { color: var(--text); }
.nav .btn { padding: 10px 18px; font-size: 12px; color: var(--text); }
.nav-toggle { display: none; background: none; border: 1px solid var(--line-strong); color: var(--text); width: 44px; height: 44px; border-radius: 2px; cursor: pointer; }
.nav-toggle span { display: block; width: 18px; height: 1.5px; background: currentColor; margin: 4px auto; }

/* Hero */
.hero { position: relative; min-height: 88vh; display: flex; align-items: flex-end; overflow: hidden; }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(19,18,17,0.35) 0%, rgba(19,18,17,0.55) 45%, rgba(19,18,17,0.96) 100%);
}
.hero .wrap { position: relative; padding-block: 96px 80px; width: 100%; }
.hero h1 { font-size: clamp(38px, 6vw, 76px); font-weight: 700; max-width: 16ch; letter-spacing: -0.02em; }
.hero h1 em { font-style: normal; color: var(--copper-soft); }
.hero .lead { margin-top: 24px; font-size: clamp(17px, 1.6vw, 21px); }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 36px; }
.hero-note { margin-top: 48px; display: flex; align-items: center; gap: 14px; font-size: 13px; color: var(--muted); letter-spacing: 0.04em; }
.hero-note .flag { width: 22px; height: 14px; border-radius: 1px; background:
  linear-gradient(#B22234 0 15%, #fff 15% 30%, #B22234 30% 45%, #fff 45% 60%, #B22234 60% 75%, #fff 75% 90%, #B22234 90%); position: relative; flex: none; }
.hero-note .flag::before { content: ""; position: absolute; left: 0; top: 0; width: 42%; height: 54%; background: #3C3B6E; }

/* Trust strip */
.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-2); }
.strip .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.strip-item { padding: 28px 24px 28px 0; border-right: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.strip-item:last-child { border-right: 0; }
.strip-item strong { display: block; color: var(--text); font-weight: 600; font-size: 15px; margin-bottom: 4px; }
.strip-item + .strip-item { padding-left: 24px; }

/* Products */
.products-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; margin-bottom: 48px; }
.product-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px; background: var(--line); border: 1px solid var(--line); }
.product { background: var(--bg); padding: 40px; position: relative; transition: background .25s; min-height: 320px; display: flex; flex-direction: column; }
.product:hover { background: var(--bg-2); }
.product .num { font-size: 12px; letter-spacing: 0.2em; color: var(--muted-2); margin-bottom: 26px; }
.product h3 { font-size: 26px; margin-bottom: 14px; }
.product p { color: var(--muted); max-width: 42ch; flex: 1; }
.product ul { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.product li { font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--line-strong); padding: 6px 10px; border-radius: 2px; }
.product .mark { position: absolute; right: 32px; top: 32px; width: 34px; opacity: 0.35; }
.product.feature { grid-column: span 2; display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; padding: 0; min-height: 0; }
.product.feature .txt { padding: 48px; }
.product.feature .pic { position: relative; min-height: 380px; }
.product.feature .pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }


/* Equipment grid */
.eq-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; background: var(--line); border: 1px solid var(--line); }
.eq { background: var(--bg); display: flex; flex-direction: column; transition: background .25s; }
.eq:hover { background: var(--bg-2); }
.eq-pic { aspect-ratio: 4 / 3; overflow: hidden; }
.eq-pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.eq:hover .eq-pic img { transform: scale(1.04); }
.eq-pic.placeholder { background: linear-gradient(135deg, #242220, #151413); display: grid; place-items: center; }
.eq-pic.placeholder img { width: 30%; height: auto; opacity: 0.18; }
.eq-body { padding: 26px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.eq-body .num { font-size: 12px; letter-spacing: 0.2em; color: var(--copper); margin-bottom: 12px; }
.eq-body h3 { font-size: 20px; margin-bottom: 10px; }
.eq-body p { color: var(--muted); font-size: 14px; flex: 1; margin-bottom: 16px; }
.eq-body ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.eq-body li { font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--line-strong); padding: 5px 8px; border-radius: 2px; }

/* Sectors */
.sectors { background: var(--bg-2); }
.sector-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; margin-top: 56px; background: var(--line); border: 1px solid var(--line); }
.sector { background: var(--bg-2); padding: 30px; }
.sector strong { display: block; font-size: 17px; font-weight: 600; margin-bottom: 8px; }
.sector span { color: var(--muted); font-size: 14px; }

/* Split sections */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.split .pic { position: relative; }
.split .pic img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 5; }
.split .pic.wide img { aspect-ratio: 16 / 11; }
.split .pic::before { content: ""; position: absolute; inset: 16px -16px -16px 16px; border: 1px solid var(--copper); opacity: 0.5; pointer-events: none; z-index: -1; }
.points { list-style: none; padding: 0; margin: 36px 0 0; display: grid; gap: 28px; }
.points li { display: grid; grid-template-columns: 44px 1fr; gap: 18px; align-items: start; }
.points .n { font-size: 13px; color: var(--copper); letter-spacing: 0.1em; padding-top: 5px; border-top: 1px solid var(--copper); }
.points strong { display: block; font-size: 17px; font-weight: 600; margin-bottom: 4px; }
.points p { color: var(--muted); margin: 0; font-size: 15px; }

/* Support grid */
.support-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; margin-top: 56px; }
.support { border-top: 1px solid var(--line-strong); padding-top: 22px; }
.support svg { width: 28px; height: 28px; stroke: var(--copper); fill: none; stroke-width: 1.4; margin-bottom: 18px; }
.support h4 { font-size: 17px; margin-bottom: 8px; }
.support p { color: var(--muted); font-size: 15px; margin: 0; }

/* Statement */
.statement { background: var(--bg-2); position: relative; overflow: hidden; }
.statement .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.statement blockquote { margin: 0; font-size: clamp(24px, 3vw, 36px); font-weight: 300; line-height: 1.3; }
.statement blockquote strong { font-weight: 600; }
.statement .iso { width: min(340px, 70%); margin-inline: auto; opacity: 0.9; }

/* Company */
.company .cols { display: grid; grid-template-columns: 1.2fr 1fr; gap: 64px; }
.company .card { border: 1px solid var(--line-strong); padding: 36px; background: var(--bg-2); }
.company .card img { width: 180px; margin-bottom: 20px; }
.company .card p { color: var(--muted); font-size: 15px; }
.company address { font-style: normal; color: var(--text); line-height: 1.5; font-size: 15px; margin: 12px 0 20px; }

/* Contact */
.contact .wrap { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; }
.form { display: grid; gap: 16px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); display: block; margin-bottom: 8px; }
.form input, .form select, .form textarea {
  width: 100%; background: var(--bg-3); border: 1px solid var(--line-strong); color: var(--text);
  padding: 14px; font-family: var(--font); font-size: 15px; border-radius: 2px; outline: none;
}
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--copper); }
.form textarea { min-height: 130px; resize: vertical; }
.form .note { font-size: 13px; color: var(--muted-2); }
.contact-meta { color: var(--muted); font-size: 15px; }
.contact-meta dt { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-2); margin-top: 22px; }
.contact-meta dd { margin: 4px 0 0; color: var(--text); }

/* Footer */
.footer { border-top: 1px solid var(--line); padding-block: 56px 32px; background: #0E0D0C; }
.footer .top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer img { height: 26px; width: auto; margin-bottom: 18px; }
.footer p, .footer li { font-size: 14px; color: var(--muted); }
.footer h5 { margin: 0 0 14px; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text); }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer a:hover { color: var(--text); }
.footer .bottom { border-top: 1px solid var(--line); padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 12px; color: var(--muted-2); }

/* Legal page */
.legal { padding-block: 72px 96px; max-width: 760px; }
.legal h1 { font-size: 40px; margin-bottom: 8px; }
.legal h2 { font-size: 22px; margin: 40px 0 12px; }
.legal p, .legal li { color: var(--muted); }

/* Reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1100px) {
  .eq-grid { grid-template-columns: repeat(2, 1fr); }
  .nav { gap: 20px; }
  .nav a { font-size: 12px; letter-spacing: 0.08em; }
}
@media (max-width: 980px) {
  .sector-grid { grid-template-columns: repeat(2, 1fr); }
  .strip .wrap { grid-template-columns: repeat(2, 1fr); }
  .strip-item:nth-child(2) { border-right: 0; }
  .strip-item:nth-child(3) { padding-left: 0; border-top: 1px solid var(--line); }
  .strip-item:nth-child(4) { border-top: 1px solid var(--line); }
  .support-grid { grid-template-columns: repeat(2, 1fr); }
  .footer .top { grid-template-columns: 1fr 1fr; }
  .split, .statement .wrap, .company .cols, .contact .wrap { grid-template-columns: 1fr; }
  .product.feature { grid-template-columns: 1fr; }
  .product.feature .pic { min-height: 280px; order: -1; }
}
@media (max-width: 900px) {
  .nav { display: none; position: absolute; top: 76px; left: 0; right: 0; background: var(--bg-2); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; padding: 16px var(--gutter) 24px; gap: 18px; }
  .nav.open { display: flex; }
  .nav-toggle { display: block; }
}
@media (max-width: 720px) {
  .nav { display: none; position: absolute; top: 76px; left: 0; right: 0; background: var(--bg-2); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; padding: 16px var(--gutter) 24px; gap: 18px; }
  .nav.open { display: flex; }
  .nav-toggle { display: block; }
  .product-grid, .eq-grid, .sector-grid { grid-template-columns: 1fr; }
  .product.feature { grid-column: span 1; }
  .product { padding: 28px; min-height: 0; }
  .strip .wrap { grid-template-columns: 1fr; }
  .strip-item { border-right: 0; padding-left: 0 !important; border-top: 1px solid var(--line); }
  .strip-item:first-child { border-top: 0; }
  .support-grid, .footer .top, .form .row { grid-template-columns: 1fr; }
  .hero { min-height: 78vh; }
}
