/* ============================================================
   DMP marketing site — shared layout & components
   Tokens come from ../colors_and_type.css (loaded per page).
   ============================================================ */

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body { background: var(--cream); color: var(--ink); font-family: var(--sans);
  font-size: var(--fs-body); line-height: var(--lh-body); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
p, h1, h2, h3, h4, h5, blockquote, .btn, .chip, .note, .card { overflow-wrap: break-word; }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 32px; }
.hero__grid, .why, .split, .contact, .svc-grid, .steps, .tst-grid, .posts, .areas, .cards,
.stats, .ft__grid, .fld-row { min-width: 0; }
.hero__grid > *, .why > *, .split > *, .contact > *, .svc-grid > *, .steps > *,
.tst-grid > *, .posts > *, .areas > *, .cards > *, .stats > *, .ft__grid > *,
.fld-row > * { min-width: 0; }
.wrap--narrow { max-width: 820px; }
.section { padding: 84px 0; }
.section--tight { padding: 54px 0; }
.bg-bluegray { background: var(--bluegray); }
.bg-cream { background: var(--cream); }
.bg-cream-deep { background: var(--cream-deep); }
.bg-white { background: var(--white); }
.bg-navy { background: var(--navy); color: var(--cream); }
.center { text-align: center; }
.mt-0 { margin-top: 0; }

/* ---------- generic type helpers ---------- */
.lead { font-size: var(--fs-lead); line-height: var(--lh-lead); color: var(--ink-2); }
.bg-navy .lead { color: rgba(247,242,233,.8); }
.eyebrow { font-family: var(--sans); font-size: var(--fs-eyebrow); font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase; color: var(--teal-deep); margin: 0; }
.eyebrow--brass { color: var(--brass-deep); }
.eyebrow--light { color: var(--aqua); }
.eyebrow--center { display: inline-flex; align-items: center; gap: 12px; }
.eyebrow--center::before, .eyebrow--center::after { content:""; width: 28px; height: 1px; background: var(--brass-soft); }
.bg-navy .eyebrow--center::before, .bg-navy .eyebrow--center::after { background: rgba(174,233,232,.5); }

/* ---------- icons (lucide) ---------- */
.lucide, [data-lucide] { stroke-width: 1.75; }

/* ---------- buttons ---------- */
.btn { font-family: var(--sans); font-weight: 600; font-size: 15.5px; border-radius: var(--r-md);
  padding: 14px 26px; border: 1.5px solid transparent; cursor: pointer; display: inline-flex;
  align-items: center; gap: 9px; transition: all .16s ease; text-decoration: none; line-height: 1;
  white-space: nowrap; justify-content: center; }
