@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/v2/fonts/figtree-latin-ext-fd63b3.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/v2/fonts/figtree-latin-7073ac.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/v2/fonts/figtree-latin-ext-fd63b3.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/v2/fonts/figtree-latin-7073ac.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/v2/fonts/figtree-latin-ext-fd63b3.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/v2/fonts/figtree-latin-7073ac.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'IBM Plex Sans Arabic';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/v2/fonts/plexar-arabic-6fbb1d.woff2) format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC7, U+10EC9-10EEE, U+10EF0-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}
@font-face {
  font-family: 'IBM Plex Sans Arabic';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/v2/fonts/plexar-arabic-2bea59.woff2) format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC7, U+10EC9-10EEE, U+10EF0-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}
@font-face {
  font-family: 'IBM Plex Sans Arabic';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/v2/fonts/plexar-arabic-dbd757.woff2) format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC7, U+10EC9-10EEE, U+10EF0-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}
/* Khatib Designs v2: an established consultancy's prospectus.
   Bone-white plates, ink type, one violet accent, one colour ribbon. */

:root {
  --bone: #f8f8fb;
  --white: #ffffff;
  --ink: #141a33;
  --deck: #4a5068;
  --muted: #5d6378;
  --hair: #e4e6ee;
  --violet: #5b4fd6;
  --violet-dark: #4a3fc0;
  --violet-wash: #eeecfc;
  --teal: #8fdcd3;
  --lilac: #cbbdf2;
  --sans: "Figtree", "Segoe UI", system-ui, sans-serif;
  --wrap: 1320px;
  --gut: clamp(16px, 4vw, 56px);
  --s1: clamp(0.875rem, 0.85rem + 0.1vw, 0.9375rem);
  --s2: clamp(1rem, 0.97rem + 0.15vw, 1.0625rem);
  --s3: clamp(1.125rem, 1.05rem + 0.35vw, 1.3125rem);
  --s4: clamp(1.5rem, 1.25rem + 1vw, 2.125rem);
  --s5: clamp(2rem, 1.5rem + 2.2vw, 3.25rem);
  --s6: clamp(2.6rem, 1.6rem + 3.6vw, 4.75rem);
  --ease: cubic-bezier(0.25, 1, 0.5, 1);
  --rise: cubic-bezier(0.165, 0.84, 0.44, 1);
  --shadow: 0 30px 70px rgba(20, 26, 51, 0.13), 0 6px 18px rgba(20, 26, 51, 0.06);
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scrollbar-color: var(--deck) var(--bone); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bone); color: var(--ink); font: 400 var(--s2)/1.62 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
::selection { background: var(--violet); color: var(--white); }
:focus-visible { outline: 2px solid var(--violet); outline-offset: 3px; border-radius: 4px; }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bone); }
::-webkit-scrollbar-thumb { background: #b9bccb; border-radius: 10px; border: 2px solid var(--bone); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -0.025em; line-height: 1.08; text-wrap: balance; }
p { margin: 0 0 1em; max-width: 64ch; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gut); }
.num { font-variant-numeric: tabular-nums; }
.skip { position: absolute; left: 16px; top: 12px; z-index: 60; background: var(--ink); color: var(--white); padding: 10px 14px; border-radius: 8px; clip-path: inset(50%); }
.skip:focus { clip-path: none; }

