/* Veriphyte — core page styles.
   Clinical / biotech register (SPEC §5): restrained, professional, no
   gradients/blobs, no stock imagery. Typefaces are SELF-HOSTED woff2 files
   (SPEC §10: no Google Fonts CDN, no build step, no lock-in) — they lift with
   the static site to any host. Inter for UI/body, Source Serif 4 for headings
   (editorial/scientific register). System stack remains the fallback. */

/* Variable fonts: one woff2 per family covers the full weight range. */
@font-face {
  font-family: "Inter";
  src: url("fonts/inter-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Serif 4";
  src: url("fonts/sourceserif4-latin.woff2") format("woff2");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --ink:        #14201c;   /* near-black green-tinted text */
  --ink-soft:   #45554f;   /* secondary text */
  --line:       #dde5e1;   /* hairlines / borders */
  --bg:         #ffffff;
  --bg-alt:     #f4f7f5;   /* subtle section banding */
  --brand:      #1f5e4b;   /* deep diagnostic green */
  --brand-700:  #164637;   /* hover / darker */
  --maxw:       1080px;
  --radius:     10px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: var(--sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

h1, h2, h3 {
  font-family: var(--serif);
  line-height: 1.15; letter-spacing: -0.01em; margin: 0 0 .5em;
}

/* Visual hierarchy: hero headline largest (SPEC §4 "size = importance") */
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); font-weight: 700; }
h2 { font-size: clamp(1.55rem, 3vw, 2.1rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 600; }

p { margin: 0 0 1rem; }

a { color: var(--brand); }

/* -------------------------------- Buttons -------------------------------- */
.btn {
  display: inline-block;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius);
  padding: .7em 1.4em;
  transition: background-color .15s ease, transform .05s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-700); }
.btn-primary:active { transform: translateY(1px); }
.btn-lg { font-size: 1.05rem; padding: .85em 1.8em; }
/* Ghost = secondary. Header CTA is de-emphasised so it doesn't compete with the
   primary "Talk to our team" action (CTA hierarchy). */
.btn-ghost {
  background: transparent; color: var(--brand);
  box-shadow: inset 0 0 0 1.5px var(--brand);
}
.btn-ghost:hover { background: var(--brand); color: #fff; }
.btn-ghost:active { transform: translateY(1px); }

/* -------------------------------- Header --------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(140%) blur(6px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.wordmark {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--serif);
  font-size: 1.5rem; font-weight: 700; letter-spacing: -0.01em;
  color: var(--ink); text-decoration: none;
}
.wordmark-icon { height: 38px; width: 38px; display: block; }

/* --------------------------------- Hero ---------------------------------- */
/* Hero is centered in the content column so the wide right-side void is gone
   and weight is balanced (SPEC §5 "clean, restrained"). No stock/AI hero
   imagery is used (SPEC §5), so a contained centered column is the balanced
   layout rather than a half-empty left-aligned one. */
.hero { padding: clamp(48px, 9vw, 104px) 0; border-bottom: 1px solid var(--line); }
.hero-inner { max-width: 780px; margin: 0 auto; text-align: center; }
.eyebrow {
  text-transform: uppercase; letter-spacing: .14em; font-size: .8rem;
  font-weight: 700; color: var(--brand); margin: 0 0 1rem;
}
.hero-sub {
  font-size: clamp(1.05rem, 2vw, 1.3rem); color: var(--ink-soft);
  max-width: 52ch; margin-left: auto; margin-right: auto;
}
.hero-credibility {
  font-size: .98rem; color: var(--ink-soft);
  max-width: 60ch; margin: 1.5rem auto 2rem;
  padding-top: 1.1rem; border-top: 1px solid var(--line);
}

/* ------------------------------- Sections -------------------------------- */
.section { padding: clamp(44px, 7vw, 80px) 0; }
/* Problem section is a dark brand band: gives the scroll a storytelling beat
   (light hero → dark "cost" → light "what we do") and makes the pain points
   stand out, while staying in the restrained clinical palette (no gradients). */
.section.problem { background: var(--brand-700); color: #e7efea; }
.section.problem h2 { color: #fff; }
.section.team    { background: var(--bg-alt); }

/* Problem bullets */
.problem-list { list-style: none; padding: 0; margin: 0; max-width: 72ch; }
.problem-list li {
  position: relative; padding-left: 1.8em; margin-bottom: 1rem;
  font-size: 1.08rem;
}
.problem-list li::before {
  content: ""; position: absolute; left: 0; top: .62em;
  width: .55em; height: .55em; background: #6fc3a3; /* light accent — visible on dark band */
  border-radius: 2px; transform: rotate(45deg);
}

/* Service cards */
.cards {
  display: grid; gap: 20px;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 1.5rem;
}
.card {
  background: var(--bg); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px 24px;
}
.card h3 { color: var(--brand); }
.card p { color: var(--ink-soft); margin: 0; }
.services-intro {
  max-width: 72ch; color: var(--ink-soft); font-size: 1.08rem;
  margin-top: .75rem;
}
.scope-note {
  margin-top: 1.75rem; color: var(--ink-soft); font-size: .96rem;
  max-width: 72ch;
}

/* Team */
.team-intro { max-width: 68ch; color: var(--ink-soft); font-size: 1.08rem; }
.team-grid {
  display: grid; gap: 24px; justify-content: center;
  grid-template-columns: repeat(auto-fit, minmax(220px, 260px));
  margin-top: 1.75rem;
}
.member {
  background: var(--bg); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px 24px; text-align: center;
}
.member-photo {
  width: 84px; height: 84px; margin: 0 auto 1rem;
  border-radius: 50%; background: var(--brand); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; font-weight: 700; letter-spacing: .02em;
}
.member-name { margin: 0 0 .25rem; font-size: 1.15rem; }
.member-role { margin: 0; color: var(--ink-soft); font-size: .95rem; }

/* Contact */
.contact-inner { max-width: 760px; }
.contact-sub { color: var(--ink-soft); font-size: 1.1rem; max-width: 60ch; }
.contact-actions { margin-top: 1.5rem; }

/* --------------------------------- Footer -------------------------------- */
.site-footer { border-top: 1px solid var(--line); padding: 40px 0; }
.footer-inner { display: flex; flex-direction: column; gap: .4rem; }
.footer-mark { font-weight: 750; letter-spacing: -0.02em; }
.footer-scope { color: var(--ink-soft); font-size: .92rem; margin: 0; }
.footer-copy { color: var(--ink-soft); font-size: .85rem; margin: 0; }

/* ------------------------------- Responsive ------------------------------ */
@media (max-width: 760px) {
  .cards { grid-template-columns: 1fr; }
  .header-cta { padding: .55em 1.1em; }
}
