:root {
  --ink: #17211d;
  --forest: #173f35;
  --forest-light: #245c4d;
  --paper: #f7f8f4;
  --white: #ffffff;
  --mist: #e6ebe6;
  --line: #ccd4ce;
  --red: #b63b31;
  --muted: #5c6862;
  --serif: "Newsreader", Georgia, serif;
  --sans: "DM Sans", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); font-size: 16px; line-height: 1.65; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { text-wrap: balance; }
.shell { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 100; top: 10px; left: 10px; padding: 8px 14px; color: var(--white); background: var(--forest); transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }

.site-header { position: relative; z-index: 20; height: 90px; background: rgba(247, 248, 244, .96); border-bottom: 1px solid var(--line); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 12px; line-height: 1.1; }
.brand-mark { display: grid; width: 42px; height: 42px; place-items: center; color: var(--white); background: var(--forest); font-family: var(--serif); font-size: 25px; }
.brand strong, .brand small { display: block; }
.brand strong { font-family: var(--serif); font-size: 19px; font-weight: 600; }
.brand small { margin-top: 4px; color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.desktop-nav { display: flex; align-items: center; gap: 34px; font-size: 14px; font-weight: 600; }
.desktop-nav a { position: relative; }
.desktop-nav a:not(.nav-cta)::after { content: ""; position: absolute; right: 0; bottom: -7px; left: 0; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .2s ease; }
.desktop-nav a:hover::after, .desktop-nav a.active::after { transform: scaleX(1); }
.nav-cta { padding: 10px 20px; color: var(--white); background: var(--forest); }
.nav-cta:hover { background: var(--forest-light); }
.mobile-nav { display: none; position: relative; }
.mobile-nav summary { display: grid; width: 42px; height: 42px; padding: 11px 9px; border: 1px solid var(--line); cursor: pointer; list-style: none; align-content: space-between; }
.mobile-nav summary::-webkit-details-marker { display: none; }
.mobile-nav summary span { height: 2px; background: var(--ink); }
.mobile-nav nav { position: absolute; top: 50px; right: 0; width: 220px; padding: 8px; background: var(--white); border: 1px solid var(--line); box-shadow: 0 18px 35px rgba(23, 33, 29, .12); }
.mobile-nav nav a { display: block; padding: 11px 12px; border-bottom: 1px solid var(--mist); font-weight: 600; }
.mobile-nav nav a:last-child { border: 0; }

.eyebrow { margin-bottom: 18px; color: var(--red); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.hero { position: relative; min-height: 650px; overflow: hidden; background: var(--paper); }
.hero::before { content: ""; position: absolute; inset: 0; opacity: .33; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 80px 80px; mask-image: linear-gradient(to right, black, transparent 70%); }
.hero-grid { position: relative; display: grid; min-height: 650px; grid-template-columns: 1.25fr .75fr; align-items: center; gap: 90px; }
.hero-copy { padding: 88px 0; }
h1 { max-width: 780px; margin-bottom: 27px; font-family: var(--serif); font-size: clamp(48px, 6vw, 78px); font-weight: 500; line-height: .98; }
.hero-lede { max-width: 680px; margin-bottom: 34px; color: var(--muted); font-size: 19px; line-height: 1.65; }
.button-row { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.button { display: inline-flex; min-height: 50px; padding: 12px 22px; align-items: center; justify-content: center; gap: 22px; font-size: 14px; font-weight: 700; transition: background .2s ease, color .2s ease; }
.button-primary { color: var(--white); background: var(--forest); }
.button-primary:hover { background: var(--forest-light); }
.button-light { color: var(--forest); background: var(--white); }
.button-light:hover { color: var(--white); background: var(--red); }
.text-link { padding-bottom: 3px; border-bottom: 1px solid var(--ink); font-size: 14px; font-weight: 700; }
.pathway { color: var(--white); background: var(--forest); box-shadow: 24px 24px 0 var(--mist); }
.pathway-heading { display: flex; padding: 17px 22px; justify-content: space-between; border-bottom: 1px solid rgba(255,255,255,.2); color: #c8d8d2; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }
.pathway ol { margin: 0; padding: 0 22px; list-style: none; }
.pathway li { display: grid; padding: 20px 0; grid-template-columns: 38px 1fr; border-bottom: 1px solid rgba(255,255,255,.16); }
.pathway li:last-child { border: 0; }
.pathway li > span { grid-row: 1 / 3; color: #88a79c; font-size: 11px; }
.pathway li strong { font-family: var(--serif); font-size: 20px; font-weight: 500; }
.pathway li small { color: #bdccc7; font-size: 11px; }
.focus-band { color: var(--white); background: var(--ink); }
.focus-grid { display: grid; grid-template-columns: 1fr 1fr; }
.focus-grid > div { padding: 27px 0; }
.focus-grid > div + div { padding-left: 50px; border-left: 1px solid #46504b; }
.focus-grid span { display: block; margin-bottom: 8px; color: #9eaaa4; font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.focus-grid strong { font-family: var(--serif); font-size: 20px; font-weight: 500; }
.focus-grid i { padding-inline: 7px; color: var(--red); font-style: normal; }

/* Homepage bio-chem system */
.home-page { --bio-navy: #0a1a2f; --bio-blue: #2b6cb0; --bio-slate: #526477; --bio-pale: #eef3f6; --bio-line: #cbd6de; }
.home-page .site-header { background: rgba(255, 255, 255, .98); border-color: var(--bio-line); }
.home-page .brand-mark, .home-page .nav-cta { background: var(--bio-navy); }
.home-page .nav-cta:hover { background: var(--bio-blue); }
.home-page .desktop-nav a:not(.nav-cta)::after { background: var(--bio-blue); }
.bio-hero { position: relative; display: flex; min-height: 590px; align-items: center; overflow: hidden; color: var(--white); background-color: var(--bio-navy); }
.bio-hero::before { content: ""; position: absolute; inset: 0; background-image: url("../img/molecular-pattern.svg"); background-position: center; background-size: 720px auto; opacity: .68; }
.bio-hero::after { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 48%; background: var(--bio-navy); opacity: .86; }
.bio-hero-content { position: relative; z-index: 1; padding-block: 100px; }
.bio-kicker, .bio-section-label { margin-bottom: 20px; color: #8fb7d5; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.bio-hero h1 { max-width: 820px; margin-bottom: 24px; font-size: clamp(52px, 6vw, 76px); line-height: 1.02; }
.bio-hero-content > p:not(.bio-kicker) { max-width: 600px; margin-bottom: 34px; color: #d5e0e7; font-size: 20px; }
.bio-button { color: var(--white); background: var(--bio-blue); }
.bio-button:hover { background: #377dc4; }
.bio-text-link { padding-bottom: 3px; color: var(--white); border-bottom: 1px solid #7991a3; font-size: 14px; font-weight: 700; }
.systems-intro { padding: 105px 0; background: var(--white); }
.systems-intro-grid { display: grid; grid-template-columns: .42fr 1fr; gap: 80px; }
.systems-intro .bio-section-label, .bio-services .bio-section-label, .bio-cta .bio-section-label { color: var(--bio-blue); }
.systems-intro h2, .bio-services h2, .bio-cta h2 { margin: 0; color: var(--bio-navy); font-family: var(--serif); font-size: clamp(38px, 4vw, 54px); font-weight: 500; line-height: 1.08; }
.systems-intro-grid > div > p { max-width: 800px; margin: 28px 0 0; color: var(--bio-slate); font-size: 18px; }
.bio-services { padding: 95px 0 110px; background-color: var(--bio-pale); background-image: url("../img/molecular-pattern.svg"); background-position: right -220px bottom -100px; background-repeat: no-repeat; background-size: 640px auto; }
.bio-services-heading { display: grid; margin-bottom: 52px; grid-template-columns: .42fr 1fr; gap: 80px; align-items: start; }
.bio-service-grid { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--white); border-top: 3px solid var(--bio-blue); }
.bio-service-grid article { min-height: 390px; padding: 38px; border-right: 1px solid var(--bio-line); }
.bio-service-grid article:last-child { border-right: 0; }
.bio-icon { display: grid; width: 58px; height: 58px; margin-bottom: 32px; place-items: center; background: var(--bio-pale); }
.bio-icon img { width: 40px; height: 40px; }
.bio-service-grid article > span { color: var(--bio-blue); font-size: 10px; font-weight: 700; }
.bio-service-grid h3 { margin: 12px 0 16px; color: var(--bio-navy); font-family: var(--serif); font-size: 29px; font-weight: 500; }
.bio-service-grid p { min-height: 76px; color: var(--bio-slate); font-size: 14px; }
.bio-service-grid a { display: inline-flex; margin-top: 22px; gap: 16px; color: var(--bio-navy); border-bottom: 1px solid var(--bio-line); font-size: 12px; font-weight: 700; }
.bio-service-grid a:hover { color: var(--bio-blue); }
.bio-cta { padding: 80px 0; background: var(--white); border-top: 1px solid var(--bio-line); }
.bio-cta-inner { display: flex; align-items: end; justify-content: space-between; gap: 40px; }
.home-page .site-footer { background: var(--bio-navy); }

.section { padding: 110px 0; }
.section-heading { display: grid; margin-bottom: 55px; grid-template-columns: 1fr 1fr; align-items: end; gap: 70px; }
.section-heading h2, .cta-inner h2, .prose h2 { margin: 0; font-family: var(--serif); font-size: clamp(38px, 4vw, 53px); font-weight: 500; line-height: 1.05; }
.section-heading > p { margin: 0; color: var(--muted); }
.outcome-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.outcome-grid article { min-height: 210px; padding: 25px 25px 30px; border-right: 1px solid var(--line); }
.outcome-grid article:first-child { border-left: 1px solid var(--line); }
.outcome-grid span, .principle-grid span { color: var(--red); font-size: 11px; font-weight: 700; }
.outcome-grid h3 { margin: 65px 0 0; font-family: var(--serif); font-size: 25px; font-weight: 500; line-height: 1.15; }
.cta-band { padding: 75px 0; color: var(--white); background: var(--forest); }
.cta-inner { display: flex; align-items: end; justify-content: space-between; gap: 40px; }
.cta-inner .eyebrow { color: #dca099; }
.cta-inner h2 { max-width: 720px; }
.site-footer { padding: 50px 0 25px; color: #c1cac5; background: var(--ink); }
.footer-inner { display: grid; grid-template-columns: 1.2fr 1fr 1fr; align-items: center; gap: 25px; }
.footer-brand { color: var(--white); }
.footer-brand .brand-mark { border: 1px solid #58615d; background: transparent; }
.footer-brand small { color: #9da7a2; }
.footer-inner > p, .footer-inner > a { margin: 0; font-size: 13px; }
.footer-inner > a { justify-self: end; color: var(--white); border-bottom: 1px solid #6f7773; }
.footer-inner > small { grid-column: 1 / -1; padding-top: 25px; border-top: 1px solid #3c4541; font-size: 10px; }

.page-hero { padding: 105px 0 90px; color: var(--white); background: var(--forest); }
.page-hero-grid { display: grid; grid-template-columns: 1.5fr .5fr; align-items: end; gap: 80px; }
.page-hero h1 { margin: 0; font-size: clamp(48px, 6vw, 72px); }
.page-hero-grid > p { margin: 0; color: #c7d6d1; }
.about-grid { display: grid; grid-template-columns: .65fr 1.35fr; gap: 100px; }
.about-statement { padding-top: 10px; border-top: 1px solid var(--ink); }
.statement-number { display: block; font-family: var(--serif); font-size: 72px; line-height: 1; }
.statement-number small { display: block; max-width: 220px; margin-top: 12px; color: var(--muted); font-family: var(--sans); font-size: 13px; line-height: 1.5; }
.prose { max-width: 720px; }
.prose h2 { margin-bottom: 35px; }
.prose > p { color: var(--muted); font-size: 18px; }
blockquote { margin: 45px 0 0; padding: 30px 0 0 30px; border-top: 1px solid var(--line); border-left: 3px solid var(--red); font-family: var(--serif); font-size: 25px; line-height: 1.35; }
.principles { padding: 80px 0; background: var(--mist); }
.principle-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.principle-grid article { padding: 28px 50px 0 0; }
.principle-grid h3 { margin: 35px 0 12px; font-family: var(--serif); font-size: 29px; font-weight: 500; }
.principle-grid p { color: var(--muted); font-size: 14px; }

.services-list { padding-top: 50px; }
.service-row { display: grid; padding: 55px 0; grid-template-columns: 1fr 1fr; gap: 80px; border-bottom: 1px solid var(--line); }
.service-row:first-child { border-top: 1px solid var(--line); }
.service-title { display: grid; grid-template-columns: 70px 45px 1fr; align-items: center; }
.service-title img { width: 48px; height: 48px; }
.service-title span { color: var(--red); font-size: 11px; }
.service-title h2 { margin: 0; font-family: var(--serif); font-size: 38px; font-weight: 500; }
.service-row ul { display: grid; margin: 0; padding: 0; grid-template-columns: 1fr 1fr; align-content: center; gap: 12px 30px; list-style: none; }
.service-row li { position: relative; padding-left: 17px; color: var(--muted); font-size: 14px; }
.service-row li::before { content: ""; position: absolute; top: .72em; left: 0; width: 5px; height: 5px; background: var(--red); }

.timeline { border-top: 1px solid var(--line); }
.timeline article { display: grid; padding: 45px 0; grid-template-columns: .35fr 1fr; border-bottom: 1px solid var(--line); }
.timeline time { color: var(--red); font-size: 11px; font-weight: 700; letter-spacing: .08em; }
.timeline article > div { display: grid; grid-template-columns: .65fr 1fr 1fr; align-items: start; gap: 35px; }
.timeline article > div > p:first-child { color: var(--ink); font-weight: 700; }
.timeline h2 { margin: 0; font-family: var(--serif); font-size: 24px; font-weight: 500; line-height: 1.2; }
.timeline p { margin: 0; color: var(--muted); font-size: 14px; }

.contact-main { display: flex; min-height: calc(100vh - 90px); align-items: center; background: var(--mist); }
.contact-section { width: 100%; padding: 100px 0; }
.contact-grid { display: grid; grid-template-columns: 1fr .72fr; align-items: center; gap: 100px; }
.contact-grid h1 { font-size: clamp(48px, 6vw, 72px); }
.contact-lede { max-width: 620px; color: var(--muted); font-size: 18px; }
.contact-panel { padding: 48px; background: var(--white); border-top: 4px solid var(--red); box-shadow: 0 25px 55px rgba(23, 33, 29, .08); }
.contact-label { margin-bottom: 8px; color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.contact-email { display: flex; justify-content: space-between; gap: 15px; font-family: var(--serif); font-size: 22px; overflow-wrap: anywhere; }
.contact-panel hr { margin: 35px 0; border: 0; border-top: 1px solid var(--line); }
.tag-list { display: flex; margin: 16px 0 0; padding: 0; gap: 8px; flex-wrap: wrap; list-style: none; }
.tag-list li { padding: 6px 10px; background: var(--mist); font-size: 11px; font-weight: 600; }
.profile-note { display: flex; margin: 30px 0 0; padding-top: 20px; justify-content: space-between; color: var(--forest); border-top: 1px solid var(--line); font-size: 12px; font-weight: 700; }
.profile-note:hover { color: var(--red); }

@media (max-width: 900px) {
  .desktop-nav { display: none; }
  .mobile-nav { display: block; }
  .hero-grid, .page-hero-grid, .contact-grid { grid-template-columns: 1fr; gap: 50px; }
  .hero-grid { padding-bottom: 70px; }
  .hero-copy { padding-bottom: 0; }
  .pathway { max-width: 620px; }
  .page-hero-grid > p { max-width: 600px; }
  .outcome-grid { grid-template-columns: 1fr 1fr; }
  .outcome-grid article:nth-child(3) { border-left: 1px solid var(--line); }
  .service-row { grid-template-columns: 1fr; gap: 30px; }
  .timeline article > div { grid-template-columns: 1fr 1fr; }
  .timeline article > div > p:last-child { grid-column: 1 / -1; }
  .contact-section { padding: 70px 0; }
  .bio-service-grid { grid-template-columns: 1fr; }
  .bio-service-grid article { min-height: auto; border-right: 0; border-bottom: 1px solid var(--bio-line); }
  .bio-service-grid p { min-height: 0; }
}

@media (max-width: 640px) {
  .shell { width: min(100% - 32px, 1180px); }
  .site-header { height: 76px; }
  .brand-mark { width: 38px; height: 38px; }
  .brand strong { font-size: 16px; }
  h1 { font-size: 47px; }
  .hero-grid { min-height: auto; gap: 20px; }
  .hero-copy { padding: 70px 0 45px; }
  .hero-lede { font-size: 17px; }
  .pathway { box-shadow: 12px 12px 0 var(--mist); }
  .focus-grid, .section-heading, .about-grid, .principle-grid { grid-template-columns: 1fr; }
  .focus-grid > div + div { padding: 22px 0; border-top: 1px solid #46504b; border-left: 0; }
  .focus-grid > div { padding: 22px 0; }
  .section { padding: 75px 0; }
  .section-heading { gap: 20px; }
  .outcome-grid { grid-template-columns: 1fr; }
  .outcome-grid article, .outcome-grid article:nth-child(3) { min-height: 145px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); border-left: 1px solid var(--line); }
  .outcome-grid h3 { margin-top: 35px; }
  .cta-inner { align-items: start; flex-direction: column; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-inner > a { justify-self: start; }
  .page-hero { padding: 75px 0 65px; }
  .page-hero h1 { font-size: 42px; }
  .about-grid { gap: 55px; }
  .principle-grid article { padding: 28px 0; border-bottom: 1px solid var(--line); }
  .service-title { grid-template-columns: 58px 32px 1fr; }
  .service-title h2 { font-size: 30px; }
  .service-row ul { grid-template-columns: 1fr; }
  .timeline article { grid-template-columns: 1fr; gap: 15px; }
  .timeline article > div { grid-template-columns: 1fr; gap: 12px; }
  .timeline article > div > p:last-child { grid-column: auto; }
  .contact-main { min-height: auto; }
  .contact-grid { gap: 35px; }
  .contact-grid h1 { font-size: 47px; }
  .contact-panel { padding: 30px 24px; }
  .contact-email { font-size: 18px; }
  .bio-hero { min-height: 560px; }
  .bio-hero::after { width: 100%; opacity: .7; }
  .bio-hero-content { padding-block: 82px; }
  .bio-hero h1 { font-size: 46px; }
  .bio-hero-content > p:not(.bio-kicker) { font-size: 17px; }
  .systems-intro, .bio-services { padding: 75px 0; }
  .systems-intro-grid, .bio-services-heading { grid-template-columns: 1fr; gap: 12px; }
  .bio-service-grid article { padding: 30px 25px; }
  .bio-cta-inner { align-items: start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}

