/* ==========================================================================
   Digimart — Site layout & motion (Step 2/3)
   Header + mega-menu + mobile drawer, hero, homepage sections, footer, and
   scroll-reveal / counter animations. All scoped under .ds, tokens only.
   ========================================================================== */

/* ---------- Scroll reveal (respects reduced-motion via base.css) ---------- */
.ds .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s var(--ease-emphasized), transform 0.6s var(--ease-emphasized);
  will-change: opacity, transform;
}
.ds .reveal.is-visible { opacity: 1; transform: none; }
.ds .reveal-delay-1 { transition-delay: 80ms; }
.ds .reveal-delay-2 { transition-delay: 160ms; }
.ds .reveal-delay-3 { transition-delay: 240ms; }
@media (prefers-reduced-motion: reduce) {
  .ds .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Brand logo (theme-aware: white "MART" on dark, dark "MART" on light) ---------- */
.ds { --brand-logo: url("../img/digimart-logo-clean.png"); }
[data-theme="light"] .ds { --brand-logo: url("../img/digimart-logo-clean-light.png"); }
.ds .brand-logo {
  display: block; height: 32px; aspect-ratio: 1885 / 487;
  background: var(--brand-logo) left center / contain no-repeat;
}

/* ---------- Header ---------- */
.ds .site-header .brand { display: inline-flex; align-items: center; gap: var(--space-2); }
.ds .site-header .brand .brand-logo { height: 32px; }
.ds .site-header.is-scrolled {
  background: color-mix(in srgb, var(--bg-base) 92%, transparent);
  box-shadow: var(--elevation-2);
}
.ds .header-inner {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  height: 68px;
}
.ds .header-cta { margin-left: auto; display: flex; align-items: center; gap: var(--space-3); }

.ds .primary-nav { display: none; }
@media (min-width: 992px) {
  .ds .primary-nav { display: flex; align-items: center; gap: var(--space-2); margin-left: var(--space-4); }
  .ds .header-cta { margin-left: 0; }
}

.ds .nav-item { position: relative; }
.ds .nav-trigger {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  background: none;
  border: 0;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: var(--text-body-sm);
  font-weight: var(--weight-medium);
  color: var(--text-secondary);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-sm);
  transition: color var(--duration-base) var(--ease-standard), background var(--duration-base) var(--ease-standard);
}
.ds .nav-trigger:hover,
.ds .nav-item[aria-expanded="true"] .nav-trigger,
.ds .nav-trigger[aria-current="page"] { color: var(--text-primary); }
.ds .nav-trigger .chev { transition: transform var(--duration-base) var(--ease-standard); }
.ds .nav-item.open .nav-trigger .chev { transform: rotate(180deg); }

/* ---------- Mega-menu ---------- */
.ds .mega {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  width: min(760px, 92vw);
  background: var(--bg-elevated);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-xl);
  box-shadow: var(--elevation-3);
  padding: var(--space-6);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--duration-base) var(--ease-standard), transform var(--duration-base) var(--ease-standard), visibility var(--duration-base);
  z-index: 200;
}
.ds .nav-item.open .mega {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.ds .mega-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6); }
.ds .mega-col-title {
  font-size: var(--text-caption);
  font-weight: var(--weight-semibold);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-3);
}
.ds .mega-link {
  display: block;
  color: var(--text-secondary);
  font-size: var(--text-body-sm);
  padding: var(--space-2) 0;
  transition: color var(--duration-fast) var(--ease-standard);
}
.ds .mega-link:hover { color: var(--text-primary); }
.ds .mega-featured {
  margin-top: var(--space-4);
  padding-top: var(--space-4);
  border-top: 1px solid var(--border-subtle);
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-4);
}

/* Simple dropdown (Services/Resources) */
.ds .dropdown {
  position: absolute; top: calc(100% + 10px); left: 0;
  min-width: 240px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  box-shadow: var(--elevation-3);
  padding: var(--space-3);
  opacity: 0; visibility: hidden; pointer-events: none;
  transform: translateY(8px);
  transition: opacity var(--duration-base) var(--ease-standard), transform var(--duration-base) var(--ease-standard), visibility var(--duration-base);
  z-index: 200;
}
.ds .nav-item.open .dropdown { opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0); }
.ds .dropdown-columns { columns: 2; column-gap: var(--space-4); }

/* ---------- Mobile drawer ---------- */
.ds .menu-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  background: var(--bg-surface); border: 1px solid var(--border-default);
  border-radius: var(--radius-md); color: var(--text-primary); cursor: pointer;
}
@media (min-width: 992px) { .ds .menu-btn { display: none; } }

.ds .drawer-scrim {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.5);
  opacity: 0; visibility: hidden;
  transition: opacity var(--duration-slow) var(--ease-standard), visibility var(--duration-slow);
  z-index: 400;
}
.ds .drawer-scrim.open { opacity: 1; visibility: visible; }
.ds .drawer {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: min(360px, 88vw);
  background: var(--bg-surface);
  border-left: 1px solid var(--border-default);
  transform: translateX(100%);
  transition: transform var(--duration-slow) var(--ease-emphasized);
  z-index: 500;
  display: flex; flex-direction: column;
  padding: var(--space-5);
  overflow-y: auto;
}
.ds .drawer.open { transform: none; }
.ds .drawer-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--space-4); }
.ds .drawer-close {
  width: 40px; height: 40px; border-radius: var(--radius-md);
  background: none; border: 1px solid var(--border-default); color: var(--text-primary); cursor: pointer;
}
.ds .drawer-group { border-top: 1px solid var(--border-subtle); padding: var(--space-3) 0; }
.ds .drawer-group > a,
.ds .drawer-acc-btn {
  display: flex; align-items: center; justify-content: space-between; width: 100%;
  background: none; border: 0; cursor: pointer;
  font-family: var(--font-sans); font-size: var(--text-body); font-weight: var(--weight-medium);
  color: var(--text-primary); padding: var(--space-2) 0; text-align: left;
}
.ds .drawer-acc-panel { display: none; padding: var(--space-2) 0 var(--space-2) var(--space-3); }
.ds .drawer-acc-panel.open { display: block; }
.ds .drawer-acc-panel a { display: block; color: var(--text-secondary); font-size: var(--text-body-sm); padding: var(--space-2) 0; }
.ds .drawer-cta { margin-top: auto; padding-top: var(--space-5); }
.ds .drawer-cta .btn { width: 100%; }

/* ---------- Hero ---------- */
.ds .hero { position: relative; overflow: hidden; padding-block: var(--space-20) var(--space-16); }
.ds .hero-inner { position: relative; }
.ds .hero h1 { margin-block: var(--space-5); }
.ds .hero-cta { margin-top: var(--space-8); gap: var(--space-4); }
.ds .eyebrow {
  display: inline-flex; align-items: center; gap: var(--space-2);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  border: 1px solid var(--accent-subtle-border);
  background: var(--accent-subtle-bg);
  color: var(--accent);
  font-size: var(--text-caption); font-weight: var(--weight-semibold);
  letter-spacing: 0.02em;
}

/* ---------- Trust bar ---------- */
.ds .trust { padding-block: var(--space-10); border-block: 1px solid var(--border-subtle); }
.ds .trust-label {
  display: flex; align-items: center; justify-content: center; gap: var(--space-3);
  text-align: center; color: var(--text-secondary);
  font-size: var(--text-body-sm); font-weight: var(--weight-semibold);
  letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: var(--space-6);
}
.ds .trust-label::before,
.ds .trust-label::after {
  content: ""; height: 1px; width: 40px;
  background: linear-gradient(90deg, transparent, var(--border-strong));
}
.ds .trust-label::after { background: linear-gradient(90deg, var(--border-strong), transparent); }
.ds .trust-logos { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: var(--space-8); }
.ds .trust-logos span { color: var(--text-secondary); font-weight: var(--weight-semibold); font-size: var(--text-body-lg); opacity: 0.7; transition: opacity var(--duration-base) var(--ease-standard); }
.ds .trust-logos span:hover { opacity: 1; }

/* ---------- Section header ---------- */
.ds .section-head { max-width: 640px; margin-bottom: var(--space-12); }
.ds .section-head.center { margin-inline: auto; text-align: center; }
.ds .section-head .overline { display: block; margin-bottom: var(--space-3); }

/* ---------- Featured case study ---------- */
.ds .feature-case {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: var(--space-10);
  align-items: center;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-2xl);
  padding: var(--space-10);
}
@media (max-width: 900px) { .ds .feature-case { grid-template-columns: 1fr; padding: var(--space-6); } }
.ds .feature-media { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border-subtle); }
.ds .metric-row { display: flex; gap: var(--space-8); flex-wrap: wrap; }

/* ---------- Process steps ---------- */
.ds .steps { counter-reset: step; }
.ds .step { position: relative; padding-left: var(--space-10); }
.ds .step::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 0; top: 0;
  width: 32px; height: 32px; border-radius: var(--radius-full);
  display: grid; place-items: center;
  background: var(--accent-subtle-bg); color: var(--accent);
  font-weight: var(--weight-semibold); font-size: var(--text-body-sm);
  border: 1px solid var(--accent-subtle-border);
}

/* ---------- AI band ---------- */
.ds .ai-band {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-2xl);
  padding: var(--space-12);
}

/* ---------- CTA band ---------- */
.ds .cta-band { text-align: center; }
.ds .cta-band .container { max-width: 720px; }

/* ---------- Footer columns ---------- */
.ds .footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: var(--space-8); }
@media (max-width: 900px) { .ds .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .ds .footer-grid { grid-template-columns: 1fr; } }
.ds .footer-col-title { font-size: var(--text-caption); font-weight: var(--weight-semibold); letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-tertiary); margin-bottom: var(--space-4); }
.ds .footer-link { display: block; color: var(--text-secondary); font-size: var(--text-body-sm); padding: var(--space-1) 0; }
.ds .footer-link:hover { color: var(--text-primary); }
.ds .footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); flex-wrap: wrap; margin-top: var(--space-12); padding-top: var(--space-6); border-top: 1px solid var(--border-subtle); }
.ds .social-row { display: flex; gap: var(--space-3); }
.ds .social-btn {
  width: 40px; height: 40px; border-radius: var(--radius-md);
  display: grid; place-items: center;
  background: var(--bg-surface);
  border: 1px solid var(--border-default); color: var(--text-secondary);
  transition: color var(--duration-base) var(--ease-standard),
              border-color var(--duration-base) var(--ease-standard),
              background var(--duration-base) var(--ease-standard),
              transform var(--duration-base) var(--ease-emphasized),
              box-shadow var(--duration-base) var(--ease-standard);
}
.ds .social-btn:hover { color: var(--text-primary); border-color: var(--border-strong); transform: translateY(-3px); }

