/* R-GDB-G1. Content photographs retain the complete source image.
   Videos, posters, branding, icons, maps and embeds keep their existing rules. */
body #main img:not(:where(
  [src*=".svg"], [src*="logo"], [src*="icon"], [src*="badge"], [src*="seal"],
  [src*="homestars"], [src*="bbb"], [src*="houzz"], [src*="google-review"],
  [src*="poster"], [src*="video-thumb"], [src*="/map."], [src*="-map-"],
  [data-hero-video] img, [data-home-video] img, .gdb-hero-video img,
  .video-wrap img, .video-wrapper img, .hero-video-shell img,
  .home-credentials img, .credentials-strip img, .brand img, .logo img
)) {
  height: auto !important;
  max-height: none !important;
  aspect-ratio: auto !important;
  object-fit: contain !important;
  object-position: center !important;
  transform: none !important;
}

/* Let image containers follow the actual photo rather than a crop template. */
body #main :is(
  .hero-photo:not(.gdb-hero-video), .area-hero-photo:not(.gdb-hero-video), .service-story-photo,
  .service-planning-photo, .service-card-photo, .guide-thumbnail, .local-photo,
  .contact-photo, .contact-family-photo, .area-story-photos > figure,
  .showroom-photo, .showroom-grid > figure, .areas__fig,
  .ocard__ph, .scard__ph, .blog__ph, .wk__photo
) {
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  aspect-ratio: auto !important;
  align-self: start;
  background: transparent !important;
}
body #main :is(.hero-photo:not(.gdb-hero-video), .area-hero-photo:not(.gdb-hero-video),
  .service-story-photo, .service-planning-photo, .service-card-photo,
  .guide-thumbnail, .local-photo, .contact-photo, .contact-family-photo,
  .area-story-photos, .showroom-grid, .photo-slide, .areas__fig,
  .ocard__ph, .scard__ph, .blog__ph, .wk__photo, .area-service-card) picture {
  display: block;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  aspect-ratio: auto !important;
  background: transparent !important;
}

/* A fixed slideshow row contains each whole photo on its section surface. */
body #main .photo-slide:not(:has(video)) {
  background: transparent !important;
}
body #main .photo-slide:not(:has(video)) img:not([src*="poster"]) {
  max-height: min(65svh, 560px) !important;
}
body #main .photo-slide:not(:has(video)) :is(figure, picture) {
  height: auto !important;
  aspect-ratio: auto !important;
  background: transparent !important;
}

/* The showroom overlay shares the photo's own coordinate system. */
body #main #process.showroom-experience .showroom-photo > img {
  position: relative !important;
  inset: auto !important;
}

/* Keep portrait hero photographs inside a comfortable desktop height. */
@media (min-width: 901px) {
  body #main .hero-photo:not(.gdb-hero-video) img:not([src*="poster"]) {
    max-height: min(75svh, 680px) !important;
  }
}
@media (max-width: 700px) {
  body.homepage #main .home-guides-editorial .guide {
    grid-template-columns: 112px minmax(0, 1fr);
  }
}


/* R-GDB-P1. Phone controls and homepage benefits only below 768 pixels. */
@media(max-width:767px){
 body.gdb-mobile-contact-page:not(.gdb-contact-destination) .gdb-contact-widget{left:max(var(--space-s),env(safe-area-inset-left,0px));right:max(var(--space-s),env(safe-area-inset-right,0px));width:auto;max-width:none;justify-content:space-between;align-items:flex-end;gap:8px;pointer-events:none}
 body.gdb-mobile-contact-page .gdb-contact-widget .gdb-r2-call{flex:0 0 44px;align-self:flex-end}
 body.homepage .home-opening .home-values-section #why-choose-us{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 10px;align-items:start}
 body.homepage .home-opening .home-values-section #why-choose-us>.benefit-tile,
 body.homepage .home-opening .home-values-section #why-choose-us>.benefit-tile:is(:nth-child(4),:nth-child(6)){grid-column:auto}
 body.homepage .home-opening .home-values-section #why-choose-us .benefit-tile>summary{min-height:44px;padding:2px 0;align-items:flex-start}
 html[data-gdb-benefit-variant="divider"] body.homepage .home-opening .home-values-section #why-choose-us>.benefit-tile:nth-child(n+3)::before{content:"";display:block;position:absolute;inset:auto 0 auto 19px;top:-3px;width:auto;height:1px;border:0;background:rgba(0,0,0,.08);transform:none;pointer-events:none}
}


