/* Intime unified release: legibility, mobile, forms, navigation */
:root{--intime-ink:#10382c;--intime-cream:#f7f5ef;--intime-gold:#c5a368}
html{scroll-behavior:smooth}body{font-size:16px;line-height:1.65}p,li{line-height:1.65}
button,input,select,textarea{font:inherit}button,a,input,select,textarea{touch-action:manipulation}
:focus-visible{outline:3px solid #c5a368!important;outline-offset:3px}
.minimal-dropdown[open]>.minimal-dropdown-panel{z-index:30}
.minimal-dropdown>summary{list-style:none;cursor:pointer;display:flex;align-items:center;gap:9px}
.minimal-dropdown>summary::-webkit-details-marker{display:none!important}
.minimal-dropdown>summary::marker{content:''!important}
.minimal-dropdown>summary:after{content:'';width:7px;height:7px;border-right:1.6px solid currentColor;border-bottom:1.6px solid currentColor;transform:rotate(45deg);margin-left:5px;transition:transform .2s}
.minimal-dropdown[open]>summary:after{transform:rotate(225deg)}
.minimal-dropdown-panel{box-shadow:0 16px 44px #0d31272a;border-radius:16px}
.downloads-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:22px}
.download-card{min-width:0;overflow:hidden;border-radius:18px;transition:transform .2s,box-shadow .2s}
.download-card:hover{transform:translateY(-3px);box-shadow:0 16px 38px #102f2220}
.intime-download-thumb{display:block;width:100%;height:150px;object-fit:cover;object-position:center;margin:0 0 17px;border-radius:12px;background:#e9ede5}
.contact-location{align-items:center;gap:clamp(20px,4vw,64px)}
.contact-map{min-height:310px;border-radius:22px;overflow:hidden;background:#e7ede6}
.contact-map iframe{width:100%;height:100%;min-height:350px;border:0;display:block}
.contact-map-cover{min-height:350px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:24px}
/* Keep the quote dialog inside viewport; the form, not the page, scrolls. */
:is(#home-quote-dialog,#quote-dialog){width:min(930px,calc(100vw - 24px))!important;height:min(670px,calc(100dvh - 24px))!important;max-height:calc(100dvh - 24px)!important;padding:0!important;overflow:hidden!important;border:0!important}
:is(#home-quote-dialog,#quote-dialog) .h-dialog-layout{height:100%!important;max-height:100%!important;min-height:0!important;display:grid!important;grid-template-columns:minmax(0,230px) minmax(0,1fr)!important}
:is(#home-quote-dialog,#quote-dialog) .h-dialog-aside{padding:24px!important;min-height:0!important;overflow:hidden!important}
:is(#home-quote-dialog,#quote-dialog) .h-dialog-aside h2{font-size:clamp(23px,2.5vw,29px)!important;line-height:1.19!important;overflow-wrap:anywhere}
:is(#home-quote-dialog,#quote-dialog) .h-dialog-form{min-height:0!important;max-height:100%!important;overflow-y:auto!important;overscroll-behavior:contain!important;scrollbar-width:thin;padding:24px!important}
:is(#home-quote-dialog,#quote-dialog) input,:is(#home-quote-dialog,#quote-dialog) select,:is(#home-quote-dialog,#quote-dialog) textarea{font-size:15px!important;min-height:44px}
:is(#home-quote-dialog,#quote-dialog) label{font-size:13px!important}
@media(max-width:760px){
 body{font-size:16px} .wrap{max-width:100%;padding-left:20px;padding-right:20px}
 h1{font-size:clamp(36px,9vw,52px)!important;overflow-wrap:break-word}h2{font-size:clamp(27px,7vw,36px)}
 .contact-location{display:grid!important;grid-template-columns:1fr!important}
 .downloads-grid{grid-template-columns:1fr!important}
 .minimal-dropdown-panel{max-width:calc(100vw - 40px)}
 :is(#home-quote-dialog,#quote-dialog){height:calc(100dvh - 12px)!important;max-height:calc(100dvh - 12px)!important;width:calc(100vw - 12px)!important}
 :is(#home-quote-dialog,#quote-dialog) .h-dialog-layout{grid-template-columns:1fr!important;grid-template-rows:auto minmax(0,1fr)!important}
 :is(#home-quote-dialog,#quote-dialog) .h-dialog-aside{padding:12px 22px!important;max-height:112px!important}
 :is(#home-quote-dialog,#quote-dialog) .h-dialog-aside h2{font-size:21px!important;line-height:1.2!important;margin:4px 0!important}
 :is(#home-quote-dialog,#quote-dialog) .h-dialog-aside p,:is(#home-quote-dialog,#quote-dialog) .h-dialog-aside ol{display:none!important}
 :is(#home-quote-dialog,#quote-dialog) .h-dialog-form{padding:18px!important}
}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important}}
