/* H. Haerri VCPF, Inc. — rebuilt public site */
:root {
  --navy: #333e88;
  --ink: #07081f;
  --peach: #fdc6a2;
  --peach-dark: #eab08f;
  --gray: #666666;
  --gray-soft: #f6f7f9;
  --white: #ffffff;
  --black: #000000;
  --line: rgba(51, 62, 136, 0.18);
  --header-h: 118px;
  --max: 1100px;
  --font-display: "Jost", "Avenir Next", "Avenir", "Segoe UI", sans-serif;
  --font-body: "Nunito Sans", "Futura", "Segoe UI", sans-serif;
  --font-nav: "Raleway", "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); }
.skip {
  position: absolute; left: -999px; top: 0;
}
.skip:focus { left: 12px; top: 12px; z-index: 100; background: #fff; padding: 8px 12px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--white);
  height: var(--header-h);
  display: flex; align-items: center;
  border-bottom: 1px solid rgba(0,0,0,0.04);
}
.header-inner {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
}
.logo img { width: 168px; height: auto; }
.nav {
  display: flex; align-items: center; gap: 28px;
  font-family: var(--font-nav);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.nav a {
  color: var(--ink);
  text-decoration: none;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--peach-dark); }
.nav-drop { position: relative; }
.nav-drop > button {
  background: none; border: 0; padding: 0; cursor: pointer;
  font: inherit; color: inherit; font-family: var(--font-nav);
  font-size: 15px; font-weight: 500; letter-spacing: 0.02em;
}
.nav-drop > button:hover, .nav-drop.is-open > button, .nav-drop.is-current > button { color: var(--peach-dark); }
.nav-drop-menu {
  display: none;
  position: absolute; right: 0; top: calc(100% + 14px);
  background: var(--navy);
  min-width: 210px;
  padding: 8px 0;
  box-shadow: 0 10px 28px rgba(7,8,31,0.18);
}
.nav-drop-menu a {
  display: block; color: #fff; padding: 10px 22px; text-align: right;
}
.nav-drop-menu a:hover, .nav-drop-menu a[aria-current="page"] { color: var(--peach); }
.nav-drop:hover .nav-drop-menu,
.nav-drop:focus-within .nav-drop-menu,
.nav-drop.is-open .nav-drop-menu { display: block; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--peach); color: var(--ink);
  text-decoration: none;
  border: 0; cursor: pointer;
  font-family: var(--font-nav);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 12px 28px;
  border-radius: 4px;
  transition: background 0.15s ease;
}
.btn:hover { background: var(--peach-dark); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: #2a3370; color: #fff; }
.btn-talk { padding: 11px 22px; border-radius: 6px; }

.menu-toggle {
  display: none;
  background: none; border: 0; width: 40px; height: 40px; cursor: pointer;
  position: relative;
}
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after {
  display: block; width: 22px; height: 2px; background: var(--ink);
  position: absolute; left: 9px;
}
.menu-toggle span { top: 19px; }
.menu-toggle span::before { content: ""; top: -7px; }
.menu-toggle span::after { content: ""; top: 7px; }

/* Hero */
.hero {
  position: relative;
  min-height: 520px;
  background: #ddd center / cover no-repeat;
  display: flex; align-items: center;
}
.hero-home { min-height: 560px; background-image: url("../img/hero-home.webp"); background-position: center 40%; }
.hero-life { min-height: 420px; background-image: url("../img/hero-life.webp"); background-position: center; }
.hero-services { min-height: 420px; background-image: url("../img/hero-services.webp"); }
.hero-qa { min-height: 420px; background-image: url("../img/hero-qa.webp"); background-position: center 30%; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,0.72) 0%, rgba(255,255,255,0.45) 48%, rgba(255,255,255,0.08) 100%);
}
.hero-card {
  position: relative;
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  padding: 48px 0;
}
.hero-card .panel {
  max-width: 540px;
  background: rgba(255,255,255,0.78);
  padding: 36px 40px 40px;
}
.hero-title, h1.hero-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.1rem, 4.4vw, 3.35rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--navy);
  margin: 0 0 16px;
}
.hero-sub {
  margin: 0 0 28px;
  color: #5a5a5a;
  font-size: 1.05rem;
  max-width: 42ch;
}
.page-hero .hero-card .panel { background: rgba(255,255,255,0.86); text-align: center; margin: 0 auto; max-width: 640px; }
.page-hero .hero-sub { margin-left: auto; margin-right: auto; }