/* R-GDB-F1 showroom/spacing; R-GDB-F3a floating phone actions, Allen 15 Nov. */
#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;min-height:calc(65px + env(safe-area-inset-bottom,0px));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;background:transparent;box-shadow:none;justify-content:space-between;align-items:flex-end;gap:8px;pointer-events:none}
 body.gdb-mobile-contact-page:not(.gdb-contact-destination) .gdb-contact-widget :is(.gdb-r2-call,.gdb-contact-link){pointer-events:auto;box-shadow:0 4px 14px #28292426}
 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}

/* 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}

/* R-GDB-F3a: each benefit row shares title and description tracks. */
html body #main .benefits:not(#why-choose-us){row-gap:24px;align-items:stretch}
html body #main .benefits:not(#why-choose-us)>.benefit{display:grid;grid-row:span 2;grid-template-rows:subgrid;row-gap:8px;align-content:start}
html body #main .benefits:not(#why-choose-us)>.benefit>b{margin-block:0;align-self:start}
html body #main .benefits:not(#why-choose-us)>.benefit>span{display:block;align-self:start}
@media(max-width:767px){
 html body.homepage #main .home-opening .home-values-section #why-choose-us{grid-auto-rows:1fr;align-items:stretch}
}

/* R-GDB-F3a phone homepage simplification; desktop/tablet keep their sections. */
.credential-phone-title,.credential-phone-detail{display:none}
@media(max-width:767px){
 html body.homepage #main #process.showroom-experience .showroom-visit-grid{grid-template-columns:minmax(0,1fr);gap:12px}
 html body.homepage #main #process.showroom-experience .showroom-consultation{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;align-items:stretch;margin:0}
 html body.homepage #main #process.showroom-experience .showroom-consultation>:is(.eyebrow,h3,.showroom-invitation),
 html body.homepage #main #process.showroom-experience .showroom-detail-number,
 html body.homepage #main #process.showroom-experience .showroom-detail p{display:none}
 html body.homepage #main #process.showroom-experience .showroom-detail{display:block;min-width:0;padding:12px 8px;border:1px solid var(--line,#d8d6cd);background:var(--paper,#f6f3ec)}
 html body.homepage #main #process.showroom-experience .showroom-detail h4{font-size:12px;line-height:1.4;margin:0;letter-spacing:0;overflow-wrap:normal;word-break:normal}
 html body.homepage #main .faq>.home-faq-context,
 html body.homepage #main .faq>.home-faq-context+p{display:none}
 html body.homepage #main .home-review-editorial .gdb-review-context{display:none}
 html body.homepage #main .home-review-editorial .gdb-review-shell{grid-template-columns:minmax(0,1fr);gap:20px}
 html body.homepage #main .home-review-editorial .gdb-review-heading h2{margin-bottom:12px}
 html body.homepage #main .home-credentials-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:1fr;gap:10px;align-items:stretch}
 html body.homepage #main .home-credentials-grid>article{display:flex;flex-direction:column;min-width:0;padding:14px 12px;border:1px solid var(--line,#d8d6cd);background:var(--paper,#f6f3ec);gap:8px}
 html body.homepage #main .home-credentials-grid>article>:is(h3,p):not(.credential-phone-title,.credential-phone-detail){display:none}
 html body.homepage #main .home-credentials-grid .credential-phone-title{display:block;margin:0;font-size:14px;font-weight:600;line-height:1.4;color:var(--ink,#282924)}
 html body.homepage #main .home-credentials-grid .credential-phone-detail{display:block;margin:0;font-size:13px;line-height:1.5;color:var(--muted,#62635c)}
 html body.homepage #main .home-credentials-grid .credential-link{display:flex;align-items:center;min-height:44px;margin-top:auto;font-size:12px;line-height:1.4}
}

