:root {
  --navy: #1F3864;
  --navy-deep: #14284a;
  --navy-mid: #2d4a7c;
  --accent: #9db4dd;
  --bg-tint: #f4f6fb;
  --border: #d7deec;
  --ink: #0b0b0b;
  --ink-soft: #262626;
  --muted: #52514e;
  --cite: #7a7a7a;
  --gold: #c98f2b;
  --good-bg: #e8f3ea;
  --good-ink: #2f7a3d;
  --scoped-bg: #fbf3e6;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
#sdoh { scroll-margin-top: 120px; }
body {
  margin: 0; padding: 0;
  font-family: "Helvetica Neue", Arial, sans-serif;
  color: var(--ink); background: #ffffff;
  line-height: 1.5;
}
a { color: inherit; }
img { max-width: 100%; display: block; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 28px; }

/* ---------- Nav ---------- */
header.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(31,56,100,0.97); backdrop-filter: blur(6px);
  color: #fff;
}
header.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 100px; }
.logo {
  font-weight: 700; font-size: 17px; letter-spacing: 0.01em; display: flex; align-items: center; gap: 9px;
  text-decoration: none; color: #fff; min-width: 0;
}
.logo .mark {
  width: 36px; height: 36px; border-radius: 9px; background: #fff;
  display: none; align-items: center; justify-content: center; flex-shrink: 0;
  padding: 5px;
}
/* Hidden on desktop, where the full wordmark (.mark-full) is used instead —
   swapped in at the mobile breakpoint below so the header has room for the
   burger button without the two overlapping. Below that same breakpoint,
   .brand-name supplies the company name as text (the compact icon alone
   carries no name — only the full wordmark image has the name baked in). */
