/* ============================================================
   LEVEL PLAIN PRO — SHARED STYLES
   Used by every page on the site
   ============================================================ */

/* --------------------------- TOKENS ---------------------------- */
:root {
  /* Brand */
  --navy:        #1A2B3C;
  --navy-deep:   #0F1C2A;
  --navy-soft:   #243B53;
  --forest:      #1B4332;
  --forest-soft: #2D6A4F;
  --gold:        #C9A227;
  --gold-light:  #F4E28A;
  --gold-glow:   rgba(201, 162, 39, 0.18);
  --alert-blue:  #216FD1;

  /* Surfaces */
  --bg:          #FAFAF7;        /* warm paper, slightly off-white */
  --bg-2:        #F1EFE8;        /* warmer band for alternating sections */
  --bg-3:        #EAE6DC;
  --white:       #FFFFFF;

  /* Lines + text */
  --border:      #E2E0D8;
  --border-soft: #EDEBE3;
  --text:        #141E2C;
  --text-muted:  #5C6877;
  --text-onnavy: #C8D0DB;

  /* Type */
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans:  "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Spacing scale */
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px;
  --s-5: 24px; --s-6: 32px; --s-7: 48px; --s-8: 64px;
  --s-9: 96px; --s-10: 128px;

  /* Radii + shadows */
  --r-sm: 6px; --r-md: 8px; --r-lg: 12px; --r-xl: 20px;
  --shadow-sm: 0 1px 2px rgba(20, 30, 44, 0.04), 0 1px 1px rgba(20, 30, 44, 0.03);
  --shadow-md: 0 4px 16px rgba(20, 30, 44, 0.06), 0 1px 2px rgba(20, 30, 44, 0.04);
  --shadow-lg: 0 24px 48px -12px rgba(20, 30, 44, 0.18);

  /* Layout */
  --container: 1240px;
  --container-narrow: 880px;
  --gutter: clamp(20px, 4vw, 48px);

  /* Fluid typography */
  --fs-xs:   12px;
  --fs-sm:   13px;
  --fs-body: 16px;
  --fs-lead: clamp(16px, 0.95rem + 0.4vw, 19px);
  --fs-h4:   clamp(18px, 1rem + 0.5vw, 22px);
  --fs-h3:   clamp(22px, 1.2rem + 1vw, 28px);
  --fs-h2:   clamp(28px, 1.6rem + 1.6vw, 44px);
  --fs-h1:   clamp(36px, 2rem + 3.5vw, 72px);

  --ease: cubic-bezier(.2,.7,.2,1);
}

/* --------------------------- RESET ----------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 700; line-height: 1.15; margin: 0; color: var(--navy); }
h1 { font-size: var(--fs-h1); letter-spacing: -0.02em; }
h2 { font-size: var(--fs-h2); letter-spacing: -0.01em; }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-h4); }
p  { margin: 0; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container-narrow { max-width: var(--container-narrow); }

.eyebrow {
  display: inline-block;
  font-family: var(--sans);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--forest);
}
.eyebrow.on-dark { color: var(--gold-light); }

section { padding-block: clamp(56px, 7vw, 112px); }
.section-head { text-align: center; max-width: 760px; margin-inline: auto; margin-bottom: var(--s-7); }
.section-head p.lead { color: var(--text-muted); font-size: var(--fs-lead); margin-top: var(--s-4); }
.section-head .eyebrow { margin-bottom: var(--s-3); }

/* --------------------------- BUTTONS --------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: var(--s-2);
  padding: 14px 24px;
  border-radius: var(--r-sm);
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  border: 1.5px solid transparent;
  transition: transform .25s var(--ease), background .25s var(--ease), box-shadow .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
  white-space: nowrap;
}
.btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.btn-primary { background: var(--gold); color: var(--navy-deep); }
.btn-primary:hover { background: #d8b035; transform: translateY(-1px); box-shadow: 0 10px 22px -10px rgba(201, 162, 39, .65); }
.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,.45); }
.btn-ghost:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.85); }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-arrow { transition: transform .2s var(--ease); }
.btn:hover .btn-arrow { transform: translateX(3px); }
.btn-sm { padding: 10px 16px; font-size: 13px; }

/* --------------------------- HEADER ---------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 250, 247, 0.92);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex; align-items: center; gap: var(--s-6);
  padding-block: 16px;
  position: relative;
}

/* ----- Refined logo / wordmark ----- */
.logo {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--navy); flex-shrink: 0;
}
.logo-mark { width: 32px; height: 32px; flex-shrink: 0; }
.logo-text {
  display: flex; flex-direction: column; line-height: 1;
}
.logo-name {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.005em;
  color: var(--navy);
}
.logo-name em { font-style: italic; font-weight: 400; color: var(--forest); }
.logo-tagline {
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ----- Navigation ----- */
.nav { display: flex; gap: var(--s-6); margin-left: auto; }
.nav a {
  font-size: 14px; font-weight: 500; color: var(--text);
  position: relative; padding-block: 4px;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--forest); }
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 2px; background: var(--gold);
  transform: scaleX(0); transform-origin: left;
  transition: transform .25s var(--ease);
}
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }

.header-cta { display: flex; align-items: center; gap: var(--s-3); margin-left: var(--s-4); }

.menu-toggle {
  display: none;
  background: none; border: 1px solid var(--border); border-radius: 8px;
  padding: 8px 10px; margin-left: auto;
  color: var(--navy);
}
.menu-toggle svg { width: 22px; height: 22px; }

/* --------------------------- HERO BASE ------------------------- */
.hero-band {
  position: relative;
  background:
    radial-gradient(1100px 500px at 80% -10%, rgba(201,162,39,.18), transparent 60%),
    radial-gradient(900px 600px at 0% 100%, rgba(45,106,79,.25), transparent 65%),
    linear-gradient(180deg, var(--navy-deep), var(--navy));
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
}
.hero-band::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 35%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 35%, transparent 80%);
  z-index: -1;
}
.hero-band h1 { color: var(--white); }
.hero-band h1 .accent { color: var(--gold-light); font-style: italic; font-weight: 600; }
.hero-band .lead { color: var(--text-onnavy); font-size: var(--fs-lead); }

/* Inner-page slim hero (used by every non-home page) */
.page-hero {
  padding-block: clamp(72px, 10vw, 120px);
  text-align: left;
}
.page-hero .container { display: grid; gap: var(--s-5); max-width: 980px; }
.page-hero p.lead { max-width: 60ch; }
.crumbs {
  display: flex; gap: 8px; align-items: center;
  font-size: 12px; letter-spacing: 0.05em; color: rgba(200,208,219,.7);
  text-transform: uppercase; font-weight: 500;
}
.crumbs a:hover { color: var(--gold-light); }
.crumbs .sep { opacity: .5; }

/* --------------------------- HOME HERO ------------------------- */
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  padding-block: clamp(72px, 10vw, 140px);
}
.hero-eyebrow { color: var(--gold-light); }
.hero-grid h1 { margin-top: var(--s-4); }
.hero-grid p.lead {
  margin-top: var(--s-5); margin-bottom: var(--s-6);
  max-width: 56ch;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: var(--s-3); }
.hero-meta {
  margin-top: var(--s-7); display: flex; flex-wrap: wrap; gap: var(--s-5);
  color: var(--text-onnavy); font-size: 13px;
}
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta svg { width: 14px; height: 14px; color: var(--gold-light); flex-shrink: 0; }

.hero-visual {
  position: relative;
  aspect-ratio: 4 / 5;
  max-width: 480px;
  margin-inline: auto;
  width: 100%;
}
.case-card {
  position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--r-xl);
  padding: clamp(20px, 3vw, 32px);
  backdrop-filter: blur(10px);
  display: flex; flex-direction: column; gap: 18px;
  box-shadow: 0 30px 80px -20px rgba(0,0,0,.6);
}
.case-tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.18em;
  color: var(--gold-light);
  background: var(--gold-glow);
  border: 1px solid rgba(244,226,138,.3);
  padding: 6px 10px; border-radius: 100px;
  width: fit-content;
}
.case-tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold-light); box-shadow: 0 0 10px var(--gold-light); animation: pulse 1.8s ease-in-out infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .35; } }