/* ---------- Brand-colored social handles (topbar + footer) ---------- */
.ds .topbar-social a.soc {
  transition: color var(--duration-base) var(--ease-standard),
              background var(--duration-base) var(--ease-standard),
              transform var(--duration-base) var(--ease-emphasized);
}
.ds .soc-fb:hover { background: #1877F2; border-color: #1877F2; color: #fff; box-shadow: 0 8px 20px -8px rgba(24,119,242,0.7); }
.ds .soc-x:hover  { background: #0f0f0f; border-color: #3a3a3a; color: #fff; box-shadow: 0 8px 20px -8px rgba(0,0,0,0.8); }
.ds .soc-ig:hover { background: linear-gradient(45deg, #F58529 0%, #DD2A7B 45%, #8134AF 70%, #515BD4 100%); border-color: transparent; color: #fff; box-shadow: 0 8px 20px -8px rgba(221,42,123,0.7); }
.ds .soc-in:hover { background: #0A66C2; border-color: #0A66C2; color: #fff; box-shadow: 0 8px 20px -8px rgba(10,102,194,0.7); }
[data-theme="light"] .ds .soc-x:hover { background: #0f0f0f; border-color: #0f0f0f; }

/* ==========================================================================
   Premium visuals v2 — depth, imagery, motion
   ========================================================================== */

/* ---------- Gradient accent text (used sparingly, one phrase) ---------- */
.ds .grad-text {
  background: linear-gradient(100deg, var(--accent) 0%, #FF8A6A 55%, var(--accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ---------- Layered hero background ---------- */
.ds .hero-bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }

/* Photographic hero layer (blended, right-weighted, fades away from text) */
.ds .hero-photo {
  position: absolute; inset: -10% -5% -10% 25%;
  background-position: center; background-size: cover; background-repeat: no-repeat;
  opacity: 0.22; filter: grayscale(0.15) contrast(1.05);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 55%, #000 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 55%, #000 100%);
}
.ds .hero-photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, var(--bg-base) 100%),
              radial-gradient(120% 90% at 80% 20%, transparent 40%, var(--bg-base) 100%);
}
[data-theme="light"] .ds .hero-photo { opacity: 0.10; filter: grayscale(0.3) contrast(1); }
@media (max-width: 980px) { .ds .hero-photo { inset: -10% -10% 30% 10%; opacity: 0.12; } }
.ds .hero-bg::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, color-mix(in srgb, var(--border-subtle) 60%, transparent) 1px, transparent 1px),
    linear-gradient(to bottom, color-mix(in srgb, var(--border-subtle) 60%, transparent) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(120% 80% at 50% 0%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(120% 80% at 50% 0%, #000 30%, transparent 75%);
  opacity: 0.5;
}
/* Soft color-mesh glow for depth + premium feel */
.ds .hero-bg::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(38% 40% at 10% 18%, color-mix(in srgb, var(--accent) 20%, transparent), transparent 70%),
    radial-gradient(42% 44% at 90% 8%, rgba(120,80,240,0.16), transparent 72%),
    radial-gradient(70% 55% at 50% 118%, color-mix(in srgb, var(--accent) 12%, transparent), transparent 70%);
}
[data-theme="light"] .ds .hero-bg::after { opacity: 0.6; }
.ds .hero-orb {
  position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.5;
  animation: floaty 14s var(--ease-standard) infinite alternate;
}
.ds .hero-orb.a { width: 460px; height: 460px; top: -140px; right: -80px;
  background: radial-gradient(circle at 30% 30%, rgba(229,72,77,0.55), transparent 65%); }
.ds .hero-orb.b { width: 380px; height: 380px; bottom: -160px; left: -60px;
  background: radial-gradient(circle at 60% 40%, rgba(120,80,240,0.30), transparent 65%);
  animation-delay: -6s; }
@keyframes floaty { from { transform: translateY(-10px) translateX(0); } to { transform: translateY(20px) translateX(18px); } }

.ds .hero .container { position: relative; z-index: 1; }
.ds .hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: var(--space-12); align-items: center; }
@media (max-width: 980px) { .ds .hero-grid { grid-template-columns: 1fr; gap: var(--space-10); } }
.ds .hero-copy { max-width: 620px; }

/* social proof row */
.ds .avatars { display: flex; align-items: center; }
.ds .avatars img, .ds .avatars .av {
  width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--bg-base);
  margin-left: -10px; object-fit: cover; background: var(--bg-hover);
  display: grid; place-items: center; color: var(--text-secondary); font-size: 12px; font-weight: 600;
}
.ds .avatars img:first-child, .ds .avatars .av:first-child { margin-left: 0; }
.ds .stars { color: var(--accent); letter-spacing: 2px; }

/* ---------- Browser frame ---------- */
.ds .browser {
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-default);
  background: var(--bg-elevated);
  box-shadow: var(--elevation-3), 0 40px 80px rgba(0,0,0,0.35);
  overflow: hidden;
}
.ds .browser-bar {
  display: flex; align-items: center; gap: var(--space-2);
  padding: var(--space-3) var(--space-4);
  border-bottom: 1px solid var(--border-subtle);
  background: var(--bg-surface);
}
.ds .browser-dot { width: 11px; height: 11px; border-radius: 50%; background: var(--border-strong); }
.ds .browser-url {
  margin-left: var(--space-3); flex: 1; height: 24px; border-radius: var(--radius-full);
  background: var(--bg-base); border: 1px solid var(--border-subtle);
  display: flex; align-items: center; padding-inline: var(--space-3);
  color: var(--text-tertiary); font-size: 11px; font-family: var(--font-mono);
}
.ds .browser-body { aspect-ratio: 16 / 10; overflow: hidden; }
.ds .browser-body img { width: 100%; height: 100%; object-fit: cover; }

/* floating cards over visual */
.ds .hero-visual { position: relative; }
.ds .float-card {
  position: absolute; z-index: 3;
  background: color-mix(in srgb, var(--bg-elevated) 88%, transparent);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  box-shadow: var(--elevation-3);
  padding: var(--space-3) var(--space-4);
  animation: floaty 9s var(--ease-standard) infinite alternate;
}
.ds .float-card.tl { top: -22px; left: -26px; }
.ds .float-card.br { bottom: -26px; right: -22px; animation-delay: -4s; }
@media (max-width: 560px) { .ds .float-card { display: none; } }

/* ---------- Logo marquee ---------- */
.ds .marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.ds .marquee-track { display: flex; gap: var(--space-12); width: max-content; animation: marquee 28s linear infinite; }
.ds .marquee:hover .marquee-track { animation-play-state: paused; }
.ds .marquee-track span { color: var(--text-secondary); font-size: 1.4rem; font-weight: var(--weight-semibold); opacity: 0.6; white-space: nowrap; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ds .marquee-track { animation: none; } }

/* ---------- Bento grid ---------- */
.ds .bento { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 200px; gap: var(--space-5); }
@media (max-width: 900px) { .ds .bento { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .ds .bento { grid-template-columns: 1fr; grid-auto-rows: 180px; } }
.ds .bento-item {
  position: relative; overflow: hidden;
  border-radius: var(--radius-xl); border: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  padding: var(--space-6);
  display: flex; flex-direction: column; justify-content: flex-end;
  transition: border-color var(--duration-base) var(--ease-standard), transform var(--duration-base) var(--ease-standard);
}
.ds .bento-item:hover { border-color: var(--accent-subtle-border); transform: translateY(-3px); }
.ds .bento-item.wide { grid-column: span 2; }
.ds .bento-item.tall { grid-row: span 2; }
.ds .bento-media { position: absolute; inset: 0; z-index: 0; }
.ds .bento-media img { width: 100%; height: 100%; object-fit: cover; opacity: 0.28; transition: opacity var(--duration-slow) var(--ease-standard), transform var(--duration-slow) var(--ease-standard); }
.ds .bento-item:hover .bento-media img { opacity: 0.42; transform: scale(1.05); }
.ds .bento-item::after { content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, transparent 30%, color-mix(in srgb, var(--bg-surface) 92%, transparent) 100%); }
.ds .bento-content { position: relative; z-index: 2; }
.ds .bento-icon { display: inline-flex; width: 40px; height: 40px; border-radius: var(--radius-md);
  align-items: center; justify-content: center; background: var(--accent-subtle-bg); color: var(--accent);
  border: 1px solid var(--accent-subtle-border); margin-bottom: var(--space-3); }

/* ---------- Work showcase ---------- */
.ds .work-card {
  position: relative; overflow: hidden; border-radius: var(--radius-xl);
  border: 1px solid var(--border-subtle); background: var(--bg-surface);
  display: block;
}
.ds .work-media { aspect-ratio: 4 / 3; overflow: hidden; }
.ds .work-media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--duration-slow) var(--ease-emphasized); }
.ds .work-card:hover .work-media img { transform: scale(1.06); }
.ds .work-body { padding: var(--space-5); display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); }
.ds .work-body .arrow { color: var(--text-tertiary); transition: transform var(--duration-base) var(--ease-standard), color var(--duration-base) var(--ease-standard); }
.ds .work-card:hover .arrow { color: var(--accent); transform: translateX(4px); }
.ds .work-tag { position: absolute; top: var(--space-4); left: var(--space-4); z-index: 2; }

/* ---------- Expertise (image + list) ---------- */
.ds .split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-12); align-items: center; }
@media (max-width: 900px) { .ds .split { grid-template-columns: 1fr; gap: var(--space-8); } }
.ds .split-media { border-radius: var(--radius-2xl); overflow: hidden; border: 1px solid var(--border-subtle); box-shadow: var(--elevation-2); }
.ds .split-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; }
.ds .check-list { display: grid; gap: var(--space-4); }
.ds .check-item { display: flex; gap: var(--space-3); align-items: flex-start; }
.ds .check-ic { flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center;
  background: var(--success-subtle-bg); color: var(--success); margin-top: 2px; }

/* ---------- Section tint + CTA band bg ---------- */
.ds .section-alt { background: var(--bg-surface); border-block: 1px solid var(--border-subtle); }
.ds .cta-band { position: relative; overflow: hidden; }
.ds .cta-band .container { position: relative; z-index: 1; }
.ds .cta-band::before { content: ""; position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(70% 120% at 50% 120%, var(--accent-subtle-bg), transparent 70%); }

/* section-head gradient rule under overline handled inline */

/* ==========================================================================
   Premium visuals v3 — top-bar, device mockups, tech wall, rich cards,
   pricing, FAQ, and refined motion. Tokens only, scoped under .ds.
   ========================================================================== */