.logo .mark img { width: 100%; height: 100%; display: block; }
.logo .mark-full {
  height: 84px; background: #fff; border-radius: 12px;
  display: flex; align-items: center; flex-shrink: 0;
  padding: 12px 20px;
}
.logo .mark-full img { height: 100%; width: auto; display: block; }
.logo .brand-name {
  display: none;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
nav.links { display: flex; align-items: center; gap: 30px; }
nav.links a.navlink {
  font-size: 14.5px; color: #d7e0f2; text-decoration: none; font-weight: 500;
}
nav.links a.navlink:hover { color: #fff; }
nav.links a.navlink.active { color: #fff; font-weight: 700; }
.btn {
  display: inline-block; padding: 10px 20px; border-radius: 7px; font-weight: 700; font-size: 14.5px;
  text-decoration: none; transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn-primary { background: #fff; color: var(--navy); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(0,0,0,0.18); }
.btn-outline { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,0.55); }
.btn-outline:hover { border-color: #fff; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(31,56,100,0.28); }
.navburger { display: none; background: none; border: none; color: #fff; font-size: 24px; cursor: pointer; flex-shrink: 0; }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(155deg, var(--navy-deep) 0%, var(--navy) 55%, var(--navy-mid) 100%);
  color: #fff; padding: 88px 0 96px;
  position: relative; overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; right: -120px; top: -120px; width: 480px; height: 480px;
  border-radius: 50%; background: radial-gradient(circle, rgba(157,180,221,0.18), transparent 70%);
}
.hero .eyebrow {
  font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--accent); margin: 0 0 16px;
}
.hero h1 {
  font-size: clamp(30px, 4.6vw, 48px); line-height: 1.12; font-weight: 800; letter-spacing: -0.015em;
  margin: 0 0 20px; max-width: 780px;
}
.hero p.sub {
  font-size: clamp(16px, 2vw, 19px); color: #d7e0f2; max-width: 620px; margin: 0 0 34px; line-height: 1.55;
}
.hero .cta-row { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 64px; }
.hero .cta-row .btn { padding: 13px 26px; font-size: 15.5px; }
.hero-grid { align-items: center; }
.hero-visual-wrap { display: flex; justify-content: center; }
.hero-visual { width: 440px; max-width: 92%; }
.hero-product-band { margin-top: 48px; display: flex; flex-direction: column; gap: 16px; }
.hero-product-band .eyebrow { margin-bottom: 14px; }
.hero-product-band .hero-product-card.product-card {
  display: grid; grid-template-columns: 128px 116px 1fr auto; align-items: center; gap: 28px;
  padding: 26px 32px; margin: 0;
  box-shadow: 0 24px 48px rgba(8,18,40,0.35);
}
.hero-product-band .hero-product-card .status { margin-bottom: 0; width: 128px; text-align: center; }
.hero-product-band .hero-product-card h3 { margin: 0; white-space: nowrap; }
.hero-product-band .hero-product-card p { margin: 0; }
.hero-product-band .hero-product-card .btn-navy { white-space: nowrap; justify-self: end; }
@media (max-width: 860px) {
  .hero-product-band .hero-product-card.product-card { display: flex; flex-direction: column; align-items: flex-start; }
  .hero-product-band .hero-product-card p { margin-bottom: 18px; }
}

/* Smaller page-level hero, used on Assurance / What's Next / About */
.page-hero {
  background: linear-gradient(155deg, var(--navy-deep) 0%, var(--navy) 55%, var(--navy-mid) 100%);
  color: #fff; padding: 64px 0 72px;
}
.page-hero .eyebrow {
  font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--accent); margin: 0 0 14px;
}
.page-hero .status.live {
  display: inline-block; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em;
  padding: 4px 10px; border-radius: 20px; margin-bottom: 16px; width: fit-content;
  background: var(--good-bg); color: var(--good-ink);
}
.page-hero .product-name {
  font-size: clamp(22px, 3vw, 30px); font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase;
  color: #fff; margin: 0 0 8px;
}

#sdoh > .wrap > .status.scoped {
  display: inline-block; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em;
  padding: 4px 10px; border-radius: 20px; margin-bottom: 14px; width: fit-content;
  background: var(--scoped-bg); color: var(--gold);
}
.product-name-light {
  font-size: clamp(20px, 2.6vw, 26px); font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--navy); margin: 0 0 6px;
}
.page-hero h1 {
  font-size: clamp(26px, 3.8vw, 40px); line-height: 1.16; font-weight: 800; letter-spacing: -0.015em;
  margin: 0 0 16px; max-width: 760px;
}
.page-hero p.sub {
  font-size: clamp(15px, 1.8vw, 18px); color: #d7e0f2; max-width: 640px; margin: 0; line-height: 1.55;
}
.page-hero .cta-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }
.page-hero .cta-row .btn { padding: 12px 24px; font-size: 15px; }

/* ---------- Sections ---------- */
section { padding: 84px 0; }
section.tint { background: var(--bg-tint); }
.section-eyebrow {
  font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--navy-mid); margin: 0 0 12px;
}
h2.section-title {
  font-size: clamp(24px, 3.2vw, 32px); font-weight: 800; letter-spacing: -0.01em; color: var(--navy);
  margin: 0 0 18px; max-width: 700px;
}
p.lede { font-size: 17px; color: var(--ink-soft); max-width: 720px; line-height: 1.65; margin: 0 0 8px; }
p.cite {
  font-size: 12.5px; color: var(--cite); font-style: italic; line-height: 1.55; margin-top: 14px; max-width: 760px;
}

.two-col { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: start; }
.ph-grid, .sdoh-grid { align-items: center; }
.ph-visual-wrap { display: flex; justify-content: center; }
.ph-visual { width: 360px; max-width: 100%; filter: drop-shadow(0 20px 34px rgba(8,18,40,0.28)); }
.sdoh-grid .ph-visual { filter: drop-shadow(0 20px 34px rgba(8,18,40,0.14)); }
@media (max-width: 860px) {
  .ph-visual-wrap { margin-top: 8px; }
  .ph-visual { width: 300px; }
}
.fact-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fact-tiles.cols-3 { grid-template-columns: repeat(3, 1fr); }
.fact-tile {
  background: #fff; border: 1px solid var(--border); border-left: 3px solid var(--gold);
  border-radius: 9px; padding: 16px 18px;
}
.fact-tile .num { font-size: 22px; font-weight: 800; color: var(--navy); }
.fact-tile .desc { font-size: 12.5px; color: var(--muted); margin-top: 3px; line-height: 1.4; }

