.studio-header {
  width: min(100%, 1500px);
  margin: 0 auto;
  padding: 96px clamp(16px, 5vw, 72px) 0;
}

.homepage-artwork {
  display: block;
  width: 100%;
  height: auto;
  margin-bottom: 18px;
}

.book-banner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(12px, 2vw, 24px);
  padding: 10px clamp(12px, 2vw, 20px) 10px 10px;
  margin-bottom: 18px;
  border: 1px solid #d8dfed;
  border-radius: 18px;
  background: #f1f5ff;
  color: #101b3b;
}

.book-banner img {
  display: block;
  width: clamp(82px, 12vw, 150px);
  height: auto;
  border-radius: 10px;
}

.book-banner-label {
  margin: 0 0 4px;
  color: #46577a;
  font-size: .875rem;
  font-weight: 700;
}

.book-banner h2 {
  margin: 0;
  color: inherit;
  font-size: clamp(1.05rem, 2vw, 1.55rem);
  letter-spacing: -.025em;
  line-height: 1.18;
}

.book-banner-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 9px 16px;
  border: 1px solid #869cc4;
  border-radius: 10px;
  background: #fff;
  color: #17325f;
  font-size: .9375rem;
  font-weight: 750;
  text-align: center;
  text-decoration: none;
}

.book-banner-link:hover { background: #e7efff; }

.studio-hero {
  display: grid;
  justify-items: center;
  padding: clamp(12px, 3vw, 36px);
  border: 1px solid #dce7f1;
  border-radius: 24px;
  background: radial-gradient(ellipse at 84% 32%, #eef9ff, #fff 68%);
}

.studio-ad {
  display: block;
  width: min(100%, 48rem);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 12px 36px #152e571a;
}

.studio-ad img { display: block; width: 100%; height: auto; }

.studio-header .family-nav { margin: 20px auto 4px; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.project-showcase { scroll-margin-top: 90px; }

.project-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(10px, 1.6vw, 20px);
  margin: 24px 0;
}

.project-tile {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 7px;
  min-width: 0;
  min-height: 160px;
  aspect-ratio: 1;
  padding: clamp(10px, 2vw, 22px);
  border: 1px solid color-mix(in srgb, var(--family) 30%, #fff);
  border-radius: 20px;
  background: #fff;
  color: #101b3b;
  text-decoration: none;
  text-align: center;
  box-shadow: 0 6px 22px #152e570b;
}

.project-tile:hover { background: var(--tint); border-color: var(--family); }

.project-tile img {
  width: clamp(41px, 8vw, 92px);
  height: auto;
  margin-bottom: 3px;
}

.project-tile h3 {
  margin: 0;
  font-size: clamp(1rem, 1.8vw, 1.4rem);
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.project-tile p {
  margin: 0;
  color: #455675;
  font-size: clamp(.875rem, 1.35vw, 1rem);
  line-height: 1.3;
}

.showcase-link {
  display: inline-block;
  padding-block: 10px;
  color: #254778;
  font-weight: 700;
  text-underline-offset: 3px;
}

.book-banner-link:focus-visible,
.studio-ad:focus-visible,
.project-tile:focus-visible {
  outline: 3px solid #2956bf;
  outline-offset: 3px;
}

@media (max-width: 850px) {
  .studio-header { padding-top: 84px; }
  .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .project-tile { min-height: 138px; aspect-ratio: auto; }
}

@media (max-width: 540px) {
  .studio-header { padding-top: 74px; }
  .book-banner { grid-template-columns: auto minmax(0, 1fr); }
  .book-banner-link { grid-column: 1 / -1; }
  .studio-hero { padding: 0; border-radius: 16px; }
  .studio-ad { width: 100%; border-radius: inherit; box-shadow: none; }
  .project-tile { border-radius: 14px; }
}
