/*
Theme Name: Kgomosotho Attorneys — Institutional Modernism
Description: Bespoke navy institutional design for Kgomosotho Attorneys. Includes fourteen page layouts and the KA Website Manager with native live-preview editing and page artwork controls.
Version: 1.8.0
Requires at least: 6.4
Requires PHP: 7.4
Author: Kgomosotho Attorneys
Text Domain: kgomosotho-attorneys
License: GNU General Public License v2 or later
*/

:root{color-scheme:light;--navy:#020C50;--deep:#0A1A78;--royal:#243DCB;--electric:#405CF5;--ice:#E5EBFF;--lavender:#BEC9FF;--paper:#F5F6F8;--white:#FFFFFF;--ink:#020C50;--quiet:#3D496B;--line:#CFD7E8;--pad:clamp(1.25rem,5.5vw,6rem);--sans:Arial,Helvetica,sans-serif;--serif:Georgia,'Times New Roman',serif}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);background:var(--white);font:16px/1.65 var(--sans)}a{color:inherit;text-decoration:none}a:hover{text-decoration:underline;text-underline-offset:5px}button,summary{font:inherit;cursor:pointer}a:focus-visible,button:focus-visible,summary:focus-visible{outline:3px solid #D68C00;outline-offset:5px}h1,h2,h3,p{margin:0}h1,h2,h3{font-weight:400;line-height:1.04;letter-spacing:-.055em}h2{font-size:clamp(2.7rem,5.7vw,5.6rem)}h3{font-size:clamp(1.7rem,3vw,2.9rem)}p{max-width:70ch}svg{display:block;width:100%;height:auto}.wrap{max-width:1600px;padding-inline:var(--pad);margin:auto}.skip{position:absolute;top:-10rem;left:1rem;background:white;color:var(--navy);padding:1rem;z-index:100}.skip:focus{top:1rem}.micro{font-size:.7rem;font-weight:700;line-height:1.45;letter-spacing:.14em;text-transform:uppercase}.muted{color:var(--quiet)}.site-header{background:var(--navy);color:white;border-bottom:1px solid #ffffff38}.header-inner{min-height:104px;display:flex;justify-content:space-between;align-items:center;gap:2rem}.brand{display:inline-flex;align-items:center;gap:12px;white-space:nowrap;line-height:1.05}.brand-logo{max-width:min(100%,390px)}.brand-logo-full{display:block;width:100%;height:auto;max-width:390px}.footer-brand .brand-icon-image{width:48px;height:48px;object-fit:contain;flex:none}.wordmark{font-weight:700;font-size:clamp(1rem,1.5vw,1.3rem);letter-spacing:-.04em}.wordmark small{display:block;font-weight:400;font-size:.63rem;letter-spacing:.3em;margin-top:6px}.nav{display:flex;gap:clamp(1rem,2.2vw,2.2rem);align-items:center;font-size:.85rem}.nav a.ka-nav-contact{background:var(--lavender);color:var(--navy);padding:.65rem 1.1rem;font-weight:700}.menu-toggle{display:none;background:transparent;color:inherit;border:1px solid currentColor;padding:.5rem .8rem}
.hero{background:var(--navy);color:white;overflow:hidden}.hero .wrap{position:relative;padding-top:clamp(2.5rem,6vw,6rem);padding-bottom:clamp(2.3rem,4.5vw,4.5rem)}.hero-kicker{color:var(--lavender);display:flex;align-items:center;gap:.8rem;margin-bottom:clamp(2rem,4vw,4rem)}.hero-kicker:before{content:'';width:32px;height:3px;background:var(--lavender)}.hero-top{display:grid;grid-template-columns:1.2fr .95fr;gap:clamp(1rem,3vw,3rem);align-items:center}.hero h1{font-size:clamp(4rem,8.1vw,8.9rem);line-height:.93;letter-spacing:-.075em;font-weight:400;position:relative;z-index:1}.hero h1 em{font-family:var(--serif);font-weight:400;color:var(--lavender);letter-spacing:-.07em}.hero-art{width:100%;align-self:center;justify-self:end;max-width:590px}.hero-bottom{display:grid;grid-template-columns:1.2fr .95fr;gap:clamp(1rem,3vw,3rem);margin-top:clamp(2rem,4vw,4rem);border-top:1px solid #ffffff45;padding-top:1.6rem}.hero-bottom p{font-size:clamp(1rem,1.5vw,1.25rem);max-width:55ch;color:#E5EBFF}.hero-links{display:grid;gap:.35rem;align-content:start}.line-link{display:flex;justify-content:space-between;gap:1rem;align-items:center;padding:.65rem 0;border-bottom:1px solid currentColor;font-size:.9rem;overflow-wrap:anywhere}.hero-links .line-link{border-color:#ffffff45;max-width:100%;font-weight:700}.line-link span{font-size:1.2rem}.strip{background:var(--royal);color:white}.strip .wrap{display:grid;grid-template-columns:repeat(4,1fr);gap:1rem;padding-block:1rem}.strip span{border-left:1px solid #ffffff70;padding-left:1rem}.section{padding-block:clamp(3.5rem,7vw,7rem);scroll-margin-top:1rem}.section-head{display:grid;grid-template-columns:1.2fr .8fr;gap:2rem;align-items:end;margin-bottom:clamp(2rem,4vw,3.8rem)}.section-head .micro{margin-bottom:1.15rem}.section-head p{color:var(--quiet);font-size:1.05rem}.practice-grid{display:grid;grid-template-columns:1fr 1fr;gap:0;border:1px solid var(--navy);align-items:stretch}.practice{position:relative;overflow:hidden;padding:clamp(1.5rem,3.3vw,3.4rem);display:flex;flex-direction:column;min-height:310px;scroll-margin-top:1rem}.practice:nth-child(1){background:var(--navy);color:white}.practice:nth-child(2){background:var(--royal);color:white}.practice:nth-child(3){background:var(--ice);color:var(--navy)}.practice:nth-child(4){background:var(--lavender);color:var(--navy)}.practice-index{font-size:.8rem;font-weight:700;letter-spacing:.1em;margin-bottom:2.1rem;display:flex;align-items:center;gap:.8rem}.practice-index:after{content:'';width:35px;height:1px;background:currentColor}.practice-index span{display:none}.practice h3{max-width:18ch;margin-bottom:1rem;position:relative;z-index:1}.practice-lead{max-width:58ch;font-size:1rem;position:relative;z-index:1}.practice-body{flex:1}.practice-arrow{display:none}.practice:before{content:'';position:absolute;right:-90px;top:-100px;width:225px;height:225px;border:1px solid currentColor;border-radius:50%;opacity:.17;pointer-events:none}.practice:after{content:'';position:absolute;right:-55px;top:-65px;width:150px;height:150px;border:1px solid currentColor;transform:rotate(45deg);opacity:.15;pointer-events:none}details{margin-top:1.15rem;position:relative;z-index:1}summary{list-style:none;display:inline-flex;align-items:center;gap:.8rem;font-weight:700;font-size:.8rem;border-bottom:1px solid currentColor;padding-bottom:.25rem}summary::-webkit-details-marker{display:none}summary span{font-size:1.2rem;font-weight:400;line-height:1}details[open] summary span{transform:rotate(45deg)}.detail-content{padding-top:1rem;max-width:70ch;font-size:.94rem}.detail-content ul{padding-left:1.1rem;margin-bottom:0}.detail-content li{padding:.15rem 0}
.firm-section{background:var(--deep);color:white;position:relative;overflow:hidden}.firm-grid{display:grid;grid-template-columns:1fr 1fr;gap:clamp(2rem,7vw,8rem)}.firm-grid .micro{color:var(--lavender);margin-bottom:1rem}.firm-grid h2{max-width:10ch}.firm-grid h2 em{font-family:var(--serif);color:var(--lavender);font-weight:400}.firm-copy p+p{margin-top:1.2rem}.firm-copy>p{color:#E5EBFF}.firm-graphic{max-width:350px;margin-top:2.5rem}.principles{margin-top:2rem;border-top:1px solid #ffffff45}.principle{display:grid;grid-template-columns:2rem 1fr;gap:.8rem;padding:1rem 0;border-bottom:1px solid #ffffff45}.principle .micro{margin:0}.principle strong{display:block;font-size:1.05rem}.principle p{color:#E5EBFF;font-size:.95rem}.profile{display:grid;grid-template-columns:.85fr 1.15fr;gap:clamp(2rem,6vw,7rem);align-items:center}.profile-symbol{background:var(--royal);color:white;padding:clamp(1.5rem,3vw,3rem);aspect-ratio:1/1;display:flex;flex-direction:column;justify-content:space-between;max-width:520px;position:relative;overflow:hidden}.profile-symbol:before{content:'';position:absolute;right:-15%;top:15%;width:85%;height:85%;border:1px solid var(--lavender);border-radius:50%;opacity:.6}.profile-symbol:after{content:'';position:absolute;right:-7%;top:22%;width:65%;height:65%;border:1px solid var(--lavender);transform:rotate(45deg);opacity:.6}.profile-symbol>*{position:relative;z-index:1}.profile-symbol .initials{font-family:var(--serif);font-size:clamp(5rem,11vw,11rem);letter-spacing:-.1em;line-height:.9}.profile-copy .micro{margin-bottom:1rem}.profile-copy h2{font-size:clamp(2.7rem,4.8vw,5rem);margin-bottom:1.25rem}.profile-copy p+p{margin-top:1rem}.credentials{border-top:1px solid var(--line);margin-top:1.5rem;padding-top:1rem;display:grid;gap:.5rem;font-size:.9rem}.insights-outer{background:var(--ice)}.insights{border:0}.insight-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:clamp(1.3rem,2.5vw,2.5rem)}.insight{border-top:0;padding-top:0}.insight-graphic{aspect-ratio:2/1;background:var(--navy);color:var(--lavender);margin-bottom:1.25rem;position:relative;overflow:hidden;display:flex;align-items:center;justify-content:center}.insight:nth-child(2) .insight-graphic{background:var(--royal);color:white}.insight:nth-child(3) .insight-graphic{background:var(--lavender);color:var(--navy)}.insight-graphic svg{height:100%;width:100%}.insight .micro{color:var(--quiet);margin-bottom:.85rem}.insight h3{font-size:clamp(1.65rem,2.5vw,2.5rem);margin-bottom:.8rem}.insight p{color:var(--quiet);font-size:.95rem}.contact{background:var(--royal);color:white}.contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:clamp(2rem,5vw,5rem)}.contact h2{margin-top:1rem;max-width:10ch}.contact p+p{margin-top:1rem}.contact .line-link{border-color:#ffffff70;max-width:none}.contact .contact-data{margin-top:1.3rem}.contact .notice{font-size:.8rem;color:#E5EBFF;margin-top:1.3rem}.footer{background:var(--navy);color:white;padding:2.5rem 0}.footer-top{display:flex;justify-content:space-between;align-items:center;gap:2rem;padding-bottom:1.4rem;border-bottom:1px solid #ffffff45}.footer .muted,.footer-bottom{color:var(--lavender)}.footer-bottom{display:flex;justify-content:space-between;gap:1rem;flex-wrap:wrap;padding-top:1rem;font-size:.75rem}.footer details p{font-size:.85rem;margin-top:1rem;color:#E5EBFF}
@media(max-width:850px){.header-inner{min-height:76px;flex-wrap:wrap;gap:0;padding-block:1rem}.brand-logo{max-width:250px}.nav{display:flex;flex-wrap:wrap;gap:1rem;width:100%;margin-top:1rem}.js .menu-toggle{display:block}.js .nav{display:none}.js .nav[data-open=true]{display:flex}.hero-top,.hero-bottom,.section-head,.firm-grid,.profile,.contact-grid{grid-template-columns:1fr}.hero h1{font-size:clamp(3.6rem,10.7vw,6.8rem)}.hero-art{max-width:420px;justify-self:start}.hero-top{gap:1.5rem}.hero-bottom{gap:1rem}.section-head{gap:1rem}.practice-grid{grid-template-columns:1fr}.practice{min-height:0;padding:1.7rem}.practice-index{margin-bottom:1.4rem}.strip .wrap{grid-template-columns:1fr 1fr;gap:.7rem}.profile-symbol{max-width:320px}.insight-grid{grid-template-columns:1fr;gap:2.5rem}.insight-graphic{max-width:500px}.footer-top{flex-direction:column;align-items:start}.firm-graphic{max-width:250px}.firm-grid{gap:2rem}}
@media(max-width:370px){.brand-mark{width:30px}.wordmark{font-size:.9rem}.hero h1{font-size:3.35rem}.micro{letter-spacing:.1em}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}

/* Multi-page institutional extension */
.nav a[aria-current=page]{text-decoration:underline;text-underline-offset:7px}.read-more{display:flex;justify-content:flex-start;align-items:center;gap:1rem;font-size:.86rem;font-weight:700;padding:.85rem 0 0;margin-top:1.45rem;border-top:1px solid currentColor;position:relative;z-index:1}.read-more span{display:none}.practice{min-height:340px}.practice h3{max-width:20ch}.profile-photo{margin:0;background:linear-gradient(180deg,#24408e 0%,#dfe8f6 100%);position:relative;overflow:hidden;max-width:620px;aspect-ratio:11/14;padding:clamp(.65rem,1.2vw,1rem)}.profile-photo img{display:block;width:100%;height:100%;object-fit:contain;object-position:50% 0%;position:absolute;inset:0;padding:clamp(.65rem,1.2vw,1rem) clamp(.65rem,1.6vw,1rem) 0}.portrait-fallback{position:absolute;inset:0;display:grid;place-content:center;text-align:center;color:white;background:var(--royal);padding:1.5rem}.portrait-fallback strong{font:clamp(4rem,9vw,8rem)/1 var(--serif)}.profile-photo figcaption{position:absolute;bottom:0;left:0;right:0;background:var(--navy);color:white;padding:.85rem 1rem;font-size:.78rem}.profile-copy .read-more{max-width:26rem}.page-hero{background:var(--navy);color:white;overflow:hidden;padding-block:clamp(2.7rem,6vw,6rem)}.page-hero.royal{background:var(--royal)}.page-hero.ice{background:var(--ice);color:var(--navy)}.page-hero.lavender{background:var(--lavender);color:var(--navy)}.page-hero.deep{background:var(--deep)}.page-hero .crumb{display:flex;gap:.65rem;flex-wrap:wrap;margin-bottom:clamp(2rem,4vw,4rem);font-size:.78rem}.crumb a{text-decoration:underline;text-underline-offset:3px}.page-hero-grid{display:grid;grid-template-columns:1.35fr .65fr;gap:clamp(2rem,6vw,7rem);align-items:center}.page-hero h1{font-size:clamp(3.25rem,6.5vw,7rem);line-height:.98;max-width:14ch}.page-hero .micro{margin-bottom:1.3rem}.page-hero .page-deck{margin-top:1.6rem;font-size:clamp(1.1rem,1.7vw,1.42rem);max-width:49ch}.page-art{max-width:460px;justify-self:end}.editorial-grid{display:grid;grid-template-columns:.75fr 1.25fr;gap:clamp(2rem,6vw,7rem)}.editorial-grid h2{font-size:clamp(2.25rem,4.8vw,4.5rem);max-width:13ch}.editorial-grid .micro{margin-bottom:1rem}.editorial-copy>p+p{margin-top:1rem}.editorial-copy>p{font-size:1.1rem}.service-rows{border-top:1px solid var(--line)}.service-row{display:grid;grid-template-columns:2.5rem 1fr;gap:1rem;border-bottom:1px solid var(--line);padding:1.5rem 0}.service-row h3{font-size:clamp(1.35rem,2.3vw,2rem);letter-spacing:-.04em;margin-bottom:.6rem}.service-row p{color:var(--quiet)}.matter-band{background:var(--ice)}.matter-list{list-style:none;margin:0;padding:0;border-top:1px solid var(--navy)}.matter-list li{padding:1rem 0;border-bottom:1px solid var(--navy);display:flex;gap:1rem}.matter-list li:before{content:'↗';font-size:1.2rem}.next-band{background:var(--royal);color:white;padding-block:clamp(2rem,5vw,4rem)}.next-band .wrap{display:grid;grid-template-columns:1fr 1fr;gap:2rem;align-items:end}.next-band h2{font-size:clamp(2rem,4vw,4rem)}.next-band a{font-weight:700}.related{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem}.related a{border-top:1px solid var(--navy);padding-top:1rem;font-size:1.1rem;font-weight:700}.article-body{max-width:760px;margin:auto}.article-body h2{font-size:clamp(1.6rem,3vw,2.6rem);margin:2rem 0 .75rem}.article-body p+p{margin-top:1rem}.article-body p{font-size:1.12rem;line-height:1.8}.footer-links{display:flex;flex-wrap:wrap;gap:1rem;margin-top:1rem;font-size:.85rem}.contact-data a{overflow-wrap:anywhere}.brand-icon-image{display:block}.page-hero h1,.practice h3,.profile-copy h2{overflow-wrap:break-word}.page-art svg{max-width:100%}.contact-steps{margin-top:1.2rem}.contact-steps li{margin:.5rem 0}.contact .micro{color:white}.notice-panel{padding:1.2rem;border:1px solid var(--line);margin-top:1.4rem;color:var(--quiet);font-size:.9rem}.article-body .micro{color:var(--quiet)}.home-extra{margin-top:1rem}.footer a:hover,.practice a:hover{text-decoration:underline}@media(max-width:850px){.page-hero-grid,.editorial-grid,.next-band .wrap{grid-template-columns:1fr}.page-art{justify-self:start;max-width:300px}.related{grid-template-columns:1fr}.profile-photo{max-width:100%;width:min(100%,460px)}.practice{min-height:0}.page-hero h1{font-size:clamp(2.75rem,9.5vw,5rem)}.service-row{grid-template-columns:1.7rem 1fr;gap:.65rem}.page-hero .page-deck{max-width:55ch}}
/* WordPress integration and responsive containment */
body.ka-site{margin:0;max-width:none;overflow-wrap:break-word} .ka-site main{display:block;min-width:0} .ka-site .wrap{width:100%;min-width:0} .ka-site :is(.hero-top,.hero-bottom,.page-hero-grid,.editorial-grid,.firm-grid,.profile,.contact-grid,.section-head,.next-band .wrap)>*{min-width:0} .ka-site img{max-width:100%} .ka-site .brand{flex-shrink:0} .ka-site .profile-photo img[hidden]{display:none} .ka-site .page-hero h1{overflow-wrap:anywhere} .ka-site .practice h3{overflow-wrap:break-word} .ka-site .generic-content{max-width:850px;margin-inline:auto;padding-block:clamp(2rem,6vw,6rem)} .ka-site .generic-content h1{font-size:clamp(2.7rem,6vw,5rem);margin-bottom:1.5rem} .ka-site .generic-content h2{font-size:clamp(1.8rem,4vw,3rem);margin-block:1.5rem .7rem} .ka-site .generic-content p{margin-block:.9rem} .ka-site .generic-content a{text-decoration:underline} .ka-site .generic-content img{height:auto} .ka-site .generic-content figure{max-width:100%} .ka-site .generic-content .wp-block-image img{max-width:100%} .ka-site .generic-content .wp-block-button__link{background:var(--navy);color:white} .ka-site .generic-content ul,.ka-site .generic-content ol{padding-left:1.4rem} .ka-site .generic-content .post-list{display:grid;gap:1.5rem} .ka-site .generic-content .post-list article{border-bottom:1px solid var(--line);padding-bottom:1.2rem} .ka-site .generic-content .post-list h2{margin:0 0 .5rem} .ka-site .nav a[aria-current=page]{text-decoration:underline;text-underline-offset:7px} @media(max-width:850px){.ka-site .nav{align-items:flex-start}.ka-site .nav a{min-height:44px;display:flex;align-items:center}.ka-site .hero h1{overflow-wrap:anywhere}} @media(max-width:370px){.ka-site .hero h1{font-size:clamp(2.65rem,15vw,3.35rem)}.ka-site .page-hero h1{font-size:2.5rem}}

/* 1.1 — metallic-blue material accents. Navy remains the institutional foundation. */
:root{--metal-deep:#284F98;--metal:#5C88BF;--metal-light:#BBD8F4;--metal-silver:#E1EBF7;--metal-sheen:linear-gradient(116deg,#193C85 0%,#5987C7 38%,#BBD8F4 53%,#719ACC 68%,#284F98 100%)}
.hero h1 em{color:var(--metal-light)}
.hero-kicker:before{background:var(--metal-sheen)}
.hero-art{border:1px solid #9CBDE04D;box-shadow:0 0 0 1px #020C50 inset}
.strip{background:linear-gradient(110deg,#0A1A78,#224887 52%,#0A1A78)}
.practice#technology{position:relative;background:linear-gradient(130deg,#18329D 0%,#243DCB 65%,#213E83 100%)}
.practice#technology:before{content:'';position:absolute;inset:0 0 auto;height:5px;background:var(--metal-sheen);pointer-events:none}
.page-hero.royal{background:linear-gradient(115deg,#142578 0%,#243DCB 75%,#224987 100%)}
.page-hero.royal .page-art{border:1px solid #A8C9F0}
.brand-mark{color:#BBD8F4}
.nav a.ka-nav-contact{background:#BBD8F4;color:#020C50}
.firm-graphic{border-top:3px solid #759BCD}

/* Final edition: natural portrait proportions, caption outside image, stable brand sizing. */
.ka-site .profile{grid-template-columns: minmax(0,1fr) minmax(0,1.08fr);align-items:start;gap:clamp(2rem,5vw,6rem)}
.ka-site .profile-photo{width:100%;max-width:650px;aspect-ratio:auto;padding:0;min-height:0;background:#e1ebf7;display:flex;flex-direction:column;position:relative}
.ka-site .profile-photo img{position:relative;inset:auto;width:100%;height:auto;object-fit:contain;object-position:center top;padding:0;aspect-ratio:1706/2560;z-index:1}
.ka-site .profile-photo img[hidden]{display:none}.ka-site .portrait-fallback{position:relative;aspect-ratio:1706/2560;display:none}.ka-site .profile-photo:has(img[hidden]) .portrait-fallback{display:grid}
.ka-site .profile-photo figcaption{position:relative;inset:auto;z-index:2}.ka-site .brand-logo{width:clamp(210px,25vw,320px);max-width:100%;flex-shrink:1}.ka-site .brand-logo-full{width:100%;max-height:78px;object-fit:contain;object-position:left center}.ka-site [hidden]{display:none!important}
.ka-site .practice#technology{background:linear-gradient(130deg,#142578,#243DCB 65%,#213E83);color:white}.ka-site .practice#commercial{background:var(--navy);color:white}.ka-site .practice#public{background:var(--ice);color:var(--navy)}.ka-site .practice#disputes{background:var(--lavender);color:var(--navy)}
.ka-site .matter-list li:before{content:'';width:7px;height:7px;background:currentColor;flex:none;margin-top:.65em}.ka-site .service-row p{max-width:76ch;line-height:1.75}.ka-site .hero h1{font-size:clamp(3.9rem,7.1vw,7.7rem)}
@media(max-width:850px){.ka-site .profile{grid-template-columns:1fr}.ka-site .profile-photo{width:min(100%,520px)}.ka-site .brand-logo{width:min(65%,260px)}.ka-site .hero h1{font-size:clamp(3.1rem,9.6vw,6rem)}}
@media(max-width:370px){.ka-site .hero h1{font-size:clamp(2.75rem,9vw,3.2rem)}}

/* 1.4 — supplied brand artwork, proportionate portraits, future-facing masthead. */
.ka-site .brand-logo,.ka-site .footer-brand{background:transparent;color:white;padding:0;width:clamp(250px,34vw,520px);max-width:100%;flex-shrink:1;line-height:1.05}
.ka-site .brand-logo-full{display:block;width:100%;height:auto;max-height:86px;object-fit:contain;object-position:left center}
.ka-site .brand-logo:hover,.ka-site .footer-brand:hover{text-decoration:none}
.ka-site .profile{grid-template-columns:minmax(0,.72fr) minmax(0,1.28fr);align-items:start;gap:clamp(2rem,5vw,5rem)}
.ka-site .profile-photo{width:100%;max-width:370px;justify-self:start}
.ka-site .profile-photo img{height:auto;aspect-ratio:auto;object-fit:contain}
.ka-site .hero h1{font-size:clamp(3.1rem,5.6vw,6rem);line-height:.99;letter-spacing:-.06em;overflow-wrap:normal;text-wrap:balance}
.ka-site .hero h1 em{letter-spacing:-.055em}
.hero-title .hero-byline{font-size:clamp(1.2rem,2vw,1.65rem);line-height:1.3;color:var(--metal-light);font-weight:700;margin-top:1.4rem;max-width:37ch}
@media(max-width:850px){.ka-site .brand-logo,.ka-site .footer-brand{width:min(82%,320px);padding:0}.ka-site .profile{grid-template-columns:1fr}.ka-site .profile-photo{width:min(100%,300px)}.ka-site .hero h1{font-size:clamp(2.9rem,8vw,5.4rem)}}
@media(max-width:370px){.ka-site .hero h1{font-size:2.6rem}.ka-site .brand-logo{width:min(85%,240px)}}

/* 1.6: Logo is supplied on opaque navy. Lighten blends the near-black navy
   pixels into the existing institutional navy without changing the artwork. */
body.ka-site .site-header a.brand-logo, body.ka-site .footer a.footer-brand,
body.ka-site .site-header img.brand-logo-full, body.ka-site .footer img.brand-logo-full {
  background: transparent !important; padding: 0 !important;
  border: 0 !important; border-radius: 0 !important; box-shadow: none !important;
}
body.ka-site .site-header img.brand-logo-full, body.ka-site .footer img.brand-logo-full {
  mix-blend-mode: lighten !important;
}
body.ka-site .site-header, body.ka-site .footer { isolation: isolate; }

/* 1.7: editable sections and client segmentation, using the approved visual language. */
.ka-managed-section[data-space="compact"] > :is(.section,.page-hero,.hero,.next-band),.ka-managed-section[data-space="compact"] > .insights-outer > .section{padding-block:clamp(1.8rem,3.5vw,3.5rem)}
.ka-managed-section[data-space="generous"] > :is(.section,.page-hero,.next-band),.ka-managed-section[data-space="generous"] > .insights-outer > .section{padding-block:clamp(4rem,9vw,9rem)}
.ka-managed-section[data-space="compact"] > .hero > .wrap{padding-block:clamp(1.6rem,3.5vw,3.5rem)}
.ka-managed-section[data-space="generous"] > .hero > .wrap{padding-block:clamp(4rem,9vw,9rem)}
.ka-managed-section[data-space="compact"] > .strip > .wrap{padding-block:.6rem}.ka-managed-section[data-space="generous"] > .strip > .wrap{padding-block:1.6rem}
.ka-audience-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;border:1px solid var(--line)}
.ka-audience-grid article{display:flex;flex-direction:column;min-width:0;padding:clamp(1.25rem,2.8vw,2.8rem);border-right:1px solid var(--line);border-top:4px solid var(--royal);background:var(--paper)}
.ka-audience-grid article:nth-child(3n){border-right:0}.ka-audience-grid article:nth-child(3n+2){border-top-color:var(--metal-light)}.ka-audience-grid article:nth-child(3n+3){border-top-color:var(--navy)}
.ka-audience-grid h3{font-size:clamp(1.5rem,2.6vw,2.45rem);margin:1rem 0;overflow-wrap:break-word}.ka-audience-grid article>p:not(.micro){color:var(--quiet);margin-bottom:1rem}.ka-audience-grid article .read-more{margin-top:auto;padding-top:1rem}
.ka-site .brand-logo,.ka-site .footer-brand{max-width:var(--ka-logo-width,100%)}
@media(min-width:851px){.ka-site .profile-photo{width:min(100%,var(--ka-portrait-width,370px));max-width:var(--ka-portrait-width,370px)}.ka-site .brand-logo,.ka-site .footer-brand{width:min(clamp(250px,34vw,520px),var(--ka-logo-width,520px))}}
@media(max-width:850px){.ka-audience-grid{grid-template-columns:1fr}.ka-audience-grid article{border-right:0}.ka-site .profile-photo{max-width:min(100%,300px)}}

@media(min-width:851px){.ka-site .brand-logo-full{max-height:var(--ka-logo-height,86px)}}

/* 1.8 — Optional Media Library artwork; the default SVG layouts are untouched. */
.ka-site .ka-custom-art{position:relative;display:block;overflow:hidden;width:var(--ka-art-width,100%);aspect-ratio:var(--ka-art-ratio,1 / 1);min-width:0;isolation:isolate}
.ka-site .ka-custom-art img{display:block;width:100%;height:100%;object-fit:var(--ka-art-fit,cover);object-position:var(--ka-art-position,center)}
.ka-site .ka-custom-art::after{content:'';position:absolute;inset:0;background:var(--navy);opacity:var(--ka-art-overlay,0);pointer-events:none}
.ka-site .ka-custom-art.ka-art-natural{aspect-ratio:auto}.ka-site .ka-custom-art.ka-art-natural img{height:auto}
.ka-site .ka-art-fallback:not([hidden]){display:contents}
.ka-site .hero,.ka-site .page-hero,.ka-site .ka-page-backdrop{position:relative;isolation:isolate}
.ka-site .ka-background-layer{position:absolute;inset:0;overflow:hidden;pointer-events:none;z-index:-1;opacity:var(--ka-bg-opacity,.3)}
.ka-site .ka-background-layer img{width:100%;height:100%;display:block;object-fit:var(--ka-bg-fit,cover);object-position:var(--ka-bg-position,center)}
.ka-site .ka-page-backdrop{background:var(--white)}
.ka-site .ka-post-card-image{display:block;margin-bottom:1rem;aspect-ratio:16 / 9;overflow:hidden}.ka-site .ka-post-card-image img{display:block;width:100%;height:100%;object-fit:cover}
.ka-site .ka-post-featured-image{display:block;width:100%;height:auto;margin:0 0 2rem}