.case-title { font-family: var(--serif); font-size: 22px; font-weight: 700; color: var(--white); }
.case-row { display: flex; justify-content: space-between; gap: 12px; padding-block: 10px; border-bottom: 1px solid rgba(255,255,255,.08); font-size: 13px; }
.case-row:last-child { border: 0; }
.case-row .k { color: rgba(200,208,219,.7); }
.case-row .v { color: var(--white); font-weight: 600; }
.case-row .v.ok { color: var(--gold-light); }

.case-progress { margin-top: 6px; }
.case-progress-bar { height: 6px; background: rgba(255,255,255,.08); border-radius: 100px; overflow: hidden; }
.case-progress-fill { display: block; height: 100%; width: 68%; background: linear-gradient(90deg, var(--forest-soft), var(--gold)); border-radius: 100px; }
.case-progress-meta { display: flex; justify-content: space-between; font-size: 11px; margin-top: 8px; color: rgba(200,208,219,.7); letter-spacing: .05em; text-transform: uppercase; }

.float-stat {
  position: absolute; left: -16px; bottom: 18%;
  background: var(--white); color: var(--navy);
  border-radius: var(--r-lg);
  padding: 14px 18px;
  box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: 12px;
  border: 1px solid var(--border);
  animation: float 6s ease-in-out infinite;
}
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.float-stat .num { font-family: var(--serif); font-size: 24px; font-weight: 800; color: var(--forest); }
.float-stat .lbl { font-size: 11px; color: var(--text-muted); letter-spacing: .12em; text-transform: uppercase; line-height: 1.3; }

/* --------------------------- TRUST BAR ------------------------- */
.trust {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding-block: 32px;
}
.trust-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 28px 56px; }
.trust-label { font-size: 11px; font-weight: 700; letter-spacing: .2em; color: var(--text-muted); }
.trust-logos { display: flex; flex-wrap: wrap; align-items: center; gap: 32px 48px; }
.trust-logo {
  font-family: var(--serif); font-weight: 800; font-size: 17px;
  color: var(--text-muted); letter-spacing: .04em;
  opacity: .8; transition: opacity .25s var(--ease), color .25s var(--ease);
}
.trust-logo.sans { font-family: var(--sans); font-weight: 700; letter-spacing: .15em; font-size: 13px; }
.trust-logo:hover { opacity: 1; color: var(--navy); }

