/* ============================================================
   CFM Financial Consulting Inc. — shared site stylesheet
   Used by every page. Page-specific components are grouped
   at the end under clearly labelled headings.
   ============================================================ */

/* ============================================================
   CFM FINANCIAL CONSULTING INC.
   Tokens
   --royal is taken from the supplied CFM logo artwork (#001CA7).
   ============================================================ */
:root{
  --ink:#171A1F;
  --ink-deep:#101317;
  --charcoal:#23272E;
  --paper:#FFFFFF;
  --mist:#F2F3F4;
  --mist-deep:#E8EAEC;
  --rule:#DCDEE1;
  --rule-soft:#E7E9EB;
  --muted:#5A616B;
  --muted-light:#98A0AA;
  --royal:#001CA7;
  --royal-deep:#001581;
  --royal-bright:#8FA6E8;

  --shell:1360px;
  --gutter:clamp(1.25rem,4vw,4.5rem);

  --step--1:clamp(.78rem,.76rem + .1vw,.84rem);
  --step-0:clamp(.95rem,.92rem + .14vw,1.02rem);
  --step-1:clamp(1.05rem,1rem + .3vw,1.2rem);
  --step-2:clamp(1.3rem,1.15rem + .7vw,1.75rem);
  --step-3:clamp(1.7rem,1.4rem + 1.4vw,2.6rem);
  --step-4:clamp(2.1rem,1.6rem + 2.4vw,3.6rem);
  --step-5:clamp(2.9rem,2rem + 4.6vw,6rem);
}

