.studio-home {
  --paper: #f5f3ed;
  --ink: #292e28;
  --muted: #62675e;
  --green: #293029;
  --line: #d3d1c7;
  --accent: #ae9874;
}
.studio-home .hero-copy { color: #f7f5ef; }
.studio-home .hero .eyebrow, .studio-home .hero-intro, .studio-home .hero-foot { color: #d3d1c5; }
.studio-home .hero .text-link { border-color: var(--accent); }
.studio-home .hero-image-link img { transform-origin: 59% 52%; }
@media (prefers-reduced-motion: no-preference) {
  .studio-home .cover-enter { animation: cover-settle 1.1s cubic-bezier(.24,.62,.26,1); }
  @keyframes cover-settle {
    from { transform: scale(1.07); }
    to { transform: scale(1); }
  }
}

.compare-stage {
  --split: 50%;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #dfd8cb;
}
.compare-stage img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.compare-stage .render-image { clip-path: inset(0 calc(100% - var(--split)) 0 0); }
.compare-range {
  position: absolute;
  z-index: 3;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
  touch-action: pan-y;
}
.compare-stage:focus-within { outline: 3px solid #ab8044; outline-offset: 3px; }
.compare-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--split);
  border-left: 2px solid white;
  pointer-events: none;
  filter: drop-shadow(0 1px 3px #0006);
}
.compare-divider::after {
  content: "‹  ›";
  display: grid;
  place-items: center;
  position: absolute;
  top: 50%;
  left: -1px;
  transform: translate(-50%, -50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #fbf7ef;
  color: #30372f;
  font: 22px/1 Georgia, serif;
  white-space: pre;
}
.compare-stage[data-edge] .compare-divider { opacity: 0; }
.compare-label {
  position: absolute;
  top: 12px;
  padding: 3px 9px;
  background: #22261fce;
  color: white;
  font-size: 12px;
  pointer-events: none;
}
.compare-label.design { left: 12px; }
.compare-label.built { right: 12px; }
.compare-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; padding-block: 8px; }
.compare-actions button {
  min-height: 44px;
  padding: 5px 14px;
  border: 1px solid transparent;
  background: transparent;
  color: inherit;
  font-size: 13px;
}
.compare-actions button[aria-pressed="true"] { border-color: currentColor; }
.compare-section-view { max-width: min(100%, 590px); margin-inline: auto; }
.compare-section-view .compare-stage { aspect-ratio: 1767 / 2250; }
.comparison-originals { border-top: 1px solid var(--line); margin-top: 12px; }
.comparison-originals summary { padding-block: 12px; font-size: 13px; cursor: pointer; }
.home-comparison { min-width: 0; padding: 50px 9% 45px; }
.home-comparison .compare-stage { height: 350px; }
.home-comparison .compare-stage img { height: 100%; }
.home-comparison .compare-actions { margin-bottom: 6px; }
.home-comparison .chapter-link { display:block; }
.home-comparison .chapter-link:hover h2 { text-decoration: underline; text-underline-offset: 5px; }
@media (max-width: 1000px) {
  .home-comparison .compare-stage { height: 280px; }
}
@media (max-width: 760px) {
  .home-comparison { padding: 32px 7% 35px; }
  .home-comparison .compare-stage { height: auto; aspect-ratio: 4 / 3; }
}

.designer-links {
  display: flex;
  flex-wrap: wrap;
  column-gap: 1.5rem;
}
@media (max-width: 760px) {
  .studio-home .about { gap: 1.5rem; }
  .studio-home .about-image {
    display: grid;
    grid-template-columns: clamp(110px, 34vw, 160px) 1fr;
    align-items: end;
    column-gap: 1rem;
    width: 100%;
  }
  .studio-home .portrait-caption {
    display: grid;
    gap: .35rem;
    line-height: 1.5;
    font-size: .8rem;
  }
}
