/* Source: thumbnail-rail.css */
/* Approved shared gallery treatment for the homepage and review preview. */
.website-preview.rail-concept [data-fixed-columns] .brand-heading{display:block;padding:0;border:0;font:inherit;line-height:0;letter-spacing:normal}
.website-preview.rail-concept [data-fixed-columns] .pixel-logo{margin-bottom:20px}
.website-preview.rail-concept [data-fixed-columns] .portfolio-divider{cursor:default;touch-action:auto;pointer-events:none}
.website-preview.rail-concept [data-fixed-columns] .portfolio-divider:before{top:var(--divider-start,0px);bottom:calc(-1 * var(--desktop-bottom-space,16px));background:linear-gradient(to bottom,transparent,var(--line) 5%,var(--line) 95%,transparent)}
.rail-concept[data-preview-device="desktop"] .project-explore-hint-touch{display:none}
.rail-concept[data-preview-device="desktop"] .project-explore-hint-hover{display:inline}
.rail-concept[data-preview-device="mobile"] .project-explore-hint-touch{display:inline}
.rail-concept[data-preview-device="mobile"] .project-explore-hint-hover{display:none}
/* Keep the historical alternative treatments available in the design study.
   The accepted editorial style is shared with the homepage. */
.rail-concept[data-description-style="underlined"] .project-summary{border-top:1px solid var(--line);padding:17px 0 0}
.rail-concept[data-description-style="panel"] .project-summary{border:1px solid var(--line);border-radius:12px;background:color-mix(in srgb,var(--ink) 3%,var(--paper));padding:18px 20px}
.rail-concept[data-description-style="panel"] .project-summary h3{font-size:22px}
@media(max-width:370px){
 .rail-concept[data-description-style="panel"] .project-summary{padding:15px}
}
/* Desktop must fit its complete gallery and reserved description into the
   usable browser height, even in a wide, short window. Keep the preferred
   identity/project split; only cap the proportional square inside its column.
   The footer remains reserved before engagement, so hover never moves it.
   Very short/zoomed windows retain normal scrolling and readable controls. */
@media(min-width:761px){
 .website-preview.rail-concept .adjustable-portfolio[data-resize-ready]{
  --desktop-top-space:calc(32px + env(safe-area-inset-top));
  --desktop-bottom-space:calc(16px + env(safe-area-inset-bottom));
  padding-top:var(--desktop-top-space);padding-bottom:var(--desktop-bottom-space)
 }
 .website-preview.rail-concept[data-description-style] .project-carousel{
  --desktop-thumbnail-space:82px;--desktop-thumbnail-size:60px;
  width:min(100%,max(244px,calc(100svh - var(--desktop-top-space) - var(--desktop-bottom-space) - var(--desktop-thumbnail-space) - 44px - var(--summary-space,166px))));
  margin-inline:auto
 }
 /* Reserve the measured tallest project's content instead of the historical
    162px floor. The empty remainder belongs to the complete photo; readable
    figures and the thumbnail row remain fully reserved before engagement. */
 .website-preview.rail-concept .project-summary{min-height:var(--summary-min,0px)}
 .website-preview.rail-concept .project-summary[data-measure]{min-height:0}
 /* Centre the logo and bio on the photo square (approved October 5, 2026).
    The identity sits centred in a row as tall as the gallery, so the square's
    centre is half the controls row (56px) and summary space higher. The
    layout script refines this to the exact offset. */
 .website-preview.rail-concept [data-fixed-columns] .portfolio-identity{transform:translateY(var(--identity-shift,calc((82px + 44px + 166px) / -2)))}
}
/* Keep the complete mobile square at the available column width. Browser-bar
   height changes and ordinary scrolling must never resize the photograph. */
