/* =========================================================
   PCBP Partners: site styles
   Palette measured from the logo files. Do not add bright colors.
   ========================================================= */
:root {
  --hunter: #11382A;  /* hero, header-on-scroll, footer */
  --ink:    #15362D;  /* headings + body text on light backgrounds */
  --olive:  #3E462B;  /* secondary sections, hover states */
  --moss:   #4E5136;  /* borders, icons */
  --sage:   #606647;  /* alternate sections with cream text */
  --lichen: #7C7B54;  /* sparing accents: rules, small details */
  --cream:  #EDE7D9;  /* main light background, text on dark */

  /* tints derived from the palette (tone-on-tone only) */
  --cream-deep: #FFFFFF;
  --paper: #FFFFFF;
  --cream-text: rgba(237, 231, 217, 0.88);
  --rule: rgba(78, 81, 54, 0.28);

  --serif: "Libre Caslon Text", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --sans: "Source Sans 3", "Source Sans Pro", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --container: 1120px;
  --gutter: 20px;
  --header-h: 76px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 8px);
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.1875rem; /* 19px */
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; height: auto; }
picture { display: block; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 400;
  color: var(--ink);
  line-height: 1.2;
  margin: 0 0 0.5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.4rem, 7vw, 4.25rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.85rem, 4.4vw, 2.75rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }

a { color: var(--ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--olive); }

:focus-visible {
  outline: 3px solid var(--olive);
  outline-offset: 3px;
  border-radius: 2px;
}
.hero :focus-visible, .site-footer :focus-visible, .section--sage :focus-visible,
.site-header.is-scrolled :focus-visible {
  outline-color: var(--cream);
}

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 760px; }

.visually-hidden, .hp {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--hunter); color: var(--cream); padding: 10px 16px; font-weight: 600;
}
.skip-link:focus { top: 12px; color: var(--cream); }

/* Visible placeholders: easy to spot, impossible to miss before launch */
.placeholder {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.95em;
  font-style: italic;
  color: var(--olive);
  background: rgba(124, 123, 84, 0.14);
  border: 1px dashed var(--moss);
  padding: 2px 8px;
  margin: 0;
}
.placeholder--light { color: var(--cream); border-color: var(--cream-text); background: rgba(237, 231, 217, 0.1); }

/* ---------- Eyebrows: echo the spaced-out "PARTNERS" ---------- */
.eyebrow {
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--moss);
  margin: 0 0 1rem;
  line-height: 1.6;
}
.eyebrow--light { color: var(--cream-text); }
@media (max-width: 479px) { .eyebrow { letter-spacing: 0.2em; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px;
  padding: 14px 26px;
  font-family: var(--sans);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-align: center;
  text-decoration: none;
  line-height: 1.25;
  border: 1.5px solid transparent;
  border-radius: 2px;
  cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn--primary { background: var(--hunter); color: var(--cream); border-color: var(--hunter); }
.btn--primary:hover { background: var(--olive); border-color: var(--olive); color: var(--cream); }
.btn--on-dark { background: var(--cream); color: var(--hunter); border-color: var(--cream); }
.btn--on-dark:hover { background: transparent; color: var(--cream); border-color: var(--cream); }

.text-link {
  font-weight: 600; text-decoration: underline; text-underline-offset: 5px;
  padding: 12px 4px; display: inline-block;
}
.text-link--light { color: var(--cream); text-decoration-color: var(--lichen); }
.text-link--light:hover { color: var(--cream); text-decoration-color: var(--cream); }

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
  transition: background-color .25s, border-color .25s;
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: var(--header-h);
  gap: 16px;
}
.brand { position: relative; display: block; width: 156px; flex-shrink: 0; padding: 6px 0; }
.brand-logo--cream { position: absolute; inset: 6px 0 auto 0; opacity: 0; transition: opacity .25s; }
.brand-logo--green { transition: opacity .25s; }

.site-header.is-scrolled { background: var(--hunter); border-bottom-color: var(--hunter); }
.site-header.is-scrolled .brand-logo--green { opacity: 0; }
.site-header.is-scrolled .brand-logo--cream { opacity: 1; }

.nav-toggle {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 48px; padding: 8px 12px;
  background: transparent; border: 1.5px solid var(--moss); border-radius: 2px;
  color: var(--ink); font: 600 1rem var(--sans); cursor: pointer;
}
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
  display: block; width: 20px; height: 2px; background: currentColor; position: relative;
  transition: transform .2s, background-color .2s;
}
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }
.site-header.is-scrolled .nav-toggle { color: var(--cream); border-color: var(--lichen); }