.btn svg { width: 18px; height: 18px; }
.btn .ar { transition: transform .2s ease; }
.btn:hover .ar { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--navy); color: #fff; }
.btn--primary:hover { background: var(--navy-soft); box-shadow: var(--sh-md); }
.btn--brass { background: var(--brass); color: #fff; }
.btn--brass:hover { background: var(--brass-deep); box-shadow: var(--sh-md); }
.btn--teal { background: var(--teal); color: #fff; }
.btn--teal:hover { background: var(--teal-deep); }
.btn--ghost { background: transparent; color: var(--navy); border-color: var(--bluegray-2); }
.btn--ghost:hover { border-color: var(--navy); }
.btn--ghost-light { background: transparent; color: var(--cream); border-color: rgba(247,242,233,.35); }
.btn--ghost-light:hover { border-color: var(--cream); }
.btn--sm { padding: 10px 18px; font-size: 14px; }
.btn--lg { padding: 16px 30px; font-size: 16.5px; }

/* ---------- header ---------- */
.hdr { position: sticky; top: 0; z-index: 60; background: rgba(247,242,233,.85);
  backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.hdr__in { display: flex; align-items: center; justify-content: space-between; height: 78px; gap: 24px; }
.hdr__logo { height: 38px; }
.hdr__logo img { height: 100%; width: auto; }
.hdr__nav { display: flex; align-items: center; gap: 22px; }
.hdr__item { position: relative; }
.hdr__link { font-family: var(--sans); font-size: 15px; font-weight: 500; color: var(--ink);
  background: none; border: none; cursor: pointer; padding: 6px 0; position: relative;
  text-decoration: none; display: inline-flex; align-items: center; gap: 5px; }
.hdr__link svg { width: 15px; height: 15px; opacity: .6; }
.hdr__link:hover { color: var(--navy); }
.hdr__link.is-active { color: var(--navy); }
.hdr__link.is-active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -3px;
  height: 2px; background: var(--brass); }
.hdr__right { display: flex; align-items: center; gap: 18px; }
.hdr__phone { font-family: var(--sans); font-weight: 600; font-size: 15px; color: var(--navy);
  text-decoration: none; display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.hdr__phone svg { width: 16px; height: 16px; }

/* dropdown */
.hdr__menu { position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(8px);
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md);
  box-shadow: var(--sh-md); padding: 8px; min-width: 248px; opacity: 0; visibility: hidden;
  transition: opacity .16s ease, transform .16s ease; z-index: 70; }
.hdr__item:hover .hdr__menu, .hdr__item:focus-within .hdr__menu {
  opacity: 1; visibility: visible; transform: translateX(-50%) translateY(4px); }
.hdr__menu a { display: block; padding: 10px 14px; border-radius: var(--r-sm); font-size: 14.5px;
  color: var(--ink); text-decoration: none; }
.hdr__menu a small { display: block; color: var(--ink-3); font-size: 12.5px; margin-top: 2px; }
.hdr__menu a:hover { background: var(--aqua-soft); color: var(--navy); }

/* hamburger */
.hdr__burger { display: none; background: none; border: none; cursor: pointer; color: var(--navy); padding: 6px; }
.hdr__burger svg { width: 26px; height: 26px; }

/* ---------- page hero band (interior pages) ---------- */
.phero { padding: 48px 0 46px; }
.phero .eyebrow { margin-bottom: 14px; }
.phero h1 { font-family: var(--serif); color: var(--navy); font-weight: 700;
  font-size: clamp(38px, 5vw, 52px); line-height: 1.06; letter-spacing: -.02em; margin: 0; text-wrap: balance; }
.phero p { font-size: var(--fs-lead); line-height: var(--lh-lead); color: var(--ink-2); margin: 16px 0 0; max-width: 640px; }
.phero--center { text-align: center; }
.phero--center p { margin-left: auto; margin-right: auto; }
.phero--center .eyebrow--center { justify-content: center; }
.phero__cta { display: flex; gap: 14px; margin-top: 24px; flex-wrap: wrap; }
.phero--center .phero__cta { justify-content: center; }

/* ---------- home hero ---------- */
.hero { padding: 56px 0 58px; }
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.hero h1 { font-family: var(--serif); color: var(--navy); font-weight: 700; font-size: clamp(40px, 5.2vw, 60px);
  line-height: 1.04; letter-spacing: -.02em; margin: 18px 0 0; text-wrap: balance; }
.hero p { font-size: 19px; line-height: 1.58; color: var(--ink-2); margin: 18px 0 0; max-width: 520px; }
.hero__cta { display: flex; gap: 14px; margin-top: 24px; flex-wrap: wrap; }
.hero__proof { display: flex; align-items: center; gap: 12px; margin-top: 22px; flex-wrap: wrap; }
.hero__stars { color: var(--brass); font-size: 18px; letter-spacing: 2px; }
.hero__proof b { color: var(--navy); }
.hero__proof span { color: var(--ink-3); font-size: 14.5px; }
.hero__proof .hero__stars { color: var(--brass); font-size: 18px; }
.hero__img { height: 430px; box-shadow: var(--sh-lg); }

/* ---------- photo panels (calm brand treatment, no patterned artifacts) ---------- */
.photo { position: relative; background: var(--navy-deep); border: 1px solid rgba(247,242,233,.14);
  border-radius: var(--r-lg); overflow: hidden; display: flex; align-items: center;
  justify-content: center; color: rgba(247,242,233,.66); min-height: 200px; }
.photo::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(247,242,233,.06); }
.photo__lbl { position: relative; display: flex; flex-direction: column; align-items: center;
  gap: 8px; font-family: var(--sans); font-size: 11.5px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; text-align: center; padding: 16px; }
.photo__lbl svg { width: 22px; height: 22px; opacity: .45; }
.photo--soft { background: var(--bluegray); border-color: var(--line-cool); color: var(--ink-3); }
.photo--soft::after { box-shadow: inset 0 0 0 1px rgba(20,48,74,.04); }
.photo.has-img { background-color: var(--navy-deep); background-repeat: no-repeat; background-size: cover; background-position: center; align-items: flex-end; justify-content: flex-start; }
.photo.has-img::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,48,74,0) 42%, rgba(20,48,74,.62) 100%); pointer-events: none; }
.photo.has-img .photo__lbl { margin: 18px; padding: 9px 12px; border-radius: var(--r-sm); background: rgba(20,48,74,.74); color: var(--cream); letter-spacing: .08em; backdrop-filter: blur(3px); box-shadow: 0 8px 20px rgba(20,48,74,.16); }
.photo.has-img .photo__lbl svg { display: none; }
.photo--banner { min-height: 320px; box-shadow: var(--sh-md); }