/* ---------- Header ---------- */
.bar { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 40; background: rgba(255, 255, 255, 0.92); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--hair); }
.bar__in { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); height: 76px; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; font-size: 1.125rem; letter-spacing: -0.015em; white-space: nowrap; }
.brand img { height: 34px; width: auto; }
.nav { display: flex; gap: 28px; font-size: var(--s1); font-weight: 500; margin-left: 20px; }
.nav a { text-decoration: none; padding: 6px 0; border-bottom: 1.5px solid transparent; transition: border-color 0.3s var(--ease), color 0.3s var(--ease); }
.nav a:hover { color: var(--violet); }
.nav a[aria-current="page"] { border-bottom-color: var(--violet); }
.bar__end { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.menu-btn { display: none; }

/* Language picker */
.lang { position: relative; font-size: var(--s1); }
.lang summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; padding: 8px 10px; border-radius: 8px; color: var(--deck); font-weight: 500; }
.lang summary::-webkit-details-marker { display: none; }
.lang summary:hover { background: var(--bone); color: var(--ink); }
.lang summary svg { width: 16px; height: 16px; }
.lang ul { position: absolute; right: 0; top: calc(100% + 8px); margin: 0; padding: 6px; list-style: none; background: var(--white); border: 1px solid var(--hair); border-radius: 12px; box-shadow: 0 10px 24px rgba(20, 26, 51, 0.1); min-width: 190px; }
.lang li a { display: flex; justify-content: space-between; gap: 12px; padding: 9px 12px; border-radius: 8px; text-decoration: none; }
.lang li a:hover { background: var(--violet-wash); }
.lang li a[aria-current="true"] { font-weight: 600; }
.lang li small { color: var(--muted); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 14px 22px; border-radius: 8px; font: 600 var(--s1)/1 var(--sans); text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease); }
.btn svg { width: 16px; height: 16px; transition: transform 0.3s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }
.btn--ink { background: var(--ink); color: var(--white); }
.btn--ink:hover { background: var(--violet); }
.btn--line { background: var(--white); color: var(--ink); border-color: var(--ink); }
.btn--line:hover { border-color: var(--violet); color: var(--violet); }
.btn--violet { background: var(--violet); color: var(--white); }
.btn--violet:hover { background: var(--violet-dark); }
.btn--sm { min-height: 42px; padding: 11px 16px; }
.btn[aria-disabled="true"] { opacity: 0.5; pointer-events: none; }
.link { font-weight: 600; text-decoration: none; display: inline-flex; gap: 6px; align-items: center; color: var(--violet); }
.link svg { width: 16px; height: 16px; transition: transform 0.3s var(--ease); }
.link:hover svg { transform: translateX(3px); }

/* ---------- Hero ---------- */
.hero { overflow: visible clip; max-width: var(--wrap); margin: 0 auto; padding: clamp(48px, 6vw, 88px) var(--gut) clamp(40px, 4vw, 56px); display: grid; grid-template-columns: 1.2fr 0.8fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero h1 { font-size: clamp(2.6rem, 1.5rem + 3.2vw, 4.25rem); line-height: 1.04; letter-spacing: -0.03em; max-width: 15ch; }
.hero h1 span { color: var(--violet); }
.hero .deck { font-size: var(--s3); color: var(--deck); max-width: 42ch; margin: 26px 0 0; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.visual { position: relative; min-height: clamp(420px, 40vw, 560px); }
.ribbon { position: absolute; z-index: 0; pointer-events: none; overflow: visible; }
.visual .ribbon { left: -22%; top: -6%; width: 118%; height: 112%; }
.photo-card { position: relative; z-index: 1; margin: 0; border-radius: 20px; overflow: hidden; background: var(--white); box-shadow: var(--shadow); }
.photo-card img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 18%; }
.visual .photo-card { position: absolute; right: 0; top: 2%; width: 78%; }
.tag { position: absolute; z-index: 2; left: 0; bottom: 8%; background: var(--white); border-radius: 12px; padding: 14px 18px; box-shadow: var(--shadow); font-size: var(--s1); line-height: 1.4; }
.tag b { display: block; font-size: var(--s2); font-weight: 600; }
.tag span { color: var(--deck); }

/* Clients strip */
.clients { border-top: 1px solid var(--hair); }
.clients .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 44px; padding-block: 22px; color: #5d6378; font-weight: 600; font-size: var(--s3); letter-spacing: -0.01em; }
.clients small { font-weight: 400; font-size: var(--s1); color: var(--deck); letter-spacing: 0; }

/* ---------- Sections ---------- */
.section { padding-block: clamp(64px, 9vw, 128px); }
.section--white { background: var(--white); border-block: 1px solid var(--hair); }
.head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px clamp(24px, 5vw, 72px); align-items: end; margin-bottom: clamp(36px, 5vw, 60px); }
.head h2 { font-size: var(--s5); }
.head p { color: var(--deck); font-size: var(--s3); margin: 0; }