/* Smooth anchor jumps that clear the sticky header */
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* ---------- Utility top-bar ---------- */
.ds .topbar {
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-subtle);
  font-size: var(--text-caption);
}
.ds .topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); height: 40px; }
.ds .topbar-meta { display: flex; align-items: center; gap: var(--space-5); min-width: 0; }
.ds .topbar-item {
  display: inline-flex; align-items: center; gap: var(--space-2);
  color: var(--text-tertiary); white-space: nowrap;
  transition: color var(--duration-base) var(--ease-standard);
}
.ds a.topbar-item:hover { color: var(--text-primary); }
.ds .topbar-item svg { color: var(--accent); }
.ds .status-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--success);
  box-shadow: 0 0 0 0 color-mix(in srgb, var(--success) 60%, transparent);
  animation: pulse-dot 2.4s var(--ease-standard) infinite;
}
@keyframes pulse-dot {
  0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--success) 55%, transparent); }
  70% { box-shadow: 0 0 0 7px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}
.ds .topbar-social { display: flex; align-items: center; gap: var(--space-2); }
.ds .topbar-social a {
  width: 26px; height: 26px; border-radius: var(--radius-sm); display: grid; place-items: center;
  color: var(--text-tertiary); transition: color var(--duration-base) var(--ease-standard), background var(--duration-base) var(--ease-standard);
}
.ds .topbar-social a:hover { color: var(--text-primary); background: var(--bg-hover); }
@media (prefers-reduced-motion: reduce) { .ds .status-dot { animation: none; } }
@media (max-width: 720px) {
  .ds .topbar-hide-sm { display: none; }
  .ds .topbar-inner { height: 38px; }
}
@media (max-width: 480px) { .ds .topbar-social { display: none; } .ds .topbar-meta { gap: var(--space-4); } }

/* ---------- Eyebrow with dash (section lead-in) ---------- */
.ds .lead-in {
  display: inline-flex; align-items: center; gap: var(--space-3);
  color: var(--accent); font-size: var(--text-caption); font-weight: var(--weight-semibold);
  letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: var(--space-4);
}
.ds .lead-in::before { content: ""; width: 28px; height: 2px; background: var(--accent); border-radius: 2px; }
.ds .section-head.center .lead-in { justify-content: center; }

/* ---------- Device mockups (CSS-drawn) ---------- */
.ds .device-phone {
  position: relative; width: 236px; aspect-ratio: 9 / 19;
  background: var(--bg-elevated); border: 1px solid var(--border-strong);
  border-radius: 34px; padding: 10px;
  box-shadow: var(--elevation-3), 0 30px 60px rgba(0,0,0,0.35);
}
.ds .device-phone::before {
  content: ""; position: absolute; top: 14px; left: 50%; transform: translateX(-50%);
  width: 66px; height: 16px; border-radius: 0 0 12px 12px; background: var(--bg-base); z-index: 2;
}
.ds .device-phone .screen { width: 100%; height: 100%; border-radius: 26px; overflow: hidden; background: var(--bg-base); }
.ds .device-phone .screen img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }

.ds .device-laptop { position: relative; width: 100%; max-width: 560px; }
.ds .device-laptop .lid {
  border: 1px solid var(--border-strong); border-radius: 14px 14px 0 0;
  background: var(--bg-elevated); padding: 10px 10px 0;
  box-shadow: var(--elevation-3);
}
.ds .device-laptop .screen { border-radius: 8px 8px 0 0; overflow: hidden; aspect-ratio: 16 / 10; background: var(--bg-base); }
.ds .device-laptop .screen img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.ds .device-laptop .base {
  height: 14px; border-radius: 0 0 12px 12px;
  background: linear-gradient(180deg, var(--bg-surface), var(--bg-elevated));
  border: 1px solid var(--border-strong); border-top: 0;
  position: relative;
}
.ds .device-laptop .base::before {
  content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 84px; height: 6px; border-radius: 0 0 8px 8px; background: var(--bg-base);
}

/* Combo: laptop with a phone overlapping (work showcase) */
.ds .device-combo { position: relative; padding-bottom: var(--space-8); }
.ds .device-combo .device-phone { position: absolute; right: -6px; bottom: 0; width: 150px; z-index: 3; }
@media (max-width: 560px) { .ds .device-combo .device-phone { display: none; } }

/* ---------- Tech logo wall (marquee of real brand marks) ---------- */
.ds .techwall { position: relative; }
.ds .techwall::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(65% 130% at 50% 50%, color-mix(in srgb, var(--accent) 7%, transparent), transparent 70%);
}
.ds .techwall > .container { position: relative; z-index: 1; }

.ds .tech-chip {
  display: inline-flex; align-items: center; gap: var(--space-3);
  padding: var(--space-3) var(--space-5);
  border: 1px solid var(--border-default); border-radius: var(--radius-full);
  background: var(--bg-elevated); white-space: nowrap;
  box-shadow: 0 1px 2px rgba(0,0,0,0.18);
  transition: border-color var(--duration-base) var(--ease-standard),
              transform var(--duration-base) var(--ease-emphasized),
              box-shadow var(--duration-base) var(--ease-standard);
}
.ds .tech-chip:hover {
  border-color: var(--accent-subtle-border); transform: translateY(-3px);
  box-shadow: 0 12px 28px -14px color-mix(in srgb, var(--accent) 60%, transparent);
}
.ds .tlogo {
  width: 24px; height: 24px; flex: none;
  background: color-mix(in srgb, var(--text-primary) 88%, transparent);
  -webkit-mask: var(--logo) center / contain no-repeat;
  mask: var(--logo) center / contain no-repeat;
  transition: background var(--duration-base) var(--ease-standard);
}
.ds .tech-chip:hover .tlogo { background: var(--accent); }
.ds .tech-chip .t-name { color: var(--text-primary); font-weight: var(--weight-semibold); font-size: var(--text-body-sm); }
.ds .marquee-track.logos { gap: var(--space-5); }

/* Static tech grid (alt layout) */
.ds .tech-grid {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: var(--space-3);
}
@media (max-width: 900px) { .ds .tech-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 520px) { .ds .tech-grid { grid-template-columns: repeat(3, 1fr); } }
.ds .tech-cell {
  display: flex; flex-direction: column; align-items: center; gap: var(--space-2);
  padding: var(--space-5) var(--space-3); border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle); background: var(--bg-surface);
  transition: border-color var(--duration-base) var(--ease-standard), transform var(--duration-base) var(--ease-standard);
}
.ds .tech-cell:hover { border-color: var(--accent-subtle-border); transform: translateY(-3px); }
.ds .tech-cell .tlogo { width: 30px; height: 30px; }
.ds .tech-cell span { color: var(--text-tertiary); font-size: var(--text-caption); }

/* ---------- Rich service cards ---------- */
.ds .svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-5); }
@media (max-width: 900px) { .ds .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .ds .svc-grid { grid-template-columns: 1fr; } }
.ds .svc-card {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; gap: var(--space-3);
  padding: var(--space-6);
  background: var(--bg-surface); border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl); text-decoration: none;
  transition: border-color var(--duration-base) var(--ease-standard), transform var(--duration-base) var(--ease-emphasized), box-shadow var(--duration-base) var(--ease-standard);
}
.ds .svc-card::before {
  content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%;
  background: linear-gradient(90deg, var(--accent), transparent);
  transform: scaleX(0); transform-origin: left; transition: transform var(--duration-slow) var(--ease-emphasized);
}
.ds .svc-card:hover { border-color: var(--accent-subtle-border); transform: translateY(-4px); box-shadow: var(--elevation-3); }
.ds .svc-card:hover::before { transform: scaleX(1); }
.ds .svc-ic {
  width: 48px; height: 48px; border-radius: var(--radius-lg); display: grid; place-items: center;
  background: var(--accent-subtle-bg); color: var(--accent); border: 1px solid var(--accent-subtle-border);
  transition: background var(--duration-base) var(--ease-standard), color var(--duration-base) var(--ease-standard);
}
.ds .svc-card:hover .svc-ic { animation-play-state: paused; background: var(--accent); color: #fff; }
.ds .svc-card h4 { margin: 0; }
.ds .svc-more {
  margin-top: auto; display: inline-flex; align-items: center; gap: var(--space-2);
  color: var(--accent); font-size: var(--text-body-sm); font-weight: var(--weight-semibold);
}
.ds .svc-more svg { transition: transform var(--duration-base) var(--ease-standard); }
.ds .svc-card:hover .svc-more svg { transform: translateX(4px); }

/* ---------- Why choose us ---------- */
.ds .why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-5); }
@media (max-width: 900px) { .ds .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .ds .why-grid { grid-template-columns: 1fr; } }
.ds .why-card { padding: var(--space-6); border-radius: var(--radius-xl); border: 1px solid var(--border-subtle); background: var(--bg-surface); }
.ds .why-ic { width: 44px; height: 44px; border-radius: var(--radius-lg); display: grid; place-items: center; background: var(--accent-subtle-bg); color: var(--accent); border: 1px solid var(--accent-subtle-border); margin-bottom: var(--space-4); }

/* ---------- Pricing ---------- */
.ds .pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-5); align-items: stretch; }
@media (max-width: 900px) { .ds .pricing { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; } }
.ds .price-card {
  position: relative; display: flex; flex-direction: column; gap: var(--space-5);
  padding: var(--space-8); border-radius: var(--radius-2xl);
  border: 1px solid var(--border-subtle); background: var(--bg-surface);
  transition: transform var(--duration-base) var(--ease-emphasized), border-color var(--duration-base) var(--ease-standard);
}
.ds .price-card:hover { transform: translateY(-4px); border-color: var(--border-strong); }
.ds .price-card.featured { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), var(--elevation-3); }
.ds .price-flag {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: #fff; font-size: var(--text-caption); font-weight: var(--weight-semibold);
  padding: 4px 12px; border-radius: var(--radius-full); letter-spacing: 0.04em;
}
.ds .price-name { font-size: var(--text-body-lg); font-weight: var(--weight-semibold); color: var(--text-primary); }
.ds .price-amount { font-size: var(--text-h2); font-weight: var(--weight-bold); color: var(--text-primary); line-height: 1; }
.ds .price-amount .unit { font-size: var(--text-body); font-weight: var(--weight-medium); color: var(--text-tertiary); }
.ds .price-feats { display: grid; gap: var(--space-3); margin: 0; padding: 0; list-style: none; }
.ds .price-feats li { display: flex; gap: var(--space-3); align-items: flex-start; color: var(--text-secondary); font-size: var(--text-body-sm); }
.ds .price-feats li svg { flex: none; color: var(--success); margin-top: 2px; }
.ds .price-card .btn { margin-top: auto; }

