/* VERTEX B2 project tours — owner-approved interactive gallery, isolated from A/B themes. */
.heritage #work.vg-work{position:relative;left:50%;width:100vw;max-width:100vw;margin-left:-50vw;padding:30px 0 0;border:0;overflow:visible;background:var(--paper)}
.heritage #work .vg-intro{text-align:center;max-width:780px;margin:0 auto 27px;padding:0 18px}
.heritage #work .vg-kicker{color:#895532;font:700 11px/1.3 Arial,sans-serif;letter-spacing:.15em;text-transform:uppercase;margin:0 0 12px}
.heritage #work .vg-intro h2{font:400 clamp(27px,3.6vw,48px)/1.1 Georgia,serif;letter-spacing:-.035em;margin:0 0 11px;color:#272c28}
.heritage #work .vg-intro>p:last-child{font-size:clamp(13px,1.15vw,16px);color:#5b5b54;line-height:1.5;margin:0}
.heritage #work .vg-gallery{width:100%;position:relative}
.heritage #work .vg-stage{height:clamp(340px,48vw,720px);position:relative;background:#2e302a;overflow:hidden}
.heritage #work #vg-cover{display:block;width:100%;height:100%;object-fit:cover;object-position:center;transition:filter .2s}
.heritage #work .vg-stage:hover #vg-cover{filter:brightness(.96)}
.heritage #work .vg-stage:after{content:'';position:absolute;inset:40% 0 0;pointer-events:none;background:linear-gradient(transparent,#111a17a8)}
.heritage #work .vg-stage-open{z-index:1;position:absolute;inset:0;border:0;background:transparent;cursor:zoom-in}
.heritage #work .vg-stage-open:focus-visible{outline:4px solid #fff;outline-offset:-7px}
.heritage #work .vg-stage-caption{position:absolute;left:clamp(20px,5vw,85px);bottom:clamp(27px,4vw,59px);z-index:2;max-width:min(70%,520px);color:#fff;pointer-events:none;text-shadow:0 1px 6px #0008}
.heritage #work .vg-stage-caption small{font:700 11px/1.3 Arial,sans-serif;letter-spacing:.17em;color:#f6eee4}
.heritage #work .vg-stage-caption h3{font:400 clamp(27px,3.8vw,55px)/1.06 Georgia,serif;letter-spacing:-.03em;margin:9px 0 6px;color:#fff}
.heritage #work .vg-stage-caption p{color:#f2efe9;font-size:clamp(13px,1.2vw,16px);margin:0 0 16px}
.heritage #work .vg-explore{display:inline-block;border-bottom:1px solid #d4c5b5;padding-bottom:7px;font:700 14px Arial,sans-serif;color:#fff}
.heritage #work .vg-stage-nav{z-index:3;position:absolute;top:50%;transform:translateY(-50%);border:0;background:#141a17a8;color:white;width:46px;height:56px;font:400 38px/1 Georgia,serif;display:grid;place-items:center;cursor:pointer}
.heritage #work .vg-stage-nav:hover,.heritage #work .vg-stage-nav:focus-visible{background:#161c18ed}
.heritage #work .vg-prev{left:0}.heritage #work .vg-next{right:0}
.heritage #work .vg-counter{z-index:3;position:absolute;right:clamp(16px,3vw,46px);top:20px;background:#2228;color:white;font:700 12px/1.2 Arial,sans-serif;letter-spacing:.1em;padding:8px 12px}
.heritage #work .vg-project-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));width:100%;max-width:none;padding:0;margin:0;background:var(--paper)}
.heritage #work .vg-project{display:flex;align-items:center;gap:14px;text-align:left;min-width:0;background:transparent;border:0;border-bottom:3px solid transparent;padding:14px 10px;cursor:pointer;color:#302b27}
.heritage #work .vg-project:hover{background:#eee8de}.heritage #work .vg-project[aria-pressed=true]{border-bottom-color:#895532;background:#eee8de}
.heritage #work .vg-project img{width:105px;height:68px;object-fit:cover;flex:none}
.heritage #work .vg-project-text{display:flex;min-width:0;flex-direction:column;gap:6px}
.heritage #work .vg-project-text small{font:700 10px/1.1 Arial,sans-serif;letter-spacing:.1em;color:#895532}
.heritage #work .vg-project-text strong{font:500 clamp(12px,1vw,15px)/1.25 Arial,sans-serif}
.heritage #work .vg-after{display:flex;justify-content:space-between;align-items:center;gap:26px;max-width:1240px;padding:32px 30px 50px;margin:0 auto}
.heritage #work .vg-after strong{font:400 clamp(20px,2vw,28px)/1.2 Georgia,serif;color:#272c28}
.heritage #work .vg-after p{margin:7px 0 0;font-size:14px;color:#5b5b54}
.heritage #work .vg-cta{flex:none;display:inline-flex;align-items:center;justify-content:center;gap:12px;padding:14px 22px;border:1px solid #895532;color:#895532;font-weight:700;text-decoration:none;background:transparent}
.heritage #work .vg-cta:hover{background:#895532;color:#fff}
/* Native dialog manages focus, Escape, and modal semantics. */
.heritage #vg-viewer.vg-dialog{border:0;padding:0;max-height:96dvh;height:min(94dvh,930px);max-width:min(96vw,1480px);width:96vw;background:#252b28;color:#fff;box-shadow:0 25px 90px #0009;overflow:hidden}
.heritage #vg-viewer.vg-dialog::backdrop{background:rgba(6,9,7,.84)}
.heritage #vg-viewer .vg-viewer{height:100%;display:flex;flex-direction:column;min-width:0}
.heritage #vg-viewer .vg-viewer-head{background:#f7f4ee;color:#272c28;padding:16px clamp(18px,2.8vw,38px);display:flex;align-items:center;justify-content:space-between;gap:10px;flex:none}
.heritage #vg-viewer .vg-viewer-head h3{font:400 clamp(17px,2.2vw,26px)/1.2 Georgia,serif;margin:0}
.heritage #vg-viewer .vg-viewer-head p{font:400 12px/1.3 Arial,sans-serif;color:#5b5b54;margin:6px 0 0}
.heritage #vg-viewer .vg-close{background:transparent;color:#272c28;font:400 35px/1 Arial,sans-serif;border:0;cursor:pointer;width:43px;height:43px;flex:none}
.heritage #vg-viewer .vg-viewer-main{background:#101615;flex:1;display:flex;align-items:center;justify-content:center;min-height:0;position:relative;padding:10px 54px;touch-action:pan-y}
.heritage #vg-viewer .vg-viewer-main img{display:block;width:auto;max-width:100%;max-height:100%;height:100%;object-fit:contain}
.heritage #vg-viewer .vg-room-nav{position:absolute;top:50%;transform:translateY(-50%);width:42px;height:54px;background:#3a423cd9;color:white;border:0;font:400 32px/1 Georgia,serif;cursor:pointer}
.heritage #vg-viewer .vg-room-nav:hover{background:#5b645cf0}
.heritage #vg-viewer .vg-room-prev{left:0}.heritage #vg-viewer .vg-room-next{right:0}
.heritage #vg-viewer .vg-room-name{position:absolute;bottom:14px;left:clamp(15px,4vw,60px);padding:8px 12px;color:white;background:#151c18d9;font:600 12px/1.3 Arial,sans-serif;letter-spacing:.05em}
.heritage #vg-viewer .vg-thumbs{display:flex;gap:9px;padding:12px clamp(12px,2.5vw,35px);overflow-x:auto;background:#252b28;flex:none}
.heritage #vg-viewer .vg-thumb{border:2px solid transparent;background:#1c211e;padding:0;flex:none;cursor:pointer;opacity:.65}
.heritage #vg-viewer .vg-thumb[aria-pressed=true]{border-color:#f5eade;opacity:1}
.heritage #vg-viewer .vg-thumb img{width:100px;height:62px;object-fit:cover;display:block}
.heritage #vg-viewer .vg-viewer-footer{padding:12px clamp(16px,2.8vw,38px);display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid #ffffff35;flex:none;font:600 13px/1.4 Arial,sans-serif;color:#ddd8d0}
.heritage #vg-viewer .vg-viewer-footer a{color:white;border-bottom:1px solid #c9a68c;padding:5px 0;text-decoration:none}
.heritage #vg-viewer .vg-viewer-footer a:hover{color:#e1bc9b}
@media(max-width:780px){
 .heritage #work.vg-work{padding-top:20px}
 .heritage #work .vg-intro{margin-bottom:20px}
 .heritage #work .vg-stage{height:clamp(330px,75vw,520px)}
 .heritage #work .vg-stage-caption{left:22px;right:50px;bottom:24px;max-width:none}
 .heritage #work .vg-stage-caption h3{font-size:clamp(25px,5.5vw,37px)}
 .heritage #work .vg-stage-nav{width:34px;height:49px;font-size:28px}
 .heritage #work .vg-project-strip{grid-template-columns:repeat(2,minmax(0,1fr));padding:0;gap:0}
 .heritage #work .vg-project{flex-direction:column;align-items:flex-start;gap:7px;padding:10px 6px}
 .heritage #work .vg-project img{width:100%;height:62px}
 .heritage #work .vg-project-text small{font-size:9px}
 .heritage #work .vg-project-text strong{font-size:clamp(10px,2.8vw,13px)}
 .heritage #work .vg-after{flex-direction:column;align-items:flex-start;padding:25px 20px 38px;gap:20px}
 .heritage #work .vg-cta{width:100%}
 .heritage #vg-viewer.vg-dialog{width:100vw;max-width:100vw;height:100dvh;max-height:100dvh}
 .heritage #vg-viewer .vg-viewer-main{padding:5px 30px}
 .heritage #vg-viewer .vg-room-nav{width:28px;height:48px;font-size:23px}
 .heritage #vg-viewer .vg-viewer-head{padding:12px 14px}
 .heritage #vg-viewer .vg-viewer-head p{display:none}
 .heritage #vg-viewer .vg-thumb img{width:68px;height:50px}
 .heritage #vg-viewer .vg-viewer-footer{padding:12px 16px;font-size:12px}
}
@media(prefers-reduced-motion:reduce){.heritage #work #vg-cover{transition:none}}

/* Original walkthrough covers are 1280x720 raster frames. Do not enlarge the
   photograph to 1920px on large monitors: preserve native-pixel sharpness and
   frame it in the paper-coloured gallery instead. */
@media(min-width:781px){
 .heritage #work .vg-gallery{max-width:1280px;margin-inline:auto}
 .heritage #work .vg-stage{height:auto;aspect-ratio:16/9}
 .heritage #work #vg-cover{width:100%;height:100%;object-fit:cover}
}
.heritage #vg-viewer .vg-viewer-main img{
 width:auto;height:auto;max-width:min(100%,1280px);max-height:100%;object-fit:contain;
}