/* Mobile nav panel */
.site-nav {
  display: none;
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--hunter);
  padding: 8px var(--gutter) 24px;
  box-shadow: 0 12px 24px rgba(17, 56, 42, 0.18);
}
.site-nav.is-open { display: block; }
.site-nav ul { list-style: none; margin: 0 0 16px; padding: 0; }
.site-nav li { border-bottom: 1px solid rgba(124, 123, 84, 0.45); }
.site-nav a:not(.btn) {
  display: block; padding: 14px 4px;
  color: var(--cream); text-decoration: none; font-size: 1.15rem;
}
.site-nav a:not(.btn):hover { color: var(--cream); text-decoration: underline; }
.site-nav :focus-visible { outline-color: var(--cream); }
.btn--header { width: 100%; background: var(--cream); color: var(--hunter); border-color: var(--cream); }
.btn--header:hover { background: transparent; color: var(--cream); border-color: var(--cream); }

@media (min-width: 1120px) {
  .brand { width: 172px; }
  .nav-toggle { display: none; }
  .site-nav {
    display: flex !important; align-items: center; gap: 22px;
    position: static; background: none; padding: 0; box-shadow: none;
  }
  .site-nav ul { display: flex; gap: 20px; margin: 0; }
  .site-nav li { border: 0; }
  .site-nav a:not(.btn) {
    padding: 8px 0; font-size: 0.98rem; font-weight: 600; color: var(--ink);
    white-space: nowrap;
  }
  .site-nav a:not(.btn):hover { color: var(--olive); }
  .site-nav :focus-visible { outline-color: var(--olive); }
  .btn--header {
    width: auto; min-height: 46px; padding: 10px 18px; font-size: 0.95rem;
    background: var(--hunter); color: var(--cream); border-color: var(--hunter);
  }
  .btn--header:hover { background: var(--olive); border-color: var(--olive); color: var(--cream); }

  .site-header.is-scrolled .site-nav a:not(.btn) { color: var(--cream); }
  .site-header.is-scrolled .site-nav :focus-visible { outline-color: var(--cream); }
  .site-header.is-scrolled .btn--header { background: var(--cream); color: var(--hunter); border-color: var(--cream); }
  .site-header.is-scrolled .btn--header:hover { background: transparent; color: var(--cream); }
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--hunter);
  color: var(--cream);
  padding: 56px 0 72px;
}
.hero-motif {
  position: absolute;
  top: 50%; right: -22%;
  width: min(120vw, 900px);
  aspect-ratio: 512 / 504;
  transform: translateY(-50%);
  background: var(--cream);
  opacity: 0.055;
  -webkit-mask: url("assets/logo-mark.png") center / contain no-repeat;
          mask: url("assets/logo-mark.png") center / contain no-repeat;
  pointer-events: none;
}
.hero-inner { position: relative; }
.hero-logo { width: 200px; margin-bottom: 40px; }
.hero h1 { color: var(--cream); margin-bottom: 0.45em; max-width: 14ch; }
.hero-sub { font-size: 1.2rem; color: var(--cream-text); max-width: 40rem; margin-bottom: 2rem; }
.hero .eyebrow { max-width: 34rem; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }

@media (max-width: 559px) {
  .hero-actions .btn { width: 100%; }
}
@media (min-width: 760px) {
  .hero { padding: 88px 0 112px; }
  .hero-logo { width: 260px; margin-bottom: 56px; }
  .hero-sub { font-size: 1.3rem; }
  .hero-motif { right: -12%; width: 820px; }
}

/* =========================================================
   SECTIONS
   ========================================================= */
.section { padding: 72px 0; }
@media (min-width: 760px) { .section { padding: 104px 0; } }
.section-head { max-width: 720px; margin-bottom: 40px; }
.lead { font-family: var(--serif); font-size: 1.35rem; line-height: 1.5; }

.section--sage { background: var(--sage); color: var(--cream); }
.section--sage h2, .section--sage h3 { color: var(--cream); }

/* Stripe-mark divider */
.divider {
  display: flex; align-items: center; justify-content: center; gap: 18px;
  max-width: 360px; margin: 0 auto; padding: 0 var(--gutter);
}
.divider span { flex: 1; height: 1px; background: var(--lichen); opacity: 0.6; }
.divider img { width: 34px; height: auto; opacity: 0.85; }

