.team-showcase { padding: 56px 0 44px; background: #f8faf8; border-top: 1px solid #dbe6e0; }
.showcase-inner { width: min(calc(100% - 128px), max(960px, calc((100svh - 270px) * 1.567)), 1440px); margin-inline: auto; }
.showcase-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-bottom: 28px; }
.showcase-heading .eyebrow { margin-bottom: 14px; color: #5e7269; font-size: 10px; }
.showcase-heading h2 { font-size: 36px; font-weight: 650; line-height: 1.2; }
.showcase-accent { color: #fe6238; }
.showcase-description { max-width: 310px; margin: 0 0 2px; font-size: 14px; line-height: 1.7; color: #64716b; }
.showcase-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 14px; min-height: 40px; }
.showcase-scene { font-size: 12px; color: #596b62; }
.showcase-tools { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
.showcase-themes { display: flex; padding: 3px; gap: 2px; background: #e9eeea; border-radius: 7px; }
.showcase-themes button { display: flex; align-items: center; justify-content: center; gap: 8px; min-width: 76px; height: 32px; padding: 0 12px; border: 0; border-radius: 4px; color: #69746e; font-size: 12px; background: transparent; }
.showcase-themes button[aria-pressed="true"] { color: #24362d; background: #fff; box-shadow: 0 1px 4px #20382b15; }
.theme-swatch { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.swatch-light { background: #fff; border: 1px solid #b6c2ba; }
.swatch-dark { background: #242528; border: 1px solid #242528; }
.showcase-expand, .showcase-close { display: grid; place-items: center; width: 38px; height: 38px; padding: 0; border: 1px solid #d8e1db; border-radius: 6px; background: transparent; }
.showcase-expand:hover { background: #e9eeea; }
.showcase-figure { margin: 0; }
.showcase-screen { aspect-ratio: 2520 / 1608; border-radius: 8px; overflow: hidden; outline: 1px solid #1b302319; background: #fff; box-shadow: 0 24px 48px -24px #243f3540, 0 4px 12px #243f3508; }
.showcase-screen[data-theme="dark"] { background: #161616; }
.showcase-screen img { display: block; width: 100%; height: 100%; object-fit: contain; }
.showcase-caption { display: flex; justify-content: space-between; gap: 20px; margin-top: 18px; font-size: 11px; line-height: 1.6; color: #60716a; }
.showcase-version { font: 10px/1.6 monospace; color: #7a867f; white-space: nowrap; }
.showcase-dialog { width: min(96vw, 1920px); max-width: none; max-height: 96dvh; padding: 0 16px 16px; border: 1px solid #ffffff26; border-radius: 8px; background: #202725; color: #fff; box-shadow: 0 24px 80px #0005; }
.showcase-dialog::backdrop { background: #101815d9; }
.showcase-dialog-bar { height: 54px; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: 11px; }
.showcase-close { border-color: #ffffff30; }
.showcase-close img { filter: invert(1); }
.showcase-close:hover { background: #ffffff18; }
.showcase-dialog > img { display: block; width: 100%; height: auto; max-height: calc(96dvh - 74px); object-fit: contain; }
html:has(.showcase-dialog[open]) { overflow: hidden; }
@media (max-width: 1050px) {
  .showcase-inner { width: calc(100% - 64px); }
  .showcase-heading { gap: 24px; }
  .showcase-heading h2 { font-size: 30px; }
  .showcase-description { max-width: 240px; font-size: 13px; }
}
@media (max-width: 600px) {
  .team-showcase { padding: 38px 0 30px; }
  .showcase-inner { width: calc(100% - 40px); }
  .showcase-heading { display: block; margin-bottom: 22px; }
  .showcase-heading h2 { font-size: 29px; max-width: 310px; }
  .showcase-description { max-width: 100%; margin-top: 16px; }
  .showcase-scene { display: none; }
  .showcase-toolbar { justify-content: flex-end; }
  .showcase-tools { width: 100%; justify-content: space-between; }
  .showcase-caption { display: block; font-size: 10px; }
  .showcase-version { display: block; margin-top: 6px; }
  .showcase-dialog { width: calc(100vw - 16px); padding: 0 8px 8px; }
}
