/* ==========================================================================
   UXMND concepts — mini website previews, drawn entirely in CSS.

   Every size is in cqw (a percentage of the preview's own width), so the
   same preview looks right in a big slider card or a tiny thumbnail.
   The names are fictional demos (The Lantern Fox, Mira Solano...) and are
   always labelled "Concept" wherever they appear.

   Palette: #FEFAFA #BAE9B5 #A2F14D #E76F87 #3C3C42
   ========================================================================== */
.mock {
  container-type: inline-size;
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #fefafa;
  color: #3c3c42;
  font-family: "Inter", system-ui, sans-serif;
  line-height: 1.1;
  text-align: left;
  user-select: none;
  -webkit-user-select: none;
  pointer-events: none;
}
.mock *, .mock *::before, .mock *::after { box-sizing: border-box; }
.mock s, .mock u, .mock i, .mock b, .mock em, .mock small, .mock strong {
  text-decoration: none; font-style: normal;
}

/* the browser chrome */
.mock-bar {
  position: absolute; inset: 0 0 auto 0; z-index: 5;
  height: 5.2cqw;
  display: flex; align-items: center; gap: .9cqw;
  padding: 0 2cqw;
  background: rgba(254, 250, 250, .94);
  border-bottom: 1px solid rgba(60, 60, 66, .08);
}
.mock-bar i { width: 1.25cqw; height: 1.25cqw; border-radius: 50%; }
.mock-bar i:nth-child(1) { background: #e76f87; }
.mock-bar i:nth-child(2) { background: #a2f14d; }
.mock-bar i:nth-child(3) { background: #bae9b5; }
.mock-bar span {
  margin-left: 1.6cqw; width: 42%;
  height: 2.7cqw; line-height: 2.7cqw; padding: 0 1.4cqw;
  border-radius: 2cqw; background: rgba(60, 60, 66, .07);
  font-size: 1.45cqw; color: rgba(60, 60, 66, .6);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.mock-body { position: absolute; inset: 5.2cqw 0 0 0; overflow: hidden; }

/* a shared mini navigation: b = the name, s = links, u = a button */
.mk-nav {
  position: absolute; z-index: 2; top: 2.8cqw; left: 5cqw; right: 5cqw;
  display: flex; align-items: center; gap: 2.4cqw;
  font-size: 1.9cqw;
}
.mk-nav b { font-weight: 800; margin-right: auto; letter-spacing: -.01em; }
.mk-nav s { width: 5.5cqw; height: .8cqw; border-radius: 1cqw; background: currentColor; opacity: .3; }
.mk-nav u { width: 9cqw; height: 3.2cqw; border-radius: 2cqw; background: currentColor; opacity: .9; }

/* ---------------------------------------- The Lantern Fox — a book launch */
.m-book .mock-body {
  background: radial-gradient(120% 100% at 75% 0%, #55555c 0%, #3c3c42 55%, #323237 100%);
  color: #fefafa;
}
.m-book .mk-nav u { background: #a2f14d; opacity: 1; }
.mb-stars {
  position: absolute; inset: 0; opacity: .7;
  background-image:
    radial-gradient(circle, #fefafa .22cqw, transparent .3cqw),
    radial-gradient(circle, rgba(254, 250, 250, .7) .18cqw, transparent .26cqw);
  background-size: 9cqw 7cqw, 6.5cqw 11cqw;
  background-position: 1cqw 2cqw, 4cqw 5cqw;
}
.mb-moon {
  position: absolute; right: 13cqw; top: 8cqw;
  width: 14cqw; height: 14cqw; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #f4ffe6, #a2f14d 72%);
  box-shadow: 0 0 7cqw rgba(162, 241, 77, .45);
}
.mb-copy { position: absolute; left: 6cqw; top: 12.5cqw; z-index: 2; }
.mb-copy small {
  display: block; margin-bottom: 1.6cqw;
  font-size: 1.45cqw; letter-spacing: .16em; text-transform: uppercase; color: #bae9b5;
}
.mb-copy strong { display: block; font-size: 7cqw; line-height: .95; font-weight: 800; letter-spacing: -.03em; }
.mb-copy em {
  display: inline-block; margin-top: 2.6cqw; padding: 1.2cqw 2.6cqw; border-radius: 3cqw;
  font-size: 1.7cqw; font-weight: 700; background: #e76f87; color: #fefafa;
}
.mb-hills {
  position: absolute; left: -6%; right: -6%; bottom: -5cqw; height: 19cqw;
  background:
    radial-gradient(55% 100% at 75% 100%, rgba(186, 233, 181, .55) 0 62%, transparent 63%),
    radial-gradient(60% 100% at 25% 100%, #bae9b5 0 60%, transparent 61%);
}
.mb-lantern {
  position: absolute; left: 30%; top: 24%;
  width: 2.4cqw; height: 2.4cqw; border-radius: 50%;
  background: #e76f87; box-shadow: 0 0 3cqw 1cqw rgba(231, 111, 135, .6);
}

/* ---------------------------------------- A. R. Bellamy — an author home */
.m-author .mock-body {
  background: radial-gradient(90% 80% at 85% 30%, rgba(186, 233, 181, .45), transparent 60%), #fefafa;
  color: #3c3c42;
}
.ma-copy { position: absolute; left: 6cqw; top: 12cqw; width: 44cqw; }
.ma-copy small {
  display: block; margin-bottom: 1.4cqw;
  font-size: 1.45cqw; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #e76f87;
}
.ma-copy strong { display: block; font-size: 5.3cqw; line-height: 1; font-weight: 800; letter-spacing: -.03em; }
.ma-copy p { margin: 2.2cqw 0 0; display: grid; gap: 1.2cqw; }
.ma-copy p s { display: block; height: .9cqw; border-radius: 1cqw; background: rgba(60, 60, 66, .16); }
.ma-copy p s:last-child { width: 70%; }
.ma-copy em {
  display: inline-block; margin-top: 2.6cqw; padding: 1.2cqw 2.6cqw; border-radius: 3cqw;
  font-size: 1.6cqw; font-weight: 700; background: #3c3c42; color: #fefafa;
}
.ma-books { position: absolute; right: 7cqw; top: 11cqw; width: 36cqw; height: 30cqw; }
.ma-books i {
  position: absolute; bottom: 2cqw; width: 14cqw; height: 21cqw;
  border-radius: .7cqw 1.4cqw 1.4cqw .7cqw;
  box-shadow: 0 2cqw 3cqw -1.4cqw rgba(60, 60, 66, .45);
}
.ma-books i::before {
  content: ""; position: absolute; left: 16%; right: 16%; top: 16%; height: 1.3cqw;
  border-radius: 1cqw; background: rgba(254, 250, 250, .85);
  box-shadow: 0 2.3cqw 0 -.3cqw rgba(254, 250, 250, .5);
}
.ma-books i::after {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 1cqw;
  border-radius: .7cqw 0 0 .7cqw; background: rgba(60, 60, 66, .15);
}
.ma-books i:nth-child(1) { left: 0; background: #bae9b5; transform: rotate(-9deg); }
.ma-books i:nth-child(2) { left: 11cqw; background: #e76f87; transform: translateY(-2.4cqw); z-index: 2; }
.ma-books i:nth-child(3) { left: 22cqw; background: #3c3c42; transform: rotate(8deg); }
.ma-news {
  position: absolute; left: 6cqw; bottom: 4.4cqw; width: 40cqw; height: 5cqw;
  display: flex; align-items: center; padding: 0 .6cqw 0 2cqw;
  border-radius: 3cqw; background: #fefafa; border: 1px solid rgba(60, 60, 66, .14);
}
.ma-news s { flex: 1; max-width: 50%; height: .9cqw; border-radius: 1cqw; background: rgba(60, 60, 66, .16); }
.ma-news u {
  margin-left: auto; height: 3.6cqw; line-height: 3.6cqw; padding: 0 2.4cqw;
  border-radius: 2.4cqw; background: #a2f14d; font-size: 1.5cqw; font-weight: 700;
}

/* ---------------------------------------- Moonberry Jam — a pre-order campaign */
.m-promo .mock-body {
  background:
    radial-gradient(60% 70% at 50% 8%, rgba(254, 250, 250, .5), transparent 70%),
    linear-gradient(170deg, #e76f87 0%, rgba(231, 111, 135, .78) 55%, rgba(231, 111, 135, .42) 100%),
    #fefafa;
  color: #3c3c42; text-align: center;
}
.mp-tag {
  position: absolute; left: 50%; top: 6.5cqw; transform: translateX(-50%);
  padding: .9cqw 2cqw; border-radius: 2cqw; background: #3c3c42; color: #fefafa;
  font-size: 1.4cqw; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap;
}
.mp-title {
  position: absolute; left: 0; right: 0; top: 12cqw;
  font-size: 8cqw; font-weight: 800; letter-spacing: -.035em; color: #fefafa;
  text-shadow: 0 .6cqw 2cqw rgba(60, 60, 66, .25);
}
.mp-count { position: absolute; left: 50%; top: 24.5cqw; transform: translateX(-50%); display: flex; gap: 1.6cqw; }
.mp-count span {
  width: 10.5cqw; padding: 1.4cqw 0 1.2cqw; border-radius: 2cqw;
  background: rgba(254, 250, 250, .82); color: rgba(60, 60, 66, .7);
  font-size: 1.25cqw; letter-spacing: .12em; text-transform: uppercase;
  box-shadow: 0 1.2cqw 2.4cqw -1.2cqw rgba(60, 60, 66, .4);
}
.mp-count b {
  display: block; margin-bottom: .5cqw;
  font-size: 4.6cqw; font-weight: 800; letter-spacing: -.02em; color: #3c3c42;
  font-variant-numeric: tabular-nums;
}
.mp-btn {
  position: absolute; left: 50%; top: 41cqw; transform: translateX(-50%);
  padding: 1.3cqw 3.2cqw; border-radius: 3cqw; background: #a2f14d;
  font-size: 1.7cqw; font-weight: 800; white-space: nowrap;
}
.mp-dot { position: absolute; border-radius: 50%; background: rgba(254, 250, 250, .35); }
.mp-dot.d1 { width: 16cqw; height: 16cqw; left: -4cqw; top: 26cqw; }
.mp-dot.d2 { width: 9cqw; height: 9cqw; right: 6cqw; top: 6cqw; background: rgba(162, 241, 77, .6); }
.mp-dot.d3 { width: 5cqw; height: 5cqw; right: 16cqw; bottom: 5cqw; background: #3c3c42; opacity: .8; }

/* ---------------------------------------- Honey & Oat — a small business */
.m-shop .mock-body { background: linear-gradient(180deg, #bae9b5 0 63%, #fefafa 63%); color: #3c3c42; }
.m-shop .mk-nav u { background: #e76f87; opacity: 1; }
.ms-copy { position: absolute; left: 6cqw; top: 12cqw; width: 46cqw; }
.ms-copy small {
  display: block; margin-bottom: 1.4cqw; opacity: .7;
  font-size: 1.45cqw; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
}
.ms-copy strong { display: block; font-size: 5.2cqw; line-height: 1; font-weight: 800; letter-spacing: -.03em; }
.ms-copy em {
  display: inline-block; margin-top: 2.6cqw; padding: 1.2cqw 2.6cqw; border-radius: 3cqw;
  font-size: 1.6cqw; font-weight: 700; background: #3c3c42; color: #fefafa;
}
.ms-photo {
  position: absolute; right: 6cqw; top: 9cqw; width: 32cqw; height: 25cqw; overflow: hidden;
  border-radius: 3cqw;
  background: radial-gradient(circle at 30% 25%, rgba(254, 250, 250, .9), transparent 45%), linear-gradient(135deg, #a2f14d, #bae9b5);
  box-shadow: 0 2cqw 4cqw -2cqw rgba(60, 60, 66, .45);
}
.ms-photo i {
  position: absolute; left: 50%; top: 56%; width: 15cqw; height: 9cqw; transform: translate(-50%, -50%);
  border-radius: 50% 50% 40% 40% / 60% 60% 40% 40%;
  background: #fefafa; box-shadow: inset 0 -1.2cqw 0 rgba(60, 60, 66, .12);
}
.ms-photo i::before {
  content: ""; position: absolute; left: 18%; right: 18%; top: 28%; height: .8cqw;
  border-radius: 1cqw; background: rgba(60, 60, 66, .18); box-shadow: 0 1.6cqw 0 rgba(60, 60, 66, .12);
}
.ms-photo span {
  position: absolute; right: 1.6cqw; top: 1.6cqw; padding: .8cqw 1.6cqw; border-radius: 2cqw;
  background: #e76f87; color: #fefafa; font-size: 1.3cqw; font-weight: 800;
}
.ms-items { position: absolute; left: 6cqw; right: 6cqw; bottom: 3.4cqw; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2cqw; }
.ms-items i { position: relative; height: 11cqw; border-radius: 2cqw; background: #fefafa; box-shadow: 0 1cqw 2.4cqw -1cqw rgba(60, 60, 66, .35); }
.ms-items i::before { content: ""; position: absolute; left: 1.6cqw; top: 1.6cqw; width: 7.4cqw; height: 7.4cqw; border-radius: 1.6cqw; background: #bae9b5; }
.ms-items i:nth-child(2)::before { background: #e76f87; opacity: .75; }
.ms-items i:nth-child(3)::before { background: #a2f14d; }
.ms-items i::after {
  content: ""; position: absolute; left: 10.6cqw; right: 1.6cqw; top: 3cqw; height: .9cqw;
  border-radius: 1cqw; background: rgba(60, 60, 66, .2); box-shadow: 0 2cqw 0 rgba(60, 60, 66, .12);
}

/* ---------------------------------------- Mira Solano — an illustrator's portfolio */
.m-folio .mock-body { background: #3c3c42; color: #fefafa; }
.mf-head { position: absolute; left: 5cqw; right: 5cqw; top: 3.4cqw; display: flex; align-items: baseline; gap: 2cqw; }
.mf-head b { font-size: 3.2cqw; font-weight: 800; letter-spacing: -.03em; }
.mf-head small { font-size: 1.5cqw; letter-spacing: .14em; text-transform: uppercase; color: #bae9b5; }
.mf-grid { position: absolute; left: 5cqw; right: 5cqw; top: 11cqw; columns: 4; column-gap: 1.6cqw; }
.mf-grid i { position: relative; display: block; overflow: hidden; break-inside: avoid; margin-bottom: 1.6cqw; border-radius: 1.6cqw; }
.mf-grid i:nth-child(1) { height: 22cqw; background: #bae9b5; }
.mf-grid i:nth-child(2) { height: 14cqw; background: #e76f87; }
.mf-grid i:nth-child(3) { height: 18cqw; background: #fefafa; }
.mf-grid i:nth-child(4) { height: 12cqw; background: #a2f14d; }
.mf-grid i:nth-child(5) { height: 24cqw; background: rgba(254, 250, 250, .12); }
.mf-grid i:nth-child(6) { height: 16cqw; background: #e76f87; opacity: .85; }
.mf-grid i:nth-child(7) { height: 20cqw; background: #bae9b5; }
.mf-grid i::after {
  content: ""; position: absolute; left: 20%; top: 22%; width: 60%; aspect-ratio: 1;
  border-radius: 50%; background: rgba(60, 60, 66, .16);
}
.mf-grid i:nth-child(2n)::after { border-radius: 0; clip-path: polygon(50% 0, 100% 100%, 0 100%); background: rgba(254, 250, 250, .4); }

/* ---------------------------------------- a real screenshot in the same frame */
.mock-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
