/* The sign is drawn at its brand proportions, in units of its depth. */
.ws-sign-stage {
  position:relative; display:grid; place-items:center; min-inline-size:0; min-block-size:0;
  container-type:size; isolation:isolate; pointer-events:none;
}
.ws-sign-object {
  --unit:min(20cqw,22cqh); --length:calc(3.16648 * var(--unit));
  --height:calc(1.40785 * var(--unit)); --depth:var(--unit);
  position:relative; width:0; height:0; transform-style:preserve-3d;
  transform:rotateX(-30deg) rotateY(38deg);
}
.ws-sign-stage.is-visible .ws-sign-object { animation:ws-rotate-solid 34s linear infinite; }
@keyframes ws-rotate-solid {
  from { transform:rotateX(-30deg) rotateY(38deg); }
  to { transform:rotateX(-30deg) rotateY(398deg); }
}
.ws-solid-face {
  position:absolute; width:var(--length); height:var(--height);
  left:0; top:0; backface-visibility:hidden; box-sizing:border-box;
  transform:translate(-50%,-50%) var(--plane) translateZ(var(--offset));
}
.ws-face-front,.ws-face-back { --offset:calc(var(--depth) / 2); }
.ws-face-front { --plane:rotateY(0deg); }
.ws-face-back { --plane:rotateY(180deg); }
.ws-face-left,.ws-face-right { width:var(--depth); --offset:calc(var(--length) / 2); }
.ws-face-left { --plane:rotateY(-90deg); }
.ws-face-right { --plane:rotateY(90deg); }
.ws-face-top,.ws-face-base { height:var(--depth); --offset:calc(var(--height) / 2); }
.ws-face-top { --plane:rotateX(90deg); }
.ws-face-base { --plane:rotateX(-90deg); }
.ws-sign-arch .ws-solid-face {
  background:#fafaf7; border:1.35px solid #242821;
}
.ws-sign-arch :is(.ws-face-front,.ws-face-back) {
  background:repeating-linear-gradient(90deg, transparent 0 calc(12.5% - .8px),#adb1a8 calc(12.5% - .8px) 12.5%),#f5f5f0;
}
.ws-sign-arch :is(.ws-face-left,.ws-face-right) {
  background:repeating-linear-gradient(-45deg,transparent 0 5px,#acb0a5 5px 5.7px),#e4e6de;
}
.ws-dim {
  position:absolute; left:-1px; right:-1px; bottom:calc(100% + .21 * var(--unit));
  border-top:1px solid #686e63; color:#333a30; text-align:center;
  font:400 clamp(9px,.115 * var(--unit),14px)/1.2 ui-monospace,Consolas,monospace;
}
.ws-dim::before,.ws-dim::after {
  position:absolute; content:""; top:calc(-.07 * var(--unit)); height:calc(.25 * var(--unit));
  width:1px; background:#777e71;
}
.ws-dim::before {left:0} .ws-dim::after {right:0}
.ws-dim span { position:absolute; bottom:.24em; left:50%; transform:translateX(-50%); }
.ws-sign-digital .ws-solid-face {
  background:#111611 url('/motion-261017/digit-streams-261114.svg') repeat;
  background-size:calc(3.1 * var(--unit)) calc(3.4 * var(--unit));
  background-position:var(--phase,0%) 0;
}
.ws-sign-digital .ws-face-front,.ws-sign-digital .ws-face-back { filter:brightness(1.04); }
.ws-sign-digital .ws-face-left,.ws-sign-digital .ws-face-right { --phase:45%; filter:brightness(.74); }
.ws-sign-digital .ws-face-top,.ws-sign-digital .ws-face-base { --phase:72%; filter:brightness(1.16); }
.ws-sign-stage.is-visible.ws-sign-digital .ws-solid-face { animation:ws-falling-type 6s linear infinite; }
@keyframes ws-falling-type {
  from {background-position:var(--phase,0%) 0}
  to {background-position:var(--phase,0%) calc(3.4 * var(--unit))}
}
@media (prefers-reduced-motion:reduce) {
  .ws-sign-stage.is-visible :is(.ws-sign-object,.ws-solid-face) {animation:none!important}
}

/* Layout the mark, object and copy in their own grid rows. */
html[data-ws-portal] #choose .ws-choice-card {
  display:grid!important; grid-template-rows:auto minmax(0,1fr) auto auto auto;
  align-content:stretch; justify-content:stretch; gap:0; padding:clamp(20px,3vw,60px);
  color:var(--ink)!important; background:var(--paper)!important;
}
.ws-choice-card--arch,.ws-next-arch { --paper:#f5f5f0; --ink:#1a1c18; }
.ws-choice-card--digital,.ws-next-digital { --paper:#131512; --ink:#f6f7ef; }
html[data-ws-portal] #choose .ws-choice-brand {
  position:static; justify-self:start; padding:0; margin:0; background:transparent;
  border:0; border-radius:0; transform:none; mix-blend-mode:normal!important;
}
html[data-ws-portal] #choose .ws-choice-brand img { display:block; width:clamp(72px,5.2vw,114px); height:auto; filter:none!important; }
html[data-ws-portal] #choose .ws-choice-card--digital .ws-choice-brand img { filter:invert(1)!important; }
html[data-ws-portal] #choose .ws-choice-card::before { content:none!important; }
html[data-ws-portal] #choose .ws-choice-title {
  font:430 clamp(2.1rem,1.05rem + 2.9vw,4.65rem)/1.06 var(--ws-type-family)!important;
  letter-spacing:-.045em!important; white-space:normal; text-wrap:balance; margin:0 0 .54em;
}
html[data-ws-portal] #choose .ws-choice-kicker { margin-bottom:.8rem; }
html[data-ws-portal] #choose .ws-choice-card :is(.ws-choice-title,.ws-choice-kicker) { transform:none; }
#choose .ws-sign-stage { width:100%; height:100%; }
@media(max-width:700px) {
  html[data-ws-portal] #choose { min-height:max(740px,100svh)!important; height:auto!important; grid-template-rows:repeat(2,minmax(370px,1fr)); }
  html[data-ws-portal] #choose .ws-choice-title { font-size:clamp(1.85rem,1.1rem + 4vw,2.75rem)!important; margin-bottom:.38em; }
  html[data-ws-portal] #choose .ws-choice-kicker { margin-bottom:.4rem; }
}
@media(min-width:701px) and (max-height:590px) {
  html[data-ws-portal] #choose { min-height:450px; }
  html[data-ws-portal] #choose .ws-choice-title { font-size:clamp(2rem,4vw,3rem)!important; }
}

/* Shared layout for the two directions. */
html[data-ws-direction][data-ws-inline-menu] { --ws-rail:0px!important; }
html[data-ws-direction][data-ws-inline-menu] body { margin-inline:0!important; }
html[data-ws-direction][data-ws-inline-menu] body>.header { inset-inline:0!important; width:100%!important; }
html[data-ws-direction] {
  --ws-type-body:clamp(1rem,.94rem + .21vw,1.2rem);
  --ws-type-meta:clamp(.81rem,.76rem + .14vw,.97rem);
  --ws-type-title:clamp(1.95rem,1.45rem + 1.35vw,3.55rem);
  --ws-type-display:clamp(2.3rem,1.53rem + 2.5vw,5rem);
  --ws-type-card:clamp(1.15rem,1rem + .52vw,1.65rem);
}
html[data-ws-direction] main :is(#projects,#idea,#about,#tours,#awards,#approach) h2:not(.sr-only),
html[data-ws-direction] body :is(.section-heading,.ws-facts-intro,.contact-heading)>h2 {
  font:440 var(--ws-type-title)/1.13 var(--ws-type-family)!important;
  letter-spacing:-.036em!important; max-inline-size:min(100%,30ch); text-wrap:balance;
}
html[data-ws-direction] body main #projects>h2 {
  font:440 clamp(2rem,1.35rem + 1.95vw,4.25rem)/1.1 var(--ws-type-family)!important;
  width:100%; max-width:min(100%,35ch)!important; margin:0 0 clamp(1.8rem,3.5vw,4rem);
  letter-spacing:-.039em!important; text-wrap:balance;
}
html[data-ws-direction] body main #projects>.section-top { margin:0 0 clamp(1rem,1.7vw,2rem)!important; }
html[data-ws-direction] body .section-top>.ws-section-title strong {
  font:530 clamp(1.05rem,.96rem + .4vw,1.5rem)/1.25 var(--ws-type-family)!important;
}
html[data-ws-direction] body :is(.section-heading>p,.about-copy p,.ws-service-item p,.tour-details-copy p,.case-copy p) {
  max-inline-size:62ch; line-height:1.52!important; text-wrap:pretty;
}
html[data-ws-direction] .team-collage.has-roster.ws-team-office {
  display:grid!important; grid-template-columns:repeat(3,minmax(0,1fr))!important;
  align-items:start; gap:clamp(22px,2.6vw,44px) clamp(12px,1.6vw,28px)!important;
  max-inline-size:100%; margin-inline:0!important; width:100%; padding:0;
}
html[data-ws-direction] .team-collage.has-roster.ws-team-office>.team-portrait {
  grid-column:auto!important; grid-row:auto!important; margin:0!important;
  align-self:start; width:100%!important; min-width:0;
}
html[data-ws-direction] .team-collage.has-roster.ws-team-office .team-member-photo {
  display:block; width:100%; height:auto!important; aspect-ratio:3/4.5;
}
html[data-ws-direction] .team-collage.has-roster.ws-team-office .team-member-caption {
  padding:12px 0 0; gap:3px; text-align:start;
}
html[data-ws-direction] .team-collage.has-roster.ws-team-office .team-member-caption>span {margin:0;}
@media(max-width:720px) {
  html[data-ws-direction] .team-collage.has-roster.ws-team-office {grid-template-columns:repeat(2,minmax(0,1fr))!important;}
}

/* Both neighbouring sections participate in layout through the entire expansion. */
html[data-ws-direction] body .ws-next-shell {
  position:relative!important; height:auto!important; margin:0; padding:0; z-index:auto; overflow:visible;
  --curtain-closed:clamp(17rem,19vw,23rem); --curtain-open:clamp(22rem,25vw,29rem);
}
html[data-ws-direction] body .ws-next-shell>.ws-next-direction {
  position:relative!important; inset:auto!important; display:grid; align-items:center;
  grid-template-columns:minmax(0,1.15fr) minmax(0,1fr) auto; gap:clamp(1rem,3vw,4rem);
  min-height:min-content!important; height:var(--curtain-closed); width:100%;
  background:var(--paper)!important; color:var(--ink)!important;
  padding:clamp(1.4rem,3.3vw,4rem) var(--ws-editorial-inset);
}
html[data-ws-direction] body .ws-next-shell>.ws-next-direction::before {content:none;}
.ws-next-direction .ws-sign-stage {width:100%; height:100%; min-height:8rem; order:1;}
html[data-ws-direction] body .ws-next-copy {
  display:grid; padding:0; row-gap:.75rem; order:0; color:inherit;
}
html[data-ws-direction] body .ws-next-shell .ws-next-copy>strong {
  color:inherit; background:transparent; border:0; padding:0; text-shadow:none;
  font:430 clamp(1.9rem,1.4rem + 1.8vw,3.8rem)/1.08 var(--ws-type-family)!important;
  letter-spacing:-.04em!important;
}
html[data-ws-direction] body .ws-next-direction .ws-next-arrow,
html[data-ws-direction] body .ws-next-direction:is(:hover,:focus-visible) .ws-next-arrow {
  position:static; order:2; inline-size:auto; block-size:auto; aspect-ratio:auto; gap:.4em;
  background:transparent; border:0; color:inherit; font-size:1.5rem;
}
html[data-ws-direction] body .ws-next-direction .ws-next-arrow::before {
  color:inherit; background:transparent; border:0; padding:0; opacity:1;
  font:500 .94rem/1.3 var(--ws-type-family);
}
@media(hover:hover) and (pointer:fine) {
  html[data-ws-direction] body .ws-next-shell>.ws-next-direction:is(:hover,:focus-visible) {height:var(--curtain-open);}
}
@media(max-width:700px) {
  html[data-ws-direction] body .ws-next-shell>.ws-next-direction {
    grid-template-columns:minmax(0,1fr) auto; grid-template-rows:9rem auto; height:auto!important;
    padding:1.25rem; row-gap:1rem;
  }
  .ws-next-direction .ws-sign-stage {grid-area:1/1/2/3; min-height:0;}
  html[data-ws-direction] body .ws-next-direction .ws-next-arrow {align-self:end;}
}
html[data-ws-direction] body #projects :is(.arch-more,#show-more),
html[data-ws-direction] body #projects :is(.arch-more,#show-more):is(:hover,:focus-visible,:active) {
  background:transparent!important; color:inherit!important; box-shadow:none!important;
  border:0!important; border-top:1px solid #c7c9c3!important; border-radius:0;
  padding:1rem 0!important; margin-top:1.25rem; font:500 1.0625rem/1.4 var(--ws-type-family)!important;
  transition:none!important; transform:none!important; animation:none!important;
}
html[data-ws-direction] #projects :is(.arch-more,#show-more)::before,
html[data-ws-direction] #projects :is(.arch-more,#show-more)::after {content:none!important;}
html[data-ws-direction] #projects :is(.arch-more,#show-more) span {transform:none!important;transition:none!important;}
html[data-ws-direction] #projects :is(.arch-more,#show-more):focus-visible {outline:2px solid currentColor;outline-offset:3px;}
html[data-ws-direction] #projects .sr-only[role=status] {position:absolute!important;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;}

