/* Case-study intro (see CaseIntro.tsx). Brand colour from --cb / --cbd.
   :not(#\#) lifts these over each page's own scoped rules. */
.cio:not(#\#) {
  --ct: color-mix(in srgb, var(--cb) 9%, #fff);
  --cl: color-mix(in srgb, var(--cb) 18%, #fff);
  --ctx: #1a1420;
  padding: clamp(36px, 5vh, 56px) 0 clamp(24px, 3vh, 36px);
}
.cio .cio-h:not(#\#) { margin: 0 auto 36px; max-width: none; text-align: center; color: var(--ctx); }
.cio .cio-ac:not(#\#) { display: block; color: var(--cb); }
.cio .cio-grid:not(#\#) { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: stretch; }

.cio .cio-facts:not(#\#) { display: flex; flex-direction: column; justify-content: space-evenly; margin: 0; padding: 6px 24px; border: 1px solid var(--cl); border-radius: 24px; background: #fff; }
.cio .cio-facts > div:not(#\#) { display: grid; grid-template-columns: 36px 150px minmax(0, 1fr); gap: 14px; align-items: center; padding: 14px 0; border: 0; border-bottom: 1px solid var(--ct); background: none; border-radius: 0; box-shadow: none; }
.cio .cio-facts > div:last-child:not(#\#) { border-bottom: 0; }
.cio .cio-ic:not(#\#) { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 12px; background: var(--ct); color: var(--cb); }
.cio .cio-facts dt:not(#\#) { margin: 0; padding: 0; font-size: 11.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--cb); }
.cio .cio-facts dd:not(#\#) { margin: 0; font-size: 16px; font-weight: 600; line-height: 1.45; color: var(--ctx); }
.cio .cio-list:not(#\#) { display: flex; flex-wrap: wrap; gap: 4px 0; }
.cio .cio-list i:not(#\#) { font-style: normal; }
.cio .cio-list i:not(:last-child)::after { content: "·"; margin: 0 8px; color: var(--cb); opacity: 0.6; }

.cio .cio-mock:not(#\#) { position: relative; min-height: 520px; border-radius: 28px; background: linear-gradient(160deg, color-mix(in srgb, var(--cb) 4%, #fff), var(--ct)); overflow: hidden; }
.cio .cio-halo:not(#\#) { position: absolute; inset: 8% 6%; border-radius: 999px; background: radial-gradient(circle, color-mix(in srgb, var(--cb) 30%, transparent), transparent 65%); filter: blur(10px); }
.cio .cio-mock img:not(#\#) { display: block; max-width: none; }
.cio .cio-fl:not(#\#) { position: absolute; width: 36%; height: auto; border-radius: 16px; box-shadow: 0 28px 50px -24px rgba(20, 12, 28, 0.45); }
.cio .cio-fa:not(#\#) { left: 4%; top: 10%; transform: rotate(-8deg); }
.cio .cio-fc:not(#\#) { right: 4%; bottom: 6%; transform: rotate(7deg); }
.cio .cio-phone:not(#\#) { position: absolute; left: 50%; top: 50%; z-index: 2; width: 236px; padding: 8px; border-radius: 40px; transform: translate(-50%, -50%); background: linear-gradient(145deg, #26222b, #121015); box-shadow: 0 40px 70px -28px rgba(20, 12, 28, 0.6); }
.cio .cio-island:not(#\#) { position: absolute; top: 16px; left: 50%; z-index: 2; width: 70px; height: 20px; transform: translateX(-50%); border-radius: 99px; background: #0b0a0d; }
.cio .cio-screen:not(#\#) { overflow: hidden; border-radius: 32px; background: #fff; }
.cio .cio-head:not(#\#) { display: flex; align-items: center; gap: 8px; padding: 40px 12px 8px; font-size: 12px; color: #111; }
.cio .cio-head b:not(#\#) { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cio .cio-head i:not(#\#) { font-style: normal; }
.cio .cio-av:not(#\#) { flex: none; width: 26px; height: 26px; padding: 2px; border-radius: 99px; background: conic-gradient(#f58529, #dd2a7b, #8134af, #515bd4, #f58529); }
.cio .cio-av img:not(#\#), .cio .cio-av em:not(#\#) { display: grid; place-items: center; width: 100%; height: 100%; border-radius: 99px; border: 2px solid #fff; background: #fff; object-fit: contain; font-style: normal; font-size: 10px; font-weight: 700; color: var(--cb); box-sizing: border-box; }
.cio .cio-post:not(#\#) { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: center top; }
.cio .cio-cap:not(#\#) { padding: 10px 12px 18px; font-size: 11px; line-height: 1.45; color: #222; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.cio .cio-pill:not(#\#) { position: absolute; z-index: 3; padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, 0.94); border: 1px solid var(--cl); font-size: 12.5px; font-weight: 600; color: var(--cbd); box-shadow: 0 12px 24px -16px rgba(20, 12, 28, 0.4); white-space: nowrap; }
.cio .cio-pa:not(#\#) { left: 5%; bottom: 12%; }
.cio .cio-pb:not(#\#) { right: 5%; top: 8%; }

@media (max-width: 900px) {
  .cio .cio-grid:not(#\#) { grid-template-columns: minmax(0, 1fr); }
  .cio .cio-mock:not(#\#) { min-height: 440px; }
  .cio .cio-phone:not(#\#) { width: 196px; }
  .cio .cio-pill:not(#\#) { font-size: 11px; padding: 6px 10px; }
}
@media (max-width: 600px) {
  .cio .cio-h:not(#\#) { margin-bottom: 24px; }
  .cio .cio-facts:not(#\#) { padding: 4px 16px; }
  .cio .cio-facts > div:not(#\#) { grid-template-columns: 36px minmax(0, 1fr); gap: 4px 12px; }
  .cio .cio-ic:not(#\#) { grid-row: span 2; align-self: start; }
  .cio .cio-facts dd:not(#\#) { grid-column: 2; font-size: 15px; }
  .cio .cio-mock:not(#\#) { min-height: 400px; }
  .cio .cio-phone:not(#\#) { width: 176px; }
  .cio .cio-fl:not(#\#) { width: 38%; }
}

/* Step cards without images (icon + number, then text) - Glowlab's card layout. */
.x-tl.cst-row:not(#\#):not(#\#) { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; align-items: stretch; }
.x-tl.cst-row::before, .x-tl.cst-row::after { display: none !important; }
.cst:not(#\#):not(#\#) { display: flex; flex-direction: column; gap: 14px; padding: 26px 24px 28px; border: 1px solid color-mix(in srgb, var(--cb) 18%, #fff); border-radius: 22px; background: #fff; box-shadow: none; }
.cst .cst-top:not(#\#) { display: flex; align-items: center; justify-content: space-between; margin-bottom: 4px; }
.cst .cst-ic:not(#\#) { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 999px; background: color-mix(in srgb, var(--cb) 14%, #fff); color: var(--cb); }
.cst .cst-top i:not(#\#) { font-style: normal; font-size: 14px; font-weight: 700; letter-spacing: 0.04em; color: var(--cb); }
.cst h3:not(#\#):not(#\#) { margin: 0; font-size: 18px; font-weight: 700; line-height: 1.3; color: #1a1420; letter-spacing: 0; text-transform: none; }
.cst p:not(#\#):not(#\#) { margin: 0; font-size: 15px; line-height: 1.6; color: #4a4352; }
@media (max-width: 600px) { .x-tl.cst-row:not(#\#):not(#\#) { grid-template-columns: 1fr; } }

/* Same size as Glowlab's intro on every case study: 1152px wide, 520px tall, 62px heading. */
.cio:not(#\#):not(#\#) { box-sizing: border-box; width: 100%; max-width: 1152px; margin-left: auto; margin-right: auto; }
.cio .cio-h:not(#\#):not(#\#) { font-size: clamp(34px, 4.3vw, 62px); line-height: 1.04; }
.cio .cio-grid:not(#\#):not(#\#) { min-height: 520px; }
@media (max-width: 900px) { .cio .cio-grid:not(#\#):not(#\#) { min-height: 0; } }

/* ---- Instagram post inside the phone (every case study) ---- */
.cio .cio-mock:not(#\#) { min-height: 600px; }
.cio .cio-phone:not(#\#) { width: 240px; padding: 7px; border-radius: 40px; }
.cio .cio-screen:not(#\#) { border-radius: 33px; }
.cio .cio-island:not(#\#) { top: 14px; width: 66px; height: 19px; }
.cio .cio-status:not(#\#) { display: flex; align-items: center; justify-content: space-between; height: 34px; padding: 6px 20px 0 22px; font-size: 11px; color: #111; }
.cio .cio-status b:not(#\#) { font-weight: 600; }
.cio .cio-sig:not(#\#) { width: 34px; height: 9px; border-radius: 3px; background: linear-gradient(90deg, #111 0 55%, transparent 55% 62%, #111 62% 100%); opacity: 0.85; }
.cio .cio-head:not(#\#) { padding: 6px 10px 8px; gap: 8px; }
.cio .cio-who:not(#\#) { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.2; }
.cio .cio-who b:not(#\#) { font-size: 12px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cio .cio-who small:not(#\#) { font-size: 10px; color: #555; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cio .cio-head > i:not(#\#) { font-size: 11px; letter-spacing: 1px; }
.cio .cio-post:not(#\#) { aspect-ratio: 1 / 1; object-fit: cover; object-position: center top; background: #f3f3f3; }
.cio .cio-acts:not(#\#) { display: flex; align-items: center; gap: 12px; padding: 9px 10px 4px; color: #111; }
.cio .cio-acts svg:not(#\#) { display: block; width: 20px; height: 20px; }
.cio .cio-like:not(#\#) { color: #ed4956; }
.cio .cio-like svg:not(#\#) { fill: currentColor; }
.cio .cio-save:not(#\#) { margin-left: auto; }
.cio .cio-likes:not(#\#) { padding: 2px 10px 0; font-size: 11px; font-weight: 600; color: #111; }
.cio .cio-cap:not(#\#) { padding: 3px 10px 16px; font-size: 11px; -webkit-line-clamp: 2; }
.cio .cio-cap b:not(#\#) { font-weight: 600; }
@media (max-width: 900px) {
  .cio .cio-mock:not(#\#) { min-height: 520px; }
  .cio .cio-phone:not(#\#) { width: 210px; }
}
@media (max-width: 600px) {
  .cio .cio-mock:not(#\#) { min-height: 470px; }
  .cio .cio-phone:not(#\#) { width: 188px; }
  .cio .cio-acts:not(#\#) { gap: 10px; }
  .cio .cio-acts svg:not(#\#) { width: 17px; height: 17px; }
}

/* ---- Real phone proportions (about 9 : 19.5), Instagram app chrome ---- */
.cio .cio-mock:not(#\#) { min-height: 640px; }
.cio .cio-phone:not(#\#) { width: 262px; aspect-ratio: 9 / 19; display: flex; padding: 8px; border-radius: 44px; }
.cio .cio-screen:not(#\#) { flex: 1; display: flex; flex-direction: column; min-height: 0; border-radius: 36px; }
.cio .cio-island:not(#\#) { top: 17px; width: 76px; height: 22px; }
.cio .cio-status:not(#\#) { flex: none; height: 40px; padding: 10px 24px 0 26px; font-size: 12px; }
.cio .cio-app:not(#\#) { flex: none; display: flex; align-items: center; justify-content: space-between; padding: 6px 12px 8px; border-bottom: 1px solid #efefef; color: #111; }
.cio .cio-app b:not(#\#) { font-size: 17px; font-weight: 500; letter-spacing: -0.01em; }
.cio .cio-app span:not(#\#) { display: flex; gap: 12px; }
.cio .cio-head:not(#\#), .cio .cio-acts:not(#\#), .cio .cio-likes:not(#\#) { flex: none; }
.cio .cio-post:not(#\#) { flex: 0 1 auto; min-height: 0; }
.cio .cio-cap:not(#\#) { flex: none; padding-bottom: 8px; }
.cio .cio-nav:not(#\#) { margin-top: auto; flex: none; display: flex; align-items: center; justify-content: space-around; height: 46px; padding: 0 8px 6px; border-top: 1px solid #efefef; font-style: normal; font-size: 15px; color: #111; }
.cio .cio-nav i:not(#\#) { font-style: normal; line-height: 1; }
.cio .cio-me:not(#\#) { width: 20px; height: 20px; border-radius: 99px; background: var(--cb); }
@media (max-width: 900px) {
  .cio .cio-mock:not(#\#) { min-height: 560px; }
  .cio .cio-phone:not(#\#) { width: 230px; }
}
@media (max-width: 600px) {
  .cio .cio-mock:not(#\#) { min-height: 500px; }
  .cio .cio-phone:not(#\#) { width: 210px; border-radius: 38px; }
  .cio .cio-screen:not(#\#) { border-radius: 30px; }
  .cio .cio-app b:not(#\#) { font-size: 15px; }
}

/* ---- Same phone size as Glowlab's: 242 x 471, 9px bezel ---- */
.cio .cio-mock:not(#\#) { min-height: 580px; }
.cio .cio-phone:not(#\#) { box-sizing: border-box; width: 242px; height: auto; aspect-ratio: 242 / 471; padding: 9px; border-radius: 42px; }
.cio .cio-screen:not(#\#) { border-radius: 34px; }
.cio .cio-island:not(#\#) { top: 16px; width: 30%; height: 20px; }
.cio .cio-status:not(#\#) { height: 36px; padding: 12px 22px 0; font-size: 11.5px; }
.cio .cio-app:not(#\#) { padding: 5px 12px; }
.cio .cio-app b:not(#\#) { font-size: 15px; }
.cio .cio-app svg:not(#\#) { width: 16px; height: 16px; }
.cio .cio-head:not(#\#) { padding: 7px 10px; }
.cio .cio-post:not(#\#) { aspect-ratio: 4 / 5; }
.cio .cio-acts:not(#\#) { padding: 8px 10px 2px; }
.cio .cio-acts svg:not(#\#) { width: 17px; height: 17px; }
.cio .cio-cap:not(#\#) { padding: 1px 10px 4px; }
.cio .cio-nav:not(#\#) { height: auto; padding: 8px 6px 14px; }
.cio .cio-me:not(#\#) { width: 17px; height: 17px; }
@media (max-width: 900px) {
  .cio .cio-mock:not(#\#) { min-height: 560px; }
  .cio .cio-phone:not(#\#) { width: 242px; }
}
@media (max-width: 600px) {
  .cio .cio-mock:not(#\#) { min-height: 540px; }
  .cio .cio-phone:not(#\#) { width: 232px; border-radius: 40px; }
  .cio .cio-screen:not(#\#) { border-radius: 32px; }
  .cio .cio-app b:not(#\#) { font-size: 14px; }
}

/* ---- Banner variant: facts 30%, the case study's cover banner 70% ---- */
.cio .cio-grid.cio-grid--banner:not(#\#) { grid-template-columns: minmax(0, 3fr) minmax(0, 7fr); align-items: stretch; }
.cio .cio-banner:not(#\#) { position: relative; min-height: 100%; border-radius: 24px; overflow: hidden; background: var(--ct); }
.cio .cio-banner img:not(#\#) { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
/* In the narrow column each fact stacks: icon + label on one line, value under it. */
.cio .cio-grid--banner .cio-facts > div:not(#\#) { grid-template-columns: 36px minmax(0, 1fr); gap: 4px 12px; padding: 16px 0; }
.cio .cio-grid--banner .cio-ic:not(#\#) { grid-row: span 2; align-self: start; }
.cio .cio-grid--banner .cio-facts dd:not(#\#) { grid-column: 2; font-size: 15px; }
@media (max-width: 900px) {
  .cio .cio-grid.cio-grid--banner:not(#\#) { grid-template-columns: minmax(0, 1fr); }
  .cio .cio-banner:not(#\#) { min-height: 0; aspect-ratio: 2 / 1; }
}

/* ---- The phone mock-up on its own (e.g. in "At a Glance") ---- */
.cio.cio--solo:not(#\#) { padding: 0; width: 100%; }
.cio.cio--solo .cio-mock:not(#\#) { min-height: 560px; background: none; }
/* The banner keeps its own 2:1 shape (never cropped), centred beside the facts. */
.cio .cio-grid.cio-grid--banner:not(#\#) { align-items: center; }
.cio .cio-grid--banner .cio-banner:not(#\#) { min-height: 0; height: auto; aspect-ratio: 2 / 1; }
.cio .cio-grid--banner .cio-banner img:not(#\#) { object-fit: contain; }

/* Banner variant: the banner keeps its whole picture and sets the row height;
   the facts card fills exactly that height, its text set compact to fit. */
.cio .cio-grid.cio-grid--banner:not(#\#):not(#\#) { align-items: stretch; }
.cio .cio-grid--banner .cio-banner:not(#\#):not(#\#) { aspect-ratio: auto; height: auto; min-height: 0; align-self: center; }
.cio .cio-grid--banner .cio-banner img:not(#\#):not(#\#) { width: 100%; height: auto; object-fit: contain; }
.cio .cio-grid--banner .cio-facts:not(#\#):not(#\#) { height: 0; min-height: 100%; overflow: hidden; justify-content: space-evenly; padding: 2px 16px; }
.cio .cio-grid--banner .cio-facts > div:not(#\#):not(#\#) { grid-template-columns: 26px minmax(0, 1fr); gap: 0 10px; padding: 5px 0; }
.cio .cio-grid--banner .cio-ic:not(#\#):not(#\#) { width: 26px; height: 26px; }
.cio .cio-grid--banner .cio-ic svg:not(#\#) { width: 14px; height: 14px; }
.cio .cio-grid--banner .cio-facts dt:not(#\#):not(#\#) { font-size: 10px; }
.cio .cio-grid--banner .cio-facts dd:not(#\#):not(#\#) { font-size: 12.5px; line-height: 1.35; }
.cio .cio-grid--banner .cio-list i:not(:last-child)::after { margin: 0 5px; }
@media (max-width: 900px) {
  .cio .cio-grid--banner .cio-facts:not(#\#):not(#\#) { height: auto; min-height: 0; overflow: visible; }
}
.cio .cio-grid.cio-grid--banner:not(#\#):not(#\#):not(#\#) { min-height: 0; }

/* Every case study: a showcase box that holds a single image shows it full
   width at its own proportions - no padding, frame, crop or motion. */
:is(.x-stage, .x-web-stage, .x-lp-stage, .x-about-vis, .x-bro-main, .x-booth-stage, .x-sd-vis, .x-close, .x-hero-vis):has(> img:only-child):not(#\#):not(#\#):not(#\#) { padding: 0; display: block; height: auto; min-height: 0; aspect-ratio: auto; }
:is(.x-stage, .x-web-stage, .x-lp-stage, .x-about-vis, .x-bro-main, .x-booth-stage, .x-sd-vis, .x-close, .x-hero-vis):has(> img:only-child):not(#\#):not(#\#):not(#\#)::before { display: none; }
:is(.x-stage, .x-web-stage, .x-lp-stage, .x-about-vis, .x-bro-main, .x-booth-stage, .x-sd-vis, .x-close, .x-hero-vis) > img:only-child:not(#\#):not(#\#):not(#\#) { display: block; width: 100%; height: auto; max-width: none; max-height: none; object-fit: contain; filter: none; animation: none; transform: none; }
/* ...at the image's ORIGINAL pixel size (never upscaled, so it stays sharp),
   centred; the box keeps its own colour around it. */
:is(.x-stage, .x-web-stage, .x-lp-stage, .x-about-vis, .x-bro-main, .x-booth-stage, .x-sd-vis, .x-close, .x-hero-vis) > img:only-child:not(#\#):not(#\#):not(#\#):not(#\#) { width: 100%; max-width: none; height: auto; margin: 0; }
:is(.x-stage, .x-web-stage, .x-lp-stage, .x-about-vis, .x-bro-main, .x-booth-stage, .x-sd-vis, .x-close, .x-hero-vis):has(> img:only-child):not(#\#):not(#\#):not(#\#):not(#\#) { background: none; }
/* ...and never taller than one screen: the image scales down to fit the
   viewport height (under the sticky nav) with the whole picture visible. */
:is(.x-stage, .x-web-stage, .x-lp-stage, .x-about-vis, .x-bro-main, .x-booth-stage, .x-sd-vis, .x-close, .x-hero-vis) > img:only-child:not(#\#):not(#\#):not(#\#):not(#\#):not(#\#) { width: auto; max-width: 100%; max-height: calc(100vh - 200px); margin: 0 auto; border-radius: inherit; }

/* Every case study: tabbed image panels (website pages, audiences, booth
   details) - the image COVERS the whole panel; no padding or panel colour. */
:is(.x-wview, .x-aud-body, .x-bdetail) .x-img:not(#\#):not(#\#):not(#\#) { display: block; padding: 0; min-height: 0; height: auto; background: none; overflow: hidden; position: relative; }
:is(.x-wview, .x-aud-body, .x-bdetail) .x-img img:not(#\#):not(#\#):not(#\#) { display: block; width: 100%; height: 100%; max-height: none; object-fit: cover; border-radius: 0; box-shadow: none; filter: none; }
:is(.x-wview, .x-aud-body, .x-bdetail) .x-img:not(#\#):not(#\#):not(#\#):not(#\#) { aspect-ratio: 4 / 3; }
:is(.x-wview, .x-aud-body, .x-bdetail) .x-img img:not(#\#):not(#\#):not(#\#):not(#\#) { position: absolute; inset: 0; }

/* More single-image showcase boxes (Janyu Tech website, shots, groups):
   no backdrop colour or grid, image at its own proportions, within one screen. */
:is(.x-web-main, .x-shot, .x-grp-vis, .x-persp-in):has(> img:only-child):not(#\#):not(#\#):not(#\#):not(#\#) { padding: 0; display: block; height: auto; min-height: 0; aspect-ratio: auto; background: none; box-shadow: none; }
:is(.x-web-main, .x-shot, .x-grp-vis, .x-persp-in):has(> img:only-child):not(#\#):not(#\#):not(#\#):not(#\#)::before, :is(.x-web-main, .x-shot, .x-grp-vis, .x-persp-in):has(> img:only-child):not(#\#):not(#\#):not(#\#):not(#\#)::after { display: none; }
:is(.x-web-main, .x-shot, .x-grp-vis, .x-persp-in) > img:only-child:not(#\#):not(#\#):not(#\#):not(#\#):not(#\#) { display: block; width: auto; max-width: 100%; height: auto; max-height: calc(100vh - 200px); margin: 0 auto; object-fit: contain; filter: none; animation: none; transform: none; box-shadow: none; border-radius: 12px; }
/* Wide rectangle: full width, landscape, still within one screen. */
:is(.x-web-main, .x-shot, .x-grp-vis, .x-persp-in) > img:only-child:not(#\#):not(#\#):not(#\#):not(#\#):not(#\#):not(#\#) { width: 100%; aspect-ratio: 16 / 9; height: auto; max-height: calc(100vh - 200px); object-fit: cover; }
:is(.x-web-main, .x-shot, .x-grp-vis, .x-persp-in) > img:only-child:not(#\#):not(#\#):not(#\#):not(#\#):not(#\#):not(#\#):not(#\#) { aspect-ratio: 16 / 10; object-position: center; }

/* Project Information: the first post shown on its own, full width, no phone mock. */
.x-info-vis:has(> .x-info-img):not(#\#):not(#\#):not(#\#):not(#\#) { padding: 0; background: none; display: block; overflow: hidden; }
.x-info-img:not(#\#):not(#\#):not(#\#):not(#\#) { display: block; width: 100%; height: auto; border-radius: 16px; }

/* Phone = the Client Results handset: thin black bezel, titanium rim, side keys.
   The post shows whole at its own proportions (no crop). */
.cio .cio-phone:not(#\#):not(#\#) {
  aspect-ratio: auto; height: auto; padding: 5px; border-radius: 38px;
  background: #0d1117; overflow: visible;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.06), 0 40px 70px -28px rgba(20,12,28,.55);
}
.cio .cio-phone:not(#\#):not(#\#)::before {
  content: ""; position: absolute; inset: -4.5px; padding: 4.5px; border-radius: 42.5px; pointer-events: none;
  background: linear-gradient(135deg, #e3e9f1 0%, #9ba8b9 14%, #6f7c8e 30%, #b9c4d2 48%, #9ba8b9 62%, #5f6b7c 80%, #d4dce6 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); mask-composite: exclude;
}
.cio .cio-screen:not(#\#):not(#\#) { border-radius: 33px; }
.cio .cio-island:not(#\#):not(#\#) { top: 12px; }
.cio .cio-keys { position: absolute; width: 3px; border-radius: 2px; z-index: 1; }
.cio .cio-keys-l { left: -12px; top: 19%; height: 26px; background: linear-gradient(90deg, #c3cdd9, #9ba8b9 55%, #6f7c8e); box-shadow: 0 34px 0 0 #9ba8b9, 0 -42px 0 0 #9ba8b9; }
.cio .cio-keys-r { right: -12px; top: 26%; height: 44px; background: linear-gradient(270deg, #c3cdd9, #9ba8b9 55%, #6f7c8e); }
.cio .cio-post:not(#\#):not(#\#) { flex: none; width: 100%; height: auto; aspect-ratio: auto; object-fit: contain; display: block; }

/* Realistic proportions: a little wider, iPhone-like bezel, keys flush to the rim. */
.cio .cio-phone:not(#\#):not(#\#):not(#\#) { width: 290px; max-width: 100%; padding: 7px; border-radius: 46px; }
.cio .cio-phone:not(#\#):not(#\#):not(#\#)::before { inset: -3px; padding: 3px; border-radius: 49px; }
.cio .cio-screen:not(#\#):not(#\#):not(#\#) { border-radius: 39px; }
.cio .cio-island:not(#\#):not(#\#):not(#\#) { top: 15px; width: 84px; height: 24px; }
.cio .cio-keys-l:not(#\#) { left: -6px; top: 22%; height: 30px; box-shadow: 0 40px 0 0 #9ba8b9, 0 -44px 0 0 #9ba8b9; }
.cio .cio-keys-r:not(#\#) { right: -6px; top: 28%; height: 56px; }
@media (max-width: 640px) {
  .cio .cio-phone:not(#\#):not(#\#):not(#\#) { width: 262px; border-radius: 42px; }
  .cio .cio-screen:not(#\#):not(#\#):not(#\#) { border-radius: 35px; }
}

/* Social-media section phone: the Sugandhi Square handset on every case study.
   The old per-page phone frame is neutralised; only the shared phone shows. */
.x-phone.x-phone-real:not(#\#):not(#\#):not(#\#) {
  display: block; width: 300px; max-width: 100%; height: auto; aspect-ratio: auto; margin: 0 auto;
  padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; filter: none; overflow: visible;
}
.x-phone-real .cio-fl:not(#\#):not(#\#), .x-phone-real .cio-halo:not(#\#):not(#\#), .x-phone-real .cio-pill:not(#\#):not(#\#) { display: none; }
.x-phone-real .cio--solo:not(#\#):not(#\#), .x-phone-real .cio-mock:not(#\#):not(#\#):not(#\#) { display: block; width: 100%; min-height: 0; background: none; box-shadow: none; filter: none; overflow: visible; }
.x-phone-real .cio-phone:not(#\#):not(#\#):not(#\#):not(#\#) { position: relative; left: auto; top: auto; transform: none; margin: 0 auto; box-shadow: 0 18px 30px -18px rgba(20, 12, 28, 0.55); }
.x-phone-real img:not(#\#):not(#\#) { mix-blend-mode: normal; }
.x-phone-real .cio-cap:not(#\#):not(#\#):not(#\#):not(#\#) { display: block; white-space: nowrap; text-overflow: ellipsis; overflow: hidden; padding-bottom: 6px; }

/* Project Information image: fills its half of the card edge to edge; the
   card's own corners clip it, so every corner matches. */
.x-info:has(.x-info-img):not(#\#):not(#\#) { overflow: hidden; align-items: stretch; }
.x-info-vis:has(> .x-info-img):not(#\#):not(#\#):not(#\#):not(#\#):not(#\#) { position: relative; min-height: 420px; border-radius: 0; }
.x-info-img:not(#\#):not(#\#):not(#\#):not(#\#):not(#\#) { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; border-radius: 0; }
@media (max-width: 767px) {
  .x-info-vis:has(> .x-info-img):not(#\#):not(#\#):not(#\#):not(#\#):not(#\#) { position: static; min-height: 0; }
  .x-info-img:not(#\#):not(#\#):not(#\#):not(#\#):not(#\#) { position: static; height: auto; object-fit: contain; }
}

/* Project Information image is never cropped: it shows whole at full column
   width and sets the card's height; the card's corners still clip it. */
.x-info-vis:has(> .x-info-img):not(#\#):not(#\#):not(#\#):not(#\#):not(#\#):not(#\#) { position: static; min-height: 0; }
.x-info-img:not(#\#):not(#\#):not(#\#):not(#\#):not(#\#):not(#\#) { position: static; height: auto; object-fit: initial; }

/* Desktop: whole image, one screen tall, column as wide as the image needs. */
@media (min-width: 768px) {
  .x-info:has(.x-info-img):not(#\#):not(#\#):not(#\#) { grid-template-columns: auto minmax(0, 1fr); align-items: center; }
  .x-info-img:not(#\#):not(#\#):not(#\#):not(#\#):not(#\#):not(#\#):not(#\#) { width: auto; max-width: 55vw; height: min(calc(100vh - 170px), 720px); }
  .x-info-vis:has(> .x-info-img):not(#\#):not(#\#):not(#\#):not(#\#):not(#\#):not(#\#):not(#\#) { align-self: stretch; display: flex; align-items: center; }
}

/* Project Information with an image: no card box around it (the box showed
   empty bands whenever the text was taller than the image). The image stands
   on its own, whole, rounded, vertically centred beside the text. */
.x-info:has(.x-info-img):not(#\#):not(#\#):not(#\#):not(#\#) { background: none; border: 0; border-radius: 0; box-shadow: none; overflow: visible; column-gap: clamp(28px, 4vw, 64px); }
.x-info:has(.x-info-img) .x-info-d:not(#\#):not(#\#) { background: none; }
.x-info-vis:has(> .x-info-img):not(#\#):not(#\#):not(#\#):not(#\#):not(#\#):not(#\#):not(#\#):not(#\#) { background: none; padding: 0; overflow: visible; }
.x-info-img:not(#\#):not(#\#):not(#\#):not(#\#):not(#\#):not(#\#):not(#\#):not(#\#) { border-radius: 16px; box-shadow: 0 18px 40px -24px rgba(20, 20, 40, 0.35); }
@media (max-width: 767px) {
  .x-info:has(.x-info-img):not(#\#):not(#\#):not(#\#):not(#\#) { row-gap: 24px; }
  .x-info:has(.x-info-img) .x-info-d:not(#\#):not(#\#) { padding-left: 0; padding-right: 0; }
}

/* ===== Project Information image: FINAL rules (override everything above) =====
   Whole image, never cropped or stretched, at every screen size.
   Desktop (>=1024px): image and text side by side, image at most one screen tall.
   Below: stacked, image full width. */
.x-info:has(.x-info-img):not(#\#):not(#\#):not(#\#):not(#\#):not(#\#):not(#\#) {
  display: grid; grid-template-columns: minmax(0, 1fr); row-gap: 28px; align-items: center;
}
.x-info-vis:has(> .x-info-img):not(#\#):not(#\#):not(#\#):not(#\#):not(#\#):not(#\#):not(#\#):not(#\#):not(#\#) {
  position: static; display: flex; align-items: center; justify-content: center;
  width: auto; height: auto; min-height: 0; max-width: none; aspect-ratio: auto; padding: 0; margin: 0;
}
.x-info-img:not(#\#):not(#\#):not(#\#):not(#\#):not(#\#):not(#\#):not(#\#):not(#\#):not(#\#) {
  position: static; display: block; width: 100%; height: auto; max-width: 100%; max-height: none; min-height: 0;
  aspect-ratio: auto; object-fit: contain; object-position: center; margin: 0;
  border-radius: 0; box-shadow: none; transform: none; filter: none;
}
@media (min-width: 1024px) {
  .x-info:has(.x-info-img):not(#\#):not(#\#):not(#\#):not(#\#):not(#\#):not(#\#) {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: clamp(32px, 4vw, 64px);
  }
  .x-info-img:not(#\#):not(#\#):not(#\#):not(#\#):not(#\#):not(#\#):not(#\#):not(#\#):not(#\#) {
    max-height: min(calc(100vh - 170px), 720px);
  }
}
/* Every size: the image is never taller than one screen. */
.x-info-img:not(#\#):not(#\#):not(#\#):not(#\#):not(#\#):not(#\#):not(#\#):not(#\#):not(#\#):not(#\#) { max-height: min(calc(100vh - 170px), 720px); }
@media (max-width: 767px) {
  .x-info:has(.x-info-img) .x-info-d:not(#\#):not(#\#):not(#\#) { padding-left: 20px; padding-right: 20px; }
  .x-info-vis:has(> .x-info-img):not(#\#):not(#\#):not(#\#):not(#\#):not(#\#):not(#\#):not(#\#):not(#\#):not(#\#):not(#\#) { padding: 0 20px; }
}

/* Website showcase on Janyu Tech and Glowlab = the Sugandhi Square landing
   section: transparent mockup, whole, centred on the brand radial gradient
   (light centre, dark edges), up to one screen tall. */
.jcs .x-web-main:not(#\#):not(#\#):not(#\#):not(#\#):not(#\#):not(#\#),
.gcs .x-web-stage:not(#\#):not(#\#):not(#\#):not(#\#):not(#\#):not(#\#) {
  display: flex; align-items: center; justify-content: center; padding: 24px; border-radius: 16px; overflow: hidden;
  aspect-ratio: auto; height: auto; min-height: 0;
}
.jcs .x-web-main:not(#\#):not(#\#):not(#\#):not(#\#):not(#\#):not(#\#) { background: radial-gradient(ellipse at center, #1A66C2 0%, #124C93 100%); }
.gcs .x-web-stage:not(#\#):not(#\#):not(#\#):not(#\#):not(#\#):not(#\#) { background: radial-gradient(ellipse at center, #8C41B6 0%, #4A1F66 100%); }
.jcs .x-web-main > img:not(#\#):not(#\#):not(#\#):not(#\#):not(#\#):not(#\#):not(#\#):not(#\#):not(#\#):not(#\#),
.gcs .x-web-stage > img:not(#\#):not(#\#):not(#\#):not(#\#):not(#\#):not(#\#):not(#\#):not(#\#):not(#\#):not(#\#) {
  position: static; display: block; width: auto; max-width: 100%; height: min(calc(100vh - 150px), 860px); max-height: none;
  aspect-ratio: auto; object-fit: contain; margin: 0 auto; border-radius: 0; box-shadow: none; filter: none; transform: none; background: none;
}
@media (max-width: 767px) {
  .jcs .x-web-main:not(#\#):not(#\#):not(#\#):not(#\#):not(#\#):not(#\#),
  .gcs .x-web-stage:not(#\#):not(#\#):not(#\#):not(#\#):not(#\#):not(#\#) { padding: 12px; }
  .jcs .x-web-main > img:not(#\#):not(#\#):not(#\#):not(#\#):not(#\#):not(#\#):not(#\#):not(#\#):not(#\#):not(#\#),
  .gcs .x-web-stage > img:not(#\#):not(#\#):not(#\#):not(#\#):not(#\#):not(#\#):not(#\#):not(#\#):not(#\#):not(#\#) { width: 100%; height: auto; }
}
/* Size by width, capped at one screen tall: wide mockups fill the width,
   tall ones stop at the cap; object-fit keeps either whole. */
.jcs .x-web-main > img:not(#\#):not(#\#):not(#\#):not(#\#):not(#\#):not(#\#):not(#\#):not(#\#):not(#\#):not(#\#):not(#\#),
.gcs .x-web-stage > img:not(#\#):not(#\#):not(#\#):not(#\#):not(#\#):not(#\#):not(#\#):not(#\#):not(#\#):not(#\#):not(#\#) {
  width: 100%; height: auto; max-height: min(calc(100vh - 150px), 860px); object-fit: contain;
}

/* Case-study section pills (.x-index-in): centred when they fit, but start
   at the left edge when they overflow, so every pill can be scrolled to. */
.x-index-in:not(#\#):not(#\#):not(#\#):not(#\#):not(#\#) { justify-content: safe center; }
@media (max-width: 1023px) {
  .x-index-in:not(#\#):not(#\#):not(#\#):not(#\#):not(#\#) { justify-content: flex-start; }
}

/* Project Information on every case study: Balyaqua's card - image in a soft
   brand-tinted panel on the left, details table on the right; services as
   plain text (no chips). --pi-c is the page's brand colour. */
.gcs { --pi-c: #7A35A3; } .vfs { --pi-c: #A3405B; } .ghs { --pi-c: #C2410C; } .jcs { --pi-c: #1A66C2; }
.mos { --pi-c: #C2410C; } .mss { --pi-c: #003399; } .pes { --pi-c: #A8823F; } .sas { --pi-c: #7A1C2E; }
.scs { --pi-c: #7A0F23; } .srs2, .srs { --pi-c: #6B1F0E; } .tcs { --pi-c: #2E7D32; }
.x-info:not(#\#):not(#\#):not(#\#) {
  display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: 0; align-items: stretch;
  border: 1px solid color-mix(in srgb, var(--pi-c, #1557A6) 16%, #fff); border-radius: 32px; overflow: hidden; background: #fff;
}
.x-info .x-info-vis:not(#\#):not(#\#):not(#\#) {
  display: flex; align-items: center; justify-content: center; padding: 32px;
  background: color-mix(in srgb, var(--pi-c, #1557A6) 7%, #fff);
}
.x-info .x-info-img:not(#\#):not(#\#):not(#\#) { display: block; width: 100%; height: auto; max-height: 620px; object-fit: contain; border-radius: 14px; }
.x-info .x-info-d:not(#\#):not(#\#):not(#\#) { padding: 44px; }
.x-info .x-info-d dl:not(#\#):not(#\#) { margin: 0; }
.x-info .x-info-d dl > div:not(#\#):not(#\#):not(#\#) {
  display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 24px; padding: 16px 0;
  border: 0; border-top: 1px solid #EEF2F6;
}
.x-info .x-info-d dl > div:first-child:not(#\#):not(#\#):not(#\#) { border-top: 0; padding-top: 0; }
.x-info .x-info-d dt:not(#\#):not(#\#):not(#\#) { padding-top: 3px; font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--pi-c, #1557A6); }
.x-info .x-info-d dd:not(#\#):not(#\#):not(#\#) { margin: 0; font-size: 16px; font-weight: 600; line-height: 1.5; color: #0B2545; }
/* Services delivered: plain text, separated by commas. */
.x-info .x-info-d ul:not(#\#):not(#\#):not(#\#) { display: block; margin: 0; padding: 0; list-style: none; }
.x-info .x-info-d li:not(#\#):not(#\#):not(#\#) { display: inline; padding: 0; border: 0; background: none; border-radius: 0; font: inherit; }
.x-info .x-info-d li:not(:last-child)::after { content: ", "; }
@media (max-width: 900px) {
  .x-info:not(#\#):not(#\#):not(#\#) { grid-template-columns: minmax(0, 1fr); }
  .x-info .x-info-vis:not(#\#):not(#\#):not(#\#) { padding: 24px; }
  .x-info .x-info-d:not(#\#):not(#\#):not(#\#) { padding: 26px 20px; }
  .x-info .x-info-d dl > div:not(#\#):not(#\#):not(#\#) { grid-template-columns: minmax(0, 1fr); gap: 8px; }
}
/* Balyaqua card wins over the older "image without a box" rules above. */
.x-info .x-info-vis:has(> .x-info-img):not(#\#):not(#\#):not(#\#):not(#\#):not(#\#):not(#\#):not(#\#):not(#\#):not(#\#):not(#\#):not(#\#):not(#\#) { display: flex; align-items: center; justify-content: center; padding: 32px; background: color-mix(in srgb, var(--pi-c, #1557A6) 7%, #fff); overflow: hidden; min-height: 0; position: static; }
.x-info .x-info-vis > .x-info-img:not(#\#):not(#\#):not(#\#):not(#\#):not(#\#):not(#\#):not(#\#):not(#\#):not(#\#):not(#\#):not(#\#):not(#\#) { position: static; width: 100%; height: auto; max-height: 620px; object-fit: contain; border-radius: 14px; }
@media (max-width: 900px) { .x-info .x-info-vis:has(> .x-info-img):not(#\#):not(#\#):not(#\#):not(#\#):not(#\#):not(#\#):not(#\#):not(#\#):not(#\#):not(#\#):not(#\#):not(#\#) { padding: 20px; } }
/* Janyu Tech lists its services as spans. */
.x-info .x-svc:not(#\#):not(#\#):not(#\#):not(#\#):not(#\#):not(#\#):not(#\#):not(#\#):not(#\#):not(#\#):not(#\#):not(#\#) { display: block; }
.x-info .x-svc > span:not(#\#):not(#\#):not(#\#):not(#\#):not(#\#):not(#\#):not(#\#):not(#\#):not(#\#):not(#\#):not(#\#):not(#\#) { display: inline; padding: 0; border: 0; background: none; border-radius: 0; font: inherit; color: inherit; }
.x-info .x-svc > span:not(:last-child)::after { content: ", "; }

/* Project Information on every case study, as on Teena's: one bordered card,
   a single photo covering the left half edge to edge, the details on the right. */
body .x-info:not(#\#) { display: grid !important; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr) !important; gap: 0 !important; align-items: stretch !important; border: 1px solid #E6E8EC !important; border-radius: 32px !important; overflow: hidden !important; background: #fff !important; }
body .x-info:not(#\#) .x-info-vis { position: relative !important; display: block !important; padding: 0 !important; background: none !important; min-height: 460px !important; border-radius: 0 !important; overflow: hidden !important; }
body .x-info:not(#\#) .x-info-vis > :not(:first-child) { display: none !important; }
body .x-info:not(#\#) .x-info-vis > :first-child,
body .x-info:not(#\#) .x-info-vis > :first-child img { position: absolute !important; inset: 0 !important; width: 100% !important; height: 100% !important; max-width: none !important; max-height: none !important; margin: 0 !important; object-fit: cover !important; object-position: center !important; border-radius: 0 !important; box-shadow: none !important; filter: none !important; transform: none !important; }
body .x-info:not(#\#) .x-info-d { padding: 44px !important; }
@media (max-width: 860px) {
  body .x-info:not(#\#) { grid-template-columns: minmax(0, 1fr) !important; }
  body .x-info:not(#\#) .x-info-vis { min-height: 0 !important; aspect-ratio: 1 / 1 !important; }
  body .x-info:not(#\#) .x-info-d { padding: 28px 20px !important; }
}

/* The phone must never be taller than its box (it was clipped top and bottom on
   some pages): the box grows to the phone plus breathing room. */
.cio .cio-mock:not(#\#):not(#\#):not(#\#):not(#\#) { min-height: max(var(--cio-min, 0px), 640px); }
@media (max-width: 1100px) { .cio .cio-mock:not(#\#):not(#\#):not(#\#):not(#\#) { min-height: 580px; } }
@media (max-width: 640px) { .cio .cio-mock:not(#\#):not(#\#):not(#\#):not(#\#) { min-height: 520px; } }
