/* Canopy Site Redesign — canopy-site.css
   Every class prefixed cs- to avoid collisions with Divi/cpm26 */

/* ── Tokens ─────────────────────────────────────────────────────── */
:root {
  --cs-navy-900: #0f1d31;
  --cs-navy-800: #13233a;
  --cs-navy-700: #182b45;
  --cs-ink: #1c2b40;
  --cs-muted: #4d5e75;
  --cs-soft: #5a6b82;
  --cs-line: #e3e9f1;
  --cs-line-dark: #d5dde8;
  --cs-wash: #f2f5f9;
  --cs-cream: #fbf6f0;
  --cs-cream-border: #f0e4d6;
  --cs-orange: #e77830;
  --cs-orange-light: #f3a56f;
  --cs-orange-text: #a84a14;
  --cs-btn: #c2561b;
  --cs-on-navy: #c6d2e2;
  --cs-on-navy-sm: #b9c6d8;
  --cs-on-navy-fine: #8fa1ba;
  --cs-serif: 'Source Serif 4', Georgia, serif;
  --cs-sans: Inter, system-ui, -apple-system, sans-serif;
  --cs-radius-card: 20px;
  --cs-radius-btn: 999px;
  --cs-radius-input: 12px;
  --cs-header-h: 78px;
}

/* ── Reset ───────────────────────────────────────────────────────── */
.cs-header, .cs-footer,
[class^="cs-page-"] { font-family: var(--cs-sans); color: var(--cs-ink); box-sizing: border-box; }
[class^="cs-page-"] *, .cs-header *, .cs-footer * { box-sizing: border-box; }
/* Defensive: template bodies unconstrained */
[class^="cs-page-"] { width: 100%; max-width: none; margin: 0; }

/* Focus ring: keyboard only, never after mouse click */
.cs-header a:focus, .cs-header button:focus,
.cs-footer a:focus { outline: none !important; }
.cs-header a:focus-visible, .cs-header button:focus-visible,
.cs-footer a:focus-visible {
  outline: 3px solid rgba(231,120,48,.45) !important; outline-offset: 3px; border-radius: 4px;
}

/* ── Container ───────────────────────────────────────────────────── */
.cs-container { max-width: 1200px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }

/* ── Header v2 — sticky ──────────────────────────────────────────── */
.cs-header {
  background: #fff; border-bottom: 1px solid var(--cs-line);
  position: sticky; top: 0; z-index: 9999;
  transition: background .3s, box-shadow .3s, backdrop-filter .3s;
}
.cs-header.is-scrolled {
  background: rgba(255,255,255,.92);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  backdrop-filter: saturate(1.4) blur(12px);
  box-shadow: 0 1px 0 #e3e9f1, 0 8px 24px -16px rgba(15,29,49,.18);
}
.cs-header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; height: 78px;
}
#team { scroll-margin-top: 96px; }
html { scroll-padding-top: 96px; }