/* --------------------------- COMPARE --------------------------- */
.compare {
  display: grid; gap: var(--s-5);
  grid-template-columns: 1fr 1fr;
  margin-top: var(--s-7);
}
.compare-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: clamp(24px, 3vw, 36px);
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.compare-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.compare-tag { display: flex; align-items: center; gap: 10px; font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.compare-tag .dot { width: 8px; height: 8px; border-radius: 50%; }
.compare-card.pain .compare-tag { color: var(--alert-blue); }
.compare-card.pain .dot { background: var(--alert-blue); }
.compare-card.gain .compare-tag { color: var(--forest); }
.compare-card.gain .dot { background: var(--forest); }
.compare-card h3 { margin-block: 12px 18px; }
.compare-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.compare-list li { display: flex; gap: 12px; font-size: 15px; line-height: 1.55; color: var(--text); }
.compare-list li::before {
  content: ""; flex-shrink: 0; width: 18px; height: 18px; border-radius: 50%;
  margin-top: 3px;
  background-image: radial-gradient(circle, currentColor 30%, transparent 32%);
  background-size: 8px 8px; background-position: center; background-repeat: no-repeat;
}
.compare-card.pain .compare-list li::before { color: var(--alert-blue); }
.compare-card.gain .compare-list li::before { color: var(--forest); }

/* --------------------------- 3-STEP PROCESS ----------------------- */
.steps {
  display: grid; gap: var(--s-5);
  grid-template-columns: repeat(3, 1fr);
  margin-top: var(--s-7);
  position: relative;
}
.steps::before {
  content: ""; position: absolute; left: 5%; right: 5%; top: 56px;
  height: 2px;
  background-image: linear-gradient(90deg, var(--gold) 0 8px, transparent 8px 16px);
  background-size: 16px 2px;
  z-index: 0;
}
.step {
  position: relative;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 32px 28px;
  transition: transform .3s var(--ease), border-color .3s var(--ease);
  z-index: 1;
}
.step:hover { transform: translateY(-4px); border-color: var(--gold); }
.step-num {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--navy); color: var(--gold-light);
  font-family: var(--serif); font-weight: 800; font-size: 22px;
  display: grid; place-items: center;
  margin-bottom: 18px;
  box-shadow: 0 0 0 6px var(--white), 0 0 0 7px var(--border);
}
.step h3 { margin-bottom: 10px; }
.step p { font-size: 15px; color: var(--text-muted); line-height: 1.6; }

/* --------------------------- SERVICES -------------------------- */
.services-grid {
  display: grid; gap: var(--s-4);
  grid-template-columns: repeat(3, 1fr);
  margin-top: var(--s-7);
}
.svc {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px;
  display: flex; flex-direction: column;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
  position: relative; overflow: hidden;
}
.svc::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
  background: var(--gold); transform: scaleX(0); transform-origin: left;
  transition: transform .35s var(--ease);
}
.svc:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.svc:hover::after { transform: scaleX(1); }
.svc-icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: var(--gold-glow); color: var(--navy);
  display: grid; place-items: center;
  margin-bottom: 18px;
}
.svc-icon svg { width: 22px; height: 22px; }
.svc h3 { font-size: 20px; margin-bottom: 8px; }
.svc p { font-size: 14px; color: var(--text-muted); line-height: 1.6; flex: 1; }
.svc a.svc-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; font-size: 13px; font-weight: 600; color: var(--forest); }
.svc a.svc-link:hover { gap: 10px; }

/* --------------------------- SOCIAL PROOF ---------------------- */
.proof {
  background:
    radial-gradient(800px 400px at 100% 0%, rgba(201,162,39,.15), transparent 60%),
    var(--forest);
  color: var(--white);
}
.proof .section-head h2 { color: var(--white); }
.proof .section-head .eyebrow { color: var(--gold-light); }

.stats {
  display: grid; gap: var(--s-4);
  grid-template-columns: repeat(4, 1fr);
  margin: var(--s-7) 0;
}
.stat { text-align: center; padding: 24px 16px; border-left: 1px solid rgba(255,255,255,.12); }
.stat:first-child { border-left: 0; }
.stat .num { font-family: var(--serif); font-weight: 800; font-size: clamp(36px, 4vw, 56px); color: var(--gold-light); line-height: 1; }
.stat .lbl { display: block; margin-top: 10px; font-size: 11px; font-weight: 600; letter-spacing: .18em; color: rgba(200,216,207,.85); text-transform: uppercase; }

.testimonials { display: grid; gap: var(--s-5); grid-template-columns: 1fr 1fr; margin-top: var(--s-6); }
.tcard {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r-lg);
  padding: 32px;
}
.tquote-mark { font-family: var(--serif); font-size: 60px; line-height: 0.6; color: var(--gold-light); }
.tquote { font-family: var(--serif); font-size: 19px; line-height: 1.55; margin: 14px 0 22px; color: var(--white); }
.tperson { font-size: 13px; font-weight: 600; color: var(--gold-light); }
.trole { font-size: 12px; color: rgba(200,216,207,.75); margin-top: 2px; }