/* ---------- Criteria ---------- */
.criteria {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: 1fr; gap: 0 56px;
  border-top: 1px solid var(--rule);
}
.criteria li {
  position: relative;
  padding: 22px 0 22px 40px;
  border-bottom: 1px solid var(--rule);
}
.criteria li::before {
  content: "";
  position: absolute; left: 2px; top: 30px;
  width: 20px; height: 11px;
  border-left: 2px solid var(--moss); border-bottom: 2px solid var(--moss);
  transform: rotate(-45deg);
}
.criteria strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.25rem; line-height: 1.35; margin-bottom: 4px; }
.criteria span { display: block; }
.criteria .placeholder { display: inline-block; }
@media (min-width: 760px) {
  .criteria { grid-template-columns: 1fr 1fr; }
  .criteria-wide { grid-column: 1 / -1; }
}

/* ---------- Why-us cards ---------- */
.cards { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 640px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .cards { grid-template-columns: repeat(4, 1fr); } }
.card {
  background: rgba(17, 56, 42, 0.32);
  border: 1px solid rgba(237, 231, 217, 0.22);
  border-top: 3px solid var(--cream);
  padding: 28px 24px;
}
.card h3 { font-size: 1.3rem; }
.card p { margin: 0; color: var(--cream); }
.icon {
  width: 44px; height: 44px; margin-bottom: 18px;
  fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round;
}
.icon--sm { width: 26px; height: 26px; margin: 0; flex-shrink: 0; color: var(--moss); }

/* ---------- Comparison table ---------- */
.compare { margin-top: 56px; }
.compare-title { font-size: 1.5rem; margin-bottom: 20px; }
.compare table { width: 100%; border-collapse: collapse; }
.compare th, .compare td { text-align: left; vertical-align: top; padding: 16px 18px; }
.compare thead th {
  font-family: var(--sans); font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--cream-text);
  border-bottom: 1px solid rgba(237, 231, 217, 0.4);
}
.compare tbody th { font-family: var(--serif); font-weight: 400; font-size: 1.1rem; }
.compare tbody tr { border-bottom: 1px solid rgba(237, 231, 217, 0.22); }
.compare td:nth-child(2) { background: rgba(17, 56, 42, 0.32); font-weight: 600; }
.compare td:nth-child(3) { color: var(--cream-text); }

@media (max-width: 699px) {
  .compare thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .compare table, .compare tbody, .compare tr, .compare th, .compare td { display: block; width: 100%; }
  .compare tbody tr { padding: 18px 0; }
  .compare tbody th { padding: 0 0 10px; font-size: 1.2rem; }
  .compare td { padding: 10px 14px; }
  .compare td::before {
    content: attr(data-label);
    display: block; font-size: 0.75rem; font-weight: 600;
    letter-spacing: 0.2em; text-transform: uppercase; color: var(--cream-text); margin-bottom: 2px;
  }
}

/* ---------- Process timeline ---------- */
.timeline {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: 1fr; gap: 0;
  position: relative;
}
.timeline li { position: relative; padding: 0 0 30px 68px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { /* connecting line, mobile: vertical */
  content: ""; position: absolute; left: 22px; top: 46px; bottom: 0;
  width: 1px; background: var(--lichen);
}
.timeline li:last-child::before { display: none; }
.step-num {
  position: absolute; left: 0; top: 0;
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--hunter); color: var(--cream);
  font-family: var(--serif); font-size: 1.2rem; line-height: 1;
}
.timeline h3 { font-size: 1.25rem; margin: 8px 0 6px; }
.timeline p { margin: 0; }

@media (min-width: 960px) {
  .timeline { grid-template-columns: repeat(4, 1fr); gap: 32px; }
  .timeline li { padding: 70px 0 0; }
  .timeline li::before { /* horizontal line */
    left: 54px; right: -32px; top: 23px; bottom: auto; width: auto; height: 1px;
  }
  .timeline h3 { font-size: 1.15rem; margin-top: 0; }
  .timeline p { font-size: 1.05rem; }
}

.confidential-note {
  display: flex; align-items: center; gap: 12px;
  margin: 48px 0 0; padding-top: 24px;
  border-top: 1px solid var(--rule);
  font-family: var(--serif); font-style: italic; font-size: 1.2rem;
}