/* Bands / sections */
.section { padding: 72px 0; }
.wrap { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; }
.band-black {
  background: var(--black);
  color: #fff;
  padding: 72px 0;
}
.band-split {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 48px;
  align-items: center;
}
h2, .h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2rem, 4vw, 2.85rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 18px;
  color: var(--ink);
}
.band-black h2 { color: var(--peach); }
.lead { margin: 0 0 24px; font-size: 1.05rem; }
.band-black .lead { color: #f3f3f3; }

/* How we work cards */
.cards-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 36px;
}
.card {
  padding: 28px 22px 32px;
  min-height: 260px;
}
.card-navy { background: var(--navy); color: #fff; }
.card-white { background: var(--white); color: var(--ink); box-shadow: 0 0 0 1px var(--line); }
.card img { width: 52px; height: 52px; object-fit: contain; margin-bottom: 18px; filter: none; }
.card-navy img { filter: brightness(0) invert(1); }
.card h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.05rem;
  margin: 0 0 10px;
  line-height: 1.3;
}
.card p { margin: 0; font-size: 0.95rem; line-height: 1.5; }
.card-white p { color: var(--gray); }

.muted { color: var(--gray); }

/* Clients */
.clients {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: center;
}
.clients ul { margin: 8px 0 0; padding: 0 0 0 1.1em; color: var(--gray); }
.clients li { margin: 6px 0; }
.photo-frame { position: relative; }
.photo-frame img { width: 100%; height: 100%; object-fit: cover; }
.clips span {
  position: absolute; width: 42px; height: 42px;
  background: url("../img/clip.png") center / contain no-repeat;
  opacity: 0.9;
}
.clips .c1 { top: -10px; left: 18%; transform: rotate(-18deg); }
.clips .c2 { top: 12%; right: -8px; transform: rotate(28deg); }
.clips .c3 { bottom: 8%; left: -10px; transform: rotate(12deg); }

/* Contact form */
.form-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px;
  max-width: 560px;
}
.form-grid .full { grid-column: 1 / -1; }
label { display: block; font-size: 0.85rem; margin-bottom: 6px; color: var(--gray); font-family: var(--font-nav); }
input, textarea {
  width: 100%;
  border: 1px solid #cfcfcf;
  padding: 10px 12px;
  font: inherit;
  color: var(--ink);
  background: #fff;
  border-radius: 2px;
}
input:focus, textarea:focus { outline: 2px solid var(--navy); outline-offset: 1px; }
textarea { min-height: 120px; resize: vertical; }
.form-note { font-size: 0.85rem; color: var(--gray); margin: 8px 0 0; }
.contact-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 48px;
  align-items: start;
}
.contact-details { font-size: 1.05rem; }
.contact-details p { margin: 0 0 8px; }
.contact-details a { color: var(--navy); }
.map-wrap {
  margin-top: 48px;
  border-top: 1px solid var(--line);
  padding-top: 0;
}
.map-wrap iframe { width: 100%; height: 360px; border: 0; display: block; }