/* Keep all four selectors readable while preserving the aligned gallery edges. */
@media (min-width:781px) and (max-width:1100px){.heritage #work .vg-project{gap:9px;padding:12px 8px}.heritage #work .vg-project img{width:76px;height:56px}}
.heritage #work .vg-project-text strong{overflow-wrap:anywhere}
@media(max-width:780px){.heritage #work .vg-project{flex-direction:row;align-items:center;padding:10px 8px;gap:9px}.heritage #work .vg-project img{width:clamp(52px,15vw,90px);height:54px}.heritage #work .vg-project-text small{font-size:8px;line-height:1.3}}

/* Four curated project selectors on desktop, two per row on mobile. */
.heritage #work .vg-photo-fit #vg-cover{object-fit:contain}
.heritage #vg-viewer .vg-room-nav:disabled{display:none}
.heritage #work[data-gallery-scope="commercial"] .vg-project-strip,.heritage #work[data-gallery-scope="residential"] .vg-project-strip{grid-template-columns:repeat(2,minmax(0,1fr))}
@media(min-width:1101px){.heritage #work[data-gallery-scope="all"] .vg-project-strip{grid-template-columns:repeat(4,minmax(0,1fr))}.heritage #work[data-gallery-scope="all"] .vg-project{flex-direction:column;align-items:flex-start;gap:8px;padding:12px 8px}.heritage #work[data-gallery-scope="all"] .vg-project img{width:100%;height:72px}.heritage #work[data-gallery-scope="all"] .vg-project-text small{font-size:9px}}


/* Keep the project strip aligned to the main photograph after portfolio curation. */
.heritage #work[data-gallery-scope="residential"] .vg-project-strip{grid-template-columns:minmax(0,1fr)}
.heritage #work .vg-stage-nav:disabled{display:none}
@media(min-width:781px) and (max-width:1100px){.heritage #work[data-gallery-scope="all"] .vg-project-strip{grid-template-columns:repeat(4,minmax(0,1fr))}.heritage #work[data-gallery-scope="all"] .vg-project{flex-direction:column;align-items:flex-start;gap:8px}.heritage #work[data-gallery-scope="all"] .vg-project img{width:100%;height:64px}}

/* Sugar Rush: two genuine project photographs, different camera angles.
   Equal image frames keep the comparison aligned without cropping either photo. */
.heritage .vc-transformation{padding-block:clamp(38px,6vw,80px);background:var(--paper);scroll-margin-top:100px}
.heritage .vc-transformation-intro{max-width:700px;margin:0 auto 28px;text-align:center}
.heritage .vc-transformation-intro .eyebrow{color:#895532;letter-spacing:.15em;margin:0 0 12px}
.heritage .vc-transformation-intro h2{font:400 clamp(27px,3.6vw,46px)/1.12 Georgia,serif;letter-spacing:-.03em;margin:0 0 12px;color:#272c28}
.heritage .vc-transformation-intro>p:last-child{font-size:15px;color:#5b5b54;margin:0;line-height:1.6}
.heritage .vc-transformation-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;max-width:1180px;margin:0 auto}
.heritage .vc-transformation-figure{min-width:0;margin:0;border:1px solid #d9cfc3;background:#fffdf9}
.heritage .vc-transformation-image{position:relative;aspect-ratio:4/3;background:#e8e4dd;overflow:hidden}
.heritage .vc-transformation-image img{display:block;width:100%;height:100%;object-fit:contain}
.heritage .vc-transformation-label{position:absolute;top:14px;left:14px;background:#252c31;color:#fff;font:700 10px/1.3 Arial,sans-serif;text-transform:uppercase;letter-spacing:.12em;padding:9px 12px}
.heritage .vc-transformation-label.vc-completed{background:#895532}
.heritage .vc-transformation-figure figcaption{padding:17px 18px 18px}
.heritage .vc-transformation-figure figcaption strong{display:block;color:#272c28;font:400 clamp(20px,2vw,26px)/1.2 Georgia,serif;margin-bottom:7px}
.heritage .vc-transformation-figure figcaption span{font:400 13px/1.5 Arial,sans-serif;color:#70645a}
.heritage .vc-transformation-signoff{max-width:1180px;margin:26px auto 0;padding-top:20px;border-top:1px solid #d9cfc3;text-align:center;color:#70645a;font:italic clamp(17px,2vw,22px)/1.4 Georgia,serif}
.heritage #vg-viewer .vg-compare-link[hidden]{display:none!important}
.heritage #vg-viewer .vg-viewer-footer{flex-wrap:wrap}
@media(max-width:640px){.heritage .vc-transformation-grid{grid-template-columns:minmax(0,1fr);gap:14px}.heritage .vc-transformation-figure figcaption{padding:14px}.heritage .vc-transformation-label{top:10px;left:10px}}


/* Before/after use two ACTUAL project photographs. The viewpoints differ:
   align the visible interior visually, without synthesizing or falsifying work.
   A slow left-to-right reveal adds a bright gold scanner that makes white
   unfinished walls appear illuminated as the finished retail scene enters. */
.heritage #work #vg-cover[hidden],
.heritage #work .vg-stage-comparison[hidden],
.heritage #work .vg-retail-toggle[hidden]{display:none!important}
.heritage #work .vg-stage-comparison{
 --retail-scan-time:2.5s;
 position:absolute;inset:0;overflow:hidden;background:#f1efeb;
}
.heritage #work .vg-stage-comparison img{
 position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover;
}
.heritage #work .vg-stage-comparison .vg-retail-before{
 object-position:center 75%;
 filter:brightness(1.10) contrast(.92) saturate(.78);
}
/* Clip the containing layer, not the photo. It keeps both photographs on
   exactly the same visual canvas, and the scanning edge aligned with the glow
   even when the completed interior receives a subtle editorial crop. */
.heritage #work .vg-retail-after-layer{
 position:absolute;inset:0;overflow:hidden;clip-path:inset(0 100% 0 0);
 transition:clip-path var(--retail-scan-time) cubic-bezier(.37,0,.21,1);
}
.heritage #work .vg-stage-comparison.is-completed .vg-retail-after-layer{
 clip-path:inset(0 0 0 0);
}
.heritage #work .vg-stage-comparison .vg-retail-after{
 object-position:center 92%;
 transform:scale(1.035);
 transform-origin:center 80%;
 filter:brightness(1.04) contrast(1.03) saturate(1.12);
}
/* A warm film of light just ahead of the reveal edge. */
.heritage #work .vg-retail-scanline{
 position:absolute;z-index:1;top:0;bottom:0;left:0;width:4px;
 transform:translateX(-50%);pointer-events:none;opacity:0;
 background:linear-gradient(90deg,#c68b2b 0%,#fff5c9 35%,#fffdf0 55%,#da9c35 100%);
 box-shadow:0 0 0 1px rgba(255,246,203,.85),
            0 0 13px 4px rgba(255,215,110,.95),
            0 0 32px 12px rgba(244,178,63,.63),
            0 0 70px 26px rgba(245,195,107,.30);
 transition:left var(--retail-scan-time) cubic-bezier(.37,0,.21,1),opacity .13s ease;
}
.heritage #work .vg-retail-scanline::before{
 content:"";position:absolute;top:0;bottom:0;left:-57px;width:114px;
 background:linear-gradient(90deg,transparent 0%,rgba(255,220,123,.08) 17%,
 rgba(255,238,175,.32) 47%,rgba(255,243,199,.42) 53%,rgba(250,187,80,.07) 86%,transparent);
 filter:blur(11px);mix-blend-mode:screen;
}
.heritage #work .vg-retail-scanline::after{
 content:"";position:absolute;top:0;bottom:0;left:-4px;width:12px;
 background:linear-gradient(90deg,transparent,#fff9d9 45%,#fffdf3 55%,transparent);
 filter:blur(3px);
}
.heritage #work .vg-stage-comparison.is-completed .vg-retail-scanline{left:100%}
.heritage #work .vg-stage-comparison.is-scanning .vg-retail-scanline{opacity:1}
.heritage #work .vg-stage-comparison.is-resetting .vg-retail-after-layer,
.heritage #work .vg-stage-comparison.is-resetting .vg-retail-scanline{transition:none!important}
.heritage #work .vg-retail-phase{
 position:absolute;top:20px;left:clamp(16px,3vw,46px);
 background:rgba(29,35,31,.88);color:#fff;padding:8px 12px;
 font:700 11px/1.2 Arial,sans-serif;letter-spacing:.12em;text-transform:uppercase;
}
.heritage #work .vg-retail-toggle{
 position:absolute;z-index:4;top:56px;left:clamp(16px,3vw,46px);
 background:rgba(29,35,31,.86);border:1px solid #fff8;color:#fff;
 padding:8px 12px;font:600 12px/1.35 Arial,sans-serif;
}
.heritage #work .vg-retail-toggle:hover{background:#252c31}
.heritage #work .vg-comparison-active .vg-stage-caption{max-width:min(75%,650px)}
@media(max-width:780px){
 .heritage #work .vg-comparison-active .vg-stage-caption{max-width:none}
 .heritage #work .vg-stage-comparison .vg-retail-before{
  object-position:center 70%;transform:scale(1.065);transform-origin:center 80%;
 }
 .heritage #work .vg-stage-comparison .vg-retail-after{
  object-position:center bottom;transform:scale(1.33);transform-origin:center bottom;
 }
 .heritage #work .vg-retail-scanline{width:3px;
  box-shadow:0 0 11px 4px rgba(255,216,114,.95),
             0 0 25px 10px rgba(244,178,63,.67),
             0 0 50px 20px rgba(245,195,107,.29)}
 .heritage #work .vg-retail-phase{top:12px;left:12px;font-size:10px}
 .heritage #work .vg-retail-toggle{top:46px;left:12px;font-size:11px}
}
@media(prefers-reduced-motion:reduce){
 .heritage #work .vg-stage-comparison .vg-retail-after-layer,
 .heritage #work .vg-retail-scanline{transition:none!important}
 .heritage #work .vg-retail-scanline{display:none!important}
}

/* Consistent vector arrows: never rely on emoji or font-specific chevrons. */
.heritage #work .vg-icon,.heritage #vg-viewer .vg-icon{
  display:inline-block;width:16px;height:16px;flex:0 0 auto;vertical-align:middle;
}
.heritage #work .vg-explore,.heritage #work .vg-cta,.heritage #vg-viewer .vg-viewer-footer a{
  display:inline-flex;align-items:center;gap:7px;
}
.heritage #work .vg-stage-nav,.heritage #vg-viewer .vg-room-nav,.heritage #vg-viewer .vg-close{
  display:grid;place-items:center;padding:0;
}
.heritage #work .vg-stage-nav .vg-icon,.heritage #vg-viewer .vg-room-nav .vg-icon,.heritage #vg-viewer .vg-close .vg-icon{
  width:24px;height:24px;
}
.heritage #work .vg-stage-nav:disabled,.heritage #vg-viewer .vg-room-nav:disabled{display:none}
.heritage #work .vg-retail-toggle:not([hidden]){display:inline-flex;align-items:center;gap:6px}
.heritage #work .vg-retail-toggle .vg-icon{width:14px;height:14px}
.heritage #work .vg-retail-toggle .vg-replay-icon,
.heritage #work .vg-retail-toggle[data-phase="completed"] .vg-advance-icon{display:none}
.heritage #work .vg-retail-toggle[data-phase="completed"] .vg-replay-icon{display:inline-block}
@media(max-width:780px){
  .heritage #work .vg-stage-nav .vg-icon,.heritage #vg-viewer .vg-room-nav .vg-icon{width:20px;height:20px}
  .heritage #work .vg-explore .vg-icon{width:15px;height:15px}
}