/* ---------- FAQ accordion ---------- */
.ds .faq { max-width: 820px; margin-inline: auto; display: grid; gap: var(--space-3); }
.ds .faq-item { border: 1px solid var(--border-subtle); border-radius: var(--radius-lg); background: var(--bg-surface); overflow: hidden; transition: border-color var(--duration-base) var(--ease-standard); }
.ds .faq-item[open] { border-color: var(--accent-subtle-border); }
.ds .faq-q {
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-4);
  padding: var(--space-5) var(--space-6); cursor: pointer; list-style: none;
  font-weight: var(--weight-semibold); color: var(--text-primary);
}
.ds .faq-q::-webkit-details-marker { display: none; }
.ds .faq-q .faq-ic { flex: none; transition: transform var(--duration-base) var(--ease-standard); color: var(--accent); }
.ds .faq-item[open] .faq-q .faq-ic { transform: rotate(45deg); }
.ds .faq-a { padding: 0 var(--space-6) var(--space-5); color: var(--text-secondary); font-size: var(--text-body-sm); line-height: 1.6; }
.ds .faq-item[open] .faq-a { animation: faq-in var(--duration-base) var(--ease-emphasized); }
@keyframes faq-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ---------- Motion: card tilt, image clip-reveal, CTA sheen ---------- */
.ds .tilt { transform-style: preserve-3d; transition: transform 120ms var(--ease-standard); will-change: transform; }

.ds .reveal-img { position: relative; }
.ds .reveal-img::after {
  content: ""; position: absolute; inset: 0; background: var(--bg-base); z-index: 4;
  transform: scaleX(1); transform-origin: right;
  transition: transform 0.9s var(--ease-emphasized);
}
.ds .reveal-img.is-visible::after { transform: scaleX(0); }
@media (prefers-reduced-motion: reduce) { .ds .reveal-img::after { display: none; } }

.ds .cta-band.sheen .container::before {
  content: ""; position: absolute; top: 0; left: -30%; width: 40%; height: 100%; z-index: 2;
  background: linear-gradient(100deg, transparent, color-mix(in srgb, #fff 22%, transparent), transparent);
  transform: skewX(-18deg); opacity: 0;
}
/* Looping sheen while band is on screen (see Live site system below) */
.ds .cta-band.sheen.is-live .container::before,
.ds .cta-band.sheen.is-visible .container::before { animation: sheen 3.8s var(--ease-emphasized) 0.4s infinite; }
@keyframes sheen { 0% { left: -40%; opacity: 0; } 18% { opacity: 1; } 45% { left: 120%; opacity: 0; } 100% { left: 120%; opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .ds .cta-band.sheen.is-live .container::before,
  .ds .cta-band.sheen.is-visible .container::before { animation: none; }
}

/* Parallax hooks (JS sets --py) */
.ds .parallax { transform: translate3d(0, var(--py, 0), 0); }

/* Hero cursor spotlight (pointer-fine only, JS-toggled) */
.ds .hero-spot {
  position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: 0;
  background: radial-gradient(220px 220px at var(--mx, 50%) var(--my, 30%), color-mix(in srgb, var(--accent) 22%, transparent), transparent 70%);
  transition: opacity var(--duration-slow) var(--ease-standard);
}
.ds .hero:hover .hero-spot { opacity: 1; }
@media (hover: none), (prefers-reduced-motion: reduce) { .ds .hero-spot { display: none; } }

/* ---------- Section rhythm helpers ---------- */
.ds .section-tight { padding-block: var(--space-12); }

/* ==========================================================================
   Premium visuals v4 — human-crafted product mockups (no stock/AI imagery),
   AI chat mock, branded work cards, refined stat units.
   ========================================================================== */

/* Bigger, clearer stat units (+ / % / ×) */
.ds .stat-value { display: inline-flex; align-items: baseline; gap: 1px; }
.ds .stat-value .mono { font-size: 0.42em; font-weight: var(--weight-semibold); color: var(--accent); font-family: var(--font-sans); }

/* ---------- Product UI mock (drawn in CSS) ---------- */
.ds .ui-mock {
  height: 100%; width: 100%; display: grid; grid-template-columns: 68px 1fr;
  background: var(--bg-base); font-size: 0; overflow: hidden;
}
.ds .ui-side {
  border-right: 1px solid var(--border-subtle); background: var(--bg-surface);
  padding: var(--space-4) var(--space-3); display: flex; flex-direction: column; gap: var(--space-3);
}
.ds .ui-side i { display: block; height: 8px; border-radius: 4px; background: var(--border-default); }
.ds .ui-side i.brand { background: var(--accent); width: 70%; height: 10px; }
.ds .ui-side i.sm { width: 85%; } .ds .ui-side i.xs { width: 55%; }
.ds .ui-main { padding: var(--space-4); display: flex; flex-direction: column; gap: var(--space-3); min-width: 0; }
.ds .ui-head { display: flex; align-items: center; justify-content: space-between; }
.ds .ui-head .ui-title { height: 12px; width: 120px; max-width: 45%; background: var(--text-primary); opacity: 0.85; border-radius: 4px; }
.ds .ui-head .ui-pill { height: 18px; width: 60px; background: var(--accent-subtle-bg); border: 1px solid var(--accent-subtle-border); border-radius: var(--radius-full); }
.ds .ui-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-3); }
.ds .ui-tile { background: var(--bg-surface); border: 1px solid var(--border-subtle); border-radius: var(--radius-md); padding: var(--space-3); }
.ds .ui-tile b { display: block; height: 12px; width: 60%; background: var(--text-primary); opacity: 0.85; border-radius: 3px; margin-bottom: 7px; }
.ds .ui-tile span { display: block; height: 6px; width: 85%; background: var(--border-default); border-radius: 3px; }
.ds .ui-tile.accent b { background: var(--accent); opacity: 1; }
.ds .ui-chart {
  flex: 1; min-height: 90px; background: var(--bg-surface); border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md); padding: var(--space-4); display: flex; align-items: flex-end; gap: var(--space-2);
}
.ds .ui-bar { flex: 1; border-radius: 4px 4px 0 0; transform-origin: bottom;
  background: linear-gradient(180deg, var(--accent), color-mix(in srgb, var(--accent) 25%, transparent)); }
.ds .is-visible .ui-bar, .ds .ui-mock .ui-bar { animation: bar-rise 0.9s var(--ease-emphasized) both; }
@keyframes bar-rise { from { transform: scaleY(0); } }
@media (prefers-reduced-motion: reduce) { .ds .ui-bar { animation: none; } }

/* Mobile variant (inside phone frame): single column */
.ds .device-phone .ui-mock { grid-template-columns: 1fr; }
.ds .device-phone .ui-side { display: none; }
.ds .device-phone .ui-tiles { grid-template-columns: 1fr 1fr; }
.ds .device-phone .ui-main { padding: var(--space-3); gap: var(--space-2); }

