/*
Theme Name: Kęsto Durys Atelier
Author: Kęsto Durys
Description: Minimalistinė keturių puslapių WordPress tema individualių durų gamintojui.
Version: 1.10.0
Requires PHP: 7.4
Text Domain: kesto-durys
*/
:root{--ink:#342519;--brown:#684124;--paper:#fbfaf8;--sand:#f1e9e0;--line:#e4d9cf}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--ink);font-family:Arial,'Helvetica Neue',sans-serif;font-weight:300;line-height:1.6}a{color:inherit;text-decoration:none}img{max-width:100%;height:auto}button,input,textarea{font:inherit}button{cursor:pointer}.wrap{width:min(1360px,90%);margin:auto}.site-header{background:#fff;position:relative;z-index:3;border-bottom:1px solid #eee}.header-inner{display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:90px}.brand{display:flex;align-items:center;gap:14px;flex-shrink:0}.brand-mark{width:39px;height:52px}.brand-text{font-size:28px;letter-spacing:.15em;line-height:1}.brand-text small{display:block;font-size:10px;letter-spacing:.5em;text-align:center;margin-top:8px}.nav{display:flex;gap:34px;align-items:center}.nav a{font-size:14px;padding:12px 0}.nav a[aria-current=page],.nav a:hover{border-bottom:1px solid var(--brown)}.button{display:inline-block;background:var(--brown);color:white;border:1px solid var(--brown);border-radius:3px;padding:13px 24px;font-size:14px;transition:.2s}.button:hover{background:#422915}.button-outline{background:transparent;color:var(--brown)}.menu-toggle{display:none;background:transparent;border:0;font-size:24px}.hero{min-height:560px;background:linear-gradient(90deg,rgba(248,244,239,.96) 0%,rgba(248,244,239,.84) 45%,rgba(248,244,239,.15) 75%),linear-gradient(125deg,#e4d2bd,#a77c54);display:flex;align-items:center;position:relative}.hero.has-image{background-size:cover;background-position:center}.hero-content{padding:95px 0;max-width:680px}.eyebrow{font-size:12px;letter-spacing:.28em;font-weight:600;text-transform:uppercase;color:var(--brown)}h1,h2,h3,p{margin-top:0}h1{font-size:clamp(38px,5vw,70px);font-weight:300;line-height:1.12;letter-spacing:-.035em;margin:28px 0}h2{font-size:clamp(30px,3vw,44px);font-weight:300;line-height:1.18}h3{font-size:22px;font-weight:400}.lead{font-size:18px;max-width:550px;line-height:1.65;margin-bottom:32px}.section{padding:90px 0}.section-head{display:flex;align-items:end;justify-content:space-between;gap:25px;margin-bottom:34px}.section-head h2{margin:10px 0 0}.muted{color:#73675f}.gallery-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.gallery-item{border:0;background:transparent;text-align:left;padding:0;display:block;width:100%}.gallery-image{aspect-ratio:4/5;display:flex;align-items:center;justify-content:center;background:linear-gradient(140deg,#d6c0a8,#9d7655);overflow:hidden;color:#fff;font-size:13px;letter-spacing:.05em}.gallery-image img{width:100%;height:100%;object-fit:cover;transition:transform .35s}.gallery-item:hover img{transform:scale(1.04)}.gallery-item h3{margin:12px 0 0;font-size:16px}.split{display:grid;grid-template-columns:1fr 1fr;gap:65px;align-items:center}.visual{min-height:400px;background:linear-gradient(135deg,#c5a486,#8d6548);display:flex;align-items:center;justify-content:center;color:white}.visual img{height:100%;width:100%;object-fit:cover;max-height:580px}.page-hero{background:#f4eee8;padding:80px 0}.page-hero .wrap{max-width:1360px}.page-hero h1{max-width:800px}.filters{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:30px}.filter{border:1px solid var(--line);background:#fff;padding:10px 18px;border-radius:3px}.filter.active{background:var(--brown);color:#fff}.contact-layout{display:grid;grid-template-columns:1fr 1fr;gap:65px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.form-grid .full{grid-column:1/-1}.form-grid input,.form-grid textarea{width:100%;border:1px solid #d8cec4;padding:15px;background:#fff;border-radius:3px}.form-grid textarea{min-height:170px}.contact-line{margin:20px 0}.notice{padding:14px;background:#f0e8df;margin-bottom:20px}.site-footer{background:#35291f;color:#f7f0e9;padding:42px 0}.footer-inner{display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap}.lightbox{position:fixed;inset:0;background:rgba(20,14,10,.94);display:none;align-items:center;justify-content:center;z-index:50;padding:45px}.lightbox.open{display:flex}.lightbox img{max-width:95%;max-height:90vh;object-fit:contain}.lightbox button{position:absolute;top:14px;right:24px;border:0;background:none;color:#fff;font-size:36px}.wp-block-image img{height:auto}@media(max-width:850px){.header-inner{min-height:75px}.brand-text{font-size:21px}.brand-mark{width:30px;height:42px}.menu-toggle{display:block}.header-cta{display:none}.nav{display:none;position:absolute;top:75px;left:0;right:0;background:white;padding:22px 5%;flex-direction:column;align-items:flex-start;gap:10px;box-shadow:0 12px 20px #0001}.nav.open{display:flex}.hero{min-height:510px}.hero-content{padding:75px 0}.gallery-grid{grid-template-columns:repeat(2,1fr)}.split,.contact-layout{grid-template-columns:1fr;gap:30px}.section{padding:60px 0}}@media(max-width:520px){.gallery-grid{grid-template-columns:1fr}.form-grid{grid-template-columns:1fr}.section-head{display:block}.hero{min-height:480px}.page-hero{padding:55px 0}}

/* v1.1: single work images */
.work-detail{max-width:1100px}.work-cover{margin:0 auto 38px;text-align:center}.work-cover img{display:block;width:auto;max-width:100%;max-height:1100px;height:auto;margin:auto;object-fit:contain}.work-description{max-width:760px;margin:auto}.work-description img{max-width:100%;height:auto}.gallery-item[hidden]{display:none!important}

/* v1.4: compact portfolio introduction; photos visible above the fold */
.portfolio-intro{background:#f4eee8;padding:30px 0 24px}
.portfolio-intro h1{font-size:clamp(30px,3.2vw,46px);line-height:1.18;margin:0 0 8px;letter-spacing:-.025em}
.portfolio-intro p{font-size:16px;line-height:1.5;margin:0;max-width:780px;color:#66594f}
.portfolio-section{padding:26px 0 76px}
.portfolio-section .filters{margin-bottom:20px}
@media(max-width:850px){.portfolio-intro{padding:24px 0 20px}.portfolio-section{padding:22px 0 54px}}
@media(max-width:520px){.portfolio-intro h1{font-size:32px}.portfolio-intro p{font-size:15px}.portfolio-section .filters{gap:8px}}

/* v1.5: About page – two independently editable photographs */
.about-hero{min-height:340px;display:flex;align-items:center;background:#f5f0eb;position:relative;overflow:hidden}
.about-hero--image{background-image:linear-gradient(90deg,rgba(250,247,244,.98) 0%,rgba(250,247,244,.96) 34%,rgba(250,247,244,.78) 48%,rgba(250,247,244,.03) 71%),var(--about-hero-image);background-size:cover;background-position:center right}
.about-hero-inner{padding:42px 0}
.about-hero-copy{max-width:570px}
.about-eyebrow{display:flex;align-items:center;gap:22px;margin-bottom:18px}
.about-eyebrow:after{content:"";display:block;width:65px;height:1px;background:var(--brown)}
.about-hero h1{font-size:clamp(32px,3.7vw,54px);line-height:1.14;margin:0 0 20px;letter-spacing:-.025em}
.about-hero p{font-size:17px;line-height:1.65;max-width:530px;margin:0}
.about-story{background:#fff;padding:40px 0 48px}
.about-story-grid{display:grid;grid-template-columns:1.15fr .85fr;gap:6%;align-items:center}
.about-story-photo{height:290px;overflow:hidden;background:#e5d7c8}
.about-story-photo img{display:block;width:100%;height:100%;object-fit:cover}
.about-photo-placeholder{height:100%;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:10px;color:#5b4637;text-align:center;padding:20px}
.about-photo-placeholder small{font-size:12px;max-width:270px}
.about-small-rule{display:block;width:44px;height:2px;background:var(--brown);margin-bottom:16px}
.about-story-copy h2{font-size:clamp(28px,2.6vw,39px);margin:0 0 16px;max-width:480px}
.about-story-copy p{font-size:17px;line-height:1.75;margin:0;max-width:510px}
.about-values{display:grid;grid-template-columns:repeat(4,1fr);gap:0;margin-top:42px}
.about-value{display:flex;align-items:center;justify-content:center;gap:18px;min-height:65px;padding:6px 16px;border-right:1px solid #e5ddd6;font-size:16px;line-height:1.45}
.about-value:last-child{border-right:0}
.about-value-icon{color:var(--brown);font-size:35px;line-height:1;min-width:38px;text-align:center}
@media(max-width:850px){.about-hero{min-height:300px}.about-hero-inner{padding:35px 0}.about-story-grid{gap:26px}.about-values{grid-template-columns:repeat(2,1fr);row-gap:20px}.about-value:nth-child(2){border-right:0}}
@media(max-width:600px){.about-hero--image{background-image:linear-gradient(90deg,rgba(250,247,244,.94),rgba(250,247,244,.72)),var(--about-hero-image);background-position:center}.about-hero h1{font-size:35px}.about-hero p{font-size:15px}.about-story{padding:28px 0}.about-story-grid{grid-template-columns:1fr}.about-story-photo{height:240px}.about-story-copy p{font-size:15px}.about-values{margin-top:26px}.about-value{justify-content:flex-start;font-size:13px;padding:8px}.about-value-icon{font-size:26px;min-width:26px}}

/* v1.6: photographic portfolio, compact first fold, neutral minimal controls */
.portfolio-banner{min-height:290px;display:flex;align-items:center;background:#f4f0eb;position:relative;overflow:hidden}
.portfolio-banner--image{background-image:linear-gradient(90deg,rgba(250,248,245,.97) 0%,rgba(250,248,245,.93) 31%,rgba(250,248,245,.56) 49%,rgba(250,248,245,0) 72%),var(--portfolio-image);background-size:cover;background-position:center right}
.portfolio-banner-inner{padding:36px 0}
.portfolio-banner-copy{max-width:560px}
.portfolio-banner .eyebrow{color:#45372d;letter-spacing:.25em;font-size:11px}
.portfolio-banner h1{font-size:clamp(32px,3.5vw,52px);line-height:1.09;letter-spacing:-.035em;margin:16px 0 13px;font-weight:300}
.portfolio-banner p{font-size:16px;line-height:1.55;max-width:440px;margin:0}
.portfolio-gallery-section{padding:22px 0 70px;background:#fff}
.portfolio-gallery-section .filters{justify-content:center;gap:5px 12px;margin-bottom:24px}
.portfolio-gallery-section .filter{background:transparent;color:#514b45;border:1px solid transparent;border-radius:0;padding:9px 14px;font-size:13px;font-weight:400;transition:color .2s,border-color .2s,background .2s}
.portfolio-gallery-section .filter:hover{background:#f5f3f0;color:#211d1a}
.portfolio-gallery-section .filter.active{background:transparent;color:#211d1a;border-bottom-color:#38322d;font-weight:600}
.portfolio-gallery-section .filter:focus-visible,.button:focus-visible{outline:2px solid #333;outline-offset:3px}
.portfolio-gallery-section .gallery-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.portfolio-gallery-section .gallery-image{aspect-ratio:4/3;border-radius:5px;background:#ece7e0}
.portfolio-gallery-section .gallery-item h3{font-size:13px;font-weight:400;margin:8px 0 2px;color:#3e3833}
.portfolio-gallery-section .gallery-item:hover h3{text-decoration:underline;text-underline-offset:3px}
/* Sitewide buttons: restrained neutral outline rather than brown fills */
.button{background:transparent;color:#342f2a;border:1px solid #bdb6af;border-radius:3px;padding:11px 19px}
.button:hover{background:#f1eeeb;border-color:#665c54;color:#211d1a}
.button-outline{background:transparent;color:#342f2a}
@media(max-width:1000px){.portfolio-gallery-section .gallery-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:750px){.portfolio-banner{min-height:270px}.portfolio-banner-inner{padding:30px 0}.portfolio-banner--image{background-image:linear-gradient(90deg,rgba(250,248,245,.94),rgba(250,248,245,.62)),var(--portfolio-image)}.portfolio-gallery-section .gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.portfolio-gallery-section .filters{justify-content:flex-start;gap:4px 8px}.portfolio-gallery-section .filter{padding:8px 10px}}
@media(max-width:520px){.portfolio-banner{min-height:245px}.portfolio-banner h1{font-size:34px}.portfolio-banner p{font-size:14px}.portfolio-gallery-section{padding:14px 0 48px}.portfolio-gallery-section .gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.portfolio-gallery-section .gallery-image{aspect-ratio:3/4}.portfolio-gallery-section .gallery-item h3{font-size:12px}.portfolio-gallery-section .filters{margin-bottom:14px}}

/* v1.7 – Contacts page: photographic left panel, airy content and form */
.contact-page{display:grid;grid-template-columns:minmax(280px,37.5%) minmax(0,1fr);background:#fbfaf8;min-height:min(780px,calc(100vh - 90px))}
.contact-photo{position:relative;overflow:hidden;background:#d6c3af;min-height:620px}
.contact-photo img{display:block;width:100%;height:100%;position:absolute;inset:0;object-fit:cover;object-position:center}
.contact-photo-placeholder{height:100%;min-height:620px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:12px;padding:36px;text-align:center;color:#513d2b;background:linear-gradient(120deg,#d9c5b1,#b89b7c)}
.contact-photo-placeholder small{max-width:280px;font-size:13px}
.contact-content{padding:clamp(48px,6vw,108px) clamp(30px,4.4vw,86px);display:flex;flex-direction:column;justify-content:center;min-width:0}
.contact-eyebrow{display:flex;align-items:center;gap:20px;margin-bottom:48px;color:#513b2b}
.contact-eyebrow:after{content:"";height:1px;width:62px;background:#6a4b33}
.contact-columns{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.08fr);gap:clamp(25px,2.8vw,54px);align-items:start}
.contact-information h1{font-size:clamp(38px,3.8vw,58px);margin:-8px 0 24px;letter-spacing:-.035em;line-height:1.13}
.contact-intro{font-size:clamp(15px,1.15vw,19px);line-height:1.65;max-width:400px;margin-bottom:44px}
.contact-details{display:grid;gap:23px}
.contact-detail{display:flex;align-items:center;gap:19px;font-size:clamp(15px,1.18vw,19px);line-height:1.45;overflow-wrap:anywhere}
.contact-detail svg{width:30px;height:30px;flex:none;fill:none;stroke:#67472f;stroke-width:1.35;stroke-linecap:round;stroke-linejoin:round}
a.contact-detail:hover span{text-decoration:underline;text-underline-offset:4px}
.contact-form-panel{border-left:1px solid #d7cbc0;padding-left:clamp(22px,2.6vw,44px);min-width:0}
.contact-form{gap:13px}
.contact-form input,.contact-form textarea{border:1px solid #d7c9bc;border-radius:6px;background:transparent;color:#342519;padding:14px 17px;font-size:15px;outline:none;transition:border-color .2s,box-shadow .2s}
.contact-form input:focus,.contact-form textarea:focus{border-color:#70513b;box-shadow:0 0 0 2px rgba(104,65,36,.1)}
.contact-form textarea{min-height:166px;resize:vertical}
.contact-form .contact-privacy{font-size:11px;line-height:1.5;color:#746b64;margin:0 0 2px}
.contact-privacy a{text-decoration:underline;text-underline-offset:2px}
.contact-submit.button{background:#4b3525;border:1px solid #4b3525;color:#fff;padding:15px 20px;font-size:17px;border-radius:5px;display:flex;justify-content:center;align-items:center;gap:20px}
.contact-submit.button:hover{background:#2e2118;color:#fff;border-color:#2e2118}
.contact-submit span{font-size:22px;line-height:1}
.contact-honeypot{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
@media(max-width:1350px){.contact-page{grid-template-columns:32% 68%}.contact-content{padding:50px 36px}.contact-columns{gap:22px}.contact-form-panel{padding-left:22px}.contact-eyebrow{margin-bottom:32px}}
@media(max-width:1050px){.contact-page{grid-template-columns:34% 66%}.contact-columns{grid-template-columns:1fr;gap:32px}.contact-form-panel{border-left:0;border-top:1px solid #d7cbc0;padding:25px 0 0}.contact-content{padding:44px 32px}.contact-information h1{margin:0 0 18px}.contact-intro{margin-bottom:25px}.contact-details{gap:15px}}
@media(max-width:650px){.contact-page{display:flex;flex-direction:column}.contact-photo{min-height:220px;height:250px}.contact-photo-placeholder{min-height:250px}.contact-content{padding:30px 5% 48px}.contact-eyebrow{margin-bottom:20px}.contact-columns{gap:28px}.contact-form-panel{padding-top:25px}.contact-form{grid-template-columns:1fr}.contact-information h1{font-size:39px}.contact-intro{font-size:16px}.contact-detail{font-size:16px}}

/* v1.8 privacy page: restrained typography matching the rest of the site */
.privacy-page{padding:58px 0 92px;background:#fbfaf8}
.privacy-page .privacy-wrap{max-width:880px}
.privacy-page h1{font-size:clamp(36px,4vw,54px);margin:12px 0 14px}
.privacy-page .privacy-intro{font-size:17px;color:#71675f;margin-bottom:40px}
.privacy-page .privacy-body{border-top:1px solid #e4d9cf;padding-top:35px;font-size:16px;line-height:1.8}
.privacy-page .privacy-body h2{font-size:25px;margin:30px 0 12px}
.privacy-page .privacy-body h2:first-child{margin-top:0}
.privacy-page .privacy-body p{margin-bottom:20px}
.privacy-page .privacy-body a{text-decoration:underline;text-underline-offset:3px}
@media(max-width:650px){.privacy-page{padding:36px 0 64px}.privacy-page .privacy-body h2{font-size:22px}}


/* v1.9 — mobile-first visual refinement, especially the homepage */
.hero-mobile-photo{display:none}
.menu-toggle-lines{display:flex;flex-direction:column;justify-content:center;gap:6px;width:23px;height:23px}
.menu-toggle-lines span{display:block;width:100%;height:1.5px;background:#33291f;transition:transform .2s}
.mobile-menu-open .menu-toggle-lines span:first-child{transform:translateY(3.75px) rotate(45deg)}
.mobile-menu-open .menu-toggle-lines span:last-child{transform:translateY(-3.75px) rotate(-45deg)}
@media(max-width:850px){
 .site-header{position:sticky;top:0;z-index:20;box-shadow:0 1px 12px rgba(36,27,18,.035)}
 .header-inner{min-height:72px;gap:12px}
 .menu-toggle{display:flex;align-items:center;justify-content:center;width:44px;height:44px;border:1px solid #e8e1da;border-radius:50%;padding:0;flex:none}
 .nav{top:100%;padding:14px 5% 24px;gap:0;border-top:1px solid #eee7e0;box-shadow:0 18px 30px rgba(35,24,14,.08)}
 .nav a{width:100%;font-size:17px;padding:13px 0;border-bottom:1px solid #f0ebe5!important}
 .nav a[aria-current=page]{color:#6d4c34;font-weight:600}
 .hero{display:flex;flex-direction:column;align-items:stretch;min-height:0;background:#f6f1eb!important}
 .hero-mobile-photo{display:block;order:0;height:clamp(255px,64vw,440px);background-color:#c5a587;background-image:linear-gradient(145deg,#dfcbb7,#977458);background-position:center;background-size:cover;position:relative}
 .hero-mobile-photo:after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,rgba(45,31,20,.13),transparent 48%)}
 .hero-wrap{order:1;width:90%}
 .hero-content{max-width:650px;padding:35px 0 43px}
 .hero h1{font-size:clamp(39px,6.4vw,58px);margin:16px 0 18px;line-height:1.1;letter-spacing:-.045em}
 .hero .lead{font-size:16px;line-height:1.6;margin-bottom:25px;max-width:500px}
 .hero .eyebrow{font-size:10px;letter-spacing:.24em}
 .hero-action{display:inline-flex;justify-content:center;align-items:center;min-height:48px;padding:12px 19px;border-color:#7d6b5c;background:#fff9;color:#34291f;font-weight:500}
 .hero-action:hover{background:#fff}
 .about-hero--image,.portfolio-banner--image{background-position:60% center}
 .about-story-grid{align-items:start}
 .contact-photo{min-height:300px}
}
@media(max-width:600px){
 .wrap{width:calc(100% - 38px)}
 .header-inner{min-height:67px}
 .brand{gap:9px}
 .brand-mark{width:28px;height:39px}
 .brand-text{font-size:20px;letter-spacing:.12em}
 .brand-text small{font-size:8px;letter-spacing:.43em;margin-top:6px}
 .hero-mobile-photo{height:clamp(240px,67vw,355px)}
 .hero-content{padding:32px 0 39px}
 .hero h1{font-size:clamp(36px,10vw,48px);margin:13px 0 15px}
 .hero .lead{font-size:15px;margin-bottom:23px}
 .hero-action{width:100%;max-width:390px;font-size:14px}
 .portfolio-banner{min-height:0;display:block;background:#f7f2ed}
 .portfolio-banner--image{background-image:linear-gradient(90deg,rgba(250,248,245,.95),rgba(250,248,245,.8)),var(--portfolio-image)}
 .portfolio-banner-inner{padding:28px 0}
 .portfolio-banner h1{font-size:36px;line-height:1.12;margin:10px 0 12px}
 .portfolio-banner p{font-size:14px}
 .portfolio-gallery-section .filters{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;margin:0 -19px 17px;padding:0 19px 5px;justify-content:flex-start;-webkit-overflow-scrolling:touch}
 .portfolio-gallery-section .filters::-webkit-scrollbar{display:none}
 .portfolio-gallery-section .filter{flex:none;white-space:nowrap;font-size:13px;padding:8px 9px}
 .portfolio-gallery-section .gallery-grid{gap:11px}
 .portfolio-gallery-section .gallery-image{aspect-ratio:3/4;border-radius:4px}
 .portfolio-gallery-section .gallery-item h3{font-size:12px;line-height:1.4}
 .about-hero{min-height:0}
 .about-hero-inner{padding:30px 0}
 .about-hero h1{font-size:clamp(33px,9vw,42px);margin-bottom:14px}
 .about-hero p{font-size:15px}
 .about-story-photo{height:230px;border-radius:4px}
 .about-story-copy h2{font-size:29px}
 .about-values{gap:12px 0}
 .about-value{font-size:12px;gap:10px}
 .contact-photo{height:clamp(230px,65vw,330px);min-height:0}
 .contact-photo-placeholder{min-height:230px}
 .contact-content{padding:31px 19px 45px}
 .contact-eyebrow{margin-bottom:13px}
 .contact-information h1{font-size:38px}
 .contact-intro{font-size:15px;margin-bottom:25px}
 .contact-details{gap:16px}
 .contact-detail{font-size:15px;gap:14px}
 .contact-detail svg{width:25px;height:25px}
 .contact-form-panel{padding-top:23px}
 .contact-form input,.contact-form textarea{font-size:16px;min-height:49px}
 .contact-submit.button{min-height:51px;font-size:16px}
 .site-footer{padding:30px 0}
 .footer-inner{flex-direction:column;gap:8px;font-size:13px}
}
@media(prefers-reduced-motion:reduce){.menu-toggle-lines span,.gallery-image img{transition:none}}

/* v1.10 – mobile homepage B: original hero image with readable compact overlay.
   No image replacement: --kd-hero-image is the existing Customizer hero URL. */
@media (max-width:850px){
 body.home .hero,body.front-page .hero{display:flex;flex-direction:row;align-items:center;justify-content:flex-start;position:relative;isolation:isolate;min-height:clamp(570px,calc(100svh - 78px),790px);background-color:#e8ded2!important;background-image:linear-gradient(90deg,rgba(250,247,243,.97) 0%,rgba(250,247,243,.92) 24%,rgba(250,247,243,.73) 47%,rgba(250,247,243,.23) 72%,rgba(250,247,243,.03) 100%),var(--kd-hero-image)!important;background-size:cover!important;background-position:64% center!important}
 body.home .hero-mobile-photo,body.front-page .hero-mobile-photo{display:none!important}
 body.home .hero-wrap,body.front-page .hero-wrap{order:initial;width:90%;position:relative;z-index:1}
 body.home .hero-content,body.front-page .hero-content{padding:44px 0 54px;max-width:450px}
 body.home .hero h1,body.front-page .hero h1{font-size:clamp(34px,5.4vw,47px);line-height:1.11;letter-spacing:-.035em;max-width:390px;margin:21px 0 22px}
 body.home .hero .lead,body.front-page .hero .lead{font-size:15px;line-height:1.55;max-width:360px;margin-bottom:26px}
 body.home .hero-action,body.front-page .hero-action{width:auto;max-width:none;background:rgba(255,255,255,.52);border:1px solid rgba(77,62,48,.55);border-radius:3px;color:#33281f;padding:12px 18px;min-height:46px}
}
@media (max-width:600px){
 body.home .hero,body.front-page .hero{min-height:clamp(575px,calc(100svh - 72px),750px);background-position:61% center!important;background-image:linear-gradient(90deg,rgba(250,247,243,.98) 0%,rgba(250,247,243,.92) 19%,rgba(250,247,243,.69) 43%,rgba(250,247,243,.17) 73%,rgba(250,247,243,0) 100%),var(--kd-hero-image)!important}
 body.home .hero-wrap,body.front-page .hero-wrap{width:calc(100% - 38px)}
 body.home .hero-content,body.front-page .hero-content{max-width:85%;padding:35px 0 47px}
 body.home .hero .eyebrow,body.front-page .hero .eyebrow{font-size:10px;letter-spacing:.19em;line-height:1.6;max-width:270px}
 body.home .hero h1,body.front-page .hero h1{font-size:clamp(31px,8.4vw,39px);line-height:1.13;max-width:310px;margin:18px 0 19px}
 body.home .hero .lead,body.front-page .hero .lead{font-size:14px;line-height:1.55;max-width:275px;margin-bottom:24px}
 body.home .hero-action,body.front-page .hero-action{font-size:13px;padding:11px 14px;min-height:44px;white-space:normal;text-align:center}
 body.home .site-footer,body.front-page .site-footer{padding:22px 0}
 body.home .footer-inner,body.front-page .footer-inner{gap:4px;font-size:12px;line-height:1.5}
}
@media (max-width:360px){
 body.home .hero-content,body.front-page .hero-content{max-width:89%}
 body.home .hero h1,body.front-page .hero h1{font-size:30px}
 body.home .hero .lead,body.front-page .hero .lead{font-size:13px}
}