@media(max-width:760px),(max-width:900px) and (pointer:coarse){
 html:has(body.website-preview.rail-concept){scrollbar-gutter:stable}
 .website-preview.rail-concept .adjustable-portfolio[data-resize-ready]{
  padding-top:calc(44px + env(safe-area-inset-top));padding-bottom:calc(8px + env(safe-area-inset-bottom))
 }
 .website-preview.rail-concept .adjustable-portfolio[data-resize-ready]:has(.project-summary[data-visible="true"]){
  padding-bottom:calc(72px + env(safe-area-inset-bottom))
 }
 .website-preview.rail-concept [data-resize-ready] .portfolio-identity{padding-bottom:2px;transform:none}
 .website-preview.rail-concept [data-resize-ready] .pixel-logo{width:clamp(176px,28svh,240px);margin:0 auto 10px}
 .website-preview.rail-concept [data-resize-ready] .portfolio-identity h1:not(.brand-heading){--mobile-heading-maximum:28;font-size:28px;margin:0 0 8px}
 .website-preview.rail-concept [data-resize-ready] .firm-bio{font-size:14px;line-height:1.5;max-width:530px}
 .website-preview.rail-concept .firm-contact{margin-top:2px}
 .website-preview.rail-concept .mobile-content-divider{margin-bottom:10px}
 .website-preview.rail-concept[data-description-style] .project-carousel{
  width:100%;
  margin-inline:auto;padding-bottom:0
 }
 /* Keep the name and navigation in normal flow. Short phones scroll instead
    of reducing the square; text and touch targets retain their sizes. */
 .website-preview.editorial-adjustable.rail-concept .project-carousel .carousel-controls{min-height:44px;padding:0}
 .website-preview.rail-concept .project-summary{position:static;min-height:0;margin-top:2px;padding-top:0;display:block}
 .website-preview.rail-concept .project-summary[data-visible="false"] h3{margin-bottom:0}
 .website-preview.rail-concept .project-summary[data-visible="true"]{display:block}
 /* Release 2.8: the summary ends the page here, so keep the tallest project's
    height (measured by the hidden copy, anchored to the gallery's bottom so
    it never adds page length) or WebKit pulls the page up while projects change. */
 .website-preview.rail-concept .project-summary:not([data-measure])[data-visible="true"]{min-height:var(--summary-min,0px)}
 .website-preview.rail-concept .project-summary[data-measure]{display:block;position:absolute;top:auto;bottom:0;left:0;right:0}
}
.website-preview.rail-concept .carousel-track{container-type:inline-size}
/* Keep the complete longer firm bio above the gallery on short portrait
   phones. The centered logo shares the theme switch's row with clear space
   between them; body text and all touch targets keep their approved sizes. */
@media(min-width:370px) and (max-width:760px) and (max-height:640px){
 .website-preview.rail-concept .adjustable-portfolio[data-resize-ready]{padding-top:calc(12px + env(safe-area-inset-top))}
 .website-preview.rail-concept [data-resize-ready] .pixel-logo{width:156px;margin-bottom:8px}
}
/* The longer family-office bio needs less vertical spacing on short phones.
   Keep width-based gutters stable as browser bars change the usable height. */
@media(min-width:370px) and (max-width:760px) and (max-height:620px){
 .website-preview.rail-concept .adjustable-portfolio[data-resize-ready]{padding-top:env(safe-area-inset-top)}
 .website-preview.rail-concept [data-resize-ready] .pixel-logo{margin-bottom:4px}
 .website-preview.rail-concept [data-resize-ready] .portfolio-identity{padding-bottom:0}
 .website-preview.rail-concept .mobile-content-divider{margin-bottom:0}
}
.website-preview.comparison-preview.rail-concept .carousel-track .comparison-card.has-project-views{
 --rail-thumb:76px;--rail-gap:18px;--rail-offset:calc(var(--rail-thumb) + var(--rail-gap));--rail-space:0px;
 height:100cqw;aspect-ratio:1;border-radius:0;background:transparent
}
/* The closed cover fills the entire square. Keep that outer hover area and
   navigation stationary while the complete photo contracts left to reveal
   the rail. Moving between the photo and thumbnails must not close details. */
.website-preview.comparison-preview.rail-concept .carousel-track .comparison-card.has-project-views.is-active{
 --rail-space:var(--rail-offset)
}
/* Scale the complete photo rather than resizing it (approved October 5, 2026):
   the same geometry (left edge fixed, vertically centred, square minus the
   rail), animated on the compositor. thumbnail-rail.js supplies the scale;
   the radius is divided by it so the corners still look 22px when open. */
