/* Light paper surrounds optically dark showcases for the emissive models. */
.studio-gallery { --paper:#fcfaf5; }
.studio-gallery main > section {
  --wash:#e7eeeb;
  background:var(--paper-grain), var(--chapter-print), var(--draft-grid), radial-gradient(ellipse at 96% 12%,var(--wash),transparent 49%),
             linear-gradient(160deg,var(--paper) 40%,#f3f3ed);
}
.studio-gallery #top { --wash:#b9e8dc; }
.studio-gallery #services { --wash:#cceee4; --light:#48ffd2; --well:#133c38; }
.studio-gallery #work { --wash:#e8dff1; --light:#cf9dff; --well:#352244; }
.studio-gallery #process { --wash:#d6e8f4; --light:#6deaff; --well:#173a4c; }
.studio-gallery #plans { --wash:#f4e5d2; --light:#ffba86; --well:#492f3a; }
.studio-gallery #contact { --wash:#cfe9df; --light:#5affbd; --well:#163e37; }
.studio-gallery #handover,.studio-gallery #faq { --wash:#e9e4d8; }
.studio-gallery .gallery-intro {
  background:linear-gradient(115deg,#fffdf6 6%,var(--wash) 92%);
  gap:1rem;padding:.75rem;
}
.gallery-intro > .studio-object,.studio-gallery .hero-object {
  isolation:isolate; overflow:hidden; border-radius:1.85rem;
  background:
    radial-gradient(ellipse at 50% 70%,var(--well,#18443e) 0%,transparent 72%),
    linear-gradient(140deg,#19242e,#0c161e 60%,#202431);
  box-shadow:inset 0 0 0 1px #ffffff24,inset 0 -2px 0 #0005;
}
.gallery-intro > .studio-object {justify-self:stretch;max-width:none;}
.studio-gallery .studio-object canvas,.studio-gallery .studio-object img {
  filter:drop-shadow(0 0 5px color-mix(in srgb,var(--light,#64ffd2) 40%,transparent));
}
.studio-gallery .studio-object::before {
  content:"";position:absolute;inset:52% -20% -45%;border-radius:0;
  background:repeating-linear-gradient(0deg,transparent 0 23px,#9df9ea26 24px 25px),
             repeating-linear-gradient(90deg,transparent 0 27px,#9df9ea26 28px 29px);
  transform:perspective(160px) rotateX(48deg);
  mask-image:radial-gradient(ellipse,#000 5%,transparent 68%);
}
.studio-gallery .hero-object {
  position:relative;inset:auto;width:min(17rem,51%);margin:0 0 -1.5rem auto;
  aspect-ratio: 1.8;z-index:2;transform:rotate(3deg);
}
@media(max-width:700px){
  .studio-gallery .gallery-intro {gap:.5rem;}
  .gallery-intro > .studio-object {width:100%;height:9.5rem;aspect-ratio:auto;}
  .studio-gallery .hero-object {width:45%;opacity:1;}
}

/* A transparent sculpture shares the hero surface with the editorial column. */
.studio-gallery #top {
  background: var(--paper-grain), var(--chapter-print), var(--draft-grid), radial-gradient(ellipse at 79% 44%, #d4f1e8 0%, transparent 34%),
              radial-gradient(ellipse at 94% 79%, #e8e2f2, transparent 36%),
              linear-gradient(108deg, #fcfaf5 30%, #eff6ef 100%);
}
.compass-stage { position: relative; isolation: isolate; width: 100%; max-width: 44rem; justify-self: center; }
.compass-stage::before {
  content: ""; position: absolute; z-index: -1; inset: 86% 19% 3%; border-radius: 50%;
  background: radial-gradient(ellipse, #3b6a6159, transparent 67%);
}
.compass-stage :is(img, video) {
  display: block; width: 100%; height: auto;
}
@media (max-width: 960px) {
  .hero__grid { row-gap: 1rem; }
  .hero-copy { display: contents; }
  .hero-copy .mark { display: none; }
  .hero-copy .hero__title { grid-row: 1; }
  .compass-stage { grid-row: 2; width: min(84%, 24rem); }
  .hero-copy .hero__lede, .hero-copy .hero__actions { margin-top: 0; }
}
/* Small isometric chapter marks rotate independently of the larger showcases. */
main section { --sculpture: url("../img/enamel-layers-turn.webp"); }
main section:nth-of-type(3n), main #work, main #plans {
  --sculpture: url("../img/enamel-steps-turn.webp");
}
main section:nth-of-type(3n + 1), main #services, main #contact {
  --sculpture: url("../img/enamel-cluster-turn.webp");
}
