/* V28 mobile-first responsive override */
html{scroll-padding-top:78px}body{overflow-x:hidden}button,a,input{-webkit-tap-highlight-color:transparent}
@media(max-width:767px){
.top{height:70px;position:sticky;top:0;z-index:100;padding:0 16px;background:#1b100cf5;backdrop-filter:blur(16px);border-bottom:1px solid #a87951}
.brand{font-size:19px;gap:7px}.brand .mark{font-size:35px}.brand small{letter-spacing:4px;font-size:8px}
.menu{display:grid;place-items:center;width:46px;height:46px;background:#392318;border:1px solid #bc8a5d;border-radius:13px;color:#ffd09b}
.top nav{display:none;position:absolute;top:70px;left:0;right:0;max-height:calc(100dvh - 75px);overflow-y:auto;padding:15px;background:#20120ef7;box-shadow:0 20px 40px #000b;gap:5px}
.top nav.open{display:flex}.top nav a{display:flex;align-items:center;min-height:48px;padding:12px;border:1px solid #65432f;border-radius:12px;background:#302017}
.hero{min-height:610px;min-height:min(720px,85svh);padding:45px 20px 90px;align-items:flex-start}.dy27-hero-pic{object-position:64% center}
.hero::before{background:linear-gradient(90deg,#160b08ed 0%,#160b08b5 55%,#160b0850 100%),linear-gradient(0deg,#1b100c,transparent 55%)}
.hero-inner{width:100%;max-width:540px}.eyebrow{font-size:10px;letter-spacing:3px}.hero h1{font:normal clamp(38px,10vw,56px)/1.04 Georgia,serif;max-width:350px;margin:16px 0}.hero p{font-size:14px;line-height:1.55;max-width:340px}
.actions{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:22px 0}.actions .btn{font-size:12px;padding:13px 6px;min-height:49px;white-space:nowrap}.trust{gap:6px;flex-wrap:nowrap;font-size:10px}.trust span{padding-right:5px}.trust span:last-child{border:0}
.categories{margin:-48px auto 0;padding:0 12px;z-index:2}.category-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:9px}.photo-card{grid-column:span 2;min-height:145px;padding:10px;border-radius:15px}.photo-card:nth-child(n+4),.photo-card:last-child{grid-column:span 3;min-height:145px}.photo-card strong{font-size:12px;line-height:1.25}.photo-card span{font-size:18px}
.about{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding:25px 15px}.about>div:first-child,.about>p{grid-column:1/-1}.about h2{font-size:29px}.about p{font-size:13px}.stat{padding-left:9px}.stat b{font-size:23px}.stat small{font-size:10px}
.projects{padding:23px 12px}.section-head h2{font-size:30px}.section-head .btn{font-size:11px;padding:10px}.project-grid{display:flex;gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:15px}.project-card{flex:0 0 min(85vw,340px);min-height:215px;scroll-snap-align:center}.project-card span{font-size:19px}
.process{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;padding:15px 12px}.process>div:first-child{grid-column:1/-1}.step{min-height:160px;padding:13px;border-radius:17px}.step i{width:40px;height:40px}.step b{font-size:20px}.step em{font-size:11px;line-height:1.4}
.dy24-contact{padding:28px 12px 110px}.dy24-contact-card{padding:22px 15px;border-radius:20px}.dy24-contact input,.dy24-contact textarea{font-size:16px;min-height:52px}
.mobile-contact{display:flex;position:fixed;bottom:0;left:0;right:0;z-index:120;gap:10px;padding:10px 12px calc(10px + env(safe-area-inset-bottom));background:#1a100df5;border-top:1px solid #966847;box-shadow:0 -8px 30px #0008}.mobile-contact a{display:flex;justify-content:center;align-items:center;min-height:50px;font-size:14px;font-weight:700}
footer{padding:25px 16px 110px;justify-content:flex-start;gap:16px}
.login-page{min-height:calc(100svh - 70px);padding:24px 12px 95px;background-position:65% center}.login-panel{padding:28px 16px 22px;border-radius:24px;background:#21140dec}.login-panel h1{font-size:clamp(42px,12vw,58px)}.login-panel p{font-size:14px}.login-panel input{font-size:16px;min-height:54px}.login-panel .btn{min-height:54px}.roles{gap:6px}.roles span{padding:12px 5px;font-size:12px}
.panel{padding:14px 12px 110px}.panel-hero{padding:28px 17px;min-height:210px;border-radius:20px;background-position:65% center}.panel-hero h1{font-size:clamp(34px,9vw,48px)}.panel-hero p{font-size:14px}
.dy27-important-links{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:14px 0}.dy27-important-links a{min-height:85px;padding:13px 8px;font-size:13px;border-radius:16px}.panel-nav{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:14px 0}.panel-nav a{display:flex;align-items:flex-end;min-height:105px;padding:15px 12px;font-size:14px;font-weight:600;border-radius:17px}
.editor-box{padding:20px 14px;margin:17px 0;border-radius:18px}.editor-box h2{font-size:27px}.editor-box input:not([type=checkbox]),.editor-box textarea,.editor-box select{min-height:52px;font-size:16px}.editor-box button{min-height:46px}.edit-item{grid-template-columns:1fr}.edit-item img{height:185px}.dy26-gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.dy26-gallery img{height:135px}
}
@media(max-width:370px){.hero h1{font-size:36px}.actions .btn{font-size:11px}.photo-card{min-height:126px}.photo-card:nth-child(n+4){min-height:126px}.brand{font-size:16px}.trust{font-size:9px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.photo-card:hover,.project-card:hover{transform:none}}
