/* =====================================================================
   Lamassu NABD — design system
   Brand palette kept from the original site: ink #140609, burgundy #973646,
   stone #F6EDE0, blush #FFEDE6. Type: DM Serif Display + Poppins (EN),
   Noto Naskh Arabic + IBM Plex Sans Arabic (AR).
   ===================================================================== */
:root {
  --ink: #140609;
  --ink-2: #22100f;
  --ink-3: #3a2226;
  --burgundy: #973646;
  --burgundy-deep: #74293a;
  --burgundy-dark: #5a1d2a;
  --rose: #e29aa6;            /* burgundy tint for text on ink (AA) */
  --stone: #f6ede0;
  --cream: #fcf7f1;
  --blush: #ffede6;
  --sand: #ecdfcd;
  --sand-2: #dccab1;
  --text: #140609;
  --muted: #5b4a4c;
  --line: rgba(20, 6, 9, .13);
  --line-light: rgba(255, 237, 230, .16);
  --on-dark: #ffede6;
  --on-dark-muted: rgba(255, 237, 230, .74);

  --f-display: "DM Serif Display", "Noto Naskh Arabic", Georgia, serif;
  --f-body: "Poppins", "IBM Plex Sans Arabic", system-ui, -apple-system, "Segoe UI", sans-serif;

  --container: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
  --sec: clamp(88px, 11vw, 160px);
  --r-sm: 8px;
  --r: 16px;
  --r-lg: 28px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --header-h: 84px;
  --shadow: 0 30px 60px -30px rgba(20, 6, 9, .35);
}
[dir="rtl"] {
  --f-body: "IBM Plex Sans Arabic", "Poppins", system-ui, sans-serif;
}

/* ---------------------------------------------------------------- base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0;
  background: var(--stone);
  color: var(--text);
  font-family: var(--f-body);
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  font-synthesis: none;
}
[dir="rtl"] body { line-height: 1.9; font-size: 1.0625rem; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
p { margin: 0; }
figure { margin: 0; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--burgundy); outline-offset: 3px; border-radius: 6px; }
.section--ink :focus-visible, .footer :focus-visible, .mnav :focus-visible, .cta :focus-visible { outline-color: var(--blush); }
::selection { background: var(--burgundy); color: #fff; }
.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip {
  position: fixed; top: -80px; inset-inline-start: 16px; z-index: 200;
  background: var(--ink); color: var(--blush); padding: 12px 18px; border-radius: 999px; font-weight: 500;
  transition: top .2s;
}
.skip:focus { top: 16px; }

.ic { flex: none; }

/* ---------------------------------------------------------------- type */
h1, h2, h3, h4 { margin: 0; font-family: var(--f-display); font-weight: 400; line-height: 1.08; letter-spacing: -.012em; text-wrap: balance; }
[dir="rtl"] :is(h1, h2, h3, h4, .display, .statement, .h1, .h2, .h3) { font-weight: 700; line-height: 1.4; letter-spacing: 0; }
.h1, .h2, .h3, .h4 { font-family: var(--f-display); font-weight: 400; line-height: 1.12; letter-spacing: -.01em; }
.display { font-family: var(--f-display); font-size: clamp(2.9rem, 7.4vw, 6.6rem); line-height: 1; letter-spacing: -.02em; }
[dir="rtl"] .display { font-size: clamp(2.5rem, 6vw, 5.2rem); line-height: 1.3; }
.h1 { font-size: clamp(2.5rem, 5.6vw, 4.9rem); }
[dir="rtl"] .h1 { font-size: clamp(2.2rem, 4.6vw, 4rem); }
.h2 { font-size: clamp(2rem, 4.1vw, 3.5rem); }
[dir="rtl"] .h2 { font-size: clamp(1.8rem, 3.4vw, 2.9rem); }
.h3 { font-size: clamp(1.3rem, 1.9vw, 1.7rem); line-height: 1.2; }
[dir="rtl"] .h3 { font-size: clamp(1.2rem, 1.7vw, 1.5rem); }
.h4 { font-size: 1.25rem; line-height: 1.25; }
.lead { font-size: clamp(1.05rem, 1.35vw, 1.22rem); color: var(--muted); max-width: 62ch; line-height: 1.75; }
.lead--light { color: var(--on-dark-muted); }
.statement { font-family: var(--f-display); font-size: clamp(1.7rem, 3vw, 2.6rem); line-height: 1.22; text-wrap: pretty; }
[dir="rtl"] .statement { font-size: clamp(1.5rem, 2.5vw, 2.15rem); line-height: 1.6; }
.statement--sm { font-size: clamp(1.35rem, 2.2vw, 1.9rem); line-height: 1.4; color: var(--ink); }
[dir="rtl"] .statement--sm { font-size: clamp(1.25rem, 1.9vw, 1.6rem); line-height: 1.75; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: .78rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
  color: var(--burgundy); margin-bottom: 22px;
}
.eyebrow::before {
  content: ""; width: 10px; height: 10px; flex: none;
  border: 1.5px solid currentColor; transform: rotate(45deg);
}
.eyebrow::after { content: none; }
[dir="rtl"] .eyebrow { letter-spacing: 0; font-size: .95rem; font-weight: 600; }
.eyebrow--light { color: var(--rose); }

/* word split (GSAP) */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-block: .1em; margin-block: -.1em; }
[dir="rtl"] .w { padding-block: .22em; margin-block: -.22em; padding-inline: .04em; margin-inline: -.04em; }
.wi { display: inline-block; will-change: transform; }

/* ---------------------------------------------------------------- layout */
.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.section { padding-block: var(--sec); position: relative; }
.section--tight { padding-block: clamp(48px, 6vw, 96px); }
.section--flush-top { padding-top: 0; }
.section--sand { background: var(--sand); }
.section--ink { background: var(--ink); color: var(--on-dark); }
.section--ink .h2, .section--ink .h3 { color: var(--blush); }
.section-head { margin-bottom: clamp(40px, 5vw, 72px); max-width: 820px; }
.section-head--split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); max-width: none; align-items: end; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.btn-row--center { justify-content: center; margin-top: clamp(48px, 6vw, 72px); }
.btn-col { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; margin-top: 32px; }

