/* Alex Le — portfolio
   Reference: billow.so (serif display, blue gradient glows, pill buttons, UI in boxes) */

@font-face {
  font-family: 'Lastik';
  src: url('assets/fonts/LastikFreeFont-Free.woff2') format('woff2'),
       url('assets/fonts/LastikFreeFont-Free.woff') format('woff');
  font-weight: 400; font-style: normal; font-display: swap;
}

:root {
  --bg: #fcfdff;
  --ink: #001c2e;
  --ink-2: #3d5566;
  --ink-3: #7b8f9c;
  --line: rgba(0, 28, 46, 0.08);
  --blue: #2a7ffa;
  --blue-deep: #1200ff;
  --glow-1: rgba(64, 140, 255, 0.55);
  --glow-2: rgba(120, 190, 255, 0.45);
  --glow-3: rgba(32, 90, 255, 0.35);
  --sky-a: rgba(74,140,255,.5); --sky-b: rgba(120,180,255,.45); --sky-c: rgba(40,110,255,.45);
  --sky-top: #f8fbff; --sky-bottom: #f1f6ff;
  --card: #ffffff;
  --radius: 14px;
  --serif: 'Lastik', 'Times New Roman', serif;
  --sans: 'Inter', -apple-system, system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.wrap { width: min(1120px, 100% - 40px); margin: 0 auto; }

/* ---------- Type ---------- */
.display {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.05em;
  line-height: 1.02;
  margin: 0;
}
h1.display { font-size: clamp(52px, 8vw, 92px); }
h2.display { font-size: clamp(40px, 5.6vw, 64px); }
h3.display { font-size: clamp(30px, 3.6vw, 40px); letter-spacing: -0.04em; }
.display .lt { color: #3f5f72; }
.lede { color: var(--ink-2); font-size: 17px; max-width: 520px; margin: 0; }
.muted { color: var(--ink-3); }
.small { font-size: 13px; }

/* ---------- Buttons (Billow: pill, blue gradient, stacked blue shadows) ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 11px 18px 11px 20px;
  border-radius: 999px;
  font-size: 14px; font-weight: 500; line-height: 1;
  white-space: nowrap;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  color: #fff;
  background: linear-gradient(180deg, #2b7ffb 0%, #1400ff 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.28),
    0 0.7px 2.7px -1px rgba(0,64,255,.22),
    0 2.7px 10px -2px rgba(0,64,255,.19),
    0 12px 45px -3px rgba(0,64,255,.18);
}
.btn-primary:hover { box-shadow:
    inset 0 1px 0 rgba(255,255,255,.28),
    0 1px 3px -1px rgba(0,64,255,.3),
    0 4px 14px -2px rgba(0,64,255,.3),
    0 16px 56px -3px rgba(0,64,255,.32); }
.btn-dark { color: #fff; background: var(--ink); box-shadow: 0 1px 2px rgba(0,28,46,.2); }
.btn-ghost {
  color: var(--ink);
  background: rgba(255,255,255,.7);
  border: 1px solid var(--line);
  box-shadow: 0 1px 2px rgba(0,28,46,.04);
}
.btn-ghost:hover { background: #fff; }
.btn svg { width: 14px; height: 14px; }

/* ---------- Pill / chip ---------- */
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; border-radius: 999px;
  background: rgba(255,255,255,.75);
  border: 1px solid rgba(0,28,46,.08);
  box-shadow: 0 1px 2px rgba(0,28,46,.04), 0 6px 20px -8px rgba(0,64,255,.18);
  font-size: 12px; font-weight: 500; color: var(--ink-2);
  backdrop-filter: blur(8px);
}
.chip .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }

/* ---------- Nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; padding: 14px 0 0; pointer-events: none; }
.nav-inner {
  position: relative; pointer-events: auto;
  display: flex; align-items: center; justify-content: space-between;
  height: 60px; padding: 0 8px 0 22px;
  border-radius: 999px;
  background: rgba(255,255,255,.42);
  border: 1px solid rgba(255,255,255,.7);
  box-shadow: 0 1px 0 rgba(255,255,255,.6) inset, 0 1px 2px rgba(0,28,46,.05), 0 14px 40px -18px rgba(0,40,120,.25);
  -webkit-backdrop-filter: blur(22px) saturate(1.6);
          backdrop-filter: blur(22px) saturate(1.6);
}
.brand { font-family: var(--serif); font-size: 19px; letter-spacing: -0.04em; font-weight: 400; color: var(--ink); line-height: 1; }
.brand b { font-weight: 400; }
.nav-links { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: flex; gap: 26px; font-size: 14px; font-weight: 500; color: var(--ink-2); }
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-actions { display: flex; gap: 8px; align-items: center; }

/* ---------- Glow (blue blurred blobs) ---------- */
.glow {
  position: absolute; inset: 0; pointer-events: none; overflow: hidden;
  /* fade the whole glow layer out before it reaches any edge */
  -webkit-mask-image: radial-gradient(ellipse 60% 55% at 50% 50%, #000 30%, rgba(0,0,0,.6) 60%, transparent 100%);
          mask-image: radial-gradient(ellipse 60% 55% at 50% 50%, #000 30%, rgba(0,0,0,.6) 60%, transparent 100%);
}
.glow i { position: absolute; opacity: .9; }
.glow i::before {
  content: ''; position: absolute; inset: 0; border-radius: 50%;
  background: radial-gradient(closest-side, var(--c) 0%, color-mix(in srgb, var(--c) 78%, transparent) 22%, color-mix(in srgb, var(--c) 48%, transparent) 46%, color-mix(in srgb, var(--c) 22%, transparent) 68%, color-mix(in srgb, var(--c) 7%, transparent) 86%, transparent 100%);
  transform-origin: center; scale: 1.5;
  transform: translate(var(--dx, 0px), var(--dy, 0px)) scale(var(--ds, 1));
  transition: transform 1.1s cubic-bezier(.2,.7,.2,1);
}
.glow i:nth-child(1) { width: 46%; height: 60%; left: 12%;  top: 30%; --c: var(--glow-1); }
.glow i:nth-child(2) { width: 50%; height: 64%; left: 28%;  top: 22%; --c: var(--glow-3); }
.glow i:nth-child(3) { width: 44%; height: 58%; right: 12%; top: 32%; --c: var(--glow-2); }

/* ---------- Hero ---------- */
.hero { position: relative; margin-top: -74px; padding: 170px 0 40px; text-align: center; overflow: hidden; }
.hero > .glow { inset: 0; opacity: .6; }
.hero > .glow i::before { filter: blur(80px); }
.hero > .glow i:nth-child(1) { width: 52%; height: 62%; left: 6%;  top: 18%; }
.hero > .glow i:nth-child(2) { width: 56%; height: 66%; left: 24%; top: 10%; }
.hero > .glow i:nth-child(3) { width: 50%; height: 60%; right: 6%; top: 22%; }
.hero .wrap { position: relative; z-index: 1; }
.hero .chip { margin-bottom: 26px; }
.hero h1 { margin-bottom: 22px; }
.hero .lede { margin: 0 auto 30px; }
.hero .lede b { font-weight: 500; color: var(--ink); background: rgba(42,127,250,.12); padding: 2px 6px; border-radius: 6px; }
.hero-ctas { display: flex; gap: 10px; justify-content: center; margin-bottom: 14px; }
.hero-note { font-size: 12px; color: var(--ink-3); }



/* ---------- UI panel (fake window) ---------- */
.panel {
  background: var(--card);
  border-radius: 14px;
  border: 1px solid rgba(0,28,46,.08);
  box-shadow: 0 1px 2px rgba(0,28,46,.06), 0 30px 80px -30px rgba(0,40,120,.35);
  overflow: hidden;
  font-size: 12px;
}
.panel-bar {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; border-bottom: 1px solid var(--line);
  color: var(--ink-3); font-weight: 500;
}
.panel-bar .pill { padding: 3px 8px; border-radius: 6px; background: #f1f5f9; color: var(--ink-2); }
.panel-bar .right { margin-left: auto; display: flex; gap: 6px; flex: none; }
.panel-bar .sq { width: 20px; height: 20px; border: 1px solid var(--line); border-radius: 6px; }

/* ---------- Sections ---------- */
.section { padding: 90px 0 0; }
.section-head { display: grid; grid-template-columns: 2fr 3fr; gap: 48px; align-items: start; margin-bottom: 40px; }
.section-head .lede { margin: 8px 0 0; max-width: 520px; }
.section-head .eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); margin-bottom: 14px; }


/* ---------- Project boxes (Billow /updates: UI sits in a soft blue box) ---------- */
.projects { display: grid; gap: 28px; }
.project {
  position: relative;
  display: grid; grid-template-columns: 1fr 1.05fr; gap: 40px; align-items: center;
  padding: 40px 40px 40px 56px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid rgba(0,28,46,.07);
  box-shadow: 0 1px 2px rgba(0,28,46,.03);
  overflow: hidden;
  transform-style: preserve-3d;
  will-change: transform;
}
.project.in { transition: transform .18s ease-out, box-shadow .3s ease; }
.project:hover { box-shadow: 0 30px 70px -40px rgba(0,40,120,.35); }
.project .shot { transform: translateZ(20px); }
.project-meta { display: grid; gap: 16px; justify-items: start; padding: 20px 0; }
.project-meta h3 { margin: 0; }
.project-meta p { margin: 0; color: var(--ink-2); font-size: 16px; max-width: 380px; }
.project-meta .tags { display: flex; gap: 6px; flex-wrap: wrap; }
.tag { font-size: 11px; font-weight: 500; color: var(--ink-2); padding: 4px 9px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255,255,255,.7); }
.project-meta .arrow { flex: none; }
.by { font-size: 12px; color: var(--ink-3); margin-top: 8px; }
.by a { color: var(--ink-2); border-bottom: 1px solid rgba(0,28,46,.2); }
.by a:hover { color: var(--blue); border-color: var(--blue); }

/* the UI box */
.shot {
  position: relative; margin: 0;
  height: 420px; border-radius: 16px;
  overflow: hidden;
  /* cloudy sky: white puffs (SVG turbulence) over blue light, over a pale sky */
  background:
    url("assets/clouds-1.webp") center / 100% 100% no-repeat,
    radial-gradient(60% 55% at 32% 62%, var(--sky-a) 0%, transparent 70%),
    radial-gradient(55% 50% at 70% 60%, var(--sky-b) 0%, transparent 70%),
    radial-gradient(70% 60% at 50% 70%, var(--sky-c) 0%, transparent 72%),
    linear-gradient(180deg, var(--sky-top) 0%, var(--sky-bottom) 100%);
}
.shot::before {
  /* second, softer cloud layer for depth */
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: url("assets/clouds-2.webp") center / 100% 100% no-repeat;
  opacity: .7;
}
.shot .glow i::before { filter: blur(50px); }
.shot > .panel, .shot > img, .shot > .float {
  position: absolute; left: 50%; transform: translateX(-50%); top: 40px;
}
.shot > .panel { width: 86%; }
.shot > img { width: 86%; border-radius: 12px 12px 0 0; border: 1px solid rgba(0,28,46,.08); box-shadow: 0 30px 80px -30px rgba(0,40,120,.35); }
.shot.tall { height: 460px; }
.shot.mobile > .panel { width: 280px; border-radius: 28px; top: 36px; }
.shot > .float { top: 50%; transform: translate(-50%, -50%); }
.shot > .float { width: 360px; }

/* floating mini card (Billow updates: small card on glow) */
.float {
  width: 360px; background: #fff; border-radius: 14px;
  border: 1px solid rgba(0,28,46,.08);
  box-shadow: 0 1px 2px rgba(0,28,46,.06), 0 30px 70px -30px rgba(0,40,120,.4);
  padding: 14px; font-size: 12px;
}