.website-preview.comparison-preview.rail-concept .carousel-track .has-project-views .project-photo-surface,
.website-preview.comparison-preview.rail-concept .carousel-track .has-project-views:after{
 inset:0 auto auto 0;width:100%;height:100%;border-radius:22px;overflow:hidden;
 transform-origin:0 50%;transform:scale(1);
 transition:transform .32s ease,border-radius .32s ease,opacity .34s ease
}
.website-preview.comparison-preview.rail-concept .carousel-track .comparison-card.has-project-views.is-active .project-photo-surface,
.website-preview.comparison-preview.rail-concept .carousel-track .comparison-card.has-project-views.is-active:after{
 transform:scale(var(--rail-open-scale,1));border-radius:calc(22px / var(--rail-open-scale,1))
}
/* The photo button is transparent, so it takes the open size directly rather
   than scaling; its keyboard outline keeps the approved 3px / -7px. */
.website-preview.comparison-preview.rail-concept .carousel-track .comparison-card.has-project-views:after{
 background:linear-gradient(transparent 72%,#080c0914 84%,#080c0966 100%)
}
.website-preview.comparison-preview.rail-concept .has-project-views .project-view-caption{
 text-shadow:0 1px 2px #000,0 0 5px #000b
}
.website-preview.comparison-preview.rail-concept .carousel-track .has-project-views .project-detail-toggle{
 inset:calc(var(--rail-space) / 2) auto auto 0;
 width:calc(100% - var(--rail-space));height:calc(100% - var(--rail-space));border-radius:22px;overflow:hidden
}
.website-preview.comparison-preview.rail-concept .carousel-track .has-project-views .project-reveal{
 left:26px;right:calc(var(--rail-space) + 26px);bottom:calc(var(--rail-space) / 2 + 48px);max-width:342px;
 transition:opacity .3s,transform .3s,visibility .3s,bottom .32s ease,right .32s ease
}
.website-preview.comparison-preview.rail-concept .comparison-card .ba-toggle-group{
 top:calc(var(--rail-space) / 2 + 20px);transition:top .32s ease
}
.website-preview.comparison-preview.rail-concept .has-project-views .project-view-picker{
 left:auto;right:0;top:50%;bottom:auto;transform:translateY(-50%);width:var(--rail-thumb)
}
.website-preview.comparison-preview.rail-concept .has-project-views .project-view-thumbnails{
 flex-direction:column;align-items:stretch;gap:12px
}
.website-preview.comparison-preview.rail-concept .has-project-views .project-view-button{
 flex:0 0 auto;width:var(--rail-thumb);height:var(--rail-thumb);border-color:var(--line);border-radius:9px
}
.website-preview.comparison-preview.rail-concept .has-project-views .project-view-button[aria-pressed="true"]{
 border-color:#abc263;box-shadow:0 0 0 1px #abc263
}
.website-preview.comparison-preview.rail-concept .has-project-views .project-view-button:focus-visible{
 outline:2px solid #fff;outline-offset:-5px
}
.website-preview.comparison-preview.rail-concept .has-project-views .project-view-caption{
 position:absolute;left:26px;bottom:calc(var(--rail-space) / 2 + 22px);margin:0;color:#fff;transition:bottom .32s ease
}
.website-preview.comparison-preview.rail-concept .has-project-views .project-view-caption:has(.project-view-disclosure){max-width:calc(100% - var(--rail-space) - 52px)}
@media(max-width:760px),(max-width:900px) and (pointer:coarse){
 .website-preview.comparison-preview.rail-concept .carousel-track .comparison-card.has-project-views{
  --rail-thumb:56px;--rail-gap:12px
 }
 .website-preview.comparison-preview.rail-concept .carousel-track .has-project-views .project-reveal{
  left:16px;right:calc(var(--rail-space) + 16px);bottom:calc(var(--rail-space) / 2 + 39px)
 }
 .website-preview.comparison-preview.rail-concept .has-project-views .project-view-caption{left:16px;bottom:calc(var(--rail-space) / 2 + 16px)}
 .website-preview.comparison-preview.rail-concept .has-project-views .project-view-caption:has(.project-view-disclosure){max-width:calc(100% - var(--rail-space) - 32px)}
 .website-preview.comparison-preview.rail-concept .has-project-views .project-view-thumbnails{gap:10px}
 .website-preview.comparison-preview.rail-concept .has-project-views .project-view-button .project-view-name{
  font-size:10px;line-height:1.15;bottom:4px
 }
 .website-preview.comparison-preview.rail-concept .carousel-track .has-project-views .project-title{font-size:18px}
 .website-preview.comparison-preview.rail-concept .carousel-track .has-project-views .project-description{font-size:13px;line-height:1.4}
}
@media(max-width:600px){
 .website-preview.comparison-preview.rail-concept .comparison-card .ba-toggle-group{top:calc(var(--rail-space) / 2 + 16px)}
}
@media(max-width:370px){
 .website-preview.comparison-preview.rail-concept .carousel-track .comparison-card.has-project-views{
  --rail-thumb:48px;--rail-gap:8px
 }
 .website-preview.comparison-preview.rail-concept .carousel-track .has-project-views .project-reveal{
  left:12px;right:calc(var(--rail-space) + 12px);bottom:calc(var(--rail-space) / 2 + 36px)
 }
 .website-preview.comparison-preview.rail-concept .carousel-track .has-project-views .project-title{font-size:16px}
 .website-preview.comparison-preview.rail-concept .carousel-track .has-project-views .project-description{font-size:12px;line-height:1.4}
 .website-preview.comparison-preview.rail-concept .has-project-views .project-view-caption{left:12px;bottom:calc(var(--rail-space) / 2 + 13px)}
 .website-preview.comparison-preview.rail-concept .has-project-views .project-view-caption:has(.project-view-disclosure){max-width:calc(100% - var(--rail-space) - 24px)}
}
/* Short desktop windows need the same compact rail as phones so all four
   thumbnails fit alongside the square. Keep their hit targets at least 44px. */
@media(min-width:761px){
 @container (max-width:360px){
  .website-preview.comparison-preview.rail-concept .carousel-track .comparison-card.has-project-views{
   --rail-thumb:56px;--rail-gap:12px
  }
  .website-preview.comparison-preview.rail-concept .has-project-views .project-view-thumbnails{gap:10px}
 }
}
/* Keep all four thumbnails inside shorter fitted squares, with full-size
   44px touch targets even on compact phones. */
@container (max-width:270px){
 .website-preview.comparison-preview.rail-concept .carousel-track .comparison-card.has-project-views{
  --rail-thumb:44px;--rail-gap:8px
 }
 .website-preview.comparison-preview.rail-concept .has-project-views .project-view-thumbnails{gap:8px}
 /* The longer action label must stay inside the smallest open photo, clear
    of the thumbnail rail. Preserve type and the existing 44px tap areas. */
 .website-preview.comparison-preview.rail-concept .comparison-card .ba-toggle-group{left:8px}
 .website-preview.comparison-preview.rail-concept .comparison-card .ba-toggle-group button{min-width:44px;padding-inline:6px}
}
/* Desktop adopts the below-photo row in 4.3. Reserve its height before hover,
   so opening controls never changes the square or the navigation position.
   The compact navigation retains its 44px targets. Short desktop windows use
   44px thumbnails so the larger open photo and full summary still fit. */
@media(min-width:761px){
 .website-preview.editorial-adjustable.rail-concept .project-carousel .carousel-controls{min-height:44px;padding:0}
 .website-preview.comparison-preview.rail-concept .carousel-track .comparison-card.has-project-views,
 .website-preview.comparison-preview.rail-concept .carousel-track .comparison-card.has-project-views.is-active{
  --rail-space:0px;--rail-thumb:var(--desktop-thumbnail-size,60px);
  height:calc(100cqw + var(--desktop-thumbnail-space,82px));aspect-ratio:auto
 }
 .website-preview.comparison-preview.rail-concept .carousel-track .comparison-card.has-project-views .project-photo-surface,
 .website-preview.comparison-preview.rail-concept .carousel-track .comparison-card.has-project-views.is-active .project-photo-surface,
 .website-preview.comparison-preview.rail-concept .carousel-track .comparison-card.has-project-views:after,
 .website-preview.comparison-preview.rail-concept .carousel-track .comparison-card.has-project-views.is-active:after{
  height:100cqw;transform:none;border-radius:22px
 }
 .website-preview.comparison-preview.rail-concept .carousel-track .has-project-views .project-detail-toggle{
  inset:0 auto auto 0;width:100%;height:100cqw
 }
 .website-preview.comparison-preview.rail-concept .has-project-views .project-view-picker{
  left:0;right:0;top:calc(100cqw + 12px);bottom:auto;width:100%;transform:none
 }
 .website-preview.comparison-preview.rail-concept .has-project-views .project-view-thumbnails{
  flex-direction:row;justify-content:center;align-items:center;gap:10px
 }
 .website-preview.comparison-preview.rail-concept .has-project-views .project-view-button{
  width:var(--rail-thumb);height:var(--rail-thumb);flex:0 0 var(--rail-thumb)
 }
 .website-preview.comparison-preview.rail-concept .has-project-views .project-view-caption{
  bottom:calc(var(--desktop-thumbnail-space,82px) + 22px)
 }
 .website-preview.comparison-preview.rail-concept .project-explore-hint{
  bottom:calc(var(--desktop-thumbnail-space,82px) + 16px)
 }
}
@media(min-width:761px) and (max-height:650px){
 .website-preview.rail-concept[data-description-style] .project-carousel{
  --desktop-thumbnail-space:64px;--desktop-thumbnail-size:44px
 }
}
/* Stable mobile photo size (7.4): use the available width on landing and
   after engagement, independent of browser bars and the visible page height.
   Reserve the row for every project once details unlock so navigation and
   closing a photo cannot collapse the page or move its controls. */
@media(max-width:760px),(max-width:900px) and (pointer:coarse){
 .website-preview.rail-concept[data-description-style] .project-carousel{
  --mobile-thumbnail-space:0px
 }
 .website-preview.rail-concept[data-description-style] .project-carousel:has(.project-summary:not([data-measure])[data-visible="true"]){
  width:100%;--mobile-thumbnail-space:82px
 }
 .website-preview.comparison-preview.rail-concept .carousel-track .comparison-card.has-project-views,
 .website-preview.comparison-preview.rail-concept .carousel-track .comparison-card.has-project-views.is-active{
  --rail-space:0px;--rail-thumb:clamp(44px,calc((100cqw - 30px) / 4),60px);
  height:calc(100cqw + var(--mobile-thumbnail-space,0px));aspect-ratio:auto
 }
 .website-preview.comparison-preview.rail-concept .carousel-track .comparison-card.has-project-views .project-photo-surface,
 .website-preview.comparison-preview.rail-concept .carousel-track .comparison-card.has-project-views.is-active .project-photo-surface,
 .website-preview.comparison-preview.rail-concept .carousel-track .comparison-card.has-project-views:after,
 .website-preview.comparison-preview.rail-concept .carousel-track .comparison-card.has-project-views.is-active:after{
  height:100cqw;transform:none;border-radius:22px
 }
 .website-preview.comparison-preview.rail-concept .carousel-track .has-project-views .project-detail-toggle{
  inset:0 auto auto 0;width:100%;height:100cqw
 }
 .website-preview.comparison-preview.rail-concept .comparison-card .ba-toggle-group{top:16px}
 .website-preview.comparison-preview.rail-concept .has-project-views .project-view-picker{
  left:0;right:0;top:calc(100cqw + 12px);bottom:auto;width:100%;transform:none
 }
 .website-preview.comparison-preview.rail-concept .has-project-views .project-view-thumbnails{
  flex-direction:row;justify-content:center;align-items:center;gap:clamp(4px,2.5cqw,10px)
 }
 .website-preview.comparison-preview.rail-concept .has-project-views .project-view-button{
  width:var(--rail-thumb);height:var(--rail-thumb);flex:0 0 var(--rail-thumb)
 }
 .website-preview.comparison-preview.rail-concept .has-project-views .project-view-caption{
  left:16px;top:auto;bottom:calc(var(--mobile-thumbnail-space,0px) + 16px);max-width:calc(100% - 32px)
 }
 .website-preview.comparison-preview.rail-concept .project-explore-hint{
  bottom:calc(var(--mobile-thumbnail-space,0px) + 16px)
 }
}
@media(prefers-reduced-motion:reduce){
 .website-preview.comparison-preview.rail-concept .carousel-track .has-project-views .project-photo-surface,
 .website-preview.comparison-preview.rail-concept .carousel-track .has-project-views:after,
 .website-preview.comparison-preview.rail-concept .carousel-track .has-project-views .project-detail-toggle{transition:none}
}

/* Paired gallery: fixed After/Before thumbnails and explicit photo controls.
   The strip scrolls as a finite list; every thumbnail keeps its own image.
   Four outline-safe thumbnails fit on phones, with more visible on desktop. */
.website-preview.comparison-preview.rail-concept .carousel-track .comparison-card.has-project-views[data-paired-gallery="true"]:after{
 content:none;background:none
}
.website-preview.comparison-preview.rail-concept .has-project-views[data-paired-gallery="true"] .ba-toggle-group{display:none}
.website-preview.comparison-preview.rail-concept .has-project-views[data-paired-gallery="true"] .project-view-picker{
 top:calc(100cqw + 6px);left:0;right:0;bottom:auto;width:100%;transform:none
}
.website-preview.comparison-preview.rail-concept .has-project-views[data-paired-gallery="true"] .project-view-thumbnails{
 box-sizing:border-box;display:flex;flex-direction:row;justify-content:flex-start;align-items:center;
 width:max-content;max-width:100%;height:calc(var(--rail-thumb) + 8px);gap:9px;margin:0 auto;padding:4px;
 overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain;scrollbar-width:none;
 scroll-padding-inline:4px;scroll-snap-type:none;touch-action:pan-x pan-y pinch-zoom
}
.website-preview.comparison-preview.rail-concept .has-project-views[data-paired-gallery="true"] .project-view-thumbnails::-webkit-scrollbar{display:none}
.website-preview.comparison-preview.rail-concept .has-project-views[data-paired-gallery="true"].is-active .project-view-thumbnails{pointer-events:auto}
.website-preview.comparison-preview.rail-concept .has-project-views[data-paired-gallery="true"] .project-view-button{
 box-sizing:border-box;flex:0 0 var(--rail-thumb);width:var(--rail-thumb);height:var(--rail-thumb);min-width:44px;min-height:44px;
 padding:0;border-radius:11px;background:transparent;touch-action:manipulation
}
.website-preview.comparison-preview.rail-concept .has-project-views[data-paired-gallery="true"] .project-view-button[aria-pressed="true"]{
 border-color:var(--gallery-focus-ring);box-shadow:0 0 0 1px var(--gallery-focus-ring)
}
.website-preview.comparison-preview.rail-concept .has-project-views[data-paired-gallery="true"] .project-view-button[aria-pressed="true"]:after{border-radius:inherit}
.website-preview.comparison-preview.rail-concept .has-project-views[data-paired-gallery="true"] .project-view-button:focus-visible{outline:none}
.website-preview.comparison-preview.rail-concept .has-project-views[data-paired-gallery="true"] .project-detail-toggle{cursor:pointer}
.website-preview.comparison-preview.rail-concept .has-project-views[data-paired-gallery="true"].is-active .project-photo-surface,
.website-preview.comparison-preview.rail-concept .has-project-views[data-paired-gallery="true"].is-active .project-detail-toggle{touch-action:pan-y pinch-zoom}

/* This separate 44px row belongs to photo navigation. Project navigation
   remains in its existing row below the card. The middle slot also holds the
   reconstruction disclosure, so showing it never changes the reserved height. */
.website-preview.comparison-preview.rail-concept .has-project-views[data-paired-gallery="true"] .project-photo-navigation{
 box-sizing:border-box;position:absolute;left:0;right:0;top:calc(100cqw + var(--rail-thumb) + 14px);
 display:grid;grid-template-columns:44px minmax(0,1fr) auto;align-items:center;gap:8px;height:44px;
 color:var(--ink);font-family:'DM Sans',Arial,sans-serif;pointer-events:none
}
.website-preview.comparison-preview.rail-concept .has-project-views[data-paired-gallery="true"] .project-photo-navigation button{
 box-sizing:border-box;min-height:44px;min-width:44px;margin:0;cursor:pointer;touch-action:manipulation;
 font-family:inherit;font-size:14px;font-weight:450;line-height:20px;pointer-events:none
}
.website-preview.comparison-preview.rail-concept .has-project-views[data-paired-gallery="true"].is-active .project-photo-navigation button{pointer-events:auto}
.website-preview.comparison-preview.rail-concept .has-project-views[data-paired-gallery="true"] .project-photo-previous{
 display:grid;place-items:center;width:44px;height:44px;padding:0;border:1px solid var(--line);border-radius:50%;background:transparent;color:var(--ink)
}
.website-preview.comparison-preview.rail-concept .has-project-views[data-paired-gallery="true"] .project-photo-previous span{font-size:21px;line-height:1}
.website-preview.comparison-preview.rail-concept .has-project-views[data-paired-gallery="true"] .project-photo-previous:disabled{opacity:.35;cursor:default}
.website-preview.comparison-preview.rail-concept .has-project-views[data-paired-gallery="true"] .project-photo-next{
 display:flex;align-items:center;justify-content:center;gap:8px;height:44px;padding:10px 12px;
 border:0;border-radius:24px;background:#213a2d;color:#f4f5ee;white-space:nowrap
}
.website-preview.comparison-preview.rail-concept .has-project-views[data-paired-gallery="true"] .project-photo-next>span[aria-hidden]{font-size:20px;line-height:1}
.website-preview.comparison-preview.rail-concept .has-project-views[data-paired-gallery="true"] .project-photo-meta{
 display:grid;place-items:center;min-width:0;text-align:center;color:var(--muted)
}
.website-preview.comparison-preview.rail-concept .has-project-views[data-paired-gallery="true"] .project-photo-count{
 font:12px/16px 'DM Sans',Arial,sans-serif;font-variant-numeric:lining-nums tabular-nums;white-space:nowrap
}
.website-preview.comparison-preview.rail-concept .has-project-views[data-paired-gallery="true"] .project-photo-count[hidden],
.website-preview.comparison-preview.rail-concept .has-project-views[data-paired-gallery="true"] .project-view-disclosure[hidden]{display:none}
.website-preview.comparison-preview.rail-concept .has-project-views[data-paired-gallery="true"] .project-view-caption{
 position:static;inset:auto;width:auto;max-width:100%;margin:0;transform:none;transition:none;
 color:var(--muted);font:12px/14px 'DM Sans',Arial,sans-serif;text-shadow:none;pointer-events:none
}
.website-preview.comparison-preview.rail-concept .has-project-views[data-paired-gallery="true"] .project-view-caption-text{
 position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);clip-path:inset(50%);white-space:nowrap;border:0
}
.website-preview.comparison-preview.rail-concept .has-project-views[data-paired-gallery="true"] .project-view-disclosure{
 display:block;margin:0;font:inherit;overflow-wrap:anywhere
}
.website-preview.comparison-preview.rail-concept .has-project-views[data-paired-gallery="true"] .project-photo-navigation button:focus-visible{
 outline:3px solid var(--gallery-focus-ring);outline-offset:-3px
}
html[data-theme="dark"] .website-preview.comparison-preview.rail-concept .has-project-views[data-paired-gallery="true"] .project-photo-next{
 background:#213a2d;color:#f4f5ee
}
/* Give desktop photos a comfortable top inset while retaining the complete
   height budget. The square adapts to the space after reserving thumbnails,
   photo actions and project details, before and after engagement. */
