/* ═══════════════════════════════════════════════════════════════════════════
   DASHWISE — Warm Editorial (2026 redesign)
   Playfair Display (hero + pull quotes only) · DM Sans (everything else)
   DM Mono (figures only)
   Palette: warm off-white ground · Dashwise Navy #0A1F2E · Teal #0D9488 ·
   Gold #D97706 as a rare highlight.
═══════════════════════════════════════════════════════════════════════════ */

/* ─── Reset ─────────────────────────────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
img, svg { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
button { font: inherit; cursor: pointer; background: none; border: 0; color: inherit; }
ul[class], ol[class] { list-style: none; }
input, select, textarea { font: inherit; color: inherit; }

/* ─── Tokens ────────────────────────────────────────────────────────────── */
:root {
  --navy:      #0A1F2E;
  --navy-2:    #10293B;
  --teal:      #0D9488;
  --teal-dk:   #0B7C72;
  --teal-hi:   #2DD4BF;
  --teal-tint: #E6F7F4;
  --teal-line: #CDEDE7;
  --gold:      #D97706;
  --gold-tint: #FEF3C7;
  --gold-ink:  #92400E;

  --ground:    #FBFAF7;
  --paper:     #F3F0E9;
  --paper-2:   #EDE9DF;
  --white:     #FFFFFF;
  --line:      #E6E2D8;
  --line-dk:   #DDD7CA;

  --ink:       #0F172A;
  --ink-2:     #33475C;
  --body:      #475569;
  --meta:      #6B7A8C;

  --on-navy:      #FFFFFF;
  --on-navy-body: #B8C7D3;
  --on-navy-meta: #8FA3B3;
  --on-navy-line: rgba(255,255,255,0.10);
  --on-navy-chip: rgba(255,255,255,0.08);

  --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans:  'DM Sans', -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif;
  --mono:  'DM Mono', SFMono-Regular, Consolas, monospace;

  --max: 1296px;
  --pad: clamp(20px, 5vw, 72px);
  --nav-h: 80px;
  --r-sm: 8px; --r-md: 14px; --r-lg: 24px;
  --shadow: 0 12px 32px rgba(10,31,46,0.08);
}

