/* Heirpath — static rebuild of the Squarespace site */
:root {
  --bg: #edebe1;
  --bg-card: #dedcd1;
  --navy: #2c3a56;
  --navy-deep: #26334c;
  --ink: #1c1c1c;
  --line: rgba(28, 28, 28, 0.25);
  --white: #f7f6f1;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Source Serif 4", Georgia, serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.06rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

h1, h2, h3, .display {
  font-family: var(--font-display);
  font-weight: 420;
  line-height: 1.06;
  letter-spacing: -0.01em;
}

/* ---------- Header ---------- */
.site-header {
  background: var(--bg);
  position: relative;
  z-index: 20;
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 84px;
}
.site-title {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 480;
  text-decoration: none;
  color: var(--ink);
}
.site-nav a {
  text-decoration: none;
  margin-left: 32px;
  font-size: 1rem;
}
.site-nav a:hover, .site-nav a.active { text-decoration: underline; text-underline-offset: 5px; }
.nav-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 10px;
}
.nav-toggle span {
  display: block;
  width: 34px;
  height: 2px;
  background: var(--ink);
  margin: 8px 0;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 1rem;
  text-decoration: none;
  text-align: center;
  border-radius: 999px;
  padding: 16px 34px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: opacity 0.15s ease;
}
.btn:hover { opacity: 0.88; }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-white { background: var(--white); color: var(--navy); }
.btn-outline-light { background: transparent; color: var(--white); border-color: rgba(247, 246, 241, 0.7); }
.btn-outline-dark { background: transparent; color: var(--navy); border-color: var(--navy); }

/* ---------- Hero (Home) ---------- */
.hero {
  position: relative;
  background: var(--navy);
  color: var(--white);
  min-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("/images/hero.png") center 65% / cover no-repeat;
  filter: brightness(0.52);
}
.hero-inner {
  position: relative;
  max-width: 900px;
  padding: 110px 24px;
}
.hero h1 {
  font-size: clamp(2.5rem, 5.4vw, 4.4rem);
  color: #f2f0e9;
}
.hero p {
  max-width: 760px;
  margin: 28px auto 0;
  font-size: 1.2rem;
  color: #eceade;
}
.hero-actions { margin-top: 42px; display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---------- Generic sections ---------- */
.section { padding: 96px 0; }
.section-tight { padding: 64px 0; }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.split .text h2 {
  font-size: clamp(2.1rem, 3.6vw, 3.1rem);
  margin-bottom: 24px;
}
.split .text p { margin-bottom: 28px; }

.eyebrow {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3vw, 2.5rem);
  text-align: center;
  margin-bottom: 56px;
}

/* ---------- Testimonials ---------- */
.testimonials { text-align: center; }
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 56px;
  text-align: left;
}
.testimonial-card {
  background: var(--bg-card);
  padding: 88px 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 48px;
}
.testimonial-card .attr { font-size: 0.98rem; }
.testimonial-note { margin-top: 30px; font-size: 0.85rem; opacity: 0.55; text-align: center; }

/* ---------- FAQ ---------- */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: start;
}
.faq-grid > h2 { font-size: clamp(1.9rem, 3vw, 2.4rem); }
.faq details {
  border-top: 1px solid var(--line);
}
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 44px 22px 0;
  position: relative;
  font-size: 1.08rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  font-weight: 300;
  transition: transform 0.2s ease;
}
.faq details[open] summary::after { content: "\2013"; }
.faq .answer { padding: 0 0 26px; max-width: 60ch; }

/* ---------- CTA / form sections ---------- */
.cta {
  background: var(--bg-card);
}
.cta .split { align-items: start; }
.cta h2 { font-size: clamp(2.3rem, 4vw, 3.4rem); margin-bottom: 26px; }