@media(min-width:761px){
 .website-preview.rail-concept .adjustable-portfolio[data-resize-ready]:has([data-paired-gallery="true"]){
  --desktop-top-space:calc(32px + env(safe-area-inset-top));--desktop-bottom-space:calc(8px + env(safe-area-inset-bottom))
 }
 .website-preview.rail-concept[data-description-style] .project-carousel:has([data-paired-gallery="true"]){
  --desktop-thumbnail-space:116px;--desktop-thumbnail-size:58px
 }
}
@media(min-width:761px) and (max-height:650px){
 .website-preview.rail-concept[data-description-style] .project-carousel:has([data-paired-gallery="true"]){
  --desktop-thumbnail-space:102px;--desktop-thumbnail-size:44px
 }
}
/* Landing geometry remains exactly as approved. Only the already-expanded
   mobile gallery reserves the new row and uses the full available width. */
@media(max-width:760px),(max-width:900px) and (pointer:coarse){
 .website-preview.rail-concept[data-description-style] .project-carousel:has([data-paired-gallery="true"]):has(.project-summary:not([data-measure])[data-visible="true"]){
  --mobile-thumbnail-space:116px
 }
 .website-preview.comparison-preview.rail-concept .carousel-track .comparison-card.has-project-views[data-paired-gallery="true"],
 .website-preview.comparison-preview.rail-concept .carousel-track .comparison-card.has-project-views[data-paired-gallery="true"].is-active{
  --rail-thumb:58px
 }
 .website-preview.comparison-preview.rail-concept .has-project-views[data-paired-gallery="true"] .project-view-thumbnails{
  max-width:min(100%,267px)
 }
}
/* Shared invitation and View-before cue: the approved steady lime halo with
   one gentle pulse. JavaScript starts it only when that project is visible.
   The CTA's decorative proxy sits outside the clipping carousel track; it
   paints the complete halo without changing the button or gallery geometry. */