/* ─── Base ──────────────────────────────────────────────────────────────── */
body {
  font-family: var(--sans);
  font-size: 16px; line-height: 1.6;
  background: var(--ground); color: var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
::selection { background: var(--teal); color: #fff; }
.container { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
section { position: relative; padding: clamp(64px, 8vw, 112px) 0; }
section.tight { padding-top: clamp(24px, 3vw, 40px); }
.on-paper { background: var(--paper); }

.skip-link { position: absolute; left: -9999px; top: 0; z-index: 999; background: var(--teal); color: #fff; padding: 10px 18px; font-weight: 600; border-radius: 0 0 var(--r-sm) 0; }
.skip-link:focus { left: 0; }

/* ─── Type ──────────────────────────────────────────────────────────────── */
h1, h2, h3, h4 { color: var(--navy); font-weight: 600; line-height: 1.2; }
.h-display {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(40px, 5.6vw, 78px); line-height: 1.04; letter-spacing: -0.02em;
  text-wrap: balance;
}
.h-display em, .h-sec em, .h-page em { font-style: italic; font-weight: 400; color: var(--teal); }
.h-sec {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(30px, 3.4vw, 46px); line-height: 1.12; letter-spacing: -0.015em;
  text-wrap: balance;
}
.h-page {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(36px, 4.6vw, 62px); line-height: 1.08; letter-spacing: -0.02em;
  text-wrap: balance;
}
.h-card { font-size: 20px; font-weight: 600; letter-spacing: -0.005em; }
.lede { font-size: clamp(17px, 1.4vw, 20px); line-height: 1.6; color: var(--body); max-width: 62ch; text-wrap: pretty; }
p { text-wrap: pretty; }
.eyebrow { display: inline-block; font-size: 12.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--teal); }
.on-navy .eyebrow, .navy .eyebrow { color: var(--teal-hi); }
.meta { font-size: 13.5px; color: var(--meta); }
.mono { font-family: var(--mono); font-weight: 500; }
strong { color: var(--ink); font-weight: 600; }

.sec-head { display: flex; flex-direction: column; gap: 16px; max-width: 760px; margin-bottom: clamp(36px, 4.5vw, 56px); }
.sec-head .lede { margin-top: 2px; }
.sec-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-bottom: clamp(36px, 4.5vw, 56px); }
.sec-head-row .sec-head { margin-bottom: 0; }
.sec-head-row .aside { max-width: 380px; font-size: 17px; line-height: 1.6; }

/* ─── Buttons & links ───────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-size: 15.5px; font-weight: 600; line-height: 1;
  padding: 15px 24px; border-radius: var(--r-sm); border: 1.5px solid transparent;
  transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; transition: transform .2s; }
.btn:hover svg { transform: translateX(3px); }
.btn-teal { background: var(--teal); color: #fff; }
.btn-teal:hover { background: var(--teal-dk); transform: translateY(-1px); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-2); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: #D9D4C8; }
.btn-ghost:hover { border-color: var(--navy); }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,0.55); }
.btn-ghost-light:hover { border-color: #fff; }
.btn-lg { font-size: 16.5px; padding: 18px 28px; }
.btn-sm { font-size: 14.5px; padding: 12px 18px; }

.lnk { display: inline-flex; align-items: center; gap: 8px; font-size: 15.5px; font-weight: 600; color: var(--teal); transition: gap .2s; }
.lnk svg { width: 16px; height: 16px; }
.lnk:hover { gap: 12px; color: var(--teal-dk); }
.lnk-ink { color: var(--navy); }
.lnk-ink:hover { color: var(--navy); }
.lnk-ul { font-size: 16px; font-weight: 600; color: var(--navy); border-bottom: 1.5px solid var(--navy); padding-bottom: 2px; }

.chip { display: inline-block; font-size: 13px; font-weight: 500; color: var(--ink-2); background: var(--paper); border-radius: 999px; padding: 6px 12px; line-height: 1; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.navy .chip, .on-navy .chip { background: var(--on-navy-chip); color: #DDE6EC; }
.chip-teal { background: rgba(13,148,136,0.10); color: #0B5F58; }
.tag-note { display: inline-block; font-size: 12px; font-weight: 600; color: var(--gold-ink); background: var(--gold-tint); border-radius: 999px; padding: 4px 10px; }

/* ─── Cards ─────────────────────────────────────────────────────────────── */
.card { display: flex; flex-direction: column; gap: 14px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); padding: 30px; transition: box-shadow .25s, transform .25s; }
a.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card .h-card { color: var(--navy); }
.card p { font-size: 15.5px; line-height: 1.6; }
.card .icon { width: 28px; height: 28px; color: var(--teal); }
.card.navy { background: var(--navy); border-color: var(--navy); }
.card.navy h3 { color: #fff; } .card.navy p { color: var(--on-navy-body); }
.card.teal-tint { background: var(--teal-tint); border-color: var(--teal-line); }
.card.teal-tint p { color: #3D5060; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }

/* ─── NAV ───────────────────────────────────────────────────────────────── */
nav.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h); padding: 0 var(--pad);
  display: flex; align-items: center;
  background: rgba(251,250,247,0.92);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
nav.site-nav.scrolled { border-color: var(--line); box-shadow: 0 2px 24px rgba(10,31,46,0.05); }
.nav-inner { max-width: var(--max); margin: 0 auto; width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo svg { width: 36px; height: 36px; }
.logo .wm { display: flex; align-items: baseline; font-size: 24px; letter-spacing: -0.02em; line-height: 1; }
.logo .wm b { font-weight: 500; color: var(--navy); }
.logo .wm i { font-style: normal; font-weight: 700; color: var(--teal); }
.logo.light .wm b { color: #fff; } .logo.light .wm i { color: var(--teal-hi); }
.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a { font-size: 15px; font-weight: 500; color: var(--ink); padding: 6px 0; position: relative; transition: color .2s; }
.nav-links a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--teal); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { transform: scaleX(1); }
.nav-actions { display: flex; align-items: center; gap: 22px; }
.nav-phone { font-size: 15px; font-weight: 500; color: var(--ink); }
.nav-hamburger { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; flex-direction: column; gap: 5px; }
.nav-hamburger span { display: block; width: 22px; height: 2px; background: var(--navy); border-radius: 2px; transition: transform .25s, opacity .25s; }
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-mobile {
  position: fixed; top: var(--nav-h); left: 0; right: 0; z-index: 99;
  background: var(--ground); border-bottom: 1px solid var(--line);
  padding: 12px var(--pad) 24px; display: none; flex-direction: column; gap: 4px;
}
.nav-mobile.open { display: flex; }
.nav-mobile a { font-size: 18px; font-weight: 500; color: var(--ink); padding: 14px 0; border-bottom: 1px solid var(--line); }
.nav-mobile a.btn { margin-top: 14px; border: 0; color: #fff; }

main { padding-top: var(--nav-h); }

/* ─── HERO (home) ───────────────────────────────────────────────────────── */
.hero { padding: clamp(48px, 6vw, 88px) 0 clamp(40px, 5vw, 72px); }
.hero-grid { display: grid; grid-template-columns: 7fr 5fr; gap: 40px; align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: 26px; max-width: 720px; }
.hero-copy .lede { max-width: 600px; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 22px; margin-top: 4px; }
.hero-note { font-size: 14.5px; color: var(--meta); }
.hero-pre { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; font-size: 14px; font-weight: 500; color: var(--meta); }
.hero-pre .dot { width: 3px; height: 3px; border-radius: 50%; background: #C7C1B4; }
.hero-pre .strong { color: var(--ink); }

.hero-visual { display: flex; justify-content: flex-end; }
.portrait { position: relative; width: min(100%, 470px); aspect-ratio: 470 / 570; }
.portrait .block { position: absolute; left: 0; top: 9%; width: 85%; height: 91%; background: var(--paper-2); border-radius: 18px; }
.portrait .photo { position: absolute; left: 6.5%; top: 3.5%; width: 89%; height: 91%; border-radius: 18px; overflow: hidden; }
.portrait .photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; filter: saturate(0.92) contrast(1.02); }
.portrait .frame { position: absolute; left: 10.5%; top: 0; width: 89%; height: 91%; border: 2px solid var(--teal); border-radius: 18px; pointer-events: none; }
.portrait .caption {
  position: absolute; left: 1%; bottom: 4%;
  background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px;
  display: flex; flex-direction: column; gap: 2px; box-shadow: var(--shadow);
}
.portrait .caption b { font-size: 15px; font-weight: 600; color: var(--navy); }
.portrait .caption span { font-size: 13.5px; color: var(--meta); }

/* ─── Trust bar ─────────────────────────────────────────────────────────── */
.trust { padding: 28px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.trust-item { display: flex; align-items: center; gap: 14px; }
.trust-item svg { width: 28px; height: 28px; color: var(--navy); flex-shrink: 0; }
.trust-item b { display: block; font-size: 15px; font-weight: 600; color: var(--navy); }
.trust-item span { font-size: 13.5px; color: var(--meta); }

/* ─── Audience cards (who we help) ──────────────────────────────────────── */
.who-card { gap: 22px; padding: 36px 34px 32px; }
.who-card .icon { width: 36px; height: 36px; }
.who-card h3 { font-size: 26px; letter-spacing: -0.01em; margin-bottom: 10px; }
.who-card p { font-size: 16px; }
.who-card .lnk { margin-top: auto; }
.card.navy .icon { color: var(--teal-hi); } .card.navy .lnk { color: var(--teal-hi); }
.card.teal-tint .lnk { color: var(--teal-dk); }

/* ─── Feature rows (why Dashwise / what's included) ─────────────────────── */
.split { display: grid; grid-template-columns: 5fr 7fr; gap: 48px; align-items: start; }
.split .sec-head { margin-bottom: 0; }
.feature-list { display: flex; flex-direction: column; }
.feature { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 24px; padding: 28px 0; border-top: 1px solid var(--line-dk); }
.feature:last-child { border-bottom: 1px solid var(--line-dk); }
.feature .ico { width: 56px; height: 56px; border-radius: 14px; background: var(--white); display: flex; align-items: center; justify-content: center; color: var(--teal); }
.feature .ico svg { width: 26px; height: 26px; }
.feature h3 { font-size: 22px; margin-bottom: 8px; }
.feature p { font-size: 16.5px; }

/* ─── Navy panel (technology) ───────────────────────────────────────────── */
.panel { background: var(--navy); border-radius: var(--r-lg); padding: clamp(40px, 5vw, 72px) clamp(28px, 4vw, 64px); color: var(--on-navy-body); }
.panel h2, .panel h3 { color: #fff; }
.panel p { color: var(--on-navy-body); }
.panel-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 40px; align-items: center; }
.panel-copy { display: flex; flex-direction: column; gap: 22px; }
.panel-copy .btn { align-self: flex-start; margin-top: 8px; }

/* dashboard mock */
.dash { width: 100%; max-width: 640px; margin-left: auto; background: var(--navy-2); border: 1px solid var(--on-navy-line); border-radius: 16px; padding: 24px 26px; display: flex; flex-direction: column; gap: 22px; }
.dash-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.dash-top b { display: block; font-size: 14px; font-weight: 600; color: #fff; }
.dash-top span { font-size: 12.5px; color: var(--on-navy-meta); }
.dash-live { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--teal-hi); border: 1px solid rgba(45,212,191,0.4); border-radius: 999px; padding: 5px 10px; white-space: nowrap; }
.dash-live::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--teal-hi); }
.dash-metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.dash-metric { background: rgba(255,255,255,0.04); border-radius: 10px; padding: 14px; display: flex; flex-direction: column; gap: 6px; }
.dash-metric .lbl { font-size: 12px; color: var(--on-navy-meta); }
.dash-metric .val { font-family: var(--mono); font-weight: 500; font-size: 20px; color: #fff; }
.dash-metric .delta { font-size: 12px; color: var(--teal-hi); }
.dash-metric .delta.warn { color: #F5B84A; }
.dash-chart .lbl { font-size: 12px; color: var(--on-navy-meta); margin-bottom: 12px; }
.chart-bars { display: flex; align-items: flex-end; gap: 8px; height: 110px; }
.chart-bars i { flex: 1; background: rgba(45,212,191,0.28); border-radius: 3px 3px 0 0; }
.chart-bars i.active { background: var(--teal-hi); }
.chart-axis { display: flex; justify-content: space-between; font-size: 11.5px; color: var(--on-navy-meta); margin-top: 10px; }

/* ─── Services grid & detail ────────────────────────────────────────────── */
.svc-card { padding: 30px 30px 28px; }
.svc-detail { display: grid; grid-template-columns: 5fr 7fr; gap: 48px; padding: clamp(44px, 5vw, 64px) 0; border-top: 1px solid var(--line); scroll-margin-top: calc(var(--nav-h) + 16px); }
.svc-detail:last-of-type { border-bottom: 1px solid var(--line); }
.svc-detail .num { font-family: var(--mono); font-size: 13px; color: var(--meta); margin-bottom: 14px; display: block; }
.svc-detail h2 { font-size: clamp(26px, 2.6vw, 34px); margin-bottom: 14px; letter-spacing: -0.01em; }
.svc-detail .lede { font-size: 17px; margin-bottom: 22px; }
.svc-detail h3 { font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--meta); margin-bottom: 14px; }
.checklist { display: flex; flex-direction: column; gap: 12px; }
.checklist li { display: flex; align-items: flex-start; gap: 12px; font-size: 16px; color: var(--ink-2); }
.checklist li::before { content: ''; flex-shrink: 0; width: 20px; height: 20px; margin-top: 2px; border-radius: 50%; background: var(--teal-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230D9488' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat; }
.svc-detail .checklist { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); padding: 28px 30px; }

/* ─── Steps ─────────────────────────────────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.steps.steps-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.step { display: flex; flex-direction: column; gap: 12px; padding-top: 22px; border-top: 2px solid var(--line-dk); }
.step .no { font-family: var(--mono); font-size: 13px; color: var(--teal); }
.step h3 { font-size: 20px; }
.step p { font-size: 15.5px; }

/* ─── Insights cards ────────────────────────────────────────────────────── */
.insight-card { padding: 0; overflow: hidden; gap: 0; }
.insight-tile { padding: 28px 28px 24px; height: 180px; display: flex; flex-direction: column; justify-content: space-between; }
.insight-tile .cat { font-size: 12.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.insight-tile .big { font-family: var(--serif); font-style: italic; font-size: 30px; line-height: 1.1; }
.tile-navy { background: var(--navy); } .tile-navy .cat { color: var(--teal-hi); } .tile-navy .big { color: #fff; }
.tile-teal { background: var(--teal-tint); } .tile-teal .cat { color: var(--teal-dk); } .tile-teal .big { color: var(--navy); }
.tile-gold { background: var(--gold-tint); } .tile-gold .cat { color: var(--gold-ink); } .tile-gold .big { color: var(--navy); }
.insight-body { padding: 24px 28px 28px; display: flex; flex-direction: column; gap: 10px; }
.insight-body h3 { font-size: 19px; line-height: 1.35; }
.insight-body p { font-size: 15px; }
.insight-card img { width: 100%; height: 180px; object-fit: cover; }

/* ─── CTA band ──────────────────────────────────────────────────────────── */
.cta-band { padding: 0 0 clamp(64px, 8vw, 112px); }
.cta { background: var(--teal); border-radius: var(--r-lg); padding: clamp(48px, 6vw, 88px) clamp(28px, 6vw, 96px); display: grid; grid-template-columns: 7fr 5fr; gap: 40px; align-items: center; }
.cta h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(32px, 3.6vw, 50px); line-height: 1.1; letter-spacing: -0.015em; color: #fff; margin-bottom: 18px; }
.cta p { font-size: 18px; color: #D7F5F0; max-width: 560px; }
.cta-actions { display: flex; flex-direction: column; align-items: flex-end; gap: 14px; }
.cta-actions .btn { min-width: 250px; }

/* ─── Page hero (inner pages) ───────────────────────────────────────────── */
.page-hero { padding: clamp(40px, 5vw, 72px) 0 clamp(36px, 4vw, 56px); border-bottom: 1px solid var(--line); }
.page-hero-inner { display: flex; flex-direction: column; gap: 18px; max-width: 820px; }
.crumb { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--meta); }
.crumb a { color: var(--meta); } .crumb a:hover { color: var(--teal); }
.crumb .here { color: var(--ink); font-weight: 500; }
.page-hero .actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 8px; }
.page-hero.with-side .page-hero-inner { max-width: none; display: grid; grid-template-columns: 7fr 5fr; gap: 48px; align-items: center; }
.page-hero.with-side .copy { display: flex; flex-direction: column; gap: 18px; }

/* ─── About ─────────────────────────────────────────────────────────────── */
.bio-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 56px; align-items: start; }
.bio-grid .portrait { width: min(100%, 440px); }
.bio-copy { display: flex; flex-direction: column; gap: 18px; font-size: 17px; }
.bio-copy h2 { margin-bottom: 4px; }
.cred-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.principles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.principle { padding: 30px; }
.principle .num { font-family: var(--mono); font-size: 13px; color: var(--teal); display: block; margin-bottom: 14px; }
.principle h3 { font-size: 21px; margin-bottom: 10px; }

/* ─── Contact ───────────────────────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 56px; align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 22px; }
.contact-rows { display: flex; flex-direction: column; border-top: 1px solid var(--line-dk); }
.contact-row { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line-dk); font-size: 15.5px; }
.contact-row .lbl { font-weight: 600; color: var(--navy); }
.contact-row .val { color: var(--ink-2); line-height: 1.55; }
.contact-row .val a:hover { color: var(--teal); }
.hours { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); padding: 22px 26px; }
.hours h3 { font-size: 15px; margin-bottom: 12px; }
.hours dl { display: grid; grid-template-columns: 1fr auto; gap: 8px 24px; font-size: 15px; }
.hours dt { color: var(--ink-2); } .hours dd { color: var(--meta); text-align: right; }

.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(24px, 3vw, 40px); }
.form-card h2 { font-size: 26px; margin-bottom: 6px; }
.form-card > p { font-size: 15.5px; margin-bottom: 26px; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.form-group { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.form-group label { font-size: 14px; font-weight: 600; color: var(--navy); }
.label-optional { font-weight: 400; color: var(--meta); }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; background: var(--ground); border: 1.5px solid var(--line); border-radius: var(--r-sm);
  padding: 14px 16px; font-size: 16px; color: var(--ink); transition: border-color .2s, box-shadow .2s;
}
.form-group textarea { min-height: 140px; resize: vertical; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(13,148,136,0.12); background: #fff; }
.form-group input::placeholder, .form-group textarea::placeholder { color: #A3ADB8; }
.error-msg { display: none; font-size: 13px; color: #DC2626; }
.field-error input, .field-error select { border-color: #EF4444; }
.field-error .error-msg { display: block; }
.form-check { display: flex; align-items: flex-start; gap: 12px; font-size: 14.5px; color: var(--body); margin: 6px 0 22px; }
.form-check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--teal); flex-shrink: 0; }
.form-check a { color: var(--teal); text-decoration: underline; }
.form-submit { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.btn-submit { display: inline-flex; align-items: center; gap: 10px; background: var(--teal); color: #fff; font-size: 15.5px; font-weight: 600; padding: 16px 26px; border-radius: var(--r-sm); transition: background .2s; }
.btn-submit:hover { background: var(--teal-dk); } .btn-submit:disabled { opacity: .7; cursor: default; }
.form-note { font-size: 13.5px; color: var(--meta); }
.form-success { display: none; text-align: center; padding: 40px 20px; }
.form-success.show { display: block; }
.success-icon { width: 56px; height: 56px; border-radius: 50%; background: var(--teal-tint); display: flex; align-items: center; justify-content: center; margin: 0 auto 18px; }
.form-success h3 { font-size: 24px; margin-bottom: 8px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ─── Insights hub (dynamic, ids/classes used by the Sanity loader) ─────── */
.filter-bar { border-bottom: 1px solid var(--line); }
.filter-inner { display: flex; gap: 8px; overflow-x: auto; padding: 18px 0; scrollbar-width: none; }
.filter-inner::-webkit-scrollbar { display: none; }
.filter-btn { flex-shrink: 0; font-size: 14px; font-weight: 500; color: var(--ink-2); padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); transition: all .2s; }
.filter-btn:hover { border-color: var(--teal); color: var(--teal); }
.filter-btn.active { background: var(--navy); border-color: var(--navy); color: #fff; }
#featured-container { margin-bottom: 32px; }
.featured-post { display: grid; grid-template-columns: 1fr 1fr; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; transition: box-shadow .25s; }
.featured-post:hover { box-shadow: var(--shadow); }
.featured-img { position: relative; background: var(--navy); min-height: 320px; }
.featured-img img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.featured-img-placeholder { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; color: var(--on-navy-meta); font-size: 13px; }
.featured-cat, .post-cat { position: absolute; top: 18px; left: 18px; z-index: 1; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; background: var(--white); color: var(--teal-dk); padding: 6px 10px; border-radius: 999px; }
.featured-body { padding: clamp(28px, 3vw, 44px); display: flex; flex-direction: column; gap: 14px; justify-content: center; }
.featured-meta, .post-meta { font-size: 13.5px; color: var(--meta); }
.featured-body h2 { font-size: clamp(24px, 2.2vw, 32px); line-height: 1.25; }
.featured-body p { font-size: 16px; }
.read-link, .post-read-link { font-size: 15px; font-weight: 600; color: var(--teal); margin-top: 6px; }
#posts-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.post-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; transition: box-shadow .25s, transform .25s; }
.post-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.post-img { position: relative; height: 200px; background: var(--paper); }
.post-img img { width: 100%; height: 100%; object-fit: cover; }
.post-img-placeholder { height: 100%; display: flex; align-items: center; justify-content: center; }
.post-body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 10px; }
.post-body h3 { font-size: 18px; line-height: 1.35; }
.post-body p { font-size: 15px; }
#posts-loading, #posts-empty, #post-loading, #post-error { text-align: center; padding: 80px 20px; color: var(--meta); display: flex; flex-direction: column; align-items: center; gap: 14px; }
#posts-empty h2, #post-error h2 { font-size: 24px; }
.spinner { width: 28px; height: 28px; border-radius: 50%; border: 3px solid var(--line); border-top-color: var(--teal); animation: spin .8s linear infinite; }
.load-more-wrap { display: flex; justify-content: center; margin-top: 40px; }

/* ─── Insights post ─────────────────────────────────────────────────────── */
#post-hero { padding: clamp(40px, 5vw, 72px) 0 32px; }
.post-hero-inner { max-width: 820px; margin: 0 auto; padding: 0 var(--pad); display: flex; flex-direction: column; gap: 18px; }
.post-cat-badge { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--teal-dk); background: var(--teal-tint); padding: 6px 10px; border-radius: 999px; }
#hero-title { font-family: var(--serif); font-weight: 500; font-size: clamp(32px, 4vw, 52px); line-height: 1.12; letter-spacing: -0.015em; }
.post-hero-meta { display: flex; flex-wrap: wrap; gap: 18px; font-size: 14px; color: var(--meta); }
.post-hero-meta span { display: inline-flex; align-items: center; gap: 6px; }
#post-cover { display: none; }
#post-cover.show { display: block; }
.post-cover-inner { max-width: 1000px; margin: 0 auto; padding: 0 var(--pad); }
.post-cover-inner img { width: 100%; border-radius: var(--r-lg); max-height: 520px; object-fit: cover; }
#post-body-section { padding: clamp(40px, 5vw, 64px) 0; }
.post-layout { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 64px; align-items: start; }
.post-content { max-width: 720px; font-size: 17.5px; line-height: 1.75; color: var(--ink-2); }
.post-content p { margin-bottom: 1.4em; }
.post-content h2 { font-size: 28px; margin: 1.8em 0 .6em; }
.post-content h3 { font-size: 22px; margin: 1.6em 0 .5em; }
.post-content h4 { font-size: 18px; margin: 1.4em 0 .5em; }
.post-content ul, .post-content ol { margin: 0 0 1.4em 1.4em; }
.post-content li { margin-bottom: .5em; }
.post-content blockquote { font-family: var(--serif); font-style: italic; font-size: 24px; line-height: 1.4; color: var(--navy); border-left: 3px solid var(--teal); padding: 6px 0 6px 24px; margin: 2em 0; }
.post-content blockquote p { margin: 0; }
.post-content img { border-radius: var(--r-md); margin: 2em 0; }
.post-content a { color: var(--teal); text-decoration: underline; }
.post-content code { font-family: var(--mono); font-size: .9em; background: var(--paper); padding: 2px 6px; border-radius: 4px; }
.post-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line); }
.post-tag { font-size: 13px; color: var(--ink-2); background: var(--paper); padding: 6px 12px; border-radius: 999px; }
.post-share { display: flex; align-items: center; gap: 10px; margin-top: 22px; }
.post-share-label { font-size: 13.5px; color: var(--meta); }
.share-btn { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); display: inline-flex; align-items: center; justify-content: center; color: var(--ink-2); transition: all .2s; }
.share-btn:hover { border-color: var(--teal); color: var(--teal); }
.post-sidebar { display: flex; flex-direction: column; gap: 20px; position: sticky; top: calc(var(--nav-h) + 24px); }
.sidebar-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); padding: 24px; }
.author-card { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.author-avatar { width: 48px; height: 48px; border-radius: 50%; background: var(--navy); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: 18px; }
.author-name { font-weight: 600; color: var(--navy); } .author-title { font-size: 13.5px; color: var(--meta); }
.author-bio { font-size: 15px; }
.sidebar-card h3 { font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--meta); margin-bottom: 16px; }
.related-post { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 14px; padding: 12px 0; border-top: 1px solid var(--line); }
.related-post:first-of-type { border-top: 0; padding-top: 0; }
.related-thumb { width: 64px; height: 64px; border-radius: var(--r-sm); background: var(--paper); object-fit: cover; }
.related-title { font-size: 15px; font-weight: 600; color: var(--navy); line-height: 1.35; }
.related-meta { font-size: 13px; color: var(--meta); margin-top: 4px; }
.sidebar-cta { background: var(--navy); border-radius: var(--r-md); padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.sidebar-cta p { color: var(--on-navy-body); font-size: 15px; }

/* ─── Locations ─────────────────────────────────────────────────────────── */
.loc-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 24px; padding: 22px 26px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); }
.loc-facts dt { font-size: 12.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--meta); }
.loc-facts dd { font-size: 15.5px; color: var(--ink); font-weight: 500; margin-top: 2px; }
.prose { display: flex; flex-direction: column; gap: 18px; font-size: 17px; line-height: 1.7; max-width: 760px; }
.prose h2 { font-size: clamp(26px, 2.6vw, 34px); letter-spacing: -0.01em; }
.loc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.loc-card { padding: 24px 26px; gap: 6px; }
.loc-card h3 { font-size: 19px; }
.loc-card p { font-size: 14.5px; }
.loc-card .lnk { margin-top: 10px; font-size: 14.5px; }
.svc-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.svc-pills a { font-size: 14.5px; font-weight: 500; color: var(--ink); background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 10px 16px; transition: all .2s; }
.svc-pills a:hover { border-color: var(--teal); color: var(--teal); }