.cta-navy {
  background: var(--navy);
  color: var(--white);
}
.cta-navy h2 { color: #f2f0e9; }

/* ---------- Forms ---------- */
.hp-form { width: 100%; }
.hp-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.hp-form .field { margin-bottom: 22px; }
.hp-form label {
  display: block;
  margin-bottom: 8px;
  font-size: 1rem;
}
.hp-form label .req { font-size: 0.85rem; opacity: 0.7; }
.hp-form input, .hp-form textarea, .hp-form select {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--ink);
  border-radius: 26px;
  padding: 13px 18px;
  outline: none;
}
.hp-form textarea { min-height: 150px; border-radius: 22px; resize: vertical; }
.hp-form select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='10' viewBox='0 0 16 10'%3E%3Cpath d='M1 1l7 7 7-7' fill='none' stroke='%231c1c1c' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
}
.hp-form input:focus, .hp-form textarea:focus, .hp-form select:focus { border-width: 2px; }
.hp-form button { border: 0; }
.form-status { margin-top: 16px; font-size: 1rem; display: none; }

/* Forms on navy background */
.cta-navy .hp-form input, .cta-navy .hp-form textarea, .cta-navy .hp-form select {
  color: var(--white);
  border-color: rgba(247, 246, 241, 0.8);
}
.cta-navy .hp-form select {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='10' viewBox='0 0 16 10'%3E%3Cpath d='M1 1l7 7 7-7' fill='none' stroke='%23f7f6f1' stroke-width='2'/%3E%3C/svg%3E");
}
.cta-navy .hp-form ::placeholder { color: rgba(247, 246, 241, 0.6); }
.cta-navy .hp-form button { background: var(--white); color: var(--navy); }

/* ---------- Page intro (interior pages) ---------- */
.page-title {
  font-size: clamp(3rem, 7vw, 5.2rem);
  margin: 40px 0 48px;
}
.lede {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  line-height: 1.35;
  font-weight: 400;
}

/* ---------- What We Do ---------- */
.wwd-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
}
.wwd-pillars h3 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 14px;
}
.statement {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  line-height: 1.4;
  margin-bottom: 28px;
}

/* ---------- How We Help — process ---------- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.process-card { text-align: center; }
.process-card img { width: 100%; aspect-ratio: 4 / 4.4; object-fit: cover; }
.process-card h3 { font-size: 1.8rem; margin: 28px 0 14px; }
.process-card p { text-align: left; }

/* ---------- Team / direct contact ---------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 340px));
  gap: 48px;
  justify-content: center;
}
.team-card { text-align: center; }
.team-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
.team-card h3 { font-size: 1.7rem; margin: 22px 0 6px; }
.team-card a { text-decoration: none; font-size: 1.1rem; }
.team-card a:hover { text-decoration: underline; }

/* ---------- Footer ---------- */
.site-footer {
  padding: 72px 0 56px;
}
.site-footer .wrap {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
}
.site-footer .brand {
  font-family: var(--font-display);
  font-size: 1.8rem;
}
.site-footer .disclaimer {
  max-width: 480px;
  font-size: 0.9rem;
  text-align: right;
  opacity: 0.85;
}

/* ---------- Mobile ---------- */
@media (max-width: 880px) {
  .nav-toggle { display: block; }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg);
    padding: 12px 24px 32px;
    border-bottom: 1px solid var(--line);
  }
  .site-nav.open { display: flex; flex-direction: column; gap: 4px; }
  .site-nav a { margin: 10px 0; font-size: 1.3rem; }

  .section { padding: 64px 0; }
  .split, .faq-grid, .wwd-pillars, .process-grid, .testimonial-grid {
    grid-template-columns: 1fr;
  }
  .split { gap: 40px; }
  .faq-grid { gap: 32px; }
  .testimonial-card { padding: 56px 28px; }
  .hp-form .row { grid-template-columns: 1fr; gap: 0; }
  .hero { min-height: 78vh; }
  .site-footer .wrap { flex-direction: column; }
  .site-footer .disclaimer { text-align: left; }
}
