/* Brand Up7 — design system (light, lavender & purple) */
:root {
  --purple: #A63AED;
  --purple-deep: #9628D9;
  --violet: #AF5CF6;
  --blue: #60A5FA;
  --blue-text: #3B82F6;
  --lav: #F7EEFF;
  --lav-2: #F2E7FE;
  --bg: #FFFFFF;
  --bg-2: #F8FAFF;
  --navy: #160E23;
  --navy-2: #221736;
  --navy-3: #30214B;
  --text: #1A1325;
  --text-2: #334155;
  --muted: #64748B;          /* 4.7:1 on white */
  --muted-dark: #A9B1D0;     /* 8:1 on navy */
  --line: #EBE5F4;
  --line-dark: rgba(255, 255, 255, .1);
  --grad: linear-gradient(100deg, #9628D9 0%, #A63AED 45%, #4F46E5 100%);
  --grad-text: linear-gradient(90deg, #A63AED 0%, #AF5CF6 45%, #3B82F6 100%);
  --grad-soft: linear-gradient(135deg, #F7EEFF 0%, #EEF4FF 100%);
  --font-display: 'Inter', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-script: var(--font-display);
  --r-sm: 12px;
  --r: 18px;
  --r-lg: 24px;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 112px;
  --ease: cubic-bezier(.22, .8, .22, 1);
  --shadow-sm: 0 4px 14px -6px rgba(104, 29, 149, .12);
  --shadow: 0 24px 50px -24px rgba(104, 29, 149, .28);
  --shadow-lg: 0 40px 80px -30px rgba(104, 29, 149, .35);
}
/* Persian and Arabic: Arial, as on hgmakine.com (a system font, so nothing to download). Inter covers only Latin,
   so Latin words stay in Inter and Arabic-script text falls through to Arial; phones without Arial use their own. */
.is-rtl {
  --font-display: 'Inter', Arial, 'Segoe UI', Tahoma, 'Geeza Pro', sans-serif;
  --font-body: 'Inter', Arial, 'Segoe UI', Tahoma, 'Geeza Pro', sans-serif;
  --font-script: var(--font-body);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font-body); font-size: 16.5px; line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body.is-rtl { line-height: 1.9; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 800; line-height: 1.12; letter-spacing: -.025em; overflow-wrap: break-word; }
body.is-rtl h1, body.is-rtl h2, body.is-rtl h3 { letter-spacing: 0; line-height: 1.45; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--violet); color: #fff; }
:focus-visible { outline: 3px solid var(--blue-text); outline-offset: 3px; border-radius: 8px; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; inset-inline-start: 16px; top: -60px; z-index: 100; background: var(--purple); color: #fff; padding: 10px 16px; border-radius: var(--r-sm); font-weight: 700; }
.skip:focus { top: 12px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.ic { width: 20px; height: 20px; flex: none; }
.ic-sm { width: 14px; height: 14px; }
.is-rtl .ic-dir { transform: scaleX(-1); }
.ic-flip { transform: scaleX(-1); }
.is-rtl .ic-flip { transform: none; }
.grad { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- type ---------- */
.display-xl { display: block; font-family: var(--font-display); font-size: clamp(2.6rem, 5.6vw, 4.6rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.04; color: var(--text); }
.display-lg { font-size: clamp(2.2rem, 4.4vw, 3.6rem); letter-spacing: -.03em; line-height: 1.08; }
.display-md { font-size: clamp(1.8rem, 3.2vw, 2.6rem); line-height: 1.14; }
.display-sm { font-size: clamp(1.35rem, 2vw, 1.7rem); }
body.is-rtl .display-xl { font-size: clamp(2.3rem, 5vw, 4rem); line-height: 1.35; font-weight: 900; letter-spacing: 0; }
body.is-rtl .display-lg, body.is-rtl .display-md { line-height: 1.4; font-weight: 900; }
.display-xl em, .display-lg em, .display-md em, .display-sm em, .hero-title .line:last-child span { font-style: normal; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.section-dark .display-md em { background: linear-gradient(90deg, #D5B5FD, #93C5FD); -webkit-background-clip: text; background-clip: text; }
.kicker { display: block; font-size: 12.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--purple); margin-bottom: 14px; }
body.is-rtl .kicker { letter-spacing: 0; font-size: 14px; }
.kicker-light { color: #D5B5FD; }
.lead-dim { color: var(--muted-dark); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 48px; padding: 8px 10px 8px 22px; border-radius: 999px; font-weight: 700; font-size: 14.5px; line-height: 1.2; transition: transform .3s var(--ease), box-shadow .3s var(--ease), background-color .3s, color .3s, border-color .3s; white-space: nowrap; }
.is-rtl .btn { padding: 8px 22px 8px 10px; }
.btn:not(:has(.btn-arrow)) { padding-inline: 22px; }
.btn:hover { transform: translateY(-2px); }
.btn-sm { min-height: 44px; font-size: 13.5px; }
.btn-lg { min-height: 54px; font-size: 15.5px; }
.btn-arrow { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--purple); transition: transform .35s var(--ease); flex: none; }
.btn-arrow .ic { width: 16px; height: 16px; }
.btn:hover .btn-arrow { transform: translateX(3px); }
.is-rtl .btn:hover .btn-arrow { transform: translateX(-3px); }
.btn-arrow-soft { background: var(--lav); }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 14px 30px -12px rgba(150, 40, 217, .6); }
.btn-primary:hover { box-shadow: 0 20px 40px -14px rgba(150, 40, 217, .75); }
.btn-outline { background: #fff; color: var(--text); border: 1.5px solid #E1D3F5; }
.btn-outline:hover { border-color: var(--purple); color: var(--purple); }
.btn-outline .btn-arrow { background: var(--lav); }
.btn-outline-light { color: #fff; border: 1.5px solid rgba(255, 255, 255, .3); }
.btn-outline-light:hover { border-color: #fff; background: rgba(255, 255, 255, .06); }
.btn-outline-light .btn-arrow { background: var(--purple); color: #fff; }
.btn-white { background: #fff; color: var(--text); box-shadow: 0 14px 30px -12px rgba(44, 20, 80, .4); }
.btn-white .btn-arrow { background: var(--grad); color: #fff; }
.btn-wa { background: #1FAF5A; color: #fff; padding-inline: 20px !important; }
.btn-wa:hover { background: #178F49; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.btn-row-center { justify-content: center; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--purple); }
.link-arrow .ic { transition: transform .3s var(--ease); }
.link-arrow:hover .ic { transform: translateX(4px); }
.round-btn { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid #E1D3F5; display: grid; place-items: center; background: #fff; color: var(--text); transition: all .25s; }
.round-btn:hover { border-color: var(--purple); color: var(--purple); }
.round-btn:disabled { opacity: .4; cursor: default; }

/* ---------- header ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h); transition: background-color .35s, box-shadow .35s, height .35s; }
.site-header.is-scrolled, .site-header.is-open { background: rgba(255, 255, 255, .82); backdrop-filter: blur(16px) saturate(1.5); -webkit-backdrop-filter: blur(16px) saturate(1.5); box-shadow: 0 1px 0 var(--line), 0 10px 30px -20px rgba(104, 29, 149, .3); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 24px; }
.logo { display: inline-flex; align-items: center; flex: none; }
.logo-text { font-family: 'Inter', sans-serif; font-weight: 800; font-size: 25px; letter-spacing: -.04em; color: var(--navy); line-height: 1; }
.logo-text b { color: var(--purple); font-weight: 800; }
.logo-text i { font-style: italic; font-weight: 800; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; padding-inline-end: 2px; }
.logo-light .logo-text { color: #fff; }
.logo-light .logo-text b { color: #C18BFA; }
.main-nav { margin-inline-start: auto; }
.nav-list { display: flex; align-items: center; gap: 2px; }
.nav-list > li > a { position: relative; display: inline-flex; align-items: center; gap: 5px; padding: 10px 13px; font-weight: 600; font-size: 14.5px; color: var(--text-2); transition: color .2s; min-height: 44px; }
.nav-list > li > a::after { content: ''; position: absolute; inset-inline: 13px; bottom: 4px; height: 2px; border-radius: 2px; background: var(--purple); transform: scaleX(0); transition: transform .3s var(--ease); }
.nav-list > li > a:hover { color: var(--purple); }
.nav-list > li > a[aria-current] { color: var(--purple); }
.nav-list > li > a[aria-current]::after, .nav-list > li > a:hover::after { transform: scaleX(1); }
.has-mega { position: relative; }
.mega { position: absolute; top: calc(100% + 12px); left: 50%; transform: translateX(-50%) translateY(8px); width: min(820px, 92vw); padding: 12px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transition: opacity .25s, transform .3s var(--ease), visibility .25s; }
.has-mega::after { content: ''; position: absolute; inset: 100% 0 auto; height: 16px; }
.has-mega:hover .mega, .has-mega:focus-within .mega { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.mega-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.mega-grid a { display: flex; gap: 12px; align-items: flex-start; padding: 12px; border-radius: 14px; transition: background-color .2s; }
.mega-grid a:hover { background: var(--bg-2); }
.mega-ic { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--lav); color: var(--purple); flex: none; }
.mega-grid strong { display: block; font-size: 14px; line-height: 1.35; }
.mega-grid small { display: block; color: var(--muted); font-size: 12.5px; line-height: 1.45; margin-top: 2px; }
.nav-mobile-extra { display: none; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.lang { position: relative; }
.lang-btn { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 8px 12px; border-radius: 999px; font-weight: 700; font-size: 13.5px; color: var(--text-2); border: 1.5px solid var(--line); background: rgba(255, 255, 255, .6); }
.lang-btn:hover { border-color: var(--violet); }
.lang-list { position: absolute; top: calc(100% + 8px); inset-inline-end: 0; min-width: 160px; padding: 6px; border-radius: 16px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); display: none; }
.lang.is-open .lang-list { display: block; }
.lang-list a { display: block; padding: 10px 14px; border-radius: 10px; font-weight: 600; font-size: 14.5px; }
.lang-list a:hover { background: var(--bg-2); }
.lang-list a[aria-current] { color: var(--purple); }
.menu-btn { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--line); place-items: center; background: #fff; }
.menu-btn .ic-close { display: none; }
.is-open .menu-btn .ic-open { display: none; }
.is-open .menu-btn .ic-close { display: block; }

/* ---------- shared hero bits ---------- */
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .7; }
.blob-1 { width: 520px; height: 520px; inset-inline-end: -120px; top: -140px; background: radial-gradient(circle, #ECD7FF, transparent 70%); animation: drift 16s ease-in-out infinite alternate; }
.blob-2 { width: 460px; height: 460px; inset-inline-start: -160px; bottom: -200px; background: radial-gradient(circle, #DCEBFF, transparent 70%); animation: drift 20s ease-in-out infinite alternate-reverse; }
@keyframes drift { to { transform: translate(40px, 30px) scale(1.1); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes lineUp { from { transform: translateY(105%); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes popIn { from { opacity: 0; transform: translateY(24px) scale(.94); } to { opacity: 1; transform: none; } }
@keyframes floatY { from { translate: 0 0; } to { translate: 0 -12px; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
.float-a { animation: popIn .8s var(--ease) both, floatY 6s ease-in-out 1s infinite alternate; }
.float-b { animation: popIn .8s var(--ease) both, floatY 7s ease-in-out 1s infinite alternate-reverse; }
.spark-line { stroke-dasharray: 260; stroke-dashoffset: 260; animation: draw 1.8s var(--ease) .4s forwards; }
.hero-lead { margin-top: 22px; font-size: clamp(1.02rem, 1.3vw, 1.12rem); color: var(--muted); max-width: 560px; }
.page-hero .hero-lead { animation: fadeUp .8s var(--ease) .2s both; }
.benefits { display: flex; flex-wrap: wrap; gap: 14px 28px; margin-top: 34px; }
.benefits li { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: var(--text-2); }
.benefit-ic { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 1.5px solid #E6D3FB; color: var(--purple); }
.benefit-ic .ic { width: 17px; height: 17px; }
.hero-title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero-title .line > span { display: inline-block; }
.js .hero-title.reveal { opacity: 1; transform: none; }
.js .hero-title.reveal .line > span { transform: translateY(105%); opacity: 0; }
.js .hero-title.reveal.is-in .line > span { animation: lineUp .9s var(--ease) both; animation-delay: calc(var(--i) * 120ms); }

/* ---------- home hero: service slider ---------- */

.btn-glass { color: #fff; border: 1.5px solid rgba(255, 255, 255, .45); background: rgba(255, 255, 255, .08); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.btn-glass:hover { background: rgba(255, 255, 255, .18); border-color: #fff; }

/* cards rail */

/* header over the dark home hero (until scrolled) */
.has-dark-hero .site-header:not(.is-scrolled):not(.is-open) .logo-text { color: #fff; }
.has-dark-hero .site-header:not(.is-scrolled):not(.is-open) .logo-text b { color: #D5B5FD; }
.has-dark-hero .site-header:not(.is-scrolled):not(.is-open) .nav-list > li > a { color: rgba(255, 255, 255, .86); }
.has-dark-hero .site-header:not(.is-scrolled):not(.is-open) .nav-list > li > a:hover, .has-dark-hero .site-header:not(.is-scrolled):not(.is-open) .nav-list > li > a[aria-current] { color: #fff; }
.has-dark-hero .site-header:not(.is-scrolled):not(.is-open) .nav-list > li > a::after { background: #D5B5FD; }
.has-dark-hero .site-header:not(.is-scrolled):not(.is-open) .lang-btn, .has-dark-hero .site-header:not(.is-scrolled):not(.is-open) .menu-btn { color: #fff; background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .3); }

/* ---------- sections ---------- */
.section { padding: clamp(72px, 9vw, 120px) 0; position: relative; }
.section-tight-top { padding-top: 32px; }
.section-white { background: var(--bg); }
.section-soft { background: var(--bg-2); }
.section-dark { background: var(--navy); color: #fff; overflow: hidden; isolation: isolate; }
.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head .muted, .section-head .lead-dim { margin-top: 16px; font-size: 1.04rem; }
.section-head-split { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; }
.section-head-split > div { max-width: 640px; }
.section-head-split > p { max-width: 420px; }

/* headings that sit in a narrow side column */
.services-head .display-md, .work-head .display-md, .process-head .display-md, .why-head .display-md, .faq-head .display-md { font-size: clamp(1.75rem, 2.5vw, 2.3rem); }
.ai-head .display-md { font-size: clamp(2rem, 3.4vw, 2.9rem); }

/* services */
.section-services { background: linear-gradient(180deg, #fff 0%, #FCF8FF 100%); }
.services-grid { display: grid; grid-template-columns: .82fr 2fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.services-head { position: sticky; top: calc(var(--header-h) + 32px); }
.services-head .muted { margin: 18px 0 28px; }
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.svc-grid-hub { grid-template-columns: repeat(3, 1fr); }
.svc-grid-related { grid-template-columns: repeat(4, 1fr); }
.svc-card { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 24px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s; isolation: isolate; overflow: hidden; }
.svc-card::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--grad-soft); opacity: 0; transition: opacity .4s; }
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: #E2C8FB; }
.svc-card:hover::before { opacity: 1; }
.svc-ic { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, #F6EAFF, #E6EEFF); color: var(--purple); margin-bottom: 6px; transition: background .4s, color .4s, transform .4s var(--ease); }
.svc-ic .ic { width: 22px; height: 22px; }
.svc-card:hover .svc-ic { background: var(--grad); color: #fff; transform: rotate(-6deg) scale(1.05); }
.svc-card h3 { font-size: 16.5px; line-height: 1.35; letter-spacing: -.01em; }
.svc-card p { color: var(--muted); font-size: 14px; line-height: 1.55; }
.svc-more { position: absolute; top: 24px; inset-inline-end: 22px; color: var(--purple); opacity: 0; transform: translateX(-6px); transition: all .35s var(--ease); }
.is-rtl .svc-more { transform: translateX(6px); }
.svc-card:hover .svc-more { opacity: 1; transform: none; }
.stretched::after { content: ''; position: absolute; inset: 0; z-index: 1; }

/* why (dark) */
.why-grid { display: grid; grid-template-columns: 1.15fr 1.4fr .8fr; gap: clamp(28px, 3.5vw, 48px); align-items: center; }
.why-head .lead-dim { margin: 16px 0 28px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px 18px; }
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat-ic { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(175, 92, 246, .18); border: 1px solid rgba(193, 139, 250, .35); color: #D5B5FD; margin-bottom: 12px; }
.stat-ic .ic { width: 19px; height: 19px; }
.stat strong { font-family: var(--font-display); font-size: clamp(1.9rem, 2.8vw, 2.5rem); font-weight: 800; line-height: 1; letter-spacing: -.03em; text-align: start; }
.stat > span:last-child { color: var(--muted-dark); font-size: 14px; }
.dash { position: relative; aspect-ratio: 1 / .9; }
.dash-glow { position: absolute; inset: 10%; border-radius: 50%; background: radial-gradient(circle, rgba(175, 92, 246, .55), transparent 65%); filter: blur(20px); }
.dash-panel { position: absolute; border-radius: 18px; background: linear-gradient(160deg, rgba(58, 36, 99, .95), rgba(34, 23, 54, .95)); border: 1px solid rgba(193, 139, 250, .35); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .6), inset 0 1px 0 rgba(255, 255, 255, .08); }
.dash-main { inset: 14% 10% 18% 6%; padding: 12px; }
.dash-top { display: flex; gap: 6px; }
.dash-top span { width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, .25); }
.dash-body { position: relative; height: calc(100% - 20px); display: grid; place-items: center; }
.dash-chip { width: 34%; aspect-ratio: 1; border-radius: 22%; display: grid; place-items: center; font-weight: 800; font-size: clamp(1.4rem, 2.6vw, 2.2rem); color: #fff; background: linear-gradient(135deg, #A63AED, #4F46E5); box-shadow: 0 0 0 6px rgba(175, 92, 246, .2), 0 0 50px rgba(175, 92, 246, .8); animation: pulseGlow 3s ease-in-out infinite; }
@keyframes pulseGlow { 50% { box-shadow: 0 0 0 10px rgba(175, 92, 246, .12), 0 0 70px rgba(175, 92, 246, .95); } }
.dash-wave { position: absolute; inset: auto 6% 26% 6%; width: 88%; opacity: .9; }
.dash-bars { position: absolute; inset: auto 8% 6% 8%; height: 18%; display: flex; align-items: flex-end; gap: 8%; }
.dash-bars i { flex: 1; height: var(--h); border-radius: 4px 4px 0 0; background: linear-gradient(180deg, #AF5CF6, rgba(96, 165, 250, .4)); transform-origin: bottom; }
.is-in .dash-bars i, .dash.is-in .dash-bars i { animation: grow 1s var(--ease) both; }
@keyframes grow { from { transform: scaleY(0); } }
.dash-side { width: 30%; inset-inline-end: 0; top: 4%; padding: 12px; display: grid; gap: 6px; }
.dash-side span { height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .18); }
.dash-side span:last-child { width: 60%; }
.dash-donut { width: 56%; margin-inline: auto; }
.dash-mini { width: 36%; inset-inline-start: 0; bottom: 4%; padding: 12px; }

/* process */
.section-process { background: var(--bg-2); overflow: hidden; }
.process-grid { display: grid; grid-template-columns: .8fr 2.2fr; gap: clamp(28px, 4vw, 56px); align-items: center; position: relative; }
.process-head .muted { margin: 16px 0 26px; }
.process { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.process-step { position: relative; z-index: 1; padding: 22px 16px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .4s var(--ease), box-shadow .4s; }
.process-step:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.step-ic { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, #F6EAFF, #E6EEFF); color: var(--purple); margin-bottom: 14px; }
.step-n { display: block; font-family: var(--font-display); font-weight: 800; font-size: 15px; color: var(--text); }
.process-step h3 { font-size: 15px; margin: 2px 0 8px; color: var(--text-2); font-weight: 700; }
.process-step p { font-size: 13px; color: var(--muted); line-height: 1.55; }

/* portfolio / work */
.section-work { background: #fff; }
.work-layout { display: grid; grid-template-columns: .7fr 2.3fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
.work-head .muted { margin: 14px 0 24px; }
.carousel-nav { display: flex; gap: 10px; margin-top: 28px; }
.work-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 48px) / 4); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 6px; }
.work-track::-webkit-scrollbar { display: none; }
.work-card { scroll-snap-align: start; border-radius: var(--r); background: #fff; border: 1px solid var(--line); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .4s var(--ease), box-shadow .4s; }
.work-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.work-img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--lav); }
.work-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.work-card:hover .work-img img { transform: scale(1.07); }
.js .work-card.reveal .work-img { clip-path: inset(0 0 100% 0); transition: clip-path 1s var(--ease); transition-delay: calc(var(--d, 0) * 110ms); }
.js .work-card.reveal.is-in .work-img { clip-path: inset(0 0 0 0); }
.work-body { padding: 16px 18px 20px; }
.work-cat { font-size: 12px; font-weight: 700; color: var(--purple); text-transform: uppercase; letter-spacing: .08em; }
body.is-rtl .work-cat { letter-spacing: 0; }
.work-body h3 { font-size: 16px; margin: 6px 0 6px; line-height: 1.35; }
.work-body p { font-size: 13.5px; color: var(--muted); line-height: 1.55; }
.clients-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line); }
.clients-row p { font-size: 13px; font-weight: 700; color: var(--muted); }
.clients-row ul { display: flex; flex-wrap: wrap; gap: 10px 28px; }
.clients-row a { font-weight: 800; font-size: 17px; letter-spacing: -.02em; color: #94A3B8; transition: color .25s; direction: ltr; display: inline-block; }
.clients-row a:hover { color: var(--purple); }
.work-editorial { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.work-editorial .work-card:nth-child(4n+1), .work-editorial .work-card:nth-child(4n+4) { grid-row: span 1; }
.work-editorial .work-body { padding: 22px 24px 26px; }
.work-editorial .work-body h3 { font-size: 1.25rem; }

/* AI section */
.section-ai { background: linear-gradient(135deg, #F9F0FF 0%, #EEF4FF 100%); overflow: hidden; }
.ai-grid { position: relative; display: grid; grid-template-columns: .9fr 1.4fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.ai-head .muted { margin: 16px 0 28px; max-width: 460px; }
.ai-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.ai-card { padding: 26px; border-radius: var(--r-lg); background: rgba(255, 255, 255, .82); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, .95); box-shadow: var(--shadow-sm); transition: transform .4s var(--ease), box-shadow .4s; }
.ai-card:nth-child(even) { translate: 0 28px; }
.ai-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.ai-card h3 { font-size: 17px; margin: 8px 0 8px; }
.ai-card p { font-size: 14px; color: var(--muted); }

/* prose */
.prose-split { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.prose { font-size: 17px; color: var(--text-2); }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: clamp(1.35rem, 2.2vw, 1.85rem); margin-top: 2em; color: var(--text); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.15rem; margin-top: 1.6em; color: var(--text); }
.prose ul { display: grid; gap: 10px; }
.prose ul li { position: relative; padding-inline-start: 28px; }
.prose ul li::before { content: ''; position: absolute; inset-inline-start: 2px; top: .6em; width: 12px; height: 12px; border-radius: 50%; background: var(--grad); box-shadow: 0 0 0 4px var(--lav); }
.prose ol { counter-reset: n; display: grid; gap: 12px; }
.prose ol li { counter-increment: n; position: relative; padding-inline-start: 40px; }
.prose ol li::before { content: counter(n); position: absolute; inset-inline-start: 0; top: .05em; width: 28px; height: 28px; border-radius: 50%; background: var(--lav); color: var(--purple); font-size: 13px; font-weight: 800; display: grid; place-items: center; }
.prose a { color: var(--purple); font-weight: 700; text-decoration: underline; text-decoration-color: #D5B5FD; text-underline-offset: 3px; }
.prose a:hover { text-decoration-color: var(--purple); }
.prose strong { color: var(--text); }
.prose-narrow { max-width: 780px; margin-inline: auto; }

/* chips, values */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { padding: 11px 20px; border-radius: 999px; background: var(--bg-2); border: 1px solid var(--line); font-weight: 600; font-size: 15px; transition: all .25s; }
.chips li:hover { background: var(--purple); color: #fff; border-color: var(--purple); }
.value-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.value { padding: 26px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.value .step-n { color: var(--purple); margin-bottom: 14px; }
.value h3 { font-size: 17px; margin-bottom: 8px; }
.value p { font-size: 14.5px; color: var(--muted); }

/* faq */
.faq-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq-head { position: sticky; top: calc(var(--header-h) + 32px); }
.faq-head .muted { margin: 16px 0 26px; }
.faq { border-radius: var(--r); background: #fff; border: 1px solid var(--line); margin-bottom: 12px; transition: box-shadow .3s, border-color .3s; }
.faq[open] { box-shadow: var(--shadow-sm); border-color: #E2C8FB; }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 22px; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 { font-family: var(--font-body); font-size: 1.04rem; font-weight: 700; letter-spacing: 0; line-height: 1.45; }
.faq-ic { width: 36px; height: 36px; border-radius: 50%; flex: none; display: grid; place-items: center; background: var(--lav); color: var(--purple); transition: transform .35s var(--ease), background .3s, color .3s; }
.faq[open] .faq-ic { transform: rotate(45deg); background: var(--grad); color: #fff; }
.faq-a { padding: 0 22px 22px; color: var(--muted); }

/* CTA band */
.cta-band { position: relative; overflow: hidden; isolation: isolate; padding: clamp(64px, 8vw, 96px) 0; color: #fff; background: linear-gradient(100deg, #5B5BF0 0%, #A63AED 45%, #C18BFA 80%, #D5B5FD 100%); }
.cta-inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: center; }
.cta-band .kicker-light { color: rgba(255, 255, 255, .8); }
.cta-band .display-md { color: #fff; }
.cta-band .display-md em { background: none; color: #fff; -webkit-text-fill-color: #fff; }
.cta-text { margin-top: 14px; color: rgba(255, 255, 255, .88); max-width: 520px; }
.cta-actions { display: flex; align-items: center; gap: 24px; justify-content: flex-end; flex-wrap: wrap; }
.cta-note { display: flex; align-items: center; gap: 12px; font-family: var(--font-script); font-size: 1.55rem; line-height: 1.15; transform: rotate(-4deg); max-width: 220px; }
body.is-rtl .cta-note { font-size: 1.05rem; font-weight: 600; transform: none; }
.cta-squiggle { width: 64px; flex: none; }
.is-rtl .cta-squiggle { transform: scaleX(-1); }

/* page hero (inner pages) */
.page-hero { position: relative; overflow: hidden; isolation: isolate; padding: calc(var(--header-h) + clamp(40px, 6vw, 80px)) 0 clamp(56px, 7vw, 96px); background: linear-gradient(180deg, #FCFAFF 0%, #F8F0FF 100%); }
.page-hero .display-lg { max-width: 900px; }
.page-hero .hero-lead { max-width: 720px; animation: none; }
.page-hero-404 { min-height: 80vh; display: flex; align-items: center; }
.page-hero-404 .hero-lead { margin-inline: auto; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13.5px; font-weight: 600; color: var(--muted); margin-bottom: 24px; }
.crumbs li:not(:last-child)::after { content: '/'; margin-inline-start: 8px; opacity: .5; }
.crumbs a:hover { color: var(--purple); }
.crumbs [aria-current] { color: var(--purple); }
.svc-hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.svc-hero-img { position: relative; border-radius: var(--r-lg); aspect-ratio: 4 / 3.4; box-shadow: var(--shadow-lg); }
.svc-hero-img img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.svc-hero-badge { position: absolute; inset-inline-start: -18px; bottom: 28px; width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; background: #fff; color: var(--purple); box-shadow: var(--shadow); }
.svc-hero-badge .ic { width: 28px; height: 28px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.tags li { font-size: 13px; font-weight: 600; padding: 6px 14px; border-radius: 999px; background: #fff; border: 1px solid #EADAFB; color: var(--text-2); }

/* deliverables & article */
.deliverables { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.deliverables li { display: flex; gap: 16px; padding: 24px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.tick { flex: none; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); color: #fff; }
.tick .ic { width: 18px; height: 18px; stroke-width: 2.4; }
.deliverables h3 { font-family: var(--font-body); font-size: 1.02rem; font-weight: 700; letter-spacing: 0; margin-bottom: 6px; line-height: 1.35; }
.deliverables p { color: var(--muted); font-size: 14.5px; }
.article-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(32px, 6vw, 88px); align-items: start; }
.side-card { position: sticky; top: calc(var(--header-h) + 28px); display: grid; gap: 12px; padding: 30px; border-radius: var(--r-lg); background: linear-gradient(150deg, #681D95 0%, #9628D9 55%, #4F46E5 100%); color: #fff; overflow: hidden; isolation: isolate; box-shadow: var(--shadow-lg); }
.side-card::before { content: ''; position: absolute; width: 260px; height: 260px; inset-inline-end: -110px; top: -110px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, .25), transparent 65%); z-index: -1; }
.side-card .kicker { margin-bottom: 0; }
.side-title { font-family: var(--font-display); font-size: 1.4rem; font-weight: 800; line-height: 1.25; }
.side-text { color: rgba(255, 255, 255, .82); font-size: 14.5px; margin-bottom: 4px; }
.side-tel { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 700; padding: 6px; color: rgba(255, 255, 255, .9); }

/* portfolio page */
.client-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.client-card { position: relative; padding: 28px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 10px; transition: transform .4s var(--ease), box-shadow .4s; }
.client-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.client-card h3 { font-size: 1.25rem; direction: ltr; text-align: start; }
.client-card p { color: var(--muted); font-size: 14.5px; }
.client-card .link-arrow { margin-top: auto; }
.social-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.social-grid a { display: flex; flex-direction: column; gap: 4px; padding: 22px; border-radius: var(--r); background: var(--navy-2); border: 1px solid var(--line-dark); transition: all .3s; }
.social-grid a:hover { border-color: var(--violet); transform: translateY(-4px); }
.social-grid .ic { width: 26px; height: 26px; color: #D5B5FD; margin-bottom: 10px; }
.social-grid strong { font-size: 1.05rem; }
.social-grid span { color: var(--muted-dark); font-size: 14px; text-align: start; }

/* contact */
.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
.contact-cards { display: grid; gap: 12px; }
.c-card { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), border-color .3s; }
a.c-card:hover { transform: translateY(-3px); border-color: #D5B5FD; }
.c-ic { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--lav); color: var(--purple); flex: none; }
.c-card small { display: block; color: var(--muted); font-size: 13px; font-weight: 600; }
.c-card strong { display: block; font-size: 1rem; overflow-wrap: anywhere; }
.form-card { padding: clamp(24px, 4vw, 44px); border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.form-card .muted { margin: 10px 0 26px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 8px; font-weight: 600; font-size: 14px; color: var(--text-2); }
.field-full { grid-column: 1 / -1; }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-weight: 500; font-size: 16px; color: var(--text); background: var(--bg-2); border: 1.5px solid #DCDDF0; border-radius: 14px; padding: 13px 16px; min-height: 52px; transition: border-color .2s, background-color .2s, box-shadow .2s; }
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--purple); background: #fff; box-shadow: 0 0 0 4px rgba(166, 58, 237, .15); }
.field.is-invalid input, .field.is-invalid textarea { border-color: #DC2626; background: #FEF2F2; }
.is-rtl .field input[dir="ltr"] { text-align: right; }
.consent { display: flex; gap: 12px; align-items: flex-start; margin-top: 18px; font-size: 14px; color: var(--muted); }
.consent input { width: 22px; height: 22px; margin-top: 2px; accent-color: var(--purple); flex: none; }
.consent.is-invalid { color: #B91C1C; }
.consent a { color: var(--purple); font-weight: 700; text-decoration: underline; }
.form-foot { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.form-status { margin-top: 16px; font-weight: 700; min-height: 1.5em; }
.form-status.ok { color: #047857; }
.form-status.err { color: #B91C1C; }
.hp { position: absolute; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; }
.btn.is-loading { opacity: .75; pointer-events: none; }

/* footer */
.site-footer { background: var(--navy); color: #fff; padding: 80px 0 28px; border-top: 1px solid rgba(175, 92, 246, .35); }
.footer-top { display: grid; grid-template-columns: 1.3fr .8fr 1.2fr 1.1fr 1.15fr; gap: 32px; padding-bottom: 48px; border-bottom: 1px solid var(--line-dark); }
.footer-brand p { color: var(--muted-dark); margin: 18px 0 22px; max-width: 320px; font-size: 14.5px; }
.footer-h { font-family: var(--font-body); font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: #D5B5FD; margin-bottom: 18px; font-weight: 800; }
body.is-rtl .footer-h { letter-spacing: 0; font-size: 14px; }
.footer-links { display: grid; gap: 10px; font-size: 14.5px; }
.footer-links a, .footer-contact a { color: rgba(255, 255, 255, .75); transition: color .2s; }
.footer-links a:hover, .footer-contact a:hover { color: #fff; }
.footer-contact { display: grid; gap: 12px; color: rgba(255, 255, 255, .75); font-size: 14.5px; }
.footer-contact li { display: flex; gap: 10px; align-items: center; }
.footer-contact .ic { color: #C18BFA; width: 18px; height: 18px; }
.socials { display: flex; flex-wrap: wrap; gap: 8px; }
.socials a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-dark); color: rgba(255, 255, 255, .8); transition: all .25s; }
.socials a:hover { border-color: var(--violet); background: var(--violet); color: #fff; }
.socials .ic { width: 18px; height: 18px; }
.footer-langs { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 22px; font-weight: 600; font-size: 14px; }
.footer-langs a { color: rgba(255, 255, 255, .75); }
.footer-langs a:hover { color: #D5B5FD; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 24px; color: var(--muted-dark); font-size: 13.5px; }
.footer-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.footer-tags span { opacity: .5; }

.wa-fab { position: fixed; z-index: 40; bottom: 22px; inset-inline-end: 22px; width: 58px; height: 58px; border-radius: 50%; background: #1FAF5A; color: #fff; display: grid; place-items: center; box-shadow: 0 16px 40px -10px rgba(31, 175, 90, .7); transition: transform .3s var(--ease); }
.wa-fab:hover { transform: scale(1.08); }
.wa-fab .ic { width: 28px; height: 28px; }

/* ---------- cinematic image bands (home sections, process, CTA) ---------- */
.band { position: relative; isolation: isolate; overflow: hidden; }
.band-bg { position: absolute; inset: 0; z-index: -2; }
.band-bg img { width: 100%; height: 100%; object-fit: cover; }
.band::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.section-dark .muted { color: var(--muted-dark); }

/* services: light lavender over flowing white lines, glass cards */
.band-services::before { background: linear-gradient(100deg, rgba(247, 238, 255, .94) 0%, rgba(244, 236, 255, .78) 45%, rgba(232, 240, 255, .7) 100%); }
.band-services .svc-card { background: rgba(255, 255, 255, .62); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3); border: 1px solid rgba(255, 255, 255, .95); box-shadow: 0 18px 40px -26px rgba(104, 29, 149, .45); }
.band-services .svc-card:hover { background: rgba(255, 255, 255, .85); }
.svc-more { opacity: .55; transform: none !important; color: var(--text-2); }
.svc-card:hover .svc-more { opacity: 1; color: var(--purple); }
.ic-diag { width: 18px; height: 18px; }
.is-rtl .ic-diag { transform: scaleX(-1); }

/* why: neon city */
.band-why { background: var(--navy); }
.band-why .band-bg img { transform: scaleX(-1); filter: saturate(1.35) brightness(1.25); }
.is-rtl .band-why .band-bg img { transform: none; }
.band-why::before { background: linear-gradient(90deg, rgba(22, 14, 35, .94) 0%, rgba(22, 14, 35, .72) 40%, rgba(22, 14, 35, .12) 100%), linear-gradient(0deg, rgba(22, 14, 35, .5), transparent 40%); }
.is-rtl .band-why::before { background: linear-gradient(270deg, rgba(22, 14, 35, .94) 0%, rgba(22, 14, 35, .72) 40%, rgba(22, 14, 35, .12) 100%), linear-gradient(0deg, rgba(22, 14, 35, .55), transparent 40%); }
.band-why .stat-ic { background: rgba(255, 255, 255, .08); box-shadow: 0 0 24px rgba(175, 92, 246, .45); }

/* process: purple mountains at dusk, glowing wave */
.section-process { background: #271446; color: #fff; }
.band-process::before { background: linear-gradient(90deg, rgba(29, 14, 58, .9) 0%, rgba(54, 26, 96, .6) 45%, rgba(43, 24, 80, .45) 100%), linear-gradient(0deg, rgba(29, 14, 58, .6), transparent 50%); }
.is-rtl .band-process::before { background: linear-gradient(270deg, rgba(29, 14, 58, .9) 0%, rgba(54, 26, 96, .6) 45%, rgba(43, 24, 80, .45) 100%), linear-gradient(0deg, rgba(29, 14, 58, .6), transparent 50%); }
.section-process .display-md { color: #fff; }
.section-process .display-md em { background: linear-gradient(90deg, #E6D6FE, #93C5FD); -webkit-background-clip: text; background-clip: text; }
.process-head .lead-dim { margin: 16px 0 26px; color: rgba(255, 255, 255, .78); }
.process-wrap { position: relative; }
.process-wave { position: absolute; inset-inline: 0; top: 0; width: 100%; height: 88px; overflow: visible; filter: drop-shadow(0 0 6px rgba(252, 171, 245, .8)); }
.is-rtl .process-wave { transform: scaleX(-1); }
.process-wave path { stroke-dasharray: 1600; stroke-dashoffset: 1600; transition: stroke-dashoffset 2.2s var(--ease) .2s; }
.process-wrap.is-in .process-wave path { stroke-dashoffset: 0; }
.process { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.process-step { background: none; border: 0; box-shadow: none; padding: 20px 6px 0; text-align: start; }
.process-step:hover { transform: none; box-shadow: none; }
.process-step .step-ic { width: 48px; height: 48px; margin: 0 0 18px; background: rgba(255, 255, 255, .14); border: 1.5px solid rgba(255, 255, 255, .55); color: #fff; backdrop-filter: blur(6px); box-shadow: 0 0 0 6px rgba(213, 181, 253, .12), 0 0 28px rgba(213, 181, 253, .7); transition: transform .4s var(--ease), background .4s; }
.process-step:hover .step-ic { transform: scale(1.1); background: var(--grad); }
.process-step .step-n { color: #fff; }
.process-step h3 { color: #fff; }
.process-step p { color: rgba(255, 255, 255, .72); }

/* work: purple light streaks, dark glass cards */
.section-work { background: var(--navy); }
.band-work .band-bg img { filter: saturate(1.2) brightness(1.15); }
.band-work::before { background: linear-gradient(90deg, rgba(22, 14, 35, .82) 0%, rgba(22, 14, 35, .3) 45%, rgba(22, 14, 35, .45) 100%); }
.is-rtl .band-work::before { background: linear-gradient(270deg, rgba(22, 14, 35, .82) 0%, rgba(22, 14, 35, .3) 45%, rgba(22, 14, 35, .45) 100%); }
.work-head .lead-dim { margin: 14px 0 24px; }
.work-rail { position: relative; min-width: 0; }
.band-work .work-card { background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 24px 50px -24px rgba(0, 0, 0, .7); }
.band-work .work-card h3 { color: #fff; }
.band-work .work-card p { color: var(--muted-dark); }
.band-work .work-cat { color: #D5B5FD; }
.round-btn-light { position: absolute; top: 38%; z-index: 2; background: rgba(22, 14, 35, .55); border-color: rgba(255, 255, 255, .45); color: #fff; backdrop-filter: blur(6px); }
.round-btn-light:hover { background: #fff; color: var(--navy); border-color: #fff; }
.work-prev { inset-inline-start: -22px; }
.work-next { inset-inline-end: -22px; }
.band-work .clients-row { border-top-color: rgba(255, 255, 255, .12); }
.band-work .clients-row p { color: var(--muted-dark); }
.band-work .clients-row a { color: rgba(255, 255, 255, .55); }
.band-work .clients-row a:hover { color: #fff; }

/* AI: glowing sphere on the left */
.section-ai { background: var(--navy); }
.band-ai .band-bg { inset-inline-end: auto; width: 62%; }
.band-ai .band-bg img { -webkit-mask-image: linear-gradient(90deg, #000 45%, transparent 95%); mask-image: linear-gradient(90deg, #000 45%, transparent 95%); }
.is-rtl .band-ai .band-bg img { transform: scaleX(-1); }
.band-ai::before { background: radial-gradient(ellipse at 18% 50%, transparent 0%, rgba(22, 14, 35, .35) 40%, rgba(22, 14, 35, .9) 75%); }
.is-rtl .band-ai::before { background: radial-gradient(ellipse at 82% 50%, transparent 0%, rgba(22, 14, 35, .35) 40%, rgba(22, 14, 35, .9) 75%); }
.ai-grid { grid-template-columns: .75fr 1fr 1.25fr; }
.ai-orb { position: relative; aspect-ratio: 1; display: grid; place-items: center; }
.ai-orb span { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.6rem, 4.5vw, 4rem); color: #fff; letter-spacing: -.02em; text-shadow: 0 0 30px rgba(213, 181, 253, .95), 0 0 70px rgba(175, 92, 246, .8); animation: pulseText 3.5s ease-in-out infinite; }
@keyframes pulseText { 50% { text-shadow: 0 0 40px rgba(213, 181, 253, 1), 0 0 100px rgba(175, 92, 246, .95); } }
.section-ai .display-md { color: #fff; }
.section-ai .display-md em { background: linear-gradient(90deg, #D5B5FD, #93C5FD); -webkit-background-clip: text; background-clip: text; }
.ai-head .lead-dim { margin: 16px 0 28px; max-width: 440px; }
.band-ai .ai-card { background: rgba(255, 255, 255, .06); border: 1px solid rgba(193, 139, 250, .3); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 24px 50px -24px rgba(0, 0, 0, .7); }
.band-ai .ai-card h3 { color: #fff; }
.band-ai .ai-card p { color: var(--muted-dark); }
.band-ai .ai-card .svc-ic { background: rgba(175, 92, 246, .22); color: #E6D6FE; }

/* CTA: purple-blue wave photo */
.cta-band::before { background: linear-gradient(100deg, rgba(104, 29, 149, .55) 0%, rgba(150, 40, 217, .25) 55%, rgba(79, 70, 229, .2) 100%); }

/* footer project box */
.footer-box { align-self: start; padding: 22px; border-radius: var(--r); border: 1px solid rgba(255, 255, 255, .14); background: linear-gradient(160deg, rgba(166, 58, 237, .16), rgba(255, 255, 255, .03)); }
.footer-box-title { font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; margin-bottom: 8px; }
.footer-box p:not(.footer-box-title) { color: var(--muted-dark); font-size: 14px; margin-bottom: 16px; }

/* ---------- reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(30px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--d, 0) * 100ms); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .dash .spark-line { animation-play-state: paused; }
.js .dash.is-in .spark-line { animation-play-state: running; }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .nav-list > li > a { padding-inline: 9px; font-size: 14px; }
  .why-grid { grid-template-columns: 1fr 1.2fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .dash { display: none; }
  .process { grid-template-columns: repeat(3, 1fr); }
  .process-grid, .work-layout, .services-grid { grid-template-columns: 1fr; }
  .services-head { position: static; max-width: 680px; }
  .work-track { grid-auto-columns: calc((100% - 32px) / 3); }
  .svc-grid-related { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1040px) {
  :root { --header-h: 88px; }
  .menu-btn { display: grid; }
  .header-cta { display: none; }
  .main-nav { position: fixed; top: var(--header-h); left: 0; right: 0; height: calc(100vh - var(--header-h)); height: calc(100dvh - var(--header-h)); background: #fff; padding: 20px var(--gutter) 40px; overflow-y: auto; transform: translateY(-12px); opacity: 0; visibility: hidden; transition: all .35s var(--ease); margin: 0; }
  .is-open .main-nav { transform: none; opacity: 1; visibility: visible; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list > li > a { font-family: var(--font-display); font-weight: 800; font-size: 1.45rem; padding: 14px 0; border-bottom: 1px solid var(--line); width: 100%; justify-content: space-between; color: var(--text); }
  .nav-list > li > a::after, .nav-list > li > a .ic { display: none; }
  .is-open .nav-list > li { animation: fadeUp .5s var(--ease) both; }
  .is-open .nav-list > li:nth-child(2) { animation-delay: .04s; } .is-open .nav-list > li:nth-child(3) { animation-delay: .08s; } .is-open .nav-list > li:nth-child(4) { animation-delay: .12s; } .is-open .nav-list > li:nth-child(5) { animation-delay: .16s; } .is-open .nav-list > li:nth-child(6) { animation-delay: .2s; }
  .mega { display: none; }
  .nav-mobile-extra { display: grid; gap: 14px; margin-top: 24px; }
  .nav-mobile-services { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 8px; }
  .nav-mobile-services a { display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: 14px; background: var(--bg-2); font-weight: 600; font-size: 14px; min-height: 48px; }
  .nav-mobile-services .ic { color: var(--purple); }
   .why-grid, .prose-split, .faq-layout, .svc-hero-grid, .contact-grid, .ai-grid, .cta-inner { grid-template-columns: 1fr; }
  .faq-head { position: static; }
  
  
  
  
  
  .cta-actions { justify-content: flex-start; }
  .section-head-split { flex-direction: column; align-items: flex-start; }
  .svc-hero-img { aspect-ratio: 16 / 10; }
  .value-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .social-grid { grid-template-columns: repeat(3, 1fr); }
  .article-grid { grid-template-columns: 1fr; }
  .side-card { position: static; max-width: 560px; }
}
@media (max-width: 760px) {
  .svc-grid, .svc-grid-hub, .svc-grid-related, .deliverables, .client-grid, .work-editorial { grid-template-columns: 1fr 1fr; }
  .process { grid-template-columns: 1fr; gap: 0; padding-inline-start: 26px; }
  .process::before { content: ''; position: absolute; inset-inline-start: 4px; top: 10px; bottom: 10px; width: 2px; background: linear-gradient(180deg, #D5B5FD, #93C5FD); }
  .process-step { margin-bottom: 14px; }
  .process-step::before { content: ''; position: absolute; inset-inline-start: -28px; top: 32px; width: 12px; height: 12px; border-radius: 50%; background: var(--purple); box-shadow: 0 0 0 4px var(--lav); }
  .work-track { grid-auto-columns: 72%; }
  .stats { gap: 26px 16px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .svc-grid, .svc-grid-hub, .svc-grid-related, .deliverables, .client-grid, .work-editorial, .ai-cards, .form-grid, .value-grid { grid-template-columns: 1fr; }
  .ai-card:nth-child(even) { translate: none; }
  .svc-card { display: grid; grid-template-columns: 48px 1fr; column-gap: 16px; row-gap: 4px; padding: 18px; }
  .svc-card .svc-ic { grid-row: span 2; margin: 0; }
  .svc-card h3 { align-self: end; }
  .svc-more { display: none; }
  .social-grid { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .btn-row .btn { flex: 1 1 100%; }
  .btn { white-space: normal; text-align: center; }
  .benefits { gap: 12px 18px; }
  .lang-btn span { display: none; }
  .logo-text { font-size: 22px; }
  .wa-fab { width: 52px; height: 52px; bottom: 16px; inset-inline-end: 16px; }
  .nav-mobile-services { grid-template-columns: 1fr; }
  .cta-note { font-size: 1.3rem; }
  
  
  
  
  
  
  
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
  .js .work-card.reveal .work-img { clip-path: none; }
  .spark-line { stroke-dashoffset: 0; }
  
  .process-line { transform: none; }
}

@media (max-width: 1180px) {
  .ai-grid { grid-template-columns: .6fr 1fr; }
  .ai-cards { grid-column: 1 / -1; }
  .footer-top { grid-template-columns: repeat(3, 1fr); }
  .work-prev { inset-inline-start: -10px; }
  .work-next { inset-inline-end: -10px; }
}
@media (max-width: 1040px) {
  .ai-grid { grid-template-columns: 1fr; }
  .ai-orb { width: 160px; margin-inline: auto; }
  .band-ai .band-bg { width: 100%; height: 340px; }
  .band-ai .band-bg img { -webkit-mask-image: linear-gradient(180deg, #000 45%, transparent 100%); mask-image: linear-gradient(180deg, #000 45%, transparent 100%); }
  .band-ai::before { background: linear-gradient(180deg, rgba(22, 14, 35, .2) 0%, rgba(22, 14, 35, .9) 300px) !important; }
  .process { grid-template-columns: repeat(3, 1fr); row-gap: 28px; }
  .process-wave { display: none; }
}
@media (max-width: 760px) {
  .process { grid-template-columns: 1fr; padding-inline-start: 28px; }
  .process::before { background: linear-gradient(180deg, #E6D6FE, #93C5FD); box-shadow: 0 0 10px rgba(230, 214, 254, .7); }
  .process-step { padding-top: 0; }
  .process-step::before { background: #FCABF5; box-shadow: 0 0 0 4px rgba(252, 171, 245, .25), 0 0 14px rgba(252, 171, 245, .8); top: 18px; }
  .work-prev, .work-next { display: none; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand, .footer-box { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .footer-top { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .process-wave path { stroke-dashoffset: 0; }
}
@media (min-width: 1041px) {
  .process-wrap .process-step { text-align: center; }
  .process-wrap .process-step .step-ic { margin-inline: auto; }
}

/* ---------- reference fidelity: home bands ---------- */
.band.section { padding: clamp(60px, 6.5vw, 92px) 0; }
.band .display-md { font-size: clamp(1.7rem, 2.5vw, 2.3rem); line-height: 1.15; }
body.is-rtl .band .display-md { line-height: 1.45; }
.band .lead-dim, .band .muted { font-size: 15.5px; }

/* services: AI face on the left edge, glass crystals on the right */
.band-services::before { background: radial-gradient(ellipse 30% 70% at 4% 40%, rgba(96, 120, 255, .55), transparent 70%), linear-gradient(100deg, rgba(241, 232, 255, .9) 0%, rgba(244, 236, 255, .8) 45%, rgba(232, 240, 255, .72) 100%); }
.is-rtl .band-services::before { background: radial-gradient(ellipse 30% 70% at 96% 40%, rgba(96, 120, 255, .55), transparent 70%), linear-gradient(260deg, rgba(241, 232, 255, .9) 0%, rgba(244, 236, 255, .8) 45%, rgba(232, 240, 255, .72) 100%); }
.svc-face { position: absolute; z-index: -1; inset-inline-start: -70px; top: 4%; bottom: 4%; width: min(250px, 17vw); pointer-events: none; }
.svc-face img { width: 100%; height: 100%; object-fit: cover; object-position: 40% 30%; mix-blend-mode: screen; opacity: .9; -webkit-mask-image: radial-gradient(ellipse 60% 55% at 48% 42%, #000 35%, transparent 78%); mask-image: radial-gradient(ellipse 60% 55% at 48% 42%, #000 35%, transparent 78%); }
.is-rtl .svc-face img { transform: scaleX(-1); }
.svc-crystal { position: absolute; z-index: -1; inset-inline-end: -30px; top: 8%; width: 120px; height: 150px; background: linear-gradient(135deg, rgba(255, 255, 255, .85), rgba(213, 181, 253, .55) 45%, rgba(147, 197, 253, .5)); clip-path: polygon(50% 0, 100% 30%, 82% 100%, 18% 88%, 0 34%); filter: drop-shadow(0 20px 30px rgba(166, 58, 237, .35)); animation: floatY 7s ease-in-out infinite alternate; pointer-events: none; }
.svc-crystal-2 { top: auto; bottom: 10%; inset-inline-end: 3%; width: 54px; height: 66px; opacity: .8; animation-duration: 5.5s; animation-direction: alternate-reverse; }
/* colourful gradient icon tiles, like the reference */
.band-services .svc-ic, .svc-grid-hub .svc-ic { border-radius: 14px; color: #fff; background: var(--tile, linear-gradient(135deg, #AF5CF6, #6366F1)); box-shadow: 0 10px 20px -10px var(--tile-glow, rgba(99, 102, 241, .7)); }
.band-services .svc-card:hover .svc-ic, .svc-grid-hub .svc-card:hover .svc-ic { transform: rotate(-6deg) scale(1.06); }
.svc-card:nth-child(9n+1) { --tile: linear-gradient(135deg, #60A5FA, #2563EB); --tile-glow: rgba(37, 99, 235, .6); }
.svc-card:nth-child(9n+2) { --tile: linear-gradient(135deg, #DC84FC, #A63AED); --tile-glow: rgba(166, 58, 237, .6); }
.svc-card:nth-child(9n+3) { --tile: linear-gradient(135deg, #FDBA74, #F43F5E); --tile-glow: rgba(244, 63, 94, .55); }
.svc-card:nth-child(9n+4) { --tile: linear-gradient(135deg, #F9A8D4, #DB2777); --tile-glow: rgba(219, 39, 119, .55); }
.svc-card:nth-child(9n+5) { --tile: linear-gradient(135deg, #93C5FD, #4F46E5); --tile-glow: rgba(79, 70, 229, .6); }
.svc-card:nth-child(9n+6) { --tile: linear-gradient(135deg, #C18BFA, #3B82F6); --tile-glow: rgba(59, 130, 246, .6); }
.svc-card:nth-child(9n+7) { --tile: linear-gradient(135deg, #67E8F9, #0EA5E9); --tile-glow: rgba(14, 165, 233, .55); }
.svc-card:nth-child(9n+8) { --tile: linear-gradient(135deg, #FCD34D, #F97316); --tile-glow: rgba(249, 115, 22, .55); }
.svc-card:nth-child(9n+9) { --tile: linear-gradient(135deg, #6EE7B7, #10B981); --tile-glow: rgba(16, 185, 129, .55); }
.band-services .svc-card { padding: 20px 22px; gap: 6px; }
.band-services .svc-card h3 { font-size: 15.5px; }
.band-services .svc-card p { font-size: 13.5px; }
@media (max-width: 1040px) {
  .svc-face { width: 150px; opacity: .45; inset-inline-start: -60px; }
  .svc-crystal { display: none; }
}

/* ---------- testimonials band (reference style) ---------- */
.band-testi { background: radial-gradient(ellipse 40% 80% at 0% 50%, rgba(213, 181, 253, .55), transparent 70%), radial-gradient(ellipse 40% 80% at 100% 30%, rgba(147, 197, 253, .45), transparent 70%), linear-gradient(100deg, #F7EEFF 0%, #F9F5FF 50%, #EEF3FF 100%); }
.band-testi .svc-crystal { inset-inline-end: auto; inset-inline-start: -36px; top: 18%; transform: rotate(-18deg); }
.band-testi .svc-crystal-2 { inset-inline-start: auto; inset-inline-end: 3%; top: 12%; bottom: auto; }
.testi-glass { position: absolute; z-index: -1; inset-inline-end: -60px; bottom: -40px; width: 220px; height: 220px; border-radius: 40px; transform: rotate(24deg); background: linear-gradient(140deg, rgba(255, 255, 255, .7), rgba(213, 181, 253, .25)); border: 1px solid rgba(255, 255, 255, .9); backdrop-filter: blur(6px); pointer-events: none; }
.testi-grid { display: grid; grid-template-columns: .85fr 2.15fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
.testi-head .muted { margin: 12px 0 0; }
.testi-head .carousel-nav { margin-top: 26px; }
.testi-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 32px) / 3); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 6px 2px 12px; }
.testi-track::-webkit-scrollbar { display: none; }
.testi { position: relative; scroll-snap-align: start; display: flex; flex-direction: column; gap: 18px; padding: 24px; border-radius: var(--r); background: rgba(255, 255, 255, .72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid rgba(255, 255, 255, .95); box-shadow: 0 18px 40px -26px rgba(104, 29, 149, .45); transition: transform .4s var(--ease), box-shadow .4s; }
.testi:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.testi-mark { position: absolute; top: 18px; inset-inline-end: 18px; width: 26px; height: 26px; color: #D5B5FD; }
.testi blockquote { margin: 0; flex: 1; }
.testi blockquote p { font-size: 14.5px; line-height: 1.65; color: var(--text-2); padding-inline-end: 28px; }
.testi-foot { display: flex; align-items: center; gap: 12px; }
.testi-av { width: 42px; height: 42px; border-radius: 50%; flex: none; display: grid; place-items: center; background: var(--grad); color: #fff; font-weight: 800; font-size: 14px; }
.testi-who { flex: 1; min-width: 0; font-size: 13.5px; line-height: 1.35; }
.testi-who strong { display: block; color: var(--text); }
.testi-who span { display: block; color: var(--muted); font-size: 12.5px; }
.testi-stars { color: #F59E0B; font-size: 14px; letter-spacing: 1px; white-space: nowrap; }
.testi.is-placeholder { background: rgba(255, 255, 255, .5); border: 1.5px dashed #D5B5FD; }
.testi.is-placeholder blockquote p, .testi.is-placeholder .testi-who strong, .testi.is-placeholder .testi-who span { color: var(--muted); font-style: italic; }
.testi.is-placeholder .testi-av { background: #EFE3FD; color: var(--purple); }

/* ---------- partners / references strip ---------- */
.partners { background: #fff; border-block: 1px solid var(--line); padding: 26px 0; }
.partners-inner { display: flex; align-items: center; gap: clamp(20px, 4vw, 48px); }
.partners-label { flex: none; display: grid; gap: 2px; margin: 0; font-family: var(--font-body); font-size: 15px; font-weight: 800; letter-spacing: 0; line-height: 1.3; color: var(--text); max-width: 190px; }
.partners-label span { font-size: 11.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--purple); }
body.is-rtl .partners-label span { letter-spacing: 0; font-size: 12.5px; }
.partners-viewport { flex: 1; min-width: 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.partners-track { display: flex; align-items: center; width: max-content; gap: 18px; animation: partners 40s linear infinite; }
.is-rtl .partners-track { animation-name: partners-rtl; }
.partners-viewport:hover .partners-track, .partners-viewport:focus-within .partners-track { animation-play-state: paused; }
@keyframes partners { to { transform: translateX(calc(-50% - 9px)); } }
@keyframes partners-rtl { to { transform: translateX(calc(50% + 9px)); } }
@media (max-width: 1040px) {
  .testi-grid { grid-template-columns: 1fr; }
  .testi-track { grid-auto-columns: calc((100% - 16px) / 2); }
  .partners-inner { flex-direction: column; align-items: flex-start; gap: 14px; }
  .partners-label { max-width: none; }
  .partners-viewport { width: 100%; }
}
@media (max-width: 640px) {
  .testi-track { grid-auto-columns: 86%; }
}
@media (prefers-reduced-motion: reduce) {
  .partners-track { animation: none; flex-wrap: wrap; width: auto; }
  .partners-track li[aria-hidden] { display: none; }
}

/* ---------- client logo cards ---------- */
.logo-card { display: grid; place-items: center; height: 84px; min-width: 150px; padding: 12px 20px; border-radius: 16px; background: #fff; border: 1px solid var(--line); box-shadow: 0 8px 20px -14px rgba(104, 29, 149, .35); transition: transform .35s var(--ease), box-shadow .35s, border-color .35s; }
.logo-card img { max-height: 58px; max-width: 170px; width: auto; height: auto; object-fit: contain; }
.logo-card-dark { background: var(--navy); border-color: var(--navy); }
.logo-card-wide img { max-width: 280px; max-height: 50px; }
.client-card .logo-card-wide img { max-width: 300px; max-height: 56px; }
a.logo-card:hover, span.logo-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #D5B5FD; }
.partners { padding: 30px 0; }
.partners-viewport { padding-block: 8px; }
.client-card .logo-card { justify-self: start; align-self: flex-start; margin-bottom: 6px; height: 96px; min-width: 180px; }
.client-card .logo-card img { max-height: 66px; max-width: 200px; }
@media (max-width: 640px) {
  .logo-card { height: 70px; min-width: 120px; padding: 10px 14px; }
  .logo-card img { max-height: 46px; max-width: 130px; }
}

/* ---------- logo images ---------- */
.logo-img { height: 46px; width: auto; }
.logo-on-dark { display: none; }
.has-dark-hero .site-header:not(.is-scrolled):not(.is-open) .logo-on-light { display: none; }
.has-dark-hero .site-header:not(.is-scrolled):not(.is-open) .logo-on-dark { display: block; }
.logo-footer { width: 150px; height: auto; }
@media (max-width: 560px) { .logo-img { height: 38px; } }
.header-inner { gap: 16px; }
.nav-list > li > a { white-space: nowrap; padding-inline: 11px; }
.logo-img { height: 42px; }
@media (max-width: 1280px) {
  .nav-list > li > a { padding-inline: 8px; font-size: 13.5px; }
  .header-cta { padding-inline-start: 16px; font-size: 13px; }
  .logo-img { height: 36px; }
}

/* stacked logo in the header */
.logo-img { height: 78px; width: auto; }
@media (max-width: 1280px) { .logo-img { height: 70px; } }
@media (max-width: 1040px) { .logo-img { height: 64px; } }
@media (max-width: 560px) { .logo-img { height: 58px; } }

/* ---------- logo v2: larger, shrinks smoothly once the page scrolls ---------- */
.site-header { transition: background-color .35s, box-shadow .35s, height .35s var(--ease); }
.site-header.is-scrolled { height: 84px; }
.logo { transition: transform .35s var(--ease); }
.logo:hover { transform: translateY(-2px) scale(1.03); }
.logo-img { height: 94px; transition: height .35s var(--ease), filter .35s; }
.site-header.is-scrolled .logo-img { height: 68px; }
.logo-on-dark { filter: drop-shadow(0 0 14px rgba(175, 92, 246, .55)) drop-shadow(0 2px 6px rgba(0, 0, 0, .35)); }
.logo-footer { width: 170px; filter: drop-shadow(0 0 18px rgba(175, 92, 246, .35)); }
@media (max-width: 1280px) { .logo-img { height: 84px; } .site-header.is-scrolled .logo-img { height: 64px; } }
@media (max-width: 1040px) {
  .logo-img { height: 72px; }
  .site-header.is-scrolled { height: 74px; }
  .site-header.is-scrolled .logo-img { height: 58px; }
  .main-nav { top: 74px; height: calc(100dvh - 74px); }
  .site-header:not(.is-scrolled) .main-nav { top: var(--header-h); height: calc(100dvh - var(--header-h)); }
}
@media (max-width: 560px) { .logo-img { height: 66px; } .site-header.is-scrolled .logo-img { height: 54px; } }

/* ---------- process band: light version (breaks up the run of dark sections) ---------- */
.section-process { background: #F7F1FF; color: var(--text); }
.band-process .band-bg img { filter: saturate(1.1) hue-rotate(-8deg); }
.band-process::before, .is-rtl .band-process::before { background: linear-gradient(180deg, rgba(250, 246, 255, .9) 0%, rgba(247, 238, 255, .82) 55%, rgba(239, 226, 255, .7) 100%); }
.section-process .display-md { color: var(--text); }
.section-process .display-md em { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; }
.section-process .kicker-light { color: var(--purple); }
.process-head .lead-dim { color: var(--muted); }
.process-wave { filter: drop-shadow(0 0 6px rgba(193, 139, 250, .6)); }
.process-step .step-ic { background: rgba(255, 255, 255, .75); border-color: #DBBFFB; color: var(--purple); box-shadow: 0 0 0 6px rgba(193, 139, 250, .14), 0 10px 26px -8px rgba(166, 58, 237, .45); }
.process-step:hover .step-ic { color: #fff; }
.process-step .step-n, .process-step h3 { color: var(--text); }
.process-step p { color: var(--muted); }
@media (max-width: 760px) {
  .process::before { background: linear-gradient(180deg, #C18BFA, #60A5FA); box-shadow: none; }
  .process-step::before { background: var(--purple); box-shadow: 0 0 0 4px rgba(193, 139, 250, .3); }
}

/* ---------- blog ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.post-card { position: relative; display: flex; flex-direction: column; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .4s var(--ease), box-shadow .4s, border-color .4s; }
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: #E2C8FB; }
.post-card-img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--lav); }
.post-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.post-card:hover .post-card-img img { transform: scale(1.06); }
.post-card-body { display: flex; flex-direction: column; gap: 8px; padding: 20px 22px 22px; flex: 1; }
.post-card-body h3 { font-size: 1.12rem; line-height: 1.35; letter-spacing: -.01em; }
.post-card-body h3 a:hover { color: var(--purple); }
.post-card-body > p:not(.work-cat):not(.post-meta) { color: var(--muted); font-size: 14.5px; line-height: 1.6; }
.post-card .post-meta { margin-top: auto; padding-top: 10px; }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; font-size: 13.5px; font-weight: 600; color: var(--muted); }
.post-meta > * { display: inline-flex; align-items: center; gap: 6px; }
.post-meta .ic { color: var(--purple); }
.page-hero-post .post-meta { margin-top: 22px; }
.page-hero-post .display-lg { font-size: clamp(2rem, 4.2vw, 3.3rem); }
.post-cover { margin: 0 0 8px; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 16 / 9; box-shadow: var(--shadow); }
.post-cover img { width: 100%; height: 100%; object-fit: cover; }
.post-body h2 { scroll-margin-top: calc(var(--header-h) + 24px); }
.post-side { position: sticky; top: calc(var(--header-h) + 28px); display: grid; gap: 18px; }
.post-side .side-card { position: static; }
.toc { padding: 22px 24px; border-radius: var(--r-lg); background: var(--bg-2, #F9F5FF); border: 1px solid var(--line); }
.toc-h { font-size: 12.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--purple); margin-bottom: 12px; }
.is-rtl .toc-h { letter-spacing: 0; }
.toc ol { display: grid; gap: 4px; counter-reset: t; }
.toc li { counter-increment: t; }
.toc a { display: flex; gap: 10px; padding: 7px 0; font-size: 14.5px; font-weight: 600; line-height: 1.45; color: var(--text-2); }
.toc a::before { content: counter(t, decimal-leading-zero); color: #C18BFA; font-weight: 800; font-size: 12.5px; padding-top: 2px; }
.toc a:hover { color: var(--purple); }
@media (max-width: 1040px) {
  .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .post-side { position: static; }
}
@media (max-width: 640px) { .post-grid { grid-template-columns: 1fr; } }
:lang(fa) .toc a::before { content: counter(t, persian); }
:lang(ar) .toc a::before { content: counter(t, arabic-indic); }
:lang(fa) .prose ol li::before { content: counter(n, persian); }
:lang(ar) .prose ol li::before { content: counter(n, arabic-indic); }

/* Keep decorative glows inside each section on phones (overflow: clip keeps sticky elements working). */
main > section { overflow-x: clip; }

/* B7 logo: a bold mark, so a little smaller than the old stacked logo and vertically centred */
.logo-img { height: 84px; }
.site-header.is-scrolled .logo-img { height: 60px; }
.logo-on-dark { filter: drop-shadow(0 0 12px rgba(208, 47, 240, .35)); }
.logo-footer { width: 150px; filter: none; }
@media (max-width: 1280px) { .logo-img { height: 78px; } .site-header.is-scrolled .logo-img { height: 58px; } }
@media (max-width: 1040px) { .logo-img { height: 64px; } .site-header.is-scrolled .logo-img { height: 54px; } }
@media (max-width: 560px) { .logo-img { height: 58px; } .site-header.is-scrolled .logo-img { height: 50px; } }

/* ---------- real projects ---------- */
.proj-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.proj-card, .ind-card { position: relative; display: flex; flex-direction: column; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .45s var(--ease), box-shadow .45s, border-color .45s; }
.proj-card:hover, .ind-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: #E6C2FB; }
.proj-card:hover .svc-more, .ind-card:hover .svc-more { opacity: 1; transform: none; }
.proj-shot { margin: 0; background: #F2E9F8; overflow: hidden; }
.proj-bar { display: flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px; background: #F4F1F7; border-bottom: 1px solid var(--line); }
.proj-bar i { width: 8px; height: 8px; border-radius: 50%; background: #D9CFE0; }
.proj-bar i:first-child { background: #F87171; } .proj-bar i:nth-child(2) { background: #FBBF24; } .proj-bar i:nth-child(3) { background: #34D399; }
.proj-bar b { margin-inline-start: 10px; font-size: 11.5px; font-weight: 600; color: var(--muted); direction: ltr; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.proj-shot img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; transition: transform 1.2s var(--ease); }
.proj-card:hover .proj-shot img, .ind-card:hover .proj-shot img { transform: scale(1.04); }
.proj-body { display: flex; flex-direction: column; gap: 8px; padding: 18px 22px 22px; }
.proj-body h3 { font-size: 1.2rem; letter-spacing: -.01em; }
.proj-body > p:not(.work-cat) { color: var(--muted); font-size: 14.5px; line-height: 1.6; }
.proj-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.proj-tags li { padding: 4px 10px; border-radius: 999px; background: var(--lav); color: var(--purple); font-size: 12px; font-weight: 700; }
.proj-card .svc-more, .ind-card .svc-more { position: absolute; top: 40px; inset-inline-end: 12px; z-index: 2; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--purple); box-shadow: var(--shadow-sm); }
.featured-more { margin-top: 40px; }
.section-featured .section-head-split { align-items: flex-end; }
.ind-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.ind-card .proj-body h3 { font-size: 1.35rem; }

/* case page: device showcase */
.page-hero-case .btn-row { margin-top: 28px; }
.case-show { position: relative; max-width: 1080px; margin: 0 auto; padding-inline-end: 120px; }
.case-desktop .proj-shot { border-radius: 16px; border: 1px solid var(--line); box-shadow: 0 40px 80px -30px rgba(56, 10, 80, .35); }
.case-desktop .proj-bar { height: 34px; }
.case-desktop .proj-shot img { aspect-ratio: 16 / 10; }
.case-phone { position: absolute; inset-inline-end: 0; bottom: -40px; width: 220px; margin: 0; padding: 10px; border-radius: 34px; background: #111; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .45); }
.case-phone img { display: block; width: 100%; height: auto; aspect-ratio: 400 / 866; object-fit: cover; object-position: top; border-radius: 26px; }
.case-facts { position: sticky; top: calc(var(--header-h) + 28px); padding: 26px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.case-logo { margin-bottom: 18px; }
.case-logo .logo-card { width: 100%; height: 96px; }
.case-facts dl { display: grid; gap: 6px; }
.case-facts dt { margin-top: 12px; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--purple); }
.is-rtl .case-facts dt { letter-spacing: 0; }
.case-facts dd { font-weight: 600; color: var(--text); }
.case-facts dd ul { display: flex; flex-wrap: wrap; gap: 6px; }
.case-facts dd a { color: var(--text); text-decoration: underline; text-decoration-color: #E6C2FB; text-underline-offset: 3px; }
.case-facts dd a:hover { color: var(--purple); }
.case-facts dd li:not(:last-child)::after { content: '·'; margin-inline-start: 6px; color: var(--muted); }

/* packages */
.pkg-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; align-items: stretch; }
.pkg { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 32px 28px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.pkg-hi { border: 2px solid var(--purple); box-shadow: var(--shadow); }
.pkg-badge { position: absolute; top: -14px; inset-inline-start: 24px; padding: 5px 14px; border-radius: 999px; background: var(--grad); color: #fff; font-size: 12px; font-weight: 800; }
.pkg-name { font-size: 1.5rem; letter-spacing: -.02em; }
.pkg-for { color: var(--muted); font-size: 14.5px; }
.pkg-for span { font-weight: 700; color: var(--text); }
.pkg-price { font-size: 1.15rem; font-weight: 800; color: var(--purple); padding: 12px 0; border-block: 1px solid var(--line); }
.pkg-list { display: grid; gap: 10px; flex: 1; }
.pkg-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.pkg-list .ic { flex: none; margin-top: 3px; color: var(--purple); }
.pkg .btn { align-self: flex-start; margin-top: 8px; }
.pkg-note { max-width: 760px; margin: 32px auto 0; text-align: center; color: var(--muted); font-size: 14.5px; }

/* team */
.team-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.team-card img { width: 100%; height: auto; aspect-ratio: 6 / 7; object-fit: cover; border-radius: var(--r-lg); margin-bottom: 14px; }
.team-card h3 { font-size: 1.2rem; }
.team-card > p:not(.work-cat) { color: var(--muted); font-size: 14.5px; margin: 6px 0 10px; }

@media (max-width: 1040px) {
  .proj-grid, .pkg-grid, .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .case-show { padding-inline-end: 80px; }
  .case-phone { width: 160px; border-radius: 26px; padding: 7px; }
  .case-phone img { border-radius: 20px; }
  .case-facts { position: static; }
}
@media (max-width: 640px) {
  .proj-grid, .pkg-grid, .team-grid, .ind-grid { grid-template-columns: 1fr; }
  .case-show { padding-inline-end: 0; padding-bottom: 40px; }
  .case-phone { width: 120px; bottom: 0; padding: 5px; border-radius: 20px; }
  .case-phone img { border-radius: 15px; }
}
/* One type family for Latin (Inter): the CTA note is a calm italic aside, not script. */
.cta-note { font-size: 1.05rem; font-weight: 600; font-style: italic; transform: none; max-width: 240px; }
@media (max-width: 760px) { .cta-note { font-size: 1rem; } }
.case-facts dd ul { flex-direction: column; gap: 4px; }
.case-facts dd li { padding: 0; }
.case-facts dd li::before, .case-facts dd li:not(:last-child)::after { content: none; }
.proj-bar { direction: ltr; }
/* Hero slider: quicker rhythm (autoplay 4.5s in main.js) */

/* ---------- closing request-form section ---------- */
.cta-form-band { background: #120A1E; padding: clamp(72px, 9vw, 120px) 0; }
.cta-form-band .band-bg img { opacity: .55; filter: saturate(1.2); }
.cta-form-band::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(120% 90% at 0% 0%, rgba(166, 58, 237, .55) 0%, rgba(18, 10, 30, .2) 55%), linear-gradient(180deg, rgba(18, 10, 30, .55) 0%, rgba(18, 10, 30, .85) 100%); }
.cta-glow { position: absolute; z-index: -1; width: 520px; height: 520px; border-radius: 50%; inset-inline-end: -160px; top: -180px; background: radial-gradient(circle, rgba(193, 139, 250, .45), transparent 65%); filter: blur(10px); pointer-events: none; }
.cta-glow-2 { inset-inline-end: auto; inset-inline-start: 30%; top: auto; bottom: -260px; background: radial-gradient(circle, rgba(96, 165, 250, .28), transparent 65%); }
.cta-form-band .cta-inner { grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.cta-form-band .display-md em { background: linear-gradient(90deg, #E1C2FF, #B9D6FF); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.cta-contacts { display: grid; gap: 12px; margin-top: 30px; }
.cta-contacts li > a, .cta-contacts li > span:first-child + span { color: #fff; }
.cta-contacts li { display: flex; }
.cta-contacts a, .cta-contacts li:not(:has(a)) { display: flex; align-items: center; gap: 14px; }
.cta-contacts .c-ic { background: rgba(255, 255, 255, .1); color: #fff; border: 1px solid rgba(255, 255, 255, .18); }
.cta-contacts .c-ic svg { width: 20px; height: 20px; }
.cta-contacts small { display: block; font-size: 12.5px; color: rgba(255, 255, 255, .65); }
.cta-contacts strong { font-weight: 700; color: #fff; }
.cta-contacts a:hover strong { text-decoration: underline; text-underline-offset: 3px; }
.cta-form-band .cta-note { margin-top: 26px; color: rgba(255, 255, 255, .8); max-width: none; }
.cta-form-card { padding: clamp(22px, 3.4vw, 36px); border-radius: var(--r-lg); background: rgba(255, 255, 255, .97); color: var(--text); box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .6); }
.cta-form-title { font-family: var(--font-display); font-size: 1.35rem; font-weight: 800; letter-spacing: -.02em; margin-bottom: 18px; }
.cta-form-card .form-grid { gap: 12px; }
.cta-form-card .field { font-size: 13px; gap: 6px; }
.cta-form-card .field input, .cta-form-card .field select, .cta-form-card .field textarea { min-height: 46px; padding: 10px 14px; font-size: 15px; border-radius: 12px; }
.cta-form-card .field textarea { min-height: 92px; }
.cta-form-card .consent { font-size: 13px; margin-top: 14px; }
.cta-form-card .form-foot { margin-top: 16px; }
@media (max-width: 1040px) { .cta-form-band .cta-inner { grid-template-columns: 1fr; } }
.is-rtl .cta-note { font-style: normal; }

/* ---------- image / mosaic page heroes ---------- */
.page-hero-media { background: #120A1E; color: #fff; }
.page-hero-media .display-lg { color: #fff; }
.page-hero-media .display-lg em { background: linear-gradient(90deg, #E1C2FF, #B9D6FF); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.page-hero-media .hero-lead { color: rgba(255, 255, 255, .86); }
.page-hero-media .crumbs ol, .page-hero-media .crumbs a { color: rgba(255, 255, 255, .7); }
.page-hero-media .crumbs [aria-current] { color: #E1C2FF; }
.page-hero-media .btn-row { margin-top: 30px; }
.page-hero-tall { min-height: min(78vh, 720px); display: flex; align-items: flex-end; }
.page-hero-tall > .wrap { width: 100%; }
.hero-photo, .hero-mosaic { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(18, 10, 30, .94) 0%, rgba(18, 10, 30, .78) 42%, rgba(70, 20, 110, .35) 100%), linear-gradient(0deg, rgba(18, 10, 30, .85) 0%, rgba(18, 10, 30, 0) 45%); }
.is-rtl .hero-shade { background: linear-gradient(270deg, rgba(18, 10, 30, .94) 0%, rgba(18, 10, 30, .78) 42%, rgba(70, 20, 110, .35) 100%), linear-gradient(0deg, rgba(18, 10, 30, .85) 0%, rgba(18, 10, 30, 0) 45%); }
.hero-mosaic { display: grid; align-content: center; gap: 18px; transform: rotate(-8deg) scale(1.25); transform-origin: 70% 50%; opacity: .9; }
.mosaic-row { display: flex; gap: 18px; width: max-content; animation: mosaicDrift 60s linear infinite; }
.mosaic-row-1 { animation-direction: reverse; animation-duration: 75s; margin-inline-start: -140px; }
.mosaic-row-2 { animation-duration: 90s; }
.mosaic-row img { width: 190px; height: auto; aspect-ratio: 400 / 540; object-fit: cover; border-radius: 16px; box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .7); }
.mosaic-wide .mosaic-row img { width: 340px; aspect-ratio: 16 / 10; border-radius: 12px; object-position: top; }
@keyframes mosaicDrift { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .mosaic-row { animation: none; } }

/* ---------- services page tiles (bento) ---------- */
.section-tiles { padding-top: clamp(48px, 6vw, 80px); }
.svc-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 300px; gap: 18px; }
.svc-tile { position: relative; overflow: hidden; isolation: isolate; border-radius: var(--r-lg); color: #fff; background: #1D1230; box-shadow: var(--shadow-sm); transition: transform .5s var(--ease), box-shadow .5s; }
.svc-tile-lg { grid-column: span 2; grid-row: span 2; }
.svc-tile img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.svc-tile::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(18, 10, 30, .15) 0%, rgba(18, 10, 30, .55) 45%, rgba(18, 10, 30, .94) 100%); transition: background .5s; }
.svc-tile:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.svc-tile:hover img { transform: scale(1.07); }
.svc-tile:hover::before { background: linear-gradient(180deg, rgba(110, 30, 170, .25) 0%, rgba(60, 15, 100, .6) 45%, rgba(18, 10, 30, .95) 100%); }
.svc-tile-body { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; padding: 24px; }
.svc-tile-top { position: absolute; top: 20px; inset-inline: 22px; display: flex; justify-content: space-between; align-items: center; }
.svc-tile-n { font-family: var(--font-display); font-size: 15px; font-weight: 600; letter-spacing: .08em; color: rgba(255, 255, 255, .75); }
.svc-tile-ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .25); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.svc-tile .svc-tile-h { font-size: 1.25rem; line-height: 1.25; letter-spacing: -.01em; }
.svc-tile-lg .svc-tile-h { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.svc-tile p { font-size: 14px; color: rgba(255, 255, 255, .82); line-height: 1.55; max-width: 520px; }
.svc-tile-lg p { font-size: 16px; }
.svc-tile-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.svc-tile-tags li { padding: 4px 10px; border-radius: 999px; font-size: 11.5px; font-weight: 700; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .2); }
.svc-tile:not(.svc-tile-lg) .svc-tile-tags { display: none; }
.svc-tile-go { position: absolute; bottom: 22px; inset-inline-end: 22px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--purple); opacity: 0; transform: translateY(8px); transition: opacity .35s, transform .35s var(--ease); }
.svc-tile:hover .svc-tile-go, .svc-tile:focus-within .svc-tile-go { opacity: 1; transform: none; }
@media (max-width: 1040px) { .svc-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 280px; } }
@media (max-width: 640px) {
  .svc-tiles { grid-template-columns: 1fr; grid-auto-rows: 260px; }
  .svc-tile-lg { grid-column: auto; grid-row: span 1; }
  .page-hero-tall { min-height: 0; }
  .mosaic-row img { width: 130px; } .mosaic-wide .mosaic-row img { width: 220px; }
}

/* ================= home hero: 3D glass card carousel ================= */

/* top address bar */

 
 

/* stage + cards */

/* side contact bar */

/* bottom dock */

/* Process on phones: compact rows (icon + number/title + text) instead of a tall timeline */
@media (max-width: 760px) {
  .section-process { padding-block: 56px; }
  .process-head .lead-dim { margin: 12px 0 20px; }
  .process-wrap .process { grid-template-columns: 1fr; gap: 10px; padding: 0; }
  .process-wrap .process::before, .process-wrap .process-step::before { display: none; }
  .process-wrap .process-step { display: grid; grid-template-columns: 44px 1fr; grid-template-areas: "ic n" "ic h" "ic p"; column-gap: 14px; align-items: start; margin: 0; padding: 14px 16px; text-align: start; border-radius: 16px; background: rgba(255, 255, 255, .72); border: 1px solid rgba(255, 255, 255, .9); box-shadow: 0 8px 24px -16px rgba(76, 29, 149, .35); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
  .process-wrap .process-step .step-ic { grid-area: ic; width: 44px; height: 44px; margin: 0; box-shadow: none; }
  .process-wrap .process-step .step-ic .ic { width: 20px; height: 20px; }
  .process-wrap .process-step .step-n { grid-area: n; font-size: 12px; color: var(--purple); line-height: 1.2; }
  .process-wrap .process-step h3 { grid-area: h; font-size: 16px; margin: 1px 0 3px; }
  .process-wrap .process-step p { grid-area: p; font-size: 13.5px; line-height: 1.5; }
}
@media (max-width: 760px) {
  .process-wrap .process-step { grid-template-columns: 44px auto 1fr; grid-template-areas: "ic n h" "ic p p"; column-gap: 0; padding: 12px 14px; align-items: center; }
  .process-wrap .process-step .step-ic { margin-inline-end: 14px; align-self: start; }
  .process-wrap .process-step .step-n { font-size: 14px; margin-inline-end: 8px; }
  .process-wrap .process-step h3 { margin: 0; }
  .process-wrap .process-step p { margin-top: 2px; }
}

/* ---- hero refinements: heading, bar label, two buttons, trust line, tilt, progress ring ---- */

/* trust line: bottom corner on desktop, stacked under the dots on small screens */

/* tilt + glare on the centre card (values set by main.js on pointer move) */

/* autoplay progress ring around the pause button */

/* card size lives on the stage so the stage always reserves the card's full height */


/* ================= home hero: message left, 3D service cards right ================= */
.hero-x { position: relative; isolation: isolate; overflow: hidden; min-height: max(100vh, 780px); min-height: max(100svh, 780px); display: flex; align-items: center; color: #fff; background: #0E0818; }
.hx-bg { position: absolute; inset: 0; z-index: -2; }
.hx-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.hx-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(14, 8, 24, .94) 0%, rgba(14, 8, 24, .82) 30%, rgba(30, 12, 50, .55) 60%, rgba(14, 8, 24, .55) 100%), radial-gradient(60% 70% at 72% 55%, rgba(166, 58, 237, .28) 0%, transparent 70%), linear-gradient(0deg, rgba(14, 8, 24, .85) 0%, transparent 35%), linear-gradient(180deg, rgba(14, 8, 24, .7) 0%, transparent 22%); }
.is-rtl .hx-shade { background: linear-gradient(270deg, rgba(14, 8, 24, .94) 0%, rgba(14, 8, 24, .82) 30%, rgba(30, 12, 50, .55) 60%, rgba(14, 8, 24, .55) 100%), radial-gradient(60% 70% at 28% 55%, rgba(166, 58, 237, .28) 0%, transparent 70%), linear-gradient(0deg, rgba(14, 8, 24, .85) 0%, transparent 35%), linear-gradient(180deg, rgba(14, 8, 24, .7) 0%, transparent 22%); }
.hx-grid { width: 100%; max-width: 1400px; display: grid; grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); gap: clamp(20px, 3vw, 48px); align-items: center; padding-top: calc(var(--header-h) + 8px); padding-bottom: 28px; }

/* left: message */
.hx-h1 { display: grid; gap: 16px; margin: 0; }
.hx-kicker { display: flex; align-items: center; gap: 12px; font-family: var(--font-body); font-size: 13.5px; font-weight: 700; letter-spacing: .04em; color: #E1C2FF; }
.hx-kicker::before { content: ''; width: 30px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, #C18BFA, #60A5FA); flex: none; }
.hx-big { font-family: var(--font-display); font-size: clamp(2.6rem, 4.6vw, 4.4rem); font-weight: 600; line-height: 1.04; letter-spacing: .005em; text-transform: uppercase; color: #fff; }
.hx-big em { font-style: normal; background: linear-gradient(90deg, #E1C2FF 0%, #C18BFA 50%, #B9D6FF 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.is-rtl .hx-big { font-family: var(--font-display); font-weight: 900; text-transform: none; line-height: 1.3; font-size: clamp(2.2rem, 3.8vw, 3.6rem); }
.is-rtl .hx-kicker { letter-spacing: 0; }
.hx-rule { display: block; width: 64px; height: 3px; margin: 22px 0 18px; border-radius: 3px; background: linear-gradient(90deg, #A63AED, #60A5FA); }
.hx-points { display: grid; gap: 8px; color: rgba(255, 255, 255, .86); font-size: 15.5px; line-height: 1.45; }
.hx-points li { position: relative; padding-inline-start: 20px; }
.hx-points li::before { content: ''; position: absolute; inset-inline-start: 0; top: .55em; width: 8px; height: 8px; border-radius: 50%; background: #C18BFA; box-shadow: 0 0 0 4px rgba(193, 139, 250, .18); }
.hx-btns { margin-top: 28px; }
.hx-trust { display: grid; gap: 10px; margin-top: 30px; }
.hx-trust p { display: flex; flex-wrap: wrap; font-size: 12.5px; font-weight: 700; color: rgba(255, 255, 255, .75); }
.hx-trust p span:not(:last-child)::after { content: '·'; margin-inline: 8px; color: rgba(255, 255, 255, .4); }
.hx-trust ul { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
.hx-trust img { height: 18px; width: auto; opacity: .5; transition: opacity .3s; }
.hx-trust li:hover img { opacity: .9; }

/* right: quick links, cards, thumbnail strip */
.hx-show { position: relative; display: grid; gap: 14px; min-width: 0; }
.hx-quick { display: flex; justify-content: flex-end; gap: 4px; }
.hx-quick a { display: grid; justify-items: center; gap: 5px; min-width: 76px; padding: 8px 10px; border-radius: 14px; font-size: 11.5px; font-weight: 700; letter-spacing: .02em; color: rgba(255, 255, 255, .85); text-align: center; transition: background .25s, color .25s; }
.hx-quick a:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.hx-quick .ic { width: 22px; height: 22px; }
.hx-quick li + li { border-inline-start: 1px solid rgba(255, 255, 255, .14); }
.hx-stage { --ch: min(50vh, 480px); --cw: calc(var(--ch) * .7); position: relative; height: calc(var(--ch) + 30px); perspective: 1600px; touch-action: pan-y; }
.hx-track { position: absolute; inset: 0; transform-style: preserve-3d; }
.hx-item { --step: calc(var(--cw) * .62); position: absolute; top: 50%; left: 50%; width: var(--cw); height: var(--ch); margin: calc(var(--ch) / -2) 0 0 calc(var(--cw) / -2); transform: translateX(calc(var(--o) * var(--step))) translateZ(calc(var(--a) * -140px)) rotateY(calc(var(--o) * -26deg)) scale(calc(1 - var(--a) * .06)); opacity: calc(1 - var(--a) * .1); filter: brightness(calc(1 - var(--a) * .14)); transition: transform .7s var(--ease), opacity .6s ease, filter .6s ease; cursor: pointer; }
.hx-item.is-active { cursor: default; perspective: 1000px; }
.hx-item.is-far { opacity: 0; pointer-events: none; }
.hx-card { position: relative; width: 100%; height: 100%; border-radius: 24px; overflow: hidden; isolation: isolate; background: #1A1028; border: 1px solid rgba(255, 255, 255, .3); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .85), inset 0 1px 0 rgba(255, 255, 255, .3); }
.hx-item.is-active .hx-card { transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .25s ease-out; box-shadow: 0 50px 90px -30px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255, 255, 255, .35), 0 0 60px -10px rgba(166, 58, 237, .45); }
.hx-img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.hx-card::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(14, 8, 24, .55) 0%, rgba(14, 8, 24, 0) 26%, rgba(14, 8, 24, 0) 52%, rgba(14, 8, 24, .9) 100%); }
.hx-card::before { content: ''; position: absolute; inset: 0; z-index: 3; pointer-events: none; background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 255, 255, .16), transparent 45%); opacity: 0; transition: opacity .3s; }
.hx-item.is-tilting .hx-card::before { opacity: 1; }
.hx-label { position: absolute; top: 16px; inset-inline-start: 16px; inset-inline-end: 56px; display: flex; gap: 8px; align-items: flex-start; }
.hx-label .ic { flex: none; margin-top: 2px; }
.hx-label strong { display: block; font-size: 15px; line-height: 1.25; }
.hx-label small { display: block; font-size: 11.5px; color: rgba(255, 255, 255, .72); margin-top: 2px; }
.hx-item:not(.is-active) .hx-label strong { font-size: 13px; }
.hx-wa { position: absolute; top: 12px; inset-inline-end: 12px; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .3); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); opacity: 0; transition: opacity .3s, background .25s; }
.hx-wa svg { width: 18px; height: 18px; }
.hx-wa:hover { background: #1FAF5A; border-color: #1FAF5A; }
.hx-foot { position: absolute; inset-inline: 0; bottom: 0; padding: 16px 18px 16px; display: grid; gap: 12px; opacity: 0; transform: translateY(12px); transition: opacity .45s, transform .55s var(--ease); }
.hx-text { font-size: 14px; line-height: 1.5; color: rgba(255, 255, 255, .9); }
.hx-meta { display: flex; align-items: center; gap: 12px; }
.hx-count { flex: none; font-size: 12px; font-weight: 700; color: rgba(255, 255, 255, .8); }
.hx-bar { position: relative; flex: 1; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .22); overflow: hidden; }
.hx-bar i { position: absolute; inset-block: 0; inset-inline-start: 0; width: 0; border-radius: inherit; background: linear-gradient(90deg, #E1C2FF, #fff); }
.hx-item.is-active .hx-bar.is-running i { animation: hxBar var(--dur, 4.5s) linear forwards; }
.hx-item.is-active .hx-bar.is-held i { animation-play-state: paused; }
@keyframes hxBar { to { width: 100%; } }
.hx-go { flex: none; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .35); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: background .25s, transform .25s; }
.hx-go:hover { background: var(--purple); border-color: var(--purple); transform: scale(1.06); }
.hx-go .ic { width: 17px; height: 17px; }
.hx-item.is-active .hx-foot, .hx-item.is-active .hx-wa { opacity: 1; transform: none; }

.hx-strip { display: flex; align-items: center; gap: 6px; padding: 8px; border-radius: 26px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18); backdrop-filter: blur(18px) saturate(150%); -webkit-backdrop-filter: blur(18px) saturate(150%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 20px 50px -24px rgba(0, 0, 0, .7); }
.hx-arrow { position: relative; flex: none; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: rgba(255, 255, 255, .12); transition: background .25s; }
.hx-arrow:hover { background: rgba(255, 255, 255, .26); }
.hx-arrow .ic { width: 16px; height: 16px; }
.ic-prev { transform: rotate(90deg); } .ic-next { transform: rotate(-90deg); }
.is-rtl .ic-prev { transform: rotate(-90deg); } .is-rtl .ic-next { transform: rotate(90deg); }
.hx-pause .ic-play { display: none; }
.hx-pause[aria-pressed="true"] .ic-pause { display: none; }
.hx-pause[aria-pressed="true"] .ic-play { display: block; }
.hx-thumbs { flex: 1; min-width: 0; display: flex; justify-content: space-between; gap: 4px; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x mandatory; }
.hx-thumbs::-webkit-scrollbar { display: none; }
.hx-thumb { flex: 1 0 58px; display: grid; justify-items: center; gap: 4px; padding: 4px 2px 2px; border-radius: 14px; scroll-snap-align: center; color: rgba(255, 255, 255, .7); transition: color .25s; }
.hx-thumb img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(255, 255, 255, .25); transition: transform .35s var(--ease), border-color .3s, box-shadow .3s; }
.hx-thumb span { font-size: 10.5px; font-weight: 700; line-height: 1.2; text-align: center; max-width: 80px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hx-thumb:hover { color: #fff; }
.hx-thumb.is-active { color: #fff; }
.hx-thumb.is-active img { transform: scale(1.18); border-color: #fff; box-shadow: 0 0 0 3px rgba(166, 58, 237, .6); }
.hx-thumb:focus-visible { outline: 2px solid #E1C2FF; outline-offset: 2px; }

@media (max-width: 1180px) {
  .hx-grid { grid-template-columns: minmax(0, 1fr); padding-top: calc(var(--header-h) + 16px); gap: 28px; }
  .hx-copy { max-width: 720px; }
  .hx-quick { justify-content: center; }
  .hx-stage { --ch: min(56vh, 480px); }
}
@media (max-width: 640px) {
  .hero-x { min-height: 0; }
  .hx-big { font-size: clamp(2.3rem, 11vw, 3rem); }
  .hx-points { font-size: 14.5px; }
  .hx-btns .btn { flex: 1 1 auto; justify-content: center; }
  .hx-quick { display: none; }
  .hx-stage { --ch: min(60vh, 440px); --cw: min(78vw, calc(var(--ch) * .74)); }
  .hx-item { --step: calc(var(--cw) * .42); transform: translateX(calc(var(--o) * var(--step))) translateZ(calc(var(--a) * -120px)) rotateY(calc(var(--o) * -18deg)) scale(calc(1 - var(--a) * .06)); }
  .hx-thumb { flex: 0 0 64px; }
  .hx-strip .hx-arrow:not(.hx-pause) { display: none; }
}
@media (prefers-reduced-motion: reduce) { .hx-item, .hx-foot, .hx-item.is-active .hx-card { transition: none; } .hx-item.is-active .hx-card { transform: none; } }
.hx-shade { background: linear-gradient(90deg, rgba(14, 8, 24, .97) 0%, rgba(14, 8, 24, .9) 34%, rgba(30, 12, 50, .6) 58%, rgba(14, 8, 24, .5) 100%), radial-gradient(60% 70% at 72% 55%, rgba(166, 58, 237, .28) 0%, transparent 70%), linear-gradient(0deg, rgba(14, 8, 24, .85) 0%, transparent 35%), linear-gradient(180deg, rgba(14, 8, 24, .7) 0%, transparent 22%); }
.is-rtl .hx-shade { background: linear-gradient(270deg, rgba(14, 8, 24, .97) 0%, rgba(14, 8, 24, .9) 34%, rgba(30, 12, 50, .6) 58%, rgba(14, 8, 24, .5) 100%), radial-gradient(60% 70% at 28% 55%, rgba(166, 58, 237, .28) 0%, transparent 70%), linear-gradient(0deg, rgba(14, 8, 24, .85) 0%, transparent 35%), linear-gradient(180deg, rgba(14, 8, 24, .7) 0%, transparent 22%); }
@media (max-width: 1180px) { .hx-shade, .is-rtl .hx-shade { background: linear-gradient(180deg, rgba(14, 8, 24, .9) 0%, rgba(14, 8, 24, .82) 45%, rgba(30, 12, 50, .6) 70%, rgba(14, 8, 24, .9) 100%); } }
.hx-show { grid-template-columns: minmax(0, 1fr); }
.hx-strip { min-width: 0; }

/* ---------- selected work: back-and-forth strip of all projects ---------- */
.section-featured { padding-bottom: clamp(56px, 7vw, 88px); }
.section-featured .section-head { margin-bottom: 32px; }
.section-featured .section-head .muted { margin-top: 12px; max-width: 560px; }
.pp { position: relative; overflow: hidden; padding: 10px 0 18px; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%); }
.pp-track { display: flex; gap: 20px; width: max-content; padding-inline: var(--gutter); }
.pp.is-moving .pp-track { animation: ppMove var(--pp-dur, 40s) ease-in-out infinite alternate; }
.pp.is-paused .pp-track { animation-play-state: paused; }
@keyframes ppMove { from { transform: translateX(0); } to { transform: translateX(var(--pp-dist, 0px)); } }
.pp-track > li { flex: none; width: clamp(250px, 24vw, 320px); }
.proj-card-sm { height: 100%; }
.proj-card-sm .proj-body { padding: 14px 18px 16px; gap: 4px; }
.proj-card-sm .proj-body h3 { font-size: 1.05rem; }
.proj-card-sm .work-cat { font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.proj-card-sm .proj-bar { height: 24px; }
.proj-card-sm .svc-more { top: 34px; width: 34px; height: 34px; }
/* without motion (reduced motion or before the script runs) the strip scrolls by hand */
.pp:not(.is-moving) { overflow-x: auto; scrollbar-width: none; scroll-snap-type: x mandatory; }
.pp:not(.is-moving)::-webkit-scrollbar { display: none; }
.pp:not(.is-moving) .pp-track > li { scroll-snap-align: start; }
@media (max-width: 640px) { .pp-track > li { width: 72vw; } .pp-track { gap: 14px; } }
/* own-product badge on project cards */
.proj-own { position: absolute; top: 36px; inset-inline-start: 12px; z-index: 2; padding: 5px 11px; border-radius: 999px; font-size: 11.5px; font-weight: 800; color: #fff; background: linear-gradient(100deg, #9628D9, #A63AED 55%, #5B5BF0); box-shadow: 0 8px 18px -8px rgba(110, 30, 170, .8); }
.proj-card-sm .proj-own { top: 32px; font-size: 11px; padding: 4px 10px; }

/* ================= AI service page: animated banner ================= */
.page-hero-ai { background: radial-gradient(120% 90% at 80% 40%, #2A1150 0%, #120A1E 55%, #0B0714 100%); color: #fff; min-height: min(92vh, 860px); display: flex; align-items: center; }
.page-hero-ai > .wrap { width: 100%; }
.ai-net { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; }
.ai-glow { position: absolute; z-index: -1; width: 720px; height: 720px; inset-inline-end: -120px; top: 50%; transform: translateY(-50%); border-radius: 50%; background: radial-gradient(circle, rgba(166, 58, 237, .38) 0%, rgba(96, 165, 250, .12) 40%, transparent 68%); filter: blur(10px); pointer-events: none; }
.page-hero-ai .display-lg { color: #fff; }
.page-hero-ai .display-lg em { background: linear-gradient(90deg, #E1C2FF, #C18BFA 50%, #8EC5FF); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.page-hero-ai .hero-lead { color: rgba(255, 255, 255, .84); }
.page-hero-ai .crumbs ol, .page-hero-ai .crumbs a { color: rgba(255, 255, 255, .65); }
.page-hero-ai .crumbs [aria-current] { color: #E1C2FF; }
.tags-light li { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .22); color: #fff; }
.ai-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: center; }

/* visual: rings, core, chips, typing prompt */
.ai-viz { position: relative; width: min(100%, 520px); aspect-ratio: 1; margin-inline: auto; }
.ai-rings { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.ai-ring { transform-origin: 200px 200px; transform-box: view-box; }
.ai-ring-1 { animation: aiSpin 40s linear infinite; }
.ai-ring-2 { animation: aiSpin 26s linear infinite reverse; }
.ai-ring-3 { animation: aiSpin 14s linear infinite; }
@keyframes aiSpin { to { transform: rotate(360deg); } }
.ai-core { position: absolute; top: 50%; left: 50%; width: 30%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 35% 30%, #F3E6FF 0%, #C18BFA 22%, #8A2BE2 55%, #3B1470 100%); box-shadow: 0 0 0 10px rgba(193, 139, 250, .1), 0 0 0 24px rgba(193, 139, 250, .06), 0 0 80px 10px rgba(166, 58, 237, .6), inset 0 -10px 30px rgba(20, 0, 50, .5); animation: aiPulse 3.2s ease-in-out infinite; }
.ai-core span { font-family: var(--font-display); font-size: clamp(2.2rem, 4.5vw, 3.4rem); font-weight: 600; letter-spacing: .04em; color: #fff; text-shadow: 0 0 20px rgba(255, 255, 255, .7); direction: ltr; }
.ai-core::after { content: ''; position: absolute; inset: -14%; border-radius: 50%; border: 1.5px solid rgba(225, 194, 255, .5); animation: aiWave 3.2s ease-out infinite; }
@keyframes aiPulse { 50% { transform: translate(-50%, -50%) scale(1.05); box-shadow: 0 0 0 14px rgba(193, 139, 250, .12), 0 0 0 30px rgba(193, 139, 250, .05), 0 0 110px 18px rgba(166, 58, 237, .7), inset 0 -10px 30px rgba(20, 0, 50, .5); } }
@keyframes aiWave { from { transform: scale(.85); opacity: .9; } to { transform: scale(1.5); opacity: 0; } }
.ai-chip { position: absolute; display: flex; align-items: center; gap: 9px; padding: 10px 14px; border-radius: 14px; font-size: 13.5px; font-weight: 700; white-space: nowrap; color: #fff; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .22); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 18px 40px -20px rgba(0, 0, 0, .8); animation: aiFloat 6s ease-in-out infinite; }
.ai-chip .ic { width: 18px; height: 18px; color: #E1C2FF; }
.ai-chip-1 { top: 10%; inset-inline-start: 0; }
.ai-chip-2 { top: 20%; inset-inline-end: -4%; animation-delay: -1.5s; }
.ai-chip-3 { bottom: 30%; inset-inline-start: -6%; animation-delay: -3s; }
.ai-chip-4 { bottom: 20%; inset-inline-end: 0; animation-delay: -4.5s; }
@keyframes aiFloat { 50% { transform: translateY(-12px); } }
.ai-prompt { position: absolute; left: 50%; bottom: -2%; transform: translateX(-50%); width: min(94%, 440px); display: flex; align-items: center; gap: 10px; padding: 10px 10px 10px 16px; border-radius: 999px; font-size: 14px; color: #fff; background: rgba(20, 10, 36, .7); border: 1px solid rgba(225, 194, 255, .35); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 0 0 4px rgba(166, 58, 237, .12), 0 24px 50px -20px rgba(0, 0, 0, .9); }
.is-rtl .ai-prompt { padding: 10px 16px 10px 10px; }
.ai-prompt > .ic { flex: none; width: 18px; height: 18px; color: #E1C2FF; }
.ai-typed { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: clip; }
.ai-caret { flex: none; width: 2px; height: 18px; margin-inline-start: -8px; background: #E1C2FF; animation: aiBlink 1s steps(1) infinite; }
@keyframes aiBlink { 50% { opacity: 0; } }
.ai-send { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); }
.ai-send .ic { width: 16px; height: 16px; }
@media (max-width: 1040px) {
  .ai-hero-grid { grid-template-columns: minmax(0, 1fr); }
  .ai-viz { width: min(100%, 440px); }
  .page-hero-ai { min-height: 0; }
}
@media (max-width: 640px) {
  .ai-chip { font-size: 12px; padding: 8px 11px; }
  .ai-chip-2 { inset-inline-end: 0; } .ai-chip-3 { inset-inline-start: 0; }
  .ai-prompt { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) { .ai-ring, .ai-core, .ai-core::after, .ai-chip, .ai-caret { animation: none; } }
@media (max-width: 1040px) { .page-hero-ai .tags-light { display: none; } }

/* ================= About: cinematic banner ================= */
.about-cine { position: relative; isolation: isolate; overflow: hidden; min-height: max(100vh, 760px); min-height: max(100svh, 760px); display: flex; flex-direction: column; justify-content: flex-end; color: #fff; background: #0B0714; }
.cine-slides { position: absolute; inset: 0; z-index: -3; }
.cine-shot { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; animation: cineShow 28s linear infinite; }
.cine-shot-1 { animation-delay: 0s; --kb-from: scale(1.18) translate(-2%, 1%); --kb-to: scale(1.02) translate(1%, -1%); object-position: center 35%; }
.cine-shot-2 { animation-delay: 7s; --kb-from: scale(1.04) translate(2%, 0); --kb-to: scale(1.2) translate(-2%, -2%); }
.cine-shot-3 { animation-delay: 14s; --kb-from: scale(1.2) translate(0, -2%); --kb-to: scale(1.04) translate(-1%, 2%); }
.cine-shot-4 { animation-delay: 21s; --kb-from: scale(1.05) translate(-2%, 1%); --kb-to: scale(1.18) translate(2%, -1%); }
@keyframes cineShow {
  0% { opacity: 0; transform: var(--kb-from); }
  5% { opacity: 1; }
  25% { opacity: 1; }
  32% { opacity: 0; transform: var(--kb-to); }
  100% { opacity: 0; transform: var(--kb-to); }
}
.cine-shade { position: absolute; inset: 0; z-index: -2; background: linear-gradient(90deg, rgba(11, 7, 20, .92) 0%, rgba(11, 7, 20, .7) 40%, rgba(40, 14, 70, .35) 75%, rgba(11, 7, 20, .55) 100%), linear-gradient(0deg, rgba(11, 7, 20, .95) 0%, rgba(11, 7, 20, .2) 45%, rgba(11, 7, 20, .55) 100%), radial-gradient(130% 100% at 50% 50%, transparent 55%, rgba(0, 0, 0, .6) 100%); }
.is-rtl .cine-shade { background: linear-gradient(270deg, rgba(11, 7, 20, .92) 0%, rgba(11, 7, 20, .7) 40%, rgba(40, 14, 70, .35) 75%, rgba(11, 7, 20, .55) 100%), linear-gradient(0deg, rgba(11, 7, 20, .95) 0%, rgba(11, 7, 20, .2) 45%, rgba(11, 7, 20, .55) 100%), radial-gradient(130% 100% at 50% 50%, transparent 55%, rgba(0, 0, 0, .6) 100%); }
/* a soft violet light sweeping across, like a lens flare */
.cine-light { position: absolute; z-index: -1; top: -30%; bottom: -30%; width: 45%; left: -50%; background: linear-gradient(100deg, transparent 0%, rgba(193, 139, 250, .16) 40%, rgba(255, 255, 255, .1) 50%, rgba(96, 165, 250, .12) 60%, transparent 100%); transform: skewX(-18deg); filter: blur(20px); animation: cineSweep 11s ease-in-out infinite; mix-blend-mode: screen; pointer-events: none; }
@keyframes cineSweep { 0%, 15% { left: -50%; } 60%, 100% { left: 120%; } }
/* film grain */
.cine-grain { position: absolute; inset: -50%; z-index: -1; opacity: .09; pointer-events: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); animation: cineGrain .9s steps(4) infinite; }
@keyframes cineGrain { 25% { transform: translate(-3%, 2%); } 50% { transform: translate(2%, -3%); } 75% { transform: translate(-2%, -1%); } 100% { transform: translate(3%, 3%); } }
.cine-content { padding-top: calc(var(--header-h) + 40px); padding-bottom: 28px; max-width: var(--wrap); }
.cine-content .crumbs ol, .cine-content .crumbs a { color: rgba(255, 255, 255, .65); }
.cine-content .crumbs [aria-current] { color: #E1C2FF; }
.cine-h1 { max-width: 880px; font-family: var(--font-display); font-size: clamp(2.8rem, 6.4vw, 5.8rem); font-weight: 600; line-height: 1.02; letter-spacing: .005em; text-transform: uppercase; color: #fff; }
.cine-h1 em { font-style: normal; background: linear-gradient(90deg, #E1C2FF 0%, #C18BFA 45%, #8EC5FF 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.is-rtl .cine-h1 { font-family: var(--font-display); font-weight: 900; text-transform: none; line-height: 1.3; font-size: clamp(2.3rem, 5vw, 4.2rem); }
.about-cine .hero-lead { max-width: 640px; margin-top: 20px; color: rgba(255, 255, 255, .86); }
.about-cine .btn-row { margin-top: 30px; }
/* staged entrance: each block rises out of a soft blur */
.cine-in { opacity: 0; transform: translateY(28px); filter: blur(8px); animation: cineIn 1.1s var(--ease) forwards; animation-delay: calc(.25s + var(--i, 0) * .16s); }
@keyframes cineIn { to { opacity: 1; transform: none; filter: none; } }
.cine-stats { position: relative; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; padding-bottom: 34px; }
.cine-stats .stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; flex: 1; max-width: 860px; border-top: 1px solid rgba(255, 255, 255, .2); }
.cine-stats .stat { padding: 20px 20px 0 0; background: none; border: 0; box-shadow: none; text-align: start; }
.is-rtl .cine-stats .stat { padding: 20px 0 0 20px; }
.cine-stats .stat-ic { display: none; }
.cine-stats .stat strong { display: block; font-family: var(--font-display); font-size: clamp(2rem, 3.2vw, 2.8rem); font-weight: 600; color: #fff; line-height: 1; }
.cine-stats .stat > span:last-child { display: block; margin-top: 6px; font-size: 13px; color: rgba(255, 255, 255, .7); }
.cine-scroll { flex: none; width: 26px; height: 42px; border-radius: 14px; border: 1.5px solid rgba(255, 255, 255, .5); position: relative; }
.cine-scroll i { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: cineScroll 1.8s ease-in-out infinite; }
@keyframes cineScroll { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- About: intro statement ---------- */
.about-intro-grid { display: grid; grid-template-columns: 200px minmax(0, 1fr); column-gap: clamp(24px, 4vw, 64px); row-gap: 20px; align-items: start; }
.about-intro-grid .kicker { grid-row: span 2; padding-top: 14px; }
.about-statement { font-family: var(--font-display); font-size: clamp(1.8rem, 3.4vw, 3rem); font-weight: 800; line-height: 1.15; letter-spacing: -.025em; color: var(--text); max-width: 980px; }
.about-statement em { font-style: normal; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.about-intro-text { max-width: 820px; font-size: 1.08rem; line-height: 1.75; color: var(--text-2); }

/* ---------- About: team ---------- */
.section-team .team-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.team-card { position: relative; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .45s var(--ease), box-shadow .45s; }
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.team-photo { margin: 0; aspect-ratio: 4 / 5; overflow: hidden; background: linear-gradient(160deg, #F2E7FE, #E6EEFF); display: grid; place-items: center; }
.team-photo img { width: 100%; height: 100%; object-fit: cover; margin: 0; border-radius: 0; aspect-ratio: auto; filter: grayscale(.2); transition: transform 1s var(--ease), filter .5s; }
.team-card:hover .team-photo img { transform: scale(1.05); filter: none; }
.team-ph-ic { width: 64px; height: 64px; color: #C9A8F5; stroke-width: 1.2; }
.team-body { position: relative; padding: 18px 20px 22px; }
.team-body h3 { font-size: 1.12rem; }
.team-role { margin-top: 4px; font-size: 12.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--purple); }
.is-rtl .team-role { letter-spacing: 0; }
.team-bio { margin-top: 10px; font-size: 14px; line-height: 1.6; color: var(--muted); }
.team-in { position: absolute; top: -22px; inset-inline-end: 18px; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 15px; color: #fff; background: var(--grad); box-shadow: 0 10px 24px -10px rgba(110, 30, 170, .8); }
.team-card.is-placeholder { border-style: dashed; border-color: #D9C2FB; box-shadow: none; }
.team-card.is-placeholder .team-bio { font-style: italic; }

@media (max-width: 1040px) {
  .section-team .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-intro-grid { grid-template-columns: minmax(0, 1fr); }
  .about-intro-grid .kicker { grid-row: auto; padding-top: 0; }
  .cine-stats .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .about-cine { min-height: 0; }
  .cine-content { padding-top: calc(var(--header-h) + 24px); }
  .cine-scroll { display: none; }
  .section-team .team-grid { gap: 12px; }
  .team-body { padding: 14px 14px 16px; }
  .team-bio { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  .cine-shot { animation: none; } .cine-shot-1 { opacity: 1; }
  .cine-light, .cine-grain, .cine-scroll i { animation: none; }
  .cine-in { animation: none; opacity: 1; transform: none; filter: none; }
}
.is-rtl .team-card.is-placeholder .team-bio { font-style: normal; }

/* ================= About: assembling-logo banner ================= */
.about-logo { background: radial-gradient(120% 90% at 75% 45%, #2A1150 0%, #140A24 50%, #0B0714 100%); }
.al-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(20px, 4vw, 56px); align-items: center; flex: 1; }
.about-logo .cine-content { padding-bottom: 0; }
.about-logo .cine-h1 { font-size: clamp(2.6rem, 5.4vw, 5rem); }
/* halftone dot field echoing the 7, drifting under a moving spotlight */
.al-dots { position: absolute; inset: 0; z-index: -2; background-image: radial-gradient(circle, rgba(193, 139, 250, .55) 1.4px, transparent 1.6px); background-size: 22px 22px; -webkit-mask-image: radial-gradient(42% 52% at var(--sx, 70%) var(--sy, 45%), #000 0%, rgba(0, 0, 0, .35) 45%, transparent 75%); mask-image: radial-gradient(42% 52% at var(--sx, 70%) var(--sy, 45%), #000 0%, rgba(0, 0, 0, .35) 45%, transparent 75%); animation: alDrift 18s ease-in-out infinite alternate, alPan 30s linear infinite; }
@property --sx { syntax: '<percentage>'; inherits: false; initial-value: 70%; }
@property --sy { syntax: '<percentage>'; inherits: false; initial-value: 45%; }
@keyframes alDrift { 0% { --sx: 78%; --sy: 35%; } 50% { --sx: 60%; --sy: 60%; } 100% { --sx: 84%; --sy: 55%; } }
@keyframes alPan { to { background-position: 220px 110px; } }
.al-glow { position: absolute; z-index: -1; width: 640px; height: 640px; inset-inline-end: 4%; top: 50%; transform: translateY(-50%); border-radius: 50%; background: radial-gradient(circle, rgba(166, 58, 237, .45) 0%, rgba(96, 165, 250, .12) 42%, transparent 68%); filter: blur(10px); animation: alBreath 6s ease-in-out infinite; pointer-events: none; }
@keyframes alBreath { 50% { transform: translateY(-50%) scale(1.08); opacity: .8; } }

.al-stage { position: relative; width: min(100%, 460px); aspect-ratio: 1; margin-inline: auto; display: grid; place-items: center; }
.al-orbit { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; animation: alFade 1s ease 2.2s forwards, alSpin 50s linear 2.2s infinite; }
@keyframes alSpin { to { transform: rotate(360deg); } }
@keyframes alFade { to { opacity: 1; } }
.al-logo { position: relative; width: 70%; aspect-ratio: 772 / 716; animation: alFloat 7s ease-in-out 3s infinite; filter: drop-shadow(0 20px 40px rgba(110, 30, 170, .45)); }
@keyframes alFloat { 50% { transform: translateY(-12px); } }
.lg-part { position: absolute; inset: 0; width: 100%; height: 100%; }
/* 1. the B draws itself from the bottom up */
.lg-b { clip-path: inset(100% 0 0 0); animation: lgWipeUp 1s cubic-bezier(.7, 0, .2, 1) .35s forwards; }
@keyframes lgWipeUp { to { clip-path: inset(0 0 0 0); } }
/* 2. the halftone 7 sweeps in from the side out of a blur */
.lg-7 { opacity: 0; transform: translateX(28%) scale(1.15); filter: blur(14px); animation: lg7In 1.2s cubic-bezier(.2, .8, .2, 1) .9s forwards; }
.is-rtl .lg-7 { transform: translateX(-28%) scale(1.15); }
@keyframes lg7In { to { opacity: 1; transform: none; filter: none; } }
/* 3. the two dots pop in */
.lg-dot1, .lg-dot2 { opacity: 0; transform: scale(0); animation: lgPop .7s cubic-bezier(.3, 1.6, .5, 1) forwards; }
.lg-dot1 { transform-origin: 15.6% 22.3%; animation-delay: 1.55s; }
.lg-dot2 { transform-origin: 33% 53.6%; animation-delay: 1.75s; }
@keyframes lgPop { to { opacity: 1; transform: scale(1); } }
/* 4. the wordmark reveals left to right */
.lg-word { clip-path: inset(0 100% 0 0); animation: lgWipeX 1s cubic-bezier(.7, 0, .2, 1) 2s forwards; }
@keyframes lgWipeX { to { clip-path: inset(0 0 0 0); } }
/* a light glint passes over the finished logo every few seconds */
.al-shine { position: absolute; inset: 0; pointer-events: none; -webkit-mask-image: url(/assets/img/brand/logo-b7-light.png); mask-image: url(/assets/img/brand/logo-b7-light.png); -webkit-mask-size: 100% 100%; mask-size: 100% 100%; background: linear-gradient(110deg, transparent 35%, rgba(255, 255, 255, .85) 48%, transparent 60%) no-repeat; background-size: 300% 100%; background-position: 150% 0; animation: alShine 6s ease-in-out 3.2s infinite; }
@keyframes alShine { 0% { background-position: 150% 0; } 35%, 100% { background-position: -60% 0; } }
@media (max-width: 1040px) {
  .al-grid { grid-template-columns: minmax(0, 1fr); }
  .al-stage { width: min(80%, 380px); order: -1; margin-top: 8px; }
  .about-logo .cine-content { padding-top: 0; }
  .about-logo .al-grid { padding-top: calc(var(--header-h) + 8px); }
}
@media (prefers-reduced-motion: reduce) {
  .al-dots, .al-glow, .al-orbit, .al-logo, .al-shine { animation: none; }
  .al-orbit { opacity: 1; }
  .lg-b, .lg-7, .lg-dot1, .lg-dot2, .lg-word { animation: none; opacity: 1; transform: none; filter: none; clip-path: none; }
}

/* ---------- About: intro bento ---------- */
.about-bento { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 20px; align-items: stretch; }
.ab-main { padding: clamp(28px, 4vw, 48px); border-radius: 28px; background: linear-gradient(160deg, #FBF7FF 0%, #F3EEFF 100%); border: 1px solid #EADAFB; }
.ab-main .about-statement { margin-top: 6px; }
.ab-main .about-intro-text { margin-top: 20px; }
.ab-facts { display: grid; grid-template-rows: repeat(3, minmax(0, 1fr)); gap: 20px; }
.ab-fact { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: center; gap: 4px; padding: 22px 26px; border-radius: 22px; color: #fff; background: #140A24; isolation: isolate; }
.ab-fact::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(120% 140% at 100% 0%, rgba(166, 58, 237, .65) 0%, transparent 55%), radial-gradient(90% 120% at 0% 100%, rgba(96, 165, 250, .25) 0%, transparent 60%); transition: opacity .4s; }
.ab-fact-2 { background: linear-gradient(120deg, #8A2BE2, #A63AED 55%, #5B5BF0); }
.ab-fact-2::before { background: radial-gradient(circle, rgba(255, 255, 255, .22) 1.2px, transparent 1.4px); background-size: 14px 14px; opacity: .5; }
.ab-fact strong { font-family: var(--font-display); font-size: clamp(2.4rem, 4vw, 3.4rem); font-weight: 600; line-height: 1; }
.ab-fact span { font-size: 14px; font-weight: 700; color: rgba(255, 255, 255, .85); }
.ab-fact small { font-size: 12.5px; color: rgba(255, 255, 255, .65); }

/* ---------- moving word band ---------- */
.word-band { overflow: hidden; padding: 26px 0; background: #0E0818; border-block: 1px solid rgba(255, 255, 255, .06); }
.word-track { display: flex; align-items: center; gap: 34px; width: max-content; animation: wordMove 45s linear infinite; }
.is-rtl .word-track { animation-direction: reverse; }
.word-track span { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3.4rem); font-weight: 600; line-height: 1; text-transform: uppercase; color: transparent; -webkit-text-stroke: 1.2px rgba(225, 194, 255, .55); white-space: nowrap; transition: color .3s; }
.is-rtl .word-track span { font-family: var(--font-display); text-transform: none; }
.word-track span:nth-of-type(3n+1) { color: #fff; -webkit-text-stroke: 0; }
.word-track i { font-style: normal; font-size: 1.4rem; color: #A63AED; }
@keyframes wordMove { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .word-track { animation: none; } }

/* ---------- About: values on dark ---------- */
.values-dark { position: relative; overflow: hidden; background: radial-gradient(90% 80% at 15% 0%, #2A1150 0%, #120A1E 60%); color: #fff; }
.values-dark .display-md { color: #fff; }
.values-dark .display-md em { background: linear-gradient(90deg, #E1C2FF, #8EC5FF); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.vd-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.vd-card { position: relative; overflow: hidden; padding: 28px 24px 26px; border-radius: 22px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: transform .45s var(--ease), border-color .45s, background .45s; }
.vd-card:hover { transform: translateY(-6px); border-color: rgba(193, 139, 250, .6); background: rgba(166, 58, 237, .12); }
.vd-n { position: absolute; top: 6px; inset-inline-end: 14px; font-family: var(--font-display); font-size: 5rem; font-weight: 600; line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(225, 194, 255, .25); }
.vd-ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(135deg, #A63AED, #5B5BF0); box-shadow: 0 12px 26px -10px rgba(166, 58, 237, .9); margin-bottom: 22px; }
.vd-ic .ic { width: 22px; height: 22px; color: #fff; }
.vd-card h3 { font-size: 1.1rem; line-height: 1.3; color: #fff; }
.vd-card p { margin-top: 10px; font-size: 14px; line-height: 1.6; color: rgba(255, 255, 255, .72); }

/* ---------- About: story ---------- */
.story-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.story-side { position: sticky; top: calc(var(--header-h) + 24px); }
.story-card { margin: 28px 0 0; padding: 34px; border-radius: 26px; display: grid; justify-items: center; gap: 16px; background: radial-gradient(120% 100% at 80% 0%, #3A1670 0%, #140A24 70%); box-shadow: var(--shadow-lg); }
.story-card img { width: 46%; height: auto; filter: drop-shadow(0 14px 30px rgba(166, 58, 237, .5)); }
.story-card figcaption { font-family: var(--font-display); font-size: 1.15rem; letter-spacing: .14em; text-transform: uppercase; color: #E1C2FF; direction: ltr; }
.story-prose > p:first-child::first-letter { float: inline-start; font-family: var(--font-display); font-size: 4.2rem; line-height: .9; margin-inline-end: 10px; margin-top: 4px; color: var(--purple); }
.is-rtl .story-prose > p:first-child::first-letter { float: none; font-size: inherit; margin: 0; color: inherit; font-family: inherit; }

@media (max-width: 1040px) {
  .about-bento, .story-grid { grid-template-columns: minmax(0, 1fr); }
  .ab-facts { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: none; }
  .vd-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .story-side { position: static; }
  .story-card { max-width: 420px; }
}
@media (max-width: 640px) {
  .ab-facts { grid-template-columns: minmax(0, 1fr); }
  .vd-grid { grid-template-columns: minmax(0, 1fr); }
  .word-band { padding: 18px 0; }
}
@media (max-width: 640px) { .ab-facts { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; } .ab-fact { padding: 16px 12px; border-radius: 16px; } .ab-fact strong { font-size: 1.9rem; } .ab-fact span { font-size: 11.5px; line-height: 1.3; } .ab-fact small { display: none; } }

/* ---------- About: team cards (person rising out of a patterned card) ---------- */
.section-head-center { text-align: center; margin-inline: auto; max-width: 760px; }
.section-head-center .muted { margin-top: 12px; }
.tm-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 32px); margin-top: 20px; }
.tm-stage { position: relative; aspect-ratio: 4 / 4.6; display: flex; align-items: flex-end; justify-content: center; margin-bottom: 26px; }
.tm-bg { position: absolute; inset: 16% 0 0; border-radius: 22px; overflow: hidden; background: radial-gradient(120% 90% at 50% 0%, #3A1670 0%, #1B0E30 60%, #120A1E 100%); box-shadow: 0 24px 50px -24px rgba(40, 10, 80, .7); transition: transform .5s var(--ease), box-shadow .5s; }
.tm-bg::before { content: ''; position: absolute; inset: -10%; background-image: url(/assets/img/brand/mark-white.png); background-size: 46px auto; background-repeat: space; opacity: .07; transform: rotate(-12deg); }
.tm-bg::after { content: ''; position: absolute; inset: 0; background: radial-gradient(60% 50% at 50% 100%, rgba(166, 58, 237, .45), transparent 70%); }
/* speech-bubble notch under the card */
.tm-stage::after { content: ''; position: absolute; bottom: -11px; inset-inline-start: 14%; width: 24px; height: 24px; background: #120A1E; transform: rotate(45deg); border-radius: 4px; z-index: 0; }
.tm-photo, .tm-sil { position: relative; z-index: 1; width: 92%; height: auto; max-height: 100%; object-fit: contain; object-position: bottom; transition: transform .6s var(--ease); filter: drop-shadow(0 16px 24px rgba(0, 0, 0, .35)); }
.tm-photo { filter: grayscale(.15) drop-shadow(0 16px 24px rgba(0, 0, 0, .35)); }
.tm-sil { width: 74%; opacity: .9; }
.tm:hover .tm-photo, .tm:hover .tm-sil { transform: translateY(-6px) scale(1.02); }
.tm:hover .tm-bg { transform: translateY(-4px); box-shadow: 0 30px 60px -24px rgba(110, 30, 170, .75); }
.tm-tag { position: absolute; z-index: 2; padding: 6px 12px; border-radius: 8px; font-size: 12px; font-weight: 800; line-height: 1.25; color: var(--text); background: rgba(255, 255, 255, .88); border: 1px solid rgba(255, 255, 255, .95); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); box-shadow: 0 10px 22px -10px rgba(40, 10, 80, .6); max-width: 70%; }
.tm-tag-1 { top: 38%; inset-inline-start: -4%; transform: rotate(-8deg); }
.tm-tag-2 { top: 24%; inset-inline-start: -2%; transform: rotate(-6deg); }
.tm-tag::before { content: ''; display: inline-block; width: 7px; height: 7px; margin-inline-end: 6px; border-radius: 50%; background: var(--purple); vertical-align: 1px; }
.tm-name { position: relative; padding-inline-start: 16px; font-size: 1.2rem; letter-spacing: -.01em; }
.tm-name::before { content: ''; position: absolute; inset-inline-start: 0; top: .5em; width: 7px; height: 7px; border-radius: 50%; background: var(--purple); }
.tm-role { margin-top: 4px; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--purple); }
.is-rtl .tm-role { letter-spacing: 0; }
.tm-bio { margin-top: 8px; font-size: 14px; line-height: 1.6; color: var(--muted); }
.tm-more { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--purple); }
.tm-more .ic { width: 15px; height: 15px; transition: transform .3s; }
.tm-more:hover .ic { transform: translateX(4px); }
.is-rtl .tm-more:hover .ic { transform: translateX(-4px) scaleX(-1); }
.tm.is-placeholder .tm-bio { font-style: italic; }
.is-rtl .tm.is-placeholder .tm-bio { font-style: normal; }
@media (max-width: 1040px) { .tm-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; } }
@media (max-width: 640px) { .tm-grid { gap: 14px; row-gap: 32px; } .tm-tag { font-size: 10.5px; padding: 5px 8px; } .tm-bio { font-size: 13px; } }
.tm-bg { inset: 20% 0 0; }
.tm-bg::before { background-size: 64px auto; opacity: .05; }
.tm-sil { width: 90%; opacity: .85; }
.tm-photo { width: 96%; }
.tm-tag-1 { top: 44%; } .tm-tag-2 { top: 32%; }
/* team: center the row when there are fewer than four people */
.tm-grid { display: flex; flex-wrap: wrap; justify-content: center; }
.tm-grid > .tm { flex: 0 1 calc((100% - 3 * clamp(16px, 2.4vw, 32px)) / 4); min-width: 0; }
@media (max-width: 1040px) { .tm-grid > .tm { flex-basis: calc((100% - clamp(16px, 2.4vw, 32px)) / 2); } }
@media (max-width: 640px) { .tm-grid > .tm { flex-basis: min(100%, 320px); } }
.tm-photo { filter: drop-shadow(0 16px 24px rgba(0, 0, 0, .35)); }
/* tag sits low on the card so faces stay clear */
.tm-tag-1, .tm-tag-2 { top: auto; bottom: 14%; }
.tm-tag-2 { bottom: 20%; }

/* ================= home: services showcase ================= */
.svx { position: relative; isolation: isolate; overflow: hidden; padding: clamp(72px, 9vw, 128px) 0; color: #fff; background: radial-gradient(90% 70% at 0% 0%, #2A1150 0%, transparent 60%), radial-gradient(70% 60% at 100% 100%, rgba(91, 91, 240, .25) 0%, transparent 60%), #0E0818; }
.svx::before { content: ''; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(circle, rgba(193, 139, 250, .22) 1px, transparent 1.3px); background-size: 26px 26px; -webkit-mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent); mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent); opacity: .5; }
.svx-aura { position: absolute; z-index: -1; width: 620px; height: 620px; left: var(--ax, 20%); top: var(--ay, 40%); transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle, rgba(166, 58, 237, .35), transparent 65%); filter: blur(20px); transition: left .8s var(--ease), top .8s var(--ease); pointer-events: none; }
.svx-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.svx-side { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 26px; }
.svx-head .display-md { color: #fff; }
.svx-head .display-md em { background: linear-gradient(90deg, #E1C2FF, #C18BFA 50%, #8EC5FF); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.svx-head .lead-dim { margin-top: 14px; color: rgba(255, 255, 255, .72); }
/* live preview: active service image in a glowing frame */
.svx-preview { position: relative; aspect-ratio: 16 / 11; border-radius: 26px; overflow: hidden; background: #1A1028; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255, 255, 255, .14); }
.svx-shot { position: absolute; inset: 0; margin: 0; opacity: 0; clip-path: inset(0 0 100% 0); transition: opacity .5s ease, clip-path .8s cubic-bezier(.7, 0, .2, 1); }
.svx-shot.is-active { opacity: 1; clip-path: inset(0 0 0 0); z-index: 1; }
.svx-shot img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transition: transform 1.6s var(--ease); }
.svx-shot.is-active img { transform: scale(1); }
.svx-shot::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14, 8, 24, 0) 45%, rgba(14, 8, 24, .85) 100%); }
.svx-shot figcaption { position: absolute; z-index: 1; inset-inline: 22px; bottom: 18px; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.svx-shot-n { font-family: var(--font-display); font-size: 4.2rem; font-weight: 600; line-height: .85; color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, .85); }
.svx-shot-tags { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; }
.svx-shot-tags i { font-style: normal; padding: 5px 11px; border-radius: 999px; font-size: 11.5px; font-weight: 700; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .25); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.svx-frame { position: absolute; inset: 0; z-index: 2; border-radius: inherit; pointer-events: none; padding: 1.5px; background: conic-gradient(from var(--fa, 0deg), transparent 0 70%, #E1C2FF 80%, #A63AED 88%, transparent 95%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); animation: svxSpin 6s linear infinite; }
@property --fa { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
@keyframes svxSpin { to { --fa: 360deg; } }
/* the list */
.svx-list { counter-reset: none; border-top: 1px solid rgba(255, 255, 255, .12); }
.svx-row { position: relative; isolation: isolate; display: grid; grid-template-columns: 54px 46px minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 22px 14px; border-bottom: 1px solid rgba(255, 255, 255, .12); transition: padding .45s var(--ease); }
.svx-row::before { content: ''; position: absolute; inset: 0; z-index: -1; border-radius: 18px; background: linear-gradient(100deg, rgba(166, 58, 237, .32), rgba(91, 91, 240, .16)); transform: scaleX(0); transform-origin: left center; transition: transform .55s cubic-bezier(.7, 0, .2, 1); }
.is-rtl .svx-row::before { transform-origin: right center; }
.svx-row.is-active::before { transform: scaleX(1); }
.svx-row.is-active { padding-inline: 22px; }
.svx-n { font-family: var(--font-display); font-size: 1.05rem; font-weight: 600; color: rgba(225, 194, 255, .6); transition: color .3s; }
.svx-ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); color: #E1C2FF; transition: background .4s, transform .5s var(--ease), color .3s; }
.svx-ic .ic { width: 21px; height: 21px; }
.svx-txt h3 { font-family: var(--font-display); font-size: clamp(1.35rem, 2.1vw, 1.9rem); font-weight: 500; line-height: 1.15; letter-spacing: .01em; text-transform: uppercase; color: rgba(255, 255, 255, .78); transition: color .3s, letter-spacing .5s var(--ease); }
.is-rtl .svx-txt h3 { font-family: var(--font-display); font-weight: 800; text-transform: none; letter-spacing: 0; }
.svx-txt p { max-height: 0; overflow: hidden; opacity: 0; margin-top: 0; font-size: 14px; line-height: 1.55; color: rgba(255, 255, 255, .72); transition: max-height .5s var(--ease), opacity .4s, margin .4s; }
.svx-thumb { display: none; }
.svx-go { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .25); color: #fff; transition: background .35s, border-color .35s, transform .45s var(--ease); }
.svx-go .ic { width: 17px; height: 17px; }
.svx-row.is-active .svx-n { color: #fff; }
.svx-row.is-active .svx-ic { background: linear-gradient(135deg, #A63AED, #5B5BF0); border-color: transparent; color: #fff; transform: rotate(-8deg) scale(1.06); }
.svx-row.is-active .svx-txt h3 { color: #fff; letter-spacing: .03em; }
.is-rtl .svx-row.is-active .svx-txt h3 { letter-spacing: 0; }
.svx-row.is-active .svx-txt p { max-height: 70px; opacity: 1; margin-top: 6px; }
.svx-row.is-active .svx-go { background: #fff; border-color: #fff; color: var(--purple); transform: rotate(-45deg); }
.is-rtl .svx-row.is-active .svx-go { transform: rotate(45deg); }
.svx-row a:focus-visible { outline: none; }
.svx-row:focus-within { box-shadow: 0 0 0 2px #E1C2FF; border-radius: 18px; }
@media (max-width: 1040px) {
  .svx-grid { grid-template-columns: minmax(0, 1fr); }
  .svx-side { position: static; }
  .svx-preview { display: none; }
  .svx-btns { order: 3; }
  .svx-row { grid-template-columns: 34px minmax(0, 1fr) 78px; padding: 16px 6px; gap: 12px; }
  .svx-ic, .svx-go { display: none; }
  .svx-thumb { display: block; width: 78px; height: 78px; border-radius: 14px; object-fit: cover; opacity: .7; transition: opacity .3s, transform .4s var(--ease); }
  .svx-row.is-active .svx-thumb { opacity: 1; transform: scale(1.04); }
  .svx-row.is-active { padding-inline: 12px; }
  .svx-txt p { max-height: none; opacity: 1; margin-top: 4px; font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) { .svx-frame { animation: none; } .svx-shot, .svx-shot img, .svx-row::before { transition: none; } }
@media (max-width: 1040px) {
  .svx-side { display: contents; }
  .svx-head { order: 1; } .svx-list { order: 2; } .svx-btns { order: 3; }
  .svx-grid { gap: 28px; }
}
@media (max-width: 640px) {
  .svx-row { grid-template-columns: 30px minmax(0, 1fr) 56px; padding: 12px 4px; }
  .svx-txt p { display: none; }
  .svx-txt h3 { font-size: 1.2rem; }
  .svx-thumb { width: 56px; height: 56px; border-radius: 12px; }
  .svx-btns .btn { flex: 1 1 auto; justify-content: center; }
}
/* 7 service tiles: the last one spans the full row on desktop so the grid closes cleanly */
@media (min-width: 1041px) { .svc-tiles > .svc-tile:nth-child(7):last-child { grid-column: 1 / -1; } }
/* services showcase: calmer type and slimmer rows */
.svx-row { grid-template-columns: 40px 38px minmax(0, 1fr) auto; gap: 14px; padding: 14px 12px; }
.svx-row.is-active { padding-inline: 16px; }
.svx-row::before { border-radius: 14px; }
.svx-n { font-size: .9rem; }
.svx-ic { width: 38px; height: 38px; border-radius: 11px; }
.svx-ic .ic { width: 18px; height: 18px; }
.svx-txt h3 { font-size: clamp(1.05rem, 1.45vw, 1.3rem); letter-spacing: .015em; }
.svx-row.is-active .svx-txt h3 { letter-spacing: .025em; }
.svx-txt p { font-size: 13.5px; }
.svx-row.is-active .svx-txt p { margin-top: 4px; }
.svx-go { width: 34px; height: 34px; }
.svx-go .ic { width: 15px; height: 15px; }
.svx-row:focus-within { border-radius: 14px; }
@media (max-width: 1040px) { .svx-row { grid-template-columns: 30px minmax(0, 1fr) 64px; padding: 12px 6px; } .svx-thumb { width: 64px; height: 64px; } }
@media (max-width: 640px) { .svx-row { grid-template-columns: 26px minmax(0, 1fr) 50px; padding: 10px 4px; } .svx-txt h3 { font-size: 1.02rem; } .svx-thumb { width: 50px; height: 50px; border-radius: 10px; } }
@media (min-width: 1041px) { .svx-grid { align-items: center; } .svx-side { position: static; } }
.svx-main { display: grid; gap: 28px; }
.svx-main .svx-btns { margin: 0; }
@media (max-width: 1040px) { .svx-main { order: 2; } }

/* ---------- ad design page: poster gallery ---------- */
.adg-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.adg-item { position: relative; overflow: hidden; border-radius: 20px; aspect-ratio: 4 / 5.2; background: #1A1028; box-shadow: var(--shadow); transition: transform .5s var(--ease), box-shadow .5s; }
.adg-item:nth-child(even) { translate: 0 22px; }
.adg-item:hover { transform: translateY(-8px) rotate(-1deg); box-shadow: var(--shadow-lg); }
.adg-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.adg-item:hover img { transform: scale(1.04); }
.adg-lipstick img { object-position: 40% 50%; }
.adg-note { margin-top: 44px; max-width: 760px; font-size: 13.5px; line-height: 1.6; color: var(--muted); }
@media (max-width: 1040px) { .adg-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .adg-grid { gap: 10px; } .adg-item { border-radius: 14px; } .adg-item:nth-child(even) { translate: 0 12px; } .adg-note { margin-top: 28px; } }
@media (prefers-reduced-motion: reduce) { .adg-item, .adg-item img { transition: none; } }
/* ad design page: the poster fan floats on the page, no frame */
.svc-hero-free { box-shadow: none; border-radius: 0; aspect-ratio: 1600 / 1067; }
.svc-hero-free img { object-fit: contain; border-radius: 0; filter: drop-shadow(0 30px 40px rgba(76, 29, 149, .18)); }
.svc-hero-free .svc-hero-badge { bottom: 14%; inset-inline-start: 2%; }
@media (max-width: 1040px) { .svc-hero-free { aspect-ratio: 1600 / 1067; } }
/* identity boards: natural proportions in a three-column masonry */
.adg-masonry { display: block; columns: 3; column-gap: 18px; }
.adg-masonry .adg-item { break-inside: avoid; margin-bottom: 18px; aspect-ratio: auto; translate: none !important; }
.adg-masonry .adg-item img { height: auto; }
@media (max-width: 1040px) { .adg-masonry { columns: 2; } }
@media (max-width: 640px) { .adg-masonry { column-gap: 10px; } .adg-masonry .adg-item { margin-bottom: 10px; } }
/* blog: author box at the end of each article */
.prose .author-box { display: flex; gap: 20px; align-items: center; margin-top: 2.6em; padding: 22px 24px; border-radius: 20px; background: linear-gradient(160deg, #FBF7FF, #F3EEFF); border: 1px solid #EADAFB; }
.author-ph { flex: none; width: 92px; height: 92px; border-radius: 50%; overflow: hidden; background: radial-gradient(120% 90% at 50% 0%, #3A1670, #140A24); display: flex; align-items: flex-end; justify-content: center; }
.author-ph img { width: 100%; height: auto; margin: 0; }
.prose .author-box p { margin: 0; }
.author-k { font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--purple); }
.is-rtl .author-k { letter-spacing: 0; }
.author-n { font-size: 1.15rem; font-weight: 800; color: var(--text); }
.prose .author-n a { color: var(--text); text-decoration: none; }
.author-r { font-size: 13px; font-weight: 700; color: var(--muted); }
.prose .author-b { margin-top: 6px; font-size: 14.5px; line-height: 1.6; color: var(--text-2); }
@media (max-width: 640px) { .prose .author-box { flex-direction: column; align-items: flex-start; } }

/* ---------- FAQ page ---------- */
.faq-jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.faq-jump a { padding: 8px 16px; border-radius: 999px; font-size: 14px; font-weight: 700; background: #fff; border: 1px solid #EADAFB; color: var(--text-2); transition: all .25s; }
.faq-jump a:hover { background: var(--purple); border-color: var(--purple); color: #fff; }
.faq-page { display: grid; gap: clamp(36px, 5vw, 56px); max-width: 900px; }
.faq-group { scroll-margin-top: calc(var(--header-h) + 20px); }
.faq-group-h { display: flex; align-items: baseline; gap: 14px; margin-bottom: 18px; font-size: clamp(1.35rem, 2.2vw, 1.75rem); }
.faq-group-h span { font-family: var(--font-display); font-size: 1rem; font-weight: 600; color: var(--purple); }
.faq-page .faq-a a { color: var(--purple); font-weight: 700; text-decoration: underline; text-decoration-color: #D9C2FB; text-underline-offset: 3px; }

/* ---------- calmer motion: one signature animation per page ---------- */
.svx-frame { animation: none; background: linear-gradient(135deg, rgba(225, 194, 255, .55), transparent 40%, transparent 60%, rgba(166, 58, 237, .45)); }
.about-logo .cine-grain { display: none; }
.al-glow { animation: none; }
.al-dots { animation: none; }
.al-shine { animation-duration: 9s; }
.al-orbit { animation-duration: 90s; }

/* ---------- process section: brand-coloured, no stock photo ---------- */
.section-process { position: relative; isolation: isolate; overflow: hidden; background: linear-gradient(160deg, #FBF7FF 0%, #F3EBFF 55%, #EEF1FF 100%); }
.section-process::before { content: ''; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(circle, rgba(166, 58, 237, .16) 1.2px, transparent 1.5px); background-size: 24px 24px; -webkit-mask-image: radial-gradient(70% 80% at 70% 50%, #000, transparent 75%); mask-image: radial-gradient(70% 80% at 70% 50%, #000, transparent 75%); }
.section-process::after { content: ''; position: absolute; z-index: -1; width: 520px; height: 520px; inset-inline-end: -140px; top: -160px; border-radius: 50%; background: radial-gradient(circle, rgba(193, 139, 250, .28), transparent 65%); }
/* About: the logo assembly is the signature; the moving word band stays, the project strip there is still */
.about-logo .cine-grain { animation: none; display: none; }
.section-featured .pp.is-moving .pp-track { animation-duration: calc(var(--pp-dur, 40s) * 1.4); }
body:has(.about-logo) .pp.is-moving .pp-track { animation: none; }
body:has(.about-logo) .pp { overflow-x: auto; scrollbar-width: none; }

/* ================= hero: calmer layout ================= */
.hx-shade { background: linear-gradient(90deg, rgba(14, 8, 24, .97) 0%, rgba(14, 8, 24, .92) 38%, rgba(22, 10, 38, .78) 70%, rgba(14, 8, 24, .82) 100%), radial-gradient(45% 55% at 72% 52%, rgba(166, 58, 237, .32) 0%, transparent 70%); }
.is-rtl .hx-shade { background: linear-gradient(270deg, rgba(14, 8, 24, .97) 0%, rgba(14, 8, 24, .92) 38%, rgba(22, 10, 38, .78) 70%, rgba(14, 8, 24, .82) 100%), radial-gradient(45% 55% at 28% 52%, rgba(166, 58, 237, .32) 0%, transparent 70%); }
.hx-bg img { filter: blur(2px) saturate(.8); transform: scale(1.03); }
.hx-lead { margin-top: 4px; font-size: 1.1rem; line-height: 1.55; color: rgba(255, 255, 255, .82); max-width: 460px; }
.hx-rule { margin: 24px 0 16px; }
.hx-trust { margin-top: 26px; }
/* three cards: centre plus one each side, larger and calmer */
.hx-stage { --ch: min(54vh, 500px); --cw: calc(var(--ch) * .735); }
.hx-item { --step: calc(var(--cw) * .7); transform: translateX(calc(var(--o) * var(--step))) translateZ(calc(var(--a) * -180px)) rotateY(calc(var(--o) * -22deg)) scale(calc(1 - var(--a) * .08)); filter: brightness(calc(1 - var(--a) * .35)) saturate(calc(1 - var(--a) * .2)); }
.hx-card { border-color: rgba(255, 255, 255, .22); }
.hx-card::after { background: linear-gradient(180deg, rgba(14, 8, 24, .45) 0%, rgba(14, 8, 24, 0) 22%, rgba(14, 8, 24, 0) 55%, rgba(14, 8, 24, .88) 100%); }
.hx-label { position: absolute; top: 18px; inset-inline: 20px; display: block; margin: 0; font-family: var(--font-display); font-size: 1.15rem; font-weight: 800; line-height: 1.25; letter-spacing: -.01em; color: #fff; text-shadow: 0 2px 12px rgba(0, 0, 0, .35); }
.hx-item:not(.is-active) .hx-label { font-size: 1rem; opacity: .85; }
.hx-foot { padding: 18px 20px 20px; gap: 14px; }
.hx-text { font-size: 14.5px; }
/* thumbnail strip: images only, slimmer */
.hx-strip { justify-content: center; gap: 4px; padding: 6px; border-radius: 999px; width: fit-content; margin-inline: auto; max-width: 100%; }
.hx-thumbs { flex: 0 1 auto; justify-content: center; gap: 6px; }
.hx-thumb { flex: 0 0 auto; padding: 0; }
.hx-thumb img { width: 38px; height: 38px; border-width: 2px; opacity: .6; transition: transform .35s var(--ease), opacity .3s, border-color .3s, box-shadow .3s; }
.hx-thumb:hover img { opacity: .9; }
.hx-thumb.is-active img { opacity: 1; transform: scale(1.12); }
.hx-arrow { width: 36px; height: 36px; }
@media (max-width: 640px) {
  .hx-stage { --ch: min(58vh, 450px); --cw: min(76vw, calc(var(--ch) * .735)); }
  .hx-item { --step: calc(var(--cw) * .5); }
  .hx-lead { font-size: 1rem; }
  .hx-thumb { flex: 0 0 auto; }
  .hx-thumb img { width: 32px; height: 32px; }
}

/* only the visible centre card moves */

/* ---------- hero cards: motion on the 3D service images ---------- */
.hx-img { transform-origin: 60% 55%; will-change: transform; }
.hx-item.is-active .hx-img { animation: hxDrift 9s ease-in-out infinite alternate; }
@keyframes hxDrift { from { transform: scale(1.02) translate(0, 0); } to { transform: scale(1.12) translate(-2.5%, -2%); } }
/* social: post and camera scenes take turns */
.hx-img-2 { opacity: 0; }
.hx-item.is-active .hx-img-2 { animation: hxDrift 9s ease-in-out infinite alternate, hxSwap 8s ease-in-out infinite; }
@keyframes hxSwap { 0%, 42% { opacity: 0; } 50%, 92% { opacity: 1; } 100% { opacity: 0; } }
/* a soft light passing over the card */
.hx-shine { position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .22) 45%, rgba(225, 194, 255, .12) 52%, transparent 65%); background-size: 250% 100%; background-position: 140% 0; opacity: 0; }
.hx-item.is-active .hx-shine { opacity: 1; animation: hxShine 6s ease-in-out infinite 1s; }
@keyframes hxShine { 0% { background-position: 140% 0; } 45%, 100% { background-position: -60% 0; } }
/* glowing particles rising */
.hx-spark { position: absolute; z-index: -1; width: 6px; height: 6px; border-radius: 50%; background: #F1DFFF; box-shadow: 0 0 10px 3px rgba(193, 139, 250, .8); opacity: 0; pointer-events: none; }
.hx-spark-1 { left: 22%; bottom: 30%; }
.hx-spark-2 { left: 70%; bottom: 40%; width: 4px; height: 4px; }
.hx-spark-3 { left: 48%; bottom: 24%; width: 5px; height: 5px; }
.hx-item.is-active .hx-spark { animation: hxSpark 5s ease-in infinite; }
.hx-item.is-active .hx-spark-2 { animation-delay: 1.7s; }
.hx-item.is-active .hx-spark-3 { animation-delay: 3.3s; }
@keyframes hxSpark { 0% { opacity: 0; transform: translateY(0) scale(.6); } 15% { opacity: 1; } 100% { opacity: 0; transform: translateY(-170px) scale(1.1); } }
@media (prefers-reduced-motion: reduce) {
  .hx-item.is-active .hx-img, .hx-item.is-active .hx-img-2, .hx-item.is-active .hx-shine, .hx-item.is-active .hx-spark { animation: none; }
  .hx-img-2, .hx-shine, .hx-spark { display: none; }
}
/* hero cards: title and short text together at the top, the image stays clear below */
.hx-head { position: absolute; top: 0; inset-inline: 0; padding: 18px 20px 26px; display: grid; gap: 6px; background: linear-gradient(180deg, rgba(14, 8, 24, .82) 0%, rgba(14, 8, 24, .55) 60%, rgba(14, 8, 24, 0) 100%); }
.hx-head .hx-label { position: static; inset: auto; }
.hx-head .hx-text { font-size: 13.5px; line-height: 1.5; color: rgba(255, 255, 255, .85); opacity: 0; transform: translateY(-6px); transition: opacity .45s, transform .55s var(--ease); }
.hx-item.is-active .hx-head .hx-text { opacity: 1; transform: none; }
.hx-card::after { background: linear-gradient(180deg, rgba(14, 8, 24, .2) 0%, rgba(14, 8, 24, 0) 30%, rgba(14, 8, 24, 0) 72%, rgba(14, 8, 24, .75) 100%); }
.hx-foot { padding: 14px 18px 16px; gap: 0; }
@media (max-width: 640px) { .hx-head { padding: 16px 16px 22px; } .hx-head .hx-text { font-size: 13px; } }

/* ================= portfolio: showcase + filterable grid ================= */
.pf-scroll { position: relative; overflow: hidden; aspect-ratio: 16 / 10; background: #EEE9F8; }
.pf-scroll img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; transition: object-position 7s cubic-bezier(.45, 0, .55, 1); }
.pfs:hover .pf-scroll img, .pf-card:hover .pf-scroll img, .pf-card:focus-within .pf-scroll img { object-position: 50% 100%; transition-duration: 9s; }
/* showcase */
.pfs-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.pfs { position: relative; display: grid; border-radius: 28px; overflow: hidden; background: linear-gradient(160deg, #FBF7FF, #F1E9FF); border: 1px solid #EADAFB; transition: transform .5s var(--ease), box-shadow .5s; }
.pfs:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.pfs-media { position: relative; padding: 32px 70px 0 32px; }
.is-rtl .pfs-media { padding: 32px 32px 0 70px; }
.pfs-desk { margin: 0; border-radius: 14px 14px 0 0; overflow: hidden; box-shadow: 0 30px 60px -30px rgba(40, 10, 80, .45); border: 1px solid var(--line); border-bottom: 0; background: #fff; }
.pfs-desk .pf-scroll { aspect-ratio: 16 / 11; }
.pfs-phone { position: absolute; inset-inline-end: 22px; bottom: -18px; width: 26%; margin: 0; padding: 6px; border-radius: 26px; background: #120A1E; box-shadow: 0 24px 50px -18px rgba(0, 0, 0, .55); transition: transform .6s var(--ease); }
.pfs:hover .pfs-phone { transform: translateY(-10px) rotate(-2deg); }
.pfs-phone img { display: block; width: 100%; height: auto; border-radius: 20px; }
.pfs-body { position: relative; z-index: 1; padding: 30px 32px 30px; background: #fff; border-top: 1px solid var(--line); display: grid; gap: 8px; }
.pfs-body h3 { font-size: 1.5rem; letter-spacing: -.02em; }
.pfs-body > p:not(.work-cat) { color: var(--muted); font-size: 15px; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pfs-go { display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; font-weight: 800; font-size: 14px; color: var(--purple); }
.pfs-go .ic { width: 16px; height: 16px; transition: transform .3s; }
.pfs:hover .pfs-go .ic { transform: translateX(4px); }
.is-rtl .pfs:hover .pfs-go .ic { transform: translateX(-4px) scaleX(-1); }
/* all projects */
.pfa-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 32px; }
.pf-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.pf-filter { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 16px; border-radius: 999px; font-size: 14px; font-weight: 700; color: var(--text-2); background: #fff; border: 1px solid #E5DAF7; transition: all .25s; }
.pf-filter span { min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; display: grid; place-items: center; font-size: 12px; background: var(--lav); color: var(--purple); }
.pf-filter:hover { border-color: var(--purple); color: var(--purple); }
.pf-filter[aria-pressed="true"] { background: var(--grad); border-color: transparent; color: #fff; box-shadow: 0 10px 24px -12px rgba(110, 30, 170, .8); }
.pf-filter[aria-pressed="true"] span { background: rgba(255, 255, 255, .25); color: #fff; }
.pf-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.pf-item.is-hidden { display: none; }
.pf-item.is-in { animation: pfIn .45s var(--ease) both; }
@keyframes pfIn { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }
.pf-card { position: relative; height: 100%; border-radius: 18px; overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .45s var(--ease), box-shadow .45s, border-color .45s; }
.pf-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: #D9C2FB; }
.pf-shot { position: relative; margin: 0; }
.pf-shot .proj-bar { height: 24px; }
.pf-hover { position: absolute; inset-inline-end: 10px; bottom: 10px; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; font-size: 12px; font-weight: 800; color: #fff; background: rgba(20, 10, 36, .75); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .3s; }
.pf-hover .ic { width: 13px; height: 13px; }
.pf-card:hover .pf-hover { opacity: 1; transform: none; }
.pf-shot .proj-own { top: 32px; font-size: 11px; padding: 4px 10px; }
.pf-body { padding: 14px 16px 16px; display: grid; gap: 4px; }
.pf-body h3 { font-size: 1.02rem; letter-spacing: -.01em; }
.pf-body p { font-size: 12.5px; color: var(--muted); line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pf-tag { justify-self: start; margin-top: 4px; padding: 3px 9px; border-radius: 999px; font-size: 11px; font-weight: 700; background: var(--lav); color: var(--purple); }
/* slim follow bar */
.pf-follow { padding: 34px 0; background: #fff; border-top: 1px solid var(--line); }
.pf-follow-in { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.pf-follow-in p { display: grid; gap: 2px; }
.pf-follow-in strong { font-size: 1.15rem; }
.pf-follow-in p span { font-size: 14px; color: var(--muted); }
.pf-follow-in ul { display: flex; gap: 10px; flex-wrap: wrap; }
.pf-follow-in a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 16px; border-radius: 999px; font-weight: 700; font-size: 14px; border: 1px solid #E5DAF7; color: var(--text-2); transition: all .25s; }
.pf-follow-in a:hover { background: var(--grad); border-color: transparent; color: #fff; }
.pf-follow-in .ic { width: 18px; height: 18px; }
@media (max-width: 1180px) { .pf-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 1040px) { .pfs-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 760px) { .pf-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } .pfa-head { align-items: flex-start; } }
@media (max-width: 640px) {
  .pfs-media { padding: 20px 52px 0 20px; } .is-rtl .pfs-media { padding: 20px 20px 0 52px; }
  .pfs-phone { inset-inline-end: 14px; border-radius: 18px; padding: 4px; } .pfs-phone img { border-radius: 14px; }
  .pfs-body { padding: 22px 20px; } .pfs-body h3 { font-size: 1.25rem; }
  .pf-body { padding: 10px 12px 12px; } .pf-body p { display: none; } .pf-shot .proj-bar b { display: none; }
  .pf-filters { gap: 6px; } .pf-filter { padding: 6px 12px; font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) { .pf-scroll img { transition: none; } .pf-item.is-in { animation: none; } }

/* ================= home: selected work bento ================= */
.hw .btn .hw-count { display: grid; place-items: center; min-width: 26px; height: 22px; padding: 0 7px; margin-inline-start: 6px; border-radius: 999px; font-size: 12px; background: rgba(255, 255, 255, .22); }
.hw-grid { display: grid; grid-template-columns: 1.35fr 1fr 1fr; grid-template-rows: repeat(2, auto); gap: 20px; }
.hw-card { position: relative; display: flex; flex-direction: column; border-radius: 22px; overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .5s var(--ease), box-shadow .5s, border-color .5s; }
.hw-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: #D9C2FB; }
.hw-big { grid-row: span 2; background: linear-gradient(170deg, #1B0E30 0%, #2A1150 100%); border-color: transparent; color: #fff; }
.hw-shot { position: relative; margin: 0; }
.hw-shot .proj-bar { height: 26px; }
.hw-big .hw-shot { flex: 1; display: flex; flex-direction: column; margin: 22px 22px 0; border-radius: 14px 14px 0 0; overflow: hidden; }
.hw-big .proj-bar { background: #2D1A4A; border-color: rgba(255, 255, 255, .08); }
.hw-big .proj-bar b { color: rgba(255, 255, 255, .6); }
.hw-big .pf-scroll { flex: 1; aspect-ratio: auto; min-height: 320px; }
/* the large card scrolls its page by itself */
.hw-big .pf-scroll img { animation: hwScroll 22s ease-in-out infinite alternate; transition: none; }
@keyframes hwScroll { 0%, 8% { object-position: 50% 0; } 92%, 100% { object-position: 50% 100%; } }
.hw-big:hover .pf-scroll img { animation-play-state: paused; }
.hw-card:not(.hw-big):hover .pf-scroll img { object-position: 50% 100%; transition-duration: 8s; }
.hw-phone { position: absolute; inset-inline-end: 18px; bottom: 18px; width: 23%; padding: 5px; border-radius: 22px; background: #0E0818; box-shadow: 0 24px 50px -18px rgba(0, 0, 0, .7); transition: transform .6s var(--ease); }
.hw-phone img { display: block; width: 100%; height: auto; border-radius: 17px; }
.hw-big:hover .hw-phone { transform: translateY(-8px) rotate(-2deg); }
.hw-body { position: relative; padding: 16px 18px 18px; padding-inline-end: 62px; display: grid; gap: 4px; }
.hw-body h3 { font-size: 1.08rem; letter-spacing: -.01em; }
.hw-big .hw-body { padding: 22px 26px 26px; padding-inline-end: 80px; }
.hw-big .hw-body h3 { font-size: 1.6rem; color: #fff; }
.hw-big .work-cat { color: #E1C2FF; }
.hw-sum { font-size: 14.5px; line-height: 1.6; color: rgba(255, 255, 255, .72); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hw-go { position: absolute; inset-inline-end: 16px; bottom: 16px; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; border: 1px solid #E5DAF7; color: var(--purple); transition: background .3s, color .3s, transform .4s var(--ease); }
.hw-go .ic { width: 16px; height: 16px; }
.hw-big .hw-go { inset-inline-end: 24px; bottom: 24px; width: 46px; height: 46px; border-color: rgba(255, 255, 255, .3); color: #fff; }
.hw-card:hover .hw-go { background: var(--grad); border-color: transparent; color: #fff; transform: rotate(-45deg); }
.is-rtl .hw-card:hover .hw-go { transform: rotate(45deg); }
.hw-shot .proj-own { top: 34px; font-size: 11px; padding: 4px 10px; }
@media (max-width: 1040px) {
  .hw-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hw-big { grid-column: 1 / -1; grid-row: auto; }
  .hw-big .pf-scroll { min-height: 0; aspect-ratio: 16 / 10; }
}
@media (max-width: 640px) {
  .hw-grid { gap: 12px; }
  .hw-big .hw-shot { margin: 14px 14px 0; }
  .hw-phone { width: 26%; inset-inline-end: 10px; bottom: 10px; border-radius: 16px; padding: 3px; } .hw-phone img { border-radius: 13px; }
  .hw-big .hw-body { padding: 18px 18px 20px; padding-inline-end: 66px; } .hw-big .hw-body h3 { font-size: 1.3rem; }
  .hw-body { padding: 12px 12px 14px; padding-inline-end: 12px; } .hw-body h3 { font-size: .98rem; }
  .hw-card:not(.hw-big) .work-cat { display: none; }
  .hw-card:not(.hw-big) .hw-go { display: none; }
  .hw-card:not(.hw-big) .proj-bar b { display: none; }
}
@media (prefers-reduced-motion: reduce) { .hw-big .pf-scroll img { animation: none; } }
@media (min-width: 1041px) {
  .hw-grid { grid-template-rows: repeat(2, 300px); }
  .hw-card:not(.hw-big) .pf-scroll { aspect-ratio: auto; height: 170px; }
  .hw-big .hw-shot { min-height: 0; }
  .hw-big .pf-scroll { min-height: 0; height: 100%; }
}

/* ---------- packages: one-off and monthly groups ---------- */
.pkg-incl { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; padding: 18px 24px; margin-bottom: 40px; border-radius: 18px; background: linear-gradient(160deg, #FBF7FF, #F3EEFF); border: 1px solid #EADAFB; }
.pkg-incl li { display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 600; color: var(--text-2); }
.pkg-incl .ic { color: var(--purple); }
.pkg-incl-h { font-weight: 800 !important; color: var(--text) !important; }
.pkg-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.pkg-group-h { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; font-size: 1.3rem; }
.pkg-group-h span { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--grad); color: #fff; }
.pkg-group-h .ic { width: 19px; height: 19px; }
.pkg-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.pkg-grid-2 .pkg { padding: 26px 22px; }
.pkg-grid-2 .pkg-name { font-size: 1.25rem; }
.pkg-price { display: grid; gap: 2px; }
.pkg-price strong { font-size: 1.02rem; color: var(--purple); }
.pkg-price small { font-size: 12px; font-weight: 700; color: var(--muted); }
.pkg-list li { font-size: 14px; }
@media (max-width: 1180px) { .pkg-groups { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) { .pkg-grid-2 { grid-template-columns: minmax(0, 1fr); } .pkg-incl { padding: 16px 18px; gap: 8px 16px; } }
.pkg-grid-2 .pkg .btn { align-self: stretch; justify-content: space-between; max-width: 100%; min-width: 0; padding-inline-start: 16px; font-size: 14px; white-space: normal; text-align: start; }
.pkg-grid-2 .pkg-price strong { font-size: .98rem; }
.pkg-grid-2 { align-items: stretch; }
.pkg-grid-2 .pkg .btn { margin-top: auto; font-size: 13px; padding-block: 8px; white-space: nowrap; }
.pkg-grid-2 .pkg .btn .btn-arrow { width: 28px; height: 28px; }
/* packages: AI & automation, one wide card */
.pkg-group-ai { grid-column: 1 / -1; }
.pkg-ai { position: relative; overflow: hidden; isolation: isolate; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 28px 40px; padding: 32px 34px; color: #fff; background: radial-gradient(120% 120% at 100% 0%, #4A1D86 0%, #1B0E30 55%, #120A1E 100%); border: 0; box-shadow: var(--shadow-lg); }
.pkg-ai::before { content: ''; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(circle, rgba(193, 139, 250, .22) 1.2px, transparent 1.5px); background-size: 22px 22px; -webkit-mask-image: radial-gradient(60% 80% at 90% 20%, #000, transparent 75%); mask-image: radial-gradient(60% 80% at 90% 20%, #000, transparent 75%); }
.pkg-ai-head { display: grid; gap: 12px; align-content: start; }
.pkg-ai .pkg-name { color: #fff; font-size: 1.6rem; }
.pkg-ai .pkg-for { color: rgba(255, 255, 255, .72); }
.pkg-ai .pkg-for span { color: #fff; }
.pkg-ai .pkg-price { border-color: rgba(255, 255, 255, .14); }
.pkg-ai .pkg-price strong { color: #E1C2FF; }
.pkg-ai .pkg-price small { color: rgba(255, 255, 255, .6); }
.pkg-ai-note { font-size: 14px; line-height: 1.6; color: rgba(255, 255, 255, .7); }
.pkg-ai .btn { justify-self: start; }
.pkg-ai-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 22px; align-content: start; }
.pkg-ai-list li { padding: 14px 16px; border-radius: 14px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); color: rgba(255, 255, 255, .9); }
.pkg-ai-list .ic { color: #E1C2FF; }
@media (max-width: 900px) { .pkg-ai { grid-template-columns: minmax(0, 1fr); padding: 26px 22px; } }
@media (max-width: 560px) { .pkg-ai-list { grid-template-columns: minmax(0, 1fr); } }

/* ================= Packages: animated banner ================= */
.page-hero-pkg { min-height: min(88vh, 820px); background: radial-gradient(110% 90% at 78% 30%, #34125E 0%, #160B27 52%, #0B0714 100%); }
.pk-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.pk-floor { position: absolute; left: -20%; right: -20%; bottom: -10%; height: 62%; background-image: linear-gradient(rgba(193, 139, 250, .22) 1px, transparent 1px), linear-gradient(90deg, rgba(193, 139, 250, .22) 1px, transparent 1px); background-size: 64px 64px; transform: perspective(520px) rotateX(62deg); transform-origin: 50% 100%; -webkit-mask-image: linear-gradient(to top, #000 10%, transparent 85%); mask-image: linear-gradient(to top, #000 10%, transparent 85%); animation: pkFloor 6s linear infinite; }
@keyframes pkFloor { to { background-position: 0 64px, 0 0; } }
.pk-orb { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; }
.pk-orb-1 { width: 460px; height: 460px; inset-inline-end: 4%; top: 6%; background: radial-gradient(circle, #A63AED, transparent 70%); animation: pkOrb 14s ease-in-out infinite; }
.pk-orb-2 { width: 340px; height: 340px; inset-inline-end: 30%; bottom: 0; background: radial-gradient(circle, #5B5BF0, transparent 70%); opacity: .35; animation: pkOrb 18s ease-in-out infinite reverse; }
@keyframes pkOrb { 50% { transform: translate(-40px, 30px) scale(1.1); } }

.pk-viz { position: relative; width: min(100%, 540px); aspect-ratio: 1 / .98; margin-inline: auto; }
.pk-card { position: absolute; width: 54%; padding: 20px 18px 18px; border-radius: 20px; color: #fff; background: linear-gradient(160deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .04)); border: 1px solid rgba(255, 255, 255, .2); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 30px 60px -28px rgba(0, 0, 0, .9); display: flex; flex-direction: column; gap: 8px; }
.pk-card-1 { inset-inline-start: 0; top: 16%; --r: -8deg; transform: rotate(var(--r)); animation: pkCard 7s ease-in-out infinite; }
.pk-card-2 { inset-inline-end: 0; top: 12%; --r: 7deg; transform: rotate(var(--r)); animation: pkCard 7s ease-in-out -3.5s infinite; }
.pk-card-3 { left: 50%; top: 2%; width: 58%; margin-left: -29%; z-index: 2; --r: 0deg; background: linear-gradient(165deg, rgba(166, 58, 237, .55), rgba(60, 20, 110, .55)); border-color: rgba(225, 194, 255, .55); box-shadow: 0 0 0 6px rgba(166, 58, 237, .14), 0 40px 80px -30px rgba(80, 10, 150, .95); animation: pkCard 6s ease-in-out -1.5s infinite; }
@keyframes pkCard { 50% { transform: translateY(-14px) rotate(var(--r)); } }
.pk-badge { position: absolute; top: -12px; inset-inline-end: 16px; padding: 5px 11px; border-radius: 999px; font-size: 11.5px; font-weight: 800; color: #1B0B2E; background: linear-gradient(90deg, #F3E6FF, #D5B5FD); box-shadow: 0 8px 20px -8px rgba(213, 181, 253, .9); }
.pk-ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--grad); box-shadow: 0 10px 22px -10px rgba(166, 58, 237, .9); }
.pk-ic .ic { width: 20px; height: 20px; color: #fff; }
.pk-type { font-size: 11.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #D5B5FD; }
.is-rtl .pk-type { text-transform: none; letter-spacing: 0; }
.pk-name { font-family: var(--font-display); font-size: 1.12rem; line-height: 1.25; }
.pk-card ul { display: grid; gap: 7px; margin: 4px 0 6px; padding: 0; list-style: none; }
.pk-card li { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: rgba(255, 255, 255, .86); min-width: 0; }
.pk-card li span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.pk-card li .ic { flex: none; width: 14px; height: 14px; color: #E1C2FF; }
.pk-quote { align-self: flex-start; margin-top: auto; padding: 7px 12px; border-radius: 10px; font-size: 12px; font-weight: 800; color: #fff; background: rgba(255, 255, 255, .1); border: 1px dashed rgba(225, 194, 255, .5); }
.pk-card-3 .pk-quote { background: rgba(255, 255, 255, .16); border-style: solid; }
.pk-card-1 ul, .pk-card-2 ul { opacity: .75; }

.pk-coin { position: absolute; z-index: 3; top: 0; inset-inline-start: 4%; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-display); font-size: 30px; font-weight: 600; color: #3B1470; background: radial-gradient(circle at 32% 28%, #FFFFFF 0%, #F3E6FF 30%, #C18BFA 100%); box-shadow: 0 0 0 6px rgba(225, 194, 255, .14), 0 18px 40px -12px rgba(166, 58, 237, .9); animation: pkCoin 5s ease-in-out infinite; direction: ltr; }
@keyframes pkCoin { 50% { transform: translateY(-12px) rotateY(180deg); } }
.pk-chip { position: absolute; z-index: 3; bottom: 24%; inset-inline-start: -4%; display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 14px; font-size: 13px; font-weight: 700; white-space: nowrap; color: #fff; background: rgba(20, 10, 36, .72); border: 1px solid rgba(225, 194, 255, .35); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 18px 40px -20px rgba(0, 0, 0, .9); animation: aiFloat 6s ease-in-out -2s infinite; }
.pk-chip .ic { width: 16px; height: 16px; color: #8EF0B8; }

.pk-steps { position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin: 0; padding: 8px; list-style: none; border-radius: 18px; background: rgba(20, 10, 36, .7); border: 1px solid rgba(255, 255, 255, .16); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.pk-steps li { display: flex; align-items: center; gap: 8px; min-width: 0; padding: 8px; border-radius: 12px; font-size: 12px; font-weight: 700; color: rgba(255, 255, 255, .6); animation: pkStep 8s calc(var(--i) * 2s) infinite; }
.pk-steps li span { min-width: 0; line-height: 1.25; overflow-wrap: anywhere; }
.pk-steps i { flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 12px; color: #fff; border: 1px solid rgba(255, 255, 255, .3); }
@keyframes pkStep { 0%, 22% { color: #fff; background: rgba(166, 58, 237, .45); box-shadow: inset 0 0 0 1px rgba(225, 194, 255, .5); } 28%, 100% { color: rgba(255, 255, 255, .6); background: transparent; box-shadow: none; } }

@media (max-width: 1040px) { .page-hero-pkg { min-height: 0; } .pk-viz { width: min(100%, 480px); margin-top: 8px; } }
@media (max-width: 640px) {
  .pk-viz { aspect-ratio: 1 / 1.12; }
  .pk-card { width: 60%; padding: 16px 14px 14px; }
  .pk-card-3 { width: 66%; margin-left: -33%; }
  .pk-card-1 ul, .pk-card-2 ul { display: none; }
  .pk-name { font-size: 1rem; }
  .pk-coin { width: 50px; height: 50px; font-size: 24px; }
  .pk-chip { display: none; }
  .pk-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) { .pk-floor, .pk-orb, .pk-card, .pk-coin, .pk-chip, .pk-steps li { animation: none; } .pk-steps li:first-child { color: #fff; background: rgba(166, 58, 237, .45); } }

/* ================= Inter type tuning (in the style of hgmakine.com) =================
   One family; big headlines in sentence case, heavy and tightly spaced. RTL keeps its own spacing rules. */
h1, h2, h3, h4 { letter-spacing: -.04em; }
.display-xl { letter-spacing: -.05em; }
.hx-big { font-weight: 800; letter-spacing: -.055em; line-height: .98; text-transform: none; font-size: clamp(2.8rem, 5vw, 4.8rem); }
.cine-h1 { font-weight: 800; letter-spacing: -.055em; line-height: .98; text-transform: none; }
.svx-txt h3 { font-weight: 700; letter-spacing: -.03em; text-transform: none; }
.cine-stats .stat strong, .ab-fact strong, .stat strong { font-weight: 800; letter-spacing: -.045em; }
.svx-shot-n, .vd-n { font-weight: 800; letter-spacing: -.05em; }
.svc-tile-n, .svx-n, .faq-group-h span { font-weight: 700; }
.ai-core span { font-weight: 800; letter-spacing: -.03em; }
.pk-coin { font-weight: 800; }
.word-track span { font-weight: 800; letter-spacing: -.02em; }
/* Letter-spacing breaks the joins in Arabic script, so RTL headings and numbers keep normal spacing. */
body.is-rtl :is(h1, h2, h3, h4, .display-xl, .hx-big, .cine-h1, .svx-txt h3, .stat strong, .ab-fact strong, .svx-shot-n, .vd-n, .word-track span) { letter-spacing: 0; }