/* ─── Footer ────────────────────────────────────────────────────────────── */
.site-footer { background: var(--navy); color: var(--on-navy-body); padding: clamp(48px, 6vw, 72px) 0 40px; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 48px; margin-bottom: 56px; }
.footer-brand { display: flex; flex-direction: column; gap: 18px; max-width: 360px; }
.footer-brand p { font-size: 15px; }
.footer-col h4 { font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--on-navy-meta); margin-bottom: 14px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a, .footer-col li { font-size: 15px; color: #DDE6EC; }
.footer-col a:hover { color: var(--teal-hi); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid var(--on-navy-line); font-size: 13.5px; color: var(--on-navy-meta); }
.footer-legal { display: flex; gap: 24px; }
.footer-legal a { color: var(--on-navy-meta); } .footer-legal a:hover { color: #fff; }

/* ─── Reveal ────────────────────────────────────────────────────────────── */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .08s !important; }
.reveal-delay-2 { transition-delay: .16s !important; }
.reveal-delay-3 { transition-delay: .24s !important; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ─── Responsive ────────────────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .nav-links { gap: 24px; }
  .nav-phone { display: none; }
  .hero-grid { grid-template-columns: 1fr 1fr; }
  .grid-3, .principles, #posts-grid, .loc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-4, .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split, .svc-detail, .bio-grid, .contact-grid, .panel-grid { grid-template-columns: 1fr; gap: 36px; }
  .dash { margin-left: 0; max-width: none; }
  .post-layout { grid-template-columns: 1fr; }
  .post-sidebar { position: static; }
  .page-hero.with-side .page-hero-inner { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  :root { --nav-h: 64px; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .nav-actions { gap: 8px; }
  .nav-actions .btn { padding: 12px 16px; font-size: 14.5px; }
  .hero { padding-top: 32px; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .hero-actions .lnk-ul { align-self: center; }
  .hero-visual { justify-content: flex-start; }
  .portrait { width: min(100%, 420px); }
  .hero-visual { margin-bottom: 10px; }
  .sec-head-row { flex-direction: column; align-items: flex-start; gap: 20px; }
  .cta { grid-template-columns: 1fr; }
  .cta-actions { align-items: stretch; }
  .cta-actions .btn { width: 100%; }
  .feature { grid-template-columns: 44px minmax(0, 1fr); gap: 16px; padding: 20px 0; }
  .feature .ico { width: 44px; height: 44px; border-radius: 12px; } .feature .ico svg { width: 22px; height: 22px; }
  .feature h3 { font-size: 18px; } .feature p { font-size: 15px; }
  .who-card { padding: 24px 22px; } .who-card h3 { font-size: 21px; }
  .dash-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .chart-bars { height: 70px; }
  .featured-post { grid-template-columns: 1fr; }
  .featured-img { min-height: 220px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .contact-row { grid-template-columns: 90px minmax(0, 1fr); }
  .loc-facts { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .grid-3, .grid-4, .grid-2, .steps, .steps.steps-3, .principles, #posts-grid, .loc-grid, .trust { grid-template-columns: 1fr; }
  .trust { gap: 16px; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .card { padding: 24px 22px; }
  .panel { border-radius: 20px; }
  .cta { border-radius: 20px; }
  .btn { width: 100%; }
  .nav-actions .btn, .btn-submit, .filter-btn { width: auto; }
}