/* ---------- Fake UI primitives ---------- */
.ui-row { display: flex; align-items: center; gap: 10px; padding: 9px 14px; border-bottom: 1px solid var(--line); }
.ui-row:last-child { border-bottom: 0; }
.ui-row .grow { flex: 1; }
.ui-row .num { font-variant-numeric: tabular-nums; font-weight: 500; }
.ui-head { font-weight: 600; font-size: 13px; }
.ui-sub { color: var(--ink-3); font-size: 11px; }
.ui-k { font-size: 11px; font-weight: 600; letter-spacing: .06em; color: var(--ink-3); text-transform: uppercase; }
.badge { font-size: 11px; font-weight: 500; padding: 2px 8px; border-radius: 999px; }
.badge.ok { background: #e6f7ee; color: #157347; }
.badge.warn { background: #fff3e0; color: #b45309; }
.badge.info { background: #e8f0ff; color: #1d4ed8; }
.badge.live { background: #fee2e2; color: #b91c1c; }
.ui-btn { display: inline-flex; align-items: center; justify-content: center; padding: 7px 12px; border-radius: 8px; font-weight: 500; font-size: 12px; }
.ui-btn.primary { background: var(--blue); color: #fff; }
.ui-btn.block { display: flex; }
.ui-btn.ghost { border: 1px solid var(--line); background: #fff; }
.ui-input { padding: 8px 10px; border: 1px solid rgba(0,28,46,.14); border-radius: 8px; color: var(--ink-3); background: #fff; }
.ui-grid { display: grid; gap: 10px; padding: 14px; }
.ui-stat { border: 1px solid var(--line); border-radius: 10px; padding: 12px; background: #fff; }
.ui-stat b { display: block; font-size: 20px; font-weight: 600; letter-spacing: -.02em; }
.ui-stat span { color: var(--ink-3); font-size: 11px; }
.ui-side { border-right: 1px solid var(--line); padding: 12px; display: grid; gap: 4px; align-content: start; }
.ui-side div { padding: 6px 8px; border-radius: 6px; color: var(--ink-2); }
.ui-side div.on { background: #eef3ff; color: var(--blue-deep); font-weight: 500; }
.bar { height: 6px; border-radius: 999px; background: #eef2f7; overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--blue); }
.spark { display: flex; align-items: flex-end; gap: 3px; height: 40px; }
.spark i { flex: 1; background: linear-gradient(180deg, #5b9dff, #2a7ffa); border-radius: 3px 3px 0 0; opacity: .85; }
.avatar { width: 22px; height: 22px; border-radius: 50%; background: linear-gradient(135deg, #cfe0ff, #7fb0ff); }
.sw { width: 44px; height: 44px; border-radius: 8px; background: linear-gradient(135deg, #e9eff8, #c9d8ee); }

/* ---------- Case study page ---------- */
.case-hero { position: relative; padding: 80px 0 0; }
.case-hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: start; }
.case-hero .back { grid-column: 1 / -1; }
.case-hero .wrap > .right { display: grid; gap: 22px; padding-top: 42px; }
.case-hero .back { font-size: 13px; color: var(--ink-3); }
.case-hero .back:hover { color: var(--ink); }
.case-hero .lede { max-width: 640px; }
.case-facts { display: flex; gap: 28px; flex-wrap: wrap; }
.case-facts div { display: grid; gap: 2px; }
.case-facts .ui-k { font-size: 10px; }
.case-facts span:last-child { font-size: 14px; font-weight: 500; }
.case-stage { position: relative; margin: 50px 0 0; height: 560px; overflow: hidden; }
.case-stage > .glow { inset: 0 0 40px; }
.case-stage .glow i::before { filter: blur(70px); }
.case-stage .glow i { top: 10%; }
.case-stage .panel, .case-stage img { position: absolute; left: 50%; transform: translateX(-50%); top: 40px; width: min(1000px, 92vw); }
.case-stage img { border-radius: 14px 14px 0 0; border: 1px solid rgba(0,28,46,.08); box-shadow: 0 30px 80px -30px rgba(0,40,120,.35); }
.case-stage::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 160px; background: linear-gradient(180deg, rgba(252,253,255,0), var(--bg)); z-index: 2; pointer-events: none; }

.steps { display: grid; gap: 22px; margin-top: 50px; }
.step { display: grid; grid-template-columns: 300px 1fr; gap: 40px; align-items: start; padding: 38px 0; border-top: 1px solid var(--line); }
.step .n { font-size: 11px; font-weight: 600; letter-spacing: .08em; color: var(--blue); margin-bottom: 10px; }
.step h3 { margin: 0 0 10px; }
.step p { margin: 0; color: var(--ink-2); max-width: 300px; }
.step .shot { margin: 0; border-radius: 16px; height: 360px; }
.step .shot > .panel, .step .shot > .float { top: 36px; }
.step .shot.flow { background: linear-gradient(180deg, #f6f9ff, #eef4ff); }
.step .shot.flow::before { display: none; }
.flow-note {
  position: absolute; inset: 0; display: grid; place-items: center;
  color: var(--ink-3); font-size: 13px; text-align: center;
}
.flow-note .chip { margin-top: 8px; }
.placeholder { position: absolute; inset: 0; display: grid; place-items: center; color: var(--ink-3); font-size: 13px; }

/* ---------- About / footer ---------- */
.about { padding: 120px 0 0; }
.about .wrap { display: grid; grid-template-columns: 2fr 3fr; gap: 48px; align-items: start; }
.about .bio { display: grid; gap: 18px; max-width: 560px; }
.about .lede { margin: 0; }
.headshot {
  width: 112px; height: 112px; border-radius: 28px;
  background: linear-gradient(135deg, #e9f0ff, #c7dbff);
  border: 1px solid rgba(0,28,46,.08);
  display: grid; place-items: center;
  color: var(--ink-3); font-size: 11px; font-weight: 500;
}
.footer { position: relative; margin-top: 120px; padding: 110px 0 50px; text-align: center; overflow: hidden; }
.footer .wrap { position: relative; z-index: 1; }
.footer > .glow { inset: 0 0 20px; opacity: .6; }
.footer .glow i::before { filter: blur(80px); }
.footer h2 { margin-bottom: 26px; }
.footer .ctas { display: flex; gap: 10px; justify-content: center; }
.footer-links { display: flex; gap: 22px; justify-content: center; margin-top: 60px; font-size: 13px; color: var(--ink-3); }
.footer-links a:hover { color: var(--ink); }

/* ---------- Case nav (prev/next) ---------- */
.case-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 80px; }
.case-nav a { padding: 22px 24px; border-radius: 16px; border: 1px solid var(--line); background: #fff; display: grid; gap: 4px; }
.case-nav a:hover { box-shadow: 0 20px 50px -30px rgba(0,40,120,.35); }
.case-nav a:last-child { text-align: right; }
.case-nav .ui-k { font-size: 10px; }
.case-nav b { font-family: var(--serif); font-weight: 400; font-size: 24px; letter-spacing: -.02em; }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease var(--d, 0s), transform .7s cubic-bezier(.2,.7,.2,1) var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }
.project.reveal.in { transform: none; }

/* hero + footer glow: drifting, slowly shifting hue */
.hero .glow i, .footer .glow i { animation: drift 18s ease-in-out infinite alternate; }
.hero .glow i:nth-child(2), .footer .glow i:nth-child(2) { animation-duration: 21s; animation-delay: -7s; }
.hero .glow i:nth-child(3), .footer .glow i:nth-child(3) { animation-duration: 26s; animation-delay: -13s; }
@keyframes drift {
  0%   { transform: translate(0, 0) scale(1);         filter: hue-rotate(0deg); }
  30%  { transform: translate(28%, -18%) scale(1.2);  filter: hue-rotate(-30deg); }
  55%  { transform: translate(-22%, 16%) scale(.92);  filter: hue-rotate(18deg); }
  80%  { transform: translate(14%, 24%) scale(1.1);   filter: hue-rotate(-12deg); }
  100% { transform: translate(-10%, -8%) scale(1.02); filter: hue-rotate(8deg); }
}
@media (prefers-reduced-motion: reduce) {
  .hero .glow i, .footer .glow i { animation: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .nav-links { display: none; }
  .step { grid-template-columns: 1fr; gap: 20px; }
  .step .shot { height: 300px; }
  .project { grid-template-columns: 1fr; padding: 24px; gap: 20px; }
  .project-meta { padding: 0; }
  .shot { height: 320px; }
  .section-head, .about .wrap, .case-hero .wrap { grid-template-columns: 1fr; gap: 16px; }
  .section-head .lede, .about .bio { justify-self: start; }
  .shot > .panel { width: 94%; }
  .shot.tall { height: 340px; }
  .case-stage { height: 380px; }
  .float { width: 300px; }
  .shot > .float { width: 300px; }

  .case-nav { grid-template-columns: 1fr; }
  .case-nav a:last-child { text-align: left; }
}
@media (max-width: 520px) {
  .wrap { width: min(1120px, 100% - 32px); }
  .hero { padding: 140px 0 16px; }
  .section { padding-top: 56px; }
  .hero-ctas { flex-direction: column; align-items: center; }
  .ui-side { display: none; }
  .two-col { grid-template-columns: 1fr !important; }
}

/* ---------- Website mocks (browser frame + landing page placeholder) ---------- */
.browser-bar { display: flex; align-items: center; gap: 8px; padding: 9px 12px; border-bottom: 1px solid var(--line); background: #fafcff; }
.browser-bar .dots { display: flex; gap: 5px; }
.browser-bar .dots i { width: 8px; height: 8px; border-radius: 50%; background: #e3e8ef; }
.browser-bar .url { flex: 1; margin: 0 40px; padding: 4px 10px; border-radius: 6px; background: #eef2f7; color: var(--ink-3); font-size: 11px; text-align: center; }
.site { padding: 26px 22px 0; text-align: center; }
.site-nav { display: flex; align-items: center; justify-content: space-between; margin-bottom: 26px; font-size: 11px; color: var(--ink-2); }
.site-nav b { font-size: 13px; }
.site-nav .links { display: flex; gap: 12px; }
.site-nav .ui-btn { padding: 5px 10px; font-size: 11px; }
.site h4 { font-family: var(--serif); font-weight: 400; font-size: 30px; letter-spacing: -.03em; line-height: 1.05; margin: 0 0 8px; }
.site p { margin: 0 auto 14px; max-width: 320px; color: var(--ink-2); font-size: 11px; }
.site .ctas { display: flex; gap: 6px; justify-content: center; margin-bottom: 22px; }
.site .ctas .ui-btn { padding: 7px 12px; }
.site-shot { height: 110px; margin: 0 auto; width: 86%; border-radius: 10px 10px 0 0; border: 1px solid var(--line); border-bottom: 0; background: linear-gradient(180deg, #fff, #f3f7ff); display: grid; place-items: center; color: var(--ink-3); font-size: 11px; }
.site.orange h4 { letter-spacing: -.02em; font-family: var(--sans); font-weight: 600; font-size: 24px; }
.site.orange .ui-btn.primary { background: #c2410c; border-radius: 4px; }
.site.orange .ui-btn.ghost { border-radius: 4px; }
.site.orange .site-shot { background: linear-gradient(180deg, #fff, #fff3ec); }
.site.dark { background: #0b1220; color: #fff; border-radius: 0; }
.site.dark h4, .site.dark .site-nav, .site.dark .site-nav b { color: #fff; }
.site.dark p { color: #a9b4c4; }
.site.dark .ui-btn.ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.2); }
.site.dark .site-shot { background: linear-gradient(180deg, #16203a, #0b1220); border-color: rgba(255,255,255,.12); color: #7f8ba0; }
.two-sites { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; position: absolute; left: 6%; right: 6%; top: 36px; }
.two-sites .panel { position: static; transform: none; width: auto; }
@media (max-width: 860px) { .two-sites { grid-template-columns: 1fr; } .two-sites .panel:last-child { display: none; } }

/* case hero: name big, descriptor smaller */
.case-hero h1 { font-size: clamp(40px, 5.6vw, 64px); }
.case-hero h1 .lt { display: block; font-size: .5em; letter-spacing: -.02em; line-height: 1.1; margin-top: 8px; }

/* card titles: impact line big, product line smaller */
.project-meta h3 .lt { display: block; font-size: .6em; letter-spacing: -.02em; line-height: 1.15; margin-top: 6px; }

/* business logos: small, black */
.logo { display: inline-flex; align-items: center; height: 22px; }
.logo img { height: 100%; width: auto; max-width: 150px; object-fit: contain; filter: brightness(0); opacity: .9; }
.project-meta .logo { height: 20px; }
.case-hero .logo { height: 24px; margin-bottom: 14px; }
.case-title { display: grid; gap: 14px; justify-items: start; }
.case-hero .logo { margin-bottom: 0; }

.logo { gap: 14px; }
.case-facts a { border-bottom: 1px solid rgba(0,28,46,.2); }
.case-facts a:hover { color: var(--blue); border-color: var(--blue); }

/* project cards: breathing room under the industry chip */
.project-meta > .chip { margin-bottom: 14px; }

/* subtle slash between paired logos */
.logo img + img { position: relative; }
.logo img + img::before { display: none; }
.logo .slash { display: inline-block; width: 1px; height: 16px; background: rgba(0,28,46,.25); transform: rotate(18deg); margin: 0 -2px; }

/* Rarity: already black with a white hammer, so skip the blackening filter */
.logo img[src*="rarity"] { filter: none; }

.hero h1 em { font-style: italic; }

/* screenshots that should be fully visible inside their box */
.shot.fit > img {
  top: 50%; transform: translate(-50%, -50%);
  width: auto; max-width: 86%; max-height: 82%;
  border-radius: 10px; object-fit: contain;
}
.step .shot.fit.tall { height: 520px; }
.case-stage.fit { height: auto; padding: 36px 0 24px; overflow: visible; }
.case-stage.fit::after { display: none; }
.case-stage.fit > .glow { inset: 0; }
.case-stage.fit img { position: relative; left: auto; top: auto; transform: none; margin: 0 auto; border-radius: 14px; }
@media (max-width: 860px) { .step .shot.fit.tall { height: 420px; } }

.case-stage.fit img { display: block; max-height: 620px; object-fit: cover; object-position: top; }

/* ---------- wider text columns on case steps and project cards ---------- */
.step { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 48px; }
.step p { max-width: 400px; }
.step.full { grid-template-columns: 1fr; gap: 28px; }
.step.full p { max-width: 640px; }
.step.full .shot { height: auto; min-height: 0; }
.project { grid-template-columns: 1.15fr 1fr; }
.project-meta p { max-width: 440px; }
.pstate { margin-top: 12px !important; font-size: 14px; }
.ai-badge { display: inline-flex; align-items: center; gap: 5px; padding: 3px 8px; border-radius: 4px; background: #fff3ec; color: #c2410c; font-size: 11px; font-weight: 600; letter-spacing: .02em; }
.ai-badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #c2410c; }

/* ---------- Lotts-branded UI inside boxes (Geist, black/white, orange action, 4px radius) ---------- */
.lotts-ui, .lotts-ui * { font-family: 'Geist', 'Inter', sans-serif; }
.lotts-ui { --lk: #0a0a0a; --lo: #c2410c; --lb: #1d4ed8; --lm: #6b7280; --ll: #e5e7eb; --ls: #f3f4f6; color: var(--lk); }
.lotts-ui .float { border-radius: 8px; border: 1px solid var(--ll); box-shadow: 0 1px 2px rgba(0,0,0,.04), 0 24px 60px -30px rgba(0,0,0,.25); width: 400px; }
.lotts-ui .ui-sub { color: var(--lm); }
.lotts-ui .ui-k { color: var(--lm); letter-spacing: .06em; }
.lotts-ui .tag { border-radius: 4px; border-color: var(--ll); color: var(--lk); background: var(--ls); }
.persona-head { display: flex; gap: 12px; align-items: center; }
.persona-head b { font-size: 14px; }
.stack-row { display: flex; flex-wrap: wrap; gap: 6px; }
.persona-list { margin: 0; padding-left: 18px; font-size: 12px; line-height: 1.6; }
.pains { display: grid; gap: 10px; }
.pain { display: flex; gap: 10px; align-items: flex-start; padding: 10px; border: 1px solid var(--ll); border-radius: 4px; background: #fff; }
.pain b { font-size: 12.5px; }
.pain-dot { flex: none; width: 8px; height: 8px; margin-top: 5px; border-radius: 50%; background: #dc2626; }

/* flow / architecture */
.flowbox { padding: 28px; background: #fff; border: 1px solid var(--ll); border-radius: 16px; height: auto; }
.flowbox::before { display: none; }
.flow { display: grid; grid-template-columns: 150px 24px 1fr 24px 150px; gap: 14px; align-items: center; }
.flow-in, .flow-out { display: grid; gap: 8px; align-content: center; }
.flow-chip { padding: 9px 10px; border: 1px dashed #cbd5e1; border-radius: 4px; font-size: 12px; color: var(--lk); background: #fff; }
.flow-chip.out { border-style: solid; border-color: #bbf7d0; background: #f0fdf4; }
.flow-arrow { height: 2px; background: #cbd5e1; position: relative; }
.flow-arrow::after { content: ''; position: absolute; right: -1px; top: -4px; border: 5px solid transparent; border-left: 7px solid #cbd5e1; }
.flow-core { border: 1px solid var(--lk); border-radius: 8px; padding: 14px; background: #fff; }
.flow-core-head { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; font-size: 13px; }
.lotts-mark { width: 12px; height: 12px; background: var(--lo); display: inline-block; }
.flow-stages { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.flow-stage { position: relative; padding: 12px 10px 10px; border: 1px solid var(--ll); border-radius: 4px; background: var(--ls); font-size: 12px; display: grid; gap: 4px; align-content: start; }
.flow-stage b { font-size: 12.5px; }
.flow-stage + .flow-stage::before { content: '→'; position: absolute; left: -11px; top: 12px; color: #9ca3af; font-size: 12px; }
.fs-n { width: 20px; height: 20px; border-radius: 4px; background: var(--lk); color: #fff; font-size: 11px; font-weight: 600; display: grid; place-items: center; margin-bottom: 2px; }
.solves { margin-top: 4px; padding-top: 6px; border-top: 1px dashed var(--ll); color: var(--lo); font-size: 11px; font-weight: 500; }

/* style guide */
.styleguide { padding: 28px; background: #fff; border: 1px solid var(--ll); border-radius: 16px; height: auto; }
.styleguide::before { display: none; }
.sg { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.swatches { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 8px; }
.sw-item { display: grid; gap: 2px; font-size: 11px; color: var(--lm); }
.sw-item b { color: var(--lk); font-size: 12px; }
.swatch { display: block; height: 44px; border-radius: 4px; margin-bottom: 4px; }
.type-row { display: flex; justify-content: space-between; align-items: baseline; padding: 8px 0; border-bottom: 1px solid var(--ll); }
.t20 { font-size: 20px; font-weight: 600; } .t16 { font-size: 16px; font-weight: 600; } .t14 { font-size: 14px; } .t12 { font-size: 12px; font-weight: 500; letter-spacing: .06em; color: var(--lm); }
.comp-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; align-items: center; }
.l-btn { padding: 8px 12px; border-radius: 4px; background: var(--lo); color: #fff; font-size: 13px; font-weight: 500; }
.l-btn.sec { background: #fff; color: var(--lk); border: 1px solid var(--ll); }
.l-btn.ghost { background: transparent; color: var(--lm); }
.l-input { flex: 1; padding: 8px 10px; border: 1px solid var(--ll); border-radius: 4px; color: #9ca3af; font-size: 13px; background: #fff; }
.l-tag { padding: 3px 8px; border-radius: 4px; font-size: 11px; font-weight: 500; background: var(--ls); color: var(--lk); }
.l-tag.ok { background: #e6f7ee; color: #157347; } .l-tag.late { background: #fee2e2; color: #b91c1c; } .l-tag.warn { background: #fff3e0; color: #b45309; }
.l-card { margin-top: 12px; padding: 12px; border: 1px solid var(--ll); border-radius: 8px; background: #fff; display: grid; gap: 4px; font-size: 13px; }
.rules { display: grid; gap: 6px; margin-top: 8px; font-size: 12px; color: var(--lk); }
.rules span::before { content: '— '; color: var(--lm); }

/* Picture It vs Rarity grouping on the Callio Commerce page */
.part { display: flex; align-items: center; gap: 12px; margin-top: 56px; padding-top: 40px; border-top: 1px solid var(--line); }
.part .logo { height: 22px; }
.part .chip { margin-left: 2px; }
.steps > .part + .step { border-top: 0; padding-top: 24px; }

@media (max-width: 860px) {
  .step { grid-template-columns: 1fr; }
  .flow { grid-template-columns: 1fr; }
  .flow-arrow { width: 2px; height: 20px; justify-self: center; }
  .flow-arrow::after { right: -4px; top: auto; bottom: -1px; border: 5px solid transparent; border-top: 7px solid #cbd5e1; }
  .flow-in, .flow-out { grid-template-columns: 1fr 1fr 1fr; }
  .flow-in .ui-k, .flow-out .ui-k { grid-column: 1 / -1; }
  .flow-stages { grid-template-columns: 1fr; }
  .flow-stage + .flow-stage::before { content: '↓'; left: 10px; top: -14px; }
  .sg { grid-template-columns: 1fr; }
  .lotts-ui .float { width: 100%; max-width: 340px; }
}

/* Lotts-branded cards size their own box instead of being clipped */
.shot.lotts-ui:not(.flowbox):not(.styleguide) { height: auto; min-height: 360px; padding: 40px 24px; display: grid; place-items: center; }
.shot.lotts-ui:not(.flowbox):not(.styleguide) > .float { position: relative; left: auto; top: auto; transform: none; }
.case-stage.fit img { max-height: 560px; }

/* ---------- Lotts flow v2: landlord <-> Lotts <-> tenant ---------- */
.flow2 { display: grid; grid-template-columns: 1fr 1.5fr 1fr; gap: 12px 18px; align-items: stretch; }
.lane-head { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 4px; font-size: 13px; }
.lane-head .ui-sub { margin-left: auto; font-size: 11px; }
.lane-head.landlord, .lane-head.tenant { background: var(--ls); }
.lane-head.lotts { background: #0a0a0a; color: #fff; }
.lane-head.lotts .lotts-mark { background: var(--lo); }
.lane-head.lotts .ai-badge { margin-left: auto; background: rgba(255,255,255,.12); color: #fff; }
.lane-head.lotts .ai-badge::before { background: var(--lo); }
.actor-dot { width: 10px; height: 10px; border-radius: 50%; background: #0a0a0a; }
.actor-dot.t { background: #9ca3af; }
.fcard { display: flex; flex-direction: column; gap: 5px; padding: 12px; border: 1px solid var(--ll); border-radius: 4px; background: #fff; font-size: 12px; }
.fcard b { font-size: 12.5px; line-height: 1.3; }
.fcard.core { background: var(--ls); border-color: #d1d5db; }
.fcard.idle { border-style: dashed; }
.fcard.ghost { border-style: dashed; background: transparent; justify-content: center; align-items: center; color: var(--lm); }
.fcard .solves { margin-top: auto; }
.fc-top { display: flex; align-items: center; gap: 6px; margin-bottom: 2px; }
.time { font-size: 10.5px; font-weight: 600; padding: 2px 7px; border-radius: 4px; background: #fff3ec; color: var(--lo); }
.time.zero { background: #e6f7ee; color: #157347; }
.auto { font-size: 10.5px; font-weight: 600; padding: 2px 7px; border-radius: 4px; background: #0a0a0a; color: #fff; }
.fc-top .arr { color: #9ca3af; font-size: 13px; }
.fc-top .arr.in { margin-left: auto; }
.fc-top .arr.in.flip { margin-left: auto; }
.flow-foot { grid-column: 1 / -1; display: grid; grid-template-columns: 1.2fr 1fr 1.4fr; gap: 16px; margin-top: 6px; padding-top: 14px; border-top: 1px solid var(--ll); }
.flow-foot > div { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 8px; font-size: 13px; }
.flow-foot .ui-k { width: 100%; font-size: 10px; }
.flow-foot .good { color: #157347; }
.flow-foot .arr-txt { color: #9ca3af; }
@media (max-width: 860px) {
  .flow2 { grid-template-columns: 1fr; }
  .flow-foot { grid-template-columns: 1fr; }
  .lane-head { margin-top: 8px; }
}

/* case hero screenshot: natural ratio, never cropped */
.case-stage.fit img { height: auto; max-height: none; object-fit: unset; }

/* persona + problem in one card */
.personabox { padding: 24px; }
.persona2 { display: grid; grid-template-columns: 1.1fr 1fr; gap: 28px; }
.p2-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; margin-top: 14px; padding: 12px; border: 1px solid var(--ll); border-radius: 4px; background: var(--ls); }
.p2-facts > div { display: grid; gap: 2px; font-size: 12px; }
.p2-facts .ui-k { font-size: 10px; }
.p2-right .pains { gap: 8px; }
/* website in a real browser frame that scrolls */
.sitebox { height: auto; padding: 24px; background: linear-gradient(180deg, #f8fbff, #eef4ff); }
.sitebox::before { display: none; }
.browser-frame { border-radius: 12px; border: 1px solid rgba(0,28,46,.1); background: #fff; overflow: hidden; box-shadow: 0 1px 2px rgba(0,28,46,.06), 0 30px 80px -30px rgba(0,40,120,.35); }
.browser-frame .browser-bar { position: sticky; top: 0; z-index: 2; }
.browser-body { max-height: 640px; overflow-y: auto; overscroll-behavior: auto; }
.browser-body img { width: 100%; height: auto; display: block; }
@media (max-width: 860px) { .persona2 { grid-template-columns: 1fr; } .browser-body { max-height: 480px; } }

/* ---------- Lotts flow diagram: nodes in lanes, drawn connectors ---------- */
.flowgram { position: relative; }
.fg-svg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.fg-grid { display: grid; grid-template-columns: 96px 1fr 96px 1.25fr 96px 1fr 118px; gap: 26px 0; align-items: center; position: relative; }
.fg-h { font-size: 10px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--lm); padding-bottom: 6px; }
.fg-h.lane { display: flex; align-items: center; gap: 8px; font-size: 13px; letter-spacing: 0; text-transform: none; color: var(--lk); padding: 8px 10px; border-radius: 4px; background: var(--ls); }
.fg-h.lane.lotts { background: #0a0a0a; color: #fff; }
.fg-h.lane.lotts .ai-badge { margin-left: auto; background: rgba(255,255,255,.12); color: #fff; }
.fg-h.lane.lotts .ai-badge::before { background: var(--lo); }
.fg-when { display: grid; gap: 2px; padding-right: 12px; font-size: 12px; color: var(--lm); border-right: 2px solid var(--ll); align-self: stretch; align-content: center; }
.fg-when b { color: var(--lk); font-size: 12.5px; }
.fnode { display: grid; gap: 4px; padding: 11px 12px; border: 1px solid #d1d5db; border-radius: 6px; background: #fff; font-size: 11.5px; color: var(--lm); position: relative; z-index: 1; }
.fnode b { color: var(--lk); font-size: 12.5px; line-height: 1.3; }
.fnode.core { background: var(--ls); border-color: #0a0a0a; }
.fnode.core .auto { justify-self: start; margin-bottom: 2px; }
.fnode.idle { border-style: dashed; }
.fnode.ghost { border-style: dashed; background: transparent; }
.fnode.ghost b { color: var(--lm); font-weight: 500; }
.fg-time { display: grid; gap: 6px; justify-items: start; padding-left: 14px; border-left: 2px solid var(--ll); align-self: stretch; align-content: center; }
.fg-foot { display: grid; grid-template-columns: 1.6fr 1fr; gap: 16px; margin-top: 22px; padding-top: 14px; border-top: 1px solid var(--ll); }
.fg-foot > div { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 8px; font-size: 13px; }
.fg-foot .ui-k { width: 100%; font-size: 10px; }
.fg-foot .good { color: #157347; }
.fg-foot .arr-txt { color: #9ca3af; }
.fg-svg path { fill: none; stroke: #9ca3af; stroke-width: 1.5; }
.fg-svg path.ai { stroke: #c2410c; }
.fg-svg path.money { stroke: #157347; }
.fg-svg path.down { stroke-dasharray: 4 3; }
.fg-svg text { font-family: 'Geist', 'Inter', sans-serif; font-size: 10.5px; font-weight: 500; fill: #374151; paint-order: stroke; stroke: #fff; stroke-width: 4px; stroke-linejoin: round; }
.fg-svg text.ai { fill: #c2410c; } .fg-svg text.money { fill: #157347; }
@media (max-width: 860px) {
  .fg-svg { display: none; }
  .fg-grid { grid-template-columns: 1fr; gap: 10px; }
  .fg-grid > div:empty { display: none; }
  .fg-h.lane, .fg-h { display: none; }
  .fg-when { border-right: 0; border-top: 1px solid var(--ll); padding: 10px 0 2px; margin-top: 8px; }
  .fg-time { border-left: 0; padding-left: 0; grid-auto-flow: column; }
  .fnode::before { content: attr(data-lane); font-size: 10px; letter-spacing: .06em; text-transform: uppercase; color: var(--lm); }
  .fg-foot { grid-template-columns: 1fr; }
}

/* home card: real screenshot anchored top-left, running off the bottom-right */
.shot.shot-bleed > img.bleed {
  position: absolute; left: 10%; top: 10%; transform: none;
  width: 185%; max-width: none; height: auto;
  border-radius: 10px 0 0 0; border: 1px solid rgba(0,28,46,.1); border-right: 0; border-bottom: 0;
  box-shadow: 0 1px 2px rgba(0,28,46,.06), 0 30px 80px -30px rgba(0,40,120,.4);
}

.pstate-card { margin-top: 12px; padding: 12px 14px; border-left: 3px solid var(--lo); background: #fff7f2; border-radius: 0 4px 4px 0; font-size: 12.5px; line-height: 1.5; color: var(--lk); display: grid; gap: 4px; }
.pstate-card .ui-k { color: var(--lo); }

/* case pages: more air around the hero image */
.case-stage { margin-top: 72px; }
.case-stage.fit { padding: 36px 0 40px; }
.steps { margin-top: 84px; }

/* more air between section headers and what follows */
.section-head { margin-bottom: 64px; }
.step.full { gap: 44px; }
.steps > .part + .step { padding-top: 36px; }
.about .wrap { gap: 48px; }

/* ---------- style guide sheet, tilted and fading to the bottom-right ---------- */
.shot.sgbox { height: 640px; }
.sg-sheet {
  position: absolute; left: 7%; top: 7%; width: 150%;
  padding: 28px; background: #fff; border: 1px solid #e5e7eb; border-radius: 10px;
  box-shadow: 0 1px 2px rgba(0,0,0,.05), 0 40px 90px -40px rgba(0,20,60,.45);
  transform-origin: 0 0;
  transform: perspective(1800px) rotateX(10deg) rotateY(-14deg) rotateZ(1.5deg);
  -webkit-mask-image: linear-gradient(130deg, #000 48%, rgba(0,0,0,.6) 64%, transparent 84%);
          mask-image: linear-gradient(130deg, #000 48%, rgba(0,0,0,.6) 64%, transparent 84%);
}
.sg3 { display: grid; grid-template-columns: 1fr 1.15fr 1.2fr; gap: 28px; }
.swatches { grid-template-columns: repeat(3, 1fr); }
.l-btn.icon { padding: 8px 10px; }
.l-btn.sm { padding: 6px 10px; font-size: 12px; }
.l-input.sel { flex: none; display: inline-flex; justify-content: space-between; gap: 14px; min-width: 120px; color: var(--lk); }
.chev { color: var(--lm); font-size: 12px; }
.l-check { width: 16px; height: 16px; border: 1px solid #cbd5e1; border-radius: 4px; background: #fff; display: inline-block; }
.l-check.on { background: var(--lo); border-color: var(--lo); position: relative; }
.l-check.on::after { content: ''; position: absolute; left: 5px; top: 2px; width: 4px; height: 8px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.l-lbl { font-size: 12.5px; margin-right: 8px; }
.l-toggle { width: 32px; height: 18px; border-radius: 999px; background: #d1d5db; position: relative; display: inline-block; }
.l-toggle.on { background: var(--lo); }
.l-toggle i { position: absolute; top: 2px; left: 2px; width: 14px; height: 14px; border-radius: 50%; background: #fff; }
.l-toggle.on i { left: 16px; }
.l-stats { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 8px; border: 1px solid var(--ll); border-radius: 8px; overflow: hidden; }
.l-stats > div { padding: 10px 12px; border-right: 1px solid var(--ll); display: grid; gap: 4px; }
.l-stats > div:last-child { border-right: 0; }
.l-stats b { font-size: 18px; letter-spacing: -.02em; }
.l-stats .g { color: #157347; } .l-stats .r { color: #b91c1c; }
.l-alert { margin-top: 8px; display: flex; align-items: center; gap: 8px; padding: 10px 12px; border: 1px solid #fecaca; background: #fef2f2; border-radius: 6px; color: #b91c1c; font-size: 12.5px; }
.l-alert-dot { width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid #b91c1c; display: grid; place-items: center; font-size: 10px; font-weight: 700; }
.l-nav { display: grid; gap: 2px; margin-top: 8px; font-size: 13px; }
.l-nav > div { display: flex; align-items: center; gap: 10px; padding: 7px 10px; border-radius: 6px; color: var(--lk); }
.l-nav > div.on { background: #fff3ec; color: var(--lo); font-weight: 500; }
.l-ic { width: 14px; height: 14px; border: 1.5px solid currentColor; border-radius: 3px; opacity: .7; }
.l-ic.big { width: 36px; height: 36px; border-radius: 6px; border-color: #157347; background: #f0fdf4; opacity: 1; flex: none; }
.l-tabs { display: flex; gap: 18px; margin-top: 8px; border-bottom: 1px solid var(--ll); font-size: 13px; }
.l-tabs span { padding: 6px 0 8px; color: var(--lk); }
.l-tabs span.on { color: var(--lo); border-bottom: 2px solid var(--lo); margin-bottom: -1px; }
.l-table { margin-top: 8px; border: 1px solid var(--ll); border-radius: 8px; overflow: hidden; font-size: 12px; }
.l-th, .l-tr { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; align-items: center; padding: 8px 12px; gap: 8px; }
.l-th { font-size: 10px; letter-spacing: .06em; text-transform: uppercase; color: var(--lm); border-bottom: 1px solid var(--ll); }
.l-tr { border-bottom: 1px solid var(--ll); }
.l-tr:last-child { border-bottom: 0; }
.l-tr .lk { color: var(--lb); display: grid; }
.l-tr small { color: var(--lm); font-size: 10.5px; }
.l-tr i { font-style: normal; }
.l-modal { margin-top: 8px; display: flex; justify-content: space-between; align-items: center; padding: 12px 14px; border: 1px solid var(--ll); border-radius: 8px 8px 0 0; font-size: 14px; }
.l-card.row { display: flex; align-items: center; gap: 12px; }
.l-card.row > div:nth-child(2) { flex: 1; }
.l-status { display: grid; font-size: 12px; }
.l-status .late { color: #dc2626; font-weight: 500; }
.l-status small { color: var(--lm); font-size: 10.5px; padding-left: 14px; }
.l-user { margin-top: 8px; display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-top: 1px solid var(--ll); font-size: 13px; }
.l-user > div { flex: 1; }
@media (max-width: 860px) {
  .shot.sgbox { height: 520px; }
  .sg-sheet { width: 220%; transform: perspective(1200px) rotateX(8deg) rotateY(-10deg); }
  .sg3 { grid-template-columns: 1fr 1fr 1fr; }
}

.step.full .shot.sgbox { height: 640px; min-height: 640px; }
@media (max-width: 860px) { .step.full .shot.sgbox { height: 520px; min-height: 520px; } }

/* two overlapping screenshots: list underneath, form on top */
.shot.stackbox { height: 520px; }
.shot.stackbox > img { position: absolute; max-width: none; height: auto; border-radius: 10px; border: 1px solid rgba(0,28,46,.1); box-shadow: 0 1px 2px rgba(0,28,46,.06), 0 30px 80px -30px rgba(0,40,120,.4); transform: none; }
.shot.stackbox > img.under { left: 6%; top: 8%; width: 86%; }
.shot.stackbox > img.over { right: 6%; bottom: -6%; left: auto; top: auto; width: 46%; z-index: 2; box-shadow: 0 1px 2px rgba(0,28,46,.08), 0 40px 90px -30px rgba(0,40,120,.5); }
@media (max-width: 860px) { .shot.stackbox { height: 380px; } .shot.stackbox > img.over { width: 58%; } }

/* maintenance stack: lighter border on the form, shorter box */
.shot.stackbox { height: 440px; }
.shot.stackbox > img.over { width: 38%; bottom: -4%; border: 1px solid rgba(0,0,0,.08); outline: 1px solid rgba(255,255,255,.7); }
@media (max-width: 860px) { .shot.stackbox { height: 340px; } .shot.stackbox > img.over { width: 50%; } }

.shot.stackbox > img.over { border-radius: 12px; }

/* ---------- brand tints for clouds and glows (subtle) ---------- */
.brand-lotts { --glow-1: rgba(194,65,12,.30); --glow-2: rgba(245,160,120,.30); --glow-3: rgba(214,90,40,.22);
  --sky-a: rgba(214,100,50,.30); --sky-b: rgba(245,170,130,.30); --sky-c: rgba(194,65,12,.22); --sky-top: #fffaf7; --sky-bottom: #fdf1ea; }
.brand-fanduel { --glow-1: rgba(20,147,255,.42); --glow-2: rgba(110,190,255,.38); --glow-3: rgba(0,112,235,.30);
  --sky-a: rgba(20,147,255,.40); --sky-b: rgba(110,190,255,.36); --sky-c: rgba(0,112,235,.30); --sky-top: #f6fbff; --sky-bottom: #eaf5ff; }
.brand-callio { --glow-1: rgba(251,89,70,.30); --glow-2: rgba(255,170,150,.30); --glow-3: rgba(165,75,255,.18);
  --sky-a: rgba(251,89,70,.28); --sky-b: rgba(255,175,160,.30); --sky-c: rgba(165,75,255,.16); --sky-top: #fff9f8; --sky-bottom: #fdf0ee; }
.brand-complect { --glow-1: rgba(45,48,81,.26); --glow-2: rgba(120,125,170,.26); --glow-3: rgba(245,200,75,.16);
  --sky-a: rgba(45,48,81,.22); --sky-b: rgba(130,135,180,.26); --sky-c: rgba(245,200,75,.14); --sky-top: #f8f8fc; --sky-bottom: #eeeff6; }

/* website frame background follows the brand tint */
.sitebox { background: radial-gradient(70% 60% at 50% 70%, var(--sky-b) 0%, transparent 70%), linear-gradient(180deg, var(--sky-top), var(--sky-bottom)); }

/* primary button: black */
.btn-primary { background: #0a0a0a; color: #fff; box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 1px 2px rgba(0,0,0,.2), 0 10px 30px -12px rgba(0,0,0,.45); }
.btn-primary:hover { background: #1a1a1a; box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 2px 4px rgba(0,0,0,.2), 0 14px 36px -12px rgba(0,0,0,.5); }

/* step labels in the brand color */
:root { --brand: var(--blue); }
.brand-lotts { --brand: #c2410c; } .brand-fanduel { --brand: #0070eb; } .brand-callio { --brand: #e8472f; } .brand-complect { --brand: #2d3051; }
.step .n { color: var(--brand); }

/* ======================================================================
   Complect UI scope: recreated product screens (Inter, navy, yellow)
   ====================================================================== */
.cp-ui { --ck: #343741; --cm: #6b6e80; --cl: #e4e5ea; --cs: #f6f6f8; --cn: #2e304f; --cy: #ffc900; --cb: #2b79d6; --cg: #0ea472; --cr: #d64561; --cw: #e0a400;
  color: var(--ck); font-size: 12.5px; line-height: 1.4; }
.cp-ui * { box-sizing: border-box; }
.cp-ui .ui-sub { color: var(--cm); }
.cp-ui .ui-k { color: var(--cm); letter-spacing: .06em; }
.cp-ui .tag { border-radius: 4px; border-color: var(--cl); color: var(--ck); background: var(--cs); }
.cp-ui .pstate-card { border-left-color: var(--cn); background: #f3f4fa; }
.cp-ui .pstate-card .ui-k { color: var(--cn); }
.cp-ui .p2-facts { border-color: var(--cl); background: var(--cs); }
.cp-ui .pain-dot { background: var(--cn); }
.cp-ui .type-row { border-color: var(--cl); }

/* app frame */
.cp-app { width: 100%; background: var(--cs); border-radius: 10px; border: 1px solid rgba(0,28,46,.1); overflow: hidden; box-shadow: 0 1px 2px rgba(0,28,46,.06), 0 30px 80px -30px rgba(0,40,120,.35); text-align: left; }
.cp-top { display: flex; align-items: center; gap: 22px; height: 52px; padding: 0 18px 0 16px; background: #fff; border-bottom: 1px solid var(--cl); }
.cp-mark { width: 22px; height: 22px; position: relative; flex: none; margin-right: 4px; }
.cp-mark::before { content: ''; position: absolute; left: 0; top: 0; width: 16px; height: 16px; border-radius: 3px; background: var(--cn); }
.cp-mark::after { content: ''; position: absolute; right: 0; bottom: 0; width: 12px; height: 12px; border-radius: 3px; background: var(--cn); box-shadow: 0 0 0 2px #fff; }
.cp-top nav { display: flex; gap: 22px; color: var(--ck); font-size: 12.5px; }
.cp-top .sp { flex: 1; }
.cp-find { padding: 7px 12px; border-radius: 6px; background: var(--cy); color: var(--ck); font-weight: 600; font-size: 12px; }
.cp-bell { width: 16px; height: 16px; border: 1.5px solid var(--ck); border-radius: 8px 8px 2px 2px; position: relative; opacity: .8; }
.cp-bell.dot::after { content: ''; position: absolute; right: -4px; top: -4px; width: 7px; height: 7px; border-radius: 50%; background: var(--cy); box-shadow: 0 0 0 2px #fff; }
.cp-user { display: flex; align-items: center; gap: 8px; padding-left: 18px; border-left: 1px solid var(--cl); font-size: 12.5px; }
.cp-user .avatar { width: 24px; height: 24px; background: linear-gradient(135deg, #f3d9c4, #c98a62); }
.cp-user .chev { color: var(--cm); }
.cp-body { display: grid; grid-template-columns: 196px 1fr; min-height: 0; }
.cp-side { background: var(--cn); color: rgba(255,255,255,.85); padding: 14px 10px; display: grid; gap: 2px; align-content: start; font-size: 12px; }
.cp-side .sec { display: flex; align-items: center; gap: 8px; padding: 10px 8px 6px; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.6); font-weight: 600; }
.cp-side .sec::after { content: '⌄'; margin-left: auto; font-size: 11px; }
.cp-side .sec i { width: 12px; height: 10px; border: 1.5px solid currentColor; border-radius: 2px; opacity: .8; }
.cp-side div:not(.sec) { padding: 7px 8px; border-radius: 5px; }
.cp-side div.on { background: rgba(255,255,255,.1); color: #fff; font-weight: 500; }
.cp-side .foot { margin-top: 10px; padding-top: 10px; border-top: 1px solid rgba(255,255,255,.12); display: grid; gap: 2px; }
.cp-side .foot div { display: flex; align-items: center; gap: 8px; }
.cp-side .foot i { width: 11px; height: 11px; border: 1.5px solid currentColor; border-radius: 3px; opacity: .7; }
.cp-main { padding: 22px 24px 26px; min-width: 0; }
.cp-h1 { font-size: 21px; font-weight: 400; letter-spacing: -.01em; margin: 0 0 18px; }
.cp-h1 b { font-weight: 600; }
.cp-card { background: #fff; border: 1px solid var(--cl); border-radius: 8px; box-shadow: 0 1px 2px rgba(20,24,60,.04); }
.cp-card-h { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-bottom: 1px solid var(--cl); font-size: 14px; }
.cp-card-h .lnk { margin-left: auto; }
.cp-card-h .cp-btn + .lnk { margin-left: 0; }
.cp-card-h .cp-btn { margin-left: auto; }
.lnk { color: var(--cb); font-size: 12.5px; }
.cp-btn { display: inline-flex; align-items: center; justify-content: center; padding: 7px 12px; border-radius: 6px; font-weight: 600; font-size: 12px; border: 1px solid var(--cl); background: #fff; color: var(--ck); }
.cp-btn.navy { background: var(--cn); color: #fff; border-color: var(--cn); }
.cp-btn.sm { padding: 5px 10px; }
.cp-btn.dis { background: #c9cad4; border-color: #c9cad4; color: #fff; }

/* dashboard */
.cp-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 16px; }
.cp-stat { padding: 16px 18px 18px; }
.cp-stat .t { display: flex; align-items: center; gap: 10px; font-size: 14px; margin-bottom: 14px; }
.cp-stat .t .lnk { margin-left: auto; }
.cp-ico { width: 24px; height: 24px; border-radius: 5px; display: grid; place-items: center; flex: none; }
.cp-ico.blue { background: var(--cb); } .cp-ico.pink { background: #c7357d; } .cp-ico.green { background: var(--cg); } .cp-ico.navy { background: var(--cn); }
.cp-ico::before { content: ''; width: 10px; height: 11px; border: 1.5px solid #fff; border-radius: 2px; }
.cp-ico.pink::before { width: 0; height: 0; border: 0; border-left: 5px solid transparent; border-right: 5px solid transparent; border-bottom: 9px solid #fff; border-radius: 0; }
.cp-ico.green::before { width: 9px; height: 9px; border-radius: 50% 50% 2px 2px; }
.cp-stat b { display: block; font-size: 26px; font-weight: 600; letter-spacing: -.02em; line-height: 1; margin-bottom: 8px; }
.cp-stat span { color: var(--cm); }
.cp-grid { display: grid; grid-template-columns: 1fr 300px; gap: 16px; align-items: start; }
.cp-tasks { display: grid; grid-template-columns: 1fr 210px; gap: 20px; padding: 10px 18px 18px; }
.cp-tbl { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.cp-tbl th { text-align: left; font-weight: 400; color: var(--cm); padding: 10px 6px; border-bottom: 1px solid var(--cl); font-size: 12px; }
.cp-tbl th.r, .cp-tbl td.r { text-align: right; }
.cp-tbl td { padding: 11px 6px; border-bottom: 1px solid var(--cl); white-space: nowrap; }
.cp-tbl tr:last-child td { border-bottom: 0; }
.cp-tbl .lnk { font-size: 12.5px; }
.cp-tbl .done { text-decoration: line-through; color: var(--cb); opacity: .75; }
.cp-tbl .dots { color: var(--cm); letter-spacing: 1px; }
.cp-check { width: 15px; height: 15px; border-radius: 50%; border: 1.5px solid #c9cad4; display: inline-block; vertical-align: -3px; margin-right: 8px; }
.cp-check.on { background: var(--cg); border-color: var(--cg); position: relative; }
.cp-check.on::after { content: ''; position: absolute; left: 4px; top: 1.5px; width: 3px; height: 7px; border: solid #fff; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }
.cp-warn { display: inline-block; width: 0; height: 0; border-left: 6px solid transparent; border-right: 6px solid transparent; border-bottom: 10px solid var(--cy); vertical-align: -1px; margin-right: 6px; position: relative; }
.cp-donut { display: grid; justify-items: center; gap: 8px; padding-top: 12px; }
.cp-donut svg { width: 150px; height: 150px; }
.cp-donut .c { position: relative; }
.cp-donut .v { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; line-height: 1.1; }
.cp-donut .v b { font-size: 30px; font-weight: 500; letter-spacing: -.02em; }
.cp-donut .v span { color: var(--ck); font-size: 12.5px; }
.cp-donut .lbl { font-weight: 600; font-size: 13px; }
.cp-dead { display: flex; gap: 14px; align-items: center; padding: 16px 18px; }
.cp-date { width: 58px; height: 58px; border: 1px solid var(--cl); border-radius: 6px; display: grid; place-content: center; text-align: center; line-height: 1; flex: none; }
.cp-date small { font-size: 10px; letter-spacing: .08em; color: var(--cm); font-weight: 600; margin-bottom: 4px; display: block; }
.cp-date b { font-size: 22px; font-weight: 600; }
.cp-dead .t { font-size: 14px; font-weight: 500; }

/* shots that hold a whole app screen */
.shot.appbox { height: auto; min-height: 0; padding: 28px; display: block; }
.shot.appbox::before { display: none; }
.shot.appbox > .cp-app, .shot.appbox > .cp-card { position: relative; left: auto; top: auto; transform: none; width: 100%; }
.shot.appbox.clip { position: relative; max-height: 640px; overflow: hidden; }
.shot.appbox.clip::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 140px; background: linear-gradient(180deg, rgba(246,246,248,0), var(--sky-bottom)); z-index: 3; pointer-events: none; }
.case-stage.fit > .cp-app { position: relative; left: auto; top: auto; transform: none; margin: 0 auto; width: min(1000px, 92vw); }

/* form builder */
.cp-fb-top { display: flex; align-items: center; gap: 12px; height: 60px; padding: 0 20px; background: #fff; border-bottom: 1px solid var(--cl); }
.cp-fb-top .burger { width: 16px; height: 12px; border-top: 2px solid var(--ck); border-bottom: 2px solid var(--ck); position: relative; }
.cp-fb-top .burger::after { content: ''; position: absolute; left: 0; right: 0; top: 3px; border-top: 2px solid var(--ck); }
.cp-fb-top .draft { padding: 3px 8px; border-radius: 4px; background: var(--cs); border: 1px solid var(--cl); font-size: 11px; color: var(--cm); }
.cp-fb-top h4 { margin: 0; font-size: 18px; font-weight: 400; }
.cp-fb-top .sp { flex: 1; }
.cp-fb-top .x { color: var(--cm); font-size: 18px; margin-left: 6px; }
.cp-tabs { display: flex; align-items: center; gap: 22px; padding: 0 20px; background: #fff; border-bottom: 1px solid var(--cl); font-size: 12.5px; }
.cp-tabs span { padding: 12px 0 11px; color: var(--ck); }
.cp-tabs span.on { font-weight: 600; border-bottom: 2px solid var(--cy); margin-bottom: -1px; }
.cp-tabs .sp { flex: 1; }
.cp-tabs .cp-btn { margin: 7px 0; }
.cp-fb { display: grid; grid-template-columns: 250px 1fr; }
.cp-fb-side { padding: 22px 20px; background: #fff; border-right: 1px solid var(--cl); }
.cp-fb-side h5 { margin: 0 0 14px; font-size: 16px; font-weight: 500; }
.cp-fb-side .g { font-size: 12px; font-weight: 600; margin: 12px 0 6px; }
.cp-blk { display: flex; align-items: center; gap: 8px; padding: 9px 10px; border: 1px solid var(--cl); border-radius: 5px; margin-bottom: 6px; font-size: 12px; background: #fff; }
.cp-blk .grip { width: 4px; height: 10px; border-left: 2px dotted #b4b6c2; border-right: 2px dotted #b4b6c2; }
.cp-blk .ic { width: 12px; height: 12px; border: 1.5px solid var(--ck); border-radius: 2px; opacity: .7; }
.cp-blk .ic.t { border: 0; width: auto; height: auto; opacity: 1; font-weight: 600; font-size: 12px; line-height: 1; }
.cp-blk .ic.line { height: 0; border-width: 1.5px 0 0; border-radius: 0; }
.cp-blk .ic.chk { border-radius: 2px; }
.cp-blk .ic.on { background: var(--cg); border-color: var(--cg); }
.cp-canvas { padding: 34px 48px; }
.cp-sel { border: 1.5px dashed var(--cb); border-radius: 6px; padding: 32px 36px; background: #fff; }
.cp-rte { border: 1px solid var(--cl); border-radius: 4px; }
.cp-rte-bar { display: flex; gap: 10px; align-items: center; padding: 8px 10px; border-bottom: 1px solid var(--cl); font-size: 10px; font-weight: 700; color: var(--ck); }
.cp-rte-bar i { font-style: normal; } .cp-rte-bar .sep { width: 1px; height: 12px; background: var(--cl); }
.cp-rte-body { padding: 12px; font-size: 12px; line-height: 1.5; color: var(--ck); }
.cp-rte-body p { margin: 0 0 12px; } .cp-rte-body p:last-child { margin: 0; }
.cp-rte-body ol { margin: 4px 0 0; padding-left: 20px; }
.cp-q { margin-top: 26px; font-size: 13px; font-weight: 600; }
.cp-q .req { color: var(--cr); margin-left: 3px; }
.cp-opt { display: flex; align-items: center; gap: 10px; margin-top: 14px; font-size: 12.5px; }
.cp-opt i { width: 18px; height: 18px; border: 1.5px solid #b4b6c2; border-radius: 4px; background: #fff; }
.cp-dr { display: inline-block; margin-top: 10px; padding: 6px 10px; border: 1px solid var(--cl); border-radius: 4px; background: #fffbe6; font-size: 12px; letter-spacing: .02em; color: var(--cm); }

/* trade monitoring card */
.cp-page-h { display: flex; align-items: center; justify-content: space-between; padding: 0 0 18px; }
.cp-page-h h4 { margin: 0; font-size: 20px; font-weight: 400; }
.cp-filters { display: flex; align-items: center; gap: 10px; padding: 16px 0 8px; font-size: 12px; }
.cp-filters .sp { flex: 1; }
.cp-sel-in { display: inline-flex; align-items: center; gap: 8px; padding: 6px 10px; border: 1px solid var(--cl); border-radius: 5px; background: #fff; }
.cp-sel-in .chev { color: var(--cm); }
.cp-cal { width: 11px; height: 10px; border: 1.5px solid var(--ck); border-top-width: 3px; border-radius: 2px; opacity: .75; }
.cp-pill { display: inline-block; padding: 2px 8px; border-radius: 4px; font-size: 11px; font-weight: 500; }
.cp-pill.buy { background: #e8fbf5; color: #0a7f58; } .cp-pill.sell { background: #fde8ec; color: #c0334f; }
.cp-tip { position: absolute; left: 0; top: 100%; margin-top: 6px; padding: 7px 10px; background: var(--ck); color: #fff; font-size: 11px; border-radius: 5px; white-space: nowrap; z-index: 2; font-weight: 400; }
.cp-tip::before { content: ''; position: absolute; left: 10px; top: -4px; border: 4px solid transparent; border-top: 0; border-bottom: 4px solid var(--ck); }
.cp-tbl .fl { position: relative; }

/* inbox */
.cp-inbox { display: grid; grid-template-columns: 300px 1fr; min-height: 560px; }
.cp-list { border-right: 1px solid var(--cl); }
.cp-conv { display: flex; gap: 10px; padding: 12px 14px; border-bottom: 1px solid var(--cl); }
.cp-conv.on { background: var(--cs); }
.cp-conv .av { width: 32px; height: 32px; border-radius: 50%; background: #e4e5ea; color: var(--ck); font-size: 11px; font-weight: 600; display: grid; place-items: center; flex: none; }
.cp-conv .av.y { background: #fff1b8; }
.cp-conv .av.nv { background: var(--cn); color: #fff; }
.cp-conv .txt { min-width: 0; flex: 1; }
.cp-conv .nm { display: flex; align-items: baseline; gap: 8px; font-size: 13px; font-weight: 600; }
.cp-conv .nm span { margin-left: auto; font-weight: 400; font-size: 11px; color: var(--cm); white-space: nowrap; }
.cp-conv .pv { font-size: 12px; color: var(--cm); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 2px; }
.cp-new { font-size: 10px; font-weight: 600; padding: 1px 6px; border-radius: 3px; background: #fff3c4; color: #8a6600; }
.cp-thread { display: flex; flex-direction: column; min-width: 0; }
.cp-thread-h { display: flex; align-items: center; gap: 12px; padding: 14px 22px; border-bottom: 1px solid var(--cl); }
.cp-thread-h .av { width: 36px; height: 36px; border-radius: 50%; background: #e4e5ea; display: grid; place-items: center; font-size: 12px; font-weight: 600; }
.cp-thread-h .who b { display: block; font-size: 13.5px; }
.cp-thread-h .who span { font-size: 12px; color: var(--cm); }
.cp-proj { margin-left: auto; display: flex; align-items: center; gap: 14px; padding: 8px 12px; border: 1px solid var(--cl); border-radius: 6px; background: var(--cs); font-size: 12px; }
.cp-proj b { font-weight: 600; }
.cp-proj .st { padding: 2px 8px; border-radius: 4px; background: #e8fbf5; color: #0a7f58; font-weight: 600; font-size: 11px; }
.cp-msgs { padding: 6px 22px 0; flex: 1; }
.cp-msg { display: grid; grid-template-columns: 36px 1fr; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--cl); }
.cp-msg:last-child { border-bottom: 0; }
.cp-msg .av { width: 36px; height: 36px; border-radius: 50%; background: #e4e5ea; display: grid; place-items: center; font-size: 12px; font-weight: 600; }
.cp-msg .av.me { background: var(--cn); color: #fff; }
.cp-msg .hd { display: flex; align-items: baseline; gap: 10px; margin-bottom: 4px; }
.cp-msg .hd b { font-size: 13px; }
.cp-msg .hd span { margin-left: auto; font-size: 11.5px; color: var(--cm); }
.cp-msg p { margin: 0; font-size: 12.5px; line-height: 1.55; color: var(--ck); max-width: 620px; }
.cp-att { display: inline-flex; align-items: center; gap: 10px; margin-top: 10px; padding: 10px 12px; border: 1px solid #d6e4fb; background: #f0f6ff; border-radius: 6px; min-width: 240px; }
.cp-att .fi { width: 16px; height: 20px; border: 1.5px solid var(--cb); border-radius: 2px; position: relative; flex: none; }
.cp-att .fi::after { content: ''; position: absolute; left: 3px; right: 3px; top: 8px; border-top: 1.5px solid var(--cb); box-shadow: 0 4px 0 var(--cb); }
.cp-att b { display: block; font-size: 12.5px; font-weight: 500; }
.cp-att .lnk { font-size: 11.5px; }
.cp-att .dots { margin-left: auto; color: var(--cm); letter-spacing: 1px; }
.cp-compose { padding: 16px 22px 20px; }
.cp-compose .cp-rte-body { color: var(--cm); min-height: 64px; }
.cp-compose .send { display: flex; justify-content: flex-end; margin-top: 12px; }

@media (max-width: 860px) {
  .cp-body { grid-template-columns: 1fr; } .cp-side { display: none; }
  .cp-stats { grid-template-columns: 1fr; } .cp-grid { grid-template-columns: 1fr; } .cp-tasks { grid-template-columns: 1fr; }
  .cp-fb { grid-template-columns: 1fr; } .cp-fb-side { display: none; } .cp-canvas { padding: 20px; } .cp-sel { padding: 18px; }
  .cp-inbox { grid-template-columns: 1fr; } .cp-list { display: none; } .cp-proj { display: none; }
  .cp-top nav { display: none; }
  .shot.appbox { padding: 14px; }
}

/* complect fixes: hero fits, no wrapping in filters/headers, flag as a pill */
.case-stage.fit > .cp-app { width: min(1120px, 100% - 40px); }
.cp-body { grid-template-columns: 206px 1fr; }
.cp-side .sec { font-size: 9.5px; letter-spacing: .06em; white-space: nowrap; }
.cp-grid { grid-template-columns: minmax(0, 1fr) 280px; }
.cp-grid > *, .cp-tasks > * { min-width: 0; }
.cp-tasks { grid-template-columns: minmax(0, 1fr) 180px; }
.cp-donut svg { width: 140px; height: 140px; }
.cp-tbl th { white-space: nowrap; }
.cp-filters { font-size: 11.5px; gap: 8px; white-space: nowrap; }
.cp-filters .cp-btn { white-space: nowrap; }
.cp-sel-in { white-space: nowrap; padding: 6px 9px; }
.cp-btn { white-space: nowrap; }
.cp-pill.flag { background: #fff3c4; color: #8a6600; margin-left: 8px; }
.cp-proj span { white-space: nowrap; }
.cp-thread-h .who span { white-space: nowrap; }

/* complect: darker purple sidebar, avatar never squished, style guide sheet */
.cp-ui { --cp-side: #211f42; --lk: var(--ck); --lo: var(--cn); --lb: var(--cb); --lm: var(--cm); --ll: var(--cl); --ls: var(--cs); }
.cp-side { background: var(--cp-side); }
.cp-thread-h .av, .cp-msg .av { flex: none; }
.cp-ui .l-btn, .cp-ui .l-input, .cp-ui .l-input.sel { border-radius: 6px; }
.cp-ui .l-btn { font-weight: 600; font-size: 12px; }
.cp-ui .l-btn.yellow { background: var(--cy); color: var(--ck); }
.cp-ui .l-btn.link { background: transparent; color: var(--cb); font-weight: 400; }
.cp-ui .l-tag { background: var(--cs); color: var(--ck); }
.cp-ui .l-tag.ok { background: #e8fbf5; color: #0a7f58; } .cp-ui .l-tag.late { background: #fde8ec; color: #c0334f; } .cp-ui .l-tag.warn { background: #fff3c4; color: #8a6600; }
.cp-ui .l-tag.info { background: #e8f0ff; color: #1d4ed8; }
.cp-ui .l-nav { background: var(--cp-side); padding: 6px; border-radius: 6px; color: rgba(255,255,255,.85); }
.cp-ui .l-nav > div { color: inherit; font-size: 12px; }
.cp-ui .l-nav > div.on { background: rgba(255,255,255,.1); color: #fff; }
.cp-ui .l-nav .sec { font-size: 9.5px; letter-spacing: .06em; text-transform: uppercase; color: rgba(255,255,255,.6); font-weight: 600; padding: 6px 8px 2px; }
.cp-ui .l-tabs span.on { color: var(--ck); font-weight: 600; border-color: var(--cy); }
.cp-ui .l-table { border-radius: 6px; } .cp-ui .l-th, .cp-ui .l-tr { grid-template-columns: 1.6fr 1fr .8fr .8fr; }
.cp-ui .l-alert { border-color: #ffe08a; background: #fff8dc; color: #6b5200; }
.cp-ui .l-alert-dot { border-color: #b88a00; color: #b88a00; }
.cp-ui .l-stats b { font-size: 16px; }
.cp-ui .l-stats .g { color: var(--cg); } .cp-ui .l-stats .r { color: var(--cr); }
.cp-ui .l-modal { border-radius: 6px 6px 0 0; }
.cp-ui .sw-item b { color: var(--ck); }
.cp-ui .rules span::before { color: var(--cm); }
.cp-ui .sg-sheet { border-color: var(--cl); }
.cp-ui .t12 { color: var(--cm); }
.cp-ui .l-card { border-radius: 6px; }
.cp-ui .l-check.on { background: var(--cn); border-color: var(--cn); }
.cp-ui .l-toggle.on { background: var(--cn); }
.cp-ui .l-input.sel { color: var(--ck); }
.cp-mini-donut { width: 44px; height: 44px; flex: none; }

/* complect sidebar: deeper purple, real icons */
.cp-ui { --cp-side: #15132b; }
.cp-side svg, .l-nav svg { width: 14px; height: 14px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; opacity: .85; }
.cp-side .sec svg { width: 13px; height: 13px; }
.cp-side div.on { background: rgba(255,255,255,.12); }
.cp-side .foot { border-top-color: rgba(255,255,255,.1); }
.cp-ui .l-nav > div.on { background: rgba(255,255,255,.12); }

/* sidebar footer: same left edge as the items above */
.cp-side div.foot { padding: 10px 0 0; }

/* ---------- device frames: iPhone and desktop browser ---------- */
.phone { position: relative; width: 280px; padding: 10px; border-radius: 46px; background: #1c1c1e; box-shadow: inset 0 0 0 1.5px #4a4a4e, inset 0 0 0 3px #0b0b0c, 0 1px 2px rgba(0,0,0,.2), 0 40px 90px -30px rgba(0,20,60,.55); }
.phone::before { content: ''; position: absolute; left: 50%; top: 20px; transform: translateX(-50%); width: 84px; height: 24px; border-radius: 999px; background: #0b0b0c; z-index: 2; }
.phone::after { content: ''; position: absolute; right: -3px; top: 150px; width: 3px; height: 70px; border-radius: 0 2px 2px 0; background: #2c2c2e; box-shadow: -1px 0 0 #0b0b0c; }
.phone .btn-l { position: absolute; left: -3px; width: 3px; border-radius: 2px 0 0 2px; background: #2c2c2e; box-shadow: 1px 0 0 #0b0b0c; }
.phone .btn-l.a { top: 112px; height: 24px; } .phone .btn-l.b { top: 158px; height: 46px; } .phone .btn-l.c { top: 216px; height: 46px; }
.phone .screen { border-radius: 36px; overflow: hidden; background: #000; }
.phone .screen img { width: 100%; height: auto; display: block; border-radius: 0; border: 0; box-shadow: none; }
.shot.shot-phone > .phone { position: absolute; left: 50%; top: 11%; transform: translateX(-50%); width: 290px; }
.shot.shot-phone > .phone .screen img { width: 100%; }

.devices { position: relative; width: min(1120px, 100% - 40px); margin: 0 auto; padding-bottom: 56px; }
.devices .mac { width: 84%; }
.devices .mac .browser-bar { padding: 10px 14px; }
.devices .mac .browser-body { max-height: none; overflow: visible; }
.devices > .phone { position: absolute; right: 0; bottom: 0; width: 21%; min-width: 200px; max-width: 250px; }
.case-stage.fit .devices img { position: static; transform: none; width: 100%; max-height: none; border-radius: 0; border: 0; box-shadow: none; }
@media (max-width: 860px) {
  .devices { padding-bottom: 40px; } .devices .mac { width: 100%; } .devices > .phone { width: 36%; min-width: 150px; right: -8px; bottom: -10px; }
  .shot.shot-phone > .phone { width: 240px; }
}

/* ---------- Picture It phone screen, rebuilt in HTML ---------- */
.pi { background: #0a0a0a; color: #fff; font-family: var(--sans); font-size: 11px; line-height: 1.3; }
.pi * { box-sizing: border-box; }
.pi-top { display: flex; align-items: center; gap: 6px; padding: 46px 12px 12px; }
.pi-ib { width: 28px; height: 28px; border-radius: 7px; background: #fff; display: grid; place-items: center; }
.pi-ib svg { width: 13px; height: 13px; fill: none; stroke: #111; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.pi-top .sp { flex: 1; }
.pi-room { position: relative; }
.pi-room img { width: 100%; height: auto; display: block; }
.pi-opts { padding: 12px 10px 10px; display: grid; gap: 7px; overflow: hidden; }
.pi-row { display: flex; align-items: center; gap: 5px; white-space: nowrap; }
.pi-row .lbl { color: #b5b5b5; font-size: 10px; margin: 0 4px 0 2px; }
.pi-chip { display: inline-flex; align-items: center; gap: 5px; padding: 6px 8px; border-radius: 6px; font-size: 10.5px; font-weight: 600; color: #e6e6e6; background: #262626; flex: none; }
.pi-chip.on { background: #fff; color: #111; }
.pi-chip i { width: 9px; height: 9px; border-radius: 50%; border: 1.5px solid #fff; background: #fff; }
.pi-chip i.blk { background: #111; border-color: #fff; } .pi-chip i.mah { background: #5b2a1c; border-color: #a0634f; } .pi-chip i.che { background: #8a4b2f; border-color: #c18566; }
.pi-chip.on i.blk { border-color: #111; }
.pi-panel { background: #fff; color: #111; padding: 10px 10px 0; border-radius: 14px 14px 0 0; }
.pi-cells { display: grid; grid-template-columns: 1fr 1fr 1fr; border: 1px solid #e4e4e7; border-radius: 8px; overflow: hidden; }
.pi-cells > div { padding: 7px 6px; text-align: center; border-right: 1px solid #e4e4e7; }
.pi-cells > div:last-child { border-right: 0; }
.pi-cells > div.on { background: #f4f4f5; }
.pi-cells small { display: block; color: #6b6b70; font-size: 9px; margin-bottom: 2px; }
.pi-cells b { font-size: 11px; display: inline-flex; align-items: center; gap: 4px; }
.pi-cells b i { width: 8px; height: 8px; border-radius: 50%; background: #111; }
.pi-cta { display: flex; gap: 8px; margin-top: 8px; }
.pi-more { width: 34px; height: 34px; border: 1px solid #e4e4e7; border-radius: 8px; display: grid; place-items: center; letter-spacing: 1px; color: #333; }
.pi-ar { flex: 1; height: 34px; border-radius: 8px; background: #111; color: #fff; display: flex; align-items: center; justify-content: center; gap: 6px; font-weight: 600; font-size: 11.5px; }
.pi-ar svg { width: 13px; height: 13px; fill: none; stroke: #fff; stroke-width: 1.5; stroke-linejoin: round; }
.pi-home { height: 5px; width: 40%; margin: 14px auto 8px; border-radius: 999px; background: rgba(0,0,0,.35); }

.pi-cells > div { padding: 7px 4px; }
.pi-cells b { white-space: nowrap; font-size: 10.5px; }

/* home card: desktop screenshot in a browser frame, scaled down, anchored left and cut off on the right */
.shot.shot-desk > .browser-frame { position: absolute; left: 7%; top: 50%; transform: translateY(-50%); width: 118%; max-width: none; border-radius: 10px; }
.shot.shot-desk .browser-bar { padding: 8px 12px; }
.shot.shot-desk .browser-bar .url { font-size: 10px; padding: 3px 10px; }
.shot.shot-desk .browser-body { max-height: none; overflow: visible; }
.shot.shot-desk .browser-body img { border: 0; border-radius: 0; box-shadow: none; }

/* phone: frame options as one translucent container over the photo, segmented groups inside */
.pi-opts { position: relative; z-index: 1; margin: -54px 10px 0; padding: 0; gap: 0; border-radius: 10px; background: rgba(28,28,28,.78); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.pi-row { padding: 7px 8px; gap: 2px; }
.pi-row + .pi-row { border-top: 1px solid rgba(255,255,255,.14); }
.pi-row .lbl { color: #d0d0d0; margin: 0 6px 0 4px; }
.pi-chip { background: transparent; color: #fff; padding: 6px 9px; }
.pi-chip.on { background: #fff; color: #111; }
.pi-seg { display: inline-flex; background: rgba(255,255,255,.1); border-radius: 7px; flex: none; }
.pi-seg .pi-chip { border-radius: 7px; }
.pi-panel { margin-top: 10px; }

/* ---------- Picture It desktop screen, rebuilt in HTML over the room photo ---------- */
.pd { position: relative; overflow: hidden; container-type: inline-size; background: #111; font-family: var(--sans); color: #111; line-height: 1; }
.pd > img { width: 100%; height: auto; display: block; }
.pd-grp { position: absolute; display: flex; background: #fff; border-radius: .55cqw; font-size: 1.25cqw; font-weight: 600; box-shadow: 0 .2cqw .8cqw rgba(0,0,0,.25); overflow: hidden; }
.pd-grp > span { display: inline-flex; align-items: center; gap: .5cqw; padding: 1cqw 1.2cqw; white-space: nowrap; }
.pd-grp > span + span { border-left: 1px solid #e4e4e7; }
.pd-grp .k { font-weight: 400; color: #333; }
.pd-grp .mute { color: #9a9a9f; }
.pd-grp svg { width: 1.3cqw; height: 1.3cqw; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.pd-grp .dot { width: 1cqw; height: 1cqw; border-radius: 50%; background: #111; display: inline-block; }
.pd-tl { left: 1.8cqw; top: 2cqw; }
.pd-tr { right: 1.8cqw; top: 2cqw; }
.pd-tr > span { padding: 1cqw; }
.pd-bl { left: 1.8cqw; bottom: 2cqw; }
.pd-br { right: 1.8cqw; bottom: 2cqw; }
.pd-slider { position: absolute; right: 2.8cqw; top: 34%; height: 24%; width: .3cqw; border-radius: 1cqw; background: rgba(255,255,255,.75); }
.pd-slider::after { content: ''; position: absolute; left: 50%; top: 56%; transform: translate(-50%, -50%); width: 1.7cqw; height: 1.7cqw; border-radius: 50%; background: #fff; box-shadow: 0 .1cqw .5cqw rgba(0,0,0,.3); }
.pd-tray { position: absolute; left: 44%; right: 0; bottom: 6.6%; height: 14.6%; display: flex; gap: .7cqw; padding: .9cqw; background: rgba(20,20,20,.5); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-radius: .8cqw 0 0 .8cqw; overflow: hidden; }
.pd-tray img { height: 100%; width: auto; border-radius: .5cqw; flex: none; display: block; }
.pd-tray img.on { outline: .25cqw solid #fff; outline-offset: -.25cqw; }
.shot.shot-desk .browser-body .pd > img, .case-stage.fit .devices .pd > img { border: 0; border-radius: 0; box-shadow: none; }

/* desktop screen: thumbnails keep their own size, tray sits over the baked strip, toolbar above it */
.case-stage.fit .devices .pd-tray img, .browser-body .pd-tray img, .shot.shot-desk .browser-body .pd-tray img { width: auto; height: 100%; max-width: none; }
.pd-tray { bottom: 1.8%; height: 14.2%; }
.pd-grp { font-size: 1.15cqw; }
.pd-grp > span { padding: .9cqw 1.1cqw; }
.pd-bl { bottom: 1.8cqw; }
.pd-br { bottom: 18.5%; }

.pd-tray { bottom: 0; height: 14%; border-radius: .8cqw 0 0 0; padding-bottom: .9cqw; }
.pd-br { bottom: 17%; }

/* desktop screen: thumbnails as individual blocks over the baked strip, buttons below them; 4px radii */
.pd-tray { display: none; }
.pd-thumbs { position: absolute; left: 0; top: 81.8%; width: 100%; height: 10.65%; overflow: hidden; }
.pd-thumbs img { position: absolute; top: 0; height: 100%; width: 9.58%; object-fit: cover; border-radius: 4px; display: block; }
.pd-thumbs img.on { outline: 3px solid #fff; outline-offset: -3px; }
.pd-thumbs img:nth-child(1) { left: 46.5%; } .pd-thumbs img:nth-child(2) { left: 56.4%; } .pd-thumbs img:nth-child(3) { left: 66.3%; } .pd-thumbs img:nth-child(4) { left: 74.9%; }
.pd-thumbs img:nth-child(5) { left: 86.0%; } .pd-thumbs img:nth-child(6) { left: 95.9%; } .pd-thumbs img:nth-child(7) { left: 105.8%; } .pd-thumbs img:nth-child(8) { left: 115.7%; }
.case-stage.fit .devices .pd-thumbs img, .browser-body .pd-thumbs img, .shot.shot-desk .browser-body .pd-thumbs img { width: 9.58%; height: 100%; max-width: none; border: 0; box-shadow: none; border-radius: 4px; }
.pd-grp { border-radius: 4px; }
.pd-bl, .pd-br { bottom: 1.7cqw; }
.pi-ib, .pi-chip, .pi-seg, .pi-seg .pi-chip, .pi-cells, .pi-more, .pi-ar { border-radius: 4px; }

/* thumbnails: positioned in container-width units so they sit exactly over the baked strip */
.pd-thumbs { top: 54.67cqw; height: 6.95cqw; }
.pd-thumbs img, .case-stage.fit .devices .pd-thumbs img, .browser-body .pd-thumbs img, .shot.shot-desk .browser-body .pd-thumbs img { width: 9.42cqw; height: 100%; }
.pd-thumbs img:nth-child(1) { left: 46.64cqw; width: 9.73cqw; } .pd-thumbs img:nth-child(2) { left: 56.53cqw; } .pd-thumbs img:nth-child(3) { left: 66.26cqw; } .pd-thumbs img:nth-child(4) { left: 75.99cqw; }
.pd-thumbs img:nth-child(5) { left: 85.72cqw; } .pd-thumbs img:nth-child(6) { left: 95.45cqw; } .pd-thumbs img:nth-child(7) { left: 105.18cqw; } .pd-thumbs img:nth-child(8) { left: 114.91cqw; }
.case-stage.fit .devices .pd-thumbs img:nth-child(1), .browser-body .pd-thumbs img:nth-child(1) { width: 9.73cqw; }

.pd-thumbs { top: 53.28cqw; }

/* desktop controls larger; phone chips smaller so three or four frame options fit */
.pd-grp { font-size: 1.45cqw; }
.pd-grp > span { padding: 1.1cqw 1.3cqw; gap: .6cqw; }
.pd-grp svg { width: 1.5cqw; height: 1.5cqw; }
.pd-grp .dot { width: 1.15cqw; height: 1.15cqw; }
.pd-tr > span { padding: 1.1cqw; }
.pi-opts { margin: -50px 8px 0; }
.pi-row { padding: 6px 6px; gap: 1px; }
.pi-row .lbl { font-size: 9px; margin: 0 4px 0 3px; }
.pi-chip { font-size: 9px; padding: 5px 6px; gap: 4px; }
.pi-chip i { width: 8px; height: 8px; }

/* thumbnails: corrected horizontal origin (photo starts 347px into the capture), thinner selection border */
.pd-thumbs img:nth-child(1) { left: 45.10cqw; } .pd-thumbs img:nth-child(2) { left: 54.99cqw; } .pd-thumbs img:nth-child(3) { left: 64.72cqw; } .pd-thumbs img:nth-child(4) { left: 74.45cqw; }
.pd-thumbs img:nth-child(5) { left: 84.18cqw; } .pd-thumbs img:nth-child(6) { left: 93.91cqw; } .pd-thumbs img:nth-child(7) { left: 103.64cqw; } .pd-thumbs img:nth-child(8) { left: 113.37cqw; }
.pd-thumbs img.on { outline-width: 2px; outline-offset: -2px; }

/* home card: photo trimmed above the baked strip, controls and thumbnails scaled up */
.shot.shot-desk .pd > img { height: 53.4cqw; object-fit: cover; object-position: top; }
.shot.shot-desk .pd-grp { font-size: 2.2cqw; border-radius: 4px; }
.shot.shot-desk .pd-grp > span { padding: 1.5cqw 1.8cqw; gap: .8cqw; }
.shot.shot-desk .pd-grp svg { width: 2.2cqw; height: 2.2cqw; }
.shot.shot-desk .pd-grp .dot { width: 1.6cqw; height: 1.6cqw; }
.shot.shot-desk .pd-tl, .shot.shot-desk .pd-tr { top: 2.4cqw; }
.shot.shot-desk .pd-tl { left: 2.4cqw; } .shot.shot-desk .pd-tr { right: 2.4cqw; }
.shot.shot-desk .pd-tr > span { padding: 1.5cqw; }
.shot.shot-desk .pd-bl, .shot.shot-desk .pd-br { bottom: 2.2cqw; }
.shot.shot-desk .pd-bl { left: 2.4cqw; } .shot.shot-desk .pd-br { right: 2.4cqw; }
.shot.shot-desk .pd-slider { right: 3.4cqw; top: 30%; height: 28%; width: .5cqw; }
.shot.shot-desk .pd-slider::after { width: 2.6cqw; height: 2.6cqw; }
.shot.shot-desk .pd-thumbs { top: 33.6cqw; height: 9.4cqw; }
.shot.shot-desk .pd-thumbs img, .shot.shot-desk .browser-body .pd-thumbs img { width: 12.4cqw; height: 100%; }
.shot.shot-desk .pd-thumbs img:nth-child(1) { left: 40cqw; width: 12.4cqw; } .shot.shot-desk .pd-thumbs img:nth-child(2) { left: 53.6cqw; } .shot.shot-desk .pd-thumbs img:nth-child(3) { left: 67.2cqw; } .shot.shot-desk .pd-thumbs img:nth-child(4) { left: 80.8cqw; }
.shot.shot-desk .pd-thumbs img:nth-child(5) { left: 94.4cqw; } .shot.shot-desk .pd-thumbs img:nth-child(6) { left: 108cqw; } .shot.shot-desk .pd-thumbs img:nth-child(7) { left: 121.6cqw; } .shot.shot-desk .pd-thumbs img:nth-child(8) { left: 135.2cqw; }

.shot.shot-desk .pd-br { display: none; }

/* ---------- merchant admin screens with a phone overlapping ---------- */
.shot.adminbox { height: auto; min-height: 0; padding: 28px 28px 48px; display: block; position: relative; }
.shot.adminbox::before { display: none; }
.adminbox .browser-frame { width: 100%; }
.adminbox.with-phone .browser-frame { width: 80%; }
.adminbox .browser-body { max-height: none; overflow: visible; }
.adminbox .browser-body.scroll { max-height: 560px; overflow-y: auto; overscroll-behavior: auto; }
.adminbox .browser-body img { width: 100%; height: auto; display: block; border: 0; border-radius: 0; box-shadow: none; }
.adminbox > .phone { position: absolute; right: 28px; bottom: 24px; width: 230px; z-index: 2; }
.adminbox > .phone .screen img { width: 100%; }
@media (max-width: 860px) { .adminbox.with-phone .browser-frame { width: 100%; } .adminbox > .phone { position: relative; right: auto; bottom: auto; margin: 16px 0 0 auto; width: 200px; } .shot.adminbox { padding: 14px; } }

/* AR camera screen */
.screen.ar { position: relative; aspect-ratio: 9 / 19.5; background: #000; color: #fff; font-family: var(--sans); }
.screen.ar > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ar-top { position: absolute; left: 10px; right: 10px; top: 46px; display: flex; align-items: center; justify-content: space-between; }
.ar-top .pi-ib { background: rgba(255,255,255,.92); }
.ar-chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 9px; border-radius: 4px; background: rgba(20,20,20,.62); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font-size: 10px; font-weight: 600; color: #fff; }
.ar-chip i { width: 7px; height: 7px; border-radius: 50%; background: #34c759; }
.ar-corners { position: absolute; left: 14%; right: 14%; top: 31%; height: 34%; }
.ar-corners i { position: absolute; width: 12px; height: 12px; border: 2px solid #fff; }
.ar-corners i:nth-child(1) { left: 0; top: 0; border-right: 0; border-bottom: 0; } .ar-corners i:nth-child(2) { right: 0; top: 0; border-left: 0; border-bottom: 0; }
.ar-corners i:nth-child(3) { left: 0; bottom: 0; border-right: 0; border-top: 0; } .ar-corners i:nth-child(4) { right: 0; bottom: 0; border-left: 0; border-top: 0; }
.ar-dim { position: absolute; left: 50%; top: 67%; transform: translateX(-50%); white-space: nowrap; }
.ar-bottom { position: absolute; left: 0; right: 0; bottom: 22px; display: flex; align-items: center; justify-content: center; gap: 22px; }
.ar-shutter { width: 54px; height: 54px; border-radius: 50%; border: 3px solid #fff; display: grid; place-items: center; }
.ar-shutter i { width: 42px; height: 42px; border-radius: 50%; background: #fff; }
.ar-home { position: absolute; left: 30%; right: 30%; bottom: 7px; height: 4px; border-radius: 999px; background: rgba(255,255,255,.75); }

/* every phone on the case page is the same size */
.devices > .phone, .adminbox > .phone { width: 240px; min-width: 0; max-width: none; }
@media (max-width: 860px) { .devices > .phone, .adminbox > .phone { width: 200px; } }

/* admin screen with a dialog card overlapping its corner */
.adminbox.with-card .browser-frame { width: 78%; }
.adminbox > .over-card { position: absolute; right: 28px; bottom: 24px; width: 48%; height: auto; z-index: 2; border-radius: 10px; border: 1px solid rgba(0,28,46,.12); box-shadow: 0 1px 2px rgba(0,28,46,.08), 0 40px 90px -30px rgba(0,40,120,.5); }
@media (max-width: 860px) { .adminbox.with-card .browser-frame { width: 100%; } .adminbox > .over-card { position: relative; right: auto; bottom: auto; width: 86%; margin: 16px 0 0 auto; } }

.shot.adminbox > img.over-card, .step .shot.adminbox > img.over-card { left: auto; top: auto; transform: none; right: 28px; bottom: 24px; width: 48%; max-width: none; }

/* admin boxes inside the left-right step: tighter padding, overlays scaled to the narrower column */
.step .shot.adminbox { padding: 20px 20px 36px; }
.adminbox.with-phone .browser-frame, .adminbox.with-card .browser-frame { width: 82%; }
.adminbox > .phone { right: 16px; bottom: 16px; }
.shot.adminbox > img.over-card, .step .shot.adminbox > img.over-card { right: 16px; bottom: 16px; width: 56%; }

.step .shot.adminbox.with-phone { min-height: 530px; }

/* home card: full-height photo, thumbnails back to product size over the baked strip, slightly smaller selects */
.shot.shot-desk .pd > img { height: auto; }
.shot.shot-desk .pd-thumbs { top: 53.28cqw; height: 6.95cqw; }
.shot.shot-desk .pd-thumbs img, .shot.shot-desk .browser-body .pd-thumbs img { width: 9.42cqw; }
.shot.shot-desk .pd-thumbs img:nth-child(1) { left: 45.10cqw; width: 9.73cqw; } .shot.shot-desk .pd-thumbs img:nth-child(2) { left: 54.99cqw; } .shot.shot-desk .pd-thumbs img:nth-child(3) { left: 64.72cqw; } .shot.shot-desk .pd-thumbs img:nth-child(4) { left: 74.45cqw; }
.shot.shot-desk .pd-thumbs img:nth-child(5) { left: 84.18cqw; } .shot.shot-desk .pd-thumbs img:nth-child(6) { left: 93.91cqw; } .shot.shot-desk .pd-thumbs img:nth-child(7) { left: 103.64cqw; } .shot.shot-desk .pd-thumbs img:nth-child(8) { left: 113.37cqw; }
.shot.shot-desk .pd-grp { font-size: 1.9cqw; }
.shot.shot-desk .pd-grp > span { padding: 1.2cqw 1.5cqw; }
.shot.shot-desk .pd-tr > span { padding: 1.2cqw; }
.shot.shot-desk .pd-bl { bottom: 1cqw; left: 2cqw; }

/* home card: thumbnails sit higher, clear of the selects (the photo no longer carries a baked strip) */
.shot.shot-desk .pd-thumbs { top: 44cqw; }

/* hero thumbnails were being reset to static by the devices rule */
.case-stage.fit .devices .pd-thumbs img { position: absolute; }

/* ---------- working frame selector: overlay over the baked frame, menu, phone chips ---------- */
.frame-ov { position: absolute; box-sizing: border-box; border-style: solid; border-color: transparent; pointer-events: none; z-index: 1; transition: border-color .18s; }
.frame-ov[data-frame="none"] { border-color: var(--wall); }
.frame-ov[data-frame="black"] { border-color: #141414; }
.frame-ov[data-frame="white"] { border-color: #f3f1ec; }
.frame-ov[data-frame="oak"] { border-color: #d7bb93; }
.frame-ov[data-frame="cherry"] { border-color: #b63a1f; }
.frame-ov[data-frame="gold"] { border-color: #e9bf1d; }
.frame-ov[data-frame="navy"] { border-color: #15316e; }
.pd .frame-ov { left: 43.17%; top: 28.13%; width: 16.6%; height: 19.1%; border-width: .56cqw; --wall: #d6d4cf; }
.screen.ar { container-type: inline-size; aspect-ratio: 8 / 17; }
.screen.ar .frame-ov { left: 16.9%; top: 35.7%; width: 66.9%; height: 24.2%; border-width: 2.25cqw; --wall: #d6d4cf; }
.pi-room { container-type: inline-size; }
.pi-room .frame-ov { left: 29.3%; top: 15.3%; width: 44.5%; height: 34.7%; border-width: 1.1cqw; --wall: #aeaba9; }
.frame-sel { cursor: pointer; user-select: none; }
.fdot.none { background: transparent !important; box-shadow: inset 0 0 0 1.5px #999; }
.frame-menu { position: absolute; left: 16cqw; bottom: 8.6cqw; display: none; align-items: center; gap: .4cqw; padding: .8cqw; border-radius: .6cqw; background: rgba(28,28,28,.9); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font-size: 1.35cqw; font-weight: 600; color: #fff; z-index: 5; white-space: nowrap; box-shadow: 0 .6cqw 2cqw rgba(0,0,0,.35); }
.frame-menu.open { display: flex; }
.frame-menu::after { content: ''; position: absolute; left: 3.6cqw; bottom: -.6cqw; border: .6cqw solid transparent; border-bottom: 0; border-top-color: rgba(28,28,28,.9); }
.fm-opt { display: inline-flex; align-items: center; gap: .7cqw; padding: .9cqw 1.3cqw; border-radius: .45cqw; cursor: pointer; }
.fm-opt i { width: 1.4cqw; height: 1.4cqw; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(255,255,255,.35); }
.fm-opt.on { background: #fff; color: #111; }
.shot.shot-desk .frame-menu { left: 14cqw; bottom: 9.6cqw; font-size: 1.9cqw; }
.pi-chip { cursor: pointer; }
.pi-chip i { border: 0; box-shadow: inset 0 0 0 1px rgba(255,255,255,.45); }
.pi-chip.on i { box-shadow: inset 0 0 0 1px rgba(0,0,0,.25); }

.shot.shot-desk .pd-thumbs { top: 50cqw; }

.frame-menu::after { left: 2.2cqw; }

/* "None": the ring takes on the wall's own gradient, grows to cover the baked drop shadow, and the print gets a small shadow of its own */
.frame-ov::after { content: ''; position: absolute; inset: 0; pointer-events: none; }
.frame-ov[data-frame="none"] { border-color: transparent; border-image: var(--wallgrad) 1; }
.frame-ov[data-frame="none"]::after { box-shadow: 0 .12cqw .6cqw rgba(0,0,0,.26); }
.pd .frame-ov { --wallgrad: linear-gradient(200deg, #c7c7be, #d8d6d1); }
.pd .frame-ov[data-frame="none"] { left: 43.0%; top: 27.9%; width: 17.45%; height: 20.5%; border-width: .7cqw 1.3cqw 1.4cqw .7cqw; }
.screen.ar .frame-ov { --wallgrad: linear-gradient(200deg, #c7c7be, #d8d6d1); }
.screen.ar .frame-ov[data-frame="none"] { left: 16.25%; top: 35.4%; width: 70.6%; height: 26%; border-width: 2.8cqw 5.3cqw 5.6cqw 2.8cqw; }
.screen.ar .frame-ov[data-frame="none"]::after { box-shadow: 0 .4cqw 1.6cqw rgba(0,0,0,.28); }
.pi-room .frame-ov { --wallgrad: linear-gradient(200deg, #726d68, #b9b6b4); }
.pi-room .frame-ov[data-frame="none"] { left: 28.75%; top: 14.7%; width: 46.1%; height: 36.4%; border-width: 1.5cqw 2.05cqw 2.2cqw 1.5cqw; }
.pi-room .frame-ov[data-frame="none"]::after { box-shadow: 0 .3cqw 1.2cqw rgba(0,0,0,.3); }

.pi-room .frame-ov[data-frame="none"] { left: 28.4%; top: 14.2%; width: 46.8%; height: 37.2%; border-width: 1.9cqw 2.4cqw 2.5cqw 1.9cqw; }

/* Complect: brighter purple glows */
.brand-complect { --glow-1: rgba(124,92,255,.40); --glow-2: rgba(172,140,255,.36); --glow-3: rgba(245,200,75,.16);
  --sky-a: rgba(124,92,255,.32); --sky-b: rgba(176,150,255,.34); --sky-c: rgba(245,200,75,.14); --sky-top: #f9f8ff; --sky-bottom: #efecfb; }

/* statue of liberty emoji beside NYC */
.hero h1 .liberty { display: inline-block; font-style: normal; font-family: 'Apple Color Emoji', 'Segoe UI Emoji', 'Noto Color Emoji', sans-serif; font-size: .78em; line-height: 1; vertical-align: -.04em; margin-left: .12em; letter-spacing: 0; }

/* ======================================================================
   Rarity storefront widgets (auctions, offers, drops)
   ====================================================================== */
.rw { background: #fff; color: #111827; border-radius: 12px; padding: 18px; font-family: var(--sans); font-size: 12.5px; line-height: 1.35; box-shadow: 0 1px 2px rgba(0,0,0,.05), 0 24px 60px -30px rgba(20,10,60,.45); text-align: left; }
.rw * { box-sizing: border-box; }
.rw .k { font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: #6b7280; font-weight: 600; }
.rw .mut { color: #6b7280; }
.rw .ttl { font-weight: 700; font-size: 16px; letter-spacing: -.01em; margin: 4px 0 10px; }
.rw .ttl.caps { text-transform: uppercase; letter-spacing: .06em; font-size: 18px; font-weight: 800; }
.rw .big { font-weight: 700; font-size: 26px; letter-spacing: -.02em; line-height: 1; margin: 4px 0 6px; }
.rw .serif, .rw.serif .big, .rw.serif .ttl { font-family: 'Lastik', Georgia, serif; font-weight: 400; letter-spacing: -.01em; }
.rw.serif .big { font-size: 34px; }
.rw .green { color: #15803d; font-weight: 600; }
.rw-btn { display: flex; align-items: center; justify-content: center; gap: 7px; padding: 11px 14px; border-radius: 999px; font-weight: 600; font-size: 13px; white-space: nowrap; }
.rw-btn.black { background: #111; color: #fff; }
.rw-btn.blue { background: #2563eb; color: #fff; }
.rw-btn.yellow { background: #ffd400; color: #111; }
.rw-btn.green { background: #65c466; color: #fff; border-radius: 8px; }
.rw-btn.ghost { border: 1px solid #d1d5db; background: #fff; color: #111; border-radius: 8px; padding: 9px 12px; }
.rw-btn svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.rw .in { flex: 1; padding: 10px 12px; border: 1px solid #d1d5db; border-radius: 8px; color: #9ca3af; font-size: 12.5px; background: #fff; }
.rw .row { display: flex; gap: 8px; align-items: center; }
.rw .trust { margin-top: 12px; padding-top: 12px; border-top: 1px solid #e5e7eb; display: grid; gap: 4px; font-size: 11.5px; }
.rw .trust .t { display: flex; align-items: center; gap: 6px; color: #111; }
.rw .trust .t i { width: 12px; height: 12px; border-radius: 50%; border: 1.5px solid #15803d; position: relative; }
.rw .trust .t i::after { content: ''; position: absolute; left: 3px; top: 1px; width: 3px; height: 5px; border: solid #15803d; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }
.rw .trust .mut { padding-left: 18px; }
.rw .trust .lnk { color: #374151; }
.rw .trust .lnk::before { content: '› '; color: #9ca3af; }
.rw-count { display: flex; gap: 10px; justify-content: center; padding: 12px; border-radius: 10px; background: #f3f4f6; margin: 8px 0; }
.rw-count div { text-align: center; }
.rw-count small { display: block; font-size: 9.5px; color: #6b7280; margin-bottom: 2px; }
.rw-count b { font-size: 24px; font-weight: 700; letter-spacing: -.02em; }
.rw-count .sep { font-size: 22px; font-weight: 600; color: #9ca3af; padding-top: 12px; }
.rw-tiles { display: flex; gap: 8px; margin: 8px 0 10px; }
.rw-tiles div { flex: 1; padding: 10px 6px; text-align: center; border: 1px solid #e5e7eb; border-radius: 8px; background: #f9fafb; }
.rw-tiles b { display: block; font-size: 22px; font-weight: 700; letter-spacing: -.02em; }
.rw-tiles small { font-size: 9.5px; letter-spacing: .1em; color: #6b7280; font-weight: 600; }
.rw-offer { text-align: center; }
.rw-offer .amt { display: flex; align-items: baseline; justify-content: center; gap: 10px; border-bottom: 2px solid #2563eb; margin: 6px 20px 12px; padding-bottom: 4px; }
.rw-offer .amt span { color: #9ca3af; font-size: 18px; }
.rw-offer .amt b { font-size: 40px; font-weight: 700; letter-spacing: -.03em; line-height: 1; }
.rw-pills { display: flex; gap: 6px; margin-bottom: 10px; }
.rw-pills span { flex: 1; padding: 8px 4px; border-radius: 999px; border: 1px solid #2563eb; color: #2563eb; font-weight: 600; font-size: 11.5px; text-align: center; }
.rw-pills span.on { background: #2563eb; color: #fff; }
.rw-offer .how { display: block; margin-top: 10px; font-size: 11.5px; text-decoration: underline; color: #111; }

/* asymmetrical widget grid in a cloud box */
.shot.rgrid { height: auto; min-height: 0; padding: 28px; display: grid; grid-template-columns: 1fr 1.3fr; gap: 18px; align-items: start; position: relative; overflow: hidden; }
.shot.rgrid::before { display: none; }
.shot.rgrid .col { display: grid; gap: 18px; }
.shot.rgrid .col.r { margin-top: -140px; }
.shot.rgrid .rw { position: relative; left: auto; top: auto; transform: none; width: auto; }
.shot.rgrid .rw.slim { width: 86%; }
.shot.rgrid::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 120px; background: linear-gradient(180deg, transparent, var(--sky-bottom)); pointer-events: none; z-index: 2; }
.step .shot.rwbox { height: auto; min-height: 0; padding: 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: start; }
.step .shot.rwbox::before { display: none; }
.step .shot.rwbox .rw { position: relative; left: auto; top: auto; transform: none; width: auto; }
.step .shot.rwbox .rw.lift { margin-top: 36px; }
@media (max-width: 860px) { .shot.rgrid, .step .shot.rwbox { grid-template-columns: 1fr; padding: 16px; } .shot.rgrid .col.r { margin-top: 0; } .shot.rgrid .rw.slim { width: 100%; } .step .shot.rwbox .rw.lift { margin-top: 0; } }
.shot.rgrid { grid-template-columns: 1fr 1.25fr; align-items: start; max-height: 760px; }
.shot.rgrid .col.r { margin-top: 90px; }
.shot.rgrid .col.r .rw.serif { padding: 24px; }

/* Rarity sections: the app's own purple (#a54bff, deep #2a0b6b) for clouds, glows and labels */
.brand-rarity { --brand: #7a2cff; --glow-1: rgba(165,75,255,.42); --glow-2: rgba(196,139,255,.38); --glow-3: rgba(122,44,255,.30);
  --sky-a: rgba(165,75,255,.34); --sky-b: rgba(196,139,255,.36); --sky-c: rgba(90,23,199,.28); --sky-top: #f7f2ff; --sky-bottom: #ece2ff; }
.brand-rarity .shot.rwbox, .brand-rarity .shot.rgrid { background: radial-gradient(80% 70% at 20% 20%, var(--sky-b) 0%, transparent 60%), radial-gradient(70% 60% at 85% 80%, var(--sky-c) 0%, transparent 65%), linear-gradient(180deg, var(--sky-top), var(--sky-bottom)); }
.brand-rarity .rw { box-shadow: 0 1px 2px rgba(0,0,0,.05), 0 24px 60px -30px rgba(42,11,107,.55); }

/* ---------- Rarity storefronts: a product page with the widget in place ---------- */
.step .shot.storebox { height: auto; min-height: 0; padding: 24px; display: block; }
.step .shot.storebox::before { display: none; }
.storebox .browser-frame { position: relative; left: auto; top: auto; transform: none; width: 100%; }
.sf { background: #fff; color: #111; font-family: var(--sans); font-size: 12px; text-align: left; }
.sf * { box-sizing: border-box; }
.sf-nav { display: flex; align-items: center; justify-content: space-between; padding: 14px 22px; border-bottom: 1px solid #ececec; font-size: 11.5px; color: #333; }
.sf-nav .links { display: flex; gap: 16px; }
.sf-nav .brand { font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: 12px; }
.sf-nav .ic { display: flex; gap: 12px; color: #555; }
.sf-nav .ic i { width: 14px; height: 14px; border: 1.5px solid currentColor; border-radius: 4px; display: inline-block; }
.sf-nav .ic i.round { border-radius: 50%; }
.sf-main { display: grid; grid-template-columns: 1.05fr 1fr; gap: 24px; padding: 22px 22px 26px; }
.sf-img { aspect-ratio: 4 / 4.6; background: #efede8; border-radius: 6px; display: grid; place-items: center; position: relative; overflow: hidden; }
.sf-img .print { width: 62%; aspect-ratio: 3 / 4; background: #fff; padding: 7%; box-shadow: 0 20px 40px -18px rgba(0,0,0,.45); border: 6px solid #111; }
.sf-img .print i { display: block; width: 100%; height: 100%; background: linear-gradient(160deg, #1f2b4d 0%, #4a6fa5 35%, #d9c7a0 70%, #b5563c 100%); }
.sf-img .thumbs { position: absolute; left: 12px; bottom: 12px; display: flex; gap: 6px; }
.sf-img .thumbs i { width: 34px; height: 34px; border-radius: 4px; background: #fff; border: 1px solid #ddd; }
.sf-img .thumbs i:first-child { border-color: #111; }
.sf-title { font-size: 22px; line-height: 1.1; margin: 2px 0 4px; letter-spacing: -.01em; }
.sf .vendor { font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: #777; }
.sf .price { font-size: 15px; margin: 8px 0 4px; }
.sf .meta { color: #666; font-size: 11.5px; margin-bottom: 12px; }
.sf .desc { color: #444; font-size: 11.5px; line-height: 1.5; margin-top: 12px; }
.sf .acc { margin-top: 10px; border-top: 1px solid #e6e6e6; }
.sf .acc div { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px solid #e6e6e6; font-size: 11.5px; }
.sf .acc div::after { content: '+'; color: #999; }
.sf .rw { box-shadow: none; border: 1px solid #e5e7eb; padding: 14px; margin-top: 10px; }
.sf .rw .ttl { font-size: 14px; }
.sf .rw.serif .big { font-size: 28px; }
.sf .badge-drop { display: inline-flex; align-items: center; gap: 6px; padding: 4px 8px; border-radius: 4px; background: #ffe74b; color: #111; font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 8px; }
.sf .badge-drop i { width: 6px; height: 6px; border-radius: 50%; background: #111; }
.sf .rw-tiles div { padding: 8px 4px; } .sf .rw-tiles b { font-size: 18px; }
/* gallery theme */
.sf.gallery { font-family: var(--sans); }
.sf.gallery .sf-title, .sf.gallery .price { font-family: 'Lastik', Georgia, serif; font-weight: 400; }
.sf.gallery .sf-title { font-size: 26px; }
.sf.gallery .sf-nav .brand { font-family: 'Lastik', Georgia, serif; letter-spacing: .02em; text-transform: none; font-size: 16px; }
/* comics theme */
.sf.comics { background: #fff; }
.sf.comics .sf-nav { background: #111; color: #fff; border-bottom: 0; }
.sf.comics .sf-nav .ic { color: #fff; }
.sf.comics .sf-img { background: #f3f0ff; }
.sf.comics .sf-img .print { border: 0; padding: 0; width: 54%; aspect-ratio: 2 / 3; background: #fff; box-shadow: 0 24px 40px -18px rgba(42,11,107,.5); }
.sf.comics .sf-img .print i { background: linear-gradient(180deg, #ffe74b 0 18%, #a54bff 18% 22%, #2a0b6b 22% 100%); position: relative; }
.sf.comics .sf-img .print i::after { content: 'NO. 1'; position: absolute; left: 10px; top: 4px; font-weight: 900; font-size: 11px; color: #111; letter-spacing: .08em; }
.sf.comics .sf-title { font-weight: 800; text-transform: uppercase; letter-spacing: .02em; font-size: 20px; }
.sf.comics .rw-btn.yellow { background: #ffe74b; }
.sf.comics .rw { border-color: #e5e7eb; }
.sf .add { display: flex; align-items: center; justify-content: center; padding: 10px; border: 1px solid #111; border-radius: 4px; font-weight: 600; font-size: 12px; margin-top: 10px; color: #111; }
.sf .add.dis { color: #999; border-color: #ddd; }
@media (max-width: 860px) { .sf-main { grid-template-columns: 1fr; } }

.sf.comics .sf-nav .brand { color: #ffe74b; }

/* prev/next cards show logos */
.case-nav .logo { height: 22px; }
.case-nav a:last-child { justify-items: end; }

/* widget grid, three staggered columns */
.shot.rgrid.rgrid3 { grid-template-columns: 1fr 1.15fr 1fr; gap: 18px; max-height: 820px; padding: 0 28px; }
.shot.rgrid.rgrid3 .col { display: grid; gap: 18px; align-content: start; }
.shot.rgrid.rgrid3 .col.c1 { margin-top: -60px; }
.shot.rgrid.rgrid3 .col.c2 { margin-top: 40px; }
.shot.rgrid.rgrid3 .col.c3 { margin-top: -20px; }
.shot.rgrid.rgrid3::after { height: 140px; }
.shot.rgrid.rgrid3::before { content: ''; display: block; position: absolute; left: 0; right: 0; top: 0; height: 80px; background: linear-gradient(180deg, var(--sky-top), transparent); z-index: 2; pointer-events: none; }
.badge-ed { display: inline-flex; align-items: center; gap: 6px; padding: 4px 8px; border-radius: 4px; background: #f0e9ff; color: #5a17c7; font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.ed-bar { height: 6px; border-radius: 999px; background: #eef0f3; overflow: hidden; margin-top: 10px; }
.ed-bar i { display: block; height: 100%; background: #a54bff; }
.offer-steps { display: flex; gap: 6px; margin-top: 12px; }
.offer-steps span { flex: 1; text-align: center; padding: 6px; border-radius: 6px; background: #f3f4f6; color: #6b7280; font-size: 11px; font-weight: 600; }
.offer-steps span.on { background: #2563eb; color: #fff; }
@media (max-width: 860px) { .shot.rgrid.rgrid3 { grid-template-columns: 1fr; } .shot.rgrid.rgrid3 .col { margin-top: 0 !important; } }

/* plain outlined Make an offer under the auction block */
.sf .offer-plain { margin-top: 10px; background: #fff; color: #111; border: 1.5px solid #111; border-radius: 999px; font-weight: 600; }

/* comics storefront: white, bold, matches the drop widget */
.sf.comics .sf-nav { background: #fff; color: #111; border-bottom: 1px solid #ececec; }
.sf.comics .sf-nav .ic { color: #333; }
.sf.comics .sf-nav .brand { color: #111; font-weight: 900; letter-spacing: .16em; }
.sf.comics .sf-img { background: #f3f4f6; }
.sf.comics .sf-img .print { box-shadow: 0 20px 40px -18px rgba(0,0,0,.45); }
.sf.comics .sf-img .print i { background: linear-gradient(180deg, #f3f4f6 0 16%, #111 16% 19%, #e5e7eb 19% 100%); }
.sf.comics .sf-img .print i::after { content: 'NO. 1'; color: #111; }
.sf.comics .sf-img .print i::before { content: ''; position: absolute; left: 12%; right: 12%; top: 30%; bottom: 14%; background: linear-gradient(160deg, #d1d5db, #9ca3af); border-radius: 2px; }
.sf.comics .badge-drop { background: #f3f4f6; color: #111; }
.sf.comics .sf-title { font-weight: 800; letter-spacing: .04em; }
.sf.comics .add { border-radius: 8px; }
.sf.comics .rw { border-radius: 12px; }

/* Reece's Rare Comics storefront */
.sf.reece .sf-nav { background: #1a1a1a; color: #fff; border-bottom: 3px solid #c9951e; }
.sf.reece .sf-nav .ic { color: #fff; }
.sf.reece .sf-nav .brand { display: grid; line-height: 1; color: #fff; font-weight: 800; letter-spacing: .02em; text-transform: uppercase; font-size: 15px; font-style: italic; }
.sf.reece .sf-nav .brand small { font-size: 7.5px; letter-spacing: .22em; font-style: normal; font-weight: 600; margin-top: 2px; }
.sf.reece .sf-nav .links { color: #fff; font-weight: 600; font-size: 11px; }
.sf.reece .sf-img { background: #fff; border: 1px solid #ececec; aspect-ratio: auto; align-self: start; padding: 10px; }
.sf.reece .sf-img img { width: 100%; height: auto; display: block; }
.sf.reece .sf-title { font-weight: 700; text-transform: uppercase; letter-spacing: .01em; font-size: 19px; line-height: 1.15; }
.sf.reece .price { font-size: 17px; font-weight: 600; }
.sf.reece .meta { line-height: 1.5; }
.sf.reece .badge-drop { background: #fff5d6; color: #7a5600; }
.sf.reece .add { border-radius: 4px; }
.sf.reece .rw { border-radius: 6px; }
.sf.reece .specs { margin-top: 12px; border-top: 1px solid #e6e6e6; font-size: 11.5px; }
.sf.reece .specs div { display: flex; justify-content: space-between; padding: 7px 0; border-bottom: 1px solid #ececec; }
.sf.reece .specs span { color: #666; }

/* acquisition write-up: text only, three columns */
.step.acq { gap: 36px; }
.acq-grid { display: grid; grid-template-columns: 1.1fr 1.1fr .8fr; gap: 40px; padding-top: 28px; border-top: 1px solid var(--line); }
.acq-h { font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 14px; }
.acq-list { margin: 0; padding: 0; list-style: none; counter-reset: acq; display: grid; gap: 14px; }
.acq-list li { display: grid; grid-template-columns: 22px 1fr; gap: 2px 10px; counter-increment: acq; }
.acq-list li::before { content: counter(acq, decimal-leading-zero); grid-row: 1 / 3; font-size: 11px; font-weight: 600; color: var(--brand); padding-top: 3px; letter-spacing: .04em; }
.acq-list b { font-size: 15px; font-weight: 600; letter-spacing: -.01em; color: var(--ink); }
.acq-list span { font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.acq-stats { display: grid; gap: 18px; }
.acq-stats div { display: grid; gap: 2px; }
.acq-stats b { font-family: var(--serif); font-weight: 400; font-size: 44px; letter-spacing: -.04em; line-height: 1; color: var(--ink); }
.acq-stats b i { font-style: normal; font-family: var(--sans); font-size: 20px; vertical-align: .55em; margin-left: 4px; color: var(--brand); }
.acq-stats span { font-size: 13px; color: var(--ink-3); }
@media (max-width: 860px) { .acq-grid { grid-template-columns: 1fr; gap: 28px; } .acq-stats { grid-template-columns: repeat(3, 1fr); } }

.steps > .part + .step.acq { border-top: 0; }

.acq-grid.two { grid-template-columns: 1fr 1fr; }
@media (max-width: 860px) { .acq-grid.two { grid-template-columns: 1fr; } }

/* ======================================================================
   FanDuel case study
   ====================================================================== */
.brand-fanduel { --brand: #1493ff; }
/* hero: four phones fanned */
.case-stage.fd { height: auto; padding: 40px 0 10px; overflow: visible; }
.case-stage.fd::after { display: none; }
.fd-fan { position: relative; width: min(1120px, 100% - 40px); margin: 0 auto; display: flex; justify-content: center; align-items: flex-end; gap: 0; }
.fd-fan .phone { position: relative; left: auto; top: auto; transform: none; width: 232px; flex: none; }
.fd-fan .phone:nth-child(1) { transform: translateY(44px) rotate(-3deg); margin-right: -26px; z-index: 1; }
.fd-fan .phone:nth-child(2) { transform: translateY(8px); z-index: 3; }
.fd-fan .phone:nth-child(3) { transform: translateY(8px); z-index: 3; margin-left: 12px; }
.fd-fan .phone:nth-child(4) { transform: translateY(44px) rotate(3deg); margin-left: -26px; z-index: 1; }
.fd-fan .phone .screen { aspect-ratio: 460 / 944; background: #0a1e3d; }
.fd-fan .phone .screen img, .case-stage.fit .fd-fan img { position: static; width: 100%; height: 100%; object-fit: cover; object-position: top; border: 0; border-radius: 0; box-shadow: none; transform: none; max-height: none; }
.fd-fan .phone::before { background: #0b0b0c; }
/* phone in a step */
.step .shot.fdbox { height: auto; min-height: 0; padding: 36px 28px 0; display: flex; justify-content: center; align-items: flex-end; gap: 22px; overflow: hidden; }
.step .shot.fdbox::before { display: none; }
.fdbox .phone { position: relative; left: auto; top: auto; transform: none; width: 240px; flex: none; margin-bottom: -60px; }
.fdbox .phone .screen { aspect-ratio: 460 / 944; background: #0a1e3d; }
.fdbox .phone .screen img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.fdbox.tall .phone { margin-bottom: 0; }
.fdbox .phone.back { width: 200px; margin-bottom: -120px; opacity: .92; }
/* text blocks */
.fd-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 40px; padding-top: 28px; border-top: 1px solid var(--line); }
.fd-grid.two { grid-template-columns: 1fr 1fr; }
.fd-h { font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 14px; }
.fd-p { font-size: 14.5px; line-height: 1.55; color: var(--ink-2); margin: 0; }
.fd-p b { color: var(--ink); font-weight: 600; }
.fd-quote { font-family: var(--serif); font-size: 22px; line-height: 1.25; letter-spacing: -.02em; color: var(--ink); margin: 0 0 10px; }
.fd-quote + .fd-p { font-size: 13px; color: var(--ink-3); }
.fd-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.fd-list li { display: grid; grid-template-columns: 22px 1fr; gap: 2px 10px; font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.fd-list li b { color: var(--ink); font-weight: 600; font-size: 15px; }
.fd-list li::before { content: counter(fd, decimal-leading-zero); counter-increment: fd; grid-row: 1 / 3; font-size: 11px; font-weight: 600; color: var(--brand); padding-top: 3px; }
.fd-list { counter-reset: fd; }
.fd-pills { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.fd-pills span { padding: 5px 10px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: 12px; color: var(--ink-2); }
/* IA + overlay map */
.shot.iabox { height: auto; min-height: 0; padding: 28px; background: #fff; border: 1px solid var(--line); }
.shot.iabox::before { display: none; }
.ia { display: grid; grid-template-columns: 1fr 24px 1.2fr 24px 1fr; gap: 16px; align-items: start; font-family: var(--sans); font-size: 12.5px; }
.ia-col { display: grid; gap: 10px; }
.ia-h { font-size: 10px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); padding-bottom: 6px; border-bottom: 1px solid var(--line); }
.ia-node { padding: 10px 12px; border: 1px solid #d5dbe3; border-radius: 8px; background: #fff; display: grid; gap: 3px; }
.ia-node b { font-size: 13px; color: var(--ink); }
.ia-node span { font-size: 11.5px; color: var(--ink-3); }
.ia-node.core { border-color: #1493ff; background: #f2f8ff; }
.ia-node.ov { border-style: dashed; }
.ia-node .tag-ov { justify-self: start; font-size: 9.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #1493ff; }
.ia-sub { margin-left: 14px; display: grid; gap: 6px; padding-left: 12px; border-left: 2px solid #e3e8ef; }
.ia-sub .ia-node { padding: 7px 10px; }
.ia-arrow { align-self: center; padding-top: 70px; color: #9aa7b4; font-size: 18px; text-align: center; }
.ia-flow { grid-column: 1 / -1; margin-top: 8px; padding-top: 16px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; font-size: 12.5px; color: var(--ink-2); }
.ia-flow .st { padding: 5px 10px; border-radius: 6px; background: #f2f5f9; color: var(--ink); font-weight: 500; }
.ia-flow .st.b { background: #1493ff; color: #fff; }
.ia-flow .ar { color: #9aa7b4; }
.ia-flow .lbl { width: 100%; font-size: 10px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
@media (max-width: 860px) {
  .fd-fan { flex-wrap: wrap; gap: 16px; } .fd-fan .phone { width: 44%; transform: none !important; margin: 0 !important; }
  .fd-grid, .fd-grid.two { grid-template-columns: 1fr; gap: 24px; }
  .ia { grid-template-columns: 1fr; } .ia-arrow { display: none; }
  .step .shot.fdbox { padding: 20px 12px 0; } .fdbox .phone { width: 200px; } .fdbox .phone.back { display: none; }
}

/* ---------- iOS status bar on every phone screen ---------- */
.phone .screen { position: relative; }
.ios-bar { position: absolute; left: 0; right: 0; top: 0; height: 44px; display: flex; align-items: center; justify-content: space-between; padding: 6px 26px 0 30px; font-family: -apple-system, 'SF Pro Text', 'Inter', sans-serif; font-size: 13.5px; font-weight: 600; color: #fff; z-index: 4; pointer-events: none; letter-spacing: -.01em; }
.ios-bar.dark { color: #111; }
.ios-bar .ios-ic { display: flex; align-items: center; gap: 5px; }
.ios-bar .sig { display: inline-flex; align-items: flex-end; gap: 1.5px; height: 10px; }
.ios-bar .sig::before, .ios-bar .sig::after { content: ''; display: block; width: 3px; background: currentColor; border-radius: 1px; height: 4px; box-shadow: 4.5px 2px 0 -0px currentColor; }
.ios-bar .sig::before { height: 4px; }
.ios-bar .sig::after { height: 8px; margin-left: 4.5px; box-shadow: 4.5px 0 0 0 currentColor, 9px 0 0 0 currentColor; opacity: .35; }
.ios-bar .wifi { width: 15px; height: 11px; background: currentColor; -webkit-mask: radial-gradient(circle at 50% 100%, #000 0 20%, transparent 21% 40%, #000 41% 60%, transparent 61% 80%, #000 81% 100%); mask: radial-gradient(circle at 50% 100%, #000 0 20%, transparent 21% 40%, #000 41% 60%, transparent 61% 80%, #000 81% 100%); clip-path: polygon(0 35%, 50% 100%, 100% 35%, 100% 0, 0 0); }
.ios-bar .bat { position: relative; width: 24px; height: 11px; border: 1.5px solid currentColor; border-radius: 3.5px; opacity: .95; }
.ios-bar .bat::before { content: ''; position: absolute; left: 1.5px; top: 1.5px; bottom: 1.5px; width: 68%; background: currentColor; border-radius: 1.5px; }
.ios-bar .bat::after { content: ''; position: absolute; right: -4px; top: 3px; width: 1.5px; height: 4px; background: currentColor; border-radius: 0 1px 1px 0; opacity: .5; }
/* FanDuel screenshots start at the app nav, so push them below the status bar */
.screen.fd { padding-top: 44px; background: #0a1e3d; }
.screen.fd img { height: calc(100% - 44px) !important; }
/* cleaner cell signal: four solid bars */
.ios-bar .sig { width: 17px; height: 11px; gap: 0; background: currentColor; -webkit-mask: linear-gradient(#000 0 0) 0 100% / 3px 4px no-repeat, linear-gradient(#000 0 0) 4.5px 100% / 3px 6px no-repeat, linear-gradient(#000 0 0) 9px 100% / 3px 8.5px no-repeat, linear-gradient(#000 0 0) 13.5px 100% / 3px 11px no-repeat; mask: linear-gradient(#000 0 0) 0 100% / 3px 4px no-repeat, linear-gradient(#000 0 0) 4.5px 100% / 3px 6px no-repeat, linear-gradient(#000 0 0) 9px 100% / 3px 8.5px no-repeat, linear-gradient(#000 0 0) 13.5px 100% / 3px 11px no-repeat; }
.ios-bar .sig::before, .ios-bar .sig::after { display: none; }

/* Track Live: the court and play card pop out of the phone */
.step .shot.fdbox.popbox { overflow: visible; position: relative; }
.popbox .phone { z-index: 1; }
.popbox .popout { position: absolute; left: 50%; top: 50%; width: 150%; max-width: 600px; height: auto; transform: translate(-50%, -22%); z-index: 3; pointer-events: none; filter: drop-shadow(0 30px 40px rgba(0,20,60,.45)) drop-shadow(0 2px 4px rgba(0,0,0,.2)); }
@media (max-width: 860px) { .popbox .popout { width: 120%; max-width: none; transform: translate(-50%, -20%); } }
.step .shot.fdbox.popbox { min-height: 600px; align-items: flex-start; padding-top: 32px; }
.popbox .phone { margin-bottom: 0; }
.popbox .popout { top: auto; bottom: 16px; width: 125%; max-width: 520px; transform: translateX(-50%); }
@media (max-width: 860px) { .step .shot.fdbox.popbox { min-height: 480px; } .popbox .popout { width: 112%; transform: translateX(-50%); } }

.popbox .popout { bottom: 96px; }
.step .shot.fdbox.popbox { min-height: 560px; }

/* ---------- iOS frame v2: real glyphs, nothing cropped ---------- */
.phone { border-radius: 44px; padding: 9px; background: #121214; box-shadow: inset 0 0 0 1.5px #3a3a3e, inset 0 0 0 3px #09090a, 0 1px 2px rgba(0,0,0,.25), 0 40px 90px -30px rgba(0,20,60,.55); }
.phone::before { top: 18px; width: 78px; height: 22px; }
.phone .screen { border-radius: 36px; }
.ios-bar { height: 46px; padding: 8px 24px 0 30px; font-size: 14px; }
.ios-bar .ios-ic { gap: 6px; }
.ios-bar svg { display: block; height: 12px; width: auto; }
.ios-bar .i-sig { height: 11px; } .ios-bar .i-wifi { height: 11.5px; } .ios-bar .i-bat { height: 12px; }
.ios-bar .sig, .ios-bar .wifi, .ios-bar .bat { display: none; }
/* FanDuel screenshots: full image under the status bar, never cropped */
.screen.fd { aspect-ratio: auto !important; padding-top: 46px; background: #072759 !important; }
.screen.fd img, .fd-fan .phone .screen.fd img, .fdbox .phone .screen.fd img { height: auto !important; object-fit: contain; }
/* pop-out: smaller, on the page and the home card */
.popbox .popout { width: 100%; max-width: 420px; bottom: 120px; }
.shot.shot-phone.popbox { overflow: visible; }
.shot.shot-phone.popbox > .phone { z-index: 1; }
.shot.shot-phone.popbox > .popout { position: absolute; left: 50%; bottom: 14%; width: 88%; max-width: 380px; height: auto; transform: translateX(-50%); z-index: 3; pointer-events: none; filter: drop-shadow(0 24px 34px rgba(0,20,60,.45)) drop-shadow(0 2px 4px rgba(0,0,0,.2)); }

.shot.shot-phone.popbox > .popout { bottom: -26%; width: 92%; }
.popbox .popout { bottom: 150px; }

/* two tags per project card */
.chips { display: inline-flex; gap: 8px; flex-wrap: wrap; }
.chip.plain { color: var(--ink-2); }
/* home card pop-out: sit over the phone's own court */
.shot.shot-phone.popbox > .popout { bottom: 2%; width: 86%; }

/* FanDuel home card: phone fully inside the box, bigger score digits over the screenshot */
.project.brand-fanduel .shot.shot-phone { height: 500px; }
.project.brand-fanduel .shot.shot-phone > .phone { width: 216px; top: 50%; transform: translate(-50%, -50%); }
.project.brand-fanduel .shot.shot-phone.popbox > .popout { width: 80%; max-width: 340px; bottom: 19%; }
.fd-score { position: absolute; top: 15.9%; width: 15%; height: 7.2%; display: grid; place-items: center; background: #052859; color: #fff; font-family: var(--sans); font-weight: 700; font-size: 1.42em; letter-spacing: -.02em; line-height: 1; z-index: 2; }
.fd-score.l { left: 19.5%; } .fd-score.r { left: 65.5%; }

.fd-score { top: 22.6%; height: 7%; }
.project.brand-fanduel .shot.shot-phone.popbox > .popout { bottom: 30%; }

.fd-score { top: 18.6%; height: 7.6%; }

.fd-score { top: 20%; height: 5.4%; font-size: 22px; overflow: visible; }

/* status bar: time and icons on one optical line, clear of the island */
.ios-bar { height: 46px; padding: 0 22px 0 30px; align-items: center; line-height: 1; }
.ios-bar > span:first-child { padding-top: 1px; }
.ios-bar .ios-ic { gap: 5px; padding-top: 1px; }
.ios-bar svg { height: 11px; }
.ios-bar .i-bat { height: 11.5px; }
.screen.fd.dark { background: #0b0b0b !important; }

/* status bar: time and icons on one optical line */
.ios-bar { height: 46px; padding: 0 22px 0 30px; align-items: center; line-height: 1; }
.ios-bar > span:first-child { padding-top: 1px; }
.ios-bar .ios-ic { gap: 5px; padding-top: 1px; }
.ios-bar svg { height: 11px; }
.ios-bar .i-bat { height: 11.5px; }
.screen.fd.dark { background: #0b0b0b !important; }

.popbox .popout { bottom: 178px; width: 104%; max-width: 440px; }
.project.brand-fanduel .shot.shot-phone.popbox > .popout { bottom: 32%; width: 84%; }

/* pop-out is a cutout, never a framed screenshot */
.shot > img.popout, .popbox > img.popout, .step .shot > img.popout, .shot.shot-phone.popbox > img.popout { border: 0 !important; border-radius: 0 !important; box-shadow: none !important; background: transparent !important; outline: 0; }

/* status bar and island scale with the screen, matching iOS proportions (393pt reference) */
.phone .screen { container-type: inline-size; }
.phone::before { width: 32%; height: 9.5%; max-height: 24px; top: 4.6%; }
.ios-bar { height: 12cqw; padding: 0 7.2cqw 0 9cqw; font-size: 4.3cqw; }
.ios-bar > span:first-child { padding-top: .3cqw; }
.ios-bar .ios-ic { gap: 1.6cqw; padding-top: .3cqw; }
.ios-bar svg, .ios-bar .i-sig, .ios-bar .i-wifi, .ios-bar .i-bat { height: 3.1cqw; width: auto; }
.ios-bar .i-bat { height: 3.3cqw; }
.screen.fd { padding-top: 12cqw; }
.screen.fd img { height: auto !important; }

/* island centred on the status row */
.phone::before { top: 11px; height: 22px; max-height: none; width: 32%; }
/* Track Live: bigger phone cropped by the box, smaller court */
.step .shot.fdbox.popbox { height: 560px; min-height: 0; overflow: hidden; padding-top: 44px; }
.popbox .phone { width: 300px; margin-bottom: -200px; }
.popbox .popout { width: 330px; max-width: 330px; bottom: 112px; }
.project.brand-fanduel .shot.shot-phone.popbox > .popout { width: 78%; bottom: 33%; }
/* cqw on the screen itself resolves to the viewport; push the image down from inside instead */
.screen.fd { padding-top: 0 !important; }
.screen.fd > img { margin-top: 12cqw; }
.popbox .popout { bottom: 134px; }

.fd-score { top: 16.9%; height: 5.6%; }
.project.brand-fanduel .shot.shot-phone.popbox > .popout { bottom: 36%; }

.project.brand-fanduel .shot.shot-phone.popbox > .popout { bottom: 31%; }
/* timeouts under the score digits */
.fd-score { height: 6.2%; }
.fd-to { position: absolute; top: 24.4%; width: 15%; display: flex; justify-content: center; gap: 1.5px; z-index: 2; }
.fd-to.l { left: 19.5%; } .fd-to.r { left: 65.5%; }
.fd-to i { width: 7px; height: 2.5px; background: #fff; border-radius: 1px; }

.fd-to { top: 23.2%; gap: 2px; }
.fd-to i { width: 6px; height: 2px; border-radius: 0; }
/* score and timeout overlays scale with the screen */
.fd-score { font-size: 11.2cqw; }
.fd-to { gap: 1cqw; }
.fd-to i { width: 3cqw; height: 1cqw; }

.fd-score { height: 7.6%; align-items: start; padding-top: .2cqw; }
.fd-to { top: 23.1%; z-index: 3; }

/* score digits: smaller, centred on the original, dashes tucked under */
.fd-score { font-size: 8.4cqw; align-items: center; padding-top: 0; height: 6.4%; top: 17.4%; letter-spacing: -.01em; }
.fd-to { top: 23.4%; }

/* FanDuel overlays use Proxima Nova when available, Inter otherwise */
.fd-score { font-family: "Proxima Nova", "proxima-nova", var(--sans); font-weight: 700; }

.fd-score { top: 16%; height: 7.4%; align-items: start; padding-top: .4cqw; }
.fd-to { top: 22.6%; }

.fd-to { top: 21.6%; }

.fd-score { top: 16.8%; }
.fd-to { top: 22.4%; }

/* FanDuel home card: same composition as the Track Live section */
.project.brand-fanduel .shot.shot-phone { height: 560px; overflow: hidden; }
.project.brand-fanduel .shot.shot-phone > .phone { width: 300px; top: 44px; transform: translateX(-50%); }
.project.brand-fanduel .shot.shot-phone.popbox > .popout { width: 330px; max-width: 330px; bottom: 134px; }
@media (max-width: 860px) { .project.brand-fanduel .shot.shot-phone { height: 460px; } .project.brand-fanduel .shot.shot-phone > .phone { width: 250px; top: 30px; } .project.brand-fanduel .shot.shot-phone.popbox > .popout { width: 280px; bottom: 110px; } }

/* home cards: screenshots that run off the box fade into the cloud instead of hitting the edge */
.shot.shot-bleed > img.bleed, .shot.shot-desk > .browser-frame {
  -webkit-mask-image: linear-gradient(to right, #000 62%, rgba(0,0,0,.35) 80%, transparent 96%), linear-gradient(to bottom, #000 66%, rgba(0,0,0,.35) 84%, transparent 98%);
          mask-image: linear-gradient(to right, #000 62%, rgba(0,0,0,.35) 80%, transparent 96%), linear-gradient(to bottom, #000 66%, rgba(0,0,0,.35) 84%, transparent 98%);
  -webkit-mask-composite: source-in; mask-composite: intersect;
}
.shot.shot-desk > .browser-frame { -webkit-mask-image: linear-gradient(to right, #000 64%, rgba(0,0,0,.35) 82%, transparent 97%); mask-image: linear-gradient(to right, #000 64%, rgba(0,0,0,.35) 82%, transparent 97%); }
/* FanDuel phone fades out at the bottom of the card and the Track Live box */
.project.brand-fanduel .shot.shot-phone > .phone, .step .shot.fdbox.popbox > .phone {
  -webkit-mask-image: linear-gradient(to bottom, #000 70%, rgba(0,0,0,.35) 86%, transparent 98%);
          mask-image: linear-gradient(to bottom, #000 70%, rgba(0,0,0,.35) 86%, transparent 98%);
}
/* fade stops measured against the part of the image that is actually visible */
.shot.shot-bleed > img.bleed {
  -webkit-mask-image: linear-gradient(to right, #000 30%, rgba(0,0,0,.4) 40%, transparent 48%), linear-gradient(to bottom, #000 50%, rgba(0,0,0,.4) 62%, transparent 70%);
          mask-image: linear-gradient(to right, #000 30%, rgba(0,0,0,.4) 40%, transparent 48%), linear-gradient(to bottom, #000 50%, rgba(0,0,0,.4) 62%, transparent 70%);
}
.shot.shot-desk > .browser-frame { -webkit-mask-image: linear-gradient(to right, #000 56%, rgba(0,0,0,.4) 68%, transparent 78%); mask-image: linear-gradient(to right, #000 56%, rgba(0,0,0,.4) 68%, transparent 78%); }
.project.brand-fanduel .shot.shot-phone > .phone, .step .shot.fdbox.popbox > .phone {
  -webkit-mask-image: linear-gradient(to bottom, #000 58%, rgba(0,0,0,.4) 71%, transparent 82%);
          mask-image: linear-gradient(to bottom, #000 58%, rgba(0,0,0,.4) 71%, transparent 82%);
}

/* subtle edge fade to white instead of masking into the clouds */
.shot.shot-bleed > img.bleed, .shot.shot-desk > .browser-frame, .project.brand-fanduel .shot.shot-phone > .phone, .step .shot.fdbox.popbox > .phone { -webkit-mask-image: none; mask-image: none; }
.shot.shot-bleed::after, .shot.shot-desk::after, .project.brand-fanduel .shot.shot-phone::after, .step .shot.fdbox.popbox::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 4; border-radius: inherit;
  background: linear-gradient(to right, transparent 82%, rgba(255,255,255,.9) 100%), linear-gradient(to bottom, transparent 82%, rgba(255,255,255,.9) 100%);
}
.shot.shot-desk::after { background: linear-gradient(to right, transparent 84%, rgba(255,255,255,.9) 100%); }
.project.brand-fanduel .shot.shot-phone::after, .step .shot.fdbox.popbox::after { background: linear-gradient(to bottom, transparent 82%, rgba(255,255,255,.92) 100%); }

img.headshot { object-fit: cover; font-size: 0; color: transparent; background: none; }

img.headshot { border-radius: 50%; width: 128px; height: 128px; border: 0; box-shadow: 0 1px 2px rgba(0,28,46,.08), 0 16px 40px -20px rgba(0,40,120,.35); }

.lnk-u { border-bottom: 1px solid rgba(0,28,46,.2); } .lnk-u:hover { color: var(--blue); border-color: var(--blue); }

/* headshot: gentle float, glow on hover */
.headshot-wrap { position: relative; display: inline-block; width: 128px; height: 128px; }
.headshot-wrap .headshot { position: relative; z-index: 1; animation: hs-float 6s ease-in-out infinite; transition: transform .4s ease; }
.headshot-glow { position: absolute; inset: -22%; border-radius: 50%; background: radial-gradient(circle, var(--glow-1) 0%, var(--glow-2) 40%, transparent 70%); filter: blur(14px); opacity: 0; transform: scale(.85); transition: opacity .45s ease, transform .45s ease; pointer-events: none; }
.headshot-wrap:hover .headshot-glow { opacity: 1; transform: scale(1); }
.headshot-wrap:hover .headshot { animation-play-state: paused; transform: translateY(-6px) scale(1.03); }
@keyframes hs-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
@media (prefers-reduced-motion: reduce) { .headshot-wrap .headshot { animation: none; } }

/* more air between the tag row and the logo on home cards */
.project-meta .chips { margin-bottom: 18px; }

/* offer widget: trust block centred like the rest of the widget */
.rw-offer .trust { justify-items: center; text-align: center; }
.rw-offer .trust .t { justify-content: center; }
.rw-offer .trust .mut { padding-left: 0; }
/* storefront drop: black notify button */
.sf .rw-btn.green { background: #111; color: #fff; }

.fd-score { top: 16.2%; }
.fd-to { top: 21.7%; }

/* ======================================================================
   Mobile pass
   ====================================================================== */
.cp-scroll { min-width: 0; }
@media (max-width: 860px) {
  /* nav: name stays on one line beside the resume button */
  .brand { white-space: nowrap; }
  .nav-actions .btn { padding: 9px 14px; font-size: 13px; }

  /* home cards: one column, words first, image underneath */
  .project { grid-template-columns: 1fr; padding: 24px 20px 20px; gap: 22px; align-items: start; }
  .project-meta { padding: 0; }
  .project .shot { height: 320px; }
  .project.brand-fanduel .shot.shot-phone { height: 420px; }
  .project.brand-fanduel .shot.shot-phone > .phone { width: 230px; top: 28px; }
  .project.brand-fanduel .shot.shot-phone.popbox > .popout { width: 92%; max-width: 280px; bottom: 112px; }
  .js .reveal { transition-duration: .45s; }

  /* rebuilt Complect app screens keep their desktop layout and scale down as a whole */
  .cp-body { grid-template-columns: 206px 1fr; } .cp-side { display: grid; }
  .cp-stats { grid-template-columns: repeat(3, 1fr); } .cp-grid { grid-template-columns: minmax(0, 1fr) 280px; } .cp-tasks { grid-template-columns: minmax(0, 1fr) 180px; }
  .cp-fb { grid-template-columns: 250px 1fr; } .cp-fb-side { display: block; } .cp-canvas { padding: 34px 48px; } .cp-sel { padding: 32px 36px; }
  .cp-inbox { grid-template-columns: 300px 1fr; } .cp-list { display: block; } .cp-top nav { display: flex; }
  .case-stage.fit { padding-left: 16px; padding-right: 16px; }
  .case-stage.fit > .cp-app { width: 100%; }
  .shot.appbox { padding: 16px; }
  .shot.appbox.clip { max-height: none; }

  /* the trade table scrolls sideways instead of being cut off */
  .cp-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0 -20px; padding: 0 20px 6px; }
  .cp-scroll > .cp-filters, .cp-scroll > .cp-tbl { min-width: 600px; }
  .shot.appbox > .cp-card { overflow: hidden; }

  /* browser chrome and storefront navs stay on one line */
  .browser-bar .url { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin: 0 12px; min-width: 0; }
  .sf-nav .links { display: none; }
}

/* ---------- performance: touch devices skip the costly effects ---------- */
@media (hover: none), (max-width: 860px) {
  .project { transform-style: flat; will-change: auto; transform: none !important; }
  .project .shot { transform: none; }
  .hero .glow i, .footer .glow i { animation: none; }
  .shot .glow i::before { filter: blur(28px); }
  .case-stage .glow i::before { filter: blur(36px); }
  /* project cards never wait on the scroll script */
  .js .project.reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- mobile image fixes ---------- */
@media (max-width: 860px) {
  /* screenshot boxes size to the image instead of letterboxing it */
  .step .shot.fit, .step .shot.fit.tall { height: auto; min-height: 0; padding: 20px 16px; }
  .step .shot.fit > img { position: relative; left: auto; top: auto; transform: none; width: 100%; height: auto; max-height: none; object-fit: fill; border-radius: 8px; }
  .step .shot.fit.tall > img { width: 74%; margin: 0 auto; display: block; }

  /* small phones: bezel, island, corners and status bar scale with the phone */
  .fd-fan .phone { padding: 5px; border-radius: 26px; }
  .fd-fan .phone .screen { border-radius: 21px; }
  .fd-fan .phone::before { top: 10px; height: 13px; width: 30%; }
  .fd-fan .phone .btn-l, .fd-fan .phone::after { display: none; }
  .fd-fan .ios-bar { padding: 0 7cqw 0 11cqw; }
}

/* glows are pre-softened gradients now, so no blur filters anywhere */
.glow i::before, .hero > .glow i::before, .shot .glow i::before, .case-stage .glow i::before, .footer .glow i::before { filter: none !important; }

/* Callio hero: the phone always layers above the desktop view */
.devices > .phone { z-index: 3; }
@media (max-width: 860px) {
  .devices { padding-bottom: 28px; }
  .devices .mac { width: 88%; }
  .devices > .phone, .devices > .phone.phone { width: 34%; min-width: 0; max-width: 140px; right: 0; bottom: 0; padding: 4px; border-radius: 20px; }
  .devices > .phone .screen { border-radius: 16px; }
  .devices > .phone::before { top: 7px; height: 10px; width: 30%; }
  .devices > .phone .btn-l, .devices > .phone::after { display: none; }
  .devices .ios-bar { padding: 0 7cqw 0 11cqw; }
}

/* AR camera screen: every control scales with the screen (222px reference) */
.screen.ar .ar-top { left: 4.5cqw; right: 4.5cqw; top: 20.5cqw; }
.screen.ar .pi-ib { width: 12.6cqw; height: 12.6cqw; border-radius: 1.8cqw; }
.screen.ar .pi-ib svg { width: 5.9cqw; height: 5.9cqw; }
.screen.ar .ar-chip { gap: 2.7cqw; padding: 2.7cqw 4cqw; border-radius: 1.8cqw; font-size: 4.5cqw; }
.screen.ar .ar-chip i { width: 3.2cqw; height: 3.2cqw; }
.screen.ar .ar-corners i { width: 5.4cqw; height: 5.4cqw; border-width: .9cqw; }
.screen.ar .ar-bottom { bottom: 9.9cqw; }
.screen.ar .ar-shutter { width: 24.3cqw; height: 24.3cqw; border-width: 1.35cqw; }
.screen.ar .ar-shutter i { width: 18.9cqw; height: 18.9cqw; }
.screen.ar .ar-home { bottom: 3.2cqw; height: 1.8cqw; }

/* ======================================================================
   Static UI screens shipped as images: fixed aspect ratio everywhere
   ====================================================================== */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
img.ui-shot { display: block; width: 100%; height: auto; max-width: none; border-radius: var(--r, 10px); box-shadow: 0 1px 2px rgba(0,28,46,.06), 0 30px 80px -30px rgba(0,40,120,.35); }
img.ui-shot.box { border-radius: 16px; box-shadow: none; }
.case-stage.fit > img.ui-shot { width: min(1120px, 100% - 40px); max-height: none; margin: 0 auto; border: 0; border-radius: var(--r, 10px); }
.shot.appbox > img.ui-shot, .step .shot.storebox > img.ui-shot { position: relative; left: auto; top: auto; transform: none; width: 100%; border: 0; border-radius: var(--r, 10px); }
.shot > img.ui-shot.float-snap { top: 50%; transform: translate(-50%, -50%); width: 360px; max-width: 86%; border: 0; border-radius: var(--r, 14px); box-shadow: 0 1px 2px rgba(0,28,46,.06), 0 30px 70px -30px rgba(0,40,120,.4); }
@media (max-width: 860px) {
  .case-stage.fit > img.ui-shot { width: calc(100% - 32px); }
  .shot.appbox.clip { max-height: 520px; }
}

@media (max-width: 860px) { .case-stage, .case-stage.fit { margin-top: 36px; padding-top: 16px; padding-bottom: 24px; } }

/* desktop view controls: corners scale with the window, so they stay 4px at full size and never turn into pills */
.pd-grp { border-radius: .45cqw; }
.shot.shot-desk .pd-grp { border-radius: .85cqw; }
.pd-thumbs img, .case-stage.fit .devices .pd-thumbs img, .browser-body .pd-thumbs img, .shot.shot-desk .browser-body .pd-thumbs img { border-radius: .45cqw; }
.shot.shot-desk .pd-thumbs img, .shot.shot-desk .browser-body .pd-thumbs img { border-radius: .85cqw; }

/* activation dialog: its corners are part of the image now (14px on 980px), so the frame follows them exactly */
.shot.adminbox > img.over-card, .step .shot.adminbox > img.over-card { border-radius: 1.43% / 1.86%; border: 0; background: transparent; }

/* mobile: a second screen sits below the first instead of overlapping it */
@media (max-width: 860px) {
  .step .shot.adminbox, .step .shot.adminbox.with-phone { min-height: 0; padding: 16px 16px 20px; }
  .adminbox.with-phone .browser-frame, .adminbox.with-card .browser-frame { width: 100%; }
  .shot.adminbox > .phone, .shot.adminbox > img.over-card, .step .shot.adminbox > img.over-card {
    position: relative !important; left: auto !important; right: auto !important; top: auto !important; bottom: auto !important;
    transform: none !important; display: block; margin: 20px auto 0 !important;
  }
  .shot.adminbox > .phone { width: 62%; max-width: 240px; }
  .shot.adminbox > img.over-card, .step .shot.adminbox > img.over-card { width: 92%; }
}
