/* A typespec, an application window and a UK address in Serallo's house colours. */
.studio-art {
  position: relative;
  isolation: isolate;
  container-type: inline-size;
  overflow: hidden;
  min-width: 0;
  aspect-ratio: 1.46;
  border: 1px solid #dbe3fa;
  border-radius: 18px;
  background-color: #edf2ff;
  background-image: linear-gradient(90deg, #cad7fa65 1px, transparent 1px), linear-gradient(#cad7fa65 1px, transparent 1px);
  background-size: 24px 24px;
}
.studio-window {
  position: absolute;
  inset: 13% 11% 19% 27%;
  overflow: hidden;
  transform: rotate(6deg);
  border: 1px solid #ccd6ef;
  border-radius: 2.8cqw;
  background: white;
  box-shadow: 1cqw 3cqw 5cqw #17348220;
}
.studio-window-bar { display: flex; align-items: center; gap: 1cqw; height: 15%; padding-left: 7%; border-bottom: 1px solid var(--line); }
.studio-window-bar span { width: 1.1cqw; aspect-ratio: 1; border-radius: 50%; background: #adb9d4; }
.studio-window-content { position: absolute; inset: 22% 7% 9%; overflow: hidden; border-radius: 1.1cqw; background: var(--blue); }
.studio-app-mark { position: absolute; left: -8%; top: -22%; width: 66%; aspect-ratio: 1; border: 4cqw solid #93aeff; border-radius: 50%; box-shadow: 0 0 0 3.8cqw #416ef1, 0 0 0 7.6cqw #7093ff; }
.studio-app-lines { position: absolute; right: 8%; bottom: 15%; width: 25%; height: 16%; border-block: 1cqw solid white; opacity: .9; }
.studio-specimen, .studio-address { position: absolute; display: grid; place-content: center; background: var(--ink); color: white; font-weight: 760; }
.studio-specimen {
  top: 32%; left: 9%; width: 33%; aspect-ratio: .94;
  display: flex; align-items: center; justify-content: center;
  padding-bottom: 3%; transform: rotate(-11deg);
  border-radius: 2.6cqw; box-shadow: 1cqw 2cqw 3cqw #15213e25;
  font-size: 24cqw; line-height: .9; letter-spacing: -.095em;
}
.studio-specimen span { color: #ff338f; }
.studio-address {
  right: 8%; bottom: 12%; min-width: 31%; min-height: 18%; padding-inline: 4%;
  transform: rotate(-6deg); border: 1px solid #ecc6db; border-radius: 1.8cqw;
  background: #ffdcee; color: #7c124a; box-shadow: .5cqw 1.3cqw 2.2cqw #2c194417;
  font-size: 7cqw; line-height: 1; letter-spacing: -.075em;
}
.studio-work { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding-block: 28px; margin-bottom: 12px; border-block: 1px solid var(--line); }
.studio-work article { display: flex; flex-direction: column; align-items: flex-start; padding-inline: clamp(16px, 2.4vw, 38px); }
.studio-work article:first-of-type { padding-left: 0; }
.studio-work article:last-of-type { padding-right: 0; }
.studio-work article + article { border-left: 1px solid var(--line); }
.studio-work h3 { font-size: clamp(20px, 2vw, 26px); }
.studio-work p { margin-block: 10px 14px; font-size: 14px; }
.studio-work a { margin-top: auto; }
.studio-credentials { width: 100%; }
@media (min-width: 801px) and (max-width: 1050px) {
  .hero-copy h1 { font-size: clamp(42px, 5.4vw, 57px); }
}
@media (max-width: 800px) {
  .studio-art { aspect-ratio: 2.2; }
  .studio-window { inset: 10% 16% 19% 31%; }
  .studio-specimen { width: 22%; top: 23%; left: 16%; font-size: 16cqw; }
  .studio-address { min-width: 20%; right: 14%; bottom: 8%; font-size: 4.5cqw; }
}
@media (max-width: 640px) {
  .studio-art { aspect-ratio: 1.8; }
  .studio-window { inset: 11% 13% 19% 29%; }
  .studio-specimen { width: 29%; top: 26%; left: 11%; font-size: 21cqw; }
  .studio-address { right: 9%; font-size: 6cqw; }
  .studio-work { grid-template-columns: 1fr; padding-block: 0; }
  .studio-work article { padding: 20px 0; }
  .studio-work article + article { border-left: 0; border-top: 1px solid var(--line); }
}
@media print {
  .studio-art { display: none; }
}
