/* ==========================================================================
   Trellis Data Partners — theme layer over the Ensurx template.
   Load order: bootstrap → ensurx.css → ensurx-media.css → trellis.css
   ========================================================================== */

/* Lato Semibold, self-hosted: the weight the logo files in /brand specify (Google Fonts doesn't serve it) */
@font-face { font-family: "Lato"; font-style: normal; font-weight: 600; font-display: block; src: url("../fonts/lato-semibold.woff2") format("woff2"); }
@font-face { font-family: "Lato"; font-style: italic; font-weight: 600; font-display: block; src: url("../fonts/lato-semibold-italic.woff2") format("woff2"); }

:root {
  /* Brand */
  --navy: #04285C;
  --navy-deep: #021A3E;
  --navy-lift: #0A3A7A;
  --steel-light: #8FB3DE;
  --sage: #4E7145;
  --sage-deep: #395430;
  --sage-light: #9FC28F;
  --sage-soft: #E3EBDD;
  --oxide: #C2410C;
  --oxide-soft: #FBE3D6;
  --clean: #0E9384;
  --cream: #FAF6EF;
  --cream-deep: #F3EBDC;
  --paper: #FFFFFF;
  --ink: #16233A;
  --ink-soft: #55637A;
  --line: #E4DDD0;
  --line-cool: #D8E0EA;

  --shadow-soft: 0 4px 16px rgba(4,40,92,0.06), 0 1px 3px rgba(4,40,92,0.04);
  --shadow-lift: 0 18px 44px rgba(4,40,92,0.14), 0 3px 10px rgba(4,40,92,0.07);
  --shadow-deep: 0 28px 70px rgba(2,26,62,0.28);

  --display: "Archivo", "Segoe UI", sans-serif;
  --sans: "Instrument Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --logo-font: "Lato", "Segoe UI", sans-serif;

  /* Remap the template's variables onto the brand */
  --primary: var(--sage);
  --secondary: var(--navy);
  --darkblue: var(--navy);
  --ashh: var(--ink-soft);
  --off-white: var(--cream);
  --archivo: var(--display);
  --inter: var(--sans);
  --poppins: var(--sans);

  /* The trellis lattice, drawn from the logo mark's crossing lines */
  --lattice-light: repeating-linear-gradient(45deg, rgba(4,40,92,.05) 0 2px, transparent 2px 34px),
                   repeating-linear-gradient(-45deg, rgba(78,113,69,.07) 0 2px, transparent 2px 34px);
  --lattice-dark: repeating-linear-gradient(45deg, rgba(255,255,255,.05) 0 2px, transparent 2px 34px),
                  repeating-linear-gradient(-45deg, rgba(159,194,143,.08) 0 2px, transparent 2px 34px);
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  font-size: 17px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}
/* The template hard-codes "inter"/"poppins" on many elements; pull them back to the brand body face. */
p, li, span, a, td, th, label, input, select, textarea, button { font-family: inherit; }
h1, h2, h3, h4, h5, h6 { font-family: var(--display); color: var(--navy); letter-spacing: -0.01em; }
a { color: var(--sage-deep); }
a:hover { color: var(--sage); }
::selection { background: var(--sage-soft); }
:focus-visible { outline: 3px solid var(--sage-light); outline-offset: 2px; }

.section { padding: 110px 0; position: relative; }
.section-cream { background: var(--cream); }
.section-paper { background: var(--paper); }
@media (max-width: 991px) { .section { padding: 80px 0; } }
@media (max-width: 575px) { .section { padding: 64px 0; } }

/* ── Full-width layout: content runs edge to edge with a small safe margin ── */
.container-fluid { --bs-gutter-x: 1.5rem; padding-left: clamp(20px, 3.2vw, 56px); padding-right: clamp(20px, 3.2vw, 56px); }

/* Split sections: photo bleeds to the screen edge, full section height */
.split { position: relative; overflow: hidden; }
.split-media { position: relative; height: 100%; min-height: 560px; }
.split-media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.split-copy { width: 100%; padding: 110px clamp(20px, 5vw, 96px); max-width: 860px; }
@media (max-width: 991px) {
  .split-media { min-height: 0; height: auto; aspect-ratio: 16 / 10; }
  .split-copy { padding: 64px clamp(20px, 3.2vw, 56px); }
}
@media (max-width: 575px) {
  .flag-panel { right: 16px; left: 16px; bottom: 16px; width: auto; }
  .split-media.problem-media { aspect-ratio: 4 / 5; }
}

