.showcase {
  scroll-margin-top: 16px;
  padding-block: clamp(4rem, 7vw, 7rem);
  background: #fffaf3;
  color: #201b18;
}
.showcase-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px 24px;
  margin-bottom: clamp(24px, 3.25vw, 50px);
}
.showcase-heading h2 {
  margin: 0;
  font-size: clamp(2.7rem, 5vw, 5.2rem);
  line-height: .99;
  letter-spacing: -.065em;
  text-wrap: balance;
}
.showcase-heading h2 em { color: #964b2e; }
.showcase-all {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .55rem 0;
  color: #34271f;
  font-weight: 550;
  text-decoration: underline;
  text-underline-offset: .33em;
  text-decoration-thickness: 1px;
  text-decoration-color: #9c7661;
}
.showcase-all svg, .showcase-tab svg { width: 18px; height: 18px; flex: none; }
.showcase-all:hover, .showcase-detail:hover { color: #853d25; text-decoration-color: currentColor; }
.showcase-shell { border-top: 1px solid #a48d79; border-bottom: 1px solid #cabaac; }
.showcase-tabs { display: flex; border-bottom: 1px solid #cabaac; }
.showcase-tab {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 49px;
  padding: 8px clamp(14px, 2.3vw, 36px);
  border-inline-end: 1px solid #cabaac;
  color: #504339;
  font: 520 .95rem/1.3 Geist, Arial, sans-serif;
  transition: background-color .18s, color .18s;
}
.showcase-tab:first-child { border-inline-start: 1px solid #cabaac; }
.showcase-tab:hover { background: #f0dfcc; }
.showcase-tab[aria-selected="true"] { color: #fff4e5; background: #31251f; }
.showcase-tab[aria-selected="true"] svg { color: #ffba8d; }
.showcase-tab:focus-visible { z-index: 1; outline: 2px solid #ab502c; outline-offset: -3px; }
.showcase-tab[aria-selected="true"]:focus-visible { outline-color: #ffcc9e; }
.showcase-panel {
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
  align-items: center;
  gap: clamp(24px, 6vw, 90px);
  padding-block: clamp(23px, 2.8vw, 48px);
  scroll-margin-top: 16px;
}
.showcase-panel + .showcase-panel { border-top: 1px solid #cabaac; }
.showcase-shell[data-ready] .showcase-panel { border-top: 0; }
.showcase-panel[hidden] { display: none; }
.showcase-copy h3 {
  max-width: 17ch;
  font-size: clamp(2.15rem, 3.75vw, 3.75rem);
  font-weight: 540;
  line-height: 1.02;
  letter-spacing: -.063em;
  text-wrap: balance;
}
.showcase-copy p {
  max-width: 42ch;
  margin: 16px 0 23px;
  color: #5b4e43;
  font-size: clamp(1rem, 1.18vw, 1.18rem);
  line-height: 1.58;
}
.showcase-detail { color: #773c26; font-weight: 570; text-decoration: underline; text-underline-offset: .3em; }
.showcase-art {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  min-width: 0;
  overflow: hidden;
  border: 1px solid #412f26;
  border-radius: 6px;
  background: radial-gradient(ellipse at 63% 35%, #39271e 0%, #211b19 45%, #151414 100%);
}
.showcase-art::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: .31;
  background-image: linear-gradient(90deg, #a58a7033 1px, transparent 1px), linear-gradient(#a58a7033 1px, transparent 1px);
  background-size: 30px 30px;
  mask-image: radial-gradient(ellipse at 48% 58%, #000 26%, transparent 92%);
}
.showcase-model { display: block; width: min(100%, 550px); height: auto; overflow: visible; }
.showcase-socket { fill: #30241e; stroke: #ad8267; stroke-width: 1; }
.showcase-label { fill: #fff1de; font: 480 15px Geist, Arial, sans-serif; letter-spacing: -.02em; }
.showcase-track { stroke-width: 1.5; stroke-opacity: .75; stroke-linecap: round; }
.showcase-tracer { opacity: 0; stroke-width: 3; stroke-linecap: round; stroke-dasharray: 11 109; }
@media (prefers-reduced-motion: no-preference) {
  .showcase-playing .showcase-tracer { animation: showcase-flow 1.38s ease-in-out var(--delay, 0s) 2; }
  .showcase-playing .showcase-node { animation: showcase-pulse .9s ease-out var(--delay, 0s) both; transform-box: fill-box; transform-origin: center; }
  .showcase-playing .showcase-core { animation: showcase-core-pulse 1.25s ease-in-out .37s 2; transform-origin: 222px 126px; }
  .showcase-playing .showcase-tier { animation: showcase-tier .95s cubic-bezier(.2,.8,.2,1) var(--delay, 0s) both; }
  .showcase-playing .showcase-copy { animation: showcase-copy .42s ease-out both; }
}
@keyframes showcase-flow {
  0% { stroke-dashoffset: 13; opacity: 0; }
  12%, 80% { opacity: 1; }
  100% { stroke-dashoffset: -100; opacity: 0; }
}
@keyframes showcase-pulse { 0% {transform: scale(.85); opacity: .65;} 60% {transform: scale(1.045);} 100% {transform: scale(1); opacity: 1;} }
@keyframes showcase-core-pulse { 50% {transform: scale(1.075);} }
@keyframes showcase-tier { from {transform: translateY(-18px); opacity: .35;} to {transform: translateY(0); opacity: 1;} }
@keyframes showcase-copy { from {transform: translateY(7px); opacity: .72;} to {transform: none; opacity: 1;} }
@media (max-width: 850px) {
  .showcase-panel { grid-template-columns: minmax(0, .87fr) minmax(0, 1fr); gap: 22px; }
}
@media (max-width: 700px) {
  .showcase-heading { align-items: start; }
  .showcase-panel { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .showcase-tab { min-width: 0; flex: 1; padding-inline: 5px; }
  .showcase-copy h3 { max-width: 20ch; }
  .showcase-copy p { margin: 12px 0 16px; }
  .showcase-art { width: 100%; }
}
@media (max-width: 500px) {
  .showcase-tab { font-size: .88rem; }
  .showcase-tab svg { display: none; }
  .showcase-model { width: 100%; }
  .showcase-label { font-size: 17px; }
}
@media (max-width: 350px) {
  .showcase-tab { font-size: .81rem; }
  .showcase-label { font-size: 19px; }
}
@media (forced-colors: active) {
  .showcase-art { forced-color-adjust: none; }
  .showcase-tab[aria-selected="true"] { outline: 2px solid Highlight; outline-offset: -3px; }
}