/* ---------------------------------------------------------------- buttons */
.btn {
  --bg: var(--burgundy); --fg: #fff; --fill: var(--ink); --fg-hover: #fff;
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 52px; padding: 0 26px; border-radius: 999px;
  background: var(--bg); color: var(--fg);
  font-weight: 500; font-size: .95rem; line-height: 1.2; text-align: center;
  transition: color .45s var(--ease), box-shadow .45s var(--ease);
  cursor: pointer;
}
[dir="rtl"] .btn { font-size: 1rem; }
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: var(--fill); transform: translateY(101%); transition: transform .55s var(--ease);
}
.btn:hover::before, .btn:focus-visible::before { transform: translateY(0); }
.btn:hover, .btn:focus-visible { color: var(--fg-hover); }
.btn .ic { transition: transform .45s var(--ease); }
.btn:hover .ic { transform: translateX(4px); }
[dir="rtl"] .btn .ic, [dir="rtl"] .link-arrow .ic, [dir="rtl"] .svc-row__go .ic { transform: scaleX(-1); }
[dir="rtl"] .btn:hover .ic { transform: scaleX(-1) translateX(4px); }
.btn--ghost { --bg: transparent; --fg: var(--ink); --fill: var(--ink); --fg-hover: var(--stone); box-shadow: inset 0 0 0 1px rgba(20, 6, 9, .4); }
.btn--light { --bg: var(--blush); --fg: var(--ink); --fill: var(--ink); --fg-hover: var(--blush); }
.section--ink .btn--light { --fill: var(--burgundy); --fg-hover: #fff; }
.btn--outline-light { --bg: transparent; --fg: var(--blush); --fill: var(--blush); --fg-hover: var(--ink); box-shadow: inset 0 0 0 1px rgba(255, 237, 230, .45); }
.btn.is-loading { pointer-events: none; opacity: .7; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; color: var(--burgundy); }
.link-arrow .ic { transition: transform .4s var(--ease); }
a:hover .link-arrow .ic, .link-arrow:hover .ic { transform: translateX(4px); }
[dir="rtl"] a:hover .link-arrow .ic, [dir="rtl"] .link-arrow:hover .ic { transform: scaleX(-1) translateX(4px); }

.tag {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 12px; border-radius: 999px;
  background: var(--blush); color: var(--burgundy-deep);
  font-family: var(--f-body); font-size: .78rem; font-weight: 600; letter-spacing: .04em; line-height: 1.3;
  border: 1px solid rgba(151, 54, 70, .18);
}
.tag--lg { margin-top: 28px; font-size: .9rem; padding: 8px 16px; }

/* ---------------------------------------------------------------- progress + intro */
.progress { position: fixed; top: 0; inset-inline: 0; height: 2px; z-index: 120; background: var(--burgundy); transform: scaleX(0); transform-origin: left; pointer-events: none; }
[dir="rtl"] .progress { transform-origin: right; }
.intro { position: fixed; inset: 0; z-index: 150; background: var(--ink); display: grid; place-items: center; }
.intro__mark { width: min(56vw, 340px); }
html:not(.motion) .intro, .intro-seen .intro { display: none; }

/* ---------------------------------------------------------------- header */
.site-header {
  position: fixed; top: 0; inset-inline: 0; z-index: 90; height: var(--header-h);
  display: flex; align-items: center;
  transition: transform .6s var(--ease), background-color .4s, box-shadow .4s, height .4s var(--ease);
}
.site-header.is-scrolled { background: rgba(246, 237, 224, .86); -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4); box-shadow: 0 1px 0 var(--line); height: 72px; }
.site-header.is-hidden { transform: translateY(-105%); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: block; flex: none; }
.brand img { height: 42px; width: auto; }
.nav > ul { display: flex; align-items: center; gap: 2px; }
.nav li { position: relative; }
.nav > ul > li > a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; font-size: .93rem; font-weight: 500; position: relative; }
[dir="rtl"] .nav > ul > li > a { font-size: 1rem; }
.nav > ul > li > a { transition: color .25s; }
.nav > ul > li > a:hover, .nav > ul > li > a[aria-current] { color: var(--burgundy); }
.has-dd { display: flex; align-items: center; }
.has-dd > a { padding-inline-end: 4px !important; }
.dd-toggle { width: 32px; height: 44px; display: grid; place-items: center; border-radius: 8px; }
.dd-toggle .ic { transition: transform .35s var(--ease); }
.has-dd.open .dd-toggle .ic { transform: rotate(180deg); }
.dd {
  position: absolute; top: calc(100% + 8px); inset-inline-start: -12px; min-width: 360px;
  background: var(--cream); border: 1px solid var(--line); border-radius: var(--r); padding: 10px;
  box-shadow: 0 30px 70px -24px rgba(20, 6, 9, .3);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .3s, transform .45s var(--ease), visibility .3s;
}
.dd::before { content: ""; position: absolute; inset-inline: 0; top: -12px; height: 12px; }
.has-dd:hover .dd, .has-dd.open .dd { opacity: 1; visibility: visible; transform: none; }
.dd a { display: flex; gap: 14px; align-items: flex-start; padding: 12px 14px; border-radius: 10px; transition: background-color .25s; }
.dd a:hover, .dd a[aria-current] { background: var(--blush); }
.dd b { display: block; font-weight: 500; font-size: .92rem; line-height: 1.35; }
.dd small { display: block; color: var(--burgundy); font-size: .78rem; font-weight: 600; margin-top: 2px; }
.dd__ic { color: var(--burgundy); margin-top: 2px; }
.header-actions { display: flex; align-items: center; gap: 8px; }
.header-actions .btn { min-height: 46px; padding: 0 20px; font-size: .88rem; }
.lang { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 12px; font-weight: 500; font-size: .92rem; border-radius: 999px; transition: background-color .25s; }
.lang:hover { background: rgba(20, 6, 9, .06); }
.lang--light:hover { background: rgba(255, 237, 230, .1); }
.menu-toggle { display: none; width: 48px; height: 48px; border-radius: 999px; place-items: center; background: var(--ink); color: var(--blush); }

