/* Outlined mastheads sit behind the physical objects, as part of the composition. */
.showcase-wordmark {
  position: absolute;
  width: min(100%, 1120px);
  height: 220px;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  overflow: visible;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}
.showcase-wordmark text {
  fill: none;
  stroke: #1d6b69;
  stroke-width: 1.7;
  vector-effect: non-scaling-stroke;
  font-family: 'Space Grotesk', Arial, sans-serif;
  font-weight: 700;
  font-size: 242px;
  paint-order: stroke;
}
.ce-projects .poker-showcase-shell { padding-top: 28px; }
.ce-projects .poker-stage-wrap {
  --deck-scale: 1;
  display: block;
  position: relative;
  width: 100%;
  height: calc(680px * var(--deck-scale));
  padding: 0;
  overflow: clip;
}
.poker-composition {
  position: absolute;
  top: 0;
  left: 50%;
  width: 1160px;
  height: 680px;
  transform: translateX(-50%) scale(var(--deck-scale, 1));
  transform-origin: top center;
  isolation: isolate;
}
.ce-projects .poker-stage {
  position: absolute;
  left: 60px;
  top: 145px;
  width: 1040px;
  min-width: 0;
  max-width: none;
  height: 535px;
  z-index: 1;
}
.ce-projects :is(.poker-card, .poker-next-card) {
  position: absolute;
  left: 25px;
  top: 35px;
  width: 320px;
  height: 465px;
  border: 1.5px solid rgba(29,107,105,.28);
  border-radius: 20px;
  background: rgba(244,238,227,.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 12px 32px rgba(10,20,23,.12), 0 2px 6px rgba(10,20,23,.06);
  transform-origin: bottom left;
  overflow: hidden;
}
.ce-projects .poker-card-visual { height: 190px; }
.poker-next-card {
  z-index: 6;
  display: block;
  padding: 0;
  transform: rotate(10deg) translate(160%, -28%);
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease;
  -webkit-tap-highlight-color: transparent;
}
.poker-next-card img { display: block; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ce-projects .poker-next-card:hover { border-color: var(--teal); box-shadow: 0 18px 46px rgba(29,107,105,.25), 0 4px 10px rgba(10,20,23,.08); }
.poker-next-card:focus-visible { outline: 3px solid #f27b51; outline-offset: 7px; }
.poker-next-card[aria-disabled="true"] { cursor: progress; }
.ce-projects .poker-bottom-bar { margin-top: 10px; }

.nb-reading-room .nb-desk { position: relative; padding-top: clamp(58px, 12vw, 160px); isolation: isolate; }
.nb-desk > .showcase-wordmark { width: min(100% - 28px, 980px); height: auto; }
.nb-book-scene { z-index: 1; }

@media (max-width: 680px) {
  .ce-projects .poker-showcase-shell { padding-top: 12px; padding-bottom: 36px; }
  .showcase-wordmark text { stroke-width: 1.35; }
  .ce-projects .showcase-wordmark text { stroke-width: 3.3; }
  .ce-projects .poker-bottom-bar { margin-top: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .poker-next-card { transition: none; }
}

/* Life Showcase Wordmark: ME&LIFE */
.showcase-wordmark.life-wordmark {
  top: 24px;
  width: min(94vw, 1140px);
  height: 220px;
  z-index: 0;
}

@media (max-width: 820px) {
  .showcase-wordmark.life-wordmark text {
    font-size: 160px;
  }
}

@media (max-width: 580px) {
  .showcase-wordmark.life-wordmark {
    top: 10px;
    height: 110px;
  }
  .showcase-wordmark.life-wordmark text {
    font-size: 110px;
    stroke-width: 2.2;
  }
}