/* ============================================================
   Base
   ============================================================ */
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body{
  margin:0;
  background:var(--paper);
  color:var(--ink);
  font-family:'Archivo',system-ui,-apple-system,'Segoe UI',sans-serif;
  font-size:var(--step-0);
  line-height:1.62;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
h1,h2,h3,h4{margin:0;font-family:'Spectral',Georgia,serif;font-weight:300;line-height:1.1;letter-spacing:-.012em}
p{margin:0}
ul{margin:0;padding:0;list-style:none}
button{font:inherit;color:inherit;background:none;border:0;cursor:pointer}
:focus-visible{outline:2px solid var(--royal);outline-offset:3px}
.dark :focus-visible,.blue :focus-visible{outline-color:#fff}

.shell{width:100%;max-width:var(--shell);margin-inline:auto;padding-inline:var(--gutter)}
.skip{
  position:absolute;left:-9999px;top:0;z-index:200;
  background:var(--ink);color:#fff;padding:.9rem 1.4rem;
}
.skip:focus{left:0}
.visually-hidden{
  position:absolute;width:1px;height:1px;margin:-1px;padding:0;
  overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0;
}

.lede{
  font-family:'Spectral',Georgia,serif;font-weight:300;
  font-size:var(--step-1);line-height:1.62;color:var(--muted);max-width:62ch;
}

/* ============================================================
   Header
   ============================================================ */
.header{
  position:sticky;top:0;z-index:100;
  background:rgba(255,255,255,.94);
  backdrop-filter:saturate(150%) blur(10px);
  border-bottom:1px solid var(--rule-soft);
}
.header__inner{display:flex;align-items:center;gap:2.5rem;min-height:82px}
.brand{display:flex;align-items:center;flex:0 0 auto;padding:.4rem 0}
.brand__img{height:46px;width:auto}
.footer .brand__img{height:52px}

.nav{margin-left:auto;display:flex;align-items:center;gap:2.1rem}
.nav__link{
  font-size:.9rem;font-weight:500;color:var(--ink);
  padding:.4rem 0;position:relative;transition:color .18s ease;
}
.nav__link::after{
  content:"";position:absolute;left:0;right:100%;bottom:.05rem;
  height:1px;background:var(--royal);transition:right .28s ease;
}
.nav__link:hover{color:var(--royal)}
.nav__link:hover::after{right:0}

.nav__group{position:relative}
.nav__trigger{display:inline-flex;align-items:center;gap:.42rem;font-size:.9rem;font-weight:500;padding:.4rem 0}
.nav__caret{width:9px;height:9px;flex:0 0 auto;transition:transform .22s ease}
.nav__group[data-open="true"] .nav__caret{transform:rotate(180deg)}
.nav__group[data-open="true"] .nav__trigger{color:var(--royal)}
.nav__panel{
  position:absolute;top:calc(100% + 18px);left:-1.5rem;min-width:310px;
  background:var(--paper);border:1px solid var(--rule);padding:.55rem;
  opacity:0;visibility:hidden;transform:translateY(-6px);
  transition:opacity .2s ease,transform .2s ease,visibility .2s;
  box-shadow:0 24px 48px -28px rgba(23,26,31,.34);
}
.nav__group[data-open="true"] .nav__panel{opacity:1;visibility:visible;transform:translateY(0)}
/* Invisible bridge across the 18px gap between trigger and panel, so the pointer
   never leaves .nav__group on the way down and the menu can't flicker shut. */
.nav__panel::before{content:"";position:absolute;left:0;right:0;top:-18px;height:18px}
.nav__panel a{
  display:block;padding:.82rem 1rem;font-size:.9rem;font-weight:500;
  border-left:2px solid transparent;
  transition:background .18s ease,border-color .18s ease,color .18s ease;
}
.nav__panel a:hover{background:var(--mist);border-left-color:var(--royal);color:var(--royal)}

.btn{
  display:inline-flex;align-items:center;justify-content:center;
  font-size:.82rem;font-weight:600;letter-spacing:.09em;text-transform:uppercase;
  padding:1rem 1.7rem;border:1px solid transparent;white-space:nowrap;
  transition:background .2s ease,color .2s ease,border-color .2s ease;
}
.btn--solid{background:var(--royal);color:#fff}
.btn--solid:hover{background:var(--royal-deep)}
.btn--ghost{border-color:rgba(255,255,255,.4);color:#fff}
.btn--ghost:hover{border-color:#fff;background:rgba(255,255,255,.09)}
.btn--white{background:#fff;color:var(--royal-deep)}
.btn--white:hover{background:var(--mist)}
.btn--sm{padding:.78rem 1.25rem;font-size:.75rem}
.header .btn{flex:0 0 auto}

.burger{display:none;flex-direction:column;gap:5px;padding:.6rem;margin-left:auto}
.burger span{display:block;width:24px;height:1.5px;background:var(--ink)}

/* ============================================================
   1. Hero
   ============================================================ */
.hero{
  display:grid;grid-template-columns:1.12fr .88fr;
  background:var(--ink);color:#fff;min-height:min(86vh,900px);
}
.hero__body{
  display:flex;flex-direction:column;justify-content:center;
  padding:clamp(3.5rem,7vw,7.5rem) clamp(1.25rem,5vw,6rem);
  padding-left:max(var(--gutter),calc((100vw - var(--shell))/2 + var(--gutter)));
}
.hero__eyebrow{
  display:flex;align-items:center;gap:1rem;
  font-size:.72rem;letter-spacing:.2em;text-transform:uppercase;font-weight:500;
  color:var(--royal-bright);margin-bottom:clamp(2rem,4vw,3rem);
}
.hero__eyebrow::before{content:"";width:44px;height:1px;background:var(--royal-bright);flex:0 0 auto}
.hero__h1{
  font-size:var(--step-5);font-weight:200;line-height:1;letter-spacing:-.028em;
  margin-bottom:clamp(1.8rem,3.5vw,2.8rem);
}
.hero__h1 span{display:block}
.hero__headline{
  font-size:clamp(1.05rem,.95rem + .55vw,1.4rem);line-height:1.5;
  font-weight:400;color:#D6DBE2;max-width:34ch;margin-bottom:1.4rem;
}
.hero__copy{
  font-size:var(--step-0);color:#949CA8;max-width:48ch;line-height:1.7;
  padding-top:1.4rem;border-top:1px solid rgba(255,255,255,.14);
}
.hero__cta{display:flex;flex-wrap:wrap;gap:.9rem;margin-top:clamp(2.2rem,4vw,3.2rem)}
.hero__media{position:relative;overflow:hidden;background:var(--charcoal);min-height:340px}
.hero__media img{width:100%;height:100%;object-fit:cover;filter:grayscale(.32) contrast(1.04) brightness(.82)}
.hero__media::after{
  content:"";position:absolute;inset:0;
  background:linear-gradient(105deg,var(--ink) 0%,rgba(23,26,31,.55) 26%,rgba(0,28,167,.16) 100%);
}

/* Single orchestrated page-load moment */
@media (prefers-reduced-motion:no-preference){
  .hero__eyebrow,.hero__h1 span,.hero__headline,.hero__copy,.hero__cta{
    opacity:0;transform:translateY(14px);
    animation:rise .85s cubic-bezier(.22,.68,.3,1) forwards;
  }
  .hero__eyebrow{animation-delay:.05s}
  .hero__h1 span:nth-child(1){animation-delay:.16s}
  .hero__h1 span:nth-child(2){animation-delay:.26s}
  .hero__h1 span:nth-child(3){animation-delay:.36s}
  .hero__headline{animation-delay:.5s}
  .hero__copy{animation-delay:.6s}
  .hero__cta{animation-delay:.7s}
}
@keyframes rise{to{opacity:1;transform:none}}

/* ============================================================
   Section rhythm
   ============================================================ */
.band{padding-block:clamp(4.5rem,9vw,8.5rem)}
.band--mist{background:var(--mist)}

/* ============================================================
   2. Client situations — indexed pathways
   ============================================================ */
.situations__top{
  display:grid;grid-template-columns:1fr .82fr;gap:clamp(2rem,5vw,4.5rem);
  align-items:end;margin-bottom:clamp(2.8rem,5vw,4.5rem);
}
.situations__top h2{font-size:var(--step-4);max-width:17ch}
.situations__figure{overflow:hidden;background:var(--mist-deep);margin:0}
.situations__figure img{width:100%;aspect-ratio:16/8;object-fit:cover;filter:grayscale(.4) contrast(1.03)}
.index{border-top:1px solid var(--ink)}
.situation{
  display:grid;grid-template-columns:1fr minmax(0,340px);gap:clamp(1.5rem,4vw,4rem);
  align-items:baseline;padding-block:clamp(1.5rem,2.6vw,2.2rem);
  border-bottom:1px solid var(--rule);position:relative;
  transition:padding-left .3s cubic-bezier(.22,.68,.3,1);
}
.situation::before{
  content:"";position:absolute;left:0;top:0;bottom:0;width:2px;background:var(--royal);
  transform:scaleY(0);transform-origin:top;transition:transform .34s cubic-bezier(.22,.68,.3,1);
}
.situation:hover,.situation:focus-visible{padding-left:1.5rem}
.situation:hover::before,.situation:focus-visible::before{transform:scaleY(1)}
.situation__title{
  font-family:'Spectral',Georgia,serif;font-weight:300;
  font-size:clamp(1.4rem,1.05rem + 1.35vw,2.35rem);
  line-height:1.18;letter-spacing:-.015em;transition:color .22s ease;
}
.situation:hover .situation__title{color:var(--royal)}
.situation__note{font-size:.87rem;color:var(--muted);line-height:1.55}
.situation__cue{
  display:inline-block;margin-left:.7rem;color:var(--royal);
  opacity:0;transform:translateX(-6px);
  transition:opacity .26s ease,transform .26s ease;
}
.situation:hover .situation__cue{opacity:1;transform:translateX(0)}

/* ============================================================
   3. Core capabilities — editorial spread
   ============================================================ */
.spread{display:grid;grid-template-columns:.86fr 1.14fr;gap:clamp(2.5rem,6vw,6rem)}
.spread__aside{align-self:start;position:sticky;top:118px}
.spread__aside h2{font-size:var(--step-3);margin-bottom:1.5rem;max-width:16ch}
.spread__aside .lede{font-family:'Archivo',sans-serif;font-size:var(--step-0);max-width:44ch}
.spread__figure{margin:clamp(2rem,4vw,3rem) 0 0;overflow:hidden;background:var(--mist-deep)}
.spread__figure img{width:100%;aspect-ratio:5/4;object-fit:cover;filter:grayscale(.36) contrast(1.03)}
.capability{padding-block:clamp(1.8rem,3.5vw,2.6rem);border-top:1px solid var(--rule)}
.capability:first-child{border-top:0;padding-top:0}
.capability:last-child{padding-bottom:0}
.capability__mark{display:block;width:34px;height:2px;background:var(--royal);margin-bottom:1.2rem}
.capability h3{font-size:var(--step-2);margin-bottom:.85rem}
.capability p{color:var(--muted);max-width:56ch;line-height:1.7}
.capability__link{
  display:inline-block;margin-top:1.15rem;font-size:.82rem;font-weight:600;
  letter-spacing:.05em;color:var(--royal);
  border-bottom:1px solid transparent;padding-bottom:.15rem;
  transition:border-color .22s ease;
}
.capability__link:hover{border-bottom-color:var(--royal)}

/* ============================================================
   4. Why CFM — dark
   ============================================================ */
.dark{background:var(--ink);color:#fff;position:relative;overflow:hidden}
.dark__bg{position:absolute;inset:0;pointer-events:none}
.dark__bg img{width:100%;height:100%;object-fit:cover;opacity:.11;filter:grayscale(1) contrast(1.05)}
.dark__bg::after{
  content:"";position:absolute;inset:0;
  background:linear-gradient(180deg,var(--ink) 0%,rgba(23,26,31,.72) 40%,rgba(23,26,31,.82) 70%,var(--ink) 100%);
}
.dark .shell{position:relative;z-index:1}
.why__intro{
  display:grid;grid-template-columns:1.05fr 1fr;gap:clamp(2rem,5vw,4.5rem);
  align-items:start;margin-bottom:clamp(3.5rem,7vw,5.5rem);
}
.why__intro h2{font-size:var(--step-4);color:#fff;max-width:15ch}
.why__copy{color:#AAB2BD;max-width:50ch;line-height:1.78;font-size:var(--step-1);padding-top:.5rem}
.why__grid{display:grid;grid-template-columns:repeat(4,1fr);border-top:1px solid rgba(255,255,255,.16)}
.why__item{padding:clamp(1.8rem,3vw,2.6rem) clamp(1.2rem,2.2vw,2rem);border-left:1px solid rgba(255,255,255,.16)}
.why__item:first-child{border-left:0;padding-left:0}
.why__item:last-child{padding-right:0}
.why__item h3{font-size:var(--step-1);color:#fff;margin-bottom:.85rem;font-weight:400}
.why__item p{font-size:.9rem;color:#98A0AB;line-height:1.68}

/* ============================================================
   5. Selected experience — tombstones
   ============================================================ */
.exp__head{
  display:flex;flex-wrap:wrap;gap:1.5rem 3rem;align-items:end;
  justify-content:space-between;margin-bottom:clamp(2.5rem,5vw,4rem);
}
.exp__head h2{font-size:var(--step-3)}
.exp__head p{color:var(--muted);max-width:46ch;font-size:.94rem}
.tombstones{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;background:var(--rule);border:1px solid var(--rule)}
.tombstone{
  background:var(--paper);
  padding:clamp(2.4rem,4.5vw,3.4rem) clamp(1.4rem,2.5vw,2.2rem);
  text-align:center;display:flex;flex-direction:column;align-items:center;
  justify-content:center;min-height:260px;transition:background .24s ease;
}
.tombstone:hover{background:var(--mist)}
.tombstone__name{
  font-family:'Spectral',Georgia,serif;font-weight:400;
  font-size:clamp(1.15rem,1rem + .45vw,1.5rem);line-height:1.25;
  margin-bottom:1.1rem;max-width:20ch;
}
.tombstone__rule{width:28px;height:1px;background:var(--royal);margin-bottom:1.1rem}
.tombstone__role{
  font-size:.74rem;letter-spacing:.13em;text-transform:uppercase;
  color:var(--muted);font-weight:500;line-height:1.6;
}
.tombstone__detail{
  margin-top:.9rem;font-size:.87rem;line-height:1.6;color:var(--muted);
  max-width:30ch;font-family:'Spectral',Georgia,serif;font-style:italic;font-weight:300;
}
.exp__cta{margin-top:clamp(2.2rem,4vw,3rem)}

.link{
  display:inline-flex;align-items:center;gap:.5rem;
  font-size:.86rem;font-weight:600;letter-spacing:.06em;text-transform:uppercase;
  color:var(--royal);padding-bottom:.35rem;border-bottom:1px solid var(--rule);
  transition:border-color .24s ease,gap .24s ease;
}
.link:hover{border-bottom-color:var(--royal);gap:.85rem}
.link--light{color:#fff;border-bottom-color:rgba(255,255,255,.35)}
.link--light:hover{border-bottom-color:#fff}

/* ============================================================
   6. Leadership
   ============================================================ */
.leader{display:grid;grid-template-columns:.78fr 1.22fr;gap:clamp(2.5rem,6vw,5.5rem);align-items:start}
.portrait{
  position:relative;aspect-ratio:4/5;background:#fff;
  border:1px solid var(--rule);overflow:hidden;
}
.portrait img{width:100%;height:100%;object-fit:cover;object-position:50% 14%}
.leader h2{font-size:var(--step-3);max-width:19ch;margin-bottom:clamp(2rem,4vw,2.8rem)}
.leader__name{font-family:'Spectral',Georgia,serif;font-size:var(--step-2);font-weight:400;margin-bottom:.35rem}
.leader__role{
  font-size:.76rem;letter-spacing:.15em;text-transform:uppercase;
  color:var(--royal);font-weight:600;margin-bottom:1.8rem;
}
.leader__bio p{color:var(--muted);line-height:1.78;max-width:60ch}
.leader__bio p + p{margin-top:1.15rem}
.leader__cta{margin-top:2.2rem}
.leader__creds{
  margin-top:1.6rem;font-size:.72rem;letter-spacing:.14em;text-transform:uppercase;
  color:var(--muted);font-weight:500;line-height:2;
}

/* ============================================================
   7. Professional advisors
   ============================================================ */
.blue{background:var(--royal);color:#fff;position:relative;overflow:hidden}
.blue::before{
  content:"";position:absolute;inset:0;pointer-events:none;
  background:radial-gradient(120% 90% at 88% 0%,rgba(255,255,255,.13) 0%,transparent 58%);
}
.blue .shell{position:relative;z-index:1}
.advisors{display:grid;grid-template-columns:1fr .95fr;gap:clamp(2.5rem,6vw,5.5rem);align-items:start}
.advisors h2{font-size:var(--step-3);color:#fff;max-width:17ch}
.advisors__intro{color:rgba(255,255,255,.82);margin-top:1.8rem;max-width:52ch;line-height:1.75}
.advisors__emphasis{border-left:2px solid rgba(255,255,255,.55);padding-left:clamp(1.4rem,2.5vw,2.2rem)}
.advisors__emphasis p{
  font-family:'Spectral',Georgia,serif;font-weight:300;
  font-size:clamp(1.25rem,1.05rem + .8vw,1.85rem);
  line-height:1.42;color:#fff;letter-spacing:-.008em;
}
.advisors__emphasis p + p{margin-top:1.3rem;color:rgba(255,255,255,.86)}
.advisors__list{display:flex;flex-wrap:wrap;margin-top:clamp(2.5rem,5vw,3.8rem);border-top:1px solid rgba(255,255,255,.28)}
.advisors__list li{
  flex:1 1 auto;padding:1.4rem 1.6rem 1.4rem 0;
  font-size:.8rem;letter-spacing:.11em;text-transform:uppercase;
  font-weight:500;color:rgba(255,255,255,.9);
}
.advisors__list li + li{border-left:1px solid rgba(255,255,255,.28);padding-left:1.6rem}
.advisors__cta{margin-top:2.4rem}

/* ============================================================
   8. Final CTA
   ============================================================ */
.final{text-align:center;padding-block:clamp(5.5rem,11vw,10rem)}
.final h2{font-size:var(--step-4);max-width:18ch;margin:0 auto 1.8rem;color:#fff}
.final p{color:#A8B0BB;max-width:62ch;margin:0 auto;line-height:1.78}
.final__cta{margin-top:clamp(2.5rem,5vw,3.5rem)}
.final__note{margin-top:1.4rem;font-size:.82rem;letter-spacing:.06em;color:#7E8794}

/* ============================================================
   9. Footer
   ============================================================ */
.footer{background:var(--ink-deep);color:#fff;padding-top:clamp(3.5rem,6vw,5rem)}
.footer__top{display:grid;grid-template-columns:1fr 2.15fr;gap:clamp(2.5rem,5vw,4rem);padding-bottom:clamp(3rem,5vw,4rem)}
.footer__tag{font-family:'Spectral',Georgia,serif;font-size:1.15rem;font-weight:300;color:rgba(255,255,255,.72);margin-top:1.5rem}
.footer__legal-name{font-size:.85rem;color:rgba(255,255,255,.5);margin-top:.6rem}
.footer__nav{display:grid;grid-template-columns:repeat(4,1fr);gap:2rem}
.footer__nav h3{
  font-family:'Archivo',sans-serif;font-size:.72rem;letter-spacing:.15em;
  text-transform:uppercase;color:#fff;font-weight:600;margin-bottom:1.3rem;
}
.footer__nav li + li{margin-top:.75rem}
.footer__nav a,.footer__nav span{font-size:.88rem;color:rgba(255,255,255,.62)}
.footer__nav a{transition:color .18s ease}
.footer__nav a:hover{color:#fff}
.footer__bottom{
  border-top:1px solid rgba(255,255,255,.13);padding-block:1.8rem;
  display:flex;flex-wrap:wrap;gap:1rem 2rem;justify-content:space-between;
  font-size:.8rem;color:rgba(255,255,255,.42);
}
.footer__legal{display:flex;flex-wrap:wrap;gap:1rem 1.5rem}
.footer__legal a{transition:color .18s ease}
.footer__legal a:hover{color:#fff}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width:1180px){
  .nav{gap:1.4rem}
  .nav__link,.nav__trigger{font-size:.84rem}
  .brand__img{height:40px}
}
@media (max-width:1024px){
  .hero{grid-template-columns:1fr;min-height:0}
  .hero__body{padding-inline:var(--gutter);padding-block:clamp(3.5rem,9vw,5.5rem)}
  .hero__media{order:-1;aspect-ratio:16/9;min-height:0}
  .hero__media::after{background:linear-gradient(180deg,rgba(23,26,31,.34) 0%,rgba(23,26,31,.72) 100%)}
  .situation{grid-template-columns:1fr minmax(0,260px)}
  .spread{grid-template-columns:1fr}
  .spread__aside{position:static}
  .spread__figure{margin-top:2rem;max-width:520px}
  .why__intro{grid-template-columns:1fr;gap:1.6rem}
  .why__grid{grid-template-columns:repeat(2,1fr)}
  .why__item{border-left:1px solid rgba(255,255,255,.16);padding-inline:clamp(1.2rem,2.2vw,2rem)}
  .why__item:nth-child(odd){border-left:0;padding-left:0}
  .why__item:nth-child(n+3){border-top:1px solid rgba(255,255,255,.16)}
  .leader{grid-template-columns:1fr;gap:2.5rem}
  .portrait{max-width:400px}
  .advisors{grid-template-columns:1fr;gap:2.5rem}
  .footer__top{grid-template-columns:1fr}
}
@media (max-width:900px){
  .nav{display:none}
  .header .btn--solid{display:none}
  .burger{display:flex}
  .situations__top{grid-template-columns:1fr}
  .situations__figure{order:-1}
  .situations__figure img{aspect-ratio:16/7}
  .tombstones{grid-template-columns:repeat(2,1fr)}
  .footer__nav{grid-template-columns:repeat(2,1fr);gap:2.5rem 2rem}
}
@media (max-width:640px){
  .situation{grid-template-columns:1fr;gap:.6rem}
  .situation__note{max-width:100%}
  .situation__cue{display:none}
  .why__grid{grid-template-columns:1fr}
  .why__item{border-left:0;padding-inline:0;border-top:1px solid rgba(255,255,255,.16)}
  .why__item:first-child{border-top:0}
  .tombstones{grid-template-columns:1fr}
  .tombstone{min-height:200px}
  .advisors__list{display:block}
  .advisors__list li{border-left:0!important;padding-left:0!important;border-bottom:1px solid rgba(255,255,255,.2)}
  .advisors__list li:last-child{border-bottom:0}
  .footer__nav{grid-template-columns:1fr}
  .hero__cta .btn{width:100%}
  .hero__media{aspect-ratio:4/3}
}

/* Mobile menu */
.mobile{
  position:fixed;inset:0;z-index:150;background:var(--paper);
  padding:1.5rem var(--gutter) 3rem;overflow-y:auto;display:none;flex-direction:column;
}
.mobile[data-open="true"]{display:flex}
.mobile__top{display:flex;align-items:center;justify-content:space-between;min-height:60px;margin-bottom:2rem}
.mobile__top .brand__img{height:40px}
.mobile__close{font-size:1.9rem;line-height:1;padding:.4rem .6rem}
.mobile__nav{border-top:1px solid var(--rule)}
.mobile__nav > li{border-bottom:1px solid var(--rule)}
.mobile__nav > li > a{display:block;padding:1.15rem 0;font-family:'Spectral',Georgia,serif;font-size:1.5rem;font-weight:300}
.mobile__sub{margin:0 0 1.2rem;padding-left:1rem;border-left:2px solid var(--royal)}
.mobile__sub li + li{margin-top:.2rem}
.mobile__sub a{display:block;padding:.5rem 0;font-size:.92rem;color:var(--muted)}
.mobile__label{padding:1.15rem 0 .4rem;font-family:'Spectral',Georgia,serif;font-size:1.5rem;font-weight:300}
.mobile .btn{margin-top:2.2rem;width:100%}

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

/* ============================================================
   SERVICE PAGES
   Interior-page components. Shared by every service page
   (/commercial-real-estate-finance/, /business-acquisition-financing/,
   /capital-raising/, /ma-advisory/, /private-client/).
   Tokens, header, footer, buttons and links all come from above.
   ============================================================ */

/* ---- Interior page hero ------------------------------------ */
.hero--page{
  position:relative;overflow:hidden;
  background:var(--ink);color:#fff;
  display:flex;align-items:center;
  /* Fixed height so every service-page hero matches regardless of how many
     lines its H1 wraps to. Values sit just above the measured maximum content
     height at each breakpoint (783px desktop / 690px at 1024 / 642px at 360),
     so content never drives the height. If a future page has a much longer
     H1 or intro, re-measure and raise these. */
  min-height:790px;
  padding-block:clamp(4rem,9vw,7rem);
}
.hero--page__bg{position:absolute;inset:0}
.hero--page__bg img{width:100%;height:100%;object-fit:cover;filter:grayscale(.42) contrast(1.04) brightness(.62)}
.hero--page__bg::after{content:"";position:absolute;inset:0;background:rgba(23,26,31,.7)}
.hero--page .shell{position:relative;z-index:1}

/* Dark editorial variant. Add class "hero--page--editorial" to the <section>
   for a service page with no hero photograph. Typography, eyebrow, spacing,
   height and CTA all stay identical to the photographic version — only the
   image layer is dropped. Also applied automatically by site.js if a hero
   image fails to load, so a missing file degrades to this instead of a
   broken-image icon. */
.hero--page--editorial .hero--page__bg{display:none}

/* Content-heavy heroes (e.g. /about/) trim the vertical padding so the
   extra copy does not push the hero to an excessive height. */
.hero--page--compact{padding-block:clamp(3rem,6vw,4.25rem);min-height:0}
.hero--page--compact .hero--page__copy + .hero--page__copy{border-top:0;padding-top:0;margin-top:.9rem}
.hero--page__eyebrow{
  display:flex;align-items:center;gap:1rem;
  font-size:.72rem;letter-spacing:.2em;text-transform:uppercase;font-weight:500;
  color:var(--royal-bright);margin-bottom:clamp(1.6rem,3vw,2.4rem);
}
.hero--page__eyebrow::before{content:"";width:44px;height:1px;background:var(--royal-bright);flex:0 0 auto}
.hero--page h1{
  font-size:var(--step-4);font-weight:200;line-height:1.08;
  letter-spacing:-.022em;max-width:20ch;margin-bottom:clamp(1.4rem,2.6vw,2rem);
}
.hero--page__copy{
  color:#C3CAD3;max-width:62ch;line-height:1.75;
  font-size:clamp(1rem,.95rem + .28vw,1.12rem);
  padding-top:1.4rem;border-top:1px solid rgba(255,255,255,.14);
}
.hero--page__cta{display:flex;flex-wrap:wrap;gap:.9rem;margin-top:clamp(2rem,4vw,3rem)}

/* ---- Section intro ----------------------------------------- */
.section-head{max-width:70ch;margin-bottom:clamp(2.5rem,5vw,4rem)}
.section-head h2{font-size:var(--step-3);max-width:20ch}
.section-head p{color:var(--muted);margin-top:1.4rem;max-width:64ch;line-height:1.75}

/* ---- Situation / service blocks (hairline grid, not cards) -- */
.svc-grid{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid var(--rule)}
.svc-item{padding:clamp(1.8rem,3vw,2.6rem) clamp(1.4rem,2.4vw,2.2rem);border-left:1px solid var(--rule)}
.svc-item:nth-child(3n+1){border-left:0;padding-left:0}
.svc-item:nth-child(3n){padding-right:0}
.svc-item:nth-child(n+4){border-top:1px solid var(--rule)}
.svc-item__mark{display:block;width:34px;height:2px;background:var(--royal);margin-bottom:1.2rem}
.svc-item h3{font-size:var(--step-1);margin-bottom:.8rem;font-weight:400}
.svc-item p{color:var(--muted);font-size:.92rem;line-height:1.7}

/* ---- Representative experience (single credential) ---------- */
.exp-split{display:grid;grid-template-columns:.9fr 1.1fr;gap:clamp(2.5rem,6vw,5rem);align-items:start}
.exp-split h2{font-size:var(--step-3);max-width:16ch}
.exp-split__note{color:var(--muted);margin-top:1.4rem;max-width:44ch;line-height:1.75;font-size:.94rem}
.exp-split__cta{margin-top:2rem}
/* Featured single credential. Same tombstone system as the homepage
   Selected Experience grid, scaled up proportionally so one credential
   reads as a featured plate rather than an isolated small card. */
.tombstones--solo{grid-template-columns:1fr}
.tombstones--pair{grid-template-columns:repeat(2,1fr)}
.tombstones--trio{grid-template-columns:repeat(3,1fr)}
.tombstones--solo .tombstone,
.tombstones--pair .tombstone,
.tombstones--trio .tombstone{
  min-height:340px;
  padding:clamp(3rem,5.5vw,4.5rem) clamp(2rem,4vw,3.5rem);
}
.tombstones--solo .tombstone__name,
.tombstones--pair .tombstone__name,
.tombstones--trio .tombstone__name{
  font-size:var(--step-2);max-width:24ch;margin-bottom:1.5rem;
}
.tombstones--solo .tombstone__rule,
.tombstones--pair .tombstone__rule,
.tombstones--trio .tombstone__rule{width:36px;margin-bottom:1.5rem}
.tombstones--solo .tombstone__role,
.tombstones--pair .tombstone__role,
.tombstones--trio .tombstone__role{font-size:.78rem;letter-spacing:.14em}
.tombstones--solo .tombstone__detail,
.tombstones--pair .tombstone__detail,
.tombstones--trio .tombstone__detail{
  font-size:1.05rem;max-width:34ch;margin-top:1.2rem;
}
/* Three-up sits in narrower columns, so it steps the name and detail down
   one notch. Must come after the shared block above to win on order. */
.tombstones--trio .tombstone{padding-inline:clamp(1.5rem,2.4vw,2.2rem)}
.tombstones--trio .tombstone__name{font-size:var(--step-1);max-width:18ch}
.tombstones--trio .tombstone__detail{font-size:.98rem;max-width:28ch}

/* ---- Editorial prose section (H2 left, copy + CTA right) ----
   Used for narrative sections such as the sell-side and buy-side blocks
   on /ma-advisory/. Tokens only; no new visual language. */
.editorial{display:grid;grid-template-columns:.85fr 1.15fr;gap:clamp(2.5rem,6vw,5rem);align-items:start}
.editorial h2{font-size:var(--step-3);max-width:16ch}
.editorial p{color:var(--muted);line-height:1.78;max-width:62ch}
.editorial p + p{margin-top:1.15rem}
.editorial__cta{margin-top:2.2rem}

/* ---- Scenario list (hairline editorial statements, no headings) ----
   Used for narrative example lists such as the underwriting scenarios on
   /private-client/. Serif, generous, two columns on desktop. */
.scenarios{display:grid;grid-template-columns:repeat(2,1fr);border-top:1px solid var(--rule)}
.scenarios li{
  padding:clamp(1.5rem,2.6vw,2.1rem) clamp(1.4rem,2.4vw,2.2rem) clamp(1.5rem,2.6vw,2.1rem) 0;
  border-left:1px solid var(--rule);
  font-family:'Spectral',Georgia,serif;font-weight:300;
  font-size:clamp(1rem,.95rem + .28vw,1.15rem);line-height:1.6;color:var(--ink);
}
.scenarios li:nth-child(odd){border-left:0}
.scenarios li:nth-child(even){padding-left:clamp(1.4rem,2.4vw,2.2rem)}
.scenarios li:nth-child(n+3){border-top:1px solid var(--rule)}

/* ---- Section eyebrow (light sections) ----
   Light-background counterpart to .hero--page__eyebrow, so section labels
   match the eyebrow treatment used in the heroes. */
.eyebrow{
  display:flex;align-items:center;gap:.9rem;
  font-size:.72rem;letter-spacing:.2em;text-transform:uppercase;font-weight:500;
  color:var(--royal);
}
.eyebrow::before{content:"";width:36px;height:1px;background:var(--royal);flex:0 0 auto}

/* ---- Hero capability line (About hero) ---- */
.capline{
  margin-top:1.6rem;font-size:.86rem;line-height:2.1;color:#AAB2BD;
  display:flex;flex-wrap:wrap;align-items:center;gap:.2rem .85rem;
}
.capline a{color:#D6DBE2;border-bottom:1px solid rgba(255,255,255,.22);transition:border-color .2s ease,color .2s ease}
.capline a:hover{color:#fff;border-bottom-color:#fff}
.capline span{color:#6E7684}

/* ---- Extended team profiles ---- */
.team-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:clamp(2rem,4vw,3.2rem)}
.team-member{border-top:1px solid var(--ink);border-bottom:1px solid var(--rule);padding-top:1.6rem;padding-bottom:1.8rem}
.team-member__photo{
  aspect-ratio:4/5;background:var(--mist-deep);border:1px solid var(--rule);
  overflow:hidden;margin-bottom:1.5rem;
}
.team-member__photo img{width:100%;height:100%;object-fit:cover;object-position:50% 20%}
.team-member h3{font-size:var(--step-2);margin-bottom:.35rem}
.team-member__role{
  font-size:.74rem;letter-spacing:.14em;text-transform:uppercase;
  color:var(--royal);font-weight:600;margin-bottom:1.2rem;line-height:1.6;
}
.team-member p{color:var(--muted);font-size:.92rem;line-height:1.72}
.team-member p + p{margin-top:.9rem}
.team-member__note{
  margin-top:1.4rem;padding-top:1.1rem;border-top:1px solid var(--rule);
  font-family:'Spectral',Georgia,serif;font-style:italic;font-weight:300;
  font-size:.9rem;line-height:1.6;color:var(--muted);
}

/* ---- Insights: featured article ----
   Card system for /insights/. An insight card supports category, title,
   excerpt and (on the featured slot) an editorial image. Cards render
   unlinked until the article is published; see the activation comments
   in insights/index.html. */
.featured{display:grid;grid-template-columns:1.05fr .95fr;gap:clamp(2rem,5vw,4rem);align-items:center}
.featured__media{overflow:hidden;background:var(--mist-deep)}
.featured__media img{width:100%;height:auto;aspect-ratio:3/2;object-fit:cover}
.featured h2{font-size:var(--step-3);margin-bottom:1.2rem;max-width:22ch}
.featured p{color:var(--muted);line-height:1.75;max-width:56ch}
.featured p + p{margin-top:1rem}
.insight__cat{
  font-size:.72rem;letter-spacing:.16em;text-transform:uppercase;
  color:var(--royal);font-weight:600;margin-bottom:1rem;
}

/* ---- Insights: article card grid ---- */
.insights-grid{display:grid;grid-template-columns:repeat(2,1fr);border-top:1px solid var(--rule)}
.insight-card{
  padding:clamp(1.8rem,3vw,2.6rem) clamp(1.4rem,2.4vw,2.2rem) clamp(1.8rem,3vw,2.6rem) 0;
  border-left:1px solid var(--rule);
}
.insight-card:nth-child(odd){border-left:0}
.insight-card:nth-child(even){padding-left:clamp(1.4rem,2.4vw,2.2rem)}
.insight-card:nth-child(n+3){border-top:1px solid var(--rule)}
.insight-card h3{font-size:var(--step-2);margin-bottom:.9rem;max-width:24ch}
.insight-card p{color:var(--muted);font-size:.92rem;line-height:1.7}
.insight-card__meta{
  margin-top:1.1rem;font-size:.8rem;color:var(--muted-light);
}

/* ============================================================
   INSIGHTS ARTICLE TEMPLATE
   Reusable across every /insights/<slug>/ page. All classes here are new
   and used only by article pages; no approved page is affected.
   ============================================================ */

/* ---- Article hero (full-width dark, no photography) ----
   Deliberately WIDER than the article body: the H1 gets up to 1020px so it
   breaks into 2-3 balanced lines, while the reading measure starts below. */
.article-head{
  position:relative;overflow:hidden;
  background:var(--ink);color:#fff;
  padding-block:clamp(3rem,5.5vw,4.5rem);
}
.article-head::before{
  content:"";position:absolute;inset:0;pointer-events:none;
  background:radial-gradient(110% 85% at 92% 0%,rgba(28,67,176,.28) 0%,transparent 60%);
}
.article-head .shell{position:relative;z-index:1}
.article-head__inner{max-width:1160px}
.article-head__cat{
  display:flex;align-items:center;gap:.9rem;
  font-size:.72rem;letter-spacing:.2em;text-transform:uppercase;font-weight:500;
  color:var(--royal-bright);margin-bottom:clamp(1.2rem,2.4vw,1.8rem);
}
.article-head__cat::before{content:"";width:44px;height:1px;background:var(--royal-bright);flex:0 0 auto}
.article-head h1{
  font-size:var(--step-4);font-weight:200;line-height:1.1;letter-spacing:-.022em;
  max-width:1020px;margin-bottom:clamp(1.2rem,2.4vw,1.8rem);
}
.article-head__deck{
  font-size:clamp(1rem,.96rem + .28vw,1.12rem);line-height:1.65;
  color:#C3CAD3;max-width:68ch;
}
.article-head__meta{
  margin-top:clamp(1.6rem,3vw,2.2rem);padding-top:1.1rem;
  border-top:1px solid rgba(255,255,255,.18);max-width:1020px;
  font-size:.82rem;color:#9AA2AD;display:flex;flex-wrap:wrap;gap:.3rem 1.5rem;
}

/* ---- Article band rhythm ----
   Tighter than the standard .band so a long article does not accumulate
   excessive padding, with strong hairline separation between H2 groups. */
.band--article{padding-block:clamp(3rem,5.5vw,4.5rem)}
.art-section{scroll-margin-top:96px}
.art-group + .art-group{
  margin-top:clamp(3rem,6vw,5rem);
  padding-top:clamp(3rem,6vw,5rem);
  border-top:1px solid var(--rule);
}
.art-aside h2{font-size:var(--step-2);max-width:18ch}

/* ---- Contents: boxed on desktop, expandable on mobile ---- */
.toc{border:1px solid var(--rule);background:#fff;padding:clamp(1.2rem,2.4vw,1.6rem)}
.toc summary{
  list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;
  font-size:.7rem;letter-spacing:.18em;text-transform:uppercase;color:var(--muted);font-weight:600;
}
.toc summary::-webkit-details-marker{display:none}
.toc summary::after{content:"+";font-size:1rem;letter-spacing:0;color:var(--royal)}
.toc[open] summary::after{content:"\2013"}
.toc ol{list-style:none;margin:1.1rem 0 0;padding:0;counter-reset:toc}
.toc li{counter-increment:toc;margin-bottom:.6rem;display:flex;gap:.7rem}
.toc li::before{
  content:counter(toc,decimal-leading-zero);
  font-size:.7rem;color:var(--royal);font-weight:600;padding-top:.2rem;flex:0 0 auto;
}
.toc a{
  font-size:.85rem;line-height:1.45;color:var(--muted);
  border-bottom:1px solid transparent;transition:color .18s ease,border-color .18s ease;
}
.toc a:hover{color:var(--royal);border-bottom-color:var(--royal)}
@media (min-width:1025px){
  .toc summary{cursor:default;pointer-events:none}
  .toc summary::after{display:none}
  .art-aside--sticky{position:sticky;top:104px}
}

/* ---- Article prose ---- */
.prose{font-size:clamp(1rem,.97rem + .2vw,1.06rem);line-height:1.78;color:#2B3138;max-width:70ch}
.prose > p{margin-bottom:1.35rem}
.prose > p:last-child{margin-bottom:0}
.prose ul{list-style:none;margin:0 0 1.35rem;padding:0}
.prose li{position:relative;padding-left:1.4rem;margin-bottom:.5rem}
.prose li::before{content:"";position:absolute;left:0;top:.85em;width:8px;height:1px;background:var(--royal)}
.prose a{color:var(--royal);border-bottom:1px solid var(--rule-soft);transition:border-color .2s ease}
.prose a:hover{border-bottom-color:var(--royal)}

/* ---- Information cards ---- */
.icards{display:grid;gap:clamp(1rem,2vw,1.4rem)}
.icards--2{grid-template-columns:repeat(2,1fr)}
.icards--3{grid-template-columns:repeat(3,1fr)}
.icard{border:1px solid var(--rule);background:#fff;padding:clamp(1.5rem,2.8vw,2.1rem)}
.icard__mark{display:block;width:28px;height:2px;background:var(--royal);margin-bottom:1.1rem}
.icard h3{font-size:var(--step-1);font-weight:400;margin-bottom:.8rem}
.icard p{color:var(--muted);font-size:.93rem;line-height:1.7}
.icard p + p{margin-top:.75rem}
.icard ul{list-style:none;margin:.75rem 0 0;padding:0}
.icard li{position:relative;padding-left:1.3rem;margin-bottom:.45rem;color:var(--muted);font-size:.93rem;line-height:1.6}
.icard li::before{content:"";position:absolute;left:0;top:.75em;width:7px;height:1px;background:var(--royal)}

/* ---- Bordered list card (capital sources, checklists, objectives) ---- */
.list-card{
  border:1px solid var(--rule);background:#fff;
  padding:clamp(1.6rem,3vw,2.2rem);margin:clamp(1.4rem,2.5vw,1.8rem) 0;
}
.list-card ul{list-style:none;margin:0;padding:0;columns:2;column-gap:clamp(1.5rem,3vw,2.5rem)}
.list-card--single ul{columns:1}
.list-card li{
  position:relative;padding-left:1.3rem;margin-bottom:.55rem;
  color:var(--muted);font-size:.93rem;line-height:1.6;break-inside:avoid;
}
.list-card li::before{content:"";position:absolute;left:0;top:.75em;width:7px;height:1px;background:var(--royal)}
.list-card--serif li{
  font-family:'Spectral',Georgia,serif;font-size:1.05rem;font-weight:300;color:var(--ink);
}

/* ---- Editorial pull-quote (one per article) ---- */
.pullquote{background:var(--ink);color:#fff;padding-block:clamp(3rem,6vw,5rem)}
.pullquote__rule{display:block;width:48px;height:2px;background:var(--royal-bright);margin-bottom:clamp(1.4rem,3vw,2rem)}
.pullquote blockquote{
  margin:0;max-width:26ch;
  font-family:'Spectral',Georgia,serif;font-weight:200;
  font-size:clamp(1.6rem,1.1rem + 2.1vw,2.9rem);line-height:1.24;letter-spacing:-.02em;
}
/* Compact variant: for longer quotations that would otherwise run very tall. */
.pullquote--compact{padding-block:clamp(2.4rem,4.5vw,3.4rem)}
.pullquote--compact blockquote{
  max-width:46ch;font-weight:300;
  font-size:clamp(1.15rem,1rem + .75vw,1.65rem);line-height:1.42;letter-spacing:-.01em;
}

/* ---- Inline CTA within the article body ---- */
.inline-cta{
  margin-top:clamp(2.2rem,4vw,3rem);padding:clamp(1.6rem,3vw,2.2rem);
  background:var(--mist);border-left:2px solid var(--royal);
}
.inline-cta p{
  font-family:'Spectral',Georgia,serif;font-weight:300;
  font-size:var(--step-1);color:var(--ink);margin-bottom:1.1rem;
}

/* ---- Author block (compact; must not compete with the article) ---- */
.author{
  display:grid;grid-template-columns:88px minmax(0,1fr);gap:clamp(1.2rem,2.5vw,1.6rem);
  align-items:start;max-width:72ch;
}
.author__photo{
  width:88px;height:88px;aspect-ratio:1/1;overflow:hidden;
  background:var(--mist-deep);border:1px solid var(--rule);
}
.author__photo img{width:100%;height:100%;object-fit:cover;object-position:50% 10%}
.author__name{font-family:'Spectral',Georgia,serif;font-size:var(--step-1);font-weight:400;margin-bottom:.15rem}
.author__role{
  font-size:.7rem;letter-spacing:.14em;text-transform:uppercase;
  color:var(--royal);font-weight:600;margin-bottom:.8rem;
}
.author p{color:var(--muted);font-size:.9rem;line-height:1.68}

/* ---- Article disclaimer ---- */
.disclaimer{
  margin-top:clamp(2rem,3.5vw,2.6rem);padding-top:1.1rem;border-top:1px solid var(--rule);
  font-size:.8rem;line-height:1.6;color:var(--muted-light);max-width:72ch;
}

/* ---- Article responsive ---- */
@media (max-width:1024px){
  .icards--3{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:768px){
  .icards--2,.icards--3{grid-template-columns:1fr}
  .list-card ul{columns:1}
}
@media (max-width:640px){
  .author{grid-template-columns:72px minmax(0,1fr)}
  .author__photo{width:72px;height:72px}
}

/* ============================================================
   INQUIRY EXPERIENCE  (/start-a-conversation/)
   One premium card. Service choice is a selectable grid rather than a
   dropdown; qualification questions are visually subordinate to it.
   ============================================================ */
.contact-layout{display:grid;grid-template-columns:1.75fr 1fr;gap:clamp(2.5rem,5vw,4.5rem);align-items:start}

/* ---- The card ---- */
.inquiry-card{
  background:#fff;border:1px solid var(--rule);
  padding:clamp(1.6rem,3.5vw,3rem);
  box-shadow:0 32px 64px -48px rgba(23,26,31,.28);
}
.inquiry-card__eyebrow{
  display:flex;align-items:center;gap:.9rem;
  font-size:.72rem;letter-spacing:.2em;text-transform:uppercase;font-weight:600;
  color:var(--royal);margin-bottom:1rem;
}
.inquiry-card__eyebrow::before{content:"";width:36px;height:1px;background:var(--royal);flex:0 0 auto}
.inquiry-card__lede{
  font-family:'Spectral',Georgia,serif;font-weight:300;
  font-size:var(--step-2);line-height:1.3;color:var(--ink);
  margin-bottom:clamp(2rem,4vw,2.8rem);max-width:26ch;
}

/* ---- Groups ---- */
.fgroup{border:0;padding:0;margin:0}
.fgroup + .fgroup{margin-top:clamp(1.8rem,3.5vw,2.6rem)}
.fgroup__label{
  display:block;font-size:.8rem;font-weight:600;color:var(--ink);
  margin-bottom:.9rem;letter-spacing:.01em;
}
.fgroup__help{font-size:.85rem;color:var(--muted);margin:-.5rem 0 .9rem}

/* ---- Text fields ---- */
.form__grid{display:grid;grid-template-columns:repeat(2,1fr);gap:clamp(1rem,2vw,1.4rem)}
.field{display:flex;flex-direction:column;min-width:0}
.field--full{grid-column:1 / -1}
.field label{font-size:.8rem;font-weight:500;color:var(--muted);margin-bottom:.5rem}
.field label .opt{color:var(--muted-light);font-weight:400}
.field input,.field select,.field textarea{
  font-family:'Archivo',system-ui,sans-serif;font-size:1rem;color:var(--ink);
  background:#fff;border:1px solid var(--rule);border-radius:0;
  padding:.95rem 1rem;min-height:54px;width:100%;
  transition:border-color .18s ease,box-shadow .18s ease;
}
.field textarea{min-height:150px;resize:vertical;line-height:1.65}
.field select{
  appearance:none;-webkit-appearance:none;cursor:pointer;padding-right:2.6rem;
  background-image:url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6' fill='none'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%235A616B' stroke-width='1.4'/%3E%3C/svg%3E");
  background-repeat:no-repeat;background-position:right 1rem center;background-size:10px 6px;
}
.field input:hover,.field select:hover,.field textarea:hover{border-color:var(--muted-light)}
.field input:focus,.field select:focus,.field textarea:focus{
  outline:none;border-color:var(--royal);box-shadow:0 0 0 3px rgba(0,28,167,.12);
}
.field input::placeholder,.field textarea::placeholder{color:var(--muted-light)}

/* Validation — never the browser default outline */
.field__error{display:none;margin-top:.45rem;font-size:.8rem;color:#A6262B;line-height:1.4}
.field[data-invalid="true"] .field__error{display:block}
.field[data-invalid="true"] input,
.field[data-invalid="true"] select,
.field[data-invalid="true"] textarea{border-color:#A6262B}
.field[data-invalid="true"] input:focus,
.field[data-invalid="true"] textarea:focus{box-shadow:0 0 0 3px rgba(166,38,43,.12)}

/* ---- Service choice grid ---- */
.choice-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:.75rem}
.choice{position:relative;display:block}
.choice input{position:absolute;opacity:0;width:1px;height:1px;margin:0}
.choice span{
  display:flex;align-items:center;min-height:72px;height:100%;
  padding:1rem 1.1rem;border:1px solid var(--rule);background:#fff;
  font-size:.92rem;line-height:1.35;color:var(--ink);cursor:pointer;
  transition:border-color .18s ease,background .18s ease,box-shadow .18s ease;
}
.choice span:hover{border-color:var(--muted-light);background:var(--mist)}
.choice input:checked + span{
  border-color:var(--royal);background:rgba(0,28,167,.04);
  box-shadow:inset 0 0 0 1px var(--royal);font-weight:500;
}
.choice input:focus-visible + span{outline:2px solid var(--royal);outline-offset:2px}
.choice--other{grid-column:1 / -1}
.choice--other span{min-height:0;padding:.75rem 1.1rem;font-size:.86rem;color:var(--muted)}
.choice--other input:checked + span{color:var(--ink)}

/* ---- Secondary sub-choice pills ---- */
.subchoice{margin-top:.85rem;display:flex;flex-wrap:wrap;gap:.5rem;align-items:center}
.subchoice__label{width:100%;font-size:.8rem;color:var(--muted);margin-bottom:.15rem}
.pill{position:relative;display:inline-block}
.pill input{position:absolute;opacity:0;width:1px;height:1px;margin:0}
.pill span{
  display:inline-block;padding:.55rem .95rem;border:1px solid var(--rule);background:#fff;
  font-size:.85rem;color:var(--muted);cursor:pointer;
  transition:border-color .18s ease,color .18s ease,background .18s ease;
}
.pill span:hover{border-color:var(--muted-light);color:var(--ink)}
.pill input:checked + span{border-color:var(--royal);color:var(--royal);background:rgba(0,28,167,.05);font-weight:500}
.pill input:focus-visible + span{outline:2px solid var(--royal);outline-offset:2px}

/* Progressive disclosure */
[hidden]{display:none !important}

/* ---- Consent, submit ---- */
.form__consent{
  margin-top:clamp(1.8rem,3.5vw,2.4rem);padding-top:1.3rem;border-top:1px solid var(--rule);
  font-size:.82rem;line-height:1.6;color:var(--muted);max-width:60ch;
}
.form__consent a{color:var(--royal);border-bottom:1px solid var(--rule);white-space:nowrap}
.form__consent a:hover{border-bottom-color:var(--royal)}
.form__actions{margin-top:1.6rem}
.btn--wide{min-width:min(320px,100%);padding-block:1.15rem}
.btn[data-busy="true"]{opacity:.72;cursor:progress}
.form__note{margin-top:.9rem;font-size:.8rem;color:var(--muted-light)}

/* Honeypot — invisible to people, must remain empty. */
.hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}

/* ---- Submission states ---- */
.form-state{display:none;border:1px solid var(--rule);background:#fff;padding:clamp(1.8rem,3.5vw,2.6rem)}
.form-state[data-show="true"]{display:block}
.form-state--error{border-left:2px solid #A6262B;margin-bottom:1.5rem}
.form-state--success{border-left:2px solid var(--royal)}
.form-state h2{font-size:var(--step-2);margin-bottom:1rem}
.form-state p{color:var(--muted);line-height:1.72;max-width:56ch}
.form-state p + p{margin-top:.9rem}
.form-state .btn{margin-top:1.6rem}
.form-state a{color:var(--royal);border-bottom:1px solid var(--rule)}

/* ---- Supporting column ---- */
.aside-block + .aside-block{
  margin-top:clamp(2rem,3.5vw,2.6rem);padding-top:clamp(2rem,3.5vw,2.6rem);
  border-top:1px solid var(--rule);
}
.aside-block h3{font-size:var(--step-1);font-weight:400;margin-bottom:.9rem}
.aside-block p{color:var(--muted);font-size:.9rem;line-height:1.7}
.contact-line{display:flex;flex-direction:column;gap:.4rem;margin-top:.9rem;font-size:.9rem}
.contact-line a{color:var(--royal);border-bottom:1px solid transparent;transition:border-color .18s ease}
.contact-line a:hover{border-bottom-color:var(--royal)}
.contact-line span{color:var(--muted)}
.contact-name{font-family:'Spectral',Georgia,serif;font-size:1.05rem;font-weight:400;margin-bottom:.15rem}
.contact-role{
  font-size:.68rem;letter-spacing:.14em;text-transform:uppercase;
  color:var(--royal);font-weight:600;margin-bottom:.5rem;
}

@media (max-width:1024px){
  .contact-layout{grid-template-columns:1fr;gap:clamp(2.5rem,6vw,3.5rem)}
  .choice-grid{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:640px){
  .form__grid{grid-template-columns:1fr}
  .choice-grid{grid-template-columns:1fr}
  .choice span{min-height:0;padding:1rem}
  .form__actions .btn{width:100%}
}

/* ---- Numbered process steps ---- *//* ---- Numbered process steps ---- */
.steps{display:grid;grid-template-columns:repeat(4,1fr);border-top:1px solid var(--rule)}
.steps--5{grid-template-columns:repeat(5,1fr)}
/* Stacked variant, for a process shown inside a narrow column. */
.steps.steps--stack{grid-template-columns:1fr}
.steps--stack .step,
.steps--stack .step:nth-child(odd),
.steps--stack .step:nth-child(even){border-left:0;padding-left:0;padding-right:0}
.steps--stack .step:nth-child(n+2){border-top:1px solid var(--rule)}
.step{padding:clamp(1.8rem,3vw,2.6rem) clamp(1.4rem,2.4vw,2.2rem) clamp(1.8rem,3vw,2.6rem) 0;border-left:1px solid var(--rule)}
.step:first-child{border-left:0}
.step:not(:first-child){padding-left:clamp(1.4rem,2.4vw,2.2rem)}
.step__num{
  display:block;font-family:'Spectral',Georgia,serif;font-weight:300;
  font-size:1.6rem;color:var(--royal);line-height:1;margin-bottom:1.1rem;
  letter-spacing:.02em;
}
.step h3{font-size:var(--step-1);font-weight:400;margin-bottom:.7rem}
.step p{color:var(--muted);font-size:.9rem;line-height:1.68}

/* ---- Related capabilities (internal linking, deliberately light) ---- */
.related{border-top:1px solid var(--rule);display:grid;grid-template-columns:repeat(3,1fr)}
.related__item{
  padding:clamp(1.8rem,3vw,2.4rem) clamp(1.4rem,2.4vw,2.2rem) clamp(1.8rem,3vw,2.4rem) 0;
  border-left:1px solid var(--rule);
}
.related__item:first-child{border-left:0}
.related__item:not(:first-child){padding-left:clamp(1.4rem,2.4vw,2.2rem)}
.related__item h3{font-size:var(--step-1);font-weight:400;margin-bottom:.7rem}
.related__item h3 a{
  color:var(--ink);border-bottom:1px solid transparent;
  transition:color .2s ease,border-color .2s ease;
}
.related__item h3 a:hover{color:var(--royal);border-bottom-color:var(--royal)}
.related__item h3 a::after{content:" \2192";color:var(--royal)}
.related__item p{color:var(--muted);font-size:.9rem;line-height:1.65}
/* Two-across variant, for four linked capabilities rather than three. */
.related--2{grid-template-columns:repeat(2,1fr)}
.related--2 .related__item:nth-child(odd){border-left:0;padding-left:0}
.related--2 .related__item:nth-child(even){padding-left:clamp(1.4rem,2.4vw,2.2rem)}
.related--2 .related__item:nth-child(n+3){border-top:1px solid var(--rule);padding-top:clamp(1.8rem,3vw,2.4rem)}

/* ---- Who we work with -------------------------------------- */
.who-grid{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid var(--rule);margin-top:clamp(2.2rem,4vw,3rem)}
.who-item{
  padding:1.5rem 1.6rem 1.5rem 0;border-left:1px solid var(--rule);
  font-family:'Spectral',Georgia,serif;font-weight:300;
  font-size:clamp(1rem,.95rem + .3vw,1.2rem);line-height:1.35;
}
.who-item:nth-child(3n+1){border-left:0}
.who-item:nth-child(n+4){border-top:1px solid var(--rule)}
.who-item:not(:nth-child(3n+1)){padding-left:1.6rem}

/* ---- Service page responsive ------------------------------- */
@media (max-width:1024px){
  .hero--page{min-height:700px}
  .editorial{grid-template-columns:1fr;gap:1.6rem}
  .featured{grid-template-columns:1fr;gap:2rem}
  .team-grid{grid-template-columns:repeat(2,1fr)}
  .steps{grid-template-columns:repeat(2,1fr)}
  .step:nth-child(odd){border-left:0;padding-left:0}
  .step:nth-child(even){padding-left:clamp(1.4rem,2.4vw,2.2rem)}
  .step:nth-child(n+3){border-top:1px solid var(--rule)}
  .svc-grid{grid-template-columns:repeat(2,1fr)}
  .svc-item{border-left:1px solid var(--rule);padding-inline:clamp(1.4rem,2.4vw,2.2rem)}
  .svc-item:nth-child(3n+1){border-left:1px solid var(--rule);padding-left:clamp(1.4rem,2.4vw,2.2rem)}
  .svc-item:nth-child(3n){padding-right:clamp(1.4rem,2.4vw,2.2rem)}
  .svc-item:nth-child(odd){border-left:0;padding-left:0}
  .svc-item:nth-child(even){padding-right:0}
  .svc-item:nth-child(n+3){border-top:1px solid var(--rule)}
  .exp-split{grid-template-columns:1fr;gap:2.5rem}
  .who-grid{grid-template-columns:repeat(2,1fr)}
  .who-item:nth-child(3n+1){border-left:1px solid var(--rule)}
  .who-item:not(:nth-child(3n+1)){padding-left:0}
  .who-item:nth-child(odd){border-left:0}
  .who-item:nth-child(even){padding-left:1.6rem}
  .who-item:nth-child(n+3){border-top:1px solid var(--rule)}
}
@media (max-width:767px){
  .hero--page{min-height:660px}
}
@media (max-width:1024px){
  .tombstones--trio{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:900px){
  .tombstones--pair{grid-template-columns:1fr}
  .tombstones--trio{grid-template-columns:1fr}
  .related{grid-template-columns:1fr}
  .related__item,
  .related__item:not(:first-child){border-left:0;padding-left:0;padding-right:0}
  .related__item:not(:first-child){border-top:1px solid var(--rule)}
}
@media (max-width:640px){
  .team-grid{grid-template-columns:1fr;gap:2.5rem}
  .steps{grid-template-columns:1fr}
  .step,.step:nth-child(even){border-left:0;padding-left:0}
  .step:nth-child(n+2){border-top:1px solid var(--rule)}
  .insights-grid{grid-template-columns:1fr}
  .insight-card,
  .insight-card:nth-child(even){border-left:0;padding-left:0;padding-right:0}
  .insight-card:nth-child(n+2){border-top:1px solid var(--rule)}
  .scenarios{grid-template-columns:1fr}
  .scenarios li,
  .scenarios li:nth-child(even){border-left:0;padding-left:0;padding-right:0}
  .scenarios li:nth-child(n+2){border-top:1px solid var(--rule)}
  .svc-grid{grid-template-columns:1fr}
  .svc-item,
  .svc-item:nth-child(3n+1),
  .svc-item:nth-child(odd),
  .svc-item:nth-child(even){border-left:0;padding-inline:0}
  .svc-item:nth-child(n+2){border-top:1px solid var(--rule)}
  .who-grid{grid-template-columns:1fr}
  .who-item,
  .who-item:nth-child(3n+1),
  .who-item:nth-child(odd),
  .who-item:nth-child(even){border-left:0;padding-left:0}
  .who-item:nth-child(n+2){border-top:1px solid var(--rule)}
  .hero--page__cta .btn{width:100%}
}
