.kp-acf-hero{position:relative;min-height:620px;display:flex;align-items:flex-end;overflow:hidden;border-radius:20px;background:#191918;color:#fff;padding:clamp(28px,6vw,90px)}.kp-acf-hero-media,.kp-acf-hero-media:after{position:absolute;inset:0}.kp-acf-hero-media:after{content:'';background:linear-gradient(90deg,rgba(10,10,10,.86),rgba(10,10,10,.25))}.kp-acf-hero-media img{width:100%;height:100%;object-fit:cover}.kp-acf-hero-content{position:relative;z-index:1;max-width:820px}.kp-acf-hero h1{color:#fff;font-size:clamp(36px,5.5vw,76px);line-height:1.06;margin:18px 0}.kp-acf-hero p{max-width:640px;font-size:clamp(17px,2vw,22px);color:#e6e1d9}.kp-section.kp-acf-section{margin-block:clamp(40px,4vw,64px);padding:0}.kp-acf-section h2{font-size:clamp(30px,4vw,54px);line-height:1.12;margin:16px 0 32px}.kp-acf-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.kp-acf-card{background:#242321;border:1px solid #4b463d;border-radius:14px;padding:clamp(22px,3vw,36px);color:#eee8dc}.kp-acf-card h3{font-size:24px;color:#fff;margin:0 0 14px}.kp-acf-card p{color:#c7c2b8;line-height:1.7}.kp-acf-prose{max-width:920px;font-size:18px;line-height:1.85}.kp-acf-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.kp-acf-gallery figure{margin:0;aspect-ratio:4/3;overflow:hidden;border-radius:12px}.kp-acf-gallery img{width:100%;height:100%;object-fit:cover}.kp-acf-link{display:flex;align-items:center;justify-content:space-between;text-decoration:none;font-size:21px}.kp-acf-link:hover{border-color:#c6a77c;color:#fff}@media(max-width:800px){.kp-acf-hero{min-height:520px;padding:32px 22px}.kp-acf-grid,.kp-acf-gallery{grid-template-columns:1fr}.kp-section.kp-acf-section{margin-block:32px;padding:0}}
/* Keep portfolio controls in the site's gold palette, including Astra hover/focus states. */
body.kp-site .kp-filters button.kp-filter:hover,body.kp-site .kp-filters button.kp-filter:focus,body.kp-site .kp-filters button.kp-filter:active,body.kp-site .kp-filters button.kp-filter[aria-pressed="true"]{background:linear-gradient(110deg,#eed09c,#d5a85f);border-color:#efce98;color:#17130c;box-shadow:none}
body.kp-site .kp-filters button.kp-filter:focus-visible{outline:2px solid #dfb977;outline-offset:4px}

/* Portfolio photo viewer. */
body.kp-site .kp-photo-open{position:relative;display:block;width:100%;padding:0;margin:0 0 20px;border:0;border-radius:10px;overflow:hidden;background:#151411;color:#f8efd9;cursor:zoom-in;text-align:left}
.kp-photo-open>img{display:block;width:100%;aspect-ratio:4/3;object-fit:cover;transition:transform .35s}
.kp-photo-open:hover>img{transform:scale(1.035)}
.kp-photo-open>span{position:absolute;right:12px;bottom:12px;padding:8px 13px;background:#13120fe8;border:1px solid #dfb97780;border-radius:30px;font-size:12px;color:#f2d29e}
.kp-acf-gallery .kp-photo-open{height:100%;margin:0}
.kp-acf-gallery .kp-photo-open>img{height:100%}
body.kp-site .kp-photo-dialog{position:fixed;inset:0;width:min(1200px,calc(100vw - 48px));max-width:none;height:min(900px,calc(100dvh - 48px));max-height:none;margin:auto;padding:0;border:1px solid #807052;border-radius:20px;background:#11110f;color:#f5f1e8;box-shadow:0 24px 100px #0009;overflow:hidden}
.kp-photo-dialog::backdrop{background:rgba(0,0,0,.88);backdrop-filter:blur(10px)}
.kp-photo-shell{height:100%;display:grid;grid-template-rows:auto minmax(0,1fr) auto}
.kp-photo-header{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:20px 26px;border-bottom:1px solid #353126}
.kp-photo-kicker{color:#dfb977;font-size:10px;letter-spacing:.22em}
.kp-site .kp-photo-header h2{font-size:clamp(17px,2vw,24px);line-height:1.3;margin:5px 0 0;font-family:inherit}
.kp-photo-stage{position:relative;min-height:0;display:flex;align-items:center;justify-content:center;padding:16px 66px;background:#080807}
.kp-photo-main{display:block;width:100%;height:100%;object-fit:contain}
body.kp-site .kp-photo-dialog button{display:flex;align-items:center;justify-content:center;padding:0;border:1px solid #64573f;background:#242119;color:#f0d2a1;box-shadow:none;cursor:pointer}
body.kp-site .kp-photo-dialog button:hover,body.kp-site .kp-photo-dialog button:focus-visible{background:#dfb977;color:#17130c;border-color:#efce98}
body.kp-site .kp-photo-dialog button:focus-visible,body.kp-site .kp-photo-open:focus-visible{outline:2px solid #dfb977;outline-offset:3px}
.kp-photo-close{width:42px;height:42px;border-radius:50%;font-size:30px;flex-shrink:0}
.kp-photo-prev,.kp-photo-next{position:absolute;top:calc(50% - 24px);width:44px;height:48px;border-radius:12px;font-size:36px;z-index:1}
.kp-photo-prev{left:12px}.kp-photo-next{right:12px}
.kp-photo-footer{padding:12px 24px 16px;border-top:1px solid #353126;text-align:center}
.kp-site .kp-photo-counter{font-size:13px;color:#dfb977;margin:0 0 10px;font-variant-numeric:tabular-nums}
.kp-photo-thumbs{display:flex;gap:8px;max-width:100%;width:max-content;margin:auto;overflow-x:auto;padding:4px;scrollbar-width:thin}
body.kp-site .kp-photo-thumbs button{flex:0 0 68px;height:48px;border:2px solid transparent;border-radius:7px;overflow:hidden;opacity:.5}
body.kp-site .kp-photo-thumbs button[aria-pressed=true]{border-color:#dfb977;opacity:1}
.kp-photo-thumbs img{width:100%;height:100%;object-fit:cover}
.kp-photo-hint{font-size:10px;color:#9e9788;display:block;margin-top:8px}
@media(max-width:600px){body.kp-site .kp-photo-dialog{width:100vw;height:100dvh;border:0;border-radius:0}.kp-photo-header{padding:16px;gap:12px}.kp-photo-stage{padding:8px}.kp-photo-prev,.kp-photo-next{width:36px;height:42px;background:#17140edb!important}.kp-photo-prev{left:8px}.kp-photo-next{right:8px}.kp-photo-footer{padding:10px 12px max(16px,env(safe-area-inset-bottom))}.kp-photo-hint{display:none}.kp-photo-thumbs button{flex-basis:58px}}
@media(prefers-reduced-motion:reduce){.kp-photo-open>img{transition:none}}

/* KP 2026-10-14: mobile hero banners without destructive landscape cropping. */
@media(max-width:800px){
 body.kp-site .kp-acf-hero{display:flex;flex-direction:column;align-items:stretch;min-height:0;height:auto;padding:0;overflow:hidden;border-radius:16px;background:#191918}
 body.kp-site .kp-acf-hero-media{display:block;position:relative;inset:auto;flex:0 0 auto;width:100%;height:auto;min-height:0;aspect-ratio:16/9;overflow:hidden;background:#252320}
 body.kp-site .kp-acf-hero-media:after{content:'';position:absolute;inset:0;pointer-events:none;background:linear-gradient(0deg,rgba(10,10,10,.08),transparent 60%)}
 body.kp-site .kp-acf-hero-media img{position:absolute;inset:0;display:block;width:100%;height:100%;max-width:none;object-fit:cover;object-position:50% 50%;filter:none}
 body.kp-site .kp-acf-hero-content{display:flex;flex-direction:column;align-items:flex-start;width:100%;max-width:none;padding:clamp(22px,4vw,36px);background:#191918}
 body.kp-site .kp-acf-hero .kp-eyebrow{margin:0 0 12px;font-size:10px;line-height:1.4}
 body.kp-site .kp-acf-hero h1{font-size:clamp(31px,5.2vw,43px);line-height:1.13;letter-spacing:-.025em;overflow-wrap:break-word;hyphens:auto;margin:0 0 14px}
 body.kp-site .kp-acf-hero p{font-size:clamp(14px,2.3vw,17px);line-height:1.6;max-width:100%;margin:0 0 22px}
 body.kp-site .kp-acf-hero .kp-button{align-self:flex-start;max-width:100%;min-height:50px;padding:12px 22px;white-space:normal;text-align:center}
}
@media(max-width:480px){
 body.kp-site .kp-acf-hero .kp-button{display:flex;width:100%;gap:12px;justify-content:center}
 body.kp-site .kp-acf-hero .kp-button svg{width:19px;flex-shrink:0}
}