/* Allen direct UI requests, recorded 15 November 2026 23:31. */
html body.homepage #main #process.showroom-experience .showroom-detail h4{color:#864509}
html body.homepage #main #process.showroom-experience .showroom-detail-number{color:var(--orange,#f78c1e)}
@media(max-width:767px){
 /* Allen 16 November: lift the benefits and use short accents beneath each item. */
 html body.homepage #main .home-opening .home-hero-overlay .hero-copy{padding-bottom:8px}
 html body.homepage #main .home-opening .home-hero-overlay .hero-copy::after{content:none;display:none}
 html body.homepage #main .home-opening .home-values-section{padding-top:0}
 html body.homepage #main .home-opening .home-values-section #why-choose-us{gap:8px 20px;grid-auto-rows:1fr;align-items:stretch}
 html body.homepage #main .home-opening .home-values-section #why-choose-us>.benefit-tile,
 html body.homepage #main .home-opening .home-values-section #why-choose-us>.benefit-tile:nth-child(even),
 html body.homepage #main .home-opening .home-values-section #why-choose-us>.benefit-tile:nth-child(n+3){padding:0 0 12px;border:0;border-radius:0;background:transparent}
 html body.homepage #main .home-opening .home-values-section #why-choose-us .benefit-tile>summary{min-height:44px;padding:0;margin:0}
 html body.homepage #main .home-opening .home-values-section #why-choose-us .benefit-tile>summary::after{content:"";display:block;position:absolute;inset:auto auto -8px 19px;width:28px;height:2px;background:var(--orange,#f78c1e);border:0;transform:none;pointer-events:none}
 html body.homepage #main #process.showroom-experience .showroom-detail{border:1px solid #ead9c2;border-top:3px solid var(--orange,#f78c1e);background:#fff7ec;padding:11px 6px 12px}
}
html body #main .service-switch{flex-wrap:wrap;row-gap:8px}
html body #main .service-switch>a[aria-current=page]{flex-basis:100%;grid-column:1/-1;display:block;width:100%;max-width:100%;min-width:0;min-height:44px;box-sizing:border-box;padding:0 0 12px;margin:0 0 4px;border-bottom:2px solid var(--orange,#f78c1e);font:400 clamp(22px,2.6vw,30px)/1.25 SourceSerif,Georgia,serif;letter-spacing:-.015em;color:var(--ink-800,#282924);text-decoration:none;overflow-wrap:normal}

