/* ════════════════════════════════════════════════════════════
   SITE MOTION SYSTEM — motion.css  (brand-agnostic)
   ------------------------------------------------------------
   Load it on every page (order-independent — works before OR after
   the site's own stylesheet). To match the brand, set any of these
   on :root in the SITE'S css; each has a sensible fallback so you
   only override what you want:

     :root{
       --motion-1: 232,168,32;            primary accent  (r,g,b)
       --motion-2: 130,175,225;           secondary accent (r,g,b)
       --motion-accent: #E2A93F;          solid accent: bars/progress
       --motion-accent-2: #F0C46A;        lighter accent
       --motion-ink: #0A2C44;             deep brand color (dark accents)
       --motion-dark-rgb: 13,27,42;       dark brand color "r,g,b" — drives the video scrim
       --motion-nav-bg: rgba(255,255,255,.98);  scrolled-nav background
     }

   The JS (animations.js) reads --motion-1 / --motion-2 for the hero
   canvas. Honors prefers-reduced-motion automatically — the hero
   background video is paused + reset to its poster by animations.js
   (CSS alone cannot stop <video> playback).
   ════════════════════════════════════════════════════════════ */
:root { --motion-ease: cubic-bezier(.22,1,.36,1); }

@media (prefers-reduced-motion: reduce) {
  .rv,.rv-l,.rv-r,.rv-scale,.rv-stagger>* { opacity:1 !important; transform:none !important; }
  .orb,.mq-track { animation:none !important; }
  #hero-canvas,.banner-canvas { display:none !important; }
  /* the hero background video is paused + reset to its poster by
     animations.js — CSS cannot stop <video> playback */
}

/* page-load / page-leave fade */
body { animation: pgIn .5s ease both; }

body.leaving { opacity:0; transition:opacity .28s ease; }

@keyframes pgIn { from{opacity:0;} to{opacity:1;} }

