/* ============================================================
   HELIOCASTLE — SHOWCASE
   One delivered website, shown large: the screen on the left, what
   it does on the right, and a small device composite underneath.
   ============================================================ */

.showcase {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 3vw, 46px);
  align-items: start;
  margin-top: clamp(30px, 4vw, 48px);
}

/* --- the screenshot --- */
.showcase-shot {
  position: relative;
  display: block;
  overflow: hidden;
  border: 1px solid rgb(var(--accent-rgb) / 0.42);
  border-radius: 8px;
  background: #0a0a0c;
  box-shadow:
    0 30px 60px rgb(var(--shadow-rgb) / calc(0.5 * var(--shadow-a))),
    0 0 30px rgb(var(--accent-rgb) / 0.08);
  transition: transform 0.7s var(--ease), border-color 0.4s, box-shadow 0.5s;
}
.showcase-shot img {
  width: 100%;
  aspect-ratio: 1.9 / 1;        /* close to the screenshot's own ratio */
  /* contain, not cover: this is the one place the whole page should be
     visible, and the leftover band is the same colour as the card */
  object-fit: contain;
  object-position: top center;
  transition: transform 1.1s var(--ease);
}
.showcase-shot:hover {
  border-color: rgb(var(--accent-rgb) / 0.75);
  box-shadow:
    0 34px 66px rgb(var(--shadow-rgb) / calc(0.55 * var(--shadow-a))),
    0 0 44px rgb(var(--accent-rgb) / 0.16);
}
.showcase-shot:hover img { transform: scale(1.03); }

/* --- the description column --- */
.showcase-info { position: relative; }

/* the list, the button and the address all ride above the composite */
.showcase-list,
.showcase-info .btn,
.showcase-url,
.showcase-name,
.showcase-desc { position: relative; z-index: 1; }

.showcase-name {
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 0.05em;
}
.showcase-desc {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.85;
  margin: 14px 0 24px;
  max-width: 46ch;        /* three lines, the way the design sets it */
}

.showcase-list {
  list-style: none;
  display: grid;
  gap: 12px;
  margin-bottom: 30px;
}
.showcase-list li {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 12px;
  align-items: start;
  font-size: 14px;
  line-height: 1.6;
  color: rgb(var(--ink-rgb) / 0.82);
}
.showcase-list svg { width: 18px; height: 18px; margin-top: 1px; color: var(--gold); }

/* the plain link under the button */
.showcase-url {
  /* flex, not inline-flex: in the design the address sits on its own line
     under the button, not beside it */
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 9px;
  margin-top: 20px;
  font-size: 13px;
  color: var(--muted);
  transition: color 0.3s;
}
.showcase-url svg {
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
  color: var(--gold);          /* both marks stay gold, the text does not */
}
.showcase-url svg:last-child { width: 11px; height: 11px; flex-basis: 11px; opacity: 0.8; }
.showcase-url:hover { color: var(--gold); }

/* the small laptop + phone sitting under the description */
/* The laptop and phone sit *behind* the list and the button — right-hand
   side of the column, where the lines run short, so nothing reads over a
   screen. It is decorative, so it takes no space in the flow. */
.showcase-devices {
  position: absolute;
  z-index: 0;
  right: -4%;
  top: 44%;
  width: min(60%, 340px);
  opacity: 0.9;
  pointer-events: none;
}