@media(max-width:359px){html body.homepage #main #process.showroom-experience .showroom-consultation{gap:4px}html body.homepage #main #process.showroom-experience .showroom-detail{padding-inline:2px}}

/* T-GDB-1116-04: desktop stays unchanged; phone labels reserve two explicit lines. */
.benefit-tick{display:none}
html body.homepage #main .home-values-section #why-choose-us .benefit-label-line{color:inherit;font:inherit;letter-spacing:inherit}
@media(max-width:767px){
 html body.homepage #main .home-opening .home-values-section #why-choose-us{
  grid-auto-rows:auto;gap:12px 20px;align-items:start;
 }
 html body.homepage #main .home-opening .home-values-section #why-choose-us>.benefit-tile,
 html body.homepage #main .home-opening .home-values-section #why-choose-us>.benefit-tile:nth-child(even),
 html body.homepage #main .home-opening .home-values-section #why-choose-us>.benefit-tile:nth-child(n+3){height:auto;min-height:0;padding:0}
 html body.homepage #main .home-opening .home-values-section #why-choose-us .benefit-tile>summary{
  display:grid;grid-template-columns:12px minmax(0,1fr);grid-template-rows:auto auto;
  align-content:start;align-items:start;justify-items:start;gap:8px 7px;
  min-height:0;height:auto;margin:0;padding:0;
 }
 html body.homepage #main .home-opening .home-values-section #why-choose-us .benefit-tile>summary::before{content:none;display:none}
 html body.homepage #main .home-opening .home-values-section #why-choose-us .benefit-tick{
  display:block;grid-column:1;grid-row:1;width:12px;height:20.25px;overflow:visible;
  color:var(--orange,#F78C1E);fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;
 }
 html body.homepage #main .home-opening .home-values-section #why-choose-us .benefit-tick-stroke{stroke-dasharray:1;stroke-dashoffset:0}
 html body.homepage #main .home-opening .home-values-section #why-choose-us .benefit-tile>summary b{
  grid-column:2;grid-row:1;margin:0;min-width:0;white-space:normal;text-wrap:wrap;
 }
 html body.homepage #main .home-opening .home-values-section #why-choose-us .benefit-label-line{display:block;white-space:nowrap;text-wrap:nowrap}
 html body.homepage #main .home-opening .home-values-section #why-choose-us .benefit-tile>summary::after{
  content:"";display:block;position:static;inset:auto;grid-column:2;grid-row:2;
  width:20px;height:2px;margin:0;padding:0;background:#E6E4DF;border:0;transform:none;transform-origin:left center;pointer-events:none;
 }
 #why-choose-us>.benefit-tile:nth-child(1){--benefit-order:0}
 #why-choose-us>.benefit-tile:nth-child(2){--benefit-order:1}
 #why-choose-us>.benefit-tile:nth-child(3){--benefit-order:2}
 #why-choose-us>.benefit-tile:nth-child(4){--benefit-order:3}
 #why-choose-us>.benefit-tile:nth-child(5){--benefit-order:4}
 #why-choose-us>.benefit-tile:nth-child(6){--benefit-order:5}
 html body.homepage #main .home-opening .home-values-section #why-choose-us.benefits-reveal-ready .benefit-tick-stroke{stroke-dashoffset:1}
 html body.homepage #main .home-opening .home-values-section #why-choose-us.benefits-reveal-ready .benefit-tile>summary::after{transform:scaleX(0)}
 html body.homepage #main .home-opening .home-values-section #why-choose-us.benefits-reveal-running .benefit-tick-stroke{
  animation:gdb-benefit-tick-draw .35s ease-out calc(var(--benefit-order)*.25s) both;
 }
 html body.homepage #main .home-opening .home-values-section #why-choose-us.benefits-reveal-running .benefit-tile>summary::after{
  animation:gdb-benefit-line-grow .25s ease-out calc(var(--benefit-order)*.25s + .35s) both;
 }
}
@keyframes gdb-benefit-tick-draw{from{stroke-dashoffset:1}to{stroke-dashoffset:0}}
@keyframes gdb-benefit-line-grow{from{transform:scaleX(0)}to{transform:scaleX(1)}}
@media(prefers-reduced-motion:reduce){
 html body.homepage #main .home-opening .home-values-section #why-choose-us .benefit-tick-stroke{animation:none!important;stroke-dashoffset:0!important}
 html body.homepage #main .home-opening .home-values-section #why-choose-us .benefit-tile>summary::after{animation:none!important;transform:none!important}
}


/* R-GDB-F2: equal 4:3 frames within repeated photo components.
   A photo is contained in its frame. Single heroes and split photos keep G1. */

html body #main :is(.photo-slide, .area-service-card, .area-story-photos > figure) img:not([src*="poster"]),
html body #main :is(.service-card-photo, .scard__ph, .ocard__ph, .blog__ph, .wk__photo) img {
  display: block;
  width: 100%;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  aspect-ratio: 4 / 3 !important;
  object-fit: contain !important;
  object-position: center !important;
  transform: none !important;
  background: transparent !important;
}

/* These wrappers previously inherited the single-photo auto-ratio reset. */
html body #main :is(.service-card-photo, .scard__ph, .ocard__ph, .blog__ph, .wk__photo, .area-story-photos > figure) {
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  aspect-ratio: 4 / 3 !important;
  background: transparent !important;
}
html body #main :is(.service-card-photo, .scard__ph, .ocard__ph, .blog__ph, .wk__photo, .area-story-photos > figure) picture {
  display: block;
  width: 100%;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  aspect-ratio: 4 / 3 !important;
  background: transparent !important;
}