/* ---------- section header ---------- */
.sh { max-width: 660px; }
.sh.center { margin: 0 auto; }
.sh h2 { font-family: var(--serif); color: var(--navy); font-weight: 600; font-size: var(--fs-h2);
  line-height: var(--lh-h2); letter-spacing: -.01em; margin: 14px 0 0; text-wrap: balance; }
.bg-navy .sh h2 { color: var(--cream); }
.sh p { font-size: var(--fs-lead); line-height: var(--lh-lead); color: var(--ink-2); margin: 14px 0 0; }
.bg-navy .sh p { color: rgba(247,242,233,.78); }

/* ---------- stat bar ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { text-align: center; padding: 8px; }
.stat__n { font-family: var(--serif); font-weight: 700; font-size: 42px; color: var(--navy); line-height: 1; }
.bg-navy .stat__n { color: var(--cream); }
.stat__l { font-family: var(--sans); font-size: 14px; color: var(--ink-2); margin-top: 8px; letter-spacing: .02em; }
.bg-navy .stat__l { color: rgba(247,242,233,.72); }

/* ---------- service grid ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 48px; }
.svc-grid--4 { grid-template-columns: repeat(4, 1fr); }
.svc { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md);
  box-shadow: var(--sh-sm); padding: 26px; transition: all .18s ease; text-align: left;
  text-decoration: none; display: block; color: inherit; }
a.svc:hover { box-shadow: var(--sh-md); transform: translateY(-3px); }
.svc__photo { height: 146px; margin: -26px -26px 22px; border-radius: var(--r-md) var(--r-md) 0 0; background-size: cover; background-position: center; border-bottom: 1px solid var(--line); }
.svc__ic { width: 50px; height: 50px; border-radius: var(--r-sm); background: var(--aqua-soft);
  display: flex; align-items: center; justify-content: center; color: var(--teal-deep); margin-bottom: 18px; }
.svc__ic svg { width: 26px; height: 26px; }
.svc h3 { font-family: var(--serif); font-size: 22px; color: var(--navy); margin: 0 0 8px; font-weight: 600; }
.svc p { font-family: var(--sans); font-size: 15px; color: var(--ink-2); margin: 0 0 16px; line-height: 1.55; }
.svc__lnk { font-family: var(--sans); font-size: 14.5px; font-weight: 600; color: var(--teal-deep);
  display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.svc__lnk .ar { color: var(--brass-deep); }

/* ---------- process steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; margin-top: 52px; }
.step__n { font-family: var(--serif); font-size: 17px; font-weight: 700; color: var(--brass-deep);
  width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--brass-soft);
  display: flex; align-items: center; justify-content: center; background: var(--cream); }
.bg-bluegray .step__n { background: var(--bluegray); }
.step h4 { font-family: var(--serif); font-size: 20px; color: var(--navy); margin: 18px 0 7px; font-weight: 600; }
.step p { font-family: var(--sans); font-size: 14.5px; color: var(--ink-2); line-height: 1.55; margin: 0; }

/* ---------- split (text + image) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split--text-first .split__img { order: 2; }
.split__img { height: 390px; }
.split h2 { margin-top: 14px; }
.split p { margin-top: 16px; color: var(--ink-2); }

/* ---------- feature ticks ---------- */
.ticks { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 28px; margin: 26px 0 0; padding: 0; list-style: none; }
.ticks--1 { grid-template-columns: 1fr; }
.ticks li { display: flex; gap: 11px; align-items: flex-start; font-size: 15.5px; color: var(--ink); }
.ticks li svg { width: 19px; height: 19px; color: var(--teal-deep); flex: none; margin-top: 2px; }

