/* ==========================================================================
   Mockups — concept sites shown large, screenshot beside the write-up.
   Self-contained: nothing here restyles another section.
   ========================================================================== */

/* The shared section header is a two-column grid, so the eyebrow takes a row
   of its own rather than stealing the heading's column. */
.mockups .sec-head .eyebrow {
  grid-column: 1 / -1;
  justify-self: start;
  margin-bottom: -1.25rem;
}

.mock-list {
  display: grid;
  gap: clamp(2.5rem, 6vw, 5rem);
}

.mock {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(1.5rem, 4vw, 3.5rem);
}
/* Alternate which side the screenshot sits on, so the page does not march.
   The wide column swaps with it, so every screenshot is the same size. */
.mock-flip {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.45fr);
}
.mock-flip .mock-shot {
  order: 2;
}

/* A plain browser chrome, so a screenshot reads as a live page */
.mock-shot {
  overflow: hidden;
  border: 1px solid #262624;
  border-radius: clamp(14px, 1.6vw, 20px);
  background: var(--panel);
  box-shadow: 0 50px 90px -60px rgba(0, 0, 0, 1);
  transition: border-color 0.4s var(--ease);
}
.mock:hover .mock-shot {
  border-color: #46464333;
}
.mock-bar {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 0.85rem;
  border-bottom: 1px solid #232321;
  background: #121211;
}
.mock-bar i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #333331;
}
.mock-bar em {
  margin-left: 0.6rem;
  overflow: hidden;
  color: var(--dim);
  font-family: var(--mono);
  font-size: 0.62rem;
  font-style: normal;
  letter-spacing: 0.1em;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.mock-shot img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top center;
}

.mock-body h3 {
  margin: 0.55rem 0 0.9rem;
  font-weight: 600;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
}
.mock-body > p {
  max-width: 46ch;
  color: var(--grey);
  font-size: clamp(0.92rem, 1.2vw, 1.02rem);
  line-height: 1.6;
}

.mock-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
}
.mock-tags li {
  padding: 0.4rem 0.75rem;
  border: 1px solid #303030;
  border-radius: 999px;
  color: var(--soft);
  font-family: var(--mono);
  font-size: 0.63rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.mock-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.5rem;
}

@media (max-width: 900px) {
  .mock,
  .mock-flip {
    grid-template-columns: 1fr;
  }
  .mock-flip .mock-shot {
    order: 0;
  }
  .mock-body > p {
    max-width: none;
  }
}