/* Clean editorial gallery: only the work name and photo link stay on-image.
   Project categories/counts already appear in the selector below. */
.heritage #work .vg-stage-caption>small,
.heritage #work .vg-stage-caption>p,
.heritage #work .vg-counter,
.heritage #work .vg-retail-phase{display:none!important}
.heritage #work .vg-stage-caption{
 left:clamp(24px,4vw,64px);bottom:clamp(24px,3.2vw,44px);
 max-width:min(74%,680px);
}
.heritage #work .vg-stage-caption h3{
 font-size:clamp(24px,2.9vw,38px);line-height:1.1;
 margin:0 0 14px;text-wrap:balance;
}
.heritage #work .vg-explore{font-size:13px;padding-bottom:5px}
.heritage #work .vg-retail-toggle{
 top:clamp(15px,2vw,24px);right:clamp(15px,2.5vw,32px);left:auto;
 padding:9px 12px;border:1px solid rgba(255,255,255,.4);
 border-radius:3px;background:rgba(31,38,34,.72);
 color:#fff;font:600 12px/1.3 Arial,sans-serif;white-space:nowrap;
 backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);
}
.heritage #work .vg-retail-toggle:hover,
.heritage #work .vg-retail-toggle:focus-visible{background:rgba(31,38,34,.93)}
.heritage #work .vg-retail-toggle .vg-icon{width:15px;height:15px}
@media(max-width:780px){
 .heritage #work .vg-stage-caption{left:clamp(22px,5vw,28px);right:40px;bottom:22px;max-width:none}
 .heritage #work .vg-stage-caption h3{font-size:clamp(24px,5.7vw,30px);margin:0 0 10px}
 .heritage #work .vg-explore{font-size:12px;padding-bottom:4px}
 .heritage #work .vg-retail-toggle{top:12px;right:12px;left:auto;font-size:11px;padding:8px 10px}
}

