@font-face { font-family: "Marcellus"; src: url("fonts/marcellus-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("fonts/manrope-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("fonts/manrope-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("fonts/manrope-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("fonts/manrope-800.woff2") format("woff2"); font-weight: 800; font-style: normal; font-display: swap; }

:root {
  --ink: #1a2432;
  --muted: #5c6675;
  --paper: #e7eaef;
  --surface: #ffffff;
  --line: #c7ceda;
  --green: #1e5aa0;
  --green-dark: #223a5e;
  --gold: #ffd876;
  --blue: #1e5aa0;
  --rose: #b23a2e;
  --shadow: 0 24px 60px rgba(23, 33, 29, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Manrope", "Segoe UI", Arial, sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 78px;
  padding: 14px clamp(18px, 4vw, 54px);
  border-bottom: 1px solid rgba(238, 242, 248, 0.2);
  background: #223a5e;
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  min-width: max-content;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--green-dark);
  color: #fff;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-logo {
  display: block;
  width: 224px;
  height: 64px;
  object-fit: contain;
  max-width: 58vw;
  filter: brightness(0) invert(1);
}

.brand-logo.logo-color {
  filter: none;
}

main[id], section[id], footer[id] {
  scroll-margin-top: 110px;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  font-size: 0.79rem;
}

.menu-button {
  display: none;
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 999px;
  padding: 10px 16px;
  color: #eef2f8;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  width: 100%;
}

.site-nav a {
  padding: 10px 12px;
  border-radius: 999px;
  color: #eef2f8;
  font-size: 0.94rem;
  text-decoration: none;
  white-space: nowrap;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: #eef2f8;
  background: rgba(255, 255, 255, 0.1);
}

.site-nav .nav-login {
  border: 1px solid var(--line);
  color: #eef2f8;
}

.site-nav .nav-cta {
  color: #23324a;
  background: var(--gold);
}

.hero {
  display: block;
  padding: 64px clamp(18px, 5vw, 72px);
  background: #223a5e;
  color: #eef2f8;
}

.hero .eyebrow,
.hero .hero-lede {
  color: #eef2f8;
}

.hero .button.secondary {
  color: #eef2f8;
  background: transparent;
  border-color: #c7ceda;
}

.hero-copy {
  max-width: 1040px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 900px;
  margin: 0;
  font-family: "Marcellus", Georgia, serif;
  font-weight: 400;
  font-size: clamp(3rem, 7vw, 6.7rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-family: "Marcellus", Georgia, serif;
  font-weight: 400;
  font-size: clamp(2rem, 4vw, 4.1rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 10px;
  font-size: 1.06rem;
}

.hero-lede,
.section-heading p,
.split p,
.proof-copy p,
.participant-path > div > p,
.bid-section > div > p {
  color: var(--muted);
  font-size: clamp(1.04rem, 1.7vw, 1.25rem);
}

.hero-lede {
  max-width: 720px;
  margin: 24px 0 0;
}

.hero-actions,
.participant-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.button.primary {
  color: #23324a;
  background: var(--gold);
}

.button.secondary {
  color: var(--green-dark);
  background: rgba(255, 255, 255, 0.72);
  border-color: var(--line);
}

.field-card {
  width: min(100%, 460px);
  justify-self: end;
  border: 1px solid rgba(23, 33, 29, 0.12);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.field-card-top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  color: #fff;
  background: var(--green-dark);
}

.field-card-top span {
  opacity: 0.75;
}

.study-title {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 20px;
  border-bottom: 1px solid var(--line);
}

.study-title b {
  align-self: flex-start;
  padding: 5px 10px;
  border-radius: 999px;
  color: var(--green-dark);
  background: rgba(29, 107, 89, 0.12);
  white-space: nowrap;
}

.status-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin: 0;
}

.status-grid div {
  padding: 20px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.status-grid div:nth-child(even) {
  border-right: 0;
}

.status-grid dt {
  color: var(--muted);
  font-size: 0.78rem;
  text-transform: uppercase;
}

.status-grid dd {
  margin: 5px 0 0;
  font-size: 1.35rem;
  font-weight: 850;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  padding: 20px 20px 0;
}

.timeline span {
  height: 8px;
  border-radius: 999px;
  background: #d9ded9;
}

.timeline .done {
  background: var(--green);
}

.field-note {
  margin: 0;
  padding: 16px 20px 22px;
  color: var(--muted);
}

.section {
  padding: clamp(58px, 8vw, 108px) clamp(18px, 5vw, 72px);
}

.split,
.proof,
.participant-path,
.bid-section,
.sign-in {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: start;
}

.section-heading {
  max-width: 860px;
  margin-bottom: 34px;
}

.service-list,
.proof-grid,
.audience-grid,
.process-grid,
.quote-grid,
.privacy-grid,
.steps {
  display: grid;
  gap: 16px;
}

.service-list article,
.audience-grid article,
.proof-grid article,
.process-grid article,
.quote-grid figure,
.privacy-grid article,
.steps article,
.portal-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.service-list article {
  display: grid;
  grid-template-columns: 1fr;
  column-gap: 16px;
  padding: 22px;
}

.service-list article p {
  grid-column: 1;
}

.service-list p,
.proof-grid p,
.process-grid p,
.quote-grid blockquote,
.privacy-grid p,
.steps p,
.portal-card p,
.faq-list p {
  margin: 0;
  color: var(--muted);
}

.icon,
.process-grid span,
.steps span {
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.audience-section,
.process,
.sign-in,
.faq {
  background: #f6f8fb;
}

.audience-grid {
  grid-template-columns: repeat(3, 1fr);
}

.audience-grid article,
.proof-grid article,
.privacy-grid article {
  padding: 24px;
}

ul {
  margin: 12px 0 0;
  padding-left: 20px;
  color: var(--muted);
}

li + li {
  margin-top: 7px;
}

.method-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.method-strip span {
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--muted);
  font-weight: 700;
  font-size: 0.9rem;
}

.proof {
  background: var(--green-dark);
  color: #fff;
}

.proof .eyebrow,
.proof-copy p,
.proof-grid p {
  color: rgba(255, 255, 255, 0.72);
}

.proof-grid {
  grid-template-columns: repeat(2, 1fr);
}

.proof-grid article {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
}

.process-grid {
  grid-template-columns: repeat(4, 1fr);
}

.process-grid article {
  padding: 22px;
}

.process-grid b,
.privacy-grid b {
  display: block;
  margin-top: 16px;
  color: var(--rose);
  font-size: 0.9rem;
}

.quote-grid {
  grid-template-columns: repeat(3, 1fr);
}

.quote-grid figure {
  margin: 0;
  padding: 24px;
}

.quote-grid blockquote {
  font-family: "Marcellus", Georgia, serif;
  font-weight: 400;
  font-size: 1.2rem;
}

.quote-grid figcaption {
  margin-top: 16px;
  color: var(--muted);
  font-weight: 800;
}

.participant-path {
  background: #f6f8fb;
}

.steps article {
  padding: 22px;
}

.privacy-grid {
  grid-template-columns: repeat(4, 1fr);
}

.portal-card {
  padding: clamp(22px, 4vw, 34px);
}

.client-portal {
  background: #f6f8fb;
}

.compact-form,
.bid-form {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.bid-form {
  grid-template-columns: repeat(2, 1fr);
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 13px 12px;
  color: var(--ink);
  background: #fff;
}

textarea {
  resize: vertical;
}

.wide {
  grid-column: 1 / -1;
}

.check-row {
  grid-template-columns: 18px 1fr;
  align-items: start;
  font-weight: 600;
}

.check-row input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
}

.contact-stack {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.contact-stack a,
.contact-stack span {
  color: var(--green-dark);
  font-weight: 850;
  text-decoration: none;
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 920px;
}

details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

summary {
  cursor: pointer;
  padding: 18px 20px;
  font-weight: 900;
}

details p {
  padding: 0 20px 20px;
}

.footer {
  display: grid;
  grid-template-columns: minmax(240px, 1.2fr) minmax(220px, 0.8fr) minmax(180px, 0.5fr);
  gap: 30px;
  padding: 44px clamp(18px, 5vw, 72px);
  color: rgba(255, 255, 255, 0.78);
  background: #223a5e;
}

.footer .brand-mark {
  background: #fff;
  color: var(--green-dark);
}

.footer .footer-brand {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 6px;
  background: transparent;
}

.footer strong,
.footer .brand strong {
  color: #fff;
}

.footer a {
  display: block;
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
}

.footer address {
  display: grid;
  gap: 8px;
  font-style: normal;
}

.footer-links {
  display: grid;
  align-content: start;
  gap: 8px;
}

.copyright {
  grid-column: 1 / -1;
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.9rem;
}

.policy-content {
  max-width: 860px;
  margin: 0 auto;
  padding: 48px 24px 72px;
}

.policy-content h1 {
  font-size: 48px;
  line-height: 1.1;
}

.policy-content h2 {
  font-family: "Manrope", "Segoe UI", Arial, sans-serif;
  font-weight: 700;
  font-size: 24px;
  line-height: 1.3;
  margin-top: 36px;
}

.policy-content p, .policy-content li {
  color: var(--muted);
}

.policy-content a, .privacy a, .portal-card a:not(.button), .bid-form a {
  color: #1e5aa0;
  overflow-wrap: anywhere;
}

.policy-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  padding: 20px 0;
  border-block: 1px solid var(--line);
}

.form-status:empty { display: none; }

@media (max-width: 760px) {
  .policy-header { gap: 12px; align-items: center; }
  .policy-header .brand-logo { width: 160px; max-width: 42vw; }
  .policy-header .button { font-size: 0.85rem; padding: 10px 12px; }
}

@media (max-width: 1120px) {
  .site-header {
    align-items: flex-start;
  }

  .menu-button {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    inset: 100% 18px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #223a5e;
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    border-radius: 6px;
  }

  .hero,
  .split,
  .proof,
  .participant-path,
  .bid-section,
  .sign-in {
    grid-template-columns: 1fr;
  }

  .field-card {
    justify-self: start;
  }

  .process-grid,
  .privacy-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  .site-header {
    min-height: 70px;
    padding: 12px 16px;
  }

  .brand span:last-child {
    max-width: 210px;
  }

  .site-nav {
    inset: 100% 12px auto;
  }

  .hero {
    min-height: auto;
    padding-top: 44px;
  }

  h1 {
    font-size: clamp(2.8rem, 17vw, 4.5rem);
  }

  .audience-grid,
  .process-grid,
  .quote-grid,
  .proof-grid,
  .privacy-grid,
  .footer,
  .bid-form {
    grid-template-columns: 1fr;
  }

  .service-list article {
    grid-template-columns: 1fr;
  }

  .service-list article p {
    grid-column: 1;
  }

  .status-grid {
    grid-template-columns: 1fr;
  }

  .status-grid div {
    border-right: 0;
  }
}

.client-note {
  width: min(460px, calc(100vw - 32px));
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow);
}
.client-note::backdrop { background: rgba(26, 36, 50, 0.55); }
.client-note h2 {
  margin: 4px 0 12px;
  font-family: "Marcellus", Georgia, serif;
  font-weight: 400;
  font-size: 1.6rem;
  line-height: 1.2;
}
.client-note p { margin: 0 0 16px; color: var(--ink); }
.client-note .eyebrow { color: var(--muted); }
.client-note .contact-stack { display: grid; gap: 6px; margin-bottom: 20px; }
.client-note .contact-stack a { color: var(--blue); font-weight: 700; }
.client-note form { margin: 0; }

[hidden] { display: none !important; }

/* "Marketing Research" beside the logo (Option B) */
.brand .brand-logo { width: auto; aspect-ratio: 3 / 1; }
.brand-sub {
  display: inline-flex;
  align-items: center;
  align-self: center;
  min-height: 44px;
  padding-left: 18px;
  margin-left: 4px;
  border-left: 1px solid rgba(255, 255, 255, 0.45);
  color: #eef2f8;
  font-family: "Manrope", "Segoe UI", Arial, sans-serif;
  font-weight: 600;
  font-size: 0.72rem;
  line-height: 1.5;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  white-space: nowrap;
}
@media (max-width: 760px) {
  .brand .brand-logo { height: 48px; }
  .brand-sub { min-height: 34px; padding-left: 12px; font-size: 0.6rem; letter-spacing: 0.22em; }
}
@media (max-width: 360px) {
  .site-header .brand-sub { display: none; }
}
.policy-header .button { white-space: nowrap; }
@media (max-width: 480px) {
  .policy-header .brand-sub { display: none; }
}

/* Specialty pages */
.story { border-left: 4px solid var(--blue); }
.story p { color: var(--ink); font-size: 1.05rem; line-height: 1.6; margin: 0; }
.sample-note { display: inline-block; margin-top: 12px; padding: 6px 10px; border: 1px dashed var(--ink); border-radius: 6px; color: var(--ink); font-weight: 700; font-size: 0.85rem; }
.bid-section .hero-actions .button.secondary { color: var(--green-dark); border-color: var(--green-dark); }
.related { padding-top: 32px; padding-bottom: 32px; }
.related-links a { display: inline-flex; align-items: center; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--blue); font-weight: 700; text-decoration: none; }
.related-links a:hover { border-color: var(--blue); }

/* Point of view section (Quirk's article) */
.pov { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.pov-copy p { max-width: 62ch; }
.pov-quote { margin: 0; padding: clamp(24px, 4vw, 40px); background: var(--green-dark); color: #eef2f8; border-radius: 10px; }
.pov-quote blockquote { margin: 0 0 18px; font-family: "Marcellus", Georgia, serif; font-size: clamp(1.6rem, 3vw, 2.3rem); line-height: 1.2; }
.pov-quote figcaption { font-size: 0.95rem; line-height: 1.5; color: #eef2f8; }
.pov-quote a { color: var(--gold); font-weight: 700; }
@media (max-width: 860px) { .pov { grid-template-columns: 1fr; } }

/* Medium screens: keep the full menu on one line */
@media (min-width: 1121px) and (max-width: 1380px) {
  .site-nav { gap: 2px; }
  .site-nav a { padding: 9px 8px; font-size: 0.86rem; }
}
@media (min-width: 1121px) and (max-width: 1240px) {
  .site-header .brand-sub { display: none; }
}

/* Rare disease: "A count is not a patient" */
.counts-copy { display: grid; gap: 14px; align-content: start; }
.counts-copy p { margin: 0; max-width: 62ch; color: var(--ink); font-size: 1.05rem; line-height: 1.65; }

/* The honesty promise */
.promise { margin: 18px 0 0; padding-left: 14px; border-left: 3px solid var(--gold); font-family: "Marcellus", Georgia, serif; font-size: clamp(1.3rem, 2.2vw, 1.6rem); line-height: 1.25; color: #fff; }
.promise-light { color: var(--ink); border-left-color: var(--blue); }
.proof-copy p.promise, .counts-copy p.promise { font-family: "Marcellus", Georgia, serif; font-size: clamp(1.45rem, 2.4vw, 1.85rem); line-height: 1.25; margin-top: 10px; }
.proof-copy p.promise { color: #fff; }
.counts-copy p.promise { color: var(--ink); }
.proof-copy p.promise, .counts-copy p.promise { text-wrap: balance; }
.recent .method-strip { margin-top: 10px; }

/* Real case studies */
.case .case-facts { margin-top: 18px; }
.case .story p { margin: 0 0 12px; }
.case .story p:last-child { margin-bottom: 0; }

/* Clients and certification */
.clients-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 14px; }
.clients-grid article { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 18px 20px; }
.clients-grid h3 { margin: 0 0 8px; font-size: 1rem; }
.client-names { margin: 0; color: var(--ink); line-height: 1.7; }
.certified { margin: 22px 0 0; padding: 14px 18px; border: 1px solid var(--line); border-left: 4px solid var(--blue); border-radius: 8px; background: var(--surface); color: var(--ink); font-weight: 600; max-width: 900px; }
.pov-lead { font-family: "Marcellus", Georgia, serif; font-size: clamp(1.25rem, 2vw, 1.5rem); color: var(--ink); margin: 6px 0 18px; }
.footer-cert { grid-column: 1 / -1; margin: 0; color: #eef2f8; font-size: 0.92rem; }
.clients-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1000px) { .clients-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .clients-grid { grid-template-columns: 1fr; } }

/* Homepage links to specialty pages */
.specialty-links { margin-top: 34px; }
.specialty-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.specialty-grid a { display: grid; gap: 4px; padding: 16px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; text-decoration: none; color: var(--ink); }
.specialty-grid a:hover, .specialty-grid a:focus-visible { border-color: var(--blue); }
.specialty-grid strong { color: var(--blue); font-size: 1rem; }
.specialty-grid span { color: var(--muted); font-size: 0.92rem; line-height: 1.4; }
@media (max-width: 1000px) { .specialty-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .specialty-grid { grid-template-columns: 1fr; } }
.specialty-grid a { align-content: start; }
.certified { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.certified img { width: 180px; height: auto; flex: none; background: #fff; border-radius: 6px; }
.certified p { margin: 0; flex: 1 1 320px; min-width: 0; }
