/* ACC — Advanced Computing Company. Consulting-firm system (v3): white and light-grey surfaces, ink bands,
   one maroon accent, one sans family, square corners. No decorative shapes: the brand shows through the logo,
   the accent, photography and type. Only squares: the logo dot and the small eyebrow markers. */

:root {
  /* v5: three tints of the brand: white, warm sand, deep wine; maroon as accent and one band per page */
  --bg: #ffffff;
  --surface: #f3ede4;        /* sand */
  --paper: #ffffff;          /* cards on sand bands */
  --text: #1c1414;
  --muted: #5b504c;          /* 7.0:1 on white, 6.1:1 on sand */
  --line: #e2d8cb;
  --accent: #8a1538;         /* buttons, square motif */
  --accent-text: #ffffff;
  --accent-ink: #8a1538;     /* maroon used as text (labels, numbers, links) */
  --accent-hover: #6f0f2c;
  --brand: #8a1538;          /* maroon: stays in both themes */
  --night: #4a0d20;
  --night-text: #f5f5f5;
  --night-muted: #b4b4b4;
  --ink: #4a0d20;            /* deep wine: hero and dark bands (white text 13.6:1) */
  --ink-rgb: 74 13 32;
  --ink-2: #24070f;          /* footer: near-black wine */
  --shade: rgb(74 13 32 / .6);
  --head-bg: rgb(255 255 255 / .97);

  --font-heading: "Figtree", "Helvetica Neue", Arial, system-ui, sans-serif;
  --font-body: "Figtree", "Helvetica Neue", Arial, system-ui, sans-serif;
  --font-arabic: "IBM Plex Sans Arabic", "Noto Sans Arabic", "Geeza Pro", "Segoe UI", Tahoma, "Noto Naskh Arabic", sans-serif;

  --step-hero: clamp(2.6rem, 1.5rem + 3.8vw, 5rem);       /* 42 → 80px */
  --step-display: clamp(2.5rem, 1.2rem + 4.6vw, 5.75rem); /* statements, ~85px at 1440 */
  --step-1: clamp(2.1rem, 1.25rem + 2.6vw, 3.875rem);     /* section headings 34 → 58px */
  --step-2: clamp(1.375rem, 1.15rem + .6vw, 1.75rem);
  --step-lede: clamp(1.1875rem, 1rem + .45vw, 1.375rem);  /* ~22px */
  --step-0: 1.125rem;                                     /* body 18px */
  --step-small: 1rem;
  --tracking-tight: -0.02em;

  --radius: 0px;
  --radius-lg: 2px;
  --container: 1280px;
  --gutter: clamp(1.25rem, .5rem + 3vw, 3rem);
  --section: clamp(4rem, 2.8rem + 4.5vw, 7.5rem);
  --gap: clamp(1.5rem, 1rem + 2vw, 3rem);
  --shadow: 0 1px 2px rgb(0 0 0 / .05), 0 10px 30px -14px rgb(0 0 0 / .25);
  --edge: max(var(--gutter), calc((100vw - var(--container)) / 2));
  --to-end: to right;
  color-scheme: light;
}
[dir="rtl"] { --to-end: to left; }

/* Dark theme: system setting, or the toggle */
:root[data-theme="dark"] {
  --bg: #161110; --surface: #221a17; --paper: #2b211e; --text: #f4eeea; --muted: #b9ada8; --line: #3a2f2b;
  --accent: #9c1a42; --accent-hover: #b52250; --accent-ink: #ee93ab; --night: #3d0c1b; --ink: #3d0c1b; --ink-rgb: 61 12 27; --ink-2: #0e0909;
  --head-bg: rgb(22 17 16 / .97); color-scheme: dark;
}

