/* Space and project indexes: readable introduction + a complete, identified photograph. */
.deco-site .space-studio.full {padding-block-start:clamp(28px,3.8vw,68px)}
.deco-site :is(.space-heading,.projects-index-hero).deco-index-opening {
  display:grid;grid-template-columns:minmax(0,.82fr) minmax(0,1.35fr);align-items:center;
  gap:clamp(28px,5vw,90px);width:100%;max-width:1680px;margin:0 auto clamp(30px,3.3vw,55px);
  padding:0;min-height:0;border:0;text-align:start;
}
.deco-site .deco-index-opening .deco-index-copy {width:100%;max-width:580px;margin:0;padding:0;min-width:0}
.deco-site .deco-index-opening .deco-index-copy h1 {
  font-size:clamp(42px,4.5vw,78px);letter-spacing:-.045em;line-height:1.08;margin:18px 0 0;
  max-width:100%;text-wrap:balance;overflow-wrap:break-word;
}
.deco-site .deco-index-opening .deco-index-copy :is(.deco-index-lead,.deco-hero-intro) {
  font-size:clamp(16px,1.15vw,20px);line-height:1.7;max-width:40ch;margin:1.2em 0 0;
}
.deco-site .deco-index-actions {display:flex;gap:14px 24px;align-items:center;flex-wrap:wrap;margin-top:clamp(18px,2vw,30px)}
.deco-site .deco-index-actions a {font-size:15px;line-height:1.4;white-space:normal}
.deco-site .deco-index-actions .deco-index-primary {display:inline-flex;align-items:center;min-height:44px;
  background:#272722;color:#fbf8ef;border:1px solid currentColor;text-decoration:none;padding:9px 17px;}
.deco-site .projects-index-hero .deco-index-primary {background:#f2ece0;color:#252522}
.deco-site .deco-index-actions .deco-index-primary:hover {background:#93452f;color:white}
.deco-site .deco-index-opening .deco-index-feature {width:100%;min-width:0;margin:0;padding:0;align-self:center}
.deco-site .deco-index-feature a {display:block;width:100%;color:inherit;text-decoration:none}
.deco-site .deco-index-feature img {display:block;width:100%;height:auto;max-height:none;object-fit:contain;position:static}
.deco-site .deco-index-caption {display:flex;align-items:baseline;justify-content:space-between;gap:12px;
  padding-block:10px;border-bottom:1px solid color-mix(in srgb,currentColor 31%,transparent);
  font-size:clamp(13px,.98vw,16px);font-weight:550;line-height:1.45}
.deco-site .deco-index-feature a:hover .deco-index-caption {text-decoration:underline;text-underline-offset:.25em}
.deco-site :is(#space-scenes,#project-filters) {scroll-margin-top:90px}

/* Product layouts share one framing rule, but retain their native links and viewers. */
.deco-site main[data-deco-inner] :is(.deco-product-opening,.deco-hub-opening,.deco-download-opening) {
  position:relative!important;isolation:isolate;display:grid!important;
  grid-template-columns:minmax(0,.87fr) minmax(0,1.13fr);align-items:center;gap:clamp(22px,3.5vw,62px);
  min-height:0!important;height:auto!important;max-height:none!important;width:100%;margin:0;
  padding:clamp(32px,3.7vw,68px) clamp(22px,4.4vw,88px)!important;overflow:visible!important;
  background:linear-gradient(116deg,#21211f,#282522 75%,#302922)!important;color:#f7f3ec;
}
.deco-site main :is(.deco-hub-opening,.deco-product-opening,.deco-download-opening)::before,
.deco-site main :is(.deco-hub-opening,.deco-product-opening,.deco-download-opening)::after,
.deco-site main .deco-product-opening :is(.deco-product-intro,.deco-product-copy,.deco-product-visual,.deco-product-visual>a,.deco-product-frame)::before,
.deco-site main .deco-product-opening :is(.deco-product-intro,.deco-product-copy,.deco-product-visual,.deco-product-visual>a,.deco-product-frame)::after {display:none!important}
.deco-site main .deco-product-opening .deco-product-intro,
.deco-site main :is(.deco-hub-opening,.deco-download-opening) .hero-content {
  grid-column:1;grid-row:1;display:block!important;position:static!important;inset:auto!important;
  align-self:center;width:100%!important;height:auto!important;min-height:0!important;max-width:660px!important;
  padding:0!important;margin:0!important;pointer-events:auto;transform:none;
}
.deco-site main .deco-product-opening .deco-product-copy {
  display:block!important;width:100%!important;height:auto!important;max-width:none!important;
  padding:0!important;margin:0!important;background:none!important;position:static!important;
}
.deco-site main :is(.deco-product-opening,.deco-hub-opening,.deco-download-opening) h1 {
  color:#f7f3ec!important;max-width:none!important;font-size:clamp(38px,3.65vw,65px)!important;line-height:1.12!important;
  margin:12px 0 0!important;letter-spacing:-.035em;text-shadow:none!important;text-wrap:balance;overflow-wrap:anywhere;
}
.deco-site main :is(.deco-product-opening,.deco-hub-opening,.deco-download-opening) .deco-hero-intro {
  margin:16px 0 20px!important;max-width:47ch!important;color:#dedad3!important;font-size:clamp(16px,1.12vw,20px)!important;
  line-height:1.65!important;text-shadow:none!important;
}
.deco-site main :is(.deco-product-opening,.deco-hub-opening,.deco-download-opening) p:has(+h1) {color:#f2a891!important}
.deco-site main .deco-product-opening .deco-product-visual,
.deco-site main .deco-hub-opening .hero-media {
  grid-column:2;grid-row:1;align-self:center;display:block!important;position:relative!important;inset:auto!important;
  width:100%!important;height:auto!important;min-height:0!important;max-height:none!important;aspect-ratio:auto!important;
  padding:0!important;margin:0!important;opacity:1!important;transform:none!important;z-index:auto!important;
  background:transparent!important;overflow:visible!important;pointer-events:auto!important;
}
.deco-site main .deco-product-visual>a,.deco-site main .deco-product-visual>button {
  position:relative!important;inset:auto!important;display:block!important;width:100%!important;
  padding:0!important;height:auto!important;min-height:0!important;margin:0!important;aspect-ratio:auto!important;z-index:auto;
}
.deco-site main .deco-product-opening .deco-product-frame {
  display:block!important;position:relative!important;inset:auto!important;box-sizing:border-box;
  width:100%!important;height:auto!important;min-height:0!important;max-height:none!important;
  aspect-ratio:var(--shot-ratio)!important;padding:0!important;margin:0!important;background:none!important;
}
.deco-site main .deco-product-opening .deco-product-frame>img,
.deco-site main .deco-hub-opening .hero-media>img {
  display:block!important;position:static!important;inset:auto!important;width:100%!important;height:auto!important;
  min-height:0!important;max-height:none!important;padding:0!important;object-fit:contain!important;object-position:center!important;
  filter:none!important;opacity:1!important;transform:none!important;
}
.deco-site main .deco-product-opening .deco-product-visual :is(figcaption,.rb-hero-caption,.mc-hero-caption) {
  display:block!important;position:static!important;inset:auto!important;margin:0!important;padding:8px 0!important;
  line-height:1.5;font-size:13px!important;background:none!important;color:#d9d2c8!important;width:auto!important;
}
.deco-site main .deco-hub-opening .hero-media::after {display:none!important}
.deco-site main .deco-download-opening .deco-document-shelf {
  grid-column:2;grid-row:1;padding:clamp(20px,3vw,45px);background:#eae3d7;color:#292722;min-width:0;
}
.deco-site .deco-document-shelf p {font-size:14px;line-height:1.5;color:#72533e;margin:0 0 16px}
.deco-site .deco-document-shelf a {display:flex;align-items:baseline;justify-content:space-between;gap:20px;
  padding:16px 0;border-top:1px solid #b4ab9f;color:#292722;text-decoration:none;font-size:clamp(16px,1.45vw,23px);line-height:1.4}
.deco-site .deco-document-shelf a:hover strong {text-decoration:underline;text-underline-offset:.22em}
.deco-site .deco-document-shelf a span {flex:none;color:#78432f;font:600 12px/1.5 ui-monospace,monospace}

/* Case files: preserve the actual camera frame, including portrait installation photos. */
.deco-site main .project-case-hero .deco-case-photo {
  align-self:center;display:grid!important;grid-template-columns:minmax(0,1fr);height:auto!important;max-height:none!important;
  min-width:0;min-height:0!important;padding:0;overflow:visible!important;
}
.deco-site main .project-case-hero .deco-case-photo>button.media-frame {
  position:relative!important;display:block;width:100%;height:auto!important;min-height:0!important;max-height:min(65vh,650px)!important;
  aspect-ratio:var(--shot-ratio)!important;margin:0;padding:0!important;background:#171715;
}
.deco-site main .project-case-hero .deco-case-photo>button.media-frame img {
  position:absolute!important;inset:0!important;width:100%!important;height:100%!important;object-fit:contain!important;object-position:center!important;
}
.deco-site main .project-case-hero .deco-case-photo figcaption {position:static!important;padding:8px 0;line-height:1.45}
@media (max-width:820px) {
  .deco-site :is(.space-heading,.projects-index-hero).deco-index-opening {grid-template-columns:minmax(0,1fr);gap:18px}
  .deco-site .deco-index-opening .deco-index-copy {max-width:none}
  .deco-site .deco-index-opening .deco-index-copy h1 {font-size:clamp(34px,7.9vw,51px);margin:8px 0 0}
  .deco-site .deco-index-opening .deco-index-copy :is(.deco-index-lead,.deco-hero-intro) {font-size:15px;line-height:1.58;margin:10px 0 0}
  .deco-site .deco-index-actions {gap:12px 18px;margin-top:13px}
  .deco-site .deco-index-opening .deco-index-caption {font-size:13px;padding-block:8px}
  .deco-site main[data-deco-inner] :is(.deco-product-opening,.deco-hub-opening,.deco-download-opening) {
    grid-template-columns:minmax(0,1fr);gap:18px;padding:24px clamp(18px,4.4vw,36px) 28px!important;
  }
  .deco-site main .deco-product-opening .deco-product-intro,
  .deco-site main :is(.deco-hub-opening,.deco-download-opening) .hero-content {grid-column:1;grid-row:1;max-width:none!important}
  .deco-site main .deco-product-opening .deco-product-visual,
  .deco-site main .deco-hub-opening .hero-media,
  .deco-site main .deco-download-opening .deco-document-shelf {grid-column:1;grid-row:2}
  .deco-site main :is(.deco-product-opening,.deco-hub-opening,.deco-download-opening) h1 {font-size:clamp(31px,7.4vw,48px)!important;margin:8px 0 0!important}
  .deco-site main :is(.deco-product-opening,.deco-hub-opening,.deco-download-opening) .deco-hero-intro {font-size:15px!important;line-height:1.55!important;margin:10px 0 14px!important}
  .deco-site main .project-case-hero .deco-case-photo>button.media-frame {max-height:58vh!important}
}
/* Upstream desktop caps and image masks assumed an overlaid heading. */
.deco-site main .projects-index .deco-index-opening,
.deco-site main .project-case .project-case-hero {
  height:auto!important;min-height:0!important;max-height:none!important;overflow:visible!important;
}
.deco-site main .projects-index .deco-index-opening {padding-block-start:clamp(22px,3.2vw,52px)}
.deco-site main .project-case .project-case-hero {padding-block:clamp(18px,2vw,32px)}
.deco-site main .deco-product-opening .deco-product-visual,
.deco-site main .deco-hub-opening .hero-media {mask-image:none!important;-webkit-mask-image:none!important}
.deco-site main .projects-index-grid .project-index-card {width:100%;min-width:0;justify-self:stretch}
/* Preserve the conference-room seating as well as its ceiling; filters stay in the introduction. */
.deco-site.page-gallery .gallery-feed-heading.deco-opening-hero > .opening-gallery img {object-position:50% 95%}
.deco-site.page-gallery .gallery-feed-heading.deco-opening-hero>.opening-gallery figcaption {
  position:absolute;inset-inline-end:4%;bottom:12px;z-index:1;max-width:54%;background:#211f1cda;
  color:#faf7ef;padding:6px 10px;font-size:13px;line-height:1.4;
}
.deco-site.page-gallery .opening-gallery figcaption a {color:inherit;text-underline-offset:.22em}
.deco-site.page-gallery .gallery-feed-heading.deco-opening-hero::before {pointer-events:none}
.deco-site.page-gallery .gallery-feed-heading.deco-opening-hero>.opening-gallery {z-index:0}
.deco-site.page-gallery .gallery-feed-heading.deco-opening-hero::before {z-index:1}
.deco-site.page-gallery .gallery-feed-heading.deco-opening-hero>:not(.opening-gallery) {z-index:2}
@media(max-width:760px) {
  .deco-site.page-gallery .gallery-feed-heading.deco-opening-hero {
    min-height:0;padding:26px 20px 18px;gap:14px;align-content:start;
  }
  .deco-site.page-gallery .gallery-feed-heading.deco-opening-hero::before {display:none}
  .deco-site.page-gallery .gallery-feed-heading.deco-opening-hero h1 {grid-row:1}
  .deco-site.page-gallery .gallery-feed-heading.deco-opening-hero .deco-editorial-note {grid-row:2;margin:0}
  .deco-site.page-gallery .gallery-feed-heading.deco-opening-hero .gallery-feed-actions {grid-row:3;margin:0}
  .deco-site.page-gallery .gallery-feed-heading.deco-opening-hero>.opening-gallery {
    position:static;grid-row:4;height:auto;width:100%;min-height:0;background:transparent;
  }
  .deco-site.page-gallery .gallery-feed-heading.deco-opening-hero>.opening-gallery img {
    position:static;width:100%;height:auto;object-fit:contain;
  }
  .deco-site.page-gallery .gallery-feed-heading.deco-opening-hero>.opening-gallery figcaption {
    position:static;max-width:none;background:none;padding:7px 0 0;color:var(--deco-sand);
  }
}
