/* Append after site-finish-261111.css. No expansion slot or blank space. */
.ws-next-shell {
  --curtain-closed: clamp(300px, 24vw, 440px);
  --curtain-open: clamp(440px, 38vw, 680px);
  display: block;
  position: relative;
  height: auto !important;
  min-height: 0 !important;
  margin: 0;
  padding: 0;
  isolation: isolate;
}

.ws-next-shell > .ws-next-direction,
.ws-next-shell > .ws-next-direction:is(:hover, :focus-visible) {
  display: flex;
  align-self: auto;
  justify-content: center;
  box-sizing: border-box;
  width: 100%;
  height: var(--curtain-closed);
  min-height: 0 !important;
  margin: 0;
  padding-block: clamp(24px, 3vw, 48px);
  overflow: hidden;
  transition: height .72s cubic-bezier(.22, .75, .2, 1);
}

/* Keep the photograph's canvas stable: reveal more above and below its centre,
   instead of continually rescaling the photograph as the opening gets taller. */
.ws-next-shell > .ws-next-direction > img,
.ws-next-shell > .ws-next-direction:is(:hover, :focus-visible) > img {
  inset: 50% 0 auto;
  width: 100%;
  height: var(--curtain-open);
  min-height: 100%;
  max-height: none;
  object-fit: cover;
  object-position: center;
  transform: translateY(-50%) scale(1.04) !important;
  transition: filter .4s ease;
}

.ws-next-shell > .ws-next-direction:focus-visible {
  height: var(--curtain-open);
}

@media (hover: hover) and (pointer: fine) {
  .ws-next-shell > .ws-next-direction:hover {
    height: var(--curtain-open);
  }
}

@media (max-width: 700px) {
  .ws-next-shell {
    --curtain-closed: 310px;
    --curtain-open: 420px;
  }
}

@media (prefers-reduced-motion: reduce) {
  :where(html:not([data-ws-motion-policy="full"])) .ws-next-shell > .ws-next-direction {
    transition: none;
  }
}
html[data-motion="reduced"] .ws-next-shell > .ws-next-direction {
  transition: none;
}

/* Clean paper canvas, original portrait backgrounds and simplified navigation. */
html,body,body.ws-gateway { background-color:#fff!important; background-image:none!important; }
html { --portal-paper:#fff; --paper:#fff; }
.ws-brand-echo,.ws-ripple-field,[data-effects-toggle],.ws-team-help { display:none!important; }
.ws-portal-site,.ws-gateway .ws-choice-card--arch { background:#fff!important; }
.ws-gateway .ws-choice-card::before { display:none!important; }
.ws-gateway .ws-portal-cover { fill:#fff!important; }
html[data-ws-inline-menu] .header .ws-direction-cta { display:none!important; }
html[data-ws-inline-menu] .header { grid-template-columns:auto auto 1fr!important; }
html[data-ws-inline-menu] .header>nav { grid-column:3; justify-self:end; }
.team-collage.has-roster.ws-team-office .team-member-photo { position:relative; overflow:hidden; background:#ddd; cursor:default; }
.team-collage.has-roster.ws-team-office .team-member-photo::before { display:none!important; }
.team-collage.has-roster.ws-team-office .team-member-photo>img[data-office] { position:absolute; height:185%; width:auto; min-width:100%; max-width:none; left:50%; top:var(--office-top,-5%); transform:translateX(-50%); object-fit:cover; object-position:50% 0; filter:grayscale(1)!important; opacity:1!important; visibility:visible!important; transition:none!important; }
.ws-team-office [data-team-photo="1"] { --office-top:-5%; }
.ws-team-office [data-team-photo="2"] { --office-top:-26%; }
.ws-team-office [data-team-photo="3"] { --office-top:-5%; }
.ws-team-office [data-team-photo="4"] { --office-top:-18%; }
.ws-team-office [data-team-photo="5"] { --office-top:-10%; }
.ws-team-office [data-team-photo="6"] { --office-top:-4%; }
.ws-team-office [data-team-photo="7"] { --office-top:-19%; }
.ws-team-office [data-team-photo="8"] { --office-top:0%; }
.ws-team-office [data-team-photo="9"] { --office-top:0%; }
.team-collage.ws-team-office .team-portrait--lead .team-member-photo>img[data-office] { height:auto; width:100%; min-height:100%; top:-13%; }
.ws-team-office .team-member-caption { opacity:1!important; visibility:visible!important; }
@media(max-width:1150px) { html[data-ws-inline-menu] .header { grid-template-columns:auto 1fr!important; } html[data-ws-inline-menu] .header>nav { grid-column:1/-1; grid-row:2; justify-self:stretch; } }

/* Top action row replaces the repeated inline heading and repeated launch button. */
.ws-case-actions,.ws-tour-actions{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:0 0 24px;min-height:44px}
.project-details .ws-case-actions .case-close,.tour-details .ws-tour-actions .tour-details-close{position:static!important;inset:auto!important;flex:0 0 44px;width:44px;min-width:44px;height:44px;min-height:44px;margin:0 0 0 auto!important;padding:0;display:grid;place-items:center}
.ws-case-actions .case-open,.ws-tour-actions .tour-details-start{display:inline-flex;align-items:center;justify-content:space-between;gap:26px;min-height:44px;width:auto;max-width:calc(100% - 64px);margin:0!important;padding:12px 20px;text-decoration:none}
@media(max-width:600px){.ws-case-actions,.ws-tour-actions{gap:12px;margin-bottom:20px}.ws-case-actions .case-open,.ws-tour-actions .tour-details-start{max-width:calc(100% - 56px);padding:10px 14px}}

html { --ws-paper:#fff; }
html[data-ws-switch][data-ws-direction] body>.header { background:#fff!important; }
html[data-ws-direction] body .ws-client-logo img,
html[data-ws-direction] body .ws-client-logo:is(:hover,:focus-visible) img { filter:grayscale(1)!important; }
.team-collage.has-roster.ws-team-office>.team-portrait { opacity:1!important; transform:none!important; clip-path:none!important; transition:none!important; }

.ws-cinema-card.scroll-reveal { opacity:1!important; transform:none!important; transition:none!important; }

html[data-ws-inline-menu][data-ws-direction="digital"] body.ws-powerhouse-digital>.header { background:#fff!important; }

html[data-ws-inline-menu] .header>nav a { min-height:44px!important; }