/* Left group: logo + nav */
.cs-header-left { display: flex; align-items: center; gap: 44px; min-width: 0; }
.cs-logo { display: flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.cs-logo-img { height: 40px; width: auto; display: block; }

/* Nav */
.cs-nav { display: flex; align-items: center; gap: 30px; font: 500 15px/1 var(--cs-sans); }
.cs-nav-link {
  text-decoration: none; color: var(--cs-ink); display: flex; align-items: center; gap: 6px;
  padding: 4px 0; border: 0; background: none; font: inherit; cursor: pointer; white-space: nowrap;
}
.cs-nav-link:hover { color: var(--cs-btn); }
.cs-nav-active { color: var(--cs-navy-800); font-weight: 600; border-bottom: 2px solid var(--cs-orange); padding-bottom: 2px; }

/* Right group: phone + CTA + hamburger */
.cs-header-right { display: flex; align-items: center; gap: 24px; flex-shrink: 0; }
.cs-header-phone { display: flex; flex-direction: column; align-items: flex-end; }
.cs-header-phone-num { font: 600 15px/1.2 var(--cs-sans); color: var(--cs-navy-800); text-decoration: none; }
.cs-header-phone-hours { font-size: 11px; color: #6a7a90; margin-top: 2px; }
.cs-btn-header { padding: 11px 22px; min-height: auto; font-size: 14px; }

/* Mega button */
.cs-mega-wrap { position: relative; }
.cs-mega-btn svg { transition: transform .2s; }
.cs-mega-btn[aria-expanded="true"] svg { transform: rotate(180deg); }

/* Mega panel */
.cs-mega-panel {
  position: absolute; left: 0; right: 0; top: 100%; z-index: 9998;
  background: #fff; border-top: 1px solid var(--cs-line);
  box-shadow: 0 30px 60px -30px rgba(15,29,49,.45);
  opacity: 0; transform: translateY(-6px); pointer-events: none;
  transition: opacity .15s, transform .15s;
}
.cs-mega-panel[aria-hidden="false"] { opacity: 1; transform: none; pointer-events: auto; }
.cs-mega-inner { display: flex; gap: 32px; padding-top: 28px; padding-bottom: 32px; }
.cs-mega-grid { flex: 1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.cs-mega-tile {
  display: flex; align-items: flex-start; gap: 12px; padding: 12px; border-radius: 12px;
  text-decoration: none; color: var(--cs-ink); transition: background .12s;
}
.cs-mega-tile:hover { background: #f5f7fa; }
.cs-mega-icon {
  flex: none; width: 40px; height: 40px; border-radius: 10px; background: #fff3ea;
  display: flex; align-items: center; justify-content: center; font-size: 20px;
}
.cs-mega-tile strong { display: block; font: 600 15px/1.3 var(--cs-sans); color: var(--cs-navy-800); }
.cs-mega-tile span { display: block; font-size: 13px; color: var(--cs-muted); line-height: 1.4; margin-top: 2px; }
.cs-mega-rescue {
  flex: 0 0 300px;
  background: radial-gradient(400px 200px at 100% 0, rgba(231,120,48,.16), transparent 60%), var(--cs-navy-800);
  border-radius: 18px; padding: 28px; color: #fff;
}
.cs-mega-rescue-kicker { font: 800 11px/1 var(--cs-sans); letter-spacing: 1.6px; text-transform: uppercase; color: #f3a56f; }
.cs-mega-rescue-heading { font: 600 22px/1.25 var(--cs-serif); color: #fff; margin: 12px 0 8px; }
.cs-mega-rescue-desc { font-size: 14px; color: #c6d2e2; line-height: 1.55; margin: 0 0 16px; }
.cs-mega-rescue-link { font: 600 14px/1 var(--cs-sans); color: #f3a56f; text-decoration: none; }

/* Hamburger */
.cs-hamburger {
  display: none; background: none; border: 0; cursor: pointer; padding: 8px;
  width: 44px; height: 44px; position: relative;
}
.cs-hamburger span {
  display: block; width: 22px; height: 2px; background: var(--cs-ink);
  position: absolute; left: 11px; transition: transform .2s, opacity .2s;
}
.cs-hamburger span:nth-child(1) { top: 14px; }
.cs-hamburger span:nth-child(2) { top: 21px; }
.cs-hamburger span:nth-child(3) { top: 28px; }
.cs-hamburger[aria-expanded="true"] span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.cs-hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.cs-hamburger[aria-expanded="true"] span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* Mobile menu */
.cs-mobile-menu {
  display: none; position: fixed; top: 64px; left: 0; right: 0; bottom: 0;
  background: #fff; z-index: 9997; overflow-y: auto; -webkit-overflow-scrolling: touch;
}
.cs-mobile-menu[aria-hidden="false"] { display: block; }
.cs-mobile-menu-inner { padding: 8px 24px 40px; }
.cs-mobile-link {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 0; border-bottom: 1px solid var(--cs-line);
  font: 500 16px/1 var(--cs-sans); color: var(--cs-ink); text-decoration: none;
  min-height: 44px; cursor: pointer; list-style: none;
}
.cs-mobile-link::-webkit-details-marker { display: none; }
.cs-mobile-accordion { border-bottom: 1px solid var(--cs-line); }
.cs-mobile-accordion summary { border-bottom: 0; }
.cs-mobile-accordion[open] summary svg { transform: rotate(180deg); }
.cs-mobile-accordion-body { padding: 0 0 12px; }
.cs-mobile-accordion-body a {
  display: block; padding: 10px 0 10px 8px; font-size: 15px; color: var(--cs-ink);
  text-decoration: none; border-bottom: 1px solid #f0f3f7;
}
.cs-mobile-accordion-body a:last-child { border-bottom: 0; }
.cs-mobile-bottom { margin-top: 24px; display: flex; flex-direction: column; gap: 12px; }
.cs-mobile-phone {
  display: flex; align-items: center; justify-content: center;
  padding: 14px; font: 500 15px/1 var(--cs-sans); color: var(--cs-ink); text-decoration: none;
  border: 1px solid var(--cs-line); border-radius: 12px;
}
.cs-mobile-quote { width: 100%; justify-content: center; min-height: 50px; font-size: 16px; border-radius: 12px; }
body.cs-menu-open { overflow: hidden; }

/* Responsive header */
@media (max-width: 1179px) { .cs-header-phone-hours { display: none; } }
@media (max-width: 1079px) { .cs-header-phone { display: none; } }
@media (max-width: 959px) {
  .cs-header-inner { height: 64px; }
  .cs-nav, .cs-mega-panel { display: none !important; }
  .cs-logo-img { height: 34px; }
  .cs-hamburger { display: flex; align-items: center; justify-content: center; }
  .cs-btn-header { padding: 9px 16px; font-size: 13px; }
}
@media (min-width: 960px) { .cs-mobile-menu { display: none !important; } .cs-hamburger { display: none; } }
@media (prefers-reduced-motion: reduce) { .cs-mega-panel { transition: none; } }

/* ── Buttons ─────────────────────────────────────────────────────── */
.cs-btn {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600;
  border: 0; cursor: pointer; font-family: inherit;
  transition: background .16s, opacity .16s, transform .2s, box-shadow .2s;
}
.cs-btn-primary {
  background: var(--cs-btn); color: #fff; border-radius: var(--cs-radius-btn);
  min-height: 52px; padding: 0 28px; font-size: 16px;
}
.cs-btn-primary:hover { background: #a3400f; transform: translateY(-1px); box-shadow: 0 10px 24px -10px rgba(194,86,27,.6); }
.cs-btn-sm { min-height: 44px; padding: 0 20px; font-size: 15px; }
.cs-btn-outline {
  background: transparent; color: #fff; border: 1px solid #4a5f7d;
  border-radius: var(--cs-radius-btn); min-height: 52px; padding: 0 26px; font-size: 16px;
}
.cs-btn-outline:hover { border-color: #fff; transform: translateY(-1px); }
.cs-btn-dark {
  background: var(--cs-navy-800); color: #fff; border-radius: var(--cs-radius-btn);
  min-height: 46px; padding: 0 22px; font-size: 15px;
}
.cs-btn-ghost {
  background: transparent; color: var(--cs-navy-800); border: 1px solid #c9d3e0;
  border-radius: var(--cs-radius-btn); min-height: 46px; padding: 0 22px; font-size: 15px;
}

/* ── Eyebrow ─────────────────────────────────────────────────────── */
.cs-eyebrow { margin: 0 0 14px; font-size: 13px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--cs-orange-text); }
.cs-eyebrow-light { color: var(--cs-orange-light); }
.cs-eyebrow-bar { display: flex; align-items: center; gap: 12px; }
.cs-eyebrow-bar::before { content: ''; width: 28px; height: 2px; background: var(--cs-orange); display: inline-block; }

/* ── Section headings ────────────────────────────────────────────── */
.cs-h1 { margin: 0; font-family: var(--cs-serif); font-weight: 600; font-size: clamp(40px, 5vw, 64px); line-height: 1.06; letter-spacing: -0.5px; }
.cs-h2 { margin: 0; font-family: var(--cs-serif); font-weight: 600; font-size: clamp(32px, 3.6vw, 46px); line-height: 1.12; color: var(--cs-navy-800); }
.cs-h2-sm { margin: 0; font-family: var(--cs-serif); font-weight: 600; font-size: clamp(30px, 3.2vw, 40px); line-height: 1.15; color: var(--cs-navy-800); }

/* ── Shared card depth ───────────────────────────────────────────── */
.cs-depth {
  background: #fff; border: 1px solid #dfe6ef; border-radius: 20px;
  box-shadow: 0 1px 2px rgba(15,29,49,.04), 0 10px 30px -14px rgba(15,29,49,.14);
  transition: transform .25s cubic-bezier(.2,.7,.2,1), box-shadow .25s, border-color .25s;
}
a.cs-depth:hover, a.cs-card:hover, a.cs-guide-card:hover {
  transform: translateY(-4px); border-color: #c9d4e2;
  box-shadow: 0 2px 4px rgba(15,29,49,.05), 0 22px 44px -18px rgba(15,29,49,.24);
}
a.cs-depth:hover .cs-card-cta svg,
a.cs-card:hover .cs-card-cta svg { transform: translateX(3px); }
.cs-card-cta svg { transition: transform .25s cubic-bezier(.2,.7,.2,1); }

/* ── Hero — depth ────────────────────────────────────────────────── */
.cs-hero {
  background: radial-gradient(1100px 560px at 88% -10%, rgba(231,120,48,.16), transparent 60%),
              radial-gradient(900px 520px at -10% 115%, rgba(64,104,160,.35), transparent 60%),
              #13233a;
  color: #fff; position: relative; overflow: hidden;
}
.cs-hero-arcs { position: absolute; right: -180px; top: -160px; opacity: .09; pointer-events: none; }
.cs-hero .cs-container { position: relative; padding-top: 88px; padding-bottom: 96px; }
.cs-hero .cs-h1 { color: #fff; }
.cs-hero-sub { margin: 26px 0 0; font-size: 19px; line-height: 1.6; color: var(--cs-on-navy); max-width: 560px; }
.cs-hero-checks {
  display: flex; flex-wrap: wrap; gap: 14px 36px; margin-top: 48px; padding-top: 28px;
  border-top: 1px solid #2a3f5c; font-size: 15px; color: var(--cs-on-navy);
}
.cs-hero-check { display: flex; align-items: center; gap: 10px; }
.cs-hero-buttons { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

/* Hero load animation */
.cs-hero-copy-anim { animation: cs-fadeUp .6s cubic-bezier(.2,.7,.2,1) both; }
.cs-hero-card-anim { animation: cs-fadeUp .6s cubic-bezier(.2,.7,.2,1) .15s both; }
@keyframes cs-fadeUp { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }

/* Home hero layout */
.cs-home-hero-grid { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.cs-home-hero-copy { flex: 999 1 520px; min-width: 0; }

/* ── Quote card ──────────────────────────────────────────────────── */
.cs-quote-card {
  flex: 1 1 360px; min-width: 0; background: #fff; color: var(--cs-ink);
  border-radius: var(--cs-radius-card); padding: 32px;
  box-shadow: 0 30px 80px -30px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.06);
}
.cs-quote-card .cs-eyebrow { color: var(--cs-soft); letter-spacing: 1.6px; margin-bottom: 8px; }
.cs-quote-card h2 { margin: 0 0 22px; font-family: var(--cs-serif); font-weight: 600; font-size: 26px; line-height: 1.2; color: var(--cs-navy-800); }
.cs-quote-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.cs-quote-label {
  display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 14px;
  border: 1px solid var(--cs-line-dark); border-radius: var(--cs-radius-input);
  font-size: 15px; font-weight: 500; cursor: pointer;
}
.cs-quote-label input { accent-color: var(--cs-navy-800); }
.cs-quote-label:has(input:checked) { border-color: var(--cs-navy-800); border-width: 1.5px; font-weight: 600; background: var(--cs-wash); }
.cs-quote-card label[for="cs-zip"] { display: block; margin: 20px 0 8px; font-size: 14px; font-weight: 600; }
.cs-quote-card input[type="text"] {
  width: 100%; min-height: 50px; padding: 0 16px; border: 1px solid #c9d3e0;
  border-radius: var(--cs-radius-input); font-size: 16px; font-family: inherit;
}
.cs-quote-card .cs-btn-primary { width: 100%; justify-content: center; margin-top: 16px; }
.cs-quote-fine { margin: 14px 0 0; font-size: 13px; line-height: 1.5; color: var(--cs-soft); text-align: center; }

/* ── Reviews band ────────────────────────────────────────────────── */
.cs-reviews { background: var(--cs-cream); border-bottom: 1px solid var(--cs-cream-border); }
.cs-reviews .cs-container {
  padding-top: 56px; padding-bottom: 56px;
  display: flex; flex-wrap: wrap; gap: 32px 28px; align-items: flex-start;
}
.cs-reviews-heading { flex: 1 1 220px; }
.cs-reviews-heading .cs-eyebrow { color: var(--cs-orange-text); }
.cs-reviews-heading p:last-child {
  margin: 10px 0 0; font-family: var(--cs-serif); font-size: 24px; line-height: 1.3;
  color: var(--cs-navy-800); font-weight: 600;
}
.cs-review {
  flex: 1 1 240px; margin: 0; position: relative;
  background: #fff; border: 1px solid #dfe6ef; border-radius: 20px; padding: 28px;
  box-shadow: 0 1px 2px rgba(15,29,49,.04), 0 10px 30px -14px rgba(15,29,49,.14);
}
.cs-review::before {
  content: '\201C'; position: absolute; top: 12px; left: 16px;
  font-family: var(--cs-serif); font-size: 72px; line-height: 1; color: var(--cs-orange); opacity: .20;
  pointer-events: none;
}
.cs-review blockquote { margin: 0; font-family: var(--cs-serif); font-size: 18px; line-height: 1.55; color: var(--cs-ink); position: relative; }
.cs-review figcaption { margin-top: 14px; font-size: 14px; color: var(--cs-soft); }
.cs-review figcaption strong { color: var(--cs-ink); }

/* ── Coverage cards ──────────────────────────────────────────────── */
.cs-coverage {
  background: var(--cs-wash); border-top: 1px solid var(--cs-line);
  padding-top: 104px; padding-bottom: 96px;
}
.cs-coverage-top {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end;
  gap: 20px 48px; margin-bottom: 48px;
}
.cs-coverage-intro { flex: 1 1 520px; }
.cs-coverage-desc { flex: 1 1 340px; margin: 0; font-size: 17px; line-height: 1.65; color: var(--cs-muted); }
.cs-coverage-grid { display: flex; flex-wrap: wrap; gap: 20px; }

/* Featured navy card */
.cs-card-featured {
  flex: 2 1 460px; min-width: 0; text-decoration: none; color: #fff;
  background: radial-gradient(600px 300px at 100% 0, rgba(231,120,48,.18), transparent 60%), #13233a;
  border-radius: var(--cs-radius-card); padding: 36px;
  display: flex; flex-direction: column; justify-content: space-between; min-height: 300px;
  box-shadow: 0 24px 50px -20px rgba(15,29,49,.45);
  transition: transform .25s cubic-bezier(.2,.7,.2,1), box-shadow .25s;
}
.cs-card-featured:hover { transform: translateY(-4px); box-shadow: 0 28px 56px -20px rgba(15,29,49,.55); }
.cs-card-featured h3 { margin: 22px 0 10px; font-family: var(--cs-serif); font-weight: 600; font-size: 30px; color: #fff; }
.cs-card-featured p { margin: 0; font-size: 16px; line-height: 1.65; color: var(--cs-on-navy); max-width: 440px; }
.cs-card-featured .cs-card-cta {
  margin-top: 28px; font-weight: 600; font-size: 15px; color: var(--cs-orange-light);
  display: flex; align-items: center; gap: 8px;
}

/* Standard coverage card — white on wash */
.cs-card {
  flex: 1 1 280px; min-width: 0; text-decoration: none; color: var(--cs-ink);
  background: #fff; border: 1px solid #dfe6ef; border-radius: var(--cs-radius-card);
  padding: 32px; display: flex; flex-direction: column; justify-content: space-between; min-height: 280px;
  box-shadow: 0 1px 2px rgba(15,29,49,.04), 0 10px 30px -14px rgba(15,29,49,.14);
  transition: transform .25s cubic-bezier(.2,.7,.2,1), box-shadow .25s, border-color .25s;
}
.cs-card:hover {
  transform: translateY(-4px); border-color: #c9d4e2;
  box-shadow: 0 2px 4px rgba(15,29,49,.05), 0 22px 44px -18px rgba(15,29,49,.24);
}
.cs-card h3 { margin: 20px 0 10px; font-family: var(--cs-serif); font-weight: 600; font-size: 24px; color: var(--cs-navy-800); }
.cs-card p { margin: 0; font-size: 15.5px; line-height: 1.65; color: var(--cs-muted); }
.cs-card .cs-card-cta { margin-top: 24px; font-weight: 600; font-size: 15px; color: var(--cs-orange-text); }

/* ── How it works — white bg ─────────────────────────────────────── */
.cs-how { background: #fff; }
.cs-how .cs-container { padding-top: 96px; padding-bottom: 96px; }
.cs-how .cs-h2 { margin-bottom: 56px; max-width: 680px; }
.cs-how-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 40px; }
.cs-how-step { flex: 1 1 280px; border-top: 2px solid var(--cs-navy-800); padding-top: 26px; }
.cs-step-num { font-family: var(--cs-serif); font-size: 56px; line-height: 1; color: var(--cs-orange); font-weight: 600; }
.cs-how-step h3 { margin: 18px 0 10px; font-size: 20px; font-weight: 600; color: var(--cs-navy-800); }
.cs-how-step p { margin: 0; font-size: 16px; line-height: 1.65; color: var(--cs-muted); }

/* ── Why / Founder — wash bg ─────────────────────────────────────── */
.cs-why { background: var(--cs-wash); border-top: 1px solid var(--cs-line); }
.cs-why .cs-container {
  padding-top: 104px; padding-bottom: 104px;
  display: flex; flex-wrap: wrap; gap: 56px;
}
.cs-founder-portrait { flex: 1 1 360px; min-width: 0; }
.cs-founder-img { aspect-ratio: 4 / 5; border-radius: var(--cs-radius-card); width: 100%; object-fit: cover; }
.cs-founder-meta { margin-top: 22px; display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.cs-founder-name { margin: 0; font-family: var(--cs-serif); font-size: 24px; font-weight: 600; color: var(--cs-navy-800); }
.cs-founder-title { margin: 6px 0 0; font-size: 15px; color: var(--cs-muted); }
.cs-founder-team-link { font-size: 15px; font-weight: 600; color: var(--cs-orange-text); text-decoration: none; }

.cs-why-copy { flex: 1.3 1 460px; min-width: 0; }
.cs-why-copy > p { margin: 22px 0 0; font-size: 17px; line-height: 1.7; color: var(--cs-muted); }

.cs-pillars { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 36px; margin-top: 44px; }
.cs-pillar { border-top: 1px solid var(--cs-line-dark); padding-top: 20px; }
.cs-pillar h3 { margin: 0 0 8px; font-size: 18px; font-weight: 600; color: var(--cs-navy-800); }
.cs-pillar p { margin: 0; font-size: 15.5px; line-height: 1.65; color: var(--cs-muted); }
@media (max-width: 600px) { .cs-pillars { grid-template-columns: 1fr; } }

/* ── Tools — separate tiles ──────────────────────────────────────── */
.cs-tools { background: var(--cs-navy-800); color: #fff; }
.cs-tools .cs-container { padding-top: 96px; padding-bottom: 96px; }
.cs-tools-top {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end;
  gap: 20px 48px; margin-bottom: 44px;
}
.cs-tools-all { font-size: 15px; font-weight: 600; color: #fff; text-decoration: none; border-bottom: 1px solid var(--cs-orange-light); padding-bottom: 4px; }
.cs-tools-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px;
}
.cs-tool {
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.10);
  border-radius: 18px; padding: 26px; text-decoration: none; color: #fff;
  display: flex; flex-direction: column; position: relative;
  transition: background .2s, border-color .2s, transform .25s cubic-bezier(.2,.7,.2,1), box-shadow .25s;
}
.cs-tool:hover {
  background: rgba(255,255,255,.07); border-color: rgba(243,165,111,.45);
  transform: translateY(-3px); box-shadow: 0 12px 30px -12px rgba(0,0,0,.3);
}
.cs-tool:focus-visible { outline: 3px solid rgba(231,120,48,.45); outline-offset: 2px; }
.cs-tool::after {
  content: '\2192'; position: absolute; bottom: 20px; right: 20px;
  font-size: 16px; color: var(--cs-orange-light); opacity: 0;
  transition: opacity .2s, transform .2s;
}
.cs-tool:hover::after { opacity: 1; transform: translateX(2px); }
.cs-tool:first-child {
  border-color: rgba(243,165,111,.5);
  background: linear-gradient(160deg, rgba(231,120,48,.14), rgba(255,255,255,.03));
}
.cs-tool-tag { font-size: 12px; letter-spacing: 1.6px; text-transform: uppercase; font-weight: 600; color: var(--cs-on-navy-fine); }
.cs-tool:first-child .cs-tool-tag { color: var(--cs-orange-light); }
.cs-tool-name { display: block; margin: 10px 0 8px; font-family: var(--cs-serif); font-size: 21px; font-weight: 600; }
.cs-tool-desc { display: block; font-size: 15px; line-height: 1.6; color: var(--cs-on-navy-sm); }
@media (max-width: 768px) { .cs-tools-grid { grid-template-columns: 1fr; } }

/* ── FAQ — white bg ──────────────────────────────────────────────── */
.cs-faq { background: #fff; }
.cs-faq .cs-container { padding-top: 104px; padding-bottom: 104px; display: flex; flex-wrap: wrap; gap: 48px 72px; }
.cs-faq-intro { flex: 1 1 320px; }
.cs-faq-intro .cs-h2 { margin-bottom: 20px; }
.cs-faq-intro p { margin: 0; font-size: 16px; line-height: 1.65; color: var(--cs-muted); }
.cs-faq-intro a { color: var(--cs-orange-text); font-weight: 600; }
.cs-faq-list { flex: 1.6 1 520px; min-width: 0; border-top: 1px solid var(--cs-line-dark); }
.cs-faq-item { border-bottom: 1px solid var(--cs-line-dark); }
.cs-faq-item summary {
  display: flex; justify-content: space-between; gap: 20px; padding: 24px 0;
  font-size: 19px; font-weight: 600; color: var(--cs-navy-800); cursor: pointer; list-style: none;
}
.cs-faq-item summary::-webkit-details-marker { display: none; }
.cs-faq-item summary::after { content: '+'; color: var(--cs-orange); font-size: 24px; line-height: 1; flex-shrink: 0; }
.cs-faq-item[open] summary::after { content: '\2212'; }
.cs-faq-item p { margin: 0 0 24px; font-size: 16px; line-height: 1.7; color: var(--cs-muted); max-width: 640px; }

/* ── Guides band ─────────────────────────────────────────────────── */
.cs-guides { background: var(--cs-cream); border-top: 1px solid var(--cs-cream-border); }
.cs-guides .cs-container { padding-top: 96px; padding-bottom: 96px; }
.cs-guides-top {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end;
  gap: 20px; margin-bottom: 40px;
}
.cs-guides-all { font-size: 15px; font-weight: 600; color: var(--cs-navy-800); text-decoration: none; border-bottom: 1px solid var(--cs-orange); padding-bottom: 4px; }
.cs-guides-grid { display: flex; flex-wrap: wrap; gap: 20px; }
.cs-guide-card {
  flex: 1 1 300px; min-width: 0; background: #fff; border: 1px solid #dfe6ef;
  border-radius: 18px; padding: 30px; text-decoration: none; color: var(--cs-ink);
  display: flex; flex-direction: column; gap: 14px; min-height: 230px;
  box-shadow: 0 1px 2px rgba(15,29,49,.04), 0 10px 30px -14px rgba(15,29,49,.14);
  transition: transform .25s cubic-bezier(.2,.7,.2,1), box-shadow .25s, border-color .25s;
}
.cs-guide-card:hover {
  transform: translateY(-4px); border-color: #c9d4e2;
  box-shadow: 0 2px 4px rgba(15,29,49,.05), 0 22px 44px -18px rgba(15,29,49,.24);
}
.cs-guide-cat { font-size: 12px; letter-spacing: 1.6px; text-transform: uppercase; color: var(--cs-orange-text); font-weight: 600; }
.cs-guide-title { font-family: var(--cs-serif); font-size: 22px; line-height: 1.3; font-weight: 600; color: var(--cs-navy-800); }
.cs-guide-byline { margin-top: auto; font-size: 14px; color: var(--cs-soft); }

/* ── CTA band ────────────────────────────────────────────────────── */
.cs-cta-band .cs-container { padding-top: 96px; padding-bottom: 96px; }
.cs-cta-box {
  background: var(--cs-navy-800); border-radius: 28px; padding: 64px 56px;
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center;
  gap: 32px; position: relative; overflow: hidden;
}
.cs-cta-box .cs-h2 { color: #fff; }
.cs-cta-box > div:first-child { flex: 1 1 460px; position: relative; }
.cs-cta-box p { margin: 16px 0 0; font-size: 18px; line-height: 1.6; color: var(--cs-on-navy); }
.cs-cta-buttons { display: flex; flex-wrap: wrap; gap: 14px; position: relative; }
.cs-cta-arcs { position: absolute; right: -60px; bottom: -220px; opacity: .12; pointer-events: none; }
@media (max-width: 600px) { .cs-cta-box { padding: 40px 28px; } }

/* ── About hero stats ────────────────────────────────────────────── */
.cs-about-stats { display: flex; flex-wrap: wrap; gap: 0; margin-top: 52px; border-top: 1px solid #2a3f5c; }
.cs-about-stat { flex: 1 1 220px; padding: 26px 32px 0 0; }
.cs-about-stat-value { margin: 0; font-family: var(--cs-serif); font-size: 40px; font-weight: 600; color: #fff; }
.cs-about-stat-label { margin: 6px 0 0; font-size: 15px; color: var(--cs-on-navy-sm); }

/* ── About: How we work — white ──────────────────────────────────── */
.cs-how-we-work { background: #fff; }
.cs-how-we-work .cs-container { padding-top: 100px; padding-bottom: 88px; display: flex; flex-wrap: wrap; gap: 40px 72px; }
.cs-how-we-work-intro { flex: 1 1 360px; }
.cs-how-we-work-grid { flex: 1.5 1 480px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 36px; }
@media (max-width: 600px) { .cs-how-we-work-grid { grid-template-columns: 1fr; } }

/* ── Team section — wash ─────────────────────────────────────────── */
.cs-team { background: var(--cs-wash); border-top: 1px solid var(--cs-line); border-bottom: 1px solid var(--cs-line); }
.cs-team .cs-container { padding-top: 100px; padding-bottom: 100px; }
.cs-team .cs-h2 { margin-bottom: 56px; }
.cs-team-card {
  display: flex; flex-wrap: wrap; gap: 48px;
  background: #fff; border: 1px solid #dfe6ef; border-radius: 24px; padding: 40px;
  box-shadow: 0 1px 2px rgba(15,29,49,.04), 0 10px 30px -14px rgba(15,29,49,.14);
}
.cs-team-card + .cs-team-card { margin-top: 24px; }
.cs-team-portrait { flex: 1 1 300px; min-width: 0; max-width: 380px; }
.cs-team-portrait img { width: 100%; border-radius: 16px; aspect-ratio: 4 / 5; object-fit: cover; }
.cs-team-dl { margin: 24px 0 0; display: flex; flex-direction: column; gap: 16px; font-size: 14.5px; }
.cs-team-dl dt { font-size: 12px; letter-spacing: 1.4px; text-transform: uppercase; color: var(--cs-soft); font-weight: 600; }
.cs-team-dl dd { margin: 4px 0 0; color: var(--cs-ink); }
.cs-team-bio { flex: 1.6 1 420px; min-width: 0; }
.cs-team-bio .cs-eyebrow { letter-spacing: 1.6px; }
.cs-team-bio h3 { margin: 10px 0 24px; font-family: var(--cs-serif); font-weight: 600; font-size: 38px; color: var(--cs-navy-800); }
.cs-team-bio-text { font-size: 17px; line-height: 1.75; color: #3f5068; display: flex; flex-direction: column; gap: 18px; }
.cs-team-bio-text p { margin: 0; }
.cs-team-bio-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.cs-team-card-compact { align-items: center; gap: 40px; }
.cs-team-card-compact .cs-team-portrait { max-width: 220px; }
.cs-team-card-compact .cs-team-portrait img { aspect-ratio: 1 / 1; }
.cs-team-card-compact .cs-team-bio h3 { font-size: 32px; }

/* ── Office / Map — white ────────────────────────────────────────── */
.cs-office { background: #fff; }
.cs-office .cs-container { padding-top: 100px; padding-bottom: 100px; display: flex; flex-wrap: wrap; gap: 48px; align-items: stretch; }
.cs-office-info { flex: 1 1 380px; min-width: 0; }
.cs-office-rows { margin-top: 32px; display: flex; flex-direction: column; border-top: 1px solid var(--cs-line-dark); }
.cs-office-row { display: flex; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--cs-line-dark); }
.cs-office-row svg { flex: none; margin-top: 2px; }
.cs-office-row p { margin: 0; font-size: 16px; line-height: 1.6; }
.cs-office-row a { color: var(--cs-navy-800); font-weight: 600; text-decoration: none; }
.cs-map-wrap { flex: 1.3 1 440px; min-width: 0; min-height: 380px; border-radius: 24px; overflow: hidden; }
.cs-map-wrap iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; }

/* ── Contact page ────────────────────────────────────────────────── */
.cs-page-contact { background: var(--cs-wash); }
.cs-contact-hero .cs-container { padding-bottom: 150px; }
.cs-contact-main .cs-container {
  margin-top: -96px; padding-bottom: 96px; position: relative;
  display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start;
}
.cs-contact-form-wrap {
  flex: 1.5 1 480px; min-width: 0; border-radius: 24px; padding: 44px;
  background: #fff; border: 1px solid #dfe6ef;
  box-shadow: 0 1px 2px rgba(15,29,49,.04), 0 10px 30px -14px rgba(15,29,49,.14);
}
.cs-contact-form-wrap h2 { margin: 0; font-family: var(--cs-serif); font-weight: 600; font-size: 30px; color: var(--cs-navy-800); }
.cs-contact-form-sub { margin: 10px 0 30px; font-size: 16px; line-height: 1.6; color: var(--cs-muted); }

/* Topic pills */
.cs-topic-fieldset { border: 0; margin: 0 0 24px; padding: 0; }
.cs-topic-fieldset legend { font-size: 14px; font-weight: 600; margin-bottom: 12px; padding: 0; }
.cs-topic{display:flex;flex-wrap:wrap;gap:10px}
.cs-pill{position:relative;display:inline-flex}
.cs-pill input{position:absolute;opacity:0;width:1px;height:1px;margin:0;pointer-events:none}
.cs-pill span{display:inline-flex;align-items:center;gap:10px;min-height:44px;padding:0 18px 0 14px;border:1px solid #d5dde8;border-radius:999px;background:#fff;color:#1c2b40;font:500 15px/1 Inter,system-ui,sans-serif;cursor:pointer;transition:background .15s,border-color .15s,color .15s,box-shadow .15s}
.cs-pill span::before{content:"";flex:none;width:18px;height:18px;border-radius:50%;border:1.5px solid #b7c3d3;box-sizing:border-box;background:#fff center/10px 10px no-repeat;transition:inherit}
.cs-pill:hover span{border-color:#13233a}
.cs-pill input:checked+span{background:#13233a;border-color:#13233a;color:#fff;font-weight:600;box-shadow:0 6px 18px rgba(19,35,58,.18)}
.cs-pill input:checked+span::before{border:0;background-color:#e77830;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2 5 8.5l4.5-5' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")}
.cs-pill input:focus-visible+span{outline:3px solid rgba(231,120,48,.45);outline-offset:2px}
@media (max-width:520px){.cs-topic{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.cs-pill span{width:100%;box-sizing:border-box}}

/* Form fields */
.cs-field { margin-bottom: 18px; }
.cs-field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.cs-field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-bottom: 18px; }
@media (max-width: 520px) { .cs-field-row { grid-template-columns: 1fr; } }
.cs-form input[type=text],.cs-form input[type=tel],.cs-form input[type=email],.cs-form input:not([type]){box-sizing:border-box;width:100%;min-height:50px;padding:0 16px;border:1px solid #c9d3e0;border-radius:12px;background:#fff;font:16px Inter,system-ui,sans-serif;color:#1c2b40}
.cs-form textarea{box-sizing:border-box;width:100%;padding:14px 16px;border:1px solid #c9d3e0;border-radius:12px;font:16px/1.5 Inter,system-ui,sans-serif;color:#1c2b40}
.cs-form input:focus,.cs-form textarea:focus{outline:none;border-color:#13233a;box-shadow:0 0 0 3px rgba(19,35,58,.12)}
.cs-form ::placeholder{color:#8a97a8}
.cs-contact-form-wrap .cs-btn-primary { width: 100%; justify-content: center; margin-top: 22px; }
.cs-form-fine { margin: 14px 0 0; font-size: 13px; line-height: 1.55; color: var(--cs-soft); }
.cs-form-error { color: #c8361f; font-size: .9rem; margin: 0 0 12px; font-weight: 600; display: none; }
.cs-form-success { text-align: center; padding: 40px 0; display: none; }
.cs-form-success-icon { font-size: 2.4rem; margin: 0 0 12px; }
.cs-form-success-head { font-size: 1.15rem; font-weight: 700; color: var(--cs-navy-800); margin: 0 0 6px; }
.cs-form-success-body { color: var(--cs-soft); font-size: .94rem; margin: 0; }

/* Contact sidebar */
.cs-contact-sidebar { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.cs-contact-direct {
  background: #fff; border: 1px solid #dfe6ef; border-radius: 24px; padding: 36px;
  box-shadow: 0 1px 2px rgba(15,29,49,.04), 0 10px 30px -14px rgba(15,29,49,.14);
}
.cs-contact-direct .cs-eyebrow { letter-spacing: 1.6px; }
.cs-contact-big-phone { display: block; margin: 14px 0 4px; font-family: var(--cs-serif); font-size: 34px; font-weight: 600; color: var(--cs-navy-800); text-decoration: none; }
.cs-contact-direct > a:not(.cs-contact-big-phone) { font-size: 16px; color: var(--cs-navy-800); }
.cs-contact-direct-details { margin-top: 26px; border-top: 1px solid var(--cs-line); }
.cs-contact-detail-row { display: flex; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--cs-line); }
.cs-contact-detail-row svg { flex: none; margin-top: 2px; }
.cs-contact-detail-row p { margin: 0; font-size: 15px; line-height: 1.6; }
.cs-contact-hours { margin: 0; flex: 1; font-size: 15px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 12px; }
.cs-contact-hours dt { font-style: normal; }
.cs-contact-hours dd { margin: 0; text-align: right; }
.cs-contact-hours .cs-muted { color: var(--cs-soft); }

.cs-contact-urgent { background: var(--cs-navy-800); color: #fff; border-radius: 24px; padding: 32px; }
.cs-contact-urgent .cs-eyebrow { color: var(--cs-orange-light); letter-spacing: 1.6px; }
.cs-contact-urgent p:not(.cs-eyebrow) { margin: 10px 0 0; font-family: var(--cs-serif); font-size: 22px; line-height: 1.3; font-weight: 600; }
.cs-contact-urgent a {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 18px;
  font-weight: 600; font-size: 15px; color: var(--cs-orange-light); text-decoration: none;
}

/* What happens next */
.cs-next { background: #fff; border-top: 1px solid var(--cs-line); }
.cs-next .cs-container { padding-top: 88px; padding-bottom: 88px; display: flex; flex-wrap: wrap; gap: 48px; }
.cs-next-copy { flex: 1 1 380px; min-width: 0; }
.cs-next-copy .cs-h2 { margin-bottom: 32px; }
.cs-next-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 24px; }
.cs-next-step { display: flex; gap: 18px; }
.cs-next-num { flex: none; width: 36px; height: 36px; border-radius: 50%; background: #fbf0e6; color: var(--cs-orange-text); font-weight: 700; display: flex; align-items: center; justify-content: center; }
.cs-next-step p { margin: 6px 0 0; font-size: 16px; line-height: 1.6; color: #3f5068; }
.cs-next-step strong { color: var(--cs-navy-800); }
.cs-next-map { flex: 1.4 1 460px; min-width: 0; min-height: 360px; border-radius: 24px; overflow: hidden; }
.cs-next-map iframe { width: 100%; height: 100%; min-height: 360px; border: 0; display: block; }

/* ── Footer ──────────────────────────────────────────────────────── */
.cs-footer { background: var(--cs-navy-900); color: var(--cs-on-navy-sm); font-family: var(--cs-sans); }
.cs-footer .cs-container { padding-top: 80px; }
.cs-footer-grid { display: flex; flex-wrap: wrap; gap: 48px 56px; padding-bottom: 56px; border-bottom: 1px solid #22344f; }
.cs-footer-brand { flex: 1.6 1 300px; min-width: 0; }
.cs-footer-logo { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; }
.cs-footer-logo-name { font-family: var(--cs-serif); font-weight: 700; font-size: 22px; }
.cs-footer-desc { margin: 20px 0 0; font-size: 15px; line-height: 1.7; max-width: 340px; }
.cs-footer-address { font-style: normal; margin-top: 26px; font-size: 15px; line-height: 1.9; }
.cs-footer-phone { color: #fff; text-decoration: none; font-weight: 600; }
.cs-footer-address a:not(.cs-footer-phone) { color: #fff; text-decoration: none; }
.cs-footer-col { flex: 1 1 150px; display: flex; flex-direction: column; gap: 12px; font-size: 15px; }
.cs-footer-col a { color: var(--cs-on-navy-sm); text-decoration: none; }
.cs-footer-col a:hover { color: #fff; }
.cs-footer-heading { margin: 0 0 6px; font-size: 13px; font-weight: 600; letter-spacing: 1.6px; text-transform: uppercase; color: #fff; }
.cs-footer-bottom { padding: 28px 0 36px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 32px; font-size: 13px; line-height: 1.6; }
.cs-footer-legal { margin: 0; flex: 1 1 520px; color: var(--cs-on-navy-fine); }
.cs-footer-links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.cs-footer-links a { color: var(--cs-on-navy-sm); text-decoration: none; }
.cs-footer-links a:hover { color: #fff; }

/* ── Blog archive ────────────────────────────────────────────────── */
.cs-page-blog { background: #fff; }

/* Header band */
.cs-blog-header { background: var(--cs-wash); border-bottom: 1px solid var(--cs-line); }
.cs-blog-header-inner {
  padding-top: 72px; padding-bottom: 48px;
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px 48px;
}
.cs-blog-header-copy { flex: 1 1 480px; }
.cs-blog-breadcrumb { margin: 0 0 12px; font-size: 14px; color: var(--cs-muted); }
.cs-blog-breadcrumb a { color: var(--cs-orange-text); text-decoration: none; font-weight: 600; }
.cs-blog-sub { margin: 14px 0 0; font-size: 17px; line-height: 1.6; color: var(--cs-muted); max-width: 560px; }
.cs-blog-header-right { flex: 0 1 340px; display: flex; flex-direction: column; gap: 12px; align-items: flex-end; }
.cs-blog-search { position: relative; width: 100%; }
.cs-blog-search-icon { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: var(--cs-soft); pointer-events: none; }
.cs-blog-search-input {
  box-sizing: border-box; width: 100%; min-height: 50px; padding: 0 20px 0 46px;
  border: 1px solid #c9d3e0; border-radius: 999px; background: #fff;
  font: 16px Inter, system-ui, sans-serif; color: var(--cs-ink);
}
.cs-blog-search-input:focus { outline: none; border-color: #13233a; box-shadow: 0 0 0 3px rgba(19,35,58,.12); }
.cs-blog-search-input::placeholder { color: #8a97a8; }
.cs-blog-count { margin: 0; font-size: 14px; color: var(--cs-soft); text-align: right; }
@media (max-width: 768px) {
  .cs-blog-header-right { flex-basis: 100%; align-items: stretch; }
  .cs-blog-count { text-align: left; }
}

/* Category chips */
.cs-blog-chips-wrap { background: var(--cs-wash); padding-bottom: 24px; }
.cs-blog-chips {
  display: flex; flex-wrap: wrap; gap: 10px; padding: 0;
}
.cs-chip {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 18px;
  border: 1px solid #d5dde8; border-radius: 999px; background: #fff;
  font: 500 14px/1 Inter, system-ui, sans-serif; color: var(--cs-ink);
  text-decoration: none; white-space: nowrap;
  transition: background .15s, border-color .15s, color .15s;
}
.cs-chip:hover { border-color: #13233a; }
.cs-chip-active { background: #13233a; border-color: #13233a; color: #fff; font-weight: 600; }
@media (max-width: 768px) {
  .cs-blog-chips {
    flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch;
    scroll-padding-left: 24px; gap: 8px; padding-bottom: 4px;
    -ms-overflow-style: none; scrollbar-width: none;
  }
  .cs-blog-chips::-webkit-scrollbar { display: none; }
  .cs-blog-chips-wrap { position: relative; }
  .cs-blog-chips-wrap::after {
    content: ''; position: absolute; right: 0; top: 0; bottom: 0; width: 48px;
    background: linear-gradient(to right, transparent, var(--cs-wash));
    pointer-events: none;
  }
}

/* Featured post */
.cs-blog-featured { padding: 48px 0 0; }
.cs-blog-hero-card {
  display: flex; flex-wrap: wrap; text-decoration: none; color: var(--cs-ink); overflow: hidden;
}
.cs-blog-hero-img { flex: 1.2 1 400px; min-width: 0; }
.cs-blog-hero-img img { width: 100%; aspect-ratio: 16/10; object-fit: cover; display: block; border-radius: 20px 0 0 20px; }
.cs-blog-hero-body {
  flex: 1 1 360px; min-width: 0; padding: 40px;
  display: flex; flex-direction: column; justify-content: center;
}
.cs-blog-pill {
  display: inline-block; width: auto; max-width: max-content;
  font-size: 12px; letter-spacing: 1.4px; text-transform: uppercase; font-weight: 600;
  color: var(--cs-orange-text); background: #fef3eb; border-radius: 6px; padding: 5px 10px;
  margin-bottom: 16px;
}
.cs-blog-hero-title {
  margin: 0 0 14px; font-family: var(--cs-serif); font-weight: 600; font-size: 30px; line-height: 1.2;
  color: var(--cs-navy-800);
}
.cs-blog-hero-excerpt {
  margin: 0 0 16px; font-size: 16px; line-height: 1.6; color: var(--cs-muted);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.cs-blog-meta { margin: 0; font-size: 14px; color: var(--cs-soft); }
.cs-blog-read-link { margin-top: 16px; font-weight: 600; font-size: 15px; color: var(--cs-orange-text); }
@media (max-width: 900px) {
  .cs-blog-hero-img img { border-radius: 20px 20px 0 0; }
  .cs-blog-hero-body { padding: 28px; }
}

/* Grid */
.cs-blog-grid-section { padding: 48px 0 96px; }
.cs-blog-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px;
}
@media (max-width: 1024px) { .cs-blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .cs-blog-grid { grid-template-columns: 1fr; } }

/* Blog card */
.cs-blog-card {
  display: flex; flex-direction: column; text-decoration: none; color: var(--cs-ink); overflow: hidden;
}
.cs-blog-card-img { position: relative; }
.cs-blog-card-img img { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; border-radius: 20px 20px 0 0; }
.cs-blog-card-pill {
  position: absolute; bottom: 12px; left: 12px;
  font-size: 11px; letter-spacing: 1.2px; text-transform: uppercase; font-weight: 600;
  color: #fff; background: rgba(19,35,58,.75); backdrop-filter: blur(4px);
  border-radius: 6px; padding: 4px 10px;
}
.cs-blog-card-body { padding: 20px 20px 24px; flex: 1; display: flex; flex-direction: column; }
.cs-blog-card-title {
  margin: 0 0 10px; font-family: var(--cs-serif); font-weight: 600; font-size: 19px; line-height: 1.3;
  color: var(--cs-navy-800);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.cs-blog-card-excerpt {
  margin: 0 0 auto; font-size: 15px; line-height: 1.6; color: var(--cs-muted);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.cs-blog-card .cs-blog-meta { margin-top: 14px; }

/* Missing-image fallback */
.cs-blog-fallback {
  aspect-ratio: 16/9; display: flex; flex-direction: column; justify-content: flex-end; padding: 24px;
  position: relative; overflow: hidden; border-radius: 20px 20px 0 0;
  background: radial-gradient(500px 260px at 100% 0, rgba(231,120,48,.22), transparent 60%), #13233a;
}
.cs-blog-hero-img .cs-blog-fallback { aspect-ratio: 16/10; border-radius: 20px 0 0 20px; }
@media (max-width: 900px) { .cs-blog-hero-img .cs-blog-fallback { border-radius: 20px 20px 0 0; } }
.cs-blog-fallback-cat {
  font-size: 12px; letter-spacing: 1.4px; text-transform: uppercase; font-weight: 600; color: var(--cs-orange-light);
}
.cs-blog-fallback-title {
  margin-top: 8px; font-family: var(--cs-serif); font-size: 22px; line-height: 1.3; font-weight: 600; color: #fff;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.cs-blog-fallback-arc { position: absolute; bottom: 16px; right: 16px; opacity: .5; }
.cs-blog-fallback-sm { padding: 18px; }
.cs-blog-fallback-sm .cs-blog-fallback-title { font-size: 18px; }

/* Mid-grid CTA */
.cs-blog-cta-band { grid-column: 1 / -1; }
.cs-blog-cta-inner {
  background: radial-gradient(1100px 560px at 88% -10%, rgba(231,120,48,.16), transparent 60%),
              radial-gradient(900px 520px at -10% 115%, rgba(64,104,160,.35), transparent 60%),
              #13233a;
  border-radius: 24px; padding: 48px 40px;
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px;
  color: #fff;
}
.cs-blog-cta-title { margin: 0; font-family: var(--cs-serif); font-weight: 600; font-size: clamp(24px, 3vw, 32px); line-height: 1.2; }
.cs-blog-cta-sub { margin: 10px 0 0; font-size: 16px; color: var(--cs-on-navy); }
.cs-blog-cta-buttons { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 640px) { .cs-blog-cta-inner { padding: 32px 24px; } }

/* Pagination */
.cs-blog-pagination { margin-top: 56px; text-align: center; }
.cs-blog-pagination ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.cs-blog-pagination li { display: inline-flex; }
.cs-blog-pagination a, .cs-blog-pagination span {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 44px; min-height: 44px; padding: 0 12px;
  border-radius: 999px; font-size: 15px; font-weight: 500;
  text-decoration: none; color: var(--cs-ink);
  transition: background .15s, color .15s;
}
.cs-blog-pagination a:hover { background: var(--cs-wash); }
.cs-blog-pagination .current {
  background: #13233a; color: #fff; font-weight: 600;
}
.cs-blog-pagination .prev, .cs-blog-pagination .next { font-weight: 600; color: var(--cs-navy-800); }
.cs-blog-pagination .dots { color: var(--cs-soft); }

/* Empty state */
.cs-blog-empty {
  text-align: center; padding: 80px 24px;
  font-size: 17px; color: var(--cs-muted);
}
.cs-blog-empty h2 { font-family: var(--cs-serif); font-size: 28px; color: var(--cs-navy-800); margin: 0 0 12px; }
.cs-blog-empty p { margin: 0 0 24px; }

/* ── Calculator container: allow auto height for multi-step forms ── */
body.cs-cpm26 #canopy-calc { overflow: visible !important; height: auto !important; }

/* ── Full-width on cpm26: kill Divi sidebar ──────────────────────── */
body.cs-cpm26 .et_pb_column_1_tb_body { display: none !important; }
body.cs-cpm26 .et_pb_column_0_tb_body { width: 100% !important; max-width: 100% !important; }
body.cs-cpm26 .et_pb_row_0_tb_body { max-width: 100% !important; }
body.cs-cpm26 .et_right_sidebar,
body.cs-cpm26 .et_pb_column_1_tb_body { display: none !important; }

/* ── cpm26 sidebar restyle ───────────────────────────────────────── */
/* Separate the two cards if .cpm-side-bottom is inside .cpm-toc (JS moves it out) */
body.cs-cpm26 .cpm-sidebar { position: sticky; top: calc(var(--cs-header-h) + 24px); width: 280px; }

/* TOC card */
body.cs-cpm26 .cpm-toc {
  background: #fff; border: 1px solid #dfe6ef; border-radius: 18px;
  box-shadow: 0 1px 2px rgba(15,29,49,.04), 0 10px 30px -14px rgba(15,29,49,.14);
  padding: 20px; position: relative; overflow: hidden;
}
body.cs-cpm26 .cpm-toc .cpm-kicker { margin-bottom: 10px; }
body.cs-cpm26 .cpm-toc nav { display: grid; gap: 2px; margin: 10px 0 0; max-height: 60vh; overflow-y: auto; }
body.cs-cpm26 .cpm-toc nav a {
  font-size: 14px; text-decoration: none; color: #4d5e75; padding: 8px 12px;
  border-radius: 7px; border-left: 2px solid transparent; line-height: 1.3;
  transition: color .15s, background .15s, border-color .15s;
}
body.cs-cpm26 .cpm-toc nav a:hover { color: var(--cs-navy-800); background: #f5f7fa; }
body.cs-cpm26 .cpm-toc nav a.is-active {
  color: #13233a; font-weight: 600; background: #f5f7fa; border-left-color: #e77830;
}
/* Progress bar */
.cs-toc-progress, body.cs-cpm26 .cpm-toc .cs-toc-progress {
  position: absolute; top: 0; left: 0; height: 3px; width: 0;
  background: #e77830; border-radius: 3px 0 0 0; transition: width .1s;
}

/* Quote card (from .cpm-side-bottom) */
body.cs-cpm26 .cpm-side-bottom,
.cs-quote-sidebar {
  background: radial-gradient(400px 200px at 100% 0, rgba(231,120,48,.16), transparent 60%), #13233a;
  border-radius: 18px; padding: 22px; color: #fff; margin-top: 16px;
}
body.cs-cpm26 .cpm-side-bottom strong, .cs-quote-sidebar strong {
  display: block; font-family: var(--cs-serif); font-size: 18px; font-weight: 600; color: #fff; margin-bottom: 8px;
}
body.cs-cpm26 .cpm-side-bottom p, .cs-quote-sidebar p {
  font-size: 13px; line-height: 1.6; color: #c6d2e2; margin: 0 0 16px;
}
body.cs-cpm26 .cpm-side-bottom > a:first-of-type,
.cs-quote-sidebar-btn {
  display: block; width: 100%; text-align: center; background: #c2561b; color: #fff !important;
  font-weight: 700; font-size: 14px; padding: 12px; border-radius: 10px; text-decoration: none;
}
.cs-quote-sidebar-phone {
  display: block; text-align: center; margin-top: 10px; font-size: 13px;
  color: #f3a56f; text-decoration: none;
}

/* Tool card */
.cs-tool-sidebar {
  background: #f5f7fa; border: 1px solid #dfe6ef; border-radius: 14px;
  padding: 16px; margin-top: 16px;
}
.cs-tool-sidebar-kicker {
  display: block; font-size: 10px; letter-spacing: 1.6px; text-transform: uppercase;
  font-weight: 800; color: #e77830; margin-bottom: 6px;
}
.cs-tool-sidebar a {
  font-size: 14px; font-weight: 700; color: #13233a; text-decoration: none;
}
.cs-tool-sidebar a:hover { color: #c2561b; }

/* ── Older-article sidebar layout ────────────────────────────────── */
body.cs-older-article .et_pb_column_1_tb_body { display: none !important; }
body.cs-older-article .et_pb_column_0_tb_body { width: 100% !important; max-width: 100% !important; }

.cs-article-layout {
  display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 34px;
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
}
.cs-article-main { min-width: 0; }
.cs-sidebar { position: relative; }
.cs-sidebar-inner { position: sticky; top: calc(var(--cs-header-h) + 24px); }

/* Older-article TOC card */
.cs-toc-card {
  background: #fff; border: 1px solid #dfe6ef; border-radius: 18px;
  box-shadow: 0 1px 2px rgba(15,29,49,.04), 0 10px 30px -14px rgba(15,29,49,.14);
  padding: 20px; position: relative; overflow: hidden;
}
.cs-toc-kicker {
  display: block; font-size: 11px; letter-spacing: 1.65px; text-transform: uppercase;
  font-weight: 800; color: #e77830; margin-bottom: 10px;
}
.cs-toc-nav { display: grid; gap: 2px; max-height: 60vh; overflow-y: auto; }
.cs-toc-nav a {
  font-size: 14px; text-decoration: none; color: #4d5e75; padding: 8px 12px;
  border-radius: 7px; border-left: 2px solid transparent; line-height: 1.3;
  transition: color .15s, background .15s, border-color .15s;
}
.cs-toc-nav a:hover { color: var(--cs-navy-800); background: #f5f7fa; }
.cs-toc-nav a.is-active { color: #13233a; font-weight: 600; background: #f5f7fa; border-left-color: #e77830; }

@media (max-width: 1023px) {
  body.cs-cpm26 .cpm-sidebar { display: none !important; }
  .cs-article-layout { grid-template-columns: 1fr; }
  .cs-sidebar { display: none; }
}
/* Override cpm26's own sidebar hide (max-width:1120px) for 1024-1120 */
@media (min-width: 1024px) and (max-width: 1120px) {
  body.cs-cpm26 .cpm26 .cpm-sidebar { display: block !important; }
  body.cs-cpm26 .cpm26 .cpm-layout { grid-template-columns: minmax(0, 1fr) 260px !important; gap: 28px !important; }
}

/* ── Mobile quote bar ────────────────────────────────────────────── */
.cs-mobile-bar {
  display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 9990;
  background: rgba(255,255,255,.92); backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-top: 1px solid #e3e9f1; padding: 8px 16px calc(8px + env(safe-area-inset-bottom, 0px));
  height: 56px; box-sizing: content-box;
  flex-direction: row; align-items: center; gap: 10px;
  transform: translateY(100%); transition: transform .3s cubic-bezier(.2,.7,.2,1);
}
.cs-mobile-bar.cs-bar-init { display: flex; }
.cs-mobile-bar.cs-bar-show { transform: translateY(0); }
.cs-mobile-bar-quote {
  flex: 1; display: flex; align-items: center; justify-content: center;
  min-height: 44px; background: #c2561b; color: #fff; font-weight: 700; font-size: 15px;
  border-radius: 999px; text-decoration: none;
}
.cs-mobile-bar-phone {
  display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid #d5dde8;
  color: #13233a; text-decoration: none;
}
body.cs-mobile-bar-visible #page-container { padding-bottom: calc(56px + env(safe-area-inset-bottom, 0px)); }
@media (min-width: 1024px) { .cs-mobile-bar { display: none !important; } }
@media (max-width: 1023px) { .cs-mobile-bar { display: flex; } }

/* ── Scroll reveal ───────────────────────────────────────────────── */
html.cs-js [data-reveal] {
  opacity: 0; transform: translateY(28px);
  transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1);
  transition-delay: calc(var(--i, 0) * 70ms);
}
html.cs-js [data-reveal].is-in { opacity: 1; transform: none; }

/* ── Suppress legacy elements ────────────────────────────────────── */
.canopySticky, .canopyStickyBar, .canopy-sticky-bar,
#canopyStickyBar, .cnp-compliance-bar {
  display: none !important; visibility: hidden !important;
  position: absolute !important; top: -9999px !important;
}

/* ── Reduced motion + print ──────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0s !important; animation-duration: 0s !important; }
  html.cs-js [data-reveal] { opacity: 1 !important; transform: none !important; }
  .cs-hero-copy-anim, .cs-hero-card-anim { animation: none !important; opacity: 1 !important; transform: none !important; }
}
@media print {
  .cs-hamburger { display: none; }
  html.cs-js [data-reveal] { opacity: 1 !important; transform: none !important; }
}