/* Workbench and Gallery use the SAME responsive content shell.
   Do not inset the stage or thumbnail strip again inside this shell. */
.heritage-home .heritage-full #work.vg-work{
  box-sizing:border-box;width:100%;max-width:1240px;margin-inline:auto;padding-inline:22px;
}
.heritage-home #work.vg-work .vg-gallery{
  box-sizing:border-box;width:100%;max-width:100%;margin-inline:auto;
}
.heritage-home #work.vg-work .vg-stage{height:auto;aspect-ratio:16/9}
.heritage-home #work.vg-work .vg-stage.vg-photo-fit #vg-cover{object-fit:cover}
.heritage-home #work.vg-work .vg-project-strip{
  display:grid;grid-template-columns:repeat(4,minmax(0,1fr));
  width:100%;max-width:100%;margin:0;padding:0;overflow:visible;
}
@media(min-width:1101px){
  .heritage-home .heritage-full #work.vg-work{max-width:1560px;padding-inline:var(--edge)}
}
@media(max-width:700px){
  .heritage-home #work.vg-work .vg-stage{aspect-ratio:auto;height:clamp(260px,65vw,420px)}
  .heritage-home #work.vg-work .vg-project-strip{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));overflow:visible}
  .heritage-home #work.vg-work .vg-project{flex-direction:row;align-items:center;gap:9px;padding:11px 8px}
  .heritage-home #work.vg-work .vg-project img{width:clamp(50px,13vw,76px);height:54px;object-fit:cover}
}
@media(max-width:600px){
  .heritage-home .heritage-full #work.vg-work{padding-inline:14px}
}

/* Five featured projects on the homepage: 1-bed suite immediately before 2-bed suite.
   Keep stage and thumbnail strip aligned with the workbench divider. */
@media(min-width:901px){
 .heritage-home #work.vg-work[data-gallery-scope="all"] .vg-project-strip{
  grid-template-columns:repeat(5,minmax(0,1fr));
 }
}
@media(min-width:701px) and (max-width:900px){
 .heritage-home #work.vg-work[data-gallery-scope="all"] .vg-project-strip{
  grid-template-columns:repeat(3,minmax(0,1fr));
 }
}