/* A project caption sits below its image frame, outside the 4:3 area. */
html body #main .photo-slide > :is(figure, picture),
html body #main .photo-slide > figure > picture {
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  aspect-ratio: auto !important;
  background: transparent !important;
}

/* Existing guide thumbnails use positioned images inside their frames. */
html body.homepage #main .home-guides-editorial .guide .guide-thumbnail {
  aspect-ratio: 4 / 3 !important;
}

/* The new storefront photograph in the About gallery is part of its row. */
html body #main .photo-slide img[data-gdb-storefront="about"] {
  aspect-ratio: 4 / 3 !important;
  background: transparent !important;
}

/* Allen 17:36: realistic-glass storefront and steady option B lettering, four spots. */
html body #main .gdb-storefront-media{position:relative;display:block;width:100%;isolation:isolate}
html body #main .gdb-storefront-media > picture{display:block;width:100%;height:auto!important;aspect-ratio:auto!important}
html body #main .gdb-storefront-media .gdb-storefront-glow{position:absolute;left:calc(50% + min(2.538314176245%, 1.494691439947svh));top:43.928334439283%;display:block;width:min(76.532567049808%, 45.066357000664svh);height:auto;aspect-ratio:799/188;pointer-events:none;mix-blend-mode:normal;opacity:1;animation:none;transform:translateX(-50%);overflow:hidden}
html body #main :is(.showroom-photo,.hero-photo,.contact-photo) .gdb-storefront-media img[data-gdb-storefront]{display:block;width:100%;height:auto!important;aspect-ratio:auto!important;min-height:0!important;max-height:85svh!important;object-fit:contain!important;object-position:center!important;background:transparent!important}
html body #main .photo-slide .gdb-storefront-media img[data-gdb-storefront="about"]{aspect-ratio:4/3!important;max-height:none!important}

/* Keep the compositing surface confined to the sign, including portrait-in-row letterboxing. */
html body #main .gdb-storefront-media > picture{transform:translateZ(0)}
html body #main .photo-slide .gdb-storefront-media .gdb-storefront-glow{left:51.318845388188%;width:39.764432647644%}

/* Single storefront boxes follow the portrait photo within the viewport cap. */
html body #main :is(.showroom-photo,.hero-photo,.contact-photo) .gdb-storefront-media{width:min(100%,58.885202388852svh);margin-inline:auto}

/* A row frame fills its card even when its existing align-self is start. */
html body #main :is(.service-card-photo,.scard__ph,.ocard__ph,.blog__ph,.wk__photo,.area-story-photos>figure){width:100%}

/* R-GDB-F2 blank columns: desktop-only placement; original phone galleries remain intact. */
html body #main .gdb-f2-column-photo{display:none}
@media(min-width:900px){
  html body #main .gdb-f2-sticky-column{position:sticky!important;top:var(--gdb-f2-sticky-top,96px)!important;align-self:start!important}
  html body #main .gdb-f2-column-photo{display:block;margin:24px 0 0;padding:0;max-width:100%;background:transparent}
  html body #main .gdb-f2-column-photo>picture{display:block;width:auto;height:auto!important;aspect-ratio:auto!important;background:transparent!important}
  html body #main .gdb-f2-column-photo img{display:block;position:static!important;width:auto!important;max-width:100%!important;height:auto!important;max-height:var(--gdb-f2-photo-cap,40svh)!important;min-height:0!important;aspect-ratio:auto!important;object-fit:contain!important;object-position:center!important;transform:none!important;margin-inline:auto;background:transparent!important}
  html body #main .gdb-f2-column-caption{position:static!important;transform:none!important;opacity:1!important;background:transparent!important;color:inherit!important;padding:8px 0 0!important;font-size:13px;line-height:1.4}
  html body #main .gdb-f2-gallery-source,html body #main .gdb-f2-desktop-empty-gallery{display:none!important}
  /* Existing homepage words and photo retained; full-width intro above a balanced two-column list. */
  html body.homepage #main .home-restored-planning{display:block}
  html body.homepage #main .home-restored-planning>div:first-child{max-width:none}
  html body.homepage #main .home-restored-planning .service-story-photo{margin-inline:auto!important}
  html body.homepage #main .home-planning-copy{margin-top:32px}
  html body.homepage #main .home-planning-points{display:block;column-count:2;column-gap:48px}
  html body.homepage #main .home-planning-points>li{break-inside:avoid}
}