/* Practices: three editorial rows, not cards */
.practices { border-top: 1px solid var(--ink); }
.practice { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.3fr) minmax(0, 1fr); gap: 24px clamp(24px, 4vw, 56px); padding-block: clamp(28px, 3.4vw, 44px); border-bottom: 1px solid var(--hair); align-items: start; }
.practice h3 { font-size: var(--s4); }
.practice p { color: var(--deck); margin: 0 0 16px; }
.practice ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: var(--s1); }
.practice li { display: flex; gap: 10px; align-items: baseline; }
.practice li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--violet); flex: none; transform: translateY(-2px); }

/* Speaker band */
.speaker { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.speaker .photo-card img { aspect-ratio: 5 / 4; }
.speaker .photo-card--tall { max-width: 440px; justify-self: center; width: 100%; }
.speaker .photo-card--tall img { aspect-ratio: 4 / 5; object-position: 50% 16%; }
.speaker h2 { font-size: var(--s5); }
.speaker > div > p { color: var(--deck); font-size: var(--s3); margin-top: 20px; }
.topics { list-style: none; padding: 0; margin: 24px 0 0; border-top: 1px solid var(--hair); }
.topics li { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--hair); font-weight: 500; }
.topics li span { color: var(--muted); font-weight: 400; font-size: var(--s1); }

/* Placeholder for assets Nader will supply */
.placeholder { display: grid; place-items: center; text-align: center; padding: 24px; background: var(--violet-wash); color: var(--violet-dark); border: 1.5px dashed #a9a0ef; border-radius: 20px; font-weight: 500; font-size: var(--s1); line-height: 1.45; }
.speaker .placeholder { aspect-ratio: 5 / 4; }

/* Work */
.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 72px); align-items: center; background: var(--white); border: 1px solid var(--hair); border-radius: 20px; padding: clamp(24px, 4vw, 56px); }
.feature h3, .feature__title { font-size: var(--s4); margin: 10px 0 14px; }
.feature p { color: var(--deck); }
.meta { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: var(--s1); color: var(--muted); margin: 6px 0 14px; }
.meta b { color: var(--ink); font-weight: 600; }
.diagram { display: block; width: 100%; max-width: 760px; height: auto; margin-inline: auto; }
.cases { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 24px; }
.case { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr); gap: 20px; background: var(--white); border: 1px solid var(--hair); border-radius: 20px; padding: 24px; text-decoration: none; transition: border-color 0.3s var(--ease), transform 0.4s var(--rise), box-shadow 0.4s var(--rise); }
.case:hover { border-color: transparent; transform: translateY(-3px); box-shadow: var(--shadow); }
.case h3 { font-size: var(--s3); margin: 8px 0 8px; }
.case p { color: var(--deck); font-size: var(--s1); margin: 0; }
.case .shots { display: flex; gap: 8px; align-self: end; }
.case .shots img { width: 50%; border-radius: 12px; border: 1px solid var(--hair); }

/* Engagements */
.engage { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.engage > div { padding: 24px 22px 8px 0; }
.engage > div + div { padding-inline-start: 22px; border-inline-start: 1px solid var(--hair); }
.engage h3 { font-size: var(--s3); margin-bottom: 8px; }
.engage p { color: var(--deck); font-size: var(--s1); }
.engage .when { display: block; font-size: var(--s1); font-weight: 600; color: var(--violet); margin: -2px 0 10px; font-variant-numeric: tabular-nums; }
.note { margin-top: 26px; color: var(--deck); font-size: var(--s1); }

/* Products */
.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(24px, 4vw, 48px); border-top: 1px solid var(--hair); }
.product { display: flex; gap: 14px; align-items: flex-start; padding: 20px 0; border-bottom: 1px solid var(--hair); text-decoration: none; }
.product img, .product .mono { width: 48px; height: 48px; border-radius: 12px; flex: none; border: 1px solid var(--hair); }
.product .mono { display: grid; place-items: center; background: var(--ink); color: var(--white); font-weight: 600; }
.product b { display: block; font-weight: 600; }
.product span { color: var(--deck); font-size: var(--s1); }
.product:hover b { color: var(--violet); }