/* Base */
html { scrollbar-width: thin; scrollbar-color: color-mix(in srgb, var(--text) 28%, transparent) transparent; }
::-webkit-scrollbar { inline-size: 10px; block-size: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: color-mix(in srgb, var(--text) 25%, transparent); border-radius: 10px; border: 3px solid transparent; background-clip: padding-box; }
body { line-height: 1.6; }
body.nav-locked { overflow: hidden; }
::selection { background: var(--brand); color: #fff; }
a { text-underline-offset: .2em; text-decoration-thickness: 1px; }
:focus-visible { outline: 2px solid var(--accent-ink); outline-offset: 3px; }
.skip-link { border-radius: 0; background: var(--brand); }
:lang(ar) body, body:lang(ar) { line-height: 1.75; }

/* Type */
.display, .h1, .h2, .h3 { font-weight: 500; letter-spacing: var(--tracking-tight); line-height: 1.12; }
.h2 { font-size: var(--step-1); }
.h3 { font-size: var(--step-2); line-height: 1.25; }
:is(.display, .h1, .h2, .h3):lang(ar) { font-weight: 600; line-height: 1.35; }
.lede { color: var(--muted); max-width: 46ch; }
.label { display: inline-flex; align-items: center; gap: .65em; font-size: var(--step-small); font-weight: 600; color: var(--accent-ink); margin-block-end: 1rem; letter-spacing: 0; }
.label::before { content: ""; inline-size: .7em; block-size: .7em; background: var(--brand); flex: none; }
.band-night .label, .hero .label, .phero .label { color: #fff; }

/* Buttons: flat, square */
.btn { border-radius: 0; font-weight: 600; transition: background var(--fast) ease, color var(--fast) ease, border-color var(--fast) ease; }
.btn:hover { transform: none; background: var(--accent-hover); border-color: var(--accent-hover); }
.btn:active { transform: none; }
.btn-line { background: transparent; color: inherit; border-color: currentColor; }
.btn-line:hover { background: var(--text); color: var(--bg); border-color: var(--text); }
.btn-white { background: #fff; color: #141414; border-color: #fff; }
.btn-white:hover { background: transparent; color: #fff; border-color: #fff; }
.btn-sm { min-block-size: 44px; padding: .6em 1.15em; font-size: .9375rem; }
.link-arrow { color: var(--accent-ink); min-block-size: 44px; padding-block: 0; background-position: 0 calc(50% + .8em); }
[dir="rtl"] .link-arrow { background-position: 100% calc(50% + .8em); }
.band-night .link-arrow, .ft .link-arrow { color: #fff; }
.frame { border-radius: 0; }
.ico { flex: none; }

/* ============ Header ============ */
.hd { position: sticky; inset-block-start: 0; z-index: 50; background: var(--head-bg); border-block-end: 1px solid var(--line); }
.hd__in { display: flex; align-items: center; gap: clamp(1rem, 2vw, 2.25rem); min-block-size: 76px; }
.logo { display: inline-flex; align-items: center; min-block-size: 44px; gap: .9rem; text-decoration: none; color: var(--text); flex: none; }
.logo__mark { display: inline-flex; align-items: baseline; font-family: "Figtree", "Helvetica Neue", Arial, sans-serif; font-weight: 700; font-size: 2.05rem; line-height: 1; letter-spacing: -0.045em; direction: ltr; }
.logo__sq { display: inline-block; inline-size: .25em; block-size: .25em; background: var(--brand); margin-inline-start: .06em; transition: transform var(--med) var(--ease-out); }
.logo:hover .logo__sq { transform: translateY(-.12em); }
.logo__desc { font-size: .8125rem; line-height: 1.25; color: var(--muted); font-weight: 500; padding-inline-start: .9rem; border-inline-start: 1px solid var(--line); max-inline-size: 9.5rem; }
.logo__desc:lang(ar) { font-size: .875rem; }
.hd__nav { display: flex; gap: clamp(1rem, 1.8vw, 2rem); margin-inline-start: auto; }
.hd__nav a { position: relative; text-decoration: none; font-weight: 500; font-size: 1rem; padding-block: 1.6rem; }
.hd__nav a::after { content: ""; position: absolute; inset-inline: 0; inset-block-end: -1px; block-size: 3px; background: var(--brand); transform: scaleX(0); transform-origin: var(--origin, left); transition: transform var(--med) var(--ease-out); }
[dir="rtl"] .hd__nav a::after { --origin: right; }
.hd__nav a:hover::after, .hd__nav a[aria-current="page"]::after { transform: scaleX(1); }
.hd__tools { display: flex; align-items: center; gap: .25rem; }
.hd__lang { display: inline-flex; align-items: center; min-block-size: 44px; padding-inline: .75rem; text-decoration: none; font-weight: 500; }
.hd__lang:hover { text-decoration: underline; }
/* Every language switch (header, menu, footer legal row): 44×44 tap target */
.hd__lang, .hd__panel a[hreflang], .ft__legal a[hreflang] { display: inline-flex; align-items: center; justify-content: center; min-inline-size: 44px; min-block-size: 44px; }
.theme-btn { display: inline-grid; place-items: center; inline-size: 44px; block-size: 44px; border: 0; background: transparent; color: inherit; }
.theme-btn svg { inline-size: 20px; block-size: 20px; }
.theme-btn .sun { display: none; }
.theme-btn[aria-pressed="true"] .sun { display: block; }
.theme-btn[aria-pressed="true"] .moon { display: none; }
.theme-btn:hover { background: var(--surface); }
.hd__toggle { display: none; inline-size: 44px; block-size: 44px; border: 0; background: transparent; color: inherit; position: relative; }
.hd__toggle span, .hd__toggle span::before, .hd__toggle span::after { position: absolute; inset-inline-start: 11px; inline-size: 22px; block-size: 2px; background: currentColor; transition: transform var(--med) var(--ease-out), opacity var(--fast); }
.hd__toggle span { inset-block-start: 21px; }
.hd__toggle span::before, .hd__toggle span::after { content: ""; inset-inline-start: 0; }
.hd__toggle span::before { transform: translateY(-7px); }
.hd__toggle span::after { transform: translateY(7px); }
.is-open .hd__toggle span { background: transparent; }
.is-open .hd__toggle span::before { transform: rotate(45deg); background: var(--text); }
.is-open .hd__toggle span::after { transform: rotate(-45deg); background: var(--text); }
.hd__panel { display: none; }

@media (max-width: 1180px) { .logo__desc { display: none; } }
@media (max-width: 1020px) {
  .hd__nav, .hd__tools .btn { display: none; }
  .hd__tools { margin-inline-start: auto; }
  .hd__toggle { display: inline-block; }
  .hd__panel { position: fixed; inset: 76px 0 0; background: var(--bg); padding: 1.5rem var(--gutter) 2.5rem; overflow-y: auto; flex-direction: column; gap: 1.5rem; }
  .is-open .hd__panel { display: flex; }
  .hd__panel ul { list-style: none; margin: 0; padding: 0; }
  .hd__panel li a { display: flex; align-items: center; justify-content: space-between; min-block-size: 60px; border-block-end: 1px solid var(--line); text-decoration: none; font-size: 1.375rem; font-weight: 500; }
  .hd__panel li a[aria-current="page"] { color: var(--accent-ink); }
  .hd__panel .btn { align-self: flex-start; }
}
@media (min-width: 1021px) { .logo__mark { font-size: 2.25rem; } }

/* ============ Home hero: ink band, photo on the end half ============ */
.hero { position: relative; isolation: isolate; overflow: hidden; background: var(--ink); color: #fff; min-block-size: clamp(560px, 72vh, 720px); display: grid; align-items: center; }
.hero__media { position: absolute; z-index: -2; inset-block: 0; inset-inline-end: 0; inline-size: 56%; margin: 0; }
.hero__media img { inline-size: 100%; block-size: 100%; object-fit: cover; object-position: 30% 22%; filter: saturate(.85) contrast(1.04); }
.hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(var(--to-end), var(--ink) 0%, rgb(var(--ink-rgb) / .6) 20%, rgb(var(--ink-rgb) / 0) 50%); }
.hero__body { padding-block: clamp(4rem, 8vh, 6.5rem); }
.hero__text { max-inline-size: min(40rem, 44%); }
.hero h1 { font-size: var(--step-hero); font-weight: 500; line-height: 1.04; letter-spacing: -0.03em; text-wrap: balance; }
.hero h1:lang(ar) { letter-spacing: 0; line-height: 1.35; font-weight: 600; font-size: clamp(2.25rem, 1.5rem + 2.6vw, 3.75rem); }
.hero__sub { margin-block-start: 1.5rem; font-size: var(--step-lede); color: rgb(255 255 255 / .82); max-inline-size: 36ch; line-height: 1.5; }
.hero .actions { margin-block-start: 2.25rem; }
.hero__cap { position: absolute; inset-block-end: 1.25rem; inset-inline-end: var(--gutter); font-size: .8125rem; color: rgb(255 255 255 / .78); max-inline-size: 22rem; text-align: end; }
@media (max-width: 860px) {
  .hero { min-block-size: auto; align-items: end; }
  /* Phone: the box takes the photo's own 553×369 shape, so the whole photo shows */
  .hero__media { inline-size: 100%; block-size: auto; aspect-ratio: 553 / 369; min-block-size: 0; max-block-size: none; inset-block-end: auto; }
  .hero__media img { object-position: 50% 50%; }
  .hero__media::after { background: linear-gradient(to bottom, rgb(var(--ink-rgb) / 0) 0%, rgb(var(--ink-rgb) / .1) 70%, var(--ink) 100%); }
  .hero__body { padding-block: calc(100vw * 369 / 553 + 1.75rem) 3rem; }
  .hero__text { max-inline-size: none; }
  .hero__cap { display: none; }
}

/* ============ Inner page hero ============ */
.phero { position: relative; isolation: isolate; overflow: hidden; background: var(--ink); color: #fff; }
.phero__in { padding-block: clamp(3rem, 7vw, 6rem) clamp(3rem, 6vw, 5rem); display: grid; gap: var(--gap); }
.phero h1 { font-size: var(--step-display); font-weight: 500; line-height: 1.08; letter-spacing: -0.025em; max-inline-size: 18ch; text-wrap: balance; }
.phero h1:lang(ar) { letter-spacing: 0; line-height: 1.35; font-weight: 600; }
.phero__sub { margin-block-start: 1.25rem; font-size: var(--step-lede); color: rgb(255 255 255 / .82); max-inline-size: 44ch; line-height: 1.5; }
.phero .actions { margin-block-start: 2rem; }
.crumbs { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; margin: 0 0 1.75rem; padding: 0; font-size: .9375rem; color: rgb(255 255 255 / .75); }
.crumbs li + li::before { content: "/"; margin-inline-end: .5rem; opacity: .6; }
.crumbs { align-items: center; }
.crumbs a { display: inline-flex; align-items: center; min-block-size: 44px; color: #fff; text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.phero--photo { min-block-size: clamp(420px, 56vh, 560px); display: grid; align-items: end; }
.phero--photo .phero__bg { position: absolute; inset: 0; z-index: -2; margin: 0; }
.phero--photo .phero__bg img { inline-size: 100%; block-size: 100%; object-fit: cover; }
.phero--photo::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(var(--to-end), rgb(var(--ink-rgb) / .9) 0%, rgb(var(--ink-rgb) / .62) 45%, rgb(var(--ink-rgb) / .2) 100%); }
.phero--ink .phero__in { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); align-items: end; }
.phero__aside { position: relative; justify-self: end; inline-size: min(100%, 26rem); }
.phero__aside .frame { aspect-ratio: 4 / 3; }
.phero__aside figcaption { margin-block-start: .6rem; font-size: .875rem; color: rgb(255 255 255 / .72); }
@media (max-width: 860px) {
  .phero--ink .phero__in { grid-template-columns: 1fr; }
  .phero__aside { justify-self: stretch; inline-size: 100%; }
  .phero__aside--wide { display: none; }
  .phero--photo { min-block-size: 440px; }
  .phero--photo::after { background: linear-gradient(to bottom, rgb(var(--ink-rgb) / .25) 0%, rgb(var(--ink-rgb) / .9) 70%); }
}

/* ============ Section heads ============ */
.shead { display: flex; align-items: end; justify-content: space-between; gap: 1rem 3rem; flex-wrap: wrap; margin-block-end: clamp(2rem, 3.5vw, 3rem); }
.shead .h2 { max-inline-size: 22ch; }
.shead__p { max-inline-size: 34rem; color: var(--muted); font-size: var(--step-lede); line-height: 1.5; }

/* ============ Featured cards ============ */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.25rem, 2vw, 2rem); }
.card { display: flex; flex-direction: column; text-decoration: none; color: inherit; background: var(--bg); }
.card .frame { aspect-ratio: 3 / 2; }
.card .frame img { object-position: 50% 30%; }
.card .frame--face img { object-position: 50% 18%; }
.card__body { display: flex; flex-direction: column; gap: .6rem; padding-block: 1.25rem 0; flex: 1; }
.card__kicker { font-size: .875rem; font-weight: 600; color: var(--accent-ink); }
.card h3 { font-size: var(--step-2); font-weight: 500; line-height: 1.25; letter-spacing: -0.01em; }
.card h3:lang(ar) { font-weight: 600; letter-spacing: 0; }
.card p { color: var(--muted); }
.card__more { margin-block-start: auto; padding-block-start: .5rem; display: inline-flex; align-items: center; gap: .5em; font-weight: 600; color: var(--accent-ink); }
.card:hover h3 { text-decoration: underline; text-decoration-thickness: 1px; }
.card:hover .arrow { translate: calc(.25em * var(--from)) 0; }
.band-surface .card { background: var(--paper); }
.band-surface .card__body { padding: 1.25rem 1.5rem 1.5rem; }
@media (max-width: 900px) { .cards { grid-template-columns: 1fr; gap: 2.25rem; } }
@media (min-width: 600px) and (max-width: 900px) { .cards--2up { grid-template-columns: 1fr 1fr; } }

/* ============ 50/50 split band (image bleeds to the viewport edge) ============ */
.band { display: grid; grid-template-columns: 1fr 1fr; min-block-size: clamp(520px, 44vw, 680px); }
.band__media { position: relative; overflow: hidden; margin: 0; background: var(--surface); }
.band__media img { position: absolute; inset: 0; inline-size: 100%; block-size: 100%; object-fit: cover; transition: transform 1.4s var(--ease-out); }
.band:hover .band__media img { transform: scale(1.02); }
.band__media > figcaption { position: absolute; inset-block-end: 0; inset-inline-start: 0; background: var(--ink); color: #fff; font-size: .8125rem; padding: .5rem .85rem; max-inline-size: 80%; }
.band__body { display: flex; align-items: center; padding-block: var(--section); padding-inline: var(--edge) clamp(2rem, 6vw, 6.5rem); }
.band--flip .band__media { order: -1; }
.band--flip .band__body { padding-inline: clamp(2rem, 6vw, 6.5rem) var(--edge); }
.band__inner { max-inline-size: 36rem; inline-size: 100%; }
.band__inner > .h2 { margin-block-end: 1.25rem; }
.band__inner > p { color: var(--muted); max-inline-size: 58ch; }
.band__inner > p + p { margin-block-start: 1rem; }
.band__inner .actions { margin-block-start: 2rem; }
@media (max-width: 900px) {
  .band { grid-template-columns: 1fr; min-block-size: 0; }
  .band__media { order: -1; aspect-ratio: 3 / 2; }
  .band__body, .band--flip .band__body { padding: clamp(2.75rem, 8vw, 4rem) var(--gutter) clamp(3rem, 9vw, 4.5rem); }
}

/* Small client photos: shown whole, near their real size, as plain rectangles on a quiet panel */
.band__media--inset { display: grid; place-items: center; padding: clamp(2.5rem, 6vw, 5rem) var(--gap); background: var(--ink); }
.inset { position: relative; inline-size: min(100%, 27rem); margin: 0; }
.inset img { position: static; inline-size: 100%; block-size: auto; aspect-ratio: auto; object-fit: contain; }
.inset--wide { inline-size: min(100%, 34.5rem); }
.inset--small { inline-size: min(100%, 200px); }
.band:hover .band__media--inset img { transform: none; }
.contact .lede { margin-block: .5rem 1.75rem; }
.inset figcaption { margin-block-start: .9rem; font-size: .875rem; color: rgb(255 255 255 / .75); }
/* Two client photos, both shown whole */
.stack { display: grid; gap: 1rem; inline-size: min(100%, 27rem); margin: 0; }
.band__media .stack img { position: static; inline-size: 100%; block-size: auto; object-fit: contain; }
.band__media--inset.band__media--light .inset figcaption { color: var(--muted); }
/* Services collection: a client photo (img/source) shows whole; a row without a photo becomes a full-width text band */
.svc .band__media:has(img[src*="img/source/"]) { display: grid; place-items: center; padding: clamp(2.5rem, 6vw, 5rem) var(--gap); background: var(--ink); }
.svc .band__media img[src*="img/source/"] { position: static; inline-size: min(100%, 34.5rem); block-size: auto; object-fit: contain; }
.svc .band__media:not(:has(img)) { display: none; }
.svc:not(:has(.band__media img)) { grid-template-columns: 1fr; min-block-size: 0; }
.svc:not(:has(.band__media img)) .band__body { padding-block: clamp(3.5rem, 6vw, 5.5rem); padding-inline: var(--edge); }
.svc:not(:has(.band__media img)) .band__inner { max-inline-size: none; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 clamp(2rem, 6vw, 6rem); align-items: start; }
.svc:not(:has(.band__media img)) .band__inner > * { grid-column: 1; }
.svc:not(:has(.band__media img)) .band__inner > .pts-text { grid-column: 2; grid-row: 1 / span 4; margin-block-start: 0; }
@media (max-width: 900px) { .svc:not(:has(.band__media img)) .band__inner { grid-template-columns: 1fr; } .svc:not(:has(.band__media img)) .band__inner > .pts-text { grid-column: 1; grid-row: auto; margin-block-start: 1.5rem; } .svc:not(:has(.band__media img)) .band__body { padding-inline: var(--gutter); } }
.band__media--light { background: var(--surface); }
.band__media--light .inset figcaption { color: var(--muted); }
.band-surface .band__media--light { background: var(--bg); }
@media (max-width: 900px) { .band__media--inset { aspect-ratio: auto; } }

/* Pull quote panel (story band): her words from the 2023 research, on the light surface */
.qpanel { position: absolute; inset: 0; display: grid; align-content: center; background: var(--surface); color: var(--text); padding: clamp(2.5rem, 6vw, 6rem); margin: 0; }
.qpanel blockquote p { font-size: clamp(1.6rem, 1.1rem + 1.8vw, 2.75rem); font-weight: 500; line-height: 1.2; letter-spacing: -0.02em; max-inline-size: 20ch; text-wrap: balance; }
.qpanel blockquote p:lang(ar) { letter-spacing: 0; line-height: 1.5; font-weight: 600; }
.qpanel figcaption { margin-block-start: 1.75rem; font-size: .9375rem; line-height: 1.5; color: var(--muted); max-inline-size: 36ch; }
.qpanel figcaption cite { font-style: normal; color: var(--text); font-weight: 600; }
@media (max-width: 900px) { .qpanel { position: relative; } .band__media:has(.qpanel) { aspect-ratio: auto; order: 1; } }

/* Two-column section: heading and lede beside a list (Home "Where we advise") */
.split2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: var(--gap) clamp(2rem, 6vw, 6rem); align-items: start; }
.split2 > div > p:not(.label) { color: var(--muted); max-inline-size: 44ch; font-size: var(--step-lede); line-height: 1.5; }
.split2 .h2 { margin-block-end: 1.25rem; }
.split2 .actions { margin-block-start: 2rem; }
ul.split2__list { margin-block-start: 0; }
@media (max-width: 900px) { .split2 { grid-template-columns: 1fr; } }

/* Practice list (What we do) */
.plist { list-style: none; margin: 1.75rem 0 0; padding: 0; border-block-start: 1px solid var(--line); }
.plist li { border-block-end: 1px solid var(--line); }
.plist a { display: grid; grid-template-columns: 2.5rem 1fr auto; align-items: center; gap: 1rem; min-block-size: 64px; padding-block: .9rem; text-decoration: none; font-size: 1.1875rem; font-weight: 500; transition: color var(--fast), padding var(--med) var(--ease-out); }
.plist__n { font-size: .875rem; color: var(--accent-ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.plist a:hover { color: var(--accent-ink); padding-inline-start: .5rem; }
.plist small { display: block; font-size: .9375rem; color: var(--muted); font-weight: 400; margin-block-start: .15rem; line-height: 1.45; }

/* Facts band (maroon) */
.facts { background: var(--brand); color: #fff; padding-block: clamp(3rem, 6vw, 5rem); }
.facts__head { display: flex; justify-content: space-between; align-items: end; gap: 1rem 2rem; flex-wrap: wrap; margin-block-end: 2.5rem; }
.facts__head .h2 { font-size: clamp(1.6rem, 1.3rem + 1.1vw, 2.25rem); max-inline-size: 26ch; }
.facts__head .label { color: #fff; }
.facts__head .label::before { background: #fff; }
.facts__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); list-style: none; margin: 0; padding: 0; }
.facts__list { gap: 2rem clamp(1.5rem, 3vw, 3rem); }
.facts__list li { padding: 0; }
.facts__n { display: block; font-size: clamp(2.5rem, 1.8rem + 2.2vw, 3.75rem); font-weight: 500; line-height: 1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; margin-block-end: .75rem; }
.facts__n:lang(ar) { letter-spacing: 0; }
.facts__list p { font-size: 1rem; line-height: 1.45; color: rgb(255 255 255 / .9); }
.facts__src { margin-block-start: 2rem; font-size: .8125rem; color: rgb(255 255 255 / .75); }
.facts__src a { color: #fff; }
@media (max-width: 900px) {
  .facts__list { grid-template-columns: 1fr 1fr; gap: 2rem 1.5rem; }
}

/* Research & insights cards */
.icards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; list-style: none; margin: 0; padding: 0; }
.icards > li { display: flex; }
.icard { flex: 1; position: relative; display: flex; flex-direction: column; gap: 1rem; min-block-size: 15.5rem; padding: 1.5rem; background: var(--surface); text-decoration: none; color: inherit; transition: background var(--med) var(--ease-out); }
.band-surface .icard { background: var(--paper); }
.icard:hover { background: color-mix(in srgb, var(--surface), var(--text) 5%); }
.band-surface .icard:hover { background: color-mix(in srgb, var(--paper), var(--text) 4%); }
.icard__meta { display: flex; justify-content: space-between; gap: .75rem; font-size: .875rem; }
.icard__label { font-weight: 600; color: var(--accent-ink); }
.icard__date { color: var(--muted); font-variant-numeric: tabular-nums; }
.icard h3 { font-size: 1.1875rem; font-weight: 500; line-height: 1.35; }
.icard h3:lang(ar) { font-weight: 600; }
.icard p { font-size: .9375rem; color: var(--muted); line-height: 1.5; }
.icard__go { margin-block-start: auto; display: inline-flex; align-items: center; gap: .4em; font-size: .9375rem; font-weight: 600; color: var(--accent-ink); }
.icard:hover h3 { text-decoration: underline; text-decoration-thickness: 1px; }
@media (max-width: 1100px) { .icards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .icards { grid-template-columns: 1fr; } .icard { min-block-size: 0; } }

/* Leadership details */
.person__role { color: var(--accent-ink); font-weight: 600; margin-block: -.5rem 1.25rem; }
.person__bio { color: var(--muted); }
.person__hl { margin-block-start: 1.5rem; padding-block-start: 1.25rem; border-block-start: 1px solid var(--line); font-size: .9375rem; line-height: 1.8; }
.person__links { display: flex; flex-wrap: wrap; gap: .5rem 1.75rem; margin-block-start: 1.75rem; }

/* ============ How can we help? (dark strip form) ============ */
.help { background: var(--ink); color: #fff; padding-block: clamp(3.5rem, 7vw, 6rem); position: relative; overflow: hidden; isolation: isolate; }
.help .label { color: #fff; }
.help__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); gap: var(--gap) clamp(2rem, 6vw, 6rem); align-items: end; }
.help .h2 { color: #fff; }
.help__p { margin-block-start: 1rem; color: rgb(255 255 255 / .78); max-inline-size: 40ch; }
.strip { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; gap: 0; align-items: end; position: relative; }
.strip .field label { color: rgb(255 255 255 / .8); font-weight: 500; }
.strip .field :is(input, select) { background: #fff; color: #141414; border: 0; border-inline-end: 1px solid #d5d5d5; border-radius: 0; min-block-size: 56px; inline-size: 100%; }
.strip .btn { min-block-size: 56px; padding-inline: 1.75rem; }
.strip .btn:hover { background: var(--accent-hover); }
.strip [data-form-status] { grid-column: 1 / -1; margin-block-start: .75rem; font-size: .9375rem; color: rgb(255 255 255 / .85); min-block-size: 1.5em; }
.help__alt { margin-block-start: 1rem; font-size: .9375rem; color: rgb(255 255 255 / .7); }
.help__alt a { color: #fff; }
@media (max-width: 900px) {
  .help__grid { grid-template-columns: 1fr; }
  .strip { grid-template-columns: 1fr; gap: .9rem; }
  .strip .field :is(input, select) { border: 0; }
  .strip .btn { inline-size: 100%; }
}

/* ============ Footer ============ */
.ft { background: var(--ink-2); color: #e9e9e9; padding-block: clamp(3.5rem, 6vw, 5rem) 2rem; font-size: .9375rem; }
.ft .logo { color: #fff; }
.ft .logo__desc { color: #b4b4b4; border-color: rgb(255 255 255 / .2); display: block; }
.hd__lang:lang(ar), .ft__legal a:lang(ar) { font-family: var(--font-arabic); font-size: 1rem; }
.ft__top { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.15fr) minmax(0, 1fr) minmax(0, .75fr) minmax(0, 1.4fr); gap: 2.5rem; padding-block-end: 3rem; border-block-end: 1px solid rgb(255 255 255 / .14); }
.ft__brand p { margin-block-start: 1.25rem; color: #b4b4b4; max-inline-size: 30ch; }
.ft__col h2 { font-size: .9375rem; font-weight: 600; color: #fff; margin-block-end: 1rem; }
.ft__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.ft__col a { display: inline-flex; align-items: center; gap: .4em; min-block-size: 44px; color: #c9c9c9; text-decoration: none; overflow-wrap: anywhere; }
.ft__col a:hover { color: #fff; text-decoration: underline; }
.ft__social { display: flex; gap: .5rem; margin-block-start: 1rem; list-style: none; padding: 0; }
.ft__social a { display: inline-grid; place-items: center; inline-size: 44px; block-size: 44px; border: 1px solid rgb(255 255 255 / .25); color: #fff; transition: background var(--fast), border-color var(--fast); }
.ft__social a:hover { background: var(--brand); border-color: var(--brand); }
.ft__social svg { inline-size: 18px; block-size: 18px; }
.ft__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem 2rem; padding-block-start: 1.75rem; color: #a3a3a3; font-size: .875rem; }
.ft__legal a { color: #d6d6d6; }
.ft__credit { flex-basis: 100%; font-size: .8125rem; color: #8f8f8f; }
.ft__credit a { color: #a9a9a9; }
@media (max-width: 1000px) { .ft__top { grid-template-columns: 1fr 1fr; } .ft__brand, .ft__top > .ft__col:last-child { grid-column: 1 / -1; } }
@media (max-width: 520px) { .ft__top { gap: 2rem 1.25rem; } }

/* ============ Services page ============ */
.svc .band__inner .plist { margin-block-start: 1.5rem; }
.svc__n { display: block; color: var(--accent-ink); font-size: .9375rem; font-weight: 600; font-variant-numeric: tabular-nums; margin-block-end: .75rem; }
.pts { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.5rem; border-block-start: 1px solid var(--line); }
.pts--one { grid-template-columns: 1fr; }
.pts-text { margin-block-start: 1.5rem; padding-block-start: 1.25rem; border-block-start: 1px solid var(--line); line-height: 2; font-weight: 500; }
.eng { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.svc-list > .band:nth-of-type(even) { background: var(--surface); }
@media (min-width: 901px) {
  .svc-list > .band:nth-of-type(even) .band__media { order: -1; }
  .svc-list > .band:nth-of-type(even) .band__body { padding-inline: clamp(2rem, 6vw, 6.5rem) var(--edge); }
}
.svc .band__inner > .h2 { margin-block-end: 1rem; }
.svc-intro { padding-block: var(--section) clamp(2rem, 4vw, 3rem); }
.svc-intro .shead { margin-block-end: 0; }
.eng__item { display: flex; flex-direction: column; gap: .9rem; padding: 1.75rem; background: var(--surface); }
.eng__item .h3 { font-weight: 500; }
.eng__item p { color: var(--muted); }
.eng__item .pts-text { font-size: .9375rem; line-height: 1.8; color: var(--text); }
.eng__item .link-arrow { margin-block-start: auto; }
@media (max-width: 900px) { .eng { grid-template-columns: 1fr; } }

/* ============ Research page ============ */
.cover { position: relative; aspect-ratio: 3 / 4; inline-size: min(100%, 22rem); background: var(--brand); color: #fff; padding: 2rem 1.75rem; display: flex; flex-direction: column; justify-content: space-between; box-shadow: var(--shadow); }
.cover small { font-size: .875rem; color: rgb(255 255 255 / .85); }
.cover b { display: block; font-size: clamp(1.9rem, 1.4rem + 1.5vw, 2.6rem); font-weight: 600; line-height: 1.05; letter-spacing: -0.02em; }
.cover b:lang(ar) { letter-spacing: 0; line-height: 1.3; }
.cover i { display: block; font-style: normal; margin-block-start: .75rem; font-size: 1.0625rem; line-height: 1.35; color: rgb(255 255 255 / .9); }
.cover footer { display: flex; justify-content: space-between; font-size: .875rem; border-block-start: 1px solid rgb(255 255 255 / .35); padding-block-start: .9rem; }
.phero .cover { justify-self: end; inline-size: min(100%, 19rem); }
@media (max-width: 860px) { .phero .cover { justify-self: start; inline-size: min(70%, 16rem); } }

.rows { list-style: none; margin: 1.75rem 0 0; padding: 0; border-block-start: 1px solid var(--line); }
.rows li { display: grid; grid-template-columns: 2.75rem 1fr; gap: .25rem 1rem; padding-block: 1.25rem; border-block-end: 1px solid var(--line); }
.rows .n { grid-row: span 2; font-size: .875rem; font-weight: 600; color: var(--accent-ink); padding-block-start: .2rem; font-variant-numeric: tabular-nums; }
.rows h3 { font-size: 1.125rem; font-weight: 600; line-height: 1.35; }
.rows p { color: var(--muted); font-size: 1rem; }

.pull { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: var(--gap) clamp(2rem, 6vw, 6rem); align-items: start; }
.pull__main { position: relative; }
.pull__main p { font-size: clamp(1.5rem, 1.15rem + 1.4vw, 2.375rem); font-weight: 500; line-height: 1.25; letter-spacing: -0.015em; }
.pull__main p:lang(ar) { letter-spacing: 0; line-height: 1.55; }
.pull__side { display: grid; gap: 1.5rem; }
.pull__side blockquote { padding-block-start: 1.25rem; border-block-start: 1px solid var(--line); }
.pull__side p { font-size: 1.125rem; line-height: 1.5; }
.pull__src { margin-block-start: 1.75rem; font-size: .9375rem; color: var(--muted); }
.pull__src cite { font-style: normal; font-weight: 600; color: var(--text); }
@media (max-width: 900px) { .pull { grid-template-columns: 1fr; } }

.cols3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 3vw, 3rem); list-style: none; margin: 0; padding: 0; }
.cols3 li { padding: 0; }
.cols3 .n { display: block; font-size: .875rem; font-weight: 600; color: var(--accent-ink); margin-block-end: 1rem; }
.cols3 h3 { font-size: var(--step-2); font-weight: 500; line-height: 1.25; margin-block-end: .6rem; }
.cols3 h3:lang(ar) { font-weight: 600; }
.cols3 p { color: var(--muted); }
.cols3--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1000px) { .cols3--4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 760px) { .cols3, .cols3--4 { grid-template-columns: 1fr; } }

/* ============ About ============ */
.tl { list-style: none; margin: 2rem 0 0; padding: 0; border-block-start: 1px solid var(--line); }
.tl li { display: grid; grid-template-columns: 4.5rem 1fr; gap: 1rem; padding-block: 1rem; border-block-end: 1px solid var(--line); }
.tl time { font-weight: 600; color: var(--accent-ink); font-variant-numeric: tabular-nums; }
.tl h3 { font-size: 1.0625rem; font-weight: 600; }
.tl p { color: var(--muted); font-size: .9375rem; }
.tl .tag { display: inline-block; margin-block-start: .35rem; font-size: .8125rem; color: var(--muted); }
/* Founder profile lists: one heading style, one row style (title · meta line · optional sentence) */
.prof { margin-block-start: clamp(3rem, 5vw, 4.5rem); display: grid; gap: clamp(3rem, 5vw, 4.5rem); }
.prof__pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(3rem, 5vw, 4.5rem) clamp(2rem, 6vw, 6rem); align-items: start; }
.prof__h { font-size: var(--step-2); font-weight: 500; line-height: 1.25; letter-spacing: -0.01em; margin-block-end: 1rem; }
.prof__h:lang(ar) { font-weight: 600; letter-spacing: 0; }
.prof__h ~ .prof__h { margin-block-start: clamp(2.5rem, 4vw, 3rem); }
.xlist { list-style: none; margin: 0; padding: 0; border-block-start: 1px solid var(--line); }
.xlist > li { padding-block: 1.1rem; border-block-end: 1px solid var(--line); }
.xlist h4 { font-size: 1.0625rem; font-weight: 600; line-height: 1.4; }
.xlist__meta { font-size: .9375rem; color: var(--accent-ink); font-weight: 500; margin-block-start: .15rem; }
.xlist__meta:lang(ar) { font-weight: 600; }
.xlist p:not(.xlist__meta) { font-size: .9375rem; color: var(--muted); margin-block-start: .35rem; max-inline-size: 70ch; }
.xlist--wide > li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: .35rem clamp(2rem, 6vw, 6rem); align-items: baseline; }
.xlist--wide > li p:not(.xlist__meta) { margin-block-start: 0; grid-column: 2; grid-row: 1 / span 2; }
.xlist--langs > li { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding-block: .85rem; }
.xlist--langs h4 { font-weight: 500; }
.xlist--langs .xlist__meta { margin: 0; color: var(--muted); }
ul.xlist, ol.xlist { margin-block-start: 0; }
@media (max-width: 900px) {
  .prof__pair { grid-template-columns: 1fr; }
  .xlist--wide > li { grid-template-columns: 1fr; }
  .xlist--wide > li p:not(.xlist__meta) { grid-column: 1; grid-row: auto; margin-block-start: .35rem; }
}

/* ============ Speaking ============ */
.talks { list-style: none; margin: 0; padding: 0; border-block-start: 1px solid var(--line); }
.talks li { display: grid; grid-template-columns: 6rem minmax(0, 1.1fr) minmax(0, 1.2fr); gap: .5rem 2rem; padding-block: 1.75rem; border-block-end: 1px solid var(--line); align-items: start; transition: background var(--med); }
.talks li:hover { background: var(--surface); }
.talks__y { font-size: 1.125rem; font-weight: 600; color: var(--accent-ink); font-variant-numeric: tabular-nums; padding-inline-start: .25rem; }
.talks__y--none { color: var(--muted); }
.talks h3 { font-size: var(--step-2); font-weight: 500; line-height: 1.25; }
.talks h3:lang(ar) { font-weight: 600; }
.talks__role { display: block; margin-block-start: .4rem; font-size: .9375rem; font-weight: 600; color: var(--muted); }
.talks__topic { color: var(--text); }
@media (max-width: 860px) { .talks li { grid-template-columns: 3.75rem 1fr; } .talks__topic { grid-column: 2; color: var(--muted); } }

.moments { --rail-gap: 1.25rem; padding-block-end: .5rem; }
.moment { inline-size: clamp(260px, 30vw, 420px); margin: 0; }
.moment .frame { aspect-ratio: 4 / 3; }
.moment .frame img { object-position: 50% 25%; }
.moment figcaption { display: flex; gap: .75rem; margin-block-start: .75rem; font-size: .9375rem; color: var(--muted); }
.moment figcaption span:first-child { color: var(--accent-ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.rail-head { display: flex; justify-content: space-between; align-items: end; gap: 1rem; margin-block-end: 2rem; flex-wrap: wrap; }
.rail-btns { display: flex; gap: .5rem; }
.rail-btn { display: inline-grid; place-items: center; inline-size: 48px; block-size: 48px; border: 1px solid var(--line); background: var(--bg); color: var(--text); transition: background var(--fast), color var(--fast), border-color var(--fast); }
.rail-btn:hover { background: var(--brand); color: #fff; border-color: var(--brand); }
.rail-btn svg { inline-size: 18px; block-size: 18px; }
[dir="rtl"] .rail-btn svg { transform: scaleX(-1); }

.formats { list-style: none; margin: 1.75rem 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; border-block-start: 1px solid var(--line); }
.formats li { display: flex; align-items: center; gap: .9rem; min-block-size: 64px; border-block-end: 1px solid var(--line); font-weight: 500; font-size: 1.0625rem; }

/* ============ Contact ============ */
.contact { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: var(--gap) clamp(2rem, 6vw, 6rem); align-items: start; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem 1.5rem; }
.form .field--full, .form__foot { grid-column: 1 / -1; }
.field :is(input, select, textarea) { border-radius: 0; background: var(--bg); border-color: color-mix(in srgb, var(--text) 30%, transparent); }
.field :is(input, select, textarea):hover { border-color: var(--text); }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%); background-position: calc(100% - 20px) 52%, calc(100% - 15px) 52%; background-size: 5px 5px; background-repeat: no-repeat; padding-inline-end: 2.5rem; }
[dir="rtl"] .field select { background-position: 15px 52%, 20px 52%; }
.field :is(input, select, textarea) { inline-size: 100%; min-inline-size: 0; }
.field textarea { resize: vertical; min-block-size: 9rem; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }
.btn:disabled { opacity: .6; cursor: progress; }
[data-form-status][data-state="ok"] { color: #1f7a3f; font-weight: 600; }
[data-form-status][data-state="error"] { color: #b3261e; font-weight: 600; }
[data-form-status][data-state="sending"] { color: var(--muted); }
.help [data-form-status][data-state="ok"] { color: #8fe0a9; }
.help [data-form-status][data-state="error"] { color: #ffb4ab; }
.routes { list-style: none; margin: 1.25rem 0 0; padding: 0; border-block-start: 1px solid var(--line); }
.routes li { padding-block: 1.25rem; border-block-end: 1px solid var(--line); }
.routes b { display: block; font-weight: 600; }
.routes span { display: block; color: var(--muted); font-size: .9375rem; margin-block: .2rem .5rem; }
.routes a { color: var(--accent-ink); font-weight: 600; overflow-wrap: anywhere; display: inline-flex; min-block-size: 32px; align-items: center; }
.socials { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; list-style: none; margin: 1.5rem 0 0; padding: 0; }
.socials a { display: inline-flex; align-items: center; gap: .4em; min-block-size: 44px; font-weight: 600; text-decoration: none; }
.socials a:hover { text-decoration: underline; }
@media (max-width: 900px) { .contact, .form { grid-template-columns: minmax(0, 1fr); } }

/* Lists: beat base.css's ul[class]/ol[class] { margin: 0 } */
ol.crumbs { margin: -.625rem 0 1.125rem; } /* 44px tap rows, same visual spacing */
ul.plist { margin-block-start: 1.75rem; }
ol.rows { margin-block-start: 1.75rem; }
ol.tl { margin-block-start: 2rem; }
ul.formats { margin-block-start: 1.75rem; }
ul.routes { margin-block-start: 1.25rem; }
ul.socials { margin-block-start: 1.5rem; }
.ft__col ul + ul { margin-block-start: .75rem; }

:lang(ar) { letter-spacing: 0; }
[lang="ar"]:not(html) { font-family: var(--font-arabic); }

/* Dark theme: keep dark bands distinct from the dark page */
:root[data-theme="dark"] :is(.help, .ft, .hero, .phero) { box-shadow: inset 0 1px 0 rgb(255 255 255 / .07); }
:root[data-theme="dark"] .hd { --head-bg: rgb(17 17 17 / .97); }
.btn:focus-visible, .rail-btn:focus-visible { outline-offset: 2px; }
.help .btn:focus-visible, .hero .btn:focus-visible { outline-color: #fff; }

/* ============ Motion (calm; motion.js does load + reveals, this adds the brand layer) ============ */
/* Load order in heroes: headline is visible at once; sub and button follow */
:is(.hero__sub, .phero__sub)[data-load] { --load-delay: 120ms; }
:is(.hero, .phero) .actions[data-load] { --load-delay: 260ms; }
/* The hero photo is the LCP: paint it at final size at once, no zoom start state waiting on JS */
.js:not(.motion-off) .hero .hero-media img, .js.loaded .hero .hero-media img { transform: none; transition: none; }
/* Band photos settle from a slight zoom as they reveal (full-bleed photos only; whole client photos stay put) */
.band__media.rv { transform: none; }
.band__media.rv > img:not([src*="img/source/"]) { transform: scale(1.06); }
.band__media.rv.in > img:not([src*="img/source/"]) { transform: none; transition: transform 1.6s var(--ease-out); }

/* Hover and press */
.btn-line { background-image: linear-gradient(var(--text), var(--text)); background-repeat: no-repeat; background-size: 0% 100%; background-position: left center; transition: background-size var(--med) var(--ease-out), color var(--med) var(--ease-out), border-color var(--fast); }
[dir="rtl"] .btn-line { background-position: right center; }
.btn-line:hover { background-color: transparent; background-size: 100% 100%; color: var(--bg); border-color: var(--text); }
.btn:active { transform: scale(.98); }
.card .frame { overflow: hidden; }
.card .frame img { transition: transform .6s var(--ease-out); }
.card:hover .frame img { transform: scale(1.03); }
.icard:hover .arrow, .eng__item a:hover .arrow, .plist a:hover .arrow { translate: calc(.25em * var(--from)) 0; }
.plist a { transition: color var(--fast), transform var(--med) var(--ease-out); padding-inline-start: 0; }
.plist a:hover { padding-inline-start: 0; transform: translateX(calc(.4rem * var(--from))); }
.talks li { transition: background var(--med) var(--ease-out); }
.ft__col a, .hd__panel a { transition: color var(--fast); }
.theme-btn svg { transition: transform var(--med) var(--ease-out); }
.theme-btn:hover svg { transform: rotate(-18deg); }
.hd { transition: box-shadow var(--med) var(--ease-out); }
.hd.is-scrolled { box-shadow: 0 6px 20px -14px rgb(0 0 0 / .35); }

/* ============ Pacing (v4): one or two signature moments per page, each page different ============ */
/* Home featured cards: 4:3 frames so the exhibition photo and its paintings show whole */
.cards--43 .frame { aspect-ratio: 4 / 3; }
.card .frame--art img { object-position: 50% 50%; }

/* Home "Our story": her line as the page's big type moment, full width, no photo beside it */
.statement { padding-block: var(--section); background: var(--bg); }
.statement__q { margin: 0; }
.statement__q blockquote p { font-size: clamp(2.6rem, 1.4rem + 4.4vw, 5.25rem); font-weight: 500; line-height: 1.04; letter-spacing: -0.035em; max-inline-size: 22ch; text-wrap: balance; text-indent: -.42em; }
.statement__q blockquote p:lang(ar) { letter-spacing: 0; line-height: 1.4; font-weight: 600; text-indent: 0; max-inline-size: 18ch; }
.statement__q figcaption { margin-block-start: 1.75rem; font-size: var(--step-small); color: var(--muted); }
.statement__q cite { font-style: normal; font-weight: 600; color: var(--text); }
.statement__row { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 3fr); gap: var(--gap) clamp(2rem, 5vw, 5rem); margin-block-start: clamp(3.5rem, 6vw, 5.5rem); padding-block-start: 2rem; border-block-start: 1px solid var(--line); }
.statement__intro .h3 { margin-block-end: 1rem; }
.statement__intro p { color: var(--muted); }
.statement__intro p + p { margin-block-start: .75rem; }
.statement__intro .link-arrow { margin-block-start: 1rem; }
ol.tl--row { margin: 0; border: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 3vw, 2.5rem); }
.tl--row li { display: block; padding: 0; border: 0; }
.tl--row time { display: block; margin-block-end: .6rem; font-size: 1.0625rem; }
.tl--row h3 { margin-block-end: .35rem; }
@media (max-width: 1000px) { .statement__row { grid-template-columns: 1fr; } .statement__q blockquote p { text-indent: 0; } }
@media (max-width: 700px) {
  ol.tl--row { grid-template-columns: 1fr; gap: 0; border-block-start: 1px solid var(--line); }
  .tl--row li { display: grid; grid-template-columns: 4.5rem 1fr; gap: 1rem; padding-block: 1rem; border-block-end: 1px solid var(--line); }
  .tl--row time { margin: 0; }
}

/* Home "Leadership": text-led, a small headshot shown whole at its own size */
.lead__head { margin-block-end: clamp(2rem, 4vw, 3rem); }
.lead__head .h2 { max-inline-size: 24ch; }
.lead__grid { display: grid; grid-template-columns: 200px minmax(0, 1.6fr) minmax(0, 1fr); gap: var(--gap) clamp(2rem, 4vw, 4rem); align-items: start; padding-block-start: 2rem; border-block-start: 1px solid var(--line); }
.lead__pic { margin: 0; inline-size: 200px; }
.lead__pic img { inline-size: 200px; block-size: auto; }
.lead__main .h3 { margin-block-end: .9rem; }
.lead__main .person__role { margin-block: -.4rem 1rem; }
.lead__main .person__bio { max-inline-size: 62ch; }
.lead__hl { margin: 0; padding: 0; border: 0; font-size: 1rem; line-height: 1.85; }
@media (max-width: 1000px) { .lead__grid { grid-template-columns: 160px minmax(0, 1fr); } .lead__pic, .lead__pic img { inline-size: 160px; } .lead__hl { grid-column: 2; padding-block-start: 1.25rem; border-block-start: 1px solid var(--line); } }
@media (max-width: 600px) { .lead__grid { grid-template-columns: 1fr; } .lead__hl { grid-column: 1; } }

/* Home insights: one featured piece beside three ruled rows (not four equal boxes) */
.icards--feat { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 0 clamp(2rem, 4vw, 4rem); }
.icards--feat > li:first-of-type { grid-row: 1 / span 3; }
.icards--feat > li:first-of-type .icard { padding: clamp(1.75rem, 3vw, 2.75rem); min-block-size: 100%; }
.icards--feat > li:first-of-type h3 { font-size: clamp(1.6rem, 1.2rem + 1.3vw, 2.375rem); line-height: 1.15; letter-spacing: -0.02em; max-inline-size: 18ch; }
.icards--feat > li:first-of-type h3:lang(ar) { letter-spacing: 0; line-height: 1.4; }
.icards--feat > li:first-of-type p { font-size: var(--step-0); max-inline-size: 44ch; }
.icards--feat > li:not(:first-of-type) { border-block-end: 1px solid var(--line); }
.icards--feat > li:nth-of-type(2) { border-block-start: 1px solid var(--line); }
.icards--feat > li:not(:first-of-type) .icard { background: transparent; min-block-size: 0; padding: 1.5rem 0; gap: .5rem; }
.icards--feat > li:not(:first-of-type) .icard:hover { background: transparent; }
.icards--feat > li:not(:first-of-type) .icard p { display: none; }
.icards--feat > li:not(:first-of-type) .icard__go { margin-block-start: .25rem; }
@media (max-width: 1100px) { .icards--feat { grid-template-columns: 1fr; } .icards--feat > li:first-of-type { grid-row: auto; margin-block-end: 1.5rem; } }

/* About: one big centred line of hers on the maroon band */
.bigq { background: var(--brand); color: #fff; padding-block: clamp(4.5rem, 9vw, 8.5rem); }
.bigq__in { margin-block: 0; text-align: center; display: grid; justify-items: center; }
.bigq blockquote p { font-size: clamp(2.4rem, 1.3rem + 3.7vw, 4.5rem); font-weight: 500; line-height: 1.08; letter-spacing: -0.03em; max-inline-size: 24ch; text-wrap: balance; }
.bigq blockquote p:lang(ar) { letter-spacing: 0; line-height: 1.45; font-weight: 600; max-inline-size: 20ch; }
.bigq figcaption { margin-block-start: 2rem; font-size: var(--step-small); color: rgb(255 255 255 / .8); max-inline-size: 48ch; }
.bigq cite { font-style: normal; font-weight: 600; color: #fff; }

/* About: founder profile as a long-page index (sticky chapter list + one row format) */
.ia__grid { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: var(--gap) clamp(2rem, 6vw, 6rem); align-items: start; }
.ia__nav { position: sticky; inset-block-start: 6.5rem; }
.ia__navh { font-size: var(--step-small); font-weight: 600; color: var(--muted); margin-block-end: 1rem; }
.ia__nav ol { list-style: none; margin: 0; padding: 0; border-inline-start: 1px solid var(--line); }
.ia__nav a { display: flex; align-items: center; min-block-size: 44px; padding-inline: 1rem 0; margin-inline-start: -1px; border-inline-start: 2px solid transparent; color: var(--muted); text-decoration: none; font-weight: 500; transition: color var(--fast), border-color var(--fast); }
.ia__nav a:hover { color: var(--text); }
.ia__nav a[aria-current="true"] { color: var(--text); border-inline-start-color: var(--brand); font-weight: 600; }
.ia__body { display: grid; gap: clamp(3rem, 5vw, 4.5rem); }
.ia__ch { scroll-margin-block-start: 6.5rem; }
.ia__ch > h3 { font-size: var(--step-2); font-weight: 500; line-height: 1.25; letter-spacing: -0.01em; margin-block-end: 1rem; }
.ia__ch > h3:lang(ar) { font-weight: 600; letter-spacing: 0; }
.ia__rows { list-style: none; margin: 0; padding: 0; border-block-start: 1px solid var(--line); }
.ia__rows > li { display: grid; grid-template-columns: 11rem minmax(0, 1fr); gap: .35rem 2rem; padding-block: 1.1rem; border-block-end: 1px solid var(--line); }
.ia__k { font-size: var(--step-small); font-weight: 600; color: var(--accent-ink); font-variant-numeric: tabular-nums; padding-block-start: .1rem; }
.ia__rows h4 { font-size: 1.0625rem; font-weight: 600; line-height: 1.45; }
.ia__rows p { font-size: .9375rem; color: var(--muted); margin-block-start: .3rem; max-inline-size: 68ch; }
@media (max-width: 860px) {
  .ia__grid { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
  .ia__nav { inset-block-start: 76px; z-index: 5; background: var(--bg); margin-inline: calc(var(--gutter) * -1); padding: .25rem var(--gutter); border-block-end: 1px solid var(--line); }
  .ia__navh { display: none; }
  .ia__nav ol { display: flex; gap: 1.25rem; overflow-x: auto; border: 0; scrollbar-width: none; }
  .ia__nav ol::-webkit-scrollbar { display: none; }
  .ia__nav a { white-space: nowrap; padding-inline: 0; margin: 0; border: 0; border-block-end: 2px solid transparent; }
  .ia__nav a[aria-current="true"] { border-block-end-color: var(--brand); }
  .ia__ch { scroll-margin-block-start: 8.5rem; }
  .ia__rows > li { grid-template-columns: 1fr; gap: .2rem; }
}

/* Research: the law set large as the page's statement */
.law { padding-block: var(--section); }
.law__big { font-size: clamp(3rem, .8rem + 7.6vw, 8rem); font-weight: 600; line-height: .98; letter-spacing: -0.045em; color: var(--text); margin-block: .25rem clamp(2.5rem, 5vw, 4rem); }
.law__big span { color: var(--accent-ink); font-weight: 500; }
.law__big:lang(ar) { letter-spacing: 0; line-height: 1.3; font-weight: 700; }
.law__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: var(--gap) clamp(2rem, 6vw, 6rem); align-items: start; padding-block-start: 2rem; border-block-start: 1px solid var(--line); }
.law__text .actions { margin-block-start: 2rem; }
.law__fig { margin: 0; justify-self: end; inline-size: min(100%, 34.5rem); }
.law__fig img { inline-size: 100%; block-size: auto; }
.law__fig figcaption { margin-block-start: .75rem; font-size: .875rem; color: var(--muted); }
@media (max-width: 900px) { .law__grid { grid-template-columns: 1fr; } .law__fig { justify-self: start; } }

/* Research insights: a ruled list (Home uses featured + rows) */
.icards--list { grid-template-columns: 1fr; gap: 0; border-block-start: 1px solid var(--line); }
.icards--list > li { border-block-end: 1px solid var(--line); }
.icards--list .icard { display: grid; grid-template-columns: 11rem minmax(0, 1fr) auto; gap: .35rem 2rem; min-block-size: 0; padding: 1.5rem 0; background: transparent; align-items: baseline; }
.icards--list .icard:hover { background: transparent; }
.icards--list .icard__meta { grid-column: 1; grid-row: 1 / span 2; flex-direction: column; justify-content: start; gap: .2rem; }
.icards--list .icard h3 { grid-column: 2; font-size: var(--step-2); line-height: 1.3; }
.icards--list .icard p { grid-column: 2; font-size: 1rem; }
.icards--list .icard__go { grid-column: 3; grid-row: 1; margin: 0; }
@media (max-width: 760px) {
  .icards--list .icard { grid-template-columns: 1fr; }
  .icards--list .icard__meta { grid-row: auto; flex-direction: row; justify-content: space-between; }
  .icards--list .icard :is(h3, p, .icard__go) { grid-column: 1; grid-row: auto; }
}

/* Services intro: a centred statement opening */
.svc-intro--center .shead { flex-direction: column; align-items: center; text-align: center; gap: 1.25rem; }
.svc-intro--center .shead .label { justify-content: center; }
.svc-intro--center .shead .h2 { font-size: var(--step-display); max-inline-size: 20ch; margin-inline: auto; }
.svc-intro--center .shead__p { margin-inline: auto; }

/* Contact events: heading set large across the width */
.wide-head { padding-block: var(--section); }
.wide-head__h { font-size: clamp(2.6rem, 1.2rem + 5vw, 6rem); font-weight: 500; line-height: 1; letter-spacing: -0.04em; max-inline-size: 16ch; margin-block-end: clamp(2rem, 4vw, 3.5rem); }
.wide-head__h:lang(ar) { letter-spacing: 0; line-height: 1.35; font-weight: 600; }
.wide-head__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--gap) clamp(2rem, 6vw, 6rem); align-items: start; padding-block-start: 2rem; border-block-start: 1px solid var(--line); }
.wide-head__grid p { color: var(--muted); font-size: var(--step-lede); line-height: 1.5; max-inline-size: 40ch; }
.wide-head__grid .actions { margin-block-start: 2rem; }
.wide-head__fig { margin: 0; justify-self: end; inline-size: min(100%, 34.5rem); }
.wide-head__fig img { inline-size: 100%; block-size: auto; }
.wide-head__fig figcaption { margin-block-start: .75rem; font-size: .875rem; color: var(--muted); }
@media (max-width: 900px) { .wide-head__grid { grid-template-columns: 1fr; } .wide-head__fig { justify-self: start; } }

/* Misc */
.center-link { margin-block-start: 2rem; }
.note { font-size: .875rem; color: var(--muted); margin-block-start: 1.25rem; }

/* ================= v5 editorial layer: white / sand / wine / maroon bands, bigger type, bento tiles ================= */

/* Dark colour bands: tokens flip so every component inside reads white */
.band-wine, .band-maroon, .svc-list > .band:nth-of-type(3) {
  color: #fff; --text: #fff; --muted: rgb(255 255 255 / .82); --line: rgb(255 255 255 / .22); --accent-ink: #fff;
}
.band-wine { background: var(--ink); }
.band-maroon, .svc-list > .band:nth-of-type(3) { background: var(--brand); }
:is(.band-wine, .band-maroon, .svc-list > .band:nth-of-type(3), .hero, .help, .ftile--wine) .label { color: #fff; }
:is(.band-wine, .band-maroon, .svc-list > .band:nth-of-type(3), .hero, .help) .label::before { background: #fff; }
:is(.band-wine, .band-maroon, .svc-list > .band:nth-of-type(3)) .btn-line:hover { color: var(--ink); }
:is(.band-wine, .band-maroon, .svc-list > .band:nth-of-type(3)) .btn:not(.btn-line) { background: #fff; color: var(--brand); border-color: #fff; }
:is(.band-wine, .band-maroon, .svc-list > .band:nth-of-type(3)) .btn:not(.btn-line):hover { background: transparent; color: #fff; }
:is(.band-wine, .band-maroon) :focus-visible { outline-color: #fff; }
/* Filled buttons on wine (hero, page heroes, help strip): white, so they don't sink into the band */
:is(.hero, .phero, .help) .btn:not(.btn-line) { background: #fff; color: var(--brand); border-color: #fff; }
:is(.hero, .phero, .help) .btn:not(.btn-line):hover { background: var(--brand); color: #fff; border-color: var(--brand); }

/* Type: bigger body and ledes everywhere */
.shead { margin-block-end: clamp(2.5rem, 4vw, 3.5rem); }
.shead .h2 { max-inline-size: 18ch; }
.shead__side { display: grid; justify-items: start; gap: 1.5rem; max-inline-size: 34rem; }
.band__inner { max-inline-size: 40rem; }
.band__inner > p:not(.label):not(.pts-text):not(.person__role):not(.person__hl) { font-size: var(--step-lede); line-height: 1.5; }
.card__kicker, .icard__meta { font-size: .9375rem; }
.card p, .icard p, .plist small, .tl p, .talks__role, .routes span, .help__alt, .eng__item .pts-text { font-size: 1rem; }
.xlist p:not(.xlist__meta), .ia__rows p, .rows p, .person__hl, .lead__hl, .facts__list p, .cols3 p { font-size: 1.0625rem; }
.ia__rows h4, .xlist h4, .tl h3 { font-size: 1.1875rem; }
.rows h3 { font-size: 1.3125rem; font-weight: 500; }
.formats li { font-size: 1.25rem; min-block-size: 72px; }
.cols3 h3 { font-size: clamp(1.5rem, 1.2rem + .9vw, 2rem); }
.facts__head .h2 { font-size: clamp(2rem, 1.4rem + 1.8vw, 3.25rem); }
.facts__n { font-size: clamp(3rem, 2rem + 3.2vw, 5.5rem); }
.phero h1 { font-size: clamp(2.5rem, 1.4rem + 3.6vw, 4.75rem); }
.statement__q blockquote p { font-size: clamp(2.8rem, 1.2rem + 5.6vw, 6.5rem); }
.bigq blockquote p { font-size: clamp(2.6rem, 1.2rem + 4.8vw, 5.75rem); }
.pull__main p { font-size: clamp(1.9rem, 1.2rem + 2.6vw, 3.5rem); line-height: 1.15; }
.pull__side p { font-size: 1.25rem; }

/* Home hero: the portrait on the end half, face kept in frame */
.hero__media img { object-position: 70% 28%; filter: none; }
@media (max-width: 860px) {
  .hero__media { aspect-ratio: 800 / 694; }
  .hero__media img { object-position: 50% 30%; }
  .hero__body { padding-block: calc(100vw * 694 / 800 - 2rem) 3rem; }
}

/* Home "Where our work starts": one large photo tile beside two smaller stacked tiles */
.fbento { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); grid-template-rows: auto auto; gap: clamp(1rem, 1.6vw, 1.5rem); }
.ftile { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; text-decoration: none; color: inherit; background: var(--paper); transition: transform var(--med) var(--ease-out), box-shadow var(--med) var(--ease-out); }
.ftile__body { display: flex; flex-direction: column; gap: .6rem; padding: clamp(1.5rem, 2.4vw, 2.25rem); flex: 1; }
.ftile h3 { font-size: var(--step-2); font-weight: 500; line-height: 1.2; letter-spacing: -0.01em; }
.ftile h3:lang(ar) { font-weight: 600; letter-spacing: 0; line-height: 1.45; }
.ftile p { color: var(--muted); font-size: 1rem; }
.ftile .card__more { margin-block-start: auto; padding-block-start: .5rem; }
.ftile:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.ftile:hover h3 { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .18em; }
.ftile--big { grid-row: 1 / span 2; min-block-size: clamp(520px, 42vw, 620px); justify-content: end; color: #fff; background: var(--ink); }
.ftile--big > img { position: absolute; inset: 0; z-index: -2; inline-size: 100%; block-size: 100%; object-fit: cover; object-position: 62% 22%; transition: transform .9s var(--ease-out); }
.ftile--big::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgb(var(--ink-rgb) / .94) 0%, rgb(var(--ink-rgb) / .6) 32%, rgb(var(--ink-rgb) / 0) 58%); }
.ftile--big .ftile__body { flex: none; max-inline-size: 36rem; }
.ftile--big h3 { font-size: clamp(1.9rem, 1.2rem + 2vw, 3rem); line-height: 1.08; letter-spacing: -0.025em; }
.ftile--big h3:lang(ar) { letter-spacing: 0; line-height: 1.35; }
.ftile:is(.ftile--big, .ftile--wine) :is(p, .card__kicker, .card__more) { color: rgb(255 255 255 / .88); }
.ftile:is(.ftile--big, .ftile--wine) .card__more { color: #fff; }
.ftile--big:hover > img { transform: scale(1.03); }
.ftile--wine { background: var(--ink); color: #fff; }
/* Policy tile: the office photo fills the whole tile (close to its own 3:2 shape), text on a shade */
.ftile--photo { justify-content: end; color: #fff; background: var(--ink); min-block-size: 18rem; }
.ftile--photo::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgb(var(--ink-rgb) / .95) 0%, rgb(var(--ink-rgb) / .84) 55%, rgb(var(--ink-rgb) / .5) 100%); }
.ftile--photo .ftile__body { flex: none; }
.ftile--photo :is(p, .card__kicker) { color: rgb(255 255 255 / .88); }
.ftile--photo .card__more { color: #fff; }
.ftile__pic { position: absolute; inset: 0; z-index: -2; overflow: hidden; margin: 0; }
.ftile__pic img { position: absolute; inset: 0; inline-size: 100%; block-size: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.ftile--photo:hover .ftile__pic img { transform: scale(1.04); }
@media (max-width: 900px) {
  .fbento { grid-template-columns: minmax(0, 1fr); }
  .ftile--big { grid-row: auto; min-block-size: 0; }
  .ftile--big > img { position: static; z-index: auto; block-size: auto; aspect-ratio: 1106 / 738; object-position: 50% 30%; }
  .ftile--big::after { display: none; }
  .ftile--photo { min-block-size: 0; }
  .ftile--photo::after { display: none; }
  .ftile__pic { position: relative; inset: auto; z-index: auto; aspect-ratio: 3 / 2; }
}

/* Home "Where we advise": bento of practice tiles in four sizes and colours */
ul.pbento { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: minmax(16rem, auto); gap: clamp(1rem, 1.6vw, 1.5rem); }
.pbento > li { display: flex; }
.pbento > li:nth-of-type(1) { grid-column: 1 / span 2; grid-row: 1 / span 2; }
.pbento > li:nth-of-type(2) { grid-column: 3 / span 2; }
.pt { --tile: var(--surface); --fill: color-mix(in srgb, var(--surface), var(--text) 8%); --num: var(--accent-ink); --sub: var(--muted);
  position: relative; isolation: isolate; overflow: hidden; flex: 1; display: flex; flex-direction: column; justify-content: space-between; gap: 2rem;
  padding: clamp(1.5rem, 2.4vw, 2.5rem); background: var(--tile); color: var(--text); text-decoration: none; }
.pt::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--fill); transform: scaleX(0); transform-origin: left center; transition: transform .5s var(--ease-out); }
[dir="rtl"] .pt::before { transform-origin: right center; }
.pt:hover::before, .pt:focus-visible::before { transform: scaleX(1); }
.pbento > li:nth-of-type(1) .pt { --tile: var(--brand); --fill: var(--accent-hover); --num: #fff; --sub: rgb(255 255 255 / .85); color: #fff; }
.pbento > li:nth-of-type(3) .pt { --tile: var(--bg); --fill: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.pbento > li:nth-of-type(4) .pt { --tile: var(--ink); --fill: color-mix(in srgb, var(--ink), #000 30%); --num: #fff; --sub: rgb(255 255 255 / .82); color: #fff; }
.pt__n { display: block; font-size: clamp(3rem, 2rem + 2.6vw, 4.75rem); font-weight: 500; line-height: .9; letter-spacing: -0.04em; color: var(--num); font-variant-numeric: tabular-nums; }
.pbento > li:nth-of-type(1) .pt__n { font-size: clamp(5rem, 2.5rem + 7vw, 10.5rem); }
.pt__name { font-size: var(--step-2); font-weight: 500; line-height: 1.2; letter-spacing: -0.01em; max-inline-size: 18ch; }
.pt__name:lang(ar) { font-weight: 600; letter-spacing: 0; line-height: 1.45; }
.pbento > li:nth-of-type(1) .pt__name { font-size: clamp(2rem, 1.4rem + 1.8vw, 3.25rem); line-height: 1.05; letter-spacing: -0.025em; }
.pbento > li:nth-of-type(1) .pt__name:lang(ar) { letter-spacing: 0; line-height: 1.35; }
.pt__line { display: block; margin-block-start: .75rem; font-size: 1rem; line-height: 1.5; color: var(--sub); max-inline-size: 46ch; }
.pbento > li:nth-of-type(1) .pt__line { font-size: var(--step-lede); max-inline-size: 34ch; }
.pt__go { position: absolute; inset-block-start: clamp(1.5rem, 2.4vw, 2.5rem); inset-inline-end: clamp(1.5rem, 2.4vw, 2.5rem); inline-size: 28px; block-size: 28px; color: var(--num); transition: translate var(--med) var(--ease-out); }
.pt:hover .pt__go { translate: calc(.4rem * var(--from)) 0; }
.pt:focus-visible { outline-offset: 3px; }
@media (max-width: 1000px) {
  ul.pbento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: auto; }
  .pbento > li:nth-of-type(n) { grid-column: auto; grid-row: auto; }
  .pbento > li:nth-of-type(1), .pbento > li:nth-of-type(4) { grid-column: 1 / -1; }
  .pt { min-block-size: 15rem; }
}
@media (max-width: 600px) { ul.pbento { grid-template-columns: minmax(0, 1fr); } .pbento > li:nth-of-type(n) { grid-column: auto; } .pt { min-block-size: 0; } }

/* Home insights: tall colour-field tiles on the wine band (the featured book first). A row at desktop width, a sideways rail on smaller screens */
ul.irail { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1.45fr) repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 1.5vw, 1.25rem); }
.irail > li { display: flex; }
.itile { --t-bg: #fff; --t-text: #1c1414; --t-label: #8a1538; --t-sub: #5b504c;
  flex: 1; display: flex; flex-direction: column; gap: 1rem; min-block-size: clamp(25rem, 31vw, 29rem); padding: clamp(1.5rem, 2.2vw, 2.25rem);
  background: var(--t-bg); color: var(--t-text); text-decoration: none; transition: transform var(--med) var(--ease-out); }
.irail > li:nth-of-type(1) .itile { --t-bg: var(--brand); --t-text: #fff; --t-label: #fff; --t-sub: rgb(255 255 255 / .85); }
.irail > li:nth-of-type(2) .itile { --t-bg: #f3ede4; }
.irail > li:nth-of-type(3) .itile { --t-bg: rgb(255 255 255 / .07); --t-text: #fff; --t-label: #fff; --t-sub: rgb(255 255 255 / .8); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .24); }
.itile:hover { transform: translateY(-6px); }
.itile__meta { display: flex; justify-content: space-between; gap: .75rem; font-size: .9375rem; }
.itile__label { font-weight: 600; color: var(--t-label); }
.itile__date { color: var(--t-sub); font-variant-numeric: tabular-nums; }
.itile h3 { margin-block-start: auto; font-size: 1.375rem; font-weight: 500; line-height: 1.25; letter-spacing: -0.01em; }
.itile h3:lang(ar) { font-weight: 600; letter-spacing: 0; line-height: 1.5; }
.irail > li:nth-of-type(1) .itile h3 { font-size: clamp(1.75rem, 1.2rem + 1.6vw, 2.75rem); line-height: 1.08; letter-spacing: -0.025em; }
.irail > li:nth-of-type(1) .itile h3:lang(ar) { letter-spacing: 0; line-height: 1.4; }
.itile p { font-size: 1rem; line-height: 1.5; color: var(--t-sub); }
.itile__go { display: inline-flex; align-items: center; gap: .4em; font-weight: 600; font-size: .9375rem; color: var(--t-label); }
.itile:hover h3 { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .18em; }
.itile:hover .arrow { translate: calc(.25em * var(--from)) 0; }
.band-wine .shead .link-arrow { color: #fff; }
@media (max-width: 1100px) {
  ul.irail { display: grid; grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: min(78vw, 21rem); overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
    margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); padding-block-end: 1rem;
    scrollbar-width: thin; scrollbar-color: rgb(255 255 255 / .3) transparent; }
  .irail > li { scroll-snap-align: start; }
  .irail > li:nth-of-type(1) { grid-column: auto; }
  .itile { min-block-size: 23rem; }
}

/* Inner pages: which band gets which colour */
.svc-list > .band:nth-of-type(1), .svc-list > .band:nth-of-type(4) { background: var(--surface); }
.svc-list > .band:nth-of-type(2) { background: var(--bg); }
.svc .band__media img { object-position: 38% 25%; }
.svc .band__media img[src*="ig-hk-event"] { object-position: 50% 40%; }
@media (max-width: 900px) { .svc .band__media:has(img[src*="ig-hk-event"]) { aspect-ratio: 4 / 5; } .svc .band__media:has(img[src*="ig-ceo-forum"]) { aspect-ratio: 1 / 1; } }
.svc .band__inner > p:not(.pts-text) { font-size: var(--step-lede); line-height: 1.5; color: var(--muted); }
.svc__n { font-size: clamp(2.5rem, 1.6rem + 2.4vw, 4rem); font-weight: 500; line-height: 1; letter-spacing: -0.03em; margin-block-end: 1.25rem; }
.pts-text { font-size: 1.0625rem; }

/* Services "Ways to engage": three tiles of two sizes */
.eng { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); grid-template-rows: auto auto; }
.eng > .eng__item:first-of-type { grid-row: 1 / span 2; background: var(--ink); color: #fff; --text: #fff; --muted: rgb(255 255 255 / .82); --line: rgb(255 255 255 / .22); --accent-ink: #fff; }
.eng > .eng__item:first-of-type .h3 { font-size: clamp(1.9rem, 1.3rem + 1.8vw, 3rem); line-height: 1.1; letter-spacing: -0.02em; }
.eng > .eng__item:first-of-type .h3:lang(ar) { letter-spacing: 0; line-height: 1.4; }
.eng > .eng__item:first-of-type p:not(.pts-text) { font-size: var(--step-lede); line-height: 1.5; }
.eng > .eng__item:nth-of-type(3) { background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); }
.eng__item { padding: clamp(1.75rem, 2.6vw, 2.5rem); transition: transform var(--med) var(--ease-out); }
.eng__item .plist__n { font-size: 1rem; }
@media (max-width: 900px) { .eng { grid-template-columns: minmax(0, 1fr); } .eng > .eng__item:first-of-type { grid-row: auto; } }

/* About "Art as cultural diplomacy": edge-to-edge 50/50, the gallery photo whole at its own ratio */
.band--edge { min-block-size: 0; align-items: center; }
.band--edge .band__body { padding-block: clamp(3.5rem, 6vw, 5rem); }
.band--edge { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.band__media--edge { inline-size: 100%; block-size: auto; aspect-ratio: 1898 / 1434; align-self: center; min-block-size: 0; }
.band__media--edge img { object-position: 50% 50%; }
.art-small { margin: 2rem 0 0; inline-size: min(100%, 19rem); }
.art-small img { inline-size: 100%; block-size: auto; }
.art-small figcaption { margin-block-start: .6rem; font-size: .9375rem; color: var(--muted); }
@media (max-width: 900px) { .band--edge { grid-template-columns: minmax(0, 1fr); } .band__media--edge { order: -1; } }

/* Speaking moments: one large photo beside two smaller ones at desktop width (no sideways scroll) */
@media (min-width: 1001px) {
  .moments.rail { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr); overflow: visible; cursor: auto; align-items: start; }
  .moments .moment { inline-size: auto; }
  .moments .moment:first-of-type .frame { aspect-ratio: 800 / 694; }
  [data-rail] .rail-btns { display: none; }
}
.moment .frame { aspect-ratio: 4 / 3; }
.moment .frame img { object-position: 50% 30%; }

/* Small photos on dark inset panels: now upscaled, shown a little larger */
.inset { inline-size: min(100%, 30rem); }
.inset--wide { inline-size: min(100%, 36rem); }
.inset--small { inline-size: min(100%, 200px); }
.phero__aside .frame img { object-position: 62% 25%; }

/* ================= v6 photo-led layer (owner, 18 Nov 2026): photos carry the page; white and sand bands,
   one maroon band and at most one wine band per page; colour tiles only where a tile has no photo ================= */
:root { --shade-rgb: 26 16 18; }

/* Home hero: one full-width landscape crop of the climate-dialogue photo, headline on a calm shade at the start side */
.hero { background: #1d1315; min-block-size: clamp(600px, 80vh, 780px); }
.hero__media { inline-size: 100%; inset-inline: 0; }
.hero__media img { object-position: 50% 34%; filter: none; }
.hero__media::after { background:
  linear-gradient(var(--to-end), rgb(var(--shade-rgb) / .9) 0%, rgb(var(--shade-rgb) / .72) 26%, rgb(var(--shade-rgb) / .15) 46%, rgb(var(--shade-rgb) / 0) 60%),
  linear-gradient(to top, rgb(var(--shade-rgb) / .45) 0%, rgb(var(--shade-rgb) / 0) 30%); }
.hero__text { max-inline-size: min(34rem, 38%); }
[dir="rtl"] .hero__text { max-inline-size: min(30rem, 33%); } /* keeps clear of her face on the big screen */
/* Desktop: the square photo fills the end 72% at full height (about 75% of it shows, not a thin strip);
   its start edge melts into the same dark as the band, so the hero still reads edge to edge */
@media (min-width: 861px) {
  .hero { background: rgb(var(--shade-rgb)); }
  .hero__media { inline-size: 72%; inset-inline-start: auto; inset-inline-end: 0; }
  .hero__media::after { background:
    linear-gradient(var(--to-end), rgb(var(--shade-rgb)) 0%, rgb(var(--shade-rgb) / .75) 14%, rgb(var(--shade-rgb) / .2) 32%, rgb(var(--shade-rgb) / 0) 45%),
    linear-gradient(to top, rgb(var(--shade-rgb) / .4) 0%, rgb(var(--shade-rgb) / 0) 28%); }
}
.hero h1 { font-size: clamp(2.5rem, 1.4rem + 3vw, 4.25rem); }
.hero h1:lang(ar) { font-size: clamp(2.2rem, 1.4rem + 2.4vw, 3.5rem); }
@media (max-width: 860px) {
  .hero__media { aspect-ratio: 1 / 1; }
  .hero__media img { object-position: 50% 50%; }
  .hero__media::after { background: linear-gradient(to bottom, rgb(var(--shade-rgb) / 0) 0%, rgb(var(--shade-rgb) / 0) 75%, #1d1315 100%); }
  .hero__body { padding-block: calc(100vw - 1.5rem) 3rem; }
  .hero__text { max-inline-size: none; }
}

/* Inner page heroes: light sand, dark text (the wine is kept for the contact strip) */
.phero { background: var(--surface); color: var(--text); }
.phero .label { color: var(--accent-ink); }
.phero .label::before { background: var(--brand); }
.phero__sub { color: var(--muted); }
.crumbs { color: var(--muted); }
.crumbs a { color: var(--text); }
.phero__aside figcaption { color: var(--muted); }
.phero .btn:not(.btn-line), .phero .btn-white { background: var(--accent); color: #fff; border-color: var(--accent); }
.phero .btn:not(.btn-line):hover, .phero .btn-white:hover { background: var(--accent-hover); color: #fff; border-color: var(--accent-hover); }
.phero .btn:focus-visible { outline-color: var(--accent-ink); }
.phero h1 { max-inline-size: 22ch; }
:root[data-theme="dark"] .phero { box-shadow: none; }

/* Photo panels: light, not wine */
.band__media--inset { background: var(--surface); }
.band-surface .band__media--inset { background: var(--bg); }
.band-maroon .band__media--inset { background: transparent; }
.band__media--inset.band__media--light { background: var(--bg); }
.inset figcaption { color: var(--muted); }

/* Featured tiles: every tile carries a photo; text on a calm neutral shade */
.ftile--big { background: #1d1315; }
.ftile--big::after { background: linear-gradient(to top, rgb(var(--shade-rgb) / .9) 0%, rgb(var(--shade-rgb) / .55) 34%, rgb(var(--shade-rgb) / 0) 60%); }
.ftile--big > img { object-position: 50% 30%; }
.ftile--photo { background: #1d1315; }
.ftile--photo::after { background: linear-gradient(to top, rgb(var(--shade-rgb) / .92) 0%, rgb(var(--shade-rgb) / .6) 42%, rgb(var(--shade-rgb) / 0) 75%); }
@media (min-width: 901px) { .ftile--photo .ftile__body p { display: none; } .ftile--photo { min-block-size: 17rem; } }
.ftile--photo .ftile__pic img { object-position: 50% 25%; }
.ftile--book .ftile__pic img { object-position: 60% 20%; }

/* "Where we advise": two photo tiles (from the services data), two light tiles */
.pbento > li:nth-of-type(n) .pt { --tile: var(--bg); --fill: color-mix(in srgb, var(--surface), var(--text) 7%); --num: var(--accent-ink); --sub: var(--muted); color: var(--text); box-shadow: none; }
.pbento > li .pt:has(.pt__img) { --tile: #1d1315; --fill: rgb(0 0 0 / .22); --num: #fff; --sub: rgb(255 255 255 / .88); color: #fff; justify-content: end; gap: .75rem; }
.pt__img { position: absolute; inset: 0; z-index: -2; inline-size: 100%; block-size: 100%; object-fit: cover; object-position: 50% 28%; transition: transform .9s var(--ease-out); }
.pt:has(.pt__img)::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgb(var(--shade-rgb) / .92) 0%, rgb(var(--shade-rgb) / .6) 42%, rgb(var(--shade-rgb) / 0) 68%); }
.pt:has(.pt__img):hover .pt__img { transform: scale(1.03); }
.pbento > li .pt:has(.pt__img) .pt__n { font-size: clamp(2.5rem, 1.8rem + 2vw, 3.75rem); }
.pbento > li:nth-of-type(1) .pt:has(.pt__img) { min-block-size: clamp(30rem, 40vw, 36rem); }
@media (min-width: 1001px) { .pbento > li:nth-of-type(3) .pt:has(.pt__img) .pt__line { display: none; } }
@media (max-width: 1000px) { .pbento > li .pt:has(.pt__img) { min-block-size: 22rem; } }
@media (max-width: 600px) {
  .pbento > li .pt:has(.pt__img), .pbento > li:nth-of-type(1) .pt:has(.pt__img) { min-block-size: 0; justify-content: start; }
  .pt__img { position: static; z-index: auto; order: -1; inline-size: calc(100% + 3rem); block-size: auto; aspect-ratio: 4 / 3; margin: -1.5rem -1.5rem .5rem; }
  .pt:has(.pt__img)::after { display: none; }
}

/* Home insights on sand: white tiles, the newest piece as the one wine tile (no photos to show) */
.irail > li:nth-of-type(n) .itile { --t-bg: var(--bg); --t-text: var(--text); --t-label: var(--accent-ink); --t-sub: var(--muted); box-shadow: none; }
.irail > li:nth-of-type(1) .itile { --t-bg: var(--ink); --t-text: #fff; --t-label: #fff; --t-sub: rgb(255 255 255 / .85); }
.itile { min-block-size: clamp(21rem, 26vw, 25rem); }
.itile:hover { box-shadow: var(--shadow); }
@media (max-width: 1100px) { ul.irail { scrollbar-color: color-mix(in srgb, var(--text) 30%, transparent) transparent; } }

/* Speaking: engagements with real dates, places and photos */
.talks li { grid-template-columns: 8.5rem minmax(0, 1fr) minmax(0, 1.05fr) 13rem; gap: .5rem clamp(1.5rem, 2.5vw, 2.5rem); }
.talks__y { font-size: 1rem; line-height: 1.5; padding-block-start: .3rem; }
.talks__place { display: block; margin-block-start: .25rem; font-size: 1rem; color: var(--muted); }
.talks__pic { grid-column: 4; margin: 0; }
.talks__pic img { inline-size: 100%; block-size: auto; }
.talks li:hover { background: transparent; }
@media (max-width: 1000px) {
  .talks li { grid-template-columns: 7rem minmax(0, 1fr); }
  .talks__topic { grid-column: 2; }
  .talks__pic { grid-column: 2; max-inline-size: 22rem; margin-block-start: .5rem; }
}
@media (max-width: 600px) {
  .talks li { grid-template-columns: minmax(0, 1fr); }
  .talks__topic, .talks__pic { grid-column: 1; }
  .talks__pic { max-inline-size: none; }
}

/* Research: the book on tour (photo whole beside the launches) */
.launch__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: var(--gap) clamp(2rem, 5vw, 5rem); align-items: center; }
.launch__pic { margin: 0; }
.launch__pic img { inline-size: 100%; block-size: auto; }
.launch__pic figcaption { margin-block-start: .75rem; font-size: .9375rem; color: var(--muted); }
.launch__q { margin: 1.5rem 0 0; }
.launch__q p { font-size: var(--step-lede); line-height: 1.5; }
.launch__q footer { margin-block-start: .75rem; font-size: .9375rem; color: var(--muted); }
ol.launch__rows { margin-block-start: 2rem; }
.launch__rows li { grid-template-columns: 6.5rem minmax(0, 1fr); }
.launch__more { margin-block-start: 1.5rem; }
.launch__more .link-arrow { display: inline; line-height: 1.6; background: none; text-decoration: underline; text-decoration-thickness: 1px; }
@media (max-width: 900px) { .launch__grid { grid-template-columns: minmax(0, 1fr); } }

/* Dark mode: hairline so dark bands separate from the dark page */
:root[data-theme="dark"] :is(.band-wine, .band-maroon) { box-shadow: inset 0 1px 0 rgb(255 255 255 / .07); }
:root[data-theme="dark"] .irail > li:nth-of-type(2) .itile { --t-bg: #efe6da; }