/* Claude18:26: two side-by-side narrative photos share one whole-photo frame. */
@media(min-width:900px){
 html body #main .gdb-f2-paired-media{width:var(--gdb-f2-frame-width)!important;max-width:100%!important;height:auto!important;aspect-ratio:auto!important;margin-top:var(--gdb-f2-photo-gap,24px)!important;margin-inline:auto!important;background:transparent!important}
 html body #main .gdb-f2-paired-media picture{display:block;width:100%!important;height:auto!important;aspect-ratio:auto!important}
 html body #main .gdb-f2-paired-media img{width:100%!important;max-width:100%!important;height:var(--gdb-f2-frame-height)!important;max-height:none!important;aspect-ratio:4/3!important;object-fit:contain!important;object-position:center!important;background:transparent!important}
}

/* Proposed no-photo fallback for the explicitly inventoried enquiry sections. */
@media(min-width:900px){
 html body #main .gdb-f2-stacked-enquiry{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:32px!important}
 html body #main .gdb-f2-stacked-enquiry>div{width:100%!important;max-width:760px!important;margin-inline:auto!important}
}

/* Align desktop enquiry copy to the embedded form field inset, without changing the form. */
@media(min-width:900px){html body #main .gdb-f2-stacked-enquiry>div:first-child{box-sizing:border-box;padding-inline:14px}}

/* Keep copied captions at their column width; only the paired image frames share the capped width. */
@media(min-width:900px){
 html body #main .gdb-f2-column-photo.gdb-f2-paired-media{width:100%!important}
 html body #main .gdb-f2-column-photo.gdb-f2-paired-media>picture{width:var(--gdb-f2-frame-width)!important;max-width:100%;margin-inline:auto}
}

/* Allen20:20 / Claude20:18–20:20: retain three gallery photos and balance the named sections. */
@media(min-width:900px){
 html body #main .gdb-f2-centred-story{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;grid-template-rows:1fr auto auto auto 1fr;column-gap:40px;row-gap:0;align-items:start!important}
 html body #main .gdb-f2-centred-story>div:first-child{display:contents!important}
 html body #main .gdb-f2-centred-story>div:first-child>.eyebrow{grid-column:2;grid-row:2}
 html body #main .gdb-f2-centred-story>div:first-child>h2{grid-column:2;grid-row:3;margin-bottom:20px}
 html body #main .gdb-f2-centred-story>div:first-child>figure,html body #main .gdb-f2-centred-story>figure{grid-column:1;grid-row:1/6;align-self:center!important;position:static!important;margin:0!important;width:100%;max-width:none!important}
 html body #main .gdb-f2-centred-story>div:nth-child(2){grid-column:2;grid-row:4;position:static!important;max-width:none!important;align-self:start!important;padding-top:0!important;margin-top:0!important}
 html body #main .gdb-f2-centred-story img{width:100%!important;height:auto!important;max-height:85svh;object-fit:contain!important}
 html body #main .gdb-f2-centred-split{display:grid!important;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr)!important;align-items:center!important;gap:40px!important}
 html body #main .gdb-f2-centred-split>div,html body #main .gdb-f2-centred-split>figure{position:static!important;align-self:center!important;width:100%;max-width:none!important;margin-top:0!important}
 html body #main .gdb-f2-centred-split img{max-height:85svh!important;object-fit:contain!important}
 html body #main .gdb-f2-stacked-band{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:24px!important}
 html body #main .gdb-f2-stacked-band>div{position:static!important;max-width:none!important}
 html body #main .gdb-f2-stacked-band .intro-body{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 40px}
 html body #main .gdb-f2-stacked-band .intro-body>p{margin:0}
 html body #main .gdb-f2-text-band{display:block!important}
 html body #main .gdb-f2-text-band>.qual__list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 40px}
 html body #main .gdb-f2-text-band>.qual__verdict{max-width:none;margin-top:32px}
}
@media(min-width:900px) and (max-width:1099px){
 html body #main .gdb-f2-natural-narrative{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:32px!important}
 html body #main .gdb-f2-natural-narrative>div,html body #main .gdb-f2-natural-narrative>figure{position:static!important;max-width:760px;width:100%;margin-inline:auto!important}
 html body #main .gdb-f2-natural-narrative .gdb-f2-column-photo{margin-inline:auto!important}
}

/* Keep centred narrative images within the text's visual band. */
@media(min-width:900px){
 html body #main .gdb-f2-centred-split img{display:block;width:auto!important;height:auto!important;max-width:100%!important;max-height:70svh!important;margin-inline:auto}
 html body #main .gdb-f2-centred-split>figure picture{height:auto!important;aspect-ratio:auto!important}
}
@media(min-width:900px) and (max-width:1099px){
 html body #main .gdb-f2-tablet-pair-rows{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:24px!important;align-items:start!important}
 html body #main .gdb-f2-tablet-pair-rows>.sx__col{display:contents!important}
 html body #main .gdb-f2-tablet-pair-rows>.sx__col>.sx__top{grid-column:1/-1;grid-row:1}
 html body #main .gdb-f2-tablet-pair-rows>.sx__col>.gdb-f2-column-photo{grid-column:1;grid-row:2}
 html body #main .gdb-f2-tablet-pair-rows>figure{grid-column:2;grid-row:2;position:static!important;align-self:start!important}
}
/* R-GDB-F3c: Allen22:12, all four letter-only overlays pulse on a two-second cycle. */
@keyframes gdb-storefront-soft-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .3; }
}
@media (prefers-reduced-motion: no-preference) {
  html body #main .gdb-storefront-media .gdb-storefront-glow {
    animation: gdb-storefront-soft-pulse 2s ease-in-out infinite;
  }
}
@media (prefers-reduced-motion: reduce) {
  html body #main .gdb-storefront-media .gdb-storefront-glow {
    animation: none;
    opacity: 1;
  }
}

