body.public-routed{height:auto;min-height:100dvh;display:block;overflow-x:hidden;overflow-y:visible;background:#f8f7f2}
body.public-routed #app{height:auto;min-height:0;display:block;overflow:visible}
body.public-routed #app>[hidden]{display:none!important}
.public-menu-toggle{display:none;min-height:40px;padding:8px 12px;background:var(--forest)}
.mobile-request-link{display:none}
body.public-routed>header nav a[aria-current="page"]{color:var(--orange);box-shadow:inset 0 -3px var(--orange)}
body.public-routed #reference-footer{min-height:72px;padding-top:10px;padding-bottom:10px}
.public-admin-link{margin-left:auto;color:#ff8a55;font-size:12px;font-weight:700}
body.public-routed .hero{min-height:0;height:auto;padding-top:clamp(36px,6vh,72px);padding-bottom:clamp(36px,6vh,72px)}
body.public-routed[data-public-route="services"] #services,
body.public-routed[data-public-route="about"] #about,
body.public-routed[data-public-route="projects"] #projects,
body.public-routed[data-public-route="contact"] #request{min-height:0;height:auto;overflow:visible;padding:clamp(26px,4vh,52px) clamp(28px,7vw,110px)}
body.public-routed[data-public-route="services"] #services{display:grid;align-content:center}
body.public-routed[data-public-route="services"] .view-services{display:none}
body.public-routed[data-public-route="services"] .reference-service-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
body.public-routed[data-public-route="services"] .reference-service-grid img{height:clamp(105px,15vh,150px)}
body.public-routed[data-public-route="about"] #about{align-content:center}
body.public-routed[data-public-route="about"] .reference-about>img{max-height:56vh}
body.public-routed[data-public-route="projects"] #projects{align-content:center;grid-template-columns:minmax(210px,.3fr) minmax(0,1fr)}
body.public-routed[data-public-route="projects"] .reference-projects-gallery{display:block!important;width:100%;min-height:0}
body.public-routed[data-public-route="projects"] .project-carousel-track,
body.public-routed[data-public-route="projects"] .project-carousel-track img{height:min(52vh,460px)!important}
body.public-routed[data-public-route="contact"] #request{width:100%;max-width:none;display:grid;align-content:center}
body.public-routed[data-public-route="contact"] #request>h2,
body.public-routed[data-public-route="contact"] #request>.request-lead{text-align:center}
body.public-routed[data-public-route="contact"] #request form{width:min(100%,1040px);margin:40px auto 0;padding:22px 28px;gap:10px}
body.public-routed[data-public-route="contact"] #request form input,
body.public-routed[data-public-route="contact"] #request form select{min-height:42px;height:42px;padding:8px 12px}
body.public-routed[data-public-route="contact"] #request form select{grid-column:1/-1}
body.public-routed[data-public-route="contact"] #request textarea{min-height:76px}
body.public-routed[data-public-route="admin"] #admin{width:100%;max-width:none;display:grid;place-content:center}
body.public-routed[data-public-route="admin"] #admin>*{width:min(520px,90vw)}
@media(max-height:760px) and (min-width:801px){
  body.public-routed>header{height:82px}
  body.public-routed .brand-mark img{width:145px}
  body.public-routed #reference-footer{min-height:58px}
  body.public-routed[data-public-route="services"] #services,
  body.public-routed[data-public-route="about"] #about,
  body.public-routed[data-public-route="projects"] #projects,
  body.public-routed[data-public-route="contact"] #request{padding-top:18px;padding-bottom:18px}
  body.public-routed[data-public-route="contact"] #request h2{font-size:32px;margin-bottom:6px}
  body.public-routed[data-public-route="contact"] #request>.request-lead{margin:0;font-size:13px}
  body.public-routed[data-public-route="contact"] .quote-steps{margin:10px 0 16px}
  body.public-routed[data-public-route="contact"] #request form{margin-top:12px;padding:12px 18px;gap:7px}
  body.public-routed[data-public-route="contact"] #request textarea{min-height:56px;height:56px;padding:8px 12px}
  body.public-routed[data-public-route="contact"] #request form label{font-size:12px}
  body.public-routed[data-public-route="contact"] #request form label input{height:38px;min-height:38px;padding:6px 9px}
  body.public-routed[data-public-route="contact"] #request form button{min-height:40px;padding:8px 16px}
}
@media(max-width:900px) and (min-width:601px){
  body.public-routed>header{grid-template-columns:145px minmax(0,1fr) auto;gap:12px;padding-inline:16px}
  body.public-routed>header .brand-mark img{width:138px}
  body.public-routed>header nav{gap:12px;font-size:13px}
  body.public-routed>header .header-cta{padding:11px 14px;font-size:13px}
}
@media(max-width:800px){
  body.public-routed{display:block;overflow:auto}
  body.public-routed #app{display:block;overflow:visible}
  body.public-routed>header{position:sticky;top:0;z-index:20}
  body.public-routed[data-public-route] #services,
  body.public-routed[data-public-route] #about,
  body.public-routed[data-public-route] #projects,
  body.public-routed[data-public-route] #request,
  body.public-routed[data-public-route] #admin{height:auto;min-height:calc(100dvh - 120px);overflow:visible;padding:34px 18px}
  body.public-routed[data-public-route="services"] .reference-service-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  body.public-routed[data-public-route="projects"] #projects{grid-template-columns:1fr}
  body.public-routed[data-public-route="projects"] .reference-projects-gallery{display:block!important;width:100%}
  body.public-routed[data-public-route="projects"] .project-carousel-track,
  body.public-routed[data-public-route="projects"] .project-carousel-track img{width:100%!important;height:min(52dvh,420px)!important}
  body.public-routed[data-public-route="projects"] .project-carousel-controls{display:flex!important;flex-wrap:wrap}
  body.public-routed[data-public-route="contact"] #request form{margin-top:34px;padding:20px}
}
@media(max-width:600px){
  body.public-routed>header{grid-template-columns:1fr auto}
  body.public-routed>header .header-cta,body.public-routed>header .brand-motto{display:none}
  body.public-routed>header nav{display:none}
  body.public-routed>header.menu-open nav{display:grid;position:absolute;top:100%;left:0;right:0;padding:14px 20px;background:#fff;border-top:1px solid var(--line);box-shadow:0 12px 24px rgba(5,28,20,.12)}
  body.public-routed>header.menu-open nav a{padding:8px 0}
  body.public-routed>header.menu-open nav .mobile-request-link{display:block;color:var(--orange)}
  body.public-routed .public-menu-toggle{display:block}
  body.public-routed #reference-footer{display:grid;gap:6px}
  .public-admin-link{margin-left:0}
}