/* Insights */
.articles { border-top: 1px solid var(--ink); }
a.article { display: grid; grid-template-columns: 160px minmax(0, 1fr) auto; gap: 16px 32px; padding: 22px 0; border-bottom: 1px solid var(--hair); text-decoration: none; align-items: baseline; }
a.article small { color: var(--muted); font-size: var(--s1); }
a.article b { font-size: var(--s3); font-weight: 600; letter-spacing: -0.01em; }
a.article span { color: var(--violet); font-weight: 600; font-size: var(--s1); white-space: nowrap; }
a.article:hover b { color: var(--violet); }

/* Testimonials */
.quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.quotes--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.quotes--one { grid-template-columns: minmax(0, 760px); }
.speaker--text { grid-template-columns: minmax(0, 820px); }
.after { margin-top: clamp(28px, 4vw, 44px); color: var(--deck); font-size: var(--s3); max-width: 70ch; }
.quote { margin: 0; background: var(--white); border: 1px solid var(--hair); border-radius: 20px; padding: 28px; }
.quote blockquote { margin: 0 0 18px; font-size: var(--s3); line-height: 1.5; color: var(--ink); }
.quote figcaption { color: var(--muted); font-size: var(--s1); }
.quote figcaption b { color: var(--ink); font-weight: 600; }
.pending { display: inline-block; font-size: 12px; font-weight: 600; color: var(--violet-dark); background: var(--violet-wash); border-radius: 999px; padding: 4px 10px; margin-bottom: 14px; }

/* Closing plate */
.closing { position: relative; overflow: hidden; background: var(--white); border: 1px solid var(--hair); border-radius: 28px; padding: clamp(36px, 6vw, 80px); display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: 32px; align-items: end; }
.closing .ribbon { right: -6%; top: -20%; width: 55%; height: 140%; opacity: 0.9; }
.closing > *:not(.ribbon) { position: relative; z-index: 1; }
.closing h2 { font-size: var(--s5); max-width: 16ch; }
.closing p { color: var(--deck); font-size: var(--s3); margin-top: 18px; }
.contact-lines { display: grid; gap: 6px; font-size: var(--s2); justify-items: start; }
.contact-lines a { text-decoration: none; border-bottom: 1px solid var(--hair); }
.contact-lines a:hover { color: var(--violet); border-color: var(--violet); }

/* Footer */
.foot { border-top: 1px solid var(--hair); background: var(--white); margin-top: clamp(64px, 9vw, 120px); }
.foot__in { max-width: var(--wrap); margin: 0 auto; padding: 48px var(--gut) 32px; display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; font-size: var(--s1); }
.foot h3 { font-size: var(--s1); font-weight: 600; margin-bottom: 12px; letter-spacing: 0; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot a { text-decoration: none; color: var(--deck); }
.foot a:hover { color: var(--violet); }
.foot p { color: var(--deck); margin: 12px 0 0; }
.foot__legal { max-width: var(--wrap); margin: 0 auto; padding: 18px var(--gut) 28px; border-top: 1px solid var(--hair); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: var(--s1); color: var(--muted); }

/* ---------- Inner pages ---------- */
.page-head { max-width: var(--wrap); margin: 0 auto; padding: clamp(48px, 7vw, 96px) var(--gut) clamp(32px, 4vw, 48px); display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: 32px clamp(32px, 6vw, 88px); align-items: end; position: relative; }
.page-head h1 { font-size: var(--s6); line-height: 1.04; letter-spacing: -0.03em; }
.page-head h1 span { color: var(--violet); }
.h-page { font-size: var(--s6); line-height: 1.04; letter-spacing: -0.03em; margin-bottom: 20px; }
.more-link { margin: 28px 0 0; }
.page-head .deck { font-size: var(--s3); color: var(--deck); margin: 0; }
.breadcrumb { font-size: var(--s1); color: var(--muted); margin-bottom: 16px; }
.breadcrumb a { color: var(--deck); }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-block: 1px solid var(--hair); }
.facts div { padding-block: 18px; padding-inline: 0 18px; }
.facts div + div { padding-inline-start: 18px; border-inline-start: 1px solid var(--hair); }
.facts span { display: block; font-size: var(--s1); color: var(--muted); }
.facts b { font-size: var(--s3); font-weight: 600; }
.prose { max-width: 70ch; }
.wrap.prose { max-width: var(--wrap); }
.wrap.prose > * { max-width: 70ch; }
.prose h2 { font-size: var(--s4); margin: 48px 0 14px; }
.prose p, .prose li { color: var(--deck); }
.timeline { border-top: 1px solid var(--ink); }
.timeline div { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 24px; padding: 16px 0; border-bottom: 1px solid var(--hair); }
.timeline b { font-variant-numeric: tabular-nums; font-weight: 600; }
.timeline span { color: var(--deck); }
.qa { border-top: 1px solid var(--ink); }
.qa details { border-bottom: 1px solid var(--hair); }
.qa summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; padding: 20px 0; font-weight: 600; font-size: var(--s3); }
.qa summary::-webkit-details-marker { display: none; }
.qa summary svg { width: 22px; height: 22px; flex: none; color: var(--violet); transition: transform 0.3s var(--ease); }
.qa details[open] summary svg { transform: rotate(45deg); }
.qa details p { color: var(--deck); padding-bottom: 18px; }

