/* The type and section proportions follow the studio template. The cool palette
   comes from the illuminated lattice and the shadow on its underside. */
:root {
  --metal-fold: url("media/metal-fold-wide.webp");
  --metal-paper: linear-gradient(92deg, rgb(245 247 240 / 86%) 0%, rgb(242 245 239 / 78%) 49%, rgb(239 244 238 / 75%) 84%, rgb(231 239 234 / 58%) 100%);
  --metal-reading: linear-gradient(98deg, rgb(245 248 243 / 94%) 0%, rgb(243 247 242 / 91%) 50%, rgb(234 242 236 / 79%) 100%);
  --metal-shadow: linear-gradient(95deg, rgb(13 32 35 / 91%) 0%, rgb(12 31 33 / 85%) 47%, rgb(13 32 35 / 73%) 100%);
  --metal-hero: linear-gradient(90deg, rgb(7 25 32 / 78%) 0%, rgb(8 27 34 / 82%) 45%, #0b202e 72%);
}
body { isolation: isolate; background: #acbcb8; }
/* One stationary photograph shows through the different section surfaces. */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: #acbcb8 var(--metal-fold) center / cover no-repeat;
}
body[data-page="interior"] main { background: var(--metal-reading); }
.case-notes, .factory-stages { background: rgb(216 228 222 / 53%); }
@media (orientation: portrait) { :root { --metal-fold: url("media/metal-fold-upright.webp"); } }
@media (prefers-reduced-motion: reduce) {
  body { background-image: var(--metal-fold); background-position: center top; background-size: 100% auto; background-repeat: repeat-y; }
  body::before { display: none; }
}
@media (prefers-reduced-transparency: reduce), (forced-colors: active), print {
  :root {
    --metal-fold: none;
    --metal-paper: #f3f4ef; --metal-reading: #f4f8f6;
    --metal-shadow: #182b2c; --metal-hero: #0b202e;
  }
  body::before { display: none; }
}

.business-hero { background: var(--tone-night); }
.hero-visual {
  position: relative;
  grid-area: 1 / 1;
  width: 100%;
  aspect-ratio: 2 / 1;
  overflow: hidden;
  background: var(--tone-night);
}
.business-hero .hero-visual > .hero-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: var(--tone-night);
}
.business-hero .hero-visual .hero-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 58%;
}
.business-hero .hero-art[data-scene="daylight"] img { object-position: 50% 66%; }
.business-hero .hero-art[data-scene="night"] img { object-position: 50% 49%; }
.business-hero .hero-art.scene-pending { opacity: 0; }
.business-hero h1 { line-height: .93; }
.business-hero .hero-description { color: #e3eff1; max-width: 36ch; }
.has-navigation-js body[data-page="home"] .site-header::before {
  background: linear-gradient(180deg, #04121dd9 0%, #071926ad 62%, transparent);
}
.studio-intro figure img { object-position: 50% 65%; }
.studio-intro-copy .studio-location { margin: 0 0 .65rem; color: var(--tone-link); }
.studio-intro-links .text-link, .material-links .text-link, .home-factory .text-link, .section-top > .text-link {
  color: var(--tone-link); border-color: #8ca8ad;
}
.studio-intro-links .text-link:hover, .material-links .text-link:hover, .home-factory .text-link:hover { border-color: currentColor; }
.factory-panorama img { object-position: 50% 57%; }
.nav-overview img { aspect-ratio: 360 / 235; object-fit: cover; }
.projects-wave-roundabout .catalog-image img { object-position: 50% 55%; }
.projects-plaza-rings .catalog-image img { object-position: 50% 60%; }
.projects-perforated-leaves .catalog-image img { object-position: 50% 40%; }
.catalog-caption { padding-top: .9rem; }
.catalog-caption::after { background-color: var(--tone-link); }
.gallery-stage { position: relative; background: var(--tone-soft); }
.gallery-previous { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: var(--tone-soft); pointer-events: none; }
.view-choice[aria-current="true"] img { outline-color: var(--tone-link); }
.filters button { min-height: 44px; }
.filters button[aria-pressed="true"] { background: var(--tone-deep); color: var(--tone-on-night); border-color: var(--tone-deep); }
.cert-mat { padding: 0; overflow: hidden; }
.cert-mat img { object-fit: cover; }
.cert-window .cert-track { align-items: flex-start; }
@media (min-width: 701px) {
  .business-hero .hero-visual .hero-art img { transform: translateX(9%); }
  .business-hero .hero-visual .hero-art::after {
    background: linear-gradient(90deg, #0b202e 0%, #0b202e 9%, rgb(9 30 43 / 90%) 21%, rgb(8 29 41 / 66%) 34%, rgb(8 26 37 / 14%) 50%, transparent 67%);
  }
  .business-hero .hero-content { pointer-events: none; }
  .business-hero .hero-copy { pointer-events: auto; }
}
@media (max-width: 700px) {
  .hero-visual { aspect-ratio: 1.56; }
  .business-hero .hero-visual .hero-art::after {
    background: linear-gradient(0deg, #0b202e 0%, rgb(8 26 37 / 39%) 12%, transparent 30%);
  }
  .business-hero .hero-content { padding-top: 1.15rem; }
  .site-header .factory-brand .brand-wordmark small { font-size: .75rem; }
  .studio-intro-copy .studio-location { margin-bottom: .5rem; }
}