/* scroll progress bar */
#sprog {
  position:fixed; top:0; left:0; z-index:9997; height:3px; width:0;
  background:linear-gradient(90deg,
    var(--motion-accent,#E2A93F) 0%,
    var(--motion-accent-2,#F0C46A) 50%,
    rgba(var(--motion-2,130,175,225)) 100%);
  box-shadow:0 0 8px rgba(var(--motion-1,232,168,32),.55);
  transition:width .06s linear;
}

/* ── live video-background hero (the homepage standard, 2026-06) ──
   <video class="video-bg" autoplay muted loop playsinline
          aria-hidden="true" poster="…" src="…"></video>
   + a SEPARATE sibling <div class="video-scrim"></div> layered above.
   Set --motion-dark-rgb to the client's dark brand color ("r,g,b").
   The scrim is a LAYERED gradient: directional dark wash + bottom-up
   fade. NB: `at`-position syntax is radial-only — never use it inside
   linear-gradient() (the background silently drops → white section). */
.video-bg { position:absolute; inset:0; z-index:0; width:100%; height:100%;
  object-fit:cover; pointer-events:none; filter:brightness(.5); }

.video-scrim { position:absolute; inset:0; z-index:1; pointer-events:none;
  background:
    linear-gradient(105deg, rgba(var(--motion-dark-rgb,13,27,42),.86) 0%, rgba(var(--motion-dark-rgb,13,27,42),.55) 48%, rgba(var(--motion-dark-rgb,13,27,42),.28) 100%),
    linear-gradient(0deg, rgba(var(--motion-dark-rgb,13,27,42),.92) 0%, rgba(var(--motion-dark-rgb,13,27,42),0) 45%);
}

/* scroll-aware nav condense — solid background only; never
   backdrop-filter:blur() on a sticky/fixed nav (2026-06 perf rule) */
[data-motion-nav] { transition: padding .3s var(--motion-ease), background .3s, box-shadow .3s; }

[data-motion-nav].scrolled {
  background: var(--motion-nav-bg,rgba(255,255,255,.98));
  box-shadow: 0 2px 0 rgba(15,37,64,.04), 0 10px 28px rgba(15,37,64,.12);
}

/* floating ambient orbs — live inside dark hero sections */
.orb-field { position:absolute; inset:0; z-index:0; pointer-events:none; overflow:hidden; }

.orb { position:absolute; border-radius:50%; filter:blur(44px); will-change:transform,opacity; }

.orb-1 { width:420px; height:420px; top:-90px; left:-70px;
  background:radial-gradient(circle, rgba(var(--motion-1,232,168,32),.42), transparent 70%);
  animation:wtOrb1 9s ease-in-out infinite alternate; }

.orb-2 { width:360px; height:360px; bottom:-100px; right:-50px;
  background:radial-gradient(circle, rgba(var(--motion-2,130,175,225),.32), transparent 70%);
  animation:wtOrb2 12s ease-in-out infinite alternate; }

.orb-3 { width:300px; height:300px; top:45%; left:60%;
  background:radial-gradient(circle, rgba(var(--motion-1,232,168,32),.22), transparent 70%);
  animation:wtOrb3 7s ease-in-out infinite alternate; }

@keyframes wtOrb1 { 0%{opacity:.40;transform:scale(1);} 100%{opacity:.75;transform:scale(1.12) translate(2%,2%);} }

@keyframes wtOrb2 { 0%{opacity:.30;transform:scale(1);} 100%{opacity:.62;transform:scale(1.1) translate(-2%,-3%);} }

@keyframes wtOrb3 { 0%{opacity:.16;transform:translate(-50%,-50%) scale(1);} 100%{opacity:.38;transform:translate(-50%,-50%) scale(1.4);} }

/* hero / banner canvases */
#hero-canvas { position:absolute; inset:0; z-index:1; width:100%; height:100%; pointer-events:none; }

.banner-canvas { position:absolute; inset:0; z-index:1; width:100%; height:100%; pointer-events:none; }

/* the section that holds a canvas/orbs must be position:relative and its
   content lifted above — add [data-motion-stage] to that section */
[data-motion-stage] { position:relative; }

[data-motion-stage] > .container,
[data-motion-stage] > div:not(.orb-field):not(.banner-canvas):not(.video-scrim):not(.page-hero-media):not(.page-hero-scrim) { position:relative; z-index:2; }

/* scroll reveal */
.rv { opacity:0; transform:translateY(22px); transition:opacity .9s var(--motion-ease),transform .9s var(--motion-ease); }

.rv.on { opacity:1; transform:none; }

.rv-l { opacity:0; transform:translateX(-26px); transition:opacity .9s var(--motion-ease),transform .9s var(--motion-ease); }

.rv-l.on { opacity:1; transform:none; }

.rv-r { opacity:0; transform:translateX(26px); transition:opacity .9s var(--motion-ease),transform .9s var(--motion-ease); }

.rv-r.on { opacity:1; transform:none; }

.rv-scale { opacity:0; transform:scale(.94); transition:opacity .9s var(--motion-ease),transform .9s var(--motion-ease); }

.rv-scale.on { opacity:1; transform:none; }

.rv-stagger > * { opacity:0; transform:translateY(22px); transition:opacity .8s var(--motion-ease),transform .8s var(--motion-ease); }

.rv-stagger.on > * { opacity:1; transform:none; }

.rv-stagger.on > *:nth-child(2){transition-delay:.08s;}

.rv-stagger.on > *:nth-child(3){transition-delay:.16s;}

.rv-stagger.on > *:nth-child(4){transition-delay:.24s;}

.rv-stagger.on > *:nth-child(5){transition-delay:.32s;}

.rv-stagger.on > *:nth-child(6){transition-delay:.40s;}

/* marquee trust ticker — CLIENT-REQUEST ONLY (removed from the
   standard 2026-06-22). Never wire a marquee by default; these rules
   stay dormant unless the client explicitly asks for one. */
.marquee { overflow:hidden; padding:14px 0; position:relative; }

.marquee--accent { background:linear-gradient(90deg, var(--motion-accent,#E2A93F), var(--motion-accent-2,#F0C46A)); }

.marquee--ink { background:var(--motion-ink,#0A2C44); }

.mq-track { display:flex; white-space:nowrap; animation:mqs 30s linear infinite; }

.marquee:hover .mq-track { animation-play-state:paused; }

.mq-item { display:inline-flex; align-items:center; gap:22px; padding:0 38px;
  font-size:.72rem; font-weight:700; letter-spacing:.22em; text-transform:uppercase; }

.marquee--accent .mq-item { color:var(--motion-ink,#0A2C44); }

.marquee--ink .mq-item { color:#fff; }

.mq-item span.dot { width:6px; height:6px; border-radius:50%; background:currentColor; opacity:.55; }

@keyframes mqs { from{transform:translateX(0);} to{transform:translateX(-50%);} }

*{box-sizing:border-box;margin:0;padding:0}

:root{
  --brand:#0A2C44;--brand-2:#0E3A5C;--brand-3:#14507A;
  --ink:#122A3D;--body:#455568;--muted:#556472;
  --accent:#14507A;--accent-d:#0A2C44;--accent-l:#E2A93F;--gold:#E2A93F;--gold-l:#EDBE5E;--gold-d:#B8842A;
  --tint:#F3F7FA;--tint-2:#E9F0F6;--line:#DCE6EE;--white:#fff;
  --radius:16px;--radius-sm:11px;--maxw:1160px;--strip-h:38px;
  --shadow:0 22px 60px -26px rgba(10,44,68,.34);
  --shadow-sm:0 10px 30px -16px rgba(10,44,68,.26);
  /* motion layer: recolors the shared engine to the Baum's palette */
  --motion-1:226,169,63;--motion-2:150,196,230;
  --motion-accent:#E2A93F;--motion-accent-2:#F0C46A;
  --motion-ink:#0A2C44;--motion-dark-rgb:10,44,68;
  --motion-nav-bg:rgba(255,255,255,.98);
}

html{scroll-behavior:smooth}

body{font-family:'Inter',system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;
  color:var(--body);background:var(--white);font-size:17px;line-height:1.7;-webkit-font-smoothing:antialiased}

h1,h2,h3,h4,.brand-name,.stat-num{font-family:'Source Serif 4',Georgia,'Times New Roman',serif;color:var(--ink);
  font-weight:600;line-height:1.14;letter-spacing:-.01em}

p{margin:0 0 1rem}

a{color:var(--accent);text-decoration:none}

a:hover{color:var(--accent-d)}

img{max-width:100%;display:block}

.container{width:100%;max-width:var(--maxw);margin:0 auto;padding:0 clamp(1.1rem,4vw,2rem)}

.section{padding:clamp(3.4rem,7vw,6rem) 0}

.section.tint{background:var(--tint)}

.section.ink{background:var(--brand);color:rgba(255,255,255,.82)}

.narrow{max-width:760px}

.center{text-align:center}

.section-head{max-width:740px;margin-bottom:2.6rem}

.section-head.center{margin-left:auto;margin-right:auto}

.section-head h2{font-size:clamp(1.85rem,3.5vw,2.6rem)}

.section-head p{font-size:1.1rem;margin-top:.9rem;color:var(--body)}

.section.ink h2,.section.ink h3{color:#fff}

.lead{font-size:1.14rem;color:var(--body)}

.kb{color:var(--accent);font-weight:600}

/* buttons: every button points to Book a Consultation */
.btn{display:inline-flex;align-items:center;gap:.55rem;background:var(--accent);color:#fff;font-weight:600;
  font-size:1rem;padding:.9rem 1.6rem;border-radius:999px;border:0;cursor:pointer;
  box-shadow:0 14px 30px -14px rgba(10,44,68,.55);transition:transform .2s ease,background .2s ease,box-shadow .2s}

.btn:hover{background:var(--accent-d);color:#fff;transform:translateY(-2px)}

.btn svg{width:18px;height:18px}

.btn-lg{padding:1.05rem 2.1rem;font-size:1.07rem}

.btn-outline{background:transparent;color:#fff;border:1.5px solid rgba(255,255,255,.6);box-shadow:none}

.btn-outline:hover{background:rgba(255,255,255,.1);color:#fff;border-color:#fff}

/* utility strip: social row above the nav (empty-safe, collapses when no profiles are on file) */
.utility-strip{position:fixed;top:0;left:0;right:0;z-index:9991;height:var(--strip-h);
  display:flex;align-items:center;justify-content:flex-end;gap:.5rem;
  padding:0 clamp(1.1rem,4vw,2.4rem);background:rgba(10,44,68,.62);
  -webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);
  border-bottom:1px solid rgba(255,255,255,.09)}

.utility-strip[data-social="none"]{display:none}

.utility-strip[data-social="on"] ~ .nav{top:var(--strip-h)}

.social-row{display:flex;align-items:center;gap:.4rem}

.social-row .social-link{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;
  color:rgba(255,255,255,.84);background:rgba(255,255,255,.08);
  transition:color .2s ease,background .2s ease,transform .2s ease}

.social-row .social-link:hover{color:var(--brand);background:var(--gold-l);transform:translateY(-1px)}

.social-row .social-link svg{width:15px;height:15px}

@media(max-width:880px){.utility-strip{justify-content:center}}

/* nav */
.nav{position:fixed;top:0;left:0;right:0;z-index:9990;display:flex;align-items:center;justify-content:space-between;
  gap:1rem;padding:1.15rem clamp(1.1rem,4vw,2.4rem)}

.brand{display:flex;align-items:center;gap:.7rem;text-decoration:none}

.brand-badge{width:40px;height:40px;border-radius:11px;background:linear-gradient(135deg,var(--accent),var(--accent-l));
  color:#fff;display:grid;place-items:center;font-family:'Source Serif 4',serif;font-weight:700;font-size:1.35rem;flex:0 0 auto;
  box-shadow:0 8px 20px -8px rgba(10,44,68,.55)}

.brand-name{color:#fff;font-size:1.16rem;font-weight:600;line-height:1.05}

.brand-name small{display:block;font-family:'Inter',sans-serif;font-weight:500;font-size:.62rem;letter-spacing:.19em;
  text-transform:uppercase;color:rgba(255,255,255,.62);margin-top:2px}

.nav.scrolled .brand-name{color:var(--ink)}

.nav.scrolled .brand-name small{color:var(--muted)}

.navlinks{display:flex;align-items:center;gap:2rem}

.navlinks a.nl{color:rgba(255,255,255,.9);font-weight:500;font-size:.98rem;position:relative}

.navlinks a.nl:hover{color:#fff}

.navlinks a.nl::after{content:'';position:absolute;left:0;bottom:-6px;height:2px;width:0;background:var(--accent-l);transition:width .25s}

.navlinks a.nl:hover::after{width:100%}

.nav.scrolled .navlinks a.nl{color:var(--ink)}

.nav.scrolled .navlinks a.nl:hover{color:var(--accent)}

.nav-toggle{display:none;background:transparent;border:0;cursor:pointer;padding:.4rem}

.nav-toggle span{display:block;width:26px;height:2px;background:#fff;margin:5px 0;transition:.25s;border-radius:2px}

.nav.scrolled .nav-toggle span{background:var(--ink)}

/* hero */
.hero{position:relative;min-height:100vh;display:flex;align-items:center;overflow:hidden;
  padding:9.5rem 0 5rem;background:linear-gradient(135deg,#0A2C44 0%,#0E3A5C 52%,#14507A 100%)}

.hero-inner{max-width:840px}

.hero h1{color:#fff;font-size:clamp(2.5rem,6vw,4.35rem);font-weight:600;letter-spacing:-.015em;
  text-shadow:0 2px 34px rgba(0,0,0,.34)}

.hero-sub{color:rgba(255,255,255,.9);font-size:clamp(1.12rem,2.1vw,1.4rem);margin:1.4rem 0 2rem;max-width:660px;line-height:1.55}

.hero-cta{display:flex;flex-wrap:wrap;gap:.9rem;align-items:center}

.hero-trust{margin-top:1.9rem;color:rgba(255,255,255,.72);font-size:.92rem;letter-spacing:.01em}

.hero-trust b{color:#fff;font-weight:600}

.hero-tagline{margin-top:2.3rem;color:var(--gold-l);font-family:'Inter',sans-serif;font-weight:600;
  font-size:.98rem;letter-spacing:.02em;border-top:1px solid rgba(255,255,255,.15);padding-top:1.5rem;max-width:620px}

/* inner page hero */
.page-hero{position:relative;overflow:hidden;padding:10rem 0 4.4rem;
  background:linear-gradient(135deg,#0A2C44 0%,#0E3A5C 58%,#14507A 100%)}

.page-hero h1{color:#fff;font-size:clamp(2.05rem,4.6vw,3.35rem)}

.page-hero p{color:rgba(255,255,255,.86);font-size:1.14rem;margin-top:1rem;max-width:640px}

.crumbs{color:rgba(255,255,255,.6);font-size:.85rem;margin-bottom:1.1rem}

.crumbs a{color:rgba(255,255,255,.82)}

.crumbs a:hover{color:#fff}

/* generic grids */
.grid{display:grid;gap:1.4rem}

.g2{grid-template-columns:repeat(2,1fr)}

.g3{grid-template-columns:repeat(3,1fr)}

.g4{grid-template-columns:repeat(4,1fr)}

/* cards (icon top-left, title left, alignment consistent) */
.card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:1.7rem 1.6rem;
  box-shadow:var(--shadow-sm);transition:transform .25s ease,box-shadow .25s ease,border-color .25s}

.card:hover{transform:translateY(-4px);box-shadow:var(--shadow);border-color:#c8d8e4}

.card .ci{width:46px;height:46px;border-radius:12px;background:var(--tint-2);color:var(--accent);
  display:grid;place-items:center;margin-bottom:1.1rem}

.card .ci svg{width:24px;height:24px}

.card h3{font-size:1.24rem;margin-bottom:.5rem}

.card p{font-size:.99rem;margin:0}

.card .more{display:inline-flex;align-items:center;gap:.35rem;margin-top:1rem;font-weight:600;font-size:.94rem;color:var(--accent)}

.card .more svg{width:16px;height:16px}

.card.link{display:block;color:inherit}

.card.link:hover{color:inherit}

/* tier cards (three-level model) */
.tier{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:1.9rem 1.7rem;position:relative;overflow:hidden}

.tier .step{font-family:'Source Serif 4',serif;font-size:.85rem;font-weight:600;color:var(--accent);letter-spacing:.14em;text-transform:uppercase}

.tier h3{font-size:1.5rem;margin:.5rem 0 .7rem}

.tier p{font-size:1rem;margin-bottom:1rem}

.tier ul{list-style:none;display:grid;gap:.5rem}

.tier li{display:flex;gap:.6rem;font-size:.96rem;color:var(--body)}

.tier li svg{width:18px;height:18px;color:var(--accent);flex:0 0 auto;margin-top:3px}

.tier.feature{background:linear-gradient(160deg,#0A2C44,#0E3A5C);border-color:transparent;color:rgba(255,255,255,.85)}

.tier.feature h3,.tier.feature .step{color:#fff}

.tier.feature .step{color:var(--gold-l)}

.tier.feature li{color:rgba(255,255,255,.85)}

.tier.feature li svg{color:var(--gold-l)}

/* problem / checklist list */
.pains{display:grid;gap:1rem}

.pain{display:flex;gap:.85rem;align-items:flex-start;background:#fff;border:1px solid var(--line);
  border-radius:var(--radius-sm);padding:1.15rem 1.25rem;box-shadow:var(--shadow-sm)}

.pain svg{width:22px;height:22px;color:var(--accent);flex:0 0 auto;margin-top:2px}

.pain b{color:var(--ink);font-weight:600}

/* why / owner */
.owner-wrap{display:grid;grid-template-columns:300px 1fr;gap:2.6rem;align-items:center}

.avatar{width:280px;height:300px;border-radius:20px;background:
  linear-gradient(135deg,#14507A,#0A2C44 70%);display:grid;place-items:center;color:#fff;
  box-shadow:var(--shadow);position:relative;overflow:hidden}

.avatar .mono{font-family:'Source Serif 4',serif;font-size:5rem;font-weight:600;letter-spacing:.02em;color:#fff}

.avatar .ring{position:absolute;inset:auto -40px -50px auto;width:200px;height:200px;border-radius:50%;
  background:radial-gradient(circle,rgba(226,169,63,.42),transparent 68%)}

.avatar small{position:absolute;bottom:14px;left:0;right:0;text-align:center;font-family:'Inter',sans-serif;
  font-size:.72rem;letter-spacing:.16em;text-transform:uppercase;color:rgba(255,255,255,.72)}

.creds{display:flex;flex-wrap:wrap;gap:.6rem;margin:1.3rem 0}

.cred{display:inline-flex;align-items:center;gap:.5rem;background:var(--tint-2);color:var(--ink);
  border:1px solid var(--line);border-radius:999px;padding:.5rem .95rem;font-size:.9rem;font-weight:600}

.cred svg{width:16px;height:16px;color:var(--accent)}

/* stat row */
.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:1.2rem;text-align:center}

.stat-num{font-size:2.5rem;color:var(--accent)}

.stat-l{font-size:.9rem;color:var(--muted);margin-top:.2rem}

.section.ink .stat-l{color:rgba(255,255,255,.7)}

.section.ink .stat-num{color:var(--gold-l)}

/* software pills */
.pills{display:flex;flex-wrap:wrap;gap:.7rem}

.pill{background:#fff;border:1px solid var(--line);border-radius:10px;padding:.6rem 1.05rem;font-weight:600;
  font-size:.92rem;color:var(--ink)}

.sw-group h4{font-size:.82rem;letter-spacing:.16em;text-transform:uppercase;color:var(--muted);margin-bottom:.9rem;font-family:'Inter',sans-serif;font-weight:700}

/* industries chips */
.chips{display:flex;flex-wrap:wrap;gap:.7rem}

.chip{display:inline-flex;align-items:center;gap:.5rem;background:#fff;border:1px solid var(--line);
  border-radius:999px;padding:.6rem 1.1rem;font-weight:500;font-size:.95rem;color:var(--ink)}

.chip svg{width:17px;height:17px;color:var(--accent)}

/* reviews slot */
.reviews-slot{background:#fff;border:1px dashed #c3d3e0;border-radius:var(--radius);padding:2.6rem;text-align:center;color:var(--muted)}

.reviews-slot svg{width:34px;height:34px;color:var(--accent);margin:0 auto .8rem}

.reviews-slot b{color:var(--ink);display:block;font-size:1.1rem;margin-bottom:.3rem;font-family:'Source Serif 4',serif}

/* CTA band */
.cta-band{position:relative;overflow:hidden;padding:clamp(3.2rem,6vw,5rem) 0;text-align:center;
  background:linear-gradient(135deg,#0A2C44,#0E3A5C 60%,#14507A)}

.cta-band h2{color:#fff;font-size:clamp(1.9rem,3.6vw,2.7rem)}

.cta-band p{color:rgba(255,255,255,.85);font-size:1.14rem;margin:1rem auto 1.9rem;max-width:560px}

/* services (category + overview) */
.svc-block{padding:2.2rem 0;border-top:1px solid var(--line)}

.svc-block:first-of-type{border-top:0}

.svc-head{display:flex;gap:1rem;align-items:center;margin-bottom:.4rem}

.svc-head .ci{width:44px;height:44px;border-radius:12px;background:var(--tint-2);color:var(--accent);display:grid;place-items:center;flex:0 0 auto}

.svc-head .ci svg{width:23px;height:23px}

.svc-head h2{font-size:1.7rem}

.svc-intro{color:var(--body);margin:.2rem 0 1.3rem;max-width:820px}

.svc-list{display:grid;grid-template-columns:1fr 1fr;gap:.5rem 2rem}

.svc-item{padding:.7rem 0;border-bottom:1px solid var(--line)}

.svc-item h3{font-size:1.06rem;color:var(--ink);margin-bottom:.2rem;font-family:'Inter',sans-serif;font-weight:700}

.svc-item p{font-size:.94rem;margin:0;color:var(--body)}

.detail h2{font-size:1.5rem;margin:1.7rem 0 .4rem}

.detail h2:first-child{margin-top:0}

/* forms */
.form-card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:2rem;box-shadow:var(--shadow-sm)}

.field{margin-bottom:1.1rem}

.field label{display:block;font-weight:600;font-size:.92rem;color:var(--ink);margin-bottom:.4rem}

.field input,.field select,.field textarea{width:100%;padding:.8rem .95rem;border:1px solid #cfdcE6;border-radius:10px;
  font:inherit;font-size:.98rem;color:var(--ink);background:#fff}

.field input:focus,.field select:focus,.field textarea:focus{outline:2px solid var(--accent);border-color:var(--accent)}

.field textarea{min-height:130px;resize:vertical}

.form-row{display:grid;grid-template-columns:1fr 1fr;gap:1.1rem}

/* NAP block */
.nap{display:grid;gap:1.1rem}

.nap-item{display:flex;gap:.85rem;align-items:flex-start}

.nap-item .ci{width:42px;height:42px;border-radius:11px;background:var(--tint-2);color:var(--accent);display:grid;place-items:center;flex:0 0 auto}

.nap-item .ci svg{width:21px;height:21px}

.nap-item b{color:var(--ink);display:block;font-family:'Source Serif 4',serif;font-size:1.02rem}

.nap-item a{color:var(--body)}

.nap-item a:hover{color:var(--accent)}

/* map / embed placeholder */
.embed-ph{background:linear-gradient(135deg,#0A2C44,#14507A);border-radius:var(--radius);min-height:300px;
  display:grid;place-items:center;color:rgba(255,255,255,.8);text-align:center;padding:2rem;position:relative;overflow:hidden}

.embed-ph svg{width:40px;height:40px;color:var(--gold-l);margin:0 auto .7rem}

.embed-ph small{display:block;margin-top:.4rem;color:rgba(255,255,255,.72);font-size:.82rem}

/* what-to-expect steps (centered icon => centered title) */
.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:1.4rem;counter-reset:s}

.step-card{text-align:center;background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:1.8rem 1.5rem;box-shadow:var(--shadow-sm)}

.step-card .num{width:46px;height:46px;border-radius:50%;background:var(--accent);color:#fff;display:grid;place-items:center;
  margin:0 auto 1rem;font-family:'Source Serif 4',serif;font-weight:600;font-size:1.2rem}

.step-card h3{font-size:1.16rem;margin-bottom:.45rem}

.step-card p{font-size:.96rem;margin:0}

/* legal doc */
.doc-body{max-width:820px}

.doc-body h2{font-size:1.4rem;margin:2rem 0 .7rem;color:var(--ink)}

.doc-body p{margin-bottom:1rem}

.doc-body ul{margin:0 0 1rem 1.2rem}

.doc-body li{margin-bottom:.4rem}

.note-box{background:var(--tint);border-left:3px solid var(--accent);border-radius:8px;padding:1rem 1.2rem;font-size:.95rem;margin:1.4rem 0}

/* footer */
.footer{background:linear-gradient(180deg,#0A2C44,#06192B);color:rgba(255,255,255,.72);padding:3.6rem 0 1.6rem}

.footer a{color:rgba(255,255,255,.72)}

.footer a:hover{color:#fff}

.foot-grid{display:grid;grid-template-columns:1.5fr 1fr 1.3fr;gap:2.4rem;padding-bottom:2.4rem;border-bottom:1px solid rgba(255,255,255,.12)}

.footer .brand-name{color:#fff}

.foot-about p{margin:1rem 0 0;font-size:.95rem;color:rgba(255,255,255,.66);max-width:340px}

.foot-col h4{color:#fff;font-size:.82rem;letter-spacing:.15em;text-transform:uppercase;margin-bottom:1rem;font-family:'Inter',sans-serif;font-weight:700}

.foot-col ul{list-style:none;display:grid;gap:.55rem}

.foot-col a{font-size:.96rem}

.foot-nap{display:grid;gap:.6rem;font-size:.95rem;font-style:normal}

.foot-nap b{color:#fff;font-weight:600}

.foot-social{display:inline-flex;align-items:center;gap:.5rem;margin-top:1rem;color:rgba(255,255,255,.72);font-size:.9rem}

.foot-social svg{width:20px;height:20px}

.foot-bottom{display:flex;flex-wrap:wrap;gap:.6rem 1.4rem;justify-content:space-between;align-items:center;padding-top:1.5rem;font-size:.85rem;color:rgba(255,255,255,.66)}

.foot-bottom .fl a{margin-left:1.1rem}

.foot-cred{color:rgba(255,255,255,.6);font-size:.85rem;margin-top:.5rem}

@media(max-width:980px){
  .owner-wrap{grid-template-columns:1fr;gap:1.6rem}
  .avatar{width:100%;max-width:340px;margin:0 auto}
  .foot-grid{grid-template-columns:1fr 1fr;gap:1.8rem}
}

@media(max-width:880px){
  .nav-toggle{display:block}
  .navlinks{position:absolute;top:100%;right:clamp(1.1rem,4vw,2.4rem);left:clamp(1.1rem,4vw,2.4rem);
    flex-direction:column;align-items:stretch;gap:.2rem;background:#0A2C44;border:1px solid rgba(255,255,255,.14);
    border-radius:14px;padding:1rem;box-shadow:var(--shadow);display:none}
  .navlinks.open{display:flex}
  .navlinks a.nl{color:#fff;padding:.75rem .6rem;border-radius:8px}
  .nav.scrolled .navlinks a.nl{color:#fff}
  .navlinks a.nl::after{display:none}
  .navlinks .btn{justify-content:center;margin-top:.4rem}
}

@media(max-width:820px){
  .g3,.g4,.stats,.steps{grid-template-columns:1fr 1fr}
  .svc-list,.form-row{grid-template-columns:1fr}
  .g2{grid-template-columns:1fr}
}

@media(max-width:560px){
  .g3,.g4,.stats,.steps,.foot-grid{grid-template-columns:1fr}
  body{font-size:16px}
  .hero{min-height:auto;padding-top:8rem}
}

/* real brand logo (swaps light/dark on scroll) + founder photo */
.brand{gap:.4rem}

.brand-logo{height:58px;width:auto;display:block}

.brand-logo--onLight{display:none}

.nav.scrolled .brand-logo--onDark{display:none}

.nav.scrolled .brand-logo--onLight{display:block}

.footer .brand-logo{height:70px}

.avatar>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 20%}

.avatar small{bottom:0;padding:2.1rem .6rem .85rem;color:#fff;
  background:linear-gradient(to top,rgba(8,32,52,.92),rgba(8,32,52,0))}

@media(max-width:880px){.brand-logo{height:48px}}

/* topic imagery bands (graded, varied placement) */
.media{border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow-sm);border:1px solid var(--line);margin:0}

.media>img{width:100%;height:clamp(230px,34vw,400px);object-fit:cover;display:block}

.media.tall>img{height:clamp(300px,44vw,520px)}

.media-split{display:grid;grid-template-columns:1.02fr .98fr;gap:clamp(1.6rem,4vw,2.8rem);align-items:center}

.media-split .media>img{height:clamp(260px,33vw,430px)}

.media-split h2{font-size:clamp(1.7rem,3.2vw,2.35rem)}

.img-row{display:grid;grid-template-columns:repeat(3,1fr);gap:1.1rem;margin-top:1.7rem}

.img-row figure{margin:0;border-radius:var(--radius-sm);overflow:hidden;border:1px solid var(--line);box-shadow:var(--shadow-sm);position:relative}

.img-row img{width:100%;height:200px;object-fit:cover;display:block}

.img-row figcaption{position:absolute;left:0;right:0;bottom:0;padding:1.3rem .8rem .65rem;color:#fff;font-weight:600;font-size:.92rem;background:linear-gradient(to top,rgba(8,32,52,.88),transparent);font-family:'Inter',sans-serif}

@media(max-width:820px){.media-split{grid-template-columns:1fr}.img-row{grid-template-columns:1fr 1fr}}

@media(max-width:560px){.img-row{grid-template-columns:1fr}}

/* ============================================================
   DESIGN UPGRADE v2 — depth, texture, jewel-tone gradient system
   (kills the flat-white feel; adds background treatment on every
   inner-page hero; keeps the navy + teal palette)
   ============================================================ */
:root{
  --accent-2:#2C7CB0;      /* ocean companion */
  --emerald:#14507A;
  --tint:#eef4f8; --tint-2:#e4edf3; --line:#d7e3ec;
  --shadow:0 26px 66px -28px rgba(10,44,68,.42);
  --shadow-sm:0 14px 34px -20px rgba(10,44,68,.28);
}

/* softly-tinted, textured page canvas — default .section is transparent
   so this shows through instead of a wall of white */
body{
  background:
    radial-gradient(1180px 620px at 100% -8%, rgba(20,80,122,.10), transparent 58%),
    radial-gradient(980px 560px at -12% 3%, rgba(44,124,176,.09), transparent 55%),
    linear-gradient(180deg,#ffffff 0%,#f1f6fa 48%,#eaf1f6 100%);
  background-attachment:fixed;
}

/* section rhythm + soft blooms (no markup change) */
.section{position:relative;}

.section>.container{position:relative;z-index:1;}

.section:not(.tint):not(.ink)::before{
  content:'';position:absolute;inset:0;z-index:0;pointer-events:none;
  background:radial-gradient(720px 300px at 93% -8%, rgba(20,80,122,.06), transparent 60%);
}

.section.tint{
  background:linear-gradient(180deg,#eef4f8 0%,#e3edf3 100%);
  border-top:1px solid rgba(255,255,255,.75);
}

.section.tint::before{
  content:'';position:absolute;inset:0;z-index:0;pointer-events:none;
  background:
    radial-gradient(760px 340px at 88% 2%, rgba(20,80,122,.12), transparent 60%),
    radial-gradient(620px 320px at 3% 100%, rgba(44,124,176,.11), transparent 62%);
}

.section.tint>.container{position:relative;z-index:1;}

.section.ink{background:linear-gradient(160deg,var(--brand),#08202F);}

/* heading accent rule — headline-led, no eyebrow kickers */
.section-head h2{position:relative;padding-bottom:.75rem;}

.section-head h2::after{content:'';position:absolute;left:0;bottom:0;width:66px;height:4px;border-radius:3px;
  background:linear-gradient(90deg,var(--accent-l),var(--accent-2));}

.section-head.center h2::after{left:50%;transform:translateX(-50%);}

/* buttons — jewel gradient + subtle sheen */
.btn{background:linear-gradient(135deg,#2C7CB0 0%,var(--accent) 54%,var(--accent-d) 100%);
  box-shadow:0 16px 34px -14px rgba(10,44,68,.55), inset 0 1px 0 rgba(255,255,255,.28);}

.btn:hover{background:linear-gradient(135deg,var(--accent) 0%,var(--accent-d) 100%);}

/* cards — gentle gradient face, animated jewel top-accent, richer hover */
.card{position:relative;overflow:hidden;background:linear-gradient(180deg,#ffffff,#f6fafc);}

.card::before{content:'';position:absolute;left:0;right:0;top:0;height:3px;
  background:linear-gradient(90deg,var(--accent-l),var(--accent-2));
  transform:scaleX(0);transform-origin:left;transition:transform .4s var(--motion-ease,ease);}

.card:hover::before{transform:scaleX(1);}

.card .ci{background:linear-gradient(145deg,#E7EFF6,#CFE0EE);box-shadow:inset 0 0 0 1px rgba(20,80,122,.16);}

.card:hover .ci{background:linear-gradient(145deg,var(--accent),#2C7CB0);color:#fff;}

/* generic icon chips a touch cooler */
.ci{background:linear-gradient(145deg,#E7EFF6,#D4E3EF);}

/* tier cards */
.tier{background:linear-gradient(180deg,#ffffff,#f5fafb);}

.tier:not(.feature)::before{content:'';position:absolute;top:0;left:0;right:0;height:4px;
  background:linear-gradient(90deg,var(--accent-l),var(--accent-2));}

.tier.feature{background:linear-gradient(160deg,#12456B 0%,#0A2C44 58%,#081F31 100%);box-shadow:var(--shadow);}

.tier.feature::after{content:'';position:absolute;right:-64px;top:-64px;width:220px;height:220px;border-radius:50%;
  background:radial-gradient(circle, rgba(226,169,63,.30), transparent 68%);pointer-events:none;}

/* problem list — left jewel accent bar */
.pain{position:relative;overflow:hidden;padding-left:1.5rem;background:linear-gradient(180deg,#ffffff,#f6fafc);}

.pain::before{content:'';position:absolute;left:0;top:0;bottom:0;width:4px;
  background:linear-gradient(180deg,var(--accent-l),var(--accent-2));}

/* pills + chips — cool gradient, jewel hover */
.pill,.chip{background:linear-gradient(180deg,#ffffff,#eef4f8);transition:transform .2s ease,border-color .2s ease,color .2s ease;}

.pill:hover,.chip:hover{border-color:var(--gold-l);color:var(--accent-d);transform:translateY(-2px);}

/* reviews slot — refined cool panel */
.reviews-slot{background:linear-gradient(180deg,#ffffff,#eef4f8);border:1px solid var(--line);box-shadow:var(--shadow-sm);}

/* what-to-expect step cards */
.step-card{position:relative;overflow:hidden;background:linear-gradient(180deg,#ffffff,#f5fafb);}

.step-card::before{content:'';position:absolute;top:0;left:0;right:0;height:4px;
  background:linear-gradient(90deg,var(--accent-l),var(--accent-2));}

.step-card .num{background:linear-gradient(145deg,#2C7CB0,var(--accent-d));
  box-shadow:0 12px 24px -12px rgba(10,44,68,.55);}

/* forms */
.form-card{position:relative;overflow:hidden;background:linear-gradient(180deg,#ffffff,#f7fbfc);}

.form-card::before{content:'';position:absolute;top:0;left:0;right:0;height:4px;
  background:linear-gradient(90deg,var(--accent-l),var(--accent-2));}

/* NAP icon chips */
.nap-item .ci{background:linear-gradient(145deg,#E7EFF6,#D4E3EF);}

/* imagery frames */
.media{position:relative;box-shadow:var(--shadow);}

.media::after{content:'';position:absolute;inset:0;pointer-events:none;border-radius:inherit;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.4);}

.img-row figure::after{content:'';position:absolute;inset:0;pointer-events:none;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.35);}

/* service blocks — subtle alternating tint so long lists never read pure white */
.svc-block{position:relative;border-radius:16px;}

.svc-block:nth-of-type(even){
  background:linear-gradient(180deg,rgba(233,240,246,.7),rgba(233,240,246,0));
  padding:2.2rem 1.3rem;border-top:0;}

.detail h2{position:relative;padding-left:.9rem;}

.detail h2::before{content:'';position:absolute;left:0;top:.15em;bottom:.15em;width:4px;border-radius:3px;
  background:linear-gradient(180deg,var(--accent-l),var(--accent-2));}

/* embed / map placeholder — grid texture */
.embed-ph{background:linear-gradient(140deg,#0A2C44,#14507A);}

.embed-ph::before{content:'';position:absolute;inset:0;pointer-events:none;opacity:.5;
  background-image:linear-gradient(rgba(255,255,255,.05) 1px,transparent 1px),
                   linear-gradient(90deg,rgba(255,255,255,.05) 1px,transparent 1px);
  background-size:36px 36px;}

/* legal note box */
.note-box{background:linear-gradient(180deg,#eef4f8,#e6eff5);border-left:3px solid var(--accent);}

/* ===================== HOME HERO ===================== */
.hero{background:linear-gradient(135deg,#08223A 0%,#0E3A5C 52%,#14507A 100%);}

.hero::before{content:'';position:absolute;inset:-12%;z-index:1;pointer-events:none;
  background:
    radial-gradient(620px 400px at 22% 28%, rgba(226,169,63,.20), transparent 60%),
    radial-gradient(560px 380px at 82% 72%, rgba(44,124,176,.15), transparent 62%);
  animation:gdrift 30s ease-in-out infinite alternate;}

.hero::after{content:'';position:absolute;left:0;right:0;bottom:-1px;height:96px;z-index:3;pointer-events:none;
  background:linear-gradient(0deg,#eef4f8,rgba(238,244,248,0));}

.hero-tagline{border-top-color:rgba(226,169,63,.42);}

/* =================== INNER-PAGE HERO =================== */
/* image background + layered jewel scrim + soft drift + fade-out */
.page-hero{padding:11rem 0 4.8rem;background:linear-gradient(135deg,#08223A,#0E3A5C 55%,#14507A);}

.page-hero-media{position:absolute;inset:0;z-index:0;overflow:hidden;}

.page-hero-media img{width:100%;height:100%;object-fit:cover;filter:brightness(.44) saturate(.9) contrast(1.02);}

.page-hero-scrim{position:absolute;inset:0;z-index:1;pointer-events:none;
  background:
    linear-gradient(105deg, rgba(10,44,68,.92) 0%, rgba(10,44,68,.66) 52%, rgba(20,80,122,.44) 100%),
    linear-gradient(0deg, rgba(6,25,43,.96) 0%, rgba(6,25,43,0) 62%);}

.page-hero::before{content:'';position:absolute;inset:-10%;z-index:1;pointer-events:none;
  background:
    radial-gradient(560px 360px at 18% 24%, rgba(226,169,63,.18), transparent 60%),
    radial-gradient(520px 340px at 84% 78%, rgba(44,124,176,.14), transparent 62%);
  animation:gdrift 32s ease-in-out infinite alternate;}

.page-hero .orb-field{z-index:1;}

.page-hero::after{content:'';position:absolute;left:0;right:0;bottom:-1px;height:74px;z-index:2;pointer-events:none;
  background:linear-gradient(0deg,#f1f6fa,rgba(241,246,250,0));}

/* ===================== CTA BAND ===================== */
.cta-band{background:linear-gradient(135deg,#08223A,#0E3A5C 55%,#14507A);}

.cta-band::before{content:'';position:absolute;inset:0;z-index:0;pointer-events:none;
  background:
    radial-gradient(680px 360px at 12% 8%, rgba(20,80,122,.16), transparent 60%),
    radial-gradient(560px 320px at 90% 100%, rgba(44,124,176,.18), transparent 62%);
  animation:gdrift 34s ease-in-out infinite alternate;}

/* ===================== FOOTER ===================== */
.footer{position:relative;}

.footer::after{content:'';position:absolute;top:0;left:0;right:0;height:3px;z-index:2;
  background:linear-gradient(90deg,var(--accent-l),var(--accent-2));}

.footer::before{content:'';position:absolute;inset:0;pointer-events:none;opacity:.45;
  background-image:radial-gradient(rgba(255,255,255,.05) 1px, transparent 1.4px);background-size:24px 24px;}

.footer .container{position:relative;z-index:1;}

/* gradient drift keyframe (paused for reduced motion) */
@keyframes gdrift{0%{transform:translate3d(-4%,-2%,0) scale(1);}100%{transform:translate3d(4%,3%,0) scale(1.08);}}

@media (prefers-reduced-motion: reduce){
  .hero::before,.page-hero::before,.cta-band::before{animation:none;}
}

@media(max-width:820px){
  .svc-block:nth-of-type(even){padding:1.6rem 1rem;}
  .page-hero{padding:9rem 0 3.6rem;}
}

/* check list used on hub, service and city pages */
.checks{list-style:none;display:grid;gap:.55rem;margin:1.15rem 0 0}

.checks li{display:flex;gap:.65rem;font-size:1rem;color:var(--body);line-height:1.6}

.checks li svg{width:18px;height:18px;color:var(--accent);flex:0 0 auto;margin-top:6px}

.container.narrow h2{font-size:clamp(1.5rem,2.8vw,2rem);margin-bottom:.85rem}

.container.narrow h2+p{margin-top:0}

/* ---- Homepage service directory (hub-and-spoke index) ---- */
.svc-dir{margin-top:2.9rem;padding-top:2.2rem;border-top:1px solid var(--line)}

.svc-dir-title{font-size:1.45rem;margin-bottom:.5rem}

.svc-dir-lede{color:var(--body);max-width:760px;margin-bottom:1.8rem}

.svc-dir-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.9rem 2.2rem}

.svc-dir-col h4{font-size:1.06rem;margin-bottom:.55rem;padding-bottom:.45rem;border-bottom:2px solid var(--gold)}

.svc-dir-col h4 a{color:var(--ink)}

.svc-dir-col h4 a:hover{color:var(--accent)}

.svc-dir-col ul{list-style:none}

.svc-dir-col li{margin:0 0 .3rem}

.svc-dir-col li a{font-family:'Inter',sans-serif;font-size:.93rem;line-height:1.5;color:var(--body);display:inline-block}

.svc-dir-col li a:hover{color:var(--accent);text-decoration:underline;text-underline-offset:3px}

@media(max-width:900px){.svc-dir-grid{grid-template-columns:repeat(2,1fr)}}

@media(max-width:600px){.svc-dir-grid{grid-template-columns:1fr}}

/* ══════════════════════════════════════════════════════════════════════
   PRIMARY NAV DROPDOWNS — Services mega, Industries, Service Areas
   Panels open on hover and on keyboard focus. .has-mega is position:static
   so its panel resolves against the fixed .nav and centres in the viewport;
   the narrow panels stay relative to their own trigger.
   ══════════════════════════════════════════════════════════════════════ */
.navlinks{gap:clamp(1rem,1.9vw,2rem)}

.nl-item{position:relative;display:flex;align-items:center}

.nl-item.has-mega{position:static}

.nl-item>.nl{display:inline-flex;align-items:center;gap:.34rem}

.nl-item>.nl svg{width:13px;height:13px;flex:0 0 auto;transition:transform .24s var(--motion-ease,ease)}

.nl-item:hover>.nl svg,.nl-item:focus-within>.nl svg{transform:rotate(180deg)}

.dd{position:absolute;top:100%;left:50%;margin-top:.7rem;padding:.7rem;
  min-width:246px;background:#fff;border:1px solid var(--line);border-radius:15px;
  box-shadow:var(--shadow);z-index:60;
  opacity:0;visibility:hidden;transform:translate(-50%,-8px);
  transition:opacity .22s ease,transform .22s ease,visibility .22s;
  transition-delay:.35s}

.nl-item:hover>.dd,.nl-item:focus-within>.dd{opacity:1;visibility:visible;transform:translate(-50%,0);
  transition-delay:0s}

/* Invisible bridge + a close-delay keep the panel open while the pointer travels
   from the label down onto the options, so it no longer disappears mid-move. */
.dd::before{content:'';position:absolute;left:0;right:0;top:-1.2rem;height:1.35rem}

.dd a{display:block;padding:.5rem .72rem;border-radius:9px;color:var(--body);
  font-size:.92rem;line-height:1.32;text-decoration:none;
  transition:background .18s ease,color .18s ease}

.dd a:hover{background:var(--tint);color:var(--accent)}

.dd .dd-head{font-family:'Source Serif 4',serif;font-weight:600;font-size:.96rem;color:var(--ink);
  padding:.4rem .72rem .55rem;margin-bottom:.3rem;border-bottom:1px solid var(--line);border-radius:0}

.dd .dd-head:hover{background:transparent;color:var(--accent)}

.mega{width:min(1060px,calc(100vw - 2.6rem));padding:1.5rem 1.6rem 1.25rem}

.mega-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.4rem 1.5rem}

.mega-col{display:flex;flex-direction:column;margin-bottom:.5rem}

.mega-col .dd-head{margin-bottom:.35rem}

.mega-col a:not(.dd-head){padding:.36rem .72rem;font-size:.885rem;color:var(--muted)}

.mega-col a:not(.dd-head):hover{color:var(--accent)}

.mega-foot{display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap;
  margin-top:.9rem;padding-top:.95rem;border-top:1px solid var(--line)}

.mega-foot span{color:var(--muted);font-size:.86rem}

.mega-foot .mega-all{display:inline-flex;align-items:center;gap:.4rem;padding:.4rem .72rem;
  font-weight:600;font-size:.9rem;color:var(--accent);background:transparent}

.mega-foot .mega-all svg{width:15px;height:15px;transition:transform .22s ease}

.mega-foot .mega-all:hover{background:var(--tint)}

.mega-foot .mega-all:hover svg{transform:translateX(3px)}

@media(max-width:1080px){
  .mega-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}

/* ── mobile: panels become in-flow accordions inside the nav sheet ── */
@media(max-width:880px){
  .navlinks{max-height:calc(100vh - 92px);overflow-y:auto;overscroll-behavior:contain}
  .nl-item{position:static;display:block}
  .nl-item>.nl{width:100%;justify-content:space-between;padding:.75rem .6rem;border-radius:8px}
  .dd,.mega{position:static;width:auto;min-width:0;margin:0;padding:0;
    background:transparent;border:0;box-shadow:none;border-radius:0;
    opacity:1;visibility:visible;transform:none;
    max-height:0;overflow:hidden;transition:max-height .32s ease}
  /* the desktop open-state rules carry a translate that must not survive here,
     and they outrank a bare .dd selector, so they are answered in kind */
  .nl-item:hover>.dd,.nl-item:focus-within>.dd{transform:none;opacity:1;visibility:visible}
  .nl-item.open>.dd{max-height:2400px}
  .dd::before{display:none}
  .mega-grid{grid-template-columns:1fr;gap:0}
  .mega-col{margin-bottom:.15rem}
  .dd a{color:rgba(255,255,255,.84);padding:.5rem .6rem .5rem 1.3rem;font-size:.9rem}
  .dd a:hover{background:rgba(255,255,255,.09);color:#fff}
  .dd .dd-head,.mega-col .dd-head{color:#fff;font-size:.92rem;border-bottom:0;
    padding:.55rem .6rem .3rem;margin:.35rem 0 0}
  .mega-col a:not(.dd-head){color:rgba(255,255,255,.78);font-size:.875rem}
  .mega-foot{display:none}
}

/* growth-ladder tier link (relationship-evolution cue) */
.tier-more{margin-top:1.05rem;padding-top:.85rem;border-top:1px solid var(--line)}

.tier-more a{display:inline-flex;align-items:center;gap:.35rem;font-family:'Inter',sans-serif;font-weight:600;font-size:.9rem;color:var(--accent);text-decoration:none;transition:color .18s ease,gap .18s ease}

.tier-more a:hover{color:var(--accent-d);gap:.55rem}

/* scalable leadership / team grid (About) */
.team-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:1.5rem}

.team-card{display:flex;flex-direction:column;background:var(--white);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow-sm)}

.team-photo{aspect-ratio:1/1;overflow:hidden;background:var(--tint-2)}

.team-photo img{width:100%;height:100%;object-fit:cover;display:block}

.team-body{padding:1.5rem 1.6rem 1.7rem}

.team-body h3{font-family:'Source Serif 4',serif;font-size:1.4rem;margin:0 0 .1rem;color:var(--ink)}

.team-role{display:inline-block;font-family:'Inter',sans-serif;font-weight:600;font-size:.82rem;letter-spacing:.04em;text-transform:uppercase;color:var(--gold-d);margin-bottom:.9rem}

.team-body p{color:var(--body);line-height:1.65;margin:0 0 1rem}

.team-link{display:inline-flex;align-items:center;gap:.4rem;font-family:'Inter',sans-serif;font-weight:600;font-size:.9rem;color:var(--accent);text-decoration:none;transition:gap .18s ease}

.team-link svg{width:16px;height:16px}

.team-link:hover{gap:.62rem;color:var(--accent-d)}

@media(max-width:560px){.team-grid{grid-template-columns:1fr}}

/* up/down growth-ladder links (service pages) */
.pains-2{grid-template-columns:1fr 1fr;gap:1rem 1.4rem}

@media(max-width:900px){.pains-2{grid-template-columns:1fr}}

.svc-group{margin-top:3.4rem}

.svc-group:first-of-type{margin-top:0}

.svc-group>h2{font-size:clamp(1.9rem,2.6vw,2.25rem);line-height:1.15;margin-bottom:.4rem;
  padding-bottom:.55rem;border-bottom:2px solid var(--accent)}

.svc-group>p.group-intro{color:var(--body);max-width:820px;margin:0 0 .2rem}

.svc-group .svc-head h2{font-size:1.55rem}

.ladder-links{display:flex;flex-wrap:wrap;gap:1rem 1.6rem;margin-top:1.3rem}

.ladder-links a{display:inline-flex;align-items:center;gap:.4rem;font-family:'Inter',sans-serif;font-weight:600;font-size:.95rem;color:var(--accent);text-decoration:none;transition:gap .18s ease,color .18s ease}

.ladder-links a svg{width:17px;height:17px}

.ladder-links a:hover{color:var(--accent-d);gap:.62rem}

/* ============================================================
   Contrast safeguard — readability on dark surfaces
   Any non-button link on a dark surface renders light (white) with a
   gold hover, so text never sits too close in value to its background.
   Fixes the feature-tier "more" link (was accent-blue on navy) and
   prevents the same low-contrast pattern anywhere it could recur.
   ============================================================ */
.tier.feature .tier-more{border-top-color:rgba(255,255,255,.22)}

.tier.feature .tier-more a,
.section.ink a:not(.btn),
.cta-band a:not(.btn),
.embed-ph a:not(.btn){color:#fff}

.tier.feature .tier-more a:hover,
.section.ink a:not(.btn):hover,
.cta-band a:not(.btn):hover,
.embed-ph a:not(.btn):hover{color:var(--gold-l)}

.section.ink .kb{color:var(--gold-l)}

/* ============================================================
   Section headings — one centered axis, site-wide
   Every section heading sits on the same centered axis so a page reads
   as one column instead of alternating alignments. Body copy, lists and
   legal text keep their left edge for reading comfort — only the
   headings, and the short decks that belong to them, are centered.
   ============================================================ */
.section-head{margin-left:auto;margin-right:auto;text-align:center}

/* the accent rule under a heading follows the heading to the centre */
.section-head h2::after{left:50%;transform:translateX(-50%)}

/* standalone headings in a narrow reading column */
.container.narrow > h2{text-align:center}

/* headings inside the text column of an image-and-text split; the
   paragraphs beneath them stay left, exactly as in a narrow column */
.media-split > div > h2,
.owner-wrap > div > h2{text-align:center}

/* category blocks on the all-services page: icon above a centered title */
.svc-head{flex-direction:column;align-items:center;text-align:center;gap:.75rem}

.svc-intro{margin-left:auto;margin-right:auto;text-align:center}

/* legal documents keep document-style left headings */
.doc-body h2,.doc-body h3{text-align:left}

/* the booking card leads with a centred heading, matching the panel below it */
.form-card > h2,.form-card > h2 + p{text-align:center}

/* ============================================================
   Software & platforms — one column rhythm, both rows edge to edge
   The tile width is derived from a column count rather than fixed in
   pixels, so each band fills the container exactly: the two rows share
   the same left and right edge, nothing wraps into an orphan tile, and
   a partial row on smaller screens centres under the row above it.
   ============================================================ */
.sw-band{margin-top:2.6rem}

.section-head + .sw-band{margin-top:.4rem}

.sw-label{text-align:center;font-family:'Inter',sans-serif;font-weight:700;
  font-size:.78rem;letter-spacing:.16em;text-transform:uppercase;
  color:var(--muted);margin:0 0 1.15rem}

.sw-grid{--sw-gap:14px;--sw-cols:5;
  display:flex;flex-wrap:wrap;justify-content:center;gap:var(--sw-gap)}

.sw-grid.cols-6{--sw-cols:6}

.sw-tile{flex:0 0 calc((100% - (var(--sw-cols) - 1) * var(--sw-gap)) / var(--sw-cols));
  min-height:88px;
  display:grid;place-items:center;text-align:center;padding:.95rem .8rem;
  background:#fff;border:1px solid var(--line);border-radius:var(--radius-sm);
  font-weight:600;font-size:.95rem;line-height:1.35;color:var(--ink);
  box-shadow:var(--shadow-sm);
  transition:transform .25s ease,border-color .25s ease,box-shadow .25s ease}

.sw-grid .sw-tile:hover{transform:translateY(-3px);border-color:#c8d8e4;
  box-shadow:var(--shadow)}

@media(max-width:1000px){
  .sw-grid,.sw-grid.cols-6{--sw-cols:3}
}

@media(max-width:620px){
  .sw-grid,.sw-grid.cols-6{--sw-cols:2}
  .sw-tile{min-height:74px;font-size:.9rem;padding:.8rem .6rem}
}

/* ============================================================
   Why BAS Is Different — compact band
   A single tight strip: heading plus six short statements in a
   three-column rhythm. Padding is deliberately shallower than a
   full .section so it reads as a band between larger blocks
   rather than another full-height section.
   ============================================================ */
.section.band-tight{padding:clamp(2.2rem,4.2vw,3.3rem) 0}

.why-band .why-title{font-size:clamp(1.5rem,2.6vw,1.95rem);margin:0 0 1.4rem}

.why-list{list-style:none;margin:0;padding:0;
  display:grid;grid-template-columns:repeat(3,1fr);gap:.8rem 1.9rem}

.why-list li{display:flex;gap:.6rem;align-items:flex-start;
  color:var(--body);font-size:1rem;line-height:1.5}

.why-list li svg{width:19px;height:19px;color:var(--accent);flex:0 0 auto;margin-top:3px}

@media(max-width:900px){.why-list{grid-template-columns:1fr 1fr}}

@media(max-width:620px){.why-list{grid-template-columns:1fr;gap:.7rem}}

/* ── ThemePort blog/utility templates (namespaced, no collision with site CSS) ── */
.tp-container { max-width: 1160px; margin: 0 auto; padding: 0 28px; width: 100%; }
.tp-page-hero { background: 13,27,42; padding: 88px 0 56px; }
.tp-page-hero h1 { color: #fff; font-family: 'Georgia', serif; font-size: clamp(2rem, 4vw, 3rem); line-height: 1.15; margin: 0; }
.tp-page-hero .tp-meta { color: rgba(255,255,255,.75); margin: 12px 0 0; }
.tp-section { padding: 64px 0; }
.tp-content { max-width: 820px; }
.tp-content p, .tp-content ul, .tp-content ol { margin: 0 0 1.2em; }
.tp-content h2, .tp-content h3 { font-family: 'Georgia', serif; color: 13,27,42; margin: 1.6em 0 .6em; line-height: 1.25; }
.tp-content img, .tp-featured { max-width: 100%; height: auto; border-radius: 8px; margin: 0 0 1.4em; }
.tp-policy { max-width: 900px; width: 100%; }
.tp-policy h2, .tp-policy h3 { font-family: 'Georgia', serif; color: 13,27,42; margin: 1.6em 0 .6em; }
.tp-policy p, .tp-policy ul { margin: 0 0 1.1em; }
.tp-post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 32px; }
.tp-post-card { background: #fff; border: 1px solid rgba(0,0,0,.08); border-radius: 10px; padding: 24px; box-shadow: 0 6px 24px rgba(0,0,0,.06); }
.tp-post-card img { width: 100%; height: 200px; object-fit: cover; border-radius: 6px; margin-bottom: 16px; }
.tp-post-card h2 { font-family: 'Georgia', serif; font-size: 1.3rem; line-height: 1.3; margin: 0 0 8px; }
.tp-post-card h2 a { color: 13,27,42; text-decoration: none; }
.tp-meta { color: rgba(0,0,0,.5); font-size: .85rem; margin: 0 0 10px; }
.tp-readmore { color: #E2A93F; font-weight: 700; text-decoration: none; }
.tp-pagination { margin-top: 40px; text-align: center; }
.tp-pagination .page-numbers { display: inline-block; padding: 8px 14px; margin: 0 3px; border: 1px solid rgba(0,0,0,.15); border-radius: 6px; color: 13,27,42; text-decoration: none; }
.tp-pagination .page-numbers.current { background: 13,27,42; color: #fff; }


/* ── ThemePort v2.8.0 — count-adaptive team tiers ────────────────────────── */
.tp-team{display:grid;justify-content:center;align-items:start;gap:2rem;margin-left:auto;margin-right:auto}
.tp-team__card{text-align:center}
.tp-team__photo img{width:100%;height:auto;aspect-ratio:1/1;object-fit:cover;border-radius:12px;display:block}
.tp-team__body h3{margin:.85rem 0 .15rem}
.tp-team__role{display:block;opacity:.75;font-size:.95em}
.tp-team__bio{margin-top:.65rem;text-align:left}

/* 1 — FOUNDER FEATURE: large portrait beside the full bio. Reads as a complete
   solo-firm About section, never as a team page with one lonely card. */
.tp-team--solo{grid-template-columns:minmax(220px,320px) minmax(0,1fr);gap:2.5rem;max-width:900px;text-align:left}
.tp-team--solo .tp-team__card{display:contents}
.tp-team--solo .tp-team__photo{grid-column:1}
.tp-team--solo .tp-team__body{grid-column:2;text-align:left}
.tp-team--solo .tp-team__body h3{margin-top:0;font-size:1.6em}
@media (max-width:720px){
  .tp-team--solo{grid-template-columns:minmax(0,1fr);max-width:420px}
  .tp-team--solo .tp-team__photo,.tp-team--solo .tp-team__body{grid-column:1}
}

/* 2 — balanced centered pair, generous cards side by side */
.tp-team--pair{grid-template-columns:repeat(2,minmax(0,300px));gap:2.5rem;max-width:700px}

/* 3–4 — one centered row of equal cards */
.tp-team--row{grid-template-columns:repeat(auto-fit,minmax(0,240px));max-width:1040px}

/* 5+ — full multi-row grid; photos smallest, density highest */
.tp-team--grid{grid-template-columns:repeat(auto-fit,minmax(200px,1fr));max-width:1160px;gap:1.75rem}
.tp-team--grid .tp-team__bio{font-size:.94em}

@media (max-width:640px){
  .tp-team--pair,.tp-team--row,.tp-team--grid{grid-template-columns:minmax(0,1fr);max-width:380px}
}
