/* PeptideLabs Direct — clinical sourcing landing page */
:root {
  --bg: #fbfaf6;          /* warm off-white */
  --bg-alt: #f4f1e9;      /* sand */
  --ink: #1c1a15;         /* near-black, warm */
  --ink-soft: #5a544a;    /* muted body */
  --line: #e6e1d5;        /* hairline */
  --gold: #a9822f;        /* restrained accent */
  --gold-deep: #8a6a25;
  --green: #26382c;       /* lotus deep green, for the partnership band */
  --white: #ffffff;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --maxw: 1120px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }

/* Partner ribbon */
.partner-ribbon {
  background: var(--green);
  color: #f0ead9;
  text-align: center;
  font-size: 13px;
  letter-spacing: 0.02em;
  padding: 9px 16px;
}
.partner-ribbon strong { color: #e8c877; font-weight: 600; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 28px;
  max-width: var(--maxw); margin: 0 auto;
  padding: 18px 24px;
  background: rgba(251, 250, 246, 0.88);
  backdrop-filter: saturate(150%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 9px; font-family: var(--serif); }
.brand-mark { color: var(--gold); font-size: 20px; }
.brand-name { font-size: 22px; font-weight: 600; letter-spacing: 0.01em; }
.brand-tld { color: var(--gold); }
.nav { display: flex; gap: 26px; margin-left: auto; font-size: 14.5px; }
.nav a { color: var(--ink-soft); transition: color 0.15s; }
.nav a:hover { color: var(--ink); }
.nav-cta { margin-left: 8px; }

/* Buttons */
.btn {
  display: inline-block; font-size: 14.5px; font-weight: 500;
  padding: 12px 22px; border-radius: 2px; cursor: pointer;
  letter-spacing: 0.02em; transition: all 0.15s ease; border: 1px solid transparent;
}
.btn-primary { background: var(--gold); color: #fff; }
.btn-primary:hover { background: var(--gold-deep); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--bg); }

/* Hero */
.hero {
  max-width: var(--maxw); margin: 0 auto;
  padding: 92px 24px 80px; text-align: center;
}
.eyebrow {
  text-transform: uppercase; letter-spacing: 0.22em; font-size: 12px;
  font-weight: 600; color: var(--gold); margin-bottom: 18px;
}
.hero h1 {
  font-family: var(--serif); font-weight: 600;
  font-size: 72px; line-height: 1.05;
  letter-spacing: -0.01em; margin-bottom: 22px;
}
.lede {
  max-width: 620px; margin: 0 auto 34px; color: var(--ink-soft);
  font-size: 18px;
}
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-badges {
  list-style: none; display: flex; gap: 28px; justify-content: center; flex-wrap: wrap;
  margin-top: 46px; padding-top: 26px; border-top: 1px solid var(--line);
  font-size: 12.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft);
}

/* Sections */
.section { max-width: var(--maxw); margin: 0 auto; padding: 84px 24px; }
.section-alt { max-width: none; background: var(--bg-alt); }
.section-alt .section-head, .section-alt .pill-list { max-width: var(--maxw); margin-left: auto; margin-right: auto; }
.section-head { text-align: center; margin-bottom: 48px; }
.section-head h2 {
  font-family: var(--serif); font-weight: 600;
  font-size: 44px; line-height: 1.1; letter-spacing: -0.01em;
}

/* Card grid */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: 3px;
  padding: 30px 26px; transition: border-color 0.15s, transform 0.15s;
}
.card:hover { border-color: var(--gold); transform: translateY(-2px); }
.card h3 { font-family: var(--serif); font-size: 24px; font-weight: 600; margin-bottom: 8px; }
.card p { color: var(--ink-soft); font-size: 15.5px; }
.card-quiet { background: transparent; }
.card-quiet:hover { transform: none; }

/* Pill list */
.pill-list { list-style: none; display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; padding: 0 24px; }
.pill-list li {
  background: var(--white); border: 1px solid var(--line); border-radius: 999px;
  padding: 11px 22px; font-size: 15px; font-weight: 500;
}