.card-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 34px; }
.card {
  background: #fff; border: 1px solid var(--border); border-radius: 11px; padding: 22px 22px 24px;
}
.card h3 { font-size: 15.5px; color: var(--navy); margin: 0 0 8px; font-weight: 700; }
.card p { font-size: 14px; color: var(--ink-soft); line-height: 1.55; margin: 0; }

/* Products teaser (Home page) */
.product-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 34px; }
.product-card {
  background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 28px 26px;
  display: flex; flex-direction: column;
}
.product-card .status {
  display: inline-block; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em;
  padding: 4px 10px; border-radius: 20px; margin-bottom: 14px; width: fit-content;
}
.product-card .status.live { background: var(--good-bg); color: var(--good-ink); }
.product-card .status.scoped { background: var(--scoped-bg); color: var(--gold); }
.product-card h3 { font-size: 19px; color: var(--navy); margin: 0 0 10px; font-weight: 800; }
.product-card p { font-size: 14.5px; color: var(--ink-soft); line-height: 1.6; margin: 0 0 18px; flex-grow: 1; }
.product-card a.card-link { font-size: 14px; font-weight: 700; color: var(--navy-mid); text-decoration: none; }
.product-card a.card-link:hover { text-decoration: underline; }

/* Compact teaser strip (Home page, links to About) */
.teaser-strip {
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  padding: 40px 0;
}
.teaser-strip .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.teaser-strip p { font-size: 15.5px; color: var(--ink-soft); max-width: 640px; margin: 0; line-height: 1.6; }
.teaser-strip a.card-link { font-size: 14px; font-weight: 700; color: var(--navy-mid); text-decoration: none; white-space: nowrap; }
.teaser-strip a.card-link:hover { text-decoration: underline; }
.teaser-person { display: flex; align-items: center; gap: 18px; }
.teaser-photo { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex-shrink: 0; border: 2px solid var(--border); }
.teaser-byline { font-size: 12.5px; font-weight: 700; color: var(--navy); margin: 7px 0 0; }
@media (max-width: 560px) {
  .teaser-person { gap: 14px; }
  .teaser-photo { width: 46px; height: 46px; }
}

/* About bio */
.bio-layout { display: flex; gap: 32px; align-items: flex-start; }
.bio-photo-col { display: flex; flex-direction: column; align-items: center; flex-shrink: 0; width: 140px; }
.bio-photo {
  width: 140px; height: 140px; border-radius: 50%; object-fit: cover; flex-shrink: 0;
  border: 3px solid var(--border);
}
.bio-caption { text-align: center; font-size: 13.5px; color: var(--muted); margin: 12px 0 0; line-height: 1.4; }
.bio-caption strong { display: block; color: var(--navy); font-size: 15px; font-weight: 700; margin-bottom: 2px; }
.bio-text { min-width: 0; }
@media (max-width: 860px) {
  .bio-layout { flex-direction: column; align-items: center; text-align: center; }
  .bio-photo-col { width: 110px; }
  .bio-photo { width: 110px; height: 110px; }
}

/* About */
.about-quote {
  border-left: 3px solid var(--gold); padding-left: 20px; font-size: 17px; color: var(--ink-soft);
  font-style: italic; line-height: 1.6; margin: 0 0 20px;
}