/* ---------- AI chat mock (drawn in CSS) ---------- */
.ds .chat-mock {
  height: 100%; min-height: 320px; background: var(--bg-base);
  border: 1px solid var(--border-subtle); border-radius: var(--radius-2xl);
  box-shadow: var(--elevation-3); padding: var(--space-5);
  display: flex; flex-direction: column; gap: var(--space-3);
}
.ds .chat-head { display: flex; align-items: center; gap: var(--space-3); padding-bottom: var(--space-4); border-bottom: 1px solid var(--border-subtle); }
.ds .chat-avatar { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: #fff; }
.ds .chat-body { flex: 1; display: flex; flex-direction: column; gap: var(--space-3); justify-content: flex-end; }
.ds .bubble { max-width: 82%; padding: var(--space-3) var(--space-4); border-radius: var(--radius-lg); font-size: var(--text-body-sm); line-height: 1.45; }
.ds .bubble.bot { align-self: flex-start; background: var(--bg-surface); border: 1px solid var(--border-subtle); color: var(--text-secondary); border-bottom-left-radius: var(--radius-xs); }
.ds .bubble.user { align-self: flex-end; background: var(--accent); color: #fff; border-bottom-right-radius: var(--radius-xs); }
.ds .bubble.typing { align-self: flex-start; display: inline-flex; gap: 5px; padding: var(--space-4); }
.ds .bubble.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--text-tertiary); animation: blink 1.3s infinite ease-in-out; }
.ds .bubble.typing i:nth-child(2) { animation-delay: 0.2s; } .ds .bubble.typing i:nth-child(3) { animation-delay: 0.4s; }
@keyframes blink { 0%, 60%, 100% { opacity: 0.3; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }
@media (prefers-reduced-motion: reduce) { .ds .bubble.typing i { animation: none; } }

/* ---------- Branded work cards (no misleading screenshots) ---------- */
.ds .brandmedia {
  position: relative; aspect-ratio: 4 / 3; display: grid; place-items: center; overflow: hidden;
  background:
    radial-gradient(130% 130% at 18% 12%, color-mix(in srgb, var(--wc, var(--accent)) 42%, var(--bg-elevated)) 0%, var(--bg-surface) 62%);
}
.ds .brandmedia::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(color-mix(in srgb, #fff 12%, transparent) 1px, transparent 1.4px);
  background-size: 16px 16px; opacity: 0.5;
  mask-image: linear-gradient(135deg, #000, transparent 70%); -webkit-mask-image: linear-gradient(135deg, #000, transparent 70%);
}
.ds .wc-mono {
  position: relative; z-index: 1; font-weight: var(--weight-bold); font-size: 2.75rem;
  letter-spacing: -0.04em; color: #fff; text-shadow: 0 2px 20px rgba(0,0,0,0.35);
}
.ds .wc-badge { position: absolute; z-index: 2; bottom: var(--space-4); left: var(--space-4);
  background: color-mix(in srgb, var(--bg-base) 70%, transparent); backdrop-filter: blur(6px);
  border: 1px solid var(--border-default); color: var(--text-secondary);
  font-size: var(--text-caption); font-weight: var(--weight-semibold); padding: 4px 10px; border-radius: var(--radius-full); }
.ds .work-card:hover .brandmedia { filter: brightness(1.05); }

/* ---------- Floating WhatsApp button ---------- */
.ds .wa-float {
  position: fixed; left: 24px; bottom: 24px; z-index: 900;
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  background: #25D366; color: #fff;
  box-shadow: 0 8px 24px rgba(0,0,0,0.28), 0 0 0 1px rgba(0,0,0,0.05);
  transition: transform var(--duration-base) var(--ease-emphasized), box-shadow var(--duration-base) var(--ease-standard);
}
.ds .wa-float:hover { color: #fff; transform: translateY(-3px) scale(1.05); box-shadow: 0 12px 30px rgba(37,211,102,0.45); }
.ds .wa-float:active { transform: translateY(-1px) scale(1.02); }
.ds .wa-pulse {
  position: absolute; inset: 0; border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(37,211,102,0.55);
  animation: wa-ring 2.2s var(--ease-standard) infinite;
}
@keyframes wa-ring {
  0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.5); }
  70% { box-shadow: 0 0 0 16px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}
@media (prefers-reduced-motion: reduce) { .ds .wa-pulse { animation: none; } }
@media (max-width: 560px) {
  .ds .wa-float { width: 50px; height: 50px; left: 16px; bottom: 16px; }
  .ds .wa-float svg { width: 26px; height: 26px; }
}

/* ==========================================================================
   Premium visuals v5 — refined icons, complete case study, animated process,
   testimonials polish, global staggered reveals.
   ========================================================================== */

/* ---------- Refined icon treatment (professional duotone) ---------- */
.ds .svc-ic,
.ds .why-ic,
.ds .ind-ic {
  background: linear-gradient(150deg, color-mix(in srgb, var(--accent) 20%, transparent), color-mix(in srgb, var(--accent) 6%, transparent));
  box-shadow: inset 0 0 0 1px var(--accent-subtle-border), inset 0 1px 0 color-mix(in srgb, #fff 10%, transparent);
  color: var(--accent);
}
.ds .why-ic svg, .ds .svc-ic svg, .ds .ind-ic svg { stroke-width: 1.9; }

/* Industry tile icon */
.ds .ind-ic {
  display: inline-flex; width: 42px; height: 42px; flex: none;
  border-radius: var(--radius-md); align-items: center; justify-content: center;
  transition: transform var(--duration-base) var(--ease-standard);
}
.ds .ind-card { transition: border-color var(--duration-base) var(--ease-standard), transform var(--duration-base) var(--ease-emphasized), background var(--duration-base) var(--ease-standard); }
.ds .ind-card:hover { transform: translateY(-3px); border-color: var(--accent-subtle-border) !important; }
.ds .ind-card:hover .ind-ic { transform: scale(1.08); }

/* ---------- Complete case-study panel ---------- */
.ds .case-feature {
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-12); align-items: center;
  background: var(--bg-base); border: 1px solid var(--border-subtle);
  border-radius: var(--radius-2xl); padding: var(--space-10);
  box-shadow: var(--elevation-2);
}
@media (max-width: 900px) { .ds .case-feature { grid-template-columns: 1fr; gap: var(--space-8); padding: var(--space-6); } }
.ds .case-visual { display: flex; justify-content: center; align-items: center; }
.ds .case-visual .device-laptop { max-width: 460px; width: 100%; }
.ds .case-meta {
  display: grid; grid-template-columns: repeat(3, auto); gap: var(--space-8);
  padding: var(--space-5) 0; border-top: 1px solid var(--border-subtle); border-bottom: 1px solid var(--border-subtle);
}
@media (max-width: 560px) { .ds .case-meta { grid-template-columns: 1fr 1fr; gap: var(--space-5); } }
.ds .case-meta-item { display: flex; flex-direction: column; gap: var(--space-2); }
.ds .case-meta-item > span:last-child { color: var(--text-primary); font-weight: var(--weight-medium); font-size: var(--text-body-sm); }

/* ---------- Process: animated connector + staggered steps ---------- */
.ds .process { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-6); position: relative; }
.ds .process.reveal { opacity: 1; transform: none; }        /* container stays; children animate */
/* static pipeline track (faint accent) */
.ds .process::before {
  content: ""; position: absolute; top: 24px; left: 10%; right: 10%; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg,
    color-mix(in srgb, var(--accent) 24%, transparent),
    color-mix(in srgb, var(--accent) 12%, transparent));
  z-index: 0;
}
/* flowing light streak that continuously travels along the pipeline */
.ds .process::after {
  content: ""; position: absolute; top: 23px; left: 10%; width: 80%; height: 4px; border-radius: 4px;
  z-index: 1; pointer-events: none; opacity: 0; background-position: -60% 0;
  background-repeat: no-repeat; background-size: 42% 100%;
  background-image: linear-gradient(90deg,
    transparent 0%,
    color-mix(in srgb, var(--accent) 45%, transparent) 40%,
    var(--accent) 50%,
    #fff 54%,
    color-mix(in srgb, var(--accent) 45%, transparent) 60%,
    transparent 100%);
  filter: drop-shadow(0 0 6px color-mix(in srgb, var(--accent) 65%, transparent));
  transition: opacity 0.5s var(--ease-standard) 0.4s;
}
.ds .process.is-visible::after { opacity: 1; animation: flow-stream 2.6s linear 0.8s infinite; }
@keyframes flow-stream {
  0%   { background-position: -60% 0; }
  100% { background-position: 160% 0; }
}
@media (max-width: 900px) { .ds .process { grid-template-columns: repeat(2, 1fr); gap: var(--space-8); } .ds .process::before, .ds .process::after { display: none; } }
@media (max-width: 560px) { .ds .process { grid-template-columns: 1fr; } }
.ds .pstep { position: relative; z-index: 2; display: flex; flex-direction: column; gap: var(--space-3); text-align: left;
  opacity: 0; transform: translateY(18px); transition: opacity 0.6s var(--ease-emphasized), transform 0.6s var(--ease-emphasized); }
.ds .process.is-visible .pstep { opacity: 1; transform: none; }
.ds .process.is-visible .pstep:nth-child(2) { transition-delay: 0.15s; }
.ds .process.is-visible .pstep:nth-child(3) { transition-delay: 0.30s; }
.ds .process.is-visible .pstep:nth-child(4) { transition-delay: 0.45s; }
.ds .pnum {
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  background: var(--bg-base); border: 2px solid var(--accent); color: var(--accent);
  font-family: var(--font-display); font-weight: var(--weight-bold); font-size: var(--text-body-lg);
  box-shadow: 0 0 0 6px var(--bg-surface);
  transition: transform var(--duration-base) var(--ease-emphasized), background var(--duration-base), color var(--duration-base), box-shadow var(--duration-base);
}
/* each node lights up in sequence as the streak passes it — loops forever */
.ds .process.is-visible .pnum { animation: node-pulse 2.6s ease-in-out infinite; }
.ds .process.is-visible .pstep:nth-child(1) .pnum { animation-delay: 0.80s; }
.ds .process.is-visible .pstep:nth-child(2) .pnum { animation-delay: 1.45s; }
.ds .process.is-visible .pstep:nth-child(3) .pnum { animation-delay: 2.10s; }
.ds .process.is-visible .pstep:nth-child(4) .pnum { animation-delay: 2.75s; }
@keyframes node-pulse {
  0%, 6%    { background: var(--bg-base); color: var(--accent); transform: none;
              box-shadow: 0 0 0 6px var(--bg-surface); }
  15%       { background: var(--accent); color: #fff; transform: scale(1.14);
              box-shadow: 0 0 0 6px var(--bg-surface), 0 0 22px color-mix(in srgb, var(--accent) 60%, transparent); }
  32%, 100% { background: var(--bg-base); color: var(--accent); transform: none;
              box-shadow: 0 0 0 6px var(--bg-surface); }
}
.ds .pstep:hover .pnum {
  animation-play-state: paused; background: var(--accent); color: #fff; transform: scale(1.1);
  box-shadow: 0 0 0 6px var(--bg-surface), 0 0 24px color-mix(in srgb, var(--accent) 60%, transparent);
}
@media (prefers-reduced-motion: reduce) {
  .ds .pstep { opacity: 1; transform: none; }
  .ds .process::after { animation: none; opacity: 1; background-position: 0 0; }
  .ds .process.is-visible .pnum { animation: none; }
}

/* ---------- Testimonials polish ---------- */
.ds .testi-card { position: relative; }
.ds .testi-card .quote-mark { color: var(--accent); opacity: 0.9; }
.ds .testi-cta { background: linear-gradient(160deg, var(--accent-subtle-bg), transparent); border-color: var(--accent-subtle-border) !important; }

/* ---------- Global staggered reveal (grids) ---------- */
.ds .stagger > .reveal:nth-child(2) { transition-delay: 0.07s; }
.ds .stagger > .reveal:nth-child(3) { transition-delay: 0.14s; }
.ds .stagger > .reveal:nth-child(4) { transition-delay: 0.21s; }
.ds .stagger > .reveal:nth-child(5) { transition-delay: 0.28s; }
.ds .stagger > .reveal:nth-child(6) { transition-delay: 0.35s; }
.ds .stagger > .reveal:nth-child(7) { transition-delay: 0.42s; }
.ds .stagger > .reveal:nth-child(8) { transition-delay: 0.49s; }

/* ==========================================================================
   Motion v3 — directional reveals, interactive card lift + cursor spotlight
   ========================================================================== */

/* Directional / scaled entrance variants (piggyback on .reveal timing) */
.ds .reveal-l { transform: translateX(-34px); }
.ds .reveal-r { transform: translateX(34px); }
.ds .reveal-scale { transform: translateY(22px) scale(0.955); }
.ds .reveal.is-visible.reveal-l,
.ds .reveal.is-visible.reveal-r,
.ds .reveal.is-visible.reveal-scale { transform: none; }

/* Interactive surfaces: lift + accent border + soft accent shadow + cursor spotlight.
   Tilt is added inline by JS (perspective + rotateX/Y) on pointer-fine devices. */
.ds .card,
.ds .svc-card,
.ds .why-card,
.ds .price-card,
.ds .testi-card {
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.5s var(--ease-emphasized),
              border-color 0.3s var(--ease-standard),
              box-shadow 0.4s var(--ease-standard),
              background 0.3s var(--ease-standard);
}
.ds .card::after,
.ds .svc-card::after,
.ds .why-card::after,
.ds .price-card::after,
.ds .testi-card::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  pointer-events: none; z-index: 0;
  background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 50%),
              color-mix(in srgb, var(--accent) 20%, transparent), transparent 60%);
  opacity: 0; transition: opacity 0.35s var(--ease-standard);
}
.ds .card:hover::after,
.ds .svc-card:hover::after,
.ds .why-card:hover::after,
.ds .price-card:hover::after,
.ds .testi-card:hover::after { opacity: 1; }

/* keep inner content above the glow layer */
.ds .card > *,
.ds .svc-card > *,
.ds .why-card > *,
.ds .price-card > *,
.ds .testi-card > * { position: relative; z-index: 1; }

