/* ============ Brand boards: physical mockups built in CSS ============ */
.case__board { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.bt { position: relative; aspect-ratio: 4 / 3.3; border-radius: 16px; overflow: hidden; display: grid; place-items: center; background: var(--tb, #ddd); isolation: isolate; }
.bt::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(120% 90% at 30% 15%, rgba(255,255,255,.28), transparent 60%), radial-gradient(90% 70% at 80% 100%, rgba(0,0,0,.18), transparent 70%); }
.bt__cap { position: absolute; left: 12px; bottom: 10px; font: 500 10.5px var(--mono); letter-spacing: .04em; color: var(--tc, rgba(255,255,255,.75)); }
@media (max-width: 1099px) { .case__board { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) {
  .case__board { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -2px; padding-bottom: 4px; scrollbar-width: none; }
  .case__board::-webkit-scrollbar { display: none; }
  .bt { flex: 0 0 78%; scroll-snap-align: start; }
}
.lg-seal { display: block; width: 100%; height: auto; }

/* soft floor shadow helper */
.mk-shadow { position: absolute; left: 50%; bottom: 13%; width: 46%; height: 7%; translate: -50% 0; border-radius: 50%; background: rgba(20,10,5,.35); filter: blur(10px); z-index: -1; }

/* ---- coffee bag (kraft pouch) ---- */
.mk-bag { position: relative; width: 36%; aspect-ratio: .7; border-radius: 5px 5px 12px 12px; transform: rotate(-5deg);
  background: linear-gradient(96deg, #a47a51 0%, #cba479 18%, #dcb991 36%, #cda67b 58%, #b78d62 80%, #9c7249 100%);
  box-shadow: 22px 30px 34px -14px rgba(25,12,4,.6), inset 0 -14px 18px rgba(70,40,15,.3), inset 0 1px 0 rgba(255,255,255,.35); }
.mk-bag::after { content: ""; position: absolute; inset: 10% 0 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(172deg, transparent 30%, rgba(255,255,255,.14) 33%, transparent 37%), linear-gradient(8deg, transparent 70%, rgba(0,0,0,.08) 74%, transparent 78%); }
.mk-bag__crimp { position: absolute; left: 0; right: 0; top: 0; height: 10%; border-radius: 5px 5px 0 0; border-bottom: 1px solid rgba(60,35,10,.35);
  background: repeating-linear-gradient(90deg, rgba(60,35,10,.22) 0 1px, transparent 1px 4px), linear-gradient(#b8905f, #cfa679); }
.mk-bag__label { position: absolute; left: 13%; right: 13%; top: 25%; bottom: 13%; border-radius: 3px; background: #F3E9DC; display: grid; justify-items: center; align-content: center; gap: 5%; padding: 8%; box-shadow: 0 1px 2px rgba(0,0,0,.15); text-align: center; }
.mk-bag__label .lg-seal { width: 62%; }
.mk-bag__label b { font: 600 clamp(9px, .95vw, 14px) "Fraunces", serif; color: #2B1A12; line-height: 1.1; }
.mk-bag__label small { font: 500 clamp(6px, .55vw, 8.5px) var(--mono); letter-spacing: .06em; color: #8a5a3a; text-transform: uppercase; }
.mk-bag__valve { position: absolute; top: 14.5%; right: 15%; width: 9%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 40% 35%, #c9a27a, #7a5634 70%); box-shadow: inset 0 0 0 2px rgba(60,35,10,.35); }

/* ---- takeaway cup ---- */
.mk-cup { position: relative; width: 28%; aspect-ratio: .74; transform: rotate(3deg); }
.mk-cup__body { position: absolute; left: 6%; right: 6%; top: 11%; bottom: 0; clip-path: polygon(0 0, 100% 0, 87% 100%, 13% 100%);
  background: linear-gradient(90deg, #cfc5b8 0%, #f4efe7 28%, #ffffff 46%, #eee7dc 70%, #c9bdae 100%); }
.mk-cup__sleeve { position: absolute; left: 9%; right: 9%; top: 40%; height: 33%; clip-path: polygon(0 0, 100% 0, 95% 100%, 5% 100%); display: grid; place-items: center;
  background: linear-gradient(90deg, #8f3b1f 0%, #c2562f 30%, #d7703f 48%, #b8502b 72%, #8b391d 100%); }
.mk-cup__sleeve .lg-seal { width: 46%; filter: drop-shadow(0 1px 1px rgba(0,0,0,.25)); }
.mk-cup__lid { position: absolute; left: 0; right: 0; top: 2%; height: 11%; border-radius: 10px 10px 4px 4px; background: linear-gradient(90deg, #1c110b, #4a2f22 40%, #2b1a12 70%, #140b07); box-shadow: 0 3px 4px rgba(0,0,0,.25); }
.mk-cup__lid::before { content: ""; position: absolute; left: 18%; right: 18%; top: -28%; height: 40%; border-radius: 8px 8px 0 0; background: linear-gradient(90deg, #22150e, #4a2f22 45%, #1a100a); }
.mk-cup + .mk-shadow { width: 34%; bottom: 10%; }

/* ---- business cards (two, stacked) ---- */
.mk-cards { position: relative; width: 84%; aspect-ratio: 1.6; }
.mk-card { position: absolute; width: 66%; aspect-ratio: 1.75; border-radius: 6px; padding: 6% 7%; display: flex; flex-direction: column; justify-content: space-between;
  box-shadow: 0 22px 30px -14px rgba(0,0,0,.55), 0 2px 3px rgba(0,0,0,.18); }
.mk-card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: linear-gradient(125deg, rgba(255,255,255,.18), transparent 45%); }
.mk-card--back { left: 0; top: 4%; transform: rotate(-9deg); background: var(--cb); color: var(--cbt); }
.mk-card--front { right: 0; bottom: 4%; transform: rotate(7deg); background: var(--cf); color: var(--cft); }
.mk-card .lg-mark, .mk-card .lg-seal { width: 22%; height: auto; }
.mk-card b { font-size: clamp(9px, .95vw, 14px); line-height: 1.1; }
.mk-card small { display: block; font: 500 clamp(6px, .55vw, 8.5px)/1.5 var(--mono); opacity: .8; }
.mk-card__row { display: flex; align-items: center; gap: 8%; }

/* ---- hanging shop sign ---- */
.mk-wall { background: linear-gradient(160deg, #efe4d4, #ddcdb7); }
.mk-sign { position: relative; width: 70%; height: 74%; }
.mk-sign__arm { position: absolute; left: -16%; top: 12%; width: 74%; height: 4.5%; border-radius: 3px; background: linear-gradient(#3a3a3a, #111); box-shadow: 0 6px 8px rgba(0,0,0,.25); }
.mk-sign__arm::before { content: ""; position: absolute; left: 0; top: -60%; width: 10%; height: 220%; border-radius: 3px; background: #1a1a1a; }
.mk-sign__chain { position: absolute; top: 16%; width: 1.5px; height: 14%; background: repeating-linear-gradient(#555 0 3px, #222 3px 5px); }
.mk-sign__disc { position: absolute; left: 22%; top: 29%; width: 52%; aspect-ratio: 1; border-radius: 50%; box-shadow: 14px 18px 22px -8px rgba(40,20,5,.45), inset 0 0 0 3px #2B1A12; }
.mk-sign__disc .lg-seal { width: 100%; }

/* ---- phone ---- */
.mk-phone { position: relative; width: 33%; aspect-ratio: .49; border-radius: 22px; background: linear-gradient(135deg, #3a3a3a, #0c0c0c 40%); padding: 3.2%; transform: rotate(-6deg);
  box-shadow: 24px 30px 34px -16px rgba(0,0,0,.55), inset 0 0 0 1.5px rgba(255,255,255,.12); }
.mk-phone__scr { position: relative; width: 100%; height: 100%; border-radius: 18px; overflow: hidden; background: var(--ps, #fff); font-family: "Plus Jakarta Sans", sans-serif; }
.mk-phone__scr::before { content: ""; position: absolute; left: 50%; top: 2.5%; width: 30%; height: 3.4%; translate: -50% 0; border-radius: 99px; background: #0c0c0c; z-index: 3; }
.ap { position: absolute; inset: 0; padding: 18% 8% 8%; display: flex; flex-direction: column; gap: 5%; font-size: clamp(6px, .62vw, 9.5px); }
.ap h5 { margin: 0; font-size: 1.5em; line-height: 1.15; }
.ap .ap__card { border-radius: 10px; padding: 9%; }
.ap .ap__btn { margin-top: auto; border-radius: 9px; padding: 7% 0; text-align: center; font-weight: 700; }
.ap .ap__row { display: flex; justify-content: space-between; align-items: center; }
.ap .ap__chips { display: flex; gap: 4%; }
.ap .ap__chips span { flex: 1; text-align: center; padding: 6% 0; border-radius: 6px; }

/* ---- frosted glass wall sign ---- */
.mk-clinic { background: linear-gradient(180deg, #f4f6fb 0%, #e6ebf5 70%, #d8dfec 100%); }
.mk-clinic::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 22%; background: linear-gradient(#cfd6e4, #bfc8da); z-index: -1; }
.mk-blob { position: absolute; border-radius: 50%; filter: blur(2px); z-index: -1; }
.mk-glass { position: relative; width: 72%; aspect-ratio: 2.3; border-radius: 10px; display: flex; align-items: center; justify-content: center; gap: 6%;
  background: linear-gradient(135deg, rgba(255,255,255,.62), rgba(255,255,255,.22)); border: 1px solid rgba(255,255,255,.85);
  -webkit-backdrop-filter: blur(7px) saturate(1.2); backdrop-filter: blur(7px) saturate(1.2);
  box-shadow: 0 26px 30px -18px rgba(14,27,61,.45), inset 0 1px 0 #fff; transform: translateY(-14%); }
.mk-glass .lg-mark { width: 20%; height: auto; }
.mk-glass b { font: 800 clamp(13px, 1.5vw, 22px) "Plus Jakarta Sans", sans-serif; color: #0E1B3D; letter-spacing: -.03em; display: grid; line-height: 1; }
.mk-glass b em { font-style: normal; font-weight: 600; font-size: .45em; letter-spacing: .3em; color: #2F6BFF; margin-top: 4px; }
.mk-glass i { position: absolute; width: 4.5%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #fff, #9aa3b5); box-shadow: 0 1px 2px rgba(0,0,0,.3); }
.mk-glass i:nth-of-type(1) { left: 3%; top: 8%; } .mk-glass i:nth-of-type(2) { right: 3%; top: 8%; } .mk-glass i:nth-of-type(3) { left: 3%; bottom: 8%; } .mk-glass i:nth-of-type(4) { right: 3%; bottom: 8%; }

/* ---- box (patient kit) ---- */
.mk-box { position: relative; width: 50%; aspect-ratio: 1.15; }
.mk-box > div { position: absolute; }
.mk-box__top { left: 0; top: 0; width: 100%; height: 26%; clip-path: polygon(0 100%, 28% 0, 100% 0, 72% 100%); background: linear-gradient(90deg, #f7f9ff, #e9eefa); }
.mk-box__front { left: 0; top: 26%; width: 72%; height: 74%; background: linear-gradient(180deg, #ffffff, #eef2fb); display: grid; place-items: center; align-content: center; gap: 6%; text-align: center; box-shadow: inset 0 -10px 16px rgba(14,27,61,.06); }
.mk-box__front .lg-mark { width: 30%; height: auto; }
.mk-box__front b { font: 800 clamp(9px, .9vw, 13px) "Plus Jakarta Sans", sans-serif; color: #0E1B3D; }
.mk-box__front small { font: 600 clamp(6px, .55vw, 8px) var(--mono); color: #2F6BFF; letter-spacing: .1em; text-transform: uppercase; }
.mk-box__side { right: 0; top: 0; width: 28%; height: 100%; clip-path: polygon(0 26%, 100% 0, 100% 74%, 0 100%); background: linear-gradient(90deg, #c9d3ea, #b3c0de); }
.mk-box__side::after { content: ""; position: absolute; left: 0; right: 0; top: 46%; height: 10%; background: #2F6BFF; transform: skewY(-43deg); transform-origin: 0 0; opacity: .9; }
.mk-box__front::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6%; background: #2F6BFF; }
.mk-box + .mk-shadow { width: 50%; bottom: 12%; background: rgba(14,27,61,.3); }

/* ---- leather key fob ---- */
.mk-fob { position: relative; width: 25%; aspect-ratio: .46; transform: rotate(16deg) translateY(6%); }
.mk-fob__ring { position: absolute; left: 50%; top: -2%; width: 62%; aspect-ratio: 1; translate: -50% 0; border-radius: 50%; border: 4px solid #c9c9c9;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.25), 0 3px 4px rgba(0,0,0,.4); background: transparent; border-color: #d8d8d8 #8d8d8d #6d6d6d #bdbdbd; }
.mk-fob__tag { position: absolute; left: 0; right: 0; top: 24%; bottom: 0; border-radius: 40% 40% 14px 14px / 22% 22% 14px 14px; display: grid; place-items: center;
  background: radial-gradient(circle at 30% 20%, #3a3a3a, #121212 60%), #121212; box-shadow: 16px 22px 26px -10px rgba(0,0,0,.7), inset 0 1px 0 rgba(255,255,255,.12); }
.mk-fob__tag::before { content: ""; position: absolute; inset: 7%; border-radius: inherit; border: 1.5px dashed rgba(255,77,31,.7); }
.mk-fob__tag::after { content: ""; position: absolute; left: 50%; top: 8%; width: 18%; aspect-ratio: 1; translate: -50% 0; border-radius: 50%; background: #0b0b0b; box-shadow: inset 0 2px 3px rgba(0,0,0,.8), 0 1px 0 rgba(255,255,255,.1); }
.mk-fob__tag .lg-mark { width: 54%; height: auto; margin-top: 18%; filter: drop-shadow(0 1px 0 rgba(255,255,255,.15)) drop-shadow(0 -1px 0 rgba(0,0,0,.6)); }

/* ---- roadside billboard ---- */
.mk-dusk { background: linear-gradient(180deg, #1a0c07 0%, #4a1a0b 45%, #c2451a 78%, #ff8a3d 100%); }
.mk-dusk::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 24%; background: #120805; clip-path: polygon(0 40%, 22% 10%, 48% 38%, 74% 8%, 100% 30%, 100% 100%, 0 100%); z-index: -1; }
.mk-bill { position: relative; width: 74%; margin-top: -8%; }
.mk-bill__panel { position: relative; aspect-ratio: 2.4; border: 3px solid #1b1b1b; background: #0A0A0A; overflow: hidden; display: flex; align-items: center; padding: 0 6%; box-shadow: 0 10px 20px rgba(0,0,0,.5); }
.mk-bill__panel b { font: 400 clamp(14px, 1.9vw, 30px)/.86 "Anton", sans-serif; color: #fff; letter-spacing: .01em; position: relative; z-index: 1; }
.mk-bill__panel b em { font-style: normal; color: #FF4D1F; }
.mk-bill__panel .lg-mark { position: absolute; right: 5%; bottom: 10%; width: 13%; height: auto; z-index: 1; }
.mk-bill__sun { position: absolute; right: 18%; top: 18%; width: 30%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, #FFB36B, #FF4D1F 62%, transparent 72%); }
.mk-bill__legs { position: relative; height: 34px; }
.mk-bill__legs::before, .mk-bill__legs::after { content: ""; position: absolute; top: 0; width: 5%; height: 100%; background: linear-gradient(90deg, #111, #2a2a2a, #111); }
.mk-bill__legs::before { left: 22%; } .mk-bill__legs::after { right: 22%; }
.mk-bill__lights { position: absolute; left: 10%; right: 10%; top: -10px; height: 5px; display: flex; justify-content: space-between; }
.mk-bill__lights i { width: 14%; height: 100%; background: #222; border-radius: 2px; box-shadow: 0 6px 14px 2px rgba(255,220,160,.25); }

/* ---- polish: grounded shadows, tidy label, full sign arm ---- */
.mk-shadow { display: none; }
.mk-bag, .mk-cup, .mk-box, .mk-phone, .mk-fob { isolation: isolate; }
.mk-bag::before, .mk-cup::before, .mk-box::before, .mk-phone::before, .mk-fob::before {
  content: ""; position: absolute; left: 8%; right: 8%; bottom: -5%; height: 9%; border-radius: 50%;
  background: rgba(25, 12, 4, .38); filter: blur(7px); z-index: -1; }
.mk-phone::before { bottom: -3%; background: rgba(0,0,0,.45); }
.mk-fob::before { left: 0; right: 0; bottom: -4%; background: rgba(0,0,0,.65); }
.mk-box::before { left: 4%; right: 0; bottom: -6%; background: rgba(14,27,61,.28); }
.mk-bag { width: 38%; }
.mk-bag__label { top: 24%; bottom: 11%; gap: 3%; padding: 7% 8%; }
.mk-bag__label .lg-seal { width: 46%; }
.mk-bag__label b { font-size: clamp(8px, .82vw, 12.5px); }
.mk-bag__label small { font-size: clamp(5.5px, .48vw, 7.5px); }
.mk-cup { width: 26%; }
.mk-sign__arm { width: 92%; }
.mk-sign__chain { top: 16.5%; height: 13.5%; width: 2px; }
/* app screens scale with the phone itself */
.mk-phone__scr { container-type: inline-size; }
.ap { font-size: 7.4cqw; padding: 20cqw 8cqw 8cqw; gap: 4cqw; }
.ap h5 { font-size: 1.45em; }
.ap .ap__card { padding: 7cqw; border-radius: 6cqw; }
.ap .ap__btn { padding: 5cqw 0; border-radius: 5cqw; }
.ap .lg-mark { width: 12cqw !important; height: 12cqw !important; }
.ap svg[viewBox="0 0 640 170"] { margin: 2cqw 0; }
/* billboard: type and sun never collide */
.mk-bill__panel { container-type: inline-size; }
.mk-bill__panel b { font-size: 13cqw; }
.mk-bill__sun { right: 7%; top: 14%; width: 26%; }
.mk-bill__panel .lg-mark { right: 4%; top: 8%; bottom: auto; width: 9%; }