/* CTA */
.cta-section {
  background: linear-gradient(155deg, var(--navy-deep) 0%, var(--navy) 100%); color: #fff; text-align: center;
}
.cta-section h2 { color: #fff; margin: 0 auto 16px; max-width: 640px; }
.cta-section p.lede { color: #d7e0f2; margin: 0 auto 30px; max-width: 620px; text-align: center; }
.cta-section .btn-primary { padding: 15px 32px; font-size: 16px; }
.cta-section .cite { color: #a9b8d6; text-align: center; margin: 26px auto 0; max-width: 640px; }

footer {
  background: var(--navy-deep); color: #b7c4e0; padding: 34px 0; font-size: 13px;
}
footer .wrap { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
footer .brand { color: #fff; font-weight: 700; }

.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

@media (max-width: 860px) {
  nav.links { position: fixed; top: 100px; left: 0; right: 0; background: var(--navy-deep);
    flex-direction: column; align-items: flex-start; padding: 18px 28px 26px; gap: 16px;
    transform: translateY(-160%); transition: transform 0.25s ease; }
  nav.links.open { transform: translateY(0); }
  .navburger { display: block; }
  /* The full wordmark (300x63 image, ~327px wide once padded) is wider than
     a phone screen minus the burger button, so the two overlap and the
     burger becomes invisible underneath it. Swap to the compact icon mark
     plus a plain-text company name here instead — the icon alone carries
     no name. .brand-name shrinks and ellipsizes rather than colliding with
     the burger if a narrow screen can't fit the full name. */
  .logo .mark-full { display: none; }
  .logo .mark { display: flex; }
  .logo .brand-name { display: inline-block; font-size: 15px; min-width: 0; }
  .two-col { grid-template-columns: 1fr; }
  .card-row { grid-template-columns: 1fr 1fr; }
  .fact-tiles { grid-template-columns: 1fr 1fr; }
  .fact-tiles.cols-3 { grid-template-columns: 1fr 1fr; }
  .product-grid { grid-template-columns: 1fr; }
  .teaser-strip .wrap { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 560px) {
  .card-row, .fact-tiles, .fact-tiles.cols-3 { grid-template-columns: 1fr; }
  .hero .cta-row .btn, .page-hero .cta-row .btn { width: 100%; text-align: center; }
}

/* Nav: quiet secondary email link beside the primary "Get in touch" button */
nav.links a.navlink-quiet { opacity: 0.82; }
nav.links a.navlink-quiet:hover { opacity: 1; }

/* CTA sections: primary action (questionnaire) + quiet secondary email option */
.cta-section .email-alt {
  display: block; margin: 18px auto 0; font-size: 14px; color: #c3d0ea; text-decoration: none;
}
.cta-section .email-alt:hover { color: #fff; text-decoration: underline; }

/* ---------- Contact questionnaire ---------- */
.contact-form { max-width: 640px; margin: 0 auto; }
.contact-form .field { margin-bottom: 20px; }
.contact-form .field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.contact-form label {
  display: block; font-size: 13px; font-weight: 700; color: var(--navy); margin-bottom: 6px;
  letter-spacing: 0.01em;
}
.contact-form label .opt { font-weight: 500; color: var(--muted); text-transform: none; }
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%; font-family: inherit; font-size: 15px; color: var(--ink);
  padding: 11px 13px; border: 1.5px solid var(--border); border-radius: 7px;
  background: #fff; transition: border-color 0.15s ease;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none; border-color: var(--navy-mid);
}
.contact-form textarea { resize: vertical; min-height: 110px; }
.contact-form .submit-row { margin-top: 30px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.contact-form .submit-row .btn { border: none; cursor: pointer; }
.contact-form .form-status { font-size: 14px; color: var(--muted); }
.contact-form .form-status.is-error { color: #b3372c; }
.form-success {
  max-width: 640px; margin: 0 auto; text-align: center; background: var(--good-bg);
  border: 1px solid var(--good-ink); border-radius: 12px; padding: 36px 30px;
}
.form-success h3 { color: var(--good-ink); margin: 0 0 10px; font-size: 20px; }
.form-success p { color: var(--ink-soft); margin: 0; font-size: 15px; }
@media (max-width: 560px) {
  .contact-form .field-row { grid-template-columns: 1fr; }
}