.ds .card:hover,
.ds .why-card:hover,
.ds .testi-card:hover {
  border-color: var(--accent-subtle-border);
  box-shadow: 0 24px 48px -28px color-mix(in srgb, var(--accent) 60%, transparent),
              0 4px 12px rgba(0, 0, 0, 0.22);
}
/* while JS drives the tilt, don't fight it with the slow transition */
.ds .is-tilting { transition: box-shadow 0.4s var(--ease-standard), border-color 0.3s var(--ease-standard) !important; }

/* Case study comes alive: visual slides in, floats gently; body slides from right */
.ds .case-visual .device-combo { animation: dev-float 6.5s var(--ease-standard) infinite; will-change: transform; }
@keyframes dev-float {
  0% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
  100% { transform: translateY(0); }
}
.ds .case-meta-item { transition: transform 0.3s var(--ease-emphasized); }
.ds .case-meta-item:hover { transform: translateY(-3px); }
.ds .case-meta-item:hover .overline { color: var(--accent); }

@media (prefers-reduced-motion: reduce) {
  .ds .card::after, .ds .svc-card::after, .ds .why-card::after,
  .ds .price-card::after, .ds .testi-card::after { display: none; }
  .ds .case-visual .device-combo { animation: none; }
  .ds .reveal-l, .ds .reveal-r, .ds .reveal-scale { transform: none; }
}

/* ==========================================================================
   Mobile experience — polish + touch motion (make it feel alive on phones)
   ========================================================================== */

/* remove the blue tap flash everywhere */
.ds a, .ds button, .ds .btn,
.ds .card, .ds .svc-card, .ds .why-card, .ds .price-card,
.ds .work-card, .ds .testi-card, .ds .ind-card {
  -webkit-tap-highlight-color: transparent;
}

/* Scroll-progress indicator (top of screen) — a live signal as you read */
.ds .scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 100%;
  transform: scaleX(var(--sp, 0)); transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--accent), #FF8A6A);
  box-shadow: 0 0 12px color-mix(in srgb, var(--accent) 70%, transparent);
  z-index: 600; pointer-events: none;
}
@media (prefers-reduced-motion: reduce) { .ds .scroll-progress { display: none; } }

/* Drawer: staggered slide-in of items when it opens */
.ds .drawer .drawer-group,
.ds .drawer .drawer-cta {
  opacity: 0; transform: translateX(18px);
  transition: opacity 0.4s var(--ease-emphasized), transform 0.4s var(--ease-emphasized);
}
.ds .drawer.open .drawer-group,
.ds .drawer.open .drawer-cta { opacity: 1; transform: none; }
.ds .drawer.open .drawer-group:nth-child(2) { transition-delay: 0.06s; }
.ds .drawer.open .drawer-group:nth-child(3) { transition-delay: 0.10s; }
.ds .drawer.open .drawer-group:nth-child(4) { transition-delay: 0.14s; }
.ds .drawer.open .drawer-group:nth-child(5) { transition-delay: 0.18s; }
.ds .drawer.open .drawer-group:nth-child(6) { transition-delay: 0.22s; }
.ds .drawer.open .drawer-cta { transition-delay: 0.26s; }
@media (prefers-reduced-motion: reduce) {
  .ds .drawer .drawer-group, .ds .drawer .drawer-cta { opacity: 1; transform: none; transition: none; }
}

/* Tactile press feedback on touch devices (where tilt/hover don't exist) */
@media (hover: none) {
  .ds .card, .ds .svc-card, .ds .why-card, .ds .price-card,
  .ds .work-card, .ds .testi-card, .ds .ind-card {
    transition: transform 0.18s var(--ease-emphasized), border-color 0.2s var(--ease-standard),
                box-shadow 0.2s var(--ease-standard);
  }
  .ds .card:active, .ds .svc-card:active, .ds .why-card:active,
  .ds .price-card:active, .ds .work-card:active, .ds .testi-card:active,
  .ds .ind-card:active {
    transform: scale(0.98);
    border-color: var(--accent-subtle-border);
    box-shadow: 0 10px 24px -16px color-mix(in srgb, var(--accent) 60%, transparent);
  }
}

@media (max-width: 768px) {
  .ds .section { padding-block: var(--space-12); }
  .ds .hero { padding-block: var(--space-12) var(--space-10); }
  .ds .hero h1 { margin-block: var(--space-4); }
  .ds .hero .lead { font-size: var(--text-body); }
  /* snappier, all-vertical reveals (no horizontal shift on narrow screens) */
  .ds .reveal { transform: translateY(12px); transition-duration: 0.5s; }
  .ds .reveal-l, .ds .reveal-r, .ds .reveal-scale { transform: translateY(14px); }
}

/* Smoother vertical rhythm on tablets (avoid the 48px -> 80px jump) */
@media (min-width: 769px) and (max-width: 900px) {
  .ds .section { padding-block: var(--space-16); }
}

/* Mobile "live": the card centered in the viewport lights up like a desktop hover.
   (JS adds .is-active on touch devices via an IntersectionObserver center-band.) */
.ds .card.is-active::after,
.ds .svc-card.is-active::after,
.ds .why-card.is-active::after,
.ds .price-card.is-active::after,
.ds .testi-card.is-active::after { opacity: 1; }

.ds .card.is-active,
.ds .svc-card.is-active,
.ds .why-card.is-active,
.ds .price-card.is-active,
.ds .testi-card.is-active,
.ds .work-card.is-active,
.ds .ind-card.is-active {
  transform: translateY(-5px);
  border-color: var(--accent-subtle-border);
  box-shadow: 0 20px 42px -26px color-mix(in srgb, var(--accent) 62%, transparent),
              0 3px 10px rgba(0, 0, 0, 0.22);
}
.ds .svc-card.is-active .svc-ic { background: var(--accent); color: #fff; }
.ds .svc-card.is-active .svc-more svg { transform: translateX(4px); }
.ds .work-card.is-active .work-media img { transform: scale(1.05); }
.ds .ind-card.is-active .ind-ic { transform: scale(1.08); }
@media (prefers-reduced-motion: reduce) {
  .ds .is-active { transform: none !important; box-shadow: none !important; }
}

@media (max-width: 560px) {
  .ds .section { padding-block: var(--space-10); }
  .ds .hero-cta { flex-direction: column; align-items: stretch; margin-top: var(--space-6); }
  .ds .hero-cta .btn { width: 100%; }
  .ds .display-1 { font-size: clamp(2.15rem, 8.6vw, 2.9rem); line-height: 1.08; }
  .ds .eyebrow { font-size: 11px; }
  .ds .section-head { margin-bottom: var(--space-8); }
  .ds .case-feature { padding: var(--space-5); }
  .ds .price-card { padding: var(--space-6); }
  .ds .footer-bottom { margin-top: var(--space-8); }
}

/* ==========================================================================
   Contact page
   ========================================================================== */
.ds .contact-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: var(--space-12); align-items: start; }
@media (max-width: 900px) { .ds .contact-grid { grid-template-columns: 1fr; gap: var(--space-8); } }

.ds .contact-item { display: flex; align-items: center; gap: var(--space-4); padding: var(--space-4) var(--space-5); }
.ds .contact-item .c-label { display: block; font-size: var(--text-caption); text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-tertiary); font-weight: var(--weight-semibold); }
.ds .contact-item .c-value { color: var(--text-primary); font-weight: var(--weight-medium); }
.ds .contact-ic {
  width: 42px; height: 42px; flex: none; border-radius: var(--radius-md);
  display: grid; place-items: center; color: var(--accent);
  background: linear-gradient(150deg, color-mix(in srgb, var(--accent) 20%, transparent), color-mix(in srgb, var(--accent) 6%, transparent));
  box-shadow: inset 0 0 0 1px var(--accent-subtle-border);
}

.ds .contact-form-card { padding: var(--space-8); }
@media (max-width: 560px) { .ds .contact-form-card { padding: var(--space-6); } }
.ds .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }
@media (max-width: 560px) { .ds .form-row { grid-template-columns: 1fr; } }

.ds .next-steps { counter-reset: step; }
.ds .next-steps li { display: flex; gap: var(--space-4); align-items: flex-start; }
.ds .ns-num {
  flex: none; width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center; font-size: var(--text-body-sm); font-weight: var(--weight-bold);
  color: var(--accent); background: var(--accent-subtle-bg); border: 1px solid var(--accent-subtle-border);
}

/* Flash messages banner (shown on redirect after form submit) */
.ds .ds-messages { margin-top: var(--space-6); display: flex; flex-direction: column; gap: var(--space-3); }
.ds .ds-messages .callout { animation: msg-in 0.5s var(--ease-emphasized) both; }
@keyframes msg-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .ds .ds-messages .callout { animation: none; } }

/* ==========================================================================
   Service detail page
   ========================================================================== */
.ds .svc-hero { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: var(--space-12); align-items: center; }
@media (max-width: 900px) { .ds .svc-hero { grid-template-columns: 1fr; gap: var(--space-8); } }

.ds .chip-row { display: flex; flex-wrap: wrap; gap: var(--space-2); }

.ds .svc-outcomes { padding: var(--space-8); }
@media (max-width: 560px) { .ds .svc-outcomes { padding: var(--space-6); } }
.ds .svc-outcomes .overline { display: block; margin-bottom: var(--space-5); color: var(--accent); }
.ds .checklist { list-style: none; margin: 0; padding: 0; }
.ds .checklist li { display: flex; align-items: flex-start; gap: var(--space-3); line-height: 1.5; }
.ds .check-ic {
  flex: none; width: 24px; height: 24px; border-radius: 50%; margin-top: 1px;
  display: grid; place-items: center; color: var(--accent);
  background: var(--accent-subtle-bg); border: 1px solid var(--accent-subtle-border);
}

.ds .svc-deliverable h4 { margin-bottom: var(--space-2); }

.ds .related-card { display: flex; flex-direction: column; gap: var(--space-3); }
.ds .related-card h4 { margin: 0; }

/* ==========================================================================
   Work / Portfolio page
   ========================================================================== */