/* Allen20:53: desktop/tablet rows show natural-ratio photos with identical visible heights. */
@media(min-width:768px){
 html body #main#main .gdb-f2-row-card .gdb-f2-row-img{
  display:block!important;position:static!important;inset:auto!important;
  width:var(--gdb-f2-row-width)!important;height:var(--gdb-f2-row-height)!important;
  min-width:0!important;min-height:0!important;max-width:100%!important;max-height:none!important;
  aspect-ratio:auto!important;object-fit:contain!important;object-position:center!important;
  transform:none!important;margin-inline:auto!important;background:transparent!important;
 }
 html body #main#main .gdb-f2-row-card .gdb-f2-row-media{
  display:block!important;position:static!important;inset:auto!important;
  width:100%!important;height:auto!important;min-height:0!important;max-height:none!important;
  aspect-ratio:auto!important;overflow:visible!important;background:transparent!important;
 }
 html body #main#main .gdb-f2-row-card .gdb-storefront-media{
  position:relative!important;width:var(--gdb-f2-row-width)!important;margin-inline:auto!important;
 }
 html body #main#main .gdb-f2-row-card .gdb-storefront-media .gdb-storefront-glow{
  left:52.538314176245%;width:76.532567049808%;
 }
 html body #main#main .gdb-f2-natural-strip>.gdb-f2-row-card{
  flex:0 0 var(--gdb-f2-row-width)!important;width:var(--gdb-f2-row-width)!important;
  min-width:0!important;max-width:none!important;
 }
}
@media(min-width:900px){
 html body #main#main .gdb-f2-paired-media img{aspect-ratio:auto!important}
}
/* Two tablet notes accepted for a simple correction by Claude20:53. */
@media(min-width:900px) and (max-width:1099px){
 html body #main#main .gdb-f2-tablet-heading-list{grid-template-columns:minmax(0,1fr)!important;gap:24px!important}
 html body #main#main .gdb-f2-tablet-heading-list h2{max-width:none!important}
 html body #main#main .gdb-f2-tablet-intro-top{align-items:flex-start!important}
}