/* Resources */
.resource-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 40px;
}
.resource {
  padding: 32px 26px 36px;
  min-height: 240px;
}
.resource h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.2rem;
  margin: 0 0 12px;
  line-height: 1.3;
}
.resource p, .resource ul { margin: 0; font-size: 0.95rem; }
.resource ul { padding-left: 1.1em; }
.resource-navy { background: var(--navy); color: #fff; }
.resource-white { background: #fff; box-shadow: 0 0 0 1px var(--line); }
.resource-white p, .resource-white ul { color: var(--gray); }
.dot {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--peach);
  margin-bottom: 16px;
}
.resource-white .dot { background: #fff; box-shadow: 0 0 0 2px var(--navy); }

.prose { max-width: 740px; }
.prose p { margin: 0 0 1.1em; color: #444; }
.prose h2 { color: var(--navy); font-size: clamp(1.7rem, 3vw, 2.2rem); margin: 0 0 16px; }

/* Accordion */
.accordion { max-width: 780px; margin: 0 auto; }
.acc-item { border-bottom: 1px solid var(--navy); }
.acc-item button {
  width: 100%;
  background: none; border: 0;
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px;
  text-align: left;
  padding: 22px 4px;
  font-family: var(--font-body);
  font-size: 1.15rem;
  color: var(--navy);
  cursor: pointer;
  font-style: italic;
}
.acc-item button .mark { font-style: normal; font-size: 1.5rem; line-height: 1; color: var(--navy); }
.acc-panel { display: none; padding: 0 4px 22px; color: #444; }
.acc-item.is-open .acc-panel { display: block; }
.acc-item.is-open button .mark { content: "–"; }

/* Legal placeholder */
.placeholder {
  max-width: 640px;
  margin: 40px auto;
  padding: 36px 32px;
  background: var(--gray-soft);
  border-left: 4px solid var(--navy);
}
.placeholder h2 { font-size: 1.5rem; color: var(--navy); }
.badge {
  display: inline-block;
  font-family: var(--font-nav);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--navy);
  color: #fff;
  padding: 4px 10px;
  margin-bottom: 12px;
}

/* Footer */
.site-footer {
  background: var(--navy);
  color: #fff;
  padding: 56px 0 32px;
  text-align: center;
}
.site-footer .logo-white { width: 200px; margin: 0 auto 28px; }
.footer-nav, .footer-legal {
  display: flex; justify-content: center; gap: 36px; flex-wrap: wrap;
  font-family: var(--font-nav);
  font-size: 14px;
}
.footer-nav { margin-bottom: 22px; }
.footer-legal { margin: 18px 0 22px; gap: 22px; font-size: 13px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover, .site-footer a[aria-current="page"] { color: var(--peach); }
.footer-meta { font-size: 13px; color: rgba(255,255,255,0.85); }
.footer-meta a { color: #fff; text-decoration: underline; text-underline-offset: 2px; }
.disclosures-link {
  margin-top: 18px;
  font-family: var(--font-nav);
  font-size: 13px;
}
.disclosures-link a { color: var(--peach); }

/* Map */
.map-wrap { margin-top: 48px; }
.map-frame { position: relative; background: #e9e9e9; }
.map-frame iframe { width: 100%; height: 380px; border: 0; display: block; }
.map-caption {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  padding: 12px 0 8px;
  font-size: 0.9rem;
  color: var(--gray);
}

/* Mobile */
@media (max-width: 860px) {
  :root { --header-h: 88px; }
  .menu-toggle { display: block; }
  .nav {
    display: none;
    position: absolute; left: 0; right: 0; top: var(--header-h);
    background: #fff;
    flex-direction: column; align-items: stretch;
    padding: 8px 24px 24px;
    gap: 0;
    box-shadow: 0 16px 24px rgba(0,0,0,0.08);
  }
  body.nav-open { overflow: hidden; }
  body.nav-open .nav { display: flex; min-height: calc(100vh - var(--header-h)); }
  .nav a, .nav-drop > button {
    display: block; width: 100%; text-align: left;
    padding: 14px 0; border-bottom: 1px solid #eee;
  }
  .nav-drop-menu {
    position: static; display: none; background: var(--gray-soft);
    min-width: 0; box-shadow: none; padding: 0 0 8px 12px;
  }
  .nav-drop-menu a { color: var(--navy); text-align: left; padding: 10px 0; }
  .nav-drop.is-open .nav-drop-menu, .nav-drop:focus-within .nav-drop-menu { display: block; }
  .nav .btn-talk { margin-top: 12px; text-align: center; }
  .band-split, .clients, .contact-layout, .cards-4, .resource-grid {
    grid-template-columns: 1fr;
  }
  .hero, .hero-home, .hero-life, .hero-services, .hero-qa {
    display: block;
    min-height: 0;
    background-position: center 35%;
  }
  .hero-overlay {
    position: relative;
    height: 220px;
    background: transparent;
  }
  .hero-card {
    width: 100%;
    margin: 0;
    padding: 0;
    background: #fff;
  }
  .hero-card .panel, .page-hero .hero-card .panel {
    max-width: none;
    margin: 0;
    background: #fff;
    padding: 28px 24px 32px;
    text-align: left;
  }
  .page-hero .hero-sub { margin-left: 0; margin-right: 0; }
  .hero-title, h1.hero-title { font-size: 1.85rem; }
  .band-black { padding: 48px 0; }
  .section { padding: 48px 0; }
  .card { min-height: 0; }
  .clips { display: none; }
  .form-grid { grid-template-columns: 1fr; }
  .logo img { width: 132px; }
  .map-frame iframe { height: 260px; }
}