/* =========================================================
   Primal Codes – Design 1 (2027)
   Brand colour taken from the logo: #7E3594
   Motif: the logo's stacked, offset translucent blocks
   ========================================================= */

:root {
  --brand: #7E3594;
  --brand-600: #6B2B80;
  --brand-700: #55206A;
  --brand-900: #2A0F36;
  --brand-50: #F7F0FA;
  --brand-100: #EFE0F5;
  --brand-200: #DFC2EB;
  --lav: #AE7AFF;
  --lav-300: #CDB0FF;
  --sun: #FFD36E;
  --mint: #4ADE9B;

  --ink: #150A1B;
  --ink-2: #1F1027;
  --ink-3: #2B1836;
  --text: #1C1222;
  --muted: #675A6F;
  --line: #ECE3F1;
  --bg: #FCFAFD;
  --card: #FFFFFF;

  --f-display: "Sora", "Inter", system-ui, sans-serif;
  --f-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --r-xl: 32px;

  --shadow-sm: 0 1px 2px rgba(28, 10, 38, .06), 0 2px 8px rgba(28, 10, 38, .04);
  --shadow: 0 10px 30px -12px rgba(60, 20, 80, .22);
  --shadow-lg: 0 30px 60px -20px rgba(60, 20, 80, .35);

  --ease: cubic-bezier(.2, .8, .2, 1);
  --container: 1240px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 76px;
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--f-display); line-height: 1.12; margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--lav); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--brand); color: #fff; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.ico { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ico-sm { width: 16px; height: 16px; }
.text-brand { color: var(--brand); }

.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--brand); color: #fff; padding: 10px 16px; border-radius: var(--r-sm); }
.skip-link:focus { top: 12px; }

/* ---------- Buttons (logo "layered block" motif) ---------- */
.btn {
  --bh: 48px;
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--bh); padding: 0 22px;
  border-radius: 12px;
  font-family: var(--f-display); font-weight: 600; font-size: 15px; letter-spacing: -0.01em;
  white-space: nowrap;
  transition: transform .35s var(--ease), background .3s, color .3s, box-shadow .35s var(--ease);
  isolation: isolate;
}
.btn-sm { --bh: 40px; padding: 0 16px; font-size: 14px; border-radius: 10px; }
.btn-lg { --bh: 56px; padding: 0 26px; font-size: 16px; }
.btn-block { width: 100%; }
.btn .ico { transition: transform .35s var(--ease); }
.btn:hover .ico { transform: translateX(3px); }

.btn-primary { background: var(--brand); color: #fff; }
.btn-primary::before, .btn-primary::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: var(--brand); opacity: .45; z-index: -1;
  transition: transform .4s var(--ease), opacity .3s;
}
.btn-primary::before { transform: translate(0, 0); }
.btn-primary::after { transform: translate(0, 0); }
.btn-primary:hover { transform: translate(-2px, -2px); }
.btn-primary:hover::before { transform: translate(5px, 5px); }
.btn-primary:hover::after { transform: translate(9px, 9px); opacity: .25; }
.btn-primary:active { transform: translate(0, 0); }

.btn-ghost-dark { color: #fff; background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,.18); backdrop-filter: blur(6px); }
.btn-ghost-dark:hover { background: rgba(255,255,255,.12); }
.mobile-menu .btn-ghost-dark { color: var(--text); background: var(--brand-50); box-shadow: inset 0 0 0 1px var(--brand-100); }

.btn-outline { color: var(--brand); box-shadow: inset 0 0 0 1.5px var(--brand-200); background: #fff; }
.btn-outline:hover { box-shadow: inset 0 0 0 1.5px var(--brand); background: var(--brand-50); }

.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 14px; color: var(--brand); }
.link-arrow .ico { transition: transform .3s var(--ease); }
.link-arrow:hover .ico { transform: translateX(4px); }

/* ---------- Eyebrows / badges / section heads ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--f-display); font-weight: 600; font-size: 13px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--brand);
}
.eyebrow::before { content: ""; width: 18px; height: 10px; background: linear-gradient(90deg, var(--brand) 60%, var(--lav) 60%); border-radius: 2px; }
.eyebrow-dark { color: var(--lav-300); }
.eyebrow-dark::before { background: linear-gradient(90deg, var(--lav) 60%, rgba(174,122,255,.4) 60%); }
.hero .eyebrow::before { display: none; }

.badge { position: absolute; top: 20px; right: 20px; font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; color: var(--brand); background: var(--brand-50); box-shadow: inset 0 0 0 1px var(--brand-100); }
.badge-solid { position: static; align-self: flex-start; display: inline-block; margin-bottom: 18px; color: #fff; background: var(--brand); box-shadow: none; }

.section { padding-block: clamp(72px, 10vw, 128px); position: relative; }
section[id] { scroll-margin-top: 64px; }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head h2 { font-size: clamp(30px, 4.4vw, 50px); margin-top: 14px; }
.section-lead { margin-top: 16px; font-size: clamp(16px, 1.6vw, 18px); color: var(--muted); max-width: 620px; }
.section-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; max-width: none; flex-wrap: wrap; }
.center-cta { display: flex; justify-content: center; margin-top: 48px; }

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background .35s, box-shadow .35s, transform .4s var(--ease);
}
.header-inner { height: var(--header-h); display: flex; align-items: center; gap: 28px; }
.brand img { width: 160px; height: auto; }
.main-nav { margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: 4px; }
.nav-link {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 10px 14px; border-radius: 10px;
  font-weight: 500; font-size: 15px; color: rgba(255,255,255,.82);
  transition: color .2s, background .2s;
}
.nav-link:hover, .mega-toggle[aria-expanded="true"] { color: #fff; background: rgba(255,255,255,.08); }
.mega-toggle .ico { transition: transform .3s var(--ease); }
.mega-toggle[aria-expanded="true"] .ico { transform: rotate(180deg); }
.header-actions { display: flex; align-items: center; gap: 14px; }
.header-phone { display: inline-flex; align-items: center; gap: 8px; color: rgba(255,255,255,.82); font-size: 14px; font-weight: 500; }
.header-phone:hover { color: #fff; }
.menu-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; color: #fff; background: rgba(255,255,255,.08); align-items: center; justify-content: center; }

.site-header.is-scrolled { background: rgba(252, 250, 253, .86); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); box-shadow: 0 1px 0 var(--line); }
.site-header.is-scrolled .nav-link, .site-header.is-scrolled .header-phone { color: var(--text); }
.site-header.is-scrolled .nav-link:hover, .site-header.is-scrolled .mega-toggle[aria-expanded="true"] { background: var(--brand-50); color: var(--brand); }
.site-header.is-scrolled .menu-toggle { color: var(--text); background: var(--brand-50); }
.site-header.is-hidden { transform: translateY(-100%); }

/* Mega menu */
.has-mega { position: relative; }
.mega {
  position: absolute; top: calc(100% + 12px); left: 50%;
  width: min(880px, 92vw);
  transform: translate(-50%, 8px);
  background: #fff; color: var(--text);
  border-radius: var(--r-lg); box-shadow: var(--shadow-lg), 0 0 0 1px var(--line);
  padding: 24px;
  opacity: 0; visibility: hidden;
  transition: opacity .25s, transform .35s var(--ease), visibility .25s;
}
.mega::before { content: ""; position: absolute; inset: -14px 0 auto; height: 14px; }
.has-mega.is-open .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.mega-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px 20px; }
.mega-title { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding: 6px 10px; }
.mega-col a { display: flex; gap: 12px; align-items: flex-start; padding: 10px; border-radius: 12px; transition: background .2s; }
.mega-col a:hover { background: var(--brand-50); }
.mega-col a > .ico { color: var(--brand); margin-top: 2px; }
.mega-col a span { display: grid; }
.mega-col b { font-weight: 600; font-size: 14.5px; }
.mega-col small { color: var(--muted); font-size: 13px; }
.mega-col .mega-cta { margin-top: 8px; background: var(--ink); color: #fff; align-items: center; justify-content: space-between; }
.mega-col .mega-cta small { color: rgba(255,255,255,.7); }
.mega-col .mega-cta:hover { background: var(--brand); }

/* Mobile menu */
.mobile-menu { position: fixed; inset: var(--header-h) 0 0 0; background: var(--bg); overflow-y: auto; z-index: 99; }
.mobile-menu-inner { padding: 16px var(--gutter) 120px; display: grid; gap: 4px; }
.m-group summary, .m-link { display: flex; align-items: center; justify-content: space-between; padding: 16px 4px; font-family: var(--f-display); font-size: 20px; font-weight: 600; border-bottom: 1px solid var(--line); cursor: pointer; list-style: none; }
.m-group summary::-webkit-details-marker { display: none; }
.m-group[open] summary .ico { transform: rotate(180deg); }
.m-group a { display: block; padding: 10px 4px 10px 14px; color: var(--muted); font-weight: 500; }
.m-group a:hover { color: var(--brand); }
.m-actions { display: grid; gap: 10px; margin-top: 24px; }
body.menu-open { overflow: hidden; }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative; overflow: hidden;
  background: var(--ink); color: #fff;
  padding-top: calc(var(--header-h) + clamp(32px, 6vw, 72px));
  padding-bottom: 40px;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; will-change: transform; }
.b1 { width: 560px; height: 560px; background: var(--brand); top: -180px; right: -120px; animation: float1 18s ease-in-out infinite; }
.b2 { width: 420px; height: 420px; background: #5B2BD6; bottom: -160px; left: -140px; opacity: .45; animation: float2 22s ease-in-out infinite; }
.b3 { width: 300px; height: 300px; background: var(--lav); top: 40%; left: 45%; opacity: .22; animation: float1 26s ease-in-out infinite reverse; }
@keyframes float1 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-60px, 40px) scale(1.08); } }
@keyframes float2 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(70px, -30px) scale(1.1); } }
.hero-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 70% at 70% 30%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 70% 30%, #000 30%, transparent 75%);
}
.hero-inner { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }

.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 0 rgba(74,222,155,.6); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(74,222,155,.55); } 70% { box-shadow: 0 0 0 10px rgba(74,222,155,0); } 100% { box-shadow: 0 0 0 0 rgba(74,222,155,0); } }
.hero .eyebrow { padding: 8px 14px; border-radius: 999px; background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); text-transform: none; letter-spacing: 0; font-size: 13.5px; color: rgba(255,255,255,.85); }