/* Form */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.field { display: grid; gap: 6px; }
.field--wide { grid-column: 1 / -1; }
.field label { font-size: var(--s1); font-weight: 600; }
.field label small { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { font: 400 var(--s2)/1.4 var(--sans); color: var(--ink); background: var(--white); border: 1px solid #cfd2de; border-radius: 10px; padding: 12px 14px; min-height: 50px; width: 100%; caret-color: var(--violet); transition: border-color 0.2s, box-shadow 0.2s; }
.field textarea { min-height: 140px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #666c80; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 4px var(--violet-wash); }
.field .err { display: none; color: #b42318; font-size: var(--s1); }
.field[data-invalid] input, .field[data-invalid] textarea, .field[data-invalid] select { border-color: #b42318; box-shadow: 0 0 0 4px #fde8e6; }
.field[data-invalid] .err { display: block; }
.form__end { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.form__ok { display: none; margin-top: 18px; padding: 16px 18px; border-radius: 12px; background: var(--violet-wash); color: var(--ink); }
.form.is-sent + .form__ok { display: block; }

/* ---------- Motion: one entrance, from a visible default ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .hero .photo-card { animation: card-in 0.9s 0.1s var(--rise) both; }
  .js .hero .tag { animation: card-in 0.9s 0.35s var(--rise) both; }
  .js .ribbon path.ribbon__band { stroke-dasharray: 1600; animation: draw 1.6s 0.05s var(--rise) both; }
  @keyframes card-in { from { transform: translateY(24px); opacity: 0.001; } to { transform: none; opacity: 1; } }
  @keyframes draw { from { stroke-dashoffset: 1600; } to { stroke-dashoffset: 0; } }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .engage { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .engage > div:nth-child(3) { padding-inline-start: 0; border-inline-start: 0; }
  .engage > div:nth-child(n+3) { border-top: 1px solid var(--hair); }
  .products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot__in { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; gap: 0; margin: 0; padding: 8px var(--gut) 18px; background: var(--white); border-bottom: 1px solid var(--hair); }
  .bar.is-open .nav { display: flex; }
  .nav a { padding: 14px 0; font-size: var(--s2); border-bottom: 1px solid var(--hair); }
  .bar__end .btn { display: none; }
  .menu-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--hair); background: var(--white); color: var(--ink); cursor: pointer; }
  .menu-btn svg { width: 20px; height: 20px; }
  .hero { grid-template-columns: 1fr; }
  .visual { min-height: 0; }
  .visual .photo-card { position: relative; width: 82%; margin-inline-start: auto; top: 0; }
  .visual .ribbon { left: -30%; top: 0; width: 140%; height: 100%; }
  .tag { bottom: 10%; }
  .head, .practice, .speaker, .feature, .closing, .page-head { grid-template-columns: 1fr; }
  .cases { grid-template-columns: 1fr; }
  .quotes { grid-template-columns: 1fr; }
  a.article { grid-template-columns: 1fr; gap: 4px; }
  .facts { grid-template-columns: 1fr 1fr; }
  .facts div:nth-child(3) { padding-inline-start: 0; border-inline-start: 0; }
  .facts div:nth-child(n+3) { border-top: 1px solid var(--hair); }
  .form { grid-template-columns: 1fr; }
  .closing .ribbon { width: 120%; right: -40%; top: -10%; height: 70%; opacity: 0.5; }
}
@media (max-width: 560px) {
  .engage, .products { grid-template-columns: 1fr; }
  .engage > div, .engage > div + div { padding: 20px 0 6px; border-inline-start: 0; }
  .engage > div + div { border-top: 1px solid var(--hair); }
  .case { grid-template-columns: 1fr; }
  .case .shots img { width: 40%; }
  .foot__in { grid-template-columns: 1fr; }
  .timeline div { grid-template-columns: 70px minmax(0, 1fr); gap: 14px; }
  .lang ul { right: -60px; }
}

/* ---------- v2 production additions ---------- */
.section--tight { padding-block: 8px clamp(56px, 7vw, 96px); }
/* blog index */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 28px; }
.filters button { font: inherit; font-size: var(--s1); font-weight: 500; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--hair); background: var(--white); color: var(--deck); cursor: pointer; min-height: 40px; }
.filters button:hover { border-color: var(--violet); color: var(--violet); }
.filters button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--white); }
.filters small { opacity: .7; margin-inline-start: 4px; }
.post-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.post-list li[hidden] { display: none; }
.post-list a { display: grid; grid-template-columns: 140px minmax(0, 1fr) 150px; gap: 6px clamp(20px, 3vw, 40px); padding: 22px 0; border-bottom: 1px solid var(--hair); text-decoration: none; align-items: baseline; }
.post-list a:hover b { color: var(--violet); }
.post-list b { font-size: var(--s3); font-weight: 600; letter-spacing: -0.01em; line-height: 1.3; grid-column: 2; transition: color .2s var(--ease); }
.post-row__cat { grid-column: 1; grid-row: 1 / span 2; font-size: var(--s1); color: var(--violet-dark); font-weight: 500; }
.post-row__desc { grid-column: 2; color: var(--deck); font-size: var(--s1); line-height: 1.55; }
.post-list time { grid-column: 3; grid-row: 1; text-align: end; color: var(--muted); font-size: var(--s1); }
@media (max-width: 760px) {
  .post-list a { grid-template-columns: 1fr; }
  .post-row__cat, .post-list b, .post-row__desc, .post-list time { grid-column: 1; grid-row: auto; text-align: start; }
}
/* article */
.post { padding: clamp(28px, 5vw, 64px) var(--gut) clamp(56px, 7vw, 96px); }
.post .article { max-width: 760px; margin: 0 auto; }
.post .breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: var(--s1); color: var(--muted); margin-bottom: 28px; }
.post .breadcrumb a { color: var(--deck); text-decoration: none; }
.post .breadcrumb a:hover { color: var(--violet); }
.post .breadcrumb span:last-child { color: var(--muted); }
.post .eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: var(--s1); font-weight: 500; color: var(--violet-dark); margin-bottom: 14px; }
.post .eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--violet); }
.post .article-head h1 { font-size: clamp(2.1rem, 1.4rem + 2.6vw, 3.5rem); line-height: 1.06; letter-spacing: -0.03em; }
.post .article-meta { color: var(--muted); font-size: var(--s1); margin: 16px 0 28px; }
.post .article-hero { width: 100%; height: auto; border-radius: 20px; margin: 0 0 32px; display: block; }
.post .article-body { font-size: 1.125rem; line-height: 1.7; color: var(--ink); }
.post .article-body > * + * { margin-top: 1.1em; }
.post .article-lead { font-size: var(--s3); line-height: 1.55; color: var(--deck); }
.post .article-body h2 { font-size: var(--s4); margin-top: 1.8em; line-height: 1.15; }
.post .article-body h3 { font-size: var(--s3); margin-top: 1.5em; }
.post .article-body p, .post .article-body li { color: #2b3150; }
.post .article-body ul, .post .article-body ol { padding-inline-start: 1.3em; }
.post .article-body li + li { margin-top: .45em; }
.post .article-body a { color: var(--violet-dark); text-underline-offset: 3px; }
.post .article-body strong { color: var(--ink); font-weight: 600; }
.post .article-faq { margin-top: clamp(40px, 6vw, 64px); padding-top: 32px; border-top: 1px solid var(--ink); }
.post .article-faq h2 { font-size: var(--s4); margin-bottom: 8px; }
.post .faq-item { padding: 20px 0; border-bottom: 1px solid var(--hair); }
.post .faq-item h3 { font-size: var(--s3); margin-bottom: 8px; line-height: 1.3; }
.post .faq-item p { margin: 0; color: var(--deck); }
.related .head { margin-bottom: 24px; }
.rel-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.rel { display: flex; flex-direction: column; gap: 8px; padding: 22px; background: var(--white); border: 1px solid var(--hair); border-radius: 20px; text-decoration: none; transition: border-color .2s var(--ease); }
.rel:hover { border-color: var(--violet); }
.rel__cat { font-size: 12px; font-weight: 600; color: var(--violet-dark); }
.rel b { font-size: var(--s2); line-height: 1.3; }
.rel > span:last-child { color: var(--deck); font-size: var(--s1); line-height: 1.5; }
@media (max-width: 1000px) { .rel-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .rel-grid { grid-template-columns: 1fr; } }
/* six-item nav needs the menu earlier */
@media (max-width: 1140px) and (min-width: 901px) {
  .nav { gap: 20px; margin-left: 8px; }
  .bar__in { gap: 18px; }
}
@media (max-width: 1040px) {
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; gap: 0; margin: 0; padding: 8px var(--gut) 18px; background: var(--white); border-bottom: 1px solid var(--hair); }
  .bar.is-open .nav { display: flex; }
  .nav a { padding: 14px 0; font-size: var(--s2); border-bottom: 1px solid var(--hair); }
  .menu-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--hair); background: var(--white); color: var(--ink); cursor: pointer; }
  .menu-btn svg { width: 20px; height: 20px; }
}
/* Arabic */
[dir="rtl"] body, html[dir="rtl"] { font-family: "IBM Plex Sans Arabic", var(--sans); }
html[lang="ar"] body { font-family: "IBM Plex Sans Arabic", "Figtree", system-ui, sans-serif; letter-spacing: 0; }
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3, html[lang="ar"] h4 { letter-spacing: 0; line-height: 1.3; }
[dir="rtl"] .nav { margin-left: 0; margin-right: 20px; }
[dir="rtl"] .bar__end { margin-left: 0; margin-right: auto; }
[dir="rtl"] .lang ul { right: auto; left: 0; }
[dir="rtl"] .link svg, [dir="rtl"] .btn svg { transform: scaleX(-1); }
[dir="rtl"] .visual .photo-card { right: auto; left: 0; }
[dir="rtl"] .ribbon { transform: scaleX(-1); }
[dir="rtl"] .post-list time { text-align: start; }