/* --------------------------- BLOG TEASER + LIST ---------------- */
.blog-grid {
  display: grid; gap: var(--s-5);
  grid-template-columns: repeat(3, 1fr);
  margin-top: var(--s-7);
}
.article {
  border-radius: var(--r-lg); overflow: hidden;
  background: var(--white);
  border: 1px solid var(--border);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
  display: flex; flex-direction: column;
}
.article:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.article-cover { aspect-ratio: 16 / 9; background: var(--navy); position: relative; overflow: hidden; }
.article-cover svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.article-body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.article-tag { font-size: 11px; font-weight: 700; letter-spacing: .18em; color: var(--forest); margin-bottom: 10px; }
.article h3 { font-size: 19px; line-height: 1.3; }
.article-meta { margin-top: auto; padding-top: 18px; font-size: 12px; color: var(--text-muted); display: flex; align-items: center; gap: 8px; }
.article-meta::after { content: "→"; color: var(--forest); transition: transform .2s var(--ease); margin-left: 4px; }
.article:hover .article-meta::after { transform: translateX(3px); }

/* --------------------------- FINAL CTA ------------------------- */
.final-cta {
  background:
    radial-gradient(800px 400px at 50% 0%, rgba(201,162,39,.16), transparent 60%),
    linear-gradient(180deg, var(--navy), var(--navy-deep));
  color: var(--white);
  text-align: center;
}
.final-cta h2 { color: var(--white); }
.final-cta p { color: var(--text-onnavy); font-size: var(--fs-lead); margin: var(--s-4) auto var(--s-6); max-width: 56ch; }
.final-cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s-3); }
.final-trust { margin-top: var(--s-6); font-size: 12px; color: rgba(200,208,219,.7); display: inline-flex; align-items: center; gap: 8px; }
.final-trust svg { width: 14px; height: 14px; color: var(--gold-light); }

/* --------------------------- FOOTER ---------------------------- */
.site-footer { background: var(--navy-deep); color: var(--text-onnavy); padding-block: 64px 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: var(--s-7); }
.footer-brand .logo { color: var(--white); margin-bottom: 14px; }
.footer-brand .logo .logo-name { color: var(--white); }
.footer-brand .logo .logo-name em { color: var(--gold-light); }
.footer-brand .logo .logo-tagline { color: rgba(200,208,219,.55); }
.footer-brand p { font-size: 14px; line-height: 1.6; max-width: 36ch; }
.newsletter { display: flex; margin-top: 18px; gap: 0; flex-wrap: wrap; }
.newsletter input {
  flex: 1; min-width: 0;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.12);
  color: var(--white); font: inherit; font-size: 14px;
  padding: 12px 14px;
  border-radius: var(--r-sm) 0 0 var(--r-sm);
}
.newsletter input::placeholder { color: rgba(200,208,219,.5); }
.newsletter input:focus { outline: 2px solid var(--gold); outline-offset: 0; border-color: transparent; }
.newsletter button {
  background: var(--gold); color: var(--navy-deep); border: 0;
  padding: 12px 18px; font-weight: 700; font-size: 13px;
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  transition: background .2s var(--ease);
}
.newsletter button:hover { background: #d8b035; }
.footer-col h4 {
  font-family: var(--sans); font-size: 12px; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase; color: var(--gold-light);
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 14px; color: var(--text-onnavy); transition: color .2s var(--ease); }
.footer-col a:hover { color: var(--white); }
.footer-bar {
  margin-top: 48px; padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.08);
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center;
  gap: 16px;
  font-size: 12px; color: rgba(200,208,219,.6);
}
.footer-socials { display: flex; gap: 18px; }
.footer-socials a { color: var(--gold-light); font-weight: 600; }