/* ---------- why list ---------- */
.why { display: grid; grid-template-columns: .95fr 1.05fr; gap: 48px; align-items: center; }
.why__img { height: 400px; }
.why__list { display: flex; flex-direction: column; gap: 18px; margin-top: 26px; }
.why__item { display: flex; gap: 14px; align-items: flex-start; }
.why__ic { flex: none; width: 38px; height: 38px; border-radius: var(--r-sm); background: var(--navy);
  color: var(--aqua); display: flex; align-items: center; justify-content: center; }
.why__ic svg { width: 19px; height: 19px; }
.why__item h4 { font-family: var(--sans); font-size: 16.5px; font-weight: 600; color: var(--navy); margin: 0 0 3px; }
.why__item p { font-family: var(--sans); font-size: 14.5px; color: var(--ink-2); margin: 0; line-height: 1.5; }

/* ---------- value cards (PRAISE etc) ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 48px; }
.cards--2 { grid-template-columns: repeat(2, 1fr); }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md);
  box-shadow: var(--sh-sm); padding: 28px; }
.card__ic { width: 46px; height: 46px; border-radius: var(--r-sm); background: var(--navy); color: var(--aqua);
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.card__ic svg { width: 22px; height: 22px; }
.card__k { font-family: var(--serif); font-size: 30px; font-weight: 700; color: var(--brass-deep); line-height: 1; }
.card h3, .card h4 { font-family: var(--serif); font-size: 20px; color: var(--navy); margin: 12px 0 8px; font-weight: 600; }
.card p { font-size: 14.5px; color: var(--ink-2); margin: 0; line-height: 1.55; }

/* ---------- timeline ---------- */
.timeline { margin-top: 48px; border-left: 2px solid var(--brass-soft); padding-left: 34px;
  display: flex; flex-direction: column; gap: 40px; }
.tl { position: relative; }
.tl::before { content: ""; position: absolute; left: -42px; top: 4px; width: 14px; height: 14px;
  border-radius: 50%; background: var(--brass); box-shadow: 0 0 0 4px var(--cream); }
.bg-bluegray .tl::before { box-shadow: 0 0 0 4px var(--bluegray); }
.tl h3 { font-family: var(--serif); font-size: 23px; color: var(--navy); margin: 0 0 8px; font-weight: 600; }
.tl .tl__yr { font-family: var(--sans); font-size: 13px; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; color: var(--teal-deep); margin-bottom: 4px; }
.tl p { color: var(--ink-2); margin: 0; }

/* ---------- testimonials ---------- */
.tst-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 48px; }
.tst { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 26px; box-shadow: var(--sh-sm); display: flex; flex-direction: column; }
.tst__stars { color: var(--brass); font-size: 16px; letter-spacing: 2px; margin-bottom: 14px; }
.tst__q { font-family: var(--serif); font-size: 17.5px; line-height: 1.55; color: var(--ink);
  font-weight: 400; margin: 0 0 18px; flex: 1; }
.tst__who { font-family: var(--sans); font-size: 14px; color: var(--ink-3); }
.tst__who b { color: var(--navy); display: block; font-size: 14.5px; font-weight: 600; }
.tst__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.tst__src { flex: none; display: inline-flex; align-items: center; gap: 7px; font-family: var(--sans);
  font-size: 12px; font-weight: 500; color: var(--ink-3); white-space: nowrap; }
.tst__src svg { width: 17px; height: 17px; display: block; }
.reviews-cta { display: flex; flex-direction: column; align-items: center; gap: 14px; margin-top: 44px; }
.reviews-cta .gmark { display: inline-flex; align-items: center; gap: 9px; font-family: var(--sans);
  font-size: 14.5px; color: var(--ink-2); }
.reviews-cta .gmark svg { width: 20px; height: 20px; }
.reviews-cta .gmark b { color: var(--navy); font-weight: 600; }

/* ---------- chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 9px; margin: 0; padding: 0; list-style: none; }
.chip { font-family: var(--sans); font-size: 13.5px; font-weight: 500; padding: 8px 16px;
  border-radius: var(--r-pill); background: var(--aqua-soft); color: var(--teal-deep); }
.chip--line { background: transparent; border: 1px solid var(--line-cool); color: var(--ink-2); }

/* ---------- callout (festool / note) ---------- */
.callout { background: var(--white); border: 1px solid var(--line); border-left: 3px solid var(--brass);
  border-radius: var(--r-md); padding: 30px 32px; box-shadow: var(--sh-sm); }