.form-error { color: #b42318; font-size: var(--s1); margin: 0; }
[dir="rtl"] .tag { left: auto; right: 0; }
[dir="rtl"] .closing .ribbon { right: auto; left: -6%; }
[dir="rtl"] .skip { left: auto; right: 16px; }
@media (max-width: 1140px) and (min-width: 901px) { [dir="rtl"] .nav { margin-left: 0; margin-right: 8px; } }
@media (max-width: 560px) { [dir="rtl"] .lang ul { left: -60px; right: auto; } }
.hp, .sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
/* currency switcher */
.pricebar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; }
.pricebar .note { margin: 0; }
.cur { display: inline-flex; align-items: center; gap: 10px; font-size: var(--s1); color: var(--deck); }
.cur[hidden] { display: none; }
.cur select { font: inherit; color: var(--ink); background: var(--white); border: 1px solid var(--hair); border-radius: 8px; padding: 8px 32px 8px 12px; min-height: 40px; cursor: pointer; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23141a33' stroke-width='1.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-size: 16px; background-position: right 10px center; }
[dir="rtl"] .cur select { padding: 8px 12px 8px 32px; background-position: left 10px center; }
.cur select:hover { border-color: var(--violet); }
.head .cur { margin-top: 14px; }
span.money.money { display: inline; white-space: nowrap; font-size: inherit; font-weight: inherit; color: inherit; letter-spacing: inherit; margin: 0; padding: 0; border: 0; }
.facts b span { display: inline; font-size: inherit; color: inherit; }
