/* R-GDB-F1. Approved clean showroom photo, phone bar and opening spacing. */
#process.showroom-experience .showroom-photo picture{display:block;transform:translateZ(0)}
#process.showroom-experience .showroom-photo picture img{display:block;width:100%;height:auto;max-height:none;aspect-ratio:auto;object-fit:contain;transform:none}
@media(max-width:767px){
 :root{--gdb-contact-bar-height:calc(65px + env(safe-area-inset-bottom,0px))}
 html:has(body.gdb-mobile-contact-page:not(.gdb-contact-destination)){scroll-padding-bottom:calc(var(--gdb-contact-bar-height) + 12px)}
 body.gdb-mobile-contact-page:not(.gdb-contact-destination){padding-bottom:var(--gdb-contact-bar-height)}
 body.gdb-mobile-contact-page:not(.gdb-contact-destination) .gdb-contact-widget{left:0;right:0;bottom:0;width:100%;max-width:none;box-sizing:border-box;padding:8px max(var(--space-s),env(safe-area-inset-right,0px)) calc(8px + env(safe-area-inset-bottom,0px)) max(var(--space-s),env(safe-area-inset-left,0px));border:0;border-top:1px solid rgba(0,0,0,.1);background:var(--white,#fffefb);box-shadow:none;justify-content:space-between;align-items:flex-end;gap:8px;pointer-events:auto}
 body.homepage .home-opening{height:auto;min-height:0;padding-bottom:0;margin-bottom:0}
 body.homepage .home-opening .home-values-section{padding-bottom:24px;margin-bottom:0}
 body.homepage #process.showroom-experience{padding-top:12px;margin-top:0}
 #env-badge{inset-block-end:calc(var(--gdb-contact-bar-height) + 8px)!important}
}

/* F1 items 6 to 9, accepted by Claude on 15 November. */
body.homepage #main .home-guides-editorial .guide .guide-thumbnail{
 position:relative;aspect-ratio:3/2!important;height:auto!important;overflow:hidden;background:#f6f3ec!important
}
body.homepage #main .home-guides-editorial .guide .guide-thumbnail picture{
 position:absolute;inset:0;width:100%;height:100%!important
}
body.homepage #main .home-guides-editorial .guide .guide-thumbnail img{
 position:absolute;inset:0;width:100%;height:100%!important;max-height:none!important;object-fit:contain!important;transform:none!important
}
body.area-landing .area-film :is(img,video){object-fit:contain}
@media(min-width:701px){
 body.area-landing .area-opening{min-block-size:min(56.25vw,85svh)}
}
@media(max-width:767px){
 :root,body{--step--2:12px!important}
 body header :is(.header-address,.gdb-area-count){font-size:12px!important}
 body #main :is(.eyebrow,.credential-label,.credential-note,.filter-label),
 body.homepage #main .home-services-visual .service .number,
 body #main .lower-planning .local-facts dt,
 body #main .breadcrumb,body #main .breadcrumb :is(a,span),
 body #main .hero-photo figcaption,body #main .service-photo-slider .photo-slide figcaption,
 body #main .contact-office .office-row>span,
 body footer .footer-bottom,body footer .footer-bottom :is(a,span),body footer .footer-team-credit{font-size:12px!important}
 body #main .hero-photo figcaption :is(b,span),body.homepage #main .photo-slide figcaption>span{font-size:12px!important}
 body #main :is(.project-type,.project-type>span,.pm__cat,.wk__category,small,small a,th){font-size:12px!important}
 body #main .gallery-filter-status,body #main .local-photo figcaption{font-size:12px!important}
 body.contact-page #main :is(p,li):not(.eyebrow){font-size:max(16px,1em)!important;line-height:1.6}
}

/* The existing Leaside playback control, now also on the ten area films. */
body.area-landing .area-film{z-index:0}
body.area-landing .area-opening-copy{position:relative;z-index:1}
.area-film .gdb-hero-video-toggle{position:absolute;right:12px;bottom:12px;z-index:2;display:inline-flex;align-items:center;justify-content:center;gap:8px;min-width:86px;min-height:44px;padding:10px 14px;border:1px solid #fffefb66;border-radius:5px;background:#282924e8;color:#fffefb;font:500 12px/1.2 Instrument,Arial,sans-serif;cursor:pointer}
.area-film .gdb-hero-video-toggle[hidden]{display:none}
.area-film .gdb-hero-video-toggle svg{width:18px;height:18px;flex:none;color:var(--orange)}
.area-film .gdb-hero-video-toggle:hover{background:var(--ink,#282924)}
.area-film .gdb-hero-video-toggle:focus-visible{outline:3px solid var(--orange);outline-offset:3px}
@media(max-width:700px){.area-film .gdb-hero-video-toggle{right:9px;bottom:9px;min-width:80px;padding:10px 12px}}

/* Claude 14:09. Equal warm tiles keep the complete guide photographs visible. */
body #main .guide-thumbnail{background:#f6f3ec!important}
/* Allen 14:14 test. Original photo retained, steady pixel-derived lettering only. */
body #main #process.showroom-experience .showroom-photo .showroom-letters-glow{position:absolute;left:14.5299145299%;top:44.2307692308%;display:block;width:75.8547008547%;height:12.0562130178%;pointer-events:none;mix-blend-mode:screen;opacity:1;animation:none;transform:none;overflow:hidden}

/* F1 FIX C. Leaside uses the complete film and poster in one matched box. */
body.leaside-media-preview #main .area-hero-photo.gdb-hero-video{display:block;align-self:start;height:auto;min-height:0;max-height:none}
body.leaside-media-preview #main .area-hero-photo.gdb-hero-video .gdb-hero-video-stage{position:relative;width:100%;height:auto!important;min-height:0!important;max-height:85svh;aspect-ratio:16/9!important}
body.leaside-media-preview #main .area-hero-photo.gdb-hero-video .gdb-hero-video-stage picture{position:absolute;inset:0;display:block;width:100%;height:100%}
body.leaside-media-preview #main .area-hero-photo.gdb-hero-video :is(.gdb-hero-video-poster,.gdb-hero-video-media){position:absolute;inset:0;width:100%;height:100%;min-height:0;max-height:none;aspect-ratio:auto;object-fit:contain;object-position:center;transform:none}