.callout h3 { font-family: var(--serif); color: var(--navy); margin: 0 0 10px; font-size: 23px; }
.callout p:last-child { margin-bottom: 0; }
.note { background: var(--aqua-soft); border: 1px dashed var(--teal-soft); border-radius: var(--r-md);
  padding: 16px 20px; font-size: 14px; color: var(--teal-deep); margin: 24px 0 0; }
.note b { color: var(--navy); }

/* ---------- FAQ accordion ---------- */
.faq { max-width: 860px; margin: 44px auto 0; display: flex; flex-direction: column; gap: 12px; }
.faq__item { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.faq__q { width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  font-family: var(--serif); font-size: 18.5px; color: var(--navy); font-weight: 600;
  padding: 20px 24px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq__q svg { width: 20px; height: 20px; color: var(--brass-deep); transition: transform .2s ease; flex: none; }
.faq__item.is-open .faq__q svg { transform: rotate(45deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .26s ease; }
.faq__a-in { padding: 0 24px 22px; color: var(--ink-2); font-size: 15.5px; line-height: 1.6; }

/* ---------- blog cards ---------- */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.post { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md);
  box-shadow: var(--sh-sm); overflow: hidden; display: flex; flex-direction: column; transition: all .18s ease; }
.post:hover { box-shadow: var(--sh-md); transform: translateY(-3px); }
.post .photo { border-radius: 0; min-height: 0; height: 178px; }
.post__bd { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.post__cat { font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; color: var(--teal-deep); }
.post__t { font-family: var(--serif); font-size: 20px; color: var(--navy); font-weight: 600;
  margin: 10px 0 0; line-height: 1.25; flex: 1; }
.post__date { font-size: 13px; color: var(--ink-3); margin-top: 14px; }

/* ---------- areas grid ---------- */
.areas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.area { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md);
  box-shadow: var(--sh-sm); padding: 24px 26px; text-decoration: none; color: inherit; transition: all .18s ease;
  display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.area:hover { box-shadow: var(--sh-md); transform: translateY(-3px); }
.area h3 { font-family: var(--serif); font-size: 21px; color: var(--navy); margin: 0; font-weight: 600; }
.area p { font-size: 13.5px; color: var(--ink-3); margin: 4px 0 0; }
.area svg { color: var(--brass-deep); width: 20px; height: 20px; flex: none; }

/* ---------- contact layout ---------- */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact__info { display: flex; flex-direction: column; gap: 22px; }
.cinfo { display: flex; gap: 16px; align-items: flex-start; }
.cinfo__ic { flex: none; width: 44px; height: 44px; border-radius: var(--r-sm); background: var(--navy);
  color: var(--aqua); display: flex; align-items: center; justify-content: center; }
.cinfo__ic svg { width: 20px; height: 20px; }
.cinfo h4 { font-family: var(--sans); font-size: 13px; font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; color: var(--ink-3); margin: 0 0 4px; }
.cinfo a, .cinfo p { font-size: 16.5px; color: var(--ink); margin: 0; text-decoration: none; }
.cinfo a:hover { color: var(--teal-deep); }
.formcard { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--sh-md); padding: 32px; }

/* ---------- form fields ---------- */
.fld { margin-bottom: 16px; }
.fld label { font-family: var(--sans); font-size: 13px; font-weight: 600; color: var(--ink-2);
  display: block; margin-bottom: 6px; }
.fld input, .fld select, .fld textarea { font-family: var(--sans); font-size: 15px; color: var(--ink);
  width: 100%; padding: 12px 14px; border-radius: var(--r-sm); border: 1px solid var(--bluegray-2);
  background: var(--white); }
.fld input:focus, .fld select:focus, .fld textarea:focus { outline: none; border-color: var(--teal);
  box-shadow: var(--ring); }
.fld-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ---------- closing CTA ---------- */
.cta { text-align: center; padding: 96px 0; }
.cta h2 { font-family: var(--serif); font-weight: 700; font-size: clamp(32px, 4vw, 44px); color: var(--cream);
  letter-spacing: -.015em; margin: 16px auto 0; max-width: 640px; line-height: 1.1; }
.cta p { font-size: 19px; color: rgba(247,242,233,.8); margin: 18px auto 0; max-width: 520px; }
.cta__row { display: flex; gap: 14px; justify-content: center; margin-top: 34px; flex-wrap: wrap; }

/* ---------- footer ---------- */
.ft { background: var(--navy-deep); color: rgba(247,242,233,.7); padding: 64px 0 36px; }
.ft__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 36px; min-width: 0; }
.ft__logo { height: 40px; margin-bottom: 18px; }
.ft p { font-size: 14.5px; line-height: 1.6; margin: 0 0 8px; }
.ft__social { display: flex; gap: 12px; margin-top: 18px; }
.ft__social a { width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(247,242,233,.22);
  display: flex; align-items: center; justify-content: center; color: rgba(247,242,233,.75); }
.ft__social a:hover { background: rgba(247,242,233,.12); color: var(--cream); }
.ft__social svg { width: 17px; height: 17px; }
.ft h5 { font-family: var(--sans); font-size: 13px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--aqua); margin: 0 0 16px; font-weight: 600; }
.ft a { color: rgba(247,242,233,.7); text-decoration: none; }
.ft__col a { display: block; font-size: 14.5px; padding: 5px 0; }
.ft__col a:hover { color: var(--cream); }
.ft__bottom { border-top: 1px solid rgba(247,242,233,.14); margin-top: 44px; padding-top: 24px;
  display: flex; justify-content: space-between; gap: 16px; font-size: 13px; color: rgba(247,242,233,.5); flex-wrap: wrap; }