/* ---------- Team ---------- */
.team { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 820px) { .team { grid-template-columns: 1fr 1fr; gap: 32px; } }
.person {
  display: flex; flex-direction: column; gap: 20px;
  background: var(--cream);
  border: 1px solid var(--rule);
  padding: 28px 24px;
}
@media (min-width: 480px) { .person { flex-direction: row; align-items: flex-start; } }
.headshot {
  width: 112px; height: 112px; flex-shrink: 0; border-radius: 50%;
  background: var(--paper);
  border: 2px dashed var(--lichen);
  display: grid; place-items: center;
  font-family: var(--serif); font-size: 1.6rem; letter-spacing: 0.1em; color: var(--moss);
  object-fit: cover;
}
.headshot--photo { border: 3px solid var(--paper); box-shadow: 0 0 0 1px var(--lichen); background: var(--paper); }
.person h3 { margin-bottom: 2px; }
.role {
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--moss); margin-bottom: 12px;
}
.advisors { margin-top: 64px; }
@media (min-width: 1100px) { .team--three { grid-template-columns: repeat(3, 1fr); } }
.section-intro { font-size: 1.15rem; margin: 12px 0 0; max-width: 46rem; }
.advisors .section-intro { margin: 0 0 24px; }
.advisors-title { font-size: 1.6rem; }
.is-hidden { display: none !important; }

/* ---------- Contact ---------- */
.section--contact { background: var(--cream-deep); border-top: 1px solid var(--rule); }
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 40px; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 5fr 7fr; gap: 72px; } }
.contact-logo { width: 180px; margin-bottom: 36px; }
.direct { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--rule); }
.direct p { margin: 0 0 8px; }
.direct-label {
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; color: var(--moss);
}

.form-wrap {
  background: var(--cream);
  border: 1px solid var(--rule);
  border-top: 3px solid var(--hunter);
  padding: 28px 20px;
}
@media (min-width: 560px) { .form-wrap { padding: 36px 36px; } }
.field { margin-bottom: 20px; }
.field-row { display: grid; grid-template-columns: 1fr; gap: 0 20px; }
@media (min-width: 560px) { .field-row { grid-template-columns: 1fr 1fr; } }
label { display: block; font-weight: 600; margin-bottom: 6px; font-size: 1.05rem; }
.optional { font-weight: 400; color: var(--moss); }
input, select, textarea {
  width: 100%;
  font: inherit; font-size: 1.1rem; /* ≥16px prevents iOS zoom */
  color: var(--ink);
  background: #fff;
  border: 1.5px solid var(--moss);
  border-radius: 2px;
  padding: 12px 14px;
  min-height: 52px;
}
select {
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%2315362D' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
  padding-right: 40px;
}
textarea { resize: vertical; min-height: 130px; }
input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--olive); outline-offset: 1px; border-color: var(--hunter);
}
.form-note { font-size: 1rem; color: var(--moss); }
.contact-form .btn { width: 100%; }
@media (min-width: 560px) { .contact-form .btn { width: auto; min-width: 200px; } }
.form-error { margin: 16px 0 0; color: var(--ink); font-weight: 600; border-left: 3px solid var(--olive); padding-left: 12px; }
.form-success { text-align: center; padding: 24px 8px; }
.form-success img { margin: 0 auto 16px; width: 48px; }
.form-success:focus { outline: none; }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer { background: var(--hunter); color: var(--cream); padding: 56px 0 44px; }
.footer-inner { display: flex; flex-direction: column; gap: 28px; }
.footer-logo { width: 180px; }
.footer-text p { margin: 0 0 8px; }
.footer-small { font-size: 1rem; color: var(--cream-text); margin-top: 16px !important; }
.site-footer a { color: var(--cream); }
.site-footer a:hover { color: var(--cream); text-decoration-color: var(--lichen); }
@media (min-width: 760px) {
  .footer-inner { flex-direction: row; justify-content: space-between; align-items: flex-end; }
  .footer-text { text-align: right; }
}

/* =========================================================
   SIMPLE INNER PAGES (privacy, thank-you)
   ========================================================= */
.page-header { background: var(--hunter); padding: 22px 0; }
.page-header .brand { width: 160px; }
.page-body { padding: 56px 0 80px; }
.page-body h1 { font-size: clamp(2rem, 6vw, 3rem); }
.page-body h2 { font-size: 1.5rem; margin-top: 1.6em; }
