/* ============================================================
   NEXA — project mockups, browser frames, phone UI
   Mock sizes use container query units so they scale cleanly.
   ============================================================ */

.frame {
  container-type: inline-size;
  position: relative;
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.18);
  background: #f3efe8;
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.38), 0 2px 0 rgba(255, 255, 255, 0.18) inset;
  color: #16120e;
}
.frame-bar {
  display: flex;
  align-items: center;
  gap: 1.8cqw;
  height: 4.6cqw;
  min-height: 18px;
  padding: 0 2.4cqw;
  background: color-mix(in srgb, var(--m-bg, #f3efe8) 90%, var(--m-ink, #16120e) 10%);
  border-bottom: 1px solid color-mix(in srgb, var(--m-ink, #16120e) 10%, transparent);
}
.frame-dots { display: flex; gap: 0.85cqw; }
.frame-dots i {
  width: 1.15cqw; height: 1.15cqw;
  min-width: 3px; min-height: 3px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--m-ink, #16120e) 26%, transparent);
}
.frame-url {
  flex: 0 1 auto;
  margin: 0 auto;
  padding: 0.4cqw 2.4cqw;
  border-radius: 3px;
  background: color-mix(in srgb, var(--m-ink, #16120e) 7%, transparent);
  font-family: var(--font-mono);
  font-size: 1.2cqw;
  letter-spacing: 0.02em;
  color: color-mix(in srgb, var(--m-ink, #16120e) 55%, transparent);
  white-space: nowrap;
}
.frame-lock { width: 1.2cqw; height: 1.2cqw; display: inline-block; vertical-align: -0.1em; margin-right: 0.6cqw; }

.mock {
  container-type: inline-size;
  position: relative;
  aspect-ratio: 16 / 10.6;
  display: flex;
  flex-direction: column;
  background: var(--m-bg);
  color: var(--m-ink);
  overflow: hidden;
  font-family: var(--font-body);
}
.mock::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.4;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='0.16'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}
.mock-nav {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2cqw;
  padding: 2.5cqw 3.4cqw;
  border-bottom: 1px solid color-mix(in srgb, var(--m-ink) 10%, transparent);
  flex: none;
}
.mock-logo {
  font-family: var(--font-display);
  font-size: 1.85cqw;
  font-weight: 700;
  letter-spacing: 0.15em;
  white-space: nowrap;
}
.mock-links {
  display: flex;
  gap: 2.2cqw;
  font-size: 1.15cqw;
  letter-spacing: 0.02em;
  color: color-mix(in srgb, var(--m-ink) 62%, transparent);
}
.mock-nav-cta {
  padding: 0.8cqw 1.6cqw;
  border: 1px solid color-mix(in srgb, var(--m-ink) 22%, transparent);
  border-radius: 99px;
  font-size: 1.05cqw;
  font-weight: 500;
  white-space: nowrap;
}
.mock-main { position: relative; z-index: 2; flex: 1; min-height: 0; }
.mock-eyebrow {
  display: block;
  font-family: var(--font-mono);
  font-size: 1.1cqw;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--m-ink) 58%, transparent);
}
.mock-title {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 0.98;
  font-size: 5.3cqw;
  margin: 1.4cqw 0 1.1cqw;
}
.mock-sub {
  font-size: 1.5cqw;
  line-height: 1.6;
  color: color-mix(in srgb, var(--m-ink) 60%, transparent);
  max-width: 24ch;
}
.mock-btn {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 0.6cqw;
  margin-top: 1.8cqw;
  padding: 1.1cqw 1.9cqw;
  border-radius: 99px;
  background: var(--m-ink);
  color: var(--m-bg);
  font-size: 1.15cqw;
  font-weight: 600;
}
.mock-btn::after { content: "↗"; font-size: 0.9em; }
.mock-meta {
  font-family: var(--font-mono);
  font-size: 1.05cqw;
  letter-spacing: 0.04em;
  color: color-mix(in srgb, var(--m-ink) 52%, transparent);
}
.mock-ticker {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.4cqw;
  padding: 1.4cqw 3.4cqw;
  margin-top: auto;
  border-top: 1px solid color-mix(in srgb, var(--m-ink) 11%, transparent);
  font-family: var(--font-mono);
  font-size: 1cqw;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--m-ink) 55%, transparent);
  flex: none;
}
.mock-ticker .dotsep { opacity: 0.45; }

/* ---------- split layout ---------- */
.mock--split .mock-main {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 2.4cqw;
  padding: 2.2cqw 3.4cqw 2.6cqw;
  align-items: stretch;
}
.mock--split .mock-copy { display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.mock--split .mock-art { min-height: 100%; border-radius: 0.35cqw; }

/* fashion art */
.mock-art--fashion {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(90% 60% at 80% 10%, rgba(255, 255, 255, 0.5), transparent 55%),
    linear-gradient(155deg, #d9b083, #bd6f43 55%, #70402a);
}
.mock-art--fashion .af-arch {
  position: absolute;
  left: 16%; right: 16%; bottom: -6%;
  height: 86%;
  border-radius: 50% 50% 0 0;
  background: linear-gradient(180deg, #f4e8da, #e2cbb4);
  opacity: 0.95;
}
.mock-art--fashion .af-head {
  position: absolute;
  left: 50%; top: 31%;
  width: 12%;
  aspect-ratio: 1;
  border-radius: 50%;
  transform: translateX(-50%);
  background: #2a1d15;
  z-index: 2;
}
.mock-art--fashion .af-body {
  position: absolute;
  left: 36%; right: 36%; bottom: 0;
  height: 54%;
  border-radius: 40% 40% 0 0 / 18% 18% 0 0;
  background: linear-gradient(180deg, #2c2018, #423024);
  z-index: 2;
}
.mock-art--fashion .af-pill {
  position: absolute;
  top: 8%; left: 8%;
  z-index: 3;
  padding: 0.5cqw 1cqw;
  border-radius: 99px;
  background: rgba(250, 244, 236, 0.86);
  color: #33231a;
  font-family: var(--font-mono);
  font-size: 0.95cqw;
  letter-spacing: 0.1em;
}

/* dental art */
.mock-art--dental {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(80% 80% at 70% 20%, rgba(255, 255, 255, 0.75), transparent 60%),
    linear-gradient(160deg, #cfe6e7, #9ccdcb 55%, #6faeae);
}
.mock-art--dental .ad-orb {
  position: absolute;
  width: 58%; aspect-ratio: 1;
  left: 8%; top: 14%;
  border-radius: 50%;
  background: radial-gradient(circle at 34% 30%, #ffffff, #d8efef 55%, #a9d6d4);
  box-shadow: 0 2cqw 4cqw rgba(18, 51, 58, 0.15);
}
.mock-art--dental .ad-cross {
  position: absolute;
  left: 24%; top: 28%;
  width: 26%;
  aspect-ratio: 1;
  z-index: 2;
}
.mock-art--dental .ad-cross::before,
.mock-art--dental .ad-cross::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  background: #2f8f8a;
  border-radius: 99px;
  transform: translate(-50%, -50%);
}
.mock-art--dental .ad-cross::before { width: 100%; height: 28%; }
.mock-art--dental .ad-cross::after { width: 28%; height: 100%; }
.mock-art--dental .ad-card {
  position: absolute;
  right: 6%; bottom: 8%;
  z-index: 3;
  width: 58%;
  padding: 1.6cqw;
  border-radius: 0.7cqw;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 1.4cqw 3cqw rgba(18, 51, 58, 0.16);
  color: #12333a;
}
.mock-art--dental .ad-card small {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.9cqw;
  letter-spacing: 0.1em;
  opacity: 0.6;
}
.mock-art--dental .ad-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2.1cqw;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-top: 0.4cqw;
}
.mock-art--dental .ad-card span {
  display: inline-block;
  margin-top: 1cqw;
  padding: 0.45cqw 1cqw;
  border-radius: 99px;
  background: #2f8f8a;
  color: #fff;
  font-size: 0.95cqw;
  font-weight: 500;
}

/* ---------- center layout ---------- */
.mock--center .mock-main {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2.6cqw 8cqw 2.4cqw;
  position: relative;
  overflow: hidden;
}
.mock--center .mock-title { font-size: 6.4cqw; max-width: 13ch; margin: 1.6cqw 0 1.2cqw; }
.mock--center .mock-sub { max-width: 34ch; }
.mock--center .mock-btn { margin-top: 1.6cqw; align-self: center; }
.mock-bottles {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 3.5cqw;
  margin-top: auto;
  padding-top: 2.4cqw;
}
.mock-bottles i {
  position: relative;
  display: block;
  width: 6.6cqw;
  height: 17cqw;
  border-radius: 1.4cqw 1.4cqw 0.6cqw 0.6cqw;
  background:
    linear-gradient(90deg, rgba(255,255,255,.16), transparent 28%),
    linear-gradient(180deg, #3e4f2a 0%, #1e2c18 55%, #182312 100%);
  box-shadow: 1cqw 1.4cqw 2.6cqw rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(232, 237, 214, 0.18);
}
.mock-bottles i::before {
  content: "";
  position: absolute;
  left: 50%; top: -4.6cqw;
  width: 2.4cqw; height: 5cqw;
  transform: translateX(-50%);
  border-radius: 0.4cqw 0.4cqw 0 0;
  background: linear-gradient(180deg, #29381f, #1b2716);
  border: 1px solid rgba(232, 237, 214, 0.14);
  border-bottom: 0;
}
.mock-bottles i::after {
  content: "";
  position: absolute;
  left: 12%; right: 12%; top: 38%;
  height: 35%;
  background: #e8ead6;
  border-radius: 0.2cqw;
  opacity: 0.9;
}
.mock-bottles i:nth-child(2) { height: 14cqw; }
.mock-bottles i:nth-child(3) { height: 19cqw; }
.mock--center .mock-stamp {
  position: absolute;
  left: 4%; top: 5%;
  width: 10cqw; height: 10cqw;
  border: 1px solid color-mix(in srgb, var(--m-ink) 25%, transparent);
  border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-mono);
  font-size: 0.9cqw;
  letter-spacing: 0.05em;
  text-align: center;
  line-height: 1.4;
  opacity: 0.6;
  transform: rotate(-12deg);
}

/* ---------- editorial layout ---------- */
.mock--editorial .mock-main {
  margin: 0 2.6cqw 2.6cqw;
  border-radius: 0.4cqw;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 3.4cqw;
  background:
    radial-gradient(50% 38% at 72% 34%, rgba(255, 225, 178, 0.85), rgba(230, 161, 92, 0.2) 52%, transparent 72%),
    linear-gradient(180deg, #2b2018 0%, #3d2b1d 46%, #1c1712 100%);
  color: #f8ecdb;
}
.mock--editorial .mock-sun {
  position: absolute;
  right: 13%; top: 20%;
  width: 18cqw; height: 18cqw;
  border-radius: 50%;
  background: radial-gradient(circle at 38% 32%, #ffe8c4, #e6a15c 62%, #b9703a);
  box-shadow: 0 0 6cqw rgba(230, 161, 92, 0.35);
}
.mock--editorial .dune {
  position: absolute;
  bottom: -24%;
  border-radius: 50% 50% 0 0;
  background: linear-gradient(180deg, #3a2a1e, #1a1511);
}
.mock--editorial .dune--1 { left: -20%; right: 20%; height: 55%; transform: rotate(-4deg); }
.mock--editorial .dune--2 { left: 30%; right: -24%; height: 44%; background: linear-gradient(180deg, #4a3624, #241b14); transform: rotate(5deg); }
.mock--editorial .mock-copy { position: relative; z-index: 2; max-width: 70%; }
.mock--editorial .mock-eyebrow { color: rgba(248, 236, 219, 0.65); }
.mock--editorial .mock-title { font-size: 6.6cqw; margin: 1.2cqw 0 1cqw; color: #fdf5e9; }
.mock--editorial .mock-sub { color: rgba(248, 236, 219, 0.65); }
.mock--editorial .mock-btn { background: #f6e6cf; color: #241b14; }
.mock--editorial .mock-bottom-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 2cqw; margin-top: 2.6cqw; padding-top: 1.4cqw;
  border-top: 1px solid rgba(248, 236, 219, 0.18);
  font-family: var(--font-mono);
  font-size: 1.05cqw;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(248, 236, 219, 0.6);
  position: relative;
  z-index: 2;
}
.mock--editorial .mock-nav { border-color: rgba(248,236,219,.12); }
.mock--editorial .mock-links { color: rgba(248, 236, 219, 0.55); }
.mock--editorial .mock-nav-cta { border-color: rgba(248, 236, 219, 0.25); }

/* ---------- commerce layout ---------- */
.mock--commerce .mock-main {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 2.6cqw;
  padding: 2.8cqw 3.4cqw;
  align-items: center;
}
.mock--commerce .mock-copy { display: flex; flex-direction: column; justify-content: center; }
.mock--commerce .mock-title { font-size: 4.6cqw; }
.mock--commerce .mock-products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1cqw; align-items: end; }
.mock-bag {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.7cqw;
}
.mock-bag .bag-art {
  position: relative;
  height: 17cqw;
  border-radius: 0.35cqw;
  background:
    linear-gradient(90deg, rgba(255,255,255,.08), transparent 40%),
    linear-gradient(160deg, #9a6539, #4f301c 70%);
  border: 1px solid rgba(246, 233, 218, 0.13);
  overflow: hidden;
}
.mock-bag .bag-art::before {
  content: "";
  position: absolute;
  left: 18%; right: 18%; top: 20%; bottom: 20%;
  background: #efe1cd;
  border-radius: 0.15cqw;
  opacity: 0.92;
}
.mock-bag .bag-art::after {
  content: "";
  position: absolute;
  left: 30%; right: 30%; top: 40%;
  height: 0.55cqw;
  background: #4f301c;
  box-shadow: 0 1.2cqw 0 #4f301c;
  opacity: 0.7;
}
.mock-bag:nth-child(2) .bag-art { background: linear-gradient(160deg, #c08956, #6a4326 70%); }
.mock-bag:nth-child(3) .bag-art { background: linear-gradient(160deg, #83552f, #3f2615 70%); }
.mock-bag .bag-meta {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.95cqw;
  color: color-mix(in srgb, var(--m-ink) 62%, transparent);
}
.mock--commerce .mock-products-label {
  font-family: var(--font-mono);
  font-size: 1cqw;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--m-ink) 45%, transparent);
  margin-bottom: 1.2cqw;
}
.mock--commerce .mock-products-wrap { min-width: 0; }

/* ---------- app project mock ---------- */
.project-frame--app {
  container-type: inline-size;
  width: 100%;
  aspect-ratio: 16 / 10.6;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  background:
    radial-gradient(70% 80% at 50% 20%, rgba(125, 242, 198, 0.14), transparent 60%),
    linear-gradient(155deg, #0d1318, #070a0d);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.45);
}
.project-frame--app::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 7cqw 7cqw;
  mask-image: radial-gradient(circle at 50% 50%, #000, transparent 75%);
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000, transparent 75%);
  pointer-events: none;
}
.project-frame--app .pf-phone {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -46%) rotate(-3deg);
  z-index: 2;
}
.project-frame--app .pf-phone .phone { width: 27cqw; min-width: 105px; box-shadow: 0 3cqw 7cqw rgba(0,0,0,.55); }
.project-frame--app .pf-glow {
  position: absolute;
  left: 50%; top: 50%;
  width: 60cqw; height: 60cqw;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px dashed rgba(255,255,255,.1);
  box-shadow: 0 0 8cqw rgba(125,242,198,.08) inset;
}
.project-frame--app .pf-chip {
  position: absolute;
  z-index: 3;
  padding: 1cqw 1.6cqw;
  border-radius: 0.6cqw;
  border: 1px solid rgba(255,255,255,.15);
  background: rgba(8,11,15,.8);
  backdrop-filter: blur(10px);
  font-family: var(--font-mono);
  font-size: 1.15cqw;
  letter-spacing: .06em;
  color: rgba(255,255,255,.75);
  white-space: nowrap;
}
.project-frame--app .pf-chip--tl { left: 4%; top: 7%; }
.project-frame--app .pf-chip--br { right: 4%; bottom: 7%; color: var(--mint); border-color: rgba(93,242,197,.3); }
.project-frame--app .pf-chip b { color: var(--mint); font-weight: 500; }

/* ---------- phone component ---------- */
.phone {
  position: relative;
  width: 238px;
  aspect-ratio: 238 / 492;
  padding: 8px;
  border-radius: 38px;
  background: linear-gradient(160deg, #242a34, #0b0d12 40%, #171b23);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow:
    0 40px 90px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(0, 0, 0, 0.5),
    0 1px 0 rgba(255, 255, 255, 0.16) inset;
}
.phone::before {
  content: "";
  position: absolute;
  left: -2px; top: 90px;
  width: 2px; height: 42px;
  border-radius: 2px 0 0 2px;
  background: #2a303a;
  box-shadow: 0 62px 0 #2a303a;
}
.phone::after {
  content: "";
  position: absolute;
  left: 50%; top: 13px;
  width: 72px; height: 19px;
  transform: translateX(-50%);
  border-radius: 99px;
  background: #050608;
  z-index: 8;
  border: 1px solid rgba(255,255,255,.06);
}
.phone--sm { width: 150px; border-radius: 26px; padding: 5px; }
.phone--sm::before { width: 1.5px; height: 26px; top: 55px; box-shadow: 0 40px 0 #2a303a; }
.phone--sm::after { width: 44px; height: 12px; top: 8px; }
.phone-screen {
  position: relative;
  height: 100%;
  border-radius: 31px;
  overflow: hidden;
  background: #0a0f10;
  color: #effaf5;
}
.phone--sm .phone-screen { border-radius: 21px; }

.app-ui {
  position: relative;
  height: 100%;
  padding: 36px 18px 14px;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(90% 55% at 80% 0%, rgba(93, 242, 197, 0.13), transparent 55%),
    radial-gradient(70% 50% at 10% 100%, rgba(154, 134, 255, 0.09), transparent 60%),
    #080d0f;
  overflow: hidden;
  font-family: var(--font-body);
}
.phone--sm .app-ui { padding: 24px 11px 10px; }
.app-status {
  position: absolute;
  top: 16px; left: 22px; right: 22px;
  display: flex; align-items: center; justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 8px;
  color: rgba(239, 250, 245, 0.75);
  z-index: 5;
}
.phone--sm .app-status { top: 20px; left: 14px; right: 14px; font-size: 5.5px; }
.app-status .sig { display: flex; gap: 2px; align-items: flex-end; }
.app-status .sig i { width: 2px; background: currentColor; border-radius: 1px; }
.app-status .sig i:nth-child(1) { height: 3px; } .app-status .sig i:nth-child(2) { height: 5px; } .app-status .sig i:nth-child(3) { height: 7px; }
.app-greet { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.app-greet small {
  display: block;
  font-family: var(--font-mono);
  font-size: 6.5px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: rgba(239, 250, 245, 0.45);
}
.app-greet h5 { margin-top: 5px; font-family: var(--font-display); font-size: 22px; letter-spacing: -0.04em; font-weight: 500; line-height: 1; }
.app-avatar {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: linear-gradient(140deg, var(--mint), #3b7cff);
  flex: none;
  border: 1px solid rgba(255,255,255,.3);
}
.phone--sm .app-greet h5 { font-size: 13px; margin-top: 3px; }
.phone--sm .app-avatar { width: 18px; height: 18px; }
.phone--sm .app-greet small { font-size: 4px; }
.app-ring-wrap {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-top: 22px;
}
.app-ring {
  position: relative;
  width: 84px; height: 84px;
  flex: none;
  border-radius: 50%;
  background: conic-gradient(var(--mint) 0 68%, rgba(255, 255, 255, 0.07) 68% 100%);
  display: grid;
  place-items: center;
  box-shadow: 0 0 24px rgba(93, 242, 197, 0.12);
}
.app-ring::before {
  content: "";
  position: absolute;
  inset: 7px;
  border-radius: 50%;
  background: #0b1113;
  border: 1px solid rgba(255, 255, 255, 0.05);
}
.app-ring div { position: relative; z-index: 1; text-align: center; }
.app-ring strong { display: block; font-family: var(--font-display); font-size: 20px; letter-spacing: -0.04em; line-height: 1; }
.app-ring span { display: block; margin-top: 3px; font-family: var(--font-mono); font-size: 5.5px; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(239,250,245,.45); }
.app-ring-info { min-width: 0; }
.app-ring-info h6 { font-family: var(--font-display); font-size: 11.5px; letter-spacing: -0.02em; font-weight: 500; line-height: 1.15; }
.app-ring-info p { margin-top: 4px; font-size: 7px; line-height: 1.5; color: rgba(239,250,245,.45); }
.app-ring-info .streak {
  display: inline-flex; align-items: center; gap: 4px;
  margin-top: 7px;
  padding: 3px 6px;
  border-radius: 99px;
  background: rgba(93, 242, 197, 0.1);
  border: 1px solid rgba(93, 242, 197, 0.2);
  font-family: var(--font-mono);
  font-size: 5.5px;
  color: var(--mint);
  letter-spacing: .03em;
}
.phone--sm .app-ring-wrap { margin-top: 12px; gap: 7px; }
.phone--sm .app-ring { width: 54px; height: 54px; }
.phone--sm .app-ring::before { inset: 4px; }
.phone--sm .app-ring strong { font-size: 12px; }
.phone--sm .app-ring span { font-size: 3px; }
.phone--sm .app-ring-info h6 { font-size: 8px; }
.phone--sm .app-ring-info p { font-size: 4.5px; }
.phone--sm .app-ring-info .streak { font-size: 3.5px; padding: 2px 4px; margin-top: 4px; }
.app-section-label {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 20px;
  font-family: var(--font-mono);
  font-size: 6.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(239,250,245,.4);
}
.app-section-label b { color: var(--mint); font-weight: 400; letter-spacing: 0; }
.phone--sm .app-section-label { margin-top: 11px; font-size: 4px; }
.app-list { display: flex; flex-direction: column; gap: 7px; margin-top: 9px; }
.phone--sm .app-list { gap: 4px; margin-top: 5px; }
.app-row {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.app-row .ar-icon {
  width: 26px; height: 26px;
  flex: none;
  display: grid; place-items: center;
  border-radius: 8px;
  background: rgba(93, 242, 197, 0.1);
  color: var(--mint);
}
.phone--sm .app-row { padding: 5px; gap: 5px; border-radius: 6px; }
.phone--sm .app-row .ar-icon { width: 15px; height: 15px; border-radius: 4px; }
.phone--sm .app-row .ar-icon .icon { width: 8px; height: 8px; }
.app-row .ar-txt { flex: 1; min-width: 0; }
.app-row .ar-txt strong { display: block; font-size: 8.5px; font-weight: 500; letter-spacing: -.01em; }
.app-row .ar-txt span { display: block; font-size: 6px; color: rgba(239,250,245,.4); margin-top: 1px; }
.phone--sm .app-row .ar-txt strong { font-size: 5px; }
.phone--sm .app-row .ar-txt span { font-size: 3.5px; }
.app-row .ar-time { font-family: var(--font-mono); font-size: 6px; color: var(--mint); }
.phone--sm .app-row .ar-time { font-size: 3.5px; }
.app-tabbar {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 10px 6px 4px;
  border-top: 1px solid rgba(255,255,255,.07);
}
.app-tabbar span { width: 4px; height: 4px; border-radius: 1px; background: rgba(239,250,245,.24); }
.app-tabbar span:nth-child(2) { width: 13px; height: 3px; border-radius: 2px; background: var(--mint); }
.app-tabbar span:nth-child(4) { width: 8px; height: 8px; border-radius: 50%; border: 1px solid rgba(239,250,245,.35); background: none; }
.phone--sm .app-tabbar { padding: 5px 3px 2px; }

/* alt stats screen */
.app-ui--alt { background: radial-gradient(90% 55% at 20% 0%, rgba(154,134,255,.15), transparent 55%), #080d0f; }
.app-ui--alt .app-greet h5 { font-size: 18px; }
.app-big-stat { margin-top: 24px; }
.app-big-stat strong { display: block; font-family: var(--font-display); font-size: 34px; letter-spacing: -.05em; line-height: 1; }
.app-big-stat span { font-family: var(--font-mono); font-size: 6px; letter-spacing: .08em; text-transform: uppercase; color: rgba(239,250,245,.4); }
.app-chart { margin-top: 18px; height: 92px; display: flex; align-items: flex-end; gap: 4px; }
.app-chart i { flex: 1; border-radius: 2px 2px 0 0; background: linear-gradient(to top, rgba(93,242,197,.12), rgba(93,242,197,.55)); height: var(--h); }
.app-chart i:nth-child(4) { background: linear-gradient(to top, rgba(93,242,197,.2), var(--mint)); }
.app-week { display: flex; justify-content: space-between; margin-top: 6px; font-family: var(--font-mono); font-size: 4.5px; color: rgba(239,250,245,.3); letter-spacing: .05em; }
.app-mini-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 16px; }
.app-mini-card { padding: 8px; border-radius: 8px; background: rgba(255,255,255,.045); border: 1px solid rgba(255,255,255,.06); }
.app-mini-card strong { display: block; font-family: var(--font-display); font-size: 12px; letter-spacing: -.03em; }
.app-mini-card span { display: block; margin-top: 2px; font-family: var(--font-mono); font-size: 4px; letter-spacing: .05em; text-transform: uppercase; color: rgba(239,250,245,.35); }
.phone--sm .app-ui--alt .app-greet h5 { font-size: 11px; }
.phone--sm .app-big-stat { margin-top: 12px; }
.phone--sm .app-big-stat strong { font-size: 20px; }
.phone--sm .app-big-stat span { font-size: 3.5px; }
.phone--sm .app-chart { height: 55px; margin-top: 10px; gap: 2px; }
.phone--sm .app-week { font-size: 3px; }
.phone--sm .app-mini-cards { gap: 3px; margin-top: 9px; }
.phone--sm .app-mini-card { padding: 4px; border-radius: 4px; }
.phone--sm .app-mini-card strong { font-size: 7px; }
.phone--sm .app-mini-card span { font-size: 2.5px; }

/* app showcase phones */
.app-phones .phone-glow {
  position: absolute;
  left: 50%; top: 48%;
  width: 430px; height: 430px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(93,242,197,.14), rgba(154,134,255,.08) 45%, transparent 70%);
  filter: blur(18px);
}
.app-phones .phone--main {
  position: absolute;
  left: 50%; top: 50%;
  width: 228px;
  transform: translate(-62%, -48%) rotate(-4deg);
  z-index: 3;
  animation: hero-float 9s ease-in-out infinite;
}
.app-phones .phone--back {
  position: absolute;
  left: 50%; top: 50%;
  width: 205px;
  transform: translate(6%, -46%) rotate(7deg);
  z-index: 2;
  opacity: 0.92;
  animation: hero-float 10s ease-in-out infinite;
  animation-delay: -3s;
}
.app-phones .phone--back .phone-screen { filter: brightness(.82) saturate(.9); }
.app-phones .app-float {
  position: absolute;
  z-index: 5;
  padding: 10px 13px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 11px;
  background: rgba(10, 14, 19, 0.88);
  backdrop-filter: blur(14px);
  box-shadow: 0 20px 45px rgba(0,0,0,.45);
  animation: hero-float 7s ease-in-out infinite;
}
.app-phones .app-float--rate { left: 2%; top: 21%; animation-delay: -1s; }
.app-phones .app-float--rate span { display: block; font-family: var(--font-mono); font-size: 7px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.app-phones .app-float--rate strong { display: block; font-family: var(--font-display); font-size: 20px; letter-spacing: -.03em; margin-top: 3px; }
.app-phones .app-float--rate small { font-size: 8px; color: var(--mint); }
.app-phones .app-float--perf { right: 2%; bottom: 6%; animation-delay: -4s; }
.app-phones .app-float--perf .afp { display: flex; align-items: center; gap: 8px; }
.app-phones .app-float--perf .afp .icon { color: var(--amber); }
.app-phones .app-float--perf strong { display: block; font-family: var(--font-display); font-size: 13px; letter-spacing: -.02em; }
.app-phones .app-float--perf small { display: block; font-family: var(--font-mono); font-size: 6.5px; color: var(--muted); letter-spacing: .05em; }
.app-phones .app-float--stack { left: 2%; bottom: 14%; animation-delay: -2.4s; }
.app-phones .app-float--stack .afs { display: flex; gap: 4px; }
.app-phones .app-float--stack .afs span {
  font-family: var(--font-mono);
  font-size: 7px;
  padding: 3px 5px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 3px;
  color: var(--text-soft);
}

/* small screen adjustments */
@media (max-width: 1100px) {
  .app-phones .phone--main { width: 205px; }
  .app-phones .phone--back { width: 185px; }
  .app-phones .app-float--stack { display: none; }
}
@media (max-width: 900px) {
  .app-phones { min-height: 480px; }
  .app-phones .phone--main { width: 215px; transform: translate(-58%, -48%) rotate(-4deg); }
  .app-phones .phone--back { width: 190px; transform: translate(2%, -46%) rotate(7deg); }
  .app-phones .app-float--rate { left: 6%; top: 16%; }
  .app-phones .app-float--perf { right: 5%; bottom: 16%; }
}
@media (max-width: 720px) {
  .project-frame--app .pf-chip { font-size: 8px; padding: 6px 9px; border-radius: 5px; }
  .project-frame--app .pf-phone .phone { width: 120px; }
  .app-phones .phone--main { width: 195px; }
  .app-phones .phone--back { width: 172px; }
  .app-phones .app-float--rate { left: 1%; top: 12%; padding: 8px 10px; }
  .app-phones .app-float--rate strong { font-size: 16px; }
  .app-phones .app-float--perf { right: 1%; bottom: 12%; padding: 8px 10px; }
}
@media (max-width: 460px) {
  .frame-url { font-size: 2cqw; }
  .project-frame--app .pf-phone .phone { width: 105px; }
  .app-phones .phone--main { width: 170px; transform: translate(-52%, -48%) rotate(-4deg); }
  .app-phones .phone--back { display: none; }
  .app-phones .app-float--perf { display: none; }
  .app-phones .app-float--rate { left: 2%; top: 8%; }
  .app-phones { min-height: 430px; }
  .project-media { padding: 16px; }
}
