.portfolio-showcase {
  background: #103c34;
  color: #fffaf0;
  padding: clamp(42px, 6vw, 88px) 0 clamp(54px, 6vw, 90px);
}
.showcase-inner {
  width: min(1280px, calc(100% - clamp(40px, 9vw, 144px)));
  margin: 0 auto;
}
.showcase-heading {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: end;
  gap: clamp(24px, 5vw, 72px);
  margin-bottom: clamp(24px, 3vw, 44px);
}
.portfolio-showcase .showcase-heading h2 {
  color: inherit;
  font-size: clamp(42px, 4.8vw, 72px);
  line-height: 1.04;
  letter-spacing: -.061em;
  font-weight: 650;
  margin: 0;
}
.showcase-heading em {
  color: #e7c39e;
  display: block;
  font: italic 1.1em/.96 Georgia, serif;
  letter-spacing: -.05em;
}
.showcase-heading p { max-width: 46ch; font-size: clamp(16px, 1.3vw, 20px); line-height: 1.5; margin: 0; }
.showcase-heading .showcase-note { color: #c6d6ce; font-size: .875rem; margin-top: .55rem; }
.showcase-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(23px, 3.2vw, 46px) clamp(20px, 2.8vw, 40px);
  list-style: none;
  padding: 0;
  margin: 0;
}
.showcase-piece { min-width: 0; }
.showcase-link, .showcase-link:visited { display: block; color: inherit; text-decoration: none; }
.showcase-link:focus-visible { outline: 3px solid #ffdc9b; outline-offset: 5px; }
.piece-maya { --wash: #f0c4a4; --shade: #cc9577; --copy: #462719; grid-column: 1/-1; }
.piece-eli { --wash: #cfa17e; --shade: #9e6c52; }
.piece-sofia { --wash: #d3e2d9; --shade: #96b5ab; }
.piece-jordan { --wash: #efcf83; --shade: #d0a65e; }
.piece-alex { --wash: #bfd0d1; --shade: #809d9f; }
.showcase-frame {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  aspect-ratio: 1.72;
  background: linear-gradient(118deg, var(--wash) 14%, var(--shade));
}
.studio, .studio::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.studio::before {
  content: "";
  background: radial-gradient(ellipse at 29% 27%, #fffcf74d, transparent 72%);
}
.studio-display {
  position: absolute;
  width: 73%;
  top: 50%;
  left: 4.5%;
  box-sizing: border-box;
  padding: clamp(2px, .24vw, 4px);
  background: #32342f;
  border: 1px solid #ffffff96;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 1px 3px 4px #23180e29, 3px 13px 15px -9px #23180e60, 6px 26px 35px -22px #23180e66;
  transform: translateY(calc(-50% + var(--showcase-y, 0px) * .34)) rotate(-1.7deg);
  transform-origin: 80% 56%;
}
.studio-screen { display:block; width:100%; height:auto; border-radius:2px; }
.showcase-frame .studio-portrait {
  display: block;
  position: absolute;
  right: 1.5%;
  bottom: -3%;
  height: 101%;
  width: auto;
  max-width: 42%;
  object-fit: contain;
  object-position: bottom;
  filter: drop-shadow(-3px 3px 3px #24170c24);
  transform: translateY(calc(var(--showcase-y, 0px) * -.23));
}
.showcase-caption {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px 20px;
  padding: 17px 0 20px;
  border-bottom: 1px solid #678479;
}
.showcase-caption p { color: #d3e2d9; margin: 0 0 .28rem; font-size: .95rem; line-height: 1.35; }
.portfolio-showcase .showcase-caption h3 {
  color: inherit;
  margin: 0;
  font-size: clamp(26px, 2.7vw, 41px);
  line-height: 1.05;
  font-weight: 600;
  letter-spacing: -.045em;
}
.showcase-action {
  color: #f3cbab;
  font-size: .94rem;
  line-height: 1.5;
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: .3em;
  text-decoration-color: #b6a086;
  transition: color .2s, text-decoration-color .2s;
}
.showcase-link:is(:hover, :focus-visible) .showcase-action { color: #fff; text-decoration-color: currentColor; }
@media (min-width: 721px) {
  .piece-maya .showcase-link {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 2.46fr);
    align-items: stretch;
    color: var(--copy);
    background: var(--wash);
  }
  .piece-maya .showcase-frame { grid-row: 1; grid-column: 2; aspect-ratio: 1.86; background: linear-gradient(105deg, var(--wash) 8%, var(--shade)); }
  .piece-maya .studio::before { background: radial-gradient(ellipse at 52% 23%, #fffcf736, transparent 73%); }
  .piece-maya .showcase-caption {
    grid-row: 1;
    grid-column: 1;
    justify-content: center;
    align-items: flex-start;
    flex-direction: column;
    border: 0;
    gap: clamp(18px, 2.2vw, 36px);
    padding: clamp(24px, 3.1vw, 52px);
  }
  .piece-maya .showcase-caption p { color: #64402b; }
  .portfolio-showcase .piece-maya h3 { font: 500 clamp(38px, 4.9vw, 76px)/1.01 Georgia, serif; letter-spacing: -.06em; max-width: 5.3ch; }
  .piece-maya .showcase-action { color: var(--copy); text-decoration-color: #966c4d; }
  .piece-maya .showcase-link:is(:hover, :focus-visible) .showcase-action { color: #22130c; text-decoration-color: currentColor; }
}
@media (min-width: 701px) and (max-width: 1100px) {
  .portfolio-home .desktop-nav a { padding-inline: 8px; }
}
@media (min-width: 721px) and (max-width: 960px) {
  .showcase-caption { align-items: start; flex-direction: column; }
}
@media (max-width: 720px) {
  .showcase-inner { width: calc(100% - 36px); }
  .showcase-heading, .showcase-grid { grid-template-columns: minmax(0,1fr); }
  .showcase-heading { gap: 16px; }
  .showcase-heading em { display: inline; }
  .showcase-frame { aspect-ratio: 1.65; }
  .showcase-caption { flex-wrap: wrap; align-items: end; padding: 14px 0 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .showcase-frame { --showcase-y: 0px !important; }
  .showcase-action { transition: none; }
}
.motion-paused .showcase-frame { --showcase-y: 0px !important; }