/* Partnership band */
.section-partner { max-width: none; background: var(--green); color: #efe9d8; }
.partner-inner { max-width: 760px; margin: 0 auto; text-align: center; padding: 0 24px; }
.section-partner .eyebrow { color: #e8c877; }
.section-partner h2 { font-family: var(--serif); font-size: 46px; font-weight: 600; margin-bottom: 20px; }
.partner-copy { color: #d8d1bd; font-size: 18px; }
.partner-copy strong { color: #fff; }

/* CTA */
.section-cta { text-align: center; }
.cta-inner { max-width: 640px; margin: 0 auto; }
.section-cta h2 { font-family: var(--serif); font-size: 46px; font-weight: 600; margin-bottom: 14px; }
.section-cta p { color: var(--ink-soft); margin-bottom: 30px; }

/* Footer */
.site-footer { background: var(--ink); color: #c9c3b6; }
.footer-grid {
  max-width: var(--maxw); margin: 0 auto; padding: 64px 24px 40px;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 40px;
}
.footer-brand .brand-name { color: #fff; font-family: var(--serif); font-size: 24px; }
.footer-brand p { font-size: 14px; margin-top: 10px; }
.footer-partner { color: #e8c877 !important; }
.footer-partner strong { color: #fff; }
.footer-col h4 { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: #8f887a; margin-bottom: 14px; }
.footer-col a { display: block; font-size: 14.5px; color: #c9c3b6; padding: 4px 0; }
.footer-col a:hover { color: #fff; }
.footer-badges { display: block; margin-top: 10px; font-size: 12px; color: #8f887a; letter-spacing: 0.08em; }
.footer-legal {
  max-width: var(--maxw); margin: 0 auto; padding: 22px 24px;
  border-top: 1px solid #33302a; display: flex; justify-content: space-between;
  flex-wrap: wrap; gap: 10px; font-size: 12.5px; color: #8f887a;
}
.footer-links a:hover { color: #fff; }

/* Responsive */
@media (max-width: 860px) {
  .nav { display: none; }
  .hero h1 { font-size: 56px; }
  .section-head h2 { font-size: 38px; }
  .section-partner h2, .section-cta h2 { font-size: 40px; }
  .grid, .grid-4 { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; line-height: 1.55; }
  .partner-ribbon { font-size: 11px; line-height: 1.35; padding: 7px 14px; }
  .site-header { gap: 10px; padding: 12px 16px; }
  .brand { gap: 5px; min-width: 0; }
  .brand-mark { font-size: 16px; }
  .brand-name { font-size: 18px; white-space: nowrap; }
  .nav-cta { margin-left: auto; padding: 9px 12px; font-size: 12px; white-space: nowrap; }
  .hero { padding: 52px 18px 48px; }
  .hero h1 { font-size: 42px; margin-bottom: 18px; }
  .lede { font-size: 16px; line-height: 1.55; margin-bottom: 28px; }
  .eyebrow { font-size: 11px; line-height: 1.4; margin-bottom: 14px; }
  .hero-actions { display: grid; grid-template-columns: 1fr; gap: 10px; max-width: 340px; margin: 0 auto; }
  .hero-actions .btn { display: flex; min-height: 46px; align-items: center; justify-content: center; padding: 10px 16px; }
  .hero-badges { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 12px; margin-top: 34px; padding-top: 22px; font-size: 10px; line-height: 1.4; }
  .section { padding: 56px 18px; }
  .section-head { margin-bottom: 32px; }
  .section-head h2 { font-size: 32px; }
  .grid, .grid-4, .footer-grid { grid-template-columns: 1fr; }
  .grid { gap: 12px; }
  .card { padding: 22px 20px; }
  .card h3 { font-size: 22px; }
  .card p { font-size: 15px; }
  .pill-list { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; padding: 0 18px; }
  .pill-list li { display: flex; min-height: 44px; align-items: center; justify-content: center; padding: 8px 10px; text-align: center; font-size: 13px; line-height: 1.25; }
  .partner-inner { padding: 0; }
  .section-partner h2, .section-cta h2 { font-size: 34px; line-height: 1.12; }
  .partner-copy { font-size: 16px; }
  .footer-grid { gap: 28px; padding: 48px 18px 30px; }
  .footer-col a { overflow-wrap: anywhere; }
  .footer-legal { display: grid; padding: 20px 18px; }
}
@media (max-width: 360px) {
  .site-header { padding-left: 12px; padding-right: 12px; }
  .brand-name { font-size: 16px; }
  .nav-cta { padding-left: 9px; padding-right: 9px; font-size: 11px; }
  .hero h1 { font-size: 38px; }
  .section-head h2 { font-size: 29px; }
  .section-partner h2, .section-cta h2 { font-size: 31px; }
}