/* mobile nav */
.mnav {
  position: fixed; inset: 0; z-index: 110; background: var(--ink); color: var(--on-dark);
  display: flex; flex-direction: column; overflow-y: auto;
  clip-path: inset(0 0 100% 0); visibility: hidden;
  transition: clip-path .8s var(--ease), visibility 0s .8s;
}
.mnav.open { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .8s var(--ease), visibility 0s; }
.mnav__top { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); flex: none; }
.mnav__top img { height: 38px; width: auto; }
.mnav__close { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 999px; border: 1px solid var(--line-light); }
.mnav__body { padding-block: 24px 40px; display: flex; flex-direction: column; gap: 36px; flex: 1; }
.mnav__main a { display: block; font-family: var(--f-display); font-size: clamp(2.2rem, 9vw, 3.4rem); line-height: 1.25; padding-block: 4px; }
[dir="rtl"] .mnav__main a { font-weight: 700; font-size: clamp(2rem, 8vw, 3rem); line-height: 1.5; }
.mnav__main li { opacity: 0; transform: translateY(30px); transition: opacity .5s, transform .7s var(--ease); }
.mnav.open .mnav__main li { opacity: 1; transform: none; transition-delay: calc(.25s + var(--i) * .06s); }
.mnav__sub { display: grid; gap: 4px; border-top: 1px solid var(--line-light); padding-top: 20px; color: var(--on-dark-muted); }
.mnav__sub a { display: inline-block; padding-block: 8px; }
.mnav__foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; color: var(--on-dark-muted); }

/* ---------------------------------------------------------------- lamassu artwork (brand line art, coloured with CSS mask) */
.lamassu-mask {
  width: 100%; aspect-ratio: 1996 / 1880; background: var(--burgundy);
  -webkit-mask: url("../img/lamassu-line.png") center / contain no-repeat;
  mask: url("../img/lamassu-line.png") center / contain no-repeat;
}

/* ---------------------------------------------------------------- hero */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center;
  padding-top: calc(var(--header-h) + 48px); padding-bottom: 96px; overflow: hidden;
}
.hero__bg, .page-hero__bg {
  position: absolute; inset: 0; z-index: -1;
  background: url("../img/stone-texture.webp?v=2") center / 640px auto repeat;
  opacity: .55;
}
.hero__bg::after, .page-hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 70% 40%, transparent 0%, rgba(246, 237, 224, .6) 70%), linear-gradient(to bottom, transparent 70%, var(--stone));
}
.hero__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(24px, 4vw, 64px); align-items: center; }
.hero__copy { position: relative; z-index: 2; }
.hero__lead { margin-top: 32px; }
.hero__visual { position: relative; aspect-ratio: 1 / 1; display: grid; place-items: center; }
.hero__arch {
  position: absolute; inset: 6% 10% 0; border-radius: 999px 999px 0 0;
  background: linear-gradient(to bottom, var(--sand) 0%, rgba(236, 223, 205, .3) 100%);
  border: 1px solid rgba(151, 54, 70, .15);
  transform-origin: bottom;
}
.hero__arch::before { content: none; }
.hero__flip { position: relative; width: 108%; }
[dir="rtl"] .hero__flip { transform: scaleX(-1); }
.hero__art { filter: drop-shadow(0 20px 30px rgba(151, 54, 70, .15)); }
.hero__scroll {
  position: absolute; bottom: 28px; inset-inline-start: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted);
}
[dir="rtl"] .hero__scroll { transform: translateX(50%); letter-spacing: 0; font-size: .85rem; }
.hero__scroll i { display: none; }
@keyframes drip { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* ---------------------------------------------------------------- marquee */
.marquee { background: var(--ink); color: var(--blush); overflow: hidden; padding-block: 26px; }
.marquee__track { display: flex; width: max-content; }
.marquee__set { display: flex; align-items: center; gap: 44px; padding-inline-end: 44px; font-family: var(--f-display); font-size: clamp(1.4rem, 2.6vw, 2.2rem); white-space: nowrap; }
[dir="rtl"] .marquee__set { font-weight: 700; }
.marquee__set i { width: 12px; height: 12px; border: 1.5px solid var(--rose); transform: rotate(45deg); flex: none; }
html:not(.motion) .marquee__track { animation: marquee 45s linear infinite; }
html[dir="rtl"]:not(.motion) .marquee__track { animation-name: marquee-rtl; }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes marquee-rtl { to { transform: translateX(50%); } }

/* ---------------------------------------------------------------- services list (home) */
.svc-list { border-top: 1px solid var(--line); }
.svc-row { border-bottom: 1px solid var(--line); position: relative; }
.svc-row__link {
  position: relative; display: grid; grid-template-columns: 64px minmax(0, 1.05fr) minmax(0, 1fr) 56px; gap: clamp(16px, 3vw, 40px);
  align-items: center; padding-block: clamp(28px, 3.4vw, 44px); padding-inline: 8px;
}
.svc-row__link::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--blush);
  transform: scaleY(0); transform-origin: bottom; transition: transform .6s var(--ease);
}
.svc-row__link:hover::before, .svc-row__link:focus-visible::before { transform: scaleY(1); }
.svc-row__num { font-family: var(--f-display); color: var(--burgundy); font-size: 1.15rem; }
.svc-row__title { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; transition: transform .6s var(--ease); }
.svc-row__link:hover .svc-row__title { transform: translateX(10px); }
[dir="rtl"] .svc-row__link:hover .svc-row__title { transform: translateX(-10px); }
.svc-row__desc { color: var(--muted); font-size: .98rem; }
.svc-row__go {
  width: 56px; height: 56px; border-radius: 999px; display: grid; place-items: center;
  border: 1px solid var(--line); transition: background-color .45s var(--ease), color .45s, border-color .45s;
}
.svc-row__link:hover .svc-row__go { background: var(--burgundy); color: #fff; border-color: var(--burgundy); }

/* ---------------------------------------------------------------- media */
.media { position: relative; overflow: hidden; border-radius: var(--r-lg); background: var(--sand-2); aspect-ratio: 4 / 3.2; }
.media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.media[data-parallax] img { inset: -9% 0; height: 118%; }
.media--arch { border-radius: 999px 999px var(--r-lg) var(--r-lg); aspect-ratio: 4 / 5; }
.media--tall { aspect-ratio: 4 / 5; }
.media--wide { aspect-ratio: 21 / 9; border-radius: var(--r-lg); }
.media--frame { aspect-ratio: 4 / 3; box-shadow: 0 0 0 1px var(--line-light), 0 40px 80px -40px rgba(0, 0, 0, .6); }
.media--mono img { filter: grayscale(1) contrast(1.05) sepia(.25); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 120px); align-items: center; }
.split--rev .split__media { order: 2; }
.split__media { position: relative; }
.split__copy .lead { margin-top: 28px; }
.split__copy .statement + div, .split__copy .lead + div, .split__copy .chips + div { margin-top: 36px; }
.stamp {
  position: absolute; width: 44%; bottom: -8%; inset-inline-end: -8%;
  background: var(--stone); border-radius: 999px; padding: 9%; border: 1px solid rgba(151, 54, 70, .2);
  aspect-ratio: 1; display: grid; place-items: center; box-shadow: var(--shadow);
}
[dir="rtl"] .stamp .lamassu-mask { transform: scaleX(-1); }

