/* White Stones type system. Append last and remove font-scale-261111.js.
   Real local Cyrillic variable font, stable CSS sizes, no stylesheet mutation.
   Brand wordmarks are separate vector artwork and intentionally untouched. */
@font-face {
  font-family: 'WS Onest';
  src: url('/arch-assets/Onest-Variable.ttf') format('truetype');
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
:root {
  --ws-type-body: clamp(15px, .28vw + 12px, 18px);
  --ws-type-meta: clamp(12px, .14vw + 10.5px, 15px);
  --ws-type-title: clamp(32px, 3.35vw, 72px);
  --ws-type-card: clamp(19px, 1.45vw, 29px);
  --ws-type-display: clamp(39px, 4.5vw, 112px);
  --ws-type-family: 'WS Onest', Onest, Arial, sans-serif;
}
html body,
html body :is(button,input,textarea,select) {
  font-family: var(--ws-type-family);
  font-size: var(--ws-type-body);
  font-weight: 400;
  font-synthesis: none;
  font-kerning: normal;
  font-variation-settings: normal;
  -webkit-font-smoothing: antialiased;
}
html body { line-height: 1.6; }
html body :is(h1,h2,h3,h4) {
  font-family: var(--ws-type-family) !important;
  font-weight: 400 !important;
  font-synthesis: none !important;
  font-variation-settings: normal !important;
  font-kerning: normal;
  word-break: normal !important;
  overflow-wrap: normal !important;
  hyphens: none;
  letter-spacing: -.038em !important;
}
html[data-ws-direction] body :is(.section>h2,.section-heading>h2,.ws-facts-intro>h2),
html[data-ws-content-typography] body :is(h1,h2) {
  font-size: var(--ws-type-title) !important;
  line-height: 1.12 !important;
  text-wrap: balance;
}
html[data-ws-direction] body :is(.section>h2,.section-heading>h2) { max-width: 24ch; }
html[data-ws-direction] body .section>h2.sr-only { font-size: 1px !important; }
html[data-ws-direction] body :is(.contact-heading>h2,.ws-arrival-copy>h2,.wss-heading),
html[data-ws-content-typography] body h1 {
  font-size: var(--ws-type-display) !important;
  line-height: 1.08 !important;
  letter-spacing: -.045em !important;
  text-wrap: balance;
}
html[data-ws-direction] body .contact-heading>h2 { max-width: 21ch; }
html[data-ws-direction] body .wss-heading { max-width: 19ch; }
html body .wss-third-inner { font-size: .57em; line-height: 1.2; letter-spacing: -.028em; }
html[data-ws-direction] body :is(.section-top,.section-top>.ws-section-title strong,.section-top>.ws-section-title small,.wss-kicker,.wss-media-caption,.ws-service-lead,.team-member-caption>span,.caption small,.tour-caption p,.ws-project-case small,.ws-section-note,.ws-fact-label,.hero-top,.hero-actions,footer,.contact-bottom>p) {
  font-family: var(--ws-type-family) !important;
  font-size: var(--ws-type-meta) !important;
  line-height: 1.45 !important;
  font-weight: 400 !important;
  letter-spacing: .005em !important;
}
html[data-ws-direction] body :is(.section-top>.ws-section-title strong,.wss-kicker) { font-weight: 500 !important; }
html[data-ws-direction] body :is(.about-copy,.section-heading>p,.case-copy,.tour-details-copy,.ws-services-intro,.ws-service-description,.ws-service-item p,.idea-step p,.ws-next-copy>span:last-child) {
  font-family: var(--ws-type-family) !important;
  font-size: var(--ws-type-body) !important;
  line-height: 1.65 !important;
  font-weight: 400 !important;
  letter-spacing: 0 !important;
}
html[data-ws-direction] body :is(.case-copy,.tour-details-copy) p { max-width: 62ch; }
html[data-ws-direction] body :is(.caption,.tour-caption h3,.tour-card:first-child .tour-caption h3,.ws-project-case strong,.ws-service-summary .ws-service-title,.ws-product-block .ws-service-title,.service-row h3,.idea-step h3,.ws-format-gallery strong) {
  font-family: var(--ws-type-family) !important;
  font-size: var(--ws-type-card) !important;
  font-weight: 450 !important;
  line-height: 1.24 !important;
  letter-spacing: -.025em !important;
  word-break: normal !important;
  overflow-wrap: normal !important;
  hyphens: none;
}
html[data-ws-direction] body .tour-caption { flex-wrap: wrap; row-gap: 5px; }
html[data-ws-direction] body .tour-caption h3 { flex: 1 0 min(100%, 14ch); }
html[data-ws-direction] body .caption { flex-wrap: wrap; row-gap: 5px; }
html[data-ws-direction] body :is(.tour-caption p,.caption small) { white-space: normal; }
html[data-ws-direction] body .team-member-caption strong {
  font-family: var(--ws-type-family) !important;
  font-size: clamp(15px, .36vw + 11px, 20px) !important;
  line-height: 1.3 !important;
  font-weight: 550 !important;
  letter-spacing: -.016em !important;
}
html[data-ws-direction] body .team-member-caption { min-width: 0; }
html[data-ws-direction] body .team-member-caption>span { margin-top: 5px; }
html[data-ws-direction] body :is(.ws-fact-number,.about-numbers strong) {
  font-family: var(--ws-type-family) !important;
  font-size: clamp(34px, 3.15vw, 64px) !important;
  font-weight: 450 !important;
  line-height: 1.05 !important;
  letter-spacing: -.045em !important;
  font-variant-numeric: lining-nums tabular-nums;
}
html[data-ws-direction] body :is(.case-open,.case-page-link,.tour-details-start,.project-page-link,.ws-service-action,.wss-project-link,.filters button,.form-send,.form-label,.brief-link,.email) {
  font-family: var(--ws-type-family) !important;
  font-size: clamp(14px, .3vw + 11px, 18px) !important;
  line-height: 1.35 !important;
  font-weight: 500 !important;
  letter-spacing: -.012em !important;
}
html[data-ws-direction] body .contact-bottom :is(.brief-link,.email) { font-size: clamp(20px, 2vw, 36px) !important; letter-spacing: -.035em !important; }
html[data-ws-direction] body .ws-next-copy strong {
  font-family: var(--ws-type-family) !important;
  font-size: clamp(32px, 4vw, 80px) !important;
  line-height: 1.08 !important;
  font-weight: 400 !important;
  letter-spacing: -.042em !important;
  max-width: 19ch;
  text-wrap: balance;
}
html[data-ws-direction] body :is(.ws-next-copy>span:first-child,.ws-direction-panel p,.ws-direction-panel a,.ws-direction-caption) { font-size: var(--ws-type-meta) !important; line-height: 1.45 !important; }
html[data-ws-direction] body :is(.ws-direction-panel h2,.ws-direction-panel strong) { font-size: clamp(24px, 2.2vw, 38px) !important; }
/* Keep Katya's compact right-aligned navigation and full-height tap areas. */
html[data-ws-inline-menu] body>.header>nav>a,
body[data-ws-gallery-editorial] :is(.hero,#viewer) [data-ws-gallery-action] {
  font-family: var(--ws-type-family) !important;
  font-size: clamp(13px, .22vw + 10px, 18px) !important;
  line-height: 1.25 !important;
  letter-spacing: -.012em !important;
  font-weight: 500 !important;
}
/* Same hierarchy in the embedded Digital scene, without touching its 3D canvas. */
body[data-ws-gallery-editorial] .hero-bottom h1 {
  font-family: var(--ws-type-family) !important;
  font-size: clamp(34px, 3.6vw, 88px) !important;
  font-weight: 400 !important;
  line-height: 1.08 !important;
  letter-spacing: -.04em !important;
  max-width: 21ch;
  text-wrap: balance;
}
body[data-ws-gallery-editorial] :is(.scene-top,.scene-hint,.active-caption,.collage-caption,.project-station>span,.project-station button,.walk-top strong,.walk-bottom p) { font-size: var(--ws-type-meta) !important; line-height: 1.45 !important; letter-spacing: .005em !important; }
body[data-ws-gallery-editorial] :is(.gallery-continue,.collage-actions button,#walk-to-site) { font-size: 13px !important; line-height: 1.35 !important; }
body[data-ws-gallery-editorial] .collage-tile-label { font-size: clamp(18px, 1.5vw, 28px); line-height: 1.3; }
@media (min-width: 701px) and (max-width: 1100px) {
  html[data-ws-inline-menu] body>.header { column-gap: 14px !important; }
  html[data-ws-inline-menu] body>.header>.brand { width: 92px; }
  html[data-ws-inline-menu] body>.header>.ws-header-symbol { width: 22px; height: 22px; }
  html[data-ws-inline-menu] body>.header>nav { column-gap: 12px !important; }
  html[data-ws-inline-menu] body>.header>nav>a,
body[data-ws-gallery-editorial] :is(.hero,#viewer) [data-ws-gallery-action] { font-size: 13px !important; }
}
@media (max-width: 700px) {
  :root { --ws-type-title: clamp(29px, 7.4vw, 44px); --ws-type-display: clamp(34px, 8.7vw, 54px); --ws-type-card: clamp(18px, 4.5vw, 23px); }
  html[data-ws-direction] body :is(.section>h2,.section-heading>h2) { max-width: 20ch; }
  html[data-ws-direction] body :is(.wss-heading,.ws-arrival-copy>h2) { max-width: 20ch; }
  html[data-ws-inline-menu] body>.header>nav>a,
body[data-ws-gallery-editorial] :is(.hero,#viewer) [data-ws-gallery-action] { font-size: 12px !important; min-height: 44px !important; }
  html[data-ws-direction] body .contact-bottom :is(.brief-link,.email) { font-size: clamp(19px, 5vw, 27px) !important; }
  html[data-ws-direction] body .ws-next-copy strong { font-size: clamp(30px, 7.7vw, 46px) !important; }
  html[data-ws-direction] body .team-member-caption strong { font-size: 15px !important; }
  html[data-ws-direction] body .team-member-caption>span { font-size: 12px !important; }
  body[data-ws-gallery-editorial] .hero-bottom h1 { font-size: clamp(29px, 7.5vw, 42px) !important; }
}
@media (max-height: 550px) and (min-width: 701px) {
  html[data-ws-direction] body :is(.wss-heading,.ws-arrival-copy>h2) { font-size: clamp(30px, 3.2vw, 48px) !important; }
}

/* Section names, project titles and supporting copy have separate typographic roles. */
html[data-ws-direction] body .section-top > .ws-section-title strong {
  font-size:clamp(18px,1.45vw,29px)!important; font-weight:520!important;
  line-height:1.2!important; letter-spacing:-.028em!important;
}
html[data-ws-direction] body :is(.section-heading > h2,.ws-facts-intro > h2) {
  font-size:clamp(34px,4vw,82px)!important; line-height:1.06!important;
  letter-spacing:-.045em!important; font-weight:430!important;
}
html[data-ws-direction] .ws-service-summary { align-items:baseline; }
html[data-ws-direction] .ws-service-summary .ws-service-lead { max-width:48ch; }
html[data-ws-direction] .ws-service[open] .ws-service-body { animation:ws-unfold-copy .32s ease-out both; }
html[data-ws-direction] .ws-service-item { border-top:1px solid #17181730; padding-top:14px; }
html[data-ws-direction] .ws-service-item h4 { font-size:clamp(17px,1.25vw,23px); letter-spacing:-.025em!important; font-weight:550!important; }
html[data-ws-direction] .ws-service-sign { border-radius:50%; background:#e7e7e0; color:#141514; }
html[data-ws-direction] .ws-service[open] .ws-service-sign { background:#141514; color:#fff; }
@keyframes ws-unfold-copy { from {opacity:.65;transform:translateY(5px)} to {opacity:1;transform:none} }
html[data-ws-direction] .ws-case-dialog .ws-case-copy { line-height:1.62; max-width:58ch; }
html[data-ws-direction] .ws-case-copy .case-copy p:first-child { font-size:clamp(19px,1.5vw,28px); line-height:1.4; letter-spacing:-.02em; }
html[data-ws-inline-menu] body > .header > nav > .ws-nav-direction,
body[data-ws-gallery-editorial] :is(.hero,#viewer) [data-ws-gallery-action] {
  background:#191a18; color:#fff!important; border-radius:3px; padding-inline:12px;
  min-height:36px!important; text-decoration:none;
}
html[data-ws-inline-menu] body > .header > nav > .ws-nav-direction:hover { background:#393b36; }
html[data-ws-direction] .ws-switch-title { white-space:normal; line-height:1.05; }
html[data-ws-direction] .ws-switch-content { min-height:0; }
html[data-ws-direction] .team-collage.has-roster.ws-team-office .team-member-photo::after {
  content:''; display:block; position:absolute; inset:0 0 auto; width:100%; height:var(--ws-headroom,0);
  pointer-events:none; background:var(--ws-portrait-source,none) var(--ws-portrait-left,0) 0 / var(--ws-portrait-size,auto) no-repeat;
  filter:grayscale(1); transform:scaleY(-1); opacity:1;
}
html[data-ws-direction] .team-member-photo img[data-office] { z-index:1; }
html[data-ws-direction="arch"] { scroll-padding-top:calc(var(--ws-nav-height,76px) + 12px)!important; }
html[data-ws-direction="arch"] #services { scroll-margin-top:0!important; }
/* The footer and the closed trigger keep their position throughout expansion. */
html[data-ws-direction] body .ws-next-shell { height:var(--curtain-closed)!important; z-index:2; }
html[data-ws-direction] body > footer.wrap {
  transform:none!important; translate:none!important; opacity:1!important; animation:none!important;
  transition:none!important; clip-path:none!important; filter:none!important;
}
html[data-ws-direction] body .ws-next-shell > .ws-next-direction {
  position:absolute; inset:auto 0 0; margin:0!important; transform:none!important;
  translate:none!important; clip-path:none!important; opacity:1!important;
}
html[data-ws-direction] .ws-next-arrow { display:inline-flex; align-items:center; gap:.55em; }
html[data-ws-direction] .ws-next-arrow::before {
  content:'Перейти'; font:500 15px/1.2 var(--ws-type-family); border-radius:2px;
  color:#141514; background:#fff; padding:9px 14px; opacity:0; transition:opacity .2s;
}
html[data-ws-direction] .ws-next-direction:is(:hover,:focus-visible) .ws-next-arrow::before { opacity:1; }
html[data-ws-direction] .ws-next-copy > strong {
  display:block; width:fit-content; max-width:100%; box-sizing:border-box;
  color:#191a18; background:#f6f5ed; padding:.12em .23em .18em; text-shadow:none;
}
@media(max-width:1080px) {
  html[data-ws-inline-menu] body > .header > nav { flex-wrap:wrap!important; }
}
@media(max-width:700px) {
  html[data-ws-inline-menu] body > .header > nav { gap:0 12px!important; }
  html[data-ws-inline-menu] body > .header > nav > a { min-height:34px!important; }
  html[data-ws-inline-menu] body > .header > nav > .ws-nav-direction,
body[data-ws-gallery-editorial] :is(.hero,#viewer) [data-ws-gallery-action] { padding:5px 9px; min-height:32px!important; }
  html[data-ws-direction] body .ws-service-items { grid-template-columns:minmax(0,1fr); gap:18px; }
  html[data-ws-direction] .ws-service-summary .ws-service-lead { line-height:1.5!important; }
  html[data-ws-direction] .ws-case-dialog .ws-case-copy { max-width:none; }
  html[data-ws-direction] .ws-next-arrow::before { opacity:1; }
}
@media(hover:none),(pointer:coarse) {
  @view-transition { navigation:none; }
  html[data-ws-direction][data-ws-exit]::before, html[data-ws-direction][data-ws-enter]::before { display:none!important; }
  html[data-ws-direction] body .ws-next-shell > .ws-next-direction { height:var(--curtain-closed)!important; transition:none; }
  html[data-ws-motion-ready] body .ws-cinema-media { clip-path:none!important; }
  html[data-ws-motion-ready] body .ws-cinema-media > img:first-child { transform:none!important; transition:none!important; }
  html[data-ws-direction] body .ws-repeat { opacity:1!important; transform:none!important; }
  html[data-ws-direction] body .ws-word-travel { transform:none!important; }
}
@media(prefers-reduced-motion:reduce) {
  html[data-ws-direction] .ws-service[open] .ws-service-body { animation:none; }
}
/* Typography revision from the client references, 16 November 2026. */
html:root {--ws-type-family:'WS Onest',Onest,Arial,sans-serif!important;--ws-type-body:clamp(16px,.2vw + 14px,19px)!important;--ws-type-meta:clamp(13px,.12vw + 11px,16px)!important;--ws-type-title:clamp(34px,4.1vw,76px)!important;--ws-type-display:clamp(44px,6.1vw,112px)!important;--ws-type-card:clamp(20px,1.75vw,30px)!important}
html:root body {font-family:var(--ws-type-family)!important;font-weight:400!important;line-height:1.55}
html:root body :is(button,input,textarea,select) {font-family:var(--ws-type-family)!important}
html:root body :is(h1,h2,h3,h4) {font-family:var(--ws-type-family)!important;font-variation-settings:normal!important;font-weight:550!important;letter-spacing:-.035em!important}
html:root[data-ws-direction] body :is(.section>h2,.section-heading>h2,.ws-facts-intro>h2,.contact-heading>h2,#projects>h2,.ws-next-copy>strong) {font-size:var(--ws-type-title)!important;line-height:1.08!important;font-weight:550!important;max-inline-size:23ch;text-wrap:balance;letter-spacing:-.04em!important}
html:root[data-ws-direction] body :is(.wss-heading,.contact-heading>h2) {font-size:var(--ws-type-display)!important;font-weight:550!important;line-height:1.04!important;max-inline-size:19ch}
html:root[data-ws-direction] body .section-top>.ws-section-title strong {display:block;font-family:var(--ws-type-family)!important;font-size:clamp(28px,3vw,52px)!important;font-weight:550!important;line-height:1.1!important;letter-spacing:-.035em!important}
html:root[data-ws-direction] body .section-top {align-items:baseline;padding-block:24px!important;gap:24px}
html:root[data-ws-direction] body #idea>h2 {font-size:clamp(24px,2.2vw,38px)!important;font-weight:400!important;line-height:1.25!important;color:#666963;max-width:28ch!important;margin:28px 0 44px!important}
html:root[data-ws-direction] body .ws-services-intro {font-size:clamp(19px,1.8vw,28px)!important;line-height:1.4!important;max-width:48ch;margin:28px 0 44px!important;color:#666963}
html:root[data-ws-direction] body :is(.caption,.tour-caption h3,.ws-project-case strong) {font-size:clamp(20px,1.65vw,29px)!important;font-weight:500!important;line-height:1.2!important;letter-spacing:-.025em!important}
html:root[data-ws-direction] body :is(.caption small,.tour-caption p) {font-size:var(--ws-type-meta)!important;line-height:1.35!important;font-weight:400!important}
html:root[data-ws-direction] body :is(.about-copy,.section-heading>p,.case-copy,.tour-details-copy,.ws-service-description,.ws-service-item p) {font-size:var(--ws-type-body)!important;font-weight:400!important;line-height:1.6!important;letter-spacing:0!important}
html:root[data-ws-direction] body .about-copy {max-width:62rem!important}
html:root[data-ws-direction] body #about .about-copy>p {font-size:clamp(22px,2.35vw,38px)!important;line-height:1.35!important;letter-spacing:-.025em!important;max-width:43ch!important;font-weight:450!important}
html:root[data-ws-content-typography] body h1 {font-size:clamp(40px,6vw,104px)!important;font-weight:550!important;line-height:1.06!important;max-width:24ch;letter-spacing:-.045em!important}
html:root[data-ws-inline-menu] body>.header nav>a:not(.ws-nav-direction) {font-family:var(--ws-type-family)!important;font-weight:450!important;letter-spacing:-.015em!important}
html:root[data-ws-portal] #choose .ws-choice-title {font-family:var(--ws-type-family)!important;font-size:clamp(36px,4vw,74px)!important;font-weight:550!important;line-height:1.05!important;letter-spacing:-.045em!important}
html:root body .ws-type-word {display:inline-block;vertical-align:baseline;will-change:auto}
html:root[data-ws-motion-ready] body .ws-motion-title {mask-image:none!important;opacity:1!important;clip-path:none!important;transform:none!important;animation:none!important}
html:root[data-ws-motion-ready] body .ws-motion-title:not(.is-motion-shown) .ws-type-word {opacity:0;transform:translateY(14px)}
html:root[data-ws-motion-ready] body .ws-motion-title.is-motion-shown .ws-type-word {opacity:1;transform:none;transition:opacity .65s ease,transform .8s cubic-bezier(.16,.7,.25,1);transition-delay:var(--ws-word-delay,0s)}
html:root body .ws-cinema-media>img:first-child {transform:none!important;transition:none!important}
html:root body .ws-art-pointer {display:none!important}
html:root[data-ws-direction] body .ws-next-shell>.ws-next-direction {height:var(--curtain-closed)!important;transition:none!important}
@media(max-width:700px){
 html:root[data-ws-direction] body .section-top {padding-block:18px!important;gap:12px;flex-wrap:wrap}
 html:root[data-ws-direction] body .section-top>.ws-section-title strong {font-size:30px!important}
 html:root[data-ws-direction] body #about .about-copy>p {font-size:25px!important;line-height:1.4!important}
 html:root[data-ws-portal] #choose .ws-choice-title {font-size:clamp(30px,7.6vw,46px)!important}
 html:root[data-ws-direction] body .ws-motion-title:not(.is-motion-shown) .ws-type-word {transform:translateY(8px)}
}
@media(prefers-reduced-motion:reduce){html:root body .ws-motion-title .ws-type-word{opacity:1!important;transform:none!important;transition:none!important}}
html:root body .stone-story #stone-canvas>canvas,
html:root body .stone-story #stone-canvas>.model-fallback {position:absolute;inset:0;width:100%;height:100%}
html:root[data-ws-direction] {--content-inset:clamp(24px,3.4vw,128px)!important;--ws-editorial-inset:var(--content-inset)!important}
@media(min-width:2200px){
 html:root {--ws-type-body:clamp(19px,.8vw,30px)!important;--ws-type-meta:clamp(16px,.65vw,24px)!important;--ws-type-title:clamp(64px,2.8vw,112px)!important;--ws-type-display:clamp(96px,4.2vw,180px)!important;--ws-type-card:clamp(28px,1.1vw,44px)!important}
 html:root[data-ws-direction] body .section-top>.ws-section-title strong {font-size:clamp(52px,2vw,88px)!important}
 html:root[data-ws-direction] body :is(.ws-service-summary .ws-service-title,.caption,.tour-caption h3,.ws-project-case strong) {font-size:var(--ws-type-card)!important}
 html:root[data-ws-direction] body .ws-service-tab {font-size:var(--ws-type-meta)!important}
 html:root[data-ws-direction] body :is(#about .about-copy>p,#idea>h2,.ws-services-intro) {font-size:clamp(34px,1.5vw,60px)!important}
 html:root[data-ws-inline-menu] body>.header>nav>a {font-size:clamp(16px,.65vw,26px)!important}
 html:root body .ws-arrow-action {font-size:clamp(18px,.65vw,26px)!important}
}
html:root[data-ws-direction="digital"] body #tour-grid>.tour-card:first-child {grid-column:auto!important}
@media(min-width:1700px){html:root[data-ws-direction="digital"] body #tour-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}}
@media(max-width:700px){html:root[data-ws-direction]{--content-inset:20px!important;--ws-editorial-inset:20px!important}}
html:root[data-ws-direction] body {--content-inset:clamp(24px,3.4vw,128px)!important;--ws-editorial-inset:var(--content-inset)!important}
html:root[data-ws-direction] body .wrap:not(:where(.ws-editorial-facts,.clients)) {width:calc(100% - 2 * var(--content-inset))!important;max-width:none!important}
html:root[data-ws-direction] body .problem-pair {max-width:none!important}
html:root[data-ws-direction] body>.header.wrap {width:100%!important}
@media(max-width:700px){html:root[data-ws-direction] body{--content-inset:20px!important;--ws-editorial-inset:20px!important}}
html:root[data-ws-direction] body .section.ws-repeat {transform:none!important;translate:none!important}
html:root[data-ws-direction] body :is(.section-top,.section-heading,.ws-facts-intro):has(.ws-motion-title) {transform:none!important;translate:none!important;opacity:1!important;animation:none!important}
html:root[data-ws-direction="arch"] body .ws-next-shell > a.ws-next-digital {background:#e8e8e8 linear-gradient(110deg,#f6f6f6,#e8e8e8 48%,#c7c7c7)!important;color:#171717!important}
html:root[data-ws-direction="arch"] body .ws-next-shell > a.ws-next-digital::after {content:none}
html:root[data-ws-direction="arch"] body .ws-next-shell > .ws-next-digital .ws-next-copy {color:inherit!important}
html:root[data-ws-direction="arch"] body .ws-next-shell > .ws-next-digital .ws-next-arrow.ws-arrow-action {transform-origin:right center;transition:scale .22s ease}
@media(hover:hover) and (pointer:fine){html:root[data-ws-direction="arch"] body .ws-next-digital:is(:hover,:focus-visible) .ws-next-arrow.ws-arrow-action {scale:1.18}}
.wss-story .wss-growth,.wss-story .wss-growth-poster {position:absolute;inset:0 0 auto;width:100%;height:80%;object-fit:contain;background:#fff}
.wss-story .wss-growth[hidden] {display:none}
@media(max-width:700px){.wss-story .wss-growth,.wss-story .wss-growth-poster {height:67%}}
html:root[data-ws-direction] body #idea.idea>h2, html:root[data-ws-direction] body #idea.idea>h2 .ws-type-ink {font-size:clamp(21px,2vw,38px)!important;line-height:1.25!important}

/* Use the tour grid's rhythm for portfolio thumbnails on both directions. */
html[data-ws-direction] {
 --ws-preview-columns: 3;
 --ws-preview-gap-x: 20px;
 --ws-preview-gap-y: 28px;
 --ws-preview-ratio: 3 / 2;
 --ws-caption-space: 14px;
}
@media (min-width:1700px) {
 html[data-ws-direction] { --ws-preview-columns: 4; }
}
@media (max-width:1070px) {
 html[data-ws-direction] { --ws-preview-columns: 2; }
}
@media (max-width:740px) {
 html[data-ws-direction] { --ws-preview-columns: 1; --ws-preview-gap-y: 24px; }
}
/* Digital's wrappers already apply their gutters as padding. */
html:root[data-ws-direction="digital"] body .wrap:not(:where(.ws-editorial-facts,.clients)) {
 box-sizing: border-box;
 width: 100% !important;
 margin-inline: auto !important;
}
html:root[data-ws-direction] body :is(#tour-grid,#projects .projects-grid,#projects .ws-projects-grid,.catalog-grid) {
 grid-template-columns: repeat(var(--ws-preview-columns),minmax(0,1fr)) !important;
 gap: var(--ws-preview-gap-y) var(--ws-preview-gap-x) !important;
}
html:root[data-ws-direction] body :is(#tour-grid>.tour-card,#projects .projects-grid>.project,#projects .ws-projects-grid>.ws-project-case) {
 grid-column: auto !important;
 grid-row: auto !important;
 min-width: 0;
}
html:root[data-ws-direction] body :is(#tour-grid .tour-picture,#projects .project-image,#projects .ws-project-case>figure,.catalog-grid img,.catalog-grid video) {
 box-sizing: border-box;
 width: 100% !important;
 height: auto !important;
 min-height: 0 !important;
 aspect-ratio: var(--ws-preview-ratio) !important;
 margin: 0;
}
html:root[data-ws-direction] body :is(#tour-grid .tour-caption,#projects .project-trigger .caption,#projects .ws-project-case>strong,.catalog-grid figcaption) {
 margin: 0;
 padding: var(--ws-caption-space) 2px 0;
}
html:root[data-ws-direction] body :is(.tour-details-copy,.case-copy,#about .about-copy) {
 display: flex !important;
 flex-direction: column;
 align-items: stretch;
 columns: auto !important;
 gap: 1em !important;
 max-width: min(100%,68ch) !important;
}
html:root[data-ws-direction] body :is(.tour-details-copy,.case-copy,#about .about-copy)>:is(p,ul) {
 margin-block: 0 !important;
}
html:root[data-ws-direction] body .tour-details-copy>ul {
 display: block !important;
 columns: auto;
}
html:root[data-ws-direction] body .tour-details-copy>ul>li+li { margin-top: .65em; }
html:root[data-ws-direction] body .tour-details-copy>p:first-child:has(+p) { font-weight: 550; }
/* Replay the entrance of the first tour card for every portfolio thumbnail. */
html:root[data-ws-motion-ready] body .ws-cinema-card {
 opacity: 0 !important;
 transform: perspective(1400px) translate3d(45px,85px,-110px) rotateX(8deg) rotateY(4deg) scale(.94) !important;
 transform-origin: 50% 90%;
 filter: blur(3px) !important;
 transition: none !important;
}
html:root[data-ws-motion-ready] body .ws-cinema-card.is-card-shown {
 opacity: 1 !important;
 transform: none !important;
 filter: none !important;
 transition: transform 1.2s cubic-bezier(.22,1,.36,1), opacity .8s ease, filter 1s ease !important;
}
html:root[data-ws-motion-ready] body .ws-cinema-card .ws-cinema-media {
 display: block;
 clip-path: inset(0 0 100% 0) !important;
}
html:root[data-ws-motion-ready] body .ws-cinema-card .ws-cinema-media.is-motion-shown {
 clip-path: inset(0) !important;
 transition: clip-path 1s cubic-bezier(.2,.75,.18,1);
}
@media(max-width:700px) {
 html:root[data-ws-motion-ready] body .ws-cinema-card:not(.is-card-shown) {
  transform: translate3d(0,45px,0) rotateX(5deg) scale(.96) !important;
  filter: none !important;
 }
}
html:root[data-ws-motion-ready] body .ws-cinema-card:focus-within {
 opacity: 1 !important; transform: none !important; filter: none !important;
}
html:root[data-ws-motion-ready] body .ws-cinema-card:focus-within .ws-cinema-media { clip-path: none !important; }
@media(prefers-reduced-motion:reduce) {
 html:root[data-ws-motion-ready] body .ws-cinema-card:is(.ws-cinema-card),
 html:root[data-ws-motion-ready] body .ws-cinema-card .ws-cinema-media:is(.ws-cinema-media) {
  opacity:1 !important; transform:none !important; filter:none !important; clip-path:none !important; transition:none !important;
 }
}
/* Align the secondary link on the same caption baseline as the tour metadata. */
html:root[data-ws-direction] body #projects .ws-project-case {
 display: grid;
 grid-template-columns: minmax(0,1fr) auto;
 align-content: start;
 align-items: baseline;
 column-gap: .65rem;
 row-gap: 0;
 container-type: inline-size;
}
html:root[data-ws-direction] body #projects .ws-project-case>figure { grid-column: 1 / -1; }
html:root[data-ws-direction] body #projects .ws-project-case>small {
 margin: 0;
 padding-inline-end: 2px;
 font-size: clamp(.75rem,3.65cqi,1rem);
 white-space: nowrap;
}
html:root[data-ws-direction] body :is(#projects .ws-project-case>strong,#projects .project-trigger .caption,#tour-grid .tour-caption h3) {
 font-size: clamp(1rem,5.3cqi,1.75rem) !important;
 line-height: 1.2 !important;
}
html:root[data-ws-direction] body #projects .project-trigger { container-type: inline-size; }


/* Allow each row to use the available width, including its last few previews. */
html:root[data-ws-direction] body :is(#arch-grid,#tour-grid,#projects .ws-projects-grid,.catalog-grid) {
 display: flex !important;
 flex-wrap: wrap;
 align-items: flex-start;
}
html:root[data-ws-direction] body :is(#arch-grid,#tour-grid,#projects .ws-projects-grid,.catalog-grid) >
 :is(.project,.tour-card,.ws-project-case,figure) {
 box-sizing: border-box;
 min-inline-size: 0;
 flex: 1 0 calc((100% + var(--ws-preview-gap-x)) / var(--ws-preview-columns) - var(--ws-preview-gap-x));
}
html:root[data-ws-direction] body :is(#arch-grid,#tour-grid) > .tour-details,
html:root[data-ws-direction] body #arch-grid > :not(.project) {
 flex: 0 0 100%;
 min-width: 0;
}
/* Split the last two rows when an otherwise full row would leave one orphan. */
@media (min-width:1071px) and (max-width:1699px) {
 html:root[data-ws-direction] body :is(#arch-grid,#tour-grid,#projects .ws-projects-grid,.catalog-grid) >
 :nth-child(3n of :is(.project,.tour-card,.ws-project-case,figure):not([hidden])):nth-last-child(2 of :is(.project,.tour-card,.ws-project-case,figure):not([hidden])),
 html:root[data-ws-direction] body :is(#arch-grid,#tour-grid,#projects .ws-projects-grid,.catalog-grid) >
 :nth-child(3n+1 of :is(.project,.tour-card,.ws-project-case,figure):not([hidden])):nth-last-child(1 of :is(.project,.tour-card,.ws-project-case,figure):not([hidden])) {
  flex-basis: calc((100% - var(--ws-preview-gap-x)) / 2);
 }
}
@media (min-width:1700px) {
 html:root[data-ws-direction] body :is(#arch-grid,#tour-grid,#projects .ws-projects-grid,.catalog-grid) >
 :nth-child(4n of :is(.project,.tour-card,.ws-project-case,figure):not([hidden])):nth-last-child(2 of :is(.project,.tour-card,.ws-project-case,figure):not([hidden])),
 html:root[data-ws-direction] body :is(#arch-grid,#tour-grid,#projects .ws-projects-grid,.catalog-grid) >
 :nth-child(4n+1 of :is(.project,.tour-card,.ws-project-case,figure):not([hidden])):nth-last-child(1 of :is(.project,.tour-card,.ws-project-case,figure):not([hidden])) {
  flex-basis: calc((100% - var(--ws-preview-gap-x)) / 2);
 }
}



/* Give the mobile direction link room for its model, description and action. */
@media (max-width:850px) {
 html:root[data-ws-direction] body .ws-next-shell,
 html:root[data-ws-direction] body .ws-next-shell > .ws-next-direction {
  height:auto!important;
 }
}
@media (max-width:700px) {
 html:root[data-ws-direction] body .ws-next-shell > .ws-next-direction {
  grid-template-columns:minmax(0,1fr);
  grid-template-rows:auto auto auto;
 }
 html:root[data-ws-direction] body .ws-next-direction .ws-sign-stage,
 html:root[data-ws-direction] body .ws-next-direction .ws-next-copy,
 html:root[data-ws-direction] body .ws-next-direction .ws-next-arrow {
  grid-column:1;
 }
 html:root[data-ws-direction] body .ws-next-direction .ws-next-arrow {
  grid-row:3;
  justify-self:start;
  inset:auto;
 }
}
@media (hover:none) and (pointer:coarse), (max-width:700px) {
 .wss-story .wss-growth {display:none}
 .wss-story .wss-media>.ws-scrub-canvas {
  position:absolute;inset:0 0 auto;width:100%;height:67%;object-fit:contain;background:white;
 }
 html:root body .stone-story #stone-canvas>.ws-scrub-canvas {object-fit:contain;z-index:2;pointer-events:none}
 .ws-scrub-canvas[hidden],#stone-canvas[data-interactive="true"]>.ws-scrub-canvas {display:none}
}