.ds .work-filters {
  display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-2);
  margin: 0 auto var(--space-10);
}
.ds .work-filter {
  cursor: pointer; border: 1px solid var(--border-default); background: var(--bg-surface);
  transition: background var(--duration-base), border-color var(--duration-base), color var(--duration-base),
              transform var(--duration-fast), box-shadow var(--duration-base);
}
.ds .work-filter:hover { border-color: var(--accent-subtle-border); color: var(--text-primary); }
.ds .work-filter.is-on {
  background: var(--accent); color: #fff; border-color: var(--accent);
  box-shadow: 0 0 20px color-mix(in srgb, var(--accent) 35%, transparent);
}
.ds .work-card .work-blurb {
  padding: 0 var(--space-5) var(--space-5); margin: 0;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.ds .work-card.is-hidden { display: none; }
.ds .work-cta-card {
  background:
    radial-gradient(120% 120% at 10% 0%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 55%),
    var(--bg-surface);
  border: 1px dashed var(--accent-subtle-border);
}
.ds .work-cta-card:hover { border-style: solid; border-color: var(--accent); }

/* ==========================================================================
   About page
   ========================================================================== */
.ds .about-hero-grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: var(--space-12); align-items: center;
}
@media (max-width: 900px) { .ds .about-hero-grid { grid-template-columns: 1fr; gap: var(--space-8); } }
.ds .about-hero-media,
.ds .about-story-media {
  border-radius: var(--radius-2xl); overflow: hidden; border: 1px solid var(--border-subtle);
  box-shadow: var(--elevation-3); aspect-ratio: 4 / 3; background: var(--bg-surface);
}
.ds .about-hero-media img,
.ds .about-story-media img { width: 100%; height: 100%; object-fit: cover; display: block; }

.ds .about-expertise { gap: var(--space-5); }
.ds .expertise-item {
  padding-left: var(--space-5); border-left: 2px solid var(--accent);
  display: flex; flex-direction: column; gap: var(--space-1);
}
.ds .expertise-item h4 { margin: 0; }

.ds .about-gallery {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-4);
  grid-auto-rows: 160px;
}
.ds .about-gal-item {
  border-radius: var(--radius-xl); overflow: hidden; border: 1px solid var(--border-subtle);
  background: var(--bg-surface);
}
.ds .about-gal-item img { width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 0.7s var(--ease-emphasized); }
.ds .about-gal-item:hover img { transform: scale(1.05); }
.ds .about-gal-wide { grid-column: span 2; grid-row: span 2; }
@media (max-width: 900px) {
  .ds .about-gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 140px; }
  .ds .about-gal-wide { grid-column: span 2; grid-row: span 1; min-height: 180px; }
}
@media (max-width: 520px) {
  .ds .about-gallery { grid-template-columns: 1fr; grid-auto-rows: 180px; }
  .ds .about-gal-wide { grid-column: span 1; }
}
.ds .about-ai-points .card { padding: var(--space-4) var(--space-5); }

/* ==========================================================================
   Blog / Articles
   ========================================================================== */
.ds .blog-card {
  display: flex; flex-direction: column; overflow: hidden;
  border-radius: var(--radius-xl); border: 1px solid var(--border-subtle);
  background: var(--bg-surface); color: inherit; text-decoration: none;
  transition: transform var(--duration-base) var(--ease-emphasized),
              border-color var(--duration-base) var(--ease-standard),
              box-shadow var(--duration-base) var(--ease-standard);
}
.ds .blog-card:hover { transform: translateY(-4px); border-color: var(--accent-subtle-border); box-shadow: var(--elevation-3); color: inherit; }
.ds .blog-media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-elevated); }
.ds .blog-media img { width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 0.7s var(--ease-emphasized); }
.ds .blog-card:hover .blog-media img { transform: scale(1.05); }
.ds .blog-media-fallback,
.ds .blog-media-tone {
  width: 100%; height: 100%; display: grid; place-items: center;
  background:
    radial-gradient(120% 120% at 20% 0%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 60%),
    var(--bg-elevated);
}
.ds .blog-topic-ic {
  width: 56px; height: 56px; border-radius: var(--radius-lg); display: grid; place-items: center;
  color: var(--accent); background: var(--accent-subtle-bg); border: 1px solid var(--accent-subtle-border);
}
.ds .blog-body { padding: var(--space-5); flex: 1; }
.ds .blog-title { margin: 0; font-size: var(--text-h4); line-height: 1.35; color: var(--text-primary); }
.ds .article-hero-media {
  border-radius: var(--radius-2xl); overflow: hidden; border: 1px solid var(--border-subtle);
  aspect-ratio: 16 / 9; background: var(--bg-surface);
}
.ds .article-hero-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ds .article-prose { font-size: var(--text-body); line-height: 1.75; }
.ds .article-prose p { margin: 0 0 var(--space-5); }

/* ==========================================================================
   Live site system — motion graphics across sections & widgets
   (CSS-first; loops while in view; respects prefers-reduced-motion)
   ========================================================================== */

/* 1. Gradient heading shimmer */
.ds .grad-text { background-size: 220% auto; animation: grad-shimmer 7s ease-in-out infinite; }
@keyframes grad-shimmer { 0%, 100% { background-position: 0% center; } 50% { background-position: 100% center; } }

/* 2. Nav link underline draw */
@media (min-width: 993px) {
  .ds .primary-nav .nav-trigger { position: relative; }
  .ds .primary-nav .nav-trigger::after {
    content: ""; position: absolute; left: 10px; right: 10px; bottom: 4px; height: 2px; border-radius: 2px;
    background: var(--accent); transform: scaleX(0); transform-origin: center;
    transition: transform 0.28s var(--ease-emphasized); opacity: 0.9;
  }
  .ds .primary-nav .nav-item.open > .nav-trigger::after,
  .ds .primary-nav a.nav-trigger:hover::after,
  .ds .primary-nav .nav-item > .nav-trigger:hover::after { transform: scaleX(1); }
}

/* 3. Stats pop + soft accent glow after count */
.ds .stat.is-visible .stat-value { animation: stat-pop 0.6s var(--ease-emphasized) both; }
.ds .stat.is-visible .stat-value.is-counted {
  text-shadow: 0 0 28px color-mix(in srgb, var(--accent) 35%, transparent);
  animation: stat-pop 0.6s var(--ease-emphasized) both, stat-glow 2.8s ease-in-out 0.6s infinite;
}
@keyframes stat-pop { 0% { opacity: 0; transform: translateY(10px) scale(0.96); } 100% { opacity: 1; transform: none; } }
@keyframes stat-glow { 0%, 100% { filter: brightness(1); } 50% { filter: brightness(1.08); } }

/* 4. Featured pricing — breathing accent glow */
.ds .price-card.featured::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: 0; pointer-events: none;
  box-shadow: 0 0 0 1px var(--accent), 0 0 34px color-mix(in srgb, var(--accent) 34%, transparent);
  animation: feat-glow 3.4s ease-in-out infinite;
}
.ds .price-card.featured > * { position: relative; z-index: 1; }
.ds .price-flag { animation: flag-bob 2.8s ease-in-out infinite; }
@keyframes feat-glow { 0%, 100% { opacity: 0.35; } 50% { opacity: 1; } }
@keyframes flag-bob { 0%, 100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(-3px); } }

/* 5. (Back-to-top button removed — WhatsApp float remains) */