/* ---------- modal ---------- */
.modal__ov { position: fixed; inset: 0; background: rgba(14,36,54,.55); backdrop-filter: blur(3px);
  z-index: 200; display: none; align-items: center; justify-content: center; padding: 24px; }
.modal__ov.is-open { display: flex; }
.modal { background: var(--cream); border-radius: var(--r-lg); width: 100%; max-width: 560px;
  box-shadow: var(--sh-lg); overflow: hidden; animation: pop .26s cubic-bezier(.22,.61,.36,1); }
@keyframes pop { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.modal__hd { background: var(--navy); color: var(--cream); padding: 26px 30px; position: relative; }
.modal__hd h3 { font-family: var(--serif); font-size: 25px; margin: 6px 0 0; color: var(--cream); font-weight: 600; }
.modal__hd p { font-size: 14.5px; color: rgba(247,242,233,.78); margin: 6px 0 0; }
.modal__x { position: absolute; top: 20px; right: 20px; background: rgba(247,242,233,.12); border: none;
  color: var(--cream); width: 34px; height: 34px; border-radius: 50%; cursor: pointer; display: flex;
  align-items: center; justify-content: center; }
.modal__x:hover { background: rgba(247,242,233,.24); }
.modal__bd { padding: 28px 30px 30px; }
.modal__done { text-align: center; padding: 12px 0 8px; display: none; }
.modal__done .ic { width: 64px; height: 64px; border-radius: 50%; background: #E4EFE8; color: var(--success);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 18px; }
.modal__done h3 { font-family: var(--serif); font-size: 26px; color: var(--navy); margin: 0 0 8px; }
.modal__done p { font-size: 15px; color: var(--ink-2); margin: 0 auto; max-width: 360px; }

/* ---------- misc ---------- */
.prose p { color: var(--ink-2); }
.prose h2 { margin-top: 8px; }
.divider { height: 1px; background: var(--line); border: 0; margin: 0; }
.pull { font-family: var(--serif); font-size: clamp(24px, 3vw, 32px); line-height: 1.3; color: var(--navy);
  font-weight: 500; text-wrap: balance; }
.pull cite { display: block; font-family: var(--sans); font-style: normal; font-size: 15px;
  color: var(--ink-3); margin-top: 18px; font-weight: 600; }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .hero__grid, .why, .split, .contact { grid-template-columns: 1fr; gap: 36px; }
  .split--text-first .split__img { order: 0; }
  .hero__img, .why__img, .split__img { height: 320px; }
  .svc-grid, .svc-grid--4, .steps, .tst-grid, .posts, .areas, .cards { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .ft__grid { grid-template-columns: 1.2fr 1fr; }
}
@media (max-width: 1100px) {
  .hdr__nav { position: fixed; top: 78px; left: 0; right: 0; background: var(--cream);
    border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 0;
    padding: 12px 24px 20px; box-shadow: var(--sh-md); display: none; max-height: calc(100vh - 78px); overflow-y: auto; }
  .hdr__nav.is-open { display: flex; }
  .hdr__item { width: 100%; }
  .hdr__link { padding: 12px 0; font-size: 16px; width: 100%; }
  .hdr__menu { position: static; transform: none; opacity: 1; visibility: visible; box-shadow: none;
    border: none; padding: 0 0 8px 14px; min-width: 0; }
  .hdr__item:hover .hdr__menu, .hdr__item:focus-within .hdr__menu { transform: none; }
  .hdr__right .hdr__phone { display: none; }
  .hdr__burger { display: inline-flex; }
  .section { padding: 64px 0; }
  .phero { padding: 40px 0 40px; }
  .phero .lead + .lead { display: none; }
  .split { gap: 34px; }
  .hero__img, .why__img, .split__img { height: 300px; }
}
@media (max-width: 600px) {
  .wrap { padding: 0 20px; }
  .svc-grid, .svc-grid--4, .steps, .tst-grid, .posts, .areas, .cards, .cards--2, .ticks, .fld-row { grid-template-columns: 1fr; }
  .hdr__in { height: 72px; gap: 12px; }
  .hdr__logo { height: 30px; }
  .hdr__right { gap: 10px; }
  .hdr__right .btn { padding: 11px 15px; font-size: 13px; }
  .hdr__burger { padding: 8px; }
  .hdr__nav { top: 72px; max-height: calc(100vh - 72px); padding: 10px 20px 18px; }
  .hero { padding: 36px 0 42px; }
  .hero h1 { font-size: clamp(36px, 11vw, 43px); line-height: 1.03; }
  .hero p { font-size: 17px; line-height: 1.5; }
  .hero p:not(.eyebrow) { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 5; overflow: hidden; }
  .hero__cta, .phero__cta, .cta__row { flex-direction: column; align-items: stretch; }
  .hero__cta .btn, .phero__cta .btn, .cta__row .btn { width: 100%; white-space: normal; }
  .btn { max-width: 100%; white-space: normal; }
  .hero__proof { align-items: flex-start; gap: 8px 10px; }
  .hero__proof span:last-child { flex-basis: 100%; }
  .hero__img, .why__img, .split__img { height: 230px; }
  .hero__img { display: none; }
  .phero { padding: 32px 0 34px; }
  .phero h1 { font-size: clamp(34px, 10vw, 40px); line-height: 1.06; }
  .phero p, .lead, .sh p { font-size: 17px; line-height: 1.5; }
  .phero .lead { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 5; overflow: hidden; }
  .phero .split__img { display: none; }
  .section { padding: 48px 0; }
  .section--tight { padding: 36px 0; }
  .svc-grid, .steps, .tst-grid, .posts, .areas, .cards { margin-top: 32px; }
  .faq { margin-top: 32px; }
  .faq__q { padding: 18px 18px; font-size: 17px; }
  .faq__a-in { padding: 0 18px 20px; }
  .svc, .card, .tst, .formcard, .callout { padding: 22px; }
  .stats { gap: 24px 14px; }
  .stat__n { font-size: 34px; }
  .card__k { font-size: 42px; }
  .chips { gap: 8px; }
  .chip { padding: 7px 12px; font-size: 13px; }
  .ft { padding: 52px 0 30px; }
  .ft__grid { grid-template-columns: 1fr; gap: 28px; }
  .ft__col a { padding: 6px 0; }
  .ft__bottom { display: block; }
  .ft__bottom span { display: block; margin-top: 8px; }
  .modal__ov { align-items: flex-start; padding: 12px; overflow-y: auto; }
  .modal__hd { padding: 24px 22px; }
  .modal__bd { padding: 24px 22px 26px; }
}

@media (max-width: 360px) {
  .wrap { padding: 0 16px; }
  .hdr__right .btn { display: none; }
  .hero h1 { font-size: 34px; }
  .phero h1 { font-size: 32px; }
  .btn { padding-left: 18px; padding-right: 18px; }
  .phero .lead, .hero p:not(.eyebrow) { -webkit-line-clamp: 4; }
}
