/* Theme Name: Billfast
Version: 1.5.7
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: billfast
*/
:root{--navy:#2c426a;--ink:#1c2120;--muted:#596575;--pale:#eef3f9;--line:#dce3ed;--white:#fff}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:100px}body{margin:0;font-family:Arial,Helvetica,sans-serif;color:var(--ink);background:#fff;font-size:16px;line-height:1.6}a{color:inherit;text-decoration:none}button,input,textarea,select{font:inherit}button,a,input,select,textarea{touch-action:manipulation}a:focus-visible,button:focus-visible,summary:focus-visible{outline:3px solid #4979b9;outline-offset:5px}button{cursor:pointer}img{max-width:100%;height:auto}h1,h2,h3,p{margin-top:0}h1,h2,h3{line-height:1.08;letter-spacing:-.045em}h1{font-size:clamp(3rem,5.4vw,5.8rem);font-weight:500;margin-bottom:28px}h2{font-size:clamp(2rem,3.2vw,3.4rem);font-weight:500;margin-bottom:26px}h3{font-size:1.5rem;font-weight:500}p{color:var(--muted)}.header{position:sticky;top:0;z-index:10;display:flex;align-items:center;justify-content:space-between;gap:24px;padding:20px 5%;border-bottom:1px solid var(--line);background:rgba(255,255,255,.96)}.brand{display:flex;width:156px;flex-shrink:0}.brand img{object-fit:contain;width:156px;height:46px}nav{display:flex;gap:30px;font-size:14px}nav a:hover,.text-link:hover{color:#426dad}.button{display:inline-flex;align-items:center;justify-content:center;gap:24px;background:var(--navy);color:#fff;border:1px solid var(--navy);padding:16px 23px;border-radius:7px;font-size:15px;transition:background .2s,transform .2s}.button:hover{background:#1c3054;transform:translateY(-2px)}.small{padding:10px 18px}.menu-toggle{display:none}.hero{padding:80px 5% 60px;display:grid;grid-template-columns:1.2fr 1fr;gap:7%;max-width:1600px;margin:auto;align-items:center}.eyebrow{font-size:12px;letter-spacing:.13em;font-weight:600;color:var(--navy);margin-bottom:25px}.hero h1 span{color:var(--navy)}.intro{max-width:500px;font-size:18px;line-height:1.65}.actions{display:flex;align-items:center;gap:28px;flex-wrap:wrap;margin-top:32px}.text-link{font-size:15px;border-bottom:1px solid #aab7cc;padding-bottom:5px;display:inline-block}.hero-note{font-size:13px;color:var(--muted);margin-top:35px}.flow-panel{background:var(--navy);color:white;border-radius:18px;padding:32px 38px 30px;position:relative;overflow:hidden}.flow-top{display:flex;justify-content:space-between;gap:10px;border-bottom:1px solid #ffffff30;padding-bottom:20px;margin-bottom:30px;font-size:11px;letter-spacing:.07em}.flow-panel h2{font-size:38px}.flow{list-style:none;padding:0;margin:35px 0}.flow li{display:flex;gap:24px;position:relative;padding:0 0 28px}.flow li:last-child{padding:0}.flow li>span{font-size:13px;border:1px solid #9bacc7;border-radius:50%;width:36px;height:36px;display:grid;place-items:center;flex-shrink:0}.flow strong{font-size:17px;font-weight:500}.flow p{font-size:14px;color:#d7e1f1;margin:3px 0 0}.flow-panel>a{font-size:13px;color:#e2e9f3;display:flex;justify-content:space-between;border-top:1px solid #ffffff30;padding-top:20px}.specialty-strip{border-block:1px solid var(--line);display:flex;justify-content:space-between;gap:24px;align-items:center;padding:26px 5%;font-size:17px}.specialty-strip span:first-child{font-size:11px;letter-spacing:.1em;color:var(--muted);max-width:130px}.section{padding:100px 5%;max-width:1600px;margin:auto}.section-heading{display:flex;align-items:end;justify-content:space-between;gap:40px;margin-bottom:44px}.section-heading>p{max-width:330px}.services{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid var(--line);border-left:1px solid var(--line)}.service{padding:30px;border-bottom:1px solid var(--line);border-right:1px solid var(--line);transition:background .2s}.service:hover{background:var(--pale)}.number{font-size:12px;color:var(--navy);display:block;margin-bottom:35px}.service p{font-size:15px;min-height:72px}.service h3{letter-spacing:-.03em}.service .text-link{border:0;margin-top:18px}.support-note{margin:22px 0 0;font-size:14px}.specialties{display:grid;grid-template-columns:1fr 1fr;gap:10%;background:var(--pale)}.specialty-controls{display:flex;flex-wrap:wrap;gap:10px;margin-top:30px}.specialty-controls button{background:transparent;border:1px solid #a9b7ca;color:var(--navy);border-radius:30px;padding:10px 17px;font-size:14px}.specialty-controls button[aria-pressed=true]{background:var(--navy);color:white;border-color:var(--navy)}.specialty-detail{align-self:center;background:#fff;padding:45px;border-radius:12px}.specialty-detail h3{font-size:30px;margin-top:25px}.specialty-detail ul{padding-left:20px;color:var(--muted);font-size:15px;line-height:2.2;margin-bottom:26px}.about{display:grid;grid-template-columns:1.1fr 1fr;gap:8%;align-items:center}.about-image img{border-radius:12px;display:block}.faq{display:grid;grid-template-columns:1fr 1.5fr;gap:10%;padding-top:20px}details{border-bottom:1px solid var(--line);padding:22px 0}summary{font-size:18px;cursor:pointer;list-style:none;display:flex;justify-content:space-between;gap:20px}summary::after{content:'+';color:var(--navy);font-size:24px}details[open] summary::after{content:'−'}details p{margin:16px 30px 0 0;font-size:15px}.contact{display:grid;grid-template-columns:1fr 1.15fr;gap:9%;background:var(--pale)}.contact h2{font-size:38px}.contact>div>p{max-width:380px}.contact .text-link{margin-top:12px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}label{display:block;font-size:14px;color:var(--ink);margin-bottom:18px}label span{color:var(--muted)}input,select,textarea{display:block;width:100%;border:1px solid #b8c5d6;background:#fff;border-radius:5px;padding:12px;margin-top:7px;color:var(--ink)}textarea{resize:vertical}input:focus,select:focus,textarea:focus{outline:2px solid var(--navy);outline-offset:2px}.fine{font-size:12px}.trap{position:absolute;left:-9999px}.form-status{font-size:14px;margin-top:18px}.footer-top{display:flex;gap:30px;align-items:center;justify-content:space-between;padding:40px 5%}.footer-top p{margin:0}.footer-top>a:not(.brand){font-size:14px}.footer-bottom{border-top:1px solid var(--line);padding:22px 5%;display:flex;gap:30px;font-size:12px;color:var(--muted)}.footer-bottom span{margin-right:auto}.skip{position:fixed;top:-100px;background:#fff;padding:15px;z-index:100}.skip:focus{top:0}.content-page{max-width:1000px;margin:auto;padding:70px 5%}.content-page h1{font-size:3rem}.content-page a{color:var(--navy);text-decoration:underline}.post-list article{padding:25px 0;border-bottom:1px solid var(--line)}@media(prefers-reduced-motion:no-preference){.hero-copy{animation:arrive .8s ease both}.flow li{animation:arrive .8s ease both}.flow li:nth-child(2){animation-delay:.12s}.flow li:nth-child(3){animation-delay:.24s}.flow li:nth-child(4){animation-delay:.36s}@keyframes arrive{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:none}}}@media(max-width:1050px){nav{gap:16px}.hero{gap:4%;padding-top:50px}.flow-panel{padding:25px}.flow-panel h2{font-size:30px}.actions{gap:18px}.specialty-strip{flex-wrap:wrap}.section{padding-block:65px}.footer-top{flex-wrap:wrap}}@media(max-width:760px){.header{padding:13px 5%;gap:12px}.brand,.brand img{width:126px;height:38px}.header>.button{margin-left:auto;font-size:13px;padding:9px 12px}.menu-toggle{display:block;order:3;background:none;border:1px solid var(--line);padding:8px;border-radius:5px;font-size:13px}nav{display:none;position:absolute;left:0;right:0;top:100%;background:#fff;padding:25px;flex-direction:column;border-bottom:1px solid var(--line)}nav.open{display:flex}.hero{grid-template-columns:1fr;gap:38px;padding-top:40px}.hero h1{font-size:clamp(2.8rem,11vw,4rem)}.eyebrow{font-size:11px}.intro{font-size:17px}.hero-note{margin-top:25px}.flow-panel h2{font-size:32px}.flow{display:grid;grid-template-columns:1fr 1fr;gap:24px}.flow li{gap:10px;padding:0}.flow p{font-size:13px}.flow strong{font-size:15px}.flow li>span{width:28px;height:28px;font-size:11px}.specialty-strip{font-size:14px;gap:16px}.specialty-strip span:first-child{max-width:none;width:100%}.section-heading{display:block;margin-bottom:30px}.section-heading>p{max-width:none}.services{grid-template-columns:1fr 1fr}.service{padding:22px}.service h3{font-size:22px}.service p{min-height:0}.specialties,.about,.faq,.contact{grid-template-columns:1fr;gap:30px}.specialty-detail{padding:28px}.contact h2{font-size:32px}.footer-top{gap:22px}.footer-top p{width:100%;order:4}.footer-bottom{flex-wrap:wrap;gap:20px}.section{padding-block:55px}}@media(max-width:440px){.services{grid-template-columns:1fr}.number{margin-bottom:18px}.service .text-link{margin-top:4px}.form-grid{grid-template-columns:1fr;gap:0}.flow{grid-template-columns:1fr}.flow-top{font-size:10px}.header>.button span{display:none}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation:none!important;transition:none!important}}/* Billfast visual identity */
:root{--navy:#2c426a;--ink:#172d4c;--muted:#50637b;--pale:#eff6ff;--line:#d4e0ee;--sky:#acd7ff;--deep:#142e59}
.header{padding:13px max(5%,calc((100vw - 1360px)/2));background:#fff;border-color:#e0e9f5}
.brand,.brand img{width:125px;height:47px}.header nav{gap:clamp(18px,3vw,44px)}.header nav a{font-weight:600;color:#344968}
.button{border-radius:100px;background:var(--deep);border-color:var(--deep);font-weight:600}.header .button{padding:10px 20px}.button b{font-size:18px}
.cover{background:radial-gradient(ellipse at 65% 105%,#245aa4 0,transparent 53%),#142e59;color:#fff;overflow:hidden}
.cover-inner{position:relative;max-width:1512px;margin:auto;display:grid;grid-template-columns:1.1fr .9fr;align-items:center;gap:5%;padding:clamp(40px,5vw,85px) 5%}
.cover-story{position:relative;z-index:1}.kicker{display:flex;align-items:center;gap:11px;color:#d9ebff;font-size:clamp(.77rem,1.05vw,.95rem);font-weight:500;letter-spacing:.025em;margin-bottom:clamp(22px,3.3vw,52px)}
.kicker span{font-size:1.6rem;color:#acd7ff;line-height:1}.cover h1{color:white;font-weight:500;font-size:clamp(3.8rem,7.4vw,7.8rem);letter-spacing:-.065em;line-height:.99;margin:0 0 26px}
.cover h1 em,.section-heading em{font-family:Georgia,'Times New Roman',serif;font-weight:400;letter-spacing:-.055em}.cover h1 em{color:#acd7ff}
.lead{color:#dce9fa;font-size:clamp(1rem,1.45vw,1.3rem);max-width:440px;margin-bottom:28px;line-height:1.55}.cover-actions{display:flex;align-items:center;flex-wrap:wrap;gap:21px}.cover-actions .button{background:#acd7ff;color:#09234c;border-color:#acd7ff}.cover-actions .button:hover{background:#cbe7ff}.cover-link{color:#fff;font-size:.95rem;border-bottom:1px solid #91abc9;padding:4px 0}.cover-link span{margin-left:6px}
.portrait{position:relative;margin:0;aspect-ratio:1/.98;align-self:center;border-radius:36% 12px 12px 12px;overflow:hidden;background:#bed1e8}.portrait img{display:block;width:100%;height:100%;object-fit:cover;object-position:50% 29%}.portrait figcaption{position:absolute;inset:auto 0 0;padding:45px 20px 15px;color:white;display:flex;align-items:center;gap:10px;background:linear-gradient(transparent,#0c2855db);font-size:13px;font-weight:600;letter-spacing:.025em}.mini-cross{font:26px/1 Arial;color:var(--sky)}.caption-rule{height:1px;background:#ffffff66;flex:1}
.practice-bar{padding:20px 5%;display:flex;align-items:center;justify-content:space-between;gap:18px;background:#e8f2ff;border-bottom:1px solid #d1e0f2}.practice-bar>span{font-size:.8rem;font-weight:bold;color:#2e537d}.practice-bar a{font-size:clamp(.85rem,1.2vw,1.05rem);font-weight:500}.practice-bar a:hover{text-decoration:underline}
.eyebrow{display:flex;gap:10px;align-items:center;color:#235d97;font-size:.75rem}.eyebrow:before{content:'';height:2px;width:24px;background:#5a8dc7}
.section-heading em{color:#205fa4}.section-heading h2,.process h2,.specialties h2,.about h2,.faq h2,.contact h2{font-size:clamp(2.45rem,4.15vw,4.6rem);line-height:1.06}
.services{border:0;gap:14px}.service{display:flex;flex-direction:column;align-items:flex-start;border:1px solid var(--line);border-radius:15px;padding:clamp(22px,2.4vw,39px);background:#f6f9fd}.service:hover{background:#e8f2ff;border-color:#9cbce0}.card-top{display:flex;width:100%;align-items:center;justify-content:space-between;margin-bottom:28px}.card-top svg{width:38px;height:38px;color:#2264aa}.card-top .number{margin:0;letter-spacing:.1em;font-size:.75rem}.service h3{margin-bottom:12px}.service p{min-height:0}.service .text-link{margin-top:auto;padding-top:14px}
.process{background:var(--deep);display:grid;grid-template-columns:1fr 1.2fr;gap:8%;color:#fff}.process .eyebrow,.process>div>p{color:#c7e0ff}.process details{border-color:#4e6c94;padding:20px 0}.process details:first-child{border-top:1px solid #4e6c94}.process summary{justify-content:initial;align-items:center;font-size:clamp(18px,2vw,26px)}.process summary span{font-size:13px;color:#a7d3ff}.process summary:after{margin-left:auto;color:var(--sky)}.process details p{color:#d5e5f7;margin-left:35px;max-width:550px}.specialty-detail{border:1px solid #c1d5ed;border-top:4px solid #397bc4}.specialty-controls button[aria-pressed=true]{background:#175394}.about-image{overflow:hidden;border-radius:12px 75px 12px 12px}.contact{background:#eaf2fc}.contact form{background:#fff;border-radius:18px;padding:clamp(20px,3vw,42px)}footer{background:var(--deep);color:white}.footer-top p,.footer-bottom{color:#cddff3}.footer-bottom{border-color:#39557d}.content-page{line-height:1.75}.content-page h1{font-size:clamp(2.5rem,5vw,4.5rem)}.content-page a.button{color:white;text-decoration:none}.content-page article h2{font-size:clamp(1.65rem,3vw,2.4rem)}
@media(prefers-reduced-motion:no-preference){.cover-story{animation:arrive .55s ease-out}.service{transition:background .18s,border-color .18s}.portrait img{animation:portrait-in .85s ease-out}@keyframes portrait-in{from{transform:scale(1.035)}to{transform:scale(1)}}}
@media(max-width:760px){.cover-inner{grid-template-columns:1fr;gap:30px;padding-top:36px;padding-bottom:25px}.portrait{width:100%;aspect-ratio:1.8;max-height:350px;border-radius:70px 10px 10px 10px}.portrait img{object-position:50% 23%}.cover h1{font-size:clamp(3.7rem,13vw,6rem)}.cover-story .kicker{margin-bottom:24px}.practice-bar{flex-wrap:wrap;gap:8px 20px;justify-content:flex-start}.practice-bar>span{width:100%}.process{grid-template-columns:1fr;gap:22px}.header .brand,.header .brand img{width:104px;height:40px}.header nav{gap:16px}.hero-note{display:none}.section-heading h2 br{display:none}.section-heading h2 br:after{content:' '}.cover-actions .button{padding:13px 18px}.portrait figcaption{padding-top:30px}}
@media(max-width:390px){.cover-actions{gap:12px}.cover-link{font-size:.83rem}.process summary{gap:11px}.form-grid{grid-template-columns:minmax(0,1fr)}}

.bf-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,250px),1fr));gap:16px}.bf-tile,.bf-box{border:1px solid #cbdced;border-radius:16px;background:#f6faff;padding:26px;position:relative;color:#173457}.bf-tile{display:flex;flex-direction:column;align-items:flex-start}.bf-tile:hover{background:#e9f3ff;border-color:#7ca8d8}.bf-tile strong,.bf-intro aside strong{display:block;font-size:1.3rem;line-height:1.25;margin:16px 0 10px}.bf-tile p,.bf-box p{margin:10px 0 0}.bf-tile>span{position:absolute;top:20px;right:22px}.bf-tile svg,.bf-box svg,.bf-intro aside svg{width:32px;height:32px;color:#2264aa}.bf-directory h1,.bf-intro h1{font-size:clamp(2.7rem,5vw,5.1rem)}.bf-directory h2{font-size:2rem;margin:38px 0 18px}.bf-search{max-width:520px}.bf-intro{background:#e9f3ff;padding:68px 5%;display:grid;grid-template-columns:1.5fr 1fr;gap:8%;align-items:center}.bf-intro>div>a:first-child{display:inline-block;margin-bottom:32px;text-decoration:underline}.bf-intro aside{background:white;padding:32px;border-radius:18px;border-top:4px solid #367fc3}.bf-intro>div>p:not(.eyebrow){max-width:640px;font-size:1.15rem}.bf-actions{margin:24px 0}.bf-finder{background:#f2f7fe}.bf-badges{position:absolute;left:5%;bottom:20%;display:grid;gap:8px;pointer-events:none}.bf-badges span{display:flex;align-items:center;gap:8px;background:#fff;color:#19416d;padding:8px 14px;border-radius:24px;box-shadow:0 4px 18px #112e572b;font-size:13px;font-weight:600;width:max-content}.bf-badges svg{width:18px;height:18px}.bf-badges span+span{margin-left:22px}.bf-tile[hidden],.bf-group[hidden]{display:none}@media(prefers-reduced-motion:no-preference){.bf-badges span{animation:bf-drift 2.1s ease-in-out 2 alternate}.bf-badges span+span{animation-delay:.2s}@keyframes bf-drift{to{transform:translateY(-5px)}}}@media(max-width:760px){.bf-intro{grid-template-columns:1fr;gap:25px;padding-block:40px}.bf-badges{left:auto;right:3%;bottom:19%}.bf-badges span{font-size:11px;padding:4px 10px}.bf-badges span+span{margin-left:0}}
.bf-quick{margin-top:38px;padding:clamp(22px,4vw,55px);background:#fff;border-radius:18px;border:1px solid #cbdced;display:grid;grid-template-columns:1fr 1.2fr;gap:7%}.bf-quick h3{font-size:clamp(1.8rem,3vw,3rem)}@media(max-width:760px){.bf-quick{grid-template-columns:1fr;gap:18px}}
/* Navigation, editorial imagery and motion */
.header{justify-content:center;gap:clamp(18px,3vw,45px);padding:8px 4%;border-bottom:2px solid #d6e7ff;box-shadow:0 4px 18px #1234510a}.header nav{gap:clamp(16px,2.2vw,36px)}.header nav a{font-size:1.05rem;letter-spacing:-.015em}.header .brand,.header .brand img{width:144px;height:54px}.header .button.small{font-size:1rem;padding:9px 20px}.footer-top{justify-content:center;gap:clamp(16px,2.6vw,40px);padding:24px 4% 16px;flex-wrap:wrap}.footer-top a:not(.brand),.footer-top p{font-size:1.08rem}.footer-top a:not(.brand){font-weight:600;color:white}.footer-top .brand,.footer-top .brand img{width:140px;height:54px}.footer-bottom{justify-content:center;align-items:center;gap:20px;padding:12px 4%;font-size:.94rem}.footer-bottom>span{margin-right:0}footer{background:linear-gradient(110deg,#122744,#1a4176);border-top:4px solid #8ec7ff}
.bf-gallery{padding-block:clamp(34px,5vw,74px);background:#eef5ff}.gallery-head{display:flex;align-items:end;justify-content:space-between;gap:18px;margin-bottom:20px}.gallery-head h2,.gallery-head .eyebrow{margin-bottom:10px}.gallery-controls{display:flex;gap:6px}.gallery-controls[hidden],.bf-slide[hidden]{display:none}.gallery-controls button{border:1px solid #adc6e4;background:white;color:#192f51;border-radius:20px;padding:6px 13px;min-height:38px}.bf-slide{display:grid;grid-template-columns:1.15fr 1fr;align-items:center;gap:4%;background:white;border-radius:18px;overflow:hidden;border:1px solid #cbdef3}.bf-slide>div{padding:24px 8% 24px 0}.bf-slide h3{font-size:clamp(1.8rem,3vw,3rem);margin:16px 0}.bf-art{position:relative;margin:0;overflow:hidden}.bf-art>img:first-child{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:cover}.bf-art img.art-signature{position:absolute;left:3%;bottom:4%;width:clamp(66px,8vw,110px);height:auto;background:#fffc;padding:6px 10px;border-radius:7px}.art-aside>.bf-art{margin:-10px -10px 20px;border-radius:10px}.art-aside>svg{display:none}
@media(hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference){.button,.service,.bf-tile,.specialty-controls button,.gallery-controls button,.bf-box{transition:transform .2s ease,box-shadow .2s ease,background .2s ease}.button:hover,.service:hover,.bf-tile:hover,.specialty-controls button:hover,.gallery-controls button:hover,.bf-box:hover{transform:perspective(850px) translateY(-3px) rotateX(1.8deg) scale(1.016);box-shadow:0 11px 22px -10px #16437555}.header nav a:hover,.footer-top a:hover,.footer-bottom a:hover{text-decoration:underline;text-underline-offset:5px}}
@media(prefers-reduced-motion:no-preference){.bf-slide:not([hidden]){animation:bf-in .32s ease-out}@keyframes bf-in{from{opacity:.65;transform:translateY(4px)}to{opacity:1;transform:none}}}
@media(max-width:760px){.header{justify-content:space-between;gap:8px;padding:7px 4%}.header .brand,.header .brand img{width:112px;height:45px}.header .button.small{font-size:.9rem;padding:8px 13px}.menu-toggle{font-size:.95rem}.footer-top,.footer-bottom{justify-content:flex-start}.footer-top p{width:auto;order:0}.footer-top{gap:12px 24px}.gallery-head{align-items:start;flex-wrap:wrap}.bf-slide{grid-template-columns:1fr}.bf-slide>div{padding:20px 6%}.bf-slide .bf-art>img:first-child{aspect-ratio:2/1}.bf-slide h3{margin-top:8px}}

.header{justify-content:flex-start;padding-inline:clamp(10px,1vw,18px);gap:clamp(10px,1.5vw,22px)}.header>.talk{margin-left:0;white-space:nowrap}.header nav{margin-left:auto;gap:clamp(1px,.5vw,10px)}.header nav a{display:block;padding:8px clamp(6px,.8vw,14px);border-radius:8px;font-family:Arial,Helvetica,sans-serif;font-size:1rem;font-weight:700;letter-spacing:-.025em;text-transform:uppercase}.header nav a:hover,.header nav a:focus-visible{color:#173f78;background:#e0eeff;text-decoration:none}.footer-top{display:grid;grid-template-columns:auto 1fr auto auto;padding-inline:clamp(10px,1vw,18px);gap:clamp(12px,2vw,34px)}.footer-contacts{display:flex;flex-wrap:wrap;gap:6px 22px}.footer-top .talk{justify-self:end;background:#d8ebff;color:#17375f!important;border-color:#d8ebff;white-space:nowrap}.footer-top .talk:hover{text-decoration:none;background:white}.footer-bottom{justify-content:center}
@media(max-width:950px){.header .menu-toggle{display:block;margin-left:auto;order:0;border:1px solid #cbd9e9;background:white;border-radius:7px;padding:7px 12px}.header nav{position:absolute;top:100%;left:0;right:0;background:white;display:none;flex-direction:column;padding:12px 16px;border-bottom:1px solid #cbd9e9}.header nav.open{display:flex}.footer-top{grid-template-columns:1fr auto}.footer-top .brand{grid-column:1;grid-row:1}.footer-top .talk{grid-column:2;grid-row:1}.footer-top p,.footer-top .footer-contacts{grid-column:1/-1;order:0}}

.portrait img{object-position:50% 35%}@media(max-width:760px){.portrait img{object-position:50% 27%}}

.hero-deck .cover-inner.bf-slide{display:grid;grid-template-columns:1.1fr .9fr;gap:5%;background:transparent;border:none;border-radius:0;padding-bottom:24px}.hero-deck .cover-inner[hidden]{display:none}.hero-deck .bf-slide>.cover-story{padding:0}.hero-deck .hero-line{color:white;font-size:clamp(3.8rem,7.4vw,7.8rem);letter-spacing:-.065em;line-height:.99;font-weight:500;margin:0 0 26px}.hero-line em{color:#acd7ff;font-family:Georgia,serif;font-weight:400}.hero-controls{align-items:center;max-width:1512px;margin:auto;padding:0 5% 22px}.hero-position{margin-left:10px;font-size:13px;letter-spacing:.12em;color:#d8eaff}.hero-controls button{font-weight:600}.insight-grid h2{margin:24px 0 20px;font-size:clamp(1.35rem,2vw,1.85rem);line-height:1.15}.insight-grid .bf-tile{justify-content:space-between}.insight-grid .text-link{margin-top:auto}.insight-grid .eyebrow{margin-bottom:0}.about-facts{display:flex;gap:18px 34px;flex-wrap:wrap;margin:25px 0}.about-facts strong{display:block;font-size:1.3rem}.about-facts span{color:#52667a;font-size:14px}
@media(max-width:760px){.hero-deck .cover-inner.bf-slide{grid-template-columns:1fr;gap:28px}.hero-deck .hero-line{font-size:clamp(3.7rem,13vw,6rem)}}

.hero-dots{display:flex;align-items:center;justify-content:center;gap:0;padding:0 0 12px}.hero-dots[hidden]{display:none}.hero-dots button{display:grid;place-items:center;width:28px;height:32px;border:0;padding:0;background:transparent;border-radius:12px}.hero-dots button::before{content:'';width:9px;height:9px;border-radius:50%;background:white;opacity:.42}.hero-dots button[aria-pressed=true]::before{opacity:1}.hero-dots button:focus-visible{outline:2px solid white;outline-offset:-2px}

.hero-deck.fade-deck{display:grid;grid-template-columns:minmax(0,1fr)}.fade-deck>.cover-inner.bf-slide{grid-area:1/1;width:100%;opacity:0;pointer-events:none;animation:none;transition:opacity 1s ease-in-out}.fade-deck>.cover-inner.on-slide{opacity:1;pointer-events:auto;z-index:1}.fade-deck>.hero-dots{grid-area:2/1}.fade-deck .cover-story,.fade-deck .portrait img{animation:none}.hero-dots button::before{transition:opacity 1s ease-in-out}@media(prefers-reduced-motion:reduce){.fade-deck>.cover-inner.bf-slide,.hero-dots button::before{transition:none}}

/* Hero stagger trial: remove this block to restore the original crossfade. */
@media (prefers-reduced-motion:no-preference){
 .hero-deck.fade-deck>.cover-inner.bf-slide{transition:opacity 0.392s ease-out}
 .hero-deck.fade-deck>.cover-inner.on-slide{transition:opacity 0.812s ease-out}
 .fade-deck .cover-story>:is(.kicker,h1,.hero-line,.lead),.fade-deck .cover-actions>a,.fade-deck figure.portrait{
   opacity:0;transform:translate3d(var(--enter-x,0),var(--enter-y,14px),0);
   transition:opacity 0.35s ease,transform 0.49s ease;
 }
 .fade-deck .cover-story>.kicker{--enter-y:8px;--lag:0.084s}
 .fade-deck .cover-story>:is(h1,.hero-line){--enter-x:-20px;--enter-y:0;--lag:0.168s}
 .fade-deck .cover-story>.lead{--lag:0.308s}
 .fade-deck .cover-actions>a{--lag:0.42s;--enter-y:10px}
 .fade-deck .cover-actions>a+a{--lag:0.532s}
 .fade-deck figure.portrait{--enter-x:26px;--enter-y:0;--lag:0.112s}
 .fade-deck .on-slide .cover-story>:is(.kicker,h1,.hero-line,.lead),.fade-deck .on-slide .cover-actions>a,.fade-deck .on-slide figure.portrait{
   opacity:1;transform:translate3d(0,0,0);transition:transform 0.868s cubic-bezier(.2,.75,.25,1) var(--lag),opacity 0.672s ease-out var(--lag);
 }
}

.header nav a,.header .button,.header .menu-toggle,footer,footer a,footer .button,footer .footer-top a:not(.brand){font-weight:400}

/* Keep calls to action readable alongside WordPress link styles. */
body .header a.button, body main a.button, body main button.button,
body main .cover-actions a.cover-link { color: #fff !important; }
body main .cover-actions a.button { color: #09234c !important; }