.website-preview.comparison-preview.rail-concept{
 --gallery-halo-separation:#172b20;--gallery-halo-ring:#b5cd70;
 --gallery-halo-outer:#abc26373;--gallery-halo-soft:#abc263a6;--gallery-halo-wide:#abc2634d;
 --gallery-halo-peak:#abc263c2;--gallery-halo-wide-peak:#abc26366
}
.website-preview.comparison-preview.rail-concept .project-carousel{position:relative}
.website-preview.comparison-preview.rail-concept .project-halo-proxy{
 position:absolute;z-index:4;pointer-events:none;border:0;border-radius:24px;background:transparent
}
.website-preview.comparison-preview.rail-concept .project-halo-proxy[hidden]{display:none}
.website-preview.comparison-preview.rail-concept [data-halo-cue="true"]:not([data-halo-proxied="true"]){
 box-shadow:0 0 0 1px var(--gallery-halo-separation),0 0 0 4px var(--gallery-halo-ring),0 0 0 7px var(--gallery-halo-outer),0 0 18px 6px var(--gallery-halo-soft),0 0 32px 9px var(--gallery-halo-wide)
}
.website-preview.comparison-preview.rail-concept [data-halo-cue="true"][data-halo-pulse="running"]:not([data-halo-proxied="true"]){
 animation:gallery-halo-pulse 2.4s ease-in-out 1 both
}
.website-preview.comparison-preview.rail-concept [data-halo-cue="true"][data-halo-pulse="running"][data-halo-paused="true"]:not([data-halo-proxied="true"]){animation-play-state:paused}
.website-preview.comparison-preview.rail-concept [data-halo-proxied="true"]{box-shadow:none;animation:none}
@keyframes gallery-halo-pulse{
 0%,100%{box-shadow:0 0 0 1px var(--gallery-halo-separation),0 0 0 4px var(--gallery-halo-ring),0 0 0 7px var(--gallery-halo-outer),0 0 18px 6px var(--gallery-halo-soft),0 0 32px 9px var(--gallery-halo-wide)}
 50%{box-shadow:0 0 0 1px var(--gallery-halo-separation),0 0 0 4px #d0e793,0 0 0 9px #abc2638c,0 0 22px 8px var(--gallery-halo-peak),0 0 36px 12px var(--gallery-halo-wide-peak)}
}
@media(prefers-reduced-motion:reduce){
 .website-preview.comparison-preview.rail-concept [data-halo-cue="true"]{animation:none!important}
}