/* --------------------------- PROSE / RICH TEXT ----------------- */
.prose { max-width: 70ch; margin-inline: auto; }
.prose p { font-size: 17px; line-height: 1.75; color: var(--text); margin-bottom: 1.1em; }
.prose h2 { font-size: clamp(26px, 1.6rem + 1vw, 36px); margin: 1.6em 0 .6em; }
.prose h3 { font-size: clamp(20px, 1.2rem + .5vw, 26px); margin: 1.4em 0 .5em; }
.prose ul, .prose ol { padding-left: 22px; margin-bottom: 1.1em; }
.prose li { font-size: 17px; line-height: 1.7; margin-bottom: .35em; }
.prose blockquote {
  font-family: var(--serif); font-size: 22px; line-height: 1.5;
  border-left: 3px solid var(--gold); padding: 8px 0 8px 22px;
  margin: 1.4em 0; color: var(--navy);
}
.prose .first-letter::first-letter {
  font-family: var(--serif); font-weight: 700;
  font-size: 4.4em; float: left; line-height: 0.85;
  margin: 6px 12px 0 -2px; color: var(--forest);
}
.tag-pill {
  display: inline-block;
  background: var(--gold-glow); color: var(--navy);
  border: 1px solid rgba(201,162,39,.3);
  font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 100px;
}

/* --------------------------- INTAKE FORM ----------------------- */
.intake {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: clamp(28px, 3.5vw, 48px);
  box-shadow: var(--shadow-md);
}
.stepper { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.stepper .pill {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 600;
  padding: 7px 14px; border-radius: 100px;
  background: var(--bg); color: var(--text-muted);
  border: 1px solid var(--border);
}
.stepper .pill.active { background: var(--navy); color: var(--white); border-color: var(--navy); }
.stepper .pill .n {
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--white); color: var(--navy);
  display: grid; place-items: center; font-size: 11px; font-weight: 700;
}
.stepper .pill:not(.active) .n { background: var(--white); border: 1px solid var(--border); }

.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.field label { font-size: 13px; font-weight: 600; color: var(--navy); }
.field .hint { font-size: 12px; color: var(--text-muted); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 15px;
  padding: 14px 16px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  color: var(--text);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--gold);
  box-shadow: 0 0 0 4px var(--gold-glow);
}
.field textarea { min-height: 120px; resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 13px; color: var(--text-muted); margin-block: 12px 24px; }
.consent input { margin-top: 3px; }
.intake-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; margin-top: 8px; }

/* Sidebar reassurance card */
.intake-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: var(--s-5); align-items: start; }
.reassure { display: flex; flex-direction: column; gap: 16px; position: sticky; top: 100px; }
.reassure-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 22px;
}
.reassure-card h4 { font-size: 16px; margin-bottom: 8px; }
.reassure-card p { font-size: 13px; color: var(--text-muted); line-height: 1.6; }
.reassure-card .badge { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--forest); margin-bottom: 6px; }
.reassure-card .badge svg { width: 14px; height: 14px; color: var(--forest); }

/* --------------------------- GENERIC GRID ---------------------- */
.cards-3 { display: grid; gap: var(--s-5); grid-template-columns: repeat(3, 1fr); }
.cards-4 { display: grid; gap: var(--s-4); grid-template-columns: repeat(4, 1fr); }
.cards-2 { display: grid; gap: var(--s-5); grid-template-columns: repeat(2, 1fr); }

.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px;
}
.feature-card h3 { margin-bottom: 10px; font-size: 22px; }
.feature-card p { color: var(--text-muted); line-height: 1.65; }
.feature-card.dark { background: var(--navy); color: var(--white); border-color: var(--navy); }
.feature-card.dark h3 { color: var(--white); }
.feature-card.dark p { color: var(--text-onnavy); }

.kv-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0; }
.kv-list li { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--border); font-size: 15px; }
.kv-list li:last-child { border-bottom: 0; }
.kv-list .k { color: var(--text-muted); }
.kv-list .v { font-weight: 600; color: var(--navy); }