.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.chips li { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line-light); color: var(--blush); font-size: .9rem; }
.chips .ic { color: var(--rose); }

/* ---------------------------------------------------------------- CTA band */
.cta {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--burgundy); color: #fff; border-radius: var(--r-lg);
  padding: clamp(48px, 8vw, 110px) clamp(28px, 7vw, 100px);
  min-height: 420px; display: flex; align-items: center;
}
.cta::before { content: ""; position: absolute; inset: 0; z-index: -2; background: radial-gradient(ellipse at 85% 20%, rgba(255, 237, 230, .14), transparent 55%), linear-gradient(135deg, var(--burgundy) 0%, var(--burgundy-dark) 100%); }
.cta__art { position: absolute; z-index: -1; width: min(52%, 560px); inset-inline-end: -4%; bottom: -10%; opacity: .2; }
.cta__art .lamassu-mask { background: var(--blush); }
[dir="rtl"] .cta__art .lamassu-mask { transform: scaleX(-1); }
.cta__body { max-width: 640px; position: relative; }
.cta .h2 { color: #fff; }
.cta .lead { margin-top: 22px; }
.cta .btn-row, .cta__body > .btn { margin-top: 36px; }

/* ---------------------------------------------------------------- page hero */
.page-hero { position: relative; padding-top: calc(var(--header-h) + clamp(56px, 8vw, 120px)); padding-bottom: clamp(56px, 7vw, 96px); overflow: hidden; }
.page-hero__inner { position: relative; }
.page-hero .h1 { max-width: 16ch; }
[dir="rtl"] .page-hero .h1 { max-width: 20ch; }
.page-hero .lead { margin-top: 28px; }
.page-hero__media-wrap { margin-top: clamp(48px, 6vw, 80px); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; font-size: .85rem; color: var(--muted); margin-bottom: 28px; }
.crumbs li:not(:last-child)::after { content: "/"; margin-inline-start: 6px; opacity: .5; }
.crumbs a:hover { color: var(--burgundy); }

.band { height: clamp(220px, 32vw, 460px); position: relative; overflow: hidden; }
.band__img { position: absolute; inset: 0; }
.band__img img { position: absolute; inset: -12% 0; width: 100%; height: 124%; object-fit: cover; }

/* ---------------------------------------------------------------- brand grid (about) */
.brand-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.brand-card a { position: relative; display: flex; flex-direction: column; gap: 10px; padding: clamp(28px, 3vw, 44px); background: var(--stone); height: 100%; min-height: 240px; transition: background-color .5s var(--ease); }
.brand-card a:hover { background: var(--cream); }
.brand-card__ic { width: 52px; height: 52px; border-radius: 14px; background: var(--blush); color: var(--burgundy); display: grid; place-items: center; margin-bottom: auto; transition: background-color .45s, color .45s; }
.brand-card a:hover .brand-card__ic { background: var(--burgundy); color: #fff; }
.brand-card__name { font-family: var(--f-display); font-size: clamp(1.6rem, 2.4vw, 2.1rem); line-height: 1.1; margin-top: 36px; }
[dir="rtl"] .brand-card__name { font-weight: 700; line-height: 1.4; }
.brand-card__desc { color: var(--muted); font-size: .95rem; }
.brand-card__go { position: absolute; top: 28px; inset-inline-end: 28px; color: var(--burgundy); transition: transform .45s var(--ease); }
[dir="rtl"] .brand-card__go { transform: scaleX(-1); }
.brand-card a:hover .brand-card__go { transform: translate(3px, -3px); }
[dir="rtl"] .brand-card a:hover .brand-card__go { transform: scaleX(-1) translate(3px, -3px); }

/* ---------------------------------------------------------------- steps */
.steps-wrap { position: relative; }
.steps__line { display: none; }
.steps__line i { position: absolute; inset: 0; background: var(--burgundy); transform-origin: left; transform: scaleX(1); }
[dir="rtl"] .steps__line i { transform-origin: right; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.step { position: relative; padding: 76px 28px 36px; border-radius: var(--r-lg); background: var(--stone); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px; min-height: 300px; }
.step__num {
  position: absolute; top: 22px; inset-inline-start: 28px; width: 48px; height: 48px; border-radius: 999px;
  display: grid; place-items: center; background: var(--burgundy); color: #fff; font-family: var(--f-display); font-size: 1.05rem;
}
.step p { color: var(--muted); }

/* ---------------------------------------------------------------- cards (services landing) */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 28px); }
.card a { display: flex; flex-direction: column; height: 100%; background: var(--cream); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.card a:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--sand-2); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.card a:hover .card__media img { transform: scale(1.06); }
.card__body { display: flex; flex-direction: column; gap: 14px; padding: 28px; flex: 1; }
.card__body p { color: var(--muted); font-size: .96rem; }
.card__body .link-arrow { margin-top: auto; padding-top: 8px; }
.card__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.card__ic { width: 46px; height: 46px; border-radius: 12px; background: var(--blush); color: var(--burgundy); display: grid; place-items: center; }

/* ---------------------------------------------------------------- service detail */
.sticky-split { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(40px, 7vw, 120px); align-items: start; }
.sticky-split__aside { position: sticky; top: calc(var(--header-h) + 32px); }
.items { border-top: 1px solid var(--line); }
.item { display: grid; grid-template-columns: 64px 1fr; gap: 20px; padding-block: clamp(28px, 3vw, 40px); border-bottom: 1px solid var(--line); }
.item__num { font-family: var(--f-display); font-size: 1.5rem; color: var(--burgundy); line-height: 1.2; }
.item .h3 { margin-bottom: 12px; }
.item p { color: var(--muted); }
.gallery { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(16px, 2.5vw, 32px); align-items: end; }
.gallery .media--tall { aspect-ratio: 4 / 3; }

/* ---------------------------------------------------------------- zoho */
.apps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.app { background: var(--stone); border: 1px solid var(--line); border-radius: var(--r); padding: 28px; display: flex; flex-direction: column; gap: 12px; transition: transform .5s var(--ease), box-shadow .5s var(--ease), background-color .4s; }
.app:hover { transform: translateY(-4px); box-shadow: var(--shadow); background: var(--cream); }
.app__ic { width: 48px; height: 48px; border-radius: 12px; background: var(--ink); color: var(--blush); display: grid; place-items: center; margin-bottom: 8px; }
.app__name { font-family: var(--f-body); font-weight: 600; font-size: 1.1rem; letter-spacing: 0; }
.app p { color: var(--muted); font-size: .95rem; }
.funcs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); }
.func { display: flex; gap: 18px; padding: 32px 28px 32px 0; border-bottom: 1px solid var(--line); }
[dir="rtl"] .func { padding: 32px 0 32px 28px; }
.func > .ic { color: var(--burgundy); margin-top: 4px; }
.func p { color: var(--muted); margin-top: 8px; font-size: .96rem; }
.deliver { display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(32px, 5vw, 80px); }
.deliver li { display: flex; gap: 24px; align-items: baseline; padding-block: 28px; border-top: 1px solid var(--line-light); }
.deliver__num { font-family: var(--f-display); color: var(--rose); font-size: 1.4rem; flex: none; }
.deliver p { font-size: 1.1rem; color: var(--blush); }
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-block: 26px; cursor: pointer; font-weight: 500; font-size: 1.1rem; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--burgundy); }
.faq__ic { width: 40px; height: 40px; flex: none; border-radius: 999px; border: 1px solid var(--line); display: grid; place-items: center; transition: transform .45s var(--ease), background-color .3s, color .3s; }
.faq__item[open] .faq__ic { transform: rotate(45deg); background: var(--burgundy); color: #fff; border-color: var(--burgundy); }
.faq__a { padding-bottom: 28px; color: var(--muted); max-width: 64ch; overflow: hidden; }

/* ---------------------------------------------------------------- contact */
.contact-grid { display: grid; grid-template-columns: 1.35fr .65fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.contact-card { background: var(--cream); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(28px, 4vw, 52px); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 500; font-size: .92rem; }
.req { color: var(--burgundy); margin-inline-start: 4px; }
.field input, .field textarea, .field select {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--stone); border: 1px solid rgba(20, 6, 9, .18); border-radius: 12px;
  padding: 14px 16px; min-height: 52px; transition: border-color .25s, box-shadow .25s, background-color .25s;
}
[dir="rtl"] .field input[dir="ltr"] { text-align: right; }
.field textarea { resize: vertical; min-height: 140px; }
.field input:hover, .field textarea:hover, .field select:hover { border-color: rgba(20, 6, 9, .35); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--burgundy); box-shadow: 0 0 0 3px rgba(151, 54, 70, .18); background: #fff; }
.field [aria-invalid="true"] { border-color: #b42318; box-shadow: 0 0 0 3px rgba(180, 35, 24, .12); }
.field__err { color: #b42318; font-size: .85rem; min-height: 0; }
.field__err:empty { display: none; }
.select { position: relative; }
.select select { appearance: none; -webkit-appearance: none; padding-inline-end: 44px; cursor: pointer; }
.select .ic { position: absolute; inset-inline-end: 16px; top: 50%; transform: translateY(-50%); pointer-events: none; color: var(--muted); }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 30px; }
.form-note { color: var(--muted); font-size: .85rem; }
.form-status { margin-top: 20px; font-weight: 500; }
.form-status:empty { display: none; }
.form-status.is-ok { color: #1f6b3a; background: #e6f2e9; padding: 14px 18px; border-radius: 12px; }
.form-status.is-err { color: #b42318; background: #fbe9e7; padding: 14px 18px; border-radius: 12px; }
.contact-aside { display: flex; flex-direction: column; gap: 28px; }
.contact-aside .media { aspect-ratio: 4 / 4.4; }
.contact-list { display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; }
.contact-list .ic { color: var(--burgundy); margin-top: 4px; }
.contact-list span { display: block; font-size: .82rem; color: var(--muted); }
.contact-list b, .contact-list a { font-weight: 500; font-size: 1.05rem; }
.contact-list a:hover { color: var(--burgundy); }

/* ---------------------------------------------------------------- footer */
.footer { position: relative; overflow: hidden; isolation: isolate; background: var(--ink); color: var(--on-dark-muted); padding-top: clamp(72px, 9vw, 120px); }
.footer__art { position: absolute; z-index: -1; width: min(60vw, 720px); inset-inline-end: -8%; top: 4%; opacity: .05; }
.footer__art .lamassu-mask { background: var(--blush); }
[dir="rtl"] .footer__art .lamassu-mask { transform: scaleX(-1); }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr 1fr; gap: clamp(32px, 4vw, 64px); }
.footer__brand img { height: 44px; width: auto; margin-bottom: 24px; }
.footer__brand p { max-width: 38ch; margin-bottom: 28px; }
.footer__h { font-family: var(--f-body); font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: var(--rose); font-weight: 500; margin-bottom: 20px; }
[dir="rtl"] .footer__h { letter-spacing: 0; font-size: .95rem; font-weight: 600; line-height: 1.5; }
.footer__h--sm { margin-top: 28px; margin-bottom: 14px; }
.footer ul { display: grid; gap: 10px; }
.footer ul a { transition: color .25s; display: inline-block; padding-block: 2px; }
.footer ul a:hover { color: var(--blush); }
.footer__contact li { display: flex; gap: 10px; align-items: center; }
.footer__contact .ic { color: var(--rose); }
.social { display: flex; gap: 10px; }
.social a { width: 44px; height: 44px; border-radius: 999px; display: grid; place-items: center; border: 1px solid var(--line-light); color: var(--blush); transition: background-color .3s, color .3s, border-color .3s; }
.social a:hover { background: var(--blush); color: var(--ink); border-color: var(--blush); }
.social--dark a { border-color: var(--line); color: var(--ink); }
.social--dark a:hover { background: var(--burgundy); color: #fff; border-color: var(--burgundy); }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: clamp(56px, 7vw, 96px); padding-block: 28px; border-top: 1px solid var(--line-light); font-size: .88rem; }

/* ---------------------------------------------------------------- motion initial states (only when GSAP will run) */
.motion [data-reveal] { opacity: 0; }
.motion [data-split] { visibility: hidden; }
.motion [data-clip] { clip-path: inset(100% 0 0 0); }
.motion .hero__art { clip-path: inset(100% 0 0 0); }
.motion .hero__arch { transform: scaleY(0); }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1140px) {
  .nav, .header-actions > .btn { display: none; }
  .menu-toggle { display: grid; }
  .apps { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { width: min(100%, 520px); margin-inline: auto; order: -1; margin-top: -8px; }
  .hero { min-height: auto; padding-top: calc(var(--header-h) + 16px); }
  .hero__scroll { display: none; }
  .split, .sticky-split, .faq-wrap, .contact-grid, .section-head--split { grid-template-columns: 1fr; }
  .split--rev .split__media { order: 0; }
  .sticky-split__aside { position: static; }
  .svc-row__link { grid-template-columns: 48px 1fr 48px; }
  .svc-row__desc { grid-column: 2 / 3; }
  .svc-row__go { grid-row: 1; grid-column: 3; width: 48px; height: 48px; }
  .cards, .brand-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps__line { display: none; }
  .funcs { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .stamp { inset-inline-end: 4%; }
  .media--arch { max-width: 520px; }
  .split__media .media--arch { margin-inline: auto; }
}
@media (max-width: 640px) {
  :root { --header-h: 72px; }
  .brand img { height: 34px; }
  .header-actions .lang span { display: none; }
  .cards, .brand-grid, .steps, .funcs, .deliver, .apps, .gallery, .form-grid { grid-template-columns: 1fr; }
  .field { grid-column: 1 / -1; }
  .svc-row__link { grid-template-columns: 1fr 44px; gap: 14px; padding-inline: 0; }
  .svc-row__num { grid-column: 1 / -1; font-size: 1rem; }
  .svc-row__title { grid-column: 1; }
  .svc-row__desc { grid-column: 1 / -1; }
  .svc-row__go { grid-column: 2; grid-row: 2; width: 44px; height: 44px; }
  .media--wide { aspect-ratio: 4 / 3; }
  .func { padding-inline: 0 !important; }
  .item { grid-template-columns: 1fr; gap: 8px; }
  .btn-row .btn { flex: 1 1 100%; }
  .cta { min-height: 0; }
  .cta__art { width: 80%; opacity: .12; }
  .footer__grid { grid-template-columns: 1fr; }
  .marquee { padding-block: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .marquee__track { animation: none !important; }
}

/* =====================================================================
   v2 additions: partners, brand H1, 404, blog
   ===================================================================== */
.section-head--center { margin-inline: auto; text-align: center; display: flex; flex-direction: column; align-items: center; }

/* brand pages: the eyebrow lives inside the H1 for SEO */
.h1--brand { display: flex; flex-direction: column; align-items: flex-start; gap: 0; }
.h1--brand .eyebrow { font-family: var(--f-body); line-height: 1.4; }
[dir="rtl"] .h1--brand .eyebrow { font-weight: 600; line-height: 1.6; }
.h1__main { display: block; }

/* partners */
.partners__grid { display: grid; grid-template-columns: repeat(6, 1fr); border-top: 1px solid var(--line); border-inline-start: 1px solid var(--line); }
.partner { display: grid; place-items: center; aspect-ratio: 3 / 2; padding: clamp(16px, 2vw, 28px); border-bottom: 1px solid var(--line); border-inline-end: 1px solid var(--line); transition: background-color .4s var(--ease); }
.partner img { max-height: 58px; max-width: 82%; width: auto; height: auto; object-fit: contain; filter: grayscale(1); opacity: .7; transition: filter .45s var(--ease), opacity .45s, transform .6s var(--ease); }
.partner:hover { background: var(--cream); }
.partner:hover img { filter: none; opacity: 1; transform: scale(1.06); }

/* 404 */
.notfound { min-height: 80svh; display: flex; align-items: center; }
.notfound__art { width: min(240px, 50vw); margin-bottom: 24px; }
.notfound .lead + .lead { margin-top: 12px; }

/* ---------------------------------------------------------------- blog list */
.blog-filter { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: clamp(32px, 4vw, 56px); }
.blog-filter a { display: inline-flex; align-items: center; min-height: 42px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line); font-size: .92rem; font-weight: 500; transition: background-color .3s, color .3s, border-color .3s; }
.blog-filter a:hover { border-color: var(--ink); }
.blog-filter a[aria-current] { background: var(--ink); color: var(--blush); border-color: var(--ink); }
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 3vw, 40px) clamp(20px, 2.4vw, 32px); }
.post-card a { display: flex; flex-direction: column; height: 100%; }
.post-card__media { aspect-ratio: 16 / 10; border-radius: var(--r); overflow: hidden; background: var(--sand-2); margin-bottom: 20px; position: relative; }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.post-card__media--empty { display: grid; place-items: center; background: var(--sand); }
.post-card__media--empty .lamassu-mask { width: 46%; opacity: .5; }
.post-card a:hover .post-card__media img { transform: scale(1.05); }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; font-size: .84rem; color: var(--muted); }
.post-meta .dot { width: 4px; height: 4px; border-radius: 50%; background: currentColor; opacity: .5; }
.post-meta .cat { color: var(--burgundy); font-weight: 600; }
.post-card h2, .post-card h3 { font-size: clamp(1.25rem, 1.7vw, 1.5rem); margin: 12px 0 10px; transition: color .3s; }
[dir="rtl"] .post-card h2, [dir="rtl"] .post-card h3 { font-size: clamp(1.15rem, 1.5vw, 1.35rem); }
.post-card a:hover h2, .post-card a:hover h3 { color: var(--burgundy); }
.post-card p { color: var(--muted); font-size: .95rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post-card .link-arrow { margin-top: auto; padding-top: 16px; }
.post-featured { margin-bottom: clamp(48px, 6vw, 80px); }
.post-featured a { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(28px, 4vw, 64px); align-items: center; }
.post-featured .post-card__media { aspect-ratio: 16 / 11; margin: 0; border-radius: var(--r-lg); }
.post-featured h2 { font-size: clamp(1.7rem, 3vw, 2.6rem); margin: 16px 0; }
[dir="rtl"] .post-featured h2 { font-size: clamp(1.5rem, 2.6vw, 2.2rem); }
.post-featured p { -webkit-line-clamp: 4; font-size: 1.05rem; }
.post-featured .badge { display: inline-flex; padding: 5px 12px; border-radius: 999px; background: var(--burgundy); color: #fff; font-size: .78rem; font-weight: 600; margin-bottom: 14px; }
.blog-empty { text-align: center; padding: 64px 24px; border: 1px dashed var(--sand-2); border-radius: var(--r-lg); color: var(--muted); }
.blog-empty .lamassu-mask { width: 160px; margin: 0 auto 20px; opacity: .6; }
.pagination { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: clamp(48px, 6vw, 72px); padding-top: 28px; border-top: 1px solid var(--line); }
.pagination span { color: var(--muted); font-size: .9rem; }

/* ---------------------------------------------------------------- single post */
.post-hero { padding-bottom: clamp(32px, 4vw, 48px); }
.post-hero .h1 { max-width: 22ch; font-size: clamp(2.2rem, 4.6vw, 4rem); }
[dir="rtl"] .post-hero .h1 { font-size: clamp(1.9rem, 3.8vw, 3.2rem); }
.post-hero .post-meta { margin-top: 28px; font-size: .92rem; }
.post-cover { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 21 / 10; background: var(--sand-2); }
.post-cover img { width: 100%; height: 100%; object-fit: cover; }
.post-layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: clamp(40px, 6vw, 96px); align-items: start; }
.post-aside { position: sticky; top: calc(var(--header-h) + 32px); display: grid; gap: 32px; }
.toc h2, .share h2 { font-family: var(--f-body); font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--burgundy); font-weight: 600; margin-bottom: 14px; }
[dir="rtl"] .toc h2, [dir="rtl"] .share h2 { letter-spacing: 0; font-size: .95rem; }
.toc ol { display: grid; gap: 2px; border-inline-start: 1px solid var(--line); }
.toc a { display: block; padding: 7px 16px; font-size: .9rem; color: var(--muted); border-inline-start: 2px solid transparent; margin-inline-start: -1px; transition: color .25s, border-color .25s; line-height: 1.5; }
.toc a:hover, .toc a.is-active { color: var(--ink); border-inline-start-color: var(--burgundy); }
.toc .lvl-3 a { padding-inline-start: 30px; font-size: .85rem; }
.share__links { display: flex; flex-wrap: wrap; gap: 8px; }
.share__links a, .share__links button { width: 44px; height: 44px; border-radius: 999px; display: grid; place-items: center; border: 1px solid var(--line); transition: background-color .3s, color .3s, border-color .3s; }
.share__links a:hover, .share__links button:hover { background: var(--burgundy); color: #fff; border-color: var(--burgundy); }
.share__status { font-size: .85rem; color: var(--burgundy); margin-top: 8px; min-height: 1.2em; }

.takeaways { background: var(--cream); border: 1px solid var(--line); border-inline-start: 4px solid var(--burgundy); border-radius: var(--r); padding: 26px 30px; margin-bottom: 44px; }
.takeaways h2 { font-family: var(--f-body); font-size: 1rem; font-weight: 600; margin-bottom: 12px; color: var(--burgundy); }
.takeaways ul { display: grid; gap: 10px; }
.takeaways li { display: flex; gap: 12px; align-items: flex-start; }
.takeaways li .ic { color: var(--burgundy); margin-top: 5px; }

.prose { font-size: 1.075rem; line-height: 1.85; color: #2a1a1c; max-width: 72ch; }
[dir="rtl"] .prose { font-size: 1.125rem; line-height: 2; }
.prose > * + * { margin-top: 1.15em; }
.prose h2 { font-size: clamp(1.6rem, 2.4vw, 2.1rem); margin-top: 1.9em; scroll-margin-top: 110px; color: var(--ink); }
.prose h3 { font-size: clamp(1.25rem, 1.8vw, 1.5rem); margin-top: 1.6em; scroll-margin-top: 110px; color: var(--ink); }
[dir="rtl"] .prose h2 { font-size: clamp(1.4rem, 2vw, 1.8rem); }
[dir="rtl"] .prose h3 { font-size: clamp(1.15rem, 1.6vw, 1.35rem); }
.prose h4 { font-family: var(--f-body); font-weight: 600; font-size: 1.1rem; }
.prose a { color: var(--burgundy); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.prose a:hover { text-decoration-thickness: 2px; }
.prose ul, .prose ol { padding-inline-start: 1.4em; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li + li { margin-top: .45em; }
.prose li::marker { color: var(--burgundy); }
.prose blockquote { margin-inline: 0; padding-block: 4px; padding-inline: 24px 0; border-inline-start: 3px solid var(--burgundy); font-family: var(--f-display); font-size: 1.3rem; line-height: 1.5; color: var(--ink); }
[dir="rtl"] .prose blockquote { font-weight: 600; }
.prose img { border-radius: var(--r); margin-block: 1.6em; }
.prose figure figcaption { font-size: .88rem; color: var(--muted); margin-top: 8px; text-align: center; }
.prose hr { border: 0; height: 1px; background: var(--line); margin-block: 2.4em; }
.prose table { width: 100%; border-collapse: collapse; font-size: .95rem; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--line); padding: 10px 14px; text-align: start; }
.prose th { background: var(--sand); font-weight: 600; }
.prose pre { background: var(--ink); color: var(--blush); padding: 18px; border-radius: var(--r-sm); overflow-x: auto; font-size: .9rem; }
.prose .ql-align-center { text-align: center; }
.prose .ql-align-right { text-align: right; }
.prose .ql-align-left { text-align: left; }
.prose .ql-align-justify { text-align: justify; }
.prose .ql-direction-rtl { direction: rtl; }
.prose .ql-indent-1 { padding-inline-start: 2em; }
.prose .ql-indent-2 { padding-inline-start: 4em; }

.post-faq { margin-top: 56px; }
.post-faq > h2 { font-size: clamp(1.6rem, 2.4vw, 2.1rem); margin-bottom: 16px; }
.post-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line); align-items: center; }
.post-tags b { font-weight: 600; margin-inline-end: 6px; font-size: .9rem; }
.post-tags span { padding: 6px 14px; border-radius: 999px; background: var(--sand); font-size: .85rem; }
.author-box { display: flex; gap: 20px; align-items: center; margin-top: 40px; padding: 24px; border-radius: var(--r); background: var(--sand); }
.author-box__mark { width: 64px; height: 64px; flex: none; border-radius: 50%; background: var(--ink); display: grid; place-items: center; }
.author-box__mark .lamassu-mask { width: 44px; background: var(--blush); }
.author-box b { display: block; font-size: 1.05rem; }
.author-box p { color: var(--muted); font-size: .92rem; margin-top: 4px; }
.back-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; color: var(--muted); margin-bottom: 20px; }
.back-link .ic { transform: scaleX(-1); }
[dir="rtl"] .back-link .ic { transform: none; }
.back-link:hover { color: var(--burgundy); }

@media (max-width: 1140px) { .partners__grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 960px) {
  .post-grid { grid-template-columns: repeat(2, 1fr); }
  .post-featured a { grid-template-columns: 1fr; }
  .post-layout { grid-template-columns: 1fr; }
  .post-aside { position: static; }
  .toc { display: none; }
  .partners__grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .post-grid { grid-template-columns: 1fr; }
  .partners__grid { grid-template-columns: repeat(2, 1fr); }
  .post-cover { aspect-ratio: 4 / 3; }
  .pagination { flex-direction: column; }
}

/* =====================================================================
   v3: logo variants + Zoho mega-menu
   ===================================================================== */
.brand__light { display: none; }
.dd--wide { min-width: 560px; padding: 16px; }
[dir="rtl"] .dd--wide { inset-inline-start: auto; inset-inline-end: -120px; }
.dd__label { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; padding: 6px 10px 4px; }
[dir="rtl"] .dd__label { letter-spacing: 0; font-size: .82rem; }
.dd__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; margin-bottom: 8px; }
.dd__grid a { align-items: center; gap: 12px; padding: 9px 10px; font-size: .9rem; font-weight: 500; }
.dd__grid img { width: 28px; height: 28px; object-fit: contain; flex: none; }
.dd__all { display: flex !important; justify-content: space-between; align-items: center; margin-top: 4px; padding: 12px 14px !important; border-top: 1px solid var(--line); border-radius: 0 0 10px 10px !important; color: var(--burgundy); font-weight: 600; font-size: .9rem; }
[dir="rtl"] .dd__all .ic { transform: scaleX(-1); }

/* ---------- v4: Zoho authorized partner badge (home) ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.zoho-badge { display: block; width: 100%; max-width: 400px; margin-top: 32px; border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,.28); transition: transform .3s ease, box-shadow .3s ease; }
.zoho-badge img { display: block; width: 100%; height: auto; border-radius: 12px; }
.zoho-badge:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(0,0,0,.38); }
.zoho-badge:focus-visible { outline: 2px solid var(--blush); outline-offset: 4px; }
@media (prefers-reduced-motion: reduce) { .zoho-badge, .zoho-badge:hover { transition: none; transform: none; } }
.split__media--badge { display: flex; align-items: center; justify-content: center; }
.split__media--badge .zoho-badge { max-width: 560px; margin-top: 0; }

/* ---------- v5: brand brick (burgundy) colour layer over every photo ---------- */
.media, .card__media, .post-card__media, .post-cover { position: relative; isolation: isolate; }
.band__img { isolation: isolate; }
.media::after, .band__img::after, .card__media::after, .post-card__media::after, .post-cover::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; border-radius: inherit;
  background: var(--burgundy); mix-blend-mode: multiply; opacity: .42;
}
.post-card__media--empty::after { content: none; }

/* ---------- v6: tighter gap between partners and the CTA band ---------- */
.partners { padding-bottom: clamp(40px, 5vw, 72px); }
.partners + .section--tight { padding-top: 0; }

/* ---------- v7: contact form spam trap (hidden from people) ---------- */
.hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; opacity: 0; pointer-events: none; }