.hero-title { margin-top: 22px; font-size: clamp(36px, 5.2vw, 66px); font-weight: 700; letter-spacing: -0.035em; line-height: 1.06; }
.hero-h { display: block; max-width: 13em; }
.hero-h .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.hero-h .wi { display: inline-block; }
.js .hero-h.is-split .wi { transform: translateY(110%); transition: transform .9s var(--ease); transition-delay: calc(var(--i) * 55ms + 150ms); }
.js .hero-h.is-split.is-in .wi { transform: none; }
.hero-kicker { display: block; font-size: clamp(14px, 1.4vw, 16px); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--lav-300); margin-bottom: 14px; }
.hl { font-style: normal; position: relative; white-space: nowrap; background: linear-gradient(92deg, #fff 10%, var(--lav-300) 55%, #F3A6FF 95%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hl { display: inline-block; }
.hl::after { content: ""; position: absolute; left: 0; right: 0; bottom: .04em; height: .09em; border-radius: 4px; background: linear-gradient(90deg, var(--brand), var(--lav)); transform: scaleX(0); transform-origin: left; animation: underline 1s 1.1s var(--ease) forwards; }
@keyframes underline { to { transform: scaleX(1); } }

.hero-lead { margin-top: 24px; font-size: clamp(17px, 1.8vw, 20px); color: rgba(255,255,255,.75); max-width: 540px; }
.rotator { display: inline-grid; vertical-align: bottom; color: #fff; font-weight: 600; }
.rotator-word { display: inline-block; padding: 0 8px; border-radius: 8px; background: rgba(126,53,148,.55); box-shadow: inset 0 0 0 1px rgba(174,122,255,.45); transition: opacity .35s, transform .45s var(--ease); }
.rotator-word.is-out { opacity: 0; transform: translateY(-60%); }
.rotator-word.is-in { opacity: 0; transform: translateY(60%); }

.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-note { display: flex; align-items: center; gap: 8px; margin-top: 18px; font-size: 14px; color: rgba(255,255,255,.6); }
.hero-note .ico { color: var(--mint); }

/* Hero visual: "From chaos to control" */
.hero-visual { position: relative; perspective: 1400px; }
.cx-wrap { --s: 1; position: relative; width: 100%; height: calc(500px * var(--s)); transition: transform .6s var(--ease); }
.cx { position: absolute; top: 0; left: calc(50% - 280px * var(--s)); width: 560px; height: 500px; transform: scale(var(--s)); transform-origin: 0 0; }

/* the scattered "before" items */
.ci {
  --sh: 0 22px 38px -14px rgba(0,0,0,.7);
  position: absolute; left: var(--x); top: var(--y);
  transform: translate(0, 0) rotate(var(--r)) scale(1);
  transition: transform .85s var(--ease), opacity .55s ease;
  transition-delay: calc(var(--i) * 45ms);
  box-shadow: var(--sh);
}
.is-chaos .ci { animation: drift 3.8s ease-in-out infinite; animation-delay: calc(var(--i) * -.55s); }
@keyframes drift { 0%, 100% { translate: 0 0; } 50% { translate: 0 -9px; } }
.is-merge .ci, .is-order .ci { transform: translate(var(--tx), var(--ty)) rotate(0deg) scale(.15); opacity: 0; }

.ci-invoice { width: 152px; padding: 14px 14px 16px; background: #fff; color: #2B2B2B; border-radius: 6px; display: grid; gap: 6px; font-size: 10.5px; }
.ci-invoice b { font: 700 14px/1 var(--f-display); letter-spacing: .14em; }
.ci-invoice small { color: #8A8A8A; margin-bottom: 4px; }
.ci-invoice i { height: 6px; border-radius: 3px; background: #ECECEC; }
.ci-invoice i.short { width: 60%; }
.ci-invoice strong { margin-top: 6px; font-size: 13px; }
.ci-fold { position: absolute; top: 0; right: 0; width: 20px; height: 20px; background: linear-gradient(225deg, var(--ink) 50%, #E4E4E4 50%); border-radius: 0 6px 0 4px; }
.stamp { position: absolute; right: 8px; bottom: 34px; transform: rotate(-14deg); padding: 2px 7px; border: 2px solid #E5484D; border-radius: 4px; color: #E5484D; font: 700 12px var(--f-display); font-style: normal; animation: blink 1.6s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .35; } }

.ci-excel { width: 224px; background: #fff; color: #222; border-radius: 8px; overflow: hidden; font-size: 10.5px; }
.xl-bar { display: flex; align-items: center; gap: 8px; padding: 6px 10px; background: #1D6F42; color: #fff; font-weight: 600; font-size: 10.5px; }
.xl-bar span { width: 16px; height: 16px; display: grid; place-items: center; border-radius: 3px; background: #fff; color: #1D6F42; font-weight: 800; font-size: 10px; }
.xl-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; }
.xl-grid span { padding: 5px 8px; border-right: 1px solid #E5E5E5; border-bottom: 1px solid #E5E5E5; white-space: nowrap; }
.xl-grid span:nth-child(-n+3) { background: #F2F2F2; font-weight: 700; }
.xl-grid .err { color: #D3363B; font-weight: 700; background: #FFECEC; }

.ci-call { width: 206px; display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: 14px; background: #fff; color: var(--text); }
.ci-call .ring { width: 40px; height: 40px; flex: none; display: grid; place-items: center; border-radius: 50%; background: #E5484D; color: #fff; animation: ring 1.4s ease-in-out infinite; }
.ci-call .ico { width: 18px; height: 18px; }
.ci-call b { display: block; font-size: 13px; }
.ci-call small { font-size: 11px; color: var(--muted); }
@keyframes ring { 0%, 60%, 100% { transform: rotate(0); } 10% { transform: rotate(-16deg); } 20% { transform: rotate(16deg); } 30% { transform: rotate(-12deg); } 40% { transform: rotate(12deg); } 50% { transform: rotate(-6deg); } }

.ci-wa { width: 200px; padding-bottom: 9px; background: #ECE5DD; color: #111; border-radius: 12px; font-size: 11px; }
.wa-head { display: flex; align-items: center; gap: 8px; padding: 8px 10px; background: #075E54; color: #fff; font-weight: 600; border-radius: 12px 12px 0 0; }
.wa-head i { width: 20px; height: 20px; border-radius: 50%; background: #A8D5C9; }
.wa-head small { margin-left: auto; font-weight: 400; opacity: .8; font-size: 10px; }
.ci-wa p { width: fit-content; max-width: 82%; margin: 6px 8px 0; padding: 5px 8px; border-radius: 8px; box-shadow: 0 1px 0 rgba(0,0,0,.08); }
.ci-wa .in { background: #fff; }
.ci-wa .out { margin-left: auto; background: #DCF8C6; }
.wa-count { position: absolute; top: -9px; right: -9px; min-width: 26px; height: 26px; padding: 0 6px; display: grid; place-items: center; border-radius: 13px; background: #25D366; color: #fff; font-weight: 700; font-size: 11px; box-shadow: 0 4px 10px rgba(0,0,0,.3); animation: blink 1.4s ease-in-out infinite; }

.ci-note { width: 142px; min-height: 120px; padding: 14px; background: #FFE97A; color: #5A4A00; border-radius: 2px 2px 16px 2px; font: 600 14px/1.55 "Marker Felt", "Comic Sans MS", "Segoe Print", cursive; }
.ci-note p:first-child { color: #C0392B; }

.ci-register { width: 112px; height: 140px; display: grid; align-content: center; gap: 4px; padding: 12px 10px 12px 18px; text-align: center; color: #F4DFC0; background: linear-gradient(90deg, #5C3A21 0 10px, #8B5A2B 10px); border-radius: 4px 8px 8px 4px; }
.ci-register b { font: 700 11px var(--f-display); letter-spacing: .08em; }
.ci-register small { font-size: 9px; letter-spacing: .1em; }

.ci-mail { width: 196px; display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 10px; background: #fff; color: var(--text); font-size: 11px; }
.ci-mail .ico { color: var(--muted); }
.ci-mail em { margin-left: auto; padding: 1px 6px; border-radius: 8px; background: #E5484D; color: #fff; font-style: normal; font-weight: 700; font-size: 10px; }

/* the merge flash */
.cx-core { position: absolute; left: 220px; top: 190px; width: 120px; height: 120px; border-radius: 50%; background: radial-gradient(circle, rgba(205,176,255,.95), rgba(126,53,148,0) 70%); opacity: 0; transform: scale(.3); pointer-events: none; }
.is-merge .cx-core { animation: core 1s ease-out; }
@keyframes core { 0% { opacity: 0; transform: scale(.3); } 45% { opacity: 1; transform: scale(1.5); } 100% { opacity: 0; transform: scale(3.2); } }

/* the organised "after" system */
.sys, .sys-l, .sys-phone, .sys-badge, .sys-proof { position: absolute; opacity: 0; pointer-events: none; transition: opacity .6s ease, transform .8s var(--ease); }
.sys { left: 20px; top: 74px; width: 400px; background: #fff; color: var(--text); border-radius: 16px; overflow: hidden; box-shadow: 0 40px 80px -30px rgba(0,0,0,.75), 0 0 0 1px rgba(255,255,255,.08); transform: translateY(18px) scale(.92); }
.sys-l { left: 38px; top: 92px; width: 400px; height: 300px; border-radius: 16px; background: var(--brand); transform: translate(-18px, -18px); }
.is-order .sys { opacity: 1; transform: none; transition-delay: .1s; }
.is-order .sys-l { opacity: .5; transform: none; transition-delay: .35s; }
.sys-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #F4EEF7; border-bottom: 1px solid var(--line); font-size: 11.5px; color: var(--muted); }
.sys-bar i { width: 9px; height: 9px; border-radius: 50%; }
.sys-bar i:nth-child(1) { background: #FF8A8A; } .sys-bar i:nth-child(2) { background: #FFD36E; } .sys-bar i:nth-child(3) { background: #6FDB9F; }
.sys-bar span { margin-left: 8px; font-weight: 600; }
.sys-body { padding: 14px 16px; }
.sys-hi { margin-bottom: 10px; font: 700 15px var(--f-display); }
.sys-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.st { display: grid; gap: 1px; padding: 10px; border-radius: 12px; background: var(--brand-50); opacity: 0; transform: translateY(10px) scale(.96); transition: opacity .45s ease, transform .55s var(--ease); }
.is-order .st { opacity: 1; transform: none; transition-delay: calc(.35s + var(--k) * 90ms); }
.st .ico { width: 28px; height: 28px; padding: 6px; margin-bottom: 6px; border-radius: 8px; background: var(--brand); color: #fff; }
.st b { font-size: 12.5px; }
.st small { font-size: 10.5px; color: var(--muted); }
.st em { display: flex; align-items: center; gap: 4px; margin-top: 3px; font-style: normal; font-size: 10px; font-weight: 600; color: #12A15B; }
.st em::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #2CCB7F; }
.sys-foot { display: flex; align-items: center; gap: 6px; margin-top: 12px; font-size: 11px; color: var(--muted); }
.sys-foot i { width: 8px; height: 8px; border-radius: 50%; background: #2CCB7F; animation: pulse 2s infinite; }

.sys-phone { left: 378px; top: 150px; width: 164px; height: 304px; padding: 9px; background: #0E0612; border-radius: 28px; box-shadow: 0 40px 70px -24px rgba(0,0,0,.8), inset 0 0 0 2px rgba(255,255,255,.1); transform: translate(40px, 16px); }
.is-order .sys-phone { opacity: 1; transform: none; transition-delay: .3s; animation: bob 6s ease-in-out infinite 1.2s; }
.sp-notch { position: absolute; top: 15px; left: 50%; width: 54px; height: 14px; transform: translateX(-50%); background: #0E0612; border-radius: 10px; z-index: 2; }
.sp-screen { height: 100%; display: grid; align-content: start; gap: 7px; padding: 32px 9px 9px; border-radius: 20px; background: linear-gradient(180deg, #F7F0FA, #fff 45%); color: var(--text); overflow: hidden; }
.sp-title { margin-bottom: 2px; font: 700 13px var(--f-display); }
.sp-n { display: flex; align-items: flex-start; gap: 7px; padding: 8px; border-radius: 10px; background: #fff; box-shadow: var(--shadow-sm); font-size: 10px; line-height: 1.3; opacity: 0; transform: translateY(-10px); transition: opacity .4s ease, transform .5s var(--ease); }
.is-order .sp-n { opacity: 1; transform: none; transition-delay: calc(.8s + var(--k) * .45s); }
.sp-n .ico { width: 16px; height: 16px; flex: none; padding: 2px; border-radius: 50%; background: #2CCB7F; color: #fff; stroke-width: 3; }
.sp-n b { display: block; font-size: 10.5px; }
.sp-n small { color: var(--muted); }

.sys-badge { left: 24px; top: 22px; display: flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; background: #2CCB7F; color: #04301A; font: 700 13.5px var(--f-display); box-shadow: 0 16px 30px -12px rgba(44,203,127,.7); transform: scale(.6); }
.sys-badge .ico { stroke-width: 3; }
.is-order .sys-badge { opacity: 1; transform: none; transition-delay: .9s; }
.sys-proof { left: 292px; top: 8px; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 14px; background: rgba(255,255,255,.95); color: var(--text); box-shadow: 0 20px 40px -16px rgba(0,0,0,.6); transform: translateY(-12px); }
.sys-proof strong { font: 700 22px var(--f-display); color: var(--brand); }
.sys-proof span { font-size: 12.5px; font-weight: 600; line-height: 1.25; }
.sys-proof small { font-weight: 500; color: var(--muted); font-size: 11px; }
.is-order .sys-proof { opacity: 1; transform: none; transition-delay: 1.15s; }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }

/* Before / After switch */
.cx-toggle { display: flex; gap: 6px; width: fit-content; margin: 18px auto 0; padding: 5px; border-radius: 14px; background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); }
.cx-toggle button { position: relative; overflow: hidden; display: flex; align-items: center; gap: 7px; padding: 9px 14px; border-radius: 10px; font-size: 13px; color: rgba(255,255,255,.6); transition: background .3s, color .3s; }
.cx-toggle button:hover { color: #fff; }
.cx-toggle button b { color: inherit; font-weight: 700; }
.cx-toggle button.is-active { background: rgba(255,255,255,.12); color: #fff; }
.cx-dot { width: 8px; height: 8px; border-radius: 50%; background: #FF6B6B; }
.cx-toggle button + button .cx-dot { background: var(--mint); }
.cx-prog { position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--lav); }
.cx-toggle button.is-active .cx-prog { animation: prog var(--dur, 4s) linear forwards; }
.cx-toggle.is-manual button.is-active .cx-prog { animation: none; width: 100%; }
@keyframes prog { to { width: 100%; } }

/* Stats */
.hero-stats {
  position: relative; margin-top: clamp(40px, 6vw, 72px);
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255,255,255,.12);
}
.hero-stats li { padding: 28px 8px 8px; display: grid; gap: 2px; }
.hero-stats li + li { padding-left: 28px; border-left: 1px solid rgba(255,255,255,.12); }
.hero-stats strong { font-family: var(--f-display); font-size: clamp(32px, 4vw, 48px); font-weight: 700; letter-spacing: -0.03em; line-height: 1; }
.hero-stats li > span { color: rgba(255,255,255,.6); font-size: 14px; }

/* =========================================================
   CLIENT MARQUEE
   ========================================================= */
.clients { padding: 48px 0 8px; background: var(--bg); }
.clients-head p { text-align: center; font-size: 16px; font-weight: 600; color: var(--muted); letter-spacing: .02em; }
.marquee { overflow: hidden; margin-top: 24px; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 45s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track li { flex: none; width: 184px; height: 92px; margin-right: 16px; display: grid; place-items: center; padding: 12px 18px; border-radius: 16px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .3s, transform .4s var(--ease); }
.marquee-track li:hover { box-shadow: inset 0 0 0 1px var(--brand-200), var(--shadow); transform: translateY(-3px); }
.lg { position: relative; display: block; width: var(--lw); aspect-ratio: var(--ar); overflow: hidden; transition: transform .4s var(--ease); }
.lg img { position: absolute; max-width: none; width: var(--iw); height: auto; left: var(--ix); top: var(--iy); mix-blend-mode: multiply; }
.marquee-track li:hover .lg { transform: scale(1.06); }
.lg-name { display: none; font-family: var(--f-display); font-weight: 700; color: #8A7B92; font-size: 15px; text-align: center; line-height: 1.2; }
.marquee-track li.noimg .lg { display: none; }
.marquee-track li.noimg .lg-name { display: block; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* =========================================================
   SERVICES BENTO
   ========================================================= */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.bento-card {
  --mx: 50%; --my: 50%;
  position: relative; overflow: hidden;
  padding: 28px; border-radius: var(--r-lg);
  background: var(--card); box-shadow: inset 0 0 0 1px var(--line);
  display: flex; flex-direction: column; gap: 12px;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.bento-card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(126,53,148,.10), transparent 45%);
  opacity: 0; transition: opacity .3s;
}
.bento-card:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px var(--brand-200), var(--shadow); }
.bento-card:hover::before { opacity: 1; }
.bento-card h3 { font-size: 21px; }
.bento-card p { color: var(--muted); font-size: 15px; }
.bento-card .link-arrow { margin-top: auto; padding-top: 8px; }
.bento-icon {
  position: relative; width: 48px; height: 48px; border-radius: 12px;
  display: grid; place-items: center; color: #fff; background: var(--brand);
  margin-bottom: 6px;
}
.bento-icon::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--brand); opacity: .35; transform: translate(6px, 6px); z-index: -1; transition: transform .4s var(--ease); }
.bento-card:hover .bento-icon::after { transform: translate(9px, 9px); }
.bento-icon { isolation: isolate; }

.bento-xl { grid-column: span 2; grid-row: span 2; padding: 36px; background: linear-gradient(160deg, #fff 30%, var(--brand-50)); }
.bento-xl h3 { font-size: clamp(26px, 2.6vw, 34px); max-width: 420px; }
.bento-xl p { font-size: 16.5px; max-width: 460px; }
.bento-xl em { font-style: normal; color: var(--brand); font-weight: 600; }
.module-cloud { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 8px; }
.module-cloud li {
  padding: 8px 14px; border-radius: 999px; font-size: 14px; font-weight: 500;
  background: #fff; box-shadow: inset 0 0 0 1px var(--brand-100), var(--shadow-sm);
  transition: background .3s, color .3s, transform .3s var(--ease);
}
.module-cloud li.is-lit { background: var(--brand); color: #fff; transform: translateY(-2px); }

.bento-wide { grid-column: span 2; }
.bento-dark { background: var(--ink-2); color: #fff; box-shadow: none; }
.bento-dark p { color: rgba(255,255,255,.7); }
.bento-dark .link-arrow { color: var(--lav-300); }
.bento-dark::before { background: radial-gradient(420px circle at var(--mx) var(--my), rgba(174,122,255,.18), transparent 45%); }
.bento-dark .bento-icon { background: var(--lav); color: var(--ink); }
.bento-dark .bento-icon::after { background: var(--lav); }
.bento-split { display: grid; grid-template-columns: 1.3fr .9fr; gap: 20px; align-items: center; height: 100%; }
.bento-split > div:first-child { display: flex; flex-direction: column; gap: 12px; height: 100%; }
.mini-phones { position: relative; height: 200px; }
.mp { position: absolute; width: 92px; height: 186px; border-radius: 20px; background: #0E0612; padding: 8px; box-shadow: 0 20px 40px -14px rgba(0,0,0,.7), inset 0 0 0 1.5px rgba(255,255,255,.12); display: grid; align-content: start; gap: 6px; }
.mp i { display: block; height: 30px; border-radius: 8px; background: rgba(255,255,255,.1); }
.mp i:first-child { height: 60px; background: linear-gradient(135deg, var(--brand), var(--lav)); }
.mp-1 { left: 10%; top: 10px; transform: rotate(-8deg); transition: transform .5s var(--ease); }
.mp-2 { left: 48%; top: 0; transform: rotate(6deg); transition: transform .5s var(--ease); }
.mp-2 i:first-child { background: linear-gradient(135deg, #F3A6FF, var(--brand)); }
.bento-dark:hover .mp-1 { transform: rotate(-12deg) translate(-6px, -6px); }
.bento-dark:hover .mp-2 { transform: rotate(10deg) translate(6px, -8px); }

/* =========================================================
   WORK
   ========================================================= */
.work { background: linear-gradient(180deg, var(--bg), #F6F0F9); }
.filters { display: flex; gap: 6px; padding: 5px; border-radius: 14px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); flex-wrap: wrap; }
.filter { padding: 9px 16px; border-radius: 10px; font-size: 14px; font-weight: 600; color: var(--muted); transition: background .25s, color .25s; }
.filter:hover { color: var(--brand); }
.filter.is-active { background: var(--brand); color: #fff; }

.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; grid-auto-flow: dense; }
.work-card { border-radius: var(--r-lg); background: #fff; box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; transition: transform .45s var(--ease), box-shadow .45s var(--ease), opacity .35s; }
.work-card:hover { transform: translateY(-6px); box-shadow: inset 0 0 0 1px var(--brand-200), var(--shadow-lg); }
.work-card.is-hidden { display: none; }
.work-card.is-entering { animation: cardIn .5s var(--ease) both; }
@keyframes cardIn { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }
.work-link { display: flex; flex-direction: column; height: 100%; }
.work-media { position: relative; aspect-ratio: 16 / 11; overflow: hidden; background: linear-gradient(135deg, var(--brand-100), var(--lav-300)); }
.work-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(21,10,27,.12)); }
.work-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.work-card:hover .work-media img { transform: scale(1.06); }
.work-media.noimg img { display: none; }
.work-body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.work-client { font-size: 13px; font-weight: 600; color: var(--brand); letter-spacing: .01em; }
.work-body h3 { font-size: 19px; line-height: 1.25; }
.work-desc { color: var(--muted); font-size: 15px; }
.metrics { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 6px; }
.metrics li { padding: 6px 12px; border-radius: 10px; background: var(--brand-50); font-size: 13px; color: var(--muted); }
.metrics strong { font-family: var(--f-display); color: var(--brand); font-size: 15px; margin-right: 2px; }
.tags { margin-top: auto; font-size: 13px; color: var(--muted); }
.work-more { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 14px; color: var(--brand); margin-top: 6px; }

.work-feature { grid-column: span 2; }
.work-feature .work-link { display: grid; grid-template-columns: 1.15fr 1fr; }
.work-feature .work-media { aspect-ratio: auto; height: 100%; min-height: 320px; background: #fff; }
.work-feature .work-media img { object-fit: contain; padding: 12px; }
.work-feature .work-body { padding: 32px; justify-content: center; }
.work-feature h3 { font-size: clamp(22px, 2.2vw, 28px); }
.work-feature .metrics { margin-top: 6px; }

/* =========================================================
   INDUSTRIES
   ========================================================= */
.ind-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.ind-card {
  position: relative; padding: 28px; border-radius: var(--r-lg);
  background: #fff; box-shadow: inset 0 0 0 1px var(--line);
  display: grid; gap: 10px; align-content: start;
  transition: transform .45s var(--ease), box-shadow .45s, background .45s;
  overflow: hidden;
}
.ind-card::after { content: ""; position: absolute; right: -40px; bottom: -40px; width: 140px; height: 140px; border-radius: 28px; background: var(--brand); opacity: 0; transform: rotate(18deg) translate(30px, 30px); transition: opacity .45s, transform .6s var(--ease); }
.ind-card:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px var(--brand-200), var(--shadow); }
.ind-card:hover::after { opacity: .08; transform: rotate(18deg) translate(0, 0); }
.ind-icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--brand-50); color: var(--brand); transition: background .3s, color .3s; }
.ind-card:hover .ind-icon { background: var(--brand); color: #fff; }
.ind-card h3 { font-size: 20px; margin-top: 6px; }
.ind-card p { color: var(--muted); font-size: 15px; }
.ind-card small { font-size: 13px; font-weight: 600; color: var(--brand); }

/* =========================================================
   WHY + PROCESS (dark)
   ========================================================= */
.dark { background: var(--ink); color: #fff; overflow: hidden; }
.dark .section-lead { color: rgba(255,255,255,.65); }
.why-bg { position: absolute; inset: 0; pointer-events: none; }
.b4 { width: 600px; height: 600px; background: var(--brand); left: -200px; top: -200px; opacity: .35; animation: float2 24s ease-in-out infinite; }
.why-top { position: relative; display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.why-list { display: grid; gap: 14px; }
.why-list li { display: flex; gap: 18px; padding: 22px; border-radius: var(--r); background: rgba(255,255,255,.04); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); transition: background .3s, transform .4s var(--ease); }
.why-list li:hover { background: rgba(255,255,255,.07); transform: translateX(6px); }
.why-ico { flex: none; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: rgba(174,122,255,.16); color: var(--lav-300); }
.why-list h3 { font-size: 18px; margin-bottom: 4px; }
.why-list p { color: rgba(255,255,255,.65); font-size: 15px; }

.process { position: relative; margin-top: clamp(64px, 8vw, 96px); }
.process-title { font-size: 22px; margin-bottom: 28px; }
.process-steps { --p: 0; position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.process-steps::before, .process-steps::after { content: ""; position: absolute; left: 0; top: 73px; height: 2px; border-radius: 2px; }
.process-steps::before { right: 0; background: rgba(255,255,255,.1); }
.process-steps::after { width: calc(var(--p) * 100%); background: linear-gradient(90deg, var(--brand), var(--lav)); transition: width .2s linear; }
.process-steps li { position: relative; padding-top: 52px; }
.step-no { position: absolute; top: 0; left: 0; font-family: var(--f-display); font-size: 13px; font-weight: 700; color: var(--lav-300); letter-spacing: .1em; }
.process-steps .ico { width: 44px; height: 44px; padding: 10px; border-radius: 12px; background: var(--ink-3); color: var(--lav-300); box-shadow: 0 0 0 6px var(--ink); position: relative; z-index: 1; margin-bottom: 18px; transition: background .4s, color .4s; }
.process-steps li.is-done .ico { background: var(--brand); color: #fff; }
.process-steps h4 { font-size: 18px; margin-bottom: 6px; }
.process-steps p { font-size: 14.5px; color: rgba(255,255,255,.62); }

/* =========================================================
   ESTIMATE
   ========================================================= */
.estimate { padding-bottom: 0; }
.estimate-card {
  position: relative; display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 5vw, 64px); align-items: center;
  padding: clamp(28px, 5vw, 56px); border-radius: var(--r-xl);
  background: linear-gradient(135deg, var(--brand-700), var(--brand) 55%, #9A4FB3);
  color: #fff; overflow: hidden; isolation: isolate;
}
.estimate-card::before, .estimate-card::after { content: ""; position: absolute; border-radius: 40px; background: #fff; opacity: .07; z-index: -1; }
.estimate-card::before { width: 420px; height: 300px; right: -120px; top: -120px; transform: rotate(-12deg); }
.estimate-card::after { width: 420px; height: 300px; right: -80px; top: -80px; transform: rotate(-12deg); }
.estimate-card .eyebrow { color: #fff; }
.estimate-card .eyebrow::before { background: linear-gradient(90deg, #fff 60%, rgba(255,255,255,.4) 60%); }
.est-copy h2 { font-size: clamp(28px, 3.6vw, 42px); margin: 14px 0 14px; }
.est-copy p { color: rgba(255,255,255,.82); font-size: 17px; }
.est-points { display: flex; flex-wrap: wrap; gap: 10px 20px; margin-top: 22px; font-size: 14.5px; font-weight: 500; }
.est-points li { display: inline-flex; align-items: center; gap: 8px; }
.est-form { background: #fff; color: var(--text); border-radius: var(--r-lg); padding: 24px; box-shadow: var(--shadow-lg); }
.est-form fieldset { border: 0; margin: 0 0 18px; padding: 0; }
.est-form legend { font-weight: 600; font-size: 14px; color: var(--muted); margin-bottom: 12px; }
.choice-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.choice { position: relative; cursor: pointer; }
.choice input { position: absolute; opacity: 0; inset: 0; }
.choice span { display: flex; align-items: center; gap: 10px; padding: 14px; border-radius: 12px; box-shadow: inset 0 0 0 1.5px var(--line); font-weight: 600; font-size: 14.5px; transition: box-shadow .2s, background .2s, color .2s; }
.choice span .ico { color: var(--brand); }
.choice:hover span { box-shadow: inset 0 0 0 1.5px var(--brand-200); }
.choice input:checked + span { background: var(--brand-50); box-shadow: inset 0 0 0 2px var(--brand); color: var(--brand-700); }
.choice input:focus-visible + span { outline: 3px solid var(--lav); outline-offset: 2px; }
.est-form .btn-primary::before, .est-form .btn-primary::after { display: none; }
.est-form .btn-primary:hover { transform: none; background: var(--brand-600); }

/* =========================================================
   TECH
   ========================================================= */
.tech-groups { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.tech-group { padding: 22px; border-radius: var(--r); background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.tech-group h3 { font-size: 13px; font-family: var(--f-body); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.tech-group ul { display: flex; flex-wrap: wrap; gap: 8px; }
.tech-group li { font-size: 14px; font-weight: 600; }
.tech-group li > a, .tech-group li:not(:has(a)) { display: inline-block; padding: 7px 12px; border-radius: 10px; background: var(--brand-50); transition: background .25s, color .25s, transform .3s var(--ease); }
.tech-group li > a:hover { background: var(--brand); color: #fff; transform: translateY(-2px); }

/* =========================================================
   TESTIMONIALS
   ========================================================= */
.testimonials { background: #F6F0F9; overflow: hidden; }
.slider-nav { display: flex; gap: 10px; }
.icon-btn { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: #fff; box-shadow: inset 0 0 0 1px var(--line); transition: background .25s, color .25s; }
.icon-btn:hover { background: var(--brand); color: #fff; }
.t-slider { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 44px) / 3); gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; padding-bottom: 6px; }
.t-slider::-webkit-scrollbar { display: none; }
.t-card { margin: 0; scroll-snap-align: start; padding: 30px; border-radius: var(--r-lg); background: #fff; box-shadow: inset 0 0 0 1px var(--line); display: flex; flex-direction: column; gap: 18px; position: relative; }
.t-card::before { content: "“"; position: absolute; right: 24px; top: 4px; font-family: var(--f-display); font-size: 96px; line-height: 1; color: var(--brand-100); }
.stars { display: flex; gap: 3px; }
.stars svg { width: 16px; height: 16px; fill: var(--sun); stroke: none; }
.t-card blockquote { margin: 0; font-size: 16px; line-height: 1.65; color: var(--text); flex: 1; }
.t-card figcaption { display: flex; align-items: center; gap: 12px; }
.t-card figcaption span:last-child { display: grid; line-height: 1.3; }
.t-card b { font-size: 15px; } .t-card small { color: var(--muted); font-size: 13px; }
.avatar { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-family: var(--f-display); font-weight: 700; font-size: 14px; color: #fff; background: linear-gradient(135deg, var(--brand), var(--lav)); flex: none; }
.slider-dots { display: flex; justify-content: center; gap: 8px; margin-top: 28px; }
.slider-dots button { width: 8px; height: 8px; border-radius: 999px; background: var(--brand-200); transition: width .35s var(--ease), background .3s; }
.slider-dots button.is-active { width: 28px; background: var(--brand); }

/* =========================================================
   FAQ
   ========================================================= */
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.faq-wrap .section-head { position: sticky; top: calc(var(--header-h) + 24px); }
.faq-wrap .section-lead a { color: var(--brand); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.faq-list { display: grid; gap: 12px; }
.faq-item { border-radius: var(--r); background: #fff; box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .3s; }
.faq-item[open] { box-shadow: inset 0 0 0 1.5px var(--brand-200), var(--shadow-sm); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px; cursor: pointer; list-style: none; font-family: var(--f-display); font-weight: 600; font-size: 17px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .ico { flex: none; width: 32px; height: 32px; padding: 7px; border-radius: 10px; background: var(--brand-50); color: var(--brand); transition: transform .35s var(--ease), background .3s, color .3s; }
.faq-item[open] summary .ico { transform: rotate(45deg); background: var(--brand); color: #fff; }
.faq-a { padding: 0 22px 22px; color: var(--muted); }

/* =========================================================
   CONTACT
   ========================================================= */
.contact { padding-top: 0; }
.contact-card { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 5vw, 64px); padding: clamp(28px, 5vw, 56px); border-radius: var(--r-xl); background: var(--ink); color: #fff; position: relative; overflow: hidden; isolation: isolate; }
.contact-card::before { content: ""; position: absolute; width: 520px; height: 520px; left: -200px; bottom: -260px; border-radius: 50%; background: var(--brand); filter: blur(80px); opacity: .5; z-index: -1; }
.contact-info h2 { font-size: clamp(30px, 4vw, 46px); margin: 14px 0; }
.contact-info > p { color: rgba(255,255,255,.7); font-size: 17px; }
.contact-list { display: grid; gap: 16px; margin-top: 30px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list .ico { color: var(--lav-300); margin-top: 2px; }
.contact-list a:hover { color: var(--lav-300); }
.contact-form { background: #fff; color: var(--text); border-radius: var(--r-lg); padding: clamp(20px, 3vw, 32px); display: grid; gap: 14px; align-content: start; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 6px; }
.field span { font-size: 13.5px; font-weight: 600; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 15.5px; color: var(--text);
  padding: 13px 14px; border-radius: 12px; border: 0;
  background: #FAF7FC; box-shadow: inset 0 0 0 1.5px var(--line);
  transition: box-shadow .2s, background .2s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; background: #fff; box-shadow: inset 0 0 0 2px var(--brand); }
.field.has-error input { box-shadow: inset 0 0 0 2px #E5484D; }
.form-msg { font-size: 14px; font-weight: 600; min-height: 1em; }
.form-msg.ok { color: #12A15B; } .form-msg.err { color: #D3363B; }
.contact-form .btn-primary::before, .contact-form .btn-primary::after { display: none; }
.contact-form .btn-primary:hover { transform: none; background: var(--brand-600); }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer { padding-top: 64px; background: #0F0713; color: rgba(255,255,255,.7); }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 32px; padding-bottom: 48px; }
.footer-brand img { width: 150px; height: auto; }
.footer-brand p { margin-top: 18px; font-size: 14.5px; max-width: 300px; }
.socials { display: flex; gap: 10px; margin-top: 22px; }
.socials a { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-family: var(--f-display); font-weight: 700; font-size: 14px; color: #fff; background: rgba(255,255,255,.07); transition: background .25s, transform .3s var(--ease); }
.socials a:hover { background: var(--brand); transform: translateY(-3px); }
.footer-col { display: grid; gap: 10px; align-content: start; font-size: 14.5px; }
.footer-col h3 { font-family: var(--f-body); font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #fff; margin-bottom: 6px; }
.footer-col a:hover { color: var(--lav-300); }
.footer-col p { line-height: 1.7; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 24px 32px; border-top: 1px solid rgba(255,255,255,.08); font-size: 13.5px; }
.footer-bottom a:hover { color: #fff; }

/* =========================================================
   FLOATING ACTIONS / TOAST
   ========================================================= */
.fab-wa {
  position: fixed; right: 24px; bottom: 24px; z-index: 90;
  display: inline-flex; align-items: center; gap: 10px;
  height: 56px; padding: 0 20px 0 16px; border-radius: 999px;
  background: #1FAF5A; color: #fff; font-weight: 600; font-size: 15px;
  box-shadow: 0 16px 30px -10px rgba(31,175,90,.6);
  transform: translateY(120px); transition: transform .5s var(--ease), background .25s;
}
.fab-wa.is-visible { transform: none; }
.fab-wa:hover { background: #17964C; }
.mobile-bar { display: none; }
.toast { position: fixed; left: 50%; bottom: 96px; z-index: 120; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; padding: 12px 18px; border-radius: 12px; background: var(--ink); color: #fff; font-size: 14px; box-shadow: var(--shadow-lg); transition: opacity .3s, transform .4s var(--ease); max-width: calc(100vw - 32px); text-align: center; }
.toast.is-show { opacity: 1; transform: translate(-50%, 0); }

/* =========================================================
   REVEAL ANIMATIONS
   ========================================================= */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
  .marquee-track { animation: none; }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1180px) {
  .header-phone span { display: none; }
  .tech-groups { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1.4fr repeat(2, 1fr); }
  .footer-brand { grid-row: span 2; }
}

@media (max-width: 1024px) {
  :root { --header-h: 68px; }
  .main-nav, .header-phone { display: none; }
  .menu-toggle { display: inline-flex; }
  .header-actions { margin-left: auto; }

  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { max-width: 600px; width: 100%; margin-inline: auto; margin-top: 8px; }

  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento-xl { grid-row: auto; }
  .work-grid { grid-template-columns: repeat(2, 1fr); }
  .work-feature .work-link { grid-template-columns: 1fr; }
  .work-feature .work-media { min-height: 0; aspect-ratio: 16 / 9; }
  .why-top { grid-template-columns: 1fr; }
  .process-steps::before, .process-steps::after { display: none; }
  .process-steps { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .process-steps li { padding-top: 32px; }
  .estimate-card, .contact-card, .faq-wrap { grid-template-columns: 1fr; }
  .faq-wrap .section-head { position: static; }
  .t-slider { grid-auto-columns: calc((100% - 22px) / 2); }
}

@media (max-width: 720px) {
  body { font-size: 15.5px; padding-bottom: 72px; }
  .btn-sm { display: none; }
  .hero { padding-bottom: 24px; }
  .hero-ctas .btn { flex: 1 1 100%; }
  .cx-toggle button { padding: 8px 12px; }
  .cx-sub { display: none; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .hero-stats li { padding: 22px 4px 8px; }
  .hero-stats li + li { padding-left: 4px; border-left: 0; }
  .hero-stats li:nth-child(even) { padding-left: 20px; border-left: 1px solid rgba(255,255,255,.12); }
  .hero-stats li:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.12); }

  .marquee-track li { width: 148px; height: 76px; margin-right: 12px; padding: 10px 14px; }
  .lg { width: calc(var(--lw) * .8); }
  .bento, .work-grid, .ind-grid { grid-template-columns: 1fr; }
  .bento-xl, .bento-wide, .work-feature { grid-column: auto; }
  .bento-xl { padding: 28px; }
  .bento-split { grid-template-columns: 1fr; }
  .mini-phones { height: 170px; }
  .filters { width: 100%; overflow-x: auto; flex-wrap: nowrap; }
  .filter { white-space: nowrap; }
  .process-steps { grid-template-columns: 1fr; }
  .choice-grid { grid-template-columns: 1fr 1fr; }
  .choice span { padding: 12px; font-size: 13.5px; }
  .tech-groups { grid-template-columns: 1fr; }
  .t-slider { grid-auto-columns: 88%; }
  .field-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; grid-row: auto; }

  .fab-wa { display: none; }
  .mobile-bar {
    position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 95;
    display: grid; grid-template-columns: 1fr 1fr 1.3fr; gap: 6px; padding: 6px;
    border-radius: 18px; background: rgba(21,10,27,.92); backdrop-filter: blur(12px);
    box-shadow: 0 16px 40px -10px rgba(0,0,0,.5);
    transform: translateY(140%); transition: transform .45s var(--ease);
  }
  .mobile-bar.is-visible { transform: none; }
  .mobile-bar a { display: flex; align-items: center; justify-content: center; gap: 8px; height: 48px; border-radius: 13px; color: #fff; font-weight: 600; font-size: 14px; }
  .mobile-bar .ico { width: 18px; height: 18px; }
  .mobile-bar .mb-primary { background: var(--brand); }
  .toast { bottom: 100px; }
}


/* ---- Compact mobile layouts ---- */
@media (max-width: 720px) {
  .section { padding-block: 64px; }
  .bento { gap: 12px; }
  .bento-card:not(.bento-xl):not(.bento-wide) { display: grid; grid-template-columns: 44px 1fr; column-gap: 14px; row-gap: 4px; padding: 20px; align-items: start; }
  .bento-card:not(.bento-xl):not(.bento-wide) .bento-icon { grid-row: span 3; width: 44px; height: 44px; margin: 0; }
  .bento-card:not(.bento-xl):not(.bento-wide) h3 { font-size: 18px; padding-right: 56px; }
  .bento-card:not(.bento-xl):not(.bento-wide) p { font-size: 14.5px; }
  .bento-card:not(.bento-xl):not(.bento-wide) .link-arrow { padding-top: 6px; }
  .bento-card .badge { top: 16px; right: 16px; }
  .mini-phones { display: none; }

  .work-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; margin-inline: calc(var(--gutter) * -1); padding: 4px var(--gutter) 12px; scrollbar-width: none; }
  .work-grid::-webkit-scrollbar { display: none; }
  .work-card { flex: 0 0 84%; scroll-snap-align: center; }
  .work-card:hover { transform: none; }
  .work-feature .work-media { aspect-ratio: 16 / 11; }
  .work-feature .work-media img { object-fit: cover; object-position: top center; padding: 0; }
  .work-feature .work-body { padding: 22px 24px 26px; }
  .work-feature h3 { font-size: 19px; }
  .work-desc { display: none; }

  .ind-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .ind-card { padding: 18px; gap: 6px; }
  .ind-icon { width: 42px; height: 42px; border-radius: 12px; }
  .ind-card h3 { font-size: 16px; margin-top: 4px; }
  .ind-card p { font-size: 13.5px; line-height: 1.5; }
  .ind-card small { font-size: 12px; }

  .why-list li { padding: 18px; gap: 14px; }
  .process-steps { gap: 20px; }
  .process-steps li { display: grid; grid-template-columns: 44px 1fr; column-gap: 16px; padding-top: 0; }
  .process-steps .ico { grid-column: 1; grid-row: 1 / span 3; margin: 0; }
  .process-steps li > :not(.ico) { grid-column: 2; }
  .step-no { position: static; }

  .choice span .ico { display: none; }
  .choice span { justify-content: center; text-align: center; min-height: 52px; }

  .tech-groups { grid-template-columns: 1fr 1fr; gap: 12px; }
  .tech-group { padding: 16px; }
  .tech-group li { font-size: 13px; }
  .tech-group:last-child { grid-column: 1 / -1; }
  .faq-item summary { font-size: 16px; padding: 18px; }
  .faq-a { padding: 0 18px 18px; }
}

@media (max-width: 380px) {
  .choice-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   Django version additions
   ========================================================= */
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.phone-row { display: grid; grid-template-columns: 96px 1fr; gap: 8px; }
.field-row-phone { grid-template-columns: 1fr 1.25fr; }
.phone-row select, .phone-row input { width: 100%; font: inherit; font-size: 15px; color: var(--text); padding: 13px 10px; border-radius: 12px; border: 0; background: #FAF7FC; box-shadow: inset 0 0 0 1.5px var(--line); }
.phone-row select:focus, .phone-row input:focus { outline: none; background: #fff; box-shadow: inset 0 0 0 2px var(--brand); }
.field.has-error .phone-row input, .field.has-error .captcha-row input { box-shadow: inset 0 0 0 2px #E5484D; }
.captcha-row { display: grid; grid-template-columns: 120px 44px 1fr; gap: 8px; align-items: center; }
.captcha-row img { width: 120px; height: 44px; object-fit: cover; border-radius: 10px; box-shadow: inset 0 0 0 1px var(--line); background: #fff; }
.captcha-refresh { width: 44px; height: 44px; border-radius: 12px; }
.captcha-row input { width: 100%; font: inherit; font-size: 15.5px; padding: 12px 14px; border-radius: 12px; border: 0; background: #FAF7FC; box-shadow: inset 0 0 0 1.5px var(--line); text-transform: uppercase; letter-spacing: .1em; }
.captcha-row input:focus { outline: none; background: #fff; box-shadow: inset 0 0 0 2px var(--brand); }
.contact-form button[disabled] { opacity: .7; cursor: progress; }

/* client logos before/without trimming: simple fitted view */
.lg:not(.is-trimmed) { width: 140px; height: 56px; aspect-ratio: auto; }
.lg:not(.is-trimmed) img { position: static; width: 100%; height: 100%; object-fit: contain; }
@media (max-width: 720px) { .lg:not(.is-trimmed) { width: 116px; height: 46px; } }
@media (max-width: 720px) { .field-row-phone { grid-template-columns: 1fr; } }

/* =========================================================
   Inner pages (shared)
   ========================================================= */
.nav-link.is-current { color: #fff; box-shadow: inset 0 -2px 0 var(--lav); border-radius: 10px 10px 4px 4px; }
.site-header.is-scrolled .nav-link.is-current { color: var(--brand); box-shadow: inset 0 -2px 0 var(--brand); }
.m-link.is-current { color: var(--brand); }

.page-hero { position: relative; overflow: hidden; background: var(--ink); color: #fff; padding: calc(var(--header-h) + clamp(36px, 6vw, 72px)) 0 clamp(48px, 7vw, 88px); }
.page-hero-inner { position: relative; }
.page-hero-inner .page-title { max-width: 15em; }
.page-hero-inner .page-stats { max-width: 760px; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 22px; font-size: 14px; color: rgba(255,255,255,.6); }
.crumbs a { color: rgba(255,255,255,.8); }
.crumbs a:hover { color: #fff; }
.page-title { margin-top: 14px; font-size: clamp(34px, 5.4vw, 64px); font-weight: 700; letter-spacing: -0.035em; line-height: 1.06; }
.page-lead { margin-top: 20px; max-width: 680px; font-size: clamp(16px, 1.7vw, 19px); color: rgba(255,255,255,.72); }
.page-stats { display: flex; flex-wrap: wrap; gap: 14px 40px; margin-top: 34px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.12); }
.page-stats li { display: grid; }
.page-stats strong { font-family: var(--f-display); font-size: clamp(26px, 3vw, 36px); letter-spacing: -0.03em; line-height: 1.1; }
.page-stats span { font-size: 13.5px; color: rgba(255,255,255,.6); }

.btn-light { background: #fff; color: var(--brand-700); }
.btn-light:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -12px rgba(0,0,0,.45); }
.cta-card { grid-template-columns: 1.3fr 1fr; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }
.cta-end { padding-bottom: clamp(72px, 10vw, 120px); }

/* =========================================================
   Works page
   ========================================================= */
.works-page { padding-top: clamp(44px, 6vw, 72px); }
.works-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
.wfilter { padding: 9px 14px; border-radius: 10px; font-size: 14px; font-weight: 600; color: var(--muted); transition: background .25s, color .25s; white-space: nowrap; }
.wfilter span { margin-left: 4px; font-size: 12px; font-weight: 700; color: var(--brand-200); }
.wfilter:hover { color: var(--brand); }
.wfilter.is-active { background: var(--brand); color: #fff; }
.wfilter.is-active span { color: rgba(255,255,255,.7); }
.works-search { position: relative; display: flex; align-items: center; min-width: min(320px, 100%); }
.works-search .ico { position: absolute; left: 14px; color: var(--muted); }
.works-search input { width: 100%; font: inherit; font-size: 15px; padding: 12px 14px 12px 40px; border-radius: 12px; border: 0; background: #fff; box-shadow: inset 0 0 0 1.5px var(--line); }
.works-search input:focus { outline: none; box-shadow: inset 0 0 0 2px var(--brand); }
.works-count { margin: 22px 0 18px; font-size: 14px; color: var(--muted); }

.works-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.wcard { border-radius: var(--r-lg); background: #fff; box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.wcard:hover { transform: translateY(-6px); box-shadow: inset 0 0 0 1px var(--brand-200), var(--shadow-lg); }
.wcard.is-hidden { display: none; }
.wcard.is-entering { animation: cardIn .5s var(--ease) both; }
.wcard-link { display: flex; flex-direction: column; height: 100%; }
.wcard-media { aspect-ratio: 52 / 50; }
.wcard:hover .wcard-media img { transform: scale(1.06); }
.wcard-body { display: flex; flex-direction: column; gap: 10px; flex: 1; padding: 20px 22px 24px; }
.wcard-title { font-size: 18px; line-height: 1.3; letter-spacing: -0.015em; }
.wcard-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 4px; }
.wcard-tags li { padding: 4px 10px; border-radius: 8px; background: var(--brand-50); color: var(--brand-700); font-size: 12px; font-weight: 600; }
.works-empty { margin-top: 12px; padding: 28px; border-radius: var(--r-lg); background: #fff; box-shadow: inset 0 0 0 1px var(--line); text-align: center; color: var(--muted); }
.works-empty a { color: var(--brand); font-weight: 600; text-decoration: underline; }

.pager { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 40px; }
.pager-num { min-width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); font-weight: 600; }
.pager-num.is-current { background: var(--brand); color: #fff; box-shadow: none; }

.case-strip { background: #F6F0F9; }
.cs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.cs-card { display: flex; flex-direction: column; border-radius: var(--r-lg); background: #fff; box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.cs-card:hover { transform: translateY(-6px); box-shadow: inset 0 0 0 1px var(--brand-200), var(--shadow-lg); }
.cs-media { aspect-ratio: 16 / 9; background: linear-gradient(135deg, var(--brand-100), var(--lav-300)); overflow: hidden; }
.cs-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.cs-card:hover .cs-media img { transform: scale(1.05); }
.cs-body { display: flex; flex-direction: column; gap: 10px; flex: 1; padding: 22px 24px 26px; }
.cs-body h3 { font-size: 19px; line-height: 1.3; }
.cs-body p { color: var(--muted); font-size: 15px; }
.cs-body .work-more { margin-top: auto; }

@media (max-width: 1024px) {
  .works-grid, .cs-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-card { grid-template-columns: 1fr; }
  .cta-actions { justify-content: flex-start; }
}
@media (max-width: 720px) {
  .works-toolbar { flex-direction: column; align-items: stretch; }
  .works-toolbar .filters { width: 100%; overflow-x: auto; flex-wrap: nowrap; }
  .works-grid, .cs-grid { grid-template-columns: 1fr; gap: 16px; }
  .wcard { display: block; }
  .wcard-link { display: grid; grid-template-columns: 112px 1fr; }
  .wcard-media { aspect-ratio: auto; height: 100%; min-height: 120px; }
  .wcard-body { padding: 14px 16px 16px; gap: 6px; }
  .wcard-title { font-size: 15.5px; }
  .wcard-tags li { font-size: 11px; padding: 3px 8px; }
  .wcard .work-more { display: none; }
  .page-stats { gap: 12px 28px; }
  .cta-actions .btn { flex: 1 1 100%; }
}

/* =========================================================
   Work detail page
   ========================================================= */
.wd-title { font-size: clamp(30px, 4.6vw, 54px); max-width: 18em !important; }


.wd-body { padding-top: clamp(48px, 7vw, 88px); }
.wd-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(32px, 5vw, 64px); align-items: start; }
.wd-video { position: relative; aspect-ratio: 16 / 9; margin-bottom: 32px; border-radius: var(--r-lg); overflow: hidden; background: #000; }
.wd-video iframe { position: absolute; inset: 0; width: 100% !important; height: 100% !important; border: 0; }

.prose { font-size: 17px; line-height: 1.75; color: #3A2F42; }
.prose > * + * { margin-top: 1em; }
.prose h1, .prose h2, .prose h3, .prose h4 { color: var(--text); margin-top: 1.6em; line-height: 1.25; }
.prose h2 { font-size: 26px; } .prose h3 { font-size: 21px; } .prose h4 { font-size: 18px; }
.prose p { margin: 0; }
.prose p + p { margin-top: 1em; }
.prose a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.prose strong { color: var(--text); }
.prose ul, .prose ol { padding-left: 0; display: grid; gap: 10px; }
.prose ul > li { position: relative; padding-left: 28px; list-style: none; }
.prose ul > li::before { content: ""; position: absolute; left: 4px; top: .62em; width: 12px; height: 7px; border-radius: 2px; background: linear-gradient(90deg, var(--brand) 60%, var(--lav) 60%); }
.prose ol { list-style: decimal; padding-left: 22px; }
.prose li p { margin: 0; }
.prose img { max-width: 100%; height: auto; border-radius: var(--r); }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; }
.prose th, .prose td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; }
.prose blockquote { margin: 1.4em 0; padding: 16px 20px; border-left: 4px solid var(--brand); background: var(--brand-50); border-radius: 0 12px 12px 0; }


.wd-side { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 18px; }
.wd-info { padding: 26px; border-radius: var(--r-lg); background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.wd-info h2, .wd-ask h2 { font-size: 19px; margin-bottom: 16px; }
.wd-info dl { margin: 0; display: grid; gap: 16px; }
.wd-info dl > div { display: grid; gap: 6px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.wd-info dl > div:last-child { padding-bottom: 0; border-bottom: 0; }
.wd-info dt { font-size: 12px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.wd-info dd { margin: 0; font-weight: 600; }
.wd-info .link-arrow { word-break: break-all; }
.wd-ask { padding: 26px; border-radius: var(--r-lg); color: #fff; background: linear-gradient(150deg, var(--brand-700), var(--brand) 60%, #9A4FB3); display: grid; gap: 12px; }
.wd-ask h2 { margin-bottom: 0; }
.wd-ask p { color: rgba(255,255,255,.82); font-size: 15px; margin-bottom: 6px; }

.wd-pn { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: clamp(24px, 4vw, 40px); }
.wd-pn-card { display: grid; gap: 6px; padding: 22px 24px; border-radius: var(--r-lg); background: #fff; box-shadow: inset 0 0 0 1px var(--line); transition: transform .4s var(--ease), box-shadow .4s; }
.wd-pn-card:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px var(--brand-200), var(--shadow); }
.wd-pn-next { text-align: right; }
.wd-pn-dir { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--brand); }
.wd-pn-next .wd-pn-dir { justify-content: flex-end; }
.wd-pn-card b { font-family: var(--f-display); font-size: 18px; }
.wd-related { background: #F6F0F9; }

.lightbox { max-width: min(1100px, 94vw); max-height: 92vh; padding: 0; border: 0; border-radius: var(--r-lg); background: #fff; overflow: auto; box-shadow: var(--shadow-lg); }
.lightbox::backdrop { background: rgba(21,10,27,.82); backdrop-filter: blur(4px); }
.lightbox img { display: block; width: 100%; height: auto; }
.lightbox-close { position: fixed; top: 18px; right: 18px; z-index: 2; box-shadow: var(--shadow); }

@media (max-width: 1024px) {
  .wd-grid { grid-template-columns: 1fr; }
  .wd-side { position: static; grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .wd-side { grid-template-columns: 1fr; }
  .wd-pn { grid-template-columns: 1fr; }
  .wd-pn-next { text-align: left; }
  .wd-pn-next .wd-pn-dir { justify-content: flex-start; }
  .prose { font-size: 16px; }
}

/* Client logo badge on project cards (sits on the image edge) */
.wcard-body { position: relative; }
.wcard-body.has-logo { padding-top: 34px; }
.wcard-logo {
  position: absolute; left: 20px; top: 0; transform: translateY(-50%);
  height: 52px; min-width: 52px; max-width: 150px; padding: 8px 14px;
  display: grid; place-items: center;
  border-radius: 14px; background: #fff;
  box-shadow: 0 10px 24px -10px rgba(60,20,80,.35), inset 0 0 0 1px var(--line);
  transition: transform .45s var(--ease);
}
.wcard:hover .wcard-logo { transform: translateY(-50%) scale(1.04); }
.wcard-logo .lg { width: min(calc(var(--lw, 120px) * .62), 118px); }
.wcard-logo .lg:not(.is-trimmed) { width: 96px; height: 34px; }
.clients-works { padding: 28px 0 0; background: var(--bg); }
.clients-works + .works-page { padding-top: clamp(36px, 5vw, 56px); }

/* client logo in the project page hero */

@media (max-width: 720px) {
  .wcard-body.has-logo { padding-top: 14px; }
  .wcard-logo { position: static; transform: none; height: 38px; padding: 5px 10px; justify-self: start; width: fit-content; box-shadow: inset 0 0 0 1px var(--line); }
  .wcard:hover .wcard-logo { transform: none; }
  .wcard-logo .lg { width: min(calc(var(--lw, 120px) * .45), 84px); }
  .wcard-logo .lg:not(.is-trimmed) { width: 76px; height: 26px; }
}

/* ---- Work detail v2: client card + framed screenshot ---- */


@media (max-width: 1024px) {
}
@media (max-width: 720px) {
}

/* =========================================================
   About page
   ========================================================= */
.about-hero-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.about-hero .page-title { max-width: 13em; }
.about-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.about-badges span { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; font-size: 14px; font-weight: 500; color: rgba(255,255,255,.85); background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); }
.about-badges .ico { color: var(--lav-300); }

.founder-card { position: relative; margin: 0; justify-self: end; width: min(100%, 380px); }
.founder-layer { position: absolute; inset: 18px -18px -18px 18px; border-radius: var(--r-xl); background: linear-gradient(135deg, var(--brand), var(--lav)); opacity: .55; }
.founder-photo { position: relative; aspect-ratio: 4 / 5; border-radius: var(--r-xl); overflow: hidden; background: linear-gradient(160deg, var(--ink-3), var(--brand-700)); box-shadow: var(--shadow-lg), inset 0 0 0 1px rgba(255,255,255,.1); }
.founder-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.founder-card figcaption { position: absolute; left: 16px; right: 16px; bottom: 16px; display: grid; gap: 2px; padding: 14px 18px; border-radius: var(--r); background: rgba(21,10,27,.72); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); }
.founder-card figcaption b { font-family: var(--f-display); font-size: 17px; }
.founder-card figcaption span { font-size: 13.5px; color: var(--lav-300); }

.photo-fallback { position: absolute; inset: 0; display: none; place-items: center; font-family: var(--f-display); font-weight: 700; font-size: clamp(36px, 6vw, 72px); color: rgba(255,255,255,.9); background: linear-gradient(150deg, var(--brand), var(--lav)); }
.photo-missing img { display: none; }
.photo-missing .photo-fallback { display: grid; }

.about-stats { position: relative; z-index: 2; margin-top: -44px; }
.stat-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-radius: var(--r-lg); background: var(--card); box-shadow: var(--shadow); overflow: hidden; }
.stat-cards li { display: grid; gap: 4px; padding: clamp(20px, 3vw, 32px); text-align: center; }
.stat-cards li + li { box-shadow: inset 1px 0 0 var(--line); }
.stat-cards strong { font-family: var(--f-display); font-size: clamp(28px, 3.6vw, 44px); letter-spacing: -0.03em; line-height: 1.05; color: var(--brand); }
.stat-cards strong span { font: inherit; color: inherit; }
.stat-cards > li > span { font-size: 14px; color: var(--muted); }

.story-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.story-grid .section-head { margin-bottom: 0; position: sticky; top: calc(var(--header-h) + 24px); }
.story-copy p { font-size: clamp(16px, 1.5vw, 18px); color: var(--muted); }
.story-copy p + p { margin-top: 16px; }
.story-copy a { color: var(--brand); font-weight: 600; text-decoration: underline; text-decoration-color: var(--brand-200); text-underline-offset: 3px; }
.story-copy a:hover { text-decoration-color: var(--brand); }
.story-points { display: grid; gap: 10px; margin-top: 26px; padding-top: 24px; border-top: 1px solid var(--line); }
.story-points li { display: flex; align-items: center; gap: 12px; font-weight: 600; }
.story-points .ico { flex: none; width: 26px; height: 26px; padding: 5px; border-radius: 8px; background: var(--brand-50); color: var(--brand); }

.about-mv .container { position: relative; }
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.mv-card { padding: clamp(24px, 3vw, 36px); border-radius: var(--r-lg); background: rgba(255,255,255,.04); box-shadow: inset 0 0 0 1px rgba(255,255,255,.09); transition: background .3s, transform .4s var(--ease); }
.mv-card:hover { background: rgba(255,255,255,.07); transform: translateY(-4px); }
.mv-card h3 { font-size: 22px; margin: 18px 0 8px; }
.mv-card p { color: rgba(255,255,255,.7); }
.values-title { font-size: 20px; margin: clamp(48px, 6vw, 72px) 0 22px; }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: v; }
.values-grid li { counter-increment: v; position: relative; padding: 24px 24px 24px 72px; border-top: 1px solid rgba(255,255,255,.12); }
.values-grid li::before { content: "0" counter(v); position: absolute; left: 0; top: 22px; font-family: var(--f-display); font-weight: 700; font-size: 28px; color: var(--lav); opacity: .8; }
.values-grid b { font-family: var(--f-display); font-size: 18px; }
.values-grid p { margin-top: 6px; font-size: 15px; color: rgba(255,255,255,.65); }

.team-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.team-card { grid-column: span 2; display: flex; flex-direction: column; border-radius: var(--r-lg); background: var(--card); box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--line); overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.team-card.team-lead { grid-column: span 3; flex-direction: row; }
.team-photo { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--brand-50); }
.team-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.team-card:hover .team-photo img { transform: scale(1.04); }
.team-lead .team-photo { flex: 0 0 44%; aspect-ratio: auto; min-height: 100%; }
.team-body { display: flex; flex-direction: column; gap: 8px; padding: 22px 22px 24px; flex: 1; }
.team-role { font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--brand); }
.team-body h3 { font-size: 21px; }
.team-body p { font-size: 15px; color: var(--muted); }
.team-body .wcard-tags { margin-top: auto; padding-top: 10px; }

.about-office { background: #F6F0F9; }
.about-office + .testimonials { padding-top: 0; }
.office-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 20px; align-items: stretch; }
.office-card { padding: clamp(26px, 4vw, 44px); border-radius: var(--r-lg); background: var(--card); box-shadow: var(--shadow-sm); }
.office-card h2 { font-size: clamp(26px, 3.4vw, 38px); margin-top: 12px; }
.office-card address { font-style: normal; margin-top: 18px; color: var(--muted); line-height: 1.7; }
.office-card address b { color: var(--text); }
.office-hours { display: grid; gap: 0; margin-top: 22px; border-radius: var(--r); box-shadow: inset 0 0 0 1px var(--line); }
.office-hours li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 16px; font-size: 15px; }
.office-hours li + li { border-top: 1px solid var(--line); }
.office-hours span { color: var(--muted); }
.office-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.office-contacts { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 20px; font-size: 14.5px; }
.office-contacts li { display: grid; }
.office-contacts span { font-size: 12.5px; color: var(--muted); }
.office-contacts a { font-weight: 600; color: var(--brand-700); }
.office-contacts a:hover { color: var(--brand); }
.cred-col { display: grid; gap: 12px; align-content: start; }
.cred-card { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: var(--r); background: var(--card); box-shadow: var(--shadow-sm); }
.cred-card b { font-family: var(--f-display); font-size: 16px; }
.cred-card p { font-size: 14px; color: var(--muted); }
.cred-ico { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-50); color: var(--brand); }
.cred-link { transition: transform .4s var(--ease), box-shadow .3s; background: linear-gradient(135deg, var(--brand), var(--brand-700)); color: #fff; }
.cred-link p { color: rgba(255,255,255,.75); }
.cred-link .cred-ico { background: rgba(255,255,255,.14); color: #fff; }
.cred-link > .ico { margin-left: auto; flex: none; transition: transform .3s var(--ease); }
.cred-link:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.cred-link:hover > .ico { transform: translateX(4px); }

@media (max-width: 1024px) {
  .about-hero-grid { grid-template-columns: 1fr; }
  .founder-card { justify-self: start; width: min(100%, 340px); margin-right: 18px; }
  .story-grid { grid-template-columns: 1fr; }
  .story-grid .section-head { position: static; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .team-card, .team-card.team-lead { grid-column: auto; flex-direction: column; }
  .team-lead .team-photo { flex: none; aspect-ratio: 1; min-height: 0; }
  .office-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; gap: 0; }
}
@media (max-width: 720px) {
  .stat-cards { grid-template-columns: 1fr 1fr; }
  .stat-cards li:nth-child(3) { box-shadow: inset 0 1px 0 var(--line); }
  .stat-cards li:nth-child(4) { box-shadow: inset 1px 0 0 var(--line), inset 0 1px 0 var(--line); }
  .mv-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; gap: 16px; }
  .team-card, .team-card.team-lead { flex-direction: row; }
  .team-photo, .team-lead .team-photo { flex: 0 0 38%; aspect-ratio: auto; min-height: 100%; }
  .team-body { padding: 16px; }
  .team-body h3 { font-size: 18px; }
  .team-body p { font-size: 14px; }
  .office-actions .btn { width: 100%; justify-content: center; }
  .founder-card { width: min(100% - 18px, 280px); }
}
@media (max-width: 420px) {
  .team-card, .team-card.team-lead { flex-direction: column; }
  .team-photo, .team-lead .team-photo { flex: none; aspect-ratio: 4 / 3; min-height: 0; }
  .team-photo img { object-position: center 20%; }
}

/* =========================================================
   Contact page
   ========================================================= */
.contact-hero { padding-bottom: clamp(56px, 8vw, 96px); }
.quick-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 36px; }
.quick-card { display: flex; align-items: center; gap: 14px; height: 100%; padding: 16px 18px; border-radius: var(--r); background: rgba(255,255,255,.05); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); transition: background .3s, transform .4s var(--ease), box-shadow .3s; }
.quick-card:hover { background: rgba(255,255,255,.09); transform: translateY(-3px); box-shadow: inset 0 0 0 1px rgba(174,122,255,.5); }
.quick-card small { display: block; font-size: 12.5px; color: rgba(255,255,255,.6); }
.quick-card b { display: block; font-size: 15px; font-weight: 600; overflow-wrap: anywhere; }
.quick-ico { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(174,122,255,.16); color: var(--lav-300); }
.quick-wa .quick-ico { background: rgba(37,211,102,.16); color: #4ADE80; }

.contact-main { padding-top: clamp(48px, 7vw, 88px); padding-bottom: clamp(56px, 7vw, 88px); }
.contact-office { padding-top: clamp(56px, 7vw, 88px); }
.contact-main-grid { display: grid; grid-template-columns: 1.35fr .65fr; gap: clamp(20px, 3vw, 32px); align-items: start; }
.cform-card { padding: clamp(22px, 4vw, 44px); border-radius: var(--r-xl); background: var(--card); box-shadow: var(--shadow), inset 0 0 0 1px var(--line); }
.cform-head h2 { font-size: clamp(24px, 3vw, 34px); }
.cform-head p { margin-top: 6px; font-size: 14.5px; color: var(--muted); }
.contact-form-page { padding: 0; margin-top: 24px; border-radius: 0; background: none; gap: 16px; }
.cform-done { display: grid; justify-items: start; gap: 14px; padding: clamp(8px, 2vw, 20px) 0; }
.cform-done h2 { font-size: clamp(26px, 3.4vw, 38px); }
.cform-done p { color: var(--muted); font-size: 17px; max-width: 34em; }
.done-ico { width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; background: #E7F8EF; color: #12A15B; }
.done-ico .ico { width: 30px; height: 30px; }
.cform-done-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }

.contact-side { display: grid; gap: 14px; position: sticky; top: calc(var(--header-h) + 20px); }
.next-card { padding: 26px 24px; border-radius: var(--r-lg); background: var(--ink); color: #fff; position: relative; overflow: hidden; isolation: isolate; }
.next-card::before { content: ""; position: absolute; width: 300px; height: 300px; right: -140px; top: -150px; border-radius: 50%; background: var(--brand); filter: blur(70px); opacity: .55; z-index: -1; }
.side-title { font-size: 20px; }
.next-steps { display: grid; gap: 18px; margin-top: 20px; counter-reset: st; }
.next-steps li { counter-increment: st; position: relative; padding-left: 46px; }
.next-steps li::before { content: counter(st); position: absolute; left: 0; top: -2px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-family: var(--f-display); font-size: 14px; font-weight: 700; background: rgba(174,122,255,.2); color: var(--lav-300); }
.next-steps li:not(:last-child)::after { content: ""; position: absolute; left: 14.5px; top: 34px; bottom: -14px; width: 1px; background: rgba(255,255,255,.14); }
.next-steps b { font-size: 15.5px; }
.next-steps p { margin-top: 2px; font-size: 14px; color: rgba(255,255,255,.65); }
.est-mini { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: var(--r); background: var(--card); box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--line); transition: transform .4s var(--ease), box-shadow .3s; }
.est-mini .quick-ico { background: var(--brand-50); color: var(--brand); }
.est-mini b { display: block; font-size: 15px; }
.est-mini small { display: block; font-size: 13px; color: var(--muted); }
.est-mini > .ico { margin-left: auto; flex: none; color: var(--brand); transition: transform .3s var(--ease); }
.est-mini:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.est-mini:hover > .ico { transform: translateX(4px); }
.trust-mini { display: grid; grid-template-columns: repeat(3, 1fr); border-radius: var(--r); background: var(--brand-50); }
.trust-mini li { display: grid; gap: 2px; padding: 14px 10px; text-align: center; }
.trust-mini li + li { box-shadow: inset 1px 0 0 var(--brand-100); }
.trust-mini strong { font-family: var(--f-display); font-size: 17px; color: var(--brand); line-height: 1.2; }
.trust-mini span { font-size: 12.5px; color: var(--muted); }

.contact-office { background: #F6F0F9; }
.office-map-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 20px; align-items: stretch; }
.office-map-grid .office-actions { margin-top: 22px; }
.map-card { min-height: 420px; border-radius: var(--r-lg); overflow: hidden; background: var(--brand-100); box-shadow: var(--shadow-sm); }
.map-card iframe { display: block; width: 100%; height: 100%; min-height: 420px; border: 0; }

@media (max-width: 1024px) {
  .quick-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-main-grid, .office-map-grid { grid-template-columns: 1fr; }
  .contact-side { position: static; grid-template-columns: 1fr 1fr; }
  .contact-side .next-card { grid-row: span 2; }
}
@media (max-width: 720px) {
  .quick-grid { grid-template-columns: 1fr; gap: 8px; margin-top: 28px; }
  .quick-card { padding: 10px 14px; gap: 12px; }
  .quick-ico { width: 38px; height: 38px; border-radius: 10px; }
  .contact-side { grid-template-columns: 1fr; }
  .contact-side .next-card { grid-row: auto; }
  .map-card, .map-card iframe { min-height: 320px; }
  .cform-done-actions .btn { width: 100%; justify-content: center; }
}

/* client logo badges on homepage work cards (same badge as the works page) */
.work-body { position: relative; }
.work-body.has-logo { padding-top: 38px; }
.work-card:hover .wcard-logo { transform: translateY(-50%) scale(1.04); }
.work-feature .work-body.has-logo { padding-top: 32px; }
.work-feature .wcard-logo { position: static; transform: none; align-self: flex-start; width: fit-content; margin-bottom: 4px; }
.work-feature:hover .wcard-logo { transform: scale(1.04); }
.quick-card b a:hover { color: var(--lav-300); }
@media (max-width: 720px) {
  .work-body.has-logo { padding-top: 22px; }
  .work-card .wcard-logo { position: static; transform: none; height: 38px; padding: 5px 10px; align-self: flex-start; width: fit-content; box-shadow: inset 0 0 0 1px var(--line); }
  .work-card:hover .wcard-logo { transform: none; }
}

/* =========================================================
   Case studies (list + detail)
   ========================================================= */
.csl-list { display: grid; gap: clamp(20px, 3vw, 32px); }
.csl-card { display: grid; grid-template-columns: 1.15fr 1fr; border-radius: var(--r-xl); background: var(--card); box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--line); overflow: hidden; transition: box-shadow .45s var(--ease), transform .45s var(--ease); }
.csl-card:hover { box-shadow: var(--shadow-lg), inset 0 0 0 1px var(--brand-200); transform: translateY(-4px); }
.csl-flip .csl-media { order: 2; }
.csl-media { position: relative; display: block; min-height: 340px; background: #F4F1F6; overflow: hidden; }
.csl-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: clamp(10px, 2vw, 24px); transition: transform .8s var(--ease); }
.csl-card:hover .csl-media img { transform: scale(1.03); }
.csl-body { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: clamp(24px, 4vw, 48px); justify-content: center; }
.csl-logo { height: 52px; min-width: 52px; padding: 8px 14px; display: grid; place-items: center; border-radius: 14px; background: #fff; box-shadow: 0 10px 24px -10px rgba(60,20,80,.3), inset 0 0 0 1px var(--line); }
.csl-logo .lg { width: min(calc(var(--lw, 120px) * .62), 118px); }
.csl-logo .lg:not(.is-trimmed) { width: 96px; height: 34px; }
.csl-title { font-size: clamp(22px, 2.4vw, 30px); line-height: 1.2; letter-spacing: -0.02em; }
.csl-title a:hover { color: var(--brand); }
.csl-lead { color: var(--muted); font-size: 16px; }
.csl-service { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--brand-700); }
.csl-btn { margin-top: 6px; }
.csl-more { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; margin-top: clamp(32px, 5vw, 56px); padding: clamp(22px, 3vw, 32px) clamp(22px, 4vw, 40px); border-radius: var(--r-lg); background: var(--brand-50); }
.csl-more h2 { font-size: clamp(20px, 2.4vw, 26px); }
.csl-more p { margin-top: 4px; color: var(--muted); }

.csd-stats { margin-top: 26px; padding-top: 22px; }
.csd-stats strong { color: var(--lav-300); }
.csd-prose h2 { scroll-margin-top: calc(var(--header-h) + 20px); }
.csd-prose img { border-radius: var(--r); box-shadow: inset 0 0 0 1px var(--line); margin: 8px 0; }
.csd-toc { padding: 20px 22px; border-radius: var(--r-lg); background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.csd-toc-title { font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.csd-toc ol { display: grid; gap: 2px; counter-reset: toc; }
.csd-toc li { counter-increment: toc; }
.csd-toc a { display: flex; gap: 10px; padding: 7px 10px; border-radius: 10px; font-size: 14.5px; font-weight: 500; color: var(--text); transition: background .2s, color .2s; }
.csd-toc a::before { content: counter(toc, decimal-leading-zero); font-family: var(--f-display); font-size: 12px; font-weight: 700; color: var(--brand-200); padding-top: 2px; }
.csd-toc a:hover, .csd-toc a.is-active { background: var(--brand-50); color: var(--brand); }
.csd-toc a.is-active::before { color: var(--brand); }

@media (max-width: 1024px) {
  .csl-card { grid-template-columns: 1fr; }
  .csl-flip .csl-media { order: 0; }
  .csl-media { min-height: 0; aspect-ratio: 16 / 9; }
  .csd-toc { display: none; }
}
@media (max-width: 720px) {
  .csl-body { gap: 10px; }
  .csl-logo { height: 40px; padding: 5px 10px; }
  .csl-logo .lg { width: min(calc(var(--lw, 120px) * .45), 84px); }
  .csl-more .btn { width: 100%; justify-content: center; }
}
.csl-body .metrics { margin-top: 0; padding-top: 0; }
.wd-side:has(.csd-toc) { position: static; }
.csd-prose h2 { margin-bottom: .5em; }

/* =========================================================
   Service pages (shared template: service_2027.html)
   ========================================================= */
.sr-hide { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sv-hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.sv-title { max-width: 14em; }
.sv-bullets { display: grid; gap: 8px; margin-top: 22px; }
.sv-bullets li { display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,.85); font-weight: 500; }
.sv-bullets .ico { flex: none; width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: rgba(74,222,155,.16); color: var(--mint); }
.sv-hero .hero-ctas { margin-top: 30px; }
.sv-panel { padding: 22px; border-radius: var(--r-xl); background: rgba(255,255,255,.05); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.sv-panel-title { font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--lav-300); margin-bottom: 14px; }
.sv-modules { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.sv-modules li { display: flex; align-items: center; gap: 10px; padding: 11px 12px; border-radius: 12px; background: rgba(255,255,255,.05); font-size: 14px; font-weight: 500; line-height: 1.25; transition: background .3s, transform .3s var(--ease); }
.sv-modules li:hover { background: rgba(174,122,255,.16); transform: translateY(-2px); }
.sv-modules .ico { flex: none; width: 20px; height: 20px; color: var(--lav-300); }
.sv-proof { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.sv-proof li { display: grid; gap: 2px; padding: 14px; border-radius: 14px; background: linear-gradient(135deg, rgba(126,53,148,.55), rgba(174,122,255,.25)); }
.sv-proof strong { font-family: var(--f-display); font-size: 26px; letter-spacing: -0.03em; line-height: 1.1; }
.sv-proof span { font-size: 13px; color: rgba(255,255,255,.8); }
.sv-proof small { display: block; font-size: 11.5px; color: rgba(255,255,255,.55); margin-top: 2px; }

.sv-pain-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.sv-pain { padding: 24px; border-radius: var(--r-lg); background: var(--card); box-shadow: inset 0 0 0 1px var(--line); display: grid; gap: 12px; }
.sv-pain p { display: flex; gap: 12px; align-items: flex-start; }
.sv-pain .ico { flex: none; width: 24px; height: 24px; padding: 5px; border-radius: 50%; margin-top: 1px; }
.sv-pain-q { font-family: var(--f-display); font-weight: 600; font-size: 17.5px; line-height: 1.35; }
.sv-pain-q .ico { background: #FDECEC; color: #D3363B; }
.sv-pain-a { color: var(--muted); font-size: 15.5px; padding-top: 12px; border-top: 1px dashed var(--line); }
.sv-pain-a .ico { background: #E7F8EF; color: #12A15B; }

.sv-offer { background: #F6F0F9; }
.sv-offer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.sv-card { padding: 26px; border-radius: var(--r-lg); background: var(--card); box-shadow: var(--shadow-sm); transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.sv-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.sv-card-ico { flex: none; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--brand-50); color: var(--brand); transition: background .3s, color .3s; }
.sv-card:hover .sv-card-ico { background: var(--brand); color: #fff; }
.sv-card h3 { font-size: 19px; margin: 18px 0 8px; }
.sv-card p { color: var(--muted); font-size: 15px; }
.sv-note { display: flex; align-items: center; gap: 12px; margin-top: 22px; padding: 16px 20px; border-radius: var(--r); background: #fff; box-shadow: inset 0 0 0 1px var(--brand-100); font-size: 15px; }
.sv-note .ico { flex: none; color: var(--brand); }

.sv-case-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.sv-case { display: flex; flex-direction: column; border-radius: var(--r-xl); background: var(--card); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.sv-case:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg), inset 0 0 0 1px var(--brand-200); }
.sv-case-media { aspect-ratio: 16 / 9; background: #F4F1F6; overflow: hidden; }
.sv-case-media img { width: 100%; height: 100%; object-fit: contain; padding: 12px; transition: transform .8s var(--ease); }
.sv-case:hover .sv-case-media img { transform: scale(1.03); }
.sv-case-body { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 24px 26px 26px; flex: 1; }
.sv-case-body h3 { font-size: 20px; line-height: 1.25; }
.sv-case-body .metrics { margin-top: 0; padding-top: 0; }
.sv-case-body .work-more { margin-top: auto; }

.sv-compare-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.sv-compare-grid .section-head { margin-bottom: 0; }
.sv-compare-grid .section-head .btn { margin-top: 24px; }
.sv-table-wrap { border-radius: var(--r-lg); background: var(--card); box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--line); overflow-x: auto; }
.sv-table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 460px; }
.sv-table th, .sv-table td { padding: 15px 18px; text-align: left; vertical-align: top; }
.sv-table thead th { font-family: var(--f-display); font-size: 14.5px; font-weight: 700; border-bottom: 1px solid var(--line); }
.sv-table tbody tr + tr > * { border-top: 1px solid var(--line); }
.sv-table tbody th { font-weight: 600; color: var(--muted); font-size: 14px; width: 26%; }
.sv-table .is-us { background: var(--brand-50); color: var(--brand-700); font-weight: 600; }
.sv-table thead .is-us { background: var(--brand); color: #fff; }

.sv-process .container { position: relative; }
.sv-steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; counter-reset: none; }
.sv-steps li { position: relative; padding: 24px 20px; border-radius: var(--r-lg); background: rgba(255,255,255,.04); box-shadow: inset 0 0 0 1px rgba(255,255,255,.09); }
.sv-step-no { font-family: var(--f-display); font-weight: 700; font-size: 30px; color: var(--lav); opacity: .9; }
.sv-steps h3 { font-size: 17px; margin: 10px 0 6px; }
.sv-steps p { font-size: 14.5px; color: rgba(255,255,255,.66); }

.sv-meta { padding-top: 0; }
.sv-work + .sv-meta { padding-top: 0; }
.sv-meta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.sv-meta-card { padding: clamp(22px, 3vw, 32px); border-radius: var(--r-lg); background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.sv-meta-card h2 { font-size: 22px; margin-bottom: 18px; }
.sv-ind { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sv-ind li { display: flex; align-items: center; gap: 10px; font-weight: 500; font-size: 15px; }
.sv-ind .ico { flex: none; width: 34px; height: 34px; padding: 8px; border-radius: 10px; background: var(--brand-50); color: var(--brand); }
.sv-tech { display: flex; flex-wrap: wrap; gap: 8px; }
.sv-tech li { padding: 8px 14px; border-radius: 999px; background: var(--brand-50); color: var(--brand-700); font-weight: 600; font-size: 14px; }

.sv-related-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.sv-rel { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: var(--r-lg); background: var(--card); box-shadow: inset 0 0 0 1px var(--line); transition: transform .4s var(--ease), box-shadow .3s; }
.sv-rel:hover { transform: translateY(-3px); box-shadow: var(--shadow), inset 0 0 0 1px var(--brand-200); }
.sv-rel b { display: block; font-family: var(--f-display); font-size: 17px; }
.sv-rel small { display: block; color: var(--muted); font-size: 14px; }
.sv-rel-arrow { margin-left: auto; flex: none; color: var(--brand); transition: transform .3s var(--ease); }
.sv-rel:hover .sv-rel-arrow { transform: translateX(4px); }
.sv-rel:hover .sv-card-ico { background: var(--brand); color: #fff; }

@media (max-width: 1100px) {
  .sv-steps { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1024px) {
  .sv-hero-grid, .sv-compare-grid { grid-template-columns: 1fr; }
  .sv-panel { max-width: 560px; }
  .sv-offer-grid { grid-template-columns: repeat(2, 1fr); }
  .sv-meta-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .sv-pain-grid, .sv-offer-grid, .sv-case-grid, .sv-related-grid { grid-template-columns: 1fr; }
  .sv-steps { grid-template-columns: 1fr; }
  .sv-modules li { padding: 10px; font-size: 13.5px; }
  .sv-proof strong { font-size: 22px; }
  .sv-ind { grid-template-columns: 1fr; }
  .sv-pain, .sv-card { padding: 20px; }
}

/* Services hub */
.text-link { color: var(--brand); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.hub-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.hub-card { grid-column: span 3; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 26px; border-radius: var(--r-lg); background: var(--card); box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--line); transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.hub-card.hub-lead { grid-column: span 2; }
.hub-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg), inset 0 0 0 1px var(--brand-200); }
.hub-card:hover .sv-card-ico { background: var(--brand); color: #fff; }
.hub-card h3 { font-size: 21px; margin-top: 8px; }
.hub-card p { color: var(--muted); font-size: 15px; }
.hub-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.hub-tags li { padding: 4px 10px; border-radius: 8px; background: var(--brand-50); color: var(--brand-700); font-size: 12.5px; font-weight: 600; }
.hub-card .work-more { margin-top: auto; padding-top: 6px; }
.hub-why .why-ico { margin-bottom: 4px; }
@media (max-width: 1024px) { .hub-card, .hub-card.hub-lead { grid-column: span 3; } }
@media (max-width: 720px) { .hub-grid { grid-template-columns: 1fr; } .hub-card, .hub-card.hub-lead { grid-column: auto; } }

/* Product pages (product_2027.html) */
.pr-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.pr-hero-media { margin: 0; border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255,255,255,.12); background: #fff; }
.pr-hero-media img { display: block; width: 100%; height: auto; }
.pr-hero .hero-ctas { margin-top: 28px; }
.pr-price-hint { margin-top: 16px; font-size: 14.5px; color: rgba(255,255,255,.7); }
.pr-price-hint b { color: #fff; }
.pr-price-hint a { color: var(--lav-300); text-decoration: underline; text-underline-offset: 3px; }
.pr-highlights { position: relative; z-index: 2; margin-top: -40px; }
.pr-hl-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-radius: var(--r-lg); background: var(--card); box-shadow: var(--shadow); overflow: hidden; }
.pr-hl-grid li { display: flex; align-items: center; gap: 14px; padding: 22px 24px; }
.pr-hl-grid li + li { box-shadow: inset 1px 0 0 var(--line); }
.pr-hl-grid b { display: block; font-family: var(--f-display); font-size: 17px; }
.pr-hl-grid small { display: block; font-size: 14px; color: var(--muted); }
.pr-modules { margin-top: clamp(-20px, -2vw, 0px); }
.pr-why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.pr-why-media { margin: 0; border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow); }
.pr-why-media img { display: block; width: 100%; height: auto; }
.pr-h2 { font-size: clamp(26px, 3.4vw, 40px); margin-top: 12px; }
.pr-p { margin-top: 12px; color: var(--muted); font-size: 16.5px; }
.pr-screens { background: #F6F0F9; }
.pr-screen-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.pr-screen { margin: 0; border-radius: var(--r-lg); background: var(--card); box-shadow: var(--shadow-sm); overflow: hidden; display: flex; flex-direction: column; }
.pr-screen-img { display: block; padding: 0; border: 0; background: #F4F1F6; cursor: zoom-in; aspect-ratio: 1; overflow: hidden; }
.pr-screen-img img { width: 100%; height: 100%; object-fit: contain; transition: transform .6s var(--ease); }
.pr-screen:hover .pr-screen-img img { transform: scale(1.04); }
.pr-screen figcaption { padding: 16px 18px 18px; display: grid; gap: 4px; }
.pr-screen figcaption b { font-family: var(--f-display); font-size: 16px; }
.pr-screen figcaption span { font-size: 14px; color: var(--muted); }
.pr-buy-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: stretch; }
.pr-buy-single { grid-template-columns: minmax(0, 760px); justify-content: center; }
.pr-price-card { padding: clamp(24px, 4vw, 40px); border-radius: var(--r-xl); background: var(--card); box-shadow: var(--shadow), inset 0 0 0 1px var(--line); display: flex; flex-direction: column; gap: 4px; }
.pr-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin: 22px 0 14px; padding: 20px; border-radius: var(--r); background: var(--brand-50); }
.pr-plan { flex-basis: 100%; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--brand); }
.pr-price strong { font-family: var(--f-display); font-size: clamp(34px, 4vw, 44px); letter-spacing: -0.03em; color: var(--brand-700); line-height: 1.1; }
.pr-price-note { color: var(--muted); font-size: 14.5px; }
.pr-includes { display: grid; gap: 10px; margin-bottom: 22px; }
.pr-includes li { display: flex; gap: 10px; align-items: center; font-weight: 500; }
.pr-includes .ico { flex: none; width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: #E7F8EF; color: #12A15B; }
.pr-foot { margin-top: 14px; font-size: 13px; color: var(--muted); }
.pr-demo-card { padding: clamp(24px, 4vw, 40px); border-radius: var(--r-xl); background: var(--ink); color: #fff; position: relative; overflow: hidden; isolation: isolate; }
.pr-demo-card::before { content: ""; position: absolute; width: 420px; height: 420px; right: -180px; top: -200px; border-radius: 50%; background: var(--brand); filter: blur(80px); opacity: .5; z-index: -1; }
.pr-demo-card .pr-p { color: rgba(255,255,255,.7); }
.pr-demo-ico { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: rgba(174,122,255,.18); color: var(--lav-300); }
.pr-demo-links { display: grid; gap: 10px; margin-top: 22px; }
.pr-steps-title { font-size: 17px; margin: 28px 0 14px; }
.pr-steps { display: grid; gap: 12px; counter-reset: ps; }
.pr-steps li { counter-increment: ps; position: relative; padding-left: 40px; display: grid; gap: 2px; }
.pr-steps li::before { content: counter(ps); position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-family: var(--f-display); font-size: 13px; font-weight: 700; background: rgba(174,122,255,.2); color: var(--lav-300); }
.pr-steps b { font-size: 15px; }
.pr-steps span { font-size: 14px; color: rgba(255,255,255,.65); }

/* Solutions page */
.sol-prod-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.sol-prod { display: flex; flex-direction: column; border-radius: var(--r-xl); background: var(--card); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.sol-prod:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg), inset 0 0 0 1px var(--brand-200); }
.sol-prod-media { aspect-ratio: 16 / 9; overflow: hidden; background: #F4F1F6; }
.sol-prod-media img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .8s var(--ease); }
.sol-prod:hover .sol-prod-media img { transform: scale(1.04); }
.sol-prod-body { display: flex; flex-direction: column; gap: 8px; padding: 24px 26px 26px; flex: 1; }
.sol-prod-body h3 { font-size: 22px; }
.sol-prod-body > p:not(.work-client) { color: var(--muted); font-size: 15px; }
.sol-prod-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); }
.sol-price { font-size: 14px; color: var(--muted); }
.sol-price b { color: var(--brand-700); font-family: var(--f-display); font-size: 17px; }
.sol-all { background: #F6F0F9; }
.sol-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.sol-card { display: flex; flex-direction: column; gap: 8px; padding: 22px; }
.sol-card:hover { transform: translateY(-4px); box-shadow: var(--shadow), inset 0 0 0 1px var(--brand-200); }
.sol-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; margin-bottom: 6px; }
.sol-status { padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; background: #E7F8EF; color: #0F7A45; white-space: nowrap; }
.sol-status.is-product { background: var(--brand-50); color: var(--brand); }
.sol-card h3 { font-size: 18px; line-height: 1.3; }
.sol-purpose { font-size: 14.5px; color: var(--muted); }
.sol-features { display: grid; gap: 6px; margin: 4px 0 6px; }
.sol-features li { display: flex; gap: 8px; align-items: flex-start; font-size: 13.5px; line-height: 1.45; }
.sol-features .ico { flex: none; width: 16px; height: 16px; margin-top: 2px; color: #12A15B; }
.sol-ask { margin-top: auto; padding-top: 6px; }

@media (max-width: 1024px) {
  .pr-hero-grid, .pr-why-grid, .pr-buy-grid { grid-template-columns: 1fr; }
  .pr-screen-grid { grid-template-columns: repeat(2, 1fr); }
  .sol-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .pr-hl-grid { grid-template-columns: 1fr; }
  .pr-hl-grid li + li { box-shadow: inset 0 1px 0 var(--line); }
  .sol-prod-grid, .sol-grid { grid-template-columns: 1fr; }
  .pr-screen-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .pr-screen figcaption { padding: 12px; }
  .pr-screen figcaption span { display: none; }
}

/* Estimate success page */
.qs-inner { display: grid; justify-items: center; text-align: center; }
.qs-inner .page-lead { margin-inline: auto; }
.qs-ico { width: 72px; height: 72px; margin-bottom: 18px; }
.qs-range { display: flex; align-items: center; gap: 18px; margin-top: 28px; padding: 22px 28px; border-radius: var(--r-lg); background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); }
.qs-range div { display: grid; gap: 4px; }
.qs-range span { font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--lav-300); }
.qs-range strong { font-family: var(--f-display); font-size: clamp(26px, 4vw, 40px); letter-spacing: -0.02em; }
.qs-range i { width: 48px; height: 2px; background: linear-gradient(90deg, var(--brand), var(--lav)); }
.qs-note { margin-top: 12px; font-size: 13px; color: rgba(255,255,255,.55); }
.qs-ctas { justify-content: center; }
.qs-again { margin-top: 16px; }
.qs-again a { color: var(--lav-300); text-decoration: underline; text-underline-offset: 3px; }
.qs-steps { grid-template-columns: repeat(3, 1fr); }
.qs-next .sv-steps li { background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.qs-next .sv-steps p { color: var(--muted); }
@media (max-width: 720px) { .qs-range { flex-direction: column; gap: 10px; } .qs-range i { width: 2px; height: 24px; } .qs-steps { grid-template-columns: 1fr; } }

/* Careers */
.car-why { padding-bottom: 0; }
.car-list { display: grid; gap: 14px; }
.car-job { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 24px; align-items: center; padding: 24px 26px; border-radius: var(--r-lg); background: var(--card); box-shadow: inset 0 0 0 1px var(--line); transition: transform .4s var(--ease), box-shadow .3s; }
.car-job:hover { transform: translateY(-3px); box-shadow: var(--shadow), inset 0 0 0 1px var(--brand-200); }
.car-job h3 { font-size: 20px; }
.car-job-main { display: grid; gap: 8px; }
.car-job-main > p { color: var(--muted); font-size: 15px; }
.car-tag { display: inline-block; vertical-align: middle; margin-left: 6px; padding: 3px 10px; border-radius: 999px; background: #FFF4DB; color: #8A5A00; font-size: 12px; font-family: var(--f-body); font-weight: 700; }
.car-meta { display: grid; gap: 8px; min-width: 200px; }
.car-meta li { display: grid; }
.car-meta span { font-size: 12px; color: var(--muted); }
.car-meta b { font-size: 14.5px; }
.job-desc h2 { font-size: 24px; margin: 0 0 12px; }
.job-desc h2 + .prose, .job-desc h2 + .pr-includes { margin-bottom: 32px; }
.job-desc .pr-includes { margin-top: 4px; }
.file-input { padding: 10px !important; }
@media (max-width: 1024px) { .car-job { grid-template-columns: 1fr; gap: 14px; } .car-apply { justify-self: start; } }

/* Blog */
.blog-meta { font-size: 13px; font-weight: 600; color: var(--brand); }
.blog-feature { display: grid; grid-template-columns: .9fr 1.1fr; border-radius: var(--r-xl); background: var(--card); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; transition: transform .45s var(--ease), box-shadow .45s var(--ease); margin-bottom: 24px; }
.blog-feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg), inset 0 0 0 1px var(--brand-200); }
.blog-feature-media { min-height: 320px; background: var(--brand-50); }
.blog-feature-media img { width: 100%; height: 100%; object-fit: cover; }
.blog-feature-body { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 12px; padding: clamp(24px, 4vw, 48px); }
.blog-feature-body h2 { font-size: clamp(24px, 3vw, 34px); line-height: 1.2; }
.blog-feature-body > p:not(.blog-meta) { color: var(--muted); }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.blog-card { display: flex; flex-direction: column; border-radius: var(--r-lg); background: var(--card); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.blog-card:hover { transform: translateY(-5px); box-shadow: var(--shadow), inset 0 0 0 1px var(--brand-200); }
.blog-card-media { aspect-ratio: 16 / 10; background: var(--brand-50); overflow: hidden; }
.blog-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.blog-card:hover .blog-card-media img { transform: scale(1.04); }
.blog-card-body { display: flex; flex-direction: column; gap: 8px; padding: 20px 22px 22px; flex: 1; }
.blog-card-body h2 { font-size: 18px; line-height: 1.3; }
.blog-card-body > p:not(.blog-meta) { color: var(--muted); font-size: 14.5px; }
.blog-card-body .work-more { margin-top: auto; }
.bd-title { max-width: 18em; }
.bd-cover { margin: 0 0 28px; border-radius: var(--r-lg); overflow: hidden; background: var(--brand-50); }
.bd-cover img { width: 100%; height: auto; max-height: 460px; object-fit: cover; display: block; }
.bd-pn { margin-top: 40px; padding: 0; }
.bd-services { display: grid; gap: 6px; margin-top: 10px; }
.bd-services a { display: flex; justify-content: space-between; align-items: center; padding: 10px 12px; border-radius: 10px; background: var(--brand-50); color: var(--brand-700); font-weight: 600; font-size: 14.5px; }
.bd-services a:hover { background: var(--brand-100); }
@media (max-width: 1024px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } .blog-feature { grid-template-columns: 1fr; } .blog-feature-media { min-height: 0; aspect-ratio: 16 / 9; } }
@media (max-width: 720px) { .blog-grid { grid-template-columns: 1fr; } }

/* Clients wall */
.cl-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.cl-item { display: grid; place-items: center; min-height: 124px; padding: 18px; border-radius: var(--r); background: var(--card); box-shadow: inset 0 0 0 1px var(--line); transition: transform .4s var(--ease), box-shadow .3s; }
.cl-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--brand-200); }
.cl-item .lg { width: min(var(--lwc, var(--lw, 150px)), 100%); }
.cl-item .lg:not(.is-trimmed) { width: 160px; height: 72px; }
.cl-item .lg-name { font-size: 13px; }
.cl-item:not(:has(img)) .lg-name, .cl-item.noimg .lg-name { display: block; }
@media (max-width: 1024px) { .cl-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 720px) { .cl-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; } .cl-item { min-height: 100px; padding: 14px; } }

/* Industries */
.ind-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.ind-block { display: flex; flex-direction: column; gap: 12px; padding: clamp(22px, 3vw, 32px); border-radius: var(--r-lg); background: var(--card); box-shadow: inset 0 0 0 1px var(--line); scroll-margin-top: calc(var(--header-h) + 20px); }
.ind-block-head { display: flex; align-items: center; gap: 14px; }
.ind-block h2 { font-size: 22px; }
.ind-block > p { color: var(--muted); }
.ind-builds { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 14px; }
.ind-builds li { display: flex; gap: 8px; align-items: flex-start; font-size: 14.5px; }
.ind-builds .ico { flex: none; width: 16px; height: 16px; margin-top: 3px; color: #12A15B; }
.ind-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 6px; }
.ind-link { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; background: var(--brand-50); color: var(--brand-700); font-size: 13.5px; font-weight: 600; }
.ind-link:hover { background: var(--brand-100); }
@media (max-width: 1024px) { .ind-grid { grid-template-columns: 1fr; } }
@media (max-width: 720px) { .ind-builds { grid-template-columns: 1fr; } }

/* Legal pages */
.legal-hero .page-title { font-size: clamp(32px, 4.6vw, 54px); }
.legal-mail { color: var(--lav-300); }
.legal-prose { max-width: 820px; }
.legal-prose h2 { font-size: 22px; } .legal-prose h3 { font-size: 18px; }
.legal-other { max-width: 820px; margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); }

/* 404 */
.nf-inner { display: grid; justify-items: center; text-align: center; padding-block: clamp(24px, 6vw, 72px); }
.nf-inner .page-lead { margin-inline: auto; }
.nf-code { font-family: var(--f-display); font-size: clamp(80px, 16vw, 180px); font-weight: 800; line-height: 1; letter-spacing: -0.05em; background: linear-gradient(135deg, var(--lav-300), var(--brand)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nf-ctas { justify-content: center; }
.nf-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 28px; }
.nf-links a { display: inline-block; padding: 8px 14px; border-radius: 999px; background: rgba(255,255,255,.07); box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); color: rgba(255,255,255,.85); font-size: 14px; }
.nf-links a:hover { background: rgba(255,255,255,.14); }

/* Ecommerce plans */
.ep-hero-media { margin: 0; }
.ep-hero-media img { display: block; width: 100%; height: auto; filter: drop-shadow(0 30px 40px rgba(0,0,0,.35)); }
.ep-hl { grid-template-columns: repeat(4, 1fr); }
.ep-demo-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.ep-demo { display: flex; flex-direction: column; border-radius: var(--r-lg); background: var(--card); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; transition: transform .4s var(--ease), box-shadow .3s; }
a.ep-demo:hover { transform: translateY(-5px); box-shadow: var(--shadow), inset 0 0 0 1px var(--brand-200); }
.ep-demo-img { aspect-ratio: 268 / 308; background: #F4F1F6; overflow: hidden; }
.ep-demo-img img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .8s var(--ease); }
a.ep-demo:hover .ep-demo-img img { transform: scale(1.04); }
.ep-demo-body { display: grid; gap: 4px; padding: 14px 16px 16px; }
.ep-demo-body b { font-family: var(--f-display); font-size: 16px; }
.ep-soon { font-size: 13px; color: var(--muted); }
.ep-plans { background: #F6F0F9; }
.ep-currency { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 14px; color: var(--muted); }
.ep-currency select { font: inherit; color: var(--text); padding: 10px 14px; border-radius: 12px; border: 0; background: #fff; box-shadow: inset 0 0 0 1.5px var(--line); }
.ep-plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.ep-plan { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 28px; border-radius: var(--r-xl); background: var(--card); box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--line); }
.ep-plan.is-popular { box-shadow: var(--shadow-lg), inset 0 0 0 2px var(--brand); }
.ep-badge { position: absolute; top: -12px; left: 28px; padding: 5px 12px; border-radius: 999px; background: var(--brand); color: #fff; font-size: 12px; font-weight: 700; }
.ep-plan h3 { font-size: 24px; }
.ep-plan-desc { color: var(--muted); font-size: 14.5px; min-height: 4.5em; }
.ep-price { display: flex; align-items: baseline; gap: 8px; margin: 6px 0 4px; padding: 16px 18px; border-radius: var(--r); background: var(--brand-50); }
.ep-price strong { font-family: var(--f-display); font-size: 40px; letter-spacing: -0.03em; color: var(--brand-700); line-height: 1; }
.ep-price span { color: var(--muted); font-size: 14px; }
.ep-plan .pr-includes { margin-bottom: 16px; }
.ep-plan .btn { margin-top: auto; }
.ep-foot { margin-top: 20px; text-align: center; }
.ep-side-img { margin: 0; }
.ep-side-img img { width: 100%; height: auto; display: block; }
.ep-side-btn { margin-top: 20px; }
@media (max-width: 1024px) { .ep-demo-grid { grid-template-columns: repeat(3, 1fr); } .ep-plan-grid { grid-template-columns: 1fr; max-width: 520px; } .ep-hl { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 720px) { .ep-demo-grid { grid-template-columns: repeat(2, 1fr); } .ep-hl { grid-template-columns: 1fr; } }
.ep-hero .page-title { font-size: clamp(32px, 4.2vw, 52px); }
.ep-hero .hl { white-space: normal; display: inline; }
.ep-hero .hl::after { display: none; }

/* Contact: free & instant estimate card */
.est-card { display: grid; gap: 8px; padding: 22px; border-radius: var(--r-lg); background: linear-gradient(150deg, var(--brand-50), #fff); box-shadow: var(--shadow-sm), inset 0 0 0 1.5px var(--brand-200); transition: transform .4s var(--ease), box-shadow .3s; }
.est-card:hover { transform: translateY(-3px); box-shadow: var(--shadow), inset 0 0 0 1.5px var(--brand); }
.est-card-tag { display: inline-flex; align-items: center; gap: 6px; width: fit-content; padding: 5px 10px; border-radius: 999px; background: var(--brand); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .03em; }
.est-card b { font-family: var(--f-display); font-size: 19px; }
.est-card small { color: var(--muted); font-size: 14.5px; }
.est-card .btn { margin-top: 6px; }
@media (max-width: 1024px) { .contact-side .est-card { grid-column: 1 / -1; } }
.qs-thanks { margin-top: 18px; padding: 12px 18px; border-radius: 12px; background: rgba(74,222,155,.12); color: #C9F5DE; font-weight: 500; }

/* Registered trademark mark next to the logo */
.brand, .footer-logo { display: inline-flex; align-items: flex-start; }
.brand-r { font-family: var(--f-body); font-size: 12px; font-weight: 600; line-height: 1; margin: -2px 0 0 3px; color: currentColor; opacity: .85; }
.site-header .brand { color: #fff; }
.site-header.is-scrolled .brand { color: var(--text); }
.footer-logo { color: #fff; }

/* Footer bottom: everything left-aligned (the WhatsApp button sits bottom-right) */
.footer-bottom { justify-content: flex-start; text-align: left; }
.footer-legal { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin: 0; }
.footer-legal .sep { opacity: .45; }
.footer-col a.footer-cta { color: var(--lav-300); font-weight: 600; }
.footer-col a.footer-cta:hover { color: #fff; }
.footer-col a:not(.footer-cta) + a.footer-cta { margin-top: 6px; }
@media (max-width: 720px) {
  .footer-legal { gap: 6px 18px; }
  .footer-legal .sep { display: none; }
  .footer-legal > span:first-child, .footer-legal > span:last-child { flex-basis: 100%; }
}

/* =========================================================
   Photos: Life at Primal Codes gallery + photo blocks
   ========================================================= */
.ph-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.ph-grid.ph-3 { grid-template-columns: repeat(3, 1fr); }
.ph { position: relative; aspect-ratio: 4 / 3; border-radius: var(--r); overflow: hidden; background: var(--brand-100); box-shadow: var(--shadow-sm); }
.ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.ph:hover img { transform: scale(1.03); }




/* Gallery page */
.gal-jump { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.gal-jump a { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; color: #fff; font-size: 14.5px; font-weight: 600; background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); transition: background .25s; }
.gal-jump a:hover { background: rgba(255,255,255,.14); }
.gal-jump a span { font-size: 12px; font-weight: 700; padding: 1px 8px; border-radius: 999px; background: rgba(255,255,255,.12); color: var(--lav-300); }
.gal-sec { padding-block: clamp(56px, 8vw, 96px); scroll-margin-top: var(--header-h); }
.gal-alt { background: var(--brand-50); }
.gal-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 8px 32px; flex-wrap: wrap; margin-bottom: 28px; }
.gal-head h2 { font-size: clamp(28px, 3.6vw, 42px); }
.gal-head p { margin: 0; color: var(--muted); max-width: 32em; }
.gal-masonry { columns: 3 280px; column-gap: 16px; }
.gal-masonry.gal-cols-2 { columns: 2; max-width: 880px; margin-inline: auto; }
.gal-item { display: block; width: 100%; margin: 0 0 16px; padding: 0; border: 0; border-radius: var(--r); overflow: hidden; background: var(--brand-100); cursor: zoom-in; break-inside: avoid; box-shadow: var(--shadow-sm); }
.gal-item img { width: 100%; height: auto; transition: transform .6s var(--ease), filter .3s; }
.gal-item:hover img { transform: scale(1.03); }
.gal-item:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; }
.gal-video { max-width: 880px; margin: 0 auto 20px; border-radius: var(--r-lg); overflow: hidden; background: var(--ink); aspect-ratio: 1280 / 726; box-shadow: var(--shadow); }
.gal-video video { display: block; width: 100%; height: 100%; object-fit: cover; }
.lightbox-gal { background: transparent; box-shadow: none; overflow: visible; max-width: 94vw; }
.lightbox-gal img { width: auto; max-width: 94vw; max-height: 90vh; margin: auto; border-radius: var(--r); }
.lightbox-nav { position: fixed; top: 50%; transform: translateY(-50%); z-index: 2; box-shadow: var(--shadow); }
.lightbox-prev { left: 18px; }
.lightbox-next { right: 18px; }

@media (max-width: 1024px) {
}
@media (max-width: 720px) {
  .ph-grid, .ph-grid.ph-3 { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .ph-grid.ph-3 .ph:first-child:nth-last-child(3) { grid-column: span 2; }
  .gal-masonry { columns: 2; column-gap: 10px; }
  .gal-item { margin-bottom: 10px; border-radius: var(--r-sm); }
  .lightbox-nav { top: auto; bottom: 18px; transform: none; }
}

/* Contact hero: office building photo behind the text */
.contact-hero.has-photo .hero-photo { position: absolute; inset: 0; }
.contact-hero.has-photo .hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; }
.contact-hero.has-photo .hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(21,10,27,.9) 0%, rgba(21,10,27,.66) 45%, rgba(21,10,27,.12) 100%), linear-gradient(0deg, rgba(21,10,27,.82) 0%, rgba(21,10,27,0) 38%); }
.contact-hero.has-photo .hero-bg { opacity: .35; }
.contact-hero.has-photo .page-lead { text-shadow: 0 1px 12px rgba(21,10,27,.6); }
@media (max-width: 720px) {
  .contact-hero.has-photo .hero-photo::after { background: linear-gradient(180deg, rgba(21,10,27,.55) 0%, rgba(21,10,27,.82) 50%, rgba(21,10,27,.96) 100%); }
}

/* About: Life at Primal Codes strip */
.about-life { padding-bottom: 0; }
.about-life .section-head { margin-bottom: 24px; }
.about-life .ph { display: block; aspect-ratio: 1 / 1; }

/* =========================================================
   Work detail (follows the original layout: Image 1 + Image 2 side by side,
   description on the left, Project info on the right)
   ========================================================= */
.wd-hero { padding-bottom: clamp(48px, 7vw, 80px); }
.wd-lead { max-width: 52em; }
.wd-top { padding-top: clamp(36px, 5vw, 56px); }
.wd-top .wd-video { margin-bottom: 24px; }
.wd-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 28px); align-items: start; max-width: 920px; }
.wd-pair.is-single { grid-template-columns: minmax(0, 1fr); max-width: 920px; }
.wd-pair-item { display: block; padding: 0; border: 0; border-radius: var(--r); overflow: hidden; background: #fff; box-shadow: inset 0 0 0 1px var(--line), var(--shadow-sm); cursor: zoom-in; transition: transform .3s var(--ease), box-shadow .3s; }
.wd-pair-item:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px var(--brand-200), var(--shadow); }
.wd-pair-item img { display: block; width: 100%; height: auto; }
.wd-top + .wd-body { padding-top: clamp(40px, 6vw, 64px); }
.wd-desc img { display: block; width: 100% !important; max-width: 100%; height: auto !important; margin: 0 0 24px; border-radius: var(--r); box-shadow: inset 0 0 0 1px var(--line); cursor: zoom-in; }
.wd-desc p:has(> img:only-child) { margin: 0; }
.wd-client dd { display: grid; gap: 10px; }
.wd-client-logo { display: block; width: 100%; max-width: 210px; border-radius: 14px; overflow: hidden; background: #fff; box-shadow: 0 0 0 1px var(--line); }
.wd-client-logo img { display: block; width: 100%; height: auto; }
@media (max-width: 1024px) {
  .wd-side { order: -1; }
}
@media (max-width: 720px) {
  .wd-pair { grid-template-columns: 1fr; }
  .wd-client-logo { max-width: 170px; }
}

/* Technologies: brand logos in the chips */
.tech-group li:not(:has(a)) { padding: 0; background: none; border-radius: 0; }
.tech-group ul { gap: 8px; }
.tech-group li > a, .tech-group li > .tech-chip { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px 7px 9px; border-radius: 10px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); color: var(--text); }
.tech-group li > a:hover { background: #fff; color: var(--brand); box-shadow: inset 0 0 0 1.5px var(--brand-200), var(--shadow-sm); transform: translateY(-2px); }
.tech-group li img, .tech-group li .ico { width: 20px; height: 20px; flex: none; }
.tech-group li .ico { color: var(--brand); }
@media (max-width: 720px) { .tech-group li img, .tech-group li .ico { width: 18px; height: 18px; } }

/* =========================================================
   Case study detail (restored): hero with client card + screenshot frame
   ========================================================= */
.csd-hero.wd-hero { padding-bottom: clamp(110px, 14vw, 170px); }
.wd-hero .hero-ctas { margin-top: 30px; }
.wd-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(32px, 5vw, 64px); align-items: start; }
.wd-hero-main { min-width: 0; }
.wd-client-card { margin-top: 64px; padding: 22px; border-radius: var(--r-lg); background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); backdrop-filter: blur(8px); text-align: center; }
.wd-client-logo-box { height: 120px; display: grid; place-items: center; padding: 16px; border-radius: 16px; background: #fff; }
.wd-client-logo-box .lg { width: min(calc(var(--lw, 120px) * 1.25), 210px); }
.wd-client-logo-box .lg:not(.is-trimmed) { width: 190px; height: 80px; }
.wd-client-label { margin-top: 16px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.wd-client-name { margin-top: 2px; font-family: var(--f-display); font-size: 19px; font-weight: 700; }
.wd-client-sub { margin-top: 4px; font-size: 14px; color: var(--lav-300); }
.wd-showcase-wrap { position: relative; z-index: 2; margin-top: clamp(-130px, -11vw, -80px); text-align: center; }
.wd-layer { position: absolute; inset: 0; border-radius: var(--r-xl); background: var(--brand); opacity: .35; transform: translate(14px, 14px); z-index: -1; }
.wd-frame-wrap { position: relative; display: inline-block; max-width: min(100%, 920px); text-align: left; isolation: isolate; }
.wd-frame-wrap .wd-layer { border-radius: 20px; transform: translate(14px, 14px); }
.wd-frame { margin: 0; border-radius: 18px; overflow: hidden; background: #fff; box-shadow: var(--shadow-lg), 0 0 0 1px var(--line); }
.wd-frame-bar { display: flex; align-items: center; gap: 6px; padding: 11px 14px; background: #F4EEF7; border-bottom: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.wd-frame-bar i { width: 10px; height: 10px; border-radius: 50%; background: #E2D3EA; }
.wd-frame-bar i:nth-child(1) { background: #FF8A8A; } .wd-frame-bar i:nth-child(2) { background: #FFD36E; } .wd-frame-bar i:nth-child(3) { background: #6FDB9F; }
.wd-frame-bar span { margin: 0 auto; padding: 3px 14px; border-radius: 8px; background: #fff; font-weight: 600; max-width: 60%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wd-frame-view { position: relative; max-height: 560px; overflow: hidden; cursor: zoom-in; background: linear-gradient(135deg, var(--brand-50), var(--brand-100)); }
.wd-frame-view img { display: block; max-width: 100%; height: auto; margin: 0 auto; transition: transform 1s var(--ease); }
.wd-frame.is-tall .wd-frame-view::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 70px; background: linear-gradient(transparent, rgba(255,255,255,.95)); pointer-events: none; transition: opacity .4s; }
.wd-frame.is-tall:hover .wd-frame-view img, .wd-frame.is-tall .wd-frame-view:focus-visible img { transform: translateY(calc(var(--scroll, 0px) * -1)); transition: transform var(--scroll-time, 6s) linear; }
.wd-frame.is-tall:hover .wd-frame-view::after { opacity: 0; }
.wd-frame-hint { display: none; padding: 9px 14px; font-size: 12.5px; color: var(--muted); text-align: center; border-top: 1px solid var(--line); background: #FCFAFD; }
.wd-frame.is-tall .wd-frame-hint { display: block; }
@media (max-width: 1024px) {
  .wd-hero-grid { grid-template-columns: 1fr; }
  .wd-client-card { margin-top: 0; display: grid; grid-template-columns: 150px 1fr; align-items: center; column-gap: 18px; text-align: left; max-width: 520px; }
  .wd-client-logo-box { grid-row: span 3; height: 84px; padding: 10px; }
  .wd-client-logo-box .lg { width: min(calc(var(--lw, 120px) * .8), 124px); }
  .wd-client-logo-box .lg:not(.is-trimmed) { width: 120px; height: 56px; }
  .wd-client-label { margin-top: 0; }
}
@media (max-width: 720px) {
  .wd-layer { transform: translate(8px, 8px); }
  .wd-frame-view { max-height: 380px; }
  .wd-frame-hint { font-size: 12px; }
  .wd-client-card { grid-template-columns: 112px 1fr; padding: 16px; }
  .wd-client-logo-box { height: 70px; }
}