/* 6. Primary CTAs — always-live glow + shine (Book a call / Start a project) */
.ds .btn-primary {
  position: relative; overflow: hidden;
  isolation: isolate;
  box-shadow:
    0 0 0 0 color-mix(in srgb, var(--accent) 45%, transparent),
    0 6px 18px color-mix(in srgb, var(--accent) 28%, transparent);
  animation: btn-glow 2.6s ease-in-out infinite;
}
.ds .btn-primary::before {
  content: ""; position: absolute; inset: -2px; z-index: 0; pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(120deg,
    transparent 20%,
    color-mix(in srgb, #fff 28%, transparent) 50%,
    transparent 80%);
  opacity: 0.55;
  transform: translateX(-120%);
  animation: btn-shine 2.8s ease-in-out infinite;
}
.ds .btn-primary::after {
  /* live “available” pulse dot on the leading edge */
  content: ""; position: absolute; left: 14px; top: 50%; z-index: 2;
  width: 7px; height: 7px; margin-top: -3.5px; border-radius: 50%;
  background: #fff; box-shadow: 0 0 0 0 rgba(255,255,255,0.55);
  animation: btn-dot 2s ease-out infinite;
  opacity: 0.95;
}
.ds .btn-primary {
  /* room for the live dot */
  padding-left: calc(var(--space-5) + 12px);
}
.ds .btn-primary.btn-sm { padding-left: calc(var(--space-3) + 12px); }
.ds .btn-primary.btn-sm::after { left: 10px; width: 6px; height: 6px; margin-top: -3px; }
.ds .btn-primary.btn-lg { padding-left: calc(var(--space-6) + 14px); }
.ds .btn-primary.btn-lg::after { left: 16px; width: 8px; height: 8px; margin-top: -4px; }
.ds .btn-primary:hover {
  animation-play-state: paused;
  box-shadow:
    0 0 0 4px color-mix(in srgb, var(--accent) 22%, transparent),
    0 10px 28px color-mix(in srgb, var(--accent) 40%, transparent);
  transform: translateY(-2px);
}
.ds .btn-primary:hover::before { animation-duration: 1.4s; opacity: 0.9; }
.ds .btn-primary:active { transform: translateY(0); }
@keyframes btn-glow {
  0%, 100% {
    box-shadow:
      0 0 0 0 color-mix(in srgb, var(--accent) 40%, transparent),
      0 6px 18px color-mix(in srgb, var(--accent) 26%, transparent);
  }
  50% {
    box-shadow:
      0 0 0 6px color-mix(in srgb, var(--accent) 12%, transparent),
      0 10px 28px color-mix(in srgb, var(--accent) 42%, transparent);
  }
}
@keyframes btn-shine {
  0% { transform: translateX(-120%); }
  40%, 100% { transform: translateX(120%); }
}
@keyframes btn-dot {
  0% { box-shadow: 0 0 0 0 rgba(255,255,255,0.55); }
  70% { box-shadow: 0 0 0 8px rgba(255,255,255,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); }
}
@media (prefers-reduced-motion: reduce) {
  .ds .btn-primary,
  .ds .btn-primary::before,
  .ds .btn-primary::after { animation: none !important; }
  .ds .btn-primary { box-shadow: 0 6px 18px color-mix(in srgb, var(--accent) 28%, transparent); }
}

/* 7. Tech wall — chips light up in a travelling cascade */
.ds .techwall.is-live .tech-chip {
  animation: chip-glow 4.8s ease-in-out infinite;
}
.ds .techwall.is-live .tech-chip:nth-child(1)  { animation-delay: 0.00s; }
.ds .techwall.is-live .tech-chip:nth-child(2)  { animation-delay: 0.18s; }
.ds .techwall.is-live .tech-chip:nth-child(3)  { animation-delay: 0.36s; }
.ds .techwall.is-live .tech-chip:nth-child(4)  { animation-delay: 0.54s; }
.ds .techwall.is-live .tech-chip:nth-child(5)  { animation-delay: 0.72s; }
.ds .techwall.is-live .tech-chip:nth-child(6)  { animation-delay: 0.90s; }
.ds .techwall.is-live .tech-chip:nth-child(7)  { animation-delay: 1.08s; }
.ds .techwall.is-live .tech-chip:nth-child(8)  { animation-delay: 1.26s; }
.ds .techwall.is-live .tech-chip:nth-child(9)  { animation-delay: 1.44s; }
.ds .techwall.is-live .tech-chip:nth-child(10) { animation-delay: 1.62s; }
.ds .techwall.is-live .tech-chip:nth-child(11) { animation-delay: 1.80s; }
.ds .techwall.is-live .tech-chip:nth-child(12) { animation-delay: 1.98s; }
.ds .techwall.is-live .tech-chip:nth-child(13) { animation-delay: 2.16s; }
.ds .techwall.is-live .tech-chip:nth-child(14) { animation-delay: 2.34s; }
.ds .techwall.is-live .tech-chip:nth-child(15) { animation-delay: 2.52s; }
@keyframes chip-glow {
  0%, 12%, 100% {
    border-color: var(--border-subtle);
    box-shadow: none;
    transform: translateY(0);
  }
  6% {
    border-color: var(--accent-subtle-border);
    box-shadow: 0 0 0 1px var(--accent-subtle-border), 0 8px 22px color-mix(in srgb, var(--accent) 22%, transparent);
    transform: translateY(-3px);
  }
}

/* 8. CTA band — soft ambient breathe + looping sheen while visible */
.ds .cta-band.sheen.is-live::after,
.ds .cta-band.sheen.is-visible::after {
  content: ""; position: absolute; inset: -20%; z-index: 0; pointer-events: none;
  background: radial-gradient(ellipse at 50% 40%,
    color-mix(in srgb, var(--accent) 18%, transparent),
    transparent 60%);
  animation: cta-breathe 4.5s ease-in-out infinite;
}
@keyframes cta-breathe { 0%, 100% { opacity: 0.35; transform: scale(1); } 50% { opacity: 0.85; transform: scale(1.06); } }

/* 9. AI band — rotating conic border glow */
.ds .ai-band {
  position: relative;
  background:
    linear-gradient(var(--bg-surface), var(--bg-surface)) padding-box,
    conic-gradient(from var(--ai-angle, 0deg),
      color-mix(in srgb, var(--accent) 55%, transparent),
      transparent 28%,
      transparent 55%,
      color-mix(in srgb, var(--accent) 40%, transparent),
      transparent 85%,
      color-mix(in srgb, var(--accent) 55%, transparent)) border-box;
  border: 1px solid transparent;
}
.ds .ai-band.is-live { animation: ai-spin 6s linear infinite; }
@keyframes ai-spin { to { --ai-angle: 360deg; } }
@property --ai-angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

/* 10. Work cards — slow Ken Burns when revealed / active */
.ds .work-card .work-media { overflow: hidden; }
.ds .work-card .work-media img {
  transition: transform 0.7s var(--ease-emphasized);
  will-change: transform;
}
.ds .work-card.is-visible .work-media img,
.ds .work-card.is-active .work-media img {
  animation: ken-burns 9s ease-in-out infinite alternate;
}
.ds .work-card:hover .work-media img { animation-play-state: paused; transform: scale(1.06); }
@keyframes ken-burns {
  0% { transform: scale(1) translate(0, 0); }
  100% { transform: scale(1.08) translate(-1.5%, -1%); }
}

/* 11. Service icons — soft pulse while their grid is live */
.ds .svc-grid.is-live .svc-ic {
  animation: ic-soft 3.6s ease-in-out infinite;
}
.ds .svc-grid.is-live .svc-card:nth-child(1) .svc-ic { animation-delay: 0s; }
.ds .svc-grid.is-live .svc-card:nth-child(2) .svc-ic { animation-delay: 0.25s; }
.ds .svc-grid.is-live .svc-card:nth-child(3) .svc-ic { animation-delay: 0.5s; }
.ds .svc-grid.is-live .svc-card:nth-child(4) .svc-ic { animation-delay: 0.75s; }
.ds .svc-grid.is-live .svc-card:nth-child(5) .svc-ic { animation-delay: 1s; }
.ds .svc-grid.is-live .svc-card:nth-child(6) .svc-ic { animation-delay: 1.25s; }
@keyframes ic-soft {
  0%, 100% { box-shadow: inset 0 0 0 1px var(--accent-subtle-border); }
  50% { box-shadow: inset 0 0 0 1px var(--accent-subtle-border), 0 0 18px color-mix(in srgb, var(--accent) 28%, transparent); }
}

/* 12. Contact "next steps" — sequential node pulse (same language as process) */
.ds .next-steps.is-live .ns-num { animation: node-pulse 2.8s ease-in-out infinite; }
.ds .next-steps.is-live li:nth-child(1) .ns-num { animation-delay: 0.2s; }
.ds .next-steps.is-live li:nth-child(2) .ns-num { animation-delay: 1.0s; }
.ds .next-steps.is-live li:nth-child(3) .ns-num { animation-delay: 1.8s; }

/* 13. Checklist ticks cascade on service outcomes */
.ds .checklist.is-live .check-ic { animation: check-pop 2.6s ease-in-out infinite; }
.ds .checklist.is-live li:nth-child(1) .check-ic { animation-delay: 0.0s; }
.ds .checklist.is-live li:nth-child(2) .check-ic { animation-delay: 0.35s; }
.ds .checklist.is-live li:nth-child(3) .check-ic { animation-delay: 0.7s; }
.ds .checklist.is-live li:nth-child(4) .check-ic { animation-delay: 1.05s; }
@keyframes check-pop {
  0%, 18%, 100% { background: var(--accent-subtle-bg); transform: scale(1); }
  8% { background: var(--accent); color: #fff; transform: scale(1.12);
       box-shadow: 0 0 14px color-mix(in srgb, var(--accent) 45%, transparent); }
}

/* 14. Lead-in dash — tiny breathing accent */
.ds .lead-in.is-live::before,
.ds .section-head.is-visible .lead-in::before {
  animation: dash-breathe 2.4s ease-in-out infinite;
}
@keyframes dash-breathe {
  0%, 100% { width: 28px; opacity: 1; }
  50% { width: 40px; opacity: 0.75; box-shadow: 0 0 10px color-mix(in srgb, var(--accent) 50%, transparent); }
}

/* 15. Form inputs — living focus ring */
.ds .input:focus,
.ds .textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent),
              0 0 22px color-mix(in srgb, var(--accent) 18%, transparent);
  animation: focus-live 1.8s ease-in-out infinite;
}
@keyframes focus-live {
  0%, 100% { box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent),
                          0 0 16px color-mix(in srgb, var(--accent) 12%, transparent); }
  50% { box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 28%, transparent),
                    0 0 28px color-mix(in srgb, var(--accent) 22%, transparent); }
}

/* 16. Hero float cards — subtle accent edge pulse */
.ds .float-card {
  box-shadow: var(--elevation-3), 0 0 0 1px var(--border-subtle);
}
.ds .hero.is-live .float-card {
  animation: floaty 9s var(--ease-standard) infinite alternate,
             float-glow 3.2s ease-in-out infinite;
}
.ds .hero.is-live .float-card.br { animation-delay: -4s, 1.2s; }
@keyframes float-glow {
  0%, 100% { box-shadow: var(--elevation-3), 0 0 0 1px var(--border-subtle); }
  50% { box-shadow: var(--elevation-3), 0 0 0 1px var(--accent-subtle-border),
                    0 0 24px color-mix(in srgb, var(--accent) 28%, transparent); }
}

/* Respect reduced motion for the whole live system */
@media (prefers-reduced-motion: reduce) {
  .ds .grad-text,
  .ds .stat.is-visible .stat-value,
  .ds .stat.is-visible .stat-value.is-counted,
  .ds .price-card.featured::before,
  .ds .price-flag,
  .ds .techwall.is-live .tech-chip,
  .ds .cta-band.sheen.is-visible::after,
  .ds .cta-band.sheen.is-visible .container::before,
  .ds .ai-band.is-live,
  .ds .work-card.is-visible .work-media img,
  .ds .work-card.is-active .work-media img,
  .ds .svc-grid.is-live .svc-ic,
  .ds .next-steps.is-live .ns-num,
  .ds .checklist.is-live .check-ic,
  .ds .lead-in.is-live::before,
  .ds .section-head.is-visible .lead-in::before,
  .ds .input:focus,
  .ds .textarea:focus,
  .ds .hero.is-live .float-card { animation: none !important; }
}

/* ==========================================================================
   Breadcrumbs + page loader (SEO UX + slow-network polish)
   ========================================================================== */
.ds .crumbs { padding-block: var(--space-4) 0; }
.ds .crumbs-list {
  display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2);
  list-style: none; margin: 0; padding: 0;
  font-size: var(--text-caption); color: var(--text-tertiary);
}
.ds .crumbs-list a { color: var(--text-secondary); }
.ds .crumbs-list a:hover { color: var(--accent); }
.ds .crumbs-list [aria-current="page"] { color: var(--text-primary); font-weight: var(--weight-medium); }
.ds .crumbs-sep { margin-left: var(--space-2); opacity: 0.5; }

.page-loader {
  position: fixed; inset: 0; z-index: 10000;
  display: grid; place-items: center;
  background: color-mix(in srgb, var(--bg-base, #0B0B0F) 92%, transparent);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.35s var(--ease-standard, ease), visibility 0.35s;
}
.page-loader.is-active {
  opacity: 1; visibility: visible; pointer-events: auto;
}
.page-loader.is-done { opacity: 0; visibility: hidden; pointer-events: none; }
.page-loader-inner {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 18px;
}
.page-loader-logo {
  height: 36px; width: 160px; display: block;
  background-color: var(--text-primary, #fff);
  -webkit-mask: var(--brand-logo) center / contain no-repeat;
  mask: var(--brand-logo) center / contain no-repeat;
  opacity: 0.95;
}
.page-loader-ring {
  width: 44px; height: 44px; border-radius: 50%;
  border: 2px solid color-mix(in srgb, var(--accent, #E5484D) 25%, transparent);
  border-top-color: var(--accent, #E5484D);
  animation: loader-spin 0.85s linear infinite;
}
.page-loader-label {
  font-family: var(--font-sans, system-ui, sans-serif);
  font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text-tertiary, #8A8A98); font-weight: 600;
}
@keyframes loader-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .page-loader { display: none !important; }
  .page-loader-ring { animation: none; }
}