/* Project headings and their captions should be readable as soon as they enter view.
   The reveal on the photographs remains independent of the text. */
html[data-ws-direction] body #projects :is(h2,.section-top,.section-heading,.ws-word-travel,.arch-more,#show-more) {
  visibility:visible!important; opacity:1!important; clip-path:none!important;
  transform:none!important; transition:none!important; animation:none!important;
}

/* Line weights and annotations follow the plane as the solid rotates. */
.ws-sign-arch.has-plan .ws-solid-face {
  border:0;
  background:#f8f8f3;
}
.ws-sign-arch.has-plan :is(.ws-face-left,.ws-face-right) { background:#e8eae2; }
.ws-sign-arch.has-plan .ws-face-top { background:#fafbf7; }
.ws-plan,.ws-rain { display:block; width:100%; height:100%; }
.ws-plan { overflow:visible; }
.ws-ink {
  stroke:#32392f; stroke-width:1.3; fill:none; stroke-linecap:round;
  stroke-linejoin:round; stroke-dasharray:1;
}
.ws-ink-guide { stroke:#969f92; stroke-width:.75; }
.ws-ink-measure { stroke:#677660; stroke-width:1; }
.ws-plan-label {
  fill:#3d4a38; font:8px ui-monospace,Consolas,monospace;
  paint-order:stroke; stroke:#f8f8f3; stroke-width:2.5; stroke-linejoin:round;
}
.ws-sign-stage.has-rain.ws-sign-digital .ws-solid-face { background:#111511; animation:none; }
@media (max-width:700px) {
  .ws-plan-label { font-size:12px; }
}
@media (prefers-reduced-motion:no-preference) {
  .has-plan.is-visible .ws-ink { animation:ws-pen 9s linear infinite; }
  .has-plan.is-visible .ws-ink-guide { animation-name:ws-construction; animation-delay:var(--step); }
  .has-plan.is-visible .ws-ink-measure { animation-name:ws-dimension; }
  .has-plan.is-visible :is(.ws-plan-label,.ws-dim) { animation:ws-notation 9s linear infinite; }
  @keyframes ws-pen {
    0% { stroke-dashoffset:.92; opacity:.55; }
    24%,91% { stroke-dashoffset:0; opacity:1; }
    100% { stroke-dashoffset:0; opacity:.16; }
  }
  @keyframes ws-construction {
    0%,15% { stroke-dashoffset:1; opacity:0; }
    21% { opacity:1; }
    51%,88% { stroke-dashoffset:0; opacity:1; }
    100% { stroke-dashoffset:0; opacity:0; }
  }
  @keyframes ws-dimension {
    0%,34% { stroke-dashoffset:1; opacity:0; }
    40% { opacity:1; }
    59%,88% { stroke-dashoffset:0; opacity:1; }
    100% { stroke-dashoffset:0; opacity:0; }
  }
  @keyframes ws-notation {
    0%,47%,100% { opacity:0; }
    61%,88% { opacity:1; }
  }
}

/* Optical sizes for the existing Cyrillic word shapes. */
html[data-ws-direction] {
  --ws-type-title:clamp(1.7rem,1.13rem + 2.15vw,3.6rem);
  --ws-type-display:clamp(2.65rem,1.18rem + 5.9vw,6rem);
  --ws-type-body:clamp(1rem,.89rem + .53vw,1.35rem);
}
html[data-ws-direction] body main :is(#projects,#idea,#about,#tours,#awards,#approach) h2:not(.sr-only),
html[data-ws-direction] body :is(.section-heading,.contact-heading,.ws-facts-intro)>h2 {
  font-weight:615!important; letter-spacing:-.039em!important; line-height:1.085!important;
}
html[data-ws-direction] body main #projects>h2 { font-size:clamp(1.8rem,1.18rem + 2.5vw,4.1rem)!important; max-width:min(100%,36ch)!important; }
html[data-ws-direction] body :is(.wss-heading,.ws-arrival-copy>h2) {
  font-weight:615!important; letter-spacing:-.043em!important; line-height:1.04!important;
}
html[data-ws-portal] #choose .ws-choice-title { font-weight:600!important; line-height:1.045!important; }
html[data-ws-direction] body :is(.section-heading>p,.about-copy p,.case-copy p,.ws-service-description,.ws-services-intro) {
  font-weight:445!important; letter-spacing:-.012em!important; line-height:1.46!important; max-width:58ch;
}
html[data-ws-direction] body .ws-next-shell .ws-next-copy>strong { font-weight:580!important; }
html[data-ws-direction] body .section-top>.ws-section-title strong { font-weight:570!important; }
html[data-ws-motion-ready] .ws-motion-title .ws-word-travel { transform:translateY(.36em); }
html[data-ws-motion-ready] .ws-motion-title.is-motion-shown .ws-word-travel {
  transform:none; transition:transform .42s cubic-bezier(.16,1,.35,1);
  transition-delay:calc(var(--ws-word-delay,0s)*.32);
}
@media(prefers-reduced-motion:reduce) {
  html[data-ws-motion-ready] .ws-motion-title .ws-word-travel { transform:none; transition:none; }
}

html[data-ws-direction] body .clients.wrap:has(.ws-partner-wall) {
  --wall:#20211f; --frame:#444641; --pin:#9a9e93; --ink:#e8eae4;
  width:100%; max-width:none; margin-inline:0; padding:clamp(24px,3.2vw,60px) 0;
  color:var(--ink); background:var(--wall); overflow:hidden;
}
html[data-ws-direction] .clients:has(.ws-partner-wall)>.section-top {
  display:flex; flex-wrap:wrap; align-items:baseline; justify-content:space-between; gap:.35rem 1rem;
  margin:0 var(--ws-editorial-inset,4vw) clamp(18px,2vw,34px);
  padding:0; border:0; color:var(--ink); background:transparent;
}
html[data-ws-direction] .clients:has(.ws-partner-wall)>.section-top :is(span,strong) {
  color:inherit; margin:0; padding:0; border:0;
}
html[data-ws-direction] .clients:has(.ws-partner-wall)>.section-top>span:last-child { color:#b8bcb4; }
.ws-partner-wall {
  --cell:clamp(148px,15vw,320px); --gap:clamp(6px,.56vw,12px);
  display:grid; gap:var(--gap); overflow:hidden; width:100%;
}
.ws-partner-wall { min-width:0; grid-template-columns:minmax(0,1fr); }
.ws-partner-wall:focus-visible { outline:2px solid #c4cabb; outline-offset:-2px; }
.ws-partner-group { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,140px),1fr)); gap:var(--gap); }
.ws-partner-row,.ws-partner-group { margin:0; }
.ws-partner-wall.has-marquee .ws-partner-row { display:flex; width:max-content; }
.ws-partner-wall.has-marquee .ws-partner-group {
  display:flex; flex:none; padding-right:var(--gap);
}
.ws-partner-wall.has-marquee.is-running .ws-partner-row { will-change:transform; }
html[data-ws-direction] body .ws-partner-wall .ws-client-logo {
  position:relative; display:grid; place-items:center; box-sizing:border-box; flex:0 0 auto;
  width:auto; min-width:0; height:clamp(81px,7.9vw,166px); border:1px solid var(--frame);
  background:transparent; padding:0; margin:0; overflow:hidden;
}
.ws-partner-wall .ws-client-logo::after {
  content:''; position:absolute; inset:0; pointer-events:none;
  background:linear-gradient(var(--pin),var(--pin)) left top/2px 2px no-repeat,
             linear-gradient(var(--pin),var(--pin)) right top/2px 2px no-repeat,
             linear-gradient(var(--pin),var(--pin)) left bottom/2px 2px no-repeat,
             linear-gradient(var(--pin),var(--pin)) right bottom/2px 2px no-repeat;
}
html[data-ws-direction] body .ws-partner-wall.has-marquee .ws-client-logo { width:var(--cell); }
html[data-ws-direction] body .ws-partner-wall .ws-client-logo img {
  display:block; width:76%!important; height:62%!important; object-fit:contain; margin:0;
  opacity:1!important; filter:brightness(0) invert(.85)!important; mix-blend-mode:normal!important;
  transform:none!important; transition:filter .25s ease-out!important;
}
@media(hover:hover) {
  html[data-ws-direction] body .ws-partner-wall .ws-client-logo:hover img {
    filter:contrast(.45) brightness(2.9)!important;
  }
}
@media(max-width:540px) {
  .ws-partner-group { grid-template-columns:repeat(2,minmax(0,1fr)); }
}

html[data-ws-direction="digital"] #contact .contact-heading {
  display:grid; grid-template-columns:minmax(0,1fr) minmax(160px,28%);
  align-items:center; gap:clamp(20px,3vw,60px);
}
html[data-ws-direction="digital"] #contact .contact-icon {
  display:block; width:100%; height:clamp(155px,16vw,290px); margin:0;
}
#contact .contact-icon .ws-sign-stage { width:100%; height:100%; }
html[data-ws-direction="digital"] #contact .contact-bottom {
  display:flex; flex-flow:row wrap; align-items:baseline; justify-content:space-between; gap:.8rem 2rem;
}
html[data-ws-direction="digital"] #contact.is-open .contact-heading { grid-template-columns:minmax(0,1fr); }
html[data-ws-direction="digital"] #contact.is-open .contact-icon { width:min(100%,240px); height:140px; }
@media(max-width:700px){
  html[data-ws-direction="digital"] #contact .contact-heading { grid-template-columns:minmax(0,1fr); }
  html[data-ws-direction="digital"] #contact .contact-icon { height:150px; }
}

/* Keep the offscreen reveal positions inside the page on a landscape phone. */
@media (orientation: landscape) and (max-height: 540px) and (pointer: coarse) {
  html[data-ws-direction="digital"] main { overflow-x: clip; }
}

html[data-ws-direction="digital"] body #about .about-copy {
  display:block; columns:auto; max-inline-size:68ch;
}
html[data-ws-direction="digital"] body #about .about-copy > p {
  max-inline-size:none; margin:0; color:inherit;
}
/* Captions keep one baseline as the controls disclose the text below the grid. */
#tour-grid .tour-card .tour-caption {
  display:flex; flex-flow:row nowrap; align-items:baseline;
  justify-content:space-between; gap:.65rem; container-type:inline-size;
}
html[data-ws-direction="digital"] #tour-grid .tour-caption h3 {
  flex:0 1 auto; margin:0; white-space:nowrap; font-size:clamp(1rem,5.3cqi,1.75rem)!important;
}
html[data-ws-direction="digital"] #tour-grid .tour-caption p {
  flex:0 1 auto; margin:0; white-space:nowrap; text-align:right;
  font-size:clamp(.75rem,3.65cqi,1rem)!important; line-height:1.35;
}
@media(max-width:1070px) {
  #tour-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media(max-width:740px) {
  #tour-grid { grid-template-columns:minmax(0,1fr); }
  #tour-grid > .tour-card { grid-column:1 / -1; grid-row:auto; }
  #tour-grid .tour-card .tour-picture { height:auto; aspect-ratio:1.65; }
}
@media(max-width:360px) {
  html[data-ws-direction="digital"] body #tours { padding-inline:16px; }
  #tour-grid .tour-caption { column-gap:6px; }
}
/* Both signs use the centre of the full section, even when the contact form opens. */
html[data-ws-direction] body #contact { container-type:inline-size; }
html[data-ws-direction] body #contact.is-open .contact-main { transform:none; }
html[data-ws-direction] body #contact.contact .contact-heading,
html[data-ws-direction] body .ws-next-shell > .ws-next-direction {
  display:grid;
  grid-template-columns:minmax(0,1fr) clamp(9rem,20vw,21rem) minmax(0,1fr);
  align-items:center;
  column-gap:clamp(1rem,2vw,2.5rem);
}
html[data-ws-direction] body #contact .contact-heading { width:100cqi; transform:none; }
html[data-ws-direction] body #contact .contact-heading h2,
html[data-ws-direction] body .ws-next-direction .ws-next-copy { grid-column:1; grid-row:1; }
html[data-ws-direction] body #contact .contact-icon,
html[data-ws-direction] body .ws-next-direction .ws-sign-stage {
  grid-column:2; grid-row:1; justify-self:center; margin:0;
}
html[data-ws-direction] body #contact.contact .contact-icon {
  display:grid; place-items:center; width:100%; height:clamp(9rem,14vw,16rem);
}
html[data-ws-direction] body #contact .contact-icon > canvas {
  display:block; width:auto; height:100%; max-width:100%; aspect-ratio:1;
}
html[data-ws-direction] body .ws-next-direction .ws-next-arrow { grid-column:3; grid-row:1; justify-self:end; }
@media(max-width:850px) {
  html[data-ws-direction] body #contact.contact .contact-heading,
  html[data-ws-direction] body .ws-next-shell > .ws-next-direction {
    grid-template-columns:minmax(0,1fr) auto; grid-template-rows:auto auto;
    row-gap:1rem;
  }
  html[data-ws-direction] body .ws-next-shell > .ws-next-direction { height:auto!important; }
  html[data-ws-direction] body #contact.contact .contact-icon,
  html[data-ws-direction] body .ws-next-direction .ws-sign-stage {
    grid-column:1 / -1; grid-row:1; width:min(100%,18rem); height:9rem;
  }
  html[data-ws-direction] body #contact .contact-heading h2 { grid-column:1 / -1; grid-row:2; }
  html[data-ws-direction] body .ws-next-direction .ws-next-copy { grid-column:1; grid-row:2; }
  html[data-ws-direction] body .ws-next-direction .ws-next-arrow { grid-column:2; grid-row:2; }
}
/* Sweep one soft mask through the whole heading, retaining both text colours. */
@media (prefers-reduced-motion:no-preference) {
  @supports (mask-image:linear-gradient(135deg,#000,transparent)) {
    html[data-ws-motion-ready]:not([data-motion="reduced"]) body .ws-diagonal-title {
      mask-image:linear-gradient(135deg,#000 34%,transparent 63%);
      mask-size:320% 320%;
      mask-repeat:no-repeat;
      mask-position:100% 100%;
      transform:none!important;
    }
    html[data-ws-motion-ready]:not([data-motion="reduced"]) body .ws-diagonal-title.is-motion-shown {
      mask-position:0% 0%;
      transition:mask-position 1.15s cubic-bezier(.24,.57,.30,1)!important;
    }
    html[data-ws-motion-ready]:not([data-motion="reduced"]) body #projects .ws-diagonal-title.is-motion-shown {
      transition:mask-position 1.15s cubic-bezier(.24,.57,.30,1)!important;
    }
  }
}

/* Contain award marks while their offscreen entrance transform is active. */
html[data-ws-direction="digital"] #awards { overflow-x:clip; }

.ws-dim.ws-dim-height {
 left:auto;right:calc(-.21 * var(--unit));top:-1px;bottom:-1px;width:0;
 border-top:0;border-right:1px solid #686e63;
}
.ws-dim-height::before,.ws-dim-height::after {
 left:auto;right:calc(-.07 * var(--unit));top:0;
 width:calc(.25 * var(--unit));height:1px;
}
.ws-dim-height::after {top:auto;bottom:0}
.ws-dim-height span {
 top:50%;bottom:auto;left:calc(.13 * var(--unit));
 transform:translate(-50%,-50%) rotate(-90deg);white-space:nowrap;
}

/* Genuine partner artwork, revealed without a uniform hue filter. */
html[data-ws-direction] body .ws-partner-wall .ws-client-logo {transition:background-color .25s ease-out}
html[data-ws-direction] body .ws-partner-wall .ws-client-logo:focus-visible {outline:1px solid #b8bcb4;outline-offset:-3px}
html[data-ws-direction] body .ws-partner-wall .ws-client-logo:focus {background:#f4f4ef}
html[data-ws-direction] body .ws-partner-wall .ws-client-logo:focus img {filter:none!important}
html[data-ws-direction] body .ws-partner-wall .ws-client-logo[data-ws-light-logo]:focus {background:#20211f}
@media(hover:hover){
 html[data-ws-direction] body .ws-partner-wall .ws-client-logo:hover {background:#f4f4ef}
 html[data-ws-direction] body .ws-partner-wall .ws-client-logo:hover img {filter:none!important}
 html[data-ws-direction] body .ws-partner-wall .ws-client-logo[data-ws-light-logo]:hover {background:#20211f}
}

/* Both footer signs share the same model scale, independent of the section height. */
html[data-ws-direction] body {
 --ws-footer-sign-unit: clamp(1.98rem, 3.08vw, 3.52rem);
}
html[data-ws-direction] body :is(#contact, #other-direction) .ws-sign-object {
 --unit: var(--ws-footer-sign-unit);
}
/* The outline canvas draws the long edge in 114 of its 160 logical pixels. */
html[data-ws-direction] body #contact .contact-icon > canvas[data-brand-brick] {
 width: calc(var(--ws-footer-sign-unit) * 3.16648 * 160 / 114);
 height: auto;
 aspect-ratio: 1;
}