/* ── Template heading pattern (eyebrow line + dot, two-tone headline) ───── */
.common_heading { margin-bottom: 48px; max-width: 760px; }
.common_heading.text-center { margin: 0 auto 48px; } /* template sets margin:auto, which drops the bottom gap */
.common_heading.text-center.mb-3 { margin-bottom: 1rem; }
.title_style { margin-bottom: 18px; gap: 18px; }
.title_style h3, .title_style p {
  font-family: var(--display);
  font-size: 14px; line-height: 1; font-weight: 800;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--sage-deep); margin: 0;
}
.common_heading h1, .common_heading h2 { font-weight: 800; }
.common_heading h2 { font-size: 44px; line-height: 1.14; }
.common_heading h2 span, .common_heading h1 span { color: var(--sage); }
.common_heading .lede-under { margin-top: 20px; color: var(--ink-soft); font-size: 18px; }
.on-dark .common_heading h2, .on-dark .common_heading h1 { color: #fff; }
.on-dark .common_heading h2 span { color: var(--sage-light); }
.on-dark .title_style h3, .on-dark .title_style p { color: var(--sage-light); }
.on-dark .title_style span, .on-dark .title_style span::before { background: var(--sage-light); }
.on-dark .title_style span::after { border-color: var(--sage-light); }
@media (max-width: 991px) { .common_heading h2 { font-size: 36px; } }
@media (max-width: 575px) { .common_heading h2 { font-size: 29px; } .common_heading { margin-bottom: 36px; } }

/* ── Buttons ────────────────────────────────────────────────────────────── */
.common_btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 32px;
  font-family: var(--display);
  font-size: 15px !important; letter-spacing: .06em;
  border-radius: 0;
}
.common_btn:hover { background: transparent; border-color: var(--sage); color: var(--sage) !important; }
.common_btn.btn-navy { background: var(--navy); }
.common_btn.btn-navy:hover { background: transparent; border-color: var(--navy); color: var(--navy) !important; }
.on-dark .common_btn:hover { border-color: var(--sage-light); color: var(--sage-light) !important; }
.btn-note { display: block; margin-top: 12px; font-size: 14px; color: var(--ink-soft); }
.on-dark .btn-note { color: #B8C4D6; }
.arrow-link { font-weight: 600; color: var(--sage-deep); text-decoration: none; white-space: nowrap; }
.arrow-link:hover { color: var(--sage); text-decoration: underline; }

/* ── Wordmark (inline SVG mark + Lato text, fitted by wordmark.js) ──────── */
.brand-lockup { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-lockup .logo-mark { flex-shrink: 0; width: 56px; height: 56px; }
.wordmark { font-family: var(--logo-font); font-weight: 600; line-height: 1; color: var(--navy); white-space: nowrap; }
.wordmark .main { display: block; font-style: italic; font-size: 30px; letter-spacing: -.02em; }
.wordmark .sub { display: block; font-size: 10px; letter-spacing: .06em; color: var(--ink-soft); margin-top: 4px; }
.footer-brand .wordmark { color: #fff; }
.footer-brand .wordmark .sub { color: #8CA0BC; }

/* ── Header / nav ───────────────────────────────────────────────────────── */
.site-header { position: sticky; top: 0; z-index: 1000; background: rgba(250,246,239,.94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.site-header .navbar { min-height: 92px; padding: 0; }
.site-header .navbar-brand { display: inline-flex; width: auto; height: auto; padding: 0; margin: 0; }
.site-header .navbar-nav { gap: 34px; align-items: center; }
.site-header .nav-link { font-family: var(--display); font-size: 15.5px; font-weight: 700; color: var(--navy); padding: 8px 0 !important; position: relative; }
.site-header .nav-link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; background: var(--sage); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.site-header .nav-link:hover::after, .site-header .nav-link.active::after { transform: scaleX(1); }
.site-header .nav-link:hover, .site-header .nav-link.active { color: var(--navy) !important; }
.site-header .dropdown-menu { border: 1px solid var(--line); border-radius: 0; border-top: 3px solid var(--sage); box-shadow: var(--shadow-lift); padding: 10px 0; min-width: 260px; }
.site-header .dropdown-item { font-family: var(--sans); font-weight: 500; color: var(--navy); padding: 9px 20px; }
.site-header .dropdown-item:hover, .site-header .dropdown-item:focus { background: var(--sage-soft); color: var(--sage-deep); }
.site-header .dropdown-toggle::after { display: inline-block; content: ""; vertical-align: .15em; margin-left: 6px; border-top: .3em solid; border-right: .3em solid transparent; border-bottom: 0; border-left: .3em solid transparent; }
@media (min-width: 992px) { .site-header .dropdown:hover > .dropdown-menu { display: block; margin-top: 0; } }
.nav-cta { display: flex; flex-direction: column; align-items: flex-end; }
.nav-cta .common_btn { padding: 13px 24px; font-size: 14px !important; }
.nav-cta .btn-note { font-size: 12px; margin-top: 6px; }
.site-header .navbar-toggler { padding: 8px; border: 1px solid var(--line) !important; border-radius: 0; }
.site-header .navbar-toggler-icon { width: 24px; height: 24px; }
@media (max-width: 1199px) {
  .site-header .navbar-nav { gap: 22px; }
  .site-header .nav-link { font-size: 14.5px; }
}
@media (max-width: 991px) {
  .site-header .navbar { min-height: 76px; }
  .brand-lockup .logo-mark { width: 46px; height: 46px; }
  .wordmark .main { font-size: 25px; }
  .site-header .navbar-collapse { padding: 8px 0 22px; }
  .site-header .navbar-nav { gap: 0; align-items: stretch; }
  .site-header .nav-item { text-align: left; }
  .site-header .nav-link { padding: 12px 0 !important; border-bottom: 1px solid var(--line); text-align: left; }
  .site-header .nav-link::after { display: none; }
  .site-header .dropdown-menu { border: 0; box-shadow: none; padding: 0 0 8px 14px; background: transparent; }
  .nav-cta { align-items: flex-start; margin-top: 18px; }
}

/* ── Hero ───────────────────────────────────────────────────────────────── */
.t-hero { position: relative; background: var(--cream); overflow: hidden; padding: 90px 0 110px; }
.t-hero::before { /* navy lattice block, echoing the template's dark shape on the right */
  content: ""; position: absolute; top: 0; right: 0; bottom: 0; width: 42%;
  background: var(--lattice-dark), var(--navy);
  clip-path: polygon(22% 0, 100% 0, 100% 100%, 0 100%);
}
.t-hero .row { position: relative; z-index: 1; }
.t-hero h1 { font-size: 62px; line-height: 1.04; font-weight: 800; color: var(--navy); margin: 0; }
.t-hero .lede { margin: 30px 0 36px; font-size: 18.5px; line-height: 1.65; color: var(--ink-soft); max-width: 560px; }
@media (min-width: 1200px) and (max-width: 1399px) { .t-hero h1 { font-size: 54px; } }
@media (max-width: 1199px) {
  .t-hero { padding: 64px 0 80px; }
  .t-hero .lede { max-width: 680px; }
  .t-hero::before { top: auto; height: 44%; width: 100%; clip-path: polygon(0 18%, 100% 0, 100% 100%, 0 100%); }
  .t-hero .ledger-stack { margin-top: 56px; }
}
@media (max-width: 575px) { .t-hero h1 { font-size: 40px; } .t-hero .lede { font-size: 17px; } }
/* Phones: the before/after demo is dropped; the hero is copy + CTA only. */
@media (max-width: 767px) {
  .t-hero .ledger-stack, .t-hero::before { display: none; }
  .t-hero { padding: 48px 0 64px; }
}

/* Floating mark badge on the ledger, in the spot the template uses for its "Stay Safe" badge */
.hero-badge {
  position: absolute; top: -34px; left: -30px; z-index: 3;
  width: 92px; height: 92px; border-radius: 24px; background: var(--paper);
  box-shadow: var(--shadow-lift); display: grid; place-items: center;
}
.hero-badge svg { width: 70px; height: 70px; }
@media (max-width: 575px) { .hero-badge { width: 64px; height: 64px; top: -26px; left: -8px; border-radius: 18px; } .hero-badge svg { width: 48px; height: 48px; } }

/* ── Signature: the record ledger (carried over from the original site) ── */
.ledger-stack { position: relative; min-width: 0; }
.ledger { position: relative; z-index: 2; background: var(--paper); border: 1px solid var(--line-cool); border-radius: 14px; box-shadow: var(--shadow-deep); overflow: hidden; }
.ledger-chrome { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 16px; background: var(--navy); color: #fff; font-family: var(--mono); font-size: 12.5px; }
.ledger-chrome .dots { display: flex; gap: 6px; }
.ledger-chrome .dots i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,0.22); display: block; }
.state-pill { font-family: var(--mono); font-size: 11px; font-weight: 600; letter-spacing: .08em; padding: 3px 9px; border-radius: 4px; background: var(--oxide); color: #fff; transition: background .35s ease; }
.ledger.is-clean .state-pill { background: var(--clean); }
.ledger-meta { display: flex; flex-wrap: wrap; gap: 4px 14px; justify-content: space-between; padding: 10px 16px; font-family: var(--mono); font-size: 12px; color: var(--ink-soft); background: #F7F9FC; border-bottom: 1px solid var(--line-cool); }
#ledgerFlags { color: var(--oxide); font-weight: 600; transition: color .35s ease; }
.ledger.is-clean #ledgerFlags { color: var(--clean); }
.ledger-scroll { overflow-x: auto; min-height: 232px; }
table.ledger-table { width: 100%; border-collapse: collapse; font-family: var(--mono); font-size: 12.5px; color: var(--ink); }
.ledger-table th { text-align: left; font-weight: 600; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); padding: 10px 9px; border-bottom: 1px solid var(--line-cool); white-space: nowrap; }
.ledger-table td { padding: 12px 9px; border-bottom: 1px solid #EEF2F7; white-space: nowrap; }
.ledger-table th:first-child, .ledger-table td:first-child { padding-left: 14px; }
.ledger-table tbody tr:last-child td { border-bottom: none; }
.bad { color: var(--oxide); background: var(--oxide-soft); border-radius: 3px; padding: 1px 4px; }
.ok { color: var(--clean); font-weight: 600; }
.merge-tag { display: inline-block; font-size: 11.5px; font-weight: 600; color: var(--clean); background: #D6F1EC; border-radius: 4px; padding: 2px 8px; }
#afterBody { display: none; }
.ledger.is-clean #beforeBody { display: none; }
.ledger.is-clean #afterBody { display: table-row-group; }
.ledger-table tbody tr { animation: rowIn .32s ease both; }
.ledger-table tbody tr:nth-child(2) { animation-delay: .05s; }
.ledger-table tbody tr:nth-child(3) { animation-delay: .10s; }
.ledger-table tbody tr:nth-child(4) { animation-delay: .15s; }
.ledger-table tbody tr:nth-child(5) { animation-delay: .20s; }
@keyframes rowIn { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.ledger-foot { padding: 12px; border-top: 1px solid var(--line-cool); background: #FCFBF8; }
.sig-toggle { width: 100%; border: 0; border-radius: 8px; padding: 13px 16px; background: var(--navy); color: #fff; font-family: var(--display); font-weight: 700; font-size: 15px; cursor: pointer; transition: background .2s ease, transform .2s ease; }
.sig-toggle:hover { background: var(--navy-lift); transform: translateY(-1px); }
.ledger-caption { margin: 12px 0 0; text-align: center; font-size: 13px; color: var(--ink-soft); position: relative; z-index: 2; }
.t-hero .ledger-caption { color: #C9D3E2; }
@media (min-width: 1200px) { .t-hero .ledger-caption { text-align: right; } }
@media (max-width: 640px) {
  .ledger-table { font-size: 11.5px; }
  .ledger-table th, .ledger-table td { padding: 11px 8px; }
  .ledger-table th:nth-child(4), .ledger-table td:nth-child(4),
  .ledger-table th:nth-child(5), .ledger-table td:nth-child(5) { display: none; }
  .ledger-scroll { min-height: 0; }
}
@media (max-width: 400px) { .ledger-table th:nth-child(3), .ledger-table td:nth-child(3) { display: none; } }
@media (prefers-reduced-motion: reduce) { .ledger-table tbody tr { animation: none; } html { scroll-behavior: auto; } }

/* ── Who we help: template service cards ────────────────────────────────── */
.service_page_item { height: 100%; background: var(--cream); border: 1px solid var(--line); overflow: hidden; display: block; text-decoration: none; color: inherit; }
.service_page_item::before { background: var(--sage); left: 0; }
.service_page_item::after { display: none; }
.service_page_item:hover::before { background: var(--navy); width: 100%; height: 100%; left: 0; }
.service_page_item:hover { background: var(--navy); }
.service_page_item_wrapper { height: 100%; display: flex; flex-direction: column; padding: 34px 30px; }
.service_page_item_top { align-items: flex-start; gap: 12px; }
.service_page_item_top h4 { font-size: 22px; line-height: 1.25; }
.service_page_item_top h2 { font-size: 46px; line-height: 1; -webkit-text-stroke: 1.5px var(--ink-soft); }
.service_page_item_top h2 span { display: none; }
.service_page_item p { margin: 22px 0 28px; font-size: 16px; line-height: 1.6; flex: 1; }
.service_page_item_bottom { gap: 16px; }
.service_page_item_bottom .arrow-link { white-space: normal; transition: color .3s ease; }
.service_page_item:hover .arrow-link { color: var(--sage-light); }
.service_page_item:hover p { color: #C9D3E2; }
.ind-icon { flex-shrink: 0; width: 48px; height: 48px; border-radius: 14px; background: var(--sage-soft); display: grid; place-items: center; transition: background .3s ease; }
.service_page_item:hover .ind-icon { background: rgba(255,255,255,.1); }
.service_page_item:hover .ind-icon svg { stroke: var(--sage-light); }

/* ── The problem: template "about company" split ───────────────────────── */
.flag-panel { position: absolute; right: 32px; bottom: 32px; width: 290px; background: var(--navy); color: #fff; border-radius: 18px; padding: 20px 22px; box-shadow: var(--shadow-deep); }
.flag-panel-head { display: flex; justify-content: space-between; margin: 0 0 12px; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: #F4A27A; }
.flag-panel-head span:last-child { color: #8CA0BC; }
.flag-row { display: flex; align-items: center; gap: 10px; padding: 10px 12px; margin-bottom: 8px; border-radius: 10px; background: rgba(255,255,255,.07); font-family: var(--mono); font-size: 13px; }
.flag-row:last-child { margin-bottom: 0; }
.flag-row svg { flex-shrink: 0; stroke: #F4A27A; }
.problem-text { font-size: 18px; line-height: 1.7; color: var(--ink-soft); }
.problem-text strong { color: var(--navy); }

/* ── What we do: dark lattice band ─────────────────────────────────────── */
.band-dark { background: var(--lattice-dark), var(--navy); color: #C9D3E2; }
.band-photo { position: relative; background: var(--navy-deep); color: #C9D3E2; isolation: isolate; }
.band-photo::before { content: ""; position: absolute; inset: 0; background: url("../../images/migration-hero.jpg") center / cover no-repeat; opacity: .55; z-index: -1; }
.svc-card { position: relative; height: 100%; background: var(--paper); padding: 34px 32px; border-bottom: 5px solid var(--sage); box-shadow: var(--shadow-lift); scroll-margin-top: 120px; }
.svc-card h3 { font-size: 22px; font-weight: 800; margin: 0 0 14px; }
.svc-card p { margin: 0; color: var(--ink-soft); font-size: 16px; line-height: 1.65; }
.svc-num { display: inline-flex; align-items: center; justify-content: center; min-width: 74px; height: 44px; padding: 0 14px; margin-bottom: 22px; background: var(--sage); color: #fff; font-family: var(--display); font-weight: 800; font-size: 22px; }
.svc-card.featured { display: grid; grid-template-columns: auto 1fr; gap: 10px 34px; align-items: start; padding: 40px 44px; border-bottom-color: var(--sage-light); background: var(--paper); }
.svc-card.featured .svc-num { grid-row: span 2; min-width: 96px; height: 96px; font-size: 38px; margin: 0; background: var(--navy); }
.svc-card.featured h3 { font-size: 28px; margin: 4px 0 8px; }
.svc-card.featured p { font-size: 17.5px; }
@media (max-width: 767px) { .svc-card.featured { grid-template-columns: 1fr; padding: 32px 28px; } .svc-card.featured .svc-num { grid-row: auto; width: 72px; min-width: 72px; height: 72px; font-size: 28px; margin-bottom: 8px; } }

/* ── Beyond the audit: growth-stage cards (template "insurance" items) ─── */
.stage-row { counter-reset: none; }
.insurance_item { height: 100%; background: var(--cream); border: 1px solid var(--line); padding: 38px 30px; position: relative; }
.insurance_top_icon { width: 84px; height: 84px; background: var(--sage); color: #fff; }
.insurance_top_icon svg { width: 68px; height: 68px; }
.insurance_item h4 { margin: 26px 0 10px; font-size: 24px; }
.insurance_item p { margin: 0; font-size: 16px; line-height: 1.6; }
.stage-arrow { position: absolute; top: 74px; right: -22px; z-index: 2; width: 44px; height: 44px; border-radius: 50%; background: var(--paper); border: 1px solid var(--line); display: grid; place-items: center; color: var(--sage); }
.stage-row > div:last-child .stage-arrow { display: none; }
.stage-row > div:nth-child(2) .insurance_top_icon { background: var(--sage); }
.stage-row > div:nth-child(3) .insurance_top_icon { background: var(--sage-deep); }
.stage-row > div:nth-child(4) .insurance_top_icon { background: var(--navy); }
.stage-row > div:nth-child(1) .insurance_top_icon { background: var(--sage-light); color: var(--sage-deep); }
@media (max-width: 991px) { .stage-arrow { display: none; } }
.stage-intro { max-width: 760px; margin: -18px auto 46px; text-align: center; font-size: 18px; color: var(--ink-soft); }

/* ── How it works: numbered process (template "working process") ───────── */
.process-step { position: relative; text-align: center; padding: 0 18px; }
.process-num { position: relative; z-index: 1; width: 96px; height: 96px; margin: 0 auto 28px; border-radius: 26px; background: var(--paper); border: 2px solid var(--sage); display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: 38px; color: var(--navy); box-shadow: var(--shadow-soft); }
.process-step::after { content: ""; position: absolute; top: 48px; left: calc(50% + 62px); width: calc(100% - 124px); border-top: 2px dashed #C8D4C2; }
.process-row > div:last-child .process-step::after { display: none; }
.process-step h3 { font-size: 23px; font-weight: 800; margin: 0 0 12px; }
.process-step p { margin: 0 auto; max-width: 330px; color: var(--ink-soft); font-size: 16.5px; }
@media (max-width: 767px) { .process-step::after { display: none; } }

/* ── Testimonials (hidden until enabled in the CMS) ────────────────────── */
.review_item { height: 100%; background: var(--paper); border: 1px solid var(--line); padding: 36px 32px 30px; position: relative; text-align: left; }
.review_item .quote-mark { font-family: Georgia, serif; font-size: 70px; line-height: .6; color: var(--sage-light); display: block; height: 34px; }
.review_item .quote { font-size: 17px; line-height: 1.65; color: var(--ink); margin: 0 0 24px; }
.review_item .quote.tbd { color: var(--ink-soft); font-style: italic; }
.review_item.tbd-card { border-style: dashed; }
.testi-who { display: flex; align-items: center; gap: 12px; }
.testi-avatar { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; color: #fff; font-family: var(--display); font-weight: 800; font-size: 15px; }
.testi-name { font-family: var(--display); font-weight: 700; color: var(--navy); }
.testi-role { font-size: 14px; color: var(--ink-soft); }
.tbd-i { font-style: italic; opacity: .7; }

/* ── Who this is for ───────────────────────────────────────────────────── */
.audience-card { background: var(--paper); border: 1px solid var(--line); border-left: 5px solid var(--sage); padding: 30px 32px; box-shadow: var(--shadow-soft); }
.audience-card + .audience-card { margin-top: 22px; border-left-color: var(--navy); }
.audience-card h3 { font-size: 22px; font-weight: 800; margin: 0 0 10px; }
.audience-card p { margin: 0; color: var(--ink-soft); font-size: 16.5px; }

/* ── Security band ─────────────────────────────────────────────────────── */
.sec-lede { display: flex; gap: 18px; align-items: flex-start; max-width: 820px; margin: -14px 0 54px; }
.sec-lede .lock { flex-shrink: 0; width: 54px; height: 54px; border-radius: 16px; background: rgba(159,194,143,.16); display: grid; place-items: center; }
.sec-lede p { margin: 0; font-size: 18px; color: #D5DDE8; }
.check { height: 100%; border-top: 2px solid var(--sage-light); padding-top: 22px; }
.check-idx { font-family: var(--mono); font-size: 13px; font-weight: 600; color: var(--sage-light); }
.check h3 { color: #fff; font-size: 20px; font-weight: 800; margin: 10px 0 8px; line-height: 1.3; }
.check p { margin: 0; color: #B8C4D6; font-size: 16px; }

/* ── Across industries: divider ─────────────────────────────────────────── */
.divider-band { background: var(--lattice-light), var(--cream-deep); padding: 80px 0; text-align: center; }
.divider-band .common_heading { margin-bottom: 18px; }
.divider-band p.body { max-width: 680px; margin: 0 auto; font-size: 18.5px; color: var(--ink-soft); }

/* ── Get started (call to action + Abbey) ───────────────────────────────── */
.cta-section { background: var(--paper); padding: 110px 0 0; position: relative; }
.cta-card { position: relative; z-index: 2; background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow-deep); padding: 56px; margin-bottom: -150px; }
.cta-card .sub { font-size: 19px; color: var(--ink-soft); margin: 0; }
.who { display: flex; gap: 26px; align-items: center; background: var(--cream); border-left: 5px solid var(--sage); padding: 26px; }
.who .photo { flex-shrink: 0; width: 132px; height: 132px; border-radius: 30px; overflow: hidden; background: var(--sage-soft); }
.who .photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.who-name { font-family: var(--display); font-weight: 800; font-size: 21px; color: var(--navy); line-height: 1.2; }
.who-title { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--sage-deep); margin-top: 4px; }
.who p { margin: 12px 0 0; color: var(--ink); font-size: 16px; line-height: 1.6; }
.who.no-photo .photo { display: none; }
.cal-wrap { margin-top: 40px; border-top: 1px solid var(--line); padding-top: 32px; min-height: 120px; }
.contact-alt { margin: 24px 0 0; text-align: center; color: var(--ink-soft); }
.contact-alt a { font-weight: 600; }
@media (max-width: 991px) { .cta-card { padding: 40px 32px; } }
@media (max-width: 575px) { .cta-card { padding: 30px 20px; margin-bottom: -100px; } .who { flex-direction: column; align-items: flex-start; } }

/* ── Footer ─────────────────────────────────────────────────────────────── */
.site-footer { position: relative; background: var(--lattice-dark), var(--navy-deep); color: #B8C4D6; padding: 230px 0 0; }
.site-footer .footer-brand p { margin: 22px 0 0; font-size: 15px; max-width: 300px; }
.site-footer h4 { color: #fff; font-size: 18px; font-weight: 800; margin: 0 0 20px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li + li { margin-top: 12px; }
.site-footer a { color: #D5DDE8; text-decoration: none; }
.site-footer a:hover { color: var(--sage-light); }
.footer-bottom { margin-top: 70px; border-top: 1px solid rgba(255,255,255,.1); padding: 24px 0 30px; font-size: 14px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; }
.footer-bottom .legal a + a::before { content: "·"; margin: 0 10px; color: #6E819C; }
@media (max-width: 575px) { .site-footer { padding-top: 170px; } }

/* Undo the template's responsive card squeeze (70% widths, extra padding) so cards run full width */
.great_service_section .service_page_item { width: 100%; margin: 0; padding: 0; }
.stage-row .insurance_item { width: 100%; margin: 0; padding: 38px 30px; }
@media (max-width: 575px) {
  .great_service_section .service_page_item_wrapper { padding: 28px 22px; }
  .stage-row .insurance_item { padding: 30px 22px; }
  .svc-card { padding: 28px 22px; }
  .cta-card { padding: 30px 20px; }
}

/* Sections that sit on dark bands */
.on-dark .common_heading .lede-under, .on-dark .stage-intro { color: #D5DDE8; }
.on-dark .service_page_item { border-color: transparent; }
.on-dark .service_page_item:hover, .on-dark .service_page_item:hover::before { background: var(--sage-deep); }
.on-dark .service_page_item:hover p { color: #E3EBDD; }
.on-dark .service_page_item:hover .arrow-link { color: #fff; }
.on-dark .service_page_item:hover .service_page_item_top h2 { -webkit-text-stroke-color: #fff; }
.band-photo .insurance_item { border-color: transparent; box-shadow: var(--shadow-deep); }
.band-photo .stage-arrow { border-color: transparent; }

/* ==========================================================================
   Inner pages
   ========================================================================== */

/* Page banner: the trellis photo band every inner page opens on */
.page-banner { padding: 110px 0 100px; }
.page-banner .common_heading { margin-bottom: 0; max-width: 900px; }
.page-banner h1 { font-size: 54px; line-height: 1.08; font-weight: 800; }
.page-banner .banner-lede { max-width: 780px; margin: 26px 0 34px; font-size: 18.5px; line-height: 1.7; color: #D5DDE8; }
.page-banner .lede-icon { margin-top: 26px; margin-bottom: 0; }
.page-banner .stat-strip { margin-top: 44px; }
.page-banner-short { padding: 90px 0 70px; }
.pull-up { padding-top: 80px; }
@media (max-width: 991px) { .page-banner { padding: 80px 0 70px; } .page-banner h1 { font-size: 42px; } }
@media (max-width: 575px) { .page-banner { padding: 60px 0 56px; } .page-banner h1 { font-size: 33px; } .page-banner .banner-lede { font-size: 17px; } }

.section-intro { max-width: 820px; margin: -18px 0 44px; font-size: 18px; line-height: 1.7; color: var(--ink-soft); }
.common_heading.text-center + .section-intro { margin-left: auto; margin-right: auto; text-align: center; }
.on-dark .section-intro { color: #D5DDE8; }

.lede-icon { display: flex; gap: 18px; align-items: flex-start; max-width: 860px; margin: -14px 0 44px; }
.lede-icon .ico { flex-shrink: 0; width: 52px; height: 52px; border-radius: 16px; background: var(--sage-soft); display: grid; place-items: center; }
.lede-icon p { margin: 0; font-size: 18px; line-height: 1.7; color: var(--ink-soft); }
.on-dark .lede-icon .ico { background: rgba(159,194,143,.16); }
.on-dark .lede-icon .ico svg { stroke: var(--sage-light); }
.on-dark .lede-icon p { color: #D5DDE8; }

.fine-note { max-width: 900px; margin: 36px 0 0; font-size: 15.5px; line-height: 1.7; color: var(--ink-soft); font-style: italic; }
.on-dark .fine-note { color: #B8C4D6; }

/* Numbered point cards */
.pt-card { height: 100%; background: var(--paper); border: 1px solid var(--line); border-top: 4px solid var(--sage); padding: 30px 28px; box-shadow: var(--shadow-soft); }
.pt-idx { display: inline-block; font-family: var(--mono); font-size: 13px; font-weight: 600; color: var(--sage-deep); background: var(--sage-soft); padding: 3px 10px; margin-bottom: 18px; }
.pt-card h3 { font-size: 20px; font-weight: 800; line-height: 1.3; margin: 0 0 10px; }
.pt-card p { margin: 0; font-size: 16px; line-height: 1.65; color: var(--ink-soft); }
.on-dark .pt-card { border-color: transparent; border-top-color: var(--sage-light); box-shadow: var(--shadow-lift); }

/* Time-based milestone / pricing tiles */
.stat-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; }
.stat { background: var(--navy); padding: 22px 20px; border-bottom: 4px solid var(--sage); }
.stat .num { display: block; font-family: var(--display); font-weight: 800; font-size: 34px; line-height: 1; color: #fff; }
.stat .lbl { display: block; margin-top: 10px; font-size: 14.5px; line-height: 1.45; color: #C9D3E2; }
.on-dark .stat { background: rgba(255,255,255,.07); border-bottom-color: var(--sage-light); }
.on-dark .stat .num { color: var(--sage-light); }

/* Services cards on inner pages */
.svc-card .svc-note { margin-top: 14px; font-size: 14.5px; font-style: italic; color: var(--ink-soft); }

/* What's next */
.next-card { display: flex; flex-direction: column; height: 100%; background: var(--paper); border: 1px solid var(--line); border-left: 5px solid var(--sage); padding: 32px 30px; text-decoration: none; color: inherit; box-shadow: var(--shadow-soft); transition: transform .2s ease, box-shadow .2s ease; }
.next-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); color: inherit; }
.next-icon { width: 52px; height: 52px; border-radius: 16px; background: var(--sage-soft); color: var(--sage-deep); display: grid; place-items: center; margin-bottom: 20px; }
.next-card h3 { font-size: 22px; font-weight: 800; margin: 0 0 10px; }
.next-card p { margin: 0 0 22px; color: var(--ink-soft); font-size: 16px; flex: 1; }
.on-dark .next-card { border-color: transparent; border-left-color: var(--sage-light); }

/* FAQ accordion (native details/summary, no script needed) */
.t-faq { max-width: 980px; }
.common_heading.text-center ~ .t-faq { margin-left: auto; margin-right: auto; }
.t-faq details { background: var(--paper); border: 1px solid var(--line); margin-bottom: 12px; box-shadow: var(--shadow-soft); }
.t-faq summary { list-style: none; cursor: pointer; position: relative; padding: 22px 64px 22px 26px; font-family: var(--display); font-weight: 700; font-size: 18px; color: var(--navy); }
.t-faq summary::-webkit-details-marker { display: none; }
.t-faq summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); width: 32px; height: 32px; display: grid; place-items: center; background: var(--sage); color: #fff; font-family: var(--sans); font-weight: 500; font-size: 22px; line-height: 1; transition: background .2s ease; }
.t-faq details[open] summary::after { content: "\2212"; background: var(--navy); }
.t-faq details[open] { border-left: 4px solid var(--sage); }
.t-faq details p { margin: 0; padding: 0 26px 24px; font-size: 16.5px; line-height: 1.7; color: var(--ink-soft); }
.on-dark .t-faq details { border-color: transparent; }
@media (max-width: 575px) { .t-faq summary { font-size: 16.5px; padding: 18px 56px 18px 18px; } .t-faq details p { padding: 0 18px 20px; } }

/* Migration Management stages */
.insurance_item .stage-name { margin: 26px 0 0; font-family: var(--display); font-weight: 800; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--sage-deep); }
.insurance_item .stage-name + h4 { margin-top: 6px; }

/* Process steps on a dark band */
.on-dark .process-step h3 { color: #fff; }
.on-dark .process-step p { color: #C9D3E2; }
.on-dark .process-step::after { border-top-color: rgba(159,194,143,.45); }

/* Comparison / deliverable panel, used in-flow */
.flag-panel-static { position: static; width: auto; }
.on-dark .flag-panel-static { background: var(--navy-lift); }
.deliv-row svg { stroke: var(--sage-light); }

/* Short "Get started" card (FAQ, audit) */
.contact-alt-lg { text-align: left; margin: 0; font-size: 18px; line-height: 1.7; }

/* Contact page */
.who-wide { max-width: 980px; }
.contact-card { height: 100%; background: var(--paper); border: 1px solid var(--line); padding: 36px 34px; box-shadow: var(--shadow-soft); }
.contact-card h3 { font-size: 24px; font-weight: 800; margin: 0 0 8px; }
.contact-card .col-note { color: var(--ink-soft); margin: 0 0 24px; }
.cal-wrap-flush { margin-top: 0; border-top: 0; padding-top: 0; }
.contact-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form .form-field { margin-bottom: 18px; }
.contact-form label { display: block; font-family: var(--display); font-weight: 700; font-size: 14px; color: var(--navy); margin-bottom: 6px; }
.contact-form input[type="text"], .contact-form input[type="email"], .contact-form select, .contact-form textarea {
  width: 100%; border: 1px solid var(--line-cool); background: #FCFBF8; border-radius: 0; padding: 12px 14px; font-size: 16px; color: var(--ink); transition: border-color .2s ease, box-shadow .2s ease;
}
.contact-form textarea { min-height: 120px; resize: vertical; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: 0; border-color: var(--sage); box-shadow: 0 0 0 3px rgba(78,113,69,.18); }
.contact-form .checkbox-list { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; }
.contact-form .checkbox-list label { font-family: var(--sans); font-weight: 500; font-size: 15.5px; color: var(--ink); display: flex; align-items: center; gap: 8px; margin: 0; }
.contact-form .checkbox-list input { accent-color: var(--sage); width: 17px; height: 17px; }
.contact-form .common_btn { border: 0; cursor: pointer; margin-top: 6px; }
.other-industry-field { display: none; }
.other-industry-field.show { display: block; }
@media (max-width: 575px) { .contact-form .form-row, .contact-form .checkbox-list { grid-template-columns: 1fr; gap: 0 16px; } .contact-card { padding: 28px 20px; } }

/* Legal pages */
.legal-wrap { max-width: 780px; }
.legal-wrap h2 { font-size: 22px; font-weight: 800; margin: 40px 0 12px; }
.legal-wrap h2:first-child { margin-top: 0; }
.legal-wrap p, .legal-wrap li { font-size: 16.5px; line-height: 1.75; color: var(--ink-soft); }
.legal-wrap ul { padding-left: 22px; }
.legal-wrap .updated { font-size: 14px; color: var(--ink-soft); }

/* Footer without the overlapping "Get started" card */
.site-footer.no-cta { padding-top: 90px; }
.on-dark .common_heading h1 span { color: var(--sage-light); }
.on-dark .problem-text { color: #D5DDE8; }
.on-dark .problem-text strong { color: #fff; }
.stat-strip + .t-faq { margin-top: 32px; }
.page-banner .banner-link { display: inline-block; margin: 22px 0 0 70px; color: var(--sage-light); font-size: 17px; }
.page-banner .banner-link:hover { color: #fff; }
@media (max-width: 575px) { .page-banner .banner-link { margin-left: 0; } }
/* Migration Management "How it runs": whiteboard photo under a navy tint */
.band-photo-how::before { background-image: url("../../images/migration-how.jpg"); opacity: 1; }
.band-photo-how::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(2,26,62,.93) 0%, rgba(2,26,62,.84) 55%, rgba(2,26,62,.72) 100%); }
/* Logos: the brand-folder SVGs, inlined so their Lato text uses the page's web font */
.site-logo { display: block; height: 60px; width: auto; overflow: visible; }
.footer-brand .site-logo { height: 58px; }
@media (max-width: 991px) { .site-header .site-logo { height: 48px; } }
.t-faq-after { margin-top: 44px; }