/* People / team */
.team-grid { display: grid; gap: var(--s-5); grid-template-columns: repeat(3, 1fr); margin-top: var(--s-7); }
.person {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r-lg); overflow: hidden;
  display: flex; flex-direction: column;
}
.person-portrait {
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--navy), var(--forest));
  position: relative;
}
.person-portrait svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.person-body { padding: 20px 22px 24px; }
.person-name { font-family: var(--serif); font-size: 21px; color: var(--navy); margin-bottom: 4px; }
.person-role { font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--forest); margin-bottom: 12px; }
.person-bio { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

/* Case study list */
.case-list { display: flex; flex-direction: column; gap: var(--s-5); margin-top: var(--s-7); }
.case-row-card {
  display: grid; grid-template-columns: 100px 1fr auto; gap: 24px;
  align-items: center;
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 24px 28px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.case-row-card:hover { transform: translateX(4px); box-shadow: var(--shadow-md); }
.case-amount { font-family: var(--serif); font-size: 28px; font-weight: 800; color: var(--forest); line-height: 1; }
.case-amount-sub { font-size: 11px; letter-spacing: .15em; text-transform: uppercase; color: var(--text-muted); margin-top: 4px; }
.case-body h3 { font-size: 19px; margin-bottom: 4px; }
.case-body p { font-size: 14px; color: var(--text-muted); }
.case-row-card .arrow { color: var(--forest); font-size: 22px; transition: transform .25s var(--ease); }
.case-row-card:hover .arrow { transform: translateX(4px); }
button.case-row-card { width: 100%; text-align: left; font: inherit; cursor: pointer; border: 1px solid var(--border); }

/* Case study modal */
.case-modal-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(15, 28, 42, 0.62);
  display: flex; align-items: center; justify-content: center;
  padding: var(--s-5);
  opacity: 0; visibility: hidden;
  transition: opacity .25s var(--ease), visibility .25s var(--ease);
}
.case-modal-overlay.open { opacity: 1; visibility: visible; }
.case-modal {
  background: var(--white); border-radius: var(--r-xl);
  max-width: 640px; width: 100%; max-height: 86vh; overflow-y: auto;
  padding: var(--s-7) var(--s-6);
  box-shadow: var(--shadow-lg);
  position: relative;
  transform: translateY(18px) scale(.98); opacity: 0;
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.case-modal-overlay.open .case-modal { transform: translateY(0) scale(1); opacity: 1; }
.case-modal-close {
  position: absolute; top: 18px; right: 18px;
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--border); background: var(--bg);
  font-size: 20px; line-height: 1; color: var(--text-muted);
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background .2s var(--ease), color .2s var(--ease);
}
.case-modal-close:hover { background: var(--forest); color: var(--white); border-color: var(--forest); }
.case-modal-tag {
  display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--forest); background: var(--bg-2); border-radius: 100px; padding: 5px 12px; margin-bottom: 14px;
}
.case-modal-figures { display: flex; align-items: baseline; gap: 10px; margin-bottom: 6px; }
.case-modal-amount { font-family: var(--serif); font-size: 34px; font-weight: 800; color: var(--forest); }
.case-modal-sub { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-muted); }
.case-modal-head h3 { font-size: var(--fs-h3); margin: 4px 0 22px; }
.case-modal-body p { font-size: 15px; line-height: 1.7; color: var(--text); margin: 0 0 16px; }
.case-modal-body h4 { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--forest); margin: 22px 0 8px; }
.case-modal-list { margin: 0 0 16px; padding-left: 18px; }
.case-modal-list li { font-size: 14px; color: var(--text-muted); margin-bottom: 6px; line-height: 1.6; }
.case-modal-foot {
  margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.case-modal-foot p { font-size: 12px; color: var(--text-muted); margin: 0; max-width: 320px; }
body.modal-open { overflow: hidden; }

@media (max-width: 640px) {
  .case-modal { padding: var(--s-6) var(--s-5); max-height: 90vh; }
  .case-modal-foot { flex-direction: column; align-items: flex-start; }
}

/* FAQ accordion */
.faq { display: flex; flex-direction: column; gap: 12px; max-width: 820px; margin-inline: auto; }
.faq details {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 18px 22px;
  transition: border-color .2s var(--ease);
}
.faq details[open] { border-color: var(--gold); }
.faq summary {
  font-family: var(--serif); font-size: 19px; font-weight: 700; color: var(--navy);
  cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; font-family: var(--sans); font-weight: 400; font-size: 26px; color: var(--forest);
  transition: transform .25s var(--ease);
  width: 28px; text-align: center; line-height: 1;
}
.faq details[open] summary::after { content: "−"; transform: rotate(0deg); }
.faq details p { margin-top: 14px; color: var(--text-muted); font-size: 15px; line-height: 1.65; }

/* Resource categories */
.resource-grid { display: grid; gap: var(--s-5); grid-template-columns: repeat(2, 1fr); margin-top: var(--s-7); }
.resource-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 32px;
  display: flex; gap: 20px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.resource-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.resource-icon {
  width: 56px; height: 56px; flex-shrink: 0;
  border-radius: 12px;
  background: var(--gold-glow); color: var(--navy);
  display: grid; place-items: center;
}
.resource-icon svg { width: 28px; height: 28px; }
.resource-card h3 { font-size: 21px; margin-bottom: 8px; }
.resource-card p { color: var(--text-muted); font-size: 14px; line-height: 1.6; margin-bottom: 12px; }
.resource-card .meta { font-size: 12px; color: var(--forest); font-weight: 600; }

/* Inline TOC for Process page */
.toc {
  position: sticky; top: 100px;
  border-left: 2px solid var(--border);
  padding-left: 20px;
  display: flex; flex-direction: column; gap: 10px;
}
.toc-label { font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 4px; }
.toc a { font-size: 14px; color: var(--text-muted); }
.toc a:hover, .toc a[aria-current="true"] { color: var(--forest); font-weight: 600; }

/* --------------------------- RESPONSIVE: TABLET ---------------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .hero-visual { max-width: 420px; }
  .compare, .testimonials, .cards-2 { grid-template-columns: 1fr; }
  .steps, .cards-3, .blog-grid, .services-grid, .team-grid { grid-template-columns: repeat(2, 1fr); }
  .steps::before { display: none; }
  .stats, .cards-4 { grid-template-columns: repeat(2, 1fr); gap: 0; }
  .stat { border-left: 0; border-top: 1px solid rgba(255,255,255,.12); }
  .stat:nth-child(-n+2) { border-top: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer-brand { grid-column: 1 / -1; }
  .intake-grid { grid-template-columns: 1fr; }
  .reassure { position: static; }
  .resource-grid { grid-template-columns: 1fr; }
  .case-row-card { grid-template-columns: 80px 1fr; }
  .case-row-card .arrow { display: none; }
}

/* --------------------------- RESPONSIVE: MOBILE ---------------- */
@media (max-width: 720px) {
  .nav, .header-cta { display: none; }
  .menu-toggle { display: inline-flex; }
  .nav.open {
    display: flex; flex-direction: column; gap: 0;
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--white); border-bottom: 1px solid var(--border);
    padding: 8px 0;
  }
  .nav.open a { padding: 14px var(--gutter); border-top: 1px solid var(--border); }
  .nav.open a::after { display: none; }
  .logo-tagline { display: none; }

  .float-stat { left: 8px; bottom: 12px; padding: 10px 14px; }
  .float-stat .num { font-size: 20px; }

  .services-grid, .blog-grid, .cards-3, .team-grid { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bar { flex-direction: column; align-items: flex-start; }

  .field-row { grid-template-columns: 1fr; }

  .case-row-card { grid-template-columns: 1fr; gap: 12px; padding: 22px; }
  .case-amount { font-size: 24px; }
}

@media (max-width: 480px) {
  .hero-meta { gap: 12px; }
  .compare-card, .step, .svc, .article-body, .feature-card { padding: 22px; }
  .tcard, .resource-card { padding: 22px; }
  .case-card { padding: 20px; gap: 12px; }
  .float-stat { display: none; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
}
